@silurus/ooxml 0.76.1 → 0.76.2

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.
@@ -2,7 +2,7 @@ import { t as e } from "./chunk-DmhlhrBa.js";
2
2
  import { B as t, Et as n, It as r, Lt as i, R as a, a as o, an as s, hn as c, ht as l, it as u, kt as d, mn as f, q as p, z as m } from "./line-metrics-BdCACYlq.js";
3
3
  import { _ as h, a as g, b as _, c as v, d as y, f as b, g as x, h as ee, i as S, l as te, m as C, n as ne, o as w, p as T, r as re, s as ie, t as ae, u as oe, v as E, x as se, y as ce } from "./canvas-viewer-mechanics-CwVSOYke.js";
4
4
  import { a as le, c as ue, i as de, o as fe, r as pe, s as me, t as he } from "./bounded-raw-part-cache-C6ro6Ezf.js";
5
- import { _ as D, a as ge, c as O, d as k, f as A, g as j, h as M, l as N, m as P, n as F, o as I, p as L, s as _e, t as R, v as ve, y as z } from "./document-pull-client-AAnwzlig.js";
5
+ import { _ as D, a as ge, c as O, d as k, f as A, g as j, h as M, l as N, m as P, n as F, o as I, p as L, s as _e, t as R, v as ve, y as z } from "./document-pull-client-B-3_7_YS.js";
6
6
  import { n as ye, r as B, t as V } from "./highlight-rect-CAkCWJ37.js";
7
7
  //#region packages/core/src/fonts/embedded.ts
8
8
  function be(e, t) {
@@ -163,7 +163,7 @@ var W = class e {
163
163
  t = await e.arrayBuffer();
164
164
  } else t = n;
165
165
  t = se(await _(t, r.password)), c.setSourceBytes(t.byteLength), c.checkpoint("container ready");
166
- let a = s === "worker" ? (await import("./render-worker-host-B8HAb_sK.js")).createRenderWorker() : new Te(), l;
166
+ let a = s === "worker" ? (await import("./render-worker-host-Dpv-nKHY.js")).createRenderWorker() : new Te(), l;
167
167
  try {
168
168
  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 de(L(l._document), A)), l._mode === "main" && l._document?.embeddedFonts?.length) {
169
169
  let e = l;
package/dist/docx.mjs CHANGED
@@ -1,4 +1,4 @@
1
1
  import { It as e, Lt as t, a as n, hn as r, mn as i } from "./line-metrics-BdCACYlq.js";
2
2
  import { y as a } from "./canvas-viewer-mechanics-CwVSOYke.js";
3
- import { a as o, i as s, n as c, o as l, r as u, s as d } from "./docx-CCksIXd5.js";
3
+ import { a as o, i as s, n as c, o as l, r as u, s as d } from "./docx-C6B98B4-.js";
4
4
  export { d as DocxDocument, u as DocxScrollViewer, s as DocxViewer, e as OoxmlDecodedImageLimitError, i as OoxmlError, r as OoxmlResourceLimitError, a as autoResize, o as buildDocxHighlightLayer, l as buildDocxTextLayer, t as isOoxmlDecodedImageLimitError, c as noteText, n as openExternalHyperlink };
Binary file
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { t as e } from "./docx-CCksIXd5.js";
2
- import { t } from "./xlsx-BBmmZNQn.js";
1
+ import { t as e } from "./docx-C6B98B4-.js";
2
+ import { t } from "./xlsx-EykJ9tPV.js";
3
3
  import { t as n } from "./pptx-CKAk5e-J.js";
4
4
  export { e as docx, n as pptx, t as xlsx };
package/dist/node.mjs CHANGED
@@ -2,7 +2,7 @@ import { t as e } from "./chunk-DmhlhrBa.js";
2
2
  import { t } from "./slide-pull-client-WCuYCjio.js";
3
3
  import { B as n, Et as r, F as i, H as a, I as o, It as s, Lt as c, P as l, R as u, U as d, W as ee, at as f, hn as p, kt as m, ot as h, q as te, rt as g, st as ne } from "./line-metrics-BdCACYlq.js";
4
4
  import { t as re } from "./bounded-raw-part-cache-C6ro6Ezf.js";
5
- import { a as ie, c as ae, i as oe, l as se, r as ce, u as le } from "./document-pull-client-AAnwzlig.js";
5
+ import { a as ie, c as ae, i as oe, l as se, r as ce, u as le } from "./document-pull-client-B-3_7_YS.js";
6
6
  import { t as ue } from "./transfer-DCu4c2BL.js";
7
7
  import { a as de, c as fe, d as pe, l as me, o as he, r as ge, s as _e, t as ve, u as ye } from "./worksheet-pull-client-YzjJMOns.js";
8
8
  import { a as be, i as xe, n as Se, r as Ce } from "./session-B4Y54cbT.js";