pptx-react-viewer 3.17.1 → 3.19.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 +43 -0
- package/README.md +55 -31
- package/dist/{AiChatPanel-SINEEZBW.mjs → AiChatPanel-3M7XWTVE.mjs} +4 -4
- package/dist/AiChatPanel-3M7XWTVE.mjs.br +0 -0
- package/dist/AiChatPanel-3M7XWTVE.mjs.gz +0 -0
- package/dist/{AiChatPanel-GYH43XWW.js → AiChatPanel-WDVU4RIM.js} +25 -25
- package/dist/AiChatPanel-WDVU4RIM.js.br +0 -0
- package/dist/AiChatPanel-WDVU4RIM.js.gz +0 -0
- package/dist/{Area3DChartScene-X5SM67PZ.mjs → Area3DChartScene-CTVWVXNW.mjs} +1 -1
- package/dist/{Area3DChartScene-X5SM67PZ.mjs.br → Area3DChartScene-CTVWVXNW.mjs.br} +0 -0
- package/dist/Area3DChartScene-CTVWVXNW.mjs.gz +0 -0
- package/dist/{Area3DChartScene-D7GSJGPQ.js → Area3DChartScene-N5KPQFC6.js} +2 -2
- package/dist/Area3DChartScene-N5KPQFC6.js.br +0 -0
- package/dist/Area3DChartScene-N5KPQFC6.js.gz +0 -0
- package/dist/{Bar3DChartScene-M72WQW5Y.js → Bar3DChartScene-3QRUPVPT.js} +2 -2
- package/dist/Bar3DChartScene-3QRUPVPT.js.br +0 -0
- package/dist/Bar3DChartScene-3QRUPVPT.js.gz +0 -0
- package/dist/{Bar3DChartScene-HWIFFGI3.mjs → Bar3DChartScene-PXFSFZRX.mjs} +1 -1
- package/dist/{Bar3DChartScene-HWIFFGI3.mjs.br → Bar3DChartScene-PXFSFZRX.mjs.br} +0 -0
- package/dist/Bar3DChartScene-PXFSFZRX.mjs.gz +0 -0
- package/dist/{GLTFLoader-374ZNTXW.mjs → GLTFLoader-IWJFC4XI.mjs} +54 -16
- package/dist/GLTFLoader-IWJFC4XI.mjs.br +0 -0
- package/dist/GLTFLoader-IWJFC4XI.mjs.gz +0 -0
- package/dist/{GLTFLoader-Q7BHCGAW.js → GLTFLoader-KY7AYPMX.js} +178 -140
- package/dist/GLTFLoader-KY7AYPMX.js.br +0 -0
- package/dist/GLTFLoader-KY7AYPMX.js.gz +0 -0
- package/dist/{Line3DChartScene-YOZEEQZ3.js → Line3DChartScene-776WLKR5.js} +2 -2
- package/dist/Line3DChartScene-776WLKR5.js.br +0 -0
- package/dist/Line3DChartScene-776WLKR5.js.gz +0 -0
- package/dist/{Line3DChartScene-7MPZWVF3.mjs → Line3DChartScene-LLL3BU4Q.mjs} +1 -1
- package/dist/Line3DChartScene-LLL3BU4Q.mjs.br +0 -0
- package/dist/Line3DChartScene-LLL3BU4Q.mjs.gz +0 -0
- package/dist/{Model3DScene-5IJSNGDZ.js → Model3DScene-7TM2XSJY.js} +2 -2
- package/dist/Model3DScene-7TM2XSJY.js.br +0 -0
- package/dist/Model3DScene-7TM2XSJY.js.gz +0 -0
- package/dist/{Model3DScene-57LVY5QW.mjs → Model3DScene-FMQ4FDC5.mjs} +1 -1
- package/dist/{Model3DScene-57LVY5QW.mjs.br → Model3DScene-FMQ4FDC5.mjs.br} +0 -0
- package/dist/Model3DScene-FMQ4FDC5.mjs.gz +0 -0
- package/dist/OrbitControls-2XOMWUVE.mjs +3 -0
- package/dist/OrbitControls-2XOMWUVE.mjs.br +0 -0
- package/dist/OrbitControls-2XOMWUVE.mjs.gz +0 -0
- package/dist/OrbitControls-CGYUF3BY.js +12 -0
- package/dist/OrbitControls-CGYUF3BY.js.br +0 -0
- package/dist/OrbitControls-CGYUF3BY.js.gz +0 -0
- package/dist/{PieChart3DScene-WD5B6NP3.mjs → PieChart3DScene-2YNQ5J7A.mjs} +1 -1
- package/dist/{PieChart3DScene-WD5B6NP3.mjs.br → PieChart3DScene-2YNQ5J7A.mjs.br} +0 -0
- package/dist/PieChart3DScene-2YNQ5J7A.mjs.gz +0 -0
- package/dist/{PieChart3DScene-UBI6X66Q.js → PieChart3DScene-DZY4MQCG.js} +2 -2
- package/dist/PieChart3DScene-DZY4MQCG.js.br +0 -0
- package/dist/PieChart3DScene-DZY4MQCG.js.gz +0 -0
- package/dist/{SmartArt3DScene-ODKCGJBO.mjs → SmartArt3DScene-QZGIABOK.mjs} +2 -2
- package/dist/SmartArt3DScene-QZGIABOK.mjs.br +0 -0
- package/dist/SmartArt3DScene-QZGIABOK.mjs.gz +0 -0
- package/dist/{SmartArt3DScene-BK7QN3WT.js → SmartArt3DScene-T236GYUT.js} +33 -33
- package/dist/SmartArt3DScene-T236GYUT.js.br +0 -0
- package/dist/SmartArt3DScene-T236GYUT.js.gz +0 -0
- package/dist/{SurfaceChart3DScene-JGNPYQ32.js → SurfaceChart3DScene-G3MWPEL3.js} +2 -2
- package/dist/SurfaceChart3DScene-G3MWPEL3.js.br +0 -0
- package/dist/SurfaceChart3DScene-G3MWPEL3.js.gz +0 -0
- package/dist/{SurfaceChart3DScene-JZGU6BBD.mjs → SurfaceChart3DScene-XJHLH2EM.mjs} +1 -1
- package/dist/{SurfaceChart3DScene-JZGU6BBD.mjs.br → SurfaceChart3DScene-XJHLH2EM.mjs.br} +0 -0
- package/dist/SurfaceChart3DScene-XJHLH2EM.mjs.gz +0 -0
- package/dist/{chunk-E55VEC37.js → chunk-2QWLARCW.js} +7357 -1264
- package/dist/chunk-2QWLARCW.js.br +0 -0
- package/dist/chunk-2QWLARCW.js.gz +0 -0
- package/dist/{chunk-KVXB22D3.js → chunk-36O4SE4R.js} +5 -5
- package/dist/chunk-36O4SE4R.js.br +0 -0
- package/dist/chunk-36O4SE4R.js.gz +0 -0
- package/dist/{chunk-B4QYQLZU.js → chunk-3N6AC4HA.js} +1122 -693
- package/dist/chunk-3N6AC4HA.js.br +0 -0
- package/dist/chunk-3N6AC4HA.js.gz +0 -0
- package/dist/{chunk-OAKDJYYT.mjs → chunk-3R5A2E2K.mjs} +6273 -202
- package/dist/chunk-3R5A2E2K.mjs.br +0 -0
- package/dist/chunk-3R5A2E2K.mjs.gz +0 -0
- package/dist/{chunk-7YJBRPCT.mjs → chunk-4KKKJ5MJ.mjs} +1 -1
- package/dist/chunk-4KKKJ5MJ.mjs.br +0 -0
- package/dist/chunk-4KKKJ5MJ.mjs.gz +0 -0
- package/dist/{chunk-IRG7SIUX.js → chunk-6DYDAKHG.js} +2044 -7308
- package/dist/chunk-6DYDAKHG.js.br +0 -0
- package/dist/chunk-6DYDAKHG.js.gz +0 -0
- package/dist/{chunk-XBMKFZVP.mjs → chunk-7TAWW5QQ.mjs} +1120 -694
- package/dist/chunk-7TAWW5QQ.mjs.br +0 -0
- package/dist/chunk-7TAWW5QQ.mjs.gz +0 -0
- package/dist/{chunk-VYSMTC5C.mjs → chunk-7VFH2FRI.mjs} +66 -124
- package/dist/chunk-7VFH2FRI.mjs.br +0 -0
- package/dist/chunk-7VFH2FRI.mjs.gz +0 -0
- package/dist/{chunk-64FUV37N.js → chunk-BRJN3ZMG.js} +2 -1
- package/dist/chunk-BRJN3ZMG.js.br +0 -0
- package/dist/{chunk-64FUV37N.js.gz → chunk-BRJN3ZMG.js.gz} +0 -0
- package/dist/{chunk-QTGCOL5H.mjs → chunk-F552WUJN.mjs} +5668 -2129
- package/dist/chunk-F552WUJN.mjs.br +0 -0
- package/dist/chunk-F552WUJN.mjs.gz +0 -0
- package/dist/{chunk-6C2WYLZY.js → chunk-IXS7DALE.js} +45 -39
- package/dist/chunk-IXS7DALE.js.br +0 -0
- package/dist/chunk-IXS7DALE.js.gz +0 -0
- package/dist/{chunk-4SPZ5IZN.js → chunk-LBMPJYAR.js} +5726 -2132
- package/dist/chunk-LBMPJYAR.js.br +0 -0
- package/dist/chunk-LBMPJYAR.js.gz +0 -0
- package/dist/{chunk-LAU34UMB.mjs → chunk-MQUTXOET.mjs} +2 -1
- package/dist/chunk-MQUTXOET.mjs.br +0 -0
- package/dist/{chunk-LAU34UMB.mjs.gz → chunk-MQUTXOET.mjs.gz} +0 -0
- package/dist/{chunk-3CBDTD46.mjs → chunk-MV2GCDBR.mjs} +8 -2
- package/dist/chunk-MV2GCDBR.mjs.br +0 -0
- package/dist/chunk-MV2GCDBR.mjs.gz +0 -0
- package/dist/{chunk-IXKAIIA2.mjs → chunk-V3BOQ52U.mjs} +242 -5506
- package/dist/chunk-V3BOQ52U.mjs.br +0 -0
- package/dist/chunk-V3BOQ52U.mjs.gz +0 -0
- package/dist/{chunk-7FBKS7OS.js → chunk-V6S72IRP.js} +238 -296
- package/dist/chunk-V6S72IRP.js.br +0 -0
- package/dist/chunk-V6S72IRP.js.gz +0 -0
- package/dist/i18n/de.cjs +3765 -0
- package/dist/i18n/de.cjs.br +0 -0
- package/dist/i18n/de.cjs.gz +0 -0
- package/dist/i18n/de.d.cts +3 -0
- package/dist/i18n/de.d.mts +3 -0
- package/dist/i18n/de.mjs +3738 -0
- package/dist/i18n/de.mjs.br +0 -0
- package/dist/i18n/de.mjs.gz +0 -0
- package/dist/i18n/es.cjs +3765 -0
- package/dist/i18n/es.cjs.br +0 -0
- package/dist/i18n/es.cjs.gz +0 -0
- package/dist/i18n/es.d.cts +3 -0
- package/dist/i18n/es.d.mts +3 -0
- package/dist/i18n/es.mjs +3738 -0
- package/dist/i18n/es.mjs.br +0 -0
- package/dist/i18n/es.mjs.gz +0 -0
- package/dist/i18n/fr.cjs +3765 -0
- package/dist/i18n/fr.cjs.br +0 -0
- package/dist/i18n/fr.cjs.gz +0 -0
- package/dist/i18n/fr.d.cts +3 -0
- package/dist/i18n/fr.d.mts +3 -0
- package/dist/i18n/fr.mjs +3738 -0
- package/dist/i18n/fr.mjs.br +0 -0
- package/dist/i18n/fr.mjs.gz +0 -0
- package/dist/i18n/zh-CN.cjs +3803 -0
- package/dist/i18n/zh-CN.cjs.br +0 -0
- package/dist/i18n/zh-CN.cjs.gz +0 -0
- package/dist/i18n/zh-CN.d.cts +3 -0
- package/dist/i18n/zh-CN.d.mts +3 -0
- package/dist/i18n/zh-CN.mjs +3776 -0
- package/dist/i18n/zh-CN.mjs.br +0 -0
- package/dist/i18n/zh-CN.mjs.gz +0 -0
- package/dist/i18n.js +4 -4
- package/dist/i18n.js.br +0 -0
- package/dist/i18n.js.gz +0 -0
- package/dist/i18n.mjs +1 -1
- package/dist/i18n.mjs.br +0 -0
- package/dist/i18n.mjs.gz +0 -0
- package/dist/index.d.ts +67 -4
- package/dist/index.js +51 -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 +2433 -2062
- package/dist/internals.js +183 -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/three.module-LGUV2LI6.mjs +2 -0
- package/dist/three.module-LGUV2LI6.mjs.br +0 -0
- package/dist/three.module-LGUV2LI6.mjs.gz +0 -0
- package/dist/{three.module-GNNNRIMK.js → three.module-YZ4M24WM.js} +454 -442
- package/dist/three.module-YZ4M24WM.js.br +0 -0
- package/dist/three.module-YZ4M24WM.js.gz +0 -0
- package/dist/viewer/index.d.ts +13 -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 +46 -6
- package/dist/AiChatPanel-GYH43XWW.js.br +0 -0
- package/dist/AiChatPanel-GYH43XWW.js.gz +0 -0
- package/dist/AiChatPanel-SINEEZBW.mjs.br +0 -0
- package/dist/AiChatPanel-SINEEZBW.mjs.gz +0 -0
- package/dist/Area3DChartScene-D7GSJGPQ.js.br +0 -0
- package/dist/Area3DChartScene-D7GSJGPQ.js.gz +0 -0
- package/dist/Area3DChartScene-X5SM67PZ.mjs.gz +0 -0
- package/dist/Bar3DChartScene-HWIFFGI3.mjs.gz +0 -0
- package/dist/Bar3DChartScene-M72WQW5Y.js.br +0 -0
- package/dist/Bar3DChartScene-M72WQW5Y.js.gz +0 -0
- package/dist/GLTFLoader-374ZNTXW.mjs.br +0 -0
- package/dist/GLTFLoader-374ZNTXW.mjs.gz +0 -0
- package/dist/GLTFLoader-Q7BHCGAW.js.br +0 -0
- package/dist/GLTFLoader-Q7BHCGAW.js.gz +0 -0
- package/dist/Line3DChartScene-7MPZWVF3.mjs.br +0 -0
- package/dist/Line3DChartScene-7MPZWVF3.mjs.gz +0 -0
- package/dist/Line3DChartScene-YOZEEQZ3.js.br +0 -0
- package/dist/Line3DChartScene-YOZEEQZ3.js.gz +0 -0
- package/dist/Model3DScene-57LVY5QW.mjs.gz +0 -0
- package/dist/Model3DScene-5IJSNGDZ.js.br +0 -0
- package/dist/Model3DScene-5IJSNGDZ.js.gz +0 -0
- package/dist/OrbitControls-SMYCPLXO.js +0 -12
- package/dist/OrbitControls-SMYCPLXO.js.br +0 -3
- package/dist/OrbitControls-SMYCPLXO.js.gz +0 -0
- package/dist/OrbitControls-ZTGHPI5G.mjs +0 -3
- package/dist/OrbitControls-ZTGHPI5G.mjs.br +0 -0
- package/dist/OrbitControls-ZTGHPI5G.mjs.gz +0 -0
- package/dist/PieChart3DScene-UBI6X66Q.js.br +0 -0
- package/dist/PieChart3DScene-UBI6X66Q.js.gz +0 -0
- package/dist/PieChart3DScene-WD5B6NP3.mjs.gz +0 -0
- package/dist/PowerPointViewer-Cde_wzd0.d.ts +0 -21
- package/dist/PowerPointViewer-Cde_wzd0.d.ts.map +0 -1
- package/dist/SmartArt3DScene-BK7QN3WT.js.br +0 -0
- package/dist/SmartArt3DScene-BK7QN3WT.js.gz +0 -0
- package/dist/SmartArt3DScene-ODKCGJBO.mjs.br +0 -0
- package/dist/SmartArt3DScene-ODKCGJBO.mjs.gz +0 -0
- package/dist/SurfaceChart3DScene-JGNPYQ32.js.br +0 -0
- package/dist/SurfaceChart3DScene-JGNPYQ32.js.gz +0 -0
- package/dist/SurfaceChart3DScene-JZGU6BBD.mjs.gz +0 -0
- package/dist/audience-content-store-A8Km8rBo.d.ts +0 -402
- package/dist/audience-content-store-A8Km8rBo.d.ts.map +0 -1
- package/dist/chunk-3CBDTD46.mjs.br +0 -0
- package/dist/chunk-3CBDTD46.mjs.gz +0 -0
- package/dist/chunk-4SPZ5IZN.js.br +0 -0
- package/dist/chunk-4SPZ5IZN.js.gz +0 -0
- package/dist/chunk-64FUV37N.js.br +0 -0
- package/dist/chunk-6C2WYLZY.js.br +0 -0
- package/dist/chunk-6C2WYLZY.js.gz +0 -0
- package/dist/chunk-7FBKS7OS.js.br +0 -0
- package/dist/chunk-7FBKS7OS.js.gz +0 -0
- package/dist/chunk-7YJBRPCT.mjs.br +0 -0
- package/dist/chunk-7YJBRPCT.mjs.gz +0 -0
- package/dist/chunk-B4QYQLZU.js.br +0 -0
- package/dist/chunk-B4QYQLZU.js.gz +0 -0
- package/dist/chunk-E55VEC37.js.br +0 -0
- package/dist/chunk-E55VEC37.js.gz +0 -0
- package/dist/chunk-IRG7SIUX.js.br +0 -0
- package/dist/chunk-IRG7SIUX.js.gz +0 -0
- package/dist/chunk-IXKAIIA2.mjs.br +0 -0
- package/dist/chunk-IXKAIIA2.mjs.gz +0 -0
- package/dist/chunk-KVXB22D3.js.br +0 -0
- package/dist/chunk-KVXB22D3.js.gz +0 -0
- package/dist/chunk-LAU34UMB.mjs.br +0 -0
- package/dist/chunk-OAKDJYYT.mjs.br +0 -0
- package/dist/chunk-OAKDJYYT.mjs.gz +0 -0
- package/dist/chunk-QTGCOL5H.mjs.br +0 -0
- package/dist/chunk-QTGCOL5H.mjs.gz +0 -0
- package/dist/chunk-VYSMTC5C.mjs.br +0 -0
- package/dist/chunk-VYSMTC5C.mjs.gz +0 -0
- package/dist/chunk-XBMKFZVP.mjs.br +0 -0
- package/dist/chunk-XBMKFZVP.mjs.gz +0 -0
- package/dist/index-CGKutKk1.d.ts +0 -46
- package/dist/index-CGKutKk1.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/internals.d.ts.map +0 -1
- package/dist/three.module-AC7ESV4W.mjs +0 -2
- package/dist/three.module-AC7ESV4W.mjs.br +0 -0
- package/dist/three.module-AC7ESV4W.mjs.gz +0 -0
- package/dist/three.module-GNNNRIMK.js.br +0 -0
- package/dist/three.module-GNNNRIMK.js.gz +0 -0
- package/dist/types-BqB2ZCwS.d.ts +0 -836
- package/dist/types-BqB2ZCwS.d.ts.map +0 -1
- package/dist/useViewerBuildingBlocks-DkUGmlkP.d.ts +0 -521
- package/dist/useViewerBuildingBlocks-DkUGmlkP.d.ts.map +0 -1
- package/dist/viewer/index.d.ts.map +0 -1
|
Binary file
|
|
Binary file
|
package/dist/i18n.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkBRJN3ZMG_js = require('./chunk-BRJN3ZMG.js');
|
|
4
4
|
require('./chunk-4VNS5WPM.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "LOCALE_CATALOG", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkBRJN3ZMG_js.LOCALE_CATALOG; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "keyToLabel", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkBRJN3ZMG_js.keyToLabel; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "translationsEn", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkBRJN3ZMG_js.translationsEn; }
|
|
19
19
|
});
|
package/dist/i18n.js.br
CHANGED
|
Binary file
|
package/dist/i18n.js.gz
CHANGED
|
Binary file
|
package/dist/i18n.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { LOCALE_CATALOG, keyToLabel, translationsEn } from './chunk-
|
|
1
|
+
export { LOCALE_CATALOG, keyToLabel, translationsEn } from './chunk-MQUTXOET.mjs';
|
|
2
2
|
import './chunk-XGB3TDIC.mjs';
|
package/dist/i18n.mjs.br
CHANGED
|
Binary file
|
package/dist/i18n.mjs.gz
CHANGED
|
Binary file
|
package/dist/index.d.ts
CHANGED
|
@@ -11570,6 +11570,24 @@ interface TextStyleAnimationDescriptor {
|
|
|
11570
11570
|
color?: string;
|
|
11571
11571
|
}
|
|
11572
11572
|
|
|
11573
|
+
//#region src/render/element-update-batch.d.ts
|
|
11574
|
+
/** A shallow property patch for a top-level element on an ordinary slide. */
|
|
11575
|
+
interface ElementUpdate {
|
|
11576
|
+
slideId: string;
|
|
11577
|
+
elementId: string;
|
|
11578
|
+
patch: Partial<PptxElement>;
|
|
11579
|
+
}
|
|
11580
|
+
interface ElementUpdateOptions {
|
|
11581
|
+
/** Optional description for the undo entry. */
|
|
11582
|
+
label?: string;
|
|
11583
|
+
}
|
|
11584
|
+
//#endregion
|
|
11585
|
+
//#region src/types.d.ts
|
|
11586
|
+
/** Canvas dimensions in pixels. */
|
|
11587
|
+
interface CanvasSize$1 {
|
|
11588
|
+
width: number;
|
|
11589
|
+
height: number;
|
|
11590
|
+
}
|
|
11573
11591
|
/** Viewer interaction mode: read-only, edit, presentation, or master-view. */
|
|
11574
11592
|
type ViewerMode = 'preview' | 'edit' | 'present' | 'master';
|
|
11575
11593
|
/**
|
|
@@ -11660,6 +11678,8 @@ interface PowerPointViewerAPI {
|
|
|
11660
11678
|
* Accepts a `Partial<PptxElement>` patch (e.g. `{ x: 100, width: 300 }`).
|
|
11661
11679
|
*/
|
|
11662
11680
|
updateElement: (elementId: string, updates: Partial<PptxElement>) => void;
|
|
11681
|
+
/** Atomically patch ordinary slide elements as one independent undo step. Rejects invalid batches. */
|
|
11682
|
+
updateElements: (updates: readonly ElementUpdate[], options?: ElementUpdateOptions) => Promise<void>;
|
|
11663
11683
|
/** Delete elements by their IDs from the active slide. */
|
|
11664
11684
|
deleteElements: (elementIds: string[]) => void;
|
|
11665
11685
|
/**
|
|
@@ -11982,6 +12002,14 @@ declare function buildSlideTemplateSlide(templateId: SlideTemplateId, slideId: s
|
|
|
11982
12002
|
/** The unit system used for ruler display. */
|
|
11983
12003
|
type RulerUnit = 'inches' | 'centimetres';
|
|
11984
12004
|
//#endregion
|
|
12005
|
+
//#region src/render/inline-list-types.d.ts
|
|
12006
|
+
/** Current editor payload. Missing segments explicitly denotes plain-text fallback. */
|
|
12007
|
+
interface InlineTextEditSnapshot {
|
|
12008
|
+
elementId: string;
|
|
12009
|
+
text: string;
|
|
12010
|
+
textSegments?: TextSegment[];
|
|
12011
|
+
}
|
|
12012
|
+
//#endregion
|
|
11985
12013
|
//#region src/render/text-field-substitution.d.ts
|
|
11986
12014
|
/**
|
|
11987
12015
|
* Text-field placeholder substitution, shared by every binding's text
|
|
@@ -12186,6 +12214,32 @@ interface ElementClipboardPayload {
|
|
|
12186
12214
|
isTemplate: boolean;
|
|
12187
12215
|
}
|
|
12188
12216
|
//#endregion
|
|
12217
|
+
//#region src/render/image-file-insertion.d.ts
|
|
12218
|
+
/**
|
|
12219
|
+
* Decode a local image File/Blob into a centred element, fitting the slide
|
|
12220
|
+
* without upscaling. Dimensions are slide pixels; image bytes are preserved.
|
|
12221
|
+
*
|
|
12222
|
+
* Resolves null for unsupported/unreadable images, invalid bounds, cancellation,
|
|
12223
|
+
* or unavailable browser APIs. Importing this module is safe outside a browser.
|
|
12224
|
+
* No slide, selection, history, clipboard, or network state is changed. The
|
|
12225
|
+
* caller must still validate its document/slide destination before committing.
|
|
12226
|
+
*/
|
|
12227
|
+
declare function createImageElementFromFile(file: Blob, canvasSize: CanvasSize$1, signal?: AbortSignal): Promise<ImagePptxElement | null>;
|
|
12228
|
+
//#endregion
|
|
12229
|
+
//#region src/render/editor-image-paste.d.ts
|
|
12230
|
+
/** A currently editable slide. Return null while loading or outside canvas editing. */
|
|
12231
|
+
interface EditorImagePasteTarget {
|
|
12232
|
+
documentId: object;
|
|
12233
|
+
slideId: string;
|
|
12234
|
+
canvasSize: CanvasSize$1;
|
|
12235
|
+
}
|
|
12236
|
+
interface EditorImagePasteOptions {
|
|
12237
|
+
getCanvas(): HTMLElement | null;
|
|
12238
|
+
getTarget(): EditorImagePasteTarget | null;
|
|
12239
|
+
/** Use the normal editor command so selection, dirty state and Undo stay consistent. */
|
|
12240
|
+
insertElement(element: ImagePptxElement): void;
|
|
12241
|
+
}
|
|
12242
|
+
//#endregion
|
|
12189
12243
|
//#region src/render/account.d.ts
|
|
12190
12244
|
/** Local-only display profile shown in File > Account. Never sent anywhere; purely cosmetic. */
|
|
12191
12245
|
interface ViewerProfile {
|
|
@@ -13195,6 +13249,8 @@ interface ToolbarProps {
|
|
|
13195
13249
|
/** Enter PowerPoint's Outline view: the deck as editable indented text. */
|
|
13196
13250
|
onOpenOutlineView: () => void;
|
|
13197
13251
|
onUpdateTextStyle: (updates: Partial<TextStyle>) => void;
|
|
13252
|
+
/** Bullets / Numbering for the selected text element (shared paragraph bullet toggle). */
|
|
13253
|
+
onToggleBullets: (kind: 'bullet' | 'numbered') => void;
|
|
13198
13254
|
/** Rewrite the selected text's characters (PowerPoint's Aa "Change Case" dropdown). */
|
|
13199
13255
|
onTransformTextCase: (mode: ChangeCaseMode) => void;
|
|
13200
13256
|
isOverflowMenuOpen: boolean;
|
|
@@ -13301,6 +13357,9 @@ interface ToolbarProps {
|
|
|
13301
13357
|
onQuickCommand?: (id: string) => void;
|
|
13302
13358
|
}
|
|
13303
13359
|
//#endregion
|
|
13360
|
+
//#region src/viewer/hooks/useCanvasImagePaste.d.ts
|
|
13361
|
+
type CanvasImagePasteHandlers = Pick<EditorImagePasteOptions, 'getTarget' | 'insertElement'>;
|
|
13362
|
+
//#endregion
|
|
13304
13363
|
//#region src/viewer/utils/table-band-style.d.ts
|
|
13305
13364
|
/**
|
|
13306
13365
|
* Table band / header / emphasis styling for the React table renderer.
|
|
@@ -13323,11 +13382,15 @@ interface TableStyleContext {
|
|
|
13323
13382
|
//#region src/viewer/components/canvas/canvas-types.d.ts
|
|
13324
13383
|
interface ZoomViewport {
|
|
13325
13384
|
canvasViewportRef: React$1__default.RefObject<HTMLDivElement | null>;
|
|
13385
|
+
/** Optional mount notification for hook-owned fit and wheel listeners. */
|
|
13386
|
+
setCanvasViewportNode?: React$1__default.RefCallback<HTMLDivElement>;
|
|
13326
13387
|
editWrapperRef: React$1__default.RefObject<HTMLDivElement | null>;
|
|
13327
13388
|
canvasStageRef: React$1__default.RefObject<HTMLDivElement | null>;
|
|
13328
13389
|
editorScale: number;
|
|
13329
13390
|
}
|
|
13330
13391
|
interface SlideCanvasProps {
|
|
13392
|
+
/** Native image paste commands supplied by the stock or headless editor. */
|
|
13393
|
+
imagePaste?: CanvasImagePasteHandlers;
|
|
13331
13394
|
activeSlide: PptxSlide | undefined;
|
|
13332
13395
|
templateElements: PptxElement[];
|
|
13333
13396
|
canvasSize: CanvasSize;
|
|
@@ -13370,7 +13433,7 @@ interface SlideCanvasProps {
|
|
|
13370
13433
|
onAdjustmentPointerDown: (elementId: string, e: React$1__default.MouseEvent, descriptor: ShapeAdjustmentHandleDescriptor) => void;
|
|
13371
13434
|
/** Commit a new rotation (degrees) when the on-canvas rotate handle is dragged. */
|
|
13372
13435
|
onRotate?: (elementId: string, rotationDeg: number) => void;
|
|
13373
|
-
onInlineEditChange: (text: string) => void;
|
|
13436
|
+
onInlineEditChange: (text: string, snapshot?: InlineTextEditSnapshot) => void;
|
|
13374
13437
|
onInlineEditCommit: () => void;
|
|
13375
13438
|
onInlineEditCancel: () => void;
|
|
13376
13439
|
onTableCellSelect: (cell: Omit<TableCellEditorState, 'elementId'> | null, elementId: string) => void;
|
|
@@ -13528,7 +13591,7 @@ declare function useViewerBuildingBlocks(input: UseViewerBuildingBlocksInput): V
|
|
|
13528
13591
|
declare function Toolbar(p: ToolbarProps): React$1__default.ReactElement;
|
|
13529
13592
|
//#endregion
|
|
13530
13593
|
//#region src/viewer/components/SlideCanvas.d.ts
|
|
13531
|
-
declare function SlideCanvas({ activeSlide, templateElements, canvasSize, zoom, mode, canEdit, editTemplateMode, selectedElementIdSet, selectedElement, inlineEditingElementId, inlineEditingText, spellCheckEnabled, mediaDataUrls, tableEditorState, marqueeSelectionState, snapLines, showGrid, gridSpacingPx, showRulers, rulerUnit, guides, presentationElementStates, presentationKeyframesCss, onClick, onDoubleClick, onMouseDown, onContextMenu, onCanvasMouseDown, onResizePointerDown, onAdjustmentPointerDown, onRotate, onInlineEditChange, onInlineEditCommit, onInlineEditCancel, onTableCellSelect, onCommitCellEdit, onUpdateSmartArtElement, onFormatText, onResizeTableColumns, onResizeTableRow, findResults, findResultIndex, activeSlideIndex, activeTool, drawingColor, drawingWidth, isDrawingRef, onAddInkElement, onAddFreeformShape, onEraseInkElement, onActionClick, onHyperlinkClick, comments, showCommentMarkers, onCommentMarkerClick, onMoveGuide, onDeleteGuide, onCreateGuideFromRuler, connectorCreationMode, onCreateConnector, onUpdateSlideAnimations, allSlides, onZoomClick, sourceSlideIndex, fieldContext, tableStyleContext, collaborationOverlay, aiActive }: SlideCanvasProps): React$1.JSX.Element;
|
|
13594
|
+
declare function SlideCanvas({ imagePaste, activeSlide, templateElements, canvasSize, zoom, mode, canEdit, editTemplateMode, selectedElementIdSet, selectedElement, inlineEditingElementId, inlineEditingText, spellCheckEnabled, mediaDataUrls, tableEditorState, marqueeSelectionState, snapLines, showGrid, gridSpacingPx, showRulers, rulerUnit, guides, presentationElementStates, presentationKeyframesCss, onClick, onDoubleClick, onMouseDown, onContextMenu, onCanvasMouseDown, onResizePointerDown, onAdjustmentPointerDown, onRotate, onInlineEditChange, onInlineEditCommit, onInlineEditCancel, onTableCellSelect, onCommitCellEdit, onUpdateSmartArtElement, onFormatText, onResizeTableColumns, onResizeTableRow, findResults, findResultIndex, activeSlideIndex, activeTool, drawingColor, drawingWidth, isDrawingRef, onAddInkElement, onAddFreeformShape, onEraseInkElement, onActionClick, onHyperlinkClick, comments, showCommentMarkers, onCommentMarkerClick, onMoveGuide, onDeleteGuide, onCreateGuideFromRuler, connectorCreationMode, onCreateConnector, onUpdateSlideAnimations, allSlides, onZoomClick, sourceSlideIndex, fieldContext, tableStyleContext, collaborationOverlay, aiActive }: SlideCanvasProps): React$1.JSX.Element;
|
|
13532
13595
|
//#endregion
|
|
13533
13596
|
//#region src/viewer/components/SlideTemplateGalleryDialog.d.ts
|
|
13534
13597
|
interface SlideTemplateGalleryDialogProps {
|
|
@@ -13567,5 +13630,5 @@ declare function SlideTemplatePreview({ templateId, scheme }: SlideTemplatePrevi
|
|
|
13567
13630
|
*/
|
|
13568
13631
|
declare function renderToCanvas(element: HTMLElement, options?: Partial<Options>): Promise<HTMLCanvasElement>;
|
|
13569
13632
|
|
|
13570
|
-
export { AVATAR_COLOR_SWATCHES, DEFAULT_VIEWER_PROFILE, LOCALE_CATALOG, PPTX_OPEN_ACCEPT, PRESENTATION_OPEN_EXTENSIONS, PowerPointViewer, SLIDE_TEMPLATES, SlideCanvas, SlideTemplateGalleryDialog, SlideTemplatePreview, THEME_CATALOG, Toolbar, VIEWER_PREFS_STORAGE_KEY, ViewerThemeProvider, buildSlideTemplateContent, buildSlideTemplateSlide, clearAllLocalViewerData, clearStoredViewerPrefs, defaultCssVars, defaultRadius, defaultThemeColors, getAnimationInitialStyle, getLocalStorageUsageSummary, isLegacyBinaryPresentation, isSupportedPresentationFile, presentationBaseName, readStoredViewerPrefs, renderToCanvas, resolveProfileInitial, resolveThemeCatalogEntry, saveViewerProfile, savedPresentationFileName, themeToCssVars, useViewerBuildingBlocks, useViewerTheme, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius, writeStoredViewerPrefs };
|
|
13571
|
-
export type { AccountAuthConfig, LocalStorageUsageSummary, LocaleCatalogEntry, PowerPointViewerAPI, PowerPointViewerHandle, PowerPointViewerProps, PptxAiBridge, PptxAiConfig, PptxAiConnection, PptxAiContextStrategy, PptxAiToolName, PptxAiWritePolicy, SavedPresentationFormat, SlideCanvasProps, SlideTemplateGalleryDialogProps, SlideTemplateId, SlideTemplatePreviewProps, SlideTemplateSpec, StoredViewerPrefs, ThemeCatalogEntry, ToolbarActionId, ToolbarButtonId, ToolbarProps, ToolbarTabId, UseViewerBuildingBlocksInput, ViewerBuildingBlocksResult, ViewerMode, ViewerProfile, ViewerTheme, ViewerThemeColors, ViewportFitOptions, ViewportFitPadding };
|
|
13633
|
+
export { AVATAR_COLOR_SWATCHES, DEFAULT_VIEWER_PROFILE, LOCALE_CATALOG, PPTX_OPEN_ACCEPT, PRESENTATION_OPEN_EXTENSIONS, PowerPointViewer, SLIDE_TEMPLATES, SlideCanvas, SlideTemplateGalleryDialog, SlideTemplatePreview, THEME_CATALOG, Toolbar, VIEWER_PREFS_STORAGE_KEY, ViewerThemeProvider, buildSlideTemplateContent, buildSlideTemplateSlide, clearAllLocalViewerData, clearStoredViewerPrefs, createImageElementFromFile, defaultCssVars, defaultRadius, defaultThemeColors, getAnimationInitialStyle, getLocalStorageUsageSummary, isLegacyBinaryPresentation, isSupportedPresentationFile, presentationBaseName, readStoredViewerPrefs, renderToCanvas, resolveProfileInitial, resolveThemeCatalogEntry, saveViewerProfile, savedPresentationFileName, themeToCssVars, useViewerBuildingBlocks, useViewerTheme, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius, writeStoredViewerPrefs };
|
|
13634
|
+
export type { AccountAuthConfig, ElementUpdate, ElementUpdateOptions, LocalStorageUsageSummary, LocaleCatalogEntry, PowerPointViewerAPI, PowerPointViewerHandle, PowerPointViewerProps, PptxAiBridge, PptxAiConfig, PptxAiConnection, PptxAiContextStrategy, PptxAiToolName, PptxAiWritePolicy, SavedPresentationFormat, SlideCanvasProps, SlideTemplateGalleryDialogProps, SlideTemplateId, SlideTemplatePreviewProps, SlideTemplateSpec, StoredViewerPrefs, ThemeCatalogEntry, ToolbarActionId, ToolbarButtonId, ToolbarProps, ToolbarTabId, UseViewerBuildingBlocksInput, ViewerBuildingBlocksResult, ViewerMode, ViewerProfile, ViewerTheme, ViewerThemeColors, ViewportFitOptions, ViewportFitPadding };
|
package/dist/index.js
CHANGED
|
@@ -1,176 +1,180 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
var
|
|
3
|
+
var chunk6DYDAKHG_js = require('./chunk-6DYDAKHG.js');
|
|
4
|
+
require('./chunk-36O4SE4R.js');
|
|
5
|
+
var chunk2QWLARCW_js = require('./chunk-2QWLARCW.js');
|
|
6
|
+
var chunkV6S72IRP_js = require('./chunk-V6S72IRP.js');
|
|
7
|
+
var chunkLBMPJYAR_js = require('./chunk-LBMPJYAR.js');
|
|
8
|
+
var chunkBRJN3ZMG_js = require('./chunk-BRJN3ZMG.js');
|
|
9
9
|
require('./chunk-4VNS5WPM.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
Object.defineProperty(exports, "PowerPointViewer", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunk6DYDAKHG_js.PowerPointViewer; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "SlideCanvas", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunk6DYDAKHG_js.SlideCanvas; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "SlideTemplateGalleryDialog", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunk6DYDAKHG_js.SlideTemplateGalleryDialog; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "SlideTemplatePreview", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunk6DYDAKHG_js.SlideTemplatePreview; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "Toolbar", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunk6DYDAKHG_js.Toolbar; }
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "ViewerThemeProvider", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunk6DYDAKHG_js.ViewerThemeProvider; }
|
|
36
36
|
});
|
|
37
37
|
Object.defineProperty(exports, "useViewerTheme", {
|
|
38
38
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunk6DYDAKHG_js.useViewerTheme; }
|
|
40
40
|
});
|
|
41
41
|
Object.defineProperty(exports, "renderToCanvas", {
|
|
42
42
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunk2QWLARCW_js.renderToCanvas; }
|
|
44
44
|
});
|
|
45
45
|
Object.defineProperty(exports, "useViewerBuildingBlocks", {
|
|
46
46
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunk2QWLARCW_js.useViewerBuildingBlocks; }
|
|
48
48
|
});
|
|
49
49
|
Object.defineProperty(exports, "getAnimationInitialStyle", {
|
|
50
50
|
enumerable: true,
|
|
51
|
-
get: function () { return
|
|
51
|
+
get: function () { return chunkV6S72IRP_js.getAnimationInitialStyle; }
|
|
52
52
|
});
|
|
53
53
|
Object.defineProperty(exports, "AVATAR_COLOR_SWATCHES", {
|
|
54
54
|
enumerable: true,
|
|
55
|
-
get: function () { return
|
|
55
|
+
get: function () { return chunkLBMPJYAR_js.AVATAR_COLOR_SWATCHES; }
|
|
56
56
|
});
|
|
57
57
|
Object.defineProperty(exports, "DEFAULT_VIEWER_PROFILE", {
|
|
58
58
|
enumerable: true,
|
|
59
|
-
get: function () { return
|
|
59
|
+
get: function () { return chunkLBMPJYAR_js.DEFAULT_VIEWER_PROFILE; }
|
|
60
60
|
});
|
|
61
61
|
Object.defineProperty(exports, "PPTX_OPEN_ACCEPT", {
|
|
62
62
|
enumerable: true,
|
|
63
|
-
get: function () { return
|
|
63
|
+
get: function () { return chunkLBMPJYAR_js.PPTX_OPEN_ACCEPT; }
|
|
64
64
|
});
|
|
65
65
|
Object.defineProperty(exports, "PRESENTATION_OPEN_EXTENSIONS", {
|
|
66
66
|
enumerable: true,
|
|
67
|
-
get: function () { return
|
|
67
|
+
get: function () { return chunkLBMPJYAR_js.PRESENTATION_OPEN_EXTENSIONS; }
|
|
68
68
|
});
|
|
69
69
|
Object.defineProperty(exports, "SLIDE_TEMPLATES", {
|
|
70
70
|
enumerable: true,
|
|
71
|
-
get: function () { return
|
|
71
|
+
get: function () { return chunkLBMPJYAR_js.SLIDE_TEMPLATES; }
|
|
72
72
|
});
|
|
73
73
|
Object.defineProperty(exports, "THEME_CATALOG", {
|
|
74
74
|
enumerable: true,
|
|
75
|
-
get: function () { return
|
|
75
|
+
get: function () { return chunkLBMPJYAR_js.THEME_CATALOG; }
|
|
76
76
|
});
|
|
77
77
|
Object.defineProperty(exports, "VIEWER_PREFS_STORAGE_KEY", {
|
|
78
78
|
enumerable: true,
|
|
79
|
-
get: function () { return
|
|
79
|
+
get: function () { return chunkLBMPJYAR_js.VIEWER_PREFS_STORAGE_KEY; }
|
|
80
80
|
});
|
|
81
81
|
Object.defineProperty(exports, "buildSlideTemplateContent", {
|
|
82
82
|
enumerable: true,
|
|
83
|
-
get: function () { return
|
|
83
|
+
get: function () { return chunkLBMPJYAR_js.buildSlideTemplateContent; }
|
|
84
84
|
});
|
|
85
85
|
Object.defineProperty(exports, "buildSlideTemplateSlide", {
|
|
86
86
|
enumerable: true,
|
|
87
|
-
get: function () { return
|
|
87
|
+
get: function () { return chunkLBMPJYAR_js.buildSlideTemplateSlide; }
|
|
88
88
|
});
|
|
89
89
|
Object.defineProperty(exports, "clearAllLocalViewerData", {
|
|
90
90
|
enumerable: true,
|
|
91
|
-
get: function () { return
|
|
91
|
+
get: function () { return chunkLBMPJYAR_js.clearAllLocalViewerData; }
|
|
92
92
|
});
|
|
93
93
|
Object.defineProperty(exports, "clearStoredViewerPrefs", {
|
|
94
94
|
enumerable: true,
|
|
95
|
-
get: function () { return
|
|
95
|
+
get: function () { return chunkLBMPJYAR_js.clearStoredViewerPrefs; }
|
|
96
|
+
});
|
|
97
|
+
Object.defineProperty(exports, "createImageElementFromFile", {
|
|
98
|
+
enumerable: true,
|
|
99
|
+
get: function () { return chunkLBMPJYAR_js.createImageElementFromFile; }
|
|
96
100
|
});
|
|
97
101
|
Object.defineProperty(exports, "defaultCssVars", {
|
|
98
102
|
enumerable: true,
|
|
99
|
-
get: function () { return
|
|
103
|
+
get: function () { return chunkLBMPJYAR_js.defaultCssVars; }
|
|
100
104
|
});
|
|
101
105
|
Object.defineProperty(exports, "defaultRadius", {
|
|
102
106
|
enumerable: true,
|
|
103
|
-
get: function () { return
|
|
107
|
+
get: function () { return chunkLBMPJYAR_js.defaultRadius; }
|
|
104
108
|
});
|
|
105
109
|
Object.defineProperty(exports, "defaultThemeColors", {
|
|
106
110
|
enumerable: true,
|
|
107
|
-
get: function () { return
|
|
111
|
+
get: function () { return chunkLBMPJYAR_js.defaultThemeColors; }
|
|
108
112
|
});
|
|
109
113
|
Object.defineProperty(exports, "getLocalStorageUsageSummary", {
|
|
110
114
|
enumerable: true,
|
|
111
|
-
get: function () { return
|
|
115
|
+
get: function () { return chunkLBMPJYAR_js.getLocalStorageUsageSummary; }
|
|
112
116
|
});
|
|
113
117
|
Object.defineProperty(exports, "isLegacyBinaryPresentation", {
|
|
114
118
|
enumerable: true,
|
|
115
|
-
get: function () { return
|
|
119
|
+
get: function () { return chunkLBMPJYAR_js.isLegacyBinaryPresentation; }
|
|
116
120
|
});
|
|
117
121
|
Object.defineProperty(exports, "isSupportedPresentationFile", {
|
|
118
122
|
enumerable: true,
|
|
119
|
-
get: function () { return
|
|
123
|
+
get: function () { return chunkLBMPJYAR_js.isSupportedPresentationFile; }
|
|
120
124
|
});
|
|
121
125
|
Object.defineProperty(exports, "presentationBaseName", {
|
|
122
126
|
enumerable: true,
|
|
123
|
-
get: function () { return
|
|
127
|
+
get: function () { return chunkLBMPJYAR_js.presentationBaseName; }
|
|
124
128
|
});
|
|
125
129
|
Object.defineProperty(exports, "readStoredViewerPrefs", {
|
|
126
130
|
enumerable: true,
|
|
127
|
-
get: function () { return
|
|
131
|
+
get: function () { return chunkLBMPJYAR_js.readStoredViewerPrefs; }
|
|
128
132
|
});
|
|
129
133
|
Object.defineProperty(exports, "resolveProfileInitial", {
|
|
130
134
|
enumerable: true,
|
|
131
|
-
get: function () { return
|
|
135
|
+
get: function () { return chunkLBMPJYAR_js.resolveProfileInitial; }
|
|
132
136
|
});
|
|
133
137
|
Object.defineProperty(exports, "resolveThemeCatalogEntry", {
|
|
134
138
|
enumerable: true,
|
|
135
|
-
get: function () { return
|
|
139
|
+
get: function () { return chunkLBMPJYAR_js.resolveThemeCatalogEntry; }
|
|
136
140
|
});
|
|
137
141
|
Object.defineProperty(exports, "saveViewerProfile", {
|
|
138
142
|
enumerable: true,
|
|
139
|
-
get: function () { return
|
|
143
|
+
get: function () { return chunkLBMPJYAR_js.saveViewerProfile; }
|
|
140
144
|
});
|
|
141
145
|
Object.defineProperty(exports, "savedPresentationFileName", {
|
|
142
146
|
enumerable: true,
|
|
143
|
-
get: function () { return
|
|
147
|
+
get: function () { return chunkLBMPJYAR_js.savedPresentationFileName; }
|
|
144
148
|
});
|
|
145
149
|
Object.defineProperty(exports, "themeToCssVars", {
|
|
146
150
|
enumerable: true,
|
|
147
|
-
get: function () { return
|
|
151
|
+
get: function () { return chunkLBMPJYAR_js.themeToCssVars; }
|
|
148
152
|
});
|
|
149
153
|
Object.defineProperty(exports, "vermilionDarkColors", {
|
|
150
154
|
enumerable: true,
|
|
151
|
-
get: function () { return
|
|
155
|
+
get: function () { return chunkLBMPJYAR_js.vermilionDarkColors; }
|
|
152
156
|
});
|
|
153
157
|
Object.defineProperty(exports, "vermilionDarkTheme", {
|
|
154
158
|
enumerable: true,
|
|
155
|
-
get: function () { return
|
|
159
|
+
get: function () { return chunkLBMPJYAR_js.vermilionDarkTheme; }
|
|
156
160
|
});
|
|
157
161
|
Object.defineProperty(exports, "vermilionLightColors", {
|
|
158
162
|
enumerable: true,
|
|
159
|
-
get: function () { return
|
|
163
|
+
get: function () { return chunkLBMPJYAR_js.vermilionLightColors; }
|
|
160
164
|
});
|
|
161
165
|
Object.defineProperty(exports, "vermilionLightTheme", {
|
|
162
166
|
enumerable: true,
|
|
163
|
-
get: function () { return
|
|
167
|
+
get: function () { return chunkLBMPJYAR_js.vermilionLightTheme; }
|
|
164
168
|
});
|
|
165
169
|
Object.defineProperty(exports, "vermilionRadius", {
|
|
166
170
|
enumerable: true,
|
|
167
|
-
get: function () { return
|
|
171
|
+
get: function () { return chunkLBMPJYAR_js.vermilionRadius; }
|
|
168
172
|
});
|
|
169
173
|
Object.defineProperty(exports, "writeStoredViewerPrefs", {
|
|
170
174
|
enumerable: true,
|
|
171
|
-
get: function () { return
|
|
175
|
+
get: function () { return chunkLBMPJYAR_js.writeStoredViewerPrefs; }
|
|
172
176
|
});
|
|
173
177
|
Object.defineProperty(exports, "LOCALE_CATALOG", {
|
|
174
178
|
enumerable: true,
|
|
175
|
-
get: function () { return
|
|
179
|
+
get: function () { return chunkBRJN3ZMG_js.LOCALE_CATALOG; }
|
|
176
180
|
});
|
package/dist/index.js.br
CHANGED
|
Binary file
|
package/dist/index.js.gz
CHANGED
|
Binary file
|
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { PowerPointViewer, SlideCanvas, SlideTemplateGalleryDialog, SlideTemplatePreview, Toolbar, ViewerThemeProvider, useViewerTheme } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
export { renderToCanvas, useViewerBuildingBlocks } from './chunk-
|
|
4
|
-
export { getAnimationInitialStyle } from './chunk-
|
|
5
|
-
export { AVATAR_COLOR_SWATCHES, DEFAULT_VIEWER_PROFILE, PPTX_OPEN_ACCEPT, PRESENTATION_OPEN_EXTENSIONS, SLIDE_TEMPLATES, THEME_CATALOG, VIEWER_PREFS_STORAGE_KEY, buildSlideTemplateContent, buildSlideTemplateSlide, clearAllLocalViewerData, clearStoredViewerPrefs, defaultCssVars, defaultRadius, defaultThemeColors, getLocalStorageUsageSummary, isLegacyBinaryPresentation, isSupportedPresentationFile, presentationBaseName, readStoredViewerPrefs, resolveProfileInitial, resolveThemeCatalogEntry, saveViewerProfile, savedPresentationFileName, themeToCssVars, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius, writeStoredViewerPrefs } from './chunk-
|
|
6
|
-
export { LOCALE_CATALOG } from './chunk-
|
|
1
|
+
export { PowerPointViewer, SlideCanvas, SlideTemplateGalleryDialog, SlideTemplatePreview, Toolbar, ViewerThemeProvider, useViewerTheme } from './chunk-V3BOQ52U.mjs';
|
|
2
|
+
import './chunk-4KKKJ5MJ.mjs';
|
|
3
|
+
export { renderToCanvas, useViewerBuildingBlocks } from './chunk-3R5A2E2K.mjs';
|
|
4
|
+
export { getAnimationInitialStyle } from './chunk-7VFH2FRI.mjs';
|
|
5
|
+
export { AVATAR_COLOR_SWATCHES, DEFAULT_VIEWER_PROFILE, PPTX_OPEN_ACCEPT, PRESENTATION_OPEN_EXTENSIONS, SLIDE_TEMPLATES, THEME_CATALOG, VIEWER_PREFS_STORAGE_KEY, buildSlideTemplateContent, buildSlideTemplateSlide, clearAllLocalViewerData, clearStoredViewerPrefs, createImageElementFromFile, defaultCssVars, defaultRadius, defaultThemeColors, getLocalStorageUsageSummary, isLegacyBinaryPresentation, isSupportedPresentationFile, presentationBaseName, readStoredViewerPrefs, resolveProfileInitial, resolveThemeCatalogEntry, saveViewerProfile, savedPresentationFileName, themeToCssVars, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius, writeStoredViewerPrefs } from './chunk-F552WUJN.mjs';
|
|
6
|
+
export { LOCALE_CATALOG } from './chunk-MQUTXOET.mjs';
|
|
7
7
|
import './chunk-XGB3TDIC.mjs';
|
package/dist/index.mjs.br
CHANGED
|
Binary file
|
package/dist/index.mjs.gz
CHANGED
|
Binary file
|