@silurus/ooxml 0.77.1 → 0.78.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/README.md +2 -2
- package/dist/{canvas-viewer-mechanics-D5zXbOrS.js → canvas-viewer-mechanics-B4K_t5X_.js} +1 -1
- package/dist/{document-pull-client-CC8pPuzi.js → document-pull-client-5AakVD6e.js} +3137 -3016
- package/dist/{docx-Dg9N9OX4.js → docx-bjhRwb2u.js} +4 -4
- package/dist/docx.mjs +3 -3
- package/dist/docx_parser_bg.wasm +0 -0
- package/dist/index.mjs +3 -3
- package/dist/{line-distribute-BtfPlM2A.js → line-distribute-BVFW1-Hs.js} +1 -1
- package/dist/{line-metrics-B66x33iy.js → line-metrics-DS0NS2Iq.js} +2615 -1807
- package/dist/node.mjs +7 -7
- package/dist/{pptx-BFP7Isgf.js → pptx-D1rCrHGR.js} +5 -5
- package/dist/pptx.mjs +4 -4
- package/dist/pptx_parser_bg.wasm +0 -0
- package/dist/{render-D-cOpMLV.js → render-DhlT5jxZ.js} +1 -1
- package/dist/render-worker-host-CtJo7hc9.js +27 -0
- package/dist/render-worker-host-D8vv-Asx.js +27 -0
- package/dist/render-worker-host-DAjG9nmw.js +27 -0
- package/dist/{resource-measurement-CVfVTQrt.js → resource-measurement-BA-4Q-II.js} +1 -1
- package/dist/{session-DxAVpIP-.js → session-C_HGxbRD.js} +2 -2
- package/dist/{slide-pull-client-Lag44QA8.js → slide-pull-client-BiC4sVGi.js} +642 -580
- package/dist/types/docx.d.ts +102 -8
- package/dist/types/index.d.ts +89 -12
- package/dist/types/node.d.ts +82 -6
- package/dist/types/pptx.d.ts +76 -8
- package/dist/types/xlsx.d.ts +85 -8
- package/dist/{worksheet-pull-client-D74b_23i.js → worksheet-pull-client-BnvgeqfG.js} +2 -2
- package/dist/{xlsx-Bik59Raj.js → xlsx-BG_WYSc0.js} +1383 -1056
- package/dist/xlsx.mjs +4 -4
- package/dist/xlsx_parser_bg.wasm +0 -0
- package/package.json +1 -1
- package/dist/render-worker-host-BzpMoFRr.js +0 -27
- package/dist/render-worker-host-CdZ5hW2X.js +0 -27
- package/dist/render-worker-host-quqYq02i.js +0 -27
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as e } from "./chunk-DmhlhrBa.js";
|
|
2
|
-
import { B as t, Et as n, It as r, Lt as i, R as a, a as o, gn as s, hn as c, ht as l, it as u, kt as d, on as f, q as p, z as m } from "./line-metrics-
|
|
3
|
-
import { C as h, E as g, S as _, T as v, _ as y, a as b, b as x, c as S, d as ee, f as te, g as ne, h as re, i as C, l as w, m as ie, n as ae, o as oe, p as se, r as ce, s as le, t as ue, u as de, v as T, w as fe, x as pe, y as E } from "./canvas-viewer-mechanics-
|
|
2
|
+
import { B as t, Et as n, It as r, Lt as i, R as a, a as o, gn as s, hn as c, ht as l, it as u, kt as d, on as f, q as p, z as m } from "./line-metrics-DS0NS2Iq.js";
|
|
3
|
+
import { C as h, E as g, S as _, T as v, _ as y, a as b, b as x, c as S, d as ee, f as te, g as ne, h as re, i as C, l as w, m as ie, n as ae, o as oe, p as se, r as ce, s as le, t as ue, u as de, v as T, w as fe, x as pe, y as E } from "./canvas-viewer-mechanics-B4K_t5X_.js";
|
|
4
4
|
import { a as me, c as he, i as ge, o as _e, r as ve, s as ye, t as be } from "./bounded-raw-part-cache-C6ro6Ezf.js";
|
|
5
|
-
import { C as xe, S as Se, _ as D, a as Ce, b as we, c as Te, d as Ee, f as De, g as Oe, h as ke, l as Ae, m as je, n as O, o as Me, p as Ne, s as Pe, t as k, v as A, w as Fe, x as j, y as Ie } from "./document-pull-client-
|
|
5
|
+
import { C as xe, S as Se, _ as D, a as Ce, b as we, c as Te, d as Ee, f as De, g as Oe, h as ke, l as Ae, m as je, n as O, o as Me, p as Ne, s as Pe, t as k, v as A, w as Fe, x as j, y as Ie } from "./document-pull-client-5AakVD6e.js";
|
|
6
6
|
import { n as Le, r as M, t as N } from "./highlight-rect-CAkCWJ37.js";
|
|
7
7
|
//#region packages/core/src/fonts/embedded.ts
|
|
8
8
|
function Re(e, t) {
|
|
@@ -341,7 +341,7 @@ var U = class e {
|
|
|
341
341
|
t = await e.arrayBuffer();
|
|
342
342
|
} else t = n;
|
|
343
343
|
t = g(await v(t, r.password)), c.setSourceBytes(t.byteLength), c.checkpoint("container ready");
|
|
344
|
-
let a = s === "worker" ? (await import("./render-worker-host-
|
|
344
|
+
let a = s === "worker" ? (await import("./render-worker-host-D8vv-Asx.js")).createRenderWorker() : new Ue(), l;
|
|
345
345
|
try {
|
|
346
346
|
if (l = new e(a, s, o, r.wasmUrl), l._metrics = c, await l._parse(t, i.policy, s === "worker" ? !!r.useGoogleFonts : !1, r.workerTimeoutMs, (e) => c.observeUsage(e)), s === "worker" && l._mode === "main" && (c.setMode("main"), console.warn("[ooxml] mode: 'worker' fell back to main-thread rendering because this document requires DOM OpenType vertical glyph selection.")), r.math && l._mode === "worker" && console.warn("[ooxml] the math engine is unavailable in mode: 'worker'; equations will be skipped. Use mode: 'main' for documents with equations."), l._mode === "main" && r.useGoogleFonts && l._document && (l._googleFontFaces = await ge(Ne(l._document), De)), l._mode === "main" && l._document?.embeddedFonts?.length) {
|
|
347
347
|
let e = l;
|
package/dist/docx.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { It as e, Lt as t, a as n, gn as r, hn as i } from "./line-metrics-
|
|
2
|
-
import { w as a } from "./canvas-viewer-mechanics-
|
|
3
|
-
import { a as o, c as s, i as c, n as l, o as u, r as d, s as f } from "./docx-
|
|
1
|
+
import { It as e, Lt as t, a as n, gn as r, hn as i } from "./line-metrics-DS0NS2Iq.js";
|
|
2
|
+
import { w as a } from "./canvas-viewer-mechanics-B4K_t5X_.js";
|
|
3
|
+
import { a as o, c as s, i as c, n as l, o as u, r as d, s as f } from "./docx-bjhRwb2u.js";
|
|
4
4
|
export { s as DocxDocument, d as DocxScrollViewer, c as DocxViewer, e as OoxmlDecodedImageLimitError, i as OoxmlError, r as OoxmlResourceLimitError, a as autoResize, u as buildDocxHighlightLayer, f as buildDocxTextLayer, t as isOoxmlDecodedImageLimitError, l as noteText, n as openExternalHyperlink, o as readDocxTextSelectionContext };
|
package/dist/docx_parser_bg.wasm
CHANGED
|
Binary file
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./docx-
|
|
2
|
-
import { t } from "./xlsx-
|
|
3
|
-
import { t as n } from "./pptx-
|
|
1
|
+
import { t as e } from "./docx-bjhRwb2u.js";
|
|
2
|
+
import { t } from "./xlsx-BG_WYSc0.js";
|
|
3
|
+
import { t as n } from "./pptx-D1rCrHGR.js";
|
|
4
4
|
export { e as docx, n as pptx, t as xlsx };
|