js.documents 6.0.0 → 6.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 (246) hide show
  1. package/README.md +283 -115
  2. package/dist/bin-dispatch.d.cts +2 -2
  3. package/dist/bin-dispatch.d.ts +2 -2
  4. package/dist/{blr-types-DVgO1DQ9.d.cts → blr-types-CMN0QKUE.d.cts} +1 -1
  5. package/dist/{blr-types-DVgO1DQ9.d.ts → blr-types-CMN0QKUE.d.ts} +1 -1
  6. package/dist/{capability-an5gSNsu.d.cts → capability-BZ3iNsWh.d.cts} +1 -1
  7. package/dist/{capability-DX0lCSiI.d.ts → capability-D-a4okp0.d.ts} +1 -1
  8. package/dist/{cell-typing-CEWlywIc.d.cts → cell-typing-BQ-xQ5X5.d.cts} +4 -4
  9. package/dist/{cell-typing-CEWlywIc.d.ts → cell-typing-BQ-xQ5X5.d.ts} +4 -4
  10. package/dist/codecs/read.d.cts +1 -1
  11. package/dist/codecs/read.d.ts +1 -1
  12. package/dist/convert/capability.d.cts +1 -1
  13. package/dist/convert/capability.d.ts +1 -1
  14. package/dist/convert/composition.d.cts +8 -8
  15. package/dist/convert/composition.d.ts +8 -8
  16. package/dist/convert/convert.d.cts +3 -3
  17. package/dist/convert/convert.d.ts +3 -3
  18. package/dist/convert/port.d.cts +1 -1
  19. package/dist/convert/port.d.ts +1 -1
  20. package/dist/convert/variant-bridges.d.cts +3 -3
  21. package/dist/convert/variant-bridges.d.ts +3 -3
  22. package/dist/csv/read.d.cts +1 -1
  23. package/dist/csv/read.d.ts +1 -1
  24. package/dist/csv/records.cjs +1 -1
  25. package/dist/csv/records.js +1 -1
  26. package/dist/csv/write.d.cts +2 -2
  27. package/dist/csv/write.d.ts +2 -2
  28. package/dist/{diagnostics-C5-bG09J.d.cts → diagnostics-DdO0xPGy.d.cts} +1 -1
  29. package/dist/{diagnostics-C5-bG09J.d.ts → diagnostics-DdO0xPGy.d.ts} +1 -1
  30. package/dist/edit/docx/content.d.cts +1 -1
  31. package/dist/edit/docx/content.d.ts +1 -1
  32. package/dist/edit/docx/image.d.cts +1 -1
  33. package/dist/edit/docx/image.d.ts +1 -1
  34. package/dist/edit/docx/paragraph.cjs +1 -1
  35. package/dist/edit/docx/paragraph.d.cts +6 -6
  36. package/dist/edit/docx/paragraph.d.ts +6 -6
  37. package/dist/edit/docx/paragraph.js +1 -1
  38. package/dist/edit/docx/props.d.cts +4 -4
  39. package/dist/edit/docx/props.d.ts +4 -4
  40. package/dist/edit/docx/table.d.cts +1 -1
  41. package/dist/edit/docx/table.d.ts +1 -1
  42. package/dist/edit/markdown/list.d.cts +1 -1
  43. package/dist/edit/markdown/list.d.ts +1 -1
  44. package/dist/edit/odg/page.d.cts +3 -3
  45. package/dist/edit/odg/page.d.ts +3 -3
  46. package/dist/edit/odg/vector.d.cts +1 -1
  47. package/dist/edit/odg/vector.d.ts +1 -1
  48. package/dist/edit/odp/image.d.cts +1 -1
  49. package/dist/edit/odp/image.d.ts +1 -1
  50. package/dist/edit/odp/shape.d.cts +1 -1
  51. package/dist/edit/odp/shape.d.ts +1 -1
  52. package/dist/edit/odp/slide.d.cts +4 -4
  53. package/dist/edit/odp/slide.d.ts +4 -4
  54. package/dist/edit/odt/content.d.cts +3 -3
  55. package/dist/edit/odt/content.d.ts +3 -3
  56. package/dist/edit/odt/editor.d.cts +3 -3
  57. package/dist/edit/odt/editor.d.ts +3 -3
  58. package/dist/edit/odt/image.d.cts +1 -1
  59. package/dist/edit/odt/image.d.ts +1 -1
  60. package/dist/edit/odt/list.d.cts +1 -1
  61. package/dist/edit/odt/list.d.ts +1 -1
  62. package/dist/edit/odt/paragraph.cjs +1 -1
  63. package/dist/edit/odt/paragraph.d.cts +1 -1
  64. package/dist/edit/odt/paragraph.d.ts +1 -1
  65. package/dist/edit/odt/paragraph.js +1 -1
  66. package/dist/edit/odt/table.d.cts +1 -1
  67. package/dist/edit/odt/table.d.ts +1 -1
  68. package/dist/edit/pdf/item.cjs +1 -1
  69. package/dist/edit/pdf/item.d.cts +1 -1
  70. package/dist/edit/pdf/item.d.ts +1 -1
  71. package/dist/edit/pdf/item.js +1 -1
  72. package/dist/edit/pdf/page.d.cts +1 -1
  73. package/dist/edit/pdf/page.d.ts +1 -1
  74. package/dist/edit/pdf/util.d.cts +1 -1
  75. package/dist/edit/pdf/util.d.ts +1 -1
  76. package/dist/edit/pptx/content.cjs +1 -1
  77. package/dist/edit/pptx/content.d.cts +1 -1
  78. package/dist/edit/pptx/content.d.ts +1 -1
  79. package/dist/edit/pptx/content.js +1 -1
  80. package/dist/edit/pptx/editor.cjs +1 -1
  81. package/dist/edit/pptx/editor.js +1 -1
  82. package/dist/edit/pptx/image.d.cts +1 -1
  83. package/dist/edit/pptx/image.d.ts +1 -1
  84. package/dist/edit/pptx/shape.d.cts +1 -1
  85. package/dist/edit/pptx/shape.d.ts +1 -1
  86. package/dist/edit/pptx/slide.d.cts +3 -3
  87. package/dist/edit/pptx/slide.d.ts +3 -3
  88. package/dist/edit/pptx/table.d.cts +1 -1
  89. package/dist/edit/pptx/table.d.ts +1 -1
  90. package/dist/{evaluate-BU5N1Jk1.d.ts → evaluate-Cu7iEnxX.d.ts} +1 -1
  91. package/dist/{evaluate-BhMXY6DM.d.cts → evaluate-Rl9P68se.d.cts} +1 -1
  92. package/dist/firebird/blr-types.d.cts +1 -1
  93. package/dist/firebird/blr-types.d.ts +1 -1
  94. package/dist/firebird/schema.d.cts +1 -1
  95. package/dist/firebird/schema.d.ts +1 -1
  96. package/dist/fonts/ooxml.d.cts +1 -1
  97. package/dist/fonts/ooxml.d.ts +1 -1
  98. package/dist/fonts/registry.d.cts +1 -1
  99. package/dist/fonts/registry.d.ts +1 -1
  100. package/dist/{formula-Cs0IexVi.d.cts → formula-BH1FBblm.d.cts} +1 -1
  101. package/dist/{formula-_8feXQH7.d.cts → formula-BpuJ3ae0.d.cts} +1 -1
  102. package/dist/{formula-DDSYieJg.d.ts → formula-Cb-LRoIE.d.ts} +1 -1
  103. package/dist/{formula-BKgIMfhi.d.ts → formula-DF4R1QEJ.d.ts} +1 -1
  104. package/dist/{image-DRqXQmEg.d.cts → image-BQ7F9xxz.d.cts} +1 -1
  105. package/dist/{image-DRqXQmEg.d.ts → image-BQ7F9xxz.d.ts} +1 -1
  106. package/dist/{image-CRgc_j2Q.d.cts → image-CwbCQ49u.d.ts} +2 -2
  107. package/dist/{image-Biwtr667.d.ts → image-DQxA-zGN.d.cts} +1 -1
  108. package/dist/{image-Biwtr667.d.cts → image-DQxA-zGN.d.ts} +1 -1
  109. package/dist/{image-3ql9_z1y.d.ts → image-DzqEWMDw.d.cts} +1 -1
  110. package/dist/{image-3ql9_z1y.d.cts → image-DzqEWMDw.d.ts} +1 -1
  111. package/dist/{image-CyYr22TE.d.ts → image-fah3VkZg.d.cts} +2 -2
  112. package/dist/index.d.cts +19 -19
  113. package/dist/index.d.ts +19 -19
  114. package/dist/{item-DhXpJNAQ.d.cts → item-SUC4uKDO.d.cts} +5 -5
  115. package/dist/{item-DhXpJNAQ.d.ts → item-SUC4uKDO.d.ts} +5 -5
  116. package/dist/latex/diagnostics.d.cts +1 -1
  117. package/dist/latex/diagnostics.d.ts +1 -1
  118. package/dist/latex/lint.cjs +4 -6
  119. package/dist/latex/lint.d.cts +1 -1
  120. package/dist/latex/lint.d.ts +1 -1
  121. package/dist/latex/lint.js +4 -6
  122. package/dist/latex/lower.cjs +1 -1
  123. package/dist/latex/lower.d.cts +1 -1
  124. package/dist/latex/lower.d.ts +1 -1
  125. package/dist/latex/lower.js +1 -1
  126. package/dist/latex/symbols.d.cts +1 -1
  127. package/dist/latex/symbols.d.ts +1 -1
  128. package/dist/latex/temml.d.cts +2 -2
  129. package/dist/latex/temml.d.ts +2 -2
  130. package/dist/layout/cell-typing.d.cts +1 -1
  131. package/dist/layout/cell-typing.d.ts +1 -1
  132. package/dist/layout/drawing.d.cts +1 -1
  133. package/dist/layout/drawing.d.ts +1 -1
  134. package/dist/layout/engine.d.cts +1 -1
  135. package/dist/layout/engine.d.ts +1 -1
  136. package/dist/layout/reconstruct.cjs +1 -1
  137. package/dist/layout/reconstruct.d.cts +1 -1
  138. package/dist/layout/reconstruct.d.ts +1 -1
  139. package/dist/layout/reconstruct.js +1 -1
  140. package/dist/layout/sheets.d.cts +1 -1
  141. package/dist/layout/sheets.d.ts +1 -1
  142. package/dist/layout/slides.d.cts +1 -1
  143. package/dist/layout/slides.d.ts +1 -1
  144. package/dist/layout/text-layout.d.cts +1 -1
  145. package/dist/layout/text-layout.d.ts +1 -1
  146. package/dist/{lexer-DGPWx_f2.d.cts → lexer-DgsW7jMA.d.cts} +9 -9
  147. package/dist/{lexer-DGPWx_f2.d.ts → lexer-DgsW7jMA.d.ts} +9 -9
  148. package/dist/{list-C55W_YCp.d.ts → list-B_Sy668f.d.ts} +1 -1
  149. package/dist/{list-lTB3eDLC.d.cts → list-BiTN6oop.d.cts} +1 -1
  150. package/dist/markdown/math.d.cts +1 -1
  151. package/dist/markdown/math.d.ts +1 -1
  152. package/dist/markdown/render.d.cts +1 -1
  153. package/dist/markdown/render.d.ts +1 -1
  154. package/dist/mathml/layout-types.d.cts +1 -1
  155. package/dist/mathml/layout-types.d.ts +1 -1
  156. package/dist/mathml/layout.d.cts +2 -2
  157. package/dist/mathml/layout.d.ts +2 -2
  158. package/dist/mathml/nodes.d.cts +1 -1
  159. package/dist/mathml/nodes.d.ts +1 -1
  160. package/dist/mathml/variant.d.cts +1 -1
  161. package/dist/mathml/variant.d.ts +1 -1
  162. package/dist/model/embedded-drawing.d.cts +1 -1
  163. package/dist/model/embedded-drawing.d.ts +1 -1
  164. package/dist/model/paint-order.d.cts +2 -2
  165. package/dist/model/paint-order.d.ts +2 -2
  166. package/dist/{nodes-pArN9ilm.d.cts → nodes-jrlUmrNs.d.cts} +3 -3
  167. package/dist/{nodes-pArN9ilm.d.ts → nodes-jrlUmrNs.d.ts} +3 -3
  168. package/dist/odb/formula/evaluate.d.cts +4 -4
  169. package/dist/odb/formula/evaluate.d.ts +4 -4
  170. package/dist/odb/formula/parser.d.cts +6 -6
  171. package/dist/odb/formula/parser.d.ts +6 -6
  172. package/dist/odb/read.d.cts +1 -1
  173. package/dist/odb/read.d.ts +1 -1
  174. package/dist/odb/report/render.d.cts +1 -1
  175. package/dist/odb/report/render.d.ts +1 -1
  176. package/dist/odb/report/source.d.cts +1 -1
  177. package/dist/odb/report/source.d.ts +1 -1
  178. package/dist/odb/sql/evaluate.d.cts +1 -1
  179. package/dist/odb/sql/evaluate.d.ts +1 -1
  180. package/dist/odb/sql/lexer.d.cts +1 -1
  181. package/dist/odb/sql/lexer.d.ts +1 -1
  182. package/dist/odb/sql/parser.d.cts +1 -1
  183. package/dist/odb/sql/parser.d.ts +1 -1
  184. package/dist/odb/values.d.cts +1 -1
  185. package/dist/odb/values.d.ts +1 -1
  186. package/dist/odf/vector/detect.cjs +1 -1
  187. package/dist/odf/vector/detect.js +1 -1
  188. package/dist/odf-package/media.d.cts +1 -1
  189. package/dist/odf-package/media.d.ts +1 -1
  190. package/dist/omml/read.d.cts +1 -1
  191. package/dist/omml/read.d.ts +1 -1
  192. package/dist/omml/shared.d.cts +1 -1
  193. package/dist/omml/shared.d.ts +1 -1
  194. package/dist/omml/write.d.cts +1 -1
  195. package/dist/omml/write.d.ts +1 -1
  196. package/dist/ooxml/docx/embedded-objects.cjs +10 -24
  197. package/dist/ooxml/docx/embedded-objects.d.cts +1 -1
  198. package/dist/ooxml/docx/embedded-objects.d.ts +1 -1
  199. package/dist/ooxml/docx/embedded-objects.js +10 -24
  200. package/dist/ooxml/docx/formula.d.cts +1 -1
  201. package/dist/ooxml/docx/formula.d.ts +1 -1
  202. package/dist/ooxml/docx/read.d.cts +1 -1
  203. package/dist/ooxml/docx/read.d.ts +1 -1
  204. package/dist/ooxml/pptx/formula.d.cts +1 -1
  205. package/dist/ooxml/pptx/formula.d.ts +1 -1
  206. package/dist/ooxml/pptx/read.d.cts +1 -1
  207. package/dist/ooxml/pptx/read.d.ts +1 -1
  208. package/dist/ooxml/pptx/vector.cjs +1 -1
  209. package/dist/ooxml/pptx/vector.js +1 -1
  210. package/dist/opc/media.d.cts +1 -1
  211. package/dist/opc/media.d.ts +1 -1
  212. package/dist/opc/rels.d.cts +1 -1
  213. package/dist/opc/rels.d.ts +1 -1
  214. package/dist/{paragraph-CoPeTuHR.d.cts → paragraph-BBmkECjw.d.cts} +1 -1
  215. package/dist/{paragraph--69uh-Ys.d.ts → paragraph-D_fDin5K.d.ts} +1 -1
  216. package/dist/{parser-DQSgYJzQ.d.ts → parser-D0IJI7LA.d.ts} +22 -22
  217. package/dist/{parser-B9vC1T6T.d.cts → parser-DYfiAasj.d.cts} +22 -22
  218. package/dist/{registry-BcBT-bnX.d.cts → registry-913jEe6-.d.ts} +3 -3
  219. package/dist/{registry-D1Pu5XxB.d.ts → registry-Bs4IHqVQ.d.cts} +3 -3
  220. package/dist/{shape-DyIjuKE9.d.ts → shape-BY5P8kDn.d.ts} +2 -2
  221. package/dist/{shape-CaG-RPiz.d.cts → shape-Ca-xsrde.d.cts} +2 -2
  222. package/dist/{shape-CLHm7U8Y.d.cts → shape-DqkYq1OL.d.cts} +2 -2
  223. package/dist/{shape-Dnz6-wmG.d.ts → shape-xpgICOEx.d.ts} +2 -2
  224. package/dist/{shared-DUOzjwcL.d.ts → shared-DHu5jDJf.d.ts} +2 -2
  225. package/dist/{shared-DLZ3IQUl.d.cts → shared-c0Lp3_iY.d.cts} +2 -2
  226. package/dist/svg/paint.d.cts +5 -5
  227. package/dist/svg/paint.d.ts +5 -5
  228. package/dist/svg/path.d.cts +2 -2
  229. package/dist/svg/path.d.ts +2 -2
  230. package/dist/svg/write.d.cts +2 -2
  231. package/dist/svg/write.d.ts +2 -2
  232. package/dist/{table-CTeOe_vm.d.ts → table-C3VWWdjr.d.ts} +1 -1
  233. package/dist/{table-DH0lJRVv.d.cts → table-C_KDsX5R.d.cts} +1 -1
  234. package/dist/{table-BxMiEZXd.d.ts → table-Ck0fyr8d.d.ts} +1 -1
  235. package/dist/{table-C_tSXnbt.d.cts → table-CpEmblWG.d.cts} +1 -1
  236. package/dist/{values-BetetbaH.d.cts → values-BBN9E8dV.d.cts} +5 -5
  237. package/dist/{values-BetetbaH.d.ts → values-BBN9E8dV.d.ts} +5 -5
  238. package/dist/{variant-BMrebjMw.d.cts → variant-uwYyRetr.d.cts} +1 -1
  239. package/dist/{variant-BMrebjMw.d.ts → variant-uwYyRetr.d.ts} +1 -1
  240. package/dist/{vector-D03KX8Ux.d.cts → vector-DDP7hgvm.d.cts} +2 -2
  241. package/dist/{vector-D03KX8Ux.d.ts → vector-DDP7hgvm.d.ts} +2 -2
  242. package/dist/{write-BQ6SK8r8.d.cts → write-DWupt1QI.d.cts} +2 -2
  243. package/dist/{write-THs7ipBq.d.ts → write-qKlz1R0J.d.ts} +2 -2
  244. package/dist/xml/odf-text.cjs +1 -1
  245. package/dist/xml/odf-text.js +1 -1
  246. package/package.json +7 -16
@@ -85,7 +85,6 @@ function spliceContainerBlocks(blocks, containerChildren, pageSize, sourcePathPr
85
85
  require_ooxml_docx_formula.collectBodyTables(containerChildren, tableElements);
86
86
  let paragraphOrdinal = 0;
87
87
  let tableOrdinal = 0;
88
- let mutated = false;
89
88
  const placements = [];
90
89
  const consumedIndices = /* @__PURE__ */ new Set();
91
90
  const rebuiltBlocks = blocks.map((block, blockIndex) => {
@@ -95,28 +94,22 @@ function spliceContainerBlocks(blocks, containerChildren, pageSize, sourcePathPr
95
94
  if (paragraph === void 0) return block;
96
95
  const { placements: paragraphPlacements, consume } = paragraphEmbeddings(block, paragraph, blockIndex, onMathDiagnostic);
97
96
  if (paragraphPlacements.length > 0) placements.push(...paragraphPlacements);
98
- if (consume) {
99
- consumedIndices.add(blockIndex);
100
- mutated = true;
101
- }
97
+ if (consume) consumedIndices.add(blockIndex);
102
98
  return block;
103
99
  }
104
100
  if (block.kind === "table") {
105
101
  const tableElement = tableElements[tableOrdinal];
106
102
  tableOrdinal += 1;
107
103
  if (tableElement === void 0) return block;
108
- const rebuilt = rebuildTable(block, tableElement, pageSize, `${sourcePathPrefix}[${blockIndex}]`, onMathDiagnostic);
109
- if (rebuilt !== block) mutated = true;
110
- return rebuilt;
104
+ return rebuildTable(block, tableElement, pageSize, `${sourcePathPrefix}[${blockIndex}]`, onMathDiagnostic);
111
105
  }
112
106
  return block;
113
107
  });
114
- if (!mutated && placements.length === 0) return [...blocks];
108
+ if (!(consumedIndices.size > 0 || rebuiltBlocks.some((block, index) => block !== blocks[index])) && placements.length === 0) return [...blocks];
115
109
  return require_model_block_splice.spliceBlocks(rebuiltBlocks, placements, consumedIndices, (position) => `${sourcePathPrefix}[${position}]`);
116
110
  }
117
111
  function rebuildTable(table, tblElement, pageSize, blockPath, onMathDiagnostic) {
118
112
  const rowElements = (0, ooxml_js.childrenWithTag)(tblElement, "w:tr");
119
- let changed = false;
120
113
  const rows = table.rows.map((row, rowIndex) => {
121
114
  const rowElement = rowElements[rowIndex];
122
115
  const cellElements = rowElement === void 0 ? [] : (0, ooxml_js.childrenWithTag)(rowElement, "w:tc");
@@ -124,19 +117,17 @@ function rebuildTable(table, tblElement, pageSize, blockPath, onMathDiagnostic)
124
117
  const cellElement = cellElements[cellIndex];
125
118
  if (cellElement === void 0) return cell;
126
119
  const blocks = spliceContainerBlocks(cell.blocks, cellElement.children, pageSize, `${blockPath}.rows[${rowIndex}].cells[${cellIndex}].blocks`, onMathDiagnostic);
127
- if (blocks === cell.blocks) return cell;
128
- changed = true;
129
- return {
120
+ return blocks === cell.blocks ? cell : {
130
121
  ...cell,
131
122
  blocks
132
123
  };
133
124
  });
134
- return changed ? {
125
+ return cells.some((cell, index) => cell !== row.cells[index]) ? {
135
126
  ...row,
136
127
  cells
137
128
  } : row;
138
129
  });
139
- return changed ? {
130
+ return rows.some((row, index) => row !== table.rows[index]) ? {
140
131
  ...table,
141
132
  rows
142
133
  } : table;
@@ -152,7 +143,6 @@ function spliceDocxEmbeddedObjects(sections, bodyChildren, onMathDiagnostic) {
152
143
  for (const [sectionIndex, section] of sections.entries()) {
153
144
  const placements = [];
154
145
  const consumedIndices = /* @__PURE__ */ new Set();
155
- let mutated = false;
156
146
  const rebuiltBlocks = section.blocks.map((block, blockIndex) => {
157
147
  if (block.kind === "paragraph") {
158
148
  const paragraph = paragraphElements[paragraphOrdinal];
@@ -160,23 +150,19 @@ function spliceDocxEmbeddedObjects(sections, bodyChildren, onMathDiagnostic) {
160
150
  if (paragraph === void 0) return block;
161
151
  const { placements: paragraphPlacements, consume } = paragraphEmbeddings(block, paragraph, blockIndex, onMathDiagnostic);
162
152
  if (paragraphPlacements.length > 0) placements.push(...paragraphPlacements);
163
- if (consume) {
164
- consumedIndices.add(blockIndex);
165
- mutated = true;
166
- }
153
+ if (consume) consumedIndices.add(blockIndex);
167
154
  return block;
168
155
  }
169
156
  if (block.kind === "table") {
170
157
  const tableElement = tableElements[tableOrdinal];
171
158
  tableOrdinal += 1;
172
159
  if (tableElement === void 0) return block;
173
- const rebuilt = rebuildTable(block, tableElement, section.pageSize, `sections[${sectionIndex}].blocks`, onMathDiagnostic);
174
- if (rebuilt !== block) mutated = true;
175
- return rebuilt;
160
+ return rebuildTable(block, tableElement, section.pageSize, `sections[${sectionIndex}].blocks`, onMathDiagnostic);
176
161
  }
177
162
  return block;
178
163
  });
179
- if (placements.length === 0 && consumedIndices.size === 0 && !mutated) {
164
+ const rebuiltAnyBlock = rebuiltBlocks.some((block, index) => block !== section.blocks[index]);
165
+ if (placements.length === 0 && consumedIndices.size === 0 && !rebuiltAnyBlock) {
180
166
  out.push(section);
181
167
  continue;
182
168
  }
@@ -1,4 +1,4 @@
1
- import { t as OmmlDiagnosticSink } from "../../formula-_8feXQH7.cjs";
1
+ import { t as OmmlDiagnosticSink } from "../../formula-BpuJ3ae0.cjs";
2
2
  import { ContentSection } from "document-schema.js";
3
3
  import { XmlNode } from "ooxml.js";
4
4
  //#region src/ooxml/docx/embedded-objects.d.ts
@@ -1,4 +1,4 @@
1
- import { t as OmmlDiagnosticSink } from "../../formula-DDSYieJg.js";
1
+ import { t as OmmlDiagnosticSink } from "../../formula-Cb-LRoIE.js";
2
2
  import { XmlNode } from "ooxml.js";
3
3
  import { ContentSection } from "document-schema.js";
4
4
  //#region src/ooxml/docx/embedded-objects.d.ts
@@ -84,7 +84,6 @@ function spliceContainerBlocks(blocks, containerChildren, pageSize, sourcePathPr
84
84
  collectBodyTables(containerChildren, tableElements);
85
85
  let paragraphOrdinal = 0;
86
86
  let tableOrdinal = 0;
87
- let mutated = false;
88
87
  const placements = [];
89
88
  const consumedIndices = /* @__PURE__ */ new Set();
90
89
  const rebuiltBlocks = blocks.map((block, blockIndex) => {
@@ -94,28 +93,22 @@ function spliceContainerBlocks(blocks, containerChildren, pageSize, sourcePathPr
94
93
  if (paragraph === void 0) return block;
95
94
  const { placements: paragraphPlacements, consume } = paragraphEmbeddings(block, paragraph, blockIndex, onMathDiagnostic);
96
95
  if (paragraphPlacements.length > 0) placements.push(...paragraphPlacements);
97
- if (consume) {
98
- consumedIndices.add(blockIndex);
99
- mutated = true;
100
- }
96
+ if (consume) consumedIndices.add(blockIndex);
101
97
  return block;
102
98
  }
103
99
  if (block.kind === "table") {
104
100
  const tableElement = tableElements[tableOrdinal];
105
101
  tableOrdinal += 1;
106
102
  if (tableElement === void 0) return block;
107
- const rebuilt = rebuildTable(block, tableElement, pageSize, `${sourcePathPrefix}[${blockIndex}]`, onMathDiagnostic);
108
- if (rebuilt !== block) mutated = true;
109
- return rebuilt;
103
+ return rebuildTable(block, tableElement, pageSize, `${sourcePathPrefix}[${blockIndex}]`, onMathDiagnostic);
110
104
  }
111
105
  return block;
112
106
  });
113
- if (!mutated && placements.length === 0) return [...blocks];
107
+ if (!(consumedIndices.size > 0 || rebuiltBlocks.some((block, index) => block !== blocks[index])) && placements.length === 0) return [...blocks];
114
108
  return spliceBlocks(rebuiltBlocks, placements, consumedIndices, (position) => `${sourcePathPrefix}[${position}]`);
115
109
  }
116
110
  function rebuildTable(table, tblElement, pageSize, blockPath, onMathDiagnostic) {
117
111
  const rowElements = childrenWithTag(tblElement, "w:tr");
118
- let changed = false;
119
112
  const rows = table.rows.map((row, rowIndex) => {
120
113
  const rowElement = rowElements[rowIndex];
121
114
  const cellElements = rowElement === void 0 ? [] : childrenWithTag(rowElement, "w:tc");
@@ -123,19 +116,17 @@ function rebuildTable(table, tblElement, pageSize, blockPath, onMathDiagnostic)
123
116
  const cellElement = cellElements[cellIndex];
124
117
  if (cellElement === void 0) return cell;
125
118
  const blocks = spliceContainerBlocks(cell.blocks, cellElement.children, pageSize, `${blockPath}.rows[${rowIndex}].cells[${cellIndex}].blocks`, onMathDiagnostic);
126
- if (blocks === cell.blocks) return cell;
127
- changed = true;
128
- return {
119
+ return blocks === cell.blocks ? cell : {
129
120
  ...cell,
130
121
  blocks
131
122
  };
132
123
  });
133
- return changed ? {
124
+ return cells.some((cell, index) => cell !== row.cells[index]) ? {
134
125
  ...row,
135
126
  cells
136
127
  } : row;
137
128
  });
138
- return changed ? {
129
+ return rows.some((row, index) => row !== table.rows[index]) ? {
139
130
  ...table,
140
131
  rows
141
132
  } : table;
@@ -151,7 +142,6 @@ function spliceDocxEmbeddedObjects(sections, bodyChildren, onMathDiagnostic) {
151
142
  for (const [sectionIndex, section] of sections.entries()) {
152
143
  const placements = [];
153
144
  const consumedIndices = /* @__PURE__ */ new Set();
154
- let mutated = false;
155
145
  const rebuiltBlocks = section.blocks.map((block, blockIndex) => {
156
146
  if (block.kind === "paragraph") {
157
147
  const paragraph = paragraphElements[paragraphOrdinal];
@@ -159,23 +149,19 @@ function spliceDocxEmbeddedObjects(sections, bodyChildren, onMathDiagnostic) {
159
149
  if (paragraph === void 0) return block;
160
150
  const { placements: paragraphPlacements, consume } = paragraphEmbeddings(block, paragraph, blockIndex, onMathDiagnostic);
161
151
  if (paragraphPlacements.length > 0) placements.push(...paragraphPlacements);
162
- if (consume) {
163
- consumedIndices.add(blockIndex);
164
- mutated = true;
165
- }
152
+ if (consume) consumedIndices.add(blockIndex);
166
153
  return block;
167
154
  }
168
155
  if (block.kind === "table") {
169
156
  const tableElement = tableElements[tableOrdinal];
170
157
  tableOrdinal += 1;
171
158
  if (tableElement === void 0) return block;
172
- const rebuilt = rebuildTable(block, tableElement, section.pageSize, `sections[${sectionIndex}].blocks`, onMathDiagnostic);
173
- if (rebuilt !== block) mutated = true;
174
- return rebuilt;
159
+ return rebuildTable(block, tableElement, section.pageSize, `sections[${sectionIndex}].blocks`, onMathDiagnostic);
175
160
  }
176
161
  return block;
177
162
  });
178
- if (placements.length === 0 && consumedIndices.size === 0 && !mutated) {
163
+ const rebuiltAnyBlock = rebuiltBlocks.some((block, index) => block !== section.blocks[index]);
164
+ if (placements.length === 0 && consumedIndices.size === 0 && !rebuiltAnyBlock) {
179
165
  out.push(section);
180
166
  continue;
181
167
  }
@@ -1,2 +1,2 @@
1
- import { a as equationFrame, i as collectBodyTables, n as PARAGRAPH_NON_CONTENT_TAGS, r as collectBodyParagraphs, t as OmmlDiagnosticSink } from "../../formula-_8feXQH7.cjs";
1
+ import { a as equationFrame, i as collectBodyTables, n as PARAGRAPH_NON_CONTENT_TAGS, r as collectBodyParagraphs, t as OmmlDiagnosticSink } from "../../formula-BpuJ3ae0.cjs";
2
2
  export { OmmlDiagnosticSink, PARAGRAPH_NON_CONTENT_TAGS, collectBodyParagraphs, collectBodyTables, equationFrame };
@@ -1,2 +1,2 @@
1
- import { a as equationFrame, i as collectBodyTables, n as PARAGRAPH_NON_CONTENT_TAGS, r as collectBodyParagraphs, t as OmmlDiagnosticSink } from "../../formula-DDSYieJg.js";
1
+ import { a as equationFrame, i as collectBodyTables, n as PARAGRAPH_NON_CONTENT_TAGS, r as collectBodyParagraphs, t as OmmlDiagnosticSink } from "../../formula-Cb-LRoIE.js";
2
2
  export { OmmlDiagnosticSink, PARAGRAPH_NON_CONTENT_TAGS, collectBodyParagraphs, collectBodyTables, equationFrame };
@@ -1,4 +1,4 @@
1
- import { t as OmmlDiagnosticSink } from "../../formula-_8feXQH7.cjs";
1
+ import { t as OmmlDiagnosticSink } from "../../formula-BpuJ3ae0.cjs";
2
2
  import { ContentDocument } from "document-schema.js";
3
3
  import { Package } from "ooxml.js";
4
4
  //#region src/ooxml/docx/read.d.ts
@@ -1,4 +1,4 @@
1
- import { t as OmmlDiagnosticSink } from "../../formula-DDSYieJg.js";
1
+ import { t as OmmlDiagnosticSink } from "../../formula-Cb-LRoIE.js";
2
2
  import { Package } from "ooxml.js";
3
3
  import { ContentDocument } from "document-schema.js";
4
4
  //#region src/ooxml/docx/read.d.ts
@@ -1,2 +1,2 @@
1
- import { n as spliceSlideFormulas, t as OmmlDiagnosticSink } from "../../formula-Cs0IexVi.cjs";
1
+ import { n as spliceSlideFormulas, t as OmmlDiagnosticSink } from "../../formula-BH1FBblm.cjs";
2
2
  export { OmmlDiagnosticSink, spliceSlideFormulas };
@@ -1,2 +1,2 @@
1
- import { n as spliceSlideFormulas, t as OmmlDiagnosticSink } from "../../formula-BKgIMfhi.js";
1
+ import { n as spliceSlideFormulas, t as OmmlDiagnosticSink } from "../../formula-DF4R1QEJ.js";
2
2
  export { OmmlDiagnosticSink, spliceSlideFormulas };
@@ -1,4 +1,4 @@
1
- import { t as OmmlDiagnosticSink } from "../../formula-Cs0IexVi.cjs";
1
+ import { t as OmmlDiagnosticSink } from "../../formula-BH1FBblm.cjs";
2
2
  import { ContentDocument } from "document-schema.js";
3
3
  import { Package } from "ooxml.js";
4
4
  //#region src/ooxml/pptx/read.d.ts
@@ -1,4 +1,4 @@
1
- import { t as OmmlDiagnosticSink } from "../../formula-BKgIMfhi.js";
1
+ import { t as OmmlDiagnosticSink } from "../../formula-DF4R1QEJ.js";
2
2
  import { Package } from "ooxml.js";
3
3
  import { ContentDocument } from "document-schema.js";
4
4
  //#region src/ooxml/pptx/read.d.ts
@@ -60,7 +60,7 @@ function collapseVectorShapeRuns(slide, slideIndex, spTreeChildren) {
60
60
  let groupIndex = 0;
61
61
  while (index < slide.shapes.length) {
62
62
  const group = groups[groupIndex];
63
- if (group?.insertAt === index && group !== void 0) {
63
+ if (group?.insertAt === index) {
64
64
  const sourcePath = `slides[${slideIndex}].shapes[${shapes.length}]`;
65
65
  shapes.push({
66
66
  frame: {
@@ -59,7 +59,7 @@ function collapseVectorShapeRuns(slide, slideIndex, spTreeChildren) {
59
59
  let groupIndex = 0;
60
60
  while (index < slide.shapes.length) {
61
61
  const group = groups[groupIndex];
62
- if (group?.insertAt === index && group !== void 0) {
62
+ if (group?.insertAt === index) {
63
63
  const sourcePath = `slides[${slideIndex}].shapes[${shapes.length}]`;
64
64
  shapes.push({
65
65
  frame: {
@@ -5,6 +5,6 @@ interface AddedMedia {
5
5
  readonly relationshipId: string;
6
6
  }
7
7
  declare function addImageMedia(pkg: Package, fromPartPath: string, mediaDir: string // e.g. 'word/media' or 'ppt/media'
8
- , format: 'png' | 'jpeg', bytes: Uint8Array<ArrayBuffer>): AddedMedia;
8
+ , format: "png" | "jpeg", bytes: Uint8Array<ArrayBuffer>): AddedMedia;
9
9
  //#endregion
10
10
  export { AddedMedia, addImageMedia };
@@ -5,6 +5,6 @@ interface AddedMedia {
5
5
  readonly relationshipId: string;
6
6
  }
7
7
  declare function addImageMedia(pkg: Package, fromPartPath: string, mediaDir: string // e.g. 'word/media' or 'ppt/media'
8
- , format: 'png' | 'jpeg', bytes: Uint8Array<ArrayBuffer>): AddedMedia;
8
+ , format: "png" | "jpeg", bytes: Uint8Array<ArrayBuffer>): AddedMedia;
9
9
  //#endregion
10
10
  export { AddedMedia, addImageMedia };
@@ -3,7 +3,7 @@ import { Package } from "ooxml.js";
3
3
  interface NewRelationship {
4
4
  readonly type: string;
5
5
  readonly target: string;
6
- readonly targetMode?: 'External';
6
+ readonly targetMode?: "External";
7
7
  }
8
8
  declare function addRelationship(pkg: Package, partPath: string, rel: NewRelationship): string;
9
9
  declare function addRootRelationship(pkg: Package, rel: NewRelationship): string;
@@ -3,7 +3,7 @@ import { Package } from "ooxml.js";
3
3
  interface NewRelationship {
4
4
  readonly type: string;
5
5
  readonly target: string;
6
- readonly targetMode?: 'External';
6
+ readonly targetMode?: "External";
7
7
  }
8
8
  declare function addRelationship(pkg: Package, partPath: string, rel: NewRelationship): string;
9
9
  declare function addRootRelationship(pkg: Package, rel: NewRelationship): string;
@@ -1,4 +1,4 @@
1
- import { t as ImageInit } from "./image-Biwtr667.cjs";
1
+ import { t as ImageInit } from "./image-DQxA-zGN.cjs";
2
2
  import { n as RunInit, t as OdtRun } from "./run-mzBHuFWz.cjs";
3
3
  import { Alignment } from "document-schema.js";
4
4
  import { Package, XmlElement, XmlNode } from "odf.js";
@@ -1,4 +1,4 @@
1
- import { t as ImageInit } from "./image-Biwtr667.js";
1
+ import { t as ImageInit } from "./image-DQxA-zGN.js";
2
2
  import { n as RunInit, t as OdtRun } from "./run-mzBHuFWz.js";
3
3
  import { Alignment } from "document-schema.js";
4
4
  import { Package, XmlElement, XmlNode } from "odf.js";
@@ -1,6 +1,6 @@
1
- import { t as SqlComparisonOperator } from "./lexer-DGPWx_f2.js";
1
+ import { t as SqlComparisonOperator } from "./lexer-DgsW7jMA.js";
2
2
  //#region src/odb/sql/parser.d.ts
3
- type SqlAggregateFunction = 'COUNT' | 'SUM' | 'AVG' | 'MIN' | 'MAX';
3
+ type SqlAggregateFunction = "COUNT" | "SUM" | "AVG" | "MIN" | "MAX";
4
4
  interface SqlNameRef {
5
5
  readonly name: string;
6
6
  readonly quoted: boolean;
@@ -11,79 +11,79 @@ interface SqlColumnRef {
11
11
  readonly text: string;
12
12
  }
13
13
  type SqlLiteral = {
14
- readonly kind: 'number';
14
+ readonly kind: "number";
15
15
  readonly value: number;
16
16
  } | {
17
- readonly kind: 'string';
17
+ readonly kind: "string";
18
18
  readonly value: string;
19
19
  } | {
20
- readonly kind: 'boolean';
20
+ readonly kind: "boolean";
21
21
  readonly value: boolean;
22
22
  } | {
23
- readonly kind: 'null';
23
+ readonly kind: "null";
24
24
  };
25
25
  type SqlOperand = {
26
- readonly kind: 'column';
26
+ readonly kind: "column";
27
27
  readonly column: SqlColumnRef;
28
28
  } | {
29
- readonly kind: 'literal';
29
+ readonly kind: "literal";
30
30
  readonly literal: SqlLiteral;
31
31
  };
32
32
  type SqlPredicate = {
33
- readonly kind: 'comparison';
33
+ readonly kind: "comparison";
34
34
  readonly operator: SqlComparisonOperator;
35
35
  readonly left: SqlOperand;
36
36
  readonly right: SqlOperand;
37
37
  } | {
38
- readonly kind: 'isNull';
38
+ readonly kind: "isNull";
39
39
  readonly operand: SqlOperand;
40
40
  readonly negated: boolean;
41
41
  } | {
42
- readonly kind: 'like';
42
+ readonly kind: "like";
43
43
  readonly operand: SqlOperand;
44
44
  readonly pattern: string;
45
45
  readonly negated: boolean;
46
46
  } | {
47
- readonly kind: 'in';
47
+ readonly kind: "in";
48
48
  readonly operand: SqlOperand;
49
49
  readonly values: readonly SqlLiteral[];
50
50
  readonly negated: boolean;
51
51
  } | {
52
- readonly kind: 'between';
52
+ readonly kind: "between";
53
53
  readonly operand: SqlOperand;
54
54
  readonly lower: SqlOperand;
55
55
  readonly upper: SqlOperand;
56
56
  readonly negated: boolean;
57
57
  } | {
58
- readonly kind: 'not';
58
+ readonly kind: "not";
59
59
  readonly predicate: SqlPredicate;
60
60
  } | {
61
- readonly kind: 'and';
61
+ readonly kind: "and";
62
62
  readonly left: SqlPredicate;
63
63
  readonly right: SqlPredicate;
64
64
  } | {
65
- readonly kind: 'or';
65
+ readonly kind: "or";
66
66
  readonly left: SqlPredicate;
67
67
  readonly right: SqlPredicate;
68
68
  };
69
69
  type SqlAggregateArgument = {
70
- readonly kind: 'star';
70
+ readonly kind: "star";
71
71
  } | {
72
- readonly kind: 'column';
72
+ readonly kind: "column";
73
73
  readonly column: SqlColumnRef;
74
74
  };
75
75
  type SqlSelectItem = {
76
- readonly kind: 'star';
76
+ readonly kind: "star";
77
77
  } | {
78
- readonly kind: 'column';
78
+ readonly kind: "column";
79
79
  readonly column: SqlColumnRef;
80
80
  } | {
81
- readonly kind: 'aggregate';
81
+ readonly kind: "aggregate";
82
82
  readonly aggregate: SqlAggregateFunction;
83
83
  readonly argument: SqlAggregateArgument;
84
84
  readonly outputName: string;
85
85
  };
86
- type SqlSortDirection = 'asc' | 'desc';
86
+ type SqlSortDirection = "asc" | "desc";
87
87
  interface SqlOrderByTerm {
88
88
  readonly column: SqlColumnRef;
89
89
  readonly direction: SqlSortDirection;
@@ -1,6 +1,6 @@
1
- import { t as SqlComparisonOperator } from "./lexer-DGPWx_f2.cjs";
1
+ import { t as SqlComparisonOperator } from "./lexer-DgsW7jMA.cjs";
2
2
  //#region src/odb/sql/parser.d.ts
3
- type SqlAggregateFunction = 'COUNT' | 'SUM' | 'AVG' | 'MIN' | 'MAX';
3
+ type SqlAggregateFunction = "COUNT" | "SUM" | "AVG" | "MIN" | "MAX";
4
4
  interface SqlNameRef {
5
5
  readonly name: string;
6
6
  readonly quoted: boolean;
@@ -11,79 +11,79 @@ interface SqlColumnRef {
11
11
  readonly text: string;
12
12
  }
13
13
  type SqlLiteral = {
14
- readonly kind: 'number';
14
+ readonly kind: "number";
15
15
  readonly value: number;
16
16
  } | {
17
- readonly kind: 'string';
17
+ readonly kind: "string";
18
18
  readonly value: string;
19
19
  } | {
20
- readonly kind: 'boolean';
20
+ readonly kind: "boolean";
21
21
  readonly value: boolean;
22
22
  } | {
23
- readonly kind: 'null';
23
+ readonly kind: "null";
24
24
  };
25
25
  type SqlOperand = {
26
- readonly kind: 'column';
26
+ readonly kind: "column";
27
27
  readonly column: SqlColumnRef;
28
28
  } | {
29
- readonly kind: 'literal';
29
+ readonly kind: "literal";
30
30
  readonly literal: SqlLiteral;
31
31
  };
32
32
  type SqlPredicate = {
33
- readonly kind: 'comparison';
33
+ readonly kind: "comparison";
34
34
  readonly operator: SqlComparisonOperator;
35
35
  readonly left: SqlOperand;
36
36
  readonly right: SqlOperand;
37
37
  } | {
38
- readonly kind: 'isNull';
38
+ readonly kind: "isNull";
39
39
  readonly operand: SqlOperand;
40
40
  readonly negated: boolean;
41
41
  } | {
42
- readonly kind: 'like';
42
+ readonly kind: "like";
43
43
  readonly operand: SqlOperand;
44
44
  readonly pattern: string;
45
45
  readonly negated: boolean;
46
46
  } | {
47
- readonly kind: 'in';
47
+ readonly kind: "in";
48
48
  readonly operand: SqlOperand;
49
49
  readonly values: readonly SqlLiteral[];
50
50
  readonly negated: boolean;
51
51
  } | {
52
- readonly kind: 'between';
52
+ readonly kind: "between";
53
53
  readonly operand: SqlOperand;
54
54
  readonly lower: SqlOperand;
55
55
  readonly upper: SqlOperand;
56
56
  readonly negated: boolean;
57
57
  } | {
58
- readonly kind: 'not';
58
+ readonly kind: "not";
59
59
  readonly predicate: SqlPredicate;
60
60
  } | {
61
- readonly kind: 'and';
61
+ readonly kind: "and";
62
62
  readonly left: SqlPredicate;
63
63
  readonly right: SqlPredicate;
64
64
  } | {
65
- readonly kind: 'or';
65
+ readonly kind: "or";
66
66
  readonly left: SqlPredicate;
67
67
  readonly right: SqlPredicate;
68
68
  };
69
69
  type SqlAggregateArgument = {
70
- readonly kind: 'star';
70
+ readonly kind: "star";
71
71
  } | {
72
- readonly kind: 'column';
72
+ readonly kind: "column";
73
73
  readonly column: SqlColumnRef;
74
74
  };
75
75
  type SqlSelectItem = {
76
- readonly kind: 'star';
76
+ readonly kind: "star";
77
77
  } | {
78
- readonly kind: 'column';
78
+ readonly kind: "column";
79
79
  readonly column: SqlColumnRef;
80
80
  } | {
81
- readonly kind: 'aggregate';
81
+ readonly kind: "aggregate";
82
82
  readonly aggregate: SqlAggregateFunction;
83
83
  readonly argument: SqlAggregateArgument;
84
84
  readonly outputName: string;
85
85
  };
86
- type SqlSortDirection = 'asc' | 'desc';
86
+ type SqlSortDirection = "asc" | "desc";
87
87
  interface SqlOrderByTerm {
88
88
  readonly column: SqlColumnRef;
89
89
  readonly direction: SqlSortDirection;
@@ -1,13 +1,13 @@
1
+ import { Package } from "ooxml.js";
1
2
  import { FontSubstitution, ProvidedFont } from "document-schema.js";
2
3
  import { FontRegistry } from "pdf-codec";
3
- import { Package } from "ooxml.js";
4
4
  import { Package as Package$1 } from "odf.js";
5
5
  //#region src/fonts/registry.d.ts
6
6
  type FontSourcePackage = {
7
- readonly kind: 'docx' | 'pptx';
7
+ readonly kind: "docx" | "pptx";
8
8
  readonly package: Package;
9
9
  } | {
10
- readonly kind: 'odf';
10
+ readonly kind: "odf";
11
11
  readonly package: Package$1;
12
12
  };
13
13
  interface DocumentFontRegistryOptions {
@@ -1,13 +1,13 @@
1
- import { Package } from "ooxml.js";
2
1
  import { FontSubstitution, ProvidedFont } from "document-schema.js";
3
2
  import { FontRegistry } from "pdf-codec";
3
+ import { Package } from "ooxml.js";
4
4
  import { Package as Package$1 } from "odf.js";
5
5
  //#region src/fonts/registry.d.ts
6
6
  type FontSourcePackage = {
7
- readonly kind: 'docx' | 'pptx';
7
+ readonly kind: "docx" | "pptx";
8
8
  readonly package: Package;
9
9
  } | {
10
- readonly kind: 'odf';
10
+ readonly kind: "odf";
11
11
  readonly package: Package$1;
12
12
  };
13
13
  interface DocumentFontRegistryOptions {
@@ -1,5 +1,5 @@
1
- import { r as MathMlNode$1 } from "./nodes-pArN9ilm.js";
2
- import { t as OmmlWriteResult } from "./write-THs7ipBq.js";
1
+ import { r as MathMlNode$1 } from "./nodes-jrlUmrNs.js";
2
+ import { t as OmmlWriteResult } from "./write-qKlz1R0J.js";
3
3
  import { XmlElement, XmlNode } from "ooxml.js";
4
4
  import { Alignment, Box, Color } from "document-schema.js";
5
5
  //#region src/edit/pptx/shape.d.ts
@@ -1,5 +1,5 @@
1
- import { r as MathMlNode$1 } from "./nodes-pArN9ilm.cjs";
2
- import { t as OmmlWriteResult } from "./write-BQ6SK8r8.cjs";
1
+ import { r as MathMlNode$1 } from "./nodes-jrlUmrNs.cjs";
2
+ import { t as OmmlWriteResult } from "./write-DWupt1QI.cjs";
3
3
  import { Alignment, Box, Color } from "document-schema.js";
4
4
  import { XmlElement, XmlNode } from "ooxml.js";
5
5
  //#region src/edit/pptx/shape.d.ts
@@ -1,5 +1,5 @@
1
- import { n as ParagraphInit, t as OdtParagraph } from "./paragraph-CoPeTuHR.cjs";
2
- import { t as OdtList } from "./list-lTB3eDLC.cjs";
1
+ import { n as ParagraphInit, t as OdtParagraph } from "./paragraph-BBmkECjw.cjs";
2
+ import { t as OdtList } from "./list-BiTN6oop.cjs";
3
3
  import { Box } from "document-schema.js";
4
4
  import { Package, XmlElement, XmlNode } from "odf.js";
5
5
  //#region src/edit/odp/shape.d.ts
@@ -1,5 +1,5 @@
1
- import { n as ParagraphInit, t as OdtParagraph } from "./paragraph--69uh-Ys.js";
2
- import { t as OdtList } from "./list-C55W_YCp.js";
1
+ import { n as ParagraphInit, t as OdtParagraph } from "./paragraph-D_fDin5K.js";
2
+ import { t as OdtList } from "./list-B_Sy668f.js";
3
3
  import { Box } from "document-schema.js";
4
4
  import { Package, XmlElement, XmlNode } from "odf.js";
5
5
  //#region src/edit/odp/shape.d.ts
@@ -1,6 +1,6 @@
1
- import { t as MathVariant } from "./variant-BMrebjMw.js";
1
+ import { t as MathVariant } from "./variant-uwYyRetr.js";
2
2
  //#region src/omml/shared.d.ts
3
- type OmmlDiagnosticKind = 'unsupported-element' | 'approximated-element';
3
+ type OmmlDiagnosticKind = "unsupported-element" | "approximated-element";
4
4
  interface OmmlDiagnostic {
5
5
  readonly kind: OmmlDiagnosticKind;
6
6
  readonly detail: string;