@eigenpal/docx-js-editor 0.0.16 → 0.0.19

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 (211) hide show
  1. package/dist/ClipboardManager-D6dkOFg6.d.ts +436 -0
  2. package/dist/ClipboardManager-EZ0C6Onq.d.cts +436 -0
  3. package/dist/{DocumentAgent-Ci6_T-XM.d.ts → DocumentAgent-B0EC8lPC.d.cts} +2 -2
  4. package/dist/{DocumentAgent-DEGFgYEN.d.cts → DocumentAgent-BcCDg7i2.d.ts} +2 -2
  5. package/dist/{FindReplaceDialog-UMXCBBST.js → FindReplaceDialog-AWQXKEUQ.js} +2 -1
  6. package/dist/FindReplaceDialog-AWQXKEUQ.js.map +1 -0
  7. package/dist/FindReplaceDialog-I4SZDSVP.cjs +2 -0
  8. package/dist/FindReplaceDialog-I4SZDSVP.cjs.map +1 -0
  9. package/dist/{FootnotePropertiesDialog-OBQXOBJE.cjs → FootnotePropertiesDialog-73VT2ZVZ.cjs} +2 -1
  10. package/dist/FootnotePropertiesDialog-73VT2ZVZ.cjs.map +1 -0
  11. package/dist/{FootnotePropertiesDialog-TYQGPWPX.js → FootnotePropertiesDialog-ZM3EF3EF.js} +2 -1
  12. package/dist/FootnotePropertiesDialog-ZM3EF3EF.js.map +1 -0
  13. package/dist/{HyperlinkDialog-UOERZIBM.js → HyperlinkDialog-BA25XUT5.js} +2 -1
  14. package/dist/HyperlinkDialog-BA25XUT5.js.map +1 -0
  15. package/dist/HyperlinkDialog-V63LPOT2.cjs +2 -0
  16. package/dist/HyperlinkDialog-V63LPOT2.cjs.map +1 -0
  17. package/dist/{ImagePositionDialog-52FDANUK.js → ImagePositionDialog-AIAMKPFK.js} +2 -1
  18. package/dist/ImagePositionDialog-AIAMKPFK.js.map +1 -0
  19. package/dist/{ImagePositionDialog-ZK5WFBRC.cjs → ImagePositionDialog-KMK7ROV2.cjs} +2 -1
  20. package/dist/ImagePositionDialog-KMK7ROV2.cjs.map +1 -0
  21. package/dist/{ImagePropertiesDialog-YPSLPSF6.js → ImagePropertiesDialog-ERFCUVCW.js} +2 -1
  22. package/dist/ImagePropertiesDialog-ERFCUVCW.js.map +1 -0
  23. package/dist/{ImagePropertiesDialog-LU44RDIY.cjs → ImagePropertiesDialog-USMMRK6X.cjs} +2 -1
  24. package/dist/ImagePropertiesDialog-USMMRK6X.cjs.map +1 -0
  25. package/dist/{TablePropertiesDialog-KMOYHPGF.cjs → TablePropertiesDialog-72CIUAZT.cjs} +2 -1
  26. package/dist/TablePropertiesDialog-72CIUAZT.cjs.map +1 -0
  27. package/dist/{TablePropertiesDialog-OUUJAA7D.js → TablePropertiesDialog-EMUEVYB3.js} +2 -1
  28. package/dist/TablePropertiesDialog-EMUEVYB3.js.map +1 -0
  29. package/dist/{agentApi-CbVUCZRu.d.cts → agentApi-BFVyKagE.d.cts} +143 -2
  30. package/dist/{agentApi-CbVUCZRu.d.ts → agentApi-BFVyKagE.d.ts} +143 -2
  31. package/dist/{chunk-OEOUMSWH.cjs → chunk-2CHPKB5A.cjs} +8 -7
  32. package/dist/chunk-2CHPKB5A.cjs.map +1 -0
  33. package/dist/{chunk-R5SKERM2.js → chunk-2QOEHCBX.js} +2 -1
  34. package/dist/chunk-2QOEHCBX.js.map +1 -0
  35. package/dist/chunk-4QT5LPBA.cjs +24 -0
  36. package/dist/chunk-4QT5LPBA.cjs.map +1 -0
  37. package/dist/chunk-5DYSI4O4.cjs +60 -0
  38. package/dist/chunk-5DYSI4O4.cjs.map +1 -0
  39. package/dist/{chunk-DYQUXFE5.cjs → chunk-5FJXHXFV.cjs} +2 -1
  40. package/dist/chunk-5FJXHXFV.cjs.map +1 -0
  41. package/dist/chunk-6FEWNF6B.js +4 -0
  42. package/dist/chunk-6FEWNF6B.js.map +1 -0
  43. package/dist/chunk-6LF5HZCV.js +10 -0
  44. package/dist/chunk-6LF5HZCV.js.map +1 -0
  45. package/dist/{chunk-EMKABJPH.js → chunk-7JSPKVOW.js} +2 -1
  46. package/dist/chunk-7JSPKVOW.js.map +1 -0
  47. package/dist/chunk-C33XDRDJ.cjs +28 -0
  48. package/dist/chunk-C33XDRDJ.cjs.map +1 -0
  49. package/dist/chunk-CV5WFE7K.js +24 -0
  50. package/dist/chunk-CV5WFE7K.js.map +1 -0
  51. package/dist/{chunk-WFYRA2TH.js → chunk-CXJRNISO.js} +2 -1
  52. package/dist/chunk-CXJRNISO.js.map +1 -0
  53. package/dist/{chunk-VTAS7VZ6.cjs → chunk-DJAEBZ33.cjs} +2 -1
  54. package/dist/chunk-DJAEBZ33.cjs.map +1 -0
  55. package/dist/chunk-DP6Q75ZD.js +28 -0
  56. package/dist/chunk-DP6Q75ZD.js.map +1 -0
  57. package/dist/chunk-FDANI5P4.cjs +2 -0
  58. package/dist/chunk-FDANI5P4.cjs.map +1 -0
  59. package/dist/chunk-FGVGZLBL.js +2 -0
  60. package/dist/chunk-FGVGZLBL.js.map +1 -0
  61. package/dist/{chunk-SF53KLDZ.cjs → chunk-GJ4GKSDU.cjs} +2 -1
  62. package/dist/chunk-GJ4GKSDU.cjs.map +1 -0
  63. package/dist/{chunk-FYAWM7MP.cjs → chunk-GWBTKVFD.cjs} +2 -1
  64. package/dist/chunk-GWBTKVFD.cjs.map +1 -0
  65. package/dist/{chunk-WFWLPKQA.js → chunk-JOYPFQW2.js} +2 -1
  66. package/dist/chunk-JOYPFQW2.js.map +1 -0
  67. package/dist/{chunk-ZDYHAYN6.js → chunk-L54YNLSE.js} +2 -1
  68. package/dist/chunk-L54YNLSE.js.map +1 -0
  69. package/dist/chunk-LPGMLJMO.js +259 -0
  70. package/dist/chunk-LPGMLJMO.js.map +1 -0
  71. package/dist/{chunk-CTYOM6BE.js → chunk-M2T6XKT5.js} +2 -1
  72. package/dist/chunk-M2T6XKT5.js.map +1 -0
  73. package/dist/chunk-OHG7ROFC.js +11 -0
  74. package/dist/chunk-OHG7ROFC.js.map +1 -0
  75. package/dist/chunk-PANKMCFX.cjs +4 -0
  76. package/dist/chunk-PANKMCFX.cjs.map +1 -0
  77. package/dist/{chunk-PJVI53AH.js → chunk-Q6HUGWO6.js} +2 -1
  78. package/dist/chunk-Q6HUGWO6.js.map +1 -0
  79. package/dist/{chunk-MLSHZVL7.js → chunk-QDV75OJ4.js} +8 -7
  80. package/dist/chunk-QDV75OJ4.js.map +1 -0
  81. package/dist/chunk-QEBO3EQP.cjs +2 -0
  82. package/dist/chunk-QEBO3EQP.cjs.map +1 -0
  83. package/dist/chunk-QVIZ775M.cjs +259 -0
  84. package/dist/chunk-QVIZ775M.cjs.map +1 -0
  85. package/dist/chunk-RMUMR42R.cjs +10 -0
  86. package/dist/chunk-RMUMR42R.cjs.map +1 -0
  87. package/dist/{chunk-XS2AQFMF.cjs → chunk-S26DZVRQ.cjs} +2 -1
  88. package/dist/chunk-S26DZVRQ.cjs.map +1 -0
  89. package/dist/{chunk-L34XFLQZ.cjs → chunk-T2HQYRA7.cjs} +2 -1
  90. package/dist/chunk-T2HQYRA7.cjs.map +1 -0
  91. package/dist/chunk-ULXNEG66.js +60 -0
  92. package/dist/chunk-ULXNEG66.js.map +1 -0
  93. package/dist/{chunk-PXC7ARQB.cjs → chunk-WD2HTKRR.cjs} +2 -1
  94. package/dist/chunk-WD2HTKRR.cjs.map +1 -0
  95. package/dist/chunk-XZNOV52K.cjs +11 -0
  96. package/dist/chunk-XZNOV52K.cjs.map +1 -0
  97. package/dist/chunk-Y6VCTLCJ.js +2 -0
  98. package/dist/chunk-Y6VCTLCJ.js.map +1 -0
  99. package/dist/{clipboard-Cx7cb3kX.d.cts → clipboard-CqE-UZ2d.d.cts} +1 -1
  100. package/dist/{clipboard-BOocwmAM.d.ts → clipboard-beGtyabO.d.ts} +1 -1
  101. package/dist/{colorResolver-KXbUgzWC.d.ts → colorResolver-B5YbO_a4.d.ts} +170 -170
  102. package/dist/{colorResolver-CIDiSPWd.d.cts → colorResolver-Cu46bSKr.d.cts} +170 -170
  103. package/dist/core-plugins-reexport.cjs +2 -0
  104. package/dist/core-plugins-reexport.cjs.map +1 -0
  105. package/dist/{core-plugins.d.cts → core-plugins-reexport.d.cts} +4 -4
  106. package/dist/{core-plugins.d.ts → core-plugins-reexport.d.ts} +4 -4
  107. package/dist/core-plugins-reexport.js +2 -0
  108. package/dist/core-plugins-reexport.js.map +1 -0
  109. package/dist/core-reexport.cjs +2 -0
  110. package/dist/core-reexport.cjs.map +1 -0
  111. package/dist/core-reexport.d.cts +309 -0
  112. package/dist/core-reexport.d.ts +309 -0
  113. package/dist/core-reexport.js +2 -0
  114. package/dist/core-reexport.js.map +1 -0
  115. package/dist/executor-K5RXUTTR.js +2 -0
  116. package/dist/executor-K5RXUTTR.js.map +1 -0
  117. package/dist/executor-XIPIU3H4.cjs +2 -0
  118. package/dist/executor-XIPIU3H4.cjs.map +1 -0
  119. package/dist/{insertOperations-CzB5b-Of.d.ts → fontLoader-CFKpg0Ri.d.ts} +86 -86
  120. package/dist/{insertOperations-DKVmCV32.d.cts → fontLoader-HZYfILUm.d.cts} +86 -86
  121. package/dist/headless-reexport.cjs +5 -0
  122. package/dist/headless-reexport.cjs.map +1 -0
  123. package/dist/{headless.d.cts → headless-reexport.d.cts} +7 -7
  124. package/dist/{headless.d.ts → headless-reexport.d.ts} +7 -7
  125. package/dist/{headless.js → headless-reexport.js} +3 -2
  126. package/dist/headless-reexport.js.map +1 -0
  127. package/dist/index.cjs +6 -5
  128. package/dist/index.cjs.map +1 -0
  129. package/dist/index.css +1 -0
  130. package/dist/index.css.map +1 -0
  131. package/dist/index.d.cts +15 -13
  132. package/dist/index.d.ts +15 -13
  133. package/dist/index.js +6 -5
  134. package/dist/index.js.map +1 -0
  135. package/dist/{mcp.cjs → mcp-reexport.cjs} +11 -10
  136. package/dist/mcp-reexport.cjs.map +1 -0
  137. package/dist/{mcp.d.cts → mcp-reexport.d.cts} +2 -2
  138. package/dist/{mcp.d.ts → mcp-reexport.d.ts} +2 -2
  139. package/dist/{mcp.js → mcp-reexport.js} +10 -9
  140. package/dist/mcp-reexport.js.map +1 -0
  141. package/dist/{processTemplate-RJN6452W.js → processTemplate-G37IM66O.js} +2 -1
  142. package/dist/processTemplate-G37IM66O.js.map +1 -0
  143. package/dist/processTemplate-RFBGVH7T.cjs +2 -0
  144. package/dist/processTemplate-RFBGVH7T.cjs.map +1 -0
  145. package/dist/{react-BZxD04XV.d.ts → react-BjOCdeTs.d.ts} +43 -366
  146. package/dist/{react-D8eAYckC.d.cts → react-UzAn4o7l.d.cts} +43 -366
  147. package/dist/react.cjs +2 -1
  148. package/dist/react.cjs.map +1 -0
  149. package/dist/react.css +1 -0
  150. package/dist/react.css.map +1 -0
  151. package/dist/react.d.cts +6 -5
  152. package/dist/react.d.ts +6 -5
  153. package/dist/react.js +2 -1
  154. package/dist/react.js.map +1 -0
  155. package/dist/{registry-D4tvj9f3.d.ts → registry-CV6nYWqP.d.ts} +1 -1
  156. package/dist/{registry-ngv6Bumt.d.cts → registry-DjacfR6Q.d.cts} +1 -1
  157. package/dist/selectionRects-6DU7HN7E.js +2 -0
  158. package/dist/selectionRects-6DU7HN7E.js.map +1 -0
  159. package/dist/selectionRects-YZSC24ZP.cjs +2 -0
  160. package/dist/selectionRects-YZSC24ZP.cjs.map +1 -0
  161. package/dist/styles.css +1 -1
  162. package/dist/{types-D96elyJF.d.cts → types-Bnp8rvJn.d.cts} +2 -2
  163. package/dist/{types-xMzSPT4i.d.ts → types-DwZ3xysp.d.ts} +2 -2
  164. package/dist/ui.cjs +2 -1
  165. package/dist/ui.cjs.map +1 -0
  166. package/dist/ui.d.cts +3 -3
  167. package/dist/ui.d.ts +3 -3
  168. package/dist/ui.js +2 -1
  169. package/dist/ui.js.map +1 -0
  170. package/dist/{variableDetector-DeM1N-_L.d.ts → variableDetector-BaDeXz7D.d.ts} +1 -1
  171. package/dist/{variableDetector-CPxKo9jP.d.cts → variableDetector-CMhJtM96.d.cts} +1 -1
  172. package/package.json +26 -79
  173. package/LICENSE +0 -21
  174. package/README.md +0 -171
  175. package/dist/FindReplaceDialog-46BE7Q2G.cjs +0 -1
  176. package/dist/HyperlinkDialog-22NH7ZLP.cjs +0 -1
  177. package/dist/chunk-24N3L4IL.cjs +0 -258
  178. package/dist/chunk-2ASOEN3V.js +0 -1
  179. package/dist/chunk-46OFHSPJ.cjs +0 -2
  180. package/dist/chunk-65OFYOHF.cjs +0 -58
  181. package/dist/chunk-6YFGCUHU.js +0 -4
  182. package/dist/chunk-ESI4BSBF.js +0 -1
  183. package/dist/chunk-GLFFXY2X.js +0 -258
  184. package/dist/chunk-ITWEFKGQ.cjs +0 -1
  185. package/dist/chunk-JKN7TNPA.js +0 -12
  186. package/dist/chunk-KESNGXGO.js +0 -1
  187. package/dist/chunk-NO7WUK5E.cjs +0 -12
  188. package/dist/chunk-NT2REEAA.cjs +0 -1
  189. package/dist/chunk-O7QVCJN6.cjs +0 -4
  190. package/dist/chunk-OW5H5DNE.cjs +0 -1
  191. package/dist/chunk-OWMXCVKB.js +0 -1
  192. package/dist/chunk-RM3ITJ2H.cjs +0 -10
  193. package/dist/chunk-TOI5W3HK.js +0 -8
  194. package/dist/chunk-UAVOWAIF.cjs +0 -8
  195. package/dist/chunk-ULNHBTYA.js +0 -2
  196. package/dist/chunk-UXXV4GT6.js +0 -10
  197. package/dist/chunk-VOWKSURW.cjs +0 -1
  198. package/dist/chunk-YMXKVLTU.js +0 -58
  199. package/dist/core-plugins.cjs +0 -1
  200. package/dist/core-plugins.js +0 -1
  201. package/dist/core.cjs +0 -1
  202. package/dist/core.d.cts +0 -23
  203. package/dist/core.d.ts +0 -23
  204. package/dist/core.js +0 -1
  205. package/dist/executor-ITYZTNSH.cjs +0 -1
  206. package/dist/executor-TC7CLATE.js +0 -1
  207. package/dist/headless.cjs +0 -4
  208. package/dist/mcp-cli.js +0 -136
  209. package/dist/processTemplate-525HZL4S.cjs +0 -1
  210. package/dist/selectionRects-PQEUEW35.cjs +0 -1
  211. package/dist/selectionRects-QAG5RSHD.js +0 -1
@@ -645,6 +645,8 @@ interface Run {
645
645
  type: 'run';
646
646
  /** Text formatting properties */
647
647
  formatting?: TextFormatting;
648
+ /** Run-level tracked property changes (w:rPrChange) */
649
+ propertyChanges?: RunPropertyChange[];
648
650
  /** Run content (text, tabs, breaks, etc.) */
649
651
  content: RunContent[];
650
652
  }
@@ -965,6 +967,10 @@ interface TableCell {
965
967
  type: 'tableCell';
966
968
  /** Cell formatting */
967
969
  formatting?: TableCellFormatting;
970
+ /** Cell-level tracked property changes (w:tcPrChange) */
971
+ propertyChanges?: TableCellPropertyChange[];
972
+ /** Tracked structural changes (cell insert/delete/merge) */
973
+ structuralChange?: TableStructuralChangeInfo;
968
974
  /** Cell content (paragraphs, tables, etc.) */
969
975
  content: (Paragraph | Table)[];
970
976
  }
@@ -975,6 +981,10 @@ interface TableRow {
975
981
  type: 'tableRow';
976
982
  /** Row formatting */
977
983
  formatting?: TableRowFormatting;
984
+ /** Row-level tracked property changes (w:trPrChange) */
985
+ propertyChanges?: TableRowPropertyChange[];
986
+ /** Tracked structural changes (row insert/delete) */
987
+ structuralChange?: TableStructuralChangeInfo;
978
988
  /** Cells in this row */
979
989
  cells: TableCell[];
980
990
  }
@@ -985,6 +995,8 @@ interface Table {
985
995
  type: 'table';
986
996
  /** Table formatting */
987
997
  formatting?: TableFormatting;
998
+ /** Table-level tracked property changes (w:tblPrChange) */
999
+ propertyChanges?: TablePropertyChange[];
988
1000
  /** Column widths in twips */
989
1001
  columnWidths?: number[];
990
1002
  /** Table rows */
@@ -1046,6 +1058,13 @@ interface TrackedChangeInfo {
1046
1058
  /** Date of the change */
1047
1059
  date?: string;
1048
1060
  }
1061
+ /**
1062
+ * Generic tracked property-change wrapper metadata (w:*PrChange)
1063
+ */
1064
+ interface PropertyChangeInfo extends TrackedChangeInfo {
1065
+ /** Optional revision session ID */
1066
+ rsid?: string;
1067
+ }
1049
1068
  /**
1050
1069
  * Insertion wrapper (w:ins) — runs inserted by tracked changes
1051
1070
  */
@@ -1066,6 +1085,126 @@ interface Deletion {
1066
1085
  /** Deleted content */
1067
1086
  content: (Run | Hyperlink)[];
1068
1087
  }
1088
+ /**
1089
+ * Move-from wrapper (w:moveFrom) — content moved away from this position
1090
+ */
1091
+ interface MoveFrom {
1092
+ type: 'moveFrom';
1093
+ /** Tracked change metadata */
1094
+ info: TrackedChangeInfo;
1095
+ /** Moved content */
1096
+ content: (Run | Hyperlink)[];
1097
+ }
1098
+ /**
1099
+ * Move-to wrapper (w:moveTo) — content moved into this position
1100
+ */
1101
+ interface MoveTo {
1102
+ type: 'moveTo';
1103
+ /** Tracked change metadata */
1104
+ info: TrackedChangeInfo;
1105
+ /** Moved content */
1106
+ content: (Run | Hyperlink)[];
1107
+ }
1108
+ /**
1109
+ * Move-from range start marker (w:moveFromRangeStart) — ECMA-376 §17.13.5.22
1110
+ * Pairs with moveFromRangeEnd to delimit the source of a move in the document.
1111
+ */
1112
+ interface MoveFromRangeStart {
1113
+ type: 'moveFromRangeStart';
1114
+ id: number;
1115
+ name: string;
1116
+ }
1117
+ /**
1118
+ * Move-from range end marker (w:moveFromRangeEnd)
1119
+ */
1120
+ interface MoveFromRangeEnd {
1121
+ type: 'moveFromRangeEnd';
1122
+ id: number;
1123
+ }
1124
+ /**
1125
+ * Move-to range start marker (w:moveToRangeStart) — ECMA-376 §17.13.5.24
1126
+ * Pairs with moveToRangeEnd to delimit the destination of a move.
1127
+ */
1128
+ interface MoveToRangeStart {
1129
+ type: 'moveToRangeStart';
1130
+ id: number;
1131
+ name: string;
1132
+ }
1133
+ /**
1134
+ * Move-to range end marker (w:moveToRangeEnd)
1135
+ */
1136
+ interface MoveToRangeEnd {
1137
+ type: 'moveToRangeEnd';
1138
+ id: number;
1139
+ }
1140
+ /**
1141
+ * Run property change (w:rPrChange)
1142
+ */
1143
+ interface RunPropertyChange {
1144
+ type: 'runPropertyChange';
1145
+ /** Tracked change metadata */
1146
+ info: PropertyChangeInfo;
1147
+ /** Run properties before the tracked change */
1148
+ previousFormatting?: TextFormatting;
1149
+ /** Run properties after the tracked change (editor model convenience) */
1150
+ currentFormatting?: TextFormatting;
1151
+ }
1152
+ /**
1153
+ * Paragraph property change (w:pPrChange)
1154
+ */
1155
+ interface ParagraphPropertyChange {
1156
+ type: 'paragraphPropertyChange';
1157
+ /** Tracked change metadata */
1158
+ info: PropertyChangeInfo;
1159
+ /** Paragraph properties before the tracked change */
1160
+ previousFormatting?: ParagraphFormatting;
1161
+ /** Paragraph properties after the tracked change (editor model convenience) */
1162
+ currentFormatting?: ParagraphFormatting;
1163
+ }
1164
+ /**
1165
+ * Table property change (w:tblPrChange)
1166
+ */
1167
+ interface TablePropertyChange {
1168
+ type: 'tablePropertyChange';
1169
+ /** Tracked change metadata */
1170
+ info: PropertyChangeInfo;
1171
+ /** Table properties before the tracked change */
1172
+ previousFormatting?: TableFormatting;
1173
+ /** Table properties after the tracked change (editor model convenience) */
1174
+ currentFormatting?: TableFormatting;
1175
+ }
1176
+ /**
1177
+ * Table row property change (w:trPrChange)
1178
+ */
1179
+ interface TableRowPropertyChange {
1180
+ type: 'tableRowPropertyChange';
1181
+ /** Tracked change metadata */
1182
+ info: PropertyChangeInfo;
1183
+ /** Row properties before the tracked change */
1184
+ previousFormatting?: TableRowFormatting;
1185
+ /** Row properties after the tracked change (editor model convenience) */
1186
+ currentFormatting?: TableRowFormatting;
1187
+ }
1188
+ /**
1189
+ * Table cell property change (w:tcPrChange)
1190
+ */
1191
+ interface TableCellPropertyChange {
1192
+ type: 'tableCellPropertyChange';
1193
+ /** Tracked change metadata */
1194
+ info: PropertyChangeInfo;
1195
+ /** Cell properties before the tracked change */
1196
+ previousFormatting?: TableCellFormatting;
1197
+ /** Cell properties after the tracked change (editor model convenience) */
1198
+ currentFormatting?: TableCellFormatting;
1199
+ }
1200
+ /**
1201
+ * Table structural tracked change metadata (row/cell insert/delete/merge)
1202
+ */
1203
+ interface TableStructuralChangeInfo {
1204
+ type: 'tableRowInsertion' | 'tableRowDeletion' | 'tableCellInsertion' | 'tableCellDeletion' | 'tableCellMerge';
1205
+ /** Tracked change metadata */
1206
+ info: TrackedChangeInfo;
1207
+ }
1069
1208
  /**
1070
1209
  * SDT type (content control type)
1071
1210
  */
@@ -1119,7 +1258,7 @@ interface BlockSdt {
1119
1258
  /**
1120
1259
  * Paragraph content types
1121
1260
  */
1122
- type ParagraphContent = Run | Hyperlink | BookmarkStart | BookmarkEnd | SimpleField | ComplexField | InlineSdt | CommentRangeStart | CommentRangeEnd | Insertion | Deletion | MathEquation;
1261
+ type ParagraphContent = Run | Hyperlink | BookmarkStart | BookmarkEnd | SimpleField | ComplexField | InlineSdt | CommentRangeStart | CommentRangeEnd | Insertion | Deletion | MoveFrom | MoveTo | MoveFromRangeStart | MoveFromRangeEnd | MoveToRangeStart | MoveToRangeEnd | MathEquation;
1123
1262
  /**
1124
1263
  * Paragraph (w:p)
1125
1264
  */
@@ -1131,6 +1270,8 @@ interface Paragraph {
1131
1270
  textId?: string;
1132
1271
  /** Paragraph formatting */
1133
1272
  formatting?: ParagraphFormatting;
1273
+ /** Paragraph-level tracked property changes (w:pPrChange) */
1274
+ propertyChanges?: ParagraphPropertyChange[];
1134
1275
  /** Paragraph content */
1135
1276
  content: ParagraphContent[];
1136
1277
  /** Computed list rendering (if this is a list item) */
@@ -2083,4 +2224,4 @@ declare const DEFAULT_AI_ACTIONS: AIAction[];
2083
2224
  */
2084
2225
  declare function createCommand<T extends AgentCommand>(command: Omit<T, 'id'>): T;
2085
2226
 
2086
- export { type ThemeFontScheme as $, type AIAction as A, type BlockContent as B, type SelectionContext as C, type DeleteTextCommand as D, type Endnote as E, type Field as F, type SetVariableCommand as G, type HeaderFooter as H, type Image as I, type Shape as J, type Style as K, type ListLevel as L, type StyleDefinitions as M, type NumberingDefinitions as N, type SuggestedAction as O, type Paragraph as P, type TableCell as Q, type Range as R, type SectionProperties as S, type Table as T, type TableRow as U, type TextBox as V, type TextContent as W, type TextFormatting as X, type Theme as Y, type ThemeColorScheme as Z, type ThemeFont as _, type AIActionRequest as a, type ApplyVariablesCommand as a0, DEFAULT_AI_ACTIONS as a1, type FormatParagraphCommand as a2, type ParagraphOutline as a3, type SectionInfo as a4, type StyleInfo as a5, comparePositions as a6, createCollapsedRange as a7, createCommand as a8, createRange as a9, getActionDescription as aa, getActionLabel as ab, isPositionInRange as ac, type BreakContent as ad, type ColorValue as ae, type ThemeColorSlot as af, type ParagraphAlignment as ag, type StyleType as ah, type TabStop as ai, type ShadingProperties as aj, type AgentCommand as b, type AgentContext as c, type AgentResponse as d, type ApplyStyleCommand as e, type BookmarkEnd as f, type BookmarkStart as g, type Document as h, type DocumentBody as i, type DocxPackage as j, type FooterReference as k, type Footnote as l, type FormatTextCommand as m, type HeaderReference as n, type Hyperlink as o, type InsertHyperlinkCommand as p, type InsertImageCommand as q, type InsertTableCommand as r, type InsertTextCommand as s, type ParagraphContext as t, type ParagraphFormatting as u, type Position as v, type Relationship as w, type ReplaceTextCommand as x, type Run as y, type RunContent as z };
2227
+ export { createRange as $, type AgentCommand as A, type BreakContent as B, type SectionProperties as C, type Document as D, type Endnote as E, type Footnote as F, type SelectionContext as G, type Hyperlink as H, type Image as I, type SetVariableCommand as J, type Style as K, type ListLevel as L, type StyleDefinitions as M, type NumberingDefinitions as N, type StyleInfo as O, type Position as P, type SuggestedAction as Q, type Range as R, type SectionInfo as S, type TextFormatting as T, type TableCell as U, type TableRow as V, type TextContent as W, type Theme as X, comparePositions as Y, createCollapsedRange as Z, createCommand as _, type Paragraph as a, getActionDescription as a0, getActionLabel as a1, isPositionInRange as a2, type BookmarkEnd as a3, type BookmarkStart as a4, type Field as a5, type FooterReference as a6, type HeaderFooter as a7, type HeaderReference as a8, type Shape as a9, type TextBox as aa, type ThemeColorScheme as ab, type ThemeFont as ac, type ThemeFontScheme as ad, type ColorValue as ae, type ThemeColorSlot as af, type ParagraphAlignment as ag, type StyleType as ah, type TabStop as ai, type ShadingProperties as aj, type Run as b, type RunContent as c, type DocumentBody as d, type Table as e, type AIAction as f, type AIActionRequest as g, type AgentContext as h, type AgentResponse as i, type ApplyStyleCommand as j, type ApplyVariablesCommand as k, type BlockContent as l, DEFAULT_AI_ACTIONS as m, type DeleteTextCommand as n, type DocxPackage as o, type FormatParagraphCommand as p, type FormatTextCommand as q, type InsertHyperlinkCommand as r, type InsertImageCommand as s, type InsertTableCommand as t, type InsertTextCommand as u, type ParagraphContext as v, type ParagraphFormatting as w, type ParagraphOutline as x, type Relationship as y, type ReplaceTextCommand as z };
@@ -645,6 +645,8 @@ interface Run {
645
645
  type: 'run';
646
646
  /** Text formatting properties */
647
647
  formatting?: TextFormatting;
648
+ /** Run-level tracked property changes (w:rPrChange) */
649
+ propertyChanges?: RunPropertyChange[];
648
650
  /** Run content (text, tabs, breaks, etc.) */
649
651
  content: RunContent[];
650
652
  }
@@ -965,6 +967,10 @@ interface TableCell {
965
967
  type: 'tableCell';
966
968
  /** Cell formatting */
967
969
  formatting?: TableCellFormatting;
970
+ /** Cell-level tracked property changes (w:tcPrChange) */
971
+ propertyChanges?: TableCellPropertyChange[];
972
+ /** Tracked structural changes (cell insert/delete/merge) */
973
+ structuralChange?: TableStructuralChangeInfo;
968
974
  /** Cell content (paragraphs, tables, etc.) */
969
975
  content: (Paragraph | Table)[];
970
976
  }
@@ -975,6 +981,10 @@ interface TableRow {
975
981
  type: 'tableRow';
976
982
  /** Row formatting */
977
983
  formatting?: TableRowFormatting;
984
+ /** Row-level tracked property changes (w:trPrChange) */
985
+ propertyChanges?: TableRowPropertyChange[];
986
+ /** Tracked structural changes (row insert/delete) */
987
+ structuralChange?: TableStructuralChangeInfo;
978
988
  /** Cells in this row */
979
989
  cells: TableCell[];
980
990
  }
@@ -985,6 +995,8 @@ interface Table {
985
995
  type: 'table';
986
996
  /** Table formatting */
987
997
  formatting?: TableFormatting;
998
+ /** Table-level tracked property changes (w:tblPrChange) */
999
+ propertyChanges?: TablePropertyChange[];
988
1000
  /** Column widths in twips */
989
1001
  columnWidths?: number[];
990
1002
  /** Table rows */
@@ -1046,6 +1058,13 @@ interface TrackedChangeInfo {
1046
1058
  /** Date of the change */
1047
1059
  date?: string;
1048
1060
  }
1061
+ /**
1062
+ * Generic tracked property-change wrapper metadata (w:*PrChange)
1063
+ */
1064
+ interface PropertyChangeInfo extends TrackedChangeInfo {
1065
+ /** Optional revision session ID */
1066
+ rsid?: string;
1067
+ }
1049
1068
  /**
1050
1069
  * Insertion wrapper (w:ins) — runs inserted by tracked changes
1051
1070
  */
@@ -1066,6 +1085,126 @@ interface Deletion {
1066
1085
  /** Deleted content */
1067
1086
  content: (Run | Hyperlink)[];
1068
1087
  }
1088
+ /**
1089
+ * Move-from wrapper (w:moveFrom) — content moved away from this position
1090
+ */
1091
+ interface MoveFrom {
1092
+ type: 'moveFrom';
1093
+ /** Tracked change metadata */
1094
+ info: TrackedChangeInfo;
1095
+ /** Moved content */
1096
+ content: (Run | Hyperlink)[];
1097
+ }
1098
+ /**
1099
+ * Move-to wrapper (w:moveTo) — content moved into this position
1100
+ */
1101
+ interface MoveTo {
1102
+ type: 'moveTo';
1103
+ /** Tracked change metadata */
1104
+ info: TrackedChangeInfo;
1105
+ /** Moved content */
1106
+ content: (Run | Hyperlink)[];
1107
+ }
1108
+ /**
1109
+ * Move-from range start marker (w:moveFromRangeStart) — ECMA-376 §17.13.5.22
1110
+ * Pairs with moveFromRangeEnd to delimit the source of a move in the document.
1111
+ */
1112
+ interface MoveFromRangeStart {
1113
+ type: 'moveFromRangeStart';
1114
+ id: number;
1115
+ name: string;
1116
+ }
1117
+ /**
1118
+ * Move-from range end marker (w:moveFromRangeEnd)
1119
+ */
1120
+ interface MoveFromRangeEnd {
1121
+ type: 'moveFromRangeEnd';
1122
+ id: number;
1123
+ }
1124
+ /**
1125
+ * Move-to range start marker (w:moveToRangeStart) — ECMA-376 §17.13.5.24
1126
+ * Pairs with moveToRangeEnd to delimit the destination of a move.
1127
+ */
1128
+ interface MoveToRangeStart {
1129
+ type: 'moveToRangeStart';
1130
+ id: number;
1131
+ name: string;
1132
+ }
1133
+ /**
1134
+ * Move-to range end marker (w:moveToRangeEnd)
1135
+ */
1136
+ interface MoveToRangeEnd {
1137
+ type: 'moveToRangeEnd';
1138
+ id: number;
1139
+ }
1140
+ /**
1141
+ * Run property change (w:rPrChange)
1142
+ */
1143
+ interface RunPropertyChange {
1144
+ type: 'runPropertyChange';
1145
+ /** Tracked change metadata */
1146
+ info: PropertyChangeInfo;
1147
+ /** Run properties before the tracked change */
1148
+ previousFormatting?: TextFormatting;
1149
+ /** Run properties after the tracked change (editor model convenience) */
1150
+ currentFormatting?: TextFormatting;
1151
+ }
1152
+ /**
1153
+ * Paragraph property change (w:pPrChange)
1154
+ */
1155
+ interface ParagraphPropertyChange {
1156
+ type: 'paragraphPropertyChange';
1157
+ /** Tracked change metadata */
1158
+ info: PropertyChangeInfo;
1159
+ /** Paragraph properties before the tracked change */
1160
+ previousFormatting?: ParagraphFormatting;
1161
+ /** Paragraph properties after the tracked change (editor model convenience) */
1162
+ currentFormatting?: ParagraphFormatting;
1163
+ }
1164
+ /**
1165
+ * Table property change (w:tblPrChange)
1166
+ */
1167
+ interface TablePropertyChange {
1168
+ type: 'tablePropertyChange';
1169
+ /** Tracked change metadata */
1170
+ info: PropertyChangeInfo;
1171
+ /** Table properties before the tracked change */
1172
+ previousFormatting?: TableFormatting;
1173
+ /** Table properties after the tracked change (editor model convenience) */
1174
+ currentFormatting?: TableFormatting;
1175
+ }
1176
+ /**
1177
+ * Table row property change (w:trPrChange)
1178
+ */
1179
+ interface TableRowPropertyChange {
1180
+ type: 'tableRowPropertyChange';
1181
+ /** Tracked change metadata */
1182
+ info: PropertyChangeInfo;
1183
+ /** Row properties before the tracked change */
1184
+ previousFormatting?: TableRowFormatting;
1185
+ /** Row properties after the tracked change (editor model convenience) */
1186
+ currentFormatting?: TableRowFormatting;
1187
+ }
1188
+ /**
1189
+ * Table cell property change (w:tcPrChange)
1190
+ */
1191
+ interface TableCellPropertyChange {
1192
+ type: 'tableCellPropertyChange';
1193
+ /** Tracked change metadata */
1194
+ info: PropertyChangeInfo;
1195
+ /** Cell properties before the tracked change */
1196
+ previousFormatting?: TableCellFormatting;
1197
+ /** Cell properties after the tracked change (editor model convenience) */
1198
+ currentFormatting?: TableCellFormatting;
1199
+ }
1200
+ /**
1201
+ * Table structural tracked change metadata (row/cell insert/delete/merge)
1202
+ */
1203
+ interface TableStructuralChangeInfo {
1204
+ type: 'tableRowInsertion' | 'tableRowDeletion' | 'tableCellInsertion' | 'tableCellDeletion' | 'tableCellMerge';
1205
+ /** Tracked change metadata */
1206
+ info: TrackedChangeInfo;
1207
+ }
1069
1208
  /**
1070
1209
  * SDT type (content control type)
1071
1210
  */
@@ -1119,7 +1258,7 @@ interface BlockSdt {
1119
1258
  /**
1120
1259
  * Paragraph content types
1121
1260
  */
1122
- type ParagraphContent = Run | Hyperlink | BookmarkStart | BookmarkEnd | SimpleField | ComplexField | InlineSdt | CommentRangeStart | CommentRangeEnd | Insertion | Deletion | MathEquation;
1261
+ type ParagraphContent = Run | Hyperlink | BookmarkStart | BookmarkEnd | SimpleField | ComplexField | InlineSdt | CommentRangeStart | CommentRangeEnd | Insertion | Deletion | MoveFrom | MoveTo | MoveFromRangeStart | MoveFromRangeEnd | MoveToRangeStart | MoveToRangeEnd | MathEquation;
1123
1262
  /**
1124
1263
  * Paragraph (w:p)
1125
1264
  */
@@ -1131,6 +1270,8 @@ interface Paragraph {
1131
1270
  textId?: string;
1132
1271
  /** Paragraph formatting */
1133
1272
  formatting?: ParagraphFormatting;
1273
+ /** Paragraph-level tracked property changes (w:pPrChange) */
1274
+ propertyChanges?: ParagraphPropertyChange[];
1134
1275
  /** Paragraph content */
1135
1276
  content: ParagraphContent[];
1136
1277
  /** Computed list rendering (if this is a list item) */
@@ -2083,4 +2224,4 @@ declare const DEFAULT_AI_ACTIONS: AIAction[];
2083
2224
  */
2084
2225
  declare function createCommand<T extends AgentCommand>(command: Omit<T, 'id'>): T;
2085
2226
 
2086
- export { type ThemeFontScheme as $, type AIAction as A, type BlockContent as B, type SelectionContext as C, type DeleteTextCommand as D, type Endnote as E, type Field as F, type SetVariableCommand as G, type HeaderFooter as H, type Image as I, type Shape as J, type Style as K, type ListLevel as L, type StyleDefinitions as M, type NumberingDefinitions as N, type SuggestedAction as O, type Paragraph as P, type TableCell as Q, type Range as R, type SectionProperties as S, type Table as T, type TableRow as U, type TextBox as V, type TextContent as W, type TextFormatting as X, type Theme as Y, type ThemeColorScheme as Z, type ThemeFont as _, type AIActionRequest as a, type ApplyVariablesCommand as a0, DEFAULT_AI_ACTIONS as a1, type FormatParagraphCommand as a2, type ParagraphOutline as a3, type SectionInfo as a4, type StyleInfo as a5, comparePositions as a6, createCollapsedRange as a7, createCommand as a8, createRange as a9, getActionDescription as aa, getActionLabel as ab, isPositionInRange as ac, type BreakContent as ad, type ColorValue as ae, type ThemeColorSlot as af, type ParagraphAlignment as ag, type StyleType as ah, type TabStop as ai, type ShadingProperties as aj, type AgentCommand as b, type AgentContext as c, type AgentResponse as d, type ApplyStyleCommand as e, type BookmarkEnd as f, type BookmarkStart as g, type Document as h, type DocumentBody as i, type DocxPackage as j, type FooterReference as k, type Footnote as l, type FormatTextCommand as m, type HeaderReference as n, type Hyperlink as o, type InsertHyperlinkCommand as p, type InsertImageCommand as q, type InsertTableCommand as r, type InsertTextCommand as s, type ParagraphContext as t, type ParagraphFormatting as u, type Position as v, type Relationship as w, type ReplaceTextCommand as x, type Run as y, type RunContent as z };
2227
+ export { createRange as $, type AgentCommand as A, type BreakContent as B, type SectionProperties as C, type Document as D, type Endnote as E, type Footnote as F, type SelectionContext as G, type Hyperlink as H, type Image as I, type SetVariableCommand as J, type Style as K, type ListLevel as L, type StyleDefinitions as M, type NumberingDefinitions as N, type StyleInfo as O, type Position as P, type SuggestedAction as Q, type Range as R, type SectionInfo as S, type TextFormatting as T, type TableCell as U, type TableRow as V, type TextContent as W, type Theme as X, comparePositions as Y, createCollapsedRange as Z, createCommand as _, type Paragraph as a, getActionDescription as a0, getActionLabel as a1, isPositionInRange as a2, type BookmarkEnd as a3, type BookmarkStart as a4, type Field as a5, type FooterReference as a6, type HeaderFooter as a7, type HeaderReference as a8, type Shape as a9, type TextBox as aa, type ThemeColorScheme as ab, type ThemeFont as ac, type ThemeFontScheme as ad, type ColorValue as ae, type ThemeColorSlot as af, type ParagraphAlignment as ag, type StyleType as ah, type TabStop as ai, type ShadingProperties as aj, type Run as b, type RunContent as c, type DocumentBody as d, type Table as e, type AIAction as f, type AIActionRequest as g, type AgentContext as h, type AgentResponse as i, type ApplyStyleCommand as j, type ApplyVariablesCommand as k, type BlockContent as l, DEFAULT_AI_ACTIONS as m, type DeleteTextCommand as n, type DocxPackage as o, type FormatParagraphCommand as p, type FormatTextCommand as q, type InsertHyperlinkCommand as r, type InsertImageCommand as s, type InsertTableCommand as t, type InsertTextCommand as u, type ParagraphContext as v, type ParagraphFormatting as w, type ParagraphOutline as x, type Relationship as y, type ReplaceTextCommand as z };