@opentiny/fluent-editor 3.25.9 → 3.25.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (271) 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 +8 -4
  16. package/es/modules/custom-clipboard.es.js.map +1 -1
  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.map +1 -1
  23. package/es/modules/custom-image/image.es.js.map +1 -1
  24. package/es/modules/custom-image/specs/BlotSpec.es.js.map +1 -1
  25. package/es/modules/custom-image/specs/CustomImageSpec.es.js.map +1 -1
  26. package/es/modules/custom-image/specs/ImageSpec.es.js.map +1 -1
  27. package/es/modules/custom-uploader.es.js.map +1 -1
  28. package/es/modules/divider.es.js.map +1 -1
  29. package/es/modules/emoji/emoji-list/people.es.js.map +1 -1
  30. package/es/modules/emoji/emoji-list.es.js.map +1 -1
  31. package/es/modules/emoji/emoji-map.es.js.map +1 -1
  32. package/es/modules/emoji/emoji-sprite.es.js.map +1 -1
  33. package/es/modules/emoji/formats/emoji-blot.es.js.map +1 -1
  34. package/es/modules/emoji/index.es.js.map +1 -1
  35. package/es/modules/emoji/modules/emoji.es.js.map +1 -1
  36. package/es/modules/emoji/modules/toolbar-emoji.es.js.map +1 -1
  37. package/es/modules/emoji/utils.es.js.map +1 -1
  38. package/es/modules/file/formats/file.es.js.map +1 -1
  39. package/es/modules/file/index.es.js.map +1 -1
  40. package/es/modules/file/modules/file-bar.es.js.map +1 -1
  41. package/es/modules/global-link/constants.es.js.map +1 -1
  42. package/es/modules/global-link/formats/customer-widget-link.es.js.map +1 -1
  43. package/es/modules/global-link/formats/doc-link.es.js.map +1 -1
  44. package/es/modules/global-link/formats/wiki-link.es.js.map +1 -1
  45. package/es/modules/global-link/formats/work-item-link.es.js.map +1 -1
  46. package/es/modules/global-link/index.es.js.map +1 -1
  47. package/es/modules/global-link/utils/createTable.es.js.map +1 -1
  48. package/es/modules/link/formats/link.es.js.map +1 -1
  49. package/es/modules/link/index.es.js.map +1 -1
  50. package/es/modules/link/modules/tooltip.es.js.map +1 -1
  51. package/es/modules/mathlive/formats.es.js.map +1 -1
  52. package/es/modules/mathlive/index.es.js.map +1 -1
  53. package/es/modules/mathlive/tooltip.es.js.map +1 -1
  54. package/es/modules/mention/Mention.es.js.map +1 -1
  55. package/es/modules/mention/MentionLink.es.js.map +1 -1
  56. package/es/modules/mention/constants.es.js.map +1 -1
  57. package/es/modules/quick-menu.es.js.map +1 -1
  58. package/es/modules/syntax.es.js.map +1 -1
  59. package/es/modules/table/better-table.es.js.map +1 -1
  60. package/es/modules/table/formats/header.es.js.map +1 -1
  61. package/es/modules/table/formats/list.es.js.map +1 -1
  62. package/es/modules/table/formats/table.es.js.map +1 -1
  63. package/es/modules/table/modules/table-column-tool.es.js.map +1 -1
  64. package/es/modules/table/modules/table-operation-menu.es.js.map +1 -1
  65. package/es/modules/table/modules/table-scroll-bar.es.js.map +1 -1
  66. package/es/modules/table/modules/table-selection.es.js.map +1 -1
  67. package/es/modules/table/modules/table-selector.es.js.map +1 -1
  68. package/es/modules/table/table-config.es.js.map +1 -1
  69. package/es/modules/table/utils/index.es.js.map +1 -1
  70. package/es/modules/table/utils/node-matchers.es.js.map +1 -1
  71. package/es/modules/toolbar/better-picker.es.js.map +1 -1
  72. package/es/modules/toolbar/index.es.js.map +1 -1
  73. package/es/themes/snow.es.js.map +1 -1
  74. package/es/tools/screenshot.es.js.map +1 -1
  75. package/es/ui/icons.config.es.js.map +1 -1
  76. package/es/ui/icons.es.js.map +1 -1
  77. package/es/utils/debounce.es.js.map +1 -1
  78. package/es/utils/method.es.js.map +1 -1
  79. package/lib/attributors/line-height.cjs.js.map +1 -1
  80. package/lib/config/base64-image.cjs.js.map +1 -1
  81. package/lib/config/editor.config.cjs.js.map +1 -1
  82. package/lib/config/editor.utils.cjs.js.map +1 -1
  83. package/lib/config/i18n/en-us.cjs.js.map +1 -1
  84. package/lib/config/i18n/zh-cn.cjs.js.map +1 -1
  85. package/lib/config/index.cjs.js.map +1 -1
  86. package/lib/core/fluent-editor.cjs.js.map +1 -1
  87. package/lib/fluent-editor.cjs.js.map +1 -1
  88. package/lib/formats/soft-break.cjs.js.map +1 -1
  89. package/lib/formats/strike.cjs.js.map +1 -1
  90. package/lib/formats/video.cjs.js.map +1 -1
  91. package/lib/modules/counter.cjs.js.map +1 -1
  92. package/lib/modules/custom-clipboard.cjs.js +8 -4
  93. package/lib/modules/custom-clipboard.cjs.js.map +1 -1
  94. package/lib/modules/custom-image/BlotFormatter.cjs.js.map +1 -1
  95. package/lib/modules/custom-image/Options.cjs.js.map +1 -1
  96. package/lib/modules/custom-image/actions/Action.cjs.js.map +1 -1
  97. package/lib/modules/custom-image/actions/CustomResizeAction.cjs.js.map +1 -1
  98. package/lib/modules/custom-image/actions/DeleteAction.cjs.js.map +1 -1
  99. package/lib/modules/custom-image/image-bar.cjs.js.map +1 -1
  100. package/lib/modules/custom-image/image.cjs.js.map +1 -1
  101. package/lib/modules/custom-image/specs/BlotSpec.cjs.js.map +1 -1
  102. package/lib/modules/custom-image/specs/CustomImageSpec.cjs.js.map +1 -1
  103. package/lib/modules/custom-image/specs/ImageSpec.cjs.js.map +1 -1
  104. package/lib/modules/custom-uploader.cjs.js.map +1 -1
  105. package/lib/modules/divider.cjs.js.map +1 -1
  106. package/lib/modules/emoji/emoji-list/people.cjs.js.map +1 -1
  107. package/lib/modules/emoji/emoji-list.cjs.js.map +1 -1
  108. package/lib/modules/emoji/emoji-map.cjs.js.map +1 -1
  109. package/lib/modules/emoji/emoji-sprite.cjs.js.map +1 -1
  110. package/lib/modules/emoji/formats/emoji-blot.cjs.js.map +1 -1
  111. package/lib/modules/emoji/index.cjs.js.map +1 -1
  112. package/lib/modules/emoji/modules/emoji.cjs.js.map +1 -1
  113. package/lib/modules/emoji/modules/toolbar-emoji.cjs.js.map +1 -1
  114. package/lib/modules/emoji/utils.cjs.js.map +1 -1
  115. package/lib/modules/file/formats/file.cjs.js.map +1 -1
  116. package/lib/modules/file/index.cjs.js.map +1 -1
  117. package/lib/modules/file/modules/file-bar.cjs.js.map +1 -1
  118. package/lib/modules/global-link/constants.cjs.js.map +1 -1
  119. package/lib/modules/global-link/formats/customer-widget-link.cjs.js.map +1 -1
  120. package/lib/modules/global-link/formats/doc-link.cjs.js.map +1 -1
  121. package/lib/modules/global-link/formats/wiki-link.cjs.js.map +1 -1
  122. package/lib/modules/global-link/formats/work-item-link.cjs.js.map +1 -1
  123. package/lib/modules/global-link/index.cjs.js.map +1 -1
  124. package/lib/modules/global-link/utils/createTable.cjs.js.map +1 -1
  125. package/lib/modules/link/formats/link.cjs.js.map +1 -1
  126. package/lib/modules/link/index.cjs.js.map +1 -1
  127. package/lib/modules/link/modules/tooltip.cjs.js.map +1 -1
  128. package/lib/modules/mathlive/formats.cjs.js.map +1 -1
  129. package/lib/modules/mathlive/index.cjs.js.map +1 -1
  130. package/lib/modules/mathlive/tooltip.cjs.js.map +1 -1
  131. package/lib/modules/mention/Mention.cjs.js.map +1 -1
  132. package/lib/modules/mention/MentionLink.cjs.js.map +1 -1
  133. package/lib/modules/mention/constants.cjs.js.map +1 -1
  134. package/lib/modules/quick-menu.cjs.js.map +1 -1
  135. package/lib/modules/syntax.cjs.js.map +1 -1
  136. package/lib/modules/table/better-table.cjs.js.map +1 -1
  137. package/lib/modules/table/formats/header.cjs.js.map +1 -1
  138. package/lib/modules/table/formats/list.cjs.js.map +1 -1
  139. package/lib/modules/table/formats/table.cjs.js.map +1 -1
  140. package/lib/modules/table/modules/table-column-tool.cjs.js.map +1 -1
  141. package/lib/modules/table/modules/table-operation-menu.cjs.js.map +1 -1
  142. package/lib/modules/table/modules/table-scroll-bar.cjs.js.map +1 -1
  143. package/lib/modules/table/modules/table-selection.cjs.js.map +1 -1
  144. package/lib/modules/table/modules/table-selector.cjs.js.map +1 -1
  145. package/lib/modules/table/table-config.cjs.js.map +1 -1
  146. package/lib/modules/table/utils/index.cjs.js.map +1 -1
  147. package/lib/modules/table/utils/node-matchers.cjs.js.map +1 -1
  148. package/lib/modules/toolbar/better-picker.cjs.js.map +1 -1
  149. package/lib/modules/toolbar/index.cjs.js.map +1 -1
  150. package/lib/themes/snow.cjs.js.map +1 -1
  151. package/lib/tools/screenshot.cjs.js.map +1 -1
  152. package/lib/ui/icons.cjs.js.map +1 -1
  153. package/lib/ui/icons.config.cjs.js.map +1 -1
  154. package/lib/utils/debounce.cjs.js.map +1 -1
  155. package/lib/utils/method.cjs.js.map +1 -1
  156. package/package.json +1 -1
  157. package/types/attributors/font-size.d.ts +1 -1
  158. package/types/attributors/font-style.d.ts +1 -1
  159. package/types/attributors/index.d.ts +4 -4
  160. package/types/attributors/line-height.d.ts +1 -1
  161. package/types/attributors/text-indent.d.ts +1 -1
  162. package/types/config/base64-image.d.ts +2 -2
  163. package/types/config/editor.config.d.ts +229 -229
  164. package/types/config/editor.utils.d.ts +46 -46
  165. package/types/config/i18n/en-us.d.ts +108 -108
  166. package/types/config/i18n/zh-cn.d.ts +108 -108
  167. package/types/config/index.d.ts +6 -6
  168. package/types/config/types/additional-toolbar-item.interface.d.ts +6 -7
  169. package/types/config/types/content-change.interface.d.ts +13 -13
  170. package/types/config/types/content-save.interface.d.ts +6 -6
  171. package/types/config/types/counter-option.interface.d.ts +7 -8
  172. package/types/config/types/editor-config.interface.d.ts +33 -34
  173. package/types/config/types/editor-modules.interface.d.ts +29 -30
  174. package/types/config/types/editor-toolbar.interface.d.ts +3 -4
  175. package/types/config/types/file-operation.interface.d.ts +10 -11
  176. package/types/config/types/focus-change.interface.d.ts +4 -4
  177. package/types/config/types/fullscreen-module.interface.d.ts +4 -4
  178. package/types/config/types/help-panel-item.interface.d.ts +5 -5
  179. package/types/config/types/help-panel-option.interface.d.ts +5 -6
  180. package/types/config/types/image-module.interface.d.ts +3 -3
  181. package/types/config/types/image-upload.interface.d.ts +5 -6
  182. package/types/config/types/index.d.ts +23 -23
  183. package/types/config/types/load-on-demand-module.interface.d.ts +5 -5
  184. package/types/config/types/mention-module.interface.d.ts +8 -8
  185. package/types/config/types/paste-change.interface.d.ts +4 -5
  186. package/types/config/types/quick-menu-module.interface.d.ts +3 -3
  187. package/types/config/types/range.interface.d.ts +4 -4
  188. package/types/config/types/registry-options.interface.d.ts +5 -5
  189. package/types/config/types/selection-change.interface.d.ts +6 -7
  190. package/types/config/types/toolbar-item.interface.d.ts +13 -13
  191. package/types/config/types/type.d.ts +4 -5
  192. package/types/config/types/validate-error.interface.d.ts +13 -13
  193. package/types/core/fluent-editor.d.ts +9 -10
  194. package/types/fluent-editor.d.ts +1 -2
  195. package/types/formats/soft-break.d.ts +14 -14
  196. package/types/formats/strike.d.ts +7 -7
  197. package/types/formats/video.d.ts +14 -15
  198. package/types/index.d.ts +3 -4
  199. package/types/modules/counter.d.ts +14 -15
  200. package/types/modules/custom-clipboard.d.ts +26 -27
  201. package/types/modules/custom-image/BlotFormatter.d.ts +24 -25
  202. package/types/modules/custom-image/Options.d.ts +36 -36
  203. package/types/modules/custom-image/actions/Action.d.ts +7 -7
  204. package/types/modules/custom-image/actions/CustomResizeAction.d.ts +22 -23
  205. package/types/modules/custom-image/actions/DeleteAction.d.ts +5 -6
  206. package/types/modules/custom-image/image-bar.d.ts +13 -14
  207. package/types/modules/custom-image/image.d.ts +28 -28
  208. package/types/modules/custom-image/specs/BlotSpec.d.ts +10 -11
  209. package/types/modules/custom-image/specs/CustomImageSpec.d.ts +17 -18
  210. package/types/modules/custom-image/specs/ImageSpec.d.ts +8 -9
  211. package/types/modules/custom-uploader.d.ts +29 -30
  212. package/types/modules/divider.d.ts +7 -7
  213. package/types/modules/emoji/emoji-list/index.d.ts +1 -1
  214. package/types/modules/emoji/emoji-list/people.d.ts +1 -1
  215. package/types/modules/emoji/emoji-list.d.ts +2 -2
  216. package/types/modules/emoji/emoji-map.d.ts +2 -2
  217. package/types/modules/emoji/emoji-sprite.d.ts +1 -1
  218. package/types/modules/emoji/formats/emoji-blot.d.ts +13 -13
  219. package/types/modules/emoji/index.d.ts +6 -7
  220. package/types/modules/emoji/modules/emoji.d.ts +38 -38
  221. package/types/modules/emoji/modules/toolbar-emoji.d.ts +8 -8
  222. package/types/modules/emoji/utils.d.ts +1 -1
  223. package/types/modules/file/formats/file.d.ts +15 -15
  224. package/types/modules/file/index.d.ts +9 -10
  225. package/types/modules/file/modules/file-bar.d.ts +14 -14
  226. package/types/modules/global-link/constants.d.ts +3 -3
  227. package/types/modules/global-link/formats/customer-widget-link.d.ts +14 -14
  228. package/types/modules/global-link/formats/doc-link.d.ts +17 -17
  229. package/types/modules/global-link/formats/wiki-link.d.ts +16 -16
  230. package/types/modules/global-link/formats/work-item-link.d.ts +16 -16
  231. package/types/modules/global-link/global-link-panel.d.ts +17 -18
  232. package/types/modules/global-link/index.d.ts +18 -18
  233. package/types/modules/global-link/utils/createTable.d.ts +1 -1
  234. package/types/modules/i18n.d.ts +14 -15
  235. package/types/modules/link/formats/link.d.ts +14 -15
  236. package/types/modules/link/index.d.ts +6 -6
  237. package/types/modules/link/modules/tooltip.d.ts +31 -32
  238. package/types/modules/mathlive/formats.d.ts +20 -21
  239. package/types/modules/mathlive/index.d.ts +6 -7
  240. package/types/modules/mathlive/tooltip.d.ts +14 -15
  241. package/types/modules/mention/Mention.d.ts +53 -54
  242. package/types/modules/mention/MentionLink.d.ts +14 -15
  243. package/types/modules/mention/constants.d.ts +3 -3
  244. package/types/modules/quick-menu.d.ts +20 -21
  245. package/types/modules/syntax.d.ts +12 -13
  246. package/types/modules/table/better-table.d.ts +31 -32
  247. package/types/modules/table/formats/header.d.ts +21 -22
  248. package/types/modules/table/formats/list.d.ts +34 -34
  249. package/types/modules/table/formats/table.d.ts +145 -146
  250. package/types/modules/table/modules/table-column-tool.d.ts +23 -23
  251. package/types/modules/table/modules/table-operation-menu.d.ts +38 -38
  252. package/types/modules/table/modules/table-scroll-bar.d.ts +33 -33
  253. package/types/modules/table/modules/table-selection.d.ts +37 -37
  254. package/types/modules/table/modules/table-selector.d.ts +22 -22
  255. package/types/modules/table/table-config.d.ts +38 -38
  256. package/types/modules/table/utils/index.d.ts +17 -17
  257. package/types/modules/table/utils/node-matchers.d.ts +9 -9
  258. package/types/modules/toolbar/better-picker.d.ts +1 -1
  259. package/types/modules/toolbar/index.d.ts +7 -8
  260. package/types/modules/toolbar/toolbar-tip.d.ts +7 -8
  261. package/types/themes/snow.d.ts +2 -3
  262. package/types/tools/format-painter.d.ts +13 -14
  263. package/types/tools/fullscreen.d.ts +1 -2
  264. package/types/tools/screenshot.d.ts +17 -18
  265. package/types/ui/icons.config.d.ts +36 -36
  266. package/types/ui/icons.d.ts +6 -6
  267. package/types/utils/debounce.d.ts +6 -6
  268. package/types/utils/image.d.ts +1 -1
  269. package/types/utils/is.d.ts +4 -4
  270. package/types/utils/method.d.ts +6 -6
  271. package/types/utils/scroll-lock.d.ts +6 -6
@@ -1,55 +1,54 @@
1
1
  import { default as Quill } from 'quill';
2
-
3
- interface MentionOption {
4
- containerClass?: string;
5
- defaultLink?: string;
6
- itemActiveClass?: string;
7
- itemKey: string;
8
- itemClass?: string;
9
- listClass?: string;
10
- listHideClass?: string;
11
- maxHeight?: number;
12
- mentionChar?: string;
13
- remove?: (data: any) => void;
14
- renderMentionItem?: (data: any) => string | HTMLElement;
15
- renderMentionText?: (data: any) => string | HTMLElement;
16
- search?: (term: string) => Promise<any[]>;
17
- searchKey: string;
18
- select?: (data: any) => void;
19
- target?: string;
20
- }
21
- declare class Mention {
22
- private quill;
23
- private readonly options;
24
- private readonly mentionListEL;
25
- private activeMentionIndex;
26
- private latestMentionList;
27
- private latestMentionCharPos;
28
- private latestCaretPos;
29
- private searchTerm;
30
- private needInsertBr;
31
- private readonly defaultOptions;
32
- static register(): void;
33
- constructor(quill: Quill, options: MentionOption);
34
- on(eventName: any, callback: any): void;
35
- getMentionItemIndex(itemEl: Element): unknown;
36
- handleTextChange: (_delta: any, _oldDelta: any, source: any) => void;
37
- handleMouseClick(_itemEl: HTMLLIElement, index: number): void;
38
- handleMouseEnter(_itemEl: HTMLLIElement, index: number): void;
39
- handleArrowUpKey: () => boolean;
40
- handleArrowDownKey: () => boolean;
41
- handleEnterKey: () => boolean;
42
- handleEscapeKey: () => boolean;
43
- getActiveMentionItem(): Element;
44
- isOpen(): boolean;
45
- searchMentionListByTerm(term: string): Promise<void>;
46
- showMentionList(mentionList: any[]): void;
47
- hideMentionList(): void;
48
- setMentionListPos(): void;
49
- render(mentionList: any[]): void;
50
- highlightMentionItem(index: number): void;
51
- scrollIntoView(node: Element): void;
52
- selectMentionItem(index?: number, isClick?: boolean): void;
53
- insertMentionBlot(activeMentionItem: any, isClick?: boolean): void;
54
- }
55
- export { Mention as default };
2
+ interface MentionOption {
3
+ containerClass?: string;
4
+ defaultLink?: string;
5
+ itemActiveClass?: string;
6
+ itemKey: string;
7
+ itemClass?: string;
8
+ listClass?: string;
9
+ listHideClass?: string;
10
+ maxHeight?: number;
11
+ mentionChar?: string;
12
+ remove?: (data: any) => void;
13
+ renderMentionItem?: (data: any) => string | HTMLElement;
14
+ renderMentionText?: (data: any) => string | HTMLElement;
15
+ search?: (term: string) => Promise<any[]>;
16
+ searchKey: string;
17
+ select?: (data: any) => void;
18
+ target?: string;
19
+ }
20
+ declare class Mention {
21
+ private quill;
22
+ private readonly options;
23
+ private readonly mentionListEL;
24
+ private activeMentionIndex;
25
+ private latestMentionList;
26
+ private latestMentionCharPos;
27
+ private latestCaretPos;
28
+ private searchTerm;
29
+ private needInsertBr;
30
+ private readonly defaultOptions;
31
+ static register(): void;
32
+ constructor(quill: Quill, options: MentionOption);
33
+ on(eventName: any, callback: any): void;
34
+ getMentionItemIndex(itemEl: Element): unknown;
35
+ handleTextChange: (_delta: any, _oldDelta: any, source: any) => void;
36
+ handleMouseClick(_itemEl: HTMLLIElement, index: number): void;
37
+ handleMouseEnter(_itemEl: HTMLLIElement, index: number): void;
38
+ handleArrowUpKey: () => boolean;
39
+ handleArrowDownKey: () => boolean;
40
+ handleEnterKey: () => boolean;
41
+ handleEscapeKey: () => boolean;
42
+ getActiveMentionItem(): Element;
43
+ isOpen(): boolean;
44
+ searchMentionListByTerm(term: string): Promise<void>;
45
+ showMentionList(mentionList: any[]): void;
46
+ hideMentionList(): void;
47
+ setMentionListPos(): void;
48
+ render(mentionList: any[]): void;
49
+ highlightMentionItem(index: number): void;
50
+ scrollIntoView(node: Element): void;
51
+ selectMentionItem(index?: number, isClick?: boolean): void;
52
+ insertMentionBlot(activeMentionItem: any, isClick?: boolean): void;
53
+ }
54
+ export { Mention as default };
@@ -1,16 +1,15 @@
1
1
  import { default as TypeEmbed } from 'quill/blots/embed';
2
-
3
- declare const Embed: typeof TypeEmbed;
4
- declare class MentionLink extends Embed {
5
- static blotName: string;
6
- static tagName: string;
7
- static className: string;
8
- scroll: any;
9
- mentionData: any;
10
- static create(data: any): HTMLElement;
11
- static value(domNode: HTMLElement): Record<string, any>;
12
- constructor(scroll: any, domNode: any, data: any);
13
- value(): any;
14
- remove(): void;
15
- }
16
- export { MentionLink as default };
2
+ declare const Embed: typeof TypeEmbed;
3
+ declare class MentionLink extends Embed {
4
+ static blotName: string;
5
+ static tagName: string;
6
+ static className: string;
7
+ scroll: any;
8
+ mentionData: any;
9
+ static create(data: any): HTMLElement;
10
+ static value(domNode: HTMLElement): Record<string, any>;
11
+ constructor(scroll: any, domNode: any, data: any);
12
+ value(): any;
13
+ remove(): void;
14
+ }
15
+ export { MentionLink as default };
@@ -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,22 +1,21 @@
1
1
  import { default as Quill } from 'quill';
2
-
3
- interface QuickMenuOptions {
4
- container: string;
5
- component: any;
6
- }
7
- declare class QuickMenu {
8
- private quill;
9
- private options;
10
- private container;
11
- private hostElement;
12
- private quickMenu;
13
- private quickMenuContainer;
14
- constructor(quill: Quill, options: QuickMenuOptions);
15
- handleSlashKeyDown: (_range: any, context: any) => void;
16
- private isOpen;
17
- hideQuickMenu: (event: any) => void;
18
- handleArrowUpKey: (_range: any, _context: any) => boolean;
19
- handleArrowDownKey: (_range: any, _context: any) => boolean;
20
- handleEnterKey: (_range: any, _context: any) => boolean;
21
- }
22
- export default QuickMenu;
2
+ interface QuickMenuOptions {
3
+ container: string;
4
+ component: any;
5
+ }
6
+ declare class QuickMenu {
7
+ private quill;
8
+ private options;
9
+ private container;
10
+ private hostElement;
11
+ private quickMenu;
12
+ private quickMenuContainer;
13
+ constructor(quill: Quill, options: QuickMenuOptions);
14
+ handleSlashKeyDown: (_range: any, context: any) => void;
15
+ private isOpen;
16
+ hideQuickMenu: (event: any) => void;
17
+ handleArrowUpKey: (_range: any, _context: any) => boolean;
18
+ handleArrowDownKey: (_range: any, _context: any) => boolean;
19
+ handleEnterKey: (_range: any, _context: any) => boolean;
20
+ }
21
+ export default QuickMenu;
@@ -1,14 +1,13 @@
1
1
  import { default as TypeSyntax } from 'quill/modules/syntax';
2
-
3
- declare const Syntax: typeof TypeSyntax;
4
- declare class CustomSyntax extends Syntax {
5
- static DEFAULTS: {
6
- hljs: any;
7
- interval: number;
8
- languages: {
9
- key: string;
10
- label: string;
11
- }[];
12
- };
13
- }
14
- export default CustomSyntax;
2
+ declare const Syntax: typeof TypeSyntax;
3
+ declare class CustomSyntax extends Syntax {
4
+ static DEFAULTS: {
5
+ hljs: any;
6
+ interval: number;
7
+ languages: {
8
+ key: string;
9
+ label: string;
10
+ }[];
11
+ };
12
+ }
13
+ export default CustomSyntax;
@@ -1,35 +1,34 @@
1
1
  import { default as TableColumnTool } from './modules/table-column-tool';
2
2
  import { default as TableScrollBar } from './modules/table-scroll-bar';
3
3
  import { default as TableSelector } from './modules/table-selector';
4
-
5
- declare const Module: unknown;
6
- declare class BetterTable extends Module {
7
- static keyboardBindings: any;
8
- isComposition: boolean;
9
- quill: any;
10
- table: any;
11
- modulesContainer: any;
12
- tableSelection: any;
13
- subscriber: any;
14
- tableOperationMenu: any;
15
- columnTool: TableColumnTool;
16
- tableScrollBar: TableScrollBar;
17
- tableSelector: TableSelector;
18
- isTableSelectorVisible: boolean;
19
- tableSelectorWrapper: HTMLDivElement;
20
- static register(): void;
21
- constructor(quill: any, options: any);
22
- initTableSelector(): void;
23
- tableSelectorWrapperCreator(): HTMLDivElement;
24
- handleMouseDown(evt: any, quill: any): void;
25
- handleKeyDown(evt: any, quill: any): void;
26
- handleCompositionstart(quill: any): void;
27
- handleCompositionend(quill: any): void;
28
- handleTableSelectorHover(): void;
29
- handleTableSelectorMouseOut(): void;
30
- getTable(range?: any): any[];
31
- insertTable(rows: any, columns: any): void;
32
- showTableTools(table: any, quill: any): void;
33
- hideTableTools(): void;
34
- }
35
- export default BetterTable;
4
+ declare const Module: unknown;
5
+ declare class BetterTable extends Module {
6
+ static keyboardBindings: any;
7
+ isComposition: boolean;
8
+ quill: any;
9
+ table: any;
10
+ modulesContainer: any;
11
+ tableSelection: any;
12
+ subscriber: any;
13
+ tableOperationMenu: any;
14
+ columnTool: TableColumnTool;
15
+ tableScrollBar: TableScrollBar;
16
+ tableSelector: TableSelector;
17
+ isTableSelectorVisible: boolean;
18
+ tableSelectorWrapper: HTMLDivElement;
19
+ static register(): void;
20
+ constructor(quill: any, options: any);
21
+ initTableSelector(): void;
22
+ tableSelectorWrapperCreator(): HTMLDivElement;
23
+ handleMouseDown(evt: any, quill: any): void;
24
+ handleKeyDown(evt: any, quill: any): void;
25
+ handleCompositionstart(quill: any): void;
26
+ handleCompositionend(quill: any): void;
27
+ handleTableSelectorHover(): void;
28
+ handleTableSelectorMouseOut(): void;
29
+ getTable(range?: any): any[];
30
+ insertTable(rows: any, columns: any): void;
31
+ showTableTools(table: any, quill: any): void;
32
+ hideTableTools(): void;
33
+ }
34
+ export default BetterTable;
@@ -1,23 +1,22 @@
1
1
  import { default as TypeHeader } from 'quill/formats/header';
2
-
3
- declare const OriginHeader: typeof TypeHeader;
4
- declare class Header extends OriginHeader {
5
- static tagName: any;
6
- static blotName: string;
7
- domNode: any;
8
- replaceWith: any;
9
- parent: any;
10
- wrap: any;
11
- enforceAllowedChildren: any;
12
- uiNode: any;
13
- children: any;
14
- appendChild: any;
15
- remove: any;
16
- cache: Record<string, any>;
17
- scroll: any;
18
- static create(value: any): HTMLElement;
19
- static formats(domNode: any): any;
20
- format(name: any, value: any): void;
21
- optimize(_context: any): void;
22
- }
23
- export default Header;
2
+ declare const OriginHeader: typeof TypeHeader;
3
+ declare class Header extends OriginHeader {
4
+ static tagName: any;
5
+ static blotName: string;
6
+ domNode: any;
7
+ replaceWith: any;
8
+ parent: any;
9
+ wrap: any;
10
+ enforceAllowedChildren: any;
11
+ uiNode: any;
12
+ children: any;
13
+ appendChild: any;
14
+ remove: any;
15
+ cache: Record<string, any>;
16
+ scroll: any;
17
+ static create(value: any): HTMLElement;
18
+ static formats(domNode: any): any;
19
+ format(name: any, value: any): void;
20
+ optimize(_context: any): void;
21
+ }
22
+ export default Header;
@@ -1,34 +1,34 @@
1
- declare const Block: unknown;
2
- declare const Container: unknown;
3
- declare class ListContainer extends Container {
4
- static allowedChildren: any;
5
- static blotName: string;
6
- static tagName: string;
7
- replaceWith: any;
8
- domNode: any;
9
- parent: any;
10
- statics: any;
11
- wrap: any;
12
- format(name: any, value: any): void;
13
- }
14
- declare class ListItem extends Block {
15
- static blotName: string;
16
- static tagName: string;
17
- static requiredContainer: typeof ListContainer;
18
- statics: any;
19
- attachUI: any;
20
- domNode: any;
21
- replaceWith: any;
22
- parent: any;
23
- wrap: any;
24
- children: any;
25
- prev: any;
26
- remove: () => void;
27
- static create(value: any): any;
28
- static formats(domNode: any): any;
29
- static register(): void;
30
- constructor(scroll: any, domNode: any);
31
- format(name: any, value: any): void;
32
- optimize(context: any): void;
33
- }
34
- export { ListItem as default, ListContainer };
1
+ declare const Block: unknown;
2
+ declare const Container: unknown;
3
+ declare class ListContainer extends Container {
4
+ static allowedChildren: any;
5
+ static blotName: string;
6
+ static tagName: string;
7
+ replaceWith: any;
8
+ domNode: any;
9
+ parent: any;
10
+ statics: any;
11
+ wrap: any;
12
+ format(name: any, value: any): void;
13
+ }
14
+ declare class ListItem extends Block {
15
+ static blotName: string;
16
+ static tagName: string;
17
+ static requiredContainer: typeof ListContainer;
18
+ statics: any;
19
+ attachUI: any;
20
+ domNode: any;
21
+ replaceWith: any;
22
+ parent: any;
23
+ wrap: any;
24
+ children: any;
25
+ prev: any;
26
+ remove: () => void;
27
+ static create(value: any): any;
28
+ static formats(domNode: any): any;
29
+ static register(): void;
30
+ constructor(scroll: any, domNode: any);
31
+ format(name: any, value: any): void;
32
+ optimize(context: any): void;
33
+ }
34
+ export { ListItem as default, ListContainer };