@sheetxl/studio-vanilla 0.7.5 → 0.7.6
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/B7wz5PktsGQNKYoq.cjs +6 -0
- package/browser/cjs/{DtgzMHlfyHeAXjgF.cjs → BCp8EKu-fnWiHBVn.cjs} +1 -1
- package/browser/cjs/{B7u_MAMs5OAq4GdF.cjs → BDDGDj16_JM9JSNw.cjs} +1 -1
- package/browser/cjs/{DrZp2De1Ceg32Kr5.cjs → BExG5buAzGxZlmJw.cjs} +4 -4
- package/browser/cjs/{DXPn20Z-hXJj0Bjc.cjs → BFooBtpsd0cC8qDG.cjs} +1 -1
- package/browser/cjs/{CFR3i21biJwGBGDy.cjs → BVMvTKkVRG3ARblV.cjs} +1 -1
- package/browser/cjs/{BA4xgI8-YLnoV8Nt.cjs → BVjaiAwC49wwDMDI.cjs} +172 -172
- package/browser/cjs/{Dh6N83HOXQnIi6eD.cjs → BXZgVqL7XkYsoi33.cjs} +2 -2
- package/browser/cjs/{qHGOMnwcNQhF5hJK.cjs → BYG2IVD2Gqh-q7h2.cjs} +1 -1
- package/browser/cjs/{DcntS4dVnAy4TwCl.cjs → Bdri1EOZVClr_s5d.cjs} +3 -3
- package/browser/cjs/{CpY-5ZfeRzaP61dG.cjs → BgE8ast3JVnmh0C3.cjs} +8 -8
- package/browser/cjs/BiHqOGcXJWRP3FQy.cjs +32 -0
- package/browser/cjs/{DRoIkxlMmTEzzgsq.cjs → Bk3M_kByuRSgE2I7.cjs} +1 -1
- package/browser/cjs/{CkYsNsr2UZ6GJi0E.cjs → BkGg_LJgjZj1NXHZ.cjs} +1 -1
- package/browser/cjs/BtkQmDedsmbw95Pc.cjs +6 -0
- package/browser/cjs/{gxwT1w-qgEmDMY0E.cjs → BuBu8hoBcG1L5gWU.cjs} +1 -1
- package/browser/cjs/Bv5i7awWQ7wuK-N1.cjs +6 -0
- package/browser/cjs/{B6UICJx5Bw3JbPvz.cjs → BzgLQhJ2sqEZCsrb.cjs} +1 -1
- package/browser/cjs/{VqXvdfsWxA_K-5Ex.cjs → C2AUpeG75-dSdAU8.cjs} +2 -2
- package/browser/cjs/{C-KJcvl8tZsb4ira.cjs → C4IJ8og_7pYXOaaa.cjs} +1 -1
- package/browser/cjs/CA1KKidNd07a0DJH.cjs +11 -0
- package/browser/cjs/CEt7dvaTwfePj4ER.cjs +326 -0
- package/browser/cjs/{BG5LXAwXTxvszJnw.cjs → CR_3znwknfRYUQjJ.cjs} +2 -2
- package/browser/cjs/{Vf_ah_b03vdfE3ru.cjs → CSyKzMKdjLhLe40I.cjs} +1 -1
- package/browser/cjs/{C_-fevMsOzoeHUX1.cjs → CUpgKTIV0yg_QYHZ.cjs} +3 -3
- package/browser/cjs/{BlZO0VTkAeZHIiRF.cjs → CXoepqRJNlPbIb0L.cjs} +2 -2
- package/browser/cjs/{DyetmnKituvbVpAa.cjs → CbvWAZQhSUzqCg17.cjs} +1 -1
- package/browser/cjs/{rnqMim6wQNkN8UU4.cjs → CcpKk964zuH4DpgM.cjs} +19 -19
- package/browser/cjs/{BB1OETlqft3E7T5Z.cjs → CkA2FSMaiJvL4xnW.cjs} +1 -1
- package/browser/cjs/Ck_CXORzAURg_vBX.cjs +6 -0
- package/browser/cjs/{Cwnb4T0WdA2DpO6l.cjs → Cr07exWoIE8PUEEj.cjs} +2 -2
- package/browser/cjs/{DD4LnZu1J3JZmMST.cjs → CvfHD9dwIrbEr7hM.cjs} +2 -2
- package/browser/cjs/{BE-9cm3nACn3awgy.cjs → CwW8vJh2IPnMize_.cjs} +1 -1
- package/browser/cjs/{BhS7jv26uN8bTZHQ.cjs → D10iC-iUoXqxQ9CM.cjs} +1 -1
- package/browser/cjs/{Gj-mHeRNeqGqvlES.cjs → D3LgtUzW8PLgmpsZ.cjs} +1 -1
- package/browser/cjs/{w3tcpoHaegCl8_iT.cjs → DNQbFZZOmDP_rJEI.cjs} +1 -1
- package/browser/cjs/{CkkvS-F90xn4I7rJ.cjs → DQmdNFzWR-h9wYSi.cjs} +1 -1
- package/browser/cjs/{BPumuWTJVZfqK5CF.cjs → DSJLyqI4SU0MEH4t.cjs} +1 -1
- package/browser/cjs/{DmGAgS9-QDlvMpsH.cjs → DT7rBrGhpA-qvk1s.cjs} +9 -9
- package/browser/cjs/{D8bM6LcNtnUixiLd.cjs → DVN-SKDgVS0saY0w.cjs} +1 -1
- package/browser/cjs/{D_dgAvL8PqalpMMm.cjs → DbMWszNm4m-5OHJM.cjs} +1 -1
- package/browser/cjs/{O7wJ0khshNgDHhIc.cjs → DlekR-mM3nwaCQEe.cjs} +1 -1
- package/browser/cjs/{BG2KzPwReru_hA3S.cjs → DpTEicgZ3kB8YiOW.cjs} +2 -2
- package/browser/cjs/{B_PRKbKNzV31Ownq.cjs → DxV-3v_QDuTNlIGN.cjs} +1 -1
- package/browser/cjs/{D58RZavNtO-WdBdw.cjs → DxeyIaJ9kTqsgZRQ.cjs} +1 -1
- package/browser/cjs/DzZiFk2M690x2Na1.cjs +6 -0
- package/browser/cjs/{CA-8YHE5v74t05ah.cjs → DzhZxaJEM_tDkpp3.cjs} +1 -1
- package/browser/cjs/{BlCgecmBdf9cl7oF.cjs → FNnpnCx0BZnP5O_r.cjs} +1 -1
- package/browser/cjs/{pSQ1idMlzpT4UK0i.cjs → IvtzDl_wnrZdNyGU.cjs} +2 -2
- package/browser/cjs/{BVkDkd0RVFvIZheb.cjs → KsrjGYui6AhDRqb2.cjs} +1 -1
- package/browser/cjs/{hZddd0l0AwDjrIuc.cjs → L04N6OHKBL9HtaR6.cjs} +1 -1
- package/browser/cjs/{DBsNfJK9kgDaJIC5.cjs → LBIRCj-htZFg3vYw.cjs} +2 -2
- package/browser/cjs/{Bi1ZxHFcefcZx6ZG.cjs → h58md3Y3c_TrQFVs.cjs} +1 -1
- package/browser/cjs/index.cjs +2 -2
- package/browser/cjs/{C59GU2KGToOpxqIu.cjs → n8FQtLqAFmSMvjE4.cjs} +1 -1
- package/browser/cjs/{B7W2Oq164K4FSwFO.cjs → ogfsvA_pd4h9pATi.cjs} +1 -1
- package/browser/cjs/{DJmA92ScRYkRNHr8.cjs → tRdYhB45JaC-A2GK.cjs} +1 -1
- package/browser/cjs/{D7HKuOM-LllPjJbc.cjs → vboT_zkA4ebu7qb6.cjs} +2 -2
- package/browser/cjs/{CowjlwpqcDbAgu6c.cjs → xadQkBVply50Pfsy.cjs} +2 -2
- package/browser/esm/{CWeaTt0irkvWrqL4.mjs → 1oqbqwBb8fBG-SRu.mjs} +1 -1
- package/{cdn/assets/BkIUt0s6jqlrSO7t.js → browser/esm/2Q2-3kHAmqNdLDwx.mjs} +1 -1
- package/{cdn/assets/D9oZfnx8XQICAuAR.js → browser/esm/95UgFJTU5KLLCYf1.mjs} +1 -1
- package/{cdn/assets/CTXPqoD7oDVhBT4X.js → browser/esm/B-ODKhdttBS8vm_N.mjs} +1 -1
- package/browser/esm/B234kPv37vM5M_fj.mjs +147 -0
- package/{cdn/assets/BZ3YXob52SPxPFD0.js → browser/esm/B2xZE9bUnQFNq8II.mjs} +1 -1
- package/browser/esm/{Dht4DZVbawQlW51S.mjs → B2zSi60WxtMoZe1R.mjs} +6 -6
- package/browser/esm/{C0enYEAhREbynMAD.mjs → B6jSw9o_80cFla40.mjs} +16 -16
- package/{cdn/assets/uHHIT_oas6bdcl7T.js → browser/esm/BACzy7WLUtqbx_4H.mjs} +1 -1
- package/browser/esm/{B1TNjs3DJMr0pbtF.mjs → BBklcrb4gMwawbW0.mjs} +2 -2
- package/{cdn/assets/C-yV4uS4-pk7T8wq.js → browser/esm/BNtLK4CbKRlPzlKT.mjs} +1 -1
- package/browser/esm/{BiqoHhOyYEtpgfz5.mjs → BQEH9vzW6MLoEQpS.mjs} +1 -1
- package/browser/esm/{CF-pbKUy8CQ6SgES.mjs → B_8aGF2Dt1micWZg.mjs} +1 -1
- package/browser/esm/{DcuQQrT98E_v-m7J.mjs → B_x9S07WXHgD87c0.mjs} +4 -4
- package/{cdn/assets/C0vrzB1RhP0BA__i.js → browser/esm/Bab--HPvvqz_dgfE.mjs} +1 -1
- package/browser/esm/{avKJgk0IGcf5bqxl.mjs → BdviOCLagnd001u0.mjs} +7 -7
- package/browser/esm/{CxS-0-9S1ecpPb9-.mjs → BgY1Ko1OPI79IwRW.mjs} +175 -175
- package/browser/esm/{C65IVLH_eOUfD06X.mjs → BkUCD0Hn_pXVY8BG.mjs} +19 -19
- package/{cdn/assets/C-hXgLAdORdKqJmG.js → browser/esm/BoXZxgubGIYbaajd.mjs} +1 -1
- package/browser/esm/{CyUfBBxuRU6CZ5Kh.mjs → BpD67geWfh3vSqJb.mjs} +1 -1
- package/browser/esm/{DmwjTNRMu3mrAhEh.mjs → BrFqlosk1B5lJ1wT.mjs} +3 -3
- package/{cdn/assets/BAQ9yj7xFyqsJPAd.js → browser/esm/C7IRTn7ZcC4A4N9E.mjs} +1 -1
- package/browser/esm/{B4XZfefr-bz6Pdt9.mjs → CE_I19FK1G8gpXuH.mjs} +6 -6
- package/browser/esm/{4aFM9IYjAjyhZDlq.mjs → CGT3S9MzdRk9rFZa.mjs} +48 -48
- package/browser/esm/{D3KGlFIc4iOEQmRQ.mjs → CIyDrXxc2D-28-mW.mjs} +1 -1
- package/{cdn/assets/Mdu783AKqLQFuFAi.js → browser/esm/CNtcjn_Cn7cQOWP5.mjs} +1 -1
- package/{cdn/assets/C2IXaoRd-J1b0n7I.js → browser/esm/CQ7RZs6ggMhy9TKv.mjs} +1 -1
- package/{cdn/assets/BwuAACy86XQd0r9H.js → browser/esm/CXwDT0Rc1CeP5C6C.mjs} +1 -1
- package/browser/esm/{BS5tM0LLXtmU6BC_.mjs → Cck1ZCX3140-xMNV.mjs} +6 -6
- package/browser/esm/{CO6OkYBew2KKDX_5.mjs → CdWkJs6rYnFmetuJ.mjs} +1 -1
- package/{cdn/assets/DB2_f-Fg1FAY2Uvx.js → browser/esm/Cf3RGVsf9qqF9dVB.mjs} +1 -1
- package/{cdn/assets/CF4J6IDM30-WXhSx.js → browser/esm/CrM-2l9BMnS0Lkh1.mjs} +1 -1
- package/browser/esm/{DHXXvQ2x_fqmnpFp.mjs → CuTudjzephfkt36F.mjs} +5 -5
- package/browser/esm/{C7vHazx_6mthV4R9.mjs → Cx11CBX88voKcCgb.mjs} +12 -12
- package/browser/esm/{DcqxrKAC0CliCOd7.mjs → D2h5jM12-ZC4VX_T.mjs} +53 -53
- package/browser/esm/{CFIhGwAXjycz5dUq.mjs → D3h1wZvV9AHRqaZq.mjs} +4 -4
- package/browser/esm/{KhEEeC1dy1pEML_5.mjs → D8NWmHOvxbnTKXqJ.mjs} +6 -6
- package/browser/esm/{swe5uQxGiNoljwcZ.mjs → D8xKI9bNALrDO0EI.mjs} +1 -1
- package/{cdn/assets/D0A-tJxbcY0qDNob.js → browser/esm/DCyiJ8jlUG-B76Tb.mjs} +1 -1
- package/{cdn/assets/BoaC8MRCqtpP_goE.js → browser/esm/DDCRVmkZtcoY5u7P.mjs} +1 -1
- package/browser/esm/{QfpSUpja9WctKfdt.mjs → DElt69us9iAn7_Ww.mjs} +2 -2
- package/browser/esm/{sz9lJ3jlPzIUu-eI.mjs → DMKVMuMh4XJ4LGTp.mjs} +1 -1
- package/{cdn/assets/YUCx2g8ABxa1ExCE.js → browser/esm/DVTFDA3Ssz9_4NcI.mjs} +1 -1
- package/{cdn/assets/CA-iEdjENXePF7HK.js → browser/esm/DWvwKL3aLkiqeSo1.mjs} +8 -8
- package/{cdn/assets/CeUbcEwp0cNaqj18.js → browser/esm/DZUm1u-H4bx3eAew.mjs} +1 -1
- package/{cdn/assets/B7HO8ZpVKQq-WpI7.js → browser/esm/Dfx2_yQe2iRmxaeg.mjs} +1 -1
- package/browser/esm/{BfRx9yySN_e7ZQbb.mjs → DpfLzruLjqt5WaT4.mjs} +11 -11
- package/browser/esm/{k6dplGzG2KotvgOY.mjs → DsdO4-Dxa2PoruYq.mjs} +13 -13
- package/browser/esm/DwDbdg2MYgA3Tnfe.mjs +11 -0
- package/browser/esm/{prLy9D5nxrDTulYj.mjs → FMJGVl5BuwTspvXB.mjs} +2 -2
- package/{cdn/assets/CZO2hFD3umTBnm9r.js → browser/esm/Gye5i_y6LTkSeZWV.mjs} +1 -1
- package/{cdn/assets/BcEPkiSHERcWEWyl.js → browser/esm/T7q0269_QPB8lCOv.mjs} +1 -1
- package/browser/esm/{CYftWR0vSdUWRn2Z.mjs → Yx74P2tuzTl_vWeR.mjs} +20647 -20247
- package/browser/esm/{Sz_hlqiUydAUV9O5.mjs → ftYo_nnqtr7QkIOP.mjs} +2 -2
- package/browser/esm/index.mjs +2 -2
- package/{cdn/assets/BXeU9MWWLu7OeigM.js → browser/esm/pOUm75Y0UEeP9DxX.mjs} +1 -1
- package/{cdn/assets/Dyqyl22FQ7u-5nQg.js → browser/esm/ymbdHoeF6JmtSeHf.mjs} +1 -1
- package/browser/esm/{BODVsKHVApv63hi5.mjs → yvf7TZWzRux6eb-r.mjs} +2 -2
- package/browser/esm/{D5HhLgZ6vcAus0c9.mjs → zd-Kc5cLey9IZ283.mjs} +1 -1
- package/cdn/assets/{D1oNCgzGxkEm86ML.js → -ZtRkphm8qlj8ebp.js} +1 -1
- package/cdn/assets/{CWeaTt0irkvWrqL4.js → 1oqbqwBb8fBG-SRu.js} +1 -1
- package/{browser/esm/BkIUt0s6jqlrSO7t.mjs → cdn/assets/2Q2-3kHAmqNdLDwx.js} +1 -1
- package/cdn/assets/{CDv_n4Q4fyeHGNC-.js → 3tDFtZFz8w76rYBA.js} +19 -19
- package/cdn/assets/{BbpQ1Ci6AYjWQxnE.js → 5dKHsl0r2V-JmyNP.js} +2 -2
- package/cdn/assets/{C2xJ1-8E3UvCDFVm.js → 8lSvXDLbx-eV1Nz0.js} +175 -175
- package/{browser/esm/D9oZfnx8XQICAuAR.mjs → cdn/assets/95UgFJTU5KLLCYf1.js} +1 -1
- package/{browser/esm/CTXPqoD7oDVhBT4X.mjs → cdn/assets/B-ODKhdttBS8vm_N.js} +1 -1
- package/{browser/esm/BZ3YXob52SPxPFD0.mjs → cdn/assets/B2xZE9bUnQFNq8II.js} +1 -1
- package/{browser/esm/uHHIT_oas6bdcl7T.mjs → cdn/assets/BACzy7WLUtqbx_4H.js} +1 -1
- package/cdn/assets/{KyCZ140AgyGGZCcB.js → BCA5bMx1egW3eRmp.js} +14 -14
- package/cdn/assets/{Dtu0hv3Ab7CCrY4R.js → BH4LGqC8Z4Iqh7XS.js} +2 -2
- package/{browser/esm/C-yV4uS4-pk7T8wq.mjs → cdn/assets/BNtLK4CbKRlPzlKT.js} +1 -1
- package/cdn/assets/{BiqoHhOyYEtpgfz5.js → BQEH9vzW6MLoEQpS.js} +1 -1
- package/cdn/assets/{-C5nZ__wNloSiQBU.js → BXHEwZhPbMaOdb_Z.js} +3 -3
- package/cdn/assets/{AIT39BHt_2g-s3As.js → BXs2QdxsuX2lw_x3.js} +73 -73
- package/cdn/assets/{CF-pbKUy8CQ6SgES.js → B_8aGF2Dt1micWZg.js} +1 -1
- package/{browser/esm/C0vrzB1RhP0BA__i.mjs → cdn/assets/Bab--HPvvqz_dgfE.js} +1 -1
- package/{browser/esm/C-hXgLAdORdKqJmG.mjs → cdn/assets/BoXZxgubGIYbaajd.js} +1 -1
- package/cdn/assets/{CyUfBBxuRU6CZ5Kh.js → BpD67geWfh3vSqJb.js} +1 -1
- package/cdn/assets/{CVBaJALDWZmlWWg2.js → BqOHcOxJPktjB8oL.js} +23 -23
- package/cdn/assets/{YNhHFwthgm8SLyHw.js → Bqca9Nkofzm6UFZ1.js} +20578 -20178
- package/cdn/assets/{ryvwL5F0lm91Z45H.js → BtXsNo8KL5XLE7xA.js} +50 -50
- package/cdn/assets/{D7levSDmgvF1R_cy.js → ByTOIrEYNeA_wpXy.js} +6 -6
- package/cdn/assets/{CM3hIUGWZbcyiXoL.js → C2wV3vQ-5dEezy7R.js} +3 -3
- package/cdn/assets/{CleWxPUcczhRfrHP.js → C3urWNCGtWeKM42K.js} +4 -4
- package/cdn/assets/{CHtu2w8dUH9qE_gV.js → C75SpXwjYmdo6WC6.js} +9 -9
- package/{browser/esm/BAQ9yj7xFyqsJPAd.mjs → cdn/assets/C7IRTn7ZcC4A4N9E.js} +1 -1
- package/cdn/assets/{qnEXpda2bHmKI7XO.js → CHESIwo-YlB-g6gr.js} +2 -2
- package/cdn/assets/{D3KGlFIc4iOEQmRQ.js → CIyDrXxc2D-28-mW.js} +1 -1
- package/{browser/esm/Mdu783AKqLQFuFAi.mjs → cdn/assets/CNtcjn_Cn7cQOWP5.js} +1 -1
- package/{browser/esm/C2IXaoRd-J1b0n7I.mjs → cdn/assets/CQ7RZs6ggMhy9TKv.js} +1 -1
- package/{browser/esm/BwuAACy86XQd0r9H.mjs → cdn/assets/CXwDT0Rc1CeP5C6C.js} +1 -1
- package/cdn/assets/{CO6OkYBew2KKDX_5.js → CdWkJs6rYnFmetuJ.js} +1 -1
- package/{browser/esm/DB2_f-Fg1FAY2Uvx.mjs → cdn/assets/Cf3RGVsf9qqF9dVB.js} +1 -1
- package/cdn/assets/{DVWSXiPvUKCZl8c1.js → Cn0K1aSWZCVlK66V.js} +1 -1
- package/cdn/assets/{Cnl4kz_oDyI6jz9X.js → CnLv6xBX-8QXgr8C.js} +16 -16
- package/{browser/esm/CF4J6IDM30-WXhSx.mjs → cdn/assets/CrM-2l9BMnS0Lkh1.js} +1 -1
- package/cdn/assets/Cwd_PFnZO3GB10Ib.js +41 -0
- package/cdn/assets/{BcyrqopK0U_CLy9L.js → D6Bd-wh8DUctiTBq.js} +4 -4
- package/cdn/assets/{swe5uQxGiNoljwcZ.js → D8xKI9bNALrDO0EI.js} +1 -1
- package/{browser/esm/D0A-tJxbcY0qDNob.mjs → cdn/assets/DCyiJ8jlUG-B76Tb.js} +1 -1
- package/{browser/esm/BoaC8MRCqtpP_goE.mjs → cdn/assets/DDCRVmkZtcoY5u7P.js} +1 -1
- package/cdn/assets/{Dt4YpmBXEJFgXMqH.js → DNDzb50fYztOU6sL.js} +2 -2
- package/cdn/assets/DPUzShmQFsZiAy1y.js +22 -0
- package/cdn/assets/{BjqlgRc8H7Zwjgh4.js → DVE11KnTbk8UCl2L.js} +4 -4
- package/{browser/esm/YUCx2g8ABxa1ExCE.mjs → cdn/assets/DVTFDA3Ssz9_4NcI.js} +1 -1
- package/{browser/esm/CeUbcEwp0cNaqj18.mjs → cdn/assets/DZUm1u-H4bx3eAew.js} +1 -1
- package/cdn/assets/DZwStU2_wQO6T5Ug.js +12 -0
- package/cdn/assets/{Do8_yi3_u501_TAo.js → DfsGU1WZFPDvuEF7.js} +2 -2
- package/{browser/esm/B7HO8ZpVKQq-WpI7.mjs → cdn/assets/Dfx2_yQe2iRmxaeg.js} +1 -1
- package/cdn/assets/{vPZX1gXFAkrxoNqD.js → DnoVwExJraUmPO4h.js} +2 -2
- package/cdn/assets/{DmKA7DQzHDu4_OqC.js → Dqv_r2crwVb5hDRt.js} +2 -2
- package/cdn/assets/{1dSwxtvs5jJNozC2.js → DtDieGCmD7tfP-IC.js} +20 -20
- package/{browser/esm/DU9bcHdSn8g_qYPK.mjs → cdn/assets/F9FRh_1TEIanjKfd.js} +20 -20
- package/{browser/esm/CZO2hFD3umTBnm9r.mjs → cdn/assets/Gye5i_y6LTkSeZWV.js} +1 -1
- package/cdn/assets/JUjq8dsNEwlP2TmD.js +149 -0
- package/cdn/assets/{BGYzQCmu8YtQv0hk.js → L4iwFaFUwrc5iENg.js} +3 -3
- package/cdn/assets/{D7hbzFFwi6pemjZ6.js → RgzmLUjP4Fyf4q1K.js} +2 -2
- package/{browser/esm/BcEPkiSHERcWEWyl.mjs → cdn/assets/T7q0269_QPB8lCOv.js} +1 -1
- package/cdn/assets/{CTQArMyY5sn7brEn.js → eIefNRuHeizv4VyQ.js} +15 -15
- package/cdn/assets/{CrOJeFT3vEZBbGsU.js → ij04ZtjSyJ1O2CRc.js} +39 -39
- package/{browser/esm/BXeU9MWWLu7OeigM.mjs → cdn/assets/pOUm75Y0UEeP9DxX.js} +1 -1
- package/{browser/esm/Dyqyl22FQ7u-5nQg.mjs → cdn/assets/ymbdHoeF6JmtSeHf.js} +1 -1
- package/cdn/assets/{D5HhLgZ6vcAus0c9.js → zd-Kc5cLey9IZ283.js} +1 -1
- package/cdn/index.js +2 -2
- package/cdn/loader.js +1 -1
- package/package.json +3 -4
- package/browser/cjs/B3cy0yECplxmF-ZV.cjs +0 -6
- package/browser/cjs/BR1gc9EjvJSJsyo5.cjs +0 -6
- package/browser/cjs/CENfRAWXnNjIFG_1.cjs +0 -11
- package/browser/cjs/C_RM79K9AMokH2QJ.cjs +0 -330
- package/browser/cjs/DOJeH6L1b_NYsknS.cjs +0 -6
- package/browser/cjs/DhT5l1nC8v5n3mI2.cjs +0 -6
- package/browser/cjs/Dp2HaoMVlQBZmdJR.cjs +0 -32
- package/browser/esm/BY65rBGEqoRJMqBs.mjs +0 -147
- package/cdn/assets/-RmAWseMjh618sly.js +0 -22
- package/cdn/assets/Dxp8ZbLp35r7F-sp.js +0 -149
- package/cdn/assets/qQr5GMLkoqLrmdV0.js +0 -41
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.5
|
|
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 t=require("./C_RM79K9AMokH2QJ.cjs"),k=["Ok","Cancel"],N=t.reactExports.memo(E=>{const{value:a=null,context:s,onOption:p,onValidateOption:w,onDone:c,onUpdate:d,options:x=k,defaultOption:m=x?.[0],cancelOption:g="Cancel",sx:R,...O}=E,T=t.reactExports.useMemo(()=>s?.getNames().findValidName("Range1"),[]),i=t.reactExports.useMemo(()=>{if(!a)return!0},[]),[n,j]=t.reactExports.useState({displayText:a?.getName()??T,errorText:null}),[o,V]=t.reactExports.useState({displayValue:a?.getRanges()??s?.selection()??null,errorText:null}),[f,y]=t.reactExports.useState(!1),C=t.reactExports.useCallback(async e=>!n.errorText&&!o.errorText,[s]),h=t.T((e,l,u)=>{if(!l){let r=null;i?r=s?.getNames().addReference(n?.displayText,o?.displayValue,!1):(a.getType()==="reference"&&a.doBatch(()=>{a.setName(n?.displayText),a.setReference(o?.displayValue)},`Edit Named '${n?.displayText}'`),r=a),r&&(r.select(),d(r,i))}p?.(e,l,u),c?.()},[s,n,o,c,p,m,g,d]),v=t.T(e=>{let l=null;try{s?.getNames().validateName(e)}catch(u){l=u.message}j({displayText:e,errorText:l})},[]),S=t.T(e=>{a&&a.getName().toLowerCase()===e.toLowerCase()||s?.getNames().validateName(e)},[s,a]),b=t.reactExports.useCallback(e=>{V({displayValue:e??null,errorText:null})},[]);return t.jsxRuntimeExports.jsx(t.k3,{title:(i?"Define":"Edit")+" Range",options:x,onOption:h,onValidateOption:C,defaultOption:m,cancelOption:g,autoFocusSel:".autoFocus",sx:{width:"460px",...R},...O,children:t.jsxRuntimeExports.jsxs(t.Box,{sx:{paddingTop:e=>e.spacing(1),paddingBottom:e=>e.spacing(0),rowGap:e=>e.spacing(1),range:"flex",flexDirection:"column"},children:[t.jsxRuntimeExports.jsx(t.xu,{formName:"name",defaultInput:T,value:n.displayText,onChangeInput:v,onValidate:S,onFocus:e=>{f||e.target?.select(),y(!0)}}),t.jsxRuntimeExports.jsx(t.yu,{formName:"range",value:o.displayValue,onChangeInput:b,resolvedAddress:s.getNames().getRanges.bind(s.getNames()),onFocus:e=>{f||e.target?.select(),y(!0)}})]})})});exports.NamedReferenceDialog=N,exports.default=N;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.5
|
|
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("./C_RM79K9AMokH2QJ.cjs"),D=["Input"],M=e.reactExports.memo(e.reactExports.forwardRef((f,h)=>{const{initialValue:T="",onOption:y,onValidateOption:i,onInputOption:p,onValidateInputOption:r,onDone:s,inputProps:l,inputLabel:O,inputType:E,inputPlaceHolder:j,options:u=D,autoFocusSel:v=".autoFocus",cancelOption:c,defaultOption:d=u?.[0],...w}=f,[F,S]=e.reactExports.useState(!1),[o,P]=e.reactExports.useState(T),[b,C]=e.reactExports.useState(""),[I,k]=e.reactExports.useState(!0),n=e.T(async(t,a)=>{if(!r)return!0;const g=await r?.(t,a);C(g?.message??"");const m=g?.valid??!0;return k(m),m},[r]),x=e.T(async t=>{p?.(o,t)},[o,p,s,y,c,d]),R=e.T(async t=>{t.keyCode===e.ro.Enter&&await n?.(o,null)},[o,x]),V=e.T(t=>{P(t.target.value),n?.(t.target.value,null)},[i]),B=e.T(async t=>{let a=await n(o,t);try{a!==!1&&(a=await n(o,t))}catch{}return a??!0},[o,i]);return e.jsxRuntimeExports.jsx(e.k3,{options:u,onDone:s,onOption:(t,a)=>{a||x(t)},onValidateOption:B,cancelOption:c,defaultOption:d,autoFocusSel:v,ref:h,...w,children:e.jsxRuntimeExports.jsx(e.Box,{sx:{paddingTop:t=>t.spacing(1),paddingBottom:t=>t.spacing(0)},children:e.jsxRuntimeExports.jsx(e.FormControl,{sx:{paddingTop:t=>t.spacing(1.5),minWidth:135,width:"100%"},size:"small",children:e.jsxRuntimeExports.jsx(e.TextField,{onFocus:t=>{F||t.target?.select(),S(!0)},type:E,label:O,helperText:b||" ",sx:{width:"100%","& .MuiFormHelperText-root":{marginTop:t=>t.spacing(.5),color:I?void 0:"error.main"}},InputLabelProps:{shrink:!0},InputProps:{inputProps:{placeholder:j,spellCheck:!1,autoComplete:"off",...l,className:e.z0("autoFocus",l?.className),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:V,onKeyDown:R,onContextMenu:t=>{t.stopPropagation()}})})})})}));exports.default=M;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.5
|
|
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 b=require("./C_RM79K9AMokH2QJ.cjs");let $=null,L=null;const le={compilerOptions:{target:"esnext"}},se=async()=>`
|
|
7
|
-
interface FirstTest {
|
|
8
|
-
isTrue?: boolean;
|
|
9
|
-
}
|
|
10
|
-
`,Y=new Map([["IReferenceRange","r"],["IRange","l"]]),Z=new Map([["IWorkbook","workbook"],["ISheet","sheet"],["ICellRanges","ranges"],["ICellRange","range"],["IFormulaContext","context"]]),V=(T,S)=>{Array.from(S.keys()).forEach(z=>{const P=S.get(z);S.set(`${T}.${z}`,P)})},ce=new Map([["Scalar","*"],["FormulaError.Known",b.M.Error],["Date","Date"],["JSON","JSON"]]),de=new Map([]),U="SheetXL";V(U,Y),V(U,Z),V(U,de);const ue=new Map([["Promise",()=>({async:!0})],["Observable",()=>({stream:!0})]]);let R=null;async function pe(){if(R)return R;try{return await(await Promise.resolve().then(()=>require("./BVkDkd0RVFvIZheb.cjs"))).initialize()}catch(T){throw R=null,T}finally{R=null}}exports.compileModule=async function(T){const S=T?.source??null;if(!S)return null;const z=(T.disableBundle||T.declarationsOnly)??!1,P=[se(),pe()],X=await Promise.all(P),ee=X[0],n=X[1];let C="",j=null;const O=[],te={allowJs:!0,declaration:!1,sourceMap:!1,inlineSourceMap:!1,inlineSources:!1,isolatedModules:!0,preserveConstEnums:!1,module:99,noResolve:!0,emitDeclarationOnly:!1,target:n.ScriptTarget.ES2020},A="script",I=`${A}.ts`,_="lib.d.ts",H="global.d.ts",F={[I]:S,[_]:`
|
|
11
|
-
/**
|
|
12
|
-
* Represents the completion of an asynchronous operation
|
|
13
|
-
*/
|
|
14
|
-
interface Promise<T> {
|
|
15
|
-
/**
|
|
16
|
-
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
17
|
-
* resolved value cannot be modified from the callback.
|
|
18
|
-
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
19
|
-
* @returns A Promise for the completion of the callback.
|
|
20
|
-
*/
|
|
21
|
-
finally(onfinally?: (() => void) | undefined | null): Promise<T>;
|
|
22
|
-
}
|
|
23
|
-
`,[H]:ee},ne={getSourceFile:(e,o,y,r)=>n.createSourceFile(e,F[e],n.ScriptTarget.Latest,!0),fileExists:e=>F[e]!==void 0,readFile:e=>F[e],writeFile:(e,o)=>{F[e]=o},getCurrentDirectory:()=>"./",getCanonicalFileName:e=>e,useCaseSensitiveFileNames:()=>!0,getDefaultLibFileName:e=>_,getNewLine:()=>`
|
|
24
|
-
`},q=n.createProgram([I,H],te,ne),D=q.getTypeChecker(),re=q.getSourceFile(I),W=q.emit();W.diagnostics.length>0&&console.warn(W.diagnostics),C=F[`${A}.js`];const N=(e,o,y,r)=>{if(e){if(e.kind===n.SyntaxKind.NumberKeyword)o.scalar=b.M.Number;else if(e.kind===n.SyntaxKind.StringKeyword)o.scalar=b.M.String;else if(e.kind===n.SyntaxKind.BooleanKeyword)o.scalar=b.M.Boolean;else if(e.kind===n.SyntaxKind.UndefinedKeyword||e.kind===n.SyntaxKind.NullKeyword||e.kind===n.SyntaxKind.VoidKeyword){if(r)return void h(e,new Error(`'undefined' is not a valid type for input: '${e?.parent?.name?.escapedText}'.`));o.scalar=b.M.Null}else if(e.kind===n.SyntaxKind.BigIntKeyword)o.scalar=b.M.Number;else if(e.kind===n.SyntaxKind.AnyKeyword)o.scalar=b.M.Null;else if(e.kind===n.SyntaxKind.ArrayType){const i=e.elementType;if(!i)return void h(e,new Error(`'Array' must be typed: '${e?.parent?.name?.escapedText}'.`));o.arrayDepth=(o.arrayDepth??0)+1,N(i,o,y,r)}else if(e.kind!==n.SyntaxKind.TupleType&&e.kind===n.SyntaxKind.TypeReference){const i=e.typeName?.getText?.()??null,f=Y.get(i);let m=!1;f&&(o.range=f,m=!0);const x=ce.get(i);if(x&&(o.scalar=x),x!==void 0&&(m=!0),r){const c=Z.get(i);if(c)return c}else{const c=ue.get(i);if(c){const l={...o,...c()};let t=0;if(l.async&&t++,l.stream&&t++,t>1)return void h(e,new Error(`'${i}' cannot have multiple modifiers: '${e?.parent?.name?.escapedText}'.`));o=l,m=!0}}if(!m)return void h("node",new Error(`'${i}' is not a valid type: '${e?.parent?.name?.escapedText}'.`));const p=e.typeArguments;if(p){if(p.length!==1)return void h(e,new Error(`'${i}' must be typed with exactly 1 type: '${e?.parent?.name?.escapedText}'.`));N(p[0],o,y,r)}}}else h(e,new Error(`Type is not defined for '${o?.name??"return"}'.`))},k=[],h=(e,o)=>{k.push(o)};if(n.forEachChild(re,e=>{if(y=e,(n.getCombinedModifierFlags(y)&n.ModifierFlags.Export)!==0&&n.isFunctionDeclaration(e)){const r={},i={parameters:{}},f=e?.name?.getText();try{r.name=f;const m=D.getSymbolAtLocation(e.name).getDocumentationComment(D);if(m&&m.length>0&&m[0].text){let l=m[0].text;l=l.replace(/[\r\n]+/g,"\\n").trim(),i.summary=l}const x={};N(e.type,x,r,!1),r.returnType=x;const p={};o=e,(n.getCombinedModifierFlags(o)&n.ModifierFlags.Default)!==0&&(p.default=!0,j=f),Object.keys(p).length>0&&(r.behavior=p),r.parameters=[];const c=new Map;for(let l=0;l<e.parameters.length;l++){const t=e.parameters[l],s={};s.name=t.name?.getText();const E=N(t.type,s,r,!0);if(E){if(r.parameters.length!==0){const v=e?.parent,u=v?.name?.getText();return void h(e,new Error(`'${r.name}' contexts must be the first parameter: '${u}'.`))}r.context=E;continue}let g;if((t.initializer!==void 0&&t.initializer!==null||t.questionToken!==void 0&&t.questionToken!==null)&&(s.optional=!0,t.initializer))try{g=t.initializer.kind===n.SyntaxKind.StringLiteral?t.initializer.text:t.initializer.kind===n.SyntaxKind.NumericLiteral?parseFloat(t.initializer.text):t.initializer.kind===n.SyntaxKind.TrueKeyword||t.initializer.kind===n.SyntaxKind.FalseKeyword?t.initializer.kind===n.SyntaxKind.TrueKeyword:t.initializer.kind===n.SyntaxKind.NullKeyword?null:t.initializer.kind===n.SyntaxKind.ObjectLiteralExpression||t.initializer.kind===n.SyntaxKind.ArrayLiteralExpression?t.initializer.getText():t.initializer.getText?.()}catch(v){console.warn(`Couldn't extract default value for parameter '${s.name}'`,v)}t.dotDotDotToken&&(s.rest=!0),r.parameters.push(s);const d={description:""};i.parameters[s.name]=d;const a=D.getSymbolAtLocation(t.name).getDocumentationComment(D);a&&a.length>0&&a[0].text&&(d.description=a[0].text),g!==void 0&&(d.defaultValue=g),c.set(s.name,s)}if(e.jsDoc&&e.jsDoc.length>0){const l=e.jsDoc;for(let t=0;t<l.length;t++){const s=l[t]?.tags;if(s)for(let E=0;E<s.length;E++){const g=s[E];let d=g?.tagName?.text;if(!d)continue;d=d.toLowerCase();let a=g.comment;const v=d==="hidden";if((typeof a=="string"||v)&&(typeof a=="string"&&(a=a.replace(/[\r\n]+/g,"\\n").trim()),v||!a||(a=a.split(/\\n/)[0],a&&a.length!==0))){if(a&&typeof a=="string"){const u=/\{@link(code|plain)?\s+([^}|]+)(?:\s*\|\s*([^}]+))?\}/g;let w,K=a,M=[];for(;(w=u.exec(a))!==null;){const[B,J,oe,Q]=w,ae=[oe.trim()];Q&&ae.push(Q.trim())}a=K,M.length>0&&d==="see"&&(i.links||(i.links=[]),i.links.push(...M))}if(d==="name"){const u=a;u!==f&&(i.name=u)}else if(d!=="description"){if(d==="summary"){const u=a;u&&(i.summary=u)}else if(d==="param"){const u=g.name?.text,w=c.get(u);if(!w){k.push(new Error(`Parameter '${u}' not found in function '${f}'.`));continue}if(g.typeExpression&&g.typeExpression.type)try{const K=g.typeExpression.type;if(K.kind===n.SyntaxKind.UnionType){const M=[];w.enums=M,K.types.forEach(B=>{if(B.kind===n.SyntaxKind.LiteralType){const J=B.literal.text;J&&M.push(J)}})}}catch(K){console.warn("Error parsing JSDoc type expression:",K)}}else if(d==="returns"||d==="return")r.returnType.description=a;else if(d==="category")i.category=a;else if(d==="hidden"){let u=!0;const w=a?.toLowerCase();w==="false"?u=!1:w!=="true"&&(u=a),u!==!1&&(i.hidden=u??!0)}}}}}}Object.keys(r.returnType).length===0&&delete r.returnType,O.push([r,i])}catch(m){h(e,new Error(`'${f}': ${m.message}`))}}var o,y}),k.length>0)throw console.warn(k),new Error("There were compilation errors.",{cause:k});if(O.length===0)throw new Error("No exported functions.");const ie=`${b.te.uuidV4()}-script`;try{z||k.length!==0||(C=await(async function(e,o,y="/script.js",r="__SHEETXL"){try{const i=await(async function(){if($)return $;if(L){if(await L,!$)throw new Error("ESBuild initialization promise resolved, but instance is not available.");return $}let c,l;L=new Promise((t,s)=>{c=t,l=s});try{const{initialize:t}=await Promise.resolve().then(()=>require("./DJmA92ScRYkRNHr8.cjs"));return $=await t(),c(),$}catch(t){throw console.error("Failed to import or initialize esbuild:",t),L=null,l(t),t}})(),f="@sheetxl/primitives",m=`
|
|
25
|
-
export const FormulaContext = globalThis.${r}?.FormulaContext;
|
|
26
|
-
export const ScalarType = globalThis.${r}?.ScalarType;
|
|
27
|
-
export const Observable = globalThis.${r}?.Observable;
|
|
28
|
-
export const IRange = globalThis.${r}?.IRange;
|
|
29
|
-
export const FormulaError = globalThis.${r}?.FormulaError;
|
|
30
|
-
// Add more exports as needed
|
|
31
|
-
`,x={name:"sheetxl-esbuild-in-memory",setup(c){const l="sheetxl-"+new Date().getTime();c.onResolve({filter:new RegExp(`^(${y.replace("/","\\/")}|${f})$`)},t=>({path:t.path,namespace:l})),c.onResolve({filter:/.*/},t=>{if(t.namespace!==l)return console.warn(`esbuild: Treating import "${t.path}" as external.`),{path:t.path,external:!0}}),c.onLoad({filter:/.*/,namespace:l},t=>{let s;if(t.path===y)s=o;else{if(t.path!==f)return{errors:[{text:`Cannot load unknown path in ${l}: ${t.path}`}]};s=m}return{contents:s,loader:"ts"}})}},p=await i.build({entryPoints:[y],bundle:!0,write:!1,format:"esm",plugins:[x],sourcemap:"inline",tsconfigRaw:le,minify:!0,platform:"neutral"});if(p.outputFiles&&p.outputFiles.length>0)return p.outputFiles[0].text;throw p.errors&&p.errors.length>0?new Error(`esbuild bundling failed: ${p.errors.map(c=>c.text).join(`
|
|
32
|
-
`)}`):new Error("esbuild did not produce an output file.")}catch(i){throw console.error("esbuild bundling process failed:",i),i}})(0,C,A))}catch{console.warn("Error bundling script")}const G={functions:O,commitId:ie,source:S,name:"Script",language:"typescript",compiled:C};return j&&(G.autoRun=j),G};
|
|
@@ -1,147 +0,0 @@
|
|
|
1
|
-
import { n as E, j as t, r as o, o as p, w as b, T as M, b as le, N as ae, x as re, D as ce, B as O, p as g, q as m, s as pe, t as j, v as de, i as Q, f as v, y as ue, V as fe, H as xe, z as ge, h as R, A as Y, E as me, G as he, J as Oe, M as je, e as Ce, I as ye, S as be } from "./CYftWR0vSdUWRn2Z.mjs";
|
|
2
|
-
/**
|
|
3
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.5
|
|
4
|
-
*
|
|
5
|
-
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
6
|
-
* License: The license can be found at https://www.sheetxl.com/license.
|
|
7
|
-
*/
|
|
8
|
-
const ve = E(t.jsx("path", { d: "M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z" }), "ArrowBack"), Re = E(t.jsx("path", { d: "m20 12-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8z" }), "ArrowDownward"), Te = 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((T) => {
|
|
9
|
-
const { label: h, value: c, options: l, onSelect: d, tabIndex: C = 0, ...F } = T, [I, y] = o.useState(() => ee(c, l));
|
|
10
|
-
o.useEffect(() => {
|
|
11
|
-
y(ee(c, l));
|
|
12
|
-
}, [c, l]);
|
|
13
|
-
const D = M((u) => {
|
|
14
|
-
y(u.target.value), d?.(l[u.target.value]);
|
|
15
|
-
}, [d, l]), a = o.useMemo(() => Object.keys(l).map((u) => t.jsx(je, { value: u, children: u }, u)), [l]);
|
|
16
|
-
return t.jsxs(Ce, { sx: { minWidth: 135 }, size: "small", children: [t.jsx(ye, { children: h }), t.jsx(be, { inputProps: { tabIndex: C }, value: I, label: h, onChange: D, sx: { backgroundImage: `linear-gradient(${v("#fff", R(5))}, ${v("#fff", R(5))})` }, ...F, children: a })] });
|
|
17
|
-
}), 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 };
|
|
18
|
-
delete te.Values;
|
|
19
|
-
const Se = { "By Rows": !0, "By Columns": !1 }, ee = (T, h) => {
|
|
20
|
-
const c = Object.keys(h);
|
|
21
|
-
for (let l = 0; l < c.length; l++) {
|
|
22
|
-
const d = c[l];
|
|
23
|
-
if (h[d] === T) return d;
|
|
24
|
-
}
|
|
25
|
-
}, Ee = o.memo((T) => {
|
|
26
|
-
const { replace: h = !1, findText: c, replaceText: l, findOptions: d, replaceOptions: C, title: F, onHide: I, onFindOrReplace: y, ...D } = T, a = o.useRef(null), u = o.useRef(null), V = o.useRef(null), H = o.useRef(null), $ = o.useRef(null), z = o.useRef(null), B = (e, n) => {
|
|
27
|
-
n && (n.start(e, { center: !1 }), setTimeout(() => n.stop(e), 180));
|
|
28
|
-
}, [N, w] = o.useState(!1), [L, se] = o.useState(!1), [f, A] = o.useState(h), [W, P] = o.useState(!1), [G, U] = 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 = M(async (e, n, s, S) => {
|
|
29
|
-
if (!y) return;
|
|
30
|
-
const x = { ...i };
|
|
31
|
-
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;
|
|
32
|
-
const oe = await y({ autoFocus: S, ...x });
|
|
33
|
-
P(oe === 0);
|
|
34
|
-
}, [i, y]);
|
|
35
|
-
o.useEffect(() => {
|
|
36
|
-
P(!1);
|
|
37
|
-
}, [i, L, f]);
|
|
38
|
-
const q = M((e, n) => {
|
|
39
|
-
if (e.keyCode === le.Enter) {
|
|
40
|
-
if (!i.findText) return;
|
|
41
|
-
let s = !0, S = !1;
|
|
42
|
-
e.shiftKey && (s = !1), n ? (e.ctrlKey && e.altKey && (S = !0), B(e, S ? z.current : $.current)) : B(e, s ? H.current : V.current), k(s, n, S, !1);
|
|
43
|
-
}
|
|
44
|
-
}, [i]), J = o.useRef(null);
|
|
45
|
-
o.useLayoutEffect(() => {
|
|
46
|
-
r((e) => {
|
|
47
|
-
const n = { ...e };
|
|
48
|
-
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]);
|
|
49
|
-
const s = !(!C && l === void 0);
|
|
50
|
-
return s && A(s), n;
|
|
51
|
-
}), G || J.current?.focus();
|
|
52
|
-
}, [c, l, d, C]), o.useEffect(() => {
|
|
53
|
-
f ? (i.findOptions.fields[0], p.Content.Values) : w(!0);
|
|
54
|
-
}, [f]), o.useEffect(() => {
|
|
55
|
-
if (N && a.current && i.findText === a.current.value) return a.current === document.activeElement || a.current.contains(document.activeElement) ? (a.current?.select(), void w(!1)) : void a.current.addEventListener("focus", () => {
|
|
56
|
-
a.current?.select(), w(!1);
|
|
57
|
-
}, { once: !0 });
|
|
58
|
-
}, [N, i]);
|
|
59
|
-
const [ie, { width: X }] = ae();
|
|
60
|
-
return t.jsx(re, { ref: J, title: F ?? (f ? "Find & Replace" : "Find"), initialPosition: { y: "35" }, autoFocusSel: ".input", onHide: I, onFocus: () => U(!0), onBlur: () => {
|
|
61
|
-
U(!1), P(!1);
|
|
62
|
-
}, PaperProps: { elevation: G ? 3 : 1 }, ...D, 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) => {
|
|
63
|
-
if (e.key === "h" && e.ctrlKey) A(!0), a.current?.contains(document.activeElement) && u.current?.focus();
|
|
64
|
-
else if (e.key === "f" && e.ctrlKey) a.current?.focus();
|
|
65
|
-
else if (e.key === "c" && e.altKey) r((n) => {
|
|
66
|
-
const s = { ...n };
|
|
67
|
-
return s.findOptions.matchCase = !n.findOptions.matchCase, s;
|
|
68
|
-
});
|
|
69
|
-
else if (e.key === "e" && e.altKey) r((n) => {
|
|
70
|
-
const s = { ...n };
|
|
71
|
-
return s.findOptions.matchEntireCell = !n.findOptions.matchEntireCell, s;
|
|
72
|
-
});
|
|
73
|
-
else {
|
|
74
|
-
if (e.key !== "r" || !e.altKey) return;
|
|
75
|
-
r((n) => {
|
|
76
|
-
const s = { ...n };
|
|
77
|
-
return s.findOptions.useRegex = !n.findOptions.useRegex, s;
|
|
78
|
-
});
|
|
79
|
-
}
|
|
80
|
-
e.preventDefault();
|
|
81
|
-
}, children: [t.jsxs(O, { sx: { display: "flex", flexDirection: "row", gap: (e) => e.spacing(1) }, children: [t.jsxs(O, { sx: { display: "flex", flexDirection: "row", alignItems: "start", gap: (e) => e.spacing(0.25), paddingTop: "3px" }, children: [t.jsx(g, { selected: L, onSelectToggle: (e) => {
|
|
82
|
-
se(e);
|
|
83
|
-
}, preventFocus: !0, label: "Toggle Additional Options", icon: m(t.jsx(pe, {})) }), t.jsx(g, { selected: f, onSelectToggle: (e) => {
|
|
84
|
-
A(e);
|
|
85
|
-
}, 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(Q, { label: "Find", InputLabelProps: { shrink: !0 }, InputProps: { sx: { paddingRight: (e) => e.spacing(1), minWidth: X > 460 ? "20em" : void 0, backgroundImage: `linear-gradient(${v("#fff", R(5))}, ${v("#fff", R(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) => {
|
|
86
|
-
r((n) => {
|
|
87
|
-
const s = { ...n };
|
|
88
|
-
return s.findOptions.matchCase = e, s;
|
|
89
|
-
});
|
|
90
|
-
}, label: "Match Case", shortcut: { key: "C", modifiers: [j.Alt] }, icon: m(t.jsx(fe, {})) }), t.jsx(g, { selected: i.findOptions.matchEntireCell, onSelectToggle: (e) => {
|
|
91
|
-
r((n) => {
|
|
92
|
-
const s = { ...n };
|
|
93
|
-
return s.findOptions.matchEntireCell = e, s;
|
|
94
|
-
});
|
|
95
|
-
}, label: "Match Entire Cell", shortcut: { key: "E", modifiers: [j.Alt] }, icon: m(t.jsx(xe, {})) }), t.jsx(g, { selected: i.findOptions.useRegex, onSelectToggle: (e) => {
|
|
96
|
-
r((n) => {
|
|
97
|
-
const s = { ...n };
|
|
98
|
-
return s.findOptions.useRegex = e, s;
|
|
99
|
-
});
|
|
100
|
-
}, label: "Use Regular Expression", shortcut: { key: "R", modifiers: [j.Alt] }, icon: m(t.jsx(ge, {})) })] }) }) }, sx: { flex: "1 1 100%", marginRight: (e) => e.spacing(1), "& .MuiOutlinedInput-notchedOutline": { borderColor: (e) => W ? `${e.palette.error.main} !important` : void 0 }, "& .MuiInputLabel-outlined": { color: (e) => W ? `${e.palette.error.main} !important` : void 0 } }, value: i.findText ?? "", onChange: (e) => {
|
|
101
|
-
r((n) => {
|
|
102
|
-
const s = { ...n };
|
|
103
|
-
return s.findText = e.target.value, s;
|
|
104
|
-
});
|
|
105
|
-
}, onKeyDown: (e) => q(e, !1), onContextMenu: (e) => {
|
|
106
|
-
e.stopPropagation();
|
|
107
|
-
} }), t.jsx(g, { selected: i.findOptions.reverse, onSelectToggle: (e) => {
|
|
108
|
-
k(!1, !1);
|
|
109
|
-
}, touchRippleRef: V, label: "", shortcut: { key: "Enter", modifiers: [j.Shift] }, icon: m(i.findOptions.orientation !== b.Orientation.Column ? t.jsx(ve, {}) : t.jsx(ke, {})), disabled: !i.findText }), t.jsx(g, { selected: !i.findOptions.reverse, onSelectToggle: (e) => {
|
|
110
|
-
k(!0, !1);
|
|
111
|
-
}, touchRippleRef: H, label: "Next Match", shortcut: { key: "Enter" }, icon: m(i.findOptions.orientation !== b.Orientation.Column ? t.jsx(Te, {}) : t.jsx(Re, {})), disabled: !i.findText })] }), t.jsx(Y, { in: f, timeout: _, onExit: () => {
|
|
112
|
-
a.current?.focus();
|
|
113
|
-
}, children: t.jsxs(O, { sx: { display: "flex", flexDirection: "row", alignItems: "center", marginTop: (e) => e.spacing(2) }, children: [t.jsx(Q, { label: "Replace", InputLabelProps: { shrink: !0 }, InputProps: { sx: { paddingRight: (e) => e.spacing(1), backgroundImage: `linear-gradient(${v("#fff", R(5))}, ${v("#fff", R(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) => {
|
|
114
|
-
r((n) => {
|
|
115
|
-
const s = { ...n };
|
|
116
|
-
return s.replaceText = e.target.value, s;
|
|
117
|
-
});
|
|
118
|
-
}, onKeyDown: (e) => q(e, !0), onContextMenu: (e) => {
|
|
119
|
-
e.stopPropagation();
|
|
120
|
-
} }), t.jsx(g, { onSelectToggle: (e) => {
|
|
121
|
-
k(!0, !0);
|
|
122
|
-
}, touchRippleRef: $, label: "Replace", shortcut: { key: "Enter" }, icon: m(t.jsx(me, {})), disabled: !i.findText }), t.jsx(g, { onSelectToggle: (e) => {
|
|
123
|
-
k(!0, !0, !0);
|
|
124
|
-
}, touchRippleRef: z, label: "Replace All", shortcut: { key: "Enter", modifiers: [j.Ctrl, j.Alt] }, icon: m(t.jsx(he, {})), disabled: !i.findText })] }) })] })] }), t.jsx(Y, { in: L, timeout: _, onExit: () => {
|
|
125
|
-
a.current?.focus();
|
|
126
|
-
}, 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) => {
|
|
127
|
-
r((n) => {
|
|
128
|
-
const s = { ...n };
|
|
129
|
-
return s.scope = e, s;
|
|
130
|
-
});
|
|
131
|
-
} }), t.jsx(K, { label: "Search", value: i.findOptions.orientation !== b.Orientation.Column, options: Se, onSelect: (e) => {
|
|
132
|
-
r((n) => {
|
|
133
|
-
const s = { ...n };
|
|
134
|
-
return s.findOptions.orientation = e ? b.Orientation.Row : b.Orientation.Column, s;
|
|
135
|
-
});
|
|
136
|
-
} }), 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) => {
|
|
137
|
-
r((n) => {
|
|
138
|
-
const s = { ...n };
|
|
139
|
-
return s.findOptions.fields = [e], s;
|
|
140
|
-
});
|
|
141
|
-
} })] })] }) })] }) });
|
|
142
|
-
});
|
|
143
|
-
export {
|
|
144
|
-
Ee as FindReplaceWindow,
|
|
145
|
-
Z as ScopeOptions,
|
|
146
|
-
Ee as default
|
|
147
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { a } from "./BbpQ1Ci6AYjWQxnE.js";
|
|
2
|
-
import { r as n } from "./-C5nZ__wNloSiQBU.js";
|
|
3
|
-
import { T, l as D, B as N, a8 as S, m as k, C as w } from "./YNhHFwthgm8SLyHw.js";
|
|
4
|
-
/**
|
|
5
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.5
|
|
6
|
-
*
|
|
7
|
-
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
8
|
-
* License: The license can be found at https://www.sheetxl.com/license.
|
|
9
|
-
*/
|
|
10
|
-
const v = ["Ok", "Cancel"], I = n.memo((g) => {
|
|
11
|
-
const { tableOptions: t, context: p, onOption: r, onValidateOption: y, onDone: c, options: d = v, defaultOption: s = d?.[0], cancelOption: l = "Cancel", sx: m, ...x } = g, [h, O] = n.useState(!1), [o, b] = n.useState(() => t?.hasHeader ?? !1), [i, f] = n.useState(() => t?.ranges ?? null), C = T((e) => {
|
|
12
|
-
const u = { ...t, hasHeader: o, ranges: i };
|
|
13
|
-
r?.(e, e === l, e === s), c?.({ option: e, tableOptions: u });
|
|
14
|
-
}, [c, r, s, l, o, i, t]), j = n.useCallback(async (e, u) => null, []);
|
|
15
|
-
return a.jsx(D, { title: "Insert Table", options: d, onDone: C, onValidateOption: j, defaultOption: s, cancelOption: l, autoFocusSel: ".range-input input", sx: { width: "360px", ...m }, ...x, children: a.jsxs(N, { sx: { paddingTop: (e) => e.spacing(1), paddingBottom: (e) => e.spacing(0), rowGap: (e) => e.spacing(1), display: "flex", flexDirection: "column" }, children: [a.jsx(S, { formName: "range", value: i, onChangeInput: (e) => f(e), resolvedAddress: p.getNames().getRanges.bind(p.getNames()), onFocus: (e) => {
|
|
16
|
-
h || e.target?.select(), O(!0);
|
|
17
|
-
} }), a.jsx(k, { control: a.jsx(w, { checked: o, onChange: () => b(!o) }), label: "Table has headers", labelPlacement: "end" })] }) });
|
|
18
|
-
});
|
|
19
|
-
export {
|
|
20
|
-
I as TableNewDialog,
|
|
21
|
-
I as default
|
|
22
|
-
};
|
|
@@ -1,149 +0,0 @@
|
|
|
1
|
-
import { a as t } from "./BbpQ1Ci6AYjWQxnE.js";
|
|
2
|
-
import { r as o } from "./-C5nZ__wNloSiQBU.js";
|
|
3
|
-
import { A as E, D as p, w as b, T as V, r as le, N as ae, G as re, J as ce, B as O, K as g, L as m, P as pe, Q as j, R as de, v as X, q as R, U as ue, V as fe, W as xe, _ as ge, s as v, a0 as _, a1 as me, a2 as he, a3 as Oe, z as je, p as Ce, I as ye, S as be } from "./YNhHFwthgm8SLyHw.js";
|
|
4
|
-
/**
|
|
5
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.5
|
|
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 Re = E(t.jsx("path", { d: "M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z" }), "ArrowBack"), ve = E(t.jsx("path", { d: "m20 12-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8z" }), "ArrowDownward"), Te = 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((T) => {
|
|
11
|
-
const { label: h, value: c, options: l, onSelect: d, tabIndex: C = 0, ...F } = T, [I, y] = o.useState(() => ee(c, l));
|
|
12
|
-
o.useEffect(() => {
|
|
13
|
-
y(ee(c, l));
|
|
14
|
-
}, [c, l]);
|
|
15
|
-
const L = V((u) => {
|
|
16
|
-
y(u.target.value), d?.(l[u.target.value]);
|
|
17
|
-
}, [d, l]), a = o.useMemo(() => Object.keys(l).map((u) => t.jsx(je, { value: u, children: u }, u)), [l]);
|
|
18
|
-
return t.jsxs(Ce, { sx: { minWidth: 135 }, size: "small", children: [t.jsx(ye, { children: h }), t.jsx(be, { inputProps: { tabIndex: C }, value: I, label: h, onChange: L, sx: { backgroundImage: `linear-gradient(${R("#fff", v(5))}, ${R("#fff", v(5))})` }, ...F, children: a })] });
|
|
19
|
-
}), Y = { Workbook: "workbook", Sheet: "sheet" }, Z = { 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 Se = { "By Rows": !0, "By Columns": !1 }, ee = (T, 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] === T) return d;
|
|
26
|
-
}
|
|
27
|
-
}, Ie = o.memo((T) => {
|
|
28
|
-
const { replace: h = !1, findText: c, replaceText: l, findOptions: d, replaceOptions: C, title: F, onHide: I, onFindOrReplace: y, ...L } = T, a = o.useRef(null), u = o.useRef(null), M = o.useRef(null), $ = o.useRef(null), z = o.useRef(null), B = o.useRef(null), H = (e, n) => {
|
|
29
|
-
n && (n.start(e, { center: !1 }), setTimeout(() => n.stop(e), 180));
|
|
30
|
-
}, [W, w] = o.useState(!1), [D, se] = o.useState(!1), [f, P] = o.useState(h), [N, A] = 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: Y.Sheet }), k = V(async (e, n, s, S) => {
|
|
31
|
-
if (!y) return;
|
|
32
|
-
const x = { ...i };
|
|
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
|
-
const oe = await y({ autoFocus: S, ...x });
|
|
35
|
-
A(oe === 0);
|
|
36
|
-
}, [i, y]);
|
|
37
|
-
o.useEffect(() => {
|
|
38
|
-
A(!1);
|
|
39
|
-
}, [i, D, f]);
|
|
40
|
-
const q = V((e, n) => {
|
|
41
|
-
if (e.keyCode === le.Enter) {
|
|
42
|
-
if (!i.findText) return;
|
|
43
|
-
let s = !0, S = !1;
|
|
44
|
-
e.shiftKey && (s = !1), n ? (e.ctrlKey && e.altKey && (S = !0), H(e, S ? B.current : z.current)) : H(e, s ? $.current : M.current), k(s, n, S, !1);
|
|
45
|
-
}
|
|
46
|
-
}, [i]), J = o.useRef(null);
|
|
47
|
-
o.useLayoutEffect(() => {
|
|
48
|
-
r((e) => {
|
|
49
|
-
const n = { ...e };
|
|
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
|
-
const s = !(!C && l === void 0);
|
|
52
|
-
return s && P(s), n;
|
|
53
|
-
}), U || J.current?.focus();
|
|
54
|
-
}, [c, l, d, C]), o.useEffect(() => {
|
|
55
|
-
f ? (i.findOptions.fields[0], p.Content.Values) : w(!0);
|
|
56
|
-
}, [f]), o.useEffect(() => {
|
|
57
|
-
if (W && a.current && i.findText === a.current.value) return a.current === document.activeElement || a.current.contains(document.activeElement) ? (a.current?.select(), void w(!1)) : void a.current.addEventListener("focus", () => {
|
|
58
|
-
a.current?.select(), w(!1);
|
|
59
|
-
}, { once: !0 });
|
|
60
|
-
}, [W, i]);
|
|
61
|
-
const [ie, { width: Q }] = ae();
|
|
62
|
-
return t.jsx(re, { ref: J, title: F ?? (f ? "Find & Replace" : "Find"), initialPosition: { y: "35" }, autoFocusSel: ".input", onHide: I, onFocus: () => G(!0), onBlur: () => {
|
|
63
|
-
G(!1), A(!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
|
-
if (e.key === "h" && e.ctrlKey) P(!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 s = { ...n };
|
|
69
|
-
return s.findOptions.matchCase = !n.findOptions.matchCase, s;
|
|
70
|
-
});
|
|
71
|
-
else if (e.key === "e" && e.altKey) r((n) => {
|
|
72
|
-
const s = { ...n };
|
|
73
|
-
return s.findOptions.matchEntireCell = !n.findOptions.matchEntireCell, s;
|
|
74
|
-
});
|
|
75
|
-
else {
|
|
76
|
-
if (e.key !== "r" || !e.altKey) return;
|
|
77
|
-
r((n) => {
|
|
78
|
-
const s = { ...n };
|
|
79
|
-
return s.findOptions.useRegex = !n.findOptions.useRegex, s;
|
|
80
|
-
});
|
|
81
|
-
}
|
|
82
|
-
e.preventDefault();
|
|
83
|
-
}, children: [t.jsxs(O, { sx: { display: "flex", flexDirection: "row", gap: (e) => e.spacing(1) }, children: [t.jsxs(O, { sx: { display: "flex", flexDirection: "row", alignItems: "start", gap: (e) => e.spacing(0.25), paddingTop: "3px" }, children: [t.jsx(g, { selected: D, onSelectToggle: (e) => {
|
|
84
|
-
se(e);
|
|
85
|
-
}, preventFocus: !0, label: "Toggle Additional Options", icon: m(t.jsx(pe, {})) }), t.jsx(g, { selected: f, onSelectToggle: (e) => {
|
|
86
|
-
P(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(X, { label: "Find", InputLabelProps: { shrink: !0 }, InputProps: { sx: { paddingRight: (e) => e.spacing(1), minWidth: Q > 460 ? "20em" : void 0, backgroundImage: `linear-gradient(${R("#fff", v(5))}, ${R("#fff", v(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
|
-
r((n) => {
|
|
89
|
-
const s = { ...n };
|
|
90
|
-
return s.findOptions.matchCase = e, s;
|
|
91
|
-
});
|
|
92
|
-
}, label: "Match Case", shortcut: { key: "C", modifiers: [j.Alt] }, icon: m(t.jsx(fe, {})) }), t.jsx(g, { selected: i.findOptions.matchEntireCell, onSelectToggle: (e) => {
|
|
93
|
-
r((n) => {
|
|
94
|
-
const s = { ...n };
|
|
95
|
-
return s.findOptions.matchEntireCell = e, s;
|
|
96
|
-
});
|
|
97
|
-
}, label: "Match Entire Cell", shortcut: { key: "E", modifiers: [j.Alt] }, icon: m(t.jsx(xe, {})) }), t.jsx(g, { selected: i.findOptions.useRegex, onSelectToggle: (e) => {
|
|
98
|
-
r((n) => {
|
|
99
|
-
const s = { ...n };
|
|
100
|
-
return s.findOptions.useRegex = e, s;
|
|
101
|
-
});
|
|
102
|
-
}, label: "Use Regular Expression", shortcut: { key: "R", modifiers: [j.Alt] }, icon: m(t.jsx(ge, {})) })] }) }) }, sx: { flex: "1 1 100%", marginRight: (e) => e.spacing(1), "& .MuiOutlinedInput-notchedOutline": { borderColor: (e) => N ? `${e.palette.error.main} !important` : void 0 }, "& .MuiInputLabel-outlined": { color: (e) => N ? `${e.palette.error.main} !important` : void 0 } }, value: i.findText ?? "", onChange: (e) => {
|
|
103
|
-
r((n) => {
|
|
104
|
-
const s = { ...n };
|
|
105
|
-
return s.findText = e.target.value, s;
|
|
106
|
-
});
|
|
107
|
-
}, onKeyDown: (e) => q(e, !1), onContextMenu: (e) => {
|
|
108
|
-
e.stopPropagation();
|
|
109
|
-
} }), t.jsx(g, { selected: i.findOptions.reverse, onSelectToggle: (e) => {
|
|
110
|
-
k(!1, !1);
|
|
111
|
-
}, touchRippleRef: M, 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
|
-
k(!0, !1);
|
|
113
|
-
}, touchRippleRef: $, label: "Next Match", shortcut: { key: "Enter" }, icon: m(i.findOptions.orientation !== b.Orientation.Column ? t.jsx(Te, {}) : t.jsx(ve, {})), disabled: !i.findText })] }), t.jsx(_, { in: f, timeout: Z, onExit: () => {
|
|
114
|
-
a.current?.focus();
|
|
115
|
-
}, children: t.jsxs(O, { sx: { display: "flex", flexDirection: "row", alignItems: "center", marginTop: (e) => e.spacing(2) }, children: [t.jsx(X, { label: "Replace", InputLabelProps: { shrink: !0 }, InputProps: { sx: { paddingRight: (e) => e.spacing(1), backgroundImage: `linear-gradient(${R("#fff", v(5))}, ${R("#fff", v(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
|
-
r((n) => {
|
|
117
|
-
const s = { ...n };
|
|
118
|
-
return s.replaceText = e.target.value, s;
|
|
119
|
-
});
|
|
120
|
-
}, onKeyDown: (e) => q(e, !0), onContextMenu: (e) => {
|
|
121
|
-
e.stopPropagation();
|
|
122
|
-
} }), t.jsx(g, { onSelectToggle: (e) => {
|
|
123
|
-
k(!0, !0);
|
|
124
|
-
}, touchRippleRef: z, label: "Replace", shortcut: { key: "Enter" }, icon: m(t.jsx(me, {})), disabled: !i.findText }), t.jsx(g, { onSelectToggle: (e) => {
|
|
125
|
-
k(!0, !0, !0);
|
|
126
|
-
}, touchRippleRef: B, label: "Replace All", shortcut: { key: "Enter", modifiers: [j.Ctrl, j.Alt] }, icon: m(t.jsx(he, {})), disabled: !i.findText })] }) })] })] }), t.jsx(_, { in: D, timeout: Z, onExit: () => {
|
|
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: Q >= 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: Y, onSelect: (e) => {
|
|
129
|
-
r((n) => {
|
|
130
|
-
const s = { ...n };
|
|
131
|
-
return s.scope = e, s;
|
|
132
|
-
});
|
|
133
|
-
} }), t.jsx(K, { label: "Search", value: i.findOptions.orientation !== b.Orientation.Column, options: Se, onSelect: (e) => {
|
|
134
|
-
r((n) => {
|
|
135
|
-
const s = { ...n };
|
|
136
|
-
return s.findOptions.orientation = e ? b.Orientation.Row : b.Orientation.Column, s;
|
|
137
|
-
});
|
|
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
|
-
r((n) => {
|
|
140
|
-
const s = { ...n };
|
|
141
|
-
return s.findOptions.fields = [e], s;
|
|
142
|
-
});
|
|
143
|
-
} })] })] }) })] }) });
|
|
144
|
-
});
|
|
145
|
-
export {
|
|
146
|
-
Ie as FindReplaceWindow,
|
|
147
|
-
Y as ScopeOptions,
|
|
148
|
-
Ie as default
|
|
149
|
-
};
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { a as i } from "./BbpQ1Ci6AYjWQxnE.js";
|
|
2
|
-
import { r as n } from "./-C5nZ__wNloSiQBU.js";
|
|
3
|
-
import { T as e, r as q, l as z, B as E, p as K, v as R, q as O, aF as W, s as y } from "./YNhHFwthgm8SLyHw.js";
|
|
4
|
-
/**
|
|
5
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.5
|
|
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 A = ["Input"], U = n.memo(n.forwardRef((w, T) => {
|
|
11
|
-
const { initialValue: F = "", onOption: v, onValidateOption: r, onInputOption: l, onValidateInputOption: p, onDone: u, inputProps: c, inputLabel: I, inputType: P, inputPlaceHolder: S, options: d = A, autoFocusSel: C = ".autoFocus", cancelOption: g, defaultOption: m = d?.[0], ...b } = w, [j, k] = n.useState(!1), [a, V] = n.useState(F), [B, D] = n.useState(""), [H, L] = n.useState(!0), s = 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 L(x), x;
|
|
17
|
-
}, [p]), f = e(async (t) => {
|
|
18
|
-
l?.(a, t);
|
|
19
|
-
}, [a, l, u, v, g, m]), M = e(async (t) => {
|
|
20
|
-
t.keyCode === q.Enter && await s?.(a, null);
|
|
21
|
-
}, [a, f]), N = e((t) => {
|
|
22
|
-
V(t.target.value), s?.(t.target.value, null);
|
|
23
|
-
}, [r]), $ = e(async (t) => {
|
|
24
|
-
let o = await s(a, t);
|
|
25
|
-
try {
|
|
26
|
-
o !== !1 && (o = await s(a, t));
|
|
27
|
-
} catch {
|
|
28
|
-
}
|
|
29
|
-
return o ?? !0;
|
|
30
|
-
}, [a, r]);
|
|
31
|
-
return i.jsx(z, { options: d, onDone: u, onOption: (t, o) => {
|
|
32
|
-
o || f(t);
|
|
33
|
-
}, onValidateOption: $, cancelOption: g, defaultOption: m, autoFocusSel: C, ref: T, ...b, children: i.jsx(E, { sx: { paddingTop: (t) => t.spacing(1), paddingBottom: (t) => t.spacing(0) }, children: i.jsx(K, { sx: { paddingTop: (t) => t.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: i.jsx(R, { onFocus: (t) => {
|
|
34
|
-
j || t.target?.select(), k(!0);
|
|
35
|
-
}, type: P, label: I, 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: S, spellCheck: !1, autoComplete: "off", ...c, className: W("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
|
-
t.stopPropagation();
|
|
37
|
-
} }) }) }) });
|
|
38
|
-
}));
|
|
39
|
-
export {
|
|
40
|
-
U as default
|
|
41
|
-
};
|