ooxml-core 1.47.0 → 1.48.1

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 (240) hide show
  1. package/dist/PptxHandler-6UQWMUVU.cjs +14 -0
  2. package/dist/{PptxHandler-NXHZ6ITL.mjs → PptxHandler-PLSH2BAS.mjs} +2 -2
  3. package/dist/PptxHandler-QLKZVYCG.mjs +5 -0
  4. package/dist/{PresentationBuilder-URSPID7L.mjs → PresentationBuilder-3QXOJNRO.mjs} +2 -2
  5. package/dist/{PresentationBuilder-IK6NIK6T.cjs → PresentationBuilder-CRBFFHNW.cjs} +6 -6
  6. package/dist/{PresentationBuilder-LHQ333UL.mjs → PresentationBuilder-DQ3XFU4R.mjs} +3 -3
  7. package/dist/{chunk-QHR726W3.mjs → chunk-32K7JG2Z.mjs} +1 -1
  8. package/dist/{chunk-APCA7N6Q.cjs → chunk-7RCBSNXT.cjs} +3 -3
  9. package/dist/{chunk-6MU4WKHS.mjs → chunk-CXIDPUT6.mjs} +1 -1
  10. package/dist/{chunk-553WFEHD.mjs → chunk-EKEE6BTU.mjs} +638 -50
  11. package/dist/{chunk-XVEJS7HN.mjs → chunk-IKFTITJ7.mjs} +4 -4
  12. package/dist/{chunk-7L6ZAA5Y.mjs → chunk-K5G6MV37.mjs} +2 -2
  13. package/dist/{chunk-4GPLQEEC.cjs → chunk-RRA262A6.cjs} +1926 -1326
  14. package/dist/{chunk-5HNRZOBX.mjs → chunk-WAYEYX4G.mjs} +1 -1
  15. package/dist/{chunk-Z734BYYR.mjs → chunk-WLKOLTBH.mjs} +653 -53
  16. package/dist/pptx/automation/index.cjs +45094 -44442
  17. package/dist/pptx/automation/index.d.ts +5 -12
  18. package/dist/pptx/automation/index.d.ts.map +1 -1
  19. package/dist/pptx/automation/index.mjs +5 -5
  20. package/dist/pptx/automation/schemas/chart-formatting-schemas.d.ts +1 -1
  21. package/dist/pptx/automation/schemas/chart-formatting-schemas.d.ts.map +1 -1
  22. package/dist/pptx/automation/schemas/chart-schemas.d.ts +1 -1
  23. package/dist/pptx/automation/schemas/chart-schemas.d.ts.map +1 -1
  24. package/dist/pptx/automation/schemas/chart-user-shape-schemas.d.ts +1 -1
  25. package/dist/pptx/automation/schemas/chart-user-shape-schemas.d.ts.map +1 -1
  26. package/dist/pptx/automation/schemas/element-schemas.d.ts +1 -1
  27. package/dist/pptx/automation/schemas/element-schemas.d.ts.map +1 -1
  28. package/dist/pptx/automation/schemas/export-schemas.d.ts +1 -1
  29. package/dist/pptx/automation/schemas/export-schemas.d.ts.map +1 -1
  30. package/dist/pptx/automation/schemas/geometry-schemas.d.ts +1 -1
  31. package/dist/pptx/automation/schemas/geometry-schemas.d.ts.map +1 -1
  32. package/dist/pptx/automation/schemas/hyperlink-schemas.d.ts +1 -1
  33. package/dist/pptx/automation/schemas/hyperlink-schemas.d.ts.map +1 -1
  34. package/dist/pptx/automation/schemas/index.d.ts +8 -8
  35. package/dist/pptx/automation/schemas/index.d.ts.map +1 -1
  36. package/dist/pptx/automation/schemas/json-schemas.d.ts +1 -1
  37. package/dist/pptx/automation/schemas/json-schemas.d.ts.map +1 -1
  38. package/dist/pptx/automation/schemas/layout-schemas.d.ts +1 -1
  39. package/dist/pptx/automation/schemas/layout-schemas.d.ts.map +1 -1
  40. package/dist/pptx/automation/schemas/lock-schemas.d.ts +1 -1
  41. package/dist/pptx/automation/schemas/lock-schemas.d.ts.map +1 -1
  42. package/dist/pptx/automation/schemas/metadata-schemas.d.ts +1 -1
  43. package/dist/pptx/automation/schemas/metadata-schemas.d.ts.map +1 -1
  44. package/dist/pptx/automation/schemas/ole-schemas.d.ts +1 -1
  45. package/dist/pptx/automation/schemas/ole-schemas.d.ts.map +1 -1
  46. package/dist/pptx/automation/schemas/presentation-schemas.d.ts +1 -1
  47. package/dist/pptx/automation/schemas/presentation-schemas.d.ts.map +1 -1
  48. package/dist/pptx/automation/schemas/section-schemas.d.ts +1 -1
  49. package/dist/pptx/automation/schemas/section-schemas.d.ts.map +1 -1
  50. package/dist/pptx/automation/schemas/slide-schemas.d.ts +1 -1
  51. package/dist/pptx/automation/schemas/slide-schemas.d.ts.map +1 -1
  52. package/dist/pptx/automation/schemas/smartart-schemas.d.ts +1 -1
  53. package/dist/pptx/automation/schemas/smartart-schemas.d.ts.map +1 -1
  54. package/dist/pptx/automation/schemas/table-style-schemas.d.ts +1 -1
  55. package/dist/pptx/automation/schemas/table-style-schemas.d.ts.map +1 -1
  56. package/dist/pptx/automation/schemas/template-schemas.d.ts +1 -1
  57. package/dist/pptx/automation/schemas/template-schemas.d.ts.map +1 -1
  58. package/dist/pptx/automation/schemas/theme-schemas.d.ts +1 -1
  59. package/dist/pptx/automation/schemas/theme-schemas.d.ts.map +1 -1
  60. package/dist/pptx/automation/schemas/validation-schemas.d.ts +1 -1
  61. package/dist/pptx/automation/schemas/validation-schemas.d.ts.map +1 -1
  62. package/dist/pptx/chunks/color-primitives-DHyz14D9.d.ts +151 -0
  63. package/dist/pptx/chunks/color-primitives-DHyz14D9.d.ts.map +1 -0
  64. package/dist/pptx/chunks/{index--HBUyILF.d.ts → index-7tA9HqRL.d.ts} +10060 -1223
  65. package/dist/pptx/chunks/index-7tA9HqRL.d.ts.map +1 -0
  66. package/dist/pptx/chunks/{index-Dr3iIPt9.d.ts → index-CAzt1jbx.d.ts} +4 -5
  67. package/dist/pptx/chunks/index-CAzt1jbx.d.ts.map +1 -0
  68. package/dist/pptx/chunks/{schemas-LHsDbVOw.d.ts → index-CyAgQ2zG.d.ts} +6 -2
  69. package/dist/pptx/chunks/index-CyAgQ2zG.d.ts.map +1 -0
  70. package/dist/pptx/chunks/index-cJSPBkU1.d.ts +185 -0
  71. package/dist/pptx/chunks/index-cJSPBkU1.d.ts.map +1 -0
  72. package/dist/pptx/chunks/index-cr_sgz1w.d.ts +94 -0
  73. package/dist/pptx/chunks/index-cr_sgz1w.d.ts.map +1 -0
  74. package/dist/pptx/chunks/presentation-Be108jrz.d.ts +12521 -0
  75. package/dist/pptx/chunks/presentation-Be108jrz.d.ts.map +1 -0
  76. package/dist/pptx/chunks/{inspection-status-TKac7eqb.d.ts → signature-inspection-status-TKac7eqb.d.ts} +1 -1
  77. package/dist/pptx/chunks/signature-inspection-status-TKac7eqb.d.ts.map +1 -0
  78. package/dist/pptx/chunks/text-operations-a1cqBYk9.d.ts +111 -0
  79. package/dist/pptx/chunks/text-operations-a1cqBYk9.d.ts.map +1 -0
  80. package/dist/pptx/cli/index.cjs +746 -94
  81. package/dist/pptx/cli/index.d.ts +17 -1
  82. package/dist/pptx/cli/index.d.ts.map +1 -1
  83. package/dist/pptx/cli/index.mjs +4 -4
  84. package/dist/pptx/converter/index.d.ts +1 -1
  85. package/dist/pptx/converter/index.mjs +2 -2
  86. package/dist/pptx/editor/ai/table-merge.d.ts +16 -0
  87. package/dist/pptx/editor/ai/table-merge.d.ts.map +1 -1
  88. package/dist/pptx/editor/loader/element-patch-walker.d.ts +15 -0
  89. package/dist/pptx/editor/loader/element-patch-walker.d.ts.map +1 -1
  90. package/dist/pptx/editor/loader/lazy-image-resolution.d.ts +15 -0
  91. package/dist/pptx/editor/loader/lazy-image-resolution.d.ts.map +1 -1
  92. package/dist/pptx/editor/loader/load-content-helpers.d.ts +7 -0
  93. package/dist/pptx/editor/loader/load-content-helpers.d.ts.map +1 -1
  94. package/dist/pptx/editor/loader/table-style-image-paths.d.ts +20 -0
  95. package/dist/pptx/editor/loader/table-style-image-paths.d.ts.map +1 -1
  96. package/dist/pptx/editor/loader/text-fill-image-paths.d.ts +19 -0
  97. package/dist/pptx/editor/loader/text-fill-image-paths.d.ts.map +1 -1
  98. package/dist/pptx/editor/render/bullet-autonum.d.ts +14 -0
  99. package/dist/pptx/editor/render/bullet-list.d.ts +8 -0
  100. package/dist/pptx/editor/render/bullet-list.d.ts.map +1 -1
  101. package/dist/pptx/editor/render/bullet-toggle.d.ts +4 -0
  102. package/dist/pptx/editor/render/bullet-toggle.d.ts.map +1 -1
  103. package/dist/pptx/editor/render/chart-user-shape-edit.d.ts +12 -0
  104. package/dist/pptx/editor/render/chart-user-shape-edit.d.ts.map +1 -1
  105. package/dist/pptx/editor/render/clone.d.ts +20 -0
  106. package/dist/pptx/editor/render/clone.d.ts.map +1 -1
  107. package/dist/pptx/editor/render/collaboration-assets.d.ts +17 -0
  108. package/dist/pptx/editor/render/collaboration-live-patch-target.d.ts +9 -0
  109. package/dist/pptx/editor/render/collaboration-live-patch-target.d.ts.map +1 -1
  110. package/dist/pptx/editor/render/collaboration-reconcile.d.ts +21 -0
  111. package/dist/pptx/editor/render/collaboration-reconcile.d.ts.map +1 -1
  112. package/dist/pptx/editor/render/collaboration-sync.d.ts +32 -4
  113. package/dist/pptx/editor/render/collaboration-sync.d.ts.map +1 -1
  114. package/dist/pptx/editor/render/collaboration-text-codec.d.ts +33 -2
  115. package/dist/pptx/editor/render/collaboration-text-codec.d.ts.map +1 -0
  116. package/dist/pptx/editor/render/collaboration-text-merge.d.ts +36 -2
  117. package/dist/pptx/editor/render/collaboration-text-merge.d.ts.map +1 -0
  118. package/dist/pptx/editor/render/collaboration-text-native-edit.d.ts +2 -2
  119. package/dist/pptx/editor/render/collaboration-text-positions.d.ts +34 -2
  120. package/dist/pptx/editor/render/collaboration-text-positions.d.ts.map +1 -0
  121. package/dist/pptx/editor/render/collaboration-text-projection.d.ts +1 -1
  122. package/dist/pptx/editor/render/collaboration-text-session-apply.d.ts +3 -3
  123. package/dist/pptx/editor/render/collaboration-text-session-delta.d.ts +36 -2
  124. package/dist/pptx/editor/render/collaboration-text-session-delta.d.ts.map +1 -0
  125. package/dist/pptx/editor/render/collaboration-text-session-paragraph.d.ts +1 -1
  126. package/dist/pptx/editor/render/collaboration-text-session.d.ts +40 -2
  127. package/dist/pptx/editor/render/collaboration-text-session.d.ts.map +1 -0
  128. package/dist/pptx/editor/render/collaboration-text-snapshot-positions.d.ts +2 -2
  129. package/dist/pptx/editor/render/custom-show-operations.cjs +2 -2
  130. package/dist/pptx/editor/render/custom-show-operations.d.ts +14 -0
  131. package/dist/pptx/editor/render/custom-show-operations.d.ts.map +1 -1
  132. package/dist/pptx/editor/render/custom-show-operations.mjs +1 -1
  133. package/dist/pptx/editor/render/deck-save-encryption.d.ts +24 -0
  134. package/dist/pptx/editor/render/deck-save-encryption.d.ts.map +1 -1
  135. package/dist/pptx/editor/render/element-locks.d.ts +25 -0
  136. package/dist/pptx/editor/render/element-locks.d.ts.map +1 -1
  137. package/dist/pptx/editor/render/element-operations.d.ts +11 -0
  138. package/dist/pptx/editor/render/element-operations.d.ts.map +1 -1
  139. package/dist/pptx/editor/render/element.d.ts +12 -0
  140. package/dist/pptx/editor/render/element.d.ts.map +1 -1
  141. package/dist/pptx/editor/render/find-replace.cjs +15 -15
  142. package/dist/pptx/editor/render/find-replace.d.ts +8 -2
  143. package/dist/pptx/editor/render/find-replace.d.ts.map +1 -1
  144. package/dist/pptx/editor/render/find-replace.mjs +2 -2
  145. package/dist/pptx/editor/render/font-family-update.d.ts +32 -1
  146. package/dist/pptx/editor/render/font-family-update.d.ts.map +1 -1
  147. package/dist/pptx/editor/render/group-drill.d.ts +26 -0
  148. package/dist/pptx/editor/render/group-drill.d.ts.map +1 -1
  149. package/dist/pptx/editor/render/group-ops.d.ts +24 -0
  150. package/dist/pptx/editor/render/paragraph-geometry-overrides.d.ts +21 -1
  151. package/dist/pptx/editor/render/paragraph-geometry-overrides.d.ts.map +1 -1
  152. package/dist/pptx/editor/render/remap-text.d.ts +5 -0
  153. package/dist/pptx/editor/render/remap-text.d.ts.map +1 -1
  154. package/dist/pptx/editor/render/section-operations.d.ts +14 -0
  155. package/dist/pptx/editor/render/section-operations.d.ts.map +1 -1
  156. package/dist/pptx/editor/render/slide-background-patch.d.ts +15 -0
  157. package/dist/pptx/editor/render/slide-background-patch.d.ts.map +1 -1
  158. package/dist/pptx/editor/render/slide-operations.cjs +9 -9
  159. package/dist/pptx/editor/render/slide-operations.d.ts +12 -0
  160. package/dist/pptx/editor/render/slide-operations.d.ts.map +1 -1
  161. package/dist/pptx/editor/render/slide-operations.mjs +3 -3
  162. package/dist/pptx/editor/render/slide-search.d.ts +6 -0
  163. package/dist/pptx/editor/render/slide-search.d.ts.map +1 -1
  164. package/dist/pptx/editor/render/slide-size-rescale.d.ts +18 -0
  165. package/dist/pptx/editor/render/slide-size-rescale.d.ts.map +1 -1
  166. package/dist/pptx/editor/render/slide-transition-edits.d.ts +15 -0
  167. package/dist/pptx/editor/render/slide-transition-edits.d.ts.map +1 -1
  168. package/dist/pptx/editor/render/table-cell-edit.d.ts +8 -0
  169. package/dist/pptx/editor/render/table-cell-edit.d.ts.map +1 -1
  170. package/dist/pptx/editor/render/table-cell-merge.d.ts +15 -0
  171. package/dist/pptx/editor/render/table-cell-merge.d.ts.map +1 -1
  172. package/dist/pptx/editor/render/table-data-grid-ops.d.ts +26 -0
  173. package/dist/pptx/editor/render/table-data-grid-ops.d.ts.map +1 -1
  174. package/dist/pptx/editor/render/table-layout.d.ts +3 -1
  175. package/dist/pptx/editor/render/table-layout.d.ts.map +1 -1
  176. package/dist/pptx/editor/render/table-merge.d.ts +16 -0
  177. package/dist/pptx/editor/render/table-merge.d.ts.map +1 -1
  178. package/dist/pptx/editor/render/table-style-editor-descriptor.d.ts +13 -0
  179. package/dist/pptx/editor/render/table-style-editor-descriptor.d.ts.map +1 -1
  180. package/dist/pptx/editor/render/table-style-editor-edit.d.ts +13 -0
  181. package/dist/pptx/editor/render/table-style-editor-edit.d.ts.map +1 -1
  182. package/dist/pptx/editor/render/table-style-editor-parts.d.ts +10 -0
  183. package/dist/pptx/editor/render/table-style-editor-parts.d.ts.map +1 -1
  184. package/dist/pptx/editor/render/table-style-map-edits.d.ts +20 -0
  185. package/dist/pptx/editor/render/table-style-map-edits.d.ts.map +1 -1
  186. package/dist/pptx/editor/render/text-content-style.d.ts +2 -1
  187. package/dist/pptx/editor/render/text-content-style.d.ts.map +1 -1
  188. package/dist/pptx/editor/render/text-runs-style-patch.d.ts +2 -2
  189. package/dist/pptx/editor/render/text-segment-paragraph-break.d.ts +23 -0
  190. package/dist/pptx/editor/render/text-segment-paragraph-break.d.ts.map +1 -1
  191. package/dist/pptx/editor/render/text-style-scope.d.ts +20 -2
  192. package/dist/pptx/editor/render/text-style-scope.d.ts.map +1 -1
  193. package/dist/pptx/editor/render/text-theme.d.ts +11 -0
  194. package/dist/pptx/editor/render/text-theme.d.ts.map +1 -1
  195. package/dist/pptx/editor/render/theme-editor-presets.d.ts +9 -0
  196. package/dist/pptx/editor/render/theme-editor-presets.d.ts.map +1 -1
  197. package/dist/pptx/editor/render/update-text-segment-style.d.ts +2 -1
  198. package/dist/pptx/editor/render/update-text-segment-style.d.ts.map +1 -1
  199. package/dist/pptx/index.cjs +34610 -33974
  200. package/dist/pptx/index.d.ts +24 -10
  201. package/dist/pptx/index.mjs +5 -5
  202. package/dist/pptx/node/index.d.ts +17 -1
  203. package/dist/pptx/node/index.d.ts.map +1 -1
  204. package/dist/pptx/signature-node/index.d.ts +8 -1
  205. package/dist/pptx/signature-node/index.d.ts.map +1 -1
  206. package/dist/pptx/smartart-layouts/index.d.ts +8 -1
  207. package/dist/pptx/smartart-layouts/index.d.ts.map +1 -1
  208. package/dist/pptx/ui/index.d.ts +2 -0
  209. package/dist/pptx/ui/index.d.ts.map +1 -1
  210. package/package.json +8 -8
  211. package/dist/PptxHandler-JX62VKU4.cjs +0 -14
  212. package/dist/PptxHandler-SUGLNSZI.mjs +0 -5
  213. package/dist/pptx/chunks/collaboration-text-codec-1VmwD3yq.d.ts +0 -34
  214. package/dist/pptx/chunks/collaboration-text-codec-1VmwD3yq.d.ts.map +0 -1
  215. package/dist/pptx/chunks/collaboration-text-merge-B-tth-0W.d.ts +0 -19
  216. package/dist/pptx/chunks/collaboration-text-merge-B-tth-0W.d.ts.map +0 -1
  217. package/dist/pptx/chunks/collaboration-text-positions-D-1Jo1Fz.d.ts +0 -34
  218. package/dist/pptx/chunks/collaboration-text-positions-D-1Jo1Fz.d.ts.map +0 -1
  219. package/dist/pptx/chunks/collaboration-text-session-CWHTaWF4.d.ts +0 -41
  220. package/dist/pptx/chunks/collaboration-text-session-CWHTaWF4.d.ts.map +0 -1
  221. package/dist/pptx/chunks/collaboration-text-session-delta-Dxzybssp.d.ts +0 -37
  222. package/dist/pptx/chunks/collaboration-text-session-delta-Dxzybssp.d.ts.map +0 -1
  223. package/dist/pptx/chunks/elements-B4Z6N-Gz.d.ts +0 -3993
  224. package/dist/pptx/chunks/elements-B4Z6N-Gz.d.ts.map +0 -1
  225. package/dist/pptx/chunks/index--HBUyILF.d.ts.map +0 -1
  226. package/dist/pptx/chunks/index-BDVzSboe.d.ts +0 -9746
  227. package/dist/pptx/chunks/index-BDVzSboe.d.ts.map +0 -1
  228. package/dist/pptx/chunks/index-Dr3iIPt9.d.ts.map +0 -1
  229. package/dist/pptx/chunks/inspection-status-TKac7eqb.d.ts.map +0 -1
  230. package/dist/pptx/chunks/schemas-LHsDbVOw.d.ts.map +0 -1
  231. package/dist/pptx/chunks/smart-art-DB37AsFP.d.ts +0 -1817
  232. package/dist/pptx/chunks/smart-art-DB37AsFP.d.ts.map +0 -1
  233. package/dist/pptx/chunks/table-BfgZfw5R.d.ts +0 -1359
  234. package/dist/pptx/chunks/table-BfgZfw5R.d.ts.map +0 -1
  235. package/dist/pptx/chunks/text-operations-CVHXOSit.d.ts +0 -3363
  236. package/dist/pptx/chunks/text-operations-CVHXOSit.d.ts.map +0 -1
  237. package/dist/pptx/chunks/text-t_wJ2OwM.d.ts +0 -1452
  238. package/dist/pptx/chunks/text-t_wJ2OwM.d.ts.map +0 -1
  239. /package/dist/{chunk-WFN6ZU7N.cjs → chunk-HBQBS7PO.cjs} +0 -0
  240. /package/dist/{chunk-DEDK2J57.mjs → chunk-I5REMIZR.mjs} +0 -0
@@ -1,12 +1,9 @@
1
- import { r as TextSegment } from "../chunks/text-t_wJ2OwM.js";
1
+ import "../chunks/index-cr_sgz1w.js";
2
+ import { At as PptxElementWithText, Dr as PptxTableCell3D, Dt as PptxElement, Qo as PptxChartMarkerSymbol, Qt as PptxAppProperties, Tr as ParsedTableStyleText, Vo as PptxChartErrBars, _ as PptxSlide, _r as ParsedTableStyleBorders, _s as PptxChartUserShape, a as PptxData, h as PptxPresentationProperties, mc as ShapeStyle, mt as ChartPptxElement, n as PptxCustomShow, nn as PptxCoreProperties, rn as PptxCustomProperty, rt as PptxThemeColorScheme, st as PptxThemeFontScheme, wc as TextSegment, yr as ParsedTableStyleFill } from "../chunks/presentation-Be108jrz.js";
2
3
  import { t as PptxThemeColorRef } from "../chunks/color-ref-CwUQoKPJ.js";
3
- import { E as ShapeStyle, f as ParsedTableStyleText, i as ParsedTableStyleBorders, m as PptxTableCell3D, o as ParsedTableStyleFill } from "../chunks/table-BfgZfw5R.js";
4
- import { Et as PptxChartMarkerSymbol, Gt as PptxChartUserShape, _ as PptxElementWithText, ht as PptxChartErrBars, m as PptxElement, t as ChartPptxElement } from "../chunks/elements-B4Z6N-Gz.js";
5
- import { $i as TableStylePartName, bf as OlePayloadEditorKind, gf as OleSheetGrid, rf as OleNestedDeckSlideDetail } from "../chunks/index--HBUyILF.js";
6
- import { C as PptxSlide, Tt as PptxCustomProperty, bt as PptxAppProperties, c as PptxCustomShow, d as PptxData, lt as PptxThemeColorScheme, pt as PptxThemeFontScheme, wt as PptxCoreProperties, x as PptxPresentationProperties } from "../chunks/text-operations-CVHXOSit.js";
7
- import { A as PresentationDiff, bt as ChartAxisEdit, un as PptxHandlerSaveOptions } from "../chunks/index-BDVzSboe.js";
8
- import { C as PptxJsonAssetStats } from "../chunks/index-Dr3iIPt9.js";
9
- import { d as ZodType, g as $ZodTypeInternals, h as $ZodShape, m as output, s as ZodObject } from "../chunks/schemas-LHsDbVOw.js";
4
+ import { Cg as OlePayloadEditorKind, Fn as PresentationDiff, Vo as TableStylePartName, ds as PptxHandlerSaveOptions, og as OleNestedDeckSlideDetail, to as ChartAxisEdit, yg as OleSheetGrid } from "../chunks/index-7tA9HqRL.js";
5
+ import { h as output, l as ZodObject, n as ZodTypeAny, t as ZodRawShape } from "../chunks/index-CyAgQ2zG.js";
6
+ import { C as PptxJsonAssetStats } from "../chunks/index-CAzt1jbx.js";
10
7
  import { Doc, Text } from "yjs";
11
8
  declare namespace types_d_exports {
12
9
  export { CollaborationProvider, ExecutionContext, FileSystemProvider, PptxData, PptxElement, PptxSlide, TableStyleSaveOptions, ToolContext, ToolResult, ViewerProvider };
@@ -1471,10 +1468,6 @@ interface AutomationEditResult {
1471
1468
  bytes?: Uint8Array | undefined;
1472
1469
  }
1473
1470
  type AutomationTool = AutomationReadTool | AutomationCreateTool | AutomationEditTool;
1474
- /** @deprecated Use z.ZodType (without generics) instead. */
1475
- type ZodTypeAny<Output = unknown, Input = unknown, Internals extends $ZodTypeInternals<Output, Input> = $ZodTypeInternals<Output, Input>> = ZodType<Output, Input, Internals>;
1476
- /** Included for Zod 3 compatibility */
1477
- type ZodRawShape = $ZodShape;
1478
1471
  /** Decks the tools read: PowerPoint files and legacy `.ppt`, which the core converts on load. */
1479
1472
  export declare const DECK_READ_EXTENSIONS: readonly string[];
1480
1473
  /** Edits save PresentationML, so they only write `.pptx`. */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":["YDoc","core.$ZodTypeInternals","core.$ZodShape","z.ZodRawShape","z.ZodTypeAny","z.ZodObject","z.infer","YDoc","YText"],"sources":["../../../pptx/automation/types.ts","../../../pptx/automation/tools/slide-tools.ts","../../../pptx/automation/tools/helpers.ts","../../../pptx/automation/tools/element-tools.ts","../../../pptx/automation/tools/table-tools.ts","../../../pptx/automation/tools/table-style-tools.ts","../../../pptx/automation/tools/style-tools.ts","../../../pptx/automation/tools/content-tools.ts","../../../pptx/automation/tools/conversion-tools.ts","../../../pptx/automation/tools/theme-tools.ts","../../../pptx/automation/tools/chart-tools.ts","../../../pptx/automation/tools/chart-formatting-tools.ts","../../../pptx/automation/tools/chart-user-shape-tools.ts","../../../pptx/automation/tools/smartart-tools.ts","../../../pptx/automation/tools/merge-tools.ts","../../../pptx/automation/tools/template-tools.ts","../../../pptx/automation/tools/metadata-tools.ts","../../../pptx/automation/tools/custom-show-tools.ts","../../../pptx/automation/tools/section-tools.ts","../../../pptx/automation/tools/export-tools.ts","../../../pptx/automation/tools/json-tools.ts","../../../pptx/automation/tools/hyperlink-tools.ts","../../../pptx/automation/tools/geometry-tools.ts","../../../pptx/automation/tools/lock-tools.ts","../../../pptx/automation/tools/validation-tools.ts","../../../pptx/automation/tools/presentation-tools.ts","../../../pptx/automation/tools/layout-tools.ts","../../../pptx/automation/tools/ole-tools.ts","../../../pptx/automation/execution.ts","../../../automation/tools/types.ts","../../../../../node_modules/.bun/zod@4.6.7/node_modules/zod/v4/classic/compat.d.cts","../../../pptx/automation/catalogue/deck-tool.ts","../../../pptx/automation/catalogue/index.ts","../../../pptx/automation/tools/chart-pareto.ts","../../../pptx/automation/tools/text-editing.ts","../../../pptx/automation/codec/pptx-codec.ts","../../../pptx/automation/codec/text-body-codec.ts","../../../pptx/automation/codec/index.ts"],"ignoreList":[30],"mappings":";;;;;;;;;;;;;;;;;iBAaiB;;EAEhB,UAAU;;EAEV,gBAAgB,iBAAiB,QAAQ;;EAEzC,gBAAgB,iBAAiB,QAAQ;;;iBAIzB;;EAEhB;;EAEA;;EAEA,cAAc;;KAGV,kBAAkB,wBAAwB,KAAK;;;;;iBAMnC,WAAW;;EAE3B,UAAU;;EAEV,QAAQ;;EAER;;;;;;EAMA,cAAc;;;;;;iBAWE;;EAEhB,QAAQ;IAAqB,MAAMA;;;EAEnC,SAAS;IACR,QAAQ,MAAMA,KAAM,OAAO,YAAY,kBAAkB;IACzD,UAAU,MAAMA,MAAO,QAAQ;;;EAGhC,YAAY;;;;;;;iBAQI;EAChB,SAAS,eAAe,QAAQ;EAChC,UAAU,cAAc,MAAM,aAAa;;;;;;iBAO3B;EAChB,eACC,kBACA,OAAO,YACP;IAAW;IAAoB;;EAEhC,SAAS,mBAAmB;;;;;iBAMZ;;EAEhB,YAA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a;;wBAGE,iBACf,KAAK,aACL,QAAQ,yBACN,WAAW;UA8BG;EAChB;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;wBAGe,kBACf,KAAK,aACL,QAAQ,0BACN;EAAa,aAAa;;UAsCZ;EAChB;EACA;;wBAGe,iBACf,KAAK,aACL,QAAQ,yBACN;EAAa,YAAY;;;;;UCnHX;EAChB;EACA;EACA;EACA;EACA;EACA;IAAW;IAAgB;;EAC3B;IACC;IACA;IACA;IACA;IACA;;EAED;IAAS;IAAc,MAAM;;EAC7B;;wBAGe,YACf,KAAK,aACL,QAAQ,oBACN;EAAa;;UA+CC;EAChB;EACA;EACA;EACA;EACA;;wBAGe,gBACf,KAAK,aACL,QAAQ,uBACN;EAAa;EAAmB;;UA4BlB;EAChB;EACA;EACA;;wBAGe,mBACf,KAAK,aACL,QAAQ,0BACN;EAAa;EAAmB;;UA4BlB;EAChB;EACA;EACA;EACA;;wBAGe,sBACf,KAAK,aACL,QAAQ,8BACN;EAAa;;UAuBC;EAChB;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,SAAS;IAAQ;IAAc;IAAkB;;EACjD;IAAW;IAAe;;;UAGV;EAChB;EACA;;wBAGe,YACf,KAAK,aACL,QAAQ,oBACN,WAAW;;;;UC5KG;EAChB;EACA;EACA;EACA;;EAEA;EACA;EACA;EACA;;EAEA;;EAEA;EACA;IAAW,SAAS;IAAuB;IAAe;;;wBAG3C,qBACf,KAAK,aACL,QAAQ,6BACN;EAAa;;UA4BC;EAChB;EACA;EACA;EACA;;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;;EAEA;;EAEA;IACC;IACA;IACA;IACA;;;EAGD;IACC;IACA;IACA;IACA;IACA;;;wBAIc,qBACf,KAAK,aACL,QAAQ,6BACN;EAAa;;UAsBC;EAChB;EACA;EACA;EACA;IACC,SAAS;IACT;IACA;IACA;IACA;IACA;;EAED;IACC;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAED,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B,QAAQ;EAC1D,UAAU,MAAMA,KAAM;;;;;;;;;;;;;;;;;cAoBV,qBAAmB;cAQnB,mBAAmB;cAWnB,mBAAiB;cAOjB,yBAAyB;cAWzB,qBAAqB;WACxB;WACA;EAEH,QAAQ,MAAMA,KAAM,OAAO,YAAY,kBAAkB;EA+BzD,UAAU,MAAMA,KAAM,yBAAyB,QAAQ;EA2B7D,QAAQ,MAAMA,KAAM;UAWZ;UAqBA;UA6BA;UAsBA;;;;;;iBC9IO,sBAAsB,qBAAqB,OAAOC;;iBAsBlD,wBAAwB,OAAOA,OAAQ"}
1
+ {"version":3,"file":"index.d.ts","names":["YDoc","z.ZodRawShape","z.ZodTypeAny","z.ZodObject","z.infer","YDoc","YText"],"sources":["../../../pptx/automation/types.ts","../../../pptx/automation/tools/slide-tools.ts","../../../pptx/automation/tools/helpers.ts","../../../pptx/automation/tools/element-tools.ts","../../../pptx/automation/tools/table-tools.ts","../../../pptx/automation/tools/table-style-tools.ts","../../../pptx/automation/tools/style-tools.ts","../../../pptx/automation/tools/content-tools.ts","../../../pptx/automation/tools/conversion-tools.ts","../../../pptx/automation/tools/theme-tools.ts","../../../pptx/automation/tools/chart-tools.ts","../../../pptx/automation/tools/chart-formatting-tools.ts","../../../pptx/automation/tools/chart-user-shape-tools.ts","../../../pptx/automation/tools/smartart-tools.ts","../../../pptx/automation/tools/merge-tools.ts","../../../pptx/automation/tools/template-tools.ts","../../../pptx/automation/tools/metadata-tools.ts","../../../pptx/automation/tools/custom-show-tools.ts","../../../pptx/automation/tools/section-tools.ts","../../../pptx/automation/tools/export-tools.ts","../../../pptx/automation/tools/json-tools.ts","../../../pptx/automation/tools/hyperlink-tools.ts","../../../pptx/automation/tools/geometry-tools.ts","../../../pptx/automation/tools/lock-tools.ts","../../../pptx/automation/tools/validation-tools.ts","../../../pptx/automation/tools/presentation-tools.ts","../../../pptx/automation/tools/layout-tools.ts","../../../pptx/automation/tools/ole-tools.ts","../../../pptx/automation/execution.ts","../../../automation/tools/types.ts","../../../pptx/automation/catalogue/deck-tool.ts","../../../pptx/automation/catalogue/index.ts","../../../pptx/automation/tools/chart-pareto.ts","../../../pptx/automation/tools/text-editing.ts","../../../pptx/automation/codec/pptx-codec.ts","../../../pptx/automation/codec/text-body-codec.ts"],"mappings":";;;;;;;;;;;;;;iBAaiB;;EAEhB,UAAU;;EAEV,gBAAgB,iBAAiB,QAAQ;;EAEzC,gBAAgB,iBAAiB,QAAQ;;;iBAIzB;;EAEhB;;EAEA;;EAEA,cAAc;;KAGV,kBAAkB,wBAAwB,KAAK;;;;;iBAMnC,WAAW;;EAE3B,UAAU;;EAEV,QAAQ;;EAER;;;;;;EAMA,cAAc;;;;;;iBAWE;;EAEhB,QAAQ;IAAqB,MAAMA;;;EAEnC,SAAS;IACR,QAAQ,MAAMA,KAAM,OAAO,YAAY,kBAAkB;IACzD,UAAU,MAAMA,MAAO,QAAQ;;;EAGhC,YAAY;;;;;;;iBAQI;EAChB,SAAS,eAAe,QAAQ;EAChC,UAAU,cAAc,MAAM,aAAa;;;;;;iBAO3B;EAChB,eACC,kBACA,OAAO,YACP;IAAW;IAAoB;;EAEhC,SAAS,mBAAmB;;;;;iBAMZ;;EAEhB,YAAY;;EAEZ,gBAAgB;;EAEhB,SAAS;;EAET;;;;;UCnGgB;EAChB;EACA;EACA;EACA;EACA;EACA;EACA;EACA,UAAU;;wBAGK,SACf,KAAK,aACL;EAAU;IACR,WAAW;UAuBG;EAChB;EACA;;UAGgB;EAChB;EACA;;wBAGe,SAAS,KAAK,aAAa,QAAQ,iBAAiB,WAAW;UA2B9D;EAChB;;UAGgB;EAChB;EACA;;wBAGe,aACf,KAAK,aACL,QAAQ,qBACN,WAAW;UA4BG;EAChB;;wBAGe,cACf,KAAK,aACL,QAAQ,sBACN;EAAa;;UA2BC;EAChB;EACA;;wBAGe,eACf,KAAK,aACL,QAAQ,uBACN;EAAa;EAAuB;;UAyBtB;EAChB;EACA;EACA;EACA;EACA;EACA;;wBAGe,sBACf,KAAK,aACL,QAAQ,8BACN;EAAa;;UA8BC;EAChB;EACA;EACA;EACA;EACA;EACA;;wBAGe,mBACf,KAAK,aACL,QAAQ,2BACN;EAAa;EAAoB;;UAmCnB;EAChB;EACA;;wBAGe,cACf,KAAK,aACL,QAAQ,sBACN;EAAa;EAAqB;;;;;wBC3RrB;wBAIA;;wBAKA,gBAAgB,IAAI,cAAc;;wBAwGlC,iBAAiB,OAAO;;wBA0BxB,mBAAmB,oBAAoB;;;;UClHtC;EAChB;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EAEA;EACA;EAEA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;;UAGgB;EAChB;EACA;;wBAGe,WACf,KAAK,aACL,QAAQ,mBACN,WAAW;UAmKG;EAChB;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,eAAe;EACf;EACA;EACA;;;;;;;EAOA,iBAAiB;EACjB;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;EAEA;;EAEA;;wBAGe,cACf,KAAK,aACL,QAAQ,sBACN;EAAa;;UA2HC;EAChB;EACA;;EAEA;;wBAGe,cACf,KAAK,aACL,QAAQ,sBACN;EAAa;EAAmB;;UA4BlB;EAChB;EACA;;wBAGe,eACf,KAAK,aACL,QAAQ,uBACN;EAAa;;UA0BC;EAChB;EACA;EAEA;EACA;EAEA;EACA;;wBAGe,gBACf,KAAK,aACL,QAAQ,wBACN;EAAa;;UA6GC;EAChB;EACA;EACA;EACA;EACA;;UAGgB;EAChB;;wBAGe,aACf,KAAK,aACL,QAAQ,qBACN,WAAW;UA6CG;EAChB;EACA;EACA;EACA;EACA;EACA;EACA;;wBAGe,oBACf,KAAK,aACL,QAAQ,4BACN;EAAa;;UAsDC;EAChB;EACA;;UAGgB;EAChB;;wBAGe,cACf,KAAK,aACL,QAAQ,sBACN,WAAW;UAmCG;EAChB;EACA;;UAGgB;EAChB;;wB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AQ;;;;;;UAOd,2BAA2B;WAClC;EACT,IAAI,OAAO,YAAY,kBAAkB,QAAQ;;UAGjC;;EAEhB,QAAQ;;KAGG,iBAAiB,qBAAqB,uBAAuB;;qBClD5D;;qBAEA;KAER,YAAYC;EAAkB,UAAUC;;KACxC,WAAW,UAAU,aAAaE,OAAQD,UAAY,KAAK;;;;;;wBAOhD,SAAS,UAAU,WAClC,uBACA,cACA,qBACA,QAAQA,UAAY,IACpB,KAAK,KAAK,aAAa,QAAQ,WAAW,OAAO,aAAa,QAAQ,aACtE;EAAW;IACT;;;;;;qBCfU,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;iBC2BjB,0BAA0B,OAAO,kBAAkB;;;;iBCenD,eAAe,SAAS,qBAAqB;iBAyB7C,mBACf,SAAS,qBACT,OAAO,QACP;;;;cC7EY;;;;;;;;;;;;;;;;UAiBI;WACP;WACA;EACT,UAAU,MAAME,KAAM,OAAO,YAAY,oBAAoB;EAC7D,YAAY,MAAMA,KAAM,0BAA0B,QAAQ;EAC1D,UAAU,MAAMA,KAAM;;;;;;;;;;;;;;;;;cAoBV,qBAAmB;cAQnB,mBAAmB;cAWnB,mBAAiB;cAOjB,yBAAyB;cAWzB,qBAAqB;WACxB;WACA;EAEH,QAAQ,MAAMA,KAAM,OAAO,YAAY,kBAAkB;EA+BzD,UAAU,MAAMA,KAAM,yBAAyB,QAAQ;EA2B7D,QAAQ,MAAMA,KAAM;UAWZ;UAqBA;UA6BA;UAsBA;;;;;;iBC9IO,sBAAsB,qBAAqB,OAAOC;;iBAsBlD,wBAAwB,OAAOA,OAAQ"}
@@ -1,9 +1,9 @@
1
- import { duplicateSlide, emuToPixels, ThemePresets, getThemePreset, ChartBuilder, setChartDataPointStyle, setChartHelperLine, setChartColorMapOverride, listChartUserShapes, addChartUserShape, updateChartUserShape, removeChartUserShape, diffPresentations, findPlaceholders, applyTemplate, getSectionForSlide, moveSlidesToSection, reorderSections, removeSection, addSection, replaceWithCustomGeometry, replaceShapeGeometry, setElementLocked } from '../../chunk-XVEJS7HN.mjs';
1
+ import { duplicateSlide, emuToPixels, ThemePresets, getThemePreset, ChartBuilder, setChartDataPointStyle, setChartHelperLine, setChartColorMapOverride, listChartUserShapes, addChartUserShape, updateChartUserShape, removeChartUserShape, diffPresentations, findPlaceholders, applyTemplate, getSectionForSlide, moveSlidesToSection, reorderSections, removeSection, addSection, replaceWithCustomGeometry, replaceShapeGeometry, setElementLocked } from '../../chunk-IKFTITJ7.mjs';
2
2
  import '../../chunk-6Q7TP72Y.mjs';
3
- import { mergePresentation } from '../../chunk-QHR726W3.mjs';
4
- import { PptxMarkdownConverter } from '../../chunk-5HNRZOBX.mjs';
5
- import { rebuildTableStructureInRawXml, TABLE_STYLE_PART_SEQUENCE, normalizeTableStyleGuid, createTableStyleEntry, addTableStyleToMap, deleteTableStyleFromMap, setChartType, setChartTitle, setChartGrouping, setChartLegend, setChartDataLabels, setChartAxis, setChartCategories, addChartSeries, removeChartSeries, updateChartSeriesValues, setChartDataPointExplosion, setChartDataPointMarker, setChartDataPointLabel, setChartSeriesMarker, setChartSeriesTrendline, setChartSeriesErrorBars, findLayoutByName, findLayoutByType, PptxHandler } from '../../chunk-553WFEHD.mjs';
6
- import { hasTextProperties, resolveDisplayedChartTypeName, isTemplateElementId, makeStoreAwareId, reassignDescendantIds, groupElements, ungroupElements, decomposeSmartArt, demoteSmartArtNode, promoteSmartArtNode, reorderSmartArtNode, updateSmartArtNodeText, removeSmartArtNode, addSmartArtNode, SvgExporter, buildPptxJsonDocument, deserializePptxFromJson, applyImportedPptxData, validatePptx, repairPptx, resolveOleEditorKindFromPayload, getOleNestedDeckDetail, getOleDocumentParagraphs, getOleSheetGrid, applyOleSheetCellEdit, applyOleDocumentParagraphEdit, applyOleNestedDeckElementTextEdit, setOleObjectName, parseDataUrlToBytes, replaceOleFile, ELEMENT_FIELD_KIND, SLIDE_FIELD_KIND, EMU_PER_POINT, mapCustomShowActions } from '../../chunk-7L6ZAA5Y.mjs';
3
+ import { mergePresentation } from '../../chunk-32K7JG2Z.mjs';
4
+ import { PptxMarkdownConverter } from '../../chunk-WAYEYX4G.mjs';
5
+ import { rebuildTableStructureInRawXml, TABLE_STYLE_PART_SEQUENCE, normalizeTableStyleGuid, createTableStyleEntry, addTableStyleToMap, deleteTableStyleFromMap, setChartType, setChartTitle, setChartGrouping, setChartLegend, setChartDataLabels, setChartAxis, setChartCategories, addChartSeries, removeChartSeries, updateChartSeriesValues, setChartDataPointExplosion, setChartDataPointMarker, setChartDataPointLabel, setChartSeriesMarker, setChartSeriesTrendline, setChartSeriesErrorBars, findLayoutByName, findLayoutByType, PptxHandler } from '../../chunk-EKEE6BTU.mjs';
6
+ import { hasTextProperties, resolveDisplayedChartTypeName, isTemplateElementId, makeStoreAwareId, reassignDescendantIds, groupElements, ungroupElements, decomposeSmartArt, demoteSmartArtNode, promoteSmartArtNode, reorderSmartArtNode, updateSmartArtNodeText, removeSmartArtNode, addSmartArtNode, SvgExporter, buildPptxJsonDocument, deserializePptxFromJson, applyImportedPptxData, validatePptx, repairPptx, resolveOleEditorKindFromPayload, getOleNestedDeckDetail, getOleDocumentParagraphs, getOleSheetGrid, applyOleSheetCellEdit, applyOleDocumentParagraphEdit, applyOleNestedDeckElementTextEdit, setOleObjectName, parseDataUrlToBytes, replaceOleFile, ELEMENT_FIELD_KIND, SLIDE_FIELD_KIND, EMU_PER_POINT, mapCustomShowActions } from '../../chunk-K5G6MV37.mjs';
7
7
  import '../../chunk-EYCM7RVL.mjs';
8
8
  import '../../chunk-2N7RZQLC.mjs';
9
9
  import { cloneElement } from '../../chunk-VDUNZTJC.mjs';
@@ -1,4 +1,4 @@
1
- import { a as ZodNullable, c as ZodOptional, i as ZodEnum, l as ZodRecord, n as ZodArray, o as ZodNumber, r as ZodBoolean, s as ZodObject, u as ZodString, v as $strip } from "../../chunks/schemas-LHsDbVOw.js";
1
+ import { _ as $strip, a as ZodBoolean, c as ZodNumber, d as ZodRecord, f as ZodString, i as ZodArray, l as ZodObject, o as ZodEnum, s as ZodNullable, u as ZodOptional } from "../../chunks/index-CyAgQ2zG.js";
2
2
  export declare const FormatChartDataPointSchema: ZodObject<{
3
3
  filePath: ZodString;
4
4
  slideIndex: ZodNumber;
@@ -1 +1 @@
1
- {"version":3,"file":"chart-formatting-schemas.d.ts","names":["z.ZodString","z.ZodNumber","z.ZodOptional","z.ZodBoolean","z.ZodNullable","z.ZodEnum","z.core.$strip","z.ZodObject","z.ZodArray","z.ZodRecord"],"sources":["../../../../pptx/automation/schemas/chart-formatting-schemas.ts"],"mappings":";qBA6Ba,4BAA0BO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BrCD;qBAEW,4BAA0BC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCrCD;qBAEW,yBAAuBC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsDlCD;qBAEW,0BAAwBC;;;;;;;;;;;;;GAanCD;qBAEW,gCAA8BC;;;;;GAUzCD"}
1
+ {"version":3,"file":"chart-formatting-schemas.d.ts","names":["z.core.$strip","z.ZodObject"],"sources":["../../../../pptx/automation/schemas/chart-formatting-schemas.ts"],"mappings":";qBA6Ba,4BAA0BC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BrCD;qBAEW,4BAA0BC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCrCD;qBAEW,yBAAuBC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsDlCD;qBAEW,0BAAwBC;;;;;;;;;;;;;GAanCD;qBAEW,gCAA8BC;;;;;GAUzCD"}
@@ -1,4 +1,4 @@
1
- import { a as ZodNullable, c as ZodOptional, i as ZodEnum, n as ZodArray, o as ZodNumber, r as ZodBoolean, s as ZodObject, u as ZodString, v as $strip } from "../../chunks/schemas-LHsDbVOw.js";
1
+ import { _ as $strip, a as ZodBoolean, c as ZodNumber, f as ZodString, i as ZodArray, l as ZodObject, o as ZodEnum, s as ZodNullable, u as ZodOptional } from "../../chunks/index-CyAgQ2zG.js";
2
2
  export declare const UpdateChartSchema: ZodObject<{
3
3
  filePath: ZodString;
4
4
  slideIndex: ZodNumber;
@@ -1 +1 @@
1
- {"version":3,"file":"chart-schemas.d.ts","names":["z.ZodString","z.ZodNumber","z.ZodOptional","z.ZodEnum","z.ZodBoolean","z.core.$strip","z.ZodObject","z.ZodNullable","z.ZodArray"],"sources":["../../../../pptx/automation/schemas/chart-schemas.ts"],"mappings":";qBAEa,mBAAiBM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgD5BD;qBAEW,sBAAoBC;;;;;;;GAO/BD;qBAEW,yBAAuBC;;;;;GAKlCD;qBAEW,6BAA2BC;;;;;;GAMtCD;qBAEW,mBAAiBC;;;;;;;;;;;;;;;;;;;GA+B5BD"}
1
+ {"version":3,"file":"chart-schemas.d.ts","names":["z.core.$strip","z.ZodObject"],"sources":["../../../../pptx/automation/schemas/chart-schemas.ts"],"mappings":";qBAEa,mBAAiBC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgD5BD;qBAEW,sBAAoBC;;;;;;;GAO/BD;qBAEW,yBAAuBC;;;;;GAKlCD;qBAEW,6BAA2BC;;;;;;GAMtCD;qBAEW,mBAAiBC;;;;;;;;;;;;;;;;;;;GA+B5BD"}
@@ -1,4 +1,4 @@
1
- import { c as ZodOptional, i as ZodEnum, o as ZodNumber, s as ZodObject, u as ZodString, v as $strip } from "../../chunks/schemas-LHsDbVOw.js";
1
+ import { _ as $strip, c as ZodNumber, f as ZodString, l as ZodObject, o as ZodEnum, u as ZodOptional } from "../../chunks/index-CyAgQ2zG.js";
2
2
  export declare const ListChartUserShapesSchema: ZodObject<{
3
3
  filePath: ZodString;
4
4
  slideIndex: ZodNumber;
@@ -1 +1 @@
1
- {"version":3,"file":"chart-user-shape-schemas.d.ts","names":["z.ZodString","z.ZodNumber","z.core.$strip","z.ZodObject","z.ZodEnum","z.ZodOptional"],"sources":["../../../../pptx/automation/schemas/chart-user-shape-schemas.ts"],"mappings":";qBA+Ba,2BAAyBG;;;;GAIpCD;qBAEW,yBAAuBC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAKlCD;qBAEW,4BAA0BC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAYrCD;qBAEW,4BAA0BC;;;;;GAKrCD"}
1
+ {"version":3,"file":"chart-user-shape-schemas.d.ts","names":["z.core.$strip","z.ZodObject"],"sources":["../../../../pptx/automation/schemas/chart-user-shape-schemas.ts"],"mappings":";qBA+Ba,2BAAyBC;;;;GAIpCD;qBAEW,yBAAuBC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAKlCD;qBAEW,4BAA0BC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAYrCD;qBAEW,4BAA0BC;;;;;GAKrCD"}
@@ -1,4 +1,4 @@
1
- import { _ as $loose, c as ZodOptional, i as ZodEnum, l as ZodRecord, n as ZodArray, o as ZodNumber, r as ZodBoolean, s as ZodObject, t as ZodAny, u as ZodString, v as $strip } from "../../chunks/schemas-LHsDbVOw.js";
1
+ import { _ as $strip, a as ZodBoolean, c as ZodNumber, d as ZodRecord, f as ZodString, g as $loose, i as ZodArray, l as ZodObject, o as ZodEnum, r as ZodAny, u as ZodOptional } from "../../chunks/index-CyAgQ2zG.js";
2
2
  export declare const AddElementSchema: ZodObject<{
3
3
  filePath: ZodString;
4
4
  slideIndex: ZodNumber;
@@ -1 +1 @@
1
- {"version":3,"file":"element-schemas.d.ts","names":["z.ZodString","z.ZodNumber","z.ZodEnum","z.ZodOptional","z.ZodBoolean","z.ZodArray","z.core.$strip","z.ZodObject","z.ZodAny","z.ZodRecord","z.core.$loose"],"sources":["../../../../pptx/automation/schemas/element-schemas.ts"],"mappings":";qBAoCa,kBAAgBO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8B3BD;qBAEW,qBAAmBC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuD9BD;qBAEW,qBAAmBC;;;;;GAK9BD;qBAEW,sBAAoBC;;;;GAI/BD;qBAEW,uBAAqBC;;;;;;;;;;;;;;;;;;;;;;;GAQhCD;qBAEW,oBAAkBC;;;;;;;GAO7BD;qBAEW,2BAAyBC;;;;;;;;;GASpCD;qBAEW,qBAAmBC;;;;GAI9BD;qBAEW,uBAAqBC;;;;GAIhCD;qBAEW,2BAAyBC;;;;;;;;;;;GAWpCD"}
1
+ {"version":3,"file":"element-schemas.d.ts","names":["z.core.$strip","z.ZodObject"],"sources":["../../../../pptx/automation/schemas/element-schemas.ts"],"mappings":";qBAoCa,kBAAgBC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8B3BD;qBAEW,qBAAmBC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuD9BD;qBAEW,qBAAmBC;;;;;GAK9BD;qBAEW,sBAAoBC;;;;GAI/BD;qBAEW,uBAAqBC;;;;;;;;;;;;;;;;;;;;;;;GAQhCD;qBAEW,oBAAkBC;;;;;;;GAO7BD;qBAEW,2BAAyBC;;;;;;;;;GASpCD;qBAEW,qBAAmBC;;;;GAI9BD;qBAEW,uBAAqBC;;;;GAIhCD;qBAEW,2BAAyBC;;;;;;;;;;;GAWpCD"}
@@ -1,4 +1,4 @@
1
- import { c as ZodOptional, n as ZodArray, o as ZodNumber, r as ZodBoolean, s as ZodObject, u as ZodString, v as $strip } from "../../chunks/schemas-LHsDbVOw.js";
1
+ import { _ as $strip, a as ZodBoolean, c as ZodNumber, f as ZodString, i as ZodArray, l as ZodObject, u as ZodOptional } from "../../chunks/index-CyAgQ2zG.js";
2
2
  export declare const ExportToSvgSchema: ZodObject<{
3
3
  filePath: ZodString;
4
4
  slideIndices: ZodOptional<ZodArray<ZodNumber>>;
@@ -1 +1 @@
1
- {"version":3,"file":"export-schemas.d.ts","names":["z.ZodString","z.ZodNumber","z.ZodArray","z.ZodOptional","z.ZodBoolean","z.core.$strip","z.ZodObject"],"sources":["../../../../pptx/automation/schemas/export-schemas.ts"],"mappings":";qBAEa,mBAAiBM;;;;;;GAS5BD;qBAEW,sBAAoBC;;;;;GAK/BD"}
1
+ {"version":3,"file":"export-schemas.d.ts","names":["z.core.$strip","z.ZodObject"],"sources":["../../../../pptx/automation/schemas/export-schemas.ts"],"mappings":";qBAEa,mBAAiBC;;;;;;GAS5BD;qBAEW,sBAAoBC;;;;;GAK/BD"}
@@ -1,4 +1,4 @@
1
- import { c as ZodOptional, l as ZodRecord, o as ZodNumber, s as ZodObject, u as ZodString, v as $strip } from "../../chunks/schemas-LHsDbVOw.js";
1
+ import { _ as $strip, c as ZodNumber, d as ZodRecord, f as ZodString, l as ZodObject, u as ZodOptional } from "../../chunks/index-CyAgQ2zG.js";
2
2
  export declare const ReplaceGeometrySchema: ZodObject<{
3
3
  filePath: ZodString;
4
4
  slideIndex: ZodNumber;
@@ -1 +1 @@
1
- {"version":3,"file":"geometry-schemas.d.ts","names":["z.ZodString","z.ZodNumber","z.ZodOptional","z.ZodRecord","z.core.$strip","z.ZodObject"],"sources":["../../../../pptx/automation/schemas/geometry-schemas.ts"],"mappings":";qBAEa,uBAAqBK;;;;;;;;;GAehCD"}
1
+ {"version":3,"file":"geometry-schemas.d.ts","names":["z.core.$strip","z.ZodObject"],"sources":["../../../../pptx/automation/schemas/geometry-schemas.ts"],"mappings":";qBAEa,uBAAqBC;;;;;;;;;GAehCD"}
@@ -1,4 +1,4 @@
1
- import { c as ZodOptional, i as ZodEnum, o as ZodNumber, s as ZodObject, u as ZodString, v as $strip } from "../../chunks/schemas-LHsDbVOw.js";
1
+ import { _ as $strip, c as ZodNumber, f as ZodString, l as ZodObject, o as ZodEnum, u as ZodOptional } from "../../chunks/index-CyAgQ2zG.js";
2
2
  export declare const ManageHyperlinksSchema: ZodObject<{
3
3
  filePath: ZodString;
4
4
  slideIndex: ZodNumber;
@@ -1 +1 @@
1
- {"version":3,"file":"hyperlink-schemas.d.ts","names":["z.ZodString","z.ZodNumber","z.ZodEnum","z.ZodOptional","z.core.$strip","z.ZodObject"],"sources":["../../../../pptx/automation/schemas/hyperlink-schemas.ts"],"mappings":";qBAEa,wBAAsBK;;;;;;;;;;;;;;;;;;;;;;;;;GAkBjCD"}
1
+ {"version":3,"file":"hyperlink-schemas.d.ts","names":["z.core.$strip","z.ZodObject"],"sources":["../../../../pptx/automation/schemas/hyperlink-schemas.ts"],"mappings":";qBAEa,wBAAsBC;;;;;;;;;;;;;;;;;;;;;;;;;GAkBjCD"}
@@ -1,19 +1,19 @@
1
- import { c as ZodOptional, i as ZodEnum, n as ZodArray, o as ZodNumber, s as ZodObject, u as ZodString, v as $strip } from "../../chunks/schemas-LHsDbVOw.js";
2
- import { FormatChartDataLabelSchema, FormatChartDataPointSchema, FormatChartSeriesSchema, SetChartColorMapOverrideSchema, SetChartHelperLineSchema } from "./chart-formatting-schemas.js";
3
- import { AddChartSeriesSchema, CreateChartSchema, RemoveChartSeriesSchema, UpdateChartSchema, UpdateChartSeriesDataSchema } from "./chart-schemas.js";
4
- import { AddChartUserShapeSchema, ListChartUserShapesSchema, RemoveChartUserShapeSchema, UpdateChartUserShapeSchema } from "./chart-user-shape-schemas.js";
5
- import { AddElementSchema, ArrangeElementsSchema, BatchUpdateElementsSchema, CloneElementSchema, DeleteElementsSchema, GroupElementsSchema, RenameElementSchema, SetElementAnimationSchema, UngroupElementsSchema, UpdateElementSchema } from "./element-schemas.js";
6
- import { ExportSlideSvgSchema, ExportToSvgSchema } from "./export-schemas.js";
7
- import { ReplaceGeometrySchema } from "./geometry-schemas.js";
8
- import { ManageHyperlinksSchema } from "./hyperlink-schemas.js";
9
1
  import { AccessibilityCheckSchema, AddSlideSchema, ConvertToMarkdownSchema, DeleteSlidesSchema, DuplicateSlideSchema, GetSlideSchema, ReorderSlidesSchema, SetCanvasSizeSchema, SetSlideTransitionSchema, UpdateSlidePropertiesSchema } from "./slide-schemas.js";
2
+ import { AddElementSchema, ArrangeElementsSchema, BatchUpdateElementsSchema, CloneElementSchema, DeleteElementsSchema, GroupElementsSchema, RenameElementSchema, SetElementAnimationSchema, UngroupElementsSchema, UpdateElementSchema } from "./element-schemas.js";
10
3
  import { AssignTableStyleSchema, CreateTableStyleSchema, DeleteTableStyleSchema, FindTextSchema, ManageCommentsSchema, ManageTableStructureSchema, ReplaceTextSchema, SetTableStyleSectionSchema, TABLE_STYLE_SECTIONS, TableStyleBordersSchema, TableStyleCell3DSchema, TableStyleFillSchema, TableStyleTextSchema, UpdateElementStyleSchema, UpdateTableCellsSchema } from "./table-style-schemas.js";
11
4
  import { ApplyThemePresetSchema, GetThemeInfoSchema, UpdateThemeColorsSchema, UpdateThemeFontsSchema } from "./theme-schemas.js";
5
+ import { FormatChartDataLabelSchema, FormatChartDataPointSchema, FormatChartSeriesSchema, SetChartColorMapOverrideSchema, SetChartHelperLineSchema } from "./chart-formatting-schemas.js";
6
+ import { AddChartSeriesSchema, CreateChartSchema, RemoveChartSeriesSchema, UpdateChartSchema, UpdateChartSeriesDataSchema } from "./chart-schemas.js";
7
+ import { AddChartUserShapeSchema, ListChartUserShapesSchema, RemoveChartUserShapeSchema, UpdateChartUserShapeSchema } from "./chart-user-shape-schemas.js";
12
8
  import { ManageSmartArtSchema } from "./smartart-schemas.js";
13
9
  import { ApplyTemplateSchema, FindPlaceholdersSchema } from "./template-schemas.js";
14
10
  import { GetMetadataSchema, UpdateMetadataSchema } from "./metadata-schemas.js";
15
11
  import { ManageSectionsSchema } from "./section-schemas.js";
12
+ import { _ as $strip, c as ZodNumber, f as ZodString, i as ZodArray, l as ZodObject, o as ZodEnum, u as ZodOptional } from "../../chunks/index-CyAgQ2zG.js";
13
+ import { ExportSlideSvgSchema, ExportToSvgSchema } from "./export-schemas.js";
16
14
  import { ExportToJsonSchema, ImportFromJsonSchema } from "./json-schemas.js";
15
+ import { ManageHyperlinksSchema } from "./hyperlink-schemas.js";
16
+ import { ReplaceGeometrySchema } from "./geometry-schemas.js";
17
17
  import { SetElementLockSchema } from "./lock-schemas.js";
18
18
  import { RepairPresentationSchema, ValidatePresentationSchema } from "./validation-schemas.js";
19
19
  import { GetPresentationPropertiesSchema, UpdatePresentationPropertiesSchema } from "./presentation-schemas.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":["z.ZodString","z.ZodEnum","z.ZodOptional","z.ZodNumber","z.ZodArray","z.core.$strip","z.ZodObject"],"sources":["../../../../pptx/automation/schemas/custom-show-schemas.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;qBAEa,yBAAuBM;;;;;;;;;;;;;;;;;;;;GAsClCD"}
1
+ {"version":3,"file":"index.d.ts","names":["z.core.$strip","z.ZodObject"],"sources":["../../../../pptx/automation/schemas/custom-show-schemas.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;qBAEa,yBAAuBC;;;;;;;;;;;;;;;;;;;;GAsClCD"}
@@ -1,4 +1,4 @@
1
- import { c as ZodOptional, r as ZodBoolean, s as ZodObject, u as ZodString, v as $strip } from "../../chunks/schemas-LHsDbVOw.js";
1
+ import { _ as $strip, a as ZodBoolean, f as ZodString, l as ZodObject, u as ZodOptional } from "../../chunks/index-CyAgQ2zG.js";
2
2
  export declare const ExportToJsonSchema: ZodObject<{
3
3
  filePath: ZodString;
4
4
  pretty: ZodOptional<ZodBoolean>;
@@ -1 +1 @@
1
- {"version":3,"file":"json-schemas.d.ts","names":["z.ZodString","z.ZodBoolean","z.ZodOptional","z.core.$strip","z.ZodObject"],"sources":["../../../../pptx/automation/schemas/json-schemas.ts"],"mappings":";qBAEa,oBAAkBI;;;GAM7BD;qBAEW,sBAAoBC;;;GAK/BD"}
1
+ {"version":3,"file":"json-schemas.d.ts","names":["z.core.$strip","z.ZodObject"],"sources":["../../../../pptx/automation/schemas/json-schemas.ts"],"mappings":";qBAEa,oBAAkBC;;;GAM7BD;qBAEW,sBAAoBC;;;GAK/BD"}
@@ -1,4 +1,4 @@
1
- import { c as ZodOptional, o as ZodNumber, s as ZodObject, u as ZodString, v as $strip } from "../../chunks/schemas-LHsDbVOw.js";
1
+ import { _ as $strip, c as ZodNumber, f as ZodString, l as ZodObject, u as ZodOptional } from "../../chunks/index-CyAgQ2zG.js";
2
2
  export declare const GetLayoutsSchema: ZodObject<{
3
3
  filePath: ZodString;
4
4
  }, $strip>;
@@ -1 +1 @@
1
- {"version":3,"file":"layout-schemas.d.ts","names":["z.ZodString","z.core.$strip","z.ZodObject","z.ZodNumber","z.ZodOptional"],"sources":["../../../../pptx/automation/schemas/layout-schemas.ts"],"mappings":";qBAEa,kBAAgBE;;GAE3BD;qBAEW,mBAAiBC;;;;;GAK5BD"}
1
+ {"version":3,"file":"layout-schemas.d.ts","names":["z.core.$strip","z.ZodObject"],"sources":["../../../../pptx/automation/schemas/layout-schemas.ts"],"mappings":";qBAEa,kBAAgBC;;GAE3BD;qBAEW,mBAAiBC;;;;;GAK5BD"}
@@ -1,4 +1,4 @@
1
- import { c as ZodOptional, o as ZodNumber, r as ZodBoolean, s as ZodObject, u as ZodString, v as $strip } from "../../chunks/schemas-LHsDbVOw.js";
1
+ import { _ as $strip, a as ZodBoolean, c as ZodNumber, f as ZodString, l as ZodObject, u as ZodOptional } from "../../chunks/index-CyAgQ2zG.js";
2
2
  export declare const SetElementLockSchema: ZodObject<{
3
3
  filePath: ZodString;
4
4
  slideIndex: ZodNumber;
@@ -1 +1 @@
1
- {"version":3,"file":"lock-schemas.d.ts","names":["z.ZodString","z.ZodNumber","z.ZodBoolean","z.ZodOptional","z.core.$strip","z.ZodObject"],"sources":["../../../../pptx/automation/schemas/lock-schemas.ts"],"mappings":";qBAEa,sBAAoBK;;;;;;;;;;GAU/BD"}
1
+ {"version":3,"file":"lock-schemas.d.ts","names":["z.core.$strip","z.ZodObject"],"sources":["../../../../pptx/automation/schemas/lock-schemas.ts"],"mappings":";qBAEa,sBAAoBC;;;;;;;;;;GAU/BD"}
@@ -1,4 +1,4 @@
1
- import { c as ZodOptional, f as ZodUnion, n as ZodArray, o as ZodNumber, r as ZodBoolean, s as ZodObject, u as ZodString, v as $strip } from "../../chunks/schemas-LHsDbVOw.js";
1
+ import { _ as $strip, a as ZodBoolean, c as ZodNumber, f as ZodString, i as ZodArray, l as ZodObject, p as ZodUnion, u as ZodOptional } from "../../chunks/index-CyAgQ2zG.js";
2
2
  export declare const GetMetadataSchema: ZodObject<{
3
3
  filePath: ZodString;
4
4
  }, $strip>;
@@ -1 +1 @@
1
- {"version":3,"file":"metadata-schemas.d.ts","names":["z.ZodString","z.core.$strip","z.ZodObject","z.ZodOptional","z.ZodNumber","z.ZodBoolean","z.ZodUnion","z.ZodArray"],"sources":["../../../../pptx/automation/schemas/metadata-schemas.ts"],"mappings":";qBAEa,mBAAiBE;;GAE5BD;qBAEW,sBAAoBC;;;;;;;;;;;;;;;GAoB/BD"}
1
+ {"version":3,"file":"metadata-schemas.d.ts","names":["z.core.$strip","z.ZodObject"],"sources":["../../../../pptx/automation/schemas/metadata-schemas.ts"],"mappings":";qBAEa,mBAAiBC;;GAE5BD;qBAEW,sBAAoBC;;;;;;;;;;;;;;;GAoB/BD"}
@@ -1,4 +1,4 @@
1
- import { c as ZodOptional, o as ZodNumber, s as ZodObject, u as ZodString, v as $strip } from "../../chunks/schemas-LHsDbVOw.js";
1
+ import { _ as $strip, c as ZodNumber, f as ZodString, l as ZodObject, u as ZodOptional } from "../../chunks/index-CyAgQ2zG.js";
2
2
  export declare const GetOleContentSchema: ZodObject<{
3
3
  filePath: ZodString;
4
4
  slideIndex: ZodNumber;
@@ -1 +1 @@
1
- {"version":3,"file":"ole-schemas.d.ts","names":["z.ZodString","z.ZodNumber","z.core.$strip","z.ZodObject","z.ZodOptional"],"sources":["../../../../pptx/automation/schemas/ole-schemas.ts"],"mappings":";qBAEa,qBAAmBG;;;;GAI9BD;qBAEW,uBAAqBC;;;;;;;GAOhCD;qBAEW,+BAA6BC;;;;;;GAMxCD;qBAEW,4BAA0BC;;;;;;;GAWrCD;qBAEW,sBAAoBC;;;;;;GAW/BD;qBAEW,wBAAsBC;;;;;GAKjCD"}
1
+ {"version":3,"file":"ole-schemas.d.ts","names":["z.core.$strip","z.ZodObject"],"sources":["../../../../pptx/automation/schemas/ole-schemas.ts"],"mappings":";qBAEa,qBAAmBC;;;;GAI9BD;qBAEW,uBAAqBC;;;;;;;GAOhCD;qBAEW,+BAA6BC;;;;;;GAMxCD;qBAEW,4BAA0BC;;;;;;;GAWrCD;qBAEW,sBAAoBC;;;;;;GAW/BD;qBAEW,wBAAsBC;;;;;GAKjCD"}
@@ -1,4 +1,4 @@
1
- import { c as ZodOptional, i as ZodEnum, o as ZodNumber, r as ZodBoolean, s as ZodObject, u as ZodString, v as $strip } from "../../chunks/schemas-LHsDbVOw.js";
1
+ import { _ as $strip, a as ZodBoolean, c as ZodNumber, f as ZodString, l as ZodObject, o as ZodEnum, u as ZodOptional } from "../../chunks/index-CyAgQ2zG.js";
2
2
  export declare const GetPresentationPropertiesSchema: ZodObject<{
3
3
  filePath: ZodString;
4
4
  }, $strip>;
@@ -1 +1 @@
1
- {"version":3,"file":"presentation-schemas.d.ts","names":["z.ZodString","z.core.$strip","z.ZodObject","z.ZodEnum","z.ZodOptional","z.ZodBoolean","z.ZodNumber"],"sources":["../../../../pptx/automation/schemas/presentation-schemas.ts"],"mappings":";qBAEa,iCAA+BE;;GAE1CD;qBAEW,oCAAkCC;;;;;;;;;;;;;;;;;;;;;;;GAmB7CD"}
1
+ {"version":3,"file":"presentation-schemas.d.ts","names":["z.core.$strip","z.ZodObject"],"sources":["../../../../pptx/automation/schemas/presentation-schemas.ts"],"mappings":";qBAEa,iCAA+BC;;GAE1CD;qBAEW,oCAAkCC;;;;;;;;;;;;;;;;;;;;;;;GAmB7CD"}
@@ -1,4 +1,4 @@
1
- import { c as ZodOptional, i as ZodEnum, n as ZodArray, o as ZodNumber, s as ZodObject, u as ZodString, v as $strip } from "../../chunks/schemas-LHsDbVOw.js";
1
+ import { _ as $strip, c as ZodNumber, f as ZodString, i as ZodArray, l as ZodObject, o as ZodEnum, u as ZodOptional } from "../../chunks/index-CyAgQ2zG.js";
2
2
  export declare const ManageSectionsSchema: ZodObject<{
3
3
  filePath: ZodString;
4
4
  action: ZodEnum<{
@@ -1 +1 @@
1
- {"version":3,"file":"section-schemas.d.ts","names":["z.ZodString","z.ZodEnum","z.ZodOptional","z.ZodNumber","z.ZodArray","z.core.$strip","z.ZodObject"],"sources":["../../../../pptx/automation/schemas/section-schemas.ts"],"mappings":";qBAEa,sBAAoBM;;;;;;;;;;;;;;;GAa/BD"}
1
+ {"version":3,"file":"section-schemas.d.ts","names":["z.core.$strip","z.ZodObject"],"sources":["../../../../pptx/automation/schemas/section-schemas.ts"],"mappings":";qBAEa,sBAAoBC;;;;;;;;;;;;;;;GAa/BD"}
@@ -1,4 +1,4 @@
1
- import { c as ZodOptional, n as ZodArray, o as ZodNumber, r as ZodBoolean, s as ZodObject, u as ZodString, v as $strip } from "../../chunks/schemas-LHsDbVOw.js";
1
+ import { _ as $strip, a as ZodBoolean, c as ZodNumber, f as ZodString, i as ZodArray, l as ZodObject, u as ZodOptional } from "../../chunks/index-CyAgQ2zG.js";
2
2
  export declare const GetSlideSchema: ZodObject<{
3
3
  filePath: ZodString;
4
4
  slideIndex: ZodNumber;
@@ -1 +1 @@
1
- {"version":3,"file":"slide-schemas.d.ts","names":["z.ZodString","z.ZodNumber","z.core.$strip","z.ZodObject","z.ZodOptional","z.ZodArray","z.ZodBoolean"],"sources":["../../../../pptx/automation/schemas/slide-schemas.ts"],"mappings":";qBAEa,gBAAcG;;;GAGzBD;qBAEW,gBAAcC;;;;GAIzBD;qBAEW,oBAAkBC;;;GAG7BD;qBAEW,qBAAmBC;;;GAG9BD;qBAEW,sBAAoBC;;;;GAI/BD;qBAEW,6BAA2BC;;;;;;;;GAQtCD;qBAEW,0BAAwBC;;;;;;;;GAQnCD;qBAEW,qBAAmBC;;;;GAI9BD;qBAEW,yBAAuBC;;;;;;;;;;;GAclCD;qBAEW,0BAAwBC;;GAEnCD"}
1
+ {"version":3,"file":"slide-schemas.d.ts","names":["z.core.$strip","z.ZodObject"],"sources":["../../../../pptx/automation/schemas/slide-schemas.ts"],"mappings":";qBAEa,gBAAcC;;;GAGzBD;qBAEW,gBAAcC;;;;GAIzBD;qBAEW,oBAAkBC;;;GAG7BD;qBAEW,qBAAmBC;;;GAG9BD;qBAEW,sBAAoBC;;;;GAI/BD;qBAEW,6BAA2BC;;;;;;;;GAQtCD;qBAEW,0BAAwBC;;;;;;;;GAQnCD;qBAEW,qBAAmBC;;;;GAI9BD;qBAEW,yBAAuBC;;;;;;;;;;;GAclCD;qBAEW,0BAAwBC;;GAEnCD"}
@@ -1,4 +1,4 @@
1
- import { c as ZodOptional, i as ZodEnum, o as ZodNumber, s as ZodObject, u as ZodString, v as $strip } from "../../chunks/schemas-LHsDbVOw.js";
1
+ import { _ as $strip, c as ZodNumber, f as ZodString, l as ZodObject, o as ZodEnum, u as ZodOptional } from "../../chunks/index-CyAgQ2zG.js";
2
2
  export declare const ManageSmartArtSchema: ZodObject<{
3
3
  filePath: ZodString;
4
4
  slideIndex: ZodNumber;
@@ -1 +1 @@
1
- {"version":3,"file":"smartart-schemas.d.ts","names":["z.ZodString","z.ZodNumber","z.ZodEnum","z.ZodOptional","z.core.$strip","z.ZodObject"],"sources":["../../../../pptx/automation/schemas/smartart-schemas.ts"],"mappings":";qBAEa,sBAAoBK;;;;;;;;;;;;;;;;;;GAoB/BD"}
1
+ {"version":3,"file":"smartart-schemas.d.ts","names":["z.core.$strip","z.ZodObject"],"sources":["../../../../pptx/automation/schemas/smartart-schemas.ts"],"mappings":";qBAEa,sBAAoBC;;;;;;;;;;;;;;;;;;GAoB/BD"}
@@ -1,4 +1,4 @@
1
- import { c as ZodOptional, i as ZodEnum, n as ZodArray, o as ZodNumber, r as ZodBoolean, s as ZodObject, u as ZodString, v as $strip } from "../../chunks/schemas-LHsDbVOw.js";
1
+ import { _ as $strip, a as ZodBoolean, c as ZodNumber, f as ZodString, i as ZodArray, l as ZodObject, o as ZodEnum, u as ZodOptional } from "../../chunks/index-CyAgQ2zG.js";
2
2
  export declare const UpdateTableCellsSchema: ZodObject<{
3
3
  filePath: ZodString;
4
4
  slideIndex: ZodNumber;
@@ -1 +1 @@
1
- {"version":3,"file":"table-style-schemas.d.ts","names":["z.ZodString","z.ZodNumber","z.core.$strip","z.ZodObject","z.ZodArray","z.ZodEnum","z.ZodOptional","z.ZodBoolean"],"sources":["../../../../pptx/automation/schemas/table-style-schemas.ts"],"mappings":";qBAoCa,wBAAsBG;;;;;;;;;GAcjCD;qBAEW,4BAA0BC;;;;;;;;;;;;;GAQrCD;qBAEW,0BAAwBC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4DnCD;qBAGW,gBAAcC;;;;;;GASzBD;qBAEW,mBAAiBC;;;;;;;GAO5BD;qBAEW,sBAAoBC;;;;;;;;;;;;;;GAS/BD;qBAKW;qBAyBA,sBAAoBC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqB/BD;qBAEW,sBAAoBC;;;;;;;;;;GAU/BD;qBAUW,yBAAuBC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GASlCD;qBAEW,wBAAsBC;;;;;;;GAOjCD;qBAEW,4BAA0BC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GASrCD;qBAEW,wBAAsBC;;;;;GAWjCD;qBAEW,wBAAsBC;;;;GAOjCD;qBAEW,wBAAsBC;;;;;;;;;;;GAgBjCD"}
1
+ {"version":3,"file":"table-style-schemas.d.ts","names":["z.core.$strip","z.ZodObject"],"sources":["../../../../pptx/automation/schemas/table-style-schemas.ts"],"mappings":";qBAoCa,wBAAsBC;;;;;;;;;GAcjCD;qBAEW,4BAA0BC;;;;;;;;;;;;;GAQrCD;qBAEW,0BAAwBC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4DnCD;qBAGW,gBAAcC;;;;;;GASzBD;qBAEW,mBAAiBC;;;;;;;GAO5BD;qBAEW,sBAAoBC;;;;;;;;;;;;;;GAS/BD;qBAKW;qBAyBA,sBAAoBC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqB/BD;qBAEW,sBAAoBC;;;;;;;;;;GAU/BD;qBAUW,yBAAuBC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GASlCD;qBAEW,wBAAsBC;;;;;;;GAOjCD;qBAEW,4BAA0BC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GASrCD;qBAEW,wBAAsBC;;;;;GAWjCD;qBAEW,wBAAsBC;;;;GAOjCD;qBAEW,wBAAsBC;;;;;;;;;;;GAgBjCD"}
@@ -1,4 +1,4 @@
1
- import { l as ZodRecord, p as ZodUnknown, s as ZodObject, u as ZodString, v as $strip } from "../../chunks/schemas-LHsDbVOw.js";
1
+ import { _ as $strip, d as ZodRecord, f as ZodString, l as ZodObject, m as ZodUnknown } from "../../chunks/index-CyAgQ2zG.js";
2
2
  export declare const FindPlaceholdersSchema: ZodObject<{
3
3
  filePath: ZodString;
4
4
  }, $strip>;
@@ -1 +1 @@
1
- {"version":3,"file":"template-schemas.d.ts","names":["z.ZodString","z.core.$strip","z.ZodObject","z.ZodUnknown","z.ZodRecord"],"sources":["../../../../pptx/automation/schemas/template-schemas.ts"],"mappings":";qBAEa,wBAAsBE;;GAEjCD;qBAEW,qBAAmBC;;;GAK9BD"}
1
+ {"version":3,"file":"template-schemas.d.ts","names":["z.core.$strip","z.ZodObject"],"sources":["../../../../pptx/automation/schemas/template-schemas.ts"],"mappings":";qBAEa,wBAAsBC;;GAEjCD;qBAEW,qBAAmBC;;;GAK9BD"}
@@ -1,4 +1,4 @@
1
- import { c as ZodOptional, s as ZodObject, u as ZodString, v as $strip } from "../../chunks/schemas-LHsDbVOw.js";
1
+ import { _ as $strip, f as ZodString, l as ZodObject, u as ZodOptional } from "../../chunks/index-CyAgQ2zG.js";
2
2
  export declare const GetThemeInfoSchema: ZodObject<{
3
3
  filePath: ZodString;
4
4
  }, $strip>;
@@ -1 +1 @@
1
- {"version":3,"file":"theme-schemas.d.ts","names":["z.ZodString","z.core.$strip","z.ZodObject","z.ZodOptional"],"sources":["../../../../pptx/automation/schemas/theme-schemas.ts"],"mappings":";qBAEa,oBAAkBE;;GAE7BD;qBAEW,wBAAsBC;;;GAOjCD;qBAEW,yBAAuBC;;;;;;;;;;;;;;GAclCD;qBAEW,wBAAsBC;;;;GAIjCD"}
1
+ {"version":3,"file":"theme-schemas.d.ts","names":["z.core.$strip","z.ZodObject"],"sources":["../../../../pptx/automation/schemas/theme-schemas.ts"],"mappings":";qBAEa,oBAAkBC;;GAE7BD;qBAEW,wBAAsBC;;;GAOjCD;qBAEW,yBAAuBC;;;;;;;;;;;;;;GAclCD;qBAEW,wBAAsBC;;;;GAIjCD"}
@@ -1,4 +1,4 @@
1
- import { s as ZodObject, u as ZodString, v as $strip } from "../../chunks/schemas-LHsDbVOw.js";
1
+ import { _ as $strip, f as ZodString, l as ZodObject } from "../../chunks/index-CyAgQ2zG.js";
2
2
  export declare const ValidatePresentationSchema: ZodObject<{
3
3
  filePath: ZodString;
4
4
  }, $strip>;
@@ -1 +1 @@
1
- {"version":3,"file":"validation-schemas.d.ts","names":["z.ZodString","z.core.$strip","z.ZodObject"],"sources":["../../../../pptx/automation/schemas/validation-schemas.ts"],"mappings":";qBAEa,4BAA0BE;;GAErCD;qBAEW,0BAAwBC;;GAEnCD"}
1
+ {"version":3,"file":"validation-schemas.d.ts","names":["z.core.$strip","z.ZodObject"],"sources":["../../../../pptx/automation/schemas/validation-schemas.ts"],"mappings":";qBAEa,4BAA0BC;;GAErCD;qBAEW,0BAAwBC;;GAEnCD"}
@@ -0,0 +1,151 @@
1
+ /**
2
+ * Low-level colour primitives: hex/rgb conversion, clamping,
3
+ * HSL conversion, and OOXML percent/fraction/angle parsers.
4
+ *
5
+ * These are the foundational colour operations used throughout the PPTX
6
+ * editor. Higher-level colour parsing (from OOXML colour-choice nodes)
7
+ * lives in `./color-utils.ts`; transforms in `./color-transforms.ts`.
8
+ *
9
+ * @module color-primitives
10
+ */
11
+ /**
12
+ * Clamp a numeric value to the [0, 1] interval.
13
+ *
14
+ * Used extensively when converting OOXML percentage values to normalised
15
+ * fractions for opacity, saturation, luminance, etc.
16
+ *
17
+ * @param value - The number to clamp.
18
+ * @returns The value clamped to [0, 1].
19
+ */
20
+ declare function clampUnitInterval(value: number): number;
21
+ /**
22
+ * Normalise a hex colour string, ensuring it starts with `#` and
23
+ * contains exactly 6 hex digits. Returns the fallback colour when
24
+ * the input is missing, `"transparent"`, or malformed.
25
+ *
26
+ * @param value - Raw colour string (with or without leading `#`).
27
+ * @param fallback - Colour to return when `value` is invalid. Defaults to `"#111827"` (dark grey).
28
+ * @returns A valid `#RRGGBB` hex colour string.
29
+ */
30
+ declare function normalizeHexColor(value: string | undefined, fallback?: string): string;
31
+ /**
32
+ * Parse a `#RRGGBB` (or `RRGGBB`) hex colour into its individual
33
+ * red, green, and blue channels (0-255 each).
34
+ *
35
+ * @param color - Hex colour string.
36
+ * @returns An object with `r`, `g`, `b` channels, or `null` if the string is invalid.
37
+ */
38
+ declare function hexToRgbChannels(color: string): {
39
+ r: number;
40
+ g: number;
41
+ b: number;
42
+ } | null;
43
+ /**
44
+ * Convert a hex colour to an `rgba()` CSS colour string with the
45
+ * given opacity. If `opacity` is `undefined`, the original hex
46
+ * string is returned unchanged.
47
+ *
48
+ * @param color - A `#RRGGBB` hex colour string.
49
+ * @param opacity - Opacity value in [0, 1], or `undefined` for full opacity.
50
+ * @returns A CSS colour string (either the original hex or an `rgba(...)` string).
51
+ */
52
+ declare function colorWithOpacity(color: string, opacity: number | undefined): string;
53
+ /**
54
+ * Parse an OOXML percentage value in either lexical form and return it as an
55
+ * unclamped fraction, without assuming a scale from the caller's context.
56
+ *
57
+ * @param value - Raw attribute value from XML (string or number).
58
+ * @returns Fraction (1 = 100%), or `undefined` if unparseable.
59
+ */
60
+ declare function parseOoxmlPercent(value: unknown): number | undefined;
61
+ /**
62
+ * Parse an OOXML percentage value and return it as a normalised
63
+ * fraction in [0, 1]. Both the transitional thousandths form (`50000`)
64
+ * and the strict literal form (`50%`) are accepted.
65
+ *
66
+ * The result is clamped to [0, 1]; use {@link parseDrawingFraction}
67
+ * when unclamped values are needed (e.g. `lumMod` > 100%).
68
+ *
69
+ * @param value - Raw attribute value from XML (string or number).
70
+ * @returns Normalised fraction in [0, 1], or `undefined` if unparseable.
71
+ */
72
+ declare function parseDrawingPercent(value: unknown): number | undefined;
73
+ /**
74
+ * Convert a numeric colour channel value (0-255) to a two-character
75
+ * uppercase hex string. Values outside [0, 255] are clamped.
76
+ *
77
+ * @param value - Colour channel value.
78
+ * @returns Two-character uppercase hex string (e.g. `"0A"`, `"FF"`).
79
+ */
80
+ declare function toHex(value: number): string;
81
+ /**
82
+ * Represents a colour in the HSL (Hue, Saturation, Lightness) colour space.
83
+ */
84
+ interface HslColor {
85
+ /** Hue in degrees [0, 360). */
86
+ h: number;
87
+ /** Saturation [0, 1]. */
88
+ s: number;
89
+ /** Lightness [0, 1]. */
90
+ l: number;
91
+ }
92
+ /**
93
+ * Convert an RGB colour (each channel 0-255) to HSL.
94
+ *
95
+ * Uses the standard algorithm:
96
+ * 1. Normalise RGB channels to [0, 1].
97
+ * 2. Find min/max channels and their delta.
98
+ * 3. Lightness = average of min and max.
99
+ * 4. Saturation depends on lightness and delta.
100
+ * 5. Hue is derived from which channel is dominant.
101
+ *
102
+ * @param r - Red channel (0-255).
103
+ * @param g - Green channel (0-255).
104
+ * @param b - Blue channel (0-255).
105
+ * @returns HSL colour with h in [0, 360), s and l in [0, 1].
106
+ */
107
+ declare function rgbToHsl(r: number, g: number, b: number): HslColor;
108
+ /**
109
+ * Convert an HSL colour back to RGB (each channel 0-255).
110
+ *
111
+ * Uses the standard HSL-to-RGB algorithm with chroma, secondary
112
+ * component, and match value. The hue determines which 60-degree
113
+ * sector of the colour wheel the colour falls in.
114
+ *
115
+ * @param h - Hue in degrees (will be normalised to [0, 360)).
116
+ * @param s - Saturation in [0, 1].
117
+ * @param l - Lightness in [0, 1].
118
+ * @returns An object with `r`, `g`, `b` channels (0-255 each).
119
+ */
120
+ declare function hslToRgb(h: number, s: number, l: number, roundChannel?: (value: number) => number, options?: {
121
+ clampSaturation?: boolean;
122
+ }): {
123
+ r: number;
124
+ g: number;
125
+ b: number;
126
+ };
127
+ /**
128
+ * Parse an OOXML percentage value as a fraction.
129
+ * Unlike {@link parseDrawingPercent}, this does **not** clamp to [0, 1],
130
+ * allowing mod values above 100 % and negative offset values.
131
+ *
132
+ * This is needed for colour transforms like `lumMod` (which can exceed
133
+ * 100%) and `satOff` / `lumOff` (which can be negative).
134
+ *
135
+ * @param value - Raw attribute value from XML.
136
+ * @returns Unclamped fraction, or `undefined` if unparseable.
137
+ */
138
+ declare function parseDrawingFraction(value: unknown): number | undefined;
139
+ /**
140
+ * Parse an OOXML angle value given in 60 000ths of a degree and return
141
+ * the result in degrees (e.g. `5400000` becomes `90`).
142
+ *
143
+ * OOXML stores angles as positive integers in 60 000ths of a degree
144
+ * to avoid floating-point issues in the XML representation.
145
+ *
146
+ * @param value - Raw attribute value from XML.
147
+ * @returns Angle in degrees, or `undefined` if unparseable.
148
+ */
149
+ declare function parseDrawingHueDegrees(value: unknown): number | undefined;
150
+ export { hslToRgb as a, parseDrawingHueDegrees as c, rgbToHsl as d, toHex as f, hexToRgbChannels as i, parseDrawingPercent as l, clampUnitInterval as n, normalizeHexColor as o, colorWithOpacity as r, parseDrawingFraction as s, HslColor as t, parseOoxmlPercent as u };
151
+ //# sourceMappingURL=color-primitives-DHyz14D9.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"color-primitives-DHyz14D9.d.ts","names":[],"sources":["../../../color/color-primitives.ts"],"mappings":";;;;;;;;;;;;;;;;;;;iBAwBgB,kBAAkB;;;;;;;;;;iBAalB,kBAAkB,2BAA2B;;;;;;;;iBAgB7C,iBAAiB;EAAkB;EAAW;EAAW;;;;;;;;;;;iBAsBzD,iBAAiB,eAAe;;;;;;;;iBA0EhC,kBAAkB;;;;;;;;;;;;iBAqBlB,oBAAoB;;;;;;;;iBAwCpB,MAAM;;;;UAcL;;EAEhB;;EAEA;;EAEA;;;;;;;;;;;;;;;;;iBAkBe,SAAS,WAAW,WAAW,YAAY;;;;;;;;;;;;;iBAkD3C,SACf,WACA,WACA,WACA,gBAAe,0BACf;EAAY;;EACR;EAAW;EAAW;;;;;;;;;;;;;iBAmEX,qBAAqB;;;;;;;;;;;iBAcrB,uBAAuB"}