ooxml-ui 1.40.0 → 1.42.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 (309) hide show
  1. package/README.md +1 -1
  2. package/custom-elements.json +480 -0
  3. package/dist/chart/design-galleries.d.ts +0 -1
  4. package/dist/chart/format-pane-3d.d.ts +1 -0
  5. package/dist/chart/format-pane-common.d.ts +1 -0
  6. package/dist/chart/format-pane-types.d.ts +0 -1
  7. package/dist/chart/format-pane-view.d.ts +0 -1
  8. package/dist/chunk-4RFFOPBU.js +90 -0
  9. package/dist/{chunk-BOTLS2PR.js → chunk-4ZSZPUE5.js} +20 -0
  10. package/dist/{chunk-XL77FR4B.js → chunk-6EOS74O4.js} +6 -0
  11. package/dist/{chunk-GZNBWWJ5.js → chunk-6FFZFH73.js} +43 -27
  12. package/dist/{chunk-FYBLAPAJ.js → chunk-7L4NP4HN.js} +149 -76
  13. package/dist/{chunk-QLHCGV4C.js → chunk-FE5KE5TR.js} +1 -1
  14. package/dist/{chunk-C4KI635Q.js → chunk-II43ALTT.js} +1 -1
  15. package/dist/{chunk-6VF4FEMY.js → chunk-LBIABP4I.js} +1 -1
  16. package/dist/{chunk-T5ARELU2.js → chunk-N6AKS4ED.js} +1 -1
  17. package/dist/{chunk-YZH2QS7J.js → chunk-Q6WZEGAM.js} +1 -1
  18. package/dist/{chunk-IZ7XMMMJ.js → chunk-TTT5IQBU.js} +10 -5
  19. package/dist/{chunk-QAX4FAB7.js → chunk-Y6KY34VD.js} +1632 -202
  20. package/dist/controls.d.ts +16 -2
  21. package/dist/controls.d.ts.map +1 -1
  22. package/dist/controls.js +4 -4
  23. package/dist/dialog/message-dialog.d.ts +84 -0
  24. package/dist/dialog/message-dialog.d.ts.map +1 -0
  25. package/dist/dialog/message-dialogs.d.ts +39 -0
  26. package/dist/dialog/message-dialogs.d.ts.map +1 -0
  27. package/dist/dialog/share-controller.d.ts +38 -0
  28. package/dist/dialog/share-dialog-locales.d.ts +48 -0
  29. package/dist/dialog/share-dialog-locales.d.ts.map +1 -0
  30. package/dist/dialog/share-dialog.d.ts +122 -0
  31. package/dist/dialog/share-dialog.d.ts.map +1 -0
  32. package/dist/docx/backstage-account.d.ts +3 -0
  33. package/dist/docx/backstage-open.d.ts +4 -0
  34. package/dist/docx/backstage-pages.d.ts +8 -1
  35. package/dist/docx/backstage.d.ts +1 -1
  36. package/dist/docx/cloud-labels.d.ts +4 -0
  37. package/dist/docx/editor-chrome.d.ts +16 -1
  38. package/dist/docx/editor-core.d.ts +13 -1
  39. package/dist/docx/element-api.d.ts +17 -1
  40. package/dist/docx/file-commands.d.ts +2 -2
  41. package/dist/docx/locales/en-app.d.ts +36 -0
  42. package/dist/docx/locales/en.d.ts +36 -0
  43. package/dist/docx/localization-strings.d.ts +36 -0
  44. package/dist/docx.js +402 -54
  45. package/dist/files/cloud-files-labels.d.ts +44 -0
  46. package/dist/files/cloud-files-labels.d.ts.map +1 -0
  47. package/dist/files/cloud-files-view.d.ts +43 -0
  48. package/dist/files/cloud-files-view.d.ts.map +1 -0
  49. package/dist/files/cloud-files.d.ts +130 -0
  50. package/dist/files/cloud-files.d.ts.map +1 -0
  51. package/dist/files/connected-services-labels.d.ts +6 -0
  52. package/dist/files/connected-services.d.ts +71 -0
  53. package/dist/files/connected-services.d.ts.map +1 -0
  54. package/dist/files/open-places.d.ts +59 -0
  55. package/dist/files/open-places.d.ts.map +1 -0
  56. package/dist/index.d.ts +1 -1
  57. package/dist/index.js +10 -10
  58. package/dist/notices/read-only-banner.d.ts.map +1 -1
  59. package/dist/picture-effects.d.ts +0 -1
  60. package/dist/picture-pixels.d.ts.map +1 -1
  61. package/dist/picture-view.d.ts +0 -1
  62. package/dist/pptx/{chart-3d-view-scene-V55XPBBF.cjs → chart-3d-view-scene-C7QUQTXD.cjs} +37 -37
  63. package/dist/pptx/{chart-3d-view-scene-BKNMGRGO.mjs → chart-3d-view-scene-CGLU6ISD.mjs} +2 -2
  64. package/dist/pptx/{chunk-BLONL4S7.mjs → chunk-BA4CJI4U.mjs} +36 -4
  65. package/dist/pptx/{chunk-XTC6MQYM.mjs → chunk-C7G2CSU2.mjs} +3 -3
  66. package/dist/pptx/{chunk-S5VKG3XJ.cjs → chunk-CK6RYGB4.cjs} +38 -3
  67. package/dist/pptx/{chunk-WZHYA2B3.mjs → chunk-DH6EKOVI.mjs} +1 -1
  68. package/dist/pptx/{chunk-MK2ASJSY.mjs → chunk-G4VNRJUX.mjs} +6 -0
  69. package/dist/pptx/{chunk-HIRBPTML.cjs → chunk-JP26TA3Q.cjs} +12 -12
  70. package/dist/pptx/{chunk-NUB6VP7R.mjs → chunk-OPLK7GPB.mjs} +8483 -3453
  71. package/dist/pptx/{chunk-XWAX3PZO.cjs → chunk-RI4YZ4AG.cjs} +8705 -3621
  72. package/dist/pptx/{chunk-WQI3NLMY.mjs → chunk-SF3MYUTD.mjs} +41 -0
  73. package/dist/pptx/{chunk-QK6LJT3K.mjs → chunk-TW5UQCZS.mjs} +7 -17
  74. package/dist/pptx/{chunk-CRV7G4GC.cjs → chunk-WNDGU3GQ.cjs} +41 -0
  75. package/dist/pptx/{chunk-ZLK243QC.cjs → chunk-XTYRGVT5.cjs} +49 -49
  76. package/dist/pptx/{chunk-3ESFHUZI.cjs → chunk-XZSGVMRN.cjs} +6 -0
  77. package/dist/pptx/{chunk-KJICUZXM.cjs → chunk-YZWKNFPU.cjs} +6 -16
  78. package/dist/pptx/dom/elements/connector.d.ts.map +1 -1
  79. package/dist/pptx/dom/elements/edge-bleed-restore.d.ts +19 -0
  80. package/dist/pptx/dom/elements/edge-bleed-restore.d.ts.map +1 -0
  81. package/dist/pptx/dom/elements/shape-filter-defs.d.ts.map +1 -1
  82. package/dist/pptx/dom/elements/text-shape.d.ts.map +1 -1
  83. package/dist/pptx/dom/index.cjs +481 -432
  84. package/dist/pptx/dom/index.d.ts +1 -0
  85. package/dist/pptx/dom/index.d.ts.map +1 -1
  86. package/dist/pptx/dom/index.mjs +64 -17
  87. package/dist/pptx/dom/slide-stage.d.ts.map +1 -1
  88. package/dist/pptx/dom/types.d.ts +8 -1
  89. package/dist/pptx/dom/types.d.ts.map +1 -1
  90. package/dist/pptx/export/html2canvas-clone.cjs +6 -6
  91. package/dist/pptx/export/html2canvas-clone.mjs +1 -1
  92. package/dist/pptx/export/presentation-save.d.ts +15 -0
  93. package/dist/pptx/export/presentation-save.d.ts.map +1 -1
  94. package/dist/pptx/i18n/index.cjs +6 -6
  95. package/dist/pptx/i18n/index.mjs +1 -1
  96. package/dist/pptx/i18n/translations-en.d.ts.map +1 -1
  97. package/dist/pptx/index.cjs +3601 -3373
  98. package/dist/pptx/index.mjs +6 -6
  99. package/dist/pptx/render/abutting-edge-bleed-style.d.ts +24 -0
  100. package/dist/pptx/render/abutting-edge-bleed-style.d.ts.map +1 -0
  101. package/dist/pptx/render/abutting-edge-bleed.d.ts +56 -0
  102. package/dist/pptx/render/abutting-edge-bleed.d.ts.map +1 -0
  103. package/dist/pptx/render/chart-combo-stock.cjs +3 -3
  104. package/dist/pptx/render/chart-combo-stock.mjs +1 -1
  105. package/dist/pptx/render/chart-overlays.cjs +7 -7
  106. package/dist/pptx/render/chart-overlays.mjs +1 -1
  107. package/dist/pptx/render/chart-surface-treemap.cjs +4 -4
  108. package/dist/pptx/render/chart-surface-treemap.mjs +1 -1
  109. package/dist/pptx/render/chart-view-model.cjs +44 -44
  110. package/dist/pptx/render/chart-view-model.mjs +1 -1
  111. package/dist/pptx/render/chart-waterfall-map.cjs +6 -6
  112. package/dist/pptx/render/chart-waterfall-map.mjs +1 -1
  113. package/dist/pptx/render/cloud-open.d.ts +56 -0
  114. package/dist/pptx/render/cloud-open.d.ts.map +1 -0
  115. package/dist/pptx/render/connector-path.d.ts +15 -0
  116. package/dist/pptx/render/connector-path.d.ts.map +1 -1
  117. package/dist/pptx/render/connector-style.d.ts +12 -2
  118. package/dist/pptx/render/connector-style.d.ts.map +1 -1
  119. package/dist/pptx/render/device-pixel-stroke.d.ts +43 -6
  120. package/dist/pptx/render/device-pixel-stroke.d.ts.map +1 -1
  121. package/dist/pptx/render/effect-profile.d.ts +53 -0
  122. package/dist/pptx/render/effect-profile.d.ts.map +1 -0
  123. package/dist/pptx/render/element-style-transform.d.ts +11 -3
  124. package/dist/pptx/render/element-style-transform.d.ts.map +1 -1
  125. package/dist/pptx/render/fill-style.d.ts.map +1 -1
  126. package/dist/pptx/render/font-settled.d.ts +14 -0
  127. package/dist/pptx/render/font-settled.d.ts.map +1 -0
  128. package/dist/pptx/render/index.d.ts +12 -0
  129. package/dist/pptx/render/index.d.ts.map +1 -1
  130. package/dist/pptx/render/inline-list-presentation.d.ts.map +1 -1
  131. package/dist/pptx/render/morph-animation.d.ts +24 -35
  132. package/dist/pptx/render/morph-animation.d.ts.map +1 -1
  133. package/dist/pptx/render/morph-body-carry.d.ts +8 -0
  134. package/dist/pptx/render/morph-body-carry.d.ts.map +1 -0
  135. package/dist/pptx/render/morph-carry.d.ts +60 -0
  136. package/dist/pptx/render/morph-carry.d.ts.map +1 -0
  137. package/dist/pptx/render/morph-easing.d.ts +37 -0
  138. package/dist/pptx/render/morph-easing.d.ts.map +1 -0
  139. package/dist/pptx/render/morph-effect-carry.d.ts +74 -0
  140. package/dist/pptx/render/morph-effect-carry.d.ts.map +1 -0
  141. package/dist/pptx/render/morph-effect-glow.d.ts +42 -0
  142. package/dist/pptx/render/morph-effect-glow.d.ts.map +1 -0
  143. package/dist/pptx/render/morph-effect-parse.d.ts +10 -0
  144. package/dist/pptx/render/morph-effect-parse.d.ts.map +1 -0
  145. package/dist/pptx/render/morph-effect-shadow.d.ts +71 -0
  146. package/dist/pptx/render/morph-effect-shadow.d.ts.map +1 -0
  147. package/dist/pptx/render/morph-flatten.d.ts +2 -2
  148. package/dist/pptx/render/morph-flip-turn.d.ts +55 -0
  149. package/dist/pptx/render/morph-flip-turn.d.ts.map +1 -0
  150. package/dist/pptx/render/morph-geometry-key.d.ts +30 -0
  151. package/dist/pptx/render/morph-geometry-key.d.ts.map +1 -0
  152. package/dist/pptx/render/morph-image-crop.d.ts.map +1 -1
  153. package/dist/pptx/render/morph-line-carry.d.ts +40 -0
  154. package/dist/pptx/render/morph-line-carry.d.ts.map +1 -0
  155. package/dist/pptx/render/morph-matching.d.ts.map +1 -1
  156. package/dist/pptx/render/morph-outline-blend.d.ts +7 -0
  157. package/dist/pptx/render/morph-outline-blend.d.ts.map +1 -0
  158. package/dist/pptx/render/morph-overlay-order.d.ts +1 -1
  159. package/dist/pptx/render/morph-overlay-stack.d.ts +85 -0
  160. package/dist/pptx/render/morph-overlay-stack.d.ts.map +1 -0
  161. package/dist/pptx/render/morph-plan.d.ts +86 -1
  162. package/dist/pptx/render/morph-plan.d.ts.map +1 -1
  163. package/dist/pptx/render/morph-predicates.d.ts.map +1 -1
  164. package/dist/pptx/render/morph-rotation.d.ts +30 -0
  165. package/dist/pptx/render/morph-rotation.d.ts.map +1 -0
  166. package/dist/pptx/render/morph-shape-carry-path.d.ts +40 -0
  167. package/dist/pptx/render/morph-shape-carry-path.d.ts.map +1 -0
  168. package/dist/pptx/render/morph-shape-carry-strands.d.ts +36 -0
  169. package/dist/pptx/render/morph-shape-carry-strands.d.ts.map +1 -0
  170. package/dist/pptx/render/morph-shape-carry.d.ts +78 -0
  171. package/dist/pptx/render/morph-shape-carry.d.ts.map +1 -0
  172. package/dist/pptx/render/morph-soft-edge-blend.d.ts +38 -0
  173. package/dist/pptx/render/morph-soft-edge-blend.d.ts.map +1 -0
  174. package/dist/pptx/render/morph-text-bands.d.ts +44 -0
  175. package/dist/pptx/render/morph-text-bands.d.ts.map +1 -0
  176. package/dist/pptx/render/morph-text-baseline.d.ts +47 -0
  177. package/dist/pptx/render/morph-text-baseline.d.ts.map +1 -0
  178. package/dist/pptx/render/morph-text-blend.d.ts +71 -0
  179. package/dist/pptx/render/morph-text-blend.d.ts.map +1 -0
  180. package/dist/pptx/render/morph-text-body-copies.d.ts +51 -0
  181. package/dist/pptx/render/morph-text-body-copies.d.ts.map +1 -0
  182. package/dist/pptx/render/morph-text-body.d.ts +31 -0
  183. package/dist/pptx/render/morph-text-body.d.ts.map +1 -0
  184. package/dist/pptx/render/morph-text-flip.d.ts +49 -0
  185. package/dist/pptx/render/morph-text-flip.d.ts.map +1 -0
  186. package/dist/pptx/render/morph-text-frame-read.d.ts +97 -0
  187. package/dist/pptx/render/morph-text-frame-read.d.ts.map +1 -0
  188. package/dist/pptx/render/morph-text-frame.d.ts +68 -0
  189. package/dist/pptx/render/morph-text-frame.d.ts.map +1 -0
  190. package/dist/pptx/render/morph-text-glyph-plan.d.ts +31 -0
  191. package/dist/pptx/render/morph-text-glyph-plan.d.ts.map +1 -0
  192. package/dist/pptx/render/morph-text-glyphs.d.ts +27 -0
  193. package/dist/pptx/render/morph-text-glyphs.d.ts.map +1 -0
  194. package/dist/pptx/render/morph-text-ink.d.ts +43 -0
  195. package/dist/pptx/render/morph-text-ink.d.ts.map +1 -0
  196. package/dist/pptx/render/morph-text-lines.d.ts +75 -0
  197. package/dist/pptx/render/morph-text-lines.d.ts.map +1 -0
  198. package/dist/pptx/render/morph-text-piece-caps.d.ts +36 -0
  199. package/dist/pptx/render/morph-text-piece-caps.d.ts.map +1 -0
  200. package/dist/pptx/render/morph-text-piece-plan.d.ts +37 -0
  201. package/dist/pptx/render/morph-text-piece-plan.d.ts.map +1 -0
  202. package/dist/pptx/render/morph-text-pieces.d.ts +92 -0
  203. package/dist/pptx/render/morph-text-pieces.d.ts.map +1 -0
  204. package/dist/pptx/render/morph-text-slot.d.ts +19 -4
  205. package/dist/pptx/render/morph-text-slot.d.ts.map +1 -1
  206. package/dist/pptx/render/morph-text-spans.d.ts +27 -0
  207. package/dist/pptx/render/morph-text-spans.d.ts.map +1 -0
  208. package/dist/pptx/render/morph-text-transform.d.ts +110 -0
  209. package/dist/pptx/render/morph-text-transform.d.ts.map +1 -0
  210. package/dist/pptx/render/morph-types.d.ts +88 -38
  211. package/dist/pptx/render/morph-types.d.ts.map +1 -1
  212. package/dist/pptx/render/paragraph-baseline-settle.d.ts +8 -0
  213. package/dist/pptx/render/paragraph-baseline-settle.d.ts.map +1 -0
  214. package/dist/pptx/render/paragraph-baseline.d.ts +150 -0
  215. package/dist/pptx/render/paragraph-baseline.d.ts.map +1 -0
  216. package/dist/pptx/render/paragraph-spacing.d.ts +29 -66
  217. package/dist/pptx/render/paragraph-spacing.d.ts.map +1 -1
  218. package/dist/pptx/render/paragraph-types.d.ts +13 -0
  219. package/dist/pptx/render/paragraph-types.d.ts.map +1 -1
  220. package/dist/pptx/render/presentation-action.d.ts +3 -2
  221. package/dist/pptx/render/presentation-action.d.ts.map +1 -1
  222. package/dist/pptx/render/read-only-badge.d.ts +23 -0
  223. package/dist/pptx/render/read-only-badge.d.ts.map +1 -0
  224. package/dist/pptx/render/share-session.d.ts +4 -7
  225. package/dist/pptx/render/share-session.d.ts.map +1 -1
  226. package/dist/pptx/render/stroke-clip-edge.d.ts +6 -1
  227. package/dist/pptx/render/stroke-clip-edge.d.ts.map +1 -1
  228. package/dist/pptx/render/stroke-compound-strands.d.ts +30 -0
  229. package/dist/pptx/render/stroke-compound-strands.d.ts.map +1 -0
  230. package/dist/pptx/render/stroke-outline.d.ts +7 -0
  231. package/dist/pptx/render/stroke-outline.d.ts.map +1 -1
  232. package/dist/pptx/render/table-cell-paragraphs.d.ts.map +1 -1
  233. package/dist/pptx/render/text-block-style.d.ts.map +1 -1
  234. package/dist/pptx/render/text-body-layout.d.ts.map +1 -1
  235. package/dist/pptx/render/text-effects.d.ts +6 -11
  236. package/dist/pptx/render/text-effects.d.ts.map +1 -1
  237. package/dist/pptx/render/text-flip-compensation.d.ts +51 -0
  238. package/dist/pptx/render/text-flip-compensation.d.ts.map +1 -0
  239. package/dist/pptx/render/text-line-height.d.ts +8 -8
  240. package/dist/pptx/render/text-line-height.d.ts.map +1 -1
  241. package/dist/pptx/render/text-paragraph-style.d.ts +13 -0
  242. package/dist/pptx/render/text-paragraph-style.d.ts.map +1 -1
  243. package/dist/pptx/render/text-paragraphs.d.ts.map +1 -1
  244. package/dist/pptx/render/text-shrink-block.d.ts +23 -0
  245. package/dist/pptx/render/text-shrink-block.d.ts.map +1 -0
  246. package/dist/pptx/render/transition-template-elements.d.ts +33 -0
  247. package/dist/pptx/render/transition-template-elements.d.ts.map +1 -0
  248. package/dist/pptx/render/viewer-api-guard.d.ts +36 -0
  249. package/dist/pptx/render/viewer-api-guard.d.ts.map +1 -0
  250. package/dist/pptx/render/viewer-dialogs.d.ts +31 -0
  251. package/dist/pptx/render/viewer-dialogs.d.ts.map +1 -0
  252. package/dist/pptx/render/viewer-hyperlinks.d.ts +2 -1
  253. package/dist/pptx/render/viewer-hyperlinks.d.ts.map +1 -1
  254. package/dist/pptx/render/viewer-props-manifest.d.ts.map +1 -1
  255. package/dist/pptx/render/visual-effects.d.ts +3 -1
  256. package/dist/pptx/render/visual-effects.d.ts.map +1 -1
  257. package/dist/pptx/{smartart-insert-preview-BP4WAD5U.mjs → smartart-insert-preview-AE7D4I7L.mjs} +7 -7
  258. package/dist/pptx/{smartart-insert-preview-USGRDZHJ.cjs → smartart-insert-preview-P4NV2FRD.cjs} +8 -8
  259. package/dist/pptx/theme/index.cjs +18 -18
  260. package/dist/pptx/theme/index.mjs +1 -1
  261. package/dist/pptx/web-components/index.d.ts.map +1 -1
  262. package/dist/pptx/web-components/office-aliases.d.ts +4 -0
  263. package/dist/pptx/web-components/office-aliases.d.ts.map +1 -1
  264. package/dist/pptx/web-components/office-token-bridge.d.ts +1 -1
  265. package/dist/pptx/web-components/office-token-bridge.d.ts.map +1 -1
  266. package/dist/presence.js +3 -3
  267. package/dist/{presentation-preview-ZVJNGOJO.js → presentation-preview-KGBTDTNM.js} +1 -1
  268. package/dist/smartart.js +3 -3
  269. package/dist/suite/document-store.d.ts +10 -0
  270. package/dist/suite.js +45 -6
  271. package/dist/teams/app/content-preview.d.ts +1 -1
  272. package/dist/teams/app/dialogs.d.ts +18 -0
  273. package/dist/teams/app/teams-app.d.ts +8 -0
  274. package/dist/teams/i18n/locales/de.d.ts +4 -0
  275. package/dist/teams/i18n/locales/en/shell.d.ts +4 -0
  276. package/dist/teams/i18n/locales/en.d.ts +4 -0
  277. package/dist/teams/i18n/locales/es.d.ts +4 -0
  278. package/dist/teams/i18n/locales/fr.d.ts +4 -0
  279. package/dist/teams/i18n/locales/zh-CN.d.ts +4 -0
  280. package/dist/teams.js +7 -7
  281. package/dist/theme-bridge.d.ts +0 -1
  282. package/dist/theme.js +2 -2
  283. package/dist/tokens.d.ts +5 -0
  284. package/dist/tokens.d.ts.map +1 -1
  285. package/dist/visio/binding.d.ts +3 -0
  286. package/dist/visio/controller.d.ts +2 -0
  287. package/dist/visio/locales/cloud-files.d.ts +4 -0
  288. package/dist/visio/viewer-backstage.d.ts +5 -1
  289. package/dist/visio/viewer-cloud-places.d.ts +16 -0
  290. package/dist/visio/viewer-connected-services.d.ts +13 -0
  291. package/dist/visio/viewer-element.d.ts +16 -1
  292. package/dist/visio/viewer-share-ui.d.ts +27 -0
  293. package/dist/visio/viewer-share.d.ts +7 -2
  294. package/dist/visio.js +476 -69
  295. package/dist/xlsx/backstage/cloud-labels.d.ts +4 -0
  296. package/dist/xlsx/backstage/index.d.ts +1 -1
  297. package/dist/xlsx/backstage/pages-account.d.ts +2 -0
  298. package/dist/xlsx/backstage/pages-file.d.ts +0 -1
  299. package/dist/xlsx/backstage/pages-open.d.ts +2 -0
  300. package/dist/xlsx/backstage/pages-share.d.ts +5 -6
  301. package/dist/xlsx/backstage/parts.d.ts +5 -0
  302. package/dist/xlsx/component.d.ts +8 -0
  303. package/dist/xlsx/editor-core.d.ts +10 -1
  304. package/dist/xlsx/editor-files.d.ts +14 -1
  305. package/dist/xlsx/editor-shell.d.ts +3 -0
  306. package/dist/xlsx/element-api.d.ts +14 -5
  307. package/dist/xlsx.js +247 -89
  308. package/package.json +3 -3
  309. package/dist/chunk-7RRN2GPO.js +0 -19
@@ -14,7 +14,12 @@
14
14
  *
15
15
  * @module render/stroke-clip-edge
16
16
  */
17
- import type { StrokeClipJoin } from './stroke-clip-outset.js';
17
+ import type { Point, StrokeClipJoin } from './stroke-clip-outset.js';
18
+ /**
19
+ * One ring offset away from the shape's fill by `half`, joined as `join` joins.
20
+ * `away` 1 offsets to the right of the direction of travel (y down), -1 to the left.
21
+ */
22
+ export declare function offsetRing(pts: readonly Point[], half: number, join: StrokeClipJoin, away: 1 | -1): Point[];
18
23
  /**
19
24
  * Path data along the outer edge of the clip `outsetClipPathForStroke` builds
20
25
  * for the same outline, or `undefined` when it cannot be traced.
@@ -1 +1 @@
1
- {"version":3,"file":"stroke-clip-edge.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/stroke-clip-edge.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,OAAO,KAAK,EAAS,cAAc,EAAE,MAAM,sBAAsB,CAAC;AA4ElE;;;;;;;GAOG;AACH,wBAAgB,mBAAmB,CAClC,CAAC,EAAE,MAAM,EACT,WAAW,EAAE,MAAM,EACnB,IAAI,EAAE,cAAc,GAClB,MAAM,GAAG,SAAS,CA2BpB"}
1
+ {"version":3,"file":"stroke-clip-edge.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/stroke-clip-edge.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,OAAO,KAAK,EAAE,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAkBlE;;;GAGG;AACH,wBAAgB,UAAU,CACzB,GAAG,EAAE,SAAS,KAAK,EAAE,EACrB,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,cAAc,EACpB,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,GACV,KAAK,EAAE,CAkDT;AAED;;;;;;;GAOG;AACH,wBAAgB,mBAAmB,CAClC,CAAC,EAAE,MAAM,EACT,WAAW,EAAE,MAAM,EACnB,IAAI,EAAE,cAAc,GAClB,MAAM,GAAG,SAAS,CA2BpB"}
@@ -0,0 +1,30 @@
1
+ /**
2
+ * The parallel strands of a compound line (`a:ln/@cmpd`) drawn along the
3
+ * outline itself, not shifted down the page.
4
+ *
5
+ * A compound strand used to be the outline's own path translated by its offset
6
+ * on the y axis (`translate(0, offset)`), which is right only for a horizontal
7
+ * line. Exported from PowerPoint 16 (`Slide.Export`, 1280 x 720), a rectangle
8
+ * with a 12 pt `thickThin` line paints its thick strand outside and the thin
9
+ * one inside on all four sides; the translated copies drew both strands on the
10
+ * top and bottom edges only, shifted, and one smeared band on the sides.
11
+ *
12
+ * Each strand is instead its own path, the outline offset perpendicular to its
13
+ * direction of travel by the strand's offset (negative to the left, as the
14
+ * first strand of a horizontal line drawn left to right lies above it), with
15
+ * the outline's own joins.
16
+ *
17
+ * @module render/stroke-compound-strands
18
+ */
19
+ import type { StrokeClipJoin } from './stroke-clip-outset.js';
20
+ /**
21
+ * The path of one strand `offset` px off the outline `d`, or `undefined` when
22
+ * the path cannot be traced.
23
+ */
24
+ export declare function compoundStrandPath(d: string, offset: number, join: StrokeClipJoin): string | undefined;
25
+ /** Strands whose offsets are traced as their own paths along `d` (offset `0` after). */
26
+ export declare function traceCompoundStrands<T extends {
27
+ offset: number;
28
+ d?: string;
29
+ }>(strands: readonly T[], d: string, join: StrokeClipJoin): T[];
30
+ //# sourceMappingURL=stroke-compound-strands.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stroke-compound-strands.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/stroke-compound-strands.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,OAAO,KAAK,EAAS,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAyBlE;;;GAGG;AACH,wBAAgB,kBAAkB,CACjC,CAAC,EAAE,MAAM,EACT,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,cAAc,GAClB,MAAM,GAAG,SAAS,CAgBpB;AAED,wFAAwF;AACxF,wBAAgB,oBAAoB,CAAC,CAAC,SAAS;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,CAAC,CAAC,EAAE,MAAM,CAAA;CAAE,EAC5E,OAAO,EAAE,SAAS,CAAC,EAAE,EACrB,CAAC,EAAE,MAAM,EACT,IAAI,EAAE,cAAc,GAClB,CAAC,EAAE,CAWL"}
@@ -52,6 +52,13 @@ export interface StrokeOutlineStrand {
52
52
  */
53
53
  cssStrokeWidth: string;
54
54
  offset: number;
55
+ /**
56
+ * An inline CSS `transform` that snaps this strand to the device grid the way
57
+ * PowerPoint's export does (see `snappedStrokeTransform`), set only for the
58
+ * axis-aligned outline of a plain rectangle or a horizontal / vertical line.
59
+ * Write it as a style property next to {@link cssStrokeWidth}.
60
+ */
61
+ cssTransform?: string;
55
62
  /**
56
63
  * Path data for this strand when it is not the outline's own `d`: the
57
64
  * edge bleed (see {@link buildStrokeOutline}) traces the widened clip's edge.
@@ -1 +1 @@
1
- {"version":3,"file":"stroke-outline.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/stroke-outline.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,OAAO,KAAK,EAAE,WAAW,EAAc,MAAM,iBAAiB,CAAC;AAO/D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAS/D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAS3D,OAAO,KAAK,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAS1E,4EAA4E;AAC5E,MAAM,MAAM,kBAAkB,GAAG,cAAc,GAAG,aAAa,CAAC;AAEhE;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IACnC,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,CAAC,CAAC,EAAE,MAAM,CAAC;CACX;AAED,yEAAyE;AACzE,MAAM,WAAW,a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AC,MAAM,EAAE,MAAM,CAAC,GAClC,yBAAyB,GAAG,SAAS,CAkCvC;AAuID;;;;;GAKG;AACH,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,WAAW,GAAG,MAAM,CAWlE;AAED;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,WAAW,GAAG,cAAc,CAKtE;AA8BD;;;;;;;;;;GAUG;AACH,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,WAAW,GAAG,aAAa,GAAG,SAAS,CA+DlF;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,WAAW,GAAG,MAAM,GAAG,SAAS,CAO7E;AAED;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,WAAW,GAAG,OAAO,CAEjE"}
@@ -1 +1 @@
1
- {"version":3,"file":"table-cell-paragraphs.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/table-cell-paragraphs.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,KAAK,EAAE,aAAa,EAA0B,MAAM,iBAAiB,CAAC;AAI7E,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAI/D,qEAAqE;AACrE,MAAM,WAAW,kBAAkB;IAClC,GAAG,EAAE,YAAY,CAAC;IAClB,IAAI,EAAE,WAAW,EAAE,CAAC;CACpB;AAmJD;;;;;;;;;;GAUG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,aAAa,GAAG,kBAAkB,EAAE,GAAG,SAAS,CAsCzF"}
1
+ {"version":3,"file":"table-cell-paragraphs.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/table-cell-paragraphs.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,KAAK,EAAE,aAAa,EAA0B,MAAM,iBAAiB,CAAC;AAI7E,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAQ/D,qEAAqE;AACrE,MAAM,WAAW,kBAAkB;IAClC,GAAG,EAAE,YAAY,CAAC;IAClB,IAAI,EAAE,WAAW,EAAE,CAAC;CACpB;AA6KD;;;;;;;;;;GAUG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,aAAa,GAAG,kBAAkB,EAAE,GAAG,SAAS,CAuCzF"}
@@ -1 +1 @@
1
- {"version":3,"file":"text-block-style.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/text-block-style.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAe,MAAM,iBAAiB,CAAC;AA+BhE,wEAAwE;AACxE,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC;AAE7D,+EAA+E;AAC/E,MAAM,WAAW,qBAAqB;IACrC;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;;;;OAOG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACpB;AAgCD;;;;;;;;;;GAUG;AACH,wBAAgB,mBAAmB,CAClC,OAAO,EAAE,WAAW,EACpB,OAAO,GAAE,qBAA0B,GACjC,cAAc,CA6NhB"}
1
+ {"version":3,"file":"text-block-style.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/text-block-style.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAe,MAAM,iBAAiB,CAAC;AAgChE,wEAAwE;AACxE,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC;AAE7D,+EAA+E;AAC/E,MAAM,WAAW,qBAAqB;IACrC;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;;;;OAOG;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;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,gCAAgC,CAC/C,SAAS,EAAE,SAAS,GAAG,SAAS,EAChC,eAAe,EAAE,MAAM,EACvB,YAAY,EAAE,MAAM,GAClB,mBAAmB,CAkBrB"}
@@ -56,17 +56,12 @@ export declare function getTextAlphaOpacity(style: TextStyle): number | undefine
56
56
  /**
57
57
  * Build a CSS `filter` value for a text run's glow (`a:glow`).
58
58
  *
59
- * A single `drop-shadow(0 0 <radius>px ...)` is one Gaussian blur pass, which
60
- * spreads the colour into a soft, low-opacity cloud reaching all the way out
61
- * to `radius` - visibly more diffuse than PowerPoint's glow, which reads as a
62
- * fairly solid, uniform-width halo hugging the glyph before fading out only
63
- * near the outer edge (COM-verified against `audit-text` slide 14's "GLOW"
64
- * run). Stacking three `drop-shadow()`s at increasing radius and decreasing
65
- * opacity - the same 0.33/0.66/1.0 radius and opacity falloff
66
- * {@link getGlowBoxShadowCss} already uses for a SHAPE's glow (`box-shadow`
67
- * layers) - builds up a denser core near the glyph with a shorter actual
68
- * fade tail, matching PowerPoint's tighter halo far more closely than one
69
- * wide blur.
59
+ * PowerPoint's glow grows the glyph by about 0.42 of its radius and then blurs
60
+ * it (see `effect-profile.ts`); a single `drop-shadow()` only blurs, so it
61
+ * paints a thin, pale cloud. Three equal `drop-shadow()`s chained (each shadows
62
+ * the previous one's output) build the solid halo: mean abs diff outside the
63
+ * glyphs against PowerPoint's export of an 80 pt bold run, 0.36 where the
64
+ * 0.33/0.66/1.0 stack read 0.77.
70
65
  */
71
66
  export declare function buildTextGlowFilter(style: TextStyle): string | undefined;
72
67
  //# sourceMappingURL=text-effects.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"text-effects.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/text-effects.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAIjD,mEAAmE;AACnE,wBAAgB,kB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gB,kBAAkB,CAAC,KAAK,EAAE,SAAS,GAAG,MAAM,GAAG,SAAS,CAYvE;AAED,gEAAgE;AAChE,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,SAAS,GAAG,MAAM,GAAG,SAAS,CAQxE;AAED;;;;;;;;;GASG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,SAAS,GAAG,MAAM,GAAG,SAAS,CAexE"}
@@ -0,0 +1,51 @@
1
+ /**
2
+ * Where the text of a flipped shape is painted: the transform and pivot every
3
+ * binding's text body layer applies inside the flipped container.
4
+ *
5
+ * Measured on PowerPoint 16 exports (`Slide.Export`, 1280 x 720) of text boxes
6
+ * and filled shapes, left and right aligned, wrapping and `wrap="none"`, at
7
+ * 0, 30 (authored 330 by the flip) and 120 (authored 240) degrees:
8
+ *
9
+ * - `flipH` never mirrors the text: it reads at the shape's rotation, in the
10
+ * same place as in the unflipped shape (a left-aligned line stays left).
11
+ * - `flipV` turns the text upside down: a left-aligned, top-anchored line
12
+ * ends at the bottom right of its box, reading right to left; several
13
+ * lines keep their order bottom-up, so the whole block is turned 180
14
+ * degrees, not each line.
15
+ * - Both flips: the shape's own transform is a half turn, and the text turns
16
+ * with it (the same picture as `flipV` alone on a symmetric box).
17
+ * - On a right triangle (`rtTriangle`, whose text rectangle sits in its
18
+ * lower left), `flipV` moves the RECTANGLE with the geometry (to the upper
19
+ * left) and turns the text 180 degrees inside it. So the turn pivots on the
20
+ * text rectangle's centre, not the shape's.
21
+ *
22
+ * `getTextCompensationTransform` gives the transform; this module adds the
23
+ * pivot. The text layer is the shape's whole box with the text rectangle and
24
+ * insets as padding, so a horizontal mirror about the box centre would carry
25
+ * an off-centre rectangle to the far side; about the rectangle's centre it
26
+ * stays where the flipped geometry put it.
27
+ *
28
+ * @module render/text-flip-compensation
29
+ */
30
+ import type { PptxElement } from 'ooxml-core/pptx';
31
+ /**
32
+ * The horizontal centre of `element`'s text rectangle (geometry rectangle and
33
+ * body insets), in px from its own left edge.
34
+ */
35
+ export declare function textRectCentreX(element: PptxElement): number;
36
+ /**
37
+ * The `transform-origin` the compensation turns about: `'center'` when the
38
+ * text rectangle is centred in the box, else its centre in px.
39
+ */
40
+ export declare function getTextCompensationOrigin(element: PptxElement): string;
41
+ /** The text layer's compensation as a CSS pair, or `undefined` for an unflipped shape. */
42
+ export interface TextCompensationStyle {
43
+ transform: string;
44
+ transformOrigin: string;
45
+ }
46
+ /**
47
+ * The compensation transform and its origin, or `undefined` when the text
48
+ * needs none.
49
+ */
50
+ export declare function getTextCompensationStyle(element: PptxElement): TextCompensationStyle | undefined;
51
+ //# sourceMappingURL=text-flip-compensation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"text-flip-compensation.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/text-flip-compensation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAUnD;;;GAGG;AACH,wBAAgB,eAAe,CAAC,OAAO,EAAE,WAAW,GAAG,MAAM,CAM5D;AAED;;;GAGG;AACH,wBAAgB,yBAAyB,CAAC,OAAO,EAAE,WAAW,GAAG,MAAM,CAKtE;AAED,0FAA0F;AAC1F,MAAM,WAAW,qBAAqB;IACrC,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,EAAE,MAAM,CAAC;CACxB;AAED;;;GAGG;AACH,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,WAAW,GAAG,qBAAqB,GAAG,SAAS,CAGhG"}
@@ -52,14 +52,14 @@ export declare function resolveLineHeight(textStyle: LineHeightSource | undefine
52
52
  * stacked on PowerPoint's {@link DEFAULT_LINE_HEIGHT} single-spacing pitch,
53
53
  * or that base itself when no multiplier is set.
54
54
  *
55
- * `compatLineSpacing` (`a:bodyPr/@compatLnSpc`) selects PowerPoint's legacy
56
- * (97-2003) line-spacing algorithm instead of the newer "exact" one this
57
- * function otherwise models. ECMA-376 (§21.1.2.1.1) describes the legacy
58
- * algorithm as computing line height directly from the run's own font
59
- * metrics rather than layering an extra single-spacing pitch on top, so
60
- * `a:spcPct` is applied to the multiplier alone here (no COM measurement of
61
- * `compatLnSpc` specifically backs the 1.2 constant the non-compat branch
62
- * uses; this is a spec-reasoned approximation, not a measured one).
55
+ * `compatLineSpacing` (`a:bodyPr/@compatLnSpc`) changes nothing here. It was
56
+ * once modelled as "the multiplier alone, no 1.2 pitch", which was never
57
+ * measured and painted every body of the older Office themes (whose master
58
+ * sets `compatLnSpc="1"`) about 17% too tight. PowerPoint 16 static exports
59
+ * of Calibri, Arial and Verdana at 28pt with `compatLnSpc` 0 and 1 and
60
+ * `lnSpc` unset, 90% and 150% all lay out at 1.2x the font size times the
61
+ * multiplier with the flag on (44.8, 40.3 and 67.2px at 37.3px). The
62
+ * parameter stays so callers keep their signature.
63
63
  */
64
64
  export declare function proportionalLineHeight(lineSpacing: number | undefined, compatLineSpacing?: boolean): number;
65
65
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"text-line-height.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/text-line-height.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,mEAAmE;AACnE,MAAM,WAAW,gBAAgB;IAChC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;CAChC;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,mBAAmB,MAAM,CAAC;AAEvC;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,iBAAiB,CAChC,SAAS,EAAE,gBAAgB,GAAG,SAAS,EACvC,aAAa,EAAE,OAAO,GACpB,MAAM,GAAG,MAAM,CAWjB;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,sBAAsB,CACrC,WAAW,EAAE,MAAM,GAAG,SAAS,EAC/B,iBAAiB,UAAQ,GACvB,MAAM,CAOR;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,CAC7B,UAAU,EAAE,MAAM,EAClB,UAAU,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,GACrC,MAAM,CAYR"}
1
+ {"version":3,"file":"text-line-height.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/text-line-height.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,mEAAmE;AACnE,MAAM,WAAW,gBAAgB;IAChC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;CAChC;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,mBAAmB,MAAM,CAAC;AAEvC;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,iBAAiB,CAChC,SAAS,EAAE,gBAAgB,GAAG,SAAS,EACvC,aAAa,EAAE,OAAO,GACpB,MAAM,GAAG,MAAM,CAWjB;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,sBAAsB,CACrC,WAAW,EAAE,MAAM,GAAG,SAAS,EAC/B,iBAAiB,UAAQ,GACvB,MAAM,CAKR;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,CAC7B,UAAU,EAAE,MAAM,EAClB,UAAU,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,GACrC,MAAM,CAYR"}
@@ -67,4 +67,17 @@ export declare function resolveCssTextAlign(align: TextStyle['align'] | undefine
67
67
  * excluded.
68
68
  */
69
69
  export declare function resolveTextAlignLast(align: TextStyle['align'] | undefined): 'justify' | undefined;
70
+ /**
71
+ * The `text-justify` of `algn="dist"`, set beside its `text-align-last`. PowerPoint distributes LETTERS,
72
+ * not words: on every line of a distributed paragraph (the last line, a
73
+ * single-line paragraph, and the full lines above it) the slack is spread
74
+ * evenly after each character, spaces included, leaving the last character
75
+ * flush with the right edge. COM-measured on static exports: "Hello" in a
76
+ * 6 in box becomes "H e l l o" edge to edge, "Hello world" keeps a wider gap
77
+ * only because the space takes its own share, and "aa bb cc ..." on a full
78
+ * line spreads its letters too. CSS `text-justify: inter-character` does the
79
+ * same under `text-align: justify` (Chromium and Firefox); WebKit ignores it
80
+ * and keeps spreading words, which is the best it can do.
81
+ */
82
+ export declare const DISTRIBUTED_TEXT_JUSTIFY = "inter-character";
70
83
  //# sourceMappingURL=text-paragraph-style.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"text-paragraph-style.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/text-paragraph-style.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAEjD,0EAA0E;AAC1E,MAAM,WAAW,mBAAmB;IACnC,OAAO,EAAE;QACR,KAAK,CAAC,EAAE,IAAI,CAAC,SAAS,EAAE,KAAK,GAAG,OAAO,CAAC,CAAC;QACzC;;;;;;;WAOG;QACH,mBAAmB,CAAC,EAAE,IAAI,CAAC,SAAS,EAAE,KAAK,GAAG,OAAO,CAAC,CAAC;KACvD,CAAC;CACF;AAED,+EAA+E;AAC/E,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,SAAS,GAAG,OAAO,GAAG,KAAK,CAAC;AAErF;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAClC,YAAY,EAAE,aAAa,CAAC,mBAAmB,CAAC,EAChD,UAAU,EAAE,OAAO,GAAG,SAAS,GAC7B,OAAO,GAAG,SAAS,CAqBrB;AAED;;;;;GAKG;AACH,wBAAgB,qBAAqB,CACpC,YAAY,EAAE,aAAa,CAAC,mBAAmB,CAAC,EAChD,YAAY,EAAE,SAAS,CAAC,OAAO,CAAC,GAAG,SAAS,GAC1C,SAAS,CAAC,OAAO,CAAC,GAAG,SAAS,CAQhC;AAED;;;;;;;GAOG;AACH,wBAAgB,mBAAmB,CAClC,KAAK,EAAE,SAAS,CAAC,OAAO,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,CAS1B;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,SAAS,CAAC,OAAO,CAAC,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,CAEjG;AAED;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,wBAAwB,oBAAoB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"text-paragraphs.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/text-paragraphs.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAWhE,OAAO,KAAK,EAAgB,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEvE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AA8B1E;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,eAAe,CAC9B,OAAO,EAAE,WAAW,EACpB,YAAY,CAAC,EAAE,wBAAwB,EACvC,gBAAgB,CAAC,EAAE,SAAS,WAAW,EAAE,EACzC,OAAO,CAAC,EAAE;IACT,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC7B,GACC,eAAe,EAAE,CAgNnB"}
1
+ {"version":3,"file":"text-paragraphs.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/text-paragraphs.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAahE,OAAO,KAAK,EAAgB,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEvE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AA+B1E;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,eAAe,CAC9B,OAAO,EAAE,WAAW,EACpB,YAAY,CAAC,EAAE,wBAAwB,EACvC,gBAAgB,CAAC,EAAE,SAAS,WAAW,EAAE,EACzC,OAAO,CAAC,EAAE;IACT,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC7B,GACC,eAAe,EAAE,CAsNnB"}
@@ -0,0 +1,23 @@
1
+ /**
2
+ * The horizontal offset of an `a:bodyPr/@anchorCtr="1"` text block.
3
+ *
4
+ * PowerPoint shrinks the block to its longest line (the bounding box of every
5
+ * wrapped line) and centres THAT box in the text area; each line keeps its own
6
+ * alignment inside it (PowerPoint 16 exports: left, centre and right aligned,
7
+ * one to four wrapped lines, insets and a turned box). CSS `fit-content` only
8
+ * shrinks a block that does not wrap: a wrapped one keeps the full column, so
9
+ * its lines sat at the wrong x. The lines are broken here with the canvas
10
+ * measurer the morph text layout already uses, and the whole block is moved by
11
+ * the one offset that centres their bounding box.
12
+ *
13
+ * @module render/text-shrink-block
14
+ */
15
+ import type { PptxElement } from 'ooxml-core/pptx';
16
+ /**
17
+ * How far (px, positive to the right) the full-column block has to move to be
18
+ * the shrink-wrapped block PowerPoint draws, or `undefined` when the lines
19
+ * cannot be measured with confidence (no canvas, mixed faces, bullets, ...),
20
+ * where the caller keeps `fit-content`.
21
+ */
22
+ export declare function shrinkBlockOffset(element: PptxElement): number | undefined;
23
+ //# sourceMappingURL=text-shrink-block.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"text-shrink-block.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/text-shrink-block.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AACH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAKnD;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,WAAW,GAAG,MAAM,GAAG,SAAS,CAoB1E"}
@@ -0,0 +1,33 @@
1
+ /**
2
+ * Which layout and master shapes each layer of a slide transition paints.
3
+ *
4
+ * A transition paints the leaving slide over the arriving one, and each of
5
+ * them belongs behind its OWN layout. The viewer's "current" template is the
6
+ * active slide's, which during a transition is already the arriving slide, so
7
+ * handing it to the leaving layer repainted that slide over the next slide's
8
+ * layout: a layout background picture vanished the moment a cover began
9
+ * (issue #141, slides 1 to 2).
10
+ *
11
+ * @module render/transition-template-elements
12
+ */
13
+ import type { PptxElement, PptxSlide } from 'ooxml-core/pptx';
14
+ /** The template shapes behind each layer of a transition. */
15
+ export interface TransitionTemplateElements {
16
+ /** Behind the leaving slide: its own layout and master. */
17
+ readonly outgoing: PptxElement[];
18
+ /** Behind the arriving slide: its own layout and master. */
19
+ readonly incoming: PptxElement[];
20
+ }
21
+ type TemplateSlide = Pick<PptxSlide, 'id' | 'showMasterShapes'>;
22
+ /**
23
+ * Each transition layer's template shapes, looked up by that layer's own
24
+ * slide and filtered the way every other template render site filters them
25
+ * ("Hide Background Graphics" hides them; see `visibleTemplateElements`).
26
+ *
27
+ * @param outgoingSlide - The slide the transition leaves.
28
+ * @param incomingSlide - The slide it arrives on, when there is one.
29
+ * @param templateElementsBySlideId - The loaded template shapes, by slide id.
30
+ */
31
+ export declare function transitionTemplateElements(outgoingSlide: TemplateSlide, incomingSlide: TemplateSlide | undefined, templateElementsBySlideId: Readonly<Record<string, readonly PptxElement[]>>): TransitionTemplateElements;
32
+ export {};
33
+ //# sourceMappingURL=transition-template-elements.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transition-template-elements.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/transition-template-elements.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAI9D,6DAA6D;AAC7D,MAAM,WAAW,0BAA0B;IAC1C,2DAA2D;IAC3D,QAAQ,CAAC,QAAQ,EAAE,WAAW,EAAE,CAAC;IACjC,4DAA4D;IAC5D,QAAQ,CAAC,QAAQ,EAAE,WAAW,EAAE,CAAC;CACjC;AAED,KAAK,aAAa,GAAG,IAAI,CAAC,SAAS,EAAE,IAAI,GAAG,kBAAkB,CAAC,CAAC;AAEhE;;;;;;;;GAQG;AACH,wBAAgB,0BAA0B,CACzC,aAAa,EAAE,aAAa,EAC5B,aAAa,EAAE,aAAa,GAAG,SAAS,EACxC,yBAAyB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,SAAS,WAAW,EAAE,CAAC,CAAC,GACzE,0BAA0B,CAI5B"}
@@ -0,0 +1,36 @@
1
+ /**
2
+ * The edit methods of the imperative viewer handle, gated by the viewer's effective edit right.
3
+ *
4
+ * A host `canEdit={false}`, a read-only cloud file, Protected View, a read-only recommendation and
5
+ * `setMode('preview')` all end up as one boolean in each binding. The UI honours it by disabling
6
+ * or hiding commands, but the handle is a second way in: a host (or an AI bridge) calling
7
+ * `addSlide` or `updateElement` on a read-only deck must be refused the same way `addElement` and
8
+ * `updateElements` already refuse. Every binding wraps its handle with {@link gateViewerEdits}, so
9
+ * none can forget one of the methods.
10
+ *
11
+ * @module render/viewer-api-guard
12
+ */
13
+ import type { PowerPointViewerAPI, ViewerMode } from '../types.js';
14
+ /** The handle methods that change the document and do not check the edit right themselves. */
15
+ export declare const GATED_VIEWER_EDIT_METHODS: readonly ['addSlide', 'deleteSlides', 'duplicateSlides', 'moveSlide', 'toggleHideSlides', 'updateElement', 'deleteElements', 'duplicateElement'];
16
+ export type GatedViewerEditMethod = (typeof GATED_VIEWER_EDIT_METHODS)[number];
17
+ type GatedViewerEditApi = Pick<PowerPointViewerAPI, GatedViewerEditMethod>;
18
+ /** A deck with no slides: there is nothing to protect yet. */
19
+ export declare function isEmptyDeck(api: Pick<PowerPointViewerAPI, 'getSlideCount'>): boolean;
20
+ /**
21
+ * `api` with its edit methods turned into no-ops (`duplicateElement` returns `undefined`) while
22
+ * `canEdit()` is false. `canEdit` is read on every call, so a later editable document restores
23
+ * them without rebuilding the handle. Other members are returned untouched.
24
+ *
25
+ * One exception: `addSlide` still works on a deck with no slides at all, so a host can create the
26
+ * first slide of an empty viewer it opened read-only (host-side deck creation); every other edit,
27
+ * and `addSlide` on a deck that has slides, is refused.
28
+ */
29
+ export declare function gateViewerEdits<T extends GatedViewerEditApi & Pick<PowerPointViewerAPI, 'getSlideCount'>>(api: T, canEdit: () => boolean): T;
30
+ /**
31
+ * The mode `getMode()` reports: a viewer that may not edit is in `preview`, whatever mode was last
32
+ * requested (`present` and `master` stay as they are).
33
+ */
34
+ export declare function resolveReportedViewerMode(mode: ViewerMode, canEdit: boolean): ViewerMode;
35
+ export {};
36
+ //# sourceMappingURL=viewer-api-guard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"viewer-api-guard.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/viewer-api-guard.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,OAAO,KAAK,EAAE,mBAAmB,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAEhE,8FAA8F;AAC9F,eAAO,MAAM,yBAAyB,YACrC,UAAU,EACV,cAAc,EACd,iBAAiB,EACjB,WAAW,EACX,kBAAkB,EAClB,eAAe,EACf,gBAAgB,EAChB,kBAAkB,CACT,CAAC;AAEX,MAAM,MAAM,qBAAqB,GAAG,CAAC,OAAO,yBAAyB,CAAC,CAAC,MAAM,CAAC,CAAC;AAE/E,KAAK,kBAAkB,GAAG,IAAI,CAAC,mBAAmB,EAAE,qBAAqB,CAAC,CAAC;AAE3E,8DAA8D;AAC9D,wBAAgB,WAAW,CAAC,GAAG,EAAE,IAAI,CAAC,mBAAmB,EAAE,eAAe,CAAC,GAAG,OAAO,CAEpF;AAED;;;;;;;;GAQG;AACH,wBAAgB,eAAe,CAC9B,CAAC,SAAS,kBAAkB,GAAG,IAAI,CAAC,mBAAmB,EAAE,eAAe,CAAC,EACxE,GAAG,EAAE,CAAC,EAAE,OAAO,EAAE,MAAM,OAAO,GAAG,CAAC,CAQnC;AAED;;;GAGG;AACH,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,UAAU,CAExF"}
@@ -0,0 +1,31 @@
1
+ import { type MessageDialogHost } from '../../dialog/message-dialogs.js';
2
+ import type { Translator } from '../i18n/translator.js';
3
+ import type { ViewerOptions } from './options/viewer-options.js';
4
+ /**
5
+ * The in-app dialogs every PowerPoint binding uses instead of the browser's `alert`, `confirm`
6
+ * and `prompt`. Each takes the binding's translator (`t`) and the element the dialog should theme
7
+ * from (its viewer root); all strings are the shared `pptx.*` keys, so the five bindings ask the
8
+ * same questions in the same words.
9
+ */
10
+ export interface ViewerDialogContext {
11
+ t: Translator;
12
+ /** Viewer root (or any node inside it): the dialog mounts where the host's tokens apply. */
13
+ host?: MessageDialogHost;
14
+ }
15
+ /** The Trust Center question before an external link opens. Resolves true to follow it. */
16
+ export declare function confirmExternalHyperlinkDialog(url: string, { t, host }: ViewerDialogContext): Promise<boolean>;
17
+ /**
18
+ * Open an external link, first asking when Options > Trust Center says to. The question is
19
+ * asynchronous, so the click that started it must already have been cancelled (a link's default
20
+ * navigation is not enough); the link opens only after the user agrees.
21
+ */
22
+ export declare function openExternalHyperlinkConfirmed(options: ViewerOptions, url: string, context: ViewerDialogContext, target?: string): Promise<boolean>;
23
+ /** A destructive confirmation (delete, clear): the confirm button reads "Delete" and is red. */
24
+ export declare function confirmDeleteDialog(message: string, { t, host }: ViewerDialogContext): Promise<boolean>;
25
+ /** A plain confirmation whose confirm button reads "OK". */
26
+ export declare function confirmActionDialog(message: string, { t, host }: ViewerDialogContext): Promise<boolean>;
27
+ /** Ask for a name. Resolves the entered text, or null when the user cancels. */
28
+ export declare function promptNameDialog(message: string, defaultValue: string, { t, host }: ViewerDialogContext): Promise<string | null>;
29
+ /** Report a failed action; resolves when the user dismisses it. */
30
+ export declare function alertNoticeDialog(message: string, { t, host }: ViewerDialogContext): Promise<void>;
31
+ //# sourceMappingURL=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,CASxB;AAED,mEAAmE;AACnE,wBAAgB,iBAAiB,CAChC,OAAO,EAAE,MAAM,EACf,EAAE,CAAC,EAAE,IAAI,EAAE,EAAE,mBAAmB,GAC9B,OAAO,CAAC,IAAI,CAAC,CAOf"}
@@ -20,7 +20,8 @@ export interface ViewerHyperlinkNavigation {
20
20
  getState(): ViewerHyperlinkState;
21
21
  goToSlide(index: number): void;
22
22
  onHyperlinkClick?: HyperlinkClickHandler;
23
- confirmExternalHyperlink?(url: string): boolean;
23
+ /** Ask before an external link opens; may answer later (an in-app dialog), the link then opens on true. */
24
+ confirmExternalHyperlink?(url: string): boolean | Promise<boolean>;
24
25
  }
25
26
  /** The same marker is emitted by every binding's linked text-run renderer. */
26
27
  export declare const RUN_HYPERLINK_ATTR = "data-pptx-hyperlink";
@@ -1 +1 @@
1
- {"version":3,"file":"viewer-hyperlinks.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/viewer-hyperlinks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAc,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAU7D,0EAA0E;AAC1E,MAAM,WAAW,mBAAmB;IACnC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,wDAAwD;IACxD,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,iFAAiF;AACjF,MAAM,MAAM,qBAAqB,GAAG,CAAC,IAAI,EAAE,mBAAmB,KAAK,OAAO,GAAG,IAAI,CAAC;AAElF,MAAM,WAAW,oBAAoB;IACpC,KAAK,EAAE,SAAS,GAAG,SAAS,CAAC;IAC7B,UAAU,EAAE,MAAM,CAAC;IACnB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,QAAQ,EAAE,OAAO,CAAC;IAClB,UAAU,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,yBAAyB;IACzC,QAAQ,IAAI,oBAAoB,CAAC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AkB,EAwCtD,CAAC;AAIF,4EAA4E;AAC5E,wBAAgB,cAAc,CAAC,KAAK,EAAE,kBAAkB,EAAE,OAAO,EAAE,aAAa,GAAG,MAAM,CAExF;AAED,kFAAkF;AAClF,wBAAgB,eAAe,CAAC,KAAK,EAAE,kBAAkB,EAAE,OAAO,EAAE,aAAa,GAAG,MAAM,CAgBzF;AAED,MAAM,WAAW,kBAAkB;IAClC,OAAO,EAAE,aAAa,CAAC;IACvB,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC;IACvB,sEAAsE;IACtE,OAAO,EAAE,MAAM,CAAC;CAChB;AAED,0FAA0F;AAC1F,MAAM,WAAW,gBAAgB;IAChC,KAAK,EAAE,SAAS,MAAM,EAAE,CAAC;IACzB,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC;CAC1B;AA4CD,8FAA8F;AAC9F,wBAAgB,iBAAiB,CAChC,SAAS,EAAE,QAAQ,CAAC,MAAM,CAAC,aAAa,EAAE,gBAAgB,CAAC,CAAC,GAC1D,kBAAkB,EAAE,CAKtB"}
@@ -179,7 +179,9 @@ export declare function hasEffectDagProperties(style: ShapeStyle | undefined): b
179
179
  * @param style - The shape style.
180
180
  * @param elementId - Element ID, forwarded to the DAG duotone reference.
181
181
  */
182
- export declare function getEffectFilterCss(style: ShapeStyle | undefined, elementId?: string): string | undefined;
182
+ export declare function getEffectFilterCss(style: ShapeStyle | undefined, elementId?: string, options?: {
183
+ glow?: boolean;
184
+ }): string | undefined;
183
185
  /** Extract CSS `opacity` (0–1) from `dagAlphaModFix`, or `undefined`. */
184
186
  export declare function getEffectDagOpacity(style: ShapeStyle | undefined): number | undefined;
185
187
  /** Map `dagFillOverlayBlend` to a CSS `mix-blend-mode`, or `undefined`. */
@@ -1 +1 @@
1
- {"version":3,"file":"visual-effects.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/visual-effects.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAEH,OAAO,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DAAiD;IACjD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,sBAAsB,CAAC;IACpC,+CAA+C;IAC/C,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,WAAW,CAAC,EAAE,cAAc,CAAC;IAC7B;;;;OAIG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED;;;;;;;;GAQG;AACH;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,WAAW,GAAG,UAAU,GAAG,SAAS,CASjF;AAED,wBAAgB,sBAAsB,CACrC,OAAO,EAAE,WAAW,EACpB,OAAO,GAAE;IAAE,oBAAoB,CAAC,EAAE,OAAO,CAAA;CAAO,GAC9C,mBAAmB,CAmGrB;AAED,wEAAwE;AACxE,wBAAgB,eAAe,CAAC,OAAO,EAAE,WAAW,GAAG,OAAO,CAE7D"}
@@ -1,6 +1,6 @@
1
- export { buildSmartArtInsertPreview } from './chunk-XTC6MQYM.mjs';
2
- import './chunk-NUB6VP7R.mjs';
3
- import './chunk-WZHYA2B3.mjs';
1
+ export { buildSmartArtInsertPreview } from './chunk-C7G2CSU2.mjs';
2
+ import './chunk-OPLK7GPB.mjs';
3
+ import './chunk-DH6EKOVI.mjs';
4
4
  import './chunk-RQJOOXRG.mjs';
5
5
  import './chunk-7BHPBO2O.mjs';
6
6
  import './chunk-A63ASSCH.mjs';
@@ -20,10 +20,10 @@ import './chunk-7FXQHSPE.mjs';
20
20
  import './chunk-L55MIOBC.mjs';
21
21
  import './chunk-PMURSMHH.mjs';
22
22
  import './chunk-T7FRLIDM.mjs';
23
- import './chunk-QK6LJT3K.mjs';
23
+ import './chunk-TW5UQCZS.mjs';
24
24
  import './chunk-IB6ZM2E2.mjs';
25
25
  import './chunk-JA7WYSRE.mjs';
26
- import './chunk-BLONL4S7.mjs';
26
+ import './chunk-BA4CJI4U.mjs';
27
27
  import './chunk-2V5ATMMB.mjs';
28
28
  import './chunk-7JBQPQ6G.mjs';
29
29
  import './chunk-A62C6PSL.mjs';
@@ -32,8 +32,8 @@ import './chunk-WHUMPYEM.mjs';
32
32
  import './chunk-IXFG46KB.mjs';
33
33
  import './chunk-IEAO7N4E.mjs';
34
34
  import './chunk-XAOEDYA5.mjs';
35
- import './chunk-MK2ASJSY.mjs';
35
+ import './chunk-G4VNRJUX.mjs';
36
36
  import './chunk-AEQGGKRZ.mjs';
37
- import './chunk-WQI3NLMY.mjs';
37
+ import './chunk-SF3MYUTD.mjs';
38
38
  import './chunk-PM2SOLK3.mjs';
39
39
  import './chunk-PEDGPFLR.mjs';
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var chunkZLK243QC_cjs = require('./chunk-ZLK243QC.cjs');
4
- require('./chunk-XWAX3PZO.cjs');
5
- require('./chunk-HIRBPTML.cjs');
3
+ var chunkXTYRGVT5_cjs = require('./chunk-XTYRGVT5.cjs');
4
+ require('./chunk-RI4YZ4AG.cjs');
5
+ require('./chunk-JP26TA3Q.cjs');
6
6
  require('./chunk-XOAXPD2W.cjs');
7
7
  require('./chunk-W3X2UVYQ.cjs');
8
8
  require('./chunk-WSTWYZFM.cjs');
@@ -22,10 +22,10 @@ require('./chunk-FFWLDANS.cjs');
22
22
  require('./chunk-ZJFN5POF.cjs');
23
23
  require('./chunk-OJFD3SHS.cjs');
24
24
  require('./chunk-USBRSEJK.cjs');
25
- require('./chunk-KJICUZXM.cjs');
25
+ require('./chunk-YZWKNFPU.cjs');
26
26
  require('./chunk-FOE75Z6N.cjs');
27
27
  require('./chunk-NTXHQHCS.cjs');
28
- require('./chunk-S5VKG3XJ.cjs');
28
+ require('./chunk-CK6RYGB4.cjs');
29
29
  require('./chunk-G4WRLFMJ.cjs');
30
30
  require('./chunk-HJ3JZXOL.cjs');
31
31
  require('./chunk-73IDQGYI.cjs');
@@ -34,9 +34,9 @@ require('./chunk-EW5DW5KR.cjs');
34
34
  require('./chunk-FGKPZFLL.cjs');
35
35
  require('./chunk-UPN5FFKP.cjs');
36
36
  require('./chunk-FQUX6AUU.cjs');
37
- require('./chunk-3ESFHUZI.cjs');
37
+ require('./chunk-XZSGVMRN.cjs');
38
38
  require('./chunk-U47LRWDT.cjs');
39
- require('./chunk-CRV7G4GC.cjs');
39
+ require('./chunk-WNDGU3GQ.cjs');
40
40
  require('./chunk-3RIGT7H6.cjs');
41
41
  require('./chunk-PBZWDEXQ.cjs');
42
42
 
@@ -44,5 +44,5 @@ require('./chunk-PBZWDEXQ.cjs');
44
44
 
45
45
  Object.defineProperty(exports, "buildSmartArtInsertPreview", {
46
46
  enumerable: true,
47
- get: function () { return chunkZLK243QC_cjs.buildSmartArtInsertPreview; }
47
+ get: function () { return chunkXTYRGVT5_cjs.buildSmartArtInsertPreview; }
48
48
  });