pptx-vue-viewer 4.65.0 → 4.67.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 +36 -0
- package/README.md +10 -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.cjs +1 -1
- package/dist/index.cjs.br +0 -0
- package/dist/index.cjs.gz +0 -0
- package/dist/index.d.ts +6 -2
- package/dist/index.js +3 -3
- package/dist/index.js.br +0 -0
- package/dist/index.js.gz +0 -0
- package/dist/internals.cjs +1 -1
- package/dist/internals.cjs.br +0 -0
- package/dist/internals.cjs.gz +0 -0
- package/dist/internals.d.ts +9 -0
- package/dist/internals.js +1 -1
- package/dist/internals.js.br +0 -0
- package/dist/internals.js.gz +0 -0
- package/dist/pptx-vue-viewer.css +1 -1
- package/dist/pptx-vue-viewer.css.br +0 -0
- package/dist/pptx-vue-viewer.css.gz +0 -0
- package/dist/{useViewerSettingsDialog-CuiWscv-.cjs → useViewerSettingsDialog-BNnWGJwV.cjs} +430 -388
- package/dist/useViewerSettingsDialog-BNnWGJwV.cjs.br +0 -0
- package/dist/useViewerSettingsDialog-BNnWGJwV.cjs.gz +0 -0
- package/dist/{useViewerSettingsDialog-D5C2Wbjw.js → useViewerSettingsDialog-CGI6HR0i.js} +1913 -1866
- package/dist/useViewerSettingsDialog-CGI6HR0i.js.br +0 -0
- package/dist/useViewerSettingsDialog-CGI6HR0i.js.gz +0 -0
- package/dist/viewer/index.cjs +1 -1
- package/dist/viewer/index.cjs.br +0 -0
- package/dist/viewer/index.cjs.gz +0 -0
- package/dist/viewer/index.d.ts +14 -2
- package/dist/viewer/index.js +3 -3
- package/dist/viewer/index.js.br +0 -0
- package/dist/viewer/index.js.gz +0 -0
- package/dist/{viewer-q1mZieZF.cjs → viewer-B-B4pL2o.cjs} +1328 -1361
- package/dist/viewer-B-B4pL2o.cjs.br +0 -0
- package/dist/viewer-B-B4pL2o.cjs.gz +0 -0
- package/dist/{viewer-DQPBgO7l.js → viewer-DYs723bH.js} +8472 -8505
- package/dist/viewer-DYs723bH.js.br +0 -0
- package/dist/viewer-DYs723bH.js.gz +0 -0
- package/dist/{y-webrtc-CpZkvep1.js → y-webrtc-BxRkXfn3.js} +23 -23
- package/dist/y-webrtc-BxRkXfn3.js.br +0 -0
- package/dist/y-webrtc-BxRkXfn3.js.gz +0 -0
- package/dist/{y-webrtc-CTBB9Ok0.cjs → y-webrtc-D9l3ByiO.cjs} +1 -1
- package/dist/y-webrtc-D9l3ByiO.cjs.br +0 -0
- package/dist/y-webrtc-D9l3ByiO.cjs.gz +0 -0
- package/package.json +4 -4
- package/dist/useViewerSettingsDialog-CuiWscv-.cjs.br +0 -0
- package/dist/useViewerSettingsDialog-CuiWscv-.cjs.gz +0 -0
- package/dist/useViewerSettingsDialog-D5C2Wbjw.js.br +0 -0
- package/dist/useViewerSettingsDialog-D5C2Wbjw.js.gz +0 -0
- package/dist/viewer-DQPBgO7l.js.br +0 -0
- package/dist/viewer-DQPBgO7l.js.gz +0 -0
- package/dist/viewer-q1mZieZF.cjs.br +0 -0
- package/dist/viewer-q1mZieZF.cjs.gz +0 -0
- package/dist/y-webrtc-CTBB9Ok0.cjs.br +0 -0
- package/dist/y-webrtc-CTBB9Ok0.cjs.gz +0 -0
- package/dist/y-webrtc-CpZkvep1.js.br +0 -0
- package/dist/y-webrtc-CpZkvep1.js.gz +0 -0
|
Binary file
|
|
Binary file
|
package/dist/viewer/index.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const e = require("../useViewerSettingsDialog-
|
|
2
|
+
const e = require("../useViewerSettingsDialog-BNnWGJwV.cjs"), t = require("../viewer-B-B4pL2o.cjs");
|
|
3
3
|
let r = require("ooxml-ui/pptx");
|
|
4
4
|
Object.defineProperty(exports, "AUDIENCE_HASH", {
|
|
5
5
|
enumerable: !0,
|
package/dist/viewer/index.cjs.br
CHANGED
|
Binary file
|
package/dist/viewer/index.cjs.gz
CHANGED
|
Binary file
|
package/dist/viewer/index.d.ts
CHANGED
|
@@ -25,6 +25,7 @@ import { ComputedRef } from 'vue';
|
|
|
25
25
|
import { ConnectionStatus } from 'ooxml-ui/pptx';
|
|
26
26
|
import { CSSProperties } from 'vue';
|
|
27
27
|
import { DeckSaveIntent } from 'ooxml-ui/pptx';
|
|
28
|
+
import { DeckWebfontProgress } from 'ooxml-ui/pptx';
|
|
28
29
|
import { DefineComponent } from 'vue';
|
|
29
30
|
import { DocumentStorage } from 'ooxml-ui/pptx';
|
|
30
31
|
import { ElementAnimationState } from 'ooxml-ui/pptx';
|
|
@@ -34,6 +35,7 @@ import { ExternalCollaborationSnapshot } from 'ooxml-ui/pptx';
|
|
|
34
35
|
import { getResolvedShapeClipPath } from 'ooxml-ui/pptx';
|
|
35
36
|
import { getResolvedShapeClipPathFor } from 'ooxml-ui/pptx';
|
|
36
37
|
import { GoogleFontsOption } from 'ooxml-ui/pptx';
|
|
38
|
+
import { GoogleFontsOption as GoogleFontsOption_2 } from 'ooxml-core/text';
|
|
37
39
|
import { Guide } from 'ooxml-ui/pptx';
|
|
38
40
|
import { GuideEntry } from 'ooxml-ui/pptx';
|
|
39
41
|
import { HistoryTheme } from 'ooxml-ui/pptx';
|
|
@@ -195,7 +197,7 @@ declare const __VLS_export: DefineComponent<PowerPointViewerProps, PowerPointVie
|
|
|
195
197
|
pieChart3D: boolean;
|
|
196
198
|
surfaceChart3D: boolean;
|
|
197
199
|
smartArt3D: boolean;
|
|
198
|
-
googleFonts:
|
|
200
|
+
googleFonts: GoogleFontsOption_2;
|
|
199
201
|
showToolbar: boolean;
|
|
200
202
|
showThumbnails: boolean;
|
|
201
203
|
showCompatibilityToasts: boolean;
|
|
@@ -1622,7 +1624,10 @@ export declare interface PowerPointViewerProps {
|
|
|
1622
1624
|
initialSlide?: number;
|
|
1623
1625
|
/**
|
|
1624
1626
|
* Google Fonts fallback for deck fonts that are neither installed nor
|
|
1625
|
-
* embedded. Unset:
|
|
1627
|
+
* embedded. Unset: File > Options > Trust Center > "Download fonts that
|
|
1628
|
+
* are not installed or embedded" decides (on by default: the viewer
|
|
1629
|
+
* loads them from `fonts.googleapis.com`). Any other value locks that
|
|
1630
|
+
* option: off for `false` or an invalid `baseUrl`, on for a mirror.
|
|
1626
1631
|
* `false`: no request goes to Google (`fonts.googleapis.com` or
|
|
1627
1632
|
* `fonts.gstatic.com`); text uses installed, embedded or fallback fonts.
|
|
1628
1633
|
* `{ baseUrl }`: requests go to a self-hosted mirror of the Google Fonts
|
|
@@ -2510,6 +2515,11 @@ export declare interface UseLoadContentOptions {
|
|
|
2510
2515
|
* `PptxHandler.load`; omitted or `undefined` keeps the core defaults.
|
|
2511
2516
|
*/
|
|
2512
2517
|
getLimits?: () => PptxLoadLimits | undefined;
|
|
2518
|
+
/**
|
|
2519
|
+
* The host `googleFonts` prop, read at load time: the load waits (bounded)
|
|
2520
|
+
* for the Google Fonts faces the deck draws before showing it.
|
|
2521
|
+
*/
|
|
2522
|
+
getGoogleFonts?: () => GoogleFontsOption | undefined;
|
|
2513
2523
|
/**
|
|
2514
2524
|
* Translates the load-error text for a deck over a load limit (the
|
|
2515
2525
|
* viewer's `t`). Omitted, the error keeps the core's English message.
|
|
@@ -2569,6 +2579,8 @@ export declare interface UseLoadContentResult {
|
|
|
2569
2579
|
mediaDataUrls: ShallowRef<Map<string, string>>;
|
|
2570
2580
|
/** True while a load is in flight. */
|
|
2571
2581
|
loading: Ref<boolean>;
|
|
2582
|
+
/** Webfont download progress while a load waits for the deck's fonts (after a short delay). */
|
|
2583
|
+
fontProgress: ShallowRef<DeckWebfontProgress | null>;
|
|
2572
2584
|
/** Error message from the last failed load, or null. */
|
|
2573
2585
|
error: Ref<string | null>;
|
|
2574
2586
|
/** True when the file is password-protected and could not be opened. */
|
package/dist/viewer/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { C as
|
|
3
|
-
export {
|
|
1
|
+
import { An as a, C as s, Cr as e, Er as r, Gn as n, In as o, L as t, Ln as i, M as l, Mn as d, N as R, P as S, Q as m, Qn as C, S as b, Sr as w, Tr as c, Z as v, Zn as x, br as u, cr as T, d as g, er as j, h as p, it as y, j as E, jn as I, mt as M, sr as P, tr as f, vr as h, w as A, wr as O, x as Z, xr as D, yr as L } from "../useViewerSettingsDialog-CGI6HR0i.js";
|
|
2
|
+
import { C as Q, S as V, _ as k, a as q, b as B, c as F, d as G, f as N, g as W, h as _, i as z, l as H, m as J, n as K, o as U, p as X, r as Y, s as $, t as aa, u as sa, v as ea, x as ra, y as na } from "../viewer-DYs723bH.js";
|
|
3
|
+
export { G as AUDIENCE_HASH, T as ChartRenderer, ea as CollaborationCursors, Q as CollaborationStatusIndicator, P as ConnectorRenderer, w as DEFAULT_CANVAS_HEIGHT, e as DEFAULT_CANVAS_WIDTH, O as DEFAULT_FILL_COLOR, c as DEFAULT_STROKE_COLOR, r as DEFAULT_TEXT_COLOR, I as ElementRenderer, f as EquationRenderer, sa as FollowModeBar, j as InkRenderer, V as InlineTextEditor, C as Model3DRenderer, x as OleRenderer, F as PowerPointViewer, k as RemoteSelectionOverlay, B as RibbonToolbar, ra as SelectionOverlay, na as SlideCanvas, a as SlideStage, H as SlidesPane, n as SmartArtRenderer, i as TableRenderer, o as WordArtText, d as ZoomRenderer, l as buildInitialGuides, N as clearAudienceContent, R as collectImagePaths, S as collectMediaElements, Z as exportAllSlidesToSvg, b as exportAllSlidesToSvgBlobs, s as exportSlideToSvg, A as exportSlideToSvgBlob, h as getContainerStyle, L as getImageSrc, K as getResolvedShapeClipPath, Y as getResolvedShapeClipPathFor, u as getShapeFillStrokeStyle, D as getTextBlockStyle, X as isAudienceTab, J as loadAudienceContent, aa as overlayInlineTextSnapshot, _ as parseAudienceNonce, W as storeAudienceContent, M as useCollaboration, z as useCollaborativeHistory, q as useCollaborativeState, y as useEditorHistory, m as useEditorOperations, v as useElementDrag, t as useInlineEditing, E as useLoadContent, U as usePresenceTracking, p as useSectionOperations, g as useSlideOperations, $ as useYjsProvider };
|
package/dist/viewer/index.js.br
CHANGED
|
Binary file
|
package/dist/viewer/index.js.gz
CHANGED
|
Binary file
|