pptx-vue-viewer 4.51.1 → 4.52.1
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 +12 -0
- package/dist/{AiChatPanel-ZkGRv9zq.js → AiChatPanel-DVG5Rf0V.js} +2 -2
- package/dist/AiChatPanel-DVG5Rf0V.js.br +0 -0
- package/dist/AiChatPanel-DVG5Rf0V.js.gz +0 -0
- package/dist/{AiChatPanel-DIEerAxW.cjs → AiChatPanel-J4KnSrkZ.cjs} +1 -1
- package/dist/AiChatPanel-J4KnSrkZ.cjs.br +0 -0
- package/dist/AiChatPanel-J4KnSrkZ.cjs.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 +11 -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 +3 -6
- package/dist/internals.js +1 -1
- package/dist/internals.js.br +0 -0
- package/dist/internals.js.gz +0 -0
- package/dist/{useViewerSettingsDialog-BzrOAuvq.cjs → useViewerSettingsDialog-lj_TAwRL.cjs} +3 -28
- package/dist/useViewerSettingsDialog-lj_TAwRL.cjs.br +0 -0
- package/dist/{useViewerSettingsDialog-BzrOAuvq.cjs.gz → useViewerSettingsDialog-lj_TAwRL.cjs.gz} +0 -0
- package/dist/{useViewerSettingsDialog-EEv9VhZX.js → useViewerSettingsDialog-uOPQHITn.js} +1582 -1607
- package/dist/useViewerSettingsDialog-uOPQHITn.js.br +0 -0
- package/dist/useViewerSettingsDialog-uOPQHITn.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 +11 -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-BEFgaxGx.cjs → viewer-BW2tkcwc.cjs} +73 -67
- package/dist/viewer-BW2tkcwc.cjs.br +0 -0
- package/dist/viewer-BW2tkcwc.cjs.gz +0 -0
- package/dist/{viewer-ubGxREWP.js → viewer-Bi5qzrM3.js} +6017 -6011
- package/dist/viewer-Bi5qzrM3.js.br +0 -0
- package/dist/viewer-Bi5qzrM3.js.gz +0 -0
- package/dist/{y-webrtc-qrKRE_dp.cjs → y-webrtc-CHFoitao.cjs} +1 -1
- package/dist/y-webrtc-CHFoitao.cjs.br +0 -0
- package/dist/y-webrtc-CHFoitao.cjs.gz +0 -0
- package/dist/{y-webrtc-Dux5fgCn.js → y-webrtc-alqckhj0.js} +1 -1
- package/dist/y-webrtc-alqckhj0.js.br +0 -0
- package/dist/y-webrtc-alqckhj0.js.gz +0 -0
- package/package.json +3 -3
- package/dist/AiChatPanel-DIEerAxW.cjs.br +0 -0
- package/dist/AiChatPanel-DIEerAxW.cjs.gz +0 -0
- package/dist/AiChatPanel-ZkGRv9zq.js.br +0 -0
- package/dist/AiChatPanel-ZkGRv9zq.js.gz +0 -0
- package/dist/useViewerSettingsDialog-BzrOAuvq.cjs.br +0 -0
- package/dist/useViewerSettingsDialog-EEv9VhZX.js.br +0 -0
- package/dist/useViewerSettingsDialog-EEv9VhZX.js.gz +0 -0
- package/dist/viewer-BEFgaxGx.cjs.br +0 -0
- package/dist/viewer-BEFgaxGx.cjs.gz +0 -0
- package/dist/viewer-ubGxREWP.js.br +0 -0
- package/dist/viewer-ubGxREWP.js.gz +0 -0
- package/dist/y-webrtc-Dux5fgCn.js.br +0 -0
- package/dist/y-webrtc-Dux5fgCn.js.gz +0 -0
- package/dist/y-webrtc-qrKRE_dp.cjs.br +0 -0
- package/dist/y-webrtc-qrKRE_dp.cjs.gz +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,18 @@ 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.52.1](https://github.com/ChristopherVR/ooxml/releases/tag/pptx-vue-viewer@4.52.1) - 2026-10-26
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
- **pptx:** Keep comment @-mentions on their text through edits, trims and saves ([#206](https://github.com/ChristopherVR/ooxml/issues/206)) ([09a420f](https://github.com/ChristopherVR/ooxml/commit/09a420fb44364fff04df9aa5550684519bec02cd))
|
|
15
|
+
|
|
16
|
+
## [4.52.0](https://github.com/ChristopherVR/ooxml/releases/tag/pptx-vue-viewer@4.52.0) - 2026-10-25
|
|
17
|
+
|
|
18
|
+
### Features
|
|
19
|
+
|
|
20
|
+
- **pptx:** Let hosts block external content with allowExternalContent ([#201](https://github.com/ChristopherVR/ooxml/issues/201)) ([903c8e2](https://github.com/ChristopherVR/ooxml/commit/903c8e201dbd36252a5e82a388dcb59e30f3afc4))
|
|
21
|
+
|
|
10
22
|
## [4.51.1](https://github.com/ChristopherVR/ooxml/releases/tag/pptx-vue-viewer@4.51.1) - 2026-10-25
|
|
11
23
|
|
|
12
24
|
### Bug Fixes
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Mr as e } from "./useViewerSettingsDialog-
|
|
2
|
-
import { l as t, x as a } from "./viewer-
|
|
1
|
+
import { Mr as e } from "./useViewerSettingsDialog-uOPQHITn.js";
|
|
2
|
+
import { l as t, x as a } from "./viewer-Bi5qzrM3.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
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const e = require("./useViewerSettingsDialog-
|
|
1
|
+
const e = require("./useViewerSettingsDialog-lj_TAwRL.cjs"), t = require("./viewer-BW2tkcwc.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
|
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-lj_TAwRL.cjs"), r = require("./viewer-BW2tkcwc.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.d.ts
CHANGED
|
@@ -195,6 +195,7 @@ declare const __VLS_export: DefineComponent<PowerPointViewerProps, PowerPointVie
|
|
|
195
195
|
"onNotes-update"?: ((notes: string) => any) | undefined;
|
|
196
196
|
"onPresentation-change"?: ((presenting: boolean) => any) | undefined;
|
|
197
197
|
}>, {
|
|
198
|
+
allowExternalContent: boolean;
|
|
198
199
|
canEdit: boolean;
|
|
199
200
|
readOnly: boolean;
|
|
200
201
|
autosave: boolean;
|
|
@@ -892,6 +893,16 @@ export declare interface PowerPointViewerProps {
|
|
|
892
893
|
* invalid `baseUrl` disables the fallback (with a console warning).
|
|
893
894
|
*/
|
|
894
895
|
googleFonts?: GoogleFontsOption;
|
|
896
|
+
/**
|
|
897
|
+
* Host switch for content a deck links from another server (http(s)
|
|
898
|
+
* relationship targets): pictures, picture fills and bullets, video, audio
|
|
899
|
+
* and poster frames. `false`: none of it is fetched. `true`: it is allowed.
|
|
900
|
+
* Either value locks File > Options > Trust Center > "Allow external
|
|
901
|
+
* content" to match; unset keeps the user's choice there. Google Fonts
|
|
902
|
+
* requests are separate (see `googleFonts`).
|
|
903
|
+
* A change applies from the next load.
|
|
904
|
+
*/
|
|
905
|
+
allowExternalContent?: boolean;
|
|
895
906
|
/**
|
|
896
907
|
* Show the editor chrome: title bar, ribbon and toolbar, protected-view
|
|
897
908
|
* and read-only banners, the mobile toolbar and the status bar. Default
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { An as a, C as s, S as o, ct as e, jn as r, pt as t, w as i, 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 c, a as f, b as g, c as j, d as v, f as P, g as R, h as y, i as A, j as D, k as E, m as F, o as I, p as M, s as O, u as T, v as V, w as h, x as k, y as B } from "./viewer-
|
|
1
|
+
import { An as a, C as s, S as o, ct as e, jn as r, pt as t, w as i, x as l } from "./useViewerSettingsDialog-uOPQHITn.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 c, a as f, b as g, c as j, d as v, f as P, g as R, h as y, i as A, j as D, k as E, m as F, o as I, p as M, s as O, u as T, v as V, w as h, x as k, y as B } from "./viewer-Bi5qzrM3.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 ta, loadSessionDeck as ia, parsePresentationSessionId as la, presentationBaseName as na, rememberSessionDeck as ma, restoreSessionDeck as pa, savedPresentationFileName as wa } from "ooxml-ui/pptx";
|
|
4
4
|
export { v as AUDIENCE_HASH, N as BACKSTAGE_CARD_IDS, _ as BACKSTAGE_PAGE_IDS, q as CANVAS_CONTEXT_MENU_COMMAND_IDS, V as CollaborationCursors, h as CollaborationStatusIndicator, z as EDITOR_SHORTCUT_ACTION_IDS, G as ELEMENT_CONTEXT_MENU_COMMAND_IDS, r as ElementRenderer, T 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, j as PowerPointViewer, U as RIBBON_TAB_IDS, c as RemoteSelectionOverlay, g as RibbonToolbar, B 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, i as exportSlideToSvgBlob, oa as forgetSessionDeck, ea as getSessionTabId, M as isAudienceTab, ra as isLegacyBinaryPresentation, ta as isSupportedPresentationFile, F as loadAudienceContent, ia as loadSessionDeck, y as parseAudienceNonce, la as parsePresentationSessionId, na as presentationBaseName, C as provideViewerTheme, ma as rememberSessionDeck, e as renderToCanvas, pa as restoreSessionDeck, wa as savedPresentationFileName, R as storeAudienceContent, E as themeToCssVars, t as useCollaboration, A as useCollaborativeHistory, f as useCollaborativeState, I as usePresenceTracking, p as useThemeStyle, m as useViewerTheme, O as useYjsProvider, n as vermilionDarkColors, D 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-lj_TAwRL.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
|
@@ -1937,11 +1937,8 @@ export declare interface UseCommentsResult {
|
|
|
1937
1937
|
slideComments: ComputedRef<PptxComment[]>;
|
|
1938
1938
|
/**
|
|
1939
1939
|
* Append a new comment to the active slide. `mentions` (from the `@`-mention
|
|
1940
|
-
* typeahead; `insertCommentMention`, `pptx
|
|
1941
|
-
*
|
|
1942
|
-
* parameter, so this patches the comment it appends (always the last array
|
|
1943
|
-
* entry - see `addCommentToList`) after the fact rather than duplicating its
|
|
1944
|
-
* id-generation and array-shape logic here.
|
|
1940
|
+
* typeahead; `insertCommentMention`, `ooxml-ui/pptx`) are offsets into `text`
|
|
1941
|
+
* as typed; the shared `addCommentToList` stores them moved with the trim.
|
|
1945
1942
|
* @returns the NEW full comment array for the active slide, or `null` when
|
|
1946
1943
|
* `text` is blank.
|
|
1947
1944
|
*/
|
|
@@ -1960,7 +1957,7 @@ export declare interface UseCommentsResult {
|
|
|
1960
1957
|
* Append a threaded reply to the comment `parentId` on the active slide. The
|
|
1961
1958
|
* reply is nested inside the parent's `replies` array and stamped with
|
|
1962
1959
|
* `threadId = parentId` (mirroring React's `handleSubmitReply`). `mentions`
|
|
1963
|
-
*
|
|
1960
|
+
* are stored the same way {@link addComment} stores them.
|
|
1964
1961
|
* @returns the NEW full comment array, or `null` when the text is blank or
|
|
1965
1962
|
* the parent is not found.
|
|
1966
1963
|
*/
|
package/dist/internals.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as a, $t as s, A as t, At as n, B as r, Bt as e, Cn as i, Ct as o, D as g, Dt as p, E as m, Et as y, F as T, Ft as f, G as h, Gn as j, Gt as l, H as v, Hn as x, Ht as L, I as O, It as _, J as b, Jn as d, Jt as u, K as w, Kn as D, Kt as E, L as F, Lt as G, Mt as H, Nt as J, O as K, On as Q, Ot as S, Pt as U, Q as V, Qn as W, Qt as X, Rt as Y, Sn as Z, St as c, T as k, Tn as q, Tt as z, U as A, Un as B, Ut as C, V as I, Vt as M, W as P, Wn as $, Wt as N, X as R, Xn as aa, Xt as sa, Y as ta, Yn as na, Yt as ra, Z as ea, Zn as ia, Zt as oa, _ as ga, _n as pa, _r as ma, _t as ya, a as Ta, an as fa, at as ha, b as ja, bn as la, bt as va, c as xa, cr as La, d as Oa, dt as _a, en as ba, et as da, f as ua, fn as wa, ft as Da, g as Ea, gn as Fa, gr as Ga, gt as Ha, h as Ja, hn as Ka, hr as Qa, i as Sa, in as Ua, it as Va, j as Wa, jr as Xa, jt as Ya, k as Za, kt as ca, l as ka, lt as qa, m as za, mn as Aa, n as Ba, nn as Ca, nt as Ia, o as Ma, on as Pa, ot as $a, p as Na, pn as Ra, pt as as, q as ss, qt as ts, r as ns, rn as rs, rt as es, s as is, st as os, t as gs, tn as ps, tr as ms, tt as ys, u as Ts, ut as fs, v as hs, vn as js, vt as ls, wn as vs, wt as xs, xn as Ls, xt as Os, y as _s, yn as bs, z as ds, zt as us } from "./useViewerSettingsDialog-
|
|
1
|
+
import { $ as a, $t as s, A as t, At as n, B as r, Bt as e, Cn as i, Ct as o, D as g, Dt as p, E as m, Et as y, F as T, Ft as f, G as h, Gn as j, Gt as l, H as v, Hn as x, Ht as L, I as O, It as _, J as b, Jn as d, Jt as u, K as w, Kn as D, Kt as E, L as F, Lt as G, Mt as H, Nt as J, O as K, On as Q, Ot as S, Pt as U, Q as V, Qn as W, Qt as X, Rt as Y, Sn as Z, St as c, T as k, Tn as q, Tt as z, U as A, Un as B, Ut as C, V as I, Vt as M, W as P, Wn as $, Wt as N, X as R, Xn as aa, Xt as sa, Y as ta, Yn as na, Yt as ra, Z as ea, Zn as ia, Zt as oa, _ as ga, _n as pa, _r as ma, _t as ya, a as Ta, an as fa, at as ha, b as ja, bn as la, bt as va, c as xa, cr as La, d as Oa, dt as _a, en as ba, et as da, f as ua, fn as wa, ft as Da, g as Ea, gn as Fa, gr as Ga, gt as Ha, h as Ja, hn as Ka, hr as Qa, i as Sa, in as Ua, it as Va, j as Wa, jr as Xa, jt as Ya, k as Za, kt as ca, l as ka, lt as qa, m as za, mn as Aa, n as Ba, nn as Ca, nt as Ia, o as Ma, on as Pa, ot as $a, p as Na, pn as Ra, pt as as, q as ss, qt as ts, r as ns, rn as rs, rt as es, s as is, st as os, t as gs, tn as ps, tr as ms, tt as ys, u as Ts, ut as fs, v as hs, vn as js, vt as ls, wn as vs, wt as xs, xn as Ls, xt as Os, y as _s, yn as bs, z as ds, zt as us } from "./useViewerSettingsDialog-uOPQHITn.js";
|
|
2
2
|
export { S as CINEMATIC_TRANSITION_KEYFRAMES, Sa as DEFAULT_MAX_VERSIONS, ca as DEFAULT_MORPH_DURATION_MS, Qa as DEFAULT_RENDERING_3D_FLAGS, n as DEFAULT_TRANSITION_DURATION_MS, Ya as EASE, X as ERASER_RADIUS, y as FragmentedTransitionLayer, s as HIGHLIGHTER_OPACITY, ba as HIGHLIGHTER_WIDTH, H as INSTANT, Ls as MOBILE_BREAKPOINT, Z as MOBILE_LANDSCAPE_MAX_HEIGHT, z as MorphExtraLayers, a as NUDGE_LARGE, da as NUDGE_SMALL, J as P14_TRANSITION_KEYFRAMES, U as P14_TRANSITION_KEYFRAMES_2, f as P14_TRANSITION_KEYFRAMES_ALL, ps as PEN_WIDTH, xs as PresentationTransitionOverlay, _ as RANDOM_ELIGIBLE_TYPES, ga as RIBBON_ALIGN, Ga as Rendering3DFlagsKey, G as SLIDE_TRANSITION_KEYFRAMES, Y as SLIDE_TRANSITION_KEYFRAMES_CSS, Ra as SMARTART_COLOR_SCHEMES, Aa as SMARTART_STYLE_OPTIONS, i as TABLET_BREAKPOINT, us as TRANSITION_SPEED_DURATION_MS, x as TableSelectionKey, e as WHEEL_SPOKE_COUNTS, fa as buildClickGroups, B as computeCellSelection, js as computeDocumentStatistics, Os as computeElapsed, bs as countWords, Ca as createStroke, rs as eraseStrokesAtPoint, c as formatRehearseMs, fs as generateCommentId, M as getCinematicTransitionAnimations, L as getP14TransitionAnimations, C as getSlideTransitionAnimations, $ as injectTableSelection, na as inlineEditorRect, vs as isMobileViewport, aa as nodeIdsInRenderOrder, t as parseSignaturesFromBuffer, j as provideTableSelection, N as resolveDirection, l as resolveDirection8, E as resolveOrientation, ys as resolveShortcutAction, ts as resolveSlideTransition, u as resolveTransitionDurationMs, ra as resolveWheelSpokeCount, Ka as smartArtLayoutLabel, ia as textNodeIdsInRenderOrder, hs as toShapePreset, ls as useAccessibility, ya as useAlignGroup, Pa as useAnimationPlayback, Ha as useAutosave, pa as useChartEditing, as as useCollaboration, Da as useCollaborationWiring, La as useColorChangeImage, _a as useComments, qa as useCommentsWiring, os as useContextMenu, $a as useCustomShows, ha as useCustomShowsWiring, Fa as useDebouncedCallback, Va as useDocumentPropertiesDialog, la as useDocumentStatistics, es as useEditorHistory, V as useEditorKeyboard, ea as useEditorOperations, R as useElementDrag, ta as useElementInsertion, b as useEmbeddedFonts, ss as useExport, w as useExportProgress, P as useExportWiring, A as useFindReplace, v as useFontEmbedding, I as useFormatPainter, r as useHeaderFooterDialog, ds as useInkDrawing, F as useInlineEditing, O as useInsertElementDialogs, q as useIsMobile, T as useKeyboardInsets, Ia as useKeyboardShortcuts, Wa as useLoadContent, Za as useMasterViewState, h as useMediaExport, K as useMobileChrome, ms as useModel3dScene, p as useMorphTransitionOverlay, g as useMultiSelectOps, m as usePasswordProtection, Ua as usePresentationAnnotations, k as usePresentationModeWiring, ja as usePrint, o as useRehearseTimings, ma as useRendering3DFlags, _s as useRibbonActions, Ba as useRibbonProps, Ea as useRibbonUiState, Ja as useSectionOperations, za as useSelectionPaneWiring, Xa as useSheetDismissDrag, Na as useSignatureWorkflow, va as useSignatures, ua as useSlideMutations, Oa as useSlideOperations, Ts as useSlideShowSettings, ka as useSlideTemplateInsertion, wa as useSmartArtEditing, d as useSmartArtHoverRect, W as useSmartArtInlineEditState, xa as useSmartArtNodeEditContext, is as useTableCellEditingContext, D as useTableCellSelection, Ma as useThemeEditing, oa as useToolbarAutoHide, Q as useToolbarVisibility, sa as useTouchGestures, Ta as useVersionHistory, ns as useVersionHistoryWiring, gs as useViewerSettingsDialog };
|
package/dist/internals.js.br
CHANGED
|
Binary file
|
package/dist/internals.js.gz
CHANGED
|
Binary file
|
|
@@ -7937,7 +7937,7 @@ function qu(e) {
|
|
|
7937
7937
|
var Xu = {
|
|
7938
7938
|
loadYjs: () => import("yjs"),
|
|
7939
7939
|
loadWebsocket: () => import("y-websocket"),
|
|
7940
|
-
loadWebrtc: () => Promise.resolve().then(() => require("./y-webrtc-
|
|
7940
|
+
loadWebrtc: () => Promise.resolve().then(() => require("./y-webrtc-CHFoitao.cjs"))
|
|
7941
7941
|
};
|
|
7942
7942
|
function Zu(e, t) {
|
|
7943
7943
|
const n = (0, d.ref)(!1), o = (0, d.ref)(!1), l = (0, d.ref)(void 0), a = (0, u.createCollaborationLivePatcher)();
|
|
@@ -8261,35 +8261,10 @@ function od(e) {
|
|
|
8261
8261
|
const t = (0, d.computed)(() => (0, d.toValue)(e.comments) ?? []);
|
|
8262
8262
|
return {
|
|
8263
8263
|
slideComments: t,
|
|
8264
|
-
addComment: (n, o, l, a) =>
|
|
8265
|
-
const r = (0, u.addCommentToList)(t.value, n, (0, d.toValue)(e.authorName), o, l);
|
|
8266
|
-
return r ? function(e, t) {
|
|
8267
|
-
if (!t || 0 === t.length) return e;
|
|
8268
|
-
const n = e.length - 1;
|
|
8269
|
-
return e.map((e, o) => o === n ? {
|
|
8270
|
-
...e,
|
|
8271
|
-
mentions: t
|
|
8272
|
-
} : e);
|
|
8273
|
-
}(r, a) : null;
|
|
8274
|
-
},
|
|
8264
|
+
addComment: (n, o, l, a) => (0, u.addCommentToList)(t.value, n, (0, d.toValue)(e.authorName), o, l, void 0, a),
|
|
8275
8265
|
removeComment: (e) => (0, u.removeCommentFromList)(t.value, e),
|
|
8276
8266
|
resolveComment: (e) => (0, u.toggleCommentResolvedInList)(t.value, e),
|
|
8277
|
-
replyToComment: (n, o, l) =>
|
|
8278
|
-
const a = (0, u.replyToCommentInList)(t.value, n, o, (0, d.toValue)(e.authorName));
|
|
8279
|
-
return a ? function(e, t, n) {
|
|
8280
|
-
return n && 0 !== n.length ? e.map((e) => {
|
|
8281
|
-
if (e.id !== t || !e.replies || 0 === e.replies.length) return e;
|
|
8282
|
-
const o = e.replies.length - 1;
|
|
8283
|
-
return {
|
|
8284
|
-
...e,
|
|
8285
|
-
replies: e.replies.map((e, t) => t === o ? {
|
|
8286
|
-
...e,
|
|
8287
|
-
mentions: n
|
|
8288
|
-
} : e)
|
|
8289
|
-
};
|
|
8290
|
-
}) : e;
|
|
8291
|
-
}(a, n, l) : null;
|
|
8292
|
-
}
|
|
8267
|
+
replyToComment: (n, o, l) => (0, u.replyToCommentInList)(t.value, n, o, (0, d.toValue)(e.authorName), l)
|
|
8293
8268
|
};
|
|
8294
8269
|
}
|
|
8295
8270
|
function ld(e) {
|
|
Binary file
|