pptx-react-viewer 3.19.1 → 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.
- package/CHANGELOG.md +8 -0
- package/dist/{AiChatPanel-DLADHD56.js → AiChatPanel-KILEXOPT.js} +24 -24
- package/dist/AiChatPanel-KILEXOPT.js.br +0 -0
- package/dist/AiChatPanel-KILEXOPT.js.gz +0 -0
- package/dist/{AiChatPanel-MSALNPYW.mjs → AiChatPanel-ZH52BQBE.mjs} +3 -3
- package/dist/AiChatPanel-ZH52BQBE.mjs.br +0 -0
- package/dist/AiChatPanel-ZH52BQBE.mjs.gz +0 -0
- package/dist/{Area3DChartScene-BQQHOYRS.js → Area3DChartScene-HS7EBQLQ.js} +2 -2
- package/dist/{Area3DChartScene-BQQHOYRS.js.br → Area3DChartScene-HS7EBQLQ.js.br} +0 -0
- package/dist/Area3DChartScene-HS7EBQLQ.js.gz +0 -0
- package/dist/{Area3DChartScene-53ZVPYKG.mjs → Area3DChartScene-UHN7ZOZT.mjs} +1 -1
- package/dist/Area3DChartScene-UHN7ZOZT.mjs.br +0 -0
- package/dist/Area3DChartScene-UHN7ZOZT.mjs.gz +0 -0
- package/dist/{Bar3DChartScene-PNQOIOIH.js → Bar3DChartScene-E57TRVUU.js} +2 -2
- package/dist/{Bar3DChartScene-PNQOIOIH.js.br → Bar3DChartScene-E57TRVUU.js.br} +0 -0
- package/dist/Bar3DChartScene-E57TRVUU.js.gz +0 -0
- package/dist/{Bar3DChartScene-IN67ZH3P.mjs → Bar3DChartScene-TFGSYASD.mjs} +1 -1
- package/dist/{Bar3DChartScene-IN67ZH3P.mjs.br → Bar3DChartScene-TFGSYASD.mjs.br} +0 -0
- package/dist/Bar3DChartScene-TFGSYASD.mjs.gz +0 -0
- package/dist/{Line3DChartScene-CFSTMTFH.js → Line3DChartScene-NM7YYLZD.js} +2 -2
- package/dist/{Line3DChartScene-CFSTMTFH.js.br → Line3DChartScene-NM7YYLZD.js.br} +0 -0
- package/dist/Line3DChartScene-NM7YYLZD.js.gz +0 -0
- package/dist/{Line3DChartScene-4SQUUAOW.mjs → Line3DChartScene-RES5D7W7.mjs} +1 -1
- package/dist/{Line3DChartScene-4SQUUAOW.mjs.br → Line3DChartScene-RES5D7W7.mjs.br} +0 -0
- package/dist/Line3DChartScene-RES5D7W7.mjs.gz +0 -0
- package/dist/{Model3DScene-TA55BJY7.mjs → Model3DScene-6CWFGE7M.mjs} +1 -1
- package/dist/Model3DScene-6CWFGE7M.mjs.br +0 -0
- package/dist/Model3DScene-6CWFGE7M.mjs.gz +0 -0
- package/dist/{Model3DScene-DXNAYZ6P.js → Model3DScene-SL3QF63O.js} +2 -2
- package/dist/Model3DScene-SL3QF63O.js.br +0 -0
- package/dist/Model3DScene-SL3QF63O.js.gz +0 -0
- package/dist/{PieChart3DScene-TQOCHJOY.mjs → PieChart3DScene-QYJUOYMB.mjs} +1 -1
- package/dist/{PieChart3DScene-TQOCHJOY.mjs.br → PieChart3DScene-QYJUOYMB.mjs.br} +0 -0
- package/dist/PieChart3DScene-QYJUOYMB.mjs.gz +0 -0
- package/dist/{PieChart3DScene-NCBKTWAO.js → PieChart3DScene-WIVYOQUQ.js} +2 -2
- package/dist/{PieChart3DScene-NCBKTWAO.js.br → PieChart3DScene-WIVYOQUQ.js.br} +0 -0
- package/dist/PieChart3DScene-WIVYOQUQ.js.gz +0 -0
- package/dist/{SurfaceChart3DScene-VA6IRLFG.js → SurfaceChart3DScene-QCUYYQBZ.js} +2 -2
- package/dist/{SurfaceChart3DScene-VA6IRLFG.js.br → SurfaceChart3DScene-QCUYYQBZ.js.br} +0 -0
- package/dist/SurfaceChart3DScene-QCUYYQBZ.js.gz +0 -0
- package/dist/{SurfaceChart3DScene-7CSF2GPT.mjs → SurfaceChart3DScene-Y2LF73QQ.mjs} +1 -1
- package/dist/{SurfaceChart3DScene-7CSF2GPT.mjs.br → SurfaceChart3DScene-Y2LF73QQ.mjs.br} +0 -0
- package/dist/SurfaceChart3DScene-Y2LF73QQ.mjs.gz +0 -0
- package/dist/{chunk-AZEDCITO.js → chunk-2LK3OHAN.js} +806 -802
- package/dist/chunk-2LK3OHAN.js.br +0 -0
- package/dist/chunk-2LK3OHAN.js.gz +0 -0
- package/dist/{chunk-RCUPQJVY.mjs → chunk-7XJ7I6TJ.mjs} +11 -6
- package/dist/chunk-7XJ7I6TJ.mjs.br +0 -0
- package/dist/chunk-7XJ7I6TJ.mjs.gz +0 -0
- package/dist/{chunk-Z3KMGLXL.mjs → chunk-ATKAU2J4.mjs} +6 -6
- package/dist/chunk-ATKAU2J4.mjs.br +0 -0
- package/dist/chunk-ATKAU2J4.mjs.gz +0 -0
- package/dist/{chunk-YVZKXCML.js → chunk-F7VYECOL.js} +5 -5
- package/dist/chunk-F7VYECOL.js.br +0 -0
- package/dist/chunk-F7VYECOL.js.gz +0 -0
- package/dist/{chunk-3KVLOKA6.mjs → chunk-GULL4H2I.mjs} +340 -206
- package/dist/chunk-GULL4H2I.mjs.br +0 -0
- package/dist/chunk-GULL4H2I.mjs.gz +0 -0
- package/dist/{chunk-DNQ3PGGU.mjs → chunk-M5BAPEQL.mjs} +31 -27
- package/dist/chunk-M5BAPEQL.mjs.br +0 -0
- package/dist/chunk-M5BAPEQL.mjs.gz +0 -0
- package/dist/{chunk-LBKKSCVS.mjs → chunk-NEMPFYZ5.mjs} +1 -1
- package/dist/chunk-NEMPFYZ5.mjs.br +0 -0
- package/dist/chunk-NEMPFYZ5.mjs.gz +0 -0
- package/dist/{chunk-ZHPBQVBK.js → chunk-RPPLJQ6R.js} +1044 -1044
- package/dist/chunk-RPPLJQ6R.js.br +0 -0
- package/dist/chunk-RPPLJQ6R.js.gz +0 -0
- package/dist/{chunk-4WUGOCYU.js → chunk-YH4ODPSH.js} +182 -177
- package/dist/chunk-YH4ODPSH.js.br +0 -0
- package/dist/chunk-YH4ODPSH.js.gz +0 -0
- package/dist/{chunk-EJSRXEXA.js → chunk-ZUIM5737.js} +341 -205
- package/dist/chunk-ZUIM5737.js.br +0 -0
- package/dist/chunk-ZUIM5737.js.gz +0 -0
- package/dist/index.d.ts +38 -0
- package/dist/index.js +46 -46
- package/dist/index.js.br +0 -0
- package/dist/index.js.gz +0 -0
- package/dist/index.mjs +5 -5
- package/dist/index.mjs.br +0 -0
- package/dist/index.mjs.gz +0 -0
- package/dist/internals.d.ts +38 -0
- package/dist/internals.js +104 -104
- package/dist/internals.js.br +0 -0
- package/dist/internals.js.gz +0 -0
- package/dist/internals.mjs +3 -3
- package/dist/internals.mjs.br +0 -0
- package/dist/internals.mjs.gz +0 -0
- package/dist/viewer/index.d.ts +38 -0
- package/dist/viewer/index.js +26 -26
- package/dist/viewer/index.js.br +0 -0
- package/dist/viewer/index.js.gz +0 -0
- package/dist/viewer/index.mjs +5 -5
- package/dist/viewer/index.mjs.br +0 -0
- package/dist/viewer/index.mjs.gz +0 -0
- package/package.json +1 -1
- package/dist/AiChatPanel-DLADHD56.js.br +0 -0
- package/dist/AiChatPanel-DLADHD56.js.gz +0 -0
- package/dist/AiChatPanel-MSALNPYW.mjs.br +0 -0
- package/dist/AiChatPanel-MSALNPYW.mjs.gz +0 -0
- package/dist/Area3DChartScene-53ZVPYKG.mjs.br +0 -0
- package/dist/Area3DChartScene-53ZVPYKG.mjs.gz +0 -0
- package/dist/Area3DChartScene-BQQHOYRS.js.gz +0 -0
- package/dist/Bar3DChartScene-IN67ZH3P.mjs.gz +0 -0
- package/dist/Bar3DChartScene-PNQOIOIH.js.gz +0 -0
- package/dist/Line3DChartScene-4SQUUAOW.mjs.gz +0 -0
- package/dist/Line3DChartScene-CFSTMTFH.js.gz +0 -0
- package/dist/Model3DScene-DXNAYZ6P.js.br +0 -0
- package/dist/Model3DScene-DXNAYZ6P.js.gz +0 -0
- package/dist/Model3DScene-TA55BJY7.mjs.br +0 -0
- package/dist/Model3DScene-TA55BJY7.mjs.gz +0 -0
- package/dist/PieChart3DScene-NCBKTWAO.js.gz +0 -0
- package/dist/PieChart3DScene-TQOCHJOY.mjs.gz +0 -0
- package/dist/SurfaceChart3DScene-7CSF2GPT.mjs.gz +0 -0
- package/dist/SurfaceChart3DScene-VA6IRLFG.js.gz +0 -0
- package/dist/chunk-3KVLOKA6.mjs.br +0 -0
- package/dist/chunk-3KVLOKA6.mjs.gz +0 -0
- package/dist/chunk-4WUGOCYU.js.br +0 -0
- package/dist/chunk-4WUGOCYU.js.gz +0 -0
- package/dist/chunk-AZEDCITO.js.br +0 -0
- package/dist/chunk-AZEDCITO.js.gz +0 -0
- package/dist/chunk-DNQ3PGGU.mjs.br +0 -0
- package/dist/chunk-DNQ3PGGU.mjs.gz +0 -0
- package/dist/chunk-EJSRXEXA.js.br +0 -0
- package/dist/chunk-EJSRXEXA.js.gz +0 -0
- package/dist/chunk-LBKKSCVS.mjs.br +0 -0
- package/dist/chunk-LBKKSCVS.mjs.gz +0 -0
- package/dist/chunk-RCUPQJVY.mjs.br +0 -0
- package/dist/chunk-RCUPQJVY.mjs.gz +0 -0
- package/dist/chunk-YVZKXCML.js.br +0 -0
- package/dist/chunk-YVZKXCML.js.gz +0 -0
- package/dist/chunk-Z3KMGLXL.mjs.br +0 -0
- package/dist/chunk-Z3KMGLXL.mjs.gz +0 -0
- package/dist/chunk-ZHPBQVBK.js.br +0 -0
- package/dist/chunk-ZHPBQVBK.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
|
|
4
|
-
require('./chunk-
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
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
|
|
15
|
+
get: function () { return chunkRPPLJQ6R_js.PowerPointViewer; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "SlideCanvas", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkRPPLJQ6R_js.SlideCanvas; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "SlideTemplateGalleryDialog", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkRPPLJQ6R_js.SlideTemplateGalleryDialog; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "SlideTemplatePreview", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkRPPLJQ6R_js.SlideTemplatePreview; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "Toolbar", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkRPPLJQ6R_js.Toolbar; }
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "ViewerThemeProvider", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunkRPPLJQ6R_js.ViewerThemeProvider; }
|
|
36
36
|
});
|
|
37
37
|
Object.defineProperty(exports, "useViewerTheme", {
|
|
38
38
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunkRPPLJQ6R_js.useViewerTheme; }
|
|
40
40
|
});
|
|
41
41
|
Object.defineProperty(exports, "renderToCanvas", {
|
|
42
42
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunk2LK3OHAN_js.renderToCanvas; }
|
|
44
44
|
});
|
|
45
45
|
Object.defineProperty(exports, "useViewerBuildingBlocks", {
|
|
46
46
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunk2LK3OHAN_js.useViewerBuildingBlocks; }
|
|
48
48
|
});
|
|
49
49
|
Object.defineProperty(exports, "getAnimationInitialStyle", {
|
|
50
50
|
enumerable: true,
|
|
51
|
-
get: function () { return
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
83
|
+
get: function () { return chunkZUIM5737_js.buildSlideTemplateContent; }
|
|
84
84
|
});
|
|
85
85
|
Object.defineProperty(exports, "buildSlideTemplateSlide", {
|
|
86
86
|
enumerable: true,
|
|
87
|
-
get: function () { return
|
|
87
|
+
get: function () { return chunkZUIM5737_js.buildSlideTemplateSlide; }
|
|
88
88
|
});
|
|
89
89
|
Object.defineProperty(exports, "clearAllLocalViewerData", {
|
|
90
90
|
enumerable: true,
|
|
91
|
-
get: function () { return
|
|
91
|
+
get: function () { return chunkZUIM5737_js.clearAllLocalViewerData; }
|
|
92
92
|
});
|
|
93
93
|
Object.defineProperty(exports, "clearStoredViewerPrefs", {
|
|
94
94
|
enumerable: true,
|
|
95
|
-
get: function () { return
|
|
95
|
+
get: function () { return chunkZUIM5737_js.clearStoredViewerPrefs; }
|
|
96
96
|
});
|
|
97
97
|
Object.defineProperty(exports, "createImageElementFromFile", {
|
|
98
98
|
enumerable: true,
|
|
99
|
-
get: function () { return
|
|
99
|
+
get: function () { return chunkZUIM5737_js.createImageElementFromFile; }
|
|
100
100
|
});
|
|
101
101
|
Object.defineProperty(exports, "defaultCssVars", {
|
|
102
102
|
enumerable: true,
|
|
103
|
-
get: function () { return
|
|
103
|
+
get: function () { return chunkZUIM5737_js.defaultCssVars; }
|
|
104
104
|
});
|
|
105
105
|
Object.defineProperty(exports, "defaultRadius", {
|
|
106
106
|
enumerable: true,
|
|
107
|
-
get: function () { return
|
|
107
|
+
get: function () { return chunkZUIM5737_js.defaultRadius; }
|
|
108
108
|
});
|
|
109
109
|
Object.defineProperty(exports, "defaultThemeColors", {
|
|
110
110
|
enumerable: true,
|
|
111
|
-
get: function () { return
|
|
111
|
+
get: function () { return chunkZUIM5737_js.defaultThemeColors; }
|
|
112
112
|
});
|
|
113
113
|
Object.defineProperty(exports, "getLocalStorageUsageSummary", {
|
|
114
114
|
enumerable: true,
|
|
115
|
-
get: function () { return
|
|
115
|
+
get: function () { return chunkZUIM5737_js.getLocalStorageUsageSummary; }
|
|
116
116
|
});
|
|
117
117
|
Object.defineProperty(exports, "isLegacyBinaryPresentation", {
|
|
118
118
|
enumerable: true,
|
|
119
|
-
get: function () { return
|
|
119
|
+
get: function () { return chunkZUIM5737_js.isLegacyBinaryPresentation; }
|
|
120
120
|
});
|
|
121
121
|
Object.defineProperty(exports, "isSupportedPresentationFile", {
|
|
122
122
|
enumerable: true,
|
|
123
|
-
get: function () { return
|
|
123
|
+
get: function () { return chunkZUIM5737_js.isSupportedPresentationFile; }
|
|
124
124
|
});
|
|
125
125
|
Object.defineProperty(exports, "presentationBaseName", {
|
|
126
126
|
enumerable: true,
|
|
127
|
-
get: function () { return
|
|
127
|
+
get: function () { return chunkZUIM5737_js.presentationBaseName; }
|
|
128
128
|
});
|
|
129
129
|
Object.defineProperty(exports, "readStoredViewerPrefs", {
|
|
130
130
|
enumerable: true,
|
|
131
|
-
get: function () { return
|
|
131
|
+
get: function () { return chunkZUIM5737_js.readStoredViewerPrefs; }
|
|
132
132
|
});
|
|
133
133
|
Object.defineProperty(exports, "resolveProfileInitial", {
|
|
134
134
|
enumerable: true,
|
|
135
|
-
get: function () { return
|
|
135
|
+
get: function () { return chunkZUIM5737_js.resolveProfileInitial; }
|
|
136
136
|
});
|
|
137
137
|
Object.defineProperty(exports, "resolveThemeCatalogEntry", {
|
|
138
138
|
enumerable: true,
|
|
139
|
-
get: function () { return
|
|
139
|
+
get: function () { return chunkZUIM5737_js.resolveThemeCatalogEntry; }
|
|
140
140
|
});
|
|
141
141
|
Object.defineProperty(exports, "saveViewerProfile", {
|
|
142
142
|
enumerable: true,
|
|
143
|
-
get: function () { return
|
|
143
|
+
get: function () { return chunkZUIM5737_js.saveViewerProfile; }
|
|
144
144
|
});
|
|
145
145
|
Object.defineProperty(exports, "savedPresentationFileName", {
|
|
146
146
|
enumerable: true,
|
|
147
|
-
get: function () { return
|
|
147
|
+
get: function () { return chunkZUIM5737_js.savedPresentationFileName; }
|
|
148
148
|
});
|
|
149
149
|
Object.defineProperty(exports, "themeToCssVars", {
|
|
150
150
|
enumerable: true,
|
|
151
|
-
get: function () { return
|
|
151
|
+
get: function () { return chunkZUIM5737_js.themeToCssVars; }
|
|
152
152
|
});
|
|
153
153
|
Object.defineProperty(exports, "vermilionDarkColors", {
|
|
154
154
|
enumerable: true,
|
|
155
|
-
get: function () { return
|
|
155
|
+
get: function () { return chunkZUIM5737_js.vermilionDarkColors; }
|
|
156
156
|
});
|
|
157
157
|
Object.defineProperty(exports, "vermilionDarkTheme", {
|
|
158
158
|
enumerable: true,
|
|
159
|
-
get: function () { return
|
|
159
|
+
get: function () { return chunkZUIM5737_js.vermilionDarkTheme; }
|
|
160
160
|
});
|
|
161
161
|
Object.defineProperty(exports, "vermilionLightColors", {
|
|
162
162
|
enumerable: true,
|
|
163
|
-
get: function () { return
|
|
163
|
+
get: function () { return chunkZUIM5737_js.vermilionLightColors; }
|
|
164
164
|
});
|
|
165
165
|
Object.defineProperty(exports, "vermilionLightTheme", {
|
|
166
166
|
enumerable: true,
|
|
167
|
-
get: function () { return
|
|
167
|
+
get: function () { return chunkZUIM5737_js.vermilionLightTheme; }
|
|
168
168
|
});
|
|
169
169
|
Object.defineProperty(exports, "vermilionRadius", {
|
|
170
170
|
enumerable: true,
|
|
171
|
-
get: function () { return
|
|
171
|
+
get: function () { return chunkZUIM5737_js.vermilionRadius; }
|
|
172
172
|
});
|
|
173
173
|
Object.defineProperty(exports, "writeStoredViewerPrefs", {
|
|
174
174
|
enumerable: true,
|
|
175
|
-
get: function () { return
|
|
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-
|
|
2
|
-
import './chunk-
|
|
3
|
-
export { renderToCanvas, useViewerBuildingBlocks } from './chunk-
|
|
4
|
-
export { getAnimationInitialStyle } from './chunk-
|
|
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-
|
|
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
|
package/dist/internals.d.ts
CHANGED
|
@@ -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
|