@silurus/ooxml 0.86.0 → 0.87.0
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/README.md +42 -2
- package/dist/assets/render-worker-CeK_iqK3.js +10 -0
- package/dist/assets/render-worker-DusrDhPk.js +11 -0
- package/dist/assets/render-worker-n2ZG0lrQ.js +31 -0
- package/dist/bounded-raw-part-cache-Cg1BsSZQ.js +119 -0
- package/dist/{canvas-viewer-mechanics-B3A7KLLi.js → canvas-viewer-mechanics-Cpk0YFvM.js} +301 -155
- package/dist/chart-ex.mjs +1 -1
- package/dist/cjk-fallback-bLI3z70h.js +46 -0
- package/dist/{comment-ui-runtime-ssI6IE39.js → comment-ui-runtime-BfE7MJZn.js} +4 -4
- package/dist/comment-ui-runtime-BsK8pmUT.js +2 -0
- package/dist/{comment-ui-runtime-DEtgcmj7.js → comment-ui-runtime-DcJOYlw-.js} +5 -5
- package/dist/{comments-CAn2A_Xh.js → comments-Diid5ujN.js} +1 -1
- package/dist/{document-pull-client-xZrA2IjM.js → document-pull-client-yKxI8aDH.js} +4326 -4238
- package/dist/{docx-DzDiGvqe.js → docx-BkSRiy07.js} +541 -349
- package/dist/docx.mjs +7 -7
- package/dist/docx_parser_bg.wasm +0 -0
- package/dist/{dom-interaction-boundary-DK1JLkrz.js → dom-interaction-boundary-CBUQJsIM.js} +63 -57
- package/dist/{hyperlink-enyPbflR.js → hyperlink-ArrU3ArU.js} +1014 -951
- package/dist/index.mjs +4 -4
- package/dist/line-distribute-Dtudnqhs.js +1023 -0
- package/dist/math.mjs +2 -2
- package/dist/node.mjs +380 -376
- package/dist/{pptx-D_U62nl-.js → pptx-62MmVbYB.js} +462 -447
- package/dist/pptx.mjs +7 -7
- package/dist/pptx_parser_bg.wasm +0 -0
- package/dist/region-map.mjs +1 -1
- package/dist/{render-DSn0d35X.js → render-8Zo7dnds.js} +31 -29
- package/dist/{render-worker-host-CbYDBg7U.js → render-worker-host-BfbnEChF.js} +1 -1
- package/dist/{render-worker-host-CO0UYoQh.js → render-worker-host-DNL9dWRh.js} +1 -1
- package/dist/{render-worker-host-BHz9vjxB.js → render-worker-host-IkHrYOci.js} +1 -1
- package/dist/{resource-measurement-Do07ZRcR.js → resource-measurement-CJsgolre.js} +9 -9
- package/dist/{session-C1GYhr6n.js → session-CrU8f8DI.js} +91 -91
- package/dist/{slide-pull-client-DuEaUxPw.js → slide-pull-client-B9KA8bU6.js} +1069 -966
- package/dist/three-d.mjs +1 -1
- package/dist/tiff.mjs +1 -1
- package/dist/types/chart-ex.d.ts +2 -2
- package/dist/types/docx.d.ts +15 -12
- package/dist/types/index.d.ts +23 -18
- package/dist/types/math.d.ts +1 -1
- package/dist/types/node.d.ts +12 -6
- package/dist/types/pptx.d.ts +15 -11
- package/dist/types/region-map.d.ts +2 -2
- package/dist/types/three-d.d.ts +2 -2
- package/dist/types/tiff.d.ts +1 -1
- package/dist/types/xlsx.d.ts +15 -11
- package/dist/{worksheet-pull-client-eDiHHEG2.js → worksheet-pull-client-eIcQ-xlD.js} +65 -65
- package/dist/{xlsx-CMHmYTHP.js → xlsx-CRcSzZNq.js} +1656 -1630
- package/dist/xlsx.mjs +4 -4
- package/dist/xlsx_parser_bg.wasm +0 -0
- package/package.json +1 -1
- package/dist/assets/render-worker-BCGnuBLj.js +0 -10
- package/dist/assets/render-worker-CB4DxjXg.js +0 -31
- package/dist/assets/render-worker-CHW0F0n6.js +0 -11
- package/dist/bounded-raw-part-cache-DVx3Camo.js +0 -256
- package/dist/comment-ui-runtime-TLHustXJ.js +0 -2
- package/dist/line-distribute-BFB575d6.js +0 -1023
- /package/dist/{comment-occurrence-Dhdplprg.js → comment-occurrence-C8Y2uoVr.js} +0 -0
- /package/dist/{delimited-text-worker-host-DcHj_JZt.js → delimited-text-worker-host-BVY-Ecni.js} +0 -0
- /package/dist/{highlight-rect-FuUSmL3a.js → highlight-rect-C5hkRqUr.js} +0 -0
- /package/dist/{line-metrics-CBbw80Ko.js → line-metrics-B60C86uh.js} +0 -0
- /package/dist/{mathjax-DS69BmJd.js → mathjax-DoyWZbSp.js} +0 -0
- /package/dist/{read-only-comment-decoration-BTnWEeo5.js → read-only-comment-decoration-Dz7eTQ4d.js} +0 -0
- /package/dist/{read-only-comment-margin-plStyGfE.js → read-only-comment-margin-DkgzASAl.js} +0 -0
- /package/dist/{renderer-module-contract-Cu-GKuPd.js → renderer-module-contract-D91rkYHH.js} +0 -0
- /package/dist/{source-key-Ktb1GRE5.js → source-key-DIJG8BA0.js} +0 -0
- /package/dist/{transfer-mIj7E7NB.js → transfer-p6iCC2R7.js} +0 -0
- /package/dist/{visible-index-DPoQYSDt.js → visible-index-BgiHEc1z.js} +0 -0
package/dist/chart-ex.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { $t as e, At as t, Ht as n, It as r, J as i, Lt as a, Rt as o, Wt as s, X as c, en as l, f as u, nn as d, qt as f, r as p, t as m, tn as h, u as g, ut as _, zt as v } from "./plot-area-frame-D5hEOgkJ.js";
|
|
2
2
|
import { T as y, w as b } from "./three-d-YYghQndN.js";
|
|
3
3
|
import { A as x, C as S, D as C, E as w, F as T, I as E, L as D, M as O, N as k, O as A, P as j, R as M, S as N, T as ee, _ as te, a as P, b as ne, c as re, d as F, f as I, g as ie, h as L, i as R, j as z, l as B, m as V, n as ae, o as oe, p as se, r as ce, s as le, t as ue, u as de, v as fe, w as pe, x as me, y as he } from "./renderer-XFSCOT6m.js";
|
|
4
|
-
import { t as ge } from "./renderer-module-contract-
|
|
4
|
+
import { t as ge } from "./renderer-module-contract-D91rkYHH.js";
|
|
5
5
|
function H(e) {
|
|
6
6
|
return e != null && Number.isFinite(e) ? e : null;
|
|
7
7
|
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
//#region packages/core/src/fonts/cjk-fallback.ts
|
|
2
|
+
function e(e) {
|
|
3
|
+
if (!e?.trim()) return null;
|
|
4
|
+
let t;
|
|
5
|
+
try {
|
|
6
|
+
t = new Intl.Locale(e.trim());
|
|
7
|
+
} catch {
|
|
8
|
+
return null;
|
|
9
|
+
}
|
|
10
|
+
let { language: n, script: r, region: i } = t;
|
|
11
|
+
return n === "ja" ? !r || [
|
|
12
|
+
"Jpan",
|
|
13
|
+
"Hani",
|
|
14
|
+
"Hira",
|
|
15
|
+
"Kana"
|
|
16
|
+
].includes(r) ? "jp" : null : n === "ko" ? !r || [
|
|
17
|
+
"Kore",
|
|
18
|
+
"Hang",
|
|
19
|
+
"Hani"
|
|
20
|
+
].includes(r) ? "kr" : null : n === "zh" ? r === "Hans" ? "sc" : r === "Hant" ? "tc" : r ? null : i === "HK" || i === "MO" ? "hk" : i === "TW" ? "tc" : "sc" : null;
|
|
21
|
+
}
|
|
22
|
+
function t(t = "auto") {
|
|
23
|
+
if (t !== "auto") {
|
|
24
|
+
if ([
|
|
25
|
+
"sc",
|
|
26
|
+
"tc",
|
|
27
|
+
"hk",
|
|
28
|
+
"jp",
|
|
29
|
+
"kr"
|
|
30
|
+
].includes(t)) return t;
|
|
31
|
+
throw TypeError("cjkFallback must be auto, sc, tc, hk, jp, or kr");
|
|
32
|
+
}
|
|
33
|
+
let n = typeof document > "u" ? null : e(document.documentElement?.lang);
|
|
34
|
+
if (n) return n;
|
|
35
|
+
if (typeof navigator < "u") {
|
|
36
|
+
for (let t of navigator.languages ?? []) {
|
|
37
|
+
let n = e(t);
|
|
38
|
+
if (n) return n;
|
|
39
|
+
}
|
|
40
|
+
let t = e(navigator.language);
|
|
41
|
+
if (t) return t;
|
|
42
|
+
}
|
|
43
|
+
return "jp";
|
|
44
|
+
}
|
|
45
|
+
//#endregion
|
|
46
|
+
export { t as n, e as t };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { i as e } from "./units-EJdC96r6.js";
|
|
2
|
-
import { t } from "./highlight-rect-
|
|
3
|
-
import { t as n } from "./comment-occurrence-
|
|
4
|
-
import { i as r, n as i, o as a, r as o, t as s } from "./read-only-comment-margin-
|
|
5
|
-
import { i as c, n as l, r as u, t as d } from "./read-only-comment-decoration-
|
|
2
|
+
import { t } from "./highlight-rect-C5hkRqUr.js";
|
|
3
|
+
import { t as n } from "./comment-occurrence-C8Y2uoVr.js";
|
|
4
|
+
import { i as r, n as i, o as a, r as o, t as s } from "./read-only-comment-margin-DkgzASAl.js";
|
|
5
|
+
import { i as c, n as l, r as u, t as d } from "./read-only-comment-decoration-Dz7eTQ4d.js";
|
|
6
6
|
//#region packages/pptx/src/comment-margin.ts
|
|
7
7
|
function f(e, t, n) {
|
|
8
8
|
return {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as e } from "./highlight-rect-
|
|
2
|
-
import { o as t } from "./source-key-
|
|
3
|
-
import { n } from "./comments-
|
|
4
|
-
import { i as r, n as i, o as a, r as o, s, t as c } from "./read-only-comment-margin-
|
|
5
|
-
import { i as l, n as u, r as d, t as f } from "./read-only-comment-decoration-
|
|
1
|
+
import { t as e } from "./highlight-rect-C5hkRqUr.js";
|
|
2
|
+
import { o as t } from "./source-key-DIJG8BA0.js";
|
|
3
|
+
import { n } from "./comments-Diid5ujN.js";
|
|
4
|
+
import { i as r, n as i, o as a, r as o, s, t as c } from "./read-only-comment-margin-DkgzASAl.js";
|
|
5
|
+
import { i as l, n as u, r as d, t as f } from "./read-only-comment-decoration-Dz7eTQ4d.js";
|
|
6
6
|
//#region packages/docx/src/comment-margin.ts
|
|
7
7
|
function p(e, r) {
|
|
8
8
|
let i = /* @__PURE__ */ new Set();
|