pptx-vue-viewer 4.0.0 → 4.1.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 +6 -0
- package/README.md +8 -0
- package/dist/{AiChatPanel-BhRLhRk4.cjs → AiChatPanel-C9eK71Og.cjs} +1 -1
- package/dist/AiChatPanel-C9eK71Og.cjs.br +0 -0
- package/dist/AiChatPanel-C9eK71Og.cjs.gz +0 -0
- package/dist/{AiChatPanel-DqghVrtM.js → AiChatPanel-JedADygv.js} +2 -2
- package/dist/AiChatPanel-JedADygv.js.br +0 -0
- package/dist/AiChatPanel-JedADygv.js.gz +0 -0
- package/dist/{dist-DpX6ZtSf.cjs → dist-Br8KDhMp.cjs} +27 -21
- package/dist/dist-Br8KDhMp.cjs.br +0 -0
- package/dist/dist-Br8KDhMp.cjs.gz +0 -0
- package/dist/{dist-Bko1-oFe.js → dist-DSVV_5rB.js} +27 -21
- package/dist/dist-DSVV_5rB.js.br +0 -0
- package/dist/dist-DSVV_5rB.js.gz +0 -0
- package/dist/gif-encoder-CICb6ayU.cjs +2 -0
- package/dist/gif-encoder-CICb6ayU.cjs.br +0 -0
- package/dist/gif-encoder-CICb6ayU.cjs.gz +0 -0
- package/dist/gif-encoder-D7z5XpDB.js +2 -0
- package/dist/gif-encoder-D7z5XpDB.js.br +0 -0
- package/dist/gif-encoder-D7z5XpDB.js.gz +0 -0
- package/dist/i18n/de.cjs +2 -0
- package/dist/i18n/de.cjs.br +0 -0
- package/dist/i18n/de.cjs.gz +0 -0
- package/dist/i18n/de.mjs +2 -0
- package/dist/i18n/de.mjs.br +0 -0
- package/dist/i18n/de.mjs.gz +0 -0
- package/dist/i18n/es.cjs +2 -0
- package/dist/i18n/es.cjs.br +0 -0
- package/dist/i18n/es.cjs.gz +0 -0
- package/dist/i18n/es.mjs +2 -0
- package/dist/i18n/es.mjs.br +0 -0
- package/dist/i18n/es.mjs.gz +0 -0
- package/dist/i18n/fr.cjs +2 -0
- package/dist/i18n/fr.cjs.br +0 -0
- package/dist/i18n/fr.cjs.gz +0 -0
- package/dist/i18n/fr.mjs +2 -0
- package/dist/i18n/fr.mjs.br +0 -0
- package/dist/i18n/fr.mjs.gz +0 -0
- package/dist/i18n/zh-CN.cjs +2 -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 +2 -0
- package/dist/i18n/zh-CN.mjs.br +0 -0
- package/dist/i18n/zh-CN.mjs.gz +0 -0
- package/dist/{i18n-BMYGC7RW.cjs → i18n-BUjfZOiM.cjs} +2 -0
- package/dist/i18n-BUjfZOiM.cjs.br +0 -0
- package/dist/i18n-BUjfZOiM.cjs.gz +0 -0
- package/dist/{i18n-CRTWC-4k.js → i18n-cTdK-NvK.js} +2 -0
- package/dist/i18n-cTdK-NvK.js.br +0 -0
- package/dist/i18n-cTdK-NvK.js.gz +0 -0
- package/dist/i18n.cjs +1 -1
- package/dist/i18n.cjs.br +0 -0
- package/dist/i18n.cjs.gz +0 -0
- package/dist/i18n.js +1 -1
- package/dist/i18n.js.br +0 -0
- package/dist/i18n.js.gz +0 -0
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.br +0 -0
- package/dist/index.cjs.gz +0 -0
- package/dist/index.d.ts +137 -3
- 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 +115 -0
- package/dist/internals.js +2 -2
- package/dist/internals.js.br +0 -0
- package/dist/internals.js.gz +0 -0
- package/dist/pptx-vue-viewer.css +4 -4
- package/dist/pptx-vue-viewer.css.br +0 -0
- package/dist/pptx-vue-viewer.css.gz +0 -0
- package/dist/smartart-3d-DNJZ9ZbV.js +278 -0
- package/dist/smartart-3d-DNJZ9ZbV.js.br +0 -0
- package/dist/smartart-3d-DNJZ9ZbV.js.gz +0 -0
- package/dist/smartart-3d-Dm0vCBX4.cjs +276 -0
- package/dist/smartart-3d-Dm0vCBX4.cjs.br +0 -0
- package/dist/smartart-3d-Dm0vCBX4.cjs.gz +0 -0
- package/dist/{useViewerSettingsDialog-UwmccsEe.js → useViewerSettingsDialog-Cgs5nn6a.js} +8520 -7542
- package/dist/useViewerSettingsDialog-Cgs5nn6a.js.br +0 -0
- package/dist/useViewerSettingsDialog-Cgs5nn6a.js.gz +0 -0
- package/dist/{useViewerSettingsDialog-DsrqDbBi.cjs → useViewerSettingsDialog-w5_IIp3-.cjs} +10052 -9053
- package/dist/useViewerSettingsDialog-w5_IIp3-.cjs.br +0 -0
- package/dist/useViewerSettingsDialog-w5_IIp3-.cjs.gz +0 -0
- package/dist/viewer/index.cjs +2 -2
- package/dist/viewer/index.cjs.br +0 -0
- package/dist/viewer/index.cjs.gz +0 -0
- package/dist/viewer/index.d.ts +735 -20
- 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-tvULTmsh.js → viewer-Bj84aywU.js} +10492 -10433
- package/dist/viewer-Bj84aywU.js.br +0 -0
- package/dist/viewer-Bj84aywU.js.gz +0 -0
- package/dist/{viewer-Cpc0zHJN.cjs → viewer-DW4Hra5s.cjs} +716 -647
- package/dist/viewer-DW4Hra5s.cjs.br +0 -0
- package/dist/viewer-DW4Hra5s.cjs.gz +0 -0
- package/package.json +2 -2
- package/dist/AiChatPanel-BhRLhRk4.cjs.br +0 -0
- package/dist/AiChatPanel-BhRLhRk4.cjs.gz +0 -0
- package/dist/AiChatPanel-DqghVrtM.js.br +0 -0
- package/dist/AiChatPanel-DqghVrtM.js.gz +0 -0
- package/dist/dist-Bko1-oFe.js.br +0 -0
- package/dist/dist-Bko1-oFe.js.gz +0 -0
- package/dist/dist-DpX6ZtSf.cjs.br +0 -0
- package/dist/dist-DpX6ZtSf.cjs.gz +0 -0
- package/dist/gif-encoder-Cp0n6Ur2.js +0 -2
- package/dist/gif-encoder-Cp0n6Ur2.js.br +0 -0
- package/dist/gif-encoder-Cp0n6Ur2.js.gz +0 -0
- package/dist/gif-encoder-buQbKrtH.cjs +0 -2
- package/dist/gif-encoder-buQbKrtH.cjs.br +0 -0
- package/dist/gif-encoder-buQbKrtH.cjs.gz +0 -0
- package/dist/i18n-BMYGC7RW.cjs.br +0 -0
- package/dist/i18n-BMYGC7RW.cjs.gz +0 -0
- package/dist/i18n-CRTWC-4k.js.br +0 -0
- package/dist/i18n-CRTWC-4k.js.gz +0 -0
- package/dist/smartart-3d-DbBWzji8.cjs +0 -203
- package/dist/smartart-3d-DbBWzji8.cjs.br +0 -0
- package/dist/smartart-3d-DbBWzji8.cjs.gz +0 -0
- package/dist/smartart-3d-m84Wdu08.js +0 -205
- package/dist/smartart-3d-m84Wdu08.js.br +0 -0
- package/dist/smartart-3d-m84Wdu08.js.gz +0 -0
- package/dist/useViewerSettingsDialog-DsrqDbBi.cjs.br +0 -0
- package/dist/useViewerSettingsDialog-DsrqDbBi.cjs.gz +0 -0
- package/dist/useViewerSettingsDialog-UwmccsEe.js.br +0 -0
- package/dist/useViewerSettingsDialog-UwmccsEe.js.gz +0 -0
- package/dist/viewer-Cpc0zHJN.cjs.br +0 -0
- package/dist/viewer-Cpc0zHJN.cjs.gz +0 -0
- package/dist/viewer-tvULTmsh.js.br +0 -0
- package/dist/viewer-tvULTmsh.js.gz +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,12 @@ A release listed with no entries carried no Conventional Commit in this package'
|
|
|
7
7
|
scope: scripts/release-plan.mjs re-releases a package whenever any of its files
|
|
8
8
|
change, not only on conventional ones.
|
|
9
9
|
|
|
10
|
+
## [4.0.0](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-vue-viewer@4.0.0) - 2026-09-18
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
- **core:** Switch to emf-converter's unified convertMetafileToDataUrl (by @ChristopherVR) ([70a2ea5](https://github.com/ChristopherVR/pptx-viewer/commit/70a2ea5059af31627dfa1f0a7ebe5e12219804bb))
|
|
15
|
+
|
|
10
16
|
## [3.21.0](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-vue-viewer@3.21.0) - 2026-09-17
|
|
11
17
|
|
|
12
18
|
### Features
|
package/README.md
CHANGED
|
@@ -266,6 +266,14 @@ for the `addElement` contract and a core-factory example.
|
|
|
266
266
|
|
|
267
267
|
### Composing a custom viewer shell
|
|
268
268
|
|
|
269
|
+
For host-owned collaboration, `useCollaboration` accepts a reactive `collaboration`
|
|
270
|
+
getter or shallow ref and exposes `shellState`: effective `canEdit`, connection
|
|
271
|
+
status, sanitized remote users and connected count. Use it for both custom controls
|
|
272
|
+
and their edit handlers. The public `/viewer` entry also exports `InlineTextEditor`
|
|
273
|
+
and `useInlineEditing` for reusing the native inline editing behavior.
|
|
274
|
+
See the [custom-shell collaboration guide](https://christophervr.github.io/pptx-viewer/vue/collaboration#custom-host-chrome)
|
|
275
|
+
and `demos/demo-vue/src/HostOwnedHeadlessEditor.vue` for complete wiring.
|
|
276
|
+
|
|
269
277
|
`<PowerPointViewer>` bundles the slide canvas, ribbon, inspector, and every
|
|
270
278
|
dialog into one component. If you only want a subset, for example your own
|
|
271
279
|
chrome around just the ribbon and the slide canvas, import the pieces
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const e = require("./useViewerSettingsDialog-
|
|
1
|
+
const e = require("./useViewerSettingsDialog-w5_IIp3-.cjs"), t = require("./viewer-DW4Hra5s.cjs");
|
|
2
2
|
let r = require("vue"), a = require("lucide-vue-next"), n = require("ai");
|
|
3
3
|
var o = /* @__PURE__ */ new Set([
|
|
4
4
|
"input-available",
|
|
Binary file
|
|
Binary file
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Zn as e } from "./useViewerSettingsDialog-
|
|
2
|
-
import { S as t, T as a, _ as s, b as r, d as l, f as o, g as n, h as i, m as p, o as d, p as c, u, v as m, x, y as g } from "./viewer-
|
|
1
|
+
import { Zn as e } from "./useViewerSettingsDialog-Cgs5nn6a.js";
|
|
2
|
+
import { S as t, T as a, _ as s, b as r, d as l, f as o, g as n, h as i, m as p, o as d, p as c, u, v as m, x, y as g } from "./viewer-Bj84aywU.js";
|
|
3
3
|
import { Fragment as f, Suspense as b, computed as v, createBlock as h, createCommentVNode as y, createElementBlock as k, createElementVNode as w, createTextVNode as C, createVNode as P, defineComponent as S, nextTick as T, normalizeClass as I, normalizeStyle as j, onBeforeUnmount as _, onMounted as A, openBlock as E, ref as M, renderList as F, resolveDynamicComponent as B, shallowRef as D, toDisplayString as N, unref as L, vModelText as R, watch as H, withAsyncContext as W, withCtx as z, withDirectives as V } from "vue";
|
|
4
4
|
import { Bot as K, ChartColumn as O, Check as U, Crosshair as Z, Eye as $, Film as q, GitMerge as G, History as J, LayoutTemplate as Q, LoaderCircle as X, MessageSquare as Y, MessageSquarePlus as ee, Move as te, Navigation as ae, Palette as se, Pin as re, PinOff as le, Plus as oe, Search as ne, Send as ie, Shapes as pe, Sparkles as de, Square as ce, StickyNote as ue, Table as me, Trash2 as xe, TriangleAlert as ge, Type as fe, User as be, Wrench as ve, X as he } from "lucide-vue-next";
|
|
5
5
|
import { getToolOrDynamicToolName as ye, isDynamicToolUIPart as ke, isToolUIPart as we } from "ai";
|
|
Binary file
|
|
Binary file
|
|
@@ -32508,7 +32508,7 @@ function ib(e) {
|
|
|
32508
32508
|
return t;
|
|
32509
32509
|
}
|
|
32510
32510
|
function ob(e, t) {
|
|
32511
|
-
const r = [], n = new RegExp(`<([A-Za-z_][\\w.-]*:)?${t}\\
|
|
32511
|
+
const r = [], n = new RegExp(`<([A-Za-z_][\\w.-]*:)?${t}(?=[\\s/>])[^>]*>([\\s\\S]*?)<\\/\\1${t}\\s*>`, "gu");
|
|
32512
32512
|
for (const t of e.matchAll(n)) r.push(ib(t[2]));
|
|
32513
32513
|
return r;
|
|
32514
32514
|
}
|
|
@@ -36657,18 +36657,25 @@ function fk(e, t, r, n, i, o, a, s = ew, l, c, d) {
|
|
|
36657
36657
|
return "number" == typeof s && "number" == typeof l && s > 0 && l > 0 ? s / l : void 0;
|
|
36658
36658
|
}(e, s, r.length, d), v = function(e, t) {
|
|
36659
36659
|
return t.reverse ? [...e].reverse() : e;
|
|
36660
|
-
}(r, t), w = v.length, T = "horizontal" === t.orientation, S = (T ? p : u) - 2 * nk, C = (T ? u : p) - 2 * nk,
|
|
36660
|
+
}(r, t), w = v.length, T = "horizontal" === t.orientation, S = (T ? p : u) - 2 * nk, C = (T ? u : p) - 2 * nk, _ = T ? void 0 : function(e, t) {
|
|
36661
|
+
const r = rS(e.node);
|
|
36662
|
+
if (!r) return;
|
|
36663
|
+
const n = ow(r), i = ow(e.node), o = uS(t, n, "h", i);
|
|
36664
|
+
if (!o || "w" !== o.referenceType) return;
|
|
36665
|
+
const a = pS(t, n, "w", i);
|
|
36666
|
+
return "number" == typeof a && a > 0 ? a : void 0;
|
|
36667
|
+
}(e, s), { mainExtent: k, gap: P } = rk(m, s, f, T ? "w" : "h", function(e, t) {
|
|
36661
36668
|
return US(e, t).ceilingPx;
|
|
36662
|
-
}(e, s), S, y, x, w, g),
|
|
36669
|
+
}(e, s), S, y, x, w, g), A = rS(e.node), L = gT(A), I = $S(A), M = _ ? Math.min(C, Math.max(12, C * _)) : b ? Math.min(C, Math.max(12, k * b)) : "number" == typeof I ? Math.min(C, Math.max(12, k * (T ? I : 1 / I))) : C, F = nk + (C - M) / 2, R = nk + y * k, D = T ? k : M, O = T ? M : k, B = !T && function(e, t, r, n) {
|
|
36663
36670
|
const i = uS(e, r, n, t);
|
|
36664
36671
|
return void 0 !== i && i.value === Number.POSITIVE_INFINITY && !iw(i);
|
|
36665
|
-
}(s, f, ow(
|
|
36672
|
+
}(s, f, ow(A), "h"), N = new Set(v.map((e) => e.id)), E = (e) => l ? mv(e, N, l) : [], $ = xT(L, D, "number" == typeof I ? Math.min(O, D * I) : O), z = US(e, s).role, X = A_(s, f, z) && !L_(s, f, z), { rootSizePx: U, descendantSizePx: G } = UC(e, s, v.map((e) => ({
|
|
36666
36673
|
rootText: e.text,
|
|
36667
|
-
descendantTexts:
|
|
36668
|
-
width:
|
|
36669
|
-
height:
|
|
36670
|
-
separateDescendantBox:
|
|
36671
|
-
})), c,
|
|
36674
|
+
descendantTexts: E(e),
|
|
36675
|
+
width: D,
|
|
36676
|
+
height: O,
|
|
36677
|
+
separateDescendantBox: X
|
|
36678
|
+
})), c, I, $), H = B ? function(e, t, r, n, i, o, a, s, l, c) {
|
|
36672
36679
|
const d = LC(a, o), p = d ? d.vertical * r : AC(a, o, n).vertical, u = Math.max(1, t - 2 * s), h = e.map((e) => {
|
|
36673
36680
|
const t = Math.max(1, vC(e, u, r, n));
|
|
36674
36681
|
return Math.max(12, t * r * n.lineHeightRatio * i + p + 2 * s);
|
|
@@ -36676,27 +36683,27 @@ function fk(e, t, r, n, i, o, a, s = ew, l, c, d) {
|
|
|
36676
36683
|
if (g <= l || g - f <= 0) return h;
|
|
36677
36684
|
const y = Math.max(0, (l - f) / (g - f));
|
|
36678
36685
|
return h.map((e) => e * y);
|
|
36679
|
-
}(v.map((e) => e.text),
|
|
36680
|
-
let
|
|
36686
|
+
}(v.map((e) => e.text), D, U, PC(c), sC, z, s, $, S, P) : void 0;
|
|
36687
|
+
let W = R;
|
|
36681
36688
|
return {
|
|
36682
36689
|
nodes: v.map((e, t) => {
|
|
36683
|
-
const r =
|
|
36684
|
-
return
|
|
36690
|
+
const r = H?.[t] ?? k, n = H ? W : R + t * (k + P);
|
|
36691
|
+
return W += r + P, vT({
|
|
36685
36692
|
key: `${a}-lin-${e.id}-${t}`,
|
|
36686
|
-
x: T ? n :
|
|
36687
|
-
y: T ?
|
|
36688
|
-
width: T ? r :
|
|
36689
|
-
height: T ?
|
|
36693
|
+
x: T ? n : F,
|
|
36694
|
+
y: T ? F : n,
|
|
36695
|
+
width: T ? r : D,
|
|
36696
|
+
height: T ? O : r,
|
|
36690
36697
|
node: e,
|
|
36691
36698
|
index: t,
|
|
36692
36699
|
total: w,
|
|
36693
36700
|
palette: i,
|
|
36694
36701
|
style: o,
|
|
36695
36702
|
ctx: h,
|
|
36696
|
-
shape:
|
|
36703
|
+
shape: L,
|
|
36697
36704
|
fallbackKind: "rect",
|
|
36698
|
-
fontSizeOverride:
|
|
36699
|
-
descendantFontSize:
|
|
36705
|
+
fontSizeOverride: U,
|
|
36706
|
+
descendantFontSize: G
|
|
36700
36707
|
});
|
|
36701
36708
|
}),
|
|
36702
36709
|
connectors: [],
|
|
@@ -59422,7 +59429,6 @@ var m1, f1, g1, y1, x1, b1, v1, w1, T1, S1, C1 = Ct({ "src/core/services/compati
|
|
|
59422
59429
|
"a:extLst"
|
|
59423
59430
|
]), w1 = {
|
|
59424
59431
|
unknown: ["UNSUPPORTED_GRAPHIC_FRAME", "The graphic-frame payload is preserved but unsupported."],
|
|
59425
|
-
smartArt: ["PARTIAL_SMARTART_SUPPORT", "SmartArt is parsed and preserved, but some DiagramML behavior is not editable."],
|
|
59426
59432
|
ole: ["PARTIAL_OLE_SUPPORT", "The OLE payload renders as a preview image and can be downloaded or opened in a new tab, but cannot be edited in place."],
|
|
59427
59433
|
ink: ["PARTIAL_INK_SUPPORT", "Ink is rendered from decoded traces; unsupported ink properties remain raw XML."]
|
|
59428
59434
|
};
|
|
Binary file
|
|
Binary file
|
|
@@ -32507,7 +32507,7 @@ function av(e) {
|
|
|
32507
32507
|
return t;
|
|
32508
32508
|
}
|
|
32509
32509
|
function ov(e, t) {
|
|
32510
|
-
const r = [], n = new RegExp(`<([A-Za-z_][\\w.-]*:)?${t}\\
|
|
32510
|
+
const r = [], n = new RegExp(`<([A-Za-z_][\\w.-]*:)?${t}(?=[\\s/>])[^>]*>([\\s\\S]*?)<\\/\\1${t}\\s*>`, "gu");
|
|
32511
32511
|
for (const t of e.matchAll(n)) r.push(av(t[2]));
|
|
32512
32512
|
return r;
|
|
32513
32513
|
}
|
|
@@ -36656,18 +36656,25 @@ function gk(e, t, r, n, i, a, o, s = tw, l, c, d) {
|
|
|
36656
36656
|
return "number" == typeof s && "number" == typeof l && s > 0 && l > 0 ? s / l : void 0;
|
|
36657
36657
|
}(e, s, r.length, d), b = function(e, t) {
|
|
36658
36658
|
return t.reverse ? [...e].reverse() : e;
|
|
36659
|
-
}(r, t), w = b.length, T = "horizontal" === t.orientation, S = (T ? p : u) - 2 * ik, C = (T ? u : p) - 2 * ik,
|
|
36659
|
+
}(r, t), w = b.length, T = "horizontal" === t.orientation, S = (T ? p : u) - 2 * ik, C = (T ? u : p) - 2 * ik, _ = T ? void 0 : function(e, t) {
|
|
36660
|
+
const r = nS(e.node);
|
|
36661
|
+
if (!r) return;
|
|
36662
|
+
const n = ow(r), i = ow(e.node), a = hS(t, n, "h", i);
|
|
36663
|
+
if (!a || "w" !== a.referenceType) return;
|
|
36664
|
+
const o = uS(t, n, "w", i);
|
|
36665
|
+
return "number" == typeof o && o > 0 ? o : void 0;
|
|
36666
|
+
}(e, s), { mainExtent: k, gap: P } = nk(m, s, f, T ? "w" : "h", function(e, t) {
|
|
36660
36667
|
return GS(e, t).ceilingPx;
|
|
36661
|
-
}(e, s), S, y, x, w, g),
|
|
36668
|
+
}(e, s), S, y, x, w, g), A = nS(e.node), L = yT(A), I = zS(A), M = _ ? Math.min(C, Math.max(12, C * _)) : v ? Math.min(C, Math.max(12, k * v)) : "number" == typeof I ? Math.min(C, Math.max(12, k * (T ? I : 1 / I))) : C, F = ik + (C - M) / 2, R = ik + y * k, D = T ? k : M, B = T ? M : k, N = !T && function(e, t, r, n) {
|
|
36662
36669
|
const i = hS(e, r, n, t);
|
|
36663
36670
|
return void 0 !== i && i.value === Number.POSITIVE_INFINITY && !aw(i);
|
|
36664
|
-
}(s, f, ow(
|
|
36671
|
+
}(s, f, ow(A), "h"), O = new Set(b.map((e) => e.id)), E = (e) => l ? fb(e, O, l) : [], $ = vT(L, D, "number" == typeof I ? Math.min(B, D * I) : B), z = GS(e, s).role, X = L_(s, f, z) && !I_(s, f, z), { rootSizePx: U, descendantSizePx: G } = GC(e, s, b.map((e) => ({
|
|
36665
36672
|
rootText: e.text,
|
|
36666
|
-
descendantTexts:
|
|
36667
|
-
width:
|
|
36668
|
-
height:
|
|
36669
|
-
separateDescendantBox:
|
|
36670
|
-
})), c,
|
|
36673
|
+
descendantTexts: E(e),
|
|
36674
|
+
width: D,
|
|
36675
|
+
height: B,
|
|
36676
|
+
separateDescendantBox: X
|
|
36677
|
+
})), c, I, $), H = N ? function(e, t, r, n, i, a, o, s, l, c) {
|
|
36671
36678
|
const d = IC(o, a), p = d ? d.vertical * r : LC(o, a, n).vertical, u = Math.max(1, t - 2 * s), h = e.map((e) => {
|
|
36672
36679
|
const t = Math.max(1, wC(e, u, r, n));
|
|
36673
36680
|
return Math.max(12, t * r * n.lineHeightRatio * i + p + 2 * s);
|
|
@@ -36675,27 +36682,27 @@ function gk(e, t, r, n, i, a, o, s = tw, l, c, d) {
|
|
|
36675
36682
|
if (g <= l || g - f <= 0) return h;
|
|
36676
36683
|
const y = Math.max(0, (l - f) / (g - f));
|
|
36677
36684
|
return h.map((e) => e * y);
|
|
36678
|
-
}(b.map((e) => e.text),
|
|
36679
|
-
let
|
|
36685
|
+
}(b.map((e) => e.text), D, U, AC(c), lC, z, s, $, S, P) : void 0;
|
|
36686
|
+
let W = R;
|
|
36680
36687
|
return {
|
|
36681
36688
|
nodes: b.map((e, t) => {
|
|
36682
|
-
const r =
|
|
36683
|
-
return
|
|
36689
|
+
const r = H?.[t] ?? k, n = H ? W : R + t * (k + P);
|
|
36690
|
+
return W += r + P, wT({
|
|
36684
36691
|
key: `${o}-lin-${e.id}-${t}`,
|
|
36685
|
-
x: T ? n :
|
|
36686
|
-
y: T ?
|
|
36687
|
-
width: T ? r :
|
|
36688
|
-
height: T ?
|
|
36692
|
+
x: T ? n : F,
|
|
36693
|
+
y: T ? F : n,
|
|
36694
|
+
width: T ? r : D,
|
|
36695
|
+
height: T ? B : r,
|
|
36689
36696
|
node: e,
|
|
36690
36697
|
index: t,
|
|
36691
36698
|
total: w,
|
|
36692
36699
|
palette: i,
|
|
36693
36700
|
style: a,
|
|
36694
36701
|
ctx: h,
|
|
36695
|
-
shape:
|
|
36702
|
+
shape: L,
|
|
36696
36703
|
fallbackKind: "rect",
|
|
36697
|
-
fontSizeOverride:
|
|
36698
|
-
descendantFontSize:
|
|
36704
|
+
fontSizeOverride: U,
|
|
36705
|
+
descendantFontSize: G
|
|
36699
36706
|
});
|
|
36700
36707
|
}),
|
|
36701
36708
|
connectors: [],
|
|
@@ -59421,7 +59428,6 @@ var f1, g1, y1, x1, v1, b1, w1, T1, S1, C1, _1 = _t({ "src/core/services/compati
|
|
|
59421
59428
|
"a:extLst"
|
|
59422
59429
|
]), T1 = {
|
|
59423
59430
|
unknown: ["UNSUPPORTED_GRAPHIC_FRAME", "The graphic-frame payload is preserved but unsupported."],
|
|
59424
|
-
smartArt: ["PARTIAL_SMARTART_SUPPORT", "SmartArt is parsed and preserved, but some DiagramML behavior is not editable."],
|
|
59425
59431
|
ole: ["PARTIAL_OLE_SUPPORT", "The OLE payload renders as a preview image and can be downloaded or opened in a new tab, but cannot be edited in place."],
|
|
59426
59432
|
ink: ["PARTIAL_INK_SUPPORT", "Ink is rendered from decoded traces; unsupported ink properties remain raw XML."]
|
|
59427
59433
|
};
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/i18n/de.cjs
CHANGED
|
@@ -1367,6 +1367,8 @@ var translations8 = {
|
|
|
1367
1367
|
"pptx.collaboration.userCount": "{{count}} Nutzer",
|
|
1368
1368
|
"pptx.collaboration.youLabel": "{{name}} (Sie)",
|
|
1369
1369
|
"pptx.collaboration.usersConnected": "{{count}} verbundener Nutzer",
|
|
1370
|
+
"pptx.collaboration.editable": "Bearbeitbar",
|
|
1371
|
+
"pptx.collaboration.shellStatusLabel": "Status der Zusammenarbeit",
|
|
1370
1372
|
"pptx.collaboration.moreUsers": "{{count}} weitere Nutzer",
|
|
1371
1373
|
"pptx.collaboration.onePersonHere": "1 Person hier",
|
|
1372
1374
|
"pptx.collaboration.peopleHere": "{{count}} Leute hier",
|
package/dist/i18n/de.cjs.br
CHANGED
|
Binary file
|
package/dist/i18n/de.cjs.gz
CHANGED
|
Binary file
|
package/dist/i18n/de.mjs
CHANGED
|
@@ -1341,6 +1341,8 @@ var translations8 = {
|
|
|
1341
1341
|
"pptx.collaboration.userCount": "{{count}} Nutzer",
|
|
1342
1342
|
"pptx.collaboration.youLabel": "{{name}} (Sie)",
|
|
1343
1343
|
"pptx.collaboration.usersConnected": "{{count}} verbundener Nutzer",
|
|
1344
|
+
"pptx.collaboration.editable": "Bearbeitbar",
|
|
1345
|
+
"pptx.collaboration.shellStatusLabel": "Status der Zusammenarbeit",
|
|
1344
1346
|
"pptx.collaboration.moreUsers": "{{count}} weitere Nutzer",
|
|
1345
1347
|
"pptx.collaboration.onePersonHere": "1 Person hier",
|
|
1346
1348
|
"pptx.collaboration.peopleHere": "{{count}} Leute hier",
|
package/dist/i18n/de.mjs.br
CHANGED
|
Binary file
|
package/dist/i18n/de.mjs.gz
CHANGED
|
Binary file
|
package/dist/i18n/es.cjs
CHANGED
|
@@ -1367,6 +1367,8 @@ var translations8 = {
|
|
|
1367
1367
|
"pptx.collaboration.userCount": "{{count}} usuario(s)",
|
|
1368
1368
|
"pptx.collaboration.youLabel": "{{name}} (t\xFA)",
|
|
1369
1369
|
"pptx.collaboration.usersConnected": "{{count}} usuario(s) conectado(s)",
|
|
1370
|
+
"pptx.collaboration.editable": "Editable",
|
|
1371
|
+
"pptx.collaboration.shellStatusLabel": "Estado de la colaboraci\xF3n",
|
|
1370
1372
|
"pptx.collaboration.moreUsers": "{{count}} usuario(s) m\xE1s",
|
|
1371
1373
|
"pptx.collaboration.onePersonHere": "1 persona aqu\xED",
|
|
1372
1374
|
"pptx.collaboration.peopleHere": "{{count}} gente aqu\xED",
|
package/dist/i18n/es.cjs.br
CHANGED
|
Binary file
|
package/dist/i18n/es.cjs.gz
CHANGED
|
Binary file
|
package/dist/i18n/es.mjs
CHANGED
|
@@ -1341,6 +1341,8 @@ var translations8 = {
|
|
|
1341
1341
|
"pptx.collaboration.userCount": "{{count}} usuario(s)",
|
|
1342
1342
|
"pptx.collaboration.youLabel": "{{name}} (t\xFA)",
|
|
1343
1343
|
"pptx.collaboration.usersConnected": "{{count}} usuario(s) conectado(s)",
|
|
1344
|
+
"pptx.collaboration.editable": "Editable",
|
|
1345
|
+
"pptx.collaboration.shellStatusLabel": "Estado de la colaboraci\xF3n",
|
|
1344
1346
|
"pptx.collaboration.moreUsers": "{{count}} usuario(s) m\xE1s",
|
|
1345
1347
|
"pptx.collaboration.onePersonHere": "1 persona aqu\xED",
|
|
1346
1348
|
"pptx.collaboration.peopleHere": "{{count}} gente aqu\xED",
|
package/dist/i18n/es.mjs.br
CHANGED
|
Binary file
|
package/dist/i18n/es.mjs.gz
CHANGED
|
Binary file
|
package/dist/i18n/fr.cjs
CHANGED
|
@@ -1367,6 +1367,8 @@ var translations8 = {
|
|
|
1367
1367
|
"pptx.collaboration.userCount": "{{count}} utilisateur(s)",
|
|
1368
1368
|
"pptx.collaboration.youLabel": "{{name}} (vous)",
|
|
1369
1369
|
"pptx.collaboration.usersConnected": "{{count}} utilisateur(s) connect\xE9(s)",
|
|
1370
|
+
"pptx.collaboration.editable": "Modifiable",
|
|
1371
|
+
"pptx.collaboration.shellStatusLabel": "\xC9tat de la collaboration",
|
|
1370
1372
|
"pptx.collaboration.moreUsers": "{{count}} utilisateur(s) suppl\xE9mentaire(s)",
|
|
1371
1373
|
"pptx.collaboration.onePersonHere": "1 personne ici",
|
|
1372
1374
|
"pptx.collaboration.peopleHere": "Personnes {{count}} ici",
|
package/dist/i18n/fr.cjs.br
CHANGED
|
Binary file
|
package/dist/i18n/fr.cjs.gz
CHANGED
|
Binary file
|
package/dist/i18n/fr.mjs
CHANGED
|
@@ -1341,6 +1341,8 @@ var translations8 = {
|
|
|
1341
1341
|
"pptx.collaboration.userCount": "{{count}} utilisateur(s)",
|
|
1342
1342
|
"pptx.collaboration.youLabel": "{{name}} (vous)",
|
|
1343
1343
|
"pptx.collaboration.usersConnected": "{{count}} utilisateur(s) connect\xE9(s)",
|
|
1344
|
+
"pptx.collaboration.editable": "Modifiable",
|
|
1345
|
+
"pptx.collaboration.shellStatusLabel": "\xC9tat de la collaboration",
|
|
1344
1346
|
"pptx.collaboration.moreUsers": "{{count}} utilisateur(s) suppl\xE9mentaire(s)",
|
|
1345
1347
|
"pptx.collaboration.onePersonHere": "1 personne ici",
|
|
1346
1348
|
"pptx.collaboration.peopleHere": "Personnes {{count}} ici",
|
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
|
@@ -1411,6 +1411,8 @@ var translations11 = {
|
|
|
1411
1411
|
"pptx.collaboration.userCount": "{{count}} \u4F4D\u7528\u6237",
|
|
1412
1412
|
"pptx.collaboration.youLabel": "{{name}}\uFF08\u4F60\uFF09",
|
|
1413
1413
|
"pptx.collaboration.usersConnected": "\u5DF2\u8FDE\u63A5 {{count}} \u4F4D\u7528\u6237",
|
|
1414
|
+
"pptx.collaboration.editable": "\u53EF\u7F16\u8F91",
|
|
1415
|
+
"pptx.collaboration.shellStatusLabel": "\u534F\u4F5C\u72B6\u6001",
|
|
1414
1416
|
"pptx.collaboration.moreUsers": "\u8FD8\u6709 {{count}} \u4F4D\u7528\u6237",
|
|
1415
1417
|
"pptx.collaboration.onePersonHere": "\u8FD9\u91CC\u6709 1 \u4EBA",
|
|
1416
1418
|
"pptx.collaboration.peopleHere": "\u8FD9\u91CC\u6709 {{count}} \u4EBA",
|
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
|
@@ -1385,6 +1385,8 @@ var translations11 = {
|
|
|
1385
1385
|
"pptx.collaboration.userCount": "{{count}} \u4F4D\u7528\u6237",
|
|
1386
1386
|
"pptx.collaboration.youLabel": "{{name}}\uFF08\u4F60\uFF09",
|
|
1387
1387
|
"pptx.collaboration.usersConnected": "\u5DF2\u8FDE\u63A5 {{count}} \u4F4D\u7528\u6237",
|
|
1388
|
+
"pptx.collaboration.editable": "\u53EF\u7F16\u8F91",
|
|
1389
|
+
"pptx.collaboration.shellStatusLabel": "\u534F\u4F5C\u72B6\u6001",
|
|
1388
1390
|
"pptx.collaboration.moreUsers": "\u8FD8\u6709 {{count}} \u4F4D\u7528\u6237",
|
|
1389
1391
|
"pptx.collaboration.onePersonHere": "\u8FD9\u91CC\u6709 1 \u4EBA",
|
|
1390
1392
|
"pptx.collaboration.peopleHere": "\u8FD9\u91CC\u6709 {{count}} \u4EBA",
|
package/dist/i18n/zh-CN.mjs.br
CHANGED
|
Binary file
|
package/dist/i18n/zh-CN.mjs.gz
CHANGED
|
Binary file
|
|
@@ -472,6 +472,8 @@ var t = {
|
|
|
472
472
|
"pptx.collaboration.userCount": "{{count}} user(s)",
|
|
473
473
|
"pptx.collaboration.youLabel": "{{name}} (you)",
|
|
474
474
|
"pptx.collaboration.usersConnected": "{{count}} user(s) connected",
|
|
475
|
+
"pptx.collaboration.editable": "Editable",
|
|
476
|
+
"pptx.collaboration.shellStatusLabel": "Collaboration status",
|
|
475
477
|
"pptx.collaboration.moreUsers": "{{count}} more user(s)",
|
|
476
478
|
"pptx.collaboration.onePersonHere": "1 person here",
|
|
477
479
|
"pptx.collaboration.peopleHere": "{{count}} people here",
|
|
Binary file
|
|
Binary file
|
|
@@ -472,6 +472,8 @@ var t = {
|
|
|
472
472
|
"pptx.collaboration.userCount": "{{count}} user(s)",
|
|
473
473
|
"pptx.collaboration.youLabel": "{{name}} (you)",
|
|
474
474
|
"pptx.collaboration.usersConnected": "{{count}} user(s) connected",
|
|
475
|
+
"pptx.collaboration.editable": "Editable",
|
|
476
|
+
"pptx.collaboration.shellStatusLabel": "Collaboration status",
|
|
475
477
|
"pptx.collaboration.moreUsers": "{{count}} more user(s)",
|
|
476
478
|
"pptx.collaboration.onePersonHere": "1 person here",
|
|
477
479
|
"pptx.collaboration.peopleHere": "{{count}} people here",
|
|
Binary file
|
|
Binary file
|
package/dist/i18n.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const e = require("./i18n-
|
|
2
|
+
const e = require("./i18n-BUjfZOiM.cjs");
|
|
3
3
|
function t(e) {
|
|
4
4
|
const t = {};
|
|
5
5
|
for (const [n, o] of Object.entries(e)) t[n] = o.replace(/\{\{(?<name>\w+)\}\}/gu, "{$<name>}").replace(/@/gu, "{'@'}");
|
package/dist/i18n.cjs.br
CHANGED
|
Binary file
|
package/dist/i18n.cjs.gz
CHANGED
|
Binary file
|
package/dist/i18n.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as e, n as r, r as n } from "./i18n-
|
|
1
|
+
import { i as e, n as r, r as n } from "./i18n-cTdK-NvK.js";
|
|
2
2
|
function a(e) {
|
|
3
3
|
const r = {};
|
|
4
4
|
for (const [n, a] of Object.entries(e)) r[n] = a.replace(/\{\{(?<name>\w+)\}\}/gu, "{$<name>}").replace(/@/gu, "{'@'}");
|
package/dist/i18n.js.br
CHANGED
|
Binary file
|
package/dist/i18n.js.gz
CHANGED
|
Binary file
|
package/dist/index.cjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const e = require("./useViewerSettingsDialog-
|
|
3
|
-
exports.AUDIENCE_HASH = e.AUDIENCE_HASH, exports.CollaborationCursors = o.CollaborationCursors_default, exports.CollaborationStatusIndicator = o.CollaborationStatusIndicator_default, exports.ElementRenderer = e.ElementRenderer_default, exports.FollowModeBar = o.FollowModeBar_default, exports.PPTX_OPEN_ACCEPT = e.PPTX_OPEN_ACCEPT, exports.PRESENTATION_OPEN_EXTENSIONS = e.PRESENTATION_OPEN_EXTENSIONS, exports.PowerPointViewer = o.PowerPointViewer_default, exports.RemoteSelectionOverlay = o.RemoteSelectionOverlay_default, exports.RibbonToolbar = o.RibbonToolbar_default, exports.SlideCanvas = o.SlideCanvas_default, exports.SlideStage = e.SlideStage_default, exports.clearAudienceContent = e.clearAudienceContent, exports.cn = o.cn, exports.createImageElementFromFile = e.createImageElementFromFile, exports.defaultCssVars = e.defaultCssVars, exports.defaultRadius = e.defaultRadius, exports.defaultThemeColors = e.defaultThemeColors, exports.exportAllSlidesToSvg = e.exportAllSlidesToSvg, exports.exportAllSlidesToSvgBlobs = e.exportAllSlidesToSvgBlobs, exports.exportSlideToSvg = e.exportSlideToSvg, exports.exportSlideToSvgBlob = e.exportSlideToSvgBlob, exports.forgetSessionDeck = e.forgetSessionDeck, exports.getSessionTabId = e.getSessionTabId, exports.isAudienceTab = e.isAudienceTab, exports.isLegacyBinaryPresentation = e.isLegacyBinaryPresentation, exports.isSupportedPresentationFile = e.isSupportedPresentationFile, exports.loadAudienceContent = e.loadAudienceContent, exports.loadSessionDeck = e.loadSessionDeck, exports.parseAudienceNonce = e.parseAudienceNonce, exports.parsePresentationSessionId = e.parsePresentationSessionId, exports.presentationBaseName = e.presentationBaseName, exports.provideViewerTheme = o.provideViewerTheme, exports.rememberSessionDeck = e.rememberSessionDeck, exports.renderToCanvas = e.renderToCanvas, exports.restoreSessionDeck = e.restoreSessionDeck, exports.savedPresentationFileName = e.savedPresentationFileName, exports.storeAudienceContent = e.storeAudienceContent, exports.themeToCssVars = e.themeToCssVars, exports.useCollaboration = e.useCollaboration, exports.useCollaborativeHistory = o.useCollaborativeHistory, exports.useCollaborativeState = o.useCollaborativeState, exports.usePresenceTracking = o.usePresenceTracking, exports.useThemeStyle = o.useThemeStyle, exports.useViewerTheme = o.useViewerTheme, exports.useYjsProvider = o.useYjsProvider, exports.vermilionDarkColors = e.vermilionDarkColors, exports.vermilionDarkTheme = e.vermilionDarkTheme, exports.vermilionLightColors = e.vermilionLightColors, exports.vermilionLightTheme = e.vermilionLightTheme, exports.vermilionRadius = e.vermilionRadius;
|
|
2
|
+
const e = require("./useViewerSettingsDialog-w5_IIp3-.cjs"), o = require("./viewer-DW4Hra5s.cjs");
|
|
3
|
+
exports.AUDIENCE_HASH = e.AUDIENCE_HASH, exports.CollaborationCursors = o.CollaborationCursors_default, exports.CollaborationStatusIndicator = o.CollaborationStatusIndicator_default, exports.ElementRenderer = e.ElementRenderer_default, exports.FollowModeBar = o.FollowModeBar_default, exports.PPTX_OPEN_ACCEPT = e.PPTX_OPEN_ACCEPT, exports.PRESENTATION_OPEN_EXTENSIONS = e.PRESENTATION_OPEN_EXTENSIONS, exports.PowerPointViewer = o.PowerPointViewer_default, exports.RemoteSelectionOverlay = o.RemoteSelectionOverlay_default, exports.RibbonToolbar = o.RibbonToolbar_default, exports.SlideCanvas = o.SlideCanvas_default, exports.SlideStage = e.SlideStage_default, exports.clearAudienceContent = e.clearAudienceContent, exports.cn = o.cn, exports.createImageElementFromFile = e.createImageElementFromFile, exports.defaultCssVars = e.defaultCssVars, exports.defaultRadius = e.defaultRadius, exports.defaultThemeColors = e.defaultThemeColors, exports.describeCollaborationShellState = e.describeCollaborationShellState, exports.exportAllSlidesToSvg = e.exportAllSlidesToSvg, exports.exportAllSlidesToSvgBlobs = e.exportAllSlidesToSvgBlobs, exports.exportSlideToSvg = e.exportSlideToSvg, exports.exportSlideToSvgBlob = e.exportSlideToSvgBlob, exports.forgetSessionDeck = e.forgetSessionDeck, exports.getSessionTabId = e.getSessionTabId, exports.isAudienceTab = e.isAudienceTab, exports.isLegacyBinaryPresentation = e.isLegacyBinaryPresentation, exports.isSupportedPresentationFile = e.isSupportedPresentationFile, exports.loadAudienceContent = e.loadAudienceContent, exports.loadSessionDeck = e.loadSessionDeck, exports.parseAudienceNonce = e.parseAudienceNonce, exports.parsePresentationSessionId = e.parsePresentationSessionId, exports.presentationBaseName = e.presentationBaseName, exports.provideViewerTheme = o.provideViewerTheme, exports.rememberSessionDeck = e.rememberSessionDeck, exports.renderToCanvas = e.renderToCanvas, exports.restoreSessionDeck = e.restoreSessionDeck, exports.savedPresentationFileName = e.savedPresentationFileName, exports.storeAudienceContent = e.storeAudienceContent, exports.themeToCssVars = e.themeToCssVars, exports.useCollaboration = e.useCollaboration, exports.useCollaborativeHistory = o.useCollaborativeHistory, exports.useCollaborativeState = o.useCollaborativeState, exports.usePresenceTracking = o.usePresenceTracking, exports.useThemeStyle = o.useThemeStyle, exports.useViewerTheme = o.useViewerTheme, exports.useYjsProvider = o.useYjsProvider, exports.vermilionDarkColors = e.vermilionDarkColors, exports.vermilionDarkTheme = e.vermilionDarkTheme, exports.vermilionLightColors = e.vermilionLightColors, exports.vermilionLightTheme = e.vermilionLightTheme, exports.vermilionRadius = e.vermilionRadius;
|
package/dist/index.cjs.br
CHANGED
|
Binary file
|
package/dist/index.cjs.gz
CHANGED
|
Binary file
|