@sheetxl/io-xlsx 0.8.0-beta.12 → 0.8.0-beta.14
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/browser/esm/{9dwUocbOsJuAcmKn.mjs → BjkdoGjLpkKUlK5q.mjs} +2234 -2250
- package/browser/esm/{DeMZN_qj__PKo4Wh.mjs → Bomb4K5f16UyiyED.mjs} +1 -1
- package/browser/esm/{D8k22TSWPd_RHEpj.mjs → Bs0IJqyry5ZycCBU.mjs} +988 -1008
- package/browser/esm/CIRY1QIACITHu_lA.mjs +24 -0
- package/browser/esm/{DVLJTjJCGqrJUa8c.mjs → Cs4lg7bxClbTkldF.mjs} +61 -61
- package/browser/esm/{aUBXbTh2r0u3x4Xo.mjs → DAYdoS9sLmYf8kzD.mjs} +2 -2
- package/browser/esm/{BIvDjK4Zl8bWRgl8.mjs → DKWU_JYjVmtOzTGr.mjs} +2 -2
- package/browser/esm/{DsppUz-14Z7ti9i3.mjs → DN7ig6HovGU5gMbr.mjs} +1 -1
- package/browser/esm/{CcH5ITJFTMVWUJO9.mjs → DbygDdjktfjoU4DI.mjs} +1041 -1041
- package/browser/esm/{DO75RoAQTgMuVzXv.mjs → DiNNY0EgHikWbrDz.mjs} +2 -2
- package/browser/esm/{DKnOwucZq4z9_-r-.mjs → QuYxg3ec6kN-djPF.mjs} +4 -4
- package/browser/esm/index.mjs +2 -2
- package/node/esm/{C78E45n6j2E8rruH.mjs → BCSJ_kqVLXkZlYh3.mjs} +818 -819
- package/node/esm/{DXusvwW73FUDSyvD.mjs → BCXSNXHvNQ9JQMLE.mjs} +1129 -1129
- package/node/esm/{DsyuWxk3bdGhJUQN.mjs → BycDf9HTtfpzL-zt.mjs} +1 -1
- package/node/esm/{BmIIQODk4dBVIXA4.mjs → CTdvEKRTM-W1L1KU.mjs} +976 -994
- package/node/esm/{DCaAOfuW-w_dx_qd.mjs → CkenuXqno-ffP331.mjs} +2 -2
- package/node/esm/{CDKm5s3JE_d99TJw.mjs → CvcAx132Yp5uUDUB.mjs} +81 -81
- package/node/esm/{C-e5AO_4TnGywT-m.mjs → H9egT6kWCw8RAf76.mjs} +1 -1
- package/node/esm/{DSgxL0sBZtWMydVl.mjs → TPq4Re0SQgONsX_u.mjs} +2 -2
- package/node/esm/index.mjs +4 -4
- package/package.json +3 -3
- package/types/src/AutoFilterRules.d.ts +0 -42
- package/types/src/DataTableFormula.d.ts +0 -10
- package/types/src/DataValidationRules.d.ts +0 -5
- package/types/src/ExcelCalcStamp.d.ts +0 -36
- package/types/src/ExcelCompat.d.ts +0 -140
- package/types/src/ExcelFunctionFacts.d.ts +0 -272
- package/types/src/ExcelReservedNames.d.ts +0 -64
- package/types/src/KnownFonts.d.ts +0 -13
- package/types/src/LegacyFormula.d.ts +0 -58
- package/types/src/Plugin.d.ts +3 -3
- package/types/src/SheetKinds.d.ts +0 -15
- package/types/src/SourcePackage.d.ts +0 -44
- package/types/src/Types.d.ts +2 -3
- package/types/src/chart/_chartExStyle.d.ts +0 -9
- package/types/src/reader/DummyFunctionUnwrap.d.ts +43 -23
- package/types/src/reader/domVisitors/AutoFilterVisitor.d.ts +0 -8
- package/types/src/reader/domVisitors/ExternalLinkVisitor.d.ts +0 -10
- package/types/src/reader/domVisitors/FeaturePropertyBagVisitor.d.ts +0 -9
- package/types/src/reader/domVisitors/FmtSchemeVisitor.d.ts +0 -11
- package/types/src/reader/domVisitors/WorkbookVisitor.d.ts +0 -9
- package/types/src/reader/saxVisitors/SharedStringsVisitor.d.ts +0 -15
- package/types/src/reader/saxVisitors/WorksheetVisitor.d.ts +3 -1
- package/types/src/richValue/WebImageRichValueHandler.d.ts +0 -5
- package/types/src/utils/VmlNoteStyle.d.ts +0 -19
- package/types/src/vba/VBAProject.d.ts +0 -19
- package/types/src/writer/builder/OpcXmlUtils.d.ts +0 -8
- package/types/src/writer/builder/PackageBuilder.d.ts +0 -41
- package/types/src/writer/builder/Types.d.ts +0 -30
- package/types/src/writer/emitters/ExternalLinkEmitter.d.ts +0 -11
- package/types/src/writer/emitters/FeaturePropertyBagEmitter.d.ts +0 -10
- package/types/src/writer/utils/DefaultRows.d.ts +0 -16
- package/types/src/writer/utils/DummyFunction.d.ts +0 -23
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/io-xlsx - SheetXL - Import/Export from/to Excel - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/io-xlsx - SheetXL - Import/Export from/to Excel - v0.8.0-beta.14
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
6
|
*/
|
|
7
|
-
import { t as e } from "./
|
|
7
|
+
import { t as e } from "./H9egT6kWCw8RAf76.mjs";
|
|
8
8
|
import { InvalidPasswordError as t } from "@sheetxl/utils";
|
|
9
9
|
var r, n, a = class e {
|
|
10
10
|
static {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/io-xlsx - SheetXL - Import/Export from/to Excel - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/io-xlsx - SheetXL - Import/Export from/to Excel - v0.8.0-beta.14
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
6
|
*/
|
|
7
|
-
import { A as t, At as e, Ct as o, D as s, Dt as r, Et as
|
|
8
|
-
import { i as X, n as M, r as z } from "./
|
|
9
|
-
import { a as G, o as
|
|
7
|
+
import { A as t, At as e, Ct as o, D as s, Dt as r, Et as n, F as l, Gn as a, Gt as c, I as u, It as d, Kn as h, Kt as p, L as m, Ln as f, M as g, N as b, O as y, Ot as A, P as v, Pt as N, R as F, Tt as C, bn as x, et as w, g as T, j as P, k as I, qt as k, r as O, rt as V, st as _, t as L, tt as B, wt as D, xt as E, yn as R, yt as j, z as Y } from "./BCSJ_kqVLXkZlYh3.mjs";
|
|
8
|
+
import { i as X, n as M, r as z } from "./CTdvEKRTM-W1L1KU.mjs";
|
|
9
|
+
import { a as G, o as $, r as W } from "./BycDf9HTtfpzL-zt.mjs";
|
|
10
10
|
import { CommonUtils as H } from "@sheetxl/utils";
|
|
11
11
|
import { AddressUtils as K, FormulaError as U, IBorders as q, ICellStyle as J, ICondition as Z, IFill as Q, IFont as tt, IRange as et, IShape as ot, ISlicerStyle as st, ITextFrame as rt, ShapeStyleUtils as it, Sort as nt, Tuple as lt } from "@sheetxl/sdk";
|
|
12
12
|
var at = class {
|
|
@@ -188,7 +188,7 @@ var at = class {
|
|
|
188
188
|
["lnRef", "stroke"],
|
|
189
189
|
["effectRef", "effect"]
|
|
190
190
|
], gt = (t, e) => {
|
|
191
|
-
const o = new
|
|
191
|
+
const o = new g(), s = {};
|
|
192
192
|
for (const [r, i] of ft) {
|
|
193
193
|
const n = t.evaluate(r, e);
|
|
194
194
|
if (!n) continue;
|
|
@@ -270,7 +270,7 @@ var at = class {
|
|
|
270
270
|
const o = {};
|
|
271
271
|
for (let t = 0; t < e.length; t++) {
|
|
272
272
|
const s = e.item(t);
|
|
273
|
-
s.name.startsWith("xmlns") || (o[s.localName ?? s.name] =
|
|
273
|
+
s.name.startsWith("xmlns") || (o[s.localName ?? s.name] = p(s.value));
|
|
274
274
|
}
|
|
275
275
|
return Object.keys(o).length > 0 ? o : void 0;
|
|
276
276
|
}
|
|
@@ -293,7 +293,7 @@ var at = class {
|
|
|
293
293
|
visit(t, e, o) {}
|
|
294
294
|
processDataBarColor(t, e, o, s, r = "auto") {
|
|
295
295
|
if (!e) return;
|
|
296
|
-
const i =
|
|
296
|
+
const i = R((t) => e.getAttribute(t), r);
|
|
297
297
|
return i && (o[s] = i), o;
|
|
298
298
|
}
|
|
299
299
|
processFonts(t, e, o) {
|
|
@@ -315,15 +315,15 @@ var at = class {
|
|
|
315
315
|
const s = t.evaluate("u", e);
|
|
316
316
|
if (s) {
|
|
317
317
|
const t = s.getAttribute("val");
|
|
318
|
-
o.underline =
|
|
318
|
+
o.underline = A(t);
|
|
319
319
|
}
|
|
320
|
-
const
|
|
321
|
-
void 0 !==
|
|
320
|
+
const i = D(t.evaluate("vertAlign", e)?.getAttribute("val"));
|
|
321
|
+
void 0 !== i && (o.baseline = i), u(t, e, o, "sz", "size");
|
|
322
322
|
const a = t.evaluate("color", e);
|
|
323
|
-
this.processDataBarColor(t, a, o, "color"), o.color || (o.color = "auto"),
|
|
324
|
-
const
|
|
325
|
-
if (
|
|
326
|
-
const t =
|
|
323
|
+
this.processDataBarColor(t, a, o, "color"), o.color || (o.color = "auto"), F(t, e, o, "name", "family"), F(t, e, o, "rFont", "family");
|
|
324
|
+
const c = t.evaluate("family", e);
|
|
325
|
+
if (c) {
|
|
326
|
+
const t = c.getAttribute("val");
|
|
327
327
|
if (t) switch (t) {
|
|
328
328
|
case "1":
|
|
329
329
|
o.fallbacks = ["serif"];
|
|
@@ -340,12 +340,12 @@ var at = class {
|
|
|
340
340
|
case "5": o.fallbacks = ["fantasy"];
|
|
341
341
|
}
|
|
342
342
|
}
|
|
343
|
-
|
|
343
|
+
C(o, t.evaluate("scheme", e)?.getAttribute("val")), l(t, e, o, "shadow", "shadow", !0), l(t, e, o, "outline", "outline", !0);
|
|
344
344
|
for (const s of ["condense", "extend"]) {
|
|
345
|
-
const r =
|
|
345
|
+
const r = n(s, !!t.getValAttrAsBoolean(s, e, !0));
|
|
346
346
|
void 0 !== r && (o.letterSpacing = r);
|
|
347
347
|
}
|
|
348
|
-
return
|
|
348
|
+
return m(t, e, o, "charset", "charset"), o;
|
|
349
349
|
}
|
|
350
350
|
processFills(t, e, o) {
|
|
351
351
|
if (!e) return;
|
|
@@ -500,7 +500,7 @@ var at = class {
|
|
|
500
500
|
const r = o.content.json;
|
|
501
501
|
if ("shape" === o.content.type && r && (r.type ?? ot.Type.Shape) === n) {
|
|
502
502
|
const o = t.evaluate("txBody", e), i = o ? new s().readTextBody(t, o) : null;
|
|
503
|
-
i && "" !==
|
|
503
|
+
i && "" !== y(i) && (r.text = i);
|
|
504
504
|
}
|
|
505
505
|
return {};
|
|
506
506
|
}
|
|
@@ -525,7 +525,7 @@ var at = class {
|
|
|
525
525
|
const i = e.getAttribute("macro");
|
|
526
526
|
i && (r.macro = i);
|
|
527
527
|
const n = e.getAttribute("textlink");
|
|
528
|
-
n && (r.textLink = n), e.hasAttribute("fLocksText") && (r.locksText =
|
|
528
|
+
n && (r.textLink = n), e.hasAttribute("fLocksText") && (r.locksText = p(e.getAttribute("fLocksText"))), e.hasAttribute("fPublished") && (r.published = p(e.getAttribute("fPublished")));
|
|
529
529
|
const l = s.slice(0, s.lastIndexOf("/")), a = t.evaluate(l, e);
|
|
530
530
|
"1" === a?.getAttribute?.("txBox") && (r.textBox = !0);
|
|
531
531
|
const c = this.readLocks(t.evaluate(s, e));
|
|
@@ -543,10 +543,10 @@ var at = class {
|
|
|
543
543
|
}, It = /^<a:extLst(?:\s+xmlns:a="[^"]*")?><a:ext uri="\{28A0092B-C50C-407E-A947-70E740481C1C\}"><a14:useLocalDpi(?:\s+xmlns:a14="[^"]*")?\s+val="0"\s*\/><\/a:ext><\/a:extLst>$/, kt = (t, e, o, s) => {
|
|
544
544
|
const r = t.evaluate(o, e), i = t.evaluate(s, e);
|
|
545
545
|
return r || i ? {
|
|
546
|
-
x:
|
|
547
|
-
y:
|
|
548
|
-
width:
|
|
549
|
-
height:
|
|
546
|
+
x: k(r?.getAttribute("x") ?? null) ?? 0,
|
|
547
|
+
y: k(r?.getAttribute("y") ?? null) ?? 0,
|
|
548
|
+
width: k(i?.getAttribute("cx") ?? null) ?? 0,
|
|
549
|
+
height: k(i?.getAttribute("cy") ?? null) ?? 0
|
|
550
550
|
} : null;
|
|
551
551
|
}, Ot = { Checkbox: "checkbox" };
|
|
552
552
|
var Vt = (t) => {
|
|
@@ -559,7 +559,7 @@ var Vt = (t) => {
|
|
|
559
559
|
4: "cursive",
|
|
560
560
|
5: "fantasy"
|
|
561
561
|
};
|
|
562
|
-
function
|
|
562
|
+
function Lt(t) {
|
|
563
563
|
const e = {}, o = t.childNodes;
|
|
564
564
|
for (let t = 0; t < o.length; t++) {
|
|
565
565
|
const s = o.item(t);
|
|
@@ -581,12 +581,12 @@ function Bt(t) {
|
|
|
581
581
|
break;
|
|
582
582
|
case "condense":
|
|
583
583
|
case "extend": {
|
|
584
|
-
const t =
|
|
584
|
+
const t = n(s.localName, Vt(s));
|
|
585
585
|
void 0 !== t && (e.letterSpacing = t);
|
|
586
586
|
break;
|
|
587
587
|
}
|
|
588
588
|
case "u":
|
|
589
|
-
e.underline =
|
|
589
|
+
e.underline = A(s.getAttribute("val"));
|
|
590
590
|
break;
|
|
591
591
|
case "vertAlign": {
|
|
592
592
|
const t = D(s.getAttribute("val"));
|
|
@@ -614,7 +614,7 @@ function Bt(t) {
|
|
|
614
614
|
break;
|
|
615
615
|
}
|
|
616
616
|
case "scheme":
|
|
617
|
-
|
|
617
|
+
C(e, s.getAttribute("val"));
|
|
618
618
|
break;
|
|
619
619
|
case "color": {
|
|
620
620
|
const t = s.getAttribute("rgb");
|
|
@@ -622,7 +622,7 @@ function Bt(t) {
|
|
|
622
622
|
e.color = "#" + (8 === t.length ? t.substring(2) : t).toUpperCase();
|
|
623
623
|
break;
|
|
624
624
|
}
|
|
625
|
-
const o =
|
|
625
|
+
const o = R((t) => s.getAttribute(t));
|
|
626
626
|
o && (e.color = o);
|
|
627
627
|
break;
|
|
628
628
|
}
|
|
@@ -630,7 +630,7 @@ function Bt(t) {
|
|
|
630
630
|
}
|
|
631
631
|
return Object.keys(e).length > 0 ? e : null;
|
|
632
632
|
}
|
|
633
|
-
var
|
|
633
|
+
var Bt = {
|
|
634
634
|
RelsVisitor: class {
|
|
635
635
|
visit(t, e, o) {
|
|
636
636
|
if (!e) return;
|
|
@@ -706,15 +706,15 @@ var Lt = {
|
|
|
706
706
|
};
|
|
707
707
|
}
|
|
708
708
|
},
|
|
709
|
-
ShapePropertiesVisitor:
|
|
710
|
-
TextPropertiesVisitor:
|
|
709
|
+
ShapePropertiesVisitor: P,
|
|
710
|
+
TextPropertiesVisitor: I,
|
|
711
711
|
ShapeTextVisitor: s,
|
|
712
712
|
ThemeVisitor: class {
|
|
713
713
|
visit(t, e, o) {
|
|
714
714
|
o.name = e.getAttribute("name"), o.objectDefaults = {};
|
|
715
715
|
const s = mt(e, "custClrLst")[0];
|
|
716
716
|
if (s) {
|
|
717
|
-
const e = new
|
|
717
|
+
const e = new g(), r = [];
|
|
718
718
|
for (const o of mt(s, "custClr")) {
|
|
719
719
|
const s = e.processAdjColor(t, o);
|
|
720
720
|
if (!s) continue;
|
|
@@ -736,7 +736,7 @@ var Lt = {
|
|
|
736
736
|
return o;
|
|
737
737
|
}
|
|
738
738
|
},
|
|
739
|
-
ClrSchemeVisitor: class extends
|
|
739
|
+
ClrSchemeVisitor: class extends g {
|
|
740
740
|
visit(t, e, o) {
|
|
741
741
|
const s = {};
|
|
742
742
|
s.name = e.getAttribute("name");
|
|
@@ -793,14 +793,14 @@ var Lt = {
|
|
|
793
793
|
}
|
|
794
794
|
processDefault(t, e) {
|
|
795
795
|
const o = {}, r = t.evaluate("spPr", e);
|
|
796
|
-
r && new
|
|
796
|
+
r && new P().visit(t, r, o);
|
|
797
797
|
const i = new s().readTextBody(t, e);
|
|
798
798
|
(i.body || i.listStyle) && (o.text = i);
|
|
799
799
|
const n = t.evaluate("style", e);
|
|
800
800
|
return n && (o.style = gt(t, n)), o;
|
|
801
801
|
}
|
|
802
802
|
},
|
|
803
|
-
FmtSchemeVisitor: class extends
|
|
803
|
+
FmtSchemeVisitor: class extends g {
|
|
804
804
|
visit(t, e, o) {
|
|
805
805
|
const s = this.parseFillList(t, e, "fillStyleLst"), r = this.parseLnList(t, e, "lnStyleLst"), i = this.parseEffectStyleList(t, e, "effectStyleLst"), n = this.parseFillList(t, e, "bgFillStyleLst");
|
|
806
806
|
if (s && (o.fillStyleLst = s), r && (o.lnStyleLst = r), i && (o.effectStyleLst = i), n && (o.bgFillStyleLst = n), s && r && i && n) return;
|
|
@@ -876,7 +876,7 @@ var Lt = {
|
|
|
876
876
|
return r && (o.style = r), s;
|
|
877
877
|
}
|
|
878
878
|
processCustomFilter(t, e) {
|
|
879
|
-
return
|
|
879
|
+
return _({
|
|
880
880
|
operator: e.getAttribute("operator"),
|
|
881
881
|
val: e.getAttribute("val")
|
|
882
882
|
}, (e) => t.warn(e));
|
|
@@ -897,7 +897,7 @@ var Lt = {
|
|
|
897
897
|
return 1 === r.length ? r[0] : B(i);
|
|
898
898
|
}
|
|
899
899
|
processDynamicFilter(t, e) {
|
|
900
|
-
return
|
|
900
|
+
return w(e.getAttribute("type"));
|
|
901
901
|
}
|
|
902
902
|
processDateGroupItem(t, e) {
|
|
903
903
|
const o = {};
|
|
@@ -947,7 +947,7 @@ var Lt = {
|
|
|
947
947
|
for (let e = 0; e < o.length; e++) {
|
|
948
948
|
const s = o.item(e);
|
|
949
949
|
if (1 !== s.nodeType || "ext" !== s.localName) continue;
|
|
950
|
-
if (
|
|
950
|
+
if (f(s.getAttribute("uri")) !== f("{1AD28BCE-077C-4C59-8B6E-1921CE8616D4}")) continue;
|
|
951
951
|
const r = s.childNodes;
|
|
952
952
|
for (let e = 0; e < r.length; e++) {
|
|
953
953
|
const o = r.item(e);
|
|
@@ -976,12 +976,12 @@ var Lt = {
|
|
|
976
976
|
if (!e.hasAttribute("colId")) return;
|
|
977
977
|
const s = parseInt(e.getAttribute("colId"));
|
|
978
978
|
let r = !1;
|
|
979
|
-
if (e.hasAttribute("hiddenButton") && (r =
|
|
979
|
+
if (e.hasAttribute("hiddenButton") && (r = p(e.getAttribute("hiddenButton"))), r && o) {
|
|
980
980
|
let t = o.hiddenButtons;
|
|
981
981
|
t || (t = [], o.hiddenButtons = t), t.push(s);
|
|
982
982
|
}
|
|
983
983
|
let i = !1;
|
|
984
|
-
if (e.hasAttribute("showButton") && (i =
|
|
984
|
+
if (e.hasAttribute("showButton") && (i = p(e.getAttribute("showButton"))), i && o) {
|
|
985
985
|
let t = o.showButtons;
|
|
986
986
|
!0 !== t && (t || (t = [], o.showButtons = t), t[s] = !0);
|
|
987
987
|
}
|
|
@@ -1005,7 +1005,7 @@ var Lt = {
|
|
|
1005
1005
|
visit(t, e, o) {
|
|
1006
1006
|
if (!e) return;
|
|
1007
1007
|
const s = e.getAttribute("ref"), r = {};
|
|
1008
|
-
e.hasAttribute("caseSensitive") && (r.collatorOptions =
|
|
1008
|
+
e.hasAttribute("caseSensitive") && (r.collatorOptions = p(e.getAttribute("caseSensitive")) ? nt.CaseSensitiveOptions : nt.CaseInsensitiveOptions);
|
|
1009
1009
|
const i = e.getAttribute("sortMethod");
|
|
1010
1010
|
null != i && "none" !== i && ("stroke" === i ? r.collatorOptions = {
|
|
1011
1011
|
...r.collatorOptions,
|
|
@@ -1015,7 +1015,7 @@ var Lt = {
|
|
|
1015
1015
|
collation: "pinyin"
|
|
1016
1016
|
}));
|
|
1017
1017
|
const n = {};
|
|
1018
|
-
e.hasAttribute("columnSort") &&
|
|
1018
|
+
e.hasAttribute("columnSort") && p(e.getAttribute("columnSort")) && (n.axis = et.Axis.Column);
|
|
1019
1019
|
const l = K.fastStringToRange(s), a = [], c = [];
|
|
1020
1020
|
this.processSortConditions(t, e, a, l, r, c), a.length > 0 && (n.sorts = a);
|
|
1021
1021
|
const u = t.getVisitorParamsState().get("ref");
|
|
@@ -1023,7 +1023,7 @@ var Lt = {
|
|
|
1023
1023
|
const t = K.fastStringToRange(u);
|
|
1024
1024
|
n.extent = {
|
|
1025
1025
|
range: d(t, l),
|
|
1026
|
-
sorts: c.map((e) =>
|
|
1026
|
+
sorts: c.map((e) => N(t, l, e))
|
|
1027
1027
|
};
|
|
1028
1028
|
}
|
|
1029
1029
|
return Object.keys(a).length > 0 && (o.sort = n), n;
|
|
@@ -1037,8 +1037,8 @@ var Lt = {
|
|
|
1037
1037
|
i.index = o ? s.colStart - o.colStart : s.colStart, r?.push(s);
|
|
1038
1038
|
}
|
|
1039
1039
|
const n = { ...s };
|
|
1040
|
-
i.criteria = n, n.reverse = !1, e.hasAttribute("descending") && (n.reverse =
|
|
1041
|
-
const l =
|
|
1040
|
+
i.criteria = n, n.reverse = !1, e.hasAttribute("descending") && (n.reverse = p(e.getAttribute("descending")));
|
|
1041
|
+
const l = V(e.getAttribute("sortBy"));
|
|
1042
1042
|
l && (n.sortOn = l);
|
|
1043
1043
|
const a = At(t, e);
|
|
1044
1044
|
return a && (n.style = a), t.copyFromAttribute(e, "iconSet", n), t.copyFromAttribute(e, "customList", n), i;
|
|
@@ -1067,12 +1067,12 @@ var Lt = {
|
|
|
1067
1067
|
const l = i.fonts[this.normalFontId(t, s)], a = {
|
|
1068
1068
|
declared: ["1", "true"].includes(n?.getAttribute("x14ac:knownFonts") ?? ""),
|
|
1069
1069
|
normalIsThemeFont: o(l?.family),
|
|
1070
|
-
faces:
|
|
1070
|
+
faces: O(Object.values(i.fonts).map((t) => ({
|
|
1071
1071
|
...t,
|
|
1072
1072
|
family: e(t?.family, t?.fallbacks, null, !1).name
|
|
1073
1073
|
})))
|
|
1074
1074
|
};
|
|
1075
|
-
t.getVisitorParamsState().set(
|
|
1075
|
+
t.getVisitorParamsState().set(L, a), l && t.getVisitorParamsState().set(X, l), this.processFills(t, t.evaluate("fills", s), i.fills), this.processBorders(t, t.evaluate("borders", s), i.borders, !0), i.fills[0] = { type: Q.Type.None }, i.fills[1] = {
|
|
1076
1076
|
type: Q.Type.Pattern,
|
|
1077
1077
|
patternType: Q.BuiltInSheetPattern.Gray125
|
|
1078
1078
|
}, i.borders[0] = {
|
|
@@ -1173,7 +1173,7 @@ var Lt = {
|
|
|
1173
1173
|
const t = r.get(parseInt(n));
|
|
1174
1174
|
t && t !== J.BuiltInName.Normal && (o.named = t);
|
|
1175
1175
|
}
|
|
1176
|
-
const l = (t) => !(!i && e.hasAttribute(t)) ||
|
|
1176
|
+
const l = (t) => !(!i && e.hasAttribute(t)) || p(e.getAttribute(t)), a = (t) => !i || e.hasAttribute(t) && p(e.getAttribute(t)), c = "0", u = i ? c : void 0;
|
|
1177
1177
|
if (l("applyFont")) {
|
|
1178
1178
|
const t = e.getAttribute("fontId") ?? u;
|
|
1179
1179
|
if (void 0 !== t && (t !== c || a("applyFont"))) {
|
|
@@ -1215,16 +1215,16 @@ var Lt = {
|
|
|
1215
1215
|
const s = t.evaluate("protection", e);
|
|
1216
1216
|
(s || a("applyProtection")) && this.processProtection(t, s, o);
|
|
1217
1217
|
}
|
|
1218
|
-
const d =
|
|
1218
|
+
const d = p(e.getAttribute("quotePrefix") ?? "");
|
|
1219
1219
|
d && (o.quotePrefix = d);
|
|
1220
1220
|
}
|
|
1221
1221
|
processAlignment(t, e, o) {
|
|
1222
1222
|
const s = {};
|
|
1223
|
-
if (e?.hasAttribute("horizontal") ? s.horizontal = e.getAttribute("horizontal") : s.horizontal = rt.HorizontalAlignment.General, e?.hasAttribute("vertical") ? s.vertical = e.getAttribute("vertical") : s.vertical = rt.VerticalAlignment.Bottom, e?.hasAttribute("indent") ? s.indent = parseInt(e.getAttribute("indent")) : s.indent = 0, e?.hasAttribute("relativeIndent") ? s.relativeIndent = parseInt(e.getAttribute("relativeIndent")) : s.relativeIndent = 0,
|
|
1223
|
+
if (e?.hasAttribute("horizontal") ? s.horizontal = e.getAttribute("horizontal") : s.horizontal = rt.HorizontalAlignment.General, e?.hasAttribute("vertical") ? s.vertical = e.getAttribute("vertical") : s.vertical = rt.VerticalAlignment.Bottom, e?.hasAttribute("indent") ? s.indent = parseInt(e.getAttribute("indent")) : s.indent = 0, e?.hasAttribute("relativeIndent") ? s.relativeIndent = parseInt(e.getAttribute("relativeIndent")) : s.relativeIndent = 0, p(e?.getAttribute("wrapText") ?? "") ? s.overflow = rt.Overflow.Wrap : s.overflow = rt.Overflow.Visible, p(e?.getAttribute("shrinkToFit") ?? "") && (s.overflow = rt.Overflow.Shrink), e?.hasAttribute("textRotation")) {
|
|
1224
1224
|
let t = parseFloat(e.getAttribute("textRotation"));
|
|
1225
1225
|
t > 0 && t <= 90 ? t = 360 - t : t > 90 && t <= 180 ? t -= 90 : 255 === t && (t = 0, s.stacked = !0), s.rotation = t;
|
|
1226
1226
|
} else s.rotation = 0;
|
|
1227
|
-
e?.hasAttribute("justifyLastLine") && (s.justifyLastLine =
|
|
1227
|
+
e?.hasAttribute("justifyLastLine") && (s.justifyLastLine = p(e.getAttribute("justifyLastLine")));
|
|
1228
1228
|
const r = e?.getAttribute("readingOrder");
|
|
1229
1229
|
return r && ("0" === r ? s.readingDirection = rt.ReadingDirection.Auto : "1" === r ? s.readingDirection = rt.ReadingDirection.LeftToRight : "2" === r ? s.readingDirection = rt.ReadingDirection.RightToLeft : t.warn(`Invalid readingOrder '${r}'; the direction was left automatic.`, { onceKey: "xlsx.style.readingOrder" })), Object.keys(s).length > 0 && (o.alignment = s), o;
|
|
1230
1230
|
}
|
|
@@ -1239,7 +1239,7 @@ var Lt = {
|
|
|
1239
1239
|
const i = r.childNodes;
|
|
1240
1240
|
for (let t = 0; t < i.length; t++) {
|
|
1241
1241
|
const o = i.item(t);
|
|
1242
|
-
1 === o.nodeType && "protection" === o.localName &&
|
|
1242
|
+
1 === o.nodeType && "protection" === o.localName && p(o.getAttribute("hidden") ?? "") && e.add(s);
|
|
1243
1243
|
}
|
|
1244
1244
|
s++;
|
|
1245
1245
|
}
|
|
@@ -1268,7 +1268,7 @@ var Lt = {
|
|
|
1268
1268
|
processProtection(t, e, o) {
|
|
1269
1269
|
if (!e) return;
|
|
1270
1270
|
const s = e.getAttribute("locked");
|
|
1271
|
-
return o.protection = { alwaysUnlocked: !!s && !
|
|
1271
|
+
return o.protection = { alwaysUnlocked: !!s && !p(s) }, o;
|
|
1272
1272
|
}
|
|
1273
1273
|
processDXF(t, e, o) {
|
|
1274
1274
|
if (!e) return;
|
|
@@ -1362,7 +1362,7 @@ var Lt = {
|
|
|
1362
1362
|
}
|
|
1363
1363
|
processTableStyle(t, e, o, s, r = !1) {
|
|
1364
1364
|
const i = e.getAttribute("name"), n = { name: i };
|
|
1365
|
-
e.hasAttribute("table") && (n.table =
|
|
1365
|
+
e.hasAttribute("table") && (n.table = p(e.getAttribute("table"))), e.hasAttribute("pivot") && (n.pivot = p(e.getAttribute("pivot"))), r && !n.pivot && s.unshift(null);
|
|
1366
1366
|
const l = e.childNodes, a = l.length;
|
|
1367
1367
|
for (let e = 0; e < a; e++) {
|
|
1368
1368
|
const o = l.item(e);
|
|
@@ -1406,7 +1406,7 @@ var Lt = {
|
|
|
1406
1406
|
name: l,
|
|
1407
1407
|
style: s[t]
|
|
1408
1408
|
};
|
|
1409
|
-
e.getAttribute("hidden") && (a.hidden =
|
|
1409
|
+
e.getAttribute("hidden") && (a.hidden = p(e.getAttribute("hidden"))), e.getAttribute("iLevel") && (a.iLevel = parseInt(e.getAttribute("iLevel"))), null !== n && p(e.getAttribute("customBuiltin") ?? "0") && (a.customized = !0), o.push(a);
|
|
1410
1410
|
}
|
|
1411
1411
|
}
|
|
1412
1412
|
}
|
|
@@ -1447,11 +1447,11 @@ var Lt = {
|
|
|
1447
1447
|
processSheetRef(t, e, o) {
|
|
1448
1448
|
const s = {};
|
|
1449
1449
|
t.copyFromAttribute(e, "name", s, "name"), t.copyFromAttribute(e, "state", s, "visibility"), t.copyFromAttribute(e, "sheetId", s, "sheetId", t.INT_COPY);
|
|
1450
|
-
const r = e.getAttribute("r:id"), i = r ?
|
|
1450
|
+
const r = e.getAttribute("r:id"), i = r ? h(t.getRelationships().get(r)?.type) : null;
|
|
1451
1451
|
if (i) {
|
|
1452
1452
|
const e = t.readEmbeddedPart(r);
|
|
1453
1453
|
if (e?.xml) {
|
|
1454
|
-
const t = { part: e }, r =
|
|
1454
|
+
const t = { part: e }, r = a(e.xml), n = r ? R((t) => r.get(t)) : void 0;
|
|
1455
1455
|
n && (t.tabColor = n), s.kind = i, s.sheet = t, o.push(s);
|
|
1456
1456
|
return;
|
|
1457
1457
|
}
|
|
@@ -1529,7 +1529,7 @@ var Lt = {
|
|
|
1529
1529
|
r.scope = s[o].name;
|
|
1530
1530
|
}
|
|
1531
1531
|
const n = {};
|
|
1532
|
-
for (const o of
|
|
1532
|
+
for (const o of $) t.copyFromAttribute(e, o, n);
|
|
1533
1533
|
for (const t of G) {
|
|
1534
1534
|
const o = e.getAttribute(t);
|
|
1535
1535
|
"1" !== o && "true" !== o || (n[t] = !0);
|
|
@@ -1773,7 +1773,7 @@ var Lt = {
|
|
|
1773
1773
|
}
|
|
1774
1774
|
} else "extLst" === o.localName && (n = t.serializeElement(o) ?? void 0);
|
|
1775
1775
|
}
|
|
1776
|
-
const a =
|
|
1776
|
+
const a = T(s, i, n);
|
|
1777
1777
|
return o.formControl = a, a;
|
|
1778
1778
|
}
|
|
1779
1779
|
},
|
|
@@ -1802,7 +1802,7 @@ var Lt = {
|
|
|
1802
1802
|
x: 0,
|
|
1803
1803
|
y: 0
|
|
1804
1804
|
};
|
|
1805
|
-
return n.x =
|
|
1805
|
+
return n.x = k(e.getAttribute(r)), n.y = k(e.getAttribute(i)), "from" === s ? o.tl = n : o.br = n, o;
|
|
1806
1806
|
}
|
|
1807
1807
|
processOffsetCoord(t, e, o, s) {
|
|
1808
1808
|
if (!e) return;
|
|
@@ -1812,7 +1812,7 @@ var Lt = {
|
|
|
1812
1812
|
x: 0,
|
|
1813
1813
|
y: 0
|
|
1814
1814
|
};
|
|
1815
|
-
return t.evaluate("col", e) && (r.c = parseInt(t.evaluate("col", e).textContent)), t.evaluate("row", e) && (r.r = parseInt(t.evaluate("row", e).textContent)), t.evaluate("colOff", e) && (r.x =
|
|
1815
|
+
return t.evaluate("col", e) && (r.c = parseInt(t.evaluate("col", e).textContent)), t.evaluate("row", e) && (r.r = parseInt(t.evaluate("row", e).textContent)), t.evaluate("colOff", e) && (r.x = k(t.evaluate("colOff", e).textContent)), t.evaluate("rowOff", e) && (r.y = k(t.evaluate("rowOff", e).textContent)), "from" === s ? o.tl = r : o.br = r, o;
|
|
1816
1816
|
}
|
|
1817
1817
|
},
|
|
1818
1818
|
DrawingGraphicFrameVisitor: class extends bt {
|
|
@@ -1822,16 +1822,16 @@ var Lt = {
|
|
|
1822
1822
|
if (t.getPath().includes("Fallback")) return {};
|
|
1823
1823
|
const { movable: s } = this.readMemberHeader(t, e, "graphicFrame"), r = t.evaluate("xfrm", e);
|
|
1824
1824
|
if (r) {
|
|
1825
|
-
|
|
1825
|
+
v(r, s);
|
|
1826
1826
|
const e = t.evaluate("off", r), o = t.evaluate("ext", r);
|
|
1827
1827
|
s.anchor = {
|
|
1828
1828
|
tl: {
|
|
1829
|
-
x:
|
|
1830
|
-
y:
|
|
1829
|
+
x: k(e?.getAttribute("x") ?? null) ?? 0,
|
|
1830
|
+
y: k(e?.getAttribute("y") ?? null) ?? 0
|
|
1831
1831
|
},
|
|
1832
1832
|
br: {
|
|
1833
|
-
x:
|
|
1834
|
-
y:
|
|
1833
|
+
x: k(o?.getAttribute("cx") ?? null) ?? 0,
|
|
1834
|
+
y: k(o?.getAttribute("cy") ?? null) ?? 0
|
|
1835
1835
|
}
|
|
1836
1836
|
};
|
|
1837
1837
|
}
|
|
@@ -1871,7 +1871,7 @@ var Lt = {
|
|
|
1871
1871
|
const o = this.readSourceId(t, e), i = t.readEmbeddedPart(r) ?? void 0;
|
|
1872
1872
|
let n;
|
|
1873
1873
|
try {
|
|
1874
|
-
const e = i?.xml ?
|
|
1874
|
+
const e = i?.xml ? W(i.xml) : null;
|
|
1875
1875
|
n = e?.model, e?.lossy && t.warn("A chart states something its model does not; it is saved as it was until it is changed.", { onceKey: "xlsx.chart.lossy" });
|
|
1876
1876
|
} catch (e) {
|
|
1877
1877
|
t.warn(`A chart could not be read into the chart model; it is kept as its markup: ${e?.message ?? e}`, { onceKey: "xlsx.chart.model" });
|
|
@@ -1912,7 +1912,7 @@ var Lt = {
|
|
|
1912
1912
|
readPictureDetails(t, e, o, s, r) {
|
|
1913
1913
|
void 0 !== o?.resId && (r.resId = o.resId), o?.image && (r.image = o.image);
|
|
1914
1914
|
const i = e.getAttribute("macro");
|
|
1915
|
-
i && (r.macro = i), e.hasAttribute("fPublished") && (r.published =
|
|
1915
|
+
i && (r.macro = i), e.hasAttribute("fPublished") && (r.published = p(e.getAttribute("fPublished")));
|
|
1916
1916
|
const n = t.evaluate("nvPicPr/cNvPicPr", e);
|
|
1917
1917
|
if (n?.getAttribute) {
|
|
1918
1918
|
"0" === n.getAttribute("preferRelativeResize") && (r.noRelativeResize = !0);
|
|
@@ -1924,7 +1924,7 @@ var Lt = {
|
|
|
1924
1924
|
const o = t.evaluate("blipFill", e), s = o ? t.evaluate("blip", o) : null;
|
|
1925
1925
|
if (!s) return;
|
|
1926
1926
|
if (!(s.getAttribute("r:embed") ?? s.getAttribute("embed") ?? s.getAttribute("r:link") ?? s.getAttribute("link"))) return t.warn("A picture names no image; it was not imported.", { onceKey: "xlsx.drawing.picture.noRel" }), null;
|
|
1927
|
-
const { type: r, resId: i, ...n } = new
|
|
1927
|
+
const { type: r, resId: i, ...n } = new g().processImageFill(t, o);
|
|
1928
1928
|
return !n.tile && n.stretch && 0 === Object.keys(n.stretch).length && delete n.stretch, n.extLst && It.test(n.extLst) && delete n.extLst, {
|
|
1929
1929
|
resId: i,
|
|
1930
1930
|
image: Object.keys(n).length > 0 ? n : void 0
|
|
@@ -1933,7 +1933,7 @@ var Lt = {
|
|
|
1933
1933
|
},
|
|
1934
1934
|
DrawingGrpSpVisitor: class extends bt {
|
|
1935
1935
|
constructor(...t) {
|
|
1936
|
-
super(...t), this._fills = new
|
|
1936
|
+
super(...t), this._fills = new g();
|
|
1937
1937
|
}
|
|
1938
1938
|
visit(t, e, o) {
|
|
1939
1939
|
if (!e) return;
|
|
@@ -1961,7 +1961,7 @@ var Lt = {
|
|
|
1961
1961
|
if (a) {
|
|
1962
1962
|
const e = t.evaluate("xfrm", a);
|
|
1963
1963
|
if (e) {
|
|
1964
|
-
|
|
1964
|
+
v(e, r), "1" === e.getAttribute("flipH") && (r.flipH = !0), "1" === e.getAttribute("flipV") && (r.flipV = !0);
|
|
1965
1965
|
const o = kt(t, e, "off", "ext"), n = kt(t, e, "chOff", "chExt") ?? o;
|
|
1966
1966
|
n && (i.childBounds = n), s && o && (r.anchor = {
|
|
1967
1967
|
tl: {
|
|
@@ -2190,7 +2190,7 @@ var Lt = {
|
|
|
2190
2190
|
if (1 === o.nodeType) {
|
|
2191
2191
|
if ("t" === o.localName) t.text += o.textContent ?? "";
|
|
2192
2192
|
else if ("rPr" === o.localName) {
|
|
2193
|
-
const e =
|
|
2193
|
+
const e = Lt(o);
|
|
2194
2194
|
e && (t.font = e);
|
|
2195
2195
|
}
|
|
2196
2196
|
}
|
|
@@ -2217,16 +2217,16 @@ var Lt = {
|
|
|
2217
2217
|
visit(t, e, o) {
|
|
2218
2218
|
if (!e) return;
|
|
2219
2219
|
const s = {};
|
|
2220
|
-
t.copyFromAttribute(e, "id", s, "id",
|
|
2220
|
+
t.copyFromAttribute(e, "id", s, "id", x);
|
|
2221
2221
|
const r = e.getAttribute("ref");
|
|
2222
|
-
t.copyFromAttribute(e, "personId", s, "personId",
|
|
2222
|
+
t.copyFromAttribute(e, "personId", s, "personId", x), t.copyFromAttribute(e, "parentId", s, "parentId", x);
|
|
2223
2223
|
const i = e.getAttribute("dT");
|
|
2224
2224
|
i && (s.dt = function(t) {
|
|
2225
2225
|
const e = /^(.*T\d{2}:\d{2}:\d{2})(?:\.(\d+))?(Z|[+-]\d{2}:?\d{2})?$/i.exec(t.trim());
|
|
2226
2226
|
if (!e) return t;
|
|
2227
2227
|
const [, o, s, r] = e;
|
|
2228
2228
|
return `${o}${s ? `.${(s + "00").substring(0, 3)}` : ""}${r ?? "Z"}`;
|
|
2229
|
-
}(i)), e.hasAttribute("done") && (s.done =
|
|
2229
|
+
}(i)), e.hasAttribute("done") && (s.done = p(e.getAttribute("done")));
|
|
2230
2230
|
const n = function(t) {
|
|
2231
2231
|
let e;
|
|
2232
2232
|
const o = t.childNodes;
|
|
@@ -2240,8 +2240,8 @@ var Lt = {
|
|
|
2240
2240
|
const s = o.getAttribute("mentionId"), i = o.getAttribute("mentionpersonId");
|
|
2241
2241
|
if (!s || !i) continue;
|
|
2242
2242
|
const n = {
|
|
2243
|
-
id:
|
|
2244
|
-
personId:
|
|
2243
|
+
id: x(s),
|
|
2244
|
+
personId: x(i)
|
|
2245
2245
|
}, l = parseInt(o.getAttribute("startIndex") ?? "", 10);
|
|
2246
2246
|
isNaN(l) || (n.startIndex = l);
|
|
2247
2247
|
const a = parseInt(o.getAttribute("length") ?? "", 10);
|
|
@@ -2263,7 +2263,7 @@ var Lt = {
|
|
|
2263
2263
|
const o = r.item(e);
|
|
2264
2264
|
if (1 === o.nodeType && "person" === o.localName) {
|
|
2265
2265
|
const e = {};
|
|
2266
|
-
t.copyFromAttribute(o, "id", e, "id",
|
|
2266
|
+
t.copyFromAttribute(o, "id", e, "id", x), t.copyFromAttribute(o, "displayName", e), t.copyFromAttribute(o, "userId", e, "userId", x), t.copyFromAttribute(o, "providerId", e), s.push(e);
|
|
2267
2267
|
}
|
|
2268
2268
|
}
|
|
2269
2269
|
return s.length > 0 && (o.persons = s), s;
|
|
@@ -2275,7 +2275,7 @@ var Lt = {
|
|
|
2275
2275
|
}
|
|
2276
2276
|
}, Et = class {
|
|
2277
2277
|
constructor() {
|
|
2278
|
-
this.visitorsByXmlTagName = /* @__PURE__ */ new Map(), this.scopedVisitorsByXmlTagName = /* @__PURE__ */ new Map(), this.visitorParamsState = null, this.registerVisitor("Relationships", new
|
|
2278
|
+
this.visitorsByXmlTagName = /* @__PURE__ */ new Map(), this.scopedVisitorsByXmlTagName = /* @__PURE__ */ new Map(), this.visitorParamsState = null, this.registerVisitor("Relationships", new Bt.RelsVisitor()), this.registerVisitor("cp:coreProperties", new Bt.CorePropertiesVisitor()), this.registerVisitor("Properties", new Bt.AppPropertiesVisitor()), this.registerVisitor("spPr", new Bt.ShapePropertiesVisitor()), this.registerVisitor("txBody", new Bt.ShapeTextVisitor()), this.registerVisitor("txPr", new Bt.TextPropertiesVisitor()), this.registerVisitor("a:theme", new Bt.ThemeVisitor()), this.registerVisitor("a:theme", new Bt.ClrSchemeVisitor(), "themeElements/clrScheme"), this.registerVisitor("a:theme", new Bt.FontSchemeVisitor(), "themeElements/fontScheme"), this.registerVisitor("a:theme", new Bt.FmtSchemeVisitor(), "themeElements/fmtScheme"), this.registerVisitor("a:theme", new Bt.ObjectDefaultsVisitor(), "objectDefaults"), this.registerVisitor("autoFilter", new Bt.AutoFilterVisitor()), this.registerVisitor("sortState", new Bt.SortStateVisitor()), this.registerVisitor("s:workbook", new Bt.WorkbookVisitor()), this.registerVisitor("styleSheet", new Bt.SheetStyleVisitor()), this.registerVisitor("x14:table", new Bt.TableX14Visitor()), this.registerVisitor("table", new Bt.TableVisitor()), this.registerVisitor("externalLink", new Bt.ExternalLinkVisitor()), this.registerVisitor("wsDr", new Bt.DrawingVisitor()), this.registerVisitor("twoCellAnchor", new Bt.DrawingAnchorVisitor()), this.registerVisitor("oneCellAnchor", new Bt.DrawingAnchorVisitor()), this.registerVisitor("absoluteAnchor", new Bt.DrawingAnchorVisitor()), this.registerVisitor("graphicFrame", new Bt.DrawingGraphicFrameVisitor()), this.registerVisitor("sp", new Bt.DrawingSpVisitor()), this.registerVisitor("grpSp", new Bt.DrawingGrpSpVisitor()), this.registerVisitor("cxnSp", new Bt.DrawingCxnSpVisitor()), this.registerVisitor("pic", new Bt.DrawingPicVisitor()), this.registerVisitor("metadata", new Bt.MetadataVisitor()), this.registerVisitor("FeaturePropertyBags", new Bt.FeaturePropertyBagVisitor()), this.registerVisitor("comments", new Bt.CommentsVisitor()), this.registerVisitor("comment", new Bt.CommentVisitor()), this.registerVisitor("ThreadedComments", new Bt.ThreadedCommentsVisitor()), this.registerVisitor("threadedComment", new Bt.ThreadedCommentVisitor()), this.registerVisitor("threadedComment", new Bt.TextPropertiesVisitor("content"), "text"), this.registerVisitor("personList", new Bt.PersonListVisitor()), this.registerVisitor("slicerCacheDefinition", new Bt.SlicerCacheDefinitionVisitor()), this.registerVisitor("slicers", new Bt.SlicersVisitor()), this.registerVisitor("formControlPr", new Bt.FormControlPrVisitor());
|
|
2279
2279
|
}
|
|
2280
2280
|
registerVisitor(t, e, o = null) {
|
|
2281
2281
|
-1 === t.indexOf(":") && (t = "*:" + t);
|
|
@@ -2290,7 +2290,7 @@ var Lt = {
|
|
|
2290
2290
|
s.set("processingDXFs", !0);
|
|
2291
2291
|
try {
|
|
2292
2292
|
const s = new pt(null, this, "/dxf", t, {}, e, o), r = {};
|
|
2293
|
-
return new
|
|
2293
|
+
return new Bt.SheetStyleVisitor().processDXF(s, t, r), r;
|
|
2294
2294
|
} finally {
|
|
2295
2295
|
void 0 === r ? s.delete("processingDXFs") : s.set("processingDXFs", r);
|
|
2296
2296
|
}
|
|
@@ -2366,4 +2366,4 @@ var Lt = {
|
|
|
2366
2366
|
return l;
|
|
2367
2367
|
}
|
|
2368
2368
|
};
|
|
2369
|
-
export { Et as DOMTransformer, pt as ExecutionContext,
|
|
2369
|
+
export { Et as DOMTransformer, pt as ExecutionContext, c as NumberUtils, b as VisitorUtils };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/io-xlsx - SheetXL - Import/Export from/to Excel - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/io-xlsx - SheetXL - Import/Export from/to Excel - v0.8.0-beta.14
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/io-xlsx - SheetXL - Import/Export from/to Excel - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/io-xlsx - SheetXL - Import/Export from/to Excel - v0.8.0-beta.14
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
6
|
*/
|
|
7
|
-
import { t } from "./
|
|
7
|
+
import { t } from "./H9egT6kWCw8RAf76.mjs";
|
|
8
8
|
var e, r;
|
|
9
9
|
function n(t, e) {
|
|
10
10
|
if (e < 0 || e + 1 >= t.length) throw new RangeError(`toUInt16LE: Offset ${e} is out of bounds for buffer length ${t.length}. Needed 2 bytes.`);
|
package/node/esm/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/io-xlsx - SheetXL - Import/Export from/to Excel - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/io-xlsx - SheetXL - Import/Export from/to Excel - v0.8.0-beta.14
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -14,7 +14,7 @@ var a = [
|
|
|
14
14
|
177,
|
|
15
15
|
26,
|
|
16
16
|
225
|
|
17
|
-
], t = async () => (await import("./
|
|
17
|
+
], t = async () => (await import("./CkenuXqno-ffP331.mjs")).OffCryptoEncryption, r = {
|
|
18
18
|
key: "offcrypto",
|
|
19
19
|
description: "Office Document Encryption",
|
|
20
20
|
detect: async (e) => !!((e) => {
|
|
@@ -25,7 +25,7 @@ var a = [
|
|
|
25
25
|
})(e) && (await t()).detect(e),
|
|
26
26
|
decode: async (e, a) => (await t()).decode(e, a),
|
|
27
27
|
encode: async (e, a) => (await t()).encode(e, a)
|
|
28
|
-
}, i = e("io-xlsx:reader", () => import("./
|
|
28
|
+
}, i = e("io-xlsx:reader", () => import("./CTdvEKRTM-W1L1KU.mjs").then((e) => e.t)), o = e("io-xlsx:writer", () => import("./BCXSNXHvNQ9JQMLE.mjs")), l = "Excel", n = "ExcelMacro", c = "ExcelTemplate", m = "ExcelMacroTemplate", s = [
|
|
29
29
|
l,
|
|
30
30
|
n,
|
|
31
31
|
c,
|
|
@@ -94,7 +94,7 @@ var a = [
|
|
|
94
94
|
})
|
|
95
95
|
}, X = {
|
|
96
96
|
name: "@sheetxl/io-xlsx",
|
|
97
|
-
version: "0.8.0-beta.
|
|
97
|
+
version: "0.8.0-beta.14",
|
|
98
98
|
description: "XLSX I/O formats for SheetXL",
|
|
99
99
|
author: "SheetXL",
|
|
100
100
|
async register(e) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sheetxl/io-xlsx",
|
|
3
3
|
"description": "SheetXL - Import/Export from/to Excel",
|
|
4
|
-
"version": "0.8.0-beta.
|
|
4
|
+
"version": "0.8.0-beta.14",
|
|
5
5
|
"license": "SEE LICENSE IN <LICENSE>",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"exports": {
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
"utilities"
|
|
45
45
|
],
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@sheetxl/sdk": "^0.8.0-beta.
|
|
48
|
-
"@sheetxl/utils": "^0.8.0-beta.
|
|
47
|
+
"@sheetxl/sdk": "^0.8.0-beta.14",
|
|
48
|
+
"@sheetxl/utils": "^0.8.0-beta.14",
|
|
49
49
|
"@xmldom/xmldom": "^0.9.12",
|
|
50
50
|
"@zip.js/zip.js": "^2.23.0",
|
|
51
51
|
"web-streams-polyfill": "^4.3.0",
|