@eigenpal/docx-editor-core 1.0.3 → 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 (237) hide show
  1. package/LICENSE +13 -16
  2. package/dist/agent/index.d.mts +1 -2
  3. package/dist/agent/index.d.ts +1 -2
  4. package/dist/agent/index.js +1 -1
  5. package/dist/agent/index.mjs +1 -1
  6. package/dist/{chunk-Z4SJCSTS.js → chunk-25KY5HLN.js} +1 -1
  7. package/dist/chunk-44FHVKSI.js +1 -0
  8. package/dist/{chunk-XWQB6APW.mjs → chunk-5CDBSK2R.mjs} +1 -1
  9. package/dist/{chunk-EQVNAHL7.mjs → chunk-6Y6LON6Y.mjs} +1 -1
  10. package/dist/{chunk-QVEAQOMR.mjs → chunk-6ZXL3EIP.mjs} +1 -1
  11. package/dist/chunk-73AZQWIE.js +1 -0
  12. package/dist/chunk-7HANRHHL.js +1 -0
  13. package/dist/chunk-7LRR7RKE.mjs +15 -0
  14. package/dist/{chunk-GHQS3I2W.mjs → chunk-7Z2AGPNQ.mjs} +1 -1
  15. package/dist/chunk-BGE57OES.js +1 -0
  16. package/dist/{chunk-3JXR6YU4.mjs → chunk-BOOHU5EW.mjs} +1 -1
  17. package/dist/chunk-CA2EYL6T.mjs +1 -0
  18. package/dist/{chunk-2IE6UDHJ.mjs → chunk-CTHHUJAB.mjs} +1 -1
  19. package/dist/chunk-DLCDDB66.mjs +3 -0
  20. package/dist/chunk-DV6GWBUJ.js +2 -0
  21. package/dist/{chunk-EPX7BBJD.js → chunk-E4JMCA5X.js} +2 -2
  22. package/dist/chunk-F44ZLDZS.js +4 -0
  23. package/dist/chunk-FDEDN2RC.mjs +0 -0
  24. package/dist/chunk-FEWCI2E5.mjs +1 -0
  25. package/dist/chunk-GFDIPDJ6.mjs +1 -0
  26. package/dist/chunk-GM4USWKO.js +2 -0
  27. package/dist/chunk-GWBVJZVT.js +3 -0
  28. package/dist/chunk-GY5BWVM7.js +1 -0
  29. package/dist/{chunk-XBHF5Q2F.js → chunk-H42RXHT4.js} +1 -1
  30. package/dist/chunk-HMBVSDCH.mjs +1 -0
  31. package/dist/{chunk-D536HC5M.js → chunk-HQPWFUP5.js} +1 -1
  32. package/dist/chunk-HV6HE6YR.js +59 -0
  33. package/dist/chunk-IF4C25FN.mjs +1 -0
  34. package/dist/chunk-IQG3KLWY.mjs +2 -0
  35. package/dist/{chunk-ABBG4WD2.js → chunk-J4J2Y6EU.js} +2 -2
  36. package/dist/chunk-KGDXHUYC.js +1 -0
  37. package/dist/chunk-KHF4JU7D.mjs +1 -0
  38. package/dist/chunk-LCICADWM.js +2 -0
  39. package/dist/{chunk-D5E5TA74.js → chunk-LOCW6MR2.js} +1 -1
  40. package/dist/{chunk-XBIKSAH6.js → chunk-LTHT4A4S.js} +1 -1
  41. package/dist/chunk-MJ6XZFVD.mjs +1 -0
  42. package/dist/chunk-MNOHUTKE.js +15 -0
  43. package/dist/chunk-MP4QSEO2.mjs +1 -0
  44. package/dist/chunk-MZ2XCZAN.mjs +1 -0
  45. package/dist/chunk-OAWTQ3IY.js +1 -0
  46. package/dist/{chunk-HL5PQT3A.mjs → chunk-OEXVWIHW.mjs} +1 -1
  47. package/dist/chunk-ONRBRDIC.mjs +59 -0
  48. package/dist/{chunk-7PX32GLB.mjs → chunk-ONWOHAFW.mjs} +1 -1
  49. package/dist/{chunk-EV6W6KXG.mjs → chunk-OUEKNYX5.mjs} +1 -1
  50. package/dist/chunk-OX75Q5ZG.mjs +1 -0
  51. package/dist/chunk-QEACB5VG.js +1 -0
  52. package/dist/chunk-RFC2SXZ6.mjs +4 -0
  53. package/dist/chunk-RFVFX5WK.mjs +1 -0
  54. package/dist/chunk-SORYYVJ7.js +1 -0
  55. package/dist/chunk-TUIEV7Q7.js +1 -0
  56. package/dist/chunk-U74VPTIU.js +1 -0
  57. package/dist/chunk-UOQT6A7P.js +1 -0
  58. package/dist/chunk-V5VDCQDN.mjs +1 -0
  59. package/dist/chunk-VHUVPHPI.mjs +1 -0
  60. package/dist/{chunk-SAFW7UQZ.js → chunk-W7GLQ6DV.js} +1 -1
  61. package/dist/chunk-WLHNIXWC.mjs +2 -0
  62. package/dist/chunk-X6HFDXKB.js +1 -0
  63. package/dist/chunk-XPV6VILW.mjs +1 -0
  64. package/dist/chunk-Y3ZQQI4D.js +1 -0
  65. package/dist/chunk-YTDWMXNS.js +1 -0
  66. package/dist/chunk-ZUGNF5KU.js +1 -0
  67. package/dist/chunk-ZX26QZJ5.mjs +1 -0
  68. package/dist/content-5Mrz6w_b.d.mts +1360 -0
  69. package/dist/content-CmqAwdFL.d.ts +1360 -0
  70. package/dist/core-plugins.d.mts +1 -2
  71. package/dist/core-plugins.d.ts +1 -2
  72. package/dist/core-plugins.js +1 -1
  73. package/dist/core-plugins.mjs +1 -1
  74. package/dist/core.d.mts +6 -7
  75. package/dist/core.d.ts +6 -7
  76. package/dist/core.js +1 -1
  77. package/dist/core.mjs +1 -1
  78. package/dist/{documentSerializer-Chn7J1WG.d.ts → documentSerializer-BRaaXIHm.d.ts} +1 -1
  79. package/dist/{documentSerializer-C1ueey5d.d.mts → documentSerializer-DgO3A9av.d.mts} +1 -1
  80. package/dist/docx/index.d.mts +1 -2
  81. package/dist/docx/index.d.ts +1 -2
  82. package/dist/docx/index.js +1 -1
  83. package/dist/docx/index.mjs +1 -1
  84. package/dist/docx/parser.d.mts +1 -2
  85. package/dist/docx/parser.d.ts +1 -2
  86. package/dist/docx/parser.js +1 -1
  87. package/dist/docx/parser.mjs +1 -1
  88. package/dist/docx/rezip.d.mts +1 -2
  89. package/dist/docx/rezip.d.ts +1 -2
  90. package/dist/docx/rezip.js +1 -1
  91. package/dist/docx/rezip.mjs +1 -1
  92. package/dist/docx/serializer/index.d.mts +2 -3
  93. package/dist/docx/serializer/index.d.ts +2 -3
  94. package/dist/docx/serializer/index.js +1 -1
  95. package/dist/docx/serializer/index.mjs +1 -1
  96. package/dist/{fontLoader-BOt95Jtf.d.mts → fontLoader-8b4X-AIh.d.mts} +63 -3
  97. package/dist/{fontLoader-QPwbcX5j.d.ts → fontLoader-CK2QLq68.d.ts} +63 -3
  98. package/dist/{headerFooterLayout-DVFcJ832.d.mts → headerFooterLayout-72Vz7yp3.d.mts} +74 -2
  99. package/dist/{headerFooterLayout-B5LyDpSM.d.ts → headerFooterLayout-Ca4ESDHF.d.ts} +74 -2
  100. package/dist/headless.d.mts +5 -5
  101. package/dist/headless.d.ts +5 -5
  102. package/dist/headless.js +1 -1
  103. package/dist/headless.mjs +1 -1
  104. package/dist/layout-bridge/index.d.mts +4 -4
  105. package/dist/layout-bridge/index.d.ts +4 -4
  106. package/dist/layout-bridge/index.js +1 -1
  107. package/dist/layout-bridge/index.mjs +1 -1
  108. package/dist/layout-bridge/measuring/index.d.mts +4 -0
  109. package/dist/layout-bridge/measuring/index.d.ts +4 -0
  110. package/dist/layout-bridge/measuring/index.js +1 -1
  111. package/dist/layout-bridge/measuring/index.mjs +1 -1
  112. package/dist/layout-bridge/tableInsertHover.js +1 -1
  113. package/dist/layout-bridge/tableInsertHover.mjs +1 -1
  114. package/dist/layout-bridge/toFlowBlocks.d.mts +2 -1
  115. package/dist/layout-bridge/toFlowBlocks.d.ts +2 -1
  116. package/dist/layout-bridge/toFlowBlocks.js +1 -1
  117. package/dist/layout-bridge/toFlowBlocks.mjs +1 -1
  118. package/dist/layout-engine/index.d.mts +3 -0
  119. package/dist/layout-engine/index.d.ts +3 -0
  120. package/dist/layout-engine/index.js +1 -1
  121. package/dist/layout-engine/index.mjs +1 -1
  122. package/dist/layout-engine/types.d.mts +44 -0
  123. package/dist/layout-engine/types.d.ts +44 -0
  124. package/dist/layout-painter/index.d.mts +2 -3
  125. package/dist/layout-painter/index.d.ts +2 -3
  126. package/dist/layout-painter/index.js +1 -1
  127. package/dist/layout-painter/index.mjs +1 -1
  128. package/dist/layout-painter/renderPage.d.mts +2 -3
  129. package/dist/layout-painter/renderPage.d.ts +2 -3
  130. package/dist/layout-painter/renderPage.js +1 -1
  131. package/dist/layout-painter/renderPage.mjs +1 -1
  132. package/dist/managers/AutoSaveManager.d.mts +1 -2
  133. package/dist/managers/AutoSaveManager.d.ts +1 -2
  134. package/dist/managers/TableSelectionManager.d.mts +1 -2
  135. package/dist/managers/TableSelectionManager.d.ts +1 -2
  136. package/dist/managers/types.d.mts +1 -2
  137. package/dist/managers/types.d.ts +1 -2
  138. package/dist/mcp-cli.mjs +23 -22
  139. package/dist/mcp.d.mts +1 -2
  140. package/dist/mcp.d.ts +1 -2
  141. package/dist/mcp.js +3 -3
  142. package/dist/mcp.mjs +1 -1
  143. package/dist/{nodes-CL8M0L-a.d.mts → nodes-7753Bgi_.d.mts} +64 -3
  144. package/dist/{nodes-D7PTUJ2N.d.ts → nodes-CC_nwkT_.d.ts} +64 -3
  145. package/dist/prosemirror/commands/formatting.js +1 -1
  146. package/dist/prosemirror/commands/formatting.mjs +1 -1
  147. package/dist/prosemirror/commands/index.d.mts +80 -6
  148. package/dist/prosemirror/commands/index.d.ts +80 -6
  149. package/dist/prosemirror/commands/index.js +1 -1
  150. package/dist/prosemirror/commands/index.mjs +1 -1
  151. package/dist/prosemirror/commands/paragraph.js +1 -1
  152. package/dist/prosemirror/commands/paragraph.mjs +1 -1
  153. package/dist/prosemirror/conversion/fromProseDoc.d.mts +1 -2
  154. package/dist/prosemirror/conversion/fromProseDoc.d.ts +1 -2
  155. package/dist/prosemirror/conversion/fromProseDoc.js +1 -1
  156. package/dist/prosemirror/conversion/fromProseDoc.mjs +1 -1
  157. package/dist/prosemirror/conversion/index.d.mts +1 -2
  158. package/dist/prosemirror/conversion/index.d.ts +1 -2
  159. package/dist/prosemirror/conversion/index.js +1 -1
  160. package/dist/prosemirror/conversion/index.mjs +1 -1
  161. package/dist/prosemirror/editor.css +155 -95
  162. package/dist/prosemirror/extensions/index.js +1 -1
  163. package/dist/prosemirror/extensions/index.mjs +1 -1
  164. package/dist/prosemirror/extensions/nodes/TableExtension.js +1 -1
  165. package/dist/prosemirror/extensions/nodes/TableExtension.mjs +1 -1
  166. package/dist/prosemirror/index.d.mts +2 -3
  167. package/dist/prosemirror/index.d.ts +2 -3
  168. package/dist/prosemirror/index.js +1 -1
  169. package/dist/prosemirror/index.mjs +1 -1
  170. package/dist/prosemirror/plugins/index.d.mts +121 -17
  171. package/dist/prosemirror/plugins/index.d.ts +121 -17
  172. package/dist/prosemirror/plugins/index.js +1 -1
  173. package/dist/prosemirror/plugins/index.mjs +1 -1
  174. package/dist/prosemirror/schema/index.d.mts +3 -4
  175. package/dist/prosemirror/schema/index.d.ts +3 -4
  176. package/dist/prosemirror/schema/index.js +1 -1
  177. package/dist/prosemirror/schema/index.mjs +1 -1
  178. package/dist/prosemirror/utils/extractTrackedChanges.d.mts +44 -22
  179. package/dist/prosemirror/utils/extractTrackedChanges.d.ts +44 -22
  180. package/dist/prosemirror/utils/extractTrackedChanges.js +1 -1
  181. package/dist/prosemirror/utils/extractTrackedChanges.mjs +1 -1
  182. package/dist/types/content.d.mts +4 -1167
  183. package/dist/types/content.d.ts +4 -1167
  184. package/dist/types/document.d.mts +2 -4
  185. package/dist/types/document.d.ts +2 -4
  186. package/dist/utils/comments.d.mts +78 -5
  187. package/dist/utils/comments.d.ts +78 -5
  188. package/dist/utils/comments.js +1 -1
  189. package/dist/utils/comments.mjs +1 -1
  190. package/dist/utils/highlightColors.js +1 -1
  191. package/dist/utils/highlightColors.mjs +1 -1
  192. package/dist/utils/index.d.mts +2 -3
  193. package/dist/utils/index.d.ts +2 -3
  194. package/dist/utils/index.js +3 -3
  195. package/dist/utils/index.mjs +3 -3
  196. package/dist/{variableDetector-CAdt8yOr.d.mts → variableDetector-DF3-nxUC.d.mts} +1 -1
  197. package/dist/{variableDetector-W4XEN9YC.d.ts → variableDetector-sBkgVh3f.d.ts} +1 -1
  198. package/package.json +3 -3
  199. package/dist/chunk-3AZWLVLC.js +0 -1
  200. package/dist/chunk-3NLVHZMT.js +0 -59
  201. package/dist/chunk-5SU4HPQS.mjs +0 -1
  202. package/dist/chunk-AHXPHBMT.js +0 -1
  203. package/dist/chunk-B6LYBJ4H.mjs +0 -1
  204. package/dist/chunk-BFB4PRS4.mjs +0 -1
  205. package/dist/chunk-BRHHK4MG.mjs +0 -2
  206. package/dist/chunk-CP5OSG5Z.mjs +0 -1
  207. package/dist/chunk-CUXXRGPQ.mjs +0 -1
  208. package/dist/chunk-G7AKYAKU.mjs +0 -1
  209. package/dist/chunk-HAAMO2Z2.mjs +0 -1
  210. package/dist/chunk-IN6IYQ2X.js +0 -1
  211. package/dist/chunk-IO6HZ7KR.js +0 -2
  212. package/dist/chunk-KBU6QQFU.js +0 -9
  213. package/dist/chunk-LDKESXXK.mjs +0 -3
  214. package/dist/chunk-N3EIZN65.js +0 -1
  215. package/dist/chunk-NERY274X.js +0 -1
  216. package/dist/chunk-NNQWQOC5.mjs +0 -1
  217. package/dist/chunk-NO5LW2DQ.mjs +0 -1
  218. package/dist/chunk-OTDF6PZK.js +0 -1
  219. package/dist/chunk-P3AXSRLG.mjs +0 -1
  220. package/dist/chunk-QMLIXLZJ.mjs +0 -4
  221. package/dist/chunk-QXHL67FG.mjs +0 -1
  222. package/dist/chunk-TGPS3SRR.mjs +0 -1
  223. package/dist/chunk-TMISJEGL.js +0 -1
  224. package/dist/chunk-TRJWRZZD.js +0 -1
  225. package/dist/chunk-TRQN2SFW.mjs +0 -59
  226. package/dist/chunk-UGXSKZVM.js +0 -1
  227. package/dist/chunk-V435QKZB.js +0 -3
  228. package/dist/chunk-V6SWUCTS.js +0 -2
  229. package/dist/chunk-X3NB7STJ.js +0 -1
  230. package/dist/chunk-XOH7YAYL.js +0 -1
  231. package/dist/chunk-Y5HZAMND.mjs +0 -9
  232. package/dist/chunk-Y7I5QDCN.mjs +0 -1
  233. package/dist/chunk-YCDB5TA6.js +0 -4
  234. package/dist/chunk-YE357WVA.js +0 -1
  235. package/dist/chunk-YVYB4YCI.js +0 -1
  236. package/dist/lists-CvG_iVK3.d.mts +0 -148
  237. package/dist/lists-UTp_tk7B.d.ts +0 -148
package/dist/mcp.d.mts CHANGED
@@ -23,8 +23,7 @@ import { f as McpToolDefinition, M as McpSession, J as JsonSchema } from './type
23
23
  import './types/document.mjs';
24
24
  import './colors-C3vA7HUU.mjs';
25
25
  import './formatting-BH4hcZiq.mjs';
26
- import './lists-CvG_iVK3.mjs';
27
- import './types/content.mjs';
26
+ import './content-5Mrz6w_b.mjs';
28
27
  import './docx/wrapTypes.mjs';
29
28
  import './styles-EI2lxeEN.mjs';
30
29
  import './types/agentApi.mjs';
package/dist/mcp.d.ts CHANGED
@@ -23,8 +23,7 @@ import { f as McpToolDefinition, M as McpSession, J as JsonSchema } from './type
23
23
  import './types/document.js';
24
24
  import './colors-C3vA7HUU.js';
25
25
  import './formatting-_OXU8gLB.js';
26
- import './lists-UTp_tk7B.js';
27
- import './types/content.js';
26
+ import './content-CmqAwdFL.js';
28
27
  import './docx/wrapTypes.js';
29
28
  import './styles-BBv7doYK.js';
30
29
  import './types/agentApi.js';
package/dist/mcp.js CHANGED
@@ -1,7 +1,7 @@
1
- 'use strict';var chunkTE2AF7FM_js=require('./chunk-TE2AF7FM.js'),chunk3NLVHZMT_js=require('./chunk-3NLVHZMT.js');require('./chunk-V435QKZB.js');var chunk4BFNWPKW_js=require('./chunk-4BFNWPKW.js'),chunkV6SWUCTS_js=require('./chunk-V6SWUCTS.js');require('./chunk-YCDB5TA6.js'),require('./chunk-IN6IYQ2X.js'),require('./chunk-KBU6QQFU.js'),require('./chunk-MZOVDLYL.js'),require('./chunk-EPX7BBJD.js'),require('./chunk-D536HC5M.js'),require('./chunk-TMISJEGL.js'),require('./chunk-C2BAPYGJ.js'),require('./chunk-Q4CKLXWA.js'),require('./chunk-4Q2IP5FW.js'),require('./chunk-DC7S76ZX.js');var u={type:"string",description:"Document ID returned from docx_load"},x={type:"object",properties:{paragraphIndex:{type:"number",description:"Index of the paragraph (0-indexed)",minimum:0},offset:{type:"number",description:"Character offset within the paragraph",minimum:0}},required:["paragraphIndex","offset"]},h={type:"object",properties:{start:x,end:x},required:["start","end"]},D={name:"docx_load",description:`Load a DOCX document from base64-encoded content.
1
+ 'use strict';var chunkTE2AF7FM_js=require('./chunk-TE2AF7FM.js'),chunkHV6HE6YR_js=require('./chunk-HV6HE6YR.js');require('./chunk-GWBVJZVT.js');var chunk4BFNWPKW_js=require('./chunk-4BFNWPKW.js'),chunkLCICADWM_js=require('./chunk-LCICADWM.js');require('./chunk-F44ZLDZS.js'),require('./chunk-44FHVKSI.js'),require('./chunk-MNOHUTKE.js'),require('./chunk-MZOVDLYL.js'),require('./chunk-E4JMCA5X.js'),require('./chunk-HQPWFUP5.js'),require('./chunk-DV6GWBUJ.js'),require('./chunk-C2BAPYGJ.js'),require('./chunk-4Q2IP5FW.js'),require('./chunk-Q4CKLXWA.js'),require('./chunk-DC7S76ZX.js');var u={type:"string",description:"Document ID returned from docx_load"},x={type:"object",properties:{paragraphIndex:{type:"number",description:"Index of the paragraph (0-indexed)",minimum:0},offset:{type:"number",description:"Character offset within the paragraph",minimum:0}},required:["paragraphIndex","offset"]},h={type:"object",properties:{start:x,end:x},required:["start","end"]},D={name:"docx_load",description:`Load a DOCX document from base64-encoded content.
2
2
  Returns a document ID that can be used with other tools.
3
- The document remains in session memory until closed.`,inputSchema:{type:"object",properties:{content:{type:"string",description:"Base64-encoded DOCX file content"},source:{type:"string",description:"Optional source filename or identifier for reference"}},required:["content"]},handler:async(r,s)=>{let{content:e,source:c}=r;try{let t=atob(e),n=new Uint8Array(t.length);for(let l=0;l<t.length;l++)n[l]=t.charCodeAt(l);let o=n.buffer,a=await chunkV6SWUCTS_js.f(o),d=`doc_${Date.now()}_${Math.random().toString(36).substr(2,9)}`;s.session.documents.set(d,{id:d,document:a,buffer:o,source:c,lastModified:Date.now()});let p=a.package.document.content.filter(l=>l.type==="paragraph").length;return {content:[{type:"text",text:JSON.stringify({documentId:d,source:c,paragraphCount:p,message:"Document loaded successfully"})}]}}catch(t){return {isError:true,content:[{type:"text",text:`Failed to load document: ${t.message}`}]}}},annotations:{category:"core",readOnly:false,complexity:"low"}},C={name:"docx_save",description:`Export the document to base64-encoded DOCX format.
4
- Returns the document as a base64 string that can be saved to a file.`,inputSchema:{type:"object",properties:{documentId:u},required:["documentId"]},handler:async(r,s)=>{let{documentId:e}=r,c=s.session.documents.get(e);if(!c)return {isError:true,content:[{type:"text",text:`Document not found: ${e}`}]};try{let t;c.buffer?t=await chunk3NLVHZMT_js.h(c.document):t=await chunk3NLVHZMT_js.s(c.document);let n=new Uint8Array(t),o="";for(let d=0;d<n.length;d++)o+=String.fromCharCode(n[d]);let a=btoa(o);return {content:[{type:"text",text:JSON.stringify({documentId:e,base64:a,size:t.byteLength,message:"Document exported successfully"})}]}}catch(t){return {isError:true,content:[{type:"text",text:`Failed to save document: ${t.message}`}]}}},annotations:{category:"core",readOnly:true,complexity:"low"}},R={name:"docx_close",description:`Close a document and free its memory.
3
+ The document remains in session memory until closed.`,inputSchema:{type:"object",properties:{content:{type:"string",description:"Base64-encoded DOCX file content"},source:{type:"string",description:"Optional source filename or identifier for reference"}},required:["content"]},handler:async(r,s)=>{let{content:e,source:c}=r;try{let t=atob(e),n=new Uint8Array(t.length);for(let l=0;l<t.length;l++)n[l]=t.charCodeAt(l);let o=n.buffer,a=await chunkLCICADWM_js.f(o),d=`doc_${Date.now()}_${Math.random().toString(36).substr(2,9)}`;s.session.documents.set(d,{id:d,document:a,buffer:o,source:c,lastModified:Date.now()});let p=a.package.document.content.filter(l=>l.type==="paragraph").length;return {content:[{type:"text",text:JSON.stringify({documentId:d,source:c,paragraphCount:p,message:"Document loaded successfully"})}]}}catch(t){return {isError:true,content:[{type:"text",text:`Failed to load document: ${t.message}`}]}}},annotations:{category:"core",readOnly:false,complexity:"low"}},C={name:"docx_save",description:`Export the document to base64-encoded DOCX format.
4
+ Returns the document as a base64 string that can be saved to a file.`,inputSchema:{type:"object",properties:{documentId:u},required:["documentId"]},handler:async(r,s)=>{let{documentId:e}=r,c=s.session.documents.get(e);if(!c)return {isError:true,content:[{type:"text",text:`Document not found: ${e}`}]};try{let t;c.buffer?t=await chunkHV6HE6YR_js.h(c.document):t=await chunkHV6HE6YR_js.s(c.document);let n=new Uint8Array(t),o="";for(let d=0;d<n.length;d++)o+=String.fromCharCode(n[d]);let a=btoa(o);return {content:[{type:"text",text:JSON.stringify({documentId:e,base64:a,size:t.byteLength,message:"Document exported successfully"})}]}}catch(t){return {isError:true,content:[{type:"text",text:`Failed to save document: ${t.message}`}]}}},annotations:{category:"core",readOnly:true,complexity:"low"}},R={name:"docx_close",description:`Close a document and free its memory.
5
5
  Use this when done working with a document.`,inputSchema:{type:"object",properties:{documentId:u},required:["documentId"]},handler:async(r,s)=>{let{documentId:e}=r;return s.session.documents.has(e)?(s.session.documents.delete(e),{content:[{type:"text",text:JSON.stringify({documentId:e,message:"Document closed"})}]}):{isError:true,content:[{type:"text",text:`Document not found: ${e}`}]}},annotations:{category:"core",readOnly:false,complexity:"low"}},k={name:"docx_get_info",description:`Get metadata and statistics about a document.
6
6
  Returns paragraph count, word count, table count, and other useful info.`,inputSchema:{type:"object",properties:{documentId:u},required:["documentId"]},handler:async(r,s)=>{let{documentId:e}=r,c=s.session.documents.get(e);if(!c)return {isError:true,content:[{type:"text",text:`Document not found: ${e}`}]};let t=c.document,n=t.package.document,o=n.content.filter(p=>p.type==="paragraph"),a=n.content.filter(p=>p.type==="table"),d=0;for(let p of o)if(p.type==="paragraph"){let l=P(p);d+=l.split(/\s+/).filter(y=>y.length>0).length;}return {content:[{type:"text",text:JSON.stringify({documentId:e,paragraphCount:o.length,tableCount:a.length,wordCount:d,hasStyles:!!t.package.styles,hasTheme:!!t.package.theme,source:c.source,lastModified:c.lastModified})}]}},annotations:{category:"core",readOnly:true,complexity:"low"}},$={name:"docx_get_text",description:`Get the plain text content of the document.
7
7
  Returns all text concatenated with paragraph breaks.
package/dist/mcp.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import {a}from'./chunk-CUY2THAO.mjs';import {h as h$1,s}from'./chunk-TRQN2SFW.mjs';import'./chunk-LDKESXXK.mjs';import {b}from'./chunk-3NRMSZX2.mjs';import {f}from'./chunk-2IE6UDHJ.mjs';import'./chunk-QMLIXLZJ.mjs';import'./chunk-3JXR6YU4.mjs';import'./chunk-Y5HZAMND.mjs';import'./chunk-ILJUDEZ5.mjs';import'./chunk-QVEAQOMR.mjs';import'./chunk-HL5PQT3A.mjs';import'./chunk-B6LYBJ4H.mjs';import'./chunk-LE67NTCN.mjs';import'./chunk-VQWZHPWI.mjs';import'./chunk-VW22RZ6C.mjs';import'./chunk-QYUPLKLP.mjs';var u={type:"string",description:"Document ID returned from docx_load"},x={type:"object",properties:{paragraphIndex:{type:"number",description:"Index of the paragraph (0-indexed)",minimum:0},offset:{type:"number",description:"Character offset within the paragraph",minimum:0}},required:["paragraphIndex","offset"]},h={type:"object",properties:{start:x,end:x},required:["start","end"]},D={name:"docx_load",description:`Load a DOCX document from base64-encoded content.
1
+ import {a}from'./chunk-CUY2THAO.mjs';import {h as h$1,s}from'./chunk-ONRBRDIC.mjs';import'./chunk-DLCDDB66.mjs';import {b}from'./chunk-3NRMSZX2.mjs';import {f}from'./chunk-CTHHUJAB.mjs';import'./chunk-RFC2SXZ6.mjs';import'./chunk-BOOHU5EW.mjs';import'./chunk-7LRR7RKE.mjs';import'./chunk-ILJUDEZ5.mjs';import'./chunk-6ZXL3EIP.mjs';import'./chunk-OEXVWIHW.mjs';import'./chunk-WLHNIXWC.mjs';import'./chunk-LE67NTCN.mjs';import'./chunk-VW22RZ6C.mjs';import'./chunk-VQWZHPWI.mjs';import'./chunk-QYUPLKLP.mjs';var u={type:"string",description:"Document ID returned from docx_load"},x={type:"object",properties:{paragraphIndex:{type:"number",description:"Index of the paragraph (0-indexed)",minimum:0},offset:{type:"number",description:"Character offset within the paragraph",minimum:0}},required:["paragraphIndex","offset"]},h={type:"object",properties:{start:x,end:x},required:["start","end"]},D={name:"docx_load",description:`Load a DOCX document from base64-encoded content.
2
2
  Returns a document ID that can be used with other tools.
3
3
  The document remains in session memory until closed.`,inputSchema:{type:"object",properties:{content:{type:"string",description:"Base64-encoded DOCX file content"},source:{type:"string",description:"Optional source filename or identifier for reference"}},required:["content"]},handler:async(r,s)=>{let{content:e,source:c}=r;try{let t=atob(e),n=new Uint8Array(t.length);for(let l=0;l<t.length;l++)n[l]=t.charCodeAt(l);let o=n.buffer,a=await f(o),d=`doc_${Date.now()}_${Math.random().toString(36).substr(2,9)}`;s.session.documents.set(d,{id:d,document:a,buffer:o,source:c,lastModified:Date.now()});let p=a.package.document.content.filter(l=>l.type==="paragraph").length;return {content:[{type:"text",text:JSON.stringify({documentId:d,source:c,paragraphCount:p,message:"Document loaded successfully"})}]}}catch(t){return {isError:true,content:[{type:"text",text:`Failed to load document: ${t.message}`}]}}},annotations:{category:"core",readOnly:false,complexity:"low"}},C={name:"docx_save",description:`Export the document to base64-encoded DOCX format.
4
4
  Returns the document as a base64 string that can be saved to a file.`,inputSchema:{type:"object",properties:{documentId:u},required:["documentId"]},handler:async(r,s$1)=>{let{documentId:e}=r,c=s$1.session.documents.get(e);if(!c)return {isError:true,content:[{type:"text",text:`Document not found: ${e}`}]};try{let t;c.buffer?t=await h$1(c.document):t=await s(c.document);let n=new Uint8Array(t),o="";for(let d=0;d<n.length;d++)o+=String.fromCharCode(n[d]);let a=btoa(o);return {content:[{type:"text",text:JSON.stringify({documentId:e,base64:a,size:t.byteLength,message:"Document exported successfully"})}]}}catch(t){return {isError:true,content:[{type:"text",text:`Failed to save document: ${t.message}`}]}}},annotations:{category:"core",readOnly:true,complexity:"low"}},R={name:"docx_close",description:`Close a document and free its memory.
@@ -1,8 +1,7 @@
1
- import { d as ParagraphAlignment, L as LineSpacingRule, S as SpacingExplicit, e as TabStop, T as TextFormatting, P as ParagraphFormatting, F as FloatingTableProperties, f as TableLook, a as TableFormatting, c as TableCellFormatting, b as TableRowFormatting } from './formatting-BH4hcZiq.mjs';
2
1
  import { B as BorderSpec, S as ShadingProperties } from './colors-C3vA7HUU.mjs';
3
- import { a as NumberFormat } from './lists-CvG_iVK3.mjs';
2
+ import { d as ParagraphAlignment, L as LineSpacingRule, S as SpacingExplicit, e as TabStop, T as TextFormatting, P as ParagraphFormatting, F as FloatingTableProperties, f as TableLook, a as TableFormatting, c as TableCellFormatting, b as TableRowFormatting } from './formatting-BH4hcZiq.mjs';
3
+ import { o as NumberFormat, S as SectionProperties, m as RevisionInfo, p as ParagraphPropertyChange, q as TablePropertyChange, r as TableCellPropertyChange, s as TableRowPropertyChange } from './content-5Mrz6w_b.mjs';
4
4
  import { WrapType } from './docx/wrapTypes.mjs';
5
- import { SectionProperties } from './types/content.mjs';
6
5
 
7
6
  /**
8
7
  * Paragraph node attributes - maps to ParagraphFormatting
@@ -85,6 +84,30 @@ interface ParagraphAttrs {
85
84
  /** Full section properties for paragraphs that end a section.
86
85
  * Used by layout engine for per-section column/page config and round-trip. */
87
86
  _sectionProperties?: SectionProperties;
87
+ /**
88
+ * Paragraph-mark insertion tracking (`<w:pPr><w:rPr><w:ins/>`). Carries
89
+ * the OOXML tracked-change triple `(w:id, w:author, w:date)` when the
90
+ * pilcrow terminating this paragraph was added as a tracked change.
91
+ * `date` is ISO 8601 UTC with `Z` suffix; `null` if the source DOCX
92
+ * omitted `w:date`. Reject joins this paragraph with the following one.
93
+ */
94
+ pPrIns?: RevisionInfo | null;
95
+ /**
96
+ * Paragraph-mark deletion tracking (`<w:pPr><w:rPr><w:del/>`). Same
97
+ * shape and provenance as `pPrIns`. Accept joins this paragraph with
98
+ * the following one; reject clears the marker, keeping the split.
99
+ */
100
+ pPrDel?: RevisionInfo | null;
101
+ /**
102
+ * Paragraph property changes (`<w:pPrChange>`). Each entry carries
103
+ * the OOXML triple plus a `prior` snapshot of the paragraph properties
104
+ * before the edit. Array because multiple authors can stack edits on
105
+ * the same paragraph; on reject by id, only the matching entry's prior
106
+ * is restored. The shape mirrors the existing model
107
+ * `Paragraph.propertyChanges: ParagraphPropertyChange[]` — see
108
+ * `packages/core/src/types/content/trackedChange.ts`.
109
+ */
110
+ pPrChange?: ParagraphPropertyChange[] | null;
88
111
  }
89
112
  /**
90
113
  * Image position for floating images (horizontal and vertical positioning)
@@ -195,6 +218,13 @@ interface TableAttrs {
195
218
  look?: TableLook;
196
219
  /** Original table formatting from DOCX for lossless round-trip serialization */
197
220
  _originalFormatting?: TableFormatting;
221
+ /**
222
+ * Table-property change history (`<w:tblPrChange>`). Same shape as the
223
+ * model `Table.propertyChanges`. OOXML allows at most one entry per table
224
+ * on disk (CT_TblPr maxOccurs="1"); the model/array allows in-memory
225
+ * stacking, serializer clamps to the first.
226
+ */
227
+ tblPrChange?: TablePropertyChange[] | null;
198
228
  }
199
229
  /**
200
230
  * Table row attributes
@@ -208,6 +238,15 @@ interface TableRowAttrs {
208
238
  isHeader?: boolean;
209
239
  /** Original row formatting from DOCX for lossless round-trip serialization */
210
240
  _originalFormatting?: TableRowFormatting;
241
+ /**
242
+ * Row-mark insertion / deletion (`<w:trPr><w:ins/>` / `<w:del/>`).
243
+ * Authored by inserting/deleting a row in suggesting mode. The row stays
244
+ * present until accept (for delete) or reject (for insert).
245
+ */
246
+ trIns?: RevisionInfo | null;
247
+ trDel?: RevisionInfo | null;
248
+ /** Row-property change history (`<w:trPrChange>`). */
249
+ trPrChange?: TableRowPropertyChange[] | null;
211
250
  }
212
251
  /**
213
252
  * Table cell attributes
@@ -254,6 +293,28 @@ interface TableCellAttrs {
254
293
  * tint/shade); if they did, we write plain rgb.
255
294
  */
256
295
  _originalResolvedFill?: string;
296
+ /**
297
+ * Cell structural revision marker. Mutually exclusive per
298
+ * `EG_CellMarkupElements` (wml.xsd) — a cell can carry at most one of
299
+ * `cellIns`, `cellDel`, or `cellMerge`. `merge` is VERTICAL only
300
+ * (`<w:cellMerge w:vMerge="rest|cont"/>`); horizontal merge is
301
+ * conveyed via `cellIns` on the merging cell and `cellDel` on absorbed
302
+ * cells (Word's on-disk convention).
303
+ */
304
+ cellMarker?: {
305
+ kind: 'ins';
306
+ info: RevisionInfo;
307
+ } | {
308
+ kind: 'del';
309
+ info: RevisionInfo;
310
+ } | {
311
+ kind: 'merge';
312
+ info: RevisionInfo;
313
+ vMerge: 'rest' | 'cont';
314
+ vMergeOrig?: 'rest' | 'cont';
315
+ } | null;
316
+ /** Cell-property change history (`<w:tcPrChange>`). */
317
+ tcPrChange?: TableCellPropertyChange[] | null;
257
318
  }
258
319
 
259
320
  export type { ImageAttrs as I, ParagraphAttrs as P, TableAttrs as T, ImagePositionAttrs as a, TableCellAttrs as b, TableRowAttrs as c };
@@ -1,8 +1,7 @@
1
- import { d as ParagraphAlignment, L as LineSpacingRule, S as SpacingExplicit, e as TabStop, T as TextFormatting, P as ParagraphFormatting, F as FloatingTableProperties, f as TableLook, a as TableFormatting, c as TableCellFormatting, b as TableRowFormatting } from './formatting-_OXU8gLB.js';
2
1
  import { B as BorderSpec, S as ShadingProperties } from './colors-C3vA7HUU.js';
3
- import { a as NumberFormat } from './lists-UTp_tk7B.js';
2
+ import { d as ParagraphAlignment, L as LineSpacingRule, S as SpacingExplicit, e as TabStop, T as TextFormatting, P as ParagraphFormatting, F as FloatingTableProperties, f as TableLook, a as TableFormatting, c as TableCellFormatting, b as TableRowFormatting } from './formatting-_OXU8gLB.js';
3
+ import { o as NumberFormat, S as SectionProperties, m as RevisionInfo, p as ParagraphPropertyChange, q as TablePropertyChange, r as TableCellPropertyChange, s as TableRowPropertyChange } from './content-CmqAwdFL.js';
4
4
  import { WrapType } from './docx/wrapTypes.js';
5
- import { SectionProperties } from './types/content.js';
6
5
 
7
6
  /**
8
7
  * Paragraph node attributes - maps to ParagraphFormatting
@@ -85,6 +84,30 @@ interface ParagraphAttrs {
85
84
  /** Full section properties for paragraphs that end a section.
86
85
  * Used by layout engine for per-section column/page config and round-trip. */
87
86
  _sectionProperties?: SectionProperties;
87
+ /**
88
+ * Paragraph-mark insertion tracking (`<w:pPr><w:rPr><w:ins/>`). Carries
89
+ * the OOXML tracked-change triple `(w:id, w:author, w:date)` when the
90
+ * pilcrow terminating this paragraph was added as a tracked change.
91
+ * `date` is ISO 8601 UTC with `Z` suffix; `null` if the source DOCX
92
+ * omitted `w:date`. Reject joins this paragraph with the following one.
93
+ */
94
+ pPrIns?: RevisionInfo | null;
95
+ /**
96
+ * Paragraph-mark deletion tracking (`<w:pPr><w:rPr><w:del/>`). Same
97
+ * shape and provenance as `pPrIns`. Accept joins this paragraph with
98
+ * the following one; reject clears the marker, keeping the split.
99
+ */
100
+ pPrDel?: RevisionInfo | null;
101
+ /**
102
+ * Paragraph property changes (`<w:pPrChange>`). Each entry carries
103
+ * the OOXML triple plus a `prior` snapshot of the paragraph properties
104
+ * before the edit. Array because multiple authors can stack edits on
105
+ * the same paragraph; on reject by id, only the matching entry's prior
106
+ * is restored. The shape mirrors the existing model
107
+ * `Paragraph.propertyChanges: ParagraphPropertyChange[]` — see
108
+ * `packages/core/src/types/content/trackedChange.ts`.
109
+ */
110
+ pPrChange?: ParagraphPropertyChange[] | null;
88
111
  }
89
112
  /**
90
113
  * Image position for floating images (horizontal and vertical positioning)
@@ -195,6 +218,13 @@ interface TableAttrs {
195
218
  look?: TableLook;
196
219
  /** Original table formatting from DOCX for lossless round-trip serialization */
197
220
  _originalFormatting?: TableFormatting;
221
+ /**
222
+ * Table-property change history (`<w:tblPrChange>`). Same shape as the
223
+ * model `Table.propertyChanges`. OOXML allows at most one entry per table
224
+ * on disk (CT_TblPr maxOccurs="1"); the model/array allows in-memory
225
+ * stacking, serializer clamps to the first.
226
+ */
227
+ tblPrChange?: TablePropertyChange[] | null;
198
228
  }
199
229
  /**
200
230
  * Table row attributes
@@ -208,6 +238,15 @@ interface TableRowAttrs {
208
238
  isHeader?: boolean;
209
239
  /** Original row formatting from DOCX for lossless round-trip serialization */
210
240
  _originalFormatting?: TableRowFormatting;
241
+ /**
242
+ * Row-mark insertion / deletion (`<w:trPr><w:ins/>` / `<w:del/>`).
243
+ * Authored by inserting/deleting a row in suggesting mode. The row stays
244
+ * present until accept (for delete) or reject (for insert).
245
+ */
246
+ trIns?: RevisionInfo | null;
247
+ trDel?: RevisionInfo | null;
248
+ /** Row-property change history (`<w:trPrChange>`). */
249
+ trPrChange?: TableRowPropertyChange[] | null;
211
250
  }
212
251
  /**
213
252
  * Table cell attributes
@@ -254,6 +293,28 @@ interface TableCellAttrs {
254
293
  * tint/shade); if they did, we write plain rgb.
255
294
  */
256
295
  _originalResolvedFill?: string;
296
+ /**
297
+ * Cell structural revision marker. Mutually exclusive per
298
+ * `EG_CellMarkupElements` (wml.xsd) — a cell can carry at most one of
299
+ * `cellIns`, `cellDel`, or `cellMerge`. `merge` is VERTICAL only
300
+ * (`<w:cellMerge w:vMerge="rest|cont"/>`); horizontal merge is
301
+ * conveyed via `cellIns` on the merging cell and `cellDel` on absorbed
302
+ * cells (Word's on-disk convention).
303
+ */
304
+ cellMarker?: {
305
+ kind: 'ins';
306
+ info: RevisionInfo;
307
+ } | {
308
+ kind: 'del';
309
+ info: RevisionInfo;
310
+ } | {
311
+ kind: 'merge';
312
+ info: RevisionInfo;
313
+ vMerge: 'rest' | 'cont';
314
+ vMergeOrig?: 'rest' | 'cont';
315
+ } | null;
316
+ /** Cell-property change history (`<w:tcPrChange>`). */
317
+ tcPrChange?: TableCellPropertyChange[] | null;
257
318
  }
258
319
 
259
320
  export type { ImageAttrs as I, ParagraphAttrs as P, TableAttrs as T, ImagePositionAttrs as a, TableCellAttrs as b, TableRowAttrs as c };
@@ -1 +1 @@
1
- 'use strict';var chunkSAFW7UQZ_js=require('../../chunk-SAFW7UQZ.js');require('../../chunk-YVYB4YCI.js');var chunkIO6HZ7KR_js=require('../../chunk-IO6HZ7KR.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,"clearFontFamily",{enumerable:true,get:function(){return chunkSAFW7UQZ_js.o}});Object.defineProperty(exports,"clearFontSize",{enumerable:true,get:function(){return chunkSAFW7UQZ_js.m}});Object.defineProperty(exports,"clearHighlight",{enumerable:true,get:function(){return chunkSAFW7UQZ_js.k}});Object.defineProperty(exports,"clearTextColor",{enumerable:true,get:function(){return chunkSAFW7UQZ_js.i}});Object.defineProperty(exports,"insertHyperlink",{enumerable:true,get:function(){return chunkSAFW7UQZ_js.s}});Object.defineProperty(exports,"removeHyperlink",{enumerable:true,get:function(){return chunkSAFW7UQZ_js.r}});Object.defineProperty(exports,"setFontFamily",{enumerable:true,get:function(){return chunkSAFW7UQZ_js.n}});Object.defineProperty(exports,"setFontSize",{enumerable:true,get:function(){return chunkSAFW7UQZ_js.l}});Object.defineProperty(exports,"setHighlight",{enumerable:true,get:function(){return chunkSAFW7UQZ_js.j}});Object.defineProperty(exports,"setHyperlink",{enumerable:true,get:function(){return chunkSAFW7UQZ_js.q}});Object.defineProperty(exports,"setTextColor",{enumerable:true,get:function(){return chunkSAFW7UQZ_js.h}});Object.defineProperty(exports,"setUnderlineStyle",{enumerable:true,get:function(){return chunkSAFW7UQZ_js.p}});Object.defineProperty(exports,"textFormattingToMarks",{enumerable:true,get:function(){return chunkSAFW7UQZ_js.a}});Object.defineProperty(exports,"toggleBold",{enumerable:true,get:function(){return chunkSAFW7UQZ_js.b}});Object.defineProperty(exports,"toggleItalic",{enumerable:true,get:function(){return chunkSAFW7UQZ_js.c}});Object.defineProperty(exports,"toggleStrike",{enumerable:true,get:function(){return chunkSAFW7UQZ_js.e}});Object.defineProperty(exports,"toggleSubscript",{enumerable:true,get:function(){return chunkSAFW7UQZ_js.g}});Object.defineProperty(exports,"toggleSuperscript",{enumerable:true,get:function(){return chunkSAFW7UQZ_js.f}});Object.defineProperty(exports,"toggleUnderline",{enumerable:true,get:function(){return chunkSAFW7UQZ_js.d}});Object.defineProperty(exports,"clearFormatting",{enumerable:true,get:function(){return chunkIO6HZ7KR_js.h}});Object.defineProperty(exports,"createRemoveMarkCommand",{enumerable:true,get:function(){return chunkIO6HZ7KR_js.j}});Object.defineProperty(exports,"createSetMarkCommand",{enumerable:true,get:function(){return chunkIO6HZ7KR_js.i}});Object.defineProperty(exports,"findHyperlinkRangeAt",{enumerable:true,get:function(){return chunkIO6HZ7KR_js.n}});Object.defineProperty(exports,"getHyperlinkAttrs",{enumerable:true,get:function(){return chunkIO6HZ7KR_js.l}});Object.defineProperty(exports,"getMarkAttr",{enumerable:true,get:function(){return chunkIO6HZ7KR_js.f}});Object.defineProperty(exports,"getSelectedText",{enumerable:true,get:function(){return chunkIO6HZ7KR_js.m}});Object.defineProperty(exports,"isHyperlinkActive",{enumerable:true,get:function(){return chunkIO6HZ7KR_js.k}});Object.defineProperty(exports,"isMarkActive",{enumerable:true,get:function(){return chunkIO6HZ7KR_js.e}});
1
+ 'use strict';var chunkW7GLQ6DV_js=require('../../chunk-W7GLQ6DV.js');require('../../chunk-OAWTQ3IY.js');var 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');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,"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,"setUnderlineStyle",{enumerable:true,get:function(){return chunkW7GLQ6DV_js.p}});Object.defineProperty(exports,"textFormattingToMarks",{enumerable:true,get:function(){return chunkW7GLQ6DV_js.a}});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,"findHyperlinkRangeAt",{enumerable:true,get:function(){return chunkGM4USWKO_js.h}});Object.defineProperty(exports,"getHyperlinkAttrs",{enumerable:true,get:function(){return chunkGM4USWKO_js.f}});Object.defineProperty(exports,"getSelectedText",{enumerable:true,get:function(){return chunkGM4USWKO_js.g}});Object.defineProperty(exports,"isHyperlinkActive",{enumerable:true,get:function(){return chunkGM4USWKO_js.e}});Object.defineProperty(exports,"clearFormatting",{enumerable:true,get:function(){return chunkYTDWMXNS_js.f}});Object.defineProperty(exports,"createRemoveMarkCommand",{enumerable:true,get:function(){return chunkYTDWMXNS_js.h}});Object.defineProperty(exports,"createSetMarkCommand",{enumerable:true,get:function(){return chunkYTDWMXNS_js.g}});Object.defineProperty(exports,"getMarkAttr",{enumerable:true,get:function(){return chunkYTDWMXNS_js.d}});Object.defineProperty(exports,"isMarkActive",{enumerable:true,get:function(){return chunkYTDWMXNS_js.c}});
@@ -1 +1 @@
1
- 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,p as setUnderlineStyle,a as textFormattingToMarks,b as toggleBold,c as toggleItalic,e as toggleStrike,g as toggleSubscript,f as toggleSuperscript,d as toggleUnderline}from'../../chunk-G7AKYAKU.mjs';import'../../chunk-TGPS3SRR.mjs';export{h as clearFormatting,j as createRemoveMarkCommand,i as createSetMarkCommand,n as findHyperlinkRangeAt,l as getHyperlinkAttrs,f as getMarkAttr,m as getSelectedText,k as isHyperlinkActive,e as isMarkActive}from'../../chunk-BRHHK4MG.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{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,p as setUnderlineStyle,a as textFormattingToMarks,b as toggleBold,c as toggleItalic,e as toggleStrike,g as toggleSubscript,f as toggleSuperscript,d as toggleUnderline}from'../../chunk-OX75Q5ZG.mjs';import'../../chunk-CA2EYL6T.mjs';export{h as findHyperlinkRangeAt,f as getHyperlinkAttrs,g as getSelectedText,e as isHyperlinkActive}from'../../chunk-IQG3KLWY.mjs';import'../../chunk-MOKKS75W.mjs';import'../../chunk-OZMNIX6U.mjs';import'../../chunk-AMENZY5F.mjs';export{f as clearFormatting,h as createRemoveMarkCommand,g as createSetMarkCommand,d as getMarkAttr,c as isMarkActive}from'../../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';
@@ -10,10 +10,10 @@ export { ResolvedStyleAttrs, addTabStop, alignCenter, alignJustify, alignLeft, a
10
10
  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';
11
11
  export { insertPageBreak } from './pageBreak.mjs';
12
12
  import { EditorState, Transaction, Command } from 'prosemirror-state';
13
+ import { Node } from 'prosemirror-model';
13
14
  import { I as ImageLayoutTarget, S as SetImageWrapTypeOptions } from '../../ImageExtension-BN327PNe.mjs';
14
15
  export { A as AnchorWrapType } from '../../ImageExtension-BN327PNe.mjs';
15
16
  export { B as BorderPreset, T as TableContextInfo, g as getTableContext, i as isInTable } from '../../borders-BH_GoYU3.mjs';
16
- import 'prosemirror-model';
17
17
  import '../../formatting-BH4hcZiq.mjs';
18
18
  import '../../colors-C3vA7HUU.mjs';
19
19
  import '../../marks-BY573yZn.mjs';
@@ -50,6 +50,19 @@ targetRow?: number, targetCol?: number): boolean;
50
50
  * structural and live in a follow-up; this surface only covers anchor↔anchor.
51
51
  */
52
52
 
53
+ /**
54
+ * Insert an image node at `pos`, wrapping with the `insertion` mark when
55
+ * suggesting mode is active. Centralizes the tracked-image-insert flow
56
+ * so React `useFileIO`, Vue `useImageActions`, and clipboard-paste
57
+ * paths all share one source of truth — adding a fresh image in
58
+ * suggesting mode always round-trips as `<w:ins>{run with drawing}</w:ins>`.
59
+ *
60
+ * Caller responsibility: produce the `image` node via `schema.nodes.image.create`.
61
+ * This helper handles the dispatch + optional mark application.
62
+ *
63
+ * @public
64
+ */
65
+ declare function insertImageNode(state: EditorState, dispatch: ((tr: Transaction) => void) | undefined, imageNode: Node, pos: number): boolean;
53
66
  /**
54
67
  * Change a floating image's wrap layout. `pos` is the PM document position of
55
68
  * the image node; `target` is either an OOXML wrap type (square / tight /
@@ -81,20 +94,44 @@ declare function removeCommentMark(commentId: number): Command;
81
94
  * Accept a tracked change at the given range.
82
95
  * - Insertion: remove mark, keep text
83
96
  * - Deletion: remove mark AND text
97
+ *
98
+ * Use {@link acceptChangeById} when accepting a coalesced revision —
99
+ * a single editing session can scatter sites across multiple paragraphs
100
+ * and only the by-id resolver walks every site.
101
+ *
102
+ * @example
103
+ * ```ts
104
+ * import { acceptChange } from '@eigenpal/docx-editor-core/prosemirror/commands';
105
+ * acceptChange(from, to)(view.state, view.dispatch);
106
+ * ```
84
107
  */
85
108
  declare function acceptChange(from: number, to: number): Command;
86
109
  /**
87
110
  * Reject a tracked change at the given range.
88
111
  * - Insertion: remove mark AND text
89
112
  * - Deletion: remove mark, keep text
113
+ *
114
+ * Use {@link rejectChangeById} when rejecting a coalesced revision.
90
115
  */
91
116
  declare function rejectChange(from: number, to: number): Command;
92
117
  /**
93
- * Accept all tracked changes in the document.
118
+ * Accept every tracked change in the document — inline marks plus
119
+ * structural revisions (paragraph-mark, row, cell, property changes).
120
+ *
121
+ * Dispatches one transaction per distinct `revisionId` so each revision
122
+ * remains individually undoable. The acceptance order follows document
123
+ * order; later transactions read fresh state and skip ids whose sites
124
+ * were already removed.
125
+ *
126
+ * @example
127
+ * ```ts
128
+ * import { acceptAllChanges } from '@eigenpal/docx-editor-core/prosemirror/commands';
129
+ * acceptAllChanges()(view.state, view.dispatch);
130
+ * ```
94
131
  */
95
132
  declare function acceptAllChanges(): Command;
96
133
  /**
97
- * Reject all tracked changes in the document.
134
+ * Reject all tracked changes in the document — inverse of `acceptAllChanges`.
98
135
  */
99
136
  declare function rejectAllChanges(): Command;
100
137
  interface ChangeRange {
@@ -103,12 +140,49 @@ interface ChangeRange {
103
140
  type: 'insertion' | 'deletion';
104
141
  }
105
142
  /**
106
- * Find the next tracked change after the given position.
143
+ * Find the next tracked-change range (inline insertion / deletion mark)
144
+ * after `startPos`. Wraps to the document start when no later change is
145
+ * found. Useful for "next change" / "previous change" toolbar buttons.
146
+ *
147
+ * Only walks inline marks — structural revisions (pPrIns / pPrDel / row
148
+ * / cell) are not surfaced here. Use {@link extractTrackedChanges} for a
149
+ * complete revision list.
107
150
  */
108
151
  declare function findNextChange(state: EditorState, startPos: number): ChangeRange | null;
109
152
  /**
110
- * Find the previous tracked change before the given position.
153
+ * Accept every site of a tracked revision in one PM transaction. Walks
154
+ * the doc for all sites carrying `revisionId` — inline insertion/
155
+ * deletion marks, paragraph-mark `pPrIns` / `pPrDel`, paragraph
156
+ * property changes, table row / cell / table revisions — and applies
157
+ * the accept semantics each requires.
158
+ *
159
+ * This is the right command for any coalesced revision (Enter chains,
160
+ * replace pairs, multi-paragraph runs) because one editing session can
161
+ * scatter sites across the doc; the range-based {@link acceptChange}
162
+ * only clears sites within its `(from, to)`.
163
+ *
164
+ * Returns `false` (no-op) if the id is not present.
165
+ *
166
+ * @example
167
+ * ```ts
168
+ * import { acceptChangeById } from '@eigenpal/docx-editor-core/prosemirror/commands';
169
+ * acceptChangeById(revisionId)(view.state, view.dispatch);
170
+ * ```
171
+ */
172
+ declare function acceptChangeById(revisionId: number): Command;
173
+ /**
174
+ * Reject every site of a tracked revision in one PM transaction.
175
+ * Inverse of {@link acceptChangeById} — inserts are removed, deletions
176
+ * keep their text, paragraph-mark insertions join paragraphs back,
177
+ * paragraph-mark deletions stay split, paragraph property changes
178
+ * restore prior values, and tracked row insertions are removed.
179
+ */
180
+ declare function rejectChangeById(revisionId: number): Command;
181
+ /**
182
+ * Find the previous tracked-change range (inline insertion / deletion
183
+ * mark) before `startPos`. Wraps to the document end when no earlier
184
+ * change is found. Counterpart to {@link findNextChange}.
111
185
  */
112
186
  declare function findPreviousChange(state: EditorState, startPos: number): ChangeRange | null;
113
187
 
114
- export { ImageLayoutTarget, SetImageWrapTypeOptions, type SplitCellDialogConfig, acceptAllChanges, acceptChange, addCommentMark, findNextChange, findPreviousChange, getSplitCellDialogConfig, rejectAllChanges, rejectChange, removeCommentMark, setImageWrapType, splitActiveTableCell };
188
+ export { ImageLayoutTarget, SetImageWrapTypeOptions, type SplitCellDialogConfig, acceptAllChanges, acceptChange, acceptChangeById, addCommentMark, findNextChange, findPreviousChange, getSplitCellDialogConfig, insertImageNode, rejectAllChanges, rejectChange, rejectChangeById, removeCommentMark, setImageWrapType, splitActiveTableCell };
@@ -10,10 +10,10 @@ export { ResolvedStyleAttrs, addTabStop, alignCenter, alignJustify, alignLeft, a
10
10
  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';
11
11
  export { insertPageBreak } from './pageBreak.js';
12
12
  import { EditorState, Transaction, Command } from 'prosemirror-state';
13
+ import { Node } from 'prosemirror-model';
13
14
  import { I as ImageLayoutTarget, S as SetImageWrapTypeOptions } from '../../ImageExtension-BlI5afZD.js';
14
15
  export { A as AnchorWrapType } from '../../ImageExtension-BlI5afZD.js';
15
16
  export { B as BorderPreset, T as TableContextInfo, g as getTableContext, i as isInTable } from '../../borders-Z9hPno2u.js';
16
- import 'prosemirror-model';
17
17
  import '../../formatting-_OXU8gLB.js';
18
18
  import '../../colors-C3vA7HUU.js';
19
19
  import '../../marks-CjC9tF5k.js';
@@ -50,6 +50,19 @@ targetRow?: number, targetCol?: number): boolean;
50
50
  * structural and live in a follow-up; this surface only covers anchor↔anchor.
51
51
  */
52
52
 
53
+ /**
54
+ * Insert an image node at `pos`, wrapping with the `insertion` mark when
55
+ * suggesting mode is active. Centralizes the tracked-image-insert flow
56
+ * so React `useFileIO`, Vue `useImageActions`, and clipboard-paste
57
+ * paths all share one source of truth — adding a fresh image in
58
+ * suggesting mode always round-trips as `<w:ins>{run with drawing}</w:ins>`.
59
+ *
60
+ * Caller responsibility: produce the `image` node via `schema.nodes.image.create`.
61
+ * This helper handles the dispatch + optional mark application.
62
+ *
63
+ * @public
64
+ */
65
+ declare function insertImageNode(state: EditorState, dispatch: ((tr: Transaction) => void) | undefined, imageNode: Node, pos: number): boolean;
53
66
  /**
54
67
  * Change a floating image's wrap layout. `pos` is the PM document position of
55
68
  * the image node; `target` is either an OOXML wrap type (square / tight /
@@ -81,20 +94,44 @@ declare function removeCommentMark(commentId: number): Command;
81
94
  * Accept a tracked change at the given range.
82
95
  * - Insertion: remove mark, keep text
83
96
  * - Deletion: remove mark AND text
97
+ *
98
+ * Use {@link acceptChangeById} when accepting a coalesced revision —
99
+ * a single editing session can scatter sites across multiple paragraphs
100
+ * and only the by-id resolver walks every site.
101
+ *
102
+ * @example
103
+ * ```ts
104
+ * import { acceptChange } from '@eigenpal/docx-editor-core/prosemirror/commands';
105
+ * acceptChange(from, to)(view.state, view.dispatch);
106
+ * ```
84
107
  */
85
108
  declare function acceptChange(from: number, to: number): Command;
86
109
  /**
87
110
  * Reject a tracked change at the given range.
88
111
  * - Insertion: remove mark AND text
89
112
  * - Deletion: remove mark, keep text
113
+ *
114
+ * Use {@link rejectChangeById} when rejecting a coalesced revision.
90
115
  */
91
116
  declare function rejectChange(from: number, to: number): Command;
92
117
  /**
93
- * Accept all tracked changes in the document.
118
+ * Accept every tracked change in the document — inline marks plus
119
+ * structural revisions (paragraph-mark, row, cell, property changes).
120
+ *
121
+ * Dispatches one transaction per distinct `revisionId` so each revision
122
+ * remains individually undoable. The acceptance order follows document
123
+ * order; later transactions read fresh state and skip ids whose sites
124
+ * were already removed.
125
+ *
126
+ * @example
127
+ * ```ts
128
+ * import { acceptAllChanges } from '@eigenpal/docx-editor-core/prosemirror/commands';
129
+ * acceptAllChanges()(view.state, view.dispatch);
130
+ * ```
94
131
  */
95
132
  declare function acceptAllChanges(): Command;
96
133
  /**
97
- * Reject all tracked changes in the document.
134
+ * Reject all tracked changes in the document — inverse of `acceptAllChanges`.
98
135
  */
99
136
  declare function rejectAllChanges(): Command;
100
137
  interface ChangeRange {
@@ -103,12 +140,49 @@ interface ChangeRange {
103
140
  type: 'insertion' | 'deletion';
104
141
  }
105
142
  /**
106
- * Find the next tracked change after the given position.
143
+ * Find the next tracked-change range (inline insertion / deletion mark)
144
+ * after `startPos`. Wraps to the document start when no later change is
145
+ * found. Useful for "next change" / "previous change" toolbar buttons.
146
+ *
147
+ * Only walks inline marks — structural revisions (pPrIns / pPrDel / row
148
+ * / cell) are not surfaced here. Use {@link extractTrackedChanges} for a
149
+ * complete revision list.
107
150
  */
108
151
  declare function findNextChange(state: EditorState, startPos: number): ChangeRange | null;
109
152
  /**
110
- * Find the previous tracked change before the given position.
153
+ * Accept every site of a tracked revision in one PM transaction. Walks
154
+ * the doc for all sites carrying `revisionId` — inline insertion/
155
+ * deletion marks, paragraph-mark `pPrIns` / `pPrDel`, paragraph
156
+ * property changes, table row / cell / table revisions — and applies
157
+ * the accept semantics each requires.
158
+ *
159
+ * This is the right command for any coalesced revision (Enter chains,
160
+ * replace pairs, multi-paragraph runs) because one editing session can
161
+ * scatter sites across the doc; the range-based {@link acceptChange}
162
+ * only clears sites within its `(from, to)`.
163
+ *
164
+ * Returns `false` (no-op) if the id is not present.
165
+ *
166
+ * @example
167
+ * ```ts
168
+ * import { acceptChangeById } from '@eigenpal/docx-editor-core/prosemirror/commands';
169
+ * acceptChangeById(revisionId)(view.state, view.dispatch);
170
+ * ```
171
+ */
172
+ declare function acceptChangeById(revisionId: number): Command;
173
+ /**
174
+ * Reject every site of a tracked revision in one PM transaction.
175
+ * Inverse of {@link acceptChangeById} — inserts are removed, deletions
176
+ * keep their text, paragraph-mark insertions join paragraphs back,
177
+ * paragraph-mark deletions stay split, paragraph property changes
178
+ * restore prior values, and tracked row insertions are removed.
179
+ */
180
+ declare function rejectChangeById(revisionId: number): Command;
181
+ /**
182
+ * Find the previous tracked-change range (inline insertion / deletion
183
+ * mark) before `startPos`. Wraps to the document end when no earlier
184
+ * change is found. Counterpart to {@link findNextChange}.
111
185
  */
112
186
  declare function findPreviousChange(state: EditorState, startPos: number): ChangeRange | null;
113
187
 
114
- export { ImageLayoutTarget, SetImageWrapTypeOptions, type SplitCellDialogConfig, acceptAllChanges, acceptChange, addCommentMark, findNextChange, findPreviousChange, getSplitCellDialogConfig, rejectAllChanges, rejectChange, removeCommentMark, setImageWrapType, splitActiveTableCell };
188
+ export { ImageLayoutTarget, SetImageWrapTypeOptions, type SplitCellDialogConfig, acceptAllChanges, acceptChange, acceptChangeById, addCommentMark, findNextChange, findPreviousChange, getSplitCellDialogConfig, insertImageNode, rejectAllChanges, rejectChange, rejectChangeById, removeCommentMark, setImageWrapType, splitActiveTableCell };
@@ -1 +1 @@
1
- 'use strict';var chunkXOH7YAYL_js=require('../../chunk-XOH7YAYL.js'),chunkXBHF5Q2F_js=require('../../chunk-XBHF5Q2F.js'),chunkSAFW7UQZ_js=require('../../chunk-SAFW7UQZ.js'),chunkGGPKPXON_js=require('../../chunk-GGPKPXON.js');require('../../chunk-2KHWHVTA.js'),require('../../chunk-YVYB4YCI.js');var chunkIO6HZ7KR_js=require('../../chunk-IO6HZ7KR.js');require('../../chunk-BHBOAP6Z.js'),require('../../chunk-MZ7LW5CH.js'),require('../../chunk-N3Y5BUKV.js'),require('../../chunk-6LVPRTB6.js');var 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');Object.defineProperty(exports,"acceptAllChanges",{enumerable:true,get:function(){return chunkXOH7YAYL_js.N}});Object.defineProperty(exports,"acceptChange",{enumerable:true,get:function(){return chunkXOH7YAYL_js.L}});Object.defineProperty(exports,"addColumnLeft",{enumerable:true,get:function(){return chunkXOH7YAYL_js.g}});Object.defineProperty(exports,"addColumnRight",{enumerable:true,get:function(){return chunkXOH7YAYL_js.h}});Object.defineProperty(exports,"addCommentMark",{enumerable:true,get:function(){return chunkXOH7YAYL_js.J}});Object.defineProperty(exports,"addRowAbove",{enumerable:true,get:function(){return chunkXOH7YAYL_js.d}});Object.defineProperty(exports,"addRowBelow",{enumerable:true,get:function(){return chunkXOH7YAYL_js.e}});Object.defineProperty(exports,"applyTableStyle",{enumerable:true,get:function(){return chunkXOH7YAYL_js.E}});Object.defineProperty(exports,"autoFitContents",{enumerable:true,get:function(){return chunkXOH7YAYL_js.C}});Object.defineProperty(exports,"deleteColumn",{enumerable:true,get:function(){return chunkXOH7YAYL_js.i}});Object.defineProperty(exports,"deleteRow",{enumerable:true,get:function(){return chunkXOH7YAYL_js.f}});Object.defineProperty(exports,"deleteTable",{enumerable:true,get:function(){return chunkXOH7YAYL_js.j}});Object.defineProperty(exports,"distributeColumns",{enumerable:true,get:function(){return chunkXOH7YAYL_js.B}});Object.defineProperty(exports,"findNextChange",{enumerable:true,get:function(){return chunkXOH7YAYL_js.P}});Object.defineProperty(exports,"findPreviousChange",{enumerable:true,get:function(){return chunkXOH7YAYL_js.Q}});Object.defineProperty(exports,"getSplitCellDialogConfig",{enumerable:true,get:function(){return chunkXOH7YAYL_js.a}});Object.defineProperty(exports,"insertTable",{enumerable:true,get:function(){return chunkXOH7YAYL_js.c}});Object.defineProperty(exports,"mergeCells",{enumerable:true,get:function(){return chunkXOH7YAYL_js.n}});Object.defineProperty(exports,"rejectAllChanges",{enumerable:true,get:function(){return chunkXOH7YAYL_js.O}});Object.defineProperty(exports,"rejectChange",{enumerable:true,get:function(){return chunkXOH7YAYL_js.M}});Object.defineProperty(exports,"removeCommentMark",{enumerable:true,get:function(){return chunkXOH7YAYL_js.K}});Object.defineProperty(exports,"removeTableBorders",{enumerable:true,get:function(){return chunkXOH7YAYL_js.r}});Object.defineProperty(exports,"selectColumn",{enumerable:true,get:function(){return chunkXOH7YAYL_js.m}});Object.defineProperty(exports,"selectRow",{enumerable:true,get:function(){return chunkXOH7YAYL_js.l}});Object.defineProperty(exports,"selectTable",{enumerable:true,get:function(){return chunkXOH7YAYL_js.k}});Object.defineProperty(exports,"setAllTableBorders",{enumerable:true,get:function(){return chunkXOH7YAYL_js.s}});Object.defineProperty(exports,"setCellBorder",{enumerable:true,get:function(){return chunkXOH7YAYL_js.p}});Object.defineProperty(exports,"setCellFillColor",{enumerable:true,get:function(){return chunkXOH7YAYL_js.F}});Object.defineProperty(exports,"setCellMargins",{enumerable:true,get:function(){return chunkXOH7YAYL_js.w}});Object.defineProperty(exports,"setCellTextDirection",{enumerable:true,get:function(){return chunkXOH7YAYL_js.x}});Object.defineProperty(exports,"setCellVerticalAlign",{enumerable:true,get:function(){return chunkXOH7YAYL_js.v}});Object.defineProperty(exports,"setImageWrapType",{enumerable:true,get:function(){return chunkXOH7YAYL_js.I}});Object.defineProperty(exports,"setInsideTableBorders",{enumerable:true,get:function(){return chunkXOH7YAYL_js.u}});Object.defineProperty(exports,"setOutsideTableBorders",{enumerable:true,get:function(){return chunkXOH7YAYL_js.t}});Object.defineProperty(exports,"setRowHeight",{enumerable:true,get:function(){return chunkXOH7YAYL_js.z}});Object.defineProperty(exports,"setTableBorderColor",{enumerable:true,get:function(){return chunkXOH7YAYL_js.G}});Object.defineProperty(exports,"setTableBorderWidth",{enumerable:true,get:function(){return chunkXOH7YAYL_js.H}});Object.defineProperty(exports,"setTableBorders",{enumerable:true,get:function(){return chunkXOH7YAYL_js.q}});Object.defineProperty(exports,"setTableProperties",{enumerable:true,get:function(){return chunkXOH7YAYL_js.D}});Object.defineProperty(exports,"splitActiveTableCell",{enumerable:true,get:function(){return chunkXOH7YAYL_js.b}});Object.defineProperty(exports,"splitCell",{enumerable:true,get:function(){return chunkXOH7YAYL_js.o}});Object.defineProperty(exports,"toggleHeaderRow",{enumerable:true,get:function(){return chunkXOH7YAYL_js.A}});Object.defineProperty(exports,"toggleNoWrap",{enumerable:true,get:function(){return chunkXOH7YAYL_js.y}});Object.defineProperty(exports,"addTabStop",{enumerable:true,get:function(){return chunkXBHF5Q2F_js.z}});Object.defineProperty(exports,"alignCenter",{enumerable:true,get:function(){return chunkXBHF5Q2F_js.c}});Object.defineProperty(exports,"alignJustify",{enumerable:true,get:function(){return chunkXBHF5Q2F_js.e}});Object.defineProperty(exports,"alignLeft",{enumerable:true,get:function(){return chunkXBHF5Q2F_js.b}});Object.defineProperty(exports,"alignRight",{enumerable:true,get:function(){return chunkXBHF5Q2F_js.d}});Object.defineProperty(exports,"applyStyle",{enumerable:true,get:function(){return chunkXBHF5Q2F_js.v}});Object.defineProperty(exports,"clearStyle",{enumerable:true,get:function(){return chunkXBHF5Q2F_js.w}});Object.defineProperty(exports,"decreaseIndent",{enumerable:true,get:function(){return chunkXBHF5Q2F_js.k}});Object.defineProperty(exports,"decreaseListLevel",{enumerable:true,get:function(){return chunkXBHF5Q2F_js.r}});Object.defineProperty(exports,"doubleSpacing",{enumerable:true,get:function(){return chunkXBHF5Q2F_js.i}});Object.defineProperty(exports,"generateTOC",{enumerable:true,get:function(){return chunkXBHF5Q2F_js.D}});Object.defineProperty(exports,"increaseIndent",{enumerable:true,get:function(){return chunkXBHF5Q2F_js.j}});Object.defineProperty(exports,"increaseListLevel",{enumerable:true,get:function(){return chunkXBHF5Q2F_js.q}});Object.defineProperty(exports,"oneAndHalfSpacing",{enumerable:true,get:function(){return chunkXBHF5Q2F_js.h}});Object.defineProperty(exports,"removeList",{enumerable:true,get:function(){return chunkXBHF5Q2F_js.s}});Object.defineProperty(exports,"removeTabStop",{enumerable:true,get:function(){return chunkXBHF5Q2F_js.A}});Object.defineProperty(exports,"setAlignment",{enumerable:true,get:function(){return chunkXBHF5Q2F_js.a}});Object.defineProperty(exports,"setIndentFirstLine",{enumerable:true,get:function(){return chunkXBHF5Q2F_js.n}});Object.defineProperty(exports,"setIndentLeft",{enumerable:true,get:function(){return chunkXBHF5Q2F_js.l}});Object.defineProperty(exports,"setIndentRight",{enumerable:true,get:function(){return chunkXBHF5Q2F_js.m}});Object.defineProperty(exports,"setLineSpacing",{enumerable:true,get:function(){return chunkXBHF5Q2F_js.f}});Object.defineProperty(exports,"setLtr",{enumerable:true,get:function(){return chunkXBHF5Q2F_js.C}});Object.defineProperty(exports,"setRtl",{enumerable:true,get:function(){return chunkXBHF5Q2F_js.B}});Object.defineProperty(exports,"setSpaceAfter",{enumerable:true,get:function(){return chunkXBHF5Q2F_js.u}});Object.defineProperty(exports,"setSpaceBefore",{enumerable:true,get:function(){return chunkXBHF5Q2F_js.t}});Object.defineProperty(exports,"singleSpacing",{enumerable:true,get:function(){return chunkXBHF5Q2F_js.g}});Object.defineProperty(exports,"toggleBulletList",{enumerable:true,get:function(){return chunkXBHF5Q2F_js.o}});Object.defineProperty(exports,"toggleNumberedList",{enumerable:true,get:function(){return chunkXBHF5Q2F_js.p}});Object.defineProperty(exports,"clearFontFamily",{enumerable:true,get:function(){return chunkSAFW7UQZ_js.o}});Object.defineProperty(exports,"clearFontSize",{enumerable:true,get:function(){return chunkSAFW7UQZ_js.m}});Object.defineProperty(exports,"clearHighlight",{enumerable:true,get:function(){return chunkSAFW7UQZ_js.k}});Object.defineProperty(exports,"clearTextColor",{enumerable:true,get:function(){return chunkSAFW7UQZ_js.i}});Object.defineProperty(exports,"insertHyperlink",{enumerable:true,get:function(){return chunkSAFW7UQZ_js.s}});Object.defineProperty(exports,"removeHyperlink",{enumerable:true,get:function(){return chunkSAFW7UQZ_js.r}});Object.defineProperty(exports,"setFontFamily",{enumerable:true,get:function(){return chunkSAFW7UQZ_js.n}});Object.defineProperty(exports,"setFontSize",{enumerable:true,get:function(){return chunkSAFW7UQZ_js.l}});Object.defineProperty(exports,"setHighlight",{enumerable:true,get:function(){return chunkSAFW7UQZ_js.j}});Object.defineProperty(exports,"setHyperlink",{enumerable:true,get:function(){return chunkSAFW7UQZ_js.q}});Object.defineProperty(exports,"setTextColor",{enumerable:true,get:function(){return chunkSAFW7UQZ_js.h}});Object.defineProperty(exports,"setUnderlineStyle",{enumerable:true,get:function(){return chunkSAFW7UQZ_js.p}});Object.defineProperty(exports,"toggleBold",{enumerable:true,get:function(){return chunkSAFW7UQZ_js.b}});Object.defineProperty(exports,"toggleItalic",{enumerable:true,get:function(){return chunkSAFW7UQZ_js.c}});Object.defineProperty(exports,"toggleStrike",{enumerable:true,get:function(){return chunkSAFW7UQZ_js.e}});Object.defineProperty(exports,"toggleSubscript",{enumerable:true,get:function(){return chunkSAFW7UQZ_js.g}});Object.defineProperty(exports,"toggleSuperscript",{enumerable:true,get:function(){return chunkSAFW7UQZ_js.f}});Object.defineProperty(exports,"toggleUnderline",{enumerable:true,get:function(){return chunkSAFW7UQZ_js.d}});Object.defineProperty(exports,"insertPageBreak",{enumerable:true,get:function(){return chunkGGPKPXON_js.a}});Object.defineProperty(exports,"clearFormatting",{enumerable:true,get:function(){return chunkIO6HZ7KR_js.h}});Object.defineProperty(exports,"createRemoveMarkCommand",{enumerable:true,get:function(){return chunkIO6HZ7KR_js.j}});Object.defineProperty(exports,"createSetMarkCommand",{enumerable:true,get:function(){return chunkIO6HZ7KR_js.i}});Object.defineProperty(exports,"findHyperlinkRangeAt",{enumerable:true,get:function(){return chunkIO6HZ7KR_js.n}});Object.defineProperty(exports,"getHyperlinkAttrs",{enumerable:true,get:function(){return chunkIO6HZ7KR_js.l}});Object.defineProperty(exports,"getListInfo",{enumerable:true,get:function(){return chunkIO6HZ7KR_js.p}});Object.defineProperty(exports,"getMarkAttr",{enumerable:true,get:function(){return chunkIO6HZ7KR_js.f}});Object.defineProperty(exports,"getParagraphAlignment",{enumerable:true,get:function(){return chunkIO6HZ7KR_js.a}});Object.defineProperty(exports,"getParagraphBidi",{enumerable:true,get:function(){return chunkIO6HZ7KR_js.d}});Object.defineProperty(exports,"getSelectedText",{enumerable:true,get:function(){return chunkIO6HZ7KR_js.m}});Object.defineProperty(exports,"getStyleId",{enumerable:true,get:function(){return chunkIO6HZ7KR_js.c}});Object.defineProperty(exports,"isHyperlinkActive",{enumerable:true,get:function(){return chunkIO6HZ7KR_js.k}});Object.defineProperty(exports,"isInList",{enumerable:true,get:function(){return chunkIO6HZ7KR_js.o}});Object.defineProperty(exports,"isMarkActive",{enumerable:true,get:function(){return chunkIO6HZ7KR_js.e}});Object.defineProperty(exports,"getTableContext",{enumerable:true,get:function(){return chunkNERY274X_js.e}});Object.defineProperty(exports,"isInTable",{enumerable:true,get:function(){return chunkNERY274X_js.f}});
1
+ 'use strict';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'),require('../../chunk-OAWTQ3IY.js');var 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');require('../../chunk-6LVPRTB6.js');var 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');Object.defineProperty(exports,"acceptAllChanges",{enumerable:true,get:function(){return chunkKGDXHUYC_js.O}});Object.defineProperty(exports,"acceptChange",{enumerable:true,get:function(){return chunkKGDXHUYC_js.M}});Object.defineProperty(exports,"acceptChangeById",{enumerable:true,get:function(){return chunkKGDXHUYC_js.R}});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,"addCommentMark",{enumerable:true,get:function(){return chunkKGDXHUYC_js.K}});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,"findNextChange",{enumerable:true,get:function(){return chunkKGDXHUYC_js.Q}});Object.defineProperty(exports,"findPreviousChange",{enumerable:true,get:function(){return chunkKGDXHUYC_js.T}});Object.defineProperty(exports,"getSplitCellDialogConfig",{enumerable:true,get:function(){return chunkKGDXHUYC_js.a}});Object.defineProperty(exports,"insertImageNode",{enumerable:true,get:function(){return chunkKGDXHUYC_js.I}});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,"rejectAllChanges",{enumerable:true,get:function(){return chunkKGDXHUYC_js.P}});Object.defineProperty(exports,"rejectChange",{enumerable:true,get:function(){return chunkKGDXHUYC_js.N}});Object.defineProperty(exports,"rejectChangeById",{enumerable:true,get:function(){return chunkKGDXHUYC_js.S}});Object.defineProperty(exports,"removeCommentMark",{enumerable:true,get:function(){return chunkKGDXHUYC_js.L}});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,"setImageWrapType",{enumerable:true,get:function(){return chunkKGDXHUYC_js.J}});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,"splitActiveTableCell",{enumerable:true,get:function(){return chunkKGDXHUYC_js.b}});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,"doubleSpacing",{enumerable:true,get:function(){return chunkH42RXHT4_js.i}});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,"oneAndHalfSpacing",{enumerable:true,get:function(){return chunkH42RXHT4_js.h}});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,"setSpaceAfter",{enumerable:true,get:function(){return chunkH42RXHT4_js.u}});Object.defineProperty(exports,"setSpaceBefore",{enumerable:true,get:function(){return chunkH42RXHT4_js.t}});Object.defineProperty(exports,"singleSpacing",{enumerable:true,get:function(){return chunkH42RXHT4_js.g}});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,"setUnderlineStyle",{enumerable:true,get:function(){return chunkW7GLQ6DV_js.p}});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,"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,"createRemoveMarkCommand",{enumerable:true,get:function(){return chunkYTDWMXNS_js.h}});Object.defineProperty(exports,"createSetMarkCommand",{enumerable:true,get:function(){return chunkYTDWMXNS_js.g}});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,"getTableContext",{enumerable:true,get:function(){return chunkTUIEV7Q7_js.a}});Object.defineProperty(exports,"isInTable",{enumerable:true,get:function(){return chunkTUIEV7Q7_js.b}});