@opentiny/fluent-editor 3.25.1 → 3.25.3-alpha.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 (274) hide show
  1. package/README.md +105 -105
  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.map +1 -1
  5. package/es/config/editor.utils.es.js.map +1 -1
  6. package/es/config/i18n/en-us.es.js.map +1 -1
  7. package/es/config/i18n/zh-cn.es.js.map +1 -1
  8. package/es/config/index.es.js.map +1 -1
  9. package/es/core/fluent-editor.es.js.map +1 -1
  10. package/es/fluent-editor.es.js.map +1 -1
  11. package/es/formats/soft-break.es.js.map +1 -1
  12. package/es/formats/strike.es.js.map +1 -1
  13. package/es/formats/video.es.js.map +1 -1
  14. package/es/modules/counter.es.js.map +1 -1
  15. package/es/modules/custom-clipboard.es.js.map +1 -1
  16. package/es/modules/custom-image/BlotFormatter.es.js +28 -0
  17. package/es/modules/custom-image/BlotFormatter.es.js.map +1 -1
  18. package/es/modules/custom-image/Options.es.js.map +1 -1
  19. package/es/modules/custom-image/actions/Action.es.js.map +1 -1
  20. package/es/modules/custom-image/actions/CustomResizeAction.es.js.map +1 -1
  21. package/es/modules/custom-image/actions/DeleteAction.es.js.map +1 -1
  22. package/es/modules/custom-image/image-bar.es.js +126 -0
  23. package/es/modules/custom-image/image-bar.es.js.map +1 -0
  24. package/es/modules/custom-image/image.es.js.map +1 -1
  25. package/es/modules/custom-image/specs/BlotSpec.es.js.map +1 -1
  26. package/es/modules/custom-image/specs/CustomImageSpec.es.js.map +1 -1
  27. package/es/modules/custom-image/specs/ImageSpec.es.js.map +1 -1
  28. package/es/modules/custom-uploader.es.js.map +1 -1
  29. package/es/modules/divider.es.js.map +1 -1
  30. package/es/modules/emoji/emoji-list/people.es.js.map +1 -1
  31. package/es/modules/emoji/emoji-list.es.js.map +1 -1
  32. package/es/modules/emoji/emoji-map.es.js.map +1 -1
  33. package/es/modules/emoji/emoji-sprite.es.js.map +1 -1
  34. package/es/modules/emoji/formats/emoji-blot.es.js.map +1 -1
  35. package/es/modules/emoji/index.es.js.map +1 -1
  36. package/es/modules/emoji/modules/emoji.es.js.map +1 -1
  37. package/es/modules/emoji/modules/toolbar-emoji.es.js.map +1 -1
  38. package/es/modules/emoji/utils.es.js.map +1 -1
  39. package/es/modules/file/formats/file.es.js.map +1 -1
  40. package/es/modules/file/index.es.js.map +1 -1
  41. package/es/modules/file/modules/file-bar.es.js.map +1 -1
  42. package/es/modules/global-link/constants.es.js.map +1 -1
  43. package/es/modules/global-link/formats/customer-widget-link.es.js.map +1 -1
  44. package/es/modules/global-link/formats/doc-link.es.js.map +1 -1
  45. package/es/modules/global-link/formats/wiki-link.es.js.map +1 -1
  46. package/es/modules/global-link/formats/work-item-link.es.js.map +1 -1
  47. package/es/modules/global-link/index.es.js.map +1 -1
  48. package/es/modules/global-link/utils/createTable.es.js.map +1 -1
  49. package/es/modules/link/formats/link.es.js.map +1 -1
  50. package/es/modules/link/index.es.js.map +1 -1
  51. package/es/modules/link/modules/tooltip.es.js.map +1 -1
  52. package/es/modules/mathlive/formats.es.js.map +1 -1
  53. package/es/modules/mathlive/index.es.js.map +1 -1
  54. package/es/modules/mathlive/tooltip.es.js.map +1 -1
  55. package/es/modules/mention/Mention.es.js.map +1 -1
  56. package/es/modules/mention/MentionLink.es.js.map +1 -1
  57. package/es/modules/mention/constants.es.js.map +1 -1
  58. package/es/modules/quick-menu.es.js.map +1 -1
  59. package/es/modules/syntax.es.js.map +1 -1
  60. package/es/modules/table/better-table.es.js.map +1 -1
  61. package/es/modules/table/formats/header.es.js.map +1 -1
  62. package/es/modules/table/formats/list.es.js.map +1 -1
  63. package/es/modules/table/formats/table.es.js.map +1 -1
  64. package/es/modules/table/modules/table-column-tool.es.js.map +1 -1
  65. package/es/modules/table/modules/table-operation-menu.es.js.map +1 -1
  66. package/es/modules/table/modules/table-scroll-bar.es.js.map +1 -1
  67. package/es/modules/table/modules/table-selection.es.js.map +1 -1
  68. package/es/modules/table/modules/table-selector.es.js.map +1 -1
  69. package/es/modules/table/table-config.es.js.map +1 -1
  70. package/es/modules/table/utils/index.es.js.map +1 -1
  71. package/es/modules/table/utils/node-matchers.es.js.map +1 -1
  72. package/es/modules/toolbar/better-picker.es.js.map +1 -1
  73. package/es/modules/toolbar/index.es.js.map +1 -1
  74. package/es/themes/snow.es.js.map +1 -1
  75. package/es/tools/screenshot.es.js.map +1 -1
  76. package/es/ui/icons.config.es.js.map +1 -1
  77. package/es/ui/icons.es.js.map +1 -1
  78. package/es/utils/debounce.es.js.map +1 -1
  79. package/es/utils/method.es.js.map +1 -1
  80. package/lib/attributors/line-height.cjs.js.map +1 -1
  81. package/lib/config/base64-image.cjs.js.map +1 -1
  82. package/lib/config/editor.config.cjs.js.map +1 -1
  83. package/lib/config/editor.utils.cjs.js.map +1 -1
  84. package/lib/config/i18n/en-us.cjs.js.map +1 -1
  85. package/lib/config/i18n/zh-cn.cjs.js.map +1 -1
  86. package/lib/config/index.cjs.js.map +1 -1
  87. package/lib/core/fluent-editor.cjs.js.map +1 -1
  88. package/lib/fluent-editor.cjs.js.map +1 -1
  89. package/lib/formats/soft-break.cjs.js.map +1 -1
  90. package/lib/formats/strike.cjs.js.map +1 -1
  91. package/lib/formats/video.cjs.js.map +1 -1
  92. package/lib/modules/counter.cjs.js.map +1 -1
  93. package/lib/modules/custom-clipboard.cjs.js.map +1 -1
  94. package/lib/modules/custom-image/BlotFormatter.cjs.js +28 -0
  95. package/lib/modules/custom-image/BlotFormatter.cjs.js.map +1 -1
  96. package/lib/modules/custom-image/Options.cjs.js.map +1 -1
  97. package/lib/modules/custom-image/actions/Action.cjs.js.map +1 -1
  98. package/lib/modules/custom-image/actions/CustomResizeAction.cjs.js.map +1 -1
  99. package/lib/modules/custom-image/actions/DeleteAction.cjs.js.map +1 -1
  100. package/lib/modules/custom-image/image-bar.cjs.js +126 -0
  101. package/lib/modules/custom-image/image-bar.cjs.js.map +1 -0
  102. package/lib/modules/custom-image/image.cjs.js.map +1 -1
  103. package/lib/modules/custom-image/specs/BlotSpec.cjs.js.map +1 -1
  104. package/lib/modules/custom-image/specs/CustomImageSpec.cjs.js.map +1 -1
  105. package/lib/modules/custom-image/specs/ImageSpec.cjs.js.map +1 -1
  106. package/lib/modules/custom-uploader.cjs.js.map +1 -1
  107. package/lib/modules/divider.cjs.js.map +1 -1
  108. package/lib/modules/emoji/emoji-list/people.cjs.js.map +1 -1
  109. package/lib/modules/emoji/emoji-list.cjs.js.map +1 -1
  110. package/lib/modules/emoji/emoji-map.cjs.js.map +1 -1
  111. package/lib/modules/emoji/emoji-sprite.cjs.js.map +1 -1
  112. package/lib/modules/emoji/formats/emoji-blot.cjs.js.map +1 -1
  113. package/lib/modules/emoji/index.cjs.js.map +1 -1
  114. package/lib/modules/emoji/modules/emoji.cjs.js.map +1 -1
  115. package/lib/modules/emoji/modules/toolbar-emoji.cjs.js.map +1 -1
  116. package/lib/modules/emoji/utils.cjs.js.map +1 -1
  117. package/lib/modules/file/formats/file.cjs.js.map +1 -1
  118. package/lib/modules/file/index.cjs.js.map +1 -1
  119. package/lib/modules/file/modules/file-bar.cjs.js.map +1 -1
  120. package/lib/modules/global-link/constants.cjs.js.map +1 -1
  121. package/lib/modules/global-link/formats/customer-widget-link.cjs.js.map +1 -1
  122. package/lib/modules/global-link/formats/doc-link.cjs.js.map +1 -1
  123. package/lib/modules/global-link/formats/wiki-link.cjs.js.map +1 -1
  124. package/lib/modules/global-link/formats/work-item-link.cjs.js.map +1 -1
  125. package/lib/modules/global-link/index.cjs.js.map +1 -1
  126. package/lib/modules/global-link/utils/createTable.cjs.js.map +1 -1
  127. package/lib/modules/link/formats/link.cjs.js.map +1 -1
  128. package/lib/modules/link/index.cjs.js.map +1 -1
  129. package/lib/modules/link/modules/tooltip.cjs.js.map +1 -1
  130. package/lib/modules/mathlive/formats.cjs.js.map +1 -1
  131. package/lib/modules/mathlive/index.cjs.js.map +1 -1
  132. package/lib/modules/mathlive/tooltip.cjs.js.map +1 -1
  133. package/lib/modules/mention/Mention.cjs.js.map +1 -1
  134. package/lib/modules/mention/MentionLink.cjs.js.map +1 -1
  135. package/lib/modules/mention/constants.cjs.js.map +1 -1
  136. package/lib/modules/quick-menu.cjs.js.map +1 -1
  137. package/lib/modules/syntax.cjs.js.map +1 -1
  138. package/lib/modules/table/better-table.cjs.js.map +1 -1
  139. package/lib/modules/table/formats/header.cjs.js.map +1 -1
  140. package/lib/modules/table/formats/list.cjs.js.map +1 -1
  141. package/lib/modules/table/formats/table.cjs.js.map +1 -1
  142. package/lib/modules/table/modules/table-column-tool.cjs.js.map +1 -1
  143. package/lib/modules/table/modules/table-operation-menu.cjs.js.map +1 -1
  144. package/lib/modules/table/modules/table-scroll-bar.cjs.js.map +1 -1
  145. package/lib/modules/table/modules/table-selection.cjs.js.map +1 -1
  146. package/lib/modules/table/modules/table-selector.cjs.js.map +1 -1
  147. package/lib/modules/table/table-config.cjs.js.map +1 -1
  148. package/lib/modules/table/utils/index.cjs.js.map +1 -1
  149. package/lib/modules/table/utils/node-matchers.cjs.js.map +1 -1
  150. package/lib/modules/toolbar/better-picker.cjs.js.map +1 -1
  151. package/lib/modules/toolbar/index.cjs.js.map +1 -1
  152. package/lib/themes/snow.cjs.js.map +1 -1
  153. package/lib/tools/screenshot.cjs.js.map +1 -1
  154. package/lib/ui/icons.cjs.js.map +1 -1
  155. package/lib/ui/icons.config.cjs.js.map +1 -1
  156. package/lib/utils/debounce.cjs.js.map +1 -1
  157. package/lib/utils/method.cjs.js.map +1 -1
  158. package/package.json +57 -56
  159. package/style.css +193 -0
  160. package/types/attributors/font-size.d.ts +1 -1
  161. package/types/attributors/font-style.d.ts +1 -1
  162. package/types/attributors/index.d.ts +4 -4
  163. package/types/attributors/line-height.d.ts +1 -1
  164. package/types/attributors/text-indent.d.ts +1 -1
  165. package/types/config/base64-image.d.ts +2 -2
  166. package/types/config/editor.config.d.ts +229 -229
  167. package/types/config/editor.utils.d.ts +42 -42
  168. package/types/config/i18n/en-us.d.ts +108 -108
  169. package/types/config/i18n/zh-cn.d.ts +108 -108
  170. package/types/config/index.d.ts +6 -6
  171. package/types/config/types/additional-toolbar-item.interface.d.ts +7 -6
  172. package/types/config/types/content-change.interface.d.ts +13 -13
  173. package/types/config/types/content-save.interface.d.ts +6 -6
  174. package/types/config/types/counter-option.interface.d.ts +8 -7
  175. package/types/config/types/editor-config.interface.d.ts +34 -33
  176. package/types/config/types/editor-modules.interface.d.ts +30 -29
  177. package/types/config/types/editor-toolbar.interface.d.ts +4 -3
  178. package/types/config/types/file-operation.interface.d.ts +11 -10
  179. package/types/config/types/focus-change.interface.d.ts +4 -4
  180. package/types/config/types/fullscreen-module.interface.d.ts +4 -4
  181. package/types/config/types/help-panel-item.interface.d.ts +5 -5
  182. package/types/config/types/help-panel-option.interface.d.ts +6 -5
  183. package/types/config/types/image-module.interface.d.ts +3 -3
  184. package/types/config/types/image-upload.interface.d.ts +6 -5
  185. package/types/config/types/index.d.ts +23 -23
  186. package/types/config/types/load-on-demand-module.interface.d.ts +5 -5
  187. package/types/config/types/mention-module.interface.d.ts +8 -8
  188. package/types/config/types/paste-change.interface.d.ts +5 -4
  189. package/types/config/types/quick-menu-module.interface.d.ts +3 -3
  190. package/types/config/types/range.interface.d.ts +4 -4
  191. package/types/config/types/registry-options.interface.d.ts +5 -5
  192. package/types/config/types/selection-change.interface.d.ts +7 -6
  193. package/types/config/types/toolbar-item.interface.d.ts +13 -13
  194. package/types/config/types/type.d.ts +5 -4
  195. package/types/config/types/validate-error.interface.d.ts +13 -13
  196. package/types/core/fluent-editor.d.ts +10 -9
  197. package/types/fluent-editor.d.ts +2 -1
  198. package/types/formats/soft-break.d.ts +14 -14
  199. package/types/formats/strike.d.ts +7 -7
  200. package/types/formats/video.d.ts +15 -14
  201. package/types/index.d.ts +4 -3
  202. package/types/modules/counter.d.ts +15 -14
  203. package/types/modules/custom-clipboard.d.ts +27 -26
  204. package/types/modules/custom-image/BlotFormatter.d.ts +26 -20
  205. package/types/modules/custom-image/Options.d.ts +36 -36
  206. package/types/modules/custom-image/actions/Action.d.ts +7 -7
  207. package/types/modules/custom-image/actions/CustomResizeAction.d.ts +23 -22
  208. package/types/modules/custom-image/actions/DeleteAction.d.ts +6 -5
  209. package/types/modules/custom-image/image-bar.d.ts +15 -0
  210. package/types/modules/custom-image/image.d.ts +28 -28
  211. package/types/modules/custom-image/specs/BlotSpec.d.ts +11 -10
  212. package/types/modules/custom-image/specs/CustomImageSpec.d.ts +18 -17
  213. package/types/modules/custom-image/specs/ImageSpec.d.ts +9 -8
  214. package/types/modules/custom-uploader.d.ts +30 -29
  215. package/types/modules/divider.d.ts +7 -7
  216. package/types/modules/emoji/emoji-list/index.d.ts +1 -1
  217. package/types/modules/emoji/emoji-list/people.d.ts +1 -1
  218. package/types/modules/emoji/emoji-list.d.ts +2 -2
  219. package/types/modules/emoji/emoji-map.d.ts +2 -2
  220. package/types/modules/emoji/emoji-sprite.d.ts +1 -1
  221. package/types/modules/emoji/formats/emoji-blot.d.ts +13 -13
  222. package/types/modules/emoji/index.d.ts +7 -6
  223. package/types/modules/emoji/modules/emoji.d.ts +38 -38
  224. package/types/modules/emoji/modules/toolbar-emoji.d.ts +8 -8
  225. package/types/modules/emoji/utils.d.ts +1 -1
  226. package/types/modules/file/formats/file.d.ts +15 -15
  227. package/types/modules/file/index.d.ts +10 -9
  228. package/types/modules/file/modules/file-bar.d.ts +14 -14
  229. package/types/modules/global-link/constants.d.ts +3 -3
  230. package/types/modules/global-link/formats/customer-widget-link.d.ts +14 -14
  231. package/types/modules/global-link/formats/doc-link.d.ts +17 -17
  232. package/types/modules/global-link/formats/wiki-link.d.ts +16 -16
  233. package/types/modules/global-link/formats/work-item-link.d.ts +16 -16
  234. package/types/modules/global-link/global-link-panel.d.ts +18 -17
  235. package/types/modules/global-link/index.d.ts +18 -18
  236. package/types/modules/global-link/utils/createTable.d.ts +1 -1
  237. package/types/modules/i18n.d.ts +15 -14
  238. package/types/modules/link/formats/link.d.ts +15 -14
  239. package/types/modules/link/index.d.ts +6 -6
  240. package/types/modules/link/modules/tooltip.d.ts +32 -31
  241. package/types/modules/mathlive/formats.d.ts +21 -20
  242. package/types/modules/mathlive/index.d.ts +7 -6
  243. package/types/modules/mathlive/tooltip.d.ts +15 -14
  244. package/types/modules/mention/Mention.d.ts +54 -53
  245. package/types/modules/mention/MentionLink.d.ts +15 -14
  246. package/types/modules/mention/constants.d.ts +3 -3
  247. package/types/modules/quick-menu.d.ts +21 -20
  248. package/types/modules/syntax.d.ts +13 -12
  249. package/types/modules/table/better-table.d.ts +32 -31
  250. package/types/modules/table/formats/header.d.ts +22 -21
  251. package/types/modules/table/formats/list.d.ts +34 -34
  252. package/types/modules/table/formats/table.d.ts +146 -145
  253. package/types/modules/table/modules/table-column-tool.d.ts +23 -23
  254. package/types/modules/table/modules/table-operation-menu.d.ts +38 -38
  255. package/types/modules/table/modules/table-scroll-bar.d.ts +33 -33
  256. package/types/modules/table/modules/table-selection.d.ts +37 -37
  257. package/types/modules/table/modules/table-selector.d.ts +22 -22
  258. package/types/modules/table/table-config.d.ts +38 -38
  259. package/types/modules/table/utils/index.d.ts +17 -17
  260. package/types/modules/table/utils/node-matchers.d.ts +9 -9
  261. package/types/modules/toolbar/better-picker.d.ts +1 -1
  262. package/types/modules/toolbar/index.d.ts +8 -7
  263. package/types/modules/toolbar/toolbar-tip.d.ts +8 -7
  264. package/types/themes/snow.d.ts +3 -2
  265. package/types/tools/format-painter.d.ts +14 -13
  266. package/types/tools/fullscreen.d.ts +2 -1
  267. package/types/tools/screenshot.d.ts +18 -17
  268. package/types/ui/icons.config.d.ts +36 -36
  269. package/types/ui/icons.d.ts +6 -6
  270. package/types/utils/debounce.d.ts +6 -6
  271. package/types/utils/image.d.ts +1 -1
  272. package/types/utils/is.d.ts +4 -4
  273. package/types/utils/method.d.ts +6 -6
  274. package/types/utils/scroll-lock.d.ts +6 -6
@@ -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;