pptx-react-viewer 3.19.0 → 3.19.2

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 (138) hide show
  1. package/CHANGELOG.md +82 -0
  2. package/dist/{AiChatPanel-WDVU4RIM.js → AiChatPanel-KILEXOPT.js} +24 -24
  3. package/dist/AiChatPanel-KILEXOPT.js.br +0 -0
  4. package/dist/AiChatPanel-KILEXOPT.js.gz +0 -0
  5. package/dist/{AiChatPanel-3M7XWTVE.mjs → AiChatPanel-ZH52BQBE.mjs} +3 -3
  6. package/dist/AiChatPanel-ZH52BQBE.mjs.br +0 -0
  7. package/dist/AiChatPanel-ZH52BQBE.mjs.gz +0 -0
  8. package/dist/{Area3DChartScene-N5KPQFC6.js → Area3DChartScene-HS7EBQLQ.js} +2 -2
  9. package/dist/Area3DChartScene-HS7EBQLQ.js.br +0 -0
  10. package/dist/Area3DChartScene-HS7EBQLQ.js.gz +0 -0
  11. package/dist/{Area3DChartScene-CTVWVXNW.mjs → Area3DChartScene-UHN7ZOZT.mjs} +1 -1
  12. package/dist/{Area3DChartScene-CTVWVXNW.mjs.br → Area3DChartScene-UHN7ZOZT.mjs.br} +0 -0
  13. package/dist/Area3DChartScene-UHN7ZOZT.mjs.gz +0 -0
  14. package/dist/{Bar3DChartScene-3QRUPVPT.js → Bar3DChartScene-E57TRVUU.js} +2 -2
  15. package/dist/Bar3DChartScene-E57TRVUU.js.br +0 -0
  16. package/dist/Bar3DChartScene-E57TRVUU.js.gz +0 -0
  17. package/dist/{Bar3DChartScene-PXFSFZRX.mjs → Bar3DChartScene-TFGSYASD.mjs} +1 -1
  18. package/dist/{Bar3DChartScene-PXFSFZRX.mjs.br → Bar3DChartScene-TFGSYASD.mjs.br} +0 -0
  19. package/dist/Bar3DChartScene-TFGSYASD.mjs.gz +0 -0
  20. package/dist/{Line3DChartScene-776WLKR5.js → Line3DChartScene-NM7YYLZD.js} +2 -2
  21. package/dist/Line3DChartScene-NM7YYLZD.js.br +0 -0
  22. package/dist/Line3DChartScene-NM7YYLZD.js.gz +0 -0
  23. package/dist/{Line3DChartScene-LLL3BU4Q.mjs → Line3DChartScene-RES5D7W7.mjs} +1 -1
  24. package/dist/{Line3DChartScene-LLL3BU4Q.mjs.br → Line3DChartScene-RES5D7W7.mjs.br} +0 -0
  25. package/dist/Line3DChartScene-RES5D7W7.mjs.gz +0 -0
  26. package/dist/{Model3DScene-FMQ4FDC5.mjs → Model3DScene-6CWFGE7M.mjs} +1 -1
  27. package/dist/Model3DScene-6CWFGE7M.mjs.br +0 -0
  28. package/dist/Model3DScene-6CWFGE7M.mjs.gz +0 -0
  29. package/dist/{Model3DScene-7TM2XSJY.js → Model3DScene-SL3QF63O.js} +2 -2
  30. package/dist/Model3DScene-SL3QF63O.js.br +0 -0
  31. package/dist/Model3DScene-SL3QF63O.js.gz +0 -0
  32. package/dist/{PieChart3DScene-2YNQ5J7A.mjs → PieChart3DScene-QYJUOYMB.mjs} +1 -1
  33. package/dist/{PieChart3DScene-2YNQ5J7A.mjs.br → PieChart3DScene-QYJUOYMB.mjs.br} +0 -0
  34. package/dist/PieChart3DScene-QYJUOYMB.mjs.gz +0 -0
  35. package/dist/{PieChart3DScene-DZY4MQCG.js → PieChart3DScene-WIVYOQUQ.js} +2 -2
  36. package/dist/PieChart3DScene-WIVYOQUQ.js.br +0 -0
  37. package/dist/PieChart3DScene-WIVYOQUQ.js.gz +0 -0
  38. package/dist/{SurfaceChart3DScene-G3MWPEL3.js → SurfaceChart3DScene-QCUYYQBZ.js} +2 -2
  39. package/dist/SurfaceChart3DScene-QCUYYQBZ.js.br +0 -0
  40. package/dist/SurfaceChart3DScene-QCUYYQBZ.js.gz +0 -0
  41. package/dist/{SurfaceChart3DScene-XJHLH2EM.mjs → SurfaceChart3DScene-Y2LF73QQ.mjs} +1 -1
  42. package/dist/{SurfaceChart3DScene-XJHLH2EM.mjs.br → SurfaceChart3DScene-Y2LF73QQ.mjs.br} +0 -0
  43. package/dist/SurfaceChart3DScene-Y2LF73QQ.mjs.gz +0 -0
  44. package/dist/{chunk-2QWLARCW.js → chunk-2LK3OHAN.js} +824 -813
  45. package/dist/chunk-2LK3OHAN.js.br +0 -0
  46. package/dist/chunk-2LK3OHAN.js.gz +0 -0
  47. package/dist/{chunk-7VFH2FRI.mjs → chunk-7XJ7I6TJ.mjs} +11 -6
  48. package/dist/chunk-7XJ7I6TJ.mjs.br +0 -0
  49. package/dist/chunk-7XJ7I6TJ.mjs.gz +0 -0
  50. package/dist/{chunk-V3BOQ52U.mjs → chunk-ATKAU2J4.mjs} +64 -56
  51. package/dist/chunk-ATKAU2J4.mjs.br +0 -0
  52. package/dist/chunk-ATKAU2J4.mjs.gz +0 -0
  53. package/dist/{chunk-36O4SE4R.js → chunk-F7VYECOL.js} +5 -5
  54. package/dist/chunk-F7VYECOL.js.br +0 -0
  55. package/dist/chunk-F7VYECOL.js.gz +0 -0
  56. package/dist/{chunk-F552WUJN.mjs → chunk-GULL4H2I.mjs} +354 -206
  57. package/dist/chunk-GULL4H2I.mjs.br +0 -0
  58. package/dist/chunk-GULL4H2I.mjs.gz +0 -0
  59. package/dist/{chunk-3R5A2E2K.mjs → chunk-M5BAPEQL.mjs} +50 -39
  60. package/dist/chunk-M5BAPEQL.mjs.br +0 -0
  61. package/dist/chunk-M5BAPEQL.mjs.gz +0 -0
  62. package/dist/{chunk-4KKKJ5MJ.mjs → chunk-NEMPFYZ5.mjs} +1 -1
  63. package/dist/chunk-NEMPFYZ5.mjs.br +0 -0
  64. package/dist/chunk-NEMPFYZ5.mjs.gz +0 -0
  65. package/dist/{chunk-6DYDAKHG.js → chunk-RPPLJQ6R.js} +1102 -1094
  66. package/dist/chunk-RPPLJQ6R.js.br +0 -0
  67. package/dist/chunk-RPPLJQ6R.js.gz +0 -0
  68. package/dist/{chunk-V6S72IRP.js → chunk-YH4ODPSH.js} +182 -177
  69. package/dist/chunk-YH4ODPSH.js.br +0 -0
  70. package/dist/chunk-YH4ODPSH.js.gz +0 -0
  71. package/dist/{chunk-LBMPJYAR.js → chunk-ZUIM5737.js} +356 -205
  72. package/dist/chunk-ZUIM5737.js.br +0 -0
  73. package/dist/chunk-ZUIM5737.js.gz +0 -0
  74. package/dist/index.d.ts +38 -0
  75. package/dist/index.js +46 -46
  76. package/dist/index.js.br +0 -0
  77. package/dist/index.js.gz +0 -0
  78. package/dist/index.mjs +5 -5
  79. package/dist/index.mjs.br +0 -0
  80. package/dist/index.mjs.gz +0 -0
  81. package/dist/internals.d.ts +38 -0
  82. package/dist/internals.js +104 -104
  83. package/dist/internals.js.br +0 -0
  84. package/dist/internals.js.gz +0 -0
  85. package/dist/internals.mjs +3 -3
  86. package/dist/internals.mjs.br +0 -0
  87. package/dist/internals.mjs.gz +0 -0
  88. package/dist/viewer/index.d.ts +38 -0
  89. package/dist/viewer/index.js +26 -26
  90. package/dist/viewer/index.js.br +0 -0
  91. package/dist/viewer/index.js.gz +0 -0
  92. package/dist/viewer/index.mjs +5 -5
  93. package/dist/viewer/index.mjs.br +0 -0
  94. package/dist/viewer/index.mjs.gz +0 -0
  95. package/package.json +1 -1
  96. package/dist/AiChatPanel-3M7XWTVE.mjs.br +0 -0
  97. package/dist/AiChatPanel-3M7XWTVE.mjs.gz +0 -0
  98. package/dist/AiChatPanel-WDVU4RIM.js.br +0 -0
  99. package/dist/AiChatPanel-WDVU4RIM.js.gz +0 -0
  100. package/dist/Area3DChartScene-CTVWVXNW.mjs.gz +0 -0
  101. package/dist/Area3DChartScene-N5KPQFC6.js.br +0 -0
  102. package/dist/Area3DChartScene-N5KPQFC6.js.gz +0 -0
  103. package/dist/Bar3DChartScene-3QRUPVPT.js.br +0 -0
  104. package/dist/Bar3DChartScene-3QRUPVPT.js.gz +0 -0
  105. package/dist/Bar3DChartScene-PXFSFZRX.mjs.gz +0 -0
  106. package/dist/Line3DChartScene-776WLKR5.js.br +0 -0
  107. package/dist/Line3DChartScene-776WLKR5.js.gz +0 -0
  108. package/dist/Line3DChartScene-LLL3BU4Q.mjs.gz +0 -0
  109. package/dist/Model3DScene-7TM2XSJY.js.br +0 -0
  110. package/dist/Model3DScene-7TM2XSJY.js.gz +0 -0
  111. package/dist/Model3DScene-FMQ4FDC5.mjs.br +0 -0
  112. package/dist/Model3DScene-FMQ4FDC5.mjs.gz +0 -0
  113. package/dist/PieChart3DScene-2YNQ5J7A.mjs.gz +0 -0
  114. package/dist/PieChart3DScene-DZY4MQCG.js.br +0 -0
  115. package/dist/PieChart3DScene-DZY4MQCG.js.gz +0 -0
  116. package/dist/SurfaceChart3DScene-G3MWPEL3.js.br +0 -0
  117. package/dist/SurfaceChart3DScene-G3MWPEL3.js.gz +0 -0
  118. package/dist/SurfaceChart3DScene-XJHLH2EM.mjs.gz +0 -0
  119. package/dist/chunk-2QWLARCW.js.br +0 -0
  120. package/dist/chunk-2QWLARCW.js.gz +0 -0
  121. package/dist/chunk-36O4SE4R.js.br +0 -0
  122. package/dist/chunk-36O4SE4R.js.gz +0 -0
  123. package/dist/chunk-3R5A2E2K.mjs.br +0 -0
  124. package/dist/chunk-3R5A2E2K.mjs.gz +0 -0
  125. package/dist/chunk-4KKKJ5MJ.mjs.br +0 -0
  126. package/dist/chunk-4KKKJ5MJ.mjs.gz +0 -0
  127. package/dist/chunk-6DYDAKHG.js.br +0 -0
  128. package/dist/chunk-6DYDAKHG.js.gz +0 -0
  129. package/dist/chunk-7VFH2FRI.mjs.br +0 -0
  130. package/dist/chunk-7VFH2FRI.mjs.gz +0 -0
  131. package/dist/chunk-F552WUJN.mjs.br +0 -0
  132. package/dist/chunk-F552WUJN.mjs.gz +0 -0
  133. package/dist/chunk-LBMPJYAR.js.br +0 -0
  134. package/dist/chunk-LBMPJYAR.js.gz +0 -0
  135. package/dist/chunk-V3BOQ52U.mjs.br +0 -0
  136. package/dist/chunk-V3BOQ52U.mjs.gz +0 -0
  137. package/dist/chunk-V6S72IRP.js.br +0 -0
  138. package/dist/chunk-V6S72IRP.js.gz +0 -0
Binary file
Binary file
package/dist/index.d.ts CHANGED
@@ -955,6 +955,13 @@ interface ShapeStyle {
955
955
  fillImageUrl?: string;
956
956
  /** How the image is sized within the shape: stretch to fill, or tile/repeat. */
957
957
  fillImageMode?: 'stretch' | 'tile';
958
+ /** Whether the image fill rotates/flips with the shape (`a:blipFill/@rotWithShape`).
959
+ * Defaults to true per the schema; preserved for round-trip when the source
960
+ * authored the attribute explicitly. When false, the shape's own geometry
961
+ * (clip-path/outline) still carries the shape's rotation/flip, but the
962
+ * picture content inside stays fixed to the page frame (upright), matching
963
+ * PowerPoint. See `pptx-viewer-shared`'s `getImageFillCounterTransform`. */
964
+ fillImageRotWithShape?: boolean;
958
965
  fillGradientStops?: Array<{
959
966
  color: string;
960
967
  position: number;
@@ -2415,6 +2422,13 @@ type PptxChartPictureFormat = 'stretch' | 'stack' | 'stackScale';
2415
2422
  * "Picture or texture fill" with "Stack"/"Stretch" semantics on a bar/column
2416
2423
  * data point, distinct from the point's plain `c:spPr` solid/gradient fill.
2417
2424
  *
2425
+ * `c:pictureOptions` is optional: a point/series whose `c:spPr` carries a bare
2426
+ * `a:blipFill` with NO `c:pictureOptions` sibling at all is still a fully
2427
+ * legal, common picture fill (PowerPoint's own default "stretch, no stack"
2428
+ * when the format pane never touched the stack settings); `parseChartDataPointPicture`
2429
+ * synthesizes this descriptor (`pictureFormat: 'stretch'`) in that case so the
2430
+ * SAME render pipeline resolves it, rather than silently dropping the fill.
2431
+ *
2418
2432
  * The flags parse purely (`parseChartDataPointPicture` in
2419
2433
  * `utils/chart-datapoint-serializer.ts`); {@link imageUrl} is a separate,
2420
2434
  * later addition populated by the runtime (`PptxHandlerRuntimeChartParsing.ts`)
@@ -2440,6 +2454,12 @@ interface PptxChartDataPointPicture {
2440
2454
  * when the point has no picture fill or the image could not be resolved.
2441
2455
  */
2442
2456
  imageUrl?: string;
2457
+ /**
2458
+ * Effective opacity (0-1) from the blip's `a:alphaModFix/@amt` (a
2459
+ * thousandths-of-a-percent value, so `amt="60000"` is `0.6`). `undefined`
2460
+ * when the blip carries no `alphaModFix`, meaning fully opaque.
2461
+ */
2462
+ opacity?: number;
2443
2463
  }
2444
2464
  //#endregion
2445
2465
  //#region src/core/types/chart-pivot-format.d.ts
@@ -3093,6 +3113,17 @@ interface PptxChartDataPoint {
3093
3113
  bubble3D?: boolean;
3094
3114
  /** Per-point picture-fill flags (`c:dPt/c:pictureOptions`). */
3095
3115
  picture?: PptxChartDataPointPicture;
3116
+ /**
3117
+ * A picture fill implied by a bare `c:dPt/c:spPr/a:blipFill` with NO
3118
+ * sibling `c:pictureOptions` at all: still a fully legal "stretch, no
3119
+ * stack" picture fill, just one PowerPoint's format pane never touched the
3120
+ * stack settings for. Render-derived only: unlike {@link picture}, this is
3121
+ * never written back on save (the original, untouched `c:spPr` already
3122
+ * round-trips verbatim), so populating it can never desync the saved file
3123
+ * from what was authored. See `chart-datapoint-picture.ts`'s
3124
+ * `parseImplicitBlipPictureFill`.
3125
+ */
3126
+ impliedPicture?: PptxChartDataPointPicture;
3096
3127
  /**
3097
3128
  * This point's identity GUID (`c:dPt/c:extLst/c:ext/c16:uniqueId/@val`,
3098
3129
  * the Office 2014+ `{C3380CC4-5D6E-409C-BE32-E72D297353CC}` chart
@@ -3459,6 +3490,13 @@ interface PptxChartSeries {
3459
3490
  * when the point has none of its own.
3460
3491
  */
3461
3492
  picture?: PptxChartDataPointPicture;
3493
+ /**
3494
+ * A picture fill implied by a bare `c:ser/c:spPr/a:blipFill` with NO
3495
+ * sibling `c:pictureOptions` at all. See
3496
+ * {@link PptxChartDataPoint.impliedPicture}'s doc comment: same
3497
+ * render-only, never-serialized-back convention, at the series level.
3498
+ */
3499
+ impliedPicture?: PptxChartDataPointPicture;
3462
3500
  /**
3463
3501
  * This series' identity GUID (`c:ser/c:extLst/c:ext/c16:uniqueId/@val`,
3464
3502
  * the Office 2014+ `{C3380CC4-5D6E-409C-BE32-E72D297353CC}` chart
package/dist/index.js CHANGED
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var chunk6DYDAKHG_js = require('./chunk-6DYDAKHG.js');
4
- require('./chunk-36O4SE4R.js');
5
- var chunk2QWLARCW_js = require('./chunk-2QWLARCW.js');
6
- var chunkV6S72IRP_js = require('./chunk-V6S72IRP.js');
7
- var chunkLBMPJYAR_js = require('./chunk-LBMPJYAR.js');
3
+ var chunkRPPLJQ6R_js = require('./chunk-RPPLJQ6R.js');
4
+ require('./chunk-F7VYECOL.js');
5
+ var chunk2LK3OHAN_js = require('./chunk-2LK3OHAN.js');
6
+ var chunkYH4ODPSH_js = require('./chunk-YH4ODPSH.js');
7
+ var chunkZUIM5737_js = require('./chunk-ZUIM5737.js');
8
8
  var chunkBRJN3ZMG_js = require('./chunk-BRJN3ZMG.js');
9
9
  require('./chunk-4VNS5WPM.js');
10
10
 
@@ -12,167 +12,167 @@ require('./chunk-4VNS5WPM.js');
12
12
 
13
13
  Object.defineProperty(exports, "PowerPointViewer", {
14
14
  enumerable: true,
15
- get: function () { return chunk6DYDAKHG_js.PowerPointViewer; }
15
+ get: function () { return chunkRPPLJQ6R_js.PowerPointViewer; }
16
16
  });
17
17
  Object.defineProperty(exports, "SlideCanvas", {
18
18
  enumerable: true,
19
- get: function () { return chunk6DYDAKHG_js.SlideCanvas; }
19
+ get: function () { return chunkRPPLJQ6R_js.SlideCanvas; }
20
20
  });
21
21
  Object.defineProperty(exports, "SlideTemplateGalleryDialog", {
22
22
  enumerable: true,
23
- get: function () { return chunk6DYDAKHG_js.SlideTemplateGalleryDialog; }
23
+ get: function () { return chunkRPPLJQ6R_js.SlideTemplateGalleryDialog; }
24
24
  });
25
25
  Object.defineProperty(exports, "SlideTemplatePreview", {
26
26
  enumerable: true,
27
- get: function () { return chunk6DYDAKHG_js.SlideTemplatePreview; }
27
+ get: function () { return chunkRPPLJQ6R_js.SlideTemplatePreview; }
28
28
  });
29
29
  Object.defineProperty(exports, "Toolbar", {
30
30
  enumerable: true,
31
- get: function () { return chunk6DYDAKHG_js.Toolbar; }
31
+ get: function () { return chunkRPPLJQ6R_js.Toolbar; }
32
32
  });
33
33
  Object.defineProperty(exports, "ViewerThemeProvider", {
34
34
  enumerable: true,
35
- get: function () { return chunk6DYDAKHG_js.ViewerThemeProvider; }
35
+ get: function () { return chunkRPPLJQ6R_js.ViewerThemeProvider; }
36
36
  });
37
37
  Object.defineProperty(exports, "useViewerTheme", {
38
38
  enumerable: true,
39
- get: function () { return chunk6DYDAKHG_js.useViewerTheme; }
39
+ get: function () { return chunkRPPLJQ6R_js.useViewerTheme; }
40
40
  });
41
41
  Object.defineProperty(exports, "renderToCanvas", {
42
42
  enumerable: true,
43
- get: function () { return chunk2QWLARCW_js.renderToCanvas; }
43
+ get: function () { return chunk2LK3OHAN_js.renderToCanvas; }
44
44
  });
45
45
  Object.defineProperty(exports, "useViewerBuildingBlocks", {
46
46
  enumerable: true,
47
- get: function () { return chunk2QWLARCW_js.useViewerBuildingBlocks; }
47
+ get: function () { return chunk2LK3OHAN_js.useViewerBuildingBlocks; }
48
48
  });
49
49
  Object.defineProperty(exports, "getAnimationInitialStyle", {
50
50
  enumerable: true,
51
- get: function () { return chunkV6S72IRP_js.getAnimationInitialStyle; }
51
+ get: function () { return chunkYH4ODPSH_js.getAnimationInitialStyle; }
52
52
  });
53
53
  Object.defineProperty(exports, "AVATAR_COLOR_SWATCHES", {
54
54
  enumerable: true,
55
- get: function () { return chunkLBMPJYAR_js.AVATAR_COLOR_SWATCHES; }
55
+ get: function () { return chunkZUIM5737_js.AVATAR_COLOR_SWATCHES; }
56
56
  });
57
57
  Object.defineProperty(exports, "DEFAULT_VIEWER_PROFILE", {
58
58
  enumerable: true,
59
- get: function () { return chunkLBMPJYAR_js.DEFAULT_VIEWER_PROFILE; }
59
+ get: function () { return chunkZUIM5737_js.DEFAULT_VIEWER_PROFILE; }
60
60
  });
61
61
  Object.defineProperty(exports, "PPTX_OPEN_ACCEPT", {
62
62
  enumerable: true,
63
- get: function () { return chunkLBMPJYAR_js.PPTX_OPEN_ACCEPT; }
63
+ get: function () { return chunkZUIM5737_js.PPTX_OPEN_ACCEPT; }
64
64
  });
65
65
  Object.defineProperty(exports, "PRESENTATION_OPEN_EXTENSIONS", {
66
66
  enumerable: true,
67
- get: function () { return chunkLBMPJYAR_js.PRESENTATION_OPEN_EXTENSIONS; }
67
+ get: function () { return chunkZUIM5737_js.PRESENTATION_OPEN_EXTENSIONS; }
68
68
  });
69
69
  Object.defineProperty(exports, "SLIDE_TEMPLATES", {
70
70
  enumerable: true,
71
- get: function () { return chunkLBMPJYAR_js.SLIDE_TEMPLATES; }
71
+ get: function () { return chunkZUIM5737_js.SLIDE_TEMPLATES; }
72
72
  });
73
73
  Object.defineProperty(exports, "THEME_CATALOG", {
74
74
  enumerable: true,
75
- get: function () { return chunkLBMPJYAR_js.THEME_CATALOG; }
75
+ get: function () { return chunkZUIM5737_js.THEME_CATALOG; }
76
76
  });
77
77
  Object.defineProperty(exports, "VIEWER_PREFS_STORAGE_KEY", {
78
78
  enumerable: true,
79
- get: function () { return chunkLBMPJYAR_js.VIEWER_PREFS_STORAGE_KEY; }
79
+ get: function () { return chunkZUIM5737_js.VIEWER_PREFS_STORAGE_KEY; }
80
80
  });
81
81
  Object.defineProperty(exports, "buildSlideTemplateContent", {
82
82
  enumerable: true,
83
- get: function () { return chunkLBMPJYAR_js.buildSlideTemplateContent; }
83
+ get: function () { return chunkZUIM5737_js.buildSlideTemplateContent; }
84
84
  });
85
85
  Object.defineProperty(exports, "buildSlideTemplateSlide", {
86
86
  enumerable: true,
87
- get: function () { return chunkLBMPJYAR_js.buildSlideTemplateSlide; }
87
+ get: function () { return chunkZUIM5737_js.buildSlideTemplateSlide; }
88
88
  });
89
89
  Object.defineProperty(exports, "clearAllLocalViewerData", {
90
90
  enumerable: true,
91
- get: function () { return chunkLBMPJYAR_js.clearAllLocalViewerData; }
91
+ get: function () { return chunkZUIM5737_js.clearAllLocalViewerData; }
92
92
  });
93
93
  Object.defineProperty(exports, "clearStoredViewerPrefs", {
94
94
  enumerable: true,
95
- get: function () { return chunkLBMPJYAR_js.clearStoredViewerPrefs; }
95
+ get: function () { return chunkZUIM5737_js.clearStoredViewerPrefs; }
96
96
  });
97
97
  Object.defineProperty(exports, "createImageElementFromFile", {
98
98
  enumerable: true,
99
- get: function () { return chunkLBMPJYAR_js.createImageElementFromFile; }
99
+ get: function () { return chunkZUIM5737_js.createImageElementFromFile; }
100
100
  });
101
101
  Object.defineProperty(exports, "defaultCssVars", {
102
102
  enumerable: true,
103
- get: function () { return chunkLBMPJYAR_js.defaultCssVars; }
103
+ get: function () { return chunkZUIM5737_js.defaultCssVars; }
104
104
  });
105
105
  Object.defineProperty(exports, "defaultRadius", {
106
106
  enumerable: true,
107
- get: function () { return chunkLBMPJYAR_js.defaultRadius; }
107
+ get: function () { return chunkZUIM5737_js.defaultRadius; }
108
108
  });
109
109
  Object.defineProperty(exports, "defaultThemeColors", {
110
110
  enumerable: true,
111
- get: function () { return chunkLBMPJYAR_js.defaultThemeColors; }
111
+ get: function () { return chunkZUIM5737_js.defaultThemeColors; }
112
112
  });
113
113
  Object.defineProperty(exports, "getLocalStorageUsageSummary", {
114
114
  enumerable: true,
115
- get: function () { return chunkLBMPJYAR_js.getLocalStorageUsageSummary; }
115
+ get: function () { return chunkZUIM5737_js.getLocalStorageUsageSummary; }
116
116
  });
117
117
  Object.defineProperty(exports, "isLegacyBinaryPresentation", {
118
118
  enumerable: true,
119
- get: function () { return chunkLBMPJYAR_js.isLegacyBinaryPresentation; }
119
+ get: function () { return chunkZUIM5737_js.isLegacyBinaryPresentation; }
120
120
  });
121
121
  Object.defineProperty(exports, "isSupportedPresentationFile", {
122
122
  enumerable: true,
123
- get: function () { return chunkLBMPJYAR_js.isSupportedPresentationFile; }
123
+ get: function () { return chunkZUIM5737_js.isSupportedPresentationFile; }
124
124
  });
125
125
  Object.defineProperty(exports, "presentationBaseName", {
126
126
  enumerable: true,
127
- get: function () { return chunkLBMPJYAR_js.presentationBaseName; }
127
+ get: function () { return chunkZUIM5737_js.presentationBaseName; }
128
128
  });
129
129
  Object.defineProperty(exports, "readStoredViewerPrefs", {
130
130
  enumerable: true,
131
- get: function () { return chunkLBMPJYAR_js.readStoredViewerPrefs; }
131
+ get: function () { return chunkZUIM5737_js.readStoredViewerPrefs; }
132
132
  });
133
133
  Object.defineProperty(exports, "resolveProfileInitial", {
134
134
  enumerable: true,
135
- get: function () { return chunkLBMPJYAR_js.resolveProfileInitial; }
135
+ get: function () { return chunkZUIM5737_js.resolveProfileInitial; }
136
136
  });
137
137
  Object.defineProperty(exports, "resolveThemeCatalogEntry", {
138
138
  enumerable: true,
139
- get: function () { return chunkLBMPJYAR_js.resolveThemeCatalogEntry; }
139
+ get: function () { return chunkZUIM5737_js.resolveThemeCatalogEntry; }
140
140
  });
141
141
  Object.defineProperty(exports, "saveViewerProfile", {
142
142
  enumerable: true,
143
- get: function () { return chunkLBMPJYAR_js.saveViewerProfile; }
143
+ get: function () { return chunkZUIM5737_js.saveViewerProfile; }
144
144
  });
145
145
  Object.defineProperty(exports, "savedPresentationFileName", {
146
146
  enumerable: true,
147
- get: function () { return chunkLBMPJYAR_js.savedPresentationFileName; }
147
+ get: function () { return chunkZUIM5737_js.savedPresentationFileName; }
148
148
  });
149
149
  Object.defineProperty(exports, "themeToCssVars", {
150
150
  enumerable: true,
151
- get: function () { return chunkLBMPJYAR_js.themeToCssVars; }
151
+ get: function () { return chunkZUIM5737_js.themeToCssVars; }
152
152
  });
153
153
  Object.defineProperty(exports, "vermilionDarkColors", {
154
154
  enumerable: true,
155
- get: function () { return chunkLBMPJYAR_js.vermilionDarkColors; }
155
+ get: function () { return chunkZUIM5737_js.vermilionDarkColors; }
156
156
  });
157
157
  Object.defineProperty(exports, "vermilionDarkTheme", {
158
158
  enumerable: true,
159
- get: function () { return chunkLBMPJYAR_js.vermilionDarkTheme; }
159
+ get: function () { return chunkZUIM5737_js.vermilionDarkTheme; }
160
160
  });
161
161
  Object.defineProperty(exports, "vermilionLightColors", {
162
162
  enumerable: true,
163
- get: function () { return chunkLBMPJYAR_js.vermilionLightColors; }
163
+ get: function () { return chunkZUIM5737_js.vermilionLightColors; }
164
164
  });
165
165
  Object.defineProperty(exports, "vermilionLightTheme", {
166
166
  enumerable: true,
167
- get: function () { return chunkLBMPJYAR_js.vermilionLightTheme; }
167
+ get: function () { return chunkZUIM5737_js.vermilionLightTheme; }
168
168
  });
169
169
  Object.defineProperty(exports, "vermilionRadius", {
170
170
  enumerable: true,
171
- get: function () { return chunkLBMPJYAR_js.vermilionRadius; }
171
+ get: function () { return chunkZUIM5737_js.vermilionRadius; }
172
172
  });
173
173
  Object.defineProperty(exports, "writeStoredViewerPrefs", {
174
174
  enumerable: true,
175
- get: function () { return chunkLBMPJYAR_js.writeStoredViewerPrefs; }
175
+ get: function () { return chunkZUIM5737_js.writeStoredViewerPrefs; }
176
176
  });
177
177
  Object.defineProperty(exports, "LOCALE_CATALOG", {
178
178
  enumerable: true,
package/dist/index.js.br CHANGED
Binary file
package/dist/index.js.gz CHANGED
Binary file
package/dist/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
- export { PowerPointViewer, SlideCanvas, SlideTemplateGalleryDialog, SlideTemplatePreview, Toolbar, ViewerThemeProvider, useViewerTheme } from './chunk-V3BOQ52U.mjs';
2
- import './chunk-4KKKJ5MJ.mjs';
3
- export { renderToCanvas, useViewerBuildingBlocks } from './chunk-3R5A2E2K.mjs';
4
- export { getAnimationInitialStyle } from './chunk-7VFH2FRI.mjs';
5
- export { AVATAR_COLOR_SWATCHES, DEFAULT_VIEWER_PROFILE, PPTX_OPEN_ACCEPT, PRESENTATION_OPEN_EXTENSIONS, SLIDE_TEMPLATES, THEME_CATALOG, VIEWER_PREFS_STORAGE_KEY, buildSlideTemplateContent, buildSlideTemplateSlide, clearAllLocalViewerData, clearStoredViewerPrefs, createImageElementFromFile, defaultCssVars, defaultRadius, defaultThemeColors, getLocalStorageUsageSummary, isLegacyBinaryPresentation, isSupportedPresentationFile, presentationBaseName, readStoredViewerPrefs, resolveProfileInitial, resolveThemeCatalogEntry, saveViewerProfile, savedPresentationFileName, themeToCssVars, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius, writeStoredViewerPrefs } from './chunk-F552WUJN.mjs';
1
+ export { PowerPointViewer, SlideCanvas, SlideTemplateGalleryDialog, SlideTemplatePreview, Toolbar, ViewerThemeProvider, useViewerTheme } from './chunk-ATKAU2J4.mjs';
2
+ import './chunk-NEMPFYZ5.mjs';
3
+ export { renderToCanvas, useViewerBuildingBlocks } from './chunk-M5BAPEQL.mjs';
4
+ export { getAnimationInitialStyle } from './chunk-7XJ7I6TJ.mjs';
5
+ export { AVATAR_COLOR_SWATCHES, DEFAULT_VIEWER_PROFILE, PPTX_OPEN_ACCEPT, PRESENTATION_OPEN_EXTENSIONS, SLIDE_TEMPLATES, THEME_CATALOG, VIEWER_PREFS_STORAGE_KEY, buildSlideTemplateContent, buildSlideTemplateSlide, clearAllLocalViewerData, clearStoredViewerPrefs, createImageElementFromFile, defaultCssVars, defaultRadius, defaultThemeColors, getLocalStorageUsageSummary, isLegacyBinaryPresentation, isSupportedPresentationFile, presentationBaseName, readStoredViewerPrefs, resolveProfileInitial, resolveThemeCatalogEntry, saveViewerProfile, savedPresentationFileName, themeToCssVars, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius, writeStoredViewerPrefs } from './chunk-GULL4H2I.mjs';
6
6
  export { LOCALE_CATALOG } from './chunk-MQUTXOET.mjs';
7
7
  import './chunk-XGB3TDIC.mjs';
package/dist/index.mjs.br CHANGED
Binary file
package/dist/index.mjs.gz CHANGED
Binary file
@@ -935,6 +935,13 @@ interface ShapeStyle {
935
935
  fillImageUrl?: string;
936
936
  /** How the image is sized within the shape: stretch to fill, or tile/repeat. */
937
937
  fillImageMode?: 'stretch' | 'tile';
938
+ /** Whether the image fill rotates/flips with the shape (`a:blipFill/@rotWithShape`).
939
+ * Defaults to true per the schema; preserved for round-trip when the source
940
+ * authored the attribute explicitly. When false, the shape's own geometry
941
+ * (clip-path/outline) still carries the shape's rotation/flip, but the
942
+ * picture content inside stays fixed to the page frame (upright), matching
943
+ * PowerPoint. See `pptx-viewer-shared`'s `getImageFillCounterTransform`. */
944
+ fillImageRotWithShape?: boolean;
938
945
  fillGradientStops?: Array<{
939
946
  color: string;
940
947
  position: number;
@@ -2395,6 +2402,13 @@ type PptxChartPictureFormat = 'stretch' | 'stack' | 'stackScale';
2395
2402
  * "Picture or texture fill" with "Stack"/"Stretch" semantics on a bar/column
2396
2403
  * data point, distinct from the point's plain `c:spPr` solid/gradient fill.
2397
2404
  *
2405
+ * `c:pictureOptions` is optional: a point/series whose `c:spPr` carries a bare
2406
+ * `a:blipFill` with NO `c:pictureOptions` sibling at all is still a fully
2407
+ * legal, common picture fill (PowerPoint's own default "stretch, no stack"
2408
+ * when the format pane never touched the stack settings); `parseChartDataPointPicture`
2409
+ * synthesizes this descriptor (`pictureFormat: 'stretch'`) in that case so the
2410
+ * SAME render pipeline resolves it, rather than silently dropping the fill.
2411
+ *
2398
2412
  * The flags parse purely (`parseChartDataPointPicture` in
2399
2413
  * `utils/chart-datapoint-serializer.ts`); {@link imageUrl} is a separate,
2400
2414
  * later addition populated by the runtime (`PptxHandlerRuntimeChartParsing.ts`)
@@ -2420,6 +2434,12 @@ interface PptxChartDataPointPicture {
2420
2434
  * when the point has no picture fill or the image could not be resolved.
2421
2435
  */
2422
2436
  imageUrl?: string;
2437
+ /**
2438
+ * Effective opacity (0-1) from the blip's `a:alphaModFix/@amt` (a
2439
+ * thousandths-of-a-percent value, so `amt="60000"` is `0.6`). `undefined`
2440
+ * when the blip carries no `alphaModFix`, meaning fully opaque.
2441
+ */
2442
+ opacity?: number;
2423
2443
  }
2424
2444
  //#endregion
2425
2445
  //#region src/core/types/chart-pivot-format.d.ts
@@ -3073,6 +3093,17 @@ interface PptxChartDataPoint {
3073
3093
  bubble3D?: boolean;
3074
3094
  /** Per-point picture-fill flags (`c:dPt/c:pictureOptions`). */
3075
3095
  picture?: PptxChartDataPointPicture;
3096
+ /**
3097
+ * A picture fill implied by a bare `c:dPt/c:spPr/a:blipFill` with NO
3098
+ * sibling `c:pictureOptions` at all: still a fully legal "stretch, no
3099
+ * stack" picture fill, just one PowerPoint's format pane never touched the
3100
+ * stack settings for. Render-derived only: unlike {@link picture}, this is
3101
+ * never written back on save (the original, untouched `c:spPr` already
3102
+ * round-trips verbatim), so populating it can never desync the saved file
3103
+ * from what was authored. See `chart-datapoint-picture.ts`'s
3104
+ * `parseImplicitBlipPictureFill`.
3105
+ */
3106
+ impliedPicture?: PptxChartDataPointPicture;
3076
3107
  /**
3077
3108
  * This point's identity GUID (`c:dPt/c:extLst/c:ext/c16:uniqueId/@val`,
3078
3109
  * the Office 2014+ `{C3380CC4-5D6E-409C-BE32-E72D297353CC}` chart
@@ -3439,6 +3470,13 @@ interface PptxChartSeries {
3439
3470
  * when the point has none of its own.
3440
3471
  */
3441
3472
  picture?: PptxChartDataPointPicture;
3473
+ /**
3474
+ * A picture fill implied by a bare `c:ser/c:spPr/a:blipFill` with NO
3475
+ * sibling `c:pictureOptions` at all. See
3476
+ * {@link PptxChartDataPoint.impliedPicture}'s doc comment: same
3477
+ * render-only, never-serialized-back convention, at the series level.
3478
+ */
3479
+ impliedPicture?: PptxChartDataPointPicture;
3442
3480
  /**
3443
3481
  * This series' identity GUID (`c:ser/c:extLst/c:ext/c16:uniqueId/@val`,
3444
3482
  * the Office 2014+ `{C3380CC4-5D6E-409C-BE32-E72D297353CC}` chart