@sheetxl/io-xlsx 0.8.0-beta.22 → 0.8.0-beta.24

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/{DKFJjTTJkuTmxyrC.mjs → 5xtRpvSPfEohE5po.mjs} +2 -2
  2. package/browser/esm/{DEQzaCJ7RX2QoCut.mjs → 69bvAGAGJujH4S15.mjs} +1 -1
  3. package/browser/esm/{Cx9ap9QP6pCr4onD.mjs → B2Yos27tHqE7R09x.mjs} +1426 -1415
  4. package/browser/esm/{hYm31nxQHahoYW47.mjs → BH0T0mPheF090JM7.mjs} +52 -48
  5. package/browser/esm/{Dm3PlbhnXRlbfwcc.mjs → BOloKi_tL_nlBWK-.mjs} +2 -2
  6. package/browser/esm/{TlUpdMxCXP6T7d5o.mjs → Bi-2voVHGmybIUfY.mjs} +1 -1
  7. package/browser/esm/{B-gFy6wqDX1nS1H6.mjs → C44L0QMRNWi5qnS2.mjs} +6 -6
  8. package/browser/esm/{CSeKlqJLKPdaHQnM.mjs → DkaxYJJnBeqsuYB9.mjs} +2 -2
  9. package/browser/esm/{2Tu0hkxKQVlv9Cra.mjs → fmETPhfxVTNBek2p.mjs} +4 -4
  10. package/browser/esm/{BksP77A3tWZz2uFZ.mjs → g75CmSnWbLGgaUpc.mjs} +4 -4
  11. package/browser/esm/index.mjs +2 -2
  12. package/browser/esm/{fw-xerhhOIbrtjj8.mjs → qicX5Tee3NTO5J-D.mjs} +2 -2
  13. package/licenses/dependencies.txt +1 -1
  14. package/node/esm/{C1VsUbGfwY9-dlaU.mjs → BBR6pSV9Q9otQTAf.mjs} +1 -1
  15. package/node/esm/{B1_JjHLkB9GQt41F.mjs → BUeSXu2BeJDu5cxB.mjs} +1 -1
  16. package/node/esm/{yNj0KH21rJk2rfm7.mjs → BcVUIxYg_B5u-fXY.mjs} +2 -2
  17. package/node/esm/{CeRdSa9ObgI_mmCT.mjs → BkgF01W68W7CSUb5.mjs} +299 -294
  18. package/node/esm/{BaRyFsg1YMFUyXd4.mjs → Bmyv0kMApwGNItqE.mjs} +4 -4
  19. package/node/esm/{Dd0rxpiUIxg4BeeC.mjs → CgGD8fDyVsp4oPHq.mjs} +2 -2
  20. package/node/esm/{C6HiyeKhrpNGFeb3.mjs → DEYDK-lJUQQprdUD.mjs} +2 -2
  21. package/node/esm/{-4emwUa_cqmg0qom.mjs → gZUS8aGtTDW3LC8v.mjs} +4 -4
  22. package/node/esm/index.mjs +4 -4
  23. package/package.json +5 -5
  24. package/types/src/writer/utils/PrstGeomUtils.d.ts +11 -3
@@ -1,12 +1,12 @@
1
1
  /**
2
- * @license @sheetxl/io-xlsx - SheetXL - Import/Export from/to Excel - v0.8.0-beta.22
2
+ * @license @sheetxl/io-xlsx - SheetXL - Import/Export from/to Excel - v0.8.0-beta.24
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, Ar as o, B as s, Ct as r, Dt as i, F as n, Ht as l, I as a, L as u, M as d, N as h, Nt as p, P as m, R as f, Sr as g, St as b, Tt as y, Ut as A, V as v, Wt as N, bt as F, dn as C, er as S, fn as x, gt as T, in as w, j as P, jr as I, jt as k, k as O, mn as V, r as _, rn as B, t as D, v as E, vt as R, wt as j, xt as Y, yn as X, z as M } from "./C1VsUbGfwY9-dlaU.mjs";
8
- import { a as z, i as G, n as W, r as $ } from "./-4emwUa_cqmg0qom.mjs";
9
- import { c as H, l as U, o as K, r as q, s as J } from "./C6HiyeKhrpNGFeb3.mjs";
7
+ import { $n as t, A as e, Ar as o, B as s, Ct as r, Dt as i, F as n, Ht as l, I as a, L as u, M as d, N as h, Nt as p, P as m, R as f, Sr as g, St as b, Tt as y, Ut as A, V as v, Wt as N, bt as F, dn as C, er as S, fn as x, gt as T, in as w, j as P, jr as I, jt as k, k as O, mn as V, r as _, rn as B, t as D, v as E, vt as R, wt as j, xt as Y, yn as X, z as M } from "./BBR6pSV9Q9otQTAf.mjs";
8
+ import { a as z, i as G, n as W, r as $ } from "./gZUS8aGtTDW3LC8v.mjs";
9
+ import { c as H, l as U, o as K, r as q, s as J } from "./DEYDK-lJUQQprdUD.mjs";
10
10
  import { CommonUtils as Z } from "@sheetxl/utils";
11
11
  import { AddressUtils as Q, FormulaError as tt, IBorders as et, ICellStyle as ot, ICondition as st, IFill as rt, IFont as it, IRange as nt, IShape as lt, ISlicerStyle as at, ITextFrame as ct, ShapeStyleUtils as ut, Sort as dt, Tuple as ht } from "@sheetxl/sdk";
12
12
  var pt = class {
@@ -1,10 +1,10 @@
1
1
  /**
2
- * @license @sheetxl/io-xlsx - SheetXL - Import/Export from/to Excel - v0.8.0-beta.22
2
+ * @license @sheetxl/io-xlsx - SheetXL - Import/Export from/to Excel - v0.8.0-beta.24
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 "./B1_JjHLkB9GQt41F.mjs";
7
+ import { t } from "./BUeSXu2BeJDu5cxB.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,10 +1,10 @@
1
1
  /**
2
- * @license @sheetxl/io-xlsx - SheetXL - Import/Export from/to Excel - v0.8.0-beta.22
2
+ * @license @sheetxl/io-xlsx - SheetXL - Import/Export from/to Excel - v0.8.0-beta.24
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 { En as t, Sn as e, Tn as n, wn as r } from "./C1VsUbGfwY9-dlaU.mjs";
7
+ import { En as t, Sn as e, Tn as n, wn as r } from "./BBR6pSV9Q9otQTAf.mjs";
8
8
  import { Color as s, FormulaError as o, IFill as i, IFontStyle as a } from "@sheetxl/sdk";
9
9
  var l = [
10
10
  "customMenu",
@@ -1,10 +1,10 @@
1
1
  /**
2
- * @license @sheetxl/io-xlsx - SheetXL - Import/Export from/to Excel - v0.8.0-beta.22
2
+ * @license @sheetxl/io-xlsx - SheetXL - Import/Export from/to Excel - v0.8.0-beta.24
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, Fr as l, Gt as c, In as u, It as h, Jn as d, Kn as p, Ln as f, Lr as g, Lt as m, Mr as b, Nn as x, Nt as y, Pn as v, Qn as w, Rn as T, Rt as S, Sr as C, St as k, T as A, Tr as E, Tt as I, Ut as P, Vn as O, Wt as D, Xn as N, Yn as _, Z as $, Zn as M, _ as R, _t as V, ar as L, br as j, ct as B, dn as F, dr as H, er as W, f as z, fn as X, fr as q, ft as U, gr as G, hr as K, ht as J, in as Z, ir as Q, it as Y, jn as tt, jt as et, lt as ot, mn as st, mt as rt, n as nt, nn as it, nt as at, o as lt, or as ct, ot as ut, p as ht, pt as dt, rn as pt, rr as ft, sr as gt, t as mt, tn as bt, tr as xt, ur as yt, ut as vt, vr as wt, vt as Tt, wt as St, xt as Ct, yn as kt, yr as At } from "./C1VsUbGfwY9-dlaU.mjs";
7
+ import { $ as t, $n as e, An as o, C as r, Ct as n, Dr as i, E as a, Fr as l, Gt as c, In as u, It as h, Jn as d, Kn as p, Ln as f, Lr as g, Lt as m, Mr as b, Nn as x, Nt as y, Pn as v, Qn as w, Rn as T, Rt as S, Sr as C, St as k, T as A, Tr as E, Tt as I, Ut as P, Vn as O, Wt as D, Xn as N, Yn as _, Z as $, Zn as M, _ as R, _t as V, ar as L, br as j, ct as B, dn as F, dr as H, er as W, f as z, fn as X, fr as q, ft as U, gr as G, hr as K, ht as J, in as Z, ir as Q, it as Y, jn as tt, jt as et, lt as ot, mn as st, mt as rt, n as nt, nn as it, nt as at, o as lt, or as ct, ot as ut, p as ht, pt as dt, rn as pt, rr as ft, sr as gt, t as mt, tn as bt, tr as xt, ur as yt, ut as vt, vr as wt, vt as Tt, wt as St, xt as Ct, yn as kt, yr as At } from "./BBR6pSV9Q9otQTAf.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 Mt, FormulaError as Rt, 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";
@@ -3910,7 +3910,7 @@ var ks = {
3910
3910
  R += t;
3911
3911
  const e = Math.min(D, Math.round(R / $ * D));
3912
3912
  P(e, D);
3913
- } : void 0, L = import("./BaRyFsg1YMFUyXd4.mjs");
3913
+ } : void 0, L = import("./Bmyv0kMApwGNItqE.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("./Dd0rxpiUIxg4BeeC.mjs"), e = t.extract(he);
4659
+ const { VBAProject: t } = await import("./CgGD8fDyVsp4oPHq.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 - v0.8.0-beta.22
2
+ * @license @sheetxl/io-xlsx - SheetXL - Import/Export from/to Excel - v0.8.0-beta.24
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("./yNj0KH21rJk2rfm7.mjs")).OffCryptoEncryption, r = {
17
+ ], t = async () => (await import("./BcVUIxYg_B5u-fXY.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("./-4emwUa_cqmg0qom.mjs").then((e) => e.t)), o = e("io-xlsx:writer", () => import("./CeRdSa9ObgI_mmCT.mjs")), l = "Excel", n = "ExcelMacro", c = "ExcelTemplate", m = "ExcelMacroTemplate", s = [
28
+ }, i = e("io-xlsx:reader", () => import("./gZUS8aGtTDW3LC8v.mjs").then((e) => e.t)), o = e("io-xlsx:writer", () => import("./BkgF01W68W7CSUb5.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.22",
97
+ version: "0.8.0-beta.24",
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.22",
4
+ "version": "0.8.0-beta.24",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "type": "module",
7
7
  "exports": {
@@ -44,11 +44,11 @@
44
44
  "utilities"
45
45
  ],
46
46
  "dependencies": {
47
- "@sheetxl/sdk": "^0.8.0-beta.22",
48
- "@sheetxl/utils": "^0.8.0-beta.22",
47
+ "@sheetxl/sdk": "^0.8.0-beta.24",
48
+ "@sheetxl/utils": "^0.8.0-beta.24",
49
49
  "@xmldom/xmldom": "^0.9.12",
50
- "@zip.js/zip.js": "^2.23.0",
51
- "web-streams-polyfill": "^4.3.0",
50
+ "@zip.js/zip.js": "^2.24.0",
51
+ "web-streams-polyfill": "^4.5.1",
52
52
  "xml-formatter": "^3.7.0"
53
53
  }
54
54
  }
@@ -1,6 +1,14 @@
1
+ import { IGeometry } from '@sheetxl/sdk';
1
2
  /**
2
- * The `prstGeom` element: a preset name plus its adjust values.
3
+ * `[name, fmla]` pairs for an `avLst`. Values are integers in the file.
4
+ *
5
+ * @remarks
6
+ * Excel rejects an `avLst` that lists some of a preset's adjust values but not all of them, so
7
+ * from a geometry every value is written, defaults included, once any is adjusted. Without one
8
+ * (a preset this SDK does not define) the values are written as they are.
9
+ *
10
+ * @param geometry The shape's evaluated geometry, or `null` when there is none.
11
+ * @param adjustments The values the shape sets.
3
12
  */
4
- /** `[name, fmla]` pairs for an `avLst`, in a stable order. Values are integers in the file. */
5
- export declare const adjustValueEntries: (adjustments: Record<string, number> | undefined | null) => [string, string][];
13
+ export declare const adjustValueEntries: (geometry: IGeometry | null, adjustments: Record<string, number> | undefined | null) => [string, string][];
6
14
  //# sourceMappingURL=PrstGeomUtils.d.ts.map