ooxml-core 1.24.2 → 1.25.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 (444) hide show
  1. package/dist/PptxHandler-AN42B3JR.mjs +4 -0
  2. package/dist/{PptxHandler-KFEE7O7W.cjs → PptxHandler-O25PF53M.cjs} +3 -3
  3. package/dist/{PptxHandler-5TWAQWPK.mjs → PptxHandler-UTNNU6PO.mjs} +3 -3
  4. package/dist/{PresentationBuilder-SXLRXYDI.cjs → PresentationBuilder-A4XU72IV.cjs} +5 -5
  5. package/dist/{PresentationBuilder-SCT5AQBP.mjs → PresentationBuilder-GTXNYSRI.mjs} +2 -2
  6. package/dist/{PresentationBuilder-SVHIKT4C.mjs → PresentationBuilder-TNMO5MPC.mjs} +3 -3
  7. package/dist/automation/index.cjs +10181 -6066
  8. package/dist/automation/index.mjs +10181 -6066
  9. package/dist/chart/data-sheet.d.ts +86 -0
  10. package/dist/chart/data-sheet.d.ts.map +1 -0
  11. package/dist/chart/edit/axes.d.ts +49 -0
  12. package/dist/chart/edit/axes.d.ts.map +1 -0
  13. package/dist/chart/edit/chartex-data.d.ts +15 -0
  14. package/dist/chart/edit/chartex-data.d.ts.map +1 -0
  15. package/dist/chart/edit/chartex.d.ts +61 -0
  16. package/dist/chart/edit/chartex.d.ts.map +1 -0
  17. package/dist/chart/edit/data-sheet.d.ts +10 -0
  18. package/dist/chart/edit/data-sheet.d.ts.map +1 -0
  19. package/dist/chart/edit/draft.d.ts +27 -0
  20. package/dist/chart/edit/draft.d.ts.map +1 -0
  21. package/dist/chart/edit/fill.d.ts +47 -0
  22. package/dist/chart/edit/fill.d.ts.map +1 -0
  23. package/dist/chart/edit/gradient.d.ts +44 -0
  24. package/dist/chart/edit/gradient.d.ts.map +1 -0
  25. package/dist/chart/edit/group-options.d.ts +14 -0
  26. package/dist/chart/edit/group-options.d.ts.map +1 -0
  27. package/dist/chart/edit/index.d.ts +23 -0
  28. package/dist/chart/edit/index.d.ts.map +1 -0
  29. package/dist/chart/edit/intent.d.ts +72 -0
  30. package/dist/chart/edit/intent.d.ts.map +1 -0
  31. package/dist/chart/edit/legend-labels.d.ts +34 -0
  32. package/dist/chart/edit/legend-labels.d.ts.map +1 -0
  33. package/dist/chart/edit/new-chart.d.ts +14 -0
  34. package/dist/chart/edit/new-chart.d.ts.map +1 -0
  35. package/dist/chart/edit/paint.d.ts +20 -0
  36. package/dist/chart/edit/paint.d.ts.map +1 -0
  37. package/dist/chart/edit/quick-layout.d.ts +16 -0
  38. package/dist/chart/edit/quick-layout.d.ts.map +1 -0
  39. package/dist/chart/edit/series-data.d.ts +8 -0
  40. package/dist/chart/edit/series-data.d.ts.map +1 -0
  41. package/dist/chart/edit/series.d.ts +57 -0
  42. package/dist/chart/edit/series.d.ts.map +1 -0
  43. package/dist/chart/edit/style.d.ts +18 -0
  44. package/dist/chart/edit/style.d.ts.map +1 -0
  45. package/dist/chart/edit/target-paint.d.ts +19 -0
  46. package/dist/chart/edit/target-paint.d.ts.map +1 -0
  47. package/dist/chart/edit/target.d.ts +31 -0
  48. package/dist/chart/edit/target.d.ts.map +1 -0
  49. package/dist/chart/edit/title.d.ts +24 -0
  50. package/dist/chart/edit/title.d.ts.map +1 -0
  51. package/dist/chart/edit/type-axes.d.ts +14 -0
  52. package/dist/chart/edit/type-axes.d.ts.map +1 -0
  53. package/dist/chart/edit/type-schema.d.ts +15 -0
  54. package/dist/chart/edit/type-schema.d.ts.map +1 -0
  55. package/dist/chart/edit/type.d.ts +16 -0
  56. package/dist/chart/edit/type.d.ts.map +1 -0
  57. package/dist/chart/ex/index.d.ts +4 -0
  58. package/dist/chart/ex/index.d.ts.map +1 -0
  59. package/dist/chart/ex/model.d.ts +291 -0
  60. package/dist/chart/ex/model.d.ts.map +1 -0
  61. package/dist/chart/ex/parse-axis.d.ts +6 -0
  62. package/dist/chart/ex/parse-axis.d.ts.map +1 -0
  63. package/dist/chart/ex/parse-series.d.ts +6 -0
  64. package/dist/chart/ex/parse-series.d.ts.map +1 -0
  65. package/dist/chart/ex/parse-text.d.ts +14 -0
  66. package/dist/chart/ex/parse-text.d.ts.map +1 -0
  67. package/dist/chart/ex/parse-util.d.ts +36 -0
  68. package/dist/chart/ex/parse-util.d.ts.map +1 -0
  69. package/dist/chart/ex/parse.d.ts +10 -0
  70. package/dist/chart/ex/parse.d.ts.map +1 -0
  71. package/dist/chart/ex/write-series.d.ts +13 -0
  72. package/dist/chart/ex/write-series.d.ts.map +1 -0
  73. package/dist/chart/ex/write-util.d.ts +23 -0
  74. package/dist/chart/ex/write-util.d.ts.map +1 -0
  75. package/dist/chart/ex/write.d.ts +24 -0
  76. package/dist/chart/ex/write.d.ts.map +1 -0
  77. package/dist/chart/index.cjs +7258 -3107
  78. package/dist/chart/index.d.ts +8 -0
  79. package/dist/chart/index.d.ts.map +1 -1
  80. package/dist/chart/index.mjs +7117 -3110
  81. package/dist/chart/keep-source.d.ts +11 -0
  82. package/dist/chart/keep-source.d.ts.map +1 -0
  83. package/dist/chart/keep-unmodelled.d.ts +6 -0
  84. package/dist/chart/keep-unmodelled.d.ts.map +1 -0
  85. package/dist/chart/model-series.d.ts +6 -0
  86. package/dist/chart/model-series.d.ts.map +1 -1
  87. package/dist/chart/model.d.ts +14 -0
  88. package/dist/chart/model.d.ts.map +1 -1
  89. package/dist/chart/parse-plot.d.ts.map +1 -1
  90. package/dist/chart/parse-series.d.ts +1 -1
  91. package/dist/chart/parse-series.d.ts.map +1 -1
  92. package/dist/chart/parse-util.d.ts +2 -0
  93. package/dist/chart/parse-util.d.ts.map +1 -1
  94. package/dist/chart/quick-layouts.d.ts +41 -0
  95. package/dist/chart/quick-layouts.d.ts.map +1 -0
  96. package/dist/chart/render/summary-from-chartex.d.ts +3 -0
  97. package/dist/chart/render/summary-from-chartex.d.ts.map +1 -1
  98. package/dist/chart/style-presets.d.ts +20 -0
  99. package/dist/chart/style-presets.d.ts.map +1 -0
  100. package/dist/chart/workbook/cellref.d.ts +53 -0
  101. package/dist/chart/workbook/cellref.d.ts.map +1 -0
  102. package/dist/chart/workbook/create.d.ts +6 -0
  103. package/dist/chart/workbook/create.d.ts.map +1 -0
  104. package/dist/chart/workbook/index.d.ts +10 -0
  105. package/dist/chart/workbook/index.d.ts.map +1 -0
  106. package/dist/chart/workbook/layout.d.ts +35 -0
  107. package/dist/chart/workbook/layout.d.ts.map +1 -0
  108. package/dist/chart/workbook/package-save.d.ts +48 -0
  109. package/dist/chart/workbook/package-save.d.ts.map +1 -0
  110. package/dist/chart/workbook/sheet-cells.d.ts +31 -0
  111. package/dist/chart/workbook/sheet-cells.d.ts.map +1 -0
  112. package/dist/chart/workbook/space-writes.d.ts +5 -0
  113. package/dist/chart/workbook/space-writes.d.ts.map +1 -0
  114. package/dist/chart/workbook/tables.d.ts +20 -0
  115. package/dist/chart/workbook/tables.d.ts.map +1 -0
  116. package/dist/chart/workbook/validation.d.ts +12 -0
  117. package/dist/chart/workbook/validation.d.ts.map +1 -0
  118. package/dist/chart/workbook/writer.d.ts +55 -0
  119. package/dist/chart/workbook/writer.d.ts.map +1 -0
  120. package/dist/chart/write-axes.d.ts.map +1 -1
  121. package/dist/chart/write-plot.d.ts.map +1 -1
  122. package/dist/chart/write-series.d.ts.map +1 -1
  123. package/dist/chart/write-shape.d.ts +2 -0
  124. package/dist/chart/write-shape.d.ts.map +1 -1
  125. package/dist/{chunk-NE7626A4.mjs → chunk-4IYYW3CX.mjs} +5 -5
  126. package/dist/{chunk-6IIMI5RS.mjs → chunk-6DHZZD5R.mjs} +1103 -1025
  127. package/dist/{chunk-GBKBR4CX.mjs → chunk-E2PYQQQV.mjs} +1 -1
  128. package/dist/{chunk-XK55DEUD.cjs → chunk-JE3DVWAJ.cjs} +4991 -2865
  129. package/dist/{chunk-7N7C5BNM.mjs → chunk-NBSJDA3B.mjs} +2236 -2096
  130. package/dist/{chunk-GVP262WE.mjs → chunk-QXWRJDVE.mjs} +4077 -1951
  131. package/dist/{chunk-4LZIUJI3.cjs → chunk-S5TGOEQX.cjs} +1108 -1029
  132. package/dist/{chunk-CWCDFPKN.mjs → chunk-VHGMYNWM.mjs} +1 -1
  133. package/dist/{chunk-ON7XVRHQ.mjs → chunk-X7IIABZ6.mjs} +3978 -1835
  134. package/dist/{chunk-KVKTHGIY.mjs → chunk-YWTKOZMT.mjs} +1 -1
  135. package/dist/crypto/detect.d.ts +5 -1
  136. package/dist/crypto/detect.d.ts.map +1 -1
  137. package/dist/crypto/index.cjs +1 -1
  138. package/dist/crypto/index.mjs +1 -1
  139. package/dist/diagram/approximate.d.ts +19 -0
  140. package/dist/diagram/approximate.d.ts.map +1 -0
  141. package/dist/diagram/builtin/catalog.d.ts +3 -0
  142. package/dist/diagram/builtin/catalog.d.ts.map +1 -0
  143. package/dist/diagram/builtin/data.d.ts +3 -0
  144. package/dist/diagram/builtin/data.d.ts.map +1 -0
  145. package/dist/diagram/builtin/definitions.d.ts +7 -0
  146. package/dist/diagram/builtin/definitions.d.ts.map +1 -0
  147. package/dist/diagram/builtin/index.cjs +1348 -0
  148. package/dist/diagram/builtin/index.d.ts +3 -0
  149. package/dist/diagram/builtin/index.d.ts.map +1 -0
  150. package/dist/diagram/builtin/index.mjs +1337 -0
  151. package/dist/diagram/builtin/layouts.d.ts +15 -0
  152. package/dist/diagram/builtin/layouts.d.ts.map +1 -0
  153. package/dist/diagram/builtin/types.d.ts +13 -0
  154. package/dist/diagram/builtin/types.d.ts.map +1 -0
  155. package/dist/diagram/catalogue.d.ts +51 -0
  156. package/dist/diagram/catalogue.d.ts.map +1 -0
  157. package/dist/diagram/data-model.d.ts.map +1 -1
  158. package/dist/diagram/drawing-from-views.d.ts +11 -0
  159. package/dist/diagram/drawing-from-views.d.ts.map +1 -0
  160. package/dist/diagram/drawing-resolve.d.ts +34 -0
  161. package/dist/diagram/drawing-resolve.d.ts.map +1 -0
  162. package/dist/diagram/drawing-view.d.ts +104 -0
  163. package/dist/diagram/drawing-view.d.ts.map +1 -0
  164. package/dist/diagram/drawing.d.ts.map +1 -1
  165. package/dist/diagram/edit/design-commands.d.ts +27 -0
  166. package/dist/diagram/edit/design-commands.d.ts.map +1 -0
  167. package/dist/diagram/edit/index.d.ts +15 -0
  168. package/dist/diagram/edit/index.d.ts.map +1 -0
  169. package/dist/diagram/edit/node-edit.d.ts +66 -0
  170. package/dist/diagram/edit/node-edit.d.ts.map +1 -0
  171. package/dist/diagram/edit/node-ops.d.ts +71 -0
  172. package/dist/diagram/edit/node-ops.d.ts.map +1 -0
  173. package/dist/diagram/edit/node-order.d.ts +28 -0
  174. package/dist/diagram/edit/node-order.d.ts.map +1 -0
  175. package/dist/diagram/edit/node-style.d.ts +42 -0
  176. package/dist/diagram/edit/node-style.d.ts.map +1 -0
  177. package/dist/diagram/edit/node-tree.d.ts +10 -0
  178. package/dist/diagram/edit/node-tree.d.ts.map +1 -0
  179. package/dist/diagram/edit/outline.d.ts +11 -0
  180. package/dist/diagram/edit/outline.d.ts.map +1 -0
  181. package/dist/diagram/edit/reflow-category.d.ts +18 -0
  182. package/dist/diagram/edit/reflow-category.d.ts.map +1 -0
  183. package/dist/diagram/edit/reflow-directional.d.ts +53 -0
  184. package/dist/diagram/edit/reflow-directional.d.ts.map +1 -0
  185. package/dist/diagram/edit/reflow-geometric.d.ts +59 -0
  186. package/dist/diagram/edit/reflow-geometric.d.ts.map +1 -0
  187. package/dist/diagram/edit/reflow-stacked.d.ts +32 -0
  188. package/dist/diagram/edit/reflow-stacked.d.ts.map +1 -0
  189. package/dist/diagram/edit/reflow.d.ts +48 -0
  190. package/dist/diagram/edit/reflow.d.ts.map +1 -0
  191. package/dist/diagram/edit/shape-match.d.ts +34 -0
  192. package/dist/diagram/edit/shape-match.d.ts.map +1 -0
  193. package/dist/diagram/edit/types.d.ts +31 -0
  194. package/dist/diagram/edit/types.d.ts.map +1 -0
  195. package/dist/diagram/index.cjs +3934 -910
  196. package/dist/diagram/index.d.ts +9 -0
  197. package/dist/diagram/index.d.ts.map +1 -1
  198. package/dist/diagram/index.mjs +3860 -912
  199. package/dist/diagram/model/node.d.ts +10 -0
  200. package/dist/diagram/model/node.d.ts.map +1 -1
  201. package/dist/diagram/relationships.d.ts +8 -0
  202. package/dist/diagram/relationships.d.ts.map +1 -1
  203. package/dist/diagram/strings/de.d.ts +3 -0
  204. package/dist/diagram/strings/de.d.ts.map +1 -0
  205. package/dist/diagram/strings/en.d.ts +74 -0
  206. package/dist/diagram/strings/en.d.ts.map +1 -0
  207. package/dist/diagram/strings/es.d.ts +3 -0
  208. package/dist/diagram/strings/es.d.ts.map +1 -0
  209. package/dist/diagram/strings/fr.d.ts +3 -0
  210. package/dist/diagram/strings/fr.d.ts.map +1 -0
  211. package/dist/diagram/strings/index.d.ts +11 -0
  212. package/dist/diagram/strings/index.d.ts.map +1 -0
  213. package/dist/diagram/strings/zh-CN.d.ts +3 -0
  214. package/dist/diagram/strings/zh-CN.d.ts.map +1 -0
  215. package/dist/diagram/text/index.d.ts +5 -0
  216. package/dist/diagram/text/index.d.ts.map +1 -0
  217. package/dist/diagram/text/node-text-neutral.d.ts +29 -0
  218. package/dist/diagram/text/node-text-neutral.d.ts.map +1 -0
  219. package/dist/diagram/text/node-text-paragraphs.d.ts +6 -0
  220. package/dist/diagram/text/node-text-paragraphs.d.ts.map +1 -0
  221. package/dist/diagram/text/node-text-projection.d.ts +48 -0
  222. package/dist/diagram/text/node-text-projection.d.ts.map +1 -0
  223. package/dist/diagram/text/node-text-reconciliation.d.ts +4 -0
  224. package/dist/diagram/text/node-text-reconciliation.d.ts.map +1 -0
  225. package/dist/diagram/types.d.ts +12 -0
  226. package/dist/diagram/types.d.ts.map +1 -1
  227. package/dist/diagram/write/data-edit.d.ts +30 -0
  228. package/dist/diagram/write/data-edit.d.ts.map +1 -0
  229. package/dist/diagram/write/data.d.ts +62 -0
  230. package/dist/diagram/write/data.d.ts.map +1 -0
  231. package/dist/diagram/write/index.d.ts +4 -0
  232. package/dist/diagram/write/index.d.ts.map +1 -0
  233. package/dist/diagram/write/inserted.d.ts +14 -0
  234. package/dist/diagram/write/inserted.d.ts.map +1 -0
  235. package/dist/docx/chart-edit.d.ts +33 -0
  236. package/dist/docx/chart-edit.d.ts.map +1 -0
  237. package/dist/docx/chart-save.d.ts +14 -0
  238. package/dist/docx/chart-save.d.ts.map +1 -0
  239. package/dist/docx/chart.d.ts +5 -3
  240. package/dist/docx/chart.d.ts.map +1 -1
  241. package/dist/docx/diagram-edit.d.ts +50 -0
  242. package/dist/docx/diagram-edit.d.ts.map +1 -0
  243. package/dist/docx/diagram-nodes.d.ts +2 -0
  244. package/dist/docx/diagram-nodes.d.ts.map +1 -0
  245. package/dist/docx/diagram-save.d.ts +12 -0
  246. package/dist/docx/diagram-save.d.ts.map +1 -0
  247. package/dist/docx/diagram.d.ts +17 -9
  248. package/dist/docx/diagram.d.ts.map +1 -1
  249. package/dist/docx/embedded.cjs +5191 -2423
  250. package/dist/docx/embedded.mjs +5191 -2423
  251. package/dist/docx/index.cjs +10063 -6083
  252. package/dist/docx/index.d.ts +4 -1
  253. package/dist/docx/index.d.ts.map +1 -1
  254. package/dist/docx/index.mjs +10049 -6084
  255. package/dist/docx/load/index.cjs +5841 -3073
  256. package/dist/docx/load/index.mjs +5841 -3073
  257. package/dist/docx/parse.d.ts.map +1 -1
  258. package/dist/docx/part-relationships.d.ts.map +1 -1
  259. package/dist/docx/relationship-allocator.d.ts +19 -0
  260. package/dist/docx/relationship-allocator.d.ts.map +1 -1
  261. package/dist/docx/save.d.ts.map +1 -1
  262. package/dist/docx/ui/chart-commands.d.ts +19 -0
  263. package/dist/docx/ui/chart-commands.d.ts.map +1 -0
  264. package/dist/docx/ui/index.cjs +1482 -655
  265. package/dist/docx/ui/index.d.ts +2 -0
  266. package/dist/docx/ui/index.d.ts.map +1 -1
  267. package/dist/docx/ui/index.mjs +1479 -656
  268. package/dist/docx/ui/ribbon-action-ids.d.ts +1 -1
  269. package/dist/docx/ui/ribbon-action-ids.d.ts.map +1 -1
  270. package/dist/docx/ui/smartart-approximate.d.ts +5 -0
  271. package/dist/docx/ui/smartart-approximate.d.ts.map +1 -0
  272. package/dist/docx/write-chart-drawing.d.ts +12 -0
  273. package/dist/docx/write-chart-drawing.d.ts.map +1 -0
  274. package/dist/docx/write-diagram-drawing.d.ts +13 -0
  275. package/dist/docx/write-diagram-drawing.d.ts.map +1 -0
  276. package/dist/docx/write-drawing-patch.d.ts +8 -0
  277. package/dist/docx/write-drawing-patch.d.ts.map +1 -0
  278. package/dist/docx/write-drawing.d.ts.map +1 -1
  279. package/dist/drawingml/index.cjs +863 -0
  280. package/dist/drawingml/index.d.ts +7 -0
  281. package/dist/drawingml/index.d.ts.map +1 -1
  282. package/dist/drawingml/index.mjs +840 -1
  283. package/dist/drawingml/read-paragraph-properties.d.ts +8 -0
  284. package/dist/drawingml/read-paragraph-properties.d.ts.map +1 -0
  285. package/dist/drawingml/read-run-properties.d.ts +15 -0
  286. package/dist/drawingml/read-run-properties.d.ts.map +1 -0
  287. package/dist/drawingml/read-text-body.d.ts +13 -0
  288. package/dist/drawingml/read-text-body.d.ts.map +1 -0
  289. package/dist/drawingml/text-model.d.ts +210 -0
  290. package/dist/drawingml/text-model.d.ts.map +1 -0
  291. package/dist/drawingml/write-paragraph-properties.d.ts +12 -0
  292. package/dist/drawingml/write-paragraph-properties.d.ts.map +1 -0
  293. package/dist/drawingml/write-run-properties.d.ts +11 -0
  294. package/dist/drawingml/write-run-properties.d.ts.map +1 -0
  295. package/dist/drawingml/write-text-body.d.ts +18 -0
  296. package/dist/drawingml/write-text-body.d.ts.map +1 -0
  297. package/dist/drawingml/write-text-xml.d.ts +26 -0
  298. package/dist/drawingml/write-text-xml.d.ts.map +1 -0
  299. package/dist/index.cjs +10068 -2908
  300. package/dist/index.mjs +10068 -2908
  301. package/dist/pptx/automation/index.cjs +6849 -3889
  302. package/dist/pptx/automation/index.d.ts +9 -6
  303. package/dist/pptx/automation/index.d.ts.map +1 -1
  304. package/dist/pptx/automation/index.mjs +7 -7
  305. package/dist/pptx/chunks/{elements-iUzpAeqR.d.ts → elements-DhW764aK.d.ts} +23 -14
  306. package/dist/pptx/chunks/elements-DhW764aK.d.ts.map +1 -0
  307. package/dist/pptx/chunks/{index-C3xhAMSa.d.ts → index-CX0RM1fF.d.ts} +4 -4
  308. package/dist/pptx/chunks/{index-C3xhAMSa.d.ts.map → index-CX0RM1fF.d.ts.map} +1 -1
  309. package/dist/pptx/chunks/{index-nKQ4s7FA.d.ts → index-CgjEEpfK.d.ts} +18 -9
  310. package/dist/pptx/chunks/index-CgjEEpfK.d.ts.map +1 -0
  311. package/dist/pptx/chunks/{index-4FmgJajb.d.ts → index-DCbp5fOs.d.ts} +100 -95
  312. package/dist/pptx/chunks/index-DCbp5fOs.d.ts.map +1 -0
  313. package/dist/pptx/chunks/{smart-art-ENMMEbmW.d.ts → smart-art-BEEl0l8X.d.ts} +514 -306
  314. package/dist/pptx/chunks/smart-art-BEEl0l8X.d.ts.map +1 -0
  315. package/dist/pptx/chunks/{text-operations-CfLVZ7DK.d.ts → text-operations-CjalmJIi.d.ts} +2 -2
  316. package/dist/pptx/chunks/{text-operations-CfLVZ7DK.d.ts.map → text-operations-CjalmJIi.d.ts.map} +1 -1
  317. package/dist/pptx/cli/index.cjs +6333 -3375
  318. package/dist/pptx/cli/index.d.ts +1 -1
  319. package/dist/pptx/cli/index.mjs +5 -5
  320. package/dist/pptx/converter/index.cjs +107 -75
  321. package/dist/pptx/converter/index.d.ts +1 -1
  322. package/dist/pptx/converter/index.mjs +3 -3
  323. package/dist/pptx/editor/render/editor-history.cjs +3 -1
  324. package/dist/pptx/editor/render/editor-history.d.ts +9 -1
  325. package/dist/pptx/editor/render/editor-history.d.ts.map +1 -1
  326. package/dist/pptx/editor/render/editor-history.mjs +3 -2
  327. package/dist/pptx/editor/render/find-replace.cjs +14 -14
  328. package/dist/pptx/editor/render/find-replace.d.ts +2 -2
  329. package/dist/pptx/editor/render/find-replace.mjs +1 -1
  330. package/dist/pptx/editor/render/slide-operations.cjs +8 -8
  331. package/dist/pptx/editor/render/slide-operations.mjs +2 -2
  332. package/dist/pptx/editor/render/text-runs-style-patch.d.ts +1 -1
  333. package/dist/pptx/editor/render/text-style-scope.d.ts +1 -1
  334. package/dist/pptx/index.cjs +7753 -4728
  335. package/dist/pptx/index.d.ts +7 -7
  336. package/dist/pptx/index.mjs +6 -6
  337. package/dist/pptx/node/index.d.ts +1 -1
  338. package/dist/pptx/signature-node/index.mjs +2 -2
  339. package/dist/pptx/smartart-layouts/index.cjs +26 -23
  340. package/dist/pptx/smartart-layouts/index.d.ts +7 -5
  341. package/dist/pptx/smartart-layouts/index.d.ts.map +1 -1
  342. package/dist/pptx/smartart-layouts/index.mjs +26 -23
  343. package/dist/teams/index.cjs +20165 -18388
  344. package/dist/teams/index.mjs +20165 -18388
  345. package/dist/text/index.cjs +106 -0
  346. package/dist/text/index.d.ts +2 -0
  347. package/dist/text/index.d.ts.map +1 -1
  348. package/dist/text/index.mjs +103 -1
  349. package/dist/text/locale-number.d.ts +15 -0
  350. package/dist/text/locale-number.d.ts.map +1 -0
  351. package/dist/text/tsv.d.ts +8 -0
  352. package/dist/text/tsv.d.ts.map +1 -0
  353. package/dist/visio/index.cjs +3574 -1953
  354. package/dist/visio/index.mjs +3574 -1953
  355. package/dist/visio/ui/index.cjs +3562 -1941
  356. package/dist/visio/ui/index.mjs +3562 -1941
  357. package/dist/xlsx/edit/chart-colors.d.ts +2 -2
  358. package/dist/xlsx/edit/chart-colors.d.ts.map +1 -1
  359. package/dist/xlsx/edit/chart-design.d.ts +11 -0
  360. package/dist/xlsx/edit/chart-design.d.ts.map +1 -0
  361. package/dist/xlsx/edit/chart-element-fill.d.ts.map +1 -1
  362. package/dist/xlsx/edit/chart-series-fill.d.ts.map +1 -1
  363. package/dist/xlsx/edit/chart-series-gradient.d.ts +6 -34
  364. package/dist/xlsx/edit/chart-series-gradient.d.ts.map +1 -1
  365. package/dist/xlsx/edit/chart-series-transparency.d.ts.map +1 -1
  366. package/dist/xlsx/edit/chart-space-patch.d.ts +13 -0
  367. package/dist/xlsx/edit/chart-space-patch.d.ts.map +1 -0
  368. package/dist/xlsx/edit/chart-space-series.d.ts +14 -0
  369. package/dist/xlsx/edit/chart-space-series.d.ts.map +1 -0
  370. package/dist/xlsx/edit/charts.d.ts +22 -6
  371. package/dist/xlsx/edit/charts.d.ts.map +1 -1
  372. package/dist/xlsx/edit/clipboard-text.d.ts +2 -7
  373. package/dist/xlsx/edit/clipboard-text.d.ts.map +1 -1
  374. package/dist/xlsx/edit/index.d.ts +3 -1
  375. package/dist/xlsx/edit/index.d.ts.map +1 -1
  376. package/dist/xlsx/edit/session.d.ts.map +1 -1
  377. package/dist/xlsx/edit/shift-formulas.d.ts.map +1 -1
  378. package/dist/xlsx/edit/smart-art.d.ts +32 -0
  379. package/dist/xlsx/edit/smart-art.d.ts.map +1 -0
  380. package/dist/xlsx/edit/types.d.ts +12 -1
  381. package/dist/xlsx/edit/types.d.ts.map +1 -1
  382. package/dist/xlsx/embedded-chart-space.d.ts +19 -0
  383. package/dist/xlsx/embedded-chart-space.d.ts.map +1 -0
  384. package/dist/xlsx/index.cjs +6457 -3105
  385. package/dist/xlsx/index.d.ts +1 -0
  386. package/dist/xlsx/index.d.ts.map +1 -1
  387. package/dist/xlsx/index.mjs +6451 -3106
  388. package/dist/xlsx/load/index.cjs +5733 -3844
  389. package/dist/xlsx/load/index.mjs +5733 -3844
  390. package/dist/xlsx/model.d.ts +71 -15
  391. package/dist/xlsx/model.d.ts.map +1 -1
  392. package/dist/xlsx/read/chart.d.ts +10 -0
  393. package/dist/xlsx/read/chart.d.ts.map +1 -1
  394. package/dist/xlsx/read/drawing.d.ts.map +1 -1
  395. package/dist/xlsx/read/smart-art.d.ts.map +1 -1
  396. package/dist/xlsx/smart-art-notices.d.ts +6 -0
  397. package/dist/xlsx/smart-art-notices.d.ts.map +1 -0
  398. package/dist/xlsx/ui/commands/contextual.d.ts +6 -1
  399. package/dist/xlsx/ui/commands/contextual.d.ts.map +1 -1
  400. package/dist/xlsx/ui/commands/i18n/chart-series.d.ts.map +1 -1
  401. package/dist/xlsx/ui/commands/i18n/core-features.d.ts.map +1 -1
  402. package/dist/xlsx/ui/commands/i18n/index.d.ts.map +1 -1
  403. package/dist/xlsx/ui/commands/i18n/ribbon-tabs.d.ts.map +1 -1
  404. package/dist/xlsx/ui/commands/i18n/smartart.d.ts +3 -0
  405. package/dist/xlsx/ui/commands/i18n/smartart.d.ts.map +1 -0
  406. package/dist/xlsx/ui/commands/icons.d.ts.map +1 -1
  407. package/dist/xlsx/ui/index.cjs +6664 -2907
  408. package/dist/xlsx/ui/index.mjs +6663 -2907
  409. package/dist/xlsx/ui/locales/de/index.d.ts.map +1 -1
  410. package/dist/xlsx/ui/locales/de/smartart.d.ts +2 -0
  411. package/dist/xlsx/ui/locales/de/smartart.d.ts.map +1 -0
  412. package/dist/xlsx/ui/locales/en/index.d.ts.map +1 -1
  413. package/dist/xlsx/ui/locales/en/smartart.d.ts +2 -0
  414. package/dist/xlsx/ui/locales/en/smartart.d.ts.map +1 -0
  415. package/dist/xlsx/ui/locales/es/index.d.ts.map +1 -1
  416. package/dist/xlsx/ui/locales/es/smartart.d.ts +2 -0
  417. package/dist/xlsx/ui/locales/es/smartart.d.ts.map +1 -0
  418. package/dist/xlsx/ui/locales/fr/index.d.ts.map +1 -1
  419. package/dist/xlsx/ui/locales/fr/smartart.d.ts +2 -0
  420. package/dist/xlsx/ui/locales/fr/smartart.d.ts.map +1 -0
  421. package/dist/xlsx/ui/locales/zh-CN/index.d.ts.map +1 -1
  422. package/dist/xlsx/ui/locales/zh-CN/smartart.d.ts +2 -0
  423. package/dist/xlsx/ui/locales/zh-CN/smartart.d.ts.map +1 -0
  424. package/dist/xlsx/write/chart-cache.d.ts.map +1 -1
  425. package/dist/xlsx/write/chart-colors.d.ts +1 -8
  426. package/dist/xlsx/write/chart-colors.d.ts.map +1 -1
  427. package/dist/xlsx/write/chart-space.d.ts +8 -0
  428. package/dist/xlsx/write/chart-space.d.ts.map +1 -1
  429. package/dist/xlsx/write/chart-title.d.ts +2 -2
  430. package/dist/xlsx/write/chart-title.d.ts.map +1 -1
  431. package/dist/xlsx/write/chart.d.ts +4 -3
  432. package/dist/xlsx/write/chart.d.ts.map +1 -1
  433. package/dist/xlsx/write/drawing.d.ts +10 -3
  434. package/dist/xlsx/write/drawing.d.ts.map +1 -1
  435. package/dist/xlsx/write/smart-art.d.ts +17 -0
  436. package/dist/xlsx/write/smart-art.d.ts.map +1 -0
  437. package/package.json +6 -1
  438. package/dist/PptxHandler-KBJ4TN3T.mjs +0 -4
  439. package/dist/pptx/chunks/elements-iUzpAeqR.d.ts.map +0 -1
  440. package/dist/pptx/chunks/index-4FmgJajb.d.ts.map +0 -1
  441. package/dist/pptx/chunks/index-nKQ4s7FA.d.ts.map +0 -1
  442. package/dist/pptx/chunks/smart-art-ENMMEbmW.d.ts.map +0 -1
  443. package/dist/xlsx/write/chart-patch.d.ts +0 -9
  444. package/dist/xlsx/write/chart-patch.d.ts.map +0 -1
@@ -311,6 +311,405 @@ interface PptxCustomPathProperties {
311
311
  customGeometryTextRect?: CustomGeometryTextRect;
312
312
  }
313
313
  //#endregion
314
+ //#region drawingml/types.d.ts
315
+ /** A theme-independent DrawingML colour as written in a part. */
316
+ interface DrawingColor {
317
+ kind: 'srgb' | 'scheme' | 'system' | 'preset' | 'scrgb' | 'hsl';
318
+ /** Hex for `srgb`, the scheme/preset/system name, or the serialized channels for `scrgb`/`hsl`. */
319
+ value: string;
320
+ /** Colour transforms in document order (`alpha`, `lumMod`, `shade`...), raw attribute values. */
321
+ transforms: {
322
+ name: string;
323
+ value: string;
324
+ }[];
325
+ /** `lastClr` of a system colour: the value the producer saw. */
326
+ fallback?: string;
327
+ }
328
+ /** A DrawingML fill (`a:noFill`, `a:solidFill`, `a:gradFill`, `a:pattFill`, `a:blipFill`). */
329
+ type DrawingFill = {
330
+ kind: 'none';
331
+ } | {
332
+ kind: 'solid';
333
+ color: DrawingColor;
334
+ } | {
335
+ kind: 'gradient';
336
+ /** Original gradient XML, retaining flags and unsupported properties for editing. */
337
+ sourceXml?: string;
338
+ stops: {
339
+ position: number;
340
+ color: DrawingColor;
341
+ }[];
342
+ /** Linear angle in degrees, when `a:lin` is present. */
343
+ angle?: number;
344
+ /** Whether the linear vector scales with the shape's bounding box. */
345
+ scaled?: boolean;
346
+ path?: string;
347
+ /** DrawingML path-gradient focus rectangle, as fractions of the shape box. */
348
+ fillToRect?: {
349
+ l: number;
350
+ t: number;
351
+ r: number;
352
+ b: number;
353
+ };
354
+ /** Gradient tile insets; corner directions can extend beyond the shape box. */
355
+ tileRect?: {
356
+ l: number;
357
+ t: number;
358
+ r: number;
359
+ b: number;
360
+ };
361
+ } | {
362
+ kind: 'pattern';
363
+ preset: string;
364
+ foreground?: DrawingColor;
365
+ background?: DrawingColor;
366
+ } | {
367
+ kind: 'picture';
368
+ relId?: string;
369
+ } | {
370
+ kind: 'unsupported';
371
+ element: string;
372
+ };
373
+ /** A DrawingML outline (`a:ln`). */
374
+ interface DrawingLine {
375
+ /** Width in EMU. */
376
+ widthEmu?: number;
377
+ fill?: DrawingFill;
378
+ dash?: string;
379
+ cap?: string;
380
+ }
381
+ /** DrawingML spacing, retaining absolute points or a fractional percentage. */
382
+ interface DrawingTextSpacing {
383
+ unit: 'points' | 'percent';
384
+ value: number;
385
+ }
386
+ //#endregion
387
+ //#region drawingml/text-model.d.ts
388
+ /** A `CT_TextFont` slot (`a:latin`, `a:ea`, `a:cs`, `a:sym`, `a:buFont`). */
389
+ interface DrawingFont {
390
+ typeface: string;
391
+ panose?: string;
392
+ pitchFamily?: number;
393
+ charset?: number;
394
+ }
395
+ /** `a:hlinkClick` / `a:hlinkMouseOver` (CT_Hyperlink); the target stays a relationship id. */
396
+ interface DrawingHyperlink {
397
+ relId?: string;
398
+ tooltip?: string;
399
+ action?: string;
400
+ invalidUrl?: string;
401
+ targetFrame?: string;
402
+ history?: boolean;
403
+ highlightClick?: boolean;
404
+ endSound?: boolean;
405
+ /** Children such as `a:snd` and `a:extLst`, kept verbatim. */
406
+ extraXml?: string[];
407
+ }
408
+ /** Run properties (`CT_TextCharacterProperties`). */
409
+ interface DrawingRunProperties {
410
+ /** `sz` in points (the file stores hundredths). */
411
+ sizePt?: number;
412
+ bold?: boolean;
413
+ italic?: boolean;
414
+ /** `u`: `sng`, `dbl`, `none`, ... as written. */
415
+ underline?: string;
416
+ /** `strike`: `noStrike`, `sngStrike`, `dblStrike`. */
417
+ strike?: string;
418
+ /** `cap`: `none`, `small`, `all`. */
419
+ caps?: string;
420
+ /** `baseline` as a fraction of the font size (0.3 = 30% superscript). */
421
+ baseline?: number;
422
+ /** `spc` character spacing in points. */
423
+ spacingPt?: number;
424
+ /** `kern` minimum font size for kerning, in points. */
425
+ kernPt?: number;
426
+ language?: string;
427
+ altLanguage?: string;
428
+ kumimoji?: boolean;
429
+ normalizeHeight?: boolean;
430
+ noProof?: boolean;
431
+ dirty?: boolean;
432
+ spellingError?: boolean;
433
+ smartTagClean?: boolean;
434
+ smartTagId?: number;
435
+ bookmark?: string;
436
+ /** Text outline (`a:ln`); `lineSourceXml` keeps join, compound and arrow children. */
437
+ line?: DrawingLine;
438
+ lineSourceXml?: string;
439
+ /** Text fill (`a:solidFill`, `a:gradFill`, `a:noFill`...). */
440
+ fill?: DrawingFill;
441
+ highlight?: DrawingColor;
442
+ /** `a:uLnTx` (true) or nothing; an explicit underline line is kept in `underlineLineXml`. */
443
+ underlineLineFollowsText?: boolean;
444
+ underlineLineXml?: string;
445
+ /** `a:uFillTx` (true) or nothing; an explicit underline fill is `underlineFill`. */
446
+ underlineFillFollowsText?: boolean;
447
+ underlineFill?: DrawingFill;
448
+ latin?: DrawingFont;
449
+ eastAsian?: DrawingFont;
450
+ complexScript?: DrawingFont;
451
+ symbol?: DrawingFont;
452
+ hyperlinkClick?: DrawingHyperlink;
453
+ hyperlinkMouseOver?: DrawingHyperlink;
454
+ /** `a:rtl` child element (not an attribute on runs). */
455
+ rightToLeft?: boolean;
456
+ /** Children the model does not cover (`a:effectLst`, `a:extLst`...), verbatim. */
457
+ extraXml?: string[];
458
+ }
459
+ /** One `a:tab` of a `a:tabLst`. */
460
+ interface DrawingTabStop {
461
+ /** Position in EMU. */
462
+ positionEmu?: number;
463
+ /** `l`, `ctr`, `r`, `dec`. */
464
+ align?: string;
465
+ }
466
+ /** The bullet of a paragraph (`a:buNone`, `a:buChar`, `a:buAutoNum`, `a:buBlip`). */
467
+ type DrawingBullet = {
468
+ kind: 'none';
469
+ } | {
470
+ kind: 'char';
471
+ char: string;
472
+ } | {
473
+ kind: 'autoNumber';
474
+ scheme: string;
475
+ startAt?: number;
476
+ } | {
477
+ kind: 'picture';
478
+ xml: string;
479
+ };
480
+ /** Paragraph properties (`CT_TextParagraphProperties`). */
481
+ interface DrawingParagraphProperties {
482
+ /** `lvl` (0-8). */
483
+ level?: number;
484
+ /** `algn`: `l`, `ctr`, `r`, `just`, `justLow`, `dist`, `thaiDist`. */
485
+ align?: string;
486
+ /** `marL`, `marR` and `indent` in EMU. */
487
+ marginLeftEmu?: number;
488
+ marginRightEmu?: number;
489
+ indentEmu?: number;
490
+ /** `defTabSz` in EMU. */
491
+ defaultTabSizeEmu?: number;
492
+ rightToLeft?: boolean;
493
+ eastAsianLineBreak?: boolean;
494
+ latinLineBreak?: boolean;
495
+ hangingPunctuation?: boolean;
496
+ /** `fontAlgn`: `auto`, `t`, `ctr`, `base`, `b`. */
497
+ fontAlign?: string;
498
+ lineSpacing?: DrawingTextSpacing;
499
+ spaceBefore?: DrawingTextSpacing;
500
+ spaceAfter?: DrawingTextSpacing;
501
+ /** `a:buClrTx` is `'text'`. */
502
+ bulletColor?: DrawingColor | 'text';
503
+ /** `a:buSzTx` is `'text'`; `a:buSzPct` a fraction; `a:buSzPts` points. */
504
+ bulletSize?: 'text' | {
505
+ unit: 'percent' | 'points';
506
+ value: number;
507
+ };
508
+ /** `a:buFontTx` is `'text'`. */
509
+ bulletFont?: DrawingFont | 'text';
510
+ bullet?: DrawingBullet;
511
+ tabStops?: DrawingTabStop[];
512
+ defaultRunProperties?: DrawingRunProperties;
513
+ extraXml?: string[];
514
+ }
515
+ //#endregion
516
+ //#region diagram/model/node.d.ts
517
+ /**
518
+ * A single run of text inside a SmartArt node, capturing the run text and the
519
+ * raw `a:rPr` run-properties object verbatim so per-run formatting (bold,
520
+ * colour, size, etc.) survives a load -> edit -> save round-trip instead of
521
+ * collapsing to a single unstyled run.
522
+ *
523
+ * @example
524
+ * ```ts
525
+ * const run: DiagramNodeTextRun = {
526
+ * text: "Bold",
527
+ * rPr: { "@_b": "1", "@_lang": "en-US" },
528
+ * };
529
+ * // => satisfies DiagramNodeTextRun
530
+ * ```
531
+ */
532
+ interface DiagramNodeTextRun<S = unknown> {
533
+ /** Run text content. */
534
+ text: string;
535
+ /**
536
+ * Raw parsed `a:rPr` run-properties object, preserved verbatim for
537
+ * round-trip. Untyped XML, hence the loose record shape.
538
+ */
539
+ rPr?: Record<string, unknown>;
540
+ /** Resolved standard shape-text style derived from {@link rPr}. */
541
+ style?: S;
542
+ /** Neutral run properties, set by readers on the shared DOM (`readDiagramNodeParagraphs`). */
543
+ properties?: DrawingRunProperties;
544
+ /** Raw run XML used to retain unmodelled extension children on save. */
545
+ rawXml?: Record<string, unknown>;
546
+ /** Original direct-child order, including unmodelled extension children. */
547
+ childOrder?: string[];
548
+ }
549
+ /** An ordered item within a SmartArt text paragraph. */
550
+ type DiagramNodeTextParagraphItem<S = unknown> = {
551
+ kind: 'run';
552
+ run: DiagramNodeTextRun<S>;
553
+ } | {
554
+ kind: 'break';
555
+ rPr?: Record<string, unknown>;
556
+ style?: S;
557
+ properties?: DrawingRunProperties;
558
+ rawXml?: Record<string, unknown>;
559
+ childOrder?: string[];
560
+ } | {
561
+ kind: 'field';
562
+ id?: string;
563
+ fieldType?: string;
564
+ text: string;
565
+ rPr?: Record<string, unknown>;
566
+ style?: S;
567
+ pPr?: Record<string, unknown>;
568
+ properties?: DrawingRunProperties;
569
+ paragraphProperties?: DrawingParagraphProperties;
570
+ rawXml?: Record<string, unknown>;
571
+ childOrder?: string[];
572
+ } | {
573
+ kind: 'tab';
574
+ rawXml?: Record<string, unknown>;
575
+ childOrder?: string[];
576
+ } | {
577
+ kind: 'raw';
578
+ name: string;
579
+ value: unknown;
580
+ };
581
+ /** A complete `a:p` paragraph in a SmartArt data-model text body. */
582
+ interface DiagramNodeTextParagraph<S = unknown> {
583
+ /** Paragraph properties (`a:pPr`) preserved verbatim. */
584
+ pPr?: Record<string, unknown>;
585
+ /** Text children in source order. */
586
+ items: DiagramNodeTextParagraphItem<S>[];
587
+ /** End-paragraph run properties (`a:endParaRPr`) preserved verbatim. */
588
+ endParaRPr?: Record<string, unknown>;
589
+ /** Resolved style for the paragraph terminator. */
590
+ endParaStyle?: S;
591
+ /** Neutral paragraph properties, set by readers on the shared DOM. */
592
+ properties?: DrawingParagraphProperties;
593
+ /** Neutral end-paragraph run properties, set by readers on the shared DOM. */
594
+ endProperties?: DrawingRunProperties;
595
+ /** Raw paragraph XML used to retain unmodelled extension children on save. */
596
+ rawXml?: Record<string, unknown>;
597
+ }
598
+ /**
599
+ * Per-node visual override for a SmartArt node.
600
+ *
601
+ * Captures the individual fill / line / font colour and the bold / italic
602
+ * emphasis a user has set on one specific node, independent of the diagram's
603
+ * colour scheme and quick style. All colours are hex strings (e.g. "#FF0000").
604
+ * Every field is optional: only the overridden aspects are carried, so an
605
+ * empty object means "no per-node override".
606
+ *
607
+ * The parser reads these from the data point's `spPr` solid fill / line colour
608
+ * and the first run's `rPr` (b / i / solidFill) when present, and the save path
609
+ * writes them back so the override survives a load -> edit -> save round-trip.
610
+ *
611
+ * @example
612
+ * ```ts
613
+ * const style: DiagramNodeStyle = {
614
+ * fillColor: "#FF0000",
615
+ * fontColor: "#FFFFFF",
616
+ * bold: true,
617
+ * };
618
+ * // => satisfies DiagramNodeStyle
619
+ * ```
620
+ */
621
+ interface DiagramNodeStyle {
622
+ /** Solid fill colour override (hex, e.g. "#4F81BD"). */
623
+ fillColor?: string;
624
+ /** Outline / line colour override (hex). */
625
+ lineColor?: string;
626
+ /** Text (font) colour override (hex). */
627
+ fontColor?: string;
628
+ /** Bold emphasis override for the node's runs. */
629
+ bold?: boolean;
630
+ /** Italic emphasis override for the node's runs. */
631
+ italic?: boolean;
632
+ }
633
+ /**
634
+ * A single node in the SmartArt data model.
635
+ *
636
+ * @example
637
+ * ```ts
638
+ * const node: DiagramNode = {
639
+ * id: "1",
640
+ * text: "CEO",
641
+ * children: [
642
+ * { id: "2", text: "VP Marketing", parentId: "1" },
643
+ * { id: "3", text: "VP Engineering", parentId: "1" },
644
+ * ],
645
+ * };
646
+ * // => satisfies DiagramNode
647
+ * ```
648
+ */
649
+ interface DiagramNode<S = unknown> {
650
+ id: string;
651
+ text: string;
652
+ /** CT_Pt connection identifier, when the point references a connection. */
653
+ connectionId?: string | null;
654
+ parentId?: string | undefined;
655
+ children?: DiagramNode<S>[];
656
+ /** Node type from `@_type` attribute (e.g. "doc", "node", "asst", "pres"). */
657
+ nodeType?: string;
658
+ /**
659
+ * The node's own quick-style role (`dgm:prSet/@presStyleLbl` from its
660
+ * paired `type="pres"` presentation point, resolved via a `presOf`
661
+ * connection back to this content point). Structural names like `node1`,
662
+ * `asst2`, `bgShp`, `revTx`; distinct from {@link nodeType}, which is the
663
+ * data-model `@_type` ("node"/"asst"/...). Used to pick this node's own
664
+ * colour list from a colour transform's per-role palettes instead of the
665
+ * generic cycled palette (see `applySmartArtRoleColors`).
666
+ */
667
+ styleRole?: string;
668
+ /**
669
+ * `dgm:prSet/@coherent3DOff` (`CT_ElemPropSet`) resolved from the node's
670
+ * paired presentation point: when true, this node opts out of the
671
+ * diagram's overall coherent-3D scene rotation (a `dgm:scene3d`/`dgm:sp3d`
672
+ * quick-style variation) applied to every other node.
673
+ */
674
+ coherent3DOff?: boolean;
675
+ /**
676
+ * The layout variables PowerPoint recorded for each presentation node
677
+ * this point drives (`dgm:prSet/@presName` -> `dgm:presLayoutVars`
678
+ * variable -> `@val`), e.g. `{ hierRoot1: { hierBranch: 'l' } }` for an
679
+ * org-chart manager set to "Left Hanging". Read-only: the presentation
680
+ * points themselves round-trip verbatim.
681
+ */
682
+ presLayoutVarsByName?: Record<string, Record<string, string>>;
683
+ /**
684
+ * Per-run text + run-properties for the node's first paragraph, captured at
685
+ * parse time. When the joined run text still equals {@link text} (the node
686
+ * was not edited, or was edited only in ways that preserve the run split),
687
+ * the save path rebuilds the paragraph from these runs so per-run rich text
688
+ * is not flattened. When {@link text} diverges, the runs are ignored.
689
+ */
690
+ runs?: DiagramNodeTextRun<S>[];
691
+ /**
692
+ * Complete typed paragraph model. Unlike {@link runs}, this retains every
693
+ * paragraph and the ordered run, field, break, and tab children within it.
694
+ */
695
+ paragraphs?: DiagramNodeTextParagraph<S>[];
696
+ /**
697
+ * Optional per-node visual override (fill / line / font colour, bold /
698
+ * italic). Read at parse time from the point's `spPr` / first-run `rPr`, set
699
+ * by the editing op, honoured by the render path, and written back on save so
700
+ * it round-trips.
701
+ */
702
+ style?: DiagramNodeStyle;
703
+ /**
704
+ * Manual layout override read from the node's `dgm:prSet` `cust*`
705
+ * attributes (drag/resize/rotate/flip performed in PowerPoint's own diagram
706
+ * editor). Applied as a final transform after algorithmic layout by
707
+ * {@link module:smartart-layout-interpreter-custom} so it survives even
708
+ * when there is no cached `dsp:` drawing to fall back on.
709
+ */
710
+ customLayout?: DiagramNodeCustomLayout;
711
+ }
712
+ //#endregion
314
713
  //#region diagram/types.d.ts
315
714
  /** Resolved SmartArt layout family. */
316
715
  type DiagramLayoutType = 'list' | 'process' | 'cycle' | 'hierarchy' | 'relationship' | 'matrix' | 'pyramid' | 'funnel' | 'gear' | 'target' | 'timeline' | 'venn' | 'chevron' | 'bending' | 'unknown';
@@ -877,202 +1276,14 @@ interface DiagramQuickStyle<Scene = unknown, Shape = unknown, Text = unknown> ex
877
1276
  scene3d?: Scene;
878
1277
  }
879
1278
  //#endregion
880
- //#region diagram/model/node.d.ts
1279
+ //#region diagram/model/data.d.ts
881
1280
  /**
882
- * A single run of text inside a SmartArt node, capturing the run text and the
883
- * raw `a:rPr` run-properties object verbatim so per-run formatting (bold,
884
- * colour, size, etc.) survives a load -> edit -> save round-trip instead of
885
- * collapsing to a single unstyled run.
1281
+ * Named SmartArt layout presets for creation (subset of the built-in layouts).
886
1282
  *
887
1283
  * @example
888
1284
  * ```ts
889
- * const run: DiagramNodeTextRun = {
890
- * text: "Bold",
891
- * rPr: { "@_b": "1", "@_lang": "en-US" },
892
- * };
893
- * // => satisfies DiagramNodeTextRun
894
- * ```
895
- */
896
- interface DiagramNodeTextRun<S = unknown> {
897
- /** Run text content. */
898
- text: string;
899
- /**
900
- * Raw parsed `a:rPr` run-properties object, preserved verbatim for
901
- * round-trip. Untyped XML, hence the loose record shape.
902
- */
903
- rPr?: Record<string, unknown>;
904
- /** Resolved standard shape-text style derived from {@link rPr}. */
905
- style?: S;
906
- /** Raw run XML used to retain unmodelled extension children on save. */
907
- rawXml?: Record<string, unknown>;
908
- /** Original direct-child order, including unmodelled extension children. */
909
- childOrder?: string[];
910
- }
911
- /** An ordered item within a SmartArt text paragraph. */
912
- type DiagramNodeTextParagraphItem<S = unknown> = {
913
- kind: 'run';
914
- run: DiagramNodeTextRun<S>;
915
- } | {
916
- kind: 'break';
917
- rPr?: Record<string, unknown>;
918
- style?: S;
919
- rawXml?: Record<string, unknown>;
920
- childOrder?: string[];
921
- } | {
922
- kind: 'field';
923
- id?: string;
924
- fieldType?: string;
925
- text: string;
926
- rPr?: Record<string, unknown>;
927
- style?: S;
928
- pPr?: Record<string, unknown>;
929
- rawXml?: Record<string, unknown>;
930
- childOrder?: string[];
931
- } | {
932
- kind: 'tab';
933
- rawXml?: Record<string, unknown>;
934
- childOrder?: string[];
935
- } | {
936
- kind: 'raw';
937
- name: string;
938
- value: unknown;
939
- };
940
- /** A complete `a:p` paragraph in a SmartArt data-model text body. */
941
- interface DiagramNodeTextParagraph<S = unknown> {
942
- /** Paragraph properties (`a:pPr`) preserved verbatim. */
943
- pPr?: Record<string, unknown>;
944
- /** Text children in source order. */
945
- items: DiagramNodeTextParagraphItem<S>[];
946
- /** End-paragraph run properties (`a:endParaRPr`) preserved verbatim. */
947
- endParaRPr?: Record<string, unknown>;
948
- /** Resolved style for the paragraph terminator. */
949
- endParaStyle?: S;
950
- /** Raw paragraph XML used to retain unmodelled extension children on save. */
951
- rawXml?: Record<string, unknown>;
952
- }
953
- /**
954
- * Per-node visual override for a SmartArt node.
955
- *
956
- * Captures the individual fill / line / font colour and the bold / italic
957
- * emphasis a user has set on one specific node, independent of the diagram's
958
- * colour scheme and quick style. All colours are hex strings (e.g. "#FF0000").
959
- * Every field is optional: only the overridden aspects are carried, so an
960
- * empty object means "no per-node override".
961
- *
962
- * The parser reads these from the data point's `spPr` solid fill / line colour
963
- * and the first run's `rPr` (b / i / solidFill) when present, and the save path
964
- * writes them back so the override survives a load -> edit -> save round-trip.
965
- *
966
- * @example
967
- * ```ts
968
- * const style: DiagramNodeStyle = {
969
- * fillColor: "#FF0000",
970
- * fontColor: "#FFFFFF",
971
- * bold: true,
972
- * };
973
- * // => satisfies DiagramNodeStyle
974
- * ```
975
- */
976
- interface DiagramNodeStyle {
977
- /** Solid fill colour override (hex, e.g. "#4F81BD"). */
978
- fillColor?: string;
979
- /** Outline / line colour override (hex). */
980
- lineColor?: string;
981
- /** Text (font) colour override (hex). */
982
- fontColor?: string;
983
- /** Bold emphasis override for the node's runs. */
984
- bold?: boolean;
985
- /** Italic emphasis override for the node's runs. */
986
- italic?: boolean;
987
- }
988
- /**
989
- * A single node in the SmartArt data model.
990
- *
991
- * @example
992
- * ```ts
993
- * const node: DiagramNode = {
994
- * id: "1",
995
- * text: "CEO",
996
- * children: [
997
- * { id: "2", text: "VP Marketing", parentId: "1" },
998
- * { id: "3", text: "VP Engineering", parentId: "1" },
999
- * ],
1000
- * };
1001
- * // => satisfies DiagramNode
1002
- * ```
1003
- */
1004
- interface DiagramNode<S = unknown> {
1005
- id: string;
1006
- text: string;
1007
- /** CT_Pt connection identifier, when the point references a connection. */
1008
- connectionId?: string | null;
1009
- parentId?: string | undefined;
1010
- children?: DiagramNode<S>[];
1011
- /** Node type from `@_type` attribute (e.g. "doc", "node", "asst", "pres"). */
1012
- nodeType?: string;
1013
- /**
1014
- * The node's own quick-style role (`dgm:prSet/@presStyleLbl` from its
1015
- * paired `type="pres"` presentation point, resolved via a `presOf`
1016
- * connection back to this content point). Structural names like `node1`,
1017
- * `asst2`, `bgShp`, `revTx`; distinct from {@link nodeType}, which is the
1018
- * data-model `@_type` ("node"/"asst"/...). Used to pick this node's own
1019
- * colour list from a colour transform's per-role palettes instead of the
1020
- * generic cycled palette (see `applySmartArtRoleColors`).
1021
- */
1022
- styleRole?: string;
1023
- /**
1024
- * `dgm:prSet/@coherent3DOff` (`CT_ElemPropSet`) resolved from the node's
1025
- * paired presentation point: when true, this node opts out of the
1026
- * diagram's overall coherent-3D scene rotation (a `dgm:scene3d`/`dgm:sp3d`
1027
- * quick-style variation) applied to every other node.
1028
- */
1029
- coherent3DOff?: boolean;
1030
- /**
1031
- * The layout variables PowerPoint recorded for each presentation node
1032
- * this point drives (`dgm:prSet/@presName` -> `dgm:presLayoutVars`
1033
- * variable -> `@val`), e.g. `{ hierRoot1: { hierBranch: 'l' } }` for an
1034
- * org-chart manager set to "Left Hanging". Read-only: the presentation
1035
- * points themselves round-trip verbatim.
1036
- */
1037
- presLayoutVarsByName?: Record<string, Record<string, string>>;
1038
- /**
1039
- * Per-run text + run-properties for the node's first paragraph, captured at
1040
- * parse time. When the joined run text still equals {@link text} (the node
1041
- * was not edited, or was edited only in ways that preserve the run split),
1042
- * the save path rebuilds the paragraph from these runs so per-run rich text
1043
- * is not flattened. When {@link text} diverges, the runs are ignored.
1044
- */
1045
- runs?: DiagramNodeTextRun<S>[];
1046
- /**
1047
- * Complete typed paragraph model. Unlike {@link runs}, this retains every
1048
- * paragraph and the ordered run, field, break, and tab children within it.
1049
- */
1050
- paragraphs?: DiagramNodeTextParagraph<S>[];
1051
- /**
1052
- * Optional per-node visual override (fill / line / font colour, bold /
1053
- * italic). Read at parse time from the point's `spPr` / first-run `rPr`, set
1054
- * by the editing op, honoured by the render path, and written back on save so
1055
- * it round-trips.
1056
- */
1057
- style?: DiagramNodeStyle;
1058
- /**
1059
- * Manual layout override read from the node's `dgm:prSet` `cust*`
1060
- * attributes (drag/resize/rotate/flip performed in PowerPoint's own diagram
1061
- * editor). Applied as a final transform after algorithmic layout by
1062
- * {@link module:smartart-layout-interpreter-custom} so it survives even
1063
- * when there is no cached `dsp:` drawing to fall back on.
1064
- */
1065
- customLayout?: DiagramNodeCustomLayout;
1066
- }
1067
- //#endregion
1068
- //#region diagram/model/data.d.ts
1069
- /**
1070
- * Named SmartArt layout presets for creation (subset of the built-in layouts).
1071
- *
1072
- * @example
1073
- * ```ts
1074
- * const layout: DiagramLayoutPreset = "hierarchy";
1075
- * // => "hierarchy" - one of: "basicBlockList" | "alternatingHexagons" | "hierarchy" | ...
1285
+ * const layout: DiagramLayoutPreset = "hierarchy";
1286
+ * // => "hierarchy" - one of: "basicBlockList" | "alternatingHexagons" | "hierarchy" | ...
1076
1287
  * ```
1077
1288
  */
1078
1289
  type DiagramLayoutPreset = 'basicBlockList' | 'alternatingHexagons' | 'basicChevronProcess' | 'basicCycle' | 'basicPie' | 'basicRadial' | 'basicVenn' | 'continuousBlockProcess' | 'convergingRadial' | 'hierarchy' | 'horizontalBulletList' | 'linearVenn' | 'segmentedProcess' | 'stackedList' | 'tableList' | 'trapezoidList' | 'upwardArrow' | 'basicFunnel' | 'basicTarget' | 'interlockingGears' | 'basicTimeline' | 'basicMatrix' | 'basicPyramid' | 'invertedPyramid' | 'bendingProcess' | 'stepDownProcess' | 'alternatingFlow' | 'descendingProcess' | 'pictureAccentList' | 'verticalBlockList' | 'groupedList' | 'pyramidList' | 'horizontalPictureList' | 'accentProcess' | 'verticalChevronList';
@@ -1163,6 +1374,111 @@ interface DiagramData {
1163
1374
  themeMinorFont?: string;
1164
1375
  }
1165
1376
  //#endregion
1377
+ //#region diagram/drawing-view.d.ts
1378
+ /** A gradient stop of a resolved fill. `position` is a percentage (0..100). */
1379
+ interface DiagramShapeGradientStop {
1380
+ color: string;
1381
+ position: number;
1382
+ opacity?: number;
1383
+ }
1384
+ /** A SmartArt shape with resolved colours, in pixels (EMU / `emuPerPx`). */
1385
+ interface DiagramShapeView {
1386
+ /** Shape id: the `dsp:sp/@modelId` presentation point, or `reflow-<kind>-<nodeId>`. */
1387
+ id: string;
1388
+ /** Preset geometry (`roundRect`, `ellipse`), or `custom`. */
1389
+ shapeType?: string;
1390
+ x: number;
1391
+ y: number;
1392
+ width: number;
1393
+ height: number;
1394
+ /** Rotation in degrees. */
1395
+ rotation?: number;
1396
+ /** Horizontal/vertical mirrors declared on the cached drawing transform. */
1397
+ flipHorizontal?: boolean;
1398
+ flipVertical?: boolean;
1399
+ /** Skew along the X axis in degrees. */
1400
+ skewX?: number;
1401
+ /** Skew along the Y axis in degrees. */
1402
+ skewY?: number;
1403
+ /** Preset-geometry adjustment values from `a:prstGeom/a:avLst`. */
1404
+ shapeAdjustments?: Record<string, number>;
1405
+ /**
1406
+ * The cached shape declares `a:noFill`. Renderers must leave it unpainted rather than
1407
+ * substituting a palette colour, because these shapes usually sit on top of a painted shape
1408
+ * whose fill has to stay visible.
1409
+ */
1410
+ fillNone?: boolean;
1411
+ /** Solid fill colour (hex). */
1412
+ fillColor?: string;
1413
+ /**
1414
+ * Opacity (0..1) of the solid fill, from the colour's `a:alpha` (Basic Venn paints its circles
1415
+ * at 50% so overlaps blend). Absent when opaque.
1416
+ */
1417
+ fillOpacity?: number;
1418
+ /** Gradient fill stops when the cached shape uses `a:gradFill` (positions 0..100). */
1419
+ fillGradientStops?: DiagramShapeGradientStop[];
1420
+ /** Gradient geometry type (`linear` for `a:lin`, `radial` for `a:path`). */
1421
+ fillGradientType?: 'linear' | 'radial';
1422
+ /** Linear gradient angle in degrees (0..360). */
1423
+ fillGradientAngle?: number;
1424
+ /** Pattern fill preset name from `a:pattFill/@prst` (e.g. "pct50", "cross"). */
1425
+ fillPatternPreset?: string;
1426
+ /** Pattern fill foreground colour (hex) from `a:pattFill/a:fgClr`. */
1427
+ fillPatternForegroundColor?: string;
1428
+ /** Pattern fill background colour (hex) from `a:pattFill/a:bgClr`. */
1429
+ fillPatternBackgroundColor?: string;
1430
+ /** Relationship id of a picture (blip) fill's embedded image (`a:blip/@r:embed`). */
1431
+ fillBlipEmbedId?: string;
1432
+ /** Resolved data-URI/URL for a picture fill, when the host could resolve the image part. */
1433
+ fillImageUrl?: string;
1434
+ /** Whether the cached shape carries an outer-shadow effect (`a:effectLst`). */
1435
+ hasShadow?: boolean;
1436
+ /** Resolved outer-shadow colour (hex), when present. */
1437
+ shadowColor?: string;
1438
+ /** Stroke colour (hex). */
1439
+ strokeColor?: string;
1440
+ /** Stroke width in points. */
1441
+ strokeWidth?: number;
1442
+ /** Text content of the shape (paragraphs joined by a newline). */
1443
+ text?: string;
1444
+ /** Font size in CSS pixels. */
1445
+ fontSize?: number;
1446
+ /** Font colour (hex). */
1447
+ fontColor?: string;
1448
+ /** Authored font family from the first styled run. */
1449
+ fontFamily?: string;
1450
+ /** Authored font weight (400 or 700). */
1451
+ fontWeight?: number;
1452
+ /** Authored font style. */
1453
+ fontStyle?: 'normal' | 'italic';
1454
+ /** Absolute line height in CSS pixels from `a:spcPts`. */
1455
+ lineHeight?: number;
1456
+ /** Relative line height from `a:spcPct`. */
1457
+ lineHeightRatio?: number;
1458
+ /** Absolute spacing after a paragraph in CSS pixels. */
1459
+ lineSpacingAfter?: number;
1460
+ /** Relative spacing after a paragraph. */
1461
+ lineSpacingAfterRatio?: number;
1462
+ /** Text-body insets in CSS pixels. */
1463
+ textInsetLeft?: number;
1464
+ textInsetTop?: number;
1465
+ textInsetRight?: number;
1466
+ textInsetBottom?: number;
1467
+ /** DiagramML text vertical anchor (`t`, `ctr`, or `b`). */
1468
+ textVerticalAnchor?: string;
1469
+ /** Independent DiagramML text-frame geometry from `dsp:txXfrm`. */
1470
+ textFrameX?: number;
1471
+ textFrameY?: number;
1472
+ textFrameWidth?: number;
1473
+ textFrameHeight?: number;
1474
+ /**
1475
+ * The presentation style label (`presStyleLbl`: `node1`, `revTx`, `sibTrans2D1`, ...) of the
1476
+ * layout node a regenerated shape was laid out from, when the layout engine reports it;
1477
+ * `undefined` on cached (parsed) shapes.
1478
+ */
1479
+ styleLabel?: string;
1480
+ }
1481
+ //#endregion
1166
1482
  //#region pptx/core/types/smart-art-chrome.d.ts
1167
1483
  /**
1168
1484
  * Background / outline extracted from `dgm:bg` and `dgm:whole`.
@@ -1299,7 +1615,9 @@ type SmartArtStyle = DiagramStyleIntensity;
1299
1615
  */
1300
1616
  type PptxSmartArtConnection = DiagramConnection;
1301
1617
  /**
1302
- * A pre-computed shape from `ppt/diagrams/drawing*.xml`.
1618
+ * A pre-computed shape from `ppt/diagrams/drawing*.xml`: the neutral
1619
+ * {@link DiagramShapeView} (geometry in pixels, resolved colours, text style)
1620
+ * plus the pptx rich-text segments, 3D and custom-geometry slots.
1303
1621
  *
1304
1622
  * @example
1305
1623
  * ```ts
@@ -1313,112 +1631,9 @@ type PptxSmartArtConnection = DiagramConnection;
1313
1631
  * // => satisfies PptxSmartArtDrawingShape
1314
1632
  * ```
1315
1633
  */
1316
- interface PptxSmartArtDrawingShape extends PptxCustomPathProperties {
1317
- /** Shape ID within the drawing. */
1318
- id: string;
1319
- /** Preset geometry type (e.g. "roundRect", "ellipse"). */
1320
- shapeType?: string;
1321
- /** Position and size in EMU-based pixels. */
1322
- x: number;
1323
- y: number;
1324
- width: number;
1325
- height: number;
1326
- /** Rotation in degrees. */
1327
- rotation?: number;
1328
- /** Horizontal/vertical mirrors declared on the cached drawing transform. */
1329
- flipHorizontal?: boolean;
1330
- flipVertical?: boolean;
1331
- /** Skew along the X axis in degrees. */
1332
- skewX?: number;
1333
- /** Skew along the Y axis in degrees. */
1334
- skewY?: number;
1335
- /** Preset-geometry adjustment values from `a:prstGeom/a:avLst`. */
1336
- shapeAdjustments?: Record<string, number>;
1337
- /**
1338
- * The cached shape declares `a:noFill`. Renderers must leave it unpainted
1339
- * rather than substituting a palette colour, because these shapes usually sit
1340
- * on top of a painted shape whose fill has to stay visible.
1341
- */
1342
- fillNone?: boolean;
1343
- /** Solid fill colour (hex). */
1344
- fillColor?: string;
1345
- /**
1346
- * Opacity (0..1) of the solid fill, from the colour's `a:alpha` (Basic Venn
1347
- * paints its circles at 50% so overlaps blend). Absent when opaque.
1348
- */
1349
- fillOpacity?: number;
1350
- /**
1351
- * Gradient fill stops when the cached shape uses `a:gradFill`. Positions are
1352
- * 0..100 (percent). Renderers emit an SVG/CSS gradient instead of a flat box.
1353
- */
1354
- fillGradientStops?: Array<{
1355
- color: string;
1356
- position: number;
1357
- opacity?: number;
1358
- }>;
1359
- /** Gradient geometry type (`linear` for `a:lin`, `radial` for `a:path`). */
1360
- fillGradientType?: 'linear' | 'radial';
1361
- /** Linear gradient angle in degrees (0..360). */
1362
- fillGradientAngle?: number;
1363
- /** Pattern fill preset name from `a:pattFill/@prst` (e.g. "pct50", "cross"). */
1364
- fillPatternPreset?: string;
1365
- /** Pattern fill foreground colour (hex) from `a:pattFill/a:fgClr`. */
1366
- fillPatternForegroundColor?: string;
1367
- /** Pattern fill background colour (hex) from `a:pattFill/a:bgClr`. */
1368
- fillPatternBackgroundColor?: string;
1369
- /**
1370
- * Relationship id of a picture (blip) fill's embedded image, from
1371
- * `a:blipFill/a:blip/@r:embed`. The image bytes are resolved separately; see
1372
- * {@link fillImageUrl}.
1373
- */
1374
- fillBlipEmbedId?: string;
1375
- /**
1376
- * Resolved data-URI/URL for a picture (blip) fill, when the embedded image
1377
- * part could be resolved. Absent when only {@link fillBlipEmbedId} is known.
1378
- */
1379
- fillImageUrl?: string;
1380
- /** Whether the cached shape carries an outer-shadow effect (`a:effectLst`). */
1381
- hasShadow?: boolean;
1382
- /** Resolved outer-shadow colour (hex), when present. */
1383
- shadowColor?: string;
1384
- /** Stroke colour (hex). */
1385
- strokeColor?: string;
1386
- /** Stroke width in points. */
1387
- strokeWidth?: number;
1388
- /** Text content of the shape. */
1389
- text?: string;
1634
+ interface PptxSmartArtDrawingShape extends DiagramShapeView, PptxCustomPathProperties {
1390
1635
  /** Standard rich-text segments projected from the associated SmartArt node. */
1391
1636
  textSegments?: TextSegment[];
1392
- /** Font size in CSS pixels. */
1393
- fontSize?: number;
1394
- /** Font colour (hex). */
1395
- fontColor?: string;
1396
- /** Authored font family from the first styled run. */
1397
- fontFamily?: string;
1398
- /** Authored font weight (400 or 700). */
1399
- fontWeight?: number;
1400
- /** Authored font style. */
1401
- fontStyle?: 'normal' | 'italic';
1402
- /** Absolute line height in CSS pixels from `a:spcPts`. */
1403
- lineHeight?: number;
1404
- /** Relative line height from `a:spcPct`. */
1405
- lineHeightRatio?: number;
1406
- /** Absolute spacing after a paragraph in CSS pixels. */
1407
- lineSpacingAfter?: number;
1408
- /** Relative spacing after a paragraph. */
1409
- lineSpacingAfterRatio?: number;
1410
- /** Text-body insets in CSS pixels. */
1411
- textInsetLeft?: number;
1412
- textInsetTop?: number;
1413
- textInsetRight?: number;
1414
- textInsetBottom?: number;
1415
- /** DiagramML text vertical anchor (`t`, `ctr`, or `b`). */
1416
- textVerticalAnchor?: string;
1417
- /** Independent DiagramML text-frame geometry from `dsp:txXfrm`. */
1418
- textFrameX?: number;
1419
- textFrameY?: number;
1420
- textFrameWidth?: number;
1421
- textFrameHeight?: number;
1422
1637
  /**
1423
1638
  * 3D scene (camera/light rig/backdrop) from `dsp:spPr/a:scene3d`, when this
1424
1639
  * cached shape carries its own per-shape camera. Bevel quick styles
@@ -1442,13 +1657,6 @@ interface PptxSmartArtDrawingShape extends PptxCustomPathProperties {
1442
1657
  * shape body.
1443
1658
  */
1444
1659
  text3d?: Text3DStyle;
1445
- /**
1446
- * The presentation style label (`presStyleLbl`: `node1`, `revTx`,
1447
- * `sibTrans2D1`, ...) of the layout node a REGENERATED shape was laid out
1448
- * from, when the layout engine reports it. Picks the quick-style label
1449
- * whose 3D the shape takes; `undefined` on cached (parsed) shapes.
1450
- */
1451
- styleLabel?: string;
1452
1660
  }
1453
1661
  /**
1454
1662
  * Complete parsed SmartArt data for a {@link SmartArtPptxElement}: the neutral
@@ -1508,5 +1716,5 @@ interface PptxSmartArtData extends DiagramData {
1508
1716
  drawingDirty?: boolean;
1509
1717
  }
1510
1718
  //#endregion
1511
- export { DiagramNodeTextParagraphItem as $, PptxSmartArtNode as A, DiagramNumericRule as At, PptxSmartArtTextRun as B, CustomGeometryPoint as Bt, PptxSmartArtIteratorAttributes as C, DiagramShapeAdjustment as Ct, PptxSmartArtLayoutNode as D, DiagramConstraintPointType as Dt, PptxSmartArtLayoutDefinition as E, DiagramConstraintOperator as Et, PptxSmartArtQuickStyleLabel as F, DiagramStyleIntensity as Ft, PptxSmartArtChrome as G, PptxCustomPathProperties as Gt, SmartArtLayout as H, CustomGeometrySegment as Ht, PptxSmartArtResolvedStyleRef as I, AdjustHandlePolar as It, DiagramLayoutPreset as J, PptxSmartArtRawBackgroundFill as K, PptxSmartArtShapeAdjustment as L, AdjustHandleXY as Lt, PptxSmartArtNumericRule as M, DiagramConnection as Mt, PptxSmartArtPresLayoutVars as N, DiagramLayoutType as Nt, PptxSmartArtLayoutNodeShape as O, DiagramConstraintRelationship as Ot, PptxSmartArtQuickStyle as P, DiagramNodeCustomLayout as Pt, DiagramNodeTextParagraph as Q, PptxSmartArtTextParagraph as R, ConnectionSite as Rt, PptxSmartArtHueDirection as S, DiagramLocalizedText as St, PptxSmartArtLayoutCategory as T, DiagramConstraint as Tt, SmartArtNodeCustomLayout as U, CustomGeometryTextRect as Ut, PptxSmartArtWhen as V, CustomGeometryRawData as Vt, SmartArtRoleColorList as W, GeometryAdjustmentHandle as Wt, DiagramNode as X, DiagramPresLayoutVars as Y, DiagramNodeStyle as Z, PptxSmartArtConstraintTarget as _, DiagramForEach as _t, SmartArtLayoutType as a, DiagramDefinitionCategory as at, PptxSmartArtDefinitionText as b, DiagramLayoutCategory as bt, PptxSmartArtChoose as c, DiagramHueDirection as ct, PptxSmartArtColorStyleLabel as d, DiagramResolvedStyleRef as dt, DiagramNodeTextRun as et, PptxSmartArtColorTransform as f, DiagramRoleColorList as ft, PptxSmartArtConstraintRelationship as g, DiagramChoose as gt, PptxSmartArtConstraintPointType as h, DiagramAlgorithmParameter as ht, SmartArtColorScheme as i, DiagramColorTransformLabel as it, PptxSmartArtNodeStyle as j, DiagramColorScheme as jt, PptxSmartArtLocalizedText as k, DiagramConstraintTarget as kt, PptxSmartArtColorApplicationMethod as l, DiagramQuickStyle as lt, PptxSmartArtConstraintOperator as m, DiagramLayoutNode as mt, PptxSmartArtData as n, DiagramColorListMetadata as nt, SmartArtStyle as o, DiagramDefinitionMetadata as ot, PptxSmartArtConstraint as p, DiagramLayoutDefinition as pt, DiagramData as q, PptxSmartArtDrawingShape as r, DiagramColorTransform as rt, PptxSmartArtAlgorithmParameter as s, DiagramDefinitionText as st, PptxSmartArtConnection as t, DiagramColorApplicationMethod as tt, PptxSmartArtColorListMetadata as u, DiagramQuickStyleLabel as ut, PptxSmartArtDefinitionCategory as v, DiagramIteratorAttributes as vt, PptxSmartArtLayoutAlgorithm as w, DiagramWhen as wt, PptxSmartArtForEach as x, DiagramLayoutNodeShape as xt, PptxSmartArtDefinitionMetadata as y, DiagramLayoutAlgorithm as yt, PptxSmartArtTextParagraphItem as z, CustomGeometryPath as zt };
1512
- //# sourceMappingURL=smart-art-ENMMEbmW.d.ts.map
1719
+ export { DiagramColorTransformLabel as $, PptxSmartArtNode as A, DiagramStyleIntensity as At, PptxSmartArtTextRun as B, CustomGeometryPoint as Bt, PptxSmartArtIteratorAttributes as C, DiagramConstraintRelationship as Ct, PptxSmartArtLayoutNode as D, DiagramConnection as Dt, PptxSmartArtLayoutDefinition as E, DiagramColorScheme as Et, PptxSmartArtQuickStyleLabel as F, DiagramNodeTextRun as Ft, PptxSmartArtChrome as G, PptxCustomPathProperties as Gt, SmartArtLayout as H, CustomGeometrySegment as Ht, PptxSmartArtResolvedStyleRef as I, AdjustHandlePolar as It, DiagramLayoutPreset as J, PptxSmartArtRawBackgroundFill as K, PptxSmartArtShapeAdjustment as L, AdjustHandleXY as Lt, PptxSmartArtNumericRule as M, DiagramNodeStyle as Mt, PptxSmartArtPresLayoutVars as N, DiagramNodeTextParagraph as Nt, PptxSmartArtLayoutNodeShape as O, DiagramLayoutType as Ot, PptxSmartArtQuickStyle as P, DiagramNodeTextParagraphItem as Pt, DiagramColorTransform as Q, PptxSmartArtTextParagraph as R, ConnectionSite as Rt, PptxSmartArtHueDirection as S, DiagramConstraintPointType as St, PptxSmartArtLayoutCategory as T, DiagramNumericRule as Tt, SmartArtNodeCustomLayout as U, CustomGeometryTextRect as Ut, PptxSmartArtWhen as V, CustomGeometryRawData as Vt, SmartArtRoleColorList as W, GeometryAdjustmentHandle as Wt, DiagramColorApplicationMethod as X, DiagramPresLayoutVars as Y, DiagramColorListMetadata as Z, PptxSmartArtConstraintTarget as _, DiagramLocalizedText as _t, SmartArtLayoutType as a, DiagramQuickStyleLabel as at, PptxSmartArtDefinitionText as b, DiagramConstraint as bt, PptxSmartArtChoose as c, DiagramLayoutDefinition as ct, PptxSmartArtColorStyleLabel as d, DiagramChoose as dt, DiagramDefinitionCategory as et, PptxSmartArtColorTransform as f, DiagramForEach as ft, PptxSmartArtConstraintRelationship as g, DiagramLayoutNodeShape as gt, PptxSmartArtConstraintPointType as h, DiagramLayoutCategory as ht, SmartArtColorScheme as i, DiagramQuickStyle as it, PptxSmartArtNodeStyle as j, DiagramNode as jt, PptxSmartArtLocalizedText as k, DiagramNodeCustomLayout as kt, PptxSmartArtColorApplicationMethod as l, DiagramLayoutNode as lt, PptxSmartArtConstraintOperator as m, DiagramLayoutAlgorithm as mt, PptxSmartArtData as n, DiagramDefinitionText as nt, SmartArtStyle as o, DiagramResolvedStyleRef as ot, PptxSmartArtConstraint as p, DiagramIteratorAttributes as pt, DiagramData as q, PptxSmartArtDrawingShape as r, DiagramHueDirection as rt, PptxSmartArtAlgorithmParameter as s, DiagramRoleColorList as st, PptxSmartArtConnection as t, DiagramDefinitionMetadata as tt, PptxSmartArtColorListMetadata as u, DiagramAlgorithmParameter as ut, PptxSmartArtDefinitionCategory as v, DiagramShapeAdjustment as vt, PptxSmartArtLayoutAlgorithm as w, DiagramConstraintTarget as wt, PptxSmartArtForEach as x, DiagramConstraintOperator as xt, PptxSmartArtDefinitionMetadata as y, DiagramWhen as yt, PptxSmartArtTextParagraphItem as z, CustomGeometryPath as zt };
1720
+ //# sourceMappingURL=smart-art-BEEl0l8X.d.ts.map