superdoc 0.31.0-next.1 → 0.31.0-next.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 (345) hide show
  1. package/dist/chunks/{PdfViewer-CSZtzevK.cjs → PdfViewer-D9P6oSyP.cjs} +2 -2
  2. package/dist/chunks/{PdfViewer-DYfpBL2P.es.js → PdfViewer-DrGdcxMi.es.js} +2 -2
  3. package/dist/chunks/{eventemitter3-hYlnBzSA.es.js → eventemitter3-BZXKb7j7.es.js} +1 -1
  4. package/dist/chunks/{eventemitter3-DmHNHvFX.cjs → eventemitter3-CFCpOk3d.cjs} +1 -1
  5. package/dist/chunks/{index-BiYSI2c3.es.js → index-8TkBu9O_.es.js} +6 -6
  6. package/dist/chunks/{index-9j37gBmK.cjs → index-ZC9yiay1.cjs} +6 -6
  7. package/dist/chunks/{index-0zP7LFOd-CQ5IRTwG.es.js → index-hUtaGvC8-Vf8Tdemp.es.js} +1 -1
  8. package/dist/chunks/{index-0zP7LFOd-PDPveafF.cjs → index-hUtaGvC8-aunRWvRG.cjs} +1 -1
  9. package/dist/chunks/{jszip-BP2FTbpi.cjs → jszip-B99MTu59.cjs} +1 -1
  10. package/dist/chunks/{jszip-jKrsZoMS.es.js → jszip-Duxs2YMV.es.js} +1 -1
  11. package/dist/chunks/{super-editor.es-D8j9E-4h.cjs → super-editor.es-4uI_8knu.cjs} +4590 -4487
  12. package/dist/chunks/{super-editor.es-BzhuUuJx.es.js → super-editor.es-DS6vzo6Y.es.js} +4543 -4440
  13. package/dist/chunks/{vue-Cwv-wUpm.cjs → vue-ARQSyfaw.cjs} +2401 -2360
  14. package/dist/chunks/{vue-CKmzTNVs.es.js → vue-B5QAf5pA.es.js} +2401 -2360
  15. package/dist/chunks/xml-js-CVyfrKaV.es.js +2 -0
  16. package/dist/chunks/xml-js-DQa4Ye5C.cjs +3 -0
  17. package/dist/images/altText_add.svg +3 -0
  18. package/dist/images/altText_disclaimer.svg +3 -0
  19. package/dist/images/altText_done.svg +3 -0
  20. package/dist/images/altText_spinner.svg +30 -0
  21. package/dist/images/altText_warning.svg +3 -0
  22. package/dist/images/annotation-check.svg +11 -0
  23. package/dist/images/annotation-comment.svg +16 -0
  24. package/dist/images/annotation-help.svg +26 -0
  25. package/dist/images/annotation-insert.svg +10 -0
  26. package/dist/images/annotation-key.svg +11 -0
  27. package/dist/images/annotation-newparagraph.svg +11 -0
  28. package/dist/images/annotation-noicon.svg +7 -0
  29. package/dist/images/annotation-note.svg +42 -0
  30. package/dist/images/annotation-paperclip.svg +6 -0
  31. package/dist/images/annotation-paragraph.svg +16 -0
  32. package/dist/images/annotation-pushpin.svg +7 -0
  33. package/dist/images/cursor-editorFreeHighlight.svg +6 -0
  34. package/dist/images/cursor-editorFreeText.svg +3 -0
  35. package/dist/images/cursor-editorInk.svg +4 -0
  36. package/dist/images/cursor-editorTextHighlight.svg +8 -0
  37. package/dist/images/editor-toolbar-delete.svg +5 -0
  38. package/dist/images/loading-icon.gif +0 -0
  39. package/dist/images/messageBar_closingButton.svg +3 -0
  40. package/dist/images/messageBar_warning.svg +3 -0
  41. package/dist/images/toolbarButton-editorHighlight.svg +6 -0
  42. package/dist/images/toolbarButton-menuArrow.svg +3 -0
  43. package/dist/packages/superdoc/src/core/SuperDoc.d.ts +140 -52
  44. package/dist/packages/superdoc/src/core/SuperDoc.d.ts.map +1 -1
  45. package/dist/packages/superdoc/src/core/types/index.d.ts +140 -52
  46. package/dist/packages/superdoc/src/core/types/index.d.ts.map +1 -1
  47. package/dist/style.css +12 -9
  48. package/dist/super-editor/ai-writer.es.js +2 -2
  49. package/dist/super-editor/chunks/{converter-B3mE6WPB.js → converter-DNZlAyEp.js} +1658 -1447
  50. package/dist/super-editor/chunks/{docx-zipper-FgUekv4g.js → docx-zipper-CGXr6ESB.js} +1 -1
  51. package/dist/super-editor/chunks/{editor-B0PiO07g.js → editor-BG6XbVA7.js} +2381 -2531
  52. package/dist/super-editor/chunks/{index-0zP7LFOd.js → index-hUtaGvC8.js} +1 -1
  53. package/dist/super-editor/chunks/{toolbar-Bj9E8rmT.js → toolbar-8Nf_jruN.js} +2 -2
  54. package/dist/super-editor/converter.es.js +2 -2
  55. package/dist/super-editor/docx-zipper.es.js +2 -2
  56. package/dist/super-editor/editor.es.js +3 -3
  57. package/dist/super-editor/file-zipper.es.js +1 -1
  58. package/dist/super-editor/style.css +12 -9
  59. package/dist/super-editor/super-editor/src/components/toolbar/defaultItems.d.ts.map +1 -1
  60. package/dist/super-editor/super-editor/src/components/toolbar/super-toolbar.d.ts.map +1 -1
  61. package/dist/super-editor/super-editor/src/core/Attribute.d.ts +75 -29
  62. package/dist/super-editor/super-editor/src/core/Attribute.d.ts.map +1 -1
  63. package/dist/super-editor/super-editor/src/core/CommandService.d.ts +1 -1
  64. package/dist/super-editor/super-editor/src/core/CommandService.d.ts.map +1 -1
  65. package/dist/super-editor/super-editor/src/core/Editor.d.ts +145 -673
  66. package/dist/super-editor/super-editor/src/core/Editor.d.ts.map +1 -1
  67. package/dist/super-editor/super-editor/src/core/EventEmitter.d.ts +23 -14
  68. package/dist/super-editor/super-editor/src/core/EventEmitter.d.ts.map +1 -1
  69. package/dist/super-editor/super-editor/src/core/Extension.d.ts +25 -11
  70. package/dist/super-editor/super-editor/src/core/Extension.d.ts.map +1 -1
  71. package/dist/super-editor/super-editor/src/core/ExtensionService.d.ts +1 -1
  72. package/dist/super-editor/super-editor/src/core/ExtensionService.d.ts.map +1 -1
  73. package/dist/super-editor/super-editor/src/core/Mark.d.ts +28 -12
  74. package/dist/super-editor/super-editor/src/core/Mark.d.ts.map +1 -1
  75. package/dist/super-editor/super-editor/src/core/Node.d.ts +87 -25
  76. package/dist/super-editor/super-editor/src/core/Node.d.ts.map +1 -1
  77. package/dist/super-editor/super-editor/src/core/OxmlNode.d.ts +20 -13
  78. package/dist/super-editor/super-editor/src/core/OxmlNode.d.ts.map +1 -1
  79. package/dist/super-editor/super-editor/src/core/Schema.d.ts.map +1 -1
  80. package/dist/super-editor/super-editor/src/core/commands/changeListLevel.d.ts.map +1 -1
  81. package/dist/super-editor/super-editor/src/core/commands/index.d.ts +2 -0
  82. package/dist/super-editor/super-editor/src/core/commands/lineHeight.d.ts +7 -0
  83. package/dist/super-editor/super-editor/src/core/commands/lineHeight.d.ts.map +1 -0
  84. package/dist/super-editor/super-editor/src/core/commands/list-helpers/is-list.d.ts.map +1 -1
  85. package/dist/super-editor/super-editor/src/core/commands/removeNumberingProperties.d.ts.map +1 -1
  86. package/dist/super-editor/super-editor/src/core/commands/resetAttributes.d.ts.map +1 -1
  87. package/dist/super-editor/super-editor/src/core/commands/restartNumbering.d.ts.map +1 -1
  88. package/dist/super-editor/super-editor/src/core/commands/textIndent.d.ts +5 -0
  89. package/dist/super-editor/super-editor/src/core/commands/textIndent.d.ts.map +1 -0
  90. package/dist/super-editor/super-editor/src/core/commands/toggleList.d.ts.map +1 -1
  91. package/dist/super-editor/super-editor/src/core/commands/types/index.d.ts +11 -89
  92. package/dist/super-editor/super-editor/src/core/commands/types/index.d.ts.map +1 -1
  93. package/dist/super-editor/super-editor/src/core/commands/updateAttributes.d.ts +4 -4
  94. package/dist/super-editor/super-editor/src/core/commands/updateAttributes.d.ts.map +1 -1
  95. package/dist/super-editor/super-editor/src/core/extensions/commands.d.ts +1 -1
  96. package/dist/super-editor/super-editor/src/core/extensions/commands.d.ts.map +1 -1
  97. package/dist/super-editor/super-editor/src/core/extensions/editable.d.ts +1 -1
  98. package/dist/super-editor/super-editor/src/core/extensions/editable.d.ts.map +1 -1
  99. package/dist/super-editor/super-editor/src/core/extensions/editorFocus.d.ts +1 -1
  100. package/dist/super-editor/super-editor/src/core/extensions/editorFocus.d.ts.map +1 -1
  101. package/dist/super-editor/super-editor/src/core/extensions/keymap.d.ts +1 -1
  102. package/dist/super-editor/super-editor/src/core/extensions/keymap.d.ts.map +1 -1
  103. package/dist/super-editor/super-editor/src/core/helpers/annotator.d.ts +3 -2
  104. package/dist/super-editor/super-editor/src/core/helpers/annotator.d.ts.map +1 -1
  105. package/dist/super-editor/super-editor/src/core/helpers/getExtensionConfigField.d.ts +12 -5
  106. package/dist/super-editor/super-editor/src/core/helpers/getExtensionConfigField.d.ts.map +1 -1
  107. package/dist/super-editor/super-editor/src/core/helpers/isList.d.ts +1 -1
  108. package/dist/super-editor/super-editor/src/core/helpers/isList.d.ts.map +1 -1
  109. package/dist/super-editor/super-editor/src/core/helpers/list-numbering-helpers.d.ts.map +1 -1
  110. package/dist/super-editor/super-editor/src/core/index.d.ts +18 -13
  111. package/dist/super-editor/super-editor/src/core/index.d.ts.map +1 -1
  112. package/dist/super-editor/super-editor/src/core/schema-summary.d.ts +4 -0
  113. package/dist/super-editor/super-editor/src/core/schema-summary.d.ts.map +1 -0
  114. package/dist/super-editor/super-editor/src/core/super-converter/exporter.d.ts +0 -48
  115. package/dist/super-editor/super-editor/src/core/super-converter/exporter.d.ts.map +1 -1
  116. package/dist/super-editor/super-editor/src/core/super-converter/helpers.d.ts +7 -0
  117. package/dist/super-editor/super-editor/src/core/super-converter/helpers.d.ts.map +1 -1
  118. package/dist/super-editor/super-editor/src/core/super-converter/styles.d.ts +59 -13
  119. package/dist/super-editor/super-editor/src/core/super-converter/styles.d.ts.map +1 -1
  120. package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/autoPageNumberImporter.d.ts.map +1 -1
  121. package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/markImporter.d.ts +1 -1
  122. package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/types/index.d.ts +4 -0
  123. package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/types/index.d.ts.map +1 -1
  124. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/sd/autoPageNumber/autoPageNumber-translator.d.ts +8 -0
  125. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/sd/autoPageNumber/autoPageNumber-translator.d.ts.map +1 -0
  126. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/sd/autoPageNumber/index.d.ts +2 -0
  127. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/sd/autoPageNumber/index.d.ts.map +1 -0
  128. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/sd/totalPageNumber/index.d.ts +2 -0
  129. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/sd/totalPageNumber/index.d.ts.map +1 -0
  130. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/sd/totalPageNumber/totalPageNumber-translator.d.ts +8 -0
  131. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/sd/totalPageNumber/totalPageNumber-translator.d.ts.map +1 -0
  132. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/generate-paragraph-properties.d.ts +8 -0
  133. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/generate-paragraph-properties.d.ts.map +1 -0
  134. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/legacy-handle-paragraph-node.d.ts.map +1 -1
  135. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/translate-paragraph-node.d.ts +8 -0
  136. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/translate-paragraph-node.d.ts.map +1 -0
  137. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/sdt/helpers/convert-sdt-content-to-runs.d.ts +7 -0
  138. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/sdt/helpers/convert-sdt-content-to-runs.d.ts.map +1 -0
  139. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/sdt/helpers/translate-field-annotation.d.ts.map +1 -1
  140. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/t/helpers/translate-text-node.d.ts +5 -0
  141. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/t/helpers/translate-text-node.d.ts.map +1 -0
  142. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tbl/tbl-translator.d.ts +14 -10
  143. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tbl/tbl-translator.d.ts.map +1 -1
  144. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tblGrid/tblGrid-translator.d.ts.map +1 -1
  145. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tr/tr-translator.d.ts.map +1 -1
  146. package/dist/super-editor/super-editor/src/core/types/ChainedCommands.d.ts +118 -0
  147. package/dist/super-editor/super-editor/src/core/types/ChainedCommands.d.ts.map +1 -0
  148. package/dist/super-editor/super-editor/src/core/types/EditorConfig.d.ts +265 -0
  149. package/dist/super-editor/super-editor/src/core/types/EditorConfig.d.ts.map +1 -0
  150. package/dist/super-editor/super-editor/src/core/types/EditorEvents.d.ts +144 -0
  151. package/dist/super-editor/super-editor/src/core/types/EditorEvents.d.ts.map +1 -0
  152. package/dist/super-editor/super-editor/src/core/types/EditorSchema.d.ts +35 -0
  153. package/dist/super-editor/super-editor/src/core/types/EditorSchema.d.ts.map +1 -0
  154. package/dist/super-editor/super-editor/src/core/types/EditorTypes.d.ts +73 -0
  155. package/dist/super-editor/super-editor/src/core/types/EditorTypes.d.ts.map +1 -0
  156. package/dist/super-editor/super-editor/src/core/types/__tests__/command-types.d.ts +2 -0
  157. package/dist/super-editor/super-editor/src/core/types/__tests__/command-types.d.ts.map +1 -0
  158. package/dist/super-editor/super-editor/src/core/utilities/callOrGet.d.ts +6 -2
  159. package/dist/super-editor/super-editor/src/core/utilities/callOrGet.d.ts.map +1 -1
  160. package/dist/super-editor/super-editor/src/core/utilities/deleteProps.d.ts.map +1 -1
  161. package/dist/super-editor/super-editor/src/core/utilities/isIOS.d.ts.map +1 -1
  162. package/dist/super-editor/super-editor/src/extensions/ai/ai-marks.d.ts +8 -2
  163. package/dist/super-editor/super-editor/src/extensions/ai/ai-marks.d.ts.map +1 -1
  164. package/dist/super-editor/super-editor/src/extensions/ai/ai-nodes.d.ts +7 -1
  165. package/dist/super-editor/super-editor/src/extensions/ai/ai-nodes.d.ts.map +1 -1
  166. package/dist/super-editor/super-editor/src/extensions/ai/ai-plugin.d.ts +1 -1
  167. package/dist/super-editor/super-editor/src/extensions/ai/ai-plugin.d.ts.map +1 -1
  168. package/dist/super-editor/super-editor/src/extensions/block-node/block-node.d.ts +1 -1
  169. package/dist/super-editor/super-editor/src/extensions/block-node/block-node.d.ts.map +1 -1
  170. package/dist/super-editor/super-editor/src/extensions/bold/bold.d.ts +3 -1
  171. package/dist/super-editor/super-editor/src/extensions/bold/bold.d.ts.map +1 -1
  172. package/dist/super-editor/super-editor/src/extensions/bookmarks/bookmark-end.d.ts +1 -1
  173. package/dist/super-editor/super-editor/src/extensions/bookmarks/bookmark-end.d.ts.map +1 -1
  174. package/dist/super-editor/super-editor/src/extensions/bookmarks/bookmark-start.d.ts +1 -1
  175. package/dist/super-editor/super-editor/src/extensions/bookmarks/bookmark-start.d.ts.map +1 -1
  176. package/dist/super-editor/super-editor/src/extensions/collaboration/collaboration-helpers.d.ts.map +1 -1
  177. package/dist/super-editor/super-editor/src/extensions/collaboration/collaboration.d.ts +6 -1
  178. package/dist/super-editor/super-editor/src/extensions/collaboration/collaboration.d.ts.map +1 -1
  179. package/dist/super-editor/super-editor/src/extensions/collaboration-cursor/collaboration-cursor.d.ts +9 -1
  180. package/dist/super-editor/super-editor/src/extensions/collaboration-cursor/collaboration-cursor.d.ts.map +1 -1
  181. package/dist/super-editor/super-editor/src/extensions/color/color.d.ts +3 -1
  182. package/dist/super-editor/super-editor/src/extensions/color/color.d.ts.map +1 -1
  183. package/dist/super-editor/super-editor/src/extensions/comment/comment.d.ts +18 -3
  184. package/dist/super-editor/super-editor/src/extensions/comment/comment.d.ts.map +1 -1
  185. package/dist/super-editor/super-editor/src/extensions/comment/comments-marks.d.ts +5 -1
  186. package/dist/super-editor/super-editor/src/extensions/comment/comments-marks.d.ts.map +1 -1
  187. package/dist/super-editor/super-editor/src/extensions/comment/comments-plugin.d.ts +1 -1
  188. package/dist/super-editor/super-editor/src/extensions/comment/comments-plugin.d.ts.map +1 -1
  189. package/dist/super-editor/super-editor/src/extensions/content-block/content-block.d.ts +1 -1
  190. package/dist/super-editor/super-editor/src/extensions/content-block/content-block.d.ts.map +1 -1
  191. package/dist/super-editor/super-editor/src/extensions/custom-selection/custom-selection.d.ts +1 -1
  192. package/dist/super-editor/super-editor/src/extensions/custom-selection/custom-selection.d.ts.map +1 -1
  193. package/dist/super-editor/super-editor/src/extensions/document/document.d.ts +1 -1
  194. package/dist/super-editor/super-editor/src/extensions/document/document.d.ts.map +1 -1
  195. package/dist/super-editor/super-editor/src/extensions/dropcursor/dropcursor.d.ts +5 -1
  196. package/dist/super-editor/super-editor/src/extensions/dropcursor/dropcursor.d.ts.map +1 -1
  197. package/dist/super-editor/super-editor/src/extensions/field-annotation/field-annotation.d.ts +1 -1
  198. package/dist/super-editor/super-editor/src/extensions/field-annotation/field-annotation.d.ts.map +1 -1
  199. package/dist/super-editor/super-editor/src/extensions/font-family/font-family.d.ts +3 -1
  200. package/dist/super-editor/super-editor/src/extensions/font-family/font-family.d.ts.map +1 -1
  201. package/dist/super-editor/super-editor/src/extensions/font-size/font-size.d.ts +9 -1
  202. package/dist/super-editor/super-editor/src/extensions/font-size/font-size.d.ts.map +1 -1
  203. package/dist/super-editor/super-editor/src/extensions/format-commands/format-commands.d.ts +7 -1
  204. package/dist/super-editor/super-editor/src/extensions/format-commands/format-commands.d.ts.map +1 -1
  205. package/dist/super-editor/super-editor/src/extensions/gapcursor/gapcursor.d.ts +1 -1
  206. package/dist/super-editor/super-editor/src/extensions/gapcursor/gapcursor.d.ts.map +1 -1
  207. package/dist/super-editor/super-editor/src/extensions/heading/heading.d.ts +3 -1
  208. package/dist/super-editor/super-editor/src/extensions/heading/heading.d.ts.map +1 -1
  209. package/dist/super-editor/super-editor/src/extensions/highlight/highlight.d.ts +3 -1
  210. package/dist/super-editor/super-editor/src/extensions/highlight/highlight.d.ts.map +1 -1
  211. package/dist/super-editor/super-editor/src/extensions/history/history.d.ts +4 -1
  212. package/dist/super-editor/super-editor/src/extensions/history/history.d.ts.map +1 -1
  213. package/dist/super-editor/super-editor/src/extensions/image/image.d.ts +1 -1
  214. package/dist/super-editor/super-editor/src/extensions/image/image.d.ts.map +1 -1
  215. package/dist/super-editor/super-editor/src/extensions/index.d.ts +23 -5
  216. package/dist/super-editor/super-editor/src/extensions/index.d.ts.map +1 -1
  217. package/dist/super-editor/super-editor/src/extensions/italic/italic.d.ts +3 -1
  218. package/dist/super-editor/super-editor/src/extensions/italic/italic.d.ts.map +1 -1
  219. package/dist/super-editor/super-editor/src/extensions/line-break/line-break.d.ts +2 -2
  220. package/dist/super-editor/super-editor/src/extensions/line-break/line-break.d.ts.map +1 -1
  221. package/dist/super-editor/super-editor/src/extensions/link/link.d.ts +9 -1
  222. package/dist/super-editor/super-editor/src/extensions/link/link.d.ts.map +1 -1
  223. package/dist/super-editor/super-editor/src/extensions/linked-styles/helpers.d.ts +1 -0
  224. package/dist/super-editor/super-editor/src/extensions/linked-styles/helpers.d.ts.map +1 -1
  225. package/dist/super-editor/super-editor/src/extensions/linked-styles/linked-styles.d.ts +1 -1
  226. package/dist/super-editor/super-editor/src/extensions/linked-styles/linked-styles.d.ts.map +1 -1
  227. package/dist/super-editor/super-editor/src/extensions/linked-styles/plugin.d.ts.map +1 -1
  228. package/dist/super-editor/super-editor/src/extensions/mention/mention.d.ts +6 -1
  229. package/dist/super-editor/super-editor/src/extensions/mention/mention.d.ts.map +1 -1
  230. package/dist/super-editor/super-editor/src/extensions/noderesizer/noderesizer.d.ts +1 -1
  231. package/dist/super-editor/super-editor/src/extensions/noderesizer/noderesizer.d.ts.map +1 -1
  232. package/dist/super-editor/super-editor/src/extensions/page-number/page-number.d.ts +2 -2
  233. package/dist/super-editor/super-editor/src/extensions/page-number/page-number.d.ts.map +1 -1
  234. package/dist/super-editor/super-editor/src/extensions/page-reference/page-reference.d.ts +8 -1
  235. package/dist/super-editor/super-editor/src/extensions/page-reference/page-reference.d.ts.map +1 -1
  236. package/dist/super-editor/super-editor/src/extensions/pagination/pagination.d.ts +5 -1
  237. package/dist/super-editor/super-editor/src/extensions/pagination/pagination.d.ts.map +1 -1
  238. package/dist/super-editor/super-editor/src/extensions/paragraph/ParagraphNodeView.d.ts.map +1 -1
  239. package/dist/super-editor/super-editor/src/extensions/paragraph/dropcapPlugin.d.ts +4 -0
  240. package/dist/super-editor/super-editor/src/extensions/paragraph/dropcapPlugin.d.ts.map +1 -0
  241. package/dist/super-editor/super-editor/src/extensions/paragraph/numberingPlugin.d.ts.map +1 -1
  242. package/dist/super-editor/super-editor/src/extensions/paragraph/paragraph.d.ts +1 -10
  243. package/dist/super-editor/super-editor/src/extensions/paragraph/paragraph.d.ts.map +1 -1
  244. package/dist/super-editor/super-editor/src/extensions/paragraph/resolvedPropertiesCache.d.ts +3 -0
  245. package/dist/super-editor/super-editor/src/extensions/paragraph/resolvedPropertiesCache.d.ts.map +1 -0
  246. package/dist/super-editor/super-editor/src/extensions/placeholder/placeholder.d.ts +3 -1
  247. package/dist/super-editor/super-editor/src/extensions/placeholder/placeholder.d.ts.map +1 -1
  248. package/dist/super-editor/super-editor/src/extensions/popover-plugin/popover-plugin.d.ts +1 -1
  249. package/dist/super-editor/super-editor/src/extensions/popover-plugin/popover-plugin.d.ts.map +1 -1
  250. package/dist/super-editor/super-editor/src/extensions/run/run.d.ts +1 -1
  251. package/dist/super-editor/super-editor/src/extensions/run/run.d.ts.map +1 -1
  252. package/dist/super-editor/super-editor/src/extensions/search/search.d.ts +1 -1
  253. package/dist/super-editor/super-editor/src/extensions/search/search.d.ts.map +1 -1
  254. package/dist/super-editor/super-editor/src/extensions/shape-container/shape-container.d.ts +6 -1
  255. package/dist/super-editor/super-editor/src/extensions/shape-container/shape-container.d.ts.map +1 -1
  256. package/dist/super-editor/super-editor/src/extensions/shape-group/shape-group.d.ts +1 -1
  257. package/dist/super-editor/super-editor/src/extensions/shape-group/shape-group.d.ts.map +1 -1
  258. package/dist/super-editor/super-editor/src/extensions/shape-textbox/shape-textbox.d.ts +6 -1
  259. package/dist/super-editor/super-editor/src/extensions/shape-textbox/shape-textbox.d.ts.map +1 -1
  260. package/dist/super-editor/super-editor/src/extensions/slash-menu/slash-menu.d.ts +1 -1
  261. package/dist/super-editor/super-editor/src/extensions/slash-menu/slash-menu.d.ts.map +1 -1
  262. package/dist/super-editor/super-editor/src/extensions/strike/strike.d.ts +3 -1
  263. package/dist/super-editor/super-editor/src/extensions/strike/strike.d.ts.map +1 -1
  264. package/dist/super-editor/super-editor/src/extensions/structured-content/document-part-object.d.ts +6 -1
  265. package/dist/super-editor/super-editor/src/extensions/structured-content/document-part-object.d.ts.map +1 -1
  266. package/dist/super-editor/super-editor/src/extensions/structured-content/document-section.d.ts +1 -1
  267. package/dist/super-editor/super-editor/src/extensions/structured-content/document-section.d.ts.map +1 -1
  268. package/dist/super-editor/super-editor/src/extensions/structured-content/structured-content-block.d.ts +6 -1
  269. package/dist/super-editor/super-editor/src/extensions/structured-content/structured-content-block.d.ts.map +1 -1
  270. package/dist/super-editor/super-editor/src/extensions/structured-content/structured-content-commands.d.ts +9 -3
  271. package/dist/super-editor/super-editor/src/extensions/structured-content/structured-content-commands.d.ts.map +1 -1
  272. package/dist/super-editor/super-editor/src/extensions/structured-content/structured-content.d.ts +6 -1
  273. package/dist/super-editor/super-editor/src/extensions/structured-content/structured-content.d.ts.map +1 -1
  274. package/dist/super-editor/super-editor/src/extensions/structured-content/structuredContentHelpers/getStructuredContentByGroup.d.ts +19 -0
  275. package/dist/super-editor/super-editor/src/extensions/structured-content/structuredContentHelpers/getStructuredContentByGroup.d.ts.map +1 -0
  276. package/dist/super-editor/super-editor/src/extensions/structured-content/structuredContentHelpers/index.d.ts +2 -0
  277. package/dist/super-editor/super-editor/src/extensions/structured-content/structuredContentHelpers/tagUtils.d.ts +53 -0
  278. package/dist/super-editor/super-editor/src/extensions/structured-content/structuredContentHelpers/tagUtils.d.ts.map +1 -0
  279. package/dist/super-editor/super-editor/src/extensions/tab/helpers/tabDecorations.d.ts.map +1 -1
  280. package/dist/super-editor/super-editor/src/extensions/tab/tab.d.ts +6 -1
  281. package/dist/super-editor/super-editor/src/extensions/tab/tab.d.ts.map +1 -1
  282. package/dist/super-editor/super-editor/src/extensions/table/TableView.d.ts +7 -1
  283. package/dist/super-editor/super-editor/src/extensions/table/TableView.d.ts.map +1 -1
  284. package/dist/super-editor/super-editor/src/extensions/table/table.d.ts +19 -1
  285. package/dist/super-editor/super-editor/src/extensions/table/table.d.ts.map +1 -1
  286. package/dist/super-editor/super-editor/src/extensions/table-cell/table-cell.d.ts +5 -1
  287. package/dist/super-editor/super-editor/src/extensions/table-cell/table-cell.d.ts.map +1 -1
  288. package/dist/super-editor/super-editor/src/extensions/table-header/table-header.d.ts +5 -1
  289. package/dist/super-editor/super-editor/src/extensions/table-header/table-header.d.ts.map +1 -1
  290. package/dist/super-editor/super-editor/src/extensions/table-of-contents/table-of-contents.d.ts +6 -1
  291. package/dist/super-editor/super-editor/src/extensions/table-of-contents/table-of-contents.d.ts.map +1 -1
  292. package/dist/super-editor/super-editor/src/extensions/table-row/table-row.d.ts +5 -1
  293. package/dist/super-editor/super-editor/src/extensions/table-row/table-row.d.ts.map +1 -1
  294. package/dist/super-editor/super-editor/src/extensions/text/text.d.ts +1 -1
  295. package/dist/super-editor/super-editor/src/extensions/text/text.d.ts.map +1 -1
  296. package/dist/super-editor/super-editor/src/extensions/text-align/text-align.d.ts +3 -12
  297. package/dist/super-editor/super-editor/src/extensions/text-align/text-align.d.ts.map +1 -1
  298. package/dist/super-editor/super-editor/src/extensions/text-style/text-style.d.ts +3 -1
  299. package/dist/super-editor/super-editor/src/extensions/text-style/text-style.d.ts.map +1 -1
  300. package/dist/super-editor/super-editor/src/extensions/text-transform/text-transform.d.ts +3 -1
  301. package/dist/super-editor/super-editor/src/extensions/text-transform/text-transform.d.ts.map +1 -1
  302. package/dist/super-editor/super-editor/src/extensions/track-changes/permission-helpers.d.ts +140 -52
  303. package/dist/super-editor/super-editor/src/extensions/track-changes/permission-helpers.d.ts.map +1 -1
  304. package/dist/super-editor/super-editor/src/extensions/track-changes/track-changes.d.ts +1 -1
  305. package/dist/super-editor/super-editor/src/extensions/track-changes/track-changes.d.ts.map +1 -1
  306. package/dist/super-editor/super-editor/src/extensions/track-changes/track-delete.d.ts +5 -1
  307. package/dist/super-editor/super-editor/src/extensions/track-changes/track-delete.d.ts.map +1 -1
  308. package/dist/super-editor/super-editor/src/extensions/track-changes/track-format.d.ts +5 -1
  309. package/dist/super-editor/super-editor/src/extensions/track-changes/track-format.d.ts.map +1 -1
  310. package/dist/super-editor/super-editor/src/extensions/track-changes/track-insert.d.ts +5 -1
  311. package/dist/super-editor/super-editor/src/extensions/track-changes/track-insert.d.ts.map +1 -1
  312. package/dist/super-editor/super-editor/src/extensions/track-changes/trackChangesHelpers/trackedTransaction.d.ts +5 -1
  313. package/dist/super-editor/super-editor/src/extensions/track-changes/trackChangesHelpers/trackedTransaction.d.ts.map +1 -1
  314. package/dist/super-editor/super-editor/src/extensions/types/formatting-commands.d.ts +40 -0
  315. package/dist/super-editor/super-editor/src/extensions/types/formatting-commands.d.ts.map +1 -0
  316. package/dist/super-editor/super-editor/src/extensions/types/history-link-table-commands.d.ts +57 -0
  317. package/dist/super-editor/super-editor/src/extensions/types/history-link-table-commands.d.ts.map +1 -0
  318. package/dist/super-editor/super-editor/src/extensions/types/specialized-commands.d.ts +83 -0
  319. package/dist/super-editor/super-editor/src/extensions/types/specialized-commands.d.ts.map +1 -0
  320. package/dist/super-editor/super-editor/src/extensions/underline/underline.d.ts +3 -1
  321. package/dist/super-editor/super-editor/src/extensions/underline/underline.d.ts.map +1 -1
  322. package/dist/super-editor/super-editor/src/extensions/vector-shape/vector-shape.d.ts +1 -1
  323. package/dist/super-editor/super-editor/src/extensions/vector-shape/vector-shape.d.ts.map +1 -1
  324. package/dist/super-editor/super-editor/src/tests/data/annotations_doc_content.d.ts +113 -61
  325. package/dist/super-editor/super-editor/src/tests/export/export-helpers/export-helpers.d.ts +1 -1
  326. package/dist/super-editor/super-editor/src/tests/export/export-helpers/export-helpers.d.ts.map +1 -1
  327. package/dist/super-editor/super-editor.es.js +42 -64
  328. package/dist/super-editor/toolbar.es.js +2 -2
  329. package/dist/super-editor.cjs +2 -2
  330. package/dist/super-editor.es.js +2 -2
  331. package/dist/superdoc.cjs +2 -2
  332. package/dist/superdoc.es.js +2 -2
  333. package/dist/superdoc.umd.js +4935 -4792
  334. package/dist/superdoc.umd.js.map +1 -1
  335. package/package.json +1 -1
  336. package/dist/chunks/xml-js-BSDu25I7.cjs +0 -3
  337. package/dist/chunks/xml-js-CBrRls0f.es.js +0 -2
  338. package/dist/super-editor/super-editor/src/extensions/line-height/index.d.ts +0 -2
  339. package/dist/super-editor/super-editor/src/extensions/line-height/index.d.ts.map +0 -1
  340. package/dist/super-editor/super-editor/src/extensions/line-height/line-height.d.ts +0 -39
  341. package/dist/super-editor/super-editor/src/extensions/line-height/line-height.d.ts.map +0 -1
  342. package/dist/super-editor/super-editor/src/extensions/text-indent/index.d.ts +0 -2
  343. package/dist/super-editor/super-editor/src/extensions/text-indent/index.d.ts.map +0 -1
  344. package/dist/super-editor/super-editor/src/extensions/text-indent/text-indent.d.ts +0 -31
  345. package/dist/super-editor/super-editor/src/extensions/text-indent/text-indent.d.ts.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"command-types.d.ts","sourceRoot":"","sources":["../../../../../../src/core/types/__tests__/command-types.ts"],"names":[],"mappings":""}
@@ -1,9 +1,13 @@
1
+ /**
2
+ * Type representing a value that can be either a direct value or a function that returns that value.
3
+ */
4
+ export type MaybeGetter<T, Args extends any[] = []> = T | ((...args: Args) => T);
1
5
  /**
2
6
  * If "value" is a function, then call it and return result.
3
7
  * Otherwise it is returned directly.
4
- * @param value Any value or function.
8
+ * @param value Any value or function that returns a value.
5
9
  * @param context Context to bind to function (Optional).
6
10
  * @param props Props for function (Optional).
7
11
  */
8
- export function callOrGet(value: any, context?: any, ...props: any[]): any;
12
+ export declare function callOrGet<T, Args extends any[] = []>(value: MaybeGetter<T, Args>, context?: any, ...props: Args): T;
9
13
  //# sourceMappingURL=callOrGet.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"callOrGet.d.ts","sourceRoot":"","sources":["../../../../../src/core/utilities/callOrGet.js"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,2EAOC"}
1
+ {"version":3,"file":"callOrGet.d.ts","sourceRoot":"","sources":["../../../../../src/core/utilities/callOrGet.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,WAAW,CAAC,CAAC,EAAE,IAAI,SAAS,GAAG,EAAE,GAAG,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,IAAI,EAAE,IAAI,KAAK,CAAC,CAAC,CAAC;AAEjF;;;;;;GAMG;AACH,wBAAgB,SAAS,CAAC,CAAC,EAAE,IAAI,SAAS,GAAG,EAAE,GAAG,EAAE,EAClD,KAAK,EAAE,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,EAC3B,OAAO,GAAE,GAAU,EACnB,GAAG,KAAK,EAAE,IAAI,GACb,CAAC,CAQH"}
@@ -1 +1 @@
1
- {"version":3,"file":"deleteProps.d.ts","sourceRoot":"","sources":["../../../../../src/core/utilities/deleteProps.js"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,4DASC"}
1
+ {"version":3,"file":"deleteProps.d.ts","sourceRoot":"","sources":["../../../../../src/core/utilities/deleteProps.js"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,4DAiDC"}
@@ -1 +1 @@
1
- {"version":3,"file":"isIOS.d.ts","sourceRoot":"","sources":["../../../../../src/core/utilities/isIOS.js"],"names":[],"mappings":"AAAO,iCAIN"}
1
+ {"version":3,"file":"isIOS.d.ts","sourceRoot":"","sources":["../../../../../src/core/utilities/isIOS.js"],"names":[],"mappings":"AAAO,iCAKN"}
@@ -1,4 +1,10 @@
1
- export const AiMark: Mark;
2
- export const AiAnimationMark: Mark;
1
+ export const AiMark: Mark<{
2
+ htmlAttributes: {
3
+ class: string;
4
+ };
5
+ }, Record<string, never>>;
6
+ export const AiAnimationMark: Mark<{
7
+ htmlAttributes: {};
8
+ }, Record<string, never>>;
3
9
  import { Mark } from '@core/index.js';
4
10
  //# sourceMappingURL=ai-marks.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ai-marks.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/ai/ai-marks.js"],"names":[],"mappings":"AAGA,0BA6BG;AAEH,mCAuCG;qBAzE6B,gBAAgB"}
1
+ {"version":3,"file":"ai-marks.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/ai/ai-marks.js"],"names":[],"mappings":"AAGA;;;;0BA+BG;AAEH;;0BAyCG;qBA7E6B,gBAAgB"}
@@ -1,3 +1,9 @@
1
- export const AiLoaderNode: Node;
1
+ export const AiLoaderNode: Node<{
2
+ htmlAttributes: {
3
+ class: string;
4
+ contentEditable: string;
5
+ 'aria-label': string;
6
+ };
7
+ }, Record<string, never>>;
2
8
  import { Node } from '@core/index.js';
3
9
  //# sourceMappingURL=ai-nodes.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ai-nodes.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/ai/ai-nodes.js"],"names":[],"mappings":"AAIA,gCAyCG;qBA7C6B,gBAAgB"}
1
+ {"version":3,"file":"ai-nodes.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/ai/ai-nodes.js"],"names":[],"mappings":"AAIA;;;;;;0BA2CG;qBA/C6B,gBAAgB"}
@@ -1,5 +1,5 @@
1
1
  export const AiPluginKey: PluginKey<any>;
2
- export const AiPlugin: Extension;
2
+ export const AiPlugin: Extension<Record<string, never>, Record<string, never>>;
3
3
  import { PluginKey } from 'prosemirror-state';
4
4
  import { Extension } from '@core/Extension.js';
5
5
  //# sourceMappingURL=ai-plugin.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ai-plugin.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/ai/ai-plugin.js"],"names":[],"mappings":"AAKA,yCAA+C;AAE/C,iCAwMG;0BA/M+B,mBAAmB;0BAC3B,oBAAoB"}
1
+ {"version":3,"file":"ai-plugin.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/ai/ai-plugin.js"],"names":[],"mappings":"AAKA,yCAA+C;AAE/C,+EAwMG;0BA/M+B,mBAAmB;0BAC3B,oBAAoB"}
@@ -25,7 +25,7 @@ export const BlockNodePluginKey: PluginKey<any>;
25
25
  * @sidebarTitle Block Node
26
26
  * @snippetPath /snippets/extensions/block-node.mdx
27
27
  */
28
- export const BlockNode: Extension;
28
+ export const BlockNode: Extension<Record<string, never>, Record<string, never>>;
29
29
  export function nodeAllowsSdBlockIdAttr(node: ProseMirrorNode): boolean;
30
30
  export function nodeNeedsSdBlockId(node: ProseMirrorNode): boolean;
31
31
  export function checkForNewBlockNodesInTrs(transactions: Transaction[]): boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"block-node.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/block-node/block-node.js"],"names":[],"mappings":"AAUA,gDAAmE;AAEnE;;;GAGG;AAEH;;;;;GAKG;AAEH;;;;GAIG;AAEH;;;;;GAKG;AAEH;;;;GAIG;AACH,kCAoUG;AAOI,8CAHI,eAAe,GACb,OAAO,CAInB;AAOM,yCAHI,eAAe,GACb,OAAO,CAKnB;AAQM,yDAHI,WAAW,EAAE,GACX,OAAO,CAUnB;8BApYY,OAAO,mBAAmB,EAAE,IAAI;0BAChC,OAAO,mBAAmB,EAAE,WAAW;;;;;;;;UAMtC,eAAe;;;;SACf,MAAM;;;;;;;;;;0BAjBc,mBAAmB;0BAH3B,oBAAoB"}
1
+ {"version":3,"file":"block-node.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/block-node/block-node.js"],"names":[],"mappings":"AAUA,gDAAmE;AAEnE;;;GAGG;AAEH;;;;;GAKG;AAEH;;;;GAIG;AAEH;;;;;GAKG;AAEH;;;;GAIG;AACH,gFAoUG;AAOI,8CAHI,eAAe,GACb,OAAO,CAInB;AAOM,yCAHI,eAAe,GACb,OAAO,CAKnB;AAQM,yDAHI,WAAW,EAAE,GACX,OAAO,CAUnB;8BApYY,OAAO,mBAAmB,EAAE,IAAI;0BAChC,OAAO,mBAAmB,EAAE,WAAW;;;;;;;;UAMtC,eAAe;;;;SACf,MAAM;;;;;;;;;;0BAjBc,mBAAmB;0BAH3B,oBAAoB"}
@@ -17,7 +17,9 @@
17
17
  * @shortcut Mod-b | toggleBold | Toggle bold formatting
18
18
  * @shortcut Mod-B | toggleBold | Toggle bold formatting (uppercase)
19
19
  */
20
- export const Bold: Mark;
20
+ export const Bold: Mark<{
21
+ htmlAttributes: {};
22
+ }, Record<string, never>>;
21
23
  /**
22
24
  * Configuration options for Bold
23
25
  */
@@ -1 +1 @@
1
- {"version":3,"file":"bold.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/bold/bold.js"],"names":[],"mappings":"AAIA;;;;;GAKG;AAEH;;;;;GAKG;AAEH;;;;;;GAMG;AACH,wBAkFG;;;;;;;;;qBA1G6B,gBAAgB"}
1
+ {"version":3,"file":"bold.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/bold/bold.js"],"names":[],"mappings":"AAIA;;;;;GAKG;AAEH;;;;;GAKG;AAEH;;;;;;GAMG;AACH;;0BAkFG;;;;;;;;;qBA1G6B,gBAAgB"}
@@ -2,6 +2,6 @@
2
2
  * @module BookmarkEnd
3
3
  * @sidebarTitle Bookmarks
4
4
  */
5
- export const BookmarkEnd: Node;
5
+ export const BookmarkEnd: Node<Record<string, never>, Record<string, never>>;
6
6
  import { Node } from '@core/index.js';
7
7
  //# sourceMappingURL=bookmark-end.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"bookmark-end.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/bookmarks/bookmark-end.js"],"names":[],"mappings":"AAGA;;;GAGG;AACH,+BAkFG;qBAxF6B,gBAAgB"}
1
+ {"version":3,"file":"bookmark-end.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/bookmarks/bookmark-end.js"],"names":[],"mappings":"AAIA;;;GAGG;AACH,6EAmFG;qBAzF6B,gBAAgB"}
@@ -9,7 +9,7 @@
9
9
  * @sidebarTitle Bookmarks
10
10
  * @snippetPath /snippets/extensions/bookmarks.mdx
11
11
  */
12
- export const BookmarkStart: Node;
12
+ export const BookmarkStart: Node<Record<string, never>, Record<string, never>>;
13
13
  /**
14
14
  * Bookmark configuration
15
15
  */
@@ -1 +1 @@
1
- {"version":3,"file":"bookmark-start.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/bookmarks/bookmark-start.js"],"names":[],"mappings":"AAGA;;;;;GAKG;AAEH;;;;GAIG;AACH,iCA2GG;;;;;;;;UApHW,MAAM;;;;SACN,MAAM;;qBANY,gBAAgB"}
1
+ {"version":3,"file":"bookmark-start.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/bookmarks/bookmark-start.js"],"names":[],"mappings":"AAIA;;;;;GAKG;AAEH;;;;GAIG;AACH,+EA4GG;;;;;;;;UArHW,MAAM;;;;SACN,MAAM;;qBANY,gBAAgB"}
@@ -1 +1 @@
1
- {"version":3,"file":"collaboration-helpers.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/collaboration/collaboration-helpers.js"],"names":[],"mappings":"AAMO,2CAHI,MAAM,cACJ,OAAO,CAAC,IAAI,CAAC,CA0CzB"}
1
+ {"version":3,"file":"collaboration-helpers.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/collaboration/collaboration-helpers.js"],"names":[],"mappings":"AAMO,2CAHI,MAAM,cACJ,OAAO,CAAC,IAAI,CAAC,CA+CzB"}
@@ -1,5 +1,10 @@
1
1
  export const CollaborationPluginKey: PluginKey<any>;
2
- export const Collaboration: Extension;
2
+ export const Collaboration: Extension<{
3
+ ydoc: any;
4
+ field: string;
5
+ fragment: any;
6
+ isReady: boolean;
7
+ }, Record<string, never>>;
3
8
  export function createSyncPlugin(ydoc: any, editor: any): any[];
4
9
  export function initializeMetaMap(ydoc: any, editor: any): void;
5
10
  export function generateCollaborationData(editor: any): Promise<Uint8Array<ArrayBufferLike>>;
@@ -1 +1 @@
1
- {"version":3,"file":"collaboration.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/collaboration/collaboration.js"],"names":[],"mappings":"AAMA,oDAAqE;AAErE,sCAiDG;AAEI,gEAQN;AAEM,gEASN;AAwDM,6FAKN;0BA1IyB,mBAAmB;0BADnB,gBAAgB"}
1
+ {"version":3,"file":"collaboration.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/collaboration/collaboration.js"],"names":[],"mappings":"AAMA,oDAAqE;AAErE;;;;;0BAiDG;AAEI,gEAQN;AAEM,gEASN;AAwDM,6FAKN;0BA1IyB,mBAAmB;0BADnB,gBAAgB"}
@@ -1,3 +1,11 @@
1
- export const CollaborationCursor: Extension;
1
+ export const CollaborationCursor: Extension<{
2
+ provider: any;
3
+ user: {
4
+ name: any;
5
+ color: any;
6
+ };
7
+ }, {
8
+ users: any[];
9
+ }>;
2
10
  import { Extension } from '@core/index.js';
3
11
  //# sourceMappingURL=collaboration-cursor.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"collaboration-cursor.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/collaboration-cursor/collaboration-cursor.js"],"names":[],"mappings":"AAGA,4CA2BG;0BA9BuB,gBAAgB"}
1
+ {"version":3,"file":"collaboration-cursor.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/collaboration-cursor/collaboration-cursor.js"],"names":[],"mappings":"AAGA;;;;;;;;GA2BG;0BA9BuB,gBAAgB"}
@@ -26,7 +26,9 @@
26
26
  * @sidebarTitle Color
27
27
  * @snippetPath /snippets/extensions/color.mdx
28
28
  */
29
- export const Color: Extension;
29
+ export const Color: Extension<{
30
+ types: string[];
31
+ }, Record<string, never>>;
30
32
  /**
31
33
  * Color value format
32
34
  */
@@ -1 +1 @@
1
- {"version":3,"file":"color.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/color/color.js"],"names":[],"mappings":"AAGA;;;;GAIG;AAEH;;;;;GAKG;AAEH;;;;;;;;;;;GAWG;AAEH;;;;GAIG;AACH,8BAkEG;;;;yBA/FU,MAAM;;;;;;;;;0BAJO,gBAAgB"}
1
+ {"version":3,"file":"color.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/color/color.js"],"names":[],"mappings":"AAGA;;;;GAIG;AAEH;;;;;GAKG;AAEH;;;;;;;;;;;GAWG;AAEH;;;;GAIG;AACH;;0BAkEG;;;;yBA/FU,MAAM;;;;;;;;;0BAJO,gBAAgB"}
@@ -1,5 +1,20 @@
1
- export const CommentRangeStart: Node;
2
- export const CommentRangeEnd: Node;
3
- export const CommentReference: Node;
1
+ export const CommentRangeStart: Node<{
2
+ htmlAttributes: {
3
+ contentEditable: string;
4
+ 'aria-label': string;
5
+ };
6
+ }, Record<string, never>>;
7
+ export const CommentRangeEnd: Node<{
8
+ htmlAttributes: {
9
+ contentEditable: string;
10
+ 'aria-label': string;
11
+ };
12
+ }, Record<string, never>>;
13
+ export const CommentReference: Node<{
14
+ htmlAttributes: {
15
+ contentEditable: string;
16
+ 'aria-label': string;
17
+ };
18
+ }, Record<string, never>>;
4
19
  import { Node } from '@core/index.js';
5
20
  //# sourceMappingURL=comment.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"comment.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/comment/comment.js"],"names":[],"mappings":"AAEA,qCAyCG;AAEH,mCAqCG;AAEH,oCAqCG;qBAzH6B,gBAAgB"}
1
+ {"version":3,"file":"comment.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/comment/comment.js"],"names":[],"mappings":"AAEA;;;;;0BAyCG;AAEH;;;;;0BAqCG;AAEH;;;;;0BAqCG;qBAzH6B,gBAAgB"}
@@ -1,3 +1,7 @@
1
- export const CommentsMark: Mark;
1
+ export const CommentsMark: Mark<{
2
+ htmlAttributes: {
3
+ class: string;
4
+ };
5
+ }, Record<string, never>>;
2
6
  import { Mark } from '@core/index.js';
3
7
  //# sourceMappingURL=comments-marks.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"comments-marks.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/comment/comments-marks.js"],"names":[],"mappings":"AAGA,gCA+BG;qBAlC6B,gBAAgB"}
1
+ {"version":3,"file":"comments-marks.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/comment/comments-marks.js"],"names":[],"mappings":"AAGA;;;;0BA+BG;qBAlC6B,gBAAgB"}
@@ -1,5 +1,5 @@
1
1
  export const CommentsPluginKey: PluginKey<any>;
2
- export const CommentsPlugin: Extension;
2
+ export const CommentsPlugin: Extension<Record<string, never>, Record<string, never>>;
3
3
  export namespace __test__ {
4
4
  export { getActiveCommentId };
5
5
  export { findTrackedMark };
@@ -1 +1 @@
1
- {"version":3,"file":"comments-plugin.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/comment/comments-plugin.js"],"names":[],"mappings":"AAiBA,+CAA2D;AAE3D,uCAwXG;;;;;;;;;0BA3Y8C,mBAAmB;0BAC1C,oBAAoB;AAya9C;;;;;;;GAOG;AACH,yDAHW,SAAS,GACP,SAAS,IAAI,CAyEzB;AAED;;;;;cA4BC;AAED,oIAuDC;AAED;;;;;;;;EA6BC;AAED;;;;;;;;;;;;;;;;;;;;;;EAyDC;AAED;;;EAkBC"}
1
+ {"version":3,"file":"comments-plugin.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/comment/comments-plugin.js"],"names":[],"mappings":"AAiBA,+CAA2D;AAE3D,qFAwXG;;;;;;;;;0BA3Y8C,mBAAmB;0BAC1C,oBAAoB;AAya9C;;;;;;;GAOG;AACH,yDAHW,SAAS,GACP,SAAS,IAAI,CAyEzB;AAED;;;;;cA4BC;AAED,oIAuDC;AAED;;;;;;;;EA6BC;AAED;;;;;;;;;;;;;;;;;;;;;;EAyDC;AAED;;;EAkBC"}
@@ -40,7 +40,7 @@
40
40
  * @sidebarTitle Content Block
41
41
  * @snippetPath /snippets/extensions/content-block.mdx
42
42
  */
43
- export const ContentBlock: Node;
43
+ export const ContentBlock: Node<Record<string, never>, Record<string, never>>;
44
44
  /**
45
45
  * Size configuration for content blocks
46
46
  */
@@ -1 +1 @@
1
- {"version":3,"file":"content-block.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/content-block/content-block.js"],"names":[],"mappings":"AAGA;;;;;;;GAOG;AAEH;;;;;;GAMG;AAEH;;;;;GAKG;AAEH;;;;;;;;;;;;;;;GAeG;AAEH;;;;GAIG;AACH,gCA4HG;;;;;;;;UAvKW,MAAM;;;;WACN,MAAM;;;;YACN,MAAM,GAAC,MAAM;;;;aACb,MAAM,GAAC,MAAM;;;;;;;;;qBAMb,OAAO;;;;WACP,gBAAgB;;;;iBAChB,MAAM;;;;;;;;;;qBAhBY,gBAAgB"}
1
+ {"version":3,"file":"content-block.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/content-block/content-block.js"],"names":[],"mappings":"AAIA;;;;;;;GAOG;AAEH;;;;;;GAMG;AAEH;;;;;GAKG;AAEH;;;;;;;;;;;;;;;GAeG;AAEH;;;;GAIG;AACH,8EAoIG;;;;;;;;UA/KW,MAAM;;;;WACN,MAAM;;;;YACN,MAAM,GAAC,MAAM;;;;aACb,MAAM,GAAC,MAAM;;;;;;;;;qBAMb,OAAO;;;;WACP,gBAAgB;;;;iBAChB,MAAM;;;;;;;;;;qBAhBY,gBAAgB"}
@@ -28,7 +28,7 @@ export const CustomSelectionPluginKey: PluginKey<any>;
28
28
  * @sidebarTitle Custom Selection
29
29
  * @snippetPath /snippets/extensions/custom-selection.mdx
30
30
  */
31
- export const CustomSelection: Extension;
31
+ export const CustomSelection: Extension<Record<string, never>, Record<string, never>>;
32
32
  /**
33
33
  * Selection state
34
34
  */
@@ -1 +1 @@
1
- {"version":3,"file":"custom-selection.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/custom-selection/custom-selection.js"],"names":[],"mappings":"AAmBA;;;;;;;GAOG;AAEH;;;;;;;;;;;GAWG;AAEH;;;GAGG;AACH,sDAAyE;AA4EzE;;;;GAIG;AACH,wCAsRG;;;;;;;;aA9XW,OAAO;;;;wBACP,MAAO,IAAI;;;;yBACX,OAAO;;;;oBACP,OAAO;;;;;;0BAtB4B,mBAAmB;0BAD1C,oBAAoB"}
1
+ {"version":3,"file":"custom-selection.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/custom-selection/custom-selection.js"],"names":[],"mappings":"AAmBA;;;;;;;GAOG;AAEH;;;;;;;;;;;GAWG;AAEH;;;GAGG;AACH,sDAAyE;AA4EzE;;;;GAIG;AACH,sFAsRG;;;;;;;;aA9XW,OAAO;;;;wBACP,MAAO,IAAI;;;;yBACX,OAAO;;;;oBACP,OAAO;;;;;;0BAtB4B,mBAAmB;0BAD1C,oBAAoB"}
@@ -21,7 +21,7 @@
21
21
  * @sidebarTitle Document
22
22
  * @snippetPath /snippets/extensions/document.mdx
23
23
  */
24
- export const Document: Node;
24
+ export const Document: Node<Record<string, never>, Record<string, never>>;
25
25
  /**
26
26
  * Configuration options for Document
27
27
  */
@@ -1 +1 @@
1
- {"version":3,"file":"document.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/document/document.js"],"names":[],"mappings":"AAGA;;;;;;;;;;;GAWG;AAEH;;;;;GAKG;AAEH;;;;GAIG;AACH,4BAgEG;;;;;;;;;qBA3FkB,gBAAgB"}
1
+ {"version":3,"file":"document.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/document/document.js"],"names":[],"mappings":"AAIA;;;;;;;;;;;GAWG;AAEH;;;;;GAKG;AAEH;;;;GAIG;AACH,0EAiEG;;;;;;;;;qBA5FkB,gBAAgB"}
@@ -25,7 +25,11 @@
25
25
  * @sidebarTitle Drop Cursor
26
26
  * @snippetPath /snippets/extensions/dropcursor.mdx
27
27
  */
28
- export const DropCursor: Extension;
28
+ export const DropCursor: Extension<{
29
+ color: string;
30
+ width: number;
31
+ class: any;
32
+ }, Record<string, never>>;
29
33
  /**
30
34
  * Configuration options for DropCursor
31
35
  */
@@ -1 +1 @@
1
- {"version":3,"file":"dropcursor.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/dropcursor/dropcursor.js"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH;;;;GAIG;AACH,mCAcG;;;;;0BA7CuB,gBAAgB"}
1
+ {"version":3,"file":"dropcursor.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/dropcursor/dropcursor.js"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH;;;;GAIG;AACH;;;;0BAcG;;;;;0BA7CuB,gBAAgB"}
@@ -1,6 +1,6 @@
1
1
  export const fieldAnnotationName: "fieldAnnotation";
2
2
  export const annotationClass: "annotation";
3
3
  export const annotationContentClass: "annotation-content";
4
- export const FieldAnnotation: Node;
4
+ export const FieldAnnotation: Node<Record<string, never>, Record<string, never>>;
5
5
  import { Node } from '@core/index.js';
6
6
  //# sourceMappingURL=field-annotation.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"field-annotation.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/field-annotation/field-annotation.js"],"names":[],"mappings":"AAeA,kCAAmC,iBAAiB,CAAC;AACrD,8BAA+B,YAAY,CAAC;AAC5C,qCAAsC,oBAAoB,CAAC;AAE3D,mCA8mCG;qBAjoC6B,gBAAgB"}
1
+ {"version":3,"file":"field-annotation.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/field-annotation/field-annotation.js"],"names":[],"mappings":"AAeA,kCAAmC,iBAAiB,CAAC;AACrD,8BAA+B,YAAY,CAAC;AAC5C,qCAAsC,oBAAoB,CAAC;AAE3D,iFA8mCG;qBAjoC6B,gBAAgB"}
@@ -29,7 +29,9 @@
29
29
  * @sidebarTitle Font Family
30
30
  * @snippetPath /snippets/extensions/font-family.mdx
31
31
  */
32
- export const FontFamily: Extension;
32
+ export const FontFamily: Extension<{
33
+ types: string[];
34
+ }, Record<string, never>>;
33
35
  /**
34
36
  * Font family value
35
37
  */
@@ -1 +1 @@
1
- {"version":3,"file":"font-family.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/font-family/font-family.js"],"names":[],"mappings":"AAGA;;;;GAIG;AAEH;;;;;GAKG;AAEH;;;;;;;;;;;;;;GAcG;AAEH;;;;GAIG;AACH,mCA8DG;;;;8BA9FU,MAAM;;;;;;;;;0BAJO,gBAAgB"}
1
+ {"version":3,"file":"font-family.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/font-family/font-family.js"],"names":[],"mappings":"AAGA;;;;GAIG;AAEH;;;;;GAKG;AAEH;;;;;;;;;;;;;;GAcG;AAEH;;;;GAIG;AACH;;0BA8DG;;;;8BA9FU,MAAM;;;;;;;;;0BAJO,gBAAgB"}
@@ -36,7 +36,15 @@
36
36
  * @sidebarTitle Font Size
37
37
  * @snippetPath /snippets/extensions/font-size.mdx
38
38
  */
39
- export const FontSize: Extension;
39
+ export const FontSize: Extension<{
40
+ types: string[];
41
+ defaults: {
42
+ value: number;
43
+ unit: string;
44
+ min: number;
45
+ max: number;
46
+ };
47
+ }, Record<string, never>>;
40
48
  /**
41
49
  * Font size configuration
42
50
  */
@@ -1 +1 @@
1
- {"version":3,"file":"font-size.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/font-size/font-size.js"],"names":[],"mappings":"AAIA;;;;;;GAMG;AAEH;;;;;;;GAOG;AAEH;;;;GAIG;AAEH;;;;;;GAMG;AAEH;;;;;GAKG;AAEH;;;;GAIG;AACH,iCAuFG;;;;;;;;YAvHW,MAAM;;;;WACN,MAAM;;;;UACN,MAAM;;;;UACN,MAAM;;;;;4BAKP,MAAM,GAAC,MAAM;;;;;;;;;0BAtBA,gBAAgB"}
1
+ {"version":3,"file":"font-size.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/font-size/font-size.js"],"names":[],"mappings":"AAIA;;;;;;GAMG;AAEH;;;;;;;GAOG;AAEH;;;;GAIG;AAEH;;;;;;GAMG;AAEH;;;;;GAKG;AAEH;;;;GAIG;AACH;;;;;;;;0BAuFG;;;;;;;;YAvHW,MAAM;;;;WACN,MAAM;;;;UACN,MAAM;;;;UACN,MAAM;;;;;4BAKP,MAAM,GAAC,MAAM;;;;;;;;;0BAtBA,gBAAgB"}
@@ -15,7 +15,13 @@
15
15
  * @snippetPath /snippets/extensions/format-commands.mdx
16
16
  * @shortcut Mod-Alt-c | clearFormat | Clear all formatting
17
17
  */
18
- export const FormatCommands: Extension;
18
+ export const FormatCommands: Extension<{}, {
19
+ /**
20
+ * @private
21
+ * @type {StoredStyle[]|null}
22
+ */
23
+ storedStyle: StoredStyle[] | null;
24
+ }>;
19
25
  /**
20
26
  * Stored format style
21
27
  */
@@ -1 +1 @@
1
- {"version":3,"file":"format-commands.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/format-commands/format-commands.js"],"names":[],"mappings":"AAKA;;;;;GAKG;AAEH;;;;GAIG;AAEH;;;;;GAKG;AACH,uCAuIG;;;;;;;;UAvJW,MAAM;;;;;;;;;;0BAPM,gBAAgB"}
1
+ {"version":3,"file":"format-commands.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/format-commands/format-commands.js"],"names":[],"mappings":"AAKA;;;;;GAKG;AAEH;;;;GAIG;AAEH;;;;;GAKG;AACH;IASM;;;OAGG;iBADO,WAAW,EAAE,GAAC,IAAI;GA4H/B;;;;;;;;UAvJW,MAAM;;;;;;;;;;0BAPM,gBAAgB"}
@@ -8,7 +8,7 @@
8
8
  * @sidebarTitle Gap Cursor
9
9
  * @snippetPath /snippets/extensions/gapcursor.mdx
10
10
  */
11
- export const Gapcursor: Extension;
11
+ export const Gapcursor: Extension<{}, Record<string, never>>;
12
12
  /**
13
13
  * Configuration options for Gapcursor
14
14
  */
@@ -1 +1 @@
1
- {"version":3,"file":"gapcursor.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/gapcursor/gapcursor.js"],"names":[],"mappings":"AAMA;;;;GAIG;AAEH;;;;GAIG;AACH,kCAgCG;;;;;0BA/CuB,gBAAgB"}
1
+ {"version":3,"file":"gapcursor.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/gapcursor/gapcursor.js"],"names":[],"mappings":"AAMA;;;;GAIG;AAEH;;;;GAIG;AACH,6DAgCG;;;;;0BA/CuB,gBAAgB"}
@@ -21,7 +21,9 @@
21
21
  * @shortcut Mod-Alt-5 | toggleHeading | Toggle heading level 5
22
22
  * @shortcut Mod-Alt-6 | toggleHeading | Toggle heading level 6
23
23
  */
24
- export const Heading: Extension;
24
+ export const Heading: Extension<{
25
+ levels: number[];
26
+ }, Record<string, never>>;
25
27
  /**
26
28
  * Heading attributes
27
29
  */
@@ -1 +1 @@
1
- {"version":3,"file":"heading.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/heading/heading.js"],"names":[],"mappings":"AAGA;;;;;GAKG;AAEH;;;;;GAKG;AAEH;;;;;;;;;;GAUG;AACH,gCAyDG;;;;;;;;;0BApFuB,gBAAgB"}
1
+ {"version":3,"file":"heading.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/heading/heading.js"],"names":[],"mappings":"AAGA;;;;;GAKG;AAEH;;;;;GAKG;AAEH;;;;;;;;;;GAUG;AACH;;0BAyDG;;;;;;;;;0BApFuB,gBAAgB"}
@@ -16,7 +16,9 @@
16
16
  * @snippetPath /snippets/extensions/highlight.mdx
17
17
  * @shortcut Mod-Shift-h | toggleHighlight | Toggle highlighted formatting
18
18
  */
19
- export const Highlight: Mark;
19
+ export const Highlight: Mark<{
20
+ htmlAttributes: {};
21
+ }, Record<string, never>>;
20
22
  /**
21
23
  * Configuration options for Highlight
22
24
  */
@@ -1 +1 @@
1
- {"version":3,"file":"highlight.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/highlight/highlight.js"],"names":[],"mappings":"AAGA;;;;;GAKG;AAEH;;;;;GAKG;AAEH;;;;;GAKG;AACH,6BA+EG;;;;;;;;;qBArG6B,gBAAgB"}
1
+ {"version":3,"file":"highlight.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/highlight/highlight.js"],"names":[],"mappings":"AAGA;;;;;GAKG;AAEH;;;;;GAKG;AAEH;;;;;GAKG;AACH;;0BA+EG;;;;;;;;;qBArG6B,gBAAgB"}
@@ -13,7 +13,10 @@
13
13
  * @shortcut Mod-Shift-z | redo | Redo last action
14
14
  * @shortcut Mod-y | redo | Redo last action (alternative)
15
15
  */
16
- export const History: Extension;
16
+ export const History: Extension<{
17
+ depth: number;
18
+ newGroupDelay: number;
19
+ }, Record<string, never>>;
17
20
  /**
18
21
  * Configuration options for History
19
22
  */
@@ -1 +1 @@
1
- {"version":3,"file":"history.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/history/history.js"],"names":[],"mappings":"AAKA;;;;;;GAMG;AAEH;;;;;;;GAOG;AACH,gCAgEG;;;;;0BAlFuB,oBAAoB"}
1
+ {"version":3,"file":"history.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/history/history.js"],"names":[],"mappings":"AAKA;;;;;;GAMG;AAEH;;;;;;;GAOG;AACH;;;0BAgEG;;;;;0BAlFuB,oBAAoB"}
@@ -49,7 +49,7 @@
49
49
  * @sidebarTitle Image
50
50
  * @snippetPath /snippets/extensions/image.mdx
51
51
  */
52
- export const Image: Node;
52
+ export const Image: Node<Record<string, never>, Record<string, never>>;
53
53
  /**
54
54
  * Configuration options for Image
55
55
  */
@@ -1 +1 @@
1
- {"version":3,"file":"image.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/image/image.js"],"names":[],"mappings":"AAOA;;;;;;GAMG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AAEH;;;;;;;;;GASG;AAEH;;;;GAIG;AACH,yBAmiBG;;;;;;;;;;;;;;;;SAhjBW,MAAM;;;;UACN,MAAM;;;;YACN,MAAM;;;;WAEjB;QAAyB,KAAK,GAAnB,MAAM;QACQ,MAAM,GAApB,MAAM;KACnB;;qBAtD+B,gBAAgB"}
1
+ {"version":3,"file":"image.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/image/image.js"],"names":[],"mappings":"AAOA;;;;;;GAMG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AAEH;;;;;;;;;GASG;AAEH;;;;GAIG;AACH,uEAmiBG;;;;;;;;;;;;;;;;SAhjBW,MAAM;;;;UACN,MAAM;;;;YACN,MAAM;;;;WAEjB;QAAyB,KAAK,GAAnB,MAAM;QACQ,MAAM,GAApB,MAAM;KACnB;;qBAtD+B,gBAAgB"}
@@ -19,9 +19,7 @@ import { Color } from './color/index.js';
19
19
  import { FontFamily } from './font-family/index.js';
20
20
  import { FontSize } from './font-size/index.js';
21
21
  import { TextAlign } from './text-align/index.js';
22
- import { TextIndent } from './text-indent/index.js';
23
22
  import { TextStyle } from './text-style/text-style.js';
24
- import { LineHeight } from './line-height/index.js';
25
23
  import { FormatCommands } from './format-commands/index.js';
26
24
  import { CommentsPlugin } from './comment/index.js';
27
25
  import { Gapcursor } from './gapcursor/index.js';
@@ -47,8 +45,28 @@ import { TrackDelete } from './track-changes/index.js';
47
45
  import { TrackFormat } from './track-changes/index.js';
48
46
  import { CommentsMark } from './comment/index.js';
49
47
  import { trackChangesHelpers } from './track-changes/index.js';
50
- export function getStarterExtensions(): (import("../core/Node.js").Node | import("../core/Extension.js").Extension | import("../core/Mark.js").Mark)[];
51
- export function getRichTextExtensions(): (import("../core/Node.js").Node | import("../core/Extension.js").Extension | import("../core/Mark.js").Mark)[];
48
+ export function getStarterExtensions(): (import("../core/Extension.js").Extension<{}, Record<string, never>> | import("../core/Mark.js").Mark<{
49
+ htmlAttributes: {};
50
+ }, Record<string, never>> | import("../core/Node.js").Node<{}, Record<string, never>> | import("../core/Extension.js").Extension<{}, {
51
+ storedStyle: import("./format-commands/format-commands.js").StoredStyle[] | null;
52
+ }> | import("../core/Extension.js").Extension<{
53
+ provider: any;
54
+ user: {
55
+ name: any;
56
+ color: any;
57
+ };
58
+ }, {
59
+ users: any[];
60
+ }> | import("../core/Extension.js").Extension<Record<string, never>, {
61
+ height: number;
62
+ sectionData: any;
63
+ headerFooterEditors: Map<any, any>;
64
+ }>)[];
65
+ export function getRichTextExtensions(): (import("../core/Mark.js").Mark<{
66
+ htmlAttributes: {};
67
+ }, Record<string, never>> | import("../core/Node.js").Node<{}, Record<string, never>> | import("../core/Extension.js").Extension<{}, Record<string, never>> | import("../core/Extension.js").Extension<{}, {
68
+ storedStyle: import("./format-commands/format-commands.js").StoredStyle[] | null;
69
+ }>)[];
52
70
  import { AiMark } from './ai/index.js';
53
71
  import { AiAnimationMark } from './ai/index.js';
54
72
  import { AiLoaderNode } from './ai/index.js';
@@ -63,5 +81,5 @@ import { CustomSelection } from './custom-selection/index.js';
63
81
  import { TextTransform } from './text-transform/index.js';
64
82
  import { VectorShape } from './vector-shape/index.js';
65
83
  import { ShapeGroup } from './shape-group/index.js';
66
- export { History, Heading, Document, Text, Run, Paragraph, CommentRangeStart, CommentRangeEnd, CommentReference, TabNode, LineBreak, HardBreak, Bold, Italic, Underline, Highlight, Strike, Color, FontFamily, FontSize, TextAlign, TextIndent, TextStyle, LineHeight, FormatCommands, CommentsPlugin, Gapcursor, Table, TableRow, TableCell, TableHeader, Placeholder, DropCursor, BlockNode, FieldAnnotation, fieldAnnotationHelpers, Image, BookmarkStart, BookmarkEnd, PopoverPlugin, Mention, Collaboration, CollaborationCursor, TrackChanges, TrackInsert, TrackDelete, TrackFormat, CommentsMark, trackChangesHelpers, AiMark, AiAnimationMark, AiLoaderNode, AiPlugin, Search, StructuredContent, StructuredContentBlock, StructuredContentCommands, DocumentSection, NodeResizer, CustomSelection, TextTransform, VectorShape, ShapeGroup };
84
+ export { History, Heading, Document, Text, Run, Paragraph, CommentRangeStart, CommentRangeEnd, CommentReference, TabNode, LineBreak, HardBreak, Bold, Italic, Underline, Highlight, Strike, Color, FontFamily, FontSize, TextAlign, TextStyle, FormatCommands, CommentsPlugin, Gapcursor, Table, TableRow, TableCell, TableHeader, Placeholder, DropCursor, BlockNode, FieldAnnotation, fieldAnnotationHelpers, Image, BookmarkStart, BookmarkEnd, PopoverPlugin, Mention, Collaboration, CollaborationCursor, TrackChanges, TrackInsert, TrackDelete, TrackFormat, CommentsMark, trackChangesHelpers, AiMark, AiAnimationMark, AiLoaderNode, AiPlugin, Search, StructuredContent, StructuredContentBlock, StructuredContentCommands, DocumentSection, NodeResizer, CustomSelection, TextTransform, VectorShape, ShapeGroup };
67
85
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/extensions/index.js"],"names":[],"mappings":"wBACwB,oBAAoB;wBAqBpB,oBAAoB;yBAJnB,qBAAqB;qBACzB,iBAAiB;oBAClB,gBAAgB;0BACV,sBAAsB;kCAEqB,oBAAoB;gCAApB,oBAAoB;iCAApB,oBAAoB;wBACjE,gBAAgB;0BACH,uBAAuB;0BAAvB,uBAAuB;qBA2BvC,iBAAiB;uBACf,mBAAmB;0BAChB,sBAAsB;0BACtB,sBAAsB;uBACzB,mBAAmB;sBAtDpB,kBAAkB;2BACb,wBAAwB;yBAC1B,sBAAsB;0BACrB,uBAAuB;2BACtB,wBAAwB;0BA6CzB,4BAA4B;2BA5C3B,wBAAwB;+BACpB,4BAA4B;+BAuD5B,oBAAoB;0BArDzB,sBAAsB;sBAgB1B,kBAAkB;yBAEf,sBAAsB;0BACrB,uBAAuB;4BAFrB,yBAAyB;4BAqCzB,wBAAwB;2BAvDzB,uBAAuB;0BAoCxB,uBAAuB;gCAfO,6BAA6B;uCAA7B,6BAA6B;sBAC/D,kBAAkB;8BACG,sBAAsB;4BAAtB,sBAAsB;8BAiCnC,2BAA2B;wBAhCjC,oBAAoB;8BAtBd,0BAA0B;oCACpB,iCAAiC;6BAsDxC,0BAA0B;4BARD,0BAA0B;4BAA1B,0BAA0B;4BAA1B,0BAA0B;6BACnD,oBAAoB;oCAeb,0BAA0B;AA0C9D,uJA0EC;AAlHD,wJAsCC;uBArG+D,eAAe;gCAAf,eAAe;6BAAf,eAAe;yBAAf,eAAe;uBAwDxD,mBAAmB;kCAzBnC,+BAA+B;uCAA/B,+BAA+B;0CA7BI,+BAA+B;gCA6BlE,+BAA+B;4BA0BV,wBAAwB;gCACpB,6BAA6B;8BAX/B,2BAA2B;4BAb7B,yBAAyB;2BAC1B,wBAAwB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/extensions/index.js"],"names":[],"mappings":"wBACwB,oBAAoB;wBAmBpB,oBAAoB;yBAJnB,qBAAqB;qBACzB,iBAAiB;oBAClB,gBAAgB;0BACV,sBAAsB;kCAEqB,oBAAoB;gCAApB,oBAAoB;iCAApB,oBAAoB;wBACjE,gBAAgB;0BACH,uBAAuB;0BAAvB,uBAAuB;qBA2BvC,iBAAiB;uBACf,mBAAmB;0BAChB,sBAAsB;0BACtB,sBAAsB;uBACzB,mBAAmB;sBApDpB,kBAAkB;2BACb,wBAAwB;yBAC1B,sBAAsB;0BACrB,uBAAuB;0BA4CvB,4BAA4B;+BA3CvB,4BAA4B;+BAuD5B,oBAAoB;0BArDzB,sBAAsB;sBAgB1B,kBAAkB;yBAEf,sBAAsB;0BACrB,uBAAuB;4BAFrB,yBAAyB;4BAqCzB,wBAAwB;2BAvDzB,uBAAuB;0BAoCxB,uBAAuB;gCAfO,6BAA6B;uCAA7B,6BAA6B;sBAC/D,kBAAkB;8BACG,sBAAsB;4BAAtB,sBAAsB;8BAiCnC,2BAA2B;wBAhCjC,oBAAoB;8BAtBd,0BAA0B;oCACpB,iCAAiC;6BAsDxC,0BAA0B;4BARD,0BAA0B;4BAA1B,0BAA0B;4BAA1B,0BAA0B;6BACnD,oBAAoB;oCAeb,0BAA0B;AAwC9D;;;;;;;;;;;;;;;;MAwEC;AA9GD;;;;MAoCC;uBAnG+D,eAAe;gCAAf,eAAe;6BAAf,eAAe;yBAAf,eAAe;uBAwDxD,mBAAmB;kCAzBnC,+BAA+B;uCAA/B,+BAA+B;0CA7BI,+BAA+B;gCA6BlE,+BAA+B;4BA0BV,wBAAwB;gCACpB,6BAA6B;8BAX/B,2BAA2B;4BAb7B,yBAAyB;2BAC1B,wBAAwB"}
@@ -11,7 +11,9 @@
11
11
  * @shortcut Mod-i | toggleItalic | Toggle italic formatting
12
12
  * @shortcut Mod-I | toggleItalic | Toggle italic formatting (uppercase)
13
13
  */
14
- export const Italic: Mark;
14
+ export const Italic: Mark<{
15
+ htmlAttributes: {};
16
+ }, Record<string, never>>;
15
17
  /**
16
18
  * Configuration options for Italic
17
19
  */
@@ -1 +1 @@
1
- {"version":3,"file":"italic.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/italic/italic.js"],"names":[],"mappings":"AAIA;;;;;GAKG;AAEH;;;;;;GAMG;AACH,0BAmFG;;;;;qBApG6B,gBAAgB"}
1
+ {"version":3,"file":"italic.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/italic/italic.js"],"names":[],"mappings":"AAIA;;;;;GAKG;AAEH;;;;;;GAMG;AACH;;0BAmFG;;;;;qBApG6B,gBAAgB"}
@@ -15,7 +15,7 @@
15
15
  * @sidebarTitle Line Break
16
16
  * @snippetPath /snippets/extensions/line-break.mdx
17
17
  */
18
- export const LineBreak: Node;
18
+ export const LineBreak: Node<Record<string, never>, Record<string, never>>;
19
19
  /**
20
20
  * Configuration options for HardBreak
21
21
  * @typedef {Object} HardBreakOptions
@@ -36,7 +36,7 @@ export const LineBreak: Node;
36
36
  * @sidebarTitle Hard Break
37
37
  * @snippetPath /snippets/extensions/hard-break.mdx
38
38
  */
39
- export const HardBreak: Node;
39
+ export const HardBreak: Node<Record<string, never>, Record<string, never>>;
40
40
  /**
41
41
  * Configuration options for LineBreak
42
42
  */