@sheetxl/studio-vanilla 0.7.4 → 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/README.md +9 -5
- package/browser/cjs/B7wz5PktsGQNKYoq.cjs +6 -0
- package/browser/cjs/{dGtOlClU3aLzqX9G.cjs → BCp8EKu-fnWiHBVn.cjs} +1 -1
- package/browser/cjs/{B4foheVEUqSBFEkt.cjs → BDDGDj16_JM9JSNw.cjs} +1 -1
- package/browser/cjs/{ChIk2dRWK_RpFnZl.cjs → BExG5buAzGxZlmJw.cjs} +4 -4
- package/browser/cjs/{C7GKCVS4tFPkLsu7.cjs → BFooBtpsd0cC8qDG.cjs} +1 -1
- package/browser/cjs/{A4yAgzK3Yi1hFoyF.cjs → BVMvTKkVRG3ARblV.cjs} +1 -1
- package/browser/cjs/{D3tIyPRHWxjXZjiu.cjs → BVjaiAwC49wwDMDI.cjs} +487 -487
- package/browser/cjs/{JZZCpLEpsC2LCYHH.cjs → BXZgVqL7XkYsoi33.cjs} +2 -2
- package/browser/cjs/{D4llH4xbqGzmuVYe.cjs → BYG2IVD2Gqh-q7h2.cjs} +1 -1
- package/browser/cjs/{De082R33Q24Czdd2.cjs → Bdri1EOZVClr_s5d.cjs} +3 -3
- package/browser/cjs/{8ORcPDrnyLtyRBC5.cjs → BgE8ast3JVnmh0C3.cjs} +8 -8
- package/browser/cjs/BiHqOGcXJWRP3FQy.cjs +32 -0
- package/browser/cjs/{DEzEcMfZx0I-QgJj.cjs → Bk3M_kByuRSgE2I7.cjs} +1 -1
- package/browser/cjs/{q1y9tq62y47f7mxy.cjs → BkGg_LJgjZj1NXHZ.cjs} +1 -1
- package/browser/cjs/BtkQmDedsmbw95Pc.cjs +6 -0
- package/browser/cjs/{Xzq847s6zAFUFWcq.cjs → BuBu8hoBcG1L5gWU.cjs} +1 -1
- package/browser/cjs/Bv5i7awWQ7wuK-N1.cjs +6 -0
- package/browser/cjs/{BeOgEB1ihIJx02Af.cjs → BzgLQhJ2sqEZCsrb.cjs} +1 -1
- package/browser/cjs/{B0Z0aRvslQ-luY7V.cjs → C2AUpeG75-dSdAU8.cjs} +2 -2
- package/browser/cjs/{DsWfniauN1Pu2Go3.cjs → C4IJ8og_7pYXOaaa.cjs} +1 -1
- package/browser/cjs/CA1KKidNd07a0DJH.cjs +11 -0
- package/browser/cjs/CEt7dvaTwfePj4ER.cjs +326 -0
- package/browser/cjs/{DAJLF0E4eUH-LX9t.cjs → CR_3znwknfRYUQjJ.cjs} +2 -2
- package/browser/cjs/{B13vFaAy_2-LVET-.cjs → CSyKzMKdjLhLe40I.cjs} +1 -1
- package/browser/cjs/{BgSDdeTv_xCIgBGD.cjs → CUpgKTIV0yg_QYHZ.cjs} +3 -3
- package/browser/cjs/{CAiDHxx6Gd0WmW60.cjs → CXoepqRJNlPbIb0L.cjs} +2 -2
- package/browser/cjs/{B47DWuTo-MqQ3jZz.cjs → CbvWAZQhSUzqCg17.cjs} +1 -1
- package/browser/cjs/{B3C8eQFrLaL-fvH-.cjs → CcpKk964zuH4DpgM.cjs} +23 -23
- package/browser/cjs/{B2LQcZ92fWIJv2Gz.cjs → CkA2FSMaiJvL4xnW.cjs} +1 -1
- package/browser/cjs/Ck_CXORzAURg_vBX.cjs +6 -0
- package/browser/cjs/{DHdO6HcI4UB6Ks3h.cjs → Cr07exWoIE8PUEEj.cjs} +2 -2
- package/browser/cjs/{D6RF346wXtLKkoJ-.cjs → CvfHD9dwIrbEr7hM.cjs} +2 -2
- package/browser/cjs/{BNPrWaUmde-C-8Vx.cjs → CwW8vJh2IPnMize_.cjs} +1 -1
- package/browser/cjs/{Bzqv14cPgkvKImRH.cjs → D10iC-iUoXqxQ9CM.cjs} +1 -1
- package/browser/cjs/{ipGL9YCfyze4LbQj.cjs → D3LgtUzW8PLgmpsZ.cjs} +1 -1
- package/browser/cjs/{8gwQqoquag37n7A4.cjs → DNQbFZZOmDP_rJEI.cjs} +1 -1
- package/browser/cjs/{DVATnEUJxTQMsLOO.cjs → DQmdNFzWR-h9wYSi.cjs} +1 -1
- package/browser/cjs/{ByA09xUI5G9YbxMz.cjs → DSJLyqI4SU0MEH4t.cjs} +1 -1
- package/browser/cjs/{C23bIG7E2r_Q0RAj.cjs → DT7rBrGhpA-qvk1s.cjs} +2 -2
- package/browser/cjs/{D0ApB39VH979ZUCx.cjs → DVN-SKDgVS0saY0w.cjs} +1 -1
- package/browser/cjs/{DFAQXO44wRvSlwCZ.cjs → DbMWszNm4m-5OHJM.cjs} +1 -1
- package/browser/cjs/{9YNUOzk1ChRHaQ0A.cjs → DlekR-mM3nwaCQEe.cjs} +1 -1
- package/browser/cjs/{DQrZ7_9M-BH9Zqhw.cjs → DpTEicgZ3kB8YiOW.cjs} +2 -2
- package/browser/cjs/{CwsdwMi5Xs8b4Yhg.cjs → DxV-3v_QDuTNlIGN.cjs} +1 -1
- package/browser/cjs/{pI4yZSOoBjkftfKX.cjs → DxeyIaJ9kTqsgZRQ.cjs} +1 -1
- package/browser/cjs/DzZiFk2M690x2Na1.cjs +6 -0
- package/browser/cjs/{DnirKDgaxys3R_a-.cjs → DzhZxaJEM_tDkpp3.cjs} +1 -1
- package/browser/cjs/{KuiK9SKQWvWBM3--.cjs → FNnpnCx0BZnP5O_r.cjs} +1 -1
- package/browser/cjs/{BlswEA5cHtxUqfLX.cjs → IvtzDl_wnrZdNyGU.cjs} +2 -2
- package/browser/cjs/{BprNr_E9PJXMBdn3.cjs → KsrjGYui6AhDRqb2.cjs} +1 -1
- package/browser/cjs/{BrKvmHqdJp6qNOFB.cjs → L04N6OHKBL9HtaR6.cjs} +1 -1
- package/browser/cjs/{oGzYb3Ra2l_2M4Fe.cjs → LBIRCj-htZFg3vYw.cjs} +2 -2
- package/browser/cjs/{D6Gix9vU3zy6x0wx.cjs → h58md3Y3c_TrQFVs.cjs} +1 -1
- package/browser/cjs/index.cjs +2 -2
- package/browser/cjs/{v9zKXidk5AvKGkz7.cjs → n8FQtLqAFmSMvjE4.cjs} +1 -1
- package/browser/cjs/{CWOIza8vwfNX5KIr.cjs → ogfsvA_pd4h9pATi.cjs} +1 -1
- package/browser/cjs/{D6pv0GOQycMcOyhu.cjs → tRdYhB45JaC-A2GK.cjs} +1 -1
- package/browser/cjs/{CBNecyEra54crLep.cjs → vboT_zkA4ebu7qb6.cjs} +2 -2
- package/browser/cjs/{D80cB8tOFfQNF4oS.cjs → xadQkBVply50Pfsy.cjs} +2 -2
- package/{cdn/assets/Bgcy7JI6AzSoovcw.js → browser/esm/1oqbqwBb8fBG-SRu.mjs} +1 -1
- package/{cdn/assets/BkjhtLKdZkaleH6j.js → browser/esm/2Q2-3kHAmqNdLDwx.mjs} +1 -1
- package/browser/esm/{CKOpVcqPaB2s4dTb.mjs → 95UgFJTU5KLLCYf1.mjs} +1 -1
- package/{cdn/assets/DhT-2pf586yDvyqZ.js → browser/esm/B-ODKhdttBS8vm_N.mjs} +1 -1
- package/browser/esm/B234kPv37vM5M_fj.mjs +147 -0
- package/browser/esm/{m7fz1VY0WrHhVE1u.mjs → B2xZE9bUnQFNq8II.mjs} +1 -1
- package/browser/esm/{ee5ZMqTpvvsprimB.mjs → B2zSi60WxtMoZe1R.mjs} +6 -6
- package/browser/esm/{CUq15BKQ0G25o03H.mjs → B6jSw9o_80cFla40.mjs} +16 -16
- package/browser/esm/{CrqJMWWEjzFZ-_Pk.mjs → BACzy7WLUtqbx_4H.mjs} +1 -1
- package/browser/esm/{BTM0pYbZvfLqBj6Z.mjs → BBklcrb4gMwawbW0.mjs} +2 -2
- package/browser/esm/{NohZsi_dnB1kc2oI.mjs → BNtLK4CbKRlPzlKT.mjs} +1 -1
- package/{cdn/assets/BfH0870g7ogWyWTa.js → browser/esm/BQEH9vzW6MLoEQpS.mjs} +1 -1
- package/{cdn/assets/JgQgURqWEwvTv_wi.js → browser/esm/B_8aGF2Dt1micWZg.mjs} +1 -1
- package/browser/esm/{CHOlVNulci003tpR.mjs → B_x9S07WXHgD87c0.mjs} +4 -4
- package/browser/esm/{J_m4I2bQAeYSJPWS.mjs → Bab--HPvvqz_dgfE.mjs} +1 -1
- package/browser/esm/{Ce3pCanMx2TnvT0I.mjs → BdviOCLagnd001u0.mjs} +7 -7
- package/browser/esm/{DRVrzDz7nVU_faHO.mjs → BgY1Ko1OPI79IwRW.mjs} +490 -490
- package/browser/esm/{CR9jsRCQsHJO01J4.mjs → BkUCD0Hn_pXVY8BG.mjs} +19 -19
- package/{cdn/assets/DYqsn4bTq8tt9z2d.js → browser/esm/BoXZxgubGIYbaajd.mjs} +1 -1
- package/{cdn/assets/C4aAJQZlcVwK7Bv7.js → browser/esm/BpD67geWfh3vSqJb.mjs} +1 -1
- package/browser/esm/{BsryTthQuZrS1w0h.mjs → BrFqlosk1B5lJ1wT.mjs} +3 -3
- package/{cdn/assets/ji2x5yzvwhn2JiFp.js → browser/esm/C7IRTn7ZcC4A4N9E.mjs} +1 -1
- package/browser/esm/{P5B5SOdOUaZr99nj.mjs → CE_I19FK1G8gpXuH.mjs} +6 -6
- package/browser/esm/{uYFnTWRHS-M71aW3.mjs → CGT3S9MzdRk9rFZa.mjs} +48 -48
- package/browser/esm/{B7wG8K-M9ldv3InT.mjs → CIyDrXxc2D-28-mW.mjs} +1 -1
- package/{cdn/assets/YFMiozbFWZjo74Td.js → browser/esm/CNtcjn_Cn7cQOWP5.mjs} +1 -1
- package/{cdn/assets/_N4vH5kWapbfarDc.js → browser/esm/CQ7RZs6ggMhy9TKv.mjs} +1 -1
- package/{cdn/assets/Cb1GBW9E5GfRvhuS.js → browser/esm/CXwDT0Rc1CeP5C6C.mjs} +1 -1
- package/browser/esm/{Bioh6T6jynIt2aBf.mjs → Cck1ZCX3140-xMNV.mjs} +6 -6
- package/browser/esm/{C3ZYwFCm4zV0PV7L.mjs → CdWkJs6rYnFmetuJ.mjs} +1 -1
- package/browser/esm/{BVvwFIl1xvigNZTj.mjs → Cf3RGVsf9qqF9dVB.mjs} +1 -1
- package/browser/esm/{CFey64nL6K_JDHyo.mjs → CrM-2l9BMnS0Lkh1.mjs} +1 -1
- package/browser/esm/{DswWgS_zGnCjt804.mjs → CuTudjzephfkt36F.mjs} +5 -5
- package/browser/esm/{B3ECMs0QjPnXbJEw.mjs → Cx11CBX88voKcCgb.mjs} +12 -12
- package/browser/esm/{BzCCXyLxR1Tx_PQ6.mjs → D2h5jM12-ZC4VX_T.mjs} +53 -53
- package/browser/esm/{BzXLeceeaODxxlsN.mjs → D3h1wZvV9AHRqaZq.mjs} +4 -4
- package/browser/esm/{CbiCECqtZzDk6jeR.mjs → D8NWmHOvxbnTKXqJ.mjs} +6 -6
- package/browser/esm/{0egw9xufQUK5XQZ5.mjs → D8xKI9bNALrDO0EI.mjs} +1 -1
- package/{cdn/assets/B9wr_AwSb0JtPoMv.js → browser/esm/DCyiJ8jlUG-B76Tb.mjs} +1 -1
- package/browser/esm/{C2sR98LOxBBkEECx.mjs → DDCRVmkZtcoY5u7P.mjs} +1 -1
- package/browser/esm/{CSU3ycILp620z_i8.mjs → DElt69us9iAn7_Ww.mjs} +2 -2
- package/browser/esm/{CqxLzaP5z64d6Lx4.mjs → DMKVMuMh4XJ4LGTp.mjs} +1 -1
- package/{cdn/assets/CfEvt84zrQGwFpt2.js → browser/esm/DVTFDA3Ssz9_4NcI.mjs} +1 -1
- package/{cdn/assets/DK5o4bmDWZoxlyie.js → browser/esm/DWvwKL3aLkiqeSo1.mjs} +8 -8
- package/{cdn/assets/CzgyRT7Dh3AVKcWl.js → browser/esm/DZUm1u-H4bx3eAew.mjs} +1 -1
- package/browser/esm/{VzlXiTXfqwuLrkgg.mjs → Dfx2_yQe2iRmxaeg.mjs} +1 -1
- package/browser/esm/{DvaoVWL-VdS7k_i3.mjs → DpfLzruLjqt5WaT4.mjs} +11 -11
- package/browser/esm/{C4dAWyoYzg5AFxSE.mjs → DsdO4-Dxa2PoruYq.mjs} +13 -13
- package/browser/esm/DwDbdg2MYgA3Tnfe.mjs +11 -0
- package/{cdn/assets/BeENppGCoF_AwA6g.js → browser/esm/FMJGVl5BuwTspvXB.mjs} +2 -2
- package/{cdn/assets/BDSX8FAyHcAmsE-T.js → browser/esm/Gye5i_y6LTkSeZWV.mjs} +1 -1
- package/browser/esm/{BrGzSkrQVV-CCVui.mjs → T7q0269_QPB8lCOv.mjs} +1 -1
- package/{cdn/assets/D4aEzWRsHbRiDZQf.js → browser/esm/Yx74P2tuzTl_vWeR.mjs} +20410 -19852
- package/browser/esm/{DjtYK-s8g6tP0TRw.mjs → ftYo_nnqtr7QkIOP.mjs} +2 -2
- package/browser/esm/index.mjs +2 -2
- package/{cdn/assets/DKrP22W3r6dc2ll8.js → browser/esm/pOUm75Y0UEeP9DxX.mjs} +1 -1
- package/{cdn/assets/wrn_BUWuBI2ou-lE.js → browser/esm/ymbdHoeF6JmtSeHf.mjs} +1 -1
- package/browser/esm/{C1TJTYVoSUvCsI72.mjs → yvf7TZWzRux6eb-r.mjs} +2 -2
- package/browser/esm/{6dkX2k_H0PA_iz5X.mjs → zd-Kc5cLey9IZ283.mjs} +1 -1
- package/cdn/assets/{D6gMyvRPXwYEpaiW.js → -ZtRkphm8qlj8ebp.js} +1 -1
- package/{browser/esm/Bgcy7JI6AzSoovcw.mjs → cdn/assets/1oqbqwBb8fBG-SRu.js} +1 -1
- package/{browser/esm/BkjhtLKdZkaleH6j.mjs → cdn/assets/2Q2-3kHAmqNdLDwx.js} +1 -1
- package/cdn/assets/{CdoIc8OarIB8C5y3.js → 3tDFtZFz8w76rYBA.js} +18 -18
- package/cdn/assets/{CvTBNZMoY5-DwtAb.js → 5dKHsl0r2V-JmyNP.js} +2 -2
- package/cdn/assets/{BZpRwfavZD9rO_v8.js → 8lSvXDLbx-eV1Nz0.js} +490 -490
- package/cdn/assets/{CKOpVcqPaB2s4dTb.js → 95UgFJTU5KLLCYf1.js} +1 -1
- package/{browser/esm/DhT-2pf586yDvyqZ.mjs → cdn/assets/B-ODKhdttBS8vm_N.js} +1 -1
- package/cdn/assets/{m7fz1VY0WrHhVE1u.js → B2xZE9bUnQFNq8II.js} +1 -1
- package/cdn/assets/{CrqJMWWEjzFZ-_Pk.js → BACzy7WLUtqbx_4H.js} +1 -1
- package/cdn/assets/{gRJ4OcAtWEBEGLJD.js → BCA5bMx1egW3eRmp.js} +14 -14
- package/cdn/assets/{DTHfoEyAv88YJtid.js → BH4LGqC8Z4Iqh7XS.js} +2 -2
- package/cdn/assets/{NohZsi_dnB1kc2oI.js → BNtLK4CbKRlPzlKT.js} +1 -1
- package/{browser/esm/BfH0870g7ogWyWTa.mjs → cdn/assets/BQEH9vzW6MLoEQpS.js} +1 -1
- package/cdn/assets/{TAuxEP6K9MOe8hvY.js → BXHEwZhPbMaOdb_Z.js} +3 -3
- package/cdn/assets/{DuVOZ5CVHDzuF-Wf.js → BXs2QdxsuX2lw_x3.js} +73 -73
- package/{browser/esm/JgQgURqWEwvTv_wi.mjs → cdn/assets/B_8aGF2Dt1micWZg.js} +1 -1
- package/cdn/assets/{J_m4I2bQAeYSJPWS.js → Bab--HPvvqz_dgfE.js} +1 -1
- package/{browser/esm/DYqsn4bTq8tt9z2d.mjs → cdn/assets/BoXZxgubGIYbaajd.js} +1 -1
- package/{browser/esm/C4aAJQZlcVwK7Bv7.mjs → cdn/assets/BpD67geWfh3vSqJb.js} +1 -1
- package/cdn/assets/{jeiAiNavXwDjx5bH.js → BqOHcOxJPktjB8oL.js} +12 -12
- package/{browser/esm/Z1fSZhtHNjC6OoN6.mjs → cdn/assets/Bqca9Nkofzm6UFZ1.js} +20260 -20050
- package/cdn/assets/{DAMni_kLlITX8qAW.js → BtXsNo8KL5XLE7xA.js} +50 -50
- package/cdn/assets/{CxFPsh5ojrvYoLqP.js → ByTOIrEYNeA_wpXy.js} +80 -80
- package/cdn/assets/{IQp8evg14s1_pMGI.js → C2wV3vQ-5dEezy7R.js} +3 -3
- package/cdn/assets/{BZ1FXLdV7kLoj8S2.js → C3urWNCGtWeKM42K.js} +4 -4
- package/cdn/assets/{Bp1BVz04Xy4W95PB.js → C75SpXwjYmdo6WC6.js} +10 -10
- package/{browser/esm/ji2x5yzvwhn2JiFp.mjs → cdn/assets/C7IRTn7ZcC4A4N9E.js} +1 -1
- package/cdn/assets/{DZSQDf-SlYIAnwqI.js → CHESIwo-YlB-g6gr.js} +2 -2
- package/cdn/assets/{B7wG8K-M9ldv3InT.js → CIyDrXxc2D-28-mW.js} +1 -1
- package/{browser/esm/YFMiozbFWZjo74Td.mjs → cdn/assets/CNtcjn_Cn7cQOWP5.js} +1 -1
- package/{browser/esm/_N4vH5kWapbfarDc.mjs → cdn/assets/CQ7RZs6ggMhy9TKv.js} +1 -1
- package/{browser/esm/Cb1GBW9E5GfRvhuS.mjs → cdn/assets/CXwDT0Rc1CeP5C6C.js} +1 -1
- package/cdn/assets/{C3ZYwFCm4zV0PV7L.js → CdWkJs6rYnFmetuJ.js} +1 -1
- package/cdn/assets/{BVvwFIl1xvigNZTj.js → Cf3RGVsf9qqF9dVB.js} +1 -1
- package/cdn/assets/{McZLFG7PefCrtXxD.js → Cn0K1aSWZCVlK66V.js} +1 -1
- package/cdn/assets/{mgzh0Oj545G9VFmY.js → CnLv6xBX-8QXgr8C.js} +7 -7
- package/cdn/assets/{CFey64nL6K_JDHyo.js → CrM-2l9BMnS0Lkh1.js} +1 -1
- package/cdn/assets/{CaHwS8usPT5gIFuY.js → Cwd_PFnZO3GB10Ib.js} +10 -10
- package/cdn/assets/{CR-xAI2miMYh-gdy.js → D6Bd-wh8DUctiTBq.js} +4 -4
- package/cdn/assets/{0egw9xufQUK5XQZ5.js → D8xKI9bNALrDO0EI.js} +1 -1
- package/{browser/esm/B9wr_AwSb0JtPoMv.mjs → cdn/assets/DCyiJ8jlUG-B76Tb.js} +1 -1
- package/cdn/assets/{C2sR98LOxBBkEECx.js → DDCRVmkZtcoY5u7P.js} +1 -1
- package/cdn/assets/{BqbxC6sS2OoaM51Y.js → DNDzb50fYztOU6sL.js} +2 -2
- package/cdn/assets/{ddSl0Ga-rXVB9Yci.js → DPUzShmQFsZiAy1y.js} +14 -14
- package/cdn/assets/{UGRaW68kY1lQin4c.js → DVE11KnTbk8UCl2L.js} +4 -4
- package/{browser/esm/CfEvt84zrQGwFpt2.mjs → cdn/assets/DVTFDA3Ssz9_4NcI.js} +1 -1
- package/{browser/esm/CzgyRT7Dh3AVKcWl.mjs → cdn/assets/DZUm1u-H4bx3eAew.js} +1 -1
- package/cdn/assets/DZwStU2_wQO6T5Ug.js +12 -0
- package/cdn/assets/{Bv7E-FgORAWOkyiV.js → DfsGU1WZFPDvuEF7.js} +2 -2
- package/cdn/assets/{VzlXiTXfqwuLrkgg.js → Dfx2_yQe2iRmxaeg.js} +1 -1
- package/{browser/esm/UQSXr-cpRWqp8Ktj.mjs → cdn/assets/DnoVwExJraUmPO4h.js} +2 -2
- package/cdn/assets/{DWxb-keKnWDZ32ov.js → Dqv_r2crwVb5hDRt.js} +2 -2
- package/cdn/assets/{DMOM_dk7px3Id2fD.js → DtDieGCmD7tfP-IC.js} +21 -21
- package/{browser/esm/B4U-HbDDW978wKeB.mjs → cdn/assets/F9FRh_1TEIanjKfd.js} +20 -20
- package/{browser/esm/BDSX8FAyHcAmsE-T.mjs → cdn/assets/Gye5i_y6LTkSeZWV.js} +1 -1
- package/cdn/assets/JUjq8dsNEwlP2TmD.js +149 -0
- package/cdn/assets/{tbqH71TvrNeRjwAy.js → L4iwFaFUwrc5iENg.js} +3 -3
- package/cdn/assets/{pv07rmyN2zy5KZrb.js → RgzmLUjP4Fyf4q1K.js} +2 -2
- package/cdn/assets/{BrGzSkrQVV-CCVui.js → T7q0269_QPB8lCOv.js} +1 -1
- package/cdn/assets/{BFfLoUaapPcM_eb0.js → eIefNRuHeizv4VyQ.js} +10 -10
- package/cdn/assets/{B4MTgKmMZcXoDlYG.js → ij04ZtjSyJ1O2CRc.js} +2 -2
- package/{browser/esm/DKrP22W3r6dc2ll8.mjs → cdn/assets/pOUm75Y0UEeP9DxX.js} +1 -1
- package/{browser/esm/wrn_BUWuBI2ou-lE.mjs → cdn/assets/ymbdHoeF6JmtSeHf.js} +1 -1
- package/cdn/assets/{6dkX2k_H0PA_iz5X.js → zd-Kc5cLey9IZ283.js} +1 -1
- package/cdn/index.js +2 -2
- package/cdn/loader.js +1 -1
- package/package.json +16 -5
- package/browser/cjs/B7MW5qdFHlXONQ6l.cjs +0 -6
- package/browser/cjs/CTT_jzhLio55PSMa.cjs +0 -32
- package/browser/cjs/Cd4lc7sbp3kKfIbA.cjs +0 -6
- package/browser/cjs/Cfr9LxunC2fgJtM2.cjs +0 -11
- package/browser/cjs/DH59epfNQumKG6UO.cjs +0 -6
- package/browser/cjs/Dg0Zl23k4ZwHK5Nt.cjs +0 -6
- package/browser/cjs/MD9O1VNhhdH5RoiA.cjs +0 -330
- package/browser/esm/ChrPZQnuQU-qVVa1.mjs +0 -147
- package/cdn/assets/BHyn4CasWPQ92Eud.js +0 -149
|
@@ -1,147 +0,0 @@
|
|
|
1
|
-
import { l as E, j as t, r as o, N as p, w as b, T as M, b as le, n as ae, x as re, o as ce, B as O, p as g, q as m, s as pe, t as j, v as de, h as Q, e as v, y as ue, V as fe, H as xe, z as ge, f as R, A as Y, E as me, G as he, J as Oe, M as je, d as Ce, I as ye, S as be } from "./Z1fSZhtHNjC6OoN6.mjs";
|
|
2
|
-
/**
|
|
3
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.4
|
|
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 L = 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: L, 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, ...L } = 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), [D, 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, D, 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 }, ...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) => {
|
|
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: D, 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: D, 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,149 +0,0 @@
|
|
|
1
|
-
import { a as t } from "./CvTBNZMoY5-DwtAb.js";
|
|
2
|
-
import { r as o } from "./TAuxEP6K9MOe8hvY.js";
|
|
3
|
-
import { v as E, x as p, w as b, h as V, r as le, A as ae, E as re, G as ce, B as O, H as g, J as m, P as pe, R as j, U as de, p as q, m as R, V as ue, W as fe, _ as xe, $ as ge, o as v, a0 as Q, a1 as me, a2 as he, a3 as Oe, s as je, l as Ce, I as ye, S as be } from "./D4aEzWRsHbRiDZQf.js";
|
|
4
|
-
/**
|
|
5
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.4
|
|
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), H = o.useRef(null), M = o.useRef(null), $ = o.useRef(null), z = o.useRef(null), B = (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 J = 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), B(e, S ? z.current : $.current)) : B(e, s ? M.current : H.current), k(s, n, S, !1);
|
|
45
|
-
}
|
|
46
|
-
}, [i]), X = 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 || X.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: _ }] = ae();
|
|
62
|
-
return t.jsx(re, { ref: X, 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(q, { label: "Find", InputLabelProps: { shrink: !0 }, InputProps: { sx: { paddingRight: (e) => e.spacing(1), minWidth: _ > 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) => J(e, !1), onContextMenu: (e) => {
|
|
108
|
-
e.stopPropagation();
|
|
109
|
-
} }), t.jsx(g, { selected: i.findOptions.reverse, onSelectToggle: (e) => {
|
|
110
|
-
k(!1, !1);
|
|
111
|
-
}, touchRippleRef: H, 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: M, 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(Q, { 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(q, { 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) => J(e, !0), onContextMenu: (e) => {
|
|
121
|
-
e.stopPropagation();
|
|
122
|
-
} }), t.jsx(g, { onSelectToggle: (e) => {
|
|
123
|
-
k(!0, !0);
|
|
124
|
-
}, touchRippleRef: $, 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: z, 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: 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: _ >= 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
|
-
};
|