@silurus/ooxml 0.89.11 → 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.
- package/dist/assets/{render-worker-jGsxSIGb.js → render-worker-BD7EhV2y.js} +17 -17
- package/dist/assets/render-worker-BiKxVVB1.js +16 -0
- package/dist/assets/{render-worker-j1PT6zsz.js → render-worker-CVqXtEMW.js} +13 -13
- package/dist/{bounded-raw-part-cache-B5a6cGKO.js → bounded-raw-part-cache-D2Q0FIoE.js} +719 -663
- package/dist/{canvas-viewer-mechanics-BsqaoYgK.js → canvas-viewer-mechanics-_ZBxW_sN.js} +1 -1
- package/dist/{comment-overlay-controller-b3tKmzMa.js → comment-overlay-controller-CVvQCYhQ.js} +8 -8
- package/dist/{comment-ui-runtime-Bp37ytDC.js → comment-ui-runtime-CYkt_9-b.js} +2 -2
- package/dist/{comment-ui-runtime-DM65K2I9.js → comment-ui-runtime-DhTTGSay.js} +3 -3
- package/dist/{document-model-source-zVS9qt4o.js → document-model-source-C6wGN8m3.js} +45 -45
- package/dist/{document-pull-client-DIRkBd6z.js → document-pull-client-BfGXPuQc.js} +640 -640
- package/dist/{document-pull-worker-hMKJ5RdB.js → document-pull-worker-Bl3wlLXC.js} +4 -4
- package/dist/{docx-hRmOTAbV.js → docx-CNscQaT8.js} +496 -496
- package/dist/{docx-Bsp9NgeG.js → docx-Cry-eklK.js} +7 -7
- package/dist/{docx-model-source-BSNwPdvb.js → docx-model-source-Cj8DGdLl.js} +6 -6
- package/dist/docx.mjs +3 -3
- package/dist/{drawingml-shape-B1_kg4BV.js → drawingml-shape-CFzAXuvj.js} +88 -116
- package/dist/{font-preload-demand-NqcVKIpX.js → font-preload-demand-DhFVOxz4.js} +1 -1
- package/dist/{host-layout-measure-IFLllYwV.js → host-layout-measure-CWKDrVpo.js} +1 -1
- package/dist/index.mjs +3 -3
- package/dist/internal-companion.mjs +2 -2
- package/dist/{line-distribute-CwtditQo.js → line-distribute-DxnuaRdO.js} +24 -24
- package/dist/{model-source-Cch44xsb.js → model-source-DksDDVb4.js} +1 -1
- package/dist/{model-source-session-DRcqFGfM.js → model-source-session-8wqlNxsQ.js} +2 -2
- package/dist/{model-source-session-ClNCRDOg.js → model-source-session-BogYRDwj.js} +2 -2
- package/dist/{model-source-session-DSABX94B.js → model-source-session-ifwyPPhZ.js} +2 -2
- package/dist/node.mjs +4 -4
- package/dist/{pptx-DbjWegUB.js → pptx-Bons7t3Y.js} +26 -26
- package/dist/{pptx-C1CiFW1D.js → pptx-CQtPbMxI.js} +10 -10
- package/dist/{pptx-model-source-C9TuBisH.js → pptx-model-source-mg-O0LR9.js} +5 -5
- package/dist/pptx.mjs +4 -4
- package/dist/{presentation-model-source-DLNioq7T.js → presentation-model-source-CK6_hY1W.js} +5 -5
- package/dist/{render-Bf_Gywxw.js → render-C7F07FrC.js} +2 -2
- package/dist/{render-worker-host-CVr53kg0.js → render-worker-host-Cj-U3WPe.js} +1 -1
- package/dist/{render-worker-host-PC5hgu9x.js → render-worker-host-D7L6GMbE.js} +1 -1
- package/dist/{render-worker-host-pKls3F_t.js → render-worker-host-stI5Lppz.js} +1 -1
- package/dist/{renderer-DuYC3xXi.js → renderer-N76SnQW7.js} +1286 -1212
- package/dist/{resource-measurement-CfJtbwiR.js → resource-measurement-B2hzmYlu.js} +90 -90
- package/dist/{session-DPXK_lpI.js → session-D5au4i-W.js} +166 -166
- package/dist/{slide-pull-client-3g6TxaKa.js → slide-pull-client-3mJmNjjB.js} +854 -904
- package/dist/{wasm-runtime-generation-D97yoAXz.js → wasm-runtime-generation--_2SjW2G.js} +1 -1
- package/dist/{workbook-model-source-D1dmkDMP.js → workbook-model-source-CI1q6nxK.js} +6 -6
- package/dist/{worksheet-pull-client-BudfclVl.js → worksheet-pull-client-C2h4AMwt.js} +18 -18
- package/dist/{xlsx-DBhYlJKp.js → xlsx-CKXeKvxl.js} +452 -452
- package/dist/{xlsx-DA0uR1B1.js → xlsx-DujIp7CR.js} +4 -4
- package/dist/{xlsx-model-source-zemVDAfl.js → xlsx-model-source-fs0svOUo.js} +6 -6
- package/dist/xlsx.mjs +4 -4
- package/dist/xlsx_parser_bg.wasm +0 -0
- package/package.json +1 -1
- 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-
|
|
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,
|
|
2
|
-
import { T as r } from "./canvas-viewer-mechanics-
|
|
3
|
-
import { a as i, g as a } from "./renderer-
|
|
4
|
-
import { b as o } from "./worksheet-pull-client-
|
|
5
|
-
import { c as s, l as c } from "./xlsx-
|
|
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-
|
|
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,
|
|
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-
|
|
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:
|
|
20
|
-
maxCells:
|
|
21
|
-
maxOwnedUtf8Bytes:
|
|
22
|
-
maxJsonBytes:
|
|
19
|
+
maxRows: f,
|
|
20
|
+
maxCells: c,
|
|
21
|
+
maxOwnedUtf8Bytes: m,
|
|
22
|
+
maxJsonBytes: n
|
|
23
23
|
}),
|
|
24
24
|
cache: C({
|
|
25
|
-
maxRows:
|
|
26
|
-
maxCells:
|
|
27
|
-
maxOwnedUtf8Bytes:
|
|
28
|
-
maxJsonBytes:
|
|
25
|
+
maxRows: i,
|
|
26
|
+
maxCells: g,
|
|
27
|
+
maxOwnedUtf8Bytes: l,
|
|
28
|
+
maxJsonBytes: a
|
|
29
29
|
}),
|
|
30
|
-
maxCoordinateIndexEntries:
|
|
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 =
|
|
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(
|
|
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
|
|
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:
|
|
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:
|
|
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
|
|
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
|
|
499
|
+
}, a = new p(this.options.transport, {
|
|
500
500
|
...i,
|
|
501
501
|
maxByteCredit: q,
|
|
502
502
|
timeoutMs: this.options.timeoutMs,
|