@sheetxl/io-xlsx 0.8.0-beta.6 → 0.8.0-beta.7
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/cjs/{qb-YQ8mGwpogSP08.cjs → CDs8etXnw0kbBKKv.cjs} +1 -1
- package/browser/cjs/{DpZr07y7ifaZGvJ9.cjs → CycnxkfuKrDdwoJN.cjs} +1 -1
- package/browser/cjs/index.cjs +1 -1
- package/browser/esm/{gicSNvWtBLkvLsIw.mjs → 9n64lXAgZUe3aThr.mjs} +3 -3
- package/browser/esm/{k-aEFzUZ8aU9FPf4.mjs → B4eKxNwxJjHLN126.mjs} +1 -1
- package/browser/esm/{B3cYXnqV2Zjaw6Jp.mjs → BsNoW41d6hdpxTTS.mjs} +4 -4
- package/browser/esm/{FwrsLfi1iEAQGIjj.mjs → BvAptAMpZVyBCx6-.mjs} +4 -4
- package/browser/esm/{DdTgGiFy8nAZTQ0d.mjs → CGXxwkCRWLc0gcRQ.mjs} +2 -2
- package/browser/esm/{B0E-_6m23g4BDnX6.mjs → CX3yVwe-BnhCk4FY.mjs} +2 -2
- package/browser/esm/{BYENv_UE3Hv5ghGD.mjs → CjKioy-GzeSf08f8.mjs} +7 -7
- package/browser/esm/{CGgjL7wM5WHZA6Dt.mjs → DUi-V-E_AJwTIqlO.mjs} +2 -2
- package/browser/esm/{96C1ntelYWh7kQtW.mjs → DwcLXqv8-6Tl1zLO.mjs} +1 -1
- package/browser/esm/{D01fs7vrCLlmdHoW.mjs → cJxidonaVNZHAXiZ.mjs} +3 -3
- package/browser/esm/{BLEHoDT0SLbo8OO2.mjs → dsVZVtt5w_yLb967.mjs} +1 -1
- package/browser/esm/index.mjs +2 -2
- package/node/esm/{D-l0hqYTXUIEFoTg.mjs → BRQYaMYO4UfhjJHw.mjs} +2 -2
- package/node/esm/{Bu9QkKpBW4G2ULAg.mjs → BlbtH3EvAf3K4foF.mjs} +3 -3
- package/node/esm/{DWF_5NYPdrlTVvHi.mjs → C51yFT2l-6il_xXO.mjs} +1 -1
- package/node/esm/{am47EU_k1uSVm7yW.mjs → CMq7eF1vxibUumqT.mjs} +2 -2
- package/node/esm/{ZWSOYqmTKEmEOz2u.mjs → DLBm8l0jyL2fVlxg.mjs} +2 -2
- package/node/esm/{CHl-WFsto0oTmBtB.mjs → DhSPOg9wN0kD87Tb.mjs} +1 -1
- package/node/esm/{B-g20MoPHbZFapp8.mjs → KeV-N47eTyh5YE70.mjs} +2 -2
- package/node/esm/index.mjs +4 -4
- package/node/esm/{Co5_sjvEk9d-x9gx.mjs → s_yVG0m9KB14YKeN.mjs} +5 -5
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
let e=require("@sheetxl/utils");var t=[208,207,17,224,161,177,26,225],n=async()=>(await Promise.resolve().then(()=>require("./B6sirGz6w-Bm7Ofo.cjs"))).OffCryptoEncryption,r={key:`offcrypto`,description:`Office Document Encryption`,detect:async e=>!!(e=>{if(e.byteLength<t.length)return!1;let n=new Uint8Array(e,0,t.length);for(let e=0;e<t.length;e++)if(n[e]!==t[e])return!1;return!0})(e)&&(await n()).detect(e),decode:async(e,t)=>(await n()).decode(e,t),encode:async(e,t)=>(await n()).encode(e,t)},i=(0,e.defineLazyModule)(`io-xlsx:reader`,()=>Promise.resolve().then(()=>require("./DHKWtqZ0vQfXrbq1.cjs")),{tier:`common`}),a=(0,e.defineLazyModule)(`io-xlsx:writer`,()=>Promise.resolve().then(()=>require("./
|
|
1
|
+
let e=require("@sheetxl/utils");var t=[208,207,17,224,161,177,26,225],n=async()=>(await Promise.resolve().then(()=>require("./B6sirGz6w-Bm7Ofo.cjs"))).OffCryptoEncryption,r={key:`offcrypto`,description:`Office Document Encryption`,detect:async e=>!!(e=>{if(e.byteLength<t.length)return!1;let n=new Uint8Array(e,0,t.length);for(let e=0;e<t.length;e++)if(n[e]!==t[e])return!1;return!0})(e)&&(await n()).detect(e),decode:async(e,t)=>(await n()).decode(e,t),encode:async(e,t)=>(await n()).encode(e,t)},i=(0,e.defineLazyModule)(`io-xlsx:reader`,()=>Promise.resolve().then(()=>require("./DHKWtqZ0vQfXrbq1.cjs")),{tier:`common`}),a=(0,e.defineLazyModule)(`io-xlsx:writer`,()=>Promise.resolve().then(()=>require("./CycnxkfuKrDdwoJN.cjs")),{tier:`common`}),o=`Excel`,s=`ExcelMacro`,c={key:o,description:`Excel Workbook`,mimeType:`application/vnd.openxmlformats-officedocument.spreadsheetml.sheet`,exts:[`xlsx`,`xls`],handler:async(e,t)=>(await i.load()).readXLSX(e,t)},l={key:s,description:`Excel Macro-Enabled Workbook`,mimeType:`application/vnd.ms-excel.sheet.macroEnabled.12`,exts:[`xlsm`],handler:async(e,t)=>(await i.load()).readXLSX(e,t)},u={key:o,mimeType:`application/vnd.openxmlformats-officedocument.spreadsheetml.sheet`,description:`Excel Workbook`,exts:[`xlsx`],handler:async(e,t)=>(await a.load()).writeXLSX(e,{...t,macroEnabled:!1})},d={key:s,mimeType:`application/vnd.ms-excel.sheet.macroEnabled.12`,description:`Excel Macro-Enabled Workbook`,exts:[`xlsm`],handler:async(e,t)=>(await a.load()).writeXLSX(e,{...t,macroEnabled:!0})},f={name:`@sheetxl/io-xlsx`,version:`0.8.0-beta.7`,description:`XLSX I/O formats for SheetXL`,author:`SheetXL`,async register(e){await e.registerReadFormat(c),await e.registerReadFormat(l),await e.registerWriteFormat(u),await e.registerWriteFormat(d),await e.registerEncryption(r)}};Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return o}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return f}});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
require("./
|
|
1
|
+
require("./CDs8etXnw0kbBKKv.cjs");const e=require("./MqKQ_B5qRARrRbO4.cjs");let t=require("@sheetxl/sdk");var n=`resourcesById`,r=class{constructor(e){this._kind=e.kind,this._contentType=e.contentType,this._relTypeUri=e.relTypeUri,this._path=e.path}getKind(){return this._kind}getContentType(e){return this._contentType}getRelTypeUri(e){return this._relTypeUri}getPath(e){return typeof this._path==`function`?this._path(e):this._path}},i=class t{constructor(e,t,n){this.zipWriter=e,this.outputKind=t,this.outWritable=n}static createUint8Array(n){let r=new e.W(new e.X,n);return new t(r,`uint8array`)}static createBlob(n){let r=new e.W(new e.q(`application/zip`),n);return new t(r,`blob`)}static createWritableStream(n,r){let i=new e.W(n,r);return new t(i,`writable`,n)}async add(t,n,r){let i=function(e){let t=e.replace(/\\/g,`/`).trim();for(;t.startsWith(`/`);)t=t.slice(1);return t}(t),a={level:r?.level,password:r?.password,encryptionStrength:r?.encryptionStrength,zipCrypto:r?.zipCrypto,lastModDate:r?.lastModDate,keepOrder:r?.keepOrder,uncompressedSize:r?.uncompressedSize,dataDescriptor:r?.dataDescriptor,passThrough:r?.passThrough,compressionMethod:r?.compressionMethod,signature:r?.signature};if(typeof n==`string`)return void await this.zipWriter.add(i,new e.J(n),a);if(n instanceof Uint8Array||ArrayBuffer.isView(n)||n&&typeof n.byteLength==`number`&&typeof n.byteOffset==`number`){try{await this.zipWriter.add(i,new e.Y(n),a)}catch(e){throw console.log(`Error adding Uint8Array source to zip:`,i,a),e}return}let o=(s=n)&&typeof s.getReader==`function`?n:function(e){let t=e[Symbol.asyncIterator]();return new ReadableStream({async pull(e){let{value:n,done:r}=await t.next();r?e.close():e.enqueue(n)},async cancel(e){if(typeof t.return==`function`)try{await t.return(e)}catch{}}})}(n);var s;await this.zipWriter.add(i,o,a)}async close(e){let t=e?.comment,n=await this.zipWriter.close(t,{});return this.outputKind===`writable`?this.outWritable??n:n}};function a(e){let t=e=>e.replace(/&/g,`&`).replace(/</g,`<`).replace(/>/g,`>`),n=e=>t(e).replace(/"/g,`"`),r=e=>{if(!e)return``;let t=``;for(let[r,i]of Object.entries(e))i!==void 0&&!1!==i&&(t+=!0===i?` ${r}="1"`:` ${r}="${n(String(i))}"`);return t},i=new TextEncoder,a=``,o=()=>{a&&=(e.write(i.encode(a)),``)},s=e=>{a+=e,a.length>65536&&o()},c=[],l=null,u=[],d=!0;return{decl(){s(`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>`)},pushDefaultNamespace(e){c.push(e),l=e},getDefaultNamespace:()=>c.length>0?c[c.length-1]:null,popDefaultNamespace(){c.length>0&&(c.pop(),l=c.length>0?c[c.length-1]:null)},start(e,t){d&&u.push({tag:e,attrs:t,bufferPos:a.length});let n=e;l&&e.indexOf(`:`)===-1&&(n=`${l}:${e}`),s(`<${n}${r(t)}>`)},empty(e,t){let n=e;l&&e.indexOf(`:`)===-1&&(n=`${l}:${e}`),s(`<${n}${r(t)}/>`)},text(e){s(t(String(e)))},raw(e){s(e)},end(e){let t;if(d){if(u.length===0)throw Error(`XML Writer: Unexpected end tag </${e}> - no matching start tag`);if(t=u[u.length-1],t.tag!==e)throw Error(`XML Writer: End tag </${e}> does not match start tag <${t.tag}>`)}let n=e;if(l&&e.indexOf(`:`)===-1&&(n=`${l}:${e}`),d){let e=a.length,i=`<${n}${r(t.attrs)}>`.length;e===t.bufferPos+i?(a=a.slice(0,t.bufferPos),s(`<${n}${r(t.attrs)}/>`)):s(`</${n}>`),u.pop()}else s(`</${n}>`)},close(){o()},setValidationDisabled(e){d=!e}}}function o(e){switch(e.kind){case`bytes`:return e.bytes;case`text`:return e.text;case`stream`:return e.stream;case`xmlStream`:{let t=[],n=a({write:e=>t.push(e)});return e.writeXml(n),n.close(),function(e){let t=0;for(let n of e)t+=n.byteLength;let n=new Uint8Array(t),r=0;for(let t of e)n.set(t,r),r+=t.byteLength;return n}(t)}case`xmlStreamed`:return e.write()}}function s(e){let t=c(e);if(!t)return`_rels/.rels`;let n=t.lastIndexOf(`/`),r=n>=0?t.slice(0,n):``;return`${r?`${r}/_rels`:`_rels`}/${n>=0?t.slice(n+1):t}.rels`}function c(e){let t=(e??``).replace(/\\/g,`/`).trim();for(;t.startsWith(`/`);)t=t.slice(1);return t}function l(e){let t=(e??``).replace(/\\/g,`/`).trim();return t.startsWith(`/`)||(t=`/`+t),t}function u(e){let t=/^rId(\d+)$/.exec(e);return t?parseInt(t[1],10):2**53-1}function d(e){return String(e).replace(/&/g,`&`).replace(/</g,`<`).replace(/"/g,`"`).replace(/>/g,`>`)}function f(e,t,n,r=!1){let i=t;if(t.startsWith(`/`))i=t.slice(1);else{if(!e)throw Error(`Relative path "${t}" cannot be used at root level. Use an absolute path starting with "/" (e.g., "/xl/workbook.xml").`);i=(e.includes(`/`)?e.slice(0,e.lastIndexOf(`/`)+1):``)+t}if(i=p(i),!i.includes(`{n}`)){if(!r&&n.has(i))throw Error(`Path already existing path: ${i}`);return i}let a,o=1;do if(a=i.replace(/{n}/g,String(o)),o++,o>1e4)throw Error(`Failed to resolve path template "${t}" after 10000 attempts. This likely indicates a bug or an impossible constraint.`);while(n.has(a));return a}function p(e){let t=e.split(`/`),n=[];for(let r of t)if(r!==``&&r!==`.`)if(r===`..`){if(n.length===0)throw Error(`Invalid path: too many ".." segments in "${e}"`);n.pop()}else n.push(r);return n.join(`/`)}function m(e,t){if(!e)return t;let n=e.includes(`/`)?e.slice(0,e.lastIndexOf(`/`)):``,r=n?n.split(`/`):[],i=t.split(`/`),a=0,o=Math.min(r.length,i.length-1);for(let e=0;e<o&&r[e]===i[e];e++)a++;let s=r.length-a;return`../`.repeat(s)+i.slice(a).join(`/`)}function h(e){return new TextEncoder().encode(e)}function g(e,t){return function(e,t=` `){let n=``,r=0,i=e.split(/(<[^>]+>)/g).filter(Boolean);for(let e=0;e<i.length;e++){let a=i[e];if(a.trim())if(a.startsWith(`<?`))n+=a+`
|
|
2
2
|
`;else if(a.startsWith(`</`))r--,r<0&&console.warn(`XML formatting warning: negative indentation depth: ${a}`),n+=t.repeat(Math.max(r,0))+a+`
|
|
3
3
|
`;else if(a.startsWith(`<`)){let e=a.endsWith(`/>`);n+=t.repeat(r)+a+`
|
|
4
4
|
`,e||r++}else n+=t.repeat(r)+a.trim()+`
|
package/browser/cjs/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./CDs8etXnw0kbBKKv.cjs");exports.IOPlugin=e.t,exports.XLSM_FORMAT_KEY=e.n,exports.XLSX_FORMAT_KEY=e.r;
|
|
@@ -1,11 +1,11 @@
|
|
|
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.7
|
|
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 { n as e } from "./
|
|
8
|
-
import { t } from "./
|
|
7
|
+
import { n as e } from "./DwcLXqv8-6Tl1zLO.mjs";
|
|
8
|
+
import { t } from "./dsVZVtt5w_yLb967.mjs";
|
|
9
9
|
import { CommonUtils as n } from "@sheetxl/utils";
|
|
10
10
|
import { AddressUtils as r, IColor as i, IStyle as a } from "@sheetxl/sdk";
|
|
11
11
|
var o = (e, t, n) => {
|
|
@@ -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.7
|
|
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,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.7
|
|
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 t = [
|
|
|
14
14
|
177,
|
|
15
15
|
26,
|
|
16
16
|
225
|
|
17
|
-
], n = async () => (await import("./
|
|
17
|
+
], n = async () => (await import("./CGXxwkCRWLc0gcRQ.mjs")).OffCryptoEncryption, r = {
|
|
18
18
|
key: "offcrypto",
|
|
19
19
|
description: "Office Document Encryption",
|
|
20
20
|
detect: async (e) => !!((e) => {
|
|
@@ -25,7 +25,7 @@ var t = [
|
|
|
25
25
|
})(e) && (await n()).detect(e),
|
|
26
26
|
decode: async (e, t) => (await n()).decode(e, t),
|
|
27
27
|
encode: async (e, t) => (await n()).encode(e, t)
|
|
28
|
-
}, i = e("io-xlsx:reader", () => import("./
|
|
28
|
+
}, i = e("io-xlsx:reader", () => import("./CjKioy-GzeSf08f8.mjs"), { tier: "common" }), a = e("io-xlsx:writer", () => import("./cJxidonaVNZHAXiZ.mjs"), { tier: "common" }), o = "Excel", s = "ExcelMacro", c = {
|
|
29
29
|
key: o,
|
|
30
30
|
description: "Excel Workbook",
|
|
31
31
|
mimeType: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
|
|
@@ -57,7 +57,7 @@ var t = [
|
|
|
57
57
|
})
|
|
58
58
|
}, f = {
|
|
59
59
|
name: "@sheetxl/io-xlsx",
|
|
60
|
-
version: "0.8.0-beta.
|
|
60
|
+
version: "0.8.0-beta.7",
|
|
61
61
|
description: "XLSX I/O formats for SheetXL",
|
|
62
62
|
author: "SheetXL",
|
|
63
63
|
async register(e) {
|
|
@@ -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.7
|
|
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 { n as e } from "./
|
|
8
|
-
import { b as t, h as n, y as r } from "./
|
|
9
|
-
import { a as i, c as a, i as o, m as s, o as c, p as l, r as u, s as d, t as f } from "./
|
|
7
|
+
import { n as e } from "./DwcLXqv8-6Tl1zLO.mjs";
|
|
8
|
+
import { b as t, h as n, y as r } from "./dsVZVtt5w_yLb967.mjs";
|
|
9
|
+
import { a as i, c as a, i as o, m as s, o as c, p as l, r as u, s as d, t as f } from "./9n64lXAgZUe3aThr.mjs";
|
|
10
10
|
import { CommonUtils as p } from "@sheetxl/utils";
|
|
11
11
|
import { AddressUtils as m, FormulaError as h, IBorders as g, ICondition as _, IEffect as v, IFill as y, IFont as b, IRange as ee, IStyle as x, ITextFrame as S, Sort as C, Tuple as te } from "@sheetxl/sdk";
|
|
12
12
|
var ne = class {
|
|
@@ -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.7
|
|
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 "./B4eKxNwxJjHLN126.mjs";
|
|
8
8
|
import { InvalidPasswordError as t } from "@sheetxl/utils";
|
|
9
9
|
var n, r, i = class e {
|
|
10
10
|
static {
|
|
@@ -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.7
|
|
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 "./DwcLXqv8-6Tl1zLO.mjs";
|
|
8
8
|
var t = e((e) => {
|
|
9
9
|
function t(e, t) {
|
|
10
10
|
return t === void 0 && (t = Object), t && typeof t.getOwnPropertyDescriptors == "function" && (e = t.create(null, t.getOwnPropertyDescriptors(e))), t && typeof t.freeze == "function" ? t.freeze(e) : e;
|
|
@@ -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.7
|
|
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 { r as e } from "./
|
|
8
|
-
import { $ as t, D as n, E as r, F as i, G as a, K as o, L as s, M as c, P as l, Q as u, R as d, V as f, X as p, Y as m, Z as ee, _ as h, at as g, b as _, ct as v, et as y, f as te, h as ne, i as b, it as re, j as ie, nt as ae, o as oe, ot as x, rt as S, s as C, tt as w, u as T, v as se, w as ce } from "./
|
|
9
|
-
import { a as E, d as le, f as D, h as ue, l as de, m as O, n as fe, p as k, s as A, t as pe, u as me } from "./
|
|
7
|
+
import { r as e } from "./DwcLXqv8-6Tl1zLO.mjs";
|
|
8
|
+
import { $ as t, D as n, E as r, F as i, G as a, K as o, L as s, M as c, P as l, Q as u, R as d, V as f, X as p, Y as m, Z as ee, _ as h, at as g, b as _, ct as v, et as y, f as te, h as ne, i as b, it as re, j as ie, nt as ae, o as oe, ot as x, rt as S, s as C, tt as w, u as T, v as se, w as ce } from "./dsVZVtt5w_yLb967.mjs";
|
|
9
|
+
import { a as E, d as le, f as D, h as ue, l as de, m as O, n as fe, p as k, s as A, t as pe, u as me } from "./9n64lXAgZUe3aThr.mjs";
|
|
10
10
|
import { BufferUtils as he, CommonUtils as ge, ExpectedError as j } from "@sheetxl/utils";
|
|
11
11
|
import { AddressUtils as M, CommonUtils as _e, CoordUtils as N, FormulaError as ve, ICondition as P, IConditionalFormat as F, IRange as ye, OutOfBoundsError as be, PersonCollection as xe, ResourceCollection as Se, Theme as Ce, Tuple as we, Workbook as Te } from "@sheetxl/sdk";
|
|
12
12
|
var I = /* @__PURE__ */ new Uint8Array(), L = class e {
|
|
@@ -2742,7 +2742,7 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
|
|
|
2742
2742
|
x += e;
|
|
2743
2743
|
let t = Math.min(ne, Math.round(x / ae * ne));
|
|
2744
2744
|
te(t, ne);
|
|
2745
|
-
} : void 0, T = import("./
|
|
2745
|
+
} : void 0, T = import("./BvAptAMpZVyBCx6-.mjs"), se = null;
|
|
2746
2746
|
try {
|
|
2747
2747
|
se = new DOMParser();
|
|
2748
2748
|
} catch {}
|
|
@@ -2751,7 +2751,7 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
|
|
|
2751
2751
|
E = new XMLSerializer();
|
|
2752
2752
|
} catch {}
|
|
2753
2753
|
let k, A, _e, N = null;
|
|
2754
|
-
se || (N = import("./
|
|
2754
|
+
se || (N = import("./CX3yVwe-BnhCk4FY.mjs").then((t) => e(t.default, 1)));
|
|
2755
2755
|
try {
|
|
2756
2756
|
let [e, t] = await Promise.all([N, T]);
|
|
2757
2757
|
k = new t.DOMTransformer(), A = se ?? new e.DOMParser(), _e = E ?? new e.XMLSerializer();
|
|
@@ -3183,7 +3183,7 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
|
|
|
3183
3183
|
He && He.length > 0 && (Ve.people = He);
|
|
3184
3184
|
let Ue = P.getEntry("xl/vbaProject.bin");
|
|
3185
3185
|
if (Ue) try {
|
|
3186
|
-
let { VBAProject: e } = await import("./
|
|
3186
|
+
let { VBAProject: e } = await import("./DUi-V-E_AJwTIqlO.mjs"), t = e.extract(Ue);
|
|
3187
3187
|
if (t) {
|
|
3188
3188
|
let n = /* @__PURE__ */ new Map();
|
|
3189
3189
|
for (let e of Ve.sheets ?? []) {
|
|
@@ -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.7
|
|
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 "./B4eKxNwxJjHLN126.mjs";
|
|
8
8
|
var t, n;
|
|
9
9
|
function r(e, t) {
|
|
10
10
|
if (t < 0 || t + 1 >= e.length) throw RangeError(`toUInt16LE: Offset ${t} is out of bounds for buffer length ${e.length}. Needed 2 bytes.`);
|
|
@@ -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.7
|
|
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,11 +1,11 @@
|
|
|
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.7
|
|
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 "./
|
|
8
|
-
import { A as e, C as t, H as n, I as r, J as i, L as a, N as o, O as s, Q as c, S as l, T as u, U as d, W as f, X as p, Y as m, Z as h, a as g, c as _, d as v, et as y, g as b, i as x, it as S, k as ee, l as C, m as te, n as w, p as T, q as E, r as ne, rt as D, st as O, t as k, v as A, x as re, y as ie } from "./
|
|
7
|
+
import "./BsNoW41d6hdpxTTS.mjs";
|
|
8
|
+
import { A as e, C as t, H as n, I as r, J as i, L as a, N as o, O as s, Q as c, S as l, T as u, U as d, W as f, X as p, Y as m, Z as h, a as g, c as _, d as v, et as y, g as b, i as x, it as S, k as ee, l as C, m as te, n as w, p as T, q as E, r as ne, rt as D, st as O, t as k, v as A, x as re, y as ie } from "./dsVZVtt5w_yLb967.mjs";
|
|
9
9
|
import { AddressUtils as j, BufferUtils as M, Color as ae, CommonUtils as N, CoordUtils as oe, FormulaError as se, FormulaText as ce, IColor as P, ICondition as F, IConditionalFormat as I, IEffect as L, IFill as R, IFont as le, ISheet as ue, IStroke as de, IStyle as z, ITextFrame as B, LicenseManager as fe, NumberFormat as pe, ScalarType as me } from "@sheetxl/sdk";
|
|
10
10
|
var he = "resourcesById", V = class {
|
|
11
11
|
constructor(e) {
|
|
@@ -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.7
|
|
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.
|
package/browser/esm/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
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.7
|
|
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 { n as e, r as t, t as n } from "./
|
|
7
|
+
import { n as e, r as t, t as n } from "./BsNoW41d6hdpxTTS.mjs";
|
|
8
8
|
export { n as IOPlugin, e as XLSM_FORMAT_KEY, t as XLSX_FORMAT_KEY };
|
|
@@ -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.7
|
|
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 "./DhSPOg9wN0kD87Tb.mjs";
|
|
8
8
|
import { CommonUtils as e } from "@sheetxl/utils";
|
|
9
9
|
import { AddressUtils as n, IColor as s, IStyle as r } from "@sheetxl/sdk";
|
|
10
10
|
var o = Object.defineProperty, a = (t, e) => {
|
|
@@ -1,11 +1,11 @@
|
|
|
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.7
|
|
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, c as e, g as s, i as r, m as o, o as i, p as n, r as a, s as l, t as c } from "./
|
|
8
|
-
import { b as u, h, y as p } from "./
|
|
7
|
+
import { a as t, c as e, g as s, i as r, m as o, o as i, p as n, r as a, s as l, t as c } from "./BRQYaMYO4UfhjJHw.mjs";
|
|
8
|
+
import { b as u, h, y as p } from "./DhSPOg9wN0kD87Tb.mjs";
|
|
9
9
|
import { CommonUtils as d } from "@sheetxl/utils";
|
|
10
10
|
import { AddressUtils as g, FormulaError as m, IBorders as b, ICondition as f, IEffect as A, IFill as y, IFont as v, IRange as N, IStyle as F, ITextFrame as C, Sort as w, Tuple as P } from "@sheetxl/sdk";
|
|
11
11
|
var S = class {
|
|
@@ -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.7
|
|
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.7
|
|
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 "./C51yFT2l-6il_xXO.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 - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/io-xlsx - SheetXL - Import/Export from/to Excel - v0.8.0-beta.7
|
|
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 "./C51yFT2l-6il_xXO.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 - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/io-xlsx - SheetXL - Import/Export from/to Excel - v0.8.0-beta.7
|
|
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,11 +1,11 @@
|
|
|
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.7
|
|
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
7
|
import "./index.mjs";
|
|
8
|
-
import { A as r, C as o, G as s, H as a, I as l, L as i, N as c, O as d, S as m, T as p, U as f, W as h, X as u, Z as g, a as y, c as x, d as v, et as w, g as S, i as b, k as C, l as k, m as I, n as T, p as M, q as R, r as A, t as F, v as L, x as _, y as P } from "./
|
|
8
|
+
import { A as r, C as o, G as s, H as a, I as l, L as i, N as c, O as d, S as m, T as p, U as f, W as h, X as u, Z as g, a as y, c as x, d as v, et as w, g as S, i as b, k as C, l as k, m as I, n as T, p as M, q as R, r as A, t as F, v as L, x as _, y as P } from "./DhSPOg9wN0kD87Tb.mjs";
|
|
9
9
|
import { AddressUtils as D, BufferUtils as E, Color as B, CommonUtils as O, CoordUtils as $, FormulaError as W, FormulaText as V, IColor as z, ICondition as j, IConditionalFormat as U, IEffect as X, IFill as H, IFont as q, ISheet as G, IStroke as J, IStyle as K, ITextFrame as Y, LicenseManager as Z, NumberFormat as Q, ScalarType as tt } from "@sheetxl/sdk";
|
|
10
10
|
import { BlobWriter as et, TextReader as rt, Uint8ArrayReader as nt, Uint8ArrayWriter as ot, ZipWriter as st } from "@zip.js/zip.js";
|
|
11
11
|
var at = "resourcesById", lt = class {
|
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.7
|
|
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 t = [
|
|
|
14
14
|
177,
|
|
15
15
|
26,
|
|
16
16
|
225
|
|
17
|
-
], a = async () => (await import("./
|
|
17
|
+
], a = async () => (await import("./CMq7eF1vxibUumqT.mjs")).OffCryptoEncryption, r = {
|
|
18
18
|
key: "offcrypto",
|
|
19
19
|
description: "Office Document Encryption",
|
|
20
20
|
detect: async (e) => !!((e) => {
|
|
@@ -25,7 +25,7 @@ var t = [
|
|
|
25
25
|
})(e) && (await a()).detect(e),
|
|
26
26
|
decode: async (e, t) => (await a()).decode(e, t),
|
|
27
27
|
encode: async (e, t) => (await a()).encode(e, t)
|
|
28
|
-
}, o = e("io-xlsx:reader", () => import("./
|
|
28
|
+
}, o = e("io-xlsx:reader", () => import("./s_yVG0m9KB14YKeN.mjs"), { tier: "common" }), i = e("io-xlsx:writer", () => import("./KeV-N47eTyh5YE70.mjs"), { tier: "common" }), n = "Excel", s = "ExcelMacro", c = {
|
|
29
29
|
key: n,
|
|
30
30
|
description: "Excel Workbook",
|
|
31
31
|
mimeType: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
|
|
@@ -57,7 +57,7 @@ var t = [
|
|
|
57
57
|
})
|
|
58
58
|
}, p = {
|
|
59
59
|
name: "@sheetxl/io-xlsx",
|
|
60
|
-
version: "0.8.0-beta.
|
|
60
|
+
version: "0.8.0-beta.7",
|
|
61
61
|
description: "XLSX I/O formats for SheetXL",
|
|
62
62
|
author: "SheetXL",
|
|
63
63
|
async register(e) {
|
|
@@ -1,11 +1,11 @@
|
|
|
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.7
|
|
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, d as e, f as s, h as o, l as r, m as i, n, p as a, s as c, t as l, u as h } from "./
|
|
8
|
-
import { $ as u, D as d, E as f, F as g, G as m, J as x, K as b, L as y, M as T, P as v, Q as w, R as S, V as C, W as k, X as A, Y as O, Z as E, _ as P, b as I, f as D, h as _, i as V, j as L, o as N, q as $, s as R, tt as j, u as B, v as M, w as H } from "./
|
|
7
|
+
import { a as t, d as e, f as s, h as o, l as r, m as i, n, p as a, s as c, t as l, u as h } from "./BRQYaMYO4UfhjJHw.mjs";
|
|
8
|
+
import { $ as u, D as d, E as f, F as g, G as m, J as x, K as b, L as y, M as T, P as v, Q as w, R as S, V as C, W as k, X as A, Y as O, Z as E, _ as P, b as I, f as D, h as _, i as V, j as L, o as N, q as $, s as R, tt as j, u as B, v as M, w as H } from "./DhSPOg9wN0kD87Tb.mjs";
|
|
9
9
|
import { BufferUtils as F, CommonUtils as W, ExpectedError as X } from "@sheetxl/utils";
|
|
10
10
|
import { AddressUtils as z, CommonUtils as q, CoordUtils as U, FormulaError as G, ICondition as K, IConditionalFormat as J, IRange as Z, OutOfBoundsError as Q, PersonCollection as Y, ResourceCollection as tt, Theme as et, Tuple as st, Workbook as ot } from "@sheetxl/sdk";
|
|
11
11
|
import { BlobReader as rt, Uint8ArrayReader as it, Uint8ArrayWriter as nt, ZipReader as at } from "@zip.js/zip.js";
|
|
@@ -2809,7 +2809,7 @@ var ge = (t) => !0 === t || "1" === t || "on" === t || "true" === t || !1 !== t
|
|
|
2809
2809
|
$ += t;
|
|
2810
2810
|
const e = Math.min(D, Math.round($ / _ * D));
|
|
2811
2811
|
I(e, D);
|
|
2812
|
-
} : void 0, B = import("./
|
|
2812
|
+
} : void 0, B = import("./BlbtH3EvAf3K4foF.mjs");
|
|
2813
2813
|
let M = null;
|
|
2814
2814
|
try {
|
|
2815
2815
|
M = new DOMParser();
|
|
@@ -3266,7 +3266,7 @@ var ge = (t) => !0 === t || "1" === t || "on" === t || "true" === t || !1 !== t
|
|
|
3266
3266
|
Lt && Lt.length > 0 && (Vt.people = Lt);
|
|
3267
3267
|
const Nt = st.getEntry("xl/vbaProject.bin");
|
|
3268
3268
|
if (Nt) try {
|
|
3269
|
-
const { VBAProject: t } = await import("./
|
|
3269
|
+
const { VBAProject: t } = await import("./DLBm8l0jyL2fVlxg.mjs"), e = t.extract(Nt);
|
|
3270
3270
|
if (e) {
|
|
3271
3271
|
const s = /* @__PURE__ */ new Map();
|
|
3272
3272
|
for (const t of Vt.sheets ?? []) {
|
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.7",
|
|
5
5
|
"license": "SEE LICENSE IN <LICENSE>",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"exports": {
|
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
"utilities"
|
|
46
46
|
],
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@sheetxl/sdk": "^0.8.0-beta.
|
|
49
|
-
"@sheetxl/utils": "^0.8.0-beta.
|
|
48
|
+
"@sheetxl/sdk": "^0.8.0-beta.7",
|
|
49
|
+
"@sheetxl/utils": "^0.8.0-beta.7",
|
|
50
50
|
"@xmldom/xmldom": "^0.9.10",
|
|
51
51
|
"@zip.js/zip.js": "^2.8.34",
|
|
52
52
|
"web-streams-polyfill": "^4.3.0",
|