pptx-svelte-viewer 4.52.0 → 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
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 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-svelte-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
|
+
|
|
10
16
|
## [4.52.0](https://github.com/ChristopherVR/ooxml/releases/tag/pptx-svelte-viewer@4.52.0) - 2026-10-25
|
|
11
17
|
|
|
12
18
|
### Features
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { O as L } from "./transition-overlay-BgsFZeU8.js";
|
|
2
|
-
import { A as je, C as U, D as $e, E as Q, M as $, O as Ae, T as B, j as Y, k as De, w as Ne } from "./export-
|
|
2
|
+
import { A as je, C as U, D as $e, E as Q, M as $, O as Ae, T as B, j as Y, k as De, w as Ne } from "./export-BYj6mHIW.js";
|
|
3
3
|
import "svelte/internal/disclose-version";
|
|
4
4
|
import * as e from "svelte/internal/client";
|
|
5
5
|
import { onMount as Ee, untrack as O } from "svelte";
|
|
@@ -117,7 +117,7 @@ function ho() {
|
|
|
117
117
|
var Aw = e.from_html('<div class="pptx-svelte-ai-dock svelte-1h57n9l"><!></div>');
|
|
118
118
|
function Mw(a, t) {
|
|
119
119
|
var n = Aw(), i = e.child(n);
|
|
120
|
-
e.await(i, () => import("./AiChatPanel-
|
|
120
|
+
e.await(i, () => import("./AiChatPanel-BCvXB--f.js"), null, (r, s) => {
|
|
121
121
|
var l = e.derived(() => {
|
|
122
122
|
var { default: p } = e.get(s);
|
|
123
123
|
return { AiChatPanel: p };
|
|
@@ -6259,11 +6259,8 @@ function Jn(a, t) {
|
|
|
6259
6259
|
t.editor.commitSlides(N);
|
|
6260
6260
|
}
|
|
6261
6261
|
function x() {
|
|
6262
|
-
const B = wg(e.get(p), l.text, e.get(s));
|
|
6263
|
-
B && (f(l.
|
|
6264
|
-
...G,
|
|
6265
|
-
mentions: l.mentions
|
|
6266
|
-
} : G) : B), l.reset());
|
|
6262
|
+
const B = wg(e.get(p), l.text, e.get(s), void 0, void 0, void 0, l.mentions);
|
|
6263
|
+
B && (f(B), l.reset());
|
|
6267
6264
|
}
|
|
6268
6265
|
function d(B) {
|
|
6269
6266
|
const G = z2(e.get(p), B);
|
|
@@ -6280,19 +6277,8 @@ function Jn(a, t) {
|
|
|
6280
6277
|
e.set(o, null), c.reset();
|
|
6281
6278
|
}
|
|
6282
6279
|
function w(B) {
|
|
6283
|
-
const G = B1(e.get(p), B, c.text, e.get(s));
|
|
6284
|
-
G && (f(
|
|
6285
|
-
const V = N.replies;
|
|
6286
|
-
if (N.id !== B || !V || V.length === 0) return N;
|
|
6287
|
-
const W = V.map((L, q) => q === V.length - 1 ? {
|
|
6288
|
-
...L,
|
|
6289
|
-
mentions: c.mentions
|
|
6290
|
-
} : L);
|
|
6291
|
-
return {
|
|
6292
|
-
...N,
|
|
6293
|
-
replies: W
|
|
6294
|
-
};
|
|
6295
|
-
}) : G), h());
|
|
6280
|
+
const G = B1(e.get(p), B, c.text, e.get(s), c.mentions);
|
|
6281
|
+
G && (f(G), h());
|
|
6296
6282
|
}
|
|
6297
6283
|
function S(B) {
|
|
6298
6284
|
return (G) => {
|
|
@@ -13868,7 +13854,7 @@ function vO() {
|
|
|
13868
13854
|
var gO = e.from_html('<button type="button"></button>'), cs = e.from_html('<p class="svelte-dgy1er"> </p>'), pO = e.from_html('<p class="notice svelte-dgy1er"> </p>'), hO = e.from_html('<p class="svelte-dgy1er"> </p> <button type="button" class="primary svelte-dgy1er"> </button>', 1), _O = e.from_html('<section class="card svelte-dgy1er"><h2 class="svelte-dgy1er"> </h2> <!></section>'), mO = e.from_html('<div class="pptx-svelte-account svelte-dgy1er"><section class="card svelte-dgy1er"><h2 class="svelte-dgy1er"> </h2> <div class="profile-row svelte-dgy1er"><span class="avatar svelte-dgy1er"> </span> <label class="name-field svelte-dgy1er"><span> </span> <input type="text" class="svelte-dgy1er"/></label></div> <span class="swatches-label svelte-dgy1er"> </span> <div class="swatch-row svelte-dgy1er" role="group"></div></section> <section class="card svelte-dgy1er"><h2 class="svelte-dgy1er"> </h2> <!> <button type="button" class="secondary svelte-dgy1er"> </button> <!> <p class="muted svelte-dgy1er"> </p></section> <section class="card svelte-dgy1er"><h2 class="svelte-dgy1er"> </h2> <p class="svelte-dgy1er">pptx-svelte-viewer</p> <p class="muted svelte-dgy1er"> </p></section> <!></div>');
|
|
13869
13855
|
function fO(a, t) {
|
|
13870
13856
|
e.push(t, !0);
|
|
13871
|
-
const n = le(), i = ni(), r = "4.52.
|
|
13857
|
+
const n = le(), i = ni(), r = "4.52.1";
|
|
13872
13858
|
let s = e.state(e.proxy(bn().profile ?? { ...Ai })), l = e.state(void 0), o = e.state(!1);
|
|
13873
13859
|
async function c() {
|
|
13874
13860
|
e.set(l, await yf(i()), !0);
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as o, c as s, l as r, o as t, s as S, t as a, y as i } from "./export-
|
|
1
|
+
import { a as o, c as s, l as r, o as t, s as S, t as a, y as i } from "./export-BYj6mHIW.js";
|
|
2
2
|
import { i as T } from "./translator-2U8GG-ce.js";
|
|
3
3
|
import "./i18n.js";
|
|
4
4
|
import { BACKSTAGE_CARD_IDS as n, BACKSTAGE_PAGE_IDS as E, CANVAS_CONTEXT_MENU_COMMAND_IDS as O, EDITOR_SHORTCUT_ACTION_IDS as D, ELEMENT_CONTEXT_MENU_COMMAND_IDS as N, OPTIONS_PAGE_IDS as A, OPTIONS_SECTION_IDS as m, OPTIONS_SETTING_IDS as C, PPTX_OPEN_ACCEPT as P, PRESENTATION_OPEN_EXTENSIONS as d, RIBBON_CONTROL_IDS as R, RIBBON_GROUP_IDS as p, RIBBON_TAB_IDS as v, TOOLBAR_BUTTON_IDS as B, VIEWER_DIALOG_IDS as g, VIEWER_EXPORT_FORMAT_IDS as h, VIEWER_FEATURE_IDS as c, VIEWER_PANEL_IDS as u, createImageElementFromFile as L, defaultCssVars as M, defaultRadius as V, defaultThemeColors as f, deleteAutosaveSnapshot as k, describeCollaborationShellState as G, forgetSessionDeck as b, getAutosaveSnapshot as x, getSessionTabId as F, isLegacyBinaryPresentation as U, isSupportedPresentationFile as X, listAutosaveSnapshots as W, loadPresentationDeck as y, loadSessionDeck as w, parsePresentationSessionId as K, presentationBaseName as H, rememberSessionDeck as j, restoreSessionDeck as q, savedPresentationFileName as z, themeToCssVars as J, vermilionDarkColors as Q, vermilionDarkTheme as Y, vermilionLightColors as Z, vermilionLightTheme as $, vermilionRadius as ee } from "ooxml-ui/pptx";
|
package/dist/viewer/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../transition-overlay-BgsFZeU8.js";
|
|
2
|
-
import { S as e, _ as a, a as S, b as o, c as v, d as n, f as d, g as r, h as b, i as p, l as c, m, n as g, o as x, p as w, r as C, s as T, t as $, u as y, v as s, x as t } from "../export-
|
|
2
|
+
import { S as e, _ as a, a as S, b as o, c as v, d as n, f as d, g as r, h as b, i as p, l as c, m, n as g, o as x, p as w, r as C, s as T, t as $, u as y, v as s, x as t } from "../export-BYj6mHIW.js";
|
|
3
3
|
var P = e, V = t, u = s, A = a, R = r, f = o;
|
|
4
4
|
export {
|
|
5
5
|
A as CollaborationCursors,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pptx-svelte-viewer",
|
|
3
|
-
"version": "4.52.
|
|
3
|
+
"version": "4.52.1",
|
|
4
4
|
"description": "pptx-viewer for Svelte 5: a PowerPoint viewer and editor component to render, edit, present, and export PPTX slides in the browser.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"office",
|
|
@@ -116,8 +116,8 @@
|
|
|
116
116
|
"html2canvas-pro": "^2.5.2",
|
|
117
117
|
"jspdf": "^4.2.1",
|
|
118
118
|
"jszip": "^3.10.2",
|
|
119
|
-
"ooxml-core": "^1.27.
|
|
120
|
-
"ooxml-ui": "^1.28.
|
|
119
|
+
"ooxml-core": "^1.27.1",
|
|
120
|
+
"ooxml-ui": "^1.28.1",
|
|
121
121
|
"opentype.js": "^2.0.0"
|
|
122
122
|
},
|
|
123
123
|
"devDependencies": {
|