@silurus/ooxml 0.89.10 → 0.89.12

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 (49) hide show
  1. package/dist/assets/{render-worker-jGsxSIGb.js → render-worker-BD7EhV2y.js} +17 -17
  2. package/dist/assets/render-worker-BiKxVVB1.js +16 -0
  3. package/dist/assets/{render-worker-Coh33rbW.js → render-worker-CVqXtEMW.js} +13 -13
  4. package/dist/{bounded-raw-part-cache-B5a6cGKO.js → bounded-raw-part-cache-D2Q0FIoE.js} +719 -663
  5. package/dist/{canvas-viewer-mechanics-BsqaoYgK.js → canvas-viewer-mechanics-_ZBxW_sN.js} +1 -1
  6. package/dist/{comment-overlay-controller-b3tKmzMa.js → comment-overlay-controller-CVvQCYhQ.js} +8 -8
  7. package/dist/{comment-ui-runtime-Bp37ytDC.js → comment-ui-runtime-CYkt_9-b.js} +2 -2
  8. package/dist/{comment-ui-runtime-BkpFlPT0.js → comment-ui-runtime-DhTTGSay.js} +3 -3
  9. package/dist/{document-model-source-Ca2fk_Fc.js → document-model-source-C6wGN8m3.js} +45 -45
  10. package/dist/{document-pull-client-CTGM4i1m.js → document-pull-client-BfGXPuQc.js} +4117 -4128
  11. package/dist/{document-pull-worker-hMKJ5RdB.js → document-pull-worker-Bl3wlLXC.js} +4 -4
  12. package/dist/{docx-B-47Ff78.js → docx-CNscQaT8.js} +496 -496
  13. package/dist/{docx-DwdB7I59.js → docx-Cry-eklK.js} +7 -7
  14. package/dist/{docx-model-source-CWuvf9jk.js → docx-model-source-Cj8DGdLl.js} +6 -6
  15. package/dist/docx.mjs +3 -3
  16. package/dist/{drawingml-shape-B1_kg4BV.js → drawingml-shape-CFzAXuvj.js} +88 -116
  17. package/dist/{font-preload-demand-NqcVKIpX.js → font-preload-demand-DhFVOxz4.js} +1 -1
  18. package/dist/{host-layout-measure-IFLllYwV.js → host-layout-measure-CWKDrVpo.js} +1 -1
  19. package/dist/index.mjs +3 -3
  20. package/dist/internal-companion.mjs +2 -2
  21. package/dist/{line-distribute-CwtditQo.js → line-distribute-DxnuaRdO.js} +24 -24
  22. package/dist/{model-source-Cch44xsb.js → model-source-DksDDVb4.js} +1 -1
  23. package/dist/{model-source-session-DRcqFGfM.js → model-source-session-8wqlNxsQ.js} +2 -2
  24. package/dist/{model-source-session-ClNCRDOg.js → model-source-session-BogYRDwj.js} +2 -2
  25. package/dist/{model-source-session-DSABX94B.js → model-source-session-ifwyPPhZ.js} +2 -2
  26. package/dist/node.mjs +4 -4
  27. package/dist/{pptx-DbjWegUB.js → pptx-Bons7t3Y.js} +26 -26
  28. package/dist/{pptx-C1CiFW1D.js → pptx-CQtPbMxI.js} +10 -10
  29. package/dist/{pptx-model-source-C9TuBisH.js → pptx-model-source-mg-O0LR9.js} +5 -5
  30. package/dist/pptx.mjs +4 -4
  31. package/dist/{presentation-model-source-DLNioq7T.js → presentation-model-source-CK6_hY1W.js} +5 -5
  32. package/dist/{render-Bf_Gywxw.js → render-C7F07FrC.js} +2 -2
  33. package/dist/{render-worker-host-80mSndWp.js → render-worker-host-Cj-U3WPe.js} +1 -1
  34. package/dist/{render-worker-host-CVr53kg0.js → render-worker-host-D7L6GMbE.js} +1 -1
  35. package/dist/{render-worker-host-pKls3F_t.js → render-worker-host-stI5Lppz.js} +1 -1
  36. package/dist/{renderer-DuYC3xXi.js → renderer-N76SnQW7.js} +1286 -1212
  37. package/dist/{resource-measurement-CfJtbwiR.js → resource-measurement-B2hzmYlu.js} +90 -90
  38. package/dist/{session-DPXK_lpI.js → session-D5au4i-W.js} +166 -166
  39. package/dist/{slide-pull-client-3g6TxaKa.js → slide-pull-client-3mJmNjjB.js} +854 -904
  40. package/dist/{wasm-runtime-generation-D97yoAXz.js → wasm-runtime-generation--_2SjW2G.js} +1 -1
  41. package/dist/{workbook-model-source-D1dmkDMP.js → workbook-model-source-CI1q6nxK.js} +6 -6
  42. package/dist/{worksheet-pull-client-BudfclVl.js → worksheet-pull-client-C2h4AMwt.js} +18 -18
  43. package/dist/{xlsx-DBhYlJKp.js → xlsx-CKXeKvxl.js} +452 -452
  44. package/dist/{xlsx-DA0uR1B1.js → xlsx-DujIp7CR.js} +4 -4
  45. package/dist/{xlsx-model-source-zemVDAfl.js → xlsx-model-source-fs0svOUo.js} +6 -6
  46. package/dist/xlsx.mjs +4 -4
  47. package/dist/xlsx_parser_bg.wasm +0 -0
  48. package/package.json +1 -1
  49. package/dist/assets/render-worker-Ck21oePL.js +0 -16
@@ -1,4 +1,4 @@
1
- import { B as e, H as t, V as n, Y as r, z as i } from "./bounded-raw-part-cache-B5a6cGKO.js";
1
+ import { B as e, H as t, V as n, Y as r, z as i } from "./bounded-raw-part-cache-D2Q0FIoE.js";
2
2
  function a(e) {
3
3
  return n(e) ? new i(`WASM parser trapped and was recycled: ${e instanceof Error ? e.message : String(e)}`) : null;
4
4
  }
@@ -1,8 +1,8 @@
1
- import { I as e, P as t, Xt as n } from "./bounded-raw-part-cache-B5a6cGKO.js";
2
- import { T as r } from "./canvas-viewer-mechanics-BsqaoYgK.js";
3
- import { a as i, g as a } from "./renderer-DuYC3xXi.js";
4
- import { b as o } from "./worksheet-pull-client-BudfclVl.js";
5
- import { c as s, l as c } from "./xlsx-DBhYlJKp.js";
1
+ import { I as e, P as t, en as n } from "./bounded-raw-part-cache-D2Q0FIoE.js";
2
+ import { T as r } from "./canvas-viewer-mechanics-_ZBxW_sN.js";
3
+ import { a as i, g as a } from "./renderer-N76SnQW7.js";
4
+ import { b as o } from "./worksheet-pull-client-C2h4AMwt.js";
5
+ import { c as s, l as c } from "./xlsx-CKXeKvxl.js";
6
6
  import { n as l, o as u, r as d } from "./model-source-COXegBNA.js";
7
7
  import { t as f } from "./bundled-asset-url-BMJ8vNHP.js";
8
8
  import { n as p } from "./host-layout-Cz_lCuTZ.js";
@@ -52,7 +52,7 @@ async function m(i, d, f) {
52
52
  let p = l(t, "xlsx");
53
53
  try {
54
54
  _.setSourceBytes(e.byteLength), _.checkpoint("container ready");
55
- let t = g === "worker" ? (await import("./render-worker-host-pKls3F_t.js")).createRenderWorker() : new (await (import("./worker-source-C29EQNUj.js"))).default(), n, i = h(t, p, d, (e) => {
55
+ let t = g === "worker" ? (await import("./render-worker-host-stI5Lppz.js")).createRenderWorker() : new (await (import("./worker-source-C29EQNUj.js"))).default(), n, i = h(t, p, d, (e) => {
56
56
  n && (n.sourceMdw = e);
57
57
  });
58
58
  try {
@@ -1,7 +1,7 @@
1
1
  import { wo as e } from "./plot-area-frame-DNYMd9Pf.js";
2
- import { A as t, Cn as n, Dn as r, En as i, J as a, M as o, Sn as s, Tn as c, U as l, bn as u, j as d, k as f, q as p, wn as m, xn as h, yn as g } from "./bounded-raw-part-cache-B5a6cGKO.js";
2
+ import { A as t, An as n, Cn as r, Dn as i, En as a, J as o, M as s, On as c, Tn as l, U as u, j as d, jn as f, k as p, kn as m, q as h, wn as g } from "./bounded-raw-part-cache-D2Q0FIoE.js";
3
3
  import { n as _ } from "./abort-JztSoyw2.js";
4
- import { n as v, r as y, t as b } from "./resource-measurement-CfJtbwiR.js";
4
+ import { n as v, r as y, t as b } from "./resource-measurement-B2hzmYlu.js";
5
5
  function x(e) {
6
6
  return e.byteOffset === 0 && e.byteLength === e.buffer.byteLength && e.buffer instanceof ArrayBuffer ? e.buffer : e.slice().buffer;
7
7
  }
@@ -16,18 +16,18 @@ function C(e) {
16
16
  }
17
17
  var w = Object.freeze({
18
18
  worksheet: C({
19
- maxRows: r,
20
- maxCells: m,
21
- maxOwnedUtf8Bytes: c,
22
- maxJsonBytes: i
19
+ maxRows: f,
20
+ maxCells: c,
21
+ maxOwnedUtf8Bytes: m,
22
+ maxJsonBytes: n
23
23
  }),
24
24
  cache: C({
25
- maxRows: n,
26
- maxCells: u,
27
- maxOwnedUtf8Bytes: h,
28
- maxJsonBytes: s
25
+ maxRows: i,
26
+ maxCells: g,
27
+ maxOwnedUtf8Bytes: l,
28
+ maxJsonBytes: a
29
29
  }),
30
- maxCoordinateIndexEntries: g
30
+ maxCoordinateIndexEntries: r
31
31
  });
32
32
  function T(e, t) {
33
33
  let n = e[t];
@@ -79,7 +79,7 @@ function j(e, t) {
79
79
  let n = O.get(e);
80
80
  n === void 0 ? O.delete(t) : O.set(t, n);
81
81
  }
82
- var M = i, N = Object.freeze({
82
+ var M = n, N = Object.freeze({
83
83
  archiveEntryCount: 0,
84
84
  declaredInflatedBytes: 0,
85
85
  distinctInflatedBytes: 0,
@@ -126,7 +126,7 @@ function R(e, t, n = {}, r = w) {
126
126
  }
127
127
  function z(t, n, r, i, a, o, s, c = r !== "delimited-text-source") {
128
128
  let l = r === "worksheet-json" ? "serialization" : "parsing";
129
- return new e(p({
129
+ return new e(h({
130
130
  stage: l,
131
131
  violation: {
132
132
  part: n,
@@ -243,7 +243,7 @@ var q = 64 * 1024 * 1024, J = class {
243
243
  prepareRows;
244
244
  provisional;
245
245
  worksheetPolicy;
246
- coordinator = new o();
246
+ coordinator = new s();
247
247
  sessions = /* @__PURE__ */ new Map();
248
248
  operationTail = Promise.resolve();
249
249
  pendingOpens = /* @__PURE__ */ new Map();
@@ -419,7 +419,7 @@ var q = 64 * 1024 * 1024, J = class {
419
419
  operationId: e.operationId,
420
420
  generation: e.generation,
421
421
  requestId: e.requestId,
422
- error: a(/* @__PURE__ */ Error("worksheet pull session is not open"))
422
+ error: o(/* @__PURE__ */ Error("worksheet pull session is not open"))
423
423
  }), Promise.resolve());
424
424
  }
425
425
  async dispatchSafely(e, n) {
@@ -434,7 +434,7 @@ var q = 64 * 1024 * 1024, J = class {
434
434
  operationId: e.operationId,
435
435
  generation: e.generation,
436
436
  requestId: e.requestId,
437
- error: a(r)
437
+ error: o(r)
438
438
  });
439
439
  } catch {}
440
440
  }
@@ -479,7 +479,7 @@ var q = 64 * 1024 * 1024, J = class {
479
479
  r && r.identity.operationId === e.operationId && r.identity.generation === e.generation && (r.canceled = !0);
480
480
  }
481
481
  readResourceUsage() {
482
- return l(this.executeArchive((e) => e.sheet_cursor_resource_usage()));
482
+ return u(this.executeArchive((e) => e.sheet_cursor_resource_usage()));
483
483
  }
484
484
  }, Y = "XLSX workbook session was aborted", X = class {
485
485
  options;
@@ -496,7 +496,7 @@ var q = 64 * 1024 * 1024, J = class {
496
496
  sessionId: r,
497
497
  operationId: r,
498
498
  generation: this.options.generation ?? 1
499
- }, a = new f(this.options.transport, {
499
+ }, a = new p(this.options.transport, {
500
500
  ...i,
501
501
  maxByteCredit: q,
502
502
  timeoutMs: this.options.timeoutMs,