pptx-react-viewer 3.1.1 → 3.1.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-6PERJN7M.js → AiChatPanel-4EYZDQXM.js} +24 -24
- package/dist/AiChatPanel-4EYZDQXM.js.br +0 -0
- package/dist/AiChatPanel-4EYZDQXM.js.gz +0 -0
- package/dist/{AiChatPanel-EIENGCKW.mjs → AiChatPanel-UCFQIWOQ.mjs} +4 -4
- package/dist/AiChatPanel-UCFQIWOQ.mjs.br +0 -0
- package/dist/AiChatPanel-UCFQIWOQ.mjs.gz +0 -0
- package/dist/{Area3DChartScene-W6SVC235.mjs → Area3DChartScene-PMYXO4MR.mjs} +1 -1
- package/dist/Area3DChartScene-PMYXO4MR.mjs.br +0 -0
- package/dist/Area3DChartScene-PMYXO4MR.mjs.gz +0 -0
- package/dist/{Area3DChartScene-TXCLQLBQ.js → Area3DChartScene-YBMC6NKY.js} +2 -2
- package/dist/Area3DChartScene-YBMC6NKY.js.br +0 -0
- package/dist/Area3DChartScene-YBMC6NKY.js.gz +0 -0
- package/dist/{Bar3DChartScene-6RHPFLZT.js → Bar3DChartScene-75DCA2ZA.js} +2 -2
- package/dist/Bar3DChartScene-75DCA2ZA.js.br +0 -0
- package/dist/Bar3DChartScene-75DCA2ZA.js.gz +0 -0
- package/dist/{Bar3DChartScene-FCVUZIJ3.mjs → Bar3DChartScene-CEOI6SU6.mjs} +1 -1
- package/dist/Bar3DChartScene-CEOI6SU6.mjs.br +0 -0
- package/dist/Bar3DChartScene-CEOI6SU6.mjs.gz +0 -0
- package/dist/{Line3DChartScene-MJXFXSPW.mjs → Line3DChartScene-EZZKWUZR.mjs} +1 -1
- package/dist/Line3DChartScene-EZZKWUZR.mjs.br +0 -0
- package/dist/Line3DChartScene-EZZKWUZR.mjs.gz +0 -0
- package/dist/{Line3DChartScene-2ZFE53KO.js → Line3DChartScene-STGX6N6V.js} +2 -2
- package/dist/Line3DChartScene-STGX6N6V.js.br +0 -0
- package/dist/Line3DChartScene-STGX6N6V.js.gz +0 -0
- package/dist/{Model3DScene-7VQNRY5B.js → Model3DScene-DWRD63FH.js} +2 -2
- package/dist/Model3DScene-DWRD63FH.js.br +0 -0
- package/dist/Model3DScene-DWRD63FH.js.gz +0 -0
- package/dist/{Model3DScene-A5RV3KNJ.mjs → Model3DScene-FGQJKWL6.mjs} +1 -1
- package/dist/Model3DScene-FGQJKWL6.mjs.br +0 -0
- package/dist/Model3DScene-FGQJKWL6.mjs.gz +0 -0
- package/dist/{PieChart3DScene-UEVFZZVW.mjs → PieChart3DScene-DH6RSJO6.mjs} +1 -1
- package/dist/PieChart3DScene-DH6RSJO6.mjs.br +0 -0
- package/dist/PieChart3DScene-DH6RSJO6.mjs.gz +0 -0
- package/dist/{PieChart3DScene-JTHZESS3.js → PieChart3DScene-R3Y7OVVO.js} +2 -2
- package/dist/PieChart3DScene-R3Y7OVVO.js.br +0 -0
- package/dist/PieChart3DScene-R3Y7OVVO.js.gz +0 -0
- package/dist/PowerPointViewer-Cl6jBPNw.d.ts.map +1 -1
- package/dist/{SurfaceChart3DScene-WD65PAG4.mjs → SurfaceChart3DScene-BMBU5RKI.mjs} +1 -1
- package/dist/SurfaceChart3DScene-BMBU5RKI.mjs.br +0 -0
- package/dist/SurfaceChart3DScene-BMBU5RKI.mjs.gz +0 -0
- package/dist/{SurfaceChart3DScene-FXUNT5OK.js → SurfaceChart3DScene-UM5HA3VO.js} +2 -2
- package/dist/SurfaceChart3DScene-UM5HA3VO.js.br +0 -0
- package/dist/SurfaceChart3DScene-UM5HA3VO.js.gz +0 -0
- package/dist/{chunk-GCE2TYHF.js → chunk-2HLDBQH7.js} +157 -157
- package/dist/chunk-2HLDBQH7.js.br +0 -0
- package/dist/chunk-2HLDBQH7.js.gz +0 -0
- package/dist/{chunk-MAOUVROK.mjs → chunk-4VVOTEQ4.mjs} +359 -336
- package/dist/chunk-4VVOTEQ4.mjs.br +0 -0
- package/dist/chunk-4VVOTEQ4.mjs.gz +0 -0
- package/dist/{chunk-IDTNKL4S.js → chunk-7ZQ2FZXE.js} +300 -45
- package/dist/chunk-7ZQ2FZXE.js.br +0 -0
- package/dist/chunk-7ZQ2FZXE.js.gz +0 -0
- package/dist/{chunk-MKPSUHUH.mjs → chunk-ARJE3V6V.mjs} +5 -6
- package/dist/chunk-ARJE3V6V.mjs.br +0 -0
- package/dist/chunk-ARJE3V6V.mjs.gz +0 -0
- package/dist/{chunk-GIFQWIW5.js → chunk-MQEG5GOV.js} +1339 -1212
- package/dist/chunk-MQEG5GOV.js.br +0 -0
- package/dist/chunk-MQEG5GOV.js.gz +0 -0
- package/dist/{chunk-5ERW2B25.mjs → chunk-O5DKWJDK.mjs} +1 -1
- package/dist/chunk-O5DKWJDK.mjs.br +0 -0
- package/dist/chunk-O5DKWJDK.mjs.gz +0 -0
- package/dist/{chunk-ISDTM2V3.mjs → chunk-S546O4W2.mjs} +286 -45
- package/dist/chunk-S546O4W2.mjs.br +0 -0
- package/dist/chunk-S546O4W2.mjs.gz +0 -0
- package/dist/{chunk-PIUB7R2K.js → chunk-SWRY3SI5.js} +5 -6
- package/dist/chunk-SWRY3SI5.js.br +0 -0
- package/dist/chunk-SWRY3SI5.js.gz +0 -0
- package/dist/{chunk-ICAYXQVJ.mjs → chunk-VLLZ3QL2.mjs} +260 -133
- package/dist/chunk-VLLZ3QL2.mjs.br +0 -0
- package/dist/chunk-VLLZ3QL2.mjs.gz +0 -0
- package/dist/{chunk-OUX4O5XK.mjs → chunk-W3J6SNVE.mjs} +2 -2
- package/dist/chunk-W3J6SNVE.mjs.br +0 -0
- package/dist/chunk-W3J6SNVE.mjs.gz +0 -0
- package/dist/{chunk-OTBQBTTQ.js → chunk-WVIKFMNS.js} +725 -704
- package/dist/chunk-WVIKFMNS.js.br +0 -0
- package/dist/chunk-WVIKFMNS.js.gz +0 -0
- package/dist/{chunk-OZGFMZEX.js → chunk-YNUYFR2T.js} +3 -3
- package/dist/chunk-YNUYFR2T.js.br +0 -0
- package/dist/chunk-YNUYFR2T.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 +27 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +47 -47
- 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 +99 -22
- 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-DC1O_op4.d.ts → useViewerBuildingBlocks-X1L8BjsQ.d.ts} +19 -2
- package/dist/useViewerBuildingBlocks-X1L8BjsQ.d.ts.map +1 -0
- package/dist/viewer/index.js +27 -27
- 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-6PERJN7M.js.br +0 -0
- package/dist/AiChatPanel-6PERJN7M.js.gz +0 -0
- package/dist/AiChatPanel-EIENGCKW.mjs.br +0 -0
- package/dist/AiChatPanel-EIENGCKW.mjs.gz +0 -0
- package/dist/Area3DChartScene-TXCLQLBQ.js.br +0 -0
- package/dist/Area3DChartScene-TXCLQLBQ.js.gz +0 -0
- package/dist/Area3DChartScene-W6SVC235.mjs.br +0 -0
- package/dist/Area3DChartScene-W6SVC235.mjs.gz +0 -0
- package/dist/Bar3DChartScene-6RHPFLZT.js.br +0 -0
- package/dist/Bar3DChartScene-6RHPFLZT.js.gz +0 -0
- package/dist/Bar3DChartScene-FCVUZIJ3.mjs.br +0 -0
- package/dist/Bar3DChartScene-FCVUZIJ3.mjs.gz +0 -0
- package/dist/Line3DChartScene-2ZFE53KO.js.br +0 -0
- package/dist/Line3DChartScene-2ZFE53KO.js.gz +0 -0
- package/dist/Line3DChartScene-MJXFXSPW.mjs.br +0 -0
- package/dist/Line3DChartScene-MJXFXSPW.mjs.gz +0 -0
- package/dist/Model3DScene-7VQNRY5B.js.br +0 -0
- package/dist/Model3DScene-7VQNRY5B.js.gz +0 -0
- package/dist/Model3DScene-A5RV3KNJ.mjs.br +0 -0
- package/dist/Model3DScene-A5RV3KNJ.mjs.gz +0 -0
- package/dist/PieChart3DScene-JTHZESS3.js.br +0 -0
- package/dist/PieChart3DScene-JTHZESS3.js.gz +0 -0
- package/dist/PieChart3DScene-UEVFZZVW.mjs.br +0 -0
- package/dist/PieChart3DScene-UEVFZZVW.mjs.gz +0 -0
- package/dist/SurfaceChart3DScene-FXUNT5OK.js.br +0 -0
- package/dist/SurfaceChart3DScene-FXUNT5OK.js.gz +0 -0
- package/dist/SurfaceChart3DScene-WD65PAG4.mjs.br +0 -0
- package/dist/SurfaceChart3DScene-WD65PAG4.mjs.gz +0 -0
- package/dist/chunk-5ERW2B25.mjs.br +0 -0
- package/dist/chunk-5ERW2B25.mjs.gz +0 -0
- package/dist/chunk-GCE2TYHF.js.br +0 -0
- package/dist/chunk-GCE2TYHF.js.gz +0 -0
- package/dist/chunk-GIFQWIW5.js.br +0 -0
- package/dist/chunk-GIFQWIW5.js.gz +0 -0
- package/dist/chunk-ICAYXQVJ.mjs.br +0 -0
- package/dist/chunk-ICAYXQVJ.mjs.gz +0 -0
- package/dist/chunk-IDTNKL4S.js.br +0 -0
- package/dist/chunk-IDTNKL4S.js.gz +0 -0
- package/dist/chunk-ISDTM2V3.mjs.br +0 -0
- package/dist/chunk-ISDTM2V3.mjs.gz +0 -0
- package/dist/chunk-MAOUVROK.mjs.br +0 -0
- package/dist/chunk-MAOUVROK.mjs.gz +0 -0
- package/dist/chunk-MKPSUHUH.mjs.br +0 -0
- package/dist/chunk-MKPSUHUH.mjs.gz +0 -0
- package/dist/chunk-OTBQBTTQ.js.br +0 -0
- package/dist/chunk-OTBQBTTQ.js.gz +0 -0
- package/dist/chunk-OUX4O5XK.mjs.br +0 -0
- package/dist/chunk-OUX4O5XK.mjs.gz +0 -0
- package/dist/chunk-OZGFMZEX.js.br +0 -0
- package/dist/chunk-OZGFMZEX.js.gz +0 -0
- package/dist/chunk-PIUB7R2K.js.br +0 -0
- package/dist/chunk-PIUB7R2K.js.gz +0 -0
- package/dist/useViewerBuildingBlocks-DC1O_op4.d.ts.map +0 -1
|
Binary file
|
|
Binary file
|
|
@@ -33539,7 +33539,7 @@ function chartDataAddCategory(chartData, categoryName) {
|
|
|
33539
33539
|
}))
|
|
33540
33540
|
};
|
|
33541
33541
|
}
|
|
33542
|
-
function chartDataRemoveCategory(chartData, categoryIndex) {
|
|
33542
|
+
function chartDataRemoveCategory(chartData, categoryIndex, followDataPoint = true) {
|
|
33543
33543
|
if (categoryIndex < 0 || categoryIndex >= chartData.categories.length) {
|
|
33544
33544
|
throw new RangeError(
|
|
33545
33545
|
`Category index ${categoryIndex} is out of range. Chart has ${chartData.categories.length} categories.`
|
|
@@ -33550,10 +33550,14 @@ function chartDataRemoveCategory(chartData, categoryIndex) {
|
|
|
33550
33550
|
categories: chartData.categories.filter((_, i) => i !== categoryIndex),
|
|
33551
33551
|
series: chartData.series.map((s) => ({
|
|
33552
33552
|
...s,
|
|
33553
|
-
values: s.values.filter((_, i) => i !== categoryIndex)
|
|
33553
|
+
values: s.values.filter((_, i) => i !== categoryIndex),
|
|
33554
|
+
...s.dataPoints && followDataPoint ? { dataPoints: reindexDataPoints(s.dataPoints, categoryIndex) } : {}
|
|
33554
33555
|
}))
|
|
33555
33556
|
};
|
|
33556
33557
|
}
|
|
33558
|
+
function reindexDataPoints(dataPoints, removedIndex) {
|
|
33559
|
+
return dataPoints.filter((dp) => dp.idx !== removedIndex).map((dp) => dp.idx > removedIndex ? { ...dp, idx: dp.idx - 1 } : dp);
|
|
33560
|
+
}
|
|
33557
33561
|
var EMU_PER_PX4 = 914400 / 96;
|
|
33558
33562
|
var EMU_PER_POS_UNIT = 12700 / 8;
|
|
33559
33563
|
var P14_GUIDE_URI = "{72B1D4B2-8646-4E06-B1EF-53B0C71A9B0A}";
|
|
@@ -111731,11 +111735,11 @@ function removeChartSeries(data, seriesIndex) {
|
|
|
111731
111735
|
function addChartCategory(data) {
|
|
111732
111736
|
return chartDataAddCategory(data, `Cat ${data.categories.length + 1}`);
|
|
111733
111737
|
}
|
|
111734
|
-
function removeChartCategory(data, categoryIndex) {
|
|
111738
|
+
function removeChartCategory(data, categoryIndex, followDataPoint = true) {
|
|
111735
111739
|
if (data.categories.length <= 1 || categoryIndex < 0 || categoryIndex >= data.categories.length) {
|
|
111736
111740
|
return null;
|
|
111737
111741
|
}
|
|
111738
|
-
return chartDataRemoveCategory(data, categoryIndex);
|
|
111742
|
+
return chartDataRemoveCategory(data, categoryIndex, followDataPoint);
|
|
111739
111743
|
}
|
|
111740
111744
|
function setChartCategoryLabel(data, categoryIndex, label) {
|
|
111741
111745
|
if (categoryIndex < 0 || categoryIndex >= data.categories.length) {
|
|
@@ -120299,6 +120303,7 @@ var translationsEn = {
|
|
|
120299
120303
|
// Print
|
|
120300
120304
|
"pptx.print.title": "Print",
|
|
120301
120305
|
"pptx.print.printButton": "Print",
|
|
120306
|
+
"pptx.print.preparingToPrint": "Preparing to print\u2026",
|
|
120302
120307
|
// Export
|
|
120303
120308
|
"pptx.export.processing": "Processing\u2026",
|
|
120304
120309
|
"pptx.export.cancel": "Cancel",
|
|
@@ -121608,6 +121613,8 @@ var translationsEn = {
|
|
|
121608
121613
|
"pptx.security.hidePassword": "Hide password",
|
|
121609
121614
|
"pptx.security.show": "Show",
|
|
121610
121615
|
"pptx.security.hide": "Hide",
|
|
121616
|
+
"pptx.security.protectedViewTitle": "PROTECTED VIEW",
|
|
121617
|
+
"pptx.security.enableEditing": "Enable Editing",
|
|
121611
121618
|
"pptx.ribbon.slideShowOptions": "Slide show options",
|
|
121612
121619
|
"pptx.ribbon.fromBeginning": "From Beginning",
|
|
121613
121620
|
"pptx.ribbon.presenterView": "Presenter View",
|
|
@@ -122038,8 +122045,6 @@ var translationsEn = {
|
|
|
122038
122045
|
"pptx.file.copyImageTooltip": "Copy Slide as Image",
|
|
122039
122046
|
"pptx.file.fonts": "Fonts",
|
|
122040
122047
|
"pptx.file.gif": "GIF",
|
|
122041
|
-
"pptx.file.package": "Package",
|
|
122042
|
-
"pptx.file.packageTooltip": "Package for Sharing",
|
|
122043
122048
|
"pptx.file.pdf": "PDF",
|
|
122044
122049
|
"pptx.file.png": "PNG",
|
|
122045
122050
|
"pptx.file.saveAsPpsx": "Save .ppsx",
|
|
@@ -122833,6 +122838,8 @@ var translationsEn = {
|
|
|
122833
122838
|
"pptx.options.advanced.display": "Display",
|
|
122834
122839
|
"pptx.options.advanced.recentCount": "Show this number of Recent Presentations",
|
|
122835
122840
|
"pptx.options.advanced.disableHardwareAcceleration": "Disable hardware graphics acceleration",
|
|
122841
|
+
"pptx.options.advanced.disable3DRendering": "Disable 3D rendering (for performance)",
|
|
122842
|
+
"pptx.options.advanced.disable3DRenderingInfo": "Forces every 3D chart and SmartArt scene to fall back to flat 2D rendering, even in a presentation that enables 3D. Turn this on if 3D scenes run slowly on this device.",
|
|
122836
122843
|
"pptx.options.advanced.openDocumentsView": "Open all documents using this view",
|
|
122837
122844
|
"pptx.options.openView.savedView": "The view saved in the file",
|
|
122838
122845
|
"pptx.options.openView.normal": "Normal",
|
|
@@ -123142,8 +123149,6 @@ var translationsEn = {
|
|
|
123142
123149
|
"pptx.backstage.card.saveAsPpsx.body": "Save a .ppsx file that opens directly in slide show.",
|
|
123143
123150
|
"pptx.backstage.card.saveAsPptm.title": "Macro-Enabled Presentation",
|
|
123144
123151
|
"pptx.backstage.card.saveAsPptm.body": "Preserve VBA content in a .pptm file.",
|
|
123145
|
-
"pptx.backstage.card.package.title": "Package for Sharing",
|
|
123146
|
-
"pptx.backstage.card.package.body": "Bundle the presentation and linked assets.",
|
|
123147
123152
|
"pptx.backstage.card.pdf.title": "Create PDF",
|
|
123148
123153
|
"pptx.backstage.card.pdf.body": "Publish a portable document with one page per slide.",
|
|
123149
123154
|
"pptx.backstage.card.png.title": "Export current slide",
|
|
@@ -123160,8 +123165,6 @@ var translationsEn = {
|
|
|
123160
123165
|
"pptx.backstage.card.print.body": "Choose a printer, layout, copies, and output settings in your browser print dialog.",
|
|
123161
123166
|
"pptx.backstage.card.share.title": "Share with People",
|
|
123162
123167
|
"pptx.backstage.card.share.body": "Invite collaborators and work on the presentation together.",
|
|
123163
|
-
"pptx.backstage.card.sharePackage.title": "Package for Sharing",
|
|
123164
|
-
"pptx.backstage.card.sharePackage.body": "Download a self-contained package for offline sharing.",
|
|
123165
123168
|
// OOXML wire tokens that controls used to render verbatim. Wording follows
|
|
123166
123169
|
// PowerPoint's own dialogs; see `render/schema-label-keys.ts` for the
|
|
123167
123170
|
// token -> key lookups these back.
|
|
@@ -129705,7 +129708,7 @@ function buildActiveSessionUsers(params) {
|
|
|
129705
129708
|
const local = {
|
|
129706
129709
|
id: "local",
|
|
129707
129710
|
name: params.localUserName,
|
|
129708
|
-
initials: getUserInitials(params.localUserName),
|
|
129711
|
+
initials: params.localUserInitials?.trim() ? params.localUserInitials.trim().slice(0, 2).toUpperCase() : getUserInitials(params.localUserName),
|
|
129709
129712
|
color: params.localUserColor ?? DEFAULT_LOCAL_COLOR,
|
|
129710
129713
|
isLocal: true
|
|
129711
129714
|
}, remote = params.remoteUsers.map((user) => ({
|
|
@@ -139896,6 +139899,9 @@ function runPresentationAction(action, options, runner) {
|
|
|
139896
139899
|
runner.endShow();
|
|
139897
139900
|
return true;
|
|
139898
139901
|
case "openUrl":
|
|
139902
|
+
if (runner.confirmUrl && !runner.confirmUrl(intent.url)) {
|
|
139903
|
+
return true;
|
|
139904
|
+
}
|
|
139899
139905
|
return safeOpenUrl(intent.url);
|
|
139900
139906
|
default:
|
|
139901
139907
|
return false;
|
|
@@ -142600,13 +142606,14 @@ function splitFilePath(path, translate) {
|
|
|
142600
142606
|
location: parts.slice(0, -1).join("/") || label("pptx.backstage.browserStorage", "Browser storage")
|
|
142601
142607
|
};
|
|
142602
142608
|
}
|
|
142603
|
-
async function listBackstageRecentFiles(translate) {
|
|
142609
|
+
async function listBackstageRecentFiles(translate, limit) {
|
|
142604
142610
|
if (typeof indexedDB === "undefined") {
|
|
142605
142611
|
return [];
|
|
142606
142612
|
}
|
|
142607
142613
|
try {
|
|
142608
142614
|
const snapshots = await listAutosaveSnapshots();
|
|
142609
|
-
|
|
142615
|
+
const sorted = snapshots.map((snapshot) => ({ ...snapshot, ...splitFilePath(snapshot.key, translate) })).sort((a, b) => b.timestamp - a.timestamp);
|
|
142616
|
+
return limit === void 0 ? sorted : sorted.slice(0, Math.max(0, limit));
|
|
142610
142617
|
} catch {
|
|
142611
142618
|
return [];
|
|
142612
142619
|
}
|
|
@@ -142686,7 +142693,6 @@ var BACKSTAGE_CARDS = {
|
|
|
142686
142693
|
"Macro-Enabled Presentation",
|
|
142687
142694
|
"Preserve VBA content in a .pptm file."
|
|
142688
142695
|
),
|
|
142689
|
-
package: card("package", "Package for Sharing", "Bundle the presentation and linked assets."),
|
|
142690
142696
|
pdf: card("pdf", "Create PDF", "Publish a portable document with one page per slide."),
|
|
142691
142697
|
png: card("png", "Export current slide", "Create a high-quality PNG image."),
|
|
142692
142698
|
video: card("video", "Create a Video", "Export slide timings and animations as WebM."),
|
|
@@ -142706,19 +142712,14 @@ var BACKSTAGE_CARDS = {
|
|
|
142706
142712
|
"share",
|
|
142707
142713
|
"Share with People",
|
|
142708
142714
|
"Invite collaborators and work on the presentation together."
|
|
142709
|
-
),
|
|
142710
|
-
sharePackage: card(
|
|
142711
|
-
"sharePackage",
|
|
142712
|
-
"Package for Sharing",
|
|
142713
|
-
"Download a self-contained package for offline sharing."
|
|
142714
142715
|
)
|
|
142715
142716
|
};
|
|
142716
142717
|
var BACKSTAGE_PAGE_CARDS = {
|
|
142717
142718
|
info: ["protect", "inspect", "embedFonts", "signatures", "versionHistory"],
|
|
142718
|
-
saveAs: ["saveAsPptx", "saveAsPpsx", "saveAsPptm"
|
|
142719
|
+
saveAs: ["saveAsPptx", "saveAsPpsx", "saveAsPptm"],
|
|
142719
142720
|
export: ["pdf", "png", "video", "gif", "json", "copyImage"],
|
|
142720
142721
|
print: ["print"],
|
|
142721
|
-
share: ["share"
|
|
142722
|
+
share: ["share"]
|
|
142722
142723
|
};
|
|
142723
142724
|
function backstageCardsFor(page) {
|
|
142724
142725
|
return (BACKSTAGE_PAGE_CARDS[page] ?? []).map((id) => BACKSTAGE_CARDS[id]);
|
|
@@ -143225,6 +143226,111 @@ var TOOLBAR_TABS = [
|
|
|
143225
143226
|
function isActionHidden(id, hiddenActions) {
|
|
143226
143227
|
return hiddenActions !== void 0 && hiddenActions.includes(id);
|
|
143227
143228
|
}
|
|
143229
|
+
var DAY_NAMES = ["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"];
|
|
143230
|
+
var FRACTIONS = [
|
|
143231
|
+
["1/2", "\xBD"],
|
|
143232
|
+
["1/4", "\xBC"],
|
|
143233
|
+
["3/4", "\xBE"]
|
|
143234
|
+
];
|
|
143235
|
+
var ORDINAL_SUFFIXES = {
|
|
143236
|
+
st: "\u02E2\u1D57",
|
|
143237
|
+
nd: "\u207F\u1D48",
|
|
143238
|
+
rd: "\u02B3\u1D48",
|
|
143239
|
+
th: "\u1D57\u02B0"
|
|
143240
|
+
};
|
|
143241
|
+
function fixTwoInitialCapitals(word) {
|
|
143242
|
+
if (/^[A-Z]{2}[a-z]/.test(word) && !/^[A-Z]{3,}$/.test(word)) {
|
|
143243
|
+
const second = word.charAt(1).toLowerCase();
|
|
143244
|
+
return `${word.charAt(0)}${second}${word.slice(2)}`;
|
|
143245
|
+
}
|
|
143246
|
+
return word;
|
|
143247
|
+
}
|
|
143248
|
+
function capitalizeDayName(word) {
|
|
143249
|
+
const bare = word.toLowerCase();
|
|
143250
|
+
if (DAY_NAMES.includes(bare) && word === bare) {
|
|
143251
|
+
return `${bare.charAt(0).toUpperCase()}${bare.slice(1)}`;
|
|
143252
|
+
}
|
|
143253
|
+
return word;
|
|
143254
|
+
}
|
|
143255
|
+
function replaceFractions(word) {
|
|
143256
|
+
for (const [plain, glyph] of FRACTIONS) {
|
|
143257
|
+
if (word === plain) {
|
|
143258
|
+
return glyph;
|
|
143259
|
+
}
|
|
143260
|
+
}
|
|
143261
|
+
return word;
|
|
143262
|
+
}
|
|
143263
|
+
function replaceOrdinal(word) {
|
|
143264
|
+
const match = /^(\d+)(st|nd|rd|th)$/i.exec(word);
|
|
143265
|
+
if (!match || match[1] === void 0 || match[2] === void 0) {
|
|
143266
|
+
return word;
|
|
143267
|
+
}
|
|
143268
|
+
const superscript = ORDINAL_SUFFIXES[match[2].toLowerCase()];
|
|
143269
|
+
return superscript ? `${match[1]}${superscript}` : word;
|
|
143270
|
+
}
|
|
143271
|
+
function transformWord(word, proofing) {
|
|
143272
|
+
let result = word;
|
|
143273
|
+
if (proofing.autoCorrectTwoInitialCapitals) {
|
|
143274
|
+
result = fixTwoInitialCapitals(result);
|
|
143275
|
+
}
|
|
143276
|
+
if (proofing.autoCorrectCapitalizeDayNames) {
|
|
143277
|
+
result = capitalizeDayName(result);
|
|
143278
|
+
}
|
|
143279
|
+
if (proofing.autoCorrectFractions) {
|
|
143280
|
+
result = replaceFractions(result);
|
|
143281
|
+
}
|
|
143282
|
+
if (proofing.autoCorrectOrdinals) {
|
|
143283
|
+
result = replaceOrdinal(result);
|
|
143284
|
+
}
|
|
143285
|
+
return result;
|
|
143286
|
+
}
|
|
143287
|
+
function applySmartQuotes(text2) {
|
|
143288
|
+
let result = "";
|
|
143289
|
+
for (let i = 0; i < text2.length; i += 1) {
|
|
143290
|
+
const char = text2.charAt(i);
|
|
143291
|
+
if (char !== '"' && char !== "'") {
|
|
143292
|
+
result += char;
|
|
143293
|
+
continue;
|
|
143294
|
+
}
|
|
143295
|
+
const previous = i === 0 ? "" : text2.charAt(i - 1);
|
|
143296
|
+
const opening = previous === "" || /[\s([{‘“-]/.test(previous);
|
|
143297
|
+
if (char === '"') {
|
|
143298
|
+
result += opening ? "\u201C" : "\u201D";
|
|
143299
|
+
} else {
|
|
143300
|
+
result += opening ? "\u2018" : "\u2019";
|
|
143301
|
+
}
|
|
143302
|
+
}
|
|
143303
|
+
return result;
|
|
143304
|
+
}
|
|
143305
|
+
function applyHyphensToDash(text2) {
|
|
143306
|
+
return text2.replace(/(\S)--(?=\S)/g, "$1\u2014").replace(/ -- /g, " \u2013 ");
|
|
143307
|
+
}
|
|
143308
|
+
function capitalizeSentences(text2) {
|
|
143309
|
+
return text2.replace(
|
|
143310
|
+
/(^|[.!?]\s+)([a-z])/g,
|
|
143311
|
+
(_match, lead, letter) => `${lead}${letter.toUpperCase()}`
|
|
143312
|
+
);
|
|
143313
|
+
}
|
|
143314
|
+
function applyAutoCorrect(text2, proofing) {
|
|
143315
|
+
if (text2.length === 0) {
|
|
143316
|
+
return text2;
|
|
143317
|
+
}
|
|
143318
|
+
let result = text2;
|
|
143319
|
+
if (proofing.autoCorrectSmartQuotes) {
|
|
143320
|
+
result = applySmartQuotes(result);
|
|
143321
|
+
}
|
|
143322
|
+
if (proofing.autoCorrectHyphensToDash) {
|
|
143323
|
+
result = applyHyphensToDash(result);
|
|
143324
|
+
}
|
|
143325
|
+
const needsWordPass = proofing.autoCorrectTwoInitialCapitals || proofing.autoCorrectCapitalizeDayNames || proofing.autoCorrectFractions || proofing.autoCorrectOrdinals;
|
|
143326
|
+
if (needsWordPass) {
|
|
143327
|
+
result = result.split(/(\s+)/).map((part) => /^\s+$/.test(part) ? part : transformWord(part, proofing)).join("");
|
|
143328
|
+
}
|
|
143329
|
+
if (proofing.autoCorrectCapitalizeFirstLetter) {
|
|
143330
|
+
result = capitalizeSentences(result);
|
|
143331
|
+
}
|
|
143332
|
+
return result;
|
|
143333
|
+
}
|
|
143228
143334
|
var QUICK_ACCESS_COMMAND_CATALOG = [
|
|
143229
143335
|
{ id: "save", labelKey: "pptx.toolbar.save", icon: "save" },
|
|
143230
143336
|
{ id: "undo", labelKey: "pptx.toolbar.undo", icon: "undo" },
|
|
@@ -143400,6 +143506,7 @@ var DEFAULT_VIEWER_OPTIONS = {
|
|
|
143400
143506
|
showGrid: false,
|
|
143401
143507
|
snapToGrid: false,
|
|
143402
143508
|
disableHardwareAcceleration: false,
|
|
143509
|
+
disable3DRendering: false,
|
|
143403
143510
|
openDocumentsView: "savedView",
|
|
143404
143511
|
slideShowShowMenuOnRightClick: true,
|
|
143405
143512
|
slideShowShowPopupToolbar: true,
|
|
@@ -143522,16 +143629,132 @@ function applyPreferenceToOptions(options, key2, value) {
|
|
|
143522
143629
|
}
|
|
143523
143630
|
return next;
|
|
143524
143631
|
}
|
|
143632
|
+
function resolveHistoryDepth(options) {
|
|
143633
|
+
const steps = Math.round(options.advanced.maximumUndoSteps);
|
|
143634
|
+
return Math.min(150, Math.max(3, Number.isFinite(steps) ? steps : 100));
|
|
143635
|
+
}
|
|
143525
143636
|
function resolveAutosaveIntervalSeconds(options) {
|
|
143526
143637
|
const seconds = Math.round(options.save.autoRecoverIntervalMinutes * 60);
|
|
143527
143638
|
return Math.max(AUTOSAVE_MIN_INTERVAL_SECONDS, Number.isFinite(seconds) ? seconds : 120);
|
|
143528
143639
|
}
|
|
143640
|
+
function resolveScreenTip(options, label, description, shortcut) {
|
|
143641
|
+
const style = options.general.screenTipStyle;
|
|
143642
|
+
if (style === "off") {
|
|
143643
|
+
return void 0;
|
|
143644
|
+
}
|
|
143645
|
+
let tip = label;
|
|
143646
|
+
if (style === "descriptions" && description) {
|
|
143647
|
+
tip = `${tip}: ${description}`;
|
|
143648
|
+
}
|
|
143649
|
+
if (shortcut && options.accessibility.showShortcutKeysInScreenTips) {
|
|
143650
|
+
tip = `${tip} (${shortcut})`;
|
|
143651
|
+
}
|
|
143652
|
+
return tip;
|
|
143653
|
+
}
|
|
143654
|
+
function resolveDefaultPrintSettings(options) {
|
|
143655
|
+
if (options.advanced.printUseMostRecentSettings) {
|
|
143656
|
+
return void 0;
|
|
143657
|
+
}
|
|
143658
|
+
return {
|
|
143659
|
+
printWhat: options.advanced.printWhat,
|
|
143660
|
+
colorMode: options.advanced.printColorMode,
|
|
143661
|
+
frameSlides: options.advanced.printFrameSlides,
|
|
143662
|
+
scaleToFit: options.advanced.printScaleToFit
|
|
143663
|
+
};
|
|
143664
|
+
}
|
|
143665
|
+
function resolveImageResolutionPpi(preset) {
|
|
143666
|
+
switch (preset) {
|
|
143667
|
+
case "ppi330":
|
|
143668
|
+
return 330;
|
|
143669
|
+
case "ppi220":
|
|
143670
|
+
return 220;
|
|
143671
|
+
case "ppi150":
|
|
143672
|
+
return 150;
|
|
143673
|
+
case "ppi96":
|
|
143674
|
+
return 96;
|
|
143675
|
+
default:
|
|
143676
|
+
return void 0;
|
|
143677
|
+
}
|
|
143678
|
+
}
|
|
143679
|
+
function resolveImageResolutionScale(options) {
|
|
143680
|
+
if (options.advanced.doNotCompressImages) {
|
|
143681
|
+
return 1;
|
|
143682
|
+
}
|
|
143683
|
+
const ppi = resolveImageResolutionPpi(options.advanced.imageDefaultResolution);
|
|
143684
|
+
return ppi === void 0 ? 1 : Math.max(0.25, Math.min(4, ppi / 96));
|
|
143685
|
+
}
|
|
143529
143686
|
function shouldConfirmExternalHyperlink(options, href) {
|
|
143530
143687
|
if (!options.trust.confirmExternalHyperlinks) {
|
|
143531
143688
|
return false;
|
|
143532
143689
|
}
|
|
143533
143690
|
return /^https?:/i.test(href);
|
|
143534
143691
|
}
|
|
143692
|
+
function resolve3DRenderingFlags(hostFlags, options) {
|
|
143693
|
+
if (!options.advanced.disable3DRendering) {
|
|
143694
|
+
return hostFlags;
|
|
143695
|
+
}
|
|
143696
|
+
return {
|
|
143697
|
+
smartArt3D: false,
|
|
143698
|
+
surfaceChart3D: false,
|
|
143699
|
+
barChart3D: false,
|
|
143700
|
+
lineChart3D: false,
|
|
143701
|
+
areaChart3D: false,
|
|
143702
|
+
pieChart3D: false
|
|
143703
|
+
};
|
|
143704
|
+
}
|
|
143705
|
+
function resolveOptionRootClasses(options, prefix) {
|
|
143706
|
+
const classes = [];
|
|
143707
|
+
if (options.accessibility.reducedMotion) {
|
|
143708
|
+
classes.push(`${prefix}-reduced-motion`);
|
|
143709
|
+
}
|
|
143710
|
+
if (options.advanced.disableHardwareAcceleration) {
|
|
143711
|
+
classes.push(`${prefix}-no-hw-accel`);
|
|
143712
|
+
}
|
|
143713
|
+
if (options.general.displayOptimization === "compatibility") {
|
|
143714
|
+
classes.push(`${prefix}-compat-display`);
|
|
143715
|
+
}
|
|
143716
|
+
return classes;
|
|
143717
|
+
}
|
|
143718
|
+
function shouldDiscardAutosaveOnSuccessfulSave(options) {
|
|
143719
|
+
return !options.save.keepLastAutoRecoveredVersion;
|
|
143720
|
+
}
|
|
143721
|
+
function shouldClearAutosaveCacheOnClose(options) {
|
|
143722
|
+
return options.save.clearCacheOnClose;
|
|
143723
|
+
}
|
|
143724
|
+
function resolveExpiredAutosaveSnapshots(snapshots, options, now = Date.now()) {
|
|
143725
|
+
const days = options.save.cacheRetentionDays;
|
|
143726
|
+
if (!Number.isFinite(days) || days <= 0) {
|
|
143727
|
+
return [];
|
|
143728
|
+
}
|
|
143729
|
+
const maxAgeMs = days * 24 * 60 * 60 * 1e3;
|
|
143730
|
+
return snapshots.filter((snapshot) => now - snapshot.timestamp > maxAgeMs).map((s) => s.key);
|
|
143731
|
+
}
|
|
143732
|
+
function playFeedbackSound(options) {
|
|
143733
|
+
if (!options.accessibility.feedbackWithSound || typeof window === "undefined") {
|
|
143734
|
+
return;
|
|
143735
|
+
}
|
|
143736
|
+
const AudioContextCtor = window.AudioContext;
|
|
143737
|
+
if (!AudioContextCtor) {
|
|
143738
|
+
return;
|
|
143739
|
+
}
|
|
143740
|
+
try {
|
|
143741
|
+
const context = new AudioContextCtor();
|
|
143742
|
+
const oscillator = context.createOscillator();
|
|
143743
|
+
const gain = context.createGain();
|
|
143744
|
+
const modern = options.accessibility.soundScheme === "modern";
|
|
143745
|
+
oscillator.frequency.value = modern ? 880 : 660;
|
|
143746
|
+
oscillator.type = modern ? "sine" : "square";
|
|
143747
|
+
gain.gain.setValueAtTime(0.04, context.currentTime);
|
|
143748
|
+
gain.gain.exponentialRampToValueAtTime(1e-4, context.currentTime + 0.15);
|
|
143749
|
+
oscillator.connect(gain).connect(context.destination);
|
|
143750
|
+
oscillator.start();
|
|
143751
|
+
oscillator.stop(context.currentTime + 0.16);
|
|
143752
|
+
oscillator.onended = () => {
|
|
143753
|
+
void context.close();
|
|
143754
|
+
};
|
|
143755
|
+
} catch {
|
|
143756
|
+
}
|
|
143757
|
+
}
|
|
143535
143758
|
function toggle(group2, key2, labelKey, extra) {
|
|
143536
143759
|
return { kind: "toggle", group: group2, key: key2, labelKey, ...extra };
|
|
143537
143760
|
}
|
|
@@ -143636,6 +143859,9 @@ var ADVANCED_TAB = {
|
|
|
143636
143859
|
"disableHardwareAcceleration",
|
|
143637
143860
|
"pptx.options.advanced.disableHardwareAcceleration"
|
|
143638
143861
|
),
|
|
143862
|
+
toggle("advanced", "disable3DRendering", "pptx.options.advanced.disable3DRendering", {
|
|
143863
|
+
infoKey: "pptx.options.advanced.disable3DRenderingInfo"
|
|
143864
|
+
}),
|
|
143639
143865
|
select(
|
|
143640
143866
|
"advanced",
|
|
143641
143867
|
"openDocumentsView",
|
|
@@ -144198,22 +144424,6 @@ function canvasToJpegData(canvas, quality = 0.92) {
|
|
|
144198
144424
|
}
|
|
144199
144425
|
return { bytes, w: canvas.width, h: canvas.height };
|
|
144200
144426
|
}
|
|
144201
|
-
function generatePackageReadme(presentationFilename) {
|
|
144202
|
-
return [
|
|
144203
|
-
"Presentation Package",
|
|
144204
|
-
"====================",
|
|
144205
|
-
"",
|
|
144206
|
-
`This folder contains the presentation "${presentationFilename}" along with`,
|
|
144207
|
-
"all linked media files (images, audio, video) in the /media subfolder.",
|
|
144208
|
-
"",
|
|
144209
|
-
"To view this presentation:",
|
|
144210
|
-
"1. Open the presentation file with any compatible presentation software",
|
|
144211
|
-
"2. Ensure the /media folder remains alongside the presentation file",
|
|
144212
|
-
"",
|
|
144213
|
-
`Packaged on ${(/* @__PURE__ */ new Date()).toLocaleDateString()}`,
|
|
144214
|
-
""
|
|
144215
|
-
].join("\n");
|
|
144216
|
-
}
|
|
144217
144427
|
function encodeGif(frames, delay = {}) {
|
|
144218
144428
|
if (frames.length === 0) {
|
|
144219
144429
|
throw new Error("[gif-encoder] encodeGif: frames array must not be empty");
|
|
@@ -144705,9 +144915,15 @@ function sanitizeSlideSvg(svg, width, height) {
|
|
|
144705
144915
|
return `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 ${safeWidth} ${safeHeight}" width="${safeWidth}" height="${safeHeight}">${sanitized}</svg>`;
|
|
144706
144916
|
}
|
|
144707
144917
|
function buildPrintDocument(svgs, width, height, options = {}) {
|
|
144708
|
-
const {
|
|
144918
|
+
const {
|
|
144919
|
+
title = "Print",
|
|
144920
|
+
orientation = "landscape",
|
|
144921
|
+
colorFilter = "",
|
|
144922
|
+
scaleToFit = true
|
|
144923
|
+
} = options;
|
|
144709
144924
|
const safeOrientation = sanitizeOrientation(orientation);
|
|
144710
144925
|
const safeColorFilter = sanitizeCssDeclaration(colorFilter);
|
|
144926
|
+
const svgSizeStyle = scaleToFit ? ".print-slide-page svg { max-width: 100%; max-height: 100%; width: auto; height: auto; }" : `.print-slide-page svg { max-width: none; max-height: none; width: ${width}px; height: ${height}px; }`;
|
|
144711
144927
|
const slidePages = svgs.map((svg, i) => {
|
|
144712
144928
|
const safeSvg = sanitizeSlideSvg(svg, width, height);
|
|
144713
144929
|
return `<section class="print-slide-page" aria-label="Slide ${i + 1}">
|
|
@@ -144738,12 +144954,7 @@ function buildPrintDocument(svgs, width, height, options = {}) {
|
|
|
144738
144954
|
.print-slide-page:last-child {
|
|
144739
144955
|
page-break-after: auto;
|
|
144740
144956
|
}
|
|
144741
|
-
|
|
144742
|
-
max-width: 100%;
|
|
144743
|
-
max-height: 100%;
|
|
144744
|
-
width: auto;
|
|
144745
|
-
height: auto;
|
|
144746
|
-
}
|
|
144957
|
+
${svgSizeStyle}
|
|
144747
144958
|
@page {
|
|
144748
144959
|
size: ${safeOrientation};
|
|
144749
144960
|
margin: 5mm;
|
|
@@ -145520,6 +145731,12 @@ function computeSlideIndices(slideRange, activeSlideIndex, slideCount, customRan
|
|
|
145520
145731
|
}
|
|
145521
145732
|
return Array.from({ length: slideCount }, (_, i) => i);
|
|
145522
145733
|
}
|
|
145734
|
+
function filterHiddenSlideIndices(indices, slides, includeHidden) {
|
|
145735
|
+
if (includeHidden) {
|
|
145736
|
+
return indices;
|
|
145737
|
+
}
|
|
145738
|
+
return indices.filter((index) => !slides[index]?.hidden);
|
|
145739
|
+
}
|
|
145523
145740
|
function computeColorFilter(colorMode) {
|
|
145524
145741
|
if (colorMode === "grayscale") {
|
|
145525
145742
|
return "filter: grayscale(1);";
|
|
@@ -145640,6 +145857,7 @@ function buildPrintHtmlDocument(options) {
|
|
|
145640
145857
|
const colorFilter = options.colorFilter;
|
|
145641
145858
|
const safeBodyHtml = isSafePrintBodyHtml(bodyHtml) ? sanitizeMarkupOrEmpty(bodyHtml, PRINT_BODY_SANITIZE_CONFIG) : "";
|
|
145642
145859
|
const frameStyle = frameSlides ? "img.slide-img, .notes-slide, .handout-cell img { border: 2px solid #000 !important; }" : "";
|
|
145860
|
+
const scaleToFitStyle = options.scaleToFit === false ? ".slide-page img.slide-img { max-width: none; max-height: none; width: auto; height: auto; } .handout-cell img { width: auto; height: auto; max-width: none; max-height: none; object-fit: none; }" : "";
|
|
145643
145861
|
return `<!doctype html>
|
|
145644
145862
|
<html>
|
|
145645
145863
|
<head>
|
|
@@ -145682,11 +145900,34 @@ function buildPrintHtmlDocument(options) {
|
|
|
145682
145900
|
img { break-inside: avoid; }
|
|
145683
145901
|
}
|
|
145684
145902
|
${frameStyle}
|
|
145903
|
+
${scaleToFitStyle}
|
|
145685
145904
|
</style>
|
|
145686
145905
|
</head>
|
|
145687
145906
|
<body>${safeBodyHtml}</body>
|
|
145688
145907
|
</html>`;
|
|
145689
145908
|
}
|
|
145909
|
+
function openPendingPrintWindow(preparingLabel) {
|
|
145910
|
+
const printWindow = window.open("", "_blank", "noopener,noreferrer");
|
|
145911
|
+
if (!printWindow) {
|
|
145912
|
+
return null;
|
|
145913
|
+
}
|
|
145914
|
+
const safeLabel = escapeHtml22(preparingLabel);
|
|
145915
|
+
printWindow.document.open();
|
|
145916
|
+
printWindow.document.write(
|
|
145917
|
+
`<!doctype html><title>${safeLabel}</title><body style="font:14px system-ui;color:#666;padding:2rem">${safeLabel}</body>`
|
|
145918
|
+
);
|
|
145919
|
+
printWindow.document.close();
|
|
145920
|
+
return printWindow;
|
|
145921
|
+
}
|
|
145922
|
+
function finishPrintWindow(printWindow, htmlDocument) {
|
|
145923
|
+
printWindow.document.open();
|
|
145924
|
+
printWindow.document.write(htmlDocument);
|
|
145925
|
+
printWindow.document.close();
|
|
145926
|
+
printWindow.focus();
|
|
145927
|
+
setTimeout(() => {
|
|
145928
|
+
printWindow.print();
|
|
145929
|
+
}, 300);
|
|
145930
|
+
}
|
|
145690
145931
|
var WEBM_MIME_CANDIDATES = [
|
|
145691
145932
|
"video/webm;codecs=vp9",
|
|
145692
145933
|
"video/webm;codecs=vp8",
|
|
@@ -145942,6 +146183,7 @@ exports.apply3dEffects = apply3dEffects;
|
|
|
145942
146183
|
exports.applyAcceptAllSlides = applyAcceptAllSlides;
|
|
145943
146184
|
exports.applyAcceptSlide = applyAcceptSlide;
|
|
145944
146185
|
exports.applyAnimationTimelineOrder = applyAnimationTimelineOrder;
|
|
146186
|
+
exports.applyAutoCorrect = applyAutoCorrect;
|
|
145945
146187
|
exports.applyCaseTransformToSegments = applyCaseTransformToSegments;
|
|
145946
146188
|
exports.applyChartBuildReveal = applyChartBuildReveal;
|
|
145947
146189
|
exports.applyChartPartHighlight = applyChartPartHighlight;
|
|
@@ -146163,6 +146405,7 @@ exports.exportDeckJson = exportDeckJson;
|
|
|
146163
146405
|
exports.extraQuickAccessCommands = extraQuickAccessCommands;
|
|
146164
146406
|
exports.extractPathPoints = extractPathPoints;
|
|
146165
146407
|
exports.filterCommands = filterCommands;
|
|
146408
|
+
exports.filterHiddenSlideIndices = filterHiddenSlideIndices;
|
|
146166
146409
|
exports.filterInteractableIds = filterInteractableIds;
|
|
146167
146410
|
exports.filterRenderedElements = filterRenderedElements;
|
|
146168
146411
|
exports.findChartPartTarget = findChartPartTarget;
|
|
@@ -146171,6 +146414,7 @@ exports.findEraserHitElementId = findEraserHitElementId;
|
|
|
146171
146414
|
exports.findInSlides = findInSlides;
|
|
146172
146415
|
exports.findMediaElementByElementId = findMediaElementByElementId;
|
|
146173
146416
|
exports.findSmartArtNodeText = findSmartArtNodeText;
|
|
146417
|
+
exports.finishPrintWindow = finishPrintWindow;
|
|
146174
146418
|
exports.firstShowSlideIndex = firstShowSlideIndex;
|
|
146175
146419
|
exports.flattenNodes = flattenNodes;
|
|
146176
146420
|
exports.flattenTagCollections = flattenTagCollections;
|
|
@@ -146191,7 +146435,6 @@ exports.generateBroadcastRoomId = generateBroadcastRoomId;
|
|
|
146191
146435
|
exports.generateElementId = generateElementId;
|
|
146192
146436
|
exports.generateNibMarks = generateNibMarks;
|
|
146193
146437
|
exports.generateNoteLineCount = generateNoteLineCount;
|
|
146194
|
-
exports.generatePackageReadme = generatePackageReadme;
|
|
146195
146438
|
exports.generatePressureCircles = generatePressureCircles;
|
|
146196
146439
|
exports.generateTicks = generateTicks;
|
|
146197
146440
|
exports.getAnimationInitialStyle = getAnimationInitialStyle;
|
|
@@ -146357,6 +146600,7 @@ exports.notesSegmentsToSpans = notesSegmentsToSpans;
|
|
|
146357
146600
|
exports.observeYDocSlides = observeYDocSlides;
|
|
146358
146601
|
exports.ooxmlGradientAngleToCssDegrees = ooxmlGradientAngleToCssDegrees;
|
|
146359
146602
|
exports.openNativeEyeDropper = openNativeEyeDropper;
|
|
146603
|
+
exports.openPendingPrintWindow = openPendingPrintWindow;
|
|
146360
146604
|
exports.openPptxFile = openPptxFile;
|
|
146361
146605
|
exports.openReadingView = openReadingView;
|
|
146362
146606
|
exports.openUrlInNewTab = openUrlInNewTab;
|
|
@@ -146373,6 +146617,7 @@ exports.pickSupportedMimeType = pickSupportedMimeType;
|
|
|
146373
146617
|
exports.pieceLetterSpacing = pieceLetterSpacing;
|
|
146374
146618
|
exports.placeAudienceWindow = placeAudienceWindow;
|
|
146375
146619
|
exports.placeCaretAtEnd = placeCaretAtEnd;
|
|
146620
|
+
exports.playFeedbackSound = playFeedbackSound;
|
|
146376
146621
|
exports.playSlideTransitionPreview = playSlideTransitionPreview;
|
|
146377
146622
|
exports.polygonsToSvgPath = polygonsToSvgPath;
|
|
146378
146623
|
exports.pptxActionToElementAction = pptxActionToElementAction;
|
|
@@ -146432,6 +146677,7 @@ exports.replyToCommentInList = replyToCommentInList;
|
|
|
146432
146677
|
exports.rerouteConnectorsForMovedElements = rerouteConnectorsForMovedElements;
|
|
146433
146678
|
exports.resetPresenterTimer = resetPresenterTimer;
|
|
146434
146679
|
exports.resetSlideLayoutPath = resetSlideLayoutPath;
|
|
146680
|
+
exports.resolve3DRenderingFlags = resolve3DRenderingFlags;
|
|
146435
146681
|
exports.resolveActionType = resolveActionType;
|
|
146436
146682
|
exports.resolveAudienceScreenPlacement = resolveAudienceScreenPlacement;
|
|
146437
146683
|
exports.resolveAuthoredCustomShowId = resolveAuthoredCustomShowId;
|
|
@@ -146443,11 +146689,15 @@ exports.resolveAutosaveIntervalSeconds = resolveAutosaveIntervalSeconds;
|
|
|
146443
146689
|
exports.resolveChartKind = resolveChartKind;
|
|
146444
146690
|
exports.resolveConnectorEndpointUpdate = resolveConnectorEndpointUpdate;
|
|
146445
146691
|
exports.resolveDefaultFontFamily = resolveDefaultFontFamily;
|
|
146692
|
+
exports.resolveDefaultPrintSettings = resolveDefaultPrintSettings;
|
|
146446
146693
|
exports.resolveDrawingShapeNodeId = resolveDrawingShapeNodeId;
|
|
146447
146694
|
exports.resolveElementActionAffordance = resolveElementActionAffordance;
|
|
146448
146695
|
exports.resolveElementInteractivity = resolveElementInteractivity;
|
|
146696
|
+
exports.resolveExpiredAutosaveSnapshots = resolveExpiredAutosaveSnapshots;
|
|
146449
146697
|
exports.resolveFontKerning = resolveFontKerning;
|
|
146450
146698
|
exports.resolveGroupChildFill = resolveGroupChildFill;
|
|
146699
|
+
exports.resolveHistoryDepth = resolveHistoryDepth;
|
|
146700
|
+
exports.resolveImageResolutionScale = resolveImageResolutionScale;
|
|
146451
146701
|
exports.resolveInkColor = resolveInkColor;
|
|
146452
146702
|
exports.resolveInkOpacity = resolveInkOpacity;
|
|
146453
146703
|
exports.resolveInkWidth = resolveInkWidth;
|
|
@@ -146456,8 +146706,11 @@ exports.resolveMetricTrackingPx = resolveMetricTrackingPx;
|
|
|
146456
146706
|
exports.resolveNotesSchematicBodyFontSizePx = resolveNotesSchematicBodyFontSizePx;
|
|
146457
146707
|
exports.resolveNotesSegments = resolveNotesSegments;
|
|
146458
146708
|
exports.resolveOleType = resolveOleType;
|
|
146709
|
+
exports.resolveOptionRootClasses = resolveOptionRootClasses;
|
|
146459
146710
|
exports.resolvePalette = resolvePalette;
|
|
146711
|
+
exports.resolvePresentationAction = resolvePresentationAction;
|
|
146460
146712
|
exports.resolveProfileInitial = resolveProfileInitial;
|
|
146713
|
+
exports.resolveScreenTip = resolveScreenTip;
|
|
146461
146714
|
exports.resolveScriptFontSet = resolveScriptFontSet;
|
|
146462
146715
|
exports.resolveSelectionPaneRename = resolveSelectionPaneRename;
|
|
146463
146716
|
exports.resolveShapeGeometry = resolveShapeGeometry;
|
|
@@ -146519,8 +146772,10 @@ exports.setTableElementCellText = setTableElementCellText;
|
|
|
146519
146772
|
exports.shapeFillChange = shapeFillChange;
|
|
146520
146773
|
exports.shapeOutlineChange = shapeOutlineChange;
|
|
146521
146774
|
exports.shouldAutoFollowBroadcaster = shouldAutoFollowBroadcaster;
|
|
146775
|
+
exports.shouldClearAutosaveCacheOnClose = shouldClearAutosaveCacheOnClose;
|
|
146522
146776
|
exports.shouldCommitSmartArtNodeText = shouldCommitSmartArtNodeText;
|
|
146523
146777
|
exports.shouldConfirmExternalHyperlink = shouldConfirmExternalHyperlink;
|
|
146778
|
+
exports.shouldDiscardAutosaveOnSuccessfulSave = shouldDiscardAutosaveOnSuccessfulSave;
|
|
146524
146779
|
exports.shouldLoopContinuously = shouldLoopContinuously;
|
|
146525
146780
|
exports.shouldProbeAutosaveRecovery = shouldProbeAutosaveRecovery;
|
|
146526
146781
|
exports.shouldRoomSlidesReplaceLoad = shouldRoomSlidesReplaceLoad;
|
|
Binary file
|
|
Binary file
|
|
@@ -666,6 +666,7 @@ var translationsEn = {
|
|
|
666
666
|
// Print
|
|
667
667
|
"pptx.print.title": "Print",
|
|
668
668
|
"pptx.print.printButton": "Print",
|
|
669
|
+
"pptx.print.preparingToPrint": "Preparing to print\u2026",
|
|
669
670
|
// Export
|
|
670
671
|
"pptx.export.processing": "Processing\u2026",
|
|
671
672
|
"pptx.export.cancel": "Cancel",
|
|
@@ -1975,6 +1976,8 @@ var translationsEn = {
|
|
|
1975
1976
|
"pptx.security.hidePassword": "Hide password",
|
|
1976
1977
|
"pptx.security.show": "Show",
|
|
1977
1978
|
"pptx.security.hide": "Hide",
|
|
1979
|
+
"pptx.security.protectedViewTitle": "PROTECTED VIEW",
|
|
1980
|
+
"pptx.security.enableEditing": "Enable Editing",
|
|
1978
1981
|
"pptx.ribbon.slideShowOptions": "Slide show options",
|
|
1979
1982
|
"pptx.ribbon.fromBeginning": "From Beginning",
|
|
1980
1983
|
"pptx.ribbon.presenterView": "Presenter View",
|
|
@@ -2405,8 +2408,6 @@ var translationsEn = {
|
|
|
2405
2408
|
"pptx.file.copyImageTooltip": "Copy Slide as Image",
|
|
2406
2409
|
"pptx.file.fonts": "Fonts",
|
|
2407
2410
|
"pptx.file.gif": "GIF",
|
|
2408
|
-
"pptx.file.package": "Package",
|
|
2409
|
-
"pptx.file.packageTooltip": "Package for Sharing",
|
|
2410
2411
|
"pptx.file.pdf": "PDF",
|
|
2411
2412
|
"pptx.file.png": "PNG",
|
|
2412
2413
|
"pptx.file.saveAsPpsx": "Save .ppsx",
|
|
@@ -3200,6 +3201,8 @@ var translationsEn = {
|
|
|
3200
3201
|
"pptx.options.advanced.display": "Display",
|
|
3201
3202
|
"pptx.options.advanced.recentCount": "Show this number of Recent Presentations",
|
|
3202
3203
|
"pptx.options.advanced.disableHardwareAcceleration": "Disable hardware graphics acceleration",
|
|
3204
|
+
"pptx.options.advanced.disable3DRendering": "Disable 3D rendering (for performance)",
|
|
3205
|
+
"pptx.options.advanced.disable3DRenderingInfo": "Forces every 3D chart and SmartArt scene to fall back to flat 2D rendering, even in a presentation that enables 3D. Turn this on if 3D scenes run slowly on this device.",
|
|
3203
3206
|
"pptx.options.advanced.openDocumentsView": "Open all documents using this view",
|
|
3204
3207
|
"pptx.options.openView.savedView": "The view saved in the file",
|
|
3205
3208
|
"pptx.options.openView.normal": "Normal",
|
|
@@ -3509,8 +3512,6 @@ var translationsEn = {
|
|
|
3509
3512
|
"pptx.backstage.card.saveAsPpsx.body": "Save a .ppsx file that opens directly in slide show.",
|
|
3510
3513
|
"pptx.backstage.card.saveAsPptm.title": "Macro-Enabled Presentation",
|
|
3511
3514
|
"pptx.backstage.card.saveAsPptm.body": "Preserve VBA content in a .pptm file.",
|
|
3512
|
-
"pptx.backstage.card.package.title": "Package for Sharing",
|
|
3513
|
-
"pptx.backstage.card.package.body": "Bundle the presentation and linked assets.",
|
|
3514
3515
|
"pptx.backstage.card.pdf.title": "Create PDF",
|
|
3515
3516
|
"pptx.backstage.card.pdf.body": "Publish a portable document with one page per slide.",
|
|
3516
3517
|
"pptx.backstage.card.png.title": "Export current slide",
|
|
@@ -3527,8 +3528,6 @@ var translationsEn = {
|
|
|
3527
3528
|
"pptx.backstage.card.print.body": "Choose a printer, layout, copies, and output settings in your browser print dialog.",
|
|
3528
3529
|
"pptx.backstage.card.share.title": "Share with People",
|
|
3529
3530
|
"pptx.backstage.card.share.body": "Invite collaborators and work on the presentation together.",
|
|
3530
|
-
"pptx.backstage.card.sharePackage.title": "Package for Sharing",
|
|
3531
|
-
"pptx.backstage.card.sharePackage.body": "Download a self-contained package for offline sharing.",
|
|
3532
3531
|
// OOXML wire tokens that controls used to render verbatim. Wording follows
|
|
3533
3532
|
// PowerPoint's own dialogs; see `render/schema-label-keys.ts` for the
|
|
3534
3533
|
// token -> key lookups these back.
|
|
Binary file
|