pptx-svelte-viewer 4.1.6 → 4.3.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 +38 -0
- package/dist/{AiChatPanel-C4TquPtV.js → AiChatPanel-6uxswiBd.js} +6 -6
- package/dist/{export-CKRGg8D0.js → export-CVIAWQ_T.js} +13054 -13068
- package/dist/i18n/de.cjs +2 -2
- package/dist/i18n/de.mjs +2 -2
- package/dist/i18n/es.cjs +2 -2
- package/dist/i18n/es.mjs +2 -2
- package/dist/i18n/fr.cjs +2 -2
- package/dist/i18n/fr.mjs +2 -2
- package/dist/i18n/zh-CN.cjs +2 -2
- package/dist/i18n/zh-CN.mjs +2 -2
- package/dist/i18n.js +1 -1
- package/dist/index.d.ts +278 -3
- package/dist/index.js +38 -38
- package/dist/internals.d.ts +230 -2
- package/dist/internals.js +21 -21
- package/dist/pptx-svelte-viewer.css +1 -1
- package/dist/{transition-overlay-DIPxa90i.js → transition-overlay-BmUNA9xJ.js} +60119 -51929
- package/dist/{translator-D7duxy6A.js → translator-BZ6HUBWJ.js} +2 -2
- package/dist/viewer/index.d.ts +357 -23
- package/dist/viewer/index.js +6 -6
- package/package.json +1 -1
- package/dist/canvas_emf-converter-CKs-EBwD.js +0 -5
- package/dist/smartart-3d-D1MLYTBe.js +0 -290
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,44 @@ 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.2.0](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-svelte-viewer@4.2.0) - 2026-09-24
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
- **shared:** Add pptx-three-view host with one shared WebGL context (by @ChristopherVR) ([aaaf21d](https://github.com/ChristopherVR/pptx-viewer/commit/aaaf21d56e5baad79f9e7327029811e95c55d781))
|
|
15
|
+
- **shared:** Wire chart-events, view-spec, and export snapshot for pptx-three-view (by @ChristopherVR) ([089738a](https://github.com/ChristopherVR/pptx-viewer/commit/089738a19e443bc08c3c7576b81f28bef236ec0c))
|
|
16
|
+
- **core:** Parse 3D scene/extrusion for cached SmartArt drawing shapes (by @ChristopherVR) ([e80b086](https://github.com/ChristopherVR/pptx-viewer/commit/e80b086ada646f9786510e43f7e11f705eebe77c))
|
|
17
|
+
- **shared:** Add pure chart-3d projection + flat-shading resolvers (by @ChristopherVR) ([117cfc5](https://github.com/ChristopherVR/pptx-viewer/commit/117cfc5d4e355394565a8ca935c6d970a460cc1a))
|
|
18
|
+
- **shared:** Build a real Chart3DSpec for bar3D (clustered/stacked) (by @ChristopherVR) ([7df9a11](https://github.com/ChristopherVR/pptx-viewer/commit/7df9a1137e5b75333dcb376147af04c0dcb6082d))
|
|
19
|
+
- **shared:** Add the 3D chart's SVG chrome overlay renderer (by @ChristopherVR) ([635aea0](https://github.com/ChristopherVR/pptx-viewer/commit/635aea0e896d4fb5c2592627d62147a37ff54313))
|
|
20
|
+
- **shared:** Render flat SmartArt quick styles from the cached drawing (by @ChristopherVR) ([bb89b9b](https://github.com/ChristopherVR/pptx-viewer/commit/bb89b9bddd6b3f696143164665f9539257cc057c))
|
|
21
|
+
- **shared:** Implement mountChart3DView for oblique bar3D boxes (by @ChristopherVR) ([4cbb870](https://github.com/ChristopherVR/pptx-viewer/commit/4cbb8700cb579510177591cd0b16697ecdf6c2ab))
|
|
22
|
+
- **shared:** Host every 3D chart kind in pptx-three-view (by @claude) ([d8a3019](https://github.com/ChristopherVR/pptx-viewer/commit/d8a3019259327557b331bf9ff456909573eda552))
|
|
23
|
+
- **vue:** Render 3D charts and SmartArt through <pptx-three-view> (by @claude) ([5a35348](https://github.com/ChristopherVR/pptx-viewer/commit/5a35348748e78b49c4e5150843b3bd2797bae0d7))
|
|
24
|
+
- **svelte:** Render 3D charts and SmartArt through <pptx-three-view> (by @claude) ([b384697](https://github.com/ChristopherVR/pptx-viewer/commit/b384697c8637b0d961c2dc4c8e38a1d0af217084))
|
|
25
|
+
- **shared:** Use web components for search, select, and checkbox controls ([#352](https://github.com/ChristopherVR/pptx-viewer/issues/352)) (by @yunfeizhu) ([e09b47a](https://github.com/ChristopherVR/pptx-viewer/commit/e09b47a6e7c94e170d4fe9c87774d11619da776d))
|
|
26
|
+
|
|
27
|
+
### Bug Fixes
|
|
28
|
+
|
|
29
|
+
- **shared:** Draw PowerPoint's auto title for a c:title without text (by @claude) ([dd3c6f0](https://github.com/ChristopherVR/pptx-viewer/commit/dd3c6f0165a6d60305ac0e93ec6548707d351ee5))
|
|
30
|
+
- **vue,svelte,vanilla:** Arm the 3D chart scene only on a selected chart (by @claude) ([192fc8e](https://github.com/ChristopherVR/pptx-viewer/commit/192fc8e959140d9a33ecb2bba5eb43a9875f387a))
|
|
31
|
+
- **shared:** Keep surfaceChart3D covering 2D surface charts (by @claude) ([b208414](https://github.com/ChristopherVR/pptx-viewer/commit/b2084147636006d0791d3dc43e98ed1a52d00a74))
|
|
32
|
+
|
|
33
|
+
### Refactor
|
|
34
|
+
|
|
35
|
+
- **shared:** Move the extracted chart DOM renderer into shared (by @ChristopherVR) ([0d850d4](https://github.com/ChristopherVR/pptx-viewer/commit/0d850d4015b30bf2d7f92ca8bfd093839d18c5dd))
|
|
36
|
+
- **shared:** Remove the pre-element SmartArt scene runtime (by @claude) ([a2bd6c1](https://github.com/ChristopherVR/pptx-viewer/commit/a2bd6c18beba4ad8e3769a71e04f3cb08fee3d99))
|
|
37
|
+
|
|
38
|
+
### Testing
|
|
39
|
+
|
|
40
|
+
- **shared:** Cover the three-view host, controller and sizing (by @ChristopherVR) ([ad42c24](https://github.com/ChristopherVR/pptx-viewer/commit/ad42c248a07e7f297a5e47076c325bbd456417b6))
|
|
41
|
+
|
|
42
|
+
## [4.1.6](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-svelte-viewer@4.1.6) - 2026-09-23
|
|
43
|
+
|
|
44
|
+
### Bug Fixes
|
|
45
|
+
|
|
46
|
+
- **ui:** Align File backstage navigation across bindings ([#351](https://github.com/ChristopherVR/pptx-viewer/issues/351)) (by @yunfeizhu) ([2196a0e](https://github.com/ChristopherVR/pptx-viewer/commit/2196a0e6a5bd33f0e7ea70e18460141a64703874))
|
|
47
|
+
|
|
10
48
|
## [4.1.5](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-svelte-viewer@4.1.5) - 2026-09-23
|
|
11
49
|
|
|
12
50
|
### Bug Fixes
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { B as U, C as ce, D as pe, E as de,
|
|
1
|
+
import { T as V } from "./transition-overlay-BmUNA9xJ.js";
|
|
2
|
+
import { B as U, C as ce, D as pe, E as de, F as ve, G as A, H as ue, L as Y, O as he, R as $, S as _e, T as ge, U as xe, V as R, W as fe, _ as me, b as be, g as ye, h as ke, k as we, v as Ce, w as Me, x as ze, y as Se, z as Pe } from "./export-CVIAWQ_T.js";
|
|
3
3
|
import "svelte/internal/disclose-version";
|
|
4
4
|
import * as e from "svelte/internal/client";
|
|
5
5
|
import { onMount as qe, untrack as O } from "svelte";
|
|
@@ -140,7 +140,7 @@ var De = class {
|
|
|
140
140
|
onToolCall: async ({ toolCall: a }) => {
|
|
141
141
|
const { toolName: i, toolCallId: r, input: d } = a, z = e.get(this.#e);
|
|
142
142
|
if (!z) return;
|
|
143
|
-
this.#t.onToolTarget?.(
|
|
143
|
+
this.#t.onToolTarget?.(he(i, d));
|
|
144
144
|
const f = z.addToolOutput;
|
|
145
145
|
try {
|
|
146
146
|
f({
|
|
@@ -913,7 +913,7 @@ function It(s, t) {
|
|
|
913
913
|
e.push(t, !0);
|
|
914
914
|
const a = V(), i = {
|
|
915
915
|
view: ke,
|
|
916
|
-
text:
|
|
916
|
+
text: Pe,
|
|
917
917
|
shape: Pt,
|
|
918
918
|
theme: zt,
|
|
919
919
|
table: Tt,
|
|
@@ -921,10 +921,10 @@ function It(s, t) {
|
|
|
921
921
|
chart: gt,
|
|
922
922
|
move: kt,
|
|
923
923
|
delete: U,
|
|
924
|
-
search:
|
|
924
|
+
search: ve,
|
|
925
925
|
nav: Ct,
|
|
926
926
|
animation: ft,
|
|
927
|
-
notes:
|
|
927
|
+
notes: ue,
|
|
928
928
|
tool: Q
|
|
929
929
|
}, r = e.derived(() => t.part.state === "output-error"), d = e.derived(() => t.part.state === "output-available"), z = e.derived(() => !e.get(r) && !e.get(d)), f = e.derived(() => be(t.part.toolName, t.part.input, e.get(z) ? "present" : "past")), _ = e.derived(() => i[e.get(f).icon] ?? Q), y = e.derived(() => de(t.part.input)), m = e.derived(() => e.get(r) ? a("pptx.ai.toolFailed") : e.get(d) ? a("pptx.ai.toolDone") : a("pptx.ai.toolRunning"));
|
|
930
930
|
var b = Et(), x = e.child(b), g = e.child(x);
|