pptx-svelte-viewer 4.6.0 → 4.7.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 +17 -0
- package/dist/{AiChatPanel-DyHv6ShJ.js → AiChatPanel-UtQgHZdw.js} +2 -2
- package/dist/{export-zzqiDncO.js → export-BmYgdMk2.js} +13647 -12921
- package/dist/i18n/de.cjs +70 -21
- package/dist/i18n/de.mjs +70 -21
- package/dist/i18n/es.cjs +70 -21
- package/dist/i18n/es.mjs +70 -21
- package/dist/i18n/fr.cjs +70 -21
- package/dist/i18n/fr.mjs +70 -21
- package/dist/i18n/zh-CN.cjs +48 -4
- package/dist/i18n/zh-CN.mjs +48 -4
- package/dist/i18n.js +1 -1
- package/dist/index.d.ts +153 -15
- package/dist/index.js +51 -51
- package/dist/internals.d.ts +123 -9
- package/dist/internals.js +23 -23
- package/dist/pptx-svelte-viewer.css +1 -1
- package/dist/{transition-overlay-Dkooknvn.js → transition-overlay-BjAhkWT1.js} +67953 -64302
- package/dist/{translator-DC6tH5v7.js → translator-D5VddVYr.js} +44 -0
- package/dist/viewer/index.d.ts +267 -12
- package/dist/viewer/index.js +8 -8
- package/package.json +1 -1
package/dist/i18n/zh-CN.cjs
CHANGED
|
@@ -690,6 +690,10 @@ var translations5 = {
|
|
|
690
690
|
"pptx.animation.trigger": "\u89E6\u53D1\u65B9\u5F0F",
|
|
691
691
|
"pptx.animation.trigger.selectShape": "\u9009\u62E9\u5F62\u72B6",
|
|
692
692
|
"pptx.animation.trigger.shapeLabel": "\u89E6\u53D1\u5F62\u72B6",
|
|
693
|
+
"pptx.animation.trigger.onMediaBookmark": "\u4E66\u7B7E\u65F6",
|
|
694
|
+
"pptx.animation.trigger.bookmarkLabel": "\u4E66\u7B7E",
|
|
695
|
+
"pptx.animation.trigger.selectBookmark": "\u9009\u62E9\u4E66\u7B7E",
|
|
696
|
+
"pptx.animation.trigger.noBookmarks": "\u6B64\u5E7B\u706F\u7247\u4E0A\u6CA1\u6709\u5A92\u4F53\u4E66\u7B7E",
|
|
693
697
|
"pptx.animation.preset.appear": "\u51FA\u73B0",
|
|
694
698
|
"pptx.animation.preset.fadeIn": "\u6DE1\u5165",
|
|
695
699
|
"pptx.animation.preset.flyIn": "\u98DE\u5165",
|
|
@@ -1681,9 +1685,11 @@ var translations12 = {
|
|
|
1681
1685
|
"pptx.shapePresets.chevron": "V \u5F62",
|
|
1682
1686
|
"pptx.shapePresets.circle": "\u5706\u5F62",
|
|
1683
1687
|
"pptx.shapePresets.cloud": "\u4E91",
|
|
1688
|
+
"pptx.shapePresets.curve": "\u66F2\u7EBF",
|
|
1684
1689
|
"pptx.shapePresets.cylinder": "\u5706\u67F1",
|
|
1685
1690
|
"pptx.shapePresets.diamond": "\u83F1\u5F62",
|
|
1686
1691
|
"pptx.shapePresets.downArrow": "\u5411\u4E0B\u7BAD\u5934",
|
|
1692
|
+
"pptx.shapePresets.freeformShape": "\u4EFB\u610F\u591A\u8FB9\u5F62: \u5F62\u72B6",
|
|
1687
1693
|
"pptx.shapePresets.heart": "\u5FC3\u5F62",
|
|
1688
1694
|
"pptx.shapePresets.hexagon": "\u516D\u8FB9\u5F62",
|
|
1689
1695
|
"pptx.shapePresets.leftArrow": "\u5411\u5DE6\u7BAD\u5934",
|
|
@@ -1700,7 +1706,21 @@ var translations12 = {
|
|
|
1700
1706
|
"pptx.shapePresets.rounded": "\u5706\u89D2",
|
|
1701
1707
|
"pptx.shapePresets.star": "\u661F\u661F",
|
|
1702
1708
|
"pptx.shapePresets.star6": "\u516D\u89D2\u661F",
|
|
1703
|
-
"pptx.shapePresets.star8": "\u516B\u89D2\u661F"
|
|
1709
|
+
"pptx.shapePresets.star8": "\u516B\u89D2\u661F",
|
|
1710
|
+
"pptx.editPoints.addPoint": "\u6DFB\u52A0\u9876\u70B9",
|
|
1711
|
+
"pptx.editPoints.closePath": "\u5173\u95ED\u8DEF\u5F84",
|
|
1712
|
+
"pptx.editPoints.cornerPoint": "\u89D2\u90E8\u9876\u70B9",
|
|
1713
|
+
"pptx.editPoints.curvedSegment": "\u66F2\u7EBF\u6BB5",
|
|
1714
|
+
"pptx.editPoints.deletePoint": "\u5220\u9664\u9876\u70B9",
|
|
1715
|
+
"pptx.editPoints.deleteSegment": "\u5220\u9664\u7EBF\u6BB5",
|
|
1716
|
+
"pptx.editPoints.exit": "\u9000\u51FA\u7F16\u8F91\u9876\u70B9",
|
|
1717
|
+
"pptx.editPoints.menu": "\u7F16\u8F91\u9876\u70B9\u547D\u4EE4",
|
|
1718
|
+
"pptx.editPoints.openPath": "\u5F00\u653E\u8DEF\u5F84",
|
|
1719
|
+
"pptx.editPoints.overlay": "\u7F16\u8F91\u6240\u9009\u5F62\u72B6\u7684\u9876\u70B9",
|
|
1720
|
+
"pptx.editPoints.smoothPoint": "\u5E73\u6ED1\u9876\u70B9",
|
|
1721
|
+
"pptx.editPoints.straightPoint": "\u76F4\u7EBF\u70B9",
|
|
1722
|
+
"pptx.editPoints.straightSegment": "\u76F4\u7EBF\u6BB5",
|
|
1723
|
+
"pptx.freeformTool.overlay": "\u5355\u51FB\u6DFB\u52A0\u9876\u70B9\uFF1B\u53CC\u51FB\u6216\u6309 Enter \u5B8C\u6210"
|
|
1704
1724
|
};
|
|
1705
1725
|
|
|
1706
1726
|
// src/zh-CN/drawing-and-layout-2.ts
|
|
@@ -1717,7 +1737,14 @@ var translations13 = {
|
|
|
1717
1737
|
"pptx.connectorArrows.startLength": "\u8D77\u59CB\u957F\u5EA6",
|
|
1718
1738
|
"pptx.connectorArrows.endLength": "\u672B\u7AEF\u957F\u5EA6",
|
|
1719
1739
|
"pptx.shape.shadowDistance": "\u9634\u5F71\u8DDD\u79BB",
|
|
1720
|
-
"pptx.shape.softEdges": "\u8F6F\u8FB9"
|
|
1740
|
+
"pptx.shape.softEdges": "\u8F6F\u8FB9",
|
|
1741
|
+
"pptx.shape.mergeShapes": "\u5408\u5E76\u5F62\u72B6",
|
|
1742
|
+
"pptx.shape.mergeShapesHint": "\u9009\u62E9\u4E24\u4E2A\u6216\u66F4\u591A\u5F62\u72B6\u4EE5\u8FDB\u884C\u5408\u5E76",
|
|
1743
|
+
"pptx.shape.mergeUnion": "\u7ED3\u5408",
|
|
1744
|
+
"pptx.shape.mergeCombine": "\u7EC4\u5408",
|
|
1745
|
+
"pptx.shape.mergeFragment": "\u62C6\u5206",
|
|
1746
|
+
"pptx.shape.mergeIntersect": "\u76F8\u4EA4",
|
|
1747
|
+
"pptx.shape.mergeSubtract": "\u526A\u9664"
|
|
1721
1748
|
};
|
|
1722
1749
|
|
|
1723
1750
|
// src/zh-CN/editing-and-review.ts
|
|
@@ -1828,6 +1855,7 @@ var translations14 = {
|
|
|
1828
1855
|
"pptx.tags.title": "\u6807\u7B7E",
|
|
1829
1856
|
"pptx.tags.value": "\u503C",
|
|
1830
1857
|
"pptx.contextMenu.ariaLabel": "\u4E0A\u4E0B\u6587\u83DC\u5355",
|
|
1858
|
+
"pptx.contextMenu.editPoints": "\u7F16\u8F91\u9876\u70B9",
|
|
1831
1859
|
"pptx.editorToolbar.ariaLabel": "\u7F16\u8F91\u5668\u5DE5\u5177\u680F",
|
|
1832
1860
|
"pptx.editorToolbar.insert": "\u63D2\u5165",
|
|
1833
1861
|
"pptx.editorToolbar.insertTextBox": "\u63D2\u5165\u6587\u672C\u6846",
|
|
@@ -1953,7 +1981,13 @@ var translations15 = {
|
|
|
1953
1981
|
"pptx.hyperlink.actionOpenPresentation": "\u6253\u5F00\u6F14\u793A\u6587\u7A3F",
|
|
1954
1982
|
"pptx.hyperlink.actionPlayMedia": "\u64AD\u653E\u5A92\u4F53",
|
|
1955
1983
|
"pptx.hyperlink.actionOleVerb": "\u5BF9\u8C61\u52A8\u4F5C",
|
|
1956
|
-
"pptx.hyperlink.actionRunProgram": "\u8FD0\u884C\u7A0B\u5E8F"
|
|
1984
|
+
"pptx.hyperlink.actionRunProgram": "\u8FD0\u884C\u7A0B\u5E8F",
|
|
1985
|
+
"pptx.contextMenu.crop": "\u88C1\u526A",
|
|
1986
|
+
"pptx.contextMenu.mergeUnion": "\u7ED3\u5408\u5F62\u72B6",
|
|
1987
|
+
"pptx.contextMenu.mergeCombine": "\u7EC4\u5408\u5F62\u72B6",
|
|
1988
|
+
"pptx.contextMenu.mergeFragment": "\u62C6\u5206\u5F62\u72B6",
|
|
1989
|
+
"pptx.contextMenu.mergeIntersect": "\u76F8\u4EA4\u5F62\u72B6",
|
|
1990
|
+
"pptx.contextMenu.mergeSubtract": "\u526A\u9664\u5F62\u72B6"
|
|
1957
1991
|
};
|
|
1958
1992
|
|
|
1959
1993
|
// src/zh-CN/fills-and-strokes.ts
|
|
@@ -2252,7 +2286,17 @@ var translations17 = {
|
|
|
2252
2286
|
"pptx.media.captions": "\u5B57\u5E55",
|
|
2253
2287
|
"pptx.media.playbackSpeed": "\u64AD\u653E\u901F\u5EA6",
|
|
2254
2288
|
"pptx.media.trimEnd": "\u526A\u88C1\u7EC8\u70B9",
|
|
2255
|
-
"pptx.media.trimStart": "\u526A\u88C1\u8D77\u70B9"
|
|
2289
|
+
"pptx.media.trimStart": "\u526A\u88C1\u8D77\u70B9",
|
|
2290
|
+
"pptx.image.crop": "\u88C1\u526A",
|
|
2291
|
+
"pptx.image.cropToAspectRatio": "\u6309\u7EB5\u6A2A\u6BD4\u88C1\u526A",
|
|
2292
|
+
"pptx.image.cropFill": "\u586B\u5145",
|
|
2293
|
+
"pptx.image.cropFit": "\u8C03\u6574",
|
|
2294
|
+
"pptx.image.cropSquare": "\u65B9\u5F62",
|
|
2295
|
+
"pptx.image.cropPortrait": "\u7EB5\u5411",
|
|
2296
|
+
"pptx.image.cropLandscape": "\u6A2A\u5411",
|
|
2297
|
+
"pptx.image.cropHandle": "\u88C1\u526A\u63A7\u70B9",
|
|
2298
|
+
"pptx.image.cropModeHint": "\u62D6\u52A8\u9ED1\u8272\u63A7\u70B9\u8FDB\u884C\u88C1\u526A\u3002\u6309 Enter \u5E94\u7528\uFF0C\u6309 Esc \u53D6\u6D88\u3002",
|
|
2299
|
+
"pptx.image.cropHint": "\u9009\u62E9\u56FE\u7247\u4EE5\u8FDB\u884C\u88C1\u526A"
|
|
2256
2300
|
};
|
|
2257
2301
|
|
|
2258
2302
|
// src/zh-CN/masters-and-themes.ts
|
package/dist/i18n/zh-CN.mjs
CHANGED
|
@@ -664,6 +664,10 @@ var translations5 = {
|
|
|
664
664
|
"pptx.animation.trigger": "\u89E6\u53D1\u65B9\u5F0F",
|
|
665
665
|
"pptx.animation.trigger.selectShape": "\u9009\u62E9\u5F62\u72B6",
|
|
666
666
|
"pptx.animation.trigger.shapeLabel": "\u89E6\u53D1\u5F62\u72B6",
|
|
667
|
+
"pptx.animation.trigger.onMediaBookmark": "\u4E66\u7B7E\u65F6",
|
|
668
|
+
"pptx.animation.trigger.bookmarkLabel": "\u4E66\u7B7E",
|
|
669
|
+
"pptx.animation.trigger.selectBookmark": "\u9009\u62E9\u4E66\u7B7E",
|
|
670
|
+
"pptx.animation.trigger.noBookmarks": "\u6B64\u5E7B\u706F\u7247\u4E0A\u6CA1\u6709\u5A92\u4F53\u4E66\u7B7E",
|
|
667
671
|
"pptx.animation.preset.appear": "\u51FA\u73B0",
|
|
668
672
|
"pptx.animation.preset.fadeIn": "\u6DE1\u5165",
|
|
669
673
|
"pptx.animation.preset.flyIn": "\u98DE\u5165",
|
|
@@ -1655,9 +1659,11 @@ var translations12 = {
|
|
|
1655
1659
|
"pptx.shapePresets.chevron": "V \u5F62",
|
|
1656
1660
|
"pptx.shapePresets.circle": "\u5706\u5F62",
|
|
1657
1661
|
"pptx.shapePresets.cloud": "\u4E91",
|
|
1662
|
+
"pptx.shapePresets.curve": "\u66F2\u7EBF",
|
|
1658
1663
|
"pptx.shapePresets.cylinder": "\u5706\u67F1",
|
|
1659
1664
|
"pptx.shapePresets.diamond": "\u83F1\u5F62",
|
|
1660
1665
|
"pptx.shapePresets.downArrow": "\u5411\u4E0B\u7BAD\u5934",
|
|
1666
|
+
"pptx.shapePresets.freeformShape": "\u4EFB\u610F\u591A\u8FB9\u5F62: \u5F62\u72B6",
|
|
1661
1667
|
"pptx.shapePresets.heart": "\u5FC3\u5F62",
|
|
1662
1668
|
"pptx.shapePresets.hexagon": "\u516D\u8FB9\u5F62",
|
|
1663
1669
|
"pptx.shapePresets.leftArrow": "\u5411\u5DE6\u7BAD\u5934",
|
|
@@ -1674,7 +1680,21 @@ var translations12 = {
|
|
|
1674
1680
|
"pptx.shapePresets.rounded": "\u5706\u89D2",
|
|
1675
1681
|
"pptx.shapePresets.star": "\u661F\u661F",
|
|
1676
1682
|
"pptx.shapePresets.star6": "\u516D\u89D2\u661F",
|
|
1677
|
-
"pptx.shapePresets.star8": "\u516B\u89D2\u661F"
|
|
1683
|
+
"pptx.shapePresets.star8": "\u516B\u89D2\u661F",
|
|
1684
|
+
"pptx.editPoints.addPoint": "\u6DFB\u52A0\u9876\u70B9",
|
|
1685
|
+
"pptx.editPoints.closePath": "\u5173\u95ED\u8DEF\u5F84",
|
|
1686
|
+
"pptx.editPoints.cornerPoint": "\u89D2\u90E8\u9876\u70B9",
|
|
1687
|
+
"pptx.editPoints.curvedSegment": "\u66F2\u7EBF\u6BB5",
|
|
1688
|
+
"pptx.editPoints.deletePoint": "\u5220\u9664\u9876\u70B9",
|
|
1689
|
+
"pptx.editPoints.deleteSegment": "\u5220\u9664\u7EBF\u6BB5",
|
|
1690
|
+
"pptx.editPoints.exit": "\u9000\u51FA\u7F16\u8F91\u9876\u70B9",
|
|
1691
|
+
"pptx.editPoints.menu": "\u7F16\u8F91\u9876\u70B9\u547D\u4EE4",
|
|
1692
|
+
"pptx.editPoints.openPath": "\u5F00\u653E\u8DEF\u5F84",
|
|
1693
|
+
"pptx.editPoints.overlay": "\u7F16\u8F91\u6240\u9009\u5F62\u72B6\u7684\u9876\u70B9",
|
|
1694
|
+
"pptx.editPoints.smoothPoint": "\u5E73\u6ED1\u9876\u70B9",
|
|
1695
|
+
"pptx.editPoints.straightPoint": "\u76F4\u7EBF\u70B9",
|
|
1696
|
+
"pptx.editPoints.straightSegment": "\u76F4\u7EBF\u6BB5",
|
|
1697
|
+
"pptx.freeformTool.overlay": "\u5355\u51FB\u6DFB\u52A0\u9876\u70B9\uFF1B\u53CC\u51FB\u6216\u6309 Enter \u5B8C\u6210"
|
|
1678
1698
|
};
|
|
1679
1699
|
|
|
1680
1700
|
// src/zh-CN/drawing-and-layout-2.ts
|
|
@@ -1691,7 +1711,14 @@ var translations13 = {
|
|
|
1691
1711
|
"pptx.connectorArrows.startLength": "\u8D77\u59CB\u957F\u5EA6",
|
|
1692
1712
|
"pptx.connectorArrows.endLength": "\u672B\u7AEF\u957F\u5EA6",
|
|
1693
1713
|
"pptx.shape.shadowDistance": "\u9634\u5F71\u8DDD\u79BB",
|
|
1694
|
-
"pptx.shape.softEdges": "\u8F6F\u8FB9"
|
|
1714
|
+
"pptx.shape.softEdges": "\u8F6F\u8FB9",
|
|
1715
|
+
"pptx.shape.mergeShapes": "\u5408\u5E76\u5F62\u72B6",
|
|
1716
|
+
"pptx.shape.mergeShapesHint": "\u9009\u62E9\u4E24\u4E2A\u6216\u66F4\u591A\u5F62\u72B6\u4EE5\u8FDB\u884C\u5408\u5E76",
|
|
1717
|
+
"pptx.shape.mergeUnion": "\u7ED3\u5408",
|
|
1718
|
+
"pptx.shape.mergeCombine": "\u7EC4\u5408",
|
|
1719
|
+
"pptx.shape.mergeFragment": "\u62C6\u5206",
|
|
1720
|
+
"pptx.shape.mergeIntersect": "\u76F8\u4EA4",
|
|
1721
|
+
"pptx.shape.mergeSubtract": "\u526A\u9664"
|
|
1695
1722
|
};
|
|
1696
1723
|
|
|
1697
1724
|
// src/zh-CN/editing-and-review.ts
|
|
@@ -1802,6 +1829,7 @@ var translations14 = {
|
|
|
1802
1829
|
"pptx.tags.title": "\u6807\u7B7E",
|
|
1803
1830
|
"pptx.tags.value": "\u503C",
|
|
1804
1831
|
"pptx.contextMenu.ariaLabel": "\u4E0A\u4E0B\u6587\u83DC\u5355",
|
|
1832
|
+
"pptx.contextMenu.editPoints": "\u7F16\u8F91\u9876\u70B9",
|
|
1805
1833
|
"pptx.editorToolbar.ariaLabel": "\u7F16\u8F91\u5668\u5DE5\u5177\u680F",
|
|
1806
1834
|
"pptx.editorToolbar.insert": "\u63D2\u5165",
|
|
1807
1835
|
"pptx.editorToolbar.insertTextBox": "\u63D2\u5165\u6587\u672C\u6846",
|
|
@@ -1927,7 +1955,13 @@ var translations15 = {
|
|
|
1927
1955
|
"pptx.hyperlink.actionOpenPresentation": "\u6253\u5F00\u6F14\u793A\u6587\u7A3F",
|
|
1928
1956
|
"pptx.hyperlink.actionPlayMedia": "\u64AD\u653E\u5A92\u4F53",
|
|
1929
1957
|
"pptx.hyperlink.actionOleVerb": "\u5BF9\u8C61\u52A8\u4F5C",
|
|
1930
|
-
"pptx.hyperlink.actionRunProgram": "\u8FD0\u884C\u7A0B\u5E8F"
|
|
1958
|
+
"pptx.hyperlink.actionRunProgram": "\u8FD0\u884C\u7A0B\u5E8F",
|
|
1959
|
+
"pptx.contextMenu.crop": "\u88C1\u526A",
|
|
1960
|
+
"pptx.contextMenu.mergeUnion": "\u7ED3\u5408\u5F62\u72B6",
|
|
1961
|
+
"pptx.contextMenu.mergeCombine": "\u7EC4\u5408\u5F62\u72B6",
|
|
1962
|
+
"pptx.contextMenu.mergeFragment": "\u62C6\u5206\u5F62\u72B6",
|
|
1963
|
+
"pptx.contextMenu.mergeIntersect": "\u76F8\u4EA4\u5F62\u72B6",
|
|
1964
|
+
"pptx.contextMenu.mergeSubtract": "\u526A\u9664\u5F62\u72B6"
|
|
1931
1965
|
};
|
|
1932
1966
|
|
|
1933
1967
|
// src/zh-CN/fills-and-strokes.ts
|
|
@@ -2226,7 +2260,17 @@ var translations17 = {
|
|
|
2226
2260
|
"pptx.media.captions": "\u5B57\u5E55",
|
|
2227
2261
|
"pptx.media.playbackSpeed": "\u64AD\u653E\u901F\u5EA6",
|
|
2228
2262
|
"pptx.media.trimEnd": "\u526A\u88C1\u7EC8\u70B9",
|
|
2229
|
-
"pptx.media.trimStart": "\u526A\u88C1\u8D77\u70B9"
|
|
2263
|
+
"pptx.media.trimStart": "\u526A\u88C1\u8D77\u70B9",
|
|
2264
|
+
"pptx.image.crop": "\u88C1\u526A",
|
|
2265
|
+
"pptx.image.cropToAspectRatio": "\u6309\u7EB5\u6A2A\u6BD4\u88C1\u526A",
|
|
2266
|
+
"pptx.image.cropFill": "\u586B\u5145",
|
|
2267
|
+
"pptx.image.cropFit": "\u8C03\u6574",
|
|
2268
|
+
"pptx.image.cropSquare": "\u65B9\u5F62",
|
|
2269
|
+
"pptx.image.cropPortrait": "\u7EB5\u5411",
|
|
2270
|
+
"pptx.image.cropLandscape": "\u6A2A\u5411",
|
|
2271
|
+
"pptx.image.cropHandle": "\u88C1\u526A\u63A7\u70B9",
|
|
2272
|
+
"pptx.image.cropModeHint": "\u62D6\u52A8\u9ED1\u8272\u63A7\u70B9\u8FDB\u884C\u88C1\u526A\u3002\u6309 Enter \u5E94\u7528\uFF0C\u6309 Esc \u53D6\u6D88\u3002",
|
|
2273
|
+
"pptx.image.cropHint": "\u9009\u62E9\u56FE\u7247\u4EE5\u8FDB\u884C\u88C1\u526A"
|
|
2230
2274
|
};
|
|
2231
2275
|
|
|
2232
2276
|
// src/zh-CN/masters-and-themes.ts
|
package/dist/i18n.js
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -1484,8 +1484,16 @@ interface TextStyle {
|
|
|
1484
1484
|
textOutlineWidth?: number;
|
|
1485
1485
|
/** Text outline colour as hex string (`a:rPr > a:ln > a:solidFill`). */
|
|
1486
1486
|
textOutlineColor?: string;
|
|
1487
|
+
/** Text outline dash preset (`a:rPr > a:ln > a:prstDash/@val`), e.g. `dash`; absent for solid. */
|
|
1488
|
+
textOutlineDash?: string;
|
|
1487
1489
|
/** When true, the text body has no fill (`a:rPr > a:noFill`), producing hollow/outline-only text. */
|
|
1488
1490
|
textFillNone?: boolean;
|
|
1491
|
+
/**
|
|
1492
|
+
* When true, the run authored an EMPTY `<a:effectLst/>`: an explicit "no
|
|
1493
|
+
* effects" override that blocks an inherited shadow or glow. Kept so a
|
|
1494
|
+
* rewrite re-emits it instead of letting the inherited effect return.
|
|
1495
|
+
*/
|
|
1496
|
+
textEffectsExplicitNone?: boolean;
|
|
1489
1497
|
/** Superscript/subscript baseline shift as percentage (`a:rPr/@baseline`). Positive = super, negative = sub. */
|
|
1490
1498
|
baseline?: number;
|
|
1491
1499
|
/** Character spacing in hundredths of a point (`a:rPr/@spc`). */
|
|
@@ -1519,6 +1527,25 @@ interface TextStyle {
|
|
|
1519
1527
|
textFillPatternForeground?: string;
|
|
1520
1528
|
/** Text-level pattern background colour. */
|
|
1521
1529
|
textFillPatternBackground?: string;
|
|
1530
|
+
/**
|
|
1531
|
+
* Raw `a:rPr > a:blipFill` XML, preserved verbatim for round-trip
|
|
1532
|
+
* serialization AND as the input to the image resolution pass that fills
|
|
1533
|
+
* in {@link textFillBlipUrl} (parsing a run's fill happens synchronously,
|
|
1534
|
+
* with no zip/relationship access at that point; resolving the blip to a
|
|
1535
|
+
* displayable URL needs both, so it happens in a later async pass over
|
|
1536
|
+
* the slide's parsed elements, mirroring how a shape's OWN image fill is
|
|
1537
|
+
* resolved). A picture-filled text run (`a:rPr > a:blipFill`) was
|
|
1538
|
+
* documented as handled ("Handles gradient fills, pattern fills, and
|
|
1539
|
+
* image fills on text runs") but never actually parsed, so it silently
|
|
1540
|
+
* fell through to the run's plain `color` and rendered solid black
|
|
1541
|
+
* (COM-verified: `audit-text` slide 13's "PICTURE FILL" run shows the
|
|
1542
|
+
* fill image through the glyphs in PowerPoint).
|
|
1543
|
+
*/
|
|
1544
|
+
textFillBlipXml?: XmlObject;
|
|
1545
|
+
/** Resolved displayable URL for {@link textFillBlipXml}, or the archive-relative path when unresolved (lazy decode). */
|
|
1546
|
+
textFillBlipUrl?: string;
|
|
1547
|
+
/** Tiling mode for {@link textFillBlipUrl} (`a:blipFill/a:tile` present -> 'tile', else 'stretch'). */
|
|
1548
|
+
textFillBlipMode?: 'stretch' | 'tile';
|
|
1522
1549
|
hyperlink?: string;
|
|
1523
1550
|
/** Relationship ID for the hyperlink (`a:hlinkClick/@r:id`) — preserved for round-trip serialization. */
|
|
1524
1551
|
hyperlinkRId?: string;
|
|
@@ -1604,6 +1631,13 @@ interface TextStyle {
|
|
|
1604
1631
|
position: number;
|
|
1605
1632
|
align: 'l' | 'ctr' | 'r' | 'dec';
|
|
1606
1633
|
leader?: 'none' | 'dot' | 'hyphen' | 'underscore';
|
|
1634
|
+
/**
|
|
1635
|
+
* True when the source spelled out the schema-default `@algn="l"`, so the
|
|
1636
|
+
* writer re-emits it instead of treating it as an omitted default.
|
|
1637
|
+
*/
|
|
1638
|
+
alignAuthored?: boolean;
|
|
1639
|
+
/** True when the source spelled out the schema-default `@leader="none"`. */
|
|
1640
|
+
leaderAuthored?: boolean;
|
|
1607
1641
|
}>;
|
|
1608
1642
|
/**
|
|
1609
1643
|
* True when the paragraph's own `a:pPr` authored an EMPTY `<a:tabLst/>`
|
|
@@ -1967,6 +2001,19 @@ interface TextStyle {
|
|
|
1967
2001
|
* convention used for {@link bulletInfo} / {@link endParaRunProperties}).
|
|
1968
2002
|
*/
|
|
1969
2003
|
paragraphDefaultRunPropertiesXml?: XmlObject;
|
|
2004
|
+
/**
|
|
2005
|
+
* The bullet colour / size / typeface children (`a:buClrTx`, `a:buClr`,
|
|
2006
|
+
* `a:buSzTx`, `a:buSzPct`, `a:buSzPts`, `a:buFontTx`, `a:buFont`) a
|
|
2007
|
+
* paragraph authored in its own `<a:pPr>` WITHOUT a bullet type
|
|
2008
|
+
* (`a:buNone` / `a:buChar` / `a:buAutoNum` / `a:buBlip`), captured
|
|
2009
|
+
* verbatim in source order. Such a paragraph restyles an inherited bullet
|
|
2010
|
+
* rather than declaring one, so its {@link BulletInfo} resolves from the
|
|
2011
|
+
* cascade and is (correctly) not written back; without this capture the
|
|
2012
|
+
* paragraph's own override vanished on every rewrite.
|
|
2013
|
+
*
|
|
2014
|
+
* Only meaningful on a paragraph's own authored properties.
|
|
2015
|
+
*/
|
|
2016
|
+
paragraphBulletPropertiesXml?: XmlObject;
|
|
1970
2017
|
}
|
|
1971
2018
|
/**
|
|
1972
2019
|
* Structured bullet metadata attached to the first {@link TextSegment}
|
|
@@ -3235,6 +3282,26 @@ type PptxChartMarkerSymbol = 'circle' | 'dash' | 'diamond' | 'dot' | 'none' | 'p
|
|
|
3235
3282
|
*/
|
|
3236
3283
|
type PptxChartScatterStyle = 'none' | 'line' | 'lineMarker' | 'marker' | 'smooth' | 'smoothMarker';
|
|
3237
3284
|
/** Shape properties extracted from c:spPr for chart formatting. */
|
|
3285
|
+
/**
|
|
3286
|
+
* A render-ready gradient fill from a chart `c:spPr/a:gradFill` (chart area,
|
|
3287
|
+
* plot area or series). Positions are 0..100; a linear gradient's `angle` is
|
|
3288
|
+
* in degrees clockwise from left-to-right (`a:lin/@ang`); a radial (`a:path`)
|
|
3289
|
+
* gradient centres on `focalPoint` (0..1 fractions of the box), the middle
|
|
3290
|
+
* when absent.
|
|
3291
|
+
*/
|
|
3292
|
+
interface PptxChartGradientFill {
|
|
3293
|
+
type: 'linear' | 'radial';
|
|
3294
|
+
stops: Array<{
|
|
3295
|
+
color: string;
|
|
3296
|
+
position: number;
|
|
3297
|
+
opacity?: number;
|
|
3298
|
+
}>;
|
|
3299
|
+
angle?: number;
|
|
3300
|
+
focalPoint?: {
|
|
3301
|
+
x: number;
|
|
3302
|
+
y: number;
|
|
3303
|
+
};
|
|
3304
|
+
}
|
|
3238
3305
|
interface PptxChartShapeProps {
|
|
3239
3306
|
fillColor?: string;
|
|
3240
3307
|
strokeColor?: string;
|
|
@@ -3560,6 +3627,12 @@ interface PptxChartSeries {
|
|
|
3560
3627
|
*/
|
|
3561
3628
|
idx?: number;
|
|
3562
3629
|
values: number[];
|
|
3630
|
+
/**
|
|
3631
|
+
* Series gradient fill (`c:ser/c:spPr/a:gradFill`), painted on every mark
|
|
3632
|
+
* of the series that has no per-point override. Render-only: the series'
|
|
3633
|
+
* own `c:spPr` round-trips untouched.
|
|
3634
|
+
*/
|
|
3635
|
+
gradientFill?: PptxChartGradientFill;
|
|
3563
3636
|
/**
|
|
3564
3637
|
* Per-series x values from `c:ser/c:xVal` (scatter and bubble series only).
|
|
3565
3638
|
*
|
|
@@ -3734,6 +3807,12 @@ interface PptxChartFilteredSeries {
|
|
|
3734
3807
|
* and `c:dLblPos`.
|
|
3735
3808
|
*/
|
|
3736
3809
|
interface PptxChartDataLabelOptions {
|
|
3810
|
+
/** Label box fill/outline (`c:dLbls/c:spPr`), see `chart-data-label-box.ts`. */
|
|
3811
|
+
labelShape?: PptxChartShapeProps;
|
|
3812
|
+
/** Callout geometry of the label box (`c15:spPr/a:prstGeom/@prst`, e.g. `wedgeRectCallout`). */
|
|
3813
|
+
calloutShape?: string;
|
|
3814
|
+
/** The chart15 extension's `c15:showLeaderLines`, which wins for a moved label's leader line. */
|
|
3815
|
+
extLeaderLines?: boolean;
|
|
3737
3816
|
/** Show the numeric value (`c:showVal`). */
|
|
3738
3817
|
showValue?: boolean;
|
|
3739
3818
|
/** Show the category name (`c:showCatName`). */
|
|
@@ -3859,6 +3938,10 @@ interface PptxChartStyle {
|
|
|
3859
3938
|
chartAreaFill?: string;
|
|
3860
3939
|
/** Plot-area fill from `c:plotArea/c:spPr`. See {@link chartAreaFill}. */
|
|
3861
3940
|
plotAreaFill?: string;
|
|
3941
|
+
/** Chart-area gradient (`c:chartSpace/c:spPr/a:gradFill`); wins over {@link chartAreaFill}. */
|
|
3942
|
+
chartAreaGradient?: PptxChartGradientFill;
|
|
3943
|
+
/** Plot-area gradient (`c:plotArea/c:spPr/a:gradFill`); wins over {@link plotAreaFill}. */
|
|
3944
|
+
plotAreaGradient?: PptxChartGradientFill;
|
|
3862
3945
|
/** Whether data labels are shown. */
|
|
3863
3946
|
hasDataLabels?: boolean;
|
|
3864
3947
|
/** Chart-level data-label content/position options (when `hasDataLabels`). */
|
|
@@ -7727,7 +7810,15 @@ type PptxAnimationTimingCurve = 'ease' | 'ease-in' | 'ease-out' | 'linear';
|
|
|
7727
7810
|
/** Repeat mode for animations. */
|
|
7728
7811
|
type PptxAnimationRepeatMode = 'untilNextClick' | 'untilEndOfSlide';
|
|
7729
7812
|
/** Animation trigger type from OOXML `p:cTn`. */
|
|
7730
|
-
type PptxAnimationTrigger = 'onClick' | 'onShapeClick' | 'onHover' | 'afterPrevious' | 'withPrevious' | 'afterDelay'
|
|
7813
|
+
type PptxAnimationTrigger = 'onClick' | 'onShapeClick' | 'onHover' | 'afterPrevious' | 'withPrevious' | 'afterDelay' |
|
|
7814
|
+
/**
|
|
7815
|
+
* Starts when a media element's playback reaches a named bookmark
|
|
7816
|
+
* (PowerPoint's "Trigger > On Bookmark"). The media element is
|
|
7817
|
+
* {@link PptxElementAnimation.triggerShapeId} and the bookmark
|
|
7818
|
+
* {@link PptxElementAnimation.triggerBookmark}; saved as an interactive
|
|
7819
|
+
* sequence gated on `p:cond evt="onMediaBookmark"` with a `p14:bmkTgt`.
|
|
7820
|
+
*/
|
|
7821
|
+
'onMediaBookmark';
|
|
7731
7822
|
/**
|
|
7732
7823
|
* Native animation kind. The historic shape-targeted preset animations are
|
|
7733
7824
|
* implicitly the default kind (`undefined`). Media animations (`p:audio`,
|
|
@@ -7880,8 +7971,13 @@ interface PptxNativeAnimation {
|
|
|
7880
7971
|
target?: PptxAnimationTarget;
|
|
7881
7972
|
/** Trigger type. */
|
|
7882
7973
|
trigger?: PptxAnimationTrigger;
|
|
7883
|
-
/**
|
|
7974
|
+
/**
|
|
7975
|
+
* Shape ID that triggers this animation: the clicked shape of an
|
|
7976
|
+
* interactive sequence, or the media element of an `onMediaBookmark` one.
|
|
7977
|
+
*/
|
|
7884
7978
|
triggerShapeId?: string;
|
|
7979
|
+
/** Bookmark name an `onMediaBookmark` interactive sequence waits for. */
|
|
7980
|
+
triggerBookmark?: string;
|
|
7885
7981
|
/** Whether this effect belongs to an OOXML `interactiveSeq`. */
|
|
7886
7982
|
interactiveSequence?: boolean;
|
|
7887
7983
|
/** Whether `p:endSync/p:rtn[@val="all"]` makes that sequence replayable. */
|
|
@@ -8380,12 +8476,15 @@ interface PptxAttributeAnimation {
|
|
|
8380
8476
|
/**
|
|
8381
8477
|
* `p:anim/@_p14:bounceEnd` (Office 2010 `p14` extension attribute,
|
|
8382
8478
|
* MS-OI29500), normalized to a 0-1 fraction of this behaviour's own
|
|
8383
|
-
* duration. PowerPoint's
|
|
8384
|
-
*
|
|
8385
|
-
*
|
|
8386
|
-
*
|
|
8387
|
-
* the
|
|
8388
|
-
*
|
|
8479
|
+
* duration. PowerPoint's "Bounce End" effect option (COM:
|
|
8480
|
+
* `Effect.Timing.BounceEnd` + `BounceEndIntensity`) writes this on the
|
|
8481
|
+
* position-ramp `p:anim` node(s): the share of the duration spent
|
|
8482
|
+
* BOUNCING at the end. Measured from PowerPoint's own CreateVideo frames,
|
|
8483
|
+
* the travel completes at `1 - bounceEnd` and the rest is a damped
|
|
8484
|
+
* oscillation about the final value (see shared's `animation-bounce-end`).
|
|
8485
|
+
* Mirrored verbatim by PowerPoint onto the enclosing
|
|
8486
|
+
* `p:cTn/@_p14:presetBounceEnd`. Absent for every animation that doesn't
|
|
8487
|
+
* use this effect option (the overwhelming majority).
|
|
8389
8488
|
*/
|
|
8390
8489
|
bounceEnd?: number;
|
|
8391
8490
|
}
|
|
@@ -8563,9 +8662,24 @@ interface PptxElementAnimation {
|
|
|
8563
8662
|
durationMs?: number;
|
|
8564
8663
|
delayMs?: number;
|
|
8565
8664
|
order?: number;
|
|
8665
|
+
/**
|
|
8666
|
+
* The {@link order} the loader derived from the slide's `p:timing` tree for
|
|
8667
|
+
* an entry whose `pptx:editorMeta` record authored no `@order`. The tree
|
|
8668
|
+
* already expresses that position (and every load re-derives it), so the
|
|
8669
|
+
* writer omits `@order` while `order` still equals this value; a reorder
|
|
8670
|
+
* changes `order` and the attribute is written again. Load-time bookkeeping
|
|
8671
|
+
* only; never set it by hand.
|
|
8672
|
+
*/
|
|
8673
|
+
orderFromTimeline?: number;
|
|
8566
8674
|
trigger?: PptxAnimationTrigger;
|
|
8567
|
-
/**
|
|
8675
|
+
/**
|
|
8676
|
+
* Shape ID that triggers this animation: the shape clicked for
|
|
8677
|
+
* `onShapeClick`, or the media element whose bookmark fires it for
|
|
8678
|
+
* `onMediaBookmark`.
|
|
8679
|
+
*/
|
|
8568
8680
|
triggerShapeId?: string;
|
|
8681
|
+
/** Bookmark name (`p14:bmk/@name`) an `onMediaBookmark` trigger waits for. */
|
|
8682
|
+
triggerBookmark?: string;
|
|
8569
8683
|
timingCurve?: PptxAnimationTimingCurve;
|
|
8570
8684
|
repeatCount?: number;
|
|
8571
8685
|
repeatMode?: PptxAnimationRepeatMode;
|
|
@@ -12413,8 +12527,12 @@ declare function parsePresentationSessionId(hash: string): string | null;
|
|
|
12413
12527
|
declare function loadPresentationDeck(sessionId: string): Promise<Uint8Array | null>;
|
|
12414
12528
|
/** A logical editor command produced by one key press. */
|
|
12415
12529
|
type EditorKeyActionName = 'undo' | 'redo' | 'copy' | 'cut' | 'paste' | 'duplicate' | 'delete' | 'selectAll' | 'group' | 'ungroup' | 'nudge' | 'prevSlide' | 'nextSlide' | 'escape' | 'find' | 'findReplace' | 'toggleShortcuts' | 'alignLeft' | 'alignCenter' | 'alignRight' | 'alignJustify' | 'increaseFontSize' | 'decreaseFontSize' | 'copyFormat' | 'pasteFormat' | 'newSlide' | 'hyperlink' | 'clearFormatting' | 'cycleSelectionNext' | 'cycleSelectionPrev' | 'pasteSpecial';
|
|
12530
|
+
//#endregion
|
|
12531
|
+
//#region src/render/merge-shapes/merge-shapes-menu.d.ts
|
|
12532
|
+
/** The right-click command id for each operation. */
|
|
12533
|
+
type MergeShapesCommandId = 'merge-union' | 'merge-combine' | 'merge-fragment' | 'merge-intersect' | 'merge-subtract';
|
|
12416
12534
|
/** Every command a canvas context menu can offer, in no particular order. */
|
|
12417
|
-
type ContextMenuCommandId = 'copy' | 'cut' | 'paste' | 'duplicate' | 'edit-text' | 'bring-forward' | 'send-backward' | 'bring-front' | 'send-back' | 'ai-ask' | 'ai-fix' | 'comment' | 'hyperlink' | 'table-insert-row-above' | 'table-insert-row-below' | 'table-delete-row' | 'table-insert-col-left' | 'table-insert-col-right' | 'table-delete-col' | 'table-merge-selected' | 'table-merge-right' | 'table-merge-down' | 'table-split' | 'group' | 'ungroup' | 'save-as-picture' | 'edit-alt-text' | 'size-and-position' | 'format-shape' | 'delete';
|
|
12535
|
+
type ContextMenuCommandId = 'copy' | 'cut' | 'paste' | 'duplicate' | 'edit-text' | 'edit-points' | 'bring-forward' | 'send-backward' | 'bring-front' | 'send-back' | 'ai-ask' | 'ai-fix' | 'comment' | 'hyperlink' | 'table-insert-row-above' | 'table-insert-row-below' | 'table-delete-row' | 'table-insert-col-left' | 'table-insert-col-right' | 'table-delete-col' | 'table-merge-selected' | 'table-merge-right' | 'table-merge-down' | 'table-split' | 'group' | 'ungroup' | 'crop' | MergeShapesCommandId | 'save-as-picture' | 'edit-alt-text' | 'size-and-position' | 'format-shape' | 'delete';
|
|
12418
12536
|
//#endregion
|
|
12419
12537
|
//#region src/render/canvas-context-menu-commands.d.ts
|
|
12420
12538
|
/**
|
|
@@ -12518,7 +12636,7 @@ interface AccountAuthConfig {
|
|
|
12518
12636
|
* whole control cluster (zoom in/out/fit, prev/next) rather than each button
|
|
12519
12637
|
* in it, matching how hosts actually want to hide/keep them as a unit.
|
|
12520
12638
|
*/
|
|
12521
|
-
type ToolbarButtonId = 'share' | 'broadcast' | 'export' | 'undo' | 'redo' | 'record' | 'notes' | 'fullscreen' | 'zoom' | 'navigation';
|
|
12639
|
+
type ToolbarButtonId = 'share' | 'broadcast' | 'export' | 'undo' | 'redo' | 'record' | 'notes' | 'fullscreen' | 'zoom' | 'navigation' | 'mergeShapes' | 'crop';
|
|
12522
12640
|
/** A top-level ribbon tab. `record` intentionally shares its id with the quick-access Record button above: both surface the same recording feature, so hiding one hides the other. */
|
|
12523
12641
|
type ToolbarTabId = 'file' | 'home' | 'insert' | 'draw' | 'design' | 'transitions' | 'animations' | 'slideShow' | 'record' | 'review' | 'view' | 'help';
|
|
12524
12642
|
type ToolbarActionId = ToolbarButtonId | ToolbarTabId;
|
|
@@ -12724,6 +12842,12 @@ interface PrintSettings {
|
|
|
12724
12842
|
*/
|
|
12725
12843
|
scaleToFit?: boolean;
|
|
12726
12844
|
}
|
|
12845
|
+
/** Every command the Edit Points right-click menu can offer. */
|
|
12846
|
+
type EditPointsCommandId = 'add-point' | 'delete-point' | 'delete-segment' | 'open-path' | 'close-path' | 'smooth-point' | 'straight-point' | 'corner-point' | 'straight-segment' | 'curved-segment' | 'exit';
|
|
12847
|
+
//#endregion
|
|
12848
|
+
//#region src/render/edit-points/freeform-tool-geometry.d.ts
|
|
12849
|
+
/** The two click-to-place drawing tools. */
|
|
12850
|
+
type FreeformToolKind = 'freeformShape' | 'curve';
|
|
12727
12851
|
//#endregion
|
|
12728
12852
|
//#region src/render/options/viewer-options-controls.d.ts
|
|
12729
12853
|
/**
|
|
@@ -12794,6 +12918,11 @@ interface ContextMenuCustomization {
|
|
|
12794
12918
|
hiddenElementCommands?: readonly ContextMenuCommandId[];
|
|
12795
12919
|
/** Entries to remove from the empty-canvas menu. */
|
|
12796
12920
|
hiddenCanvasCommands?: readonly CanvasContextMenuCommandId[];
|
|
12921
|
+
/**
|
|
12922
|
+
* Entries to remove from the Edit Points menu (right-click a vertex or a
|
|
12923
|
+
* segment while editing a shape's points).
|
|
12924
|
+
*/
|
|
12925
|
+
hiddenEditPointsCommands?: readonly EditPointsCommandId[];
|
|
12797
12926
|
/** Remove the element context menu entirely. */
|
|
12798
12927
|
disableElementMenu?: boolean;
|
|
12799
12928
|
/** Remove the empty-canvas context menu entirely. */
|
|
@@ -12823,7 +12952,12 @@ interface KeyboardCustomization {
|
|
|
12823
12952
|
*/
|
|
12824
12953
|
type ViewerPanelId = 'statusBar' | 'slidesPane' | 'inspector' | 'notes' | 'quickAccessToolbar' | 'titleBar';
|
|
12825
12954
|
/** Feature areas that can be switched off as a whole. */
|
|
12826
|
-
type ViewerFeatureId = 'ai' | 'collaboration' | 'comments' | 'presentMode';
|
|
12955
|
+
type ViewerFeatureId = 'ai' | 'collaboration' | 'comments' | 'presentMode' | 'editPoints';
|
|
12956
|
+
/**
|
|
12957
|
+
* The click-to-place drawing tools of Insert > Shapes > Lines: Freeform:
|
|
12958
|
+
* Shape and Curve.
|
|
12959
|
+
*/
|
|
12960
|
+
type ViewerDrawingToolId = FreeformToolKind;
|
|
12827
12961
|
/** Dialogs (and the entry points that open them) a host can remove. */
|
|
12828
12962
|
type ViewerDialogId = 'options' | 'share' | 'broadcast' | 'print' | 'export';
|
|
12829
12963
|
/** Export formats offered by the File > Export page. */
|
|
@@ -12846,21 +12980,23 @@ interface ViewerCustomization {
|
|
|
12846
12980
|
hiddenDialogs?: readonly ViewerDialogId[];
|
|
12847
12981
|
/** Export formats to remove from File > Export. */
|
|
12848
12982
|
hiddenExportFormats?: readonly ViewerExportFormatId[];
|
|
12983
|
+
/** Drawing tools to remove from the Insert > Shapes gallery. */
|
|
12984
|
+
hiddenDrawingTools?: readonly ViewerDrawingToolId[];
|
|
12849
12985
|
}
|
|
12850
12986
|
//#endregion
|
|
12851
12987
|
//#region src/render/customization/customization-catalog.d.ts
|
|
12852
12988
|
declare const RIBBON_TAB_IDS: readonly ToolbarTabId[];
|
|
12853
|
-
declare const TOOLBAR_BUTTON_IDS: readonly ["share", "broadcast", "export", "undo", "redo", "record", "notes", "fullscreen", "zoom", "navigation"];
|
|
12989
|
+
declare const TOOLBAR_BUTTON_IDS: readonly ["share", "broadcast", "export", "undo", "redo", "record", "notes", "fullscreen", "zoom", "navigation", "mergeShapes", "crop"];
|
|
12854
12990
|
declare const OPTIONS_PAGE_IDS: readonly OptionsPageId[];
|
|
12855
12991
|
declare const OPTIONS_SECTION_IDS: readonly OptionsSectionId[];
|
|
12856
12992
|
declare const OPTIONS_SETTING_IDS: readonly OptionsSettingId[];
|
|
12857
12993
|
declare const BACKSTAGE_PAGE_IDS: readonly BackstagePage[];
|
|
12858
12994
|
declare const BACKSTAGE_CARD_IDS: readonly BackstageCardId[];
|
|
12859
|
-
declare const ELEMENT_CONTEXT_MENU_COMMAND_IDS: readonly ["copy", "cut", "paste", "duplicate", "edit-text", "bring-forward", "send-backward", "bring-front", "send-back", "ai-ask", "ai-fix", "comment", "hyperlink", "table-insert-row-above", "table-insert-row-below", "table-delete-row", "table-insert-col-left", "table-insert-col-right", "table-delete-col", "table-merge-selected", "table-merge-right", "table-merge-down", "table-split", "group", "ungroup", "save-as-picture", "edit-alt-text", "size-and-position", "format-shape", "delete"];
|
|
12995
|
+
declare const ELEMENT_CONTEXT_MENU_COMMAND_IDS: readonly ["copy", "cut", "paste", "duplicate", "edit-text", "edit-points", "bring-forward", "send-backward", "bring-front", "send-back", "ai-ask", "ai-fix", "comment", "hyperlink", "table-insert-row-above", "table-insert-row-below", "table-delete-row", "table-insert-col-left", "table-insert-col-right", "table-delete-col", "table-merge-selected", "table-merge-right", "table-merge-down", "table-split", "group", "ungroup", "crop", "merge-union", "merge-combine", "merge-fragment", "merge-intersect", "merge-subtract", "save-as-picture", "edit-alt-text", "size-and-position", "format-shape", "delete"];
|
|
12860
12996
|
declare const CANVAS_CONTEXT_MENU_COMMAND_IDS: readonly ["paste", "layout", "reset-slide", "format-background", "grid-and-guides", "ruler"];
|
|
12861
12997
|
declare const EDITOR_SHORTCUT_ACTION_IDS: readonly ["undo", "redo", "copy", "cut", "paste", "duplicate", "delete", "selectAll", "group", "ungroup", "nudge", "prevSlide", "nextSlide", "escape", "find", "findReplace", "toggleShortcuts", "alignLeft", "alignCenter", "alignRight", "alignJustify", "increaseFontSize", "decreaseFontSize", "copyFormat", "pasteFormat", "newSlide", "hyperlink", "clearFormatting", "cycleSelectionNext", "cycleSelectionPrev", "pasteSpecial"];
|
|
12862
12998
|
declare const VIEWER_PANEL_IDS: readonly ["statusBar", "slidesPane", "inspector", "notes", "quickAccessToolbar", "titleBar"];
|
|
12863
|
-
declare const VIEWER_FEATURE_IDS: readonly ["ai", "collaboration", "comments", "presentMode"];
|
|
12999
|
+
declare const VIEWER_FEATURE_IDS: readonly ["ai", "collaboration", "comments", "presentMode", "editPoints"];
|
|
12864
13000
|
declare const VIEWER_DIALOG_IDS: readonly ["options", "share", "broadcast", "print", "export"];
|
|
12865
13001
|
declare const VIEWER_EXPORT_FORMAT_IDS: readonly ["pdf", "png", "video", "gif", "json", "copyImage"];
|
|
12866
13002
|
//#endregion
|
|
@@ -12894,6 +13030,8 @@ interface ResolvedCustomization {
|
|
|
12894
13030
|
hiddenBackstageCards: ReadonlySet<BackstageCardId>;
|
|
12895
13031
|
hiddenElementCommands: ReadonlySet<ContextMenuCommandId>;
|
|
12896
13032
|
hiddenCanvasCommands: ReadonlySet<CanvasContextMenuCommandId>;
|
|
13033
|
+
hiddenEditPointsCommands: ReadonlySet<EditPointsCommandId>;
|
|
13034
|
+
hiddenDrawingTools: ReadonlySet<ViewerDrawingToolId>;
|
|
12897
13035
|
elementMenuEnabled: boolean;
|
|
12898
13036
|
canvasMenuEnabled: boolean;
|
|
12899
13037
|
hiddenPanels: ReadonlySet<ViewerPanelId>;
|
package/dist/index.js
CHANGED
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { i as
|
|
3
|
-
import { M as
|
|
1
|
+
import { $u as a, An as e, At as o, Ef as r, F as t, Fr as i, Hu as S, Ir as _, Iu as T, Ju as l, Ms as n, N as E, Pr as I, Qu as A, Rr as m, Tn as D, Tt as N, Vl as O, Vm as P, Xn as d, Ym as C, _p as p, a_ as c, bl as R, cc as g, cl as v, dc as u, fc as f, fn as B, gc as h, i_ as M, kg as V, lc as k, mn as F, o_ as b, pn as x, r_ as L, s_ as G, sf as X, xr as U, z as W } from "./transition-overlay-BjAhkWT1.js";
|
|
2
|
+
import { i as y } from "./translator-D5VddVYr.js";
|
|
3
|
+
import { M as K, a as z, c as J, l as Q, o as Y, s as $, t as j } from "./export-BmYgdMk2.js";
|
|
4
4
|
import "./i18n.js";
|
|
5
5
|
export {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
6
|
+
E as BACKSTAGE_CARD_IDS,
|
|
7
|
+
t as BACKSTAGE_PAGE_IDS,
|
|
8
|
+
W as CANVAS_CONTEXT_MENU_COMMAND_IDS,
|
|
9
|
+
N as EDITOR_SHORTCUT_ACTION_IDS,
|
|
10
|
+
o as ELEMENT_CONTEXT_MENU_COMMAND_IDS,
|
|
11
|
+
B as OPTIONS_PAGE_IDS,
|
|
12
|
+
x as OPTIONS_SECTION_IDS,
|
|
13
|
+
F as OPTIONS_SETTING_IDS,
|
|
14
|
+
D as PPTX_OPEN_ACCEPT,
|
|
15
|
+
e as PRESENTATION_OPEN_EXTENSIONS,
|
|
16
|
+
j as PowerPointViewer,
|
|
17
|
+
d as RIBBON_TAB_IDS,
|
|
18
|
+
U as TOOLBAR_BUTTON_IDS,
|
|
19
|
+
I as VIEWER_DIALOG_IDS,
|
|
20
|
+
i as VIEWER_EXPORT_FORMAT_IDS,
|
|
21
|
+
_ as VIEWER_FEATURE_IDS,
|
|
22
|
+
m as VIEWER_PANEL_IDS,
|
|
23
|
+
n as createImageElementFromFile,
|
|
24
|
+
g as defaultCssVars,
|
|
25
|
+
k as defaultRadius,
|
|
26
|
+
u as defaultThemeColors,
|
|
27
|
+
f as deleteAutosaveSnapshot,
|
|
28
|
+
h as describeCollaborationShellState,
|
|
29
29
|
z as exportAllSlidesToSvg,
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
30
|
+
Y as exportAllSlidesToSvgBlobs,
|
|
31
|
+
$ as exportSlideAsSvg,
|
|
32
|
+
J as exportSlideToSvg,
|
|
33
|
+
Q as exportSlideToSvgBlob,
|
|
34
|
+
v as forgetSessionDeck,
|
|
35
|
+
R as getAutosaveSnapshot,
|
|
36
|
+
O as getSessionTabId,
|
|
37
|
+
T as isLegacyBinaryPresentation,
|
|
38
|
+
S as isSupportedPresentationFile,
|
|
39
|
+
l as listAutosaveSnapshots,
|
|
40
|
+
A as loadPresentationDeck,
|
|
41
|
+
a as loadSessionDeck,
|
|
42
|
+
X as parsePresentationSessionId,
|
|
43
|
+
r as presentationBaseName,
|
|
44
|
+
y as registerTranslations,
|
|
45
|
+
p as rememberSessionDeck,
|
|
46
|
+
K as renderToCanvas,
|
|
47
|
+
P as restoreSessionDeck,
|
|
48
|
+
C as savedPresentationFileName,
|
|
49
|
+
V as themeToCssVars,
|
|
50
|
+
L as vermilionDarkColors,
|
|
51
|
+
M as vermilionDarkTheme,
|
|
52
|
+
c as vermilionLightColors,
|
|
53
|
+
b as vermilionLightTheme,
|
|
54
|
+
G as vermilionRadius
|
|
55
55
|
};
|