@eigenpal/docx-editor-core 1.0.2 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (266) hide show
  1. package/LICENSE +13 -16
  2. package/README.md +1 -1
  3. package/dist/agent/index.d.mts +4 -5
  4. package/dist/agent/index.d.ts +4 -5
  5. package/dist/agent/index.js +1 -1
  6. package/dist/agent/index.mjs +1 -1
  7. package/dist/{chunk-NLTX7XVR.js → chunk-25KY5HLN.js} +1 -1
  8. package/dist/chunk-44FHVKSI.js +1 -0
  9. package/dist/{chunk-4S5VOHQK.mjs → chunk-5CDBSK2R.mjs} +1 -1
  10. package/dist/chunk-6Y6LON6Y.mjs +1 -0
  11. package/dist/chunk-6ZXL3EIP.mjs +2 -0
  12. package/dist/chunk-73AZQWIE.js +1 -0
  13. package/dist/chunk-7HANRHHL.js +1 -0
  14. package/dist/chunk-7LRR7RKE.mjs +15 -0
  15. package/dist/{chunk-AGNZEOVL.mjs → chunk-7Z2AGPNQ.mjs} +1 -1
  16. package/dist/chunk-BGE57OES.js +1 -0
  17. package/dist/chunk-BOOHU5EW.mjs +1 -0
  18. package/dist/chunk-CA2EYL6T.mjs +1 -0
  19. package/dist/chunk-CTHHUJAB.mjs +2 -0
  20. package/dist/chunk-DLCDDB66.mjs +3 -0
  21. package/dist/chunk-DV6GWBUJ.js +2 -0
  22. package/dist/chunk-E4JMCA5X.js +2 -0
  23. package/dist/chunk-F44ZLDZS.js +4 -0
  24. package/dist/chunk-FCJWLEKT.mjs +1 -0
  25. package/dist/chunk-FDEDN2RC.mjs +0 -0
  26. package/dist/chunk-FEWCI2E5.mjs +1 -0
  27. package/dist/chunk-GFDIPDJ6.mjs +1 -0
  28. package/dist/chunk-GM4USWKO.js +2 -0
  29. package/dist/chunk-GWBVJZVT.js +3 -0
  30. package/dist/chunk-GY5BWVM7.js +1 -0
  31. package/dist/{chunk-7SGC3CXJ.js → chunk-H42RXHT4.js} +1 -1
  32. package/dist/chunk-HMBVSDCH.mjs +1 -0
  33. package/dist/chunk-HQPWFUP5.js +2 -0
  34. package/dist/chunk-HV6HE6YR.js +59 -0
  35. package/dist/chunk-IF4C25FN.mjs +1 -0
  36. package/dist/chunk-IMKU4O3P.js +1 -0
  37. package/dist/chunk-IQG3KLWY.mjs +2 -0
  38. package/dist/{chunk-AFMMYLPX.js → chunk-J4J2Y6EU.js} +2 -2
  39. package/dist/chunk-KGDXHUYC.js +1 -0
  40. package/dist/chunk-KHF4JU7D.mjs +1 -0
  41. package/dist/chunk-LCICADWM.js +2 -0
  42. package/dist/{chunk-GFQM7PKY.js → chunk-LOCW6MR2.js} +1 -1
  43. package/dist/chunk-LTHT4A4S.js +1 -0
  44. package/dist/chunk-MJ6XZFVD.mjs +1 -0
  45. package/dist/chunk-MNOHUTKE.js +15 -0
  46. package/dist/chunk-MP4QSEO2.mjs +1 -0
  47. package/dist/chunk-MZ2XCZAN.mjs +1 -0
  48. package/dist/chunk-OAWTQ3IY.js +1 -0
  49. package/dist/chunk-OEXVWIHW.mjs +2 -0
  50. package/dist/chunk-ONRBRDIC.mjs +59 -0
  51. package/dist/{chunk-6PR4XHQ3.mjs → chunk-ONWOHAFW.mjs} +1 -1
  52. package/dist/{chunk-EXOP727C.mjs → chunk-OUEKNYX5.mjs} +1 -1
  53. package/dist/chunk-OX75Q5ZG.mjs +1 -0
  54. package/dist/chunk-QEACB5VG.js +1 -0
  55. package/dist/chunk-RFC2SXZ6.mjs +4 -0
  56. package/dist/chunk-RFVFX5WK.mjs +1 -0
  57. package/dist/chunk-SORYYVJ7.js +1 -0
  58. package/dist/chunk-TUIEV7Q7.js +1 -0
  59. package/dist/chunk-U74VPTIU.js +1 -0
  60. package/dist/chunk-UOQT6A7P.js +1 -0
  61. package/dist/chunk-V5VDCQDN.mjs +1 -0
  62. package/dist/chunk-VHUVPHPI.mjs +1 -0
  63. package/dist/{chunk-XCMA7AY7.js → chunk-W7GLQ6DV.js} +1 -1
  64. package/dist/chunk-WLHNIXWC.mjs +2 -0
  65. package/dist/chunk-X6HFDXKB.js +1 -0
  66. package/dist/chunk-XPV6VILW.mjs +1 -0
  67. package/dist/chunk-Y3ZQQI4D.js +1 -0
  68. package/dist/chunk-YTDWMXNS.js +1 -0
  69. package/dist/chunk-ZUGNF5KU.js +1 -0
  70. package/dist/chunk-ZX26QZJ5.mjs +1 -0
  71. package/dist/{colorResolver-CVsPLsw1.d.ts → colorResolver-BZ_yScf4.d.ts} +1 -1
  72. package/dist/{colorResolver-C3q7MLLD.d.mts → colorResolver-C6DtsoFI.d.mts} +1 -1
  73. package/dist/content-5Mrz6w_b.d.mts +1360 -0
  74. package/dist/content-CmqAwdFL.d.ts +1360 -0
  75. package/dist/core-plugins.d.mts +3 -4
  76. package/dist/core-plugins.d.ts +3 -4
  77. package/dist/core-plugins.js +1 -1
  78. package/dist/core-plugins.mjs +1 -1
  79. package/dist/core.d.mts +10 -11
  80. package/dist/core.d.ts +10 -11
  81. package/dist/core.js +1 -1
  82. package/dist/core.mjs +1 -1
  83. package/dist/{documentSerializer-Chn7J1WG.d.ts → documentSerializer-BRaaXIHm.d.ts} +1 -1
  84. package/dist/{documentSerializer-C1ueey5d.d.mts → documentSerializer-DgO3A9av.d.mts} +1 -1
  85. package/dist/docx/index.d.mts +3 -4
  86. package/dist/docx/index.d.ts +3 -4
  87. package/dist/docx/index.js +1 -1
  88. package/dist/docx/index.mjs +1 -1
  89. package/dist/docx/parser.d.mts +3 -4
  90. package/dist/docx/parser.d.ts +3 -4
  91. package/dist/docx/parser.js +1 -1
  92. package/dist/docx/parser.mjs +1 -1
  93. package/dist/docx/rezip.d.mts +3 -4
  94. package/dist/docx/rezip.d.ts +3 -4
  95. package/dist/docx/rezip.js +1 -1
  96. package/dist/docx/rezip.mjs +1 -1
  97. package/dist/docx/serializer/index.d.mts +4 -5
  98. package/dist/docx/serializer/index.d.ts +4 -5
  99. package/dist/docx/serializer/index.js +1 -1
  100. package/dist/docx/serializer/index.mjs +1 -1
  101. package/dist/{fontLoader-BOt95Jtf.d.mts → fontLoader-8b4X-AIh.d.mts} +63 -3
  102. package/dist/{fontLoader-QPwbcX5j.d.ts → fontLoader-CK2QLq68.d.ts} +63 -3
  103. package/dist/{formatting-D9I-lFS4.d.mts → formatting-BH4hcZiq.d.mts} +1 -1
  104. package/dist/{formatting-BwpZWdGi.d.ts → formatting-_OXU8gLB.d.ts} +1 -1
  105. package/dist/{headerFooterLayout-DkclHZ0Z.d.mts → headerFooterLayout-72Vz7yp3.d.mts} +94 -3
  106. package/dist/{headerFooterLayout-B3QVg556.d.ts → headerFooterLayout-Ca4ESDHF.d.ts} +94 -3
  107. package/dist/headless.d.mts +9 -9
  108. package/dist/headless.d.ts +9 -9
  109. package/dist/headless.js +1 -1
  110. package/dist/headless.mjs +1 -1
  111. package/dist/layout-bridge/index.d.mts +7 -7
  112. package/dist/layout-bridge/index.d.ts +7 -7
  113. package/dist/layout-bridge/index.js +1 -1
  114. package/dist/layout-bridge/index.mjs +1 -1
  115. package/dist/layout-bridge/measuring/index.d.mts +43 -2
  116. package/dist/layout-bridge/measuring/index.d.ts +43 -2
  117. package/dist/layout-bridge/measuring/index.js +1 -1
  118. package/dist/layout-bridge/measuring/index.mjs +1 -1
  119. package/dist/layout-bridge/tableInsertHover.js +1 -1
  120. package/dist/layout-bridge/tableInsertHover.mjs +1 -1
  121. package/dist/layout-bridge/toFlowBlocks.d.mts +11 -3
  122. package/dist/layout-bridge/toFlowBlocks.d.ts +11 -3
  123. package/dist/layout-bridge/toFlowBlocks.js +1 -1
  124. package/dist/layout-bridge/toFlowBlocks.mjs +1 -1
  125. package/dist/layout-engine/index.d.mts +33 -3
  126. package/dist/layout-engine/index.d.ts +33 -3
  127. package/dist/layout-engine/index.js +1 -1
  128. package/dist/layout-engine/index.mjs +1 -1
  129. package/dist/layout-engine/types.d.mts +53 -0
  130. package/dist/layout-engine/types.d.ts +53 -0
  131. package/dist/layout-painter/index.d.mts +4 -5
  132. package/dist/layout-painter/index.d.ts +4 -5
  133. package/dist/layout-painter/index.js +1 -1
  134. package/dist/layout-painter/index.mjs +1 -1
  135. package/dist/layout-painter/renderPage.d.mts +4 -5
  136. package/dist/layout-painter/renderPage.d.ts +4 -5
  137. package/dist/layout-painter/renderPage.js +1 -1
  138. package/dist/layout-painter/renderPage.mjs +1 -1
  139. package/dist/managers/AutoSaveManager.d.mts +3 -4
  140. package/dist/managers/AutoSaveManager.d.ts +3 -4
  141. package/dist/managers/TableSelectionManager.d.mts +3 -4
  142. package/dist/managers/TableSelectionManager.d.ts +3 -4
  143. package/dist/managers/types.d.mts +3 -4
  144. package/dist/managers/types.d.ts +3 -4
  145. package/dist/{marks-CCPVlQzL.d.mts → marks-BY573yZn.d.mts} +1 -1
  146. package/dist/{marks-BujVxYP4.d.ts → marks-CjC9tF5k.d.ts} +1 -1
  147. package/dist/mcp-cli.mjs +24 -23
  148. package/dist/mcp.d.mts +3 -4
  149. package/dist/mcp.d.ts +3 -4
  150. package/dist/mcp.js +3 -3
  151. package/dist/mcp.mjs +1 -1
  152. package/dist/{nodes-BXi1Uu3e.d.mts → nodes-7753Bgi_.d.mts} +66 -3
  153. package/dist/{nodes-DfKj9kUA.d.ts → nodes-CC_nwkT_.d.ts} +66 -3
  154. package/dist/prosemirror/commands/formatting.d.mts +2 -2
  155. package/dist/prosemirror/commands/formatting.d.ts +2 -2
  156. package/dist/prosemirror/commands/formatting.js +1 -1
  157. package/dist/prosemirror/commands/formatting.mjs +1 -1
  158. package/dist/prosemirror/commands/index.d.mts +82 -8
  159. package/dist/prosemirror/commands/index.d.ts +82 -8
  160. package/dist/prosemirror/commands/index.js +1 -1
  161. package/dist/prosemirror/commands/index.mjs +1 -1
  162. package/dist/prosemirror/commands/paragraph.d.mts +1 -1
  163. package/dist/prosemirror/commands/paragraph.d.ts +1 -1
  164. package/dist/prosemirror/commands/paragraph.js +1 -1
  165. package/dist/prosemirror/commands/paragraph.mjs +1 -1
  166. package/dist/prosemirror/conversion/fromProseDoc.d.mts +3 -4
  167. package/dist/prosemirror/conversion/fromProseDoc.d.ts +3 -4
  168. package/dist/prosemirror/conversion/fromProseDoc.js +1 -1
  169. package/dist/prosemirror/conversion/fromProseDoc.mjs +1 -1
  170. package/dist/prosemirror/conversion/index.d.mts +11 -4
  171. package/dist/prosemirror/conversion/index.d.ts +11 -4
  172. package/dist/prosemirror/conversion/index.js +1 -1
  173. package/dist/prosemirror/conversion/index.mjs +1 -1
  174. package/dist/prosemirror/editor.css +155 -95
  175. package/dist/prosemirror/extensions/index.d.mts +1 -1
  176. package/dist/prosemirror/extensions/index.d.ts +1 -1
  177. package/dist/prosemirror/extensions/index.js +1 -1
  178. package/dist/prosemirror/extensions/index.mjs +1 -1
  179. package/dist/prosemirror/extensions/nodes/TableExtension.js +1 -1
  180. package/dist/prosemirror/extensions/nodes/TableExtension.mjs +1 -1
  181. package/dist/prosemirror/index.d.mts +5 -6
  182. package/dist/prosemirror/index.d.ts +5 -6
  183. package/dist/prosemirror/index.js +1 -1
  184. package/dist/prosemirror/index.mjs +1 -1
  185. package/dist/prosemirror/plugins/index.d.mts +122 -18
  186. package/dist/prosemirror/plugins/index.d.ts +122 -18
  187. package/dist/prosemirror/plugins/index.js +1 -1
  188. package/dist/prosemirror/plugins/index.mjs +1 -1
  189. package/dist/prosemirror/plugins/selectionTracker.d.mts +1 -1
  190. package/dist/prosemirror/plugins/selectionTracker.d.ts +1 -1
  191. package/dist/prosemirror/schema/index.d.mts +4 -5
  192. package/dist/prosemirror/schema/index.d.ts +4 -5
  193. package/dist/prosemirror/schema/index.js +1 -1
  194. package/dist/prosemirror/schema/index.mjs +1 -1
  195. package/dist/prosemirror/styles/index.d.mts +2 -2
  196. package/dist/prosemirror/styles/index.d.ts +2 -2
  197. package/dist/prosemirror/utils/extractTrackedChanges.d.mts +45 -23
  198. package/dist/prosemirror/utils/extractTrackedChanges.d.ts +45 -23
  199. package/dist/prosemirror/utils/extractTrackedChanges.js +1 -1
  200. package/dist/prosemirror/utils/extractTrackedChanges.mjs +1 -1
  201. package/dist/{selectionContext-85CE0f7a.d.ts → selectionContext-BPAqgNgk.d.ts} +1 -1
  202. package/dist/{selectionContext-Xq3AY7pn.d.mts → selectionContext-CoZat7QZ.d.mts} +1 -1
  203. package/dist/{styles-jqO45PSq.d.ts → styles-BBv7doYK.d.ts} +1 -1
  204. package/dist/{styles-BBoqh07F.d.mts → styles-EI2lxeEN.d.mts} +1 -1
  205. package/dist/types/agentApi.d.mts +1 -1
  206. package/dist/types/agentApi.d.ts +1 -1
  207. package/dist/types/content.d.mts +4 -1167
  208. package/dist/types/content.d.ts +4 -1167
  209. package/dist/types/document.d.mts +25 -8
  210. package/dist/types/document.d.ts +25 -8
  211. package/dist/utils/comments.d.mts +79 -6
  212. package/dist/utils/comments.d.ts +79 -6
  213. package/dist/utils/comments.js +1 -1
  214. package/dist/utils/comments.mjs +1 -1
  215. package/dist/utils/highlightColors.js +1 -1
  216. package/dist/utils/highlightColors.mjs +1 -1
  217. package/dist/utils/index.d.mts +5 -6
  218. package/dist/utils/index.d.ts +5 -6
  219. package/dist/utils/index.js +3 -3
  220. package/dist/utils/index.mjs +3 -3
  221. package/dist/{variableDetector-CAdt8yOr.d.mts → variableDetector-DF3-nxUC.d.mts} +1 -1
  222. package/dist/{variableDetector-W4XEN9YC.d.ts → variableDetector-sBkgVh3f.d.ts} +1 -1
  223. package/package.json +3 -3
  224. package/dist/chunk-2D3UPAMA.mjs +0 -1
  225. package/dist/chunk-2RCMY2GE.mjs +0 -1
  226. package/dist/chunk-3GNIP6IX.mjs +0 -4
  227. package/dist/chunk-44RUAQA2.js +0 -1
  228. package/dist/chunk-5N5DBQJV.mjs +0 -1
  229. package/dist/chunk-5TNMVXDS.mjs +0 -1
  230. package/dist/chunk-6DK4UBGM.js +0 -1
  231. package/dist/chunk-6LOYA7G5.mjs +0 -2
  232. package/dist/chunk-7VCMJCBY.js +0 -2
  233. package/dist/chunk-APFTVA4F.mjs +0 -1
  234. package/dist/chunk-BKHQA6JJ.js +0 -1
  235. package/dist/chunk-BOYVCOLZ.mjs +0 -1
  236. package/dist/chunk-BS35CXMN.js +0 -1
  237. package/dist/chunk-BTOBVF4I.mjs +0 -1
  238. package/dist/chunk-C6GSFUV2.js +0 -2
  239. package/dist/chunk-CP5OSG5Z.mjs +0 -1
  240. package/dist/chunk-CP767TWV.js +0 -1
  241. package/dist/chunk-DV6IEOP5.js +0 -4
  242. package/dist/chunk-IBNUQL57.mjs +0 -2
  243. package/dist/chunk-KBU6QQFU.js +0 -9
  244. package/dist/chunk-LDKESXXK.mjs +0 -3
  245. package/dist/chunk-LTYW3NLX.js +0 -59
  246. package/dist/chunk-NERY274X.js +0 -1
  247. package/dist/chunk-NMSU4MWP.mjs +0 -1
  248. package/dist/chunk-NNQWQOC5.mjs +0 -1
  249. package/dist/chunk-OLKDLRJ4.js +0 -1
  250. package/dist/chunk-P3AXSRLG.mjs +0 -1
  251. package/dist/chunk-P6RNOYAG.mjs +0 -2
  252. package/dist/chunk-R7RR6M4A.mjs +0 -2
  253. package/dist/chunk-RCS6UNIJ.mjs +0 -1
  254. package/dist/chunk-T5RYEG2V.js +0 -1
  255. package/dist/chunk-TRJWRZZD.js +0 -1
  256. package/dist/chunk-TYYOBPNK.js +0 -1
  257. package/dist/chunk-UCZVMHB5.mjs +0 -59
  258. package/dist/chunk-V435QKZB.js +0 -3
  259. package/dist/chunk-VQ2QGHYS.js +0 -2
  260. package/dist/chunk-WZP6ZHBR.js +0 -1
  261. package/dist/chunk-XDH55WXX.mjs +0 -1
  262. package/dist/chunk-Y5HZAMND.mjs +0 -9
  263. package/dist/chunk-YE357WVA.js +0 -1
  264. package/dist/chunk-YGHHSCPR.js +0 -2
  265. package/dist/lists-CdiIk_c1.d.ts +0 -142
  266. package/dist/lists-JDB80qyP.d.mts +0 -142
@@ -17,25 +17,24 @@ export { fromProseDoc, updateDocumentContent } from './conversion/fromProseDoc.m
17
17
  export { ResolvedParagraphStyle, StyleResolver, createStyleResolver } from './styles/index.mjs';
18
18
  import { EditorState } from 'prosemirror-state';
19
19
  export { TextSelection } from 'prosemirror-state';
20
- import { T as TextFormatting, P as ParagraphFormatting } from '../formatting-D9I-lFS4.mjs';
20
+ import { T as TextFormatting, P as ParagraphFormatting } from '../formatting-BH4hcZiq.mjs';
21
21
  export { SelectionChangeCallback, SelectionContext, createSelectionTrackerPlugin, extractSelectionContext, getSelectionContext, selectionTrackerKey } from './plugins/selectionTracker.mjs';
22
22
  export { clearFontFamily, clearFontSize, clearFormatting, clearHighlight, clearTextColor, findHyperlinkRangeAt, getHyperlinkAttrs, getMarkAttr, getSelectedText, insertHyperlink, isHyperlinkActive, isMarkActive, removeHyperlink, setFontFamily, setFontSize, setHighlight, setHyperlink, setTextColor, toggleBold, toggleItalic, toggleStrike, toggleSubscript, toggleSuperscript, toggleUnderline } from './commands/formatting.mjs';
23
23
  export { addTabStop, alignCenter, alignJustify, alignLeft, alignRight, applyStyle, clearStyle, decreaseIndent, decreaseListLevel, generateTOC, getListInfo, getParagraphAlignment, getParagraphBidi, getStyleId, increaseIndent, increaseListLevel, isInList, removeList, removeTabStop, setAlignment, setIndentFirstLine, setIndentLeft, setIndentRight, setLineSpacing, setLtr, setRtl, toggleBulletList, toggleNumberedList } from './commands/paragraph.mjs';
24
24
  export { a as addColumnLeft, b as addColumnRight, c as addRowAbove, d as addRowBelow, e as applyTableStyle, f as autoFitContents, g as deleteColumn, h as deleteRow, i as deleteTable, j as distributeColumns, k as insertTable, m as mergeCells, r as removeTableBorders, s as selectColumn, l as selectRow, n as selectTable, o as setAllTableBorders, p as setCellBorder, q as setCellFillColor, t as setCellMargins, u as setCellTextDirection, v as setCellVerticalAlign, w as setInsideTableBorders, x as setOutsideTableBorders, y as setRowHeight, z as setTableBorderColor, A as setTableBorderWidth, B as setTableBorders, C as setTableProperties, D as splitCell, E as toggleHeaderRow, F as toggleNoWrap } from '../table-_t_W8oQf.mjs';
25
25
  export { insertPageBreak } from './commands/pageBreak.mjs';
26
- export { I as ImageAttrs, P as ParagraphAttrs } from '../nodes-BXi1Uu3e.mjs';
26
+ export { I as ImageAttrs, P as ParagraphAttrs } from '../nodes-7753Bgi_.mjs';
27
27
  export { f as findParagraphByParaId, a as findStartPosForParaId } from '../findParagraphByParaId-Maw_8M5D.mjs';
28
28
  export { LayoutSelectionGate } from './utils/LayoutSelectionGate.mjs';
29
29
  export { B as BorderPreset, T as TableContextInfo, g as getTableContext, i as isInTable } from '../borders-BH_GoYU3.mjs';
30
- export { F as FontFamilyAttrs, a as FontSizeAttrs, H as HyperlinkAttrs, T as TextColorAttrs, U as UnderlineAttrs } from '../marks-CCPVlQzL.mjs';
30
+ export { F as FontFamilyAttrs, a as FontSizeAttrs, H as HyperlinkAttrs, T as TextColorAttrs, U as UnderlineAttrs } from '../marks-BY573yZn.mjs';
31
31
  import 'prosemirror-model';
32
32
  import '../types-RchZmPFN.mjs';
33
33
  import '../types/document.mjs';
34
34
  import '../colors-C3vA7HUU.mjs';
35
- import '../lists-JDB80qyP.mjs';
36
- import '../types/content.mjs';
35
+ import '../content-5Mrz6w_b.mjs';
37
36
  import '../docx/wrapTypes.mjs';
38
- import '../styles-BBoqh07F.mjs';
37
+ import '../styles-EI2lxeEN.mjs';
39
38
 
40
39
  /**
41
40
  * Selection State Utilities
@@ -17,25 +17,24 @@ export { fromProseDoc, updateDocumentContent } from './conversion/fromProseDoc.j
17
17
  export { ResolvedParagraphStyle, StyleResolver, createStyleResolver } from './styles/index.js';
18
18
  import { EditorState } from 'prosemirror-state';
19
19
  export { TextSelection } from 'prosemirror-state';
20
- import { T as TextFormatting, P as ParagraphFormatting } from '../formatting-BwpZWdGi.js';
20
+ import { T as TextFormatting, P as ParagraphFormatting } from '../formatting-_OXU8gLB.js';
21
21
  export { SelectionChangeCallback, SelectionContext, createSelectionTrackerPlugin, extractSelectionContext, getSelectionContext, selectionTrackerKey } from './plugins/selectionTracker.js';
22
22
  export { clearFontFamily, clearFontSize, clearFormatting, clearHighlight, clearTextColor, findHyperlinkRangeAt, getHyperlinkAttrs, getMarkAttr, getSelectedText, insertHyperlink, isHyperlinkActive, isMarkActive, removeHyperlink, setFontFamily, setFontSize, setHighlight, setHyperlink, setTextColor, toggleBold, toggleItalic, toggleStrike, toggleSubscript, toggleSuperscript, toggleUnderline } from './commands/formatting.js';
23
23
  export { addTabStop, alignCenter, alignJustify, alignLeft, alignRight, applyStyle, clearStyle, decreaseIndent, decreaseListLevel, generateTOC, getListInfo, getParagraphAlignment, getParagraphBidi, getStyleId, increaseIndent, increaseListLevel, isInList, removeList, removeTabStop, setAlignment, setIndentFirstLine, setIndentLeft, setIndentRight, setLineSpacing, setLtr, setRtl, toggleBulletList, toggleNumberedList } from './commands/paragraph.js';
24
24
  export { a as addColumnLeft, b as addColumnRight, c as addRowAbove, d as addRowBelow, e as applyTableStyle, f as autoFitContents, g as deleteColumn, h as deleteRow, i as deleteTable, j as distributeColumns, k as insertTable, m as mergeCells, r as removeTableBorders, s as selectColumn, l as selectRow, n as selectTable, o as setAllTableBorders, p as setCellBorder, q as setCellFillColor, t as setCellMargins, u as setCellTextDirection, v as setCellVerticalAlign, w as setInsideTableBorders, x as setOutsideTableBorders, y as setRowHeight, z as setTableBorderColor, A as setTableBorderWidth, B as setTableBorders, C as setTableProperties, D as splitCell, E as toggleHeaderRow, F as toggleNoWrap } from '../table-P8esKWAc.js';
25
25
  export { insertPageBreak } from './commands/pageBreak.js';
26
- export { I as ImageAttrs, P as ParagraphAttrs } from '../nodes-DfKj9kUA.js';
26
+ export { I as ImageAttrs, P as ParagraphAttrs } from '../nodes-CC_nwkT_.js';
27
27
  export { f as findParagraphByParaId, a as findStartPosForParaId } from '../findParagraphByParaId-Maw_8M5D.js';
28
28
  export { LayoutSelectionGate } from './utils/LayoutSelectionGate.js';
29
29
  export { B as BorderPreset, T as TableContextInfo, g as getTableContext, i as isInTable } from '../borders-Z9hPno2u.js';
30
- export { F as FontFamilyAttrs, a as FontSizeAttrs, H as HyperlinkAttrs, T as TextColorAttrs, U as UnderlineAttrs } from '../marks-BujVxYP4.js';
30
+ export { F as FontFamilyAttrs, a as FontSizeAttrs, H as HyperlinkAttrs, T as TextColorAttrs, U as UnderlineAttrs } from '../marks-CjC9tF5k.js';
31
31
  import 'prosemirror-model';
32
32
  import '../types-RchZmPFN.js';
33
33
  import '../types/document.js';
34
34
  import '../colors-C3vA7HUU.js';
35
- import '../lists-CdiIk_c1.js';
36
- import '../types/content.js';
35
+ import '../content-CmqAwdFL.js';
37
36
  import '../docx/wrapTypes.js';
38
- import '../styles-jqO45PSq.js';
37
+ import '../styles-BBv7doYK.js';
39
38
 
40
39
  /**
41
40
  * Selection State Utilities
@@ -1 +1 @@
1
- 'use strict';require('../chunk-TRJWRZZD.js');var chunk4GER4JLW_js=require('../chunk-4GER4JLW.js'),chunkI6PMX4BO_js=require('../chunk-I6PMX4BO.js');require('../chunk-UQ6WNWXX.js');var chunkYE357WVA_js=require('../chunk-YE357WVA.js'),chunkWZP6ZHBR_js=require('../chunk-WZP6ZHBR.js');require('../chunk-D4RPOJC7.js');var chunkIP2VXNWG_js=require('../chunk-IP2VXNWG.js');require('../chunk-JFZIXFRC.js'),require('../chunk-MZOVDLYL.js'),require('../chunk-YGHHSCPR.js'),require('../chunk-7VCMJCBY.js');var chunk6DK4UBGM_js=require('../chunk-6DK4UBGM.js'),chunk7SGC3CXJ_js=require('../chunk-7SGC3CXJ.js'),chunkXCMA7AY7_js=require('../chunk-XCMA7AY7.js'),chunkGGPKPXON_js=require('../chunk-GGPKPXON.js');require('../chunk-2KHWHVTA.js');var chunkOLKDLRJ4_js=require('../chunk-OLKDLRJ4.js'),chunkVQ2QGHYS_js=require('../chunk-VQ2QGHYS.js');require('../chunk-BHBOAP6Z.js'),require('../chunk-MZ7LW5CH.js'),require('../chunk-N3Y5BUKV.js');var chunk6LVPRTB6_js=require('../chunk-6LVPRTB6.js'),chunkNERY274X_js=require('../chunk-NERY274X.js');require('../chunk-MJ5FQX7Q.js'),require('../chunk-C2BAPYGJ.js'),require('../chunk-Q4CKLXWA.js'),require('../chunk-4Q2IP5FW.js'),require('../chunk-DC7S76ZX.js');var prosemirrorState=require('prosemirror-state');function fe(i){let{selection:l,doc:s}=i,{from:g,to:h,empty:u}=l,b=s.resolve(g),o=0,n=0;s.forEach((a,m,f)=>{m<=g&&(o=f),m<=h&&(n=f);});let e={},t=b.parent,S=t.type.name==="paragraph"&&t.textContent.length===0,c=t.attrs?.defaultTextFormatting,p=i.storedMarks||l.$from.marks();S&&p.length===0&&c&&(e={...c});for(let a of p)switch(a.type.name){case "bold":e.bold=true;break;case "italic":e.italic=true;break;case "underline":e.underline={style:a.attrs.style||"single",color:a.attrs.color};break;case "strike":a.attrs.double?e.doubleStrike=true:e.strike=true;break;case "textColor":e.color={rgb:a.attrs.rgb,themeColor:a.attrs.themeColor};break;case "highlight":e.highlight=a.attrs.color;break;case "fontSize":e.fontSize=a.attrs.size;break;case "fontFamily":e.fontFamily={ascii:a.attrs.ascii,hAnsi:a.attrs.hAnsi};break;case "superscript":e.vertAlign="superscript";break;case "subscript":e.vertAlign="subscript";break}let r={},d=null;return t.type.name==="paragraph"&&(t.attrs.alignment&&(r.alignment=t.attrs.alignment),t.attrs.lineSpacing&&(r.lineSpacing=t.attrs.lineSpacing,r.lineSpacingRule=t.attrs.lineSpacingRule),t.attrs.numPr&&(r.numPr=t.attrs.numPr),t.attrs.indentLeft&&(r.indentLeft=t.attrs.indentLeft),t.attrs.indentRight&&(r.indentRight=t.attrs.indentRight),t.attrs.indentFirstLine&&(r.indentFirstLine=t.attrs.indentFirstLine),t.attrs.hangingIndent&&(r.hangingIndent=t.attrs.hangingIndent),t.attrs.tabs&&(r.tabs=t.attrs.tabs),t.attrs.bidi&&(r.bidi=true),t.attrs.styleId&&(d=t.attrs.styleId)),{hasSelection:!u,isMultiParagraph:o!==n,textFormatting:e,paragraphFormatting:r,styleId:d,startParagraphIndex:o,endParagraphIndex:n}}Object.defineProperty(exports,"LayoutSelectionGate",{enumerable:true,get:function(){return chunk4GER4JLW_js.a}});Object.defineProperty(exports,"findParagraphByParaId",{enumerable:true,get:function(){return chunkI6PMX4BO_js.b}});Object.defineProperty(exports,"findStartPosForParaId",{enumerable:true,get:function(){return chunkI6PMX4BO_js.a}});Object.defineProperty(exports,"fromProseDoc",{enumerable:true,get:function(){return chunkYE357WVA_js.a}});Object.defineProperty(exports,"updateDocumentContent",{enumerable:true,get:function(){return chunkYE357WVA_js.b}});Object.defineProperty(exports,"createEmptyDoc",{enumerable:true,get:function(){return chunkWZP6ZHBR_js.d}});Object.defineProperty(exports,"footnoteToProseDoc",{enumerable:true,get:function(){return chunkWZP6ZHBR_js.c}});Object.defineProperty(exports,"headerFooterToProseDoc",{enumerable:true,get:function(){return chunkWZP6ZHBR_js.b}});Object.defineProperty(exports,"toProseDoc",{enumerable:true,get:function(){return chunkWZP6ZHBR_js.a}});Object.defineProperty(exports,"StyleResolver",{enumerable:true,get:function(){return chunkIP2VXNWG_js.a}});Object.defineProperty(exports,"createStyleResolver",{enumerable:true,get:function(){return chunkIP2VXNWG_js.b}});Object.defineProperty(exports,"addColumnLeft",{enumerable:true,get:function(){return chunk6DK4UBGM_js.g}});Object.defineProperty(exports,"addColumnRight",{enumerable:true,get:function(){return chunk6DK4UBGM_js.h}});Object.defineProperty(exports,"addRowAbove",{enumerable:true,get:function(){return chunk6DK4UBGM_js.d}});Object.defineProperty(exports,"addRowBelow",{enumerable:true,get:function(){return chunk6DK4UBGM_js.e}});Object.defineProperty(exports,"applyTableStyle",{enumerable:true,get:function(){return chunk6DK4UBGM_js.E}});Object.defineProperty(exports,"autoFitContents",{enumerable:true,get:function(){return chunk6DK4UBGM_js.C}});Object.defineProperty(exports,"deleteColumn",{enumerable:true,get:function(){return chunk6DK4UBGM_js.i}});Object.defineProperty(exports,"deleteRow",{enumerable:true,get:function(){return chunk6DK4UBGM_js.f}});Object.defineProperty(exports,"deleteTable",{enumerable:true,get:function(){return chunk6DK4UBGM_js.j}});Object.defineProperty(exports,"distributeColumns",{enumerable:true,get:function(){return chunk6DK4UBGM_js.B}});Object.defineProperty(exports,"insertTable",{enumerable:true,get:function(){return chunk6DK4UBGM_js.c}});Object.defineProperty(exports,"mergeCells",{enumerable:true,get:function(){return chunk6DK4UBGM_js.n}});Object.defineProperty(exports,"removeTableBorders",{enumerable:true,get:function(){return chunk6DK4UBGM_js.r}});Object.defineProperty(exports,"selectColumn",{enumerable:true,get:function(){return chunk6DK4UBGM_js.m}});Object.defineProperty(exports,"selectRow",{enumerable:true,get:function(){return chunk6DK4UBGM_js.l}});Object.defineProperty(exports,"selectTable",{enumerable:true,get:function(){return chunk6DK4UBGM_js.k}});Object.defineProperty(exports,"setAllTableBorders",{enumerable:true,get:function(){return chunk6DK4UBGM_js.s}});Object.defineProperty(exports,"setCellBorder",{enumerable:true,get:function(){return chunk6DK4UBGM_js.p}});Object.defineProperty(exports,"setCellFillColor",{enumerable:true,get:function(){return chunk6DK4UBGM_js.F}});Object.defineProperty(exports,"setCellMargins",{enumerable:true,get:function(){return chunk6DK4UBGM_js.w}});Object.defineProperty(exports,"setCellTextDirection",{enumerable:true,get:function(){return chunk6DK4UBGM_js.x}});Object.defineProperty(exports,"setCellVerticalAlign",{enumerable:true,get:function(){return chunk6DK4UBGM_js.v}});Object.defineProperty(exports,"setInsideTableBorders",{enumerable:true,get:function(){return chunk6DK4UBGM_js.u}});Object.defineProperty(exports,"setOutsideTableBorders",{enumerable:true,get:function(){return chunk6DK4UBGM_js.t}});Object.defineProperty(exports,"setRowHeight",{enumerable:true,get:function(){return chunk6DK4UBGM_js.z}});Object.defineProperty(exports,"setTableBorderColor",{enumerable:true,get:function(){return chunk6DK4UBGM_js.G}});Object.defineProperty(exports,"setTableBorderWidth",{enumerable:true,get:function(){return chunk6DK4UBGM_js.H}});Object.defineProperty(exports,"setTableBorders",{enumerable:true,get:function(){return chunk6DK4UBGM_js.q}});Object.defineProperty(exports,"setTableProperties",{enumerable:true,get:function(){return chunk6DK4UBGM_js.D}});Object.defineProperty(exports,"splitCell",{enumerable:true,get:function(){return chunk6DK4UBGM_js.o}});Object.defineProperty(exports,"toggleHeaderRow",{enumerable:true,get:function(){return chunk6DK4UBGM_js.A}});Object.defineProperty(exports,"toggleNoWrap",{enumerable:true,get:function(){return chunk6DK4UBGM_js.y}});Object.defineProperty(exports,"addTabStop",{enumerable:true,get:function(){return chunk7SGC3CXJ_js.z}});Object.defineProperty(exports,"alignCenter",{enumerable:true,get:function(){return chunk7SGC3CXJ_js.c}});Object.defineProperty(exports,"alignJustify",{enumerable:true,get:function(){return chunk7SGC3CXJ_js.e}});Object.defineProperty(exports,"alignLeft",{enumerable:true,get:function(){return chunk7SGC3CXJ_js.b}});Object.defineProperty(exports,"alignRight",{enumerable:true,get:function(){return chunk7SGC3CXJ_js.d}});Object.defineProperty(exports,"applyStyle",{enumerable:true,get:function(){return chunk7SGC3CXJ_js.v}});Object.defineProperty(exports,"clearStyle",{enumerable:true,get:function(){return chunk7SGC3CXJ_js.w}});Object.defineProperty(exports,"decreaseIndent",{enumerable:true,get:function(){return chunk7SGC3CXJ_js.k}});Object.defineProperty(exports,"decreaseListLevel",{enumerable:true,get:function(){return chunk7SGC3CXJ_js.r}});Object.defineProperty(exports,"generateTOC",{enumerable:true,get:function(){return chunk7SGC3CXJ_js.D}});Object.defineProperty(exports,"increaseIndent",{enumerable:true,get:function(){return chunk7SGC3CXJ_js.j}});Object.defineProperty(exports,"increaseListLevel",{enumerable:true,get:function(){return chunk7SGC3CXJ_js.q}});Object.defineProperty(exports,"removeList",{enumerable:true,get:function(){return chunk7SGC3CXJ_js.s}});Object.defineProperty(exports,"removeTabStop",{enumerable:true,get:function(){return chunk7SGC3CXJ_js.A}});Object.defineProperty(exports,"setAlignment",{enumerable:true,get:function(){return chunk7SGC3CXJ_js.a}});Object.defineProperty(exports,"setIndentFirstLine",{enumerable:true,get:function(){return chunk7SGC3CXJ_js.n}});Object.defineProperty(exports,"setIndentLeft",{enumerable:true,get:function(){return chunk7SGC3CXJ_js.l}});Object.defineProperty(exports,"setIndentRight",{enumerable:true,get:function(){return chunk7SGC3CXJ_js.m}});Object.defineProperty(exports,"setLineSpacing",{enumerable:true,get:function(){return chunk7SGC3CXJ_js.f}});Object.defineProperty(exports,"setLtr",{enumerable:true,get:function(){return chunk7SGC3CXJ_js.C}});Object.defineProperty(exports,"setRtl",{enumerable:true,get:function(){return chunk7SGC3CXJ_js.B}});Object.defineProperty(exports,"toggleBulletList",{enumerable:true,get:function(){return chunk7SGC3CXJ_js.o}});Object.defineProperty(exports,"toggleNumberedList",{enumerable:true,get:function(){return chunk7SGC3CXJ_js.p}});Object.defineProperty(exports,"clearFontFamily",{enumerable:true,get:function(){return chunkXCMA7AY7_js.o}});Object.defineProperty(exports,"clearFontSize",{enumerable:true,get:function(){return chunkXCMA7AY7_js.m}});Object.defineProperty(exports,"clearHighlight",{enumerable:true,get:function(){return chunkXCMA7AY7_js.k}});Object.defineProperty(exports,"clearTextColor",{enumerable:true,get:function(){return chunkXCMA7AY7_js.i}});Object.defineProperty(exports,"insertHyperlink",{enumerable:true,get:function(){return chunkXCMA7AY7_js.s}});Object.defineProperty(exports,"removeHyperlink",{enumerable:true,get:function(){return chunkXCMA7AY7_js.r}});Object.defineProperty(exports,"setFontFamily",{enumerable:true,get:function(){return chunkXCMA7AY7_js.n}});Object.defineProperty(exports,"setFontSize",{enumerable:true,get:function(){return chunkXCMA7AY7_js.l}});Object.defineProperty(exports,"setHighlight",{enumerable:true,get:function(){return chunkXCMA7AY7_js.j}});Object.defineProperty(exports,"setHyperlink",{enumerable:true,get:function(){return chunkXCMA7AY7_js.q}});Object.defineProperty(exports,"setTextColor",{enumerable:true,get:function(){return chunkXCMA7AY7_js.h}});Object.defineProperty(exports,"toggleBold",{enumerable:true,get:function(){return chunkXCMA7AY7_js.b}});Object.defineProperty(exports,"toggleItalic",{enumerable:true,get:function(){return chunkXCMA7AY7_js.c}});Object.defineProperty(exports,"toggleStrike",{enumerable:true,get:function(){return chunkXCMA7AY7_js.e}});Object.defineProperty(exports,"toggleSubscript",{enumerable:true,get:function(){return chunkXCMA7AY7_js.g}});Object.defineProperty(exports,"toggleSuperscript",{enumerable:true,get:function(){return chunkXCMA7AY7_js.f}});Object.defineProperty(exports,"toggleUnderline",{enumerable:true,get:function(){return chunkXCMA7AY7_js.d}});Object.defineProperty(exports,"insertPageBreak",{enumerable:true,get:function(){return chunkGGPKPXON_js.a}});Object.defineProperty(exports,"schema",{enumerable:true,get:function(){return chunkOLKDLRJ4_js.b}});Object.defineProperty(exports,"clearFormatting",{enumerable:true,get:function(){return chunkVQ2QGHYS_js.h}});Object.defineProperty(exports,"findHyperlinkRangeAt",{enumerable:true,get:function(){return chunkVQ2QGHYS_js.n}});Object.defineProperty(exports,"getHyperlinkAttrs",{enumerable:true,get:function(){return chunkVQ2QGHYS_js.l}});Object.defineProperty(exports,"getListInfo",{enumerable:true,get:function(){return chunkVQ2QGHYS_js.p}});Object.defineProperty(exports,"getMarkAttr",{enumerable:true,get:function(){return chunkVQ2QGHYS_js.f}});Object.defineProperty(exports,"getParagraphAlignment",{enumerable:true,get:function(){return chunkVQ2QGHYS_js.a}});Object.defineProperty(exports,"getParagraphBidi",{enumerable:true,get:function(){return chunkVQ2QGHYS_js.d}});Object.defineProperty(exports,"getSelectedText",{enumerable:true,get:function(){return chunkVQ2QGHYS_js.m}});Object.defineProperty(exports,"getStyleId",{enumerable:true,get:function(){return chunkVQ2QGHYS_js.c}});Object.defineProperty(exports,"isHyperlinkActive",{enumerable:true,get:function(){return chunkVQ2QGHYS_js.k}});Object.defineProperty(exports,"isInList",{enumerable:true,get:function(){return chunkVQ2QGHYS_js.o}});Object.defineProperty(exports,"isMarkActive",{enumerable:true,get:function(){return chunkVQ2QGHYS_js.e}});Object.defineProperty(exports,"createSelectionTrackerPlugin",{enumerable:true,get:function(){return chunk6LVPRTB6_js.c}});Object.defineProperty(exports,"extractSelectionContext",{enumerable:true,get:function(){return chunk6LVPRTB6_js.b}});Object.defineProperty(exports,"getSelectionContext",{enumerable:true,get:function(){return chunk6LVPRTB6_js.d}});Object.defineProperty(exports,"selectionTrackerKey",{enumerable:true,get:function(){return chunk6LVPRTB6_js.a}});Object.defineProperty(exports,"getTableContext",{enumerable:true,get:function(){return chunkNERY274X_js.e}});Object.defineProperty(exports,"isInTable",{enumerable:true,get:function(){return chunkNERY274X_js.f}});Object.defineProperty(exports,"TextSelection",{enumerable:true,get:function(){return prosemirrorState.TextSelection}});exports.extractSelectionState=fe;
1
+ 'use strict';require('../chunk-U74VPTIU.js');var chunk4GER4JLW_js=require('../chunk-4GER4JLW.js'),chunkI6PMX4BO_js=require('../chunk-I6PMX4BO.js');require('../chunk-UQ6WNWXX.js');var chunkY3ZQQI4D_js=require('../chunk-Y3ZQQI4D.js'),chunkX6HFDXKB_js=require('../chunk-X6HFDXKB.js');require('../chunk-D4RPOJC7.js');var chunkIP2VXNWG_js=require('../chunk-IP2VXNWG.js');require('../chunk-JFZIXFRC.js'),require('../chunk-MZOVDLYL.js'),require('../chunk-E4JMCA5X.js'),require('../chunk-HQPWFUP5.js'),require('../chunk-DV6GWBUJ.js');var chunkKGDXHUYC_js=require('../chunk-KGDXHUYC.js'),chunkH42RXHT4_js=require('../chunk-H42RXHT4.js'),chunkW7GLQ6DV_js=require('../chunk-W7GLQ6DV.js'),chunkGGPKPXON_js=require('../chunk-GGPKPXON.js');require('../chunk-2KHWHVTA.js'),require('../chunk-73AZQWIE.js');var chunkOAWTQ3IY_js=require('../chunk-OAWTQ3IY.js'),chunkGM4USWKO_js=require('../chunk-GM4USWKO.js');require('../chunk-BHBOAP6Z.js'),require('../chunk-MZ7LW5CH.js'),require('../chunk-N3Y5BUKV.js');var chunkYTDWMXNS_js=require('../chunk-YTDWMXNS.js'),chunk6LVPRTB6_js=require('../chunk-6LVPRTB6.js'),chunkTUIEV7Q7_js=require('../chunk-TUIEV7Q7.js');require('../chunk-7HANRHHL.js'),require('../chunk-MJ5FQX7Q.js'),require('../chunk-C2BAPYGJ.js'),require('../chunk-4Q2IP5FW.js'),require('../chunk-Q4CKLXWA.js'),require('../chunk-DC7S76ZX.js');var prosemirrorState=require('prosemirror-state');function fe(i){let{selection:l,doc:s}=i,{from:g,to:h,empty:u}=l,b=s.resolve(g),o=0,n=0;s.forEach((a,m,f)=>{m<=g&&(o=f),m<=h&&(n=f);});let e={},t=b.parent,S=t.type.name==="paragraph"&&t.textContent.length===0,c=t.attrs?.defaultTextFormatting,p=i.storedMarks||l.$from.marks();S&&p.length===0&&c&&(e={...c});for(let a of p)switch(a.type.name){case "bold":e.bold=true;break;case "italic":e.italic=true;break;case "underline":e.underline={style:a.attrs.style||"single",color:a.attrs.color};break;case "strike":a.attrs.double?e.doubleStrike=true:e.strike=true;break;case "textColor":e.color={rgb:a.attrs.rgb,themeColor:a.attrs.themeColor};break;case "highlight":e.highlight=a.attrs.color;break;case "fontSize":e.fontSize=a.attrs.size;break;case "fontFamily":e.fontFamily={ascii:a.attrs.ascii,hAnsi:a.attrs.hAnsi};break;case "superscript":e.vertAlign="superscript";break;case "subscript":e.vertAlign="subscript";break}let r={},d=null;return t.type.name==="paragraph"&&(t.attrs.alignment&&(r.alignment=t.attrs.alignment),t.attrs.lineSpacing&&(r.lineSpacing=t.attrs.lineSpacing,r.lineSpacingRule=t.attrs.lineSpacingRule),t.attrs.numPr&&(r.numPr=t.attrs.numPr),t.attrs.indentLeft&&(r.indentLeft=t.attrs.indentLeft),t.attrs.indentRight&&(r.indentRight=t.attrs.indentRight),t.attrs.indentFirstLine&&(r.indentFirstLine=t.attrs.indentFirstLine),t.attrs.hangingIndent&&(r.hangingIndent=t.attrs.hangingIndent),t.attrs.tabs&&(r.tabs=t.attrs.tabs),t.attrs.bidi&&(r.bidi=true),t.attrs.styleId&&(d=t.attrs.styleId)),{hasSelection:!u,isMultiParagraph:o!==n,textFormatting:e,paragraphFormatting:r,styleId:d,startParagraphIndex:o,endParagraphIndex:n}}Object.defineProperty(exports,"LayoutSelectionGate",{enumerable:true,get:function(){return chunk4GER4JLW_js.a}});Object.defineProperty(exports,"findParagraphByParaId",{enumerable:true,get:function(){return chunkI6PMX4BO_js.b}});Object.defineProperty(exports,"findStartPosForParaId",{enumerable:true,get:function(){return chunkI6PMX4BO_js.a}});Object.defineProperty(exports,"fromProseDoc",{enumerable:true,get:function(){return chunkY3ZQQI4D_js.a}});Object.defineProperty(exports,"updateDocumentContent",{enumerable:true,get:function(){return chunkY3ZQQI4D_js.b}});Object.defineProperty(exports,"createEmptyDoc",{enumerable:true,get:function(){return chunkX6HFDXKB_js.d}});Object.defineProperty(exports,"footnoteToProseDoc",{enumerable:true,get:function(){return chunkX6HFDXKB_js.c}});Object.defineProperty(exports,"headerFooterToProseDoc",{enumerable:true,get:function(){return chunkX6HFDXKB_js.b}});Object.defineProperty(exports,"toProseDoc",{enumerable:true,get:function(){return chunkX6HFDXKB_js.a}});Object.defineProperty(exports,"StyleResolver",{enumerable:true,get:function(){return chunkIP2VXNWG_js.a}});Object.defineProperty(exports,"createStyleResolver",{enumerable:true,get:function(){return chunkIP2VXNWG_js.b}});Object.defineProperty(exports,"addColumnLeft",{enumerable:true,get:function(){return chunkKGDXHUYC_js.g}});Object.defineProperty(exports,"addColumnRight",{enumerable:true,get:function(){return chunkKGDXHUYC_js.h}});Object.defineProperty(exports,"addRowAbove",{enumerable:true,get:function(){return chunkKGDXHUYC_js.d}});Object.defineProperty(exports,"addRowBelow",{enumerable:true,get:function(){return chunkKGDXHUYC_js.e}});Object.defineProperty(exports,"applyTableStyle",{enumerable:true,get:function(){return chunkKGDXHUYC_js.E}});Object.defineProperty(exports,"autoFitContents",{enumerable:true,get:function(){return chunkKGDXHUYC_js.C}});Object.defineProperty(exports,"deleteColumn",{enumerable:true,get:function(){return chunkKGDXHUYC_js.i}});Object.defineProperty(exports,"deleteRow",{enumerable:true,get:function(){return chunkKGDXHUYC_js.f}});Object.defineProperty(exports,"deleteTable",{enumerable:true,get:function(){return chunkKGDXHUYC_js.j}});Object.defineProperty(exports,"distributeColumns",{enumerable:true,get:function(){return chunkKGDXHUYC_js.B}});Object.defineProperty(exports,"insertTable",{enumerable:true,get:function(){return chunkKGDXHUYC_js.c}});Object.defineProperty(exports,"mergeCells",{enumerable:true,get:function(){return chunkKGDXHUYC_js.n}});Object.defineProperty(exports,"removeTableBorders",{enumerable:true,get:function(){return chunkKGDXHUYC_js.r}});Object.defineProperty(exports,"selectColumn",{enumerable:true,get:function(){return chunkKGDXHUYC_js.m}});Object.defineProperty(exports,"selectRow",{enumerable:true,get:function(){return chunkKGDXHUYC_js.l}});Object.defineProperty(exports,"selectTable",{enumerable:true,get:function(){return chunkKGDXHUYC_js.k}});Object.defineProperty(exports,"setAllTableBorders",{enumerable:true,get:function(){return chunkKGDXHUYC_js.s}});Object.defineProperty(exports,"setCellBorder",{enumerable:true,get:function(){return chunkKGDXHUYC_js.p}});Object.defineProperty(exports,"setCellFillColor",{enumerable:true,get:function(){return chunkKGDXHUYC_js.F}});Object.defineProperty(exports,"setCellMargins",{enumerable:true,get:function(){return chunkKGDXHUYC_js.w}});Object.defineProperty(exports,"setCellTextDirection",{enumerable:true,get:function(){return chunkKGDXHUYC_js.x}});Object.defineProperty(exports,"setCellVerticalAlign",{enumerable:true,get:function(){return chunkKGDXHUYC_js.v}});Object.defineProperty(exports,"setInsideTableBorders",{enumerable:true,get:function(){return chunkKGDXHUYC_js.u}});Object.defineProperty(exports,"setOutsideTableBorders",{enumerable:true,get:function(){return chunkKGDXHUYC_js.t}});Object.defineProperty(exports,"setRowHeight",{enumerable:true,get:function(){return chunkKGDXHUYC_js.z}});Object.defineProperty(exports,"setTableBorderColor",{enumerable:true,get:function(){return chunkKGDXHUYC_js.G}});Object.defineProperty(exports,"setTableBorderWidth",{enumerable:true,get:function(){return chunkKGDXHUYC_js.H}});Object.defineProperty(exports,"setTableBorders",{enumerable:true,get:function(){return chunkKGDXHUYC_js.q}});Object.defineProperty(exports,"setTableProperties",{enumerable:true,get:function(){return chunkKGDXHUYC_js.D}});Object.defineProperty(exports,"splitCell",{enumerable:true,get:function(){return chunkKGDXHUYC_js.o}});Object.defineProperty(exports,"toggleHeaderRow",{enumerable:true,get:function(){return chunkKGDXHUYC_js.A}});Object.defineProperty(exports,"toggleNoWrap",{enumerable:true,get:function(){return chunkKGDXHUYC_js.y}});Object.defineProperty(exports,"addTabStop",{enumerable:true,get:function(){return chunkH42RXHT4_js.z}});Object.defineProperty(exports,"alignCenter",{enumerable:true,get:function(){return chunkH42RXHT4_js.c}});Object.defineProperty(exports,"alignJustify",{enumerable:true,get:function(){return chunkH42RXHT4_js.e}});Object.defineProperty(exports,"alignLeft",{enumerable:true,get:function(){return chunkH42RXHT4_js.b}});Object.defineProperty(exports,"alignRight",{enumerable:true,get:function(){return chunkH42RXHT4_js.d}});Object.defineProperty(exports,"applyStyle",{enumerable:true,get:function(){return chunkH42RXHT4_js.v}});Object.defineProperty(exports,"clearStyle",{enumerable:true,get:function(){return chunkH42RXHT4_js.w}});Object.defineProperty(exports,"decreaseIndent",{enumerable:true,get:function(){return chunkH42RXHT4_js.k}});Object.defineProperty(exports,"decreaseListLevel",{enumerable:true,get:function(){return chunkH42RXHT4_js.r}});Object.defineProperty(exports,"generateTOC",{enumerable:true,get:function(){return chunkH42RXHT4_js.D}});Object.defineProperty(exports,"increaseIndent",{enumerable:true,get:function(){return chunkH42RXHT4_js.j}});Object.defineProperty(exports,"increaseListLevel",{enumerable:true,get:function(){return chunkH42RXHT4_js.q}});Object.defineProperty(exports,"removeList",{enumerable:true,get:function(){return chunkH42RXHT4_js.s}});Object.defineProperty(exports,"removeTabStop",{enumerable:true,get:function(){return chunkH42RXHT4_js.A}});Object.defineProperty(exports,"setAlignment",{enumerable:true,get:function(){return chunkH42RXHT4_js.a}});Object.defineProperty(exports,"setIndentFirstLine",{enumerable:true,get:function(){return chunkH42RXHT4_js.n}});Object.defineProperty(exports,"setIndentLeft",{enumerable:true,get:function(){return chunkH42RXHT4_js.l}});Object.defineProperty(exports,"setIndentRight",{enumerable:true,get:function(){return chunkH42RXHT4_js.m}});Object.defineProperty(exports,"setLineSpacing",{enumerable:true,get:function(){return chunkH42RXHT4_js.f}});Object.defineProperty(exports,"setLtr",{enumerable:true,get:function(){return chunkH42RXHT4_js.C}});Object.defineProperty(exports,"setRtl",{enumerable:true,get:function(){return chunkH42RXHT4_js.B}});Object.defineProperty(exports,"toggleBulletList",{enumerable:true,get:function(){return chunkH42RXHT4_js.o}});Object.defineProperty(exports,"toggleNumberedList",{enumerable:true,get:function(){return chunkH42RXHT4_js.p}});Object.defineProperty(exports,"clearFontFamily",{enumerable:true,get:function(){return chunkW7GLQ6DV_js.o}});Object.defineProperty(exports,"clearFontSize",{enumerable:true,get:function(){return chunkW7GLQ6DV_js.m}});Object.defineProperty(exports,"clearHighlight",{enumerable:true,get:function(){return chunkW7GLQ6DV_js.k}});Object.defineProperty(exports,"clearTextColor",{enumerable:true,get:function(){return chunkW7GLQ6DV_js.i}});Object.defineProperty(exports,"insertHyperlink",{enumerable:true,get:function(){return chunkW7GLQ6DV_js.s}});Object.defineProperty(exports,"removeHyperlink",{enumerable:true,get:function(){return chunkW7GLQ6DV_js.r}});Object.defineProperty(exports,"setFontFamily",{enumerable:true,get:function(){return chunkW7GLQ6DV_js.n}});Object.defineProperty(exports,"setFontSize",{enumerable:true,get:function(){return chunkW7GLQ6DV_js.l}});Object.defineProperty(exports,"setHighlight",{enumerable:true,get:function(){return chunkW7GLQ6DV_js.j}});Object.defineProperty(exports,"setHyperlink",{enumerable:true,get:function(){return chunkW7GLQ6DV_js.q}});Object.defineProperty(exports,"setTextColor",{enumerable:true,get:function(){return chunkW7GLQ6DV_js.h}});Object.defineProperty(exports,"toggleBold",{enumerable:true,get:function(){return chunkW7GLQ6DV_js.b}});Object.defineProperty(exports,"toggleItalic",{enumerable:true,get:function(){return chunkW7GLQ6DV_js.c}});Object.defineProperty(exports,"toggleStrike",{enumerable:true,get:function(){return chunkW7GLQ6DV_js.e}});Object.defineProperty(exports,"toggleSubscript",{enumerable:true,get:function(){return chunkW7GLQ6DV_js.g}});Object.defineProperty(exports,"toggleSuperscript",{enumerable:true,get:function(){return chunkW7GLQ6DV_js.f}});Object.defineProperty(exports,"toggleUnderline",{enumerable:true,get:function(){return chunkW7GLQ6DV_js.d}});Object.defineProperty(exports,"insertPageBreak",{enumerable:true,get:function(){return chunkGGPKPXON_js.a}});Object.defineProperty(exports,"schema",{enumerable:true,get:function(){return chunkOAWTQ3IY_js.b}});Object.defineProperty(exports,"findHyperlinkRangeAt",{enumerable:true,get:function(){return chunkGM4USWKO_js.h}});Object.defineProperty(exports,"getHyperlinkAttrs",{enumerable:true,get:function(){return chunkGM4USWKO_js.f}});Object.defineProperty(exports,"getListInfo",{enumerable:true,get:function(){return chunkGM4USWKO_js.j}});Object.defineProperty(exports,"getParagraphAlignment",{enumerable:true,get:function(){return chunkGM4USWKO_js.a}});Object.defineProperty(exports,"getParagraphBidi",{enumerable:true,get:function(){return chunkGM4USWKO_js.d}});Object.defineProperty(exports,"getSelectedText",{enumerable:true,get:function(){return chunkGM4USWKO_js.g}});Object.defineProperty(exports,"getStyleId",{enumerable:true,get:function(){return chunkGM4USWKO_js.c}});Object.defineProperty(exports,"isHyperlinkActive",{enumerable:true,get:function(){return chunkGM4USWKO_js.e}});Object.defineProperty(exports,"isInList",{enumerable:true,get:function(){return chunkGM4USWKO_js.i}});Object.defineProperty(exports,"clearFormatting",{enumerable:true,get:function(){return chunkYTDWMXNS_js.f}});Object.defineProperty(exports,"getMarkAttr",{enumerable:true,get:function(){return chunkYTDWMXNS_js.d}});Object.defineProperty(exports,"isMarkActive",{enumerable:true,get:function(){return chunkYTDWMXNS_js.c}});Object.defineProperty(exports,"createSelectionTrackerPlugin",{enumerable:true,get:function(){return chunk6LVPRTB6_js.c}});Object.defineProperty(exports,"extractSelectionContext",{enumerable:true,get:function(){return chunk6LVPRTB6_js.b}});Object.defineProperty(exports,"getSelectionContext",{enumerable:true,get:function(){return chunk6LVPRTB6_js.d}});Object.defineProperty(exports,"selectionTrackerKey",{enumerable:true,get:function(){return chunk6LVPRTB6_js.a}});Object.defineProperty(exports,"getTableContext",{enumerable:true,get:function(){return chunkTUIEV7Q7_js.a}});Object.defineProperty(exports,"isInTable",{enumerable:true,get:function(){return chunkTUIEV7Q7_js.b}});Object.defineProperty(exports,"TextSelection",{enumerable:true,get:function(){return prosemirrorState.TextSelection}});exports.extractSelectionState=fe;
@@ -1 +1 @@
1
- import'../chunk-NNQWQOC5.mjs';export{a as LayoutSelectionGate}from'../chunk-Q5QOBZWT.mjs';export{b as findParagraphByParaId,a as findStartPosForParaId}from'../chunk-3SXJPJSV.mjs';import'../chunk-RNOXNNSD.mjs';export{a as fromProseDoc,b as updateDocumentContent}from'../chunk-P3AXSRLG.mjs';export{d as createEmptyDoc,c as footnoteToProseDoc,b as headerFooterToProseDoc,a as toProseDoc}from'../chunk-2RCMY2GE.mjs';import'../chunk-LBKMYD3M.mjs';export{a as StyleResolver,b as createStyleResolver}from'../chunk-NBLJPT54.mjs';import'../chunk-QPFJJPIC.mjs';import'../chunk-ILJUDEZ5.mjs';import'../chunk-IBNUQL57.mjs';import'../chunk-6LOYA7G5.mjs';export{g as addColumnLeft,h as addColumnRight,d as addRowAbove,e as addRowBelow,E as applyTableStyle,C as autoFitContents,i as deleteColumn,f as deleteRow,j as deleteTable,B as distributeColumns,c as insertTable,n as mergeCells,r as removeTableBorders,m as selectColumn,l as selectRow,k as selectTable,s as setAllTableBorders,p as setCellBorder,F as setCellFillColor,w as setCellMargins,x as setCellTextDirection,v as setCellVerticalAlign,u as setInsideTableBorders,t as setOutsideTableBorders,z as setRowHeight,G as setTableBorderColor,H as setTableBorderWidth,q as setTableBorders,D as setTableProperties,o as splitCell,A as toggleHeaderRow,y as toggleNoWrap}from'../chunk-APFTVA4F.mjs';export{z as addTabStop,c as alignCenter,e as alignJustify,b as alignLeft,d as alignRight,v as applyStyle,w as clearStyle,k as decreaseIndent,r as decreaseListLevel,D as generateTOC,j as increaseIndent,q as increaseListLevel,s as removeList,A as removeTabStop,a as setAlignment,n as setIndentFirstLine,l as setIndentLeft,m as setIndentRight,f as setLineSpacing,C as setLtr,B as setRtl,o as toggleBulletList,p as toggleNumberedList}from'../chunk-4S5VOHQK.mjs';export{o as clearFontFamily,m as clearFontSize,k as clearHighlight,i as clearTextColor,s as insertHyperlink,r as removeHyperlink,n as setFontFamily,l as setFontSize,j as setHighlight,q as setHyperlink,h as setTextColor,b as toggleBold,c as toggleItalic,e as toggleStrike,g as toggleSubscript,f as toggleSuperscript,d as toggleUnderline}from'../chunk-XDH55WXX.mjs';export{a as insertPageBreak}from'../chunk-3COGZG7O.mjs';import'../chunk-KQTB5Y7P.mjs';export{b as schema}from'../chunk-NMSU4MWP.mjs';export{h as clearFormatting,n as findHyperlinkRangeAt,l as getHyperlinkAttrs,p as getListInfo,f as getMarkAttr,a as getParagraphAlignment,d as getParagraphBidi,m as getSelectedText,c as getStyleId,k as isHyperlinkActive,o as isInList,e as isMarkActive}from'../chunk-P6RNOYAG.mjs';import'../chunk-MOKKS75W.mjs';import'../chunk-OZMNIX6U.mjs';import'../chunk-AMENZY5F.mjs';export{c as createSelectionTrackerPlugin,b as extractSelectionContext,d as getSelectionContext,a as selectionTrackerKey}from'../chunk-BGY3CB37.mjs';export{e as getTableContext,f as isInTable}from'../chunk-CP5OSG5Z.mjs';import'../chunk-67LVRQIR.mjs';import'../chunk-LE67NTCN.mjs';import'../chunk-VQWZHPWI.mjs';import'../chunk-VW22RZ6C.mjs';import'../chunk-QYUPLKLP.mjs';export{TextSelection}from'prosemirror-state';function fe(i){let{selection:l,doc:s}=i,{from:g,to:h,empty:u}=l,b=s.resolve(g),o=0,n=0;s.forEach((a,m,f)=>{m<=g&&(o=f),m<=h&&(n=f);});let e={},t=b.parent,S=t.type.name==="paragraph"&&t.textContent.length===0,c=t.attrs?.defaultTextFormatting,p=i.storedMarks||l.$from.marks();S&&p.length===0&&c&&(e={...c});for(let a of p)switch(a.type.name){case "bold":e.bold=true;break;case "italic":e.italic=true;break;case "underline":e.underline={style:a.attrs.style||"single",color:a.attrs.color};break;case "strike":a.attrs.double?e.doubleStrike=true:e.strike=true;break;case "textColor":e.color={rgb:a.attrs.rgb,themeColor:a.attrs.themeColor};break;case "highlight":e.highlight=a.attrs.color;break;case "fontSize":e.fontSize=a.attrs.size;break;case "fontFamily":e.fontFamily={ascii:a.attrs.ascii,hAnsi:a.attrs.hAnsi};break;case "superscript":e.vertAlign="superscript";break;case "subscript":e.vertAlign="subscript";break}let r={},d=null;return t.type.name==="paragraph"&&(t.attrs.alignment&&(r.alignment=t.attrs.alignment),t.attrs.lineSpacing&&(r.lineSpacing=t.attrs.lineSpacing,r.lineSpacingRule=t.attrs.lineSpacingRule),t.attrs.numPr&&(r.numPr=t.attrs.numPr),t.attrs.indentLeft&&(r.indentLeft=t.attrs.indentLeft),t.attrs.indentRight&&(r.indentRight=t.attrs.indentRight),t.attrs.indentFirstLine&&(r.indentFirstLine=t.attrs.indentFirstLine),t.attrs.hangingIndent&&(r.hangingIndent=t.attrs.hangingIndent),t.attrs.tabs&&(r.tabs=t.attrs.tabs),t.attrs.bidi&&(r.bidi=true),t.attrs.styleId&&(d=t.attrs.styleId)),{hasSelection:!u,isMultiParagraph:o!==n,textFormatting:e,paragraphFormatting:r,styleId:d,startParagraphIndex:o,endParagraphIndex:n}}export{fe as extractSelectionState};
1
+ import'../chunk-FDEDN2RC.mjs';export{a as LayoutSelectionGate}from'../chunk-Q5QOBZWT.mjs';export{b as findParagraphByParaId,a as findStartPosForParaId}from'../chunk-3SXJPJSV.mjs';import'../chunk-RNOXNNSD.mjs';export{a as fromProseDoc,b as updateDocumentContent}from'../chunk-HMBVSDCH.mjs';export{d as createEmptyDoc,c as footnoteToProseDoc,b as headerFooterToProseDoc,a as toProseDoc}from'../chunk-FEWCI2E5.mjs';import'../chunk-LBKMYD3M.mjs';export{a as StyleResolver,b as createStyleResolver}from'../chunk-NBLJPT54.mjs';import'../chunk-QPFJJPIC.mjs';import'../chunk-ILJUDEZ5.mjs';import'../chunk-6ZXL3EIP.mjs';import'../chunk-OEXVWIHW.mjs';import'../chunk-WLHNIXWC.mjs';export{g as addColumnLeft,h as addColumnRight,d as addRowAbove,e as addRowBelow,E as applyTableStyle,C as autoFitContents,i as deleteColumn,f as deleteRow,j as deleteTable,B as distributeColumns,c as insertTable,n as mergeCells,r as removeTableBorders,m as selectColumn,l as selectRow,k as selectTable,s as setAllTableBorders,p as setCellBorder,F as setCellFillColor,w as setCellMargins,x as setCellTextDirection,v as setCellVerticalAlign,u as setInsideTableBorders,t as setOutsideTableBorders,z as setRowHeight,G as setTableBorderColor,H as setTableBorderWidth,q as setTableBorders,D as setTableProperties,o as splitCell,A as toggleHeaderRow,y as toggleNoWrap}from'../chunk-GFDIPDJ6.mjs';export{z as addTabStop,c as alignCenter,e as alignJustify,b as alignLeft,d as alignRight,v as applyStyle,w as clearStyle,k as decreaseIndent,r as decreaseListLevel,D as generateTOC,j as increaseIndent,q as increaseListLevel,s as removeList,A as removeTabStop,a as setAlignment,n as setIndentFirstLine,l as setIndentLeft,m as setIndentRight,f as setLineSpacing,C as setLtr,B as setRtl,o as toggleBulletList,p as toggleNumberedList}from'../chunk-5CDBSK2R.mjs';export{o as clearFontFamily,m as clearFontSize,k as clearHighlight,i as clearTextColor,s as insertHyperlink,r as removeHyperlink,n as setFontFamily,l as setFontSize,j as setHighlight,q as setHyperlink,h as setTextColor,b as toggleBold,c as toggleItalic,e as toggleStrike,g as toggleSubscript,f as toggleSuperscript,d as toggleUnderline}from'../chunk-OX75Q5ZG.mjs';export{a as insertPageBreak}from'../chunk-3COGZG7O.mjs';import'../chunk-KQTB5Y7P.mjs';import'../chunk-KHF4JU7D.mjs';export{b as schema}from'../chunk-CA2EYL6T.mjs';export{h as findHyperlinkRangeAt,f as getHyperlinkAttrs,j as getListInfo,a as getParagraphAlignment,d as getParagraphBidi,g as getSelectedText,c as getStyleId,e as isHyperlinkActive,i as isInList}from'../chunk-IQG3KLWY.mjs';import'../chunk-MOKKS75W.mjs';import'../chunk-OZMNIX6U.mjs';import'../chunk-AMENZY5F.mjs';export{f as clearFormatting,d as getMarkAttr,c as isMarkActive}from'../chunk-VHUVPHPI.mjs';export{c as createSelectionTrackerPlugin,b as extractSelectionContext,d as getSelectionContext,a as selectionTrackerKey}from'../chunk-BGY3CB37.mjs';export{a as getTableContext,b as isInTable}from'../chunk-ZX26QZJ5.mjs';import'../chunk-MJ6XZFVD.mjs';import'../chunk-67LVRQIR.mjs';import'../chunk-LE67NTCN.mjs';import'../chunk-VW22RZ6C.mjs';import'../chunk-VQWZHPWI.mjs';import'../chunk-QYUPLKLP.mjs';export{TextSelection}from'prosemirror-state';function fe(i){let{selection:l,doc:s}=i,{from:g,to:h,empty:u}=l,b=s.resolve(g),o=0,n=0;s.forEach((a,m,f)=>{m<=g&&(o=f),m<=h&&(n=f);});let e={},t=b.parent,S=t.type.name==="paragraph"&&t.textContent.length===0,c=t.attrs?.defaultTextFormatting,p=i.storedMarks||l.$from.marks();S&&p.length===0&&c&&(e={...c});for(let a of p)switch(a.type.name){case "bold":e.bold=true;break;case "italic":e.italic=true;break;case "underline":e.underline={style:a.attrs.style||"single",color:a.attrs.color};break;case "strike":a.attrs.double?e.doubleStrike=true:e.strike=true;break;case "textColor":e.color={rgb:a.attrs.rgb,themeColor:a.attrs.themeColor};break;case "highlight":e.highlight=a.attrs.color;break;case "fontSize":e.fontSize=a.attrs.size;break;case "fontFamily":e.fontFamily={ascii:a.attrs.ascii,hAnsi:a.attrs.hAnsi};break;case "superscript":e.vertAlign="superscript";break;case "subscript":e.vertAlign="subscript";break}let r={},d=null;return t.type.name==="paragraph"&&(t.attrs.alignment&&(r.alignment=t.attrs.alignment),t.attrs.lineSpacing&&(r.lineSpacing=t.attrs.lineSpacing,r.lineSpacingRule=t.attrs.lineSpacingRule),t.attrs.numPr&&(r.numPr=t.attrs.numPr),t.attrs.indentLeft&&(r.indentLeft=t.attrs.indentLeft),t.attrs.indentRight&&(r.indentRight=t.attrs.indentRight),t.attrs.indentFirstLine&&(r.indentFirstLine=t.attrs.indentFirstLine),t.attrs.hangingIndent&&(r.hangingIndent=t.attrs.hangingIndent),t.attrs.tabs&&(r.tabs=t.attrs.tabs),t.attrs.bidi&&(r.bidi=true),t.attrs.styleId&&(d=t.attrs.styleId)),{hasSelection:!u,isMultiParagraph:o!==n,textFormatting:e,paragraphFormatting:r,styleId:d,startParagraphIndex:o,endParagraphIndex:n}}export{fe as extractSelectionState};
@@ -7,39 +7,56 @@
7
7
  * @public
8
8
  */
9
9
  export { SelectionChangeCallback, SelectionContext, createSelectionTrackerPlugin, extractSelectionContext, getSelectionContext, selectionTrackerKey } from './selectionTracker.mjs';
10
- import { Plugin, EditorState, Transaction, PluginKey } from 'prosemirror-state';
11
- import '../../formatting-D9I-lFS4.mjs';
10
+ import { PluginKey, EditorState, Transaction, Plugin } from 'prosemirror-state';
11
+ import { m as RevisionInfo } from '../../content-5Mrz6w_b.mjs';
12
+ import '../../formatting-BH4hcZiq.mjs';
12
13
  import '../../colors-C3vA7HUU.mjs';
14
+ import '../../docx/wrapTypes.mjs';
13
15
 
14
16
  /**
15
- * Suggestion Mode Plugin
16
- *
17
- * When active, intercepts all text insertions and deletions,
18
- * wrapping them in tracked change marks (insertion/deletion)
19
- * instead of modifying the document directly.
17
+ * Suggestion-mode plugin state + shared meta keys.
20
18
  *
21
- * - Typed text is marked as insertion (green underline)
22
- * - Deleted text is NOT removed it's marked as deletion (red strikethrough)
23
- * - Text already marked as insertion by the current author is deleted normally
24
- * (retracting your own suggestion)
19
+ * Kept in its own module to avoid an import cycle: every handler file needs
20
+ * the plugin key + meta constants but should not transitively pull in the
21
+ * plugin factory.
25
22
  */
26
23
 
27
- declare const suggestionModeKey: PluginKey<SuggestionModeState>;
28
24
  interface SuggestionModeState {
29
25
  active: boolean;
30
26
  author: string;
31
27
  }
28
+ declare const suggestionModeKey: PluginKey<SuggestionModeState>;
29
+
32
30
  /**
33
- * Create the suggestion mode plugin.
34
- * When active, text edits become tracked changes.
31
+ * Suggesting-mode toggle / set / query commands. Each dispatches a meta on
32
+ * the plugin key the plugin's `state.apply` merges it into
33
+ * `SuggestionModeState`. No-ops gracefully when the plugin isn't mounted.
35
34
  */
36
- declare function createSuggestionModePlugin(initialActive?: boolean, author?: string): Plugin;
35
+
37
36
  /**
38
- * Toggle suggestion mode on/off.
37
+ * Toggle suggesting mode on/off. The mounted `createSuggestionModePlugin`
38
+ * is required for the dispatch to have any effect — without it the meta
39
+ * is silently dropped. Returns `false` (no-op) if the plugin is missing.
40
+ *
41
+ * @example
42
+ * ```ts
43
+ * import { toggleSuggestionMode } from '@eigenpal/docx-editor-core/prosemirror/plugins';
44
+ * toggleSuggestionMode(view.state, view.dispatch);
45
+ * ```
39
46
  */
40
47
  declare function toggleSuggestionMode(state: EditorState, dispatch?: (tr: Transaction) => void): boolean;
41
48
  /**
42
- * Set suggestion mode active state and author.
49
+ * Set suggesting mode active state and (optionally) author. Author
50
+ * tracks across every revision minted while the mode is on. The
51
+ * mounted `createSuggestionModePlugin` is required.
52
+ *
53
+ * @example
54
+ * ```ts
55
+ * import { setSuggestionMode } from '@eigenpal/docx-editor-core/prosemirror/plugins';
56
+ * setSuggestionMode(true, view.state, view.dispatch, 'Jane');
57
+ * // ... typed text now wraps in <w:ins> with author="Jane"
58
+ * setSuggestionMode(false, view.state, view.dispatch);
59
+ * ```
43
60
  */
44
61
  declare function setSuggestionMode(active: boolean, state: EditorState, dispatch?: (tr: Transaction) => void, author?: string): boolean;
45
62
  /**
@@ -47,4 +64,91 @@ declare function setSuggestionMode(active: boolean, state: EditorState, dispatch
47
64
  */
48
65
  declare function isSuggestionModeActive(state: EditorState): boolean;
49
66
 
50
- export { createSuggestionModePlugin, isSuggestionModeActive, setSuggestionMode, suggestionModeKey, toggleSuggestionMode };
67
+ /**
68
+ * Suggestion Mode Plugin
69
+ *
70
+ * When active, intercepts all text insertions and deletions, wrapping
71
+ * them in tracked-change marks (insertion/deletion) instead of modifying
72
+ * the document directly.
73
+ *
74
+ * - Typed text is marked as insertion (green underline)
75
+ * - Deleted text is NOT removed — it's marked as deletion (red strikethrough)
76
+ * - Text already marked as insertion by the current author is deleted
77
+ * normally (retracting your own suggestion)
78
+ *
79
+ * The implementation is split across this directory for readability:
80
+ * - `state.ts` — plugin key, meta constants, shared types
81
+ * - `markAttrs.ts` — fresh-attr minting + projection
82
+ * - `adjacency.ts` — coalescing lookups (sibling, cross-block, cellMarker)
83
+ * - `handlers/` — keyboard / input handlers (delete, insert, structural)
84
+ * - `commands.ts` — toggle / set / isActive
85
+ * - this file — `createSuggestionModePlugin` + public re-exports
86
+ */
87
+
88
+ /**
89
+ * Create the suggestion-mode ProseMirror plugin. **Must be mounted on
90
+ * the editor view for `setSuggestionMode` and `toggleSuggestionMode`
91
+ * to do anything** — both adapters (`@eigenpal/docx-editor-react`,
92
+ * `@eigenpal/docx-editor-vue`) auto-mount this inside the `DocxEditor`
93
+ * component, so consumers using the bundled components don't need to
94
+ * register it themselves.
95
+ *
96
+ * When active, typed text gets the `insertion` mark, deleted text gets
97
+ * the `deletion` mark (text stays in the doc; the painter strikes it
98
+ * through), Enter sets `pPrIns` on the originating paragraph, and
99
+ * Backspace at paragraph start sets `pPrDel` on the previous paragraph.
100
+ * Author + adjacent same-author marks coalesce into one tracked change.
101
+ *
102
+ * @param initialActive - Whether suggesting mode starts on. Default `false`.
103
+ * @param author - Author name attached to every minted revision. Default `'User'`.
104
+ *
105
+ * @example
106
+ * ```ts
107
+ * import { createSuggestionModePlugin } from '@eigenpal/docx-editor-core/prosemirror/plugins';
108
+ *
109
+ * const plugin = createSuggestionModePlugin(false, 'Jane');
110
+ * EditorState.create({ doc, plugins: [plugin, ...other] });
111
+ * ```
112
+ */
113
+ declare function createSuggestionModePlugin(initialActive?: boolean, author?: string): Plugin;
114
+
115
+ /**
116
+ * Single source of tracked-revision ids across the package.
117
+ *
118
+ * Why a shared module-level counter:
119
+ *
120
+ * - Each `revisionId` is the OOXML `<w:ins w:id="…"/>` attribute. Two
121
+ * unrelated revisions emitted by the same author with the same id
122
+ * would silently collapse in the sidebar (grouped by id+author+date)
123
+ * and on accept (resolved by id), so collisions are observable.
124
+ * - Pre-refactor, three call sites each kept their own
125
+ * `Date.now() + offset` counter (suggestionMode.ts, table commands
126
+ * delete.ts, table commands insert.ts). Offsets made first-load
127
+ * collisions rare but not impossible — counters drift independently,
128
+ * and parallel-browser Playwright workers can start from identical
129
+ * `Date.now()` seeds.
130
+ *
131
+ * Routing every mint through this module guarantees within-realm
132
+ * uniqueness even when callers interleave across plugins, commands, and
133
+ * test harnesses.
134
+ *
135
+ * Re-exported as `@public` through `prosemirror/plugins/index.ts` so
136
+ * adapter integrations (image insertion, custom commands) can mint
137
+ * revision triples without reaching into the implementation directly.
138
+ *
139
+ * @packageDocumentation
140
+ * @public
141
+ */
142
+
143
+ /**
144
+ * Build a fresh `RevisionInfo` triple from the active suggesting-mode
145
+ * state. Returns `null` when suggesting mode is OFF — callers use this to
146
+ * decide whether to track an edit or apply it directly.
147
+ *
148
+ * Shared by `suggestionMode.ts`'s text/paragraph handlers and by the
149
+ * suggesting-aware table commands (`addRowBelow`, `deleteRow`, ...). One
150
+ * source of truth for both the mint and the author/date fields.
151
+ */
152
+ declare function makeRevisionInfo(state: EditorState): RevisionInfo | null;
153
+
154
+ export { RevisionInfo, createSuggestionModePlugin, isSuggestionModeActive, makeRevisionInfo, setSuggestionMode, suggestionModeKey, toggleSuggestionMode };
@@ -7,39 +7,56 @@
7
7
  * @public
8
8
  */
9
9
  export { SelectionChangeCallback, SelectionContext, createSelectionTrackerPlugin, extractSelectionContext, getSelectionContext, selectionTrackerKey } from './selectionTracker.js';
10
- import { Plugin, EditorState, Transaction, PluginKey } from 'prosemirror-state';
11
- import '../../formatting-BwpZWdGi.js';
10
+ import { PluginKey, EditorState, Transaction, Plugin } from 'prosemirror-state';
11
+ import { m as RevisionInfo } from '../../content-CmqAwdFL.js';
12
+ import '../../formatting-_OXU8gLB.js';
12
13
  import '../../colors-C3vA7HUU.js';
14
+ import '../../docx/wrapTypes.js';
13
15
 
14
16
  /**
15
- * Suggestion Mode Plugin
16
- *
17
- * When active, intercepts all text insertions and deletions,
18
- * wrapping them in tracked change marks (insertion/deletion)
19
- * instead of modifying the document directly.
17
+ * Suggestion-mode plugin state + shared meta keys.
20
18
  *
21
- * - Typed text is marked as insertion (green underline)
22
- * - Deleted text is NOT removed it's marked as deletion (red strikethrough)
23
- * - Text already marked as insertion by the current author is deleted normally
24
- * (retracting your own suggestion)
19
+ * Kept in its own module to avoid an import cycle: every handler file needs
20
+ * the plugin key + meta constants but should not transitively pull in the
21
+ * plugin factory.
25
22
  */
26
23
 
27
- declare const suggestionModeKey: PluginKey<SuggestionModeState>;
28
24
  interface SuggestionModeState {
29
25
  active: boolean;
30
26
  author: string;
31
27
  }
28
+ declare const suggestionModeKey: PluginKey<SuggestionModeState>;
29
+
32
30
  /**
33
- * Create the suggestion mode plugin.
34
- * When active, text edits become tracked changes.
31
+ * Suggesting-mode toggle / set / query commands. Each dispatches a meta on
32
+ * the plugin key the plugin's `state.apply` merges it into
33
+ * `SuggestionModeState`. No-ops gracefully when the plugin isn't mounted.
35
34
  */
36
- declare function createSuggestionModePlugin(initialActive?: boolean, author?: string): Plugin;
35
+
37
36
  /**
38
- * Toggle suggestion mode on/off.
37
+ * Toggle suggesting mode on/off. The mounted `createSuggestionModePlugin`
38
+ * is required for the dispatch to have any effect — without it the meta
39
+ * is silently dropped. Returns `false` (no-op) if the plugin is missing.
40
+ *
41
+ * @example
42
+ * ```ts
43
+ * import { toggleSuggestionMode } from '@eigenpal/docx-editor-core/prosemirror/plugins';
44
+ * toggleSuggestionMode(view.state, view.dispatch);
45
+ * ```
39
46
  */
40
47
  declare function toggleSuggestionMode(state: EditorState, dispatch?: (tr: Transaction) => void): boolean;
41
48
  /**
42
- * Set suggestion mode active state and author.
49
+ * Set suggesting mode active state and (optionally) author. Author
50
+ * tracks across every revision minted while the mode is on. The
51
+ * mounted `createSuggestionModePlugin` is required.
52
+ *
53
+ * @example
54
+ * ```ts
55
+ * import { setSuggestionMode } from '@eigenpal/docx-editor-core/prosemirror/plugins';
56
+ * setSuggestionMode(true, view.state, view.dispatch, 'Jane');
57
+ * // ... typed text now wraps in <w:ins> with author="Jane"
58
+ * setSuggestionMode(false, view.state, view.dispatch);
59
+ * ```
43
60
  */
44
61
  declare function setSuggestionMode(active: boolean, state: EditorState, dispatch?: (tr: Transaction) => void, author?: string): boolean;
45
62
  /**
@@ -47,4 +64,91 @@ declare function setSuggestionMode(active: boolean, state: EditorState, dispatch
47
64
  */
48
65
  declare function isSuggestionModeActive(state: EditorState): boolean;
49
66
 
50
- export { createSuggestionModePlugin, isSuggestionModeActive, setSuggestionMode, suggestionModeKey, toggleSuggestionMode };
67
+ /**
68
+ * Suggestion Mode Plugin
69
+ *
70
+ * When active, intercepts all text insertions and deletions, wrapping
71
+ * them in tracked-change marks (insertion/deletion) instead of modifying
72
+ * the document directly.
73
+ *
74
+ * - Typed text is marked as insertion (green underline)
75
+ * - Deleted text is NOT removed — it's marked as deletion (red strikethrough)
76
+ * - Text already marked as insertion by the current author is deleted
77
+ * normally (retracting your own suggestion)
78
+ *
79
+ * The implementation is split across this directory for readability:
80
+ * - `state.ts` — plugin key, meta constants, shared types
81
+ * - `markAttrs.ts` — fresh-attr minting + projection
82
+ * - `adjacency.ts` — coalescing lookups (sibling, cross-block, cellMarker)
83
+ * - `handlers/` — keyboard / input handlers (delete, insert, structural)
84
+ * - `commands.ts` — toggle / set / isActive
85
+ * - this file — `createSuggestionModePlugin` + public re-exports
86
+ */
87
+
88
+ /**
89
+ * Create the suggestion-mode ProseMirror plugin. **Must be mounted on
90
+ * the editor view for `setSuggestionMode` and `toggleSuggestionMode`
91
+ * to do anything** — both adapters (`@eigenpal/docx-editor-react`,
92
+ * `@eigenpal/docx-editor-vue`) auto-mount this inside the `DocxEditor`
93
+ * component, so consumers using the bundled components don't need to
94
+ * register it themselves.
95
+ *
96
+ * When active, typed text gets the `insertion` mark, deleted text gets
97
+ * the `deletion` mark (text stays in the doc; the painter strikes it
98
+ * through), Enter sets `pPrIns` on the originating paragraph, and
99
+ * Backspace at paragraph start sets `pPrDel` on the previous paragraph.
100
+ * Author + adjacent same-author marks coalesce into one tracked change.
101
+ *
102
+ * @param initialActive - Whether suggesting mode starts on. Default `false`.
103
+ * @param author - Author name attached to every minted revision. Default `'User'`.
104
+ *
105
+ * @example
106
+ * ```ts
107
+ * import { createSuggestionModePlugin } from '@eigenpal/docx-editor-core/prosemirror/plugins';
108
+ *
109
+ * const plugin = createSuggestionModePlugin(false, 'Jane');
110
+ * EditorState.create({ doc, plugins: [plugin, ...other] });
111
+ * ```
112
+ */
113
+ declare function createSuggestionModePlugin(initialActive?: boolean, author?: string): Plugin;
114
+
115
+ /**
116
+ * Single source of tracked-revision ids across the package.
117
+ *
118
+ * Why a shared module-level counter:
119
+ *
120
+ * - Each `revisionId` is the OOXML `<w:ins w:id="…"/>` attribute. Two
121
+ * unrelated revisions emitted by the same author with the same id
122
+ * would silently collapse in the sidebar (grouped by id+author+date)
123
+ * and on accept (resolved by id), so collisions are observable.
124
+ * - Pre-refactor, three call sites each kept their own
125
+ * `Date.now() + offset` counter (suggestionMode.ts, table commands
126
+ * delete.ts, table commands insert.ts). Offsets made first-load
127
+ * collisions rare but not impossible — counters drift independently,
128
+ * and parallel-browser Playwright workers can start from identical
129
+ * `Date.now()` seeds.
130
+ *
131
+ * Routing every mint through this module guarantees within-realm
132
+ * uniqueness even when callers interleave across plugins, commands, and
133
+ * test harnesses.
134
+ *
135
+ * Re-exported as `@public` through `prosemirror/plugins/index.ts` so
136
+ * adapter integrations (image insertion, custom commands) can mint
137
+ * revision triples without reaching into the implementation directly.
138
+ *
139
+ * @packageDocumentation
140
+ * @public
141
+ */
142
+
143
+ /**
144
+ * Build a fresh `RevisionInfo` triple from the active suggesting-mode
145
+ * state. Returns `null` when suggesting mode is OFF — callers use this to
146
+ * decide whether to track an edit or apply it directly.
147
+ *
148
+ * Shared by `suggestionMode.ts`'s text/paragraph handlers and by the
149
+ * suggesting-aware table commands (`addRowBelow`, `deleteRow`, ...). One
150
+ * source of truth for both the mint and the author/date fields.
151
+ */
152
+ declare function makeRevisionInfo(state: EditorState): RevisionInfo | null;
153
+
154
+ export { RevisionInfo, createSuggestionModePlugin, isSuggestionModeActive, makeRevisionInfo, setSuggestionMode, suggestionModeKey, toggleSuggestionMode };
@@ -1 +1 @@
1
- 'use strict';var chunkTRJWRZZD_js=require('../../chunk-TRJWRZZD.js'),chunk6LVPRTB6_js=require('../../chunk-6LVPRTB6.js');require('../../chunk-DC7S76ZX.js');Object.defineProperty(exports,"createSuggestionModePlugin",{enumerable:true,get:function(){return chunkTRJWRZZD_js.b}});Object.defineProperty(exports,"isSuggestionModeActive",{enumerable:true,get:function(){return chunkTRJWRZZD_js.e}});Object.defineProperty(exports,"setSuggestionMode",{enumerable:true,get:function(){return chunkTRJWRZZD_js.d}});Object.defineProperty(exports,"suggestionModeKey",{enumerable:true,get:function(){return chunkTRJWRZZD_js.a}});Object.defineProperty(exports,"toggleSuggestionMode",{enumerable:true,get:function(){return chunkTRJWRZZD_js.c}});Object.defineProperty(exports,"createSelectionTrackerPlugin",{enumerable:true,get:function(){return chunk6LVPRTB6_js.c}});Object.defineProperty(exports,"extractSelectionContext",{enumerable:true,get:function(){return chunk6LVPRTB6_js.b}});Object.defineProperty(exports,"getSelectionContext",{enumerable:true,get:function(){return chunk6LVPRTB6_js.d}});Object.defineProperty(exports,"selectionTrackerKey",{enumerable:true,get:function(){return chunk6LVPRTB6_js.a}});
1
+ 'use strict';require('../../chunk-U74VPTIU.js');var chunk73AZQWIE_js=require('../../chunk-73AZQWIE.js');require('../../chunk-YTDWMXNS.js');var chunk6LVPRTB6_js=require('../../chunk-6LVPRTB6.js'),chunk7HANRHHL_js=require('../../chunk-7HANRHHL.js');require('../../chunk-Q4CKLXWA.js'),require('../../chunk-DC7S76ZX.js');Object.defineProperty(exports,"createSuggestionModePlugin",{enumerable:true,get:function(){return chunk73AZQWIE_js.d}});Object.defineProperty(exports,"isSuggestionModeActive",{enumerable:true,get:function(){return chunk73AZQWIE_js.c}});Object.defineProperty(exports,"setSuggestionMode",{enumerable:true,get:function(){return chunk73AZQWIE_js.b}});Object.defineProperty(exports,"toggleSuggestionMode",{enumerable:true,get:function(){return chunk73AZQWIE_js.a}});Object.defineProperty(exports,"createSelectionTrackerPlugin",{enumerable:true,get:function(){return chunk6LVPRTB6_js.c}});Object.defineProperty(exports,"extractSelectionContext",{enumerable:true,get:function(){return chunk6LVPRTB6_js.b}});Object.defineProperty(exports,"getSelectionContext",{enumerable:true,get:function(){return chunk6LVPRTB6_js.d}});Object.defineProperty(exports,"selectionTrackerKey",{enumerable:true,get:function(){return chunk6LVPRTB6_js.a}});Object.defineProperty(exports,"makeRevisionInfo",{enumerable:true,get:function(){return chunk7HANRHHL_js.i}});Object.defineProperty(exports,"suggestionModeKey",{enumerable:true,get:function(){return chunk7HANRHHL_js.e}});
@@ -1 +1 @@
1
- export{b as createSuggestionModePlugin,e as isSuggestionModeActive,d as setSuggestionMode,a as suggestionModeKey,c as toggleSuggestionMode}from'../../chunk-NNQWQOC5.mjs';export{c as createSelectionTrackerPlugin,b as extractSelectionContext,d as getSelectionContext,a as selectionTrackerKey}from'../../chunk-BGY3CB37.mjs';import'../../chunk-QYUPLKLP.mjs';
1
+ import'../../chunk-FDEDN2RC.mjs';export{d as createSuggestionModePlugin,c as isSuggestionModeActive,b as setSuggestionMode,a as toggleSuggestionMode}from'../../chunk-KHF4JU7D.mjs';import'../../chunk-VHUVPHPI.mjs';export{c as createSelectionTrackerPlugin,b as extractSelectionContext,d as getSelectionContext,a as selectionTrackerKey}from'../../chunk-BGY3CB37.mjs';export{i as makeRevisionInfo,e as suggestionModeKey}from'../../chunk-MJ6XZFVD.mjs';import'../../chunk-VQWZHPWI.mjs';import'../../chunk-QYUPLKLP.mjs';
@@ -10,7 +10,7 @@
10
10
  * @public
11
11
  */
12
12
  import { Plugin, EditorState, PluginKey } from 'prosemirror-state';
13
- import { T as TextFormatting, P as ParagraphFormatting } from '../../formatting-D9I-lFS4.mjs';
13
+ import { T as TextFormatting, P as ParagraphFormatting } from '../../formatting-BH4hcZiq.mjs';
14
14
  import '../../colors-C3vA7HUU.mjs';
15
15
 
16
16
  /**
@@ -10,7 +10,7 @@
10
10
  * @public
11
11
  */
12
12
  import { Plugin, EditorState, PluginKey } from 'prosemirror-state';
13
- import { T as TextFormatting, P as ParagraphFormatting } from '../../formatting-BwpZWdGi.js';
13
+ import { T as TextFormatting, P as ParagraphFormatting } from '../../formatting-_OXU8gLB.js';
14
14
  import '../../colors-C3vA7HUU.js';
15
15
 
16
16
  /**
@@ -9,14 +9,13 @@
9
9
  */
10
10
  import * as prosemirror_model from 'prosemirror-model';
11
11
  import { a as ExtensionManager } from '../../types-RchZmPFN.mjs';
12
- export { I as ImageAttrs, a as ImagePositionAttrs, P as ParagraphAttrs, T as TableAttrs, b as TableCellAttrs, c as TableRowAttrs } from '../../nodes-BXi1Uu3e.mjs';
13
- export { F as FontFamilyAttrs, a as FontSizeAttrs, H as HyperlinkAttrs, T as TextColorAttrs, U as UnderlineAttrs } from '../../marks-CCPVlQzL.mjs';
12
+ export { I as ImageAttrs, a as ImagePositionAttrs, P as ParagraphAttrs, T as TableAttrs, b as TableCellAttrs, c as TableRowAttrs } from '../../nodes-7753Bgi_.mjs';
13
+ export { F as FontFamilyAttrs, a as FontSizeAttrs, H as HyperlinkAttrs, T as TextColorAttrs, U as UnderlineAttrs } from '../../marks-BY573yZn.mjs';
14
14
  import 'prosemirror-state';
15
- import '../../formatting-D9I-lFS4.mjs';
16
15
  import '../../colors-C3vA7HUU.mjs';
17
- import '../../lists-JDB80qyP.mjs';
16
+ import '../../formatting-BH4hcZiq.mjs';
17
+ import '../../content-5Mrz6w_b.mjs';
18
18
  import '../../docx/wrapTypes.mjs';
19
- import '../../types/content.mjs';
20
19
 
21
20
  declare const singletonManager: ExtensionManager;
22
21
  declare const schema: prosemirror_model.Schema<any, any>;
@@ -9,14 +9,13 @@
9
9
  */
10
10
  import * as prosemirror_model from 'prosemirror-model';
11
11
  import { a as ExtensionManager } from '../../types-RchZmPFN.js';
12
- export { I as ImageAttrs, a as ImagePositionAttrs, P as ParagraphAttrs, T as TableAttrs, b as TableCellAttrs, c as TableRowAttrs } from '../../nodes-DfKj9kUA.js';
13
- export { F as FontFamilyAttrs, a as FontSizeAttrs, H as HyperlinkAttrs, T as TextColorAttrs, U as UnderlineAttrs } from '../../marks-BujVxYP4.js';
12
+ export { I as ImageAttrs, a as ImagePositionAttrs, P as ParagraphAttrs, T as TableAttrs, b as TableCellAttrs, c as TableRowAttrs } from '../../nodes-CC_nwkT_.js';
13
+ export { F as FontFamilyAttrs, a as FontSizeAttrs, H as HyperlinkAttrs, T as TextColorAttrs, U as UnderlineAttrs } from '../../marks-CjC9tF5k.js';
14
14
  import 'prosemirror-state';
15
- import '../../formatting-BwpZWdGi.js';
16
15
  import '../../colors-C3vA7HUU.js';
17
- import '../../lists-CdiIk_c1.js';
16
+ import '../../formatting-_OXU8gLB.js';
17
+ import '../../content-CmqAwdFL.js';
18
18
  import '../../docx/wrapTypes.js';
19
- import '../../types/content.js';
20
19
 
21
20
  declare const singletonManager: ExtensionManager;
22
21
  declare const schema: prosemirror_model.Schema<any, any>;
@@ -1 +1 @@
1
- 'use strict';var chunkOLKDLRJ4_js=require('../../chunk-OLKDLRJ4.js');require('../../chunk-VQ2QGHYS.js'),require('../../chunk-BHBOAP6Z.js'),require('../../chunk-MZ7LW5CH.js'),require('../../chunk-N3Y5BUKV.js'),require('../../chunk-6LVPRTB6.js'),require('../../chunk-NERY274X.js'),require('../../chunk-MJ5FQX7Q.js'),require('../../chunk-C2BAPYGJ.js'),require('../../chunk-Q4CKLXWA.js'),require('../../chunk-4Q2IP5FW.js'),require('../../chunk-DC7S76ZX.js');Object.defineProperty(exports,"schema",{enumerable:true,get:function(){return chunkOLKDLRJ4_js.b}});Object.defineProperty(exports,"singletonManager",{enumerable:true,get:function(){return chunkOLKDLRJ4_js.a}});
1
+ 'use strict';var chunkOAWTQ3IY_js=require('../../chunk-OAWTQ3IY.js');require('../../chunk-GM4USWKO.js'),require('../../chunk-BHBOAP6Z.js'),require('../../chunk-MZ7LW5CH.js'),require('../../chunk-N3Y5BUKV.js'),require('../../chunk-YTDWMXNS.js'),require('../../chunk-6LVPRTB6.js'),require('../../chunk-TUIEV7Q7.js'),require('../../chunk-7HANRHHL.js'),require('../../chunk-MJ5FQX7Q.js'),require('../../chunk-C2BAPYGJ.js'),require('../../chunk-4Q2IP5FW.js'),require('../../chunk-Q4CKLXWA.js'),require('../../chunk-DC7S76ZX.js');Object.defineProperty(exports,"schema",{enumerable:true,get:function(){return chunkOAWTQ3IY_js.b}});Object.defineProperty(exports,"singletonManager",{enumerable:true,get:function(){return chunkOAWTQ3IY_js.a}});
@@ -1 +1 @@
1
- export{b as schema,a as singletonManager}from'../../chunk-NMSU4MWP.mjs';import'../../chunk-P6RNOYAG.mjs';import'../../chunk-MOKKS75W.mjs';import'../../chunk-OZMNIX6U.mjs';import'../../chunk-AMENZY5F.mjs';import'../../chunk-BGY3CB37.mjs';import'../../chunk-CP5OSG5Z.mjs';import'../../chunk-67LVRQIR.mjs';import'../../chunk-LE67NTCN.mjs';import'../../chunk-VQWZHPWI.mjs';import'../../chunk-VW22RZ6C.mjs';import'../../chunk-QYUPLKLP.mjs';
1
+ export{b as schema,a as singletonManager}from'../../chunk-CA2EYL6T.mjs';import'../../chunk-IQG3KLWY.mjs';import'../../chunk-MOKKS75W.mjs';import'../../chunk-OZMNIX6U.mjs';import'../../chunk-AMENZY5F.mjs';import'../../chunk-VHUVPHPI.mjs';import'../../chunk-BGY3CB37.mjs';import'../../chunk-ZX26QZJ5.mjs';import'../../chunk-MJ6XZFVD.mjs';import'../../chunk-67LVRQIR.mjs';import'../../chunk-LE67NTCN.mjs';import'../../chunk-VW22RZ6C.mjs';import'../../chunk-VQWZHPWI.mjs';import'../../chunk-QYUPLKLP.mjs';
@@ -3,8 +3,8 @@
3
3
  * @packageDocumentation
4
4
  * @public
5
5
  */
6
- import { P as ParagraphFormatting, T as TextFormatting } from '../../formatting-D9I-lFS4.mjs';
7
- import { a as StyleDefinitions, S as Style, D as DocDefaults } from '../../styles-BBoqh07F.mjs';
6
+ import { P as ParagraphFormatting, T as TextFormatting } from '../../formatting-BH4hcZiq.mjs';
7
+ import { a as StyleDefinitions, S as Style, D as DocDefaults } from '../../styles-EI2lxeEN.mjs';
8
8
  import '../../colors-C3vA7HUU.mjs';
9
9
 
10
10
  /**
@@ -3,8 +3,8 @@
3
3
  * @packageDocumentation
4
4
  * @public
5
5
  */
6
- import { P as ParagraphFormatting, T as TextFormatting } from '../../formatting-BwpZWdGi.js';
7
- import { a as StyleDefinitions, S as Style, D as DocDefaults } from '../../styles-jqO45PSq.js';
6
+ import { P as ParagraphFormatting, T as TextFormatting } from '../../formatting-_OXU8gLB.js';
7
+ import { a as StyleDefinitions, S as Style, D as DocDefaults } from '../../styles-BBv7doYK.js';
8
8
  import '../../colors-C3vA7HUU.js';
9
9
 
10
10
  /**