pptx-svelte-viewer 4.33.0 → 4.33.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,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.33.1](https://github.com/ChristopherVR/ooxml/releases/tag/pptx-svelte-viewer@4.33.1) - 2026-10-11
11
+
12
+ ### Testing
13
+
14
+ - **pptx:** Share workers across the binding package unit tests ([d51469c](https://github.com/ChristopherVR/ooxml/commit/d51469cc709e145007222ef0510a19bedbf08728))
15
+ - **ui:** Keep each DOM environment and test state in its own worker ([6d52bec](https://github.com/ChristopherVR/ooxml/commit/6d52bec41343129aa621e11e173fe3c706e82b6e))
16
+
17
+ ### Styling
18
+
19
+ - Fix the oxfmt and oxlint warnings in the viewers ([db0314f](https://github.com/ChristopherVR/ooxml/commit/db0314f319e3d0508960872260792215477d9ca5))
20
+ - **pptx:** Format the pptx viewer with its own oxfmt configuration ([7ca9f51](https://github.com/ChristopherVR/ooxml/commit/7ca9f51be7d0926e28cc5913792cfc1c966c0d35))
21
+
10
22
  ## [4.33.0](https://github.com/ChristopherVR/ooxml/releases/tag/pptx-svelte-viewer@4.33.0) - 2026-10-10
11
23
 
12
24
  ### Features
@@ -1,5 +1,5 @@
1
1
  import { E as V } from "./transition-overlay-DmfHOSnl.js";
2
- import { A as ce, C as R, D as pe, E as Y, M as A, O as de, T as O, j as $, k as ve, w as ue } from "./export-DyuVt4WI.js";
2
+ import { A as ce, C as R, D as pe, E as Y, M as A, O as de, T as O, j as $, k as ve, w as ue } from "./export-C0LZjf1t.js";
3
3
  import "svelte/internal/disclose-version";
4
4
  import * as e from "svelte/internal/client";
5
5
  import { onMount as he, untrack as U } from "svelte";
@@ -128,7 +128,7 @@ function QS() {
128
128
  var JS = e.from_html('<div class="pptx-svelte-ai-dock svelte-1h57n9l"><!></div>');
129
129
  function $S(a, t) {
130
130
  var n = JS(), i = e.child(n);
131
- e.await(i, () => import("./AiChatPanel-D2CXiDKK.js"), null, (s, r) => {
131
+ e.await(i, () => import("./AiChatPanel-Dveid2mn.js"), null, (s, r) => {
132
132
  var l = e.derived(() => {
133
133
  var { default: v } = e.get(r);
134
134
  return { AiChatPanel: v };
@@ -13348,7 +13348,7 @@ function h4() {
13348
13348
  var m4 = e.from_html('<button type="button"></button>'), Us = e.from_html('<p class="svelte-dgy1er"> </p>'), _4 = e.from_html('<p class="notice svelte-dgy1er"> </p>'), f4 = e.from_html('<p class="svelte-dgy1er"> </p> <button type="button" class="primary svelte-dgy1er"> </button>', 1), b4 = e.from_html('<section class="card svelte-dgy1er"><h2 class="svelte-dgy1er"> </h2> <!></section>'), x4 = 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>');
13349
13349
  function y4(a, t) {
13350
13350
  e.push(t, !0);
13351
- const n = ve(), i = "4.33.0";
13351
+ const n = ve(), i = "4.33.1";
13352
13352
  let s = e.state(e.proxy(an().profile ?? { ...vi })), r = e.state(void 0), l = e.state(!1);
13353
13353
  async function o() {
13354
13354
  e.set(r, await Qm(), !0);
@@ -21781,9 +21781,7 @@ function G6(a, t) {
21781
21781
  p() && (p().inspectorOpen = !0, p().setInspectorTab("comments"));
21782
21782
  }
21783
21783
  function S(H) {
21784
- p() && (p().inspectorOpen = !0, p().setInspectorTab("properties"), Pn().then(() => {
21785
- requestAnimationFrame(() => x1(document, H));
21786
- }));
21784
+ p() && (p().inspectorOpen = !0, p().setInspectorTab("properties"), Pn().then(() => requestAnimationFrame(() => x1(document, H))));
21787
21785
  }
21788
21786
  function x() {
21789
21787
  n().selection.clear(), p() && (p().inspectorOpen = !0, p().setInspectorTab("properties"));
@@ -21796,11 +21794,7 @@ function G6(a, t) {
21796
21794
  e.set(C, {
21797
21795
  x: H,
21798
21796
  y: j
21799
- }, !0), n().slidesOps.availableLayouts().then((K) => {
21800
- e.set(T, K, !0);
21801
- }), n().slidesOps.layoutPreviews().then((K) => {
21802
- e.set(w, K, !0);
21803
- });
21797
+ }, !0), n().slidesOps.availableLayouts().then((K) => e.set(T, K, !0)), n().slidesOps.layoutPreviews().then((K) => e.set(w, K, !0));
21804
21798
  }
21805
21799
  function k(H) {
21806
21800
  n().slidesOps.applyLayout(H.path), e.set(C, null);
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-DyuVt4WI.js";
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-C0LZjf1t.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";
@@ -1,5 +1,5 @@
1
1
  import "../transition-overlay-DmfHOSnl.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-DyuVt4WI.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-C0LZjf1t.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.33.0",
3
+ "version": "4.33.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.1",
117
117
  "jspdf": "^4.2.1",
118
118
  "jszip": "^3.10.2",
119
- "ooxml-core": "^1.8.0",
120
- "ooxml-ui": "^1.8.0",
119
+ "ooxml-core": "^1.8.2",
120
+ "ooxml-ui": "^1.8.3",
121
121
  "opentype.js": "^2.0.0"
122
122
  },
123
123
  "devDependencies": {
@@ -127,7 +127,7 @@
127
127
  "@types/opentype.js": "^1.3.10",
128
128
  "ai": "^7.0.127",
129
129
  "happy-dom": "^20.14.5",
130
- "pptx-viewer-core": "^4.13.4",
130
+ "pptx-viewer-core": "^4.13.5",
131
131
  "rollup": "^4.64.0",
132
132
  "rollup-plugin-dts": "^6.5.1",
133
133
  "svelte": "^5.57.2",