@sheetxl/studio-vanilla 0.7.23 → 0.7.25
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/{BlKjy6et10TxBp4w.cjs → 11N2LEPGiAwoWIS6.cjs} +2 -2
- package/browser/cjs/{DTTVrHrx09QWcx2_.cjs → 5LJO3t78zGRpRrqi.cjs} +1 -1
- package/browser/cjs/{aE2LOPZxbBsaEWSu.cjs → 5iNz1vZwjEtHmg0S.cjs} +1 -1
- package/browser/cjs/{AzM9kz9CB-XTtY1c.cjs → B0ksAtEWhB8IDZT1.cjs} +1 -1
- package/browser/cjs/{B2kRxmbteboAJ0Zz.cjs → B2lStu5YJyxxmgzo.cjs} +1 -1
- package/browser/cjs/B6jgCeC4FzL0vcso.cjs +6 -0
- package/browser/cjs/{DBiXTTeUD8ATajpv.cjs → B8-8duv8eXK6Vahi.cjs} +2 -2
- package/browser/cjs/{Ci3vk7pBhwMhl_aZ.cjs → BDEFoiVTePJ_SjGg.cjs} +4 -4
- package/browser/cjs/{B2FKBY84dF5fMQ_c.cjs → BFys5Z2ByhH5jvtl.cjs} +1 -1
- package/browser/cjs/{CS414gvVMHWeFRuK.cjs → BWPbMN3Nr3Jg_PAA.cjs} +2 -2
- package/browser/cjs/{BcXSE9aHGrWBfnOj.cjs → B_GE6g8qWgxeW1mb.cjs} +1 -1
- package/browser/cjs/{lXAWnopHjkkMxaXs.cjs → BaDUKwItEQ1mwYus.cjs} +1 -1
- package/browser/cjs/{CH0q3bd58_TgfFJl.cjs → BfEhwgqrMGK08dnG.cjs} +2 -2
- package/browser/cjs/{B4wpgduy6y-qElVx.cjs → BnqcNEGqBgFvH9ER.cjs} +6 -6
- package/browser/cjs/{DTeJ2p2N0WFcJRBD.cjs → BoetI8fJ3kaKdhqD.cjs} +3 -3
- package/browser/cjs/{BRjqE8XDVx8p078D.cjs → Bpb_mXMVVEzz1hDo.cjs} +2 -2
- package/browser/cjs/{CNQD8XOzGc7o2W90.cjs → BrY1IZKrEgQyMxze.cjs} +1 -1
- package/browser/cjs/{PiZKNcVHkcWfZZ1C.cjs → Btkl0LKxDtnzwRBq.cjs} +1 -1
- package/browser/cjs/{DGFQ9eOW2iZr3TdS.cjs → BxXhgmfUZAJOt3Ku.cjs} +1 -1
- package/browser/cjs/{CxA2cdRmXmPIq7oq.cjs → C1RYwCPqA7cdnU_V.cjs} +1 -1
- package/browser/cjs/{rnnOOqwT2Iyf9cEO.cjs → C8us2frOw7LjuyJ1.cjs} +2 -2
- package/browser/cjs/{CHcpkVGFdDZl5ceN.cjs → CNTQI8IhKUV7ejbW.cjs} +1 -1
- package/browser/cjs/{D32mSmyxVYDqXE-i.cjs → CNsEYoTcNJTwZLe0.cjs} +1 -1
- package/browser/cjs/{BuzYgirdJJHoFXSd.cjs → COLzkD3VwUPBLku8.cjs} +1 -1
- package/browser/cjs/{CtHA2iv8GQnSQwQX.cjs → CR3y8C9ku0W0USXg.cjs} +2 -2
- package/browser/cjs/{Br0ymt4kSJENpZwz.cjs → CSNFDGbDLkCCpfve.cjs} +2 -2
- package/browser/cjs/{Bi2cpjX2DsR1TEJo.cjs → C_fX5sW9Ff9eLqeQ.cjs} +2 -2
- package/browser/cjs/{CL3SKwAMfIM8OQ8Y.cjs → Cc1jRrRoAbuyeQGx.cjs} +26 -26
- package/browser/cjs/{CtBUS1UzfpbMaSuZ.cjs → Cjp_djFMPSdQHHa3.cjs} +1 -1
- package/browser/cjs/Ck2DCUnxSByG3IGp.cjs +327 -0
- package/browser/cjs/{CtPAGrViYfZ33ZLE.cjs → CpYYx7mWK--OaW3s.cjs} +1 -1
- package/browser/cjs/{Y7pPvpvzLpPv7FZQ.cjs → Cx9a3mzfTXoBgzbr.cjs} +1 -1
- package/browser/cjs/{B1Z_Ud4wGWubOGIv.cjs → CyxZNiq3-WiL5hYQ.cjs} +1 -1
- package/browser/cjs/{KObcHdrDD1Ec5me_.cjs → CzckLaqE0PhS9LNn.cjs} +1 -1
- package/browser/cjs/{Cz_nibGRgM-aJkKz.cjs → D2ZPaqiR6r5GdJDq.cjs} +1 -1
- package/browser/cjs/{BlqB-ROihQlMptFU.cjs → DIqRG3TAWBE6iVbR.cjs} +2 -2
- package/browser/cjs/{C9Jjk1_SYRxaVOZ4.cjs → DJ-Mo2ncMc59JbqJ.cjs} +1 -1
- package/browser/cjs/{CBmVlGshw0nwkibU.cjs → DJUCLu8AD09s6BBp.cjs} +1 -1
- package/browser/cjs/{Dgq6EtDOgSkDeyPz.cjs → DLiesuu33tYOPOjL.cjs} +1 -1
- package/browser/cjs/{CkjmygjrSk7kIH4K.cjs → DNk7ySpGeEXhHjDJ.cjs} +3 -3
- package/browser/cjs/{DNy-8c1ULcx-Xe8l.cjs → DOprl091GBCf8dEd.cjs} +1 -1
- package/browser/cjs/{BwB3QeXmrJ3tXFwy.cjs → DaxJtVNdY3X65rPt.cjs} +1 -1
- package/browser/cjs/{6hXTfNQNdfSoN1r0.cjs → DmMW-crnc03AMNJ7.cjs} +2 -2
- package/browser/cjs/{CngB6CyCBfrb0Qwa.cjs → Do67Ka66NTFypJve.cjs} +1 -1
- package/browser/cjs/{BEvv1ixH7Q6gCy-J.cjs → DrA4A82P9vZ5qdV5.cjs} +2 -2
- package/browser/cjs/{CLs6jUtAkC8svAgF.cjs → DsfVy7fLXLcwoH4M.cjs} +1 -1
- package/browser/cjs/{DDYU-KenvBqrZc50.cjs → DwbN5n91LrmY190a.cjs} +1 -1
- package/browser/cjs/{DTMt10FeILz_SQO5.cjs → DxFbWupbLMHcqPPU.cjs} +1 -1
- package/browser/cjs/{Bc0eMIjYQwLmNQg5.cjs → FbI5j3FuwFg--2fw.cjs} +2 -2
- package/browser/cjs/{gF7kKo_Y-LnosbGQ.cjs → Z9O3JeOjwYlghdlM.cjs} +3 -3
- package/browser/cjs/{72XVVkAXqU6nGH6O.cjs → aVXQJEKdeRHRd3gb.cjs} +2 -2
- package/browser/cjs/{DR0AwQ50QMCFjute.cjs → adG8GsoQ0FogoBwu.cjs} +1 -1
- package/browser/cjs/{GMp4MmqqqVr5JFli.cjs → gMlQORKnhKX8AcGN.cjs} +2 -2
- package/browser/cjs/{xdRudDJE9MqNUCZS.cjs → gxe4x4GTce7xLdsK.cjs} +2 -2
- package/browser/cjs/index.cjs +2 -2
- package/browser/cjs/{v_-5PoapMiopU9qn.cjs → kNQnN05rW8rvrzkI.cjs} +2 -2
- package/browser/cjs/{BDB_G5AoMS4HXNSU.cjs → lWK0_1oLhrBOzyJt.cjs} +1 -1
- package/browser/cjs/{Cl5BY2nF0rGpX6tq.cjs → tkaW03gjEpYTx1eT.cjs} +4 -4
- package/browser/cjs/{D9AOyljbl-TYzeas.cjs → ukSz2X_gLCvtdIzP.cjs} +1 -1
- package/browser/esm/{BQ_x42xVLhbSuLc2.mjs → 2HYwzUzUu6ru_2p2.mjs} +3 -3
- package/browser/esm/{CPpVPj5-vRZVycXj.mjs → 6ecVzws7lh7lMFj4.mjs} +25 -25
- package/{cdn/assets/C8O0ZGq3DEd5TVzJ.js → browser/esm/7-cFN6XkVw3tg5vP.mjs} +1 -1
- package/browser/esm/{CfC1wfGgI4pAe5rd.mjs → B9i7-hhPMhmlP99b.mjs} +3 -3
- package/{cdn/assets/DpnnQaRGJix6H7It.js → browser/esm/BJlhOQoenKpXwiQ2.mjs} +1 -1
- package/browser/esm/{BJj4QZRilcLpsXjW.mjs → BM2F0SSIfKV5I6BN.mjs} +2 -2
- package/browser/esm/{B1FkKubRAlhSCB21.mjs → BNCT0VbvQYMYdg23.mjs} +1 -1
- package/{cdn/assets/BgaQJ0q24AXkqkn-.js → browser/esm/Bak-p44IqwSgvqUI.mjs} +1 -1
- package/browser/esm/{B2TWvak4_ojvlRJM.mjs → BgUL6TBaztjrrD9S.mjs} +4 -4
- package/browser/esm/{Dkurz0dS6vMT5OWq.mjs → BivCkHfyKel2HobC.mjs} +2 -2
- package/{cdn/assets/q10yLSFL9h8ptGSz.js → browser/esm/Bld-4DOsa28ubudV.mjs} +1 -1
- package/{cdn/assets/B8l6aQeWmKkf0YrQ.js → browser/esm/BlkURmsNfO2Re2aW.mjs} +2 -2
- package/browser/esm/{jSPGf5RDlS8P6m6g.mjs → BnpQQlOfIDgwm5Ko.mjs} +6 -6
- package/{cdn/assets/Cr8TwCyc56nEstm8.js → browser/esm/BosRt2JQUm-j_htc.mjs} +1 -1
- package/{cdn/assets/D2dHpCXXPDYgxJBu.js → browser/esm/C0Sj9jMXOdYxYDuv.mjs} +1 -1
- package/{cdn/assets/DDtXAC3nRDpqQ0YF.js → browser/esm/C3LTouOdNNMELa2K.mjs} +1 -1
- package/{cdn/assets/BKs-KqC9cJ42BaLv.js → browser/esm/C8aYf8C9UbMEHdbz.mjs} +1 -1
- package/{cdn/assets/BX8ReYbwEtoLMRkv.js → browser/esm/CAWqpQzuTiE1tpzl.mjs} +1 -1
- package/browser/esm/{C9q4ux-nmilOYnbW.mjs → CDjMpCsTWUN7jwqQ.mjs} +1 -1
- package/browser/esm/{BMvq1rx0Q_rNcUUm.mjs → CED_xvHezoQXqpYO.mjs} +1 -1
- package/browser/esm/{BZExhdr7fI8MF5Qb.mjs → CLWgdeTK2G7dvQt8.mjs} +1 -1
- package/{cdn/assets/BoK4s_O9FKuGQXuk.js → browser/esm/CNbTdSYfphAqOmjq.mjs} +1 -1
- package/browser/esm/{Bas6kTlPzN4rbonc.mjs → CO7TxV57ydUAbpuv.mjs} +1 -1
- package/browser/esm/{BHO-EawDWv9d7i8v.mjs → COapd8-SZiVrGwqy.mjs} +2 -2
- package/browser/esm/{CCemSCZtu-Y2e32b.mjs → CR_SXUQyO7b_Kiu2.mjs} +1 -1
- package/{cdn/assets/MJZe9n-6nxyH-CP4.js → browser/esm/CbJIMCNv05YIyNMN.mjs} +1 -1
- package/browser/esm/{sZhigMl_OlQMcElp.mjs → Cf3oQ2kOTyWm2tL_.mjs} +6 -6
- package/browser/esm/{rBEnvzFn9Eb0uO_H.mjs → CftN7zbEkX6DxdfV.mjs} +1 -1
- package/browser/esm/{D-5JJ4WZPneffh8P.mjs → CldDtmjYSvfGDrDz.mjs} +4 -4
- package/{cdn/assets/BA6JcZjZOCWFVqUb.js → browser/esm/CqjFtmrDJf_kUMPu.mjs} +1 -1
- package/{cdn/assets/sMPKCWQcc5GjIM9a.js → browser/esm/Cs87G9R0lM2K1tnC.mjs} +1 -1
- package/browser/esm/{Dy_jsYpr77Fd69FL.mjs → Cu03_G1jtMXxG_Ig.mjs} +2 -2
- package/browser/esm/{XWehs8eL7WyK0BPw.mjs → CyLsKF-nsUYwujmC.mjs} +1 -1
- package/browser/esm/{Ci7s8rqzLGTXiWMT.mjs → D1XAnlnxlRtJw871.mjs} +61 -61
- package/{cdn/assets/BOE0ND_jmwxGIe2m.js → browser/esm/D2m6SgMZgN6EXwyi.mjs} +1 -1
- package/browser/esm/{BDd_8uY3zB_Ab9iI.mjs → DCwAUfizON6Eb_BY.mjs} +2 -2
- package/browser/esm/{DZ-K0s06XGi-dDoZ.mjs → DDOP5K8Qq7eti6xn.mjs} +13 -13
- package/browser/esm/{Txcu3MPS1VLeRy7P.mjs → DHQunMrNJYvbU7km.mjs} +7 -7
- package/browser/esm/{C5UDU-382amQ9d0q.mjs → DOGzjm2uGQINakF7.mjs} +3 -3
- package/browser/esm/{kO6fKT24jTileMZi.mjs → DVjlQhv9K5FSV8EE.mjs} +8 -8
- package/{cdn/assets/xR5vFUzRCrIsMAFa.js → browser/esm/DWZB-hO3UOuG_mvf.mjs} +1 -1
- package/{cdn/assets/CPDFwmavyzGeHk6E.js → browser/esm/DbvLoYh7iQFXiqeC.mjs} +1 -1
- package/browser/esm/{FnnAQPW5iuMu6ADA.mjs → DcrvwniV_BVylQpc.mjs} +10 -10
- package/browser/esm/{2UY-PhOgGq7zgRKj.mjs → DhF5wXbfIidUle1S.mjs} +1 -1
- package/browser/esm/{cupIGI_uxOLVfZeT.mjs → DkffhJNPnXxg0exk.mjs} +2 -2
- package/browser/esm/{DNnQ4-o_b7eHNZeD.mjs → DqveUQzChY7ZuuPS.mjs} +2 -2
- package/browser/esm/{DcBhKDUrrvUDMIE2.mjs → DwWU2ml1CHJ2aYZS.mjs} +1 -1
- package/browser/esm/{D2Ed5pWALOMTKViL.mjs → DwdpTVDkRkqIOxQt.mjs} +1 -1
- package/browser/esm/{CtTLPGOTT90tukmL.mjs → Dy-hfdwJYWjfn3kF.mjs} +1 -1
- package/browser/esm/{Dj4liYT9Q4ASWQ1y.mjs → KW7lHHewUtJ6vCDK.mjs} +2 -2
- package/browser/esm/{DhJfRrobca0nlzWj.mjs → bA-uiO93JMct0zXK.mjs} +11 -11
- package/browser/esm/{DQV_Bc1cXaMRKx6F.mjs → bazuKXRXLmFT4kX5.mjs} +4 -4
- package/browser/esm/{D45uCdS8WHbGug0i.mjs → iMwoatVE3Cl83b2t.mjs} +5715 -5707
- package/browser/esm/index.mjs +2 -2
- package/browser/esm/{CTevjxmBAKPMHrGe.mjs → ngzNHEOLSACcjxCj.mjs} +1 -1
- package/browser/esm/{BLQxeq0NeuzE2C-K.mjs → qnqpGNLaDOziQrYq.mjs} +1 -1
- package/browser/esm/{D3K9Xz72EWFMqYtn.mjs → uVo0du4dqP5dc1dX.mjs} +1 -1
- package/browser/esm/{CK3ud6TgGssIdPbF.mjs → xMFgr4KkrMil6RTy.mjs} +11 -11
- package/{cdn/assets/BmHz0lJodLVokxYu.js → browser/esm/zlVsp29O3m_BAooW.mjs} +1 -1
- package/{browser/esm/C8O0ZGq3DEd5TVzJ.mjs → cdn/assets/7-cFN6XkVw3tg5vP.js} +1 -1
- package/cdn/assets/{BIaGKlORREnUMup_.js → B0Yjjh3mP22BB7zJ.js} +2 -2
- package/cdn/assets/{BQiD6VyZaH6Q_GOe.js → B8cOky5Syn2JmIxV.js} +4 -4
- package/cdn/assets/{DA1IriOURdkLSm31.js → BF5UJOb1WgxFZCTK.js} +4 -4
- package/{browser/esm/DpnnQaRGJix6H7It.mjs → cdn/assets/BJlhOQoenKpXwiQ2.js} +1 -1
- package/cdn/assets/{B1FkKubRAlhSCB21.js → BNCT0VbvQYMYdg23.js} +1 -1
- package/cdn/assets/{DC6fRzay8LL6AxYh.js → BQIrKvSZW6coJWCD.js} +49 -49
- package/cdn/assets/{DBA5f37UOLIrab5A.js → BTPaxCvMoNfaFBV9.js} +6 -6
- package/{browser/esm/BgaQJ0q24AXkqkn-.mjs → cdn/assets/Bak-p44IqwSgvqUI.js} +1 -1
- package/cdn/assets/{CmUEXyFuM6tuWoRX.js → Bea5F1fajEt57y6v.js} +3 -3
- package/cdn/assets/{BnlxiheLEjPq3_nX.js → BgLP_4VGth9oLNKz.js} +3 -3
- package/{browser/esm/q10yLSFL9h8ptGSz.mjs → cdn/assets/Bld-4DOsa28ubudV.js} +1 -1
- package/{browser/esm/Cr8TwCyc56nEstm8.mjs → cdn/assets/BosRt2JQUm-j_htc.js} +1 -1
- package/cdn/assets/{BpeWWdrNzQ5CODuL.js → BpnJlS27CKosc8Kv.js} +8 -8
- package/cdn/assets/{Cugl38a-cEndZuXy.js → C0EU9EJ0G28tQTGp.js} +3 -3
- package/{browser/esm/D2dHpCXXPDYgxJBu.mjs → cdn/assets/C0Sj9jMXOdYxYDuv.js} +1 -1
- package/cdn/assets/{CqUjHBXuQlWKhwMj.js → C1O-zc1c8Hx1Lzf9.js} +2 -2
- package/{browser/esm/DDtXAC3nRDpqQ0YF.mjs → cdn/assets/C3LTouOdNNMELa2K.js} +1 -1
- package/{browser/esm/BXGqMlEvL7EGNd-e.mjs → cdn/assets/C4QsnU_AF6hmerRr.js} +2 -2
- package/{browser/esm/BKs-KqC9cJ42BaLv.mjs → cdn/assets/C8aYf8C9UbMEHdbz.js} +1 -1
- package/{browser/esm/BX8ReYbwEtoLMRkv.mjs → cdn/assets/CAWqpQzuTiE1tpzl.js} +1 -1
- package/cdn/assets/{C9q4ux-nmilOYnbW.js → CDjMpCsTWUN7jwqQ.js} +1 -1
- package/cdn/assets/{BMvq1rx0Q_rNcUUm.js → CED_xvHezoQXqpYO.js} +1 -1
- package/cdn/assets/{DBVRZ6Gc3DmoYwbS.js → CHoGip9225FW3zWz.js} +13 -13
- package/cdn/assets/{BZExhdr7fI8MF5Qb.js → CLWgdeTK2G7dvQt8.js} +1 -1
- package/cdn/assets/{LMWoa2G5tUFbSxFl.js → CMsIWRpIUX2K4Yqx.js} +2 -2
- package/{browser/esm/BoK4s_O9FKuGQXuk.mjs → cdn/assets/CNbTdSYfphAqOmjq.js} +1 -1
- package/cdn/assets/{Bas6kTlPzN4rbonc.js → CO7TxV57ydUAbpuv.js} +1 -1
- package/cdn/assets/{CCemSCZtu-Y2e32b.js → CR_SXUQyO7b_Kiu2.js} +1 -1
- package/cdn/assets/{CHEbbqtiAHDBsfyU.js → CRruZtBkq6SGFXLy.js} +1 -1
- package/cdn/assets/{kegBPrsHAA6baVTw.js → CSDa7Rd6ZNN4O31l.js} +3 -3
- package/{browser/esm/MJZe9n-6nxyH-CP4.mjs → cdn/assets/CbJIMCNv05YIyNMN.js} +1 -1
- package/cdn/assets/{CZRxkqUAHwBQWk21.js → CbqV8w96U12Tj85f.js} +2 -2
- package/cdn/assets/{Im2NbKg9u0MjpDSh.js → CcyrNUIsdl0JCQWR.js} +3 -3
- package/cdn/assets/{voFoL8EWdCxLiB_3.js → Cd-LKliyhiK0m2oH.js} +12 -12
- package/cdn/assets/{rBEnvzFn9Eb0uO_H.js → CftN7zbEkX6DxdfV.js} +1 -1
- package/{browser/esm/BA6JcZjZOCWFVqUb.mjs → cdn/assets/CqjFtmrDJf_kUMPu.js} +1 -1
- package/{browser/esm/sMPKCWQcc5GjIM9a.mjs → cdn/assets/Cs87G9R0lM2K1tnC.js} +1 -1
- package/cdn/assets/{XWehs8eL7WyK0BPw.js → CyLsKF-nsUYwujmC.js} +1 -1
- package/{browser/esm/BOE0ND_jmwxGIe2m.mjs → cdn/assets/D2m6SgMZgN6EXwyi.js} +1 -1
- package/cdn/assets/{DAXOu5CJVZiOkuLk.js → D43aFyFQ0b4G9I9s.js} +10 -10
- package/cdn/assets/{Fxn31hUv_teP0hCS.js → DD5ANITLDIjGsuq9.js} +2 -2
- package/cdn/assets/{BZwprGyYoHAFIaFg.js → DHT864ldpQNoQ9F0.js} +4 -4
- package/cdn/assets/{CNaZSkJ0Ln4XLg2f.js → DLkU1CyUxRujP2V_.js} +1 -1
- package/cdn/assets/{B3zC4_fJCHD4zXcp.js → DNKe4wEevCyGVsqt.js} +5713 -5705
- package/cdn/assets/{DhcxupDloOlSl0Xc.js → DT_Q6vkOyp3Bh2qI.js} +3 -3
- package/{browser/esm/xR5vFUzRCrIsMAFa.mjs → cdn/assets/DWZB-hO3UOuG_mvf.js} +1 -1
- package/cdn/assets/{YDCOJayFB1z4TO3D.js → D_zG2O4EXLRd1gdq.js} +4 -4
- package/{browser/esm/CPDFwmavyzGeHk6E.mjs → cdn/assets/DbvLoYh7iQFXiqeC.js} +1 -1
- package/cdn/assets/{B4VzEDRE6nVkJiPq.js → DczHF1SlatI9ubyJ.js} +4 -4
- package/cdn/assets/DfVrQ0zuolyWkWdv.js +22 -0
- package/cdn/assets/{COp6e4V9pYkFLdnj.js → DhAgtiFOreEXUakf.js} +22 -22
- package/cdn/assets/{2UY-PhOgGq7zgRKj.js → DhF5wXbfIidUle1S.js} +1 -1
- package/cdn/assets/{Ck7JLcQF4vOLPERj.js → Dvizqm-0GYkh2Gsa.js} +2 -2
- package/cdn/assets/{DcBhKDUrrvUDMIE2.js → DwWU2ml1CHJ2aYZS.js} +1 -1
- package/cdn/assets/{D2Ed5pWALOMTKViL.js → DwdpTVDkRkqIOxQt.js} +1 -1
- package/cdn/assets/{CtTLPGOTT90tukmL.js → Dy-hfdwJYWjfn3kF.js} +1 -1
- package/cdn/assets/{DYj919NksFVvdiYm.js → JDXgPf5sZeQBerBH.js} +6 -6
- package/cdn/assets/{D9mJb0vkBVLJXPU3.js → bEHyywiH2OfhQ7VD.js} +4 -4
- package/cdn/assets/{CTevjxmBAKPMHrGe.js → ngzNHEOLSACcjxCj.js} +1 -1
- package/cdn/assets/{BLQxeq0NeuzE2C-K.js → qnqpGNLaDOziQrYq.js} +1 -1
- package/cdn/assets/{DV9rM0qfIPaNrsTX.js → r9hJmDhaLCP_heT7.js} +2 -2
- package/cdn/assets/{BLBcV8mzn8JQ-gmm.js → trvgcvBe0vhE8kAG.js} +11 -11
- package/cdn/assets/{jHVWOAOpiPBSUVkx.js → vUTJScUJHGQ7P6n0.js} +2 -2
- package/{browser/esm/BmHz0lJodLVokxYu.mjs → cdn/assets/zlVsp29O3m_BAooW.js} +1 -1
- package/cdn/index.js +2 -2
- package/cdn/loader.js +1 -1
- package/package.json +3 -3
- package/browser/cjs/BXP8ZpaWxgkgkk44.cjs +0 -6
- package/browser/cjs/DRzHHu7CVu9c7zCP.cjs +0 -327
- package/cdn/assets/CLEfXqoDMbYN4_Yq.js +0 -22
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.25
|
|
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("./DRzHHu7CVu9c7zCP.cjs"),F={width:"1.5rem",height:"1.5rem"},k=e.reactExports.memo(E=>{const{label:a,value:u,options:i,onSelect:d,tabIndex:y=0,...T}=E,[C,f]=e.reactExports.useState(()=>H(u,i));e.reactExports.useEffect(()=>{f(H(u,i))},[u,i]);const m=e.k(c=>{f(c.target.value),d?.(i[c.target.value])},[d,i]),g=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:a}),e.jsxRuntimeExports.jsx(e.Select,{inputProps:{tabIndex:y},value:C,label:a,onChange:m,sx:{backgroundImage:`linear-gradient(${e.alpha("#fff",e.getOverlayAlpha(5))}, ${e.alpha("#fff",e.getOverlayAlpha(5))})`},...T,children:g})]})}),N={enter:140,exit:140},q={Formulas:e.Dt.Content.Formulas,Values:e.Dt.Content.Values,Notes:e.Dt.Content.Notes,Comments:e.Dt.Content.Comments},G={...q};delete G.Values;const Z={"By Rows":!0,"By Columns":!1},H=(E,a)=>{const u=Object.keys(a);for(let i=0;i<u.length;i++){const d=u[i];if(a[d]===E)return d}},U=e.reactExports.memo(E=>{const{initialValue:a,context:u,onInput:i,title:d,onHide:y,autoFocus:T,...C}=E,f=a?.replace??!1,m=a?.findOptions,g=m.text??null,c=a?.replaceOptions,R=a?.replaceText??null,v=u?.(),r=e.reactExports.useRef(null),D=e.reactExports.useRef(null),K=e.reactExports.useRef(null),A=e.reactExports.useRef(null),I=e.reactExports.useRef(null),B=e.reactExports.useRef(null),M=(t,n)=>{n&&(n.start(t,{center:!1}),setTimeout(()=>n.stop(t),180))},[L,O]=e.reactExports.useState(!1),[S,J]=e.reactExports.useState(!1),[p,b]=e.reactExports.useState(f),[P,w]=e.reactExports.useState(!1),[V,$]=e.reactExports.useState(!1),[o,l]=e.reactExports.useState({replaceText:null,replace:f,replaceOptions:null,findOptions:{text:null,matchCase:!1,matchEntireCell:!1,useRegex:!1,orientation:e.w.Orientation.Row,fields:[e.Dt.Content.Formulas]},scope:e.Oc.FindScopeOptions.Sheet}),h=e.k(async(t,n,s,j)=>{if(!v)return;const x={...o};x.replaceOptions={...x.replaceOptions},x.findOptions={...x.findOptions},x.replaceOptions.maxCount=s?void 0:1,x.replace=n,n&&o.findOptions.fields?.[0]===e.Dt.Content.Values&&(x.findOptions.fields=[e.Dt.Content.Formulas]),x.findOptions.reverse=!t;const Y=await v({autoFocus:j,...x});w(Y===0)},[o,v]);e.reactExports.useEffect(()=>{w(!1)},[o,S,p]);const Q=e.k((t,n)=>{if(t.keyCode===e.Ko.Enter){if(!o.findOptions.text)return;let s=!0,j=!1;t.shiftKey&&(s=!1),n?(t.ctrlKey&&t.altKey&&(j=!0),M(t,j?B.current:I.current)):M(t,s?A.current:K.current),h(s,n,j,!1)}},[o]),W=e.reactExports.useRef(null);e.reactExports.useLayoutEffect(()=>{l(t=>{const n={...t};n.findOptions.text=g&&g.length>0?g:t.findOptions.text??"",O(!0),R!==null&&(n.replaceText=R??""),m&&(n.findOptions={...n.findOptions,...m}),n.replaceText||(n.replaceText=""),n.replaceOptions&&(n.replaceOptions={...n.replaceOptions}),c&&(n.replaceOptions={...n.replaceOptions,...c}),o.findOptions.fields?.[0]||(o.findOptions.fields=[e.Dt.Content.Formulas]);const s=!(!f&&!c&&R===null);return s&&b(s),n}),V||W.current?.focus()},[a,f,g,R,m,c]),e.reactExports.useEffect(()=>{p?(o.findOptions.fields[0],e.Dt.Content.Values):O(!0)},[p]),e.reactExports.useEffect(()=>{if(L&&r.current&&o.findOptions.text===r.current.value)return r.current===document.activeElement||r.current.contains(document.activeElement)?(r.current?.select(),void O(!1)):void r.current.addEventListener("focus",()=>{r.current?.select(),O(!1)},{once:!0})},[L,o]);const[X,{width:z}]=e.Vt();return e.jsxRuntimeExports.jsx(e.ga,{ref:W,title:d??(p?"Find & Replace":"Find"),initialPosition:{y:"35"},autoFocusSel:".input",onHide:y,onFocus:()=>$(!0),onBlur:()=>{$(!1),w(!1)},slotProps:{paper:{elevation:V?3:1}},...C,children:e.jsxRuntimeExports.jsxs(e.DialogContent,{dividers:!0,ref:X,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)b(!0),r.current?.contains(document.activeElement)&&D.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.Ss,{selected:S,onSelectToggle:t=>{J(t)},preventFocus:!0,label:"Toggle Additional Options",icon:e.jsxRuntimeExports.jsx(e.co,{iconKey:"FindOptions"})}),e.jsxRuntimeExports.jsx(e.Ss,{selected:p,onSelectToggle:t=>{b(t)},preventFocus:!0,label:"Toggle Replace",icon:e.jsxRuntimeExports.jsx(e.co,{iconKey:"FindReplaceToggle"}),shortcut:{key:p?"F":"H",modifiers:[e.Q.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",slotProps:{input:{sx:{paddingRight:t=>t.spacing(1),minWidth:z>460?"20em":void 0,backgroundImage:`linear-gradient(${e.alpha("#fff",e.getOverlayAlpha(5))}, ${e.alpha("#fff",e.getOverlayAlpha(5))})`},endAdornment:e.jsxRuntimeExports.jsx(e.InputAdornment,{position:"end",children:e.jsxRuntimeExports.jsxs(e.Box,{sx:{display:"flex",alignItems:"center",flexDirection:"row",gap:"2px"},children:[e.jsxRuntimeExports.jsx(e.Ss,{style:F,selected:o.findOptions.matchCase,onBlur:()=>{},onSelectToggle:t=>{l(n=>{const s={...n};return s.findOptions.matchCase=t,s})},label:"Match Case",shortcut:{key:"C",modifiers:[e.Q.Alt]},icon:e.jsxRuntimeExports.jsx(e.co,{iconKey:"FindCaseSensitive",size:"1rem"})}),e.jsxRuntimeExports.jsx(e.Ss,{style:F,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.Q.Alt]},icon:e.jsxRuntimeExports.jsx(e.co,{iconKey:"FindWholeWord",size:"1rem"})}),e.jsxRuntimeExports.jsx(e.Ss,{style:F,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.Q.Alt]},icon:e.jsxRuntimeExports.jsx(e.co,{iconKey:"FindRegEx",size:"1rem"})})]})})},inputLabel:{shrink:!0},htmlInput:{draggable:!1,ref:r,className:"input",autoFocus:!0,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),"& .MuiOutlinedInput-notchedOutline":{borderColor:t=>P?`${t.palette.error.main} !important`:void 0},"& .MuiInputLabel-outlined":{color:t=>P?`${t.palette.error.main} !important`:void 0}},value:o.findOptions.text??"",onChange:t=>{l(n=>{const s={...n};return s.findOptions.text=t.target.value,s})},onKeyDown:t=>Q(t,!1),onContextMenu:t=>{t.stopPropagation()}}),e.jsxRuntimeExports.jsx(e.Ss,{selected:o.findOptions.reverse,onSelectToggle:t=>{h(!1,!1)},touchRippleRef:K,label:"",shortcut:{key:"Enter",modifiers:[e.Q.Shift]},icon:e.jsxRuntimeExports.jsx(e.co,{iconKey:o.findOptions.orientation!==e.w.Orientation.Column?"ArrowBack":"ArrowUpward"}),disabled:!o.findOptions.text}),e.jsxRuntimeExports.jsx(e.Ss,{selected:!o.findOptions.reverse,onSelectToggle:t=>{h(!0,!1)},touchRippleRef:A,label:"Next Match",shortcut:{key:"Enter"},icon:e.jsxRuntimeExports.jsx(e.co,{iconKey:o.findOptions.orientation!==e.w.Orientation.Column?"ArrowForward":"ArrowDownward"}),disabled:!o.findOptions.text})]}),e.jsxRuntimeExports.jsx(e.Collapse,{in:p,timeout:N,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",slotProps:{input:{sx:{paddingRight:t=>t.spacing(1),backgroundImage:`linear-gradient(${e.alpha("#fff",e.getOverlayAlpha(5))}, ${e.alpha("#fff",e.getOverlayAlpha(5))})`}},inputLabel:{shrink:!0},htmlInput:{ref:D,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=>Q(t,!0),onContextMenu:t=>{t.stopPropagation()}}),e.jsxRuntimeExports.jsx(e.Ss,{onSelectToggle:t=>{h(!0,!0)},touchRippleRef:I,label:"Replace",shortcut:{key:"Enter"},icon:e.jsxRuntimeExports.jsx(e.co,{iconKey:"FindReplace"}),disabled:!o.findOptions.text}),e.jsxRuntimeExports.jsx(e.Ss,{onSelectToggle:t=>{h(!0,!0,!0)},touchRippleRef:B,label:"Replace All",shortcut:{key:"Enter",modifiers:[e.Q.Ctrl,e.Q.Alt]},icon:e.jsxRuntimeExports.jsx(e.co,{iconKey:"FindReplaceAll"}),disabled:!o.findOptions.text})]})})]})]}),e.jsxRuntimeExports.jsx(e.Collapse,{in:S,timeout:N,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(1.5),marginTop:t=>t.spacing(1)},children:[e.jsxRuntimeExports.jsx(e.ri,{orientation:"horizontal",sx:{marginBottom:t=>t.spacing(1.5)}}),e.jsxRuntimeExports.jsxs(e.Box,{sx:{display:"flex",flexDirection:z>=383?"row":"column",justifyContent:"space-evenly",alignItems:"center",gap:t=>t.spacing(1),rowGap:t=>t.spacing(2)},tabIndex:-1,children:[e.jsxRuntimeExports.jsx(k,{label:"Within",value:o.scope,options:e.Oc.FindScopeOptions,onSelect:t=>{l(n=>{const s={...n};return s.scope=t,s})}}),e.jsxRuntimeExports.jsx(k,{label:"Search",value:o.findOptions.orientation!==e.w.Orientation.Column,options:Z,onSelect:t=>{l(n=>{const s={...n};return s.findOptions.orientation=t?e.w.Orientation.Row:e.w.Orientation.Column,s})}}),e.jsxRuntimeExports.jsx(k,{label:"Look in",value:p&&o.findOptions.fields?.[0]===e.Dt.Content.Values?e.Dt.Content.Formulas:o.findOptions.fields?.[0],options:p?G:q,onSelect:t=>{l(n=>{const s={...n};return s.findOptions.fields=[t],s})}})]})]})})]})})});exports.FindReplaceWindow=U,exports.default=U;
|
|
6
|
+
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Ck2DCUnxSByG3IGp.cjs"),w={width:"1.5rem",height:"1.5rem"},k=e.reactExports.memo(E=>{const{label:a,value:u,options:i,onSelect:d,tabIndex:y=0,...T}=E,[C,f]=e.reactExports.useState(()=>H(u,i));e.reactExports.useEffect(()=>{f(H(u,i))},[u,i]);const m=e.k(c=>{f(c.target.value),d?.(i[c.target.value])},[d,i]),g=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:a}),e.jsxRuntimeExports.jsx(e.Select,{inputProps:{tabIndex:y},value:C,label:a,onChange:m,sx:{backgroundImage:`linear-gradient(${e.alpha("#fff",e.getOverlayAlpha(5))}, ${e.alpha("#fff",e.getOverlayAlpha(5))})`},...T,children:g})]})}),N={enter:140,exit:140},q={Formulas:e.Ft.Content.Formulas,Values:e.Ft.Content.Values,Notes:e.Ft.Content.Notes,Comments:e.Ft.Content.Comments},G={...q};delete G.Values;const Z={"By Rows":!0,"By Columns":!1},H=(E,a)=>{const u=Object.keys(a);for(let i=0;i<u.length;i++){const d=u[i];if(a[d]===E)return d}},U=e.reactExports.memo(E=>{const{initialValue:a,context:u,onInput:i,title:d,onHide:y,autoFocus:T,...C}=E,f=a?.replace??!1,m=a?.findOptions,g=m.text??null,c=a?.replaceOptions,R=a?.replaceText??null,F=u?.(),r=e.reactExports.useRef(null),K=e.reactExports.useRef(null),A=e.reactExports.useRef(null),I=e.reactExports.useRef(null),B=e.reactExports.useRef(null),D=e.reactExports.useRef(null),M=(t,n)=>{n&&(n.start(t,{center:!1}),setTimeout(()=>n.stop(t),180))},[L,O]=e.reactExports.useState(!1),[v,J]=e.reactExports.useState(!1),[p,S]=e.reactExports.useState(f),[P,b]=e.reactExports.useState(!1),[V,$]=e.reactExports.useState(!1),[o,l]=e.reactExports.useState({replaceText:null,replace:f,replaceOptions:null,findOptions:{text:null,matchCase:!1,matchEntireCell:!1,useRegex:!1,orientation:e.w.Orientation.Row,fields:[e.Ft.Content.Formulas]},scope:e.Oc.FindScopeOptions.Sheet}),h=e.k(async(t,n,s,j)=>{if(!F)return;const x={...o};x.replaceOptions={...x.replaceOptions},x.findOptions={...x.findOptions},x.replaceOptions.maxCount=s?void 0:1,x.replace=n,n&&o.findOptions.fields?.[0]===e.Ft.Content.Values&&(x.findOptions.fields=[e.Ft.Content.Formulas]),x.findOptions.reverse=!t;const Y=await F({autoFocus:j,...x});b(Y===0)},[o,F]);e.reactExports.useEffect(()=>{b(!1)},[o,v,p]);const Q=e.k((t,n)=>{if(t.keyCode===e.Ko.Enter){if(!o.findOptions.text)return;let s=!0,j=!1;t.shiftKey&&(s=!1),n?(t.ctrlKey&&t.altKey&&(j=!0),M(t,j?D.current:B.current)):M(t,s?I.current:A.current),h(s,n,j,!1)}},[o]),W=e.reactExports.useRef(null);e.reactExports.useLayoutEffect(()=>{l(t=>{const n={...t};n.findOptions.text=g&&g.length>0?g:t.findOptions.text??"",O(!0),R!==null&&(n.replaceText=R??""),m&&(n.findOptions={...n.findOptions,...m}),n.replaceText||(n.replaceText=""),n.replaceOptions&&(n.replaceOptions={...n.replaceOptions}),c&&(n.replaceOptions={...n.replaceOptions,...c}),o.findOptions.fields?.[0]||(o.findOptions.fields=[e.Ft.Content.Formulas]);const s=!(!f&&!c&&R===null);return s&&S(s),n}),V||W.current?.focus()},[a,f,g,R,m,c]),e.reactExports.useEffect(()=>{p?(o.findOptions.fields[0],e.Ft.Content.Values):O(!0)},[p]),e.reactExports.useEffect(()=>{if(L&&r.current&&o.findOptions.text===r.current.value)return r.current===document.activeElement||r.current.contains(document.activeElement)?(r.current?.select(),void O(!1)):void r.current.addEventListener("focus",()=>{r.current?.select(),O(!1)},{once:!0})},[L,o]);const[X,{width:z}]=e.Vt();return e.jsxRuntimeExports.jsx(e.ga,{ref:W,title:d??(p?"Find & Replace":"Find"),initialPosition:{y:"35"},autoFocusSel:".input",onHide:y,onFocus:()=>$(!0),onBlur:()=>{$(!1),b(!1)},slotProps:{paper:{elevation:V?3:1}},...C,children:e.jsxRuntimeExports.jsxs(e.DialogContent,{dividers:!0,ref:X,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)S(!0),r.current?.contains(document.activeElement)&&K.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.Ss,{selected:v,onSelectToggle:t=>{J(t)},preventFocus:!0,label:"Toggle Additional Options",icon:e.jsxRuntimeExports.jsx(e.co,{iconKey:"FindOptions"})}),e.jsxRuntimeExports.jsx(e.Ss,{selected:p,onSelectToggle:t=>{S(t)},preventFocus:!0,label:"Toggle Replace",icon:e.jsxRuntimeExports.jsx(e.co,{iconKey:"FindReplaceToggle"}),shortcut:{key:p?"F":"H",modifiers:[e.Q.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",slotProps:{input:{sx:{paddingRight:t=>t.spacing(1),minWidth:z>460?"20em":void 0,backgroundImage:`linear-gradient(${e.alpha("#fff",e.getOverlayAlpha(5))}, ${e.alpha("#fff",e.getOverlayAlpha(5))})`},endAdornment:e.jsxRuntimeExports.jsx(e.InputAdornment,{position:"end",children:e.jsxRuntimeExports.jsxs(e.Box,{sx:{display:"flex",alignItems:"center",flexDirection:"row",gap:"2px"},children:[e.jsxRuntimeExports.jsx(e.Ss,{style:w,selected:o.findOptions.matchCase,onBlur:()=>{},onSelectToggle:t=>{l(n=>{const s={...n};return s.findOptions.matchCase=t,s})},label:"Match Case",shortcut:{key:"C",modifiers:[e.Q.Alt]},icon:e.jsxRuntimeExports.jsx(e.co,{iconKey:"FindCaseSensitive",size:"1rem"})}),e.jsxRuntimeExports.jsx(e.Ss,{style:w,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.Q.Alt]},icon:e.jsxRuntimeExports.jsx(e.co,{iconKey:"FindWholeWord",size:"1rem"})}),e.jsxRuntimeExports.jsx(e.Ss,{style:w,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.Q.Alt]},icon:e.jsxRuntimeExports.jsx(e.co,{iconKey:"FindRegEx",size:"1rem"})})]})})},inputLabel:{shrink:!0},htmlInput:{draggable:!1,ref:r,className:"input",autoFocus:!0,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),"& .MuiOutlinedInput-notchedOutline":{borderColor:t=>P?`${t.palette.error.main} !important`:void 0},"& .MuiInputLabel-outlined":{color:t=>P?`${t.palette.error.main} !important`:void 0}},value:o.findOptions.text??"",onChange:t=>{l(n=>{const s={...n};return s.findOptions.text=t.target.value,s})},onKeyDown:t=>Q(t,!1),onContextMenu:t=>{t.stopPropagation()}}),e.jsxRuntimeExports.jsx(e.Ss,{selected:o.findOptions.reverse,onSelectToggle:t=>{h(!1,!1)},touchRippleRef:A,label:"",shortcut:{key:"Enter",modifiers:[e.Q.Shift]},icon:e.jsxRuntimeExports.jsx(e.co,{iconKey:o.findOptions.orientation!==e.w.Orientation.Column?"ArrowBack":"ArrowUpward"}),disabled:!o.findOptions.text}),e.jsxRuntimeExports.jsx(e.Ss,{selected:!o.findOptions.reverse,onSelectToggle:t=>{h(!0,!1)},touchRippleRef:I,label:"Next Match",shortcut:{key:"Enter"},icon:e.jsxRuntimeExports.jsx(e.co,{iconKey:o.findOptions.orientation!==e.w.Orientation.Column?"ArrowForward":"ArrowDownward"}),disabled:!o.findOptions.text})]}),e.jsxRuntimeExports.jsx(e.Collapse,{in:p,timeout:N,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",slotProps:{input:{sx:{paddingRight:t=>t.spacing(1),backgroundImage:`linear-gradient(${e.alpha("#fff",e.getOverlayAlpha(5))}, ${e.alpha("#fff",e.getOverlayAlpha(5))})`}},inputLabel:{shrink:!0},htmlInput:{ref:K,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=>Q(t,!0),onContextMenu:t=>{t.stopPropagation()}}),e.jsxRuntimeExports.jsx(e.Ss,{onSelectToggle:t=>{h(!0,!0)},touchRippleRef:B,label:"Replace",shortcut:{key:"Enter"},icon:e.jsxRuntimeExports.jsx(e.co,{iconKey:"FindReplace"}),disabled:!o.findOptions.text}),e.jsxRuntimeExports.jsx(e.Ss,{onSelectToggle:t=>{h(!0,!0,!0)},touchRippleRef:D,label:"Replace All",shortcut:{key:"Enter",modifiers:[e.Q.Ctrl,e.Q.Alt]},icon:e.jsxRuntimeExports.jsx(e.co,{iconKey:"FindReplaceAll"}),disabled:!o.findOptions.text})]})})]})]}),e.jsxRuntimeExports.jsx(e.Collapse,{in:v,timeout:N,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(1.5),marginTop:t=>t.spacing(1)},children:[e.jsxRuntimeExports.jsx(e.ri,{orientation:"horizontal",sx:{marginBottom:t=>t.spacing(1.5)}}),e.jsxRuntimeExports.jsxs(e.Box,{sx:{display:"flex",flexDirection:z>=383?"row":"column",justifyContent:"space-evenly",alignItems:"center",gap:t=>t.spacing(1),rowGap:t=>t.spacing(2)},tabIndex:-1,children:[e.jsxRuntimeExports.jsx(k,{label:"Within",value:o.scope,options:e.Oc.FindScopeOptions,onSelect:t=>{l(n=>{const s={...n};return s.scope=t,s})}}),e.jsxRuntimeExports.jsx(k,{label:"Search",value:o.findOptions.orientation!==e.w.Orientation.Column,options:Z,onSelect:t=>{l(n=>{const s={...n};return s.findOptions.orientation=t?e.w.Orientation.Row:e.w.Orientation.Column,s})}}),e.jsxRuntimeExports.jsx(k,{label:"Look in",value:p&&o.findOptions.fields?.[0]===e.Ft.Content.Values?e.Ft.Content.Formulas:o.findOptions.fields?.[0],options:p?G:q,onSelect:t=>{l(n=>{const s={...n};return s.findOptions.fields=[t],s})}})]})]})})]})})});exports.FindReplaceWindow=U,exports.default=U;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.25
|
|
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,13 +1,13 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.25
|
|
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("./Ck2DCUnxSByG3IGp.cjs");let $=null,R=null;const ce={compilerOptions:{target:"esnext"}},de=async()=>`
|
|
7
7
|
interface FirstTest {
|
|
8
8
|
isTrue?: boolean;
|
|
9
9
|
}
|
|
10
|
-
`,ee=new Map([["IReferenceRange","r"],["IRange","l"]]),te=new Map([["IWorkbook","workbook"],["ISheet","sheet"],["ICellRanges","ranges"],["ICellRange","range"],["IFormulaContext","context"]]),U=(T,S)=>{Array.from(S.keys()).forEach(C=>{const j=S.get(C);S.set(`${T}.${C}`,j)})},ue=new Map([["Scalar","*"],["FormulaError.Known",b.M.Error],["Date","Date"],["JSON","JSON"]]),pe=new Map([]),X="SheetXL";U(X,ee),U(X,te),U(X,pe);const me=new Map([["Promise",()=>({async:!0})],["Observable",()=>({stream:!0})]]);let P=null;async function fe(){if(P)return P;try{return await(await Promise.resolve().then(()=>require("./
|
|
10
|
+
`,ee=new Map([["IReferenceRange","r"],["IRange","l"]]),te=new Map([["IWorkbook","workbook"],["ISheet","sheet"],["ICellRanges","ranges"],["ICellRange","range"],["IFormulaContext","context"]]),U=(T,S)=>{Array.from(S.keys()).forEach(C=>{const j=S.get(C);S.set(`${T}.${C}`,j)})},ue=new Map([["Scalar","*"],["FormulaError.Known",b.M.Error],["Date","Date"],["JSON","JSON"]]),pe=new Map([]),X="SheetXL";U(X,ee),U(X,te),U(X,pe);const me=new Map([["Promise",()=>({async:!0})],["Observable",()=>({stream:!0})]]);let P=null;async function fe(){if(P)return P;try{return await(await Promise.resolve().then(()=>require("./DsfVy7fLXLcwoH4M.cjs"))).initialize()}catch(T){throw P=null,T}finally{P=null}}exports.compileModule=async function(T){const S=T?.source??null;if(!S)return null;const C=(T.disableBundle||T.declarationsOnly)??!1,j=[de(),fe()],_=await Promise.all(j),ne=_[0],n=_[1];let D="",O=null;const A=[],re={allowJs:!0,declaration:!1,sourceMap:!1,inlineSourceMap:!1,inlineSources:!1,isolatedModules:!0,preserveConstEnums:!1,module:99,noResolve:!0,emitDeclarationOnly:!1,target:n.ScriptTarget.ES2020},I="script",q=`${I}.ts`,H="lib.d.ts",W="global.d.ts",F={[q]:S,[H]:`
|
|
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
|
`,[W]:ne},ie={getSourceFile:(e,o,g,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=>H,getNewLine:()=>`
|
|
24
|
-
`},B=n.createProgram([q,W],re,ie),N=B.getTypeChecker(),oe=B.getSourceFile(q),G=B.emit();G.diagnostics.length>0&&console.warn(G.diagnostics),D=F[`${I}.js`];const L=(e,o,g,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,L(i,o,g,r)}else if(e.kind!==n.SyntaxKind.TupleType&&e.kind===n.SyntaxKind.TypeReference){const i=e.typeName?.getText?.()??null,f=ee.get(i);let m=!1;f&&(o.range=f,m=!0);const x=ue.get(i);if(x&&(o.scalar=x),x!==void 0&&(m=!0),r){const c=te.get(i);if(c)return c}else{const c=me.get(i);if(c){const a={...o,...c()};let t=0;if(a.async&&t++,a.stream&&t++,t>1)return void h(e,new Error(`'${i}' cannot have multiple modifiers: '${e?.parent?.name?.escapedText}'.`));o=a,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}'.`));L(p[0],o,g,r)}}}else h(e,new Error(`Type is not defined for '${o?.name??"return"}'.`))},E=[],h=(e,o)=>{E.push(o)};if(n.forEachChild(oe,e=>{if(g=e,(n.getCombinedModifierFlags(g)&n.ModifierFlags.Export)!==0&&n.isFunctionDeclaration(e)){const r={},i={parameters:{}},f=e?.name?.getText();try{r.name=f;const m=N.getSymbolAtLocation(e.name).getDocumentationComment(N);if(m&&m.length>0&&m[0].text){let a=m[0].text;a=a.replace(/[\r\n]+/g,"\\n").trim(),i.summary=a}const x={};L(e.type,x,r,!1),r.returnType=x;const p={};o=e,(n.getCombinedModifierFlags(o)&n.ModifierFlags.Default)!==0&&(p.default=!0,O=f),Object.keys(p).length>0&&(r.behavior=p),r.parameters=[];const c=new Map;for(let a=0;a<e.parameters.length;a++){const t=e.parameters[a],s={};s.name=t.name?.getText();const v=L(t.type,s,r,!0);if(v){if(r.parameters.length!==0){const d=e?.parent,l=d?.name?.getText();return void h(e,new Error(`'${r.name}' contexts must be the first parameter: '${l}'.`))}r.context=v;continue}let M;if((t.initializer!==void 0&&t.initializer!==null||t.questionToken!==void 0&&t.questionToken!==null)&&(s.optional=!0,t.initializer))try{M=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(d){console.warn(`Couldn't extract default value for parameter '${s.name}'`,d)}t.dotDotDotToken&&(s.rest=!0),r.parameters.push(s);const k={description:""};i.parameters[s.name]=k;const y=N.getSymbolAtLocation(t.name).getDocumentationComment(N);y&&y.length>0&&y[0].text&&(k.description=y[0].text),M!==void 0&&(k.defaultValue=M),c.set(s.name,s)}if(e.jsDoc&&e.jsDoc.length>0){const a=e.jsDoc,t=a.length;for(let s=0;s<t;s++){const v=a[s]?.tags;if(!v)continue;const M=v.length;for(let k=0;k<M;k++){const y=v[k];let d=y?.tagName?.text;if(!d)continue;d=d.toLowerCase();let l=y.comment;const Y=d==="hidden";if((typeof l=="string"||Y)&&(typeof l=="string"&&(l=l.replace(/[\r\n]+/g,"\\n").trim()),Y||!l||(l=l.split(/\\n/)[0],l&&l.length!==0))){if(l&&typeof l=="string"){const u=/\{@link(code|plain)?\s+([^}|]+)(?:\s*\|\s*([^}]+))?\}/g;let w,K=l,z=[];for(;(w=u.exec(l))!==null;){const[J,V,le,Z]=w,se=[le.trim()];Z&&se.push(Z.trim())}l=K,z.length>0&&d==="see"&&(i.links||(i.links=[]),i.links.push(...z))}if(d==="name"){const u=l;u!==f&&(i.name=u)}else if(d!=="description"){if(d==="summary"){const u=l;u&&(i.summary=u)}else if(d==="param"){const u=y.name?.text,w=c.get(u);if(!w){E.push(new Error(`Parameter '${u}' not found in function '${f}'.`));continue}if(y.typeExpression&&y.typeExpression.type)try{const K=y.typeExpression.type;if(K.kind===n.SyntaxKind.UnionType){const z=[];w.enums=z,K.types.forEach(J=>{if(J.kind===n.SyntaxKind.LiteralType){const V=J.literal.text;V&&z.push(V)}})}}catch(K){console.warn("Error parsing JSDoc type expression:",K)}}else if(d==="returns"||d==="return")r.returnType.description=l;else if(d==="category")i.category=l;else if(d==="hidden"){let u=!0;const w=l?.toLowerCase();w==="false"?u=!1:w!=="true"&&(u=l),u!==!1&&(i.hidden=u??!0)}}}}}}Object.keys(r.returnType).length===0&&delete r.returnType,A.push([r,i])}catch(m){h(e,new Error(`'${f}': ${m.message}`))}}var o,g}),E.length>0)throw console.warn(E),new Error("There were compilation errors.",{cause:E});if(A.length===0)throw new Error("No exported functions.");const ae=`${b.te.uuidV4()}-script`;try{C||E.length!==0||(D=await(async function(e,o,g="/script.js",r="__SHEETXL"){try{const i=await(async function(){if($)return $;if(R){if(await R,!$)throw new Error("ESBuild initialization promise resolved, but instance is not available.");return $}let c,a;R=new Promise((t,s)=>{c=t,a=s});try{const{initialize:t}=await Promise.resolve().then(()=>require("./
|
|
24
|
+
`},B=n.createProgram([q,W],re,ie),N=B.getTypeChecker(),oe=B.getSourceFile(q),G=B.emit();G.diagnostics.length>0&&console.warn(G.diagnostics),D=F[`${I}.js`];const L=(e,o,g,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,L(i,o,g,r)}else if(e.kind!==n.SyntaxKind.TupleType&&e.kind===n.SyntaxKind.TypeReference){const i=e.typeName?.getText?.()??null,f=ee.get(i);let m=!1;f&&(o.range=f,m=!0);const x=ue.get(i);if(x&&(o.scalar=x),x!==void 0&&(m=!0),r){const c=te.get(i);if(c)return c}else{const c=me.get(i);if(c){const a={...o,...c()};let t=0;if(a.async&&t++,a.stream&&t++,t>1)return void h(e,new Error(`'${i}' cannot have multiple modifiers: '${e?.parent?.name?.escapedText}'.`));o=a,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}'.`));L(p[0],o,g,r)}}}else h(e,new Error(`Type is not defined for '${o?.name??"return"}'.`))},E=[],h=(e,o)=>{E.push(o)};if(n.forEachChild(oe,e=>{if(g=e,(n.getCombinedModifierFlags(g)&n.ModifierFlags.Export)!==0&&n.isFunctionDeclaration(e)){const r={},i={parameters:{}},f=e?.name?.getText();try{r.name=f;const m=N.getSymbolAtLocation(e.name).getDocumentationComment(N);if(m&&m.length>0&&m[0].text){let a=m[0].text;a=a.replace(/[\r\n]+/g,"\\n").trim(),i.summary=a}const x={};L(e.type,x,r,!1),r.returnType=x;const p={};o=e,(n.getCombinedModifierFlags(o)&n.ModifierFlags.Default)!==0&&(p.default=!0,O=f),Object.keys(p).length>0&&(r.behavior=p),r.parameters=[];const c=new Map;for(let a=0;a<e.parameters.length;a++){const t=e.parameters[a],s={};s.name=t.name?.getText();const v=L(t.type,s,r,!0);if(v){if(r.parameters.length!==0){const d=e?.parent,l=d?.name?.getText();return void h(e,new Error(`'${r.name}' contexts must be the first parameter: '${l}'.`))}r.context=v;continue}let M;if((t.initializer!==void 0&&t.initializer!==null||t.questionToken!==void 0&&t.questionToken!==null)&&(s.optional=!0,t.initializer))try{M=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(d){console.warn(`Couldn't extract default value for parameter '${s.name}'`,d)}t.dotDotDotToken&&(s.rest=!0),r.parameters.push(s);const k={description:""};i.parameters[s.name]=k;const y=N.getSymbolAtLocation(t.name).getDocumentationComment(N);y&&y.length>0&&y[0].text&&(k.description=y[0].text),M!==void 0&&(k.defaultValue=M),c.set(s.name,s)}if(e.jsDoc&&e.jsDoc.length>0){const a=e.jsDoc,t=a.length;for(let s=0;s<t;s++){const v=a[s]?.tags;if(!v)continue;const M=v.length;for(let k=0;k<M;k++){const y=v[k];let d=y?.tagName?.text;if(!d)continue;d=d.toLowerCase();let l=y.comment;const Y=d==="hidden";if((typeof l=="string"||Y)&&(typeof l=="string"&&(l=l.replace(/[\r\n]+/g,"\\n").trim()),Y||!l||(l=l.split(/\\n/)[0],l&&l.length!==0))){if(l&&typeof l=="string"){const u=/\{@link(code|plain)?\s+([^}|]+)(?:\s*\|\s*([^}]+))?\}/g;let w,K=l,z=[];for(;(w=u.exec(l))!==null;){const[J,V,le,Z]=w,se=[le.trim()];Z&&se.push(Z.trim())}l=K,z.length>0&&d==="see"&&(i.links||(i.links=[]),i.links.push(...z))}if(d==="name"){const u=l;u!==f&&(i.name=u)}else if(d!=="description"){if(d==="summary"){const u=l;u&&(i.summary=u)}else if(d==="param"){const u=y.name?.text,w=c.get(u);if(!w){E.push(new Error(`Parameter '${u}' not found in function '${f}'.`));continue}if(y.typeExpression&&y.typeExpression.type)try{const K=y.typeExpression.type;if(K.kind===n.SyntaxKind.UnionType){const z=[];w.enums=z,K.types.forEach(J=>{if(J.kind===n.SyntaxKind.LiteralType){const V=J.literal.text;V&&z.push(V)}})}}catch(K){console.warn("Error parsing JSDoc type expression:",K)}}else if(d==="returns"||d==="return")r.returnType.description=l;else if(d==="category")i.category=l;else if(d==="hidden"){let u=!0;const w=l?.toLowerCase();w==="false"?u=!1:w!=="true"&&(u=l),u!==!1&&(i.hidden=u??!0)}}}}}}Object.keys(r.returnType).length===0&&delete r.returnType,A.push([r,i])}catch(m){h(e,new Error(`'${f}': ${m.message}`))}}var o,g}),E.length>0)throw console.warn(E),new Error("There were compilation errors.",{cause:E});if(A.length===0)throw new Error("No exported functions.");const ae=`${b.te.uuidV4()}-script`;try{C||E.length!==0||(D=await(async function(e,o,g="/script.js",r="__SHEETXL"){try{const i=await(async function(){if($)return $;if(R){if(await R,!$)throw new Error("ESBuild initialization promise resolved, but instance is not available.");return $}let c,a;R=new Promise((t,s)=>{c=t,a=s});try{const{initialize:t}=await Promise.resolve().then(()=>require("./ukSz2X_gLCvtdIzP.cjs"));return $=await t(),c(),$}catch(t){throw console.error("Failed to import or initialize esbuild:",t),R=null,a(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,5 +1,5 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.25
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as o } from "./
|
|
1
|
+
import { t as o } from "./iMwoatVE3Cl83b2t.mjs";
|
|
2
2
|
/**
|
|
3
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.
|
|
3
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.25
|
|
4
4
|
*
|
|
5
5
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
6
6
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -11,7 +11,7 @@ const p = Object.freeze({ compileTypescript: async function(t) {
|
|
|
11
11
|
if (n && o.deepEqual(n, t)) return i;
|
|
12
12
|
const l = await (async function() {
|
|
13
13
|
if (e) return e;
|
|
14
|
-
const { TypeScriptCompiler: c } = await import("./
|
|
14
|
+
const { TypeScriptCompiler: c } = await import("./BivCkHfyKel2HobC.mjs");
|
|
15
15
|
return e = new c(), e;
|
|
16
16
|
})(), r = await l.compileModule(t);
|
|
17
17
|
return i = r, n = t, r;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { r as o, Q as ee, U as d,
|
|
1
|
+
import { r as o, Q as ee, U as d, E as b, z as W, K as pe, W as de, j as i, i as ue, D as fe, B as h, X as x, o as g, Y as C, k as te, l as v, I as xe, p as S, Z as ne, _ as ge, P as me, L as he, M as Oe, S as ye } from "./iMwoatVE3Cl83b2t.mjs";
|
|
2
2
|
/**
|
|
3
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.
|
|
3
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.25
|
|
4
4
|
*
|
|
5
5
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
6
6
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
7
7
|
*/
|
|
8
|
-
const
|
|
8
|
+
const L = { width: "1.5rem", height: "1.5rem" }, P = o.memo((F) => {
|
|
9
9
|
const { label: c, value: m, options: l, onSelect: O, tabIndex: K = 0, ...$ } = F, [I, y] = o.useState(() => se(m, l));
|
|
10
10
|
o.useEffect(() => {
|
|
11
11
|
y(se(m, l));
|
|
@@ -23,9 +23,9 @@ const Ce = { "By Rows": !0, "By Columns": !1 }, se = (F, c) => {
|
|
|
23
23
|
if (c[O] === F) return O;
|
|
24
24
|
}
|
|
25
25
|
}, Re = o.memo((F) => {
|
|
26
|
-
const { initialValue: c, context: m, onInput: l, title: O, onHide: K, autoFocus: $, ...I } = F, y = c?.replace ?? !1, j = c?.findOptions, R = j.text ?? null, p = c?.replaceOptions, T = c?.replaceText ?? null, D = m?.(), a = o.useRef(null),
|
|
26
|
+
const { initialValue: c, context: m, onInput: l, title: O, onHide: K, autoFocus: $, ...I } = F, y = c?.replace ?? !1, j = c?.findOptions, R = j.text ?? null, p = c?.replaceOptions, T = c?.replaceText ?? null, D = m?.(), a = o.useRef(null), z = o.useRef(null), V = o.useRef(null), N = o.useRef(null), H = o.useRef(null), U = o.useRef(null), G = (e, t) => {
|
|
27
27
|
t && (t.start(e, { center: !1 }), setTimeout(() => t.stop(e), 180));
|
|
28
|
-
}, [Q, w] = o.useState(!1), [A, ae] = o.useState(!1), [u, B] = o.useState(y), [
|
|
28
|
+
}, [Q, w] = o.useState(!1), [A, ae] = o.useState(!1), [u, B] = o.useState(y), [X, M] = o.useState(!1), [Y, Z] = o.useState(!1), [s, r] = o.useState({ replaceText: null, replace: y, replaceOptions: null, findOptions: { text: null, matchCase: !1, matchEntireCell: !1, useRegex: !1, orientation: b.Orientation.Row, fields: [d.Content.Formulas] }, scope: ee.FindScopeOptions.Sheet }), k = W(async (e, t, n, E) => {
|
|
29
29
|
if (!D) return;
|
|
30
30
|
const f = { ...s };
|
|
31
31
|
f.replaceOptions = { ...f.replaceOptions }, f.findOptions = { ...f.findOptions }, f.replaceOptions.maxCount = n ? void 0 : 1, f.replace = t, t && s.findOptions.fields?.[0] === d.Content.Values && (f.findOptions.fields = [d.Content.Formulas]), f.findOptions.reverse = !e;
|
|
@@ -35,20 +35,20 @@ const Ce = { "By Rows": !0, "By Columns": !1 }, se = (F, c) => {
|
|
|
35
35
|
o.useEffect(() => {
|
|
36
36
|
M(!1);
|
|
37
37
|
}, [s, A, u]);
|
|
38
|
-
const
|
|
38
|
+
const _ = W((e, t) => {
|
|
39
39
|
if (e.keyCode === pe.Enter) {
|
|
40
40
|
if (!s.findOptions.text) return;
|
|
41
41
|
let n = !0, E = !1;
|
|
42
|
-
e.shiftKey && (n = !1), t ? (e.ctrlKey && e.altKey && (E = !0), G(e, E ? U.current : H.current)) : G(e, n ? N.current :
|
|
42
|
+
e.shiftKey && (n = !1), t ? (e.ctrlKey && e.altKey && (E = !0), G(e, E ? U.current : H.current)) : G(e, n ? N.current : V.current), k(n, t, E, !1);
|
|
43
43
|
}
|
|
44
|
-
}, [s]),
|
|
44
|
+
}, [s]), q = o.useRef(null);
|
|
45
45
|
o.useLayoutEffect(() => {
|
|
46
46
|
r((e) => {
|
|
47
47
|
const t = { ...e };
|
|
48
48
|
t.findOptions.text = R && R.length > 0 ? R : e.findOptions.text ?? "", w(!0), T !== null && (t.replaceText = T ?? ""), j && (t.findOptions = { ...t.findOptions, ...j }), t.replaceText || (t.replaceText = ""), t.replaceOptions && (t.replaceOptions = { ...t.replaceOptions }), p && (t.replaceOptions = { ...t.replaceOptions, ...p }), s.findOptions.fields?.[0] || (s.findOptions.fields = [d.Content.Formulas]);
|
|
49
49
|
const n = !(!y && !p && T === null);
|
|
50
50
|
return n && B(n), t;
|
|
51
|
-
}),
|
|
51
|
+
}), Y || q.current?.focus();
|
|
52
52
|
}, [c, y, R, T, j, p]), o.useEffect(() => {
|
|
53
53
|
u ? (s.findOptions.fields[0], d.Content.Values) : w(!0);
|
|
54
54
|
}, [u]), o.useEffect(() => {
|
|
@@ -56,11 +56,11 @@ const Ce = { "By Rows": !0, "By Columns": !1 }, se = (F, c) => {
|
|
|
56
56
|
a.current?.select(), w(!1);
|
|
57
57
|
}, { once: !0 });
|
|
58
58
|
}, [Q, s]);
|
|
59
|
-
const [re, { width:
|
|
60
|
-
return i.jsx(ue, { ref:
|
|
61
|
-
|
|
62
|
-
}, slotProps: { paper: { elevation:
|
|
63
|
-
if (e.key === "h" && e.ctrlKey) B(!0), a.current?.contains(document.activeElement) &&
|
|
59
|
+
const [re, { width: J }] = de();
|
|
60
|
+
return i.jsx(ue, { ref: q, title: O ?? (u ? "Find & Replace" : "Find"), initialPosition: { y: "35" }, autoFocusSel: ".input", onHide: K, onFocus: () => Z(!0), onBlur: () => {
|
|
61
|
+
Z(!1), M(!1);
|
|
62
|
+
}, slotProps: { paper: { elevation: Y ? 3 : 1 } }, ...I, children: i.jsxs(fe, { dividers: !0, ref: re, sx: { display: "flex", flexDirection: "column", paddingLeft: (e) => e.spacing(1.5), paddingRight: (e) => e.spacing(1.5) }, onKeyDown: (e) => {
|
|
63
|
+
if (e.key === "h" && e.ctrlKey) B(!0), a.current?.contains(document.activeElement) && z.current?.focus();
|
|
64
64
|
else if (e.key === "f" && e.ctrlKey) a.current?.focus();
|
|
65
65
|
else if (e.key === "c" && e.altKey) r((t) => {
|
|
66
66
|
const n = { ...t };
|
|
@@ -82,41 +82,41 @@ const Ce = { "By Rows": !0, "By Columns": !1 }, se = (F, c) => {
|
|
|
82
82
|
ae(e);
|
|
83
83
|
}, preventFocus: !0, label: "Toggle Additional Options", icon: i.jsx(g, { iconKey: "FindOptions" }) }), i.jsx(x, { selected: u, onSelectToggle: (e) => {
|
|
84
84
|
B(e);
|
|
85
|
-
}, preventFocus: !0, label: "Toggle Replace", icon: i.jsx(g, { iconKey: "FindReplaceToggle" }), shortcut: { key: u ? "F" : "H", modifiers: [C.Ctrl] } })] }), i.jsxs(h, { sx: { display: "flex", flexDirection: "column", maxWidth: "100%", boxSizing: "border-box" }, children: [i.jsxs(h, { sx: { display: "flex", flexDirection: "row", alignItems: "center" }, children: [i.jsx(te, { label: "Find", slotProps: { input: { sx: { paddingRight: (e) => e.spacing(1), minWidth:
|
|
85
|
+
}, preventFocus: !0, label: "Toggle Replace", icon: i.jsx(g, { iconKey: "FindReplaceToggle" }), shortcut: { key: u ? "F" : "H", modifiers: [C.Ctrl] } })] }), i.jsxs(h, { sx: { display: "flex", flexDirection: "column", maxWidth: "100%", boxSizing: "border-box" }, children: [i.jsxs(h, { sx: { display: "flex", flexDirection: "row", alignItems: "center" }, children: [i.jsx(te, { label: "Find", slotProps: { input: { sx: { paddingRight: (e) => e.spacing(1), minWidth: J > 460 ? "20em" : void 0, backgroundImage: `linear-gradient(${v("#fff", S(5))}, ${v("#fff", S(5))})` }, endAdornment: i.jsx(xe, { position: "end", children: i.jsxs(h, { sx: { display: "flex", alignItems: "center", flexDirection: "row", gap: "2px" }, children: [i.jsx(x, { style: L, selected: s.findOptions.matchCase, onBlur: () => {
|
|
86
86
|
}, onSelectToggle: (e) => {
|
|
87
87
|
r((t) => {
|
|
88
88
|
const n = { ...t };
|
|
89
89
|
return n.findOptions.matchCase = e, n;
|
|
90
90
|
});
|
|
91
|
-
}, label: "Match Case", shortcut: { key: "C", modifiers: [C.Alt] }, icon: i.jsx(g, { iconKey: "FindCaseSensitive", size: "1rem" }) }), i.jsx(x, { style:
|
|
91
|
+
}, label: "Match Case", shortcut: { key: "C", modifiers: [C.Alt] }, icon: i.jsx(g, { iconKey: "FindCaseSensitive", size: "1rem" }) }), i.jsx(x, { style: L, selected: s.findOptions.matchEntireCell, onSelectToggle: (e) => {
|
|
92
92
|
r((t) => {
|
|
93
93
|
const n = { ...t };
|
|
94
94
|
return n.findOptions.matchEntireCell = e, n;
|
|
95
95
|
});
|
|
96
|
-
}, label: "Match Entire Cell", shortcut: { key: "E", modifiers: [C.Alt] }, icon: i.jsx(g, { iconKey: "FindWholeWord", size: "1rem" }) }), i.jsx(x, { style:
|
|
96
|
+
}, label: "Match Entire Cell", shortcut: { key: "E", modifiers: [C.Alt] }, icon: i.jsx(g, { iconKey: "FindWholeWord", size: "1rem" }) }), i.jsx(x, { style: L, selected: s.findOptions.useRegex, onSelectToggle: (e) => {
|
|
97
97
|
r((t) => {
|
|
98
98
|
const n = { ...t };
|
|
99
99
|
return n.findOptions.useRegex = e, n;
|
|
100
100
|
});
|
|
101
|
-
}, label: "Use Regular Expression", shortcut: { key: "R", modifiers: [C.Alt] }, icon: i.jsx(g, { iconKey: "FindRegEx", size: "1rem" }) })] }) }) }, inputLabel: { shrink: !0 }, htmlInput: { draggable: !1, ref: a, className: "input", autoFocus: !0, spellCheck: !1, autoComplete: "off", sx: { paddingTop: (e) => e.spacing(1.25), paddingBottom: (e) => e.spacing(0.75) } } }, sx: { flex: "1 1 100%", marginRight: (e) => e.spacing(1), "& .MuiOutlinedInput-notchedOutline": { borderColor: (e) =>
|
|
101
|
+
}, label: "Use Regular Expression", shortcut: { key: "R", modifiers: [C.Alt] }, icon: i.jsx(g, { iconKey: "FindRegEx", size: "1rem" }) })] }) }) }, inputLabel: { shrink: !0 }, htmlInput: { draggable: !1, ref: a, className: "input", autoFocus: !0, spellCheck: !1, autoComplete: "off", sx: { paddingTop: (e) => e.spacing(1.25), paddingBottom: (e) => e.spacing(0.75) } } }, sx: { flex: "1 1 100%", marginRight: (e) => e.spacing(1), "& .MuiOutlinedInput-notchedOutline": { borderColor: (e) => X ? `${e.palette.error.main} !important` : void 0 }, "& .MuiInputLabel-outlined": { color: (e) => X ? `${e.palette.error.main} !important` : void 0 } }, value: s.findOptions.text ?? "", onChange: (e) => {
|
|
102
102
|
r((t) => {
|
|
103
103
|
const n = { ...t };
|
|
104
104
|
return n.findOptions.text = e.target.value, n;
|
|
105
105
|
});
|
|
106
|
-
}, onKeyDown: (e) =>
|
|
106
|
+
}, onKeyDown: (e) => _(e, !1), onContextMenu: (e) => {
|
|
107
107
|
e.stopPropagation();
|
|
108
108
|
} }), i.jsx(x, { selected: s.findOptions.reverse, onSelectToggle: (e) => {
|
|
109
109
|
k(!1, !1);
|
|
110
|
-
}, touchRippleRef:
|
|
110
|
+
}, touchRippleRef: V, label: "", shortcut: { key: "Enter", modifiers: [C.Shift] }, icon: i.jsx(g, { iconKey: s.findOptions.orientation !== b.Orientation.Column ? "ArrowBack" : "ArrowUpward" }), disabled: !s.findOptions.text }), i.jsx(x, { selected: !s.findOptions.reverse, onSelectToggle: (e) => {
|
|
111
111
|
k(!0, !1);
|
|
112
112
|
}, touchRippleRef: N, label: "Next Match", shortcut: { key: "Enter" }, icon: i.jsx(g, { iconKey: s.findOptions.orientation !== b.Orientation.Column ? "ArrowForward" : "ArrowDownward" }), disabled: !s.findOptions.text })] }), i.jsx(ne, { in: u, timeout: ie, onExit: () => {
|
|
113
113
|
a.current?.focus();
|
|
114
|
-
}, children: i.jsxs(h, { sx: { display: "flex", flexDirection: "row", alignItems: "center", marginTop: (e) => e.spacing(2) }, children: [i.jsx(te, { label: "Replace", slotProps: { input: { sx: { paddingRight: (e) => e.spacing(1), backgroundImage: `linear-gradient(${v("#fff", S(5))}, ${v("#fff", S(5))})` } }, inputLabel: { shrink: !0 }, htmlInput: { ref:
|
|
114
|
+
}, children: i.jsxs(h, { sx: { display: "flex", flexDirection: "row", alignItems: "center", marginTop: (e) => e.spacing(2) }, children: [i.jsx(te, { label: "Replace", slotProps: { input: { sx: { paddingRight: (e) => e.spacing(1), backgroundImage: `linear-gradient(${v("#fff", S(5))}, ${v("#fff", S(5))})` } }, inputLabel: { shrink: !0 }, htmlInput: { ref: z, className: "input", spellCheck: !1, autoComplete: "off", sx: { paddingTop: (e) => e.spacing(1.25), paddingBottom: (e) => e.spacing(0.75) } } }, sx: { flex: "1 1 100%", marginRight: (e) => e.spacing(1) }, value: s.replaceText ?? "", onChange: (e) => {
|
|
115
115
|
r((t) => {
|
|
116
116
|
const n = { ...t };
|
|
117
117
|
return n.replaceText = e.target.value, n;
|
|
118
118
|
});
|
|
119
|
-
}, onKeyDown: (e) =>
|
|
119
|
+
}, onKeyDown: (e) => _(e, !0), onContextMenu: (e) => {
|
|
120
120
|
e.stopPropagation();
|
|
121
121
|
} }), i.jsx(x, { onSelectToggle: (e) => {
|
|
122
122
|
k(!0, !0);
|
|
@@ -124,17 +124,17 @@ const Ce = { "By Rows": !0, "By Columns": !1 }, se = (F, c) => {
|
|
|
124
124
|
k(!0, !0, !0);
|
|
125
125
|
}, touchRippleRef: U, label: "Replace All", shortcut: { key: "Enter", modifiers: [C.Ctrl, C.Alt] }, icon: i.jsx(g, { iconKey: "FindReplaceAll" }), disabled: !s.findOptions.text })] }) })] })] }), i.jsx(ne, { in: A, timeout: ie, onExit: () => {
|
|
126
126
|
a.current?.focus();
|
|
127
|
-
}, children: i.jsxs(h, { sx: { minHeight: "10px", flex: "1 1 100%", display: "flex", flexDirection: "column", gap: (e) => e.spacing(1.5), marginTop: (e) => e.spacing(1) }, children: [i.jsx(ge, { orientation: "horizontal", sx: { marginBottom: (e) => e.spacing(1.5) } }), i.jsxs(h, { sx: { display: "flex", flexDirection:
|
|
127
|
+
}, children: i.jsxs(h, { sx: { minHeight: "10px", flex: "1 1 100%", display: "flex", flexDirection: "column", gap: (e) => e.spacing(1.5), marginTop: (e) => e.spacing(1) }, children: [i.jsx(ge, { orientation: "horizontal", sx: { marginBottom: (e) => e.spacing(1.5) } }), i.jsxs(h, { sx: { display: "flex", flexDirection: J >= 383 ? "row" : "column", justifyContent: "space-evenly", alignItems: "center", gap: (e) => e.spacing(1), rowGap: (e) => e.spacing(2) }, tabIndex: -1, children: [i.jsx(P, { label: "Within", value: s.scope, options: ee.FindScopeOptions, onSelect: (e) => {
|
|
128
128
|
r((t) => {
|
|
129
129
|
const n = { ...t };
|
|
130
130
|
return n.scope = e, n;
|
|
131
131
|
});
|
|
132
|
-
} }), i.jsx(
|
|
132
|
+
} }), i.jsx(P, { label: "Search", value: s.findOptions.orientation !== b.Orientation.Column, options: Ce, onSelect: (e) => {
|
|
133
133
|
r((t) => {
|
|
134
134
|
const n = { ...t };
|
|
135
135
|
return n.findOptions.orientation = e ? b.Orientation.Row : b.Orientation.Column, n;
|
|
136
136
|
});
|
|
137
|
-
} }), i.jsx(
|
|
137
|
+
} }), i.jsx(P, { label: "Look in", value: u && s.findOptions.fields?.[0] === d.Content.Values ? d.Content.Formulas : s.findOptions.fields?.[0], options: u ? le : oe, onSelect: (e) => {
|
|
138
138
|
r((t) => {
|
|
139
139
|
const n = { ...t };
|
|
140
140
|
return n.findOptions.fields = [e], n;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.25
|
|
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.
|