pptx-react-viewer 2.11.0 → 2.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/dist/{AiChatPanel-EX2TBRJM.mjs → AiChatPanel-CS4CONUO.mjs} +4 -4
- package/dist/AiChatPanel-CS4CONUO.mjs.br +0 -0
- package/dist/AiChatPanel-CS4CONUO.mjs.gz +0 -0
- package/dist/{AiChatPanel-PJPSDMN4.js → AiChatPanel-JIXSOZXN.js} +23 -23
- package/dist/AiChatPanel-JIXSOZXN.js.br +0 -0
- package/dist/AiChatPanel-JIXSOZXN.js.gz +0 -0
- package/dist/{Model3DScene-UCBPTEAY.js → Model3DScene-5KMJ4JL6.js} +2 -2
- package/dist/Model3DScene-5KMJ4JL6.js.br +0 -0
- package/dist/Model3DScene-5KMJ4JL6.js.gz +0 -0
- package/dist/{Model3DScene-TTQFV7OS.mjs → Model3DScene-RWFPSN6B.mjs} +1 -1
- package/dist/Model3DScene-RWFPSN6B.mjs.br +0 -0
- package/dist/Model3DScene-RWFPSN6B.mjs.gz +0 -0
- package/dist/{SurfaceChart3DScene-5SZCRHZI.mjs → SurfaceChart3DScene-2GZQM3LN.mjs} +1 -1
- package/dist/{SurfaceChart3DScene-5SZCRHZI.mjs.br → SurfaceChart3DScene-2GZQM3LN.mjs.br} +0 -0
- package/dist/SurfaceChart3DScene-2GZQM3LN.mjs.gz +0 -0
- package/dist/{SurfaceChart3DScene-ADKCYYOQ.js → SurfaceChart3DScene-BIOKIETC.js} +2 -2
- package/dist/SurfaceChart3DScene-BIOKIETC.js.br +0 -0
- package/dist/SurfaceChart3DScene-BIOKIETC.js.gz +0 -0
- package/dist/{chunk-MM5RMRSP.js → chunk-2VUHJNWM.js} +243 -284
- package/dist/chunk-2VUHJNWM.js.br +0 -0
- package/dist/chunk-2VUHJNWM.js.gz +0 -0
- package/dist/{chunk-N6IHR6PS.js → chunk-3GNSGGY2.js} +377 -2
- package/dist/chunk-3GNSGGY2.js.br +0 -0
- package/dist/chunk-3GNSGGY2.js.gz +0 -0
- package/dist/{chunk-HK2UERUX.mjs → chunk-AOED5MFM.mjs} +45 -64
- package/dist/chunk-AOED5MFM.mjs.br +0 -0
- package/dist/chunk-AOED5MFM.mjs.gz +0 -0
- package/dist/{chunk-L2CM5EUD.mjs → chunk-BJQSHVYH.mjs} +220 -156
- package/dist/chunk-BJQSHVYH.mjs.br +0 -0
- package/dist/chunk-BJQSHVYH.mjs.gz +0 -0
- package/dist/{chunk-RJEY2KZH.mjs → chunk-CEUHGUZ4.mjs} +5 -46
- package/dist/chunk-CEUHGUZ4.mjs.br +0 -0
- package/dist/chunk-CEUHGUZ4.mjs.gz +0 -0
- package/dist/{chunk-53NXKDMZ.mjs → chunk-ECDKYPQ2.mjs} +377 -2
- package/dist/chunk-ECDKYPQ2.mjs.br +0 -0
- package/dist/chunk-ECDKYPQ2.mjs.gz +0 -0
- package/dist/{chunk-UZVRM6LD.mjs → chunk-EJRHYYKE.mjs} +1 -1
- package/dist/chunk-EJRHYYKE.mjs.br +0 -0
- package/dist/chunk-EJRHYYKE.mjs.gz +0 -0
- package/dist/{chunk-HMQVOPQH.js → chunk-PJUQQF3I.js} +538 -42
- package/dist/chunk-PJUQQF3I.js.br +0 -0
- package/dist/chunk-PJUQQF3I.js.gz +0 -0
- package/dist/{chunk-4J7SPY64.js → chunk-PTGTFXPU.js} +366 -385
- package/dist/chunk-PTGTFXPU.js.br +0 -0
- package/dist/chunk-PTGTFXPU.js.gz +0 -0
- package/dist/{chunk-C2UWTH42.mjs → chunk-QGHC65C4.mjs} +518 -43
- package/dist/chunk-QGHC65C4.mjs.br +0 -0
- package/dist/chunk-QGHC65C4.mjs.gz +0 -0
- package/dist/{chunk-E367QIKR.js → chunk-SP7U34QM.js} +1186 -1122
- package/dist/chunk-SP7U34QM.js.br +0 -0
- package/dist/chunk-SP7U34QM.js.gz +0 -0
- package/dist/{chunk-VNP627O5.js → chunk-ZIXSSQAZ.js} +3 -3
- package/dist/chunk-ZIXSSQAZ.js.br +0 -0
- package/dist/chunk-ZIXSSQAZ.js.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.d.ts +4 -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 +12 -1
- 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/{useViewerBuildingBlocks-Rqxm0pRS.d.ts → useViewerBuildingBlocks-YvCYsxa3.d.ts} +5 -1
- package/dist/useViewerBuildingBlocks-YvCYsxa3.d.ts.map +1 -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-EX2TBRJM.mjs.br +0 -0
- package/dist/AiChatPanel-EX2TBRJM.mjs.gz +0 -0
- package/dist/AiChatPanel-PJPSDMN4.js.br +0 -0
- package/dist/AiChatPanel-PJPSDMN4.js.gz +0 -0
- package/dist/Model3DScene-TTQFV7OS.mjs.br +0 -0
- package/dist/Model3DScene-TTQFV7OS.mjs.gz +0 -0
- package/dist/Model3DScene-UCBPTEAY.js.br +0 -0
- package/dist/Model3DScene-UCBPTEAY.js.gz +0 -0
- package/dist/SurfaceChart3DScene-5SZCRHZI.mjs.gz +0 -0
- package/dist/SurfaceChart3DScene-ADKCYYOQ.js.br +0 -0
- package/dist/SurfaceChart3DScene-ADKCYYOQ.js.gz +0 -0
- package/dist/chunk-4J7SPY64.js.br +0 -0
- package/dist/chunk-4J7SPY64.js.gz +0 -0
- package/dist/chunk-53NXKDMZ.mjs.br +0 -0
- package/dist/chunk-53NXKDMZ.mjs.gz +0 -0
- package/dist/chunk-C2UWTH42.mjs.br +0 -0
- package/dist/chunk-C2UWTH42.mjs.gz +0 -0
- package/dist/chunk-E367QIKR.js.br +0 -0
- package/dist/chunk-E367QIKR.js.gz +0 -0
- package/dist/chunk-HK2UERUX.mjs.br +0 -0
- package/dist/chunk-HK2UERUX.mjs.gz +0 -0
- package/dist/chunk-HMQVOPQH.js.br +0 -0
- package/dist/chunk-HMQVOPQH.js.gz +0 -0
- package/dist/chunk-L2CM5EUD.mjs.br +0 -0
- package/dist/chunk-L2CM5EUD.mjs.gz +0 -0
- package/dist/chunk-MM5RMRSP.js.br +0 -0
- package/dist/chunk-MM5RMRSP.js.gz +0 -0
- package/dist/chunk-N6IHR6PS.js.br +0 -0
- package/dist/chunk-N6IHR6PS.js.gz +0 -0
- package/dist/chunk-RJEY2KZH.mjs.br +0 -0
- package/dist/chunk-RJEY2KZH.mjs.gz +0 -0
- package/dist/chunk-UZVRM6LD.mjs.br +0 -0
- package/dist/chunk-UZVRM6LD.mjs.gz +0 -0
- package/dist/chunk-VNP627O5.js.br +0 -0
- package/dist/chunk-VNP627O5.js.gz +0 -0
- package/dist/useViewerBuildingBlocks-Rqxm0pRS.d.ts.map +0 -1
|
Binary file
|
|
Binary file
|
|
@@ -1,7 +1,295 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
// ../shared/dist/i18n/index.mjs
|
|
4
|
+
var animationPresetTranslationsEn = {
|
|
5
|
+
// Editor preset tokens the dictionary never named.
|
|
6
|
+
"pptx.animation.preset.wheelIn": "Wheel In",
|
|
7
|
+
"pptx.animation.preset.blindsIn": "Blinds In",
|
|
8
|
+
"pptx.animation.preset.boxIn": "Box In",
|
|
9
|
+
"pptx.animation.preset.riseUp": "Rise Up",
|
|
10
|
+
"pptx.animation.preset.swivel": "Swivel",
|
|
11
|
+
"pptx.animation.preset.expandIn": "Expand In",
|
|
12
|
+
"pptx.animation.preset.checkerboardIn": "Checkerboard In",
|
|
13
|
+
"pptx.animation.preset.flashIn": "Flash In",
|
|
14
|
+
"pptx.animation.preset.peekIn": "Peek In",
|
|
15
|
+
"pptx.animation.preset.randomBarsIn": "Random Bars In",
|
|
16
|
+
"pptx.animation.preset.spinnerIn": "Spinner In",
|
|
17
|
+
"pptx.animation.preset.transparency": "Transparency",
|
|
18
|
+
// Entrance catalogue.
|
|
19
|
+
"pptx.animation.catalogPreset.entr1": "Appear",
|
|
20
|
+
"pptx.animation.catalogPreset.entr2": "Fly In",
|
|
21
|
+
"pptx.animation.catalogPreset.entr3": "Blinds",
|
|
22
|
+
"pptx.animation.catalogPreset.entr4": "Box",
|
|
23
|
+
"pptx.animation.catalogPreset.entr5": "Checkerboard",
|
|
24
|
+
"pptx.animation.catalogPreset.entr6": "Circle",
|
|
25
|
+
"pptx.animation.catalogPreset.entr7": "Crawl In",
|
|
26
|
+
"pptx.animation.catalogPreset.entr8": "Diamond",
|
|
27
|
+
"pptx.animation.catalogPreset.entr9": "Dissolve In",
|
|
28
|
+
"pptx.animation.catalogPreset.entr10": "Fade",
|
|
29
|
+
"pptx.animation.catalogPreset.entr11": "Flash Bulb",
|
|
30
|
+
"pptx.animation.catalogPreset.entr12": "Flash Once",
|
|
31
|
+
"pptx.animation.catalogPreset.entr13": "Plus",
|
|
32
|
+
"pptx.animation.catalogPreset.entr14": "Random Bars",
|
|
33
|
+
"pptx.animation.catalogPreset.entr15": "Spiral In",
|
|
34
|
+
"pptx.animation.catalogPreset.entr16": "Peek In",
|
|
35
|
+
"pptx.animation.catalogPreset.entr17": "Split",
|
|
36
|
+
"pptx.animation.catalogPreset.entr18": "Stretch",
|
|
37
|
+
"pptx.animation.catalogPreset.entr19": "Strips",
|
|
38
|
+
"pptx.animation.catalogPreset.entr20": "Wedge",
|
|
39
|
+
"pptx.animation.catalogPreset.entr21": "Wheel",
|
|
40
|
+
"pptx.animation.catalogPreset.entr22": "Wipe",
|
|
41
|
+
"pptx.animation.catalogPreset.entr23": "Zoom",
|
|
42
|
+
"pptx.animation.catalogPreset.entr24": "Random Effects",
|
|
43
|
+
"pptx.animation.catalogPreset.entr25": "Boomerang",
|
|
44
|
+
"pptx.animation.catalogPreset.entr26": "Rise Up",
|
|
45
|
+
"pptx.animation.catalogPreset.entr27": "Credits",
|
|
46
|
+
"pptx.animation.catalogPreset.entr28": "Float Up",
|
|
47
|
+
"pptx.animation.catalogPreset.entr29": "Pinwheel",
|
|
48
|
+
"pptx.animation.catalogPreset.entr30": "Spinner",
|
|
49
|
+
"pptx.animation.catalogPreset.entr31": "Expand",
|
|
50
|
+
"pptx.animation.catalogPreset.entr32": "Whip",
|
|
51
|
+
"pptx.animation.catalogPreset.entr33": "Arrive",
|
|
52
|
+
"pptx.animation.catalogPreset.entr34": "Basic Swivel",
|
|
53
|
+
"pptx.animation.catalogPreset.entr35": "Beveled Arrival",
|
|
54
|
+
"pptx.animation.catalogPreset.entr36": "Curve Up",
|
|
55
|
+
"pptx.animation.catalogPreset.entr37": "Bounce",
|
|
56
|
+
"pptx.animation.catalogPreset.entr38": "Fold",
|
|
57
|
+
"pptx.animation.catalogPreset.entr39": "Faded Swivel",
|
|
58
|
+
"pptx.animation.catalogPreset.entr40": "Faded Zoom",
|
|
59
|
+
"pptx.animation.catalogPreset.entr41": "Light Speed",
|
|
60
|
+
"pptx.animation.catalogPreset.entr42": "Float In",
|
|
61
|
+
"pptx.animation.catalogPreset.entr43": "Flip",
|
|
62
|
+
"pptx.animation.catalogPreset.entr44": "Glide",
|
|
63
|
+
"pptx.animation.catalogPreset.entr45": "Grow & Rotate",
|
|
64
|
+
"pptx.animation.catalogPreset.entr46": "Grow with Color",
|
|
65
|
+
"pptx.animation.catalogPreset.entr47": "Swivel",
|
|
66
|
+
"pptx.animation.catalogPreset.entr48": "Magnify",
|
|
67
|
+
"pptx.animation.catalogPreset.entr49": "Pinwheel IV",
|
|
68
|
+
"pptx.animation.catalogPreset.entr50": "Sling",
|
|
69
|
+
"pptx.animation.catalogPreset.entr51": "Compress",
|
|
70
|
+
"pptx.animation.catalogPreset.entr52": "Unfold",
|
|
71
|
+
"pptx.animation.catalogPreset.entr53": "Grow & Turn",
|
|
72
|
+
"pptx.animation.catalogPreset.entr54": "Zoom Rotate",
|
|
73
|
+
"pptx.animation.catalogPreset.entr55": "Curvy Star",
|
|
74
|
+
"pptx.animation.catalogPreset.entr56": "Rotate",
|
|
75
|
+
"pptx.animation.catalogPreset.entr57": "Center Revolve",
|
|
76
|
+
"pptx.animation.catalogPreset.entr58": "Thread",
|
|
77
|
+
"pptx.animation.catalogPreset.entr59": "Drop In",
|
|
78
|
+
"pptx.animation.catalogPreset.entr60": "Ascend",
|
|
79
|
+
"pptx.animation.catalogPreset.entr61": "Descend",
|
|
80
|
+
"pptx.animation.catalogPreset.entr62": "Center Stage",
|
|
81
|
+
"pptx.animation.catalogPreset.entr63": "Ease In",
|
|
82
|
+
"pptx.animation.catalogPreset.entr64": "Stretchy",
|
|
83
|
+
"pptx.animation.catalogPreset.entr65": "Zip",
|
|
84
|
+
"pptx.animation.catalogPreset.entr66": "Bars",
|
|
85
|
+
"pptx.animation.catalogPreset.entr67": "Cover",
|
|
86
|
+
"pptx.animation.catalogPreset.entr68": "Reveal",
|
|
87
|
+
// Exit catalogue.
|
|
88
|
+
"pptx.animation.catalogPreset.exit1": "Disappear",
|
|
89
|
+
"pptx.animation.catalogPreset.exit2": "Fly Out",
|
|
90
|
+
"pptx.animation.catalogPreset.exit3": "Blinds",
|
|
91
|
+
"pptx.animation.catalogPreset.exit4": "Box",
|
|
92
|
+
"pptx.animation.catalogPreset.exit5": "Checkerboard",
|
|
93
|
+
"pptx.animation.catalogPreset.exit6": "Circle",
|
|
94
|
+
"pptx.animation.catalogPreset.exit7": "Crawl Out",
|
|
95
|
+
"pptx.animation.catalogPreset.exit8": "Diamond",
|
|
96
|
+
"pptx.animation.catalogPreset.exit9": "Dissolve Out",
|
|
97
|
+
"pptx.animation.catalogPreset.exit10": "Fade",
|
|
98
|
+
"pptx.animation.catalogPreset.exit11": "Flash Bulb",
|
|
99
|
+
"pptx.animation.catalogPreset.exit12": "Flash Once",
|
|
100
|
+
"pptx.animation.catalogPreset.exit13": "Plus",
|
|
101
|
+
"pptx.animation.catalogPreset.exit14": "Random Bars",
|
|
102
|
+
"pptx.animation.catalogPreset.exit15": "Spiral Out",
|
|
103
|
+
"pptx.animation.catalogPreset.exit16": "Peek Out",
|
|
104
|
+
"pptx.animation.catalogPreset.exit17": "Split",
|
|
105
|
+
"pptx.animation.catalogPreset.exit18": "Collapse",
|
|
106
|
+
"pptx.animation.catalogPreset.exit19": "Strips",
|
|
107
|
+
"pptx.animation.catalogPreset.exit20": "Wedge",
|
|
108
|
+
"pptx.animation.catalogPreset.exit21": "Wheel",
|
|
109
|
+
"pptx.animation.catalogPreset.exit22": "Wipe",
|
|
110
|
+
"pptx.animation.catalogPreset.exit23": "Zoom",
|
|
111
|
+
"pptx.animation.catalogPreset.exit24": "Random Effects",
|
|
112
|
+
"pptx.animation.catalogPreset.exit25": "Boomerang",
|
|
113
|
+
"pptx.animation.catalogPreset.exit26": "Sink Down",
|
|
114
|
+
"pptx.animation.catalogPreset.exit27": "Credits",
|
|
115
|
+
"pptx.animation.catalogPreset.exit28": "Float Down",
|
|
116
|
+
"pptx.animation.catalogPreset.exit29": "Pinwheel",
|
|
117
|
+
"pptx.animation.catalogPreset.exit30": "Spinner",
|
|
118
|
+
"pptx.animation.catalogPreset.exit31": "Contract",
|
|
119
|
+
"pptx.animation.catalogPreset.exit32": "Whip",
|
|
120
|
+
"pptx.animation.catalogPreset.exit33": "Leave",
|
|
121
|
+
"pptx.animation.catalogPreset.exit34": "Basic Swivel",
|
|
122
|
+
"pptx.animation.catalogPreset.exit35": "Beveled Departure",
|
|
123
|
+
"pptx.animation.catalogPreset.exit36": "Curve Down",
|
|
124
|
+
"pptx.animation.catalogPreset.exit37": "Bounce",
|
|
125
|
+
"pptx.animation.catalogPreset.exit38": "Unfold",
|
|
126
|
+
"pptx.animation.catalogPreset.exit39": "Faded Swivel",
|
|
127
|
+
"pptx.animation.catalogPreset.exit40": "Faded Zoom",
|
|
128
|
+
"pptx.animation.catalogPreset.exit41": "Light Speed",
|
|
129
|
+
"pptx.animation.catalogPreset.exit42": "Float Out",
|
|
130
|
+
"pptx.animation.catalogPreset.exit43": "Flip",
|
|
131
|
+
"pptx.animation.catalogPreset.exit44": "Glide",
|
|
132
|
+
"pptx.animation.catalogPreset.exit45": "Shrink & Rotate",
|
|
133
|
+
"pptx.animation.catalogPreset.exit46": "Shrink with Color",
|
|
134
|
+
"pptx.animation.catalogPreset.exit47": "Swivel",
|
|
135
|
+
"pptx.animation.catalogPreset.exit48": "Shrink & Turn",
|
|
136
|
+
"pptx.animation.catalogPreset.exit49": "Pinwheel IV",
|
|
137
|
+
"pptx.animation.catalogPreset.exit50": "Sling",
|
|
138
|
+
"pptx.animation.catalogPreset.exit51": "Stretch Out",
|
|
139
|
+
"pptx.animation.catalogPreset.exit52": "Fold Out",
|
|
140
|
+
"pptx.animation.catalogPreset.exit53": "Shrink & Spin",
|
|
141
|
+
"pptx.animation.catalogPreset.exit54": "Zoom Rotate",
|
|
142
|
+
"pptx.animation.catalogPreset.exit55": "Curvy Star",
|
|
143
|
+
"pptx.animation.catalogPreset.exit56": "Rotate",
|
|
144
|
+
"pptx.animation.catalogPreset.exit57": "Center Revolve",
|
|
145
|
+
"pptx.animation.catalogPreset.exit58": "Thread Out",
|
|
146
|
+
"pptx.animation.catalogPreset.exit59": "Drop Out",
|
|
147
|
+
"pptx.animation.catalogPreset.exit60": "Ascend",
|
|
148
|
+
"pptx.animation.catalogPreset.exit61": "Descend",
|
|
149
|
+
"pptx.animation.catalogPreset.exit62": "Exit Stage",
|
|
150
|
+
"pptx.animation.catalogPreset.exit63": "Ease Out",
|
|
151
|
+
"pptx.animation.catalogPreset.exit64": "Stretchy",
|
|
152
|
+
"pptx.animation.catalogPreset.exit65": "Zip Out",
|
|
153
|
+
"pptx.animation.catalogPreset.exit66": "Bars Out",
|
|
154
|
+
"pptx.animation.catalogPreset.exit67": "Uncover",
|
|
155
|
+
"pptx.animation.catalogPreset.exit68": "Conceal",
|
|
156
|
+
// Emphasis catalogue.
|
|
157
|
+
"pptx.animation.catalogPreset.emph1": "Bold Flash",
|
|
158
|
+
"pptx.animation.catalogPreset.emph2": "Color Wave",
|
|
159
|
+
"pptx.animation.catalogPreset.emph3": "Brush on Color",
|
|
160
|
+
"pptx.animation.catalogPreset.emph4": "Brush on Underline",
|
|
161
|
+
"pptx.animation.catalogPreset.emph5": "Change Font",
|
|
162
|
+
"pptx.animation.catalogPreset.emph6": "Grow/Shrink",
|
|
163
|
+
"pptx.animation.catalogPreset.emph7": "Change Font Color",
|
|
164
|
+
"pptx.animation.catalogPreset.emph8": "Spin",
|
|
165
|
+
"pptx.animation.catalogPreset.emph9": "Transparency",
|
|
166
|
+
"pptx.animation.catalogPreset.emph10": "Change Font Size",
|
|
167
|
+
"pptx.animation.catalogPreset.emph11": "Change Font Style",
|
|
168
|
+
"pptx.animation.catalogPreset.emph12": "Grow with Color",
|
|
169
|
+
"pptx.animation.catalogPreset.emph13": "Desaturate",
|
|
170
|
+
"pptx.animation.catalogPreset.emph14": "Teeter",
|
|
171
|
+
"pptx.animation.catalogPreset.emph15": "Vertical Highlight",
|
|
172
|
+
"pptx.animation.catalogPreset.emph16": "Wave",
|
|
173
|
+
"pptx.animation.catalogPreset.emph17": "Blast",
|
|
174
|
+
"pptx.animation.catalogPreset.emph18": "Bold Reveal",
|
|
175
|
+
"pptx.animation.catalogPreset.emph19": "Wash Out",
|
|
176
|
+
"pptx.animation.catalogPreset.emph20": "Shimmer",
|
|
177
|
+
"pptx.animation.catalogPreset.emph21": "Flicker",
|
|
178
|
+
"pptx.animation.catalogPreset.emph22": "Grow with Color (Sustain)",
|
|
179
|
+
"pptx.animation.catalogPreset.emph23": "Lighten",
|
|
180
|
+
"pptx.animation.catalogPreset.emph24": "Darken",
|
|
181
|
+
"pptx.animation.catalogPreset.emph25": "Style Emphasis",
|
|
182
|
+
"pptx.animation.catalogPreset.emph26": "Pulse",
|
|
183
|
+
"pptx.animation.catalogPreset.emph27": "Color Pulse",
|
|
184
|
+
"pptx.animation.catalogPreset.emph28": "Color Blend",
|
|
185
|
+
"pptx.animation.catalogPreset.emph29": "Complementary Color",
|
|
186
|
+
"pptx.animation.catalogPreset.emph30": "Complementary Color 2",
|
|
187
|
+
"pptx.animation.catalogPreset.emph31": "Contrasting Color",
|
|
188
|
+
"pptx.animation.catalogPreset.emph32": "Pulse Once",
|
|
189
|
+
"pptx.animation.catalogPreset.emph33": "Underline",
|
|
190
|
+
"pptx.animation.catalogPreset.emph34": "Bold Flash (Variant)",
|
|
191
|
+
"pptx.animation.catalogPreset.emph35": "Teeter (Variant)",
|
|
192
|
+
"pptx.animation.catalogPreset.emph36": "Wave (Variant)",
|
|
193
|
+
"pptx.animation.catalogPreset.emph37": "Object Color",
|
|
194
|
+
"pptx.animation.catalogPreset.emph38": "Fill Color",
|
|
195
|
+
"pptx.animation.catalogPreset.emph39": "Line Color",
|
|
196
|
+
"pptx.animation.catalogPreset.emph40": "Brush on Color (Sustain)",
|
|
197
|
+
"pptx.animation.catalogPreset.emph41": "Color Wave (Sustain)",
|
|
198
|
+
"pptx.animation.catalogPreset.emph42": "Flash",
|
|
199
|
+
"pptx.animation.catalogPreset.emph43": "Flicker Slow",
|
|
200
|
+
"pptx.animation.catalogPreset.emph44": "Grow Big",
|
|
201
|
+
"pptx.animation.catalogPreset.emph45": "Shrink Small",
|
|
202
|
+
"pptx.animation.catalogPreset.emph46": "Color Lighten",
|
|
203
|
+
"pptx.animation.catalogPreset.emph47": "Color Darken",
|
|
204
|
+
"pptx.animation.catalogPreset.emph48": "Bold Italics",
|
|
205
|
+
"pptx.animation.catalogPreset.emph49": "Spin Slow",
|
|
206
|
+
"pptx.animation.catalogPreset.emph50": "Spin Fast",
|
|
207
|
+
"pptx.animation.catalogPreset.emph51": "Wobble",
|
|
208
|
+
"pptx.animation.catalogPreset.emph52": "Jiggle",
|
|
209
|
+
"pptx.animation.catalogPreset.emph53": "Bounce In Place",
|
|
210
|
+
"pptx.animation.catalogPreset.emph54": "Heartbeat",
|
|
211
|
+
"pptx.animation.catalogPreset.emph55": "Glow",
|
|
212
|
+
"pptx.animation.catalogPreset.emph56": "Brighten",
|
|
213
|
+
"pptx.animation.catalogPreset.emph57": "Dim",
|
|
214
|
+
"pptx.animation.catalogPreset.emph58": "Saturate",
|
|
215
|
+
"pptx.animation.catalogPreset.emph59": "Color Cycle",
|
|
216
|
+
"pptx.animation.catalogPreset.emph60": "Rainbow",
|
|
217
|
+
"pptx.animation.catalogPreset.emph61": "Shake",
|
|
218
|
+
"pptx.animation.catalogPreset.emph62": "Vibrate",
|
|
219
|
+
"pptx.animation.catalogPreset.emph63": "Sway",
|
|
220
|
+
"pptx.animation.catalogPreset.emph64": "Bob",
|
|
221
|
+
// Motion path catalogue.
|
|
222
|
+
"pptx.animation.catalogPreset.pathLineUp": "Lines: Up",
|
|
223
|
+
"pptx.animation.catalogPreset.pathLineDown": "Lines: Down",
|
|
224
|
+
"pptx.animation.catalogPreset.pathLineLeft": "Lines: Left",
|
|
225
|
+
"pptx.animation.catalogPreset.pathLineRight": "Lines: Right",
|
|
226
|
+
"pptx.animation.catalogPreset.pathLineUpLeft": "Lines: Up-Left",
|
|
227
|
+
"pptx.animation.catalogPreset.pathLineUpRight": "Lines: Up-Right",
|
|
228
|
+
"pptx.animation.catalogPreset.pathLineDownLeft": "Lines: Down-Left",
|
|
229
|
+
"pptx.animation.catalogPreset.pathLineDownRight": "Lines: Down-Right",
|
|
230
|
+
"pptx.animation.catalogPreset.pathArcUp": "Arcs: Up",
|
|
231
|
+
"pptx.animation.catalogPreset.pathArcDown": "Arcs: Down",
|
|
232
|
+
"pptx.animation.catalogPreset.pathArcLeft": "Arcs: Left",
|
|
233
|
+
"pptx.animation.catalogPreset.pathArcRight": "Arcs: Right",
|
|
234
|
+
"pptx.animation.catalogPreset.pathTurnUpLeft": "Turns: Up-Left",
|
|
235
|
+
"pptx.animation.catalogPreset.pathTurnUpRight": "Turns: Up-Right",
|
|
236
|
+
"pptx.animation.catalogPreset.pathTurnDownLeft": "Turns: Down-Left",
|
|
237
|
+
"pptx.animation.catalogPreset.pathTurnDownRight": "Turns: Down-Right",
|
|
238
|
+
"pptx.animation.catalogPreset.pathTurnUTurn": "Turns: U-Turn",
|
|
239
|
+
"pptx.animation.catalogPreset.pathCircle": "Shapes: Circle",
|
|
240
|
+
"pptx.animation.catalogPreset.pathDiamond": "Shapes: Diamond",
|
|
241
|
+
"pptx.animation.catalogPreset.pathHexagon": "Shapes: Hexagon",
|
|
242
|
+
"pptx.animation.catalogPreset.pathOctagon": "Shapes: Octagon",
|
|
243
|
+
"pptx.animation.catalogPreset.pathParallelogram": "Shapes: Parallelogram",
|
|
244
|
+
"pptx.animation.catalogPreset.pathPentagon": "Shapes: Pentagon",
|
|
245
|
+
"pptx.animation.catalogPreset.pathRightTriangle": "Shapes: Right Triangle",
|
|
246
|
+
"pptx.animation.catalogPreset.pathEquilateralTriangle": "Shapes: Equilateral Triangle",
|
|
247
|
+
"pptx.animation.catalogPreset.pathTrapezoid": "Shapes: Trapezoid",
|
|
248
|
+
"pptx.animation.catalogPreset.pathSquare": "Shapes: Square",
|
|
249
|
+
"pptx.animation.catalogPreset.pathStar4": "Shapes: 4 Point Star",
|
|
250
|
+
"pptx.animation.catalogPreset.pathStar5": "Shapes: 5 Point Star",
|
|
251
|
+
"pptx.animation.catalogPreset.pathStar6": "Shapes: 6 Point Star",
|
|
252
|
+
"pptx.animation.catalogPreset.pathStar8": "Shapes: 8 Point Star",
|
|
253
|
+
"pptx.animation.catalogPreset.pathCrescent": "Shapes: Crescent Moon",
|
|
254
|
+
"pptx.animation.catalogPreset.pathHeart": "Shapes: Heart",
|
|
255
|
+
"pptx.animation.catalogPreset.pathFootball": "Shapes: Football",
|
|
256
|
+
"pptx.animation.catalogPreset.pathTeardrop": "Shapes: Teardrop",
|
|
257
|
+
"pptx.animation.catalogPreset.pathLoopDeCay": "Loops: Decaying Wave",
|
|
258
|
+
"pptx.animation.catalogPreset.pathLoopFigure8": "Loops: Figure 8",
|
|
259
|
+
"pptx.animation.catalogPreset.pathLoopFigure8Four": "Loops: Figure 8 Four",
|
|
260
|
+
"pptx.animation.catalogPreset.pathLoopHorizFigure8": "Loops: Horizontal Figure 8",
|
|
261
|
+
"pptx.animation.catalogPreset.pathLoopVertFigure8": "Loops: Vertical Figure 8",
|
|
262
|
+
"pptx.animation.catalogPreset.pathLoopLoopDeLoop": "Loops: Loop de Loop",
|
|
263
|
+
"pptx.animation.catalogPreset.pathLoopNeutron": "Loops: Neutron",
|
|
264
|
+
"pptx.animation.catalogPreset.pathLoopPeanut": "Loops: Peanut",
|
|
265
|
+
"pptx.animation.catalogPreset.pathLoopPretzel": "Loops: Pretzel",
|
|
266
|
+
"pptx.animation.catalogPreset.pathLoopSpring": "Loops: Spring",
|
|
267
|
+
"pptx.animation.catalogPreset.pathLoopSwoosh": "Loops: Swoosh",
|
|
268
|
+
"pptx.animation.catalogPreset.pathLoopZigzag": "Loops: Zigzag",
|
|
269
|
+
"pptx.animation.catalogPreset.pathLoopHeartBeat": "Loops: Heartbeat",
|
|
270
|
+
"pptx.animation.catalogPreset.pathLoopCurvyLeft": "Loops: Curvy Left",
|
|
271
|
+
"pptx.animation.catalogPreset.pathLoopCurvyRight": "Loops: Curvy Right",
|
|
272
|
+
"pptx.animation.catalogPreset.pathLoopCurvyStar": "Loops: Curvy Star",
|
|
273
|
+
"pptx.animation.catalogPreset.pathLoopFigure8Side": "Loops: Figure 8 Side",
|
|
274
|
+
"pptx.animation.catalogPreset.pathLoopSpiral": "Loops: Spiral",
|
|
275
|
+
"pptx.animation.catalogPreset.pathLoopWave": "Loops: Wave",
|
|
276
|
+
"pptx.animation.catalogPreset.pathLoopBean": "Loops: Bean",
|
|
277
|
+
"pptx.animation.catalogPreset.pathLoopBuzzSaw": "Loops: Buzz Saw",
|
|
278
|
+
"pptx.animation.catalogPreset.pathLoopCogwheel": "Loops: Cogwheel",
|
|
279
|
+
"pptx.animation.catalogPreset.pathLoopCornerStar": "Loops: Corner Star",
|
|
280
|
+
"pptx.animation.catalogPreset.pathLoopCrossPath": "Loops: Cross",
|
|
281
|
+
"pptx.animation.catalogPreset.pathLoopDiamond4": "Loops: Diamond 4",
|
|
282
|
+
"pptx.animation.catalogPreset.pathLoopFanIn": "Loops: Fan In",
|
|
283
|
+
"pptx.animation.catalogPreset.pathLoopFigure8Top": "Loops: Figure 8 Top",
|
|
284
|
+
"pptx.animation.catalogPreset.pathLoopHeartBig": "Loops: Big Heart",
|
|
285
|
+
"pptx.animation.catalogPreset.pathLoopInverted": "Loops: Inverted",
|
|
286
|
+
"pptx.animation.catalogPreset.pathLoopPlus": "Loops: Plus",
|
|
287
|
+
"pptx.animation.catalogPreset.pathCustom": "Custom Path"
|
|
288
|
+
};
|
|
4
289
|
var translationsEn = {
|
|
290
|
+
// Animation effect names for both preset vocabularies (278 mechanical
|
|
291
|
+
// entries), kept in their own module so they don't drown the UI copy here.
|
|
292
|
+
...animationPresetTranslationsEn,
|
|
5
293
|
// Status bar
|
|
6
294
|
"pptx.statusBar.allSaved": "All saved",
|
|
7
295
|
"pptx.statusBar.unsavedChanges": "Unsaved changes",
|
|
@@ -2304,7 +2592,6 @@ var translationsEn = {
|
|
|
2304
2592
|
"pptx.action.slideNumberPlaceholder": "Slide number (1-based)",
|
|
2305
2593
|
"pptx.animation.trigger.afterDelay": "After delay",
|
|
2306
2594
|
"pptx.animationPanel.stepsMore": "{{base}} +{{extra}} more",
|
|
2307
|
-
"pptx.arrowhead.arrow": "Arrow",
|
|
2308
2595
|
"pptx.arrowhead.diamond": "Diamond",
|
|
2309
2596
|
"pptx.arrowhead.none": "None",
|
|
2310
2597
|
"pptx.arrowhead.openArrow": "Open Arrow",
|
|
@@ -3082,7 +3369,95 @@ var translationsEn = {
|
|
|
3082
3369
|
"pptx.backstage.card.share.title": "Share with People",
|
|
3083
3370
|
"pptx.backstage.card.share.body": "Invite collaborators and work on the presentation together.",
|
|
3084
3371
|
"pptx.backstage.card.sharePackage.title": "Package for Sharing",
|
|
3085
|
-
"pptx.backstage.card.sharePackage.body": "Download a self-contained package for offline sharing."
|
|
3372
|
+
"pptx.backstage.card.sharePackage.body": "Download a self-contained package for offline sharing.",
|
|
3373
|
+
// OOXML wire tokens that controls used to render verbatim. Wording follows
|
|
3374
|
+
// PowerPoint's own dialogs; see `render/schema-label-keys.ts` for the
|
|
3375
|
+
// token -> key lookups these back.
|
|
3376
|
+
"pptx.themeColor.dark1": "Dark 1",
|
|
3377
|
+
"pptx.themeColor.light1": "Light 1",
|
|
3378
|
+
"pptx.themeColor.dark2": "Dark 2",
|
|
3379
|
+
"pptx.themeColor.light2": "Light 2",
|
|
3380
|
+
"pptx.themeColor.accent1": "Accent 1",
|
|
3381
|
+
"pptx.themeColor.accent2": "Accent 2",
|
|
3382
|
+
"pptx.themeColor.accent3": "Accent 3",
|
|
3383
|
+
"pptx.themeColor.accent4": "Accent 4",
|
|
3384
|
+
"pptx.themeColor.accent5": "Accent 5",
|
|
3385
|
+
"pptx.themeColor.accent6": "Accent 6",
|
|
3386
|
+
"pptx.themeColor.hyperlink": "Hyperlink",
|
|
3387
|
+
"pptx.themeColor.followedHyperlink": "Followed Hyperlink",
|
|
3388
|
+
"pptx.smartart.schemeColorful1": "Colourful 1",
|
|
3389
|
+
"pptx.smartart.schemeColorful2": "Colourful 2",
|
|
3390
|
+
"pptx.smartart.schemeColorful3": "Colourful 3",
|
|
3391
|
+
"pptx.smartart.schemeMonochromatic1": "Monochromatic 1",
|
|
3392
|
+
"pptx.smartart.schemeMonochromatic2": "Monochromatic 2",
|
|
3393
|
+
"pptx.smartart.styleFlat": "Flat",
|
|
3394
|
+
"pptx.smartart.styleModerate": "Moderate",
|
|
3395
|
+
"pptx.smartart.styleIntense": "Intense",
|
|
3396
|
+
"pptx.smartart.category.matrix": "Matrix",
|
|
3397
|
+
"pptx.smartart.category.pyramid": "Pyramid",
|
|
3398
|
+
"pptx.smartart.category.funnel": "Funnel",
|
|
3399
|
+
"pptx.smartart.category.target": "Target",
|
|
3400
|
+
"pptx.smartart.category.gear": "Gear",
|
|
3401
|
+
"pptx.smartart.category.venn": "Venn",
|
|
3402
|
+
"pptx.smartart.category.timeline": "Timeline",
|
|
3403
|
+
"pptx.smartart.category.chevron": "Chevron",
|
|
3404
|
+
"pptx.smartart.category.bending": "Bending",
|
|
3405
|
+
"pptx.chart.typeOfPie": "Pie of Pie",
|
|
3406
|
+
"pptx.chart.typeBar3D": "Bar (3-D)",
|
|
3407
|
+
"pptx.chart.typeLine3D": "Line (3-D)",
|
|
3408
|
+
"pptx.chart.typePie3D": "Pie (3-D)",
|
|
3409
|
+
"pptx.chart.typeArea3D": "Area (3-D)",
|
|
3410
|
+
"pptx.chart.typeSurface": "Surface",
|
|
3411
|
+
"pptx.chart.typeHistogram": "Histogram",
|
|
3412
|
+
"pptx.chart.typeFunnel": "Funnel",
|
|
3413
|
+
"pptx.chart.typeTreemap": "Treemap",
|
|
3414
|
+
"pptx.chart.typeSunburst": "Sunburst",
|
|
3415
|
+
"pptx.chart.typeBoxWhisker": "Box and Whisker",
|
|
3416
|
+
"pptx.chart.typeRegionMap": "Filled Map",
|
|
3417
|
+
"pptx.chart.typeUnknown": "Unknown",
|
|
3418
|
+
"pptx.chart.groupingStandard": "Standard",
|
|
3419
|
+
"pptx.chart.seriesAxis": "Series axis",
|
|
3420
|
+
"pptx.chart.labelPosAbove": "Above",
|
|
3421
|
+
"pptx.chart.labelPosBelow": "Below",
|
|
3422
|
+
"pptx.chart.labelPosLeft": "Left",
|
|
3423
|
+
"pptx.chart.labelPosRight": "Right",
|
|
3424
|
+
"pptx.chart.errorBarCustom": "Custom",
|
|
3425
|
+
"pptx.chart.errorBarDirectionX": "Horizontal (X)",
|
|
3426
|
+
"pptx.chart.errorBarDirectionY": "Vertical (Y)",
|
|
3427
|
+
"pptx.transitionPresets.conveyor": "Conveyor",
|
|
3428
|
+
"pptx.transitionPresets.doors": "Doors",
|
|
3429
|
+
"pptx.transitionPresets.ferris": "Ferris Wheel",
|
|
3430
|
+
"pptx.transitionPresets.flash": "Flash",
|
|
3431
|
+
"pptx.transitionPresets.flythrough": "Fly Through",
|
|
3432
|
+
"pptx.transitionPresets.gallery": "Gallery",
|
|
3433
|
+
"pptx.transitionPresets.glitter": "Glitter",
|
|
3434
|
+
"pptx.transitionPresets.honeycomb": "Honeycomb",
|
|
3435
|
+
"pptx.transitionPresets.pan": "Pan",
|
|
3436
|
+
"pptx.transitionPresets.prism": "Prism",
|
|
3437
|
+
"pptx.transitionPresets.reveal": "Reveal",
|
|
3438
|
+
"pptx.transitionPresets.ripple": "Ripple",
|
|
3439
|
+
"pptx.transitionPresets.shred": "Shred",
|
|
3440
|
+
"pptx.transitionPresets.switch": "Switch",
|
|
3441
|
+
"pptx.transitionPresets.vortex": "Vortex",
|
|
3442
|
+
"pptx.transitionPresets.warp": "Warp",
|
|
3443
|
+
"pptx.transitionPresets.wheelReverse": "Reverse Wheel",
|
|
3444
|
+
"pptx.transitionPresets.window": "Window",
|
|
3445
|
+
"pptx.transitionPresets.cube": "Cube",
|
|
3446
|
+
"pptx.transitionPresets.flip": "Flip",
|
|
3447
|
+
"pptx.transitionPresets.rotate": "Rotate",
|
|
3448
|
+
"pptx.transitionPresets.orbit": "Orbit",
|
|
3449
|
+
"pptx.transitionPresets.fallOver": "Fall Over",
|
|
3450
|
+
"pptx.transitionPresets.drape": "Drape",
|
|
3451
|
+
"pptx.transitionPresets.curtains": "Curtains",
|
|
3452
|
+
"pptx.transitionPresets.wind": "Wind",
|
|
3453
|
+
"pptx.transitionPresets.prestige": "Prestige",
|
|
3454
|
+
"pptx.transitionPresets.fracture": "Fracture",
|
|
3455
|
+
"pptx.transitionPresets.crush": "Crush",
|
|
3456
|
+
"pptx.transitionPresets.peelOff": "Peel Off",
|
|
3457
|
+
"pptx.transitionPresets.pageCurlDouble": "Page Curl Double",
|
|
3458
|
+
"pptx.transitionPresets.pageCurlSingle": "Page Curl Single",
|
|
3459
|
+
"pptx.transitionPresets.airplane": "Airplane",
|
|
3460
|
+
"pptx.transitionPresets.origami": "Origami"
|
|
3086
3461
|
};
|
|
3087
3462
|
function keyToLabel(key) {
|
|
3088
3463
|
const last = key.split(".").pop() ?? key;
|
|
Binary file
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { cloneHistorySnapshot, MIN_ELEMENT_SIZE, ZOOM_TO_SELECTION_PADDING, DEFAULT_CANVAS_HEIGHT, DEFAULT_CANVAS_WIDTH, partitionTemplateElements, UNGROUPED_SECTION_ID, stopAllPersistentAudio, buildSaveSlides, DEFAULT_TABLE_ROWS, DEFAULT_TABLE_COLUMNS, executeMediaCommand, buildPdfFromImageData, buildNotesPdf, EMU_PER_PX, GRID_SIZE, DEFAULT_TEXT_FONT_SIZE } from './chunk-
|
|
2
|
-
import { translationsEn } from './chunk-
|
|
3
|
-
import { TOOLBAR_TABS, computeVirtualRange, DEFAULT_VIRTUAL_OVERSCAN, BROADCAST_THROTTLE_MS, createSyncGate, clearLocalAwareness, validateRoomId, createDepartureChannel, resolveTransportForServerUrl, isMixedContentBlocked, CONNECTION_TIMEOUT_MS, registerCollaborationTeardown, sanitizeColor, cloneTemplateElementsBySlideId, cloneSlide, clampZoomScale, zoomInScale, zoomOutScale, PresentationAnimationController, computeEntranceAnimationDelay, PRESENTATION_HASH, PRESENTATION_NONCE_KEY, PRESENTATION_CHANNEL_NAME, swapPresentationWindows, PRESENTATION_MESSAGE_ORIGIN, clearAudienceContent, buildPresentationAudienceUrl, resolveAudienceScreenPlacement, placeAudienceWindow, storeAudienceContent, isPresentationSessionMessage, endAudienceDisplay, createPresentationKeyBuffer, acceptsPresentationInput, resolveAutoAdvanceDelayMs, buildMorphTransitionPlan, morphOptionToMode, createCollaborationLivePatcher, publishLiveInlineText, PptxHandler, collectMediaElements, collectImagePaths, buildInitialGuides, EncryptedFileError, saveAutosaveSnapshot, isTemplateElementId, hasShapeProperties, hasTextProperties, getInlineEditorSelection, applyStyleToSelectedSegments, setPendingSelectionRestore, applyCaseTransformToSegments, transformTextCase, addSection, renameSection, deleteSection, moveSectionUp, moveSectionDown, moveSlidesToSection, normalizeColorsForCapture, preprocessCssForCapture, downloadBlob, sanitizeDownloadFilename, slideProgressPercent, slideStatusLabel, EXPORT_ASSEMBLING_PERCENT, EXPORT_DONE_PERCENT, isExportAbortError, recordProgressPercent, applyThemeToData, THEME_PRESETS, themeColorSchemesEqual, comparePresentation, applyAcceptSlide, applyAcceptAllSlides, collectUsedFonts, detectTouchDevice, detectOrientation, isMobileViewport, MOBILE_BREAKPOINT, TABLET_BREAKPOINT, mayLeaveSlideShow, remapTextToSegments, guidePxToEmu, shouldLoopContinuously, applyRehearsalTimings, copyFormatFromElement, applyFormatToElement, mapEditorKey, isEditorTextInputTarget, createViewerOptionsStore, readSlidesFromYDoc, reconcileSlidesInYDoc, LOCAL_SYNC_ORIGIN, observeYDocSlides, shouldAutoFollowBroadcaster, createTouchGestureRecognizer, MAX_ZOOM_SCALE, MIN_ZOOM_SCALE, isKeyboardOpen, openPptxFile, readBackstageRecentFile, isActionHidden, buildElementClipboardPayload, generatePackageReadme, groupElements, generateElementId, makeCloneId, alignElements, distributeElements, bringForward, sendBackward, bringToFront, sendToBack, newTableElement, createDefaultChartElement, readViewportMetrics, computeKeyboardInset, mergeShapes, derivePresenceList, mapPresentationKey, buildPrintDocument, buildOutlineHtml, buildSlidesHtml, buildNotesHtml, buildHandoutsHtml, createBlankSlide, makeSlideId, buildThemeColorMap, reResolveSlideColors, createPresentationSessionId, resolveTransitionDurationMs,
|
|
1
|
+
import { cloneHistorySnapshot, MIN_ELEMENT_SIZE, ZOOM_TO_SELECTION_PADDING, DEFAULT_CANVAS_HEIGHT, DEFAULT_CANVAS_WIDTH, partitionTemplateElements, UNGROUPED_SECTION_ID, stopAllPersistentAudio, buildSaveSlides, DEFAULT_TABLE_ROWS, DEFAULT_TABLE_COLUMNS, executeMediaCommand, buildPdfFromImageData, buildNotesPdf, EMU_PER_PX, GRID_SIZE, DEFAULT_TEXT_FONT_SIZE } from './chunk-CEUHGUZ4.mjs';
|
|
2
|
+
import { translationsEn } from './chunk-ECDKYPQ2.mjs';
|
|
3
|
+
import { TOOLBAR_TABS, computeVirtualRange, DEFAULT_VIRTUAL_OVERSCAN, BROADCAST_THROTTLE_MS, createSyncGate, clearLocalAwareness, validateRoomId, createDepartureChannel, resolveTransportForServerUrl, isMixedContentBlocked, CONNECTION_TIMEOUT_MS, registerCollaborationTeardown, sanitizeColor, cloneTemplateElementsBySlideId, cloneSlide, clampZoomScale, zoomInScale, zoomOutScale, PresentationAnimationController, computeEntranceAnimationDelay, PRESENTATION_HASH, PRESENTATION_NONCE_KEY, PRESENTATION_CHANNEL_NAME, swapPresentationWindows, PRESENTATION_MESSAGE_ORIGIN, clearAudienceContent, buildPresentationAudienceUrl, resolveAudienceScreenPlacement, placeAudienceWindow, storeAudienceContent, isPresentationSessionMessage, endAudienceDisplay, createPresentationKeyBuffer, acceptsPresentationInput, resolveAutoAdvanceDelayMs, hasShowSlideAfter, nextShowSlideIndex, previousShowSlideIndex, buildMorphTransitionPlan, morphOptionToMode, createCollaborationLivePatcher, publishLiveInlineText, PptxHandler, collectMediaElements, collectImagePaths, buildInitialGuides, EncryptedFileError, saveAutosaveSnapshot, isTemplateElementId, hasShapeProperties, hasTextProperties, getInlineEditorSelection, applyStyleToSelectedSegments, setPendingSelectionRestore, applyCaseTransformToSegments, transformTextCase, addSection, renameSection, deleteSection, moveSectionUp, moveSectionDown, moveSlidesToSection, normalizeColorsForCapture, preprocessCssForCapture, downloadBlob, sanitizeDownloadFilename, slideProgressPercent, slideStatusLabel, EXPORT_ASSEMBLING_PERCENT, EXPORT_DONE_PERCENT, isExportAbortError, recordProgressPercent, applyThemeToData, THEME_PRESETS, themeColorSchemesEqual, comparePresentation, applyAcceptSlide, applyAcceptAllSlides, collectUsedFonts, detectTouchDevice, detectOrientation, isMobileViewport, MOBILE_BREAKPOINT, TABLET_BREAKPOINT, mayLeaveSlideShow, remapTextToSegments, guidePxToEmu, shouldLoopContinuously, applyRehearsalTimings, copyFormatFromElement, applyFormatToElement, mapEditorKey, isEditorTextInputTarget, createViewerOptionsStore, readSlidesFromYDoc, reconcileSlidesInYDoc, LOCAL_SYNC_ORIGIN, observeYDocSlides, shouldAutoFollowBroadcaster, createTouchGestureRecognizer, MAX_ZOOM_SCALE, MIN_ZOOM_SCALE, isKeyboardOpen, openPptxFile, readBackstageRecentFile, isActionHidden, buildElementClipboardPayload, generatePackageReadme, groupElements, generateElementId, makeCloneId, alignElements, distributeElements, bringForward, sendBackward, bringToFront, sendToBack, newTableElement, createDefaultChartElement, readViewportMetrics, computeKeyboardInset, mergeShapes, derivePresenceList, mapPresentationKey, lastShowSlideIndex, firstShowSlideIndex, buildPrintDocument, buildOutlineHtml, buildSlidesHtml, buildNotesHtml, buildHandoutsHtml, createBlankSlide, makeSlideId, buildThemeColorMap, reResolveSlideColors, createPresentationSessionId, resolveTransitionDurationMs, runPresentationAction, createPresenterTimer, createInitialPresentationSnapshot, mergePresentationSnapshot, presenterElapsed, stepPresenterZoom, resetPresenterTimer, togglePresenterTimer, canvasToJpegData, downloadDataUrl, pickSupportedMimeType, WEBM_MIME_CANDIDATES, fpsToFrameIntervalMs, segmentFrameCount, encodeGif, resolveShowSlideIndexes, groupSlidesBySection, hasCopyableFormat, createBackstagePresentation, buildFieldSubstitutionContext, cloneElementForPaste, computeScrollDelta, getPresetShapeClipPath, svgPathToPolygons, polygonsToSvgPath, rerouteConnectorsForMovedElements, applyReroutedConnectors, SvgExporter, buildPrintHtmlDocument, deleteTableColumn, rebuildTableStructureInRawXml, insertTableColumn, deleteTableRow, insertTableRow, updateCellTextStyleInRawXml, updateCellTextInRawXml, splitCell, updateMergeAttrsInRawXml, mergeCells, isPpactionUrl, parsePpactionUrl, safeOpenUrl, ACTION_BUTTON_PRESETS, elementActionToPptxAction, buildSmartArtPresetData, computeSnapToShape, publishLiveGeometry, computeMarqueeHitIds, mergeAdditiveSelection, applyResize, snapBoxToGrid, applyMotionPathPreset } from './chunk-QGHC65C4.mjs';
|
|
4
4
|
import { useRef, useState, useEffect, useCallback, useMemo, useSyncExternalStore, useImperativeHandle } from 'react';
|
|
5
5
|
import JSZip from 'jszip';
|
|
6
6
|
import { useTranslation } from 'react-i18next';
|
|
@@ -1580,6 +1580,7 @@ function usePresentationKeyboard(input) {
|
|
|
1580
1580
|
movePresentationSlide,
|
|
1581
1581
|
navigateToSlide,
|
|
1582
1582
|
slideCount,
|
|
1583
|
+
showSlideIndexes,
|
|
1583
1584
|
onSetMode,
|
|
1584
1585
|
onSetPointerTool,
|
|
1585
1586
|
onEraseAnnotations,
|
|
@@ -1619,12 +1620,16 @@ function usePresentationKeyboard(input) {
|
|
|
1619
1620
|
case "previous":
|
|
1620
1621
|
movePresentationSlide(-1);
|
|
1621
1622
|
return;
|
|
1622
|
-
case "first":
|
|
1623
|
-
|
|
1623
|
+
case "first": {
|
|
1624
|
+
const first = firstShowSlideIndex(showSlideIndexes);
|
|
1625
|
+
navigateToSlide(first ?? 0);
|
|
1624
1626
|
return;
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
+
}
|
|
1628
|
+
case "last": {
|
|
1629
|
+
const last = lastShowSlideIndex(showSlideIndexes);
|
|
1630
|
+
navigateToSlide(last ?? Math.max(0, slideCount - 1));
|
|
1627
1631
|
return;
|
|
1632
|
+
}
|
|
1628
1633
|
case "goto": {
|
|
1629
1634
|
const index = mapped.slideNumber - 1;
|
|
1630
1635
|
if (index >= 0 && index < slideCount) {
|
|
@@ -1664,6 +1669,7 @@ function usePresentationKeyboard(input) {
|
|
|
1664
1669
|
movePresentationSlide,
|
|
1665
1670
|
navigateToSlide,
|
|
1666
1671
|
slideCount,
|
|
1672
|
+
showSlideIndexes,
|
|
1667
1673
|
onSetMode,
|
|
1668
1674
|
onSetPointerTool,
|
|
1669
1675
|
onEraseAnnotations,
|
|
@@ -1775,43 +1781,22 @@ function useRehearsalTimings(input) {
|
|
|
1775
1781
|
|
|
1776
1782
|
// src/viewer/hooks/presentation-mode/presentation-actions.ts
|
|
1777
1783
|
function handlePresentationActionImpl(action, deps) {
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
deps.
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
if (actionStr.includes("hlinkshowjump")) {
|
|
1793
|
-
const lower = actionStr.toLowerCase();
|
|
1794
|
-
if (lower.includes("nextslide")) {
|
|
1795
|
-
deps.movePresentationSlide(1);
|
|
1796
|
-
} else if (lower.includes("previousslide")) {
|
|
1797
|
-
deps.movePresentationSlide(-1);
|
|
1798
|
-
} else if (lower.includes("firstslide")) {
|
|
1799
|
-
deps.navigateToSlide(0);
|
|
1800
|
-
} else if (lower.includes("lastslide")) {
|
|
1801
|
-
deps.navigateToSlide(deps.slidesLength - 1);
|
|
1802
|
-
} else if (lower.includes("endshow")) {
|
|
1803
|
-
deps.onSetMode("edit");
|
|
1804
|
-
}
|
|
1805
|
-
return;
|
|
1806
|
-
}
|
|
1807
|
-
if (actionStr.includes("hlinksldjump")) {
|
|
1808
|
-
return;
|
|
1809
|
-
}
|
|
1810
|
-
if (action.url && !actionStr.includes("hlinksldjump")) {
|
|
1811
|
-
if (isUrlSafe(action.url)) {
|
|
1812
|
-
window.open(action.url, "_blank", "noopener,noreferrer");
|
|
1784
|
+
runPresentationAction(
|
|
1785
|
+
action,
|
|
1786
|
+
{ slideCount: deps.slidesLength },
|
|
1787
|
+
{
|
|
1788
|
+
goToSlide: (slideIndex) => {
|
|
1789
|
+
deps.navigateToSlide(slideIndex);
|
|
1790
|
+
},
|
|
1791
|
+
move: (direction) => {
|
|
1792
|
+
deps.movePresentationSlide(direction);
|
|
1793
|
+
},
|
|
1794
|
+
endShow: () => {
|
|
1795
|
+
deps.onSetMode("edit");
|
|
1796
|
+
},
|
|
1797
|
+
playSound: deps.onPlayActionSound ? (soundPath) => deps.onPlayActionSound?.(soundPath) : void 0
|
|
1813
1798
|
}
|
|
1814
|
-
|
|
1799
|
+
);
|
|
1815
1800
|
}
|
|
1816
1801
|
|
|
1817
1802
|
// src/viewer/hooks/presentation-mode/slide-transition.ts
|
|
@@ -1900,10 +1885,8 @@ function useSlideNavigation(input) {
|
|
|
1900
1885
|
if (availableSlideIndexes.length === 0) {
|
|
1901
1886
|
return;
|
|
1902
1887
|
}
|
|
1903
|
-
const
|
|
1904
|
-
|
|
1905
|
-
const nextPosition = normalizedCurrentPosition + direction;
|
|
1906
|
-
if (rehearsing && direction === 1 && nextPosition >= availableSlideIndexes.length) {
|
|
1888
|
+
const pastLastSlide = direction === 1 && !hasShowSlideAfter(presentationSlideIndex, availableSlideIndexes);
|
|
1889
|
+
if (rehearsing && pastLastSlide) {
|
|
1907
1890
|
recordCurrentSlideTime(presentationSlideIndex);
|
|
1908
1891
|
try {
|
|
1909
1892
|
if (document.fullscreenElement) {
|
|
@@ -1916,17 +1899,13 @@ function useSlideNavigation(input) {
|
|
|
1916
1899
|
setShowRehearsalSummary(true);
|
|
1917
1900
|
return;
|
|
1918
1901
|
}
|
|
1919
|
-
if (!loopContinuously && !rehearsing &&
|
|
1902
|
+
if (!loopContinuously && !rehearsing && pastLastSlide && onAdvancePastLastSlide) {
|
|
1920
1903
|
onAdvancePastLastSlide();
|
|
1921
1904
|
return;
|
|
1922
1905
|
}
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
} else {
|
|
1927
|
-
resolvedPosition = Math.min(availableSlideIndexes.length - 1, Math.max(0, nextPosition));
|
|
1928
|
-
}
|
|
1929
|
-
const nextSlideIndex = availableSlideIndexes[resolvedPosition];
|
|
1906
|
+
const nextSlideIndex = direction === 1 ? nextShowSlideIndex(presentationSlideIndex, availableSlideIndexes, {
|
|
1907
|
+
loop: Boolean(loopContinuously) && !rehearsing
|
|
1908
|
+
}) : previousShowSlideIndex(presentationSlideIndex, availableSlideIndexes);
|
|
1930
1909
|
if (nextSlideIndex === void 0 || nextSlideIndex === presentationSlideIndex) {
|
|
1931
1910
|
return;
|
|
1932
1911
|
}
|
|
@@ -2325,6 +2304,7 @@ function usePresentationMode(input) {
|
|
|
2325
2304
|
movePresentationSlide,
|
|
2326
2305
|
navigateToSlide,
|
|
2327
2306
|
slideCount: slides.length,
|
|
2307
|
+
showSlideIndexes: visibleSlideIndexes,
|
|
2328
2308
|
onSetMode,
|
|
2329
2309
|
onSetPointerTool,
|
|
2330
2310
|
onEraseAnnotations,
|
|
@@ -8221,15 +8201,8 @@ function computeGridSpacingPx(presentationGridSpacing) {
|
|
|
8221
8201
|
return GRID_SIZE;
|
|
8222
8202
|
}
|
|
8223
8203
|
function computeVisibleSlideIndexes(slides, activeCustomShowId, customShows) {
|
|
8224
|
-
|
|
8225
|
-
|
|
8226
|
-
if (show) {
|
|
8227
|
-
const rIdToIndex = /* @__PURE__ */ new Map();
|
|
8228
|
-
slides.forEach((s, i) => rIdToIndex.set(s.rId, i));
|
|
8229
|
-
return show.slideRIds.map((rId) => rIdToIndex.get(rId)).filter((i) => i !== void 0);
|
|
8230
|
-
}
|
|
8231
|
-
}
|
|
8232
|
-
return slides.map((_, i) => i).filter((i) => !slides[i]?.hidden);
|
|
8204
|
+
const activeShow = activeCustomShowId ? customShows.find((show) => show.id === activeCustomShowId) : void 0;
|
|
8205
|
+
return resolveShowSlideIndexes(slides, activeShow);
|
|
8233
8206
|
}
|
|
8234
8207
|
function computeSlideSectionGroups(slides, sections) {
|
|
8235
8208
|
return groupSlidesBySection(sections, slides).map((group) => ({
|
|
@@ -10517,6 +10490,7 @@ function buildToolbarProps(input) {
|
|
|
10517
10490
|
state: s,
|
|
10518
10491
|
selectedElement,
|
|
10519
10492
|
activeSlide,
|
|
10493
|
+
activeSlideIndex,
|
|
10520
10494
|
zoom,
|
|
10521
10495
|
history,
|
|
10522
10496
|
findReplace,
|
|
@@ -10713,6 +10687,10 @@ function buildToolbarProps(input) {
|
|
|
10713
10687
|
eyedropperActive: s.eyedropperActive,
|
|
10714
10688
|
onToggleEyedropper: () => s.setEyedropperActive((p) => !p),
|
|
10715
10689
|
onOpenSetUpSlideShow: () => dialogs.setIsSetUpSlideShowOpen(true),
|
|
10690
|
+
// PowerPoint's Hide Slide: skip the active slide during the show while
|
|
10691
|
+
// leaving it in the deck, the rail and the sorter.
|
|
10692
|
+
onToggleHideSlide: () => slideOps.handleToggleHideSlides([activeSlideIndex]),
|
|
10693
|
+
activeSlideHidden: Boolean(activeSlide?.hidden),
|
|
10716
10694
|
onOpenBroadcastDialog: () => dialogs.setIsBroadcastDialogOpen(true),
|
|
10717
10695
|
onToggleSubtitles: dialogs.handleToggleSubtitles,
|
|
10718
10696
|
showSubtitles: Boolean(s.presentationProperties.showSubtitles),
|
|
@@ -10782,10 +10760,12 @@ function useViewerBuildingBlocksCore(input) {
|
|
|
10782
10760
|
activeMaster: state.activeMaster,
|
|
10783
10761
|
presentationGridSpacing: state.presentationProperties.gridSpacing
|
|
10784
10762
|
});
|
|
10763
|
+
const { options: viewerOptions } = useViewerOptions();
|
|
10785
10764
|
const { presentation, annotations, actionSoundHandlerRef } = usePresentationSetup({
|
|
10786
10765
|
mode,
|
|
10787
10766
|
slides,
|
|
10788
10767
|
visibleSlideIndexes,
|
|
10768
|
+
endWithBlackSlide: viewerOptions.advanced.slideShowEndWithBlackSlide,
|
|
10789
10769
|
activeSlideIndex,
|
|
10790
10770
|
containerRef,
|
|
10791
10771
|
content,
|
|
@@ -11041,6 +11021,7 @@ function useViewerBuildingBlocks(input) {
|
|
|
11041
11021
|
printHandlers,
|
|
11042
11022
|
propertyHandlers,
|
|
11043
11023
|
dialogs,
|
|
11024
|
+
activeSlideIndex,
|
|
11044
11025
|
slideOps: editorOps.slideOps,
|
|
11045
11026
|
ops: editorOps.ops,
|
|
11046
11027
|
onSetMode: handleSetMode,
|
|
Binary file
|
|
Binary file
|