@nocobase/plugin-field-markdown-vditor 2.2.0-beta.1 → 2.2.0-beta.11

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.
Files changed (313) hide show
  1. package/build.config.ts +1 -1
  2. package/dist/client/index.js +1 -1
  3. package/dist/client-v2/index.js +1 -1
  4. package/dist/externalVersion.js +6 -6
  5. package/dist/node_modules/fs-extra/package.json +1 -1
  6. package/package.json +2 -2
  7. package/dist/client-v2/vditor/dist/css/content-theme/ant-design.css +0 -210
  8. package/dist/client-v2/vditor/dist/css/content-theme/dark.css +0 -123
  9. package/dist/client-v2/vditor/dist/css/content-theme/light.css +0 -101
  10. package/dist/client-v2/vditor/dist/css/content-theme/wechat.css +0 -94
  11. package/dist/client-v2/vditor/dist/images/emoji/b3log.png +0 -0
  12. package/dist/client-v2/vditor/dist/images/emoji/chainbook.png +0 -0
  13. package/dist/client-v2/vditor/dist/images/emoji/doge.png +0 -0
  14. package/dist/client-v2/vditor/dist/images/emoji/hacpai.png +0 -0
  15. package/dist/client-v2/vditor/dist/images/emoji/huaji.gif +0 -0
  16. package/dist/client-v2/vditor/dist/images/emoji/latke.png +0 -0
  17. package/dist/client-v2/vditor/dist/images/emoji/liandi.png +0 -0
  18. package/dist/client-v2/vditor/dist/images/emoji/lute.png +0 -0
  19. package/dist/client-v2/vditor/dist/images/emoji/octocat.png +0 -0
  20. package/dist/client-v2/vditor/dist/images/emoji/pipe.png +0 -0
  21. package/dist/client-v2/vditor/dist/images/emoji/siyuan.png +0 -0
  22. package/dist/client-v2/vditor/dist/images/emoji/solo.png +0 -0
  23. package/dist/client-v2/vditor/dist/images/emoji/sym.png +0 -0
  24. package/dist/client-v2/vditor/dist/images/emoji/trollface.png +0 -0
  25. package/dist/client-v2/vditor/dist/images/emoji/vditor.png +0 -0
  26. package/dist/client-v2/vditor/dist/images/emoji/wide.png +0 -0
  27. package/dist/client-v2/vditor/dist/images/emoji/wulian.png +0 -0
  28. package/dist/client-v2/vditor/dist/images/img-loading.svg +0 -1
  29. package/dist/client-v2/vditor/dist/images/logo.png +0 -0
  30. package/dist/client-v2/vditor/dist/index.css +0 -1836
  31. package/dist/client-v2/vditor/dist/index.d.ts +0 -76
  32. package/dist/client-v2/vditor/dist/index.min.js +0 -10
  33. package/dist/client-v2/vditor/dist/js/abcjs/abcjs_basic.min.js +0 -12
  34. package/dist/client-v2/vditor/dist/js/echarts/echarts.min.js +0 -32
  35. package/dist/client-v2/vditor/dist/js/flowchart.js/flowchart.min.js +0 -17
  36. package/dist/client-v2/vditor/dist/js/graphviz/full.render.js +0 -99
  37. package/dist/client-v2/vditor/dist/js/graphviz/viz.js +0 -342
  38. package/dist/client-v2/vditor/dist/js/highlight.js/highlight.pack.js +0 -1626
  39. package/dist/client-v2/vditor/dist/js/highlight.js/solidity.min.js +0 -82
  40. package/dist/client-v2/vditor/dist/js/highlight.js/styles/abap.css +0 -155
  41. package/dist/client-v2/vditor/dist/js/highlight.js/styles/algol.css +0 -143
  42. package/dist/client-v2/vditor/dist/js/highlight.js/styles/algol_nu.css +0 -90
  43. package/dist/client-v2/vditor/dist/js/highlight.js/styles/ant-design.css +0 -469
  44. package/dist/client-v2/vditor/dist/js/highlight.js/styles/arduino.css +0 -157
  45. package/dist/client-v2/vditor/dist/js/highlight.js/styles/autumn.css +0 -138
  46. package/dist/client-v2/vditor/dist/js/highlight.js/styles/borland.css +0 -147
  47. package/dist/client-v2/vditor/dist/js/highlight.js/styles/bw.css +0 -150
  48. package/dist/client-v2/vditor/dist/js/highlight.js/styles/colorful.css +0 -158
  49. package/dist/client-v2/vditor/dist/js/highlight.js/styles/dracula.css +0 -140
  50. package/dist/client-v2/vditor/dist/js/highlight.js/styles/emacs.css +0 -167
  51. package/dist/client-v2/vditor/dist/js/highlight.js/styles/friendly.css +0 -183
  52. package/dist/client-v2/vditor/dist/js/highlight.js/styles/fruity.css +0 -123
  53. package/dist/client-v2/vditor/dist/js/highlight.js/styles/github.css +0 -174
  54. package/dist/client-v2/vditor/dist/js/highlight.js/styles/igor.css +0 -124
  55. package/dist/client-v2/vditor/dist/js/highlight.js/styles/lovelace.css +0 -146
  56. package/dist/client-v2/vditor/dist/js/highlight.js/styles/manni.css +0 -139
  57. package/dist/client-v2/vditor/dist/js/highlight.js/styles/monokai.css +0 -132
  58. package/dist/client-v2/vditor/dist/js/highlight.js/styles/monokailight.css +0 -180
  59. package/dist/client-v2/vditor/dist/js/highlight.js/styles/murphy.css +0 -144
  60. package/dist/client-v2/vditor/dist/js/highlight.js/styles/native.css +0 -164
  61. package/dist/client-v2/vditor/dist/js/highlight.js/styles/paraiso-dark.css +0 -137
  62. package/dist/client-v2/vditor/dist/js/highlight.js/styles/paraiso-light.css +0 -136
  63. package/dist/client-v2/vditor/dist/js/highlight.js/styles/pastie.css +0 -180
  64. package/dist/client-v2/vditor/dist/js/highlight.js/styles/perldoc.css +0 -141
  65. package/dist/client-v2/vditor/dist/js/highlight.js/styles/pygments.css +0 -159
  66. package/dist/client-v2/vditor/dist/js/highlight.js/styles/rainbow_dash.css +0 -164
  67. package/dist/client-v2/vditor/dist/js/highlight.js/styles/rrt.css +0 -159
  68. package/dist/client-v2/vditor/dist/js/highlight.js/styles/solarized-dark.css +0 -146
  69. package/dist/client-v2/vditor/dist/js/highlight.js/styles/solarized-dark256.css +0 -146
  70. package/dist/client-v2/vditor/dist/js/highlight.js/styles/solarized-light.css +0 -163
  71. package/dist/client-v2/vditor/dist/js/highlight.js/styles/swapoff.css +0 -144
  72. package/dist/client-v2/vditor/dist/js/highlight.js/styles/tango.css +0 -183
  73. package/dist/client-v2/vditor/dist/js/highlight.js/styles/trac.css +0 -167
  74. package/dist/client-v2/vditor/dist/js/highlight.js/styles/vim.css +0 -144
  75. package/dist/client-v2/vditor/dist/js/highlight.js/styles/vs.css +0 -113
  76. package/dist/client-v2/vditor/dist/js/highlight.js/styles/xcode.css +0 -174
  77. package/dist/client-v2/vditor/dist/js/highlight.js/yul.min.js +0 -39
  78. package/dist/client-v2/vditor/dist/js/i18n/en_US.js +0 -94
  79. package/dist/client-v2/vditor/dist/js/i18n/fr_FR.js +0 -94
  80. package/dist/client-v2/vditor/dist/js/i18n/ja_JP.js +0 -94
  81. package/dist/client-v2/vditor/dist/js/i18n/ko_KR.js +0 -94
  82. package/dist/client-v2/vditor/dist/js/i18n/pt_BR.js +0 -94
  83. package/dist/client-v2/vditor/dist/js/i18n/ru_RU.js +0 -94
  84. package/dist/client-v2/vditor/dist/js/i18n/sv_SE.js +0 -94
  85. package/dist/client-v2/vditor/dist/js/i18n/zh_CN.js +0 -94
  86. package/dist/client-v2/vditor/dist/js/i18n/zh_TW.js +0 -94
  87. package/dist/client-v2/vditor/dist/js/icons/ant.js +0 -183
  88. package/dist/client-v2/vditor/dist/js/icons/material.js +0 -204
  89. package/dist/client-v2/vditor/dist/js/katex/fonts/KaTeX_AMS-Regular.ttf +0 -0
  90. package/dist/client-v2/vditor/dist/js/katex/fonts/KaTeX_AMS-Regular.woff +0 -0
  91. package/dist/client-v2/vditor/dist/js/katex/fonts/KaTeX_AMS-Regular.woff2 +0 -0
  92. package/dist/client-v2/vditor/dist/js/katex/fonts/KaTeX_Caligraphic-Bold.ttf +0 -0
  93. package/dist/client-v2/vditor/dist/js/katex/fonts/KaTeX_Caligraphic-Bold.woff +0 -0
  94. package/dist/client-v2/vditor/dist/js/katex/fonts/KaTeX_Caligraphic-Bold.woff2 +0 -0
  95. package/dist/client-v2/vditor/dist/js/katex/fonts/KaTeX_Caligraphic-Regular.ttf +0 -0
  96. package/dist/client-v2/vditor/dist/js/katex/fonts/KaTeX_Caligraphic-Regular.woff +0 -0
  97. package/dist/client-v2/vditor/dist/js/katex/fonts/KaTeX_Caligraphic-Regular.woff2 +0 -0
  98. package/dist/client-v2/vditor/dist/js/katex/fonts/KaTeX_Fraktur-Bold.ttf +0 -0
  99. package/dist/client-v2/vditor/dist/js/katex/fonts/KaTeX_Fraktur-Bold.woff +0 -0
  100. package/dist/client-v2/vditor/dist/js/katex/fonts/KaTeX_Fraktur-Bold.woff2 +0 -0
  101. package/dist/client-v2/vditor/dist/js/katex/fonts/KaTeX_Fraktur-Regular.ttf +0 -0
  102. package/dist/client-v2/vditor/dist/js/katex/fonts/KaTeX_Fraktur-Regular.woff +0 -0
  103. package/dist/client-v2/vditor/dist/js/katex/fonts/KaTeX_Fraktur-Regular.woff2 +0 -0
  104. package/dist/client-v2/vditor/dist/js/katex/fonts/KaTeX_Main-Bold.ttf +0 -0
  105. package/dist/client-v2/vditor/dist/js/katex/fonts/KaTeX_Main-Bold.woff +0 -0
  106. package/dist/client-v2/vditor/dist/js/katex/fonts/KaTeX_Main-Bold.woff2 +0 -0
  107. package/dist/client-v2/vditor/dist/js/katex/fonts/KaTeX_Main-BoldItalic.ttf +0 -0
  108. package/dist/client-v2/vditor/dist/js/katex/fonts/KaTeX_Main-BoldItalic.woff +0 -0
  109. package/dist/client-v2/vditor/dist/js/katex/fonts/KaTeX_Main-BoldItalic.woff2 +0 -0
  110. package/dist/client-v2/vditor/dist/js/katex/fonts/KaTeX_Main-Italic.ttf +0 -0
  111. package/dist/client-v2/vditor/dist/js/katex/fonts/KaTeX_Main-Italic.woff +0 -0
  112. package/dist/client-v2/vditor/dist/js/katex/fonts/KaTeX_Main-Italic.woff2 +0 -0
  113. package/dist/client-v2/vditor/dist/js/katex/fonts/KaTeX_Main-Regular.ttf +0 -0
  114. package/dist/client-v2/vditor/dist/js/katex/fonts/KaTeX_Main-Regular.woff +0 -0
  115. package/dist/client-v2/vditor/dist/js/katex/fonts/KaTeX_Main-Regular.woff2 +0 -0
  116. package/dist/client-v2/vditor/dist/js/katex/fonts/KaTeX_Math-BoldItalic.ttf +0 -0
  117. package/dist/client-v2/vditor/dist/js/katex/fonts/KaTeX_Math-BoldItalic.woff +0 -0
  118. package/dist/client-v2/vditor/dist/js/katex/fonts/KaTeX_Math-BoldItalic.woff2 +0 -0
  119. package/dist/client-v2/vditor/dist/js/katex/fonts/KaTeX_Math-Italic.ttf +0 -0
  120. package/dist/client-v2/vditor/dist/js/katex/fonts/KaTeX_Math-Italic.woff +0 -0
  121. package/dist/client-v2/vditor/dist/js/katex/fonts/KaTeX_Math-Italic.woff2 +0 -0
  122. package/dist/client-v2/vditor/dist/js/katex/fonts/KaTeX_SansSerif-Bold.ttf +0 -0
  123. package/dist/client-v2/vditor/dist/js/katex/fonts/KaTeX_SansSerif-Bold.woff +0 -0
  124. package/dist/client-v2/vditor/dist/js/katex/fonts/KaTeX_SansSerif-Bold.woff2 +0 -0
  125. package/dist/client-v2/vditor/dist/js/katex/fonts/KaTeX_SansSerif-Italic.ttf +0 -0
  126. package/dist/client-v2/vditor/dist/js/katex/fonts/KaTeX_SansSerif-Italic.woff +0 -0
  127. package/dist/client-v2/vditor/dist/js/katex/fonts/KaTeX_SansSerif-Italic.woff2 +0 -0
  128. package/dist/client-v2/vditor/dist/js/katex/fonts/KaTeX_SansSerif-Regular.ttf +0 -0
  129. package/dist/client-v2/vditor/dist/js/katex/fonts/KaTeX_SansSerif-Regular.woff +0 -0
  130. package/dist/client-v2/vditor/dist/js/katex/fonts/KaTeX_SansSerif-Regular.woff2 +0 -0
  131. package/dist/client-v2/vditor/dist/js/katex/fonts/KaTeX_Script-Regular.ttf +0 -0
  132. package/dist/client-v2/vditor/dist/js/katex/fonts/KaTeX_Script-Regular.woff +0 -0
  133. package/dist/client-v2/vditor/dist/js/katex/fonts/KaTeX_Script-Regular.woff2 +0 -0
  134. package/dist/client-v2/vditor/dist/js/katex/fonts/KaTeX_Size1-Regular.ttf +0 -0
  135. package/dist/client-v2/vditor/dist/js/katex/fonts/KaTeX_Size1-Regular.woff +0 -0
  136. package/dist/client-v2/vditor/dist/js/katex/fonts/KaTeX_Size1-Regular.woff2 +0 -0
  137. package/dist/client-v2/vditor/dist/js/katex/fonts/KaTeX_Size2-Regular.ttf +0 -0
  138. package/dist/client-v2/vditor/dist/js/katex/fonts/KaTeX_Size2-Regular.woff +0 -0
  139. package/dist/client-v2/vditor/dist/js/katex/fonts/KaTeX_Size2-Regular.woff2 +0 -0
  140. package/dist/client-v2/vditor/dist/js/katex/fonts/KaTeX_Size3-Regular.ttf +0 -0
  141. package/dist/client-v2/vditor/dist/js/katex/fonts/KaTeX_Size3-Regular.woff +0 -0
  142. package/dist/client-v2/vditor/dist/js/katex/fonts/KaTeX_Size3-Regular.woff2 +0 -0
  143. package/dist/client-v2/vditor/dist/js/katex/fonts/KaTeX_Size4-Regular.ttf +0 -0
  144. package/dist/client-v2/vditor/dist/js/katex/fonts/KaTeX_Size4-Regular.woff +0 -0
  145. package/dist/client-v2/vditor/dist/js/katex/fonts/KaTeX_Size4-Regular.woff2 +0 -0
  146. package/dist/client-v2/vditor/dist/js/katex/fonts/KaTeX_Typewriter-Regular.ttf +0 -0
  147. package/dist/client-v2/vditor/dist/js/katex/fonts/KaTeX_Typewriter-Regular.woff +0 -0
  148. package/dist/client-v2/vditor/dist/js/katex/fonts/KaTeX_Typewriter-Regular.woff2 +0 -0
  149. package/dist/client-v2/vditor/dist/js/katex/katex.min.css +0 -1
  150. package/dist/client-v2/vditor/dist/js/katex/katex.min.js +0 -10
  151. package/dist/client-v2/vditor/dist/js/katex/mhchem.min.js +0 -10
  152. package/dist/client-v2/vditor/dist/js/lute/lute.min.js +0 -80
  153. package/dist/client-v2/vditor/dist/js/markmap/katex.min.css +0 -1
  154. package/dist/client-v2/vditor/dist/js/markmap/markmap.min.js +0 -8260
  155. package/dist/client-v2/vditor/dist/js/markmap/prism.css +0 -140
  156. package/dist/client-v2/vditor/dist/js/mathjax/LICENSE +0 -202
  157. package/dist/client-v2/vditor/dist/js/mathjax/a11y/assistive-mml.js +0 -10
  158. package/dist/client-v2/vditor/dist/js/mathjax/a11y/complexity.js +0 -10
  159. package/dist/client-v2/vditor/dist/js/mathjax/a11y/explorer.js +0 -10
  160. package/dist/client-v2/vditor/dist/js/mathjax/a11y/semantic-enrich.js +0 -10
  161. package/dist/client-v2/vditor/dist/js/mathjax/input/asciimath.js +0 -10
  162. package/dist/client-v2/vditor/dist/js/mathjax/input/mml/entities.js +0 -10
  163. package/dist/client-v2/vditor/dist/js/mathjax/input/mml.js +0 -10
  164. package/dist/client-v2/vditor/dist/js/mathjax/input/tex/extensions/action.js +0 -10
  165. package/dist/client-v2/vditor/dist/js/mathjax/input/tex/extensions/all-packages.js +0 -10
  166. package/dist/client-v2/vditor/dist/js/mathjax/input/tex/extensions/ams.js +0 -10
  167. package/dist/client-v2/vditor/dist/js/mathjax/input/tex/extensions/amscd.js +0 -10
  168. package/dist/client-v2/vditor/dist/js/mathjax/input/tex/extensions/autoload.js +0 -10
  169. package/dist/client-v2/vditor/dist/js/mathjax/input/tex/extensions/bbox.js +0 -10
  170. package/dist/client-v2/vditor/dist/js/mathjax/input/tex/extensions/boldsymbol.js +0 -10
  171. package/dist/client-v2/vditor/dist/js/mathjax/input/tex/extensions/braket.js +0 -10
  172. package/dist/client-v2/vditor/dist/js/mathjax/input/tex/extensions/bussproofs.js +0 -10
  173. package/dist/client-v2/vditor/dist/js/mathjax/input/tex/extensions/cancel.js +0 -10
  174. package/dist/client-v2/vditor/dist/js/mathjax/input/tex/extensions/color.js +0 -10
  175. package/dist/client-v2/vditor/dist/js/mathjax/input/tex/extensions/colorV2.js +0 -10
  176. package/dist/client-v2/vditor/dist/js/mathjax/input/tex/extensions/configMacros.js +0 -10
  177. package/dist/client-v2/vditor/dist/js/mathjax/input/tex/extensions/enclose.js +0 -10
  178. package/dist/client-v2/vditor/dist/js/mathjax/input/tex/extensions/extpfeil.js +0 -10
  179. package/dist/client-v2/vditor/dist/js/mathjax/input/tex/extensions/html.js +0 -10
  180. package/dist/client-v2/vditor/dist/js/mathjax/input/tex/extensions/mhchem.js +0 -10
  181. package/dist/client-v2/vditor/dist/js/mathjax/input/tex/extensions/newcommand.js +0 -10
  182. package/dist/client-v2/vditor/dist/js/mathjax/input/tex/extensions/noerrors.js +0 -10
  183. package/dist/client-v2/vditor/dist/js/mathjax/input/tex/extensions/noundefined.js +0 -10
  184. package/dist/client-v2/vditor/dist/js/mathjax/input/tex/extensions/physics.js +0 -10
  185. package/dist/client-v2/vditor/dist/js/mathjax/input/tex/extensions/require.js +0 -10
  186. package/dist/client-v2/vditor/dist/js/mathjax/input/tex/extensions/tagFormat.js +0 -10
  187. package/dist/client-v2/vditor/dist/js/mathjax/input/tex/extensions/textmacros.js +0 -10
  188. package/dist/client-v2/vditor/dist/js/mathjax/input/tex/extensions/unicode.js +0 -10
  189. package/dist/client-v2/vditor/dist/js/mathjax/input/tex/extensions/verb.js +0 -10
  190. package/dist/client-v2/vditor/dist/js/mathjax/input/tex-base.js +0 -10
  191. package/dist/client-v2/vditor/dist/js/mathjax/input/tex-full.js +0 -10
  192. package/dist/client-v2/vditor/dist/js/mathjax/input/tex.js +0 -10
  193. package/dist/client-v2/vditor/dist/js/mathjax/sre/mathmaps/de.js +0 -113
  194. package/dist/client-v2/vditor/dist/js/mathjax/sre/mathmaps/en.js +0 -119
  195. package/dist/client-v2/vditor/dist/js/mathjax/sre/mathmaps/es.js +0 -113
  196. package/dist/client-v2/vditor/dist/js/mathjax/sre/mathmaps/fr.js +0 -113
  197. package/dist/client-v2/vditor/dist/js/mathjax/sre/mathmaps/mathmaps_ie.js +0 -527
  198. package/dist/client-v2/vditor/dist/js/mathjax/sre/mathmaps/nemeth.js +0 -113
  199. package/dist/client-v2/vditor/dist/js/mathjax/sre/sre-node.js +0 -20
  200. package/dist/client-v2/vditor/dist/js/mathjax/sre/sre_browser.js +0 -1642
  201. package/dist/client-v2/vditor/dist/js/mathjax/tex-svg-full.js +0 -10
  202. package/dist/client-v2/vditor/dist/js/mermaid/mermaid.min.js +0 -1768
  203. package/dist/client-v2/vditor/dist/js/plantuml/plantuml-encoder.min.js +0 -10
  204. package/dist/client-v2/vditor/dist/method.d.ts +0 -50
  205. package/dist/client-v2/vditor/dist/method.min.js +0 -10
  206. package/dist/client-v2/vditor/dist/ts/constants.d.ts +0 -45
  207. package/dist/client-v2/vditor/dist/ts/devtools/index.d.ts +0 -7
  208. package/dist/client-v2/vditor/dist/ts/export/index.d.ts +0 -5
  209. package/dist/client-v2/vditor/dist/ts/hint/index.d.ts +0 -14
  210. package/dist/client-v2/vditor/dist/ts/ir/expandMarker.d.ts +0 -2
  211. package/dist/client-v2/vditor/dist/ts/ir/highlightToolbarIR.d.ts +0 -2
  212. package/dist/client-v2/vditor/dist/ts/ir/index.d.ts +0 -13
  213. package/dist/client-v2/vditor/dist/ts/ir/input.d.ts +0 -2
  214. package/dist/client-v2/vditor/dist/ts/ir/process.d.ts +0 -9
  215. package/dist/client-v2/vditor/dist/ts/ir/processKeydown.d.ts +0 -2
  216. package/dist/client-v2/vditor/dist/ts/markdown/abcRender.d.ts +0 -1
  217. package/dist/client-v2/vditor/dist/ts/markdown/adapterRender.d.ts +0 -37
  218. package/dist/client-v2/vditor/dist/ts/markdown/anchorRender.d.ts +0 -1
  219. package/dist/client-v2/vditor/dist/ts/markdown/chartRender.d.ts +0 -1
  220. package/dist/client-v2/vditor/dist/ts/markdown/codeRender.d.ts +0 -2
  221. package/dist/client-v2/vditor/dist/ts/markdown/flowchartRender.d.ts +0 -1
  222. package/dist/client-v2/vditor/dist/ts/markdown/getHTML.d.ts +0 -2
  223. package/dist/client-v2/vditor/dist/ts/markdown/getMarkdown.d.ts +0 -2
  224. package/dist/client-v2/vditor/dist/ts/markdown/graphvizRender.d.ts +0 -1
  225. package/dist/client-v2/vditor/dist/ts/markdown/highlightRender.d.ts +0 -2
  226. package/dist/client-v2/vditor/dist/ts/markdown/lazyLoadImageRender.d.ts +0 -6
  227. package/dist/client-v2/vditor/dist/ts/markdown/markmapRender.d.ts +0 -1
  228. package/dist/client-v2/vditor/dist/ts/markdown/mathRender.d.ts +0 -10
  229. package/dist/client-v2/vditor/dist/ts/markdown/mediaRender.d.ts +0 -1
  230. package/dist/client-v2/vditor/dist/ts/markdown/mermaidRender.d.ts +0 -1
  231. package/dist/client-v2/vditor/dist/ts/markdown/mindmapRender.d.ts +0 -1
  232. package/dist/client-v2/vditor/dist/ts/markdown/outlineRender.d.ts +0 -2
  233. package/dist/client-v2/vditor/dist/ts/markdown/plantumlRender.d.ts +0 -1
  234. package/dist/client-v2/vditor/dist/ts/markdown/previewRender.d.ts +0 -3
  235. package/dist/client-v2/vditor/dist/ts/markdown/setLute.d.ts +0 -2
  236. package/dist/client-v2/vditor/dist/ts/markdown/speechRender.d.ts +0 -7
  237. package/dist/client-v2/vditor/dist/ts/outline/index.d.ts +0 -7
  238. package/dist/client-v2/vditor/dist/ts/preview/image.d.ts +0 -2
  239. package/dist/client-v2/vditor/dist/ts/preview/index.d.ts +0 -10
  240. package/dist/client-v2/vditor/dist/ts/resize/index.d.ts +0 -6
  241. package/dist/client-v2/vditor/dist/ts/sv/combineFootnote.d.ts +0 -6
  242. package/dist/client-v2/vditor/dist/ts/sv/index.d.ts +0 -13
  243. package/dist/client-v2/vditor/dist/ts/sv/inputEvent.d.ts +0 -2
  244. package/dist/client-v2/vditor/dist/ts/sv/process.d.ts +0 -12
  245. package/dist/client-v2/vditor/dist/ts/sv/processKeydown.d.ts +0 -2
  246. package/dist/client-v2/vditor/dist/ts/tip/index.d.ts +0 -6
  247. package/dist/client-v2/vditor/dist/ts/toolbar/Both.d.ts +0 -5
  248. package/dist/client-v2/vditor/dist/ts/toolbar/Br.d.ts +0 -4
  249. package/dist/client-v2/vditor/dist/ts/toolbar/CodeTheme.d.ts +0 -6
  250. package/dist/client-v2/vditor/dist/ts/toolbar/ContentTheme.d.ts +0 -6
  251. package/dist/client-v2/vditor/dist/ts/toolbar/Counter.d.ts +0 -6
  252. package/dist/client-v2/vditor/dist/ts/toolbar/Custom.d.ts +0 -5
  253. package/dist/client-v2/vditor/dist/ts/toolbar/Devtools.d.ts +0 -5
  254. package/dist/client-v2/vditor/dist/ts/toolbar/Divider.d.ts +0 -4
  255. package/dist/client-v2/vditor/dist/ts/toolbar/EditMode.d.ts +0 -8
  256. package/dist/client-v2/vditor/dist/ts/toolbar/Emoji.d.ts +0 -7
  257. package/dist/client-v2/vditor/dist/ts/toolbar/Export.d.ts +0 -6
  258. package/dist/client-v2/vditor/dist/ts/toolbar/Fullscreen.d.ts +0 -6
  259. package/dist/client-v2/vditor/dist/ts/toolbar/Headings.d.ts +0 -7
  260. package/dist/client-v2/vditor/dist/ts/toolbar/Help.d.ts +0 -5
  261. package/dist/client-v2/vditor/dist/ts/toolbar/Indent.d.ts +0 -5
  262. package/dist/client-v2/vditor/dist/ts/toolbar/Info.d.ts +0 -5
  263. package/dist/client-v2/vditor/dist/ts/toolbar/InsertAfter.d.ts +0 -5
  264. package/dist/client-v2/vditor/dist/ts/toolbar/InsertBefore.d.ts +0 -5
  265. package/dist/client-v2/vditor/dist/ts/toolbar/MenuItem.d.ts +0 -5
  266. package/dist/client-v2/vditor/dist/ts/toolbar/Outdent.d.ts +0 -5
  267. package/dist/client-v2/vditor/dist/ts/toolbar/Outline.d.ts +0 -5
  268. package/dist/client-v2/vditor/dist/ts/toolbar/Preview.d.ts +0 -6
  269. package/dist/client-v2/vditor/dist/ts/toolbar/Record.d.ts +0 -6
  270. package/dist/client-v2/vditor/dist/ts/toolbar/Redo.d.ts +0 -5
  271. package/dist/client-v2/vditor/dist/ts/toolbar/Undo.d.ts +0 -5
  272. package/dist/client-v2/vditor/dist/ts/toolbar/Upload.d.ts +0 -6
  273. package/dist/client-v2/vditor/dist/ts/toolbar/index.d.ts +0 -9
  274. package/dist/client-v2/vditor/dist/ts/toolbar/setToolbar.d.ts +0 -21
  275. package/dist/client-v2/vditor/dist/ts/ui/initUI.d.ts +0 -10
  276. package/dist/client-v2/vditor/dist/ts/ui/setCodeTheme.d.ts +0 -1
  277. package/dist/client-v2/vditor/dist/ts/ui/setContentTheme.d.ts +0 -1
  278. package/dist/client-v2/vditor/dist/ts/ui/setPreviewMode.d.ts +0 -2
  279. package/dist/client-v2/vditor/dist/ts/ui/setTheme.d.ts +0 -2
  280. package/dist/client-v2/vditor/dist/ts/undo/index.d.ts +0 -19
  281. package/dist/client-v2/vditor/dist/ts/upload/getElement.d.ts +0 -2
  282. package/dist/client-v2/vditor/dist/ts/upload/index.d.ts +0 -9
  283. package/dist/client-v2/vditor/dist/ts/upload/setHeaders.d.ts +0 -2
  284. package/dist/client-v2/vditor/dist/ts/util/Options.d.ts +0 -8
  285. package/dist/client-v2/vditor/dist/ts/util/RecordMedia.d.ts +0 -18
  286. package/dist/client-v2/vditor/dist/ts/util/addScript.d.ts +0 -2
  287. package/dist/client-v2/vditor/dist/ts/util/addStyle.d.ts +0 -1
  288. package/dist/client-v2/vditor/dist/ts/util/code160to32.d.ts +0 -1
  289. package/dist/client-v2/vditor/dist/ts/util/compatibility.d.ts +0 -7
  290. package/dist/client-v2/vditor/dist/ts/util/editorCommonEvent.d.ts +0 -10
  291. package/dist/client-v2/vditor/dist/ts/util/fixBrowserBehavior.d.ts +0 -40
  292. package/dist/client-v2/vditor/dist/ts/util/function.d.ts +0 -2
  293. package/dist/client-v2/vditor/dist/ts/util/getSelectText.d.ts +0 -1
  294. package/dist/client-v2/vditor/dist/ts/util/hasClosest.d.ts +0 -9
  295. package/dist/client-v2/vditor/dist/ts/util/hasClosestByHeadings.d.ts +0 -2
  296. package/dist/client-v2/vditor/dist/ts/util/highlightToolbar.d.ts +0 -2
  297. package/dist/client-v2/vditor/dist/ts/util/hotKey.d.ts +0 -1
  298. package/dist/client-v2/vditor/dist/ts/util/log.d.ts +0 -1
  299. package/dist/client-v2/vditor/dist/ts/util/merge.d.ts +0 -1
  300. package/dist/client-v2/vditor/dist/ts/util/processCode.d.ts +0 -3
  301. package/dist/client-v2/vditor/dist/ts/util/selection.d.ts +0 -15
  302. package/dist/client-v2/vditor/dist/ts/util/toc.d.ts +0 -6
  303. package/dist/client-v2/vditor/dist/ts/wysiwyg/afterRenderEvent.d.ts +0 -6
  304. package/dist/client-v2/vditor/dist/ts/wysiwyg/highlightToolbarWYSIWYG.d.ts +0 -5
  305. package/dist/client-v2/vditor/dist/ts/wysiwyg/index.d.ts +0 -22
  306. package/dist/client-v2/vditor/dist/ts/wysiwyg/inlineTag.d.ts +0 -11
  307. package/dist/client-v2/vditor/dist/ts/wysiwyg/input.d.ts +0 -2
  308. package/dist/client-v2/vditor/dist/ts/wysiwyg/processKeydown.d.ts +0 -3
  309. package/dist/client-v2/vditor/dist/ts/wysiwyg/renderDomByMd.d.ts +0 -6
  310. package/dist/client-v2/vditor/dist/ts/wysiwyg/setHeading.d.ts +0 -3
  311. package/dist/client-v2/vditor/dist/ts/wysiwyg/showCode.d.ts +0 -2
  312. package/dist/client-v2/vditor/dist/ts/wysiwyg/toolbarEvent.d.ts +0 -2
  313. package/dist/client-v2/vditor/dist/types/index.d.ts +0 -866
@@ -1,6 +0,0 @@
1
- /// <reference types="./types" />
2
- import { MenuItem } from "./MenuItem";
3
- export declare class CodeTheme extends MenuItem {
4
- element: HTMLElement;
5
- constructor(vditor: IVditor, menuItem: IMenuItem);
6
- }
@@ -1,6 +0,0 @@
1
- /// <reference types="./types" />
2
- import { MenuItem } from "./MenuItem";
3
- export declare class ContentTheme extends MenuItem {
4
- element: HTMLElement;
5
- constructor(vditor: IVditor, menuItem: IMenuItem);
6
- }
@@ -1,6 +0,0 @@
1
- /// <reference types="./types" />
2
- export declare class Counter {
3
- element: HTMLElement;
4
- constructor(vditor: IVditor);
5
- render(vditor: IVditor, mdText: string): void;
6
- }
@@ -1,5 +0,0 @@
1
- /// <reference types="./types" />
2
- import { MenuItem } from "./MenuItem";
3
- export declare class Custom extends MenuItem {
4
- constructor(vditor: IVditor, menuItem: IMenuItem);
5
- }
@@ -1,5 +0,0 @@
1
- /// <reference types="./types" />
2
- import { MenuItem } from "./MenuItem";
3
- export declare class Devtools extends MenuItem {
4
- constructor(vditor: IVditor, menuItem: IMenuItem);
5
- }
@@ -1,4 +0,0 @@
1
- export declare class Divider {
2
- element: HTMLElement;
3
- constructor();
4
- }
@@ -1,8 +0,0 @@
1
- /// <reference types="./types" />
2
- import { MenuItem } from "./MenuItem";
3
- export declare const setEditMode: (vditor: IVditor, type: string, event: Event | string) => void;
4
- export declare class EditMode extends MenuItem {
5
- element: HTMLElement;
6
- constructor(vditor: IVditor, menuItem: IMenuItem);
7
- _bindEvent(vditor: IVditor, panelElement: HTMLElement, menuItem: IMenuItem): void;
8
- }
@@ -1,7 +0,0 @@
1
- /// <reference types="./types" />
2
- import { MenuItem } from "./MenuItem";
3
- export declare class Emoji extends MenuItem {
4
- element: HTMLElement;
5
- constructor(vditor: IVditor, menuItem: IMenuItem);
6
- private bindEvent;
7
- }
@@ -1,6 +0,0 @@
1
- /// <reference types="./types" />
2
- import { MenuItem } from "./MenuItem";
3
- export declare class Export extends MenuItem {
4
- element: HTMLElement;
5
- constructor(vditor: IVditor, menuItem: IMenuItem);
6
- }
@@ -1,6 +0,0 @@
1
- /// <reference types="./types" />
2
- import { MenuItem } from "./MenuItem";
3
- export declare class Fullscreen extends MenuItem {
4
- constructor(vditor: IVditor, menuItem: IMenuItem);
5
- _bindEvent(vditor: IVditor, menuItem: IMenuItem): void;
6
- }
@@ -1,7 +0,0 @@
1
- /// <reference types="./types" />
2
- import { MenuItem } from "./MenuItem";
3
- export declare class Headings extends MenuItem {
4
- element: HTMLElement;
5
- constructor(vditor: IVditor, menuItem: IMenuItem);
6
- _bindEvent(vditor: IVditor, panelElement: HTMLElement): void;
7
- }
@@ -1,5 +0,0 @@
1
- /// <reference types="./types" />
2
- import { MenuItem } from "./MenuItem";
3
- export declare class Help extends MenuItem {
4
- constructor(vditor: IVditor, menuItem: IMenuItem);
5
- }
@@ -1,5 +0,0 @@
1
- /// <reference types="./types" />
2
- import { MenuItem } from "./MenuItem";
3
- export declare class Indent extends MenuItem {
4
- constructor(vditor: IVditor, menuItem: IMenuItem);
5
- }
@@ -1,5 +0,0 @@
1
- /// <reference types="./types" />
2
- import { MenuItem } from "./MenuItem";
3
- export declare class Info extends MenuItem {
4
- constructor(vditor: IVditor, menuItem: IMenuItem);
5
- }
@@ -1,5 +0,0 @@
1
- /// <reference types="./types" />
2
- import { MenuItem } from "./MenuItem";
3
- export declare class InsertAfter extends MenuItem {
4
- constructor(vditor: IVditor, menuItem: IMenuItem);
5
- }
@@ -1,5 +0,0 @@
1
- /// <reference types="./types" />
2
- import { MenuItem } from "./MenuItem";
3
- export declare class InsertBefore extends MenuItem {
4
- constructor(vditor: IVditor, menuItem: IMenuItem);
5
- }
@@ -1,5 +0,0 @@
1
- /// <reference types="./types" />
2
- export declare class MenuItem {
3
- element: HTMLElement;
4
- constructor(vditor: IVditor, menuItem: IMenuItem);
5
- }
@@ -1,5 +0,0 @@
1
- /// <reference types="./types" />
2
- import { MenuItem } from "./MenuItem";
3
- export declare class Outdent extends MenuItem {
4
- constructor(vditor: IVditor, menuItem: IMenuItem);
5
- }
@@ -1,5 +0,0 @@
1
- /// <reference types="./types" />
2
- import { MenuItem } from "./MenuItem";
3
- export declare class Outline extends MenuItem {
4
- constructor(vditor: IVditor, menuItem: IMenuItem);
5
- }
@@ -1,6 +0,0 @@
1
- /// <reference types="./types" />
2
- import { MenuItem } from "./MenuItem";
3
- export declare class Preview extends MenuItem {
4
- constructor(vditor: IVditor, menuItem: IMenuItem);
5
- _bindEvent(vditor: IVditor): void;
6
- }
@@ -1,6 +0,0 @@
1
- /// <reference types="./types" />
2
- import { MenuItem } from "./MenuItem";
3
- export declare class Record extends MenuItem {
4
- constructor(vditor: IVditor, menuItem: IMenuItem);
5
- _bindEvent(vditor: IVditor): void;
6
- }
@@ -1,5 +0,0 @@
1
- /// <reference types="./types" />
2
- import { MenuItem } from "./MenuItem";
3
- export declare class Redo extends MenuItem {
4
- constructor(vditor: IVditor, menuItem: IMenuItem);
5
- }
@@ -1,5 +0,0 @@
1
- /// <reference types="./types" />
2
- import { MenuItem } from "./MenuItem";
3
- export declare class Undo extends MenuItem {
4
- constructor(vditor: IVditor, menuItem: IMenuItem);
5
- }
@@ -1,6 +0,0 @@
1
- /// <reference types="./types" />
2
- import { MenuItem } from "./MenuItem";
3
- export declare class Upload extends MenuItem {
4
- constructor(vditor: IVditor, menuItem: IMenuItem);
5
- _bindEvent(vditor: IVditor): void;
6
- }
@@ -1,9 +0,0 @@
1
- /// <reference types="./types" />
2
- export declare class Toolbar {
3
- elements: {
4
- [key: string]: HTMLElement;
5
- };
6
- element: HTMLElement;
7
- constructor(vditor: IVditor);
8
- private genItem;
9
- }
@@ -1,21 +0,0 @@
1
- /// <reference types="./types" />
2
- export declare const removeCurrentToolbar: (toolbar: {
3
- [key: string]: HTMLElement;
4
- }, names: string[]) => void;
5
- export declare const setCurrentToolbar: (toolbar: {
6
- [key: string]: HTMLElement;
7
- }, names: string[]) => void;
8
- export declare const enableToolbar: (toolbar: {
9
- [key: string]: HTMLElement;
10
- }, names: string[]) => void;
11
- export declare const disableToolbar: (toolbar: {
12
- [key: string]: HTMLElement;
13
- }, names: string[]) => void;
14
- export declare const hideToolbar: (toolbar: {
15
- [key: string]: HTMLElement;
16
- }, names: string[]) => void;
17
- export declare const showToolbar: (toolbar: {
18
- [key: string]: HTMLElement;
19
- }, names: string[]) => void;
20
- export declare const hidePanel: (vditor: IVditor, panels: string[], exceptElement?: HTMLElement) => void;
21
- export declare const toggleSubMenu: (vditor: IVditor, panelElement: HTMLElement, actionBtn: Element, level: number) => void;
@@ -1,10 +0,0 @@
1
- /// <reference types="./types" />
2
- declare global {
3
- interface Window {
4
- visualViewport: HTMLElement;
5
- }
6
- }
7
- export declare const initUI: (vditor: IVditor) => void;
8
- export declare const setPadding: (vditor: IVditor) => void;
9
- export declare const setTypewriterPosition: (vditor: IVditor) => void;
10
- export declare function UIUnbindListener(): void;
@@ -1 +0,0 @@
1
- export declare const setCodeTheme: (codeTheme: string, cdn?: string) => void;
@@ -1 +0,0 @@
1
- export declare const setContentTheme: (contentTheme: string, path: string) => void;
@@ -1,2 +0,0 @@
1
- /// <reference types="./types" />
2
- export declare const setPreviewMode: (mode: "both" | "editor", vditor: IVditor) => void;
@@ -1,2 +0,0 @@
1
- /// <reference types="./types" />
2
- export declare const setTheme: (vditor: IVditor) => void;
@@ -1,19 +0,0 @@
1
- /// <reference types="./types" />
2
- declare class Undo {
3
- private stackSize;
4
- private dmp;
5
- private wysiwyg;
6
- private ir;
7
- private sv;
8
- constructor();
9
- clearStack(vditor: IVditor): void;
10
- resetIcon(vditor: IVditor): void;
11
- undo(vditor: IVditor): void;
12
- redo(vditor: IVditor): void;
13
- recordFirstPosition(vditor: IVditor, event: KeyboardEvent): void;
14
- addToUndoStack(vditor: IVditor): void;
15
- private renderDiff;
16
- private resetStack;
17
- private addCaret;
18
- }
19
- export { Undo };
@@ -1,2 +0,0 @@
1
- /// <reference types="./types" />
2
- export declare const getElement: (vditor: IVditor) => HTMLPreElement;
@@ -1,9 +0,0 @@
1
- /// <reference types="./types" />
2
- declare class Upload {
3
- element: HTMLElement;
4
- isUploading: boolean;
5
- range: Range;
6
- constructor();
7
- }
8
- declare const uploadFiles: (vditor: IVditor, files: FileList | DataTransferItemList | File[], element?: HTMLInputElement) => Promise<void>;
9
- export { Upload, uploadFiles };
@@ -1,2 +0,0 @@
1
- /// <reference types="./types" />
2
- export declare const setHeaders: (vditor: IVditor, xhr: XMLHttpRequest) => void;
@@ -1,8 +0,0 @@
1
- /// <reference types="./types" />
2
- export declare class Options {
3
- options: IOptions;
4
- private defaultOptions;
5
- constructor(options: IOptions);
6
- merge(): IOptions;
7
- private mergeToolbar;
8
- }
@@ -1,18 +0,0 @@
1
- export declare class RecordMedia {
2
- SAMPLE_RATE: number;
3
- DEFAULT_SAMPLE_RATE: number;
4
- isRecording: boolean;
5
- readyFlag: boolean;
6
- leftChannel: Float32List[];
7
- rightChannel: Float32List[];
8
- recordingLength: number;
9
- recorder: ScriptProcessorNode;
10
- constructor(e: MediaStream);
11
- cloneChannelData(leftChannelData: Float32List, rightChannelData: Float32List): void;
12
- startRecordingNewWavFile(): void;
13
- stopRecording(): void;
14
- buildWavFileBlob(): Blob;
15
- private downSampleBuffer;
16
- private mergeBuffers;
17
- private writeUTFBytes;
18
- }
@@ -1,2 +0,0 @@
1
- export declare const addScriptSync: (path: string, id: string) => boolean;
2
- export declare const addScript: (path: string, id: string) => Promise<unknown>;
@@ -1 +0,0 @@
1
- export declare const addStyle: (url: string, id: string) => void;
@@ -1 +0,0 @@
1
- export declare const code160to32: (text: string) => string;
@@ -1,7 +0,0 @@
1
- export declare const isSafari: () => boolean;
2
- export declare const isFirefox: () => boolean;
3
- export declare const accessLocalStorage: () => boolean;
4
- export declare const getEventName: () => "click" | "touchstart";
5
- export declare const isCtrl: (event: KeyboardEvent) => boolean;
6
- export declare const updateHotkeyTip: (hotkey: string) => string;
7
- export declare const isChrome: () => boolean;
@@ -1,10 +0,0 @@
1
- /// <reference types="./types" />
2
- export declare const focusEvent: (vditor: IVditor, editorElement: HTMLElement) => void;
3
- export declare const dblclickEvent: (vditor: IVditor, editorElement: HTMLElement) => void;
4
- export declare const blurEvent: (vditor: IVditor, editorElement: HTMLElement) => void;
5
- export declare const dropEvent: (vditor: IVditor, editorElement: HTMLElement) => void;
6
- export declare const copyEvent: (vditor: IVditor, editorElement: HTMLElement, copy: (event: ClipboardEvent, vditor: IVditor) => void) => void;
7
- export declare const cutEvent: (vditor: IVditor, editorElement: HTMLElement, copy: (event: ClipboardEvent, vditor: IVditor) => void) => void;
8
- export declare const scrollCenter: (vditor: IVditor) => void;
9
- export declare const hotkeyEvent: (vditor: IVditor, editorElement: HTMLElement) => void;
10
- export declare const selectEvent: (vditor: IVditor, editorElement: HTMLElement) => void;
@@ -1,40 +0,0 @@
1
- /// <reference types="./types" />
2
- export declare const fixGSKeyBackspace: (event: KeyboardEvent, vditor: IVditor, startContainer: Node) => boolean;
3
- export declare const fixCJKPosition: (range: Range, vditor: IVditor, event: KeyboardEvent) => void;
4
- export declare const fixCursorDownInlineMath: (range: Range, key: string) => void;
5
- export declare const insertEmptyBlock: (vditor: IVditor, position: InsertPosition) => void;
6
- export declare const isFirstCell: (cellElement: HTMLElement) => false | HTMLTableElement;
7
- export declare const isLastCell: (cellElement: HTMLElement) => false | HTMLTableElement;
8
- export declare const insertAfterBlock: (vditor: IVditor, event: KeyboardEvent, range: Range, element: HTMLElement, blockElement: HTMLElement) => boolean;
9
- export declare const insertBeforeBlock: (vditor: IVditor, event: KeyboardEvent, range: Range, element: HTMLElement, blockElement: HTMLElement) => boolean;
10
- export declare const listToggle: (vditor: IVditor, range: Range, type: string, cancel?: boolean) => void;
11
- export declare const listIndent: (vditor: IVditor, liElement: HTMLElement, range: Range) => void;
12
- export declare const listOutdent: (vditor: IVditor, liElement: HTMLElement, range: Range, topListElement: HTMLElement) => void;
13
- export declare const setTableAlign: (tableElement: HTMLTableElement, type: string) => void;
14
- export declare const isHrMD: (text: string) => boolean;
15
- export declare const isHeadingMD: (text: string) => boolean;
16
- export declare const execAfterRender: (vditor: IVditor, options?: {
17
- enableAddUndoStack: boolean;
18
- enableHint: boolean;
19
- enableInput: boolean;
20
- }) => void;
21
- export declare const fixList: (range: Range, vditor: IVditor, pElement: HTMLElement | false, event: KeyboardEvent) => boolean;
22
- export declare const fixTab: (vditor: IVditor, range: Range, event: KeyboardEvent) => boolean;
23
- export declare const fixMarkdown: (event: KeyboardEvent, vditor: IVditor, pElement: HTMLElement | false, range: Range) => boolean;
24
- export declare const insertRow: (vditor: IVditor, range: Range, cellElement: HTMLElement) => void;
25
- export declare const insertRowAbove: (vditor: IVditor, range: Range, cellElement: HTMLElement) => void;
26
- export declare const insertColumn: (vditor: IVditor, tableElement: HTMLTableElement, cellElement: HTMLElement, type?: InsertPosition) => void;
27
- export declare const deleteRow: (vditor: IVditor, range: Range, cellElement: HTMLElement) => void;
28
- export declare const deleteColumn: (vditor: IVditor, range: Range, tableElement: HTMLTableElement, cellElement: HTMLElement) => void;
29
- export declare const fixTable: (vditor: IVditor, event: KeyboardEvent, range: Range) => boolean;
30
- export declare const fixCodeBlock: (vditor: IVditor, event: KeyboardEvent, codeRenderElement: HTMLElement, range: Range) => boolean;
31
- export declare const fixBlockquote: (vditor: IVditor, range: Range, event: KeyboardEvent, pElement: HTMLElement | false) => boolean;
32
- export declare const fixTask: (vditor: IVditor, range: Range, event: KeyboardEvent) => boolean;
33
- export declare const fixDelete: (vditor: IVditor, range: Range, event: KeyboardEvent, pElement: HTMLElement | false) => boolean;
34
- export declare const fixHR: (range: Range) => void;
35
- export declare const fixFirefoxArrowUpTable: (event: KeyboardEvent, blockElement: false | HTMLElement, range: Range) => boolean;
36
- export declare const paste: (vditor: IVditor, event: (ClipboardEvent | DragEvent) & {
37
- target: HTMLElement;
38
- }, callback: {
39
- pasteCode(code: string): void;
40
- }) => Promise<void>;
@@ -1,2 +0,0 @@
1
- export declare const genUUID: () => string;
2
- export declare const getSearch: (key: string, link?: string) => string;
@@ -1 +0,0 @@
1
- export declare const getSelectText: (editor: HTMLElement, range?: Range) => string;
@@ -1,9 +0,0 @@
1
- export declare const hasTopClosestByClassName: (element: Node, className: string) => false | HTMLElement;
2
- export declare const hasTopClosestByAttribute: (element: Node, attr: string, value: string) => false | HTMLElement;
3
- export declare const hasTopClosestByTag: (element: Node, nodeName: string) => false | HTMLElement;
4
- export declare const getTopList: (element: Node) => false | HTMLElement;
5
- export declare const hasClosestByAttribute: (element: Node, attr: string, value: string) => false | HTMLElement;
6
- export declare const hasClosestBlock: (element: Node) => false | HTMLElement;
7
- export declare const hasClosestByMatchTag: (element: Node, nodeName: string) => false | HTMLElement;
8
- export declare const hasClosestByClassName: (element: Node, className: string) => false | HTMLElement;
9
- export declare const getLastNode: (node: Node) => Node;
@@ -1,2 +0,0 @@
1
- export declare const hasClosestByTag: (element: Node, nodeName: string) => false | HTMLElement;
2
- export declare const hasClosestByHeadings: (element: Node) => false | HTMLElement;
@@ -1,2 +0,0 @@
1
- /// <reference types="./types" />
2
- export declare const highlightToolbar: (vditor: IVditor) => void;
@@ -1 +0,0 @@
1
- export declare const matchHotKey: (hotKey: string, event: KeyboardEvent) => boolean;
@@ -1 +0,0 @@
1
- export declare const log: (method: string, content: string, type: string, print: boolean) => void;
@@ -1 +0,0 @@
1
- export declare const merge: (...options: any[]) => any;
@@ -1,3 +0,0 @@
1
- /// <reference types="./types" />
2
- export declare const processPasteCode: (html: string, text: string, type?: string) => string | false;
3
- export declare const processCodeRender: (previewPanel: HTMLElement, vditor: IVditor) => void;
@@ -1,15 +0,0 @@
1
- /// <reference types="./types" />
2
- export declare const getEditorRange: (vditor: IVditor) => Range;
3
- export declare const getCursorPosition: (editor: HTMLElement) => {
4
- left: number;
5
- top: number;
6
- };
7
- export declare const selectIsEditor: (editor: HTMLElement, range?: Range) => boolean;
8
- export declare const setSelectionFocus: (range: Range) => void;
9
- export declare const getSelectPosition: (selectElement: HTMLElement, editorElement: HTMLElement, range?: Range) => {
10
- end: number;
11
- start: number;
12
- };
13
- export declare const setSelectionByPosition: (start: number, end: number, editor: HTMLElement) => Range;
14
- export declare const setRangeByWbr: (element: HTMLElement, range: Range) => void;
15
- export declare const insertHTML: (html: string, vditor: IVditor) => void;
@@ -1,6 +0,0 @@
1
- /// <reference types="./types" />
2
- export declare const renderToc: (vditor: IVditor) => void;
3
- export declare const clickToc: (event: MouseEvent & {
4
- target: HTMLElement;
5
- }, vditor: IVditor) => void;
6
- export declare const keydownToc: (blockElement: HTMLElement, vditor: IVditor, event: KeyboardEvent, range: Range) => boolean;
@@ -1,6 +0,0 @@
1
- /// <reference types="./types" />
2
- export declare const afterRenderEvent: (vditor: IVditor, options?: {
3
- enableAddUndoStack: boolean;
4
- enableHint: boolean;
5
- enableInput: boolean;
6
- }) => void;
@@ -1,5 +0,0 @@
1
- /// <reference types="./types" />
2
- export declare const highlightToolbarWYSIWYG: (vditor: IVditor) => void;
3
- export declare const genLinkRefPopover: (vditor: IVditor, linkRefElement: HTMLElement, range?: Range) => void;
4
- export declare const genAPopover: (vditor: IVditor, aElement: HTMLElement, range: Range) => void;
5
- export declare const genImagePopover: (event: Event, vditor: IVditor) => void;
@@ -1,22 +0,0 @@
1
- /// <reference types="./types" />
2
- declare class WYSIWYG {
3
- range: Range;
4
- element: HTMLPreElement;
5
- popover: HTMLDivElement;
6
- selectPopover: HTMLDivElement;
7
- afterRenderTimeoutId: number;
8
- hlToolbarTimeoutId: number;
9
- preventInput: boolean;
10
- composingLock: boolean;
11
- commentIds: string[];
12
- private scrollListener;
13
- constructor(vditor: IVditor);
14
- getComments(vditor: IVditor, getData?: boolean): ICommentsData[];
15
- triggerRemoveComment(vditor: IVditor): void;
16
- showComment(): void;
17
- hideComment(): void;
18
- unbindListener(): void;
19
- private copy;
20
- private bindEvent;
21
- }
22
- export { WYSIWYG };
@@ -1,11 +0,0 @@
1
- /// <reference types="./types" />
2
- export declare const previoueIsEmptyA: (node: Node) => false | HTMLElement;
3
- export declare const nextIsCode: (range: Range) => boolean;
4
- export declare const getNextHTML: (node: Node) => string;
5
- export declare const getPreviousHTML: (node: Node) => string;
6
- export declare const getRenderElementNextNode: (blockCodeElement: HTMLElement) => ChildNode;
7
- export declare const splitElement: (range: Range) => {
8
- afterHTML: string;
9
- beforeHTML: string;
10
- };
11
- export declare const modifyPre: (vditor: IVditor, range: Range) => void;
@@ -1,2 +0,0 @@
1
- /// <reference types="./types" />
2
- export declare const input: (vditor: IVditor, range: Range, event?: InputEvent) => void;
@@ -1,3 +0,0 @@
1
- /// <reference types="./types" />
2
- export declare const processKeydown: (vditor: IVditor, event: KeyboardEvent) => boolean;
3
- export declare const removeBlockElement: (vditor: IVditor, event: KeyboardEvent) => boolean;
@@ -1,6 +0,0 @@
1
- /// <reference types="./types" />
2
- export declare const renderDomByMd: (vditor: IVditor, md: string, options?: {
3
- enableAddUndoStack: boolean;
4
- enableHint: boolean;
5
- enableInput: boolean;
6
- }) => void;
@@ -1,3 +0,0 @@
1
- /// <reference types="./types" />
2
- export declare const setHeading: (vditor: IVditor, tagName: string) => void;
3
- export declare const removeHeading: (vditor: IVditor) => void;
@@ -1,2 +0,0 @@
1
- /// <reference types="./types" />
2
- export declare const showCode: (previewElement: HTMLElement, vditor: IVditor, first?: boolean) => void;
@@ -1,2 +0,0 @@
1
- /// <reference types="./types" />
2
- export declare const toolbarEvent: (vditor: IVditor, actionBtn: Element, event: Event) => void;