@opentiny/fluent-editor 3.25.0-alpha.1 → 3.25.1

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 (559) hide show
  1. package/README.md +105 -103
  2. package/es/attributors/line-height.es.js.map +1 -1
  3. package/es/config/base64-image.es.js +0 -2
  4. package/es/config/base64-image.es.js.map +1 -1
  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.map +1 -1
  8. package/es/config/i18n/zh-cn.es.js.map +1 -1
  9. package/es/config/index.es.js +0 -49
  10. package/es/config/index.es.js.map +1 -1
  11. package/es/core/fluent-editor.es.js +22 -0
  12. package/es/core/fluent-editor.es.js.map +1 -0
  13. package/es/fluent-editor.es.js +58 -196
  14. package/es/fluent-editor.es.js.map +1 -1
  15. package/es/{soft-break/index.es.js → formats/soft-break.es.js} +1 -1
  16. package/es/formats/soft-break.es.js.map +1 -0
  17. package/es/{strike/index.es.js → formats/strike.es.js} +1 -1
  18. package/es/formats/strike.es.js.map +1 -0
  19. package/es/{video/index.es.js → formats/video.es.js} +1 -1
  20. package/es/formats/video.es.js.map +1 -0
  21. package/es/index.es.js +4 -4
  22. package/es/index.es.js.map +1 -1
  23. package/es/{counter/index.es.js → modules/counter.es.js} +1 -1
  24. package/es/modules/counter.es.js.map +1 -0
  25. package/es/{custom-clipboard.es.js → modules/custom-clipboard.es.js} +3 -3
  26. package/es/modules/custom-clipboard.es.js.map +1 -0
  27. package/es/modules/custom-image/BlotFormatter.es.js.map +1 -0
  28. package/es/modules/custom-image/Options.es.js.map +1 -0
  29. package/es/modules/custom-image/actions/Action.es.js.map +1 -0
  30. package/es/modules/custom-image/actions/CustomResizeAction.es.js.map +1 -0
  31. package/es/modules/custom-image/actions/DeleteAction.es.js.map +1 -0
  32. package/es/{custom-image → modules/custom-image}/image.es.js +1 -1
  33. package/es/modules/custom-image/image.es.js.map +1 -0
  34. package/es/modules/custom-image/specs/BlotSpec.es.js.map +1 -0
  35. package/es/{custom-image → modules/custom-image}/specs/CustomImageSpec.es.js +1 -1
  36. package/es/modules/custom-image/specs/CustomImageSpec.es.js.map +1 -0
  37. package/es/modules/custom-image/specs/ImageSpec.es.js.map +1 -0
  38. package/es/{custom-uploader.es.js → modules/custom-uploader.es.js} +2 -2
  39. package/es/modules/custom-uploader.es.js.map +1 -0
  40. package/es/{divider/index.es.js → modules/divider.es.js} +1 -1
  41. package/es/modules/divider.es.js.map +1 -0
  42. package/es/modules/emoji/emoji-list/people.es.js.map +1 -0
  43. package/es/modules/emoji/emoji-list.es.js.map +1 -0
  44. package/es/modules/emoji/emoji-map.es.js.map +1 -0
  45. package/es/modules/emoji/emoji-sprite.es.js +5 -0
  46. package/es/modules/emoji/emoji-sprite.es.js.map +1 -0
  47. package/es/modules/emoji/formats/emoji-blot.es.js.map +1 -0
  48. package/es/modules/emoji/index.es.js.map +1 -0
  49. package/es/modules/emoji/modules/emoji.es.js.map +1 -0
  50. package/es/{emoji → modules/emoji}/modules/toolbar-emoji.es.js +1 -1
  51. package/es/modules/emoji/modules/toolbar-emoji.es.js.map +1 -0
  52. package/es/modules/emoji/utils.es.js.map +1 -0
  53. package/es/{file → modules/file}/formats/file.es.js +1 -1
  54. package/es/modules/file/formats/file.es.js.map +1 -0
  55. package/es/modules/file/index.es.js.map +1 -0
  56. package/es/{file → modules/file}/modules/file-bar.es.js +1 -1
  57. package/es/modules/file/modules/file-bar.es.js.map +1 -0
  58. package/es/modules/global-link/constants.es.js.map +1 -0
  59. package/es/modules/global-link/formats/customer-widget-link.es.js.map +1 -0
  60. package/es/modules/global-link/formats/doc-link.es.js.map +1 -0
  61. package/es/modules/global-link/formats/wiki-link.es.js.map +1 -0
  62. package/es/modules/global-link/formats/work-item-link.es.js.map +1 -0
  63. package/es/{global-link → modules/global-link}/index.es.js +1 -1
  64. package/es/modules/global-link/index.es.js.map +1 -0
  65. package/es/modules/global-link/utils/createTable.es.js.map +1 -0
  66. package/es/{i18n/index.es.js → modules/i18n.es.js} +2 -2
  67. package/es/modules/i18n.es.js.map +1 -0
  68. package/es/{link → modules/link}/formats/link.es.js +1 -1
  69. package/es/modules/link/formats/link.es.js.map +1 -0
  70. package/es/modules/link/index.es.js.map +1 -0
  71. package/es/{link → modules/link}/modules/tooltip.es.js +4 -4
  72. package/es/modules/link/modules/tooltip.es.js.map +1 -0
  73. package/es/modules/mathlive/formats.es.js.map +1 -0
  74. package/es/modules/mathlive/index.es.js.map +1 -0
  75. package/es/modules/mathlive/tooltip.es.js.map +1 -0
  76. package/es/{mention → modules/mention}/Mention.es.js +1 -1
  77. package/es/modules/mention/Mention.es.js.map +1 -0
  78. package/es/modules/mention/MentionLink.es.js.map +1 -0
  79. package/es/modules/mention/constants.es.js.map +1 -0
  80. package/es/{quick-menu/index.es.js → modules/quick-menu.es.js} +1 -1
  81. package/es/modules/quick-menu.es.js.map +1 -0
  82. package/es/{syntax/index.es.js → modules/syntax.es.js} +1 -1
  83. package/es/modules/syntax.es.js.map +1 -0
  84. package/es/{table → modules/table}/better-table.es.js +1 -1
  85. package/es/modules/table/better-table.es.js.map +1 -0
  86. package/es/{table → modules/table}/formats/header.es.js +1 -1
  87. package/es/modules/table/formats/header.es.js.map +1 -0
  88. package/es/modules/table/formats/list.es.js.map +1 -0
  89. package/es/{table → modules/table}/formats/table.es.js +2 -2
  90. package/es/modules/table/formats/table.es.js.map +1 -0
  91. package/es/modules/table/modules/table-column-tool.es.js.map +1 -0
  92. package/es/{table → modules/table}/modules/table-operation-menu.es.js +2 -2
  93. package/es/modules/table/modules/table-operation-menu.es.js.map +1 -0
  94. package/es/modules/table/modules/table-scroll-bar.es.js.map +1 -0
  95. package/es/modules/table/modules/table-selection.es.js.map +1 -0
  96. package/es/modules/table/modules/table-selector.es.js.map +1 -0
  97. package/es/modules/table/table-config.es.js.map +1 -0
  98. package/es/modules/table/utils/index.es.js.map +1 -0
  99. package/es/{table → modules/table}/utils/node-matchers.es.js +1 -1
  100. package/es/modules/table/utils/node-matchers.es.js.map +1 -0
  101. package/es/{toolbar → modules/toolbar}/better-picker.es.js +1 -1
  102. package/es/modules/toolbar/better-picker.es.js.map +1 -0
  103. package/es/{toolbar → modules/toolbar}/index.es.js +1 -1
  104. package/es/modules/toolbar/index.es.js.map +1 -0
  105. package/es/{toolbar → modules/toolbar}/toolbar-tip.es.js +2 -2
  106. package/es/modules/toolbar/toolbar-tip.es.js.map +1 -0
  107. package/es/themes/snow.es.js +119 -0
  108. package/es/themes/snow.es.js.map +1 -0
  109. package/es/{format-painter/index.es.js → tools/format-painter.es.js} +1 -1
  110. package/es/tools/format-painter.es.js.map +1 -0
  111. package/es/{fullscreen/handler.es.js → tools/fullscreen.es.js} +3 -2
  112. package/es/tools/fullscreen.es.js.map +1 -0
  113. package/es/{screenshot/index.es.js → tools/screenshot.es.js} +1 -1
  114. package/es/tools/screenshot.es.js.map +1 -0
  115. package/es/ui/icons.config.es.js.map +1 -0
  116. package/es/ui/icons.es.js +58 -0
  117. package/es/ui/icons.es.js.map +1 -0
  118. package/es/utils/debounce.es.js.map +1 -1
  119. package/es/utils/method.es.js.map +1 -1
  120. package/lib/attributors/line-height.cjs.js.map +1 -1
  121. package/lib/config/base64-image.cjs.js +0 -2
  122. package/lib/config/base64-image.cjs.js.map +1 -1
  123. package/lib/config/editor.config.cjs.js.map +1 -1
  124. package/lib/config/editor.utils.cjs.js.map +1 -1
  125. package/lib/config/i18n/en-us.cjs.js.map +1 -1
  126. package/lib/config/i18n/zh-cn.cjs.js.map +1 -1
  127. package/lib/config/index.cjs.js +0 -49
  128. package/lib/config/index.cjs.js.map +1 -1
  129. package/lib/core/fluent-editor.cjs.js +22 -0
  130. package/lib/core/fluent-editor.cjs.js.map +1 -0
  131. package/lib/fluent-editor.cjs.js +58 -196
  132. package/lib/fluent-editor.cjs.js.map +1 -1
  133. package/lib/{soft-break/index.cjs.js → formats/soft-break.cjs.js} +1 -1
  134. package/lib/formats/soft-break.cjs.js.map +1 -0
  135. package/lib/{strike/index.cjs.js → formats/strike.cjs.js} +1 -1
  136. package/lib/formats/strike.cjs.js.map +1 -0
  137. package/lib/{video/index.cjs.js → formats/video.cjs.js} +1 -1
  138. package/lib/formats/video.cjs.js.map +1 -0
  139. package/lib/index.cjs.js +4 -4
  140. package/lib/{counter/index.cjs.js → modules/counter.cjs.js} +1 -1
  141. package/lib/modules/counter.cjs.js.map +1 -0
  142. package/lib/{custom-clipboard.cjs.js → modules/custom-clipboard.cjs.js} +3 -3
  143. package/lib/modules/custom-clipboard.cjs.js.map +1 -0
  144. package/lib/modules/custom-image/BlotFormatter.cjs.js.map +1 -0
  145. package/lib/modules/custom-image/Options.cjs.js.map +1 -0
  146. package/lib/modules/custom-image/actions/Action.cjs.js.map +1 -0
  147. package/lib/modules/custom-image/actions/CustomResizeAction.cjs.js.map +1 -0
  148. package/lib/modules/custom-image/actions/DeleteAction.cjs.js.map +1 -0
  149. package/lib/{custom-image → modules/custom-image}/image.cjs.js +1 -1
  150. package/lib/modules/custom-image/image.cjs.js.map +1 -0
  151. package/lib/modules/custom-image/specs/BlotSpec.cjs.js.map +1 -0
  152. package/lib/{custom-image → modules/custom-image}/specs/CustomImageSpec.cjs.js +1 -1
  153. package/lib/modules/custom-image/specs/CustomImageSpec.cjs.js.map +1 -0
  154. package/lib/modules/custom-image/specs/ImageSpec.cjs.js.map +1 -0
  155. package/lib/{custom-uploader.cjs.js → modules/custom-uploader.cjs.js} +2 -2
  156. package/lib/modules/custom-uploader.cjs.js.map +1 -0
  157. package/lib/{divider/index.cjs.js → modules/divider.cjs.js} +1 -1
  158. package/lib/modules/divider.cjs.js.map +1 -0
  159. package/lib/modules/emoji/emoji-list/people.cjs.js.map +1 -0
  160. package/lib/modules/emoji/emoji-list.cjs.js.map +1 -0
  161. package/lib/modules/emoji/emoji-map.cjs.js.map +1 -0
  162. package/lib/modules/emoji/emoji-sprite.cjs.js +5 -0
  163. package/lib/modules/emoji/emoji-sprite.cjs.js.map +1 -0
  164. package/lib/modules/emoji/formats/emoji-blot.cjs.js.map +1 -0
  165. package/lib/modules/emoji/index.cjs.js.map +1 -0
  166. package/lib/modules/emoji/modules/emoji.cjs.js.map +1 -0
  167. package/lib/{emoji → modules/emoji}/modules/toolbar-emoji.cjs.js +2 -2
  168. package/lib/modules/emoji/modules/toolbar-emoji.cjs.js.map +1 -0
  169. package/lib/modules/emoji/utils.cjs.js.map +1 -0
  170. package/lib/{file → modules/file}/formats/file.cjs.js +1 -1
  171. package/lib/modules/file/formats/file.cjs.js.map +1 -0
  172. package/lib/modules/file/index.cjs.js.map +1 -0
  173. package/lib/{file → modules/file}/modules/file-bar.cjs.js +1 -1
  174. package/lib/modules/file/modules/file-bar.cjs.js.map +1 -0
  175. package/lib/modules/global-link/constants.cjs.js.map +1 -0
  176. package/lib/modules/global-link/formats/customer-widget-link.cjs.js.map +1 -0
  177. package/lib/modules/global-link/formats/doc-link.cjs.js.map +1 -0
  178. package/lib/modules/global-link/formats/wiki-link.cjs.js.map +1 -0
  179. package/lib/modules/global-link/formats/work-item-link.cjs.js.map +1 -0
  180. package/lib/{global-link → modules/global-link}/index.cjs.js +1 -1
  181. package/lib/modules/global-link/index.cjs.js.map +1 -0
  182. package/lib/modules/global-link/utils/createTable.cjs.js.map +1 -0
  183. package/lib/{i18n/index.cjs.js → modules/i18n.cjs.js} +3 -3
  184. package/lib/modules/i18n.cjs.js.map +1 -0
  185. package/lib/{link → modules/link}/formats/link.cjs.js +1 -1
  186. package/lib/modules/link/formats/link.cjs.js.map +1 -0
  187. package/lib/modules/link/index.cjs.js.map +1 -0
  188. package/lib/{link → modules/link}/modules/tooltip.cjs.js +4 -4
  189. package/lib/modules/link/modules/tooltip.cjs.js.map +1 -0
  190. package/lib/modules/mathlive/formats.cjs.js.map +1 -0
  191. package/lib/modules/mathlive/index.cjs.js.map +1 -0
  192. package/lib/modules/mathlive/tooltip.cjs.js.map +1 -0
  193. package/lib/{mention → modules/mention}/Mention.cjs.js +1 -1
  194. package/lib/modules/mention/Mention.cjs.js.map +1 -0
  195. package/lib/modules/mention/MentionLink.cjs.js.map +1 -0
  196. package/lib/modules/mention/constants.cjs.js.map +1 -0
  197. package/lib/{quick-menu/index.cjs.js → modules/quick-menu.cjs.js} +1 -1
  198. package/lib/modules/quick-menu.cjs.js.map +1 -0
  199. package/lib/{syntax/index.cjs.js → modules/syntax.cjs.js} +1 -1
  200. package/lib/modules/syntax.cjs.js.map +1 -0
  201. package/lib/{table → modules/table}/better-table.cjs.js +1 -1
  202. package/lib/modules/table/better-table.cjs.js.map +1 -0
  203. package/lib/{table → modules/table}/formats/header.cjs.js +1 -1
  204. package/lib/modules/table/formats/header.cjs.js.map +1 -0
  205. package/lib/modules/table/formats/list.cjs.js.map +1 -0
  206. package/lib/{table → modules/table}/formats/table.cjs.js +2 -2
  207. package/lib/modules/table/formats/table.cjs.js.map +1 -0
  208. package/lib/modules/table/modules/table-column-tool.cjs.js.map +1 -0
  209. package/lib/{table → modules/table}/modules/table-operation-menu.cjs.js +2 -2
  210. package/lib/modules/table/modules/table-operation-menu.cjs.js.map +1 -0
  211. package/lib/modules/table/modules/table-scroll-bar.cjs.js.map +1 -0
  212. package/lib/modules/table/modules/table-selection.cjs.js.map +1 -0
  213. package/lib/modules/table/modules/table-selector.cjs.js.map +1 -0
  214. package/lib/modules/table/table-config.cjs.js.map +1 -0
  215. package/lib/modules/table/utils/index.cjs.js.map +1 -0
  216. package/lib/{table → modules/table}/utils/node-matchers.cjs.js +1 -1
  217. package/lib/modules/table/utils/node-matchers.cjs.js.map +1 -0
  218. package/lib/{toolbar → modules/toolbar}/better-picker.cjs.js +1 -1
  219. package/lib/modules/toolbar/better-picker.cjs.js.map +1 -0
  220. package/lib/{toolbar → modules/toolbar}/index.cjs.js +1 -1
  221. package/lib/modules/toolbar/index.cjs.js.map +1 -0
  222. package/lib/{toolbar → modules/toolbar}/toolbar-tip.cjs.js +2 -2
  223. package/lib/modules/toolbar/toolbar-tip.cjs.js.map +1 -0
  224. package/lib/themes/snow.cjs.js +119 -0
  225. package/lib/themes/snow.cjs.js.map +1 -0
  226. package/lib/{format-painter/index.cjs.js → tools/format-painter.cjs.js} +1 -1
  227. package/lib/tools/format-painter.cjs.js.map +1 -0
  228. package/lib/{fullscreen/handler.cjs.js → tools/fullscreen.cjs.js} +4 -3
  229. package/lib/tools/fullscreen.cjs.js.map +1 -0
  230. package/lib/{screenshot/index.cjs.js → tools/screenshot.cjs.js} +1 -1
  231. package/lib/tools/screenshot.cjs.js.map +1 -0
  232. package/lib/ui/icons.cjs.js +58 -0
  233. package/lib/ui/icons.cjs.js.map +1 -0
  234. package/lib/ui/icons.config.cjs.js.map +1 -0
  235. package/lib/utils/debounce.cjs.js.map +1 -1
  236. package/lib/utils/method.cjs.js.map +1 -1
  237. package/package.json +56 -56
  238. package/types/attributors/font-size.d.ts +1 -1
  239. package/types/attributors/font-style.d.ts +1 -1
  240. package/types/attributors/index.d.ts +4 -4
  241. package/types/attributors/line-height.d.ts +1 -1
  242. package/types/attributors/text-indent.d.ts +1 -1
  243. package/types/config/base64-image.d.ts +2 -3
  244. package/types/config/editor.config.d.ts +229 -229
  245. package/types/config/editor.utils.d.ts +42 -42
  246. package/types/config/i18n/en-us.d.ts +108 -108
  247. package/types/config/i18n/zh-cn.d.ts +108 -108
  248. package/types/config/index.d.ts +6 -9
  249. package/types/config/types/additional-toolbar-item.interface.d.ts +6 -7
  250. package/types/config/types/content-change.interface.d.ts +13 -13
  251. package/types/config/types/content-save.interface.d.ts +6 -6
  252. package/types/config/types/counter-option.interface.d.ts +7 -8
  253. package/types/config/types/editor-config.interface.d.ts +34 -35
  254. package/types/config/types/editor-modules.interface.d.ts +29 -30
  255. package/types/config/types/editor-toolbar.interface.d.ts +4 -5
  256. package/types/config/types/file-operation.interface.d.ts +10 -11
  257. package/types/config/types/focus-change.interface.d.ts +4 -4
  258. package/types/config/types/fullscreen-module.interface.d.ts +4 -4
  259. package/types/config/types/help-panel-item.interface.d.ts +5 -5
  260. package/types/config/types/help-panel-option.interface.d.ts +5 -6
  261. package/types/config/types/image-module.interface.d.ts +3 -3
  262. package/types/config/types/image-upload.interface.d.ts +5 -6
  263. package/types/config/types/index.d.ts +23 -23
  264. package/types/config/types/load-on-demand-module.interface.d.ts +5 -5
  265. package/types/config/types/mention-module.interface.d.ts +8 -8
  266. package/types/config/types/paste-change.interface.d.ts +4 -5
  267. package/types/config/types/quick-menu-module.interface.d.ts +3 -3
  268. package/types/config/types/range.interface.d.ts +4 -4
  269. package/types/config/types/registry-options.interface.d.ts +5 -5
  270. package/types/config/types/selection-change.interface.d.ts +6 -7
  271. package/types/config/types/toolbar-item.interface.d.ts +13 -13
  272. package/types/config/types/type.d.ts +4 -5
  273. package/types/config/types/validate-error.interface.d.ts +13 -13
  274. package/types/core/fluent-editor.d.ts +11 -0
  275. package/types/fluent-editor.d.ts +2 -12
  276. package/types/{soft-break/index.d.ts → formats/soft-break.d.ts} +14 -14
  277. package/types/{strike/index.d.ts → formats/strike.d.ts} +7 -7
  278. package/types/{video/index.d.ts → formats/video.d.ts} +14 -15
  279. package/types/index.d.ts +4 -5
  280. package/types/{counter/index.d.ts → modules/counter.d.ts} +15 -16
  281. package/types/{custom-clipboard.d.ts → modules/custom-clipboard.d.ts} +27 -28
  282. package/types/{custom-image → modules/custom-image}/BlotFormatter.d.ts +20 -21
  283. package/types/{custom-image → modules/custom-image}/Options.d.ts +36 -36
  284. package/types/{custom-image → modules/custom-image}/actions/Action.d.ts +7 -7
  285. package/types/{custom-image → modules/custom-image}/actions/CustomResizeAction.d.ts +22 -23
  286. package/types/{custom-image → modules/custom-image}/actions/DeleteAction.d.ts +5 -6
  287. package/types/{custom-image → modules/custom-image}/image.d.ts +28 -28
  288. package/types/{custom-image → modules/custom-image}/specs/BlotSpec.d.ts +10 -11
  289. package/types/{custom-image → modules/custom-image}/specs/CustomImageSpec.d.ts +17 -18
  290. package/types/{custom-image → modules/custom-image}/specs/ImageSpec.d.ts +8 -9
  291. package/types/{custom-uploader.d.ts → modules/custom-uploader.d.ts} +29 -30
  292. package/types/{divider/index.d.ts → modules/divider.d.ts} +7 -7
  293. package/types/{emoji → modules/emoji}/emoji-list/index.d.ts +1 -1
  294. package/types/{emoji → modules/emoji}/emoji-list/people.d.ts +1 -1
  295. package/types/{emoji → modules/emoji}/emoji-list.d.ts +2 -2
  296. package/types/{emoji → modules/emoji}/emoji-map.d.ts +2 -2
  297. package/types/modules/emoji/emoji-sprite.d.ts +1 -0
  298. package/types/{emoji → modules/emoji}/formats/emoji-blot.d.ts +13 -13
  299. package/types/{emoji → modules/emoji}/index.d.ts +6 -7
  300. package/types/{emoji → modules/emoji}/modules/emoji.d.ts +38 -38
  301. package/types/{emoji → modules/emoji}/modules/toolbar-emoji.d.ts +8 -8
  302. package/types/{emoji → modules/emoji}/utils.d.ts +1 -1
  303. package/types/{file → modules/file}/formats/file.d.ts +15 -15
  304. package/types/{file → modules/file}/index.d.ts +9 -10
  305. package/types/{file → modules/file}/modules/file-bar.d.ts +14 -14
  306. package/types/{global-link → modules/global-link}/constants.d.ts +3 -3
  307. package/types/{global-link → modules/global-link}/formats/customer-widget-link.d.ts +14 -14
  308. package/types/{global-link → modules/global-link}/formats/doc-link.d.ts +17 -17
  309. package/types/{global-link → modules/global-link}/formats/wiki-link.d.ts +16 -16
  310. package/types/{global-link → modules/global-link}/formats/work-item-link.d.ts +16 -16
  311. package/types/{global-link → modules/global-link}/global-link-panel.d.ts +17 -18
  312. package/types/{global-link → modules/global-link}/index.d.ts +18 -18
  313. package/types/{global-link → modules/global-link}/utils/createTable.d.ts +1 -1
  314. package/types/{i18n/index.d.ts → modules/i18n.d.ts} +15 -14
  315. package/types/{link → modules/link}/formats/link.d.ts +14 -15
  316. package/types/{link → modules/link}/index.d.ts +6 -6
  317. package/types/{link → modules/link}/modules/tooltip.d.ts +31 -32
  318. package/types/{mathlive → modules/mathlive}/formats.d.ts +20 -21
  319. package/types/{mathlive → modules/mathlive}/index.d.ts +6 -7
  320. package/types/{mathlive → modules/mathlive}/tooltip.d.ts +14 -15
  321. package/types/{mention → modules/mention}/Mention.d.ts +53 -54
  322. package/types/{mention → modules/mention}/MentionLink.d.ts +14 -15
  323. package/types/{mention → modules/mention}/constants.d.ts +3 -3
  324. package/types/{quick-menu/index.d.ts → modules/quick-menu.d.ts} +20 -21
  325. package/types/{syntax/index.d.ts → modules/syntax.d.ts} +12 -13
  326. package/types/{table → modules/table}/better-table.d.ts +31 -32
  327. package/types/{table → modules/table}/formats/header.d.ts +21 -22
  328. package/types/{table → modules/table}/formats/list.d.ts +34 -34
  329. package/types/{table → modules/table}/formats/table.d.ts +145 -146
  330. package/types/{table → modules/table}/modules/table-column-tool.d.ts +23 -23
  331. package/types/{table → modules/table}/modules/table-operation-menu.d.ts +38 -38
  332. package/types/{table → modules/table}/modules/table-scroll-bar.d.ts +33 -33
  333. package/types/{table → modules/table}/modules/table-selection.d.ts +37 -37
  334. package/types/{table → modules/table}/modules/table-selector.d.ts +22 -22
  335. package/types/{table → modules/table}/table-config.d.ts +38 -38
  336. package/types/{table → modules/table}/utils/index.d.ts +17 -17
  337. package/types/{table → modules/table}/utils/node-matchers.d.ts +9 -9
  338. package/types/{toolbar → modules/toolbar}/better-picker.d.ts +1 -1
  339. package/types/{toolbar → modules/toolbar}/index.d.ts +7 -8
  340. package/types/{toolbar → modules/toolbar}/toolbar-tip.d.ts +9 -10
  341. package/types/themes/snow.d.ts +3 -0
  342. package/types/{format-painter/index.d.ts → tools/format-painter.d.ts} +13 -14
  343. package/types/{fullscreen/handler.d.ts → tools/fullscreen.d.ts} +1 -2
  344. package/types/{screenshot/index.d.ts → tools/screenshot.d.ts} +17 -18
  345. package/types/{config → ui}/icons.config.d.ts +36 -36
  346. package/types/ui/icons.d.ts +6 -0
  347. package/types/utils/debounce.d.ts +6 -6
  348. package/types/utils/image.d.ts +1 -1
  349. package/types/utils/is.d.ts +4 -4
  350. package/types/utils/method.d.ts +6 -6
  351. package/types/utils/scroll-lock.d.ts +6 -6
  352. package/es/config/icons.config.es.js.map +0 -1
  353. package/es/counter/index.es.js.map +0 -1
  354. package/es/custom-clipboard.es.js.map +0 -1
  355. package/es/custom-image/BlotFormatter.es.js.map +0 -1
  356. package/es/custom-image/Options.es.js.map +0 -1
  357. package/es/custom-image/actions/Action.es.js.map +0 -1
  358. package/es/custom-image/actions/CustomResizeAction.es.js.map +0 -1
  359. package/es/custom-image/actions/DeleteAction.es.js.map +0 -1
  360. package/es/custom-image/image.es.js.map +0 -1
  361. package/es/custom-image/specs/BlotSpec.es.js.map +0 -1
  362. package/es/custom-image/specs/CustomImageSpec.es.js.map +0 -1
  363. package/es/custom-image/specs/ImageSpec.es.js.map +0 -1
  364. package/es/custom-uploader.es.js.map +0 -1
  365. package/es/divider/index.es.js.map +0 -1
  366. package/es/emoji/emoji-list/people.es.js.map +0 -1
  367. package/es/emoji/emoji-list.es.js.map +0 -1
  368. package/es/emoji/emoji-map.es.js.map +0 -1
  369. package/es/emoji/formats/emoji-blot.es.js.map +0 -1
  370. package/es/emoji/index.es.js.map +0 -1
  371. package/es/emoji/modules/emoji.es.js.map +0 -1
  372. package/es/emoji/modules/toolbar-emoji.es.js.map +0 -1
  373. package/es/emoji/utils.es.js.map +0 -1
  374. package/es/file/formats/file.es.js.map +0 -1
  375. package/es/file/index.es.js.map +0 -1
  376. package/es/file/modules/file-bar.es.js.map +0 -1
  377. package/es/format-painter/index.es.js.map +0 -1
  378. package/es/fullscreen/handler.es.js.map +0 -1
  379. package/es/global-link/constants.es.js.map +0 -1
  380. package/es/global-link/formats/customer-widget-link.es.js.map +0 -1
  381. package/es/global-link/formats/doc-link.es.js.map +0 -1
  382. package/es/global-link/formats/wiki-link.es.js.map +0 -1
  383. package/es/global-link/formats/work-item-link.es.js.map +0 -1
  384. package/es/global-link/index.es.js.map +0 -1
  385. package/es/global-link/utils/createTable.es.js.map +0 -1
  386. package/es/i18n/index.es.js.map +0 -1
  387. package/es/link/formats/link.es.js.map +0 -1
  388. package/es/link/index.es.js.map +0 -1
  389. package/es/link/modules/tooltip.es.js.map +0 -1
  390. package/es/mathlive/formats.es.js.map +0 -1
  391. package/es/mathlive/index.es.js.map +0 -1
  392. package/es/mathlive/tooltip.es.js.map +0 -1
  393. package/es/mention/Mention.es.js.map +0 -1
  394. package/es/mention/MentionLink.es.js.map +0 -1
  395. package/es/mention/constants.es.js.map +0 -1
  396. package/es/quick-menu/index.es.js.map +0 -1
  397. package/es/screenshot/index.es.js.map +0 -1
  398. package/es/soft-break/index.es.js.map +0 -1
  399. package/es/strike/index.es.js.map +0 -1
  400. package/es/syntax/index.es.js.map +0 -1
  401. package/es/table/better-table.es.js.map +0 -1
  402. package/es/table/formats/header.es.js.map +0 -1
  403. package/es/table/formats/list.es.js.map +0 -1
  404. package/es/table/formats/table.es.js.map +0 -1
  405. package/es/table/modules/table-column-tool.es.js.map +0 -1
  406. package/es/table/modules/table-operation-menu.es.js.map +0 -1
  407. package/es/table/modules/table-scroll-bar.es.js.map +0 -1
  408. package/es/table/modules/table-selection.es.js.map +0 -1
  409. package/es/table/modules/table-selector.es.js.map +0 -1
  410. package/es/table/table-config.es.js.map +0 -1
  411. package/es/table/utils/index.es.js.map +0 -1
  412. package/es/table/utils/node-matchers.es.js.map +0 -1
  413. package/es/toolbar/better-picker.es.js.map +0 -1
  414. package/es/toolbar/index.es.js.map +0 -1
  415. package/es/toolbar/toolbar-tip.es.js.map +0 -1
  416. package/es/video/index.es.js.map +0 -1
  417. package/lib/config/icons.config.cjs.js.map +0 -1
  418. package/lib/counter/index.cjs.js.map +0 -1
  419. package/lib/custom-clipboard.cjs.js.map +0 -1
  420. package/lib/custom-image/BlotFormatter.cjs.js.map +0 -1
  421. package/lib/custom-image/Options.cjs.js.map +0 -1
  422. package/lib/custom-image/actions/Action.cjs.js.map +0 -1
  423. package/lib/custom-image/actions/CustomResizeAction.cjs.js.map +0 -1
  424. package/lib/custom-image/actions/DeleteAction.cjs.js.map +0 -1
  425. package/lib/custom-image/image.cjs.js.map +0 -1
  426. package/lib/custom-image/specs/BlotSpec.cjs.js.map +0 -1
  427. package/lib/custom-image/specs/CustomImageSpec.cjs.js.map +0 -1
  428. package/lib/custom-image/specs/ImageSpec.cjs.js.map +0 -1
  429. package/lib/custom-uploader.cjs.js.map +0 -1
  430. package/lib/divider/index.cjs.js.map +0 -1
  431. package/lib/emoji/emoji-list/people.cjs.js.map +0 -1
  432. package/lib/emoji/emoji-list.cjs.js.map +0 -1
  433. package/lib/emoji/emoji-map.cjs.js.map +0 -1
  434. package/lib/emoji/formats/emoji-blot.cjs.js.map +0 -1
  435. package/lib/emoji/index.cjs.js.map +0 -1
  436. package/lib/emoji/modules/emoji.cjs.js.map +0 -1
  437. package/lib/emoji/modules/toolbar-emoji.cjs.js.map +0 -1
  438. package/lib/emoji/utils.cjs.js.map +0 -1
  439. package/lib/file/formats/file.cjs.js.map +0 -1
  440. package/lib/file/index.cjs.js.map +0 -1
  441. package/lib/file/modules/file-bar.cjs.js.map +0 -1
  442. package/lib/format-painter/index.cjs.js.map +0 -1
  443. package/lib/fullscreen/handler.cjs.js.map +0 -1
  444. package/lib/global-link/constants.cjs.js.map +0 -1
  445. package/lib/global-link/formats/customer-widget-link.cjs.js.map +0 -1
  446. package/lib/global-link/formats/doc-link.cjs.js.map +0 -1
  447. package/lib/global-link/formats/wiki-link.cjs.js.map +0 -1
  448. package/lib/global-link/formats/work-item-link.cjs.js.map +0 -1
  449. package/lib/global-link/index.cjs.js.map +0 -1
  450. package/lib/global-link/utils/createTable.cjs.js.map +0 -1
  451. package/lib/i18n/index.cjs.js.map +0 -1
  452. package/lib/link/formats/link.cjs.js.map +0 -1
  453. package/lib/link/index.cjs.js.map +0 -1
  454. package/lib/link/modules/tooltip.cjs.js.map +0 -1
  455. package/lib/mathlive/formats.cjs.js.map +0 -1
  456. package/lib/mathlive/index.cjs.js.map +0 -1
  457. package/lib/mathlive/tooltip.cjs.js.map +0 -1
  458. package/lib/mention/Mention.cjs.js.map +0 -1
  459. package/lib/mention/MentionLink.cjs.js.map +0 -1
  460. package/lib/mention/constants.cjs.js.map +0 -1
  461. package/lib/quick-menu/index.cjs.js.map +0 -1
  462. package/lib/screenshot/index.cjs.js.map +0 -1
  463. package/lib/soft-break/index.cjs.js.map +0 -1
  464. package/lib/strike/index.cjs.js.map +0 -1
  465. package/lib/syntax/index.cjs.js.map +0 -1
  466. package/lib/table/better-table.cjs.js.map +0 -1
  467. package/lib/table/formats/header.cjs.js.map +0 -1
  468. package/lib/table/formats/list.cjs.js.map +0 -1
  469. package/lib/table/formats/table.cjs.js.map +0 -1
  470. package/lib/table/modules/table-column-tool.cjs.js.map +0 -1
  471. package/lib/table/modules/table-operation-menu.cjs.js.map +0 -1
  472. package/lib/table/modules/table-scroll-bar.cjs.js.map +0 -1
  473. package/lib/table/modules/table-selection.cjs.js.map +0 -1
  474. package/lib/table/modules/table-selector.cjs.js.map +0 -1
  475. package/lib/table/table-config.cjs.js.map +0 -1
  476. package/lib/table/utils/index.cjs.js.map +0 -1
  477. package/lib/table/utils/node-matchers.cjs.js.map +0 -1
  478. package/lib/toolbar/better-picker.cjs.js.map +0 -1
  479. package/lib/toolbar/index.cjs.js.map +0 -1
  480. package/lib/toolbar/toolbar-tip.cjs.js.map +0 -1
  481. package/lib/video/index.cjs.js.map +0 -1
  482. /package/es/{custom-image → modules/custom-image}/BlotFormatter.es.js +0 -0
  483. /package/es/{custom-image → modules/custom-image}/Options.es.js +0 -0
  484. /package/es/{custom-image → modules/custom-image}/actions/Action.es.js +0 -0
  485. /package/es/{custom-image → modules/custom-image}/actions/CustomResizeAction.es.js +0 -0
  486. /package/es/{custom-image → modules/custom-image}/actions/DeleteAction.es.js +0 -0
  487. /package/es/{custom-image → modules/custom-image}/specs/BlotSpec.es.js +0 -0
  488. /package/es/{custom-image → modules/custom-image}/specs/ImageSpec.es.js +0 -0
  489. /package/es/{emoji → modules/emoji}/emoji-list/index.es.js +0 -0
  490. /package/es/{emoji → modules/emoji}/emoji-list/index.es.js.map +0 -0
  491. /package/es/{emoji → modules/emoji}/emoji-list/people.es.js +0 -0
  492. /package/es/{emoji → modules/emoji}/emoji-list.es.js +0 -0
  493. /package/es/{emoji → modules/emoji}/emoji-map.es.js +0 -0
  494. /package/es/{emoji → modules/emoji}/formats/emoji-blot.es.js +0 -0
  495. /package/es/{emoji → modules/emoji}/index.es.js +0 -0
  496. /package/es/{emoji → modules/emoji}/modules/emoji.es.js +0 -0
  497. /package/es/{emoji → modules/emoji}/utils.es.js +0 -0
  498. /package/es/{file → modules/file}/index.es.js +0 -0
  499. /package/es/{global-link → modules/global-link}/constants.es.js +0 -0
  500. /package/es/{global-link → modules/global-link}/formats/customer-widget-link.es.js +0 -0
  501. /package/es/{global-link → modules/global-link}/formats/doc-link.es.js +0 -0
  502. /package/es/{global-link → modules/global-link}/formats/wiki-link.es.js +0 -0
  503. /package/es/{global-link → modules/global-link}/formats/work-item-link.es.js +0 -0
  504. /package/es/{global-link → modules/global-link}/global-link-panel.es.js +0 -0
  505. /package/es/{global-link → modules/global-link}/global-link-panel.es.js.map +0 -0
  506. /package/es/{global-link → modules/global-link}/utils/createTable.es.js +0 -0
  507. /package/es/{link → modules/link}/index.es.js +0 -0
  508. /package/es/{mathlive → modules/mathlive}/formats.es.js +0 -0
  509. /package/es/{mathlive → modules/mathlive}/index.es.js +0 -0
  510. /package/es/{mathlive → modules/mathlive}/tooltip.es.js +0 -0
  511. /package/es/{mention → modules/mention}/MentionLink.es.js +0 -0
  512. /package/es/{mention → modules/mention}/constants.es.js +0 -0
  513. /package/es/{table → modules/table}/formats/list.es.js +0 -0
  514. /package/es/{table → modules/table}/modules/table-column-tool.es.js +0 -0
  515. /package/es/{table → modules/table}/modules/table-scroll-bar.es.js +0 -0
  516. /package/es/{table → modules/table}/modules/table-selection.es.js +0 -0
  517. /package/es/{table → modules/table}/modules/table-selector.es.js +0 -0
  518. /package/es/{table → modules/table}/table-config.es.js +0 -0
  519. /package/es/{table → modules/table}/utils/index.es.js +0 -0
  520. /package/es/{config → ui}/icons.config.es.js +0 -0
  521. /package/lib/{custom-image → modules/custom-image}/BlotFormatter.cjs.js +0 -0
  522. /package/lib/{custom-image → modules/custom-image}/Options.cjs.js +0 -0
  523. /package/lib/{custom-image → modules/custom-image}/actions/Action.cjs.js +0 -0
  524. /package/lib/{custom-image → modules/custom-image}/actions/CustomResizeAction.cjs.js +0 -0
  525. /package/lib/{custom-image → modules/custom-image}/actions/DeleteAction.cjs.js +0 -0
  526. /package/lib/{custom-image → modules/custom-image}/specs/BlotSpec.cjs.js +0 -0
  527. /package/lib/{custom-image → modules/custom-image}/specs/ImageSpec.cjs.js +0 -0
  528. /package/lib/{emoji → modules/emoji}/emoji-list/index.cjs.js +0 -0
  529. /package/lib/{emoji → modules/emoji}/emoji-list/index.cjs.js.map +0 -0
  530. /package/lib/{emoji → modules/emoji}/emoji-list/people.cjs.js +0 -0
  531. /package/lib/{emoji → modules/emoji}/emoji-list.cjs.js +0 -0
  532. /package/lib/{emoji → modules/emoji}/emoji-map.cjs.js +0 -0
  533. /package/lib/{emoji → modules/emoji}/formats/emoji-blot.cjs.js +0 -0
  534. /package/lib/{emoji → modules/emoji}/index.cjs.js +0 -0
  535. /package/lib/{emoji → modules/emoji}/modules/emoji.cjs.js +0 -0
  536. /package/lib/{emoji → modules/emoji}/utils.cjs.js +0 -0
  537. /package/lib/{file → modules/file}/index.cjs.js +0 -0
  538. /package/lib/{global-link → modules/global-link}/constants.cjs.js +0 -0
  539. /package/lib/{global-link → modules/global-link}/formats/customer-widget-link.cjs.js +0 -0
  540. /package/lib/{global-link → modules/global-link}/formats/doc-link.cjs.js +0 -0
  541. /package/lib/{global-link → modules/global-link}/formats/wiki-link.cjs.js +0 -0
  542. /package/lib/{global-link → modules/global-link}/formats/work-item-link.cjs.js +0 -0
  543. /package/lib/{global-link → modules/global-link}/global-link-panel.cjs.js +0 -0
  544. /package/lib/{global-link → modules/global-link}/global-link-panel.cjs.js.map +0 -0
  545. /package/lib/{global-link → modules/global-link}/utils/createTable.cjs.js +0 -0
  546. /package/lib/{link → modules/link}/index.cjs.js +0 -0
  547. /package/lib/{mathlive → modules/mathlive}/formats.cjs.js +0 -0
  548. /package/lib/{mathlive → modules/mathlive}/index.cjs.js +0 -0
  549. /package/lib/{mathlive → modules/mathlive}/tooltip.cjs.js +0 -0
  550. /package/lib/{mention → modules/mention}/MentionLink.cjs.js +0 -0
  551. /package/lib/{mention → modules/mention}/constants.cjs.js +0 -0
  552. /package/lib/{table → modules/table}/formats/list.cjs.js +0 -0
  553. /package/lib/{table → modules/table}/modules/table-column-tool.cjs.js +0 -0
  554. /package/lib/{table → modules/table}/modules/table-scroll-bar.cjs.js +0 -0
  555. /package/lib/{table → modules/table}/modules/table-selection.cjs.js +0 -0
  556. /package/lib/{table → modules/table}/modules/table-selector.cjs.js +0 -0
  557. /package/lib/{table → modules/table}/table-config.cjs.js +0 -0
  558. /package/lib/{table → modules/table}/utils/index.cjs.js +0 -0
  559. /package/lib/{config → ui}/icons.config.cjs.js +0 -0
@@ -1,229 +1,229 @@
1
- export declare const BIG_DELTA_LIMIT = 2000;
2
- export declare const LANG_CONF: {
3
- 'en-US': {
4
- header: string;
5
- normal: string;
6
- h1: string;
7
- h2: string;
8
- h3: string;
9
- h4: string;
10
- h5: string;
11
- h6: string;
12
- lineheight: string;
13
- songti: string;
14
- yahei: string;
15
- kaiti: string;
16
- heiti: string;
17
- lishu: string;
18
- left: string;
19
- center: string;
20
- right: string;
21
- codeblock: string;
22
- globallink: string;
23
- 'exit-fullscreen': string;
24
- help: string;
25
- more: string;
26
- 'help-format': string;
27
- 'help-insert': string;
28
- 'help-operation': string;
29
- mention: string;
30
- 'quick-menu': string;
31
- 'toggle-help-panel': string;
32
- 'scroll-table': string;
33
- 'mouse-wheel': string;
34
- save: string;
35
- 'copy-cells': string;
36
- 'copy-table': string;
37
- 'cut-cells': string;
38
- 'empty-cells': string;
39
- 'insert-row-up': string;
40
- 'insert-row-down': string;
41
- 'insert-column-left': string;
42
- 'insert-column-right': string;
43
- 'merge-cells': string;
44
- 'unmerge-cells': string;
45
- 'delete-row': string;
46
- 'delete-column': string;
47
- 'delete-table': string;
48
- 'default-link-text': string;
49
- basicblock: string;
50
- linkplaceholder: string;
51
- 'counter-template': string;
52
- char: string;
53
- word: string;
54
- 'counter-limit-tips': string;
55
- 'ie-msg': string;
56
- loading: string;
57
- pasting: string;
58
- 'img-error': string;
59
- 'img-error-info': string;
60
- 'last-modified': string;
61
- screenshot: string;
62
- uploading: string;
63
- 'sub-title-bg-color': string;
64
- emoji: string;
65
- fullscreen: string;
66
- blockquote: string;
67
- undo: string;
68
- redo: string;
69
- clean: string;
70
- bold: string;
71
- italic: string;
72
- underline: string;
73
- strike: string;
74
- image: string;
75
- file: string;
76
- table: string;
77
- link: string;
78
- code: string;
79
- 'better-table': string;
80
- 'code-block': string;
81
- formula: string;
82
- 'format-painter': string;
83
- divider: string;
84
- video: string;
85
- color: string;
86
- background: string;
87
- font: string;
88
- size: string;
89
- 'list-ordered': string;
90
- 'list-bullet': string;
91
- 'list-check': string;
92
- 'align-left': string;
93
- 'align-center': string;
94
- 'align-right': string;
95
- 'align-justify': string;
96
- 'direction-ltr': string;
97
- 'direction-rtl': string;
98
- 'indent--1': string;
99
- 'indent-+1': string;
100
- 'script-super': string;
101
- 'script-sub': string;
102
- 'header-normal': string;
103
- 'header-1': string;
104
- 'header-2': string;
105
- 'header-3': string;
106
- 'header-4': string;
107
- 'header-5': string;
108
- 'header-6': string;
109
- 'header-list': string;
110
- };
111
- 'zh-CN': {
112
- header: string;
113
- normal: string;
114
- h1: string;
115
- h2: string;
116
- h3: string;
117
- h4: string;
118
- h5: string;
119
- h6: string;
120
- lineheight: string;
121
- songti: string;
122
- yahei: string;
123
- kaiti: string;
124
- heiti: string;
125
- lishu: string;
126
- left: string;
127
- center: string;
128
- right: string;
129
- codeblock: string;
130
- globallink: string;
131
- 'exit-fullscreen': string;
132
- help: string;
133
- more: string;
134
- 'help-format': string;
135
- 'help-insert': string;
136
- 'help-operation': string;
137
- mention: string;
138
- 'quick-menu': string;
139
- 'toggle-help-panel': string;
140
- 'scroll-table': string;
141
- 'mouse-wheel': string;
142
- save: string;
143
- 'copy-cells': string;
144
- 'copy-table': string;
145
- 'cut-cells': string;
146
- 'empty-cells': string;
147
- 'insert-row-up': string;
148
- 'insert-row-down': string;
149
- 'insert-column-left': string;
150
- 'insert-column-right': string;
151
- 'merge-cells': string;
152
- 'unmerge-cells': string;
153
- 'delete-row': string;
154
- 'delete-column': string;
155
- 'delete-table': string;
156
- 'default-link-text': string;
157
- basicblock: string;
158
- linkplaceholder: string;
159
- 'counter-template': string;
160
- char: string;
161
- word: string;
162
- 'counter-limit-tips': string;
163
- 'ie-msg': string;
164
- loading: string;
165
- pasting: string;
166
- 'img-error': string;
167
- 'img-error-info': string;
168
- 'last-modified': string;
169
- screenshot: string;
170
- uploading: string;
171
- 'sub-title-bg-color': string;
172
- emoji: string;
173
- fullscreen: string;
174
- blockquote: string;
175
- undo: string;
176
- redo: string;
177
- clean: string;
178
- bold: string;
179
- italic: string;
180
- underline: string;
181
- strike: string;
182
- image: string;
183
- file: string;
184
- table: string;
185
- link: string;
186
- divider: string;
187
- code: string;
188
- 'better-table': string;
189
- 'code-block': string;
190
- formula: string;
191
- 'format-painter': string;
192
- video: string;
193
- color: string;
194
- background: string;
195
- font: string;
196
- size: string;
197
- 'list-ordered': string;
198
- 'list-bullet': string;
199
- 'list-check': string;
200
- 'align-left': string;
201
- 'align-center': string;
202
- 'align-right': string;
203
- 'align-justify': string;
204
- 'direction-ltr': string;
205
- 'direction-rtl': string;
206
- 'indent--1': string;
207
- 'indent-+1': string;
208
- 'script-super': string;
209
- 'script-sub': string;
210
- 'header-normal': string;
211
- 'header-1': string;
212
- 'header-2': string;
213
- 'header-3': string;
214
- 'header-4': string;
215
- 'header-5': string;
216
- 'header-6': string;
217
- 'header-list': string;
218
- };
219
- };
220
- export declare const CHANGE_LANGUAGE_EVENT = "change-language";
221
- export declare const defaultLanguage = "en-US";
222
- export declare const IMAGE_UPLOADER_MIME_TYPES: string[];
223
- export declare const OTHER_FILE_UPLOADER_MIME_TYPES: string[];
224
- export declare const AUDIO_VIDEO_UPLOADER_MIME_TYPES: string[];
225
- export declare const DOC_UPLOADER_MIME_TYPES: string[];
226
- export declare const XSL_UPLOADER_MIME_TYPES: string[];
227
- export declare const PPT_UPLOADER_MIME_TYPES: string[];
228
- export declare const COMPRESSED_UPLOADER_MIME_TYPES: string[];
229
- export declare const FILE_UPLOADER_MIME_TYPES: string[];
1
+ export declare const BIG_DELTA_LIMIT = 2000;
2
+ export declare const LANG_CONF: {
3
+ 'en-US': {
4
+ header: string;
5
+ normal: string;
6
+ h1: string;
7
+ h2: string;
8
+ h3: string;
9
+ h4: string;
10
+ h5: string;
11
+ h6: string;
12
+ lineheight: string;
13
+ songti: string;
14
+ yahei: string;
15
+ kaiti: string;
16
+ heiti: string;
17
+ lishu: string;
18
+ left: string;
19
+ center: string;
20
+ right: string;
21
+ codeblock: string;
22
+ globallink: string;
23
+ 'exit-fullscreen': string;
24
+ help: string;
25
+ more: string;
26
+ 'help-format': string;
27
+ 'help-insert': string;
28
+ 'help-operation': string;
29
+ mention: string;
30
+ 'quick-menu': string;
31
+ 'toggle-help-panel': string;
32
+ 'scroll-table': string;
33
+ 'mouse-wheel': string;
34
+ save: string;
35
+ 'copy-cells': string;
36
+ 'copy-table': string;
37
+ 'cut-cells': string;
38
+ 'empty-cells': string;
39
+ 'insert-row-up': string;
40
+ 'insert-row-down': string;
41
+ 'insert-column-left': string;
42
+ 'insert-column-right': string;
43
+ 'merge-cells': string;
44
+ 'unmerge-cells': string;
45
+ 'delete-row': string;
46
+ 'delete-column': string;
47
+ 'delete-table': string;
48
+ 'default-link-text': string;
49
+ basicblock: string;
50
+ linkplaceholder: string;
51
+ 'counter-template': string;
52
+ char: string;
53
+ word: string;
54
+ 'counter-limit-tips': string;
55
+ 'ie-msg': string;
56
+ loading: string;
57
+ pasting: string;
58
+ 'img-error': string;
59
+ 'img-error-info': string;
60
+ 'last-modified': string;
61
+ screenshot: string;
62
+ uploading: string;
63
+ 'sub-title-bg-color': string;
64
+ emoji: string;
65
+ fullscreen: string;
66
+ blockquote: string;
67
+ undo: string;
68
+ redo: string;
69
+ clean: string;
70
+ bold: string;
71
+ italic: string;
72
+ underline: string;
73
+ strike: string;
74
+ image: string;
75
+ file: string;
76
+ table: string;
77
+ link: string;
78
+ code: string;
79
+ 'better-table': string;
80
+ 'code-block': string;
81
+ formula: string;
82
+ 'format-painter': string;
83
+ divider: string;
84
+ video: string;
85
+ color: string;
86
+ background: string;
87
+ font: string;
88
+ size: string;
89
+ 'list-ordered': string;
90
+ 'list-bullet': string;
91
+ 'list-check': string;
92
+ 'align-left': string;
93
+ 'align-center': string;
94
+ 'align-right': string;
95
+ 'align-justify': string;
96
+ 'direction-ltr': string;
97
+ 'direction-rtl': string;
98
+ 'indent--1': string;
99
+ 'indent-+1': string;
100
+ 'script-super': string;
101
+ 'script-sub': string;
102
+ 'header-normal': string;
103
+ 'header-1': string;
104
+ 'header-2': string;
105
+ 'header-3': string;
106
+ 'header-4': string;
107
+ 'header-5': string;
108
+ 'header-6': string;
109
+ 'header-list': string;
110
+ };
111
+ 'zh-CN': {
112
+ header: string;
113
+ normal: string;
114
+ h1: string;
115
+ h2: string;
116
+ h3: string;
117
+ h4: string;
118
+ h5: string;
119
+ h6: string;
120
+ lineheight: string;
121
+ songti: string;
122
+ yahei: string;
123
+ kaiti: string;
124
+ heiti: string;
125
+ lishu: string;
126
+ left: string;
127
+ center: string;
128
+ right: string;
129
+ codeblock: string;
130
+ globallink: string;
131
+ 'exit-fullscreen': string;
132
+ help: string;
133
+ more: string;
134
+ 'help-format': string;
135
+ 'help-insert': string;
136
+ 'help-operation': string;
137
+ mention: string;
138
+ 'quick-menu': string;
139
+ 'toggle-help-panel': string;
140
+ 'scroll-table': string;
141
+ 'mouse-wheel': string;
142
+ save: string;
143
+ 'copy-cells': string;
144
+ 'copy-table': string;
145
+ 'cut-cells': string;
146
+ 'empty-cells': string;
147
+ 'insert-row-up': string;
148
+ 'insert-row-down': string;
149
+ 'insert-column-left': string;
150
+ 'insert-column-right': string;
151
+ 'merge-cells': string;
152
+ 'unmerge-cells': string;
153
+ 'delete-row': string;
154
+ 'delete-column': string;
155
+ 'delete-table': string;
156
+ 'default-link-text': string;
157
+ basicblock: string;
158
+ linkplaceholder: string;
159
+ 'counter-template': string;
160
+ char: string;
161
+ word: string;
162
+ 'counter-limit-tips': string;
163
+ 'ie-msg': string;
164
+ loading: string;
165
+ pasting: string;
166
+ 'img-error': string;
167
+ 'img-error-info': string;
168
+ 'last-modified': string;
169
+ screenshot: string;
170
+ uploading: string;
171
+ 'sub-title-bg-color': string;
172
+ emoji: string;
173
+ fullscreen: string;
174
+ blockquote: string;
175
+ undo: string;
176
+ redo: string;
177
+ clean: string;
178
+ bold: string;
179
+ italic: string;
180
+ underline: string;
181
+ strike: string;
182
+ image: string;
183
+ file: string;
184
+ table: string;
185
+ link: string;
186
+ divider: string;
187
+ code: string;
188
+ 'better-table': string;
189
+ 'code-block': string;
190
+ formula: string;
191
+ 'format-painter': string;
192
+ video: string;
193
+ color: string;
194
+ background: string;
195
+ font: string;
196
+ size: string;
197
+ 'list-ordered': string;
198
+ 'list-bullet': string;
199
+ 'list-check': string;
200
+ 'align-left': string;
201
+ 'align-center': string;
202
+ 'align-right': string;
203
+ 'align-justify': string;
204
+ 'direction-ltr': string;
205
+ 'direction-rtl': string;
206
+ 'indent--1': string;
207
+ 'indent-+1': string;
208
+ 'script-super': string;
209
+ 'script-sub': string;
210
+ 'header-normal': string;
211
+ 'header-1': string;
212
+ 'header-2': string;
213
+ 'header-3': string;
214
+ 'header-4': string;
215
+ 'header-5': string;
216
+ 'header-6': string;
217
+ 'header-list': string;
218
+ };
219
+ };
220
+ export declare const CHANGE_LANGUAGE_EVENT = "change-language";
221
+ export declare const defaultLanguage = "en-US";
222
+ export declare const IMAGE_UPLOADER_MIME_TYPES: string[];
223
+ export declare const OTHER_FILE_UPLOADER_MIME_TYPES: string[];
224
+ export declare const AUDIO_VIDEO_UPLOADER_MIME_TYPES: string[];
225
+ export declare const DOC_UPLOADER_MIME_TYPES: string[];
226
+ export declare const XSL_UPLOADER_MIME_TYPES: string[];
227
+ export declare const PPT_UPLOADER_MIME_TYPES: string[];
228
+ export declare const COMPRESSED_UPLOADER_MIME_TYPES: string[];
229
+ export declare const FILE_UPLOADER_MIME_TYPES: string[];
@@ -1,42 +1,42 @@
1
- export declare function hexToRgbA(hex: string): string;
2
- /**
3
- * 将File格式的图片转换成Url格式
4
- * @param imageFile File格式的图片
5
- */
6
- export declare function imageFileToUrl(imageFile: any): Promise<unknown>;
7
- /**
8
- * 将Url格式的图片转换成File格式
9
- * @param imageUrl 图片的URL
10
- */
11
- export declare function imageUrlToFile(imageUrl: any, isErrorImage?: boolean): Promise<unknown>;
12
- export declare function insideTable(range?: any, quill?: any): boolean;
13
- export declare function isNullOrUndefined(param: any): boolean;
14
- /**
15
- * omit
16
- * @param obj target Object
17
- * @param uselessKeys keys of removed properties
18
- * @return new Object without useless properties
19
- */
20
- export declare function omit(obj: any, uselessKeys: any): {};
21
- /**
22
- * 将delta中的图片替换成制定的图片数组,用于图片上传到服务器的场景
23
- * @param delta 原始delta
24
- * @param imageUrls 图片数组
25
- * @param imagePlaceholder 标识是否是占位图的数组,与图片数组一一对应
26
- * @return 替换之后的delta
27
- */
28
- export declare function replaceDeltaImage(delta: any, imageUrls: any, imagePlaceholder: any): any;
29
- export declare function splitWithBreak(insertContent: string): any[];
30
- /**
31
- * getEventComposedPath
32
- * compatibility fixed for Event.path/Event.composedPath
33
- * Event.path is only for chrome/opera
34
- * Event.composedPath is for Safari, FF
35
- * Neither for Micro Edge
36
- * @return an array of event.path
37
- */
38
- export declare function getEventComposedPath(evt: any): any;
39
- export declare function sanitize(url: any, protocols: any): any;
40
- export declare function hadProtocol(url: string): boolean;
41
- export declare function isInside(position: any, dom: any): boolean;
42
- export declare const isPureIE: boolean;
1
+ export declare function hexToRgbA(hex: string): string;
2
+ /**
3
+ * 将File格式的图片转换成Url格式
4
+ * @param imageFile File格式的图片
5
+ */
6
+ export declare function imageFileToUrl(imageFile: any): Promise<unknown>;
7
+ /**
8
+ * 将Url格式的图片转换成File格式
9
+ * @param imageUrl 图片的URL
10
+ */
11
+ export declare function imageUrlToFile(imageUrl: any, isErrorImage?: boolean): Promise<unknown>;
12
+ export declare function insideTable(range?: any, quill?: any): boolean;
13
+ export declare function isNullOrUndefined(param: any): boolean;
14
+ /**
15
+ * omit
16
+ * @param obj target Object
17
+ * @param uselessKeys keys of removed properties
18
+ * @return new Object without useless properties
19
+ */
20
+ export declare function omit(obj: any, uselessKeys: any): {};
21
+ /**
22
+ * 将delta中的图片替换成制定的图片数组,用于图片上传到服务器的场景
23
+ * @param delta 原始delta
24
+ * @param imageUrls 图片数组
25
+ * @param imagePlaceholder 标识是否是占位图的数组,与图片数组一一对应
26
+ * @return 替换之后的delta
27
+ */
28
+ export declare function replaceDeltaImage(delta: any, imageUrls: any, imagePlaceholder: any): any;
29
+ export declare function splitWithBreak(insertContent: string): any[];
30
+ /**
31
+ * getEventComposedPath
32
+ * compatibility fixed for Event.path/Event.composedPath
33
+ * Event.path is only for chrome/opera
34
+ * Event.composedPath is for Safari, FF
35
+ * Neither for Micro Edge
36
+ * @return an array of event.path
37
+ */
38
+ export declare function getEventComposedPath(evt: any): any;
39
+ export declare function sanitize(url: any, protocols: any): any;
40
+ export declare function hadProtocol(url: string): boolean;
41
+ export declare function isInside(position: any, dom: any): boolean;
42
+ export declare const isPureIE: boolean;