@sheetxl/studio-vanilla 0.7.12 → 0.7.13
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/{BBHohM4jM3WCxtB0.cjs → 5FB2JNZkAB-WAguX.cjs} +1 -1
- package/browser/cjs/{DSK2hYo6CuCiQlHS.cjs → 78dOV0RAF5rgwQUW.cjs} +1 -1
- package/browser/cjs/{DnZxQWS6JaVBw4sA.cjs → B1VvX7VCdcsH8Gti.cjs} +1 -1
- package/browser/cjs/B4skn6YstpEWT1bs.cjs +327 -0
- package/browser/cjs/{CDqp6ACNbqy35-Of.cjs → B7X1IPkASiw0G90-.cjs} +2 -2
- package/browser/cjs/{-eO7sjRuicaz5SOU.cjs → B9PX1doxigBD0DCk.cjs} +2 -2
- package/browser/cjs/{iP07Mt-ickoft35-.cjs → BDtyqEH_YEwu9ldA.cjs} +4 -4
- package/browser/cjs/{B8PHm63b2xqKUaAr.cjs → BFGxbCIoibTxqnIi.cjs} +1 -1
- package/browser/cjs/{BNYK_bT3TYIc--Zy.cjs → BGZa_8CRodA2LEYx.cjs} +2 -2
- package/browser/cjs/BMaZl9v1WOvtOADY.cjs +6 -0
- package/browser/cjs/{DF5KgNfi6dfPNQbk.cjs → BWcEJnZcKKcHkz0f.cjs} +2 -2
- package/browser/cjs/{BXkx2qmjbBuf-OfY.cjs → B_AseJLPSuGo6GDf.cjs} +1 -1
- package/browser/cjs/B_F2ElEw3X66F_L3.cjs +6 -0
- package/browser/cjs/{BwOzrku6Vh67K7-3.cjs → BbkCk4nfjCe1Cpij.cjs} +1 -1
- package/browser/cjs/{BY_GbYgR1xVu8F__.cjs → BbyzYQSgWxzepYCc.cjs} +1 -1
- package/browser/cjs/{BkDh5Rqo7kOlAX0M.cjs → BcnudOYprbQZTGHW.cjs} +1 -1
- package/browser/cjs/{w_73GSBsYNeb5giz.cjs → BlcJcQhBPqHfjX2x.cjs} +1 -1
- package/browser/cjs/Bmadznj02hAZ6Vcd.cjs +6 -0
- package/browser/cjs/{BcBVJbcAjpcrzNAh.cjs → BoA1u6SJv0aFc353.cjs} +1 -1
- package/browser/cjs/{DsKkPzoF71-VUnpf.cjs → ByDHkyffMaSPKuyr.cjs} +5 -5
- package/browser/cjs/{BI714x1jMThRIORY.cjs → C3r_CIITb0MvUeGK.cjs} +1 -1
- package/browser/cjs/{KbASdjHOq7skv139.cjs → CA8WuC6jtCmvswvn.cjs} +3 -3
- package/browser/cjs/CAOf4UKmkwzLXOLK.cjs +6 -0
- package/browser/cjs/{x3NnXcxSTXEjFeTN.cjs → CC0Dgap4BzVNkRIy.cjs} +4 -4
- package/browser/cjs/{DSAXsZVWwo86AMBt.cjs → CGsvXu-FjuZ3-GmY.cjs} +1 -1
- package/browser/cjs/{Cj38w-zbyh7fXSNd.cjs → CNRVA3rz1kniUscm.cjs} +3 -3
- package/browser/cjs/{gYytqdps4gjA1VsE.cjs → COKPliuQ_2UpHCww.cjs} +1 -1
- package/browser/cjs/{DNjA6vCUVS7yPJUI.cjs → CVaFHItd3JqvYmTa.cjs} +1 -1
- package/browser/cjs/{Dceo-7oI-sHtzHEv.cjs → CWoAzlcnU0WyFA4f.cjs} +1 -1
- package/browser/cjs/Cbxq2EWu1ezSBp-h.cjs +14 -0
- package/browser/cjs/{CEpfRK6JTZl-4bao.cjs → Cf0pm5JLv3pWJAWd.cjs} +2 -2
- package/browser/cjs/{Dj4GC-6Ncby70fHf.cjs → CgeeIQXxuADgwpH5.cjs} +1 -1
- package/browser/cjs/{ZdjzaqWoTWmCDBig.cjs → CkwyRC0iJA2hdrQs.cjs} +1 -1
- package/browser/cjs/{BVZbuK9wj-1TvKiL.cjs → Cv_2k9kWPs4pyStL.cjs} +1 -1
- package/browser/cjs/D-WNKJUOmfSjrp-b.cjs +6 -0
- package/browser/cjs/{DFJg1OGio65VZQG9.cjs → DBRpIE6o5HyzsdGy.cjs} +1 -1
- package/browser/cjs/{DH34jRpKaelnDwxU.cjs → DF2YGBnOY3cxvU9n.cjs} +2 -2
- package/browser/cjs/DG1ATeBBO4_HMBnR.cjs +7 -0
- package/browser/cjs/{K9KhmXiKiLE2Geqa.cjs → DGRC9Vgd6jMELIa3.cjs} +1 -1
- package/browser/cjs/{FzJixsuPJrCxTaat.cjs → DIEzvzfJ8nRAv8L5.cjs} +3 -3
- package/browser/cjs/{zLzX2-m-bUHwu6Cw.cjs → DRjUdQ9CefKRI7CX.cjs} +1 -1
- package/browser/cjs/{BpAWICr1CnCC62Uv.cjs → DV34hLiOdokdu4jR.cjs} +1 -1
- package/browser/cjs/{B_VQ0U95ZMbsnR7s.cjs → DYziJ4DC7YM5urcF.cjs} +1 -1
- package/browser/cjs/{BKlh3z_2ma4ipYc9.cjs → DbFebCV0almTLgec.cjs} +1 -1
- package/browser/cjs/{BnKRMb3LlkISj6Mp.cjs → DjfJ-t6bOqRCMflS.cjs} +2 -2
- package/browser/cjs/{-WXA4Et_-9v49fjs.cjs → DlbSHBBSh5E0p5sG.cjs} +1 -1
- package/browser/cjs/{DhmKxGAdouAuVIXE.cjs → DlzkqGBXaS247pQN.cjs} +7 -7
- package/browser/cjs/{CssmbzpAamqgPAiM.cjs → DpLkeIZqCp8B7njY.cjs} +1 -1
- package/browser/cjs/{5PNqwS5YixSaH3u8.cjs → DrMv8ZKeHEn8wl3K.cjs} +1 -1
- package/browser/cjs/{C7AgRQtZMBWMiQlm.cjs → DuQa4Eq6hLkAi4L9.cjs} +1 -1
- package/browser/cjs/{FeaOKhVJk2vkwrnH.cjs → DyZeaiDTtM0AauRr.cjs} +1 -1
- package/browser/cjs/H--CEwf6a7eiKJH_.cjs +6 -0
- package/browser/cjs/NshRRIkBb-qQy-Dp.cjs +6 -0
- package/browser/cjs/{DgEw0SckE0e7XrCn.cjs → bBlfAuw2hA_trg2r.cjs} +1 -1
- package/browser/cjs/index.cjs +2 -2
- package/browser/cjs/{BiCTAaMJ2X498d8V.cjs → l0VTRdM_ld0I_gdY.cjs} +3 -3
- package/browser/cjs/{BILxgU8Lfzqz3Pe6.cjs → nX5Matbx22rSI3ap.cjs} +4 -4
- package/browser/cjs/{CG7zTcyLrI68-hTA.cjs → rwFdEXq7gPabWAk2.cjs} +1 -1
- package/browser/cjs/xQDGnleNFZuZFImw.cjs +6 -0
- package/browser/esm/{CQWdgrkqBGjt7vj2.mjs → 6CzQuXrkb2vam89N.mjs} +1 -1
- package/browser/esm/{B28l7g4RZ6fLgxcS.mjs → 9ctvSwmM18jYwMFT.mjs} +1 -1
- package/{cdn/assets/DdMliHQw08nLDsr6.js → browser/esm/B6J0aAD-HabRj8lU.mjs} +1 -1
- package/browser/esm/{hVCg0fMvy7e1Spzw.mjs → BRChXYjL4dgT5Acf.mjs} +2 -2
- package/browser/esm/{CC4wFVxbBsaxiQz_.mjs → BRlrhCxrPmpasdAq.mjs} +1 -1
- package/browser/esm/{GfbD5mbiIAOrin_i.mjs → BTj16Jpq9LabC1ct.mjs} +2 -2
- package/{cdn/assets/CBqOojBrpJdc7YAD.js → browser/esm/BUWI98LWKzpLltoB.mjs} +1 -1
- package/browser/esm/{BAEJqCVfxkqEgvw_.mjs → BXTfqh_OHTdckyrX.mjs} +2 -2
- package/browser/esm/{bThVA-td1KT-UJ5b.mjs → BXZvKDNcrjMpMjkM.mjs} +1 -1
- package/browser/esm/BcheI2SkDXSDfNWf.mjs +39 -0
- package/browser/esm/{B9oU5FN3KGRta18S.mjs → BkCbuVVBeJSHG13N.mjs} +1 -1
- package/{cdn/assets/CEUO-HJYVCMrKsAq.js → browser/esm/Bm4rfr_Cx_aoCmLn.mjs} +1 -1
- package/browser/esm/BmootmPaMrAYlh-i.mjs +20 -0
- package/{cdn/assets/D2q9JXFOMpNTZeVJ.js → browser/esm/BnAowM0EnxUXrnrv.mjs} +1 -1
- package/browser/esm/{CR-v0xYa9m7miVZF.mjs → Bo3eioKp9uerGFhK.mjs} +3 -3
- package/browser/esm/Bs2Gjt2rGx2tBBuf.mjs +44 -0
- package/{cdn/assets/BK0IEnleNOxNepsj.js → browser/esm/BvJMrNHXbOKCTgRb.mjs} +16 -16
- package/browser/esm/{TKxXzc5KOsPDGQVN.mjs → BvT1qZHVf1vKwVRj.mjs} +4 -4
- package/browser/esm/Bx7aHQieKPFd6qH9.mjs +7037 -0
- package/browser/esm/{rzGjNqCuXRzv3JfI.mjs → C-lXyFUBEAW5exiY.mjs} +2 -2
- package/browser/esm/{BnxY0K8gj6QMqWlW.mjs → C0IT8vG1z0PurDHx.mjs} +18 -18
- package/browser/esm/C7URrQo6Wkhr5jT8.mjs +41 -0
- package/{cdn/assets/DfTjDm3Tk_sDOmjE.js → browser/esm/CFcNImdxR1fAen07.mjs} +1 -1
- package/browser/esm/{BF64lzrtcnldqRg1.mjs → CL5GtpNDLILXmHu_.mjs} +40 -40
- package/browser/esm/{C8BoiCRcJBCVaIba.mjs → COiAzrLUE7r62nw2.mjs} +1 -1
- package/browser/esm/{2KA4SUyQY4CiroNI.mjs → Ccc8HN1TvaWenXG3.mjs} +1 -1
- package/browser/esm/{Ct_o0achkchPWNVu.mjs → CljwsKtaO3RXpkQp.mjs} +1 -1
- package/{cdn/assets/J_LzSBBNL6FU8Aog.js → browser/esm/CqUeRLqKKxuj7CGF.mjs} +1 -1
- package/browser/esm/{CmcfAjz5K3jCgHyf.mjs → D-TgOIJZ4k8efoZs.mjs} +1 -1
- package/browser/esm/D1Q3jk3SN052POoL.mjs +48 -0
- package/browser/esm/{UoQN8GYDM7JwoPwp.mjs → D64vxslweSTP13xR.mjs} +3 -3
- package/{cdn/assets/BedUctChrhSB3He2.js → browser/esm/D6Ajj2DYdbc3SDFs.mjs} +1 -1
- package/{cdn/assets/CLRO4_cCVLzgtqqe.js → browser/esm/D7NYy1UIGY4JyQeb.mjs} +1 -1
- package/{cdn/assets/kmf90coXVVBT-dB7.js → browser/esm/D9h0ke7a7mIAuw72.mjs} +1 -1
- package/browser/esm/{BfR7E2rs7QvAOzBJ.mjs → DDqu9PmY-OCWxh4y.mjs} +2 -2
- package/{cdn/assets/hpIoZ1o55_I3NhdQ.js → browser/esm/DK0jAoefLeQgYeYg.mjs} +1 -1
- package/{cdn/assets/DN8YrzhNd5eYpWmn.js → browser/esm/DOc3EgZdz6rFbqel.mjs} +9 -11
- package/{cdn/assets/D8cI18n7IWp6YpTn.js → browser/esm/DPteSel_Kz5jyMA-.mjs} +1 -1
- package/{cdn/assets/CtRZTrFnLAeDwHY2.js → browser/esm/DRJpIWMEwovO1buV.mjs} +1 -1
- package/browser/esm/{DW2CrHQsmGML6Co6.mjs → DWbzCCaDXB8zMb60.mjs} +2 -2
- package/browser/esm/DXz1Oic-6nQRAewd.mjs +147 -0
- package/browser/esm/D_gSswRpVgwA_hbg.mjs +48 -0
- package/{cdn/assets/BJtjWc1koVtP4Juw.js → browser/esm/Dby3rJONLIgRXJEp.mjs} +1 -1
- package/browser/esm/{wDUhRc6bsF_6jDRi.mjs → Dp3iqrsApKfm3-yY.mjs} +17370 -17138
- package/{cdn/assets/BFcyZ5xL_Gz6upAf.js → browser/esm/DpKjaZFvNDajFoPy.mjs} +1 -1
- package/browser/esm/{CBpLpxNdN-gOJeks.mjs → DpoNkpY8iPCn3m4C.mjs} +1 -1
- package/{cdn/assets/B4NaB1r6l-BHNrim.js → browser/esm/DrSQqt9_r5waPhyT.mjs} +1 -1
- package/{cdn/assets/DHAE-pOUCYJU7yTn.js → browser/esm/FQKDEomPzTYq5ls5.mjs} +1 -1
- package/browser/esm/{BQfRBXWzPfctrYpS.mjs → FXAN_qipSw7b0rk9.mjs} +6 -6
- package/browser/esm/{7vidm7P8mD5AgWHD.mjs → U0p5BBqppTmlxGkR.mjs} +1 -1
- package/{cdn/assets/GYSIfiBDb6pRfe9Q.js → browser/esm/WUX2b0l28FRmJGMz.mjs} +1 -1
- package/browser/esm/{CI9vPgUsBCm36P6h.mjs → aklAXH3i-vJOFht0.mjs} +4 -4
- package/browser/esm/{Qr9SlNew1Ed0JFqx.mjs → dn2I9QGElGE3tUEt.mjs} +9 -9
- package/browser/esm/index.mjs +3 -3
- package/{cdn/assets/D6XLDdPiq53er9r-.js → browser/esm/nedndZDepZuCPUPk.mjs} +1 -1
- package/browser/esm/{DpHn2gevYwVaEwG7.mjs → pImSI15xRLyAC5kV.mjs} +2 -2
- package/{cdn/assets/SnTxli2g2yAGIq3k.js → browser/esm/qKezPJyu8tVx4M7G.mjs} +1 -1
- package/{cdn/assets/B9oDtEH2TI9-Y7PO.js → browser/esm/spROgAvd5ibinf8q.mjs} +1 -1
- package/browser/esm/wv7W2ELnbb8ZKNXB.mjs +45 -0
- package/cdn/assets/{C9DfE6akF0Zo9WEe.js → 2rQi-ZQGcQ7M8d31.js} +16991 -16759
- package/cdn/assets/{CQWdgrkqBGjt7vj2.js → 6CzQuXrkb2vam89N.js} +1 -1
- package/cdn/assets/{B28l7g4RZ6fLgxcS.js → 9ctvSwmM18jYwMFT.js} +1 -1
- package/{browser/esm/DdMliHQw08nLDsr6.mjs → cdn/assets/B6J0aAD-HabRj8lU.js} +1 -1
- package/cdn/assets/BG6gRExeTqxF4Uzb.js +47 -0
- package/cdn/assets/BJNZzjzhcS_HDPnu.js +149 -0
- package/cdn/assets/BM3Woa_n5vyDkAGU.js +50 -0
- package/cdn/assets/{CEbGM0dIarYwvdnw.js → BQ4iB5PSJidcVDir.js} +5 -5
- package/cdn/assets/{CC4wFVxbBsaxiQz_.js → BRlrhCxrPmpasdAq.js} +1 -1
- package/{browser/esm/CBqOojBrpJdc7YAD.mjs → cdn/assets/BUWI98LWKzpLltoB.js} +1 -1
- package/cdn/assets/BVOgz3zzOoeIDWUT.js +22 -0
- package/cdn/assets/{bThVA-td1KT-UJ5b.js → BXZvKDNcrjMpMjkM.js} +1 -1
- package/cdn/assets/{BSSoKfrU1JGV6k9f.js → BZNMDd-HvJEwnULT.js} +3 -3
- package/cdn/assets/{0eFan4CfEnron04i.js → BaWQ5jdLwZpcoIbf.js} +42 -42
- package/cdn/assets/{C3_Zv6bwbMWgoJjM.js → BiLJuKv_22l0dghP.js} +4 -4
- package/cdn/assets/{B9oU5FN3KGRta18S.js → BkCbuVVBeJSHG13N.js} +1 -1
- package/{browser/esm/CEUO-HJYVCMrKsAq.mjs → cdn/assets/Bm4rfr_Cx_aoCmLn.js} +1 -1
- package/{browser/esm/D2q9JXFOMpNTZeVJ.mjs → cdn/assets/BnAowM0EnxUXrnrv.js} +1 -1
- package/cdn/assets/BotF4v7CfYUVDgdR.js +6716 -0
- package/cdn/assets/Bwl5DOEl0NPZHs_1.js +23 -0
- package/cdn/assets/{RqeH9v_zEigLqiWd.js → C9rYbbtn-ueZFc_k.js} +3 -3
- package/{browser/esm/DfTjDm3Tk_sDOmjE.mjs → cdn/assets/CFcNImdxR1fAen07.js} +1 -1
- package/cdn/assets/{BKyX0kH_WAVGO7fi.js → CL4yCbgGijoAlCpu.js} +2 -2
- package/cdn/assets/{C8BoiCRcJBCVaIba.js → COiAzrLUE7r62nw2.js} +1 -1
- package/cdn/assets/CPH8yJrWplfJS73i.js +41 -0
- package/cdn/assets/{BmAMp17QyspHuJZS.js → CSBwJrMTSTtYvxJu.js} +2 -2
- package/cdn/assets/{2KA4SUyQY4CiroNI.js → Ccc8HN1TvaWenXG3.js} +1 -1
- package/cdn/assets/{Ct_o0achkchPWNVu.js → CljwsKtaO3RXpkQp.js} +1 -1
- package/{browser/esm/J_LzSBBNL6FU8Aog.mjs → cdn/assets/CqUeRLqKKxuj7CGF.js} +1 -1
- package/cdn/assets/{BzKuiEhSmWlcwfhu.js → CtyZHJTYP-9LgQxL.js} +10 -10
- package/cdn/assets/{Dcr8CLd9gTsctsoA.js → Cvrm9_9yv1m363G3.js} +4 -4
- package/cdn/assets/{CmcfAjz5K3jCgHyf.js → D-TgOIJZ4k8efoZs.js} +1 -1
- package/cdn/assets/{CQsks4AC15bxhorR.js → D-x-yb-ab3PSsoLp.js} +1 -1
- package/cdn/assets/{D2Kt-mtUwRVsi0Oa.js → D58uHrTYGk0cexx3.js} +2 -2
- package/cdn/assets/{BqZb-60_07MPXnEK.js → D69keuuL7hU1Dnic.js} +3 -3
- package/{browser/esm/BedUctChrhSB3He2.mjs → cdn/assets/D6Ajj2DYdbc3SDFs.js} +1 -1
- package/{browser/esm/CLRO4_cCVLzgtqqe.mjs → cdn/assets/D7NYy1UIGY4JyQeb.js} +1 -1
- package/{browser/esm/kmf90coXVVBT-dB7.mjs → cdn/assets/D9h0ke7a7mIAuw72.js} +1 -1
- package/cdn/assets/{_PvCIesF9faJSoze.js → DDx51j_svq2hiZh0.js} +3 -3
- package/{browser/esm/hpIoZ1o55_I3NhdQ.mjs → cdn/assets/DK0jAoefLeQgYeYg.js} +1 -1
- package/cdn/assets/{C24mKRMxk8iYiXpU.js → DLD33vocqg50Srt6.js} +3 -3
- package/{browser/esm/D8cI18n7IWp6YpTn.mjs → cdn/assets/DPteSel_Kz5jyMA-.js} +1 -1
- package/{browser/esm/CtRZTrFnLAeDwHY2.mjs → cdn/assets/DRJpIWMEwovO1buV.js} +1 -1
- package/cdn/assets/{BiV5slDQgiRXSdGL.js → DZ_aNpywKZjJOp1j.js} +3 -3
- package/cdn/assets/{SZN9NKkFV4elc84O.js → Dbkzw2Dbc79x_TGO.js} +2 -2
- package/{browser/esm/BJtjWc1koVtP4Juw.mjs → cdn/assets/Dby3rJONLIgRXJEp.js} +1 -1
- package/cdn/assets/DdQtG7fDOGw-8weZ.js +43 -0
- package/cdn/assets/{Byae8cdz7wTbULBr.js → DgqBfvIFmA0jgqHV.js} +3 -3
- package/cdn/assets/{cPNsbWLeb1l7_cpY.js → DpCeTRhgoRFi6SO-.js} +2 -2
- package/{browser/esm/BFcyZ5xL_Gz6upAf.mjs → cdn/assets/DpKjaZFvNDajFoPy.js} +1 -1
- package/cdn/assets/{CBpLpxNdN-gOJeks.js → DpoNkpY8iPCn3m4C.js} +1 -1
- package/{browser/esm/B4NaB1r6l-BHNrim.mjs → cdn/assets/DrSQqt9_r5waPhyT.js} +1 -1
- package/cdn/assets/{b4OHehsJx7Wb6-J_.js → DwXZtsZKFTghm2xd.js} +4 -4
- package/cdn/assets/{DrvuO_vvGwhKt4Sj.js → DxBSfeFnzh3av1Kx.js} +6 -6
- package/{browser/esm/DHAE-pOUCYJU7yTn.mjs → cdn/assets/FQKDEomPzTYq5ls5.js} +1 -1
- package/cdn/assets/LG_tevT5cNrZTkZi.js +46 -0
- package/cdn/assets/{7vidm7P8mD5AgWHD.js → U0p5BBqppTmlxGkR.js} +1 -1
- package/{browser/esm/GYSIfiBDb6pRfe9Q.mjs → cdn/assets/WUX2b0l28FRmJGMz.js} +1 -1
- package/cdn/assets/aecrCD5ZX8G4uYzf.js +50 -0
- package/{browser/esm/UcgTvDHyRekFpsYj.mjs → cdn/assets/fZNj1uwvRzWquyu2.js} +22 -22
- package/{browser/esm/D6XLDdPiq53er9r-.mjs → cdn/assets/nedndZDepZuCPUPk.js} +1 -1
- package/{browser/esm/SnTxli2g2yAGIq3k.mjs → cdn/assets/qKezPJyu8tVx4M7G.js} +1 -1
- package/cdn/assets/rn1QhkA9d6ye5hFe.js +243 -0
- package/{browser/esm/B9oDtEH2TI9-Y7PO.mjs → cdn/assets/spROgAvd5ibinf8q.js} +1 -1
- package/cdn/assets/{BVyp60hpb5srkV6g.js → tuC-wgl8wZ_I-jrr.js} +2 -2
- package/cdn/index.js +2 -2
- package/cdn/loader.js +1 -1
- package/package.json +9 -5
- package/browser/cjs/-huCFLOOQCMFOV2N.cjs +0 -14
- package/browser/cjs/BF4t56m9TJ4gat4v.cjs +0 -6
- package/browser/cjs/C2hwCU6bpu83fRSc.cjs +0 -7
- package/browser/cjs/C67S-tNWkmsk1Fn6.cjs +0 -6
- package/browser/cjs/COyOA0-abfa5e4-U.cjs +0 -6
- package/browser/cjs/CrZF2BJWslfAfzed.cjs +0 -6
- package/browser/cjs/Ctvgjtb_TFd9TXzX.cjs +0 -6
- package/browser/cjs/DfWGzo83enpWoYzq.cjs +0 -6
- package/browser/cjs/DjY9TG6GF4YMOfUl.cjs +0 -327
- package/browser/cjs/wcp5OOSdkyeL4kRF.cjs +0 -6
- package/browser/esm/Bg2jABI9uC6SEPl1.mjs +0 -39
- package/browser/esm/Bhc7XEAmB_fjp8g2.mjs +0 -41
- package/browser/esm/CJrve4RTBUciEKL5.mjs +0 -21
- package/browser/esm/CLY8pzdcMS9ReVrP.mjs +0 -6800
- package/browser/esm/CMQyrzMhqsPY_q4x.mjs +0 -44
- package/browser/esm/CP1NuPJWpWe0_Bo0.mjs +0 -149
- package/browser/esm/CqZUbfGB7bI_8cNx.mjs +0 -47
- package/browser/esm/XMNQqJw5evyv_Q_y.mjs +0 -48
- package/browser/esm/XOdiX2wkBkomy8GC.mjs +0 -20
- package/cdn/assets/-R6D1RfkjRGBPBWk.js +0 -22
- package/cdn/assets/BDbJE2iS-Ku9-mzd.js +0 -46
- package/cdn/assets/BJa2hOFvpV5MiJZF.js +0 -6481
- package/cdn/assets/BuiPKcY58366J08w.js +0 -49
- package/cdn/assets/C50mK3z5eY-7EMdI.js +0 -151
- package/cdn/assets/Crcq6Rf-pHJPMRKq.js +0 -50
- package/cdn/assets/DmuhKwbRvNevcmj2.js +0 -241
- package/cdn/assets/DpPdBx_Qdc5i4ah0.js +0 -43
- package/cdn/assets/t7LUdM1_CMr4BFPU.js +0 -41
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { r as a, E as x, j as o, O as E, B as L, K as O, T as b, o as p, q as r } from "./wDUhRc6bsF_6jDRi.mjs";
|
|
2
|
-
/**
|
|
3
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.12
|
|
4
|
-
*
|
|
5
|
-
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
6
|
-
* License: The license can be found at https://www.sheetxl.com/license.
|
|
7
|
-
*/
|
|
8
|
-
const W = ["Ok", "Cancel"], A = a.memo((D) => {
|
|
9
|
-
const { initialHyperlink: s = null, initialDisplay: j = null, onUpdateHyperlink: m, context: l, onOption: f, onValidateOption: d, onDone: c, options: h = W, defaultOption: u = h?.[0], cancelOption: i = "Cancel", sx: F, ...H } = D, v = a.useMemo(() => (s ?? l?.()?.getHyperlink()) !== null, []), k = a.useMemo(() => {
|
|
10
|
-
let e = null, n = null;
|
|
11
|
-
s && (typeof s == "string" ? n = s : e = s);
|
|
12
|
-
const C = e ?? l?.()?.getHyperlink();
|
|
13
|
-
return { address: n ?? C?.getAddress() ?? "", textToDisplay: C?.getDisplayText() ?? "" };
|
|
14
|
-
}, [s, l]), [t, w] = a.useState(k.address), [g, M] = a.useState(() => {
|
|
15
|
-
const e = l?.().toTextUnformatted() ?? j;
|
|
16
|
-
return e === k.address ? "" : e;
|
|
17
|
-
}), [I, y] = a.useState(!1), P = a.useCallback((e) => {
|
|
18
|
-
M(e.target.value);
|
|
19
|
-
}, []), T = a.useCallback(async (e, n) => null, []), B = x(async (e) => {
|
|
20
|
-
e !== i && m?.(t === "" ? null : { address: t }, g), f?.(e, e === i, e === u), c?.();
|
|
21
|
-
}, [t, g, m, c, f, u, i]), S = x((e) => {
|
|
22
|
-
w(e.target.value), T(e.target.value, null);
|
|
23
|
-
}, [d]), $ = x(async (e) => {
|
|
24
|
-
let n = await Promise.resolve(d?.(e));
|
|
25
|
-
try {
|
|
26
|
-
n !== !1 && (n = await T(t, e));
|
|
27
|
-
} catch {
|
|
28
|
-
}
|
|
29
|
-
return n ?? !0;
|
|
30
|
-
}, [d]);
|
|
31
|
-
return o.jsx(E, { title: (v ? "Edit" : "Insert") + " Link", options: h, onDone: c, onOption: (e) => B(e), onValidateOption: $, defaultOption: u, cancelOption: i, autoFocusSel: ".autoFocus", sx: { width: "480px", ...F }, ...H, children: o.jsxs(L, { sx: { paddingTop: (e) => e.spacing(1), paddingBottom: (e) => e.spacing(0), rowGap: (e) => e.spacing(1), display: "flex", flexDirection: "column" }, children: [o.jsx(O, { sx: { paddingTop: (e) => e.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: o.jsx(b, { label: "Address", placeholder: "Enter a url or cell reference.", onFocus: (e) => {
|
|
32
|
-
I || e.target?.select(), y(!0);
|
|
33
|
-
}, sx: { "& .MuiFormHelperText-root": { marginTop: (e) => e.spacing(0.5) } }, slotProps: { inputLabel: { shrink: !0 }, htmlInput: { className: "autoFocus", spellCheck: !1, autoComplete: "off", sx: { paddingTop: (e) => e.spacing(1.25), paddingBottom: (e) => e.spacing(0.75), backgroundImage: `linear-gradient(${p("#fff", r(5))}, ${p("#fff", r(5))})` } } }, value: t, onChange: S, onContextMenu: (e) => {
|
|
34
|
-
e.stopPropagation();
|
|
35
|
-
} }) }), o.jsx(O, { sx: { paddingTop: (e) => e.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: o.jsx(b, { label: "Display Text", placeholder: t?.startsWith("#") ? t.substring(1) : t, onFocus: () => {
|
|
36
|
-
y(!0);
|
|
37
|
-
}, sx: { "& .MuiFormHelperText-root": { marginTop: (e) => e.spacing(0.5) } }, slotProps: { inputLabel: { shrink: !0 }, htmlInput: { spellCheck: !1, autoComplete: "off", sx: { paddingTop: (e) => e.spacing(1.25), paddingBottom: (e) => e.spacing(0.75), backgroundImage: `linear-gradient(${p("#fff", r(5))}, ${p("#fff", r(5))})` } } }, value: g, onChange: P, onContextMenu: (e) => {
|
|
38
|
-
e.stopPropagation();
|
|
39
|
-
} }) })] }) });
|
|
40
|
-
});
|
|
41
|
-
export {
|
|
42
|
-
A as HyperlinkDialog,
|
|
43
|
-
A as default
|
|
44
|
-
};
|
|
@@ -1,149 +0,0 @@
|
|
|
1
|
-
import { r as o, P as p, G as R, E as P, n as le, Q as re, j as i, k as ae, l as ce, B as O, U as g, x as m, Y as y, T as Y, o as b, I as pe, q as v, X as Z, Z as de, N as ue, K as fe, M as xe, S as ge } from "./wDUhRc6bsF_6jDRi.mjs";
|
|
2
|
-
/**
|
|
3
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.12
|
|
4
|
-
*
|
|
5
|
-
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
6
|
-
* License: The license can be found at https://www.sheetxl.com/license.
|
|
7
|
-
*/
|
|
8
|
-
const B = { width: "1.5rem", height: "1.5rem" }, M = o.memo((k) => {
|
|
9
|
-
const { label: h, value: c, options: l, onSelect: d, tabIndex: C = 0, ...w } = k, [E, j] = o.useState(() => ee(c, l));
|
|
10
|
-
o.useEffect(() => {
|
|
11
|
-
j(ee(c, l));
|
|
12
|
-
}, [c, l]);
|
|
13
|
-
const K = P((u) => {
|
|
14
|
-
j(u.target.value), d?.(l[u.target.value]);
|
|
15
|
-
}, [d, l]), r = o.useMemo(() => Object.keys(l).map((u) => i.jsx(ue, { value: u, children: u }, u)), [l]);
|
|
16
|
-
return i.jsxs(fe, { sx: { minWidth: 135 }, size: "small", children: [i.jsx(xe, { children: h }), i.jsx(ge, { inputProps: { tabIndex: C }, value: E, label: h, onChange: K, sx: { backgroundImage: `linear-gradient(${b("#fff", v(5))}, ${b("#fff", v(5))})` }, ...w, children: r })] });
|
|
17
|
-
}), J = { Workbook: "workbook", Sheet: "sheet" }, _ = { enter: 140, exit: 140 }, ne = { Formulas: p.Content.Formulas, Values: p.Content.Values, Notes: p.Content.Notes, Comments: p.Content.Comments }, te = { ...ne };
|
|
18
|
-
delete te.Values;
|
|
19
|
-
const me = { "By Rows": !0, "By Columns": !1 }, ee = (k, h) => {
|
|
20
|
-
const c = Object.keys(h);
|
|
21
|
-
for (let l = 0; l < c.length; l++) {
|
|
22
|
-
const d = c[l];
|
|
23
|
-
if (h[d] === k) return d;
|
|
24
|
-
}
|
|
25
|
-
}, Oe = o.memo((k) => {
|
|
26
|
-
const { replace: h = !1, findText: c, replaceText: l, findOptions: d, replaceOptions: C, title: w, onHide: E, onFindOrReplace: j, ...K } = k, r = o.useRef(null), u = o.useRef(null), W = o.useRef(null), $ = o.useRef(null), L = o.useRef(null), z = o.useRef(null), N = (e, n) => {
|
|
27
|
-
n && (n.start(e, { center: !1 }), setTimeout(() => n.stop(e), 180));
|
|
28
|
-
}, [V, T] = o.useState(!1), [I, ie] = o.useState(!1), [f, D] = o.useState(h), [H, A] = o.useState(!1), [U, G] = o.useState(!1), [s, a] = o.useState({ replaceText: null, replace: h, replaceOptions: {}, findOptions: { text: null, matchCase: !1, matchEntireCell: !1, useRegex: !1, orientation: R.Orientation.Row, fields: [p.Content.Formulas] }, scope: J.Sheet }), S = P(async (e, n, t, F) => {
|
|
29
|
-
if (!j) return;
|
|
30
|
-
const x = { ...s };
|
|
31
|
-
x.replaceOptions = { ...x.replaceOptions }, x.findOptions = { ...x.findOptions }, x.replaceOptions.maxCount = t ? void 0 : 1, x.replace = n, n && s.findOptions.fields?.[0] === p.Content.Values && (x.findOptions.fields = [p.Content.Formulas]), x.findOptions.reverse = !e;
|
|
32
|
-
const oe = await j({ autoFocus: F, ...x });
|
|
33
|
-
A(oe === 0);
|
|
34
|
-
}, [s, j]);
|
|
35
|
-
o.useEffect(() => {
|
|
36
|
-
A(!1);
|
|
37
|
-
}, [s, I, f]);
|
|
38
|
-
const q = P((e, n) => {
|
|
39
|
-
if (e.keyCode === le.Enter) {
|
|
40
|
-
if (!s.findOptions.text) return;
|
|
41
|
-
let t = !0, F = !1;
|
|
42
|
-
e.shiftKey && (t = !1), n ? (e.ctrlKey && e.altKey && (F = !0), N(e, F ? z.current : L.current)) : N(e, t ? $.current : W.current), S(t, n, F, !1);
|
|
43
|
-
}
|
|
44
|
-
}, [s]), Q = o.useRef(null);
|
|
45
|
-
o.useLayoutEffect(() => {
|
|
46
|
-
a((e) => {
|
|
47
|
-
const n = { ...e };
|
|
48
|
-
n.findOptions.text = c && c.length > 0 ? c : e.findOptions.text ?? "", T(!0), l !== void 0 && (n.replaceText = l), d && (n.findOptions = { ...n.findOptions, ...d }), n.replaceText || (n.replaceText = ""), n.replaceOptions && (n.replaceOptions = { ...n.replaceOptions }), C && (n.replaceOptions = { ...n.replaceOptions, ...C }), s.findOptions.fields?.[0] || (s.findOptions.fields = [p.Content.Formulas]);
|
|
49
|
-
const t = !(!C && l === void 0);
|
|
50
|
-
return t && D(t), n;
|
|
51
|
-
}), U || Q.current?.focus();
|
|
52
|
-
}, [c, l, d, C]), o.useEffect(() => {
|
|
53
|
-
f ? (s.findOptions.fields[0], p.Content.Values) : T(!0);
|
|
54
|
-
}, [f]), o.useEffect(() => {
|
|
55
|
-
if (V && r.current && s.findOptions.text === r.current.value) return r.current === document.activeElement || r.current.contains(document.activeElement) ? (r.current?.select(), void T(!1)) : void r.current.addEventListener("focus", () => {
|
|
56
|
-
r.current?.select(), T(!1);
|
|
57
|
-
}, { once: !0 });
|
|
58
|
-
}, [V, s]);
|
|
59
|
-
const [se, { width: X }] = re();
|
|
60
|
-
return i.jsx(ae, { ref: Q, title: w ?? (f ? "Find & Replace" : "Find"), initialPosition: { y: "35" }, autoFocusSel: ".input", onHide: E, onFocus: () => G(!0), onBlur: () => {
|
|
61
|
-
G(!1), A(!1);
|
|
62
|
-
}, slotProps: { paper: { elevation: U ? 3 : 1 } }, ...K, children: i.jsxs(ce, { dividers: !0, ref: se, 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) D(!0), r.current?.contains(document.activeElement) && u.current?.focus();
|
|
64
|
-
else if (e.key === "f" && e.ctrlKey) r.current?.focus();
|
|
65
|
-
else if (e.key === "c" && e.altKey) a((n) => {
|
|
66
|
-
const t = { ...n };
|
|
67
|
-
return t.findOptions.matchCase = !n.findOptions.matchCase, t;
|
|
68
|
-
});
|
|
69
|
-
else if (e.key === "e" && e.altKey) a((n) => {
|
|
70
|
-
const t = { ...n };
|
|
71
|
-
return t.findOptions.matchEntireCell = !n.findOptions.matchEntireCell, t;
|
|
72
|
-
});
|
|
73
|
-
else {
|
|
74
|
-
if (e.key !== "r" || !e.altKey) return;
|
|
75
|
-
a((n) => {
|
|
76
|
-
const t = { ...n };
|
|
77
|
-
return t.findOptions.useRegex = !n.findOptions.useRegex, t;
|
|
78
|
-
});
|
|
79
|
-
}
|
|
80
|
-
e.preventDefault();
|
|
81
|
-
}, children: [i.jsxs(O, { sx: { display: "flex", flexDirection: "row", gap: (e) => e.spacing(1) }, children: [i.jsxs(O, { sx: { display: "flex", flexDirection: "row", alignItems: "start", gap: (e) => e.spacing(0.25), paddingTop: "3px" }, children: [i.jsx(g, { selected: I, onSelectToggle: (e) => {
|
|
82
|
-
ie(e);
|
|
83
|
-
}, preventFocus: !0, label: "Toggle Additional Options", icon: i.jsx(m, { iconKey: "FindOptions" }) }), i.jsx(g, { selected: f, onSelectToggle: (e) => {
|
|
84
|
-
D(e);
|
|
85
|
-
}, preventFocus: !0, label: "Toggle Replace", icon: i.jsx(m, { iconKey: "FindReplaceToggle" }), shortcut: { key: f ? "F" : "H", modifiers: [y.Ctrl] } })] }), i.jsxs(O, { sx: { display: "flex", flexDirection: "column", maxWidth: "100%", boxSizing: "border-box" }, children: [i.jsxs(O, { sx: { display: "flex", flexDirection: "row", alignItems: "center" }, children: [i.jsx(Y, { label: "Find", slotProps: { input: { sx: { paddingRight: (e) => e.spacing(1), minWidth: X > 460 ? "20em" : void 0, backgroundImage: `linear-gradient(${b("#fff", v(5))}, ${b("#fff", v(5))})` }, endAdornment: i.jsx(pe, { position: "end", children: i.jsxs(O, { sx: { display: "flex", alignItems: "center", flexDirection: "row", gap: "2px" }, children: [i.jsx(g, { style: B, selected: s.findOptions.matchCase, onBlur: () => {
|
|
86
|
-
console.log("blur");
|
|
87
|
-
}, onSelectToggle: (e) => {
|
|
88
|
-
a((n) => {
|
|
89
|
-
const t = { ...n };
|
|
90
|
-
return t.findOptions.matchCase = e, t;
|
|
91
|
-
});
|
|
92
|
-
}, label: "Match Case", shortcut: { key: "C", modifiers: [y.Alt] }, icon: i.jsx(m, { iconKey: "FindCaseSensitive", size: "1rem" }) }), i.jsx(g, { style: B, selected: s.findOptions.matchEntireCell, onSelectToggle: (e) => {
|
|
93
|
-
a((n) => {
|
|
94
|
-
const t = { ...n };
|
|
95
|
-
return t.findOptions.matchEntireCell = e, t;
|
|
96
|
-
});
|
|
97
|
-
}, label: "Match Entire Cell", shortcut: { key: "E", modifiers: [y.Alt] }, icon: i.jsx(m, { iconKey: "FindWholeWord", size: "1rem" }) }), i.jsx(g, { style: B, selected: s.findOptions.useRegex, onSelectToggle: (e) => {
|
|
98
|
-
a((n) => {
|
|
99
|
-
const t = { ...n };
|
|
100
|
-
return t.findOptions.useRegex = e, t;
|
|
101
|
-
});
|
|
102
|
-
}, label: "Use Regular Expression", shortcut: { key: "R", modifiers: [y.Alt] }, icon: i.jsx(m, { iconKey: "FindRegEx", size: "1rem" }) })] }) }) }, inputLabel: { shrink: !0 }, htmlInput: { draggable: !1, ref: r, 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) => H ? `${e.palette.error.main} !important` : void 0 }, "& .MuiInputLabel-outlined": { color: (e) => H ? `${e.palette.error.main} !important` : void 0 } }, value: s.findOptions.text ?? "", onChange: (e) => {
|
|
103
|
-
a((n) => {
|
|
104
|
-
const t = { ...n };
|
|
105
|
-
return t.findOptions.text = e.target.value, t;
|
|
106
|
-
});
|
|
107
|
-
}, onKeyDown: (e) => q(e, !1), onContextMenu: (e) => {
|
|
108
|
-
e.stopPropagation();
|
|
109
|
-
} }), i.jsx(g, { selected: s.findOptions.reverse, onSelectToggle: (e) => {
|
|
110
|
-
S(!1, !1);
|
|
111
|
-
}, touchRippleRef: W, label: "", shortcut: { key: "Enter", modifiers: [y.Shift] }, icon: i.jsx(m, { iconKey: s.findOptions.orientation !== R.Orientation.Column ? "ArrowBack" : "ArrowUpward" }), disabled: !s.findOptions.text }), i.jsx(g, { selected: !s.findOptions.reverse, onSelectToggle: (e) => {
|
|
112
|
-
S(!0, !1);
|
|
113
|
-
}, touchRippleRef: $, label: "Next Match", shortcut: { key: "Enter" }, icon: i.jsx(m, { iconKey: s.findOptions.orientation !== R.Orientation.Column ? "ArrowForward" : "ArrowDownward" }), disabled: !s.findOptions.text })] }), i.jsx(Z, { in: f, timeout: _, onExit: () => {
|
|
114
|
-
r.current?.focus();
|
|
115
|
-
}, children: i.jsxs(O, { sx: { display: "flex", flexDirection: "row", alignItems: "center", marginTop: (e) => e.spacing(2) }, children: [i.jsx(Y, { label: "Replace", slotProps: { input: { sx: { paddingRight: (e) => e.spacing(1), backgroundImage: `linear-gradient(${b("#fff", v(5))}, ${b("#fff", v(5))})` } }, inputLabel: { shrink: !0 }, htmlInput: { ref: u, 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) => {
|
|
116
|
-
a((n) => {
|
|
117
|
-
const t = { ...n };
|
|
118
|
-
return t.replaceText = e.target.value, t;
|
|
119
|
-
});
|
|
120
|
-
}, onKeyDown: (e) => q(e, !0), onContextMenu: (e) => {
|
|
121
|
-
e.stopPropagation();
|
|
122
|
-
} }), i.jsx(g, { onSelectToggle: (e) => {
|
|
123
|
-
S(!0, !0);
|
|
124
|
-
}, touchRippleRef: L, label: "Replace", shortcut: { key: "Enter" }, icon: i.jsx(m, { iconKey: "FindReplace" }), disabled: !s.findOptions.text }), i.jsx(g, { onSelectToggle: (e) => {
|
|
125
|
-
S(!0, !0, !0);
|
|
126
|
-
}, touchRippleRef: z, label: "Replace All", shortcut: { key: "Enter", modifiers: [y.Ctrl, y.Alt] }, icon: i.jsx(m, { iconKey: "FindReplaceAll" }), disabled: !s.findOptions.text })] }) })] })] }), i.jsx(Z, { in: I, timeout: _, onExit: () => {
|
|
127
|
-
r.current?.focus();
|
|
128
|
-
}, children: i.jsxs(O, { 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(de, { orientation: "horizontal", sx: { marginBottom: (e) => e.spacing(1.5) } }), i.jsxs(O, { sx: { display: "flex", flexDirection: X >= 383 ? "row" : "column", justifyContent: "space-evenly", alignItems: "center", gap: (e) => e.spacing(1), rowGap: (e) => e.spacing(2) }, tabIndex: -1, children: [i.jsx(M, { label: "Within", value: s.scope, options: J, onSelect: (e) => {
|
|
129
|
-
a((n) => {
|
|
130
|
-
const t = { ...n };
|
|
131
|
-
return t.scope = e, t;
|
|
132
|
-
});
|
|
133
|
-
} }), i.jsx(M, { label: "Search", value: s.findOptions.orientation !== R.Orientation.Column, options: me, onSelect: (e) => {
|
|
134
|
-
a((n) => {
|
|
135
|
-
const t = { ...n };
|
|
136
|
-
return t.findOptions.orientation = e ? R.Orientation.Row : R.Orientation.Column, t;
|
|
137
|
-
});
|
|
138
|
-
} }), i.jsx(M, { label: "Look in", value: f && s.findOptions.fields?.[0] === p.Content.Values ? p.Content.Formulas : s.findOptions.fields?.[0], options: f ? te : ne, onSelect: (e) => {
|
|
139
|
-
a((n) => {
|
|
140
|
-
const t = { ...n };
|
|
141
|
-
return t.findOptions.fields = [e], t;
|
|
142
|
-
});
|
|
143
|
-
} })] })] }) })] }) });
|
|
144
|
-
});
|
|
145
|
-
export {
|
|
146
|
-
Oe as FindReplaceWindow,
|
|
147
|
-
J as ScopeOptions,
|
|
148
|
-
Oe as default
|
|
149
|
-
};
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { r as s, E as p, n as H, H as n, j as t, O as K, B as k, K as O, M as L, S as R, o as c, q as u, T as W, v as S, N as q } from "./wDUhRc6bsF_6jDRi.mjs";
|
|
2
|
-
/**
|
|
3
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.12
|
|
4
|
-
*
|
|
5
|
-
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
6
|
-
* License: The license can be found at https://www.sheetxl.com/license.
|
|
7
|
-
*/
|
|
8
|
-
const G = ["Ok", "Cancel"], J = s.memo((F) => {
|
|
9
|
-
const { initialValue: w, context: f, onOption: h, onValidateOption: d, onInputOption: C, onDone: m, options: b = G, defaultOption: r = b?.[0], cancelOption: g = "Cancel", sx: D, ...P } = F, [a, v] = s.useState(w), [$, M] = s.useState(!1), x = s.useCallback(async (e, o) => !0, []), y = p(async (e) => {
|
|
10
|
-
C?.(a, e), h?.(e, e === g, e === r), m?.();
|
|
11
|
-
}, [a, C, m, h, g, r]), N = p(async (e) => {
|
|
12
|
-
e.keyCode === H.Enter && await x?.(a, null) !== !1 && y(r);
|
|
13
|
-
}, [a, y]), I = p((e) => {
|
|
14
|
-
v(e.target.value), x?.(e.target.value, null);
|
|
15
|
-
}, [d]), V = p(async (e) => {
|
|
16
|
-
let o = await Promise.resolve(d?.(e));
|
|
17
|
-
try {
|
|
18
|
-
o !== !1 && (o = await Promise.resolve(x?.(a, e)) ?? !0);
|
|
19
|
-
} catch {
|
|
20
|
-
}
|
|
21
|
-
return o ?? !0;
|
|
22
|
-
}, [d]), [T, j] = s.useState(n.Styles.lookupStyle(a).formatType ?? n.Type.Custom);
|
|
23
|
-
s.useEffect(() => {
|
|
24
|
-
j(n.Styles.lookupStyle(a).formatType ?? n.Type.Custom);
|
|
25
|
-
}, [a]);
|
|
26
|
-
const B = s.useMemo(() => {
|
|
27
|
-
const e = n.Styles.lookupPrimary(), o = (i) => t.jsx(q, { value: i, children: i }, i), l = Object.keys(e).map((i) => o(e[i].formatType));
|
|
28
|
-
return l.push(o(n.Type.Custom)), l;
|
|
29
|
-
}, []), E = s.useCallback((e) => {
|
|
30
|
-
const o = e.target.value;
|
|
31
|
-
j(o);
|
|
32
|
-
const l = n.Styles.lookupDefault(o);
|
|
33
|
-
l && v(l);
|
|
34
|
-
}, []), z = s.useMemo(() => {
|
|
35
|
-
const e = f();
|
|
36
|
-
return e.createTemporaryCell({ value: e.getValue() ?? 12345, style: { numberFormat: a } });
|
|
37
|
-
}, [T, a, f]);
|
|
38
|
-
return t.jsx(K, { title: "Number Format", options: b, onDone: m, onOption: (e) => y(e), onValidateOption: V, defaultOption: r, cancelOption: g, autoFocusSel: ".autoFocus", sx: { width: "580px", ...D }, ...P, children: t.jsxs(k, { sx: { paddingTop: (e) => e.spacing(1), paddingBottom: (e) => e.spacing(0), rowGap: (e) => e.spacing(1), display: "flex", flexDirection: "column" }, children: [t.jsxs(O, { sx: { minWidth: 135 }, size: "small", children: [t.jsx(L, { children: "Category" }), t.jsx(R, { value: T, label: "Category", onChange: E, sx: { backgroundImage: `linear-gradient(${c("#fff", u(5))}, ${c("#fff", u(5))})` }, children: B })] }), t.jsx(O, { sx: { paddingTop: (e) => e.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: t.jsx(W, { label: "Code", onFocus: (e) => {
|
|
39
|
-
$ || e.target?.select(), M(!0);
|
|
40
|
-
}, sx: { "& .MuiFormHelperText-root": { marginTop: (e) => e.spacing(0.5) } }, slotProps: { inputLabel: { shrink: !0 }, htmlInput: { className: "autoFocus", spellCheck: !1, autoComplete: "off", sx: { paddingTop: (e) => e.spacing(1.25), paddingBottom: (e) => e.spacing(0.75), backgroundImage: `linear-gradient(${c("#fff", u(5))}, ${c("#fff", u(5))})` } } }, value: a, onChange: I, onKeyDown: N, onContextMenu: (e) => {
|
|
41
|
-
e.stopPropagation();
|
|
42
|
-
} }) }), t.jsxs(k, { children: [t.jsx(S, { variant: "caption", component: "div", sx: { paddingLeft: (e) => e.spacing(2) }, children: "Preview" }), t.jsx(S, { 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: z.getNumberFormat().displayText || "(empty)" })] })] }) });
|
|
43
|
-
});
|
|
44
|
-
export {
|
|
45
|
-
J as NumberFormatDialog,
|
|
46
|
-
J as default
|
|
47
|
-
};
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { r as s, E as u, j as l, O as I, B as M, K as P, T as S, o as h, q as C } from "./wDUhRc6bsF_6jDRi.mjs";
|
|
2
|
-
/**
|
|
3
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.12
|
|
4
|
-
*
|
|
5
|
-
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
6
|
-
* License: The license can be found at https://www.sheetxl.com/license.
|
|
7
|
-
*/
|
|
8
|
-
const V = ["Ok", "Cancel"], q = s.memo((O) => {
|
|
9
|
-
const { initialComments: T = null, onUpdateComments: m, context: j, onOption: d, onValidateOption: c, onDone: p, options: g = V, defaultOption: r = g?.[0], cancelOption: i = "Cancel", sx: k, ...w } = O, x = s.useMemo(() => {
|
|
10
|
-
const t = T ?? j?.()?.getComments();
|
|
11
|
-
let n = "";
|
|
12
|
-
if (t && t.content && t.content.runs) {
|
|
13
|
-
const a = t.content.runs;
|
|
14
|
-
for (let o = 0; o < a.length; o++) {
|
|
15
|
-
const E = a[o];
|
|
16
|
-
n += E?.text;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
return n;
|
|
20
|
-
}, []), [e, y] = s.useState(x), [F, b] = s.useState(!1), f = s.useCallback(async (t, n) => null, []), v = u(async (t) => {
|
|
21
|
-
const n = e === "" ? [] : e.split(`
|
|
22
|
-
`);
|
|
23
|
-
if (t !== i) {
|
|
24
|
-
const a = [];
|
|
25
|
-
for (let o = 0; o < n.length; o++) a.push({ text: n[o] });
|
|
26
|
-
m?.({ content: { runs: a } });
|
|
27
|
-
}
|
|
28
|
-
d?.(t, t === i, t === r), p?.();
|
|
29
|
-
}, [e, m, p, d, r, i]), D = u((t) => {
|
|
30
|
-
y(t.target.value), f(t.target.value, null);
|
|
31
|
-
}, [c]), B = u(async (t) => {
|
|
32
|
-
let n = await Promise.resolve(c?.(t));
|
|
33
|
-
try {
|
|
34
|
-
n !== !1 && (n = await f(e, t));
|
|
35
|
-
} catch {
|
|
36
|
-
}
|
|
37
|
-
return n ?? !0;
|
|
38
|
-
}, [c, e]);
|
|
39
|
-
return l.jsx(I, { title: (x ? "Edit" : "Insert") + " Comments", options: g, onDone: p, onOption: (t) => v(t), onValidateOption: B, defaultOption: r, cancelOption: i, autoFocusSel: ".autoFocus", sx: { width: "480px", ...k }, ...w, children: l.jsx(M, { sx: { paddingTop: (t) => t.spacing(1), paddingBottom: (t) => t.spacing(0), rowGap: (t) => t.spacing(1), display: "flex", flexDirection: "column" }, children: l.jsx(P, { sx: { paddingTop: (t) => t.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: l.jsx(S, { label: "Comments", placeholder: "Enter a comment.", onFocus: (t) => {
|
|
40
|
-
F || t.target?.select(), b(!0);
|
|
41
|
-
}, sx: { "& .MuiFormHelperText-root": { marginTop: (t) => t.spacing(0.5) } }, slotProps: { inputLabel: { shrink: !0 }, htmlInput: { className: "autoFocus", spellCheck: !1, autoComplete: "off", sx: { paddingTop: (t) => t.spacing(1.25), paddingBottom: (t) => t.spacing(0.75), backgroundImage: `linear-gradient(${h("#fff", C(5))}, ${h("#fff", C(5))})` } } }, value: e, onChange: D, onContextMenu: (t) => {
|
|
42
|
-
t.stopPropagation();
|
|
43
|
-
} }) }) }) });
|
|
44
|
-
});
|
|
45
|
-
export {
|
|
46
|
-
q as CommentsDialog,
|
|
47
|
-
q as default
|
|
48
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { r as a, E as D, j as n, O as N, B as S, _ as T, F as k, C as w } from "./wDUhRc6bsF_6jDRi.mjs";
|
|
2
|
-
/**
|
|
3
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.12
|
|
4
|
-
*
|
|
5
|
-
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
6
|
-
* License: The license can be found at https://www.sheetxl.com/license.
|
|
7
|
-
*/
|
|
8
|
-
const F = ["Ok", "Cancel"], B = a.memo((g) => {
|
|
9
|
-
const { tableOptions: t, context: c, onOption: p, onValidateOption: v, onDone: r, options: d = F, defaultOption: o = d?.[0], cancelOption: l = "Cancel", sx: x, ...m } = g, [O, h] = a.useState(!1), [s, b] = a.useState(() => t?.hasHeader ?? !1), [i, f] = a.useState(() => t?.ranges ?? null), j = D((e) => {
|
|
10
|
-
const u = { ...t, hasHeader: s, ranges: i };
|
|
11
|
-
p?.(e, e === l, e === o), r?.({ option: e, tableOptions: u });
|
|
12
|
-
}, [r, p, o, l, s, i, t]), C = a.useCallback(async (e, u) => null, []);
|
|
13
|
-
return n.jsx(N, { title: "Insert Table", options: d, onDone: j, onValidateOption: C, defaultOption: o, cancelOption: l, autoFocusSel: ".range-input input", sx: { width: "360px", ...x }, ...m, children: n.jsxs(S, { sx: { paddingTop: (e) => e.spacing(1), paddingBottom: (e) => e.spacing(0), rowGap: (e) => e.spacing(1), display: "flex", flexDirection: "column" }, children: [n.jsx(T, { formName: "range", value: i, onChangeInput: (e) => f(e), resolvedAddress: c.getNames().getRanges.bind(c.getNames()), onFocus: (e) => {
|
|
14
|
-
O || e.target?.select(), h(!0);
|
|
15
|
-
} }), n.jsx(k, { control: n.jsx(w, { checked: s, onChange: () => b(!s) }), label: "Table has headers", labelPlacement: "end" })] }) });
|
|
16
|
-
});
|
|
17
|
-
export {
|
|
18
|
-
B as TableNewDialog,
|
|
19
|
-
B as default
|
|
20
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { a } from "./BKyX0kH_WAVGO7fi.js";
|
|
2
|
-
import { r as n } from "./_PvCIesF9faJSoze.js";
|
|
3
|
-
import { Y as D, $ as N, B as S, ab as T, E as k, G as w } from "./C9DfE6akF0Zo9WEe.js";
|
|
4
|
-
/**
|
|
5
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.12
|
|
6
|
-
*
|
|
7
|
-
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
8
|
-
* License: The license can be found at https://www.sheetxl.com/license.
|
|
9
|
-
*/
|
|
10
|
-
const v = ["Ok", "Cancel"], H = n.memo((g) => {
|
|
11
|
-
const { tableOptions: t, context: p, onOption: r, onValidateOption: y, onDone: c, options: d = v, defaultOption: s = d?.[0], cancelOption: l = "Cancel", sx: m, ...x } = g, [b, h] = n.useState(!1), [o, O] = n.useState(() => t?.hasHeader ?? !1), [i, f] = n.useState(() => t?.ranges ?? null), j = D((e) => {
|
|
12
|
-
const u = { ...t, hasHeader: o, ranges: i };
|
|
13
|
-
r?.(e, e === l, e === s), c?.({ option: e, tableOptions: u });
|
|
14
|
-
}, [c, r, s, l, o, i, t]), C = n.useCallback(async (e, u) => null, []);
|
|
15
|
-
return a.jsx(N, { title: "Insert Table", options: d, onDone: j, onValidateOption: C, defaultOption: s, cancelOption: l, autoFocusSel: ".range-input input", sx: { width: "360px", ...m }, ...x, children: a.jsxs(S, { sx: { paddingTop: (e) => e.spacing(1), paddingBottom: (e) => e.spacing(0), rowGap: (e) => e.spacing(1), display: "flex", flexDirection: "column" }, children: [a.jsx(T, { formName: "range", value: i, onChangeInput: (e) => f(e), resolvedAddress: p.getNames().getRanges.bind(p.getNames()), onFocus: (e) => {
|
|
16
|
-
b || e.target?.select(), h(!0);
|
|
17
|
-
} }), a.jsx(k, { control: a.jsx(w, { checked: o, onChange: () => O(!o) }), label: "Table has headers", labelPlacement: "end" })] }) });
|
|
18
|
-
});
|
|
19
|
-
export {
|
|
20
|
-
H as TableNewDialog,
|
|
21
|
-
H as default
|
|
22
|
-
};
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { a as s } from "./BKyX0kH_WAVGO7fi.js";
|
|
2
|
-
import { r as a } from "./_PvCIesF9faJSoze.js";
|
|
3
|
-
import { Y as m, $ as L, B as W, a1 as b, T as O, x as p, C as r } from "./C9DfE6akF0Zo9WEe.js";
|
|
4
|
-
/**
|
|
5
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.12
|
|
6
|
-
*
|
|
7
|
-
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
8
|
-
* License: The license can be found at https://www.sheetxl.com/license.
|
|
9
|
-
*/
|
|
10
|
-
const z = ["Ok", "Cancel"], V = a.memo((D) => {
|
|
11
|
-
const { initialHyperlink: o = null, initialDisplay: F = null, onUpdateHyperlink: x, context: l, onOption: f, onValidateOption: d, onDone: c, options: h = z, defaultOption: u = h?.[0], cancelOption: i = "Cancel", sx: H, ...j } = D, v = a.useMemo(() => (o ?? l?.()?.getHyperlink()) !== null, []), k = a.useMemo(() => {
|
|
12
|
-
let t = null, n = null;
|
|
13
|
-
o && (typeof o == "string" ? n = o : t = o);
|
|
14
|
-
const C = t ?? l?.()?.getHyperlink();
|
|
15
|
-
return { address: n ?? C?.getAddress() ?? "", textToDisplay: C?.getDisplayText() ?? "" };
|
|
16
|
-
}, [o, l]), [e, w] = a.useState(k.address), [g, M] = a.useState(() => {
|
|
17
|
-
const t = l?.().toTextUnformatted() ?? F;
|
|
18
|
-
return t === k.address ? "" : t;
|
|
19
|
-
}), [I, y] = a.useState(!1), P = a.useCallback((t) => {
|
|
20
|
-
M(t.target.value);
|
|
21
|
-
}, []), T = a.useCallback(async (t, n) => null, []), $ = m(async (t) => {
|
|
22
|
-
t !== i && x?.(e === "" ? null : { address: e }, g), f?.(t, t === i, t === u), c?.();
|
|
23
|
-
}, [e, g, x, c, f, u, i]), B = m((t) => {
|
|
24
|
-
w(t.target.value), T(t.target.value, null);
|
|
25
|
-
}, [d]), S = m(async (t) => {
|
|
26
|
-
let n = await Promise.resolve(d?.(t));
|
|
27
|
-
try {
|
|
28
|
-
n !== !1 && (n = await T(e, t));
|
|
29
|
-
} catch {
|
|
30
|
-
}
|
|
31
|
-
return n ?? !0;
|
|
32
|
-
}, [d]);
|
|
33
|
-
return s.jsx(L, { title: (v ? "Edit" : "Insert") + " Link", options: h, onDone: c, onOption: (t) => $(t), onValidateOption: S, defaultOption: u, cancelOption: i, autoFocusSel: ".autoFocus", sx: { width: "480px", ...H }, ...j, children: s.jsxs(W, { sx: { paddingTop: (t) => t.spacing(1), paddingBottom: (t) => t.spacing(0), rowGap: (t) => t.spacing(1), display: "flex", flexDirection: "column" }, children: [s.jsx(b, { sx: { paddingTop: (t) => t.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: s.jsx(O, { label: "Address", placeholder: "Enter a url or cell reference.", onFocus: (t) => {
|
|
34
|
-
I || t.target?.select(), y(!0);
|
|
35
|
-
}, sx: { "& .MuiFormHelperText-root": { marginTop: (t) => t.spacing(0.5) } }, slotProps: { inputLabel: { shrink: !0 }, htmlInput: { className: "autoFocus", spellCheck: !1, autoComplete: "off", sx: { paddingTop: (t) => t.spacing(1.25), paddingBottom: (t) => t.spacing(0.75), backgroundImage: `linear-gradient(${p("#fff", r(5))}, ${p("#fff", r(5))})` } } }, value: e, onChange: B, onContextMenu: (t) => {
|
|
36
|
-
t.stopPropagation();
|
|
37
|
-
} }) }), s.jsx(b, { sx: { paddingTop: (t) => t.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: s.jsx(O, { label: "Display Text", placeholder: e?.startsWith("#") ? e.substring(1) : e, onFocus: () => {
|
|
38
|
-
y(!0);
|
|
39
|
-
}, sx: { "& .MuiFormHelperText-root": { marginTop: (t) => t.spacing(0.5) } }, slotProps: { inputLabel: { shrink: !0 }, htmlInput: { spellCheck: !1, autoComplete: "off", sx: { paddingTop: (t) => t.spacing(1.25), paddingBottom: (t) => t.spacing(0.75), backgroundImage: `linear-gradient(${p("#fff", r(5))}, ${p("#fff", r(5))})` } } }, value: g, onChange: P, onContextMenu: (t) => {
|
|
40
|
-
t.stopPropagation();
|
|
41
|
-
} }) })] }) });
|
|
42
|
-
});
|
|
43
|
-
export {
|
|
44
|
-
V as HyperlinkDialog,
|
|
45
|
-
V as default
|
|
46
|
-
};
|