@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 +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"),p=e.reactExports.memo(u=>{const{title:g,onHide:h,autoFocusSel:j=".range-input input",context:f,command:a,commands:r,...R}=u,[y,l]=e.reactExports.useState(!1),[x,c]=e.reactExports.useState(!1),d=e.reactExports.useRef(null),[v,E]=e.reactExports.useReducer(t=>t+1,0),[b,{width:B}]=e.No();e.bo(a);const s=f??a.context(),o=s.table(),[w,S]=e.reactExports.useState(()=>o?s.getNames().getRanges(o.getRange()):null),C=e.reactExports.useMemo(()=>o?.getName()??"",[o]);e.ut(s.table(),{onAnchorCoordsChange(t){S(s.getNames().getRanges(t.getRange()))},onProtectedChange(t){E()}});const T=e.T(t=>{s?.table().setName(t)},[s]),N=e.T(t=>{s?.table().resize(t.at(0))},[s]);let m=null;s.table()||(m=e.jsxRuntimeExports.jsx("div",{style:{position:"absolute",top:"0",left:"0",width:"100%",height:"100%",opacity:1,display:"flex",alignItems:"center",justifyItems:"center",justifyContent:"center",boxSizing:"border-box"},children:e.jsxRuntimeExports.jsx("div",{children:"No table selected"})}));const i=e.Ot();return e.jsxRuntimeExports.jsx(e.x6,{ref:d,title:g??"Table Details",initialPosition:{y:"35"},autoFocusSel:j,onHide:h,onFocus:()=>l(!0),onBlur:t=>{d?.current?.contains(t.relatedTarget)||l(!1)},PaperProps:{elevation:y?3:1},...R,children:e.jsxRuntimeExports.jsxs(e.DialogContent,{dividers:!0,ref:b,sx:{display:"flex",flexDirection:"column",position:"relative",paddingLeft:t=>t.spacing(1.5),paddingRight:t=>t.spacing(1.5)},children:[e.jsxRuntimeExports.jsxs(e.Box,{sx:{display:"flex",flexDirection:"column",transition:"opacity 60ms",opacity:s.table()?1:0},children:[e.jsxRuntimeExports.jsx(e.Box,{sx:{display:"flex",flexDirection:"row",gap:t=>t.spacing(1)},children:e.jsxRuntimeExports.jsx(e.Box,{sx:{display:"flex",flexDirection:"column",maxWidth:"100%",boxSizing:"border-box",paddingLeft:t=>t.spacing(2),paddingRight:t=>t.spacing(2)},children:e.jsxRuntimeExports.jsxs(e.Box,{sx:{display:"flex",flexDirection:"column",alignItems:"center"},children:[e.jsxRuntimeExports.jsx(e.xu,{formName:"name",defaultInput:C,value:o?.getName()??"No table",onChangeInput:T,onValidate:t=>{o&&o.getName().toLowerCase()===t.toLowerCase()||s?.getNames().validateName(t)},disabled:o?.isProtected()??!0,onFocus:t=>{x||t.target?.select(),c(!0)}}),e.jsxRuntimeExports.jsx(e.yu,{formName:"range",value:w,onChangeInput:N,resolvedAddress:s.getNames().getRanges.bind(s.getNames()),disabled:o?.isProtected()??!0,onFocus:t=>{x||t.target?.select(),c(!0)}})]})})}),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:{marginTop:t=>t.spacing(1.5),marginBottom:t=>t.spacing(.75)}}),e.jsxRuntimeExports.jsx(e.Ym,{disabled:o?.isProtected(),styleOptions:o?.getStyleOptions()??null,onStyleOptionsChange:t=>{o.updateStyleOptions(t)},showHeaderRow:o?.getShowHeaders(),onShowHeaderRowChange:t=>{try{o.setShowHeaders(t)}catch(n){i.showError(n)}},showTotalRow:o?.getShowTotals(),onShowTotalRowChange:t=>{try{o.setShowTotals(t)}catch(n){i.showError(n)}},showFilterButton:o?.getFilter()?o.getShowFilterButton():null,onShowFilterButtonChange:t=>{try{o.setShowFilterButton(t)}catch(n){i.showError(n)}}}),e.jsxRuntimeExports.jsx(e.Box,{sx:{display:"flex",alignItems:"center",justifyContent:"center",flexDirection:"column",marginTop:t=>t.spacing(2),marginBottom:t=>t.spacing(1)},children:e.jsxRuntimeExports.jsx(e.ru,{table:o,styles:s.styles(),bodyStyle:s.bodyStyle(),cellHeight:30,isLive:!0})}),e.jsxRuntimeExports.jsx(e.f8,{orientation:"horizontal"}),e.jsxRuntimeExports.jsxs(e.Box,{sx:{display:"flex",flexDirection:"column",justifyContent:"center"},children:[e.jsxRuntimeExports.jsx(e.G6,{variant:e.Lo.Menuitem,command:r.getCommand("convertTableToRange"),commandState:o,icon:e.p2(e.jsxRuntimeExports.jsx(e.l7,{}))}),e.jsxRuntimeExports.jsx(e.G6,{variant:e.Lo.Menuitem,commandState:o,command:r.getCommand("deleteTable"),icon:e.p2(e.jsxRuntimeExports.jsx(e.l7,{}))})]})]})]}),m]})})});exports.TableDetailsWindow=p,exports.default=p;
|
|
@@ -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 t=require("./C_RM79K9AMokH2QJ.cjs"),k=["Ok","Cancel"],N=t.reactExports.memo(E=>{const{value:a=null,context:s,onOption:p,onValidateOption:w,onDone:c,onUpdate:d,options:x=k,defaultOption:m=x?.[0],cancelOption:g="Cancel",sx:R,...O}=E,T=t.reactExports.useMemo(()=>s?.getNames().findValidName("Range1"),[]),i=t.reactExports.useMemo(()=>{if(!a)return!0},[]),[n,j]=t.reactExports.useState({displayText:a?.getName()??T,errorText:null}),[o,V]=t.reactExports.useState({displayValue:a?.getRanges()??s?.selection()??null,errorText:null}),[f,y]=t.reactExports.useState(!1),C=t.reactExports.useCallback(async e=>!n.errorText&&!o.errorText,[s]),h=t.T((e,l,u)=>{if(!l){let r=null;i?r=s?.getNames().addReference(n?.displayText,o?.displayValue,!1):(a.getType()==="reference"&&a.doBatch(()=>{a.setName(n?.displayText),a.setReference(o?.displayValue)},`Edit Named '${n?.displayText}'`),r=a),r&&(r.select(),d(r,i))}p?.(e,l,u),c?.()},[s,n,o,c,p,m,g,d]),v=t.T(e=>{let l=null;try{s?.getNames().validateName(e)}catch(u){l=u.message}j({displayText:e,errorText:l})},[]),S=t.T(e=>{a&&a.getName().toLowerCase()===e.toLowerCase()||s?.getNames().validateName(e)},[s,a]),b=t.reactExports.useCallback(e=>{V({displayValue:e??null,errorText:null})},[]);return t.jsxRuntimeExports.jsx(t.k3,{title:(i?"Define":"Edit")+" Range",options:x,onOption:h,onValidateOption:C,defaultOption:m,cancelOption:g,autoFocusSel:".autoFocus",sx:{width:"460px",...R},...O,children:t.jsxRuntimeExports.jsxs(t.Box,{sx:{paddingTop:e=>e.spacing(1),paddingBottom:e=>e.spacing(0),rowGap:e=>e.spacing(1),range:"flex",flexDirection:"column"},children:[t.jsxRuntimeExports.jsx(t.xu,{formName:"name",defaultInput:T,value:n.displayText,onChangeInput:v,onValidate:S,onFocus:e=>{f||e.target?.select(),y(!0)}}),t.jsxRuntimeExports.jsx(t.yu,{formName:"range",value:o.displayValue,onChangeInput:b,resolvedAddress:s.getNames().getRanges.bind(s.getNames()),onFocus:e=>{f||e.target?.select(),y(!0)}})]})})});exports.NamedReferenceDialog=N,exports.default=N;
|
|
@@ -1,7 +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"),P=["Ok","Cancel"],g=e.reactExports.memo(f=>{const{initialComments:h=null,onUpdateComments:c,context:C,onOption:u,onValidateOption:i,onDone:r,options:m=P,defaultOption:p=m?.[0],cancelOption:l="Cancel",sx:O,...E}=f,x=e.reactExports.useMemo(()=>{const t=h??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 k=s[o];n+=k?.text}}return n},[]),[a,T]=e.reactExports.useState(x),[j,y]=e.reactExports.useState(!1),d=e.reactExports.useCallback(async(t,n)=>null,[]),v=e.T(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.T(t=>{T(t.target.value),d(t.target.value,null)},[i]),b=e.T(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.k3,{title:(x?"Edit":"Insert")+" Comments",options:m,onDone:r,onOption:t=>v(t),onValidateOption:b,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=>{j||t.target?.select(),y(!0)},sx:{"& .MuiFormHelperText-root":{marginTop:t=>t.spacing(.5)}},InputLabelProps:{shrink:!0},InputProps:{inputProps:{className:"autoFocus",spellCheck:!1,autoComplete:"off",sx:{paddingTop:t=>t.spacing(1.25),paddingBottom:t=>t.spacing(.75),backgroundImage:`linear-gradient(${e.alpha("#fff",e.getOverlayAlpha(5))}, ${e.alpha("#fff",e.getOverlayAlpha(5))})`}}},value:a,onChange:F,onContextMenu:t=>{t.stopPropagation()}})})})})});exports.CommentsDialog=g,exports.default=g;
|
|
@@ -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"),D=["Input"],M=e.reactExports.memo(e.reactExports.forwardRef((f,h)=>{const{initialValue:T="",onOption:y,onValidateOption:i,onInputOption:p,onValidateInputOption:r,onDone:s,inputProps:l,inputLabel:O,inputType:E,inputPlaceHolder:j,options:u=D,autoFocusSel:v=".autoFocus",cancelOption:c,defaultOption:d=u?.[0],...w}=f,[F,S]=e.reactExports.useState(!1),[o,P]=e.reactExports.useState(T),[b,C]=e.reactExports.useState(""),[I,k]=e.reactExports.useState(!0),n=e.T(async(t,a)=>{if(!r)return!0;const g=await r?.(t,a);C(g?.message??"");const m=g?.valid??!0;return k(m),m},[r]),x=e.T(async t=>{p?.(o,t)},[o,p,s,y,c,d]),R=e.T(async t=>{t.keyCode===e.ro.Enter&&await n?.(o,null)},[o,x]),V=e.T(t=>{P(t.target.value),n?.(t.target.value,null)},[i]),B=e.T(async t=>{let a=await n(o,t);try{a!==!1&&(a=await n(o,t))}catch{}return a??!0},[o,i]);return e.jsxRuntimeExports.jsx(e.k3,{options:u,onDone:s,onOption:(t,a)=>{a||x(t)},onValidateOption:B,cancelOption:c,defaultOption:d,autoFocusSel:v,ref:h,...w,children:e.jsxRuntimeExports.jsx(e.Box,{sx:{paddingTop:t=>t.spacing(1),paddingBottom:t=>t.spacing(0)},children:e.jsxRuntimeExports.jsx(e.FormControl,{sx:{paddingTop:t=>t.spacing(1.5),minWidth:135,width:"100%"},size:"small",children:e.jsxRuntimeExports.jsx(e.TextField,{onFocus:t=>{F||t.target?.select(),S(!0)},type:E,label:O,helperText:b||" ",sx:{width:"100%","& .MuiFormHelperText-root":{marginTop:t=>t.spacing(.5),color:I?void 0:"error.main"}},InputLabelProps:{shrink:!0},InputProps:{inputProps:{placeholder:j,spellCheck:!1,autoComplete:"off",...l,className:e.z0("autoFocus",l?.className),sx:{paddingTop:t=>t.spacing(1.25),paddingBottom:t=>t.spacing(.75),backgroundImage:`linear-gradient(${e.alpha("#fff",e.getOverlayAlpha(5))}, ${e.alpha("#fff",e.getOverlayAlpha(5))})`}}},value:o,onChange:V,onKeyDown:R,onContextMenu:t=>{t.stopPropagation()}})})})})}));exports.default=M;
|
|
@@ -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"],y=e.reactExports.memo(T=>{const{initialHyperlink:o=null,initialDisplay:k=null,onUpdateHyperlink:c,context:s,onOption:d,onValidateOption:r,onDone:i,options:x=I,defaultOption:p=x?.[0],cancelOption:l="Cancel",sx:E,...C}=T,O=e.reactExports.useMemo(()=>(o??s?.()?.getHyperlink())!==null,[]),g=e.reactExports.useMemo(()=>{let t=null,n=null;o&&(typeof o=="string"?n=o:t=o);const f=t??s?.()?.getHyperlink();return{address:n??f?.getAddress()??"",textToDisplay:f?.getDisplayText()??""}},[o,s]),[a,j]=e.reactExports.useState(g.address),[u,b]=e.reactExports.useState(()=>{const t=s?.().toTextUnformatted()??k;return t===g.address?"":t}),[v,m]=e.reactExports.useState(!1),F=e.reactExports.useCallback(t=>{b(t.target.value)},[]),h=e.reactExports.useCallback(async(t,n)=>null,[]),P=e.T(async t=>{t!==l&&c?.(a===""?null:{address:a},u),d?.(t,t===l,t===p),i?.()},[a,u,c,i,d,p,l]),D=e.T(t=>{j(t.target.value),h(t.target.value,null)},[r]),H=e.T(async t=>{let n=await Promise.resolve(r?.(t));try{n!==!1&&(n=await h(a,t))}catch{}return n??!0},[r]);return e.jsxRuntimeExports.jsx(e.k3,{title:(O?"Edit":"Insert")+" Link",options:x,onDone:i,onOption:t=>P(t),onValidateOption:H,defaultOption:p,cancelOption:l,autoFocusSel:".autoFocus",sx:{width:"480px",...E},...C,children:e.jsxRuntimeExports.jsxs(e.Box,{sx:{paddingTop:t=>t.spacing(1),paddingBottom:t=>t.spacing(0),rowGap:t=>t.spacing(1),display:"flex",flexDirection:"column"},children:[e.jsxRuntimeExports.jsx(e.FormControl,{sx:{paddingTop:t=>t.spacing(1.5),minWidth:135,width:"100%"},size:"small",children:e.jsxRuntimeExports.jsx(e.TextField,{label:"Address",placeholder:"Enter a url or cell reference.",onFocus:t=>{v||t.target?.select(),m(!0)},sx:{"& .MuiFormHelperText-root":{marginTop:t=>t.spacing(.5)}},InputLabelProps:{shrink:!0},InputProps:{inputProps:{className:"autoFocus",spellCheck:!1,autoComplete:"off",sx:{paddingTop:t=>t.spacing(1.25),paddingBottom:t=>t.spacing(.75),backgroundImage:`linear-gradient(${e.alpha("#fff",e.getOverlayAlpha(5))}, ${e.alpha("#fff",e.getOverlayAlpha(5))})`}}},value:a,onChange:D,onContextMenu:t=>{t.stopPropagation()}})}),e.jsxRuntimeExports.jsx(e.FormControl,{sx:{paddingTop:t=>t.spacing(1.5),minWidth:135,width:"100%"},size:"small",children:e.jsxRuntimeExports.jsx(e.TextField,{label:"Display Text",placeholder:a?.startsWith("#")?a.substring(1):a,onFocus:()=>{m(!0)},sx:{"& .MuiFormHelperText-root":{marginTop:t=>t.spacing(.5)}},InputLabelProps:{shrink:!0},InputProps:{inputProps:{spellCheck:!1,autoComplete:"off",sx:{paddingTop:t=>t.spacing(1.25),paddingBottom:t=>t.spacing(.75),backgroundImage:`linear-gradient(${e.alpha("#fff",e.getOverlayAlpha(5))}, ${e.alpha("#fff",e.getOverlayAlpha(5))})`}}},value:u,onChange:F,onContextMenu:t=>{t.stopPropagation()}})})]})})});exports.HyperlinkDialog=y,exports.default=y;
|
|
@@ -1,147 +0,0 @@
|
|
|
1
|
-
import { n as E, j as t, r as o, o as p, w as b, T as M, b as le, N as ae, x as re, D as ce, B as O, p as g, q as m, s as pe, t as j, v as de, i as Q, f as v, y as ue, V as fe, H as xe, z as ge, h as R, A as Y, E as me, G as he, J as Oe, M as je, e as Ce, I as ye, S as be } from "./CYftWR0vSdUWRn2Z.mjs";
|
|
2
|
-
/**
|
|
3
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.5
|
|
4
|
-
*
|
|
5
|
-
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
6
|
-
* License: The license can be found at https://www.sheetxl.com/license.
|
|
7
|
-
*/
|
|
8
|
-
const ve = E(t.jsx("path", { d: "M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z" }), "ArrowBack"), Re = E(t.jsx("path", { d: "m20 12-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8z" }), "ArrowDownward"), Te = E(t.jsx("path", { d: "m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z" }), "ArrowForward"), ke = E(t.jsx("path", { d: "m4 12 1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8z" }), "ArrowUpward"), K = o.memo((T) => {
|
|
9
|
-
const { label: h, value: c, options: l, onSelect: d, tabIndex: C = 0, ...F } = T, [I, y] = o.useState(() => ee(c, l));
|
|
10
|
-
o.useEffect(() => {
|
|
11
|
-
y(ee(c, l));
|
|
12
|
-
}, [c, l]);
|
|
13
|
-
const D = M((u) => {
|
|
14
|
-
y(u.target.value), d?.(l[u.target.value]);
|
|
15
|
-
}, [d, l]), a = o.useMemo(() => Object.keys(l).map((u) => t.jsx(je, { value: u, children: u }, u)), [l]);
|
|
16
|
-
return t.jsxs(Ce, { sx: { minWidth: 135 }, size: "small", children: [t.jsx(ye, { children: h }), t.jsx(be, { inputProps: { tabIndex: C }, value: I, label: h, onChange: D, sx: { backgroundImage: `linear-gradient(${v("#fff", R(5))}, ${v("#fff", R(5))})` }, ...F, children: a })] });
|
|
17
|
-
}), Z = { Workbook: "workbook", Sheet: "sheet" }, _ = { enter: 140, exit: 140 }, ne = { Formulas: p.Content.Formulas, Values: p.Content.Values, Notes: p.Content.Notes, Comments: p.Content.Comments }, te = { ...ne };
|
|
18
|
-
delete te.Values;
|
|
19
|
-
const Se = { "By Rows": !0, "By Columns": !1 }, ee = (T, h) => {
|
|
20
|
-
const c = Object.keys(h);
|
|
21
|
-
for (let l = 0; l < c.length; l++) {
|
|
22
|
-
const d = c[l];
|
|
23
|
-
if (h[d] === T) return d;
|
|
24
|
-
}
|
|
25
|
-
}, Ee = o.memo((T) => {
|
|
26
|
-
const { replace: h = !1, findText: c, replaceText: l, findOptions: d, replaceOptions: C, title: F, onHide: I, onFindOrReplace: y, ...D } = T, a = o.useRef(null), u = o.useRef(null), V = o.useRef(null), H = o.useRef(null), $ = o.useRef(null), z = o.useRef(null), B = (e, n) => {
|
|
27
|
-
n && (n.start(e, { center: !1 }), setTimeout(() => n.stop(e), 180));
|
|
28
|
-
}, [N, w] = o.useState(!1), [L, se] = o.useState(!1), [f, A] = o.useState(h), [W, P] = o.useState(!1), [G, U] = o.useState(!1), [i, r] = o.useState({ findText: null, replaceText: null, replace: h, replaceOptions: {}, findOptions: { matchCase: !1, matchEntireCell: !1, useRegex: !1, orientation: b.Orientation.Row, fields: [p.Content.Formulas] }, scope: Z.Sheet }), k = M(async (e, n, s, S) => {
|
|
29
|
-
if (!y) return;
|
|
30
|
-
const x = { ...i };
|
|
31
|
-
x.replaceOptions = { ...x.replaceOptions }, x.findOptions = { ...x.findOptions }, x.replaceOptions.maxCount = s ? void 0 : 1, x.replace = n, n && i.findOptions.fields?.[0] === p.Content.Values && (x.findOptions.fields = [p.Content.Formulas]), x.findOptions.reverse = !e;
|
|
32
|
-
const oe = await y({ autoFocus: S, ...x });
|
|
33
|
-
P(oe === 0);
|
|
34
|
-
}, [i, y]);
|
|
35
|
-
o.useEffect(() => {
|
|
36
|
-
P(!1);
|
|
37
|
-
}, [i, L, f]);
|
|
38
|
-
const q = M((e, n) => {
|
|
39
|
-
if (e.keyCode === le.Enter) {
|
|
40
|
-
if (!i.findText) return;
|
|
41
|
-
let s = !0, S = !1;
|
|
42
|
-
e.shiftKey && (s = !1), n ? (e.ctrlKey && e.altKey && (S = !0), B(e, S ? z.current : $.current)) : B(e, s ? H.current : V.current), k(s, n, S, !1);
|
|
43
|
-
}
|
|
44
|
-
}, [i]), J = o.useRef(null);
|
|
45
|
-
o.useLayoutEffect(() => {
|
|
46
|
-
r((e) => {
|
|
47
|
-
const n = { ...e };
|
|
48
|
-
n.findText = c && c.length > 0 ? c : e.findText ?? "", w(!0), l !== void 0 && (n.replaceText = l), d && (n.findOptions = { ...n.findOptions, ...d }), n.replaceText || (n.replaceText = ""), n.replaceOptions && (n.replaceOptions = { ...n.replaceOptions }), C && (n.replaceOptions = { ...n.replaceOptions, ...C }), i.findOptions.fields?.[0] || (i.findOptions.fields = [p.Content.Formulas]);
|
|
49
|
-
const s = !(!C && l === void 0);
|
|
50
|
-
return s && A(s), n;
|
|
51
|
-
}), G || J.current?.focus();
|
|
52
|
-
}, [c, l, d, C]), o.useEffect(() => {
|
|
53
|
-
f ? (i.findOptions.fields[0], p.Content.Values) : w(!0);
|
|
54
|
-
}, [f]), o.useEffect(() => {
|
|
55
|
-
if (N && a.current && i.findText === a.current.value) return a.current === document.activeElement || a.current.contains(document.activeElement) ? (a.current?.select(), void w(!1)) : void a.current.addEventListener("focus", () => {
|
|
56
|
-
a.current?.select(), w(!1);
|
|
57
|
-
}, { once: !0 });
|
|
58
|
-
}, [N, i]);
|
|
59
|
-
const [ie, { width: X }] = ae();
|
|
60
|
-
return t.jsx(re, { ref: J, title: F ?? (f ? "Find & Replace" : "Find"), initialPosition: { y: "35" }, autoFocusSel: ".input", onHide: I, onFocus: () => U(!0), onBlur: () => {
|
|
61
|
-
U(!1), P(!1);
|
|
62
|
-
}, PaperProps: { elevation: G ? 3 : 1 }, ...D, children: t.jsxs(ce, { dividers: !0, ref: ie, sx: { display: "flex", flexDirection: "column", paddingLeft: (e) => e.spacing(1.5), paddingRight: (e) => e.spacing(1.5) }, onKeyDown: (e) => {
|
|
63
|
-
if (e.key === "h" && e.ctrlKey) A(!0), a.current?.contains(document.activeElement) && u.current?.focus();
|
|
64
|
-
else if (e.key === "f" && e.ctrlKey) a.current?.focus();
|
|
65
|
-
else if (e.key === "c" && e.altKey) r((n) => {
|
|
66
|
-
const s = { ...n };
|
|
67
|
-
return s.findOptions.matchCase = !n.findOptions.matchCase, s;
|
|
68
|
-
});
|
|
69
|
-
else if (e.key === "e" && e.altKey) r((n) => {
|
|
70
|
-
const s = { ...n };
|
|
71
|
-
return s.findOptions.matchEntireCell = !n.findOptions.matchEntireCell, s;
|
|
72
|
-
});
|
|
73
|
-
else {
|
|
74
|
-
if (e.key !== "r" || !e.altKey) return;
|
|
75
|
-
r((n) => {
|
|
76
|
-
const s = { ...n };
|
|
77
|
-
return s.findOptions.useRegex = !n.findOptions.useRegex, s;
|
|
78
|
-
});
|
|
79
|
-
}
|
|
80
|
-
e.preventDefault();
|
|
81
|
-
}, children: [t.jsxs(O, { sx: { display: "flex", flexDirection: "row", gap: (e) => e.spacing(1) }, children: [t.jsxs(O, { sx: { display: "flex", flexDirection: "row", alignItems: "start", gap: (e) => e.spacing(0.25), paddingTop: "3px" }, children: [t.jsx(g, { selected: L, onSelectToggle: (e) => {
|
|
82
|
-
se(e);
|
|
83
|
-
}, preventFocus: !0, label: "Toggle Additional Options", icon: m(t.jsx(pe, {})) }), t.jsx(g, { selected: f, onSelectToggle: (e) => {
|
|
84
|
-
A(e);
|
|
85
|
-
}, preventFocus: !0, label: "Toggle Replace", icon: m(t.jsx(de, {})), shortcut: { key: f ? "F" : "H", modifiers: [j.Ctrl] } })] }), t.jsxs(O, { sx: { display: "flex", flexDirection: "column", maxWidth: "100%", boxSizing: "border-box" }, children: [t.jsxs(O, { sx: { display: "flex", flexDirection: "row", alignItems: "center" }, children: [t.jsx(Q, { label: "Find", InputLabelProps: { shrink: !0 }, InputProps: { sx: { paddingRight: (e) => e.spacing(1), minWidth: X > 460 ? "20em" : void 0, backgroundImage: `linear-gradient(${v("#fff", R(5))}, ${v("#fff", R(5))})` }, inputProps: { draggable: !1, ref: a, className: "input", autoFocus: !0, spellCheck: !1, autoComplete: "off", sx: { paddingTop: (e) => e.spacing(1.25), paddingBottom: (e) => e.spacing(0.75) } }, endAdornment: t.jsx(ue, { sx: { transform: "scale(0.75) translateX(16px)" }, position: "end", children: t.jsxs(O, { sx: { display: "flex", alignItems: "center", flexDirection: "row", gap: "1px" }, children: [t.jsx(g, { selected: i.findOptions.matchCase, onSelectToggle: (e) => {
|
|
86
|
-
r((n) => {
|
|
87
|
-
const s = { ...n };
|
|
88
|
-
return s.findOptions.matchCase = e, s;
|
|
89
|
-
});
|
|
90
|
-
}, label: "Match Case", shortcut: { key: "C", modifiers: [j.Alt] }, icon: m(t.jsx(fe, {})) }), t.jsx(g, { selected: i.findOptions.matchEntireCell, onSelectToggle: (e) => {
|
|
91
|
-
r((n) => {
|
|
92
|
-
const s = { ...n };
|
|
93
|
-
return s.findOptions.matchEntireCell = e, s;
|
|
94
|
-
});
|
|
95
|
-
}, label: "Match Entire Cell", shortcut: { key: "E", modifiers: [j.Alt] }, icon: m(t.jsx(xe, {})) }), t.jsx(g, { selected: i.findOptions.useRegex, onSelectToggle: (e) => {
|
|
96
|
-
r((n) => {
|
|
97
|
-
const s = { ...n };
|
|
98
|
-
return s.findOptions.useRegex = e, s;
|
|
99
|
-
});
|
|
100
|
-
}, label: "Use Regular Expression", shortcut: { key: "R", modifiers: [j.Alt] }, icon: m(t.jsx(ge, {})) })] }) }) }, sx: { flex: "1 1 100%", marginRight: (e) => e.spacing(1), "& .MuiOutlinedInput-notchedOutline": { borderColor: (e) => W ? `${e.palette.error.main} !important` : void 0 }, "& .MuiInputLabel-outlined": { color: (e) => W ? `${e.palette.error.main} !important` : void 0 } }, value: i.findText ?? "", onChange: (e) => {
|
|
101
|
-
r((n) => {
|
|
102
|
-
const s = { ...n };
|
|
103
|
-
return s.findText = e.target.value, s;
|
|
104
|
-
});
|
|
105
|
-
}, onKeyDown: (e) => q(e, !1), onContextMenu: (e) => {
|
|
106
|
-
e.stopPropagation();
|
|
107
|
-
} }), t.jsx(g, { selected: i.findOptions.reverse, onSelectToggle: (e) => {
|
|
108
|
-
k(!1, !1);
|
|
109
|
-
}, touchRippleRef: V, label: "", shortcut: { key: "Enter", modifiers: [j.Shift] }, icon: m(i.findOptions.orientation !== b.Orientation.Column ? t.jsx(ve, {}) : t.jsx(ke, {})), disabled: !i.findText }), t.jsx(g, { selected: !i.findOptions.reverse, onSelectToggle: (e) => {
|
|
110
|
-
k(!0, !1);
|
|
111
|
-
}, touchRippleRef: H, label: "Next Match", shortcut: { key: "Enter" }, icon: m(i.findOptions.orientation !== b.Orientation.Column ? t.jsx(Te, {}) : t.jsx(Re, {})), disabled: !i.findText })] }), t.jsx(Y, { in: f, timeout: _, onExit: () => {
|
|
112
|
-
a.current?.focus();
|
|
113
|
-
}, children: t.jsxs(O, { sx: { display: "flex", flexDirection: "row", alignItems: "center", marginTop: (e) => e.spacing(2) }, children: [t.jsx(Q, { label: "Replace", InputLabelProps: { shrink: !0 }, InputProps: { sx: { paddingRight: (e) => e.spacing(1), backgroundImage: `linear-gradient(${v("#fff", R(5))}, ${v("#fff", R(5))})` }, inputProps: { ref: u, className: "input", spellCheck: !1, autoComplete: "off", sx: { paddingTop: (e) => e.spacing(1.25), paddingBottom: (e) => e.spacing(0.75) } } }, sx: { flex: "1 1 100%", marginRight: (e) => e.spacing(1) }, value: i.replaceText ?? "", onChange: (e) => {
|
|
114
|
-
r((n) => {
|
|
115
|
-
const s = { ...n };
|
|
116
|
-
return s.replaceText = e.target.value, s;
|
|
117
|
-
});
|
|
118
|
-
}, onKeyDown: (e) => q(e, !0), onContextMenu: (e) => {
|
|
119
|
-
e.stopPropagation();
|
|
120
|
-
} }), t.jsx(g, { onSelectToggle: (e) => {
|
|
121
|
-
k(!0, !0);
|
|
122
|
-
}, touchRippleRef: $, label: "Replace", shortcut: { key: "Enter" }, icon: m(t.jsx(me, {})), disabled: !i.findText }), t.jsx(g, { onSelectToggle: (e) => {
|
|
123
|
-
k(!0, !0, !0);
|
|
124
|
-
}, touchRippleRef: z, label: "Replace All", shortcut: { key: "Enter", modifiers: [j.Ctrl, j.Alt] }, icon: m(t.jsx(he, {})), disabled: !i.findText })] }) })] })] }), t.jsx(Y, { in: L, timeout: _, onExit: () => {
|
|
125
|
-
a.current?.focus();
|
|
126
|
-
}, children: t.jsxs(O, { sx: { minHeight: "10px", flex: "1 1 100%", display: "flex", flexDirection: "column", gap: (e) => e.spacing(0.5), marginTop: (e) => e.spacing(1) }, children: [t.jsx(Oe, { orientation: "horizontal", sx: { marginBottom: (e) => e.spacing(1.5) } }), t.jsxs(O, { sx: { display: "flex", flexDirection: X >= 413 ? "row" : "column", justifyContent: "space-evenly", alignItems: "center", rowGap: (e) => e.spacing(2) }, tabIndex: -1, children: [t.jsx(K, { label: "Within", value: i.scope, options: Z, onSelect: (e) => {
|
|
127
|
-
r((n) => {
|
|
128
|
-
const s = { ...n };
|
|
129
|
-
return s.scope = e, s;
|
|
130
|
-
});
|
|
131
|
-
} }), t.jsx(K, { label: "Search", value: i.findOptions.orientation !== b.Orientation.Column, options: Se, onSelect: (e) => {
|
|
132
|
-
r((n) => {
|
|
133
|
-
const s = { ...n };
|
|
134
|
-
return s.findOptions.orientation = e ? b.Orientation.Row : b.Orientation.Column, s;
|
|
135
|
-
});
|
|
136
|
-
} }), t.jsx(K, { label: "Look in", value: f && i.findOptions.fields?.[0] === p.Content.Values ? p.Content.Formulas : i.findOptions.fields?.[0], options: f ? te : ne, onSelect: (e) => {
|
|
137
|
-
r((n) => {
|
|
138
|
-
const s = { ...n };
|
|
139
|
-
return s.findOptions.fields = [e], s;
|
|
140
|
-
});
|
|
141
|
-
} })] })] }) })] }) });
|
|
142
|
-
});
|
|
143
|
-
export {
|
|
144
|
-
Ee as FindReplaceWindow,
|
|
145
|
-
Z as ScopeOptions,
|
|
146
|
-
Ee as default
|
|
147
|
-
};
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { r as e, T as o, b as z, j as i, a as E, B as K, e as R, i as W, f as O, aI as q, h as y } from "./CYftWR0vSdUWRn2Z.mjs";
|
|
2
|
-
/**
|
|
3
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.5
|
|
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 A = ["Input"], J = e.memo(e.forwardRef((w, T) => {
|
|
9
|
-
const { initialValue: I = "", onOption: F, onValidateOption: l, onInputOption: r, onValidateInputOption: p, onDone: u, inputProps: c, inputLabel: P, inputType: S, inputPlaceHolder: b, options: d = A, autoFocusSel: j = ".autoFocus", cancelOption: g, defaultOption: f = d?.[0], ...v } = w, [C, k] = e.useState(!1), [t, V] = e.useState(I), [B, D] = e.useState(""), [H, L] = e.useState(!0), s = o(async (a, n) => {
|
|
10
|
-
if (!p) return !0;
|
|
11
|
-
const h = await p?.(a, n);
|
|
12
|
-
D(h?.message ?? "");
|
|
13
|
-
const x = h?.valid ?? !0;
|
|
14
|
-
return L(x), x;
|
|
15
|
-
}, [p]), m = o(async (a) => {
|
|
16
|
-
r?.(t, a);
|
|
17
|
-
}, [t, r, u, F, g, f]), M = o(async (a) => {
|
|
18
|
-
a.keyCode === z.Enter && await s?.(t, null);
|
|
19
|
-
}, [t, m]), N = o((a) => {
|
|
20
|
-
V(a.target.value), s?.(a.target.value, null);
|
|
21
|
-
}, [l]), $ = o(async (a) => {
|
|
22
|
-
let n = await s(t, a);
|
|
23
|
-
try {
|
|
24
|
-
n !== !1 && (n = await s(t, a));
|
|
25
|
-
} catch {
|
|
26
|
-
}
|
|
27
|
-
return n ?? !0;
|
|
28
|
-
}, [t, l]);
|
|
29
|
-
return i.jsx(E, { options: d, onDone: u, onOption: (a, n) => {
|
|
30
|
-
n || m(a);
|
|
31
|
-
}, onValidateOption: $, cancelOption: g, defaultOption: f, autoFocusSel: j, ref: T, ...v, children: i.jsx(K, { sx: { paddingTop: (a) => a.spacing(1), paddingBottom: (a) => a.spacing(0) }, children: i.jsx(R, { sx: { paddingTop: (a) => a.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: i.jsx(W, { onFocus: (a) => {
|
|
32
|
-
C || a.target?.select(), k(!0);
|
|
33
|
-
}, type: S, label: P, helperText: B || " ", sx: { width: "100%", "& .MuiFormHelperText-root": { marginTop: (a) => a.spacing(0.5), color: H ? void 0 : "error.main" } }, InputLabelProps: { shrink: !0 }, InputProps: { inputProps: { placeholder: b, spellCheck: !1, autoComplete: "off", ...c, className: q("autoFocus", c?.className), sx: { paddingTop: (a) => a.spacing(1.25), paddingBottom: (a) => a.spacing(0.75), backgroundImage: `linear-gradient(${O("#fff", y(5))}, ${O("#fff", y(5))})` } } }, value: t, onChange: N, onKeyDown: M, onContextMenu: (a) => {
|
|
34
|
-
a.stopPropagation();
|
|
35
|
-
} }) }) }) });
|
|
36
|
-
}));
|
|
37
|
-
export {
|
|
38
|
-
J as default
|
|
39
|
-
};
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { az as C, w as y } from "./CYftWR0vSdUWRn2Z.mjs";
|
|
2
|
-
/**
|
|
3
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.5
|
|
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 k = async (a, c) => {
|
|
9
|
-
const { trimLeadingBlankRow: i = !0, trimLeadingBlankColumn: f = !0, excludeHidden: g = !1, sheetKey: t = null, papaParseConfig: m = {} } = c || {}, w = await import("./BZ3YXob52SPxPFD0.mjs").then((e) => e.p);
|
|
10
|
-
if (!a) throw new Error("workbook must be specified");
|
|
11
|
-
let r = null;
|
|
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 u = null;
|
|
14
|
-
const l = [];
|
|
15
|
-
let n = null, o = r.getUsedRange({ excludeHidden: g });
|
|
16
|
-
if (!o) throw new Error("Nothing to export");
|
|
17
|
-
if (!i || !f) {
|
|
18
|
-
const e = i ? o.getRowStart() : 0, s = f ? o.getColumnStart() : 0;
|
|
19
|
-
o = o.getOffsetTo(e, s);
|
|
20
|
-
}
|
|
21
|
-
o.forEach((e, s) => {
|
|
22
|
-
const d = s.getCoords(), S = s.getCell();
|
|
23
|
-
u !== d.rowIndex && (n && l.push(n), n = [], u = d.rowIndex);
|
|
24
|
-
const x = S.toTextUnformatted() ?? "";
|
|
25
|
-
n.push(x);
|
|
26
|
-
}, { includeEmpty: !0, address: null }), n && l.push(n);
|
|
27
|
-
const p = { ...m }, h = w.unparse(l, p);
|
|
28
|
-
return new TextEncoder().encode(h).buffer;
|
|
29
|
-
}, P = async (a, c) => {
|
|
30
|
-
const { papaParseConfig: i, setValuesOptions: f, createWorkbookOptions: g } = c ?? {}, t = c?.progress, m = t?.onStart?.(c?.name ?? "Parsing CSV");
|
|
31
|
-
await Promise.resolve(m);
|
|
32
|
-
const w = t?.onProgress, r = await import("./BZ3YXob52SPxPFD0.mjs").then((e) => e.p), u = new TextDecoder().decode(a);
|
|
33
|
-
let l = -1;
|
|
34
|
-
const n = new C(g), o = n.getSelectedSheet().getEntireRange().startIncrementalUpdates({ orientation: y.Orientation.Row });
|
|
35
|
-
let p = 0;
|
|
36
|
-
const h = { ...i, transform: (e, s) => {
|
|
37
|
-
i?.transform && (e = i.transform(e, s));
|
|
38
|
-
const d = s;
|
|
39
|
-
d === 0 && l++;
|
|
40
|
-
let S = e ?? "";
|
|
41
|
-
return o.pushAt(l, d, S), p++, p % 1e5 == 0 && w?.(p), t?.onComplete?.(p), e;
|
|
42
|
-
} };
|
|
43
|
-
return r.parse(u, h).data, o.apply({ textParser: !0, ...f }), n;
|
|
44
|
-
};
|
|
45
|
-
export {
|
|
46
|
-
P as fromBufferCSV,
|
|
47
|
-
k as toBufferCSV
|
|
48
|
-
};
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { r as n, N as z, K as O, L as E, T as u, j as a, P as M, x as W, D as A, B as o, Q as q, R as J, J as h, Y as K, U as Q, W as f, q as y, X as b, _ as j } from "./CYftWR0vSdUWRn2Z.mjs";
|
|
2
|
-
/**
|
|
3
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.5
|
|
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 Y = n.memo((w) => {
|
|
9
|
-
const { title: S, onHide: C, autoFocusSel: N = ".range-input input", context: R, command: r, commands: c, ...T } = w, [v, d] = n.useState(!1), [g, m] = n.useState(!1), x = n.useRef(null), [U, D] = n.useReducer((e) => e + 1, 0), [F, { width: V }] = z();
|
|
10
|
-
O(r);
|
|
11
|
-
const s = R ?? r.context(), t = s.table(), [B, H] = n.useState(() => t ? s.getNames().getRanges(t.getRange()) : null), P = n.useMemo(() => t?.getName() ?? "", [t]);
|
|
12
|
-
E(s.table(), { onAnchorCoordsChange(e) {
|
|
13
|
-
H(s.getNames().getRanges(e.getRange()));
|
|
14
|
-
}, onProtectedChange(e) {
|
|
15
|
-
D();
|
|
16
|
-
} });
|
|
17
|
-
const I = u((e) => {
|
|
18
|
-
s?.table().setName(e);
|
|
19
|
-
}, [s]), L = u((e) => {
|
|
20
|
-
s?.table().resize(e.at(0));
|
|
21
|
-
}, [s]);
|
|
22
|
-
let p = null;
|
|
23
|
-
s.table() || (p = a.jsx("div", { style: { position: "absolute", top: "0", left: "0", width: "100%", height: "100%", opacity: 1, display: "flex", alignItems: "center", justifyItems: "center", justifyContent: "center", boxSizing: "border-box" }, children: a.jsx("div", { children: "No table selected" }) }));
|
|
24
|
-
const l = M();
|
|
25
|
-
return a.jsx(W, { ref: x, title: S ?? "Table Details", initialPosition: { y: "35" }, autoFocusSel: N, onHide: C, onFocus: () => d(!0), onBlur: (e) => {
|
|
26
|
-
x?.current?.contains(e.relatedTarget) || d(!1);
|
|
27
|
-
}, PaperProps: { elevation: v ? 3 : 1 }, ...T, children: a.jsxs(A, { dividers: !0, ref: F, sx: { display: "flex", flexDirection: "column", position: "relative", paddingLeft: (e) => e.spacing(1.5), paddingRight: (e) => e.spacing(1.5) }, children: [a.jsxs(o, { sx: { display: "flex", flexDirection: "column", transition: "opacity 60ms", opacity: s.table() ? 1 : 0 }, children: [a.jsx(o, { sx: { display: "flex", flexDirection: "row", gap: (e) => e.spacing(1) }, children: a.jsx(o, { sx: { display: "flex", flexDirection: "column", maxWidth: "100%", boxSizing: "border-box", paddingLeft: (e) => e.spacing(2), paddingRight: (e) => e.spacing(2) }, children: a.jsxs(o, { sx: { display: "flex", flexDirection: "column", alignItems: "center" }, children: [a.jsx(q, { formName: "name", defaultInput: P, value: t?.getName() ?? "No table", onChangeInput: I, onValidate: (e) => {
|
|
28
|
-
t && t.getName().toLowerCase() === e.toLowerCase() || s?.getNames().validateName(e);
|
|
29
|
-
}, disabled: t?.isProtected() ?? !0, onFocus: (e) => {
|
|
30
|
-
g || e.target?.select(), m(!0);
|
|
31
|
-
} }), a.jsx(J, { formName: "range", value: B, onChangeInput: L, resolvedAddress: s.getNames().getRanges.bind(s.getNames()), disabled: t?.isProtected() ?? !0, onFocus: (e) => {
|
|
32
|
-
g || e.target?.select(), m(!0);
|
|
33
|
-
} })] }) }) }), a.jsxs(o, { sx: { minHeight: "10px", flex: "1 1 100%", display: "flex", flexDirection: "column", gap: (e) => e.spacing(0.5), marginTop: (e) => e.spacing(1) }, children: [a.jsx(h, { orientation: "horizontal", sx: { marginTop: (e) => e.spacing(1.5), marginBottom: (e) => e.spacing(0.75) } }), a.jsx(K, { disabled: t?.isProtected(), styleOptions: t?.getStyleOptions() ?? null, onStyleOptionsChange: (e) => {
|
|
34
|
-
t.updateStyleOptions(e);
|
|
35
|
-
}, showHeaderRow: t?.getShowHeaders(), onShowHeaderRowChange: (e) => {
|
|
36
|
-
try {
|
|
37
|
-
t.setShowHeaders(e);
|
|
38
|
-
} catch (i) {
|
|
39
|
-
l.showError(i);
|
|
40
|
-
}
|
|
41
|
-
}, showTotalRow: t?.getShowTotals(), onShowTotalRowChange: (e) => {
|
|
42
|
-
try {
|
|
43
|
-
t.setShowTotals(e);
|
|
44
|
-
} catch (i) {
|
|
45
|
-
l.showError(i);
|
|
46
|
-
}
|
|
47
|
-
}, showFilterButton: t?.getFilter() ? t.getShowFilterButton() : null, onShowFilterButtonChange: (e) => {
|
|
48
|
-
try {
|
|
49
|
-
t.setShowFilterButton(e);
|
|
50
|
-
} catch (i) {
|
|
51
|
-
l.showError(i);
|
|
52
|
-
}
|
|
53
|
-
} }), a.jsx(o, { sx: { display: "flex", alignItems: "center", justifyContent: "center", flexDirection: "column", marginTop: (e) => e.spacing(2), marginBottom: (e) => e.spacing(1) }, children: a.jsx(Q, { table: t, styles: s.styles(), bodyStyle: s.bodyStyle(), cellHeight: 30, isLive: !0 }) }), a.jsx(h, { orientation: "horizontal" }), a.jsxs(o, { sx: { display: "flex", flexDirection: "column", justifyContent: "center" }, children: [a.jsx(f, { variant: b.Menuitem, command: c.getCommand("convertTableToRange"), commandState: t, icon: y(a.jsx(j, {})) }), a.jsx(f, { variant: b.Menuitem, commandState: t, command: c.getCommand("deleteTable"), icon: y(a.jsx(j, {})) })] })] })] }), p] }) });
|
|
54
|
-
});
|
|
55
|
-
export {
|
|
56
|
-
Y as TableDetailsWindow,
|
|
57
|
-
Y as default
|
|
58
|
-
};
|