pptx-vue-viewer 4.65.0 → 4.66.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 +30 -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 +4 -1
- 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-Cd52v93-.cjs} +309 -273
- package/dist/useViewerSettingsDialog-Cd52v93-.cjs.br +0 -0
- package/dist/useViewerSettingsDialog-Cd52v93-.cjs.gz +0 -0
- package/dist/{useViewerSettingsDialog-D5C2Wbjw.js → useViewerSettingsDialog-DgmgQcw4.js} +1904 -1863
- package/dist/useViewerSettingsDialog-DgmgQcw4.js.br +0 -0
- package/dist/useViewerSettingsDialog-DgmgQcw4.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 +12 -1
- 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-DQPBgO7l.js → viewer-CuueXklz.js} +8592 -8622
- package/dist/viewer-CuueXklz.js.br +0 -0
- package/dist/viewer-CuueXklz.js.gz +0 -0
- package/dist/{viewer-q1mZieZF.cjs → viewer-Te3FWYIB.cjs} +1247 -1277
- package/dist/viewer-Te3FWYIB.cjs.br +0 -0
- package/dist/viewer-Te3FWYIB.cjs.gz +0 -0
- package/dist/{y-webrtc-CTBB9Ok0.cjs → y-webrtc-C8MpOfL3.cjs} +1 -1
- package/dist/y-webrtc-C8MpOfL3.cjs.br +0 -0
- package/dist/y-webrtc-C8MpOfL3.cjs.gz +0 -0
- package/dist/{y-webrtc-CpZkvep1.js → y-webrtc-CU4hfjTK.js} +23 -23
- package/dist/y-webrtc-CU4hfjTK.js.br +0 -0
- package/dist/y-webrtc-CU4hfjTK.js.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-Cd52v93-.cjs"), t = require("../viewer-Te3FWYIB.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';
|
|
@@ -1622,7 +1623,10 @@ export declare interface PowerPointViewerProps {
|
|
|
1622
1623
|
initialSlide?: number;
|
|
1623
1624
|
/**
|
|
1624
1625
|
* Google Fonts fallback for deck fonts that are neither installed nor
|
|
1625
|
-
* embedded. Unset:
|
|
1626
|
+
* embedded. Unset: File > Options > Trust Center > "Download fonts that
|
|
1627
|
+
* are not installed or embedded" decides (on by default: the viewer
|
|
1628
|
+
* loads them from `fonts.googleapis.com`). Any other value locks that
|
|
1629
|
+
* option: off for `false` or an invalid `baseUrl`, on for a mirror.
|
|
1626
1630
|
* `false`: no request goes to Google (`fonts.googleapis.com` or
|
|
1627
1631
|
* `fonts.gstatic.com`); text uses installed, embedded or fallback fonts.
|
|
1628
1632
|
* `{ baseUrl }`: requests go to a self-hosted mirror of the Google Fonts
|
|
@@ -2510,6 +2514,11 @@ export declare interface UseLoadContentOptions {
|
|
|
2510
2514
|
* `PptxHandler.load`; omitted or `undefined` keeps the core defaults.
|
|
2511
2515
|
*/
|
|
2512
2516
|
getLimits?: () => PptxLoadLimits | undefined;
|
|
2517
|
+
/**
|
|
2518
|
+
* The host `googleFonts` prop, read at load time: the load waits (bounded)
|
|
2519
|
+
* for the Google Fonts faces the deck draws before showing it.
|
|
2520
|
+
*/
|
|
2521
|
+
getGoogleFonts?: () => GoogleFontsOption | undefined;
|
|
2513
2522
|
/**
|
|
2514
2523
|
* Translates the load-error text for a deck over a load limit (the
|
|
2515
2524
|
* viewer's `t`). Omitted, the error keeps the core's English message.
|
|
@@ -2569,6 +2578,8 @@ export declare interface UseLoadContentResult {
|
|
|
2569
2578
|
mediaDataUrls: ShallowRef<Map<string, string>>;
|
|
2570
2579
|
/** True while a load is in flight. */
|
|
2571
2580
|
loading: Ref<boolean>;
|
|
2581
|
+
/** Webfont download progress while a load waits for the deck's fonts (after a short delay). */
|
|
2582
|
+
fontProgress: ShallowRef<DeckWebfontProgress | null>;
|
|
2572
2583
|
/** Error message from the last failed load, or null. */
|
|
2573
2584
|
error: Ref<string | null>;
|
|
2574
2585
|
/** 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, Gn as r, In as n, L as o, Ln as t, M as i, Mn as l, N as d, P as R, Q as S, Qn as m, S as C, Sr as b, Tr as w, Z as c, Zn as v, _r as x, br as u, cr as T, d as g, er as j, h as p, it as y, j as I, jn as M, mt as P, sr as f, tr as h, vr as A, w as E, wr as O, x as Z, xr as D, yr as L } from "../useViewerSettingsDialog-DgmgQcw4.js";
|
|
2
|
+
import { C as Q, S as V, _, a as k, b as q, c as B, d as F, f as G, g as N, h as W, 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-CuueXklz.js";
|
|
3
|
+
export { F as AUDIENCE_HASH, T as ChartRenderer, ea as CollaborationCursors, Q as CollaborationStatusIndicator, f as ConnectorRenderer, D as DEFAULT_CANVAS_HEIGHT, b as DEFAULT_CANVAS_WIDTH, e as DEFAULT_FILL_COLOR, O as DEFAULT_STROKE_COLOR, w as DEFAULT_TEXT_COLOR, M as ElementRenderer, h as EquationRenderer, sa as FollowModeBar, j as InkRenderer, V as InlineTextEditor, m as Model3DRenderer, v as OleRenderer, B as PowerPointViewer, _ as RemoteSelectionOverlay, q as RibbonToolbar, ra as SelectionOverlay, na as SlideCanvas, a as SlideStage, H as SlidesPane, r as SmartArtRenderer, t as TableRenderer, n as WordArtText, l as ZoomRenderer, i as buildInitialGuides, G as clearAudienceContent, d as collectImagePaths, R as collectMediaElements, Z as exportAllSlidesToSvg, C as exportAllSlidesToSvgBlobs, s as exportSlideToSvg, E as exportSlideToSvgBlob, x as getContainerStyle, A as getImageSrc, K as getResolvedShapeClipPath, Y as getResolvedShapeClipPathFor, L as getShapeFillStrokeStyle, u as getTextBlockStyle, X as isAudienceTab, J as loadAudienceContent, aa as overlayInlineTextSnapshot, W as parseAudienceNonce, N as storeAudienceContent, P as useCollaboration, z as useCollaborativeHistory, k as useCollaborativeState, y as useEditorHistory, S as useEditorOperations, c as useElementDrag, o as useInlineEditing, I 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
|