pptx-svelte-viewer 4.71.0 → 4.72.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,28 @@ 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.72.1](https://github.com/ChristopherVR/ooxml/releases/tag/pptx-svelte-viewer@4.72.1) - 2026-11-09
11
+
12
+ ### Dependencies
13
+
14
+ - **deps:** Merge dependabot development group and jsdom 31 ([eb65de6](https://github.com/ChristopherVR/ooxml/commit/eb65de67a495cbd4d775c995d5ac25f08322fbf9))
15
+ - **deps:** Bump the production-minor-and-patch group with 25 updates ([4046ca3](https://github.com/ChristopherVR/ooxml/commit/4046ca399665d485da35696889c0212cc6526f63))
16
+
17
+ ### Chores
18
+
19
+ - **deps-dev:** Bump the development-minor-and-patch group with 15 updates ([f9d1598](https://github.com/ChristopherVR/ooxml/commit/f9d15981d99b0dee22754c9711ed1755ae5d666a))
20
+
21
+ ## [4.72.0](https://github.com/ChristopherVR/ooxml/releases/tag/pptx-svelte-viewer@4.72.0) - 2026-11-08
22
+
23
+ ### Features
24
+
25
+ - **pptx:** Accept text body options and rich text on new shapes ([#264](https://github.com/ChristopherVR/ooxml/issues/264)) ([c7d0111](https://github.com/ChristopherVR/ooxml/commit/c7d011174aa101665eb48d8783bdb38cb0969fe6))
26
+ - **pptx:** Add picture fills, links, shared media and SVG pictures to new elements ([05ceae1](https://github.com/ChristopherVR/ooxml/commit/05ceae1f210c431fab83f2a5abda90170da0a285))
27
+
28
+ ### Styling
29
+
30
+ - **pptx:** Format the merged picture and link changes ([6952819](https://github.com/ChristopherVR/ooxml/commit/69528198578f5541380c168f2ee145808abf21f2))
31
+
10
32
  ## [4.71.0](https://github.com/ChristopherVR/ooxml/releases/tag/pptx-svelte-viewer@4.71.0) - 2026-11-08
11
33
 
12
34
  ### Features
@@ -1,5 +1,5 @@
1
- import { r as L } from "./context-BYZ6OEju.js";
2
1
  import { a as je, c as $e, i as Q, l as Y, n as Ae, o as Ne, r as B, s as De, t as O, u as $ } from "./x-ahsysihf.js";
2
+ import { r as L } from "./context-BYZ6OEju.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 U } from "svelte";
@@ -466,14 +466,14 @@ function jt(s, t) {
466
466
  } }));
467
467
  }
468
468
  var be = {
469
- name: "triangle-alert",
469
+ name: "triangle-exclamation-point",
470
470
  size: 24,
471
471
  node: [
472
472
  ["path", { d: "m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3" }],
473
473
  ["path", { d: "M12 9v4" }],
474
474
  ["path", { d: "M12 17h.01" }]
475
475
  ],
476
- aliases: ["alert-triangle"]
476
+ aliases: ["alert-triangle", "triangle-alert"]
477
477
  }, Ka = be.node, $t = /* @__PURE__ */ new Set([
478
478
  "$$slots",
479
479
  "$$events",
package/dist/ai.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { t as r } from "./ai-assistant-registry-CUKUJBDS.js";
2
- var s = () => import("./AiChatPanel-B1FwoK_F.js");
2
+ var s = () => import("./AiChatPanel-Bk2LeTUo.js");
3
3
  function i(t) {
4
4
  return r.register(t, s);
5
5
  }
@@ -120,7 +120,7 @@ function Io() {
120
120
  var vk = e.from_html('<div class="pptx-svelte-ai-dock svelte-1h57n9l"><!></div>');
121
121
  function gk(a, t) {
122
122
  e.push(t, !0);
123
- const n = t.loadPanel ? t.loadPanel() : import("./AiChatPanel-B1FwoK_F.js");
123
+ const n = t.loadPanel ? t.loadPanel() : import("./AiChatPanel-Bk2LeTUo.js");
124
124
  var i = vk(), r = e.child(i);
125
125
  e.await(r, () => n, null, (s, l) => {
126
126
  var o = e.derived(() => {
@@ -4809,7 +4809,27 @@ function id(a, t) {
4809
4809
  } }));
4810
4810
  }
4811
4811
  var rd = {
4812
- name: "circle-alert",
4812
+ name: "circle-check",
4813
+ size: 24,
4814
+ node: [["circle", {
4815
+ cx: "12",
4816
+ cy: "12",
4817
+ r: "10"
4818
+ }], ["path", { d: "m16 9-5.5 5.5L8 12" }]],
4819
+ aliases: ["check-circle-2"]
4820
+ }, r8 = rd.node, ZT = /* @__PURE__ */ new Set([
4821
+ "$$slots",
4822
+ "$$events",
4823
+ "$$legacy"
4824
+ ]);
4825
+ function QT(a, t) {
4826
+ let n = e.rest_props(t, ZT);
4827
+ Ne(a, e.spread_props(() => n, { get icon() {
4828
+ return rd;
4829
+ } }));
4830
+ }
4831
+ var sd = {
4832
+ name: "circle-exclamation-point",
4813
4833
  size: 24,
4814
4834
  node: [
4815
4835
  ["circle", {
@@ -4830,27 +4850,7 @@ var rd = {
4830
4850
  y2: "16"
4831
4851
  }]
4832
4852
  ],
4833
- aliases: ["alert-circle"]
4834
- }, r8 = rd.node, ZT = /* @__PURE__ */ new Set([
4835
- "$$slots",
4836
- "$$events",
4837
- "$$legacy"
4838
- ]);
4839
- function QT(a, t) {
4840
- let n = e.rest_props(t, ZT);
4841
- Ne(a, e.spread_props(() => n, { get icon() {
4842
- return rd;
4843
- } }));
4844
- }
4845
- var sd = {
4846
- name: "circle-check",
4847
- size: 24,
4848
- node: [["circle", {
4849
- cx: "12",
4850
- cy: "12",
4851
- r: "10"
4852
- }], ["path", { d: "m16 9-5.5 5.5L8 12" }]],
4853
- aliases: ["check-circle-2"]
4853
+ aliases: ["alert-circle", "circle-alert"]
4854
4854
  }, s8 = sd.node, JT = /* @__PURE__ */ new Set([
4855
4855
  "$$slots",
4856
4856
  "$$events",
@@ -5592,25 +5592,6 @@ function eP(a, t) {
5592
5592
  } }));
5593
5593
  }
5594
5594
  var Vd = {
5595
- name: "settings",
5596
- size: 24,
5597
- node: [["path", { d: "M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915" }], ["circle", {
5598
- cx: "12",
5599
- cy: "12",
5600
- r: "3"
5601
- }]]
5602
- }, N8 = Vd.node, tP = /* @__PURE__ */ new Set([
5603
- "$$slots",
5604
- "$$events",
5605
- "$$legacy"
5606
- ]);
5607
- function ei(a, t) {
5608
- let n = e.rest_props(t, tP);
5609
- Ne(a, e.spread_props(() => n, { get icon() {
5610
- return Vd;
5611
- } }));
5612
- }
5613
- var jd = {
5614
5595
  name: "share-2",
5615
5596
  size: 24,
5616
5597
  node: [
@@ -5642,15 +5623,34 @@ var jd = {
5642
5623
  y2: "10.49"
5643
5624
  }]
5644
5625
  ]
5645
- }, B8 = jd.node, aP = /* @__PURE__ */ new Set([
5626
+ }, N8 = Vd.node, tP = /* @__PURE__ */ new Set([
5646
5627
  "$$slots",
5647
5628
  "$$events",
5648
5629
  "$$legacy"
5649
5630
  ]);
5650
- function Kd(a, t) {
5631
+ function jd(a, t) {
5632
+ let n = e.rest_props(t, tP);
5633
+ Ne(a, e.spread_props(() => n, { get icon() {
5634
+ return Vd;
5635
+ } }));
5636
+ }
5637
+ var Kd = {
5638
+ name: "settings",
5639
+ size: 24,
5640
+ node: [["path", { d: "M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915" }], ["circle", {
5641
+ cx: "12",
5642
+ cy: "12",
5643
+ r: "3"
5644
+ }]]
5645
+ }, B8 = Kd.node, aP = /* @__PURE__ */ new Set([
5646
+ "$$slots",
5647
+ "$$events",
5648
+ "$$legacy"
5649
+ ]);
5650
+ function ei(a, t) {
5651
5651
  let n = e.rest_props(t, aP);
5652
5652
  Ne(a, e.spread_props(() => n, { get icon() {
5653
- return jd;
5653
+ return Kd;
5654
5654
  } }));
5655
5655
  }
5656
5656
  var Gd = {
@@ -13619,7 +13619,7 @@ function dc() {
13619
13619
  var D5 = e.from_html('<button type="button"></button>'), ms = e.from_html('<p class="svelte-dgy1er"> </p>'), z5 = e.from_html('<p class="notice svelte-dgy1er"> </p>'), q5 = e.from_html('<p class="svelte-dgy1er"> </p> <button type="button" class="primary svelte-dgy1er"> </button>', 1), R5 = e.from_html('<section class="card svelte-dgy1er"><h2 class="svelte-dgy1er"> </h2> <!></section>'), F5 = e.from_html('<section class="card svelte-dgy1er"><pptx-ui-connected-services></pptx-ui-connected-services></section>', 2), L5 = 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>');
13620
13620
  function N5(a, t) {
13621
13621
  e.push(t, !0);
13622
- const n = de(), i = li(), r = dc(), s = e.derived(() => Bm(n)), l = "4.71.0";
13622
+ const n = de(), i = li(), r = dc(), s = e.derived(() => Bm(n)), l = "4.72.1";
13623
13623
  let o = e.state(e.proxy(Sn().profile ?? { ...Ni })), d = e.state(void 0), v = e.state(!1);
13624
13624
  async function u() {
13625
13625
  e.set(d, await jf(i()), !0);
@@ -13747,7 +13747,7 @@ function rn(a, t) {
13747
13747
  save: ZE,
13748
13748
  saveAs: Ca,
13749
13749
  print: $n,
13750
- share: Kd,
13750
+ share: jd,
13751
13751
  export: sP,
13752
13752
  close: it,
13753
13753
  account: oP,
@@ -13796,7 +13796,7 @@ function cc(a, t) {
13796
13796
  json: uE,
13797
13797
  copyImage: rE,
13798
13798
  print: $n,
13799
- share: Kd
13799
+ share: jd
13800
13800
  }, h = e.derived(() => ({
13801
13801
  protect: t.onprotect,
13802
13802
  inspect: t.onproperties,
@@ -14162,7 +14162,7 @@ function vc(a, t) {
14162
14162
  "aria-hidden": "true"
14163
14163
  });
14164
14164
  }, p = (k) => {
14165
- QT(k, {
14165
+ $T(k, {
14166
14166
  size: 17,
14167
14167
  "aria-hidden": "true"
14168
14168
  });
@@ -14383,7 +14383,7 @@ function pc(a, t) {
14383
14383
  }), e.reset(S), e.reset(y);
14384
14384
  var h = e.sibling(y, 2), k = e.child(h), C = (V) => {
14385
14385
  var L = mD(), q = e.child(L);
14386
- $T(q, {
14386
+ QT(q, {
14387
14387
  size: 15,
14388
14388
  "aria-hidden": "true"
14389
14389
  });
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { _ as s, g as o, h as a, l as r, m as S, p as i, s as t, t as _, w as T } from "./export-CHXF8QNn.js";
1
+ import { _ as s, g as o, h as a, l as r, m as S, p as i, s as t, t as _, w as T } from "./export-CgCgu4W3.js";
2
2
  import { i as n } from "./translator-2U8GG-ce.js";
3
3
  import "./i18n.js";
4
4
  import { BACKSTAGE_CARD_IDS as O, BACKSTAGE_PAGE_IDS as D, CANVAS_CONTEXT_MENU_COMMAND_IDS as N, EDITOR_SHORTCUT_ACTION_IDS as A, ELEMENT_CONTEXT_MENU_COMMAND_IDS as m, OPTIONS_PAGE_IDS as P, OPTIONS_SECTION_IDS as d, OPTIONS_SETTING_IDS as C, PPTX_OPEN_ACCEPT as p, PRESENTATION_OPEN_EXTENSIONS as R, RIBBON_CONTROL_IDS as v, RIBBON_GROUP_IDS as B, RIBBON_TAB_IDS as g, TOOLBAR_BUTTON_IDS as h, VIEWER_DIALOG_IDS as c, VIEWER_EXPORT_FORMAT_IDS as u, VIEWER_FEATURE_IDS as L, VIEWER_PANEL_IDS as M, createImageElementFromFile as V, defaultCssVars as f, defaultRadius as k, defaultThemeColors as G, deleteAutosaveSnapshot as b, describeCollaborationShellState as x, forgetSessionDeck as F, getAutosaveSnapshot as U, getSessionTabId as X, isLegacyBinaryPresentation as W, isSupportedPresentationFile as w, listAutosaveSnapshots as y, loadPresentationDeck as K, loadSessionDeck as H, parsePresentationSessionId as j, presentationBaseName as q, rememberSessionDeck as z, restoreSessionDeck as J, savedPresentationFileName as Q, themeToCssVars as Y, vermilionDarkColors as Z, vermilionDarkTheme as $, vermilionLightColors as ee, vermilionLightTheme as se, vermilionRadius as oe } from "ooxml-ui/pptx";
@@ -1,27 +1,27 @@
1
+ import { C as a, S as o, _ as s, a as r, b as t, c as i, d as l, f as S, g as n, h as d, i as p, l as v, m as c, n as g, o as m, p as x, r as P, s as b, t as w, u as T, v as y, x as A, y as C } from "../export-CgCgu4W3.js";
1
2
  import "../transition-overlay-DmshZAWm.js";
2
- import { C as o, S as s, _ as r, a as t, b as i, c as l, d as S, f as n, g as d, h as p, i as v, l as c, m as g, n as m, o as x, p as P, r as b, s as w, t as T, u as y, v as A, x as C, y as V } from "../export-CHXF8QNn.js";
3
3
  export {
4
- m as CollaborationCursors,
5
- b as EditorLayer,
6
- c as PowerPointViewer,
7
- n as PresentationLoader,
8
- v as RemoteSelectionOverlay,
9
- t as Ribbon,
10
- x as SlideCanvas,
11
- w as SlidesPane,
12
- S as ViewerState,
13
- l as ViewerToolbar,
14
- A as clampSlideIndex,
15
- T as createSlidesPaneProps,
16
- o as createSvelteAiBridge,
17
- y as createViewerState,
18
- P as exportAllSlidesToSvg,
19
- g as exportAllSlidesToSvgBlobs,
20
- p as exportSlideAsSvg,
21
- d as exportSlideToSvg,
22
- r as exportSlideToSvgBlob,
23
- V as fitScale,
24
- i as resolveNavigationKey,
25
- C as zoomInPercent,
26
- s as zoomOutPercent
4
+ g as CollaborationCursors,
5
+ P as EditorLayer,
6
+ v as PowerPointViewer,
7
+ S as PresentationLoader,
8
+ p as RemoteSelectionOverlay,
9
+ r as Ribbon,
10
+ m as SlideCanvas,
11
+ b as SlidesPane,
12
+ l as ViewerState,
13
+ i as ViewerToolbar,
14
+ y as clampSlideIndex,
15
+ w as createSlidesPaneProps,
16
+ a as createSvelteAiBridge,
17
+ T as createViewerState,
18
+ x as exportAllSlidesToSvg,
19
+ c as exportAllSlidesToSvgBlobs,
20
+ d as exportSlideAsSvg,
21
+ n as exportSlideToSvg,
22
+ s as exportSlideToSvgBlob,
23
+ C as fitScale,
24
+ t as resolveNavigationKey,
25
+ A as zoomInPercent,
26
+ o as zoomOutPercent
27
27
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pptx-svelte-viewer",
3
- "version": "4.71.0",
3
+ "version": "4.72.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,31 +116,31 @@
116
116
  "pack": "bun run build && bun pm pack"
117
117
  },
118
118
  "dependencies": {
119
- "@lucide/svelte": "^1.64.0",
120
- "fast-xml-parser": "^5.11.2",
121
- "html2canvas-pro": "^2.5.4",
119
+ "@lucide/svelte": "^1.69.0",
120
+ "fast-xml-parser": "^5.12.0",
121
+ "html2canvas-pro": "^2.6.3",
122
122
  "jspdf": "^4.2.1",
123
123
  "jszip": "^3.10.2",
124
- "ooxml-core": "^1.47.0",
125
- "ooxml-ui": "^1.47.0",
124
+ "ooxml-core": "^1.48.1",
125
+ "ooxml-ui": "^1.48.1",
126
126
  "opentype.js": "^2.0.0"
127
127
  },
128
128
  "devDependencies": {
129
- "@ai-sdk/svelte": "^5.0.157",
129
+ "@ai-sdk/svelte": "^5.0.163",
130
130
  "@microsoft/api-extractor": "^7.60.0",
131
131
  "@sveltejs/vite-plugin-svelte": "^7.3.1",
132
132
  "@types/opentype.js": "^1.3.10",
133
- "ai": "^7.0.157",
133
+ "ai": "^7.0.163",
134
134
  "happy-dom": "^21.0.4",
135
135
  "pptx-viewer-core": "^4.14.1",
136
- "rollup": "^4.66.0",
136
+ "rollup": "^4.67.5",
137
137
  "rollup-plugin-dts": "^6.5.1",
138
138
  "svelte": "^5.57.3",
139
- "svelte-check": "^4.7.7",
139
+ "svelte-check": "^4.7.8",
140
140
  "typescript": "6.0.3",
141
- "vite": "^8.3.5",
141
+ "vite": "^8.3.6",
142
142
  "vite-plugin-dts": "^5.1.2",
143
- "vitest": "^5.0.5",
143
+ "vitest": "^5.1.0",
144
144
  "y-webrtc": "^10.3.0",
145
145
  "y-websocket": "^3.1.0",
146
146
  "yjs": "^13.6.33"
@@ -163,7 +163,7 @@
163
163
  }
164
164
  },
165
165
  "optionalDependencies": {
166
- "three": "^0.186.1",
166
+ "three": "^0.187.0",
167
167
  "y-webrtc": "^10.3.0",
168
168
  "y-websocket": "^3.1.0"
169
169
  }