@silurus/ooxml 0.89.7 → 0.89.8
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-Ck21oePL.js +16 -0
- package/dist/assets/render-worker-DJiGqgi0.js +15 -0
- package/dist/assets/render-worker-hPLJ82d2.js +35 -0
- package/dist/{bounded-raw-part-cache-B8t03tSP.js → bounded-raw-part-cache-B5a6cGKO.js} +1713 -1515
- package/dist/{canvas-viewer-mechanics-DI38gHNV.js → canvas-viewer-mechanics-BsqaoYgK.js} +2 -2
- package/dist/{cfb-guard-BIaHdonq.js → cfb-guard-DzYlucez.js} +1 -1
- package/dist/chart-ex.mjs +367 -367
- package/dist/{comment-overlay-controller-Crm5Syhx.js → comment-overlay-controller-B7AoyoDK.js} +18 -18
- package/dist/{comment-ui-runtime-DKlEfBPp.js → comment-ui-runtime-C5eWtZSW.js} +3 -3
- package/dist/{comment-ui-runtime-BfEPgl5r.js → comment-ui-runtime-CV0I9faV.js} +3 -3
- package/dist/{document-model-source-xnkMoTZ_.js → document-model-source-90ext13g.js} +37 -37
- package/dist/{document-pull-client-CzhPbnY_.js → document-pull-client-DSYpUET2.js} +17109 -13858
- package/dist/{document-pull-worker-Bkewz-So.js → document-pull-worker-hMKJ5RdB.js} +14 -14
- package/dist/{docx-BgCQiuuN.js → docx-DCCDnwrG.js} +593 -593
- package/dist/{docx-BWyACb-n.js → docx-G7pt7ajR.js} +33 -33
- package/dist/{docx-model-source-DCRFgO7-.js → docx-model-source-Beon3BD5.js} +6 -6
- package/dist/docx.mjs +4 -4
- package/dist/docx_parser_bg.wasm +0 -0
- package/dist/{drawingml-shape-BcXkRayC.js → drawingml-shape-B1_kg4BV.js} +55 -55
- package/dist/{duotone-BI7CoghW.js → duotone-GK4Hqn7f.js} +1 -1
- package/dist/{emf-DgUBx9BU.js → emf--QWY-UlT.js} +50 -50
- package/dist/{font-preload-demand-B6HPFxDp.js → font-preload-demand-NqcVKIpX.js} +2 -2
- package/dist/{grid-geometry-CqTDvpDr.js → grid-geometry-DpMAiSZb.js} +1 -1
- package/dist/{host-layout-measure-CXKOWA5J.js → host-layout-measure-Z2fIsmDw.js} +1 -1
- package/dist/index.mjs +3 -3
- package/dist/internal-companion.mjs +2 -2
- package/dist/{line-distribute-DR9Qwd3u.js → line-distribute-CwtditQo.js} +31 -25
- package/dist/{model-source-DcI3vC00.js → model-source-Cch44xsb.js} +2 -2
- package/dist/{model-source-session-BlQWNyj2.js → model-source-session-ClNCRDOg.js} +21 -21
- package/dist/{model-source-session-D0LF49Ve.js → model-source-session-DRcqFGfM.js} +2 -2
- package/dist/{model-source-session-BCteVilS.js → model-source-session-DSABX94B.js} +2 -2
- package/dist/node.mjs +5 -5
- package/dist/{plot-area-frame-D3JtHvov.js → plot-area-frame-DNYMd9Pf.js} +1914 -1890
- package/dist/{pptx-SmjDGyub.js → pptx-C1CiFW1D.js} +35 -33
- package/dist/{pptx-CfCiVlNB.js → pptx-Ci1Y9SS_.js} +261 -259
- package/dist/{pptx-model-source-B2Irk68a.js → pptx-model-source-C9TuBisH.js} +18 -12
- package/dist/pptx-parsed-slides-BMGr4khe.js +8 -0
- package/dist/pptx.mjs +5 -5
- package/dist/pptx_parser_bg.wasm +0 -0
- package/dist/{presentation-model-source-DL6duh5l.js → presentation-model-source-3N7xLtmI.js} +6 -6
- package/dist/region-map.mjs +39 -39
- package/dist/{render-CMUEAeHp.js → render-Bf_Gywxw.js} +32 -30
- package/dist/{render-worker-host-CZHIKTtZ.js → render-worker-host-BZoh-wqR.js} +1 -1
- package/dist/{render-worker-host-CtlBbau5.js → render-worker-host-BmVeB_mR.js} +1 -1
- package/dist/{render-worker-host-G1fnymI8.js → render-worker-host-CVr53kg0.js} +1 -1
- package/dist/{renderer-B4KIpz-2.js → renderer-CCA_bQB8.js} +439 -439
- package/dist/renderer-DpTePxGq.js +5887 -0
- package/dist/{resource-measurement-D2bu0Qfx.js → resource-measurement-CfJtbwiR.js} +129 -129
- package/dist/{session-KIWcCCP2.js → session-DPXK_lpI.js} +64 -64
- package/dist/{slide-pull-client-BUuJQQVE.js → slide-pull-client-3g6TxaKa.js} +1421 -1421
- package/dist/{three-d-ByHGsYrX.js → three-d-BfMZVR0w.js} +98 -98
- package/dist/three-d.mjs +678 -678
- package/dist/types/chart-ex.d.ts +5 -2
- package/dist/types/docx.d.ts +29 -7
- package/dist/types/index.d.ts +34 -11
- package/dist/types/node.d.ts +27 -5
- package/dist/types/pptx.d.ts +11 -7
- package/dist/types/region-map.d.ts +5 -2
- package/dist/types/three-d.d.ts +5 -2
- package/dist/types/xlsx.d.ts +10 -7
- package/dist/{wasm-runtime-generation-BLweKv8r.js → wasm-runtime-generation-D97yoAXz.js} +17 -17
- package/dist/{workbook-model-source-J9ir5Kov.js → workbook-model-source-BHR8shXr.js} +6 -6
- package/dist/{worksheet-pull-client-Du0MuIro.js → worksheet-pull-client-BudfclVl.js} +84 -84
- package/dist/{xlsx-BbQ7RcNc.js → xlsx-7aY3Pbvh.js} +44 -44
- package/dist/{xlsx-ClQiNSrr.js → xlsx-DTtDjzFq.js} +299 -299
- package/dist/{xlsx-model-source-C-Riw89p.js → xlsx-model-source-DXKvb90T.js} +36 -36
- package/dist/xlsx.mjs +5 -5
- package/dist/xlsx_parser_bg.wasm +0 -0
- package/package.json +1 -1
- package/dist/assets/render-worker-B3hF7Akg.js +0 -35
- package/dist/assets/render-worker-B5HWxkbU.js +0 -16
- package/dist/assets/render-worker-DNGf06QT.js +0 -15
- package/dist/renderer-xdugdcMd.js +0 -5769
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { S as l } from "./worksheet-pull-client-
|
|
1
|
+
import { Co as e } from "./plot-area-frame-DNYMd9Pf.js";
|
|
2
|
+
import { A as t, J as n, M as r, U as i, X as a, fn as o, j as s, pn as c } from "./bounded-raw-part-cache-B5a6cGKO.js";
|
|
3
|
+
import { S as l } from "./worksheet-pull-client-BudfclVl.js";
|
|
4
4
|
var u = "OOXML_DOCX_ILVL:";
|
|
5
5
|
function d(t) {
|
|
6
6
|
let n = t instanceof Error ? t.message : String(t);
|
|
@@ -24,12 +24,12 @@ function p(e) {
|
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
function m(e) {
|
|
27
|
-
let
|
|
28
|
-
return
|
|
27
|
+
let t = e((e) => e.document_cursor_resource_usage?.());
|
|
28
|
+
return t ? i(t) : void 0;
|
|
29
29
|
}
|
|
30
30
|
var h = Math.max(o, c), g = class {
|
|
31
31
|
archive;
|
|
32
|
-
coordinator = new
|
|
32
|
+
coordinator = new r();
|
|
33
33
|
host = null;
|
|
34
34
|
identity = null;
|
|
35
35
|
executeArchive;
|
|
@@ -42,7 +42,7 @@ var h = Math.max(o, c), g = class {
|
|
|
42
42
|
t.open_document_cursor(e.operationId, e.generation);
|
|
43
43
|
});
|
|
44
44
|
let t = 0;
|
|
45
|
-
this.identity = e, this.host = new
|
|
45
|
+
this.identity = e, this.host = new s({
|
|
46
46
|
...e,
|
|
47
47
|
maxByteCredit: h,
|
|
48
48
|
coordinator: this.coordinator,
|
|
@@ -52,7 +52,7 @@ var h = Math.max(o, c), g = class {
|
|
|
52
52
|
try {
|
|
53
53
|
r = this.executeArchive((r) => r.pull_document_chunk(t, e.operationId, e.generation, n));
|
|
54
54
|
} catch (e) {
|
|
55
|
-
throw
|
|
55
|
+
throw a(e, n, h) || e;
|
|
56
56
|
}
|
|
57
57
|
let i = l(r);
|
|
58
58
|
return {
|
|
@@ -73,22 +73,22 @@ var h = Math.max(o, c), g = class {
|
|
|
73
73
|
}
|
|
74
74
|
});
|
|
75
75
|
}
|
|
76
|
-
dispatch(e,
|
|
77
|
-
return !this.host || !this.identity ? (
|
|
78
|
-
protocol:
|
|
76
|
+
dispatch(e, r) {
|
|
77
|
+
return !this.host || !this.identity ? (r({
|
|
78
|
+
protocol: t,
|
|
79
79
|
kind: "error",
|
|
80
80
|
sessionId: e.sessionId,
|
|
81
81
|
operationId: e.operationId,
|
|
82
82
|
generation: e.generation,
|
|
83
83
|
requestId: e.requestId,
|
|
84
|
-
error:
|
|
85
|
-
}), Promise.resolve()) : this.host.dispatch(e,
|
|
84
|
+
error: n(/* @__PURE__ */ Error("DOCX document pull session is not open"))
|
|
85
|
+
}), Promise.resolve()) : this.host.dispatch(e, r);
|
|
86
86
|
}
|
|
87
87
|
async reset() {
|
|
88
88
|
if (this.host) try {
|
|
89
89
|
this.archive() && this.executeArchive((e) => e.close_document_session());
|
|
90
90
|
} finally {
|
|
91
|
-
this.host = null, this.identity = null, this.coordinator = new
|
|
91
|
+
this.host = null, this.identity = null, this.coordinator = new r();
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
94
|
requireArchive() {
|