@opentiny/fluent-editor 4.0.0-alpha.9 → 4.0.0-beta.0

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 (385) hide show
  1. package/README.md +88 -88
  2. package/es/attributors/line-height.es.js.map +1 -1
  3. package/es/config/base64-image.es.js.map +1 -1
  4. package/es/config/editor.config.es.js +27 -0
  5. package/es/config/editor.config.es.js.map +1 -1
  6. package/es/config/editor.utils.es.js.map +1 -1
  7. package/es/config/i18n/en-us.es.js +2 -0
  8. package/es/config/i18n/en-us.es.js.map +1 -1
  9. package/es/config/i18n/zh-cn.es.js +2 -0
  10. package/es/config/i18n/zh-cn.es.js.map +1 -1
  11. package/es/config/index.es.js +3 -1
  12. package/es/config/index.es.js.map +1 -1
  13. package/es/core/fluent-editor.es.js.map +1 -1
  14. package/es/fluent-editor.es.js +17 -13
  15. package/es/fluent-editor.es.js.map +1 -1
  16. package/es/formats/emoji.es.js.map +1 -1
  17. package/es/formats/soft-break.es.js.map +1 -1
  18. package/es/formats/strike.es.js.map +1 -1
  19. package/es/formats/video.es.js.map +1 -1
  20. package/es/index.es.js +35 -2
  21. package/es/index.es.js.map +1 -1
  22. package/es/modules/ai/constants.es.js.map +1 -1
  23. package/es/modules/ai/icons.es.js.map +1 -1
  24. package/es/modules/ai/index.es.js +1 -1
  25. package/es/modules/ai/index.es.js.map +1 -1
  26. package/es/modules/collaborative-editing/awareness/awareness.es.js +6 -7
  27. package/es/modules/collaborative-editing/awareness/awareness.es.js.map +1 -1
  28. package/es/modules/collaborative-editing/awareness/y-indexeddb.es.js +7 -3
  29. package/es/modules/collaborative-editing/awareness/y-indexeddb.es.js.map +1 -1
  30. package/es/modules/collaborative-editing/collaborative-editing.es.js +13 -8
  31. package/es/modules/collaborative-editing/collaborative-editing.es.js.map +1 -1
  32. package/es/modules/collaborative-editing/module.es.js.map +1 -1
  33. package/es/modules/collaborative-editing/provider/providerRegistry.es.js.map +1 -1
  34. package/es/modules/collaborative-editing/provider/webrtc.es.js +8 -4
  35. package/es/modules/collaborative-editing/provider/webrtc.es.js.map +1 -1
  36. package/es/modules/collaborative-editing/provider/websocket.es.js +6 -4
  37. package/es/modules/collaborative-editing/provider/websocket.es.js.map +1 -1
  38. package/es/modules/counter.es.js.map +1 -1
  39. package/es/modules/custom-clipboard.es.js.map +1 -1
  40. package/es/modules/custom-image/actions/action.es.js.map +1 -1
  41. package/es/modules/custom-image/actions/custom-resize-action.es.js.map +1 -1
  42. package/es/modules/custom-image/actions/delete-action.es.js.map +1 -1
  43. package/es/modules/custom-image/actions/image-toolbar-buttons.es.js +1 -1
  44. package/es/modules/custom-image/actions/image-toolbar-buttons.es.js.map +1 -1
  45. package/es/modules/custom-image/actions/toolbar-action.es.js.map +1 -1
  46. package/es/modules/custom-image/actions/toolbar.es.js.map +1 -1
  47. package/es/modules/custom-image/blot-formatter.es.js +1 -1
  48. package/es/modules/custom-image/blot-formatter.es.js.map +1 -1
  49. package/es/modules/custom-image/image.es.js.map +1 -1
  50. package/es/modules/custom-image/options.es.js.map +1 -1
  51. package/es/modules/custom-image/specs/blot-spec.es.js.map +1 -1
  52. package/es/modules/custom-image/specs/custom-image-spec.es.js.map +1 -1
  53. package/es/modules/custom-image/specs/image-spec.es.js.map +1 -1
  54. package/es/modules/custom-uploader.es.js.map +1 -1
  55. package/es/modules/divider.es.js.map +1 -1
  56. package/es/modules/emoji.es.js +1 -1
  57. package/es/modules/emoji.es.js.map +1 -1
  58. package/es/modules/file/formats/file.es.js.map +1 -1
  59. package/es/modules/file/modules/file-bar.es.js.map +1 -1
  60. package/es/modules/file/modules/file-module.es.js.map +1 -1
  61. package/es/modules/flow-chart/config-utils.es.js +102 -0
  62. package/es/modules/flow-chart/config-utils.es.js.map +1 -0
  63. package/es/modules/flow-chart/formats/flow-chart-blot.es.js +369 -0
  64. package/es/modules/flow-chart/formats/flow-chart-blot.es.js.map +1 -0
  65. package/es/modules/flow-chart/i18n/en-us.es.js +30 -0
  66. package/es/modules/flow-chart/i18n/en-us.es.js.map +1 -0
  67. package/es/modules/flow-chart/i18n/index.es.js +12 -0
  68. package/es/modules/flow-chart/i18n/index.es.js.map +1 -0
  69. package/es/modules/flow-chart/i18n/zh-cn.es.js +30 -0
  70. package/es/modules/flow-chart/i18n/zh-cn.es.js.map +1 -0
  71. package/es/modules/flow-chart/icons.es.js +27 -0
  72. package/es/modules/flow-chart/icons.es.js.map +1 -0
  73. package/es/modules/flow-chart/index.es.js +45 -0
  74. package/es/modules/flow-chart/index.es.js.map +1 -0
  75. package/es/modules/flow-chart/modules/context-menu.es.js +184 -0
  76. package/es/modules/flow-chart/modules/context-menu.es.js.map +1 -0
  77. package/es/modules/flow-chart/modules/control-panel.es.js +286 -0
  78. package/es/modules/flow-chart/modules/control-panel.es.js.map +1 -0
  79. package/es/modules/flow-chart/modules/custom-resize-action.es.js +150 -0
  80. package/es/modules/flow-chart/modules/custom-resize-action.es.js.map +1 -0
  81. package/es/modules/i18n.es.js.map +1 -1
  82. package/es/modules/index.es.js +4 -0
  83. package/es/modules/index.es.js.map +1 -1
  84. package/es/modules/link/formats/link.es.js.map +1 -1
  85. package/es/modules/link/modules/tooltip.es.js.map +1 -1
  86. package/es/modules/mathlive/formats.es.js.map +1 -1
  87. package/es/modules/mathlive/module.es.js.map +1 -1
  88. package/es/modules/mathlive/tooltip.es.js.map +1 -1
  89. package/es/modules/mention/constants.es.js.map +1 -1
  90. package/es/modules/mention/mention-link.es.js.map +1 -1
  91. package/es/modules/mention/mention.es.js.map +1 -1
  92. package/es/modules/mind-map/config-utils.es.js +108 -0
  93. package/es/modules/mind-map/config-utils.es.js.map +1 -0
  94. package/es/modules/mind-map/formats/mind-map-blot.es.js +356 -0
  95. package/es/modules/mind-map/formats/mind-map-blot.es.js.map +1 -0
  96. package/es/modules/mind-map/i18n/en-us.es.js +29 -0
  97. package/es/modules/mind-map/i18n/en-us.es.js.map +1 -0
  98. package/es/modules/mind-map/i18n/index.es.js +12 -0
  99. package/es/modules/mind-map/i18n/index.es.js.map +1 -0
  100. package/es/modules/mind-map/i18n/zh-cn.es.js +29 -0
  101. package/es/modules/mind-map/i18n/zh-cn.es.js.map +1 -0
  102. package/es/modules/mind-map/icons.es.js +45 -0
  103. package/es/modules/mind-map/icons.es.js.map +1 -0
  104. package/es/modules/mind-map/index.es.js +56 -0
  105. package/es/modules/mind-map/index.es.js.map +1 -0
  106. package/es/modules/mind-map/modules/context-menu.es.js +128 -0
  107. package/es/modules/mind-map/modules/context-menu.es.js.map +1 -0
  108. package/es/modules/mind-map/modules/control-panel.es.js +425 -0
  109. package/es/modules/mind-map/modules/control-panel.es.js.map +1 -0
  110. package/es/modules/mind-map/modules/custom-resize-action.es.js +161 -0
  111. package/es/modules/mind-map/modules/custom-resize-action.es.js.map +1 -0
  112. package/es/modules/shortcut-key/index.es.js +16 -0
  113. package/es/modules/shortcut-key/index.es.js.map +1 -1
  114. package/es/modules/syntax.es.js.map +1 -1
  115. package/es/modules/table-up/index.es.js.map +1 -1
  116. package/es/modules/toolbar/better-picker.es.js.map +1 -1
  117. package/es/modules/toolbar/better-toolbar.es.js.map +1 -1
  118. package/es/modules/toolbar/toolbar-tip.es.js.map +1 -1
  119. package/es/themes/snow.es.js.map +1 -1
  120. package/es/tools/format-painter.es.js.map +1 -1
  121. package/es/tools/fullscreen.es.js.map +1 -1
  122. package/es/tools/screenshot.es.js.map +1 -1
  123. package/es/ui/icons.config.es.js +4 -0
  124. package/es/ui/icons.config.es.js.map +1 -1
  125. package/es/ui/icons.es.js +4 -2
  126. package/es/ui/icons.es.js.map +1 -1
  127. package/es/utils/debounce.es.js.map +1 -1
  128. package/es/utils/image.es.js.map +1 -1
  129. package/es/utils/is.es.js.map +1 -1
  130. package/es/utils/merge.es.js +27 -0
  131. package/es/utils/merge.es.js.map +1 -0
  132. package/es/utils/method.es.js.map +1 -1
  133. package/es/utils/scroll-lock.es.js.map +1 -1
  134. package/flow-chart.css +185 -0
  135. package/lib/attributors/line-height.cjs.js.map +1 -1
  136. package/lib/config/base64-image.cjs.js.map +1 -1
  137. package/lib/config/editor.config.cjs.js +27 -0
  138. package/lib/config/editor.config.cjs.js.map +1 -1
  139. package/lib/config/editor.utils.cjs.js.map +1 -1
  140. package/lib/config/i18n/en-us.cjs.js +2 -0
  141. package/lib/config/i18n/en-us.cjs.js.map +1 -1
  142. package/lib/config/i18n/zh-cn.cjs.js +2 -0
  143. package/lib/config/i18n/zh-cn.cjs.js.map +1 -1
  144. package/lib/config/index.cjs.js +2 -0
  145. package/lib/config/index.cjs.js.map +1 -1
  146. package/lib/core/fluent-editor.cjs.js.map +1 -1
  147. package/lib/fluent-editor.cjs.js +23 -19
  148. package/lib/fluent-editor.cjs.js.map +1 -1
  149. package/lib/formats/emoji.cjs.js.map +1 -1
  150. package/lib/formats/soft-break.cjs.js.map +1 -1
  151. package/lib/formats/strike.cjs.js.map +1 -1
  152. package/lib/formats/video.cjs.js.map +1 -1
  153. package/lib/index.cjs.js +39 -6
  154. package/lib/index.cjs.js.map +1 -1
  155. package/lib/modules/ai/constants.cjs.js.map +1 -1
  156. package/lib/modules/ai/icons.cjs.js.map +1 -1
  157. package/lib/modules/ai/index.cjs.js.map +1 -1
  158. package/lib/modules/collaborative-editing/awareness/awareness.cjs.js +6 -24
  159. package/lib/modules/collaborative-editing/awareness/awareness.cjs.js.map +1 -1
  160. package/lib/modules/collaborative-editing/awareness/y-indexeddb.cjs.js +7 -3
  161. package/lib/modules/collaborative-editing/awareness/y-indexeddb.cjs.js.map +1 -1
  162. package/lib/modules/collaborative-editing/collaborative-editing.cjs.js +19 -31
  163. package/lib/modules/collaborative-editing/collaborative-editing.cjs.js.map +1 -1
  164. package/lib/modules/collaborative-editing/module.cjs.js.map +1 -1
  165. package/lib/modules/collaborative-editing/provider/providerRegistry.cjs.js.map +1 -1
  166. package/lib/modules/collaborative-editing/provider/webrtc.cjs.js +10 -23
  167. package/lib/modules/collaborative-editing/provider/webrtc.cjs.js.map +1 -1
  168. package/lib/modules/collaborative-editing/provider/websocket.cjs.js +10 -25
  169. package/lib/modules/collaborative-editing/provider/websocket.cjs.js.map +1 -1
  170. package/lib/modules/counter.cjs.js.map +1 -1
  171. package/lib/modules/custom-clipboard.cjs.js.map +1 -1
  172. package/lib/modules/custom-image/actions/action.cjs.js.map +1 -1
  173. package/lib/modules/custom-image/actions/custom-resize-action.cjs.js.map +1 -1
  174. package/lib/modules/custom-image/actions/delete-action.cjs.js.map +1 -1
  175. package/lib/modules/custom-image/actions/image-toolbar-buttons.cjs.js.map +1 -1
  176. package/lib/modules/custom-image/actions/toolbar-action.cjs.js.map +1 -1
  177. package/lib/modules/custom-image/actions/toolbar.cjs.js.map +1 -1
  178. package/lib/modules/custom-image/blot-formatter.cjs.js +2 -2
  179. package/lib/modules/custom-image/blot-formatter.cjs.js.map +1 -1
  180. package/lib/modules/custom-image/image.cjs.js.map +1 -1
  181. package/lib/modules/custom-image/options.cjs.js.map +1 -1
  182. package/lib/modules/custom-image/specs/blot-spec.cjs.js.map +1 -1
  183. package/lib/modules/custom-image/specs/custom-image-spec.cjs.js.map +1 -1
  184. package/lib/modules/custom-image/specs/image-spec.cjs.js.map +1 -1
  185. package/lib/modules/custom-uploader.cjs.js.map +1 -1
  186. package/lib/modules/divider.cjs.js.map +1 -1
  187. package/lib/modules/emoji.cjs.js +2 -2
  188. package/lib/modules/emoji.cjs.js.map +1 -1
  189. package/lib/modules/file/formats/file.cjs.js.map +1 -1
  190. package/lib/modules/file/modules/file-bar.cjs.js.map +1 -1
  191. package/lib/modules/file/modules/file-module.cjs.js.map +1 -1
  192. package/lib/modules/flow-chart/config-utils.cjs.js +102 -0
  193. package/lib/modules/flow-chart/config-utils.cjs.js.map +1 -0
  194. package/lib/modules/flow-chart/formats/flow-chart-blot.cjs.js +369 -0
  195. package/lib/modules/flow-chart/formats/flow-chart-blot.cjs.js.map +1 -0
  196. package/lib/modules/flow-chart/i18n/en-us.cjs.js +30 -0
  197. package/lib/modules/flow-chart/i18n/en-us.cjs.js.map +1 -0
  198. package/lib/modules/flow-chart/i18n/index.cjs.js +12 -0
  199. package/lib/modules/flow-chart/i18n/index.cjs.js.map +1 -0
  200. package/lib/modules/flow-chart/i18n/zh-cn.cjs.js +30 -0
  201. package/lib/modules/flow-chart/i18n/zh-cn.cjs.js.map +1 -0
  202. package/lib/modules/flow-chart/icons.cjs.js +27 -0
  203. package/lib/modules/flow-chart/icons.cjs.js.map +1 -0
  204. package/lib/modules/flow-chart/index.cjs.js +45 -0
  205. package/lib/modules/flow-chart/index.cjs.js.map +1 -0
  206. package/lib/modules/flow-chart/modules/context-menu.cjs.js +184 -0
  207. package/lib/modules/flow-chart/modules/context-menu.cjs.js.map +1 -0
  208. package/lib/modules/flow-chart/modules/control-panel.cjs.js +286 -0
  209. package/lib/modules/flow-chart/modules/control-panel.cjs.js.map +1 -0
  210. package/lib/modules/flow-chart/modules/custom-resize-action.cjs.js +150 -0
  211. package/lib/modules/flow-chart/modules/custom-resize-action.cjs.js.map +1 -0
  212. package/lib/modules/i18n.cjs.js.map +1 -1
  213. package/lib/modules/index.cjs.js +9 -5
  214. package/lib/modules/index.cjs.js.map +1 -1
  215. package/lib/modules/link/formats/link.cjs.js.map +1 -1
  216. package/lib/modules/link/modules/tooltip.cjs.js.map +1 -1
  217. package/lib/modules/mathlive/formats.cjs.js.map +1 -1
  218. package/lib/modules/mathlive/module.cjs.js.map +1 -1
  219. package/lib/modules/mathlive/tooltip.cjs.js.map +1 -1
  220. package/lib/modules/mention/constants.cjs.js.map +1 -1
  221. package/lib/modules/mention/mention-link.cjs.js.map +1 -1
  222. package/lib/modules/mention/mention.cjs.js.map +1 -1
  223. package/lib/modules/mind-map/config-utils.cjs.js +108 -0
  224. package/lib/modules/mind-map/config-utils.cjs.js.map +1 -0
  225. package/lib/modules/mind-map/formats/mind-map-blot.cjs.js +356 -0
  226. package/lib/modules/mind-map/formats/mind-map-blot.cjs.js.map +1 -0
  227. package/lib/modules/mind-map/i18n/en-us.cjs.js +29 -0
  228. package/lib/modules/mind-map/i18n/en-us.cjs.js.map +1 -0
  229. package/lib/modules/mind-map/i18n/index.cjs.js +12 -0
  230. package/lib/modules/mind-map/i18n/index.cjs.js.map +1 -0
  231. package/lib/modules/mind-map/i18n/zh-cn.cjs.js +29 -0
  232. package/lib/modules/mind-map/i18n/zh-cn.cjs.js.map +1 -0
  233. package/lib/modules/mind-map/icons.cjs.js +45 -0
  234. package/lib/modules/mind-map/icons.cjs.js.map +1 -0
  235. package/lib/modules/mind-map/index.cjs.js +56 -0
  236. package/lib/modules/mind-map/index.cjs.js.map +1 -0
  237. package/lib/modules/mind-map/modules/context-menu.cjs.js +128 -0
  238. package/lib/modules/mind-map/modules/context-menu.cjs.js.map +1 -0
  239. package/lib/modules/mind-map/modules/control-panel.cjs.js +425 -0
  240. package/lib/modules/mind-map/modules/control-panel.cjs.js.map +1 -0
  241. package/lib/modules/mind-map/modules/custom-resize-action.cjs.js +161 -0
  242. package/lib/modules/mind-map/modules/custom-resize-action.cjs.js.map +1 -0
  243. package/lib/modules/shortcut-key/index.cjs.js +16 -0
  244. package/lib/modules/shortcut-key/index.cjs.js.map +1 -1
  245. package/lib/modules/syntax.cjs.js.map +1 -1
  246. package/lib/modules/table-up/index.cjs.js.map +1 -1
  247. package/lib/modules/toolbar/better-picker.cjs.js.map +1 -1
  248. package/lib/modules/toolbar/better-toolbar.cjs.js.map +1 -1
  249. package/lib/modules/toolbar/toolbar-tip.cjs.js.map +1 -1
  250. package/lib/themes/snow.cjs.js.map +1 -1
  251. package/lib/tools/format-painter.cjs.js.map +1 -1
  252. package/lib/tools/fullscreen.cjs.js.map +1 -1
  253. package/lib/tools/screenshot.cjs.js.map +1 -1
  254. package/lib/ui/icons.cjs.js +3 -1
  255. package/lib/ui/icons.cjs.js.map +1 -1
  256. package/lib/ui/icons.config.cjs.js +4 -0
  257. package/lib/ui/icons.config.cjs.js.map +1 -1
  258. package/lib/utils/debounce.cjs.js.map +1 -1
  259. package/lib/utils/image.cjs.js.map +1 -1
  260. package/lib/utils/is.cjs.js.map +1 -1
  261. package/lib/utils/merge.cjs.js +27 -0
  262. package/lib/utils/merge.cjs.js.map +1 -0
  263. package/lib/utils/method.cjs.js.map +1 -1
  264. package/lib/utils/scroll-lock.cjs.js.map +1 -1
  265. package/mind-map.css +224 -0
  266. package/package.json +45 -67
  267. package/patches/quill@2.0.3.patch +33 -0
  268. package/scripts/apply-patches.cjs +248 -0
  269. package/style.css +4 -2
  270. package/types/attributors/font-size.d.ts +1 -1
  271. package/types/attributors/font-style.d.ts +1 -1
  272. package/types/attributors/index.d.ts +4 -4
  273. package/types/attributors/line-height.d.ts +1 -1
  274. package/types/attributors/text-indent.d.ts +1 -1
  275. package/types/config/base64-image.d.ts +2 -2
  276. package/types/config/editor.config.d.ts +55 -11
  277. package/types/config/editor.utils.d.ts +40 -40
  278. package/types/config/i18n/en-us.d.ts +125 -123
  279. package/types/config/i18n/zh-cn.d.ts +125 -123
  280. package/types/config/index.d.ts +7 -7
  281. package/types/config/types/editor-config.interface.d.ts +11 -12
  282. package/types/config/types/editor-modules.interface.d.ts +40 -37
  283. package/types/config/types/index.d.ts +3 -3
  284. package/types/config/types/type.d.ts +2 -2
  285. package/types/core/fluent-editor.d.ts +10 -11
  286. package/types/fluent-editor.d.ts +1 -2
  287. package/types/formats/emoji.d.ts +7 -8
  288. package/types/formats/index.d.ts +4 -4
  289. package/types/formats/soft-break.d.ts +11 -12
  290. package/types/formats/strike.d.ts +7 -8
  291. package/types/formats/video.d.ts +12 -13
  292. package/types/index.d.ts +7 -8
  293. package/types/modules/ai/constants.d.ts +30 -30
  294. package/types/modules/ai/icons.d.ts +21 -21
  295. package/types/modules/ai/index.d.ts +93 -94
  296. package/types/modules/ai/types.d.ts +16 -16
  297. package/types/modules/collaborative-editing/awareness/awareness.d.ts +25 -26
  298. package/types/modules/collaborative-editing/awareness/index.d.ts +2 -2
  299. package/types/modules/collaborative-editing/awareness/y-indexeddb.d.ts +3 -3
  300. package/types/modules/collaborative-editing/collaborative-editing.d.ts +22 -22
  301. package/types/modules/collaborative-editing/index.d.ts +2 -2
  302. package/types/modules/collaborative-editing/module.d.ts +10 -11
  303. package/types/modules/collaborative-editing/provider/index.d.ts +3 -3
  304. package/types/modules/collaborative-editing/provider/providerRegistry.d.ts +25 -25
  305. package/types/modules/collaborative-editing/provider/webrtc.d.ts +35 -35
  306. package/types/modules/collaborative-editing/provider/websocket.d.ts +39 -39
  307. package/types/modules/collaborative-editing/types.d.ts +51 -35
  308. package/types/modules/counter.d.ts +21 -22
  309. package/types/modules/custom-clipboard.d.ts +23 -24
  310. package/types/modules/custom-image/actions/action.d.ts +7 -8
  311. package/types/modules/custom-image/actions/custom-resize-action.d.ts +22 -23
  312. package/types/modules/custom-image/actions/delete-action.d.ts +5 -6
  313. package/types/modules/custom-image/actions/image-toolbar-buttons.d.ts +15 -16
  314. package/types/modules/custom-image/actions/index.d.ts +6 -6
  315. package/types/modules/custom-image/actions/toolbar-action.d.ts +7 -8
  316. package/types/modules/custom-image/actions/toolbar.d.ts +16 -17
  317. package/types/modules/custom-image/blot-formatter.d.ts +19 -20
  318. package/types/modules/custom-image/image.d.ts +26 -27
  319. package/types/modules/custom-image/index.d.ts +4 -4
  320. package/types/modules/custom-image/options.d.ts +45 -46
  321. package/types/modules/custom-image/specs/blot-spec.d.ts +10 -11
  322. package/types/modules/custom-image/specs/custom-image-spec.d.ts +15 -16
  323. package/types/modules/custom-image/specs/image-spec.d.ts +7 -8
  324. package/types/modules/custom-image/specs/index.d.ts +3 -3
  325. package/types/modules/custom-uploader.d.ts +37 -38
  326. package/types/modules/divider.d.ts +7 -8
  327. package/types/modules/emoji.d.ts +35 -36
  328. package/types/modules/file/formats/file.d.ts +17 -18
  329. package/types/modules/file/index.d.ts +3 -3
  330. package/types/modules/file/modules/file-bar.d.ts +14 -14
  331. package/types/modules/file/modules/file-module.d.ts +7 -8
  332. package/types/modules/flow-chart/config-utils.d.ts +10 -0
  333. package/types/modules/flow-chart/formats/flow-chart-blot.d.ts +43 -0
  334. package/types/modules/flow-chart/i18n/en-us.d.ts +26 -0
  335. package/types/modules/flow-chart/i18n/index.d.ts +1 -0
  336. package/types/modules/flow-chart/i18n/zh-cn.d.ts +26 -0
  337. package/types/modules/flow-chart/icons.d.ts +12 -0
  338. package/types/modules/flow-chart/index.d.ts +10 -0
  339. package/types/modules/flow-chart/modules/context-menu.d.ts +3 -0
  340. package/types/modules/flow-chart/modules/control-panel.d.ts +3 -0
  341. package/types/modules/flow-chart/modules/custom-resize-action.d.ts +22 -0
  342. package/types/modules/flow-chart/options.d.ts +29 -0
  343. package/types/modules/i18n.d.ts +13 -14
  344. package/types/modules/index.d.ts +18 -16
  345. package/types/modules/link/formats/link.d.ts +14 -15
  346. package/types/modules/link/index.d.ts +2 -2
  347. package/types/modules/link/modules/tooltip.d.ts +25 -26
  348. package/types/modules/mathlive/formats.d.ts +20 -21
  349. package/types/modules/mathlive/index.d.ts +3 -3
  350. package/types/modules/mathlive/module.d.ts +7 -8
  351. package/types/modules/mathlive/tooltip.d.ts +14 -15
  352. package/types/modules/mention/constants.d.ts +3 -3
  353. package/types/modules/mention/index.d.ts +2 -2
  354. package/types/modules/mention/mention-link.d.ts +14 -15
  355. package/types/modules/mention/mention.d.ts +52 -53
  356. package/types/modules/mind-map/config-utils.d.ts +12 -0
  357. package/types/modules/mind-map/formats/mind-map-blot.d.ts +44 -0
  358. package/types/modules/mind-map/i18n/en-us.d.ts +25 -0
  359. package/types/modules/mind-map/i18n/index.d.ts +1 -0
  360. package/types/modules/mind-map/i18n/zh-cn.d.ts +25 -0
  361. package/types/modules/mind-map/icons.d.ts +21 -0
  362. package/types/modules/mind-map/index.d.ts +10 -0
  363. package/types/modules/mind-map/modules/context-menu.d.ts +3 -0
  364. package/types/modules/mind-map/modules/control-panel.d.ts +3 -0
  365. package/types/modules/mind-map/modules/custom-resize-action.d.ts +23 -0
  366. package/types/modules/mind-map/options.d.ts +27 -0
  367. package/types/modules/shortcut-key/index.d.ts +67 -68
  368. package/types/modules/syntax.d.ts +12 -13
  369. package/types/modules/table-up/index.d.ts +32 -33
  370. package/types/modules/toolbar/better-picker.d.ts +13 -14
  371. package/types/modules/toolbar/better-toolbar.d.ts +6 -7
  372. package/types/modules/toolbar/index.d.ts +3 -3
  373. package/types/modules/toolbar/toolbar-tip.d.ts +7 -8
  374. package/types/themes/snow.d.ts +9 -10
  375. package/types/tools/format-painter.d.ts +12 -13
  376. package/types/tools/fullscreen.d.ts +4 -5
  377. package/types/tools/screenshot.d.ts +17 -18
  378. package/types/ui/icons.config.d.ts +40 -38
  379. package/types/ui/icons.d.ts +6 -6
  380. package/types/utils/debounce.d.ts +6 -6
  381. package/types/utils/image.d.ts +1 -1
  382. package/types/utils/is.d.ts +6 -6
  383. package/types/utils/merge.d.ts +7 -0
  384. package/types/utils/method.d.ts +6 -6
  385. package/types/utils/scroll-lock.d.ts +6 -6
@@ -1,19 +1,18 @@
1
1
  import { default as TypeEmbed } from 'quill/blots/embed';
2
-
3
- declare const Embed: typeof TypeEmbed;
4
- export interface FileValue {
5
- size: number;
6
- src: string;
7
- title: string;
8
- }
9
- export declare class File extends Embed {
10
- static blotName: string;
11
- static tagName: string;
12
- static className: string;
13
- static PROTOCOL_WHITELIST: string[];
14
- static create(value: FileValue): HTMLAnchorElement;
15
- static value(domNode: HTMLAnchorElement): Record<string, string>;
16
- static getFormats(domNode: HTMLAnchorElement): Record<string, string>;
17
- static sanitize(url: string): string;
18
- }
19
- export {};
2
+ declare const Embed: typeof TypeEmbed;
3
+ export interface FileValue {
4
+ size: number;
5
+ src: string;
6
+ title: string;
7
+ }
8
+ export declare class File extends Embed {
9
+ static blotName: string;
10
+ static tagName: string;
11
+ static className: string;
12
+ static PROTOCOL_WHITELIST: string[];
13
+ static create(value: FileValue): HTMLAnchorElement;
14
+ static value(domNode: HTMLAnchorElement): Record<string, string>;
15
+ static getFormats(domNode: HTMLAnchorElement): Record<string, string>;
16
+ static sanitize(url: string): string;
17
+ }
18
+ export {};
@@ -1,3 +1,3 @@
1
- export * from './formats/file';
2
- export * from './modules/file-bar';
3
- export * from './modules/file-module';
1
+ export * from './formats/file';
2
+ export * from './modules/file-bar';
3
+ export * from './modules/file-module';
@@ -1,14 +1,14 @@
1
- export declare class FileBar {
2
- quill: any;
3
- file: any;
4
- domNode: HTMLElement;
5
- fileRange: any;
6
- template: string;
7
- constructor(quill: any, target: any);
8
- createFileBar(): void;
9
- destroy(): void;
10
- operateFile(event: any, operate: any): void;
11
- setPosition(): void;
12
- css(domNode: any, rules: any): void;
13
- formatDate(timestamp: any): string;
14
- }
1
+ export declare class FileBar {
2
+ quill: any;
3
+ file: any;
4
+ domNode: HTMLElement;
5
+ fileRange: any;
6
+ template: string;
7
+ constructor(quill: any, target: any);
8
+ createFileBar(): void;
9
+ destroy(): void;
10
+ operateFile(event: any, operate: any): void;
11
+ setPosition(): void;
12
+ css(domNode: any, rules: any): void;
13
+ formatDate(timestamp: any): string;
14
+ }
@@ -1,10 +1,9 @@
1
1
  import { default as FluentEditor } from '../../../core/fluent-editor';
2
2
  import { FileBar } from './file-bar';
3
-
4
- export declare class FileModule {
5
- quill: FluentEditor;
6
- fileBar: FileBar;
7
- static register(): void;
8
- constructor(quill: FluentEditor);
9
- clickEvent(event: MouseEvent): void;
10
- }
3
+ export declare class FileModule {
4
+ quill: FluentEditor;
5
+ fileBar: FileBar;
6
+ static register(): void;
7
+ constructor(quill: FluentEditor);
8
+ clickEvent(event: MouseEvent): void;
9
+ }
@@ -0,0 +1,10 @@
1
+ import { default as Quill } from 'quill';
2
+ export declare function getGridConfig(quill: Quill | null): any;
3
+ export declare function getBackgroundConfig(quill: Quill | null): false | object;
4
+ export declare function getResizeConfig(quill: Quill | null): boolean;
5
+ export declare function getAllConfigs(quill: Quill | null): {
6
+ gridConfig: any;
7
+ backgroundConfig: false | object;
8
+ resizeConfig: boolean;
9
+ deps?: any;
10
+ };
@@ -0,0 +1,43 @@
1
+ import { Root } from 'parchment';
2
+ import { BlockEmbed as TypeBlockEmbed } from 'quill/blots/block';
3
+ import { default as Quill } from 'quill';
4
+ declare const BlockEmbed: typeof TypeBlockEmbed;
5
+ declare class FlowChartPlaceholderBlot extends BlockEmbed {
6
+ static blotName: string;
7
+ static tagName: string;
8
+ static className: string;
9
+ quill: Quill | null;
10
+ flowChart: any | null;
11
+ data: any;
12
+ contextMenu: HTMLElement | null;
13
+ currentElement: any;
14
+ width: number;
15
+ height: number;
16
+ parentObserver: MutationObserver | null;
17
+ nextPObserver: MutationObserver | null;
18
+ constructor(scroll: Root, domNode: HTMLElement);
19
+ static value(domNode: HTMLElement): any;
20
+ static create(value: any): HTMLElement;
21
+ private static findQuill;
22
+ attach(): void;
23
+ initFlowChart(): void;
24
+ insertFlowChartEditor(): void;
25
+ addMouseHoverEvents(): void;
26
+ getControlElements(): {
27
+ leftUpControl: HTMLElement | null;
28
+ control: HTMLElement | null;
29
+ panelStatusIcon: HTMLElement | null;
30
+ };
31
+ showControlPanel(): void;
32
+ hideControlPanel(): void;
33
+ observeOwnParentChange(): void;
34
+ observeParentAlignment(): void;
35
+ updateAlignmentStyle(): void;
36
+ observeNextPElement(): void;
37
+ handleNodeDblClick(event: any): void;
38
+ createEditInput(nodeData: any, position: any, e: any): void;
39
+ updateText(nodeId: string, text: string): void;
40
+ destroyFlowChart(): void;
41
+ remove(): void;
42
+ }
43
+ export default FlowChartPlaceholderBlot;
@@ -0,0 +1,26 @@
1
+ export declare const FLOW_CHART_EN_US: {
2
+ 'flowChart.controlPanel.export': string;
3
+ 'flowChart.controlPanel.import': string;
4
+ 'flowChart.controlPanel.setEdgeTypeTitle': string;
5
+ 'flowChart.dndPanel.selection': string;
6
+ 'flowChart.dndPanel.rectangle': string;
7
+ 'flowChart.dndPanel.circle': string;
8
+ 'flowChart.dndPanel.ellipse': string;
9
+ 'flowChart.dndPanel.diamond': string;
10
+ 'flowChart.controlPanel.zoomOut': string;
11
+ 'flowChart.controlPanel.zoomIn': string;
12
+ 'flowChart.controlPanel.fit': string;
13
+ 'flowChart.controlPanel.back': string;
14
+ 'flowChart.controlPanel.forward': string;
15
+ 'flowChart.controlPanel.zoomOutTitle': string;
16
+ 'flowChart.controlPanel.zoomInTitle': string;
17
+ 'flowChart.controlPanel.fitTitle': string;
18
+ 'flowChart.controlPanel.backTitle': string;
19
+ 'flowChart.controlPanel.forwardTitle': string;
20
+ 'flowChart.contextMenu.copy': string;
21
+ 'flowChart.contextMenu.deleteContent': string;
22
+ 'flowChart.contextMenu.deleteNode': string;
23
+ 'flowChart.contextMenu.deleteEdge': string;
24
+ 'flowChart.controlPanel.panelStatusTitle': string;
25
+ 'flowChart.controlPanel.screenTypeTitle': string;
26
+ };
@@ -0,0 +1 @@
1
+ export declare function registerFlowChartI18N(I18N: any): void;
@@ -0,0 +1,26 @@
1
+ export declare const FLOW_CHART_ZH_CN: {
2
+ 'flowChart.controlPanel.export': string;
3
+ 'flowChart.controlPanel.import': string;
4
+ 'flowChart.controlPanel.setEdgeTypeTitle': string;
5
+ 'flowChart.dndPanel.selection': string;
6
+ 'flowChart.dndPanel.rectangle': string;
7
+ 'flowChart.dndPanel.circle': string;
8
+ 'flowChart.dndPanel.ellipse': string;
9
+ 'flowChart.dndPanel.diamond': string;
10
+ 'flowChart.controlPanel.zoomOut': string;
11
+ 'flowChart.controlPanel.zoomIn': string;
12
+ 'flowChart.controlPanel.fit': string;
13
+ 'flowChart.controlPanel.back': string;
14
+ 'flowChart.controlPanel.forward': string;
15
+ 'flowChart.controlPanel.zoomOutTitle': string;
16
+ 'flowChart.controlPanel.zoomInTitle': string;
17
+ 'flowChart.controlPanel.fitTitle': string;
18
+ 'flowChart.controlPanel.backTitle': string;
19
+ 'flowChart.controlPanel.forwardTitle': string;
20
+ 'flowChart.contextMenu.copy': string;
21
+ 'flowChart.contextMenu.deleteContent': string;
22
+ 'flowChart.contextMenu.deleteNode': string;
23
+ 'flowChart.contextMenu.deleteEdge': string;
24
+ 'flowChart.controlPanel.panelStatusTitle': string;
25
+ 'flowChart.controlPanel.screenTypeTitle': string;
26
+ };
@@ -0,0 +1,12 @@
1
+ export declare const backIcon = "<svg t=\"1761403103969\" class=\"icon\" viewBox=\"0 0 1024 1024\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" p-id=\"4781\" width=\"20\" height=\"20\"><path d=\"M995.648 459.296C684.448 281.568 406.08 318.656 171.232 567.904L32 416v384h352l-160.736-175.328c211.168-227.072 452.192-259.776 734.304-98.688a38.4 38.4 0 0 0 38.08-66.688z\" p-id=\"4782\" fill=\"#2c2c2c\" data-spm-anchor-id=\"a313x.collections_detail.0.i0.26dd3a81klL5t6\" class=\"selected\"></path></svg>";
2
+ export declare const forwardIcon = "<svg t=\"1761403135994\" class=\"icon\" viewBox=\"0 0 1024 1024\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" p-id=\"5138\" width=\"20\" height=\"20\"><path d=\"M860.992 558.912C627.904 317.536 352.384 283.648 44.8 459.296a38.4 38.4 0 1 0 38.08 66.688c278.432-159.008 516.896-129.408 726.08 89.696L640 800h352V416l-131.008 142.912z\" p-id=\"5139\"></path></svg>";
3
+ export declare const zoomOutIcon = "<svg t=\"1761403245796\" class=\"icon\" viewBox=\"0 0 1024 1024\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" p-id=\"8340\" width=\"20\" height=\"20\"><path d=\"M170.666667 469.333333h682.666666v85.333334H170.666667z\" fill=\"#2c2c2c\" p-id=\"8341\" data-spm-anchor-id=\"a313x.collections_detail.0.i0.466d3a81c91yTh\" class=\"selected\"></path></svg>";
4
+ export declare const zoomInIcon = "<svg t=\"1761403317929\" class=\"icon\" viewBox=\"0 0 1024 1024\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" p-id=\"8601\" width=\"20\" height=\"20\"><path d=\"M469.333333 469.333333V170.666667h85.333334v298.666666h298.666666v85.333334h-298.666666v298.666666h-85.333334v-298.666666H170.666667v-85.333334h298.666666z\" fill=\"#2c2c2c\" p-id=\"8602\" data-spm-anchor-id=\"a313x.collections_detail.0.i3.466d3a81c91yTh\" class=\"selected\"></path></svg>";
5
+ export declare const fitIcon = "<svg t=\"1761403396579\" class=\"icon\" viewBox=\"0 0 1024 1024\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" p-id=\"5306\" width=\"20\" height=\"20\"><path d=\"M921.6 64c20.48 0 38.4 17.92 38.4 38.4v819.2c0 20.48-17.92 38.4-38.4 38.4H102.4c-20.48 0-38.4-17.92-38.4-38.4V102.4c0-20.48 17.92-38.4 38.4-38.4h819.2z m-38.4 76.8H140.8v742.4h742.4V140.8z m-640 478.72c17.92 0 33.28 15.36 33.28 33.28v94.72H371.2c17.92 0 33.28 15.36 33.28 33.28s-15.36 33.28-33.28 33.28h-128a33.92 33.92 0 0 1-33.28-33.28v-128c0-17.92 15.36-33.28 33.28-33.28z m537.6 0c17.92 0 33.28 15.36 33.28 33.28v128c0 17.92-15.36 33.28-33.28 33.28h-128a33.92 33.92 0 0 1-33.28-33.28c0-17.92 15.36-33.28 33.28-33.28h94.72V652.8c0-17.92 15.36-33.28 33.28-33.28z m0-409.6c17.92 0 33.28 15.36 33.28 33.28v128c0 17.92-15.36 33.28-33.28 33.28a33.92 33.92 0 0 1-33.28-33.28V276.48H652.8a33.92 33.92 0 0 1-33.28-33.28c0-17.92 15.36-33.28 33.28-33.28h128z m-409.6 0c17.92 0 33.28 15.36 33.28 33.28s-15.36 33.28-33.28 33.28H276.48V371.2c0 17.92-15.36 33.28-33.28 33.28a33.92 33.92 0 0 1-33.28-33.28v-128c0-17.92 15.36-33.28 33.28-33.28h128z\" fill=\"#2c2c2c\" p-id=\"5307\" data-spm-anchor-id=\"a313x.search_index.0.i0.4ac53a81alttUW\" class=\"selected\"></path></svg>";
6
+ export declare const screenTypeIcon = "<svg t=\"1761452295156\" class=\"icon\" viewBox=\"0 0 1026 1024\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" p-id=\"1999\" width=\"20\" height=\"20\"><path d=\"M163.2 94.08a48 48 0 0 0-67.84 0 48 48 0 0 0 0 67.84l67.84-67.84z m145.28 279.04a48 48 0 0 0 67.84 0 48 48 0 0 0 0-67.84L308.48 373.12z m-213.12-211.2l213.12 211.2 67.84-67.84-213.12-211.2-67.84 67.84zM95.36 859.52a48 48 0 0 0 67.84 68.48l-67.84-68.48z m280.96-142.72a48 48 0 0 0-67.84-68.48l67.84 68.48z m-213.12 211.2l213.12-211.2-67.84-68.48-213.12 211.2 67.84 68.48zM863.36 928a48 48 0 0 0 67.84-67.84l-67.84 67.84z m-143.36-279.04a47.36 47.36 0 0 0-67.84 0 48 48 0 0 0 0 67.84l67.84-67.84z m211.2 211.2l-211.2-211.2-67.84 67.84 211.2 211.2 67.84-67.84zM929.28 161.92a48 48 0 0 0 0-67.84 49.28 49.28 0 0 0-68.48 0l68.48 67.84z m-279.68 143.36a48 48 0 0 0 0 67.84 49.28 49.28 0 0 0 68.48 0l-68.48-67.84z m211.2-211.2l-211.2 211.2 68.48 67.84 211.2-211.2-68.48-67.84z\" fill=\"#2c2c2c\" p-id=\"2000\" data-spm-anchor-id=\"a313x.collections_detail.0.i1.6af43a81bnfxmJ\" class=\"selected\"></path><path d=\"M704 80a48 48 0 0 0 0 96v-96zM896 128h48a48.64 48.64 0 0 0-48-48V128z m-48 192a48 48 0 0 0 96 0zM704 176h192v-96h-192v96zM849.28 128v192h96V128zM945.28 704a48 48 0 0 0-96 0zM896 896v48a48.64 48.64 0 0 0 48-48z m-192-48a48 48 0 0 0 0 96v-96zM849.28 704v192h96v-192z m46.72 144h-192v96h192v-96zM320 944a48 48 0 0 0 0-96v96zM128 896h-46.72a48 48 0 0 0 48 48V896z m48-192a48 48 0 0 0-96 0zM320 848H128v96h192v-96zM177.28 896v-192h-96v192zM81.28 320a48 48 0 0 0 96 0zM128 128v-48a48 48 0 0 0-46.72 48z m192 48a48 48 0 0 0 0-96v96zM177.28 320V128h-96v192zM128 176h192v-96H128v96z\" fill=\"#2c2c2c\" p-id=\"2001\" data-spm-anchor-id=\"a313x.collections_detail.0.i0.6af43a81bnfxmJ\" class=\"selected\"></path></svg>";
7
+ export declare const screenReduceIcon = "<svg t=\"1761452375205\" class=\"icon\" viewBox=\"0 0 1026 1024\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" p-id=\"2267\" data-spm-anchor-id=\"a313x.collections_detail.0.i9.6af43a81bnfxmJ\" width=\"20\" height=\"20\"><path d=\"M308.48 373.12a48 48 0 0 0 67.84 0 48 48 0 0 0 0-67.84L308.48 373.12zM163.2 94.08a48 48 0 0 0-67.84 0 48 48 0 0 0 0 67.84l67.84-67.84z m213.12 211.2l-213.12-211.2-67.84 67.84 213.12 211.2 67.84-67.84zM720 650.88a48 48 0 1 0-67.84 67.84l67.84-67.84z m143.36 279.04a48 48 0 0 0 67.84-67.84l-67.84 67.84z m-211.2-211.2l211.2 211.2 67.84-67.84-211.2-211.2-67.84 67.84zM652.16 305.28a48 48 0 1 0 67.84 67.84l-67.84-67.84z m279.04-143.36a48 48 0 0 0-67.84-67.84l67.84 67.84z m-211.2 211.2l211.2-211.2-67.84-67.84-211.2 211.2 67.84 67.84z\" fill=\"#2c2c2c\" p-id=\"2268\" data-spm-anchor-id=\"a313x.collections_detail.0.i4.6af43a81bnfxmJ\" class=\"selected\"></path><path d=\"M875.52 387.2a48 48 0 0 0 0-96v96z m-192-48h-48a48.64 48.64 0 0 0 48 48V339.2z m48-192a48 48 0 1 0-96 0z m144 144h-192v96h192v-96z m-144 48v-192h-96v192zM640 874.88a48 48 0 0 0 96 0z m48-192v-48a47.36 47.36 0 0 0-48 48z m192 48a48 48 0 0 0 0-96v96z m-144 144v-192H640v192z m-48-144h192v-96h-192v96zM376.32 718.72a48 48 0 0 0 0-67.84 48 48 0 0 0-67.84 0l67.84 67.84z m-280.96 143.36a48 48 0 0 0 0 67.84 48 48 0 0 0 67.84 0l-67.84-67.84z m213.12-211.2l-213.12 211.2 67.84 67.84 213.12-211.2-67.84-67.84zM150.4 634.88a48 48 0 1 0 0 96v-96z\" fill=\"#2c2c2c\" p-id=\"2269\" data-spm-anchor-id=\"a313x.collections_detail.0.i5.6af43a81bnfxmJ\" class=\"selected\"></path><path d=\"M342.4 682.88h48a47.36 47.36 0 0 0-48-48v48zM294.4 874.88a48 48 0 0 0 96 0zM150.4 730.88h192v-96h-192v96z\" fill=\"#2c2c2c\" p-id=\"2270\" data-spm-anchor-id=\"a313x.collections_detail.0.i8.6af43a81bnfxmJ\" class=\"selected\"></path><path d=\"M294.4 682.88v192h96v-192H294.4zM390.4 147.2a48 48 0 0 0-96 0z m-48 192v48a48 48 0 0 0 48-48z m-192-48a48 48 0 0 0 0 96v-96zM294.4 147.2v192h96v-192z m48 144h-192v96h192v-96z\" fill=\"#2c2c2c\" p-id=\"2271\" data-spm-anchor-id=\"a313x.collections_detail.0.i6.6af43a81bnfxmJ\" class=\"selected\"></path></svg>";
8
+ export declare const contractIcon = "<svg t=\"1761655211386\" class=\"icon\" viewBox=\"0 0 1024 1024\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" p-id=\"1193\" width=\"20\" height=\"20\"><path d=\"M325.504 148.992a32.256 32.256 0 0 0-8.96 22.016 28.8 28.8 0 0 0 8.96 20.992L637.44 512l-312 320a28.8 28.8 0 0 0 0 41.984 28.8 28.8 0 0 0 20.992 8.96 30.592 30.592 0 0 0 20.992-7.936l331.008-340.992a29.952 29.952 0 0 0 8.96-22.016 29.952 29.952 0 0 0-8.96-22.016L367.488 148.992a30.592 30.592 0 0 0-20.992-8 30.592 30.592 0 0 0-20.992 8z\" fill=\"#2c2c2c\" p-id=\"1194\" data-spm-anchor-id=\"a313x.manage_type_mylikes.0.i5.38213a81adgpe6\" class=\"selected\"></path></svg>";
9
+ export declare const expandIcon = "<svg t=\"1761655175337\" class=\"icon\" viewBox=\"0 0 1024 1024\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" p-id=\"972\" data-spm-anchor-id=\"a313x.manage_type_mylikes.0.i0.38213a81adgpe6\" width=\"20\" height=\"20\"><path d=\"M656.512 148.992L325.504 489.984a29.376 29.376 0 0 0-8.96 21.504c0 8.32 2.944 15.808 8.96 22.464l331.008 341.056a30.592 30.592 0 0 0 20.992 7.936 28.8 28.8 0 0 0 20.992-8.96 28.8 28.8 0 0 0 8.96-20.992 28.8 28.8 0 0 0-8.96-20.992L386.496 512l312-320a28.8 28.8 0 0 0 8.96-20.992 28.8 28.8 0 0 0-8.96-20.992 28.8 28.8 0 0 0-20.992-8.96 30.592 30.592 0 0 0-20.992 7.936z\" fill=\"#2c2c2c\" p-id=\"973\" data-spm-anchor-id=\"a313x.manage_type_mylikes.0.i1.38213a81adgpe6\" class=\"selected\"></path></svg>";
10
+ export declare const polyLineIcon = "<svg t=\"1761572159464\" class=\"icon\" viewBox=\"0 0 1536 1024\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" p-id=\"8186\" width=\"20\" height=\"20\"><path d=\"M1536 998.4H593.92v-921.6H0v-51.2h645.12v921.6H1536z\" p-id=\"8187\" fill=\"#2c2c2c\" data-spm-anchor-id=\"a313x.search_index.0.i0.2bc03a810V44kl\" class=\"selected\"></path></svg>";
11
+ export declare const bezierIcon = "<svg t=\"1761570981381\" class=\"icon\" viewBox=\"0 0 1024 1024\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" p-id=\"2048\" data-spm-anchor-id=\"a313x.collections_detail.0.i0.189b3a81Nmah5F\" width=\"20\" height=\"20\"><path d=\"M310.1 863.9c-124 0-218-4.2-219.3-4.3-12.7-0.6-22.5-11.3-21.9-24 0.6-12.7 11.5-22.6 24-21.9 193.3 8.8 714.8 12.7 805.6-74.1 8.5-8.1 9.5-14.1 9.5-18 0-15-16.7-48.1-128.7-101.8C696.2 580.2 586.1 541 479.6 503 241.6 418 107 366.7 107 300.4c0-43.3 43.6-96.5 383.5-123.4 180-14.3 362.3-14.4 364.1-14.4 12.7 0 22.9 10.3 22.9 22.9s-10.3 22.9-22.9 22.9c-1.8 0-182.5 0.2-360.7 14.3-337.1 26.8-341 77.2-341 77.7 0 0.9 1.1 21.4 96 64.9 65.3 29.9 153.2 61.3 246.2 94.5 277.1 98.9 458.8 170.6 458.8 262.1 0 18.9-8 36.1-23.7 51.1-53.8 51.4-207.7 80.4-470.5 88.7-52 1.6-102.9 2.2-149.6 2.2z\" fill=\"#2c2c2c\" p-id=\"2049\" data-spm-anchor-id=\"a313x.collections_detail.0.i1.189b3a81Nmah5F\" class=\"selected\"></path></svg>";
12
+ export declare const lineIcon = "<svg t=\"1761571015001\" class=\"icon\" viewBox=\"0 0 1024 1024\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" p-id=\"2261\" width=\"20\" height=\"20\"><path d=\"M89.4 959c-5.9 0-11.8-2.3-16.3-6.8-9-9-9-23.7 0-32.7L918.3 74.2c9-9 23.7-9 32.7 0 9 9 9 23.7 0 32.7L105.7 952.2c-4.5 4.5-10.4 6.8-16.3 6.8z\" fill=\"#2c2c2c\" p-id=\"2262\" data-spm-anchor-id=\"a313x.collections_detail.0.i6.189b3a81Nmah5F\" class=\"selected\"></path></svg>";
@@ -0,0 +1,10 @@
1
+ import { default as Quill } from 'quill';
2
+ import { FlowChartOptions } from './options';
3
+ export declare class FlowChartModule {
4
+ quill: Quill;
5
+ toolbar: any;
6
+ options: FlowChartOptions;
7
+ static register(): void;
8
+ constructor(quill: Quill, options: any);
9
+ insertFlowChartEditor(): void;
10
+ }
@@ -0,0 +1,3 @@
1
+ import { default as FluentEditor } from '../../../core/fluent-editor';
2
+ import { default as FlowChartPlaceholderBlot } from '../formats/flow-chart-blot';
3
+ export declare function initContextMenu(blot: FlowChartPlaceholderBlot, quill: FluentEditor): void;
@@ -0,0 +1,3 @@
1
+ import { default as FluentEditor } from '../../../core/fluent-editor';
2
+ import { default as FlowChartPlaceholderBlot } from '../formats/flow-chart-blot';
3
+ export declare function createControlPanel(blot: FlowChartPlaceholderBlot, quill: FluentEditor): void;
@@ -0,0 +1,22 @@
1
+ export declare class FlowChartResizeAction {
2
+ topLeftHandle: HTMLElement;
3
+ topRightHandle: HTMLElement;
4
+ bottomRightHandle: HTMLElement;
5
+ bottomLeftHandle: HTMLElement;
6
+ dragHandle: HTMLElement | null;
7
+ dragStartX: number;
8
+ dragStartY: number;
9
+ preDragWidth: number;
10
+ preDragHeight: number;
11
+ targetRatio: number;
12
+ blot: any;
13
+ constructor(blot: any);
14
+ isFullscreen(): boolean;
15
+ init(): void;
16
+ createHandle(position: string, cursor: string): HTMLElement;
17
+ repositionHandles(): void;
18
+ onMouseDown(event: MouseEvent): void;
19
+ onDrag(event: MouseEvent): void;
20
+ onMouseUp(): void;
21
+ destroy(): void;
22
+ }
@@ -0,0 +1,29 @@
1
+ export interface GridOptions {
2
+ size?: number;
3
+ visible?: boolean;
4
+ type?: 'dot' | 'mesh';
5
+ config?: {
6
+ color: string;
7
+ thickness?: number;
8
+ };
9
+ }
10
+ export interface BackgroundConfig {
11
+ color?: string;
12
+ image?: string;
13
+ repeat?: 'repeat' | 'repeat-x' | 'repeat-y' | 'no-repeat';
14
+ position?: string;
15
+ size?: string;
16
+ opacity?: number;
17
+ }
18
+ export interface FlowChartDeps {
19
+ LogicFlow: any;
20
+ DndPanel: any;
21
+ SelectionSelect: any;
22
+ Snapshot: any;
23
+ }
24
+ export interface FlowChartOptions {
25
+ grid?: boolean | GridOptions;
26
+ background?: boolean | BackgroundConfig;
27
+ resize?: boolean;
28
+ deps: FlowChartDeps;
29
+ }
@@ -1,15 +1,14 @@
1
1
  import { default as FluentEditor } from '../fluent-editor';
2
-
3
- export interface I18NOptions {
4
- lang: string;
5
- }
6
- export declare class I18N {
7
- quill: FluentEditor;
8
- static register(inputLangs: Record<string, Record<string, string>>, isCover?: boolean): void;
9
- static parserText(text: string, lang: string): string;
10
- options: I18NOptions;
11
- constructor(quill: FluentEditor, options: Partial<I18NOptions>);
12
- resolveLanguageOption(options: Partial<I18NOptions>): I18NOptions;
13
- changeLanguage(options: Partial<I18NOptions>, force?: boolean): void;
14
- }
15
- export default I18N;
2
+ export interface I18NOptions {
3
+ lang: string;
4
+ }
5
+ export declare class I18N {
6
+ quill: FluentEditor;
7
+ static register(inputLangs: Record<string, Record<string, string>>, isCover?: boolean): void;
8
+ static parserText(text: string, lang: string): string;
9
+ options: I18NOptions;
10
+ constructor(quill: FluentEditor, options: Partial<I18NOptions>);
11
+ resolveLanguageOption(options: Partial<I18NOptions>): I18NOptions;
12
+ changeLanguage(options: Partial<I18NOptions>, force?: boolean): void;
13
+ }
14
+ export default I18N;
@@ -1,16 +1,18 @@
1
- export * from './collaborative-editing';
2
- export * from './counter';
3
- export * from './custom-clipboard';
4
- export * from './custom-image';
5
- export * from './custom-uploader';
6
- export * from './divider';
7
- export * from './emoji';
8
- export * from './file';
9
- export * from './i18n';
10
- export * from './link';
11
- export * from './mathlive';
12
- export * from './mention';
13
- export * from './shortcut-key';
14
- export * from './syntax';
15
- export * from './table-up';
16
- export * from './toolbar';
1
+ export * from './collaborative-editing';
2
+ export * from './counter';
3
+ export * from './custom-clipboard';
4
+ export * from './custom-image';
5
+ export * from './custom-uploader';
6
+ export * from './divider';
7
+ export * from './emoji';
8
+ export * from './file';
9
+ export * from './flow-chart';
10
+ export * from './i18n';
11
+ export * from './link';
12
+ export * from './mathlive';
13
+ export * from './mention';
14
+ export * from './mind-map';
15
+ export * from './shortcut-key';
16
+ export * from './syntax';
17
+ export * from './table-up';
18
+ export * from './toolbar';
@@ -1,16 +1,15 @@
1
1
  import { default as TypeInline } from 'quill/blots/inline';
2
-
3
- declare const Inline: typeof TypeInline;
4
- export declare class LinkBlot extends Inline {
5
- static blotName: string;
6
- static tagName: string;
7
- static SANITIZED_URL: string;
8
- static PROTOCOL_WHITELIST: string[];
9
- static className: string;
10
- static autoProtocol: string;
11
- static create(value: string): HTMLElement;
12
- static formats(domNode: HTMLElement): string | null;
13
- static sanitize(url: string): string;
14
- format(name: string, value: any): void;
15
- }
16
- export {};
2
+ declare const Inline: typeof TypeInline;
3
+ export declare class LinkBlot extends Inline {
4
+ static blotName: string;
5
+ static tagName: string;
6
+ static SANITIZED_URL: string;
7
+ static PROTOCOL_WHITELIST: string[];
8
+ static className: string;
9
+ static autoProtocol: string;
10
+ static create(value: string): HTMLElement;
11
+ static formats(domNode: HTMLElement): string | null;
12
+ static sanitize(url: string): string;
13
+ format(name: string, value: any): void;
14
+ }
15
+ export {};
@@ -1,2 +1,2 @@
1
- export * from './formats/link';
2
- export * from './modules/tooltip';
1
+ export * from './formats/link';
2
+ export * from './modules/tooltip';
@@ -1,28 +1,27 @@
1
1
  import { default as FluentEditor } from '../../../core/fluent-editor';
2
2
  import { BaseTooltip } from 'quill/themes/base';
3
-
4
- export declare class LinkTooltip extends BaseTooltip {
5
- quill: FluentEditor;
6
- static TEMPLATE: string;
7
- isInputFocus: boolean;
8
- isHover: boolean;
9
- debouncedHideToolTip: any;
10
- debouncedShowToolTip: any;
11
- options: {
12
- autoProtocol: string;
13
- };
14
- constructor(quill: FluentEditor, bounds: any);
15
- setTemplate(): void;
16
- resolveOptions(): void;
17
- shouldHide(): boolean;
18
- hideToolTip(): void;
19
- showToolTip(name: any, value: any, range: any): void;
20
- handleMouseLeave(): void;
21
- handleMouseEnter(event: MouseEvent): void;
22
- listen(): void;
23
- save(): void;
24
- position(reference: any): number;
25
- edit(mode: string, preview: any, range: any): void;
26
- show(): void;
27
- addHttpProtocol(url: string): string;
28
- }
3
+ export declare class LinkTooltip extends BaseTooltip {
4
+ quill: FluentEditor;
5
+ static TEMPLATE: string;
6
+ isInputFocus: boolean;
7
+ isHover: boolean;
8
+ debouncedHideToolTip: any;
9
+ debouncedShowToolTip: any;
10
+ options: {
11
+ autoProtocol: string;
12
+ };
13
+ constructor(quill: FluentEditor, bounds: any);
14
+ setTemplate(): void;
15
+ resolveOptions(): void;
16
+ shouldHide(): boolean;
17
+ hideToolTip(): void;
18
+ showToolTip(name: any, value: any, range: any): void;
19
+ handleMouseLeave(): void;
20
+ handleMouseEnter(event: MouseEvent): void;
21
+ listen(): void;
22
+ save(): void;
23
+ position(reference: any): number;
24
+ edit(mode: string, preview: any, range: any): void;
25
+ show(): void;
26
+ addHttpProtocol(url: string): string;
27
+ }
@@ -1,23 +1,22 @@
1
1
  import { MathfieldElement } from 'mathlive';
2
2
  import { Root } from 'parchment';
3
-
4
- declare const Parchment: typeof import("parchment");
5
- export type MathliveBlotMode = 'dialog' | 'only-read';
6
- export declare class MathliveBlot extends Parchment.EmbedBlot {
7
- domNode: MathfieldElement;
8
- static blotName: string;
9
- static tagName: string;
10
- static className: string;
11
- mode: MathliveBlotMode;
12
- static create(obj: {
13
- value: string;
14
- mode: MathliveBlotMode;
15
- }): MathfieldElement;
16
- static value(domNode: MathfieldElement): {
17
- value: string;
18
- mode: string;
19
- };
20
- constructor(scroll: Root, domNode: MathfieldElement);
21
- html(): string;
22
- }
23
- export {};
3
+ declare const Parchment: typeof import("parchment");
4
+ export type MathliveBlotMode = 'dialog' | 'only-read';
5
+ export declare class MathliveBlot extends Parchment.EmbedBlot {
6
+ domNode: MathfieldElement;
7
+ static blotName: string;
8
+ static tagName: string;
9
+ static className: string;
10
+ mode: MathliveBlotMode;
11
+ static create(obj: {
12
+ value: string;
13
+ mode: MathliveBlotMode;
14
+ }): MathfieldElement;
15
+ static value(domNode: MathfieldElement): {
16
+ value: string;
17
+ mode: string;
18
+ };
19
+ constructor(scroll: Root, domNode: MathfieldElement);
20
+ html(): string;
21
+ }
22
+ export {};
@@ -1,3 +1,3 @@
1
- export * from './formats';
2
- export * from './module';
3
- export * from './tooltip';
1
+ export * from './formats';
2
+ export * from './module';
3
+ export * from './tooltip';
@@ -1,10 +1,9 @@
1
1
  import { default as Quill } from 'quill';
2
2
  import { MathliveTooltip } from './tooltip';
3
-
4
- export declare class MathliveModule {
5
- quill: Quill;
6
- tooltip: MathliveTooltip;
7
- static register(): void;
8
- constructor(quill: Quill);
9
- createDialog(value?: string): void;
10
- }
3
+ export declare class MathliveModule {
4
+ quill: Quill;
5
+ tooltip: MathliveTooltip;
6
+ static register(): void;
7
+ constructor(quill: Quill);
8
+ createDialog(value?: string): void;
9
+ }
@@ -2,18 +2,17 @@ import { MathfieldElement } from 'mathlive';
2
2
  import { Bounds } from 'quill/core/selection';
3
3
  import { default as TypeTooltip } from 'quill/ui/tooltip';
4
4
  import { default as Quill } from 'quill';
5
-
6
- declare const Tooltip: typeof TypeTooltip;
7
- export declare class MathliveTooltip extends Tooltip {
8
- static TEMPLATE: string;
9
- mathliveDom: MathfieldElement;
10
- editValue?: string;
11
- constructor(quill: Quill, boundsContainer?: HTMLElement);
12
- listen(): void;
13
- cancel(): void;
14
- edit(value?: string): void;
15
- restoreFocus(): void;
16
- save(): void;
17
- position(reference: Bounds): number;
18
- }
19
- export {};
5
+ declare const Tooltip: typeof TypeTooltip;
6
+ export declare class MathliveTooltip extends Tooltip {
7
+ static TEMPLATE: string;
8
+ mathliveDom: MathfieldElement;
9
+ editValue?: string;
10
+ constructor(quill: Quill, boundsContainer?: HTMLElement);
11
+ listen(): void;
12
+ cancel(): void;
13
+ edit(value?: string): void;
14
+ restoreFocus(): void;
15
+ save(): void;
16
+ position(reference: Bounds): number;
17
+ }
18
+ export {};
@@ -1,3 +1,3 @@
1
- export declare const ON_MENTION_LINK_REMOVE = "mention-link/remove";
2
- export declare const MENTION_CHAR = "mentionChar";
3
- export declare const DEFAULT_MENTION_CHAR = "@";
1
+ export declare const ON_MENTION_LINK_REMOVE = "mention-link/remove";
2
+ export declare const MENTION_CHAR = "mentionChar";
3
+ export declare const DEFAULT_MENTION_CHAR = "@";
@@ -1,2 +1,2 @@
1
- export * from './mention';
2
- export * from './mention-link';
1
+ export * from './mention';
2
+ export * from './mention-link';
@@ -1,17 +1,16 @@
1
1
  import { default as TypeEmbed } from 'quill/blots/embed';
2
2
  import { default as TypeScroll } from 'quill/blots/scroll';
3
-
4
- declare const Embed: typeof TypeEmbed;
5
- export declare class MentionLink extends Embed {
6
- scroll: TypeScroll;
7
- static blotName: string;
8
- static tagName: string;
9
- static className: string;
10
- mentionData: any;
11
- static create(data: any): HTMLElement;
12
- static value(domNode: HTMLElement): Record<string, any>;
13
- constructor(scroll: TypeScroll, domNode: any, data: any);
14
- value(): any;
15
- remove(): void;
16
- }
17
- export {};
3
+ declare const Embed: typeof TypeEmbed;
4
+ export declare class MentionLink extends Embed {
5
+ scroll: TypeScroll;
6
+ static blotName: string;
7
+ static tagName: string;
8
+ static className: string;
9
+ mentionData: any;
10
+ static create(data: any): HTMLElement;
11
+ static value(domNode: HTMLElement): Record<string, any>;
12
+ constructor(scroll: TypeScroll, domNode: any, data: any);
13
+ value(): any;
14
+ remove(): void;
15
+ }
16
+ export {};