@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
1
|
"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.
|
|
6
|
-
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./
|
|
7
|
-
`);if(t!==l){const s=[];for(let o=0;o<n.length;o++)s.push({text:n[o]});c?.({content:{runs:s}})}u?.(t,t===l,t===p),r?.()},[a,c,r,u,p,l]),
|
|
6
|
+
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CDQWmVCT_C4kt4z4.cjs"),k=["Ok","Cancel"],g=e.reactExports.memo(h=>{const{initialComments:f=null,onUpdateComments:c,context:C,onOption:u,onValidateOption:i,onDone:r,options:m=k,defaultOption:p=m?.[0],cancelOption:l="Cancel",sx:O,...E}=h,x=e.reactExports.useMemo(()=>{const t=f??C?.()?.getComments();let n="";if(t&&t.content&&t.content.runs){const s=t.content.runs;for(let o=0;o<s.length;o++){const b=s[o];n+=b?.text}}return n},[]),[a,j]=e.reactExports.useState(x),[y,v]=e.reactExports.useState(!1),d=e.reactExports.useCallback(async(t,n)=>null,[]),D=e.D(async t=>{const n=a===""?[]:a.split(`
|
|
7
|
+
`);if(t!==l){const s=[];for(let o=0;o<n.length;o++)s.push({text:n[o]});c?.({content:{runs:s}})}u?.(t,t===l,t===p),r?.()},[a,c,r,u,p,l]),F=e.D(t=>{j(t.target.value),d(t.target.value,null)},[i]),T=e.D(async t=>{let n=await Promise.resolve(i?.(t));try{n!==!1&&(n=await d(a,t))}catch{}return n??!0},[i,a]);return e.jsxRuntimeExports.jsx(e.Or,{title:(x?"Edit":"Insert")+" Comments",options:m,onDone:r,onOption:t=>D(t),onValidateOption:T,defaultOption:p,cancelOption:l,autoFocusSel:".autoFocus",sx:{width:"480px",...O},...E,children:e.jsxRuntimeExports.jsx(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:"Comments",placeholder:"Enter a comment.",onFocus:t=>{y||t.target?.select(),v(!0)},sx:{"& .MuiFormHelperText-root":{marginTop:t=>t.spacing(.5)}},slotProps:{inputLabel:{shrink:!0},htmlInput:{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:F,onContextMenu:t=>{t.stopPropagation()}})})})})});exports.CommentsDialog=g,exports.default=g;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"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.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"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.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"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.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"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.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"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.
|
|
6
|
-
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});exports.TypeScriptCompiler=class{constructor(r={}){this.workerWrapper=null}async getWorkerWrapper(){if(this.workerWrapper)return this.workerWrapper;const{createCompilerWorker:r}=await Promise.resolve().then(()=>require("./
|
|
6
|
+
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});exports.TypeScriptCompiler=class{constructor(r={}){this.workerWrapper=null}async getWorkerWrapper(){if(this.workerWrapper)return this.workerWrapper;const{createCompilerWorker:r}=await Promise.resolve().then(()=>require("./Va0pmZgEdlde9hBK.cjs"));return this.workerWrapper=await r(),this.workerWrapper}async compileModule(r){try{return(await this.getWorkerWrapper()).execute(r)}catch(e){throw console.error("Failed to compile using worker:",e),e}}terminate(){this.workerWrapper?.terminate(),this.workerWrapper=null}};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"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.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"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.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"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.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"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.
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";/**
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.7
|
|
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("./CDQWmVCT_C4kt4z4.cjs");let $=null,L=null;const le={compilerOptions:{target:"esnext"}},se=async()=>`
|
|
7
|
+
interface FirstTest {
|
|
8
|
+
isTrue?: boolean;
|
|
9
|
+
}
|
|
10
|
+
`,Y=new Map([["IReferenceRange","r"],["IRange","l"]]),Z=new Map([["IWorkbook","workbook"],["ISheet","sheet"],["ICellRanges","ranges"],["ICellRange","range"],["IFormulaContext","context"]]),V=(T,S)=>{Array.from(S.keys()).forEach(z=>{const P=S.get(z);S.set(`${T}.${z}`,P)})},ce=new Map([["Scalar","*"],["FormulaError.Known",b.M.Error],["Date","Date"],["JSON","JSON"]]),de=new Map([]),U="SheetXL";V(U,Y),V(U,Z),V(U,de);const ue=new Map([["Promise",()=>({async:!0})],["Observable",()=>({stream:!0})]]);let R=null;async function pe(){if(R)return R;try{return await(await Promise.resolve().then(()=>require("./y7Bomd49fYwjmegW.cjs"))).initialize()}catch(T){throw R=null,T}finally{R=null}}exports.compileModule=async function(T){const S=T?.source??null;if(!S)return null;const z=(T.disableBundle||T.declarationsOnly)??!1,P=[se(),pe()],X=await Promise.all(P),ee=X[0],n=X[1];let C="",j=null;const O=[],te={allowJs:!0,declaration:!1,sourceMap:!1,inlineSourceMap:!1,inlineSources:!1,isolatedModules:!0,preserveConstEnums:!1,module:99,noResolve:!0,emitDeclarationOnly:!1,target:n.ScriptTarget.ES2020},A="script",I=`${A}.ts`,_="lib.d.ts",H="global.d.ts",F={[I]:S,[_]:`
|
|
11
|
+
/**
|
|
12
|
+
* Represents the completion of an asynchronous operation
|
|
13
|
+
*/
|
|
14
|
+
interface Promise<T> {
|
|
15
|
+
/**
|
|
16
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
17
|
+
* resolved value cannot be modified from the callback.
|
|
18
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
19
|
+
* @returns A Promise for the completion of the callback.
|
|
20
|
+
*/
|
|
21
|
+
finally(onfinally?: (() => void) | undefined | null): Promise<T>;
|
|
22
|
+
}
|
|
23
|
+
`,[H]:ee},ne={getSourceFile:(e,o,y,r)=>n.createSourceFile(e,F[e],n.ScriptTarget.Latest,!0),fileExists:e=>F[e]!==void 0,readFile:e=>F[e],writeFile:(e,o)=>{F[e]=o},getCurrentDirectory:()=>"./",getCanonicalFileName:e=>e,useCaseSensitiveFileNames:()=>!0,getDefaultLibFileName:e=>_,getNewLine:()=>`
|
|
24
|
+
`},q=n.createProgram([I,H],te,ne),D=q.getTypeChecker(),re=q.getSourceFile(I),W=q.emit();W.diagnostics.length>0&&console.warn(W.diagnostics),C=F[`${A}.js`];const N=(e,o,y,r)=>{if(e){if(e.kind===n.SyntaxKind.NumberKeyword)o.scalar=b.M.Number;else if(e.kind===n.SyntaxKind.StringKeyword)o.scalar=b.M.String;else if(e.kind===n.SyntaxKind.BooleanKeyword)o.scalar=b.M.Boolean;else if(e.kind===n.SyntaxKind.UndefinedKeyword||e.kind===n.SyntaxKind.NullKeyword||e.kind===n.SyntaxKind.VoidKeyword){if(r)return void h(e,new Error(`'undefined' is not a valid type for input: '${e?.parent?.name?.escapedText}'.`));o.scalar=b.M.Null}else if(e.kind===n.SyntaxKind.BigIntKeyword)o.scalar=b.M.Number;else if(e.kind===n.SyntaxKind.AnyKeyword)o.scalar=b.M.Null;else if(e.kind===n.SyntaxKind.ArrayType){const i=e.elementType;if(!i)return void h(e,new Error(`'Array' must be typed: '${e?.parent?.name?.escapedText}'.`));o.arrayDepth=(o.arrayDepth??0)+1,N(i,o,y,r)}else if(e.kind!==n.SyntaxKind.TupleType&&e.kind===n.SyntaxKind.TypeReference){const i=e.typeName?.getText?.()??null,f=Y.get(i);let m=!1;f&&(o.range=f,m=!0);const x=ce.get(i);if(x&&(o.scalar=x),x!==void 0&&(m=!0),r){const c=Z.get(i);if(c)return c}else{const c=ue.get(i);if(c){const l={...o,...c()};let t=0;if(l.async&&t++,l.stream&&t++,t>1)return void h(e,new Error(`'${i}' cannot have multiple modifiers: '${e?.parent?.name?.escapedText}'.`));o=l,m=!0}}if(!m)return void h("node",new Error(`'${i}' is not a valid type: '${e?.parent?.name?.escapedText}'.`));const p=e.typeArguments;if(p){if(p.length!==1)return void h(e,new Error(`'${i}' must be typed with exactly 1 type: '${e?.parent?.name?.escapedText}'.`));N(p[0],o,y,r)}}}else h(e,new Error(`Type is not defined for '${o?.name??"return"}'.`))},k=[],h=(e,o)=>{k.push(o)};if(n.forEachChild(re,e=>{if(y=e,(n.getCombinedModifierFlags(y)&n.ModifierFlags.Export)!==0&&n.isFunctionDeclaration(e)){const r={},i={parameters:{}},f=e?.name?.getText();try{r.name=f;const m=D.getSymbolAtLocation(e.name).getDocumentationComment(D);if(m&&m.length>0&&m[0].text){let l=m[0].text;l=l.replace(/[\r\n]+/g,"\\n").trim(),i.summary=l}const x={};N(e.type,x,r,!1),r.returnType=x;const p={};o=e,(n.getCombinedModifierFlags(o)&n.ModifierFlags.Default)!==0&&(p.default=!0,j=f),Object.keys(p).length>0&&(r.behavior=p),r.parameters=[];const c=new Map;for(let l=0;l<e.parameters.length;l++){const t=e.parameters[l],s={};s.name=t.name?.getText();const E=N(t.type,s,r,!0);if(E){if(r.parameters.length!==0){const v=e?.parent,u=v?.name?.getText();return void h(e,new Error(`'${r.name}' contexts must be the first parameter: '${u}'.`))}r.context=E;continue}let g;if((t.initializer!==void 0&&t.initializer!==null||t.questionToken!==void 0&&t.questionToken!==null)&&(s.optional=!0,t.initializer))try{g=t.initializer.kind===n.SyntaxKind.StringLiteral?t.initializer.text:t.initializer.kind===n.SyntaxKind.NumericLiteral?parseFloat(t.initializer.text):t.initializer.kind===n.SyntaxKind.TrueKeyword||t.initializer.kind===n.SyntaxKind.FalseKeyword?t.initializer.kind===n.SyntaxKind.TrueKeyword:t.initializer.kind===n.SyntaxKind.NullKeyword?null:t.initializer.kind===n.SyntaxKind.ObjectLiteralExpression||t.initializer.kind===n.SyntaxKind.ArrayLiteralExpression?t.initializer.getText():t.initializer.getText?.()}catch(v){console.warn(`Couldn't extract default value for parameter '${s.name}'`,v)}t.dotDotDotToken&&(s.rest=!0),r.parameters.push(s);const d={description:""};i.parameters[s.name]=d;const a=D.getSymbolAtLocation(t.name).getDocumentationComment(D);a&&a.length>0&&a[0].text&&(d.description=a[0].text),g!==void 0&&(d.defaultValue=g),c.set(s.name,s)}if(e.jsDoc&&e.jsDoc.length>0){const l=e.jsDoc;for(let t=0;t<l.length;t++){const s=l[t]?.tags;if(s)for(let E=0;E<s.length;E++){const g=s[E];let d=g?.tagName?.text;if(!d)continue;d=d.toLowerCase();let a=g.comment;const v=d==="hidden";if((typeof a=="string"||v)&&(typeof a=="string"&&(a=a.replace(/[\r\n]+/g,"\\n").trim()),v||!a||(a=a.split(/\\n/)[0],a&&a.length!==0))){if(a&&typeof a=="string"){const u=/\{@link(code|plain)?\s+([^}|]+)(?:\s*\|\s*([^}]+))?\}/g;let w,K=a,M=[];for(;(w=u.exec(a))!==null;){const[B,J,oe,Q]=w,ae=[oe.trim()];Q&&ae.push(Q.trim())}a=K,M.length>0&&d==="see"&&(i.links||(i.links=[]),i.links.push(...M))}if(d==="name"){const u=a;u!==f&&(i.name=u)}else if(d!=="description"){if(d==="summary"){const u=a;u&&(i.summary=u)}else if(d==="param"){const u=g.name?.text,w=c.get(u);if(!w){k.push(new Error(`Parameter '${u}' not found in function '${f}'.`));continue}if(g.typeExpression&&g.typeExpression.type)try{const K=g.typeExpression.type;if(K.kind===n.SyntaxKind.UnionType){const M=[];w.enums=M,K.types.forEach(B=>{if(B.kind===n.SyntaxKind.LiteralType){const J=B.literal.text;J&&M.push(J)}})}}catch(K){console.warn("Error parsing JSDoc type expression:",K)}}else if(d==="returns"||d==="return")r.returnType.description=a;else if(d==="category")i.category=a;else if(d==="hidden"){let u=!0;const w=a?.toLowerCase();w==="false"?u=!1:w!=="true"&&(u=a),u!==!1&&(i.hidden=u??!0)}}}}}}Object.keys(r.returnType).length===0&&delete r.returnType,O.push([r,i])}catch(m){h(e,new Error(`'${f}': ${m.message}`))}}var o,y}),k.length>0)throw console.warn(k),new Error("There were compilation errors.",{cause:k});if(O.length===0)throw new Error("No exported functions.");const ie=`${b.te.uuidV4()}-script`;try{z||k.length!==0||(C=await(async function(e,o,y="/script.js",r="__SHEETXL"){try{const i=await(async function(){if($)return $;if(L){if(await L,!$)throw new Error("ESBuild initialization promise resolved, but instance is not available.");return $}let c,l;L=new Promise((t,s)=>{c=t,l=s});try{const{initialize:t}=await Promise.resolve().then(()=>require("./TIGLxnYSTlonzaOE.cjs"));return $=await t(),c(),$}catch(t){throw console.error("Failed to import or initialize esbuild:",t),L=null,l(t),t}})(),f="@sheetxl/primitives",m=`
|
|
25
|
+
export const FormulaContext = globalThis.${r}?.FormulaContext;
|
|
26
|
+
export const ScalarType = globalThis.${r}?.ScalarType;
|
|
27
|
+
export const Observable = globalThis.${r}?.Observable;
|
|
28
|
+
export const IRange = globalThis.${r}?.IRange;
|
|
29
|
+
export const FormulaError = globalThis.${r}?.FormulaError;
|
|
30
|
+
// Add more exports as needed
|
|
31
|
+
`,x={name:"sheetxl-esbuild-in-memory",setup(c){const l="sheetxl-"+new Date().getTime();c.onResolve({filter:new RegExp(`^(${y.replace("/","\\/")}|${f})$`)},t=>({path:t.path,namespace:l})),c.onResolve({filter:/.*/},t=>{if(t.namespace!==l)return console.warn(`esbuild: Treating import "${t.path}" as external.`),{path:t.path,external:!0}}),c.onLoad({filter:/.*/,namespace:l},t=>{let s;if(t.path===y)s=o;else{if(t.path!==f)return{errors:[{text:`Cannot load unknown path in ${l}: ${t.path}`}]};s=m}return{contents:s,loader:"ts"}})}},p=await i.build({entryPoints:[y],bundle:!0,write:!1,format:"esm",plugins:[x],sourcemap:"inline",tsconfigRaw:le,minify:!0,platform:"neutral"});if(p.outputFiles&&p.outputFiles.length>0)return p.outputFiles[0].text;throw p.errors&&p.errors.length>0?new Error(`esbuild bundling failed: ${p.errors.map(c=>c.text).join(`
|
|
32
|
+
`)}`):new Error("esbuild did not produce an output file.")}catch(i){throw console.error("esbuild bundling process failed:",i),i}})(0,C,A))}catch{console.warn("Error bundling script")}const G={functions:O,commitId:ie,source:S,name:"Script",language:"typescript",compiled:C};return j&&(G.autoRun=j),G};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"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.
|
|
6
6
|
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});let c=class{constructor(e){this._worker=null,this._nextId=1,this._pendingRequests=new Map,this._workerFactory=e}start(){if(typeof Worker>"u")throw new Error("Web Workers are not supported in this environment.");return this._worker||(this._worker=this._workerFactory(),this._worker.onmessage=e=>{const{id:n,result:t,error:r}=e.data,o=this._pendingRequests.get(n);if(o)if(this._pendingRequests.delete(n),r){const a=new Error(r.message);a.stack=r.stack,r.cause&&(a.cause=r.cause),o.reject(a)}else o.resolve(t)},this._worker.onerror=e=>{console.error("Worker error:",e),this._pendingRequests.forEach(n=>{n.reject(new Error(`Worker failed: ${e.message}`))}),this._pendingRequests.clear(),this._worker=null}),Promise.resolve()}execute(e){if(!this._worker)throw new Error("Worker is not initialized. Call start() first.");const n=this._nextId++;return new Promise((t,r)=>{this._pendingRequests.set(n,{resolve:t,reject:r}),this._worker.postMessage({id:n,params:e})})}terminate(){this._worker&&(this._worker.terminate(),this._worker=null)}};class u{constructor(n){this._onExecute=n}execute(n){return this._onExecute(n)}start(){return Promise.resolve()}terminate(){}}const s=`/**
|
|
7
|
-
* @license @sheetxl/primitives - Primitives - Base types for SheetXL functions. - v0.7.
|
|
7
|
+
* @license @sheetxl/primitives - Primitives - Base types for SheetXL functions. - v0.7.7
|
|
8
8
|
*
|
|
9
9
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
10
10
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -223,7 +223,7 @@ var T;
|
|
|
223
223
|
return r = typeof e == "string" ? rt.get(e) : ot.get(e), r || (r = T.Unknown), new r(t, n);
|
|
224
224
|
}, T.getBuiltInById = (e) => Te.get(e) || xt;
|
|
225
225
|
/**
|
|
226
|
-
* @license @sheetxl/utils - Utils - Utilities used by most SheetXL components. - v0.7.
|
|
226
|
+
* @license @sheetxl/utils - Utils - Utilities used by most SheetXL components. - v0.7.7
|
|
227
227
|
*
|
|
228
228
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
229
229
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -406,7 +406,7 @@ const Ft = Object.freeze([]), Dt = Object.freeze({}), ze = (e) => e, de = () =>
|
|
|
406
406
|
ut(e[i], t?.[i], n) === null && (o = !0, delete e[i]);
|
|
407
407
|
}
|
|
408
408
|
return o && Object.keys(e).length === 0 ? null : void 0;
|
|
409
|
-
}, Ke = typeof performance == "object" && typeof performance.now == "function" ? () => performance.now() : () => Date.now(), Ve = (e) => e == null,
|
|
409
|
+
}, 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 = () => {
|
|
410
410
|
if (dt()) return k.Node;
|
|
411
411
|
const e = globalThis.navigator !== void 0 && globalThis.navigator.userAgent ? globalThis.navigator.userAgent.toLowerCase() : "";
|
|
412
412
|
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;
|
|
@@ -422,7 +422,7 @@ const We = (e, t = !1) => (document.hasFocus() || t) && (e === document.activeEl
|
|
|
422
422
|
return Number.isFinite(t) ? t : 0;
|
|
423
423
|
}, camelToPrettyCase: (e) => e.length === 1 ? e.toUpperCase() : e.replace(/([A-Z])/g, " $1").replace(/^./, function(t) {
|
|
424
424
|
return t.toUpperCase();
|
|
425
|
-
}).trim(), canUseDOM:
|
|
425
|
+
}).trim(), canUseDOM: qe, cancelTimeout: (e) => {
|
|
426
426
|
cancelAnimationFrame(e.id);
|
|
427
427
|
}, 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) => {
|
|
428
428
|
setTimeout(() => {
|
|
@@ -537,7 +537,7 @@ const We = (e, t = !1) => (document.hasFocus() || t) && (e === document.activeEl
|
|
|
537
537
|
}, isNode: dt, isNullOrUndefined: Ve, isNumeric: (e) => {
|
|
538
538
|
const t = 1 * e;
|
|
539
539
|
return Number.isFinite(t) && typeof t == "number";
|
|
540
|
-
}, 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:
|
|
540
|
+
}, 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) => {
|
|
541
541
|
const t = e.length;
|
|
542
542
|
if (t > 0 && e[t - 1] !== void 0 && !ne(e[t - 1])) return e[t - 1];
|
|
543
543
|
let n = e[0] || {};
|
|
@@ -550,7 +550,7 @@ const We = (e, t = !1) => (document.hasFocus() || t) && (e === document.activeEl
|
|
|
550
550
|
e();
|
|
551
551
|
});
|
|
552
552
|
}, openFileDialog: (e = "*.*") => new Promise((t, n) => {
|
|
553
|
-
if (!
|
|
553
|
+
if (!qe) return void n("Unable to open dialog with no dom.");
|
|
554
554
|
const r = document.createElement("input");
|
|
555
555
|
r.type = "file", r.accept = e;
|
|
556
556
|
let o = null, a = !1;
|
|
@@ -604,7 +604,7 @@ const We = (e, t = !1) => (document.hasFocus() || t) && (e === document.activeEl
|
|
|
604
604
|
return { ip: Math.trunc(e), fp: o, ipLength: Math.ceil(Math.log10(n + 1)), fpLength: a };
|
|
605
605
|
}, subtractRect: (e, t, n = !1) => {
|
|
606
606
|
if (!t) return [e];
|
|
607
|
-
if (!
|
|
607
|
+
if (!Ge(e, t)) return [];
|
|
608
608
|
const r = [];
|
|
609
609
|
let o = e;
|
|
610
610
|
const a = () => {
|
|
@@ -1042,9 +1042,9 @@ class tt {
|
|
|
1042
1042
|
}
|
|
1043
1043
|
var Ee;
|
|
1044
1044
|
(Ee = tt || (tt = {})).ErrorMessages = mt, Ee.Global = new Ee();
|
|
1045
|
-
const
|
|
1045
|
+
const Gt = "__SHEETXL";
|
|
1046
1046
|
let ee = null, le = null;
|
|
1047
|
-
async function
|
|
1047
|
+
async function qt() {
|
|
1048
1048
|
if (ee)
|
|
1049
1049
|
return ee;
|
|
1050
1050
|
if (le) {
|
|
@@ -1071,9 +1071,9 @@ const Wt = {
|
|
|
1071
1071
|
target: "esnext"
|
|
1072
1072
|
}
|
|
1073
1073
|
};
|
|
1074
|
-
async function Yt(e, t, n = "/script.js", r =
|
|
1074
|
+
async function Yt(e, t, n = "/script.js", r = Gt) {
|
|
1075
1075
|
try {
|
|
1076
|
-
const o = await
|
|
1076
|
+
const o = await qt(), a = "@sheetxl/primitives", i = \`
|
|
1077
1077
|
export const FormulaContext = globalThis.\${r}?.FormulaContext;
|
|
1078
1078
|
export const ScalarType = globalThis.\${r}?.ScalarType;
|
|
1079
1079
|
export const Observable = globalThis.\${r}?.Observable;
|
|
@@ -1280,8 +1280,8 @@ async function nn(e) {
|
|
|
1280
1280
|
const M = s.typeName?.getText?.() ?? null, K = yt.get(M);
|
|
1281
1281
|
let V = !1;
|
|
1282
1282
|
K && (m.range = K, V = !0);
|
|
1283
|
-
const
|
|
1284
|
-
if (
|
|
1283
|
+
const G = Zt.get(M);
|
|
1284
|
+
if (G && (m.scalar = G), G !== void 0 && (V = !0), P) {
|
|
1285
1285
|
const R = gt.get(M);
|
|
1286
1286
|
if (R)
|
|
1287
1287
|
return R;
|
|
@@ -1328,8 +1328,8 @@ async function nn(e) {
|
|
|
1328
1328
|
}
|
|
1329
1329
|
const V = {};
|
|
1330
1330
|
c(s.type, V, m, !1), m.returnType = V;
|
|
1331
|
-
const
|
|
1332
|
-
fe(s) && (
|
|
1331
|
+
const G = {};
|
|
1332
|
+
fe(s) && (G.default = !0, u = P), Object.keys(G).length > 0 && (m.behavior = G), m.parameters = [];
|
|
1333
1333
|
const H = /* @__PURE__ */ new Map();
|
|
1334
1334
|
for (let R = 0; R < s.parameters.length; R++) {
|
|
1335
1335
|
const b = s.parameters[R], N = {};
|
|
@@ -1355,8 +1355,8 @@ async function nn(e) {
|
|
|
1355
1355
|
b.dotDotDotToken && (N.rest = !0), m.parameters.push(N);
|
|
1356
1356
|
const C = { description: "" };
|
|
1357
1357
|
L.parameters[N.name] = C;
|
|
1358
|
-
const
|
|
1359
|
-
|
|
1358
|
+
const q = I.getSymbolAtLocation(b.name).getDocumentationComment(I);
|
|
1359
|
+
q && q.length > 0 && q[0].text && (C.description = q[0].text), v !== void 0 && (C.defaultValue = v), H.set(N.name, N);
|
|
1360
1360
|
}
|
|
1361
1361
|
if (s.jsDoc && s.jsDoc.length > 0) {
|
|
1362
1362
|
const R = s.jsDoc;
|
|
@@ -1369,8 +1369,8 @@ async function nn(e) {
|
|
|
1369
1369
|
if (!v) continue;
|
|
1370
1370
|
v = v.toLowerCase();
|
|
1371
1371
|
let C = z.comment;
|
|
1372
|
-
const
|
|
1373
|
-
if (!(typeof C != "string" && !
|
|
1372
|
+
const q = v === "hidden";
|
|
1373
|
+
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)))) {
|
|
1374
1374
|
if (C && typeof C == "string") {
|
|
1375
1375
|
const O = /\\{@link(code|plain)?\\s+([^}|]+)(?:\\s*\\|\\s*([^}]+))?\\}/g;
|
|
1376
1376
|
let F, Z = C, te = [];
|
|
@@ -1505,4 +1505,4 @@ var ln = /* @__PURE__ */ Object.freeze({
|
|
|
1505
1505
|
__proto__: null,
|
|
1506
1506
|
initialize: an
|
|
1507
1507
|
});
|
|
1508
|
-
`,i=typeof self<"u"&&self.Blob&&new Blob(["URL.revokeObjectURL(import.meta.url);",s],{type:"text/javascript;charset=utf-8"});function d(e){let n;try{if(n=i&&(self.URL||self.webkitURL).createObjectURL(i),!n)throw"";const t=new Worker(n,{type:"module",name:e?.name});return t.addEventListener("error",()=>{(self.URL||self.webkitURL).revokeObjectURL(n)}),t}catch{return new Worker("data:text/javascript;charset=utf-8,"+encodeURIComponent(s),{type:"module",name:e?.name})}}const l=async()=>{const{compileModule:e}=await Promise.resolve().then(()=>require("./
|
|
1508
|
+
`,i=typeof self<"u"&&self.Blob&&new Blob(["URL.revokeObjectURL(import.meta.url);",s],{type:"text/javascript;charset=utf-8"});function d(e){let n;try{if(n=i&&(self.URL||self.webkitURL).createObjectURL(i),!n)throw"";const t=new Worker(n,{type:"module",name:e?.name});return t.addEventListener("error",()=>{(self.URL||self.webkitURL).revokeObjectURL(n)}),t}catch{return new Worker("data:text/javascript;charset=utf-8,"+encodeURIComponent(s),{type:"module",name:e?.name})}}const l=async()=>{const{compileModule:e}=await Promise.resolve().then(()=>require("./ULlk5i1EUx5ksTqm.cjs")),n=new u(t=>e(t));return await n.start(),n};exports.createCompilerWorker=async function(){if(typeof process<"u"&&process.versions?.node&&typeof Worker>"u")return await l();if(typeof Worker<"u"){const e=new c(()=>new d);try{return await e.start(),e}catch(n){console.error("Failed to start TypescriptCompiler worker reverting to fallback:",n)}}return await l()};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"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.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"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/browser/cjs/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"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.
|
|
6
|
-
*/Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./
|
|
6
|
+
*/Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./CDQWmVCT_C4kt4z4.cjs");exports.SheetXL=e.SheetXL,exports.default=e.SheetXL;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"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.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"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.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";var c=Object.create;var n=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var u=Object.getPrototypeOf,y=Object.prototype.hasOwnProperty;var p=(e,r,t,l)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of s(r))!y.call(e,i)&&i!==t&&n(e,i,{get:()=>r[i],enumerable:!(l=a(r,i))||l.enumerable});return e};var g=(e,r,t)=>(t=e!=null?c(u(e)):{},p(r||!e||!e.__esModule?n(t,"default",{value:e,enumerable:!0}):t,e));/**
|
|
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 { ah as J } from "./IymOl6PCKM5cdD59.mjs";
|
|
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.
|
|
@@ -23,7 +23,7 @@ const k = async (w, l) => {
|
|
|
23
23
|
if (s !== 0) return JSON.stringify(e);
|
|
24
24
|
let y = `[
|
|
25
25
|
`;
|
|
26
|
-
for (let
|
|
26
|
+
for (let S = 0; S < c; S++) y += O + o(e[S], i + 1, s + 1, !0), S < c - 1 && (y += `,
|
|
27
27
|
`);
|
|
28
28
|
return y += `
|
|
29
29
|
` + d + "]", y;
|
|
@@ -31,16 +31,16 @@ const k = async (w, l) => {
|
|
|
31
31
|
const B = Object.keys(e), A = B.length;
|
|
32
32
|
if (A === 0) return "{}";
|
|
33
33
|
if (!(s < 2)) return JSON.stringify(e);
|
|
34
|
-
let
|
|
34
|
+
let h = `{
|
|
35
35
|
`;
|
|
36
36
|
m || (s = 0);
|
|
37
37
|
for (let c = 0; c < A; c++) {
|
|
38
38
|
const y = B[c];
|
|
39
|
-
|
|
39
|
+
h += O + JSON.stringify(y) + ": " + o(e[y], i + 1, s, !1), c < A - 1 && (h += `,
|
|
40
40
|
`);
|
|
41
41
|
}
|
|
42
|
-
return
|
|
43
|
-
` + d + "}",
|
|
42
|
+
return h += `
|
|
43
|
+
` + d + "}", h;
|
|
44
44
|
})(f, 0, 0, !1);
|
|
45
45
|
})(u, b);
|
|
46
46
|
let p = new TextEncoder().encode(g).buffer;
|
|
@@ -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,149 @@
|
|
|
1
|
+
import { r as o, R as p, K as R, H as M, l as le, U as re, j as i, i as ae, k as ce, B as O, W as g, q as m, X as y, T as Y, o as b, I as pe, v, Y as Z, Z as de, Q as ue, N as fe, P as xe, S as ge } from "./IymOl6PCKM5cdD59.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.7
|
|
4
|
+
*
|
|
5
|
+
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
6
|
+
* License: The license can be found at https://www.sheetxl.com/license.
|
|
7
|
+
*/
|
|
8
|
+
const B = { width: "1.5rem", height: "1.5rem" }, W = o.memo((k) => {
|
|
9
|
+
const { label: h, value: c, options: l, onSelect: d, tabIndex: C = 0, ...E } = k, [F, j] = o.useState(() => ee(c, l));
|
|
10
|
+
o.useEffect(() => {
|
|
11
|
+
j(ee(c, l));
|
|
12
|
+
}, [c, l]);
|
|
13
|
+
const K = M((u) => {
|
|
14
|
+
j(u.target.value), d?.(l[u.target.value]);
|
|
15
|
+
}, [d, l]), r = o.useMemo(() => Object.keys(l).map((u) => i.jsx(ue, { value: u, children: u }, u)), [l]);
|
|
16
|
+
return i.jsxs(fe, { sx: { minWidth: 135 }, size: "small", children: [i.jsx(xe, { children: h }), i.jsx(ge, { inputProps: { tabIndex: C }, value: F, label: h, onChange: K, sx: { backgroundImage: `linear-gradient(${b("#fff", v(5))}, ${b("#fff", v(5))})` }, ...E, children: r })] });
|
|
17
|
+
}), J = { Workbook: "workbook", Sheet: "sheet" }, _ = { enter: 140, exit: 140 }, ne = { Formulas: p.Content.Formulas, Values: p.Content.Values, Notes: p.Content.Notes, Comments: p.Content.Comments }, te = { ...ne };
|
|
18
|
+
delete te.Values;
|
|
19
|
+
const me = { "By Rows": !0, "By Columns": !1 }, ee = (k, h) => {
|
|
20
|
+
const c = Object.keys(h);
|
|
21
|
+
for (let l = 0; l < c.length; l++) {
|
|
22
|
+
const d = c[l];
|
|
23
|
+
if (h[d] === k) return d;
|
|
24
|
+
}
|
|
25
|
+
}, Oe = o.memo((k) => {
|
|
26
|
+
const { replace: h = !1, findText: c, replaceText: l, findOptions: d, replaceOptions: C, title: E, onHide: F, onFindOrReplace: j, ...K } = k, r = o.useRef(null), u = o.useRef(null), P = o.useRef(null), $ = o.useRef(null), L = o.useRef(null), z = o.useRef(null), N = (e, n) => {
|
|
27
|
+
n && (n.start(e, { center: !1 }), setTimeout(() => n.stop(e), 180));
|
|
28
|
+
}, [V, w] = o.useState(!1), [I, ie] = o.useState(!1), [f, D] = o.useState(h), [H, A] = o.useState(!1), [U, q] = o.useState(!1), [s, a] = o.useState({ replaceText: null, replace: h, replaceOptions: {}, findOptions: { text: null, matchCase: !1, matchEntireCell: !1, useRegex: !1, orientation: R.Orientation.Row, fields: [p.Content.Formulas] }, scope: J.Sheet }), S = M(async (e, n, t, T) => {
|
|
29
|
+
if (!j) return;
|
|
30
|
+
const x = { ...s };
|
|
31
|
+
x.replaceOptions = { ...x.replaceOptions }, x.findOptions = { ...x.findOptions }, x.replaceOptions.maxCount = t ? void 0 : 1, x.replace = n, n && s.findOptions.fields?.[0] === p.Content.Values && (x.findOptions.fields = [p.Content.Formulas]), x.findOptions.reverse = !e;
|
|
32
|
+
const oe = await j({ autoFocus: T, ...x });
|
|
33
|
+
A(oe === 0);
|
|
34
|
+
}, [s, j]);
|
|
35
|
+
o.useEffect(() => {
|
|
36
|
+
A(!1);
|
|
37
|
+
}, [s, I, f]);
|
|
38
|
+
const G = M((e, n) => {
|
|
39
|
+
if (e.keyCode === le.Enter) {
|
|
40
|
+
if (!s.findOptions.text) return;
|
|
41
|
+
let t = !0, T = !1;
|
|
42
|
+
e.shiftKey && (t = !1), n ? (e.ctrlKey && e.altKey && (T = !0), N(e, T ? z.current : L.current)) : N(e, t ? $.current : P.current), S(t, n, T, !1);
|
|
43
|
+
}
|
|
44
|
+
}, [s]), Q = o.useRef(null);
|
|
45
|
+
o.useLayoutEffect(() => {
|
|
46
|
+
a((e) => {
|
|
47
|
+
const n = { ...e };
|
|
48
|
+
n.findOptions.text = c && c.length > 0 ? c : e.findOptions.text ?? "", w(!0), l !== void 0 && (n.replaceText = l), d && (n.findOptions = { ...n.findOptions, ...d }), n.replaceText || (n.replaceText = ""), n.replaceOptions && (n.replaceOptions = { ...n.replaceOptions }), C && (n.replaceOptions = { ...n.replaceOptions, ...C }), s.findOptions.fields?.[0] || (s.findOptions.fields = [p.Content.Formulas]);
|
|
49
|
+
const t = !(!C && l === void 0);
|
|
50
|
+
return t && D(t), n;
|
|
51
|
+
}), U || Q.current?.focus();
|
|
52
|
+
}, [c, l, d, C]), o.useEffect(() => {
|
|
53
|
+
f ? (s.findOptions.fields[0], p.Content.Values) : w(!0);
|
|
54
|
+
}, [f]), o.useEffect(() => {
|
|
55
|
+
if (V && r.current && s.findOptions.text === r.current.value) return r.current === document.activeElement || r.current.contains(document.activeElement) ? (r.current?.select(), void w(!1)) : void r.current.addEventListener("focus", () => {
|
|
56
|
+
r.current?.select(), w(!1);
|
|
57
|
+
}, { once: !0 });
|
|
58
|
+
}, [V, s]);
|
|
59
|
+
const [se, { width: X }] = re();
|
|
60
|
+
return i.jsx(ae, { ref: Q, title: E ?? (f ? "Find & Replace" : "Find"), initialPosition: { y: "35" }, autoFocusSel: ".input", onHide: F, onFocus: () => q(!0), onBlur: () => {
|
|
61
|
+
q(!1), A(!1);
|
|
62
|
+
}, slotProps: { paper: { elevation: U ? 3 : 1 } }, ...K, children: i.jsxs(ce, { dividers: !0, ref: se, sx: { display: "flex", flexDirection: "column", paddingLeft: (e) => e.spacing(1.5), paddingRight: (e) => e.spacing(1.5) }, onKeyDown: (e) => {
|
|
63
|
+
if (e.key === "h" && e.ctrlKey) D(!0), r.current?.contains(document.activeElement) && u.current?.focus();
|
|
64
|
+
else if (e.key === "f" && e.ctrlKey) r.current?.focus();
|
|
65
|
+
else if (e.key === "c" && e.altKey) a((n) => {
|
|
66
|
+
const t = { ...n };
|
|
67
|
+
return t.findOptions.matchCase = !n.findOptions.matchCase, t;
|
|
68
|
+
});
|
|
69
|
+
else if (e.key === "e" && e.altKey) a((n) => {
|
|
70
|
+
const t = { ...n };
|
|
71
|
+
return t.findOptions.matchEntireCell = !n.findOptions.matchEntireCell, t;
|
|
72
|
+
});
|
|
73
|
+
else {
|
|
74
|
+
if (e.key !== "r" || !e.altKey) return;
|
|
75
|
+
a((n) => {
|
|
76
|
+
const t = { ...n };
|
|
77
|
+
return t.findOptions.useRegex = !n.findOptions.useRegex, t;
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
e.preventDefault();
|
|
81
|
+
}, 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) => {
|
|
82
|
+
ie(e);
|
|
83
|
+
}, preventFocus: !0, label: "Toggle Additional Options", icon: i.jsx(m, { iconKey: "FindOptions" }) }), i.jsx(g, { selected: f, onSelectToggle: (e) => {
|
|
84
|
+
D(e);
|
|
85
|
+
}, 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(Y, { label: "Find", slotProps: { input: { sx: { paddingRight: (e) => e.spacing(1), minWidth: X > 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: s.findOptions.matchCase, onBlur: () => {
|
|
86
|
+
console.log("blur");
|
|
87
|
+
}, onSelectToggle: (e) => {
|
|
88
|
+
a((n) => {
|
|
89
|
+
const t = { ...n };
|
|
90
|
+
return t.findOptions.matchCase = e, t;
|
|
91
|
+
});
|
|
92
|
+
}, label: "Match Case", shortcut: { key: "C", modifiers: [y.Alt] }, icon: i.jsx(m, { iconKey: "FindCaseSensitive", size: "1rem" }) }), i.jsx(g, { style: B, selected: s.findOptions.matchEntireCell, onSelectToggle: (e) => {
|
|
93
|
+
a((n) => {
|
|
94
|
+
const t = { ...n };
|
|
95
|
+
return t.findOptions.matchEntireCell = e, t;
|
|
96
|
+
});
|
|
97
|
+
}, label: "Match Entire Cell", shortcut: { key: "E", modifiers: [y.Alt] }, icon: i.jsx(m, { iconKey: "FindWholeWord", size: "1rem" }) }), i.jsx(g, { style: B, selected: s.findOptions.useRegex, onSelectToggle: (e) => {
|
|
98
|
+
a((n) => {
|
|
99
|
+
const t = { ...n };
|
|
100
|
+
return t.findOptions.useRegex = e, t;
|
|
101
|
+
});
|
|
102
|
+
}, 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: r, 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: s.findOptions.text ?? "", onChange: (e) => {
|
|
103
|
+
a((n) => {
|
|
104
|
+
const t = { ...n };
|
|
105
|
+
return t.findOptions.text = e.target.value, t;
|
|
106
|
+
});
|
|
107
|
+
}, onKeyDown: (e) => G(e, !1), onContextMenu: (e) => {
|
|
108
|
+
e.stopPropagation();
|
|
109
|
+
} }), i.jsx(g, { selected: s.findOptions.reverse, onSelectToggle: (e) => {
|
|
110
|
+
S(!1, !1);
|
|
111
|
+
}, touchRippleRef: P, label: "", shortcut: { key: "Enter", modifiers: [y.Shift] }, icon: i.jsx(m, { iconKey: s.findOptions.orientation !== R.Orientation.Column ? "ArrowBack" : "ArrowUpward" }), disabled: !s.findOptions.text }), i.jsx(g, { selected: !s.findOptions.reverse, onSelectToggle: (e) => {
|
|
112
|
+
S(!0, !1);
|
|
113
|
+
}, touchRippleRef: $, label: "Next Match", shortcut: { key: "Enter" }, icon: i.jsx(m, { iconKey: s.findOptions.orientation !== R.Orientation.Column ? "ArrowForward" : "ArrowDownward" }), disabled: !s.findOptions.text })] }), i.jsx(Z, { in: f, timeout: _, onExit: () => {
|
|
114
|
+
r.current?.focus();
|
|
115
|
+
}, children: i.jsxs(O, { sx: { display: "flex", flexDirection: "row", alignItems: "center", marginTop: (e) => e.spacing(2) }, children: [i.jsx(Y, { 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: s.replaceText ?? "", onChange: (e) => {
|
|
116
|
+
a((n) => {
|
|
117
|
+
const t = { ...n };
|
|
118
|
+
return t.replaceText = e.target.value, t;
|
|
119
|
+
});
|
|
120
|
+
}, onKeyDown: (e) => G(e, !0), onContextMenu: (e) => {
|
|
121
|
+
e.stopPropagation();
|
|
122
|
+
} }), i.jsx(g, { onSelectToggle: (e) => {
|
|
123
|
+
S(!0, !0);
|
|
124
|
+
}, touchRippleRef: L, label: "Replace", shortcut: { key: "Enter" }, icon: i.jsx(m, { iconKey: "FindReplace" }), disabled: !s.findOptions.text }), i.jsx(g, { onSelectToggle: (e) => {
|
|
125
|
+
S(!0, !0, !0);
|
|
126
|
+
}, touchRippleRef: z, label: "Replace All", shortcut: { key: "Enter", modifiers: [y.Ctrl, y.Alt] }, icon: i.jsx(m, { iconKey: "FindReplaceAll" }), disabled: !s.findOptions.text })] }) })] })] }), i.jsx(Z, { in: I, timeout: _, onExit: () => {
|
|
127
|
+
r.current?.focus();
|
|
128
|
+
}, 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: X >= 383 ? "row" : "column", justifyContent: "space-evenly", alignItems: "center", gap: (e) => e.spacing(1), rowGap: (e) => e.spacing(2) }, tabIndex: -1, children: [i.jsx(W, { label: "Within", value: s.scope, options: J, onSelect: (e) => {
|
|
129
|
+
a((n) => {
|
|
130
|
+
const t = { ...n };
|
|
131
|
+
return t.scope = e, t;
|
|
132
|
+
});
|
|
133
|
+
} }), i.jsx(W, { label: "Search", value: s.findOptions.orientation !== R.Orientation.Column, options: me, onSelect: (e) => {
|
|
134
|
+
a((n) => {
|
|
135
|
+
const t = { ...n };
|
|
136
|
+
return t.findOptions.orientation = e ? R.Orientation.Row : R.Orientation.Column, t;
|
|
137
|
+
});
|
|
138
|
+
} }), i.jsx(W, { label: "Look in", value: f && s.findOptions.fields?.[0] === p.Content.Values ? p.Content.Formulas : s.findOptions.fields?.[0], options: f ? te : ne, onSelect: (e) => {
|
|
139
|
+
a((n) => {
|
|
140
|
+
const t = { ...n };
|
|
141
|
+
return t.findOptions.fields = [e], t;
|
|
142
|
+
});
|
|
143
|
+
} })] })] }) })] }) });
|
|
144
|
+
});
|
|
145
|
+
export {
|
|
146
|
+
Oe as FindReplaceWindow,
|
|
147
|
+
J as ScopeOptions,
|
|
148
|
+
Oe as default
|
|
149
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { j as c,
|
|
1
|
+
import { j as c, ag as m } from "./IymOl6PCKM5cdD59.mjs";
|
|
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.
|