@silurus/ooxml 0.89.1 → 0.89.3
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 +4 -3
- package/dist/{abort-VrnK7mdP.js → abort-JztSoyw2.js} +0 -2
- package/dist/assets/render-worker-BUa1gyCE.js +15 -0
- package/dist/assets/render-worker-Bye3wDV9.js +35 -0
- package/dist/assets/render-worker-CyUrUidp.js +16 -0
- package/dist/{bounded-raw-part-cache-CsnNptAy.js → bounded-raw-part-cache-Bi_VqXmg.js} +7 -115
- package/dist/{bundled-asset-url-E2nXURF9.js → bundled-asset-url-BMJ8vNHP.js} +0 -2
- package/dist/{canvas-viewer-mechanics-BZ8QCrRi.js → canvas-viewer-mechanics-ycCX6v-z.js} +3 -25
- package/dist/{cfb-guard-dNeUiANF.js → cfb-guard-BIaHdonq.js} +1 -13
- package/dist/chart-ex.mjs +4 -7
- package/dist/{chunk-Dy4uBu1J.js → chunk-D5OxutzX.js} +0 -2
- package/dist/{comment-overlay-controller-CBvQx-En.js → comment-overlay-controller-CR5ySvki.js} +2 -22
- package/dist/{comment-ui-runtime-BKidRH36.js → comment-ui-runtime-BWhLz4gq.js} +5 -7
- package/dist/comment-ui-runtime-BtP_TpvT.js +2 -0
- package/dist/{comment-ui-runtime-C47QoDUy.js → comment-ui-runtime-CwTOCwA8.js} +5 -7
- package/dist/{delimited-text-worker-host-CikWU6_m.js → delimited-text-worker-host-RwvuSsP2.js} +0 -4
- package/dist/{document-model-source-MzFPrxt0.js → document-model-source-Csow9uxO.js} +9 -11
- package/dist/{document-pull-client-BoJeuURD.js → document-pull-client-CHpz0Q1p.js} +7572 -7285
- package/dist/{document-pull-worker-CaP8XESP.js → document-pull-worker-1ZJv9f9W.js} +3 -7
- package/dist/{docx-BN70UhvX.js → docx-D9E0vCq-.js} +12 -18
- package/dist/{docx-BRRtSvk3.js → docx-GXxH0AwW.js} +13 -65
- package/dist/{docx-model-source-CTO9iw_W.js → docx-model-source-aKx2gZH9.js} +7 -9
- package/dist/docx.mjs +6 -6
- package/dist/docx_parser_bg.wasm +0 -0
- package/dist/{drawingml-shape-CHmq8kpM.js → drawingml-shape-BwELUfNW.js} +2 -6
- package/dist/{duotone-DN8P4aXe.js → duotone-BI7CoghW.js} +2 -6
- package/dist/{emf-CGFQIz6c.js → emf-DgUBx9BU.js} +2 -4
- package/dist/{font-preload-demand-Dmy31xt-.js → font-preload-demand-BuMy4iJ1.js} +2 -8
- package/dist/{grid-geometry-C3IG20ut.js → grid-geometry-CqTDvpDr.js} +1 -6
- package/dist/{host-layout-DVMw8hDY.js → host-layout-Cz_lCuTZ.js} +0 -1
- package/dist/{host-layout-measure-DsuQ2UJs.js → host-layout-measure-GU0oJ4Me.js} +1 -3
- package/dist/{in-process-pull-transport-DuXcPZng.js → in-process-pull-transport-BPJ7M0uC.js} +0 -2
- package/dist/index.mjs +3 -3
- package/dist/internal-companion.mjs +3 -5
- package/dist/{line-distribute-Bu8psjGd.js → line-distribute-C_CJisnJ.js} +2 -18
- package/dist/math.mjs +2 -8
- package/dist/{mathjax-BhwN6ilc.js → mathjax-DvwccQ8e.js} +0 -2
- package/dist/{model-source-kz_NkZqT.js → model-source-COXegBNA.js} +1 -3
- package/dist/{model-source-s5hRpk4w.js → model-source-DLXFe4_2.js} +3 -5
- package/dist/{model-source-session-DqrR4XHR.js → model-source-session-B3WVQCM5.js} +5 -9
- package/dist/{model-source-session-6fuaqbGs.js → model-source-session-BVZBHZ04.js} +5 -11
- package/dist/{model-source-session-cPJSF_Ak.js → model-source-session-DfUgVpr1.js} +4 -8
- package/dist/node.mjs +6 -6
- package/dist/{pixel-budget-BpTYrepD.js → pixel-budget-DI82Hn3R.js} +0 -2
- package/dist/{plot-area-frame-Bs_j4uu7.js → plot-area-frame-D3JtHvov.js} +1 -167
- package/dist/{pptx-CaJ6ILnw.js → pptx-BD0jwWs6.js} +9 -11
- package/dist/{pptx-_BOGcBym.js → pptx-CLyebeF_.js} +16 -62
- package/dist/{pptx-model-source-B_9afw9R.js → pptx-model-source-D_2mnSxI.js} +5 -7
- package/dist/pptx.mjs +7 -7
- package/dist/pptx_parser_bg.wasm +0 -0
- package/dist/{presentation-model-source-CGHLyX32.js → presentation-model-source-rWZ3Y-S_.js} +8 -10
- package/dist/{raster-target-YQ4G6rxo.js → raster-target-Ca3tyA0L.js} +0 -2
- package/dist/{read-only-comment-decoration-PidH0wnP.js → read-only-comment-decoration-B06YO2zk.js} +0 -4
- package/dist/{read-only-comment-margin-B52rDVKo.js → read-only-comment-margin-Ee9Y6vPg.js} +0 -2
- package/dist/region-map.mjs +4 -7
- package/dist/{render-CzbDzRKa.js → render-Cs1bgbEm.js} +3 -5
- package/dist/render-worker-host-BR7n4xKy.js +5 -0
- package/dist/render-worker-host-BxsA-yJo.js +5 -0
- package/dist/render-worker-host-CZC0WOn8.js +5 -0
- package/dist/{renderer-DRoeb14O.js → renderer-DFDF48zw.js} +7 -55
- package/dist/{renderer-module-contract-CWM7jv6d.js → renderer-module-contract-BuTx2FWJ.js} +0 -2
- package/dist/{renderer-CD2cvVAF.js → renderer-xdugdcMd.js} +1232 -1286
- package/dist/{resource-measurement-Dhhm7P_l.js → resource-measurement-CTGrNAsD.js} +2 -18
- package/dist/{session-XPmC0CUd.js → session-B5CgMc2N.js} +7 -17
- package/dist/{slide-pull-client-tq7U_fYg.js → slide-pull-client-43mS9T70.js} +9 -63
- package/dist/{three-d-BKwNPAP4.js → three-d-ByHGsYrX.js} +1 -11
- package/dist/three-d.mjs +4 -17
- package/dist/{tiff-contract-C6M3QcPp.js → tiff-contract-DEd8CGuz.js} +0 -2
- package/dist/tiff.mjs +5 -8
- package/dist/types/chart-ex.d.ts +2 -2
- package/dist/types/docx.d.ts +12 -11
- package/dist/types/index.d.ts +16 -15
- package/dist/types/internal-companion.d.ts +1 -1
- package/dist/types/math.d.ts +1 -1
- package/dist/types/node.d.ts +7 -6
- package/dist/types/pptx.d.ts +11 -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 +11 -11
- package/dist/{visible-index-FeVA0mGE.js → visible-index-vN-4BNn7.js} +0 -2
- package/dist/{wasm-loader-rlgHmcSv.js → wasm-loader-KAOyLXzf.js} +0 -4
- package/dist/{wasm-runtime-generation-D6TKZdNb.js → wasm-runtime-generation-BsWKRY7U.js} +1 -3
- package/dist/{workbook-model-source-BIGrfZy6.js → workbook-model-source-ChIQjX9a.js} +9 -11
- package/dist/{worker-source-UAi3GNcM.js → worker-source-C29EQNUj.js} +0 -2
- package/dist/{worker-source-SbudzjYL.js → worker-source-D3NwPe6l.js} +0 -2
- package/dist/{worker-source-DrwhR9fw.js → worker-source-ZQE9C1j6.js} +0 -2
- package/dist/{worksheet-pull-client-ClvPO_Jf.js → worksheet-pull-client-D5zAevQv.js} +4 -18
- package/dist/{xlsx-CsmREBaZ.js → xlsx-DelYm4VZ.js} +20 -62
- package/dist/{xlsx-DmHfeNNp.js → xlsx-S6orTmKI.js} +8 -16
- package/dist/{xlsx-model-source-D1flORqy.js → xlsx-model-source-Cm9ocDgT.js} +8 -12
- package/dist/xlsx.mjs +7 -7
- package/dist/xlsx_parser_bg.wasm +0 -0
- package/package.json +3 -3
- package/dist/assets/render-worker-C5G_Nr_A.js +0 -35
- package/dist/assets/render-worker-DQfWdNsm.js +0 -16
- package/dist/assets/render-worker-Ds7LjwU-.js +0 -15
- package/dist/comment-ui-runtime-B7ZvovcS.js +0 -2
- package/dist/render-worker-host-B1u6BOUd.js +0 -9
- package/dist/render-worker-host-C-EECo68.js +0 -9
- package/dist/render-worker-host-DDqZTCVf.js +0 -9
package/dist/region-map.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
1
|
+
// optional-renderer: packages/core/src/chart/region-map-natural-earth.generated.ts
|
|
2
|
+
import { Ao as e, Cn as t, _a as n, aa as r, ca as i, fa as a, ha as o, la as s, ma as c, qt as l, t as u } from "./plot-area-frame-D3JtHvov.js";
|
|
3
|
+
import { a as d, l as f, s as p } from "./duotone-BI7CoghW.js";
|
|
4
|
+
import { t as m } from "./renderer-module-contract-BuTx2FWJ.js";
|
|
5
5
|
var h = [
|
|
6
6
|
{
|
|
7
7
|
n: "Fiji",
|
|
@@ -12671,8 +12671,5 @@ function V(e, t, a, d, f = 0) {
|
|
|
12671
12671
|
}
|
|
12672
12672
|
return !0;
|
|
12673
12673
|
}
|
|
12674
|
-
//#endregion
|
|
12675
|
-
//#region src/region-map.ts
|
|
12676
12674
|
var H = m({ render: V }, "regionMap");
|
|
12677
|
-
//#endregion
|
|
12678
12675
|
export { H as regionMap };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { t as e } from "./chunk-
|
|
2
|
-
import { qt as t } from "./bounded-raw-part-cache-
|
|
3
|
-
//#region packages/node/src/render.ts
|
|
1
|
+
import { t as e } from "./chunk-D5OxutzX.js";
|
|
2
|
+
import { qt as t } from "./bounded-raw-part-cache-Bi_VqXmg.js";
|
|
4
3
|
var n = /* @__PURE__ */ e({
|
|
5
4
|
installImageBitmapShim: () => a,
|
|
6
5
|
installOffscreenCanvasShim: () => i,
|
|
@@ -47,7 +46,7 @@ function o(e, t) {
|
|
|
47
46
|
return r = o.then(() => void 0, () => void 0), o;
|
|
48
47
|
}
|
|
49
48
|
async function s(e, n, r, i = {}) {
|
|
50
|
-
let a = t(i.cjkFallback), { renderSlide: s } = await import("./session-
|
|
49
|
+
let a = t(i.cjkFallback), { renderSlide: s } = await import("./session-B5CgMc2N.js").then((e) => e.t), c = n.slides[r];
|
|
51
50
|
if (!c) throw Error(`Slide index ${r} out of range`);
|
|
52
51
|
let l = i.width ?? 960, u = i.dpr ?? 2, d = i.fetchImage ?? (async () => new Blob([])), f = async () => {
|
|
53
52
|
await s(e, c, n.slideWidth, n.slideHeight, {
|
|
@@ -65,5 +64,4 @@ async function s(e, n, r, i = {}) {
|
|
|
65
64
|
};
|
|
66
65
|
await (i.factory ? o(i.factory, f) : f());
|
|
67
66
|
}
|
|
68
|
-
//#endregion
|
|
69
67
|
export { o as a, n as i, i as n, s as r, a as t };
|
|
@@ -1,11 +1,10 @@
|
|
|
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-
|
|
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-
|
|
3
|
-
import { H as Ee, r as De } from "./renderer-
|
|
4
|
-
import { r as Oe } from "./drawingml-shape-
|
|
5
|
-
import { _ as ke, v as Ae } from "./worksheet-pull-client-
|
|
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-
|
|
7
|
-
import { c as Ke, m as qe, p as Je, s as Ye, t as Xe } from "./grid-geometry-
|
|
8
|
-
//#region packages/core/src/sparkline/renderer.ts
|
|
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-D3JtHvov.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-Bi_VqXmg.js";
|
|
3
|
+
import { H as Ee, r as De } from "./renderer-xdugdcMd.js";
|
|
4
|
+
import { r as Oe } from "./drawingml-shape-BwELUfNW.js";
|
|
5
|
+
import { _ as ke, v as Ae } from "./worksheet-pull-client-D5zAevQv.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-CTGrNAsD.js";
|
|
7
|
+
import { c as Ke, m as qe, p as Je, s as Ye, t as Xe } from "./grid-geometry-CqTDvpDr.js";
|
|
9
8
|
function Ze(e, t, n) {
|
|
10
9
|
let { values: r } = n;
|
|
11
10
|
if (r.length === 0 || t.w <= 0 || t.h <= 0) return;
|
|
@@ -88,20 +87,14 @@ function et(e, t, n, r, i, a) {
|
|
|
88
87
|
e.save(), e.fillStyle = o, a ? e.fillRect(f, s, p, c) : e.fillRect(f, s - c, p, c), e.restore();
|
|
89
88
|
}
|
|
90
89
|
}
|
|
91
|
-
//#endregion
|
|
92
|
-
//#region packages/core/src/text/bidi/segments.ts
|
|
93
90
|
function tt(e, t) {
|
|
94
91
|
return e === !0 ? "rtl" : e === !1 ? "ltr" : I().computeLevels(t, "auto").paragraphLevel === 1 ? "rtl" : "ltr";
|
|
95
92
|
}
|
|
96
|
-
//#endregion
|
|
97
|
-
//#region packages/core/src/drawingml-text/paint.ts
|
|
98
93
|
function nt(e, t, n, r) {
|
|
99
94
|
let i = t;
|
|
100
95
|
for (let t of e) r(t, i, n), i += t.width;
|
|
101
96
|
return i;
|
|
102
97
|
}
|
|
103
|
-
//#endregion
|
|
104
|
-
//#region packages/xlsx/src/internal/cell-font-language.ts
|
|
105
98
|
var rt = /* @__PURE__ */ new WeakMap();
|
|
106
99
|
function it() {
|
|
107
100
|
return typeof navigator < "u" && (navigator.language || "").toLowerCase().startsWith("ja");
|
|
@@ -117,8 +110,6 @@ function ot(e) {
|
|
|
117
110
|
function st(e, t) {
|
|
118
111
|
at(t, ot(e));
|
|
119
112
|
}
|
|
120
|
-
//#endregion
|
|
121
|
-
//#region packages/xlsx/src/shape-office-line.ts
|
|
122
113
|
function ct(e) {
|
|
123
114
|
let t = e.fontFace?.trim();
|
|
124
115
|
if (!t) return;
|
|
@@ -208,8 +199,6 @@ function xt(e, t, n) {
|
|
|
208
199
|
let s = i.filter((e) => bt(o, e));
|
|
209
200
|
if (s.length !== 0 && !(i.some(_t) && !s.every(_t))) return yt(s);
|
|
210
201
|
}
|
|
211
|
-
//#endregion
|
|
212
|
-
//#region packages/xlsx/src/google-fonts.ts
|
|
213
202
|
var St = {
|
|
214
203
|
...l,
|
|
215
204
|
...L
|
|
@@ -291,8 +280,6 @@ function Dt(e) {
|
|
|
291
280
|
}
|
|
292
281
|
return [...t.values()];
|
|
293
282
|
}
|
|
294
|
-
//#endregion
|
|
295
|
-
//#region packages/xlsx/src/spreadsheet-cell.ts
|
|
296
283
|
function Ot(e, t) {
|
|
297
284
|
if (e.length === 0 || t.length === 0) return 0;
|
|
298
285
|
let n = [...e, ...t], r = e.length;
|
|
@@ -456,8 +443,6 @@ function Mt(e, t, n, r, i, a, o) {
|
|
|
456
443
|
}
|
|
457
444
|
return (c.length > 0 || s.length > 0) && m(), s;
|
|
458
445
|
}
|
|
459
|
-
//#endregion
|
|
460
|
-
//#region packages/xlsx/src/shape-stacked-text.ts
|
|
461
446
|
function Nt(e, t, n, r, i, a, o) {
|
|
462
447
|
let s = (t, n) => {
|
|
463
448
|
e.font = n.font;
|
|
@@ -597,8 +582,6 @@ function Nt(e, t, n, r, i, a, o) {
|
|
|
597
582
|
}
|
|
598
583
|
e.restore();
|
|
599
584
|
}
|
|
600
|
-
//#endregion
|
|
601
|
-
//#region packages/xlsx/src/dxf-font.ts
|
|
602
585
|
var Pt = [
|
|
603
586
|
"bold",
|
|
604
587
|
"italic",
|
|
@@ -608,8 +591,6 @@ var Pt = [
|
|
|
608
591
|
function Ft(e, t) {
|
|
609
592
|
if (e.font) return e.fontToggles ? e.fontToggles[t] : e.font[t] || void 0;
|
|
610
593
|
}
|
|
611
|
-
//#endregion
|
|
612
|
-
//#region packages/xlsx/src/renderer-coordinate-index.ts
|
|
613
594
|
var It = fe, Lt = 2 ** 53 - 1 - 1;
|
|
614
595
|
function Rt(e) {
|
|
615
596
|
let t = e.limit;
|
|
@@ -674,8 +655,6 @@ function Ut(e, t, n) {
|
|
|
674
655
|
if (!e.has(t) && e.size >= r) throw zt(n, r, e.size + 1, !0);
|
|
675
656
|
e.add(t);
|
|
676
657
|
}
|
|
677
|
-
//#endregion
|
|
678
|
-
//#region packages/xlsx/src/pivot-style.ts
|
|
679
658
|
var Wt = [
|
|
680
659
|
"wholeTable",
|
|
681
660
|
"pageFieldLabels",
|
|
@@ -989,8 +968,6 @@ function nn(e, t) {
|
|
|
989
968
|
}
|
|
990
969
|
return n;
|
|
991
970
|
}
|
|
992
|
-
//#endregion
|
|
993
|
-
//#region packages/xlsx/src/phonetic.ts
|
|
994
971
|
function rn(e) {
|
|
995
972
|
return Array.from(e);
|
|
996
973
|
}
|
|
@@ -1009,8 +986,6 @@ function an(e, t, n, r, i) {
|
|
|
1009
986
|
}
|
|
1010
987
|
return s;
|
|
1011
988
|
}
|
|
1012
|
-
//#endregion
|
|
1013
|
-
//#region packages/xlsx/src/number-format.ts
|
|
1014
989
|
function on(e) {
|
|
1015
990
|
switch (e.type) {
|
|
1016
991
|
case "empty": return "";
|
|
@@ -1371,8 +1346,6 @@ function An(e, t, n = !1) {
|
|
|
1371
1346
|
color: l.color
|
|
1372
1347
|
} : p;
|
|
1373
1348
|
}
|
|
1374
|
-
//#endregion
|
|
1375
|
-
//#region packages/xlsx/src/cf-operand.ts
|
|
1376
1349
|
var jn = Object.freeze({
|
|
1377
1350
|
kind: "unsupported",
|
|
1378
1351
|
reason: "syntax"
|
|
@@ -1428,8 +1401,6 @@ function Hn(e, t) {
|
|
|
1428
1401
|
default: return Nn;
|
|
1429
1402
|
}
|
|
1430
1403
|
}
|
|
1431
|
-
//#endregion
|
|
1432
|
-
//#region packages/xlsx/src/formula.ts
|
|
1433
1404
|
var Un = 1048576, Wn = 16384, Gn = class {
|
|
1434
1405
|
code;
|
|
1435
1406
|
constructor(e) {
|
|
@@ -2286,8 +2257,6 @@ function Zr(e) {
|
|
|
2286
2257
|
d: t.getUTCDate()
|
|
2287
2258
|
};
|
|
2288
2259
|
}
|
|
2289
|
-
//#endregion
|
|
2290
|
-
//#region packages/xlsx/src/conditional-format.ts
|
|
2291
2260
|
function Qr(e, t, n) {
|
|
2292
2261
|
for (let r of e) if (t >= r.top && t <= r.bottom && n >= r.left && n <= r.right) return !0;
|
|
2293
2262
|
return !1;
|
|
@@ -2588,8 +2557,6 @@ function _i(e, t, n, r, i) {
|
|
|
2588
2557
|
}
|
|
2589
2558
|
return a;
|
|
2590
2559
|
}
|
|
2591
|
-
//#endregion
|
|
2592
|
-
//#region packages/xlsx/src/bidi-line.ts
|
|
2593
2560
|
function vi(e, t) {
|
|
2594
2561
|
return e === 2 ? !0 : e === 1 ? !1 : tt(void 0, t) === "rtl";
|
|
2595
2562
|
}
|
|
@@ -2601,8 +2568,6 @@ function yi(e, t) {
|
|
|
2601
2568
|
};
|
|
2602
2569
|
}
|
|
2603
2570
|
var bi = (e, t) => ye(e, t);
|
|
2604
|
-
//#endregion
|
|
2605
|
-
//#region packages/xlsx/src/a1.ts
|
|
2606
2571
|
function xi(e) {
|
|
2607
2572
|
let t = /^\$?([A-Z]+)\$?(\d+)$/.exec(e.trim());
|
|
2608
2573
|
if (!t) return null;
|
|
@@ -2622,8 +2587,6 @@ function Si(e, t) {
|
|
|
2622
2587
|
}
|
|
2623
2588
|
return `${n}${e}`;
|
|
2624
2589
|
}
|
|
2625
|
-
//#endregion
|
|
2626
|
-
//#region packages/xlsx/src/vertical-text.ts
|
|
2627
2590
|
function Ci(e, t, n, r, i, a = !1, o = (t, n, r) => e.fillText(t, n, r)) {
|
|
2628
2591
|
let s = t.codePointAt(0) ?? 0, c = q(s);
|
|
2629
2592
|
if (a && Ce(s)) {
|
|
@@ -2646,8 +2609,6 @@ function Ci(e, t, n, r, i, a = !1, o = (t, n, r) => e.fillText(t, n, r)) {
|
|
|
2646
2609
|
let l = c === "Tu" ? de(s) : null;
|
|
2647
2610
|
o(l === null ? t : String.fromCodePoint(l), n, r);
|
|
2648
2611
|
}
|
|
2649
|
-
//#endregion
|
|
2650
|
-
//#region packages/xlsx/src/internal/cell-anchor-geometry.ts
|
|
2651
2612
|
function wi(e) {
|
|
2652
2613
|
return e.editAs === "oneCell" && (e.nativeExtCx ?? 0) > 0 && (e.nativeExtCy ?? 0) > 0;
|
|
2653
2614
|
}
|
|
@@ -2679,8 +2640,6 @@ function Ei(e, t) {
|
|
|
2679
2640
|
cy: t.cy
|
|
2680
2641
|
} : null;
|
|
2681
2642
|
}
|
|
2682
|
-
//#endregion
|
|
2683
|
-
//#region packages/xlsx/src/internal/initial-anchor-sizes.ts
|
|
2684
2643
|
var Di = [
|
|
2685
2644
|
"fromCol",
|
|
2686
2645
|
"fromColOff",
|
|
@@ -2787,8 +2746,6 @@ function zi(e, t, n, r, i) {
|
|
|
2787
2746
|
function Bi(e) {
|
|
2788
2747
|
ji.add(e);
|
|
2789
2748
|
}
|
|
2790
|
-
//#endregion
|
|
2791
|
-
//#region packages/xlsx/src/internal/optional-image-fallback.ts
|
|
2792
2749
|
var Vi = /* @__PURE__ */ new WeakMap();
|
|
2793
2750
|
function Hi(e) {
|
|
2794
2751
|
Vi.delete(e);
|
|
@@ -2800,8 +2757,6 @@ function Ui(e, t, n) {
|
|
|
2800
2757
|
function Wi(e, t, n) {
|
|
2801
2758
|
return e !== void 0 && Vi.get(e)?.get(t) === n;
|
|
2802
2759
|
}
|
|
2803
|
-
//#endregion
|
|
2804
|
-
//#region packages/xlsx/src/internal/image-anchor-transform.ts
|
|
2805
2760
|
function Gi(e) {
|
|
2806
2761
|
if (!Number.isFinite(e)) return [0, 1];
|
|
2807
2762
|
let t = (e % 360 + 360) % 360;
|
|
@@ -2831,8 +2786,6 @@ function qi(e, t, n = 0, r = !1, i = !1) {
|
|
|
2831
2786
|
y: f
|
|
2832
2787
|
};
|
|
2833
2788
|
}
|
|
2834
|
-
//#endregion
|
|
2835
|
-
//#region packages/xlsx/src/renderer.ts
|
|
2836
2789
|
function Ji(e, t, n, r, i) {
|
|
2837
2790
|
let a = C(e);
|
|
2838
2791
|
if (!a || !(a.width > 0) || !(a.height > 0)) return null;
|
|
@@ -5166,5 +5119,4 @@ function Gs(e, t, n, r, i) {
|
|
|
5166
5119
|
}
|
|
5167
5120
|
e.fillText(a, n, r);
|
|
5168
5121
|
}
|
|
5169
|
-
//#endregion
|
|
5170
5122
|
export { zi as A, at as B, Ki as C, Ii as D, Li as E, Tt as F, it as H, wt as I, Et as L, xi as M, sn as N, Ni as O, St as P, Dt as R, qi as S, Ui as T, st as V, ds as _, Ma as a, Aa as b, $i as c, Xi as d, ea as f, wa as g, jo as h, Zi as i, Si as j, Bi as k, Wo as l, Ko as m, ba as n, Go as o, Zo as p, Sa as r, Ia as s, Uo as t, Qi as u, Qo as v, Hi as w, us as x, ka as y, dt as z };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region packages/core/src/worker/renderer-module-contract.ts
|
|
2
1
|
var e = "ooxml-worker-renderer-module/v1", t = /* @__PURE__ */ new WeakMap();
|
|
3
2
|
function n(t, n) {
|
|
4
3
|
if (t === "math") {
|
|
@@ -28,5 +27,4 @@ function i(e) {
|
|
|
28
27
|
};
|
|
29
28
|
return Object.keys(s).length > 0 ? Object.freeze(s) : void 0;
|
|
30
29
|
}
|
|
31
|
-
//#endregion
|
|
32
30
|
export { i as n, r as t };
|