@oyat/editor 1.1.2 → 1.2.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 (350) hide show
  1. package/README.md +107 -55
  2. package/dist/components/editor/plate-editor.d.ts +7 -0
  3. package/dist/components/editor/plate-editor.d.ts.map +1 -0
  4. package/dist/components/editor/plate-types.d.ts +85 -0
  5. package/dist/components/editor/plate-types.d.ts.map +1 -0
  6. package/dist/components/editor/plugins/align-base-kit.d.ts +4 -0
  7. package/dist/components/editor/plugins/align-base-kit.d.ts.map +1 -0
  8. package/dist/components/editor/plugins/align-kit.d.ts +4 -0
  9. package/dist/components/editor/plugins/align-kit.d.ts.map +1 -0
  10. package/dist/components/editor/plugins/autoformat-kit.d.ts +2 -0
  11. package/dist/components/editor/plugins/autoformat-kit.d.ts.map +1 -0
  12. package/dist/components/editor/plugins/basic-blocks-base-kit.d.ts +6 -0
  13. package/dist/components/editor/plugins/basic-blocks-base-kit.d.ts.map +1 -0
  14. package/dist/components/editor/plugins/basic-blocks-kit.d.ts +6 -0
  15. package/dist/components/editor/plugins/basic-blocks-kit.d.ts.map +1 -0
  16. package/dist/components/editor/plugins/basic-marks-base-kit.d.ts +20 -0
  17. package/dist/components/editor/plugins/basic-marks-base-kit.d.ts.map +1 -0
  18. package/dist/components/editor/plugins/basic-marks-kit.d.ts +20 -0
  19. package/dist/components/editor/plugins/basic-marks-kit.d.ts.map +1 -0
  20. package/dist/components/editor/plugins/basic-nodes-kit.d.ts +24 -0
  21. package/dist/components/editor/plugins/basic-nodes-kit.d.ts.map +1 -0
  22. package/dist/components/editor/plugins/block-menu-kit.d.ts +165 -0
  23. package/dist/components/editor/plugins/block-menu-kit.d.ts.map +1 -0
  24. package/dist/components/editor/plugins/block-placeholder-kit.d.ts +15 -0
  25. package/dist/components/editor/plugins/block-placeholder-kit.d.ts.map +1 -0
  26. package/dist/components/editor/plugins/block-selection-kit.d.ts +137 -0
  27. package/dist/components/editor/plugins/block-selection-kit.d.ts.map +1 -0
  28. package/dist/components/editor/plugins/callout-base-kit.d.ts +21 -0
  29. package/dist/components/editor/plugins/callout-base-kit.d.ts.map +1 -0
  30. package/dist/components/editor/plugins/callout-kit.d.ts +21 -0
  31. package/dist/components/editor/plugins/callout-kit.d.ts.map +1 -0
  32. package/dist/components/editor/plugins/code-block-base-kit.d.ts +8 -0
  33. package/dist/components/editor/plugins/code-block-base-kit.d.ts.map +1 -0
  34. package/dist/components/editor/plugins/code-block-kit.d.ts +8 -0
  35. package/dist/components/editor/plugins/code-block-kit.d.ts.map +1 -0
  36. package/dist/components/editor/plugins/column-base-kit.d.ts +2 -0
  37. package/dist/components/editor/plugins/column-base-kit.d.ts.map +1 -0
  38. package/dist/components/editor/plugins/column-kit.d.ts +2 -0
  39. package/dist/components/editor/plugins/column-kit.d.ts.map +1 -0
  40. package/dist/components/editor/plugins/comment-base-kit.d.ts +48 -0
  41. package/dist/components/editor/plugins/comment-base-kit.d.ts.map +1 -0
  42. package/dist/components/editor/plugins/comment-kit.d.ts +68 -0
  43. package/dist/components/editor/plugins/comment-kit.d.ts.map +1 -0
  44. package/dist/components/editor/plugins/cursor-overlay-kit.d.ts +12 -0
  45. package/dist/components/editor/plugins/cursor-overlay-kit.d.ts.map +1 -0
  46. package/dist/components/editor/plugins/date-base-kit.d.ts +20 -0
  47. package/dist/components/editor/plugins/date-base-kit.d.ts.map +1 -0
  48. package/dist/components/editor/plugins/date-kit.d.ts +20 -0
  49. package/dist/components/editor/plugins/date-kit.d.ts.map +1 -0
  50. package/dist/components/editor/plugins/discussion-kit.d.ts +56 -0
  51. package/dist/components/editor/plugins/discussion-kit.d.ts.map +1 -0
  52. package/dist/components/editor/plugins/dnd-kit.d.ts +21 -0
  53. package/dist/components/editor/plugins/dnd-kit.d.ts.map +1 -0
  54. package/dist/components/editor/plugins/docx-kit.d.ts +2 -0
  55. package/dist/components/editor/plugins/docx-kit.d.ts.map +1 -0
  56. package/dist/components/editor/plugins/emoji-kit.d.ts +6 -0
  57. package/dist/components/editor/plugins/emoji-kit.d.ts.map +1 -0
  58. package/dist/components/editor/plugins/exit-break-kit.d.ts +5 -0
  59. package/dist/components/editor/plugins/exit-break-kit.d.ts.map +1 -0
  60. package/dist/components/editor/plugins/fixed-toolbar-kit.d.ts +2 -0
  61. package/dist/components/editor/plugins/fixed-toolbar-kit.d.ts.map +1 -0
  62. package/dist/components/editor/plugins/floating-toolbar-kit.d.ts +2 -0
  63. package/dist/components/editor/plugins/floating-toolbar-kit.d.ts.map +1 -0
  64. package/dist/components/editor/plugins/font-base-kit.d.ts +10 -0
  65. package/dist/components/editor/plugins/font-base-kit.d.ts.map +1 -0
  66. package/dist/components/editor/plugins/font-kit.d.ts +10 -0
  67. package/dist/components/editor/plugins/font-kit.d.ts.map +1 -0
  68. package/dist/components/editor/plugins/indent-base-kit.d.ts +2 -0
  69. package/dist/components/editor/plugins/indent-base-kit.d.ts.map +1 -0
  70. package/dist/components/editor/plugins/indent-kit.d.ts +6 -0
  71. package/dist/components/editor/plugins/indent-kit.d.ts.map +1 -0
  72. package/dist/components/editor/plugins/line-height-base-kit.d.ts +4 -0
  73. package/dist/components/editor/plugins/line-height-base-kit.d.ts.map +1 -0
  74. package/dist/components/editor/plugins/line-height-kit.d.ts +4 -0
  75. package/dist/components/editor/plugins/line-height-kit.d.ts.map +1 -0
  76. package/dist/components/editor/plugins/link-base-kit.d.ts +2 -0
  77. package/dist/components/editor/plugins/link-base-kit.d.ts.map +1 -0
  78. package/dist/components/editor/plugins/link-kit.d.ts +35 -0
  79. package/dist/components/editor/plugins/link-kit.d.ts.map +1 -0
  80. package/dist/components/editor/plugins/list-base-kit.d.ts +2 -0
  81. package/dist/components/editor/plugins/list-base-kit.d.ts.map +1 -0
  82. package/dist/components/editor/plugins/list-kit.d.ts +9 -0
  83. package/dist/components/editor/plugins/list-kit.d.ts.map +1 -0
  84. package/dist/components/editor/plugins/math-base-kit.d.ts +10 -0
  85. package/dist/components/editor/plugins/math-base-kit.d.ts.map +1 -0
  86. package/dist/components/editor/plugins/math-kit.d.ts +10 -0
  87. package/dist/components/editor/plugins/math-kit.d.ts.map +1 -0
  88. package/dist/components/editor/plugins/media-base-kit.d.ts +26 -0
  89. package/dist/components/editor/plugins/media-base-kit.d.ts.map +1 -0
  90. package/dist/components/editor/plugins/media-kit.d.ts +39 -0
  91. package/dist/components/editor/plugins/media-kit.d.ts.map +1 -0
  92. package/dist/components/editor/plugins/mention-base-kit.d.ts +12 -0
  93. package/dist/components/editor/plugins/mention-base-kit.d.ts.map +1 -0
  94. package/dist/components/editor/plugins/mention-kit.d.ts +12 -0
  95. package/dist/components/editor/plugins/mention-kit.d.ts.map +1 -0
  96. package/dist/components/editor/plugins/slash-kit.d.ts +2 -0
  97. package/dist/components/editor/plugins/slash-kit.d.ts.map +1 -0
  98. package/dist/components/editor/plugins/suggestion-base-kit.d.ts +33 -0
  99. package/dist/components/editor/plugins/suggestion-base-kit.d.ts.map +1 -0
  100. package/dist/components/editor/plugins/suggestion-kit.d.ts +54 -0
  101. package/dist/components/editor/plugins/suggestion-kit.d.ts.map +1 -0
  102. package/dist/components/editor/plugins/table-base-kit.d.ts +78 -0
  103. package/dist/components/editor/plugins/table-base-kit.d.ts.map +1 -0
  104. package/dist/components/editor/plugins/table-kit.d.ts +139 -0
  105. package/dist/components/editor/plugins/table-kit.d.ts.map +1 -0
  106. package/dist/components/editor/plugins/toc-base-kit.d.ts +2 -0
  107. package/dist/components/editor/plugins/toc-base-kit.d.ts.map +1 -0
  108. package/dist/components/editor/plugins/toc-kit.d.ts +6 -0
  109. package/dist/components/editor/plugins/toc-kit.d.ts.map +1 -0
  110. package/dist/components/editor/plugins/toggle-base-kit.d.ts +13 -0
  111. package/dist/components/editor/plugins/toggle-base-kit.d.ts.map +1 -0
  112. package/dist/components/editor/plugins/toggle-kit.d.ts +17 -0
  113. package/dist/components/editor/plugins/toggle-kit.d.ts.map +1 -0
  114. package/dist/components/editor/settings-dialog.d.ts +8 -0
  115. package/dist/components/editor/settings-dialog.d.ts.map +1 -0
  116. package/dist/components/editor/transforms.d.ts +13 -0
  117. package/dist/components/editor/transforms.d.ts.map +1 -0
  118. package/dist/components/editor/use-chat.d.ts +53 -0
  119. package/dist/components/editor/use-chat.d.ts.map +1 -0
  120. package/dist/components/ui/ai-chat-editor.d.ts +5 -0
  121. package/dist/components/ui/ai-chat-editor.d.ts.map +1 -0
  122. package/dist/components/ui/ai-menu.d.ts +8 -0
  123. package/dist/components/ui/ai-menu.d.ts.map +1 -0
  124. package/dist/components/ui/ai-node.d.ts +4 -0
  125. package/dist/components/ui/ai-node.d.ts.map +1 -0
  126. package/dist/components/ui/ai-toolbar-button.d.ts +4 -0
  127. package/dist/components/ui/ai-toolbar-button.d.ts.map +1 -0
  128. package/dist/components/ui/alert-dialog.d.ts +15 -0
  129. package/dist/components/ui/alert-dialog.d.ts.map +1 -0
  130. package/dist/components/ui/align-toolbar-button.d.ts +3 -0
  131. package/dist/components/ui/align-toolbar-button.d.ts.map +1 -0
  132. package/dist/components/ui/avatar.d.ts +7 -0
  133. package/dist/components/ui/avatar.d.ts.map +1 -0
  134. package/dist/components/ui/block-context-menu.d.ts +5 -0
  135. package/dist/components/ui/block-context-menu.d.ts.map +1 -0
  136. package/dist/components/ui/block-discussion.d.ts +4 -0
  137. package/dist/components/ui/block-discussion.d.ts.map +1 -0
  138. package/dist/components/ui/block-draggable.d.ts +3 -0
  139. package/dist/components/ui/block-draggable.d.ts.map +1 -0
  140. package/dist/components/ui/block-list-static.d.ts +3 -0
  141. package/dist/components/ui/block-list-static.d.ts.map +1 -0
  142. package/dist/components/ui/block-list.d.ts +3 -0
  143. package/dist/components/ui/block-list.d.ts.map +1 -0
  144. package/dist/components/ui/block-selection.d.ts +6 -0
  145. package/dist/components/ui/block-selection.d.ts.map +1 -0
  146. package/dist/components/ui/block-suggestion.d.ts +18 -0
  147. package/dist/components/ui/block-suggestion.d.ts.map +1 -0
  148. package/dist/components/ui/blockquote-node-static.d.ts +3 -0
  149. package/dist/components/ui/blockquote-node-static.d.ts.map +1 -0
  150. package/dist/components/ui/blockquote-node.d.ts +3 -0
  151. package/dist/components/ui/blockquote-node.d.ts.map +1 -0
  152. package/dist/components/ui/button.d.ts +11 -0
  153. package/dist/components/ui/button.d.ts.map +1 -0
  154. package/dist/components/ui/calendar.d.ts +9 -0
  155. package/dist/components/ui/calendar.d.ts.map +1 -0
  156. package/dist/components/ui/callout-node-static.d.ts +3 -0
  157. package/dist/components/ui/callout-node-static.d.ts.map +1 -0
  158. package/dist/components/ui/callout-node.d.ts +4 -0
  159. package/dist/components/ui/callout-node.d.ts.map +1 -0
  160. package/dist/components/ui/checkbox.d.ts +5 -0
  161. package/dist/components/ui/checkbox.d.ts.map +1 -0
  162. package/dist/components/ui/code-block-node-static.d.ts +5 -0
  163. package/dist/components/ui/code-block-node-static.d.ts.map +1 -0
  164. package/dist/components/ui/code-block-node.d.ts +6 -0
  165. package/dist/components/ui/code-block-node.d.ts.map +1 -0
  166. package/dist/components/ui/code-node-static.d.ts +3 -0
  167. package/dist/components/ui/code-node-static.d.ts.map +1 -0
  168. package/dist/components/ui/code-node.d.ts +3 -0
  169. package/dist/components/ui/code-node.d.ts.map +1 -0
  170. package/dist/components/ui/column-node-static.d.ts +4 -0
  171. package/dist/components/ui/column-node-static.d.ts.map +1 -0
  172. package/dist/components/ui/column-node.d.ts +6 -0
  173. package/dist/components/ui/column-node.d.ts.map +1 -0
  174. package/dist/components/ui/command.d.ts +19 -0
  175. package/dist/components/ui/command.d.ts.map +1 -0
  176. package/dist/components/ui/comment-node-static.d.ts +3 -0
  177. package/dist/components/ui/comment-node-static.d.ts.map +1 -0
  178. package/dist/components/ui/comment-node.d.ts +4 -0
  179. package/dist/components/ui/comment-node.d.ts.map +1 -0
  180. package/dist/components/ui/comment-toolbar-button.d.ts +2 -0
  181. package/dist/components/ui/comment-toolbar-button.d.ts.map +1 -0
  182. package/dist/components/ui/comment.d.ts +28 -0
  183. package/dist/components/ui/comment.d.ts.map +1 -0
  184. package/dist/components/ui/context-menu.d.ts +26 -0
  185. package/dist/components/ui/context-menu.d.ts.map +1 -0
  186. package/dist/components/ui/cursor-overlay.d.ts +2 -0
  187. package/dist/components/ui/cursor-overlay.d.ts.map +1 -0
  188. package/dist/components/ui/date-node-static.d.ts +3 -0
  189. package/dist/components/ui/date-node-static.d.ts.map +1 -0
  190. package/dist/components/ui/date-node.d.ts +4 -0
  191. package/dist/components/ui/date-node.d.ts.map +1 -0
  192. package/dist/components/ui/dialog.d.ts +16 -0
  193. package/dist/components/ui/dialog.d.ts.map +1 -0
  194. package/dist/components/ui/dropdown-menu.d.ts +26 -0
  195. package/dist/components/ui/dropdown-menu.d.ts.map +1 -0
  196. package/dist/components/ui/editor-static.d.ts +9 -0
  197. package/dist/components/ui/editor-static.d.ts.map +1 -0
  198. package/dist/components/ui/editor.d.ts +29 -0
  199. package/dist/components/ui/editor.d.ts.map +1 -0
  200. package/dist/components/ui/emoji-node.d.ts +3 -0
  201. package/dist/components/ui/emoji-node.d.ts.map +1 -0
  202. package/dist/components/ui/emoji-toolbar-button.d.ts +17 -0
  203. package/dist/components/ui/emoji-toolbar-button.d.ts.map +1 -0
  204. package/dist/components/ui/equation-node-static.d.ts +4 -0
  205. package/dist/components/ui/equation-node-static.d.ts.map +1 -0
  206. package/dist/components/ui/equation-node.d.ts +5 -0
  207. package/dist/components/ui/equation-node.d.ts.map +1 -0
  208. package/dist/components/ui/equation-toolbar-button.d.ts +4 -0
  209. package/dist/components/ui/equation-toolbar-button.d.ts.map +1 -0
  210. package/dist/components/ui/export-toolbar-button.d.ts +3 -0
  211. package/dist/components/ui/export-toolbar-button.d.ts.map +1 -0
  212. package/dist/components/ui/fixed-toolbar-buttons.d.ts +2 -0
  213. package/dist/components/ui/fixed-toolbar-buttons.d.ts.map +1 -0
  214. package/dist/components/ui/fixed-toolbar.d.ts +3 -0
  215. package/dist/components/ui/fixed-toolbar.d.ts.map +1 -0
  216. package/dist/components/ui/floating-toolbar-buttons.d.ts +2 -0
  217. package/dist/components/ui/floating-toolbar-buttons.d.ts.map +1 -0
  218. package/dist/components/ui/floating-toolbar.d.ts +7 -0
  219. package/dist/components/ui/floating-toolbar.d.ts.map +1 -0
  220. package/dist/components/ui/font-size-toolbar-button.d.ts +2 -0
  221. package/dist/components/ui/font-size-toolbar-button.d.ts.map +1 -0
  222. package/dist/components/ui/ghost-text.d.ts +2 -0
  223. package/dist/components/ui/ghost-text.d.ts.map +1 -0
  224. package/dist/components/ui/heading-node-static.d.ts +15 -0
  225. package/dist/components/ui/heading-node-static.d.ts.map +1 -0
  226. package/dist/components/ui/heading-node.d.ts +14 -0
  227. package/dist/components/ui/heading-node.d.ts.map +1 -0
  228. package/dist/components/ui/highlight-node-static.d.ts +3 -0
  229. package/dist/components/ui/highlight-node-static.d.ts.map +1 -0
  230. package/dist/components/ui/highlight-node.d.ts +3 -0
  231. package/dist/components/ui/highlight-node.d.ts.map +1 -0
  232. package/dist/components/ui/history-toolbar-button.d.ts +5 -0
  233. package/dist/components/ui/history-toolbar-button.d.ts.map +1 -0
  234. package/dist/components/ui/hr-node-static.d.ts +3 -0
  235. package/dist/components/ui/hr-node-static.d.ts.map +1 -0
  236. package/dist/components/ui/hr-node.d.ts +3 -0
  237. package/dist/components/ui/hr-node.d.ts.map +1 -0
  238. package/dist/components/ui/import-toolbar-button.d.ts +3 -0
  239. package/dist/components/ui/import-toolbar-button.d.ts.map +1 -0
  240. package/dist/components/ui/indent-toolbar-button.d.ts +5 -0
  241. package/dist/components/ui/indent-toolbar-button.d.ts.map +1 -0
  242. package/dist/components/ui/inline-combobox.d.ts +34 -0
  243. package/dist/components/ui/inline-combobox.d.ts.map +1 -0
  244. package/dist/components/ui/input.d.ts +4 -0
  245. package/dist/components/ui/input.d.ts.map +1 -0
  246. package/dist/components/ui/insert-toolbar-button.d.ts +3 -0
  247. package/dist/components/ui/insert-toolbar-button.d.ts.map +1 -0
  248. package/dist/components/ui/kbd-node-static.d.ts +3 -0
  249. package/dist/components/ui/kbd-node-static.d.ts.map +1 -0
  250. package/dist/components/ui/kbd-node.d.ts +3 -0
  251. package/dist/components/ui/kbd-node.d.ts.map +1 -0
  252. package/dist/components/ui/line-height-toolbar-button.d.ts +3 -0
  253. package/dist/components/ui/line-height-toolbar-button.d.ts.map +1 -0
  254. package/dist/components/ui/link-node-static.d.ts +3 -0
  255. package/dist/components/ui/link-node-static.d.ts.map +1 -0
  256. package/dist/components/ui/link-node.d.ts +4 -0
  257. package/dist/components/ui/link-node.d.ts.map +1 -0
  258. package/dist/components/ui/link-toolbar-button.d.ts +4 -0
  259. package/dist/components/ui/link-toolbar-button.d.ts.map +1 -0
  260. package/dist/components/ui/link-toolbar.d.ts +5 -0
  261. package/dist/components/ui/link-toolbar.d.ts.map +1 -0
  262. package/dist/components/ui/list-toolbar-button.d.ts +6 -0
  263. package/dist/components/ui/list-toolbar-button.d.ts.map +1 -0
  264. package/dist/components/ui/mark-toolbar-button.d.ts +7 -0
  265. package/dist/components/ui/mark-toolbar-button.d.ts.map +1 -0
  266. package/dist/components/ui/media-audio-node-static.d.ts +3 -0
  267. package/dist/components/ui/media-audio-node-static.d.ts.map +1 -0
  268. package/dist/components/ui/media-audio-node.d.ts +5 -0
  269. package/dist/components/ui/media-audio-node.d.ts.map +1 -0
  270. package/dist/components/ui/media-embed-node.d.ts +5 -0
  271. package/dist/components/ui/media-embed-node.d.ts.map +1 -0
  272. package/dist/components/ui/media-file-node-static.d.ts +3 -0
  273. package/dist/components/ui/media-file-node-static.d.ts.map +1 -0
  274. package/dist/components/ui/media-file-node.d.ts +5 -0
  275. package/dist/components/ui/media-file-node.d.ts.map +1 -0
  276. package/dist/components/ui/media-image-node-static.d.ts +3 -0
  277. package/dist/components/ui/media-image-node-static.d.ts.map +1 -0
  278. package/dist/components/ui/media-image-node.d.ts +5 -0
  279. package/dist/components/ui/media-image-node.d.ts.map +1 -0
  280. package/dist/components/ui/media-placeholder-node.d.ts +11 -0
  281. package/dist/components/ui/media-placeholder-node.d.ts.map +1 -0
  282. package/dist/components/ui/media-preview-dialog.d.ts +2 -0
  283. package/dist/components/ui/media-preview-dialog.d.ts.map +1 -0
  284. package/dist/components/ui/media-toolbar-button.d.ts +5 -0
  285. package/dist/components/ui/media-toolbar-button.d.ts.map +1 -0
  286. package/dist/components/ui/media-toolbar.d.ts +7 -0
  287. package/dist/components/ui/media-toolbar.d.ts.map +1 -0
  288. package/dist/components/ui/media-upload-toast.d.ts +2 -0
  289. package/dist/components/ui/media-upload-toast.d.ts.map +1 -0
  290. package/dist/components/ui/media-video-node-static.d.ts +3 -0
  291. package/dist/components/ui/media-video-node-static.d.ts.map +1 -0
  292. package/dist/components/ui/media-video-node.d.ts +5 -0
  293. package/dist/components/ui/media-video-node.d.ts.map +1 -0
  294. package/dist/components/ui/mention-node-static.d.ts +5 -0
  295. package/dist/components/ui/mention-node-static.d.ts.map +1 -0
  296. package/dist/components/ui/mention-node.d.ts +7 -0
  297. package/dist/components/ui/mention-node.d.ts.map +1 -0
  298. package/dist/components/ui/mode-toolbar-button.d.ts +3 -0
  299. package/dist/components/ui/mode-toolbar-button.d.ts.map +1 -0
  300. package/dist/components/ui/more-toolbar-button.d.ts +3 -0
  301. package/dist/components/ui/more-toolbar-button.d.ts.map +1 -0
  302. package/dist/components/ui/paragraph-node-static.d.ts +3 -0
  303. package/dist/components/ui/paragraph-node-static.d.ts.map +1 -0
  304. package/dist/components/ui/paragraph-node.d.ts +3 -0
  305. package/dist/components/ui/paragraph-node.d.ts.map +1 -0
  306. package/dist/components/ui/popover.d.ts +8 -0
  307. package/dist/components/ui/popover.d.ts.map +1 -0
  308. package/dist/components/ui/resize-handle.d.ts +16 -0
  309. package/dist/components/ui/resize-handle.d.ts.map +1 -0
  310. package/dist/components/ui/separator.d.ts +5 -0
  311. package/dist/components/ui/separator.d.ts.map +1 -0
  312. package/dist/components/ui/slash-node.d.ts +4 -0
  313. package/dist/components/ui/slash-node.d.ts.map +1 -0
  314. package/dist/components/ui/suggestion-node-static.d.ts +3 -0
  315. package/dist/components/ui/suggestion-node-static.d.ts.map +1 -0
  316. package/dist/components/ui/suggestion-node.d.ts +6 -0
  317. package/dist/components/ui/suggestion-node.d.ts.map +1 -0
  318. package/dist/components/ui/suggestion-toolbar-button.d.ts +2 -0
  319. package/dist/components/ui/suggestion-toolbar-button.d.ts.map +1 -0
  320. package/dist/components/ui/table-icons.d.ts +8 -0
  321. package/dist/components/ui/table-icons.d.ts.map +1 -0
  322. package/dist/components/ui/table-node-static.d.ts +8 -0
  323. package/dist/components/ui/table-node-static.d.ts.map +1 -0
  324. package/dist/components/ui/table-node.d.ts +10 -0
  325. package/dist/components/ui/table-node.d.ts.map +1 -0
  326. package/dist/components/ui/table-toolbar-button.d.ts +3 -0
  327. package/dist/components/ui/table-toolbar-button.d.ts.map +1 -0
  328. package/dist/components/ui/toc-node-static.d.ts +3 -0
  329. package/dist/components/ui/toc-node-static.d.ts.map +1 -0
  330. package/dist/components/ui/toc-node.d.ts +3 -0
  331. package/dist/components/ui/toc-node.d.ts.map +1 -0
  332. package/dist/components/ui/toggle-node-static.d.ts +3 -0
  333. package/dist/components/ui/toggle-node-static.d.ts.map +1 -0
  334. package/dist/components/ui/toggle-node.d.ts +3 -0
  335. package/dist/components/ui/toggle-node.d.ts.map +1 -0
  336. package/dist/components/ui/toggle-toolbar-button.d.ts +4 -0
  337. package/dist/components/ui/toggle-toolbar-button.d.ts.map +1 -0
  338. package/dist/components/ui/toolbar.d.ts +41 -0
  339. package/dist/components/ui/toolbar.d.ts.map +1 -0
  340. package/dist/components/ui/tooltip.d.ts +8 -0
  341. package/dist/components/ui/tooltip.d.ts.map +1 -0
  342. package/dist/components/ui/turn-into-toolbar-button.d.ts +9 -0
  343. package/dist/components/ui/turn-into-toolbar-button.d.ts.map +1 -0
  344. package/dist/index.d.ts +42 -83
  345. package/dist/index.d.ts.map +1 -0
  346. package/dist/index.js +2 -4
  347. package/dist/index.js.map +1 -1
  348. package/package.json +5 -4
  349. package/dist/editor.css +0 -1
  350. package/dist/vite.svg +0 -1
@@ -0,0 +1,15 @@
1
+ export declare const BlockPlaceholderKit: import('platejs/react').PlatePlugin<import('platejs').PluginConfig<"blockPlaceholder", {
2
+ _target: {
3
+ node: import('platejs').TElement;
4
+ placeholder: string;
5
+ } | null;
6
+ placeholders: Record<string, string>;
7
+ query: (context: import('platejs/react').PlatePluginContext<import('platejs/react').BlockPlaceholderConfig> & {
8
+ node: import('platejs').TElement;
9
+ path: import('platejs').Path;
10
+ }) => boolean;
11
+ className?: string;
12
+ }, {}, {}, {
13
+ placeholder: (node: import('platejs').TElement) => string | undefined;
14
+ }>>[];
15
+ //# sourceMappingURL=block-placeholder-kit.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"block-placeholder-kit.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/plugins/block-placeholder-kit.tsx"],"names":[],"mappings":"AAKA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;KAa/B,CAAC"}
@@ -0,0 +1,137 @@
1
+ export declare const BlockSelectionKit: import('platejs/react').PlatePlugin<import('platejs').PluginConfig<"blockSelection", {
2
+ anchorId?: string | null;
3
+ areaOptions?: {
4
+ document?: Document;
5
+ } & {
6
+ container?: (string | HTMLElement | (string | HTMLElement)[]) | undefined;
7
+ behaviour?: {
8
+ intersect?: ("center" | "cover" | "touch") | undefined;
9
+ overlap?: ("drop" | "invert" | "keep") | undefined;
10
+ scrolling?: {
11
+ manualSpeed?: number | undefined;
12
+ speedDivider?: number | undefined;
13
+ startScrollMargins?: {
14
+ x?: number | undefined;
15
+ y?: number | undefined;
16
+ } | undefined;
17
+ } | undefined;
18
+ startThreshold?: number | {
19
+ x?: number | undefined;
20
+ y?: number | undefined;
21
+ } | undefined;
22
+ triggers?: ((0 | 1 | 2 | 3 | 4) | {
23
+ button: 0 | 1 | 2 | 3 | 4;
24
+ modifiers: ("shift" | "alt" | "ctrl")[];
25
+ })[] | undefined;
26
+ } | undefined;
27
+ boundaries?: (string | HTMLElement | (string | HTMLElement)[]) | undefined;
28
+ features?: {
29
+ range?: boolean | undefined;
30
+ singleTap?: {
31
+ allow?: boolean | undefined;
32
+ intersect?: ("touch" | "native") | undefined;
33
+ } | undefined;
34
+ touch?: boolean | undefined;
35
+ } | undefined;
36
+ selectables?: (string | string[]) | undefined;
37
+ selectionAreaClass?: string | undefined;
38
+ startAreas?: (string | HTMLElement | (string | HTMLElement)[]) | undefined;
39
+ };
40
+ editorPaddingRight?: import('react').CSSProperties["width"];
41
+ enableContextMenu?: boolean;
42
+ isSelecting?: boolean;
43
+ isSelectionAreaVisible?: boolean;
44
+ rightSelectionAreaClassName?: string;
45
+ selectedIds?: Set<string>;
46
+ shadowInputRef?: React.RefObject<HTMLInputElement | null>;
47
+ isSelectable?: (element: import('platejs').TElement, path: import('platejs').Path) => boolean;
48
+ onKeyDownSelecting?: (editor: import('platejs').SlateEditor, e: KeyboardEvent) => void;
49
+ }, {
50
+ blockSelection: {
51
+ addOnContextMenu: import('platejs').OmitFirst<(editor: import('platejs/react').PlateEditor, { disabledWhenFocused, element, event, }: {
52
+ element: import('platejs').TElement;
53
+ event: React.MouseEvent<HTMLDivElement, MouseEvent>;
54
+ disabledWhenFocused?: boolean;
55
+ }) => void>;
56
+ setSelectedIds: import('platejs').OmitFirst<(editor: import('platejs').SlateEditor, { added, ids, removed, }: Partial<{
57
+ added: Element[];
58
+ removed: Element[];
59
+ }> & {
60
+ ids?: string[];
61
+ }) => void>;
62
+ add: (id: string[] | string) => void;
63
+ addSelectedRow: (id: string, options?: {
64
+ clear?: boolean;
65
+ delay?: number;
66
+ }) => void;
67
+ clear: () => void;
68
+ delete: (id: string[] | string) => void;
69
+ deselect: () => void;
70
+ first: () => import('platejs').NodeEntry<import('platejs').TIdElement> | null;
71
+ focus: () => void;
72
+ getNodes: (options?: {
73
+ collapseTableRows?: boolean;
74
+ selectionFallback?: boolean;
75
+ sort?: boolean;
76
+ }) => import('platejs').NodeEntry<import('platejs').TIdElement>[];
77
+ has: (id: string[] | string) => boolean;
78
+ isSelectable: (element: import('platejs').TElement, path: import('platejs').Path) => boolean;
79
+ moveSelection: (direction: "down" | "up") => void;
80
+ resetSelectedIds: () => void;
81
+ selectAll: () => void;
82
+ set: (id: string[] | string) => void;
83
+ shiftSelection: (direction: "down" | "up") => void;
84
+ unselect: () => void;
85
+ };
86
+ } & Record<"blockSelection", Partial<{
87
+ addOnContextMenu: import('platejs').OmitFirst<(editor: import('platejs/react').PlateEditor, { disabledWhenFocused, element, event, }: {
88
+ element: import('platejs').TElement;
89
+ event: React.MouseEvent<HTMLDivElement, MouseEvent>;
90
+ disabledWhenFocused?: boolean;
91
+ }) => void>;
92
+ setSelectedIds: import('platejs').OmitFirst<(editor: import('platejs').SlateEditor, { added, ids, removed, }: Partial<{
93
+ added: Element[];
94
+ removed: Element[];
95
+ }> & {
96
+ ids?: string[];
97
+ }) => void>;
98
+ add: (id: string[] | string) => void;
99
+ addSelectedRow: (id: string, options?: {
100
+ clear?: boolean;
101
+ delay?: number;
102
+ }) => void;
103
+ clear: () => void;
104
+ delete: (id: string[] | string) => void;
105
+ deselect: () => void;
106
+ first: () => import('platejs').NodeEntry<import('platejs').TIdElement> | null;
107
+ focus: () => void;
108
+ getNodes: (options?: {
109
+ collapseTableRows?: boolean;
110
+ selectionFallback?: boolean;
111
+ sort?: boolean;
112
+ }) => import('platejs').NodeEntry<import('platejs').TIdElement>[];
113
+ has: (id: string[] | string) => boolean;
114
+ isSelectable: (element: import('platejs').TElement, path: import('platejs').Path) => boolean;
115
+ moveSelection: (direction: "down" | "up") => void;
116
+ resetSelectedIds: () => void;
117
+ selectAll: () => void;
118
+ set: (id: string[] | string) => void;
119
+ shiftSelection: (direction: "down" | "up") => void;
120
+ unselect: () => void;
121
+ }>>, Record<"blockSelection", {
122
+ duplicate: () => void;
123
+ insertBlocksAndSelect: (nodes: import('platejs').TElement[], args_1: {
124
+ at: import('platejs').Path;
125
+ insertedCallback?: () => void;
126
+ }) => void;
127
+ removeNodes: () => void;
128
+ select: () => void;
129
+ selectBlocks: (at: import('platejs').Path | import('platejs').TNode) => void;
130
+ setIndent: (indent: number, options?: import('platejs').SetNodesOptions | undefined) => void;
131
+ setNodes: (props: Partial<Omit<import('platejs').TElement, "children">>, options?: import('platejs').SetNodesOptions | undefined) => void;
132
+ setTexts: (props: Partial<Omit<import('platejs').TText, "text">>, options?: Omit<import('platejs').SetNodesOptions, "at"> | undefined) => void;
133
+ }>, {
134
+ isSelected?: (id?: string) => boolean;
135
+ isSelectingSome?: () => boolean;
136
+ }>>[];
137
+ //# sourceMappingURL=block-selection-kit.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"block-selection-kit.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/plugins/block-selection-kit.tsx"],"names":[],"mappings":"AAQA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+BA2B00E,CAAC;;;;;;eAA0a,CAAC;;;4CAAk4I,CAAC;iBAAqB,CAAC;iBAA4B,CAAC;;;;;;;0BAA8xB,CAAC;6BAAiC,CAAC;6BAAoM,CAAC;gBAA2B,CAAC;;;;;;;;;;;;;;;2BAAp4L,CAAC;;;;;;WAA0a,CAAC;;;wCAAwyN,CAAC;aAAiB,CAAC;aAAwB,CAAC;;;;;;;sBAA8sB,CAAC;yBAA6B,CAAC;yBAAgL,CAAC;YAAuB,CAAC;;;;;;;;;;;;;;wBAAk/B,CAAC;;;;;uCAAgqB,CAAC;oFAA0J,CAAC;6EAA2J,CAAC;;oBAAoI,CAAC;;KAD7mZ,CAAC"}
@@ -0,0 +1,21 @@
1
+ export declare const BaseCalloutKit: import('platejs').SlatePlugin<import('platejs').PluginConfig<"callout", {}, {}, {
2
+ insert: {
3
+ callout: (args_0?: ({
4
+ batchDirty?: boolean;
5
+ hanging?: boolean;
6
+ nextBlock?: boolean;
7
+ removeEmpty?: import('platejs').QueryNodeOptions | boolean;
8
+ select?: boolean;
9
+ } & {
10
+ id?: boolean | string;
11
+ block?: boolean;
12
+ empty?: boolean;
13
+ match?: import('platejs').Predicate<import('platejs').NodeIn<import('platejs').Value>> | undefined;
14
+ text?: boolean;
15
+ } & import('platejs').QueryAt & import('platejs').QueryMode & import('platejs').QueryVoids & {
16
+ icon?: string;
17
+ variant?: (string & {}) | import('platejs').TCalloutElement["variant"];
18
+ }) | undefined) => void;
19
+ };
20
+ }, {}>>[];
21
+ //# sourceMappingURL=callout-base-kit.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"callout-base-kit.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/plugins/callout-base-kit.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,cAAc;;wBAGL,CAAC;sBAA2B,CAAC;mBAA8B,CAAC;qBAAgC,CAAC;uBAAkC,CAAC;kBAAwD,CAAC;;cAAuC,CAAC;iBAAqC,CAAC;iBAA4B,CAAC;iBAA4B,CAAC;gBAAgF,CAAC;;gBAAoG,CAAC;mBAA6B,CAAC;;;SAD1iB,CAAC"}
@@ -0,0 +1,21 @@
1
+ export declare const CalloutKit: import('platejs/react').PlatePlugin<import('platejs').PluginConfig<"callout", {}, {}, {
2
+ insert: {
3
+ callout: (args_0?: ({
4
+ batchDirty?: boolean;
5
+ hanging?: boolean;
6
+ nextBlock?: boolean;
7
+ removeEmpty?: import('platejs').QueryNodeOptions | boolean;
8
+ select?: boolean;
9
+ } & {
10
+ id?: boolean | string;
11
+ block?: boolean;
12
+ empty?: boolean;
13
+ match?: import('platejs').Predicate<import('platejs').NodeIn<import('platejs').Value>> | undefined;
14
+ text?: boolean;
15
+ } & import('platejs').QueryAt & import('platejs').QueryMode & import('platejs').QueryVoids & {
16
+ icon?: string;
17
+ variant?: (string & {}) | import('platejs').TCalloutElement["variant"];
18
+ }) | undefined) => void;
19
+ };
20
+ }, {}>>[];
21
+ //# sourceMappingURL=callout-kit.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"callout-kit.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/plugins/callout-kit.tsx"],"names":[],"mappings":"AAMA,eAAO,MAAM,UAAU;;wBACZ,CAAC;sBAA2B,CAAC;mBAA8B,CAAC;qBAAgC,CAAC;uBAAkC,CAAC;kBAAwD,CAAC;;cAAuC,CAAC;iBAAqC,CAAC;iBAA4B,CAAC;iBAA4B,CAAC;gBAAgF,CAAC;;gBAAoG,CAAC;mBAA6B,CAAC;;;SADzd,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { createLowlight } from 'lowlight';
2
+ export declare const BaseCodeBlockKit: (import('platejs').SlatePlugin<import('platejs').PluginConfig<"code_block", {
3
+ defaultLanguage?: string | null;
4
+ lowlight?: ReturnType<typeof createLowlight> | null;
5
+ }, {}, Record<"code_block", {
6
+ toggle: () => void;
7
+ }>, {}>> | import('platejs').SlatePlugin<import('platejs').PluginConfig> | import('platejs').SlatePlugin<import('platejs').PluginConfig<"code_syntax", {}, {}, {}, {}>>)[];
8
+ //# sourceMappingURL=code-block-base-kit.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"code-block-base-kit.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/plugins/code-block-base-kit.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAO,cAAc,EAAE,MAAM,UAAU,CAAC;AAU/C,eAAO,MAAM,gBAAgB;;;;;0KAO5B,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { createLowlight } from 'lowlight';
2
+ export declare const CodeBlockKit: (import('platejs/react').PlatePlugin<import('platejs').PluginConfig<"code_block", {
3
+ defaultLanguage?: string | null;
4
+ lowlight?: ReturnType<typeof createLowlight> | null;
5
+ }, {}, Record<"code_block", {
6
+ toggle: () => void;
7
+ }>, {}>> | import('platejs/react').PlatePlugin<import('platejs').PluginConfig<any, {}, {}, {}, {}>> | import('platejs/react').PlatePlugin<import('platejs').PluginConfig<"code_syntax", {}, {}, {}, {}>>)[];
8
+ //# sourceMappingURL=code-block-kit.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"code-block-kit.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/plugins/code-block-kit.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAO,cAAc,EAAE,MAAM,UAAU,CAAC;AAU/C,eAAO,MAAM,YAAY;;;;;2MAQxB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const BaseColumnKit: (import('platejs').SlatePlugin<import('platejs').PluginConfig<"column_group", {}, {}, {}, {}>> | import('platejs').SlatePlugin<import('platejs').PluginConfig<"column", {}, {}, {}, {}>>)[];
2
+ //# sourceMappingURL=column-base-kit.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"column-base-kit.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/plugins/column-base-kit.tsx"],"names":[],"mappings":"AAOA,eAAO,MAAM,aAAa,6LAGzB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const ColumnKit: (import('platejs/react').PlatePlugin<import('platejs').PluginConfig<"column_group", {}, {}, {}, {}>> | import('platejs/react').PlatePlugin<import('platejs').PluginConfig<"column", {}, {}, {}, {}>>)[];
2
+ //# sourceMappingURL=column-kit.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"column-kit.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/plugins/column-kit.tsx"],"names":[],"mappings":"AAMA,eAAO,MAAM,SAAS,yMAGrB,CAAC"}
@@ -0,0 +1,48 @@
1
+ export declare const BaseCommentKit: import('platejs').SlatePlugin<import('platejs').PluginConfig<"comment", {}, {
2
+ comment: {
3
+ has: (options: {
4
+ id: string;
5
+ }) => boolean;
6
+ node: (options?: import('platejs').EditorNodesOptions & {
7
+ id?: string;
8
+ isDraft?: boolean;
9
+ }) => import('platejs').NodeEntry<import('platejs').TCommentText> | undefined;
10
+ nodeId: (leaf: import('platejs').TCommentText) => string | undefined;
11
+ nodes: (options?: import('platejs').EditorNodesOptions & {
12
+ id?: string;
13
+ isDraft?: boolean;
14
+ transient?: boolean;
15
+ }) => import('platejs').NodeEntry<import('platejs').TCommentText>[];
16
+ };
17
+ } & Record<"comment", {
18
+ has: (options: {
19
+ id: string;
20
+ }) => boolean;
21
+ node: (options?: import('platejs').EditorNodesOptions & {
22
+ id?: string;
23
+ isDraft?: boolean;
24
+ }) => import('platejs').NodeEntry<import('platejs').TCommentText> | undefined;
25
+ nodeId: (leaf: import('platejs').TCommentText) => string | undefined;
26
+ nodes: (options?: import('platejs').EditorNodesOptions & {
27
+ id?: string;
28
+ isDraft?: boolean;
29
+ transient?: boolean;
30
+ }) => import('platejs').NodeEntry<import('platejs').TCommentText>[];
31
+ }>, {
32
+ comment: {
33
+ removeMark: () => void;
34
+ setDraft: (options?: import('platejs').SetNodesOptions) => void;
35
+ unsetMark: (options: {
36
+ id?: string;
37
+ transient?: boolean;
38
+ }) => void;
39
+ };
40
+ } & Record<"comment", {
41
+ removeMark: () => void;
42
+ setDraft: (options?: import('platejs').SetNodesOptions) => void;
43
+ unsetMark: (options: {
44
+ id?: string;
45
+ transient?: boolean;
46
+ }) => void;
47
+ }>, {}>>[];
48
+ //# sourceMappingURL=comment-base-kit.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"comment-base-kit.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/plugins/comment-base-kit.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,cAAc;;;;;sBAG+2B,CAAC;cAAuC,CAAC;mBAA6B,CAAC;;;uBAAiJ,CAAC;cAAuC,CAAC;mBAA6B,CAAC;qBAAgC,CAAC;;;;;;;kBAAiK,CAAC;UAAmC,CAAC;eAAyB,CAAC;;;mBAAqI,CAAC;UAAmC,CAAC;eAAyB,CAAC;iBAA4B,CAAC;;;;;0BAA+H,CAAC;;cAAyE,CAAC;qBAA+B,CAAC;;;;;sBAAgH,CAAC;;UAAiE,CAAC;iBAA2B,CAAC;;UADnkE,CAAC"}
@@ -0,0 +1,68 @@
1
+ import { Path } from 'platejs';
2
+ export declare const commentPlugin: import('platejs/react').PlatePlugin<import('platejs').PluginConfig<"comment", {
3
+ activeId: string | null;
4
+ commentingBlock: Path | null;
5
+ hoverId: string | null;
6
+ uniquePathMap: Map<string, Path>;
7
+ }, {
8
+ comment: {
9
+ has: (options: {
10
+ id: string;
11
+ }) => boolean;
12
+ node: (options?: import('platejs').EditorNodesOptions & {
13
+ id?: string;
14
+ isDraft?: boolean;
15
+ }) => import('platejs').NodeEntry<import('platejs').TCommentText> | undefined;
16
+ nodeId: (leaf: import('platejs').TCommentText) => string | undefined;
17
+ nodes: (options?: import('platejs').EditorNodesOptions & {
18
+ id?: string;
19
+ isDraft?: boolean;
20
+ transient?: boolean;
21
+ }) => import('platejs').NodeEntry<import('platejs').TCommentText>[];
22
+ };
23
+ }, {
24
+ comment: {
25
+ removeMark: () => void;
26
+ setDraft: (options?: import('platejs').SetNodesOptions) => void;
27
+ unsetMark: (options: {
28
+ id?: string;
29
+ transient?: boolean;
30
+ }) => void;
31
+ };
32
+ } & Record<"comment", {
33
+ setDraft: () => void;
34
+ }>, {}>>;
35
+ export declare const CommentKit: import('platejs/react').PlatePlugin<import('platejs').PluginConfig<"comment", {
36
+ activeId: string | null;
37
+ commentingBlock: Path | null;
38
+ hoverId: string | null;
39
+ uniquePathMap: Map<string, Path>;
40
+ }, {
41
+ comment: {
42
+ has: (options: {
43
+ id: string;
44
+ }) => boolean;
45
+ node: (options?: import('platejs').EditorNodesOptions & {
46
+ id?: string;
47
+ isDraft?: boolean;
48
+ }) => import('platejs').NodeEntry<import('platejs').TCommentText> | undefined;
49
+ nodeId: (leaf: import('platejs').TCommentText) => string | undefined;
50
+ nodes: (options?: import('platejs').EditorNodesOptions & {
51
+ id?: string;
52
+ isDraft?: boolean;
53
+ transient?: boolean;
54
+ }) => import('platejs').NodeEntry<import('platejs').TCommentText>[];
55
+ };
56
+ }, {
57
+ comment: {
58
+ removeMark: () => void;
59
+ setDraft: (options?: import('platejs').SetNodesOptions) => void;
60
+ unsetMark: (options: {
61
+ id?: string;
62
+ transient?: boolean;
63
+ }) => void;
64
+ };
65
+ } & Record<"comment", {
66
+ setDraft: () => void;
67
+ }>, {}>>[];
68
+ //# sourceMappingURL=comment-kit.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"comment-kit.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/plugins/comment-kit.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAgB,IAAI,EAAE,MAAM,SAAS,CAAC;AAsBlD,eAAO,MAAM,aAAa;cAPZ,MAAM,GAAG,IAAI;qBACN,IAAI,GAAG,IAAI;aACnB,MAAM,GAAG,IAAI;mBACP,GAAG,CAAC,MAAM,EAAE,IAAI,CAAC;;;;;;sBANjC,CAAC;cACI,CAAC;mBAEK,CAAA;;;uBAOQ,CAAC;cAAuC,CAAC;mBACnD,CAAC;qBACkB,CAAC;;;;;;0BAKxB,CAAN;;cAII,CAAC;qBAA+B,CAAC;;;;;QA2DnC,CAAC;AAEL,eAAO,MAAM,UAAU;cA/ET,MAAM,GAAG,IAAI;qBACN,IAAI,GAAG,IAAI;aACnB,MAAM,GAAG,IAAI;mBACP,GAAG,CAAC,MAAM,EAAE,IAAI,CAAC;;;;;;sBANjC,CAAC;cACI,CAAC;mBAEK,CAAA;;;uBAOQ,CAAC;cAAuC,CAAC;mBACnD,CAAC;qBACkB,CAAC;;;;;;0BAKxB,CAAN;;cAII,CAAC;qBAA+B,CAAC;;;;;UA6DE,CAAC"}
@@ -0,0 +1,12 @@
1
+ export declare const CursorOverlayKit: import('platejs/react').PlatePlugin<import('platejs').PluginConfig<"cursorOverlay", {
2
+ cursors: Record<string, import('@platejs/selection/react').CursorState<import('@platejs/selection/react').CursorData>>;
3
+ }, {
4
+ cursorOverlay: {
5
+ addCursor: (id: string, cursor: Omit<import('@platejs/selection/react').CursorState<import('@platejs/selection/react').CursorData>, "id">) => void;
6
+ removeCursor: (id: (string & {}) | "drag" | "selection") => void;
7
+ };
8
+ } & Record<"cursorOverlay", {
9
+ addCursor: (id: string, cursor: Omit<import('@platejs/selection/react').CursorState<import('@platejs/selection/react').CursorData>, "id">) => void;
10
+ removeCursor: (id: (string & {}) | "drag" | "selection") => void;
11
+ }>, {}, {}>>[];
12
+ //# sourceMappingURL=cursor-overlay-kit.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cursor-overlay-kit.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/plugins/cursor-overlay-kit.tsx"],"names":[],"mappings":"AAMA,eAAO,MAAM,gBAAgB;;;;;;;;;;cAM5B,CAAC"}
@@ -0,0 +1,20 @@
1
+ export declare const BaseDateKit: import('platejs').SlatePlugin<import('platejs').PluginConfig<"date", {}, {}, {
2
+ insert: {
3
+ date: (args_0?: ({
4
+ date?: string;
5
+ } & {
6
+ batchDirty?: boolean;
7
+ hanging?: boolean;
8
+ nextBlock?: boolean;
9
+ removeEmpty?: import('platejs').QueryNodeOptions | boolean;
10
+ select?: boolean;
11
+ } & {
12
+ id?: boolean | string;
13
+ block?: boolean;
14
+ empty?: boolean;
15
+ match?: import('platejs').Predicate<import('platejs').NodeIn<import('platejs').Value>> | undefined;
16
+ text?: boolean;
17
+ } & import('platejs').QueryAt & import('platejs').QueryMode & import('platejs').QueryVoids) | undefined) => void;
18
+ };
19
+ }, {}>>[];
20
+ //# sourceMappingURL=date-base-kit.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"date-base-kit.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/plugins/date-base-kit.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,WAAW;;qBACK,CAAC;gBAAqB,CAAC;;sBAA8C,CAAC;mBAA8B,CAAC;qBAAgC,CAAC;uBAAkC,CAAC;kBAAwD,CAAC;;cAAuC,CAAC;iBAAqC,CAAC;iBAA4B,CAAC;iBAA4B,CAAC;gBAAgF,CAAC;;;SAD5Y,CAAC"}
@@ -0,0 +1,20 @@
1
+ export declare const DateKit: import('platejs/react').PlatePlugin<import('platejs').PluginConfig<"date", {}, {}, {
2
+ insert: {
3
+ date: (args_0?: ({
4
+ date?: string;
5
+ } & {
6
+ batchDirty?: boolean;
7
+ hanging?: boolean;
8
+ nextBlock?: boolean;
9
+ removeEmpty?: import('platejs').QueryNodeOptions | boolean;
10
+ select?: boolean;
11
+ } & {
12
+ id?: boolean | string;
13
+ block?: boolean;
14
+ empty?: boolean;
15
+ match?: import('platejs').Predicate<import('platejs').NodeIn<import('platejs').Value>> | undefined;
16
+ text?: boolean;
17
+ } & import('platejs').QueryAt & import('platejs').QueryMode & import('platejs').QueryVoids) | undefined) => void;
18
+ };
19
+ }, {}>>[];
20
+ //# sourceMappingURL=date-kit.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"date-kit.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/plugins/date-kit.tsx"],"names":[],"mappings":"AAMA,eAAO,MAAM,OAAO;;qBACG,CAAC;gBAAqB,CAAC;;sBAA8C,CAAC;mBAA8B,CAAC;qBAAgC,CAAC;uBAAkC,CAAC;kBAAwD,CAAC;;cAAuC,CAAC;iBAAqC,CAAC;iBAA4B,CAAC;iBAA4B,CAAC;gBAAgF,CAAC;;;SADpZ,CAAC"}
@@ -0,0 +1,56 @@
1
+ import { TComment } from '../../ui/comment';
2
+ export interface TDiscussion {
3
+ id: string;
4
+ comments: TComment[];
5
+ createdAt: Date;
6
+ isResolved: boolean;
7
+ userId: string;
8
+ documentContent?: string;
9
+ }
10
+ export declare const discussionPlugin: import('platejs/react').PlatePlugin<import('platejs').PluginConfig<"discussion", {
11
+ currentUserId: string;
12
+ discussions: TDiscussion[];
13
+ users: Record<string, {
14
+ id: string;
15
+ avatarUrl: string;
16
+ name: string;
17
+ hue?: number;
18
+ }>;
19
+ }, {}, {}, {
20
+ currentUser: () => {
21
+ id: string;
22
+ avatarUrl: string;
23
+ name: string;
24
+ hue?: number;
25
+ };
26
+ user: (id: string) => {
27
+ id: string;
28
+ avatarUrl: string;
29
+ name: string;
30
+ hue?: number;
31
+ };
32
+ }>>;
33
+ export declare const DiscussionKit: import('platejs/react').PlatePlugin<import('platejs').PluginConfig<"discussion", {
34
+ currentUserId: string;
35
+ discussions: TDiscussion[];
36
+ users: Record<string, {
37
+ id: string;
38
+ avatarUrl: string;
39
+ name: string;
40
+ hue?: number;
41
+ }>;
42
+ }, {}, {}, {
43
+ currentUser: () => {
44
+ id: string;
45
+ avatarUrl: string;
46
+ name: string;
47
+ hue?: number;
48
+ };
49
+ user: (id: string) => {
50
+ id: string;
51
+ avatarUrl: string;
52
+ name: string;
53
+ hue?: number;
54
+ };
55
+ }>>[];
56
+ //# sourceMappingURL=discussion-kit.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"discussion-kit.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/plugins/discussion-kit.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAMxD,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,QAAQ,EAAE,CAAC;IACrB,SAAS,EAAE,IAAI,CAAC;IAChB,UAAU,EAAE,OAAO,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAoHD,eAAO,MAAM,gBAAgB;;;;YApBrB,MAAM;mBAAa,MAAM;cAAQ,MAAM;cAAQ,MAAM;;;;YAArD,MAAM;mBAAa,MAAM;cAAQ,MAAM;cAAQ,MAAM;;eAiC9C,MAAM;YAjCb,MAAM;mBAAa,MAAM;cAAQ,MAAM;cAAQ,MAAM;;GAkCxD,CAAC;AAEN,eAAO,MAAM,aAAa;;;;YApClB,MAAM;mBAAa,MAAM;cAAQ,MAAM;cAAQ,MAAM;;;;YAArD,MAAM;mBAAa,MAAM;cAAQ,MAAM;cAAQ,MAAM;;eAiC9C,MAAM;YAjCb,MAAM;mBAAa,MAAM;cAAQ,MAAM;cAAQ,MAAM;;KAoCd,CAAC"}
@@ -0,0 +1,21 @@
1
+ export declare const DndKit: import('platejs/react').PlatePlugin<import('platejs').PluginConfig<"dnd", {
2
+ _isOver?: boolean;
3
+ draggingId?: string[] | string | null;
4
+ dropTarget?: {
5
+ id: string | null;
6
+ line: import('@platejs/dnd').DropLineDirection;
7
+ };
8
+ enableScroller?: boolean;
9
+ isDragging?: boolean;
10
+ multiplePreviewRef?: React.RefObject<HTMLDivElement | null> | null;
11
+ scrollerProps?: Partial<import('@platejs/dnd').ScrollerProps>;
12
+ onDropFiles?: (props: {
13
+ id: string;
14
+ dragItem: import('@platejs/dnd').FileDragItemNode;
15
+ editor: import('platejs/react').PlateEditor;
16
+ monitor: import('react-dnd').DropTargetMonitor<import('@platejs/dnd').DragItemNode, unknown>;
17
+ nodeRef: any;
18
+ target?: import('platejs').Path;
19
+ }) => void;
20
+ }, {}, {}, {}>>[];
21
+ //# sourceMappingURL=dnd-kit.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dnd-kit.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/plugins/dnd-kit.tsx"],"names":[],"mappings":"AAUA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;cAkB8qE,CAAC;;iBADjsE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const DocxKit: (import('platejs').SlatePlugin<import('platejs').PluginConfig<"docx", {}, {}, {}, {}>> | import('platejs').SlatePlugin<import('platejs').PluginConfig<"juice", {}, {}, {}, {}>>)[];
2
+ //# sourceMappingURL=docx-kit.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"docx-kit.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/plugins/docx-kit.tsx"],"names":[],"mappings":"AAKA,eAAO,MAAM,OAAO,oLAA4B,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { default as emojiMartData } from '@emoji-mart/data';
2
+ export declare const EmojiKit: (import('platejs/react').PlatePlugin<import('platejs').PluginConfig<"emoji", {
3
+ data?: emojiMartData.EmojiMartData;
4
+ createEmojiNode?: (emoji: emojiMartData.Emoji) => import('platejs').Descendant;
5
+ } & import('@platejs/combobox').TriggerComboboxPluginOptions, {}, {}, {}>> | import('platejs/react').PlatePlugin<import('platejs').PluginConfig<"emoji_input", {}, {}, {}, {}>>)[];
6
+ //# sourceMappingURL=emoji-kit.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"emoji-kit.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/plugins/emoji-kit.tsx"],"names":[],"mappings":"AAEA,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAK7C,eAAO,MAAM,QAAQ;;;kLAKpB,CAAC"}
@@ -0,0 +1,5 @@
1
+ export declare const ExitBreakKit: import('platejs').SlatePlugin<import('platejs').PluginConfig<"exitBreak", {}, {}, Record<"exitBreak", {
2
+ insert: (options: Omit<import('platejs').InsertExitBreakOptions, "reverse">) => true | undefined;
3
+ insertBefore: (options: Omit<import('platejs').InsertExitBreakOptions, "reverse">) => true | undefined;
4
+ }>, {}>>[];
5
+ //# sourceMappingURL=exit-break-kit.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"exit-break-kit.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/plugins/exit-break-kit.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,YAAY;;;UAOxB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const FixedToolbarKit: import('platejs/react').PlatePlugin<import('platejs').PluginConfig<"fixed-toolbar", {}, {}, {}, {}>>[];
2
+ //# sourceMappingURL=fixed-toolbar-kit.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fixed-toolbar-kit.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/plugins/fixed-toolbar-kit.tsx"],"names":[],"mappings":"AAOA,eAAO,MAAM,eAAe,wGAW3B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const FloatingToolbarKit: import('platejs/react').PlatePlugin<import('platejs').PluginConfig<"floating-toolbar", {}, {}, {}, {}>>[];
2
+ //# sourceMappingURL=floating-toolbar-kit.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"floating-toolbar-kit.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/plugins/floating-toolbar-kit.tsx"],"names":[],"mappings":"AAOA,eAAO,MAAM,kBAAkB,2GAW9B,CAAC"}
@@ -0,0 +1,10 @@
1
+ export declare const BaseFontKit: (import('platejs').SlatePlugin<import('platejs').PluginConfig<"color", {}, {}, Record<"color", {
2
+ addMark: (value: string) => void;
3
+ }>, {}>> | import('platejs').SlatePlugin<import('platejs').PluginConfig<"backgroundColor", {}, {}, Record<"backgroundColor", {
4
+ addMark: (value: string) => void;
5
+ }>, {}>> | import('platejs').SlatePlugin<import('platejs').PluginConfig<"fontSize", {}, {}, Record<"fontSize", {
6
+ addMark: (value: string) => void;
7
+ }>, {}>> | import('platejs').SlatePlugin<import('platejs').PluginConfig<"fontFamily", {}, {}, Record<"fontFamily", {
8
+ addMark: (value: string) => void;
9
+ }>, {}>>)[];
10
+ //# sourceMappingURL=font-base-kit.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"font-base-kit.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/plugins/font-base-kit.tsx"],"names":[],"mappings":"AAcA,eAAO,MAAM,WAAW;;;;;;;;WAKvB,CAAC"}
@@ -0,0 +1,10 @@
1
+ export declare const FontKit: (import('platejs/react').PlatePlugin<import('platejs').PluginConfig<"color", {}, {}, Record<"color", {
2
+ addMark: (value: string) => void;
3
+ }>, {}>> | import('platejs/react').PlatePlugin<import('platejs').PluginConfig<"backgroundColor", {}, {}, Record<"backgroundColor", {
4
+ addMark: (value: string) => void;
5
+ }>, {}>> | import('platejs/react').PlatePlugin<import('platejs').PluginConfig<"fontSize", {}, {}, Record<"fontSize", {
6
+ addMark: (value: string) => void;
7
+ }>, {}>> | import('platejs/react').PlatePlugin<import('platejs').PluginConfig<"fontFamily", {}, {}, Record<"fontFamily", {
8
+ addMark: (value: string) => void;
9
+ }>, {}>>)[];
10
+ //# sourceMappingURL=font-kit.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"font-kit.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/plugins/font-kit.tsx"],"names":[],"mappings":"AAgBA,eAAO,MAAM,OAAO;;;;;;;;WAYnB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const BaseIndentKit: import('platejs').SlatePlugin<import('@platejs/indent').IndentConfig>[];
2
+ //# sourceMappingURL=indent-base-kit.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"indent-base-kit.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/plugins/indent-base-kit.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,aAAa,yEAezB,CAAC"}