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
@@ -1 +1 @@
1
- {"version":3,"file":"line-break.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/line-break/line-break.js"],"names":[],"mappings":"AAGA;;;;GAIG;AAEH;;;;;;GAMG;AAEH;;;;GAIG;AACH,6BA6CG;AAEH;;;;;GAKG;AAEH;;;;;;;;GAQG;AAEH;;;;GAIG;AACH,6BA0EG;;;;;;;;;;;;;;;;;qBApK6B,gBAAgB"}
1
+ {"version":3,"file":"line-break.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/line-break/line-break.js"],"names":[],"mappings":"AAIA;;;;GAIG;AAEH;;;;;;GAMG;AAEH;;;;GAIG;AACH,2EA8CG;AAEH;;;;;GAKG;AAEH;;;;;;;;GAQG;AAEH;;;;GAIG;AACH,2EA2EG;;;;;;;;;;;;;;;;;qBAtK6B,gBAAgB"}
@@ -40,7 +40,15 @@
40
40
  * @snippetPath /snippets/extensions/link.mdx
41
41
  * @note Non-inclusive mark that doesn't expand when typing at edges
42
42
  */
43
- export const Link: Mark;
43
+ export const Link: Mark<{
44
+ protocols: string[];
45
+ htmlAttributes: {
46
+ target: any;
47
+ rel: string;
48
+ class: any;
49
+ title: any;
50
+ };
51
+ }, Record<string, never>>;
44
52
  /**
45
53
  * Target frame options
46
54
  */
@@ -1 +1 @@
1
- {"version":3,"file":"link.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/link/link.js"],"names":[],"mappings":"AAKA;;;GAGG;AAEH;;;;;;;;;;GAUG;AAEH;;;;;;;;;;;;;;GAcG;AAEH;;;;;GAKG;AAEH;;;;;GAKG;AACH,wBAkNG;;;;iCA9PU,MAAM,GAAG,OAAO,GAAG,SAAS,GAAG,QAAQ,GAAG,MAAM;;;;;;;;;;;;;;;;WAkC/C,MAAM;;;;WACN,MAAM;;qBAzCY,gBAAgB"}
1
+ {"version":3,"file":"link.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/link/link.js"],"names":[],"mappings":"AAKA;;;GAGG;AAEH;;;;;;;;;;GAUG;AAEH;;;;;;;;;;;;;;GAcG;AAEH;;;;;GAKG;AAEH;;;;;GAKG;AACH;;;;;;;;0BAkNG;;;;iCA9PU,MAAM,GAAG,OAAO,GAAG,SAAS,GAAG,QAAQ,GAAG,MAAM;;;;;;;;;;;;;;;;WAkC/C,MAAM;;;;WACN,MAAM;;qBAzCY,gBAAgB"}
@@ -5,4 +5,5 @@ export function getMarksStyle(attrs: any[]): string;
5
5
  export function getQuickFormatList(editor: any): any[];
6
6
  export function generateLinkedStyleString(linkedStyle: any, basedOnStyle: any, node: any, parent: any, includeSpacing?: boolean): string;
7
7
  export function applyLinkedStyleToTransaction(tr: any, editor: any, style: any): boolean;
8
+ export function stepInsertsTextIntoStyledParagraph(tr: any, oldEditorState: any, step: any, stepIndex: any): boolean;
8
9
  //# sourceMappingURL=helpers.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/linked-styles/helpers.js"],"names":[],"mappings":"AAiBO,wCANI,MAAM,uBAWhB;AASM,mDAiBN;AAUM,oFAHM,MAAM,CA0ClB;AASM,6CAHM,MAAM,CA2BlB;AAWM,uDAUN;AAcM,wHALI,OAAO,GACL,MAAM,CA2KlB;AAcM,iFANM,OAAO,CA4GnB"}
1
+ {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/linked-styles/helpers.js"],"names":[],"mappings":"AAiBO,wCANI,MAAM,uBAWhB;AASM,mDAiBN;AAUM,oFAHM,MAAM,CA0ClB;AASM,6CAHM,MAAM,CA2BlB;AAWM,uDAUN;AAcM,wHALI,OAAO,GACL,MAAM,CAkIlB;AAcM,iFANM,OAAO,CAsGnB;AAGM,qHA2BN"}
@@ -15,7 +15,7 @@
15
15
  * @sidebarTitle Linked Styles
16
16
  * @snippetPath /snippets/extensions/linked-styles.mdx
17
17
  */
18
- export const LinkedStyles: Extension;
18
+ export const LinkedStyles: Extension<{}, Record<string, never>>;
19
19
  /**
20
20
  * Style definition from Word document
21
21
  */
@@ -1 +1 @@
1
- {"version":3,"file":"linked-styles.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/linked-styles/linked-styles.js"],"names":[],"mappings":"AAMA;;;;;;GAMG;AAEH;;;;GAIG;AAEH;;;;GAIG;AACH,qCAuIG;;;;;;;;QAvJW,MAAM;;;;UACN,MAAM;;;;;;;;;;0BATM,oBAAoB"}
1
+ {"version":3,"file":"linked-styles.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/linked-styles/linked-styles.js"],"names":[],"mappings":"AAOA;;;;;;GAMG;AAEH;;;;GAIG;AAEH;;;;GAIG;AACH,gEAoIG;;;;;;;;QApJW,MAAM;;;;UACN,MAAM;;;;;;;;;;0BAVM,oBAAoB"}
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/linked-styles/plugin.js"],"names":[],"mappings":"AAKA;;GAEG;AACH,mDAAmE;AAY5D,2DAsFN;0BAzGiC,mBAAmB"}
1
+ {"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/linked-styles/plugin.js"],"names":[],"mappings":"AASA;;GAEG;AACH,mDAAmE;AAY5D,2DAiGN;0BAxHiC,mBAAmB"}
@@ -16,7 +16,12 @@
16
16
  * @sidebarTitle Mention
17
17
  * @snippetPath /snippets/extensions/mention.mdx
18
18
  */
19
- export const Mention: Node;
19
+ export const Mention: Node<{
20
+ htmlAttributes: {
21
+ class: string;
22
+ 'aria-label': string;
23
+ };
24
+ }, Record<string, never>>;
20
25
  /**
21
26
  * Configuration options for Mention
22
27
  */
@@ -1 +1 @@
1
- {"version":3,"file":"mention.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/mention/mention.js"],"names":[],"mappings":"AAEA;;;;;GAKG;AAEH;;;;;;GAMG;AAEH;;;;GAIG;AACH,2BAgDG;;;;;;;;;qBAtE6B,gBAAgB"}
1
+ {"version":3,"file":"mention.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/mention/mention.js"],"names":[],"mappings":"AAEA;;;;;GAKG;AAEH;;;;;;GAMG;AAEH;;;;GAIG;AACH;;;;;0BAkDG;;;;;;;;;qBAxE6B,gBAAgB"}
@@ -9,7 +9,7 @@ export const NodeResizerKey: PluginKey<any>;
9
9
  * @sidebarTitle Node Resizer
10
10
  * @snippetPath /snippets/extensions/node-resizer.mdx
11
11
  */
12
- export const NodeResizer: Extension;
12
+ export const NodeResizer: Extension<{}, Record<string, never>>;
13
13
  /**
14
14
  * Configuration options for NodeResizer
15
15
  */
@@ -1 +1 @@
1
- {"version":3,"file":"noderesizer.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/noderesizer/noderesizer.js"],"names":[],"mappings":"AAKA;;;;GAIG;AAEH,4CAA4D;AA+U5D;;;;GAIG;AACH,oCAaG;;;;;0BA5W+B,mBAAmB;0BAE3B,oBAAoB"}
1
+ {"version":3,"file":"noderesizer.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/noderesizer/noderesizer.js"],"names":[],"mappings":"AAKA;;;;GAIG;AAEH,4CAA4D;AA+U5D;;;;GAIG;AACH,+DAaG;;;;;0BA5W+B,mBAAmB;0BAE3B,oBAAoB"}
@@ -16,7 +16,7 @@
16
16
  * @snippetPath /snippets/extensions/page-number.mdx
17
17
  * @shortcut Mod-Shift-alt-p | addAutoPageNumber | Insert page number
18
18
  */
19
- export const PageNumber: Node;
19
+ export const PageNumber: Node<Record<string, never>, Record<string, never>>;
20
20
  /**
21
21
  * Configuration options for TotalPageCount
22
22
  * @typedef {Object} TotalPageCountOptions
@@ -35,7 +35,7 @@ export const PageNumber: Node;
35
35
  * @snippetPath /snippets/extensions/total-page-count.mdx
36
36
  * @shortcut Mod-Shift-alt-c | addTotalPageCount | Insert total page count
37
37
  */
38
- export const TotalPageCount: Node;
38
+ export const TotalPageCount: Node<Record<string, never>, Record<string, never>>;
39
39
  export class AutoPageNumberNodeView {
40
40
  constructor(node: any, getPos: any, decorations: any, editor: any, htmlAttributes?: {});
41
41
  node: any;
@@ -1 +1 @@
1
- {"version":3,"file":"page-number.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/page-number/page-number.js"],"names":[],"mappings":"AAEA;;;;;GAKG;AAEH;;;;;GAKG;AAEH;;;;;GAKG;AACH,8BAqFG;AAEH;;;;;GAKG;AAEH;;;;;GAKG;AAEH;;;;;GAKG;AACH,kCAoFG;AAuBH;IACE,wFAQC;IAPC,UAAgB;IAChB,YAAoB;IACpB,UAAuB;IACvB,YAAoB;IAGpB,qBAAgD;IAmDlD,2BAMC;;CACF;;;;;;;;;;;;;;;;;qBA9S+B,gBAAgB"}
1
+ {"version":3,"file":"page-number.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/page-number/page-number.js"],"names":[],"mappings":"AAEA;;;;;GAKG;AAEH;;;;;GAKG;AAEH;;;;;GAKG;AACH,4EAqFG;AAEH;;;;;GAKG;AAEH;;;;;GAKG;AAEH;;;;;GAKG;AACH,gFAoFG;AAuBH;IACE,wFAQC;IAPC,UAAgB;IAChB,YAAoB;IACpB,UAAuB;IACvB,YAAoB;IAGpB,qBAAgD;IAmDlD,2BAMC;;CACF;;;;;;;;;;;;;;;;;qBA9S+B,gBAAgB"}
@@ -1,3 +1,10 @@
1
- export const PageReference: Node;
1
+ export const PageReference: Node<{
2
+ htmlAttributes: {
3
+ contenteditable: boolean;
4
+ 'data-id': string;
5
+ 'aria-label': string;
6
+ class: string;
7
+ };
8
+ }, Record<string, never>>;
2
9
  import { Node } from '@core/index.js';
3
10
  //# sourceMappingURL=page-reference.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"page-reference.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/page-reference/page-reference.js"],"names":[],"mappings":"AAEA,iCAyCG;qBA3C6B,gBAAgB"}
1
+ {"version":3,"file":"page-reference.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/page-reference/page-reference.js"],"names":[],"mappings":"AAEA;;;;;;;0BAyCG;qBA3C6B,gBAAgB"}
@@ -1,3 +1,7 @@
1
- export const Pagination: Extension;
1
+ export const Pagination: Extension<Record<string, never>, {
2
+ height: number;
3
+ sectionData: any;
4
+ headerFooterEditors: Map<any, any>;
5
+ }>;
2
6
  import { Extension } from '@core/Extension.js';
3
7
  //# sourceMappingURL=pagination.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"pagination.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/pagination/pagination.js"],"names":[],"mappings":"AAyBA,mCAsQG;0BA7RuB,oBAAoB"}
1
+ {"version":3,"file":"pagination.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/pagination/pagination.js"],"names":[],"mappings":"AAyBA;;;;GAsQG;0BA7RuB,oBAAoB"}
@@ -1 +1 @@
1
- {"version":3,"file":"ParagraphNodeView.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/paragraph/ParagraphNodeView.js"],"names":[],"mappings":"AAMA;;;;GAIG;AACH;IACE;;;;;;OAMG;IACH,kBANW,OAAO,mBAAmB,EAAE,IAAI,UAChC,OAAO,mBAAmB,EAAE,MAAM,UAClC,MAAM,MAAM,eACZ,OAAO,kBAAkB,EAAE,UAAU,EAAE,kBACvC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAuBjC;IApBC,uCAAgB;IAChB,wCAAoB;IACpB,cAPe,MAAM,CAOD;IACpB,qDAA8B;IAC9B,wCAAoC;IACpC,4BAAkC;IAElC,0BAAsC;IACtC,4BAAgD;IAclD;;;OAGG;IACH,aAHW,OAAO,mBAAmB,EAAE,IAAI,eAChC,OAAO,kBAAkB,EAAE,UAAU,EAAE,WAwBjD;IA2BD;;OAEG;IACH,yBAFW,cAAc,WA+BxB;IAmBG,wBAA4C;IAe1C,kCAA+C;IA2LrD,gBAEC;;CACF"}
1
+ {"version":3,"file":"ParagraphNodeView.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/paragraph/ParagraphNodeView.js"],"names":[],"mappings":"AAOA;;;;GAIG;AACH;IACE;;;;;;OAMG;IACH,kBANW,OAAO,mBAAmB,EAAE,IAAI,UAChC,OAAO,mBAAmB,EAAE,MAAM,UAClC,MAAM,MAAM,eACZ,OAAO,kBAAkB,EAAE,UAAU,EAAE,kBACvC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EA0BjC;IAvBC,uCAAgB;IAChB,wCAAoB;IACpB,cAPe,MAAM,CAOD;IACpB,qDAA8B;IAC9B,wCAAoC;IACpC,4BAAkC;IAIlC,0BAAsC;IACtC,4BAAgD;IAelD;;;OAGG;IACH,aAHW,OAAO,mBAAmB,EAAE,IAAI,eAChC,OAAO,kBAAkB,EAAE,UAAU,EAAE,WA2BjD;IAsDD;;OAEG;IACH,yBAFW,cAAc,WA+BxB;IAmBG,wBAA4C;IAe1C,kCAA+C;IA4LrD,gBAEC;;CACF"}
@@ -0,0 +1,4 @@
1
+ export function createDropcapPlugin(editor: any): Plugin<DecorationSet>;
2
+ import { DecorationSet } from 'prosemirror-view';
3
+ import { Plugin } from 'prosemirror-state';
4
+ //# sourceMappingURL=dropcapPlugin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dropcapPlugin.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/paragraph/dropcapPlugin.js"],"names":[],"mappings":"AAIA,wEAwIC;8BA3IyC,kBAAkB;uBAD1B,mBAAmB"}
@@ -1 +1 @@
1
- {"version":3,"file":"numberingPlugin.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/paragraph/numberingPlugin.js"],"names":[],"mappings":"AAMA;;;;;;GAMG;AACH,8CAHW,OAAO,mBAAmB,EAAE,MAAM,GAChC,OAAO,mBAAmB,EAAE,MAAM,CA2H9C"}
1
+ {"version":3,"file":"numberingPlugin.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/paragraph/numberingPlugin.js"],"names":[],"mappings":"AAOA;;;;;;GAMG;AACH,8CAHW,OAAO,mBAAmB,EAAE,MAAM,GAChC,OAAO,mBAAmB,EAAE,MAAM,CA4H9C"}
@@ -9,15 +9,8 @@
9
9
  * Attributes for paragraph nodes
10
10
  * @typedef {Object} ParagraphAttributes
11
11
  * @category Attributes
12
- * @property {Object} [spacing] - Paragraph spacing configuration
13
12
  * @property {Object} [extraAttrs={}] - Additional HTML attributes
14
- * @property {Array} [marksAttrs] - Text formatting marks
15
- * @property {Object} [indent] - Indentation settings
16
- * @property {Object} [borders] - Paragraph borders
17
13
  * @property {string} [class] - CSS class name
18
- * @property {string} [styleId] - Linked style identifier
19
- * @property {Object} [justify] - Text justification
20
- * @property {Array} [tabStops] - Tab stop positions
21
14
  * @property {string} [sdBlockId] @internal - Internal block tracking ID
22
15
  * @property {string} [paraId] @internal - Paragraph identifier
23
16
  * @property {string} [textId] @internal - Text identifier
@@ -28,8 +21,6 @@
28
21
  * @property {string} [rsidDel] @internal - Deletion revision save ID
29
22
  * @property {Object} [attributes] @internal - Internal attributes storage
30
23
  * @property {string} [filename] @internal - Associated filename
31
- * @property {boolean} [keepLines] @internal - Keep lines together
32
- * @property {boolean} [keepNext] @internal - Keep with next paragraph
33
24
  * @property {Object} [paragraphProperties] @internal - Internal paragraph properties
34
25
  * @property {Object} [dropcap] @internal - Drop cap configuration
35
26
  * @property {string} [pageBreakSource] @internal - Page break source
@@ -39,7 +30,7 @@
39
30
  * @sidebarTitle Paragraph
40
31
  * @snippetPath /snippets/extensions/paragraph.mdx
41
32
  */
42
- export const Paragraph: OxmlNode;
33
+ export const Paragraph: OxmlNode<Record<string, never>, Record<string, never>>;
43
34
  /**
44
35
  * Configuration options for Paragraph
45
36
  */
@@ -1 +1 @@
1
- {"version":3,"file":"paragraph.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/paragraph/paragraph.js"],"names":[],"mappings":"AA+BA;;;;;;GAMG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AAEH;;;;GAIG;AACH,iCAigBG;;;;;;;;;yBAzkBiC,gBAAgB"}
1
+ {"version":3,"file":"paragraph.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/paragraph/paragraph.js"],"names":[],"mappings":"AA0BA;;;;;;GAMG;AAEH;;;;;;;;;;;;;;;;;;;GAmBG;AAEH;;;;GAIG;AACH,+EA0QG;;;;;;;;;yBAtUiC,gBAAgB"}
@@ -0,0 +1,3 @@
1
+ export function getResolvedParagraphProperties(node: any): any;
2
+ export function calculateResolvedParagraphProperties(editor: any, node: any, $pos: any): any;
3
+ //# sourceMappingURL=resolvedPropertiesCache.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resolvedPropertiesCache.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/paragraph/resolvedPropertiesCache.js"],"names":[],"mappings":"AAKA,+DAEC;AAED,6FAiBC"}
@@ -9,7 +9,9 @@
9
9
  * @sidebarTitle Placeholder
10
10
  * @snippetPath /snippets/extensions/placeholder.mdx
11
11
  */
12
- export const Placeholder: Extension;
12
+ export const Placeholder: Extension<{
13
+ placeholder: string;
14
+ }, Record<string, never>>;
13
15
  /**
14
16
  * Configuration options for Placeholder
15
17
  */
@@ -1 +1 @@
1
- {"version":3,"file":"placeholder.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/placeholder/placeholder.js"],"names":[],"mappings":"AAIA;;;;;GAKG;AAEH;;;;GAIG;AACH,oCAyCG;;;;;0BAvDuB,oBAAoB"}
1
+ {"version":3,"file":"placeholder.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/placeholder/placeholder.js"],"names":[],"mappings":"AAIA;;;;;GAKG;AAEH;;;;GAIG;AACH;;0BAyCG;;;;;0BAvDuB,oBAAoB"}
@@ -3,7 +3,7 @@
3
3
  * @sidebarTitle Popover Plugin
4
4
  * @snippetPath /snippets/extensions/popover-plugin.mdx
5
5
  */
6
- export const PopoverPlugin: Extension;
6
+ export const PopoverPlugin: Extension<{}, Record<string, never>>;
7
7
  /**
8
8
  * Configuration options for PopoverPlugin
9
9
  */
@@ -1 +1 @@
1
- {"version":3,"file":"popover-plugin.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/popover-plugin/popover-plugin.js"],"names":[],"mappings":"AAgBA;;;;GAIG;AACH,sCA2CG;;;;;0BA9DuB,oBAAoB"}
1
+ {"version":3,"file":"popover-plugin.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/popover-plugin/popover-plugin.js"],"names":[],"mappings":"AAgBA;;;;GAIG;AACH,iEA2CG;;;;;0BA9DuB,oBAAoB"}
@@ -2,6 +2,6 @@
2
2
  * Run node emulates OOXML w:r (run) boundaries while remaining transparent to layout.
3
3
  * It carries run-level metadata (runProperties, rsid attributes) without affecting visual style.
4
4
  */
5
- export const Run: OxmlNode;
5
+ export const Run: OxmlNode<Record<string, never>, Record<string, never>>;
6
6
  import { OxmlNode } from '@core/index.js';
7
7
  //# sourceMappingURL=run.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"run.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/run/run.js"],"names":[],"mappings":"AAIA;;;GAGG;AACH,2BAwDG;yBA/DiC,gBAAgB"}
1
+ {"version":3,"file":"run.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/run/run.js"],"names":[],"mappings":"AAKA;;;GAGG;AACH,yEAyDG;yBAhEiC,gBAAgB"}
@@ -16,7 +16,7 @@
16
16
  * @sidebarTitle Search
17
17
  * @snippetPath /snippets/extensions/search.mdx
18
18
  */
19
- export const Search: Extension;
19
+ export const Search: Extension<Record<string, never>, Record<string, never>>;
20
20
  /**
21
21
  * Search match object
22
22
  */
@@ -1 +1 @@
1
- {"version":3,"file":"search.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/search/search.js"],"names":[],"mappings":"AASA;;;;;;;GAOG;AAEH;;;;GAIG;AAEH;;;;GAIG;AACH,+BAsJG;;;;;;;;UAvKW,MAAM;;;;UACN,MAAM;;;;QACN,MAAM;;;;QACN,MAAM;;;;;;0BAdM,oBAAoB"}
1
+ {"version":3,"file":"search.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/search/search.js"],"names":[],"mappings":"AAUA;;;;;;;GAOG;AAEH;;;;GAIG;AAEH;;;;GAIG;AACH,6EAuJG;;;;;;;;UAxKW,MAAM;;;;UACN,MAAM;;;;QACN,MAAM;;;;QACN,MAAM;;;;;;0BAdM,oBAAoB"}
@@ -19,7 +19,12 @@
19
19
  * @sidebarTitle Shape Container
20
20
  * @snippetPath /snippets/extensions/shape-container.mdx
21
21
  */
22
- export const ShapeContainer: Node;
22
+ export const ShapeContainer: Node<{
23
+ htmlAttributes: {
24
+ class: string;
25
+ 'aria-label': string;
26
+ };
27
+ }, Record<string, never>>;
23
28
  /**
24
29
  * Configuration options for ShapeContainer
25
30
  */
@@ -1 +1 @@
1
- {"version":3,"file":"shape-container.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/shape-container/shape-container.js"],"names":[],"mappings":"AAEA;;;;;GAKG;AAEH;;;;;;;;;GASG;AAEH;;;;GAIG;AACH,kCAsEG;;;;;;;;;qBA/F6B,gBAAgB"}
1
+ {"version":3,"file":"shape-container.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/shape-container/shape-container.js"],"names":[],"mappings":"AAEA;;;;;GAKG;AAEH;;;;;;;;;GASG;AAEH;;;;GAIG;AACH;;;;;0BAsEG;;;;;;;;;qBA/F6B,gBAAgB"}
@@ -1,3 +1,3 @@
1
- export const ShapeGroup: Node;
1
+ export const ShapeGroup: Node<Record<string, never>, Record<string, never>>;
2
2
  import { Node } from '@core/index';
3
3
  //# sourceMappingURL=shape-group.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"shape-group.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/shape-group/shape-group.js"],"names":[],"mappings":"AAGA,8BAmFG;qBAtF6B,aAAa"}
1
+ {"version":3,"file":"shape-group.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/shape-group/shape-group.js"],"names":[],"mappings":"AAGA,4EAmFG;qBAtF6B,aAAa"}
@@ -16,7 +16,12 @@
16
16
  * @sidebarTitle Shape Textbox
17
17
  * @snippetPath /snippets/extensions/shape-textbox.mdx
18
18
  */
19
- export const ShapeTextbox: Node;
19
+ export const ShapeTextbox: Node<{
20
+ htmlAttributes: {
21
+ class: string;
22
+ 'aria-label': string;
23
+ };
24
+ }, Record<string, never>>;
20
25
  /**
21
26
  * Configuration options for ShapeTextbox
22
27
  */
@@ -1 +1 @@
1
- {"version":3,"file":"shape-textbox.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/shape-textbox/shape-textbox.js"],"names":[],"mappings":"AAEA;;;;;GAKG;AAEH;;;;;;GAMG;AAEH;;;;GAIG;AACH,gCAiDG;;;;;;;;;qBAvE6B,gBAAgB"}
1
+ {"version":3,"file":"shape-textbox.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/shape-textbox/shape-textbox.js"],"names":[],"mappings":"AAEA;;;;;GAKG;AAEH;;;;;;GAMG;AAEH;;;;GAIG;AACH;;;;;0BAiDG;;;;;;;;;qBAvE6B,gBAAgB"}
@@ -4,7 +4,7 @@ export const SlashMenuPluginKey: PluginKey<any>;
4
4
  * @sidebarTitle Slash Menu
5
5
  * @snippetPath /snippets/extensions/slash-menu.mdx
6
6
  */
7
- export const SlashMenu: Extension;
7
+ export const SlashMenu: Extension<{}, Record<string, never>>;
8
8
  /**
9
9
  * Configuration options for SlashMenu
10
10
  */
@@ -1 +1 @@
1
- {"version":3,"file":"slash-menu.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/slash-menu/slash-menu.js"],"names":[],"mappings":"AAmCA,gDAA6D;AAE7D;;;;GAIG;AACH,kCAyKG;;;;;0BAnN+B,mBAAmB;0BAC3B,oBAAoB"}
1
+ {"version":3,"file":"slash-menu.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/slash-menu/slash-menu.js"],"names":[],"mappings":"AAmCA,gDAA6D;AAE7D;;;;GAIG;AACH,6DAyKG;;;;;0BAnN+B,mBAAmB;0BAC3B,oBAAoB"}
@@ -10,7 +10,9 @@
10
10
  * @snippetPath /snippets/extensions/strike.mdx
11
11
  * @shortcut Mod-Shift-s | toggleStrike | Toggle strikethrough formatting
12
12
  */
13
- export const Strike: Mark;
13
+ export const Strike: Mark<{
14
+ htmlAttributes: {};
15
+ }, Record<string, never>>;
14
16
  /**
15
17
  * Configuration options for Strike
16
18
  */
@@ -1 +1 @@
1
- {"version":3,"file":"strike.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/strike/strike.js"],"names":[],"mappings":"AAIA;;;;;GAKG;AAEH;;;;;GAKG;AACH,0BAoFG;;;;;qBApG6B,gBAAgB"}
1
+ {"version":3,"file":"strike.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/strike/strike.js"],"names":[],"mappings":"AAIA;;;;;GAKG;AAEH;;;;;GAKG;AACH;;0BAoFG;;;;;qBApG6B,gBAAgB"}
@@ -1,3 +1,8 @@
1
- export const DocumentPartObject: Node;
1
+ export const DocumentPartObject: Node<{
2
+ htmlAttributes: {
3
+ class: string;
4
+ 'aria-label': string;
5
+ };
6
+ }, Record<string, never>>;
2
7
  import { Node } from '@core/index.js';
3
8
  //# sourceMappingURL=document-part-object.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"document-part-object.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/structured-content/document-part-object.js"],"names":[],"mappings":"AAGA,sCA6CG;qBA/C6B,gBAAgB"}
1
+ {"version":3,"file":"document-part-object.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/structured-content/document-part-object.js"],"names":[],"mappings":"AAGA;;;;;0BA8CG;qBAhD6B,gBAAgB"}
@@ -39,7 +39,7 @@
39
39
  * @sidebarTitle Document Section
40
40
  * @snippetPath /snippets/extensions/document-section.mdx
41
41
  */
42
- export const DocumentSection: Node;
42
+ export const DocumentSection: Node<Record<string, never>, Record<string, never>>;
43
43
  /**
44
44
  * Document section creation options
45
45
  */
@@ -1 +1 @@
1
- {"version":3,"file":"document-section.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/structured-content/document-section.js"],"names":[],"mappings":"AASA;;;;;;;;;;GAUG;AAEH;;;;;;;GAOG;AAEH;;;;;GAKG;AAEH;;;;;;;;;;GAUG;AAEH;;;;GAIG;AACH,mCA2UG;;;;;;;;SArXW,MAAM;;;;YACN,MAAM;;;;kBACN,MAAM;;;;kBACN,MAAM;;;;eACN,OAAO;;;;WACP,MAAM;;;;;;;;;;;;;QAON,MAAM;;;;WACN,MAAM;;;;;;;;YAEN,OAAO,CAAC,yBAAyB,CAAC;;;;;;;;;;qBA1BhB,gBAAgB"}
1
+ {"version":3,"file":"document-section.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/structured-content/document-section.js"],"names":[],"mappings":"AAUA;;;;;;;;;;GAUG;AAEH;;;;;;;GAOG;AAEH;;;;;GAKG;AAEH;;;;;;;;;;GAUG;AAEH;;;;GAIG;AACH,iFA4UG;;;;;;;;SAtXW,MAAM;;;;YACN,MAAM;;;;kBACN,MAAM;;;;kBACN,MAAM;;;;eACN,OAAO;;;;WACP,MAAM;;;;;;;;;;;;;QAON,MAAM;;;;WACN,MAAM;;;;;;;;YAEN,OAAO,CAAC,yBAAyB,CAAC;;;;;;;;;;qBA1BhB,gBAAgB"}
@@ -20,7 +20,12 @@ export const structuredContentInnerClass: "sd-structured-content-block__content"
20
20
  * const attrs = editor.getAttributes('structuredContentBlock')
21
21
  * console.log(attrs.id, attrs.alias)
22
22
  */
23
- export const StructuredContentBlock: Node;
23
+ export const StructuredContentBlock: Node<{
24
+ htmlAttributes: {
25
+ class: string;
26
+ 'aria-label': string;
27
+ };
28
+ }, Record<string, never>>;
24
29
  /**
25
30
  * Configuration options for StructuredContentBlock
26
31
  */
@@ -1 +1 @@
1
- {"version":3,"file":"structured-content-block.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/structured-content/structured-content-block.js"],"names":[],"mappings":"AAGA,qCAAsC,6BAA6B,CAAC;AACpE,0CAA2C,sCAAsC,CAAC;AAElF;;;;;;GAMG;AAEH;;;;;;;;;;;;GAYG;AAEH,0CA4EG;;;;;;;;;qBAxG6B,aAAa"}
1
+ {"version":3,"file":"structured-content-block.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/structured-content/structured-content-block.js"],"names":[],"mappings":"AAGA,qCAAsC,6BAA6B,CAAC;AACpE,0CAA2C,sCAAsC,CAAC;AAElF;;;;;;GAMG;AAEH;;;;;;;;;;;;GAYG;AAEH;;;;;0BA4EG;;;;;;;;;qBAxG6B,aAAa"}
@@ -3,12 +3,14 @@
3
3
  * @property {string} [text] - Text content to insert
4
4
  * @property {Object} [json] - ProseMirror JSON
5
5
  * @property {Object} [attrs] - Node attributes
6
+ * @property {string} [attrs.group] - Group identifier for linking multiple fields (auto-encoded to JSON tag)
6
7
  */
7
8
  /**
8
9
  * @typedef {Object} StructuredContentBlockInsert
9
10
  * @property {string} [html] - HTML content to insert
10
11
  * @property {Object} [json] - ProseMirror JSON
11
12
  * @property {Object} [attrs] - Node attributes
13
+ * @property {string} [attrs.group] - Group identifier for linking multiple fields (auto-encoded to JSON tag)
12
14
  */
13
15
  /**
14
16
  * @typedef {Object} StructuredContentUpdate
@@ -24,7 +26,7 @@
24
26
  * @property {Array<string[]>|Array<string>} rows - Cell values to append
25
27
  * @property {boolean} [copyRowStyle=false] - Clone the last row's styling when true
26
28
  */
27
- export const StructuredContentCommands: Extension;
29
+ export const StructuredContentCommands: Extension<Record<string, never>, Record<string, never>>;
28
30
  export type StructuredContentInlineInsert = {
29
31
  /**
30
32
  * - Text content to insert
@@ -37,7 +39,9 @@ export type StructuredContentInlineInsert = {
37
39
  /**
38
40
  * - Node attributes
39
41
  */
40
- attrs?: any;
42
+ attrs?: {
43
+ group?: string;
44
+ };
41
45
  };
42
46
  export type StructuredContentBlockInsert = {
43
47
  /**
@@ -51,7 +55,9 @@ export type StructuredContentBlockInsert = {
51
55
  /**
52
56
  * - Node attributes
53
57
  */
54
- attrs?: any;
58
+ attrs?: {
59
+ group?: string;
60
+ };
55
61
  };
56
62
  export type StructuredContentUpdate = {
57
63
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"structured-content-commands.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/structured-content/structured-content-commands.js"],"names":[],"mappings":"AAUA;;;;;GAKG;AAEH;;;;;GAKG;AAEH;;;;;;GAMG;AAEH;;;;;;GAMG;AAEH,kDAoUG;;;;;WAhWW,MAAM;;;;;;;;;;;;;;WAON,MAAM;;;;;;;;;;;;;;WAON,MAAM;;;;WACN,MAAM;;;;;;;;;;;;;;QAON,MAAM;;;;iBACN,MAAM;;;;UACN,KAAK,CAAC,MAAM,EAAE,CAAC,GAAC,KAAK,CAAC,MAAM,CAAC;;;;mBAC7B,OAAO;;0BApCK,aAAa"}
1
+ {"version":3,"file":"structured-content-commands.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/structured-content/structured-content-commands.js"],"names":[],"mappings":"AAYA;;;;;;GAMG;AAEH;;;;;;GAMG;AAEH;;;;;;GAMG;AAEH;;;;;;GAMG;AAEH,gGA2cG;;;;;WAzeW,MAAM;;;;;;;;YAGjB;QAA0B,KAAK,GAApB,MAAM;KACnB;;;;;;WAIa,MAAM;;;;;;;;YAGjB;QAA0B,KAAK,GAApB,MAAM;KACnB;;;;;;WAIa,MAAM;;;;WACN,MAAM;;;;;;;;;;;;;;QAON,MAAM;;;;iBACN,MAAM;;;;UACN,KAAK,CAAC,MAAM,EAAE,CAAC,GAAC,KAAK,CAAC,MAAM,CAAC;;;;mBAC7B,OAAO;;0BAxCK,aAAa"}
@@ -25,7 +25,12 @@ export const structuredContentInnerClass: "sd-structured-content__content";
25
25
  * @sidebarTitle Structured Content
26
26
  * @snippetPath /snippets/extensions/structured-content.mdx
27
27
  */
28
- export const StructuredContent: Node;
28
+ export const StructuredContent: Node<{
29
+ htmlAttributes: {
30
+ class: string;
31
+ 'aria-label': string;
32
+ };
33
+ }, Record<string, never>>;
29
34
  /**
30
35
  * Configuration options for StructuredContent
31
36
  */
@@ -1 +1 @@
1
- {"version":3,"file":"structured-content.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/structured-content/structured-content.js"],"names":[],"mappings":"AAGA,qCAAsC,uBAAuB,CAAC;AAC9D,0CAA2C,gCAAgC,CAAC;AAE5E;;;;;;GAMG;AAEH;;;;;;;;;;;;GAYG;AAEH;;;;GAIG;AACH,qCA8EG;;;;;;;;;qBA/G6B,aAAa"}
1
+ {"version":3,"file":"structured-content.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/structured-content/structured-content.js"],"names":[],"mappings":"AAGA,qCAAsC,uBAAuB,CAAC;AAC9D,0CAA2C,gCAAgC,CAAC;AAE5E;;;;;;GAMG;AAEH;;;;;;;;;;;;GAYG;AAEH;;;;GAIG;AACH;;;;;0BA8EG;;;;;;;;;qBA/G6B,aAAa"}
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Get structured content nodes by group identifier.
3
+ * Groups are JSON-encoded in the tag attribute as { "group": "value" }.
4
+ * @category Helper
5
+ * @param {string | string[]} groupOrGroups - Single group or array of groups to find
6
+ * @param {import('prosemirror-state').EditorState} state - Editor state
7
+ * @returns {Array<{ node: import('prosemirror-model').Node, pos: number }>} Matching structured content nodes
8
+ * @example
9
+ * // Find all fields with group "customer-info"
10
+ * const fields = editor.helpers.getStructuredContentByGroup('customer-info', editor.state)
11
+ *
12
+ * // Find fields with multiple groups
13
+ * const fields = editor.helpers.getStructuredContentByGroup(['customer-info', 'terms'], editor.state)
14
+ */
15
+ export function getStructuredContentByGroup(groupOrGroups: string | string[], state: import("prosemirror-state").EditorState): Array<{
16
+ node: import("prosemirror-model").Node;
17
+ pos: number;
18
+ }>;
19
+ //# sourceMappingURL=getStructuredContentByGroup.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getStructuredContentByGroup.d.ts","sourceRoot":"","sources":["../../../../../../src/extensions/structured-content/structuredContentHelpers/getStructuredContentByGroup.js"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;GAaG;AACH,2DAVW,MAAM,GAAG,MAAM,EAAE,SACjB,OAAO,mBAAmB,EAAE,WAAW,GACrC,KAAK,CAAC;IAAE,IAAI,EAAE,OAAO,mBAAmB,EAAE,IAAI,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,CAAC,CA0B1E"}
@@ -2,5 +2,7 @@ export * from "./getStructuredContentTags";
2
2
  export * from "./getStructuredContentInlineTags";
3
3
  export * from "./getStructuredContentBlockTags";
4
4
  export * from "./getStructuredContentTagsById";
5
+ export * from "./getStructuredContentByGroup";
5
6
  export * from "./getStructuredContentTablesById";
7
+ export * from "./tagUtils";
6
8
  //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,53 @@
1
+ /**
2
+ * Utilities for handling structured content tags with JSON encoding.
3
+ * Supports extensible tag objects while maintaining backward compatibility with plain strings.
4
+ */
5
+ /**
6
+ * Creates a JSON-encoded tag object.
7
+ * @param {Object} tagData - Tag properties
8
+ * @param {string} [tagData.group] - Group identifier for linking multiple fields
9
+ * @param {...*} [tagData.rest] - Additional extensible properties
10
+ * @returns {string} JSON-encoded tag string
11
+ * @example
12
+ * createTagObject({ group: 'customer-info' })
13
+ * // => '{"group":"customer-info"}'
14
+ *
15
+ * createTagObject({ group: 'terms', style: 'header' })
16
+ * // => '{"group":"terms","style":"header"}'
17
+ */
18
+ export function createTagObject(tagData: {
19
+ group?: string;
20
+ rest?: any[];
21
+ }): string;
22
+ /**
23
+ * Parses a tag value into an object.
24
+ * Returns null for plain string tags or invalid JSON.
25
+ * @param {string} tag - Tag value to parse
26
+ * @returns {Object|null} Parsed tag object or null
27
+ * @example
28
+ * parseTagObject('{"group":"customer-info"}')
29
+ * // => { group: 'customer-info' }
30
+ *
31
+ * parseTagObject('inline_text_sdt')
32
+ * // => null (plain string tag)
33
+ */
34
+ export function parseTagObject(tag: string): any | null;
35
+ /**
36
+ * Checks if a tag has a group property.
37
+ * @param {string} tag - Tag value to check
38
+ * @returns {boolean} True if tag has a group property
39
+ * @example
40
+ * hasGroup('{"group":"customer-info"}') // => true
41
+ * hasGroup('inline_text_sdt') // => false
42
+ */
43
+ export function hasGroup(tag: string): boolean;
44
+ /**
45
+ * Extracts the group value from a tag.
46
+ * @param {string} tag - Tag value
47
+ * @returns {string|null} Group value or null if not found
48
+ * @example
49
+ * getGroup('{"group":"customer-info"}') // => 'customer-info'
50
+ * getGroup('inline_text_sdt') // => null
51
+ */
52
+ export function getGroup(tag: string): string | null;
53
+ //# sourceMappingURL=tagUtils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tagUtils.d.ts","sourceRoot":"","sources":["../../../../../../src/extensions/structured-content/structuredContentHelpers/tagUtils.js"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;GAYG;AACH,yCAVG;IAAyB,KAAK,GAAtB,MAAM;IACS,IAAI,GAAhB,GAAC,EAAA;CACZ,GAAU,MAAM,CAalB;AAED;;;;;;;;;;;GAWG;AACH,oCATW,MAAM,GACJ,MAAO,IAAI,CAkBvB;AAED;;;;;;;GAOG;AACH,8BANW,MAAM,GACJ,OAAO,CAQnB;AAED;;;;;;;GAOG;AACH,8BANW,MAAM,GACJ,MAAM,GAAC,IAAI,CAQvB"}
@@ -1 +1 @@
1
- {"version":3,"file":"tabDecorations.d.ts","sourceRoot":"","sources":["../../../../../../src/extensions/tab/helpers/tabDecorations.js"],"names":[],"mappings":"AAoCA,4JAkGC;AAED,+EAaC;AAED;;;;;;;;;EA+BC;AAED;;;EAyBC;AAED,sEAOC;AAED,0FAcC;AAED,8GAiBC;AAED,iIAUC;AAED,yEAgBC;AAED,kEAmBC;AAED,4FA+BC;AAED,+EAYC;AAED,wDAUC;AAxWD,iCAAkC,EAAE,CAAC;AACrC,gCAAiC,GAAG,CAAC;AAE9B,qGA4BN"}
1
+ {"version":3,"file":"tabDecorations.d.ts","sourceRoot":"","sources":["../../../../../../src/extensions/tab/helpers/tabDecorations.js"],"names":[],"mappings":"AAqCA,4JAkGC;AAED,+EAaC;AAED;;;;;;;;;EA2BC;AAED;;;EAyBC;AAED,sEAOC;AAED,0FAcC;AAED,8GAiBC;AAED,iIAUC;AAED,yEAgBC;AAED,kEAmBC;AAED,4FA+BC;AAED,+EAYC;AAED,wDAUC;AApWD,iCAAkC,EAAE,CAAC;AACrC,gCAAiC,GAAG,CAAC;AAE9B,qGA4BN"}