@silurus/ooxml 0.15.1 → 0.16.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/README.md +5 -1
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{pptx-B76oTVMe.js → pptx-Dvlu_0iN.js} +3 -2
- package/dist/pptx-mS90ORGU.cjs +1 -0
- package/dist/pptx.cjs +1 -1
- package/dist/pptx.mjs +1 -1
- package/package.json +1 -1
- package/dist/pptx-BiUBfZZA.cjs +0 -1
package/README.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
> **This entire codebase — Rust parsers, TypeScript renderers, tests, and tooling — was implemented by [Claude](https://claude.ai)** (Anthropic's AI assistant) through iterative prompting. No human-written application code exists in this repository.
|
|
2
2
|
|
|
3
|
+
<p align="center">
|
|
4
|
+
<img src="docs/images/icon.png" alt="office-open-xml-viewer" width="160" height="160">
|
|
5
|
+
</p>
|
|
6
|
+
|
|
3
7
|
# office-open-xml-viewer
|
|
4
8
|
|
|
5
9
|
[](https://www.npmjs.com/package/@silurus/ooxml)
|
|
@@ -442,7 +446,7 @@ export const PptxViewerComponent = component$<{ src: string }>(({ src }) => {
|
|
|
442
446
|
| | Charts (pie, scatter, bubble) | ❌ |
|
|
443
447
|
| | SmartArt | ❌ |
|
|
444
448
|
| | OLE objects | ❌ |
|
|
445
|
-
| | Video / audio |
|
|
449
|
+
| | Video / audio (poster + interactive playback) | ✅ |
|
|
446
450
|
| **Shape geometry** | 130+ preset shapes (`prstGeom`) | ✅ |
|
|
447
451
|
| | Custom geometry (`custGeom`) | ✅ |
|
|
448
452
|
| | Rotation and flip (flipH / flipV) | ✅ |
|
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./pptx-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./pptx-mS90ORGU.cjs`),t=require(`./xlsx-CWkWdRpm.cjs`),n=require(`./docx-DKPVLT6O.cjs`);Object.defineProperty(exports,`docx`,{enumerable:!0,get:function(){return n.t}}),Object.defineProperty(exports,`pptx`,{enumerable:!0,get:function(){return e.t}}),Object.defineProperty(exports,`xlsx`,{enumerable:!0,get:function(){return t.t}});
|
package/dist/index.mjs
CHANGED
|
@@ -23488,7 +23488,7 @@ async function ae(e, t, n) {
|
|
|
23488
23488
|
let { wasPlaying: n, state: r } = g;
|
|
23489
23489
|
g = null, e.releasePointerCapture(t.pointerId), n && r.media.play().catch(() => void 0);
|
|
23490
23490
|
};
|
|
23491
|
-
return e.addEventListener("pointerdown", v), e.addEventListener("pointermove", y), e.addEventListener("pointerleave", b), e.addEventListener("pointerup", x), e.addEventListener("pointercancel", x), e.style.cursor = "pointer", p(), {
|
|
23491
|
+
return c.length > 0 && (e.addEventListener("pointerdown", v), e.addEventListener("pointermove", y), e.addEventListener("pointerleave", b), e.addEventListener("pointerup", x), e.addEventListener("pointercancel", x), e.style.cursor = "pointer", p()), {
|
|
23492
23492
|
play(e) {
|
|
23493
23493
|
for (let t of c) (!e || t.el.mediaPath === e) && t.media.play().catch(() => void 0);
|
|
23494
23494
|
},
|
|
@@ -23756,7 +23756,8 @@ var $ = class e {
|
|
|
23756
23756
|
drawBase: () => this.renderSlide(e, t, {
|
|
23757
23757
|
width: a,
|
|
23758
23758
|
dpr: i,
|
|
23759
|
-
skipMediaControls: !0
|
|
23759
|
+
skipMediaControls: !0,
|
|
23760
|
+
onTextRun: n.onTextRun
|
|
23760
23761
|
})
|
|
23761
23762
|
});
|
|
23762
23763
|
}
|