@sheetxl/studio-vanilla 0.2.6 → 0.3.1
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 +11 -11
- package/README.md +97 -97
- package/browser/cjs/{SbiJpXr4zSazogFL.cjs → B29HyGkvyTaqtIuC.cjs} +2 -2
- package/browser/cjs/B8iSa6r3JrD4vHjL.cjs +6 -0
- package/browser/cjs/{jOP7ooHEjN3co_iZ.cjs → BCwQKO-V-abKxWJ_.cjs} +2 -2
- package/browser/cjs/BF4_gTBFjNLsAuPo.cjs +12 -0
- package/browser/cjs/{4NiwWTjxkcLOpBHc.cjs → BIhAYujRx9pHZ67U.cjs} +2 -2
- package/browser/cjs/BRQNzdFmQ9PNvWfV.cjs +6 -0
- package/browser/cjs/{mrnJfuocFdy9i9R3.cjs → B_9pnEZ3P5dxBLVz.cjs} +1 -1
- package/browser/cjs/BgGqhWOYof8HtKvS.cjs +6 -0
- package/browser/cjs/{CBZBwIXLTjbRRaU9.cjs → BnWGeUEXNoVAHA9V.cjs} +1 -17
- package/browser/cjs/{CKw4jZkHhKSXzs6h.cjs → C3cZA4YXXR0nGmiX.cjs} +2 -2
- package/browser/cjs/{nKcYIuvpPRsvmjR-.cjs → C4u2p0WIEc0W5hox.cjs} +1 -1
- package/browser/cjs/{Dh8m-Ac9vVGCi9Yq.cjs → C5x7lcJ4jXraEzwd.cjs} +1 -1
- package/browser/cjs/{BvTDI8ygFILANbVz.cjs → C7OrIlP5y8YNBUSH.cjs} +1 -1
- package/browser/cjs/{D1vx3s4eeAusN2dr.cjs → C8SAbjqWtcbByYiY.cjs} +3 -3
- package/browser/cjs/{CrusQU7n-xFhTDT-.cjs → C8hd-STurhDiTimj.cjs} +2 -12
- package/browser/cjs/{Dl0QVg14Ov3MtrZg.cjs → CBJAarKn0X6M88pE.cjs} +1 -1
- package/browser/cjs/CDO0e018-e_cnUym.cjs +15 -0
- package/browser/cjs/{E1VqiZcwSn2hKsws.cjs → CFfzGa0ejQ07wxHV.cjs} +1 -1
- package/browser/cjs/{D_5DvMR8jPRlNuxT.cjs → CHT-XlD5pCRxYb1o.cjs} +9 -29
- package/browser/cjs/CN7DAGeuWAMsmRhb.cjs +11 -0
- package/browser/cjs/{CTzzznrxhJwOeSgv.cjs → CU_R48ZMXIyABak8.cjs} +2 -2
- package/browser/cjs/{CxYUCSFp8hMAf50d.cjs → CV8cwUmZBb2eYPim.cjs} +1 -1
- package/browser/cjs/{BMb64q962k9A-bMB.cjs → CabhMyhLi9hYK9FO.cjs} +1 -1
- package/browser/cjs/{CNn7rZoKafET6tie.cjs → Ciie7NCkasQUFTqv.cjs} +1 -1
- package/browser/cjs/{a_iTRlS-js6pZrGe.cjs → Cl4uI7uL1nugyAcD.cjs} +1 -1
- package/browser/cjs/{D3KIApNgwiwcjh47.cjs → ClXPeqKnCdO5VQd1.cjs} +2 -2
- package/browser/cjs/CxEt88bduUlmhV5K.cjs +7 -0
- package/browser/cjs/{CQFRsBrfH78k6pne.cjs → Cy3k3rXLi24oJPm-.cjs} +38 -48
- package/browser/cjs/{BZpN7X6JL4D8w_GB.cjs → CzHenNm5o19h9rNf.cjs} +1 -6
- package/browser/cjs/{DhzHHcjCqQMACJkO.cjs → D-ca3kpTC3bPbYMY.cjs} +1 -1
- package/browser/cjs/D9PapZZefCMRgdbF.cjs +6 -0
- package/browser/cjs/DFoejjkymKumh6SJ.cjs +7 -0
- package/browser/cjs/{Dgjihf-Vgzj2ttMo.cjs → DGZ-53usY93Q9LZJ.cjs} +1 -1
- package/browser/cjs/{8yDG2Zhwm5LO2ijQ.cjs → DK7XNv54M-Rj1fg6.cjs} +8 -8
- package/browser/cjs/DMJ4JoGWQ1NWhoNM.cjs +13 -0
- package/browser/cjs/{CgrbnMMS3VBxsLYS.cjs → DO9ZaMqU-TGY63RK.cjs} +3 -13
- package/browser/cjs/{ByZrB-a0IZnXFHp8.cjs → DOgxIZ6SD7AX7tN7.cjs} +1 -1
- package/browser/cjs/DSNepPmduhFJYvxi.cjs +15 -0
- package/browser/cjs/{DPkfRf8m5z5E_E2s.cjs → DWrbdNR6TNLNKinN.cjs} +3 -25
- package/browser/cjs/{CAYXmKymTVVMxTH2.cjs → DcQYUHhq5WoB1QxG.cjs} +1 -1
- package/browser/cjs/DdWNj_URRJBkxSgW.cjs +6 -0
- package/browser/cjs/{Ck76VigGxTPmG0DP.cjs → Dj5Aixw77uvtuMcZ.cjs} +3 -3
- package/browser/cjs/{oyOMII910fu6r19K.cjs → DjrGUr-awhOmDtrE.cjs} +70 -142
- package/browser/cjs/{D-TIECYXgcaHs264.cjs → DnvWyFlaRONdjoOF.cjs} +1 -1
- package/browser/cjs/Do0vp6vAs3RSV-Wj.cjs +12 -0
- package/browser/cjs/{h3Qy9eaxuHD0JyHR.cjs → DoVq0lqvAcxtM1Q9.cjs} +2 -2
- package/browser/cjs/{BVKdI0s5yFZsn2T0.cjs → Dy4AAvOJQs8TKfi3.cjs} +1 -1
- package/browser/cjs/{BoPnK6TJs6wUDa23.cjs → DzvuCPwdW59TYNeg.cjs} +1 -1
- package/browser/cjs/{BWTSs9RaMIt9NGy2.cjs → J_OG6N-DJrUW5gl6.cjs} +1 -1
- package/browser/cjs/{DZUFs3fl2ku8XtNf.cjs → MSWIE9Rd2oZbZuZB.cjs} +1 -1
- package/browser/cjs/{CFhPRuiSwHSE_x7B.cjs → OhHbe4dM7GBzMzB9.cjs} +1 -1
- package/browser/cjs/{B5w1DBuur1eF-G7O.cjs → VqhUjfIqtv4hC74q.cjs} +1 -1
- package/browser/cjs/{DbzKX7-OCpSsf78i.cjs → Y2adlqLM2N2Vzjg9.cjs} +2 -51
- package/browser/cjs/YWP5pMacbGbLcEZn.cjs +6 -0
- package/browser/cjs/{CE36RgEMYAeLep_Z.cjs → cwVi8FCIym0yZxmX.cjs} +1 -1
- package/browser/cjs/{xKhTqfOghHSL_qFo.cjs → dDk7hLjpihmO5-cX.cjs} +4 -24
- package/browser/cjs/index.cjs +2 -2
- package/browser/cjs/{DFSBw2enocFHhyp0.cjs → oeYUTiYZNPC7s8k1.cjs} +1 -1
- package/browser/cjs/{DAaL6S2TfygGITsS.cjs → qhNuYY2km30jEjYq.cjs} +2 -2
- package/{cdn/assets/xEp0XqOf4vnZlc-n.js → browser/esm/-GyxMlVRTAiygfTi.mjs} +2 -14
- package/{cdn/assets/BBepvID5xeEtPxMH.js → browser/esm/7LvL2PwFxo4tRjtC.mjs} +1 -13
- package/browser/esm/{DCwLJ6DEQwqu81uY.mjs → B9y2dkVuJJxTR6Cu.mjs} +1 -13
- package/browser/esm/{CPOD8XRfYO5uptB0.mjs → BAmbFIYJN2lFgCcK.mjs} +1 -13
- package/browser/esm/{8ZYmmws0mkxKNtG_.mjs → BFMayN3xlOUqRI_o.mjs} +2 -2
- package/{cdn/assets/Dl3dLVEkSq5qsjbB.js → browser/esm/BGTzGVKBHhjSJDwD.mjs} +1 -13
- package/browser/esm/BGjWX_kSxlX68bbv.mjs +10 -0
- package/{cdn/assets/CRd4c7rXPheF4eRC.js → browser/esm/BI0TtNjq7VHPYLFi.mjs} +2 -8
- package/{cdn/assets/DqMU7xNG-uKz8luL.js → browser/esm/BR58mmeGHPieLgMd.mjs} +1 -13
- package/browser/esm/{7CBFN1KHQYVIMqKN.mjs → BT81je-vUgJM770Z.mjs} +1 -13
- package/{cdn/assets/DqsyhZjL6668lj-2.js → browser/esm/BZzMRDxX8W3pn7y9.mjs} +1 -13
- package/{cdn/assets/DMdXQSn8BQv80S2D.js → browser/esm/Bai9y7ZvJNafZXkG.mjs} +1 -20
- package/browser/esm/{DWW9JpOL577P0Jcy.mjs → BfLOMcpVLb78_pS5.mjs} +1 -13
- package/browser/esm/BhUrSLzqiTM2hBhI.mjs +41 -0
- package/browser/esm/Bhhrqsmqp91hJqxG.mjs +12 -0
- package/browser/esm/{DFwSCoA_BwL-cFSU.mjs → BiH9xaAzVGhk_0Qd.mjs} +5 -11
- package/browser/esm/{C2QaAHYQPApwaad4.mjs → Bk0J-4CfOjaMoUjW.mjs} +16 -16
- package/{cdn/assets/NhJZbi8C3XVUAc8E.js → browser/esm/Bn7Uxz6sXrXta-rf.mjs} +2 -8
- package/{cdn/assets/BePglJ-S0ILvScTD.js → browser/esm/BuyGJm1GNrHBofAV.mjs} +3 -27
- package/{cdn/assets/BOwWNl6nqWrCjwTz.js → browser/esm/By7CDTFXYiSCNGfD.mjs} +2 -20
- package/browser/esm/{bPqLZDDwVs0OD6ao.mjs → C0uV2sp4PwEuNpbn.mjs} +1 -13
- package/browser/esm/C70QesBx8A7k3kJu.mjs +10 -0
- package/{cdn/assets/CQRiXHUjvgXcqsqn.js → browser/esm/CBmA6m_MD-T3IhT-.mjs} +1 -19
- package/{cdn/assets/DvNB6TTtIz2XUQBc.js → browser/esm/CJG5baH0nxhKQDUu.mjs} +9 -15
- package/browser/esm/CNM_6Ekj85ca8CMj.mjs +29 -0
- package/{cdn/assets/CJLXmgmnLDb5s_w-.js → browser/esm/COWqzRwRuDK_Bdic.mjs} +8 -14
- package/browser/esm/{Bjq6sqTJnO5JQ8Wr.mjs → CQeoE2w94fROIlBe.mjs} +163 -163
- package/browser/esm/{b7ScV40UOJfStr0I.mjs → CQqb_o_4QHZmqlml.mjs} +1 -13
- package/browser/esm/CRkdWAFwM0QqPkBl.mjs +10 -0
- package/browser/esm/{BS4xQJxUoPB2uTOO.mjs → CUny7mPoyQiagYdd.mjs} +1 -15
- package/{cdn/assets/CHv1wkao8PUWKUlX.js → browser/esm/CXufcwWBSTc0ufnJ.mjs} +6 -12
- package/browser/esm/{szEWbn5GBdocnQ1T.mjs → CbAbkQUb6oMbznUI.mjs} +1 -13
- package/browser/esm/{BMIGpV1vmDYAnh2y.mjs → CdXVTrxlfpdxLJIW.mjs} +1 -13
- package/{cdn/assets/FosDZiBSbbnhyCiQ.js → browser/esm/Cj_b4SBU9OExCjrq.mjs} +12 -16
- package/{cdn/assets/C5Ns6bGEwMDPkrb1.js → browser/esm/Ct4edmJJhlsaXjWT.mjs} +1 -13
- package/{cdn/assets/BNpF33jiY0L0S9qA.js → browser/esm/Cuy_iWJUt-DZPu_m.mjs} +1 -13
- package/{cdn/assets/BGogog2z0PTZAG7d.js → browser/esm/D1i7jbpYgGHdUBHI.mjs} +3 -15
- package/{cdn/assets/DjF2OBfDYQFxEVui.js → browser/esm/DI31ljXqecIkfzC_.mjs} +1 -13
- package/{cdn/assets/DT7CyayY8ioX7Sha.js → browser/esm/DIhOwgfJ-KW70dVG.mjs} +1 -13
- package/{cdn/assets/BiRC8tZJwbmk8f3d.js → browser/esm/DY-wznfI02TzBooB.mjs} +6373 -6290
- package/browser/esm/{DxsknLUxl7cS64AC.mjs → DeFkwgSUXcAL-4MI.mjs} +13 -25
- package/browser/esm/{CGxKOxHG9zvAsucO.mjs → DeRdpzXPAT-NTuGX.mjs} +2 -14
- package/browser/esm/{Bm1CMCHYne8JGtcc.mjs → DjWavLHPu3GKEzTU.mjs} +1 -13
- package/{cdn/assets/CQcz1CFhVvi7XYTe.js → browser/esm/DrCAbGKUtU3dQxf1.mjs} +12 -18
- package/browser/esm/{B7Dc4diRnMvk5Bw0.mjs → DxxYtl4yGitwPRVP.mjs} +1 -13
- package/browser/esm/ESh2pnYgW_hn_Y4g.mjs +24 -0
- package/browser/esm/{O9VBEk6P2oLJL6dW.mjs → ILxB2ghS7La7VXBi.mjs} +8 -31
- package/browser/esm/{C0sVe-PEWwCFhexi.mjs → QuHaOall6bLwODh8.mjs} +2 -8
- package/browser/esm/{BjeTLZKZSVel6sar.mjs → TTzsQrEYYCtjJ_aM.mjs} +1 -13
- package/browser/esm/ZVFMnXncU5v2xxQj.mjs +21 -0
- package/browser/esm/{BGkLdDjZwm1cHdDK.mjs → ZozmNU1fZz0rIwnM.mjs} +7 -77
- package/browser/esm/{CTESqa8FhL4-IVoX.mjs → _JHuVqxt7gNsoWn-.mjs} +6 -32
- package/{cdn/assets/CzI0h5bfXNE3a_vf.js → browser/esm/fwoCYLInyLSFnSZQ.mjs} +1 -7
- package/browser/esm/{CYWWQPcyt3onwMQ7.mjs → gkLlKpramCNBfTs7.mjs} +1 -13
- package/browser/esm/index.mjs +2 -2
- package/browser/esm/{DA306ELRfW0pZ641.mjs → m6vgp5BteyB5mur7.mjs} +1 -13
- package/browser/esm/{BcR5RtSxtQ9hFYXe.mjs → md8aPMcWKEZYJq3K.mjs} +93 -99
- package/browser/esm/{73fDlLTG1MxU9t_W.mjs → uQZVXIPp9jLPfqko.mjs} +4 -28
- package/browser/esm/uxqyDXIaFmgmll6p.mjs +10 -0
- package/{browser/esm/BBepvID5xeEtPxMH.mjs → cdn/assets/7LvL2PwFxo4tRjtC.js} +1 -13
- package/{browser/esm/DZhgMJwKTI6jLENZ.mjs → cdn/assets/B7pTGz0qoUEf5oRZ.js} +8 -14
- package/cdn/assets/{DCwLJ6DEQwqu81uY.js → B9y2dkVuJJxTR6Cu.js} +1 -13
- package/cdn/assets/{CPOD8XRfYO5uptB0.js → BAmbFIYJN2lFgCcK.js} +1 -13
- package/{browser/esm/Dl3dLVEkSq5qsjbB.mjs → cdn/assets/BGTzGVKBHhjSJDwD.js} +1 -13
- package/cdn/assets/BGjWX_kSxlX68bbv.js +10 -0
- package/cdn/assets/{BX_EWzvh4dAJlXyH.js → BHQY35m5ZsNLGx4s.js} +6 -32
- package/{browser/esm/BMAs4k9FWXO5dvzW.mjs → cdn/assets/BIUc5ppdovF97mnI.js} +3 -15
- package/{browser/esm/DqMU7xNG-uKz8luL.mjs → cdn/assets/BR58mmeGHPieLgMd.js} +1 -13
- package/cdn/assets/{WH-1ldsHNlyLM88i.js → BSAajMR-86LIB0Wr.js} +2 -14
- package/cdn/assets/{7CBFN1KHQYVIMqKN.js → BT81je-vUgJM770Z.js} +1 -13
- package/{browser/esm/DYvV-jORGDzD12CG.mjs → cdn/assets/BUBhf8MVk-zzMvIn.js} +2 -14
- package/{browser/esm/Cf5etGQs23n5p9Sh.mjs → cdn/assets/BXoIUikm6MxpGehl.js} +2 -8
- package/{browser/esm/DqsyhZjL6668lj-2.mjs → cdn/assets/BZzMRDxX8W3pn7y9.js} +1 -13
- package/{browser/esm/DMdXQSn8BQv80S2D.mjs → cdn/assets/Bai9y7ZvJNafZXkG.js} +1 -20
- package/cdn/assets/{DWW9JpOL577P0Jcy.js → BfLOMcpVLb78_pS5.js} +1 -13
- package/cdn/assets/Bhhrqsmqp91hJqxG.js +12 -0
- package/{browser/esm/CBQ3k-tR5fIEYHVu.mjs → cdn/assets/BjtNxCPTeumKQNaW.js} +4799 -5022
- package/{browser/esm/Byad5xhs0PG7jQHf.mjs → cdn/assets/BnEAWPtKX5CgVKkp.js} +6 -12
- package/cdn/assets/{pVn5NzoIytNFyxQD.js → BrOXBqkeDvOBK9Fc.js} +93 -99
- package/{browser/esm/D4sGiip0eI_OEO2-.mjs → cdn/assets/Bs1BVe17rehcBW3a.js} +9 -15
- package/cdn/assets/{bPqLZDDwVs0OD6ao.js → C0uV2sp4PwEuNpbn.js} +1 -13
- package/cdn/assets/{BdrLTIp3TGlo7A6b.js → C1-crlw6ThhTeBjo.js} +2 -8
- package/cdn/assets/C70QesBx8A7k3kJu.js +10 -0
- package/{browser/esm/CQRiXHUjvgXcqsqn.mjs → cdn/assets/CBmA6m_MD-T3IhT-.js} +1 -19
- package/cdn/assets/{b7ScV40UOJfStr0I.js → CQqb_o_4QHZmqlml.js} +1 -13
- package/cdn/assets/CRkdWAFwM0QqPkBl.js +10 -0
- package/cdn/assets/{BS4xQJxUoPB2uTOO.js → CUny7mPoyQiagYdd.js} +1 -15
- package/cdn/assets/{szEWbn5GBdocnQ1T.js → CbAbkQUb6oMbznUI.js} +1 -13
- package/cdn/assets/{BMIGpV1vmDYAnh2y.js → CdXVTrxlfpdxLJIW.js} +1 -13
- package/{browser/esm/D8NWmv_D9wzKAPyy.mjs → cdn/assets/CqgEiFyDq2dBshfr.js} +12 -18
- package/cdn/assets/{CTY5L9sNAQjUY-Ur.js → CsNx7C_i1iOqmV3n.js} +2 -2
- package/{browser/esm/C5Ns6bGEwMDPkrb1.mjs → cdn/assets/Ct4edmJJhlsaXjWT.js} +1 -13
- package/{browser/esm/fNYQR3hLd1EqdQI7.mjs → cdn/assets/Cu0RUSPX2LvwFQ6U.js} +12 -16
- package/{browser/esm/BNpF33jiY0L0S9qA.mjs → cdn/assets/Cuy_iWJUt-DZPu_m.js} +1 -13
- package/cdn/assets/CzPqPp4BsLzOooEG.js +29 -0
- package/cdn/assets/{bGV5-YXOtIPSY_A3.js → D0LTvhKDv_AaR2AJ.js} +8 -31
- package/cdn/assets/{CU7RbiHI6vP_IkZQ.js → D0lIj4chgObzK66x.js} +16 -16
- package/{browser/esm/vNwe_TAG7lOlvb-U.mjs → cdn/assets/DGyubEhwYpXIK9_t.js} +3 -27
- package/{browser/esm/DjF2OBfDYQFxEVui.mjs → cdn/assets/DI31ljXqecIkfzC_.js} +1 -13
- package/{browser/esm/DT7CyayY8ioX7Sha.mjs → cdn/assets/DIhOwgfJ-KW70dVG.js} +1 -13
- package/{browser/esm/0WIeROOs0OqKO60b.mjs → cdn/assets/DK-NdTpBC0eQBgZV.js} +2 -8
- package/cdn/assets/{-Rg54EZZ0LSeNnnu.js → DK1bSVHKRKH0lHUk.js} +5 -11
- package/cdn/assets/DLrEolIaGLyUO3dd.js +41 -0
- package/cdn/assets/{B07ocxYdXp3kx7xM.js → DXG92ERB-BJo0KZb.js} +13 -25
- package/cdn/assets/{Bm1CMCHYne8JGtcc.js → DjWavLHPu3GKEzTU.js} +1 -13
- package/{browser/esm/BcGH-rcuIhjijdGF.mjs → cdn/assets/Ds4qf07Q_SexJRqj.js} +2 -20
- package/cdn/assets/{B7Dc4diRnMvk5Bw0.js → DxxYtl4yGitwPRVP.js} +1 -13
- package/cdn/assets/ESh2pnYgW_hn_Y4g.js +24 -0
- package/cdn/assets/{BjeTLZKZSVel6sar.js → TTzsQrEYYCtjJ_aM.js} +1 -13
- package/cdn/assets/ZVFMnXncU5v2xxQj.js +21 -0
- package/cdn/assets/{BGkLdDjZwm1cHdDK.js → ZozmNU1fZz0rIwnM.js} +7 -77
- package/{browser/esm/CzI0h5bfXNE3a_vf.mjs → cdn/assets/fwoCYLInyLSFnSZQ.js} +1 -7
- package/cdn/assets/{CYWWQPcyt3onwMQ7.js → gkLlKpramCNBfTs7.js} +1 -13
- package/cdn/assets/{DA306ELRfW0pZ641.js → m6vgp5BteyB5mur7.js} +1 -13
- package/cdn/assets/{D011zztsQTt5yuEi.js → mGs6ZnI3Kp7ca3V9.js} +64 -64
- package/cdn/assets/uxqyDXIaFmgmll6p.js +10 -0
- package/cdn/assets/{CD4_9iFh0Z3Fu0p-.js → wVem_Fk0Cp-sFmAO.js} +4 -28
- package/cdn/index.js +2 -2
- package/cdn/loader.js +1 -1
- package/package.json +5 -10
- package/browser/cjs/4mMv0yGl8JlJdJwC.cjs +0 -6
- package/browser/cjs/7PkKsSGUkmXs3Wa0.cjs +0 -17
- package/browser/cjs/BC-1f7olfSnvP5t1.cjs +0 -30
- package/browser/cjs/BaqrqLZse7ZhSCSC.cjs +0 -21
- package/browser/cjs/Blg4dgabZNUdqzjE.cjs +0 -30
- package/browser/cjs/BzefugzfsvhQJTxH.cjs +0 -33
- package/browser/cjs/CltDuJ0goStI2Pm-.cjs +0 -16
- package/browser/cjs/D6es3ovzsWf-u49L.cjs +0 -21
- package/browser/cjs/DLAvcQ0_bBi_HAmQ.cjs +0 -21
- package/browser/cjs/DcN2nh7J3o-vc2OM.cjs +0 -17
- package/browser/cjs/Depbq7l9q0Crlmkc.cjs +0 -16
- package/browser/cjs/DkuMXvWgV_H841lu.cjs +0 -6
- package/browser/cjs/kPeW5SGwnyXnv784.cjs +0 -22
- package/browser/cjs/psfoGRmLXEnwqUh-.cjs +0 -17
- package/browser/esm/6KTytng3XdhYD9DA.mjs +0 -40
- package/browser/esm/B727JcKBTuW8MFQk.mjs +0 -24
- package/browser/esm/BUvn3WopVpvmP2LB.mjs +0 -47
- package/browser/esm/BqXk_RFy_zg_6YkR.mjs +0 -22
- package/browser/esm/BvpVD0N8gp_4oS9M.mjs +0 -22
- package/browser/esm/CSZpZ_QTVr58AeSI.mjs +0 -22
- package/browser/esm/CZygL9mkkoKL61_x.mjs +0 -22
- package/browser/esm/DEWWYjysFMNXGJC4.mjs +0 -53
- package/browser/esm/aLA4BFXtLzzuaOYE.mjs +0 -42
- package/cdn/assets/6KTytng3XdhYD9DA.js +0 -40
- package/cdn/assets/B727JcKBTuW8MFQk.js +0 -24
- package/cdn/assets/BqXk_RFy_zg_6YkR.js +0 -22
- package/cdn/assets/BvpVD0N8gp_4oS9M.js +0 -22
- package/cdn/assets/CSZpZ_QTVr58AeSI.js +0 -22
- package/cdn/assets/CZygL9mkkoKL61_x.js +0 -22
- package/cdn/assets/CoCdt4l_VXdRmN-_.js +0 -47
- package/cdn/assets/aLA4BFXtLzzuaOYE.js +0 -42
- package/cdn/assets/gckeYKSVevk93KmG.js +0 -53
|
@@ -1,14 +1,8 @@
|
|
|
1
1
|
import { jsx as o, jsxs as A } from "react/jsx-runtime";
|
|
2
2
|
import { memo as E, useMemo as b, useState as g, useCallback as O } from "react";
|
|
3
|
-
import { a7 as f,
|
|
3
|
+
import { a7 as f, T as S, c as U, F as P, f as D, g as l, b6 as p } from "./BjtNxCPTeumKQNaW.js";
|
|
4
4
|
/**
|
|
5
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.
|
|
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
|
-
/**
|
|
11
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.2.6
|
|
5
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.1
|
|
12
6
|
*
|
|
13
7
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
14
8
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -19,11 +13,11 @@ const V = ["Ok", "Cancel"], J = E((F) => {
|
|
|
19
13
|
n && (typeof n == "string" ? t = n : e = n);
|
|
20
14
|
const C = e ?? s?.()?.getHyperlink();
|
|
21
15
|
return { address: t ?? C?.getAddress() ?? "", textToDisplay: C?.getDisplayText() ?? "" };
|
|
22
|
-
}, [n, s]), [a, M] = g(y.address), [u,
|
|
16
|
+
}, [n, s]), [a, M] = g(y.address), [u, $] = g(() => {
|
|
23
17
|
const e = s?.().toTextUnformatted() ?? H;
|
|
24
18
|
return e === y.address ? "" : e;
|
|
25
|
-
}), [
|
|
26
|
-
|
|
19
|
+
}), [B, k] = g(!1), L = O((e) => {
|
|
20
|
+
$(e.target.value);
|
|
27
21
|
}, []), T = O(async (e, t) => null, []), W = f(async (e) => {
|
|
28
22
|
e !== i && m?.(a === "" ? null : { address: a }, u), x?.(e, e === i, e === c), d?.();
|
|
29
23
|
}, [a, u, m, d, x, c, i]), j = f((e) => {
|
|
@@ -37,7 +31,7 @@ const V = ["Ok", "Cancel"], J = E((F) => {
|
|
|
37
31
|
return t ?? !0;
|
|
38
32
|
}, [r]);
|
|
39
33
|
return o(S, { title: (w ? "Edit" : "Insert") + " Link", options: h, onDone: d, onOption: (e) => W(e), onValidateOption: z, defaultOption: c, cancelOption: i, autoFocusSel: ".autoFocus", sx: { width: "480px", ...I }, ...v, children: A(U, { sx: { paddingTop: (e) => e.spacing(1), paddingBottom: (e) => e.spacing(0), rowGap: (e) => e.spacing(1), display: "flex", flexDirection: "column" }, children: [o(P, { sx: { paddingTop: (e) => e.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: o(D, { label: "Address", placeholder: "Enter a url or cell reference.", onFocus: (e) => {
|
|
40
|
-
|
|
34
|
+
B || e.target?.select(), k(!0);
|
|
41
35
|
}, sx: { "& .MuiFormHelperText-root": { marginTop: (e) => e.spacing(0.5) } }, InputLabelProps: { shrink: !0 }, InputProps: { inputProps: { className: "autoFocus", spellCheck: !1, autoComplete: "off", sx: { paddingTop: (e) => e.spacing(1.25), paddingBottom: (e) => e.spacing(0.75), backgroundImage: `linear-gradient(${l("#fff", p(5))}, ${l("#fff", p(5))})` } } }, value: a, onChange: j, onContextMenu: (e) => {
|
|
42
36
|
e.stopPropagation();
|
|
43
37
|
} }) }), o(P, { sx: { paddingTop: (e) => e.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: o(D, { label: "Display Text", placeholder: a?.startsWith("#") ? a.substring(1) : a, onFocus: () => {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as g, jsxs as se, Fragment as Gt } from "react/jsx-runtime";
|
|
2
2
|
import * as ve from "react";
|
|
3
3
|
import T, { memo as Me, forwardRef as ce, useRef as le, useMemo as te, useState as ae, useEffect as K, useLayoutEffect as dt, useCallback as ne, Component as Kt, createElement as fe, createContext as xn, useContext as yn, isValidElement as wn, cloneElement as vn } from "react";
|
|
4
|
-
import {
|
|
4
|
+
import { E as xt, G as yt, H as Je, I as En, L as Cn, O as Sn, P as Ln, Q as Mn, Z as He, $ as wt, a0 as vt, a1 as Mt, a2 as Dn, a3 as Tn, a4 as Zt, a5 as On, a6 as Wn, a7 as ie, a8 as Qt, a9 as Dt, r as nt, aa as pt, ab as Fn, ac as Nn, l as Tt, ad as ye, ae as Xt, af as An, ag as Jt, ah as Rn, ai as mt, aj as Yt, ak as In, al as Pn, am as Hn, an as jn, ao as zn, ap as _n, aq as qn, c as xe, ar as Bn, J as Vn, as as $n, at as ht, au as Un, av as Gn, aw as Kn, ax as Zn, ay as Qn, az as Xn, A as Jn, aA as ee, aB as We, aC as Ot, aD as Yn, aE as eo, aF as to, aG as no, aH as oo, aI as ro, aJ as ot, aK as Fe, aL as ao, aM as io, aN as so, aO as lo, aP as Wt, aQ as Ft, aR as co, aS as uo, aT as po, aU as mo, aV as _e, aW as ho } from "./BjtNxCPTeumKQNaW.js";
|
|
5
5
|
import { createPortal as fo } from "react-dom";
|
|
6
6
|
/**
|
|
7
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.
|
|
7
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.1
|
|
8
8
|
*
|
|
9
9
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
10
10
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -20,23 +20,23 @@ const ko = He("div", { name: "MuiCollapse", slot: "Root", overridesResolver: (e,
|
|
|
20
20
|
const r = Je({ props: e, name: "MuiCollapse" }), { addEndListener: t, children: n, className: a, collapsedSize: i = "0px", component: l, easing: s, in: c, onEnter: u, onEntered: m, onEntering: k, onExit: y, onExited: b, onExiting: f, orientation: x = "vertical", style: h, timeout: d = En.standard, TransitionComponent: L = Cn, ...w } = r, R = { ...r, orientation: x, collapsedSize: i }, M = ((C) => {
|
|
21
21
|
const { orientation: W, classes: V } = C;
|
|
22
22
|
return vt({ root: ["root", `${W}`], entered: ["entered"], hidden: ["hidden"], wrapper: ["wrapper", `${W}`], wrapperInner: ["wrapperInner", `${W}`] }, go, V);
|
|
23
|
-
})(R), H = Sn(),
|
|
23
|
+
})(R), H = Sn(), q = Ln(), N = ve.useRef(null), z = ve.useRef(), G = typeof i == "number" ? `${i}px` : i, X = x === "horizontal", I = X ? "width" : "height", oe = ve.useRef(null), A = Mn(o, oe), E = (C) => (W) => {
|
|
24
24
|
if (C) {
|
|
25
25
|
const V = oe.current;
|
|
26
26
|
W === void 0 ? C(V) : C(V, W);
|
|
27
27
|
}
|
|
28
|
-
}, S = () => N.current ? N.current[
|
|
29
|
-
N.current &&
|
|
28
|
+
}, S = () => N.current ? N.current[X ? "clientWidth" : "clientHeight"] : 0, P = E((C, W) => {
|
|
29
|
+
N.current && X && (N.current.style.position = "absolute"), C.style[I] = G, u && u(C, W);
|
|
30
30
|
}), D = E((C, W) => {
|
|
31
31
|
const V = S();
|
|
32
|
-
N.current &&
|
|
32
|
+
N.current && X && (N.current.style.position = "");
|
|
33
33
|
const { duration: re, easing: me } = Mt({ style: h, timeout: d, easing: s }, { mode: "enter" });
|
|
34
34
|
if (d === "auto") {
|
|
35
35
|
const ue = H.transitions.getAutoHeightDuration(V);
|
|
36
36
|
C.style.transitionDuration = `${ue}ms`, z.current = ue;
|
|
37
37
|
} else C.style.transitionDuration = typeof re == "string" ? re : `${re}ms`;
|
|
38
38
|
C.style[I] = `${V}px`, C.style.transitionTimingFunction = me, k && k(C, W);
|
|
39
|
-
}),
|
|
39
|
+
}), B = E((C, W) => {
|
|
40
40
|
C.style[I] = "auto", m && m(C, W);
|
|
41
41
|
}), _ = E((C) => {
|
|
42
42
|
C.style[I] = `${S()}px`, y && y(C);
|
|
@@ -48,9 +48,9 @@ const ko = He("div", { name: "MuiCollapse", slot: "Root", overridesResolver: (e,
|
|
|
48
48
|
} else C.style.transitionDuration = typeof V == "string" ? V : `${V}ms`;
|
|
49
49
|
C.style[I] = G, C.style.transitionTimingFunction = re, f && f(C);
|
|
50
50
|
});
|
|
51
|
-
return g(L, { in: c, onEnter: P, onEntered:
|
|
52
|
-
d === "auto" &&
|
|
53
|
-
}, nodeRef: oe, timeout: d === "auto" ? null : d, ...w, children: (C, { ownerState: W, ...V }) => g(ko, { as: l, className: wt(M.root, a, { entered: M.entered, exited: !c && G === "0px" && M.hidden }[C]), style: { [
|
|
51
|
+
return g(L, { in: c, onEnter: P, onEntered: B, onEntering: D, onExit: _, onExited: J, onExiting: j, addEndListener: (C) => {
|
|
52
|
+
d === "auto" && q.start(z.current || 0, C), t && t(oe.current, C);
|
|
53
|
+
}, nodeRef: oe, timeout: d === "auto" ? null : d, ...w, children: (C, { ownerState: W, ...V }) => g(ko, { as: l, className: wt(M.root, a, { entered: M.entered, exited: !c && G === "0px" && M.hidden }[C]), style: { [X ? "minWidth" : "minHeight"]: G, ...h }, ref: A, ownerState: { ...R, state: C }, ...V, children: g(bo, { ownerState: { ...R, state: C }, className: M.wrapper, ref: N, children: g(xo, { ownerState: { ...R, state: C }, className: M.wrapperInner, children: n }) }) }) });
|
|
54
54
|
});
|
|
55
55
|
function yo(e) {
|
|
56
56
|
return xt("MuiCard", e);
|
|
@@ -97,12 +97,6 @@ function To(e) {
|
|
|
97
97
|
return se(ve.Fragment, { children: [gt && g(Do, { enableColorScheme: t }), !gt && !t && g("span", { className: Ze, style: { display: "none" } }), r] });
|
|
98
98
|
}
|
|
99
99
|
const Oo = On(g("path", { d: "M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m3.59-13L12 10.59 8.41 7 7 8.41 10.59 12 7 15.59 8.41 17 12 13.41 15.59 17 17 15.59 13.41 12 17 8.41z" }), "CancelOutlined"), Wo = xn(null), rt = { didCatch: !1, error: null };
|
|
100
|
-
/**
|
|
101
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.2.6
|
|
102
|
-
*
|
|
103
|
-
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
104
|
-
* License: The license can be found at https://www.sheetxl.com/license.
|
|
105
|
-
*/
|
|
106
100
|
class Fo extends Kt {
|
|
107
101
|
constructor(o) {
|
|
108
102
|
super(o), this.resetErrorBoundary = this.resetErrorBoundary.bind(this), this.state = rt;
|
|
@@ -232,21 +226,21 @@ function Rt(e) {
|
|
|
232
226
|
kt.bind({ g: 1 }), kt.bind({ k: 1 });
|
|
233
227
|
var It = function() {
|
|
234
228
|
return "";
|
|
235
|
-
}, rn = T.createContext({ enqueueSnackbar: It, closeSnackbar: It }), at = "@media (max-width:599.95px)",
|
|
229
|
+
}, rn = T.createContext({ enqueueSnackbar: It, closeSnackbar: It }), at = "@media (max-width:599.95px)", Qe = "@media (min-width:600px)", Pt = function(e) {
|
|
236
230
|
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
237
231
|
}, Et = function(e) {
|
|
238
232
|
return "" + Pt(e.vertical) + Pt(e.horizontal);
|
|
239
|
-
},
|
|
233
|
+
}, qe = function(e) {
|
|
240
234
|
return !!e || e === 0;
|
|
241
|
-
},
|
|
235
|
+
}, Be = "unmounted", Ee = "exited", Ce = "entering", Ne = "entered", Ht = "exiting", Ct = function(e) {
|
|
242
236
|
function o(t) {
|
|
243
237
|
var n;
|
|
244
238
|
n = e.call(this, t) || this;
|
|
245
239
|
var a, i = t.appear;
|
|
246
|
-
return n.appearStatus = null, t.in ? i ? (a = Ee, n.appearStatus = Ce) : a = Ne : a = t.unmountOnExit || t.mountOnEnter ?
|
|
240
|
+
return n.appearStatus = null, t.in ? i ? (a = Ee, n.appearStatus = Ce) : a = Ne : a = t.unmountOnExit || t.mountOnEnter ? Be : Ee, n.state = { status: a }, n.nextCallback = null, n;
|
|
247
241
|
}
|
|
248
242
|
on(o, e), o.getDerivedStateFromProps = function(t, n) {
|
|
249
|
-
return t.in && n.status ===
|
|
243
|
+
return t.in && n.status === Be ? { status: Ee } : null;
|
|
250
244
|
};
|
|
251
245
|
var r = o.prototype;
|
|
252
246
|
return r.componentDidMount = function() {
|
|
@@ -264,7 +258,7 @@ var It = function() {
|
|
|
264
258
|
var t = this.props.timeout, n = t, a = t;
|
|
265
259
|
return t != null && typeof t != "number" && typeof t != "string" && (a = t.exit, n = t.enter), { exit: a, enter: n };
|
|
266
260
|
}, r.updateStatus = function(t, n) {
|
|
267
|
-
t === void 0 && (t = !1), n !== null ? (this.cancelNextCallback(), n === Ce ? this.performEnter(t) : this.performExit()) : this.props.unmountOnExit && this.state.status === Ee && this.setState({ status:
|
|
261
|
+
t === void 0 && (t = !1), n !== null ? (this.cancelNextCallback(), n === Ce ? this.performEnter(t) : this.performExit()) : this.props.unmountOnExit && this.state.status === Ee && this.setState({ status: Be });
|
|
268
262
|
}, r.performEnter = function(t) {
|
|
269
263
|
var n = this, a = this.props.enter, i = t, l = this.getTimeouts();
|
|
270
264
|
t || a ? (this.props.onEnter && this.props.onEnter(this.node, i), this.safeSetState({ status: Ce }, function() {
|
|
@@ -304,7 +298,7 @@ var It = function() {
|
|
|
304
298
|
this.node && !a ? (this.props.addEndListener && this.props.addEndListener(this.node, this.nextCallback), t != null && setTimeout(this.nextCallback, t)) : setTimeout(this.nextCallback, 0);
|
|
305
299
|
}, r.render = function() {
|
|
306
300
|
var t = this.state.status;
|
|
307
|
-
if (t ===
|
|
301
|
+
if (t === Be) return null;
|
|
308
302
|
var n = this.props;
|
|
309
303
|
return (0, n.children)(t, je(n, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]));
|
|
310
304
|
}, nn(o, [{ key: "node", get: function() {
|
|
@@ -325,7 +319,7 @@ function bt(e, o) {
|
|
|
325
319
|
};
|
|
326
320
|
}, [e, o]);
|
|
327
321
|
}
|
|
328
|
-
function
|
|
322
|
+
function Xe(e) {
|
|
329
323
|
var o = e.timeout, r = e.style, t = r === void 0 ? {} : r, n = e.mode;
|
|
330
324
|
return { duration: typeof o == "object" ? o[n] || 0 : o, easing: t.transitionTimingFunction, delay: t.transitionDelay };
|
|
331
325
|
}
|
|
@@ -384,9 +378,9 @@ var ln = ce(function(e, o) {
|
|
|
384
378
|
var d = function(w, R) {
|
|
385
379
|
var M;
|
|
386
380
|
function H() {
|
|
387
|
-
for (var
|
|
381
|
+
for (var q = this, N = arguments.length, z = new Array(N), G = 0; G < N; G++) z[G] = arguments[G];
|
|
388
382
|
clearTimeout(M), M = setTimeout(function() {
|
|
389
|
-
w.apply(
|
|
383
|
+
w.apply(q, z);
|
|
390
384
|
}, R);
|
|
391
385
|
}
|
|
392
386
|
return R === void 0 && (R = 166), H.clear = function() {
|
|
@@ -404,10 +398,10 @@ var ln = ce(function(e, o) {
|
|
|
404
398
|
}, [a, h]), fe(Ct, Object.assign({ appear: !0, nodeRef: b, onEnter: function(d, L) {
|
|
405
399
|
Ve(n, d), an(d), c && c(d, L);
|
|
406
400
|
}, onEntered: u, onEntering: function(d) {
|
|
407
|
-
var L =
|
|
401
|
+
var L = Xe({ timeout: s, mode: "enter", style: O({}, i, { transitionTimingFunction: i?.transitionTimingFunction || "cubic-bezier(0.0, 0, 0.2, 1)" }) });
|
|
408
402
|
d.style.webkitTransition = Le("-webkit-transform", L), d.style.transition = Le("transform", L), d.style.webkitTransform = "none", d.style.transform = "none";
|
|
409
403
|
}, onExit: function(d) {
|
|
410
|
-
var L =
|
|
404
|
+
var L = Xe({ timeout: s, mode: "exit", style: O({}, i, { transitionTimingFunction: i?.transitionTimingFunction || "cubic-bezier(0.4, 0, 0.6, 1)" }) });
|
|
411
405
|
d.style.webkitTransition = Le("-webkit-transform", L), d.style.transition = Le("transform", L), Ve(n, d), m && m(d);
|
|
412
406
|
}, onExited: function(d) {
|
|
413
407
|
d.style.webkitTransition = "", d.style.transition = "", k && k(d);
|
|
@@ -448,20 +442,20 @@ var cn = "notistack-CollapseWrapper", Io = function(e) {
|
|
|
448
442
|
}, onEntered: function(c) {
|
|
449
443
|
c.style.height = "auto";
|
|
450
444
|
}, onEntering: function(c) {
|
|
451
|
-
var u = s(), m =
|
|
445
|
+
var u = s(), m = Xe({ timeout: 175, mode: "enter" }), k = m.duration, y = m.easing;
|
|
452
446
|
c.style.transitionDuration = typeof k == "string" ? k : k + "ms", c.style.height = u + "px", c.style.transitionTimingFunction = y || "";
|
|
453
447
|
}, onExit: function(c) {
|
|
454
448
|
c.style.height = s() + "px";
|
|
455
449
|
}, onExited: n, onExiting: function(c) {
|
|
456
450
|
an(c);
|
|
457
|
-
var u =
|
|
451
|
+
var u = Xe({ timeout: 175, mode: "exit" }), m = u.duration, k = u.easing;
|
|
458
452
|
c.style.transitionDuration = typeof m == "string" ? m : m + "ms", c.style.height = it, c.style.transitionTimingFunction = k || "";
|
|
459
453
|
}, nodeRef: i, timeout: 175 }, function(c, u) {
|
|
460
454
|
return fe("div", Object.assign({ ref: l, className: ge(_t.root, c === "entered" && _t.entered), style: O({ pointerEvents: "all", overflow: "hidden", minHeight: it, transition: Le("height") }, c === "entered" && { overflow: "visible" }, {}, c === "exited" && !t && { visibility: "hidden" }) }, u), fe("div", { ref: a, className: cn, style: { display: "flex", width: "100%" } }, r));
|
|
461
455
|
});
|
|
462
456
|
});
|
|
463
457
|
un.displayName = "Collapse";
|
|
464
|
-
var
|
|
458
|
+
var qt = { right: "left", left: "right", bottom: "up", top: "down" }, Po = function(e) {
|
|
465
459
|
return "anchorOrigin" + Et(e);
|
|
466
460
|
}, Ho = function() {
|
|
467
461
|
};
|
|
@@ -475,7 +469,7 @@ function Pe(e, o) {
|
|
|
475
469
|
}, Ho);
|
|
476
470
|
}
|
|
477
471
|
var jo = typeof window < "u" ? dt : K;
|
|
478
|
-
function
|
|
472
|
+
function Bt(e) {
|
|
479
473
|
var o = le(e);
|
|
480
474
|
return jo(function() {
|
|
481
475
|
o.current = e;
|
|
@@ -484,9 +478,9 @@ function qt(e) {
|
|
|
484
478
|
}, []);
|
|
485
479
|
}
|
|
486
480
|
var st, dn = ce(function(e, o) {
|
|
487
|
-
var r = e.children, t = e.className, n = e.autoHideDuration, a = e.disableWindowBlurListener, i = a !== void 0 && a, l = e.onClose, s = e.id, c = e.open, u = e.SnackbarProps, m = u === void 0 ? {} : u, k = le(), y =
|
|
481
|
+
var r = e.children, t = e.className, n = e.autoHideDuration, a = e.disableWindowBlurListener, i = a !== void 0 && a, l = e.onClose, s = e.id, c = e.open, u = e.SnackbarProps, m = u === void 0 ? {} : u, k = le(), y = Bt(function() {
|
|
488
482
|
l && l.apply(void 0, arguments);
|
|
489
|
-
}), b =
|
|
483
|
+
}), b = Bt(function(h) {
|
|
490
484
|
l && h != null && (k.current && clearTimeout(k.current), k.current = setTimeout(function() {
|
|
491
485
|
y(null, "timeout", s);
|
|
492
486
|
}, h));
|
|
@@ -512,7 +506,7 @@ var st, dn = ce(function(e, o) {
|
|
|
512
506
|
} }), r);
|
|
513
507
|
});
|
|
514
508
|
dn.displayName = "Snackbar";
|
|
515
|
-
var zo = ze({ root: (st = { display: "flex", flexWrap: "wrap", flexGrow: 1 }, st[
|
|
509
|
+
var zo = ze({ root: (st = { display: "flex", flexWrap: "wrap", flexGrow: 1 }, st[Qe] = { flexGrow: "initial", minWidth: "288px" }, st) }), St = ce(function(e, o) {
|
|
516
510
|
var r = e.className, t = je(e, ["className"]);
|
|
517
511
|
return T.createElement("div", Object.assign({ ref: o, className: ge(zo.root, r) }, t));
|
|
518
512
|
});
|
|
@@ -522,11 +516,11 @@ var Ae = ze({ root: { backgroundColor: "#313131", fontSize: "0.875rem", lineHeig
|
|
|
522
516
|
return typeof m == "function" && (m = m(r)), T.createElement(St, { ref: o, role: "alert", "aria-describedby": Vt, style: s, className: ge("notistack-MuiContent", Io(i), Ae.root, Ae[i], c, !l && u && Ae.lessPadding) }, T.createElement("div", { id: Vt, className: Ae.message }, l ? null : u, t), m && T.createElement("div", { className: Ae.action }, m));
|
|
523
517
|
});
|
|
524
518
|
pn.displayName = "MaterialDesignContent";
|
|
525
|
-
var Re, lt, Ue, Ge, ct, _o = Me(pn),
|
|
519
|
+
var Re, lt, Ue, Ge, ct, _o = Me(pn), qo = ze({ wrappedRoot: { width: "100%", position: "relative", transform: "translateX(0)", top: 0, right: 0, bottom: 0, left: 0, minWidth: "288px" } }), Bo = function(e) {
|
|
526
520
|
var o = le(), r = ae(!0), t = r[0], n = r[1], a = Pe([e.snack.onClose, e.onClose]), i = ne(function() {
|
|
527
521
|
o.current = setTimeout(function() {
|
|
528
|
-
n(function(
|
|
529
|
-
return !
|
|
522
|
+
n(function(q) {
|
|
523
|
+
return !q;
|
|
530
524
|
});
|
|
531
525
|
}, 125);
|
|
532
526
|
}, []);
|
|
@@ -536,26 +530,26 @@ var Re, lt, Ue, Ge, ct, _o = Me(pn), Bo = ze({ wrappedRoot: { width: "100%", pos
|
|
|
536
530
|
};
|
|
537
531
|
}, []);
|
|
538
532
|
var l, s = e.snack, c = e.classes, u = e.Component, m = u === void 0 ? _o : u, k = te(function() {
|
|
539
|
-
return function(
|
|
540
|
-
|
|
533
|
+
return function(q) {
|
|
534
|
+
q === void 0 && (q = {});
|
|
541
535
|
var N = { containerRoot: !0, containerAnchorOriginTopCenter: !0, containerAnchorOriginBottomCenter: !0, containerAnchorOriginTopRight: !0, containerAnchorOriginBottomRight: !0, containerAnchorOriginTopLeft: !0, containerAnchorOriginBottomLeft: !0 };
|
|
542
|
-
return Object.keys(
|
|
536
|
+
return Object.keys(q).filter(function(z) {
|
|
543
537
|
return !N[z];
|
|
544
538
|
}).reduce(function(z, G) {
|
|
545
|
-
var
|
|
546
|
-
return O({}, z, ((
|
|
539
|
+
var X;
|
|
540
|
+
return O({}, z, ((X = {})[G] = q[G], X));
|
|
547
541
|
}, {});
|
|
548
542
|
}(c);
|
|
549
|
-
}, [c]), y = s.open, b = s.SnackbarProps, f = s.TransitionComponent, x = s.TransitionProps, h = s.transitionDuration, d = s.disableWindowBlurListener, L = s.content, w = je(s, ["open", "SnackbarProps", "TransitionComponent", "TransitionProps", "transitionDuration", "disableWindowBlurListener", "content", "entered", "requestClose", "onEnter", "onEntered", "onExit", "onExited"]), R = O({ direction: (l = w.anchorOrigin, l.horizontal !== "center" ?
|
|
543
|
+
}, [c]), y = s.open, b = s.SnackbarProps, f = s.TransitionComponent, x = s.TransitionProps, h = s.transitionDuration, d = s.disableWindowBlurListener, L = s.content, w = je(s, ["open", "SnackbarProps", "TransitionComponent", "TransitionProps", "transitionDuration", "disableWindowBlurListener", "content", "entered", "requestClose", "onEnter", "onEntered", "onExit", "onExited"]), R = O({ direction: (l = w.anchorOrigin, l.horizontal !== "center" ? qt[l.horizontal] : qt[l.vertical]), timeout: h }, x), M = L;
|
|
550
544
|
typeof M == "function" && (M = M(w.id, w.message));
|
|
551
|
-
var H = ["onEnter", "onEntered", "onExit", "onExited"].reduce(function(
|
|
545
|
+
var H = ["onEnter", "onEntered", "onExit", "onExited"].reduce(function(q, N) {
|
|
552
546
|
var z;
|
|
553
|
-
return O({},
|
|
547
|
+
return O({}, q, ((z = {})[N] = Pe([e.snack[N], e[N]], w.id), z));
|
|
554
548
|
}, {});
|
|
555
|
-
return T.createElement(un, { in: t, onExited: H.onExited }, T.createElement(dn, { open: y, id: w.id, disableWindowBlurListener: d, autoHideDuration: w.autoHideDuration, className: ge(
|
|
549
|
+
return T.createElement(un, { in: t, onExited: H.onExited }, T.createElement(dn, { open: y, id: w.id, disableWindowBlurListener: d, autoHideDuration: w.autoHideDuration, className: ge(qo.wrappedRoot, k.root, k[Po(w.anchorOrigin)]), SnackbarProps: b, onClose: a }, T.createElement(f, Object.assign({}, R, { appear: !0, in: y, onExit: H.onExit, onExited: i, onEnter: H.onEnter, onEntered: Pe([H.onEntered, function() {
|
|
556
550
|
e.snack.requestClose && a(null, "instructed", e.snack.id);
|
|
557
551
|
}], w.id) }), M || T.createElement(m, Object.assign({}, w)))));
|
|
558
|
-
}, Ie = 20, ut = 6, Vo = 2, $t = "." + cn, Ke = ze({ root: (Re = { boxSizing: "border-box", display: "flex", maxHeight: "100%", position: "fixed", zIndex: 1400, height: "auto", width: "auto", transition: Le(["top", "right", "bottom", "left", "max-width"], { duration: 300, easing: "ease" }), pointerEvents: "none" }, Re[$t] = { padding: ut + "px 0px", transition: "padding 300ms ease 0ms" }, Re.maxWidth = "calc(100% - " + 2 * Ie + "px)", Re[at] = { width: "100%", maxWidth: "calc(100% - 32px)" }, Re), rootDense: (lt = {}, lt[$t] = { padding: Vo + "px 0px" }, lt), top: { top: Ie - ut + "px", flexDirection: "column" }, bottom: { bottom: Ie - ut + "px", flexDirection: "column-reverse" }, left: (Ue = { left: Ie + "px" }, Ue[
|
|
552
|
+
}, Ie = 20, ut = 6, Vo = 2, $t = "." + cn, Ke = ze({ root: (Re = { boxSizing: "border-box", display: "flex", maxHeight: "100%", position: "fixed", zIndex: 1400, height: "auto", width: "auto", transition: Le(["top", "right", "bottom", "left", "max-width"], { duration: 300, easing: "ease" }), pointerEvents: "none" }, Re[$t] = { padding: ut + "px 0px", transition: "padding 300ms ease 0ms" }, Re.maxWidth = "calc(100% - " + 2 * Ie + "px)", Re[at] = { width: "100%", maxWidth: "calc(100% - 32px)" }, Re), rootDense: (lt = {}, lt[$t] = { padding: Vo + "px 0px" }, lt), top: { top: Ie - ut + "px", flexDirection: "column" }, bottom: { bottom: Ie - ut + "px", flexDirection: "column-reverse" }, left: (Ue = { left: Ie + "px" }, Ue[Qe] = { alignItems: "flex-start" }, Ue[at] = { left: "16px" }, Ue), right: (Ge = { right: Ie + "px" }, Ge[Qe] = { alignItems: "flex-end" }, Ge[at] = { right: "16px" }, Ge), center: (ct = { left: "50%", transform: "translateX(-50%)" }, ct[Qe] = { alignItems: "center" }, ct) }), $o = Me(function(e) {
|
|
559
553
|
var o = e.classes, r = o === void 0 ? {} : o, t = e.anchorOrigin, n = e.dense, a = e.children, i = ge("notistack-SnackbarContainer", Ke[t.vertical], Ke[t.horizontal], Ke.root, r.containerRoot, r["containerAnchorOrigin" + Et(t)], n && Ke.rootDense);
|
|
560
554
|
return T.createElement("div", { className: i }, a);
|
|
561
555
|
}), Ut = function(e) {
|
|
@@ -565,16 +559,16 @@ var Re, lt, Ue, Ge, ct, _o = Me(pn), Bo = ze({ wrappedRoot: { width: "100%", pos
|
|
|
565
559
|
var t;
|
|
566
560
|
return (t = e.call(this, r) || this).enqueueSnackbar = function(n, a) {
|
|
567
561
|
if (a === void 0 && (a = {}), n == null) throw new Error("enqueueSnackbar called with invalid argument");
|
|
568
|
-
var i = Ut(n) ? n : a, l = Ut(n) ? n.message : n, s = i.key, c = i.preventDuplicate, u = je(i, ["key", "preventDuplicate"]), m =
|
|
562
|
+
var i = Ut(n) ? n : a, l = Ut(n) ? n.message : n, s = i.key, c = i.preventDuplicate, u = je(i, ["key", "preventDuplicate"]), m = qe(s), k = m ? s : (/* @__PURE__ */ new Date()).getTime() + Math.random(), y = /* @__PURE__ */ function(f, x) {
|
|
569
563
|
return function(h, d) {
|
|
570
|
-
return d === void 0 && (d = !1), d ? O({}, be[h], {}, x[h], {}, f[h]) : h === "autoHideDuration" ? (M = f.autoHideDuration, H = x.autoHideDuration, (
|
|
564
|
+
return d === void 0 && (d = !1), d ? O({}, be[h], {}, x[h], {}, f[h]) : h === "autoHideDuration" ? (M = f.autoHideDuration, H = x.autoHideDuration, (q = function(N) {
|
|
571
565
|
return typeof N == "number" || N === null;
|
|
572
|
-
})(M) ? M :
|
|
566
|
+
})(M) ? M : q(H) ? H : be.autoHideDuration) : h === "transitionDuration" ? (L = f.transitionDuration, w = x.transitionDuration, (R = function(N, z) {
|
|
573
567
|
return z.some(function(G) {
|
|
574
568
|
return typeof N === G;
|
|
575
569
|
});
|
|
576
570
|
})(L, ["string", "number"]) ? L : R(L, ["object"]) ? O({}, be.transitionDuration, {}, R(w, ["object"]) && w, {}, L) : R(w, ["string", "number"]) ? w : R(w, ["object"]) ? O({}, be.transitionDuration, {}, w) : be.transitionDuration) : f[h] || x[h] || be[h];
|
|
577
|
-
var L, w, R, M, H,
|
|
571
|
+
var L, w, R, M, H, q;
|
|
578
572
|
};
|
|
579
573
|
}(u, t.props), b = O({ id: k }, u, { message: l, open: !0, entered: !1, requestClose: !1, persist: y("persist"), action: y("action"), content: y("content"), variant: y("variant"), anchorOrigin: y("anchorOrigin"), disableWindowBlurListener: y("disableWindowBlurListener"), autoHideDuration: y("autoHideDuration"), hideIconVariant: y("hideIconVariant"), TransitionComponent: y("TransitionComponent"), transitionDuration: y("transitionDuration"), TransitionProps: y("TransitionProps", !0), iconVariant: y("iconVariant", !0), style: y("style", !0), SnackbarProps: y("SnackbarProps", !0), className: ge(t.props.className, u.className) });
|
|
580
574
|
return b.persist && (b.autoHideDuration = void 0), t.setState(function(f) {
|
|
@@ -604,7 +598,7 @@ var Re, lt, Ue, Ge, ct, _o = Me(pn), Bo = ze({ wrappedRoot: { width: "100%", pos
|
|
|
604
598
|
});
|
|
605
599
|
return O({}, n, { snacks: l });
|
|
606
600
|
}, t.handleEnteredSnack = function(n, a, i) {
|
|
607
|
-
if (!
|
|
601
|
+
if (!qe(i)) throw new Error("handleEnteredSnack Cannot be called with undefined key");
|
|
608
602
|
t.setState(function(l) {
|
|
609
603
|
return { snacks: l.snacks.map(function(s) {
|
|
610
604
|
return s.id === i ? O({}, s, { entered: !0 }) : O({}, s);
|
|
@@ -625,9 +619,9 @@ var Re, lt, Ue, Ge, ct, _o = Me(pn), Bo = ze({ wrappedRoot: { width: "100%", pos
|
|
|
625
619
|
var a = t.state.snacks.find(function(i) {
|
|
626
620
|
return i.id === n;
|
|
627
621
|
});
|
|
628
|
-
|
|
622
|
+
qe(n) && a && a.onClose && a.onClose(null, "instructed", n), t.handleCloseSnack(null, "instructed", n);
|
|
629
623
|
}, t.handleExitedSnack = function(n, a) {
|
|
630
|
-
if (!
|
|
624
|
+
if (!qe(a)) throw new Error("handleExitedSnack Cannot be called with undefined key");
|
|
631
625
|
t.setState(function(i) {
|
|
632
626
|
var l = t.processQueue(O({}, i, { snacks: i.snacks.filter(function(s) {
|
|
633
627
|
return s.id !== a;
|
|
@@ -643,7 +637,7 @@ var Re, lt, Ue, Ge, ct, _o = Me(pn), Bo = ze({ wrappedRoot: { width: "100%", pos
|
|
|
643
637
|
}, {}), y = Object.keys(k).map(function(b) {
|
|
644
638
|
var f = k[b], x = f[0];
|
|
645
639
|
return T.createElement($o, { key: b, dense: s, anchorOrigin: x.anchorOrigin, classes: m }, f.map(function(h) {
|
|
646
|
-
return T.createElement(
|
|
640
|
+
return T.createElement(Bo, { key: h.id, snack: h, classes: m, Component: u[h.variant], onClose: r.handleCloseSnack, onEnter: r.props.onEnter, onExit: r.props.onExit, onExited: Pe([r.handleExitedSnack, r.props.onExited], h.id), onEntered: Pe([r.handleEnteredSnack, r.props.onEntered], h.id) });
|
|
647
641
|
}));
|
|
648
642
|
});
|
|
649
643
|
return T.createElement(rn.Provider, { value: t }, i, a ? fo(y, a) : y);
|
|
@@ -653,7 +647,7 @@ var Re, lt, Ue, Ge, ct, _o = Me(pn), Bo = ze({ wrappedRoot: { width: "100%", pos
|
|
|
653
647
|
}(Kt), mn = function() {
|
|
654
648
|
return yn(rn);
|
|
655
649
|
};
|
|
656
|
-
const pe = { card: "
|
|
650
|
+
const pe = { card: "_card_r6a8n_13", actionRoot: "_actionRoot_r6a8n_21", icons: "_icons_r6a8n_31", expand: "_expand_r6a8n_43", expandOpen: "_expandOpen_r6a8n_57", stackTraceContainer: "_stackTraceContainer_r6a8n_65" }, hn = ce((e, o) => {
|
|
657
651
|
const { id: r, message: t, iconVariant: n, error: a, hideIconVariant: i, ...l } = e, { closeSnackbar: s } = mn(), c = Vn(), [u, m] = ae(!1), k = ne(() => {
|
|
658
652
|
m((f) => !f);
|
|
659
653
|
}, []), y = ne(() => {
|
|
@@ -689,11 +683,11 @@ const Go = g(oo, { label: "SheetXL", description: "Visit me at sheetxl.com.", ch
|
|
|
689
683
|
const { commands: r, workbook: t, logo: n = Go, mainElement: a, showFileMenu: i = !0, showAppearanceMenu: l = !0, ...s } = e, { reference: c } = zn(), [u, { width: m }] = _n(), k = m < 530, y = i ? g(fn, { commands: r, commandHook: { beforeExecute() {
|
|
690
684
|
c?.closeAll();
|
|
691
685
|
}, onError(h, d, L) {
|
|
692
|
-
} } }) : null, b = l ? g(
|
|
686
|
+
} } }) : null, b = l ? g(qn, { commands: r, commandHook: { beforeExecute() {
|
|
693
687
|
c?.closeAll();
|
|
694
688
|
}, onError(h, d, L) {
|
|
695
689
|
} } }) : null, f = te(() => ({ paddingLeft: (h) => h.spacing(1), paddingRight: (h) => h.spacing(1) }), []), x = le(null);
|
|
696
|
-
return g(xe, { ref: Yt([x, u, o]), ...s, children:
|
|
690
|
+
return g(xe, { ref: Yt([x, u, o]), ...s, children: Bn({ commands: r, renderCompact: k, workbook: t, selectWrapper: (h) => se(xe, { sx: { display: "flex", flex: "1", flexDirection: "row", alignItems: "stretch", gap: (d) => d.spacing(1), paddingLeft: (d) => d.spacing(1), paddingRight: (d) => d.spacing(1) }, children: [se(xe, { sx: { display: "flex", flexDirection: "row", alignItems: "center", flex: "1 1 100%", gap: (d) => d.spacing(0.5) }, children: [n, se(xe, { sx: { display: "flex", flexDirection: "row", alignItems: "center", gap: (d) => d.spacing(0.25) }, children: [y, h] })] }), g(xe, { sx: { display: "flex", flexDirection: "row", flex: "1 1 300%", overflow: "hidden", alignItems: "center", justifyContent: "center" }, children: a }), g(xe, { sx: { display: "flex", alignItems: "center", justifyContent: "end", flex: k && !b ? "0 0 auto" : "1 1 100%" }, children: b })] }), selectProps: f, toolbarsProps: { Home: { sx: {} } } }) });
|
|
697
691
|
}));
|
|
698
692
|
gn.displayName = "StandaloneWorkbookToolbar";
|
|
699
693
|
const kn = Me(ce((e, o) => {
|
|
@@ -703,7 +697,7 @@ const kn = Me(ce((e, o) => {
|
|
|
703
697
|
h((A) => ({ ...A, isMounted: !0 }));
|
|
704
698
|
}, []), L = ne(() => {
|
|
705
699
|
h((A) => ({ ...A, isMounted: !1 }));
|
|
706
|
-
}, []), w = Zn(), R =
|
|
700
|
+
}, []), w = Zn(), R = Qn(), M = Xn(), H = le(/* @__PURE__ */ new Set()), q = te(() => {
|
|
707
701
|
const A = (E, S) => {
|
|
708
702
|
if (S?.onceKey) {
|
|
709
703
|
if (H.current.has(S.onceKey)) return;
|
|
@@ -715,40 +709,40 @@ const kn = Me(ce((e, o) => {
|
|
|
715
709
|
};
|
|
716
710
|
return { showMessage: A, showBusy: (E, S) => {
|
|
717
711
|
let P = null;
|
|
718
|
-
const D = new Promise((
|
|
719
|
-
P =
|
|
712
|
+
const D = new Promise((B) => {
|
|
713
|
+
P = B;
|
|
720
714
|
});
|
|
721
|
-
return h((
|
|
722
|
-
const _ = new Map(
|
|
723
|
-
return _.set(D, P), { ...
|
|
715
|
+
return h((B) => {
|
|
716
|
+
const _ = new Map(B.starting);
|
|
717
|
+
return _.set(D, P), { ...B, label: E, starting: _ };
|
|
724
718
|
}), D;
|
|
725
719
|
}, showWindow: (E, S, P) => {
|
|
726
|
-
const D = { ...S, onKeyDown: (
|
|
727
|
-
u?.dispatchToFocusedCommand(
|
|
720
|
+
const D = { ...S, onKeyDown: (B) => {
|
|
721
|
+
u?.dispatchToFocusedCommand(B), B.isDefaultPrevented() || B.isPropagationStopped() || S?.onKeyDown?.(B);
|
|
728
722
|
} };
|
|
729
|
-
return w(E, { sort: () => import("./
|
|
723
|
+
return w(E, { sort: () => import("./C1-crlw6ThhTeBjo.js"), numberFormat: () => import("./B7pTGz0qoUEf5oRZ.js"), hyperlink: () => import("./BnEAWPtKX5CgVKkp.js"), comments: () => import("./BXoIUikm6MxpGehl.js"), find: () => import("./D0lIj4chgObzK66x.js"), tableDetails: () => import("./DK1bSVHKRKH0lHUk.js"), tableNew: () => import("./Bs1BVe17rehcBW3a.js"), namedDetails: () => import("./CqgEiFyDq2dBshfr.js") }[E], D, P);
|
|
730
724
|
}, showOptions: R, showInputOptions: M, showError: (E) => {
|
|
731
725
|
let S, P = _e.Error, D = "Unknown Error";
|
|
732
726
|
typeof E == "string" ? D = E : E instanceof Error && (S = E, E.message && (D = E.message)), E instanceof ho && (P = _e.Info), A(D, { type: P, enqueueProps: { error: S } });
|
|
733
727
|
} };
|
|
734
728
|
}, []), N = ne(() => {
|
|
735
729
|
}, []), z = ((A) => {
|
|
736
|
-
const { workbook: E, setWorkbook: S, importExportDisabled: P, workbookTitle: D = "export", setWorkbookTitle:
|
|
730
|
+
const { workbook: E, setWorkbook: S, importExportDisabled: P, workbookTitle: D = "export", setWorkbookTitle: B, notifier: _, requestWorkbookTitle: J, themeModeOptions: j, undoManager: C, commands: W, onExecute: V } = A, re = ie(j?.onForceModeChange, [j?.onForceModeChange]), me = ie(j?.onForceLightGridChange, [j?.onForceLightGridChange]), ue = ie(j?.onForceLightImagesChange, [j?.onForceLightImagesChange]), Ye = ie(async (F = null, Q = null) => {
|
|
737
731
|
const p = [];
|
|
738
732
|
let v, $ = null, Y = null;
|
|
739
733
|
if (typeof F == "string" ? Y = F : $ = F, v = $ ? F : await Jn.openFileDialog(Y ?? ye.getAllReadFormatTypeAsString().join(",")), !v) return null;
|
|
740
|
-
const he = { source: v, constructorOptions:
|
|
734
|
+
const he = { source: v, constructorOptions: Q, onWarning: (tt) => {
|
|
741
735
|
p.push(tt);
|
|
742
736
|
} }, Oe = await ye.read(he, _);
|
|
743
737
|
return p.length > 0 && (_?.showMessage?.("Some elements were not able to be imported. See console for details."), console.warn(`Import warnings:
|
|
744
738
|
` + p.join(`
|
|
745
739
|
`))), Oe;
|
|
746
|
-
}, [V, _, E]), De = ie(async (F,
|
|
747
|
-
if (!
|
|
740
|
+
}, [V, _, E]), De = ie(async (F, Q, p) => {
|
|
741
|
+
if (!Q && J) {
|
|
748
742
|
const v = await J("Enter Workbook name to " + (p.isDefault ? "Save." : `Export as ${p.description}.`));
|
|
749
743
|
return v !== null && ye.writeFile(v, F, { formatType: p.key });
|
|
750
744
|
}
|
|
751
|
-
return ye.writeFile(
|
|
745
|
+
return ye.writeFile(Q, F, { formatType: p.key });
|
|
752
746
|
}, [_, E, J]), U = ne(() => ({ contains: (F) => !0, focus() {
|
|
753
747
|
} }), []), ke = te(() => {
|
|
754
748
|
const F = [];
|
|
@@ -777,7 +771,7 @@ const kn = Me(ce((e, o) => {
|
|
|
777
771
|
const Lt = Oe.getUsedRange();
|
|
778
772
|
Lt ? await E.getSheets().add({ name: tt, autoSelect: !0 }).getRange({ colStart: 0, rowStart: 0, colEnd: 0, rowEnd: 0 }).copyFrom(Lt) : _?.showMessage("The file appears to be blank.");
|
|
779
773
|
}, `Import CSV '${Y}'`);
|
|
780
|
-
} else E?.close(),
|
|
774
|
+
} else E?.close(), B?.(Y), S(he);
|
|
781
775
|
} catch ($) {
|
|
782
776
|
_?.showError?.($);
|
|
783
777
|
}
|
|
@@ -789,8 +783,8 @@ const kn = Me(ce((e, o) => {
|
|
|
789
783
|
}
|
|
790
784
|
p && console.log("openWorkbookFromUrl", p);
|
|
791
785
|
})));
|
|
792
|
-
let
|
|
793
|
-
return j && (
|
|
786
|
+
let Q = [];
|
|
787
|
+
return j && (Q = [new ee("themeMode", U, { label: "Light/Dark Mode", scopedLabels: { appearance: "Light/Dark Mode" }, description: "Toggle the application styling between light and dark mode." }), new ee("defaultThemeMode", U, { label: "Use System Light/Dark Mode", scopedLabels: { appearance: "Use System Default" }, description: "Use the system settings to determine styling for light and dark mode." }), new ee("forceLightGrid", U, { label: "Force Light Grid", description: "Force the grid to always render in light mode if dark mode is being used. This is ensures that the grid will render the colors as specified in another tools (for example Excel)." }), new ee("forceLightImages", U, { label: "Force Light Images", description: "Force the images to always render in light mode if dark mode is being used. This is ensures that the images will render the colors as specified in another tools (for example Excel). This only has any effect if the grid is in dark mode." })]), [...F, ...Q, new Ot("help", U, { label: "Show Help", description: "Provide Help.", shortcut: { key: "F1" } }, () => {
|
|
794
788
|
}), new Ot("showKeyboardShortcuts", U, { label: "Keyboard Shortcuts", description: "Show keyboard shortcuts.", shortcut: { key: "/", modifiers: [We.Ctrl] } }, () => {
|
|
795
789
|
}), new ee("gotoUrlGithub", U, { label: "Github", description: "Download examples, explore source code, and leave a star." }, () => {
|
|
796
790
|
window?.open("https://github.com/sheetxl/sheetxl");
|
|
@@ -803,10 +797,10 @@ const kn = Me(ce((e, o) => {
|
|
|
803
797
|
})];
|
|
804
798
|
}, [E, D, _, P, j, W, C]), Z = te(() => {
|
|
805
799
|
let F = null;
|
|
806
|
-
return F = W ? W.createChildGroup(U, "standaloneWorkbook", !1) : new
|
|
800
|
+
return F = W ? W.createChildGroup(U, "standaloneWorkbook", !1) : new Xt(U, "standaloneWorkbook"), F.addCommands(ke, !0), F;
|
|
807
801
|
}, [W, ke]);
|
|
808
802
|
Yn({ manager: C, commands: Z, notifier: _ });
|
|
809
|
-
const { themeMode: Te } =
|
|
803
|
+
const { themeMode: Te } = Qt();
|
|
810
804
|
K(() => {
|
|
811
805
|
if (!j || !Z) return;
|
|
812
806
|
const F = j.forceMode === "dark" || !j.forceMode && Te === "dark";
|
|
@@ -822,11 +816,11 @@ const kn = Me(ce((e, o) => {
|
|
|
822
816
|
}, [Te, j, ke]);
|
|
823
817
|
const { showModal: et } = eo();
|
|
824
818
|
return K(() => {
|
|
825
|
-
const F = () => new Promise((
|
|
826
|
-
const v = T.lazy(() => import("./
|
|
819
|
+
const F = () => new Promise((Q, p) => {
|
|
820
|
+
const v = T.lazy(() => import("./mGs6ZnI3Kp7ca3V9.js")), $ = et(v, { title: "Shortcut Keys Reference", commands: Z, onDone: () => {
|
|
827
821
|
$.hide();
|
|
828
822
|
}, TransitionProps: { onExited: () => {
|
|
829
|
-
|
|
823
|
+
Q(!0);
|
|
830
824
|
} } });
|
|
831
825
|
});
|
|
832
826
|
Z.getCommand("showKeyboardShortcuts").updateCallback(() => F()), Z.getCommand("help").updateCallback(() => F());
|
|
@@ -835,40 +829,40 @@ const kn = Me(ce((e, o) => {
|
|
|
835
829
|
n.current ? n.current.requestWorkbookTitle((S, P) => {
|
|
836
830
|
E(S);
|
|
837
831
|
}, { selectAll: !0, requestReason: A }) : E(l);
|
|
838
|
-
}), themeModeOptions: k, undoManager: c, notifier:
|
|
832
|
+
}), themeModeOptions: k, undoManager: c, notifier: q, onExecute: N });
|
|
839
833
|
K(() => {
|
|
840
834
|
x.starting.size <= 0 || !x.isMounted || h((A) => {
|
|
841
835
|
const E = new Map(A.running);
|
|
842
836
|
return A.starting.forEach((S, P) => {
|
|
843
837
|
const D = () => {
|
|
844
|
-
h((
|
|
845
|
-
const _ = new Map(
|
|
846
|
-
return _.delete(P), { ...
|
|
838
|
+
h((B) => {
|
|
839
|
+
const _ = new Map(B.running);
|
|
840
|
+
return _.delete(P), { ...B, running: _ };
|
|
847
841
|
});
|
|
848
842
|
};
|
|
849
843
|
E.set(P, D), S(D);
|
|
850
844
|
}), { ...A, starting: /* @__PURE__ */ new Map(), running: E };
|
|
851
845
|
});
|
|
852
846
|
}, [x]);
|
|
853
|
-
const [G,
|
|
847
|
+
const [G, X] = ae(null);
|
|
854
848
|
K(() => {
|
|
855
|
-
x.starting.size !== 0 || x.running.size !== 0 ?
|
|
849
|
+
x.starting.size !== 0 || x.running.size !== 0 ? X(g(Jt, { icon: g(to, { sx: { transform: "scale(0.7)", marginLeft: "-6px" } }), panel: !0, label: x.label, onMount: d, onUnmount: L, sx: { position: "absolute", left: "0", top: "0", width: "100%", height: "100%", zIndex: "9999" } })) : X(null);
|
|
856
850
|
}, [x.starting, x.running]);
|
|
857
|
-
const I = te(() => g(no, { commands: z, disableHover: !0, sx: { padding: "0" }, buttonProps: { sx: { maxHeight: "22px" } } }), [z]), oe = { notifier:
|
|
851
|
+
const I = te(() => g(no, { commands: z, disableHover: !0, sx: { padding: "0" }, buttonProps: { sx: { maxHeight: "22px" } } }), [z]), oe = { notifier: q, commands: z };
|
|
858
852
|
return r && (oe.statusBarProps = { childrenEnd: I }), se(Gt, { children: [G, s ? T.cloneElement(s, oe) : null] });
|
|
859
853
|
}));
|
|
860
854
|
kn.displayName = "SnackbarAndCommandsWrapper";
|
|
861
855
|
const bn = Me(ce((e, o) => {
|
|
862
|
-
const { className: r, sx: t, style: n, onElementLoad: a, onError: i, undoManager: l, errorPanel: s = Wn, onKeyDown: c, workbook: u, createWorkbookOptions: m, onWorkbookChange: k, logo: y, importExportDisabled: b = !1, themeModeOptions: f, autoFocus: x = !1, commands: h, title: d, onTitleChange: L, titleProps: w, ...R } = e, M = le(null), H = ie(k, [k]),
|
|
856
|
+
const { className: r, sx: t, style: n, onElementLoad: a, onError: i, undoManager: l, errorPanel: s = Wn, onKeyDown: c, workbook: u, createWorkbookOptions: m, onWorkbookChange: k, logo: y, importExportDisabled: b = !1, themeModeOptions: f, autoFocus: x = !1, commands: h, title: d, onTitleChange: L, titleProps: w, ...R } = e, M = le(null), H = ie(k, [k]), q = ie(L ?? w?.onTitleChange, [L ?? w?.onTitleChange]), N = w?.placeHolder ?? "Untitled", z = f?.forceMode, { themeMode: G, source: X } = Qt({ mode: z }), I = te(() => ({ ...f, light: Dt(!1, nt.deepMerge(f?.theme ?? {}, f?.light ?? {})), dark: Dt(!0, nt.deepMerge(f?.theme ?? {}, f?.dark ?? {})) }), [f]), oe = G === pt.Dark, [A, E] = ae(null);
|
|
863
857
|
K(() => {
|
|
864
858
|
E(l ?? new Fn());
|
|
865
859
|
}, [l]);
|
|
866
|
-
const [S, P] = ae(null), [D,
|
|
860
|
+
const [S, P] = ae(null), [D, B] = ae(null), _ = Nn();
|
|
867
861
|
dt(() => {
|
|
868
862
|
if (!u || Object.keys(u).length === 0 && !nt.isPromiseLike(u)) {
|
|
869
863
|
const p = { theme: _.getDefaultTheme(), ...m };
|
|
870
|
-
|
|
871
|
-
} else
|
|
864
|
+
B(new Tt(p));
|
|
865
|
+
} else B(u);
|
|
872
866
|
}, [u]), dt(() => {
|
|
873
867
|
if (D) {
|
|
874
868
|
if (D instanceof Tt) return P({ workbook: D }), void (u !== D && H?.(D));
|
|
@@ -899,12 +893,12 @@ const bn = Me(ce((e, o) => {
|
|
|
899
893
|
K(() => {
|
|
900
894
|
V(d ?? w?.title ?? "");
|
|
901
895
|
}, [d ?? w?.title]), K(() => {
|
|
902
|
-
|
|
896
|
+
q?.(W);
|
|
903
897
|
}, [W]);
|
|
904
898
|
const [re, me] = ae(null), ue = te(() => {
|
|
905
899
|
const p = () => ({ contains: (v) => !0, focus() {
|
|
906
900
|
} });
|
|
907
|
-
return h ? h.createChildGroup(p, "application", !1) : new
|
|
901
|
+
return h ? h.createChildGroup(p, "application", !1) : new Xt(p, "application");
|
|
908
902
|
}, [h]), Ye = ie((p) => {
|
|
909
903
|
me(p.source.getViewportElement()), j(p), ue.activate("sheet"), a?.(p);
|
|
910
904
|
}, [ue]);
|
|
@@ -931,15 +925,15 @@ const bn = Me(ce((e, o) => {
|
|
|
931
925
|
c?.(Y);
|
|
932
926
|
}, gridTheme: v, headersTheme: p, forceLightImages: $, className: mt(r, "sheetxl-workbook"), onContextMenu: (Y) => Y.preventDefault(), ...R }, "WorkbookElement");
|
|
933
927
|
}, [S, W, A, ke, I, R, U, Te]);
|
|
934
|
-
let
|
|
928
|
+
let Q = g(Fo, { fallbackRender: Z, children: g(Uo, { maxSnack: 3, domRoot: re, anchorOrigin: { vertical: "bottom", horizontal: "right" }, autoHideDuration: 3500, onClose: (p, v, $) => {
|
|
935
929
|
M.current?.focus();
|
|
936
|
-
}, Components: { error: hn }, iconVariant: { success: g(Hn, { style: { marginRight: "8px" }, children: g("path", { d: "M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z" }) }), error: g(Pn, { style: { marginRight: "8px" } }) }, children: g(In, { children: g(kn, { workbook: S?.workbook, setWorkbook:
|
|
937
|
-
return I && (
|
|
930
|
+
}, Components: { error: hn }, iconVariant: { success: g(Hn, { style: { marginRight: "8px" }, children: g("path", { d: "M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z" }) }), error: g(Pn, { style: { marginRight: "8px" } }) }, children: g(In, { children: g(kn, { workbook: S?.workbook, setWorkbook: B, importExportDisabled: b, titlePlaceHolder: N, titleWorkbook: W, setWorkbookTitle: V, refWorkbookTitle: De, commands: ue, undoManager: A, themeModeOptions: I, children: F }) }) }) });
|
|
931
|
+
return I && (Q = se(jn, { theme: oe ? I.dark : I.light, children: [I.cssBaseline ? g(To, {}) : null, Q] })), Q;
|
|
938
932
|
}));
|
|
939
933
|
bn.displayName = "EagerStandaloneWorkbook";
|
|
940
934
|
const Ko = Object.freeze(Object.defineProperty({ __proto__: null, default: bn }, Symbol.toStringTag, { value: "Module" })), Yo = Object.freeze(Object.defineProperty({ __proto__: null, E: Ko, c: ge }, Symbol.toStringTag, { value: "Module" }));
|
|
941
935
|
export {
|
|
942
|
-
Yo as B,
|
|
943
936
|
ft as C,
|
|
944
|
-
ge as f
|
|
937
|
+
ge as f,
|
|
938
|
+
Yo as s
|
|
945
939
|
};
|