@silurus/ooxml 0.89.9 → 0.89.10

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.
@@ -3,7 +3,7 @@ import { Co as t, Fo as n, Ia as r, So as i, wo as a } from "./plot-area-frame-D
3
3
  import { n as o, t as s } from "./cfb-guard-DzYlucez.js";
4
4
  import { $t as c, An as l, F as u, G as d, I as f, P as p, Q as m, Qt as h, W as g, Xt as _, _t as ee, ft as v, jn as y, kn as te, lt as b, p as x, t as ne, vn as re } from "./bounded-raw-part-cache-B5a6cGKO.js";
5
5
  import { A as S, C as ie, D as C, E as w, M as ae, N as oe, P as T, S as se, T as E, _ as ce, a as le, b as ue, c as de, d as fe, f as pe, g as me, h as he, i as ge, j as _e, k as ve, l as ye, m as be, n as xe, o as Se, p as Ce, r as we, t as Te, u as Ee, v as De, w as Oe, x as ke, y as Ae } from "./comment-overlay-controller-b3tKmzMa.js";
6
- import { A as je, B as Me, C as Ne, D, E as Pe, F as Fe, I as Ie, L as O, M as Le, N as k, O as Re, P as ze, R as Be, S as Ve, T as He, V as A, _ as Ue, a as We, b as Ge, c as Ke, f as qe, h as Je, j, k as Ye, l as Xe, m as Ze, n as Qe, o as $e, p as et, s as tt, t as nt, u as rt, v as it, w as at, x as ot, y as M, z as st } from "./document-pull-client-_G-DIh2T.js";
6
+ import { A as je, B as Me, C as Ne, D, E as Pe, F as Fe, I as Ie, L as O, M as Le, N as k, O as Re, P as ze, R as Be, S as Ve, T as He, V as A, _ as Ue, a as We, b as Ge, c as Ke, f as qe, h as Je, j, k as Ye, l as Xe, m as Ze, n as Qe, o as $e, p as et, s as tt, t as nt, u as rt, v as it, w as at, x as ot, y as M, z as st } from "./document-pull-client-CTGM4i1m.js";
7
7
  import { f as ct, u as lt } from "./pixel-budget-DI82Hn3R.js";
8
8
  import { i as ut, t as dt } from "./tiff-contract-DEd8CGuz.js";
9
9
  import { D as ft, E as pt, T as mt, a as ht, b as gt, c as _t, d as vt, f as yt, i as bt, l as xt, n as St, o as Ct, p as wt, r as Tt, s as Et, t as Dt, u as Ot, v as kt, w as At, x as jt, y as Mt } from "./canvas-viewer-mechanics-BsqaoYgK.js";
@@ -1344,7 +1344,7 @@ var Z = class e {
1344
1344
  if (i?.aborted) throw new M();
1345
1345
  };
1346
1346
  if (a(), n.legacyDoc !== void 0) {
1347
- let { loadDocxModelSource: e } = await import("./document-model-source-BlMfm6po.js"), a = await e(t, n, r);
1347
+ let { loadDocxModelSource: e } = await import("./document-model-source-Ca2fk_Fc.js"), a = await e(t, n, r);
1348
1348
  if (i?.aborted) throw a.destroy(), new M();
1349
1349
  return a;
1350
1350
  }
@@ -1365,7 +1365,7 @@ var Z = class e {
1365
1365
  f = await e.arrayBuffer();
1366
1366
  } else f = t;
1367
1367
  a(), f = o(await s(f, n.password)), a(), g.setSourceBytes(f.byteLength), g.checkpoint("container ready");
1368
- let p = h === "worker" ? (await import("./render-worker-host-EgUrirnQ.js")).createRenderWorker() : new mn(), _ = h === "worker" ? Nt(n) : void 0, ee = h === "worker" && !!n.progressiveLayout, v, b = !1, x = () => {
1368
+ let p = h === "worker" ? (await import("./render-worker-host-80mSndWp.js")).createRenderWorker() : new mn(), _ = h === "worker" ? Nt(n) : void 0, ee = h === "worker" && !!n.progressiveLayout, v, b = !1, x = () => {
1369
1369
  b || !v || (b = !0, v.destroy());
1370
1370
  };
1371
1371
  try {
@@ -2760,7 +2760,7 @@ var Nr = Symbol("DocxViewer.borrowedDocument"), Pr = class e {
2760
2760
  }
2761
2761
  }, Lr = 12, Rr = 13, zr = Symbol("DocxScrollViewer.borrowedDocument"), Br;
2762
2762
  function Vr() {
2763
- return Br ??= import("./comment-ui-runtime-BlgDzQx_.js");
2763
+ return Br ??= import("./comment-ui-runtime-BkpFlPT0.js");
2764
2764
  }
2765
2765
  var Hr = class e {
2766
2766
  _pendingLoadAbort = null;
@@ -1,7 +1,7 @@
1
1
  import { t as e } from "./chunk-D5OxutzX.js";
2
2
  import { wo as t } from "./plot-area-frame-DNYMd9Pf.js";
3
3
  import { G as n, I as r, K as i, P as a, R as o, U as s, Xt as c, ft as l, lt as u } from "./bounded-raw-part-cache-B5a6cGKO.js";
4
- import { a as d, c as f, g as p, i as m, l as h, r as g } from "./document-pull-client-_G-DIh2T.js";
4
+ import { a as d, c as f, g as p, i as m, l as h, r as g } from "./document-pull-client-CTGM4i1m.js";
5
5
  import { n as _, t as ee } from "./abort-JztSoyw2.js";
6
6
  import { n as v, r as te, t as y } from "./wasm-loader-KAOyLXzf.js";
7
7
  import { t as b } from "./wasm-runtime-generation-D97yoAXz.js";
@@ -321,7 +321,7 @@ var X = "DOCX document session was aborted", Z = y(() => v(import.meta.url, "doc
321
321
  async function ue(e, t) {
322
322
  if (!t?.factory) throw TypeError("openDocxDocument requires a canvas factory");
323
323
  if (t.legacyDoc !== void 0) {
324
- let { openDocxSource: n } = await import("./docx-model-source-zYIufUjR.js");
324
+ let { openDocxSource: n } = await import("./docx-model-source-CWuvf9jk.js");
325
325
  return n(e, t, Z);
326
326
  }
327
327
  let r = c(t.cjkFallback), i = await Y($(e), Z(), t, (e, t, n) => g(e, t, n));
@@ -343,7 +343,7 @@ async function ue(e, t) {
343
343
  }
344
344
  async function de(e, t = {}) {
345
345
  if (t.legacyDoc !== void 0) {
346
- let { materializeDocxSource: n } = await import("./docx-model-source-zYIufUjR.js");
346
+ let { materializeDocxSource: n } = await import("./docx-model-source-CWuvf9jk.js");
347
347
  return n(e, t, Z);
348
348
  }
349
349
  return te(async () => {
@@ -1,8 +1,8 @@
1
1
  import { G as e, K as t, Xt as n } from "./bounded-raw-part-cache-B5a6cGKO.js";
2
- import { a as r, g as i, i as a, j as o, l as s, r as c } from "./document-pull-client-_G-DIh2T.js";
2
+ import { a as r, g as i, i as a, j as o, l as s, r as c } from "./document-pull-client-CTGM4i1m.js";
3
3
  import { r as l } from "./wasm-loader-KAOyLXzf.js";
4
4
  import { r as u } from "./document-pull-worker-hMKJ5RdB.js";
5
- import { i as d, t as f } from "./docx-DE-Di6SH.js";
5
+ import { i as d, t as f } from "./docx-DwdB7I59.js";
6
6
  import { t as p } from "./model-source-Cch44xsb.js";
7
7
  var m = class extends f {
8
8
  constructor(...e) {
package/dist/docx.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import { Co as e, wo as t } from "./plot-area-frame-DNYMd9Pf.js";
2
2
  import { p as n } from "./bounded-raw-part-cache-B5a6cGKO.js";
3
- import { a as r, c as i, d as a, f as o, i as s, n as c, o as l, p as u, r as d, s as f } from "./docx-Do90Z4L7.js";
3
+ import { a as r, c as i, d as a, f as o, i as s, n as c, o as l, p as u, r as d, s as f } from "./docx-B-47Ff78.js";
4
4
  import { f as p, u as m } from "./pixel-budget-DI82Hn3R.js";
5
5
  import { i as h, t as g } from "./tiff-contract-DEd8CGuz.js";
6
6
  import { D as _ } from "./canvas-viewer-mechanics-BsqaoYgK.js";
Binary file
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { t as e } from "./docx-Do90Z4L7.js";
1
+ import { t as e } from "./docx-B-47Ff78.js";
2
2
  import { t } from "./pptx-DbjWegUB.js";
3
3
  import { t as n } from "./xlsx-DBhYlJKp.js";
4
4
  export { e as docx, t as pptx, n as xlsx };
@@ -1,10 +1,10 @@
1
1
  import { t as e } from "./model-source-COXegBNA.js";
2
- var t = "0.89.9", n = class extends Error {
2
+ var t = "0.89.10", n = class extends Error {
3
3
  constructor(n, r) {
4
4
  super(`Companion requires @silurus/ooxml ${n} (${r}); installed runtime is ${t} (${e})`), this.code = "companion-runtime-mismatch", this.name = "CompanionRuntimeMismatchError";
5
5
  }
6
6
  };
7
7
  function r(e, t) {
8
- if (e !== "0.89.9" || t !== "ooxml-model-source-module/v2") throw new n(e, t);
8
+ if (e !== "0.89.10" || t !== "ooxml-model-source-module/v2") throw new n(e, t);
9
9
  }
10
10
  export { n as CompanionRuntimeMismatchError, e as MODEL_SOURCE_MODULE_PROTOCOL, r as assertCompanionRuntime };
package/dist/node.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import { Co as e, wo as t } from "./plot-area-frame-DNYMd9Pf.js";
2
2
  import { f as n, u as r } from "./pixel-budget-DI82Hn3R.js";
3
3
  import { n as i, r as a } from "./pptx-C1CiFW1D.js";
4
- import { n as o, r as s } from "./docx-DE-Di6SH.js";
4
+ import { n as o, r as s } from "./docx-DwdB7I59.js";
5
5
  import { n as c, r as l, t as u } from "./render-Bf_Gywxw.js";
6
6
  import { a as d, i as f, n as p, r as m } from "./xlsx-DA0uR1B1.js";
7
7
  export { r as OoxmlDecodedImageLimitError, e as OoxmlError, t as OoxmlResourceLimitError, u as installImageBitmapShim, c as installOffscreenCanvasShim, n as isOoxmlDecodedImageLimitError, o as materializeDocxDocument, i as materializePptxPresentation, p as materializeXlsxWorkbook, m as materializeXlsxWorkbookIndex, f as materializeXlsxWorksheet, s as openDocxDocument, a as openPptxPresentation, d as openXlsxWorkbook, l as renderSlideNode };
Binary file
@@ -1,4 +1,4 @@
1
- var e = "" + new URL("./assets/render-worker-CSJJ7vFD.js", import.meta.url).href;
1
+ var e = "" + new URL("./assets/render-worker-Coh33rbW.js", import.meta.url).href;
2
2
  function t() {
3
3
  return new Worker(e, { type: "module" });
4
4
  }
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@silurus/ooxml",
3
- "version": "0.89.9",
3
+ "version": "0.89.10",
4
4
  "description": "Browser-based OOXML viewer (docx/xlsx/pptx) — Rust/WASM parser + Canvas renderer",
5
5
  "license": "MIT",
6
6
  "author": "Yuki Yokotani <silurus.dev@gmail.com>",