@sheetxl/io-xlsx 0.8.0-beta.2 → 0.8.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/browser/cjs/{BzOEBR0jaxXg9wvt.cjs → BGFXHa9DqD7qfj7K.cjs} +1 -1
- package/browser/cjs/{Ca-xJDjg5bOpUPXX.cjs → CIQ0CyhkW02G7UhX.cjs} +1 -1
- package/browser/cjs/index.cjs +1 -1
- package/browser/esm/{DhqYgh9G2vLn7mIE.mjs → 9kAH9485xCkOzN_I.mjs} +2 -2
- package/browser/esm/{DtpWa7tZahylJ3HS.mjs → B8BqrWUHPa06PzmO.mjs} +4 -4
- package/browser/esm/{BwbMurFOptAFs7gC.mjs → BdmxnPd0ptyqOCaM.mjs} +1 -1
- package/browser/esm/{D75_rfogFUfXADKc.mjs → BzlhIt5zSG0Ts4xd.mjs} +7 -7
- package/browser/esm/{DoMlKUCnMSlR2qX5.mjs → CED9M7CASY6R5LBH.mjs} +3 -3
- package/browser/esm/{DfuBawaydlvgZMR-.mjs → DNwAYvPHH1G27K-w.mjs} +3 -3
- package/browser/esm/{CMzkLUwbgA73RvCb.mjs → DbSKfjIyE4a1YHoX.mjs} +1 -1
- package/browser/esm/{_UDbQq5-pHbU1f82.mjs → DtypWHI_cwfAvvyR.mjs} +1 -1
- package/browser/esm/{B9q618XELV7uWJsA.mjs → PpS5wqbPAZ9D3W7c.mjs} +4 -4
- package/browser/esm/{IZf0hIeLYj3T0Xvu.mjs → aL7oQqItresvrEf2.mjs} +2 -2
- package/browser/esm/{CMHb6pUUmsCP9r_9.mjs → h9ucGRwzGRA2N44D.mjs} +2 -2
- package/browser/esm/index.mjs +2 -2
- package/node/esm/{Bi_kZVtZams7taqa.mjs → A5sK8gK9ymQOyChG.mjs} +2 -2
- package/node/esm/{Dezt2uIDqlxjiuk5.mjs → CCD1vEduHhKax_d_.mjs} +2 -2
- package/node/esm/{BD03jrMQ_UKA196-.mjs → CJGTDWKH_yrWAW8o.mjs} +2 -2
- package/node/esm/{CB1ijGbhl-e2l6Mm.mjs → CsTuNxyS02vBz0Tk.mjs} +2 -2
- package/node/esm/{BxHvzSROx_N_7nJH.mjs → DOXXVsfrZi_6L0V7.mjs} +3 -3
- package/node/esm/{CO1M1H1N6fB422K-.mjs → OkoETXoPSSH3gQxa.mjs} +1 -1
- package/node/esm/{CWpezSa6TERGEv-B.mjs → TERvDGVSsvCefEiX.mjs} +5 -5
- package/node/esm/index.mjs +4 -4
- package/node/esm/{CY-pSutJLHskZfXZ.mjs → mlCt7xhd97xcwrEr.mjs} +1 -1
- package/package.json +3 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
require("./
|
|
1
|
+
require("./CIQ0CyhkW02G7UhX.cjs");const e=require("./DULsYP_GcPGLVYSE.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.G(new e.Z,n);return new t(r,`uint8array`)}static createBlob(n){let r=new e.G(new e.J(`application/zip`),n);return new t(r,`blob`)}static createWritableStream(n,r){let i=new e.G(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.Y(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.X(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()+`
|
|
@@ -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("./C8oC1tPbhgR0Dqtx.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("./C8oC1tPbhgR0Dqtx.cjs")),{tier:`common`}),a=(0,e.defineLazyModule)(`io-xlsx:writer`,()=>Promise.resolve().then(()=>require("./BGFXHa9DqD7qfj7K.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.3`,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}});
|
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("./CIQ0CyhkW02G7UhX.cjs");exports.IOPlugin=e.t,exports.XLSM_FORMAT_KEY=e.n,exports.XLSX_FORMAT_KEY=e.r;
|
|
@@ -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.3
|
|
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 "./DtypWHI_cwfAvvyR.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,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.3
|
|
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, g as n, x 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 "./DbSKfjIyE4a1YHoX.mjs";
|
|
8
|
+
import { b as t, g as n, x as r } from "./BdmxnPd0ptyqOCaM.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 "./CED9M7CASY6R5LBH.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 x, IStyle as S, ITextFrame as C, Sort as w, Tuple as ee } from "@sheetxl/sdk";
|
|
12
12
|
var te = 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.3
|
|
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,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.3
|
|
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, F as r, H as i, I as a, K as o, M as s, N as c, O as l, Q as u, R as d, T as f, X as p, Z as m, at as ee, d as h, et as g, g as _, i as v, it as y, lt as b, nt as te, ot as ne, p as re, q as ie, rt as ae, s as oe, st as se, tt as x, v as S, x as C, y as w, z as ce } from "./
|
|
9
|
-
import { a as T, d as le, f as E, h as D, l as ue, m as de, n as O, p as k, s as A, t as fe, u as pe } from "./
|
|
7
|
+
import { r as e } from "./DbSKfjIyE4a1YHoX.mjs";
|
|
8
|
+
import { $ as t, D as n, F as r, H as i, I as a, K as o, M as s, N as c, O as l, Q as u, R as d, T as f, X as p, Z as m, at as ee, d as h, et as g, g as _, i as v, it as y, lt as b, nt as te, ot as ne, p as re, q as ie, rt as ae, s as oe, st as se, tt as x, v as S, x as C, y as w, z as ce } from "./BdmxnPd0ptyqOCaM.mjs";
|
|
9
|
+
import { a as T, d as le, f as E, h as D, l as ue, m as de, n as O, p as k, s as A, t as fe, u as pe } from "./CED9M7CASY6R5LBH.mjs";
|
|
10
10
|
import { BufferUtils as me, CommonUtils as he, ExpectedError as ge } from "@sheetxl/utils";
|
|
11
11
|
import { AddressUtils as j, CommonUtils as M, CoordUtils as _e, FormulaError as ve, ICondition as N, IConditionalFormat as P, IRange as ye, OutOfBoundsError as be, ResourceCollection as xe, Theme as Se, Tuple as F, Workbook as Ce } from "@sheetxl/sdk";
|
|
12
12
|
var I = /* @__PURE__ */ new Uint8Array(), we = 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(ae, Math.round(x / se * ae));
|
|
2744
2744
|
ie(t, ae);
|
|
2745
|
-
} : void 0, C = import("./
|
|
2745
|
+
} : void 0, C = import("./B8BqrWUHPa06PzmO.mjs"), w = null;
|
|
2746
2746
|
try {
|
|
2747
2747
|
w = new DOMParser();
|
|
2748
2748
|
} catch {}
|
|
@@ -2751,7 +2751,7 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
|
|
|
2751
2751
|
T = new XMLSerializer();
|
|
2752
2752
|
} catch {}
|
|
2753
2753
|
let k, A, M, _e = null;
|
|
2754
|
-
w || (_e = import("./
|
|
2754
|
+
w || (_e = import("./aL7oQqItresvrEf2.mjs").then((t) => e(t.default, 1)));
|
|
2755
2755
|
try {
|
|
2756
2756
|
let [e, t] = await Promise.all([_e, C]);
|
|
2757
2757
|
k = new t.DOMTransformer(), A = w ?? new e.DOMParser(), M = T ?? new e.XMLSerializer();
|
|
@@ -3181,7 +3181,7 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
|
|
|
3181
3181
|
}, H.length > 0 && (He.strings = H), B && B.length > 0 && (He.people = B);
|
|
3182
3182
|
let Ue = N.getEntry("xl/vbaProject.bin");
|
|
3183
3183
|
if (Ue) try {
|
|
3184
|
-
let { VBAProject: e } = await import("./
|
|
3184
|
+
let { VBAProject: e } = await import("./9kAH9485xCkOzN_I.mjs"), t = e.extract(Ue);
|
|
3185
3185
|
if (t) {
|
|
3186
3186
|
let n = /* @__PURE__ */ new Map();
|
|
3187
3187
|
for (let e of He.sheets ?? []) {
|
|
@@ -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.3
|
|
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 "./DbSKfjIyE4a1YHoX.mjs";
|
|
8
|
+
import { t } from "./BdmxnPd0ptyqOCaM.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,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.3
|
|
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 { $ as e, A as t, C as n, E as r, G as i, J as a, L as o, P as s, Q as c, R as l, S as u, U as d, W as f, X as p, Y as m, Z as h, _ as g, a as _, at as v, b as y, c as b, ct as x, f as S, h as C, i as w, it as T, j as E, k as D, l as O, m as ee, n as k, o as A, r as j, s as te, t as M, tt as ne, u as re, w as ie, y as N } from "./
|
|
7
|
+
import "./PpS5wqbPAZ9D3W7c.mjs";
|
|
8
|
+
import { $ as e, A as t, C as n, E as r, G as i, J as a, L as o, P as s, Q as c, R as l, S as u, U as d, W as f, X as p, Y as m, Z as h, _ as g, a as _, at as v, b as y, c as b, ct as x, f as S, h as C, i as w, it as T, j as E, k as D, l as O, m as ee, n as k, o as A, r as j, s as te, t as M, tt as ne, u as re, w as ie, y as N } from "./BdmxnPd0ptyqOCaM.mjs";
|
|
9
9
|
import { AddressUtils as P, BufferUtils as F, Color as ae, CommonUtils as I, CoordUtils as oe, FormulaError as se, FormulaText as ce, IColor as L, ICondition as R, IConditionalFormat as z, IEffect as le, IFill as B, ISheet as ue, IStroke as de, IStyle as V, ITextFrame as H, LicenseManager as fe, NumberFormat as pe, ScalarType as me } from "@sheetxl/sdk";
|
|
10
10
|
var he = "resourcesById", U = 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.3
|
|
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.3
|
|
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.3
|
|
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("./h9ucGRwzGRA2N44D.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("./BzlhIt5zSG0Ts4xd.mjs"), { tier: "common" }), a = e("io-xlsx:writer", () => import("./DNwAYvPHH1G27K-w.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.3",
|
|
61
61
|
description: "XLSX I/O formats for SheetXL",
|
|
62
62
|
author: "SheetXL",
|
|
63
63
|
async register(e) {
|
|
@@ -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.3
|
|
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 "./DbSKfjIyE4a1YHoX.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,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.3
|
|
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 "./DtypWHI_cwfAvvyR.mjs";
|
|
8
8
|
import { InvalidPasswordError as t } from "@sheetxl/utils";
|
|
9
9
|
var n, r, i = class e {
|
|
10
10
|
static {
|
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.3
|
|
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 "./PpS5wqbPAZ9D3W7c.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.3
|
|
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 "./mlCt7xhd97xcwrEr.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.3
|
|
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 "./OkoETXoPSSH3gQxa.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.3
|
|
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 n, E as s, G as a, J as l, K as i, L as c, P as d, Q as m, R as p, S as f, U as h, W as g, Z as y, _ as x, a as v, b as w, c as S, f as b, h as C, i as k, j as T, k as I, l as M, m as R, n as F, o as A, r as L, s as _, t as P, tt as N, u as D, w as E, y as B } from "./
|
|
8
|
+
import { A as r, C as n, E as s, G as a, J as l, K as i, L as c, P as d, Q as m, R as p, S as f, U as h, W as g, Z as y, _ as x, a as v, b as w, c as S, f as b, h as C, i as k, j as T, k as I, l as M, m as R, n as F, o as A, r as L, s as _, t as P, tt as N, u as D, w as E, y as B } from "./OkoETXoPSSH3gQxa.mjs";
|
|
9
9
|
import { AddressUtils as O, BufferUtils as $, Color as W, CommonUtils as V, CoordUtils as z, FormulaError as j, FormulaText as U, IColor as X, ICondition as H, IConditionalFormat as q, IEffect as G, IFill as J, ISheet as K, IStroke as Y, IStyle as Z, ITextFrame as Q, LicenseManager as tt, NumberFormat as et, ScalarType as rt } from "@sheetxl/sdk";
|
|
10
10
|
import { BlobWriter as ot, TextReader as nt, Uint8ArrayReader as st, Uint8ArrayWriter as at, ZipWriter as lt } from "@zip.js/zip.js";
|
|
11
11
|
var it = "resourcesById", ct = 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.3
|
|
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 "./mlCt7xhd97xcwrEr.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,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.3
|
|
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, g as h, x 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 "./CCD1vEduHhKax_d_.mjs";
|
|
8
|
+
import { b as u, g as h, x as p } from "./OkoETXoPSSH3gQxa.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.3
|
|
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.3
|
|
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 p, F as d, G as f, H as g, I as m, J as x, K as y, M as b, N as T, O as v, Q as w, R as S, T as C, X as A, Y as O, Z as E, d as P, et as I, g as D, i as _, nt as V, p as L, q as N, s as $, v as R, x as j, y as M, z as B } 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 "./CCD1vEduHhKax_d_.mjs";
|
|
8
|
+
import { $ as u, D as p, F as d, G as f, H as g, I as m, J as x, K as y, M as b, N as T, O as v, Q as w, R as S, T as C, X as A, Y as O, Z as E, d as P, et as I, g as D, i as _, nt as V, p as L, q as N, s as $, v as R, x as j, y as M, z as B } from "./OkoETXoPSSH3gQxa.mjs";
|
|
9
9
|
import { BufferUtils as H, CommonUtils as F, ExpectedError as W } from "@sheetxl/utils";
|
|
10
10
|
import { AddressUtils as z, CommonUtils as X, CoordUtils as q, FormulaError as U, ICondition as G, IConditionalFormat as K, IRange as Z, OutOfBoundsError as J, ResourceCollection as Q, Theme as Y, Tuple as tt, Workbook as et } from "@sheetxl/sdk";
|
|
11
11
|
import { BlobReader as st, Uint8ArrayReader as ot, Uint8ArrayWriter as rt, ZipReader as it } from "@zip.js/zip.js";
|
|
@@ -2809,7 +2809,7 @@ var de = (t) => !0 === t || "1" === t || "on" === t || "true" === t || !1 !== t
|
|
|
2809
2809
|
N += t;
|
|
2810
2810
|
const e = Math.min(V, Math.round(N / L * V));
|
|
2811
2811
|
D(e, V);
|
|
2812
|
-
} : void 0, j = import("./
|
|
2812
|
+
} : void 0, j = import("./DOXXVsfrZi_6L0V7.mjs");
|
|
2813
2813
|
let M = null;
|
|
2814
2814
|
try {
|
|
2815
2815
|
M = new DOMParser();
|
|
@@ -3264,7 +3264,7 @@ var de = (t) => !0 === t || "1" === t || "on" === t || "true" === t || !1 !== t
|
|
|
3264
3264
|
}, yt.length > 0 && (Vt.strings = yt), gt && gt.length > 0 && (Vt.people = gt);
|
|
3265
3265
|
const Lt = tt.getEntry("xl/vbaProject.bin");
|
|
3266
3266
|
if (Lt) try {
|
|
3267
|
-
const { VBAProject: t } = await import("./
|
|
3267
|
+
const { VBAProject: t } = await import("./CsTuNxyS02vBz0Tk.mjs"), e = t.extract(Lt);
|
|
3268
3268
|
if (e) {
|
|
3269
3269
|
const s = /* @__PURE__ */ new Map();
|
|
3270
3270
|
for (const t of Vt.sheets ?? []) {
|
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.3
|
|
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("./A5sK8gK9ymQOyChG.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("./TERvDGVSsvCefEiX.mjs"), { tier: "common" }), i = e("io-xlsx:writer", () => import("./CJGTDWKH_yrWAW8o.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.3",
|
|
61
61
|
description: "XLSX I/O formats for SheetXL",
|
|
62
62
|
author: "SheetXL",
|
|
63
63
|
async register(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.3
|
|
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/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.3",
|
|
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.3",
|
|
49
|
+
"@sheetxl/utils": "^0.8.0-beta.3",
|
|
50
50
|
"@xmldom/xmldom": "^0.9.10",
|
|
51
51
|
"@zip.js/zip.js": "^2.8.34",
|
|
52
52
|
"web-streams-polyfill": "^4.3.0",
|