@sheetxl/sdk 0.3.22 → 0.4.0
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/{CbAPibYJOEGAEEgW.cjs → B4A2fsvAbIb4V9_q.cjs} +1 -1
- package/browser/cjs/{DRRZLKjjkmbYQeT0.cjs → BBX-IT1XllS0Umbe.cjs} +1 -1
- package/browser/cjs/{DFgZKyFjppILLP_Y.cjs → BFEGuXE63nPI2s8w.cjs} +1 -1
- package/browser/cjs/{BYstpWcxFNw8XpjM.cjs → BHAjLaN9WhUGAPOU.cjs} +2 -2
- package/browser/cjs/{BVw1OETGailxQxRw.cjs → BNt4CC7bL-VvSnzu.cjs} +1 -1
- package/browser/cjs/{CuFV6qjh42XlfiFG.cjs → BWH96fHB4xskRAfv.cjs} +1 -1
- package/browser/cjs/{Cxw0FkZAlJPPnMqJ.cjs → BYmkFJOPnSMEb6Gl.cjs} +2 -2
- package/browser/cjs/{srVEne2rukVl5bm8.cjs → BcfntBl44bkEmWi8.cjs} +1 -1
- package/browser/cjs/{DTrd-8c9cBU6LwfW.cjs → BipTkzhVN8JGFTkA.cjs} +1 -1
- package/browser/cjs/{CFLfAUol-8MmrvT7.cjs → C-5qTCPsJtSw9OHs.cjs} +1 -1
- package/browser/cjs/{C4wAZAV-aLgqCM0a.cjs → C8SCq49zdnDmEiXP.cjs} +1 -1
- package/browser/cjs/{B2Kw__L07mQKlvwY.cjs → CDIHIVDXmz8bF-Xf.cjs} +1 -1
- package/browser/cjs/{D7NrJ7DIMOlsJGLl.cjs → CGAGTp40a_sD1njE.cjs} +1 -1
- package/browser/cjs/{C3cD7W-67rGp9MY7.cjs → CHw00rJLc-ujoBvT.cjs} +1 -1
- package/browser/cjs/{ULDpsN97KvthlWGB.cjs → CVLxKCk3hiQXjhqc.cjs} +3 -3
- package/browser/cjs/{Cl4bfZKfErdF6tjS.cjs → CWpKxINoACQvW8E5.cjs} +1 -1
- package/browser/cjs/{DvaMjOJLf9vV6tRB.cjs → CosqZ_hWdCxk7SMj.cjs} +1 -1
- package/browser/cjs/{DaUxNbhxByf5hjcv.cjs → D8BHKLZq9YY0w98C.cjs} +1 -1
- package/browser/cjs/{BPaGZ_OFczEipj14.cjs → DBrrphlVlxAju2k7.cjs} +1 -1
- package/browser/cjs/{D4pagGBGwdhk4I9X.cjs → DKq4jVatfH3cumG1.cjs} +1 -1
- package/browser/cjs/{u0lsZWUlS7q9h15v.cjs → DLVBim-QEcrElced.cjs} +1 -1
- package/browser/cjs/{CvWb_BKJinfcFGp_.cjs → DN6JBolpV4-qwXSu.cjs} +4 -4
- package/browser/cjs/{1f0uk0hGu8m4Rg0-.cjs → DN_XspKcj2gUpxnF.cjs} +1 -1
- package/browser/cjs/{CbY0nlOFTtgsjsrr.cjs → FnR6xP8fKyDDX1Uc.cjs} +4 -4
- package/browser/cjs/{Bg1zJPhN8VVnux38.cjs → LaBGhxocGudZ7brn.cjs} +1 -1
- package/browser/cjs/{BdEVrMYww9YMYi0L.cjs → N0meaJt6-pzC9CzN.cjs} +4 -4
- package/browser/cjs/{CXd1xJjypf-D9fFc.cjs → ZXbI075A4cgFZ95H.cjs} +2 -2
- package/browser/cjs/{CsZzMyzkvnw0v-AO.cjs → gB1BJuxqR9P-YPt2.cjs} +1 -1
- package/browser/cjs/index.cjs +2 -2
- package/browser/cjs/{DtDXcYf7Q1Rz6EnU.cjs → jGyYAJXRiGXZL0pT.cjs} +1 -1
- package/browser/cjs/{DSCiWml_v-tD5xyO.cjs → pi1IJi3i4DJrAIUY.cjs} +1 -1
- package/browser/cjs/{CS0Gtir1_j6-v-2v.cjs → r_XF3iJGiJQllTDO.cjs} +1 -1
- package/browser/cjs/{D9kpcn32aSFaUQGz.cjs → s6-g_8x06St1pLv7.cjs} +1 -1
- package/browser/cjs/{zEMCl9lZOzy3q6ai.cjs → uiIz-PZQGHoxfa7W.cjs} +2 -2
- package/browser/esm/{mnsfotmGTykSx_Wv.mjs → 2FUxSVTp-Vh9f1RE.mjs} +2 -2
- package/browser/esm/{B7gzgwA2Lc4fUec0.mjs → 6gnck8zMmangwzsW.mjs} +1 -1
- package/browser/esm/{BxfT_oz1Qu0LGd9m.mjs → 7hJKwHjPluf5-rLv.mjs} +1 -1
- package/browser/esm/{CntreoSezOQxHYpz.mjs → 92CDm_AeNxW4bLPz.mjs} +1 -1
- package/browser/esm/{CEfynWP4cLHkAJq5.mjs → B82zwfP3df3U0PUf.mjs} +1 -1
- package/browser/esm/{Cs0QxUFbKb7opjZE.mjs → BUt5cYR65jN4uroB.mjs} +1 -1
- package/browser/esm/{8EqSLteRyBAlC_Cd.mjs → BZeAfSYKh7fGgEfC.mjs} +1 -1
- package/browser/esm/{S91IjvhyomFGmA-L.mjs → Bj7pYg3-Blb0CxKC.mjs} +1 -1
- package/browser/esm/{BmV6tQRCAmuzEqGa.mjs → BmVXfzcf58ZrkraV.mjs} +1 -1
- package/{node/esm/G1N7WeORp7P8LRA1.mjs → browser/esm/BvxrF262ZeCgpIGI.mjs} +1 -1
- package/browser/esm/{D4hBFmkk1hfzM5hl.mjs → Bzc5qReca7IXTHng.mjs} +1 -1
- package/browser/esm/{puKSElnU99osCgd_.mjs → C-2WiG3pp3lqI4DY.mjs} +1 -1
- package/browser/esm/{1gT3mNFopG-JiMnb.mjs → CAfElYCAEjf5atkA.mjs} +8 -8
- package/browser/esm/{BNPTqXxIcDAKU-Oi.mjs → CDF8Ubi1yPtYGeH6.mjs} +2 -2
- package/browser/esm/{Dsmyy8aAJpddzDd1.mjs → CNSqPcI5iO_e-2hl.mjs} +2 -2
- package/{node/esm/CQri0O9Wl9CXX_08.mjs → browser/esm/Ci9estpE_Zk4N9K4.mjs} +1 -1
- package/{node/esm/C7VewVQBFhYeaoC9.mjs → browser/esm/DBqYyFJxTR7Dun-x.mjs} +1 -1
- package/browser/esm/{DC-WwcwgF_R-N-8m.mjs → DCDOZCduudPzXY6a.mjs} +4 -4
- package/browser/esm/{8K7GTQXP1bN_2KHF.mjs → DJz0LEgzQ1ig0Z0p.mjs} +1 -1
- package/browser/esm/{BWL_v2jPFLTbZFEE.mjs → DKTzrLaiAyYu8-SZ.mjs} +1 -1
- package/browser/esm/{BHv_anqecpN8E7p1.mjs → DQ6QuN7TsrCUMmOC.mjs} +4 -4
- package/{node/esm/By_6puO1VM4GnFY1.mjs → browser/esm/DU9_HWN1HBBDCkjG.mjs} +1 -1
- package/browser/esm/{yH6w96kSqjmzbIKK.mjs → DUOHY-sRmbpJUttJ.mjs} +1 -1
- package/browser/esm/{uECx54xa6bhDWMAg.mjs → DZEc1c958XaYR_ma.mjs} +1 -1
- package/browser/esm/{Ey9JGp64VQDQ6DYX.mjs → DdADFqyRT3RzY5FP.mjs} +1 -1
- package/browser/esm/{BCto4C7Sfxvt6AgN.mjs → DjAMMpaPB-EAZ16i.mjs} +3 -3
- package/{node/esm/BWsAuL84R8rJ-31G.mjs → browser/esm/DuuIHljq5-AW7sJQ.mjs} +1 -1
- package/browser/esm/{b1sETOdSGvsbikgl.mjs → N-PVKpVpUqljV38P.mjs} +2 -2
- package/{node/esm/CuIBJXnBpnlX4Xvs.mjs → browser/esm/NGjNBhkRgc3QjlZM.mjs} +1 -1
- package/browser/esm/{B79Twip-WwMEWLvO.mjs → VCbAZo0xtCwBFFeZ.mjs} +1 -1
- package/browser/esm/{DFSFDmwmgK2wGds8.mjs → eDhcmPcVXDpg0qsc.mjs} +1 -1
- package/browser/esm/index.mjs +2 -2
- package/browser/esm/{B4tYr4G7g64_5Att.mjs → jvjjaqY04sRoBmkQ.mjs} +1 -1
- package/{node/esm/gCIjLVbrKPmVqAm0.mjs → browser/esm/l9YdlxTRTOfx-LU1.mjs} +1 -1
- package/licenses/dependencies.txt +3 -3
- package/node/esm/{Dt8xq0XMfXT4WSqX.mjs → 7V5xM9qeciueEeH7.mjs} +1 -1
- package/node/esm/{CEfynWP4cLHkAJq5.mjs → B82zwfP3df3U0PUf.mjs} +1 -1
- package/node/esm/{DC6Pj99pZGQfgm8U.mjs → B867JccswXNA3ThO.mjs} +1 -1
- package/node/esm/{ZPLvtABeyksfoUJQ.mjs → B8U-bSkCAnNRcbVj.mjs} +1 -1
- package/node/esm/{MHhBhA9x-aZmx8VZ.mjs → BI8UdSqr1NS5Is8D.mjs} +1 -1
- package/node/esm/BgKt_fc-xXAPEbQs.mjs +80 -0
- package/node/esm/{UfekByuuIRjy7UOU.mjs → Bge7vCcF0haUj0as.mjs} +2 -2
- package/node/esm/{BC-mWqyF21qPo3aI.mjs → Bk-ZaiVRrrgRyACO.mjs} +4 -4
- package/node/esm/{BHRgF6crT70r4Wbc.mjs → BklicPg-hJMGxUNB.mjs} +1 -1
- package/node/esm/{BmV6tQRCAmuzEqGa.mjs → BmVXfzcf58ZrkraV.mjs} +1 -1
- package/{browser/esm/G1N7WeORp7P8LRA1.mjs → node/esm/BvxrF262ZeCgpIGI.mjs} +1 -1
- package/node/esm/{puKSElnU99osCgd_.mjs → C-2WiG3pp3lqI4DY.mjs} +1 -1
- package/node/esm/{CPUmSFXjuONJmHFi.mjs → CAp3lQKff8NV66wA.mjs} +1 -1
- package/{browser/esm/CQri0O9Wl9CXX_08.mjs → node/esm/Ci9estpE_Zk4N9K4.mjs} +1 -1
- package/node/esm/{D_CuoPsQtDgQGoBi.mjs → CynzJJZIWRI7fnqD.mjs} +1 -1
- package/node/esm/{BQd4whHHgD08M6f1.mjs → DAzsr83zlJ_wEILD.mjs} +1 -1
- package/{browser/esm/C7VewVQBFhYeaoC9.mjs → node/esm/DBqYyFJxTR7Dun-x.mjs} +1 -1
- package/node/esm/{BWL_v2jPFLTbZFEE.mjs → DKTzrLaiAyYu8-SZ.mjs} +1 -1
- package/node/esm/{LT0sixxJ54ZEu4ev.mjs → DOG2uUrI2V_GGFHM.mjs} +1 -1
- package/{browser/esm/By_6puO1VM4GnFY1.mjs → node/esm/DU9_HWN1HBBDCkjG.mjs} +1 -1
- package/node/esm/{yH6w96kSqjmzbIKK.mjs → DUOHY-sRmbpJUttJ.mjs} +1 -1
- package/node/esm/{TZjaMgaLpHwKrgl2.mjs → DYulZFq-bDD8zWZa.mjs} +2 -2
- package/node/esm/{uECx54xa6bhDWMAg.mjs → DZEc1c958XaYR_ma.mjs} +1 -1
- package/node/esm/{Ey9JGp64VQDQ6DYX.mjs → DdADFqyRT3RzY5FP.mjs} +1 -1
- package/node/esm/{BO3od-D1DWEGSUF2.mjs → DpbjQXYqstip1WzC.mjs} +1 -1
- package/{browser/esm/BWsAuL84R8rJ-31G.mjs → node/esm/DuuIHljq5-AW7sJQ.mjs} +1 -1
- package/{browser/esm/CuIBJXnBpnlX4Xvs.mjs → node/esm/NGjNBhkRgc3QjlZM.mjs} +1 -1
- package/node/esm/{Ck-PPaJmeyndjer0.mjs → UvBcNfr5IuovoBH2.mjs} +2 -2
- package/node/esm/{B79Twip-WwMEWLvO.mjs → VCbAZo0xtCwBFFeZ.mjs} +1 -1
- package/node/esm/{DFSFDmwmgK2wGds8.mjs → eDhcmPcVXDpg0qsc.mjs} +1 -1
- package/node/esm/index.mjs +7 -7
- package/{browser/esm/gCIjLVbrKPmVqAm0.mjs → node/esm/l9YdlxTRTOfx-LU1.mjs} +1 -1
- package/package.json +4 -4
- package/node/esm/CfQQOSrr7n6Sa3LC.mjs +0 -80
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.
|
|
2
|
+
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.4.0
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-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
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.
|
|
2
|
+
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.4.0
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
6
|
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});let c=class{constructor(e){this._worker=null,this._nextId=1,this._pendingRequests=new Map,this._workerFactory=e}start(){if(typeof Worker>"u")throw new Error("Web Workers are not supported in this environment.");return this._worker||(this._worker=this._workerFactory(),this._worker.onmessage=e=>{const{id:n,result:t,error:r}=e.data,o=this._pendingRequests.get(n);if(o)if(this._pendingRequests.delete(n),r){const i=new Error(r.message);i.stack=r.stack,r.cause&&(i.cause=r.cause),o.reject(i)}else o.resolve(t)},this._worker.onerror=e=>{console.error("Worker error:",e),this._pendingRequests.forEach(n=>{n.reject(new Error(`Worker failed: ${e.message}`))}),this._pendingRequests.clear(),this._worker=null}),Promise.resolve()}execute(e){if(!this._worker)throw new Error("Worker is not initialized. Call start() first.");const n=this._nextId++;return new Promise((t,r)=>{this._pendingRequests.set(n,{resolve:t,reject:r}),this._worker.postMessage({id:n,params:e})})}terminate(){this._worker&&(this._worker.terminate(),this._worker=null)}};class u{constructor(n){this._onExecute=n}execute(n){return this._onExecute(n)}start(){return Promise.resolve()}terminate(){}}const s=`/**
|
|
7
|
-
* @license @sheetxl/primitives - Primitives - Base types for SheetXL functions. - v0.
|
|
7
|
+
* @license @sheetxl/primitives - Primitives - Base types for SheetXL functions. - v0.4.0
|
|
8
8
|
*
|
|
9
9
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
10
10
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -223,7 +223,7 @@ var v;
|
|
|
223
223
|
return n = typeof e == "string" ? tt.get(e) : rt.get(e), n || (n = v.Unknown), new n(t, r);
|
|
224
224
|
}, v.getBuiltInById = (e) => Te.get(e) || Et;
|
|
225
225
|
/**
|
|
226
|
-
* @license @sheetxl/utils - Utils - Utilities used by most SheetXL components. - v0.
|
|
226
|
+
* @license @sheetxl/utils - Utils - Utilities used by most SheetXL components. - v0.4.0
|
|
227
227
|
*
|
|
228
228
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
229
229
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1498,4 +1498,4 @@ var or = /* @__PURE__ */ Object.freeze({
|
|
|
1498
1498
|
__proto__: null,
|
|
1499
1499
|
initialize: nr
|
|
1500
1500
|
});
|
|
1501
|
-
`,a=typeof self<"u"&&self.Blob&&new Blob(["URL.revokeObjectURL(import.meta.url);",s],{type:"text/javascript;charset=utf-8"});function d(e){let n;try{if(n=a&&(self.URL||self.webkitURL).createObjectURL(a),!n)throw"";const t=new Worker(n,{type:"module",name:e?.name});return t.addEventListener("error",()=>{(self.URL||self.webkitURL).revokeObjectURL(n)}),t}catch{return new Worker("data:text/javascript;charset=utf-8,"+encodeURIComponent(s),{type:"module",name:e?.name})}}const l=async()=>{const{compileModule:e}=await Promise.resolve().then(()=>require("./
|
|
1501
|
+
`,a=typeof self<"u"&&self.Blob&&new Blob(["URL.revokeObjectURL(import.meta.url);",s],{type:"text/javascript;charset=utf-8"});function d(e){let n;try{if(n=a&&(self.URL||self.webkitURL).createObjectURL(a),!n)throw"";const t=new Worker(n,{type:"module",name:e?.name});return t.addEventListener("error",()=>{(self.URL||self.webkitURL).revokeObjectURL(n)}),t}catch{return new Worker("data:text/javascript;charset=utf-8,"+encodeURIComponent(s),{type:"module",name:e?.name})}}const l=async()=>{const{compileModule:e}=await Promise.resolve().then(()=>require("./DN6JBolpV4-qwXSu.cjs")),n=new u(t=>e(t));return await n.start(),n};exports.createCompilerWorker=async function(){if(typeof process<"u"&&process.versions?.node&&typeof Worker>"u")return await l();if(typeof Worker<"u"){const e=new c(()=>new d);try{return await e.start(),e}catch(n){console.error("Failed to start TypescriptCompiler worker reverting to fallback:",n)}}return await l()};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.
|
|
2
|
+
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.4.0
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -10,4 +10,4 @@ Please use Chrome or Edge if external copy and paste is required.`,k=`You do not
|
|
|
10
10
|
All copy and paste operations will be limited to the browser tab.`,jt={Safari:`The Safari browser does not support advanced copy and paste.
|
|
11
11
|
Copy and paste will be limited to within the browser tab.
|
|
12
12
|
|
|
13
|
-
Please use Chrome or Edge if external copy and paste is required.`,Perms:k,PermsWrite:T()===y.Safari?ut:k,PermsRead:T()===y.Safari?ut:k},N=async()=>new Promise(e=>{document.hasFocus()?e():globalThis.addEventListener?.("focus",()=>{e()},{once:!0}),document.activeElement.focus?.()}),B=async(e,t,r)=>{if(T()===y.Safari)return await r(new Error(jt.Safari));try{const n=async i=>{try{return await i()}catch(l){if(l.message?.includes("Document is not focused"))return!1;throw l}},o=await globalThis?.navigator?.permissions?.query({name:e,allowWithoutGesture:!0,allowWithoutSanitization:!0});let a=!1;if(o.state==="prompt"&&(a=await n(t)),a||o.state!=="granted"||(a=await t()),!a)return await r(new Error(o.state))}catch(n){return n.message==="No valid data on clipboard"||n.name==="DataError"?void 0:await r(n)}},Tt=async e=>{try{return await e.read({unsanitized:[h]})}catch{}return await e.read()};if(!globalThis.ClipboardItem){const e=(r,n)=>new Blob([n],{type:r});class t{constructor(n,o){this._items={},this._types=Object.keys(n);const a={},i=Object.keys(n);for(let l=0;l<i.length;l++){const s=i[l];let c=n[s];a[s]=typeof c=="string"?e(s,c):c}this._items=a,this._presentationStyle=o?.presentationStyle??"unspecified"}get types(){return this._types}getType(n){return Promise.resolve(this._items[n])}supports(n){return!0}}globalThis.ClipboardItem=t}const V=async(e,t=h)=>new Promise(async(r,n)=>{try{const o=await(async(a,i)=>{if(!a)return null;const l=await Tt(a);let s=!1;for(let c=0;!s&&l&&c<l.length;c++)if(s=l[c].types.includes(i),s)return await l[c].getType(i);return s?void 0:null})(e,t);if(o){const a=new FileReader;a.onload=()=>{r(a.result)},a.onerror=()=>{r("")},a.readAsText(o)}else r("")}catch(o){n(o)}}),dt=async(e,t=h)=>{const r=await V(e,t);if(!r)return null;let n=null;try{n=new DOMParser().parseFromString(r,h)}catch{console.warn("Can't parse html from clipboard.")}return n},C="clipboard-uuid",v="web text/uuid",ft=e=>`<div style="display:none" ${C}="${e}"/>`,Wt=(e,t)=>{let r=null;try{const n=new DOMParser().parseFromString(t,h);n.body.firstElementChild.setAttribute(C,e),r=n.getElementsByTagName("body")[0].innerHTML}catch(n){console.warn("Can't embed uuid.",n)}return r},pt=(e,t)=>{if(!t||!e)return!1;try{const r=t.querySelectorAll(`[${C}="${e}"]`);if(r&&r.length===1)return!0;if(t.querySelector("parsererror"))throw new Error("We are unable to parse node");return!1}catch{return!1}};class wt{constructor(t){if(t?.nativeClipboard===void 0||t?.nativeClipboard===!0)try{this._nativeClipboard=globalThis?.navigator.clipboard}catch{t?.nativeClipboard===!0&&console.warn("NativeClipboard option set to true but no native clipboard available.")}else this._nativeClipboard=t?.nativeClipboard===!1?null:t?.nativeClipboard;this._disableCheckOnFocus=t?.disableCheckOnFocus??!1,this._init()}async _checkForChanges(){this._nativeClipboard&&this._state&&!this._disableCheckOnFocus&&await B("clipboard-read",async()=>{await N();const t=await V(this._nativeClipboard,v);if(!this._state||t&&t===this._state.uuid)return!0;const r=await dt(this._nativeClipboard,h);return!this._state||(pt(this._state.uuid,r)||this.clear(),!0)},async t=>{t?.message==="denied"||t.message?.includes("Document is not focused")||T()===y.Safari||console.warn("Unable to detect clipboard changes: ",t)})}_init(){const t=this;this._listeners=new Map,this._listenersCapture=new Map,this._state=null,this._nativeClipboard&&(this._onFocus=()=>{t._checkForChanges()},this._onBlur=()=>{globalThis.addEventListener?.("focus",t._onFocus,{once:!0})},globalThis.addEventListener?.("blur",this._onBlur),this._nativeClipboard.addEventListener("clipboardchange",r=>{t._checkForChanges()}))}async read(){if(!this._nativeClipboard)return this._state?.items??null;const t=this;return await B("clipboard-read",async()=>{if(await N(),this._state?.uuid){const r=await V(this._nativeClipboard,v);if(r&&r===t._state.uuid)return!0;const n=await dt(this._nativeClipboard,h);if(pt(t._state?.uuid,n))return!0}return t._state={items:await Tt(this._nativeClipboard),uuid:null,ref:null},this.dispatchEvent(new Event("clipboardread")),!0},async r=>{this.dispatchEvent(new Event("clipboarderrorread"))}),this._state?.items??[]}async write(t){return this._write({uuid:R(),items:t,ref:null})}async _write(t){if(!this._nativeClipboard)return this._state=t,this.dispatchEvent(new Event("clipboardwrite")),this.dispatchEvent(new Event("clipboardchange")),null;const r=this,n=[],o=t.uuid;let a=t.items??[];const i=()=>{r._state={uuid:o,ref:t.ref,items:n},r.dispatchEvent(new Event("clipboardwrite")),r.dispatchEvent(new Event("clipboardchange"))};await B("clipboard-write",async()=>{await N(),o&&a.length===0&&(a.push(new ClipboardItem({[v]:new Blob([o],{type:v})})),a.push(new ClipboardItem({[h]:new Blob([ft(o)],{type:h})})));for(let l=0;l<Math.min(1,a.length);l++){const s=a[l];let c=s.types.indexOf(h),d=null;if(c!==-1){const f=await s.getType(h);d=await W(f),d&&(d=Wt(o,d))}if(!d&&s.types.includes(b)){const f=await s.getType(b);if(f){let p=null;typeof f=="string"?(console.warn("text as string",f),p=f):p=await W(f),p&&(d=`<div ${C}="${o}">${p}</div>`)}}if(!d&&s.types.includes(L)){const f=await s.getType(L),p=_t(await f.arrayBuffer());d=`<div ${C}="${o}"><img src="${Ot+p}"/></div>`}!d&&o&&(d=ft(o));const w=new Blob([d??""],{type:h}),u={};for(let f=0;f<s.types.length;f++){const p=s.types[f];u[p]=f===c?w:s.getType(p)}d&&c===-1&&(u[h]=w),o&&(u[v]=new Blob([o],{type:v})),n.push(new ClipboardItem(u))}try{n&&n.length!==0?await this._nativeClipboard.write(n):await(async l=>{l&&await l.writeText("")})(this._nativeClipboard)}catch(l){l.message?.includes("Document is not focused")||console.warn("Unable to write to native clipboard: ",l)}return i(),!0},async l=>{this.dispatchEvent(new Event("clipboarderrorwrite")),i()})}async writeReference(t){if(!t)return void this.clear();let r=null;const n={};try{const a=await t.toText?.()??null;a&&(n[b]=new Blob([a??""],{type:b}))}catch(a){r=a}try{const a=await t.toHtml?.()??null;a&&(n[h]=new Blob([a],{type:h}))}catch(a){r=a,console.warn("export to html",a)}try{const a=await t.toImage?.()??null;a&&(n[L]=a)}catch(a){r=a,console.warn("export to png",a)}const o=this._write({uuid:R(),ref:t,items:Object.keys(n).length>0?[new ClipboardItem(n)]:null});if(r)throw r;return o}clear(t=!1){this._state&&(this._state=null,t&&this._write({uuid:null,ref:null,items:null}),this.dispatchEvent(new Event("clipboardwrite")),this.dispatchEvent(new Event("clipboardchange")))}async readReference(){return await this.read(),this._state?.ref??null}readText(){return new Promise(async(t,r)=>{const n=await this.read();let o=null;for(let i=0;!o&&n&&i<n.length;i++)n[i].types.includes(b)&&(o=await n[i].getType(b));if(!o)return void t("");const a=new FileReader;a.onload=()=>{t(a.result)},a.readAsText(o),a.onerror=i=>{r(i)}})}async writeText(t){const r=[new ClipboardItem({[b]:new Blob([t],{type:b})})];return this._write({uuid:R(),items:r,ref:null})}addEventListener(t,r,n={}){const o=n?.capture?this._listenersCapture:this._listeners;let a=o.get(t);a||(a=new Map,o.set(t,a)),a.set(r,typeof n=="boolean"?{}:n)}dispatchEvent(t){if(!t)return;const r=n=>{const o=n.get(t.type);o&&o.forEach((a,i)=>{try{typeof i=="function"?i(t):i.handleEvent&&i.handleEvent(t),a.once&&o.delete(i)}catch(l){console.warn(l)}})};return r(this._listenersCapture),r(this._listeners),!0}removeEventListener(t,r,n){const o=n?.capture?this._listenersCapture:this._listeners,a=o.get(t);a&&(a.delete(r),a.size===0&&o.delete(t))}close(){globalThis.removeEventListener?.("focus",this._onFocus),globalThis.removeEventListener?.("blur",this._onBlur)}}var z;(z=wt||(wt={})).ErrorMessages=jt,z.Global=new z;let ht=null,q=null,M=null;const Vt=Object.freeze({compileTypescript:async function(e){if(!e?.source)return null;if(q&&xt.deepEqual(q,e))return ht;const t=await async function(){if(M)return M;const{TypeScriptCompiler:n}=await Promise.resolve().then(()=>require("./
|
|
13
|
+
Please use Chrome or Edge if external copy and paste is required.`,Perms:k,PermsWrite:T()===y.Safari?ut:k,PermsRead:T()===y.Safari?ut:k},N=async()=>new Promise(e=>{document.hasFocus()?e():globalThis.addEventListener?.("focus",()=>{e()},{once:!0}),document.activeElement.focus?.()}),B=async(e,t,r)=>{if(T()===y.Safari)return await r(new Error(jt.Safari));try{const n=async i=>{try{return await i()}catch(l){if(l.message?.includes("Document is not focused"))return!1;throw l}},o=await globalThis?.navigator?.permissions?.query({name:e,allowWithoutGesture:!0,allowWithoutSanitization:!0});let a=!1;if(o.state==="prompt"&&(a=await n(t)),a||o.state!=="granted"||(a=await t()),!a)return await r(new Error(o.state))}catch(n){return n.message==="No valid data on clipboard"||n.name==="DataError"?void 0:await r(n)}},Tt=async e=>{try{return await e.read({unsanitized:[h]})}catch{}return await e.read()};if(!globalThis.ClipboardItem){const e=(r,n)=>new Blob([n],{type:r});class t{constructor(n,o){this._items={},this._types=Object.keys(n);const a={},i=Object.keys(n);for(let l=0;l<i.length;l++){const s=i[l];let c=n[s];a[s]=typeof c=="string"?e(s,c):c}this._items=a,this._presentationStyle=o?.presentationStyle??"unspecified"}get types(){return this._types}getType(n){return Promise.resolve(this._items[n])}supports(n){return!0}}globalThis.ClipboardItem=t}const V=async(e,t=h)=>new Promise(async(r,n)=>{try{const o=await(async(a,i)=>{if(!a)return null;const l=await Tt(a);let s=!1;for(let c=0;!s&&l&&c<l.length;c++)if(s=l[c].types.includes(i),s)return await l[c].getType(i);return s?void 0:null})(e,t);if(o){const a=new FileReader;a.onload=()=>{r(a.result)},a.onerror=()=>{r("")},a.readAsText(o)}else r("")}catch(o){n(o)}}),dt=async(e,t=h)=>{const r=await V(e,t);if(!r)return null;let n=null;try{n=new DOMParser().parseFromString(r,h)}catch{console.warn("Can't parse html from clipboard.")}return n},C="clipboard-uuid",v="web text/uuid",ft=e=>`<div style="display:none" ${C}="${e}"/>`,Wt=(e,t)=>{let r=null;try{const n=new DOMParser().parseFromString(t,h);n.body.firstElementChild.setAttribute(C,e),r=n.getElementsByTagName("body")[0].innerHTML}catch(n){console.warn("Can't embed uuid.",n)}return r},pt=(e,t)=>{if(!t||!e)return!1;try{const r=t.querySelectorAll(`[${C}="${e}"]`);if(r&&r.length===1)return!0;if(t.querySelector("parsererror"))throw new Error("We are unable to parse node");return!1}catch{return!1}};class wt{constructor(t){if(t?.nativeClipboard===void 0||t?.nativeClipboard===!0)try{this._nativeClipboard=globalThis?.navigator.clipboard}catch{t?.nativeClipboard===!0&&console.warn("NativeClipboard option set to true but no native clipboard available.")}else this._nativeClipboard=t?.nativeClipboard===!1?null:t?.nativeClipboard;this._disableCheckOnFocus=t?.disableCheckOnFocus??!1,this._init()}async _checkForChanges(){this._nativeClipboard&&this._state&&!this._disableCheckOnFocus&&await B("clipboard-read",async()=>{await N();const t=await V(this._nativeClipboard,v);if(!this._state||t&&t===this._state.uuid)return!0;const r=await dt(this._nativeClipboard,h);return!this._state||(pt(this._state.uuid,r)||this.clear(),!0)},async t=>{t?.message==="denied"||t.message?.includes("Document is not focused")||T()===y.Safari||console.warn("Unable to detect clipboard changes: ",t)})}_init(){const t=this;this._listeners=new Map,this._listenersCapture=new Map,this._state=null,this._nativeClipboard&&(this._onFocus=()=>{t._checkForChanges()},this._onBlur=()=>{globalThis.addEventListener?.("focus",t._onFocus,{once:!0})},globalThis.addEventListener?.("blur",this._onBlur),this._nativeClipboard.addEventListener("clipboardchange",r=>{t._checkForChanges()}))}async read(){if(!this._nativeClipboard)return this._state?.items??null;const t=this;return await B("clipboard-read",async()=>{if(await N(),this._state?.uuid){const r=await V(this._nativeClipboard,v);if(r&&r===t._state.uuid)return!0;const n=await dt(this._nativeClipboard,h);if(pt(t._state?.uuid,n))return!0}return t._state={items:await Tt(this._nativeClipboard),uuid:null,ref:null},this.dispatchEvent(new Event("clipboardread")),!0},async r=>{this.dispatchEvent(new Event("clipboarderrorread"))}),this._state?.items??[]}async write(t){return this._write({uuid:R(),items:t,ref:null})}async _write(t){if(!this._nativeClipboard)return this._state=t,this.dispatchEvent(new Event("clipboardwrite")),this.dispatchEvent(new Event("clipboardchange")),null;const r=this,n=[],o=t.uuid;let a=t.items??[];const i=()=>{r._state={uuid:o,ref:t.ref,items:n},r.dispatchEvent(new Event("clipboardwrite")),r.dispatchEvent(new Event("clipboardchange"))};await B("clipboard-write",async()=>{await N(),o&&a.length===0&&(a.push(new ClipboardItem({[v]:new Blob([o],{type:v})})),a.push(new ClipboardItem({[h]:new Blob([ft(o)],{type:h})})));for(let l=0;l<Math.min(1,a.length);l++){const s=a[l];let c=s.types.indexOf(h),d=null;if(c!==-1){const f=await s.getType(h);d=await W(f),d&&(d=Wt(o,d))}if(!d&&s.types.includes(b)){const f=await s.getType(b);if(f){let p=null;typeof f=="string"?(console.warn("text as string",f),p=f):p=await W(f),p&&(d=`<div ${C}="${o}">${p}</div>`)}}if(!d&&s.types.includes(L)){const f=await s.getType(L),p=_t(await f.arrayBuffer());d=`<div ${C}="${o}"><img src="${Ot+p}"/></div>`}!d&&o&&(d=ft(o));const w=new Blob([d??""],{type:h}),u={};for(let f=0;f<s.types.length;f++){const p=s.types[f];u[p]=f===c?w:s.getType(p)}d&&c===-1&&(u[h]=w),o&&(u[v]=new Blob([o],{type:v})),n.push(new ClipboardItem(u))}try{n&&n.length!==0?await this._nativeClipboard.write(n):await(async l=>{l&&await l.writeText("")})(this._nativeClipboard)}catch(l){l.message?.includes("Document is not focused")||console.warn("Unable to write to native clipboard: ",l)}return i(),!0},async l=>{this.dispatchEvent(new Event("clipboarderrorwrite")),i()})}async writeReference(t){if(!t)return void this.clear();let r=null;const n={};try{const a=await t.toText?.()??null;a&&(n[b]=new Blob([a??""],{type:b}))}catch(a){r=a}try{const a=await t.toHtml?.()??null;a&&(n[h]=new Blob([a],{type:h}))}catch(a){r=a,console.warn("export to html",a)}try{const a=await t.toImage?.()??null;a&&(n[L]=a)}catch(a){r=a,console.warn("export to png",a)}const o=this._write({uuid:R(),ref:t,items:Object.keys(n).length>0?[new ClipboardItem(n)]:null});if(r)throw r;return o}clear(t=!1){this._state&&(this._state=null,t&&this._write({uuid:null,ref:null,items:null}),this.dispatchEvent(new Event("clipboardwrite")),this.dispatchEvent(new Event("clipboardchange")))}async readReference(){return await this.read(),this._state?.ref??null}readText(){return new Promise(async(t,r)=>{const n=await this.read();let o=null;for(let i=0;!o&&n&&i<n.length;i++)n[i].types.includes(b)&&(o=await n[i].getType(b));if(!o)return void t("");const a=new FileReader;a.onload=()=>{t(a.result)},a.readAsText(o),a.onerror=i=>{r(i)}})}async writeText(t){const r=[new ClipboardItem({[b]:new Blob([t],{type:b})})];return this._write({uuid:R(),items:r,ref:null})}addEventListener(t,r,n={}){const o=n?.capture?this._listenersCapture:this._listeners;let a=o.get(t);a||(a=new Map,o.set(t,a)),a.set(r,typeof n=="boolean"?{}:n)}dispatchEvent(t){if(!t)return;const r=n=>{const o=n.get(t.type);o&&o.forEach((a,i)=>{try{typeof i=="function"?i(t):i.handleEvent&&i.handleEvent(t),a.once&&o.delete(i)}catch(l){console.warn(l)}})};return r(this._listenersCapture),r(this._listeners),!0}removeEventListener(t,r,n){const o=n?.capture?this._listenersCapture:this._listeners,a=o.get(t);a&&(a.delete(r),a.size===0&&o.delete(t))}close(){globalThis.removeEventListener?.("focus",this._onFocus),globalThis.removeEventListener?.("blur",this._onBlur)}}var z;(z=wt||(wt={})).ErrorMessages=jt,z.Global=new z;let ht=null,q=null,M=null;const Vt=Object.freeze({compileTypescript:async function(e){if(!e?.source)return null;if(q&&xt.deepEqual(q,e))return ht;const t=await async function(){if(M)return M;const{TypeScriptCompiler:n}=await Promise.resolve().then(()=>require("./BYmkFJOPnSMEb6Gl.cjs"));return M=new n,M}(),r=await t.compileModule(e);return ht=r,q=e,r}}),Gt=Object.freeze(Object.defineProperty({__proto__:null,ScriptingUtils:Vt},Symbol.toStringTag,{value:"Module"}));exports.$t=xt,exports.index=Gt;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.
|
|
2
|
+
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.4.0
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
package/browser/cjs/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.
|
|
2
|
+
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.4.0
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
-
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./
|
|
6
|
+
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./FnR6xP8fKyDDX1Uc.cjs");Object.defineProperty(exports,"AddressUtils",{enumerable:!0,get:()=>e.AddressUtils}),exports.AnchorLocation=e.Vt,Object.defineProperty(exports,"AutoFill",{enumerable:!0,get:()=>e.AutoFill}),exports.BufferUtils=e.Xt,exports.Calculation=e.Calculation,exports.ChainedError=e.k,exports.ClipboardUtils=e.le,exports.Color=e.Color,exports.CommonMessages=e.Zt,exports.CommonUtils=e.Yt,exports.CoordUtils=e.Kt,exports.Deferred=e.ee,exports.Direction=e.Wt,exports.ExternalRangeClipboardItem=e.ExternalRangeClipboardItem,exports.FormulaContext=e.z,Object.defineProperty(exports,"FormulaError",{enumerable:!0,get:()=>e.n}),exports.GeomUtils=e.GeomUtils,Object.defineProperty(exports,"IAnchored",{enumerable:!0,get:()=>e.IAnchored}),Object.defineProperty(exports,"IAutoFilter",{enumerable:!0,get:()=>e.IAutoFilter}),Object.defineProperty(exports,"IBorder",{enumerable:!0,get:()=>e.IBorder}),Object.defineProperty(exports,"ICalculation",{enumerable:!0,get:()=>e.ICalculation}),Object.defineProperty(exports,"ICell",{enumerable:!0,get:()=>e.ICell}),Object.defineProperty(exports,"ICellHeaderRange",{enumerable:!0,get:()=>e.ICellHeaderRange}),Object.defineProperty(exports,"ICellRange",{enumerable:!0,get:()=>e.ICellRange}),Object.defineProperty(exports,"IColor",{enumerable:!0,get:()=>e.IColor}),Object.defineProperty(exports,"IConditionalFormat",{enumerable:!0,get:()=>e.IConditionalFormat}),Object.defineProperty(exports,"IFill",{enumerable:!0,get:()=>e.IFill}),Object.defineProperty(exports,"IFont",{enumerable:!0,get:()=>e.IFont}),exports.IFontCollection=e.IFontCollection,Object.defineProperty(exports,"IMovable",{enumerable:!0,get:()=>e.IMovable}),Object.defineProperty(exports,"IPicture",{enumerable:!0,get:()=>e.IPicture}),Object.defineProperty(exports,"IPrint",{enumerable:!0,get:()=>e.IPrint}),Object.defineProperty(exports,"IRange",{enumerable:!0,get:()=>e.w}),Object.defineProperty(exports,"ISheet",{enumerable:!0,get:()=>e.ISheet}),Object.defineProperty(exports,"ISheetView",{enumerable:!0,get:()=>e.ISheetView}),Object.defineProperty(exports,"ISort",{enumerable:!0,get:()=>e.ISort}),Object.defineProperty(exports,"IStyle",{enumerable:!0,get:()=>e.IStyle}),Object.defineProperty(exports,"ITableStyle",{enumerable:!0,get:()=>e.ITableStyle}),Object.defineProperty(exports,"IText",{enumerable:!0,get:()=>e.IText}),Object.defineProperty(exports,"ITextFrame",{enumerable:!0,get:()=>e.ITextFrame}),Object.defineProperty(exports,"ITheme",{enumerable:!0,get:()=>e.ITheme}),Object.defineProperty(exports,"IThemeCollection",{enumerable:!0,get:()=>e.IThemeCollection}),exports.ImageUtils=e.Qt,Object.defineProperty(exports,"InternalClipboard",{enumerable:!0,get:()=>e.ut}),exports.JSONStableStringify=e.te,exports.LicenseManager=e.LicenseManager,exports.MimeType=e.h,exports.NotImplementedError=e.ae,exports.NullNotAllowedError=e.oe,Object.defineProperty(exports,"NumberFormat",{enumerable:!0,get:()=>e.NumberFormat}),exports.Observable=e.j,exports.OutOfBoundsError=e.ne,exports.PartialError=e.re,exports.Picture=e.Picture,exports.RangeClipboardItem=e.RangeClipboardItem,exports.RangeOrientation=e.y,exports.RangeOrientations=e.Ht,exports.Resource=e.Resource,exports.ResourceCollection=e.ResourceCollection,exports.ScalarType=e.M,exports.Sheet=e.Sheet,exports.SimpleFontFace=e.SimpleFontFace,Object.defineProperty(exports,"Sort",{enumerable:!0,get:()=>e.Sort}),exports.StringCollection=e.StringCollection,exports.StubbedFormulaContext=e.I,exports.StyleCollection=e.StyleCollection,exports.Table=e.Table,exports.TextUtils=e.TextUtils,exports.Theme=e.Theme,exports.ThemeCollection=e.ThemeCollection,exports.TransactionStore=e.TransactionStore,exports.TransactionUndoManager=e.TransactionUndoManager,Object.defineProperty(exports,"Tuple",{enumerable:!0,get:()=>e.Tuple}),exports.TypedError=e.ie,Object.defineProperty(exports,"TypedObject",{enumerable:!0,get:()=>e.it}),exports.TypesUtils=e.Gt,exports.UndoManager=e.se,exports.UserError=e.$t,exports.Workbook=e.Workbook,exports.WorkbookView=e.WorkbookView;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.
|
|
2
|
+
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.4.0
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-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
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.
|
|
2
|
+
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.4.0
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-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
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.
|
|
2
|
+
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.4.0
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-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
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.
|
|
2
|
+
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.4.0
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.
|
|
2
|
+
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.4.0
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
-
*/const yt=require("./
|
|
6
|
+
*/const yt=require("./FnR6xP8fKyDDX1Uc.cjs");function kt(Y,H){for(var k=0;k<H.length;k++){const P=H[k];if(typeof P!="string"&&!Array.isArray(P)){for(const N in P)if(N!=="default"&&!(N in Y)){const Q=Object.getOwnPropertyDescriptor(P,N);Q&&Object.defineProperty(Y,N,Q.get?Q:{enumerable:!0,get:()=>P[N]})}}}return Object.freeze(Object.defineProperty(Y,Symbol.toStringTag,{value:"Module"}))}var ct,pt={exports:{}},gt=(ct||(ct=1,pt.exports=function Y(){var H,k=typeof self<"u"?self:typeof window<"u"?window:k!==void 0?k:{},P=!k.document&&!!k.postMessage,N=k.IS_PAPA_WORKER||!1,Q={},mt=0,o={};function B(t){this._handle=null,this._finished=!1,this._completed=!1,this._halted=!1,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},function(e){var i=at(e);i.chunkSize=parseInt(i.chunkSize),e.step||e.chunk||(i.chunkSize=null),this._handle=new ht(i),(this._handle.streamer=this)._config=i}.call(this,t),this.parseChunk=function(e,i){var n=parseInt(this._config.skipFirstNLines)||0;if(this.isFirstChunk&&0<n){let c=this._config.newline;c||(r=this._config.quoteChar||'"',c=this._handle.guessLineEndings(e,r)),e=[...e.split(c).slice(n)].join(c)}this.isFirstChunk&&_(this._config.beforeFirstChunk)&&(r=this._config.beforeFirstChunk(e))!==void 0&&(e=r),this.isFirstChunk=!1,this._halted=!1,n=this._partialLine+e;var r=(this._partialLine="",this._handle.parse(n,this._baseIndex,!this._finished));if(!this._handle.paused()&&!this._handle.aborted()){if(e=r.meta.cursor,this._finished||(this._partialLine=n.substring(e-this._baseIndex),this._baseIndex=e),r&&r.data&&(this._rowCount+=r.data.length),n=this._finished||this._config.preview&&this._rowCount>=this._config.preview,N)k.postMessage({results:r,workerId:o.WORKER_ID,finished:n});else if(_(this._config.chunk)&&!i){if(this._config.chunk(r,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);this._completeResults=r=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(r.data),this._completeResults.errors=this._completeResults.errors.concat(r.errors),this._completeResults.meta=r.meta),this._completed||!n||!_(this._config.complete)||r&&r.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),n||r&&r.meta.paused||this._nextChunk(),r}this._halted=!0},this._sendError=function(e){_(this._config.error)?this._config.error(e):N&&this._config.error&&k.postMessage({workerId:o.WORKER_ID,error:e,finished:!1})}}function it(t){var e;(t=t||{}).chunkSize||(t.chunkSize=o.RemoteChunkSize),B.call(this,t),this._nextChunk=P?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(i){this._input=i,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(e=new XMLHttpRequest,this._config.withCredentials&&(e.withCredentials=this._config.withCredentials),P||(e.onload=J(this._chunkLoaded,this),e.onerror=J(this._chunkError,this)),e.open(this._config.downloadRequestBody?"POST":"GET",this._input,!P),this._config.downloadRequestHeaders){var i,n=this._config.downloadRequestHeaders;for(i in n)e.setRequestHeader(i,n[i])}var r;this._config.chunkSize&&(r=this._start+this._config.chunkSize-1,e.setRequestHeader("Range","bytes="+this._start+"-"+r));try{e.send(this._config.downloadRequestBody)}catch(c){this._chunkError(c.message)}P&&e.status===0&&this._chunkError()}},this._chunkLoaded=function(){e.readyState===4&&(e.status<200||400<=e.status?this._chunkError():(this._start+=this._config.chunkSize||e.responseText.length,this._finished=!this._config.chunkSize||this._start>=(i=>(i=i.getResponseHeader("Content-Range"))!==null?parseInt(i.substring(i.lastIndexOf("/")+1)):-1)(e),this.parseChunk(e.responseText)))},this._chunkError=function(i){i=e.statusText||i,this._sendError(new Error(i))}}function rt(t){(t=t||{}).chunkSize||(t.chunkSize=o.LocalChunkSize),B.call(this,t);var e,i,n=typeof FileReader<"u";this.stream=function(r){this._input=r,i=r.slice||r.webkitSlice||r.mozSlice,n?((e=new FileReader).onload=J(this._chunkLoaded,this),e.onerror=J(this._chunkError,this)):e=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var r=this._input,c=(this._config.chunkSize&&(c=Math.min(this._start+this._config.chunkSize,this._input.size),r=i.call(r,this._start,c)),e.readAsText(r,this._config.encoding));n||this._chunkLoaded({target:{result:c}})},this._chunkLoaded=function(r){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(r.target.result)},this._chunkError=function(){this._sendError(e.error)}}function X(t){var e;B.call(this,t=t||{}),this.stream=function(i){return e=i,this._nextChunk()},this._nextChunk=function(){var i,n;if(!this._finished)return i=this._config.chunkSize,e=i?(n=e.substring(0,i),e.substring(i)):(n=e,""),this._finished=!e,this.parseChunk(n)}}function nt(t){B.call(this,t=t||{});var e=[],i=!0,n=!1;this.pause=function(){B.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){B.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(r){this._input=r,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){n&&e.length===1&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),e.length?this.parseChunk(e.shift()):i=!0},this._streamData=J(function(r){try{e.push(typeof r=="string"?r:r.toString(this._config.encoding)),i&&(i=!1,this._checkIsFinished(),this.parseChunk(e.shift()))}catch(c){this._streamError(c)}},this),this._streamError=J(function(r){this._streamCleanUp(),this._sendError(r)},this),this._streamEnd=J(function(){this._streamCleanUp(),n=!0,this._streamData("")},this),this._streamCleanUp=J(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)},this)}function ht(t){var e,i,n,r,c=Math.pow(2,53),R=-c,I=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,z=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,p=this,E=0,a=0,F=!1,u=!1,g=[],s={data:[],errors:[],meta:{}};function O(h){return t.skipEmptyLines==="greedy"?h.join("").trim()==="":h.length===1&&h[0].length===0}function C(){if(s&&n&&(M("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+o.DefaultDelimiter+"'"),n=!1),t.skipEmptyLines&&(s.data=s.data.filter(function(l){return!O(l)})),T()){let l=function(S,L){_(t.transformHeader)&&(S=t.transformHeader(S,L)),g.push(S)};if(s)if(Array.isArray(s.data[0])){for(var h=0;T()&&h<s.data.length;h++)s.data[h].forEach(l);s.data.splice(0,1)}else s.data.forEach(l)}function d(l,S){for(var L=t.header?{}:[],b=0;b<l.length;b++){var y=b,m=l[b];m=((U,f)=>(v=>(t.dynamicTypingFunction&&t.dynamicTyping[v]===void 0&&(t.dynamicTyping[v]=t.dynamicTypingFunction(v)),(t.dynamicTyping[v]||t.dynamicTyping)===!0))(U)?f==="true"||f==="TRUE"||f!=="false"&&f!=="FALSE"&&((v=>{if(I.test(v)&&(v=parseFloat(v),R<v&&v<c))return 1})(f)?parseFloat(f):z.test(f)?new Date(f):f===""?null:f):f)(y=t.header?b>=g.length?"__parsed_extra":g[b]:y,m=t.transform?t.transform(m,y):m),y==="__parsed_extra"?(L[y]=L[y]||[],L[y].push(m)):L[y]=m}return t.header&&(b>g.length?M("FieldMismatch","TooManyFields","Too many fields: expected "+g.length+" fields but parsed "+b,a+S):b<g.length&&M("FieldMismatch","TooFewFields","Too few fields: expected "+g.length+" fields but parsed "+b,a+S)),L}var w;s&&(t.header||t.dynamicTyping||t.transform)&&(w=1,!s.data.length||Array.isArray(s.data[0])?(s.data=s.data.map(d),w=s.data.length):s.data=d(s.data,0),t.header&&s.meta&&(s.meta.fields=g),a+=w)}function T(){return t.header&&g.length===0}function M(h,d,w,l){h={type:h,code:d,message:w},l!==void 0&&(h.row=l),s.errors.push(h)}_(t.step)&&(r=t.step,t.step=function(h){s=h,T()?C():(C(),s.data.length!==0&&(E+=h.data.length,t.preview&&E>t.preview?i.abort():(s.data=s.data[0],r(s,p))))}),this.parse=function(h,d,w){var l=t.quoteChar||'"';return t.newline||(t.newline=this.guessLineEndings(h,l)),n=!1,t.delimiter?_(t.delimiter)&&(t.delimiter=t.delimiter(h),s.meta.delimiter=t.delimiter):((l=((S,L,b,y,m)=>{var U,f,v,$;m=m||[","," ","|",";",o.RECORD_SEP,o.UNIT_SEP];for(var Z=0;Z<m.length;Z++){for(var K,tt=m[Z],A=0,D=0,x=0,j=(v=void 0,new st({comments:y,delimiter:tt,newline:L,preview:10}).parse(S)),W=0;W<j.data.length;W++)b&&O(j.data[W])?x++:(D+=K=j.data[W].length,v===void 0?v=K:0<K&&(A+=Math.abs(K-v),v=K));0<j.data.length&&(D/=j.data.length-x),(f===void 0||A<=f)&&($===void 0||$<D)&&1.99<D&&(f=A,U=tt,$=D)}return{successful:!!(t.delimiter=U),bestDelimiter:U}})(h,t.newline,t.skipEmptyLines,t.comments,t.delimitersToGuess)).successful?t.delimiter=l.bestDelimiter:(n=!0,t.delimiter=o.DefaultDelimiter),s.meta.delimiter=t.delimiter),l=at(t),t.preview&&t.header&&l.preview++,e=h,i=new st(l),s=i.parse(e,d,w),C(),F?{meta:{paused:!0}}:s||{meta:{paused:!1}}},this.paused=function(){return F},this.pause=function(){F=!0,i.abort(),e=_(t.chunk)?"":e.substring(i.getCharIndex())},this.resume=function(){p.streamer._halted?(F=!1,p.streamer.parseChunk(e,!0)):setTimeout(p.resume,3)},this.aborted=function(){return u},this.abort=function(){u=!0,i.abort(),s.meta.aborted=!0,_(t.complete)&&t.complete(s),e=""},this.guessLineEndings=function(h,d){h=h.substring(0,1048576),d=new RegExp(V(d)+"([^]*?)"+V(d),"gm");var w=(h=h.replace(d,"")).split("\r");if(h=1<(d=h.split(`
|
|
7
7
|
`)).length&&d[0].length<w[0].length,w.length===1||h)return`
|
|
8
8
|
`;for(var l=0,S=0;S<w.length;S++)w[S][0]===`
|
|
9
9
|
`&&l++;return l>=w.length/2?`\r
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.
|
|
2
|
+
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.4.0
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -809,7 +809,7 @@ const Vt = Object.freeze({ compileTypescript: async function(e) {
|
|
|
809
809
|
if (q && $t.deepEqual(q, e)) return ht;
|
|
810
810
|
const t = await async function() {
|
|
811
811
|
if (M) return M;
|
|
812
|
-
const { TypeScriptCompiler: n } = await import("./
|
|
812
|
+
const { TypeScriptCompiler: n } = await import("./CNSqPcI5iO_e-2hl.mjs");
|
|
813
813
|
return M = new n(), M;
|
|
814
814
|
}(), r = await t.compileModule(e);
|
|
815
815
|
return ht = r, q = e, r;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.
|
|
2
|
+
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.4.0
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-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/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.
|
|
2
|
+
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.4.0
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-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/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.
|
|
2
|
+
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.4.0
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-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/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.
|
|
2
|
+
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.4.0
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-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/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.
|
|
2
|
+
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.4.0
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-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/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.
|
|
2
|
+
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.4.0
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-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/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.
|
|
2
|
+
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.4.0
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-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/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.
|
|
2
|
+
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.4.0
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-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/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.
|
|
2
|
+
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.4.0
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-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/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.
|
|
2
|
+
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.4.0
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-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/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.
|
|
2
|
+
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.4.0
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-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/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.
|
|
2
|
+
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.4.0
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1625,7 +1625,7 @@ class Uy extends Vf {
|
|
|
1625
1625
|
}
|
|
1626
1626
|
const ko = () => {
|
|
1627
1627
|
try {
|
|
1628
|
-
return "0.
|
|
1628
|
+
return "0.4.0";
|
|
1629
1629
|
} catch {
|
|
1630
1630
|
return "";
|
|
1631
1631
|
}
|
|
@@ -14805,7 +14805,7 @@ class Vw {
|
|
|
14805
14805
|
async _initialize() {
|
|
14806
14806
|
const e = await xg._validate(!0), t = Gw();
|
|
14807
14807
|
this._calcScope = t, this._runtime = new $w(this._options, e);
|
|
14808
|
-
const { initializeBuiltIns: n } = await import("./
|
|
14808
|
+
const { initializeBuiltIns: n } = await import("./DjAMMpaPB-EAZ16i.mjs"), r = this;
|
|
14809
14809
|
return this._builtInFunctions = Object.freeze(n(() => r)), { builtInFunctions: this._builtInFunctions, calcScope: this._calcScope };
|
|
14810
14810
|
}
|
|
14811
14811
|
getBuiltInFunctions() {
|
|
@@ -14973,7 +14973,7 @@ class $w {
|
|
|
14973
14973
|
}
|
|
14974
14974
|
getVersion() {
|
|
14975
14975
|
try {
|
|
14976
|
-
const e = "0.
|
|
14976
|
+
const e = "0.4.0";
|
|
14977
14977
|
if (e.indexOf(".env.") === -1) return `${e}`;
|
|
14978
14978
|
} catch {
|
|
14979
14979
|
return "local";
|
|
@@ -15498,7 +15498,7 @@ class hf extends dr {
|
|
|
15498
15498
|
this._context = r;
|
|
15499
15499
|
const o = await r._initialize(), i = o.builtInFunctions;
|
|
15500
15500
|
this._functions = new cf({ transactions: this._transactions, context: r, readonlyFunctions: i });
|
|
15501
|
-
const a = await import("./
|
|
15501
|
+
const a = await import("./CDF8Ubi1yPtYGeH6.mjs");
|
|
15502
15502
|
this._formulaParser = new a.FormulaParser(), this._scope = o.calcScope, this._status = nt.Status.Ready, this._emitter.notify("onStatusChange"), this._emitter.notify("onReady");
|
|
15503
15503
|
} catch (e) {
|
|
15504
15504
|
throw this._status = nt.Status.Off, this._emitter.notify("onError", e), this._emitter.notify("onStatusChange"), e;
|
|
@@ -15916,7 +15916,7 @@ class Yy {
|
|
|
15916
15916
|
}
|
|
15917
15917
|
try {
|
|
15918
15918
|
const r = new ey(this._styles, this._isDate1904, n ? "HTML" : "Text"), o = await Promise.resolve(t ? ((a, l = " ") => new Promise((c, h) => {
|
|
15919
|
-
import("./
|
|
15919
|
+
import("./N-PVKpVpUqljV38P.mjs").then((u) => u.p).then((u) => {
|
|
15920
15920
|
try {
|
|
15921
15921
|
const d = u.parse(a, { delimiter: l }).data;
|
|
15922
15922
|
d.length > 1 && (d[d.length - 1].length === 0 || d[d.length - 1].length === 1 && d[d.length - 1][0].length === 0) && d.pop(), c(d);
|
|
@@ -18374,7 +18374,7 @@ class ul {
|
|
|
18374
18374
|
}
|
|
18375
18375
|
}
|
|
18376
18376
|
async function Ud() {
|
|
18377
|
-
const { getCrypto: s } = await import("./
|
|
18377
|
+
const { getCrypto: s } = await import("./7hJKwHjPluf5-rLv.mjs");
|
|
18378
18378
|
return s();
|
|
18379
18379
|
}
|
|
18380
18380
|
const Wd = async (s, e, ...t) => {
|
|
@@ -22909,7 +22909,7 @@ class Dy {
|
|
|
22909
22909
|
return this._modules;
|
|
22910
22910
|
}
|
|
22911
22911
|
async createModule(e) {
|
|
22912
|
-
const t = await import("./
|
|
22912
|
+
const t = await import("./2FUxSVTp-Vh9f1RE.mjs").then((r) => r.i), n = await t.ScriptingUtils.compileTypescript(e);
|
|
22913
22913
|
return n ? await ng(n, e?.declarationsOnly ?? !1) : null;
|
|
22914
22914
|
}
|
|
22915
22915
|
addModule(e, t, n) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as U, K as Vt, c as Pe, M as re, t as we, g as $s, Y as lt, a as Ws, b as Ke, d as Un, e as Gs, r as zs, m as Ve, f as Ks } from "./
|
|
1
|
+
import { n as U, K as Vt, c as Pe, M as re, t as we, g as $s, Y as lt, a as Ws, b as Ke, d as Un, e as Gs, r as zs, m as Ve, f as Ks } from "./CAfElYCAEjf5atkA.mjs";
|
|
2
2
|
/**
|
|
3
|
-
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.
|
|
3
|
+
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.4.0
|
|
4
4
|
*
|
|
5
5
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
6
6
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.
|
|
2
|
+
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.4.0
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -10,7 +10,7 @@ class o {
|
|
|
10
10
|
}
|
|
11
11
|
async getWorkerWrapper() {
|
|
12
12
|
if (this.workerWrapper) return this.workerWrapper;
|
|
13
|
-
const { createCompilerWorker: r } = await import("./
|
|
13
|
+
const { createCompilerWorker: r } = await import("./DCDOZCduudPzXY6a.mjs");
|
|
14
14
|
return this.workerWrapper = await r(), this.workerWrapper;
|
|
15
15
|
}
|
|
16
16
|
async compileModule(r) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.
|
|
2
|
+
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.4.0
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-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/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.
|
|
2
|
+
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.4.0
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-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/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.
|
|
2
|
+
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.4.0
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -47,7 +47,7 @@ class u {
|
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
const s = `/**
|
|
50
|
-
* @license @sheetxl/primitives - Primitives - Base types for SheetXL functions. - v0.
|
|
50
|
+
* @license @sheetxl/primitives - Primitives - Base types for SheetXL functions. - v0.4.0
|
|
51
51
|
*
|
|
52
52
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
53
53
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -266,7 +266,7 @@ var v;
|
|
|
266
266
|
return n = typeof e == "string" ? tt.get(e) : rt.get(e), n || (n = v.Unknown), new n(t, r);
|
|
267
267
|
}, v.getBuiltInById = (e) => Te.get(e) || Et;
|
|
268
268
|
/**
|
|
269
|
-
* @license @sheetxl/utils - Utils - Utilities used by most SheetXL components. - v0.
|
|
269
|
+
* @license @sheetxl/utils - Utils - Utilities used by most SheetXL components. - v0.4.0
|
|
270
270
|
*
|
|
271
271
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
272
272
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1567,7 +1567,7 @@ async function p() {
|
|
|
1567
1567
|
return await l();
|
|
1568
1568
|
}
|
|
1569
1569
|
const l = async () => {
|
|
1570
|
-
const { compileModule: e } = await import("./
|
|
1570
|
+
const { compileModule: e } = await import("./DQ6QuN7TsrCUMmOC.mjs"), n = new u((t) => e(t));
|
|
1571
1571
|
return await n.start(), n;
|
|
1572
1572
|
};
|
|
1573
1573
|
export {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.
|
|
2
|
+
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.4.0
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-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/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.
|
|
2
|
+
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.4.0
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { $ as he } from "./
|
|
1
|
+
import { $ as he } from "./2FUxSVTp-Vh9f1RE.mjs";
|
|
2
2
|
/**
|
|
3
|
-
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.
|
|
3
|
+
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.4.0
|
|
4
4
|
*
|
|
5
5
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
6
6
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -234,7 +234,7 @@ let W = null;
|
|
|
234
234
|
async function Te() {
|
|
235
235
|
if (W) return W;
|
|
236
236
|
try {
|
|
237
|
-
return await (await import("./
|
|
237
|
+
return await (await import("./92CDm_AeNxW4bLPz.mjs")).initialize();
|
|
238
238
|
} catch (e) {
|
|
239
239
|
throw W = null, e;
|
|
240
240
|
} finally {
|
|
@@ -428,7 +428,7 @@ interface Promise<T> {
|
|
|
428
428
|
g = o, m = h;
|
|
429
429
|
});
|
|
430
430
|
try {
|
|
431
|
-
const { initialize: o } = await import("./
|
|
431
|
+
const { initialize: o } = await import("./Bj7pYg3-Blb0CxKC.mjs");
|
|
432
432
|
return A = await o(), g(), A;
|
|
433
433
|
} catch (o) {
|
|
434
434
|
throw console.error("Failed to import or initialize esbuild:", o), H = null, m(o), o;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.
|
|
2
|
+
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.4.0
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-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/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.
|
|
2
|
+
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.4.0
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-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/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.
|
|
2
|
+
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.4.0
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-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/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.
|
|
2
|
+
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.4.0
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|