@sheetxl/studio-vanilla 0.4.22 → 0.5.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/2QmtjcI-saz2rkIA.cjs +6 -0
- package/browser/cjs/{CknjEH7DZBnqyPfk.cjs → 3UFq2FybsZfoS4JL.cjs} +1 -1
- package/browser/cjs/B-fFQgxMHns-eg-y.cjs +6 -0
- package/browser/cjs/{B0aLqzqegePPgpc2.cjs → B2hhcNzdkhGrH1O6.cjs} +1 -1
- package/browser/cjs/{Cv1BFY5pqPtJd8qO.cjs → BASsCVA0ArIVtY7I.cjs} +1 -1
- package/browser/cjs/{CIeiC9TKv80O2_fQ.cjs → BAxy7pwmXg8SI_oi.cjs} +1 -1
- package/browser/cjs/{DqlFSswn_reXyFz8.cjs → BCwHln5zBNJSn0bb.cjs} +1 -1
- package/browser/cjs/{Bzntg1YSzOszdwLy.cjs → BQYUcoxlHrpI0-pX.cjs} +1 -1
- package/browser/cjs/{DFJ4dyRxiUF1XPPZ.cjs → BVbQCweLw_r05vPF.cjs} +1 -1
- package/browser/cjs/{7nEG2wj_Ohie6CwI.cjs → BYJxHR3K0UQJ8mYe.cjs} +1 -1
- package/browser/cjs/Ba8eoGTjjWBH8TbP.cjs +6 -0
- package/browser/cjs/{BO8oGaHWFtHyxmQ1.cjs → BdCoVNJwhPpWfQw2.cjs} +2 -2
- package/browser/cjs/{D7q2GFLhv9QRTZJe.cjs → BkZzUVGQfrUTPE_K.cjs} +1 -1
- package/browser/cjs/{C9xTKWx1tr6NZFC8.cjs → BlpCu5z9eT8rzsZl.cjs} +1 -1
- package/browser/cjs/{Iek_K8QW1doYx_eo.cjs → BlqTaZ2U_mKVK2lb.cjs} +1 -1
- package/browser/cjs/{CrUZUIz00uPDq4EA.cjs → BpeteRa_oZ-wN4Yl.cjs} +1 -1
- package/browser/cjs/{HyVntu9KkvdKrJEt.cjs → BxqDS9XynU5GFbP7.cjs} +2 -2
- package/browser/cjs/{B9GyERAqyIxdqS4D.cjs → ByB_fmjdLNTv0T0U.cjs} +1 -1
- package/browser/cjs/{BvEv8i6SisfC24C1.cjs → C-6TpShR6Bn0HnEd.cjs} +3 -3
- package/browser/cjs/{Bi2-QXq5KvbsAXoB.cjs → C5T_oiCG4PwTFSZA.cjs} +1 -1
- package/browser/cjs/{BYRBdz-9UGZ0b_AO.cjs → C5e1IjdRuLyAQqNX.cjs} +1 -1
- package/browser/cjs/{kQ8wVygFJMcxlUv-.cjs → CAZoVQtxsVdAtVKy.cjs} +1 -1
- package/browser/cjs/{BlojFx4yQfY8ahEJ.cjs → CBS2kMyEf0c_PUbQ.cjs} +2 -2
- package/browser/cjs/{CCu9cK1DUD4oa3Nj.cjs → CO7VEOXret0qr-X3.cjs} +1 -1
- package/browser/cjs/{CvvHAxM5SO6mwsyq.cjs → CVIlAq9nwlOXfHMl.cjs} +2 -2
- package/browser/cjs/{DgSAPPq-D_vlo9jE.cjs → CZEOikBcE4OIr49t.cjs} +1 -1
- package/browser/cjs/{DaEdjRWwuNebE2hn.cjs → Ce8AVRntRnXZtgzH.cjs} +2 -2
- package/browser/cjs/{DL7DCFUaFkr2LYhZ.cjs → ClEZHGlmkSIz6S1O.cjs} +1 -1
- package/browser/cjs/{3CSmmG7E8ziDB1mP.cjs → CvO-oyQ3syx7EGUA.cjs} +1 -1
- package/browser/cjs/{DmtZLv1wnSxRzPiR.cjs → CwqvcNlwUtXJrzsk.cjs} +2 -2
- package/browser/cjs/D-su0R92LmYTQVL3.cjs +11 -0
- package/browser/cjs/{CYmpgLiDS0ZlbG11.cjs → D178aT-dgy-ngzYG.cjs} +2 -2
- package/browser/cjs/{DMfk3didwdGQLc0i.cjs → D5z-zqUVI3G9JXBC.cjs} +4 -4
- package/browser/cjs/D68uE8Ovq38Aj-88.cjs +330 -0
- package/browser/cjs/{BZvC7PqILOVRl2ij.cjs → D8mjDoZ4Yyous_Fc.cjs} +1 -1
- package/browser/cjs/{tVbeAmLkaH_1Jy7R.cjs → DASsVvQwE2-IWxLR.cjs} +2 -2
- package/browser/cjs/{CZltonq1gEczLRHi.cjs → DBavSByKdf-juvFm.cjs} +4 -4
- package/browser/cjs/{Bc6lVP0c3mEzf_yK.cjs → DHRZzqw46ad6Mtw6.cjs} +2 -2
- package/browser/cjs/{Bk2cFYnTKxP7WbLy.cjs → DJZBxKlTP03_1kyT.cjs} +2 -2
- package/browser/cjs/{Bdm_fGdkK4-pZ0tW.cjs → DKq35Q191eW-MovK.cjs} +2 -2
- package/browser/cjs/{ClEc15AqSTFOf5zG.cjs → DMUFBhoYpT3ai2Sb.cjs} +1 -1
- package/browser/cjs/{Dws_eDddoJKDPps_.cjs → DX2XUDUIVBx4UFrJ.cjs} +1 -1
- package/browser/cjs/{wNoDw92hvq2txBki.cjs → DdzEWCcupF-0WS8y.cjs} +1 -1
- package/browser/cjs/{CwgzE59YUQ1eOTBi.cjs → Dg9j6yGv8nrILfzN.cjs} +2 -2
- package/browser/cjs/{DJMpu6kYQUW3FWjs.cjs → DjB9MJwDT6_HgF4U.cjs} +1 -1
- package/browser/cjs/{CQRZm8lGq26oKY31.cjs → Dl5mwbo0ahDUm0he.cjs} +1 -1
- package/browser/cjs/{BPODmSH7Z1MR1rHr.cjs → DmT6vIsFpZJ2c8cx.cjs} +4 -4
- package/browser/cjs/{BY3tZiH_cfwBkpN8.cjs → Hi6aVJR9PyRbNYjO.cjs} +1 -1
- package/browser/cjs/{-AkvO2DXLOxJTxam.cjs → K7QHOvYV_yvLLjsS.cjs} +1 -1
- package/browser/cjs/{Cvwrl86aXHFXJVZZ.cjs → LhLQSvaxn8yxAIwj.cjs} +1 -1
- package/browser/cjs/{BS0bGW4PmNinQUvL.cjs → MgEzGw411nlqjqfH.cjs} +4 -4
- package/browser/cjs/{cOAjfOdF1cb-xgQG.cjs → WJXT0W6bS3bZdAUV.cjs} +1 -1
- package/browser/cjs/{QJFc55OPrJyuRvDO.cjs → f_Vbi-Lelt9tKZrz.cjs} +8 -8
- package/browser/cjs/index.cjs +2 -2
- package/browser/cjs/{Cf1j7hiCbQ8xo4_U.cjs → tNT3tUxdeIp_Iq2Y.cjs} +3 -3
- package/browser/cjs/{Df9S9eEGYxA_EcEr.cjs → vNEwUuTKk3qucC3P.cjs} +1 -1
- package/browser/cjs/{COuRf_8YbqEsDQOC.cjs → xMzLyo_gIl82xG8k.cjs} +1 -1
- package/browser/cjs/{DMMZr350oW-Zan7x.cjs → yc1bXLJ1yRhBFy0X.cjs} +14 -14
- package/{cdn/assets/BKYjPTKdwG8Dn1_Z.js → browser/esm/2fFz5u9jPgrNzcVF.mjs} +1 -1
- package/browser/esm/{B0A2aLiKDPGGU4k-.mjs → 2kXHnuU_uz-F9i1S.mjs} +15787 -15752
- package/browser/esm/{T263hpnj_sMd1bmD.mjs → 5F1_gQbzWEFsWO0i.mjs} +2 -2
- package/browser/esm/9MchcnSGrYDjX4zQ.mjs +46 -0
- package/browser/esm/{D-QFKqWRP5dKwynV.mjs → Af7aikoKHz0rpjfv.mjs} +1 -1
- package/browser/esm/{Dk_OZhcDLapTaNma.mjs → B1Kc7dS9N2PVqxMT.mjs} +1 -1
- package/browser/esm/{d8r4AqRUASAMCbBC.mjs → B8ePgT5XZ0JlU3T6.mjs} +1 -1
- package/{cdn/assets/g2unVUs-HBGBvXMs.js → browser/esm/B8uy0BSOVjfUw27f.mjs} +1 -1
- package/{cdn/assets/SmC3rmOCw-Ynredz.js → browser/esm/BFweWj2oKpTGl7m3.mjs} +1 -1
- package/browser/esm/{gzl_ozUgkS0mr_32.mjs → BLseM2hNBI2PgQaX.mjs} +1 -1
- package/browser/esm/{Cl0mB61JgZYfTh4S.mjs → BUNUi9F3xbjfUKty.mjs} +1 -1
- package/browser/esm/{Bb0W3ByMVowTViNK.mjs → BV3ROKbw5yMVArqX.mjs} +1 -1
- package/{cdn/assets/B-ol51_1jHaCVeGO.js → browser/esm/BXKXqOluLdKs4-V0.mjs} +2 -2
- package/{cdn/assets/CVlIOg6F8qrZdlQ1.js → browser/esm/BZpMA4DGM1kbVAKF.mjs} +1 -1
- package/browser/esm/{CfeqmUm-TkCE2XpK.mjs → Bg59p3YlNG6o7-M3.mjs} +4 -4
- package/{cdn/assets/ObudKUELIfmbm87W.js → browser/esm/BlFzVqIUaXFtDy81.mjs} +1 -1
- package/browser/esm/{CCjuiVOyesh1IQpA.mjs → BtBECeJ4mwD7SUx8.mjs} +3 -3
- package/browser/esm/{tAl8qMu6C0Vlq5p-.mjs → Buw1VxSLsNI8pSYS.mjs} +2 -2
- package/browser/esm/{DxJfUV0HFQT8g6H_.mjs → BxoWypkKac-_VAm5.mjs} +12 -12
- package/browser/esm/{SGprYj0-SzDtrM3y.mjs → By3EkyTg3ZYh63C7.mjs} +9 -9
- package/{cdn/assets/Co_HyodT3prcEvNJ.js → browser/esm/CDu4VlyMAQ3nxTQG.mjs} +1 -1
- package/browser/esm/{BBov1fpR61VyhE3Z.mjs → CJ9ZL3uskq3W6s-m.mjs} +1 -1
- package/browser/esm/{CkccSfJEU471_Sui.mjs → CP_sGa9QGT2Nq5ym.mjs} +3 -3
- package/browser/esm/{BJqIPJDvrhWpZc4S.mjs → CaIFrnjL0xBOtFfM.mjs} +1 -1
- package/browser/esm/{Cm7pnWH_xgLwX_lZ.mjs → CeP-AnEtOGkuxLqE.mjs} +1 -1
- package/browser/esm/{d49_A3euUkzKZure.mjs → CjScjxhY2mD7nPZA.mjs} +1 -1
- package/{cdn/assets/CAal3t8F-VfdmgAH.js → browser/esm/CozWNYg-NXzV84fz.mjs} +1 -1
- package/{cdn/assets/BnEb6t4xIVuW37yn.js → browser/esm/Cprnt9pNXzIiMmkN.mjs} +2 -2
- package/browser/esm/{fgXzhDR19HBK6PEW.mjs → Cq-wjvtZ92uenxU1.mjs} +4 -4
- package/browser/esm/{DWgbhx4Y4WzyAP3Z.mjs → CsVeeu8D1A8I-BbH.mjs} +4 -4
- package/browser/esm/{C2xOGr0pDSHSMKoW.mjs → CzMxOWYq4nqRtKmm.mjs} +1 -1
- package/browser/esm/{Btr2FDDtI_fht0WU.mjs → D9MGSJr45cVRF75O.mjs} +6 -6
- package/{cdn/assets/Cbq2K4YGny5wwFEf.js → browser/esm/DAUV_w2uv0nHdk5N.mjs} +1 -1
- package/browser/esm/{2d2eGHpsnUoCOFMT.mjs → DIypkIIonThPr-Vt.mjs} +17 -17
- package/browser/esm/{BmyjN5txj3iMw_DE.mjs → DOG1CaEQVF1sTUFi.mjs} +1 -1
- package/{cdn/assets/DqRiTlxxpGv8z6hB.js → browser/esm/DOv9FndcEVmQ2LJK.mjs} +2 -2
- package/{cdn/assets/BJD32_Zv5gkabGc0.js → browser/esm/DSCVDOwTpDzUVuFj.mjs} +1 -1
- package/browser/esm/{BajFlIH_X_nvDNfp.mjs → DYF-8AnNDaQUy3aL.mjs} +2 -2
- package/browser/esm/{BVuoKgnuqrUwY6Fv.mjs → Dd0avXHDTPFrx-ot.mjs} +17 -17
- package/browser/esm/{CslKfn0zxkGKrM4-.mjs → DdQY6IuT4OziHv5i.mjs} +19 -19
- package/{cdn/assets/CcE9nC_34k_5iKdO.js → browser/esm/DfRKIODWn8ElqMWa.mjs} +2 -2
- package/{cdn/assets/BSdVpOzJ8SL3EBhP.js → browser/esm/Dfbzljrnj4KrvtaN.mjs} +1 -1
- package/{cdn/assets/CsBIABPdnqpcZcvJ.js → browser/esm/DfdWpPG9ZcbRBGUg.mjs} +1 -1
- package/browser/esm/{BpFA0UU_TF4JO3dh.mjs → Di8JLQMx61fnrhOn.mjs} +1 -1
- package/browser/esm/{Bzg-D_R4sXN-wyMx.mjs → DirXlaTG7TKxrqSR.mjs} +1 -1
- package/browser/esm/{kbK4ZGVl1tl5F-UA.mjs → DjGdyf6zsnIMRkQb.mjs} +13 -13
- package/browser/esm/{Dxqx7qwqE6wbYSpB.mjs → Dm4Fun7UoovVHafs.mjs} +13 -13
- package/{cdn/assets/CQaM4Ka20cP71fl0.js → browser/esm/DwpS4SI4gT1eqfOs.mjs} +1 -1
- package/browser/esm/{Cx0a1WWRvJgDg4qb.mjs → DzZDYedlR-CIW2TI.mjs} +5 -5
- package/browser/esm/{CBPeZuyUIf9scEwn.mjs → HlyDPlaZCA3IOmF2.mjs} +3 -3
- package/{cdn/assets/Ys1OCodY6sXUkZ6-.js → browser/esm/PzIeb5aTX9JzTTfm.mjs} +1 -1
- package/browser/esm/{oUl7lbkOPMCi30tO.mjs → QPkYQWSepZNIhJst.mjs} +1 -1
- package/{cdn/assets/Ckb6l6osoWh90VXn.js → browser/esm/UENfAV2nBd83yFu7.mjs} +1 -1
- package/{cdn/assets/aqvSzH4m6bf7ODc6.js → browser/esm/YYqCu_-Z9nzvEseu.mjs} +1 -1
- package/{cdn/assets/Dp--KMDeqecbq_Wc.js → browser/esm/aEhgzbKqmuKv1oqm.mjs} +1 -1
- package/{cdn/assets/BQfnqD12mz41DOr_.js → browser/esm/bxGRTnY732xGNtpL.mjs} +1 -1
- package/browser/esm/index.mjs +2 -2
- package/browser/esm/{Dva_qJrZGvFYbRxZ.mjs → zQSjT9VbN7kMDV88.mjs} +3 -3
- package/{browser/esm/BKYjPTKdwG8Dn1_Z.mjs → cdn/assets/2fFz5u9jPgrNzcVF.js} +1 -1
- package/cdn/assets/{Bk7mWQ4jJ591qT5U.js → 7ZUzaBw_VH3Cvii1.js} +3 -3
- package/cdn/assets/{B2I5EC8Y3LkhqzOe.js → 7bmIdE8Moi7orOeU.js} +13 -13
- package/cdn/assets/{D-QFKqWRP5dKwynV.js → Af7aikoKHz0rpjfv.js} +1 -1
- package/cdn/assets/{Dk_OZhcDLapTaNma.js → B1Kc7dS9N2PVqxMT.js} +1 -1
- package/{browser/esm/oAfM3SU0EgMxfDc0.mjs → cdn/assets/B6QHusAaPSos46yi.js} +2 -2
- package/cdn/assets/{d8r4AqRUASAMCbBC.js → B8ePgT5XZ0JlU3T6.js} +1 -1
- package/{browser/esm/g2unVUs-HBGBvXMs.mjs → cdn/assets/B8uy0BSOVjfUw27f.js} +1 -1
- package/{browser/esm/SmC3rmOCw-Ynredz.mjs → cdn/assets/BFweWj2oKpTGl7m3.js} +1 -1
- package/cdn/assets/{Dt6M8k8ljeGubAJ5.js → BGF-bSrwdriQTytG.js} +6 -6
- package/cdn/assets/{gzl_ozUgkS0mr_32.js → BLseM2hNBI2PgQaX.js} +1 -1
- package/cdn/assets/{DXWy4_H6I-dyOLr6.js → BQvzpOcCO8uM_ZaF.js} +20 -20
- package/cdn/assets/{Cl0mB61JgZYfTh4S.js → BUNUi9F3xbjfUKty.js} +1 -1
- package/cdn/assets/{Bb0W3ByMVowTViNK.js → BV3ROKbw5yMVArqX.js} +1 -1
- package/{browser/esm/CVlIOg6F8qrZdlQ1.mjs → cdn/assets/BZpMA4DGM1kbVAKF.js} +1 -1
- package/{browser/esm/ObudKUELIfmbm87W.mjs → cdn/assets/BlFzVqIUaXFtDy81.js} +1 -1
- package/cdn/assets/{CVgQlKevn28IBavQ.js → BrwV_8GjxcVuWuUk.js} +16932 -16897
- package/cdn/assets/C7SHJrlOqTIZCB3t.js +41 -0
- package/cdn/assets/{CIdfxx6BkkxIdU4J.js → CCbJipmDawMQQxRJ.js} +2 -2
- package/{browser/esm/Co_HyodT3prcEvNJ.mjs → cdn/assets/CDu4VlyMAQ3nxTQG.js} +1 -1
- package/cdn/assets/{BPQvYX3Tn3_XfM55.js → CEcpUxbZ1W-G1EPq.js} +4 -4
- package/cdn/assets/{BBov1fpR61VyhE3Z.js → CJ9ZL3uskq3W6s-m.js} +1 -1
- package/cdn/assets/{BJqIPJDvrhWpZc4S.js → CaIFrnjL0xBOtFfM.js} +1 -1
- package/cdn/assets/{DBzbchpZyNJVqFwJ.js → CaN0O_koLgCkhgEh.js} +4 -4
- package/cdn/assets/{Cm7pnWH_xgLwX_lZ.js → CeP-AnEtOGkuxLqE.js} +1 -1
- package/cdn/assets/{d49_A3euUkzKZure.js → CjScjxhY2mD7nPZA.js} +1 -1
- package/cdn/assets/ClkFsS16G5memDzX.js +22 -0
- package/cdn/assets/{UBuQw1PVtmH3a9bE.js → CmUGAy0Bu36DiwJO.js} +2 -2
- package/{browser/esm/CAal3t8F-VfdmgAH.mjs → cdn/assets/CozWNYg-NXzV84fz.js} +1 -1
- package/cdn/assets/{D8hsneNA-W9ryUa9.js → CsYr_9x-OIQSqGIL.js} +3 -3
- package/cdn/assets/{CcP-5SrDsnDeT6SQ.js → CzEv6qEIPTHOwOdU.js} +50 -50
- package/cdn/assets/{8d4z_mUqWF_BnOt4.js → CzMF1riupKc6HLGE.js} +4 -4
- package/cdn/assets/{C2xOGr0pDSHSMKoW.js → CzMxOWYq4nqRtKmm.js} +1 -1
- package/{browser/esm/AVmCEk8Fmiw2k_yK.mjs → cdn/assets/D-W_ANt_qJ9dfGy9.js} +12 -12
- package/cdn/assets/{u_xPkr1quUnZRgrA.js → DAI9BFZBDQlMP1v4.js} +29 -29
- package/{browser/esm/Cbq2K4YGny5wwFEf.mjs → cdn/assets/DAUV_w2uv0nHdk5N.js} +1 -1
- package/cdn/assets/{BmyjN5txj3iMw_DE.js → DOG1CaEQVF1sTUFi.js} +1 -1
- package/{browser/esm/BJD32_Zv5gkabGc0.mjs → cdn/assets/DSCVDOwTpDzUVuFj.js} +1 -1
- package/cdn/assets/{DXlz010r4VFvz1TS.js → DSv3gXCV9xifjdta.js} +9 -9
- package/cdn/assets/{DQmcuM6zJj_UBR4j.js → DaYZ-afnc3QhJo5R.js} +13 -13
- package/{browser/esm/BSdVpOzJ8SL3EBhP.mjs → cdn/assets/Dfbzljrnj4KrvtaN.js} +1 -1
- package/{browser/esm/CsBIABPdnqpcZcvJ.mjs → cdn/assets/DfdWpPG9ZcbRBGUg.js} +1 -1
- package/cdn/assets/{BpFA0UU_TF4JO3dh.js → Di8JLQMx61fnrhOn.js} +1 -1
- package/cdn/assets/{Bzg-D_R4sXN-wyMx.js → DirXlaTG7TKxrqSR.js} +1 -1
- package/{browser/esm/DgFIjoPrM5dmrLHT.mjs → cdn/assets/DivRRrwWTqpDEOsE.js} +2 -2
- package/cdn/assets/{CGImeT9zAECbU9zM.js → DlGa-wREL0uZB2Nx.js} +14 -14
- package/cdn/assets/{DIBJnPf-ZLpoUAyv.js → DlMH1vSjXgvZMwQJ.js} +2 -2
- package/cdn/assets/{Dzb_e1lRgdeWlKbP.js → Dml7K4XhLTRwUDTY.js} +3 -3
- package/{browser/esm/CQaM4Ka20cP71fl0.mjs → cdn/assets/DwpS4SI4gT1eqfOs.js} +1 -1
- package/cdn/assets/{1we1udiYEDagZ5XN.js → G0GROjU63_EPzAF7.js} +1 -1
- package/cdn/assets/NoCZPCkSed8lQpNi.js +46 -0
- package/cdn/assets/{BCEDMsB3yP73FGo4.js → O-MB9oo65vbYOjfG.js} +4 -4
- package/{browser/esm/Ys1OCodY6sXUkZ6-.mjs → cdn/assets/PzIeb5aTX9JzTTfm.js} +1 -1
- package/{browser/esm/Ckb6l6osoWh90VXn.mjs → cdn/assets/UENfAV2nBd83yFu7.js} +1 -1
- package/cdn/assets/{B_gWDLoUXJ58kUTF.js → V2bW77WyjoyjJMvZ.js} +2 -2
- package/cdn/assets/{DKaNurhCUtSDI3-Y.js → YJiNeqIJTFYDQPxS.js} +26 -26
- package/{browser/esm/aqvSzH4m6bf7ODc6.mjs → cdn/assets/YYqCu_-Z9nzvEseu.js} +1 -1
- package/cdn/assets/{B44RkeFF8g1ncaGw.js → Yp0FxpbZyyvU_u6y.js} +14 -14
- package/{browser/esm/Dp--KMDeqecbq_Wc.mjs → cdn/assets/aEhgzbKqmuKv1oqm.js} +1 -1
- package/{browser/esm/BQfnqD12mz41DOr_.mjs → cdn/assets/bxGRTnY732xGNtpL.js} +1 -1
- package/cdn/assets/{BWhbbP9qvpjw1m3d.js → djN8Su_7GYF42GqX.js} +3 -3
- package/{browser/esm/Ba4SdTfCAvYS7a3O.mjs → cdn/assets/m-A0SfNBx32zKuZU.js} +2 -2
- package/cdn/assets/{QtHcsa9O7bxZgew4.js → uvZYEIW4EfvcdsXG.js} +1 -1
- package/cdn/assets/{BWHiFslK55rPiaTT.js → zZGhctwBXNlAYrJr.js} +2 -2
- package/cdn/index.js +2 -2
- package/cdn/loader.js +1 -1
- package/package.json +3 -3
- package/browser/cjs/C9oIS5xxO9B7vS3W.cjs +0 -6
- package/browser/cjs/D3qzZXPgfAtKIAP9.cjs +0 -11
- package/browser/cjs/DB2WR3LaeOhkCAXY.cjs +0 -6
- package/browser/cjs/Dd7vDdIeQaFScMRQ.cjs +0 -6
- package/browser/cjs/QxU4KIgsHZuVigdy.cjs +0 -329
- package/browser/esm/CDnNRZ7jINT_Dr0K.mjs +0 -46
- package/cdn/assets/BERonPR_jlfR0j1B.js +0 -46
- package/cdn/assets/Ct1wZ_TFb7_zG9uz.js +0 -22
- package/cdn/assets/o1yNcQczZA65rwUv.js +0 -41
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.5.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
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.5.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"});exports.TypeScriptCompiler=class{constructor(r={}){this.workerWrapper=null}async getWorkerWrapper(){if(this.workerWrapper)return this.workerWrapper;const{createCompilerWorker:r}=await Promise.resolve().then(()=>require("./
|
|
6
|
+
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});exports.TypeScriptCompiler=class{constructor(r={}){this.workerWrapper=null}async getWorkerWrapper(){if(this.workerWrapper)return this.workerWrapper;const{createCompilerWorker:r}=await Promise.resolve().then(()=>require("./D5z-zqUVI3G9JXBC.cjs"));return this.workerWrapper=await r(),this.workerWrapper}async compileModule(r){try{return(await this.getWorkerWrapper()).execute(r)}catch(e){throw console.error("Failed to compile using worker:",e),e}}terminate(){this.workerWrapper?.terminate(),this.workerWrapper=null}};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.5.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 b=require("./
|
|
6
|
+
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("./D68uE8Ovq38Aj-88.cjs");let $=null,L=null;const le={compilerOptions:{target:"esnext"}},se=async()=>`
|
|
7
7
|
interface FirstTest {
|
|
8
8
|
isTrue?: boolean;
|
|
9
9
|
}
|
|
10
|
-
`,Q=new Map([["IReferenceRange","r"],["IRange","l"]]),Z=new Map([["IWorkbook","workbook"],["ISheet","sheet"],["ICellRanges","ranges"],["ICellRange","range"],["IFormulaContext","context"]]),V=(T,S)=>{Array.from(S.keys()).forEach(z=>{const P=S.get(z);S.set(`${T}.${z}`,P)})},ce=new Map([["Scalar","*"],["FormulaError.Known",b.M.Error],["Date","Date"],["JSON","JSON"]]),de=new Map([]),U="SheetXL";V(U,Q),V(U,Z),V(U,de);const ue=new Map([["Promise",()=>({async:!0})],["Observable",()=>({stream:!0})]]);let R=null;async function pe(){if(R)return R;try{return await(await Promise.resolve().then(()=>require("./
|
|
10
|
+
`,Q=new Map([["IReferenceRange","r"],["IRange","l"]]),Z=new Map([["IWorkbook","workbook"],["ISheet","sheet"],["ICellRanges","ranges"],["ICellRange","range"],["IFormulaContext","context"]]),V=(T,S)=>{Array.from(S.keys()).forEach(z=>{const P=S.get(z);S.set(`${T}.${z}`,P)})},ce=new Map([["Scalar","*"],["FormulaError.Known",b.M.Error],["Date","Date"],["JSON","JSON"]]),de=new Map([]),U="SheetXL";V(U,Q),V(U,Z),V(U,de);const ue=new Map([["Promise",()=>({async:!0})],["Observable",()=>({stream:!0})]]);let R=null;async function pe(){if(R)return R;try{return await(await Promise.resolve().then(()=>require("./BAxy7pwmXg8SI_oi.cjs"))).initialize()}catch(T){throw R=null,T}finally{R=null}}exports.compileModule=async function(T){const S=T?.source??null;if(!S)return null;const z=(T.disableBundle||T.declarationsOnly)??!1,P=[se(),pe()],X=await Promise.all(P),ee=X[0],n=X[1];let C="",j=null;const O=[],te={allowJs:!0,declaration:!1,sourceMap:!1,inlineSourceMap:!1,inlineSources:!1,isolatedModules:!0,preserveConstEnums:!1,module:99,noResolve:!0,emitDeclarationOnly:!1,target:n.ScriptTarget.ES2020},A="script",I=`${A}.ts`,_="lib.d.ts",H="global.d.ts",F={[I]:S,[_]:`
|
|
11
11
|
/**
|
|
12
12
|
* Represents the completion of an asynchronous operation
|
|
13
13
|
*/
|
|
@@ -21,7 +21,7 @@ interface Promise<T> {
|
|
|
21
21
|
finally(onfinally?: (() => void) | undefined | null): Promise<T>;
|
|
22
22
|
}
|
|
23
23
|
`,[H]:ee},ne={getSourceFile:(e,o,y,r)=>n.createSourceFile(e,F[e],n.ScriptTarget.Latest,!0),fileExists:e=>F[e]!==void 0,readFile:e=>F[e],writeFile:(e,o)=>{F[e]=o},getCurrentDirectory:()=>"./",getCanonicalFileName:e=>e,useCaseSensitiveFileNames:()=>!0,getDefaultLibFileName:e=>_,getNewLine:()=>`
|
|
24
|
-
`},q=n.createProgram([I,H],te,ne),D=q.getTypeChecker(),re=q.getSourceFile(I),W=q.emit();W.diagnostics.length>0&&console.warn(W.diagnostics),C=F[`${A}.js`];const N=(e,o,y,r)=>{if(e){if(e.kind===n.SyntaxKind.NumberKeyword)o.scalar=b.M.Number;else if(e.kind===n.SyntaxKind.StringKeyword)o.scalar=b.M.String;else if(e.kind===n.SyntaxKind.BooleanKeyword)o.scalar=b.M.Boolean;else if(e.kind===n.SyntaxKind.UndefinedKeyword||e.kind===n.SyntaxKind.NullKeyword||e.kind===n.SyntaxKind.VoidKeyword){if(r)return void h(e,new Error(`'undefined' is not a valid type for input: '${e?.parent?.name?.escapedText}'.`));o.scalar=b.M.Null}else if(e.kind===n.SyntaxKind.BigIntKeyword)o.scalar=b.M.Number;else if(e.kind===n.SyntaxKind.AnyKeyword)o.scalar=b.M.Null;else if(e.kind===n.SyntaxKind.ArrayType){const i=e.elementType;if(!i)return void h(e,new Error(`'Array' must be typed: '${e?.parent?.name?.escapedText}'.`));o.arrayDepth=(o.arrayDepth??0)+1,N(i,o,y,r)}else if(e.kind!==n.SyntaxKind.TupleType&&e.kind===n.SyntaxKind.TypeReference){const i=e.typeName?.getText?.()??null,f=Q.get(i);let m=!1;f&&(o.range=f,m=!0);const x=ce.get(i);if(x&&(o.scalar=x),x!==void 0&&(m=!0),r){const c=Z.get(i);if(c)return c}else{const c=ue.get(i);if(c){const l={...o,...c()};let t=0;if(l.async&&t++,l.stream&&t++,t>1)return void h(e,new Error(`'${i}' cannot have multiple modifiers: '${e?.parent?.name?.escapedText}'.`));o=l,m=!0}}if(!m)return void h("node",new Error(`'${i}' is not a valid type: '${e?.parent?.name?.escapedText}'.`));const p=e.typeArguments;if(p){if(p.length!==1)return void h(e,new Error(`'${i}' must be typed with exactly 1 type: '${e?.parent?.name?.escapedText}'.`));N(p[0],o,y,r)}}}else h(e,new Error(`Type is not defined for '${o?.name??"return"}'.`))},k=[],h=(e,o)=>{k.push(o)};if(n.forEachChild(re,e=>{if(y=e,(n.getCombinedModifierFlags(y)&n.ModifierFlags.Export)!==0&&n.isFunctionDeclaration(e)){const r={},i={parameters:{}},f=e?.name?.getText();try{r.name=f;const m=D.getSymbolAtLocation(e.name).getDocumentationComment(D);if(m&&m.length>0&&m[0].text){let l=m[0].text;l=l.replace(/[\r\n]+/g,"\\n").trim(),i.summary=l}const x={};N(e.type,x,r,!1),r.returnType=x;const p={};o=e,(n.getCombinedModifierFlags(o)&n.ModifierFlags.Default)!==0&&(p.default=!0,j=f),Object.keys(p).length>0&&(r.behavior=p),r.parameters=[];const c=new Map;for(let l=0;l<e.parameters.length;l++){const t=e.parameters[l],s={};s.name=t.name?.getText();const E=N(t.type,s,r,!0);if(E){if(r.parameters.length!==0){const v=e?.parent,u=v?.name?.getText();return void h(e,new Error(`'${r.name}' contexts must be the first parameter: '${u}'.`))}r.context=E;continue}let g;if((t.initializer!==void 0&&t.initializer!==null||t.questionToken!==void 0&&t.questionToken!==null)&&(s.optional=!0,t.initializer))try{g=t.initializer.kind===n.SyntaxKind.StringLiteral?t.initializer.text:t.initializer.kind===n.SyntaxKind.NumericLiteral?parseFloat(t.initializer.text):t.initializer.kind===n.SyntaxKind.TrueKeyword||t.initializer.kind===n.SyntaxKind.FalseKeyword?t.initializer.kind===n.SyntaxKind.TrueKeyword:t.initializer.kind===n.SyntaxKind.NullKeyword?null:t.initializer.kind===n.SyntaxKind.ObjectLiteralExpression||t.initializer.kind===n.SyntaxKind.ArrayLiteralExpression?t.initializer.getText():t.initializer.getText?.()}catch(v){console.warn(`Couldn't extract default value for parameter '${s.name}'`,v)}t.dotDotDotToken&&(s.rest=!0),r.parameters.push(s);const d={description:""};i.parameters[s.name]=d;const a=D.getSymbolAtLocation(t.name).getDocumentationComment(D);a&&a.length>0&&a[0].text&&(d.description=a[0].text),g!==void 0&&(d.defaultValue=g),c.set(s.name,s)}if(e.jsDoc&&e.jsDoc.length>0){const l=e.jsDoc;for(let t=0;t<l.length;t++){const s=l[t]?.tags;if(s)for(let E=0;E<s.length;E++){const g=s[E];let d=g?.tagName?.text;if(!d)continue;d=d.toLowerCase();let a=g.comment;const v=d==="hidden";if((typeof a=="string"||v)&&(typeof a=="string"&&(a=a.replace(/[\r\n]+/g,"\\n").trim()),v||!a||(a=a.split(/\\n/)[0],a&&a.length!==0))){if(a&&typeof a=="string"){const u=/\{@link(code|plain)?\s+([^}|]+)(?:\s*\|\s*([^}]+))?\}/g;let w,K=a,M=[];for(;(w=u.exec(a))!==null;){const[B,J,oe,G]=w,ae=[oe.trim()];G&&ae.push(G.trim())}a=K,M.length>0&&d==="see"&&(i.links||(i.links=[]),i.links.push(...M))}if(d==="name"){const u=a;u!==f&&(i.name=u)}else if(d!=="description"){if(d==="summary"){const u=a;u&&(i.summary=u)}else if(d==="param"){const u=g.name?.text,w=c.get(u);if(!w){k.push(new Error(`Parameter '${u}' not found in function '${f}'.`));continue}if(g.typeExpression&&g.typeExpression.type)try{const K=g.typeExpression.type;if(K.kind===n.SyntaxKind.UnionType){const M=[];w.enums=M,K.types.forEach(B=>{if(B.kind===n.SyntaxKind.LiteralType){const J=B.literal.text;J&&M.push(J)}})}}catch(K){console.warn("Error parsing JSDoc type expression:",K)}}else if(d==="returns"||d==="return")r.returnType.description=a;else if(d==="category")i.category=a;else if(d==="hidden"){let u=!0;const w=a?.toLowerCase();w==="false"?u=!1:w!=="true"&&(u=a),u!==!1&&(i.hidden=u??!0)}}}}}}Object.keys(r.returnType).length===0&&delete r.returnType,O.push([r,i])}catch(m){h(e,new Error(`'${f}': ${m.message}`))}}var o,y}),k.length>0)throw console.warn(k),new Error("There were compilation errors.",{cause:k});if(O.length===0)throw new Error("No exported functions.");const ie=`${b.Yt.uuidV4()}-script`;try{z||k.length!==0||(C=await async function(e,o,y="/script.js",r="__SHEETXL"){try{const i=await async function(){if($)return $;if(L){if(await L,!$)throw new Error("ESBuild initialization promise resolved, but instance is not available.");return $}let c,l;L=new Promise((t,s)=>{c=t,l=s});try{const{initialize:t}=await Promise.resolve().then(()=>require("
|
|
24
|
+
`},q=n.createProgram([I,H],te,ne),D=q.getTypeChecker(),re=q.getSourceFile(I),W=q.emit();W.diagnostics.length>0&&console.warn(W.diagnostics),C=F[`${A}.js`];const N=(e,o,y,r)=>{if(e){if(e.kind===n.SyntaxKind.NumberKeyword)o.scalar=b.M.Number;else if(e.kind===n.SyntaxKind.StringKeyword)o.scalar=b.M.String;else if(e.kind===n.SyntaxKind.BooleanKeyword)o.scalar=b.M.Boolean;else if(e.kind===n.SyntaxKind.UndefinedKeyword||e.kind===n.SyntaxKind.NullKeyword||e.kind===n.SyntaxKind.VoidKeyword){if(r)return void h(e,new Error(`'undefined' is not a valid type for input: '${e?.parent?.name?.escapedText}'.`));o.scalar=b.M.Null}else if(e.kind===n.SyntaxKind.BigIntKeyword)o.scalar=b.M.Number;else if(e.kind===n.SyntaxKind.AnyKeyword)o.scalar=b.M.Null;else if(e.kind===n.SyntaxKind.ArrayType){const i=e.elementType;if(!i)return void h(e,new Error(`'Array' must be typed: '${e?.parent?.name?.escapedText}'.`));o.arrayDepth=(o.arrayDepth??0)+1,N(i,o,y,r)}else if(e.kind!==n.SyntaxKind.TupleType&&e.kind===n.SyntaxKind.TypeReference){const i=e.typeName?.getText?.()??null,f=Q.get(i);let m=!1;f&&(o.range=f,m=!0);const x=ce.get(i);if(x&&(o.scalar=x),x!==void 0&&(m=!0),r){const c=Z.get(i);if(c)return c}else{const c=ue.get(i);if(c){const l={...o,...c()};let t=0;if(l.async&&t++,l.stream&&t++,t>1)return void h(e,new Error(`'${i}' cannot have multiple modifiers: '${e?.parent?.name?.escapedText}'.`));o=l,m=!0}}if(!m)return void h("node",new Error(`'${i}' is not a valid type: '${e?.parent?.name?.escapedText}'.`));const p=e.typeArguments;if(p){if(p.length!==1)return void h(e,new Error(`'${i}' must be typed with exactly 1 type: '${e?.parent?.name?.escapedText}'.`));N(p[0],o,y,r)}}}else h(e,new Error(`Type is not defined for '${o?.name??"return"}'.`))},k=[],h=(e,o)=>{k.push(o)};if(n.forEachChild(re,e=>{if(y=e,(n.getCombinedModifierFlags(y)&n.ModifierFlags.Export)!==0&&n.isFunctionDeclaration(e)){const r={},i={parameters:{}},f=e?.name?.getText();try{r.name=f;const m=D.getSymbolAtLocation(e.name).getDocumentationComment(D);if(m&&m.length>0&&m[0].text){let l=m[0].text;l=l.replace(/[\r\n]+/g,"\\n").trim(),i.summary=l}const x={};N(e.type,x,r,!1),r.returnType=x;const p={};o=e,(n.getCombinedModifierFlags(o)&n.ModifierFlags.Default)!==0&&(p.default=!0,j=f),Object.keys(p).length>0&&(r.behavior=p),r.parameters=[];const c=new Map;for(let l=0;l<e.parameters.length;l++){const t=e.parameters[l],s={};s.name=t.name?.getText();const E=N(t.type,s,r,!0);if(E){if(r.parameters.length!==0){const v=e?.parent,u=v?.name?.getText();return void h(e,new Error(`'${r.name}' contexts must be the first parameter: '${u}'.`))}r.context=E;continue}let g;if((t.initializer!==void 0&&t.initializer!==null||t.questionToken!==void 0&&t.questionToken!==null)&&(s.optional=!0,t.initializer))try{g=t.initializer.kind===n.SyntaxKind.StringLiteral?t.initializer.text:t.initializer.kind===n.SyntaxKind.NumericLiteral?parseFloat(t.initializer.text):t.initializer.kind===n.SyntaxKind.TrueKeyword||t.initializer.kind===n.SyntaxKind.FalseKeyword?t.initializer.kind===n.SyntaxKind.TrueKeyword:t.initializer.kind===n.SyntaxKind.NullKeyword?null:t.initializer.kind===n.SyntaxKind.ObjectLiteralExpression||t.initializer.kind===n.SyntaxKind.ArrayLiteralExpression?t.initializer.getText():t.initializer.getText?.()}catch(v){console.warn(`Couldn't extract default value for parameter '${s.name}'`,v)}t.dotDotDotToken&&(s.rest=!0),r.parameters.push(s);const d={description:""};i.parameters[s.name]=d;const a=D.getSymbolAtLocation(t.name).getDocumentationComment(D);a&&a.length>0&&a[0].text&&(d.description=a[0].text),g!==void 0&&(d.defaultValue=g),c.set(s.name,s)}if(e.jsDoc&&e.jsDoc.length>0){const l=e.jsDoc;for(let t=0;t<l.length;t++){const s=l[t]?.tags;if(s)for(let E=0;E<s.length;E++){const g=s[E];let d=g?.tagName?.text;if(!d)continue;d=d.toLowerCase();let a=g.comment;const v=d==="hidden";if((typeof a=="string"||v)&&(typeof a=="string"&&(a=a.replace(/[\r\n]+/g,"\\n").trim()),v||!a||(a=a.split(/\\n/)[0],a&&a.length!==0))){if(a&&typeof a=="string"){const u=/\{@link(code|plain)?\s+([^}|]+)(?:\s*\|\s*([^}]+))?\}/g;let w,K=a,M=[];for(;(w=u.exec(a))!==null;){const[B,J,oe,G]=w,ae=[oe.trim()];G&&ae.push(G.trim())}a=K,M.length>0&&d==="see"&&(i.links||(i.links=[]),i.links.push(...M))}if(d==="name"){const u=a;u!==f&&(i.name=u)}else if(d!=="description"){if(d==="summary"){const u=a;u&&(i.summary=u)}else if(d==="param"){const u=g.name?.text,w=c.get(u);if(!w){k.push(new Error(`Parameter '${u}' not found in function '${f}'.`));continue}if(g.typeExpression&&g.typeExpression.type)try{const K=g.typeExpression.type;if(K.kind===n.SyntaxKind.UnionType){const M=[];w.enums=M,K.types.forEach(B=>{if(B.kind===n.SyntaxKind.LiteralType){const J=B.literal.text;J&&M.push(J)}})}}catch(K){console.warn("Error parsing JSDoc type expression:",K)}}else if(d==="returns"||d==="return")r.returnType.description=a;else if(d==="category")i.category=a;else if(d==="hidden"){let u=!0;const w=a?.toLowerCase();w==="false"?u=!1:w!=="true"&&(u=a),u!==!1&&(i.hidden=u??!0)}}}}}}Object.keys(r.returnType).length===0&&delete r.returnType,O.push([r,i])}catch(m){h(e,new Error(`'${f}': ${m.message}`))}}var o,y}),k.length>0)throw console.warn(k),new Error("There were compilation errors.",{cause:k});if(O.length===0)throw new Error("No exported functions.");const ie=`${b.Yt.uuidV4()}-script`;try{z||k.length!==0||(C=await async function(e,o,y="/script.js",r="__SHEETXL"){try{const i=await async function(){if($)return $;if(L){if(await L,!$)throw new Error("ESBuild initialization promise resolved, but instance is not available.");return $}let c,l;L=new Promise((t,s)=>{c=t,l=s});try{const{initialize:t}=await Promise.resolve().then(()=>require("./K7QHOvYV_yvLLjsS.cjs"));return $=await t(),c(),$}catch(t){throw console.error("Failed to import or initialize esbuild:",t),L=null,l(t),t}}(),f="@sheetxl/primitives",m=`
|
|
25
25
|
export const FormulaContext = globalThis.${r}?.FormulaContext;
|
|
26
26
|
export const ScalarType = globalThis.${r}?.ScalarType;
|
|
27
27
|
export const Observable = globalThis.${r}?.Observable;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.5.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 t=require("./
|
|
6
|
+
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./D68uE8Ovq38Aj-88.cjs"),I=["Ok","Cancel"],j=t.reactExports.memo(E=>{const{initialValue:T,context:x,onOption:m,onValidateOption:p,onInputOption:d,onDone:l,options:g=I,defaultOption:r=g?.[0],cancelOption:i="Cancel",sx:b,...v}=E,[o,y]=t.reactExports.useState(T),[C,F]=t.reactExports.useState(!1),u=t.reactExports.useCallback(async(e,a)=>!0,[]),c=t.T(async e=>{d?.(o,e),m?.(e,e===i,e===r),l?.()},[o,d,l,m,i,r]),O=t.T(async e=>{e.keyCode===t.to.Enter&&await u?.(o,null)!==!1&&c(r)},[o,c]),S=t.T(e=>{y(e.target.value),u?.(e.target.value,null)},[p]),k=t.T(async e=>{let a=await Promise.resolve(p?.(e));try{a!==!1&&(a=await Promise.resolve(u?.(o,e))??!0)}catch{}return a??!0},[p]),[h,f]=t.reactExports.useState(t.Ft.Styles.lookupStyle(o).formatType??t.Ft.Type.Custom);t.reactExports.useEffect(()=>{f(t.Ft.Styles.lookupStyle(o).formatType??t.Ft.Type.Custom)},[o]);const R=t.reactExports.useMemo(()=>{const e=t.Ft.Styles.lookupPrimary(),a=n=>t.jsxRuntimeExports.jsx(t.MenuItem,{value:n,children:n},n),s=Object.keys(e).map(n=>a(e[n].formatType));return s.push(a(t.Ft.Type.Custom)),s},[]),P=t.reactExports.useCallback(e=>{const a=e.target.value;f(a);const s=t.Ft.Styles.lookupDefault(a);s&&y(s)},[]),w=t.reactExports.useMemo(()=>{const e=x();return e.createTemporaryCell({value:e.getValue()??12345,style:{numberFormat:o}})},[h,o,x]);return t.jsxRuntimeExports.jsx(t.S3,{title:"Number Format",options:g,onDone:l,onOption:e=>c(e),onValidateOption:k,defaultOption:r,cancelOption:i,autoFocusSel:".autoFocus",sx:{width:"580px",...b},...v,children:t.jsxRuntimeExports.jsxs(t.Box,{sx:{paddingTop:e=>e.spacing(1),paddingBottom:e=>e.spacing(0),rowGap:e=>e.spacing(1),display:"flex",flexDirection:"column"},children:[t.jsxRuntimeExports.jsxs(t.FormControl,{sx:{minWidth:135},size:"small",children:[t.jsxRuntimeExports.jsx(t.InputLabel,{children:"Category"}),t.jsxRuntimeExports.jsx(t.Select,{value:h,label:"Category",onChange:P,sx:{backgroundImage:`linear-gradient(${t.alpha("#fff",t.getOverlayAlpha(5))}, ${t.alpha("#fff",t.getOverlayAlpha(5))})`},children:R})]}),t.jsxRuntimeExports.jsx(t.FormControl,{sx:{paddingTop:e=>e.spacing(1.5),minWidth:135,width:"100%"},size:"small",children:t.jsxRuntimeExports.jsx(t.TextField,{label:"Code",onFocus:e=>{C||e.target?.select(),F(!0)},sx:{"& .MuiFormHelperText-root":{marginTop:e=>e.spacing(.5)}},InputLabelProps:{shrink:!0},InputProps:{inputProps:{className:"autoFocus",spellCheck:!1,autoComplete:"off",sx:{paddingTop:e=>e.spacing(1.25),paddingBottom:e=>e.spacing(.75),backgroundImage:`linear-gradient(${t.alpha("#fff",t.getOverlayAlpha(5))}, ${t.alpha("#fff",t.getOverlayAlpha(5))})`}}},value:o,onChange:S,onKeyDown:O,onContextMenu:e=>{e.stopPropagation()}})}),t.jsxRuntimeExports.jsxs(t.Box,{children:[t.jsxRuntimeExports.jsx(t.Typography,{variant:"caption",component:"div",sx:{paddingLeft:e=>e.spacing(2)},children:"Preview"}),t.jsxRuntimeExports.jsx(t.Typography,{variant:"body2",component:"div",sx:{borderRadius:e=>`${e.shape.borderRadius}px`,padding:e=>e.spacing(1),border:e=>`1px solid ${e.palette.grey[400]}`},children:w.getNumberFormat().displayText||"(empty)"})]})]})})});exports.NumberFormatDialog=j,exports.default=j;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.5.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("./D68uE8Ovq38Aj-88.cjs"),I=["Ok","Cancel"],y=e.reactExports.memo(T=>{const{initialHyperlink:o=null,initialDisplay:E=null,onUpdateHyperlink:c,context:s,onOption:d,onValidateOption:r,onDone:i,options:x=I,defaultOption:p=x?.[0],cancelOption:l="Cancel",sx:k,...C}=T,O=e.reactExports.useMemo(()=>(o??s?.()?.getHyperlink())!==null,[]),g=e.reactExports.useMemo(()=>{let t=null,n=null;o&&(typeof o=="string"?n=o:t=o);const f=t??s?.()?.getHyperlink();return{address:n??f?.getAddress()??"",textToDisplay:f?.getDisplayText()??""}},[o,s]),[a,j]=e.reactExports.useState(g.address),[u,b]=e.reactExports.useState(()=>{const t=s?.().toTextUnformatted()??E;return t===g.address?"":t}),[v,m]=e.reactExports.useState(!1),F=e.reactExports.useCallback(t=>{b(t.target.value)},[]),h=e.reactExports.useCallback(async(t,n)=>null,[]),P=e.T(async t=>{t!==l&&c?.(a===""?null:{address:a},u),d?.(t,t===l,t===p),i?.()},[a,u,c,i,d,p,l]),D=e.T(t=>{j(t.target.value),h(t.target.value,null)},[r]),H=e.T(async t=>{let n=await Promise.resolve(r?.(t));try{n!==!1&&(n=await h(a,t))}catch{}return n??!0},[r]);return e.jsxRuntimeExports.jsx(e.S3,{title:(O?"Edit":"Insert")+" Link",options:x,onDone:i,onOption:t=>P(t),onValidateOption:H,defaultOption:p,cancelOption:l,autoFocusSel:".autoFocus",sx:{width:"480px",...k},...C,children:e.jsxRuntimeExports.jsxs(e.Box,{sx:{paddingTop:t=>t.spacing(1),paddingBottom:t=>t.spacing(0),rowGap:t=>t.spacing(1),display:"flex",flexDirection:"column"},children:[e.jsxRuntimeExports.jsx(e.FormControl,{sx:{paddingTop:t=>t.spacing(1.5),minWidth:135,width:"100%"},size:"small",children:e.jsxRuntimeExports.jsx(e.TextField,{label:"Address",placeholder:"Enter a url or cell reference.",onFocus:t=>{v||t.target?.select(),m(!0)},sx:{"& .MuiFormHelperText-root":{marginTop:t=>t.spacing(.5)}},InputLabelProps:{shrink:!0},InputProps:{inputProps:{className:"autoFocus",spellCheck:!1,autoComplete:"off",sx:{paddingTop:t=>t.spacing(1.25),paddingBottom:t=>t.spacing(.75),backgroundImage:`linear-gradient(${e.alpha("#fff",e.getOverlayAlpha(5))}, ${e.alpha("#fff",e.getOverlayAlpha(5))})`}}},value:a,onChange:D,onContextMenu:t=>{t.stopPropagation()}})}),e.jsxRuntimeExports.jsx(e.FormControl,{sx:{paddingTop:t=>t.spacing(1.5),minWidth:135,width:"100%"},size:"small",children:e.jsxRuntimeExports.jsx(e.TextField,{label:"Display Text",placeholder:a?.startsWith("#")?a.substring(1):a,onFocus:()=>{m(!0)},sx:{"& .MuiFormHelperText-root":{marginTop:t=>t.spacing(.5)}},InputLabelProps:{shrink:!0},InputProps:{inputProps:{spellCheck:!1,autoComplete:"off",sx:{paddingTop:t=>t.spacing(1.25),paddingBottom:t=>t.spacing(.75),backgroundImage:`linear-gradient(${e.alpha("#fff",e.getOverlayAlpha(5))}, ${e.alpha("#fff",e.getOverlayAlpha(5))})`}}},value:u,onChange:F,onContextMenu:t=>{t.stopPropagation()}})})]})})});exports.HyperlinkDialog=y,exports.default=y;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.5.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("./D68uE8Ovq38Aj-88.cjs"),d=e.reactExports.memo(g=>{const{title:u,onHide:h,autoFocusSel:j=".range-input input",context:R,notifier:i=e.Bt,command:a,commands:r,...f}=g,[y,l]=e.reactExports.useState(!1),[x,c]=e.reactExports.useState(!1),m=e.reactExports.useRef(null),[B,E]=e.reactExports.useReducer(t=>t+1,0),[b,{width:N}]=e.No();e.go(a);const s=R??a.context(),o=s.table(),[S,w]=e.reactExports.useState(()=>o?s.getNames().getRanges(o.getRange()):null),C=e.reactExports.useMemo(()=>o?.getName()??"",[o]);e.ht(s.table(),{onAnchorCoordsChange(t){w(s.getNames().getRanges(t.getRange()))},onProtectedChange(t){E()}});const v=e.T(t=>{s?.table().setName(t)},[s]),T=e.T(t=>{s?.table().resize(t.at(0))},[s]);let p=null;return s.table()||(p=e.jsxRuntimeExports.jsx("div",{style:{position:"absolute",top:"0",left:"0",width:"100%",height:"100%",opacity:1,display:"flex",alignItems:"center",justifyItems:"center",justifyContent:"center",boxSizing:"border-box"},children:e.jsxRuntimeExports.jsx("div",{children:"No table selected"})})),e.jsxRuntimeExports.jsx(e.z8,{ref:m,title:u??"Table Details",initialPosition:{y:"35"},autoFocusSel:j,onHide:h,onFocus:()=>l(!0),onBlur:t=>{m?.current?.contains(t.relatedTarget)||l(!1)},PaperProps:{elevation:y?3:1},...f,children:e.jsxRuntimeExports.jsxs(e.DialogContent,{dividers:!0,ref:b,sx:{display:"flex",flexDirection:"column",position:"relative",paddingLeft:t=>t.spacing(1.5),paddingRight:t=>t.spacing(1.5)},children:[e.jsxRuntimeExports.jsxs(e.Box,{sx:{display:"flex",flexDirection:"column",transition:"opacity 60ms",opacity:s.table()?1:0},children:[e.jsxRuntimeExports.jsx(e.Box,{sx:{display:"flex",flexDirection:"row",gap:t=>t.spacing(1)},children:e.jsxRuntimeExports.jsx(e.Box,{sx:{display:"flex",flexDirection:"column",maxWidth:"100%",boxSizing:"border-box",paddingLeft:t=>t.spacing(2),paddingRight:t=>t.spacing(2)},children:e.jsxRuntimeExports.jsxs(e.Box,{sx:{display:"flex",flexDirection:"column",alignItems:"center"},children:[e.jsxRuntimeExports.jsx(e.zp,{formName:"name",defaultInput:C,value:o?.getName()??"No table",onChangeInput:v,onValidate:t=>{o&&o.getName().toLowerCase()===t.toLowerCase()||s?.getNames().validateName(t)},disabled:o?.isProtected()??!0,onFocus:t=>{x||t.target?.select(),c(!0)}}),e.jsxRuntimeExports.jsx(e.Wp,{formName:"range",value:S,onChangeInput:T,resolvedAddress:s.getNames().getRanges.bind(s.getNames()),disabled:o?.isProtected()??!0,onFocus:t=>{x||t.target?.select(),c(!0)}})]})})}),e.jsxRuntimeExports.jsxs(e.Box,{sx:{minHeight:"10px",flex:"1 1 100%",display:"flex",flexDirection:"column",gap:t=>t.spacing(.5),marginTop:t=>t.spacing(1)},children:[e.jsxRuntimeExports.jsx(e.m6,{orientation:"horizontal",sx:{marginTop:t=>t.spacing(1.5),marginBottom:t=>t.spacing(.75)}}),e.jsxRuntimeExports.jsx(e.Sm,{disabled:o?.isProtected(),styleOptions:o?.getStyleOptions()??null,onStyleOptionsChange:t=>{o.updateStyleOptions(t)},showHeaderRow:o?.getShowHeaders(),onShowHeaderRowChange:t=>{try{o.setShowHeaders(t)}catch(n){i.showError(n)}},showTotalRow:o?.getShowTotals(),onShowTotalRowChange:t=>{try{o.setShowTotals(t)}catch(n){i.showError(n)}},showFilterButton:o?.getFilter()?o.getShowFilterButton():null,onShowFilterButtonChange:t=>{try{o.setShowFilterButton(t)}catch(n){i.showError(n)}}}),e.jsxRuntimeExports.jsx(e.Box,{sx:{display:"flex",alignItems:"center",justifyContent:"center",flexDirection:"column",marginTop:t=>t.spacing(2),marginBottom:t=>t.spacing(1)},children:e.jsxRuntimeExports.jsx(e.Rp,{table:o,styles:s.styles(),bodyStyle:s.bodyStyle(),cellHeight:30,isLive:!0})}),e.jsxRuntimeExports.jsx(e.m6,{orientation:"horizontal"}),e.jsxRuntimeExports.jsxs(e.Box,{sx:{display:"flex",flexDirection:"column",justifyContent:"center"},children:[e.jsxRuntimeExports.jsx(e.X8,{variant:e.vo.Menuitem,command:r.getCommand("convertTableToRange"),commandState:o,icon:e.p2(e.jsxRuntimeExports.jsx(e.l4,{}))}),e.jsxRuntimeExports.jsx(e.X8,{variant:e.vo.Menuitem,commandState:o,command:r.getCommand("deleteTable"),icon:e.p2(e.jsxRuntimeExports.jsx(e.l4,{}))})]})]})]}),p]})})});exports.TableDetailsWindow=d,exports.default=d;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.5.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/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.5.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/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.5.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
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.5.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("./QxU4KIgsHZuVigdy.cjs"),G=e.createSvgIcon(e.jsxRuntimeExports.jsx("path",{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z"}),"ArrowBack"),X=e.createSvgIcon(e.jsxRuntimeExports.jsx("path",{d:"m20 12-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8z"}),"ArrowDownward"),J=e.createSvgIcon(e.jsxRuntimeExports.jsx("path",{d:"m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"}),"ArrowForward"),Q=e.createSvgIcon(e.jsxRuntimeExports.jsx("path",{d:"m4 12 1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8z"}),"ArrowUpward"),T=e.reactExports.memo(g=>{const{label:d,value:a,options:i,onSelect:p,tabIndex:f=0,...R}=g,[O,m]=e.reactExports.useState(()=>$(a,i));e.reactExports.useEffect(()=>{m($(a,i))},[a,i]);const y=e.T(c=>{m(c.target.value),p?.(i[c.target.value])},[p,i]),r=e.reactExports.useMemo(()=>Object.keys(i).map(c=>e.jsxRuntimeExports.jsx(e.MenuItem,{value:c,children:c},c)),[i]);return e.jsxRuntimeExports.jsxs(e.FormControl,{sx:{minWidth:135},size:"small",children:[e.jsxRuntimeExports.jsx(e.InputLabel,{children:d}),e.jsxRuntimeExports.jsx(e.Select,{inputProps:{tabIndex:f},value:O,label:d,onChange:y,sx:{backgroundImage:`linear-gradient(${e.alpha("#fff",e.getOverlayAlpha(5))}, ${e.alpha("#fff",e.getOverlayAlpha(5))})`},...R,children:r})]})}),k={Workbook:"workbook",Sheet:"sheet"},z={enter:140,exit:140},Z={Formulas:e.ke.Content.Formulas,Values:e.ke.Content.Values,Notes:e.ke.Content.Notes,Comments:e.ke.Content.Comments},W={...Z};delete W.Values;const Y={"By Rows":!0,"By Columns":!1},$=(g,d)=>{const a=Object.keys(d);for(let i=0;i<a.length;i++){const p=a[i];if(d[p]===g)return p}},H=e.reactExports.memo(g=>{const{replace:d=!1,findText:a,replaceText:i,findOptions:p,replaceOptions:f,title:R,onHide:O,onFindOrReplace:m,...y}=g,r=e.reactExports.useRef(null),c=e.reactExports.useRef(null),S=e.reactExports.useRef(null),w=e.reactExports.useRef(null),I=e.reactExports.useRef(null),F=e.reactExports.useRef(null),A=(t,n)=>{n&&(n.start(t,{center:!1}),setTimeout(()=>n.stop(t),180))},[L,h]=e.reactExports.useState(!1),[C,N]=e.reactExports.useState(!1),[x,v]=e.reactExports.useState(d),[B,b]=e.reactExports.useState(!1),[D,P]=e.reactExports.useState(!1),[o,l]=e.reactExports.useState({findText:null,replaceText:null,replace:d,replaceOptions:{},findOptions:{matchCase:!1,matchEntireCell:!1,useRegex:!1,orientation:e.w.Orientation.Row,fields:[e.ke.Content.Formulas]},scope:k.Sheet}),E=e.T(async(t,n,s,j)=>{if(!m)return;const u={...o};u.replaceOptions={...u.replaceOptions},u.findOptions={...u.findOptions},u.replaceOptions.maxCount=s?void 0:1,u.replace=n,n&&o.findOptions.fields?.[0]===e.ke.Content.Values&&(u.findOptions.fields=[e.ke.Content.Formulas]),u.findOptions.reverse=!t;const q=await m({autoFocus:j,...u});b(q===0)},[o,m]);e.reactExports.useEffect(()=>{b(!1)},[o,C,x]);const M=e.T((t,n)=>{if(t.keyCode===e.to.Enter){if(!o.findText)return;let s=!0,j=!1;t.shiftKey&&(s=!1),n?(t.ctrlKey&&t.altKey&&(j=!0),A(t,j?F.current:I.current)):A(t,s?w.current:S.current),E(s,n,j,!1)}},[o]),K=e.reactExports.useRef(null);e.reactExports.useLayoutEffect(()=>{l(t=>{const n={...t};n.findText=a&&a.length>0?a:t.findText??"",h(!0),i!==void 0&&(n.replaceText=i),p&&(n.findOptions={...n.findOptions,...p}),n.replaceText||(n.replaceText=""),n.replaceOptions&&(n.replaceOptions={...n.replaceOptions}),f&&(n.replaceOptions={...n.replaceOptions,...f}),o.findOptions.fields?.[0]||(o.findOptions.fields=[e.ke.Content.Formulas]);const s=!(!f&&i===void 0);return s&&v(s),n}),D||K.current?.focus()},[a,i,p,f]),e.reactExports.useEffect(()=>{x?(o.findOptions.fields[0],e.ke.Content.Values):h(!0)},[x]),e.reactExports.useEffect(()=>{if(L&&r.current&&o.findText===r.current.value)return r.current===document.activeElement||r.current.contains(document.activeElement)?(r.current?.select(),void h(!1)):void r.current.addEventListener("focus",()=>{r.current?.select(),h(!1)},{once:!0})},[L,o]);const[U,{width:V}]=e.Mo();return e.jsxRuntimeExports.jsx(e.x8,{ref:K,title:R??(x?"Find & Replace":"Find"),initialPosition:{y:"35"},autoFocusSel:".input",onHide:O,onFocus:()=>P(!0),onBlur:()=>{P(!1),b(!1)},PaperProps:{elevation:D?3:1},...y,children:e.jsxRuntimeExports.jsxs(e.DialogContent,{dividers:!0,ref:U,sx:{display:"flex",flexDirection:"column",paddingLeft:t=>t.spacing(1.5),paddingRight:t=>t.spacing(1.5)},onKeyDown:t=>{if(t.key==="h"&&t.ctrlKey)v(!0),r.current?.contains(document.activeElement)&&c.current?.focus();else if(t.key==="f"&&t.ctrlKey)r.current?.focus();else if(t.key==="c"&&t.altKey)l(n=>{const s={...n};return s.findOptions.matchCase=!n.findOptions.matchCase,s});else if(t.key==="e"&&t.altKey)l(n=>{const s={...n};return s.findOptions.matchEntireCell=!n.findOptions.matchEntireCell,s});else{if(t.key!=="r"||!t.altKey)return;l(n=>{const s={...n};return s.findOptions.useRegex=!n.findOptions.useRegex,s})}t.preventDefault()},children:[e.jsxRuntimeExports.jsxs(e.Box,{sx:{display:"flex",flexDirection:"row",gap:t=>t.spacing(1)},children:[e.jsxRuntimeExports.jsxs(e.Box,{sx:{display:"flex",flexDirection:"row",alignItems:"start",gap:t=>t.spacing(.25),paddingTop:"3px"},children:[e.jsxRuntimeExports.jsx(e.Ee,{selected:C,onSelectToggle:t=>{N(t)},preventFocus:!0,label:"Toggle Additional Options",icon:e.p2(e.jsxRuntimeExports.jsx(e.y9,{}))}),e.jsxRuntimeExports.jsx(e.Ee,{selected:x,onSelectToggle:t=>{v(t)},preventFocus:!0,label:"Toggle Replace",icon:e.p2(e.jsxRuntimeExports.jsx(e.v9,{})),shortcut:{key:x?"F":"H",modifiers:[e.Z.Ctrl]}})]}),e.jsxRuntimeExports.jsxs(e.Box,{sx:{display:"flex",flexDirection:"column",maxWidth:"100%",boxSizing:"border-box"},children:[e.jsxRuntimeExports.jsxs(e.Box,{sx:{display:"flex",flexDirection:"row",alignItems:"center"},children:[e.jsxRuntimeExports.jsx(e.TextField,{label:"Find",InputLabelProps:{shrink:!0},InputProps:{sx:{paddingRight:t=>t.spacing(1),minWidth:V>460?"20em":void 0,backgroundImage:`linear-gradient(${e.alpha("#fff",e.getOverlayAlpha(5))}, ${e.alpha("#fff",e.getOverlayAlpha(5))})`},inputProps:{draggable:!1,ref:r,className:"input",autoFocus:!0,spellCheck:!1,autoComplete:"off",sx:{paddingTop:t=>t.spacing(1.25),paddingBottom:t=>t.spacing(.75)}},endAdornment:e.jsxRuntimeExports.jsx(e.InputAdornment,{sx:{transform:"scale(0.75) translateX(16px)"},position:"end",children:e.jsxRuntimeExports.jsxs(e.Box,{sx:{display:"flex",alignItems:"center",flexDirection:"row",gap:"1px"},children:[e.jsxRuntimeExports.jsx(e.Ee,{selected:o.findOptions.matchCase,onSelectToggle:t=>{l(n=>{const s={...n};return s.findOptions.matchCase=t,s})},label:"Match Case",shortcut:{key:"C",modifiers:[e.Z.Alt]},icon:e.p2(e.jsxRuntimeExports.jsx(e.g9,{}))}),e.jsxRuntimeExports.jsx(e.Ee,{selected:o.findOptions.matchEntireCell,onSelectToggle:t=>{l(n=>{const s={...n};return s.findOptions.matchEntireCell=t,s})},label:"Match Entire Cell",shortcut:{key:"E",modifiers:[e.Z.Alt]},icon:e.p2(e.jsxRuntimeExports.jsx(e.b9,{}))}),e.jsxRuntimeExports.jsx(e.Ee,{selected:o.findOptions.useRegex,onSelectToggle:t=>{l(n=>{const s={...n};return s.findOptions.useRegex=t,s})},label:"Use Regular Expression",shortcut:{key:"R",modifiers:[e.Z.Alt]},icon:e.p2(e.jsxRuntimeExports.jsx(e.z9,{}))})]})})},sx:{flex:"1 1 100%",marginRight:t=>t.spacing(1),"& .MuiOutlinedInput-notchedOutline":{borderColor:t=>B?`${t.palette.error.main} !important`:void 0},"& .MuiInputLabel-outlined":{color:t=>B?`${t.palette.error.main} !important`:void 0}},value:o.findText??"",onChange:t=>{l(n=>{const s={...n};return s.findText=t.target.value,s})},onKeyDown:t=>M(t,!1),onContextMenu:t=>{t.stopPropagation()}}),e.jsxRuntimeExports.jsx(e.Ee,{selected:o.findOptions.reverse,onSelectToggle:t=>{E(!1,!1)},touchRippleRef:S,label:"",shortcut:{key:"Enter",modifiers:[e.Z.Shift]},icon:e.p2(o.findOptions.orientation!==e.w.Orientation.Column?e.jsxRuntimeExports.jsx(G,{}):e.jsxRuntimeExports.jsx(Q,{})),disabled:!o.findText}),e.jsxRuntimeExports.jsx(e.Ee,{selected:!o.findOptions.reverse,onSelectToggle:t=>{E(!0,!1)},touchRippleRef:w,label:"Next Match",shortcut:{key:"Enter"},icon:e.p2(o.findOptions.orientation!==e.w.Orientation.Column?e.jsxRuntimeExports.jsx(J,{}):e.jsxRuntimeExports.jsx(X,{})),disabled:!o.findText})]}),e.jsxRuntimeExports.jsx(e.Collapse,{in:x,timeout:z,onExit:()=>{r.current?.focus()},children:e.jsxRuntimeExports.jsxs(e.Box,{sx:{display:"flex",flexDirection:"row",alignItems:"center",marginTop:t=>t.spacing(2)},children:[e.jsxRuntimeExports.jsx(e.TextField,{label:"Replace",InputLabelProps:{shrink:!0},InputProps:{sx:{paddingRight:t=>t.spacing(1),backgroundImage:`linear-gradient(${e.alpha("#fff",e.getOverlayAlpha(5))}, ${e.alpha("#fff",e.getOverlayAlpha(5))})`},inputProps:{ref:c,className:"input",spellCheck:!1,autoComplete:"off",sx:{paddingTop:t=>t.spacing(1.25),paddingBottom:t=>t.spacing(.75)}}},sx:{flex:"1 1 100%",marginRight:t=>t.spacing(1)},value:o.replaceText??"",onChange:t=>{l(n=>{const s={...n};return s.replaceText=t.target.value,s})},onKeyDown:t=>M(t,!0),onContextMenu:t=>{t.stopPropagation()}}),e.jsxRuntimeExports.jsx(e.Ee,{onSelectToggle:t=>{E(!0,!0)},touchRippleRef:I,label:"Replace",shortcut:{key:"Enter"},icon:e.p2(e.jsxRuntimeExports.jsx(e.x9,{})),disabled:!o.findText}),e.jsxRuntimeExports.jsx(e.Ee,{onSelectToggle:t=>{E(!0,!0,!0)},touchRippleRef:F,label:"Replace All",shortcut:{key:"Enter",modifiers:[e.Z.Ctrl,e.Z.Alt]},icon:e.p2(e.jsxRuntimeExports.jsx(e.V9,{})),disabled:!o.findText})]})})]})]}),e.jsxRuntimeExports.jsx(e.Collapse,{in:C,timeout:z,onExit:()=>{r.current?.focus()},children:e.jsxRuntimeExports.jsxs(e.Box,{sx:{minHeight:"10px",flex:"1 1 100%",display:"flex",flexDirection:"column",gap:t=>t.spacing(.5),marginTop:t=>t.spacing(1)},children:[e.jsxRuntimeExports.jsx(e.p6,{orientation:"horizontal",sx:{marginBottom:t=>t.spacing(1.5)}}),e.jsxRuntimeExports.jsxs(e.Box,{sx:{display:"flex",flexDirection:V>=413?"row":"column",justifyContent:"space-evenly",alignItems:"center",rowGap:t=>t.spacing(2)},tabIndex:-1,children:[e.jsxRuntimeExports.jsx(T,{label:"Within",value:o.scope,options:k,onSelect:t=>{l(n=>{const s={...n};return s.scope=t,s})}}),e.jsxRuntimeExports.jsx(T,{label:"Search",value:o.findOptions.orientation!==e.w.Orientation.Column,options:Y,onSelect:t=>{l(n=>{const s={...n};return s.findOptions.orientation=t?e.w.Orientation.Row:e.w.Orientation.Column,s})}}),e.jsxRuntimeExports.jsx(T,{label:"Look in",value:x&&o.findOptions.fields?.[0]===e.ke.Content.Values?e.ke.Content.Formulas:o.findOptions.fields?.[0],options:x?W:Z,onSelect:t=>{l(n=>{const s={...n};return s.findOptions.fields=[t],s})}})]})]})})]})})});exports.FindReplaceWindow=H,exports.ScopeOptions=k,exports.default=H;
|
|
6
|
+
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./D68uE8Ovq38Aj-88.cjs"),G=e.createSvgIcon(e.jsxRuntimeExports.jsx("path",{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z"}),"ArrowBack"),X=e.createSvgIcon(e.jsxRuntimeExports.jsx("path",{d:"m20 12-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8z"}),"ArrowDownward"),J=e.createSvgIcon(e.jsxRuntimeExports.jsx("path",{d:"m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"}),"ArrowForward"),Q=e.createSvgIcon(e.jsxRuntimeExports.jsx("path",{d:"m4 12 1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8z"}),"ArrowUpward"),T=e.reactExports.memo(g=>{const{label:d,value:a,options:i,onSelect:p,tabIndex:f=0,...h}=g,[O,m]=e.reactExports.useState(()=>H(a,i));e.reactExports.useEffect(()=>{m(H(a,i))},[a,i]);const y=e.T(c=>{m(c.target.value),p?.(i[c.target.value])},[p,i]),r=e.reactExports.useMemo(()=>Object.keys(i).map(c=>e.jsxRuntimeExports.jsx(e.MenuItem,{value:c,children:c},c)),[i]);return e.jsxRuntimeExports.jsxs(e.FormControl,{sx:{minWidth:135},size:"small",children:[e.jsxRuntimeExports.jsx(e.InputLabel,{children:d}),e.jsxRuntimeExports.jsx(e.Select,{inputProps:{tabIndex:f},value:O,label:d,onChange:y,sx:{backgroundImage:`linear-gradient(${e.alpha("#fff",e.getOverlayAlpha(5))}, ${e.alpha("#fff",e.getOverlayAlpha(5))})`},...h,children:r})]})}),I={Workbook:"workbook",Sheet:"sheet"},z={enter:140,exit:140},Z={Formulas:e.Ie.Content.Formulas,Values:e.Ie.Content.Values,Notes:e.Ie.Content.Notes,Comments:e.Ie.Content.Comments},N={...Z};delete N.Values;const Y={"By Rows":!0,"By Columns":!1},H=(g,d)=>{const a=Object.keys(d);for(let i=0;i<a.length;i++){const p=a[i];if(d[p]===g)return p}},$=e.reactExports.memo(g=>{const{replace:d=!1,findText:a,replaceText:i,findOptions:p,replaceOptions:f,title:h,onHide:O,onFindOrReplace:m,...y}=g,r=e.reactExports.useRef(null),c=e.reactExports.useRef(null),S=e.reactExports.useRef(null),w=e.reactExports.useRef(null),k=e.reactExports.useRef(null),F=e.reactExports.useRef(null),A=(t,n)=>{n&&(n.start(t,{center:!1}),setTimeout(()=>n.stop(t),180))},[L,R]=e.reactExports.useState(!1),[C,W]=e.reactExports.useState(!1),[x,v]=e.reactExports.useState(d),[B,b]=e.reactExports.useState(!1),[D,P]=e.reactExports.useState(!1),[o,l]=e.reactExports.useState({findText:null,replaceText:null,replace:d,replaceOptions:{},findOptions:{matchCase:!1,matchEntireCell:!1,useRegex:!1,orientation:e.w.Orientation.Row,fields:[e.Ie.Content.Formulas]},scope:I.Sheet}),j=e.T(async(t,n,s,E)=>{if(!m)return;const u={...o};u.replaceOptions={...u.replaceOptions},u.findOptions={...u.findOptions},u.replaceOptions.maxCount=s?void 0:1,u.replace=n,n&&o.findOptions.fields?.[0]===e.Ie.Content.Values&&(u.findOptions.fields=[e.Ie.Content.Formulas]),u.findOptions.reverse=!t;const q=await m({autoFocus:E,...u});b(q===0)},[o,m]);e.reactExports.useEffect(()=>{b(!1)},[o,C,x]);const M=e.T((t,n)=>{if(t.keyCode===e.to.Enter){if(!o.findText)return;let s=!0,E=!1;t.shiftKey&&(s=!1),n?(t.ctrlKey&&t.altKey&&(E=!0),A(t,E?F.current:k.current)):A(t,s?w.current:S.current),j(s,n,E,!1)}},[o]),K=e.reactExports.useRef(null);e.reactExports.useLayoutEffect(()=>{l(t=>{const n={...t};n.findText=a&&a.length>0?a:t.findText??"",R(!0),i!==void 0&&(n.replaceText=i),p&&(n.findOptions={...n.findOptions,...p}),n.replaceText||(n.replaceText=""),n.replaceOptions&&(n.replaceOptions={...n.replaceOptions}),f&&(n.replaceOptions={...n.replaceOptions,...f}),o.findOptions.fields?.[0]||(o.findOptions.fields=[e.Ie.Content.Formulas]);const s=!(!f&&i===void 0);return s&&v(s),n}),D||K.current?.focus()},[a,i,p,f]),e.reactExports.useEffect(()=>{x?(o.findOptions.fields[0],e.Ie.Content.Values):R(!0)},[x]),e.reactExports.useEffect(()=>{if(L&&r.current&&o.findText===r.current.value)return r.current===document.activeElement||r.current.contains(document.activeElement)?(r.current?.select(),void R(!1)):void r.current.addEventListener("focus",()=>{r.current?.select(),R(!1)},{once:!0})},[L,o]);const[U,{width:V}]=e.No();return e.jsxRuntimeExports.jsx(e.z8,{ref:K,title:h??(x?"Find & Replace":"Find"),initialPosition:{y:"35"},autoFocusSel:".input",onHide:O,onFocus:()=>P(!0),onBlur:()=>{P(!1),b(!1)},PaperProps:{elevation:D?3:1},...y,children:e.jsxRuntimeExports.jsxs(e.DialogContent,{dividers:!0,ref:U,sx:{display:"flex",flexDirection:"column",paddingLeft:t=>t.spacing(1.5),paddingRight:t=>t.spacing(1.5)},onKeyDown:t=>{if(t.key==="h"&&t.ctrlKey)v(!0),r.current?.contains(document.activeElement)&&c.current?.focus();else if(t.key==="f"&&t.ctrlKey)r.current?.focus();else if(t.key==="c"&&t.altKey)l(n=>{const s={...n};return s.findOptions.matchCase=!n.findOptions.matchCase,s});else if(t.key==="e"&&t.altKey)l(n=>{const s={...n};return s.findOptions.matchEntireCell=!n.findOptions.matchEntireCell,s});else{if(t.key!=="r"||!t.altKey)return;l(n=>{const s={...n};return s.findOptions.useRegex=!n.findOptions.useRegex,s})}t.preventDefault()},children:[e.jsxRuntimeExports.jsxs(e.Box,{sx:{display:"flex",flexDirection:"row",gap:t=>t.spacing(1)},children:[e.jsxRuntimeExports.jsxs(e.Box,{sx:{display:"flex",flexDirection:"row",alignItems:"start",gap:t=>t.spacing(.25),paddingTop:"3px"},children:[e.jsxRuntimeExports.jsx(e.Re,{selected:C,onSelectToggle:t=>{W(t)},preventFocus:!0,label:"Toggle Additional Options",icon:e.p2(e.jsxRuntimeExports.jsx(e.b9,{}))}),e.jsxRuntimeExports.jsx(e.Re,{selected:x,onSelectToggle:t=>{v(t)},preventFocus:!0,label:"Toggle Replace",icon:e.p2(e.jsxRuntimeExports.jsx(e.g9,{})),shortcut:{key:x?"F":"H",modifiers:[e.Z.Ctrl]}})]}),e.jsxRuntimeExports.jsxs(e.Box,{sx:{display:"flex",flexDirection:"column",maxWidth:"100%",boxSizing:"border-box"},children:[e.jsxRuntimeExports.jsxs(e.Box,{sx:{display:"flex",flexDirection:"row",alignItems:"center"},children:[e.jsxRuntimeExports.jsx(e.TextField,{label:"Find",InputLabelProps:{shrink:!0},InputProps:{sx:{paddingRight:t=>t.spacing(1),minWidth:V>460?"20em":void 0,backgroundImage:`linear-gradient(${e.alpha("#fff",e.getOverlayAlpha(5))}, ${e.alpha("#fff",e.getOverlayAlpha(5))})`},inputProps:{draggable:!1,ref:r,className:"input",autoFocus:!0,spellCheck:!1,autoComplete:"off",sx:{paddingTop:t=>t.spacing(1.25),paddingBottom:t=>t.spacing(.75)}},endAdornment:e.jsxRuntimeExports.jsx(e.InputAdornment,{sx:{transform:"scale(0.75) translateX(16px)"},position:"end",children:e.jsxRuntimeExports.jsxs(e.Box,{sx:{display:"flex",alignItems:"center",flexDirection:"row",gap:"1px"},children:[e.jsxRuntimeExports.jsx(e.Re,{selected:o.findOptions.matchCase,onSelectToggle:t=>{l(n=>{const s={...n};return s.findOptions.matchCase=t,s})},label:"Match Case",shortcut:{key:"C",modifiers:[e.Z.Alt]},icon:e.p2(e.jsxRuntimeExports.jsx(e.x9,{}))}),e.jsxRuntimeExports.jsx(e.Re,{selected:o.findOptions.matchEntireCell,onSelectToggle:t=>{l(n=>{const s={...n};return s.findOptions.matchEntireCell=t,s})},label:"Match Entire Cell",shortcut:{key:"E",modifiers:[e.Z.Alt]},icon:e.p2(e.jsxRuntimeExports.jsx(e.V9,{}))}),e.jsxRuntimeExports.jsx(e.Re,{selected:o.findOptions.useRegex,onSelectToggle:t=>{l(n=>{const s={...n};return s.findOptions.useRegex=t,s})},label:"Use Regular Expression",shortcut:{key:"R",modifiers:[e.Z.Alt]},icon:e.p2(e.jsxRuntimeExports.jsx(e.M9,{}))})]})})},sx:{flex:"1 1 100%",marginRight:t=>t.spacing(1),"& .MuiOutlinedInput-notchedOutline":{borderColor:t=>B?`${t.palette.error.main} !important`:void 0},"& .MuiInputLabel-outlined":{color:t=>B?`${t.palette.error.main} !important`:void 0}},value:o.findText??"",onChange:t=>{l(n=>{const s={...n};return s.findText=t.target.value,s})},onKeyDown:t=>M(t,!1),onContextMenu:t=>{t.stopPropagation()}}),e.jsxRuntimeExports.jsx(e.Re,{selected:o.findOptions.reverse,onSelectToggle:t=>{j(!1,!1)},touchRippleRef:S,label:"",shortcut:{key:"Enter",modifiers:[e.Z.Shift]},icon:e.p2(o.findOptions.orientation!==e.w.Orientation.Column?e.jsxRuntimeExports.jsx(G,{}):e.jsxRuntimeExports.jsx(Q,{})),disabled:!o.findText}),e.jsxRuntimeExports.jsx(e.Re,{selected:!o.findOptions.reverse,onSelectToggle:t=>{j(!0,!1)},touchRippleRef:w,label:"Next Match",shortcut:{key:"Enter"},icon:e.p2(o.findOptions.orientation!==e.w.Orientation.Column?e.jsxRuntimeExports.jsx(J,{}):e.jsxRuntimeExports.jsx(X,{})),disabled:!o.findText})]}),e.jsxRuntimeExports.jsx(e.Collapse,{in:x,timeout:z,onExit:()=>{r.current?.focus()},children:e.jsxRuntimeExports.jsxs(e.Box,{sx:{display:"flex",flexDirection:"row",alignItems:"center",marginTop:t=>t.spacing(2)},children:[e.jsxRuntimeExports.jsx(e.TextField,{label:"Replace",InputLabelProps:{shrink:!0},InputProps:{sx:{paddingRight:t=>t.spacing(1),backgroundImage:`linear-gradient(${e.alpha("#fff",e.getOverlayAlpha(5))}, ${e.alpha("#fff",e.getOverlayAlpha(5))})`},inputProps:{ref:c,className:"input",spellCheck:!1,autoComplete:"off",sx:{paddingTop:t=>t.spacing(1.25),paddingBottom:t=>t.spacing(.75)}}},sx:{flex:"1 1 100%",marginRight:t=>t.spacing(1)},value:o.replaceText??"",onChange:t=>{l(n=>{const s={...n};return s.replaceText=t.target.value,s})},onKeyDown:t=>M(t,!0),onContextMenu:t=>{t.stopPropagation()}}),e.jsxRuntimeExports.jsx(e.Re,{onSelectToggle:t=>{j(!0,!0)},touchRippleRef:k,label:"Replace",shortcut:{key:"Enter"},icon:e.p2(e.jsxRuntimeExports.jsx(e.z9,{})),disabled:!o.findText}),e.jsxRuntimeExports.jsx(e.Re,{onSelectToggle:t=>{j(!0,!0,!0)},touchRippleRef:F,label:"Replace All",shortcut:{key:"Enter",modifiers:[e.Z.Ctrl,e.Z.Alt]},icon:e.p2(e.jsxRuntimeExports.jsx(e.H9,{})),disabled:!o.findText})]})})]})]}),e.jsxRuntimeExports.jsx(e.Collapse,{in:C,timeout:z,onExit:()=>{r.current?.focus()},children:e.jsxRuntimeExports.jsxs(e.Box,{sx:{minHeight:"10px",flex:"1 1 100%",display:"flex",flexDirection:"column",gap:t=>t.spacing(.5),marginTop:t=>t.spacing(1)},children:[e.jsxRuntimeExports.jsx(e.m6,{orientation:"horizontal",sx:{marginBottom:t=>t.spacing(1.5)}}),e.jsxRuntimeExports.jsxs(e.Box,{sx:{display:"flex",flexDirection:V>=413?"row":"column",justifyContent:"space-evenly",alignItems:"center",rowGap:t=>t.spacing(2)},tabIndex:-1,children:[e.jsxRuntimeExports.jsx(T,{label:"Within",value:o.scope,options:I,onSelect:t=>{l(n=>{const s={...n};return s.scope=t,s})}}),e.jsxRuntimeExports.jsx(T,{label:"Search",value:o.findOptions.orientation!==e.w.Orientation.Column,options:Y,onSelect:t=>{l(n=>{const s={...n};return s.findOptions.orientation=t?e.w.Orientation.Row:e.w.Orientation.Column,s})}}),e.jsxRuntimeExports.jsx(T,{label:"Look in",value:x&&o.findOptions.fields?.[0]===e.Ie.Content.Values?e.Ie.Content.Formulas:o.findOptions.fields?.[0],options:x?N:Z,onSelect:t=>{l(n=>{const s={...n};return s.findOptions.fields=[t],s})}})]})]})})]})})});exports.FindReplaceWindow=$,exports.ScopeOptions=I,exports.default=$;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.5.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/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.5.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,15 +1,15 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.5.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 yt=require("./
|
|
6
|
+
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const yt=require("./D68uE8Ovq38Aj-88.cjs");var ct,pt={exports:{}},gt=(ct||(ct=1,pt.exports=function Y(){var Q,k=typeof self<"u"?self:typeof window<"u"?window:k!==void 0?k:{},P=!k.document&&!!k.postMessage,B=k.IS_PAPA_WORKER||!1,J={},mt=0,a={};function K(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 l=this._config.newline;l||(r=this._config.quoteChar||'"',l=this._handle.guessLineEndings(e,r)),e=[...e.split(l).slice(n)].join(l)}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,B)k.postMessage({results:r,workerId:a.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):B&&this._config.error&&k.postMessage({workerId:a.WORKER_ID,error:e,finished:!1})}}function it(t){var e;(t=t||{}).chunkSize||(t.chunkSize=a.RemoteChunkSize),K.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=$(this._chunkLoaded,this),e.onerror=$(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(l){this._chunkError(l.message)}P&&e.status===0&&this._chunkError()}},this._chunkLoaded=function(){var i;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=e).getResponseHeader("Content-Range"))!==null?parseInt(i.substring(i.lastIndexOf("/")+1)):-1),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=a.LocalChunkSize),K.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=$(this._chunkLoaded,this),e.onerror=$(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,l=(this._config.chunkSize&&(l=Math.min(this._start+this._config.chunkSize,this._input.size),r=i.call(r,this._start,l)),e.readAsText(r,this._config.encoding));n||this._chunkLoaded({target:{result:l}})},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;K.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){K.call(this,t=t||{});var e=[],i=!0,n=!1;this.pause=function(){K.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){K.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=$(function(r){try{e.push(typeof r=="string"?r:r.toString(this._config.encoding)),i&&(i=!1,this._checkIsFinished(),this.parseChunk(e.shift()))}catch(l){this._streamError(l)}},this),this._streamError=$(function(r){this._streamCleanUp(),this._sendError(r)},this),this._streamEnd=$(function(){this._streamCleanUp(),n=!0,this._streamData("")},this),this._streamCleanUp=$(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,l=Math.pow(2,53),v=-l,M=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,w=/^((\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)))$/,m=this,T=0,o=0,j=!1,u=!1,p=[],s={data:[],errors:[],meta:{}};function C(h){return t.skipEmptyLines==="greedy"?h.join("").trim()==="":h.length===1&&h[0].length===0}function R(){if(s&&n&&(z("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+a.DefaultDelimiter+"'"),n=!1),t.skipEmptyLines&&(s.data=s.data.filter(function(f){return!C(f)})),L()){let f=function(O,A){_(t.transformHeader)&&(O=t.transformHeader(O,A)),p.push(O)};if(s)if(Array.isArray(s.data[0])){for(var h=0;L()&&h<s.data.length;h++)s.data[h].forEach(f);s.data.splice(0,1)}else s.data.forEach(f)}function c(f,O){for(var A=t.header?{}:[],b=0;b<f.length;b++){var y=b,g=f[b];g=((U,d)=>{return S=U,t.dynamicTypingFunction&&t.dynamicTyping[S]===void 0&&(t.dynamicTyping[S]=t.dynamicTypingFunction(S)),(t.dynamicTyping[S]||t.dynamicTyping)===!0?d==="true"||d==="TRUE"||d!=="false"&&d!=="FALSE"&&((I=>{if(M.test(I)&&(I=parseFloat(I),v<I&&I<l))return 1})(d)?parseFloat(d):w.test(d)?new Date(d):d===""?null:d):d;var S})(y=t.header?b>=p.length?"__parsed_extra":p[b]:y,g=t.transform?t.transform(g,y):g),y==="__parsed_extra"?(A[y]=A[y]||[],A[y].push(g)):A[y]=g}return t.header&&(b>p.length?z("FieldMismatch","TooManyFields","Too many fields: expected "+p.length+" fields but parsed "+b,o+O):b<p.length&&z("FieldMismatch","TooFewFields","Too few fields: expected "+p.length+" fields but parsed "+b,o+O)),A}var E;s&&(t.header||t.dynamicTyping||t.transform)&&(E=1,!s.data.length||Array.isArray(s.data[0])?(s.data=s.data.map(c),E=s.data.length):s.data=c(s.data,0),t.header&&s.meta&&(s.meta.fields=p),o+=E)}function L(){return t.header&&p.length===0}function z(h,c,E,f){h={type:h,code:c,message:E},f!==void 0&&(h.row=f),s.errors.push(h)}_(t.step)&&(r=t.step,t.step=function(h){s=h,L()?R():(R(),s.data.length!==0&&(T+=h.data.length,t.preview&&T>t.preview?i.abort():(s.data=s.data[0],r(s,m))))}),this.parse=function(h,c,E){var f=t.quoteChar||'"';return t.newline||(t.newline=this.guessLineEndings(h,f)),n=!1,t.delimiter?_(t.delimiter)&&(t.delimiter=t.delimiter(h),s.meta.delimiter=t.delimiter):((f=((O,A,b,y,g)=>{var U,d,S,I;g=g||[","," ","|",";",a.RECORD_SEP,a.UNIT_SEP];for(var G=0;G<g.length;G++){for(var W,tt=g[G],F=0,D=0,x=0,q=(S=void 0,new st({comments:y,delimiter:tt,newline:A,preview:10}).parse(O)),H=0;H<q.data.length;H++)b&&C(q.data[H])?x++:(D+=W=q.data[H].length,S===void 0?S=W:0<W&&(F+=Math.abs(W-S),S=W));0<q.data.length&&(D/=q.data.length-x),(d===void 0||F<=d)&&(I===void 0||I<D)&&1.99<D&&(d=F,U=tt,I=D)}return{successful:!!(t.delimiter=U),bestDelimiter:U}})(h,t.newline,t.skipEmptyLines,t.comments,t.delimitersToGuess)).successful?t.delimiter=f.bestDelimiter:(n=!0,t.delimiter=a.DefaultDelimiter),s.meta.delimiter=t.delimiter),f=at(t),t.preview&&t.header&&f.preview++,e=h,i=new st(f),s=i.parse(e,c,E),R(),j?{meta:{paused:!0}}:s||{meta:{paused:!1}}},this.paused=function(){return j},this.pause=function(){j=!0,i.abort(),e=_(t.chunk)?"":e.substring(i.getCharIndex())},this.resume=function(){m.streamer._halted?(j=!1,m.streamer.parseChunk(e,!0)):setTimeout(m.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,c){h=h.substring(0,1048576),c=new RegExp(V(c)+"([^]*?)"+V(c),"gm");var E=(h=h.replace(c,"")).split("\r");if(h=1<(c=h.split(`
|
|
7
7
|
`)).length&&c[0].length<E[0].length,E.length===1||h)return`
|
|
8
8
|
`;for(var f=0,O=0;O<E.length;O++)E[O][0]===`
|
|
9
9
|
`&&f++;return f>=E.length/2?`\r
|
|
10
10
|
`:"\r"}}function V(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function st(t){var e=(t=t||{}).delimiter,i=t.newline,n=t.comments,r=t.step,l=t.preview,v=t.fastMode,M=null,w=!1,m=t.quoteChar==null?'"':t.quoteChar,T=m;if(t.escapeChar!==void 0&&(T=t.escapeChar),(typeof e!="string"||-1<a.BAD_DELIMITERS.indexOf(e))&&(e=","),n===e)throw new Error("Comment character same as delimiter");n===!0?n="#":(typeof n!="string"||-1<a.BAD_DELIMITERS.indexOf(n))&&(n=!1),i!==`
|
|
11
11
|
`&&i!=="\r"&&i!==`\r
|
|
12
12
|
`&&(i=`
|
|
13
|
-
`);var o=0,j=!1;this.parse=function(u,p,s){if(typeof u!="string")throw new Error("Input must be a string");var C=u.length,R=e.length,L=i.length,z=n.length,h=_(r),c=[],E=[],f=[],O=o=0;if(!u)return F();if(v||v!==!1&&u.indexOf(m)===-1){for(var A=u.split(i),b=0;b<A.length;b++){if(f=A[b],o+=f.length,b!==A.length-1)o+=i.length;else if(s)return F();if(!n||f.substring(0,z)!==n){if(h){if(c=[],I(f.split(e)),D(),j)return F()}else I(f.split(e));if(l&&l<=b)return c=c.slice(0,l),F(!0)}}return F()}for(var y=u.indexOf(e,o),g=u.indexOf(i,o),U=new RegExp(V(T)+V(m),"g"),d=u.indexOf(m,o);;)if(u[o]===m)for(d=o,o++;;){if((d=u.indexOf(m,d+1))===-1)return s||E.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:c.length,index:o}),W();if(d===C-1)return W(u.substring(o,d).replace(U,m));if(m===T&&u[d+1]===T)d++;else if(m===T||d===0||u[d-1]!==T){y!==-1&&y<d+1&&(y=u.indexOf(e,d+1));var S=
|
|
13
|
+
`);var o=0,j=!1;this.parse=function(u,p,s){if(typeof u!="string")throw new Error("Input must be a string");var C=u.length,R=e.length,L=i.length,z=n.length,h=_(r),c=[],E=[],f=[],O=o=0;if(!u)return F();if(v||v!==!1&&u.indexOf(m)===-1){for(var A=u.split(i),b=0;b<A.length;b++){if(f=A[b],o+=f.length,b!==A.length-1)o+=i.length;else if(s)return F();if(!n||f.substring(0,z)!==n){if(h){if(c=[],I(f.split(e)),D(),j)return F()}else I(f.split(e));if(l&&l<=b)return c=c.slice(0,l),F(!0)}}return F()}for(var y=u.indexOf(e,o),g=u.indexOf(i,o),U=new RegExp(V(T)+V(m),"g"),d=u.indexOf(m,o);;)if(u[o]===m)for(d=o,o++;;){if((d=u.indexOf(m,d+1))===-1)return s||E.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:c.length,index:o}),W();if(d===C-1)return W(u.substring(o,d).replace(U,m));if(m===T&&u[d+1]===T)d++;else if(m===T||d===0||u[d-1]!==T){y!==-1&&y<d+1&&(y=u.indexOf(e,d+1));var S=G((g=g!==-1&&g<d+1?u.indexOf(i,d+1):g)===-1?y:Math.min(y,g));if(u.substr(d+1+S,R)===e){f.push(u.substring(o,d).replace(U,m)),u[o=d+1+S+R]!==m&&(d=u.indexOf(m,o)),y=u.indexOf(e,o),g=u.indexOf(i,o);break}if(S=G(g),u.substring(d+1+S,d+1+S+L)===i){if(f.push(u.substring(o,d).replace(U,m)),tt(d+1+S+L),y=u.indexOf(e,o),d=u.indexOf(m,o),h&&(D(),j))return F();if(l&&c.length>=l)return F(!0);break}E.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:c.length,index:o}),d++}}else if(n&&f.length===0&&u.substring(o,o+z)===n){if(g===-1)return F();o=g+L,g=u.indexOf(i,o),y=u.indexOf(e,o)}else if(y!==-1&&(y<g||g===-1))f.push(u.substring(o,y)),o=y+R,y=u.indexOf(e,o);else{if(g===-1)break;if(f.push(u.substring(o,g)),tt(g+L),h&&(D(),j))return F();if(l&&c.length>=l)return F(!0)}return W();function I(x){c.push(x),O=o}function G(x){return x!==-1&&(x=u.substring(d+1,x))&&x.trim()===""?x.length:0}function W(x){return s||(x===void 0&&(x=u.substring(o)),f.push(x),o=C,I(f),h&&D()),F()}function tt(x){o=x,I(f),f=[],g=u.indexOf(i,o)}function F(x){if(t.header&&!p&&c.length&&!w){var q=c[0],H=Object.create(null),ot=new Set(q);let ft=!1;for(let Z=0;Z<q.length;Z++){let N=q[Z];if(H[N=_(t.transformHeader)?t.transformHeader(N,Z):N]){let et,lt=H[N];for(;et=N+"_"+lt,lt++,ot.has(et););ot.add(et),q[Z]=et,H[N]++,ft=!0,(M=M===null?{}:M)[et]=N}else H[N]=1,q[Z]=N;ot.add(N)}ft&&console.warn("Duplicate headers found and renamed."),w=!0}return{data:c,errors:E,meta:{delimiter:e,linebreak:i,aborted:j,truncated:!!x,cursor:O+(p||0),renamedHeaders:M}}}function D(){r(F()),c=[],E=[]}},this.abort=function(){j=!0},this.getCharIndex=function(){return o}}function _t(t){var e=t.data,i=J[e.workerId],n=!1;if(e.error)i.userError(e.error,e.file);else if(e.results&&e.results.data){var r={abort:function(){n=!0,ut(e.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:dt,resume:dt};if(_(i.userStep)){for(var l=0;l<e.results.data.length&&(i.userStep({data:e.results.data[l],errors:e.results.errors,meta:e.results.meta},r),!n);l++);delete e.results}else _(i.userChunk)&&(i.userChunk(e.results,r,e.file),delete e.results)}e.finished&&!n&&ut(e.workerId,e.results)}function ut(t,e){var i=J[t];_(i.userComplete)&&i.userComplete(e),i.terminate(),delete J[t]}function dt(){throw new Error("Not implemented.")}function at(t){if(typeof t!="object"||t===null)return t;var e,i=Array.isArray(t)?[]:{};for(e in t)i[e]=at(t[e]);return i}function $(t,e){return function(){t.apply(e,arguments)}}function _(t){return typeof t=="function"}return a.parse=function(t,e){var i,n=(e=e||{}).dynamicTyping||!1;if(_(n)&&(e.dynamicTypingFunction=n,n={}),e.dynamicTyping=n,e.transform=!!_(e.transform)&&e.transform,!e.worker||!a.WORKERS_SUPPORTED)return n=null,a.NODE_STREAM_INPUT,typeof t=="string"?(t=(i=t).charCodeAt(0)!==65279?i:i.slice(1),n=new(e.download?it:X)(e)):t.readable===!0&&_(t.read)&&_(t.on)?n=new nt(e):(k.File&&t instanceof File||t instanceof Object)&&(n=new rt(e)),n.stream(t);(n=(()=>{var r,l,v;return!!a.WORKERS_SUPPORTED&&(l=k.URL||k.webkitURL||null,v=Y.toString(),r=a.BLOB_URL||(a.BLOB_URL=l.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ","(",v,")();"],{type:"text/javascript"}))),(r=new k.Worker(r)).onmessage=_t,r.id=mt++,J[r.id]=r)})()).userStep=e.step,n.userChunk=e.chunk,n.userComplete=e.complete,n.userError=e.error,e.step=_(e.step),e.chunk=_(e.chunk),e.complete=_(e.complete),e.error=_(e.error),delete e.worker,n.postMessage({input:t,config:e,workerId:n.id})},a.unparse=function(t,e){var i=!1,n=!0,r=",",l=`\r
|
|
14
14
|
`,v='"',M=v+v,w=!1,m=null,T=!1,o=((()=>{if(typeof e=="object"){if(typeof e.delimiter!="string"||a.BAD_DELIMITERS.filter(function(p){return e.delimiter.indexOf(p)!==-1}).length||(r=e.delimiter),typeof e.quotes!="boolean"&&typeof e.quotes!="function"&&!Array.isArray(e.quotes)||(i=e.quotes),typeof e.skipEmptyLines!="boolean"&&typeof e.skipEmptyLines!="string"||(w=e.skipEmptyLines),typeof e.newline=="string"&&(l=e.newline),typeof e.quoteChar=="string"&&(v=e.quoteChar),typeof e.header=="boolean"&&(n=e.header),Array.isArray(e.columns)){if(e.columns.length===0)throw new Error("Option columns is empty");m=e.columns}e.escapeChar!==void 0&&(M=e.escapeChar+v),e.escapeFormulae instanceof RegExp?T=e.escapeFormulae:typeof e.escapeFormulae=="boolean"&&e.escapeFormulae&&(T=/^[=+\-@\t\r].*$/)}})(),new RegExp(V(v),"g"));if(typeof t=="string"&&(t=JSON.parse(t)),Array.isArray(t)){if(!t.length||Array.isArray(t[0]))return j(null,t,w);if(typeof t[0]=="object")return j(m||Object.keys(t[0]),t,w)}else if(typeof t=="object")return typeof t.data=="string"&&(t.data=JSON.parse(t.data)),Array.isArray(t.data)&&(t.fields||(t.fields=t.meta&&t.meta.fields||m),t.fields||(t.fields=Array.isArray(t.data[0])?t.fields:typeof t.data[0]=="object"?Object.keys(t.data[0]):[]),Array.isArray(t.data[0])||typeof t.data[0]=="object"||(t.data=[t.data])),j(t.fields||[],t.data||[],w);throw new Error("Unable to serialize unrecognized input");function j(p,s,C){var R="",L=(typeof p=="string"&&(p=JSON.parse(p)),typeof s=="string"&&(s=JSON.parse(s)),Array.isArray(p)&&0<p.length),z=!Array.isArray(s[0]);if(L&&n){for(var h=0;h<p.length;h++)0<h&&(R+=r),R+=u(p[h],h);0<s.length&&(R+=l)}for(var c=0;c<s.length;c++){var E=(L?p:s[c]).length,f=!1,O=L?Object.keys(s[c]).length===0:s[c].length===0;if(C&&!L&&(f=C==="greedy"?s[c].join("").trim()==="":s[c].length===1&&s[c][0].length===0),C==="greedy"&&L){for(var A=[],b=0;b<E;b++){var y=z?p[b]:b;A.push(s[c][y])}f=A.join("").trim()===""}if(!f){for(var g=0;g<E;g++){0<g&&!O&&(R+=r);var U=L&&z?p[g]:g;R+=u(s[c][U],g)}c<s.length-1&&(!C||0<E&&!O)&&(R+=l)}}return R}function u(p,s){var C,R;return p==null?"":p.constructor===Date?JSON.stringify(p).slice(1,25):(R=!1,T&&typeof p=="string"&&T.test(p)&&(p="'"+p,R=!0),C=p.toString().replace(o,M),(R=R||i===!0||typeof i=="function"&&i(p,s)||Array.isArray(i)&&i[s]||((L,z)=>{for(var h=0;h<z.length;h++)if(-1<L.indexOf(z[h]))return!0;return!1})(C,a.BAD_DELIMITERS)||-1<C.indexOf(r)||C.charAt(0)===" "||C.charAt(C.length-1)===" ")?v+C+v:C)}},a.RECORD_SEP="",a.UNIT_SEP="",a.BYTE_ORDER_MARK="\uFEFF",a.BAD_DELIMITERS=["\r",`
|
|
15
|
-
`,'"',a.BYTE_ORDER_MARK],a.WORKERS_SUPPORTED=!P&&!!k.Worker,a.NODE_STREAM_INPUT=1,a.LocalChunkSize=10485760,a.RemoteChunkSize=5242880,a.DefaultDelimiter=",",a.Parser=st,a.ParserHandle=ht,a.NetworkStreamer=it,a.FileStreamer=rt,a.StringStreamer=X,a.ReadableStreamStreamer=nt,k.jQuery&&((Q=k.jQuery).fn.parse=function(t){var e=t.config||{},i=[];return this.each(function(l){if(Q(this).prop("tagName").toUpperCase()!=="INPUT"||Q(this).attr("type").toLowerCase()!=="file"||!k.FileReader||!this.files||this.files.length===0)return!0;for(var v=0;v<this.files.length;v++)i.push({file:this.files[v],inputElem:this,instanceConfig:Q.extend({},e)})}),n(),this;function n(){if(i.length===0)_(t.complete)&&t.complete();else{var l,v,M,w=i[0];if(_(t.before)){var m=t.before(w.file,w.inputElem);if(typeof m=="object"){if(m.action==="abort")return l=w.file,v=w.inputElem,M=m.reason,void(_(t.error)&&t.error({name:"AbortError"},l,v,M));if(m.action==="skip")return void r();typeof m.config=="object"&&(w.instanceConfig=Q.extend(w.instanceConfig,m.config))}else if(m==="skip")return void r()}var T=w.instanceConfig.complete;w.instanceConfig.complete=function(o){_(T)&&T(o,w.file,w.inputElem),r()},a.parse(w.file,w.instanceConfig)}}function r(){i.splice(0,1),n()}}),B&&(k.onmessage=function(t){t=t.data,a.WORKER_ID===void 0&&t&&(a.WORKER_ID=t.workerId),typeof t.input=="string"?k.postMessage({workerId:a.WORKER_ID,results:a.parse(t.input,t.config),finished:!0}):(k.File&&t.input instanceof File||t.input instanceof Object)&&(t=a.parse(t.input,t.config))&&k.postMessage({workerId:a.WORKER_ID,results:t,finished:!0})}),(it.prototype=Object.create(K.prototype)).constructor=it,(rt.prototype=Object.create(K.prototype)).constructor=rt,(X.prototype=Object.create(X.prototype)).constructor=X,(nt.prototype=Object.create(K.prototype)).constructor=nt,a}()),pt.exports);const kt=function(Y,Q){for(var k=0;k<Q.length;k++){const P=Q[k];if(typeof P!="string"&&!Array.isArray(P)){for(const B in P)if(B!=="default"&&!(B in Y)){const J=Object.getOwnPropertyDescriptor(P,B);J&&Object.defineProperty(Y,B,J.get?J:{enumerable:!0,get:()=>P[B]})}}}return Object.freeze(Object.defineProperty(Y,Symbol.toStringTag,{value:"Module"}))}({__proto__:null,default:yt.
|
|
15
|
+
`,'"',a.BYTE_ORDER_MARK],a.WORKERS_SUPPORTED=!P&&!!k.Worker,a.NODE_STREAM_INPUT=1,a.LocalChunkSize=10485760,a.RemoteChunkSize=5242880,a.DefaultDelimiter=",",a.Parser=st,a.ParserHandle=ht,a.NetworkStreamer=it,a.FileStreamer=rt,a.StringStreamer=X,a.ReadableStreamStreamer=nt,k.jQuery&&((Q=k.jQuery).fn.parse=function(t){var e=t.config||{},i=[];return this.each(function(l){if(Q(this).prop("tagName").toUpperCase()!=="INPUT"||Q(this).attr("type").toLowerCase()!=="file"||!k.FileReader||!this.files||this.files.length===0)return!0;for(var v=0;v<this.files.length;v++)i.push({file:this.files[v],inputElem:this,instanceConfig:Q.extend({},e)})}),n(),this;function n(){if(i.length===0)_(t.complete)&&t.complete();else{var l,v,M,w=i[0];if(_(t.before)){var m=t.before(w.file,w.inputElem);if(typeof m=="object"){if(m.action==="abort")return l=w.file,v=w.inputElem,M=m.reason,void(_(t.error)&&t.error({name:"AbortError"},l,v,M));if(m.action==="skip")return void r();typeof m.config=="object"&&(w.instanceConfig=Q.extend(w.instanceConfig,m.config))}else if(m==="skip")return void r()}var T=w.instanceConfig.complete;w.instanceConfig.complete=function(o){_(T)&&T(o,w.file,w.inputElem),r()},a.parse(w.file,w.instanceConfig)}}function r(){i.splice(0,1),n()}}),B&&(k.onmessage=function(t){t=t.data,a.WORKER_ID===void 0&&t&&(a.WORKER_ID=t.workerId),typeof t.input=="string"?k.postMessage({workerId:a.WORKER_ID,results:a.parse(t.input,t.config),finished:!0}):(k.File&&t.input instanceof File||t.input instanceof Object)&&(t=a.parse(t.input,t.config))&&k.postMessage({workerId:a.WORKER_ID,results:t,finished:!0})}),(it.prototype=Object.create(K.prototype)).constructor=it,(rt.prototype=Object.create(K.prototype)).constructor=rt,(X.prototype=Object.create(X.prototype)).constructor=X,(nt.prototype=Object.create(K.prototype)).constructor=nt,a}()),pt.exports);const kt=function(Y,Q){for(var k=0;k<Q.length;k++){const P=Q[k];if(typeof P!="string"&&!Array.isArray(P)){for(const B in P)if(B!=="default"&&!(B in Y)){const J=Object.getOwnPropertyDescriptor(P,B);J&&Object.defineProperty(Y,B,J.get?J:{enumerable:!0,get:()=>P[B]})}}}return Object.freeze(Object.defineProperty(Y,Symbol.toStringTag,{value:"Module"}))}({__proto__:null,default:yt.Gg(gt)},[gt]);exports.p=kt;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.5.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/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.5.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/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.5.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.
|