@sheetxl/sdk 0.1.115 → 0.1.120
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/build/LICENSE.md +11 -0
- package/build/README.md +30 -0
- package/build/browser/cjs/{CcIliks7z_TMUXOM.cjs → -u6m2t7IIo7gzZAw.cjs} +1 -1
- package/build/browser/cjs/{CpbUnis3pqWrW9H4.cjs → BMWF13UA2wUcWwbc.cjs} +2 -2
- package/build/browser/cjs/{X-HIF0659hMdI4Fu.cjs → BPfUZaDU37VGMnGA.cjs} +1 -1
- package/build/browser/cjs/{BNfn1no9QwiHEFwd.cjs → BPt9uV5Nxr9I-a7Q.cjs} +1 -1
- package/build/browser/cjs/{Dk63Co0TJejVtNXp.cjs → BSeL4nOQTQb80dpR.cjs} +1 -1
- package/build/browser/cjs/{G-xZJIN6jjcTuQXA.cjs → BY8OEpRs1spheW2j.cjs} +1 -1
- package/build/browser/cjs/{BUkgy8lQRuxtyPlh.cjs → Bbrr6wC7cO_nRvMa.cjs} +1 -1
- package/build/browser/cjs/{BqZnbFL2t1u1XgPn.cjs → BcaXK2QHGZ0Tl83z.cjs} +1 -1
- package/build/browser/cjs/{Dghi8Yq5nXZtUpoV.cjs → BvwhAUKfA6iqg0d1.cjs} +7 -7
- package/build/browser/cjs/{qhBvSFMQ_DepDCwv.cjs → C79uJ8ndrZMhXS3Q.cjs} +1 -1
- package/build/browser/cjs/{BAY6G2idlFTr3aXF.cjs → C8t0HWMpbTzI63op.cjs} +1 -1
- package/build/browser/cjs/{BJAOd8ki61yYMUO8.cjs → Ccc8Gx6JFFd2IXaL.cjs} +1 -1
- package/build/browser/cjs/{GPfZ0ZpBee250ywR.cjs → CedSq6yxuUxhZDXM.cjs} +2 -2
- package/build/browser/cjs/{Bs6xUWpBc0gC2FqH.cjs → Cp3hi1gU7F_Hkhnj.cjs} +1 -1
- package/build/browser/cjs/{IHypcrtWCiX_F0RJ.cjs → CsS8HgE17-bOyJIZ.cjs} +2 -2
- package/build/browser/cjs/{CvGHijwHYOsCppoo.cjs → D-WYCi5m2TxHZPsE.cjs} +1 -1
- package/build/browser/cjs/{B2jt9h-29UhlG-ir.cjs → D0oHdWdIYWua2WEh.cjs} +1 -1
- package/build/browser/cjs/{ErSjtO5fMJzUVHk4.cjs → D4iZyG4cJLIbbYwR.cjs} +1 -1
- package/build/browser/cjs/{Da34iNTZrWBA6OUT.cjs → D5FlRwfEgFwG0HrU.cjs} +1 -1
- package/build/browser/cjs/{DZ-H3oz78Mjq38DI.cjs → D6ZdPHlWhE7jcvcw.cjs} +1 -1
- package/build/browser/cjs/{DSNXa0HNC7bG9qZw.cjs → DJMkIdv9TbH9aFv0.cjs} +1 -1
- package/build/browser/cjs/{D5m2Wlak7m4vG0kA.cjs → D_f0B9n4SQS6Ri5Q.cjs} +1 -1
- package/build/browser/cjs/{DfMNPyGio0O0RToU.cjs → Dc01dHHa98r1T2_f.cjs} +1 -1
- package/build/browser/cjs/{AbBzPqrBe_7Scafy.cjs → DpOKca3Qz1N6oUn6.cjs} +1 -1
- package/build/browser/cjs/{BlllxPbkhoY0sEC4.cjs → Dsgv89UU2BWRAqyL.cjs} +4 -4
- package/build/browser/cjs/{B_O3B0P2cyGD9Rbm.cjs → DwMcji_OHy04YSRO.cjs} +1 -1
- package/build/browser/cjs/{BkmEUMAKvuzsSqbR.cjs → PIPbuljRRLh1EYDT.cjs} +3 -3
- package/build/browser/cjs/{CaHv2p0pVvOc7XPO.cjs → RHcRMjZDDYNnnrSD.cjs} +6 -6
- package/build/browser/cjs/{7Yh1PqgSd93uKFOq.cjs → XIdbAcHj3tvMbWr6.cjs} +2 -2
- package/build/browser/cjs/{Bsv5BCVCW5dIA5It.cjs → c08vhr3QCKEjKxip.cjs} +5 -5
- package/build/browser/cjs/{wYOZ6mjOO7MbdyBZ.cjs → d7OiYMEA60XfSqRl.cjs} +1 -1
- package/build/browser/cjs/index.cjs +2 -2
- package/build/browser/cjs/{BmT4qU5bgAIPFNTH.cjs → t-jXfVAefSZ9i-Rf.cjs} +2 -2
- package/build/browser/cjs/{ByZLM15SpxjqWDYX.cjs → upKJgCY3ryIUZgqw.cjs} +1 -1
- package/build/{node/esm/B9-WgxZWcZj4jdUC.mjs → browser/esm/A7rMWKp38GsQjO9R.mjs} +1 -1
- package/build/browser/esm/{D4GeLOfATuEzvjPr.mjs → B7MpqLPVDqsPz7_D.mjs} +5 -5
- package/build/{node/esm/CFw23OkHfPquoVEk.mjs → browser/esm/BEvdenuIUJsdysuS.mjs} +1 -1
- package/build/browser/esm/{71Qocy3xStWv_56t.mjs → BWMRk_y3JJcGC4Sw.mjs} +1 -1
- package/build/browser/esm/{BOn1aDBCyrMSMmVr.mjs → BWy4GGRy68NdEUAU.mjs} +1 -1
- package/build/browser/esm/{V_ha0oCA5_oDPanz.mjs → BjlwU0zUCyej3IP5.mjs} +4 -4
- package/build/{node/esm/CG8a93kgahRemVJe.mjs → browser/esm/BkM9QH_J3amRtJYC.mjs} +1 -1
- package/build/browser/esm/{BCzBxiWxCFs-jcmK.mjs → BmKxo1RSk3MnptkK.mjs} +2 -2
- package/build/browser/esm/{BoWGCLoCBi99JpFs.mjs → BoXyIcfCNWMqgIe-.mjs} +1 -1
- package/build/browser/esm/{B_XqbIeKalrEkjs7.mjs → C12La7r4Yd9U8sjj.mjs} +1 -1
- package/build/{node/esm/70LlV-Ub5gQiHal4.mjs → browser/esm/C4b8Z5niZLc06jWh.mjs} +1 -1
- package/build/browser/esm/{ERMewE78C__HUblm.mjs → C9rVkWkhKQKgt7rk.mjs} +1 -1
- package/build/browser/esm/{BAKRnfUqPzHyyiLx.mjs → CAKh3uLdYbVkh2Wt.mjs} +3 -3
- package/build/browser/esm/{Cfhp3FCr7wP0Rnfu.mjs → CBssFim0AQaK0vHZ.mjs} +1 -1
- package/build/browser/esm/{DgslJ1_vlPooGZHU.mjs → CMAjCzRT84_bclEH.mjs} +1 -1
- package/build/{node/esm/ByxOyRbOjkmiHT8z.mjs → browser/esm/COe4yicEHICy8Y3b.mjs} +1 -1
- package/build/browser/esm/{DmEPCZ9FSKO_TRTA.mjs → CXhFT-LyvRJhpESh.mjs} +1 -1
- package/build/browser/esm/{Bq9W-xButcfpjGEk.mjs → C_bItrFz3kR7oD7d.mjs} +2 -2
- package/build/browser/esm/{Qib5_XvQHWOPzGrm.mjs → Ca049nflJTgFmkAY.mjs} +1 -1
- package/build/browser/esm/{SSYRYFzxzHWQzdAN.mjs → CixViEXOfsgp-ab0.mjs} +1 -1
- package/build/browser/esm/{CAxIV1vPiKW9r_Yh.mjs → CkkN0twOmvzeNemW.mjs} +1 -1
- package/build/{node/esm/DS4xBjO2TN0rQ1lJ.mjs → browser/esm/D2pCMNl0etxYXzQZ.mjs} +1 -1
- package/build/{node/esm/gTh1PiesKrQblf8O.mjs → browser/esm/D5V2YCmOKFRIhvSE.mjs} +1 -1
- package/build/{node/esm/CN45di2IcbM8P0Qu.mjs → browser/esm/DArl1nWR9Rqq7svj.mjs} +1 -1
- package/build/browser/esm/{B_b5FIYJnm4UKAEc.mjs → DCVNhDwVjvfV1Ujp.mjs} +2 -2
- package/build/browser/esm/{BChNW8QNTMP8QXKM.mjs → DJUTpk_7QW84HGDc.mjs} +6 -6
- package/build/browser/esm/{COgfNXNmX_PF_eWZ.mjs → DKBnvAxGD6VhDPjX.mjs} +3 -3
- package/build/{node/esm/DTM0pK30PrZRsXYw.mjs → browser/esm/DVFmKpRo6nvIa7x4.mjs} +1 -1
- package/build/{node/esm/CPv7OpinaYcwbA_W.mjs → browser/esm/Dc3TH4RzHwJDPPWn.mjs} +1 -1
- package/build/{node/esm/BPqJ7trmE53kA4iD.mjs → browser/esm/DlcOwk68TapVLqLN.mjs} +1 -1
- package/build/browser/esm/{g_p1uVDePbDJJ4nX.mjs → Fg_7aIRdLrWLxcHc.mjs} +1 -1
- package/build/browser/esm/{Do_EO3eQIyPgc7uz.mjs → hhG7UpF8B5-_n2iq.mjs} +2 -2
- package/build/browser/esm/index.mjs +2 -2
- package/build/browser/esm/{DMas1DZMe9F5tPaN.mjs → oNhSHEEbUX5lnHvk.mjs} +9 -9
- package/build/licenses/dependencies.txt +47 -5
- package/build/node/esm/{BDxewg-utn4BhUXl.mjs → 49hIyY82dlLPFb7W.mjs} +3 -3
- package/build/node/esm/{CZw7SgmfxSHhZZe0.mjs → 7Edts-1jHz2ifrIK.mjs} +1 -1
- package/build/{browser/esm/B9-WgxZWcZj4jdUC.mjs → node/esm/A7rMWKp38GsQjO9R.mjs} +1 -1
- package/build/node/esm/{CNOiP4baOWSizP6F.mjs → BA0e_tQOi5vso7lR.mjs} +1 -1
- package/build/{browser/esm/CFw23OkHfPquoVEk.mjs → node/esm/BEvdenuIUJsdysuS.mjs} +1 -1
- package/build/{browser/esm/CG8a93kgahRemVJe.mjs → node/esm/BkM9QH_J3amRtJYC.mjs} +1 -1
- package/build/node/esm/{BUOg554dxBM0VWFi.mjs → BlVkxYsGm14Pxwhn.mjs} +2 -2
- package/build/node/esm/{BoWGCLoCBi99JpFs.mjs → BoXyIcfCNWMqgIe-.mjs} +1 -1
- package/build/node/esm/{CnaBpzYiURAKhAxF.mjs → Br37EDUCygWHe_HY.mjs} +4 -4
- package/build/node/esm/{B_XqbIeKalrEkjs7.mjs → C12La7r4Yd9U8sjj.mjs} +1 -1
- package/build/{browser/esm/70LlV-Ub5gQiHal4.mjs → node/esm/C4b8Z5niZLc06jWh.mjs} +1 -1
- package/build/node/esm/{ERMewE78C__HUblm.mjs → C9rVkWkhKQKgt7rk.mjs} +1 -1
- package/build/{browser/esm/ByxOyRbOjkmiHT8z.mjs → node/esm/COe4yicEHICy8Y3b.mjs} +1 -1
- package/build/node/esm/{Qib5_XvQHWOPzGrm.mjs → Ca049nflJTgFmkAY.mjs} +1 -1
- package/build/node/esm/{DNHqdv3-ufdcF5zc.mjs → Ca79i4bbUj5Xo3aJ.mjs} +2 -2
- package/build/node/esm/{CfWoSrOmaP9LrFja.mjs → CdNjYyeochwKoh-a.mjs} +6 -6
- package/build/{browser/esm/DS4xBjO2TN0rQ1lJ.mjs → node/esm/D2pCMNl0etxYXzQZ.mjs} +1 -1
- package/build/{browser/esm/gTh1PiesKrQblf8O.mjs → node/esm/D5V2YCmOKFRIhvSE.mjs} +1 -1
- package/build/{browser/esm/CN45di2IcbM8P0Qu.mjs → node/esm/DArl1nWR9Rqq7svj.mjs} +1 -1
- package/build/node/esm/{DH_fbhyW3PwE1rYa.mjs → DAwMvuc71S5XR9LP.mjs} +1 -1
- package/build/{browser/esm/DTM0pK30PrZRsXYw.mjs → node/esm/DVFmKpRo6nvIa7x4.mjs} +1 -1
- package/build/{browser/esm/CPv7OpinaYcwbA_W.mjs → node/esm/Dc3TH4RzHwJDPPWn.mjs} +1 -1
- package/build/{browser/esm/BPqJ7trmE53kA4iD.mjs → node/esm/DlcOwk68TapVLqLN.mjs} +1 -1
- package/build/node/esm/{CZd8SSXlusZy49FM.mjs → DrphBBZFDU1kkTbf.mjs} +1 -1
- package/build/node/esm/{CVAFJAiy4lznWzaG.mjs → DxwuxTmL3phMI3Mw.mjs} +1 -1
- package/build/node/esm/{Cp5ea9Hpxse8B4mC.mjs → FYzxLk0rekF4mniF.mjs} +1 -1
- package/build/node/esm/{g_p1uVDePbDJJ4nX.mjs → Fg_7aIRdLrWLxcHc.mjs} +1 -1
- package/build/node/esm/{DlFgt0KLeXDowatv.mjs → GX-TyIcCMeajKXeq.mjs} +1 -1
- package/build/node/esm/{Cdjab80o1WocCHgN.mjs → UoIQCgFAuVRWbPoF.mjs} +1 -1
- package/build/node/esm/hxiw_lwaPw7Sc57G.mjs +86 -0
- package/build/node/esm/index.mjs +8 -8
- package/build/node/esm/{4HPektqH91Rh-rsq.mjs → ovp-R-GOyaILtHSP.mjs} +2 -2
- package/build/package.json +5 -5
- package/package.json +4 -4
- package/build/node/esm/GTFYlX2Atw10TdFe.mjs +0 -86
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/sdk - A high-performance, embeddable spreadsheet engine. - v0.
|
|
2
|
+
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.1.119
|
|
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 - A high-performance, embeddable spreadsheet engine. - v0.
|
|
2
|
+
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.1.119
|
|
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 - A high-performance, embeddable spreadsheet engine. - v0.
|
|
2
|
+
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.1.119
|
|
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 - A high-performance, embeddable spreadsheet engine. - v0.
|
|
2
|
+
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.1.119
|
|
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("./BvwhAUKfA6iqg0d1.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:{}};/* @license
|
|
7
7
|
Papa Parse
|
|
8
8
|
v5.5.3
|
|
9
9
|
https://github.com/mholt/PapaParse
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/sdk - A high-performance, embeddable spreadsheet engine. - v0.
|
|
2
|
+
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.1.119
|
|
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";var c=Object.create;var n=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var u=Object.getPrototypeOf,p=Object.prototype.hasOwnProperty;var y=(e,i,r,o)=>{if(i&&typeof i=="object"||typeof i=="function")for(let l of s(i))!p.call(e,l)&&l!==r&&n(e,l,{get:()=>i[l],enumerable:!(o=a(i,l))||o.enumerable});return e};var g=(e,i,r)=>(r=e!=null?c(u(e)):{},y(i||!e||!e.__esModule?n(r,"default",{value:e,enumerable:!0}):r,e));/**
|
|
2
|
-
* @license @sheetxl/sdk - A high-performance, embeddable spreadsheet engine. - v0.
|
|
2
|
+
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.1.119
|
|
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"});/**
|
|
7
|
-
* @license @sheetxl/scripting -
|
|
7
|
+
* @license @sheetxl/scripting - Scripting - Scripting engine for Macros and formulas; includes TypeScript and EsBuild. - v0.1.119
|
|
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.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/sdk - A high-performance, embeddable spreadsheet engine. - v0.
|
|
2
|
+
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.1.119
|
|
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 - A high-performance, embeddable spreadsheet engine. - v0.
|
|
2
|
+
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.1.119
|
|
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 - A high-performance, embeddable spreadsheet engine. - v0.
|
|
2
|
+
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.1.119
|
|
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 - A high-performance, embeddable spreadsheet engine. - v0.
|
|
2
|
+
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.1.119
|
|
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 - A high-performance, embeddable spreadsheet engine. - v0.
|
|
2
|
+
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.1.119
|
|
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 - A high-performance, embeddable spreadsheet engine. - v0.
|
|
2
|
+
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.1.119
|
|
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 - A high-performance, embeddable spreadsheet engine. - v0.
|
|
2
|
+
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.1.119
|
|
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 - A high-performance, embeddable spreadsheet engine. - v0.
|
|
2
|
+
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.1.119
|
|
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 - A high-performance, embeddable spreadsheet engine. - v0.
|
|
2
|
+
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.1.119
|
|
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,15 +1,15 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/sdk - A high-performance, embeddable spreadsheet engine. - v0.
|
|
2
|
+
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.1.119
|
|
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
|
*//**
|
|
7
|
-
* @license @sheetxl/scripting -
|
|
7
|
+
* @license @sheetxl/scripting - Scripting - Scripting engine for Macros and formulas; includes TypeScript and EsBuild. - v0.1.119
|
|
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.
|
|
11
11
|
*//**
|
|
12
|
-
* @license @sheetxl/utils - Utils - Utilities used by most SheetXL components. - v0.1.
|
|
12
|
+
* @license @sheetxl/utils - Utils - Utilities used by most SheetXL components. - v0.1.119
|
|
13
13
|
*
|
|
14
14
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
15
15
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -20,4 +20,4 @@ Please use Chrome or Edge if external copy and paste is required.`,k=`You do not
|
|
|
20
20
|
All copy and paste operations will be limited to the browser tab.`,jt={Safari:`The Safari browser does not support advanced copy and paste.
|
|
21
21
|
Copy and paste will be limited to within the browser tab.
|
|
22
22
|
|
|
23
|
-
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("./
|
|
23
|
+
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("./XIdbAcHj3tvMbWr6.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 - A high-performance, embeddable spreadsheet engine. - v0.
|
|
2
|
+
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.1.119
|
|
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.
|