@silurus/ooxml 0.75.3 → 0.75.5

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,9 +2,9 @@ import { t as e } from "./chunk-DmhlhrBa.js";
2
2
  import { E as t, M as n, N as r, _ as i, c as a, l as o, t as s, u as c } from "./bounded-raw-part-cache-BTfZD_Sz.js";
3
3
  import { a as l, c as u, d, f, h as p, i as m, l as h, m as g, n as _, o as v, p as y, r as b, s as x, t as ee, u as te } from "./find-cursor-Dc5iM6s7.js";
4
4
  import { a as S, i as C, n as w, o as T, r as E, t as D } from "./preload-BEouWnlI.js";
5
- import { a as ne, d as re, f as ie, g as ae, h as oe, i as se, l as ce, m as O, n as k, o as le, p as ue, r as de, s as A, t as j, u as M } from "./document-pull-client-C3s6Y0eT.js";
5
+ import { a as ne, d as re, f as ie, g as ae, h as oe, i as se, l as ce, m as O, n as k, o as le, p as ue, r as de, s as A, t as j, u as M } from "./document-pull-client-BcNYhoAG.js";
6
6
  import { f as N, i as P, p as F, t as I } from "./svg-image-by-path-C1M3N2pT.js";
7
- import { M as L, ct as R } from "./line-metrics-EFT-W2Au.js";
7
+ import { M as L, lt as R } from "./line-metrics-D9gqQWHl.js";
8
8
  import { n as z, r as B, t as V } from "./highlight-rect-cCvVU-MW.js";
9
9
  import { r as H } from "./hyperlink-D85FexTa.js";
10
10
  //#region packages/core/src/fonts/embedded.ts
@@ -166,7 +166,7 @@ var K = class e {
166
166
  a = await e.arrayBuffer();
167
167
  } else a = t;
168
168
  a = p(await g(a, n.password)), s.setSourceBytes(a.byteLength), s.checkpoint("container ready");
169
- let c = o === "worker" ? (await import("./render-worker-host-8wfcbD3f.js")).createRenderWorker() : new _e(), l;
169
+ let c = o === "worker" ? (await import("./render-worker-host-Cyv5Hkbh.js")).createRenderWorker() : new _e(), l;
170
170
  try {
171
171
  if (l = new e(c, o, i, n.wasmUrl), l._metrics = s, await l._parse(a, r.policy, o === "worker" ? !!n.useGoogleFonts : !1, n.workerTimeoutMs, (e) => s.observeUsage(e)), o === "worker" && l._mode === "main" && (s.setMode("main"), console.warn("[ooxml] mode: 'worker' fell back to main-thread rendering because this document requires DOM OpenType vertical glyph selection.")), n.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" && n.useGoogleFonts && l._document && (l._googleFontFaces = await w(re(l._document), M)), l._mode === "main" && l._document?.embeddedFonts?.length) {
172
172
  let e = l;
package/dist/docx.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import { M as e, N as t } from "./bounded-raw-part-cache-BTfZD_Sz.js";
2
2
  import { p as n } from "./find-cursor-Dc5iM6s7.js";
3
- import { a as r, i, n as a, o, r as s, s as c } from "./docx-C4sCu6Z1.js";
3
+ import { a as r, i, n as a, o, r as s, s as c } from "./docx-DjF8FgoP.js";
4
4
  import { f as l, p as u } from "./svg-image-by-path-C1M3N2pT.js";
5
5
  import { r as d } from "./hyperlink-D85FexTa.js";
6
6
  export { c as DocxDocument, s as DocxScrollViewer, i as DocxViewer, l as OoxmlDecodedImageLimitError, e as OoxmlError, t as OoxmlResourceLimitError, n as autoResize, r as buildDocxHighlightLayer, o as buildDocxTextLayer, u as isOoxmlDecodedImageLimitError, a as noteText, d as openExternalHyperlink };
Binary file
@@ -1,5 +1,5 @@
1
1
  import { a as e, s as t } from "./svg-image-by-path-C1M3N2pT.js";
2
- import { I as n, V as r } from "./line-metrics-EFT-W2Au.js";
2
+ import { I as n, V as r } from "./line-metrics-D9gqQWHl.js";
3
3
  //#region packages/core/src/image/duotone-bitmap-by-path.ts
4
4
  function i(e, t) {
5
5
  return t ? `${e}|duo:${t.clr1}:${t.clr2}` : e;
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { t as e } from "./docx-C4sCu6Z1.js";
2
- import { t } from "./xlsx-Ca8qcow5.js";
3
- import { t as n } from "./pptx-DQqAbp3d.js";
1
+ import { t as e } from "./docx-DjF8FgoP.js";
2
+ import { t } from "./xlsx-BaH9irS0.js";
3
+ import { t as n } from "./pptx-C17xP8AV.js";
4
4
  export { e as docx, n as pptx, t as xlsx };
@@ -1,4 +1,4 @@
1
- import { Q as e, U as t, _ as n, v as r, x as i } from "./line-metrics-EFT-W2Au.js";
1
+ import { $ as e, W as t, _ as n, v as r, x as i } from "./line-metrics-D9gqQWHl.js";
2
2
  //#region packages/core/src/fonts/symbol-font.ts
3
3
  var a = {
4
4
  167: "♣",