@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
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { a as t } from "./BKyX0kH_WAVGO7fi.js";
|
|
2
|
-
import { r as s } from "./_PvCIesF9faJSoze.js";
|
|
3
|
-
import { Y as p, v as L, a0 as n, $ as R, B as j, a1 as O, a2 as W, a3 as G, x as c, C as u, T as H, J as S, a4 as J } 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 K = ["Ok", "Cancel"], Q = s.memo((F) => {
|
|
11
|
-
const { initialValue: w, context: f, onOption: h, onValidateOption: d, onInputOption: C, onDone: m, options: b = K, defaultOption: r = b?.[0], cancelOption: g = "Cancel", sx: $, ...D } = F, [a, v] = s.useState(w), [P, I] = s.useState(!1), x = s.useCallback(async (e, o) => !0, []), y = p(async (e) => {
|
|
12
|
-
C?.(a, e), h?.(e, e === g, e === r), m?.();
|
|
13
|
-
}, [a, C, m, h, g, r]), M = p(async (e) => {
|
|
14
|
-
e.keyCode === L.Enter && await x?.(a, null) !== !1 && y(r);
|
|
15
|
-
}, [a, y]), N = p((e) => {
|
|
16
|
-
v(e.target.value), x?.(e.target.value, null);
|
|
17
|
-
}, [d]), V = p(async (e) => {
|
|
18
|
-
let o = await Promise.resolve(d?.(e));
|
|
19
|
-
try {
|
|
20
|
-
o !== !1 && (o = await Promise.resolve(x?.(a, e)) ?? !0);
|
|
21
|
-
} catch {
|
|
22
|
-
}
|
|
23
|
-
return o ?? !0;
|
|
24
|
-
}, [d]), [T, k] = s.useState(n.Styles.lookupStyle(a).formatType ?? n.Type.Custom);
|
|
25
|
-
s.useEffect(() => {
|
|
26
|
-
k(n.Styles.lookupStyle(a).formatType ?? n.Type.Custom);
|
|
27
|
-
}, [a]);
|
|
28
|
-
const B = s.useMemo(() => {
|
|
29
|
-
const e = n.Styles.lookupPrimary(), o = (l) => t.jsx(J, { value: l, children: l }, l), i = Object.keys(e).map((l) => o(e[l].formatType));
|
|
30
|
-
return i.push(o(n.Type.Custom)), i;
|
|
31
|
-
}, []), z = s.useCallback((e) => {
|
|
32
|
-
const o = e.target.value;
|
|
33
|
-
k(o);
|
|
34
|
-
const i = n.Styles.lookupDefault(o);
|
|
35
|
-
i && v(i);
|
|
36
|
-
}, []), E = s.useMemo(() => {
|
|
37
|
-
const e = f();
|
|
38
|
-
return e.createTemporaryCell({ value: e.getValue() ?? 12345, style: { numberFormat: a } });
|
|
39
|
-
}, [T, a, f]);
|
|
40
|
-
return t.jsx(R, { title: "Number Format", options: b, onDone: m, onOption: (e) => y(e), onValidateOption: V, defaultOption: r, cancelOption: g, autoFocusSel: ".autoFocus", sx: { width: "580px", ...$ }, ...D, children: t.jsxs(j, { 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(W, { children: "Category" }), t.jsx(G, { value: T, label: "Category", onChange: z, 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(H, { label: "Code", onFocus: (e) => {
|
|
41
|
-
P || e.target?.select(), I(!0);
|
|
42
|
-
}, 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: N, onKeyDown: M, onContextMenu: (e) => {
|
|
43
|
-
e.stopPropagation();
|
|
44
|
-
} }) }), t.jsxs(j, { 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: E.getNumberFormat().displayText || "(empty)" })] })] }) });
|
|
45
|
-
});
|
|
46
|
-
export {
|
|
47
|
-
Q as NumberFormatDialog,
|
|
48
|
-
Q as default
|
|
49
|
-
};
|
|
@@ -1,151 +0,0 @@
|
|
|
1
|
-
import { a as i } from "./BKyX0kH_WAVGO7fi.js";
|
|
2
|
-
import { r as s } from "./_PvCIesF9faJSoze.js";
|
|
3
|
-
import { a5 as p, w as R, Y as W, v as le, a6 as ae, q as re, r as ce, B as O, a7 as g, A as m, a8 as y, T as Q, x as b, I as pe, C as v, a9 as X, aa as de, a4 as ue, a1 as fe, a2 as xe, a3 as ge } 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 B = { width: "1.5rem", height: "1.5rem" }, M = s.memo((k) => {
|
|
11
|
-
const { label: h, value: c, options: l, onSelect: d, tabIndex: C = 0, ...E } = k, [F, j] = s.useState(() => ee(c, l));
|
|
12
|
-
s.useEffect(() => {
|
|
13
|
-
j(ee(c, l));
|
|
14
|
-
}, [c, l]);
|
|
15
|
-
const K = W((u) => {
|
|
16
|
-
j(u.target.value), d?.(l[u.target.value]);
|
|
17
|
-
}, [d, l]), a = s.useMemo(() => Object.keys(l).map((u) => i.jsx(ue, { value: u, children: u }, u)), [l]);
|
|
18
|
-
return i.jsxs(fe, { sx: { minWidth: 135 }, size: "small", children: [i.jsx(xe, { children: h }), i.jsx(ge, { inputProps: { tabIndex: C }, value: F, label: h, onChange: K, sx: { backgroundImage: `linear-gradient(${b("#fff", v(5))}, ${b("#fff", v(5))})` }, ...E, children: a })] });
|
|
19
|
-
}), Z = { 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 };
|
|
20
|
-
delete te.Values;
|
|
21
|
-
const me = { "By Rows": !0, "By Columns": !1 }, ee = (k, h) => {
|
|
22
|
-
const c = Object.keys(h);
|
|
23
|
-
for (let l = 0; l < c.length; l++) {
|
|
24
|
-
const d = c[l];
|
|
25
|
-
if (h[d] === k) return d;
|
|
26
|
-
}
|
|
27
|
-
}, Ce = s.memo((k) => {
|
|
28
|
-
const { replace: h = !1, findText: c, replaceText: l, findOptions: d, replaceOptions: C, title: E, onHide: F, onFindOrReplace: j, ...K } = k, a = s.useRef(null), u = s.useRef(null), $ = s.useRef(null), L = s.useRef(null), P = s.useRef(null), z = s.useRef(null), V = (e, n) => {
|
|
29
|
-
n && (n.start(e, { center: !1 }), setTimeout(() => n.stop(e), 180));
|
|
30
|
-
}, [N, T] = s.useState(!1), [I, ie] = s.useState(!1), [f, D] = s.useState(h), [H, A] = s.useState(!1), [U, q] = s.useState(!1), [o, r] = s.useState({ replaceText: null, replace: h, replaceOptions: {}, findOptions: { text: null, matchCase: !1, matchEntireCell: !1, useRegex: !1, orientation: R.Orientation.Row, fields: [p.Content.Formulas] }, scope: Z.Sheet }), S = W(async (e, n, t, w) => {
|
|
31
|
-
if (!j) return;
|
|
32
|
-
const x = { ...o };
|
|
33
|
-
x.replaceOptions = { ...x.replaceOptions }, x.findOptions = { ...x.findOptions }, x.replaceOptions.maxCount = t ? void 0 : 1, x.replace = n, n && o.findOptions.fields?.[0] === p.Content.Values && (x.findOptions.fields = [p.Content.Formulas]), x.findOptions.reverse = !e;
|
|
34
|
-
const se = await j({ autoFocus: w, ...x });
|
|
35
|
-
A(se === 0);
|
|
36
|
-
}, [o, j]);
|
|
37
|
-
s.useEffect(() => {
|
|
38
|
-
A(!1);
|
|
39
|
-
}, [o, I, f]);
|
|
40
|
-
const G = W((e, n) => {
|
|
41
|
-
if (e.keyCode === le.Enter) {
|
|
42
|
-
if (!o.findOptions.text) return;
|
|
43
|
-
let t = !0, w = !1;
|
|
44
|
-
e.shiftKey && (t = !1), n ? (e.ctrlKey && e.altKey && (w = !0), V(e, w ? z.current : P.current)) : V(e, t ? L.current : $.current), S(t, n, w, !1);
|
|
45
|
-
}
|
|
46
|
-
}, [o]), Y = s.useRef(null);
|
|
47
|
-
s.useLayoutEffect(() => {
|
|
48
|
-
r((e) => {
|
|
49
|
-
const n = { ...e };
|
|
50
|
-
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 }), o.findOptions.fields?.[0] || (o.findOptions.fields = [p.Content.Formulas]);
|
|
51
|
-
const t = !(!C && l === void 0);
|
|
52
|
-
return t && D(t), n;
|
|
53
|
-
}), U || Y.current?.focus();
|
|
54
|
-
}, [c, l, d, C]), s.useEffect(() => {
|
|
55
|
-
f ? (o.findOptions.fields[0], p.Content.Values) : T(!0);
|
|
56
|
-
}, [f]), s.useEffect(() => {
|
|
57
|
-
if (N && a.current && o.findOptions.text === a.current.value) return a.current === document.activeElement || a.current.contains(document.activeElement) ? (a.current?.select(), void T(!1)) : void a.current.addEventListener("focus", () => {
|
|
58
|
-
a.current?.select(), T(!1);
|
|
59
|
-
}, { once: !0 });
|
|
60
|
-
}, [N, o]);
|
|
61
|
-
const [oe, { width: J }] = ae();
|
|
62
|
-
return i.jsx(re, { ref: Y, title: E ?? (f ? "Find & Replace" : "Find"), initialPosition: { y: "35" }, autoFocusSel: ".input", onHide: F, onFocus: () => q(!0), onBlur: () => {
|
|
63
|
-
q(!1), A(!1);
|
|
64
|
-
}, slotProps: { paper: { elevation: U ? 3 : 1 } }, ...K, children: i.jsxs(ce, { dividers: !0, ref: oe, 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) D(!0), a.current?.contains(document.activeElement) && u.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(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) => {
|
|
84
|
-
ie(e);
|
|
85
|
-
}, preventFocus: !0, label: "Toggle Additional Options", icon: i.jsx(m, { iconKey: "FindOptions" }) }), i.jsx(g, { selected: f, onSelectToggle: (e) => {
|
|
86
|
-
D(e);
|
|
87
|
-
}, 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(Q, { label: "Find", slotProps: { input: { sx: { paddingRight: (e) => e.spacing(1), minWidth: J > 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: o.findOptions.matchCase, onBlur: () => {
|
|
88
|
-
console.log("blur");
|
|
89
|
-
}, onSelectToggle: (e) => {
|
|
90
|
-
r((n) => {
|
|
91
|
-
const t = { ...n };
|
|
92
|
-
return t.findOptions.matchCase = e, t;
|
|
93
|
-
});
|
|
94
|
-
}, label: "Match Case", shortcut: { key: "C", modifiers: [y.Alt] }, icon: i.jsx(m, { iconKey: "FindCaseSensitive", size: "1rem" }) }), i.jsx(g, { style: B, selected: o.findOptions.matchEntireCell, onSelectToggle: (e) => {
|
|
95
|
-
r((n) => {
|
|
96
|
-
const t = { ...n };
|
|
97
|
-
return t.findOptions.matchEntireCell = e, t;
|
|
98
|
-
});
|
|
99
|
-
}, label: "Match Entire Cell", shortcut: { key: "E", modifiers: [y.Alt] }, icon: i.jsx(m, { iconKey: "FindWholeWord", size: "1rem" }) }), i.jsx(g, { style: B, selected: o.findOptions.useRegex, onSelectToggle: (e) => {
|
|
100
|
-
r((n) => {
|
|
101
|
-
const t = { ...n };
|
|
102
|
-
return t.findOptions.useRegex = e, t;
|
|
103
|
-
});
|
|
104
|
-
}, 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: 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) => H ? `${e.palette.error.main} !important` : void 0 }, "& .MuiInputLabel-outlined": { color: (e) => H ? `${e.palette.error.main} !important` : void 0 } }, value: o.findOptions.text ?? "", onChange: (e) => {
|
|
105
|
-
r((n) => {
|
|
106
|
-
const t = { ...n };
|
|
107
|
-
return t.findOptions.text = e.target.value, t;
|
|
108
|
-
});
|
|
109
|
-
}, onKeyDown: (e) => G(e, !1), onContextMenu: (e) => {
|
|
110
|
-
e.stopPropagation();
|
|
111
|
-
} }), i.jsx(g, { selected: o.findOptions.reverse, onSelectToggle: (e) => {
|
|
112
|
-
S(!1, !1);
|
|
113
|
-
}, touchRippleRef: $, label: "", shortcut: { key: "Enter", modifiers: [y.Shift] }, icon: i.jsx(m, { iconKey: o.findOptions.orientation !== R.Orientation.Column ? "ArrowBack" : "ArrowUpward" }), disabled: !o.findOptions.text }), i.jsx(g, { selected: !o.findOptions.reverse, onSelectToggle: (e) => {
|
|
114
|
-
S(!0, !1);
|
|
115
|
-
}, touchRippleRef: L, label: "Next Match", shortcut: { key: "Enter" }, icon: i.jsx(m, { iconKey: o.findOptions.orientation !== R.Orientation.Column ? "ArrowForward" : "ArrowDownward" }), disabled: !o.findOptions.text })] }), i.jsx(X, { in: f, timeout: _, onExit: () => {
|
|
116
|
-
a.current?.focus();
|
|
117
|
-
}, children: i.jsxs(O, { sx: { display: "flex", flexDirection: "row", alignItems: "center", marginTop: (e) => e.spacing(2) }, children: [i.jsx(Q, { 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: o.replaceText ?? "", onChange: (e) => {
|
|
118
|
-
r((n) => {
|
|
119
|
-
const t = { ...n };
|
|
120
|
-
return t.replaceText = e.target.value, t;
|
|
121
|
-
});
|
|
122
|
-
}, onKeyDown: (e) => G(e, !0), onContextMenu: (e) => {
|
|
123
|
-
e.stopPropagation();
|
|
124
|
-
} }), i.jsx(g, { onSelectToggle: (e) => {
|
|
125
|
-
S(!0, !0);
|
|
126
|
-
}, touchRippleRef: P, label: "Replace", shortcut: { key: "Enter" }, icon: i.jsx(m, { iconKey: "FindReplace" }), disabled: !o.findOptions.text }), i.jsx(g, { onSelectToggle: (e) => {
|
|
127
|
-
S(!0, !0, !0);
|
|
128
|
-
}, touchRippleRef: z, label: "Replace All", shortcut: { key: "Enter", modifiers: [y.Ctrl, y.Alt] }, icon: i.jsx(m, { iconKey: "FindReplaceAll" }), disabled: !o.findOptions.text })] }) })] })] }), i.jsx(X, { in: I, timeout: _, onExit: () => {
|
|
129
|
-
a.current?.focus();
|
|
130
|
-
}, 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: J >= 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: o.scope, options: Z, onSelect: (e) => {
|
|
131
|
-
r((n) => {
|
|
132
|
-
const t = { ...n };
|
|
133
|
-
return t.scope = e, t;
|
|
134
|
-
});
|
|
135
|
-
} }), i.jsx(M, { label: "Search", value: o.findOptions.orientation !== R.Orientation.Column, options: me, onSelect: (e) => {
|
|
136
|
-
r((n) => {
|
|
137
|
-
const t = { ...n };
|
|
138
|
-
return t.findOptions.orientation = e ? R.Orientation.Row : R.Orientation.Column, t;
|
|
139
|
-
});
|
|
140
|
-
} }), i.jsx(M, { label: "Look in", value: f && o.findOptions.fields?.[0] === p.Content.Values ? p.Content.Formulas : o.findOptions.fields?.[0], options: f ? te : ne, onSelect: (e) => {
|
|
141
|
-
r((n) => {
|
|
142
|
-
const t = { ...n };
|
|
143
|
-
return t.findOptions.fields = [e], t;
|
|
144
|
-
});
|
|
145
|
-
} })] })] }) })] }) });
|
|
146
|
-
});
|
|
147
|
-
export {
|
|
148
|
-
Ce as FindReplaceWindow,
|
|
149
|
-
Z as ScopeOptions,
|
|
150
|
-
Ce as default
|
|
151
|
-
};
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { a as l } from "./BKyX0kH_WAVGO7fi.js";
|
|
2
|
-
import { r as s } from "./_PvCIesF9faJSoze.js";
|
|
3
|
-
import { Y as m, $ as M, B as P, a1 as S, T as $, x as h, C } 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 E = ["Ok", "Cancel"], H = s.memo((O) => {
|
|
11
|
-
const { initialComments: T = null, onUpdateComments: u, context: k, onOption: d, onValidateOption: c, onDone: p, options: g = E, defaultOption: r = g?.[0], cancelOption: i = "Cancel", sx: w, ...y } = O, f = s.useMemo(() => {
|
|
12
|
-
const t = T ?? k?.()?.getComments();
|
|
13
|
-
let n = "";
|
|
14
|
-
if (t && t.content && t.content.runs) {
|
|
15
|
-
const a = t.content.runs;
|
|
16
|
-
for (let o = 0; o < a.length; o++) {
|
|
17
|
-
const I = a[o];
|
|
18
|
-
n += I?.text;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
return n;
|
|
22
|
-
}, []), [e, F] = s.useState(f), [b, j] = s.useState(!1), x = s.useCallback(async (t, n) => null, []), v = m(async (t) => {
|
|
23
|
-
const n = e === "" ? [] : e.split(`
|
|
24
|
-
`);
|
|
25
|
-
if (t !== i) {
|
|
26
|
-
const a = [];
|
|
27
|
-
for (let o = 0; o < n.length; o++) a.push({ text: n[o] });
|
|
28
|
-
u?.({ content: { runs: a } });
|
|
29
|
-
}
|
|
30
|
-
d?.(t, t === i, t === r), p?.();
|
|
31
|
-
}, [e, u, p, d, r, i]), D = m((t) => {
|
|
32
|
-
F(t.target.value), x(t.target.value, null);
|
|
33
|
-
}, [c]), B = m(async (t) => {
|
|
34
|
-
let n = await Promise.resolve(c?.(t));
|
|
35
|
-
try {
|
|
36
|
-
n !== !1 && (n = await x(e, t));
|
|
37
|
-
} catch {
|
|
38
|
-
}
|
|
39
|
-
return n ?? !0;
|
|
40
|
-
}, [c, e]);
|
|
41
|
-
return l.jsx(M, { title: (f ? "Edit" : "Insert") + " Comments", options: g, onDone: p, onOption: (t) => v(t), onValidateOption: B, defaultOption: r, cancelOption: i, autoFocusSel: ".autoFocus", sx: { width: "480px", ...w }, ...y, children: l.jsx(P, { sx: { paddingTop: (t) => t.spacing(1), paddingBottom: (t) => t.spacing(0), rowGap: (t) => t.spacing(1), display: "flex", flexDirection: "column" }, children: l.jsx(S, { sx: { paddingTop: (t) => t.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: l.jsx($, { label: "Comments", placeholder: "Enter a comment.", onFocus: (t) => {
|
|
42
|
-
b || t.target?.select(), j(!0);
|
|
43
|
-
}, 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) => {
|
|
44
|
-
t.stopPropagation();
|
|
45
|
-
} }) }) }) });
|
|
46
|
-
});
|
|
47
|
-
export {
|
|
48
|
-
H as CommentsDialog,
|
|
49
|
-
H as default
|
|
50
|
-
};
|
|
@@ -1,241 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.12
|
|
3
|
-
*
|
|
4
|
-
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
|
-
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
-
*/
|
|
7
|
-
var U, N, M = { exports: {} }, o = {};
|
|
8
|
-
function K() {
|
|
9
|
-
if (U) return o;
|
|
10
|
-
U = 1;
|
|
11
|
-
var h = Symbol.for("react.transitional.element"), V = Symbol.for("react.portal"), D = Symbol.for("react.fragment"), q = Symbol.for("react.strict_mode"), L = Symbol.for("react.profiler"), F = Symbol.for("react.consumer"), z = Symbol.for("react.context"), G = Symbol.for("react.forward_ref"), W = Symbol.for("react.suspense"), Y = Symbol.for("react.memo"), R = Symbol.for("react.lazy"), j = Symbol.iterator, H = { isMounted: function() {
|
|
12
|
-
return !1;
|
|
13
|
-
}, enqueueForceUpdate: function() {
|
|
14
|
-
}, enqueueReplaceState: function() {
|
|
15
|
-
}, enqueueSetState: function() {
|
|
16
|
-
} }, k = Object.assign, C = {};
|
|
17
|
-
function y(t, e, n) {
|
|
18
|
-
this.props = t, this.context = e, this.refs = C, this.updater = n || H;
|
|
19
|
-
}
|
|
20
|
-
function $() {
|
|
21
|
-
}
|
|
22
|
-
function v(t, e, n) {
|
|
23
|
-
this.props = t, this.context = e, this.refs = C, this.updater = n || H;
|
|
24
|
-
}
|
|
25
|
-
y.prototype.isReactComponent = {}, y.prototype.setState = function(t, e) {
|
|
26
|
-
if (typeof t != "object" && typeof t != "function" && t != null) throw Error("takes an object of state variables to update or a function which returns an object of state variables.");
|
|
27
|
-
this.updater.enqueueSetState(this, t, e, "setState");
|
|
28
|
-
}, y.prototype.forceUpdate = function(t) {
|
|
29
|
-
this.updater.enqueueForceUpdate(this, t, "forceUpdate");
|
|
30
|
-
}, $.prototype = y.prototype;
|
|
31
|
-
var b = v.prototype = new $();
|
|
32
|
-
b.constructor = v, k(b, y.prototype), b.isPureReactComponent = !0;
|
|
33
|
-
var x = Array.isArray, s = { H: null, A: null, T: null, S: null, V: null }, T = Object.prototype.hasOwnProperty;
|
|
34
|
-
function S(t, e, n, r, u, a) {
|
|
35
|
-
return n = a.ref, { $$typeof: h, type: t, key: e, ref: n !== void 0 ? n : null, props: a };
|
|
36
|
-
}
|
|
37
|
-
function E(t) {
|
|
38
|
-
return typeof t == "object" && t !== null && t.$$typeof === h;
|
|
39
|
-
}
|
|
40
|
-
var O = /\/+/g;
|
|
41
|
-
function g(t, e) {
|
|
42
|
-
return typeof t == "object" && t !== null && t.key != null ? (n = "" + t.key, r = { "=": "=0", ":": "=2" }, "$" + n.replace(/[=:]/g, function(u) {
|
|
43
|
-
return r[u];
|
|
44
|
-
})) : e.toString(36);
|
|
45
|
-
var n, r;
|
|
46
|
-
}
|
|
47
|
-
function A() {
|
|
48
|
-
}
|
|
49
|
-
function d(t, e, n, r, u) {
|
|
50
|
-
var a = typeof t;
|
|
51
|
-
a !== "undefined" && a !== "boolean" || (t = null);
|
|
52
|
-
var i, l, f = !1;
|
|
53
|
-
if (t === null) f = !0;
|
|
54
|
-
else switch (a) {
|
|
55
|
-
case "bigint":
|
|
56
|
-
case "string":
|
|
57
|
-
case "number":
|
|
58
|
-
f = !0;
|
|
59
|
-
break;
|
|
60
|
-
case "object":
|
|
61
|
-
switch (t.$$typeof) {
|
|
62
|
-
case h:
|
|
63
|
-
case V:
|
|
64
|
-
f = !0;
|
|
65
|
-
break;
|
|
66
|
-
case R:
|
|
67
|
-
return d((f = t._init)(t._payload), e, n, r, u);
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
if (f) return u = u(t), f = r === "" ? "." + g(t, 0) : r, x(u) ? (n = "", f != null && (n = f.replace(O, "$&/") + "/"), d(u, e, n, "", function(c) {
|
|
71
|
-
return c;
|
|
72
|
-
})) : u != null && (E(u) && (i = u, l = n + (u.key == null || t && t.key === u.key ? "" : ("" + u.key).replace(O, "$&/") + "/") + f, u = S(i.type, l, void 0, 0, 0, i.props)), e.push(u)), 1;
|
|
73
|
-
f = 0;
|
|
74
|
-
var m, P = r === "" ? "." : r + ":";
|
|
75
|
-
if (x(t)) for (var p = 0; p < t.length; p++) f += d(r = t[p], e, n, a = P + g(r, p), u);
|
|
76
|
-
else if (typeof (p = (m = t) === null || typeof m != "object" ? null : typeof (m = j && m[j] || m["@@iterator"]) == "function" ? m : null) == "function") for (t = p.call(t), p = 0; !(r = t.next()).done; ) f += d(r = r.value, e, n, a = P + g(r, p++), u);
|
|
77
|
-
else if (a === "object") {
|
|
78
|
-
if (typeof t.then == "function") return d((function(c) {
|
|
79
|
-
switch (c.status) {
|
|
80
|
-
case "fulfilled":
|
|
81
|
-
return c.value;
|
|
82
|
-
case "rejected":
|
|
83
|
-
throw c.reason;
|
|
84
|
-
default:
|
|
85
|
-
switch (typeof c.status == "string" ? c.then(A, A) : (c.status = "pending", c.then(function(w) {
|
|
86
|
-
c.status === "pending" && (c.status = "fulfilled", c.value = w);
|
|
87
|
-
}, function(w) {
|
|
88
|
-
c.status === "pending" && (c.status = "rejected", c.reason = w);
|
|
89
|
-
})), c.status) {
|
|
90
|
-
case "fulfilled":
|
|
91
|
-
return c.value;
|
|
92
|
-
case "rejected":
|
|
93
|
-
throw c.reason;
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
throw c;
|
|
97
|
-
})(t), e, n, r, u);
|
|
98
|
-
throw e = String(t), Error("Objects are not valid as a React child (found: " + (e === "[object Object]" ? "object with keys {" + Object.keys(t).join(", ") + "}" : e) + "). If you meant to render a collection of children, use an array instead.");
|
|
99
|
-
}
|
|
100
|
-
return f;
|
|
101
|
-
}
|
|
102
|
-
function _(t, e, n) {
|
|
103
|
-
if (t == null) return t;
|
|
104
|
-
var r = [], u = 0;
|
|
105
|
-
return d(t, r, "", "", function(a) {
|
|
106
|
-
return e.call(n, a, u++);
|
|
107
|
-
}), r;
|
|
108
|
-
}
|
|
109
|
-
function B(t) {
|
|
110
|
-
if (t._status === -1) {
|
|
111
|
-
var e = t._result;
|
|
112
|
-
(e = e()).then(function(n) {
|
|
113
|
-
t._status !== 0 && t._status !== -1 || (t._status = 1, t._result = n);
|
|
114
|
-
}, function(n) {
|
|
115
|
-
t._status !== 0 && t._status !== -1 || (t._status = 2, t._result = n);
|
|
116
|
-
}), t._status === -1 && (t._status = 0, t._result = e);
|
|
117
|
-
}
|
|
118
|
-
if (t._status === 1) return t._result.default;
|
|
119
|
-
throw t._result;
|
|
120
|
-
}
|
|
121
|
-
var I = typeof reportError == "function" ? reportError : function(t) {
|
|
122
|
-
if (typeof window == "object" && typeof window.ErrorEvent == "function") {
|
|
123
|
-
var e = new window.ErrorEvent("error", { bubbles: !0, cancelable: !0, message: typeof t == "object" && t !== null && typeof t.message == "string" ? String(t.message) : String(t), error: t });
|
|
124
|
-
if (!window.dispatchEvent(e)) return;
|
|
125
|
-
} else if (typeof process == "object" && typeof process.emit == "function") return void process.emit("uncaughtException", t);
|
|
126
|
-
console.error(t);
|
|
127
|
-
};
|
|
128
|
-
function J() {
|
|
129
|
-
}
|
|
130
|
-
return o.Children = { map: _, forEach: function(t, e, n) {
|
|
131
|
-
_(t, function() {
|
|
132
|
-
e.apply(this, arguments);
|
|
133
|
-
}, n);
|
|
134
|
-
}, count: function(t) {
|
|
135
|
-
var e = 0;
|
|
136
|
-
return _(t, function() {
|
|
137
|
-
e++;
|
|
138
|
-
}), e;
|
|
139
|
-
}, toArray: function(t) {
|
|
140
|
-
return _(t, function(e) {
|
|
141
|
-
return e;
|
|
142
|
-
}) || [];
|
|
143
|
-
}, only: function(t) {
|
|
144
|
-
if (!E(t)) throw Error("React.Children.only expected to receive a single React element child.");
|
|
145
|
-
return t;
|
|
146
|
-
} }, o.Component = y, o.Fragment = D, o.Profiler = L, o.PureComponent = v, o.StrictMode = q, o.Suspense = W, o.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = s, o.__COMPILER_RUNTIME = { __proto__: null, c: function(t) {
|
|
147
|
-
return s.H.useMemoCache(t);
|
|
148
|
-
} }, o.cache = function(t) {
|
|
149
|
-
return function() {
|
|
150
|
-
return t.apply(null, arguments);
|
|
151
|
-
};
|
|
152
|
-
}, o.cloneElement = function(t, e, n) {
|
|
153
|
-
if (t == null) throw Error("The argument must be a React element, but you passed " + t + ".");
|
|
154
|
-
var r = k({}, t.props), u = t.key;
|
|
155
|
-
if (e != null) for (a in e.ref, e.key !== void 0 && (u = "" + e.key), e) !T.call(e, a) || a === "key" || a === "__self" || a === "__source" || a === "ref" && e.ref === void 0 || (r[a] = e[a]);
|
|
156
|
-
var a = arguments.length - 2;
|
|
157
|
-
if (a === 1) r.children = n;
|
|
158
|
-
else if (1 < a) {
|
|
159
|
-
for (var i = Array(a), l = 0; l < a; l++) i[l] = arguments[l + 2];
|
|
160
|
-
r.children = i;
|
|
161
|
-
}
|
|
162
|
-
return S(t.type, u, void 0, 0, 0, r);
|
|
163
|
-
}, o.createContext = function(t) {
|
|
164
|
-
return (t = { $$typeof: z, _currentValue: t, _currentValue2: t, _threadCount: 0, Provider: null, Consumer: null }).Provider = t, t.Consumer = { $$typeof: F, _context: t }, t;
|
|
165
|
-
}, o.createElement = function(t, e, n) {
|
|
166
|
-
var r, u = {}, a = null;
|
|
167
|
-
if (e != null) for (r in e.key !== void 0 && (a = "" + e.key), e) T.call(e, r) && r !== "key" && r !== "__self" && r !== "__source" && (u[r] = e[r]);
|
|
168
|
-
var i = arguments.length - 2;
|
|
169
|
-
if (i === 1) u.children = n;
|
|
170
|
-
else if (1 < i) {
|
|
171
|
-
for (var l = Array(i), f = 0; f < i; f++) l[f] = arguments[f + 2];
|
|
172
|
-
u.children = l;
|
|
173
|
-
}
|
|
174
|
-
if (t && t.defaultProps) for (r in i = t.defaultProps) u[r] === void 0 && (u[r] = i[r]);
|
|
175
|
-
return S(t, a, void 0, 0, 0, u);
|
|
176
|
-
}, o.createRef = function() {
|
|
177
|
-
return { current: null };
|
|
178
|
-
}, o.forwardRef = function(t) {
|
|
179
|
-
return { $$typeof: G, render: t };
|
|
180
|
-
}, o.isValidElement = E, o.lazy = function(t) {
|
|
181
|
-
return { $$typeof: R, _payload: { _status: -1, _result: t }, _init: B };
|
|
182
|
-
}, o.memo = function(t, e) {
|
|
183
|
-
return { $$typeof: Y, type: t, compare: e === void 0 ? null : e };
|
|
184
|
-
}, o.startTransition = function(t) {
|
|
185
|
-
var e = s.T, n = {};
|
|
186
|
-
s.T = n;
|
|
187
|
-
try {
|
|
188
|
-
var r = t(), u = s.S;
|
|
189
|
-
u !== null && u(n, r), typeof r == "object" && r !== null && typeof r.then == "function" && r.then(J, I);
|
|
190
|
-
} catch (a) {
|
|
191
|
-
I(a);
|
|
192
|
-
} finally {
|
|
193
|
-
s.T = e;
|
|
194
|
-
}
|
|
195
|
-
}, o.unstable_useCacheRefresh = function() {
|
|
196
|
-
return s.H.useCacheRefresh();
|
|
197
|
-
}, o.use = function(t) {
|
|
198
|
-
return s.H.use(t);
|
|
199
|
-
}, o.useActionState = function(t, e, n) {
|
|
200
|
-
return s.H.useActionState(t, e, n);
|
|
201
|
-
}, o.useCallback = function(t, e) {
|
|
202
|
-
return s.H.useCallback(t, e);
|
|
203
|
-
}, o.useContext = function(t) {
|
|
204
|
-
return s.H.useContext(t);
|
|
205
|
-
}, o.useDebugValue = function() {
|
|
206
|
-
}, o.useDeferredValue = function(t, e) {
|
|
207
|
-
return s.H.useDeferredValue(t, e);
|
|
208
|
-
}, o.useEffect = function(t, e, n) {
|
|
209
|
-
var r = s.H;
|
|
210
|
-
if (typeof n == "function") throw Error("useEffect CRUD overload is not enabled in this build of React.");
|
|
211
|
-
return r.useEffect(t, e);
|
|
212
|
-
}, o.useId = function() {
|
|
213
|
-
return s.H.useId();
|
|
214
|
-
}, o.useImperativeHandle = function(t, e, n) {
|
|
215
|
-
return s.H.useImperativeHandle(t, e, n);
|
|
216
|
-
}, o.useInsertionEffect = function(t, e) {
|
|
217
|
-
return s.H.useInsertionEffect(t, e);
|
|
218
|
-
}, o.useLayoutEffect = function(t, e) {
|
|
219
|
-
return s.H.useLayoutEffect(t, e);
|
|
220
|
-
}, o.useMemo = function(t, e) {
|
|
221
|
-
return s.H.useMemo(t, e);
|
|
222
|
-
}, o.useOptimistic = function(t, e) {
|
|
223
|
-
return s.H.useOptimistic(t, e);
|
|
224
|
-
}, o.useReducer = function(t, e, n) {
|
|
225
|
-
return s.H.useReducer(t, e, n);
|
|
226
|
-
}, o.useRef = function(t) {
|
|
227
|
-
return s.H.useRef(t);
|
|
228
|
-
}, o.useState = function(t) {
|
|
229
|
-
return s.H.useState(t);
|
|
230
|
-
}, o.useSyncExternalStore = function(t, e, n) {
|
|
231
|
-
return s.H.useSyncExternalStore(t, e, n);
|
|
232
|
-
}, o.useTransition = function() {
|
|
233
|
-
return s.H.useTransition();
|
|
234
|
-
}, o.version = "19.1.1", o;
|
|
235
|
-
}
|
|
236
|
-
function Q() {
|
|
237
|
-
return N || (N = 1, M.exports = K()), M.exports;
|
|
238
|
-
}
|
|
239
|
-
export {
|
|
240
|
-
Q as r
|
|
241
|
-
};
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { a as r } from "./BKyX0kH_WAVGO7fi.js";
|
|
2
|
-
import { r as n } from "./_PvCIesF9faJSoze.js";
|
|
3
|
-
import { Y as p, $ as S, B as k, ac as B, ab as I } 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 E = ["Ok", "Cancel"], G = n.memo((V) => {
|
|
11
|
-
const { value: a = null, context: t, onOption: c, onValidateOption: L, onDone: m, onUpdate: g, options: x = E, defaultOption: f = x?.[0], cancelOption: N = "Cancel", sx: C, ...h } = V, y = n.useMemo(() => t?.getNames().findValidName("Range1"), []), d = n.useMemo(() => {
|
|
12
|
-
if (!a) return !0;
|
|
13
|
-
}, []), [l, R] = n.useState({ displayText: a?.getName() ?? y, errorText: null }), [s, v] = n.useState({ displayValue: a?.getRanges() ?? t?.selection() ?? null, errorText: null }), [T, O] = n.useState(!1), b = n.useCallback(async (e) => !l.errorText && !s.errorText, [t]), j = p((e, o, u) => {
|
|
14
|
-
if (!o) {
|
|
15
|
-
let i = null;
|
|
16
|
-
d ? i = t?.getNames().addReference(l?.displayText, s?.displayValue, !1) : (a.getType() === "reference" && a.doBatch(() => {
|
|
17
|
-
a.setName(l?.displayText), a.setReference(s?.displayValue);
|
|
18
|
-
}, `Edit Named '${l?.displayText}'`), i = a), i && (i.select(), g(i, d));
|
|
19
|
-
}
|
|
20
|
-
c?.(e, o, u), m?.();
|
|
21
|
-
}, [t, l, s, m, c, f, N, g]), w = p((e) => {
|
|
22
|
-
let o = null;
|
|
23
|
-
try {
|
|
24
|
-
t?.getNames().validateName(e);
|
|
25
|
-
} catch (u) {
|
|
26
|
-
o = u.message;
|
|
27
|
-
}
|
|
28
|
-
R({ displayText: e, errorText: o });
|
|
29
|
-
}, []), D = p((e) => {
|
|
30
|
-
a && a.getName().toLowerCase() === e.toLowerCase() || t?.getNames().validateName(e);
|
|
31
|
-
}, [t, a]), F = n.useCallback((e) => {
|
|
32
|
-
v({ displayValue: e ?? null, errorText: null });
|
|
33
|
-
}, []);
|
|
34
|
-
return r.jsx(S, { title: (d ? "Define" : "Edit") + " Range", options: x, onOption: j, onValidateOption: b, defaultOption: f, cancelOption: N, autoFocusSel: ".autoFocus", sx: { width: "460px", ...C }, ...h, children: r.jsxs(k, { sx: { paddingTop: (e) => e.spacing(1), paddingBottom: (e) => e.spacing(0), rowGap: (e) => e.spacing(1), range: "flex", flexDirection: "column" }, children: [r.jsx(B, { formName: "name", defaultInput: y, value: l.displayText, onChangeInput: w, onValidate: D, onFocus: (e) => {
|
|
35
|
-
T || e.target?.select(), O(!0);
|
|
36
|
-
} }), r.jsx(I, { formName: "range", value: s.displayValue, onChangeInput: F, resolvedAddress: t.getNames().getRanges.bind(t.getNames()), onFocus: (e) => {
|
|
37
|
-
T || e.target?.select(), O(!0);
|
|
38
|
-
} })] }) });
|
|
39
|
-
});
|
|
40
|
-
export {
|
|
41
|
-
G as NamedReferenceDialog,
|
|
42
|
-
G as default
|
|
43
|
-
};
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { a as s } from "./BKyX0kH_WAVGO7fi.js";
|
|
2
|
-
import { r as n } from "./_PvCIesF9faJSoze.js";
|
|
3
|
-
import { Y as e, v as z, $ as E, B as K, a1 as R, T as W, x as O, ao as Y, C as y } 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 q = ["Input"], Q = n.memo(n.forwardRef((w, T) => {
|
|
11
|
-
const { initialValue: v = "", onOption: C, onValidateOption: l, onInputOption: r, onValidateInputOption: p, onDone: u, inputProps: c, inputLabel: F, inputType: S, inputPlaceHolder: I, options: d = q, autoFocusSel: b = ".autoFocus", cancelOption: m, defaultOption: g = d?.[0], ...j } = w, [k, P] = n.useState(!1), [a, V] = n.useState(v), [B, D] = n.useState(""), [$, H] = n.useState(!0), i = e(async (t, o) => {
|
|
12
|
-
if (!p) return !0;
|
|
13
|
-
const h = await p?.(t, o);
|
|
14
|
-
D(h?.message ?? "");
|
|
15
|
-
const x = h?.valid ?? !0;
|
|
16
|
-
return H(x), x;
|
|
17
|
-
}, [p]), f = e(async (t) => {
|
|
18
|
-
r?.(a, t);
|
|
19
|
-
}, [a, r, u, C, m, g]), L = e(async (t) => {
|
|
20
|
-
t.keyCode === z.Enter && await i?.(a, null);
|
|
21
|
-
}, [a, f]), M = e((t) => {
|
|
22
|
-
V(t.target.value), i?.(t.target.value, null);
|
|
23
|
-
}, [l]), N = e(async (t) => {
|
|
24
|
-
let o = await i(a, t);
|
|
25
|
-
try {
|
|
26
|
-
o !== !1 && (o = await i(a, t));
|
|
27
|
-
} catch {
|
|
28
|
-
}
|
|
29
|
-
return o ?? !0;
|
|
30
|
-
}, [a, l]);
|
|
31
|
-
return s.jsx(E, { options: d, onDone: u, onOption: (t, o) => {
|
|
32
|
-
o || f(t);
|
|
33
|
-
}, onValidateOption: N, cancelOption: m, defaultOption: g, autoFocusSel: b, ref: T, ...j, children: s.jsx(K, { sx: { paddingTop: (t) => t.spacing(1), paddingBottom: (t) => t.spacing(0) }, children: s.jsx(R, { sx: { paddingTop: (t) => t.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: s.jsx(W, { onFocus: (t) => {
|
|
34
|
-
k || t.target?.select(), P(!0);
|
|
35
|
-
}, type: S, label: F, helperText: B || " ", sx: { width: "100%", "& .MuiFormHelperText-root": { marginTop: (t) => t.spacing(0.5), color: $ ? void 0 : "error.main" } }, slotProps: { inputLabel: { shrink: !0 }, htmlInput: { placeholder: I, spellCheck: !1, autoComplete: "off", ...c, className: Y("autoFocus", c?.className), sx: { paddingTop: (t) => t.spacing(1.25), paddingBottom: (t) => t.spacing(0.75), backgroundImage: `linear-gradient(${O("#fff", y(5))}, ${O("#fff", y(5))})` } } }, value: a, onChange: M, onKeyDown: L, onContextMenu: (t) => {
|
|
36
|
-
t.stopPropagation();
|
|
37
|
-
} }) }) }) });
|
|
38
|
-
}));
|
|
39
|
-
export {
|
|
40
|
-
Q as default
|
|
41
|
-
};
|