pptx-vue-viewer 4.36.1 → 4.36.2
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 +8 -0
- package/dist/{AiChatPanel-CB9VlslY.cjs → AiChatPanel-BeOTgP5C.cjs} +1 -1
- package/dist/AiChatPanel-BeOTgP5C.cjs.br +0 -0
- package/dist/AiChatPanel-BeOTgP5C.cjs.gz +0 -0
- package/dist/{AiChatPanel-Bxwc0TjK.js → AiChatPanel-t6dL7YP4.js} +2 -2
- package/dist/AiChatPanel-t6dL7YP4.js.br +0 -0
- package/dist/AiChatPanel-t6dL7YP4.js.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.js +2 -2
- 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 +7 -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 +12 -12
- package/dist/pptx-vue-viewer.css.br +0 -0
- package/dist/pptx-vue-viewer.css.gz +0 -0
- package/dist/{useViewerSettingsDialog-Dern_Zdc.cjs → useViewerSettingsDialog-TAbf4Ixp.cjs} +8 -3
- package/dist/useViewerSettingsDialog-TAbf4Ixp.cjs.br +0 -0
- package/dist/{useViewerSettingsDialog-Dern_Zdc.cjs.gz → useViewerSettingsDialog-TAbf4Ixp.cjs.gz} +0 -0
- package/dist/{useViewerSettingsDialog-Bc0cDuC_.js → useViewerSettingsDialog-r1bUiLdb.js} +8 -3
- package/dist/useViewerSettingsDialog-r1bUiLdb.js.br +0 -0
- package/dist/{useViewerSettingsDialog-Bc0cDuC_.js.gz → useViewerSettingsDialog-r1bUiLdb.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 +7 -0
- package/dist/viewer/index.js +2 -2
- package/dist/viewer/index.js.br +0 -0
- package/dist/viewer/index.js.gz +0 -0
- package/dist/{viewer-Dlk2Xac4.cjs → viewer-CDJjPn4g.cjs} +17 -7
- package/dist/viewer-CDJjPn4g.cjs.br +0 -0
- package/dist/viewer-CDJjPn4g.cjs.gz +0 -0
- package/dist/{viewer-DNoXJvz4.js → viewer-SxxyChcY.js} +6167 -6157
- package/dist/viewer-SxxyChcY.js.br +0 -0
- package/dist/viewer-SxxyChcY.js.gz +0 -0
- package/dist/{y-webrtc-DWVn56bj.cjs → y-webrtc-KiXq-fxq.cjs} +1 -1
- package/dist/y-webrtc-KiXq-fxq.cjs.br +0 -0
- package/dist/y-webrtc-KiXq-fxq.cjs.gz +0 -0
- package/dist/{y-webrtc-dxYh_Tv3.js → y-webrtc-swexTCT2.js} +1 -1
- package/dist/y-webrtc-swexTCT2.js.br +0 -0
- package/dist/y-webrtc-swexTCT2.js.gz +0 -0
- package/package.json +2 -2
- package/dist/AiChatPanel-Bxwc0TjK.js.br +0 -0
- package/dist/AiChatPanel-Bxwc0TjK.js.gz +0 -0
- package/dist/AiChatPanel-CB9VlslY.cjs.br +0 -0
- package/dist/AiChatPanel-CB9VlslY.cjs.gz +0 -0
- package/dist/useViewerSettingsDialog-Bc0cDuC_.js.br +0 -0
- package/dist/useViewerSettingsDialog-Dern_Zdc.cjs.br +0 -0
- package/dist/viewer-DNoXJvz4.js.br +0 -0
- package/dist/viewer-DNoXJvz4.js.gz +0 -0
- package/dist/viewer-Dlk2Xac4.cjs.br +0 -0
- package/dist/viewer-Dlk2Xac4.cjs.gz +0 -0
- package/dist/y-webrtc-DWVn56bj.cjs.br +0 -0
- package/dist/y-webrtc-DWVn56bj.cjs.gz +0 -0
- package/dist/y-webrtc-dxYh_Tv3.js.br +0 -0
- package/dist/y-webrtc-dxYh_Tv3.js.gz +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,14 @@ A release listed with no entries carried no Conventional Commit in this package'
|
|
|
7
7
|
scope: scripts/release-plan.mjs releases whenever any published file changes, not only on
|
|
8
8
|
conventional commits.
|
|
9
9
|
|
|
10
|
+
## [4.36.2](https://github.com/ChristopherVR/ooxml/releases/tag/pptx-vue-viewer@4.36.2) - 2026-10-14
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
- **pptx:** Restore a valid slide after undoing new slide ([cefc83b](https://github.com/ChristopherVR/ooxml/commit/cefc83b9fcb9b0fe09cec1a81c0c51ef1733bf8d))
|
|
15
|
+
- **pptx:** Commit inline edits and suppress bookmark shortcuts ([fea149f](https://github.com/ChristopherVR/ooxml/commit/fea149fff0444996b68d9c869d5209acdc9581ea))
|
|
16
|
+
- **pptx:** Close outline view and format background on escape ([8b837d7](https://github.com/ChristopherVR/ooxml/commit/8b837d71ee66588e7912a958c891c31e4e19868a))
|
|
17
|
+
|
|
10
18
|
## [4.36.1](https://github.com/ChristopherVR/ooxml/releases/tag/pptx-vue-viewer@4.36.1) - 2026-10-14
|
|
11
19
|
|
|
12
20
|
### Bug Fixes
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const e = require("./useViewerSettingsDialog-
|
|
1
|
+
const e = require("./useViewerSettingsDialog-TAbf4Ixp.cjs"), t = require("./viewer-CDJjPn4g.cjs");
|
|
2
2
|
let r = require("vue"), a = require("lucide-vue-next"), n = require("ooxml-ui/pptx/ai");
|
|
3
3
|
var o = { class: "border-t border-border p-2" }, l = { class: "flex items-end gap-1.5 rounded-md border border-input bg-background px-2 py-1.5 focus-within:border-ring" }, s = ["placeholder", "aria-label"], i = ["title", "aria-label"], c = [
|
|
4
4
|
"disabled",
|
|
Binary file
|
|
Binary file
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { zr as e } from "./useViewerSettingsDialog-
|
|
2
|
-
import { l as t, x as a } from "./viewer-
|
|
1
|
+
import { zr as e } from "./useViewerSettingsDialog-r1bUiLdb.js";
|
|
2
|
+
import { l as t, x as a } from "./viewer-SxxyChcY.js";
|
|
3
3
|
import { Fragment as r, Suspense as s, computed as l, createBlock as o, createCommentVNode as i, createElementBlock as n, createElementVNode as p, createTextVNode as d, createVNode as c, defineComponent as u, nextTick as m, normalizeClass as x, normalizeStyle as g, onBeforeUnmount as f, onMounted as b, openBlock as v, ref as y, renderList as h, resolveDynamicComponent as k, shallowRef as w, toDisplayString as C, unref as P, vModelText as T, watch as S, withAsyncContext as I, withCtx as j, withDirectives as _ } from "vue";
|
|
4
4
|
import { Bot as A, ChartColumn as E, Check as M, Crosshair as F, Eye as B, Film as D, GitMerge as N, History as L, LayoutTemplate as R, LoaderCircle as H, MessageSquare as W, MessageSquarePlus as z, Move as V, Navigation as K, Palette as O, Pin as U, PinOff as $, Plus as q, Search as G, Send as J, Shapes as Q, Sparkles as X, Square as Y, StickyNote as Z, Table as ee, Trash2 as te, TriangleAlert as ae, Type as re, User as se, Wrench as le, X as oe } from "lucide-vue-next";
|
|
5
5
|
import { createAiChatHistoryController as ie, createAiChatSession as ne, deckIdFromBridge as pe, describeToolActivity as de, extractReadyToolCalls as ce, focusTargetChips as ue, humanizeDiffLine as me, isAiAvailable as xe, isTwoTableFocus as ge, mergeTablesDirective as fe, summarizeToolArgs as be, toRenderableParts as ve, toolCanvasTarget as ye, toolLabel as he } from "ooxml-ui/pptx/ai";
|
|
Binary file
|
|
Binary file
|
package/dist/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-TAbf4Ixp.cjs"), r = require("./viewer-CDJjPn4g.cjs");
|
|
3
3
|
let t = require("ooxml-ui/pptx");
|
|
4
4
|
Object.defineProperty(exports, "AUDIENCE_HASH", {
|
|
5
5
|
enumerable: !0,
|
package/dist/index.cjs.br
CHANGED
|
Binary file
|
package/dist/index.cjs.gz
CHANGED
|
Binary file
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Bn as a, C as s, S as o, Vn as e, it as r, lt as i, w as t, x as l } from "./useViewerSettingsDialog-
|
|
2
|
-
import { A as n, D as m, E as p, F as w, I as S, M as b, N as d, O as u, P as x, T as C, _ as f, a as g, b as v, c, d as j, f as P, g as R, h as V, i as y, j as B, k as D, m as E, o as F, p as I, s as M, u as O, v as T, w as h, x as k, y as A } from "./viewer-
|
|
1
|
+
import { Bn as a, C as s, S as o, Vn as e, it as r, lt as i, w as t, x as l } from "./useViewerSettingsDialog-r1bUiLdb.js";
|
|
2
|
+
import { A as n, D as m, E as p, F as w, I as S, M as b, N as d, O as u, P as x, T as C, _ as f, a as g, b as v, c, d as j, f as P, g as R, h as V, i as y, j as B, k as D, m as E, o as F, p as I, s as M, u as O, v as T, w as h, x as k, y as A } from "./viewer-SxxyChcY.js";
|
|
3
3
|
import { BACKSTAGE_CARD_IDS as N, BACKSTAGE_PAGE_IDS as _, CANVAS_CONTEXT_MENU_COMMAND_IDS as q, EDITOR_SHORTCUT_ACTION_IDS as z, ELEMENT_CONTEXT_MENU_COMMAND_IDS as G, OPTIONS_PAGE_IDS as H, OPTIONS_SECTION_IDS as J, OPTIONS_SETTING_IDS as K, PPTX_OPEN_ACCEPT as L, PRESENTATION_OPEN_EXTENSIONS as Q, RIBBON_TAB_IDS as U, TOOLBAR_BUTTON_IDS as W, VIEWER_DIALOG_IDS as X, VIEWER_EXPORT_FORMAT_IDS as Y, VIEWER_FEATURE_IDS as Z, VIEWER_PANEL_IDS as $, createImageElementFromFile as aa, describeCollaborationShellState as sa, forgetSessionDeck as oa, getSessionTabId as ea, isLegacyBinaryPresentation as ra, isSupportedPresentationFile as ia, loadSessionDeck as ta, parsePresentationSessionId as la, presentationBaseName as na, rememberSessionDeck as ma, restoreSessionDeck as pa, savedPresentationFileName as wa } from "ooxml-ui/pptx";
|
|
4
4
|
export { j as AUDIENCE_HASH, N as BACKSTAGE_CARD_IDS, _ as BACKSTAGE_PAGE_IDS, q as CANVAS_CONTEXT_MENU_COMMAND_IDS, T as CollaborationCursors, h as CollaborationStatusIndicator, z as EDITOR_SHORTCUT_ACTION_IDS, G as ELEMENT_CONTEXT_MENU_COMMAND_IDS, e as ElementRenderer, O as FollowModeBar, H as OPTIONS_PAGE_IDS, J as OPTIONS_SECTION_IDS, K as OPTIONS_SETTING_IDS, L as PPTX_OPEN_ACCEPT, Q as PRESENTATION_OPEN_EXTENSIONS, c as PowerPointViewer, U as RIBBON_TAB_IDS, f as RemoteSelectionOverlay, v as RibbonToolbar, A as SlideCanvas, a as SlideStage, W as TOOLBAR_BUTTON_IDS, X as VIEWER_DIALOG_IDS, Y as VIEWER_EXPORT_FORMAT_IDS, Z as VIEWER_FEATURE_IDS, $ as VIEWER_PANEL_IDS, P as clearAudienceContent, k as cn, aa as createImageElementFromFile, u as defaultCssVars, w as defaultRadius, S as defaultThemeColors, sa as describeCollaborationShellState, l as exportAllSlidesToSvg, o as exportAllSlidesToSvgBlobs, s as exportSlideToSvg, t as exportSlideToSvgBlob, oa as forgetSessionDeck, ea as getSessionTabId, I as isAudienceTab, ra as isLegacyBinaryPresentation, ia as isSupportedPresentationFile, E as loadAudienceContent, ta as loadSessionDeck, V as parseAudienceNonce, la as parsePresentationSessionId, na as presentationBaseName, C as provideViewerTheme, ma as rememberSessionDeck, r as renderToCanvas, pa as restoreSessionDeck, wa as savedPresentationFileName, R as storeAudienceContent, D as themeToCssVars, i as useCollaboration, y as useCollaborativeHistory, g as useCollaborativeState, F as usePresenceTracking, p as useThemeStyle, m as useViewerTheme, M as useYjsProvider, n as vermilionDarkColors, B as vermilionDarkTheme, b as vermilionLightColors, d as vermilionLightTheme, x as vermilionRadius };
|
package/dist/index.js.br
CHANGED
|
Binary file
|
package/dist/index.js.gz
CHANGED
|
Binary file
|
package/dist/internals.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-TAbf4Ixp.cjs");
|
|
3
3
|
let t = require("ooxml-ui/pptx");
|
|
4
4
|
Object.defineProperty(exports, "CINEMATIC_TRANSITION_KEYFRAMES", {
|
|
5
5
|
enumerable: !0,
|
package/dist/internals.cjs.br
CHANGED
|
Binary file
|
package/dist/internals.cjs.gz
CHANGED
|
Binary file
|
package/dist/internals.d.ts
CHANGED
|
@@ -2240,6 +2240,13 @@ export declare interface UseEditorHistoryOptions {
|
|
|
2240
2240
|
* Advanced > "Maximum number of undos" threads `resolveHistoryDepth` here.
|
|
2241
2241
|
*/
|
|
2242
2242
|
maxDepth?: number;
|
|
2243
|
+
/**
|
|
2244
|
+
* The slide on screen. An undo or redo can shorten the deck under it (undoing
|
|
2245
|
+
* New Slide on the last slide removes the very slide being shown), so the
|
|
2246
|
+
* index is pulled back into the restored deck, as React's history does.
|
|
2247
|
+
* Without it the stage pointed past the end of the deck and drew nothing.
|
|
2248
|
+
*/
|
|
2249
|
+
activeSlideIndex?: Ref<number>;
|
|
2243
2250
|
}
|
|
2244
2251
|
|
|
2245
2252
|
/**
|
package/dist/internals.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as a, $n as s, $t as t, A as n, An as r, At as e, B as i, Bt as o, Cr as g, Ct as m, D as p, Dt as y, E as l, Et as f, F as h, Fn as j, Ft as u, G as v, Gt as F, H as L, Ht as O, I as T, It as _, J as b, Jt as c, K as d, Kt as k, L as w, Lt as x, Mn as A, Mt as D, Nn as E, Nt as M, O as P, On as Q, Ot as R, Pn as S, Pt as V, Q as Z, Qn as $, Qt as q, Rn as z, Rr as B, Rt as C, Sr as G, St as H, T as I, Tt as J, U as K, Ut as N, V as U, Vt as W, W as X, Wt as Y, X as aa, Xt as sa, Y as ta, Yt as na, Z as ra, Zn as ea, Zt as ia, _ as oa, _n as ga, _r as ma, _t as pa, a as ya, ar as la, at as fa, b as ha, bn as ja, bt as ua, c as va, cn as Fa, ct as La, d as Oa, dn as Ta, en as _a, er as ba, et as ca, f as da, fn as ka, ft as wa, g as xa, gn as Aa, gt as Da, h as Ea, hn as Ma, ht as Pa, i as Qa, ir as Ra, j as Sa, jn as Va, jt as Za, k as $a, kn as qa, kt as za, l as Ba, ln as Ca, lt as Ga, m as Ha, mn as Ia, mt as Ja, n as Ka, nt as Na, o as Ua, or as Wa, ot as Xa, p as Ya, pn as as, pt as ss, q as ts, qt as ns, r as rs, rr as es, rt as is, s as os, sn as gs, sr as ms, st as ps, t as ys, tn as ls, tr as fs, tt as hs, u as js, un as us, ur as vs, v as Fs, vn as Ls, vt as Os, wr as Ts, wt as _s, xt as bs, y as cs, yn as ds, yt as ks, z as ws, zt as xs } from "./useViewerSettingsDialog-
|
|
1
|
+
import { $ as a, $n as s, $t as t, A as n, An as r, At as e, B as i, Bt as o, Cr as g, Ct as m, D as p, Dt as y, E as l, Et as f, F as h, Fn as j, Ft as u, G as v, Gt as F, H as L, Ht as O, I as T, It as _, J as b, Jt as c, K as d, Kt as k, L as w, Lt as x, Mn as A, Mt as D, Nn as E, Nt as M, O as P, On as Q, Ot as R, Pn as S, Pt as V, Q as Z, Qn as $, Qt as q, Rn as z, Rr as B, Rt as C, Sr as G, St as H, T as I, Tt as J, U as K, Ut as N, V as U, Vt as W, W as X, Wt as Y, X as aa, Xt as sa, Y as ta, Yt as na, Z as ra, Zn as ea, Zt as ia, _ as oa, _n as ga, _r as ma, _t as pa, a as ya, ar as la, at as fa, b as ha, bn as ja, bt as ua, c as va, cn as Fa, ct as La, d as Oa, dn as Ta, en as _a, er as ba, et as ca, f as da, fn as ka, ft as wa, g as xa, gn as Aa, gt as Da, h as Ea, hn as Ma, ht as Pa, i as Qa, ir as Ra, j as Sa, jn as Va, jt as Za, k as $a, kn as qa, kt as za, l as Ba, ln as Ca, lt as Ga, m as Ha, mn as Ia, mt as Ja, n as Ka, nt as Na, o as Ua, or as Wa, ot as Xa, p as Ya, pn as as, pt as ss, q as ts, qt as ns, r as rs, rr as es, rt as is, s as os, sn as gs, sr as ms, st as ps, t as ys, tn as ls, tr as fs, tt as hs, u as js, un as us, ur as vs, v as Fs, vn as Ls, vt as Os, wr as Ts, wt as _s, xt as bs, y as cs, yn as ds, yt as ks, z as ws, zt as xs } from "./useViewerSettingsDialog-r1bUiLdb.js";
|
|
2
2
|
export { m as CINEMATIC_TRANSITION_KEYFRAMES, Qa as DEFAULT_MAX_VERSIONS, _s as DEFAULT_MORPH_DURATION_MS, G as DEFAULT_RENDERING_3D_FLAGS, J as DEFAULT_TRANSITION_DURATION_MS, f as EASE, ns as ERASER_RADIUS, bs as FragmentedTransitionLayer, c as HIGHLIGHTER_OPACITY, na as HIGHLIGHTER_WIDTH, y as INSTANT, Va as MOBILE_BREAKPOINT, A as MOBILE_LANDSCAPE_MAX_HEIGHT, ua as MorphExtraLayers, Ia as NUDGE_LARGE, Ma as NUDGE_SMALL, R as P14_TRANSITION_KEYFRAMES, za as P14_TRANSITION_KEYFRAMES_2, e as P14_TRANSITION_KEYFRAMES_ALL, sa as PEN_WIDTH, ks as PresentationTransitionOverlay, Za as RANDOM_ELIGIBLE_TYPES, oa as RIBBON_ALIGN, g as Rendering3DFlagsKey, Ls as SHORTCUT_CATALOG, ds as SHORTCUT_GROUP_LABEL_KEYS, D as SLIDE_TRANSITION_KEYFRAMES, M as SLIDE_TRANSITION_KEYFRAMES_CSS, Fa as SMARTART_COLOR_SCHEMES, Ca as SMARTART_STYLE_OPTIONS, E as TABLET_BREAKPOINT, V as TRANSITION_SPEED_DURATION_MS, ea as TableSelectionKey, u as WHEEL_SPOKE_COUNTS, _a as buildClickGroups, $ as computeCellSelection, Q as computeDocumentStatistics, Da as computeElapsed, qa as countWords, ia as createStroke, q as eraseStrokesAtPoint, pa as formatRehearseMs, Xa as generateCommentId, _ as getCinematicTransitionAnimations, x as getP14TransitionAnimations, C as getSlideTransitionAnimations, ja as groupShortcutCatalog, s as injectTableSelection, Ra as inlineEditorRect, S as isMobileViewport, la as nodeIdsInRenderOrder, n as parseSignaturesFromBuffer, ba as provideTableSelection, xs as resolveDirection, o as resolveDirection8, W as resolveOrientation, Aa as resolveShortcutAction, O as resolveSlideTransition, N as resolveTransitionDurationMs, Y as resolveWheelSpokeCount, us as smartArtLayoutLabel, Wa as textNodeIdsInRenderOrder, Fs as toShapePreset, Ja as useAccessibility, ss as useAlignGroup, ls as useAnimationPlayback, wa as useAutosave, as as useChartEditing, Ga as useCollaboration, La as useCollaborationWiring, ma as useColorChangeImage, ps as useComments, fa as useCommentsWiring, is as useContextMenu, Na as useCustomShows, hs as useCustomShowsWiring, ka as useDebouncedCallback, ca as useDocumentPropertiesDialog, r as useDocumentStatistics, a as useEditorHistory, Z as useEditorKeyboard, ra as useEditorOperations, aa as useElementDrag, ta as useElementInsertion, b as useEmbeddedFonts, ts as useExport, d as useExportProgress, X as useExportWiring, K as useFindReplace, L as useFontEmbedding, U as useFormatPainter, i as useHeaderFooterDialog, ws as useInkDrawing, w as useInlineEditing, T as useInsertElementDialogs, j as useIsMobile, h as useKeyboardInsets, ga as useKeyboardShortcuts, Sa as useLoadContent, $a as useMasterViewState, v as useMediaExport, P as useMobileChrome, vs as useModel3dScene, H as useMorphTransitionOverlay, p as useMultiSelectOps, l as usePasswordProtection, t as usePresentationAnnotations, I as usePresentationModeWiring, ha as usePrint, Os as useRehearseTimings, Ts as useRendering3DFlags, cs as useRibbonActions, Ka as useRibbonProps, xa as useRibbonUiState, Ea as useSectionOperations, Ha as useSelectionPaneWiring, B as useSheetDismissDrag, Ya as useSignatureWorkflow, Pa as useSignatures, da as useSlideMutations, Oa as useSlideOperations, js as useSlideShowSettings, Ba as useSlideTemplateInsertion, gs as useSmartArtEditing, Ta as useSmartArtFocus, es as useSmartArtHoverRect, ms as useSmartArtInlineEditState, va as useSmartArtNodeEditContext, os as useTableCellEditingContext, fs as useTableCellSelection, Ua as useThemeEditing, k as useToolbarAutoHide, z as useToolbarVisibility, F as useTouchGestures, ya as useVersionHistory, rs as useVersionHistoryWiring, ys as useViewerSettingsDialog };
|
package/dist/internals.js.br
CHANGED
|
Binary file
|
package/dist/internals.js.gz
CHANGED
|
Binary file
|
package/dist/pptx-vue-viewer.css
CHANGED
|
@@ -1908,7 +1908,7 @@ select[data-v-6d24293a] {
|
|
|
1908
1908
|
|
|
1909
1909
|
|
|
1910
1910
|
/* Fills the window, not the screen: the outline never asks for fullscreen. */
|
|
1911
|
-
.pptx-vue-outline-view[data-v-
|
|
1911
|
+
.pptx-vue-outline-view[data-v-28182ac4] {
|
|
1912
1912
|
position: fixed;
|
|
1913
1913
|
inset: 0;
|
|
1914
1914
|
z-index: 1300;
|
|
@@ -1918,7 +1918,7 @@ select[data-v-6d24293a] {
|
|
|
1918
1918
|
color: #f5f5f5;
|
|
1919
1919
|
}
|
|
1920
1920
|
|
|
1921
|
-
.pptx-vue-outline-bar[data-v-
|
|
1921
|
+
.pptx-vue-outline-bar[data-v-28182ac4] {
|
|
1922
1922
|
display: flex;
|
|
1923
1923
|
align-items: center;
|
|
1924
1924
|
gap: 0.75rem;
|
|
@@ -1926,12 +1926,12 @@ select[data-v-6d24293a] {
|
|
|
1926
1926
|
border-bottom: 1px solid rgb(255 255 255 / 0.1);
|
|
1927
1927
|
}
|
|
1928
1928
|
|
|
1929
|
-
.pptx-vue-outline-title[data-v-
|
|
1929
|
+
.pptx-vue-outline-title[data-v-28182ac4] {
|
|
1930
1930
|
font-size: 0.875rem;
|
|
1931
1931
|
font-weight: 600;
|
|
1932
1932
|
}
|
|
1933
1933
|
|
|
1934
|
-
.pptx-vue-outline-hint[data-v-
|
|
1934
|
+
.pptx-vue-outline-hint[data-v-28182ac4] {
|
|
1935
1935
|
flex: 1 1 auto;
|
|
1936
1936
|
overflow: hidden;
|
|
1937
1937
|
font-size: 0.6875rem;
|
|
@@ -1940,7 +1940,7 @@ select[data-v-6d24293a] {
|
|
|
1940
1940
|
white-space: nowrap;
|
|
1941
1941
|
}
|
|
1942
1942
|
|
|
1943
|
-
.pptx-vue-outline-control[data-v-
|
|
1943
|
+
.pptx-vue-outline-control[data-v-28182ac4] {
|
|
1944
1944
|
display: inline-flex;
|
|
1945
1945
|
align-items: center;
|
|
1946
1946
|
justify-content: center;
|
|
@@ -1954,26 +1954,26 @@ select[data-v-6d24293a] {
|
|
|
1954
1954
|
cursor: pointer;
|
|
1955
1955
|
}
|
|
1956
1956
|
|
|
1957
|
-
.pptx-vue-outline-control[data-v-
|
|
1957
|
+
.pptx-vue-outline-control[data-v-28182ac4]:hover {
|
|
1958
1958
|
color: #ffffff;
|
|
1959
1959
|
background: rgb(255 255 255 / 0.15);
|
|
1960
1960
|
}
|
|
1961
1961
|
|
|
1962
|
-
.pptx-vue-outline-rows[data-v-
|
|
1962
|
+
.pptx-vue-outline-rows[data-v-28182ac4] {
|
|
1963
1963
|
flex: 1 1 auto;
|
|
1964
1964
|
min-height: 0;
|
|
1965
1965
|
overflow: auto;
|
|
1966
1966
|
padding: 0.75rem 1rem;
|
|
1967
1967
|
}
|
|
1968
1968
|
|
|
1969
|
-
.pptx-vue-outline-row[data-v-
|
|
1969
|
+
.pptx-vue-outline-row[data-v-28182ac4] {
|
|
1970
1970
|
display: flex;
|
|
1971
1971
|
align-items: center;
|
|
1972
1972
|
gap: 0.5rem;
|
|
1973
1973
|
padding: 0.125rem 0;
|
|
1974
1974
|
}
|
|
1975
1975
|
|
|
1976
|
-
.pptx-vue-outline-number[data-v-
|
|
1976
|
+
.pptx-vue-outline-number[data-v-28182ac4] {
|
|
1977
1977
|
width: 1.5rem;
|
|
1978
1978
|
flex: 0 0 auto;
|
|
1979
1979
|
font-size: 0.625rem;
|
|
@@ -1982,7 +1982,7 @@ select[data-v-6d24293a] {
|
|
|
1982
1982
|
text-align: right;
|
|
1983
1983
|
}
|
|
1984
1984
|
|
|
1985
|
-
.pptx-vue-outline-input[data-v-
|
|
1985
|
+
.pptx-vue-outline-input[data-v-28182ac4] {
|
|
1986
1986
|
width: 100%;
|
|
1987
1987
|
padding: 0.125rem 0.25rem;
|
|
1988
1988
|
font-size: 0.8125rem;
|
|
@@ -1993,13 +1993,13 @@ select[data-v-6d24293a] {
|
|
|
1993
1993
|
outline: none;
|
|
1994
1994
|
}
|
|
1995
1995
|
|
|
1996
|
-
.pptx-vue-outline-input.is-title[data-v-
|
|
1996
|
+
.pptx-vue-outline-input.is-title[data-v-28182ac4] {
|
|
1997
1997
|
font-size: 0.875rem;
|
|
1998
1998
|
font-weight: 600;
|
|
1999
1999
|
color: #f5f5f5;
|
|
2000
2000
|
}
|
|
2001
2001
|
|
|
2002
|
-
.pptx-vue-outline-input[data-v-
|
|
2002
|
+
.pptx-vue-outline-input[data-v-28182ac4]:focus {
|
|
2003
2003
|
background: rgb(255 255 255 / 0.1);
|
|
2004
2004
|
}
|
|
2005
2005
|
|
|
Binary file
|
|
Binary file
|
|
@@ -8379,7 +8379,7 @@ function qu(e) {
|
|
|
8379
8379
|
}
|
|
8380
8380
|
const h = await async function(e, t, n) {
|
|
8381
8381
|
if ("webrtc" === e) {
|
|
8382
|
-
const { WebrtcProvider: e } = await Promise.resolve().then(() => require("./y-webrtc-
|
|
8382
|
+
const { WebrtcProvider: e } = await Promise.resolve().then(() => require("./y-webrtc-KiXq-fxq.cjs")), o = new e(t.roomId, n, {
|
|
8383
8383
|
signaling: t.signaling?.length ? t.signaling : void 0,
|
|
8384
8384
|
password: t.authToken || void 0
|
|
8385
8385
|
}), l = (0, u.createDepartureChannel)(t.roomId, o.awareness);
|
|
@@ -8968,8 +8968,13 @@ function ad(e, t, n) {
|
|
|
8968
8968
|
}, i = () => ({
|
|
8969
8969
|
slides: e.value.map(h.cloneSlide),
|
|
8970
8970
|
template: r(t?.value ?? {})
|
|
8971
|
-
}), s = (
|
|
8972
|
-
e.value =
|
|
8971
|
+
}), s = (o) => {
|
|
8972
|
+
e.value = o.slides.map(h.cloneSlide), t && (t.value = r(o.template));
|
|
8973
|
+
const l = n?.activeSlideIndex;
|
|
8974
|
+
if (l) {
|
|
8975
|
+
const e = Math.max(o.slides.length - 1, 0);
|
|
8976
|
+
l.value > e && (l.value = e);
|
|
8977
|
+
}
|
|
8973
8978
|
};
|
|
8974
8979
|
return {
|
|
8975
8980
|
canUndo: (0, d.computed)(() => (l.value, o.canUndo)),
|
|
Binary file
|
package/dist/{useViewerSettingsDialog-Dern_Zdc.cjs.gz → useViewerSettingsDialog-TAbf4Ixp.cjs.gz}
RENAMED
|
Binary file
|
|
@@ -8365,7 +8365,7 @@ function zk(e) {
|
|
|
8365
8365
|
}
|
|
8366
8366
|
const x = await async function(e, t, n) {
|
|
8367
8367
|
if ("webrtc" === e) {
|
|
8368
|
-
const { WebrtcProvider: e } = await import("./y-webrtc-
|
|
8368
|
+
const { WebrtcProvider: e } = await import("./y-webrtc-swexTCT2.js"), a = new e(t.roomId, n, {
|
|
8369
8369
|
signaling: t.signaling?.length ? t.signaling : void 0,
|
|
8370
8370
|
password: t.authToken || void 0
|
|
8371
8371
|
}), l = un(t.roomId, a.awareness);
|
|
@@ -8954,8 +8954,13 @@ function Hk(e, t, n) {
|
|
|
8954
8954
|
}, r = () => ({
|
|
8955
8955
|
slides: e.value.map(lu.cloneSlide),
|
|
8956
8956
|
template: i(t?.value ?? {})
|
|
8957
|
-
}), s = (
|
|
8958
|
-
e.value =
|
|
8957
|
+
}), s = (a) => {
|
|
8958
|
+
e.value = a.slides.map(lu.cloneSlide), t && (t.value = i(a.template));
|
|
8959
|
+
const l = n?.activeSlideIndex;
|
|
8960
|
+
if (l) {
|
|
8961
|
+
const e = Math.max(a.slides.length - 1, 0);
|
|
8962
|
+
l.value > e && (l.value = e);
|
|
8963
|
+
}
|
|
8959
8964
|
};
|
|
8960
8965
|
return {
|
|
8961
8966
|
canUndo: Zr(() => (l.value, a.canUndo)),
|
|
Binary file
|
package/dist/{useViewerSettingsDialog-Bc0cDuC_.js.gz → useViewerSettingsDialog-r1bUiLdb.js.gz}
RENAMED
|
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-TAbf4Ixp.cjs"), t = require("../viewer-CDJjPn4g.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
|
@@ -1957,6 +1957,13 @@ declare interface UseEditorHistoryOptions {
|
|
|
1957
1957
|
* Advanced > "Maximum number of undos" threads `resolveHistoryDepth` here.
|
|
1958
1958
|
*/
|
|
1959
1959
|
maxDepth?: number;
|
|
1960
|
+
/**
|
|
1961
|
+
* The slide on screen. An undo or redo can shorten the deck under it (undoing
|
|
1962
|
+
* New Slide on the last slide removes the very slide being shown), so the
|
|
1963
|
+
* index is pulled back into the restored deck, as React's history does.
|
|
1964
|
+
* Without it the stage pointed past the end of the deck and drew nothing.
|
|
1965
|
+
*/
|
|
1966
|
+
activeSlideIndex?: Ref<number>;
|
|
1960
1967
|
}
|
|
1961
1968
|
|
|
1962
1969
|
export declare function useEditorOperations(input: UseEditorOperationsInput): EditorOperations;
|
package/dist/viewer/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { $ as a, Ar as s, Bn as r, C as e, Dr as o, Er as n, Hn as t, Kn as l, L as i, M as d, Mr as R, N as S, Nr as m, Or as C, P as b, Pr as w, S as c, Vn as v, X as u, Yn as f, Z as g, cr as j, dr as p, fr as x, j as y, jr as E, kr as M, lr as O, lt as P, nr as T, vr as A, w as D, x as I, yr as V } from "../useViewerSettingsDialog-
|
|
2
|
-
import { C as h, S as k, _ as B, a as N, b as Z, c as q, d as F, f as H, g as K, h as L, i as W, m as X, n as Y, o as $, p as _, r as z, s as G, t as J, u as Q, v as U, w as aa, y as sa } from "../viewer-
|
|
1
|
+
import { $ as a, Ar as s, Bn as r, C as e, Dr as o, Er as n, Hn as t, Kn as l, L as i, M as d, Mr as R, N as S, Nr as m, Or as C, P as b, Pr as w, S as c, Vn as v, X as u, Yn as f, Z as g, cr as j, dr as p, fr as x, j as y, jr as E, kr as M, lr as O, lt as P, nr as T, vr as A, w as D, x as I, yr as V } from "../useViewerSettingsDialog-r1bUiLdb.js";
|
|
2
|
+
import { C as h, S as k, _ as B, a as N, b as Z, c as q, d as F, f as H, g as K, h as L, i as W, m as X, n as Y, o as $, p as _, r as z, s as G, t as J, u as Q, v as U, w as aa, y as sa } from "../viewer-SxxyChcY.js";
|
|
3
3
|
export { F as AUDIENCE_HASH, V as ChartRenderer, U as CollaborationCursors, aa as CollaborationStatusIndicator, A as ConnectorRenderer, s as DEFAULT_CANVAS_HEIGHT, E as DEFAULT_CANVAS_WIDTH, R as DEFAULT_FILL_COLOR, m as DEFAULT_STROKE_COLOR, w as DEFAULT_TEXT_COLOR, v as ElementRenderer, x as EquationRenderer, Q as FollowModeBar, p as InkRenderer, h as InlineTextEditor, O as Model3DRenderer, j as OleRenderer, q as PowerPointViewer, B as RemoteSelectionOverlay, Z as RibbonToolbar, k as SelectionOverlay, sa as SlideCanvas, r as SlideStage, T as SmartArtRenderer, f as TableRenderer, l as WordArtText, t as ZoomRenderer, d as buildInitialGuides, H as clearAudienceContent, S as collectImagePaths, b as collectMediaElements, I as exportAllSlidesToSvg, c as exportAllSlidesToSvgBlobs, e as exportSlideToSvg, D as exportSlideToSvgBlob, n as getContainerStyle, o as getImageSrc, Y as getResolvedShapeClipPath, z as getResolvedShapeClipPathFor, C as getShapeFillStrokeStyle, M as getTextBlockStyle, _ as isAudienceTab, X as loadAudienceContent, J as overlayInlineTextSnapshot, L as parseAudienceNonce, K as storeAudienceContent, P as useCollaboration, W as useCollaborativeHistory, N as useCollaborativeState, a as useEditorHistory, g as useEditorOperations, u as useElementDrag, i as useInlineEditing, y as useLoadContent, $ as usePresenceTracking, G as useYjsProvider };
|
package/dist/viewer/index.js.br
CHANGED
|
Binary file
|
package/dist/viewer/index.js.gz
CHANGED
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const e = require("./useViewerSettingsDialog-
|
|
1
|
+
const e = require("./useViewerSettingsDialog-TAbf4Ixp.cjs");
|
|
2
2
|
require("./i18n.cjs");
|
|
3
3
|
let t = require("ooxml-ui/pptx"), n = require("vue"), o = require("lucide-vue-next"), a = require("clsx"), l = require("tailwind-merge"), r = require("ooxml-ui/pptx/ai"), i = require("ooxml-ui/pptx/i18n");
|
|
4
4
|
var s = Symbol("pptx-viewer-theme");
|
|
@@ -663,6 +663,8 @@ var fe = ["spellcheck", "aria-label"], ge = (0, n.defineComponent)({
|
|
|
663
663
|
return;
|
|
664
664
|
}
|
|
665
665
|
if ("Escape" === e.key) return e.preventDefault(), d && (u = !0, d.dispose()), void i("cancel");
|
|
666
|
+
const o = (0, t.mapInlineEditorChord)(e);
|
|
667
|
+
if (o) return e.preventDefault(), e.stopPropagation(), void ("commit" === o && s.value?.blur());
|
|
666
668
|
"Enter" !== e.key || d && (!p || c.value) || function() {
|
|
667
669
|
const e = window.getSelection();
|
|
668
670
|
if (!e || !e.isCollapsed || 0 === e.rangeCount) return;
|
|
@@ -2127,7 +2129,7 @@ var Pn = [".state"], In = (0, n.defineComponent)({
|
|
|
2127
2129
|
onDrawRequest: i
|
|
2128
2130
|
}, null, 40, Pn));
|
|
2129
2131
|
}
|
|
2130
|
-
}), _n = "4.36.
|
|
2132
|
+
}), _n = "4.36.2", An = Symbol("pptx-account-auth");
|
|
2131
2133
|
var zn = { class: "pptx-vue-account mt-8 flex max-w-[760px] flex-col gap-6" }, Mn = { class: "pptx-vue-account-section border border-border bg-card p-6 text-card-foreground" }, On = { class: "text-base font-semibold" }, Rn = { class: "mt-4 flex items-center gap-4" }, Ln = { class: "min-w-0 flex-1" }, Un = { class: "block text-xs font-medium text-muted-foreground" }, Hn = ["value", "placeholder"], Kn = { class: "mt-4" }, Gn = { class: "block text-xs font-medium text-muted-foreground" }, $n = { class: "mt-2 flex gap-2" }, jn = [
|
|
2132
2134
|
"aria-pressed",
|
|
2133
2135
|
"aria-label",
|
|
@@ -21923,8 +21925,13 @@ var oH = ["aria-label"], aH = { class: "pptx-vue-outline-bar" }, lH = { class: "
|
|
|
21923
21925
|
canvasSize: () => r.canvasSize,
|
|
21924
21926
|
canEdit: () => r.canEdit,
|
|
21925
21927
|
commit: (e, t) => i("commit", e, t)
|
|
21926
|
-
})
|
|
21927
|
-
|
|
21928
|
+
});
|
|
21929
|
+
let m;
|
|
21930
|
+
(0, n.onMounted)(() => {
|
|
21931
|
+
m = (0, t.listenForOutlineViewDismiss)(document, () => i("close"));
|
|
21932
|
+
}), (0, n.onBeforeUnmount)(() => m?.());
|
|
21933
|
+
const v = { [t.OUTLINE_VIEW_ATTR]: "true" };
|
|
21934
|
+
return (e, l) => ((0, n.openBlock)(), (0, n.createElementBlock)("div", (0, n.mergeProps)(v, {
|
|
21928
21935
|
class: "pptx-vue-outline-view",
|
|
21929
21936
|
role: "region",
|
|
21930
21937
|
"aria-label": (0, n.unref)(s)("pptx.view.outlineView")
|
|
@@ -21972,7 +21979,7 @@ var oH = ["aria-label"], aH = { class: "pptx-vue-outline-bar" }, lH = { class: "
|
|
|
21972
21979
|
var o, l, r;
|
|
21973
21980
|
}), 128))], 512)], 16, oH));
|
|
21974
21981
|
}
|
|
21975
|
-
}), pH = e._plugin_vue_export_helper_default(dH, [["__scopeId", "data-v-
|
|
21982
|
+
}), pH = e._plugin_vue_export_helper_default(dH, [["__scopeId", "data-v-28182ac4"]]);
|
|
21976
21983
|
function uH(e) {
|
|
21977
21984
|
if (e instanceof Element) return e.closest("[data-element-id]")?.dataset.elementId;
|
|
21978
21985
|
}
|
|
@@ -24453,7 +24460,7 @@ var WK = (0, n.defineComponent)({
|
|
|
24453
24460
|
var a;
|
|
24454
24461
|
}), 128))])], 8, LG))), 128))])) : ((0, n.openBlock)(), (0, n.createElementBlock)("div", zG, [(0, n.createElementVNode)("p", MG, (0, n.toDisplayString)((0, n.unref)(i)("pptx.accessibility.noIssuesFound")), 1), (0, n.createElementVNode)("p", OG, (0, n.toDisplayString)((0, n.unref)(i)("pptx.accessibility.noIssuesHint")), 1)]))], 8, PG));
|
|
24455
24462
|
}
|
|
24456
|
-
}), YG = (0, n.defineAsyncComponent)(() => Promise.resolve().then(() => require("./AiChatPanel-
|
|
24463
|
+
}), YG = (0, n.defineAsyncComponent)(() => Promise.resolve().then(() => require("./AiChatPanel-BeOTgP5C.cjs"))), XG = { class: "pptx-vue-custom-shows flex flex-col gap-2 p-2.5 text-xs text-foreground" }, ZG = { class: "pptx-vue-cs-header flex items-center" }, QG = { class: "pptx-vue-cs-title m-0 text-[13px] font-semibold" }, JG = { class: "pptx-vue-cs-list-row flex items-center gap-1.5" }, e$ = ["aria-label", "value"], t$ = {
|
|
24457
24464
|
key: 0,
|
|
24458
24465
|
value: "",
|
|
24459
24466
|
disabled: ""
|
|
@@ -26440,7 +26447,10 @@ var Nj = ["aria-busy", "tabindex"], Vj = {
|
|
|
26440
26447
|
slides: A,
|
|
26441
26448
|
templateElementsBySlideId: z,
|
|
26442
26449
|
activeSlide: we
|
|
26443
|
-
}), { selectedElementIds: ze, editTemplateMode: Me, activeTemplateElements: Oe, findActiveElement: Re, selectedElements: Le, mergedSlides: Ue, clearSelection: He } = Ae, Ke = e.useEditorHistory(A, z, {
|
|
26450
|
+
}), { selectedElementIds: ze, editTemplateMode: Me, activeTemplateElements: Oe, findActiveElement: Re, selectedElements: Le, mergedSlides: Ue, clearSelection: He } = Ae, Ke = e.useEditorHistory(A, z, {
|
|
26451
|
+
maxDepth: (0, t.resolveHistoryDepth)(S.value),
|
|
26452
|
+
activeSlideIndex: Se
|
|
26453
|
+
});
|
|
26444
26454
|
(0, n.watch)(() => (0, t.resolveHistoryDepth)(S.value), (e) => Ke.setMaxDepth(e));
|
|
26445
26455
|
const Ge = e.useEditorOperations({
|
|
26446
26456
|
slides: A,
|
|
Binary file
|
|
Binary file
|