@sheetxl/studio-vanilla 0.7.12 → 0.7.14
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/{DsKkPzoF71-VUnpf.cjs → 1jJv0Uy8nE0lVuOR.cjs} +2 -2
- package/browser/cjs/{BkDh5Rqo7kOlAX0M.cjs → 3RHohFdZnp-tnHnQ.cjs} +1 -1
- package/browser/cjs/{x3NnXcxSTXEjFeTN.cjs → 4pIUUo6x2IcLMWgL.cjs} +4 -4
- package/browser/cjs/{FzJixsuPJrCxTaat.cjs → B-WXh2JAjRJjI0WO.cjs} +5 -5
- package/browser/cjs/{DFJg1OGio65VZQG9.cjs → B0vLLDq8FEKXz9J7.cjs} +1 -1
- package/browser/cjs/{DH34jRpKaelnDwxU.cjs → B2ti_bqOA_uoXprW.cjs} +2 -2
- package/browser/cjs/B6tyUYxp7mGUmJtj.cjs +6 -0
- package/browser/cjs/{DF5KgNfi6dfPNQbk.cjs → BB3QD1eTzAHZLQ_j.cjs} +2 -2
- package/browser/cjs/BBipOTwdUzMFdLWo.cjs +14 -0
- package/browser/cjs/{B_VQ0U95ZMbsnR7s.cjs → BCDvaZnNiwmgjyGD.cjs} +1 -1
- package/browser/cjs/{BXkx2qmjbBuf-OfY.cjs → BD5UniSp89JrtDJ-.cjs} +1 -1
- package/browser/cjs/BEO5-XD5eIo7h-E5.cjs +6 -0
- package/browser/cjs/{BI714x1jMThRIORY.cjs → BMM5hLq6jh82PC1B.cjs} +1 -1
- package/browser/cjs/{DnZxQWS6JaVBw4sA.cjs → BRDBGYXrMp8PYGkR.cjs} +1 -1
- package/browser/cjs/{B8PHm63b2xqKUaAr.cjs → BRtv_KifPuxFor3w.cjs} +1 -1
- package/browser/cjs/{DSK2hYo6CuCiQlHS.cjs → BbQwb_30eplbWsbA.cjs} +1 -1
- package/browser/cjs/{BBHohM4jM3WCxtB0.cjs → BdiVQiRv1E21ZArs.cjs} +1 -1
- package/browser/cjs/{BiCTAaMJ2X498d8V.cjs → BdzjkKve8gAB86Uj.cjs} +2 -2
- package/browser/cjs/BfJN53J4YGEeOgbP.cjs +327 -0
- package/browser/cjs/{C7AgRQtZMBWMiQlm.cjs → BhCaAYHP8vA9gQxH.cjs} +1 -1
- package/browser/cjs/{DgEw0SckE0e7XrCn.cjs → BnL90OQN0cZcsbfW.cjs} +1 -1
- package/browser/cjs/{DSAXsZVWwo86AMBt.cjs → BogySKyFbKCbVBVd.cjs} +1 -1
- package/browser/cjs/{DhmKxGAdouAuVIXE.cjs → BrICHCUfdTxSIMtE.cjs} +7 -7
- package/browser/cjs/{DNjA6vCUVS7yPJUI.cjs → BtV8BVPv6Xc-A8CF.cjs} +1 -1
- package/browser/cjs/{BcBVJbcAjpcrzNAh.cjs → BzWz72Sq5MBZyqAI.cjs} +1 -1
- package/browser/cjs/{CDqp6ACNbqy35-Of.cjs → C0ZyKfOYRVoyfym5.cjs} +2 -2
- package/browser/cjs/C5puR2LNbxBJsaN0.cjs +6 -0
- package/browser/cjs/CFTouiJmhULrpKhh.cjs +6 -0
- package/browser/cjs/{gYytqdps4gjA1VsE.cjs → CJtkWiiRfUNZRUN0.cjs} +1 -1
- package/browser/cjs/{BILxgU8Lfzqz3Pe6.cjs → CMIwncA8prkYK_E6.cjs} +4 -4
- package/browser/cjs/{Cj38w-zbyh7fXSNd.cjs → CMeIfqv2YYf_TTYp.cjs} +3 -3
- package/browser/cjs/{BVZbuK9wj-1TvKiL.cjs → CMq1jgDQQufnBL2U.cjs} +1 -1
- package/browser/cjs/{ZdjzaqWoTWmCDBig.cjs → CmU3oE1WLXdo25vk.cjs} +1 -1
- package/browser/cjs/{BwOzrku6Vh67K7-3.cjs → CnQi21B1Mv40fTOU.cjs} +1 -1
- package/browser/cjs/{iP07Mt-ickoft35-.cjs → Ct6-97tw9fobzjIs.cjs} +4 -4
- package/browser/cjs/Ctn5WDY-b4v3hB1L.cjs +7 -0
- package/browser/cjs/{CG7zTcyLrI68-hTA.cjs → D1HeCzAzbD60IBkI.cjs} +1 -1
- package/browser/cjs/{zLzX2-m-bUHwu6Cw.cjs → D4C74p8PpomkRKu6.cjs} +1 -1
- package/browser/cjs/D6PdYxZ0oBGv6NfI.cjs +6 -0
- package/browser/cjs/{BY_GbYgR1xVu8F__.cjs → D9lMqBR-f6XPWrib.cjs} +1 -1
- package/browser/cjs/{-WXA4Et_-9v49fjs.cjs → DBpA_zE_R_UZDlpM.cjs} +1 -1
- package/browser/cjs/{FeaOKhVJk2vkwrnH.cjs → DSYE_KIcTNSwmKdv.cjs} +1 -1
- package/browser/cjs/{BpAWICr1CnCC62Uv.cjs → DVxjg-4VQtigUluP.cjs} +1 -1
- package/browser/cjs/DXQMgjo7lcwZYFX2.cjs +6 -0
- package/browser/cjs/{Dceo-7oI-sHtzHEv.cjs → DXl0haNneryEK6CR.cjs} +1 -1
- package/browser/cjs/{-eO7sjRuicaz5SOU.cjs → DY6lci8jdWWIImHy.cjs} +2 -2
- package/browser/cjs/{KbASdjHOq7skv139.cjs → DbqLeDOitF6ILDa7.cjs} +3 -3
- package/browser/cjs/{5PNqwS5YixSaH3u8.cjs → DbrquWbFuU282NmE.cjs} +1 -1
- package/browser/cjs/{CssmbzpAamqgPAiM.cjs → DeI-ejq9HP8qLnEH.cjs} +1 -1
- package/browser/cjs/Dj_Tdonuonlq0fyv.cjs +6 -0
- package/browser/cjs/{CEpfRK6JTZl-4bao.cjs → DrnlMk-KMLFl58Qw.cjs} +2 -2
- package/browser/cjs/{BNYK_bT3TYIc--Zy.cjs → DtvLRc45G99ke0NP.cjs} +2 -2
- package/browser/cjs/{BKlh3z_2ma4ipYc9.cjs → E4I3Er66WWfAXNIH.cjs} +1 -1
- package/browser/cjs/LfyNV0almTkuxbiN.cjs +6 -0
- package/browser/cjs/{K9KhmXiKiLE2Geqa.cjs → MhSEkk8Fg3SNOGrB.cjs} +1 -1
- package/browser/cjs/{BnKRMb3LlkISj6Mp.cjs → cYhakzCkT657LO5N.cjs} +2 -2
- package/browser/cjs/{Dj4GC-6Ncby70fHf.cjs → eRpJVecTObVGLkh0.cjs} +1 -1
- package/browser/cjs/index.cjs +2 -2
- package/browser/cjs/{w_73GSBsYNeb5giz.cjs → xn3YtUSva5RgMOk0.cjs} +1 -1
- package/{cdn/assets/BFcyZ5xL_Gz6upAf.js → browser/esm/57EZpYfRBpMe29CP.mjs} +1 -1
- package/{cdn/assets/GYSIfiBDb6pRfe9Q.js → browser/esm/9J60WNBHi5IvIgX6.mjs} +1 -1
- package/browser/esm/{CBpLpxNdN-gOJeks.mjs → 9OyzoVfekQsch1Hq.mjs} +1 -1
- package/browser/esm/B7AEsIf0e6MxoFku.mjs +41 -0
- package/browser/esm/{CmcfAjz5K3jCgHyf.mjs → B7di0uA_O9s-v4Eu.mjs} +1 -1
- package/{cdn/assets/hpIoZ1o55_I3NhdQ.js → browser/esm/BBSboPWI0J-2SvId.mjs} +1 -1
- package/browser/esm/BEPUVj0efktuTViE.mjs +45 -0
- package/{cdn/assets/DN8YrzhNd5eYpWmn.js → browser/esm/BGsfZYf1R-XLEVbS.mjs} +9 -11
- package/{cdn/assets/BK0IEnleNOxNepsj.js → browser/esm/BJTB-imVQ7hxww5y.mjs} +16 -16
- package/browser/esm/{CR-v0xYa9m7miVZF.mjs → BQUaNqYJE_iCw_ru.mjs} +3 -3
- package/browser/esm/{BfR7E2rs7QvAOzBJ.mjs → BSAVQUcwULxSoNyG.mjs} +2 -2
- package/browser/esm/{UoQN8GYDM7JwoPwp.mjs → BUzBhax-uEg6-CXp.mjs} +3 -3
- package/browser/esm/{BnxY0K8gj6QMqWlW.mjs → BV-sYWqEC2KCF_QY.mjs} +14 -14
- package/browser/esm/{2KA4SUyQY4CiroNI.mjs → BWLK5vmBwRyILNYt.mjs} +1 -1
- package/browser/esm/BZC2xEr-DbUMbY87.mjs +7037 -0
- package/browser/esm/{B9oU5FN3KGRta18S.mjs → Ba1zh3akSt0fQkHm.mjs} +1 -1
- package/{cdn/assets/D8cI18n7IWp6YpTn.js → browser/esm/BpwE7f2klmkLmnYf.mjs} +1 -1
- package/browser/esm/Bv5SBRGhnAygQVot.mjs +48 -0
- package/browser/esm/{7vidm7P8mD5AgWHD.mjs → C-M0P0V7Uss7d9o8.mjs} +1 -1
- package/{cdn/assets/SnTxli2g2yAGIq3k.js → browser/esm/C0GgYOhtV966xhX5.mjs} +1 -1
- package/browser/esm/{DW2CrHQsmGML6Co6.mjs → C3nTv_wqH-iblKvl.mjs} +2 -2
- package/{cdn/assets/CEUO-HJYVCMrKsAq.js → browser/esm/C7aszRw_m7LWyqOn.mjs} +1 -1
- package/browser/esm/C7tlkphtuo7TRpn3.mjs +20 -0
- package/browser/esm/{Ct_o0achkchPWNVu.mjs → C9lS1Fnuj3Vmmj4f.mjs} +1 -1
- package/browser/esm/{Qr9SlNew1Ed0JFqx.mjs → CCasMtKNuNwe_OKZ.mjs} +9 -9
- package/browser/esm/{DpHn2gevYwVaEwG7.mjs → CJQ7PWDyr7WGneMy.mjs} +2 -2
- package/{cdn/assets/J_LzSBBNL6FU8Aog.js → browser/esm/CQtjyNDvtAWQkpLL.mjs} +1 -1
- package/{cdn/assets/B4NaB1r6l-BHNrim.js → browser/esm/CRnE8HFKD6wK70HU.mjs} +1 -1
- package/{cdn/assets/BJtjWc1koVtP4Juw.js → browser/esm/Cd6ji6056DlTXuGL.mjs} +1 -1
- package/browser/esm/ClaqPeGSpyjpfe88.mjs +39 -0
- package/browser/esm/{CI9vPgUsBCm36P6h.mjs → CyQW-xhyQUkzrLGj.mjs} +4 -4
- package/browser/esm/{CC4wFVxbBsaxiQz_.mjs → D-WFRQ-qHhbOCSxd.mjs} +1 -1
- package/{cdn/assets/CtRZTrFnLAeDwHY2.js → browser/esm/D1l8RX40SIKY5Z1W.mjs} +1 -1
- package/browser/esm/{BAEJqCVfxkqEgvw_.mjs → D64jA_HKM-kP32_L.mjs} +2 -2
- package/browser/esm/{TKxXzc5KOsPDGQVN.mjs → D7IwmPqIHUoa06Oo.mjs} +4 -4
- package/browser/esm/{C8BoiCRcJBCVaIba.mjs → DE_DWCRitiSKzTid.mjs} +1 -1
- package/browser/esm/{rzGjNqCuXRzv3JfI.mjs → DF6YTfbnn5czRJ4u.mjs} +2 -2
- package/browser/esm/{BF64lzrtcnldqRg1.mjs → DHqs3W-Rupm0VzyX.mjs} +40 -40
- package/{cdn/assets/DdMliHQw08nLDsr6.js → browser/esm/DJfQ6MLgOP4uetXp.mjs} +1 -1
- package/browser/esm/DKExHo2VKePAX7iJ.mjs +44 -0
- package/browser/esm/DM1SZhnV27FtKw4_.mjs +147 -0
- package/browser/esm/{CQWdgrkqBGjt7vj2.mjs → DNCvTyWYm4gMTygE.mjs} +1 -1
- package/browser/esm/DQB2ws7Gn0N83X3i.mjs +48 -0
- package/browser/esm/{BedUctChrhSB3He2.mjs → DXXaj-Ky-ZVqrbkC.mjs} +1 -1
- package/browser/esm/{B28l7g4RZ6fLgxcS.mjs → DZQ6iXJc0DUPpyNz.mjs} +1 -1
- package/browser/esm/{GfbD5mbiIAOrin_i.mjs → DeK9jYb4_7t6I3nz.mjs} +2 -2
- package/browser/esm/{wDUhRc6bsF_6jDRi.mjs → Dhup4s-nP4gWhSxb.mjs} +17849 -17597
- package/browser/esm/{hVCg0fMvy7e1Spzw.mjs → DlrU5yxUQqjhesRy.mjs} +2 -2
- package/{cdn/assets/DHAE-pOUCYJU7yTn.js → browser/esm/DtgZ2F0tUi5YKnGW.mjs} +1 -1
- package/browser/esm/{bThVA-td1KT-UJ5b.mjs → J4toCVmHnM5blovw.mjs} +1 -1
- package/{cdn/assets/DfTjDm3Tk_sDOmjE.js → browser/esm/XuOmO6bErflzzqq8.mjs} +1 -1
- package/{cdn/assets/D6XLDdPiq53er9r-.js → browser/esm/auU1bddsYfD8xzjv.mjs} +1 -1
- package/{cdn/assets/B9oDtEH2TI9-Y7PO.js → browser/esm/bTU9niETOr6bKuzR.mjs} +1 -1
- package/browser/esm/index.mjs +3 -3
- package/{cdn/assets/D2q9JXFOMpNTZeVJ.js → browser/esm/pp5FyQrYp_NueiYE.mjs} +1 -1
- package/{cdn/assets/kmf90coXVVBT-dB7.js → browser/esm/rct-3pDYxwMHrR5z.mjs} +1 -1
- package/{cdn/assets/CBqOojBrpJdc7YAD.js → browser/esm/tKK7AoN9hX_3jbBs.mjs} +1 -1
- package/{cdn/assets/CLRO4_cCVLzgtqqe.js → browser/esm/tkeYEqjTlgamlCd2.mjs} +1 -1
- package/browser/esm/{BQfRBXWzPfctrYpS.mjs → xEwYmDMrrWhthxIw.mjs} +6 -6
- package/{browser/esm/BFcyZ5xL_Gz6upAf.mjs → cdn/assets/57EZpYfRBpMe29CP.js} +1 -1
- package/cdn/assets/6PLhnvG4y4mQpmjE.js +22 -0
- package/{browser/esm/GYSIfiBDb6pRfe9Q.mjs → cdn/assets/9J60WNBHi5IvIgX6.js} +1 -1
- package/cdn/assets/{CBpLpxNdN-gOJeks.js → 9OyzoVfekQsch1Hq.js} +1 -1
- package/cdn/assets/{CEbGM0dIarYwvdnw.js → B3kbsADbUpdiIeeE.js} +5 -5
- package/cdn/assets/{C9DfE6akF0Zo9WEe.js → B6uUXJu7huCyWQ4E.js} +17555 -17303
- package/cdn/assets/{CmcfAjz5K3jCgHyf.js → B7di0uA_O9s-v4Eu.js} +1 -1
- package/{browser/esm/hpIoZ1o55_I3NhdQ.mjs → cdn/assets/BBSboPWI0J-2SvId.js} +1 -1
- package/cdn/assets/{BzKuiEhSmWlcwfhu.js → BT6Vf1piAxvq50ku.js} +10 -10
- package/cdn/assets/{2KA4SUyQY4CiroNI.js → BWLK5vmBwRyILNYt.js} +1 -1
- package/cdn/assets/B_f9asOzAWhl5U1s.js +47 -0
- package/cdn/assets/{B9oU5FN3KGRta18S.js → Ba1zh3akSt0fQkHm.js} +1 -1
- package/cdn/assets/{Byae8cdz7wTbULBr.js → BdOdbpPzElLNO3z8.js} +3 -3
- package/cdn/assets/{D2Kt-mtUwRVsi0Oa.js → Bf6Hh69fBobfajs0.js} +2 -2
- package/cdn/assets/{RqeH9v_zEigLqiWd.js → Bj4nr2Le9r_oLr10.js} +3 -3
- package/cdn/assets/Bn_7efhRuRJAgANc.js +41 -0
- package/{browser/esm/D8cI18n7IWp6YpTn.mjs → cdn/assets/BpwE7f2klmkLmnYf.js} +1 -1
- package/cdn/assets/BsxipUn0hXFqurDn.js +149 -0
- package/cdn/assets/{7vidm7P8mD5AgWHD.js → C-M0P0V7Uss7d9o8.js} +1 -1
- package/{browser/esm/SnTxli2g2yAGIq3k.mjs → cdn/assets/C0GgYOhtV966xhX5.js} +1 -1
- package/cdn/assets/{BmAMp17QyspHuJZS.js → C1sGBdhRG6F-Z-zp.js} +2 -2
- package/{browser/esm/CEUO-HJYVCMrKsAq.mjs → cdn/assets/C7aszRw_m7LWyqOn.js} +1 -1
- package/cdn/assets/{Ct_o0achkchPWNVu.js → C9lS1Fnuj3Vmmj4f.js} +1 -1
- package/cdn/assets/CCM87xtOB_cZoV79.js +23 -0
- package/cdn/assets/{b4OHehsJx7Wb6-J_.js → CGO5lp8V5G6RxvPE.js} +4 -4
- package/{browser/esm/J_LzSBBNL6FU8Aog.mjs → cdn/assets/CQtjyNDvtAWQkpLL.js} +1 -1
- package/{browser/esm/B4NaB1r6l-BHNrim.mjs → cdn/assets/CRnE8HFKD6wK70HU.js} +1 -1
- package/cdn/assets/{DrvuO_vvGwhKt4Sj.js → CVP5AGs4NNyE0HRI.js} +6 -6
- package/cdn/assets/{BVyp60hpb5srkV6g.js → CWVuEUfo6_DnkSxL.js} +2 -2
- package/cdn/assets/{0eFan4CfEnron04i.js → C_Ceeoedzw7KdUkS.js} +2 -2
- package/{browser/esm/BJtjWc1koVtP4Juw.mjs → cdn/assets/Cd6ji6056DlTXuGL.js} +1 -1
- package/cdn/assets/{BSSoKfrU1JGV6k9f.js → CiMysIeMZLGsh0X6.js} +3 -3
- package/cdn/assets/{_PvCIesF9faJSoze.js → CmDfPG6iRMa375VI.js} +3 -3
- package/{browser/esm/UcgTvDHyRekFpsYj.mjs → cdn/assets/CvVMdsNOOq3SOgpy.js} +22 -22
- package/cdn/assets/{CC4wFVxbBsaxiQz_.js → D-WFRQ-qHhbOCSxd.js} +1 -1
- package/{browser/esm/CtRZTrFnLAeDwHY2.mjs → cdn/assets/D1l8RX40SIKY5Z1W.js} +1 -1
- package/cdn/assets/{Dcr8CLd9gTsctsoA.js → D9sLFSc6wx3iylMB.js} +4 -4
- package/cdn/assets/{C24mKRMxk8iYiXpU.js → DA2M-Nukgn7BKAFV.js} +3 -3
- package/cdn/assets/{C8BoiCRcJBCVaIba.js → DE_DWCRitiSKzTid.js} +1 -1
- package/cdn/assets/{CQsks4AC15bxhorR.js → DEem43orB5q4eGvD.js} +1 -1
- package/{browser/esm/DdMliHQw08nLDsr6.mjs → cdn/assets/DJfQ6MLgOP4uetXp.js} +1 -1
- package/cdn/assets/{BqZb-60_07MPXnEK.js → DMnjOblN7R_exK0W.js} +3 -3
- package/cdn/assets/{CQWdgrkqBGjt7vj2.js → DNCvTyWYm4gMTygE.js} +1 -1
- package/cdn/assets/DUBvO52xJ47wPxmU.js +50 -0
- package/cdn/assets/DX3CwcKk5BkK9z0c.js +6716 -0
- package/cdn/assets/{BedUctChrhSB3He2.js → DXXaj-Ky-ZVqrbkC.js} +1 -1
- package/cdn/assets/{B28l7g4RZ6fLgxcS.js → DZQ6iXJc0DUPpyNz.js} +1 -1
- package/cdn/assets/Dlan7YDQb-XIMe3a.js +43 -0
- package/{browser/esm/DHAE-pOUCYJU7yTn.mjs → cdn/assets/DtgZ2F0tUi5YKnGW.js} +1 -1
- package/cdn/assets/{cPNsbWLeb1l7_cpY.js → DvtnF2-eIjsGD6Rl.js} +2 -2
- package/cdn/assets/{bThVA-td1KT-UJ5b.js → J4toCVmHnM5blovw.js} +1 -1
- package/cdn/assets/{BKyX0kH_WAVGO7fi.js → Ox6wHfmayntm2bOM.js} +2 -2
- package/cdn/assets/RxC3TggGCriNaSIq.js +46 -0
- package/cdn/assets/X1Ke_NjZffF94UZa.js +243 -0
- package/{browser/esm/DfTjDm3Tk_sDOmjE.mjs → cdn/assets/XuOmO6bErflzzqq8.js} +1 -1
- package/{browser/esm/D6XLDdPiq53er9r-.mjs → cdn/assets/auU1bddsYfD8xzjv.js} +1 -1
- package/{browser/esm/B9oDtEH2TI9-Y7PO.mjs → cdn/assets/bTU9niETOr6bKuzR.js} +1 -1
- package/cdn/assets/{C3_Zv6bwbMWgoJjM.js → ltLeD5icvW8GUKi-.js} +4 -4
- package/cdn/assets/{SZN9NKkFV4elc84O.js → odfHgRZ3SEi0Ka3c.js} +2 -2
- package/{browser/esm/D2q9JXFOMpNTZeVJ.mjs → cdn/assets/pp5FyQrYp_NueiYE.js} +1 -1
- package/{browser/esm/kmf90coXVVBT-dB7.mjs → cdn/assets/rct-3pDYxwMHrR5z.js} +1 -1
- package/{browser/esm/CBqOojBrpJdc7YAD.mjs → cdn/assets/tKK7AoN9hX_3jbBs.js} +1 -1
- package/cdn/assets/{BiV5slDQgiRXSdGL.js → tO5Os5OhWL_6ZLIs.js} +3 -3
- package/{browser/esm/CLRO4_cCVLzgtqqe.mjs → cdn/assets/tkeYEqjTlgamlCd2.js} +1 -1
- package/cdn/assets/wwgNo9RRFWXVAn2w.js +50 -0
- 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
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
import { a as i } from "./Ox6wHfmayntm2bOM.js";
|
|
2
|
+
import { r as o } from "./CmDfPG6iRMa375VI.js";
|
|
3
|
+
import { a5 as ee, a6 as d, w as b, Z as L, O as pe, a7 as de, q as ue, r as fe, f as h, a8 as x, z as g, a9 as C, T as ne, x as v, I as xe, A as F, aa as te, ab as ge, a4 as me, a1 as he, a2 as Oe, a3 as ye } from "./B6uUXJu7huCyWQ4E.js";
|
|
4
|
+
/**
|
|
5
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.14
|
|
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 $ = { width: "1.5rem", height: "1.5rem" }, z = o.memo((S) => {
|
|
11
|
+
const { label: c, value: m, options: l, onSelect: O, tabIndex: K = 0, ...P } = S, [I, y] = o.useState(() => se(m, l));
|
|
12
|
+
o.useEffect(() => {
|
|
13
|
+
y(se(m, l));
|
|
14
|
+
}, [m, l]);
|
|
15
|
+
const j = L((p) => {
|
|
16
|
+
y(p.target.value), O?.(l[p.target.value]);
|
|
17
|
+
}, [O, l]), R = o.useMemo(() => Object.keys(l).map((p) => i.jsx(me, { value: p, children: p }, p)), [l]);
|
|
18
|
+
return i.jsxs(he, { sx: { minWidth: 135 }, size: "small", children: [i.jsx(Oe, { children: c }), i.jsx(ye, { inputProps: { tabIndex: K }, value: I, label: c, onChange: j, sx: { backgroundImage: `linear-gradient(${v("#fff", F(5))}, ${v("#fff", F(5))})` }, ...P, children: R })] });
|
|
19
|
+
}), ie = { enter: 140, exit: 140 }, oe = { Formulas: d.Content.Formulas, Values: d.Content.Values, Notes: d.Content.Notes, Comments: d.Content.Comments }, le = { ...oe };
|
|
20
|
+
delete le.Values;
|
|
21
|
+
const Ce = { "By Rows": !0, "By Columns": !1 }, se = (S, c) => {
|
|
22
|
+
const m = Object.keys(c);
|
|
23
|
+
for (let l = 0; l < m.length; l++) {
|
|
24
|
+
const O = m[l];
|
|
25
|
+
if (c[O] === S) return O;
|
|
26
|
+
}
|
|
27
|
+
}, ve = o.memo((S) => {
|
|
28
|
+
const { initialValue: c, context: m, onInput: l, title: O, onHide: K, autoFocus: P, ...I } = S, y = c?.replace ?? !1, j = c?.findOptions, R = j.text ?? null, p = c?.replaceOptions, T = c?.replaceText ?? null, D = m?.(), a = o.useRef(null), V = o.useRef(null), W = o.useRef(null), N = o.useRef(null), H = o.useRef(null), U = o.useRef(null), q = (e, n) => {
|
|
29
|
+
n && (n.start(e, { center: !1 }), setTimeout(() => n.stop(e), 180));
|
|
30
|
+
}, [G, k] = o.useState(!1), [A, ae] = o.useState(!1), [u, B] = o.useState(y), [Z, M] = o.useState(!1), [J, Q] = 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 }), w = L(async (e, n, t, E) => {
|
|
31
|
+
if (!D) return;
|
|
32
|
+
const f = { ...s };
|
|
33
|
+
f.replaceOptions = { ...f.replaceOptions }, f.findOptions = { ...f.findOptions }, f.replaceOptions.maxCount = t ? void 0 : 1, f.replace = n, n && s.findOptions.fields?.[0] === d.Content.Values && (f.findOptions.fields = [d.Content.Formulas]), f.findOptions.reverse = !e;
|
|
34
|
+
const ce = await D({ autoFocus: E, ...f });
|
|
35
|
+
M(ce === 0);
|
|
36
|
+
}, [s, D]);
|
|
37
|
+
o.useEffect(() => {
|
|
38
|
+
M(!1);
|
|
39
|
+
}, [s, A, u]);
|
|
40
|
+
const X = L((e, n) => {
|
|
41
|
+
if (e.keyCode === pe.Enter) {
|
|
42
|
+
if (!s.findOptions.text) return;
|
|
43
|
+
let t = !0, E = !1;
|
|
44
|
+
e.shiftKey && (t = !1), n ? (e.ctrlKey && e.altKey && (E = !0), q(e, E ? U.current : H.current)) : q(e, t ? N.current : W.current), w(t, n, E, !1);
|
|
45
|
+
}
|
|
46
|
+
}, [s]), Y = o.useRef(null);
|
|
47
|
+
o.useLayoutEffect(() => {
|
|
48
|
+
r((e) => {
|
|
49
|
+
const n = { ...e };
|
|
50
|
+
n.findOptions.text = R && R.length > 0 ? R : e.findOptions.text ?? "", k(!0), T !== null && (n.replaceText = T ?? ""), j && (n.findOptions = { ...n.findOptions, ...j }), n.replaceText || (n.replaceText = ""), n.replaceOptions && (n.replaceOptions = { ...n.replaceOptions }), p && (n.replaceOptions = { ...n.replaceOptions, ...p }), s.findOptions.fields?.[0] || (s.findOptions.fields = [d.Content.Formulas]);
|
|
51
|
+
const t = !(!y && !p && T === null);
|
|
52
|
+
return t && B(t), n;
|
|
53
|
+
}), J || Y.current?.focus();
|
|
54
|
+
}, [c, y, R, T, j, p]), o.useEffect(() => {
|
|
55
|
+
u ? (s.findOptions.fields[0], d.Content.Values) : k(!0);
|
|
56
|
+
}, [u]), o.useEffect(() => {
|
|
57
|
+
if (G && a.current && s.findOptions.text === a.current.value) return a.current === document.activeElement || a.current.contains(document.activeElement) ? (a.current?.select(), void k(!1)) : void a.current.addEventListener("focus", () => {
|
|
58
|
+
a.current?.select(), k(!1);
|
|
59
|
+
}, { once: !0 });
|
|
60
|
+
}, [G, s]);
|
|
61
|
+
const [re, { width: _ }] = de();
|
|
62
|
+
return i.jsx(ue, { ref: Y, title: O ?? (u ? "Find & Replace" : "Find"), initialPosition: { y: "35" }, autoFocusSel: ".input", onHide: K, onFocus: () => Q(!0), onBlur: () => {
|
|
63
|
+
Q(!1), M(!1);
|
|
64
|
+
}, slotProps: { paper: { elevation: J ? 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) => {
|
|
65
|
+
if (e.key === "h" && e.ctrlKey) B(!0), a.current?.contains(document.activeElement) && V.current?.focus();
|
|
66
|
+
else if (e.key === "f" && e.ctrlKey) a.current?.focus();
|
|
67
|
+
else if (e.key === "c" && e.altKey) r((n) => {
|
|
68
|
+
const t = { ...n };
|
|
69
|
+
return t.findOptions.matchCase = !n.findOptions.matchCase, t;
|
|
70
|
+
});
|
|
71
|
+
else if (e.key === "e" && e.altKey) r((n) => {
|
|
72
|
+
const t = { ...n };
|
|
73
|
+
return t.findOptions.matchEntireCell = !n.findOptions.matchEntireCell, t;
|
|
74
|
+
});
|
|
75
|
+
else {
|
|
76
|
+
if (e.key !== "r" || !e.altKey) return;
|
|
77
|
+
r((n) => {
|
|
78
|
+
const t = { ...n };
|
|
79
|
+
return t.findOptions.useRegex = !n.findOptions.useRegex, t;
|
|
80
|
+
});
|
|
81
|
+
}
|
|
82
|
+
e.preventDefault();
|
|
83
|
+
}, children: [i.jsxs(h, { sx: { display: "flex", flexDirection: "row", gap: (e) => e.spacing(1) }, children: [i.jsxs(h, { sx: { display: "flex", flexDirection: "row", alignItems: "start", gap: (e) => e.spacing(0.25), paddingTop: "3px" }, children: [i.jsx(x, { selected: A, onSelectToggle: (e) => {
|
|
84
|
+
ae(e);
|
|
85
|
+
}, preventFocus: !0, label: "Toggle Additional Options", icon: i.jsx(g, { iconKey: "FindOptions" }) }), i.jsx(x, { selected: u, onSelectToggle: (e) => {
|
|
86
|
+
B(e);
|
|
87
|
+
}, 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(ne, { label: "Find", slotProps: { input: { sx: { paddingRight: (e) => e.spacing(1), minWidth: _ > 460 ? "20em" : void 0, backgroundImage: `linear-gradient(${v("#fff", F(5))}, ${v("#fff", F(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: $, selected: s.findOptions.matchCase, onBlur: () => {
|
|
88
|
+
}, onSelectToggle: (e) => {
|
|
89
|
+
r((n) => {
|
|
90
|
+
const t = { ...n };
|
|
91
|
+
return t.findOptions.matchCase = e, t;
|
|
92
|
+
});
|
|
93
|
+
}, label: "Match Case", shortcut: { key: "C", modifiers: [C.Alt] }, icon: i.jsx(g, { iconKey: "FindCaseSensitive", size: "1rem" }) }), i.jsx(x, { style: $, selected: s.findOptions.matchEntireCell, onSelectToggle: (e) => {
|
|
94
|
+
r((n) => {
|
|
95
|
+
const t = { ...n };
|
|
96
|
+
return t.findOptions.matchEntireCell = e, t;
|
|
97
|
+
});
|
|
98
|
+
}, label: "Match Entire Cell", shortcut: { key: "E", modifiers: [C.Alt] }, icon: i.jsx(g, { iconKey: "FindWholeWord", size: "1rem" }) }), i.jsx(x, { style: $, selected: s.findOptions.useRegex, onSelectToggle: (e) => {
|
|
99
|
+
r((n) => {
|
|
100
|
+
const t = { ...n };
|
|
101
|
+
return t.findOptions.useRegex = e, t;
|
|
102
|
+
});
|
|
103
|
+
}, 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) => Z ? `${e.palette.error.main} !important` : void 0 }, "& .MuiInputLabel-outlined": { color: (e) => Z ? `${e.palette.error.main} !important` : void 0 } }, value: s.findOptions.text ?? "", onChange: (e) => {
|
|
104
|
+
r((n) => {
|
|
105
|
+
const t = { ...n };
|
|
106
|
+
return t.findOptions.text = e.target.value, t;
|
|
107
|
+
});
|
|
108
|
+
}, onKeyDown: (e) => X(e, !1), onContextMenu: (e) => {
|
|
109
|
+
e.stopPropagation();
|
|
110
|
+
} }), i.jsx(x, { selected: s.findOptions.reverse, onSelectToggle: (e) => {
|
|
111
|
+
w(!1, !1);
|
|
112
|
+
}, touchRippleRef: W, 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) => {
|
|
113
|
+
w(!0, !1);
|
|
114
|
+
}, 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(te, { in: u, timeout: ie, onExit: () => {
|
|
115
|
+
a.current?.focus();
|
|
116
|
+
}, children: i.jsxs(h, { sx: { display: "flex", flexDirection: "row", alignItems: "center", marginTop: (e) => e.spacing(2) }, children: [i.jsx(ne, { label: "Replace", slotProps: { input: { sx: { paddingRight: (e) => e.spacing(1), backgroundImage: `linear-gradient(${v("#fff", F(5))}, ${v("#fff", F(5))})` } }, inputLabel: { shrink: !0 }, htmlInput: { ref: V, 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) => {
|
|
117
|
+
r((n) => {
|
|
118
|
+
const t = { ...n };
|
|
119
|
+
return t.replaceText = e.target.value, t;
|
|
120
|
+
});
|
|
121
|
+
}, onKeyDown: (e) => X(e, !0), onContextMenu: (e) => {
|
|
122
|
+
e.stopPropagation();
|
|
123
|
+
} }), i.jsx(x, { onSelectToggle: (e) => {
|
|
124
|
+
w(!0, !0);
|
|
125
|
+
}, touchRippleRef: H, label: "Replace", shortcut: { key: "Enter" }, icon: i.jsx(g, { iconKey: "FindReplace" }), disabled: !s.findOptions.text }), i.jsx(x, { onSelectToggle: (e) => {
|
|
126
|
+
w(!0, !0, !0);
|
|
127
|
+
}, 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(te, { in: A, timeout: ie, onExit: () => {
|
|
128
|
+
a.current?.focus();
|
|
129
|
+
}, 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: _ >= 383 ? "row" : "column", justifyContent: "space-evenly", alignItems: "center", gap: (e) => e.spacing(1), rowGap: (e) => e.spacing(2) }, tabIndex: -1, children: [i.jsx(z, { label: "Within", value: s.scope, options: ee.FindScopeOptions, onSelect: (e) => {
|
|
130
|
+
r((n) => {
|
|
131
|
+
const t = { ...n };
|
|
132
|
+
return t.scope = e, t;
|
|
133
|
+
});
|
|
134
|
+
} }), i.jsx(z, { label: "Search", value: s.findOptions.orientation !== b.Orientation.Column, options: Ce, onSelect: (e) => {
|
|
135
|
+
r((n) => {
|
|
136
|
+
const t = { ...n };
|
|
137
|
+
return t.findOptions.orientation = e ? b.Orientation.Row : b.Orientation.Column, t;
|
|
138
|
+
});
|
|
139
|
+
} }), i.jsx(z, { 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) => {
|
|
140
|
+
r((n) => {
|
|
141
|
+
const t = { ...n };
|
|
142
|
+
return t.findOptions.fields = [e], t;
|
|
143
|
+
});
|
|
144
|
+
} })] })] }) })] }) });
|
|
145
|
+
});
|
|
146
|
+
export {
|
|
147
|
+
ve as FindReplaceWindow,
|
|
148
|
+
ve as default
|
|
149
|
+
};
|
|
@@ -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.14
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/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.14
|
|
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 { r as ee } from "./
|
|
1
|
+
import { r as ee } from "./CmDfPG6iRMa375VI.js";
|
|
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.14
|
|
4
4
|
*
|
|
5
5
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
6
6
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/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.14
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/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.14
|
|
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.
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { a as n } from "./Ox6wHfmayntm2bOM.js";
|
|
2
|
+
import { r as p } from "./CmDfPG6iRMa375VI.js";
|
|
3
|
+
import { X as s, Z as O, _ as S, f as g, C as a, E as l, w as r } from "./B6uUXJu7huCyWQ4E.js";
|
|
4
|
+
/**
|
|
5
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.14
|
|
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 D = p.memo((h) => {
|
|
11
|
+
const { initialValue: c, context: d, onInput: u, onDone: x, ...m } = h, v = d?.().range, C = d?.().cell.toString(), [t, i] = p.useState(c ?? s.DefaultRangeOptions), j = O((e) => {
|
|
12
|
+
let o = null;
|
|
13
|
+
e === "Sort" && (o = { ...c, ...t }), u?.(o), x?.(o);
|
|
14
|
+
}, [t, x, u, c]);
|
|
15
|
+
return n.jsx(S, { title: "Sort", options: ["Sort", "Cancel"], onDone: j, ...m, children: n.jsxs(g, { sx: { display: "flex", flexDirection: "column" }, children: [n.jsx(a, { control: n.jsx(l, { checked: !t.reverse, onChange: () => i((e) => ({ ...e, reverse: !e.reverse })) }), label: "Is Ascending", labelPlacement: "end" }), n.jsx(a, { control: n.jsx(l, { checked: t.hasHeader, onChange: () => i((e) => ({ ...e, hasHeader: !e.hasHeader })) }), label: "Has Header", labelPlacement: "end" }), n.jsx(a, { control: n.jsx(l, { checked: t.collatorOptions?.sensitivity === s.CaseSensitiveOptions.sensitivity, onChange: () => i((e) => ({ ...e, collatorOptions: t.collatorOptions?.sensitivity === s.CaseSensitiveOptions.sensitivity ? s.CaseInsensitiveOptions : s.CaseSensitiveOptions })) }), label: "Case Sensitive", labelPlacement: "end" }), n.jsx(a, { control: n.jsx(l, { checked: t.orientation === r.Orientation.Row, onChange: () => i((e) => {
|
|
16
|
+
const o = e.orientation === r.Orientation.Row ? r.Orientation.Column : r.Orientation.Row;
|
|
17
|
+
return { ...v.getDefaultSortCriteria(o, C).options, includeHidden: e.includeHidden, reverse: e.reverse, orientation: o };
|
|
18
|
+
}) }), label: "Row Sort", labelPlacement: "end" }), n.jsx(a, { control: n.jsx(l, { checked: t.includeHidden, onChange: () => i((e) => ({ ...e, includeHidden: !e.includeHidden })) }), label: "Include Hidden", labelPlacement: "end" })] }) });
|
|
19
|
+
});
|
|
20
|
+
export {
|
|
21
|
+
D as SortDialog,
|
|
22
|
+
D as default
|
|
23
|
+
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as z } from "./
|
|
2
|
-
import { r as H, g as k } from "./
|
|
3
|
-
import {
|
|
1
|
+
import { a as z } from "./Ox6wHfmayntm2bOM.js";
|
|
2
|
+
import { r as H, g as k } from "./CmDfPG6iRMa375VI.js";
|
|
3
|
+
import { e as Ju, u as Qu, W as Zu, f as ts, i as xu, g as es, D as _t } from "./B6uUXJu7huCyWQ4E.js";
|
|
4
4
|
/**
|
|
5
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.
|
|
5
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.14
|
|
6
6
|
*
|
|
7
7
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
8
8
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -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.14
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/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.14
|
|
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 { a0 as Nt, M as Mt,
|
|
1
|
+
import { a0 as Nt, M as Mt, ag as Se, ah as Ce, ai as ke, aj as Ft, ak as vt, t as re, al as Ae, am as De, af as Ee, an as Pe, H as ne, w as Oe, ao as Ie, n as Ve } from "./B6uUXJu7huCyWQ4E.js";
|
|
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.14
|
|
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.
|
|
@@ -1068,14 +1068,14 @@ const ts = (i, t, s) => {
|
|
|
1068
1068
|
await Promise.resolve(g);
|
|
1069
1069
|
const A = c?.onProgress;
|
|
1070
1070
|
let T = 0;
|
|
1071
|
-
const v = import("./
|
|
1071
|
+
const v = import("./C9lS1Fnuj3Vmmj4f.js"), S = import("./DMnjOblN7R_exK0W.js");
|
|
1072
1072
|
let y = null;
|
|
1073
1073
|
try {
|
|
1074
1074
|
y = new DOMParser();
|
|
1075
1075
|
} catch {
|
|
1076
1076
|
}
|
|
1077
1077
|
let V = null;
|
|
1078
|
-
y || (V = import("./
|
|
1078
|
+
y || (V = import("./B7di0uA_O9s-v4Eu.js").then((l) => l.i));
|
|
1079
1079
|
let R = null, k = null, p = null;
|
|
1080
1080
|
try {
|
|
1081
1081
|
const l = await Promise.all([v, S, V]);
|
|
@@ -1321,7 +1321,7 @@ const ts = (i, t, s) => {
|
|
|
1321
1321
|
}, 0, St), tt = fe(h, q), Z = await (async ($, O = 8388608) => {
|
|
1322
1322
|
await (async () => {
|
|
1323
1323
|
if (typeof ReadableStream > "u") if (typeof window > "u") {
|
|
1324
|
-
const { ReadableStream: st } = await import("./
|
|
1324
|
+
const { ReadableStream: st } = await import("./tKK7AoN9hX_3jbBs.js");
|
|
1325
1325
|
globalThis.ReadableStream = st;
|
|
1326
1326
|
} else console.warn("Browser does not support ReadableStream; consider loading a polyfill.");
|
|
1327
1327
|
})();
|
|
@@ -1427,7 +1427,7 @@ const ts = (i, t, s) => {
|
|
|
1427
1427
|
throw l instanceof Ie && (f = "Unable to open XLSX. There are too many rows or columns."), new Error(f, { cause: l });
|
|
1428
1428
|
}
|
|
1429
1429
|
}, toBufferXLSX: async (i, t) => {
|
|
1430
|
-
const s = await import("./
|
|
1430
|
+
const s = await import("./C9lS1Fnuj3Vmmj4f.js"), o = await i.toJSON(!0), a = s.utils.book_new();
|
|
1431
1431
|
for (let n = 0; n < o.sheets.length; n++) {
|
|
1432
1432
|
const c = o.sheets[n], g = s.utils.json_to_sheet([{}]);
|
|
1433
1433
|
s.utils.book_append_sheet(a, g, c.name);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as u, g as T } from "./
|
|
1
|
+
import { r as u, g as T } from "./CmDfPG6iRMa375VI.js";
|
|
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.14
|
|
4
4
|
*
|
|
5
5
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
6
6
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { F as yt } from "./
|
|
1
|
+
import { F as yt } from "./B6uUXJu7huCyWQ4E.js";
|
|
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.14
|
|
4
4
|
*
|
|
5
5
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
6
6
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/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.14
|
|
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 "./B6uUXJu7huCyWQ4E.js";
|
|
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.14
|
|
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("./Bf6Hh69fBobfajs0.js");
|
|
15
15
|
return e = new c(), e;
|
|
16
16
|
})(), r = await l.compileModule(t);
|
|
17
17
|
return i = r, n = t, r;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { g as i } from "./
|
|
2
|
-
import { r as s } from "./
|
|
1
|
+
import { g as i } from "./DEem43orB5q4eGvD.js";
|
|
2
|
+
import { r as s } from "./X1Ke_NjZffF94UZa.js";
|
|
3
3
|
/**
|
|
4
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.
|
|
4
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.14
|
|
5
5
|
*
|
|
6
6
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
7
7
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { af as J } from "./B6uUXJu7huCyWQ4E.js";
|
|
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.14
|
|
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.
|
|
@@ -8,13 +8,13 @@ import { ah as J } from "./wDUhRc6bsF_6jDRi.mjs";
|
|
|
8
8
|
const k = async (w, l) => {
|
|
9
9
|
const u = await w.toJSON(), b = l?.whiteSpace ?? 0;
|
|
10
10
|
let g;
|
|
11
|
-
l?.beforeWrite?.(w, u), g = b === 0 ? JSON.stringify(u) : (function(
|
|
11
|
+
l?.beforeWrite?.(w, u), g = b === 0 ? JSON.stringify(u) : (function(o, r = 2) {
|
|
12
12
|
const n = [];
|
|
13
|
-
function a(
|
|
14
|
-
const e = r *
|
|
13
|
+
function a(f) {
|
|
14
|
+
const e = r * f;
|
|
15
15
|
return n[e] === void 0 && (n[e] = " ".repeat(e)), n[e];
|
|
16
16
|
}
|
|
17
|
-
return (function
|
|
17
|
+
return (function f(e, i, s, m) {
|
|
18
18
|
if (e == null || typeof e != "object") return JSON.stringify(e);
|
|
19
19
|
const d = a(i), O = a(i + 1);
|
|
20
20
|
if (Array.isArray(e)) {
|
|
@@ -23,7 +23,7 @@ const k = async (w, l) => {
|
|
|
23
23
|
if (s !== 0) return JSON.stringify(e);
|
|
24
24
|
let y = `[
|
|
25
25
|
`;
|
|
26
|
-
for (let
|
|
26
|
+
for (let h = 0; h < c; h++) y += O + f(e[h], i + 1, s + 1, !0), h < c - 1 && (y += `,
|
|
27
27
|
`);
|
|
28
28
|
return y += `
|
|
29
29
|
` + d + "]", y;
|
|
@@ -31,48 +31,48 @@ const k = async (w, l) => {
|
|
|
31
31
|
const B = Object.keys(e), A = B.length;
|
|
32
32
|
if (A === 0) return "{}";
|
|
33
33
|
if (!(s < 2)) return JSON.stringify(e);
|
|
34
|
-
let
|
|
34
|
+
let S = `{
|
|
35
35
|
`;
|
|
36
36
|
m || (s = 0);
|
|
37
37
|
for (let c = 0; c < A; c++) {
|
|
38
38
|
const y = B[c];
|
|
39
|
-
|
|
39
|
+
S += O + JSON.stringify(y) + ": " + f(e[y], i + 1, s, !1), c < A - 1 && (S += `,
|
|
40
40
|
`);
|
|
41
41
|
}
|
|
42
|
-
return
|
|
43
|
-
` + d + "}",
|
|
44
|
-
})(
|
|
42
|
+
return S += `
|
|
43
|
+
` + d + "}", S;
|
|
44
|
+
})(o, 0, 0, !1);
|
|
45
45
|
})(u, b);
|
|
46
46
|
let p = new TextEncoder().encode(g).buffer;
|
|
47
47
|
const t = l?.compress ?? !0;
|
|
48
|
-
return t && (p = await (async function(
|
|
48
|
+
return t && (p = await (async function(o, r = "gzip") {
|
|
49
49
|
let n;
|
|
50
|
-
typeof SharedArrayBuffer < "u" &&
|
|
50
|
+
typeof SharedArrayBuffer < "u" && o instanceof SharedArrayBuffer ? (n = new ArrayBuffer(o.byteLength), new Uint8Array(n).set(new Uint8Array(o))) : n = o;
|
|
51
51
|
const a = new ReadableStream({ start(i) {
|
|
52
52
|
i.enqueue(n), i.close();
|
|
53
|
-
} }),
|
|
53
|
+
} }), f = new CompressionStream(r), e = a.pipeThrough(f);
|
|
54
54
|
return (await new Response(e).blob()).arrayBuffer();
|
|
55
55
|
})(p, typeof t == "string" ? t : void 0)), p;
|
|
56
56
|
}, z = async (w, l) => {
|
|
57
57
|
let u = w;
|
|
58
58
|
(function(t) {
|
|
59
59
|
if (t.byteLength < 4) return !1;
|
|
60
|
-
const
|
|
60
|
+
const o = new Uint8Array(t), r = { gzip: [31, 139], zip: [80, 75, 3, 4], bz2: [66, 90, 104], br: [206, 178, 207, 129] }, n = Object.keys(r);
|
|
61
61
|
for (let a = 0; a < n.length; a++) {
|
|
62
|
-
const
|
|
62
|
+
const f = n[a], e = r[f];
|
|
63
63
|
let i = !0;
|
|
64
|
-
for (let s = 0; s < e.length; s++) if (
|
|
64
|
+
for (let s = 0; s < e.length; s++) if (o[s] !== e[s]) {
|
|
65
65
|
i = !1;
|
|
66
66
|
break;
|
|
67
67
|
}
|
|
68
|
-
if (i) return
|
|
68
|
+
if (i) return f;
|
|
69
69
|
}
|
|
70
70
|
return !1;
|
|
71
|
-
})(u) && (u = await (async function(t,
|
|
71
|
+
})(u) && (u = await (async function(t, o = "gzip") {
|
|
72
72
|
let r;
|
|
73
73
|
typeof SharedArrayBuffer < "u" && t instanceof SharedArrayBuffer ? (r = new ArrayBuffer(t.byteLength), new Uint8Array(r).set(new Uint8Array(t))) : r = t;
|
|
74
|
-
const n = new Blob([r]).stream(), a = new DecompressionStream(
|
|
75
|
-
return (await new Response(
|
|
74
|
+
const n = new Blob([r]).stream(), a = new DecompressionStream(o), f = n.pipeThrough(a);
|
|
75
|
+
return (await new Response(f).blob()).arrayBuffer();
|
|
76
76
|
})(u));
|
|
77
77
|
let b = new TextDecoder().decode(u);
|
|
78
78
|
const g = JSON.parse(b), p = { ...l?.createWorkbookOptions ?? {}, json: g };
|
|
@@ -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.14
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/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.14
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/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.14
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -47,7 +47,7 @@ class u {
|
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
const s = `/**
|
|
50
|
-
* @license @sheetxl/primitives - Primitives - Base types for SheetXL functions. - v0.7.
|
|
50
|
+
* @license @sheetxl/primitives - Primitives - Base types for SheetXL functions. - v0.7.14
|
|
51
51
|
*
|
|
52
52
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
53
53
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -266,7 +266,7 @@ var T;
|
|
|
266
266
|
return r = typeof e == "string" ? rt.get(e) : ot.get(e), r || (r = T.Unknown), new r(t, n);
|
|
267
267
|
}, T.getBuiltInById = (e) => Te.get(e) || xt;
|
|
268
268
|
/**
|
|
269
|
-
* @license @sheetxl/utils - Utils - Utilities used by most SheetXL components. - v0.7.
|
|
269
|
+
* @license @sheetxl/utils - Utils - Utilities used by most SheetXL components. - v0.7.14
|
|
270
270
|
*
|
|
271
271
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
272
272
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1574,7 +1574,7 @@ async function p() {
|
|
|
1574
1574
|
return await l();
|
|
1575
1575
|
}
|
|
1576
1576
|
const l = async () => {
|
|
1577
|
-
const { compileModule: e } = await import("./
|
|
1577
|
+
const { compileModule: e } = await import("./ltLeD5icvW8GUKi-.js"), n = new u((t) => e(t));
|
|
1578
1578
|
return await n.start(), n;
|
|
1579
1579
|
};
|
|
1580
1580
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as c } from "./
|
|
2
|
-
import {
|
|
1
|
+
import { a as c } from "./Ox6wHfmayntm2bOM.js";
|
|
2
|
+
import { ae as m } from "./B6uUXJu7huCyWQ4E.js";
|
|
3
3
|
/**
|
|
4
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.
|
|
4
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.14
|
|
5
5
|
*
|
|
6
6
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
7
7
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -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.14
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/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.14
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/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.14
|
|
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,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as x, b as f, r as L, t as rt, a as A, p as D, d as st } from "./
|
|
1
|
+
import { aq as k, aj as T, X as G, w as Z, ak as W, ar as C, as as tt, at as P, n as et, t as Y, au as V } from "./B6uUXJu7huCyWQ4E.js";
|
|
2
|
+
import { c as x, b as f, r as L, t as rt, a as A, p as D, d as st } from "./CVP5AGs4NNyE0HRI.js";
|
|
3
3
|
/**
|
|
4
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.
|
|
4
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.14
|
|
5
5
|
*
|
|
6
6
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
7
7
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -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.14
|
|
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.
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { a as o } from "./Ox6wHfmayntm2bOM.js";
|
|
2
|
+
import { r as s } from "./CmDfPG6iRMa375VI.js";
|
|
3
|
+
import { Z as p, O as K, a0 as n, _ as L, f as j, a1 as O, a2 as R, a3 as W, x as c, A as u, T as A, K as S, a4 as G } from "./B6uUXJu7huCyWQ4E.js";
|
|
4
|
+
/**
|
|
5
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.14
|
|
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 H = ["Ok", "Cancel"], J = s.memo((F) => {
|
|
11
|
+
const { initialValue: w, context: y, onOption: h, onValidateOption: d, onInput: C, onDone: m, options: b = H, defaultOption: r = b?.[0], cancelOption: g = "Cancel", sx: D, ...P } = F, [t, v] = s.useState(w), [$, I] = s.useState(!1), x = s.useCallback(async (a, e) => !0, []), f = p(async (a) => {
|
|
12
|
+
const e = a === g;
|
|
13
|
+
e || C?.(t, a), h?.(a, e, a === r), m?.();
|
|
14
|
+
}, [t, C, m, h, g, r]), M = p(async (a) => {
|
|
15
|
+
a.keyCode === K.Enter && await x?.(t, null) !== !1 && f(r);
|
|
16
|
+
}, [t, f]), N = p((a) => {
|
|
17
|
+
v(a.target.value), x?.(a.target.value, null);
|
|
18
|
+
}, [d]), V = p(async (a) => {
|
|
19
|
+
let e = await Promise.resolve(d?.(a));
|
|
20
|
+
try {
|
|
21
|
+
e !== !1 && (e = await Promise.resolve(x?.(t, a)) ?? !0);
|
|
22
|
+
} catch {
|
|
23
|
+
}
|
|
24
|
+
return e ?? !0;
|
|
25
|
+
}, [d]), [T, k] = s.useState(n.Styles.lookupStyle(t).formatType ?? n.Type.Custom);
|
|
26
|
+
s.useEffect(() => {
|
|
27
|
+
k(n.Styles.lookupStyle(t).formatType ?? n.Type.Custom);
|
|
28
|
+
}, [t]);
|
|
29
|
+
const z = s.useMemo(() => {
|
|
30
|
+
const a = n.Styles.lookupPrimary(), e = (i) => o.jsx(G, { value: i, children: i }, i), l = Object.keys(a).map((i) => e(a[i].formatType));
|
|
31
|
+
return l.push(e(n.Type.Custom)), l;
|
|
32
|
+
}, []), B = s.useCallback((a) => {
|
|
33
|
+
const e = a.target.value;
|
|
34
|
+
k(e);
|
|
35
|
+
const l = n.Styles.lookupDefault(e);
|
|
36
|
+
l && v(l);
|
|
37
|
+
}, []), E = s.useMemo(() => {
|
|
38
|
+
const a = y?.();
|
|
39
|
+
return a ? a.createTemporaryCell({ value: a.getValue() ?? 12345, style: { numberFormat: t } }) : null;
|
|
40
|
+
}, [T, t, y]);
|
|
41
|
+
return o.jsx(L, { title: "Number Format", options: b, onDone: m, onOption: (a) => f(a), onValidateOption: V, defaultOption: r, cancelOption: g, autoFocusSel: ".autoFocus", sx: { width: "580px", ...D }, ...P, children: o.jsxs(j, { sx: { paddingTop: (a) => a.spacing(1), paddingBottom: (a) => a.spacing(0), rowGap: (a) => a.spacing(1), display: "flex", flexDirection: "column" }, children: [o.jsxs(O, { sx: { minWidth: 135 }, size: "small", children: [o.jsx(R, { children: "Category" }), o.jsx(W, { value: T, label: "Category", onChange: B, sx: { backgroundImage: `linear-gradient(${c("#fff", u(5))}, ${c("#fff", u(5))})` }, children: z })] }), o.jsx(O, { sx: { paddingTop: (a) => a.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: o.jsx(A, { label: "Code", onFocus: (a) => {
|
|
42
|
+
$ || a.target?.select(), I(!0);
|
|
43
|
+
}, sx: { "& .MuiFormHelperText-root": { marginTop: (a) => a.spacing(0.5) } }, slotProps: { inputLabel: { shrink: !0 }, htmlInput: { className: "autoFocus", spellCheck: !1, autoComplete: "off", sx: { paddingTop: (a) => a.spacing(1.25), paddingBottom: (a) => a.spacing(0.75), backgroundImage: `linear-gradient(${c("#fff", u(5))}, ${c("#fff", u(5))})` } } }, value: t, onChange: N, onKeyDown: M, onContextMenu: (a) => {
|
|
44
|
+
a.stopPropagation();
|
|
45
|
+
} }) }), o.jsxs(j, { children: [o.jsx(S, { variant: "caption", component: "div", sx: { paddingLeft: (a) => a.spacing(2) }, children: "Preview" }), o.jsx(S, { variant: "body2", component: "div", sx: { borderRadius: (a) => `${a.shape.borderRadius}px`, padding: (a) => a.spacing(1), border: (a) => `1px solid ${a.palette.grey[400]}` }, children: E?.getNumberFormat().displayText || "(empty)" })] })] }) });
|
|
46
|
+
});
|
|
47
|
+
export {
|
|
48
|
+
J as NumberFormatDialog,
|
|
49
|
+
J as default
|
|
50
|
+
};
|