pptx-react-viewer 2.11.1 → 2.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/dist/{AiChatPanel-RMQIJDUJ.mjs → AiChatPanel-CGGUPVQX.mjs} +4 -4
- package/dist/AiChatPanel-CGGUPVQX.mjs.br +0 -0
- package/dist/AiChatPanel-CGGUPVQX.mjs.gz +0 -0
- package/dist/{AiChatPanel-E6W3EACA.js → AiChatPanel-UEFYTUJN.js} +23 -23
- package/dist/AiChatPanel-UEFYTUJN.js.br +0 -0
- package/dist/AiChatPanel-UEFYTUJN.js.gz +0 -0
- package/dist/{Model3DScene-U4B4NZJT.js → Model3DScene-QYXJNALP.js} +2 -2
- package/dist/{Model3DScene-U4B4NZJT.js.br → Model3DScene-QYXJNALP.js.br} +0 -0
- package/dist/Model3DScene-QYXJNALP.js.gz +0 -0
- package/dist/{Model3DScene-WHSHBMR5.mjs → Model3DScene-TU4NTHRM.mjs} +1 -1
- package/dist/Model3DScene-TU4NTHRM.mjs.br +0 -0
- package/dist/Model3DScene-TU4NTHRM.mjs.gz +0 -0
- package/dist/{SurfaceChart3DScene-5S43UBRD.js → SurfaceChart3DScene-4VCO3DRP.js} +2 -2
- package/dist/SurfaceChart3DScene-4VCO3DRP.js.br +0 -0
- package/dist/SurfaceChart3DScene-4VCO3DRP.js.gz +0 -0
- package/dist/{SurfaceChart3DScene-77JP5XH5.mjs → SurfaceChart3DScene-VTJBKUQY.mjs} +1 -1
- package/dist/{SurfaceChart3DScene-77JP5XH5.mjs.br → SurfaceChart3DScene-VTJBKUQY.mjs.br} +0 -0
- package/dist/SurfaceChart3DScene-VTJBKUQY.mjs.gz +0 -0
- package/dist/{chunk-NJ4PTG4F.mjs → chunk-4GYNTY2G.mjs} +28 -48
- package/dist/chunk-4GYNTY2G.mjs.br +0 -0
- package/dist/chunk-4GYNTY2G.mjs.gz +0 -0
- package/dist/{chunk-PXYZFWDA.mjs → chunk-4SGXEGVL.mjs} +339 -256
- package/dist/chunk-4SGXEGVL.mjs.br +0 -0
- package/dist/chunk-4SGXEGVL.mjs.gz +0 -0
- package/dist/{chunk-IOVOQ6ZJ.js → chunk-BXAK3JFM.js} +301 -1
- package/dist/chunk-BXAK3JFM.js.br +0 -0
- package/dist/chunk-BXAK3JFM.js.gz +0 -0
- package/dist/{chunk-FV7HEYCX.mjs → chunk-CABQXGPI.mjs} +621 -70
- package/dist/chunk-CABQXGPI.mjs.br +0 -0
- package/dist/chunk-CABQXGPI.mjs.gz +0 -0
- package/dist/{chunk-IXBM3HWH.js → chunk-GBKIWNW6.js} +2047 -1964
- package/dist/chunk-GBKIWNW6.js.br +0 -0
- package/dist/chunk-GBKIWNW6.js.gz +0 -0
- package/dist/{chunk-FAP6OPLL.js → chunk-LE6YA5WB.js} +262 -296
- package/dist/chunk-LE6YA5WB.js.br +0 -0
- package/dist/chunk-LE6YA5WB.js.gz +0 -0
- package/dist/{chunk-HF6L2CTF.mjs → chunk-N3NKU7SC.mjs} +1 -1
- package/dist/chunk-N3NKU7SC.mjs.br +0 -0
- package/dist/{chunk-HF6L2CTF.mjs.gz → chunk-N3NKU7SC.mjs.gz} +0 -0
- package/dist/{chunk-QT6BPOZM.js → chunk-NUDH7TI2.js} +355 -375
- package/dist/chunk-NUDH7TI2.js.br +0 -0
- package/dist/chunk-NUDH7TI2.js.gz +0 -0
- package/dist/{chunk-KDJBWJJH.js → chunk-TDUDH7S4.js} +648 -71
- package/dist/chunk-TDUDH7S4.js.br +0 -0
- package/dist/chunk-TDUDH7S4.js.gz +0 -0
- package/dist/{chunk-RHR7GTDX.mjs → chunk-TEXIGSA6.mjs} +301 -1
- package/dist/chunk-TEXIGSA6.mjs.br +0 -0
- package/dist/chunk-TEXIGSA6.mjs.gz +0 -0
- package/dist/{chunk-X3SFCKAF.js → chunk-UIWY4XJT.js} +3 -3
- package/dist/chunk-UIWY4XJT.js.br +0 -0
- package/dist/chunk-UIWY4XJT.js.gz +0 -0
- package/dist/{chunk-DD54KUDG.mjs → chunk-YIPR3GKG.mjs} +24 -58
- package/dist/chunk-YIPR3GKG.mjs.br +0 -0
- package/dist/chunk-YIPR3GKG.mjs.gz +0 -0
- package/dist/i18n.js +4 -4
- package/dist/i18n.js.br +0 -0
- package/dist/i18n.js.gz +0 -0
- package/dist/i18n.mjs +1 -1
- package/dist/i18n.mjs.br +0 -0
- package/dist/i18n.mjs.gz +0 -0
- package/dist/index.js +36 -36
- package/dist/index.js.br +0 -0
- package/dist/index.js.gz +0 -0
- package/dist/index.mjs +6 -6
- package/dist/index.mjs.br +0 -0
- package/dist/index.mjs.gz +0 -0
- package/dist/internals.d.ts.map +1 -1
- package/dist/internals.js +79 -79
- package/dist/internals.js.br +0 -0
- package/dist/internals.js.gz +0 -0
- package/dist/internals.mjs +4 -4
- package/dist/internals.mjs.br +0 -0
- package/dist/internals.mjs.gz +0 -0
- package/dist/pptx-viewer.css +1 -1
- package/dist/pptx-viewer.css.br +0 -0
- package/dist/pptx-viewer.css.gz +0 -0
- package/dist/viewer/index.js +22 -22
- package/dist/viewer/index.js.br +0 -0
- package/dist/viewer/index.js.gz +0 -0
- package/dist/viewer/index.mjs +6 -6
- package/dist/viewer/index.mjs.br +0 -0
- package/dist/viewer/index.mjs.gz +0 -0
- package/package.json +1 -1
- package/dist/AiChatPanel-E6W3EACA.js.br +0 -0
- package/dist/AiChatPanel-E6W3EACA.js.gz +0 -0
- package/dist/AiChatPanel-RMQIJDUJ.mjs.br +0 -0
- package/dist/AiChatPanel-RMQIJDUJ.mjs.gz +0 -0
- package/dist/Model3DScene-U4B4NZJT.js.gz +0 -0
- package/dist/Model3DScene-WHSHBMR5.mjs.br +0 -0
- package/dist/Model3DScene-WHSHBMR5.mjs.gz +0 -0
- package/dist/SurfaceChart3DScene-5S43UBRD.js.br +0 -0
- package/dist/SurfaceChart3DScene-5S43UBRD.js.gz +0 -0
- package/dist/SurfaceChart3DScene-77JP5XH5.mjs.gz +0 -0
- package/dist/chunk-DD54KUDG.mjs.br +0 -0
- package/dist/chunk-DD54KUDG.mjs.gz +0 -0
- package/dist/chunk-FAP6OPLL.js.br +0 -0
- package/dist/chunk-FAP6OPLL.js.gz +0 -0
- package/dist/chunk-FV7HEYCX.mjs.br +0 -0
- package/dist/chunk-FV7HEYCX.mjs.gz +0 -0
- package/dist/chunk-HF6L2CTF.mjs.br +0 -0
- package/dist/chunk-IOVOQ6ZJ.js.br +0 -0
- package/dist/chunk-IOVOQ6ZJ.js.gz +0 -0
- package/dist/chunk-IXBM3HWH.js.br +0 -0
- package/dist/chunk-IXBM3HWH.js.gz +0 -0
- package/dist/chunk-KDJBWJJH.js.br +0 -0
- package/dist/chunk-KDJBWJJH.js.gz +0 -0
- package/dist/chunk-NJ4PTG4F.mjs.br +0 -0
- package/dist/chunk-NJ4PTG4F.mjs.gz +0 -0
- package/dist/chunk-PXYZFWDA.mjs.br +0 -0
- package/dist/chunk-PXYZFWDA.mjs.gz +0 -0
- package/dist/chunk-QT6BPOZM.js.br +0 -0
- package/dist/chunk-QT6BPOZM.js.gz +0 -0
- package/dist/chunk-RHR7GTDX.mjs.br +0 -0
- package/dist/chunk-RHR7GTDX.mjs.gz +0 -0
- package/dist/chunk-X3SFCKAF.js.br +0 -0
- package/dist/chunk-X3SFCKAF.js.gz +0 -0
|
Binary file
|
|
Binary file
|
|
@@ -1,5 +1,293 @@
|
|
|
1
1
|
// ../shared/dist/i18n/index.mjs
|
|
2
|
+
var animationPresetTranslationsEn = {
|
|
3
|
+
// Editor preset tokens the dictionary never named.
|
|
4
|
+
"pptx.animation.preset.wheelIn": "Wheel In",
|
|
5
|
+
"pptx.animation.preset.blindsIn": "Blinds In",
|
|
6
|
+
"pptx.animation.preset.boxIn": "Box In",
|
|
7
|
+
"pptx.animation.preset.riseUp": "Rise Up",
|
|
8
|
+
"pptx.animation.preset.swivel": "Swivel",
|
|
9
|
+
"pptx.animation.preset.expandIn": "Expand In",
|
|
10
|
+
"pptx.animation.preset.checkerboardIn": "Checkerboard In",
|
|
11
|
+
"pptx.animation.preset.flashIn": "Flash In",
|
|
12
|
+
"pptx.animation.preset.peekIn": "Peek In",
|
|
13
|
+
"pptx.animation.preset.randomBarsIn": "Random Bars In",
|
|
14
|
+
"pptx.animation.preset.spinnerIn": "Spinner In",
|
|
15
|
+
"pptx.animation.preset.transparency": "Transparency",
|
|
16
|
+
// Entrance catalogue.
|
|
17
|
+
"pptx.animation.catalogPreset.entr1": "Appear",
|
|
18
|
+
"pptx.animation.catalogPreset.entr2": "Fly In",
|
|
19
|
+
"pptx.animation.catalogPreset.entr3": "Blinds",
|
|
20
|
+
"pptx.animation.catalogPreset.entr4": "Box",
|
|
21
|
+
"pptx.animation.catalogPreset.entr5": "Checkerboard",
|
|
22
|
+
"pptx.animation.catalogPreset.entr6": "Circle",
|
|
23
|
+
"pptx.animation.catalogPreset.entr7": "Crawl In",
|
|
24
|
+
"pptx.animation.catalogPreset.entr8": "Diamond",
|
|
25
|
+
"pptx.animation.catalogPreset.entr9": "Dissolve In",
|
|
26
|
+
"pptx.animation.catalogPreset.entr10": "Fade",
|
|
27
|
+
"pptx.animation.catalogPreset.entr11": "Flash Bulb",
|
|
28
|
+
"pptx.animation.catalogPreset.entr12": "Flash Once",
|
|
29
|
+
"pptx.animation.catalogPreset.entr13": "Plus",
|
|
30
|
+
"pptx.animation.catalogPreset.entr14": "Random Bars",
|
|
31
|
+
"pptx.animation.catalogPreset.entr15": "Spiral In",
|
|
32
|
+
"pptx.animation.catalogPreset.entr16": "Peek In",
|
|
33
|
+
"pptx.animation.catalogPreset.entr17": "Split",
|
|
34
|
+
"pptx.animation.catalogPreset.entr18": "Stretch",
|
|
35
|
+
"pptx.animation.catalogPreset.entr19": "Strips",
|
|
36
|
+
"pptx.animation.catalogPreset.entr20": "Wedge",
|
|
37
|
+
"pptx.animation.catalogPreset.entr21": "Wheel",
|
|
38
|
+
"pptx.animation.catalogPreset.entr22": "Wipe",
|
|
39
|
+
"pptx.animation.catalogPreset.entr23": "Zoom",
|
|
40
|
+
"pptx.animation.catalogPreset.entr24": "Random Effects",
|
|
41
|
+
"pptx.animation.catalogPreset.entr25": "Boomerang",
|
|
42
|
+
"pptx.animation.catalogPreset.entr26": "Rise Up",
|
|
43
|
+
"pptx.animation.catalogPreset.entr27": "Credits",
|
|
44
|
+
"pptx.animation.catalogPreset.entr28": "Float Up",
|
|
45
|
+
"pptx.animation.catalogPreset.entr29": "Pinwheel",
|
|
46
|
+
"pptx.animation.catalogPreset.entr30": "Spinner",
|
|
47
|
+
"pptx.animation.catalogPreset.entr31": "Expand",
|
|
48
|
+
"pptx.animation.catalogPreset.entr32": "Whip",
|
|
49
|
+
"pptx.animation.catalogPreset.entr33": "Arrive",
|
|
50
|
+
"pptx.animation.catalogPreset.entr34": "Basic Swivel",
|
|
51
|
+
"pptx.animation.catalogPreset.entr35": "Beveled Arrival",
|
|
52
|
+
"pptx.animation.catalogPreset.entr36": "Curve Up",
|
|
53
|
+
"pptx.animation.catalogPreset.entr37": "Bounce",
|
|
54
|
+
"pptx.animation.catalogPreset.entr38": "Fold",
|
|
55
|
+
"pptx.animation.catalogPreset.entr39": "Faded Swivel",
|
|
56
|
+
"pptx.animation.catalogPreset.entr40": "Faded Zoom",
|
|
57
|
+
"pptx.animation.catalogPreset.entr41": "Light Speed",
|
|
58
|
+
"pptx.animation.catalogPreset.entr42": "Float In",
|
|
59
|
+
"pptx.animation.catalogPreset.entr43": "Flip",
|
|
60
|
+
"pptx.animation.catalogPreset.entr44": "Glide",
|
|
61
|
+
"pptx.animation.catalogPreset.entr45": "Grow & Rotate",
|
|
62
|
+
"pptx.animation.catalogPreset.entr46": "Grow with Color",
|
|
63
|
+
"pptx.animation.catalogPreset.entr47": "Swivel",
|
|
64
|
+
"pptx.animation.catalogPreset.entr48": "Magnify",
|
|
65
|
+
"pptx.animation.catalogPreset.entr49": "Pinwheel IV",
|
|
66
|
+
"pptx.animation.catalogPreset.entr50": "Sling",
|
|
67
|
+
"pptx.animation.catalogPreset.entr51": "Compress",
|
|
68
|
+
"pptx.animation.catalogPreset.entr52": "Unfold",
|
|
69
|
+
"pptx.animation.catalogPreset.entr53": "Grow & Turn",
|
|
70
|
+
"pptx.animation.catalogPreset.entr54": "Zoom Rotate",
|
|
71
|
+
"pptx.animation.catalogPreset.entr55": "Curvy Star",
|
|
72
|
+
"pptx.animation.catalogPreset.entr56": "Rotate",
|
|
73
|
+
"pptx.animation.catalogPreset.entr57": "Center Revolve",
|
|
74
|
+
"pptx.animation.catalogPreset.entr58": "Thread",
|
|
75
|
+
"pptx.animation.catalogPreset.entr59": "Drop In",
|
|
76
|
+
"pptx.animation.catalogPreset.entr60": "Ascend",
|
|
77
|
+
"pptx.animation.catalogPreset.entr61": "Descend",
|
|
78
|
+
"pptx.animation.catalogPreset.entr62": "Center Stage",
|
|
79
|
+
"pptx.animation.catalogPreset.entr63": "Ease In",
|
|
80
|
+
"pptx.animation.catalogPreset.entr64": "Stretchy",
|
|
81
|
+
"pptx.animation.catalogPreset.entr65": "Zip",
|
|
82
|
+
"pptx.animation.catalogPreset.entr66": "Bars",
|
|
83
|
+
"pptx.animation.catalogPreset.entr67": "Cover",
|
|
84
|
+
"pptx.animation.catalogPreset.entr68": "Reveal",
|
|
85
|
+
// Exit catalogue.
|
|
86
|
+
"pptx.animation.catalogPreset.exit1": "Disappear",
|
|
87
|
+
"pptx.animation.catalogPreset.exit2": "Fly Out",
|
|
88
|
+
"pptx.animation.catalogPreset.exit3": "Blinds",
|
|
89
|
+
"pptx.animation.catalogPreset.exit4": "Box",
|
|
90
|
+
"pptx.animation.catalogPreset.exit5": "Checkerboard",
|
|
91
|
+
"pptx.animation.catalogPreset.exit6": "Circle",
|
|
92
|
+
"pptx.animation.catalogPreset.exit7": "Crawl Out",
|
|
93
|
+
"pptx.animation.catalogPreset.exit8": "Diamond",
|
|
94
|
+
"pptx.animation.catalogPreset.exit9": "Dissolve Out",
|
|
95
|
+
"pptx.animation.catalogPreset.exit10": "Fade",
|
|
96
|
+
"pptx.animation.catalogPreset.exit11": "Flash Bulb",
|
|
97
|
+
"pptx.animation.catalogPreset.exit12": "Flash Once",
|
|
98
|
+
"pptx.animation.catalogPreset.exit13": "Plus",
|
|
99
|
+
"pptx.animation.catalogPreset.exit14": "Random Bars",
|
|
100
|
+
"pptx.animation.catalogPreset.exit15": "Spiral Out",
|
|
101
|
+
"pptx.animation.catalogPreset.exit16": "Peek Out",
|
|
102
|
+
"pptx.animation.catalogPreset.exit17": "Split",
|
|
103
|
+
"pptx.animation.catalogPreset.exit18": "Collapse",
|
|
104
|
+
"pptx.animation.catalogPreset.exit19": "Strips",
|
|
105
|
+
"pptx.animation.catalogPreset.exit20": "Wedge",
|
|
106
|
+
"pptx.animation.catalogPreset.exit21": "Wheel",
|
|
107
|
+
"pptx.animation.catalogPreset.exit22": "Wipe",
|
|
108
|
+
"pptx.animation.catalogPreset.exit23": "Zoom",
|
|
109
|
+
"pptx.animation.catalogPreset.exit24": "Random Effects",
|
|
110
|
+
"pptx.animation.catalogPreset.exit25": "Boomerang",
|
|
111
|
+
"pptx.animation.catalogPreset.exit26": "Sink Down",
|
|
112
|
+
"pptx.animation.catalogPreset.exit27": "Credits",
|
|
113
|
+
"pptx.animation.catalogPreset.exit28": "Float Down",
|
|
114
|
+
"pptx.animation.catalogPreset.exit29": "Pinwheel",
|
|
115
|
+
"pptx.animation.catalogPreset.exit30": "Spinner",
|
|
116
|
+
"pptx.animation.catalogPreset.exit31": "Contract",
|
|
117
|
+
"pptx.animation.catalogPreset.exit32": "Whip",
|
|
118
|
+
"pptx.animation.catalogPreset.exit33": "Leave",
|
|
119
|
+
"pptx.animation.catalogPreset.exit34": "Basic Swivel",
|
|
120
|
+
"pptx.animation.catalogPreset.exit35": "Beveled Departure",
|
|
121
|
+
"pptx.animation.catalogPreset.exit36": "Curve Down",
|
|
122
|
+
"pptx.animation.catalogPreset.exit37": "Bounce",
|
|
123
|
+
"pptx.animation.catalogPreset.exit38": "Unfold",
|
|
124
|
+
"pptx.animation.catalogPreset.exit39": "Faded Swivel",
|
|
125
|
+
"pptx.animation.catalogPreset.exit40": "Faded Zoom",
|
|
126
|
+
"pptx.animation.catalogPreset.exit41": "Light Speed",
|
|
127
|
+
"pptx.animation.catalogPreset.exit42": "Float Out",
|
|
128
|
+
"pptx.animation.catalogPreset.exit43": "Flip",
|
|
129
|
+
"pptx.animation.catalogPreset.exit44": "Glide",
|
|
130
|
+
"pptx.animation.catalogPreset.exit45": "Shrink & Rotate",
|
|
131
|
+
"pptx.animation.catalogPreset.exit46": "Shrink with Color",
|
|
132
|
+
"pptx.animation.catalogPreset.exit47": "Swivel",
|
|
133
|
+
"pptx.animation.catalogPreset.exit48": "Shrink & Turn",
|
|
134
|
+
"pptx.animation.catalogPreset.exit49": "Pinwheel IV",
|
|
135
|
+
"pptx.animation.catalogPreset.exit50": "Sling",
|
|
136
|
+
"pptx.animation.catalogPreset.exit51": "Stretch Out",
|
|
137
|
+
"pptx.animation.catalogPreset.exit52": "Fold Out",
|
|
138
|
+
"pptx.animation.catalogPreset.exit53": "Shrink & Spin",
|
|
139
|
+
"pptx.animation.catalogPreset.exit54": "Zoom Rotate",
|
|
140
|
+
"pptx.animation.catalogPreset.exit55": "Curvy Star",
|
|
141
|
+
"pptx.animation.catalogPreset.exit56": "Rotate",
|
|
142
|
+
"pptx.animation.catalogPreset.exit57": "Center Revolve",
|
|
143
|
+
"pptx.animation.catalogPreset.exit58": "Thread Out",
|
|
144
|
+
"pptx.animation.catalogPreset.exit59": "Drop Out",
|
|
145
|
+
"pptx.animation.catalogPreset.exit60": "Ascend",
|
|
146
|
+
"pptx.animation.catalogPreset.exit61": "Descend",
|
|
147
|
+
"pptx.animation.catalogPreset.exit62": "Exit Stage",
|
|
148
|
+
"pptx.animation.catalogPreset.exit63": "Ease Out",
|
|
149
|
+
"pptx.animation.catalogPreset.exit64": "Stretchy",
|
|
150
|
+
"pptx.animation.catalogPreset.exit65": "Zip Out",
|
|
151
|
+
"pptx.animation.catalogPreset.exit66": "Bars Out",
|
|
152
|
+
"pptx.animation.catalogPreset.exit67": "Uncover",
|
|
153
|
+
"pptx.animation.catalogPreset.exit68": "Conceal",
|
|
154
|
+
// Emphasis catalogue.
|
|
155
|
+
"pptx.animation.catalogPreset.emph1": "Bold Flash",
|
|
156
|
+
"pptx.animation.catalogPreset.emph2": "Color Wave",
|
|
157
|
+
"pptx.animation.catalogPreset.emph3": "Brush on Color",
|
|
158
|
+
"pptx.animation.catalogPreset.emph4": "Brush on Underline",
|
|
159
|
+
"pptx.animation.catalogPreset.emph5": "Change Font",
|
|
160
|
+
"pptx.animation.catalogPreset.emph6": "Grow/Shrink",
|
|
161
|
+
"pptx.animation.catalogPreset.emph7": "Change Font Color",
|
|
162
|
+
"pptx.animation.catalogPreset.emph8": "Spin",
|
|
163
|
+
"pptx.animation.catalogPreset.emph9": "Transparency",
|
|
164
|
+
"pptx.animation.catalogPreset.emph10": "Change Font Size",
|
|
165
|
+
"pptx.animation.catalogPreset.emph11": "Change Font Style",
|
|
166
|
+
"pptx.animation.catalogPreset.emph12": "Grow with Color",
|
|
167
|
+
"pptx.animation.catalogPreset.emph13": "Desaturate",
|
|
168
|
+
"pptx.animation.catalogPreset.emph14": "Teeter",
|
|
169
|
+
"pptx.animation.catalogPreset.emph15": "Vertical Highlight",
|
|
170
|
+
"pptx.animation.catalogPreset.emph16": "Wave",
|
|
171
|
+
"pptx.animation.catalogPreset.emph17": "Blast",
|
|
172
|
+
"pptx.animation.catalogPreset.emph18": "Bold Reveal",
|
|
173
|
+
"pptx.animation.catalogPreset.emph19": "Wash Out",
|
|
174
|
+
"pptx.animation.catalogPreset.emph20": "Shimmer",
|
|
175
|
+
"pptx.animation.catalogPreset.emph21": "Flicker",
|
|
176
|
+
"pptx.animation.catalogPreset.emph22": "Grow with Color (Sustain)",
|
|
177
|
+
"pptx.animation.catalogPreset.emph23": "Lighten",
|
|
178
|
+
"pptx.animation.catalogPreset.emph24": "Darken",
|
|
179
|
+
"pptx.animation.catalogPreset.emph25": "Style Emphasis",
|
|
180
|
+
"pptx.animation.catalogPreset.emph26": "Pulse",
|
|
181
|
+
"pptx.animation.catalogPreset.emph27": "Color Pulse",
|
|
182
|
+
"pptx.animation.catalogPreset.emph28": "Color Blend",
|
|
183
|
+
"pptx.animation.catalogPreset.emph29": "Complementary Color",
|
|
184
|
+
"pptx.animation.catalogPreset.emph30": "Complementary Color 2",
|
|
185
|
+
"pptx.animation.catalogPreset.emph31": "Contrasting Color",
|
|
186
|
+
"pptx.animation.catalogPreset.emph32": "Pulse Once",
|
|
187
|
+
"pptx.animation.catalogPreset.emph33": "Underline",
|
|
188
|
+
"pptx.animation.catalogPreset.emph34": "Bold Flash (Variant)",
|
|
189
|
+
"pptx.animation.catalogPreset.emph35": "Teeter (Variant)",
|
|
190
|
+
"pptx.animation.catalogPreset.emph36": "Wave (Variant)",
|
|
191
|
+
"pptx.animation.catalogPreset.emph37": "Object Color",
|
|
192
|
+
"pptx.animation.catalogPreset.emph38": "Fill Color",
|
|
193
|
+
"pptx.animation.catalogPreset.emph39": "Line Color",
|
|
194
|
+
"pptx.animation.catalogPreset.emph40": "Brush on Color (Sustain)",
|
|
195
|
+
"pptx.animation.catalogPreset.emph41": "Color Wave (Sustain)",
|
|
196
|
+
"pptx.animation.catalogPreset.emph42": "Flash",
|
|
197
|
+
"pptx.animation.catalogPreset.emph43": "Flicker Slow",
|
|
198
|
+
"pptx.animation.catalogPreset.emph44": "Grow Big",
|
|
199
|
+
"pptx.animation.catalogPreset.emph45": "Shrink Small",
|
|
200
|
+
"pptx.animation.catalogPreset.emph46": "Color Lighten",
|
|
201
|
+
"pptx.animation.catalogPreset.emph47": "Color Darken",
|
|
202
|
+
"pptx.animation.catalogPreset.emph48": "Bold Italics",
|
|
203
|
+
"pptx.animation.catalogPreset.emph49": "Spin Slow",
|
|
204
|
+
"pptx.animation.catalogPreset.emph50": "Spin Fast",
|
|
205
|
+
"pptx.animation.catalogPreset.emph51": "Wobble",
|
|
206
|
+
"pptx.animation.catalogPreset.emph52": "Jiggle",
|
|
207
|
+
"pptx.animation.catalogPreset.emph53": "Bounce In Place",
|
|
208
|
+
"pptx.animation.catalogPreset.emph54": "Heartbeat",
|
|
209
|
+
"pptx.animation.catalogPreset.emph55": "Glow",
|
|
210
|
+
"pptx.animation.catalogPreset.emph56": "Brighten",
|
|
211
|
+
"pptx.animation.catalogPreset.emph57": "Dim",
|
|
212
|
+
"pptx.animation.catalogPreset.emph58": "Saturate",
|
|
213
|
+
"pptx.animation.catalogPreset.emph59": "Color Cycle",
|
|
214
|
+
"pptx.animation.catalogPreset.emph60": "Rainbow",
|
|
215
|
+
"pptx.animation.catalogPreset.emph61": "Shake",
|
|
216
|
+
"pptx.animation.catalogPreset.emph62": "Vibrate",
|
|
217
|
+
"pptx.animation.catalogPreset.emph63": "Sway",
|
|
218
|
+
"pptx.animation.catalogPreset.emph64": "Bob",
|
|
219
|
+
// Motion path catalogue.
|
|
220
|
+
"pptx.animation.catalogPreset.pathLineUp": "Lines: Up",
|
|
221
|
+
"pptx.animation.catalogPreset.pathLineDown": "Lines: Down",
|
|
222
|
+
"pptx.animation.catalogPreset.pathLineLeft": "Lines: Left",
|
|
223
|
+
"pptx.animation.catalogPreset.pathLineRight": "Lines: Right",
|
|
224
|
+
"pptx.animation.catalogPreset.pathLineUpLeft": "Lines: Up-Left",
|
|
225
|
+
"pptx.animation.catalogPreset.pathLineUpRight": "Lines: Up-Right",
|
|
226
|
+
"pptx.animation.catalogPreset.pathLineDownLeft": "Lines: Down-Left",
|
|
227
|
+
"pptx.animation.catalogPreset.pathLineDownRight": "Lines: Down-Right",
|
|
228
|
+
"pptx.animation.catalogPreset.pathArcUp": "Arcs: Up",
|
|
229
|
+
"pptx.animation.catalogPreset.pathArcDown": "Arcs: Down",
|
|
230
|
+
"pptx.animation.catalogPreset.pathArcLeft": "Arcs: Left",
|
|
231
|
+
"pptx.animation.catalogPreset.pathArcRight": "Arcs: Right",
|
|
232
|
+
"pptx.animation.catalogPreset.pathTurnUpLeft": "Turns: Up-Left",
|
|
233
|
+
"pptx.animation.catalogPreset.pathTurnUpRight": "Turns: Up-Right",
|
|
234
|
+
"pptx.animation.catalogPreset.pathTurnDownLeft": "Turns: Down-Left",
|
|
235
|
+
"pptx.animation.catalogPreset.pathTurnDownRight": "Turns: Down-Right",
|
|
236
|
+
"pptx.animation.catalogPreset.pathTurnUTurn": "Turns: U-Turn",
|
|
237
|
+
"pptx.animation.catalogPreset.pathCircle": "Shapes: Circle",
|
|
238
|
+
"pptx.animation.catalogPreset.pathDiamond": "Shapes: Diamond",
|
|
239
|
+
"pptx.animation.catalogPreset.pathHexagon": "Shapes: Hexagon",
|
|
240
|
+
"pptx.animation.catalogPreset.pathOctagon": "Shapes: Octagon",
|
|
241
|
+
"pptx.animation.catalogPreset.pathParallelogram": "Shapes: Parallelogram",
|
|
242
|
+
"pptx.animation.catalogPreset.pathPentagon": "Shapes: Pentagon",
|
|
243
|
+
"pptx.animation.catalogPreset.pathRightTriangle": "Shapes: Right Triangle",
|
|
244
|
+
"pptx.animation.catalogPreset.pathEquilateralTriangle": "Shapes: Equilateral Triangle",
|
|
245
|
+
"pptx.animation.catalogPreset.pathTrapezoid": "Shapes: Trapezoid",
|
|
246
|
+
"pptx.animation.catalogPreset.pathSquare": "Shapes: Square",
|
|
247
|
+
"pptx.animation.catalogPreset.pathStar4": "Shapes: 4 Point Star",
|
|
248
|
+
"pptx.animation.catalogPreset.pathStar5": "Shapes: 5 Point Star",
|
|
249
|
+
"pptx.animation.catalogPreset.pathStar6": "Shapes: 6 Point Star",
|
|
250
|
+
"pptx.animation.catalogPreset.pathStar8": "Shapes: 8 Point Star",
|
|
251
|
+
"pptx.animation.catalogPreset.pathCrescent": "Shapes: Crescent Moon",
|
|
252
|
+
"pptx.animation.catalogPreset.pathHeart": "Shapes: Heart",
|
|
253
|
+
"pptx.animation.catalogPreset.pathFootball": "Shapes: Football",
|
|
254
|
+
"pptx.animation.catalogPreset.pathTeardrop": "Shapes: Teardrop",
|
|
255
|
+
"pptx.animation.catalogPreset.pathLoopDeCay": "Loops: Decaying Wave",
|
|
256
|
+
"pptx.animation.catalogPreset.pathLoopFigure8": "Loops: Figure 8",
|
|
257
|
+
"pptx.animation.catalogPreset.pathLoopFigure8Four": "Loops: Figure 8 Four",
|
|
258
|
+
"pptx.animation.catalogPreset.pathLoopHorizFigure8": "Loops: Horizontal Figure 8",
|
|
259
|
+
"pptx.animation.catalogPreset.pathLoopVertFigure8": "Loops: Vertical Figure 8",
|
|
260
|
+
"pptx.animation.catalogPreset.pathLoopLoopDeLoop": "Loops: Loop de Loop",
|
|
261
|
+
"pptx.animation.catalogPreset.pathLoopNeutron": "Loops: Neutron",
|
|
262
|
+
"pptx.animation.catalogPreset.pathLoopPeanut": "Loops: Peanut",
|
|
263
|
+
"pptx.animation.catalogPreset.pathLoopPretzel": "Loops: Pretzel",
|
|
264
|
+
"pptx.animation.catalogPreset.pathLoopSpring": "Loops: Spring",
|
|
265
|
+
"pptx.animation.catalogPreset.pathLoopSwoosh": "Loops: Swoosh",
|
|
266
|
+
"pptx.animation.catalogPreset.pathLoopZigzag": "Loops: Zigzag",
|
|
267
|
+
"pptx.animation.catalogPreset.pathLoopHeartBeat": "Loops: Heartbeat",
|
|
268
|
+
"pptx.animation.catalogPreset.pathLoopCurvyLeft": "Loops: Curvy Left",
|
|
269
|
+
"pptx.animation.catalogPreset.pathLoopCurvyRight": "Loops: Curvy Right",
|
|
270
|
+
"pptx.animation.catalogPreset.pathLoopCurvyStar": "Loops: Curvy Star",
|
|
271
|
+
"pptx.animation.catalogPreset.pathLoopFigure8Side": "Loops: Figure 8 Side",
|
|
272
|
+
"pptx.animation.catalogPreset.pathLoopSpiral": "Loops: Spiral",
|
|
273
|
+
"pptx.animation.catalogPreset.pathLoopWave": "Loops: Wave",
|
|
274
|
+
"pptx.animation.catalogPreset.pathLoopBean": "Loops: Bean",
|
|
275
|
+
"pptx.animation.catalogPreset.pathLoopBuzzSaw": "Loops: Buzz Saw",
|
|
276
|
+
"pptx.animation.catalogPreset.pathLoopCogwheel": "Loops: Cogwheel",
|
|
277
|
+
"pptx.animation.catalogPreset.pathLoopCornerStar": "Loops: Corner Star",
|
|
278
|
+
"pptx.animation.catalogPreset.pathLoopCrossPath": "Loops: Cross",
|
|
279
|
+
"pptx.animation.catalogPreset.pathLoopDiamond4": "Loops: Diamond 4",
|
|
280
|
+
"pptx.animation.catalogPreset.pathLoopFanIn": "Loops: Fan In",
|
|
281
|
+
"pptx.animation.catalogPreset.pathLoopFigure8Top": "Loops: Figure 8 Top",
|
|
282
|
+
"pptx.animation.catalogPreset.pathLoopHeartBig": "Loops: Big Heart",
|
|
283
|
+
"pptx.animation.catalogPreset.pathLoopInverted": "Loops: Inverted",
|
|
284
|
+
"pptx.animation.catalogPreset.pathLoopPlus": "Loops: Plus",
|
|
285
|
+
"pptx.animation.catalogPreset.pathCustom": "Custom Path"
|
|
286
|
+
};
|
|
2
287
|
var translationsEn = {
|
|
288
|
+
// Animation effect names for both preset vocabularies (278 mechanical
|
|
289
|
+
// entries), kept in their own module so they don't drown the UI copy here.
|
|
290
|
+
...animationPresetTranslationsEn,
|
|
3
291
|
// Status bar
|
|
4
292
|
"pptx.statusBar.allSaved": "All saved",
|
|
5
293
|
"pptx.statusBar.unsavedChanges": "Unsaved changes",
|
|
@@ -1116,6 +1404,18 @@ var translationsEn = {
|
|
|
1116
1404
|
"pptx.presenter.eraseAllInk": "Erase All Ink on Slide",
|
|
1117
1405
|
"pptx.presenter.slideLabel": "Slide {{current}} of {{total}}",
|
|
1118
1406
|
"pptx.presenter.timerProgress": "Timer Progress",
|
|
1407
|
+
// Presenter console strip (see render/presenter-chrome.ts). React shipped
|
|
1408
|
+
// these as hard-coded English `title` attributes, which is why they arrive
|
|
1409
|
+
// as new keys rather than reused ones.
|
|
1410
|
+
"pptx.presenter.toggleTimer": "Pause or Resume Timer",
|
|
1411
|
+
"pptx.presenter.resetTimer": "Reset Timer",
|
|
1412
|
+
"pptx.presenter.zoomIn": "Zoom In",
|
|
1413
|
+
"pptx.presenter.zoomOut": "Zoom Out",
|
|
1414
|
+
"pptx.presenter.resetZoom": "Reset Zoom",
|
|
1415
|
+
"pptx.presenter.swapDisplays": "Swap Displays",
|
|
1416
|
+
"pptx.presenter.slideNavigator": "Slide Navigator",
|
|
1417
|
+
"pptx.presenter.closeNavigator": "Close",
|
|
1418
|
+
"pptx.presenter.timerTitle": "{{elapsed}} (segment {{segment}})",
|
|
1119
1419
|
// Print dialog
|
|
1120
1420
|
"pptx.print.allSlides": "All Slides",
|
|
1121
1421
|
"pptx.print.blackAndWhite": "Black and White",
|
|
@@ -2029,6 +2329,7 @@ var translationsEn = {
|
|
|
2029
2329
|
"pptx.editorToolbar.resetZoom": "Reset zoom",
|
|
2030
2330
|
"pptx.editorToolbar.resetZoomTo100": "Reset zoom to 100%",
|
|
2031
2331
|
"pptx.effects.innerShadow": "Inner Shadow",
|
|
2332
|
+
"pptx.element.hasAction": "Has action",
|
|
2032
2333
|
"pptx.element.linkFallback": "Link",
|
|
2033
2334
|
"pptx.export.export": "Export",
|
|
2034
2335
|
"pptx.export.gifAnimated": "Animated GIF",
|
|
@@ -2302,7 +2603,6 @@ var translationsEn = {
|
|
|
2302
2603
|
"pptx.action.slideNumberPlaceholder": "Slide number (1-based)",
|
|
2303
2604
|
"pptx.animation.trigger.afterDelay": "After delay",
|
|
2304
2605
|
"pptx.animationPanel.stepsMore": "{{base}} +{{extra}} more",
|
|
2305
|
-
"pptx.arrowhead.arrow": "Arrow",
|
|
2306
2606
|
"pptx.arrowhead.diamond": "Diamond",
|
|
2307
2607
|
"pptx.arrowhead.none": "None",
|
|
2308
2608
|
"pptx.arrowhead.openArrow": "Open Arrow",
|
|
Binary file
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkTDUDH7S4_js = require('./chunk-TDUDH7S4.js');
|
|
4
4
|
var chunk4VNS5WPM_js = require('./chunk-4VNS5WPM.js');
|
|
5
5
|
var mcp = require('pptx-viewer-mcp');
|
|
6
6
|
var mcpSchemas = require('pptx-viewer-mcp/schemas');
|
|
@@ -14879,7 +14879,7 @@ async function buildSlideMarkdown(slides, slideIndex2, meta3, options = {}) {
|
|
|
14879
14879
|
};
|
|
14880
14880
|
let markdown;
|
|
14881
14881
|
try {
|
|
14882
|
-
const converter = new
|
|
14882
|
+
const converter = new chunkTDUDH7S4_js.PptxMarkdownConverter(
|
|
14883
14883
|
"",
|
|
14884
14884
|
{
|
|
14885
14885
|
sourceName: meta3.title ?? "deck.pptx",
|
|
@@ -15470,7 +15470,7 @@ var getTheme = (ctx) => {
|
|
|
15470
15470
|
name: theme?.name,
|
|
15471
15471
|
colorScheme: theme?.colorScheme,
|
|
15472
15472
|
fontScheme: theme?.fontScheme,
|
|
15473
|
-
availablePresets: Object.keys(
|
|
15473
|
+
availablePresets: Object.keys(chunkTDUDH7S4_js.ThemePresets)
|
|
15474
15474
|
};
|
|
15475
15475
|
};
|
|
15476
15476
|
var readExecutors = {
|
|
Binary file
|
|
Binary file
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { translationsEn } from './chunk-
|
|
2
|
-
import { SHAPE_PRESET_DEFS, computeValueRangeForChart, VIEWER_SHORTCUT_REFERENCE, getAnimationInitialStyle, cloneHistorySnapshot, hasShapeProperties, isTemplateElement,
|
|
1
|
+
import { translationsEn } from './chunk-TEXIGSA6.mjs';
|
|
2
|
+
import { SHAPE_PRESET_DEFS, computeValueRangeForChart, VIEWER_SHORTCUT_REFERENCE, getAnimationInitialStyle, cloneHistorySnapshot, hasShapeProperties, isTemplateElement, getImageFitStyle, isImageLikeElement, runMediaCommand, findMediaElementByElementId, mediaPlaybackAttributes, buildTextBlockStyle, hasTextProperties, toCssWritingMode, toCssTextOrientation, toCssVerticalDirection, getKinsokuLineBreakStyles, buildTextBody3DSceneStyle, resolveParagraphRtl, resolveParagraphAlign, resolveCssTextAlign, resolveParagraphStrutFontSize, colorWithOpacity, normalizeHexColor, build3DExtrusionData, getResolvedShapeClipPath, normalizeStrokeDashType, buildCssGradientFromShapeStyle, buildShadowCssFromShapeStyle, buildInnerShadowCssFromShapeStyle, suppressesCssBorder, buildMultiLayerShadowCss, buildGlowBoxShadow, getCompoundLineBoxShadow, getSoftEdgeFilterId, getEffectDagFilter, buildPatternFillCss, buildReflectionCss, getCssBorderDashStyle, getCompoundLineBorderWidth, getSvgStrokeDasharray, buildSvgGradientDef, isCalloutShape, getCalloutLeaderLineGeometry, buildCalloutLeaderLineSvgPath, getCalloutViewBoxBounds, svgLineCap, getCompoundLineOffsets, getCompoundLineWidths, computeSelectionRect, rectToCells, isCellInRect, buildChartViewModel, buildNotesPdfBytes, buildSlidesPdfBytes, buildPreviewAnimation, buildMotionPathPreview, getRoundRectRadiusPx, substituteFieldText, resolveUnderlineDecorationStyle, resolveAutoFitFontScale, getSubstituteFontFamily, hasDistinctScriptFonts, buildTextReflectionCss, getTextAlphaOpacity, buildTextRunFilterChain, buildTextShadowCss, TEXT_BUILD_ID_SEP, buildTextBuildSpec, textBuildSpanStyle, evaluatePresetShape, sanitizeGradientStops, getGradientTileFlipCss, getGradientTileRectCss, apply3dEffects, clampUnitInterval, customGeometryPathsToSvgSubpaths, svgGradientFillRef, computeColumnBoundaries, parseDrawingColor, parseDrawingColorOpacity, getCellDiagonalBorders, getPatternSvg, ooxmlDashToCssBorderStyle, cell3DBevelCss, getChartStylePalette, computeLayout, valueToY, formatAxisValue, computeLayoutOptions, splitSeriesByAxis, computeValueRange, getSecondaryValueAxis, seriesColor, paletteColor, resolveRegionCode, normalizeValue, sequentialColorScale, convertOmmlToMathMl, sanitizeMathMl, buildTextFillCss, resolvePictureBullet, computeResizedColumnWidths, computeResizedRowHeight, DEFAULT_ROW_HEIGHT, resolveFontRefIdx, tintColor2, shadeColor2, ooxmlGradientAngleToCssDegrees, segmentByScript, resolveFontForScript, generateLogTicks, formatAxisValueWithUnits, getDisplayUnitLabel, hexToRgbChannels, chartPartToAttrs } from './chunk-CABQXGPI.mjs';
|
|
3
3
|
import { clsx } from 'clsx';
|
|
4
4
|
import { twMerge } from 'tailwind-merge';
|
|
5
5
|
import React6, { useState, useEffect, useMemo, Suspense, useRef, useCallback, useLayoutEffect } from 'react';
|
|
@@ -320,50 +320,9 @@ function getImageMaskStyle(element) {
|
|
|
320
320
|
return { clipPath };
|
|
321
321
|
}
|
|
322
322
|
function getImageRenderStyle(element) {
|
|
323
|
-
const maskStyle = getImageMaskStyle(element) || {};
|
|
324
|
-
if (!isImageLikeElement(element)) {
|
|
325
|
-
return {
|
|
326
|
-
...maskStyle,
|
|
327
|
-
width: "100%",
|
|
328
|
-
height: "100%",
|
|
329
|
-
objectFit: "cover"
|
|
330
|
-
};
|
|
331
|
-
}
|
|
332
|
-
const cropLeft = clampCropValue(element.cropLeft);
|
|
333
|
-
const cropTop = clampCropValue(element.cropTop);
|
|
334
|
-
const cropRight = clampCropValue(element.cropRight);
|
|
335
|
-
const cropBottom = clampCropValue(element.cropBottom);
|
|
336
|
-
const hasCrop = cropLeft + cropRight > 1e-4 || cropTop + cropBottom > 1e-4;
|
|
337
|
-
if (!hasCrop) {
|
|
338
|
-
return {
|
|
339
|
-
...maskStyle,
|
|
340
|
-
width: "100%",
|
|
341
|
-
height: "100%",
|
|
342
|
-
objectFit: "cover"
|
|
343
|
-
};
|
|
344
|
-
}
|
|
345
|
-
const safeHorizontalScale = cropLeft + cropRight >= 0.99 ? 0.99 / (cropLeft + cropRight) : 1;
|
|
346
|
-
const safeVerticalScale = cropTop + cropBottom >= 0.99 ? 0.99 / (cropTop + cropBottom) : 1;
|
|
347
|
-
const normalizedLeft = clampCropValue(cropLeft * safeHorizontalScale);
|
|
348
|
-
const normalizedRight = clampCropValue(cropRight * safeHorizontalScale);
|
|
349
|
-
const normalizedTop = clampCropValue(cropTop * safeVerticalScale);
|
|
350
|
-
const normalizedBottom = clampCropValue(cropBottom * safeVerticalScale);
|
|
351
|
-
const remainingWidth = Math.max(0.01, 1 - normalizedLeft - normalizedRight);
|
|
352
|
-
const remainingHeight = Math.max(0.01, 1 - normalizedTop - normalizedBottom);
|
|
353
|
-
const tx = Math.round(-normalizedLeft / remainingWidth * 1e4) / 100;
|
|
354
|
-
const ty = Math.round(-normalizedTop / remainingHeight * 1e4) / 100;
|
|
355
|
-
const sx = Math.round(1 / remainingWidth * 1e6) / 1e6;
|
|
356
|
-
const sy = Math.round(1 / remainingHeight * 1e6) / 1e6;
|
|
357
323
|
return {
|
|
358
|
-
...
|
|
359
|
-
|
|
360
|
-
width: "100%",
|
|
361
|
-
height: "100%",
|
|
362
|
-
maxWidth: "none",
|
|
363
|
-
maxHeight: "none",
|
|
364
|
-
objectFit: "fill",
|
|
365
|
-
transformOrigin: "top left",
|
|
366
|
-
transform: `translate(${tx}%, ${ty}%) scale(${sx}, ${sy})`
|
|
324
|
+
...getImageMaskStyle(element) || {},
|
|
325
|
+
...getImageFitStyle(element)
|
|
367
326
|
};
|
|
368
327
|
}
|
|
369
328
|
var CROP_SHAPE_CLIP_PATHS = {
|
|
@@ -657,7 +616,8 @@ function VideoWithMetadata({
|
|
|
657
616
|
shouldLoop,
|
|
658
617
|
shouldAutoPlay,
|
|
659
618
|
isFullScreen,
|
|
660
|
-
isPresentationMode
|
|
619
|
+
isPresentationMode,
|
|
620
|
+
showTransport
|
|
661
621
|
}) {
|
|
662
622
|
useMediaMetadataExtraction(mediaRef, element);
|
|
663
623
|
const captionTracks = element.captionTracks ?? [];
|
|
@@ -666,7 +626,7 @@ function VideoWithMetadata({
|
|
|
666
626
|
{
|
|
667
627
|
ref: mediaRef,
|
|
668
628
|
className: `w-full h-full pointer-events-auto ${isFullScreen ? "object-cover" : "object-contain"}`,
|
|
669
|
-
controls:
|
|
629
|
+
controls: showTransport,
|
|
670
630
|
preload: "metadata",
|
|
671
631
|
playsInline: true,
|
|
672
632
|
autoPlay: shouldAutoPlay,
|
|
@@ -691,7 +651,7 @@ function AudioWithMetadata({
|
|
|
691
651
|
mediaMimeType,
|
|
692
652
|
shouldLoop,
|
|
693
653
|
shouldAutoPlay,
|
|
694
|
-
|
|
654
|
+
showTransport
|
|
695
655
|
}) {
|
|
696
656
|
useMediaMetadataExtraction(mediaRef, element);
|
|
697
657
|
return /* @__PURE__ */ jsx("div", { className: "w-full h-full flex items-center justify-center p-2 pointer-events-auto", children: /* @__PURE__ */ jsx(
|
|
@@ -699,7 +659,7 @@ function AudioWithMetadata({
|
|
|
699
659
|
{
|
|
700
660
|
ref: mediaRef,
|
|
701
661
|
className: "w-full",
|
|
702
|
-
controls:
|
|
662
|
+
controls: showTransport,
|
|
703
663
|
preload: "metadata",
|
|
704
664
|
autoPlay: shouldAutoPlay,
|
|
705
665
|
loop: shouldLoop,
|
|
@@ -765,19 +725,23 @@ function PresentationMediaController({
|
|
|
765
725
|
}
|
|
766
726
|
return registerMediaElement(element.id, el);
|
|
767
727
|
}, [element.id]);
|
|
728
|
+
const { volume: playbackVolume, playbackRate } = mediaPlaybackAttributes({
|
|
729
|
+
loop: element.loop,
|
|
730
|
+
volume: element.volume,
|
|
731
|
+
playbackSpeed: element.playbackSpeed
|
|
732
|
+
});
|
|
768
733
|
useEffect(() => {
|
|
769
734
|
const el = mediaRef.current;
|
|
770
735
|
if (el) {
|
|
771
|
-
el.volume =
|
|
736
|
+
el.volume = playbackVolume;
|
|
772
737
|
}
|
|
773
|
-
}, [
|
|
774
|
-
const playbackSpeed = element.playbackSpeed ?? 1;
|
|
738
|
+
}, [playbackVolume]);
|
|
775
739
|
useEffect(() => {
|
|
776
740
|
const el = mediaRef.current;
|
|
777
741
|
if (el) {
|
|
778
|
-
el.playbackRate =
|
|
742
|
+
el.playbackRate = playbackRate;
|
|
779
743
|
}
|
|
780
|
-
}, [
|
|
744
|
+
}, [playbackRate]);
|
|
781
745
|
useEffect(() => {
|
|
782
746
|
const el = mediaRef.current;
|
|
783
747
|
if (!el) {
|
|
@@ -968,10 +932,11 @@ function renderMediaElement(element, mediaDataUrls, options) {
|
|
|
968
932
|
const dataUrl = element.mediaData ?? (mediaPath ? mediaDataUrls.get(mediaPath) : void 0);
|
|
969
933
|
const trimFragment = buildTrimFragment(element);
|
|
970
934
|
const posterUrl = element.posterFrameData ?? void 0;
|
|
971
|
-
const shouldLoop = element.loop
|
|
935
|
+
const shouldLoop = mediaPlaybackAttributes(element).loop;
|
|
972
936
|
const shouldAutoPlay = options?.autoPlay === true || element.autoPlay === true;
|
|
973
937
|
const isFullScreen = options?.fullScreen === true;
|
|
974
938
|
const isPresentationMode = options?.isPresentationMode === true;
|
|
939
|
+
const showTransport = options?.showTransport ?? !isPresentationMode;
|
|
975
940
|
if (isPresentationMode && shouldAutoPlay && element.playAcrossSlides && element.mediaType === "audio" && dataUrl && !element.mediaData) {
|
|
976
941
|
const trimStartSec = element.trimStartMs !== void 0 ? element.trimStartMs / 1e3 : 0;
|
|
977
942
|
registerPersistentAudio(
|
|
@@ -1040,7 +1005,8 @@ function renderMediaElement(element, mediaDataUrls, options) {
|
|
|
1040
1005
|
shouldLoop,
|
|
1041
1006
|
shouldAutoPlay,
|
|
1042
1007
|
isFullScreen,
|
|
1043
|
-
isPresentationMode
|
|
1008
|
+
isPresentationMode,
|
|
1009
|
+
showTransport
|
|
1044
1010
|
}
|
|
1045
1011
|
)
|
|
1046
1012
|
}
|
|
@@ -1109,7 +1075,7 @@ function renderMediaElement(element, mediaDataUrls, options) {
|
|
|
1109
1075
|
mediaMimeType,
|
|
1110
1076
|
shouldLoop,
|
|
1111
1077
|
shouldAutoPlay,
|
|
1112
|
-
|
|
1078
|
+
showTransport
|
|
1113
1079
|
}
|
|
1114
1080
|
)
|
|
1115
1081
|
}
|
|
@@ -6253,7 +6219,7 @@ function FailedToLoad() {
|
|
|
6253
6219
|
var LazySurfaceChart3DScene = React6.lazy(
|
|
6254
6220
|
async () => {
|
|
6255
6221
|
try {
|
|
6256
|
-
return await import('./SurfaceChart3DScene-
|
|
6222
|
+
return await import('./SurfaceChart3DScene-VTJBKUQY.mjs');
|
|
6257
6223
|
} catch {
|
|
6258
6224
|
return { default: FailedToLoad };
|
|
6259
6225
|
}
|
|
Binary file
|
|
Binary file
|
package/dist/i18n.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkBXAK3JFM_js = require('./chunk-BXAK3JFM.js');
|
|
4
4
|
require('./chunk-4VNS5WPM.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "LOCALE_CATALOG", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkBXAK3JFM_js.LOCALE_CATALOG; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "keyToLabel", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkBXAK3JFM_js.keyToLabel; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "translationsEn", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkBXAK3JFM_js.translationsEn; }
|
|
19
19
|
});
|
package/dist/i18n.js.br
CHANGED
|
Binary file
|
package/dist/i18n.js.gz
CHANGED
|
Binary file
|
package/dist/i18n.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { LOCALE_CATALOG, keyToLabel, translationsEn } from './chunk-
|
|
1
|
+
export { LOCALE_CATALOG, keyToLabel, translationsEn } from './chunk-TEXIGSA6.mjs';
|
|
2
2
|
import './chunk-XGB3TDIC.mjs';
|
package/dist/i18n.mjs.br
CHANGED
|
Binary file
|
package/dist/i18n.mjs.gz
CHANGED
|
Binary file
|