pptx-react-viewer 4.15.0 → 4.16.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-7OVUGUKW.mjs → AiChatPanel-5Z4BYP7S.mjs} +3 -3
- package/dist/AiChatPanel-5Z4BYP7S.mjs.br +0 -0
- package/dist/AiChatPanel-5Z4BYP7S.mjs.gz +0 -0
- package/dist/{AiChatPanel-CDQWJTWL.js → AiChatPanel-DHLJ6LKF.js} +27 -27
- package/dist/AiChatPanel-DHLJ6LKF.js.br +0 -0
- package/dist/AiChatPanel-DHLJ6LKF.js.gz +0 -0
- package/dist/{Model3DScene-OLGB7Z7Q.js → Model3DScene-AXT5KCUX.js} +2 -2
- package/dist/{Model3DScene-OLGB7Z7Q.js.br → Model3DScene-AXT5KCUX.js.br} +0 -0
- package/dist/Model3DScene-AXT5KCUX.js.gz +0 -0
- package/dist/{Model3DScene-A3CPMFAO.mjs → Model3DScene-N36X5Z2Z.mjs} +1 -1
- package/dist/{Model3DScene-A3CPMFAO.mjs.br → Model3DScene-N36X5Z2Z.mjs.br} +0 -0
- package/dist/Model3DScene-N36X5Z2Z.mjs.gz +0 -0
- package/dist/{chunk-RQCAXUVQ.mjs → chunk-BTTAYCGK.mjs} +568 -856
- package/dist/chunk-BTTAYCGK.mjs.br +0 -0
- package/dist/chunk-BTTAYCGK.mjs.gz +0 -0
- package/dist/{chunk-HGO243GV.js → chunk-BZNYI5U6.js} +854 -810
- package/dist/chunk-BZNYI5U6.js.br +0 -0
- package/dist/chunk-BZNYI5U6.js.gz +0 -0
- package/dist/{chunk-UP6PJEHM.js → chunk-FVLBN45Z.js} +5 -5
- package/dist/chunk-FVLBN45Z.js.br +0 -0
- package/dist/chunk-FVLBN45Z.js.gz +0 -0
- package/dist/{chunk-Q5VQ53R3.mjs → chunk-MFGRRONU.mjs} +1 -1
- package/dist/chunk-MFGRRONU.mjs.br +0 -0
- package/dist/chunk-MFGRRONU.mjs.gz +0 -0
- package/dist/{chunk-AIWEM7VE.mjs → chunk-MJ6LTUJ3.mjs} +1127 -29
- package/dist/chunk-MJ6LTUJ3.mjs.br +0 -0
- package/dist/{chunk-AIWEM7VE.mjs.gz → chunk-MJ6LTUJ3.mjs.gz} +0 -0
- package/dist/{chunk-CNXVOFUW.js → chunk-QAVJDYB2.js} +187 -187
- package/dist/chunk-QAVJDYB2.js.br +0 -0
- package/dist/chunk-QAVJDYB2.js.gz +0 -0
- package/dist/{chunk-DNWIW75I.mjs → chunk-QLUA63T3.mjs} +51 -7
- package/dist/chunk-QLUA63T3.mjs.br +0 -0
- package/dist/chunk-QLUA63T3.mjs.gz +0 -0
- package/dist/{chunk-6ZPXMS64.js → chunk-UVK2WBCU.js} +1726 -2014
- package/dist/chunk-UVK2WBCU.js.br +0 -0
- package/dist/chunk-UVK2WBCU.js.gz +0 -0
- package/dist/{chunk-AHJ4ND7Q.mjs → chunk-WRQ7K3DG.mjs} +1 -1
- package/dist/chunk-WRQ7K3DG.mjs.br +0 -0
- package/dist/chunk-WRQ7K3DG.mjs.gz +0 -0
- package/dist/{chunk-2CSRCH4H.js → chunk-XZUIS3VB.js} +1134 -32
- package/dist/chunk-XZUIS3VB.js.br +0 -0
- package/dist/{chunk-2CSRCH4H.js.gz → chunk-XZUIS3VB.js.gz} +0 -0
- package/dist/i18n/de.cjs +3 -0
- package/dist/i18n/de.cjs.br +0 -0
- package/dist/i18n/de.cjs.gz +0 -0
- package/dist/i18n/de.mjs +3 -0
- package/dist/i18n/de.mjs.br +0 -0
- package/dist/i18n/de.mjs.gz +0 -0
- package/dist/i18n/es.cjs +3 -0
- package/dist/i18n/es.cjs.br +0 -0
- package/dist/i18n/es.cjs.gz +0 -0
- package/dist/i18n/es.mjs +3 -0
- package/dist/i18n/es.mjs.br +0 -0
- package/dist/i18n/es.mjs.gz +0 -0
- package/dist/i18n/fr.cjs +3 -0
- package/dist/i18n/fr.cjs.br +0 -0
- package/dist/i18n/fr.cjs.gz +0 -0
- package/dist/i18n/fr.mjs +3 -0
- package/dist/i18n/fr.mjs.br +0 -0
- package/dist/i18n/fr.mjs.gz +0 -0
- package/dist/i18n/zh-CN.cjs +3 -0
- package/dist/i18n/zh-CN.cjs.br +0 -0
- package/dist/i18n/zh-CN.cjs.gz +0 -0
- package/dist/i18n/zh-CN.mjs +3 -0
- package/dist/i18n/zh-CN.mjs.br +0 -0
- package/dist/i18n/zh-CN.mjs.gz +0 -0
- package/dist/index.d.ts +38 -1
- package/dist/index.js +61 -61
- package/dist/index.js.br +0 -0
- package/dist/index.js.gz +0 -0
- package/dist/index.mjs +5 -5
- package/dist/index.mjs.br +0 -0
- package/dist/index.mjs.gz +0 -0
- package/dist/internals.d.ts +45 -0
- package/dist/internals.js +104 -104
- package/dist/internals.js.br +0 -0
- package/dist/internals.js.gz +0 -0
- package/dist/internals.mjs +3 -3
- package/dist/internals.mjs.br +0 -0
- package/dist/internals.mjs.gz +0 -0
- package/dist/pptx-viewer.css +1 -1
- package/dist/pptx-viewer.css.br +0 -0
- package/dist/pptx-viewer.css.gz +0 -0
- package/dist/viewer/index.d.ts +35 -0
- package/dist/viewer/index.js +26 -26
- package/dist/viewer/index.js.br +0 -0
- package/dist/viewer/index.js.gz +0 -0
- package/dist/viewer/index.mjs +5 -5
- package/dist/viewer/index.mjs.br +0 -0
- package/dist/viewer/index.mjs.gz +0 -0
- package/package.json +2 -2
- package/dist/AiChatPanel-7OVUGUKW.mjs.br +0 -0
- package/dist/AiChatPanel-7OVUGUKW.mjs.gz +0 -0
- package/dist/AiChatPanel-CDQWJTWL.js.br +0 -0
- package/dist/AiChatPanel-CDQWJTWL.js.gz +0 -0
- package/dist/Model3DScene-A3CPMFAO.mjs.gz +0 -0
- package/dist/Model3DScene-OLGB7Z7Q.js.gz +0 -0
- package/dist/chunk-2CSRCH4H.js.br +0 -0
- package/dist/chunk-6ZPXMS64.js.br +0 -0
- package/dist/chunk-6ZPXMS64.js.gz +0 -0
- package/dist/chunk-AHJ4ND7Q.mjs.br +0 -0
- package/dist/chunk-AHJ4ND7Q.mjs.gz +0 -0
- package/dist/chunk-AIWEM7VE.mjs.br +0 -0
- package/dist/chunk-CNXVOFUW.js.br +0 -0
- package/dist/chunk-CNXVOFUW.js.gz +0 -0
- package/dist/chunk-DNWIW75I.mjs.br +0 -0
- package/dist/chunk-DNWIW75I.mjs.gz +0 -0
- package/dist/chunk-HGO243GV.js.br +0 -0
- package/dist/chunk-HGO243GV.js.gz +0 -0
- package/dist/chunk-Q5VQ53R3.mjs.br +0 -0
- package/dist/chunk-Q5VQ53R3.mjs.gz +0 -0
- package/dist/chunk-RQCAXUVQ.mjs.br +0 -0
- package/dist/chunk-RQCAXUVQ.mjs.gz +0 -0
- package/dist/chunk-UP6PJEHM.js.br +0 -0
- package/dist/chunk-UP6PJEHM.js.gz +0 -0
|
Binary file
|
|
Binary file
|
package/dist/i18n/de.cjs
CHANGED
|
@@ -2773,6 +2773,9 @@ var translations16 = {
|
|
|
2773
2773
|
"pptx.slideShow.useTimings": "Gespeicherte Zeitabl\xE4ufe verwenden",
|
|
2774
2774
|
"pptx.subtitles.listening": "H\xF6ren\u2026",
|
|
2775
2775
|
"pptx.subtitles.notSupported": "Untertitel werden in diesem Browser nicht unterst\xFCtzt.",
|
|
2776
|
+
"pptx.subtitles.spokenLanguage": "Gesprochene Sprache",
|
|
2777
|
+
"pptx.subtitles.browserLanguage": "Browsersprache",
|
|
2778
|
+
"pptx.subtitles.settingsDescription": "W\xE4hlen Sie die Sprache, in der Sie sprechen. Die Untertitel verwenden die Spracherkennung des Browsers; eine \xDCbersetzung ist nicht verf\xFCgbar.",
|
|
2776
2779
|
"pptx.transition.advanceOnClick": "Vorw\xE4rts per Klick",
|
|
2777
2780
|
"pptx.transition.direction": "Richtung",
|
|
2778
2781
|
"pptx.transition.orientation": "Orientierung",
|
package/dist/i18n/de.cjs.br
CHANGED
|
Binary file
|
package/dist/i18n/de.cjs.gz
CHANGED
|
Binary file
|
package/dist/i18n/de.mjs
CHANGED
|
@@ -2747,6 +2747,9 @@ var translations16 = {
|
|
|
2747
2747
|
"pptx.slideShow.useTimings": "Gespeicherte Zeitabl\xE4ufe verwenden",
|
|
2748
2748
|
"pptx.subtitles.listening": "H\xF6ren\u2026",
|
|
2749
2749
|
"pptx.subtitles.notSupported": "Untertitel werden in diesem Browser nicht unterst\xFCtzt.",
|
|
2750
|
+
"pptx.subtitles.spokenLanguage": "Gesprochene Sprache",
|
|
2751
|
+
"pptx.subtitles.browserLanguage": "Browsersprache",
|
|
2752
|
+
"pptx.subtitles.settingsDescription": "W\xE4hlen Sie die Sprache, in der Sie sprechen. Die Untertitel verwenden die Spracherkennung des Browsers; eine \xDCbersetzung ist nicht verf\xFCgbar.",
|
|
2750
2753
|
"pptx.transition.advanceOnClick": "Vorw\xE4rts per Klick",
|
|
2751
2754
|
"pptx.transition.direction": "Richtung",
|
|
2752
2755
|
"pptx.transition.orientation": "Orientierung",
|
package/dist/i18n/de.mjs.br
CHANGED
|
Binary file
|
package/dist/i18n/de.mjs.gz
CHANGED
|
Binary file
|
package/dist/i18n/es.cjs
CHANGED
|
@@ -2773,6 +2773,9 @@ var translations16 = {
|
|
|
2773
2773
|
"pptx.slideShow.useTimings": "Usar tiempos, si est\xE1n presentes",
|
|
2774
2774
|
"pptx.subtitles.listening": "Escuchando\u2026",
|
|
2775
2775
|
"pptx.subtitles.notSupported": "Los subt\xEDtulos no son compatibles con este navegador.",
|
|
2776
|
+
"pptx.subtitles.spokenLanguage": "Idioma hablado",
|
|
2777
|
+
"pptx.subtitles.browserLanguage": "Idioma del navegador",
|
|
2778
|
+
"pptx.subtitles.settingsDescription": "Elige el idioma en el que hablar\xE1s. Los subt\xEDtulos usan el reconocimiento de voz del navegador; la traducci\xF3n no est\xE1 disponible.",
|
|
2776
2779
|
"pptx.transition.advanceOnClick": "Avanzar al hacer clic",
|
|
2777
2780
|
"pptx.transition.direction": "Direcci\xF3n",
|
|
2778
2781
|
"pptx.transition.orientation": "Orientaci\xF3n",
|
package/dist/i18n/es.cjs.br
CHANGED
|
Binary file
|
package/dist/i18n/es.cjs.gz
CHANGED
|
Binary file
|
package/dist/i18n/es.mjs
CHANGED
|
@@ -2747,6 +2747,9 @@ var translations16 = {
|
|
|
2747
2747
|
"pptx.slideShow.useTimings": "Usar tiempos, si est\xE1n presentes",
|
|
2748
2748
|
"pptx.subtitles.listening": "Escuchando\u2026",
|
|
2749
2749
|
"pptx.subtitles.notSupported": "Los subt\xEDtulos no son compatibles con este navegador.",
|
|
2750
|
+
"pptx.subtitles.spokenLanguage": "Idioma hablado",
|
|
2751
|
+
"pptx.subtitles.browserLanguage": "Idioma del navegador",
|
|
2752
|
+
"pptx.subtitles.settingsDescription": "Elige el idioma en el que hablar\xE1s. Los subt\xEDtulos usan el reconocimiento de voz del navegador; la traducci\xF3n no est\xE1 disponible.",
|
|
2750
2753
|
"pptx.transition.advanceOnClick": "Avanzar al hacer clic",
|
|
2751
2754
|
"pptx.transition.direction": "Direcci\xF3n",
|
|
2752
2755
|
"pptx.transition.orientation": "Orientaci\xF3n",
|
package/dist/i18n/es.mjs.br
CHANGED
|
Binary file
|
package/dist/i18n/es.mjs.gz
CHANGED
|
Binary file
|
package/dist/i18n/fr.cjs
CHANGED
|
@@ -2773,6 +2773,9 @@ var translations16 = {
|
|
|
2773
2773
|
"pptx.slideShow.useTimings": "Utilisation des timings, le cas \xE9ch\xE9ant",
|
|
2774
2774
|
"pptx.subtitles.listening": "\xC9coute\u2026",
|
|
2775
2775
|
"pptx.subtitles.notSupported": "Les sous-titres ne sont pas pris en charge dans ce navigateur.",
|
|
2776
|
+
"pptx.subtitles.spokenLanguage": "Langue parl\xE9e",
|
|
2777
|
+
"pptx.subtitles.browserLanguage": "Langue du navigateur",
|
|
2778
|
+
"pptx.subtitles.settingsDescription": "Choisissez la langue dans laquelle vous parlerez. Les sous-titres utilisent la reconnaissance vocale du navigateur ; la traduction est indisponible.",
|
|
2776
2779
|
"pptx.transition.advanceOnClick": "Avancer au clic",
|
|
2777
2780
|
"pptx.transition.direction": "Direction",
|
|
2778
2781
|
"pptx.transition.orientation": "Orientation",
|
package/dist/i18n/fr.cjs.br
CHANGED
|
Binary file
|
package/dist/i18n/fr.cjs.gz
CHANGED
|
Binary file
|
package/dist/i18n/fr.mjs
CHANGED
|
@@ -2747,6 +2747,9 @@ var translations16 = {
|
|
|
2747
2747
|
"pptx.slideShow.useTimings": "Utilisation des timings, le cas \xE9ch\xE9ant",
|
|
2748
2748
|
"pptx.subtitles.listening": "\xC9coute\u2026",
|
|
2749
2749
|
"pptx.subtitles.notSupported": "Les sous-titres ne sont pas pris en charge dans ce navigateur.",
|
|
2750
|
+
"pptx.subtitles.spokenLanguage": "Langue parl\xE9e",
|
|
2751
|
+
"pptx.subtitles.browserLanguage": "Langue du navigateur",
|
|
2752
|
+
"pptx.subtitles.settingsDescription": "Choisissez la langue dans laquelle vous parlerez. Les sous-titres utilisent la reconnaissance vocale du navigateur ; la traduction est indisponible.",
|
|
2750
2753
|
"pptx.transition.advanceOnClick": "Avancer au clic",
|
|
2751
2754
|
"pptx.transition.direction": "Direction",
|
|
2752
2755
|
"pptx.transition.orientation": "Orientation",
|
package/dist/i18n/fr.mjs.br
CHANGED
|
Binary file
|
package/dist/i18n/fr.mjs.gz
CHANGED
|
Binary file
|
package/dist/i18n/zh-CN.cjs
CHANGED
|
@@ -2790,6 +2790,9 @@ var translations21 = {
|
|
|
2790
2790
|
"pptx.slideShow.useTimings": "\u4F7F\u7528\u8BA1\u65F6\uFF08\u5982\u679C\u5B58\u5728\uFF09",
|
|
2791
2791
|
"pptx.subtitles.listening": "\u6B63\u5728\u8046\u542C\u2026",
|
|
2792
2792
|
"pptx.subtitles.notSupported": "\u6B64\u6D4F\u89C8\u5668\u4E0D\u652F\u6301\u5B57\u5E55\u3002",
|
|
2793
|
+
"pptx.subtitles.spokenLanguage": "\u8BB2\u8BDD\u8BED\u8A00",
|
|
2794
|
+
"pptx.subtitles.browserLanguage": "\u6D4F\u89C8\u5668\u8BED\u8A00",
|
|
2795
|
+
"pptx.subtitles.settingsDescription": "\u9009\u62E9\u60A8\u8BB2\u8BDD\u65F6\u4F7F\u7528\u7684\u8BED\u8A00\u3002\u5B57\u5E55\u4F7F\u7528\u6D4F\u89C8\u5668\u7684\u8BED\u97F3\u8BC6\u522B\u529F\u80FD\uFF0C\u4E0D\u652F\u6301\u7FFB\u8BD1\u3002",
|
|
2793
2796
|
"pptx.transition.advanceOnClick": "\u5355\u51FB\u65F6\u6362\u7247",
|
|
2794
2797
|
"pptx.transition.direction": "\u65B9\u5411",
|
|
2795
2798
|
"pptx.transition.orientation": "\u65B9\u5411",
|
package/dist/i18n/zh-CN.cjs.br
CHANGED
|
Binary file
|
package/dist/i18n/zh-CN.cjs.gz
CHANGED
|
Binary file
|
package/dist/i18n/zh-CN.mjs
CHANGED
|
@@ -2764,6 +2764,9 @@ var translations21 = {
|
|
|
2764
2764
|
"pptx.slideShow.useTimings": "\u4F7F\u7528\u8BA1\u65F6\uFF08\u5982\u679C\u5B58\u5728\uFF09",
|
|
2765
2765
|
"pptx.subtitles.listening": "\u6B63\u5728\u8046\u542C\u2026",
|
|
2766
2766
|
"pptx.subtitles.notSupported": "\u6B64\u6D4F\u89C8\u5668\u4E0D\u652F\u6301\u5B57\u5E55\u3002",
|
|
2767
|
+
"pptx.subtitles.spokenLanguage": "\u8BB2\u8BDD\u8BED\u8A00",
|
|
2768
|
+
"pptx.subtitles.browserLanguage": "\u6D4F\u89C8\u5668\u8BED\u8A00",
|
|
2769
|
+
"pptx.subtitles.settingsDescription": "\u9009\u62E9\u60A8\u8BB2\u8BDD\u65F6\u4F7F\u7528\u7684\u8BED\u8A00\u3002\u5B57\u5E55\u4F7F\u7528\u6D4F\u89C8\u5668\u7684\u8BED\u97F3\u8BC6\u522B\u529F\u80FD\uFF0C\u4E0D\u652F\u6301\u7FFB\u8BD1\u3002",
|
|
2767
2770
|
"pptx.transition.advanceOnClick": "\u5355\u51FB\u65F6\u6362\u7247",
|
|
2768
2771
|
"pptx.transition.direction": "\u65B9\u5411",
|
|
2769
2772
|
"pptx.transition.orientation": "\u65B9\u5411",
|
package/dist/i18n/zh-CN.mjs.br
CHANGED
|
Binary file
|
package/dist/i18n/zh-CN.mjs.gz
CHANGED
|
Binary file
|
package/dist/index.d.ts
CHANGED
|
@@ -13751,6 +13751,25 @@ type StoredViewerOptions = { [G in ViewerOptionsGroupId]?: Partial<ViewerOptions
|
|
|
13751
13751
|
*/
|
|
13752
13752
|
type ViewerOptionsTabId = 'general' | 'proofing' | 'save' | 'language' | 'accessibility' | 'advanced' | 'ribbon' | 'quickAccess' | 'addIns' | 'trust';
|
|
13753
13753
|
//#endregion
|
|
13754
|
+
//#region src/render/customization/host-menu-commands.d.ts
|
|
13755
|
+
/** Snapshot of the slide on which the host command was offered. */
|
|
13756
|
+
interface HostCanvasMenuContext {
|
|
13757
|
+
slideIndex: number;
|
|
13758
|
+
}
|
|
13759
|
+
/** Effective selection, including a single right-clicked element. */
|
|
13760
|
+
interface HostElementMenuContext extends HostCanvasMenuContext {
|
|
13761
|
+
elementIds: readonly string[];
|
|
13762
|
+
}
|
|
13763
|
+
/** Plain text labels work identically in every framework. */
|
|
13764
|
+
interface HostMenuCommand<C> {
|
|
13765
|
+
id: string;
|
|
13766
|
+
label: string;
|
|
13767
|
+
/** Default: a separate group above the built-in commands. */
|
|
13768
|
+
group?: 'top' | 'bottom';
|
|
13769
|
+
disabled?: boolean | ((context: C) => boolean);
|
|
13770
|
+
onSelect: (context: C) => void;
|
|
13771
|
+
}
|
|
13772
|
+
//#endregion
|
|
13754
13773
|
//#region src/render/customization/ribbon-control-catalog.d.ts
|
|
13755
13774
|
declare const RIBBON_CONTROL_CATALOG: {
|
|
13756
13775
|
readonly home: {
|
|
@@ -14332,6 +14351,9 @@ interface BackstageCustomization {
|
|
|
14332
14351
|
}
|
|
14333
14352
|
/** Right-click menu customisation. */
|
|
14334
14353
|
interface ContextMenuCustomization {
|
|
14354
|
+
/** Additional host commands, independent of the viewer's AI connection. */
|
|
14355
|
+
extraElementCommands?: readonly HostMenuCommand<HostElementMenuContext>[];
|
|
14356
|
+
extraCanvasCommands?: readonly HostMenuCommand<HostCanvasMenuContext>[];
|
|
14335
14357
|
/** Entries to remove from the element (right-click on a shape) menu. */
|
|
14336
14358
|
hiddenElementCommands?: readonly ContextMenuCommandId[];
|
|
14337
14359
|
/** Entries to remove from the empty-canvas menu. */
|
|
@@ -14453,6 +14475,8 @@ interface ResolvedCustomization {
|
|
|
14453
14475
|
hiddenBackstagePages: ReadonlySet<BackstagePage>;
|
|
14454
14476
|
hiddenBackstageCards: ReadonlySet<BackstageCardId>;
|
|
14455
14477
|
hiddenElementCommands: ReadonlySet<ContextMenuCommandId>;
|
|
14478
|
+
extraElementCommands: NonNullable<ViewerCustomization['contextMenu']>['extraElementCommands'];
|
|
14479
|
+
extraCanvasCommands: NonNullable<ViewerCustomization['contextMenu']>['extraCanvasCommands'];
|
|
14456
14480
|
hiddenCanvasCommands: ReadonlySet<CanvasContextMenuCommandId>;
|
|
14457
14481
|
hiddenEditPointsCommands: ReadonlySet<EditPointsCommandId>;
|
|
14458
14482
|
hiddenDrawingTools: ReadonlySet<ViewerDrawingToolId>;
|
|
@@ -14772,6 +14796,19 @@ interface ViewportFitOptions {
|
|
|
14772
14796
|
}
|
|
14773
14797
|
/** The element fields an Edit Points commit writes. */
|
|
14774
14798
|
type EditPointsElementPatch = Pick<ShapePptxElement, 'x' | 'y' | 'width' | 'height' | 'shapeType' | 'shapeAdjustments' | 'pathData' | 'pathWidth' | 'pathHeight' | 'customGeometryPaths' | 'customGeometryRawData' | 'customGeometryAdjustHandlesXY' | 'customGeometryAdjustHandlesPolar' | 'customGeometryConnectionSites' | 'customGeometryTextRect'>;
|
|
14799
|
+
type ThemeEditorLabels = Record<string, string>;
|
|
14800
|
+
//#endregion
|
|
14801
|
+
//#region src/web-components/theme-editor.d.ts
|
|
14802
|
+
interface PptxUiThemeEditorElement extends HTMLElement {
|
|
14803
|
+
theme: PptxTheme | undefined;
|
|
14804
|
+
labels: ThemeEditorLabels;
|
|
14805
|
+
disabled: boolean;
|
|
14806
|
+
}
|
|
14807
|
+
declare global {
|
|
14808
|
+
interface HTMLElementTagNameMap {
|
|
14809
|
+
'pptx-ui-theme-editor': PptxUiThemeEditorElement;
|
|
14810
|
+
}
|
|
14811
|
+
}
|
|
14775
14812
|
//#endregion
|
|
14776
14813
|
//#region src/web-components/subtitle-settings.d.ts
|
|
14777
14814
|
interface PptxUiSubtitleSettingsElement extends HTMLElement {
|
|
@@ -16016,4 +16053,4 @@ declare function SlideTemplatePreview({ templateId, scheme }: SlideTemplatePrevi
|
|
|
16016
16053
|
declare function renderToCanvas(element: HTMLElement, options?: Partial<Options>): Promise<HTMLCanvasElement>;
|
|
16017
16054
|
|
|
16018
16055
|
export { AVATAR_COLOR_SWATCHES, BACKSTAGE_CARD_IDS, BACKSTAGE_PAGE_IDS, CANVAS_CONTEXT_MENU_COMMAND_IDS, DEFAULT_VIEWER_PROFILE, EDITOR_SHORTCUT_ACTION_IDS, ELEMENT_CONTEXT_MENU_COMMAND_IDS, LOCALE_CATALOG, OPTIONS_PAGE_IDS, OPTIONS_SECTION_IDS, OPTIONS_SETTING_IDS, PPTX_OPEN_ACCEPT, PRESENTATION_OPEN_EXTENSIONS, PowerPointViewer, RIBBON_TAB_IDS, SLIDE_TEMPLATES, SlideCanvas, SlideTemplateGalleryDialog, SlideTemplatePreview, THEME_CATALOG, TOOLBAR_BUTTON_IDS, Toolbar, VIEWER_DIALOG_IDS, VIEWER_EXPORT_FORMAT_IDS, VIEWER_FEATURE_IDS, VIEWER_PANEL_IDS, VIEWER_PREFS_STORAGE_KEY, ViewerThemeProvider, buildSlideTemplateContent, buildSlideTemplateSlide, clearAllLocalViewerData, clearStoredViewerPrefs, createImageElementFromFile, defaultCssVars, defaultRadius, defaultThemeColors, describeCollaborationShellState, getAnimationInitialStyle, getLocalStorageUsageSummary, isLegacyBinaryPresentation, isSupportedPresentationFile, presentationBaseName, readStoredViewerPrefs, renderToCanvas, resolveProfileInitial, resolveThemeCatalogEntry, saveViewerProfile, savedPresentationFileName, themeToCssVars, useViewerBuildingBlocks, useViewerTheme, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius, writeStoredViewerPrefs };
|
|
16019
|
-
export type { AccountAuthConfig, BackstageCustomization, CollaborationConfig, CollaborationContextValue, CollaborationShellState, ContextMenuCustomization, ElementUpdate, ElementUpdateOptions, ExternalCollaborationAwareness, ExternalCollaborationSession, ExternalCollaborationSnapshot, KeyboardCustomization, LocalStorageUsageSummary, LocaleCatalogEntry, OptionsCustomization, OptionsPageId, OptionsSectionId, OptionsSettingId, OptionsSettingValues, PowerPointViewerAPI, PowerPointViewerHandle, PowerPointViewerProps, PptxAiBridge, PptxAiConfig, PptxAiConnection, PptxAiContextStrategy, PptxAiToolName, PptxAiWritePolicy, ResolvedCustomization, RibbonCustomization, SavedPresentationFormat, ShortcutChord, SlideCanvasProps, SlideTemplateGalleryDialogProps, SlideTemplateId, SlideTemplatePreviewProps, SlideTemplateSpec, StoredViewerPrefs, ThemeCatalogEntry, ToolbarActionId, ToolbarButtonId, ToolbarProps, ToolbarTabId, UseViewerBuildingBlocksInput, ViewerBuildingBlocksResult, ViewerCustomization, ViewerCustomizationApi, ViewerDialogId, ViewerExportFormatId, ViewerFeatureId, ViewerMode, ViewerPanelId, ViewerProfile, ViewerTheme, ViewerThemeColors, ViewportFitOptions, ViewportFitPadding };
|
|
16056
|
+
export type { AccountAuthConfig, BackstageCustomization, CollaborationConfig, CollaborationContextValue, CollaborationShellState, ContextMenuCustomization, ElementUpdate, ElementUpdateOptions, ExternalCollaborationAwareness, ExternalCollaborationSession, ExternalCollaborationSnapshot, HostCanvasMenuContext, HostElementMenuContext, HostMenuCommand, KeyboardCustomization, LocalStorageUsageSummary, LocaleCatalogEntry, OptionsCustomization, OptionsPageId, OptionsSectionId, OptionsSettingId, OptionsSettingValues, PowerPointViewerAPI, PowerPointViewerHandle, PowerPointViewerProps, PptxAiBridge, PptxAiConfig, PptxAiConnection, PptxAiContextStrategy, PptxAiToolName, PptxAiWritePolicy, ResolvedCustomization, RibbonCustomization, SavedPresentationFormat, ShortcutChord, SlideCanvasProps, SlideTemplateGalleryDialogProps, SlideTemplateId, SlideTemplatePreviewProps, SlideTemplateSpec, StoredViewerPrefs, ThemeCatalogEntry, ToolbarActionId, ToolbarButtonId, ToolbarProps, ToolbarTabId, UseViewerBuildingBlocksInput, ViewerBuildingBlocksResult, ViewerCustomization, ViewerCustomizationApi, ViewerDialogId, ViewerExportFormatId, ViewerFeatureId, ViewerMode, ViewerPanelId, ViewerProfile, ViewerTheme, ViewerThemeColors, ViewportFitOptions, ViewportFitPadding };
|
package/dist/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
3
|
+
var chunkUVK2WBCU_js = require('./chunk-UVK2WBCU.js');
|
|
4
|
+
require('./chunk-FVLBN45Z.js');
|
|
5
|
+
var chunkBZNYI5U6_js = require('./chunk-BZNYI5U6.js');
|
|
6
|
+
var chunkQAVJDYB2_js = require('./chunk-QAVJDYB2.js');
|
|
7
|
+
var chunkXZUIS3VB_js = require('./chunk-XZUIS3VB.js');
|
|
8
8
|
var chunkXEYB25ZT_js = require('./chunk-XEYB25ZT.js');
|
|
9
9
|
require('./chunk-4VNS5WPM.js');
|
|
10
10
|
|
|
@@ -12,227 +12,227 @@ require('./chunk-4VNS5WPM.js');
|
|
|
12
12
|
|
|
13
13
|
Object.defineProperty(exports, "PowerPointViewer", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkUVK2WBCU_js.PowerPointViewer; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "SlideCanvas", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkUVK2WBCU_js.SlideCanvas; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "SlideTemplateGalleryDialog", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkUVK2WBCU_js.SlideTemplateGalleryDialog; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "SlideTemplatePreview", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkUVK2WBCU_js.SlideTemplatePreview; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "Toolbar", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkUVK2WBCU_js.Toolbar; }
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "ViewerThemeProvider", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunkUVK2WBCU_js.ViewerThemeProvider; }
|
|
36
36
|
});
|
|
37
37
|
Object.defineProperty(exports, "useViewerTheme", {
|
|
38
38
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunkUVK2WBCU_js.useViewerTheme; }
|
|
40
40
|
});
|
|
41
41
|
Object.defineProperty(exports, "renderToCanvas", {
|
|
42
42
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunkBZNYI5U6_js.renderToCanvas; }
|
|
44
44
|
});
|
|
45
45
|
Object.defineProperty(exports, "useViewerBuildingBlocks", {
|
|
46
46
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunkBZNYI5U6_js.useViewerBuildingBlocks; }
|
|
48
48
|
});
|
|
49
49
|
Object.defineProperty(exports, "getAnimationInitialStyle", {
|
|
50
50
|
enumerable: true,
|
|
51
|
-
get: function () { return
|
|
51
|
+
get: function () { return chunkQAVJDYB2_js.getAnimationInitialStyle; }
|
|
52
52
|
});
|
|
53
53
|
Object.defineProperty(exports, "AVATAR_COLOR_SWATCHES", {
|
|
54
54
|
enumerable: true,
|
|
55
|
-
get: function () { return
|
|
55
|
+
get: function () { return chunkXZUIS3VB_js.AVATAR_COLOR_SWATCHES; }
|
|
56
56
|
});
|
|
57
57
|
Object.defineProperty(exports, "BACKSTAGE_CARD_IDS", {
|
|
58
58
|
enumerable: true,
|
|
59
|
-
get: function () { return
|
|
59
|
+
get: function () { return chunkXZUIS3VB_js.BACKSTAGE_CARD_IDS; }
|
|
60
60
|
});
|
|
61
61
|
Object.defineProperty(exports, "BACKSTAGE_PAGE_IDS", {
|
|
62
62
|
enumerable: true,
|
|
63
|
-
get: function () { return
|
|
63
|
+
get: function () { return chunkXZUIS3VB_js.BACKSTAGE_PAGE_IDS; }
|
|
64
64
|
});
|
|
65
65
|
Object.defineProperty(exports, "CANVAS_CONTEXT_MENU_COMMAND_IDS", {
|
|
66
66
|
enumerable: true,
|
|
67
|
-
get: function () { return
|
|
67
|
+
get: function () { return chunkXZUIS3VB_js.CANVAS_CONTEXT_MENU_COMMAND_IDS; }
|
|
68
68
|
});
|
|
69
69
|
Object.defineProperty(exports, "DEFAULT_VIEWER_PROFILE", {
|
|
70
70
|
enumerable: true,
|
|
71
|
-
get: function () { return
|
|
71
|
+
get: function () { return chunkXZUIS3VB_js.DEFAULT_VIEWER_PROFILE; }
|
|
72
72
|
});
|
|
73
73
|
Object.defineProperty(exports, "EDITOR_SHORTCUT_ACTION_IDS", {
|
|
74
74
|
enumerable: true,
|
|
75
|
-
get: function () { return
|
|
75
|
+
get: function () { return chunkXZUIS3VB_js.EDITOR_SHORTCUT_ACTION_IDS; }
|
|
76
76
|
});
|
|
77
77
|
Object.defineProperty(exports, "ELEMENT_CONTEXT_MENU_COMMAND_IDS", {
|
|
78
78
|
enumerable: true,
|
|
79
|
-
get: function () { return
|
|
79
|
+
get: function () { return chunkXZUIS3VB_js.ELEMENT_CONTEXT_MENU_COMMAND_IDS; }
|
|
80
80
|
});
|
|
81
81
|
Object.defineProperty(exports, "OPTIONS_PAGE_IDS", {
|
|
82
82
|
enumerable: true,
|
|
83
|
-
get: function () { return
|
|
83
|
+
get: function () { return chunkXZUIS3VB_js.OPTIONS_PAGE_IDS; }
|
|
84
84
|
});
|
|
85
85
|
Object.defineProperty(exports, "OPTIONS_SECTION_IDS", {
|
|
86
86
|
enumerable: true,
|
|
87
|
-
get: function () { return
|
|
87
|
+
get: function () { return chunkXZUIS3VB_js.OPTIONS_SECTION_IDS; }
|
|
88
88
|
});
|
|
89
89
|
Object.defineProperty(exports, "OPTIONS_SETTING_IDS", {
|
|
90
90
|
enumerable: true,
|
|
91
|
-
get: function () { return
|
|
91
|
+
get: function () { return chunkXZUIS3VB_js.OPTIONS_SETTING_IDS; }
|
|
92
92
|
});
|
|
93
93
|
Object.defineProperty(exports, "PPTX_OPEN_ACCEPT", {
|
|
94
94
|
enumerable: true,
|
|
95
|
-
get: function () { return
|
|
95
|
+
get: function () { return chunkXZUIS3VB_js.PPTX_OPEN_ACCEPT; }
|
|
96
96
|
});
|
|
97
97
|
Object.defineProperty(exports, "PRESENTATION_OPEN_EXTENSIONS", {
|
|
98
98
|
enumerable: true,
|
|
99
|
-
get: function () { return
|
|
99
|
+
get: function () { return chunkXZUIS3VB_js.PRESENTATION_OPEN_EXTENSIONS; }
|
|
100
100
|
});
|
|
101
101
|
Object.defineProperty(exports, "RIBBON_TAB_IDS", {
|
|
102
102
|
enumerable: true,
|
|
103
|
-
get: function () { return
|
|
103
|
+
get: function () { return chunkXZUIS3VB_js.RIBBON_TAB_IDS; }
|
|
104
104
|
});
|
|
105
105
|
Object.defineProperty(exports, "SLIDE_TEMPLATES", {
|
|
106
106
|
enumerable: true,
|
|
107
|
-
get: function () { return
|
|
107
|
+
get: function () { return chunkXZUIS3VB_js.SLIDE_TEMPLATES; }
|
|
108
108
|
});
|
|
109
109
|
Object.defineProperty(exports, "THEME_CATALOG", {
|
|
110
110
|
enumerable: true,
|
|
111
|
-
get: function () { return
|
|
111
|
+
get: function () { return chunkXZUIS3VB_js.THEME_CATALOG; }
|
|
112
112
|
});
|
|
113
113
|
Object.defineProperty(exports, "TOOLBAR_BUTTON_IDS", {
|
|
114
114
|
enumerable: true,
|
|
115
|
-
get: function () { return
|
|
115
|
+
get: function () { return chunkXZUIS3VB_js.TOOLBAR_BUTTON_IDS; }
|
|
116
116
|
});
|
|
117
117
|
Object.defineProperty(exports, "VIEWER_DIALOG_IDS", {
|
|
118
118
|
enumerable: true,
|
|
119
|
-
get: function () { return
|
|
119
|
+
get: function () { return chunkXZUIS3VB_js.VIEWER_DIALOG_IDS; }
|
|
120
120
|
});
|
|
121
121
|
Object.defineProperty(exports, "VIEWER_EXPORT_FORMAT_IDS", {
|
|
122
122
|
enumerable: true,
|
|
123
|
-
get: function () { return
|
|
123
|
+
get: function () { return chunkXZUIS3VB_js.VIEWER_EXPORT_FORMAT_IDS; }
|
|
124
124
|
});
|
|
125
125
|
Object.defineProperty(exports, "VIEWER_FEATURE_IDS", {
|
|
126
126
|
enumerable: true,
|
|
127
|
-
get: function () { return
|
|
127
|
+
get: function () { return chunkXZUIS3VB_js.VIEWER_FEATURE_IDS; }
|
|
128
128
|
});
|
|
129
129
|
Object.defineProperty(exports, "VIEWER_PANEL_IDS", {
|
|
130
130
|
enumerable: true,
|
|
131
|
-
get: function () { return
|
|
131
|
+
get: function () { return chunkXZUIS3VB_js.VIEWER_PANEL_IDS; }
|
|
132
132
|
});
|
|
133
133
|
Object.defineProperty(exports, "VIEWER_PREFS_STORAGE_KEY", {
|
|
134
134
|
enumerable: true,
|
|
135
|
-
get: function () { return
|
|
135
|
+
get: function () { return chunkXZUIS3VB_js.VIEWER_PREFS_STORAGE_KEY; }
|
|
136
136
|
});
|
|
137
137
|
Object.defineProperty(exports, "buildSlideTemplateContent", {
|
|
138
138
|
enumerable: true,
|
|
139
|
-
get: function () { return
|
|
139
|
+
get: function () { return chunkXZUIS3VB_js.buildSlideTemplateContent; }
|
|
140
140
|
});
|
|
141
141
|
Object.defineProperty(exports, "buildSlideTemplateSlide", {
|
|
142
142
|
enumerable: true,
|
|
143
|
-
get: function () { return
|
|
143
|
+
get: function () { return chunkXZUIS3VB_js.buildSlideTemplateSlide; }
|
|
144
144
|
});
|
|
145
145
|
Object.defineProperty(exports, "clearAllLocalViewerData", {
|
|
146
146
|
enumerable: true,
|
|
147
|
-
get: function () { return
|
|
147
|
+
get: function () { return chunkXZUIS3VB_js.clearAllLocalViewerData; }
|
|
148
148
|
});
|
|
149
149
|
Object.defineProperty(exports, "clearStoredViewerPrefs", {
|
|
150
150
|
enumerable: true,
|
|
151
|
-
get: function () { return
|
|
151
|
+
get: function () { return chunkXZUIS3VB_js.clearStoredViewerPrefs; }
|
|
152
152
|
});
|
|
153
153
|
Object.defineProperty(exports, "createImageElementFromFile", {
|
|
154
154
|
enumerable: true,
|
|
155
|
-
get: function () { return
|
|
155
|
+
get: function () { return chunkXZUIS3VB_js.createImageElementFromFile; }
|
|
156
156
|
});
|
|
157
157
|
Object.defineProperty(exports, "defaultCssVars", {
|
|
158
158
|
enumerable: true,
|
|
159
|
-
get: function () { return
|
|
159
|
+
get: function () { return chunkXZUIS3VB_js.defaultCssVars; }
|
|
160
160
|
});
|
|
161
161
|
Object.defineProperty(exports, "defaultRadius", {
|
|
162
162
|
enumerable: true,
|
|
163
|
-
get: function () { return
|
|
163
|
+
get: function () { return chunkXZUIS3VB_js.defaultRadius; }
|
|
164
164
|
});
|
|
165
165
|
Object.defineProperty(exports, "defaultThemeColors", {
|
|
166
166
|
enumerable: true,
|
|
167
|
-
get: function () { return
|
|
167
|
+
get: function () { return chunkXZUIS3VB_js.defaultThemeColors; }
|
|
168
168
|
});
|
|
169
169
|
Object.defineProperty(exports, "describeCollaborationShellState", {
|
|
170
170
|
enumerable: true,
|
|
171
|
-
get: function () { return
|
|
171
|
+
get: function () { return chunkXZUIS3VB_js.describeCollaborationShellState; }
|
|
172
172
|
});
|
|
173
173
|
Object.defineProperty(exports, "getLocalStorageUsageSummary", {
|
|
174
174
|
enumerable: true,
|
|
175
|
-
get: function () { return
|
|
175
|
+
get: function () { return chunkXZUIS3VB_js.getLocalStorageUsageSummary; }
|
|
176
176
|
});
|
|
177
177
|
Object.defineProperty(exports, "isLegacyBinaryPresentation", {
|
|
178
178
|
enumerable: true,
|
|
179
|
-
get: function () { return
|
|
179
|
+
get: function () { return chunkXZUIS3VB_js.isLegacyBinaryPresentation; }
|
|
180
180
|
});
|
|
181
181
|
Object.defineProperty(exports, "isSupportedPresentationFile", {
|
|
182
182
|
enumerable: true,
|
|
183
|
-
get: function () { return
|
|
183
|
+
get: function () { return chunkXZUIS3VB_js.isSupportedPresentationFile; }
|
|
184
184
|
});
|
|
185
185
|
Object.defineProperty(exports, "presentationBaseName", {
|
|
186
186
|
enumerable: true,
|
|
187
|
-
get: function () { return
|
|
187
|
+
get: function () { return chunkXZUIS3VB_js.presentationBaseName; }
|
|
188
188
|
});
|
|
189
189
|
Object.defineProperty(exports, "readStoredViewerPrefs", {
|
|
190
190
|
enumerable: true,
|
|
191
|
-
get: function () { return
|
|
191
|
+
get: function () { return chunkXZUIS3VB_js.readStoredViewerPrefs; }
|
|
192
192
|
});
|
|
193
193
|
Object.defineProperty(exports, "resolveProfileInitial", {
|
|
194
194
|
enumerable: true,
|
|
195
|
-
get: function () { return
|
|
195
|
+
get: function () { return chunkXZUIS3VB_js.resolveProfileInitial; }
|
|
196
196
|
});
|
|
197
197
|
Object.defineProperty(exports, "resolveThemeCatalogEntry", {
|
|
198
198
|
enumerable: true,
|
|
199
|
-
get: function () { return
|
|
199
|
+
get: function () { return chunkXZUIS3VB_js.resolveThemeCatalogEntry; }
|
|
200
200
|
});
|
|
201
201
|
Object.defineProperty(exports, "saveViewerProfile", {
|
|
202
202
|
enumerable: true,
|
|
203
|
-
get: function () { return
|
|
203
|
+
get: function () { return chunkXZUIS3VB_js.saveViewerProfile; }
|
|
204
204
|
});
|
|
205
205
|
Object.defineProperty(exports, "savedPresentationFileName", {
|
|
206
206
|
enumerable: true,
|
|
207
|
-
get: function () { return
|
|
207
|
+
get: function () { return chunkXZUIS3VB_js.savedPresentationFileName; }
|
|
208
208
|
});
|
|
209
209
|
Object.defineProperty(exports, "themeToCssVars", {
|
|
210
210
|
enumerable: true,
|
|
211
|
-
get: function () { return
|
|
211
|
+
get: function () { return chunkXZUIS3VB_js.themeToCssVars; }
|
|
212
212
|
});
|
|
213
213
|
Object.defineProperty(exports, "vermilionDarkColors", {
|
|
214
214
|
enumerable: true,
|
|
215
|
-
get: function () { return
|
|
215
|
+
get: function () { return chunkXZUIS3VB_js.vermilionDarkColors; }
|
|
216
216
|
});
|
|
217
217
|
Object.defineProperty(exports, "vermilionDarkTheme", {
|
|
218
218
|
enumerable: true,
|
|
219
|
-
get: function () { return
|
|
219
|
+
get: function () { return chunkXZUIS3VB_js.vermilionDarkTheme; }
|
|
220
220
|
});
|
|
221
221
|
Object.defineProperty(exports, "vermilionLightColors", {
|
|
222
222
|
enumerable: true,
|
|
223
|
-
get: function () { return
|
|
223
|
+
get: function () { return chunkXZUIS3VB_js.vermilionLightColors; }
|
|
224
224
|
});
|
|
225
225
|
Object.defineProperty(exports, "vermilionLightTheme", {
|
|
226
226
|
enumerable: true,
|
|
227
|
-
get: function () { return
|
|
227
|
+
get: function () { return chunkXZUIS3VB_js.vermilionLightTheme; }
|
|
228
228
|
});
|
|
229
229
|
Object.defineProperty(exports, "vermilionRadius", {
|
|
230
230
|
enumerable: true,
|
|
231
|
-
get: function () { return
|
|
231
|
+
get: function () { return chunkXZUIS3VB_js.vermilionRadius; }
|
|
232
232
|
});
|
|
233
233
|
Object.defineProperty(exports, "writeStoredViewerPrefs", {
|
|
234
234
|
enumerable: true,
|
|
235
|
-
get: function () { return
|
|
235
|
+
get: function () { return chunkXZUIS3VB_js.writeStoredViewerPrefs; }
|
|
236
236
|
});
|
|
237
237
|
Object.defineProperty(exports, "LOCALE_CATALOG", {
|
|
238
238
|
enumerable: true,
|
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, BACKSTAGE_CARD_IDS, BACKSTAGE_PAGE_IDS, CANVAS_CONTEXT_MENU_COMMAND_IDS, DEFAULT_VIEWER_PROFILE, EDITOR_SHORTCUT_ACTION_IDS, ELEMENT_CONTEXT_MENU_COMMAND_IDS, OPTIONS_PAGE_IDS, OPTIONS_SECTION_IDS, OPTIONS_SETTING_IDS, PPTX_OPEN_ACCEPT, PRESENTATION_OPEN_EXTENSIONS, RIBBON_TAB_IDS, SLIDE_TEMPLATES, THEME_CATALOG, TOOLBAR_BUTTON_IDS, VIEWER_DIALOG_IDS, VIEWER_EXPORT_FORMAT_IDS, VIEWER_FEATURE_IDS, VIEWER_PANEL_IDS, VIEWER_PREFS_STORAGE_KEY, buildSlideTemplateContent, buildSlideTemplateSlide, clearAllLocalViewerData, clearStoredViewerPrefs, createImageElementFromFile, defaultCssVars, defaultRadius, defaultThemeColors, describeCollaborationShellState, getLocalStorageUsageSummary, isLegacyBinaryPresentation, isSupportedPresentationFile, presentationBaseName, readStoredViewerPrefs, resolveProfileInitial, resolveThemeCatalogEntry, saveViewerProfile, savedPresentationFileName, themeToCssVars, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius, writeStoredViewerPrefs } from './chunk-
|
|
1
|
+
export { PowerPointViewer, SlideCanvas, SlideTemplateGalleryDialog, SlideTemplatePreview, Toolbar, ViewerThemeProvider, useViewerTheme } from './chunk-BTTAYCGK.mjs';
|
|
2
|
+
import './chunk-WRQ7K3DG.mjs';
|
|
3
|
+
export { renderToCanvas, useViewerBuildingBlocks } from './chunk-QLUA63T3.mjs';
|
|
4
|
+
export { getAnimationInitialStyle } from './chunk-MFGRRONU.mjs';
|
|
5
|
+
export { AVATAR_COLOR_SWATCHES, BACKSTAGE_CARD_IDS, BACKSTAGE_PAGE_IDS, CANVAS_CONTEXT_MENU_COMMAND_IDS, DEFAULT_VIEWER_PROFILE, EDITOR_SHORTCUT_ACTION_IDS, ELEMENT_CONTEXT_MENU_COMMAND_IDS, OPTIONS_PAGE_IDS, OPTIONS_SECTION_IDS, OPTIONS_SETTING_IDS, PPTX_OPEN_ACCEPT, PRESENTATION_OPEN_EXTENSIONS, RIBBON_TAB_IDS, SLIDE_TEMPLATES, THEME_CATALOG, TOOLBAR_BUTTON_IDS, VIEWER_DIALOG_IDS, VIEWER_EXPORT_FORMAT_IDS, VIEWER_FEATURE_IDS, VIEWER_PANEL_IDS, VIEWER_PREFS_STORAGE_KEY, buildSlideTemplateContent, buildSlideTemplateSlide, clearAllLocalViewerData, clearStoredViewerPrefs, createImageElementFromFile, defaultCssVars, defaultRadius, defaultThemeColors, describeCollaborationShellState, getLocalStorageUsageSummary, isLegacyBinaryPresentation, isSupportedPresentationFile, presentationBaseName, readStoredViewerPrefs, resolveProfileInitial, resolveThemeCatalogEntry, saveViewerProfile, savedPresentationFileName, themeToCssVars, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius, writeStoredViewerPrefs } from './chunk-MJ6LTUJ3.mjs';
|
|
6
6
|
export { LOCALE_CATALOG } from './chunk-CJSIEITL.mjs';
|
|
7
7
|
import './chunk-XGB3TDIC.mjs';
|
package/dist/index.mjs.br
CHANGED
|
Binary file
|
package/dist/index.mjs.gz
CHANGED
|
Binary file
|
package/dist/internals.d.ts
CHANGED
|
@@ -13915,6 +13915,25 @@ type ViewerOptionPrimitive = boolean | number | string;
|
|
|
13915
13915
|
*/
|
|
13916
13916
|
type ViewerOptionsTabId = 'general' | 'proofing' | 'save' | 'language' | 'accessibility' | 'advanced' | 'ribbon' | 'quickAccess' | 'addIns' | 'trust';
|
|
13917
13917
|
//#endregion
|
|
13918
|
+
//#region src/render/customization/host-menu-commands.d.ts
|
|
13919
|
+
/** Snapshot of the slide on which the host command was offered. */
|
|
13920
|
+
interface HostCanvasMenuContext {
|
|
13921
|
+
slideIndex: number;
|
|
13922
|
+
}
|
|
13923
|
+
/** Effective selection, including a single right-clicked element. */
|
|
13924
|
+
interface HostElementMenuContext extends HostCanvasMenuContext {
|
|
13925
|
+
elementIds: readonly string[];
|
|
13926
|
+
}
|
|
13927
|
+
/** Plain text labels work identically in every framework. */
|
|
13928
|
+
interface HostMenuCommand<C> {
|
|
13929
|
+
id: string;
|
|
13930
|
+
label: string;
|
|
13931
|
+
/** Default: a separate group above the built-in commands. */
|
|
13932
|
+
group?: 'top' | 'bottom';
|
|
13933
|
+
disabled?: boolean | ((context: C) => boolean);
|
|
13934
|
+
onSelect: (context: C) => void;
|
|
13935
|
+
}
|
|
13936
|
+
//#endregion
|
|
13918
13937
|
//#region src/render/customization/ribbon-control-catalog.d.ts
|
|
13919
13938
|
declare const RIBBON_CONTROL_CATALOG: {
|
|
13920
13939
|
readonly home: {
|
|
@@ -14496,6 +14515,9 @@ interface BackstageCustomization {
|
|
|
14496
14515
|
}
|
|
14497
14516
|
/** Right-click menu customisation. */
|
|
14498
14517
|
interface ContextMenuCustomization {
|
|
14518
|
+
/** Additional host commands, independent of the viewer's AI connection. */
|
|
14519
|
+
extraElementCommands?: readonly HostMenuCommand<HostElementMenuContext>[];
|
|
14520
|
+
extraCanvasCommands?: readonly HostMenuCommand<HostCanvasMenuContext>[];
|
|
14499
14521
|
/** Entries to remove from the element (right-click on a shape) menu. */
|
|
14500
14522
|
hiddenElementCommands?: readonly ContextMenuCommandId[];
|
|
14501
14523
|
/** Entries to remove from the empty-canvas menu. */
|
|
@@ -14601,6 +14623,8 @@ interface ResolvedCustomization {
|
|
|
14601
14623
|
hiddenBackstagePages: ReadonlySet<BackstagePage>;
|
|
14602
14624
|
hiddenBackstageCards: ReadonlySet<BackstageCardId>;
|
|
14603
14625
|
hiddenElementCommands: ReadonlySet<ContextMenuCommandId>;
|
|
14626
|
+
extraElementCommands: NonNullable<ViewerCustomization['contextMenu']>['extraElementCommands'];
|
|
14627
|
+
extraCanvasCommands: NonNullable<ViewerCustomization['contextMenu']>['extraCanvasCommands'];
|
|
14604
14628
|
hiddenCanvasCommands: ReadonlySet<CanvasContextMenuCommandId>;
|
|
14605
14629
|
hiddenEditPointsCommands: ReadonlySet<EditPointsCommandId>;
|
|
14606
14630
|
hiddenDrawingTools: ReadonlySet<ViewerDrawingToolId>;
|
|
@@ -15175,6 +15199,26 @@ interface CropSession {
|
|
|
15175
15199
|
absentInsets: readonly (keyof CropInsets)[];
|
|
15176
15200
|
}
|
|
15177
15201
|
//#endregion
|
|
15202
|
+
//#region src/render/theme-editor-model.d.ts
|
|
15203
|
+
interface ThemeEditorEdit {
|
|
15204
|
+
name: string;
|
|
15205
|
+
colorScheme: PptxThemeColorScheme;
|
|
15206
|
+
fontScheme: PptxThemeFontScheme;
|
|
15207
|
+
}
|
|
15208
|
+
type ThemeEditorLabels = Record<string, string>;
|
|
15209
|
+
//#endregion
|
|
15210
|
+
//#region src/web-components/theme-editor.d.ts
|
|
15211
|
+
interface PptxUiThemeEditorElement extends HTMLElement {
|
|
15212
|
+
theme: PptxTheme | undefined;
|
|
15213
|
+
labels: ThemeEditorLabels;
|
|
15214
|
+
disabled: boolean;
|
|
15215
|
+
}
|
|
15216
|
+
declare global {
|
|
15217
|
+
interface HTMLElementTagNameMap {
|
|
15218
|
+
'pptx-ui-theme-editor': PptxUiThemeEditorElement;
|
|
15219
|
+
}
|
|
15220
|
+
}
|
|
15221
|
+
//#endregion
|
|
15178
15222
|
//#region src/web-components/subtitle-settings.d.ts
|
|
15179
15223
|
interface PptxUiSubtitleSettingsElement extends HTMLElement {
|
|
15180
15224
|
settings: SubtitleSettings;
|
|
@@ -18345,6 +18389,7 @@ interface UseThemeHandlersInput {
|
|
|
18345
18389
|
bumpHistory: () => void;
|
|
18346
18390
|
}
|
|
18347
18391
|
interface ThemeHandlersResult {
|
|
18392
|
+
handleApplyThemeEdit: (edit: ThemeEditorEdit) => Promise<void>;
|
|
18348
18393
|
handleApplyTheme: (themePath: string, applyToAllMasters: boolean) => Promise<void>;
|
|
18349
18394
|
handleUpdateThemeColorScheme: (colorScheme: PptxThemeColorScheme) => Promise<void>;
|
|
18350
18395
|
handleUpdateThemeFontScheme: (fontScheme: PptxThemeFontScheme) => Promise<void>;
|