@sheetxl/io-xlsx 1.0.4 → 1.0.6

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.
Files changed (24) hide show
  1. package/browser/esm/{Ck5-R8xrLh89G56Q.mjs → 8twPAx0iXVOHQF7M.mjs} +2 -2
  2. package/browser/esm/{BQw8xcZ6k06Tq6lY.mjs → AUzndO_dXq2uXAQy.mjs} +804 -788
  3. package/browser/esm/{lqWdqDnIKZxyet1d.mjs → AcInC71T9-1ULEU5.mjs} +2 -2
  4. package/browser/esm/{CzWmtWMV9HfkBne5.mjs → Bo6e8oAgFD2iY-YI.mjs} +4 -4
  5. package/browser/esm/{BDkqo2SKzINJJB0-.mjs → C-J26ZzIvck2JVIY.mjs} +8 -8
  6. package/browser/esm/{vlyPCdsYGtutUTnn.mjs → C3HFqaXGZmnvvgXu.mjs} +2 -2
  7. package/browser/esm/{CvaZql_oqszNei5v.mjs → CEaaCkM0LqK8VtxS.mjs} +1 -1
  8. package/browser/esm/{BP2eZDr6dZ7gP02Z.mjs → CRHs2mV0YZpM01kC.mjs} +4 -4
  9. package/browser/esm/{Di9ttuWnx0eCbSUA.mjs → CT6OmL58l1HESEBl.mjs} +2 -2
  10. package/browser/esm/{BUaKY12tmPZDwfZx.mjs → CeKec9Li8QnIzTOK.mjs} +1 -1
  11. package/browser/esm/{B7FIgKFyHincEoTQ.mjs → Dxmf_-Qe4ZEgmdJo.mjs} +7 -7
  12. package/browser/esm/index.mjs +2 -2
  13. package/node/esm/{CtKLRPHWl5-_lwfr.mjs → 2311buWetucn9hiZ.mjs} +1 -1
  14. package/node/esm/{BO3IZgkfKGIGMKYd.mjs → Bk9BEJSwXlHj8fbL.mjs} +6 -6
  15. package/node/esm/{CLdbYG5SCBndfk-q.mjs → BlRZtxAC9VsylR-4.mjs} +928 -912
  16. package/node/esm/{D4thYKlDAXXgB-tC.mjs → BnBif62UoI48SS79.mjs} +2 -2
  17. package/node/esm/{CzEwnjXK_YIWXQQh.mjs → DNhkyiLSEHh9Bgu_.mjs} +2 -2
  18. package/node/esm/{bUN-BbKU7oHGJmVh.mjs → DTEwOiyesylYXv6G.mjs} +1 -1
  19. package/node/esm/{B2uSae_kN-7PrVjI.mjs → DuA_b1khVjfcKaUx.mjs} +6 -6
  20. package/node/esm/index.mjs +4 -4
  21. package/node/esm/{DmYe7T4XtIyt-qdA.mjs → ybG-XNic24pCv4CN.mjs} +4 -4
  22. package/package.json +3 -3
  23. package/types/src/chart/_codec.d.ts +1 -1
  24. package/types/src/chart/_xml.d.ts +4 -2
@@ -1,10 +1,10 @@
1
1
  /**
2
- * @license @sheetxl/io-xlsx - SheetXL - Import/Export from/to Excel - v1.0.4
2
+ * @license @sheetxl/io-xlsx - SheetXL - Import/Export from/to Excel - v1.0.6
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
6
6
  */
7
- import { t as e } from "./bUN-BbKU7oHGJmVh.mjs";
7
+ import { t as e } from "./DTEwOiyesylYXv6G.mjs";
8
8
  import { InvalidPasswordError as t } from "@sheetxl/utils";
9
9
  var r, n, a = class e {
10
10
  static {
@@ -1,10 +1,10 @@
1
1
  /**
2
- * @license @sheetxl/io-xlsx - SheetXL - Import/Export from/to Excel - v1.0.4
2
+ * @license @sheetxl/io-xlsx - SheetXL - Import/Export from/to Excel - v1.0.6
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
6
6
  */
7
- import { t } from "./bUN-BbKU7oHGJmVh.mjs";
7
+ import { t } from "./DTEwOiyesylYXv6G.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.`);
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/io-xlsx - SheetXL - Import/Export from/to Excel - v1.0.4
2
+ * @license @sheetxl/io-xlsx - SheetXL - Import/Export from/to Excel - v1.0.6
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
@@ -1,10 +1,10 @@
1
1
  /**
2
- * @license @sheetxl/io-xlsx - SheetXL - Import/Export from/to Excel - v1.0.4
2
+ * @license @sheetxl/io-xlsx - SheetXL - Import/Export from/to Excel - v1.0.6
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
6
6
  */
7
- import { $ as t, $n as e, An as o, C as r, Ct as n, Dr as i, E as a, Gt as l, In as c, It as u, Jn as h, Kn as d, Ln as p, Lr as f, Lt as g, Nn as m, Nt as b, Pn as x, Pr as y, Qn as v, Rn as w, Rt as T, Sr as S, St as C, T as k, Tt as A, Ut as E, Vn as I, Wt as P, Xn as O, Yn as D, Z as N, Zn as _, _ as $, _r as R, _t as M, br as V, cr as L, ct as j, dn as B, er as F, f as H, fn as W, fr as z, ft as X, ht as q, in as U, ir as G, it as K, jn as J, jt as Z, kr as Q, lr as Y, lt as tt, mn as et, mr as ot, mt as st, n as rt, nn as nt, nt as it, o as at, or as lt, ot as ct, p as ut, pr as ht, pt as dt, rn as pt, sr as ft, t as gt, tn as mt, tr as bt, ut as xt, vr as yt, vt, wr as wt, wt as Tt, xr as St, xt as Ct, yn as kt, zr as At } from "./CtKLRPHWl5-_lwfr.mjs";
7
+ import { $ as t, $n as e, An as o, C as r, Ct as n, Dr as i, E as a, Gt as l, In as c, It as u, Jn as h, Kn as d, Ln as p, Lr as f, Lt as g, Nn as m, Nt as b, Pn as x, Pr as y, Qn as v, Rn as w, Rt as T, Sr as S, St as C, T as k, Tt as A, Ut as E, Vn as I, Wt as P, Xn as O, Yn as D, Z as N, Zn as _, _ as $, _r as R, _t as M, br as V, cr as L, ct as j, dn as B, er as F, f as H, fn as W, fr as z, ft as X, ht as q, in as U, ir as G, it as K, jn as J, jt as Z, kr as Q, lr as Y, lt as tt, mn as et, mr as ot, mt as st, n as rt, nn as nt, nt as it, o as at, or as lt, ot as ct, p as ut, pr as ht, pt as dt, rn as pt, sr as ft, t as gt, tn as mt, tr as bt, ut as xt, vr as yt, vt, wr as wt, wt as Tt, xr as St, xt as Ct, yn as kt, zr as At } from "./2311buWetucn9hiZ.mjs";
8
8
  import { BufferUtils as Et, CommonUtils as It, ExpectedError as Pt, OverlappingRange as Ot, RangeAxis as Dt } from "@sheetxl/utils";
9
9
  import { AddressUtils as Nt, BufferUtils as _t, CommonUtils as $t, CoordUtils as Rt, FormulaError as Mt, FormulaText as Vt, FunctionDeclarations as Lt, ICellStyle as jt, ICondition as Bt, IConditionalFormat as Ft, ICustomProperty as Ht, IFont as Wt, IRange as zt, ITextFrame as Xt, NumberFormat as qt, OutOfBoundsError as Ut, PersonCollection as Gt, ResourceCollection as Kt, RichDataRegistry as Jt, Scalar as Zt, Sort as Qt, Theme as Yt, Tuple as te, Workbook as ee, pivotCellFormatsOf as oe } from "@sheetxl/sdk";
10
10
  import { BlobReader as se, Uint8ArrayReader as re, Uint8ArrayWriter as ne, ZipReader as ie } from "@zip.js/zip.js";
@@ -2077,8 +2077,8 @@ var is = (t) => {
2077
2077
  };
2078
2078
  t.copyToObject(s, "colIndex", No, "xSplit"), t.copyToObject(s, "rowIndex", No, "ySplit");
2079
2079
  const r = {
2080
- colIndex: o.colIndex + s.colIndex,
2081
- rowIndex: o.rowIndex + s.rowIndex
2080
+ colIndex: s.colIndex > 0 ? o.colIndex + s.colIndex : 0,
2081
+ rowIndex: s.rowIndex > 0 ? o.rowIndex + s.rowIndex : 0
2082
2082
  };
2083
2083
  e.coords = Nt.cellToString(r);
2084
2084
  }
@@ -3910,7 +3910,7 @@ var ks = {
3910
3910
  R += t;
3911
3911
  const e = Math.min(N, Math.round(R / $ * N));
3912
3912
  P(e, N);
3913
- } : void 0, L = import("./DmYe7T4XtIyt-qdA.mjs");
3913
+ } : void 0, L = import("./ybG-XNic24pCv4CN.mjs");
3914
3914
  let j = null;
3915
3915
  try {
3916
3916
  j = new DOMParser();
@@ -4656,7 +4656,7 @@ var ks = {
4656
4656
  ue && ue.length > 0 && (ie.people = ue);
4657
4657
  const he = K.getEntry("xl/vbaProject.bin");
4658
4658
  if (he) try {
4659
- const { VBAProject: t } = await import("./CzEwnjXK_YIWXQQh.mjs"), e = t.extract(he);
4659
+ const { VBAProject: t } = await import("./DNhkyiLSEHh9Bgu_.mjs"), e = t.extract(he);
4660
4660
  if (e) {
4661
4661
  const o = /* @__PURE__ */ new Map();
4662
4662
  for (const t of ie.sheets ?? []) {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/io-xlsx - SheetXL - Import/Export from/to Excel - v1.0.4
2
+ * @license @sheetxl/io-xlsx - SheetXL - Import/Export from/to Excel - v1.0.6
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
@@ -14,7 +14,7 @@ var a = [
14
14
  177,
15
15
  26,
16
16
  225
17
- ], t = async () => (await import("./D4thYKlDAXXgB-tC.mjs")).OffCryptoEncryption, r = {
17
+ ], t = async () => (await import("./BnBif62UoI48SS79.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("./B2uSae_kN-7PrVjI.mjs").then((e) => e.t)), o = e("io-xlsx:writer", () => import("./BO3IZgkfKGIGMKYd.mjs")), l = "Excel", n = "ExcelMacro", c = "ExcelTemplate", m = "ExcelMacroTemplate", s = [
28
+ }, i = e("io-xlsx:reader", () => import("./DuA_b1khVjfcKaUx.mjs").then((e) => e.t)), o = e("io-xlsx:writer", () => import("./Bk9BEJSwXlHj8fbL.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: "1.0.4",
97
+ version: "1.0.6",
98
98
  description: "XLSX I/O formats for SheetXL",
99
99
  author: "SheetXL",
100
100
  async register(e) {
@@ -1,12 +1,12 @@
1
1
  /**
2
- * @license @sheetxl/io-xlsx - SheetXL - Import/Export from/to Excel - v1.0.4
2
+ * @license @sheetxl/io-xlsx - SheetXL - Import/Export from/to Excel - v1.0.6
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
6
6
  */
7
- import { $n as t, A as e, B as o, Ct as s, Dt as r, F as i, Ht as n, I as l, L as c, M as u, Mr as d, N as h, Nr as p, Nt as m, P as f, R as g, St as b, Tt as y, Ut as A, V as v, Wt as N, ar as F, bt as C, dn as S, er as x, fn as T, gt as w, in as P, j as I, jt as k, k as O, mn as _, r as B, rn as L, t as D, v as E, vt as R, wr as j, wt as Y, xt as M, yn as X, z } from "./CtKLRPHWl5-_lwfr.mjs";
8
- import { a as G, i as W, n as $, r as H } from "./B2uSae_kN-7PrVjI.mjs";
9
- import { c as U, l as K, o as q, r as J, s as Z } from "./CLdbYG5SCBndfk-q.mjs";
7
+ import { $n as t, A as e, B as o, Ct as s, Dt as r, F as i, Ht as n, I as l, L as c, M as u, Mr as d, N as h, Nr as p, Nt as m, P as f, R as g, St as b, Tt as y, Ut as A, V as v, Wt as N, ar as F, bt as C, dn as S, er as x, fn as T, gt as w, in as P, j as I, jt as k, k as O, mn as _, r as B, rn as L, t as D, v as E, vt as R, wr as j, wt as Y, xt as M, yn as X, z } from "./2311buWetucn9hiZ.mjs";
8
+ import { a as G, i as W, n as $, r as H } from "./DuA_b1khVjfcKaUx.mjs";
9
+ import { c as U, l as K, o as q, r as J, s as Z } from "./BlRZtxAC9VsylR-4.mjs";
10
10
  import { CommonUtils as Q } from "@sheetxl/utils";
11
11
  import { AddressUtils as tt, FormulaError as et, IBorders as ot, ICellStyle as st, ICondition as rt, IFill as it, IFont as nt, IRange as lt, IShape as at, ISlicerStyle as ct, ITextFrame as ut, ShapeStyleUtils as dt, Sort as ht, Tuple as pt } from "@sheetxl/sdk";
12
12
  var mt = class {
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": "1.0.4",
4
+ "version": "1.0.6",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "type": "module",
7
7
  "exports": {
@@ -44,8 +44,8 @@
44
44
  "utilities"
45
45
  ],
46
46
  "dependencies": {
47
- "@sheetxl/sdk": "^1.0.4",
48
- "@sheetxl/utils": "^1.0.4",
47
+ "@sheetxl/sdk": "^1.0.6",
48
+ "@sheetxl/utils": "^1.0.6",
49
49
  "@xmldom/xmldom": "^0.9.12",
50
50
  "@zip.js/zip.js": "^2.24.0",
51
51
  "web-streams-polyfill": "^4.5.1",
@@ -17,7 +17,7 @@ export declare class ReadContext {
17
17
  */
18
18
  markupOf(element: XmlElement, scope: Scope): string;
19
19
  }
20
- export type Vocabulary = 'c' | 'a' | 'c15' | 'cx';
20
+ export type Vocabulary = 'c' | 'a' | 'c15' | 'c16r3' | 'cx';
21
21
  export interface AttributeSpec {
22
22
  name: string;
23
23
  key: string;
@@ -7,18 +7,20 @@ export declare const NS: {
7
7
  readonly r: "http://schemas.openxmlformats.org/officeDocument/2006/relationships";
8
8
  readonly rStrict: "http://purl.oclc.org/ooxml/officeDocument/relationships";
9
9
  readonly c15: "http://schemas.microsoft.com/office/drawing/2012/chart";
10
+ readonly c16r3: "http://schemas.microsoft.com/office/drawing/2017/03/chart";
10
11
  readonly cx: "http://schemas.microsoft.com/office/drawing/2014/chartex";
11
12
  readonly xml: "http://www.w3.org/XML/1998/namespace";
12
13
  };
13
14
  /**
14
- * The prefixes the writer spells the vocabularies with. `c15` is written only inside markup that
15
- * declares it so: an extension states its own namespace.
15
+ * The prefixes the writer spells the vocabularies with. `c15` and `c16r3` are written only inside
16
+ * markup that declares them so: an extension states its own namespace.
16
17
  */
17
18
  export declare const WRITE_PREFIX: {
18
19
  readonly c: "c";
19
20
  readonly a: "a";
20
21
  readonly r: "r";
21
22
  readonly c15: "c15";
23
+ readonly c16r3: "c16r3";
22
24
  readonly cx: "cx";
23
25
  };
24
26
  export declare const isChartNs: (uri: string | undefined) => boolean;