@silurus/ooxml 0.89.1 → 0.89.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.
Files changed (55) hide show
  1. package/dist/assets/render-worker-Bye3wDV9.js +35 -0
  2. package/dist/assets/render-worker-CyUrUidp.js +16 -0
  3. package/dist/assets/render-worker-D_SMt5nl.js +15 -0
  4. package/dist/{bounded-raw-part-cache-CsnNptAy.js → bounded-raw-part-cache-C3daknU-.js} +1 -1
  5. package/dist/{canvas-viewer-mechanics-BZ8QCrRi.js → canvas-viewer-mechanics-SZWSnn6j.js} +2 -2
  6. package/dist/chart-ex.mjs +1 -1
  7. package/dist/{comment-overlay-controller-CBvQx-En.js → comment-overlay-controller-CHDxT0e7.js} +2 -2
  8. package/dist/{comment-ui-runtime-C47QoDUy.js → comment-ui-runtime-BcwaRnMR.js} +2 -2
  9. package/dist/{comment-ui-runtime-BKidRH36.js → comment-ui-runtime-Dk2qrPy_.js} +3 -3
  10. package/dist/{document-model-source-MzFPrxt0.js → document-model-source-BD2VSd2L.js} +6 -6
  11. package/dist/{document-pull-client-BoJeuURD.js → document-pull-client-DhSGspvi.js} +4 -4
  12. package/dist/{document-pull-worker-CaP8XESP.js → document-pull-worker-D-E0Iz3P.js} +2 -2
  13. package/dist/{docx-BRRtSvk3.js → docx-CCZBO1WQ.js} +7 -7
  14. package/dist/{docx-BN70UhvX.js → docx-CXfILbzI.js} +7 -7
  15. package/dist/{docx-model-source-CTO9iw_W.js → docx-model-source-Ci6xb487.js} +6 -6
  16. package/dist/docx.mjs +3 -3
  17. package/dist/docx_parser_bg.wasm +0 -0
  18. package/dist/{drawingml-shape-CHmq8kpM.js → drawingml-shape-Bp0yEZHC.js} +1 -1
  19. package/dist/{font-preload-demand-Dmy31xt-.js → font-preload-demand-CGOB-MoE.js} +1 -1
  20. package/dist/{host-layout-measure-DsuQ2UJs.js → host-layout-measure-BAysJILu.js} +1 -1
  21. package/dist/index.mjs +3 -3
  22. package/dist/internal-companion.mjs +2 -2
  23. package/dist/{line-distribute-Bu8psjGd.js → line-distribute-DhQqysA2.js} +1 -1
  24. package/dist/{model-source-s5hRpk4w.js → model-source-BkmyX_r-.js} +1 -1
  25. package/dist/{model-source-session-6fuaqbGs.js → model-source-session-CF4iXav8.js} +2 -2
  26. package/dist/{model-source-session-cPJSF_Ak.js → model-source-session-CJmkItIK.js} +2 -2
  27. package/dist/{model-source-session-DqrR4XHR.js → model-source-session-CnPCTRDD.js} +2 -2
  28. package/dist/node.mjs +4 -4
  29. package/dist/{pptx-CaJ6ILnw.js → pptx-BhmLP_Ed.js} +5 -5
  30. package/dist/{pptx-_BOGcBym.js → pptx-Bo9hCGQU.js} +9 -9
  31. package/dist/{pptx-model-source-B_9afw9R.js → pptx-model-source-J0SrVkO6.js} +5 -5
  32. package/dist/pptx.mjs +4 -4
  33. package/dist/pptx_parser_bg.wasm +0 -0
  34. package/dist/{presentation-model-source-CGHLyX32.js → presentation-model-source-CebYmrOD.js} +5 -5
  35. package/dist/{render-CzbDzRKa.js → render-hT2OVZUi.js} +2 -2
  36. package/dist/{render-worker-host-C-EECo68.js → render-worker-host-BmAQ-sWT.js} +1 -1
  37. package/dist/{render-worker-host-DDqZTCVf.js → render-worker-host-Cz224I38.js} +1 -1
  38. package/dist/{render-worker-host-B1u6BOUd.js → render-worker-host-Desevuoc.js} +1 -1
  39. package/dist/{renderer-CD2cvVAF.js → renderer-BFWqhLEt.js} +1224 -1214
  40. package/dist/{renderer-DRoeb14O.js → renderer-CvZ4JmoL.js} +5 -5
  41. package/dist/{resource-measurement-Dhhm7P_l.js → resource-measurement-DBiUwblM.js} +1 -1
  42. package/dist/{session-XPmC0CUd.js → session-CWDKFWCh.js} +4 -4
  43. package/dist/{slide-pull-client-tq7U_fYg.js → slide-pull-client-BuBvXMyc.js} +4 -4
  44. package/dist/{wasm-runtime-generation-D6TKZdNb.js → wasm-runtime-generation-BWGfM44b.js} +1 -1
  45. package/dist/{workbook-model-source-BIGrfZy6.js → workbook-model-source-Che8Zbjw.js} +6 -6
  46. package/dist/{worksheet-pull-client-ClvPO_Jf.js → worksheet-pull-client-Cxzj6uuB.js} +2 -2
  47. package/dist/{xlsx-DmHfeNNp.js → xlsx-C5BSwMUd.js} +4 -4
  48. package/dist/{xlsx-CsmREBaZ.js → xlsx-CUVUep5I.js} +11 -9
  49. package/dist/{xlsx-model-source-D1flORqy.js → xlsx-model-source-C3_PiPBo.js} +6 -6
  50. package/dist/xlsx.mjs +4 -4
  51. package/dist/xlsx_parser_bg.wasm +0 -0
  52. package/package.json +2 -2
  53. package/dist/assets/render-worker-C5G_Nr_A.js +0 -35
  54. package/dist/assets/render-worker-DQfWdNsm.js +0 -16
  55. package/dist/assets/render-worker-Ds7LjwU-.js +0 -15
@@ -1,9 +1,9 @@
1
1
  import { Aa as e, An as t, Ao as n, Br as r, Co as i, Dn as a, Do as o, Dr as s, En as c, Eo as l, Kr as u, Mn as d, On as f, Oo as p, So as m, Tn as h, Vr as g, Zr as _, _o as v, ao as y, ar as b, cr as x, do as S, ei as C, fo as w, fr as T, go as E, ja as D, jn as O, kn as k, ko as A, lo as j, mo as M, nr as N, oo as P, or as F, po as ee, pr as te, qr as I, so as L, u as R, uo as z, wn as ne, xr as B, yo as V } from "./plot-area-frame-Bs_j4uu7.js";
2
- import { $ as H, $t as U, C as W, En as G, Ft as re, Q as K, Qt as ie, X as ae, Z as oe, _ as q, at as se, b as J, bt as ce, cn as le, f as ue, g as de, gn as fe, h as pe, it as me, jt as he, o as ge, on as _e, p as ve, r as ye, rn as be, sn as xe, tn as Se, v as Ce, w as we, y as Te } from "./bounded-raw-part-cache-CsnNptAy.js";
3
- import { H as Ee, r as De } from "./renderer-CD2cvVAF.js";
4
- import { r as Oe } from "./drawingml-shape-CHmq8kpM.js";
5
- import { _ as ke, v as Ae } from "./worksheet-pull-client-ClvPO_Jf.js";
6
- import { _ as je, a as Me, c as Ne, d as Pe, g as Fe, h as Ie, i as Le, l as Re, m as ze, o as Be, p as Ve, s as He, u as Ue, v as We, y as Ge } from "./resource-measurement-Dhhm7P_l.js";
2
+ import { $ as H, $t as U, C as W, En as G, Ft as re, Q as K, Qt as ie, X as ae, Z as oe, _ as q, at as se, b as J, bt as ce, cn as le, f as ue, g as de, gn as fe, h as pe, it as me, jt as he, o as ge, on as _e, p as ve, r as ye, rn as be, sn as xe, tn as Se, v as Ce, w as we, y as Te } from "./bounded-raw-part-cache-C3daknU-.js";
3
+ import { H as Ee, r as De } from "./renderer-BFWqhLEt.js";
4
+ import { r as Oe } from "./drawingml-shape-Bp0yEZHC.js";
5
+ import { _ as ke, v as Ae } from "./worksheet-pull-client-Cxzj6uuB.js";
6
+ import { _ as je, a as Me, c as Ne, d as Pe, g as Fe, h as Ie, i as Le, l as Re, m as ze, o as Be, p as Ve, s as He, u as Ue, v as We, y as Ge } from "./resource-measurement-DBiUwblM.js";
7
7
  import { c as Ke, m as qe, p as Je, s as Ye, t as Xe } from "./grid-geometry-C3IG20ut.js";
8
8
  //#region packages/core/src/sparkline/renderer.ts
9
9
  function Ze(e, t, n) {
@@ -1,5 +1,5 @@
1
1
  import { _o as e } from "./plot-area-frame-Bs_j4uu7.js";
2
- import { C as t, Qt as n, b as r, g as i, h as a, on as o, sn as s, tn as c, w as l, x as u } from "./bounded-raw-part-cache-CsnNptAy.js";
2
+ import { C as t, Qt as n, b as r, g as i, h as a, on as o, sn as s, tn as c, w as l, x as u } from "./bounded-raw-part-cache-C3daknU-.js";
3
3
  //#region packages/core/src/drawingml-text/tab.ts
4
4
  function d(e, t, n, r, i, a = 0) {
5
5
  let o = e.map((e) => e.width), s = (t) => {
@@ -1,10 +1,10 @@
1
1
  import { t as e } from "./chunk-Dy4uBu1J.js";
2
- import { a as t, l as n } from "./slide-pull-client-tq7U_fYg.js";
2
+ import { a as t, l as n } from "./slide-pull-client-BuBvXMyc.js";
3
3
  import { yo as r } from "./plot-area-frame-Bs_j4uu7.js";
4
- import { B as i, D as a, F as o, G as s, H as c, N as l, O as u, U as d, V as f, j as p, k as m, mn as h, q as g } from "./bounded-raw-part-cache-CsnNptAy.js";
4
+ import { B as i, D as a, F as o, G as s, H as c, N as l, O as u, U as d, V as f, j as p, k as m, mn as h, q as g } from "./bounded-raw-part-cache-C3daknU-.js";
5
5
  import { n as _, t as v } from "./abort-VrnK7mdP.js";
6
- import { S as y } from "./worksheet-pull-client-ClvPO_Jf.js";
7
- import { t as b } from "./wasm-runtime-generation-D6TKZdNb.js";
6
+ import { S as y } from "./worksheet-pull-client-Cxzj6uuB.js";
7
+ import { t as b } from "./wasm-runtime-generation-BWGfM44b.js";
8
8
  //#region packages/pptx/src/slide-cursor-operation.ts
9
9
  function x(e) {
10
10
  try {
@@ -1,12 +1,12 @@
1
1
  import { $r as e, Aa as t, Ao as n, Co as r, Dr as i, Eo as a, Fr as o, Gn as s, Hn as c, Ir as l, Jn as u, Kn as d, Oo as f, Pr as p, Qr as m, So as h, To as g, Tr as _, Un as v, Vn as y, Vr as b, Wn as x, Yn as S, Zr as C, _o as w, a as T, ao as E, ar as D, c as O, co as k, cr as A, d as j, do as M, ei as N, fo as P, fr as F, go as I, gr as L, h as R, ho as z, i as B, ka as V, lo as H, lr as U, m as W, mo as G, mr as ee, nr as te, o as K, oo as ne, or as q, po as J, pr as re, qn as ie, r as ae, so as oe, ti as se, u as ce, uo as le, ur as ue, vo as de, wo as fe, wr as pe, xr as me, yo as he } from "./plot-area-frame-Bs_j4uu7.js";
2
- import { $ as ge, At as _e, Ct as ve, Dt as ye, E as be, Et as xe, Ft as Se, Gt as Ce, J as we, Mt as Te, Nt as Ee, Pt as De, Q as Oe, Tt as ke, Ut as Ae, Wt as je, X as Me, Y as Ne, Z as Pe, Zt as Fe, _ as Ie, _t as Le, bt as Re, c as ze, ct as Be, dt as Ve, et as He, f as Ue, g as We, h as Ge, i as Ke, jt as qe, kt as Je, l as Ye, mn as Xe, mt as Ze, nt as Qe, o as $e, ot as et, p as tt, pn as nt, pt as rt, r as it, sn as at, tn as ot, tt as st, v as ct, vt as lt, wt as ut, xt as dt, y as ft, yt as pt } from "./bounded-raw-part-cache-CsnNptAy.js";
3
- import { a as mt, c as ht, d as gt, f as _t, h as vt, m as yt, o as bt, p as xt, r as St, s as Ct, t as wt, u as Tt, y as Et } from "./line-distribute-Bu8psjGd.js";
2
+ import { $ as ge, At as _e, Ct as ve, Dt as ye, E as be, Et as xe, Ft as Se, Gt as Ce, J as we, Mt as Te, Nt as Ee, Pt as De, Q as Oe, Tt as ke, Ut as Ae, Wt as je, X as Me, Y as Ne, Z as Pe, Zt as Fe, _ as Ie, _t as Le, bt as Re, c as ze, ct as Be, dt as Ve, et as He, f as Ue, g as We, h as Ge, i as Ke, jt as qe, kt as Je, l as Ye, mn as Xe, mt as Ze, nt as Qe, o as $e, ot as et, p as tt, pn as nt, pt as rt, r as it, sn as at, tn as ot, tt as st, v as ct, vt as lt, wt as ut, xt as dt, y as ft, yt as pt } from "./bounded-raw-part-cache-C3daknU-.js";
3
+ import { a as mt, c as ht, d as gt, f as _t, h as vt, m as yt, o as bt, p as xt, r as St, s as Ct, t as wt, u as Tt, y as Et } from "./line-distribute-DhQqysA2.js";
4
4
  import { a as Dt, f as Ot, i as kt, u as At } from "./pixel-budget-BpTYrepD.js";
5
- import { H as jt, L as Mt, M as Nt, R as Pt, V as Ft, n as It, r as Lt, t as Rt } from "./renderer-CD2cvVAF.js";
5
+ import { H as jt, L as Mt, M as Nt, R as Pt, V as Ft, n as It, r as Lt, t as Rt } from "./renderer-BFWqhLEt.js";
6
6
  import { i as zt } from "./tiff-contract-C6M3QcPp.js";
7
7
  import { _ as Bt, g as Vt, h as Ht } from "./three-d-BKwNPAP4.js";
8
8
  import { a as Ut, o as Wt } from "./duotone-DN8P4aXe.js";
9
- import { _ as Gt, a as Kt, c as qt, d as Jt, f as Yt, h as Xt, i as Zt, l as Qt, m as $t, n as en, o as tn, p as nn, s as rn, t as an, u as on, v as sn, y as cn } from "./resource-measurement-Dhhm7P_l.js";
9
+ import { _ as Gt, a as Kt, c as qt, d as Jt, f as Yt, h as Xt, i as Zt, l as Qt, m as $t, n as en, o as tn, p as nn, s as rn, t as an, u as on, v as sn, y as cn } from "./resource-measurement-DBiUwblM.js";
10
10
  //#region packages/core/src/internal/canvas-clip.ts
11
11
  function ln(e, t, n) {
12
12
  let r = typeof e.getTransform == "function" ? e.getTransform() : {
@@ -1,4 +1,4 @@
1
- import { I as e, K as t, L as n, R as r, z as i } from "./bounded-raw-part-cache-CsnNptAy.js";
1
+ import { I as e, K as t, L as n, R as r, z as i } from "./bounded-raw-part-cache-C3daknU-.js";
2
2
  //#region packages/core/src/internal/wasm-runtime-generation.ts
3
3
  function a(t) {
4
4
  return r(t) ? new e(`WASM parser trapped and was recycled: ${t instanceof Error ? t.message : String(t)}`) : null;
@@ -1,8 +1,8 @@
1
- import { N as e, j as t, qt as n } from "./bounded-raw-part-cache-CsnNptAy.js";
2
- import { T as r } from "./canvas-viewer-mechanics-BZ8QCrRi.js";
3
- import { a as i, g as a } from "./renderer-DRoeb14O.js";
4
- import { b as o } from "./worksheet-pull-client-ClvPO_Jf.js";
5
- import { c as s, l as c } from "./xlsx-CsmREBaZ.js";
1
+ import { N as e, j as t, qt as n } from "./bounded-raw-part-cache-C3daknU-.js";
2
+ import { T as r } from "./canvas-viewer-mechanics-SZWSnn6j.js";
3
+ import { a as i, g as a } from "./renderer-CvZ4JmoL.js";
4
+ import { b as o } from "./worksheet-pull-client-Cxzj6uuB.js";
5
+ import { c as s, l as c } from "./xlsx-CUVUep5I.js";
6
6
  import { n as l, o as u, r as d } from "./model-source-kz_NkZqT.js";
7
7
  import { t as f } from "./bundled-asset-url-E2nXURF9.js";
8
8
  import { n as p } from "./host-layout-DVMw8hDY.js";
@@ -53,7 +53,7 @@ async function m(i, d, f) {
53
53
  let p = l(t, "xlsx");
54
54
  try {
55
55
  _.setSourceBytes(e.byteLength), _.checkpoint("container ready");
56
- let t = g === "worker" ? (await import("./render-worker-host-B1u6BOUd.js")).createRenderWorker() : new (await (import("./worker-source-UAi3GNcM.js"))).default(), n, i = h(t, p, d, (e) => {
56
+ let t = g === "worker" ? (await import("./render-worker-host-Desevuoc.js")).createRenderWorker() : new (await (import("./worker-source-UAi3GNcM.js"))).default(), n, i = h(t, p, d, (e) => {
57
57
  n && (n.sourceMdw = e);
58
58
  });
59
59
  try {
@@ -1,7 +1,7 @@
1
1
  import { yo as e } from "./plot-area-frame-Bs_j4uu7.js";
2
- import { B as t, Cn as n, D as r, E as i, G as a, O as o, Sn as s, W as c, _n as l, bn as u, gn as d, k as f, vn as p, wn as m, xn as h, yn as g } from "./bounded-raw-part-cache-CsnNptAy.js";
2
+ import { B as t, Cn as n, D as r, E as i, G as a, O as o, Sn as s, W as c, _n as l, bn as u, gn as d, k as f, vn as p, wn as m, xn as h, yn as g } from "./bounded-raw-part-cache-C3daknU-.js";
3
3
  import { n as _ } from "./abort-VrnK7mdP.js";
4
- import { n as v, r as y, t as b } from "./resource-measurement-Dhhm7P_l.js";
4
+ import { n as v, r as y, t as b } from "./resource-measurement-DBiUwblM.js";
5
5
  //#region packages/core/src/worker/transfer.ts
6
6
  function x(e) {
7
7
  return e.byteOffset === 0 && e.byteLength === e.buffer.byteLength && e.buffer instanceof ArrayBuffer ? e.buffer : e.slice().buffer;
@@ -1,9 +1,9 @@
1
1
  import { t as e } from "./chunk-Dy4uBu1J.js";
2
- import { B as t, F as n, H as r, N as i, U as a, j as o } from "./bounded-raw-part-cache-CsnNptAy.js";
2
+ import { B as t, F as n, H as r, N as i, U as a, j as o } from "./bounded-raw-part-cache-C3daknU-.js";
3
3
  import { n as s, t as c } from "./abort-VrnK7mdP.js";
4
- import { b as l, c as u, d, f, g as p, l as m, p as h, r as g, s as _, t as v, u as y, x as ee, y as b } from "./worksheet-pull-client-ClvPO_Jf.js";
4
+ import { b as l, c as u, d, f, g as p, l as m, p as h, r as g, s as _, t as v, u as y, x as ee, y as b } from "./worksheet-pull-client-Cxzj6uuB.js";
5
5
  import { n as x, r as S, t as te } from "./wasm-loader-rlgHmcSv.js";
6
- import { t as ne } from "./wasm-runtime-generation-D6TKZdNb.js";
6
+ import { t as ne } from "./wasm-runtime-generation-BWGfM44b.js";
7
7
  import { t as re } from "./in-process-pull-transport-DuXcPZng.js";
8
8
  //#region packages/xlsx/src/internal/archive-bootstrap.ts
9
9
  function ie(e, n) {
@@ -326,7 +326,7 @@ async function J(e, t = {}) {
326
326
  ...t,
327
327
  xlsxWorksheetLimits: n.worksheet
328
328
  }, t.legacyXls !== void 0) {
329
- let { openXlsxSource: n } = await import("./xlsx-model-source-D1flORqy.js");
329
+ let { openXlsxSource: n } = await import("./xlsx-model-source-C3_PiPBo.js");
330
330
  return n(e, t, q);
331
331
  }
332
332
  let r = await K(_e(e), q(), t);
@@ -1,14 +1,14 @@
1
1
  import { t as e } from "./chunk-Dy4uBu1J.js";
2
2
  import { Aa as t, Er as n, Tr as r, Yn as i, a, c as o, d as s, h as c, ja as l, ka as u, m as d, o as f, r as p, u as m, vo as h, wr as g, yo as _ } from "./plot-area-frame-Bs_j4uu7.js";
3
3
  import { n as v, t as y } from "./cfb-guard-dNeUiANF.js";
4
- import { Dn as b, M as x, N as S, On as C, P as w, V as T, X as E, Xt as D, Y as O, Yt as k, _t as A, ct as j, hn as M, j as ee, nt as N, ot as P, pt as te, qt as F, rt as ne, st as re, t as ie, tt as ae, u as oe, ut as I, vt as se, yt as ce } from "./bounded-raw-part-cache-CsnNptAy.js";
4
+ import { Dn as b, M as x, N as S, On as C, P as w, V as T, X as E, Xt as D, Y as O, Yt as k, _t as A, ct as j, hn as M, j as ee, nt as N, ot as P, pt as te, qt as F, rt as ne, st as re, t as ie, tt as ae, u as oe, ut as I, vt as se, yt as ce } from "./bounded-raw-part-cache-C3daknU-.js";
5
5
  import { f as L, u as le } from "./pixel-budget-BpTYrepD.js";
6
- import { L as ue, R as de, V as fe, n as pe, t as me } from "./renderer-CD2cvVAF.js";
6
+ import { L as ue, R as de, V as fe, n as pe, t as me } from "./renderer-BFWqhLEt.js";
7
7
  import { i as he, t as ge } from "./tiff-contract-C6M3QcPp.js";
8
- import { C as _e, D as ve, E as ye, S as be, T as xe, _ as Se, a as Ce, b as we, d as Te, f as Ee, g as De, h as Oe, m as ke, o as Ae, p as je, t as Me, u as Ne, w as Pe, x as Fe, y as Ie } from "./canvas-viewer-mechanics-BZ8QCrRi.js";
9
- import { A as Le, B as Re, C as ze, D as Be, E as Ve, F as He, H as Ue, I as We, L as Ge, M as R, N as Ke, O as qe, P as Je, R as Ye, S as Xe, T as Ze, V as z, _ as Qe, b as B, c as $e, d as et, f as tt, g as nt, h as rt, i as it, j as at, k as ot, l as st, m as ct, n as lt, o as ut, p as dt, r as ft, s as V, t as pt, u as mt, v as ht, w as gt, x as _t, y as vt, z as yt } from "./renderer-DRoeb14O.js";
8
+ import { C as _e, D as ve, E as ye, S as be, T as xe, _ as Se, a as Ce, b as we, d as Te, f as Ee, g as De, h as Oe, m as ke, o as Ae, p as je, t as Me, u as Ne, w as Pe, x as Fe, y as Ie } from "./canvas-viewer-mechanics-SZWSnn6j.js";
9
+ import { A as Le, B as Re, C as ze, D as Be, E as Ve, F as He, H as Ue, I as We, L as Ge, M as R, N as Ke, O as qe, P as Je, R as Ye, S as Xe, T as Ze, V as z, _ as Qe, b as B, c as $e, d as et, f as tt, g as nt, h as rt, i as it, j as at, k as ot, l as st, m as ct, n as lt, o as ut, p as dt, r as ft, s as V, t as pt, u as mt, v as ht, w as gt, x as _t, y as vt, z as yt } from "./renderer-CvZ4JmoL.js";
10
10
  import { n as bt } from "./renderer-module-contract-CWM7jv6d.js";
11
- import { _ as xt, a as St, b as Ct, c as wt, d as Tt, f as Et, g as Dt, h as Ot, l as kt, m as At, n as jt, o as Mt, p as Nt, s as Pt, t as Ft, u as It, v as Lt, y as Rt } from "./worksheet-pull-client-ClvPO_Jf.js";
11
+ import { _ as xt, a as St, b as Ct, c as wt, d as Tt, f as Et, g as Dt, h as Ot, l as kt, m as At, n as jt, o as Mt, p as Nt, s as Pt, t as Ft, u as It, v as Lt, y as Rt } from "./worksheet-pull-client-Cxzj6uuB.js";
12
12
  import { n as zt, r as Bt, t as Vt } from "./visible-index-FeVA0mGE.js";
13
13
  import { a as Ht, c as Ut, d as Wt, f as Gt, l as H, n as U, o as Kt, p as qt, r as W, t as G, u as Jt } from "./grid-geometry-C3IG20ut.js";
14
14
  //#region packages/xlsx/src/worker.ts?worker&inline
@@ -836,7 +836,7 @@ var zn = Symbol("retain-xlsx-viewer-fonts"), Bn = Symbol("prepare-xlsx-viewer-ro
836
836
  i = await Mn(e);
837
837
  } else i = t;
838
838
  An(i.byteLength), c.setSourceBytes(i.byteLength), c.checkpoint("source ready");
839
- let o = s === "worker" ? (await import("./render-worker-host-B1u6BOUd.js")).createRenderWorker() : (await import("./delimited-text-worker-host-CikWU6_m.js")).createDelimitedTextWorker(), l;
839
+ let o = s === "worker" ? (await import("./render-worker-host-Desevuoc.js")).createRenderWorker() : (await import("./delimited-text-worker-host-CikWU6_m.js")).createDelimitedTextWorker(), l;
840
840
  try {
841
841
  let t = new e(o, s, void 0, !1);
842
842
  return l = t, t.metrics = c, await t._loadDelimitedText(r === i ? i.slice(0) : i, n, a), s === "main" && (t.bridge?.terminate(), t.bridge = null), c.checkpoint("worksheet ready"), c.succeed({ sheets: 1 }), t;
@@ -853,7 +853,7 @@ var zn = Symbol("retain-xlsx-viewer-fonts"), Bn = Symbol("prepare-xlsx-viewer-ro
853
853
  if (n = {
854
854
  ...n,
855
855
  xlsxWorksheetLimits: r.worksheet
856
- }, n.legacyXls !== void 0) return (await import("./workbook-model-source-BIGrfZy6.js")).loadXlsxModelSource(t, n, e);
856
+ }, n.legacyXls !== void 0) return (await import("./workbook-model-source-Che8Zbjw.js")).loadXlsxModelSource(t, n, e);
857
857
  n = {
858
858
  ...n,
859
859
  cjkFallback: F(n.cjkFallback)
@@ -878,7 +878,7 @@ var zn = Symbol("retain-xlsx-viewer-fonts"), Bn = Symbol("prepare-xlsx-viewer-ro
878
878
  s = v(await y(s, n.password));
879
879
  let c = s === r;
880
880
  o.setSourceBytes(s.byteLength), o.checkpoint("container ready");
881
- let l = a === "worker" ? (await import("./render-worker-host-B1u6BOUd.js")).createRenderWorker() : new Zt(), u;
881
+ let l = a === "worker" ? (await import("./render-worker-host-Desevuoc.js")).createRenderWorker() : new Zt(), u;
882
882
  try {
883
883
  return u = new e(l, a, n.wasmUrl), u.metrics = o, await u._load(s, n, i.policy, (e) => o.observeUsage(e), c), o.checkpoint("workbook index ready"), o.succeed({ sheets: u.sheetCount }), u;
884
884
  } catch (e) {
@@ -1080,7 +1080,9 @@ var zn = Symbol("retain-xlsx-viewer-fonts"), Bn = Symbol("prepare-xlsx-viewer-ro
1080
1080
  n();
1081
1081
  };
1082
1082
  try {
1083
- let t = this.getOrLoadWorksheet(e), n = this.sheetPreviews?.get(e);
1083
+ let t = this.getOrLoadWorksheet(e);
1084
+ t.catch(() => void 0);
1085
+ let n = this.sheetPreviews?.get(e);
1084
1086
  return {
1085
1087
  worksheet: n ? await n.ready : await t,
1086
1088
  release: r,
@@ -1,9 +1,9 @@
1
1
  import { yo as e } from "./plot-area-frame-Bs_j4uu7.js";
2
- import { B as t, D as n, G as r, O as i, k as a } from "./bounded-raw-part-cache-CsnNptAy.js";
3
- import { S as o, b as s, c, d as l, f as u, g as d, i as f, p, u as m, y as h } from "./worksheet-pull-client-ClvPO_Jf.js";
2
+ import { B as t, D as n, G as r, O as i, k as a } from "./bounded-raw-part-cache-C3daknU-.js";
3
+ import { S as o, b as s, c, d as l, f as u, g as d, i as f, p, u as m, y as h } from "./worksheet-pull-client-Cxzj6uuB.js";
4
4
  import { t as g } from "./grid-geometry-C3IG20ut.js";
5
- import { o as _, t as v } from "./xlsx-DmHfeNNp.js";
6
- import { t as y } from "./model-source-s5hRpk4w.js";
5
+ import { o as _, t as v } from "./xlsx-C5BSwMUd.js";
6
+ import { t as y } from "./model-source-BkmyX_r-.js";
7
7
  //#region packages/xlsx/src/worksheet-pull-source-worker.ts
8
8
  var b = 64 * 1024 * 1024, x = class {
9
9
  archive;
@@ -277,7 +277,7 @@ async function w(e, t, n) {
277
277
  let r = s(t), i = {
278
278
  ...t,
279
279
  xlsxWorksheetLimits: r.worksheet
280
- }, { acquireXlsxSessionFromArchive: a, configureHostLayout: o, validateXlsxModelSourceArchive: c, validateXlsxModelSourceViewDefaults: l } = await import("./model-source-session-6fuaqbGs.js"), u = await y(e, "xlsx", {
280
+ }, { acquireXlsxSessionFromArchive: a, configureHostLayout: o, validateXlsxModelSourceArchive: c, validateXlsxModelSourceViewDefaults: l } = await import("./model-source-session-CF4iXav8.js"), u = await y(e, "xlsx", {
281
281
  ...i,
282
282
  source: i.legacyXls
283
283
  }, c);
@@ -286,7 +286,7 @@ async function w(e, t, n) {
286
286
  try {
287
287
  if (l(d.viewDefaults), f = await o(d.archive, async (e) => {
288
288
  if (!t.factory) return;
289
- let { measureHostLayoutFont: n } = await import("./host-layout-measure-DsuQ2UJs.js"), r = t.factory.createCanvas(1, 1).getContext("2d");
289
+ let { measureHostLayoutFont: n } = await import("./host-layout-measure-BAysJILu.js"), r = t.factory.createCanvas(1, 1).getContext("2d");
290
290
  return r ? n(e, r) : void 0;
291
291
  }), t.signal?.aborted) {
292
292
  let e = /* @__PURE__ */ Error("XLSX workbook session was aborted");
package/dist/xlsx.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  import { vo as e, yo as t } from "./plot-area-frame-Bs_j4uu7.js";
2
- import { u as n } from "./bounded-raw-part-cache-CsnNptAy.js";
2
+ import { u as n } from "./bounded-raw-part-cache-C3daknU-.js";
3
3
  import { f as r, u as i } from "./pixel-budget-BpTYrepD.js";
4
4
  import { i as a, t as o } from "./tiff-contract-C6M3QcPp.js";
5
- import { D as s } from "./canvas-viewer-mechanics-BZ8QCrRi.js";
6
- import { a as c } from "./worksheet-pull-client-ClvPO_Jf.js";
7
- import { a as l, i as u, n as d, o as f, r as p, s as m } from "./xlsx-CsmREBaZ.js";
5
+ import { D as s } from "./canvas-viewer-mechanics-SZWSnn6j.js";
6
+ import { a as c } from "./worksheet-pull-client-Cxzj6uuB.js";
7
+ import { a as l, i as u, n as d, o as f, r as p, s as m } from "./xlsx-CUVUep5I.js";
8
8
  export { u as MAX_SELECTION_AREAS, l as MAX_SELECTION_CONTEXT_CELLS, f as MAX_SELECTION_CONTEXT_TEXT_CHARACTERS, i as OoxmlDecodedImageLimitError, e as OoxmlError, t as OoxmlResourceLimitError, o as TiffDecodeError, d as XlsxSheetViewer, p as XlsxViewer, m as XlsxWorkbook, s as autoResize, r as isOoxmlDecodedImageLimitError, a as isTiffDecodeError, n as openExternalHyperlink, c as resolveSharedStrings };
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@silurus/ooxml",
3
- "version": "0.89.1",
3
+ "version": "0.89.2",
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>",
@@ -98,7 +98,7 @@
98
98
  "@ast-grep/cli": "^0.43.0",
99
99
  "@babel/parser": "7.29.2",
100
100
  "@chromatic-com/storybook": "^5.1.2",
101
- "@playwright/test": "^1.59.1",
101
+ "@playwright/test": "^1.64.1",
102
102
  "@storybook/addon-a11y": "^10.3.5",
103
103
  "@storybook/addon-docs": "^10.3.5",
104
104
  "@storybook/html-vite": "^10.3.5",