pptx-vue-viewer 3.7.0 → 3.9.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 (207) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/dist/{AiChatPanel-CGDR-wqY.cjs → AiChatPanel-CKirQ0AC.cjs} +1 -1
  3. package/dist/AiChatPanel-CKirQ0AC.cjs.br +0 -0
  4. package/dist/AiChatPanel-CKirQ0AC.cjs.gz +0 -0
  5. package/dist/{AiChatPanel-XndiOIcU.js → AiChatPanel-CY_Dp6hm.js} +2 -2
  6. package/dist/AiChatPanel-CY_Dp6hm.js.br +0 -0
  7. package/dist/AiChatPanel-CY_Dp6hm.js.gz +0 -0
  8. package/dist/{dist-AONF-8Jh.js → dist-C-nE-IV9.js} +17946 -13462
  9. package/dist/dist-C-nE-IV9.js.br +0 -0
  10. package/dist/dist-C-nE-IV9.js.gz +0 -0
  11. package/dist/{dist-C13dWSnw.cjs → dist-DDJ8JY-U.cjs} +18290 -13781
  12. package/dist/dist-DDJ8JY-U.cjs.br +0 -0
  13. package/dist/dist-DDJ8JY-U.cjs.gz +0 -0
  14. package/dist/gif-encoder-BCZJnRXV.js +2 -0
  15. package/dist/gif-encoder-BCZJnRXV.js.br +0 -0
  16. package/dist/gif-encoder-BCZJnRXV.js.gz +0 -0
  17. package/dist/gif-encoder-CzFa2No0.cjs +2 -0
  18. package/dist/gif-encoder-CzFa2No0.cjs.br +0 -0
  19. package/dist/gif-encoder-CzFa2No0.cjs.gz +0 -0
  20. package/dist/{i18n-3rk7tLH2.js → i18n-CzfTZRLN.js} +65 -4
  21. package/dist/i18n-CzfTZRLN.js.br +0 -0
  22. package/dist/i18n-CzfTZRLN.js.gz +0 -0
  23. package/dist/{i18n-Dhu39QI8.cjs → i18n-WAigQN3b.cjs} +65 -4
  24. package/dist/i18n-WAigQN3b.cjs.br +0 -0
  25. package/dist/i18n-WAigQN3b.cjs.gz +0 -0
  26. package/dist/i18n.cjs +1 -1
  27. package/dist/i18n.cjs.br +0 -0
  28. package/dist/i18n.cjs.gz +0 -0
  29. package/dist/i18n.js +1 -1
  30. package/dist/i18n.js.br +0 -0
  31. package/dist/i18n.js.gz +0 -0
  32. package/dist/index.cjs +1 -1
  33. package/dist/index.cjs.br +0 -0
  34. package/dist/index.cjs.gz +0 -0
  35. package/dist/index.js +3 -3
  36. package/dist/index.js.br +0 -0
  37. package/dist/index.js.gz +0 -0
  38. package/dist/internals.cjs +1 -1
  39. package/dist/internals.cjs.br +0 -0
  40. package/dist/internals.cjs.gz +0 -0
  41. package/dist/internals.js +2 -2
  42. package/dist/internals.js.br +0 -0
  43. package/dist/internals.js.gz +0 -0
  44. package/dist/pptx-vue-viewer.css +91 -104
  45. package/dist/pptx-vue-viewer.css.br +0 -0
  46. package/dist/pptx-vue-viewer.css.gz +0 -0
  47. package/dist/smartart-3d-DbBWzji8.cjs +203 -0
  48. package/dist/smartart-3d-DbBWzji8.cjs.br +0 -0
  49. package/dist/smartart-3d-DbBWzji8.cjs.gz +0 -0
  50. package/dist/smartart-3d-m84Wdu08.js +205 -0
  51. package/dist/smartart-3d-m84Wdu08.js.br +0 -0
  52. package/dist/smartart-3d-m84Wdu08.js.gz +0 -0
  53. package/dist/{useViewerSettingsDialog-DWMP7Zg9.cjs → useViewerSettingsDialog-9q3U6VCB.cjs} +15766 -11895
  54. package/dist/useViewerSettingsDialog-9q3U6VCB.cjs.br +0 -0
  55. package/dist/useViewerSettingsDialog-9q3U6VCB.cjs.gz +0 -0
  56. package/dist/{useViewerSettingsDialog-BzJeMt6Q.js → useViewerSettingsDialog-D-QYEUVN.js} +13115 -9392
  57. package/dist/useViewerSettingsDialog-D-QYEUVN.js.br +0 -0
  58. package/dist/useViewerSettingsDialog-D-QYEUVN.js.gz +0 -0
  59. package/dist/viewer/PowerPointViewer.vue.d.ts.map +1 -1
  60. package/dist/viewer/components/Area3DChartRenderer.vue.d.ts +14 -4
  61. package/dist/viewer/components/Area3DChartRenderer.vue.d.ts.map +1 -1
  62. package/dist/viewer/components/Bar3DChartRenderer.vue.d.ts +12 -3
  63. package/dist/viewer/components/Bar3DChartRenderer.vue.d.ts.map +1 -1
  64. package/dist/viewer/components/ChartRenderer.vue.d.ts +7 -0
  65. package/dist/viewer/components/ChartRenderer.vue.d.ts.map +1 -1
  66. package/dist/viewer/components/ConnectorRenderer.vue.d.ts +7 -0
  67. package/dist/viewer/components/ConnectorRenderer.vue.d.ts.map +1 -1
  68. package/dist/viewer/components/DrawingOverlay.vue.d.ts.map +1 -1
  69. package/dist/viewer/components/ElementImageBox.vue.d.ts.map +1 -1
  70. package/dist/viewer/components/ElementRenderer.vue.d.ts.map +1 -1
  71. package/dist/viewer/components/InkRenderer.vue.d.ts +8 -8
  72. package/dist/viewer/components/InkRenderer.vue.d.ts.map +1 -1
  73. package/dist/viewer/components/Line3DChartRenderer.vue.d.ts +12 -3
  74. package/dist/viewer/components/Line3DChartRenderer.vue.d.ts.map +1 -1
  75. package/dist/viewer/components/PieChart3DRenderer.vue.d.ts +10 -2
  76. package/dist/viewer/components/PieChart3DRenderer.vue.d.ts.map +1 -1
  77. package/dist/viewer/components/PresentationMode.vue.d.ts.map +1 -1
  78. package/dist/viewer/components/ReadOnlyBanner.vue.d.ts +12 -1
  79. package/dist/viewer/components/ReadOnlyBanner.vue.d.ts.map +1 -1
  80. package/dist/viewer/components/ReflectionMirrorContent.vue.d.ts +28 -0
  81. package/dist/viewer/components/ReflectionMirrorContent.vue.d.ts.map +1 -0
  82. package/dist/viewer/components/ShapeEffectOverlay.vue.d.ts +6 -0
  83. package/dist/viewer/components/ShapeEffectOverlay.vue.d.ts.map +1 -1
  84. package/dist/viewer/components/SlideCanvas.vue.d.ts.map +1 -1
  85. package/dist/viewer/components/SlideDeckInspector.vue.d.ts +5 -1
  86. package/dist/viewer/components/SlideDeckInspector.vue.d.ts.map +1 -1
  87. package/dist/viewer/components/SlideStage.vue.d.ts.map +1 -1
  88. package/dist/viewer/components/SmartArt3DRenderer.vue.d.ts +12 -0
  89. package/dist/viewer/components/SmartArt3DRenderer.vue.d.ts.map +1 -1
  90. package/dist/viewer/components/SmartArtRenderer.vue.d.ts +7 -0
  91. package/dist/viewer/components/SmartArtRenderer.vue.d.ts.map +1 -1
  92. package/dist/viewer/components/SurfaceChart3DRenderer.vue.d.ts +11 -2
  93. package/dist/viewer/components/SurfaceChart3DRenderer.vue.d.ts.map +1 -1
  94. package/dist/viewer/components/TableRenderer.vue.d.ts +7 -0
  95. package/dist/viewer/components/TableRenderer.vue.d.ts.map +1 -1
  96. package/dist/viewer/components/ViewerMobileSheets.vue.d.ts +3 -1
  97. package/dist/viewer/components/ViewerMobileSheets.vue.d.ts.map +1 -1
  98. package/dist/viewer/components/ViewerSidePanels.vue.d.ts +3 -1
  99. package/dist/viewer/components/ViewerSidePanels.vue.d.ts.map +1 -1
  100. package/dist/viewer/components/WordArtEnvelopeGlyph.vue.d.ts +34 -0
  101. package/dist/viewer/components/WordArtEnvelopeGlyph.vue.d.ts.map +1 -0
  102. package/dist/viewer/components/WordArtText.vue.d.ts +14 -10
  103. package/dist/viewer/components/WordArtText.vue.d.ts.map +1 -1
  104. package/dist/viewer/components/chart/ChartViewModelSvg.vue.d.ts.map +1 -1
  105. package/dist/viewer/components/inspector/AccessibilityPanel.vue.d.ts +23 -0
  106. package/dist/viewer/components/inspector/AccessibilityPanel.vue.d.ts.map +1 -0
  107. package/dist/viewer/components/inspector/ChartPanel.vue.d.ts.map +1 -1
  108. package/dist/viewer/components/inspector/ChartUserShapeOptions.vue.d.ts +7 -6
  109. package/dist/viewer/components/inspector/ChartUserShapeOptions.vue.d.ts.map +1 -1
  110. package/dist/viewer/components/inspector/ChartUserShapePositionFields.vue.d.ts +56 -0
  111. package/dist/viewer/components/inspector/ChartUserShapePositionFields.vue.d.ts.map +1 -0
  112. package/dist/viewer/components/inspector/InspectorPane.vue.d.ts +11 -1
  113. package/dist/viewer/components/inspector/InspectorPane.vue.d.ts.map +1 -1
  114. package/dist/viewer/components/inspector/TablePanel.vue.d.ts +10 -1
  115. package/dist/viewer/components/inspector/TablePanel.vue.d.ts.map +1 -1
  116. package/dist/viewer/components/inspector/TableStyleEditor.vue.d.ts +27 -0
  117. package/dist/viewer/components/inspector/TableStyleEditor.vue.d.ts.map +1 -0
  118. package/dist/viewer/components/inspector/TableStyleEditorFields.vue.d.ts +17 -0
  119. package/dist/viewer/components/inspector/TableStyleEditorFields.vue.d.ts.map +1 -0
  120. package/dist/viewer/components/inspector/TableStyleOptions.vue.d.ts +10 -1
  121. package/dist/viewer/components/inspector/TableStyleOptions.vue.d.ts.map +1 -1
  122. package/dist/viewer/components/inspector/TransitionPreview.vue.d.ts.map +1 -1
  123. package/dist/viewer/composables/ai/useAiBridge.d.ts +13 -1
  124. package/dist/viewer/composables/ai/useAiBridge.d.ts.map +1 -1
  125. package/dist/viewer/composables/bar-face-picture-sample-version.d.ts +3 -0
  126. package/dist/viewer/composables/bar-face-picture-sample-version.d.ts.map +1 -0
  127. package/dist/viewer/composables/chart-3d-interaction-support.d.ts +32 -0
  128. package/dist/viewer/composables/chart-3d-interaction-support.d.ts.map +1 -0
  129. package/dist/viewer/composables/chart-3d-scene-selection.d.ts +33 -0
  130. package/dist/viewer/composables/chart-3d-scene-selection.d.ts.map +1 -0
  131. package/dist/viewer/composables/chart-canvas-interaction-support.d.ts +9 -1
  132. package/dist/viewer/composables/chart-canvas-interaction-support.d.ts.map +1 -1
  133. package/dist/viewer/composables/chart-canvas-interaction.d.ts.map +1 -1
  134. package/dist/viewer/composables/collaboration-types.d.ts +8 -0
  135. package/dist/viewer/composables/collaboration-types.d.ts.map +1 -1
  136. package/dist/viewer/composables/element-style.d.ts.map +1 -1
  137. package/dist/viewer/composables/useAnimationPlayback.d.ts +12 -0
  138. package/dist/viewer/composables/useAnimationPlayback.d.ts.map +1 -1
  139. package/dist/viewer/composables/useAreaChart3dScene.d.ts +11 -2
  140. package/dist/viewer/composables/useAreaChart3dScene.d.ts.map +1 -1
  141. package/dist/viewer/composables/useBarChart3dScene.d.ts +11 -2
  142. package/dist/viewer/composables/useBarChart3dScene.d.ts.map +1 -1
  143. package/dist/viewer/composables/useCollaboration.d.ts.map +1 -1
  144. package/dist/viewer/composables/useCollaborationWiring.d.ts +8 -1
  145. package/dist/viewer/composables/useCollaborationWiring.d.ts.map +1 -1
  146. package/dist/viewer/composables/useLineChart3dScene.d.ts +11 -2
  147. package/dist/viewer/composables/useLineChart3dScene.d.ts.map +1 -1
  148. package/dist/viewer/composables/useLoadContent.d.ts +8 -0
  149. package/dist/viewer/composables/useLoadContent.d.ts.map +1 -1
  150. package/dist/viewer/composables/usePieChart3dScene.d.ts +8 -1
  151. package/dist/viewer/composables/usePieChart3dScene.d.ts.map +1 -1
  152. package/dist/viewer/composables/useReadOnlyRecommendation.d.ts +20 -2
  153. package/dist/viewer/composables/useReadOnlyRecommendation.d.ts.map +1 -1
  154. package/dist/viewer/composables/useSmartArt3DScene.d.ts +23 -0
  155. package/dist/viewer/composables/useSmartArt3DScene.d.ts.map +1 -0
  156. package/dist/viewer/composables/useSurfaceChart3dScene.d.ts +11 -2
  157. package/dist/viewer/composables/useSurfaceChart3dScene.d.ts.map +1 -1
  158. package/dist/viewer/composables/useTableStyleMapHandlers.d.ts +25 -0
  159. package/dist/viewer/composables/useTableStyleMapHandlers.d.ts.map +1 -0
  160. package/dist/viewer/composables/useTextWarpEnvelope.d.ts +38 -0
  161. package/dist/viewer/composables/useTextWarpEnvelope.d.ts.map +1 -0
  162. package/dist/viewer/composables/visual-3d.d.ts.map +1 -1
  163. package/dist/viewer/index.cjs +1 -1
  164. package/dist/viewer/index.cjs.br +0 -0
  165. package/dist/viewer/index.cjs.gz +0 -0
  166. package/dist/viewer/index.js +3 -3
  167. package/dist/viewer/index.js.br +0 -0
  168. package/dist/viewer/index.js.gz +0 -0
  169. package/dist/{viewer-_C2C_5mk.cjs → viewer-5E1GSC6u.cjs} +11448 -10101
  170. package/dist/viewer-5E1GSC6u.cjs.br +0 -0
  171. package/dist/viewer-5E1GSC6u.cjs.gz +0 -0
  172. package/dist/{viewer-DyMHFRc5.js → viewer-Bykr12-X.js} +13150 -11803
  173. package/dist/viewer-Bykr12-X.js.br +0 -0
  174. package/dist/viewer-Bykr12-X.js.gz +0 -0
  175. package/package.json +2 -2
  176. package/dist/AiChatPanel-CGDR-wqY.cjs.br +0 -0
  177. package/dist/AiChatPanel-CGDR-wqY.cjs.gz +0 -0
  178. package/dist/AiChatPanel-XndiOIcU.js.br +0 -0
  179. package/dist/AiChatPanel-XndiOIcU.js.gz +0 -0
  180. package/dist/dist-AONF-8Jh.js.br +0 -0
  181. package/dist/dist-AONF-8Jh.js.gz +0 -0
  182. package/dist/dist-C13dWSnw.cjs.br +0 -0
  183. package/dist/dist-C13dWSnw.cjs.gz +0 -0
  184. package/dist/gif-encoder-BqsV5OmR.js +0 -2
  185. package/dist/gif-encoder-BqsV5OmR.js.br +0 -0
  186. package/dist/gif-encoder-BqsV5OmR.js.gz +0 -0
  187. package/dist/gif-encoder-azxBrC30.cjs +0 -2
  188. package/dist/gif-encoder-azxBrC30.cjs.br +0 -0
  189. package/dist/gif-encoder-azxBrC30.cjs.gz +0 -0
  190. package/dist/i18n-3rk7tLH2.js.br +0 -0
  191. package/dist/i18n-3rk7tLH2.js.gz +0 -0
  192. package/dist/i18n-Dhu39QI8.cjs.br +0 -0
  193. package/dist/i18n-Dhu39QI8.cjs.gz +0 -0
  194. package/dist/smartart-3d-BpL1-zhY.cjs +0 -158
  195. package/dist/smartart-3d-BpL1-zhY.cjs.br +0 -0
  196. package/dist/smartart-3d-BpL1-zhY.cjs.gz +0 -0
  197. package/dist/smartart-3d-PViOJOXG.js +0 -160
  198. package/dist/smartart-3d-PViOJOXG.js.br +0 -0
  199. package/dist/smartart-3d-PViOJOXG.js.gz +0 -0
  200. package/dist/useViewerSettingsDialog-BzJeMt6Q.js.br +0 -0
  201. package/dist/useViewerSettingsDialog-BzJeMt6Q.js.gz +0 -0
  202. package/dist/useViewerSettingsDialog-DWMP7Zg9.cjs.br +0 -0
  203. package/dist/useViewerSettingsDialog-DWMP7Zg9.cjs.gz +0 -0
  204. package/dist/viewer-DyMHFRc5.js.br +0 -0
  205. package/dist/viewer-DyMHFRc5.js.gz +0 -0
  206. package/dist/viewer-_C2C_5mk.cjs.br +0 -0
  207. package/dist/viewer-_C2C_5mk.cjs.gz +0 -0
@@ -0,0 +1,34 @@
1
+ import { EnvelopeGlyphPlacement } from 'pptx-viewer-shared';
2
+ /**
3
+ * One glyph of the true two-curve WordArt envelope renderer (see
4
+ * `WordArtText.vue`), split out to keep that SFC's template thin.
5
+ *
6
+ * Most glyphs have no `slices` (a single affine already fits them within
7
+ * tolerance): renders a bare `<text transform>`, unchanged from before
8
+ * per-glyph slicing existed, so an ordinary caption pays no extra cost. A
9
+ * glyph on a strongly-curved envelope wide enough to need it (see
10
+ * `chooseGlyphSliceCount` in `pptx-viewer-shared`) instead renders
11
+ * `slices.length` copies of the SAME glyph, each clipped to its own x-band
12
+ * and carrying its own affine, so the pieces tile across the glyph the way
13
+ * PowerPoint's per-point outline warp would. Wrapped in a real `<g>` so a
14
+ * sliced glyph never matches an `svg > text` selector the single-slice case
15
+ * (a bare `<text>` direct `<svg>` child) still does.
16
+ */
17
+ interface TspanProps {
18
+ fill: string;
19
+ fontSize: number;
20
+ fontWeight: number;
21
+ fontStyle: 'italic' | 'normal';
22
+ fontFamily: string;
23
+ textDecoration?: string;
24
+ }
25
+ type __VLS_Props = {
26
+ glyph: EnvelopeGlyphPlacement;
27
+ tspan: TspanProps;
28
+ /** Deterministic id prefix for this glyph's clip-paths (unique per element/line/glyph). */
29
+ clipIdPrefix: string;
30
+ };
31
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
32
+ declare const _default: typeof __VLS_export;
33
+ export default _default;
34
+ //# sourceMappingURL=WordArtEnvelopeGlyph.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WordArtEnvelopeGlyph.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/WordArtEnvelopeGlyph.vue"],"names":[],"mappings":"AAyFA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAEjE;;;;;;;;;;;;;;GAcG;AACH,UAAU,UAAU;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAC/B,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,KAAK,WAAW,GAAG;IAClB,KAAK,EAAE,sBAAsB,CAAC;IAC9B,KAAK,EAAE,UAAU,CAAC;IAClB,2FAA2F;IAC3F,YAAY,EAAE,MAAM,CAAC;CACrB,CAAC;AAiFF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -2,16 +2,20 @@ import { PptxElement } from 'pptx-viewer-core';
2
2
  /**
3
3
  * WordArtText - Vue port of the React `WarpedText` SVG renderer.
4
4
  *
5
- * Renders warped (WordArt) text. The strategy depends on the preset's
6
- * {@link classifyTextWarp} category, mirroring React:
7
- * - `path` (arch, wave, circle, triangle, chevron, curve, ring, …): each
8
- * paragraph becomes one SVG baseline `<path>` + `<text>` pair, with per-run
9
- * styling (colour, bold/italic, underline, hyperlink) emitted as `<tspan>`
10
- * attributes.
11
- * - `envelope` (inflate/deflate/can) and `simple` (slant/fade/cascade): SVG
12
- * `<textPath>` cannot bend individual glyphs, so the text is laid out flat
13
- * and a CSS `transform` (+ `transform-origin`) from {@link getWarpCssTransform}
14
- * approximates the warp, the same approach React uses.
5
+ * Renders warped (WordArt) text. Every classified preset (`textNoShape` /
6
+ * `textPlain` / unknown excluded) renders along an SVG `<textPath>` baseline
7
+ * built by {@link shouldUseSvgWarp} + `buildWarpPath`: arch/wave/circle/
8
+ * triangle/chevron/ring/curve, and (as of the WordArt envelope fidelity fix)
9
+ * inflate/deflate/can/slant/fade/cascade too, matching React and Vanilla.
10
+ *
11
+ * This used to branch on `classifyTextWarp(preset)` and fall back to a flat
12
+ * `<div>` + CSS `transform` approximation for the `envelope`/`simple`
13
+ * categories; that branch was dead code once `shouldUseSvgWarp` is used
14
+ * directly (it already returns `true` for every classified preset), and
15
+ * because React/Vanilla never had that branch, Vue rendered inflate/deflate/
16
+ * can/slant/fade/cascade as a flat CSS-transform approximation while React
17
+ * and Vanilla already rendered them as true SVG textPath - a cross-binding
18
+ * parity bug this component no longer has.
15
19
  *
16
20
  * Presets that are not classified (`textNoShape`, `textPlain`, unknown values)
17
21
  * cause the component to render nothing; callers fall back to flat text. The
@@ -1 +1 @@
1
- {"version":3,"file":"WordArtText.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/WordArtText.vue"],"names":[],"mappings":"AA+SA,OAAO,KAAK,EAAE,WAAW,EAA+C,MAAM,kBAAkB,CAAC;AAiBjG;;;;;;;;;;;;;;;;;;GAkBG;AACH,KAAK,WAAW,GAAG;IAClB,OAAO,EAAE,WAAW,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;CACf,CAAC;AAsSF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
1
+ {"version":3,"file":"WordArtText.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/WordArtText.vue"],"names":[],"mappings":"AA0RA,OAAO,KAAK,EAAE,WAAW,EAA+C,MAAM,kBAAkB,CAAC;AAiBjG;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,KAAK,WAAW,GAAG;IAClB,OAAO,EAAE,WAAW,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;CACf,CAAC;AA+RF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ChartViewModelSvg.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/chart/ChartViewModelSvg.vue"],"names":[],"mappings":"AAgWA,OAAO,KAAK,EAEX,cAAc,EASd,MAAM,oBAAoB,CAAC;AAG5B;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,KAAK,WAAW,GAAG;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,EAAE,EAAE,cAAc,CAAC;IACnB,mBAAmB,CAAC,EAAE,MAAM,GAAG,eAAe,CAAC;CAC/C,CAAC;AAmXH,QAAA,MAAM,YAAY;yBApXM,MAAM,GAAG,eAAe;6EAuX9C,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
1
+ {"version":3,"file":"ChartViewModelSvg.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/chart/ChartViewModelSvg.vue"],"names":[],"mappings":"AA+WA,OAAO,KAAK,EAEX,cAAc,EASd,MAAM,oBAAoB,CAAC;AAG5B;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,KAAK,WAAW,GAAG;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,EAAE,EAAE,cAAc,CAAC;IACnB,mBAAmB,CAAC,EAAE,MAAM,GAAG,eAAe,CAAC;CAC/C,CAAC;AAsYH,QAAA,MAAM,YAAY;yBAvYM,MAAM,GAAG,eAAe;6EA0Y9C,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -0,0 +1,23 @@
1
+ import { PptxElement } from 'pptx-viewer-core';
2
+ /**
3
+ * AccessibilityPanel: alt text / title editor for a plain shape, text box or
4
+ * connector, at parity with React's `AccessibilityTextSection`.
5
+ *
6
+ * A picture's own alt text field lives in `ImagePanel`; this covers the
7
+ * three element kinds that only started modelling `altText` / `title` once
8
+ * core parsed `p:cNvPr/@descr` / `@title` on `p:sp` / `p:cxnSp` (see
9
+ * `PptxNonVisualDescription`). `getNonVisualDescriptionFields` (shared)
10
+ * decides which fields apply so this component stays a thin view.
11
+ */
12
+ type __VLS_Props = {
13
+ element: PptxElement;
14
+ canEdit?: boolean;
15
+ };
16
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
17
+ update: (patch: Partial<PptxElement>) => any;
18
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
19
+ onUpdate?: ((patch: Partial<PptxElement>) => any) | undefined;
20
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
21
+ declare const _default: typeof __VLS_export;
22
+ export default _default;
23
+ //# sourceMappingURL=AccessibilityPanel.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AccessibilityPanel.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/inspector/AccessibilityPanel.vue"],"names":[],"mappings":"AAAA,OAwEO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAKpD;;;;;;;;;GASG;AACH,KAAK,WAAW,GAAG;IAClB,OAAO,EAAE,WAAW,CAAC;IACrB,OAAO,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AAoHF,QAAA,MAAM,YAAY;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ChartPanel.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/inspector/ChartPanel.vue"],"names":[],"mappings":"AA0SA,OAAO,KAAK,EAAkD,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAwBpG;;;;;;;;;;;;GAYG;AACH,KAAK,WAAW,GAAG;IAClB,OAAO,EAAE,WAAW,CAAC;CACrB,CAAC;AAunBF,QAAA,MAAM,YAAY;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
1
+ {"version":3,"file":"ChartPanel.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/inspector/ChartPanel.vue"],"names":[],"mappings":"AAgUA,OAAO,KAAK,EAAkD,WAAW,EAAE,MAAM,kBAAkB,CAAC;AA+BpG;;;;;;;;;;;;GAYG;AACH,KAAK,WAAW,GAAG;IAClB,OAAO,EAAE,WAAW,CAAC;CACrB,CAAC;AAsoBF,QAAA,MAAM,YAAY;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,13 +1,14 @@
1
1
  import { PptxChartData } from 'pptx-viewer-core';
2
2
  /**
3
3
  * ChartUserShapeOptions: "Chart overlay shapes" section (`c:userShapes`
4
- * drawing overlay, C2-G10 edit/serialize follow-up). List existing overlay
5
- * shapes, add a default text box, delete one, and nudge a `sp`/`cxnSp`
6
- * shape's anchor fractions.
4
+ * drawing overlay). Lists a chart's overlay shapes as an indented tree (a
5
+ * `grpSp`'s grouped children included), adds a default text box, deletes any
6
+ * row, and edits a `sp`/`cxnSp` row's text/fill/line, a `pic` row's alt text,
7
+ * and any non-group row's position/size.
7
8
  *
8
- * Pure view over `pptx-viewer-shared`'s `chart-user-shape-edit` helpers,
9
- * mirroring React's `ChartUserShapeOptions.tsx` so every binding's overlay
10
- * editing stays in lock-step (CLAUDE.md Rule 2).
9
+ * Pure view over `pptx-viewer-shared`'s `chart-user-shape-edit`/
10
+ * `chart-user-shape-tree` helpers, mirroring React's `ChartUserShapeOptions.tsx`
11
+ * so every binding's overlay editing stays in lock-step (CLAUDE.md Rule 2).
11
12
  */
12
13
  type __VLS_Props = {
13
14
  chartData: PptxChartData;
@@ -1 +1 @@
1
- {"version":3,"file":"ChartUserShapeOptions.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/inspector/ChartUserShapeOptions.vue"],"names":[],"mappings":"AAoKA,OAAO,KAAK,EAAE,aAAa,EAAsB,MAAM,kBAAkB,CAAC;AAW1E;;;;;;;;;GASG;AACH,KAAK,WAAW,GAAG;IAClB,SAAS,EAAE,aAAa,CAAC;CACzB,CAAC;AAiTF,QAAA,MAAM,YAAY;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
1
+ {"version":3,"file":"ChartUserShapeOptions.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/inspector/ChartUserShapeOptions.vue"],"names":[],"mappings":"AAiPA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAqBtD;;;;;;;;;;GAUG;AACH,KAAK,WAAW,GAAG;IAClB,SAAS,EAAE,aAAa,CAAC;CACzB,CAAC;AAmaF,QAAA,MAAM,YAAY;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -0,0 +1,56 @@
1
+ import { PptxChartUserShape } from 'pptx-viewer-core';
2
+ import { ChartUserShapeRow, ChartUserShapeRowPatch } from 'pptx-viewer-shared';
3
+ /**
4
+ * Position/size editor for one chart overlay row, mirroring React's
5
+ * `ChartUserShapePositionFields.tsx` (CLAUDE.md Rule 2). A top-level row
6
+ * edits its anchor markers directly (rel `from`/`to` fractions, or abs
7
+ * `from` + `ext` EMU: a top-level `grpSp` row's anchor already moves/resizes
8
+ * the whole group with children following, see `chart-user-shape-tree.ts`'s
9
+ * `editablePosition` doc). A nested row, INCLUDING a nested `grpSp` group
10
+ * header, edits a `from`/`to` chart-relative fraction pair instead of raw
11
+ * EMU (`chart-user-shape-row-frame.ts`), matching how a top-level
12
+ * `relSizeAnchor` row already edits.
13
+ */
14
+ type __VLS_Props = {
15
+ row: ChartUserShapeRow;
16
+ /** The chart's full overlay tree, needed to resolve a nested row's ancestor group chain. */
17
+ userShapes: ReadonlyArray<PptxChartUserShape> | undefined;
18
+ };
19
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
20
+ patch: (path: readonly number[], patch: ChartUserShapeRowPatch) => any;
21
+ boxPatch: (path: readonly number[], box: {
22
+ from: {
23
+ x: number;
24
+ y: number;
25
+ };
26
+ to: {
27
+ x: number;
28
+ y: number;
29
+ };
30
+ }) => any;
31
+ rotationPatch: (path: readonly number[], rotation: number | undefined) => any;
32
+ flipPatch: (path: readonly number[], flip: {
33
+ flipH?: boolean;
34
+ flipV?: boolean;
35
+ }) => any;
36
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
37
+ onPatch?: ((path: readonly number[], patch: ChartUserShapeRowPatch) => any) | undefined;
38
+ onBoxPatch?: ((path: readonly number[], box: {
39
+ from: {
40
+ x: number;
41
+ y: number;
42
+ };
43
+ to: {
44
+ x: number;
45
+ y: number;
46
+ };
47
+ }) => any) | undefined;
48
+ onRotationPatch?: ((path: readonly number[], rotation: number | undefined) => any) | undefined;
49
+ onFlipPatch?: ((path: readonly number[], flip: {
50
+ flipH?: boolean;
51
+ flipV?: boolean;
52
+ }) => any) | undefined;
53
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
54
+ declare const _default: typeof __VLS_export;
55
+ export default _default;
56
+ //# sourceMappingURL=ChartUserShapePositionFields.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChartUserShapePositionFields.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/inspector/ChartUserShapePositionFields.vue"],"names":[],"mappings":"AAkQA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAC3D,OAAO,KAAK,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAKpF;;;;;;;;;;GAUG;AACH,KAAK,WAAW,GAAG;IAClB,GAAG,EAAE,iBAAiB,CAAC;IACvB,4FAA4F;IAC5F,UAAU,EAAE,aAAa,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC;CAC1D,CAAC;AAicF,QAAA,MAAM,YAAY;;;cA1bH;YAAE,CAAC,EAAE,MAAM,CAAC;YAAC,CAAC,EAAE,MAAM,CAAA;SAAE;YAAM;YAAE,CAAC,EAAE,MAAM,CAAC;YAAC,CAAC,EAAE,MAAM,CAAA;SAAE;;;;gBAKf,OAAO;gBAAU,OAAO;;;;;cAL/D;YAAE,CAAC,EAAE,MAAM,CAAC;YAAC,CAAC,EAAE,MAAM,CAAA;SAAE;YAAM;YAAE,CAAC,EAAE,MAAM,CAAC;YAAC,CAAC,EAAE,MAAM,CAAA;SAAE;;;;gBAKf,OAAO;gBAAU,OAAO;;kFAwb5E,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,4 +1,4 @@
1
- import { PptxAnimationTimelineAnchor, PptxCustomShow, PptxElement, PptxElementAnimation } from 'pptx-viewer-core';
1
+ import { ParsedTableStyleMap, PptxAnimationTimelineAnchor, PptxCustomShow, PptxElement, PptxElementAnimation } from 'pptx-viewer-core';
2
2
  /**
3
3
  * InspectorPane: the right-hand property inspector for the editor.
4
4
  *
@@ -22,13 +22,23 @@ type __VLS_Props = {
22
22
  animationTimelineAnchors?: readonly PptxAnimationTimelineAnchor[];
23
23
  /** Named custom shows, for the Action Settings "Custom show" target picker. */
24
24
  customShows?: readonly PptxCustomShow[];
25
+ /**
26
+ * The deck's parsed `ppt/tableStyles.xml` map, needed by the table panel's
27
+ * "Edit style...". See `TableStyleOptions.vue`'s docblock for why this is
28
+ * optional.
29
+ */
30
+ tableStyleMap?: ParsedTableStyleMap;
25
31
  };
26
32
  declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
27
33
  update: (patch: Partial<PptxElement>) => any;
28
34
  updateSlideAnimations: (animations: PptxElementAnimation[]) => any;
35
+ tableStyleMapChange: (nextMap: ParsedTableStyleMap) => any;
36
+ deleteTableStyle: (styleId: string) => any;
29
37
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
30
38
  onUpdate?: ((patch: Partial<PptxElement>) => any) | undefined;
31
39
  onUpdateSlideAnimations?: ((animations: PptxElementAnimation[]) => any) | undefined;
40
+ onTableStyleMapChange?: ((nextMap: ParsedTableStyleMap) => any) | undefined;
41
+ onDeleteTableStyle?: ((styleId: string) => any) | undefined;
32
42
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
33
43
  declare const _default: typeof __VLS_export;
34
44
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"InspectorPane.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/inspector/InspectorPane.vue"],"names":[],"mappings":"AAAA,OA8OO,KAAK,EACX,2BAA2B,EAC3B,cAAc,EACd,WAAW,EACX,oBAAoB,EACpB,MAAM,kBAAkB,CAAC;AAsB1B;;;;;;;;;;GAUG;AACH,KAAK,WAAW,GAAG;IAClB,OAAO,EAAE,WAAW,CAAC;IACrB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACpC,aAAa,CAAC,EAAE,SAAS,WAAW,EAAE,CAAC;IACvC,eAAe,CAAC,EAAE,SAAS,oBAAoB,EAAE,CAAC;IAClD,mGAAmG;IACnG,wBAAwB,CAAC,EAAE,SAAS,2BAA2B,EAAE,CAAC;IAClE,+EAA+E;IAC/E,WAAW,CAAC,EAAE,SAAS,cAAc,EAAE,CAAC;CACxC,CAAC;AAkpBF,QAAA,MAAM,YAAY;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
1
+ {"version":3,"file":"InspectorPane.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/inspector/InspectorPane.vue"],"names":[],"mappings":"AAAA,OAiRO,KAAK,EACX,mBAAmB,EACnB,2BAA2B,EAC3B,cAAc,EACd,WAAW,EACX,oBAAoB,EACpB,MAAM,kBAAkB,CAAC;AAwB1B;;;;;;;;;;GAUG;AACH,KAAK,WAAW,GAAG;IAClB,OAAO,EAAE,WAAW,CAAC;IACrB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACpC,aAAa,CAAC,EAAE,SAAS,WAAW,EAAE,CAAC;IACvC,eAAe,CAAC,EAAE,SAAS,oBAAoB,EAAE,CAAC;IAClD,mGAAmG;IACnG,wBAAwB,CAAC,EAAE,SAAS,2BAA2B,EAAE,CAAC;IAClE,+EAA+E;IAC/E,WAAW,CAAC,EAAE,SAAS,cAAc,EAAE,CAAC;IACxC;;;;OAIG;IACH,aAAa,CAAC,EAAE,mBAAmB,CAAC;CACpC,CAAC;AA0tBF,QAAA,MAAM,YAAY;;;;;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,4 +1,4 @@
1
- import { PptxElement } from 'pptx-viewer-core';
1
+ import { ParsedTableStyleMap, PptxElement } from 'pptx-viewer-core';
2
2
  /**
3
3
  * TablePanel: inspector panel for table elements (`element.type === 'table'`).
4
4
  *
@@ -15,11 +15,20 @@ import { PptxElement } from 'pptx-viewer-core';
15
15
  */
16
16
  type __VLS_Props = {
17
17
  element: PptxElement;
18
+ /**
19
+ * The deck's parsed `ppt/tableStyles.xml` map, needed by "Edit style...".
20
+ * See `TableStyleOptions.vue`'s docblock for why this is optional.
21
+ */
22
+ tableStyleMap?: ParsedTableStyleMap;
18
23
  };
19
24
  declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
20
25
  update: (patch: Partial<PptxElement>) => any;
26
+ tableStyleMapChange: (nextMap: ParsedTableStyleMap) => any;
27
+ deleteTableStyle: (styleId: string) => any;
21
28
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
22
29
  onUpdate?: ((patch: Partial<PptxElement>) => any) | undefined;
30
+ onTableStyleMapChange?: ((nextMap: ParsedTableStyleMap) => any) | undefined;
31
+ onDeleteTableStyle?: ((styleId: string) => any) | undefined;
23
32
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
24
33
  declare const _default: typeof __VLS_export;
25
34
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"TablePanel.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/inspector/TablePanel.vue"],"names":[],"mappings":"AAAA,OAkOO,KAAK,EAAE,WAAW,EAAmC,MAAM,kBAAkB,CAAC;AAgBrF;;;;;;;;;;;;;GAaG;AACH,KAAK,WAAW,GAAG;IAClB,OAAO,EAAE,WAAW,CAAC;CACrB,CAAC;AAyaF,QAAA,MAAM,YAAY;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
1
+ {"version":3,"file":"TablePanel.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/inspector/TablePanel.vue"],"names":[],"mappings":"AAAA,OAqPO,KAAK,EACX,mBAAmB,EACnB,WAAW,EAGX,MAAM,kBAAkB,CAAC;AAgB1B;;;;;;;;;;;;;GAaG;AACH,KAAK,WAAW,GAAG;IAClB,OAAO,EAAE,WAAW,CAAC;IACrB;;;OAGG;IACH,aAAa,CAAC,EAAE,mBAAmB,CAAC;CACpC,CAAC;AA0bF,QAAA,MAAM,YAAY;;;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -0,0 +1,27 @@
1
+ import { ParsedTableStyleMap } from 'pptx-viewer-core';
2
+ /**
3
+ * "Edit style..." panel for a table style's own DEFINITION (`a:tblStyleLst`
4
+ * section fill/text/borders/cell3D), distinct from `TableStyleOptions.vue`'s
5
+ * "which style does this table use" picker. Vue port of React's
6
+ * `TableStyleEditor.tsx`.
7
+ */
8
+ type __VLS_Props = {
9
+ styleMap: ParsedTableStyleMap | undefined;
10
+ /** The style currently assigned to the table being edited. */
11
+ styleId: string | undefined;
12
+ canEdit: boolean;
13
+ };
14
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
15
+ close: () => any;
16
+ styleMapChange: (nextMap: ParsedTableStyleMap) => any;
17
+ deleteStyle: (styleId: string) => any;
18
+ assignStyle: (styleId: string) => any;
19
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
20
+ onClose?: (() => any) | undefined;
21
+ onStyleMapChange?: ((nextMap: ParsedTableStyleMap) => any) | undefined;
22
+ onDeleteStyle?: ((styleId: string) => any) | undefined;
23
+ onAssignStyle?: ((styleId: string) => any) | undefined;
24
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
25
+ declare const _default: typeof __VLS_export;
26
+ export default _default;
27
+ //# sourceMappingURL=TableStyleEditor.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TableStyleEditor.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/inspector/TableStyleEditor.vue"],"names":[],"mappings":"AAyKA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAmB5D;;;;;GAKG;AACH,KAAK,WAAW,GAAG;IAClB,QAAQ,EAAE,mBAAmB,GAAG,SAAS,CAAC;IAC1C,8DAA8D;IAC9D,OAAO,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,OAAO,EAAE,OAAO,CAAC;CACjB,CAAC;AAqPF,QAAA,MAAM,YAAY;;;;;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -0,0 +1,17 @@
1
+ import { TableStyleEditorDescriptor, TableStyleEditorFieldEdit } from 'pptx-viewer-shared';
2
+ /**
3
+ * Field editors for whichever part `TableStyleEditor.vue` currently has
4
+ * selected. Mirrors React's `TableStyleEditorFields.tsx`.
5
+ */
6
+ type __VLS_Props = {
7
+ descriptor: TableStyleEditorDescriptor;
8
+ canEdit: boolean;
9
+ };
10
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
11
+ edit: (edit: TableStyleEditorFieldEdit) => any;
12
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
13
+ onEdit?: ((edit: TableStyleEditorFieldEdit) => any) | undefined;
14
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
15
+ declare const _default: typeof __VLS_export;
16
+ export default _default;
17
+ //# sourceMappingURL=TableStyleEditorFields.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TableStyleEditorFields.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/inspector/TableStyleEditorFields.vue"],"names":[],"mappings":"AAqNA,OAAO,KAAK,EAEX,0BAA0B,EAC1B,yBAAyB,EACzB,MAAM,oBAAoB,CAAC;AAU5B;;;GAGG;AACH,KAAK,WAAW,GAAG;IAClB,UAAU,EAAE,0BAA0B,CAAC;IACvC,OAAO,EAAE,OAAO,CAAC;CACjB,CAAC;AA2YF,QAAA,MAAM,YAAY;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,18 +1,27 @@
1
- import { PptxTableData } from 'pptx-viewer-core';
1
+ import { ParsedTableStyleMap, PptxTableData } from 'pptx-viewer-core';
2
2
  /**
3
3
  * TableStyleOptions: Vue port of the structure/style toggles + quick-style
4
4
  * preset grid from React's inspector `TablePropertiesPanel.tsx`. Emits a
5
5
  * `Partial<PptxTableData>` patch (banding flags, band cycle counts, or a full
6
6
  * re-styled `rows` array) that the parent merges into the element's tableData.
7
+ *
8
+ * `tableStyleMap` is optional/absent when the host has not yet wired the
9
+ * table-style-DEFINITION-editor feature through (see `TableStyleEditor.vue`'s
10
+ * docblock); the "Edit style..." button then simply does not render.
7
11
  */
8
12
  type __VLS_Props = {
9
13
  tableData: PptxTableData;
10
14
  canEdit: boolean;
15
+ tableStyleMap?: ParsedTableStyleMap;
11
16
  };
12
17
  declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
13
18
  update: (patch: Partial<PptxTableData>) => any;
19
+ tableStyleMapChange: (nextMap: ParsedTableStyleMap) => any;
20
+ deleteTableStyle: (styleId: string) => any;
14
21
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
15
22
  onUpdate?: ((patch: Partial<PptxTableData>) => any) | undefined;
23
+ onTableStyleMapChange?: ((nextMap: ParsedTableStyleMap) => any) | undefined;
24
+ onDeleteTableStyle?: ((styleId: string) => any) | undefined;
16
25
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
17
26
  declare const _default: typeof __VLS_export;
18
27
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"TableStyleOptions.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/inspector/TableStyleOptions.vue"],"names":[],"mappings":"AAqHA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAKtD;;;;;GAKG;AACH,KAAK,WAAW,GAAG;IAClB,SAAS,EAAE,aAAa,CAAC;IACzB,OAAO,EAAE,OAAO,CAAC;CACjB,CAAC;AAiPF,QAAA,MAAM,YAAY;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
1
+ {"version":3,"file":"TableStyleOptions.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/inspector/TableStyleOptions.vue"],"names":[],"mappings":"AA8JA,OAAO,KAAK,EAAE,mBAAmB,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAY3E;;;;;;;;;GASG;AACH,KAAK,WAAW,GAAG;IAClB,SAAS,EAAE,aAAa,CAAC;IACzB,OAAO,EAAE,OAAO,CAAC;IACjB,aAAa,CAAC,EAAE,mBAAmB,CAAC;CACpC,CAAC;AAkUF,QAAA,MAAM,YAAY;;;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1 +1 @@
1
- {"version":3,"file":"TransitionPreview.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/inspector/TransitionPreview.vue"],"names":[],"mappings":"AA8IA;;;;;;;;;;;;;GAaG;AACH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAK5D,KAAK,WAAW,GAAG;IAAE,UAAU,EAAE,mBAAmB,CAAA;CAAE,CAAC;AA6HvD,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
1
+ {"version":3,"file":"TransitionPreview.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/inspector/TransitionPreview.vue"],"names":[],"mappings":"AA+IA;;;;;;;;;;;;;GAaG;AACH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAK5D,KAAK,WAAW,GAAG;IAAE,UAAU,EAAE,mBAAmB,CAAA;CAAE,CAAC;AA8HvD,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,4 +1,4 @@
1
- import { PptxAppProperties, PptxCoreProperties, PptxCustomProperty, PptxHandler, PptxPresentationProperties, PptxSection, PptxSlide, PptxTheme } from 'pptx-viewer-core';
1
+ import { ParsedTableStyleMap, PptxAppProperties, PptxCoreProperties, PptxCustomProperty, PptxHandler, PptxPresentationProperties, PptxSection, PptxSlide, PptxTagCollection, PptxTheme, PptxViewProperties } from 'pptx-viewer-core';
2
2
  import { CanvasSize } from 'pptx-viewer-shared';
3
3
  import { PptxAiBridge, PptxAiFocusedTarget, PptxAiNotifyLevel } from 'pptx-viewer-shared/ai';
4
4
  import { Ref } from 'vue';
@@ -14,6 +14,18 @@ export interface UseAiBridgeInput {
14
14
  customProperties: Ref<PptxCustomProperty[]>;
15
15
  coreProperties: Ref<PptxCoreProperties | undefined>;
16
16
  appProperties: Ref<PptxAppProperties | undefined>;
17
+ /**
18
+ * `ppt/viewProps.xml` (grid/snap/guides toggles). Included so the deck
19
+ * tools' `getDeckData`/`applyDeckData` seam sees the same fields the main
20
+ * Save/Export path persists (`useLoadContent`'s `buildDeckSaveOptions` call).
21
+ */
22
+ viewProperties: Ref<PptxViewProperties | undefined>;
23
+ /** Parsed `ppt/tableStyles.xml` map, editable via the table style editor. */
24
+ tableStyleMap: Ref<ParsedTableStyleMap | undefined>;
25
+ /** `<a:tblStyleLst @def>` default style GUID. */
26
+ tableStylesDefaultId: Ref<string | undefined>;
27
+ /** `ppt/tags/*.xml` name/value metadata. */
28
+ tagCollections: Ref<PptxTagCollection[]>;
17
29
  /** Display name of the open document, when known. */
18
30
  fileName: () => string | undefined;
19
31
  /** Snapshot the current slides onto the undo stack (call before mutating). */
@@ -1 +1 @@
1
- {"version":3,"file":"useAiBridge.d.ts","sourceRoot":"","sources":["../../../../src/viewer/composables/ai/useAiBridge.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EACX,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,EAElB,WAAW,EACX,0BAA0B,EAC1B,WAAW,EACX,SAAS,EACT,SAAS,EACT,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAErD,OAAO,KAAK,EACX,YAAY,EAIZ,mBAAmB,EACnB,iBAAiB,EAEjB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE/B,mDAAmD;AACnD,MAAM,WAAW,gBAAgB;IAChC,MAAM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-picture-sample-version.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bar-face-picture-sample-version.d.ts","sourceRoot":"","sources":["../../../src/viewer/composables/bar-face-picture-sample-version.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAG/B,wBAAgB,8BAA8B,IAAI,GAAG,CAAC,MAAM,CAAC,CAU5D"}
@@ -0,0 +1,32 @@
1
+ import { PptxChartData } from 'pptx-viewer-core';
2
+ import { ChartPartRef } from 'pptx-viewer-shared';
3
+ import { ChartCanvasEditContext } from './chart-part-selection';
4
+ /**
5
+ * chart-3d-interaction-support: the framework-glue shared by all five
6
+ * interactive 3D chart scene composables (bar3D/line3D/area3D/pie3D/surface)
7
+ * to bridge a scene's own click/drag picking (via the `interaction` argument
8
+ * `mount*Chart3D` now accepts) to the SAME `ChartCanvasEditContext` selection
9
+ * + commit path the 2D SVG mark interaction (`chart-canvas-interaction.ts`)
10
+ * already uses, so the chart inspector (`ChartPanel`) reacts to a 3D mark
11
+ * exactly like a 2D one.
12
+ *
13
+ * Pure functions only, no Vue reactivity: each scene composable owns its own
14
+ * refs/handle and calls these from the `interaction` object it builds for its
15
+ * `mount*Chart3D` call.
16
+ */
17
+ /** The selection scoped to `elementId`, or null when nothing / another element is selected. */
18
+ export declare function selectedChart3DPart(ctx: ChartCanvasEditContext | undefined, elementId: string): ChartPartRef | null;
19
+ /**
20
+ * `onSelect` handler shared by every 3D chart interaction (bar/line/area/pie/
21
+ * surface): gated on the same `canSelectCharts` the 2D click-select uses, so a
22
+ * 3D mark is only click-selectable on the editable canvas.
23
+ */
24
+ export declare function onChart3DSelect(ctx: ChartCanvasEditContext | undefined, elementId: string, part: ChartPartRef | null): void;
25
+ /**
26
+ * `onValueDragCommit` handler shared by bar3D/line3D/area3D/surface3D: builds the new
27
+ * chart data via the SAME `withChartPointValue` helper the 2D drag commits
28
+ * through, then pushes it through the SAME history-tracked update path (gated
29
+ * on `canEditChart`, mirroring the 2D drag's edit gate).
30
+ */
31
+ export declare function onChart3DValueDragCommit(ctx: ChartCanvasEditContext | undefined, elementId: string, chartData: PptxChartData | undefined, part: ChartPartRef, value: number): void;
32
+ //# sourceMappingURL=chart-3d-interaction-support.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chart-3d-interaction-support.d.ts","sourceRoot":"","sources":["../../../src/viewer/composables/chart-3d-interaction-support.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAe,MAAM,kBAAkB,CAAC;AACnE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAGvD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAErE;;;;;;;;;;;;GAYG;AAEH,+FAA+F;AAC/F,wBAAgB,mBAAmB,CAClC,GAAG,EAAE,sBAAsB,GAAG,SAAS,EACvC,SAAS,EAAE,MAAM,GACf,YAAY,GAAG,IAAI,CAGrB;AAED;;;;GAIG;AACH,wBAAgB,eAAe,CAC9B,GAAG,EAAE,sBAAsB,GAAG,SAAS,EACvC,SAAS,EAAE,MAAM,EACjB,IAAI,EAAE,YAAY,GAAG,IAAI,GACvB,IAAI,CAKN;AAED;;;;;GAKG;AACH,wBAAgB,wBAAwB,CACvC,GAAG,EAAE,sBAAsB,GAAG,SAAS,EACvC,SAAS,EAAE,MAAM,EACjB,SAAS,EAAE,aAAa,GAAG,SAAS,EACpC,IAAI,EAAE,YAAY,EAClB,KAAK,EAAE,MAAM,GACX,IAAI,CAMN"}
@@ -0,0 +1,33 @@
1
+ import { PptxChartType } from 'pptx-viewer-core';
2
+ import { SupportedChartKind } from 'pptx-viewer-shared';
3
+ import { ComputedRef } from 'vue';
4
+ /**
5
+ * chart-3d-scene-selection: bundles the five opt-in interactive-3D injected
6
+ * flags (`useSurfaceChart3D` et al.) with the chart-kind/type checks that gate
7
+ * each one, so `ChartRenderer.vue`'s template only tests one boolean per 3D
8
+ * renderer instead of two. Kept as its own composable purely to keep
9
+ * `ChartRenderer.vue` under this repo's file-size guideline; the decisions
10
+ * themselves are unchanged from before this extraction.
11
+ *
12
+ * Bar3D/line3D/area3D/pie3D are gated on the RAW `c:chartType`, not the
13
+ * folded `chartKind`: `resolveChartKind` folds e.g. `bar`/`bar3D` onto the
14
+ * same 'bar' kind, so a plain 2D chart must never pick up its 3D sibling
15
+ * scene. Surface has no 2D/3D split in `c:chartType`, so it gates on
16
+ * `chartKind` instead.
17
+ */
18
+ export interface UseChart3DSceneSelectionInput {
19
+ /** The shared engine's verdict on this chart's family. */
20
+ chartKind: () => SupportedChartKind | 'unsupported';
21
+ /** The raw authored `c:chartType`. */
22
+ chartType: () => PptxChartType;
23
+ }
24
+ /** One flag per 3D chart renderer: true when it should mount instead of the SVG path. */
25
+ export interface UseChart3DSceneSelectionResult {
26
+ showSurface3D: ComputedRef<boolean>;
27
+ showBar3D: ComputedRef<boolean>;
28
+ showLine3D: ComputedRef<boolean>;
29
+ showArea3D: ComputedRef<boolean>;
30
+ showPie3D: ComputedRef<boolean>;
31
+ }
32
+ export declare function useChart3DSceneSelection(input: UseChart3DSceneSelectionInput): UseChart3DSceneSelectionResult;
33
+ //# sourceMappingURL=chart-3d-scene-selection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chart-3d-scene-selection.d.ts","sourceRoot":"","sources":["../../../src/viewer/composables/chart-3d-scene-selection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAE7D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,KAAK,CAAC;AAQvC;;;;;;;;;;;;;GAaG;AACH,MAAM,WAAW,6BAA6B;IAC7C,0DAA0D;IAC1D,SAAS,EAAE,MAAM,kBAAkB,GAAG,aAAa,CAAC;IACpD,sCAAsC;IACtC,SAAS,EAAE,MAAM,aAAa,CAAC;CAC/B;AAED,yFAAyF;AACzF,MAAM,WAAW,8BAA8B;IAC9C,aAAa,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IACpC,SAAS,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IAChC,UAAU,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IACjC,UAAU,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IACjC,SAAS,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;CAChC;AAED,wBAAgB,wBAAwB,CACvC,KAAK,EAAE,6BAA6B,GAClC,8BAA8B,CAkBhC"}
@@ -1,4 +1,4 @@
1
- import { advanceChartValueDrag as advanceSharedChartValueDrag, applyChartPartHighlight as applySharedChartPartHighlight, beginChartValueDrag as beginSharedChartValueDrag, ensureChartInteractionStyles, ChartValueDragState } from 'pptx-viewer-shared';
1
+ import { advanceChartMarkDrag as advanceSharedChartMarkDrag, advanceChartValueDrag as advanceSharedChartValueDrag, applyChartPartHighlight as applySharedChartPartHighlight, beginChartMarkDrag as beginSharedChartMarkDrag, beginChartValueDrag as beginSharedChartValueDrag, buildChartMarkDragGeometry as buildSharedChartMarkDragGeometry, ensureChartInteractionStyles, ChartMarkDragState, ChartValueDragState } from 'pptx-viewer-shared';
2
2
  /**
3
3
  * chart-canvas-interaction-support: Vue's names for the framework-neutral
4
4
  * on-canvas chart editing support, which now lives in
@@ -22,4 +22,12 @@ export declare const beginChartValueDrag: typeof beginSharedChartValueDrag;
22
22
  export declare const advanceChartValueDrag: typeof advanceSharedChartValueDrag;
23
23
  /** State of an in-flight data-point value drag. */
24
24
  export type ActiveValueDrag = ChartValueDragState;
25
+ /** Resolve a mark's drag geometry for the given chart kind and part. */
26
+ export declare const buildChartMarkDragGeometry: typeof buildSharedChartMarkDragGeometry;
27
+ /** Start a mark drag, or null when this part/kind has no drag meaning. */
28
+ export declare const beginChartMarkDrag: typeof beginSharedChartMarkDrag;
29
+ /** Advance an in-flight mark drag to the pointer's current client position. */
30
+ export declare const advanceChartMarkDrag: typeof advanceSharedChartMarkDrag;
31
+ /** State of an in-flight pie/radar/stacked mark drag. */
32
+ export type ActiveMarkDrag = ChartMarkDragState;
25
33
  //# sourceMappingURL=chart-canvas-interaction-support.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"chart-canvas-interaction-support.d.ts","sourceRoot":"","sources":["../../../src/viewer/composables/chart-canvas-interaction-support.ts"],"names":[],"mappings":"AAEA,OAAO,EACN,qBAAqB,IAAI,2BAA2B,EACpD,uBAAuB,IAAI,6BAA6B,EACxD,mBAAmB,IAAI,yBAAyB,EAEhD,4BAA4B,EAC5B,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAE9D;;;;;;;;;;GAUG;AAEH,4EAA4E;AAC5E,eAAO,MAAM,iBAAiB,IAA0B,CAAC;AAEzD,gFAAgF;AAChF,eAAO,MAAM,uBAAuB,qCAA+B,CAAC;AAEpE,gEAAgE;AAChE,eAAO,MAAM,uBAAuB,sCAAgC,CAAC;AAErE,wFAAwF;AACxF,eAAO,MAAM,mBAAmB,kCAA4B,CAAC;AAE7D,4DAA4D;AAC5D,eAAO,MAAM,qBAAqB,oCAA8B,CAAC;AAEjE,mDAAmD;AACnD,MAAM,MAAM,eAAe,GAAG,mBAAmB,CAAC"}
1
+ {"version":3,"file":"chart-canvas-interaction-support.d.ts","sourceRoot":"","sources":["../../../src/viewer/composables/chart-canvas-interaction-support.ts"],"names":[],"mappings":"AAEA,OAAO,EACN,oBAAoB,IAAI,0BAA0B,EAClD,qBAAqB,IAAI,2BAA2B,EACpD,uBAAuB,IAAI,6BAA6B,EACxD,kBAAkB,IAAI,wBAAwB,EAC9C,mBAAmB,IAAI,yBAAyB,EAChD,0BAA0B,IAAI,gCAAgC,EAE9D,4BAA4B,EAC5B,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,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ED,MAAM,WAAW,sBAAsB;IACtC,8EAA8E;IAC9E,OAAO,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IAC9B;;;;;OAKG;IACH,gBAAgB,EAAE,WAAW,CAAC,MAAM,EAAE,CAAC,CAAC;IACxC,kFAAkF;IAClF,eAAe,EAAE,WAAW,CAAC,WAAW,CAAC,CAAC;IAC1C,kFAAkF;IAClF,SAAS,EAAE,WAAW,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IACtC,kEAAkE;IAClE,UAAU,EAAE,GAAG,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IAC/B,aAAa,EAAE,CAAC,KAAK,EAAE,YAAY,KAAK,IAAI,CAAC;IAC7C,aAAa,EAAE,CAAC,KAAK,EAAE,YAAY,KAAK,IAAI,CAAC;IAC7C,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,UAAU,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAC;IACxC,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,WAAW,EAAE,MAAM,IAAI,CAAC;CACxB;AAED,wBAAgB,yBAAyB,CACxC,KAAK,EAAE,2BAA2B,GAChC,sBAAsB,CAgMxB"}
1
+ {"version":3,"file":"chart-canvas-interaction.d.ts","sourceRoot":"","sources":["../../../src/viewer/composables/chart-canvas-interaction.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAmC,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAQrF,OAAO,KAAK,EAAgB,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACvE,OAAO,KAAK,EAAE,WAAW,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAe5C;;;;;;;;;;;;;;;;;GAiBG;AAEH,MAAM,WAAW,2BAA2B;IAC3C,2DAA2D;IAC3D,OAAO,EAAE,MAAM,WAAW,CAAC;IAC3B,+EAA+E;IAC/E,WAAW,EAAE,MAAM,OAAO,CAAC;IAC3B,8EAA8E;IAC9E,MAAM,EAAE,GAAG,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;IAChC;;;OAGG;IACH,cAAc,EAAE,CAAC,OAAO,EAAE,WAAW,KAAK,cAAc,CAAC;CACzD;AAED,MAAM,WAAW,sBAAsB;IACtC,8EAA8E;IAC9E,OAAO,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IAC9B;;;;;OAKG;IACH,gBAAgB,EAAE,WAAW,CAAC,MAAM,EAAE,CAAC,CAAC;IACxC,kFAAkF;IAClF,eAAe,EAAE,WAAW,CAAC,WAAW,CAAC,CAAC;IAC1C,kFAAkF;IAClF,SAAS,EAAE,WAAW,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IACtC,kEAAkE;IAClE,UAAU,EAAE,GAAG,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IAC/B,aAAa,EAAE,CAAC,KAAK,EAAE,YAAY,KAAK,IAAI,CAAC;IAC7C,aAAa,EAAE,CAAC,KAAK,EAAE,YAAY,KAAK,IAAI,CAAC;IAC7C,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,UAAU,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAC;IACxC,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,WAAW,EAAE,MAAM,IAAI,CAAC;CACxB;AAED,wBAAgB,yBAAyB,CACxC,KAAK,EAAE,2BAA2B,GAChC,sBAAsB,CA0PxB"}
@@ -25,6 +25,14 @@ export interface UseCollaborationOptions {
25
25
  * elected-writer write-back can merge template edits back into the saved file.
26
26
  */
27
27
  getTemplateElements?: () => Record<string, import('pptx-viewer-core').PptxElement[]>;
28
+ /**
29
+ * Session-level save options (view properties, table styles, tags, deck
30
+ * properties, ...), built the same way as the Save/Export path
31
+ * (`buildDeckSaveOptions`). Without this the elected-writer write-back
32
+ * called `handler.save(slides)` with NO options, so an owner's write-back
33
+ * file dropped every session-level edit outside `slides`.
34
+ */
35
+ getSaveOptions?: () => import('pptx-viewer-core').PptxHandlerSaveOptions;
28
36
  /**
29
37
  * Monotonic counter bumped each time the content-load pipeline finishes
30
38
  * applying a parsed deck to viewer state. A local load that lands while the
@@ -1 +1 @@
1
- {"version":3,"file":"collaboration-types.d.ts","sourceRoot":"","sources":["../../../src/viewer/composables/collaboration-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,aAAa,EACb,gBAAgB,EAChB,mBAAmB,EACnB,wBAAwB,EACxB,iBAAiB,EACjB,MAAM,oBAAoB,CAAC;AAC5B;;;GAGG;AACH,OAAO,KAAK,EAAE,GAAG,EAAE,WAAW,EAAE,MAAM,KAAK,CAAC;AAE5C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wCAAwC,CAAC;AAE3E,YAAY,EAAE,aAAa,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,CAAC;AAEtE,MAAM,WAAW,uBAAuB;IACvC,oEAAoE;IACpE,MAAM,EAAE,GAAG,CAAC,OAAO,kBAAkB,EAAE,SAAS,EAAE,CAAC,CAAC;IACpD,8DAA8D;IAC9D,cAAc,EAAE,CAAC,MAAM,EAAE,OAAO,kBAAkB,EAAE,SAAS,EAAE,KAAK,IAAI,CAAC;IACzE,uCAAuC;IACvC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,WAAW,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC;IACnC,YAAY,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC;IACpC;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,UAAU,GAAG,IAAI,CAAC;IACzC;;;OAGG;IACH,mBAAmB,CAAC,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,kBAAkB,EAAE,WAAW,EAAE,CAAC,CAAC;IACrF;;;;;;OAMG;IACH,WA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CAAC;IAC3B,SAAS,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,YAAY,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IACtC,cAAc,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,UAAU,EAAE,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IAC9C;;;;;OAKG;IACH,WAAW,EAAE,wBAAwB,CAAC;CACtC"}
1
+ {"version":3,"file":"collaboration-types.d.ts","sourceRoot":"","sources":["../../../src/viewer/composables/collaboration-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,aAAa,EACb,gBAAgB,EAChB,mBAAmB,EACnB,wBAAwB,EACxB,iBAAiB,EACjB,MAAM,oBAAoB,CAAC;AAC5B;;;GAGG;AACH,OAAO,KAAK,EAAE,GAAG,EAAE,WAAW,EAAE,MAAM,KAAK,CAAC;AAE5C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wCAAwC,CAAC;AAE3E,YAAY,EAAE,aAAa,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,CAAC;AAEtE,MAAM,WAAW,uBAAuB;IACvC,oEAAoE;IACpE,MAAM,EAAE,GAAG,CAAC,OAAO,kBAAkB,EAAE,SAAS,EAAE,CAAC,CAAC;IACpD,8DAA8D;IAC9D,cAAc,EAAE,CAAC,MAAM,EAAE,OAAO,kBAAkB,EAAE,SAAS,EAAE,KAAK,IAAI,CAAC;IACzE,uCAAuC;IACvC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,WAAW,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC;IACnC,YAAY,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC;IACpC;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,UAAU,GAAG,IAAI,C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,WAAW,EACf,aAAa,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,GAChC,MAAM,GAAG,SAAS,CAEpB"}
1
+ {"version":3,"file":"element-style.d.ts","sourceRoot":"","sources":["../../../src/viewer/composables/element-style.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAchE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,KAAK,CAAC;AAKzC;;;;;;;;;;GAUG;AAMH;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,EAAE,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,GAAG,aAAa,CAEhF;AAED;;;;;;;GAOG;AACH,wBAAgB,uBAAuB,CACtC,EAAE,EAAE,WAAW,EACf,eAAe,CAAC,EAAE,UAAU,EAM5B,YAAY,CAAC,EAAE,OAAO,EACtB,cAAc,CAAC,EAAE,OAAO,GACtB,aAAa,CA0Kf;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,iBAAiB,CAAC,EAAE,EAAE,WAAW,GAAG,aAAa,CAShE;AAED,gFAAgF;AAChF,wBAAgB,WAAW,CAC1B,EAAE,EAAE,WAAW,EACf,aAAa,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,GAChC,MAAM,GAAG,SAAS,CAEpB"}
@@ -12,6 +12,18 @@ export interface UseAnimationPlaybackOptions {
12
12
  onPlayActionSound?: (soundPath: string) => void;
13
13
  /** Root element to scope media-command (`p:cmd`) target lookups to. */
14
14
  frameRoot?: () => HTMLElement | null;
15
+ /**
16
+ * The slide canvas size (px), in the same unit the elements' own
17
+ * `x`/`y`/`width`/`height` are authored in. Lets `PresentationAnimationController
18
+ * .fromSlide` resolve a `p:anim` formula that needs the animated shape's real
19
+ * box (e.g. Grow And Turn's `-#ppt_w/2` fly-in) instead of falling back.
20
+ */
21
+ canvasSize?: MaybeRefOrGetter<{
22
+ width: number;
23
+ height: number;
24
+ } | undefined>;
25
+ /** The deck's resolved theme colour map, for a scheme-colour (`a:schemeClr`) animation stop. */
26
+ themeColorMap?: MaybeRefOrGetter<Readonly<Record<string, string>> | undefined>;
15
27
  }
16
28
  export interface UseAnimationPlaybackResult {
17
29
  /** Reactive per-element native-animation state, keyed by element id. */