@sheetxl/studio-vanilla 0.7.6 → 0.7.7
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/LICENSE.md +1 -1
- package/browser/cjs/{BCp8EKu-fnWiHBVn.cjs → 1Dnt0ANTHdjxETSZ.cjs} +1 -1
- package/browser/cjs/{CwW8vJh2IPnMize_.cjs → AFGPXXJy4XT9a4sl.cjs} +1 -1
- package/browser/cjs/{BYG2IVD2Gqh-q7h2.cjs → B-DRcuaOZUOS5AMU.cjs} +1 -1
- package/browser/cjs/B7BbvcfK1qDzaFkU.cjs +6 -0
- package/browser/cjs/{vboT_zkA4ebu7qb6.cjs → B8TAKROBRJF-L83B.cjs} +2 -2
- package/browser/cjs/{IvtzDl_wnrZdNyGU.cjs → BBd3KPjI9z4IEpfd.cjs} +2 -2
- package/browser/cjs/{CXoepqRJNlPbIb0L.cjs → BF7e6idd5EAbSe-5.cjs} +2 -2
- package/browser/cjs/{DzZiFk2M690x2Na1.cjs → BFZTyYmr0ydpu1Ri.cjs} +2 -2
- package/browser/cjs/{BXZgVqL7XkYsoi33.cjs → BFibWMggm34JCRTQ.cjs} +2 -2
- package/browser/cjs/{xadQkBVply50Pfsy.cjs → BIZ9GLrC0LfBPG_l.cjs} +2 -2
- package/browser/cjs/{DVN-SKDgVS0saY0w.cjs → BJRQKCTg7qCzDnCi.cjs} +1 -1
- package/browser/cjs/{CUpgKTIV0yg_QYHZ.cjs → BKYGUco6ubqF6p08.cjs} +3 -3
- package/browser/cjs/{CR_3znwknfRYUQjJ.cjs → BLBDkH1kQ7yBroDQ.cjs} +2 -2
- package/browser/cjs/{Cr07exWoIE8PUEEj.cjs → BSdEA609H-d2dczO.cjs} +2 -2
- package/browser/cjs/{CbvWAZQhSUzqCg17.cjs → Bm3QhiCF0C1LZr4q.cjs} +1 -1
- package/browser/cjs/BneuIxiCQWMGZKpu.cjs +6 -0
- package/browser/cjs/{DlekR-mM3nwaCQEe.cjs → BoYIRg5QNVKrlO1o.cjs} +1 -1
- package/browser/cjs/{h58md3Y3c_TrQFVs.cjs → BpZPEUJROF3R8X8o.cjs} +1 -1
- package/browser/cjs/{BzgLQhJ2sqEZCsrb.cjs → Bt7_s2Gsv6kQuZ8n.cjs} +1 -1
- package/browser/cjs/{DSJLyqI4SU0MEH4t.cjs → By_M12tC09G2LrpY.cjs} +1 -1
- package/browser/cjs/{D10iC-iUoXqxQ9CM.cjs → C4pHJGPOoYRTdbji.cjs} +1 -1
- package/browser/cjs/{n8FQtLqAFmSMvjE4.cjs → C8FAAtGuznwvkc3K.cjs} +1 -1
- package/browser/cjs/{DzhZxaJEM_tDkpp3.cjs → CBX3gO9WQIHQl8He.cjs} +1 -1
- package/browser/cjs/CDQWmVCT_C4kt4z4.cjs +327 -0
- package/browser/cjs/CDbUGxSLtIqQcFJA.cjs +6 -0
- package/browser/cjs/{BExG5buAzGxZlmJw.cjs → CGbGQK87LoR7syZ2.cjs} +5 -5
- package/browser/cjs/CMH9g70xbNsRmba4.cjs +6 -0
- package/browser/cjs/{BtkQmDedsmbw95Pc.cjs → CRZbe0vrznX0gec4.cjs} +2 -2
- package/browser/cjs/{CSyKzMKdjLhLe40I.cjs → CU9eF67hofMTnlvg.cjs} +1 -1
- package/browser/cjs/{DNQbFZZOmDP_rJEI.cjs → CVJNmAx7_1hAsGM-.cjs} +1 -1
- package/browser/cjs/{DxV-3v_QDuTNlIGN.cjs → CVhKqGf9u7VY_SdR.cjs} +1 -1
- package/browser/cjs/{BFooBtpsd0cC8qDG.cjs → CbuHVEgHJ-PN2nTC.cjs} +1 -1
- package/browser/cjs/{CA1KKidNd07a0DJH.cjs → CbzvhHU6HeixD_I0.cjs} +5 -5
- package/browser/cjs/{DbMWszNm4m-5OHJM.cjs → CzUFi87fwOEv2c_X.cjs} +1 -1
- package/browser/cjs/{CcpKk964zuH4DpgM.cjs → CzmekfFZOipvm9p8.cjs} +19 -19
- package/browser/cjs/{FNnpnCx0BZnP5O_r.cjs → D0hBhQDMuGpldHoB.cjs} +1 -1
- package/browser/cjs/{DQmdNFzWR-h9wYSi.cjs → D1NKZY8fEGk-xu0l.cjs} +1 -1
- package/browser/cjs/{DT7rBrGhpA-qvk1s.cjs → D2tXQhW7Dvnm5yAX.cjs} +3 -3
- package/browser/cjs/{Ck_CXORzAURg_vBX.cjs → D9q3XIB_Yfv-93Xd.cjs} +2 -2
- package/browser/cjs/{BgE8ast3JVnmh0C3.cjs → DDoFIZezJ5QxEijC.cjs} +8 -8
- package/browser/cjs/{Bdri1EOZVClr_s5d.cjs → DQPqvdF3RMR6ocN9.cjs} +3 -3
- package/browser/cjs/{BVMvTKkVRG3ARblV.cjs → DR1070UPEnh9vSgI.cjs} +1 -1
- package/browser/cjs/{BDDGDj16_JM9JSNw.cjs → DUGnz-6DG2d64bPN.cjs} +1 -1
- package/browser/cjs/{BkGg_LJgjZj1NXHZ.cjs → DYEwCN0j9-ut9msc.cjs} +1 -1
- package/browser/cjs/{BuBu8hoBcG1L5gWU.cjs → DhPAcnVndNoNTyEG.cjs} +1 -1
- package/browser/cjs/{CvfHD9dwIrbEr7hM.cjs → DkLx6pMV8ccL8z_3.cjs} +2 -2
- package/browser/cjs/{L04N6OHKBL9HtaR6.cjs → Du7lT1PTtIz-NYNf.cjs} +1 -1
- package/browser/cjs/{D3LgtUzW8PLgmpsZ.cjs → EVU5UM5IoTkYikI3.cjs} +1 -1
- package/browser/cjs/{CkA2FSMaiJvL4xnW.cjs → PbtPWuRp8TEGAKWd.cjs} +1 -1
- package/browser/cjs/{tRdYhB45JaC-A2GK.cjs → TIGLxnYSTlonzaOE.cjs} +1 -1
- package/browser/cjs/ULlk5i1EUx5ksTqm.cjs +32 -0
- package/browser/cjs/{BVjaiAwC49wwDMDI.cjs → Va0pmZgEdlde9hBK.cjs} +21 -21
- package/browser/cjs/{C4IJ8og_7pYXOaaa.cjs → Yf7jJGAVX09ZsdB5.cjs} +1 -1
- package/browser/cjs/{ogfsvA_pd4h9pATi.cjs → dwwTAvxsASYxLV2-.cjs} +1 -1
- package/browser/cjs/index.cjs +2 -2
- package/browser/cjs/{Bk3M_kByuRSgE2I7.cjs → tp3T4Y4k6rqq119C.cjs} +1 -1
- package/browser/cjs/{DxeyIaJ9kTqsgZRQ.cjs → tru9ZJTmej20u6bS.cjs} +1 -1
- package/browser/cjs/{KsrjGYui6AhDRqb2.cjs → y7Bomd49fYwjmegW.cjs} +1 -1
- package/browser/esm/{T7q0269_QPB8lCOv.mjs → -dzuo_Wj7VBnGDUj.mjs} +1 -1
- package/{cdn/assets/DZUm1u-H4bx3eAew.js → browser/esm/B9WgUACq7BGa52o0.mjs} +1 -1
- package/browser/esm/{BACzy7WLUtqbx_4H.mjs → BD8BczjPJG9W-Wwx.mjs} +1 -1
- package/browser/esm/{D8NWmHOvxbnTKXqJ.mjs → BFkCRejnNGToEAbq.mjs} +7 -7
- package/browser/esm/{BNtLK4CbKRlPzlKT.mjs → BRK9zryqPcYCdqaH.mjs} +1 -1
- package/{cdn/assets/BQEH9vzW6MLoEQpS.js → browser/esm/BV7PHP-zb2ezFZwN.mjs} +1 -1
- package/browser/esm/Bf7V3mrqMy2JcLj6.mjs +149 -0
- package/browser/esm/{DwDbdg2MYgA3Tnfe.mjs → Bl8Mbds4_g4irYW4.mjs} +2 -2
- package/{cdn/assets/BoXZxgubGIYbaajd.js → browser/esm/C2B6ZZypFHHcBtgN.mjs} +1 -1
- package/browser/esm/C3WMLOorMvTnqgVk.mjs +47 -0
- package/browser/esm/{BrFqlosk1B5lJ1wT.mjs → C5zdw4KK0DA7Xxpv.mjs} +5 -5
- package/{cdn/assets/zd-Kc5cLey9IZ283.js → browser/esm/CAWVgaadqOqZLqMd.mjs} +1 -1
- package/{cdn/assets/B-ODKhdttBS8vm_N.js → browser/esm/CDd7H-0sNO3a6_HD.mjs} +1 -1
- package/{cdn/assets/DVTFDA3Ssz9_4NcI.js → browser/esm/CIePuRxeXL-pCqr6.mjs} +1 -1
- package/{cdn/assets/DDCRVmkZtcoY5u7P.js → browser/esm/CIgIp7emlh-h5Tkp.mjs} +1 -1
- package/{cdn/assets/Bab--HPvvqz_dgfE.js → browser/esm/CLZ1oiAIiDhUh4ww.mjs} +1 -1
- package/browser/esm/CMTee4KqDOZMxil0.mjs +44 -0
- package/browser/esm/{DMKVMuMh4XJ4LGTp.mjs → COLScMrSH92V1QBs.mjs} +1 -1
- package/{cdn/assets/Gye5i_y6LTkSeZWV.js → browser/esm/CSjCyt7aceQtuuQH.mjs} +1 -1
- package/browser/esm/{95UgFJTU5KLLCYf1.mjs → CWFbko7h7uYHcSb4.mjs} +1 -1
- package/browser/esm/{BgY1Ko1OPI79IwRW.mjs → CX2j3a6eI-W-vHAV.mjs} +21 -21
- package/browser/esm/{D3h1wZvV9AHRqaZq.mjs → CX8Vw2K-gX-Geldr.mjs} +143 -143
- package/{cdn/assets/DnoVwExJraUmPO4h.js → browser/esm/Cb2h80Rdfkc2yBwD.mjs} +2 -2
- package/{cdn/assets/CIyDrXxc2D-28-mW.js → browser/esm/CfIlb4oS-hEuUXmr.mjs} +1 -1
- package/browser/esm/{DElt69us9iAn7_Ww.mjs → Cgu3L7rWlUfKbFNC.mjs} +2 -2
- package/browser/esm/{D2h5jM12-ZC4VX_T.mjs → Cljc33Z0WZxiQD48.mjs} +3 -3
- package/{cdn/assets/Dfx2_yQe2iRmxaeg.js → browser/esm/Ct4D5jD2LgwWNypV.mjs} +1 -1
- package/{cdn/assets/C7IRTn7ZcC4A4N9E.js → browser/esm/Cwm7vw41FBiyBap8.mjs} +1 -1
- package/browser/esm/{ftYo_nnqtr7QkIOP.mjs → Cyefe5RSNySP6tcT.mjs} +2 -2
- package/browser/esm/{B2xZE9bUnQFNq8II.mjs → D0bkJedCy5YwEz99.mjs} +1 -1
- package/browser/esm/{B_8aGF2Dt1micWZg.mjs → DC1hfAh_7PsrjS9S.mjs} +1 -1
- package/browser/esm/{BpD67geWfh3vSqJb.mjs → DDUE_Wib21ixQxd9.mjs} +1 -1
- package/browser/esm/{CGT3S9MzdRk9rFZa.mjs → DOpGO4l1g7gO5ekA.mjs} +77 -77
- package/{cdn/assets/D8xKI9bNALrDO0EI.js → browser/esm/DRwGtmg7N0TBtF7R.mjs} +1 -1
- package/{cdn/assets/CrM-2l9BMnS0Lkh1.js → browser/esm/DSGhERiou-5Ibeko.mjs} +1 -1
- package/browser/esm/{CE_I19FK1G8gpXuH.mjs → DTbZV7szPb-PidC9.mjs} +8 -8
- package/browser/esm/{B2zSi60WxtMoZe1R.mjs → DU3arW-SqDtRv3t4.mjs} +6 -6
- package/browser/esm/{pOUm75Y0UEeP9DxX.mjs → DViS2gssDOJR2t_d.mjs} +1 -1
- package/{cdn/assets/Cf3RGVsf9qqF9dVB.js → browser/esm/DXJ2nb7A-gJDYaOg.mjs} +1 -1
- package/browser/esm/{DWvwKL3aLkiqeSo1.mjs → DdzZuvu4slMZd3sW.mjs} +8 -8
- package/browser/esm/{BBklcrb4gMwawbW0.mjs → DpdapIkgiOkLU_jc.mjs} +2 -2
- package/{cdn/assets/CXwDT0Rc1CeP5C6C.js → browser/esm/Dv_qFZLVmZ4aVY0G.mjs} +1 -1
- package/browser/esm/{CdWkJs6rYnFmetuJ.mjs → F9Cwy_aefTGi6WoG.mjs} +1 -1
- package/browser/esm/{1oqbqwBb8fBG-SRu.mjs → HKjRvq9Afdm8X4IO.mjs} +1 -1
- package/browser/esm/{Yx74P2tuzTl_vWeR.mjs → IymOl6PCKM5cdD59.mjs} +19696 -19539
- package/browser/esm/JNG5rnbnm1mveXHl.mjs +48 -0
- package/browser/esm/{2Q2-3kHAmqNdLDwx.mjs → LmdWOZpWumKhbIeQ.mjs} +1 -1
- package/{cdn/assets/CNtcjn_Cn7cQOWP5.js → browser/esm/TRoNOaX9xm77vhNo.mjs} +1 -1
- package/browser/esm/bfKo7TSL68OC9OZ8.mjs +39 -0
- package/{cdn/assets/CQ7RZs6ggMhy9TKv.js → browser/esm/hWAXOspM00OjNXxf.mjs} +1 -1
- package/browser/esm/index.mjs +2 -2
- package/browser/esm/{ymbdHoeF6JmtSeHf.mjs → jHLE9-xV-wivIQzI.mjs} +1 -1
- package/browser/esm/{B_x9S07WXHgD87c0.mjs → k-WybkgL_HctOBZL.mjs} +4 -4
- package/{cdn/assets/DCyiJ8jlUG-B76Tb.js → browser/esm/kOyTOCy58irfQ9hf.mjs} +1 -1
- package/browser/esm/{B6jSw9o_80cFla40.mjs → pVwSjWKIVDRYwmKS.mjs} +9 -9
- package/browser/esm/{CuTudjzephfkt36F.mjs → pimj6QzQFEVJ2YR8.mjs} +5 -5
- package/browser/esm/{Cx11CBX88voKcCgb.mjs → qD_ZNq2dhIRKdKRj.mjs} +7 -7
- package/browser/esm/{yvf7TZWzRux6eb-r.mjs → w4rJuLfuST6h0X6K.mjs} +2 -2
- package/cdn/assets/{T7q0269_QPB8lCOv.js → -dzuo_Wj7VBnGDUj.js} +1 -1
- package/cdn/assets/{BH4LGqC8Z4Iqh7XS.js → 0kt2tL10VoH7eLWk.js} +2 -2
- package/{browser/esm/FMJGVl5BuwTspvXB.mjs → cdn/assets/B3XKN3j6OGaC2PeU.js} +2 -2
- package/cdn/assets/{BXs2QdxsuX2lw_x3.js → B6n-XFROq-mJr6X4.js} +147 -147
- package/{browser/esm/DZUm1u-H4bx3eAew.mjs → cdn/assets/B9WgUACq7BGa52o0.js} +1 -1
- package/cdn/assets/{Bqca9Nkofzm6UFZ1.js → BCO9ENV5uM-3cC6k.js} +19697 -19540
- package/cdn/assets/{BACzy7WLUtqbx_4H.js → BD8BczjPJG9W-Wwx.js} +1 -1
- package/{browser/esm/Cck1ZCX3140-xMNV.mjs → cdn/assets/BEtGGlmsA5Vu0tOe.js} +17 -15
- package/cdn/assets/{Dqv_r2crwVb5hDRt.js → BQQZnaZ5HH_q0teH.js} +2 -2
- package/cdn/assets/{8lSvXDLbx-eV1Nz0.js → BQWb7WJpQdUBKjqJ.js} +21 -21
- package/cdn/assets/{D6Bd-wh8DUctiTBq.js → BQ_uhzdW_ySk-rS3.js} +4 -4
- package/cdn/assets/{BNtLK4CbKRlPzlKT.js → BRK9zryqPcYCdqaH.js} +1 -1
- package/{browser/esm/BQEH9vzW6MLoEQpS.mjs → cdn/assets/BV7PHP-zb2ezFZwN.js} +1 -1
- package/cdn/assets/Bki_B5mRvivmATn8.js +151 -0
- package/cdn/assets/{DNDzb50fYztOU6sL.js → Bmaqrt1Afut_jxeE.js} +2 -2
- package/cdn/assets/{C2wV3vQ-5dEezy7R.js → BozBaszO14QWRzV5.js} +3 -3
- package/cdn/assets/BrLkQrjXFwMtmii1.js +41 -0
- package/{browser/esm/BoXZxgubGIYbaajd.mjs → cdn/assets/C2B6ZZypFHHcBtgN.js} +1 -1
- package/cdn/assets/{C75SpXwjYmdo6WC6.js → C6H7cXzfs7xQB4iW.js} +7 -7
- package/cdn/assets/{DZwStU2_wQO6T5Ug.js → C6vzdOHft3HZWuxy.js} +3 -3
- package/cdn/assets/{ij04ZtjSyJ1O2CRc.js → C9zuuQStgoOfugfQ.js} +2 -2
- package/{browser/esm/zd-Kc5cLey9IZ283.mjs → cdn/assets/CAWVgaadqOqZLqMd.js} +1 -1
- package/{browser/esm/B-ODKhdttBS8vm_N.mjs → cdn/assets/CDd7H-0sNO3a6_HD.js} +1 -1
- package/{browser/esm/DVTFDA3Ssz9_4NcI.mjs → cdn/assets/CIePuRxeXL-pCqr6.js} +1 -1
- package/{browser/esm/DDCRVmkZtcoY5u7P.mjs → cdn/assets/CIgIp7emlh-h5Tkp.js} +1 -1
- package/{browser/esm/Bab--HPvvqz_dgfE.mjs → cdn/assets/CLZ1oiAIiDhUh4ww.js} +1 -1
- package/cdn/assets/{BXHEwZhPbMaOdb_Z.js → CN-ih7whNYnQh8PD.js} +3 -3
- package/{browser/esm/Gye5i_y6LTkSeZWV.mjs → cdn/assets/CSjCyt7aceQtuuQH.js} +1 -1
- package/cdn/assets/{95UgFJTU5KLLCYf1.js → CWFbko7h7uYHcSb4.js} +1 -1
- package/cdn/assets/{-ZtRkphm8qlj8ebp.js → CYQrF5RfAVqg1i0t.js} +1 -1
- package/{browser/esm/CIyDrXxc2D-28-mW.mjs → cdn/assets/CfIlb4oS-hEuUXmr.js} +1 -1
- package/cdn/assets/{Cn0K1aSWZCVlK66V.js → CfodwjJ4We7P3FOq.js} +1 -1
- package/cdn/assets/{ByTOIrEYNeA_wpXy.js → CpiCssHUOXBUIN_K.js} +52 -52
- package/{browser/esm/Dfx2_yQe2iRmxaeg.mjs → cdn/assets/Ct4D5jD2LgwWNypV.js} +1 -1
- package/cdn/assets/{CnLv6xBX-8QXgr8C.js → CugoceVTjknLDPZs.js} +13 -13
- package/{browser/esm/C7IRTn7ZcC4A4N9E.mjs → cdn/assets/Cwm7vw41FBiyBap8.js} +1 -1
- package/cdn/assets/{B2xZE9bUnQFNq8II.js → D0bkJedCy5YwEz99.js} +1 -1
- package/cdn/assets/{BtXsNo8KL5XLE7xA.js → D3G0eWNgbOrHH0SS.js} +79 -79
- package/cdn/assets/{L4iwFaFUwrc5iENg.js → DBfMtT3sAy1ItCCQ.js} +3 -3
- package/cdn/assets/{B_8aGF2Dt1micWZg.js → DC1hfAh_7PsrjS9S.js} +1 -1
- package/cdn/assets/{BpD67geWfh3vSqJb.js → DDUE_Wib21ixQxd9.js} +1 -1
- package/cdn/assets/DNLAdV0FAEdHf40R.js +46 -0
- package/cdn/assets/{DVE11KnTbk8UCl2L.js → DRguekK_Q_Gd9dVv.js} +4 -4
- package/{browser/esm/D8xKI9bNALrDO0EI.mjs → cdn/assets/DRwGtmg7N0TBtF7R.js} +1 -1
- package/{browser/esm/CrM-2l9BMnS0Lkh1.mjs → cdn/assets/DSGhERiou-5Ibeko.js} +1 -1
- package/cdn/assets/{pOUm75Y0UEeP9DxX.js → DViS2gssDOJR2t_d.js} +1 -1
- package/{browser/esm/Cf3RGVsf9qqF9dVB.mjs → cdn/assets/DXJ2nb7A-gJDYaOg.js} +1 -1
- package/cdn/assets/{F9FRh_1TEIanjKfd.js → DfxyIgqC_EStNQyw.js} +18 -18
- package/cdn/assets/{C3urWNCGtWeKM42K.js → DkqE2-qY8H9T98WT.js} +4 -4
- package/cdn/assets/{5dKHsl0r2V-JmyNP.js → DsmpINqpSKnRqkx4.js} +2 -2
- package/{browser/esm/CXwDT0Rc1CeP5C6C.mjs → cdn/assets/Dv_qFZLVmZ4aVY0G.js} +1 -1
- package/cdn/assets/{DPUzShmQFsZiAy1y.js → Dvnx0PSv_jiWsIKe.js} +13 -13
- package/cdn/assets/{DfsGU1WZFPDvuEF7.js → F0iq1NszMJTVwyJd.js} +2 -2
- package/cdn/assets/{CdWkJs6rYnFmetuJ.js → F9Cwy_aefTGi6WoG.js} +1 -1
- package/cdn/assets/{1oqbqwBb8fBG-SRu.js → HKjRvq9Afdm8X4IO.js} +1 -1
- package/cdn/assets/HpghV8z9BTeDJHo1.js +50 -0
- package/cdn/assets/{2Q2-3kHAmqNdLDwx.js → LmdWOZpWumKhbIeQ.js} +1 -1
- package/cdn/assets/{BCA5bMx1egW3eRmp.js → Ls9uzNrVr3yxkM2m.js} +4 -4
- package/{browser/esm/CNtcjn_Cn7cQOWP5.mjs → cdn/assets/TRoNOaX9xm77vhNo.js} +1 -1
- package/{browser/esm/CQ7RZs6ggMhy9TKv.mjs → cdn/assets/hWAXOspM00OjNXxf.js} +1 -1
- package/cdn/assets/{ymbdHoeF6JmtSeHf.js → jHLE9-xV-wivIQzI.js} +1 -1
- package/{browser/esm/DCyiJ8jlUG-B76Tb.mjs → cdn/assets/kOyTOCy58irfQ9hf.js} +1 -1
- package/cdn/assets/{RgzmLUjP4Fyf4q1K.js → kPIrz_4t6rv8Lnkv.js} +2 -2
- package/cdn/assets/{CHESIwo-YlB-g6gr.js → z8mH2SruNZNb285Q.js} +2 -2
- package/cdn/index.js +2 -2
- package/cdn/loader.js +1 -1
- package/package.json +7 -7
- package/browser/cjs/B7wz5PktsGQNKYoq.cjs +0 -6
- package/browser/cjs/BiHqOGcXJWRP3FQy.cjs +0 -32
- package/browser/cjs/Bv5i7awWQ7wuK-N1.cjs +0 -6
- package/browser/cjs/C2AUpeG75-dSdAU8.cjs +0 -6
- package/browser/cjs/CEt7dvaTwfePj4ER.cjs +0 -326
- package/browser/cjs/DpTEicgZ3kB8YiOW.cjs +0 -6
- package/browser/cjs/LBIRCj-htZFg3vYw.cjs +0 -6
- package/browser/esm/B234kPv37vM5M_fj.mjs +0 -147
- package/browser/esm/BdviOCLagnd001u0.mjs +0 -48
- package/browser/esm/BkUCD0Hn_pXVY8BG.mjs +0 -58
- package/browser/esm/DpfLzruLjqt5WaT4.mjs +0 -39
- package/browser/esm/DsdO4-Dxa2PoruYq.mjs +0 -44
- package/cdn/assets/3tDFtZFz8w76rYBA.js +0 -49
- package/cdn/assets/BqOHcOxJPktjB8oL.js +0 -46
- package/cdn/assets/Cwd_PFnZO3GB10Ib.js +0 -41
- package/cdn/assets/DtDieGCmD7tfP-IC.js +0 -60
- package/cdn/assets/JUjq8dsNEwlP2TmD.js +0 -149
- package/cdn/assets/eIefNRuHeizv4VyQ.js +0 -50
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.7
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,16 +1,18 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as t } from "./DsmpINqpSKnRqkx4.js";
|
|
2
|
+
import { r as s } from "./CN-ih7whNYnQh8PD.js";
|
|
3
|
+
import { _ as p, E as L, a0 as n, $ as R, B as j, a1 as O, a2 as W, a3 as G, F as c, N as u, T as H, Q as F, a4 as K } from "./BCO9ENV5uM-3cC6k.js";
|
|
2
4
|
/**
|
|
3
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.
|
|
5
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.7
|
|
4
6
|
*
|
|
5
7
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
6
8
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
7
9
|
*/
|
|
8
|
-
const
|
|
9
|
-
const { initialValue: w, context: f, onOption: h, onValidateOption: d, onInputOption: C, onDone: m, options: b =
|
|
10
|
+
const Q = ["Ok", "Cancel"], J = s.memo((S) => {
|
|
11
|
+
const { initialValue: w, context: f, onOption: h, onValidateOption: d, onInputOption: C, onDone: m, options: b = Q, defaultOption: r = b?.[0], cancelOption: g = "Cancel", sx: $, ...D } = S, [a, v] = s.useState(w), [P, N] = s.useState(!1), x = s.useCallback(async (e, o) => !0, []), y = p(async (e) => {
|
|
10
12
|
C?.(a, e), h?.(e, e === g, e === r), m?.();
|
|
11
|
-
}, [a, C, m, h, g, r]),
|
|
13
|
+
}, [a, C, m, h, g, r]), I = p(async (e) => {
|
|
12
14
|
e.keyCode === L.Enter && await x?.(a, null) !== !1 && y(r);
|
|
13
|
-
}, [a, y]),
|
|
15
|
+
}, [a, y]), M = p((e) => {
|
|
14
16
|
v(e.target.value), x?.(e.target.value, null);
|
|
15
17
|
}, [d]), V = p(async (e) => {
|
|
16
18
|
let o = await Promise.resolve(d?.(e));
|
|
@@ -19,27 +21,27 @@ const q = ["Ok", "Cancel"], J = s.memo((F) => {
|
|
|
19
21
|
} catch {
|
|
20
22
|
}
|
|
21
23
|
return o ?? !0;
|
|
22
|
-
}, [d]), [T,
|
|
24
|
+
}, [d]), [T, k] = s.useState(n.Styles.lookupStyle(a).formatType ?? n.Type.Custom);
|
|
23
25
|
s.useEffect(() => {
|
|
24
|
-
|
|
26
|
+
k(n.Styles.lookupStyle(a).formatType ?? n.Type.Custom);
|
|
25
27
|
}, [a]);
|
|
26
28
|
const B = s.useMemo(() => {
|
|
27
29
|
const e = n.Styles.lookupPrimary(), o = (l) => t.jsx(K, { value: l, children: l }, l), i = Object.keys(e).map((l) => o(e[l].formatType));
|
|
28
30
|
return i.push(o(n.Type.Custom)), i;
|
|
29
|
-
}, []),
|
|
31
|
+
}, []), E = s.useCallback((e) => {
|
|
30
32
|
const o = e.target.value;
|
|
31
|
-
|
|
33
|
+
k(o);
|
|
32
34
|
const i = n.Styles.lookupDefault(o);
|
|
33
35
|
i && v(i);
|
|
34
|
-
}, []),
|
|
36
|
+
}, []), z = s.useMemo(() => {
|
|
35
37
|
const e = f();
|
|
36
38
|
return e.createTemporaryCell({ value: e.getValue() ?? 12345, style: { numberFormat: a } });
|
|
37
39
|
}, [T, a, f]);
|
|
38
|
-
return t.jsx(R, { title: "Number Format", options: b, onDone: m, onOption: (e) => y(e), onValidateOption: V, defaultOption: r, cancelOption: g, autoFocusSel: ".autoFocus", sx: { width: "580px",
|
|
39
|
-
|
|
40
|
-
}, sx: { "& .MuiFormHelperText-root": { marginTop: (e) => e.spacing(0.5) } },
|
|
40
|
+
return t.jsx(R, { title: "Number Format", options: b, onDone: m, onOption: (e) => y(e), onValidateOption: V, defaultOption: r, cancelOption: g, autoFocusSel: ".autoFocus", sx: { width: "580px", ...$ }, ...D, children: t.jsxs(j, { sx: { paddingTop: (e) => e.spacing(1), paddingBottom: (e) => e.spacing(0), rowGap: (e) => e.spacing(1), display: "flex", flexDirection: "column" }, children: [t.jsxs(O, { sx: { minWidth: 135 }, size: "small", children: [t.jsx(W, { children: "Category" }), t.jsx(G, { value: T, label: "Category", onChange: E, sx: { backgroundImage: `linear-gradient(${c("#fff", u(5))}, ${c("#fff", u(5))})` }, children: B })] }), t.jsx(O, { sx: { paddingTop: (e) => e.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: t.jsx(H, { label: "Code", onFocus: (e) => {
|
|
41
|
+
P || e.target?.select(), N(!0);
|
|
42
|
+
}, sx: { "& .MuiFormHelperText-root": { marginTop: (e) => e.spacing(0.5) } }, slotProps: { inputLabel: { shrink: !0 }, htmlInput: { className: "autoFocus", spellCheck: !1, autoComplete: "off", sx: { paddingTop: (e) => e.spacing(1.25), paddingBottom: (e) => e.spacing(0.75), backgroundImage: `linear-gradient(${c("#fff", u(5))}, ${c("#fff", u(5))})` } } }, value: a, onChange: M, onKeyDown: I, onContextMenu: (e) => {
|
|
41
43
|
e.stopPropagation();
|
|
42
|
-
} }) }), t.jsxs(
|
|
44
|
+
} }) }), t.jsxs(j, { children: [t.jsx(F, { variant: "caption", component: "div", sx: { paddingLeft: (e) => e.spacing(2) }, children: "Preview" }), t.jsx(F, { variant: "body2", component: "div", sx: { borderRadius: (e) => `${e.shape.borderRadius}px`, padding: (e) => e.spacing(1), border: (e) => `1px solid ${e.palette.grey[400]}` }, children: z.getNumberFormat().displayText || "(empty)" })] })] }) });
|
|
43
45
|
});
|
|
44
46
|
export {
|
|
45
47
|
J as NumberFormatDialog,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.7
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -13,7 +13,7 @@ const m = { reactUrl: "https://esm.sh/react@19.1.0", reactJsxTransform: "https:/
|
|
|
13
13
|
t.type = "importmap", t.textContent = JSON.stringify({ imports: { react: c, "react/jsx-runtime": o, "react-dom": s, "react-dom/client": n } }), document.head.appendChild(t);
|
|
14
14
|
}
|
|
15
15
|
await new Promise((t) => setTimeout(t, 0));
|
|
16
|
-
const r = await Promise.all([import("./
|
|
16
|
+
const r = await Promise.all([import("./CN-ih7whNYnQh8PD.js").then((t) => t.R), import("./DsmpINqpSKnRqkx4.js").then((t) => t.j), import("./DRguekK_Q_Gd9dVv.js").then((t) => t.i), import("./DkqE2-qY8H9T98WT.js").then((t) => t.c), import("./BCO9ENV5uM-3cC6k.js").then((t) => t.at)]);
|
|
17
17
|
return { React: r[0], ReactJSXTransform: r[1], ReactDOM: r[2], ReactDOMClient: r[3], StudioMUI: r[4] };
|
|
18
18
|
})(), a));
|
|
19
19
|
export {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.7
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -47,7 +47,7 @@ class u {
|
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
const s = `/**
|
|
50
|
-
* @license @sheetxl/primitives - Primitives - Base types for SheetXL functions. - v0.7.
|
|
50
|
+
* @license @sheetxl/primitives - Primitives - Base types for SheetXL functions. - v0.7.7
|
|
51
51
|
*
|
|
52
52
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
53
53
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -266,7 +266,7 @@ var T;
|
|
|
266
266
|
return r = typeof e == "string" ? rt.get(e) : ot.get(e), r || (r = T.Unknown), new r(t, n);
|
|
267
267
|
}, T.getBuiltInById = (e) => Te.get(e) || xt;
|
|
268
268
|
/**
|
|
269
|
-
* @license @sheetxl/utils - Utils - Utilities used by most SheetXL components. - v0.7.
|
|
269
|
+
* @license @sheetxl/utils - Utils - Utilities used by most SheetXL components. - v0.7.7
|
|
270
270
|
*
|
|
271
271
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
272
272
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -449,7 +449,7 @@ const Ft = Object.freeze([]), Dt = Object.freeze({}), ze = (e) => e, de = () =>
|
|
|
449
449
|
ut(e[i], t?.[i], n) === null && (o = !0, delete e[i]);
|
|
450
450
|
}
|
|
451
451
|
return o && Object.keys(e).length === 0 ? null : void 0;
|
|
452
|
-
}, Ke = typeof performance == "object" && typeof performance.now == "function" ? () => performance.now() : () => Date.now(), Ve = (e) => e == null,
|
|
452
|
+
}, Ke = typeof performance == "object" && typeof performance.now == "function" ? () => performance.now() : () => Date.now(), Ve = (e) => e == null, Ge = (e, t) => !(t.left > e.right || t.right < e.left || t.top > e.bottom || t.bottom < e.top), qe = !(typeof window > "u" || !window.document || !window.document.createElement), k = { Windows: "windows", MacOS: "macos", IOS: "ios", Linux: "linux", Android: "android", Safari: "safari", Firefox: "firefox", Node: "node", Unknown: "unknown" }, oe = () => {
|
|
453
453
|
if (dt()) return k.Node;
|
|
454
454
|
const e = globalThis.navigator !== void 0 && globalThis.navigator.userAgent ? globalThis.navigator.userAgent.toLowerCase() : "";
|
|
455
455
|
return e ? /(win32|win64|windows|wince)/i.test(e) ? k.Windows : /(macintosh|macintel|macppc|mac68k|macos)/i.test(e) ? k.MacOS : /(iphone|ipad|ipod)/i.test(e) ? k.IOS : /android/.test(e) ? k.Android : /linux/.test(e) ? k.Linux : /^((?!chrome|android|).)*safari/i.test(e) ? k.Safari : /^((?!chrome|android|Seamonkey).)*firefox/i.test(e) ? k.Firefox : k.Unknown : k.Unknown;
|
|
@@ -465,7 +465,7 @@ const We = (e, t = !1) => (document.hasFocus() || t) && (e === document.activeEl
|
|
|
465
465
|
return Number.isFinite(t) ? t : 0;
|
|
466
466
|
}, camelToPrettyCase: (e) => e.length === 1 ? e.toUpperCase() : e.replace(/([A-Z])/g, " $1").replace(/^./, function(t) {
|
|
467
467
|
return t.toUpperCase();
|
|
468
|
-
}).trim(), canUseDOM:
|
|
468
|
+
}).trim(), canUseDOM: qe, cancelTimeout: (e) => {
|
|
469
469
|
cancelAnimationFrame(e.id);
|
|
470
470
|
}, castToString: (e) => e == null || e === void 0 ? "" : typeof e != "string" ? "" + e : e, cloneObject: (e) => Ve(e) ? e : JSON.parse(JSON.stringify(e)), consoleWithNoSource: (...e) => new Promise((t) => {
|
|
471
471
|
setTimeout(() => {
|
|
@@ -580,7 +580,7 @@ const We = (e, t = !1) => (document.hasFocus() || t) && (e === document.activeEl
|
|
|
580
580
|
}, isNode: dt, isNullOrUndefined: Ve, isNumeric: (e) => {
|
|
581
581
|
const t = 1 * e;
|
|
582
582
|
return Number.isFinite(t) && typeof t == "number";
|
|
583
|
-
}, isObject: ne, isPromiseLike: (e) => !!e && typeof e.then == "function", isRectInsideRect: (e, t) => e.top >= t.top && e.bottom <= t.bottom && e.left >= t.left && e.right <= t.right, isRectIntersect:
|
|
583
|
+
}, isObject: ne, isPromiseLike: (e) => !!e && typeof e.then == "function", isRectInsideRect: (e, t) => e.top >= t.top && e.bottom <= t.bottom && e.left >= t.left && e.right <= t.right, isRectIntersect: Ge, mergeContentful: (...e) => {
|
|
584
584
|
const t = e.length;
|
|
585
585
|
if (t > 0 && e[t - 1] !== void 0 && !ne(e[t - 1])) return e[t - 1];
|
|
586
586
|
let n = e[0] || {};
|
|
@@ -593,7 +593,7 @@ const We = (e, t = !1) => (document.hasFocus() || t) && (e === document.activeEl
|
|
|
593
593
|
e();
|
|
594
594
|
});
|
|
595
595
|
}, openFileDialog: (e = "*.*") => new Promise((t, n) => {
|
|
596
|
-
if (!
|
|
596
|
+
if (!qe) return void n("Unable to open dialog with no dom.");
|
|
597
597
|
const r = document.createElement("input");
|
|
598
598
|
r.type = "file", r.accept = e;
|
|
599
599
|
let o = null, a = !1;
|
|
@@ -647,7 +647,7 @@ const We = (e, t = !1) => (document.hasFocus() || t) && (e === document.activeEl
|
|
|
647
647
|
return { ip: Math.trunc(e), fp: o, ipLength: Math.ceil(Math.log10(n + 1)), fpLength: a };
|
|
648
648
|
}, subtractRect: (e, t, n = !1) => {
|
|
649
649
|
if (!t) return [e];
|
|
650
|
-
if (!
|
|
650
|
+
if (!Ge(e, t)) return [];
|
|
651
651
|
const r = [];
|
|
652
652
|
let o = e;
|
|
653
653
|
const a = () => {
|
|
@@ -1085,9 +1085,9 @@ class tt {
|
|
|
1085
1085
|
}
|
|
1086
1086
|
var Ee;
|
|
1087
1087
|
(Ee = tt || (tt = {})).ErrorMessages = mt, Ee.Global = new Ee();
|
|
1088
|
-
const
|
|
1088
|
+
const Gt = "__SHEETXL";
|
|
1089
1089
|
let ee = null, le = null;
|
|
1090
|
-
async function
|
|
1090
|
+
async function qt() {
|
|
1091
1091
|
if (ee)
|
|
1092
1092
|
return ee;
|
|
1093
1093
|
if (le) {
|
|
@@ -1114,9 +1114,9 @@ const Wt = {
|
|
|
1114
1114
|
target: "esnext"
|
|
1115
1115
|
}
|
|
1116
1116
|
};
|
|
1117
|
-
async function Yt(e, t, n = "/script.js", r =
|
|
1117
|
+
async function Yt(e, t, n = "/script.js", r = Gt) {
|
|
1118
1118
|
try {
|
|
1119
|
-
const o = await
|
|
1119
|
+
const o = await qt(), a = "@sheetxl/primitives", i = \`
|
|
1120
1120
|
export const FormulaContext = globalThis.\${r}?.FormulaContext;
|
|
1121
1121
|
export const ScalarType = globalThis.\${r}?.ScalarType;
|
|
1122
1122
|
export const Observable = globalThis.\${r}?.Observable;
|
|
@@ -1323,8 +1323,8 @@ async function nn(e) {
|
|
|
1323
1323
|
const M = s.typeName?.getText?.() ?? null, K = yt.get(M);
|
|
1324
1324
|
let V = !1;
|
|
1325
1325
|
K && (m.range = K, V = !0);
|
|
1326
|
-
const
|
|
1327
|
-
if (
|
|
1326
|
+
const G = Zt.get(M);
|
|
1327
|
+
if (G && (m.scalar = G), G !== void 0 && (V = !0), P) {
|
|
1328
1328
|
const R = gt.get(M);
|
|
1329
1329
|
if (R)
|
|
1330
1330
|
return R;
|
|
@@ -1371,8 +1371,8 @@ async function nn(e) {
|
|
|
1371
1371
|
}
|
|
1372
1372
|
const V = {};
|
|
1373
1373
|
c(s.type, V, m, !1), m.returnType = V;
|
|
1374
|
-
const
|
|
1375
|
-
fe(s) && (
|
|
1374
|
+
const G = {};
|
|
1375
|
+
fe(s) && (G.default = !0, u = P), Object.keys(G).length > 0 && (m.behavior = G), m.parameters = [];
|
|
1376
1376
|
const H = /* @__PURE__ */ new Map();
|
|
1377
1377
|
for (let R = 0; R < s.parameters.length; R++) {
|
|
1378
1378
|
const b = s.parameters[R], N = {};
|
|
@@ -1398,8 +1398,8 @@ async function nn(e) {
|
|
|
1398
1398
|
b.dotDotDotToken && (N.rest = !0), m.parameters.push(N);
|
|
1399
1399
|
const C = { description: "" };
|
|
1400
1400
|
L.parameters[N.name] = C;
|
|
1401
|
-
const
|
|
1402
|
-
|
|
1401
|
+
const q = I.getSymbolAtLocation(b.name).getDocumentationComment(I);
|
|
1402
|
+
q && q.length > 0 && q[0].text && (C.description = q[0].text), v !== void 0 && (C.defaultValue = v), H.set(N.name, N);
|
|
1403
1403
|
}
|
|
1404
1404
|
if (s.jsDoc && s.jsDoc.length > 0) {
|
|
1405
1405
|
const R = s.jsDoc;
|
|
@@ -1412,8 +1412,8 @@ async function nn(e) {
|
|
|
1412
1412
|
if (!v) continue;
|
|
1413
1413
|
v = v.toLowerCase();
|
|
1414
1414
|
let C = z.comment;
|
|
1415
|
-
const
|
|
1416
|
-
if (!(typeof C != "string" && !
|
|
1415
|
+
const q = v === "hidden";
|
|
1416
|
+
if (!(typeof C != "string" && !q) && (typeof C == "string" && (C = C.replace(/[\\r\\n]+/g, "\\\\n").trim()), !(!q && C && (C = C.split(/\\\\n/)[0], !C || C.length === 0)))) {
|
|
1417
1417
|
if (C && typeof C == "string") {
|
|
1418
1418
|
const O = /\\{@link(code|plain)?\\s+([^}|]+)(?:\\s*\\|\\s*([^}]+))?\\}/g;
|
|
1419
1419
|
let F, Z = C, te = [];
|
|
@@ -1574,7 +1574,7 @@ async function p() {
|
|
|
1574
1574
|
return await l();
|
|
1575
1575
|
}
|
|
1576
1576
|
const l = async () => {
|
|
1577
|
-
const { compileModule: e } = await import("./
|
|
1577
|
+
const { compileModule: e } = await import("./BQ_uhzdW_ySk-rS3.js"), n = new u((t) => e(t));
|
|
1578
1578
|
return await n.start(), n;
|
|
1579
1579
|
};
|
|
1580
1580
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as le, M as S } from "./
|
|
1
|
+
import { t as le, M as S } from "./BCO9ENV5uM-3cC6k.js";
|
|
2
2
|
/**
|
|
3
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.
|
|
3
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.7
|
|
4
4
|
*
|
|
5
5
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
6
6
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -22,7 +22,7 @@ let R = null;
|
|
|
22
22
|
async function me() {
|
|
23
23
|
if (R) return R;
|
|
24
24
|
try {
|
|
25
|
-
return await (await import("
|
|
25
|
+
return await (await import("./-dzuo_Wj7VBnGDUj.js")).initialize();
|
|
26
26
|
} catch (b) {
|
|
27
27
|
throw R = null, b;
|
|
28
28
|
} finally {
|
|
@@ -216,7 +216,7 @@ interface Promise<T> {
|
|
|
216
216
|
c = t, l = s;
|
|
217
217
|
});
|
|
218
218
|
try {
|
|
219
|
-
const { initialize: t } = await import("./
|
|
219
|
+
const { initialize: t } = await import("./F9Cwy_aefTGi6WoG.js");
|
|
220
220
|
return v = await t(), c(), v;
|
|
221
221
|
} catch (t) {
|
|
222
222
|
throw console.error("Failed to import or initialize esbuild:", t), M = null, l(t), t;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.7
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.7
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
import { a as i } from "./DsmpINqpSKnRqkx4.js";
|
|
2
|
+
import { r as s } from "./CN-ih7whNYnQh8PD.js";
|
|
3
|
+
import { a5 as p, w as R, _ as W, E as le, a6 as ae, z as re, A as ce, B as O, a7 as g, K as m, a8 as y, T as Q, F as b, I as pe, N as v, a9 as X, aa as de, a4 as ue, a1 as fe, a2 as xe, a3 as ge } from "./BCO9ENV5uM-3cC6k.js";
|
|
4
|
+
/**
|
|
5
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.7
|
|
6
|
+
*
|
|
7
|
+
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
8
|
+
* License: The license can be found at https://www.sheetxl.com/license.
|
|
9
|
+
*/
|
|
10
|
+
const B = { width: "1.5rem", height: "1.5rem" }, M = s.memo((k) => {
|
|
11
|
+
const { label: h, value: c, options: l, onSelect: d, tabIndex: C = 0, ...F } = k, [T, j] = s.useState(() => ee(c, l));
|
|
12
|
+
s.useEffect(() => {
|
|
13
|
+
j(ee(c, l));
|
|
14
|
+
}, [c, l]);
|
|
15
|
+
const K = W((u) => {
|
|
16
|
+
j(u.target.value), d?.(l[u.target.value]);
|
|
17
|
+
}, [d, l]), a = s.useMemo(() => Object.keys(l).map((u) => i.jsx(ue, { value: u, children: u }, u)), [l]);
|
|
18
|
+
return i.jsxs(fe, { sx: { minWidth: 135 }, size: "small", children: [i.jsx(xe, { children: h }), i.jsx(ge, { inputProps: { tabIndex: C }, value: T, label: h, onChange: K, sx: { backgroundImage: `linear-gradient(${b("#fff", v(5))}, ${b("#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 me = { "By Rows": !0, "By Columns": !1 }, ee = (k, h) => {
|
|
22
|
+
const c = Object.keys(h);
|
|
23
|
+
for (let l = 0; l < c.length; l++) {
|
|
24
|
+
const d = c[l];
|
|
25
|
+
if (h[d] === k) return d;
|
|
26
|
+
}
|
|
27
|
+
}, Ce = s.memo((k) => {
|
|
28
|
+
const { replace: h = !1, findText: c, replaceText: l, findOptions: d, replaceOptions: C, title: F, onHide: T, onFindOrReplace: j, ...K } = k, a = s.useRef(null), u = s.useRef(null), $ = s.useRef(null), z = s.useRef(null), L = s.useRef(null), P = s.useRef(null), N = (e, n) => {
|
|
29
|
+
n && (n.start(e, { center: !1 }), setTimeout(() => n.stop(e), 180));
|
|
30
|
+
}, [V, E] = s.useState(!1), [I, ie] = s.useState(!1), [f, D] = s.useState(h), [H, A] = s.useState(!1), [U, G] = s.useState(!1), [o, r] = s.useState({ replaceText: null, replace: h, replaceOptions: {}, findOptions: { text: null, matchCase: !1, matchEntireCell: !1, useRegex: !1, orientation: R.Orientation.Row, fields: [p.Content.Formulas] }, scope: Y.Sheet }), S = W(async (e, n, t, w) => {
|
|
31
|
+
if (!j) return;
|
|
32
|
+
const x = { ...o };
|
|
33
|
+
x.replaceOptions = { ...x.replaceOptions }, x.findOptions = { ...x.findOptions }, x.replaceOptions.maxCount = t ? void 0 : 1, x.replace = n, n && o.findOptions.fields?.[0] === p.Content.Values && (x.findOptions.fields = [p.Content.Formulas]), x.findOptions.reverse = !e;
|
|
34
|
+
const se = await j({ autoFocus: w, ...x });
|
|
35
|
+
A(se === 0);
|
|
36
|
+
}, [o, j]);
|
|
37
|
+
s.useEffect(() => {
|
|
38
|
+
A(!1);
|
|
39
|
+
}, [o, I, f]);
|
|
40
|
+
const _ = W((e, n) => {
|
|
41
|
+
if (e.keyCode === le.Enter) {
|
|
42
|
+
if (!o.findOptions.text) return;
|
|
43
|
+
let t = !0, w = !1;
|
|
44
|
+
e.shiftKey && (t = !1), n ? (e.ctrlKey && e.altKey && (w = !0), N(e, w ? P.current : L.current)) : N(e, t ? z.current : $.current), S(t, n, w, !1);
|
|
45
|
+
}
|
|
46
|
+
}, [o]), q = s.useRef(null);
|
|
47
|
+
s.useLayoutEffect(() => {
|
|
48
|
+
r((e) => {
|
|
49
|
+
const n = { ...e };
|
|
50
|
+
n.findOptions.text = c && c.length > 0 ? c : e.findOptions.text ?? "", E(!0), l !== void 0 && (n.replaceText = l), d && (n.findOptions = { ...n.findOptions, ...d }), n.replaceText || (n.replaceText = ""), n.replaceOptions && (n.replaceOptions = { ...n.replaceOptions }), C && (n.replaceOptions = { ...n.replaceOptions, ...C }), o.findOptions.fields?.[0] || (o.findOptions.fields = [p.Content.Formulas]);
|
|
51
|
+
const t = !(!C && l === void 0);
|
|
52
|
+
return t && D(t), n;
|
|
53
|
+
}), U || q.current?.focus();
|
|
54
|
+
}, [c, l, d, C]), s.useEffect(() => {
|
|
55
|
+
f ? (o.findOptions.fields[0], p.Content.Values) : E(!0);
|
|
56
|
+
}, [f]), s.useEffect(() => {
|
|
57
|
+
if (V && a.current && o.findOptions.text === a.current.value) return a.current === document.activeElement || a.current.contains(document.activeElement) ? (a.current?.select(), void E(!1)) : void a.current.addEventListener("focus", () => {
|
|
58
|
+
a.current?.select(), E(!1);
|
|
59
|
+
}, { once: !0 });
|
|
60
|
+
}, [V, o]);
|
|
61
|
+
const [oe, { width: J }] = ae();
|
|
62
|
+
return i.jsx(re, { ref: q, title: F ?? (f ? "Find & Replace" : "Find"), initialPosition: { y: "35" }, autoFocusSel: ".input", onHide: T, onFocus: () => G(!0), onBlur: () => {
|
|
63
|
+
G(!1), A(!1);
|
|
64
|
+
}, slotProps: { paper: { elevation: U ? 3 : 1 } }, ...K, children: i.jsxs(ce, { dividers: !0, ref: oe, sx: { display: "flex", flexDirection: "column", paddingLeft: (e) => e.spacing(1.5), paddingRight: (e) => e.spacing(1.5) }, onKeyDown: (e) => {
|
|
65
|
+
if (e.key === "h" && e.ctrlKey) D(!0), a.current?.contains(document.activeElement) && u.current?.focus();
|
|
66
|
+
else if (e.key === "f" && e.ctrlKey) a.current?.focus();
|
|
67
|
+
else if (e.key === "c" && e.altKey) r((n) => {
|
|
68
|
+
const t = { ...n };
|
|
69
|
+
return t.findOptions.matchCase = !n.findOptions.matchCase, t;
|
|
70
|
+
});
|
|
71
|
+
else if (e.key === "e" && e.altKey) r((n) => {
|
|
72
|
+
const t = { ...n };
|
|
73
|
+
return t.findOptions.matchEntireCell = !n.findOptions.matchEntireCell, t;
|
|
74
|
+
});
|
|
75
|
+
else {
|
|
76
|
+
if (e.key !== "r" || !e.altKey) return;
|
|
77
|
+
r((n) => {
|
|
78
|
+
const t = { ...n };
|
|
79
|
+
return t.findOptions.useRegex = !n.findOptions.useRegex, t;
|
|
80
|
+
});
|
|
81
|
+
}
|
|
82
|
+
e.preventDefault();
|
|
83
|
+
}, children: [i.jsxs(O, { sx: { display: "flex", flexDirection: "row", gap: (e) => e.spacing(1) }, children: [i.jsxs(O, { sx: { display: "flex", flexDirection: "row", alignItems: "start", gap: (e) => e.spacing(0.25), paddingTop: "3px" }, children: [i.jsx(g, { selected: I, onSelectToggle: (e) => {
|
|
84
|
+
ie(e);
|
|
85
|
+
}, preventFocus: !0, label: "Toggle Additional Options", icon: i.jsx(m, { iconKey: "FindOptions" }) }), i.jsx(g, { selected: f, onSelectToggle: (e) => {
|
|
86
|
+
D(e);
|
|
87
|
+
}, preventFocus: !0, label: "Toggle Replace", icon: i.jsx(m, { iconKey: "FindReplaceToggle" }), shortcut: { key: f ? "F" : "H", modifiers: [y.Ctrl] } })] }), i.jsxs(O, { sx: { display: "flex", flexDirection: "column", maxWidth: "100%", boxSizing: "border-box" }, children: [i.jsxs(O, { sx: { display: "flex", flexDirection: "row", alignItems: "center" }, children: [i.jsx(Q, { label: "Find", slotProps: { input: { sx: { paddingRight: (e) => e.spacing(1), minWidth: J > 460 ? "20em" : void 0, backgroundImage: `linear-gradient(${b("#fff", v(5))}, ${b("#fff", v(5))})` }, endAdornment: i.jsx(pe, { position: "end", children: i.jsxs(O, { sx: { display: "flex", alignItems: "center", flexDirection: "row", gap: "2px" }, children: [i.jsx(g, { style: B, selected: o.findOptions.matchCase, onBlur: () => {
|
|
88
|
+
console.log("blur");
|
|
89
|
+
}, onSelectToggle: (e) => {
|
|
90
|
+
r((n) => {
|
|
91
|
+
const t = { ...n };
|
|
92
|
+
return t.findOptions.matchCase = e, t;
|
|
93
|
+
});
|
|
94
|
+
}, label: "Match Case", shortcut: { key: "C", modifiers: [y.Alt] }, icon: i.jsx(m, { iconKey: "FindCaseSensitive", size: "1rem" }) }), i.jsx(g, { style: B, selected: o.findOptions.matchEntireCell, onSelectToggle: (e) => {
|
|
95
|
+
r((n) => {
|
|
96
|
+
const t = { ...n };
|
|
97
|
+
return t.findOptions.matchEntireCell = e, t;
|
|
98
|
+
});
|
|
99
|
+
}, label: "Match Entire Cell", shortcut: { key: "E", modifiers: [y.Alt] }, icon: i.jsx(m, { iconKey: "FindWholeWord", size: "1rem" }) }), i.jsx(g, { style: B, selected: o.findOptions.useRegex, onSelectToggle: (e) => {
|
|
100
|
+
r((n) => {
|
|
101
|
+
const t = { ...n };
|
|
102
|
+
return t.findOptions.useRegex = e, t;
|
|
103
|
+
});
|
|
104
|
+
}, label: "Use Regular Expression", shortcut: { key: "R", modifiers: [y.Alt] }, icon: i.jsx(m, { iconKey: "FindRegEx", size: "1rem" }) })] }) }) }, inputLabel: { shrink: !0 }, htmlInput: { draggable: !1, ref: a, className: "input", autoFocus: !0, spellCheck: !1, autoComplete: "off", sx: { paddingTop: (e) => e.spacing(1.25), paddingBottom: (e) => e.spacing(0.75) } } }, sx: { flex: "1 1 100%", marginRight: (e) => e.spacing(1), "& .MuiOutlinedInput-notchedOutline": { borderColor: (e) => H ? `${e.palette.error.main} !important` : void 0 }, "& .MuiInputLabel-outlined": { color: (e) => H ? `${e.palette.error.main} !important` : void 0 } }, value: o.findOptions.text ?? "", onChange: (e) => {
|
|
105
|
+
r((n) => {
|
|
106
|
+
const t = { ...n };
|
|
107
|
+
return t.findOptions.text = e.target.value, t;
|
|
108
|
+
});
|
|
109
|
+
}, onKeyDown: (e) => _(e, !1), onContextMenu: (e) => {
|
|
110
|
+
e.stopPropagation();
|
|
111
|
+
} }), i.jsx(g, { selected: o.findOptions.reverse, onSelectToggle: (e) => {
|
|
112
|
+
S(!1, !1);
|
|
113
|
+
}, touchRippleRef: $, label: "", shortcut: { key: "Enter", modifiers: [y.Shift] }, icon: i.jsx(m, { iconKey: o.findOptions.orientation !== R.Orientation.Column ? "ArrowBack" : "ArrowUpward" }), disabled: !o.findOptions.text }), i.jsx(g, { selected: !o.findOptions.reverse, onSelectToggle: (e) => {
|
|
114
|
+
S(!0, !1);
|
|
115
|
+
}, touchRippleRef: z, label: "Next Match", shortcut: { key: "Enter" }, icon: i.jsx(m, { iconKey: o.findOptions.orientation !== R.Orientation.Column ? "ArrowForward" : "ArrowDownward" }), disabled: !o.findOptions.text })] }), i.jsx(X, { in: f, timeout: Z, onExit: () => {
|
|
116
|
+
a.current?.focus();
|
|
117
|
+
}, children: i.jsxs(O, { sx: { display: "flex", flexDirection: "row", alignItems: "center", marginTop: (e) => e.spacing(2) }, children: [i.jsx(Q, { label: "Replace", slotProps: { input: { sx: { paddingRight: (e) => e.spacing(1), backgroundImage: `linear-gradient(${b("#fff", v(5))}, ${b("#fff", v(5))})` } }, inputLabel: { shrink: !0 }, htmlInput: { ref: u, className: "input", spellCheck: !1, autoComplete: "off", sx: { paddingTop: (e) => e.spacing(1.25), paddingBottom: (e) => e.spacing(0.75) } } }, sx: { flex: "1 1 100%", marginRight: (e) => e.spacing(1) }, value: o.replaceText ?? "", onChange: (e) => {
|
|
118
|
+
r((n) => {
|
|
119
|
+
const t = { ...n };
|
|
120
|
+
return t.replaceText = e.target.value, t;
|
|
121
|
+
});
|
|
122
|
+
}, onKeyDown: (e) => _(e, !0), onContextMenu: (e) => {
|
|
123
|
+
e.stopPropagation();
|
|
124
|
+
} }), i.jsx(g, { onSelectToggle: (e) => {
|
|
125
|
+
S(!0, !0);
|
|
126
|
+
}, touchRippleRef: L, label: "Replace", shortcut: { key: "Enter" }, icon: i.jsx(m, { iconKey: "FindReplace" }), disabled: !o.findOptions.text }), i.jsx(g, { onSelectToggle: (e) => {
|
|
127
|
+
S(!0, !0, !0);
|
|
128
|
+
}, touchRippleRef: P, label: "Replace All", shortcut: { key: "Enter", modifiers: [y.Ctrl, y.Alt] }, icon: i.jsx(m, { iconKey: "FindReplaceAll" }), disabled: !o.findOptions.text })] }) })] })] }), i.jsx(X, { in: I, timeout: Z, onExit: () => {
|
|
129
|
+
a.current?.focus();
|
|
130
|
+
}, children: i.jsxs(O, { sx: { minHeight: "10px", flex: "1 1 100%", display: "flex", flexDirection: "column", gap: (e) => e.spacing(1.5), marginTop: (e) => e.spacing(1) }, children: [i.jsx(de, { orientation: "horizontal", sx: { marginBottom: (e) => e.spacing(1.5) } }), i.jsxs(O, { sx: { display: "flex", flexDirection: J >= 383 ? "row" : "column", justifyContent: "space-evenly", alignItems: "center", gap: (e) => e.spacing(1), rowGap: (e) => e.spacing(2) }, tabIndex: -1, children: [i.jsx(M, { label: "Within", value: o.scope, options: Y, onSelect: (e) => {
|
|
131
|
+
r((n) => {
|
|
132
|
+
const t = { ...n };
|
|
133
|
+
return t.scope = e, t;
|
|
134
|
+
});
|
|
135
|
+
} }), i.jsx(M, { label: "Search", value: o.findOptions.orientation !== R.Orientation.Column, options: me, onSelect: (e) => {
|
|
136
|
+
r((n) => {
|
|
137
|
+
const t = { ...n };
|
|
138
|
+
return t.findOptions.orientation = e ? R.Orientation.Row : R.Orientation.Column, t;
|
|
139
|
+
});
|
|
140
|
+
} }), i.jsx(M, { label: "Look in", value: f && o.findOptions.fields?.[0] === p.Content.Values ? p.Content.Formulas : o.findOptions.fields?.[0], options: f ? te : ne, onSelect: (e) => {
|
|
141
|
+
r((n) => {
|
|
142
|
+
const t = { ...n };
|
|
143
|
+
return t.findOptions.fields = [e], t;
|
|
144
|
+
});
|
|
145
|
+
} })] })] }) })] }) });
|
|
146
|
+
});
|
|
147
|
+
export {
|
|
148
|
+
Ce as FindReplaceWindow,
|
|
149
|
+
Y as ScopeOptions,
|
|
150
|
+
Ce as default
|
|
151
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as u, m as T } from "./
|
|
1
|
+
import { r as u, m as T } from "./CN-ih7whNYnQh8PD.js";
|
|
2
2
|
/**
|
|
3
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.
|
|
3
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.7
|
|
4
4
|
*
|
|
5
5
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
6
6
|
* License: The license can be found at https://www.sheetxl.com/license.
|