@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,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as
|
|
1
|
+
import { ao as k, ah as T, Z as G, w as Q, ai as W, ap as C, aq as tt, ar as P, n as et, t as Y, as as V } from "./BCO9ENV5uM-3cC6k.js";
|
|
2
|
+
import { c as x, b as f, r as L, t as rt, a as A, p as D, d as st } from "./CpiCssHUOXBUIN_K.js";
|
|
3
3
|
/**
|
|
4
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.
|
|
4
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.7
|
|
5
5
|
*
|
|
6
6
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
7
7
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -401,9 +401,9 @@ class M extends q {
|
|
|
401
401
|
if (r) {
|
|
402
402
|
H(r, s);
|
|
403
403
|
const l = { x: 0, y: 0, width: 0, height: 0 }, a = t.evaluate("off", r);
|
|
404
|
-
a && (l.x =
|
|
404
|
+
a && (l.x = x(a.getAttribute("x")) ?? 0, l.y = x(a.getAttribute("y")) ?? 0);
|
|
405
405
|
const c = t.evaluate("ext", r);
|
|
406
|
-
a && (l.width =
|
|
406
|
+
a && (l.width = x(c.getAttribute("cx")) ?? 0, l.height = x(c.getAttribute("cy")) ?? 0), s.bounds = l;
|
|
407
407
|
}
|
|
408
408
|
const o = t.evaluate("prstGeom", e);
|
|
409
409
|
o?.hasAttribute("prst") ? s.geometry = o?.getAttribute("prst") : t.evaluate("customGeom", e) && console.warn("customGeom not supported yet");
|
|
@@ -658,7 +658,7 @@ class F {
|
|
|
658
658
|
const o = s.font ?? {};
|
|
659
659
|
if (r.hasAttribute("typeface") && (o.family = r.getAttribute("typeface")), r.hasAttribute("panose")) {
|
|
660
660
|
const i = r.getAttribute("panose");
|
|
661
|
-
i && (o.fallbacks = [
|
|
661
|
+
i && (o.fallbacks = [k.getPanoseFallback(i)]);
|
|
662
662
|
}
|
|
663
663
|
r.hasAttribute("pitchFamily") && (o.pitch = r.getAttribute("pitchFamily")), r.hasAttribute("charset") && (o.charset = r.getAttribute("charset")), Object.keys(o).length > 0 && (s.font = o);
|
|
664
664
|
}
|
|
@@ -765,7 +765,7 @@ class wt {
|
|
|
765
765
|
const o = r.getAttribute("typeface");
|
|
766
766
|
o && (s.family = o);
|
|
767
767
|
const i = r.getAttribute("panose");
|
|
768
|
-
return i && (s.fallbacks = [
|
|
768
|
+
return i && (s.fallbacks = [k.getPanoseFallback(i)]), s;
|
|
769
769
|
}
|
|
770
770
|
}
|
|
771
771
|
class Pt {
|
|
@@ -885,7 +885,7 @@ class Ot {
|
|
|
885
885
|
r.collatorOptions = n ? G.CaseSensitiveOptions : G.CaseInsensitiveOptions;
|
|
886
886
|
}
|
|
887
887
|
const o = e.getAttribute("sortMethod");
|
|
888
|
-
o != null && o !== "none" && (o === "stroke" ? r.collatorOptions = { ...r.collatorOptions, collation: "stroke" } : o === "pinYin" && (r.collatorOptions = { ...r.collatorOptions, collation: "pinyin" })), e.hasAttribute("columnSort") && f(e.getAttribute("columnSort")) && (r.orientation =
|
|
888
|
+
o != null && o !== "none" && (o === "stroke" ? r.collatorOptions = { ...r.collatorOptions, collation: "stroke" } : o === "pinYin" && (r.collatorOptions = { ...r.collatorOptions, collation: "pinyin" })), e.hasAttribute("columnSort") && f(e.getAttribute("columnSort")) && (r.orientation = Q.Orientation.Column);
|
|
889
889
|
const i = W.fastStringToRange(r.ref);
|
|
890
890
|
return this.processSortConditions(t, e, r, i), Object.keys(r).length > 0 && (s.sort = r), r;
|
|
891
891
|
}
|
|
@@ -914,7 +914,7 @@ class Ot {
|
|
|
914
914
|
return i.length > 0 && (s.fields = i), i;
|
|
915
915
|
}
|
|
916
916
|
}
|
|
917
|
-
class
|
|
917
|
+
class Z {
|
|
918
918
|
visit(t, e, s) {
|
|
919
919
|
}
|
|
920
920
|
processDataBarColor(t, e, s, r, o = "dk1") {
|
|
@@ -936,13 +936,13 @@ class Q {
|
|
|
936
936
|
return s;
|
|
937
937
|
}
|
|
938
938
|
processFont(t, e, s) {
|
|
939
|
-
t.getValAttrAsBoolean("b", e, !0) && (s.weight = 700), t.getValAttrAsBoolean("i", e, !0) && (s.style =
|
|
939
|
+
t.getValAttrAsBoolean("b", e, !0) && (s.weight = 700), t.getValAttrAsBoolean("i", e, !0) && (s.style = k.Style.Italic), t.getValAttrAsBoolean("strike", e, !0) && (s.strike = !0);
|
|
940
940
|
const r = t.evaluate("u", e);
|
|
941
941
|
if (r) {
|
|
942
942
|
const n = r.getAttribute("val");
|
|
943
|
-
s.underline = n ||
|
|
943
|
+
s.underline = n || k.UnderlineStyle.Single;
|
|
944
944
|
}
|
|
945
|
-
b(t, e, s, "vertAlign", "verticalAlign"), s.verticalAlign === "superscript" ? s.verticalAlign =
|
|
945
|
+
b(t, e, s, "vertAlign", "verticalAlign"), s.verticalAlign === "superscript" ? s.verticalAlign = k.VerticalAlignment.Super : s.verticalAlign === "subscript" && (s.verticalAlign = k.VerticalAlignment.Sub), y(t, e, s, "sz", "size");
|
|
946
946
|
const o = t.evaluate("color", e);
|
|
947
947
|
this.processDataBarColor(t, o, s, "fill"), s.fill || (s.fill = "dk1"), b(t, e, s, "name", "family"), b(t, e, s, "rFont", "family");
|
|
948
948
|
const i = t.evaluate("family", e);
|
|
@@ -1055,7 +1055,7 @@ class Q {
|
|
|
1055
1055
|
return n && this.processDataBarColor(t, n, i, "color"), Object.keys(i).length > 0 ? s[r] = i : null;
|
|
1056
1056
|
}
|
|
1057
1057
|
}
|
|
1058
|
-
class Tt extends
|
|
1058
|
+
class Tt extends Z {
|
|
1059
1059
|
visit(t, e, s) {
|
|
1060
1060
|
this.processNumFmts(t, t.evaluate("numFmts", e), null), t.getVisitorParamsState().set("colorsToProcess", /* @__PURE__ */ new Set());
|
|
1061
1061
|
const r = { fills: {}, fonts: {}, borders: {} };
|
|
@@ -1255,7 +1255,7 @@ class Tt extends Q {
|
|
|
1255
1255
|
afterVisit(t, e, s) {
|
|
1256
1256
|
}
|
|
1257
1257
|
}
|
|
1258
|
-
class Vt extends
|
|
1258
|
+
class Vt extends Z {
|
|
1259
1259
|
visit(t, e, s) {
|
|
1260
1260
|
return this.processSheetRefs(t, t.evaluate("sheets", e), s), this.processBookViews(t, t.evaluate("bookViews", e), s), this.processDefinedNames(t, t.evaluate("definedNames", e), s), this.processCalcPr(t, t.evaluate("calcPr", e), s), this.processWorkbookProtection(t, t.evaluate("workbookProtection", e), s), this.processWorkbookPr(t, t.evaluate("workbookPr", e), s), s;
|
|
1261
1261
|
}
|
|
@@ -1362,7 +1362,7 @@ class St {
|
|
|
1362
1362
|
o.length > 0 && (s.columns = o);
|
|
1363
1363
|
}
|
|
1364
1364
|
}
|
|
1365
|
-
class
|
|
1365
|
+
class kt {
|
|
1366
1366
|
visit(t, e, s) {
|
|
1367
1367
|
return s;
|
|
1368
1368
|
}
|
|
@@ -1376,7 +1376,7 @@ class E {
|
|
|
1376
1376
|
processOffsetCoord(t, e, s, r) {
|
|
1377
1377
|
if (!e) return;
|
|
1378
1378
|
const o = { c: 0, r: 0, x: 0, y: 0 };
|
|
1379
|
-
return t.evaluate("col", e) && (o.c = parseInt(t.evaluate("col", e).textContent)), t.evaluate("row", e) && (o.r = parseInt(t.evaluate("row", e).textContent)), t.evaluate("colOff", e) && (o.x =
|
|
1379
|
+
return t.evaluate("col", e) && (o.c = parseInt(t.evaluate("col", e).textContent)), t.evaluate("row", e) && (o.r = parseInt(t.evaluate("row", e).textContent)), t.evaluate("colOff", e) && (o.x = x(t.evaluate("colOff", e).textContent)), t.evaluate("rowOff", e) && (o.y = x(t.evaluate("rowOff", e).textContent)), r === "from" ? s.tl = o : s.br = o, s;
|
|
1380
1380
|
}
|
|
1381
1381
|
}
|
|
1382
1382
|
class U {
|
|
@@ -1386,7 +1386,7 @@ class U {
|
|
|
1386
1386
|
return r && (t.copyFromAttribute(r, "name", s), t.copyFromAttribute(r, "desc", s), t.copyFromAttribute(r, "hidden", s, "hidden", t.BOOLEAN_COPY), t.copyFromAttribute(r, "id", s)), s;
|
|
1387
1387
|
}
|
|
1388
1388
|
}
|
|
1389
|
-
class
|
|
1389
|
+
class xt extends U {
|
|
1390
1390
|
visit(t, e, s) {
|
|
1391
1391
|
if (!e) return;
|
|
1392
1392
|
s = super.visit(t, e, s);
|
|
@@ -1624,7 +1624,7 @@ class zt {
|
|
|
1624
1624
|
}
|
|
1625
1625
|
class Xt {
|
|
1626
1626
|
constructor() {
|
|
1627
|
-
this.visitorsByXmlTagName = /* @__PURE__ */ new Map(), this.scopedVisitorsByXmlTagName = /* @__PURE__ */ new Map(), this.visitorParamsState = null, this.registerVisitor("Relationships", new ct()), this.registerVisitor("spPr", new M()), this.registerVisitor("txBody", new F()), this.registerVisitor("txPr", new F()), this.registerVisitor("c:chartSpace", new ut()), this.registerVisitor("c:chartSpace", new ht(), "chart"), this.registerVisitor("c:plotArea", new pt()), this.registerVisitor("c:barChart", new gt()), this.registerVisitor("c:doughnutChart", new S()), this.registerVisitor("c:lineChart", new S()), this.registerVisitor("c:ofPieType", new S()), this.registerVisitor("c:pieChart", new S()), this.registerVisitor("c:scatterChart", new S()), this.registerVisitor("c:barChart", new N("dataLabels"), "dLbls"), this.registerVisitor("c:doughnutChart", new N("dataLabels"), "dLbls"), this.registerVisitor("c:lineChart", new N("dataLabels"), "dLbls"), this.registerVisitor("c:ofPieType", new N("dataLabels"), "dLbls"), this.registerVisitor("c:pieChart", new N("dataLabels"), "dLbls"), this.registerVisitor("c:scatterChart", new N("dataLabels"), "dLbls"), this.registerVisitor("c:ser", new dt()), this.registerVisitor("c:dPt", new mt()), this.registerVisitor("c:marker", new bt()), this.registerVisitor("c:catAx", new R()), this.registerVisitor("c:valAx", new R()), this.registerVisitor("c:dateAx", new R()), this.registerVisitor("c:majorGridlines", new j("gridLinesMajor")), this.registerVisitor("c:minorGridlines", new j("gridLinesMinor")), this.registerVisitor("c:chartSpace", null, "txPr"), this.registerVisitor("c:catAx", new F("labels.text"), "txPr"), this.registerVisitor("c:valAx", new F("labels.text"), "txPr"), this.registerVisitor("c:dateAx", new F("labels.text"), "txPr"), this.registerVisitor("c:legend", new At()), this.registerVisitor("c:legend", new F("labels.text"), "txPr"), this.registerVisitor("c:legendEntry", new ft()), this.registerVisitor("c:ser", new yt(), "extLst/ext/invertSolidFillFmt/spPr"), this.registerVisitor("c:ser", new N("labels"), "dLbls"), this.registerVisitor("c:dLbl", new N("points")), this.registerVisitor("c:title", new X()), this.registerVisitor("c:title", null, "tx/rich"), this.registerVisitor("c:title", null, "txPr"), this.registerVisitor("c:layout", new vt()), this.registerVisitor("c:dispUnits", new j("dispUnits")), this.registerVisitor("c:dispUnitsLbl", new X("displayUnitsLabel")), this.registerVisitor("c:dispUnitsLbl", new F(), "tx/rich"), this.registerVisitor("a:theme", new Ft()), this.registerVisitor("a:theme", new Ct(), "themeElements/clrScheme"), this.registerVisitor("a:theme", new wt(), "themeElements/fontScheme"), this.registerVisitor("autoFilter", new Nt()), this.registerVisitor("sortState", new Ot()), this.registerVisitor("s:workbook", new Vt()), this.registerVisitor("styleSheet", new Tt()), this.registerVisitor("table", new St()), this.registerVisitor("hlinkClick", new Pt()), this.registerVisitor("wsDr", new
|
|
1627
|
+
this.visitorsByXmlTagName = /* @__PURE__ */ new Map(), this.scopedVisitorsByXmlTagName = /* @__PURE__ */ new Map(), this.visitorParamsState = null, this.registerVisitor("Relationships", new ct()), this.registerVisitor("spPr", new M()), this.registerVisitor("txBody", new F()), this.registerVisitor("txPr", new F()), this.registerVisitor("c:chartSpace", new ut()), this.registerVisitor("c:chartSpace", new ht(), "chart"), this.registerVisitor("c:plotArea", new pt()), this.registerVisitor("c:barChart", new gt()), this.registerVisitor("c:doughnutChart", new S()), this.registerVisitor("c:lineChart", new S()), this.registerVisitor("c:ofPieType", new S()), this.registerVisitor("c:pieChart", new S()), this.registerVisitor("c:scatterChart", new S()), this.registerVisitor("c:barChart", new N("dataLabels"), "dLbls"), this.registerVisitor("c:doughnutChart", new N("dataLabels"), "dLbls"), this.registerVisitor("c:lineChart", new N("dataLabels"), "dLbls"), this.registerVisitor("c:ofPieType", new N("dataLabels"), "dLbls"), this.registerVisitor("c:pieChart", new N("dataLabels"), "dLbls"), this.registerVisitor("c:scatterChart", new N("dataLabels"), "dLbls"), this.registerVisitor("c:ser", new dt()), this.registerVisitor("c:dPt", new mt()), this.registerVisitor("c:marker", new bt()), this.registerVisitor("c:catAx", new R()), this.registerVisitor("c:valAx", new R()), this.registerVisitor("c:dateAx", new R()), this.registerVisitor("c:majorGridlines", new j("gridLinesMajor")), this.registerVisitor("c:minorGridlines", new j("gridLinesMinor")), this.registerVisitor("c:chartSpace", null, "txPr"), this.registerVisitor("c:catAx", new F("labels.text"), "txPr"), this.registerVisitor("c:valAx", new F("labels.text"), "txPr"), this.registerVisitor("c:dateAx", new F("labels.text"), "txPr"), this.registerVisitor("c:legend", new At()), this.registerVisitor("c:legend", new F("labels.text"), "txPr"), this.registerVisitor("c:legendEntry", new ft()), this.registerVisitor("c:ser", new yt(), "extLst/ext/invertSolidFillFmt/spPr"), this.registerVisitor("c:ser", new N("labels"), "dLbls"), this.registerVisitor("c:dLbl", new N("points")), this.registerVisitor("c:title", new X()), this.registerVisitor("c:title", null, "tx/rich"), this.registerVisitor("c:title", null, "txPr"), this.registerVisitor("c:layout", new vt()), this.registerVisitor("c:dispUnits", new j("dispUnits")), this.registerVisitor("c:dispUnitsLbl", new X("displayUnitsLabel")), this.registerVisitor("c:dispUnitsLbl", new F(), "tx/rich"), this.registerVisitor("a:theme", new Ft()), this.registerVisitor("a:theme", new Ct(), "themeElements/clrScheme"), this.registerVisitor("a:theme", new wt(), "themeElements/fontScheme"), this.registerVisitor("autoFilter", new Nt()), this.registerVisitor("sortState", new Ot()), this.registerVisitor("s:workbook", new Vt()), this.registerVisitor("styleSheet", new Tt()), this.registerVisitor("table", new St()), this.registerVisitor("hlinkClick", new Pt()), this.registerVisitor("wsDr", new kt()), this.registerVisitor("twoCellAnchor", new E()), this.registerVisitor("oneCellAnchor", new E()), this.registerVisitor("absoluteAnchor", new E()), this.registerVisitor("graphicFrame", new xt()), this.registerVisitor("sp", new z()), this.registerVisitor("grpSp", new It()), this.registerVisitor("cxnSp", new Bt()), this.registerVisitor("pic", new Lt()), this.registerVisitor("rvStructures", new _t()), this.registerVisitor("rvData", new jt()), this.registerVisitor("comments", new Rt()), this.registerVisitor("commentList", new Et(), "comment"), this.registerVisitor("comment", new F("content"), "text"), this.registerVisitor("ThreadedComments", new Yt()), this.registerVisitor("threadedComment", new Dt()), this.registerVisitor("threadedComment", new F("content"), "text"), this.registerVisitor("personList", new Mt());
|
|
1628
1628
|
}
|
|
1629
1629
|
registerVisitor(t, e, s = null) {
|
|
1630
1630
|
t.indexOf(":") === -1 && (t = "*:" + t);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { g as kp } from "./
|
|
2
|
-
import { r as wp } from "
|
|
3
|
-
import { r as Sp } from "./
|
|
1
|
+
import { g as kp } from "./CfodwjJ4We7P3FOq.js";
|
|
2
|
+
import { r as wp } from "./CYQrF5RfAVqg1i0t.js";
|
|
3
|
+
import { r as Sp } from "./z8mH2SruNZNb285Q.js";
|
|
4
4
|
/**
|
|
5
|
-
* @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
|
|
6
6
|
*
|
|
7
7
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
8
8
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as c } from "./
|
|
1
|
+
import { g as c } from "./CfodwjJ4We7P3FOq.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.
|
|
@@ -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,22 +1,22 @@
|
|
|
1
|
-
import { a } from "./
|
|
2
|
-
import { r as n } from "./
|
|
3
|
-
import {
|
|
1
|
+
import { a } from "./DsmpINqpSKnRqkx4.js";
|
|
2
|
+
import { r as n } from "./CN-ih7whNYnQh8PD.js";
|
|
3
|
+
import { _ as D, $ as N, B as S, ab as T, O as k, P as w } from "./BCO9ENV5uM-3cC6k.js";
|
|
4
4
|
/**
|
|
5
|
-
* @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
|
|
6
6
|
*
|
|
7
7
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
8
8
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
9
9
|
*/
|
|
10
|
-
const
|
|
11
|
-
const { tableOptions: t, context: p, onOption: r, onValidateOption:
|
|
12
|
-
const
|
|
13
|
-
r?.(e, e === l, e === s), c?.({ option: e, tableOptions:
|
|
14
|
-
}, [c, r, s, l, o, i, t]), C = n.useCallback(async (e,
|
|
15
|
-
return a.jsx(N, { title: "Insert Table", options: d, onDone: j, onValidateOption: C, defaultOption: s, cancelOption: l, autoFocusSel: ".range-input input", sx: { width: "360px", ...m }, ...x, children: a.jsxs(S, { sx: { paddingTop: (e) => e.spacing(1), paddingBottom: (e) => e.spacing(0), rowGap: (e) => e.spacing(1), display: "flex", flexDirection: "column" }, children: [a.jsx(T, { formName: "range", value: i, onChangeInput: (e) =>
|
|
16
|
-
O || e.target?.select(),
|
|
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, [O, b] = n.useState(!1), [o, h] = n.useState(() => t?.hasHeader ?? !1), [i, f] = n.useState(() => t?.ranges ?? null), j = D((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]), C = n.useCallback(async (e, u) => null, []);
|
|
15
|
+
return a.jsx(N, { title: "Insert Table", options: d, onDone: j, onValidateOption: C, defaultOption: s, cancelOption: l, autoFocusSel: ".range-input input", sx: { width: "360px", ...m }, ...x, children: a.jsxs(S, { sx: { paddingTop: (e) => e.spacing(1), paddingBottom: (e) => e.spacing(0), rowGap: (e) => e.spacing(1), display: "flex", flexDirection: "column" }, children: [a.jsx(T, { formName: "range", value: i, onChangeInput: (e) => f(e), resolvedAddress: p.getNames().getRanges.bind(p.getNames()), onFocus: (e) => {
|
|
16
|
+
O || e.target?.select(), b(!0);
|
|
17
17
|
} }), a.jsx(k, { control: a.jsx(w, { checked: o, onChange: () => h(!o) }), label: "Table has headers", labelPlacement: "end" })] }) });
|
|
18
18
|
});
|
|
19
19
|
export {
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
I as TableNewDialog,
|
|
21
|
+
I as default
|
|
22
22
|
};
|
|
@@ -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.
|
|
@@ -10,7 +10,7 @@ class o {
|
|
|
10
10
|
}
|
|
11
11
|
async getWorkerWrapper() {
|
|
12
12
|
if (this.workerWrapper) return this.workerWrapper;
|
|
13
|
-
const { createCompilerWorker: r } = await import("./
|
|
13
|
+
const { createCompilerWorker: r } = await import("./BQWb7WJpQdUBKjqJ.js");
|
|
14
14
|
return this.workerWrapper = await r(), this.workerWrapper;
|
|
15
15
|
}
|
|
16
16
|
async compileModule(r) {
|
|
@@ -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,50 @@
|
|
|
1
|
+
import { a as l } from "./DsmpINqpSKnRqkx4.js";
|
|
2
|
+
import { r as s } from "./CN-ih7whNYnQh8PD.js";
|
|
3
|
+
import { _ as m, $ as M, B as P, a1 as S, T as $, F as h, N as C } 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 E = ["Ok", "Cancel"], G = s.memo((O) => {
|
|
11
|
+
const { initialComments: F = null, onUpdateComments: u, context: T, onOption: d, onValidateOption: c, onDone: p, options: g = E, defaultOption: r = g?.[0], cancelOption: i = "Cancel", sx: k, ...w } = O, f = s.useMemo(() => {
|
|
12
|
+
const t = F ?? T?.()?.getComments();
|
|
13
|
+
let n = "";
|
|
14
|
+
if (t && t.content && t.content.runs) {
|
|
15
|
+
const a = t.content.runs;
|
|
16
|
+
for (let o = 0; o < a.length; o++) {
|
|
17
|
+
const I = a[o];
|
|
18
|
+
n += I?.text;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
return n;
|
|
22
|
+
}, []), [e, y] = s.useState(f), [b, j] = s.useState(!1), x = s.useCallback(async (t, n) => null, []), v = m(async (t) => {
|
|
23
|
+
const n = e === "" ? [] : e.split(`
|
|
24
|
+
`);
|
|
25
|
+
if (t !== i) {
|
|
26
|
+
const a = [];
|
|
27
|
+
for (let o = 0; o < n.length; o++) a.push({ text: n[o] });
|
|
28
|
+
u?.({ content: { runs: a } });
|
|
29
|
+
}
|
|
30
|
+
d?.(t, t === i, t === r), p?.();
|
|
31
|
+
}, [e, u, p, d, r, i]), D = m((t) => {
|
|
32
|
+
y(t.target.value), x(t.target.value, null);
|
|
33
|
+
}, [c]), B = m(async (t) => {
|
|
34
|
+
let n = await Promise.resolve(c?.(t));
|
|
35
|
+
try {
|
|
36
|
+
n !== !1 && (n = await x(e, t));
|
|
37
|
+
} catch {
|
|
38
|
+
}
|
|
39
|
+
return n ?? !0;
|
|
40
|
+
}, [c, e]);
|
|
41
|
+
return l.jsx(M, { title: (f ? "Edit" : "Insert") + " Comments", options: g, onDone: p, onOption: (t) => v(t), onValidateOption: B, defaultOption: r, cancelOption: i, autoFocusSel: ".autoFocus", sx: { width: "480px", ...k }, ...w, children: l.jsx(P, { sx: { paddingTop: (t) => t.spacing(1), paddingBottom: (t) => t.spacing(0), rowGap: (t) => t.spacing(1), display: "flex", flexDirection: "column" }, children: l.jsx(S, { sx: { paddingTop: (t) => t.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: l.jsx($, { label: "Comments", placeholder: "Enter a comment.", onFocus: (t) => {
|
|
42
|
+
b || t.target?.select(), j(!0);
|
|
43
|
+
}, sx: { "& .MuiFormHelperText-root": { marginTop: (t) => t.spacing(0.5) } }, slotProps: { inputLabel: { shrink: !0 }, htmlInput: { className: "autoFocus", spellCheck: !1, autoComplete: "off", sx: { paddingTop: (t) => t.spacing(1.25), paddingBottom: (t) => t.spacing(0.75), backgroundImage: `linear-gradient(${h("#fff", C(5))}, ${h("#fff", C(5))})` } } }, value: e, onChange: D, onContextMenu: (t) => {
|
|
44
|
+
t.stopPropagation();
|
|
45
|
+
} }) }) }) });
|
|
46
|
+
});
|
|
47
|
+
export {
|
|
48
|
+
G as CommentsDialog,
|
|
49
|
+
G as default
|
|
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,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ae as y, w as x } 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.
|
|
7
7
|
*/
|
|
8
8
|
const k = async (a, c) => {
|
|
9
|
-
const { trimLeadingBlankRow: i = !0, trimLeadingBlankColumn: g = !0, ignoreHidden: u = !1, sheetKey: t = null, papaParseConfig: m = {} } = c || {}, w = await import("./
|
|
9
|
+
const { trimLeadingBlankRow: i = !0, trimLeadingBlankColumn: g = !0, ignoreHidden: u = !1, sheetKey: t = null, papaParseConfig: m = {} } = c || {}, w = await import("./D0bkJedCy5YwEz99.js").then((e) => e.p);
|
|
10
10
|
if (!a) throw new Error("workbook must be specified");
|
|
11
11
|
let r = null;
|
|
12
12
|
if (t === null ? r = a.getSelectedSheet() : typeof t == "number" ? r = a.getSheets().getItems()[t] : typeof t == "string" && (r = a.getSheets().getByName(t)), !r) throw new Error("invalid sheetKey specified");
|
|
@@ -29,7 +29,7 @@ const k = async (a, c) => {
|
|
|
29
29
|
}, P = async (a, c) => {
|
|
30
30
|
const { papaParseConfig: i, setValuesOptions: g, createWorkbookOptions: u } = c ?? {}, t = c?.progress, m = t?.onStart?.(c?.name ?? "Parsing CSV");
|
|
31
31
|
await Promise.resolve(m);
|
|
32
|
-
const w = t?.onProgress, r = await import("./
|
|
32
|
+
const w = t?.onProgress, r = await import("./D0bkJedCy5YwEz99.js").then((e) => e.p), f = new TextDecoder().decode(a);
|
|
33
33
|
let l = -1;
|
|
34
34
|
const n = new y(u), o = n.getSelectedSheet().getEntireRange().startIncrementalUpdates({ orientation: x.Orientation.Row });
|
|
35
35
|
let p = 0;
|
|
@@ -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.
|
|
@@ -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.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ae as J } 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.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as m } from "
|
|
1
|
+
import { r as m } from "./CYQrF5RfAVqg1i0t.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.
|
package/cdn/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.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.
|
|
@@ -114,7 +114,7 @@ const S = /* @__PURE__ */ new Map(), k = (e, o = {}) => {
|
|
|
114
114
|
let d;
|
|
115
115
|
const C = async (e) => {
|
|
116
116
|
if (d) return d;
|
|
117
|
-
const { resolveDependencies: o } = await import("./assets/
|
|
117
|
+
const { resolveDependencies: o } = await import("./assets/BQQZnaZ5HH_q0teH.js"), s = await o(typeof e == "object" ? e?.dependencies : void 0);
|
|
118
118
|
return d = await (async (a, n) => {
|
|
119
119
|
typeof n == "string" && (n = { selector: n });
|
|
120
120
|
try {
|
package/cdn/loader.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
(function(e){typeof define=="function"&&define.amd?define(e):e()})(function(){"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.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.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sheetxl/studio-vanilla",
|
|
3
3
|
"description": "SheetXL Studio - Vanilla entry point for integrating SheetXL UI.",
|
|
4
|
-
"version": "0.7.
|
|
4
|
+
"version": "0.7.7",
|
|
5
5
|
"license": "SEE LICENSE IN <LICENSE>",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "./browser/esm/index.mjs",
|
|
@@ -48,12 +48,12 @@
|
|
|
48
48
|
"@emotion/cache": "^11.14.0",
|
|
49
49
|
"@emotion/react": "^11.14.0",
|
|
50
50
|
"@emotion/styled": "^11.14.0",
|
|
51
|
-
"@mui/material": "^
|
|
52
|
-
"@mui/styled-engine": "^
|
|
53
|
-
"@mui/system": "^
|
|
54
|
-
"@mui/utils": "^
|
|
55
|
-
"@sheetxl/studio-mui": "^0.7.
|
|
56
|
-
"@sheetxl/sdk": "^0.7.
|
|
51
|
+
"@mui/material": "^7.3.2",
|
|
52
|
+
"@mui/styled-engine": "^7.3.2",
|
|
53
|
+
"@mui/system": "^7.3.2",
|
|
54
|
+
"@mui/utils": "^7.3.2",
|
|
55
|
+
"@sheetxl/studio-mui": "^0.7.7",
|
|
56
|
+
"@sheetxl/sdk": "^0.7.7",
|
|
57
57
|
"react": "^19.1.0",
|
|
58
58
|
"react-dom": "^19.1.0",
|
|
59
59
|
"csstype": "^3.1.3",
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.6
|
|
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("./CEt7dvaTwfePj4ER.cjs"),F=e.reactExports.memo(g=>{const{label:d,value:a,options:i,onSelect:c,tabIndex:f=0,...R}=g,[O,m]=e.reactExports.useState(()=>$(a,i));e.reactExports.useEffect(()=>{m($(a,i))},[a,i]);const y=e.M(p=>{m(p.target.value),c?.(i[p.target.value])},[c,i]),r=e.reactExports.useMemo(()=>Object.keys(i).map(p=>e.jsxRuntimeExports.jsx(e.MenuItem,{value:p,children:p},p)),[i]);return e.jsxRuntimeExports.jsxs(e.FormControl,{sx:{minWidth:135},size:"small",children:[e.jsxRuntimeExports.jsx(e.InputLabel,{children:d}),e.jsxRuntimeExports.jsx(e.Select,{inputProps:{tabIndex:f},value:O,label:d,onChange:y,sx:{backgroundImage:`linear-gradient(${e.alpha("#fff",e.getOverlayAlpha(5))}, ${e.alpha("#fff",e.getOverlayAlpha(5))})`},...R,children:r})]})}),T={Workbook:"workbook",Sheet:"sheet"},W={enter:140,exit:140},N={Formulas:e.Ft.Content.Formulas,Values:e.Ft.Content.Values,Notes:e.Ft.Content.Notes,Comments:e.Ft.Content.Comments},H={...N};delete H.Values;const X={"By Rows":!0,"By Columns":!1},$=(g,d)=>{const a=Object.keys(d);for(let i=0;i<a.length;i++){const c=a[i];if(d[c]===g)return c}},V=e.reactExports.memo(g=>{const{replace:d=!1,findText:a,replaceText:i,findOptions:c,replaceOptions:f,title:R,onHide:O,onFindOrReplace:m,...y}=g,r=e.reactExports.useRef(null),p=e.reactExports.useRef(null),w=e.reactExports.useRef(null),S=e.reactExports.useRef(null),k=e.reactExports.useRef(null),I=e.reactExports.useRef(null),K=(t,n)=>{n&&(n.start(t,{center:!1}),setTimeout(()=>n.stop(t),180))},[A,h]=e.reactExports.useState(!1),[C,z]=e.reactExports.useState(!1),[x,v]=e.reactExports.useState(d),[G,b]=e.reactExports.useState(!1),[B,D]=e.reactExports.useState(!1),[o,l]=e.reactExports.useState({findText:null,replaceText:null,replace:d,replaceOptions:{},findOptions:{matchCase:!1,matchEntireCell:!1,useRegex:!1,orientation:e.w.Orientation.Row,fields:[e.Ft.Content.Formulas]},scope:T.Sheet}),E=e.M(async(t,n,s,j)=>{if(!m)return;const u={...o};u.replaceOptions={...u.replaceOptions},u.findOptions={...u.findOptions},u.replaceOptions.maxCount=s?void 0:1,u.replace=n,n&&o.findOptions.fields?.[0]===e.Ft.Content.Values&&(u.findOptions.fields=[e.Ft.Content.Formulas]),u.findOptions.reverse=!t;const q=await m({autoFocus:j,...u});b(q===0)},[o,m]);e.reactExports.useEffect(()=>{b(!1)},[o,C,x]);const M=e.M((t,n)=>{if(t.keyCode===e.mo.Enter){if(!o.findText)return;let s=!0,j=!1;t.shiftKey&&(s=!1),n?(t.ctrlKey&&t.altKey&&(j=!0),K(t,j?I.current:k.current)):K(t,s?S.current:w.current),E(s,n,j,!1)}},[o]),P=e.reactExports.useRef(null);e.reactExports.useLayoutEffect(()=>{l(t=>{const n={...t};n.findText=a&&a.length>0?a:t.findText??"",h(!0),i!==void 0&&(n.replaceText=i),c&&(n.findOptions={...n.findOptions,...c}),n.replaceText||(n.replaceText=""),n.replaceOptions&&(n.replaceOptions={...n.replaceOptions}),f&&(n.replaceOptions={...n.replaceOptions,...f}),o.findOptions.fields?.[0]||(o.findOptions.fields=[e.Ft.Content.Formulas]);const s=!(!f&&i===void 0);return s&&v(s),n}),B||P.current?.focus()},[a,i,c,f]),e.reactExports.useEffect(()=>{x?(o.findOptions.fields[0],e.Ft.Content.Values):h(!0)},[x]),e.reactExports.useEffect(()=>{if(A&&r.current&&o.findText===r.current.value)return r.current===document.activeElement||r.current.contains(document.activeElement)?(r.current?.select(),void h(!1)):void r.current.addEventListener("focus",()=>{r.current?.select(),h(!1)},{once:!0})},[A,o]);const[U,{width:L}]=e.Mo();return e.jsxRuntimeExports.jsx(e.fa,{ref:P,title:R??(x?"Find & Replace":"Find"),initialPosition:{y:"35"},autoFocusSel:".input",onHide:O,onFocus:()=>D(!0),onBlur:()=>{D(!1),b(!1)},PaperProps:{elevation:B?3:1},...y,children:e.jsxRuntimeExports.jsxs(e.DialogContent,{dividers:!0,ref:U,sx:{display:"flex",flexDirection:"column",paddingLeft:t=>t.spacing(1.5),paddingRight:t=>t.spacing(1.5)},onKeyDown:t=>{if(t.key==="h"&&t.ctrlKey)v(!0),r.current?.contains(document.activeElement)&&p.current?.focus();else if(t.key==="f"&&t.ctrlKey)r.current?.focus();else if(t.key==="c"&&t.altKey)l(n=>{const s={...n};return s.findOptions.matchCase=!n.findOptions.matchCase,s});else if(t.key==="e"&&t.altKey)l(n=>{const s={...n};return s.findOptions.matchEntireCell=!n.findOptions.matchEntireCell,s});else{if(t.key!=="r"||!t.altKey)return;l(n=>{const s={...n};return s.findOptions.useRegex=!n.findOptions.useRegex,s})}t.preventDefault()},children:[e.jsxRuntimeExports.jsxs(e.Box,{sx:{display:"flex",flexDirection:"row",gap:t=>t.spacing(1)},children:[e.jsxRuntimeExports.jsxs(e.Box,{sx:{display:"flex",flexDirection:"row",alignItems:"start",gap:t=>t.spacing(.25),paddingTop:"3px"},children:[e.jsxRuntimeExports.jsx(e.xs,{selected:C,onSelectToggle:t=>{z(t)},preventFocus:!0,label:"Toggle Additional Options",icon:e.jsxRuntimeExports.jsx(e.Gn,{iconKey:"FindOptions"})}),e.jsxRuntimeExports.jsx(e.xs,{selected:x,onSelectToggle:t=>{v(t)},preventFocus:!0,label:"Toggle Replace",icon:e.jsxRuntimeExports.jsx(e.Gn,{iconKey:"FindReplaceToggle"}),shortcut:{key:x?"F":"H",modifiers:[e.G.Ctrl]}})]}),e.jsxRuntimeExports.jsxs(e.Box,{sx:{display:"flex",flexDirection:"column",maxWidth:"100%",boxSizing:"border-box"},children:[e.jsxRuntimeExports.jsxs(e.Box,{sx:{display:"flex",flexDirection:"row",alignItems:"center"},children:[e.jsxRuntimeExports.jsx(e.TextField,{label:"Find",InputLabelProps:{shrink:!0},InputProps:{sx:{paddingRight:t=>t.spacing(1),minWidth:L>460?"20em":void 0,backgroundImage:`linear-gradient(${e.alpha("#fff",e.getOverlayAlpha(5))}, ${e.alpha("#fff",e.getOverlayAlpha(5))})`},inputProps:{draggable:!1,ref:r,className:"input",autoFocus:!0,spellCheck:!1,autoComplete:"off",sx:{paddingTop:t=>t.spacing(1.25),paddingBottom:t=>t.spacing(.75)}},endAdornment:e.jsxRuntimeExports.jsx(e.InputAdornment,{sx:{transform:"scale(0.75) translateX(16px)"},position:"end",children:e.jsxRuntimeExports.jsxs(e.Box,{sx:{display:"flex",alignItems:"center",flexDirection:"row",gap:"1px"},children:[e.jsxRuntimeExports.jsx(e.xs,{selected:o.findOptions.matchCase,onSelectToggle:t=>{l(n=>{const s={...n};return s.findOptions.matchCase=t,s})},label:"Match Case",shortcut:{key:"C",modifiers:[e.G.Alt]},icon:e.jsxRuntimeExports.jsx(e.Gn,{iconKey:"FindCaseSensitive"})}),e.jsxRuntimeExports.jsx(e.xs,{selected:o.findOptions.matchEntireCell,onSelectToggle:t=>{l(n=>{const s={...n};return s.findOptions.matchEntireCell=t,s})},label:"Match Entire Cell",shortcut:{key:"E",modifiers:[e.G.Alt]},icon:e.jsxRuntimeExports.jsx(e.Gn,{iconKey:"FindWholeWord"})}),e.jsxRuntimeExports.jsx(e.xs,{selected:o.findOptions.useRegex,onSelectToggle:t=>{l(n=>{const s={...n};return s.findOptions.useRegex=t,s})},label:"Use Regular Expression",shortcut:{key:"R",modifiers:[e.G.Alt]},icon:e.jsxRuntimeExports.jsx(e.Gn,{iconKey:"FindRegEx"})})]})})},sx:{flex:"1 1 100%",marginRight:t=>t.spacing(1),"& .MuiOutlinedInput-notchedOutline":{borderColor:t=>G?`${t.palette.error.main} !important`:void 0},"& .MuiInputLabel-outlined":{color:t=>G?`${t.palette.error.main} !important`:void 0}},value:o.findText??"",onChange:t=>{l(n=>{const s={...n};return s.findText=t.target.value,s})},onKeyDown:t=>M(t,!1),onContextMenu:t=>{t.stopPropagation()}}),e.jsxRuntimeExports.jsx(e.xs,{selected:o.findOptions.reverse,onSelectToggle:t=>{E(!1,!1)},touchRippleRef:w,label:"",shortcut:{key:"Enter",modifiers:[e.G.Shift]},icon:e.jsxRuntimeExports.jsx(e.Gn,{iconKey:o.findOptions.orientation!==e.w.Orientation.Column?"ArrowBack":"ArrowUpward"}),disabled:!o.findText}),e.jsxRuntimeExports.jsx(e.xs,{selected:!o.findOptions.reverse,onSelectToggle:t=>{E(!0,!1)},touchRippleRef:S,label:"Next Match",shortcut:{key:"Enter"},icon:e.jsxRuntimeExports.jsx(e.Gn,{iconKey:o.findOptions.orientation!==e.w.Orientation.Column?"ArrowForward":"ArrowDownward"}),disabled:!o.findText})]}),e.jsxRuntimeExports.jsx(e.Collapse,{in:x,timeout:W,onExit:()=>{r.current?.focus()},children:e.jsxRuntimeExports.jsxs(e.Box,{sx:{display:"flex",flexDirection:"row",alignItems:"center",marginTop:t=>t.spacing(2)},children:[e.jsxRuntimeExports.jsx(e.TextField,{label:"Replace",InputLabelProps:{shrink:!0},InputProps:{sx:{paddingRight:t=>t.spacing(1),backgroundImage:`linear-gradient(${e.alpha("#fff",e.getOverlayAlpha(5))}, ${e.alpha("#fff",e.getOverlayAlpha(5))})`},inputProps:{ref:p,className:"input",spellCheck:!1,autoComplete:"off",sx:{paddingTop:t=>t.spacing(1.25),paddingBottom:t=>t.spacing(.75)}}},sx:{flex:"1 1 100%",marginRight:t=>t.spacing(1)},value:o.replaceText??"",onChange:t=>{l(n=>{const s={...n};return s.replaceText=t.target.value,s})},onKeyDown:t=>M(t,!0),onContextMenu:t=>{t.stopPropagation()}}),e.jsxRuntimeExports.jsx(e.xs,{onSelectToggle:t=>{E(!0,!0)},touchRippleRef:k,label:"Replace",shortcut:{key:"Enter"},icon:e.jsxRuntimeExports.jsx(e.Gn,{iconKey:"FindReplace"}),disabled:!o.findText}),e.jsxRuntimeExports.jsx(e.xs,{onSelectToggle:t=>{E(!0,!0,!0)},touchRippleRef:I,label:"Replace All",shortcut:{key:"Enter",modifiers:[e.G.Ctrl,e.G.Alt]},icon:e.jsxRuntimeExports.jsx(e.Gn,{iconKey:"FindReplaceAll"}),disabled:!o.findText})]})})]})]}),e.jsxRuntimeExports.jsx(e.Collapse,{in:C,timeout:W,onExit:()=>{r.current?.focus()},children:e.jsxRuntimeExports.jsxs(e.Box,{sx:{minHeight:"10px",flex:"1 1 100%",display:"flex",flexDirection:"column",gap:t=>t.spacing(.5),marginTop:t=>t.spacing(1)},children:[e.jsxRuntimeExports.jsx(e.ti,{orientation:"horizontal",sx:{marginBottom:t=>t.spacing(1.5)}}),e.jsxRuntimeExports.jsxs(e.Box,{sx:{display:"flex",flexDirection:L>=413?"row":"column",justifyContent:"space-evenly",alignItems:"center",rowGap:t=>t.spacing(2)},tabIndex:-1,children:[e.jsxRuntimeExports.jsx(F,{label:"Within",value:o.scope,options:T,onSelect:t=>{l(n=>{const s={...n};return s.scope=t,s})}}),e.jsxRuntimeExports.jsx(F,{label:"Search",value:o.findOptions.orientation!==e.w.Orientation.Column,options:X,onSelect:t=>{l(n=>{const s={...n};return s.findOptions.orientation=t?e.w.Orientation.Row:e.w.Orientation.Column,s})}}),e.jsxRuntimeExports.jsx(F,{label:"Look in",value:x&&o.findOptions.fields?.[0]===e.Ft.Content.Values?e.Ft.Content.Formulas:o.findOptions.fields?.[0],options:x?H:N,onSelect:t=>{l(n=>{const s={...n};return s.findOptions.fields=[t],s})}})]})]})})]})})});exports.FindReplaceWindow=V,exports.ScopeOptions=T,exports.default=V;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.6
|
|
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("./CEt7dvaTwfePj4ER.cjs");let K=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$1.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("./KsrjGYui6AhDRqb2.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$1.Number;else if(e.kind===n.SyntaxKind.StringKeyword)o.scalar=b.M$1.String;else if(e.kind===n.SyntaxKind.BooleanKeyword)o.scalar=b.M$1.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$1.Null}else if(e.kind===n.SyntaxKind.BigIntKeyword)o.scalar=b.M$1.Number;else if(e.kind===n.SyntaxKind.AnyKeyword)o.scalar=b.M$1.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 $=N(t.type,s,r,!0);if($){if(r.parameters.length!==0){const E=e?.parent,u=E?.name?.getText();return void h(e,new Error(`'${r.name}' contexts must be the first parameter: '${u}'.`))}r.context=$;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(E){console.warn(`Couldn't extract default value for parameter '${s.name}'`,E)}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 $=0;$<s.length;$++){const g=s[$];let d=g?.tagName?.text;if(!d)continue;d=d.toLowerCase();let a=g.comment;const E=d==="hidden";if((typeof a=="string"||E)&&(typeof a=="string"&&(a=a.replace(/[\r\n]+/g,"\\n").trim()),E||!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,v=a,M=[];for(;(w=u.exec(a))!==null;){const[B,J,oe,Q]=w,ae=[oe.trim()];Q&&ae.push(Q.trim())}a=v,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 v=g.typeExpression.type;if(v.kind===n.SyntaxKind.UnionType){const M=[];w.enums=M,v.types.forEach(B=>{if(B.kind===n.SyntaxKind.LiteralType){const J=B.literal.text;J&&M.push(J)}})}}catch(v){console.warn("Error parsing JSDoc type expression:",v)}}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(K)return K;if(L){if(await L,!K)throw new Error("ESBuild initialization promise resolved, but instance is not available.");return K}let c,l;L=new Promise((t,s)=>{c=t,l=s});try{const{initialize:t}=await Promise.resolve().then(()=>require("./tRdYhB45JaC-A2GK.cjs"));return K=await t(),c(),K}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,6 +0,0 @@
|
|
|
1
|
-
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.6
|
|
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("./CEt7dvaTwfePj4ER.cjs"),V=["Input"],B=e.reactExports.memo(e.reactExports.forwardRef((f,h)=>{const{initialValue:O="",onOption:y,onValidateOption:i,onInputOption:p,onValidateInputOption:r,onDone:s,inputProps:l,inputLabel:E,inputType:j,inputPlaceHolder:T,options:u=V,autoFocusSel:v=".autoFocus",cancelOption:c,defaultOption:d=u?.[0],...w}=f,[F,M]=e.reactExports.useState(!1),[o,S]=e.reactExports.useState(O),[P,b]=e.reactExports.useState(""),[C,I]=e.reactExports.useState(!0),n=e.M(async(t,a)=>{if(!r)return!0;const g=await r?.(t,a);b(g?.message??"");const m=g?.valid??!0;return I(m),m},[r]),x=e.M(async t=>{p?.(o,t)},[o,p,s,y,c,d]),R=e.M(async t=>{t.keyCode===e.mo.Enter&&await n?.(o,null)},[o,x]),k=e.M(t=>{S(t.target.value),n?.(t.target.value,null)},[i]),D=e.M(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.Or,{options:u,onDone:s,onOption:(t,a)=>{a||x(t)},onValidateOption:D,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(),M(!0)},type:j,label:E,helperText:P||" ",sx:{width:"100%","& .MuiFormHelperText-root":{marginTop:t=>t.spacing(.5),color:C?void 0:"error.main"}},InputLabelProps:{shrink:!0},InputProps:{inputProps:{placeholder:T,spellCheck:!1,autoComplete:"off",...l,className:e.De$1("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:k,onKeyDown:R,onContextMenu:t=>{t.stopPropagation()}})})})})}));exports.default=B;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.6
|
|
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("./CEt7dvaTwfePj4ER.cjs"),H=["Ok","Cancel"],y=e.reactExports.memo(E=>{const{initialHyperlink:o=null,initialDisplay:T=null,onUpdateHyperlink:c,context:s,onOption:d,onValidateOption:r,onDone:i,options:x=H,defaultOption:p=x?.[0],cancelOption:l="Cancel",sx:k,...O}=E,C=e.reactExports.useMemo(()=>(o??s?.()?.getHyperlink())!==null,[]),g=e.reactExports.useMemo(()=>{let t=null,n=null;o&&(typeof o=="string"?n=o:t=o);const f=t??s?.()?.getHyperlink();return{address:n??f?.getAddress()??"",textToDisplay:f?.getDisplayText()??""}},[o,s]),[a,j]=e.reactExports.useState(g.address),[u,b]=e.reactExports.useState(()=>{const t=s?.().toTextUnformatted()??T;return t===g.address?"":t}),[v,m]=e.reactExports.useState(!1),F=e.reactExports.useCallback(t=>{b(t.target.value)},[]),h=e.reactExports.useCallback(async(t,n)=>null,[]),M=e.M(async t=>{t!==l&&c?.(a===""?null:{address:a},u),d?.(t,t===l,t===p),i?.()},[a,u,c,i,d,p,l]),P=e.M(t=>{j(t.target.value),h(t.target.value,null)},[r]),D=e.M(async t=>{let n=await Promise.resolve(r?.(t));try{n!==!1&&(n=await h(a,t))}catch{}return n??!0},[r]);return e.jsxRuntimeExports.jsx(e.Or,{title:(C?"Edit":"Insert")+" Link",options:x,onDone:i,onOption:t=>M(t),onValidateOption:D,defaultOption:p,cancelOption:l,autoFocusSel:".autoFocus",sx:{width:"480px",...k},...O,children:e.jsxRuntimeExports.jsxs(e.Box,{sx:{paddingTop:t=>t.spacing(1),paddingBottom:t=>t.spacing(0),rowGap:t=>t.spacing(1),display:"flex",flexDirection:"column"},children:[e.jsxRuntimeExports.jsx(e.FormControl,{sx:{paddingTop:t=>t.spacing(1.5),minWidth:135,width:"100%"},size:"small",children:e.jsxRuntimeExports.jsx(e.TextField,{label:"Address",placeholder:"Enter a url or cell reference.",onFocus:t=>{v||t.target?.select(),m(!0)},sx:{"& .MuiFormHelperText-root":{marginTop:t=>t.spacing(.5)}},InputLabelProps:{shrink:!0},InputProps:{inputProps:{className:"autoFocus",spellCheck:!1,autoComplete:"off",sx:{paddingTop:t=>t.spacing(1.25),paddingBottom:t=>t.spacing(.75),backgroundImage:`linear-gradient(${e.alpha("#fff",e.getOverlayAlpha(5))}, ${e.alpha("#fff",e.getOverlayAlpha(5))})`}}},value:a,onChange:P,onContextMenu:t=>{t.stopPropagation()}})}),e.jsxRuntimeExports.jsx(e.FormControl,{sx:{paddingTop:t=>t.spacing(1.5),minWidth:135,width:"100%"},size:"small",children:e.jsxRuntimeExports.jsx(e.TextField,{label:"Display Text",placeholder:a?.startsWith("#")?a.substring(1):a,onFocus:()=>{m(!0)},sx:{"& .MuiFormHelperText-root":{marginTop:t=>t.spacing(.5)}},InputLabelProps:{shrink:!0},InputProps:{inputProps:{spellCheck:!1,autoComplete:"off",sx:{paddingTop:t=>t.spacing(1.25),paddingBottom:t=>t.spacing(.75),backgroundImage:`linear-gradient(${e.alpha("#fff",e.getOverlayAlpha(5))}, ${e.alpha("#fff",e.getOverlayAlpha(5))})`}}},value:u,onChange:F,onContextMenu:t=>{t.stopPropagation()}})})]})})});exports.HyperlinkDialog=y,exports.default=y;
|