ooxml-ui 1.24.0 → 1.26.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 (365) hide show
  1. package/README.md +83 -19
  2. package/custom-elements.json +355 -1
  3. package/dist/bindings/bind-element.d.ts +29 -0
  4. package/dist/bindings/contract.d.ts +115 -0
  5. package/dist/bindings/equality.d.ts +9 -0
  6. package/dist/bindings/handle.d.ts +33 -0
  7. package/dist/bindings/index.d.ts +6 -0
  8. package/dist/bindings/react.d.ts +21 -0
  9. package/dist/bindings/react.js +39 -0
  10. package/dist/bindings/solid.d.ts +14 -0
  11. package/dist/bindings/solid.js +27 -0
  12. package/dist/bindings/src-loader.d.ts +14 -0
  13. package/dist/bindings/tracker.d.ts +14 -0
  14. package/dist/bindings/vue.d.ts +35 -0
  15. package/dist/bindings/vue.js +65 -0
  16. package/dist/bindings.js +3 -0
  17. package/dist/chart/data-sheet-keys.d.ts +38 -0
  18. package/dist/chart/data-sheet-keys.d.ts.map +1 -0
  19. package/dist/chart/data-sheet-labels.d.ts +36 -0
  20. package/dist/chart/data-sheet-labels.d.ts.map +1 -0
  21. package/dist/chart/data-sheet.d.ts +68 -0
  22. package/dist/chart/data-sheet.d.ts.map +1 -0
  23. package/dist/chart/design-galleries.d.ts +52 -0
  24. package/dist/chart/design-galleries.d.ts.map +1 -0
  25. package/dist/chart/format-pane-3d.d.ts +7 -0
  26. package/dist/chart/format-pane-3d.d.ts.map +1 -0
  27. package/dist/chart/format-pane-api.d.ts +17 -0
  28. package/dist/chart/format-pane-api.d.ts.map +1 -0
  29. package/dist/chart/format-pane-axis.d.ts +5 -0
  30. package/dist/chart/format-pane-axis.d.ts.map +1 -0
  31. package/dist/chart/format-pane-common.d.ts +23 -0
  32. package/dist/chart/format-pane-common.d.ts.map +1 -0
  33. package/dist/{pptx/render/chart-format/chart-format-pane-effects.d.ts → chart/format-pane-effects.d.ts} +5 -11
  34. package/dist/chart/format-pane-effects.d.ts.map +1 -0
  35. package/dist/chart/format-pane-fields.d.ts +29 -0
  36. package/dist/chart/format-pane-fields.d.ts.map +1 -0
  37. package/dist/chart/format-pane-fill-kinds.d.ts +16 -0
  38. package/dist/chart/format-pane-fill-kinds.d.ts.map +1 -0
  39. package/dist/chart/format-pane-fill-line.d.ts +13 -0
  40. package/dist/chart/format-pane-fill-line.d.ts.map +1 -0
  41. package/dist/chart/format-pane-fixture.test-util.d.ts +3 -0
  42. package/dist/chart/format-pane-intent.d.ts +24 -0
  43. package/dist/chart/format-pane-intent.d.ts.map +1 -0
  44. package/dist/chart/format-pane-locales/de.d.ts +3 -0
  45. package/dist/chart/format-pane-locales/de.d.ts.map +1 -0
  46. package/dist/chart/format-pane-locales/en.d.ts +3 -0
  47. package/dist/chart/format-pane-locales/en.d.ts.map +1 -0
  48. package/dist/chart/format-pane-locales/es.d.ts +3 -0
  49. package/dist/chart/format-pane-locales/es.d.ts.map +1 -0
  50. package/dist/chart/format-pane-locales/fr.d.ts +3 -0
  51. package/dist/chart/format-pane-locales/fr.d.ts.map +1 -0
  52. package/dist/chart/format-pane-locales/index.d.ts +7 -0
  53. package/dist/chart/format-pane-locales/index.d.ts.map +1 -0
  54. package/dist/chart/format-pane-locales/zh-CN.d.ts +3 -0
  55. package/dist/chart/format-pane-locales/zh-CN.d.ts.map +1 -0
  56. package/dist/chart/format-pane-model.d.ts +23 -0
  57. package/dist/chart/format-pane-model.d.ts.map +1 -0
  58. package/dist/chart/format-pane-options.d.ts +14 -0
  59. package/dist/chart/format-pane-options.d.ts.map +1 -0
  60. package/dist/chart/format-pane-space.d.ts +21 -0
  61. package/dist/chart/format-pane-space.d.ts.map +1 -0
  62. package/dist/chart/format-pane-targets.d.ts +25 -0
  63. package/dist/chart/format-pane-targets.d.ts.map +1 -0
  64. package/dist/chart/format-pane-text.d.ts +7 -0
  65. package/dist/chart/format-pane-text.d.ts.map +1 -0
  66. package/dist/chart/format-pane-translate.d.ts +10 -0
  67. package/dist/chart/format-pane-translate.d.ts.map +1 -0
  68. package/dist/chart/format-pane-types.d.ts +118 -0
  69. package/dist/chart/format-pane-types.d.ts.map +1 -0
  70. package/dist/chart/format-pane-view.d.ts +212 -0
  71. package/dist/chart/format-pane-view.d.ts.map +1 -0
  72. package/dist/chart/format-pane.d.ts +128 -0
  73. package/dist/chart/format-pane.d.ts.map +1 -0
  74. package/dist/chart/gallery-tiles.d.ts +23 -0
  75. package/dist/chart/gallery-tiles.d.ts.map +1 -0
  76. package/dist/chart-format-locales.js +1 -0
  77. package/dist/chunk-CDAXY5KC.js +118 -0
  78. package/dist/chunk-FN7IF6M6.js +25 -0
  79. package/dist/{chunk-4AARUBIF.js → chunk-HGLCXNCT.js} +50 -24
  80. package/dist/chunk-KJMAVPQB.js +53 -0
  81. package/dist/{chunk-A277D2OJ.js → chunk-KSOHDEUI.js} +1 -1
  82. package/dist/chunk-NDUD5JJB.js +79 -0
  83. package/dist/chunk-P4FRKIPE.js +953 -0
  84. package/dist/chunk-VM6ZTKB3.js +1134 -0
  85. package/dist/{chunk-DQEV4EMA.js → chunk-WDOWQKKC.js} +2722 -276
  86. package/dist/{chunk-Y67BTA5W.js → chunk-WH3EGA3S.js} +10 -3
  87. package/dist/controls.d.ts +9 -2
  88. package/dist/controls.d.ts.map +1 -1
  89. package/dist/controls.js +3 -1
  90. package/dist/dialog/dialog.d.ts +6 -0
  91. package/dist/dialog/dialog.d.ts.map +1 -1
  92. package/dist/dialog/progress-dialog.d.ts +42 -0
  93. package/dist/dialog/progress-dialog.d.ts.map +1 -0
  94. package/dist/docx/chart-commands.d.ts +22 -0
  95. package/dist/docx/chart-design-ribbon.d.ts +4 -0
  96. package/dist/docx/chart-dialogs.d.ts +11 -0
  97. package/dist/docx/chart-format-pane.d.ts +22 -0
  98. package/dist/docx/context-menu-items.d.ts +2 -0
  99. package/dist/docx/editor-core.d.ts +3 -0
  100. package/dist/docx/format-dialogs.d.ts +4 -2
  101. package/dist/docx/image-media.d.ts +9 -1
  102. package/dist/docx/insert-controller.d.ts +5 -0
  103. package/dist/docx/locales/charts.d.ts +51 -0
  104. package/dist/docx/locales/en.d.ts +113 -0
  105. package/dist/docx/locales/smartart.d.ts +77 -0
  106. package/dist/docx/localization-strings.d.ts +113 -0
  107. package/dist/docx/resize-handle.d.ts +23 -0
  108. package/dist/docx/ribbon-action.d.ts +15 -0
  109. package/dist/docx/ribbon-icons.d.ts +13 -0
  110. package/dist/docx/smartart-commands.d.ts +26 -0
  111. package/dist/docx/smartart-controller.d.ts +35 -0
  112. package/dist/docx/smartart-design-ribbon.d.ts +7 -0
  113. package/dist/docx/smartart-dialog.d.ts +12 -0
  114. package/dist/docx/smartart-node-view.d.ts +6 -3
  115. package/dist/docx.js +1674 -546
  116. package/dist/form/color-grid.d.ts +8 -1
  117. package/dist/form/color-grid.d.ts.map +1 -1
  118. package/dist/index.d.ts +1 -1
  119. package/dist/index.js +10 -5
  120. package/dist/pptx/ai/bridge-factory.d.ts +77 -0
  121. package/dist/pptx/ai/bridge-factory.d.ts.map +1 -0
  122. package/dist/pptx/ai/index.cjs +443 -164
  123. package/dist/pptx/ai/index.d.ts +4 -0
  124. package/dist/pptx/ai/index.d.ts.map +1 -1
  125. package/dist/pptx/ai/index.mjs +437 -165
  126. package/dist/pptx/ai/panel-controller.d.ts +104 -0
  127. package/dist/pptx/ai/panel-controller.d.ts.map +1 -0
  128. package/dist/pptx/{chart-3d-view-scene-RYL7F65H.cjs → chart-3d-view-scene-N7UQOYFI.cjs} +38 -38
  129. package/dist/pptx/{chart-3d-view-scene-CDIMM5T3.mjs → chart-3d-view-scene-ZUGA3DKM.mjs} +2 -2
  130. package/dist/pptx/{chunk-PIIYTRLE.mjs → chunk-34LEUH5R.mjs} +1 -1
  131. package/dist/pptx/{chunk-G3UVZ5FO.cjs → chunk-6KLPQQYP.cjs} +1 -0
  132. package/dist/pptx/{chunk-B5FR65LB.mjs → chunk-AMW2AR7J.mjs} +48 -2
  133. package/dist/pptx/chunk-CWHK7HF4.mjs +751 -0
  134. package/dist/pptx/{chunk-ZO43VVWQ.cjs → chunk-FM4C4MBJ.cjs} +49 -1
  135. package/dist/pptx/{chunk-LCB46TH2.cjs → chunk-H5IPNKX6.cjs} +12 -12
  136. package/dist/pptx/{chunk-SQQJLXTZ.cjs → chunk-HAO5PKWK.cjs} +8048 -4240
  137. package/dist/pptx/{chunk-3UOENEK7.mjs → chunk-IWUIGVWT.mjs} +7836 -4095
  138. package/dist/pptx/{chunk-ZNXKAINY.mjs → chunk-LB3A3GF6.mjs} +1150 -222
  139. package/dist/pptx/chunk-LUDEAPHZ.cjs +776 -0
  140. package/dist/pptx/{chunk-A2X5BP7J.cjs → chunk-OOQMIQT3.cjs} +1151 -221
  141. package/dist/pptx/chunk-WM5SW737.mjs +27 -0
  142. package/dist/pptx/{chunk-73OUATE4.mjs → chunk-WQA3KZRB.mjs} +1 -1
  143. package/dist/pptx/chunk-Y6DO6SVT.cjs +29 -0
  144. package/dist/pptx/dom/index.cjs +503 -1123
  145. package/dist/pptx/dom/index.d.ts +1 -0
  146. package/dist/pptx/dom/index.d.ts.map +1 -1
  147. package/dist/pptx/dom/index.mjs +12 -704
  148. package/dist/pptx/dom/smartart-insert-preview.d.ts +15 -0
  149. package/dist/pptx/dom/smartart-insert-preview.d.ts.map +1 -0
  150. package/dist/pptx/export/html2canvas-clone.cjs +10 -2
  151. package/dist/pptx/export/html2canvas-clone.d.ts +24 -0
  152. package/dist/pptx/export/html2canvas-clone.d.ts.map +1 -1
  153. package/dist/pptx/export/html2canvas-clone.mjs +1 -1
  154. package/dist/pptx/i18n/index.cjs +6 -6
  155. package/dist/pptx/i18n/index.mjs +1 -1
  156. package/dist/pptx/i18n/translations-en-chart-format.d.ts.map +1 -1
  157. package/dist/pptx/i18n/translations-en-galleries.d.ts.map +1 -1
  158. package/dist/pptx/i18n/translations-en.d.ts.map +1 -1
  159. package/dist/pptx/index.cjs +3523 -3238
  160. package/dist/pptx/index.mjs +6 -5
  161. package/dist/pptx/render/autosave-inline-draft.d.ts +27 -0
  162. package/dist/pptx/render/autosave-inline-draft.d.ts.map +1 -0
  163. package/dist/pptx/render/autosave-policy.d.ts +6 -7
  164. package/dist/pptx/render/autosave-policy.d.ts.map +1 -1
  165. package/dist/pptx/render/autosave-tick.d.ts +6 -0
  166. package/dist/pptx/render/autosave-tick.d.ts.map +1 -1
  167. package/dist/pptx/render/chart-combo-stock.cjs +3 -3
  168. package/dist/pptx/render/chart-combo-stock.mjs +1 -1
  169. package/dist/pptx/render/chart-format/chart-format-pane-edit.d.ts +10 -2
  170. package/dist/pptx/render/chart-format/chart-format-pane-edit.d.ts.map +1 -1
  171. package/dist/pptx/render/chart-format/chart-format-pane-model.d.ts +4 -2
  172. package/dist/pptx/render/chart-format/chart-format-pane-model.d.ts.map +1 -1
  173. package/dist/pptx/render/chart-format/chart-format-pane-types.d.ts +4 -91
  174. package/dist/pptx/render/chart-format/chart-format-pane-types.d.ts.map +1 -1
  175. package/dist/pptx/render/chart-format/chart-format-source.d.ts +14 -0
  176. package/dist/pptx/render/chart-format/chart-format-source.d.ts.map +1 -0
  177. package/dist/pptx/render/chart-format/chart-format-targets.d.ts +16 -19
  178. package/dist/pptx/render/chart-format/chart-format-targets.d.ts.map +1 -1
  179. package/dist/pptx/render/chart-format/index.d.ts +2 -1
  180. package/dist/pptx/render/chart-format/index.d.ts.map +1 -1
  181. package/dist/pptx/render/chart-overlays.cjs +7 -7
  182. package/dist/pptx/render/chart-overlays.mjs +1 -1
  183. package/dist/pptx/render/chart-quick-action-styles.d.ts +4 -1
  184. package/dist/pptx/render/chart-quick-action-styles.d.ts.map +1 -1
  185. package/dist/pptx/render/chart-surface-treemap.cjs +4 -4
  186. package/dist/pptx/render/chart-surface-treemap.mjs +1 -1
  187. package/dist/pptx/render/chart-view-model.cjs +44 -44
  188. package/dist/pptx/render/chart-view-model.mjs +1 -1
  189. package/dist/pptx/render/chart-waterfall-map.cjs +6 -6
  190. package/dist/pptx/render/chart-waterfall-map.mjs +1 -1
  191. package/dist/pptx/render/collaboration-provider.d.ts +80 -0
  192. package/dist/pptx/render/collaboration-provider.d.ts.map +1 -0
  193. package/dist/pptx/render/collaboration-yjs-session.d.ts +48 -0
  194. package/dist/pptx/render/collaboration-yjs-session.d.ts.map +1 -0
  195. package/dist/pptx/render/controller/autosave-controller.d.ts +133 -0
  196. package/dist/pptx/render/controller/autosave-controller.d.ts.map +1 -0
  197. package/dist/pptx/render/controller/autosave-recovery-controller.d.ts +68 -0
  198. package/dist/pptx/render/controller/autosave-recovery-controller.d.ts.map +1 -0
  199. package/dist/pptx/render/controller/collaboration-session-controller.d.ts +89 -0
  200. package/dist/pptx/render/controller/collaboration-session-controller.d.ts.map +1 -0
  201. package/dist/pptx/render/controller/controller.d.ts +44 -0
  202. package/dist/pptx/render/controller/controller.d.ts.map +1 -0
  203. package/dist/pptx/render/controller/history-controller.d.ts +54 -0
  204. package/dist/pptx/render/controller/history-controller.d.ts.map +1 -0
  205. package/dist/pptx/render/controller/index.d.ts +17 -0
  206. package/dist/pptx/render/controller/index.d.ts.map +1 -0
  207. package/dist/pptx/render/customization/ribbon-control-catalog-tail.d.ts +2 -0
  208. package/dist/pptx/render/customization/ribbon-control-catalog-tail.d.ts.map +1 -1
  209. package/dist/pptx/render/customization/ribbon-control-catalog.d.ts +2 -0
  210. package/dist/pptx/render/customization/ribbon-control-catalog.d.ts.map +1 -1
  211. package/dist/pptx/render/editor-gesture-frames.d.ts +59 -0
  212. package/dist/pptx/render/editor-gesture-frames.d.ts.map +1 -0
  213. package/dist/pptx/render/editor-gestures.d.ts +39 -38
  214. package/dist/pptx/render/editor-gestures.d.ts.map +1 -1
  215. package/dist/pptx/render/editor-history.d.ts +1 -1
  216. package/dist/pptx/render/editor-history.d.ts.map +1 -1
  217. package/dist/pptx/render/editor-key-dispatch.d.ts +68 -0
  218. package/dist/pptx/render/editor-key-dispatch.d.ts.map +1 -0
  219. package/dist/pptx/render/effects-helpers.d.ts +8 -1
  220. package/dist/pptx/render/effects-helpers.d.ts.map +1 -1
  221. package/dist/pptx/render/effects-shadow-helpers.d.ts +7 -0
  222. package/dist/pptx/render/effects-shadow-helpers.d.ts.map +1 -1
  223. package/dist/pptx/render/export-progress.d.ts +12 -0
  224. package/dist/pptx/render/export-progress.d.ts.map +1 -1
  225. package/dist/pptx/render/group-press-target.d.ts +37 -0
  226. package/dist/pptx/render/group-press-target.d.ts.map +1 -0
  227. package/dist/pptx/render/index.d.ts +13 -0
  228. package/dist/pptx/render/index.d.ts.map +1 -1
  229. package/dist/pptx/render/insert-chart-preview.d.ts +15 -0
  230. package/dist/pptx/render/insert-chart-preview.d.ts.map +1 -0
  231. package/dist/pptx/render/insert-chart.d.ts +21 -1
  232. package/dist/pptx/render/insert-chart.d.ts.map +1 -1
  233. package/dist/pptx/render/inspector/element-geometry-fields.d.ts +28 -0
  234. package/dist/pptx/render/inspector/element-geometry-fields.d.ts.map +1 -0
  235. package/dist/pptx/render/inspector/index.d.ts +18 -0
  236. package/dist/pptx/render/inspector/index.d.ts.map +1 -0
  237. package/dist/pptx/render/inspector/inspector-field-model.d.ts +125 -0
  238. package/dist/pptx/render/inspector/inspector-field-model.d.ts.map +1 -0
  239. package/dist/pptx/render/inspector/shape-effect-fields-more.d.ts +8 -0
  240. package/dist/pptx/render/inspector/shape-effect-fields-more.d.ts.map +1 -0
  241. package/dist/pptx/render/inspector/shape-effect-fields.d.ts +27 -0
  242. package/dist/pptx/render/inspector/shape-effect-fields.d.ts.map +1 -0
  243. package/dist/pptx/render/inspector/shape-effect-sections.d.ts +7 -0
  244. package/dist/pptx/render/inspector/shape-effect-sections.d.ts.map +1 -0
  245. package/dist/pptx/render/inspector/shape-line-fields.d.ts +20 -0
  246. package/dist/pptx/render/inspector/shape-line-fields.d.ts.map +1 -0
  247. package/dist/pptx/render/inspector/text-box-fields.d.ts +24 -0
  248. package/dist/pptx/render/inspector/text-box-fields.d.ts.map +1 -0
  249. package/dist/pptx/render/options/viewer-options-apply.d.ts.map +1 -1
  250. package/dist/pptx/render/options/viewer-options.d.ts.map +1 -1
  251. package/dist/pptx/render/presentation-show-step.d.ts +105 -0
  252. package/dist/pptx/render/presentation-show-step.d.ts.map +1 -0
  253. package/dist/pptx/render/read-only-session.d.ts +120 -0
  254. package/dist/pptx/render/read-only-session.d.ts.map +1 -0
  255. package/dist/pptx/render/ribbon-galleries/chart-colors-gallery.d.ts +3 -2
  256. package/dist/pptx/render/ribbon-galleries/chart-colors-gallery.d.ts.map +1 -1
  257. package/dist/pptx/render/ribbon-galleries/chart-quick-layout-gallery.d.ts +6 -3
  258. package/dist/pptx/render/ribbon-galleries/chart-quick-layout-gallery.d.ts.map +1 -1
  259. package/dist/pptx/render/ribbon-galleries/chart-styles-gallery.d.ts +2 -1
  260. package/dist/pptx/render/ribbon-galleries/chart-styles-gallery.d.ts.map +1 -1
  261. package/dist/pptx/render/ribbon-galleries/gallery-placements.d.ts.map +1 -1
  262. package/dist/pptx/render/ribbon-galleries/gallery-types.d.ts +1 -1
  263. package/dist/pptx/render/ribbon-galleries/gallery-types.d.ts.map +1 -1
  264. package/dist/pptx/render/ribbon-galleries/smartart-colors-gallery.d.ts +0 -8
  265. package/dist/pptx/render/ribbon-galleries/smartart-colors-gallery.d.ts.map +1 -1
  266. package/dist/pptx/render/ribbon-galleries/smartart-commands.d.ts +1 -1
  267. package/dist/pptx/render/ribbon-galleries/smartart-commands.d.ts.map +1 -1
  268. package/dist/pptx/render/ribbon-galleries/smartart-gallery-patch.d.ts +4 -2
  269. package/dist/pptx/render/ribbon-galleries/smartart-gallery-patch.d.ts.map +1 -1
  270. package/dist/pptx/render/ribbon-galleries/smartart-gallery-tiles.d.ts +3 -8
  271. package/dist/pptx/render/ribbon-galleries/smartart-gallery-tiles.d.ts.map +1 -1
  272. package/dist/pptx/render/ribbon-galleries/smartart-layout-tiles.d.ts +7 -5
  273. package/dist/pptx/render/ribbon-galleries/smartart-layout-tiles.d.ts.map +1 -1
  274. package/dist/pptx/render/ribbon-galleries/smartart-layouts-gallery.d.ts.map +1 -1
  275. package/dist/pptx/render/ribbon-insert-state.d.ts +6 -0
  276. package/dist/pptx/render/ribbon-insert-state.d.ts.map +1 -1
  277. package/dist/pptx/render/smart-art-presets.d.ts +12 -6
  278. package/dist/pptx/render/smart-art-presets.d.ts.map +1 -1
  279. package/dist/pptx/render/smartart-text-pane-model.d.ts +59 -0
  280. package/dist/pptx/render/smartart-text-pane-model.d.ts.map +1 -0
  281. package/dist/pptx/render/span-snap-move.d.ts +32 -0
  282. package/dist/pptx/render/span-snap-move.d.ts.map +1 -0
  283. package/dist/pptx/render/theme-color-grid.d.ts +17 -0
  284. package/dist/pptx/render/theme-color-grid.d.ts.map +1 -1
  285. package/dist/pptx/render/viewer-event-payloads.d.ts +4 -4
  286. package/dist/pptx/smartart-insert-preview-5ZTZYAZR.cjs +48 -0
  287. package/dist/pptx/smartart-insert-preview-HMSNUWDO.mjs +39 -0
  288. package/dist/pptx/web-components/chart-data-sheet.d.ts +47 -0
  289. package/dist/pptx/web-components/chart-data-sheet.d.ts.map +1 -0
  290. package/dist/pptx/web-components/chart-format-pane.d.ts +7 -5
  291. package/dist/pptx/web-components/chart-format-pane.d.ts.map +1 -1
  292. package/dist/pptx/web-components/host-styles.d.ts.map +1 -1
  293. package/dist/pptx/web-components/index.d.ts +7 -0
  294. package/dist/pptx/web-components/index.d.ts.map +1 -1
  295. package/dist/pptx/web-components/insert-chart-dialog.d.ts +25 -0
  296. package/dist/pptx/web-components/insert-chart-dialog.d.ts.map +1 -0
  297. package/dist/pptx/web-components/insert-dialog-frame.d.ts +25 -0
  298. package/dist/pptx/web-components/insert-dialog-frame.d.ts.map +1 -0
  299. package/dist/pptx/web-components/insert-smartart-dialog.d.ts +26 -0
  300. package/dist/pptx/web-components/insert-smartart-dialog.d.ts.map +1 -0
  301. package/dist/pptx/web-components/mobile-insert.d.ts.map +1 -1
  302. package/dist/pptx/web-components/office-alias-types.d.ts +6 -1
  303. package/dist/pptx/web-components/office-alias-types.d.ts.map +1 -1
  304. package/dist/pptx/web-components/office-aliases.d.ts +5 -0
  305. package/dist/pptx/web-components/office-aliases.d.ts.map +1 -1
  306. package/dist/pptx/web-components/office-token-bridge.d.ts +1 -1
  307. package/dist/pptx/web-components/office-token-bridge.d.ts.map +1 -1
  308. package/dist/pptx/web-components/ribbon-insert-view.d.ts.map +1 -1
  309. package/dist/pptx/web-components/smartart-text-pane.d.ts +38 -0
  310. package/dist/pptx/web-components/smartart-text-pane.d.ts.map +1 -0
  311. package/dist/smartart/galleries.d.ts +17 -0
  312. package/dist/smartart/smartart-picker.d.ts +97 -0
  313. package/dist/smartart/smartart-picker.d.ts.map +1 -0
  314. package/dist/smartart/smartart-text-pane-tools.d.ts +51 -0
  315. package/dist/smartart/smartart-text-pane-tools.d.ts.map +1 -0
  316. package/dist/smartart/smartart-text-pane.d.ts +121 -0
  317. package/dist/smartart/smartart-text-pane.d.ts.map +1 -0
  318. package/dist/smartart/text-pane-controller.d.ts +51 -0
  319. package/dist/smartart/tiles.d.ts +17 -0
  320. package/dist/smartart/tiles.d.ts.map +1 -0
  321. package/dist/smartart.d.ts +5 -0
  322. package/dist/smartart.js +2 -1
  323. package/dist/teams/app/bind.d.ts +30 -0
  324. package/dist/teams/app/index.d.ts +1 -1
  325. package/dist/teams.js +7 -2
  326. package/dist/visio/ribbon-action.d.ts +5 -2
  327. package/dist/visio/viewer-chart-editor.d.ts +38 -0
  328. package/dist/visio/viewer-insert.d.ts +7 -2
  329. package/dist/visio.js +197 -17
  330. package/dist/xlsx/chart-format-pane.d.ts +10 -0
  331. package/dist/xlsx/chart-format-source.d.ts +17 -0
  332. package/dist/xlsx/commands/chart-design.d.ts +55 -0
  333. package/dist/xlsx/dialogs/insert-smartart.d.ts +4 -0
  334. package/dist/xlsx/grid/smartart.d.ts +4 -1
  335. package/dist/xlsx/ribbon/tabs/contextual.d.ts +6 -0
  336. package/dist/xlsx/smartart-controller.d.ts +14 -0
  337. package/dist/xlsx.js +789 -468
  338. package/package.json +47 -4
  339. package/dist/chunk-QBXYGKPB.js +0 -224
  340. package/dist/pptx/render/chart-format/chart-format-pane-3d.d.ts +0 -13
  341. package/dist/pptx/render/chart-format/chart-format-pane-3d.d.ts.map +0 -1
  342. package/dist/pptx/render/chart-format/chart-format-pane-axis.d.ts +0 -12
  343. package/dist/pptx/render/chart-format/chart-format-pane-axis.d.ts.map +0 -1
  344. package/dist/pptx/render/chart-format/chart-format-pane-common.d.ts +0 -14
  345. package/dist/pptx/render/chart-format/chart-format-pane-common.d.ts.map +0 -1
  346. package/dist/pptx/render/chart-format/chart-format-pane-effects.d.ts.map +0 -1
  347. package/dist/pptx/render/chart-format/chart-format-pane-fill-kinds.d.ts +0 -15
  348. package/dist/pptx/render/chart-format/chart-format-pane-fill-kinds.d.ts.map +0 -1
  349. package/dist/pptx/render/chart-format/chart-format-pane-fill-line.d.ts +0 -12
  350. package/dist/pptx/render/chart-format/chart-format-pane-fill-line.d.ts.map +0 -1
  351. package/dist/pptx/render/chart-format/chart-format-pane-options.d.ts +0 -13
  352. package/dist/pptx/render/chart-format/chart-format-pane-options.d.ts.map +0 -1
  353. package/dist/pptx/render/chart-format/chart-format-pane-text.d.ts +0 -14
  354. package/dist/pptx/render/chart-format/chart-format-pane-text.d.ts.map +0 -1
  355. package/dist/pptx/render/ribbon-galleries/chart-color-palette-catalog.d.ts +0 -3
  356. package/dist/pptx/render/ribbon-galleries/chart-color-palette-catalog.d.ts.map +0 -1
  357. package/dist/pptx/render/ribbon-galleries/chart-gallery-tiles.d.ts +0 -24
  358. package/dist/pptx/render/ribbon-galleries/chart-gallery-tiles.d.ts.map +0 -1
  359. package/dist/pptx/render/ribbon-galleries/chart-quick-layout-catalog.d.ts +0 -22
  360. package/dist/pptx/render/ribbon-galleries/chart-quick-layout-catalog.d.ts.map +0 -1
  361. package/dist/pptx/web-components/chart-format-pane-fields.d.ts +0 -17
  362. package/dist/pptx/web-components/chart-format-pane-fields.d.ts.map +0 -1
  363. package/dist/xlsx/chart-area-pane.d.ts +0 -9
  364. package/dist/xlsx/chart-series-pane.d.ts +0 -8
  365. package/dist/xlsx/commands/chart-colors.d.ts +0 -19
@@ -0,0 +1,15 @@
1
+ /** The choices a preview draws (the shared picker's `OfficeChartValue`). */
2
+ export interface InsertChartPreviewValue {
3
+ type: string;
4
+ grouping: string;
5
+ title: string;
6
+ }
7
+ /**
8
+ * SVG markup of the chart the dialog would insert, at `size`. A `tile` leaves out the title and
9
+ * legend (the gallery scales it down). Empty for a chart the projector cannot draw.
10
+ */
11
+ export declare function insertChartPreviewSvg(doc: Document, value: InsertChartPreviewValue, size: {
12
+ width: number;
13
+ height: number;
14
+ }, tile: boolean, translate?: (key: string) => string): string;
15
+ //# sourceMappingURL=insert-chart-preview.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"insert-chart-preview.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/insert-chart-preview.ts"],"names":[],"mappings":"AAeA,4EAA4E;AAC5E,MAAM,WAAW,uBAAuB;IACvC,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;CACd;AAED;;;GAGG;AACH,wBAAgB,qBAAqB,CACpC,GAAG,EAAE,QAAQ,EACb,KAAK,EAAE,uBAAuB,EAC9B,IAAI,EAAE;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,EACvC,IAAI,EAAE,OAAO,EACb,SAAS,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM,GACjC,MAAM,CAwBR"}
@@ -45,6 +45,25 @@ export declare const DEFAULT_INSERT_CHART_KIND: InsertChartKind;
45
45
  * still pass a raw `PptxChartType`.
46
46
  */
47
47
  export declare const DEFAULT_INSERT_CHART_TYPE: PptxChartType;
48
+ /** Grouping choices the Insert Chart dialog offers for the families that stack. */
49
+ export type InsertChartGrouping = 'clustered' | 'stacked' | 'percentStacked';
50
+ /** The Insert Chart dialog's grouping entries, with translatable labels. */
51
+ export declare const INSERT_CHART_GROUPINGS: ReadonlyArray<{
52
+ id: InsertChartGrouping;
53
+ labelKey: string;
54
+ label: string;
55
+ }>;
56
+ /** The insert entries whose chart family offers a grouping. */
57
+ export declare const GROUPED_INSERT_CHART_KINDS: readonly InsertChartKind[];
58
+ /** What the Insert Chart dialog chose besides the chart type. */
59
+ export interface InsertChartOptions {
60
+ /** Chart title; the default sample title when undefined, none when empty. */
61
+ title?: string;
62
+ /** Grouping of a {@link GROUPED_INSERT_CHART_KINDS} entry. */
63
+ grouping?: InsertChartGrouping;
64
+ /** Show the legend (default true). */
65
+ hasLegend?: boolean;
66
+ }
48
67
  /** Optional position overrides when inserting a chart. */
49
68
  export interface InsertChartPosition {
50
69
  x?: number;
@@ -62,7 +81,8 @@ export interface InsertChartPosition {
62
81
  * @param chartKind - The dropdown entry (or a raw chart family) to create.
63
82
  * `'column'` yields vertical columns, `'bar'` horizontal bars.
64
83
  * @param position - Optional position/size overrides.
84
+ * @param options - The Insert Chart dialog's title, grouping and legend choices.
65
85
  * @returns A valid {@link ChartPptxElement} with a fresh id.
66
86
  */
67
- export declare function createDefaultChartElement(chartKind?: InsertChartKind | PptxChartType, position?: InsertChartPosition): ChartPptxElement;
87
+ export declare function createDefaultChartElement(chartKind?: InsertChartKind | PptxChartType, position?: InsertChartPosition, options?: InsertChartOptions): ChartPptxElement;
68
88
  //# sourceMappingURL=insert-chart.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"insert-chart.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/insert-chart.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAK9F;;;;;;;;GAQG;AACH,MAAM,MAAM,eAAe,GACxB,QAAQ,GACR,KAAK,GACL,MAAM,GACN,KAAK,GACL,UAAU,GACV,MAAM,GACN,SAAS,GACT,WAAW,GACX,QAAQ,GACR,QAAQ,GACR,SAAS,GACT,UAAU,GACV,YAAY,GACZ,WAAW,CAAC;AAEf,qFAAqF;AACrF,MAAM,WAAW,qBAAqB;IACrC,4EAA4E;IAC5E,EAAE,EAAE,eAAe,CAAC;IACpB,sEAAsE;IACtE,IAAI,EAAE,aAAa,CAAC;IACpB,iEAAiE;IACjE,YAAY,CAAC,EAAE,qBAAqB,CAAC;IACrC,uCAAuC;IACvC,QAAQ,EAAE,MAAM,CAAC;IACjB,wEAAwE;IACxE,KAAK,EAAE,MAAM,CAAC;CACd;AAED;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,kBAAkB,EAAE,SAAS,qBAAqB,EAyC9D,CAAC;AAEF,sEAAsE;AACtE,eAAO,MAAM,yBAAyB,EAAE,eAA0B,CAAC;AAEnE;;;;;GAKG;AACH,eAAO,MAAM,yBAAyB,EAAE,aAAqB,CAAC;AAW9D,0DAA0D;AAC1D,MAAM,WAAW,mBAAmB;IACnC,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,yBAAyB,CACxC,SAAS,GAAE,eAAe,GAAG,aAAyC,EACtE,QAAQ,CAAC,EAAE,mBAAmB,GAC5B,gBAAgB,CA+BlB"}
1
+ {"version":3,"file":"insert-chart.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/insert-chart.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAK9F;;;;;;;;GAQG;AACH,MAAM,MAAM,eAAe,GACxB,QAAQ,GACR,KAAK,GACL,MAAM,GACN,KAAK,GACL,UAAU,GACV,MAAM,GACN,SAAS,GACT,WAAW,GACX,QAAQ,GACR,QAAQ,GACR,SAAS,GACT,UAAU,G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CAChB;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,yBAAyB,CACxC,SAAS,GAAE,eAAe,GAAG,aAAyC,EACtE,QAAQ,CAAC,EAAE,mBAAmB,EAC9B,OAAO,GAAE,kBAAuB,GAC9B,gBAAgB,CAuClB"}
@@ -0,0 +1,28 @@
1
+ /**
2
+ * The element Size & Position fields of the inspector: X, Y, width, height
3
+ * and rotation, as one untitled section of field descriptors every binding
4
+ * draws with its one generic renderer (the lock toggle beside them stays per
5
+ * binding).
6
+ *
7
+ * The descriptors read the element's frame (in the editor's px units) and
8
+ * produce a geometry patch, which a binding routes through its own geometry
9
+ * commit (an element patch, or the vanilla binding's `setGeometry`).
10
+ *
11
+ * @module render/inspector/element-geometry-fields
12
+ */
13
+ import type { PptxElement } from 'ooxml-core/pptx';
14
+ import type { InspectorSectionDescriptor } from './inspector-field-model.js';
15
+ /** The frame the Size & Position fields read. */
16
+ export type ElementGeometryTarget = Pick<PptxElement, 'x' | 'y' | 'width' | 'height'> & {
17
+ rotation?: number | undefined;
18
+ };
19
+ /** The patch a Size & Position field produces. */
20
+ export type ElementGeometryPatch = Partial<Pick<PptxElement, 'x' | 'y' | 'width' | 'height' | 'rotation'>>;
21
+ export type ElementGeometrySection = InspectorSectionDescriptor<ElementGeometryTarget, ElementGeometryPatch>;
22
+ /** Smallest width or height the fields accept, in px. */
23
+ export declare const MIN_ELEMENT_SIZE = 1;
24
+ /** The Size & Position section (no title: each pane heads it with its lock toggle). */
25
+ export declare const ELEMENT_GEOMETRY_SECTION: ElementGeometrySection;
26
+ /** The Size & Position fields as a section list, what a generic renderer takes. */
27
+ export declare const ELEMENT_GEOMETRY_SECTIONS: readonly ElementGeometrySection[];
28
+ //# sourceMappingURL=element-geometry-fields.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"element-geometry-fields.d.ts","sourceRoot":"","sources":["../../../../src/pptx/render/inspector/element-geometry-fields.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEnD,OAAO,KAAK,EAA4B,0BAA0B,EAAE,MAAM,yBAAyB,CAAC;AAEpG,iDAAiD;AACjD,MAAM,MAAM,qBAAqB,GAAG,IAAI,CAAC,WAAW,EAAE,GAAG,GAAG,GAAG,GAAG,OAAO,GAAG,QAAQ,CAAC,GAAG;IACvF,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC9B,CAAC;AAEF,kDAAkD;AAClD,MAAM,MAAM,oBAAoB,GAAG,OAAO,CACzC,IAAI,CAAC,WAAW,EAAE,GAAG,GAAG,GAAG,GAAG,OAAO,GAAG,QAAQ,GAAG,UAAU,CAAC,CAC9D,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG,0BAA0B,CAC9D,qBAAqB,EACrB,oBAAoB,CACpB,CAAC;AAGF,yDAAyD;AACzD,eAAO,MAAM,gBAAgB,IAAI,CAAC;AAoBlC,uFAAuF;AACvF,eAAO,MAAM,wBAAwB,EAAE,sBAStC,CAAC;AAEF,mFAAmF;AACnF,eAAO,MAAM,yBAAyB,EAAE,SAAS,sBAAsB,EAEtE,CAAC"}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Descriptor-driven inspector sections: the field model every binding's one
3
+ * generic field renderer draws, and the section descriptors written once.
4
+ *
5
+ * @module render/inspector
6
+ */
7
+ export { coerceInspectorFieldValue, inspectorFieldPatch, inspectorTogglePatch, resolveInspectorSections, } from './inspector-field-model.js';
8
+ export type { InspectorFieldControl, InspectorFieldDescriptor, InspectorFieldKind, InspectorFieldOption, InspectorFieldValue, InspectorFieldView, InspectorSectionDescriptor, InspectorSectionToggle, InspectorSectionView, } from './inspector-field-model.js';
9
+ export type { ShapeEffectField, ShapeEffectSection, ShapeEffectTarget, } from './shape-effect-fields.js';
10
+ export { SHAPE_BEVEL_OPTIONS } from './shape-effect-fields-more.js';
11
+ export { SHAPE_EFFECT_SECTIONS } from './shape-effect-sections.js';
12
+ export { SHAPE_LINE_SECTION, SHAPE_LINE_SECTIONS } from './shape-line-fields.js';
13
+ export type { ShapeLineSection } from './shape-line-fields.js';
14
+ export { ELEMENT_GEOMETRY_SECTION, ELEMENT_GEOMETRY_SECTIONS, MIN_ELEMENT_SIZE, } from './element-geometry-fields.js';
15
+ export type { ElementGeometryPatch, ElementGeometrySection, ElementGeometryTarget, } from './element-geometry-fields.js';
16
+ export { TEXT_BOX_SECTION, TEXT_BOX_SECTIONS } from './text-box-fields.js';
17
+ export type { TextBoxSection, TextBoxTarget } from './text-box-fields.js';
18
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/pptx/render/inspector/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EACN,yBAAyB,EACzB,mBAAmB,EACnB,oBAAoB,EACpB,wBAAwB,GACxB,MAAM,yBAAyB,CAAC;AACjC,YAAY,EACX,qBAAqB,EACrB,wBAAwB,EACxB,kBAAkB,EAClB,oBAAoB,EACpB,mBAAmB,EACnB,kBAAkB,EAClB,0BAA0B,EAC1B,sBAAsB,EACtB,oBAAoB,GACpB,MAAM,yBAAyB,CAAC;AACjC,YAAY,EACX,gBAAgB,EAChB,kBAAkB,EAClB,iBAAiB,GACjB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC9E,YAAY,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EACN,wBAAwB,EACxB,yBAAyB,EACzB,gBAAgB,GAChB,MAAM,2BAA2B,CAAC;AACnC,YAAY,EACX,oBAAoB,EACpB,sBAAsB,EACtB,qBAAqB,GACrB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACxE,YAAY,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC"}
@@ -0,0 +1,125 @@
1
+ /**
2
+ * The inspector's field descriptor model: one framework-neutral description of
3
+ * a Format pane section (its optional on/off toggle and its fields), written
4
+ * once here and drawn by ONE generic field renderer per binding.
5
+ *
6
+ * A descriptor is generic over the value it edits (`T`, e.g. a `ShapeStyle` or
7
+ * a `PptxElement`) and the patch a change produces (`P`, e.g. a
8
+ * `Partial<ShapeStyle>`), so the same model serves every section. A binding
9
+ * never reads or writes the model itself: it asks {@link resolveInspectorSections}
10
+ * for the current views (labels, bounds, values) and turns a control event into
11
+ * a patch with {@link inspectorFieldPatch} / {@link inspectorTogglePatch}.
12
+ *
13
+ * @module render/inspector/inspector-field-model
14
+ */
15
+ /**
16
+ * What a field edits, which decides its control and how input is coerced:
17
+ * - `number`, `length`: a number box, clamped to `min`/`max`.
18
+ * - `angle`: a number box whose value wraps into `[0, 360)`.
19
+ * - `percent`: a 0-100 slider, clamped.
20
+ * - `color`: a colour picker; the value is a `#rrggbb` string.
21
+ * - `select`: a drop-down of `options`.
22
+ * - `toggle`: a checkbox.
23
+ */
24
+ export type InspectorFieldKind = 'number' | 'length' | 'angle' | 'percent' | 'color' | 'select' | 'toggle';
25
+ /** The control a binding draws for a field kind. */
26
+ export type InspectorFieldControl = 'number' | 'range' | 'color' | 'select' | 'checkbox';
27
+ /** A value a field reads or a control reports. */
28
+ export type InspectorFieldValue = number | string | boolean;
29
+ /** One choice of a `select` field. */
30
+ export interface InspectorFieldOption {
31
+ value: string;
32
+ /** Translation key of the choice's label. */
33
+ labelKey: string;
34
+ }
35
+ /** One editable field of a section. */
36
+ export interface InspectorFieldDescriptor<T, P> {
37
+ /** Stable id within its section; what a change names. */
38
+ id: string;
39
+ kind: InspectorFieldKind;
40
+ /** Translation key of the field's caption (also its accessible name). */
41
+ labelKey: string;
42
+ min?: number;
43
+ max?: number;
44
+ step?: number;
45
+ /** Unit suffix a binding may show ("pt", "%", "°"). */
46
+ unit?: string;
47
+ /** Decimal places a numeric value is shown with (default 2, as PowerPoint's panes). */
48
+ decimals?: number;
49
+ /** Spans the full width of a two-column field grid. */
50
+ wide?: boolean;
51
+ /** `data-testid` of the control. */
52
+ testId?: string;
53
+ options?: readonly InspectorFieldOption[];
54
+ /** Hide the field for this value (the field is shown when absent). */
55
+ visibleWhen?: (target: T) => boolean;
56
+ /** The field's current value. */
57
+ read: (target: T) => InspectorFieldValue;
58
+ /** The patch that sets the field to an already coerced `value`. */
59
+ write: (target: T, value: InspectorFieldValue) => P;
60
+ }
61
+ /** A section's on/off switch (Shadow, Glow, ...); its fields show only when on. */
62
+ export interface InspectorSectionToggle<T, P> {
63
+ isOn: (target: T) => boolean;
64
+ enable: (target: T) => P;
65
+ disable: (target: T) => P;
66
+ /** `data-testid` of the checkbox. */
67
+ testId?: string;
68
+ }
69
+ /** A titled group of fields, optionally behind a toggle. */
70
+ export interface InspectorSectionDescriptor<T, P> {
71
+ id: string;
72
+ /**
73
+ * Translation key of the section title (the toggle's caption when
74
+ * toggleable). A section without a toggle may omit it to draw its fields
75
+ * untitled inside a pane that already heads them.
76
+ */
77
+ labelKey?: string;
78
+ toggle?: InspectorSectionToggle<T, P>;
79
+ fields: readonly InspectorFieldDescriptor<T, P>[];
80
+ }
81
+ /** What a binding draws for one field. */
82
+ export interface InspectorFieldView {
83
+ id: string;
84
+ kind: InspectorFieldKind;
85
+ control: InspectorFieldControl;
86
+ labelKey: string;
87
+ value: InspectorFieldValue;
88
+ min?: number;
89
+ max?: number;
90
+ step?: number;
91
+ unit?: string;
92
+ wide: boolean;
93
+ testId?: string;
94
+ options?: readonly InspectorFieldOption[];
95
+ }
96
+ /** What a binding draws for one section. */
97
+ export interface InspectorSectionView {
98
+ id: string;
99
+ /** Absent for an untitled section (never for a toggleable one). */
100
+ labelKey?: string;
101
+ /** The section has an on/off checkbox. */
102
+ toggleable: boolean;
103
+ /** The toggle is on (always `true` for a section without one). */
104
+ on: boolean;
105
+ toggleTestId?: string;
106
+ /** The visible fields; empty while a toggle is off. */
107
+ fields: InspectorFieldView[];
108
+ }
109
+ /** Resolve the sections' current views for `target`. */
110
+ export declare function resolveInspectorSections<T, P>(sections: readonly InspectorSectionDescriptor<T, P>[], target: T): InspectorSectionView[];
111
+ /**
112
+ * Coerce a raw control value (an input's string, a checkbox's boolean) for
113
+ * `field`: numbers are parsed and clamped (angles wrap), toggles become
114
+ * booleans, colours and choices stay strings. `undefined` when the input is
115
+ * not a usable value (an empty or non-numeric box), so nothing is written.
116
+ */
117
+ export declare function coerceInspectorFieldValue<T, P>(field: InspectorFieldDescriptor<T, P>, raw: InspectorFieldValue): InspectorFieldValue | undefined;
118
+ /**
119
+ * The patch for a control change: `raw` is the control's value. `undefined`
120
+ * when the section or field is unknown or the input is unusable.
121
+ */
122
+ export declare function inspectorFieldPatch<T, P>(sections: readonly InspectorSectionDescriptor<T, P>[], sectionId: string, fieldId: string, target: T, raw: InspectorFieldValue): P | undefined;
123
+ /** The patch for switching a section's toggle; `undefined` without one. */
124
+ export declare function inspectorTogglePatch<T, P>(sections: readonly InspectorSectionDescriptor<T, P>[], sectionId: string, target: T, on: boolean): P | undefined;
125
+ //# sourceMappingURL=inspector-field-model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"inspector-field-model.d.ts","sourceRoot":"","sources":["../../../../src/pptx/render/inspector/inspector-field-model.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH;;;;;;;;GAQG;AACH,MAAM,MAAM,kBAAkB,GAC3B,QAAQ,GACR,QAAQ,GACR,OAAO,GACP,SAAS,GACT,OAAO,GACP,QAAQ,GACR,QAAQ,CAAC;AAEZ,oDAAoD;AACpD,MAAM,MAAM,qBAAqB,GAAG,QAAQ,GAAG,OAAO,GAAG,OAAO,GAAG,QAAQ,GAAG,UAAU,CA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AQ,EAAE,SAAS,0BAA0B,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,EACrD,MAAM,EAAE,CAAC,GACP,oBAAoB,EAAE,CAiBxB;AAED;;;;;GAKG;AACH,wBAAgB,yBAAyB,CAAC,CAAC,EAAE,CAAC,EAC7C,KAAK,EAAE,wBAAwB,CAAC,CAAC,EAAE,CAAC,CAAC,EACrC,GAAG,EAAE,mBAAmB,GACtB,mBAAmB,GAAG,SAAS,CAyBjC;AASD;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,CAAC,EAAE,CAAC,EACvC,QAAQ,EAAE,SAAS,0BAA0B,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,EACrD,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,CAAC,EACT,GAAG,EAAE,mBAAmB,GACtB,CAAC,GAAG,SAAS,CAOf;AAED,2EAA2E;AAC3E,wBAAgB,oBAAoB,CAAC,CAAC,EAAE,CAAC,EACxC,QAAQ,EAAE,SAAS,0BAA0B,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,EACrD,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,CAAC,EACT,EAAE,EAAE,OAAO,GACT,CAAC,GAAG,SAAS,CAMf"}
@@ -0,0 +1,8 @@
1
+ import type { InspectorFieldOption } from './inspector-field-model.js';
2
+ import type { ShapeEffectSection } from './shape-effect-fields.js';
3
+ export declare const REFLECTION: ShapeEffectSection;
4
+ export declare const BLUR: ShapeEffectSection;
5
+ /** The bevel presets a top bevel can take ("none" is the toggle being off). */
6
+ export declare const SHAPE_BEVEL_OPTIONS: readonly InspectorFieldOption[];
7
+ export declare const BEVEL: ShapeEffectSection;
8
+ //# sourceMappingURL=shape-effect-fields-more.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shape-effect-fields-more.d.ts","sourceRoot":"","sources":["../../../../src/pptx/render/inspector/shape-effect-fields-more.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAEpE,OAAO,KAAK,EAAoB,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAuBlF,eAAO,MAAM,UAAU,EAAE,kBAoCxB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,kBAqBlB,CAAC;AAEF,+EAA+E;AAC/E,eAAO,MAAM,mBAAmB,EAAE,SAAS,oBAAoB,EAEQ,CAAC;AAcxE,eAAO,MAAM,KAAK,EAAE,kBAsCnB,CAAC"}
@@ -0,0 +1,27 @@
1
+ /**
2
+ * The shape Effects sections of the inspector (Format Shape > Effects) as
3
+ * field descriptors every binding draws with its one generic renderer: outer
4
+ * shadow, inner shadow, glow and soft edges here, reflection, blur and the top
5
+ * bevel in `shape-effect-fields-more.ts`, the full list in `SHAPE_EFFECT_SECTIONS`.
6
+ *
7
+ * The descriptors edit a `ShapeStyle` and produce a `Partial<ShapeStyle>`:
8
+ * merge it into the element with `shapeQuickStylePatch` (bindings that patch
9
+ * elements) or hand it to a shape-style update path as is. Reading and
10
+ * clamping reuse the effect state helpers (`effects-helpers.ts`), so the
11
+ * defaults a field shows are the ones the toggle writes.
12
+ *
13
+ * @module render/inspector/shape-effect-fields
14
+ */
15
+ import type { ShapeStyle } from 'ooxml-core/pptx';
16
+ import type { InspectorFieldDescriptor, InspectorFieldValue, InspectorSectionDescriptor } from './inspector-field-model.js';
17
+ /** What the Effects descriptors edit: the selected shape's style (absent for none). */
18
+ export type ShapeEffectTarget = ShapeStyle | undefined;
19
+ export type ShapeEffectField = InspectorFieldDescriptor<ShapeEffectTarget, Partial<ShapeStyle>>;
20
+ export type ShapeEffectSection = InspectorSectionDescriptor<ShapeEffectTarget, Partial<ShapeStyle>>;
21
+ export declare const num: (v: InspectorFieldValue) => number;
22
+ export declare const fx: (section: string, field: string) => string;
23
+ export declare const OUTER_SHADOW: ShapeEffectSection;
24
+ export declare const INNER_SHADOW: ShapeEffectSection;
25
+ export declare const GLOW: ShapeEffectSection;
26
+ export declare const SOFT_EDGE: ShapeEffectSection;
27
+ //# sourceMappingURL=shape-effect-fields.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shape-effect-fields.d.ts","sourceRoot":"","sources":["../../../../src/pptx/render/inspector/shape-effect-fields.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AACH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAUlD,OAAO,KAAK,EACX,wBAAwB,EACxB,mBAAmB,EACnB,0BAA0B,EAC1B,MAAM,yBAAyB,CAAC;AAEjC,uFAAuF;AACvF,MAAM,MAAM,iBAAiB,GAAG,UAAU,GAAG,SAAS,CAAC;AACvD,MAAM,MAAM,gBAAgB,GAAG,wBAAwB,CAAC,iBAAiB,EAAE,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC;AAChG,MAAM,MAAM,kBAAkB,GAAG,0BAA0B,CAAC,iBAAiB,EAAE,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC;AAKpG,eAAO,MAAM,GAAG,MAAO,mBAAmB,KAAG,MAAmB,CAAC;AAsBjE,eAAO,MAAM,EAAE,YAAa,MAAM,SAAS,MAAM,KAAG,MAAkC,CAAC;AA6BvF,eAAO,MAAM,YAAY,EAAE,kBAkF1B,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,kBAmD1B,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,kBA+BlB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,kBAsBvB,CAAC"}
@@ -0,0 +1,7 @@
1
+ import type { ShapeEffectSection } from './shape-effect-fields.js';
2
+ /**
3
+ * Every shape effect section. Bindings draw
4
+ * the whole list with their generic field renderer.
5
+ */
6
+ export declare const SHAPE_EFFECT_SECTIONS: readonly ShapeEffectSection[];
7
+ //# sourceMappingURL=shape-effect-sections.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shape-effect-sections.d.ts","sourceRoot":"","sources":["../../../../src/pptx/render/inspector/shape-effect-sections.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAGhE;;;GAGG;AACH,eAAO,MAAM,qBAAqB,EAAE,SAAS,kBAAkB,EAQ9D,CAAC"}
@@ -0,0 +1,20 @@
1
+ /**
2
+ * The shape Line options of the inspector (Format Shape > Fill & Line > Line):
3
+ * width, transparency, dash type, compound type, join and cap, as one untitled
4
+ * section of field descriptors every binding draws with its one generic
5
+ * renderer. The line colour stays with each binding's theme colour picker.
6
+ *
7
+ * Like the Effects descriptors these edit a `ShapeStyle` and produce a
8
+ * `Partial<ShapeStyle>`; the option catalogues are the shared
9
+ * `stroke-dash-options.ts` and `stroke-line-style-options.ts` lists.
10
+ *
11
+ * @module render/inspector/shape-line-fields
12
+ */
13
+ import type { ShapeStyle } from 'ooxml-core/pptx';
14
+ import type { InspectorSectionDescriptor } from './inspector-field-model.js';
15
+ export type ShapeLineSection = InspectorSectionDescriptor<ShapeStyle | undefined, Partial<ShapeStyle>>;
16
+ /** The Line options section (no title: each pane heads it with its line colour). */
17
+ export declare const SHAPE_LINE_SECTION: ShapeLineSection;
18
+ /** The Line options as a section list, what a generic renderer takes. */
19
+ export declare const SHAPE_LINE_SECTIONS: readonly ShapeLineSection[];
20
+ //# sourceMappingURL=shape-line-fields.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shape-line-fields.d.ts","sourceRoot":"","sources":["../../../../src/pptx/render/inspector/shape-line-fields.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAQlD,OAAO,KAAK,EAIX,0BAA0B,EAC1B,MAAM,yBAAyB,CAAC;AAIjC,MAAM,MAAM,gBAAgB,GAAG,0BAA0B,CACxD,UAAU,GAAG,SAAS,EACtB,OAAO,CAAC,UAAU,CAAC,CACnB,CAAC;AA4BF,oFAAoF;AACpF,eAAO,MAAM,kBAAkB,EAAE,gBAwChC,CAAC;AAEF,yEAAyE;AACzE,eAAO,MAAM,mBAAmB,EAAE,SAAS,gBAAgB,EAAyB,CAAC"}
@@ -0,0 +1,24 @@
1
+ /**
2
+ * The Text Box options of the inspector (Format Shape > Text Options > Text
3
+ * Box): vertical alignment, text direction, autofit, wrap and columns, as one
4
+ * untitled section of field descriptors every binding draws with its one
5
+ * generic renderer.
6
+ *
7
+ * Every field is an `a:bodyPr` property (`BODY_TEXT_STYLE_KEYS` in the core),
8
+ * so the descriptors read the element's `TextStyle` and produce a body-level
9
+ * `Partial<TextStyle>`: merge it with `textStylePatch` (bindings that patch
10
+ * elements) or hand it to a text-style update path as is. The value lists are
11
+ * the shared `text-advanced.ts` catalogues.
12
+ *
13
+ * @module render/inspector/text-box-fields
14
+ */
15
+ import type { TextStyle } from 'ooxml-core/pptx';
16
+ import type { InspectorSectionDescriptor } from './inspector-field-model.js';
17
+ /** What the Text Box descriptors edit: the element's text style (absent for none). */
18
+ export type TextBoxTarget = TextStyle | undefined;
19
+ export type TextBoxSection = InspectorSectionDescriptor<TextBoxTarget, Partial<TextStyle>>;
20
+ /** The Text Box options section (no title: each pane heads its text options). */
21
+ export declare const TEXT_BOX_SECTION: TextBoxSection;
22
+ /** The Text Box options as a section list, what a generic renderer takes. */
23
+ export declare const TEXT_BOX_SECTIONS: readonly TextBoxSection[];
24
+ //# sourceMappingURL=text-box-fields.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"text-box-fields.d.ts","sourceRoot":"","sources":["../../../../src/pptx/render/inspector/text-box-fields.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AACH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAGjD,OAAO,KAAK,EAAwB,0BAA0B,EAAE,MAAM,yBAAyB,CAAC;AAEhG,sFAAsF;AACtF,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG,SAAS,CAAC;AAClD,MAAM,MAAM,cAAc,GAAG,0BAA0B,CAAC,aAAa,EAAE,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC;AA8B3F,iFAAiF;AACjF,eAAO,MAAM,gBAAgB,EAAE,cAyD9B,CAAC;AAEF,6EAA6E;AAC7E,eAAO,MAAM,iBAAiB,EAAE,SAAS,cAAc,EAAuB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"viewer-options-apply.d.ts","sourceRoot":"","sources":["../../../../src/pptx/render/options/viewer-options-apply.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAEjE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAE7E;;;;GAIG;AAEH,4DAA4D;AAC5D,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,aAAa,GAAG,MAAM,CAGlE;AAED,mEAAmE;AACnE,wBAAgB,8BAA8B,CAAC,OAAO,EAAE,aAAa,GAAG,MAAM,CAG7E;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAC/B,OAAO,EAAE,aAAa,EACtB,KAAK,EAAE,MAAM,EACb,WAAW,CAAC,EAAE,MAAM,EACpB,QAAQ,CAAC,EAAE,MAAM,GACf,MAAM,GAAG,SAAS,CAapB;AAED,+EAA+E;AAC/E,wBAAgB,wBAAwB,CACvC,OAAO,EAAE,aAAa,EACtB,IAAI,GAAE,SAAS,oBAAoB,EAAiB,GAClD,oBAAoB,EAAE,CAIxB;AAED;;;;GAIG;AACH,wBAAgB,2BAA2B,CAC1C,OAAO,EAAE,aAAa,GACpB,OAAO,CAAC,aAAa,CAAC,GAAG,SAAS,CAUpC;AAED,2FAA2F;AAC3F,wBAAgB,yBAAyB,CAAC,MAAM,EAAE,qBAAqB,GAAG,MAAM,GAAG,SAAS,CAa3F;AAED,8EAA8E;AAC9E,wBAAgB,2BAA2B,CA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AAM,WAAW,gBAAgB;IAChC,UAAU,EAAE,OAAO,CAAC;IACpB,cAAc,EAAE,OAAO,CAAC;IACxB,UAAU,EAAE,OAAO,CAAC;IACpB,WAAW,EAAE,OAAO,CAAC;IACrB,WAAW,EAAE,OAAO,CAAC;IACrB,UAAU,EAAE,OAAO,CAAC;CACpB;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,uBAAuB,CACtC,SAAS,EAAE,gBAAgB,EAC3B,OAAO,EAAE,aAAa,GACpB,gBAAgB,CAYlB;AAED,+EAA+E;AAC/E,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,CAYzF;AAED;;;;;;;;;GASG;AACH,wBAAgB,qCAAqC,CAAC,OAAO,EAAE,aAAa,GAAG,OAAO,CAErF;AAED,oGAAoG;AACpG,wBAAgB,+BAA+B,CAAC,OAAO,EAAE,aAAa,GAAG,OAAO,CAE/E;AAED,2EAA2E;AAC3E,MAAM,WAAW,mBAAmB;IACnC,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;CAC3B;AAED;;;;;GAKG;AACH,wBAAgB,+BAA+B,CAC9C,SAAS,EAAE,SAAS,mBAAmB,EAAE,EACzC,OAAO,EAAE,aAAa,EACtB,GAAG,GAAE,MAAmB,GACtB,MAAM,EAAE,CAOV;AAED,iFAAiF;AACjF,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,aAAa,GAAG,IAAI,CA0B9D"}
@@ -1 +1 @@
1
- {"version":3,"file":"viewer-options.d.ts","sourceRoot":"","sources":["../../../../src/pptx/render/options/viewer-options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D;;;;;;;GAOG;AAEH,MAAM,MAAM,cAAc,GAAG,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C,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;CACvD,CAAC;AAEF,0EAA0E;AAC1E,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,mBAAmB,GAAG,SAAS,GAAG,aAAa,CA2BzF;AAED,2EAA2E;AAC3E,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,aAAa,GAAG,mBAAmB,CAsB7E;AAED,qFAAqF;AACrF,wBAAgB,0BAA0B,CAAC,OAAO,EAAE,aAAa,GAAG,iBAAiB,CASpF;AAED,oEAAoE;AACpE,wBAAgB,wBAAwB,CACvC,OAAO,EAAE,aAAa,EACtB,GAAG,EAAE,MAAM,iBAAiB,EAC5B,KAAK,EAAE,OAAO,GACZ,aAAa,CAuBf;AAED,OAAO,EAAE,YAAY,IAAI,kBAAkB,EAAE,CAAC"}
@@ -0,0 +1,105 @@
1
+ import type { PptxSlide, PptxSlideTransition } from 'ooxml-core/pptx';
2
+ import type { ZoomExcursion } from './zoom-return-navigation.js';
3
+ /**
4
+ * Where a slide show's forward or backward input lands, decided once for all
5
+ * five bindings. Each binding ran the same sequence of shared calls in its own
6
+ * order (Angular's navigator, Svelte's presentation controller, Vue's
7
+ * navigation composable, vanilla's controls and React's slide navigation):
8
+ *
9
+ * forward: the black end screen ends the show; otherwise the next animation
10
+ * build is revealed; a click past the last build does nothing on a slide whose
11
+ * transition forbids click-advance; a pending Zoom excursion returns to its
12
+ * zoom slide; past the show's last slide a returning sub-show resumes, a
13
+ * looping show wraps, the black end screen rises, or the show ends; otherwise
14
+ * the next show slide (hidden slides skipped, custom show and range honoured).
15
+ *
16
+ * backward: the end screen is dismissed; a slide entered backward replays its
17
+ * builds; otherwise the previous show slide, entered with its builds complete.
18
+ *
19
+ * The functions only decide; the binding performs the answer (its own index,
20
+ * transition overlay, timers and end screen), so it keeps its own state shape.
21
+ */
22
+ /** What a forward input needs to know about the running show. */
23
+ export interface ShowForwardInput {
24
+ /** The deck index on screen. */
25
+ currentIndex: number;
26
+ /** The slide at `currentIndex`, for the click-advance gate. */
27
+ currentSlide: PptxSlide | undefined;
28
+ /** The deck indexes the show visits, in order (`resolveShowSlideIndexes`). */
29
+ showOrder: readonly number[];
30
+ /** The black "End of slide show" screen is up. */
31
+ endOfShow: boolean;
32
+ /** A click, tap or swipe on the slide (keyboard and buttons are never gated). */
33
+ fromClick?: boolean;
34
+ /** Set Up Slide Show > "Loop continuously until 'Esc'" (or a kiosk show). */
35
+ loop: boolean;
36
+ /** File > Options > Advanced > "End with black slide" (PowerPoint's default is on). */
37
+ endWithBlackSlide: boolean;
38
+ /** The pending "return to zoom" excursion, if a Zoom with `returnToParent` armed one. */
39
+ zoomExcursion?: ZoomExcursion | undefined;
40
+ /**
41
+ * Called only past the show's last slide: resume the show a returning
42
+ * `ppaction://customshow?...&return=true` sub-show interrupted. True when it did.
43
+ */
44
+ returnFromSubShow?(): boolean;
45
+ /** Reveal the next animation build; true when one was revealed (stay on the slide). */
46
+ advanceBuild(): boolean;
47
+ }
48
+ export type ShowForwardStep =
49
+ /** End the show (forward on the end screen, or past the end without a black slide). */
50
+ {
51
+ kind: 'exit';
52
+ }
53
+ /** Nothing to do (a build was revealed, a click was gated, or there is no slide). */
54
+ | {
55
+ kind: 'stay';
56
+ }
57
+ /** Raise the black end-of-show screen. */
58
+ | {
59
+ kind: 'end-screen';
60
+ }
61
+ /** A returning sub-show ran off its end and `returnFromSubShow` resumed its origin. */
62
+ | {
63
+ kind: 'resumed';
64
+ }
65
+ /**
66
+ * Go to `index`. A Zoom return also carries the excursion to keep (cleared)
67
+ * and the zoom's own transition, when it authored one.
68
+ */
69
+ | {
70
+ kind: 'go';
71
+ index: number;
72
+ zoomReturn?: {
73
+ excursion: ZoomExcursion | undefined;
74
+ transitionOverride: PptxSlideTransition | undefined;
75
+ };
76
+ };
77
+ export declare function resolveShowForward(input: ShowForwardInput): ShowForwardStep;
78
+ /** What a backward input needs to know about the running show. */
79
+ export interface ShowBackwardInput {
80
+ currentIndex: number;
81
+ showOrder: readonly number[];
82
+ endOfShow: boolean;
83
+ /** The slide on screen was entered backward and shows its builds complete. */
84
+ seededCompleted: boolean;
85
+ }
86
+ export type ShowBackwardStep =
87
+ /** Dismiss the black end screen (back onto the last slide). */
88
+ {
89
+ kind: 'dismiss-end-screen';
90
+ }
91
+ /** Replay the current slide's builds from the start. */
92
+ | {
93
+ kind: 'replay';
94
+ }
95
+ /** At the start of the show: stay (PowerPoint never wraps backward). */
96
+ | {
97
+ kind: 'stay';
98
+ }
99
+ /** Go to `index`, entering it with its builds already played. */
100
+ | {
101
+ kind: 'go';
102
+ index: number;
103
+ };
104
+ export declare function resolveShowBackward(input: ShowBackwardInput): ShowBackwardStep;
105
+ //# sourceMappingURL=presentation-show-step.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"presentation-show-step.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/presentation-show-step.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAStE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAM9D;;;;;;;;;;;;;;;;;;GAkBG;AAEH,iEAAiE;AACjE,MAAM,WAAW,gBAAgB;IAChC,gCAAgC;IAChC,YAAY,EAAE,MAAM,CAAC;IACrB,+DAA+D;IAC/D,YAAY,EAAE,SAAS,GAAG,SAAS,CAAC;IACpC,8EAA8E;IAC9E,SAAS,EAAE,SAAS,MAAM,EAAE,CAAC;IAC7B,kDAAkD;IAClD,SAAS,EAAE,OAAO,CAAC;IACnB,iFAAiF;IACjF,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,6EAA6E;IAC7E,IAAI,EAAE,OAAO,CAAC;IACd,uFAAuF;IACvF,iBAAiB,EAAE,OAAO,CAAC;IAC3B,yFAAyF;IACzF,aAAa,CAAC,EAAE,aAAa,GAAG,SAAS,CAAC;IAC1C;;;OAGG;IACH,iBAAiB,CAAC,IAAI,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