@sheetxl/studio-vanilla 0.7.5 → 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/{DtgzMHlfyHeAXjgF.cjs → 1Dnt0ANTHdjxETSZ.cjs} +1 -1
- package/browser/cjs/{BE-9cm3nACn3awgy.cjs → AFGPXXJy4XT9a4sl.cjs} +1 -1
- package/browser/cjs/{qHGOMnwcNQhF5hJK.cjs → B-DRcuaOZUOS5AMU.cjs} +1 -1
- package/browser/cjs/B7BbvcfK1qDzaFkU.cjs +6 -0
- package/browser/cjs/{D7HKuOM-LllPjJbc.cjs → B8TAKROBRJF-L83B.cjs} +2 -2
- package/browser/cjs/{pSQ1idMlzpT4UK0i.cjs → BBd3KPjI9z4IEpfd.cjs} +2 -2
- package/browser/cjs/{BlZO0VTkAeZHIiRF.cjs → BF7e6idd5EAbSe-5.cjs} +2 -2
- package/browser/cjs/BFZTyYmr0ydpu1Ri.cjs +6 -0
- package/browser/cjs/{Dh6N83HOXQnIi6eD.cjs → BFibWMggm34JCRTQ.cjs} +2 -2
- package/browser/cjs/{CowjlwpqcDbAgu6c.cjs → BIZ9GLrC0LfBPG_l.cjs} +2 -2
- package/browser/cjs/{D8bM6LcNtnUixiLd.cjs → BJRQKCTg7qCzDnCi.cjs} +1 -1
- package/browser/cjs/{C_-fevMsOzoeHUX1.cjs → BKYGUco6ubqF6p08.cjs} +3 -3
- package/browser/cjs/{BG5LXAwXTxvszJnw.cjs → BLBDkH1kQ7yBroDQ.cjs} +2 -2
- package/browser/cjs/{Cwnb4T0WdA2DpO6l.cjs → BSdEA609H-d2dczO.cjs} +2 -2
- package/browser/cjs/{DyetmnKituvbVpAa.cjs → Bm3QhiCF0C1LZr4q.cjs} +1 -1
- package/browser/cjs/BneuIxiCQWMGZKpu.cjs +6 -0
- package/browser/cjs/{O7wJ0khshNgDHhIc.cjs → BoYIRg5QNVKrlO1o.cjs} +1 -1
- package/browser/cjs/{Bi1ZxHFcefcZx6ZG.cjs → BpZPEUJROF3R8X8o.cjs} +1 -1
- package/browser/cjs/{B6UICJx5Bw3JbPvz.cjs → Bt7_s2Gsv6kQuZ8n.cjs} +1 -1
- package/browser/cjs/{BPumuWTJVZfqK5CF.cjs → By_M12tC09G2LrpY.cjs} +1 -1
- package/browser/cjs/{BhS7jv26uN8bTZHQ.cjs → C4pHJGPOoYRTdbji.cjs} +1 -1
- package/browser/cjs/{C59GU2KGToOpxqIu.cjs → C8FAAtGuznwvkc3K.cjs} +1 -1
- package/browser/cjs/{CA-8YHE5v74t05ah.cjs → CBX3gO9WQIHQl8He.cjs} +1 -1
- package/browser/cjs/CDQWmVCT_C4kt4z4.cjs +327 -0
- package/browser/cjs/CDbUGxSLtIqQcFJA.cjs +6 -0
- package/browser/cjs/{DrZp2De1Ceg32Kr5.cjs → CGbGQK87LoR7syZ2.cjs} +5 -5
- package/browser/cjs/CMH9g70xbNsRmba4.cjs +6 -0
- package/browser/cjs/CRZbe0vrznX0gec4.cjs +6 -0
- package/browser/cjs/{Vf_ah_b03vdfE3ru.cjs → CU9eF67hofMTnlvg.cjs} +1 -1
- package/browser/cjs/{w3tcpoHaegCl8_iT.cjs → CVJNmAx7_1hAsGM-.cjs} +1 -1
- package/browser/cjs/{B_PRKbKNzV31Ownq.cjs → CVhKqGf9u7VY_SdR.cjs} +1 -1
- package/browser/cjs/{DXPn20Z-hXJj0Bjc.cjs → CbuHVEgHJ-PN2nTC.cjs} +1 -1
- package/browser/cjs/CbzvhHU6HeixD_I0.cjs +11 -0
- package/browser/cjs/{D_dgAvL8PqalpMMm.cjs → CzUFi87fwOEv2c_X.cjs} +1 -1
- package/browser/cjs/{rnqMim6wQNkN8UU4.cjs → CzmekfFZOipvm9p8.cjs} +4 -4
- package/browser/cjs/{BlCgecmBdf9cl7oF.cjs → D0hBhQDMuGpldHoB.cjs} +1 -1
- package/browser/cjs/{CkkvS-F90xn4I7rJ.cjs → D1NKZY8fEGk-xu0l.cjs} +1 -1
- package/browser/cjs/{DmGAgS9-QDlvMpsH.cjs → D2tXQhW7Dvnm5yAX.cjs} +9 -9
- package/browser/cjs/D9q3XIB_Yfv-93Xd.cjs +6 -0
- package/browser/cjs/{CpY-5ZfeRzaP61dG.cjs → DDoFIZezJ5QxEijC.cjs} +8 -8
- package/browser/cjs/DQPqvdF3RMR6ocN9.cjs +7 -0
- package/browser/cjs/{CFR3i21biJwGBGDy.cjs → DR1070UPEnh9vSgI.cjs} +1 -1
- package/browser/cjs/{B7u_MAMs5OAq4GdF.cjs → DUGnz-6DG2d64bPN.cjs} +1 -1
- package/browser/cjs/{CkYsNsr2UZ6GJi0E.cjs → DYEwCN0j9-ut9msc.cjs} +1 -1
- package/browser/cjs/{gxwT1w-qgEmDMY0E.cjs → DhPAcnVndNoNTyEG.cjs} +1 -1
- package/browser/cjs/{DD4LnZu1J3JZmMST.cjs → DkLx6pMV8ccL8z_3.cjs} +2 -2
- package/browser/cjs/{hZddd0l0AwDjrIuc.cjs → Du7lT1PTtIz-NYNf.cjs} +1 -1
- package/browser/cjs/{Gj-mHeRNeqGqvlES.cjs → EVU5UM5IoTkYikI3.cjs} +1 -1
- package/browser/cjs/{BB1OETlqft3E7T5Z.cjs → PbtPWuRp8TEGAKWd.cjs} +1 -1
- package/browser/cjs/{DJmA92ScRYkRNHr8.cjs → TIGLxnYSTlonzaOE.cjs} +1 -1
- package/browser/cjs/{Dp2HaoMVlQBZmdJR.cjs → ULlk5i1EUx5ksTqm.cjs} +4 -4
- package/browser/cjs/{BA4xgI8-YLnoV8Nt.cjs → Va0pmZgEdlde9hBK.cjs} +188 -188
- package/browser/cjs/{C-KJcvl8tZsb4ira.cjs → Yf7jJGAVX09ZsdB5.cjs} +1 -1
- package/browser/cjs/{B7W2Oq164K4FSwFO.cjs → dwwTAvxsASYxLV2-.cjs} +1 -1
- package/browser/cjs/index.cjs +2 -2
- package/browser/cjs/{DRoIkxlMmTEzzgsq.cjs → tp3T4Y4k6rqq119C.cjs} +1 -1
- package/browser/cjs/{D58RZavNtO-WdBdw.cjs → tru9ZJTmej20u6bS.cjs} +1 -1
- package/browser/cjs/{BVkDkd0RVFvIZheb.cjs → y7Bomd49fYwjmegW.cjs} +1 -1
- package/{cdn/assets/BcEPkiSHERcWEWyl.js → browser/esm/-dzuo_Wj7VBnGDUj.mjs} +1 -1
- package/{cdn/assets/CeUbcEwp0cNaqj18.js → browser/esm/B9WgUACq7BGa52o0.mjs} +1 -1
- package/{cdn/assets/uHHIT_oas6bdcl7T.js → browser/esm/BD8BczjPJG9W-Wwx.mjs} +1 -1
- package/browser/esm/{KhEEeC1dy1pEML_5.mjs → BFkCRejnNGToEAbq.mjs} +11 -11
- package/{cdn/assets/C-yV4uS4-pk7T8wq.js → browser/esm/BRK9zryqPcYCdqaH.mjs} +1 -1
- package/browser/esm/{BiqoHhOyYEtpgfz5.mjs → BV7PHP-zb2ezFZwN.mjs} +1 -1
- package/browser/esm/Bf7V3mrqMy2JcLj6.mjs +149 -0
- package/browser/esm/Bl8Mbds4_g4irYW4.mjs +11 -0
- package/{cdn/assets/C-hXgLAdORdKqJmG.js → browser/esm/C2B6ZZypFHHcBtgN.mjs} +1 -1
- package/browser/esm/{BS5tM0LLXtmU6BC_.mjs → C3WMLOorMvTnqgVk.mjs} +17 -17
- package/browser/esm/{DmwjTNRMu3mrAhEh.mjs → C5zdw4KK0DA7Xxpv.mjs} +5 -5
- package/browser/esm/{D5HhLgZ6vcAus0c9.mjs → CAWVgaadqOqZLqMd.mjs} +1 -1
- package/{cdn/assets/CTXPqoD7oDVhBT4X.js → browser/esm/CDd7H-0sNO3a6_HD.mjs} +1 -1
- package/{cdn/assets/YUCx2g8ABxa1ExCE.js → browser/esm/CIePuRxeXL-pCqr6.mjs} +1 -1
- package/{cdn/assets/BoaC8MRCqtpP_goE.js → browser/esm/CIgIp7emlh-h5Tkp.mjs} +1 -1
- package/{cdn/assets/C0vrzB1RhP0BA__i.js → browser/esm/CLZ1oiAIiDhUh4ww.mjs} +1 -1
- package/browser/esm/CMTee4KqDOZMxil0.mjs +44 -0
- package/browser/esm/{sz9lJ3jlPzIUu-eI.mjs → COLScMrSH92V1QBs.mjs} +1 -1
- package/{cdn/assets/CZO2hFD3umTBnm9r.js → browser/esm/CSjCyt7aceQtuuQH.mjs} +1 -1
- package/{cdn/assets/D9oZfnx8XQICAuAR.js → browser/esm/CWFbko7h7uYHcSb4.mjs} +1 -1
- package/browser/esm/{CxS-0-9S1ecpPb9-.mjs → CX2j3a6eI-W-vHAV.mjs} +191 -191
- package/browser/esm/{CFIhGwAXjycz5dUq.mjs → CX8Vw2K-gX-Geldr.mjs} +143 -143
- package/{cdn/assets/vPZX1gXFAkrxoNqD.js → browser/esm/Cb2h80Rdfkc2yBwD.mjs} +2 -2
- package/browser/esm/{D3KGlFIc4iOEQmRQ.mjs → CfIlb4oS-hEuUXmr.mjs} +1 -1
- package/browser/esm/{QfpSUpja9WctKfdt.mjs → Cgu3L7rWlUfKbFNC.mjs} +2 -2
- package/browser/esm/{DcqxrKAC0CliCOd7.mjs → Cljc33Z0WZxiQD48.mjs} +53 -53
- package/{cdn/assets/B7HO8ZpVKQq-WpI7.js → browser/esm/Ct4D5jD2LgwWNypV.mjs} +1 -1
- package/{cdn/assets/BAQ9yj7xFyqsJPAd.js → browser/esm/Cwm7vw41FBiyBap8.mjs} +1 -1
- package/browser/esm/{Sz_hlqiUydAUV9O5.mjs → Cyefe5RSNySP6tcT.mjs} +2 -2
- package/{cdn/assets/BZ3YXob52SPxPFD0.js → browser/esm/D0bkJedCy5YwEz99.mjs} +1 -1
- package/browser/esm/{CF-pbKUy8CQ6SgES.mjs → DC1hfAh_7PsrjS9S.mjs} +1 -1
- package/browser/esm/{CyUfBBxuRU6CZ5Kh.mjs → DDUE_Wib21ixQxd9.mjs} +1 -1
- package/browser/esm/{4aFM9IYjAjyhZDlq.mjs → DOpGO4l1g7gO5ekA.mjs} +121 -121
- package/browser/esm/{swe5uQxGiNoljwcZ.mjs → DRwGtmg7N0TBtF7R.mjs} +1 -1
- package/{cdn/assets/CF4J6IDM30-WXhSx.js → browser/esm/DSGhERiou-5Ibeko.mjs} +1 -1
- package/browser/esm/{B4XZfefr-bz6Pdt9.mjs → DTbZV7szPb-PidC9.mjs} +8 -8
- package/browser/esm/{Dht4DZVbawQlW51S.mjs → DU3arW-SqDtRv3t4.mjs} +6 -6
- package/{cdn/assets/BXeU9MWWLu7OeigM.js → browser/esm/DViS2gssDOJR2t_d.mjs} +1 -1
- package/{cdn/assets/DB2_f-Fg1FAY2Uvx.js → browser/esm/DXJ2nb7A-gJDYaOg.mjs} +1 -1
- package/{cdn/assets/CA-iEdjENXePF7HK.js → browser/esm/DdzZuvu4slMZd3sW.mjs} +3 -3
- package/browser/esm/{B1TNjs3DJMr0pbtF.mjs → DpdapIkgiOkLU_jc.mjs} +2 -2
- package/{cdn/assets/BwuAACy86XQd0r9H.js → browser/esm/Dv_qFZLVmZ4aVY0G.mjs} +1 -1
- package/browser/esm/{CO6OkYBew2KKDX_5.mjs → F9Cwy_aefTGi6WoG.mjs} +1 -1
- package/browser/esm/{CWeaTt0irkvWrqL4.mjs → HKjRvq9Afdm8X4IO.mjs} +1 -1
- package/browser/esm/IymOl6PCKM5cdD59.mjs +45780 -0
- package/browser/esm/JNG5rnbnm1mveXHl.mjs +48 -0
- package/{cdn/assets/BkIUt0s6jqlrSO7t.js → browser/esm/LmdWOZpWumKhbIeQ.mjs} +1 -1
- package/{cdn/assets/Mdu783AKqLQFuFAi.js → browser/esm/TRoNOaX9xm77vhNo.mjs} +1 -1
- package/browser/esm/bfKo7TSL68OC9OZ8.mjs +39 -0
- package/{cdn/assets/C2IXaoRd-J1b0n7I.js → browser/esm/hWAXOspM00OjNXxf.mjs} +1 -1
- package/browser/esm/index.mjs +2 -2
- package/{cdn/assets/Dyqyl22FQ7u-5nQg.js → browser/esm/jHLE9-xV-wivIQzI.mjs} +1 -1
- package/browser/esm/{DcuQQrT98E_v-m7J.mjs → k-WybkgL_HctOBZL.mjs} +4 -4
- package/{cdn/assets/D0A-tJxbcY0qDNob.js → browser/esm/kOyTOCy58irfQ9hf.mjs} +1 -1
- package/browser/esm/pVwSjWKIVDRYwmKS.mjs +48 -0
- package/browser/esm/{DHXXvQ2x_fqmnpFp.mjs → pimj6QzQFEVJ2YR8.mjs} +2 -2
- package/browser/esm/{C7vHazx_6mthV4R9.mjs → qD_ZNq2dhIRKdKRj.mjs} +11 -11
- package/browser/esm/{BODVsKHVApv63hi5.mjs → w4rJuLfuST6h0X6K.mjs} +2 -2
- package/{browser/esm/BcEPkiSHERcWEWyl.mjs → cdn/assets/-dzuo_Wj7VBnGDUj.js} +1 -1
- package/cdn/assets/{Dtu0hv3Ab7CCrY4R.js → 0kt2tL10VoH7eLWk.js} +2 -2
- package/{browser/esm/prLy9D5nxrDTulYj.mjs → cdn/assets/B3XKN3j6OGaC2PeU.js} +2 -2
- package/cdn/assets/{AIT39BHt_2g-s3As.js → B6n-XFROq-mJr6X4.js} +136 -136
- package/{browser/esm/CeUbcEwp0cNaqj18.mjs → cdn/assets/B9WgUACq7BGa52o0.js} +1 -1
- package/cdn/assets/BCO9ENV5uM-3cC6k.js +45606 -0
- package/{browser/esm/uHHIT_oas6bdcl7T.mjs → cdn/assets/BD8BczjPJG9W-Wwx.js} +1 -1
- package/cdn/assets/{CDv_n4Q4fyeHGNC-.js → BEtGGlmsA5Vu0tOe.js} +18 -18
- package/cdn/assets/{DmKA7DQzHDu4_OqC.js → BQQZnaZ5HH_q0teH.js} +2 -2
- package/cdn/assets/{C2xJ1-8E3UvCDFVm.js → BQWb7WJpQdUBKjqJ.js} +191 -191
- package/cdn/assets/{BcyrqopK0U_CLy9L.js → BQ_uhzdW_ySk-rS3.js} +4 -4
- package/{browser/esm/C-yV4uS4-pk7T8wq.mjs → cdn/assets/BRK9zryqPcYCdqaH.js} +1 -1
- package/cdn/assets/{BiqoHhOyYEtpgfz5.js → BV7PHP-zb2ezFZwN.js} +1 -1
- package/cdn/assets/Bki_B5mRvivmATn8.js +151 -0
- package/cdn/assets/{Dt4YpmBXEJFgXMqH.js → Bmaqrt1Afut_jxeE.js} +2 -2
- package/cdn/assets/{CM3hIUGWZbcyiXoL.js → BozBaszO14QWRzV5.js} +3 -3
- package/cdn/assets/BrLkQrjXFwMtmii1.js +41 -0
- package/{browser/esm/C-hXgLAdORdKqJmG.mjs → cdn/assets/C2B6ZZypFHHcBtgN.js} +1 -1
- package/cdn/assets/{CHtu2w8dUH9qE_gV.js → C6H7cXzfs7xQB4iW.js} +6 -6
- package/cdn/assets/C6vzdOHft3HZWuxy.js +12 -0
- package/cdn/assets/{CrOJeFT3vEZBbGsU.js → C9zuuQStgoOfugfQ.js} +39 -39
- package/cdn/assets/{D5HhLgZ6vcAus0c9.js → CAWVgaadqOqZLqMd.js} +1 -1
- package/{browser/esm/CTXPqoD7oDVhBT4X.mjs → cdn/assets/CDd7H-0sNO3a6_HD.js} +1 -1
- package/{browser/esm/YUCx2g8ABxa1ExCE.mjs → cdn/assets/CIePuRxeXL-pCqr6.js} +1 -1
- package/{browser/esm/BoaC8MRCqtpP_goE.mjs → cdn/assets/CIgIp7emlh-h5Tkp.js} +1 -1
- package/{browser/esm/C0vrzB1RhP0BA__i.mjs → cdn/assets/CLZ1oiAIiDhUh4ww.js} +1 -1
- package/cdn/assets/{-C5nZ__wNloSiQBU.js → CN-ih7whNYnQh8PD.js} +3 -3
- package/{browser/esm/CZO2hFD3umTBnm9r.mjs → cdn/assets/CSjCyt7aceQtuuQH.js} +1 -1
- package/{browser/esm/D9oZfnx8XQICAuAR.mjs → cdn/assets/CWFbko7h7uYHcSb4.js} +1 -1
- package/cdn/assets/{D1oNCgzGxkEm86ML.js → CYQrF5RfAVqg1i0t.js} +1 -1
- package/cdn/assets/{D3KGlFIc4iOEQmRQ.js → CfIlb4oS-hEuUXmr.js} +1 -1
- package/cdn/assets/{DVWSXiPvUKCZl8c1.js → CfodwjJ4We7P3FOq.js} +1 -1
- package/cdn/assets/{D7levSDmgvF1R_cy.js → CpiCssHUOXBUIN_K.js} +52 -52
- package/{browser/esm/B7HO8ZpVKQq-WpI7.mjs → cdn/assets/Ct4D5jD2LgwWNypV.js} +1 -1
- package/cdn/assets/CugoceVTjknLDPZs.js +43 -0
- package/{browser/esm/BAQ9yj7xFyqsJPAd.mjs → cdn/assets/Cwm7vw41FBiyBap8.js} +1 -1
- package/{browser/esm/BZ3YXob52SPxPFD0.mjs → cdn/assets/D0bkJedCy5YwEz99.js} +1 -1
- package/cdn/assets/{ryvwL5F0lm91Z45H.js → D3G0eWNgbOrHH0SS.js} +123 -123
- package/cdn/assets/{BGYzQCmu8YtQv0hk.js → DBfMtT3sAy1ItCCQ.js} +3 -3
- package/cdn/assets/{CF-pbKUy8CQ6SgES.js → DC1hfAh_7PsrjS9S.js} +1 -1
- package/cdn/assets/{CyUfBBxuRU6CZ5Kh.js → DDUE_Wib21ixQxd9.js} +1 -1
- package/cdn/assets/DNLAdV0FAEdHf40R.js +46 -0
- package/cdn/assets/{BjqlgRc8H7Zwjgh4.js → DRguekK_Q_Gd9dVv.js} +4 -4
- package/cdn/assets/{swe5uQxGiNoljwcZ.js → DRwGtmg7N0TBtF7R.js} +1 -1
- package/{browser/esm/CF4J6IDM30-WXhSx.mjs → cdn/assets/DSGhERiou-5Ibeko.js} +1 -1
- package/{browser/esm/BXeU9MWWLu7OeigM.mjs → cdn/assets/DViS2gssDOJR2t_d.js} +1 -1
- package/{browser/esm/DB2_f-Fg1FAY2Uvx.mjs → cdn/assets/DXJ2nb7A-gJDYaOg.js} +1 -1
- package/{browser/esm/DU9bcHdSn8g_qYPK.mjs → cdn/assets/DfxyIgqC_EStNQyw.js} +13 -13
- package/cdn/assets/{CleWxPUcczhRfrHP.js → DkqE2-qY8H9T98WT.js} +4 -4
- package/cdn/assets/{BbpQ1Ci6AYjWQxnE.js → DsmpINqpSKnRqkx4.js} +2 -2
- package/{browser/esm/BwuAACy86XQd0r9H.mjs → cdn/assets/Dv_qFZLVmZ4aVY0G.js} +1 -1
- package/cdn/assets/{-RmAWseMjh618sly.js → Dvnx0PSv_jiWsIKe.js} +9 -9
- package/cdn/assets/{Do8_yi3_u501_TAo.js → F0iq1NszMJTVwyJd.js} +2 -2
- package/cdn/assets/{CO6OkYBew2KKDX_5.js → F9Cwy_aefTGi6WoG.js} +1 -1
- package/cdn/assets/{CWeaTt0irkvWrqL4.js → HKjRvq9Afdm8X4IO.js} +1 -1
- package/cdn/assets/HpghV8z9BTeDJHo1.js +50 -0
- package/{browser/esm/BkIUt0s6jqlrSO7t.mjs → cdn/assets/LmdWOZpWumKhbIeQ.js} +1 -1
- package/cdn/assets/{KyCZ140AgyGGZCcB.js → Ls9uzNrVr3yxkM2m.js} +14 -14
- package/{browser/esm/Mdu783AKqLQFuFAi.mjs → cdn/assets/TRoNOaX9xm77vhNo.js} +1 -1
- package/{browser/esm/C2IXaoRd-J1b0n7I.mjs → cdn/assets/hWAXOspM00OjNXxf.js} +1 -1
- package/{browser/esm/Dyqyl22FQ7u-5nQg.mjs → cdn/assets/jHLE9-xV-wivIQzI.js} +1 -1
- package/{browser/esm/D0A-tJxbcY0qDNob.mjs → cdn/assets/kOyTOCy58irfQ9hf.js} +1 -1
- package/cdn/assets/{D7hbzFFwi6pemjZ6.js → kPIrz_4t6rv8Lnkv.js} +2 -2
- package/cdn/assets/{qnEXpda2bHmKI7XO.js → z8mH2SruNZNb285Q.js} +2 -2
- package/cdn/index.js +2 -2
- package/cdn/loader.js +1 -1
- package/package.json +7 -8
- package/browser/cjs/B3cy0yECplxmF-ZV.cjs +0 -6
- package/browser/cjs/BG2KzPwReru_hA3S.cjs +0 -6
- package/browser/cjs/BR1gc9EjvJSJsyo5.cjs +0 -6
- package/browser/cjs/CENfRAWXnNjIFG_1.cjs +0 -11
- package/browser/cjs/C_RM79K9AMokH2QJ.cjs +0 -330
- package/browser/cjs/DBsNfJK9kgDaJIC5.cjs +0 -6
- package/browser/cjs/DOJeH6L1b_NYsknS.cjs +0 -6
- package/browser/cjs/DcntS4dVnAy4TwCl.cjs +0 -7
- package/browser/cjs/DhT5l1nC8v5n3mI2.cjs +0 -6
- package/browser/cjs/VqXvdfsWxA_K-5Ex.cjs +0 -6
- package/browser/esm/BY65rBGEqoRJMqBs.mjs +0 -147
- package/browser/esm/BfRx9yySN_e7ZQbb.mjs +0 -39
- package/browser/esm/C0enYEAhREbynMAD.mjs +0 -48
- package/browser/esm/C65IVLH_eOUfD06X.mjs +0 -58
- package/browser/esm/CYftWR0vSdUWRn2Z.mjs +0 -45223
- package/browser/esm/avKJgk0IGcf5bqxl.mjs +0 -48
- package/browser/esm/k6dplGzG2KotvgOY.mjs +0 -44
- package/cdn/assets/1dSwxtvs5jJNozC2.js +0 -60
- package/cdn/assets/CTQArMyY5sn7brEn.js +0 -50
- package/cdn/assets/CVBaJALDWZmlWWg2.js +0 -46
- package/cdn/assets/Cnl4kz_oDyI6jz9X.js +0 -43
- package/cdn/assets/Dxp8ZbLp35r7F-sp.js +0 -149
- package/cdn/assets/YNhHFwthgm8SLyHw.js +0 -45049
- package/cdn/assets/qQr5GMLkoqLrmdV0.js +0 -41
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as o } from "./
|
|
1
|
+
import { t as o } 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.
|
|
@@ -11,7 +11,7 @@ const p = Object.freeze({ compileTypescript: async function(t) {
|
|
|
11
11
|
if (n && o.deepEqual(n, t)) return i;
|
|
12
12
|
const l = await (async function() {
|
|
13
13
|
if (e) return e;
|
|
14
|
-
const { TypeScriptCompiler: c } = await import("./
|
|
14
|
+
const { TypeScriptCompiler: c } = await import("./F0iq1NszMJTVwyJd.js");
|
|
15
15
|
return e = new c(), e;
|
|
16
16
|
})(), r = await l.compileModule(t);
|
|
17
17
|
return i = r, n = t, 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,46 @@
|
|
|
1
|
+
import { a as s } from "./DsmpINqpSKnRqkx4.js";
|
|
2
|
+
import { r as a } from "./CN-ih7whNYnQh8PD.js";
|
|
3
|
+
import { _ as m, $ as L, B as W, a1 as b, T as O, F as p, N as r } 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 z = ["Ok", "Cancel"], U = a.memo((D) => {
|
|
11
|
+
const { initialHyperlink: o = null, initialDisplay: F = null, onUpdateHyperlink: x, context: l, onOption: f, onValidateOption: d, onDone: c, options: h = z, defaultOption: u = h?.[0], cancelOption: i = "Cancel", sx: H, ...j } = D, v = a.useMemo(() => (o ?? l?.()?.getHyperlink()) !== null, []), k = a.useMemo(() => {
|
|
12
|
+
let t = null, n = null;
|
|
13
|
+
o && (typeof o == "string" ? n = o : t = o);
|
|
14
|
+
const C = t ?? l?.()?.getHyperlink();
|
|
15
|
+
return { address: n ?? C?.getAddress() ?? "", textToDisplay: C?.getDisplayText() ?? "" };
|
|
16
|
+
}, [o, l]), [e, w] = a.useState(k.address), [g, M] = a.useState(() => {
|
|
17
|
+
const t = l?.().toTextUnformatted() ?? F;
|
|
18
|
+
return t === k.address ? "" : t;
|
|
19
|
+
}), [I, y] = a.useState(!1), P = a.useCallback((t) => {
|
|
20
|
+
M(t.target.value);
|
|
21
|
+
}, []), T = a.useCallback(async (t, n) => null, []), $ = m(async (t) => {
|
|
22
|
+
t !== i && x?.(e === "" ? null : { address: e }, g), f?.(t, t === i, t === u), c?.();
|
|
23
|
+
}, [e, g, x, c, f, u, i]), B = m((t) => {
|
|
24
|
+
w(t.target.value), T(t.target.value, null);
|
|
25
|
+
}, [d]), S = m(async (t) => {
|
|
26
|
+
let n = await Promise.resolve(d?.(t));
|
|
27
|
+
try {
|
|
28
|
+
n !== !1 && (n = await T(e, t));
|
|
29
|
+
} catch {
|
|
30
|
+
}
|
|
31
|
+
return n ?? !0;
|
|
32
|
+
}, [d]);
|
|
33
|
+
return s.jsx(L, { title: (v ? "Edit" : "Insert") + " Link", options: h, onDone: c, onOption: (t) => $(t), onValidateOption: S, defaultOption: u, cancelOption: i, autoFocusSel: ".autoFocus", sx: { width: "480px", ...H }, ...j, children: s.jsxs(W, { sx: { paddingTop: (t) => t.spacing(1), paddingBottom: (t) => t.spacing(0), rowGap: (t) => t.spacing(1), display: "flex", flexDirection: "column" }, children: [s.jsx(b, { sx: { paddingTop: (t) => t.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: s.jsx(O, { label: "Address", placeholder: "Enter a url or cell reference.", onFocus: (t) => {
|
|
34
|
+
I || t.target?.select(), y(!0);
|
|
35
|
+
}, 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(${p("#fff", r(5))}, ${p("#fff", r(5))})` } } }, value: e, onChange: B, onContextMenu: (t) => {
|
|
36
|
+
t.stopPropagation();
|
|
37
|
+
} }) }), s.jsx(b, { sx: { paddingTop: (t) => t.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: s.jsx(O, { label: "Display Text", placeholder: e?.startsWith("#") ? e.substring(1) : e, onFocus: () => {
|
|
38
|
+
y(!0);
|
|
39
|
+
}, sx: { "& .MuiFormHelperText-root": { marginTop: (t) => t.spacing(0.5) } }, slotProps: { inputLabel: { shrink: !0 }, htmlInput: { spellCheck: !1, autoComplete: "off", sx: { paddingTop: (t) => t.spacing(1.25), paddingBottom: (t) => t.spacing(0.75), backgroundImage: `linear-gradient(${p("#fff", r(5))}, ${p("#fff", r(5))})` } } }, value: g, onChange: P, onContextMenu: (t) => {
|
|
40
|
+
t.stopPropagation();
|
|
41
|
+
} }) })] }) });
|
|
42
|
+
});
|
|
43
|
+
export {
|
|
44
|
+
U as HyperlinkDialog,
|
|
45
|
+
U as default
|
|
46
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { g as f } from "./
|
|
2
|
-
import { r as s } from "./
|
|
1
|
+
import { g as f } from "./CfodwjJ4We7P3FOq.js";
|
|
2
|
+
import { r as s } from "./z8mH2SruNZNb285Q.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.
|
|
@@ -21,7 +21,7 @@ function c(t, a) {
|
|
|
21
21
|
var i = s();
|
|
22
22
|
const l = f(i), u = c({ __proto__: null, default: l }, [i]);
|
|
23
23
|
export {
|
|
24
|
-
l as
|
|
24
|
+
l as Q,
|
|
25
25
|
u as i,
|
|
26
26
|
i as r
|
|
27
27
|
};
|
|
@@ -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,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as x, b as f, r as L, t as rt, a as A, p as D, d as st } from "./
|
|
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.
|
|
@@ -230,7 +230,7 @@ class I {
|
|
|
230
230
|
return t === "ctr" ? "center" : t;
|
|
231
231
|
}
|
|
232
232
|
}
|
|
233
|
-
class
|
|
233
|
+
class q {
|
|
234
234
|
visit(t, e, s) {
|
|
235
235
|
}
|
|
236
236
|
processStroke(t, e, s) {
|
|
@@ -394,7 +394,7 @@ class J {
|
|
|
394
394
|
return i ? ` ${s} ${!i || parseFloat(i) / r}` : ` ${s}`;
|
|
395
395
|
}
|
|
396
396
|
}
|
|
397
|
-
class M extends
|
|
397
|
+
class M extends q {
|
|
398
398
|
visit(t, e, s) {
|
|
399
399
|
try {
|
|
400
400
|
const r = t.evaluate("xfrm", e);
|
|
@@ -480,7 +480,7 @@ class N {
|
|
|
480
480
|
}
|
|
481
481
|
}
|
|
482
482
|
}
|
|
483
|
-
const
|
|
483
|
+
const J = (u, t, e) => {
|
|
484
484
|
if (u.getValAttrAsBoolean("invertIfNegative", t) === !0) if (u.evaluate("extLst/ext/invertSolidFillFmt", t)) {
|
|
485
485
|
if (e.fill && e.fillNegative) {
|
|
486
486
|
const s = u.getFromPath(e, "fill.solid.adjs");
|
|
@@ -533,7 +533,7 @@ class dt {
|
|
|
533
533
|
return s += "}", s;
|
|
534
534
|
}
|
|
535
535
|
afterVisit(t, e, s) {
|
|
536
|
-
|
|
536
|
+
J(t, e, s);
|
|
537
537
|
let r = t.getFromPath(s, "points");
|
|
538
538
|
if (r) {
|
|
539
539
|
const o = Object.keys(r);
|
|
@@ -553,7 +553,7 @@ class mt {
|
|
|
553
553
|
let r = t.getFromPath(s, "points"), o = null;
|
|
554
554
|
r ? o = r : (o = {}, t.setToPath(s, "points", o));
|
|
555
555
|
let i = {}, n = t.getValAttrAsString("idx", e);
|
|
556
|
-
return n !== null && (o[n] = i), m(t, e, i, "bubble3D", "bubble3D"), w(t, e, i, "explosion", "explosion"),
|
|
556
|
+
return n !== null && (o[n] = i), m(t, e, i, "bubble3D", "bubble3D"), w(t, e, i, "explosion", "explosion"), J(t, e, i), i;
|
|
557
557
|
}
|
|
558
558
|
}
|
|
559
559
|
class bt {
|
|
@@ -733,7 +733,7 @@ class Ft {
|
|
|
733
733
|
return s.name = e.getAttribute("name"), s;
|
|
734
734
|
}
|
|
735
735
|
}
|
|
736
|
-
class Ct extends
|
|
736
|
+
class Ct extends q {
|
|
737
737
|
visit(t, e, s) {
|
|
738
738
|
const r = {};
|
|
739
739
|
r.name = e.getAttribute("name");
|
|
@@ -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") {
|
|
@@ -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
|
}
|
|
@@ -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,20 +1,20 @@
|
|
|
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
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, [
|
|
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
12
|
const u = { ...t, hasHeader: o, ranges: i };
|
|
13
13
|
r?.(e, e === l, e === s), c?.({ option: e, tableOptions: u });
|
|
14
|
-
}, [c, r, s, l, o, i, t]),
|
|
15
|
-
return a.jsx(
|
|
16
|
-
|
|
17
|
-
} }), a.jsx(k, { control: a.jsx(w, { checked: o, onChange: () =>
|
|
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
|
+
} }), a.jsx(k, { control: a.jsx(w, { checked: o, onChange: () => h(!o) }), label: "Table has headers", labelPlacement: "end" })] }) });
|
|
18
18
|
});
|
|
19
19
|
export {
|
|
20
20
|
I as TableNewDialog,
|
|
@@ -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,37 +1,37 @@
|
|
|
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:
|
|
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");
|
|
13
|
-
let
|
|
13
|
+
let f = null;
|
|
14
14
|
const l = [];
|
|
15
|
-
let n = null, o = r.getUsedRange({
|
|
15
|
+
let n = null, o = r.getUsedRange({ ignoreHidden: u });
|
|
16
16
|
if (!o) throw new Error("Nothing to export");
|
|
17
|
-
if (!i || !
|
|
18
|
-
const e = i ? o.getRowStart() : 0, s =
|
|
17
|
+
if (!i || !g) {
|
|
18
|
+
const e = i ? o.getRowStart() : 0, s = g ? o.getColumnStart() : 0;
|
|
19
19
|
o = o.getOffsetTo(e, s);
|
|
20
20
|
}
|
|
21
21
|
o.forEach((e, s) => {
|
|
22
22
|
const d = s.getCoords(), S = s.getCell();
|
|
23
|
-
|
|
24
|
-
const
|
|
25
|
-
n.push(
|
|
23
|
+
f !== d.rowIndex && (n && l.push(n), n = [], f = d.rowIndex);
|
|
24
|
+
const C = S.toTextUnformatted() ?? "";
|
|
25
|
+
n.push(C);
|
|
26
26
|
}, { includeEmpty: !0, address: null }), n && l.push(n);
|
|
27
27
|
const p = { ...m }, h = w.unparse(l, p);
|
|
28
28
|
return new TextEncoder().encode(h).buffer;
|
|
29
29
|
}, P = async (a, c) => {
|
|
30
|
-
const { papaParseConfig: i, setValuesOptions:
|
|
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
|
-
const n = new
|
|
34
|
+
const n = new y(u), o = n.getSelectedSheet().getEntireRange().startIncrementalUpdates({ orientation: x.Orientation.Row });
|
|
35
35
|
let p = 0;
|
|
36
36
|
const h = { ...i, transform: (e, s) => {
|
|
37
37
|
i?.transform && (e = i.transform(e, s));
|
|
@@ -40,7 +40,7 @@ const k = async (a, c) => {
|
|
|
40
40
|
let S = e ?? "";
|
|
41
41
|
return o.pushAt(l, d, S), p++, p % 1e5 == 0 && w?.(p), t?.onComplete?.(p), e;
|
|
42
42
|
} };
|
|
43
|
-
return r.parse(
|
|
43
|
+
return r.parse(f, h).data, o.apply({ textParser: !0, ...g }), n;
|
|
44
44
|
};
|
|
45
45
|
export {
|
|
46
46
|
P as fromBufferCSV,
|
|
@@ -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,13 +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/
|
|
52
|
-
"@mui/
|
|
53
|
-
"@mui/
|
|
54
|
-
"@mui/
|
|
55
|
-
"@mui
|
|
56
|
-
"@sheetxl/
|
|
57
|
-
"@sheetxl/sdk": "^0.7.5",
|
|
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",
|
|
58
57
|
"react": "^19.1.0",
|
|
59
58
|
"react-dom": "^19.1.0",
|
|
60
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.5
|
|
3
|
-
*
|
|
4
|
-
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
|
-
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
-
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./C_RM79K9AMokH2QJ.cjs"),G=e.createSvgIcon(e.jsxRuntimeExports.jsx("path",{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z"}),"ArrowBack"),X=e.createSvgIcon(e.jsxRuntimeExports.jsx("path",{d:"m20 12-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8z"}),"ArrowDownward"),J=e.createSvgIcon(e.jsxRuntimeExports.jsx("path",{d:"m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"}),"ArrowForward"),Q=e.createSvgIcon(e.jsxRuntimeExports.jsx("path",{d:"m4 12 1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8z"}),"ArrowUpward"),b=e.reactExports.memo(g=>{const{label:d,value:a,options:i,onSelect:p,tabIndex:f=0,...R}=g,[O,m]=e.reactExports.useState(()=>H(a,i));e.reactExports.useEffect(()=>{m(H(a,i))},[a,i]);const T=e.T(c=>{m(c.target.value),p?.(i[c.target.value])},[p,i]),r=e.reactExports.useMemo(()=>Object.keys(i).map(c=>e.jsxRuntimeExports.jsx(e.MenuItem,{value:c,children:c},c)),[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:T,sx:{backgroundImage:`linear-gradient(${e.alpha("#fff",e.getOverlayAlpha(5))}, ${e.alpha("#fff",e.getOverlayAlpha(5))})`},...R,children:r})]})}),S={Workbook:"workbook",Sheet:"sheet"},z={enter:140,exit:140},Z={Formulas:e.Tt.Content.Formulas,Values:e.Tt.Content.Values,Notes:e.Tt.Content.Notes,Comments:e.Tt.Content.Comments},N={...Z};delete N.Values;const Y={"By Rows":!0,"By Columns":!1},H=(g,d)=>{const a=Object.keys(d);for(let i=0;i<a.length;i++){const p=a[i];if(d[p]===g)return p}},$=e.reactExports.memo(g=>{const{replace:d=!1,findText:a,replaceText:i,findOptions:p,replaceOptions:f,title:R,onHide:O,onFindOrReplace:m,...T}=g,r=e.reactExports.useRef(null),c=e.reactExports.useRef(null),w=e.reactExports.useRef(null),k=e.reactExports.useRef(null),I=e.reactExports.useRef(null),F=e.reactExports.useRef(null),A=(t,n)=>{n&&(n.start(t,{center:!1}),setTimeout(()=>n.stop(t),180))},[L,h]=e.reactExports.useState(!1),[y,W]=e.reactExports.useState(!1),[x,C]=e.reactExports.useState(d),[B,v]=e.reactExports.useState(!1),[D,P]=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.Tt.Content.Formulas]},scope:S.Sheet}),j=e.T(async(t,n,s,E)=>{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.Tt.Content.Values&&(u.findOptions.fields=[e.Tt.Content.Formulas]),u.findOptions.reverse=!t;const q=await m({autoFocus:E,...u});v(q===0)},[o,m]);e.reactExports.useEffect(()=>{v(!1)},[o,y,x]);const K=e.T((t,n)=>{if(t.keyCode===e.ro.Enter){if(!o.findText)return;let s=!0,E=!1;t.shiftKey&&(s=!1),n?(t.ctrlKey&&t.altKey&&(E=!0),A(t,E?F.current:I.current)):A(t,s?k.current:w.current),j(s,n,E,!1)}},[o]),M=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),p&&(n.findOptions={...n.findOptions,...p}),n.replaceText||(n.replaceText=""),n.replaceOptions&&(n.replaceOptions={...n.replaceOptions}),f&&(n.replaceOptions={...n.replaceOptions,...f}),o.findOptions.fields?.[0]||(o.findOptions.fields=[e.Tt.Content.Formulas]);const s=!(!f&&i===void 0);return s&&C(s),n}),D||M.current?.focus()},[a,i,p,f]),e.reactExports.useEffect(()=>{x?(o.findOptions.fields[0],e.Tt.Content.Values):h(!0)},[x]),e.reactExports.useEffect(()=>{if(L&&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})},[L,o]);const[U,{width:V}]=e.No();return e.jsxRuntimeExports.jsx(e.x6,{ref:M,title:R??(x?"Find & Replace":"Find"),initialPosition:{y:"35"},autoFocusSel:".input",onHide:O,onFocus:()=>P(!0),onBlur:()=>{P(!1),v(!1)},PaperProps:{elevation:D?3:1},...T,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)C(!0),r.current?.contains(document.activeElement)&&c.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.rt,{selected:y,onSelectToggle:t=>{W(t)},preventFocus:!0,label:"Toggle Additional Options",icon:e.p2(e.jsxRuntimeExports.jsx(e.b9,{}))}),e.jsxRuntimeExports.jsx(e.rt,{selected:x,onSelectToggle:t=>{C(t)},preventFocus:!0,label:"Toggle Replace",icon:e.p2(e.jsxRuntimeExports.jsx(e.g9,{})),shortcut:{key:x?"F":"H",modifiers:[e.Z.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:V>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.rt,{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.Z.Alt]},icon:e.p2(e.jsxRuntimeExports.jsx(e.V9,{}))}),e.jsxRuntimeExports.jsx(e.rt,{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.Z.Alt]},icon:e.p2(e.jsxRuntimeExports.jsx(e.H9,{}))}),e.jsxRuntimeExports.jsx(e.rt,{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.Z.Alt]},icon:e.p2(e.jsxRuntimeExports.jsx(e.z9,{}))})]})})},sx:{flex:"1 1 100%",marginRight:t=>t.spacing(1),"& .MuiOutlinedInput-notchedOutline":{borderColor:t=>B?`${t.palette.error.main} !important`:void 0},"& .MuiInputLabel-outlined":{color:t=>B?`${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=>K(t,!1),onContextMenu:t=>{t.stopPropagation()}}),e.jsxRuntimeExports.jsx(e.rt,{selected:o.findOptions.reverse,onSelectToggle:t=>{j(!1,!1)},touchRippleRef:w,label:"",shortcut:{key:"Enter",modifiers:[e.Z.Shift]},icon:e.p2(o.findOptions.orientation!==e.w.Orientation.Column?e.jsxRuntimeExports.jsx(G,{}):e.jsxRuntimeExports.jsx(Q,{})),disabled:!o.findText}),e.jsxRuntimeExports.jsx(e.rt,{selected:!o.findOptions.reverse,onSelectToggle:t=>{j(!0,!1)},touchRippleRef:k,label:"Next Match",shortcut:{key:"Enter"},icon:e.p2(o.findOptions.orientation!==e.w.Orientation.Column?e.jsxRuntimeExports.jsx(J,{}):e.jsxRuntimeExports.jsx(X,{})),disabled:!o.findText})]}),e.jsxRuntimeExports.jsx(e.Collapse,{in:x,timeout:z,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:c,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=>K(t,!0),onContextMenu:t=>{t.stopPropagation()}}),e.jsxRuntimeExports.jsx(e.rt,{onSelectToggle:t=>{j(!0,!0)},touchRippleRef:I,label:"Replace",shortcut:{key:"Enter"},icon:e.p2(e.jsxRuntimeExports.jsx(e.x9,{})),disabled:!o.findText}),e.jsxRuntimeExports.jsx(e.rt,{onSelectToggle:t=>{j(!0,!0,!0)},touchRippleRef:F,label:"Replace All",shortcut:{key:"Enter",modifiers:[e.Z.Ctrl,e.Z.Alt]},icon:e.p2(e.jsxRuntimeExports.jsx(e.C9,{})),disabled:!o.findText})]})})]})]}),e.jsxRuntimeExports.jsx(e.Collapse,{in:y,timeout:z,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.f8,{orientation:"horizontal",sx:{marginBottom:t=>t.spacing(1.5)}}),e.jsxRuntimeExports.jsxs(e.Box,{sx:{display:"flex",flexDirection:V>=413?"row":"column",justifyContent:"space-evenly",alignItems:"center",rowGap:t=>t.spacing(2)},tabIndex:-1,children:[e.jsxRuntimeExports.jsx(b,{label:"Within",value:o.scope,options:S,onSelect:t=>{l(n=>{const s={...n};return s.scope=t,s})}}),e.jsxRuntimeExports.jsx(b,{label:"Search",value:o.findOptions.orientation!==e.w.Orientation.Column,options:Y,onSelect:t=>{l(n=>{const s={...n};return s.findOptions.orientation=t?e.w.Orientation.Row:e.w.Orientation.Column,s})}}),e.jsxRuntimeExports.jsx(b,{label:"Look in",value:x&&o.findOptions.fields?.[0]===e.Tt.Content.Values?e.Tt.Content.Formulas:o.findOptions.fields?.[0],options:x?N:Z,onSelect:t=>{l(n=>{const s={...n};return s.findOptions.fields=[t],s})}})]})]})})]})})});exports.FindReplaceWindow=$,exports.ScopeOptions=S,exports.default=$;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.5
|
|
3
|
-
*
|
|
4
|
-
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
|
-
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
-
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./C_RM79K9AMokH2QJ.cjs"),I=["Ok","Cancel"],j=e.reactExports.memo(O=>{const{initialValue:E,context:x,onOption:m,onValidateOption:p,onInputOption:d,onDone:l,options:g=I,defaultOption:r=g?.[0],cancelOption:i="Cancel",sx:T,...b}=O,[o,y]=e.reactExports.useState(E),[v,C]=e.reactExports.useState(!1),u=e.reactExports.useCallback(async(t,a)=>!0,[]),c=e.T(async t=>{d?.(o,t),m?.(t,t===i,t===r),l?.()},[o,d,l,m,i,r]),k=e.T(async t=>{t.keyCode===e.ro.Enter&&await u?.(o,null)!==!1&&c(r)},[o,c]),R=e.T(t=>{y(t.target.value),u?.(t.target.value,null)},[p]),S=e.T(async t=>{let a=await Promise.resolve(p?.(t));try{a!==!1&&(a=await Promise.resolve(u?.(o,t))??!0)}catch{}return a??!0},[p]),[h,f]=e.reactExports.useState(e.Oe.Styles.lookupStyle(o).formatType??e.Oe.Type.Custom);e.reactExports.useEffect(()=>{f(e.Oe.Styles.lookupStyle(o).formatType??e.Oe.Type.Custom)},[o]);const F=e.reactExports.useMemo(()=>{const t=e.Oe.Styles.lookupPrimary(),a=n=>e.jsxRuntimeExports.jsx(e.MenuItem,{value:n,children:n},n),s=Object.keys(t).map(n=>a(t[n].formatType));return s.push(a(e.Oe.Type.Custom)),s},[]),P=e.reactExports.useCallback(t=>{const a=t.target.value;f(a);const s=e.Oe.Styles.lookupDefault(a);s&&y(s)},[]),w=e.reactExports.useMemo(()=>{const t=x();return t.createTemporaryCell({value:t.getValue()??12345,style:{numberFormat:o}})},[h,o,x]);return e.jsxRuntimeExports.jsx(e.k3,{title:"Number Format",options:g,onDone:l,onOption:t=>c(t),onValidateOption:S,defaultOption:r,cancelOption:i,autoFocusSel:".autoFocus",sx:{width:"580px",...T},...b,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.jsxs(e.FormControl,{sx:{minWidth:135},size:"small",children:[e.jsxRuntimeExports.jsx(e.InputLabel,{children:"Category"}),e.jsxRuntimeExports.jsx(e.Select,{value:h,label:"Category",onChange:P,sx:{backgroundImage:`linear-gradient(${e.alpha("#fff",e.getOverlayAlpha(5))}, ${e.alpha("#fff",e.getOverlayAlpha(5))})`},children:F})]}),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:"Code",onFocus:t=>{v||t.target?.select(),C(!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:o,onChange:R,onKeyDown:k,onContextMenu:t=>{t.stopPropagation()}})}),e.jsxRuntimeExports.jsxs(e.Box,{children:[e.jsxRuntimeExports.jsx(e.Typography,{variant:"caption",component:"div",sx:{paddingLeft:t=>t.spacing(2)},children:"Preview"}),e.jsxRuntimeExports.jsx(e.Typography,{variant:"body2",component:"div",sx:{borderRadius:t=>`${t.shape.borderRadius}px`,padding:t=>t.spacing(1),border:t=>`1px solid ${t.palette.grey[400]}`},children:w.getNumberFormat().displayText||"(empty)"})]})]})})});exports.NumberFormatDialog=j,exports.default=j;
|