@sheetxl/studio-vanilla 0.6.15 → 0.6.16
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/{BvBhOx1XIU5QdKAp.cjs → -kFzEiBOrzMIo3-Q.cjs} +1 -1
- package/browser/cjs/{qOL8BpauFAPxFerB.cjs → 4Wv88KJHUGD8WNH9.cjs} +1 -1
- package/browser/cjs/{TmJem0J2z9AcSsqQ.cjs → 711NYaEmqq4TSOn3.cjs} +1 -1
- package/browser/cjs/{DF0PSZgRc6j0En8S.cjs → 7_t8qbH6FkHHTE3s.cjs} +2 -2
- package/browser/cjs/{DDo1aY8cEywwkyEy.cjs → B3RQ004Y3OdIvk3c.cjs} +1 -1
- package/browser/cjs/{C6ZB9-gbFjj6T8Ey.cjs → B6maXpjBoW-uc-mx.cjs} +1 -1
- package/browser/cjs/{B5QU8E14jFTBMTj8.cjs → BAAzkkZv-L1yDiQ6.cjs} +2 -2
- package/browser/cjs/{C13mkSzeKONOsa7B.cjs → BJgA8_GvAft4V423.cjs} +1 -1
- package/browser/cjs/{112HmSoFq_28V_W3.cjs → BK4O29qOmHfia3UP.cjs} +1 -1
- package/browser/cjs/{BZqMUjkKTCjgEaXu.cjs → BNx_H9exPUEgBivk.cjs} +1 -1
- package/browser/cjs/{BKj9wr_lJAph-cd7.cjs → BPmNc_x_tDRGJLYT.cjs} +1 -1
- package/browser/cjs/{BrgP7aGtccxJL4b6.cjs → BUQmJXlGVfOeWfuV.cjs} +1 -1
- package/browser/cjs/{iQugKqlrPxbBOJBk.cjs → BaOy0b4aNPynwXnR.cjs} +1 -1
- package/browser/cjs/{BRmJUpvQ69uWmsZE.cjs → BgDoeua-D9XeQqt-.cjs} +1 -1
- package/browser/cjs/{OOK_PNA4C3q1seyP.cjs → BgFTp9SUFPO8AgTM.cjs} +1 -1
- package/browser/cjs/{D_FPak8QCvQp124t.cjs → Bl_WM-94JgXGkyNh.cjs} +1 -1
- package/browser/cjs/{bjHhgs5ub7uD7pxr.cjs → BnzmPXxrRi5mvIL4.cjs} +19 -19
- package/browser/cjs/Bob5x3q9l1igZ6Fg.cjs +330 -0
- package/browser/cjs/{Dc2MbXWvISwqQ5cr.cjs → BwduEWVS8CtiMXf-.cjs} +2 -2
- package/browser/cjs/{B4kmKkshzV8ARntP.cjs → Bx9MD2EvSkR6gi1e.cjs} +1 -1
- package/browser/cjs/{CI5dvIelBaZBBhKM.cjs → BykVjVAhMLanfeVx.cjs} +2 -2
- package/browser/cjs/{X6rho6kckZI6ZZ4e.cjs → BzYerDs_YEhl3Od6.cjs} +1 -1
- package/browser/cjs/{BLiNHaIixsfHPXY9.cjs → C-OGhxsNkeumWc2c.cjs} +1 -1
- package/browser/cjs/{C5j9ouUkt0kv-cEx.cjs → C0IRmuP51CoF8UGz.cjs} +199 -198
- package/browser/cjs/{oswoPekUju9VCkL5.cjs → C94pTCt-3BIGCUhO.cjs} +1 -1
- package/browser/cjs/{AANQR5Hv59qrl8yK.cjs → CI1CYyIhY5RHRrz8.cjs} +2 -2
- package/browser/cjs/CQBauP8J2uaCgSwi.cjs +6 -0
- package/browser/cjs/{BBC0T9lBHxsT3PfR.cjs → CjUI2STz0JuiCOkV.cjs} +2 -2
- package/browser/cjs/{DRCtGpFYefiRXuy7.cjs → CkyD6YJrOB1xnHjG.cjs} +1 -1
- package/browser/cjs/CmU8CGDf4Xjb3N6O.cjs +6 -0
- package/browser/cjs/{DdYT2BUYWUBqDr9B.cjs → Cm_sXa-x01uyrb86.cjs} +1 -1
- package/browser/cjs/{BHdrxR562sECFq-q.cjs → Cq-dltP1ZZGIThSB.cjs} +4 -4
- package/browser/cjs/{djq0XZT_jY2Gy_eq.cjs → CqwZRxyNANbcLEqu.cjs} +1 -1
- package/browser/cjs/{Cf5zyn64HRSdrkJB.cjs → D-PavNTFiiazngrP.cjs} +1 -1
- package/browser/cjs/{CzNeJ8ULBsEbv74z.cjs → D15doeQRi781h0yS.cjs} +1 -1
- package/browser/cjs/{uEcLLG9L8YPfQw1t.cjs → D5sdOzQupVYQZ8X6.cjs} +1 -1
- package/browser/cjs/{_3C9KlxegFx9Icfa.cjs → DDwTwt6KQoz6bXyu.cjs} +1 -1
- package/browser/cjs/{BU70-EsQNUEsWbJC.cjs → DHXNEvAYjVGmhN36.cjs} +1 -1
- package/browser/cjs/{Eutq-8zvBJ_0X2BC.cjs → DQckpnNA64KQJfxz.cjs} +2 -2
- package/browser/cjs/{C2QNVHRrkHEr61ep.cjs → DXRq47m-tDHXLZpp.cjs} +1 -1
- package/browser/cjs/{BJqkKb_03Zuo7dzj.cjs → D_IO7ejCpgVRzwue.cjs} +2 -2
- package/browser/cjs/Dm2b6HXdhdsNgxS9.cjs +6 -0
- package/browser/cjs/{BR3hc0cPiV3X7ZwT.cjs → Dqh-z_kTyrJyab9t.cjs} +1 -1
- package/browser/cjs/{PGMYHMPIEQ5WOc1D.cjs → DtIEI2x0BkjHmo4r.cjs} +1 -1
- package/browser/cjs/{CzUm6lh_QlGh7gaY.cjs → DtnL0Xx6NP2aLeLz.cjs} +2 -2
- package/browser/cjs/{D-AtfUZfDjosCujd.cjs → K-Ace_pyUq4gU7pY.cjs} +6 -6
- package/browser/cjs/{CS9x0Q12bOn9DKPd.cjs → Llg9cDvb6uXKanag.cjs} +1 -1
- package/browser/cjs/{C-R1xSAdYyKJn96M.cjs → OgTycreacq01fAsN.cjs} +3 -3
- package/browser/cjs/{D5IETssmSGJBFsSJ.cjs → RpDc1iyUUM37DB0x.cjs} +4 -4
- package/browser/cjs/Y88jPu8kZr-bqqiU.cjs +6 -0
- package/browser/cjs/{C4dDJfHwkc_2zavW.cjs → flNubQeVp2zJ94Ld.cjs} +2 -2
- package/browser/cjs/{BzZkMt-HG6XURpiR.cjs → hzUSJYH6jc2_dVs5.cjs} +2 -2
- package/browser/cjs/index.cjs +2 -2
- package/browser/cjs/{DVB6u6CMW0BP0hVE.cjs → iyApIr6-H-aeTxZM.cjs} +1 -1
- package/browser/cjs/{BV4owIMsloMYJest.cjs → pliz83ppR2gRpJwc.cjs} +1 -1
- package/browser/cjs/{HheQRXip96598-Fn.cjs → s-GoeyY3SBjppbEW.cjs} +4 -4
- package/browser/cjs/{6JFRMBQUbdAY2RLz.cjs → t-MNbCL2J5ZArSOq.cjs} +2 -2
- package/browser/cjs/{cx1ZTZSmWMXbJgm7.cjs → wlpFcNkvJnI_FZOE.cjs} +3 -3
- package/{cdn/assets/DKUFa8dSHIp0CB0P.js → browser/esm/B14z0JOQFwZju5U2.mjs} +1 -1
- package/browser/esm/{B7RU1pGpky7lyku7.mjs → B1l9D4ICrI6vKf34.mjs} +1 -1
- package/{cdn/assets/Df050Ja13SbBM4HD.js → browser/esm/B2KYixwu2_kIurJw.mjs} +1 -1
- package/browser/esm/{D43G7bm5fuCJkTV1.mjs → B7O3AC40GUSWJpOf.mjs} +1 -1
- package/browser/esm/{DnIcYyjHKctKiMo7.mjs → BBmnNOvSdJ3pM7-t.mjs} +4 -4
- package/browser/esm/{B64Pboi_a5VUGmCE.mjs → BJjKo7NhRbs51BuJ.mjs} +1 -1
- package/{cdn/assets/qPFVrTc0N3O8ZO_D.js → browser/esm/BMTlX1jCFMW4hCzU.mjs} +1 -1
- package/browser/esm/{BpBlC5_5gupwmUaI.mjs → BOPN0DV1Zld0t5O7.mjs} +1 -1
- package/browser/esm/{CIOUfwbGGMR_ahdI.mjs → BRD22vJSoeQb1Pl8.mjs} +1 -1
- package/browser/esm/{8mPMWI0-n5iE_fBE.mjs → BeL9RR7Iy7L5weWM.mjs} +8154 -8063
- package/browser/esm/{BVpMQyw4JDxy8Opo.mjs → BegYh8ceF2OP9bMv.mjs} +1 -1
- package/browser/esm/{Bd0krzMVb8bV0p7-.mjs → BfUAhXfHL0JRNI8-.mjs} +2 -2
- package/browser/esm/{71RxOId-S6FdkJL4.mjs → BiIrMVRuLg2IdnQf.mjs} +7 -7
- package/browser/esm/{CfRxxXcJeryywvzr.mjs → BmJZ38tcauRQ6pFV.mjs} +4 -4
- package/{cdn/assets/alx8cMSND6iOLLqL.js → browser/esm/BtaOfAef2NxPsef1.mjs} +1 -1
- package/browser/esm/{BdYcPq1KjctYUPwp.mjs → C1oYcOulPTFILJae.mjs} +3 -3
- package/browser/esm/{c9j3PhULiEBno39b.mjs → C3jh0s40CvI3oFRs.mjs} +2 -2
- package/browser/esm/{Oqf5CP2H-Cn3p8Fx.mjs → CAnEsQD5KDGA4Hjs.mjs} +1 -1
- package/{cdn/assets/CV2CnM5eGEUwDHmB.js → browser/esm/CHq_Ckbpl7jR21s4.mjs} +1 -1
- package/browser/esm/{B9brRCO5ysQy1VBL.mjs → CQgmLKfxYZoCNJHI.mjs} +1 -1
- package/browser/esm/{CGZUlPDHVSsQDtFs.mjs → CQrpZZ-1CtNxCPc9.mjs} +2 -2
- package/browser/esm/{SEUVwSx7lTfb1RmG.mjs → CWPGozYlq2fnGNx1.mjs} +1 -1
- package/{cdn/assets/ge1gPJIvnDxXZCEZ.js → browser/esm/CahOp7GMy8VHEsBw.mjs} +1 -1
- package/browser/esm/{qAxfVEP4AjOClLVI.mjs → CcjlX6Yl0Vkr6A2c.mjs} +1 -1
- package/browser/esm/{B91e0DiVdfcBcJCS.mjs → CdRBcPXrRa2IBe80.mjs} +2 -2
- package/browser/esm/{CP6SX-7tax-7RIn1.mjs → CgaubTG47opdZhye.mjs} +1 -1
- package/browser/esm/{ChpG-Tm7XNVgs11o.mjs → ChgYfVb4KZMBw7Fs.mjs} +11 -11
- package/browser/esm/{Cz6pdJrfou-xsGmx.mjs → CjIsNav925KuFd5F.mjs} +2 -2
- package/browser/esm/{CCfERPHtWRNQxRWc.mjs → CjfIhEH55YZkavRq.mjs} +1 -1
- package/browser/esm/{C1zEPCyBw0hOBOqP.mjs → CoH6IbDlr-zluALa.mjs} +3 -3
- package/{cdn/assets/Cq-KAp0qsafCVizI.js → browser/esm/CsKS8jl-7MrA_FPI.mjs} +1 -1
- package/browser/esm/{1WGuxfFEfEElh_GP.mjs → Cwck98-l4vk-h3rf.mjs} +2 -2
- package/browser/esm/{C1QRsvQt7pab9U9j.mjs → D3kVzfZsacwEXWbL.mjs} +6 -6
- package/browser/esm/{DXjJZSqo57C-u0id.mjs → D482zRNXaVrLuBOY.mjs} +2 -2
- package/{cdn/assets/DOUalwHAt9jLJvKl.js → browser/esm/D9nCbMhExtwht2tT.mjs} +1 -1
- package/browser/esm/{CxmaG3EMNZaQkgGN.mjs → DGZIC3UKLU32ANcZ.mjs} +1 -1
- package/browser/esm/{3GtN6IXxYOp_nMip.mjs → DIWp-r3nbNOm_pyE.mjs} +1 -1
- package/browser/esm/{Cm_rRN0SZD799U31.mjs → DNHLNCVrxo46FqvV.mjs} +2 -2
- package/{cdn/assets/JJslNdu8rUjxG2t4.js → browser/esm/DNQEKBXgef3WIPff.mjs} +2 -2
- package/browser/esm/{Dbnor1Qe5KQV9-mi.mjs → DPvq9--F3ugmge6v.mjs} +199 -198
- package/browser/esm/{B9J0tIk1bqlPmXPM.mjs → DU38hs6YlB_tz72-.mjs} +1 -1
- package/{cdn/assets/3Jq5A87GqMiPCmOV.js → browser/esm/DZeWR0ED-c0E3Cff.mjs} +1 -1
- package/{cdn/assets/DVNmOUZV88JCV1DQ.js → browser/esm/Da-Mr0uahMqzgpIA.mjs} +1 -1
- package/browser/esm/{DmhgqXFuBEtXjepy.mjs → Dbri0Gen47bGrMIg.mjs} +2 -2
- package/browser/esm/{DxRjJmHxF0a2wfsw.mjs → DbuuKeMHVZNtvjYx.mjs} +9 -9
- package/{cdn/assets/aR0uxxg-pJiXzFWj.js → browser/esm/DcLzZU5v2k4OW38I.mjs} +1 -1
- package/browser/esm/{B4RHl-gN4n8Xlm1o.mjs → DiVFXL20Rx94Ib_V.mjs} +10 -10
- package/browser/esm/{BeTTErxxM1HCOGmE.mjs → DjMpWb8vN4GP0Kke.mjs} +3 -3
- package/browser/esm/{Cx7Ei6eMwI2RPYdH.mjs → DjnHcd7owT22pyeb.mjs} +1 -1
- package/{cdn/assets/VThOmSWz6SC-ZrBE.js → browser/esm/JopNokOIkJBN3nxt.mjs} +1 -1
- package/browser/esm/{Cp2W_DEPCWRa_oR7.mjs → ODD7USoF0vFi2UIB.mjs} +1 -1
- package/browser/esm/{DM7FhwlS-0YfBrf7.mjs → SAM1hVVFlETdoDiu.mjs} +2 -2
- package/browser/esm/{CIdmRtclzUVDjje2.mjs → WMbhpVavj_NI9JRl.mjs} +1 -1
- package/browser/esm/{WwWPtVHwUI80RLc4.mjs → ZmodCJdz7Td5mPAL.mjs} +8 -8
- package/browser/esm/index.mjs +2 -2
- package/browser/esm/{lw5FpxPetrQ0Y3AQ.mjs → jp6n6MISPKnzMSYJ.mjs} +8 -8
- package/{cdn/assets/8bAudOR-T6B5FC0o.js → browser/esm/sBtF8NB1smuyscCK.mjs} +1 -1
- package/browser/esm/{CtYT9gsvZl_MSSFZ.mjs → xE3yKYtc9iVsM1_p.mjs} +1 -1
- package/{browser/esm/DKUFa8dSHIp0CB0P.mjs → cdn/assets/B14z0JOQFwZju5U2.js} +1 -1
- package/cdn/assets/{B7RU1pGpky7lyku7.js → B1l9D4ICrI6vKf34.js} +1 -1
- package/{browser/esm/Df050Ja13SbBM4HD.mjs → cdn/assets/B2KYixwu2_kIurJw.js} +1 -1
- package/cdn/assets/{C7mO7MC87iP9jcd-.js → B6ai9XPWEvRqL2sY.js} +10 -10
- package/cdn/assets/{D43G7bm5fuCJkTV1.js → B7O3AC40GUSWJpOf.js} +1 -1
- package/cdn/assets/{B_QlR-WfkljoZZGW.js → BAmVIxd-X6pt7Ll1.js} +11 -11
- package/cdn/assets/{x-Py9V0Ex2u_j9p-.js → BEY63iYfoXSMMhPr.js} +3 -3
- package/{browser/esm/togQV8fvvl7mm0ZR.mjs → cdn/assets/BEjaduQ41HNgCGam.js} +43 -43
- package/{browser/esm/qPFVrTc0N3O8ZO_D.mjs → cdn/assets/BMTlX1jCFMW4hCzU.js} +1 -1
- package/cdn/assets/{BpBlC5_5gupwmUaI.js → BOPN0DV1Zld0t5O7.js} +1 -1
- package/cdn/assets/{CIOUfwbGGMR_ahdI.js → BRD22vJSoeQb1Pl8.js} +1 -1
- package/cdn/assets/{DxQlQppj-vwPoq3z.js → BbZxC7ekWGZfbbSb.js} +8 -8
- package/cdn/assets/{i_obahjZilhMhv1e.js → BdPo4K8JsrPKD5yA.js} +3 -3
- package/cdn/assets/{BVpMQyw4JDxy8Opo.js → BegYh8ceF2OP9bMv.js} +1 -1
- package/cdn/assets/{BLMuOmR3m8mrgxIV.js → BhdrDDNVAJlH6IvS.js} +4 -4
- package/cdn/assets/{CzrONTzj1Zhg7H49.js → BjSLrqS_XiDtmLwJ.js} +2 -2
- package/cdn/assets/{NgBQl4okwTzwQtl_.js → BlG7nBYR0GkZsvKf.js} +1 -1
- package/cdn/assets/{DtXCu2PC4zJTDhai.js → BlbHPTunGfEP9Mlj.js} +2 -2
- package/{browser/esm/alx8cMSND6iOLLqL.mjs → cdn/assets/BtaOfAef2NxPsef1.js} +1 -1
- package/cdn/assets/{txuCK_4LZZfDYHVZ.js → By6_rIdBFxxlKzWw.js} +2 -2
- package/cdn/assets/{DMdyvoy4GIoB_umo.js → ByuI-7H6NubT3kMb.js} +9 -9
- package/cdn/assets/{DBW4v6mqmAouYUmj.js → C09_BgKMw0utwdfy.js} +3 -3
- package/cdn/assets/{Oqf5CP2H-Cn3p8Fx.js → CAnEsQD5KDGA4Hjs.js} +1 -1
- package/cdn/assets/{asSG7fnYpX4bmxCQ.js → CHYFny88eD9E5_8j.js} +2 -2
- package/{browser/esm/CV2CnM5eGEUwDHmB.mjs → cdn/assets/CHq_Ckbpl7jR21s4.js} +1 -1
- package/cdn/assets/{D6cRDKIuQFiJe8jt.js → CNUAH1vTDBkqUNob.js} +4 -4
- package/cdn/assets/{CRsnVSBnxT6Aq3sM.js → CNqZjd_FpGIxQbMR.js} +8 -8
- package/cdn/assets/{CaLV4_Ado8mKbczT.js → CO4MX0DR7gDk81Bg.js} +2 -2
- package/cdn/assets/{ChEoY4P_ElL4ohmo.js → COUCdXXHXh4nyAMH.js} +9683 -9592
- package/cdn/assets/{B9brRCO5ysQy1VBL.js → CQgmLKfxYZoCNJHI.js} +1 -1
- package/cdn/assets/{SEUVwSx7lTfb1RmG.js → CWPGozYlq2fnGNx1.js} +1 -1
- package/{browser/esm/ge1gPJIvnDxXZCEZ.mjs → cdn/assets/CahOp7GMy8VHEsBw.js} +1 -1
- package/cdn/assets/{qAxfVEP4AjOClLVI.js → CcjlX6Yl0Vkr6A2c.js} +1 -1
- package/cdn/assets/{CP6SX-7tax-7RIn1.js → CgaubTG47opdZhye.js} +1 -1
- package/cdn/assets/{Cbrt5CxcmpuvqgQD.js → CjT3QxlT5JjzaY7K.js} +7 -7
- package/cdn/assets/{CCfERPHtWRNQxRWc.js → CjfIhEH55YZkavRq.js} +1 -1
- package/cdn/assets/{BXK59v1RKmR9scc7.js → CoIH4LXlr9wqGAtG.js} +2 -2
- package/cdn/assets/{DwCISD3SEMYWstFl.js → Copl9KSHVGrrb3id.js} +2 -2
- package/{browser/esm/Cq-KAp0qsafCVizI.mjs → cdn/assets/CsKS8jl-7MrA_FPI.js} +1 -1
- package/cdn/assets/{DrfEE0n38AzW9BVW.js → Czxu8Ia6lwsnTy6z.js} +9 -9
- package/{browser/esm/DOUalwHAt9jLJvKl.mjs → cdn/assets/D9nCbMhExtwht2tT.js} +1 -1
- package/cdn/assets/{DcSB8I2WvED32hMN.js → DDFH8KhvVyAuXzH4.js} +3 -3
- package/cdn/assets/{CWK7Q_RIpDDYsuPQ.js → DGLbdtMWdeKKoYhD.js} +2 -2
- package/cdn/assets/{CxmaG3EMNZaQkgGN.js → DGZIC3UKLU32ANcZ.js} +1 -1
- package/cdn/assets/{3GtN6IXxYOp_nMip.js → DIWp-r3nbNOm_pyE.js} +1 -1
- package/cdn/assets/{DumNKgOH9Bb8OfCR.js → DIzUQJ4iBjOlhAUx.js} +5 -5
- package/cdn/assets/{B9J0tIk1bqlPmXPM.js → DU38hs6YlB_tz72-.js} +1 -1
- package/cdn/assets/{sQUx5B9h9FJh8AKF.js → DWJmtFb3z0lRWMGk.js} +199 -198
- package/{browser/esm/3Jq5A87GqMiPCmOV.mjs → cdn/assets/DZeWR0ED-c0E3Cff.js} +1 -1
- package/{browser/esm/DVNmOUZV88JCV1DQ.mjs → cdn/assets/Da-Mr0uahMqzgpIA.js} +1 -1
- package/{browser/esm/aR0uxxg-pJiXzFWj.mjs → cdn/assets/DcLzZU5v2k4OW38I.js} +1 -1
- package/cdn/assets/{CchPIH0VNCpl7l-P.js → Ddl-pHqHUXldMdv1.js} +6 -6
- package/cdn/assets/{Cx7Ei6eMwI2RPYdH.js → DjnHcd7owT22pyeb.js} +1 -1
- package/cdn/assets/{BcNh4CpPrft6_kfp.js → DkmLinnJhiwSd-FJ.js} +4 -4
- package/cdn/assets/{DFTtnJnPa1faFo62.js → DpPvsY5YFYI7N4fF.js} +1 -1
- package/cdn/assets/{Ijhbwie0AHwSh9oK.js → DtON3bF4JQRlPPET.js} +28 -28
- package/cdn/assets/{DrCUPk_5FJ06LQKp.js → GTePNUvTni80s4z4.js} +8 -8
- package/{browser/esm/VThOmSWz6SC-ZrBE.mjs → cdn/assets/JopNokOIkJBN3nxt.js} +1 -1
- package/cdn/assets/{Cp2W_DEPCWRa_oR7.js → ODD7USoF0vFi2UIB.js} +1 -1
- package/cdn/assets/{CIdmRtclzUVDjje2.js → WMbhpVavj_NI9JRl.js} +1 -1
- package/cdn/assets/{DX9gyEil_296JCEf.js → lT8HqiDpcAF_G8hN.js} +19 -19
- package/{browser/esm/8bAudOR-T6B5FC0o.mjs → cdn/assets/sBtF8NB1smuyscCK.js} +1 -1
- package/cdn/assets/{B490D3has8DtJqQf.js → ub0MY-AjaPEbuU96.js} +4 -4
- package/cdn/assets/{CtYT9gsvZl_MSSFZ.js → xE3yKYtc9iVsM1_p.js} +1 -1
- package/cdn/index.js +2 -2
- package/cdn/loader.js +1 -1
- package/package.json +3 -3
- package/browser/cjs/BMjXU0UUcWAorSdX.cjs +0 -6
- package/browser/cjs/BoYzk_jqUNbOP3Wo.cjs +0 -6
- package/browser/cjs/CIoCkVZytWz2x6kB.cjs +0 -330
- package/browser/cjs/CMu7LdFipBKv9XgL.cjs +0 -6
- package/browser/cjs/CkSqp_NCPcrcFPei.cjs +0 -6
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.16
|
|
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.6.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.16
|
|
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.6.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.16
|
|
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 {
|
|
1
|
+
import { D as Ot, M as Lt, ax as ye, ay as be, az as Mt, aA as wt, X as te, aB as xe, aC as we, aw as ve, aD as Se, Z as ee, w as Ce, aE as ke, n as Ae } from "./COUCdXXHXh4nyAMH.js";
|
|
2
2
|
/**
|
|
3
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.
|
|
3
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.16
|
|
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.
|
|
@@ -1059,14 +1059,14 @@ const Ge = (i, t, s) => {
|
|
|
1059
1059
|
ct ? n?.onText(d) : l || s?.onText(d);
|
|
1060
1060
|
} };
|
|
1061
1061
|
}, es = Object.freeze(Object.defineProperty({ __proto__: null, fromBufferXLSX: async (i, t) => {
|
|
1062
|
-
const { password: s, onWarning: o, createWorkbookOptions: n = {}, ...a } = t ?? {}, l = import("./
|
|
1062
|
+
const { password: s, onWarning: o, createWorkbookOptions: n = {}, ...a } = t ?? {}, l = import("./B1l9D4ICrI6vKf34.js"), g = import("./ByuI-7H6NubT3kMb.js");
|
|
1063
1063
|
let S = null;
|
|
1064
1064
|
try {
|
|
1065
1065
|
S = new DOMParser();
|
|
1066
1066
|
} catch {
|
|
1067
1067
|
}
|
|
1068
1068
|
let b = null;
|
|
1069
|
-
S || (b = import("./
|
|
1069
|
+
S || (b = import("./DU38hs6YlB_tz72-.js").then((u) => u.i));
|
|
1070
1070
|
let x = null, C = null, w = null;
|
|
1071
1071
|
try {
|
|
1072
1072
|
const u = await Promise.all([l, g, b]);
|
|
@@ -1310,7 +1310,7 @@ const Ge = (i, t, s) => {
|
|
|
1310
1310
|
}, _), st = he(p, gt), it = await (async (k, B = 8388608) => {
|
|
1311
1311
|
await (async () => {
|
|
1312
1312
|
if (typeof ReadableStream > "u") if (typeof window > "u") {
|
|
1313
|
-
const { ReadableStream: rt } = await import("./
|
|
1313
|
+
const { ReadableStream: rt } = await import("./B7O3AC40GUSWJpOf.js");
|
|
1314
1314
|
globalThis.ReadableStream = rt;
|
|
1315
1315
|
} else console.warn("Browser does not support ReadableStream; consider loading a polyfill.");
|
|
1316
1316
|
})();
|
|
@@ -1409,7 +1409,7 @@ const Ge = (i, t, s) => {
|
|
|
1409
1409
|
throw u instanceof ke && (A = "Unable to open XLSX. There are too many rows or columns."), new Error(A, { cause: u });
|
|
1410
1410
|
}
|
|
1411
1411
|
}, toBufferXLSX: async (i, t) => {
|
|
1412
|
-
const s = await import("./
|
|
1412
|
+
const s = await import("./B1l9D4ICrI6vKf34.js"), o = await i.toJSON(!0), n = s.utils.book_new();
|
|
1413
1413
|
for (let a = 0; a < o.sheets.length; a++) {
|
|
1414
1414
|
const l = o.sheets[a], g = s.utils.json_to_sheet([{}]);
|
|
1415
1415
|
s.utils.book_append_sheet(n, g, l.name);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.16
|
|
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 { X as le, M as S } from "./
|
|
1
|
+
import { X as le, M as S } from "./COUCdXXHXh4nyAMH.js";
|
|
2
2
|
/**
|
|
3
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.
|
|
3
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.16
|
|
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.
|
|
@@ -22,7 +22,7 @@ let R = null;
|
|
|
22
22
|
async function me() {
|
|
23
23
|
if (R) return R;
|
|
24
24
|
try {
|
|
25
|
-
return await (await import("./
|
|
25
|
+
return await (await import("./B14z0JOQFwZju5U2.js")).initialize();
|
|
26
26
|
} catch (b) {
|
|
27
27
|
throw R = null, b;
|
|
28
28
|
} finally {
|
|
@@ -216,7 +216,7 @@ interface Promise<T> {
|
|
|
216
216
|
c = t, l = s;
|
|
217
217
|
});
|
|
218
218
|
try {
|
|
219
|
-
const { initialize: t } = await import("./
|
|
219
|
+
const { initialize: t } = await import("./CgaubTG47opdZhye.js");
|
|
220
220
|
return v = await t(), c(), v;
|
|
221
221
|
} catch (t) {
|
|
222
222
|
throw console.error("Failed to import or initialize esbuild:", t), M = null, l(t), t;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.16
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { a as t } from "./
|
|
2
|
-
import { r as o } from "./
|
|
3
|
-
import {
|
|
1
|
+
import { a as t } from "./BjSLrqS_XiDtmLwJ.js";
|
|
2
|
+
import { r as o } from "./DDFH8KhvVyAuXzH4.js";
|
|
3
|
+
import { z as E, A as p, w as b, T as V, h as le, E as ae, G as re, H as ce, B as O, J as g, N as m, O as pe, Q as j, U as de, r as Y, o as R, V as ue, W as fe, Y as xe, $ as ge, p as T, a0 as q, a1 as me, a2 as he, a3 as Oe, y as je, j as Ce, l as ye, S as be } from "./COUCdXXHXh4nyAMH.js";
|
|
4
4
|
/**
|
|
5
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.
|
|
5
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.16
|
|
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.
|
|
9
9
|
*/
|
|
10
|
-
const Re = E(t.jsx("path", { d: "M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z" }), "ArrowBack"), Te = E(t.jsx("path", { d: "m20 12-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8z" }), "ArrowDownward"), ve = E(t.jsx("path", { d: "m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z" }), "ArrowForward"), ke = E(t.jsx("path", { d: "m4 12 1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8z" }), "ArrowUpward"),
|
|
10
|
+
const Re = E(t.jsx("path", { d: "M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z" }), "ArrowBack"), Te = E(t.jsx("path", { d: "m20 12-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8z" }), "ArrowDownward"), ve = E(t.jsx("path", { d: "m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z" }), "ArrowForward"), ke = E(t.jsx("path", { d: "m4 12 1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8z" }), "ArrowUpward"), K = o.memo((v) => {
|
|
11
11
|
const { label: h, value: c, options: l, onSelect: d, tabIndex: C = 0, ...F } = v, [I, y] = o.useState(() => ee(c, l));
|
|
12
12
|
o.useEffect(() => {
|
|
13
13
|
y(ee(c, l));
|
|
@@ -25,32 +25,32 @@ const Se = { "By Rows": !0, "By Columns": !1 }, ee = (v, h) => {
|
|
|
25
25
|
if (h[d] === v) return d;
|
|
26
26
|
}
|
|
27
27
|
}, Ie = o.memo((v) => {
|
|
28
|
-
const { replace: h = !1, findText: c, replaceText: l, findOptions: d, replaceOptions: C, title: F, onHide: I, onFindOrReplace: y, ...L } = v, a = o.useRef(null), u = o.useRef(null),
|
|
28
|
+
const { replace: h = !1, findText: c, replaceText: l, findOptions: d, replaceOptions: C, title: F, onHide: I, onFindOrReplace: y, ...L } = v, a = o.useRef(null), u = o.useRef(null), B = o.useRef(null), H = o.useRef(null), M = o.useRef(null), $ = o.useRef(null), z = (e, n) => {
|
|
29
29
|
n && (n.start(e, { center: !1 }), setTimeout(() => n.stop(e), 180));
|
|
30
|
-
}, [W, w] = o.useState(!1), [D, se] = o.useState(!1), [f, A] = o.useState(h), [N,
|
|
30
|
+
}, [W, w] = o.useState(!1), [D, se] = o.useState(!1), [f, A] = o.useState(h), [N, P] = o.useState(!1), [U, G] = o.useState(!1), [i, r] = o.useState({ findText: null, replaceText: null, replace: h, replaceOptions: {}, findOptions: { matchCase: !1, matchEntireCell: !1, useRegex: !1, orientation: b.Orientation.Row, fields: [p.Content.Formulas] }, scope: Z.Sheet }), k = V(async (e, n, s, S) => {
|
|
31
31
|
if (!y) return;
|
|
32
32
|
const x = { ...i };
|
|
33
33
|
x.replaceOptions = { ...x.replaceOptions }, x.findOptions = { ...x.findOptions }, x.replaceOptions.maxCount = s ? void 0 : 1, x.replace = n, n && i.findOptions.fields?.[0] === p.Content.Values && (x.findOptions.fields = [p.Content.Formulas]), x.findOptions.reverse = !e;
|
|
34
34
|
const oe = await y({ autoFocus: S, ...x });
|
|
35
|
-
|
|
35
|
+
P(oe === 0);
|
|
36
36
|
}, [i, y]);
|
|
37
37
|
o.useEffect(() => {
|
|
38
|
-
|
|
38
|
+
P(!1);
|
|
39
39
|
}, [i, D, f]);
|
|
40
|
-
const
|
|
40
|
+
const J = V((e, n) => {
|
|
41
41
|
if (e.keyCode === le.Enter) {
|
|
42
42
|
if (!i.findText) return;
|
|
43
43
|
let s = !0, S = !1;
|
|
44
|
-
e.shiftKey && (s = !1), n ? (e.ctrlKey && e.altKey && (S = !0),
|
|
44
|
+
e.shiftKey && (s = !1), n ? (e.ctrlKey && e.altKey && (S = !0), z(e, S ? $.current : M.current)) : z(e, s ? H.current : B.current), k(s, n, S, !1);
|
|
45
45
|
}
|
|
46
|
-
}, [i]),
|
|
46
|
+
}, [i]), Q = o.useRef(null);
|
|
47
47
|
o.useLayoutEffect(() => {
|
|
48
48
|
r((e) => {
|
|
49
49
|
const n = { ...e };
|
|
50
50
|
n.findText = c && c.length > 0 ? c : e.findText ?? "", w(!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 }), i.findOptions.fields?.[0] || (i.findOptions.fields = [p.Content.Formulas]);
|
|
51
51
|
const s = !(!C && l === void 0);
|
|
52
52
|
return s && A(s), n;
|
|
53
|
-
}),
|
|
53
|
+
}), U || Q.current?.focus();
|
|
54
54
|
}, [c, l, d, C]), o.useEffect(() => {
|
|
55
55
|
f ? (i.findOptions.fields[0], p.Content.Values) : w(!0);
|
|
56
56
|
}, [f]), o.useEffect(() => {
|
|
@@ -58,10 +58,10 @@ const Se = { "By Rows": !0, "By Columns": !1 }, ee = (v, h) => {
|
|
|
58
58
|
a.current?.select(), w(!1);
|
|
59
59
|
}, { once: !0 });
|
|
60
60
|
}, [W, i]);
|
|
61
|
-
const [ie, { width:
|
|
62
|
-
return t.jsx(re, { ref:
|
|
63
|
-
|
|
64
|
-
}, PaperProps: { elevation:
|
|
61
|
+
const [ie, { width: X }] = ae();
|
|
62
|
+
return t.jsx(re, { ref: Q, title: F ?? (f ? "Find & Replace" : "Find"), initialPosition: { y: "35" }, autoFocusSel: ".input", onHide: I, onFocus: () => G(!0), onBlur: () => {
|
|
63
|
+
G(!1), P(!1);
|
|
64
|
+
}, PaperProps: { elevation: U ? 3 : 1 }, ...L, children: t.jsxs(ce, { dividers: !0, ref: ie, sx: { display: "flex", flexDirection: "column", paddingLeft: (e) => e.spacing(1.5), paddingRight: (e) => e.spacing(1.5) }, onKeyDown: (e) => {
|
|
65
65
|
if (e.key === "h" && e.ctrlKey) A(!0), a.current?.contains(document.activeElement) && u.current?.focus();
|
|
66
66
|
else if (e.key === "f" && e.ctrlKey) a.current?.focus();
|
|
67
67
|
else if (e.key === "c" && e.altKey) r((n) => {
|
|
@@ -84,7 +84,7 @@ const Se = { "By Rows": !0, "By Columns": !1 }, ee = (v, h) => {
|
|
|
84
84
|
se(e);
|
|
85
85
|
}, preventFocus: !0, label: "Toggle Additional Options", icon: m(t.jsx(pe, {})) }), t.jsx(g, { selected: f, onSelectToggle: (e) => {
|
|
86
86
|
A(e);
|
|
87
|
-
}, preventFocus: !0, label: "Toggle Replace", icon: m(t.jsx(de, {})), shortcut: { key: f ? "F" : "H", modifiers: [j.Ctrl] } })] }), t.jsxs(O, { sx: { display: "flex", flexDirection: "column", maxWidth: "100%", boxSizing: "border-box" }, children: [t.jsxs(O, { sx: { display: "flex", flexDirection: "row", alignItems: "center" }, children: [t.jsx(
|
|
87
|
+
}, preventFocus: !0, label: "Toggle Replace", icon: m(t.jsx(de, {})), shortcut: { key: f ? "F" : "H", modifiers: [j.Ctrl] } })] }), t.jsxs(O, { sx: { display: "flex", flexDirection: "column", maxWidth: "100%", boxSizing: "border-box" }, children: [t.jsxs(O, { sx: { display: "flex", flexDirection: "row", alignItems: "center" }, children: [t.jsx(Y, { label: "Find", InputLabelProps: { shrink: !0 }, InputProps: { sx: { paddingRight: (e) => e.spacing(1), minWidth: X > 460 ? "20em" : void 0, backgroundImage: `linear-gradient(${R("#fff", T(5))}, ${R("#fff", T(5))})` }, inputProps: { 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) } }, endAdornment: t.jsx(ue, { sx: { transform: "scale(0.75) translateX(16px)" }, position: "end", children: t.jsxs(O, { sx: { display: "flex", alignItems: "center", flexDirection: "row", gap: "1px" }, children: [t.jsx(g, { selected: i.findOptions.matchCase, onSelectToggle: (e) => {
|
|
88
88
|
r((n) => {
|
|
89
89
|
const s = { ...n };
|
|
90
90
|
return s.findOptions.matchCase = e, s;
|
|
@@ -104,38 +104,38 @@ const Se = { "By Rows": !0, "By Columns": !1 }, ee = (v, h) => {
|
|
|
104
104
|
const s = { ...n };
|
|
105
105
|
return s.findText = e.target.value, s;
|
|
106
106
|
});
|
|
107
|
-
}, onKeyDown: (e) =>
|
|
107
|
+
}, onKeyDown: (e) => J(e, !1), onContextMenu: (e) => {
|
|
108
108
|
e.stopPropagation();
|
|
109
109
|
} }), t.jsx(g, { selected: i.findOptions.reverse, onSelectToggle: (e) => {
|
|
110
110
|
k(!1, !1);
|
|
111
|
-
}, touchRippleRef:
|
|
111
|
+
}, touchRippleRef: B, label: "", shortcut: { key: "Enter", modifiers: [j.Shift] }, icon: m(i.findOptions.orientation !== b.Orientation.Column ? t.jsx(Re, {}) : t.jsx(ke, {})), disabled: !i.findText }), t.jsx(g, { selected: !i.findOptions.reverse, onSelectToggle: (e) => {
|
|
112
112
|
k(!0, !1);
|
|
113
|
-
}, touchRippleRef:
|
|
113
|
+
}, touchRippleRef: H, label: "Next Match", shortcut: { key: "Enter" }, icon: m(i.findOptions.orientation !== b.Orientation.Column ? t.jsx(ve, {}) : t.jsx(Te, {})), disabled: !i.findText })] }), t.jsx(q, { in: f, timeout: _, onExit: () => {
|
|
114
114
|
a.current?.focus();
|
|
115
|
-
}, children: t.jsxs(O, { sx: { display: "flex", flexDirection: "row", alignItems: "center", marginTop: (e) => e.spacing(2) }, children: [t.jsx(
|
|
115
|
+
}, children: t.jsxs(O, { sx: { display: "flex", flexDirection: "row", alignItems: "center", marginTop: (e) => e.spacing(2) }, children: [t.jsx(Y, { label: "Replace", InputLabelProps: { shrink: !0 }, InputProps: { sx: { paddingRight: (e) => e.spacing(1), backgroundImage: `linear-gradient(${R("#fff", T(5))}, ${R("#fff", T(5))})` }, inputProps: { 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: i.replaceText ?? "", onChange: (e) => {
|
|
116
116
|
r((n) => {
|
|
117
117
|
const s = { ...n };
|
|
118
118
|
return s.replaceText = e.target.value, s;
|
|
119
119
|
});
|
|
120
|
-
}, onKeyDown: (e) =>
|
|
120
|
+
}, onKeyDown: (e) => J(e, !0), onContextMenu: (e) => {
|
|
121
121
|
e.stopPropagation();
|
|
122
122
|
} }), t.jsx(g, { onSelectToggle: (e) => {
|
|
123
123
|
k(!0, !0);
|
|
124
|
-
}, touchRippleRef:
|
|
124
|
+
}, touchRippleRef: M, label: "Replace", shortcut: { key: "Enter" }, icon: m(t.jsx(me, {})), disabled: !i.findText }), t.jsx(g, { onSelectToggle: (e) => {
|
|
125
125
|
k(!0, !0, !0);
|
|
126
|
-
}, touchRippleRef:
|
|
126
|
+
}, touchRippleRef: $, label: "Replace All", shortcut: { key: "Enter", modifiers: [j.Ctrl, j.Alt] }, icon: m(t.jsx(he, {})), disabled: !i.findText })] }) })] })] }), t.jsx(q, { in: D, timeout: _, onExit: () => {
|
|
127
127
|
a.current?.focus();
|
|
128
|
-
}, children: t.jsxs(O, { sx: { minHeight: "10px", flex: "1 1 100%", display: "flex", flexDirection: "column", gap: (e) => e.spacing(0.5), marginTop: (e) => e.spacing(1) }, children: [t.jsx(Oe, { orientation: "horizontal", sx: { marginBottom: (e) => e.spacing(1.5) } }), t.jsxs(O, { sx: { display: "flex", flexDirection:
|
|
128
|
+
}, children: t.jsxs(O, { sx: { minHeight: "10px", flex: "1 1 100%", display: "flex", flexDirection: "column", gap: (e) => e.spacing(0.5), marginTop: (e) => e.spacing(1) }, children: [t.jsx(Oe, { orientation: "horizontal", sx: { marginBottom: (e) => e.spacing(1.5) } }), t.jsxs(O, { sx: { display: "flex", flexDirection: X >= 413 ? "row" : "column", justifyContent: "space-evenly", alignItems: "center", rowGap: (e) => e.spacing(2) }, tabIndex: -1, children: [t.jsx(K, { label: "Within", value: i.scope, options: Z, onSelect: (e) => {
|
|
129
129
|
r((n) => {
|
|
130
130
|
const s = { ...n };
|
|
131
131
|
return s.scope = e, s;
|
|
132
132
|
});
|
|
133
|
-
} }), t.jsx(
|
|
133
|
+
} }), t.jsx(K, { label: "Search", value: i.findOptions.orientation !== b.Orientation.Column, options: Se, onSelect: (e) => {
|
|
134
134
|
r((n) => {
|
|
135
135
|
const s = { ...n };
|
|
136
136
|
return s.findOptions.orientation = e ? b.Orientation.Row : b.Orientation.Column, s;
|
|
137
137
|
});
|
|
138
|
-
} }), t.jsx(
|
|
138
|
+
} }), t.jsx(K, { label: "Look in", value: f && i.findOptions.fields?.[0] === p.Content.Values ? p.Content.Formulas : i.findOptions.fields?.[0], options: f ? te : ne, onSelect: (e) => {
|
|
139
139
|
r((n) => {
|
|
140
140
|
const s = { ...n };
|
|
141
141
|
return s.findOptions.fields = [e], s;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { a as i } from "./
|
|
2
|
-
import { r as n } from "./
|
|
3
|
-
import { T as e,
|
|
1
|
+
import { a as i } from "./BjSLrqS_XiDtmLwJ.js";
|
|
2
|
+
import { r as n } from "./DDFH8KhvVyAuXzH4.js";
|
|
3
|
+
import { T as e, h as z, g as E, B as K, j as R, r as W, o as O, aF as q, p as y } from "./COUCdXXHXh4nyAMH.js";
|
|
4
4
|
/**
|
|
5
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.
|
|
5
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.16
|
|
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.
|
|
9
9
|
*/
|
|
10
10
|
const A = ["Input"], U = n.memo(n.forwardRef((w, T) => {
|
|
11
|
-
const { initialValue: F = "", onOption: I, onValidateOption: r, onInputOption: l, onValidateInputOption: p, onDone: u, inputProps: c, inputLabel: P, inputType: S, inputPlaceHolder:
|
|
11
|
+
const { initialValue: F = "", onOption: I, onValidateOption: r, onInputOption: l, onValidateInputOption: p, onDone: u, inputProps: c, inputLabel: P, inputType: S, inputPlaceHolder: j, options: d = A, autoFocusSel: v = ".autoFocus", cancelOption: g, defaultOption: m = d?.[0], ...C } = w, [b, k] = n.useState(!1), [a, V] = n.useState(F), [B, D] = n.useState(""), [H, L] = n.useState(!0), s = e(async (t, o) => {
|
|
12
12
|
if (!p) return !0;
|
|
13
13
|
const h = await p?.(t, o);
|
|
14
14
|
D(h?.message ?? "");
|
|
@@ -30,9 +30,9 @@ const A = ["Input"], U = n.memo(n.forwardRef((w, T) => {
|
|
|
30
30
|
}, [a, r]);
|
|
31
31
|
return i.jsx(E, { options: d, onDone: u, onOption: (t, o) => {
|
|
32
32
|
o || f(t);
|
|
33
|
-
}, onValidateOption: $, cancelOption: g, defaultOption: m, autoFocusSel:
|
|
34
|
-
|
|
35
|
-
}, type: S, label: P, helperText: B || " ", sx: { width: "100%", "& .MuiFormHelperText-root": { marginTop: (t) => t.spacing(0.5), color: H ? void 0 : "error.main" } }, InputLabelProps: { shrink: !0 }, InputProps: { inputProps: { placeholder:
|
|
33
|
+
}, onValidateOption: $, cancelOption: g, defaultOption: m, autoFocusSel: v, ref: T, ...C, children: i.jsx(K, { sx: { paddingTop: (t) => t.spacing(1), paddingBottom: (t) => t.spacing(0) }, children: i.jsx(R, { sx: { paddingTop: (t) => t.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: i.jsx(W, { onFocus: (t) => {
|
|
34
|
+
b || t.target?.select(), k(!0);
|
|
35
|
+
}, type: S, label: P, helperText: B || " ", sx: { width: "100%", "& .MuiFormHelperText-root": { marginTop: (t) => t.spacing(0.5), color: H ? void 0 : "error.main" } }, InputLabelProps: { shrink: !0 }, InputProps: { inputProps: { placeholder: j, spellCheck: !1, autoComplete: "off", ...c, className: q("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: N, onKeyDown: M, onContextMenu: (t) => {
|
|
36
36
|
t.stopPropagation();
|
|
37
37
|
} }) }) }) });
|
|
38
38
|
}));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.16
|
|
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.6.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.16
|
|
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.6.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.16
|
|
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,19 +1,19 @@
|
|
|
1
|
-
import { a as t } from "./
|
|
2
|
-
import { r as s } from "./
|
|
3
|
-
import { T as p,
|
|
1
|
+
import { a as t } from "./BjSLrqS_XiDtmLwJ.js";
|
|
2
|
+
import { r as s } from "./DDFH8KhvVyAuXzH4.js";
|
|
3
|
+
import { T as p, h as L, D as n, g as R, B as k, j as O, l as W, S as G, o as c, p as u, r as H, s as S, y as K } from "./COUCdXXHXh4nyAMH.js";
|
|
4
4
|
/**
|
|
5
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.
|
|
5
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.16
|
|
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.
|
|
9
9
|
*/
|
|
10
10
|
const q = ["Ok", "Cancel"], U = s.memo((F) => {
|
|
11
|
-
const { initialValue: w, context: f, onOption: h, onValidateOption: d, onInputOption:
|
|
12
|
-
|
|
13
|
-
}, [a,
|
|
14
|
-
e.keyCode ===
|
|
11
|
+
const { initialValue: w, context: f, onOption: h, onValidateOption: d, onInputOption: C, onDone: m, options: b = q, defaultOption: r = b?.[0], cancelOption: g = "Cancel", sx: P, ...D } = F, [a, v] = s.useState(w), [$, 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
15
|
}, [a, y]), N = p((e) => {
|
|
16
|
-
|
|
16
|
+
v(e.target.value), x?.(e.target.value, null);
|
|
17
17
|
}, [d]), V = p(async (e) => {
|
|
18
18
|
let o = await Promise.resolve(d?.(e));
|
|
19
19
|
try {
|
|
@@ -21,27 +21,27 @@ const q = ["Ok", "Cancel"], U = s.memo((F) => {
|
|
|
21
21
|
} catch {
|
|
22
22
|
}
|
|
23
23
|
return o ?? !0;
|
|
24
|
-
}, [d]), [
|
|
24
|
+
}, [d]), [T, j] = s.useState(n.Styles.lookupStyle(a).formatType ?? n.Type.Custom);
|
|
25
25
|
s.useEffect(() => {
|
|
26
|
-
|
|
26
|
+
j(n.Styles.lookupStyle(a).formatType ?? n.Type.Custom);
|
|
27
27
|
}, [a]);
|
|
28
28
|
const B = s.useMemo(() => {
|
|
29
29
|
const e = n.Styles.lookupPrimary(), o = (l) => t.jsx(K, { value: l, children: l }, l), i = Object.keys(e).map((l) => o(e[l].formatType));
|
|
30
30
|
return i.push(o(n.Type.Custom)), i;
|
|
31
|
-
}, []),
|
|
31
|
+
}, []), z = s.useCallback((e) => {
|
|
32
32
|
const o = e.target.value;
|
|
33
|
-
|
|
33
|
+
j(o);
|
|
34
34
|
const i = n.Styles.lookupDefault(o);
|
|
35
|
-
i &&
|
|
36
|
-
}, []),
|
|
35
|
+
i && v(i);
|
|
36
|
+
}, []), E = s.useMemo(() => {
|
|
37
37
|
const e = f();
|
|
38
38
|
return e.createTemporaryCell({ value: e.getValue() ?? 12345, style: { numberFormat: a } });
|
|
39
|
-
}, [
|
|
40
|
-
return t.jsx(R, { title: "Number Format", options:
|
|
41
|
-
|
|
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", ...P }, ...D, children: t.jsxs(k, { sx: { paddingTop: (e) => e.spacing(1), paddingBottom: (e) => e.spacing(0), rowGap: (e) => e.spacing(1), display: "flex", flexDirection: "column" }, children: [t.jsxs(O, { sx: { minWidth: 135 }, size: "small", children: [t.jsx(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
|
+
$ || e.target?.select(), I(!0);
|
|
42
42
|
}, sx: { "& .MuiFormHelperText-root": { marginTop: (e) => e.spacing(0.5) } }, InputLabelProps: { shrink: !0 }, InputProps: { inputProps: { 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
43
|
e.stopPropagation();
|
|
44
|
-
} }) }), t.jsxs(
|
|
44
|
+
} }) }), t.jsxs(k, { children: [t.jsx(S, { variant: "caption", component: "div", sx: { paddingLeft: (e) => e.spacing(2) }, children: "Preview" }), t.jsx(S, { variant: "body2", component: "div", sx: { borderRadius: (e) => `${e.shape.borderRadius}px`, padding: (e) => e.spacing(1), border: (e) => `1px solid ${e.palette.grey[400]}` }, children: E.getNumberFormat().displayText || "(empty)" })] })] }) });
|
|
45
45
|
});
|
|
46
46
|
export {
|
|
47
47
|
U as NumberFormatDialog,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.16
|
|
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,12 +1,12 @@
|
|
|
1
|
-
import { aw as y, w as C } from "./
|
|
1
|
+
import { aw as y, w as C } from "./COUCdXXHXh4nyAMH.js";
|
|
2
2
|
/**
|
|
3
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.
|
|
3
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.16
|
|
4
4
|
*
|
|
5
5
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
6
6
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
7
7
|
*/
|
|
8
8
|
const k = async (a, p) => {
|
|
9
|
-
const { trimLeadingBlankRow: i = !0, trimLeadingBlankColumn: f = !0, excludeHidden: m = !1, sheetKey: r = null, papaParseConfig: w = {} } = p || {}, u = await import("./
|
|
9
|
+
const { trimLeadingBlankRow: i = !0, trimLeadingBlankColumn: f = !0, excludeHidden: m = !1, sheetKey: r = null, papaParseConfig: w = {} } = p || {}, u = await import("./CWPGozYlq2fnGNx1.js").then((s) => s.p);
|
|
10
10
|
if (!a) throw new Error("workbook must be specified");
|
|
11
11
|
let t = null;
|
|
12
12
|
if (r === null ? t = a.getSelectedSheet() : typeof r == "number" ? t = a.getSheets().getItems()[r] : typeof r == "string" && (t = a.getSheets().getByName(r)), !t) throw new Error("invalid sheetKey specified");
|
|
@@ -27,7 +27,7 @@ const k = async (a, p) => {
|
|
|
27
27
|
const o = { ...w }, g = u.unparse(c, o);
|
|
28
28
|
return new TextEncoder().encode(g).buffer;
|
|
29
29
|
}, b = async (a, p) => {
|
|
30
|
-
const { papaParseConfig: i, setValuesOptions: f, createWorkbookOptions: m } = p ?? {}, r = await import("./
|
|
30
|
+
const { papaParseConfig: i, setValuesOptions: f, createWorkbookOptions: m } = p ?? {}, r = await import("./CWPGozYlq2fnGNx1.js").then((o) => o.p), w = new TextDecoder().decode(a);
|
|
31
31
|
let u = -1;
|
|
32
32
|
const t = new y(m), d = t.getSelectedSheet().getEntireRange().startIncrementalUpdates({ orientation: C.Orientation.Row }), c = p?.onProgress;
|
|
33
33
|
let e = 0;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.16
|
|
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.
|
package/cdn/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.16
|
|
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.
|
|
@@ -114,7 +114,7 @@ const S = /* @__PURE__ */ new Map(), k = (e, o = {}) => {
|
|
|
114
114
|
let d;
|
|
115
115
|
const C = async (e) => {
|
|
116
116
|
if (d) return d;
|
|
117
|
-
const { resolveDependencies: o } = await import("./assets/
|
|
117
|
+
const { resolveDependencies: o } = await import("./assets/CO4MX0DR7gDk81Bg.js"), s = await o(typeof e == "object" ? e?.dependencies : void 0);
|
|
118
118
|
return d = await (async (a, n) => {
|
|
119
119
|
typeof n == "string" && (n = { selector: n });
|
|
120
120
|
try {
|
package/cdn/loader.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
(function(e){typeof define=="function"&&define.amd?define(e):e()})(function(){"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.16
|
|
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.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sheetxl/studio-vanilla",
|
|
3
3
|
"description": "SheetXL Studio - Vanilla entry point for integrating SheetXL UI.",
|
|
4
|
-
"version": "0.6.
|
|
4
|
+
"version": "0.6.16",
|
|
5
5
|
"license": "SEE LICENSE IN <LICENSE>",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "./browser/esm/index.mjs",
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
"@mui/styled-engine": "^6.5.0",
|
|
42
42
|
"@mui/system": "^6.5.0",
|
|
43
43
|
"@mui/utils": "^6.4.9",
|
|
44
|
-
"@sheetxl/studio-mui": "^0.6.
|
|
45
|
-
"@sheetxl/sdk": "^0.6.
|
|
44
|
+
"@sheetxl/studio-mui": "^0.6.16",
|
|
45
|
+
"@sheetxl/sdk": "^0.6.16",
|
|
46
46
|
"react": "^19.1.0",
|
|
47
47
|
"react-dom": "^19.1.0",
|
|
48
48
|
"csstype": "^3.1.3",
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.15
|
|
3
|
-
*
|
|
4
|
-
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
|
-
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
-
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CIoCkVZytWz2x6kB.cjs"),w=["Ok","Cancel"],j=e.reactExports.memo(E=>{const{initialValue:T,context:x,onOption:m,onValidateOption:p,onInputOption:d,onDone:l,options:g=w,defaultOption:r=g?.[0],cancelOption:i="Cancel",sx:b,...v}=E,[o,y]=e.reactExports.useState(T),[C,O]=e.reactExports.useState(!1),u=e.reactExports.useCallback(async(t,a)=>!0,[]),c=e.T(async t=>{d?.(o,t),m?.(t,t===i,t===r),l?.()},[o,d,l,m,i,r]),k=e.T(async t=>{t.keyCode===e.eo$1.Enter&&await u?.(o,null)!==!1&&c(r)},[o,c]),R=e.T(t=>{y(t.target.value),u?.(t.target.value,null)},[p]),S=e.T(async t=>{let a=await Promise.resolve(p?.(t));try{a!==!1&&(a=await Promise.resolve(u?.(o,t))??!0)}catch{}return a??!0},[p]),[h,f]=e.reactExports.useState(e.Lt.Styles.lookupStyle(o).formatType??e.Lt.Type.Custom);e.reactExports.useEffect(()=>{f(e.Lt.Styles.lookupStyle(o).formatType??e.Lt.Type.Custom)},[o]);const F=e.reactExports.useMemo(()=>{const t=e.Lt.Styles.lookupPrimary(),a=n=>e.jsxRuntimeExports.jsx(e.MenuItem,{value:n,children:n},n),s=Object.keys(t).map(n=>a(t[n].formatType));return s.push(a(e.Lt.Type.Custom)),s},[]),L=e.reactExports.useCallback(t=>{const a=t.target.value;f(a);const s=e.Lt.Styles.lookupDefault(a);s&&y(s)},[]),P=e.reactExports.useMemo(()=>{const t=x();return t.createTemporaryCell({value:t.getValue()??12345,style:{numberFormat:o}})},[h,o,x]);return e.jsxRuntimeExports.jsx(e.k3,{title:"Number Format",options:g,onDone:l,onOption:t=>c(t),onValidateOption:S,defaultOption:r,cancelOption:i,autoFocusSel:".autoFocus",sx:{width:"580px",...b},...v,children:e.jsxRuntimeExports.jsxs(e.Box,{sx:{paddingTop:t=>t.spacing(1),paddingBottom:t=>t.spacing(0),rowGap:t=>t.spacing(1),display:"flex",flexDirection:"column"},children:[e.jsxRuntimeExports.jsxs(e.FormControl,{sx:{minWidth:135},size:"small",children:[e.jsxRuntimeExports.jsx(e.InputLabel,{children:"Category"}),e.jsxRuntimeExports.jsx(e.Select,{value:h,label:"Category",onChange:L,sx:{backgroundImage:`linear-gradient(${e.alpha("#fff",e.getOverlayAlpha(5))}, ${e.alpha("#fff",e.getOverlayAlpha(5))})`},children:F})]}),e.jsxRuntimeExports.jsx(e.FormControl,{sx:{paddingTop:t=>t.spacing(1.5),minWidth:135,width:"100%"},size:"small",children:e.jsxRuntimeExports.jsx(e.TextField,{label:"Code",onFocus:t=>{C||t.target?.select(),O(!0)},sx:{"& .MuiFormHelperText-root":{marginTop:t=>t.spacing(.5)}},InputLabelProps:{shrink:!0},InputProps:{inputProps:{className:"autoFocus",spellCheck:!1,autoComplete:"off",sx:{paddingTop:t=>t.spacing(1.25),paddingBottom:t=>t.spacing(.75),backgroundImage:`linear-gradient(${e.alpha("#fff",e.getOverlayAlpha(5))}, ${e.alpha("#fff",e.getOverlayAlpha(5))})`}}},value:o,onChange:R,onKeyDown:k,onContextMenu:t=>{t.stopPropagation()}})}),e.jsxRuntimeExports.jsxs(e.Box,{children:[e.jsxRuntimeExports.jsx(e.Typography,{variant:"caption",component:"div",sx:{paddingLeft:t=>t.spacing(2)},children:"Preview"}),e.jsxRuntimeExports.jsx(e.Typography,{variant:"body2",component:"div",sx:{borderRadius:t=>`${t.shape.borderRadius}px`,padding:t=>t.spacing(1),border:t=>`1px solid ${t.palette.grey[400]}`},children:P.getNumberFormat().displayText||"(empty)"})]})]})})});exports.NumberFormatDialog=j,exports.default=j;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.15
|
|
3
|
-
*
|
|
4
|
-
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
|
-
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
-
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CIoCkVZytWz2x6kB.cjs"),G=e.createSvgIcon(e.jsxRuntimeExports.jsx("path",{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z"}),"ArrowBack"),X=e.createSvgIcon(e.jsxRuntimeExports.jsx("path",{d:"m20 12-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8z"}),"ArrowDownward"),J=e.createSvgIcon(e.jsxRuntimeExports.jsx("path",{d:"m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"}),"ArrowForward"),Q=e.createSvgIcon(e.jsxRuntimeExports.jsx("path",{d:"m4 12 1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8z"}),"ArrowUpward"),T=e.reactExports.memo(g=>{const{label:d,value:a,options:i,onSelect:p,tabIndex:f=0,...R}=g,[O,m]=e.reactExports.useState(()=>z(a,i));e.reactExports.useEffect(()=>{m(z(a,i))},[a,i]);const y=e.T(c=>{m(c.target.value),p?.(i[c.target.value])},[p,i]),r=e.reactExports.useMemo(()=>Object.keys(i).map(c=>e.jsxRuntimeExports.jsx(e.MenuItem,{value:c,children:c},c)),[i]);return e.jsxRuntimeExports.jsxs(e.FormControl,{sx:{minWidth:135},size:"small",children:[e.jsxRuntimeExports.jsx(e.InputLabel,{children:d}),e.jsxRuntimeExports.jsx(e.Select,{inputProps:{tabIndex:f},value:O,label:d,onChange:y,sx:{backgroundImage:`linear-gradient(${e.alpha("#fff",e.getOverlayAlpha(5))}, ${e.alpha("#fff",e.getOverlayAlpha(5))})`},...R,children:r})]})}),k={Workbook:"workbook",Sheet:"sheet"},$={enter:140,exit:140},Z={Formulas:e.ke.Content.Formulas,Values:e.ke.Content.Values,Notes:e.ke.Content.Notes,Comments:e.ke.Content.Comments},W={...Z};delete W.Values;const Y={"By Rows":!0,"By Columns":!1},z=(g,d)=>{const a=Object.keys(d);for(let i=0;i<a.length;i++){const p=a[i];if(d[p]===g)return p}},H=e.reactExports.memo(g=>{const{replace:d=!1,findText:a,replaceText:i,findOptions:p,replaceOptions:f,title:R,onHide:O,onFindOrReplace:m,...y}=g,r=e.reactExports.useRef(null),c=e.reactExports.useRef(null),S=e.reactExports.useRef(null),w=e.reactExports.useRef(null),I=e.reactExports.useRef(null),F=e.reactExports.useRef(null),A=(t,n)=>{n&&(n.start(t,{center:!1}),setTimeout(()=>n.stop(t),180))},[L,h]=e.reactExports.useState(!1),[C,N]=e.reactExports.useState(!1),[x,v]=e.reactExports.useState(d),[B,b]=e.reactExports.useState(!1),[D,P]=e.reactExports.useState(!1),[o,l]=e.reactExports.useState({findText:null,replaceText:null,replace:d,replaceOptions:{},findOptions:{matchCase:!1,matchEntireCell:!1,useRegex:!1,orientation:e.w.Orientation.Row,fields:[e.ke.Content.Formulas]},scope:k.Sheet}),j=e.T(async(t,n,s,E)=>{if(!m)return;const u={...o};u.replaceOptions={...u.replaceOptions},u.findOptions={...u.findOptions},u.replaceOptions.maxCount=s?void 0:1,u.replace=n,n&&o.findOptions.fields?.[0]===e.ke.Content.Values&&(u.findOptions.fields=[e.ke.Content.Formulas]),u.findOptions.reverse=!t;const q=await m({autoFocus:E,...u});b(q===0)},[o,m]);e.reactExports.useEffect(()=>{b(!1)},[o,C,x]);const M=e.T((t,n)=>{if(t.keyCode===e.eo$1.Enter){if(!o.findText)return;let s=!0,E=!1;t.shiftKey&&(s=!1),n?(t.ctrlKey&&t.altKey&&(E=!0),A(t,E?F.current:I.current)):A(t,s?w.current:S.current),j(s,n,E,!1)}},[o]),K=e.reactExports.useRef(null);e.reactExports.useLayoutEffect(()=>{l(t=>{const n={...t};n.findText=a&&a.length>0?a:t.findText??"",h(!0),i!==void 0&&(n.replaceText=i),p&&(n.findOptions={...n.findOptions,...p}),n.replaceText||(n.replaceText=""),n.replaceOptions&&(n.replaceOptions={...n.replaceOptions}),f&&(n.replaceOptions={...n.replaceOptions,...f}),o.findOptions.fields?.[0]||(o.findOptions.fields=[e.ke.Content.Formulas]);const s=!(!f&&i===void 0);return s&&v(s),n}),D||K.current?.focus()},[a,i,p,f]),e.reactExports.useEffect(()=>{x?(o.findOptions.fields[0],e.ke.Content.Values):h(!0)},[x]),e.reactExports.useEffect(()=>{if(L&&r.current&&o.findText===r.current.value)return r.current===document.activeElement||r.current.contains(document.activeElement)?(r.current?.select(),void h(!1)):void r.current.addEventListener("focus",()=>{r.current?.select(),h(!1)},{once:!0})},[L,o]);const[U,{width:V}]=e.Mo();return e.jsxRuntimeExports.jsx(e.x6,{ref:K,title:R??(x?"Find & Replace":"Find"),initialPosition:{y:"35"},autoFocusSel:".input",onHide:O,onFocus:()=>P(!0),onBlur:()=>{P(!1),b(!1)},PaperProps:{elevation:D?3:1},...y,children:e.jsxRuntimeExports.jsxs(e.DialogContent,{dividers:!0,ref:U,sx:{display:"flex",flexDirection:"column",paddingLeft:t=>t.spacing(1.5),paddingRight:t=>t.spacing(1.5)},onKeyDown:t=>{if(t.key==="h"&&t.ctrlKey)v(!0),r.current?.contains(document.activeElement)&&c.current?.focus();else if(t.key==="f"&&t.ctrlKey)r.current?.focus();else if(t.key==="c"&&t.altKey)l(n=>{const s={...n};return s.findOptions.matchCase=!n.findOptions.matchCase,s});else if(t.key==="e"&&t.altKey)l(n=>{const s={...n};return s.findOptions.matchEntireCell=!n.findOptions.matchEntireCell,s});else{if(t.key!=="r"||!t.altKey)return;l(n=>{const s={...n};return s.findOptions.useRegex=!n.findOptions.useRegex,s})}t.preventDefault()},children:[e.jsxRuntimeExports.jsxs(e.Box,{sx:{display:"flex",flexDirection:"row",gap:t=>t.spacing(1)},children:[e.jsxRuntimeExports.jsxs(e.Box,{sx:{display:"flex",flexDirection:"row",alignItems:"start",gap:t=>t.spacing(.25),paddingTop:"3px"},children:[e.jsxRuntimeExports.jsx(e.rt,{selected:C,onSelectToggle:t=>{N(t)},preventFocus:!0,label:"Toggle Additional Options",icon:e.p2(e.jsxRuntimeExports.jsx(e.b9,{}))}),e.jsxRuntimeExports.jsx(e.rt,{selected:x,onSelectToggle:t=>{v(t)},preventFocus:!0,label:"Toggle Replace",icon:e.p2(e.jsxRuntimeExports.jsx(e.g9,{})),shortcut:{key:x?"F":"H",modifiers:[e.Z.Ctrl]}})]}),e.jsxRuntimeExports.jsxs(e.Box,{sx:{display:"flex",flexDirection:"column",maxWidth:"100%",boxSizing:"border-box"},children:[e.jsxRuntimeExports.jsxs(e.Box,{sx:{display:"flex",flexDirection:"row",alignItems:"center"},children:[e.jsxRuntimeExports.jsx(e.TextField,{label:"Find",InputLabelProps:{shrink:!0},InputProps:{sx:{paddingRight:t=>t.spacing(1),minWidth:V>460?"20em":void 0,backgroundImage:`linear-gradient(${e.alpha("#fff",e.getOverlayAlpha(5))}, ${e.alpha("#fff",e.getOverlayAlpha(5))})`},inputProps:{draggable:!1,ref:r,className:"input",autoFocus:!0,spellCheck:!1,autoComplete:"off",sx:{paddingTop:t=>t.spacing(1.25),paddingBottom:t=>t.spacing(.75)}},endAdornment:e.jsxRuntimeExports.jsx(e.InputAdornment,{sx:{transform:"scale(0.75) translateX(16px)"},position:"end",children:e.jsxRuntimeExports.jsxs(e.Box,{sx:{display:"flex",alignItems:"center",flexDirection:"row",gap:"1px"},children:[e.jsxRuntimeExports.jsx(e.rt,{selected:o.findOptions.matchCase,onSelectToggle:t=>{l(n=>{const s={...n};return s.findOptions.matchCase=t,s})},label:"Match Case",shortcut:{key:"C",modifiers:[e.Z.Alt]},icon:e.p2(e.jsxRuntimeExports.jsx(e.V9,{}))}),e.jsxRuntimeExports.jsx(e.rt,{selected:o.findOptions.matchEntireCell,onSelectToggle:t=>{l(n=>{const s={...n};return s.findOptions.matchEntireCell=t,s})},label:"Match Entire Cell",shortcut:{key:"E",modifiers:[e.Z.Alt]},icon:e.p2(e.jsxRuntimeExports.jsx(e.H9,{}))}),e.jsxRuntimeExports.jsx(e.rt,{selected:o.findOptions.useRegex,onSelectToggle:t=>{l(n=>{const s={...n};return s.findOptions.useRegex=t,s})},label:"Use Regular Expression",shortcut:{key:"R",modifiers:[e.Z.Alt]},icon:e.p2(e.jsxRuntimeExports.jsx(e.z9,{}))})]})})},sx:{flex:"1 1 100%",marginRight:t=>t.spacing(1),"& .MuiOutlinedInput-notchedOutline":{borderColor:t=>B?`${t.palette.error.main} !important`:void 0},"& .MuiInputLabel-outlined":{color:t=>B?`${t.palette.error.main} !important`:void 0}},value:o.findText??"",onChange:t=>{l(n=>{const s={...n};return s.findText=t.target.value,s})},onKeyDown:t=>M(t,!1),onContextMenu:t=>{t.stopPropagation()}}),e.jsxRuntimeExports.jsx(e.rt,{selected:o.findOptions.reverse,onSelectToggle:t=>{j(!1,!1)},touchRippleRef:S,label:"",shortcut:{key:"Enter",modifiers:[e.Z.Shift]},icon:e.p2(o.findOptions.orientation!==e.w.Orientation.Column?e.jsxRuntimeExports.jsx(G,{}):e.jsxRuntimeExports.jsx(Q,{})),disabled:!o.findText}),e.jsxRuntimeExports.jsx(e.rt,{selected:!o.findOptions.reverse,onSelectToggle:t=>{j(!0,!1)},touchRippleRef:w,label:"Next Match",shortcut:{key:"Enter"},icon:e.p2(o.findOptions.orientation!==e.w.Orientation.Column?e.jsxRuntimeExports.jsx(J,{}):e.jsxRuntimeExports.jsx(X,{})),disabled:!o.findText})]}),e.jsxRuntimeExports.jsx(e.Collapse,{in:x,timeout:$,onExit:()=>{r.current?.focus()},children:e.jsxRuntimeExports.jsxs(e.Box,{sx:{display:"flex",flexDirection:"row",alignItems:"center",marginTop:t=>t.spacing(2)},children:[e.jsxRuntimeExports.jsx(e.TextField,{label:"Replace",InputLabelProps:{shrink:!0},InputProps:{sx:{paddingRight:t=>t.spacing(1),backgroundImage:`linear-gradient(${e.alpha("#fff",e.getOverlayAlpha(5))}, ${e.alpha("#fff",e.getOverlayAlpha(5))})`},inputProps:{ref:c,className:"input",spellCheck:!1,autoComplete:"off",sx:{paddingTop:t=>t.spacing(1.25),paddingBottom:t=>t.spacing(.75)}}},sx:{flex:"1 1 100%",marginRight:t=>t.spacing(1)},value:o.replaceText??"",onChange:t=>{l(n=>{const s={...n};return s.replaceText=t.target.value,s})},onKeyDown:t=>M(t,!0),onContextMenu:t=>{t.stopPropagation()}}),e.jsxRuntimeExports.jsx(e.rt,{onSelectToggle:t=>{j(!0,!0)},touchRippleRef:I,label:"Replace",shortcut:{key:"Enter"},icon:e.p2(e.jsxRuntimeExports.jsx(e.x9,{})),disabled:!o.findText}),e.jsxRuntimeExports.jsx(e.rt,{onSelectToggle:t=>{j(!0,!0,!0)},touchRippleRef:F,label:"Replace All",shortcut:{key:"Enter",modifiers:[e.Z.Ctrl,e.Z.Alt]},icon:e.p2(e.jsxRuntimeExports.jsx(e.C9,{})),disabled:!o.findText})]})})]})]}),e.jsxRuntimeExports.jsx(e.Collapse,{in:C,timeout:$,onExit:()=>{r.current?.focus()},children:e.jsxRuntimeExports.jsxs(e.Box,{sx:{minHeight:"10px",flex:"1 1 100%",display:"flex",flexDirection:"column",gap:t=>t.spacing(.5),marginTop:t=>t.spacing(1)},children:[e.jsxRuntimeExports.jsx(e.f8,{orientation:"horizontal",sx:{marginBottom:t=>t.spacing(1.5)}}),e.jsxRuntimeExports.jsxs(e.Box,{sx:{display:"flex",flexDirection:V>=413?"row":"column",justifyContent:"space-evenly",alignItems:"center",rowGap:t=>t.spacing(2)},tabIndex:-1,children:[e.jsxRuntimeExports.jsx(T,{label:"Within",value:o.scope,options:k,onSelect:t=>{l(n=>{const s={...n};return s.scope=t,s})}}),e.jsxRuntimeExports.jsx(T,{label:"Search",value:o.findOptions.orientation!==e.w.Orientation.Column,options:Y,onSelect:t=>{l(n=>{const s={...n};return s.findOptions.orientation=t?e.w.Orientation.Row:e.w.Orientation.Column,s})}}),e.jsxRuntimeExports.jsx(T,{label:"Look in",value:x&&o.findOptions.fields?.[0]===e.ke.Content.Values?e.ke.Content.Formulas:o.findOptions.fields?.[0],options:x?W:Z,onSelect:t=>{l(n=>{const s={...n};return s.findOptions.fields=[t],s})}})]})]})})]})})});exports.FindReplaceWindow=H,exports.ScopeOptions=k,exports.default=H;
|