@sheetxl/studio-vanilla 0.4.14 → 0.4.16
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/browser/cjs/{rIOsSIPwxoXlIawS.cjs → 2z48hC9Lgl_XFiR8.cjs} +1 -1
- package/browser/cjs/{CTuM_aZX8wZICUe_.cjs → 527-wdwXfhlxqigX.cjs} +1 -1
- package/browser/cjs/{CE5U7gB5L-PE17gV.cjs → 8iv5H_Fv58DG9HON.cjs} +2 -2
- package/browser/cjs/{D6uIvR-6Y690_Em2.cjs → 9FygAwnwGtj51rKR.cjs} +6 -6
- package/browser/cjs/{10IK8MFijJb-yvV6.cjs → B3FNhqGnpjO3bF1J.cjs} +3 -3
- package/browser/cjs/{Cuq8Nim-ol5Gdehe.cjs → B8PZzwEzGHdX2D1A.cjs} +1 -1
- package/browser/cjs/{CJZtyunL_qaXFylY.cjs → BDDHipsk8fDa6KzG.cjs} +2 -2
- package/browser/cjs/{dbUUj8LyIitsdYpk.cjs → BDiEyTUhhZ0E4TEV.cjs} +1 -1
- package/browser/cjs/{D4vbOk4hD8-b-c10.cjs → BEuLDE1KvRWWFlHK.cjs} +1 -1
- package/browser/cjs/{D5YUIQeOcujtq6XS.cjs → BNiCvN3wpcuvRJDa.cjs} +3 -3
- package/browser/cjs/{D4NcrJlqcLExwCNT.cjs → BOjR7WcuPM7CqQ61.cjs} +4 -4
- package/browser/cjs/{DPbzY4ppgKPrdbWc.cjs → BOwI__-2C4zHdb02.cjs} +1 -1
- package/browser/cjs/{C_mbaid3FQ52usBI.cjs → BPEiEiVl_5BbvIuk.cjs} +2 -2
- package/browser/cjs/BbEY710KwFxGt-nx.cjs +364 -0
- package/browser/cjs/{yBSdtSSuNERefFhR.cjs → BmHg0RJIh8fueA1b.cjs} +5 -5
- package/browser/cjs/{Cl0XSnWVDoaHTIlF.cjs → BqhC-4_bAAdxiG10.cjs} +1 -1
- package/browser/cjs/{Bm9fNNMIOLIwq-94.cjs → BxKEYXw6K_cJQVyL.cjs} +1 -1
- package/browser/cjs/{DCd5OZXj2IRbxEF2.cjs → By5yxiEAIP-yru4E.cjs} +1 -1
- package/browser/cjs/{xDqIifM_--oXscCV.cjs → C7E9AxEhqGR5hjuF.cjs} +2 -2
- package/browser/cjs/{D_7RtbQABH1zdcjr.cjs → C9e_gEokumOSJEQE.cjs} +1 -1
- package/browser/cjs/{DlnKrZRyxBfbqaTi.cjs → CDqIINbe_kUDiu3S.cjs} +2 -2
- package/browser/cjs/{DtpB0PMEtamaB-Hv.cjs → CFTqCNfD7KPB5D2t.cjs} +1 -1
- package/browser/cjs/{CWW_yQpIswo7DEAT.cjs → CGMIvqM1bAMiSrpL.cjs} +1 -1
- package/browser/cjs/{C0ySf2emOB0Mslc-.cjs → CIXCQscBfq2DpLXc.cjs} +1 -1
- package/browser/cjs/{AnJTeEGq7VP4T1b7.cjs → CPcLGP9ohAPquX_P.cjs} +2 -2
- package/browser/cjs/{DWzQm8Q32qNP7qKL.cjs → CSZA-xOWQAk2bPo6.cjs} +1 -1
- package/browser/cjs/{BtiY-n4sGy6WaqNg.cjs → C_rz86UiiqTsrxS_.cjs} +4 -4
- package/browser/cjs/{DL4HgriZ3TY2K-QP.cjs → CgMWE9E3Hpz-3OT8.cjs} +1 -1
- package/browser/cjs/{CpRfx14is2_4Wgp3.cjs → CitQIsT3Zql2d5Vu.cjs} +2 -2
- package/browser/cjs/{BU5k1OZewc-Z-kR9.cjs → Cn5jJo4kHJGk3N7P.cjs} +2 -2
- package/browser/cjs/{DxBLU16_E62Umowp.cjs → CpZL07iGOPpGjHM-.cjs} +1 -1
- package/browser/cjs/{VU_KaqGTjvnisS9e.cjs → CuF5AeSoTUyseIPf.cjs} +1 -1
- package/browser/cjs/{DBNXGIWfZmgb_sHL.cjs → CxILJtUEEXVq79VE.cjs} +2 -2
- package/browser/cjs/CxRW9GVbe6zNc--Y.cjs +19 -0
- package/browser/cjs/{CYLnJHryQcQO4XoG.cjs → D33_ArewzvVZrJs5.cjs} +1 -1
- package/browser/cjs/{sMBG5eQ3-iacLXUm.cjs → D5txayapke7SLywP.cjs} +2 -2
- package/browser/cjs/{CNcsGELwCAV-A5oH.cjs → D96Vd9ML6lEp2yNc.cjs} +2 -2
- package/browser/cjs/{Cj_1qUo5cZ3FnOpK.cjs → DAuVoLkfGR03lbJL.cjs} +2 -2
- package/browser/cjs/{Dv8SE05ABKNLPY6A.cjs → DFforK4FhDLP9UUc.cjs} +1 -1
- package/browser/cjs/{DdTcwutSPJMeCIv3.cjs → DHmgJr7cr-5rmqrC.cjs} +2 -2
- package/browser/cjs/{BH3MYcOF7rxLX3Bk.cjs → DM17oP0REi-dMzRh.cjs} +1 -1
- package/browser/cjs/DXEqr7NfFBng4qp7.cjs +6 -0
- package/browser/cjs/{tShlMZrIxsGZSeHX.cjs → Dd8-Ixj1ckpU18vR.cjs} +4 -4
- package/browser/cjs/{D_Q0s9KLnWHwKxTK.cjs → DduMAzPLo62DsEIv.cjs} +1 -1
- package/browser/cjs/{DIYOARVcGtRjKpjZ.cjs → Dh4QAMYLxa-nm3b1.cjs} +1 -1
- package/browser/cjs/{eZGLUWbfY3JdZRM5.cjs → DsMEB6CCQ9XeKx0W.cjs} +1 -1
- package/browser/cjs/{BxgDhdrrKrJMEaXd.cjs → DuV6aIKntSIlFlmP.cjs} +1 -1
- package/browser/cjs/{CpIIsygD5mnJyl47.cjs → DvOP3Sz4bOvvB51y.cjs} +4 -4
- package/browser/cjs/{CnLdhURNkVXo_0Eg.cjs → DwBWZnrTp5UcLnAE.cjs} +1 -1
- package/browser/cjs/{BzT1y15V6Zs7c_zX.cjs → EEd3txVEsMOS25kJ.cjs} +1 -1
- package/browser/cjs/{CHd9vauNLHnOLflj.cjs → MDi4HLKgwSCu6fyR.cjs} +1 -1
- package/browser/cjs/{mBk4Z4LZ65b3f58_.cjs → OLQtPYBVwDJUVBX4.cjs} +2 -2
- package/browser/cjs/{BlwK-VslgEVH2cgX.cjs → SKR8zQ_6EFd3QuXc.cjs} +1 -1
- package/browser/cjs/{bS_BOH9cvVCFy36v.cjs → hosXXKv9_3bMMvPn.cjs} +1 -1
- package/browser/cjs/index.cjs +2 -2
- package/browser/cjs/{DAbScbuk-sjZXMIC.cjs → isuVkDnj-ShYtgWE.cjs} +1 -1
- package/browser/cjs/{DFNisISrsMnZrV4B.cjs → kbVoRE7sSKze9AGf.cjs} +1 -1
- package/browser/cjs/tHZy6iR0C8BJ7ao2.cjs +14 -0
- package/{cdn/assets/DwRHGEuscm3FvnkM.js → browser/esm/3LUy01lLdiAyu4L8.mjs} +1 -1
- package/{cdn/assets/BHy77Km4i4t5U7ka.js → browser/esm/6dBbccz3d0UDCmId.mjs} +1 -1
- package/browser/esm/{Pkb6GWdyZdze_XAw.mjs → 7zmlmdpV46wT0D_8.mjs} +2 -2
- package/browser/esm/{uuCmCmYQQXgwyRSd.mjs → AbVL9q93k2OjvNMS.mjs} +1 -1
- package/{cdn/assets/DXIWAG-DUKHzNlRl.js → browser/esm/B0pXYR2QIxH_yyCd.mjs} +1 -1
- package/browser/esm/{HyTvrvH0vItPFnFG.mjs → BDpFOktVt42TQpcN.mjs} +4 -4
- package/browser/esm/BFGNX8BKN0YukAfE.mjs +49894 -0
- package/browser/esm/{C5GgK_mW25DZYw-I.mjs → BIPFm0SUVy_xxuHx.mjs} +2 -2
- package/browser/esm/{QZikWr_NQfcFWCBV.mjs → BJqUNdAULMuqfoNS.mjs} +7 -7
- package/{cdn/assets/CcARDY0PFSWkqsG9.js → browser/esm/BMcBO1IQO3eNx3D8.mjs} +1 -1
- package/browser/esm/{BP6hA-zc0dMuMOIA.mjs → BQEjN2Ny_1RjJRRG.mjs} +2 -2
- package/browser/esm/{BfFDvyaRcdKS0wPD.mjs → BcnRo-70LV3dW2F8.mjs} +1 -1
- package/browser/esm/{BXABqQEa6kQQcjmt.mjs → BegJ95DwnjizqVvZ.mjs} +2 -2
- package/{cdn/assets/73gcCsbqgbW3KIoA.js → browser/esm/BphrEGpsPHge38iD.mjs} +1 -1
- package/{cdn/assets/BZxAttR2mi9td3k1.js → browser/esm/Bxh-G6GIKLTgdQSU.mjs} +1 -1
- package/{cdn/assets/B8TNpfJ8ymQcPriE.js → browser/esm/CEn_nscDh2qWGWkf.mjs} +1 -1
- package/browser/esm/{DCyJNVtrh6kEt73Q.mjs → CHQ2p5JXvpblW5Mr.mjs} +9 -9
- package/{cdn/assets/DaUJajqmQYuM0Gew.js → browser/esm/CJ2VfoplPO3aOFIS.mjs} +58 -61
- package/browser/esm/{DgO85Q5iHe-ZmvtQ.mjs → CM9SSh6zB4mXFuiK.mjs} +1 -1
- package/browser/esm/{4eRu4yzXkvCBip8J.mjs → CNNQFdovfxmKTLqX.mjs} +1 -1
- package/{cdn/assets/BF5nlSYZ38RJ0dPX.js → browser/esm/CPzGoc5ivg6BGW5V.mjs} +1 -1
- package/browser/esm/{jkSJc6Omxbf-rPQY.mjs → CQ8SVGYEop2G_eer.mjs} +1 -1
- package/browser/esm/{DR7oVoNSe0FFWHOr.mjs → CR-h2aljy2JwwOmN.mjs} +18 -18
- package/browser/esm/CYW0tIypPPivmPYC.mjs +39 -0
- package/browser/esm/{CHjb5a2xwEWs4RgS.mjs → Cyu6G1cmylOjsfqu.mjs} +114 -115
- package/browser/esm/{CeF0ZRfeSy83i80_.mjs → CzcfqZRl8TT7_AA8.mjs} +4 -4
- package/browser/esm/{DHPHhaCxihdR9Hl6.mjs → D0HahgSi_BcRitIR.mjs} +1 -1
- package/browser/esm/D6rU9DOoEw4c1pUc.mjs +6800 -0
- package/browser/esm/{aLv-xujBO4X6ilhV.mjs → DDaraJFhLInV4GMJ.mjs} +1 -1
- package/{cdn/assets/DVRMAeHUj0-TY-vK.js → browser/esm/DE8w2hURn5qI8AKp.mjs} +1 -1
- package/browser/esm/{BdFNxdtES-3_yQ9R.mjs → DGk-Ommc_o1xYlw-.mjs} +1 -1
- package/browser/esm/{D9eVsUckA6bWBHni.mjs → DHwgBfUeVdooDLZu.mjs} +1 -1
- package/browser/esm/DNmLY801ferFO5Uk.mjs +20 -0
- package/{cdn/assets/Dft4BSeY0bp0A6z0.js → browser/esm/DPRM8hNlNCr3-T5W.mjs} +1 -1
- package/browser/esm/{Crza3kRJdEVylOfk.mjs → DSgo1psKmx1fs5GP.mjs} +2 -2
- package/browser/esm/{BPen6C7JE2sWVgdi.mjs → D_SW7AJGTxZZhEhN.mjs} +1 -1
- package/browser/esm/{DFwxjsVr4xKLPTGf.mjs → Dcro_uZlLqe8StKp.mjs} +2 -2
- package/browser/esm/{BvYUsRgBXLSuaQ-S.mjs → Ddco0tbzyQ9zfvAR.mjs} +1 -1
- package/browser/esm/{wV8riZWKJE7AoKQk.mjs → DhtBGaXEjpSpeQD2.mjs} +1 -1
- package/browser/esm/{wxvli1IH1NkfqE6-.mjs → DmeMooAnq1CVPk8s.mjs} +1 -1
- package/{cdn/assets/B_pEA9HeXKvEOCdS.js → browser/esm/DnDDStLug64LBv-3.mjs} +1 -1
- package/browser/esm/{c9fba0RuWGogsH0X.mjs → Dp4czjfjfaFH_dEJ.mjs} +7 -7
- package/browser/esm/DqP6X7y9HwGY7VjP.mjs +47 -0
- package/{cdn/assets/BzE-61bmpRQzEVPt.js → browser/esm/DrT_zO6kt_14yLBZ.mjs} +1 -1
- package/browser/esm/{CJiHNujoVUdO_G7X.mjs → DuJX6KV57WopKk9q.mjs} +12 -12
- package/{cdn/assets/B4ji-HZTY0uvH8r7.js → browser/esm/DwUhQt38jwVGevvy.mjs} +1 -1
- package/{cdn/assets/Cmtx4dAVZrwq5cVO.js → browser/esm/IF2d9xZoQ-KwvBKh.mjs} +1 -1
- package/browser/esm/{DAscSzG63-mM5p50.mjs → MXO5bWHStxysNVsg.mjs} +11 -11
- package/{cdn/assets/CN73n4VDayKh_l1J.js → browser/esm/PzttknQejK9onrpS.mjs} +1 -1
- package/browser/esm/{CITPwlsNzJvv551I.mjs → TM6K2pq3Dcv9IkuU.mjs} +1 -1
- package/browser/esm/{DQLk_UmdpJBt-zZi.mjs → XMnVd_ZFLys2rjY7.mjs} +198 -198
- package/{cdn/assets/DzyNujjbHLXo9UmH.js → browser/esm/iYM_upfOH9oA049a.mjs} +6 -6
- package/browser/esm/index.mjs +3 -3
- package/browser/esm/{D3L89e08b7ewR6mt.mjs → kXeRQRPLeKsnYZWE.mjs} +8 -8
- package/{cdn/assets/BIUVt79NHXdZx2Dz.js → browser/esm/mMMnv_KWRsRe75FG.mjs} +1 -1
- package/browser/esm/{C28AZ0Rwo79iGg0v.mjs → q0yHqQ5GBeLgY-gd.mjs} +1 -1
- package/browser/esm/{BBDu-GNDE7ZA-1sJ.mjs → tBO69ofaNapzt3L4.mjs} +16 -16
- package/browser/esm/{D4G17ip9xxOX5jDd.mjs → wt2Q3yM9_nGedjrL.mjs} +88 -88
- package/{browser/esm/DwRHGEuscm3FvnkM.mjs → cdn/assets/3LUy01lLdiAyu4L8.js} +1 -1
- package/{browser/esm/BHy77Km4i4t5U7ka.mjs → cdn/assets/6dBbccz3d0UDCmId.js} +1 -1
- package/cdn/assets/A8eAz4-PTuL72Hin.js +58 -0
- package/cdn/assets/{uuCmCmYQQXgwyRSd.js → AbVL9q93k2OjvNMS.js} +1 -1
- package/{browser/esm/DXIWAG-DUKHzNlRl.mjs → cdn/assets/B0pXYR2QIxH_yyCd.js} +1 -1
- package/cdn/assets/{C3W0xsNrt-Was9g-.js → B3boJwK33Z6RqPqk.js} +2 -2
- package/cdn/assets/{DZNoPrlxULASVlOi.js → B6sQ-SvjZgQQji5w.js} +11 -11
- package/cdn/assets/{BEfetwH6zTr6B51I.js → BHIQzrKfKNFUBjR9.js} +844 -843
- package/{browser/esm/CcARDY0PFSWkqsG9.mjs → cdn/assets/BMcBO1IQO3eNx3D8.js} +1 -1
- package/cdn/assets/{BfFDvyaRcdKS0wPD.js → BcnRo-70LV3dW2F8.js} +1 -1
- package/cdn/assets/Ber1-vHUp5sOqFS7.js +390 -0
- package/cdn/assets/{DBpku3D2DSTmW4II.js → Bj-ZU4RLivZywsqT.js} +2 -2
- package/cdn/assets/Bjv69OWhcDpPMIFg.js +49722 -0
- package/{browser/esm/73gcCsbqgbW3KIoA.mjs → cdn/assets/BphrEGpsPHge38iD.js} +1 -1
- package/cdn/assets/Bt3GnfDq2p0GHntP.js +23 -0
- package/{browser/esm/w3TGaFTjdsc4XTcz.mjs → cdn/assets/BuEJOKp47YUO-SKV.js} +73 -73
- package/{browser/esm/BZxAttR2mi9td3k1.mjs → cdn/assets/Bxh-G6GIKLTgdQSU.js} +1 -1
- package/cdn/assets/{C8rQWD8C7ccUHNZL.js → BzJDFxx0-f3ofc07.js} +3 -3
- package/cdn/assets/{DEOxG6u6itV8bGym.js → Bzmc21lMGO689Gtm.js} +849 -849
- package/cdn/assets/{Cdx6LrqtHZKbwl63.js → CBZHbb2bqbziokhD.js} +42 -42
- package/cdn/assets/{Zi3E5Kzxw2FPtLVL.js → CCyqNw5QYfgHLK1w.js} +2 -2
- package/{browser/esm/B8TNpfJ8ymQcPriE.mjs → cdn/assets/CEn_nscDh2qWGWkf.js} +1 -1
- package/cdn/assets/{B3TPDOzYf_VRBIr6.js → CK4HRZFkpjItprps.js} +422 -422
- package/cdn/assets/{DgO85Q5iHe-ZmvtQ.js → CM9SSh6zB4mXFuiK.js} +1 -1
- package/cdn/assets/{4eRu4yzXkvCBip8J.js → CNNQFdovfxmKTLqX.js} +1 -1
- package/{browser/esm/BF5nlSYZ38RJ0dPX.mjs → cdn/assets/CPzGoc5ivg6BGW5V.js} +1 -1
- package/cdn/assets/{jkSJc6Omxbf-rPQY.js → CQ8SVGYEop2G_eer.js} +1 -1
- package/cdn/assets/{DnWjhq4ZlgIuFcii.js → CQeDWMJhZEMvysUh.js} +5 -5
- package/cdn/assets/{CWkF-50YF43t7qge.js → CWgLS_jMj5DNrggO.js} +4 -4
- package/cdn/assets/Ch5JO1OSaLcDuY1a.js +22 -0
- package/cdn/assets/{DHPHhaCxihdR9Hl6.js → D0HahgSi_BcRitIR.js} +1 -1
- package/cdn/assets/{B7Ky6m4VWP8vxhPt.js → D5-W8jVCdTuhwV4I.js} +18 -18
- package/cdn/assets/{aLv-xujBO4X6ilhV.js → DDaraJFhLInV4GMJ.js} +1 -1
- package/{browser/esm/DVRMAeHUj0-TY-vK.mjs → cdn/assets/DE8w2hURn5qI8AKp.js} +1 -1
- package/cdn/assets/{BdFNxdtES-3_yQ9R.js → DGk-Ommc_o1xYlw-.js} +1 -1
- package/cdn/assets/{D9eVsUckA6bWBHni.js → DHwgBfUeVdooDLZu.js} +1 -1
- package/cdn/assets/DI9WWYlw4XtaKxJ9.js +149 -0
- package/cdn/assets/DN9WPHXLnxyrdP62.js +49 -0
- package/cdn/assets/DOoM8QGUlLAU2iqo.js +43 -0
- package/{browser/esm/Dft4BSeY0bp0A6z0.mjs → cdn/assets/DPRM8hNlNCr3-T5W.js} +1 -1
- package/cdn/assets/DSfbEMCq8-gDBtv_.js +46 -0
- package/cdn/assets/{ChB-XZno7w9v221u.js → DZyvhfi33GteuMM3.js} +4 -4
- package/cdn/assets/{BPen6C7JE2sWVgdi.js → D_SW7AJGTxZZhEhN.js} +1 -1
- package/cdn/assets/{BvYUsRgBXLSuaQ-S.js → Ddco0tbzyQ9zfvAR.js} +1 -1
- package/cdn/assets/{0fI22OQK5IczUH6s.js → DdjDNvycthoT3npY.js} +2 -2
- package/cdn/assets/{wV8riZWKJE7AoKQk.js → DhtBGaXEjpSpeQD2.js} +1 -1
- package/cdn/assets/{wxvli1IH1NkfqE6-.js → DmeMooAnq1CVPk8s.js} +1 -1
- package/{browser/esm/B_pEA9HeXKvEOCdS.mjs → cdn/assets/DnDDStLug64LBv-3.js} +1 -1
- package/{browser/esm/BzE-61bmpRQzEVPt.mjs → cdn/assets/DrT_zO6kt_14yLBZ.js} +1 -1
- package/{browser/esm/B4ji-HZTY0uvH8r7.mjs → cdn/assets/DwUhQt38jwVGevvy.js} +1 -1
- package/{browser/esm/Cmtx4dAVZrwq5cVO.mjs → cdn/assets/IF2d9xZoQ-KwvBKh.js} +1 -1
- package/{browser/esm/CN73n4VDayKh_l1J.mjs → cdn/assets/PzttknQejK9onrpS.js} +1 -1
- package/cdn/assets/{CITPwlsNzJvv551I.js → TM6K2pq3Dcv9IkuU.js} +1 -1
- package/cdn/assets/UYuqeLmzk4CZISVt.js +50 -0
- package/{browser/esm/BIUVt79NHXdZx2Dz.mjs → cdn/assets/mMMnv_KWRsRe75FG.js} +1 -1
- package/cdn/assets/{C28AZ0Rwo79iGg0v.js → q0yHqQ5GBeLgY-gd.js} +1 -1
- package/cdn/assets/sZe9Sjpn-rLq53T6.js +41 -0
- package/cdn/index.js +73 -73
- package/cdn/loader.js +1 -1
- package/package.json +3 -3
- package/browser/cjs/1bCMnueqxHW3rn0c.cjs +0 -6
- package/browser/cjs/BQ4QeJYaIhLaInyR.cjs +0 -6
- package/browser/cjs/CJoJ19i1z94kndlS.cjs +0 -19
- package/browser/cjs/CXIHULOe7x4DYKXw.cjs +0 -12
- package/browser/cjs/DQGdVVTxixgptLdj.cjs +0 -366
- package/browser/esm/B383N9irNfyfYC2l.mjs +0 -20
- package/browser/esm/BUqd1uVUNoWmepd2.mjs +0 -148
- package/browser/esm/BbW_1O3cEhZ4aSgS.mjs +0 -55785
- package/browser/esm/Bqqcb80cNalBs-sB.mjs +0 -939
- package/browser/esm/BrEcIDq0-c5AiQEf.mjs +0 -21
- package/browser/esm/DKbJ-iVPuUbr3iZ_.mjs +0 -47
- package/browser/esm/DbZJQpjZJIcz2ypV.mjs +0 -39
- package/cdn/assets/5HYy7pIZxQRDUQl-.js +0 -50
- package/cdn/assets/6oc_f4xkoSmftsRd.js +0 -22
- package/cdn/assets/B4HW_cy7gbE01jar.js +0 -390
- package/cdn/assets/BS1p7DgoyO-WkvB8.js +0 -41
- package/cdn/assets/BiKaXKU3o287mgkN.js +0 -12
- package/cdn/assets/C0yI-QYraFhnJUdD.js +0 -49
- package/cdn/assets/C3FTuqvfGalOVHql.js +0 -43
- package/cdn/assets/CaKPs_ILqLIWfUUN.js +0 -23
- package/cdn/assets/CkY7wM_4OGwZvJ4f.js +0 -942
- package/cdn/assets/CrBywNOOyPHSBoTT.js +0 -27
- package/cdn/assets/DMWARnjq06oQnfrL.js +0 -58
- package/cdn/assets/DRa6yXWuTlAjuaKT.js +0 -90
- package/cdn/assets/DYowHOSLHcADsXuK.js +0 -27
- package/cdn/assets/DcdQwhlGoI1knRUy.js +0 -46
- package/cdn/assets/Dm0hrXCbV7DITOhi.js +0 -36
- package/cdn/assets/EYTSqAG9YOdb1vKx.js +0 -48823
- package/cdn/assets/Ux2jUY_EwSsYBCov.js +0 -241
- package/cdn/assets/XoKiuP2ZFq0cNGkH.js +0 -6481
|
@@ -1,939 +0,0 @@
|
|
|
1
|
-
import { s as ut, u as dt, r as s, w as $e, x as sn, z as ln, A as cn, C as un, H as dn, j as p, J as Te, O as pt, S as mt, U as bt, V as pn, X as mn, Z as Ft, _ as fn, a0 as hn, a1 as ne, a2 as Ht, a3 as xt, l as Ke, a4 as nt, a5 as gn, a6 as kn, $ as yt, a7 as pe, a8 as zt, a9 as bn, B as se, aa as _t, ab as xn, ac as ot, ad as qt, ae as yn, af as wn, ag as vn, ah as En, ai as Cn, aj as Sn, ak as Dn, al as jn, y as L, am as Mn, e as Tn, an as On, ao as rt, ap as Ln, aq as Wn, ar as Rn, as as An, at as Nn, au as In, p as Pn, av as ee, aw as ve, ax as wt, ay as Fn, az as Hn, aA as zn, aB as _n, aC as qn, aD as Bn, aE as Ge, aF as Ee, aG as Vn, aH as $n, aI as Un, aJ as Kn, aK as vt, aL as Et, aM as Gn, aN as Zn, aO as Xn, aP as Qn, aQ as Ae, aR as Jn } from "./BbW_1O3cEhZ4aSgS.mjs";
|
|
2
|
-
/**
|
|
3
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.14
|
|
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
|
-
function Yn(e) {
|
|
9
|
-
return ut("MuiCollapse", e);
|
|
10
|
-
}
|
|
11
|
-
dt("MuiCollapse", ["root", "horizontal", "vertical", "entered", "hidden", "wrapper", "wrapperInner"]);
|
|
12
|
-
const eo = Te("div", { name: "MuiCollapse", slot: "Root", overridesResolver: (e, o) => {
|
|
13
|
-
const { ownerState: r } = e;
|
|
14
|
-
return [o.root, o[r.orientation], r.state === "entered" && o.entered, r.state === "exited" && !r.in && r.collapsedSize === "0px" && o.hidden];
|
|
15
|
-
} })(pn(({ theme: e }) => ({ height: 0, overflow: "hidden", transition: e.transitions.create("height"), variants: [{ props: { orientation: "horizontal" }, style: { height: "auto", width: 0, transition: e.transitions.create("width") } }, { props: { state: "entered" }, style: { height: "auto", overflow: "visible" } }, { props: { state: "entered", orientation: "horizontal" }, style: { width: "auto" } }, { props: ({ ownerState: o }) => o.state === "exited" && !o.in && o.collapsedSize === "0px", style: { visibility: "hidden" } }] }))), to = Te("div", { name: "MuiCollapse", slot: "Wrapper", overridesResolver: (e, o) => o.wrapper })({ display: "flex", width: "100%", variants: [{ props: { orientation: "horizontal" }, style: { width: "auto", height: "100%" } }] }), no = Te("div", { name: "MuiCollapse", slot: "WrapperInner", overridesResolver: (e, o) => o.wrapperInner })({ width: "100%", variants: [{ props: { orientation: "horizontal" }, style: { width: "auto", height: "100%" } }] }), at = s.forwardRef(function(e, o) {
|
|
16
|
-
const r = $e({ props: e, name: "MuiCollapse" }), { addEndListener: t, children: n, className: a, collapsedSize: i = "0px", component: c, easing: l, in: u, onEnter: d, onEntered: f, onEntering: b, onExit: v, onExited: x, onExiting: k, orientation: w = "vertical", style: g, timeout: m = sn.standard, TransitionComponent: D = ln, ...E } = r, R = { ...r, orientation: w, collapsedSize: i }, j = ((C) => {
|
|
17
|
-
const { orientation: V, classes: $ } = C;
|
|
18
|
-
return mt({ root: ["root", `${V}`], entered: ["entered"], hidden: ["hidden"], wrapper: ["wrapper", `${V}`], wrapperInner: ["wrapperInner", `${V}`] }, Yn, $);
|
|
19
|
-
})(R), H = cn(), q = un(), I = s.useRef(null), B = s.useRef(), G = typeof i == "number" ? `${i}px` : i, Q = w === "horizontal", ae = Q ? "width" : "height", P = s.useRef(null), U = dn(o, P), y = (C) => (V) => {
|
|
20
|
-
if (C) {
|
|
21
|
-
const $ = P.current;
|
|
22
|
-
V === void 0 ? C($) : C($, V);
|
|
23
|
-
}
|
|
24
|
-
}, T = () => I.current ? I.current[Q ? "clientWidth" : "clientHeight"] : 0, M = y((C, V) => {
|
|
25
|
-
I.current && Q && (I.current.style.position = "absolute"), C.style[ae] = G, d && d(C, V);
|
|
26
|
-
}), F = y((C, V) => {
|
|
27
|
-
const $ = T();
|
|
28
|
-
I.current && Q && (I.current.style.position = "");
|
|
29
|
-
const { duration: J, easing: ie } = bt({ style: g, timeout: m, easing: l }, { mode: "enter" });
|
|
30
|
-
if (m === "auto") {
|
|
31
|
-
const fe = H.transitions.getAutoHeightDuration($);
|
|
32
|
-
C.style.transitionDuration = `${fe}ms`, B.current = fe;
|
|
33
|
-
} else C.style.transitionDuration = typeof J == "string" ? J : `${J}ms`;
|
|
34
|
-
C.style[ae] = `${$}px`, C.style.transitionTimingFunction = ie, b && b(C, V);
|
|
35
|
-
}), z = y((C, V) => {
|
|
36
|
-
C.style[ae] = "auto", f && f(C, V);
|
|
37
|
-
}), _ = y((C) => {
|
|
38
|
-
C.style[ae] = `${T()}px`, v && v(C);
|
|
39
|
-
}), ce = y(x), A = y((C) => {
|
|
40
|
-
const V = T(), { duration: $, easing: J } = bt({ style: g, timeout: m, easing: l }, { mode: "exit" });
|
|
41
|
-
if (m === "auto") {
|
|
42
|
-
const ie = H.transitions.getAutoHeightDuration(V);
|
|
43
|
-
C.style.transitionDuration = `${ie}ms`, B.current = ie;
|
|
44
|
-
} else C.style.transitionDuration = typeof $ == "string" ? $ : `${$}ms`;
|
|
45
|
-
C.style[ae] = G, C.style.transitionTimingFunction = J, k && k(C);
|
|
46
|
-
});
|
|
47
|
-
return p.jsx(D, { in: u, onEnter: M, onEntered: z, onEntering: F, onExit: _, onExited: ce, onExiting: A, addEndListener: (C) => {
|
|
48
|
-
m === "auto" && q.start(B.current || 0, C), t && t(P.current, C);
|
|
49
|
-
}, nodeRef: P, timeout: m === "auto" ? null : m, ...E, children: (C, { ownerState: V, ...$ }) => p.jsx(eo, { as: c, className: pt(j.root, a, { entered: j.entered, exited: !u && G === "0px" && j.hidden }[C]), style: { [Q ? "minWidth" : "minHeight"]: G, ...g }, ref: U, ownerState: { ...R, state: C }, ...$, children: p.jsx(to, { ownerState: { ...R, state: C }, className: j.wrapper, ref: I, children: p.jsx(no, { ownerState: { ...R, state: C }, className: j.wrapperInner, children: n }) }) }) });
|
|
50
|
-
});
|
|
51
|
-
function oo(e) {
|
|
52
|
-
return ut("MuiCard", e);
|
|
53
|
-
}
|
|
54
|
-
at && (at.muiSupportAuto = !0), dt("MuiCard", ["root"]);
|
|
55
|
-
const ro = Te(mn, { name: "MuiCard", slot: "Root", overridesResolver: (e, o) => o.root })({ overflow: "hidden" }), ao = s.forwardRef(function(e, o) {
|
|
56
|
-
const r = $e({ props: e, name: "MuiCard" }), { className: t, raised: n = !1, ...a } = r, i = { ...r, raised: n }, c = ((l) => {
|
|
57
|
-
const { classes: u } = l;
|
|
58
|
-
return mt({ root: ["root"] }, oo, u);
|
|
59
|
-
})(i);
|
|
60
|
-
return p.jsx(ro, { className: pt(c.root, t), elevation: n ? 8 : void 0, ref: o, ownerState: i, ...a });
|
|
61
|
-
});
|
|
62
|
-
function io(e) {
|
|
63
|
-
return ut("MuiCardActions", e);
|
|
64
|
-
}
|
|
65
|
-
dt("MuiCardActions", ["root", "spacing"]);
|
|
66
|
-
const so = Te("div", { name: "MuiCardActions", slot: "Root", overridesResolver: (e, o) => {
|
|
67
|
-
const { ownerState: r } = e;
|
|
68
|
-
return [o.root, !r.disableSpacing && o.spacing];
|
|
69
|
-
} })({ display: "flex", alignItems: "center", padding: 8, variants: [{ props: { disableSpacing: !1 }, style: { "& > :not(style) ~ :not(style)": { marginLeft: 8 } } }] }), lo = s.forwardRef(function(e, o) {
|
|
70
|
-
const r = $e({ props: e, name: "MuiCardActions" }), { disableSpacing: t = !1, className: n, ...a } = r, i = { ...r, disableSpacing: t }, c = ((l) => {
|
|
71
|
-
const { classes: u, disableSpacing: d } = l;
|
|
72
|
-
return mt({ root: ["root", !d && "spacing"] }, io, u);
|
|
73
|
-
})(i);
|
|
74
|
-
return p.jsx(so, { className: pt(c.root, n), ownerState: i, ref: o, ...a });
|
|
75
|
-
}), it = typeof Ft({}) == "function", co = (e, o) => ({ WebkitFontSmoothing: "antialiased", MozOsxFontSmoothing: "grayscale", boxSizing: "border-box", WebkitTextSizeAdjust: "100%", ...o && !e.vars && { colorScheme: e.palette.mode } }), uo = (e) => ({ color: (e.vars || e).palette.text.primary, ...e.typography.body1, backgroundColor: (e.vars || e).palette.background.default, "@media print": { backgroundColor: (e.vars || e).palette.common.white } }), Ct = (e, o = !1) => {
|
|
76
|
-
const r = {};
|
|
77
|
-
o && e.colorSchemes && typeof e.getColorSchemeSelector == "function" && Object.entries(e.colorSchemes).forEach(([a, i]) => {
|
|
78
|
-
const c = e.getColorSchemeSelector(a);
|
|
79
|
-
c.startsWith("@") ? r[c] = { ":root": { colorScheme: i.palette?.mode } } : r[c.replace(/\s*&/, "")] = { colorScheme: i.palette?.mode };
|
|
80
|
-
});
|
|
81
|
-
let t = { html: co(e, o), "*, *::before, *::after": { boxSizing: "inherit" }, "strong, b": { fontWeight: e.typography.fontWeightBold }, body: { margin: 0, ...uo(e), "&::backdrop": { backgroundColor: (e.vars || e).palette.background.default } }, ...r };
|
|
82
|
-
const n = e.components?.MuiCssBaseline?.styleOverrides;
|
|
83
|
-
return n && (t = [t, n]), t;
|
|
84
|
-
}, qe = "mui-ecs", po = Ft(it ? ({ theme: e, enableColorScheme: o }) => Ct(e, o) : ({ theme: e }) => ((o) => {
|
|
85
|
-
const r = Ct(o, !1), t = Array.isArray(r) ? r[0] : r;
|
|
86
|
-
return !o.vars && t && (t.html[`:root:has(${qe})`] = { colorScheme: o.palette.mode }), o.colorSchemes && Object.entries(o.colorSchemes).forEach(([n, a]) => {
|
|
87
|
-
const i = o.getColorSchemeSelector(n);
|
|
88
|
-
i.startsWith("@") ? t[i] = { [`:root:not(:has(.${qe}))`]: { colorScheme: a.palette?.mode } } : t[i.replace(/\s*&/, "")] = { [`&:not(:has(.${qe}))`]: { colorScheme: a.palette?.mode } };
|
|
89
|
-
}), r;
|
|
90
|
-
})(e));
|
|
91
|
-
function mo(e) {
|
|
92
|
-
const o = $e({ props: e, name: "MuiCssBaseline" }), { children: r, enableColorScheme: t = !1 } = o;
|
|
93
|
-
return p.jsxs(s.Fragment, { children: [it && p.jsx(po, { enableColorScheme: t }), !it && !t && p.jsx("span", { className: qe, style: { display: "none" } }), r] });
|
|
94
|
-
}
|
|
95
|
-
const fo = fn(p.jsx("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"), ho = s.createContext(null), Ze = { didCatch: !1, error: null };
|
|
96
|
-
class go extends s.Component {
|
|
97
|
-
constructor(o) {
|
|
98
|
-
super(o), this.resetErrorBoundary = this.resetErrorBoundary.bind(this), this.state = Ze;
|
|
99
|
-
}
|
|
100
|
-
static getDerivedStateFromError(o) {
|
|
101
|
-
return { didCatch: !0, error: o };
|
|
102
|
-
}
|
|
103
|
-
resetErrorBoundary() {
|
|
104
|
-
const { error: o } = this.state;
|
|
105
|
-
if (o !== null) {
|
|
106
|
-
for (var r, t, n = arguments.length, a = new Array(n), i = 0; i < n; i++) a[i] = arguments[i];
|
|
107
|
-
(r = (t = this.props).onReset) === null || r === void 0 || r.call(t, { args: a, reason: "imperative-api" }), this.setState(Ze);
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
componentDidCatch(o, r) {
|
|
111
|
-
var t, n;
|
|
112
|
-
(t = (n = this.props).onError) === null || t === void 0 || t.call(n, o, r);
|
|
113
|
-
}
|
|
114
|
-
componentDidUpdate(o, r) {
|
|
115
|
-
const { didCatch: t } = this.state, { resetKeys: n } = this.props;
|
|
116
|
-
var a, i;
|
|
117
|
-
t && r.error !== null && function() {
|
|
118
|
-
let c = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], l = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
|
|
119
|
-
return c.length !== l.length || c.some((u, d) => !Object.is(u, l[d]));
|
|
120
|
-
}(o.resetKeys, n) && ((a = (i = this.props).onReset) === null || a === void 0 || a.call(i, { next: n, prev: o.resetKeys, reason: "keys" }), this.setState(Ze));
|
|
121
|
-
}
|
|
122
|
-
render() {
|
|
123
|
-
const { children: o, fallbackRender: r, FallbackComponent: t, fallback: n } = this.props, { didCatch: a, error: i } = this.state;
|
|
124
|
-
let c = o;
|
|
125
|
-
if (a) {
|
|
126
|
-
const l = { error: i, resetErrorBoundary: this.resetErrorBoundary };
|
|
127
|
-
if (typeof r == "function") c = r(l);
|
|
128
|
-
else if (t) c = s.createElement(t, l);
|
|
129
|
-
else {
|
|
130
|
-
if (n === void 0) throw i;
|
|
131
|
-
c = n;
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
return s.createElement(ho.Provider, { value: { didCatch: a, error: i, resetErrorBoundary: this.resetErrorBoundary } }, c);
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
function Bt(e) {
|
|
138
|
-
var o, r, t = "";
|
|
139
|
-
if (typeof e == "string" || typeof e == "number") t += e;
|
|
140
|
-
else if (typeof e == "object") if (Array.isArray(e)) for (o = 0; o < e.length; o++) e[o] && (r = Bt(e[o])) && (t && (t += " "), t += r);
|
|
141
|
-
else for (o in e) e[o] && (t && (t += " "), t += o);
|
|
142
|
-
return t;
|
|
143
|
-
}
|
|
144
|
-
function le() {
|
|
145
|
-
for (var e, o, r = 0, t = ""; r < arguments.length; ) (e = arguments[r++]) && (o = Bt(e)) && (t && (t += " "), t += o);
|
|
146
|
-
return t;
|
|
147
|
-
}
|
|
148
|
-
let ko = { data: "" }, bo = /(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g, xo = /\/\*[^]*?\*\/| +/g, St = /\n+/g, me = (e, o) => {
|
|
149
|
-
let r = "", t = "", n = "";
|
|
150
|
-
for (let a in e) {
|
|
151
|
-
let i = e[a];
|
|
152
|
-
a[0] == "@" ? a[1] == "i" ? r = a + " " + i + ";" : t += a[1] == "f" ? me(i, a) : a + "{" + me(i, a[1] == "k" ? "" : o) + "}" : typeof i == "object" ? t += me(i, o ? o.replace(/([^,])+/g, (c) => a.replace(/([^,]*:\S+\([^)]*\))|([^,])+/g, (l) => /&/.test(l) ? l.replace(/&/g, c) : c ? c + " " + l : l)) : a) : i != null && (a = /^--/.test(a) ? a : a.replace(/[A-Z]/g, "-$&").toLowerCase(), n += me.p ? me.p(a, i) : a + ":" + i + ";");
|
|
153
|
-
}
|
|
154
|
-
return r + (o && n ? o + "{" + n + "}" : n) + t;
|
|
155
|
-
}, oe = {}, Vt = (e) => {
|
|
156
|
-
if (typeof e == "object") {
|
|
157
|
-
let o = "";
|
|
158
|
-
for (let r in e) o += r + Vt(e[r]);
|
|
159
|
-
return o;
|
|
160
|
-
}
|
|
161
|
-
return e;
|
|
162
|
-
};
|
|
163
|
-
function st(e) {
|
|
164
|
-
let o = this || {}, r = e.call ? e(o.p) : e;
|
|
165
|
-
return ((i, c, l, u, d) => {
|
|
166
|
-
let f = Vt(i), b = oe[f] || (oe[f] = ((m) => {
|
|
167
|
-
let D = 0, E = 11;
|
|
168
|
-
for (; D < m.length; ) E = 101 * E + m.charCodeAt(D++) >>> 0;
|
|
169
|
-
return "go" + E;
|
|
170
|
-
})(f));
|
|
171
|
-
if (!oe[b]) {
|
|
172
|
-
let m = f !== i ? i : ((D) => {
|
|
173
|
-
let E, R, j = [{}];
|
|
174
|
-
for (; E = bo.exec(D.replace(xo, "")); ) E[4] ? j.shift() : E[3] ? (R = E[3].replace(St, " ").trim(), j.unshift(j[0][R] = j[0][R] || {})) : j[0][E[1]] = E[2].replace(St, " ").trim();
|
|
175
|
-
return j[0];
|
|
176
|
-
})(i);
|
|
177
|
-
oe[b] = me(d ? { ["@keyframes " + b]: m } : m, l ? "" : "." + b);
|
|
178
|
-
}
|
|
179
|
-
let v = l && oe.g ? oe.g : null;
|
|
180
|
-
return l && (oe.g = oe[b]), x = oe[b], k = c, w = u, (g = v) ? k.data = k.data.replace(g, x) : k.data.indexOf(x) === -1 && (k.data = w ? x + k.data : k.data + x), b;
|
|
181
|
-
var x, k, w, g;
|
|
182
|
-
})(r.unshift ? r.raw ? (t = r, n = [].slice.call(arguments, 1), a = o.p, t.reduce((i, c, l) => {
|
|
183
|
-
let u = n[l];
|
|
184
|
-
if (u && u.call) {
|
|
185
|
-
let d = u(a), f = d && d.props && d.props.className || /^go/.test(d) && d;
|
|
186
|
-
u = f ? "." + f : d && typeof d == "object" ? d.props ? "" : me(d, "") : d === !1 ? "" : d;
|
|
187
|
-
}
|
|
188
|
-
return i + c + (u ?? "");
|
|
189
|
-
}, "")) : r.reduce((i, c) => Object.assign(i, c && c.call ? c(o.p) : c), {}) : r, ((i) => typeof window == "object" ? ((i ? i.querySelector("#_goober") : window._goober) || Object.assign((i || document.head).appendChild(document.createElement("style")), { innerHTML: " ", id: "_goober" })).firstChild : i || ko)(o.target), o.g, o.o, o.k);
|
|
190
|
-
var t, n, a;
|
|
191
|
-
}
|
|
192
|
-
function $t(e, o, r) {
|
|
193
|
-
return o && function(t, n) {
|
|
194
|
-
for (var a = 0; a < n.length; a++) {
|
|
195
|
-
var i = n[a];
|
|
196
|
-
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i);
|
|
197
|
-
}
|
|
198
|
-
}(e.prototype, o), e;
|
|
199
|
-
}
|
|
200
|
-
function W() {
|
|
201
|
-
return W = Object.assign || function(e) {
|
|
202
|
-
for (var o = 1; o < arguments.length; o++) {
|
|
203
|
-
var r = arguments[o];
|
|
204
|
-
for (var t in r) Object.prototype.hasOwnProperty.call(r, t) && (e[t] = r[t]);
|
|
205
|
-
}
|
|
206
|
-
return e;
|
|
207
|
-
}, W.apply(this, arguments);
|
|
208
|
-
}
|
|
209
|
-
function Ut(e, o) {
|
|
210
|
-
e.prototype = Object.create(o.prototype), e.prototype.constructor = e, e.__proto__ = o;
|
|
211
|
-
}
|
|
212
|
-
function Oe(e, o) {
|
|
213
|
-
if (e == null) return {};
|
|
214
|
-
var r, t, n = {}, a = Object.keys(e);
|
|
215
|
-
for (t = 0; t < a.length; t++) r = a[t], o.indexOf(r) >= 0 || (n[r] = e[r]);
|
|
216
|
-
return n;
|
|
217
|
-
}
|
|
218
|
-
function Dt(e) {
|
|
219
|
-
if (e === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
220
|
-
return e;
|
|
221
|
-
}
|
|
222
|
-
st.bind({ g: 1 }), st.bind({ k: 1 });
|
|
223
|
-
var jt = function() {
|
|
224
|
-
return "";
|
|
225
|
-
}, Kt = L.createContext({ enqueueSnackbar: jt, closeSnackbar: jt }), Xe = "@media (max-width:599.95px)", Be = "@media (min-width:600px)", Mt = function(e) {
|
|
226
|
-
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
227
|
-
}, ft = function(e) {
|
|
228
|
-
return "" + Mt(e.vertical) + Mt(e.horizontal);
|
|
229
|
-
}, Ne = function(e) {
|
|
230
|
-
return !!e || e === 0;
|
|
231
|
-
}, Ie = "unmounted", ge = "exited", ke = "entering", Ce = "entered", Tt = "exiting", ht = function(e) {
|
|
232
|
-
function o(t) {
|
|
233
|
-
var n;
|
|
234
|
-
n = e.call(this, t) || this;
|
|
235
|
-
var a, i = t.appear;
|
|
236
|
-
return n.appearStatus = null, t.in ? i ? (a = ge, n.appearStatus = ke) : a = Ce : a = t.unmountOnExit || t.mountOnEnter ? Ie : ge, n.state = { status: a }, n.nextCallback = null, n;
|
|
237
|
-
}
|
|
238
|
-
Ut(o, e), o.getDerivedStateFromProps = function(t, n) {
|
|
239
|
-
return t.in && n.status === Ie ? { status: ge } : null;
|
|
240
|
-
};
|
|
241
|
-
var r = o.prototype;
|
|
242
|
-
return r.componentDidMount = function() {
|
|
243
|
-
this.updateStatus(!0, this.appearStatus);
|
|
244
|
-
}, r.componentDidUpdate = function(t) {
|
|
245
|
-
var n = null;
|
|
246
|
-
if (t !== this.props) {
|
|
247
|
-
var a = this.state.status;
|
|
248
|
-
this.props.in ? a !== ke && a !== Ce && (n = ke) : a !== ke && a !== Ce || (n = Tt);
|
|
249
|
-
}
|
|
250
|
-
this.updateStatus(!1, n);
|
|
251
|
-
}, r.componentWillUnmount = function() {
|
|
252
|
-
this.cancelNextCallback();
|
|
253
|
-
}, r.getTimeouts = function() {
|
|
254
|
-
var t = this.props.timeout, n = t, a = t;
|
|
255
|
-
return t != null && typeof t != "number" && typeof t != "string" && (a = t.exit, n = t.enter), { exit: a, enter: n };
|
|
256
|
-
}, r.updateStatus = function(t, n) {
|
|
257
|
-
t === void 0 && (t = !1), n !== null ? (this.cancelNextCallback(), n === ke ? this.performEnter(t) : this.performExit()) : this.props.unmountOnExit && this.state.status === ge && this.setState({ status: Ie });
|
|
258
|
-
}, r.performEnter = function(t) {
|
|
259
|
-
var n = this, a = this.props.enter, i = t, c = this.getTimeouts();
|
|
260
|
-
t || a ? (this.props.onEnter && this.props.onEnter(this.node, i), this.safeSetState({ status: ke }, function() {
|
|
261
|
-
n.props.onEntering && n.props.onEntering(n.node, i), n.onTransitionEnd(c.enter, function() {
|
|
262
|
-
n.safeSetState({ status: Ce }, function() {
|
|
263
|
-
n.props.onEntered && n.props.onEntered(n.node, i);
|
|
264
|
-
});
|
|
265
|
-
});
|
|
266
|
-
})) : this.safeSetState({ status: Ce }, function() {
|
|
267
|
-
n.props.onEntered && n.props.onEntered(n.node, i);
|
|
268
|
-
});
|
|
269
|
-
}, r.performExit = function() {
|
|
270
|
-
var t = this, n = this.props.exit, a = this.getTimeouts();
|
|
271
|
-
n ? (this.props.onExit && this.props.onExit(this.node), this.safeSetState({ status: Tt }, function() {
|
|
272
|
-
t.props.onExiting && t.props.onExiting(t.node), t.onTransitionEnd(a.exit, function() {
|
|
273
|
-
t.safeSetState({ status: ge }, function() {
|
|
274
|
-
t.props.onExited && t.props.onExited(t.node);
|
|
275
|
-
});
|
|
276
|
-
});
|
|
277
|
-
})) : this.safeSetState({ status: ge }, function() {
|
|
278
|
-
t.props.onExited && t.props.onExited(t.node);
|
|
279
|
-
});
|
|
280
|
-
}, r.cancelNextCallback = function() {
|
|
281
|
-
this.nextCallback !== null && this.nextCallback.cancel && (this.nextCallback.cancel(), this.nextCallback = null);
|
|
282
|
-
}, r.safeSetState = function(t, n) {
|
|
283
|
-
n = this.setNextCallback(n), this.setState(t, n);
|
|
284
|
-
}, r.setNextCallback = function(t) {
|
|
285
|
-
var n = this, a = !0;
|
|
286
|
-
return this.nextCallback = function() {
|
|
287
|
-
a && (a = !1, n.nextCallback = null, t());
|
|
288
|
-
}, this.nextCallback.cancel = function() {
|
|
289
|
-
a = !1;
|
|
290
|
-
}, this.nextCallback;
|
|
291
|
-
}, r.onTransitionEnd = function(t, n) {
|
|
292
|
-
this.setNextCallback(n);
|
|
293
|
-
var a = t == null && !this.props.addEndListener;
|
|
294
|
-
this.node && !a ? (this.props.addEndListener && this.props.addEndListener(this.node, this.nextCallback), t != null && setTimeout(this.nextCallback, t)) : setTimeout(this.nextCallback, 0);
|
|
295
|
-
}, r.render = function() {
|
|
296
|
-
var t = this.state.status;
|
|
297
|
-
if (t === Ie) return null;
|
|
298
|
-
var n = this.props;
|
|
299
|
-
return (0, n.children)(t, Oe(n, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]));
|
|
300
|
-
}, $t(o, [{ key: "node", get: function() {
|
|
301
|
-
var t, n = (t = this.props.nodeRef) === null || t === void 0 ? void 0 : t.current;
|
|
302
|
-
if (!n) throw new Error("notistack - Custom snackbar is not refForwarding");
|
|
303
|
-
return n;
|
|
304
|
-
} }]), o;
|
|
305
|
-
}(L.Component);
|
|
306
|
-
function be() {
|
|
307
|
-
}
|
|
308
|
-
function Ot(e, o) {
|
|
309
|
-
typeof e == "function" ? e(o) : e && (e.current = o);
|
|
310
|
-
}
|
|
311
|
-
function lt(e, o) {
|
|
312
|
-
return s.useMemo(function() {
|
|
313
|
-
return e == null && o == null ? null : function(r) {
|
|
314
|
-
Ot(e, r), Ot(o, r);
|
|
315
|
-
};
|
|
316
|
-
}, [e, o]);
|
|
317
|
-
}
|
|
318
|
-
function Ve(e) {
|
|
319
|
-
var o = e.timeout, r = e.style, t = r === void 0 ? {} : r, n = e.mode;
|
|
320
|
-
return { duration: typeof o == "object" ? o[n] || 0 : o, easing: t.transitionTimingFunction, delay: t.transitionDelay };
|
|
321
|
-
}
|
|
322
|
-
ht.defaultProps = { in: !1, mountOnEnter: !1, unmountOnExit: !1, appear: !1, enter: !0, exit: !0, onEnter: be, onEntering: be, onEntered: be, onExit: be, onExiting: be, onExited: be };
|
|
323
|
-
var Gt = function(e) {
|
|
324
|
-
e.scrollTop = e.scrollTop;
|
|
325
|
-
}, Lt = function(e) {
|
|
326
|
-
return Math.round(e) + "ms";
|
|
327
|
-
};
|
|
328
|
-
function xe(e, o) {
|
|
329
|
-
e === void 0 && (e = ["all"]);
|
|
330
|
-
var r = o || {}, t = r.duration, n = t === void 0 ? 300 : t, a = r.easing, i = a === void 0 ? "cubic-bezier(0.4, 0, 0.2, 1)" : a, c = r.delay, l = c === void 0 ? 0 : c;
|
|
331
|
-
return (Array.isArray(e) ? e : [e]).map(function(u) {
|
|
332
|
-
var d = typeof n == "string" ? n : Lt(n), f = typeof l == "string" ? l : Lt(l);
|
|
333
|
-
return u + " " + d + " " + i + " " + f;
|
|
334
|
-
}).join(",");
|
|
335
|
-
}
|
|
336
|
-
function Zt(e) {
|
|
337
|
-
var o;
|
|
338
|
-
return ((o = e) && o.ownerDocument || document).defaultView || window;
|
|
339
|
-
}
|
|
340
|
-
function Pe(e, o) {
|
|
341
|
-
if (o) {
|
|
342
|
-
var r = function(t, n) {
|
|
343
|
-
var a, i = n.getBoundingClientRect(), c = Zt(n);
|
|
344
|
-
if (n.fakeTransform) a = n.fakeTransform;
|
|
345
|
-
else {
|
|
346
|
-
var l = c.getComputedStyle(n);
|
|
347
|
-
a = l.getPropertyValue("-webkit-transform") || l.getPropertyValue("transform");
|
|
348
|
-
}
|
|
349
|
-
var u = 0, d = 0;
|
|
350
|
-
if (a && a !== "none" && typeof a == "string") {
|
|
351
|
-
var f = a.split("(")[1].split(")")[0].split(",");
|
|
352
|
-
u = parseInt(f[4], 10), d = parseInt(f[5], 10);
|
|
353
|
-
}
|
|
354
|
-
switch (t) {
|
|
355
|
-
case "left":
|
|
356
|
-
return "translateX(" + (c.innerWidth + u - i.left) + "px)";
|
|
357
|
-
case "right":
|
|
358
|
-
return "translateX(-" + (i.left + i.width - u) + "px)";
|
|
359
|
-
case "up":
|
|
360
|
-
return "translateY(" + (c.innerHeight + d - i.top) + "px)";
|
|
361
|
-
default:
|
|
362
|
-
return "translateY(-" + (i.top + i.height - d) + "px)";
|
|
363
|
-
}
|
|
364
|
-
}(e, o);
|
|
365
|
-
r && (o.style.webkitTransform = r, o.style.transform = r);
|
|
366
|
-
}
|
|
367
|
-
}
|
|
368
|
-
var Xt = s.forwardRef(function(e, o) {
|
|
369
|
-
var r = e.children, t = e.direction, n = t === void 0 ? "down" : t, a = e.in, i = e.style, c = e.timeout, l = c === void 0 ? 0 : c, u = e.onEnter, d = e.onEntered, f = e.onExit, b = e.onExited, v = Oe(e, ["children", "direction", "in", "style", "timeout", "onEnter", "onEntered", "onExit", "onExited"]), x = s.useRef(null), k = lt(r.ref, x), w = lt(k, o), g = s.useCallback(function() {
|
|
370
|
-
x.current && Pe(n, x.current);
|
|
371
|
-
}, [n]);
|
|
372
|
-
return s.useEffect(function() {
|
|
373
|
-
if (!a && n !== "down" && n !== "right") {
|
|
374
|
-
var m = function(E, R) {
|
|
375
|
-
var j;
|
|
376
|
-
function H() {
|
|
377
|
-
for (var q = this, I = arguments.length, B = new Array(I), G = 0; G < I; G++) B[G] = arguments[G];
|
|
378
|
-
clearTimeout(j), j = setTimeout(function() {
|
|
379
|
-
E.apply(q, B);
|
|
380
|
-
}, R);
|
|
381
|
-
}
|
|
382
|
-
return R === void 0 && (R = 166), H.clear = function() {
|
|
383
|
-
clearTimeout(j);
|
|
384
|
-
}, H;
|
|
385
|
-
}(function() {
|
|
386
|
-
x.current && Pe(n, x.current);
|
|
387
|
-
}), D = Zt(x.current);
|
|
388
|
-
return D.addEventListener("resize", m), function() {
|
|
389
|
-
m.clear(), D.removeEventListener("resize", m);
|
|
390
|
-
};
|
|
391
|
-
}
|
|
392
|
-
}, [n, a]), s.useEffect(function() {
|
|
393
|
-
a || g();
|
|
394
|
-
}, [a, g]), s.createElement(ht, Object.assign({ appear: !0, nodeRef: x, onEnter: function(m, D) {
|
|
395
|
-
Pe(n, m), Gt(m), u && u(m, D);
|
|
396
|
-
}, onEntered: d, onEntering: function(m) {
|
|
397
|
-
var D = Ve({ timeout: l, mode: "enter", style: W({}, i, { transitionTimingFunction: i?.transitionTimingFunction || "cubic-bezier(0.0, 0, 0.2, 1)" }) });
|
|
398
|
-
m.style.webkitTransition = xe("-webkit-transform", D), m.style.transition = xe("transform", D), m.style.webkitTransform = "none", m.style.transform = "none";
|
|
399
|
-
}, onExit: function(m) {
|
|
400
|
-
var D = Ve({ timeout: l, mode: "exit", style: W({}, i, { transitionTimingFunction: i?.transitionTimingFunction || "cubic-bezier(0.4, 0, 0.6, 1)" }) });
|
|
401
|
-
m.style.webkitTransition = xe("-webkit-transform", D), m.style.transition = xe("transform", D), Pe(n, m), f && f(m);
|
|
402
|
-
}, onExited: function(m) {
|
|
403
|
-
m.style.webkitTransition = "", m.style.transition = "", b && b(m);
|
|
404
|
-
}, in: a, timeout: l }, v), function(m, D) {
|
|
405
|
-
return s.cloneElement(r, W({ ref: w, style: W({ visibility: m !== "exited" || a ? void 0 : "hidden" }, i, {}, r.props.style) }, D));
|
|
406
|
-
});
|
|
407
|
-
});
|
|
408
|
-
Xt.displayName = "Slide";
|
|
409
|
-
var Fe = function(e) {
|
|
410
|
-
return L.createElement("svg", Object.assign({ viewBox: "0 0 24 24", focusable: "false", style: { fontSize: 20, marginInlineEnd: 8, userSelect: "none", width: "1em", height: "1em", display: "inline-block", fill: "currentColor", flexShrink: 0 } }, e));
|
|
411
|
-
}, de = { maxSnack: 3, persist: !1, hideIconVariant: !1, disableWindowBlurListener: !1, variant: "default", autoHideDuration: 5e3, iconVariant: { default: void 0, success: L.createElement(function() {
|
|
412
|
-
return L.createElement(Fe, null, L.createElement("path", { d: `M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M10 17L5 12L6.41
|
|
413
|
-
10.59L10 14.17L17.59 6.58L19 8L10 17Z` }));
|
|
414
|
-
}, null), warning: L.createElement(function() {
|
|
415
|
-
return L.createElement(Fe, null, L.createElement("path", { d: "M13,14H11V10H13M13,18H11V16H13M1,21H23L12,2L1,21Z" }));
|
|
416
|
-
}, null), error: L.createElement(function() {
|
|
417
|
-
return L.createElement(Fe, null, L.createElement("path", { d: `M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,
|
|
418
|
-
6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,
|
|
419
|
-
13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z` }));
|
|
420
|
-
}, null), info: L.createElement(function() {
|
|
421
|
-
return L.createElement(Fe, null, L.createElement("path", { d: `M13,9H11V7H13M13,17H11V11H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,
|
|
422
|
-
0 22,12A10,10 0 0,0 12,2Z` }));
|
|
423
|
-
}, null) }, anchorOrigin: { vertical: "bottom", horizontal: "left" }, TransitionComponent: Xt, transitionDuration: { enter: 225, exit: 195 } };
|
|
424
|
-
function Le(e) {
|
|
425
|
-
return Object.entries(e).reduce(function(o, r) {
|
|
426
|
-
var t, n = r[0], a = r[1];
|
|
427
|
-
return W({}, o, ((t = {})[n] = st(a), t));
|
|
428
|
-
}, {});
|
|
429
|
-
}
|
|
430
|
-
var Qt = "notistack-CollapseWrapper", yo = function(e) {
|
|
431
|
-
return "notistack-MuiContent-" + e;
|
|
432
|
-
}, Wt = Le({ root: { height: 0 }, entered: { height: "auto" } }), Qe = "0px", Jt = s.forwardRef(function(e, o) {
|
|
433
|
-
var r = e.children, t = e.in, n = e.onExited, a = s.useRef(null), i = s.useRef(null), c = lt(o, i), l = function() {
|
|
434
|
-
return a.current ? a.current.clientHeight : 0;
|
|
435
|
-
};
|
|
436
|
-
return s.createElement(ht, { in: t, unmountOnExit: !0, onEnter: function(u) {
|
|
437
|
-
u.style.height = Qe;
|
|
438
|
-
}, onEntered: function(u) {
|
|
439
|
-
u.style.height = "auto";
|
|
440
|
-
}, onEntering: function(u) {
|
|
441
|
-
var d = l(), f = Ve({ timeout: 175, mode: "enter" }), b = f.duration, v = f.easing;
|
|
442
|
-
u.style.transitionDuration = typeof b == "string" ? b : b + "ms", u.style.height = d + "px", u.style.transitionTimingFunction = v || "";
|
|
443
|
-
}, onExit: function(u) {
|
|
444
|
-
u.style.height = l() + "px";
|
|
445
|
-
}, onExited: n, onExiting: function(u) {
|
|
446
|
-
Gt(u);
|
|
447
|
-
var d = Ve({ timeout: 175, mode: "exit" }), f = d.duration, b = d.easing;
|
|
448
|
-
u.style.transitionDuration = typeof f == "string" ? f : f + "ms", u.style.height = Qe, u.style.transitionTimingFunction = b || "";
|
|
449
|
-
}, nodeRef: i, timeout: 175 }, function(u, d) {
|
|
450
|
-
return s.createElement("div", Object.assign({ ref: c, className: le(Wt.root, u === "entered" && Wt.entered), style: W({ pointerEvents: "all", overflow: "hidden", minHeight: Qe, transition: xe("height") }, u === "entered" && { overflow: "visible" }, {}, u === "exited" && !t && { visibility: "hidden" }) }, d), s.createElement("div", { ref: a, className: Qt, style: { display: "flex", width: "100%" } }, r));
|
|
451
|
-
});
|
|
452
|
-
});
|
|
453
|
-
Jt.displayName = "Collapse";
|
|
454
|
-
var Rt = { right: "left", left: "right", bottom: "up", top: "down" }, wo = function(e) {
|
|
455
|
-
return "anchorOrigin" + ft(e);
|
|
456
|
-
}, vo = function() {
|
|
457
|
-
};
|
|
458
|
-
function Me(e, o) {
|
|
459
|
-
return e.reduce(function(r, t) {
|
|
460
|
-
return t == null ? r : function() {
|
|
461
|
-
for (var n = arguments.length, a = new Array(n), i = 0; i < n; i++) a[i] = arguments[i];
|
|
462
|
-
var c = [].concat(a);
|
|
463
|
-
o && c.indexOf(o) === -1 && c.push(o), r.apply(this, c), t.apply(this, c);
|
|
464
|
-
};
|
|
465
|
-
}, vo);
|
|
466
|
-
}
|
|
467
|
-
var Eo = typeof window < "u" ? s.useLayoutEffect : s.useEffect;
|
|
468
|
-
function At(e) {
|
|
469
|
-
var o = s.useRef(e);
|
|
470
|
-
return Eo(function() {
|
|
471
|
-
o.current = e;
|
|
472
|
-
}), s.useCallback(function() {
|
|
473
|
-
return o.current.apply(void 0, arguments);
|
|
474
|
-
}, []);
|
|
475
|
-
}
|
|
476
|
-
var Je, Yt = s.forwardRef(function(e, o) {
|
|
477
|
-
var r = e.children, t = e.className, n = e.autoHideDuration, a = e.disableWindowBlurListener, i = a !== void 0 && a, c = e.onClose, l = e.id, u = e.open, d = e.SnackbarProps, f = d === void 0 ? {} : d, b = s.useRef(), v = At(function() {
|
|
478
|
-
c && c.apply(void 0, arguments);
|
|
479
|
-
}), x = At(function(g) {
|
|
480
|
-
c && g != null && (b.current && clearTimeout(b.current), b.current = setTimeout(function() {
|
|
481
|
-
v(null, "timeout", l);
|
|
482
|
-
}, g));
|
|
483
|
-
});
|
|
484
|
-
s.useEffect(function() {
|
|
485
|
-
return u && x(n), function() {
|
|
486
|
-
b.current && clearTimeout(b.current);
|
|
487
|
-
};
|
|
488
|
-
}, [u, n, x]);
|
|
489
|
-
var k = function() {
|
|
490
|
-
b.current && clearTimeout(b.current);
|
|
491
|
-
}, w = s.useCallback(function() {
|
|
492
|
-
n != null && x(0.5 * n);
|
|
493
|
-
}, [n, x]);
|
|
494
|
-
return s.useEffect(function() {
|
|
495
|
-
if (!i && u) return window.addEventListener("focus", w), window.addEventListener("blur", k), function() {
|
|
496
|
-
window.removeEventListener("focus", w), window.removeEventListener("blur", k);
|
|
497
|
-
};
|
|
498
|
-
}, [i, w, u]), s.createElement("div", Object.assign({ ref: o }, f, { className: le("notistack-Snackbar", t), onMouseEnter: function(g) {
|
|
499
|
-
f.onMouseEnter && f.onMouseEnter(g), k();
|
|
500
|
-
}, onMouseLeave: function(g) {
|
|
501
|
-
f.onMouseLeave && f.onMouseLeave(g), w();
|
|
502
|
-
} }), r);
|
|
503
|
-
});
|
|
504
|
-
Yt.displayName = "Snackbar";
|
|
505
|
-
var Co = Le({ root: (Je = { display: "flex", flexWrap: "wrap", flexGrow: 1 }, Je[Be] = { flexGrow: "initial", minWidth: "288px" }, Je) }), gt = s.forwardRef(function(e, o) {
|
|
506
|
-
var r = e.className, t = Oe(e, ["className"]);
|
|
507
|
-
return L.createElement("div", Object.assign({ ref: o, className: le(Co.root, r) }, t));
|
|
508
|
-
});
|
|
509
|
-
gt.displayName = "SnackbarContent";
|
|
510
|
-
var Se = Le({ root: { backgroundColor: "#313131", fontSize: "0.875rem", lineHeight: 1.43, letterSpacing: "0.01071em", color: "#fff", alignItems: "center", padding: "6px 16px", borderRadius: "4px", boxShadow: "0px 3px 5px -1px rgba(0,0,0,0.2),0px 6px 10px 0px rgba(0,0,0,0.14),0px 1px 18px 0px rgba(0,0,0,0.12)" }, lessPadding: { paddingLeft: "20px" }, default: { backgroundColor: "#313131" }, success: { backgroundColor: "#43a047" }, error: { backgroundColor: "#d32f2f" }, warning: { backgroundColor: "#ff9800" }, info: { backgroundColor: "#2196f3" }, message: { display: "flex", alignItems: "center", padding: "8px 0" }, action: { display: "flex", alignItems: "center", marginLeft: "auto", paddingLeft: "16px", marginRight: "-8px" } }), Nt = "notistack-snackbar", en = s.forwardRef(function(e, o) {
|
|
511
|
-
var r = e.id, t = e.message, n = e.action, a = e.iconVariant, i = e.variant, c = e.hideIconVariant, l = e.style, u = e.className, d = a[i], f = n;
|
|
512
|
-
return typeof f == "function" && (f = f(r)), L.createElement(gt, { ref: o, role: "alert", "aria-describedby": Nt, style: l, className: le("notistack-MuiContent", yo(i), Se.root, Se[i], u, !c && d && Se.lessPadding) }, L.createElement("div", { id: Nt, className: Se.message }, c ? null : d, t), f && L.createElement("div", { className: Se.action }, f));
|
|
513
|
-
});
|
|
514
|
-
en.displayName = "MaterialDesignContent";
|
|
515
|
-
var De, Ye, He, ze, et, So = s.memo(en), Do = Le({ wrappedRoot: { width: "100%", position: "relative", transform: "translateX(0)", top: 0, right: 0, bottom: 0, left: 0, minWidth: "288px" } }), jo = function(e) {
|
|
516
|
-
var o = s.useRef(), r = s.useState(!0), t = r[0], n = r[1], a = Me([e.snack.onClose, e.onClose]), i = s.useCallback(function() {
|
|
517
|
-
o.current = setTimeout(function() {
|
|
518
|
-
n(function(q) {
|
|
519
|
-
return !q;
|
|
520
|
-
});
|
|
521
|
-
}, 125);
|
|
522
|
-
}, []);
|
|
523
|
-
s.useEffect(function() {
|
|
524
|
-
return function() {
|
|
525
|
-
o.current && clearTimeout(o.current);
|
|
526
|
-
};
|
|
527
|
-
}, []);
|
|
528
|
-
var c, l = e.snack, u = e.classes, d = e.Component, f = d === void 0 ? So : d, b = s.useMemo(function() {
|
|
529
|
-
return function(q) {
|
|
530
|
-
q === void 0 && (q = {});
|
|
531
|
-
var I = { containerRoot: !0, containerAnchorOriginTopCenter: !0, containerAnchorOriginBottomCenter: !0, containerAnchorOriginTopRight: !0, containerAnchorOriginBottomRight: !0, containerAnchorOriginTopLeft: !0, containerAnchorOriginBottomLeft: !0 };
|
|
532
|
-
return Object.keys(q).filter(function(B) {
|
|
533
|
-
return !I[B];
|
|
534
|
-
}).reduce(function(B, G) {
|
|
535
|
-
var Q;
|
|
536
|
-
return W({}, B, ((Q = {})[G] = q[G], Q));
|
|
537
|
-
}, {});
|
|
538
|
-
}(u);
|
|
539
|
-
}, [u]), v = l.open, x = l.SnackbarProps, k = l.TransitionComponent, w = l.TransitionProps, g = l.transitionDuration, m = l.disableWindowBlurListener, D = l.content, E = Oe(l, ["open", "SnackbarProps", "TransitionComponent", "TransitionProps", "transitionDuration", "disableWindowBlurListener", "content", "entered", "requestClose", "onEnter", "onEntered", "onExit", "onExited"]), R = W({ direction: (c = E.anchorOrigin, c.horizontal !== "center" ? Rt[c.horizontal] : Rt[c.vertical]), timeout: g }, w), j = D;
|
|
540
|
-
typeof j == "function" && (j = j(E.id, E.message));
|
|
541
|
-
var H = ["onEnter", "onEntered", "onExit", "onExited"].reduce(function(q, I) {
|
|
542
|
-
var B;
|
|
543
|
-
return W({}, q, ((B = {})[I] = Me([e.snack[I], e[I]], E.id), B));
|
|
544
|
-
}, {});
|
|
545
|
-
return L.createElement(Jt, { in: t, onExited: H.onExited }, L.createElement(Yt, { open: v, id: E.id, disableWindowBlurListener: m, autoHideDuration: E.autoHideDuration, className: le(Do.wrappedRoot, b.root, b[wo(E.anchorOrigin)]), SnackbarProps: x, onClose: a }, L.createElement(k, Object.assign({}, R, { appear: !0, in: v, onExit: H.onExit, onExited: i, onEnter: H.onEnter, onEntered: Me([H.onEntered, function() {
|
|
546
|
-
e.snack.requestClose && a(null, "instructed", e.snack.id);
|
|
547
|
-
}], E.id) }), j || L.createElement(f, Object.assign({}, E)))));
|
|
548
|
-
}, je = 20, tt = 6, Mo = 2, It = "." + Qt, _e = Le({ root: (De = { boxSizing: "border-box", display: "flex", maxHeight: "100%", position: "fixed", zIndex: 1400, height: "auto", width: "auto", transition: xe(["top", "right", "bottom", "left", "max-width"], { duration: 300, easing: "ease" }), pointerEvents: "none" }, De[It] = { padding: tt + "px 0px", transition: "padding 300ms ease 0ms" }, De.maxWidth = "calc(100% - " + 2 * je + "px)", De[Xe] = { width: "100%", maxWidth: "calc(100% - 32px)" }, De), rootDense: (Ye = {}, Ye[It] = { padding: Mo + "px 0px" }, Ye), top: { top: je - tt + "px", flexDirection: "column" }, bottom: { bottom: je - tt + "px", flexDirection: "column-reverse" }, left: (He = { left: je + "px" }, He[Be] = { alignItems: "flex-start" }, He[Xe] = { left: "16px" }, He), right: (ze = { right: je + "px" }, ze[Be] = { alignItems: "flex-end" }, ze[Xe] = { right: "16px" }, ze), center: (et = { left: "50%", transform: "translateX(-50%)" }, et[Be] = { alignItems: "center" }, et) }), To = s.memo(function(e) {
|
|
549
|
-
var o = e.classes, r = o === void 0 ? {} : o, t = e.anchorOrigin, n = e.dense, a = e.children, i = le("notistack-SnackbarContainer", _e[t.vertical], _e[t.horizontal], _e.root, r.containerRoot, r["containerAnchorOrigin" + ft(t)], n && _e.rootDense);
|
|
550
|
-
return L.createElement("div", { className: i }, a);
|
|
551
|
-
}), Pt = function(e) {
|
|
552
|
-
return !(typeof e == "string" || s.isValidElement(e));
|
|
553
|
-
}, Oo = function(e) {
|
|
554
|
-
function o(r) {
|
|
555
|
-
var t;
|
|
556
|
-
return (t = e.call(this, r) || this).enqueueSnackbar = function(n, a) {
|
|
557
|
-
if (a === void 0 && (a = {}), n == null) throw new Error("enqueueSnackbar called with invalid argument");
|
|
558
|
-
var i = Pt(n) ? n : a, c = Pt(n) ? n.message : n, l = i.key, u = i.preventDuplicate, d = Oe(i, ["key", "preventDuplicate"]), f = Ne(l), b = f ? l : (/* @__PURE__ */ new Date()).getTime() + Math.random(), v = /* @__PURE__ */ function(k, w) {
|
|
559
|
-
return function(g, m) {
|
|
560
|
-
return m === void 0 && (m = !1), m ? W({}, de[g], {}, w[g], {}, k[g]) : g === "autoHideDuration" ? (j = k.autoHideDuration, H = w.autoHideDuration, (q = function(I) {
|
|
561
|
-
return typeof I == "number" || I === null;
|
|
562
|
-
})(j) ? j : q(H) ? H : de.autoHideDuration) : g === "transitionDuration" ? (D = k.transitionDuration, E = w.transitionDuration, (R = function(I, B) {
|
|
563
|
-
return B.some(function(G) {
|
|
564
|
-
return typeof I === G;
|
|
565
|
-
});
|
|
566
|
-
})(D, ["string", "number"]) ? D : R(D, ["object"]) ? W({}, de.transitionDuration, {}, R(E, ["object"]) && E, {}, D) : R(E, ["string", "number"]) ? E : R(E, ["object"]) ? W({}, de.transitionDuration, {}, E) : de.transitionDuration) : k[g] || w[g] || de[g];
|
|
567
|
-
var D, E, R, j, H, q;
|
|
568
|
-
};
|
|
569
|
-
}(d, t.props), x = W({ id: b }, d, { message: c, open: !0, entered: !1, requestClose: !1, persist: v("persist"), action: v("action"), content: v("content"), variant: v("variant"), anchorOrigin: v("anchorOrigin"), disableWindowBlurListener: v("disableWindowBlurListener"), autoHideDuration: v("autoHideDuration"), hideIconVariant: v("hideIconVariant"), TransitionComponent: v("TransitionComponent"), transitionDuration: v("transitionDuration"), TransitionProps: v("TransitionProps", !0), iconVariant: v("iconVariant", !0), style: v("style", !0), SnackbarProps: v("SnackbarProps", !0), className: le(t.props.className, d.className) });
|
|
570
|
-
return x.persist && (x.autoHideDuration = void 0), t.setState(function(k) {
|
|
571
|
-
if (u === void 0 && t.props.preventDuplicate || u) {
|
|
572
|
-
var w = function(D) {
|
|
573
|
-
return f ? D.id === b : D.message === c;
|
|
574
|
-
}, g = k.queue.findIndex(w) > -1, m = k.snacks.findIndex(w) > -1;
|
|
575
|
-
if (g || m) return k;
|
|
576
|
-
}
|
|
577
|
-
return t.handleDisplaySnack(W({}, k, { queue: [].concat(k.queue, [x]) }));
|
|
578
|
-
}), b;
|
|
579
|
-
}, t.handleDisplaySnack = function(n) {
|
|
580
|
-
return n.snacks.length >= t.maxSnack ? t.handleDismissOldest(n) : t.processQueue(n);
|
|
581
|
-
}, t.processQueue = function(n) {
|
|
582
|
-
var a = n.queue, i = n.snacks;
|
|
583
|
-
return a.length > 0 ? W({}, n, { snacks: [].concat(i, [a[0]]), queue: a.slice(1, a.length) }) : n;
|
|
584
|
-
}, t.handleDismissOldest = function(n) {
|
|
585
|
-
if (n.snacks.some(function(l) {
|
|
586
|
-
return !l.open || l.requestClose;
|
|
587
|
-
})) return n;
|
|
588
|
-
var a = !1, i = !1;
|
|
589
|
-
n.snacks.reduce(function(l, u) {
|
|
590
|
-
return l + (u.open && u.persist ? 1 : 0);
|
|
591
|
-
}, 0) === t.maxSnack && (i = !0);
|
|
592
|
-
var c = n.snacks.map(function(l) {
|
|
593
|
-
return a || l.persist && !i ? W({}, l) : (a = !0, l.entered ? (l.onClose && l.onClose(null, "maxsnack", l.id), t.props.onClose && t.props.onClose(null, "maxsnack", l.id), W({}, l, { open: !1 })) : W({}, l, { requestClose: !0 }));
|
|
594
|
-
});
|
|
595
|
-
return W({}, n, { snacks: c });
|
|
596
|
-
}, t.handleEnteredSnack = function(n, a, i) {
|
|
597
|
-
if (!Ne(i)) throw new Error("handleEnteredSnack Cannot be called with undefined key");
|
|
598
|
-
t.setState(function(c) {
|
|
599
|
-
return { snacks: c.snacks.map(function(l) {
|
|
600
|
-
return l.id === i ? W({}, l, { entered: !0 }) : W({}, l);
|
|
601
|
-
}) };
|
|
602
|
-
});
|
|
603
|
-
}, t.handleCloseSnack = function(n, a, i) {
|
|
604
|
-
t.props.onClose && t.props.onClose(n, a, i);
|
|
605
|
-
var c = i === void 0;
|
|
606
|
-
t.setState(function(l) {
|
|
607
|
-
var u = l.snacks, d = l.queue;
|
|
608
|
-
return { snacks: u.map(function(f) {
|
|
609
|
-
return c || f.id === i ? f.entered ? W({}, f, { open: !1 }) : W({}, f, { requestClose: !0 }) : W({}, f);
|
|
610
|
-
}), queue: d.filter(function(f) {
|
|
611
|
-
return f.id !== i;
|
|
612
|
-
}) };
|
|
613
|
-
});
|
|
614
|
-
}, t.closeSnackbar = function(n) {
|
|
615
|
-
var a = t.state.snacks.find(function(i) {
|
|
616
|
-
return i.id === n;
|
|
617
|
-
});
|
|
618
|
-
Ne(n) && a && a.onClose && a.onClose(null, "instructed", n), t.handleCloseSnack(null, "instructed", n);
|
|
619
|
-
}, t.handleExitedSnack = function(n, a) {
|
|
620
|
-
if (!Ne(a)) throw new Error("handleExitedSnack Cannot be called with undefined key");
|
|
621
|
-
t.setState(function(i) {
|
|
622
|
-
var c = t.processQueue(W({}, i, { snacks: i.snacks.filter(function(l) {
|
|
623
|
-
return l.id !== a;
|
|
624
|
-
}) }));
|
|
625
|
-
return c.queue.length === 0 ? c : t.handleDismissOldest(c);
|
|
626
|
-
});
|
|
627
|
-
}, t.enqueueSnackbar, t.closeSnackbar, t.state = { snacks: [], queue: [], contextValue: { enqueueSnackbar: t.enqueueSnackbar.bind(Dt(t)), closeSnackbar: t.closeSnackbar.bind(Dt(t)) } }, t;
|
|
628
|
-
}
|
|
629
|
-
return Ut(o, e), o.prototype.render = function() {
|
|
630
|
-
var r = this, t = this.state.contextValue, n = this.props, a = n.domRoot, i = n.children, c = n.dense, l = c !== void 0 && c, u = n.Components, d = u === void 0 ? {} : u, f = n.classes, b = this.state.snacks.reduce(function(x, k) {
|
|
631
|
-
var w, g = ft(k.anchorOrigin), m = x[g] || [];
|
|
632
|
-
return W({}, x, ((w = {})[g] = [].concat(m, [k]), w));
|
|
633
|
-
}, {}), v = Object.keys(b).map(function(x) {
|
|
634
|
-
var k = b[x], w = k[0];
|
|
635
|
-
return L.createElement(To, { key: x, dense: l, anchorOrigin: w.anchorOrigin, classes: f }, k.map(function(g) {
|
|
636
|
-
return L.createElement(jo, { key: g.id, snack: g, classes: f, Component: d[g.variant], onClose: r.handleCloseSnack, onEnter: r.props.onEnter, onExit: r.props.onExit, onExited: Me([r.handleExitedSnack, r.props.onExited], g.id), onEntered: Me([r.handleEnteredSnack, r.props.onEntered], g.id) });
|
|
637
|
-
}));
|
|
638
|
-
});
|
|
639
|
-
return L.createElement(Kt.Provider, { value: t }, i, a ? Mn.createPortal(v, a) : v);
|
|
640
|
-
}, $t(o, [{ key: "maxSnack", get: function() {
|
|
641
|
-
return this.props.maxSnack || de.maxSnack;
|
|
642
|
-
} }]), o;
|
|
643
|
-
}(s.Component), tn = function() {
|
|
644
|
-
return s.useContext(Kt);
|
|
645
|
-
};
|
|
646
|
-
const re = { card: "_card_1a398_7", actionRoot: "_actionRoot_1a398_11", icons: "_icons_1a398_16", expand: "_expand_1a398_22", expandOpen: "_expandOpen_1a398_29", stackTraceContainer: "_stackTraceContainer_1a398_33" }, nn = s.forwardRef((e, o) => {
|
|
647
|
-
const { id: r, message: t, iconVariant: n, error: a, hideIconVariant: i, ...c } = e, { closeSnackbar: l } = tn(), u = Tn(), [d, f] = s.useState(!1), b = s.useCallback(() => {
|
|
648
|
-
f((k) => !k);
|
|
649
|
-
}, []), v = s.useCallback(() => {
|
|
650
|
-
l(r);
|
|
651
|
-
}, [r, l]);
|
|
652
|
-
let x = a?.message;
|
|
653
|
-
return !x && s.isValidElement(t) && (x = t), x || typeof t != "string" || (x = t), x || (x = `Unknown Error: ${t}`), p.jsx(gt, { ref: o, className: ot(re.root, "error-snackbar"), children: p.jsxs(ao, { className: re.card, style: { backgroundColor: u.palette.error.dark, border: `1px solid ${u.palette.error.dark}` }, children: [p.jsxs(lo, { className: re.actionRoot, children: [i ? null : n?.error, p.jsx(On, { variant: "body2", component: "div", className: re.typography, style: { color: u.palette.text.primary }, children: x }), p.jsx("div", { style: { flex: "1 1 auto" } }), p.jsxs("div", { className: re.icons, children: [a ? p.jsx(rt, { "aria-label": "Show more", size: "small", className: ot(re.expand, { [re.expandOpen]: d }), style: { color: u.palette.action.active }, onClick: b, children: p.jsx(Ln, {}) }) : null, p.jsx(rt, { size: "small", className: re.expand, style: { color: u.palette.action.active }, onClick: v, children: p.jsx(Wn, { fontSize: "small" }) })] })] }), a ? p.jsx(at, { in: d, timeout: "auto", unmountOnExit: !0, children: p.jsx("div", { className: re.stackTraceContainer, style: { backgroundColor: u.palette.error.light, borderTop: `1px solid ${u.palette.error.main}` }, children: p.jsx(Rn, { error: a, hideLineNumbers: !0 }) }) }) : null] }) });
|
|
654
|
-
});
|
|
655
|
-
nn.displayName = "ToastError";
|
|
656
|
-
const on = s.memo(s.forwardRef((e, o) => {
|
|
657
|
-
const { commands: r, commandHook: t, scope: n = "workbook", disabled: a = !1, ...i } = e, c = ne((u) => {
|
|
658
|
-
const d = { variant: Vn.Menuitem, parentFloat: u.floatReference, commandHook: t, scope: n, disabled: a }, f = p.jsxs(p.Fragment, { children: [p.jsx(Ge, { ...d, command: r.getCommand("newWorkbook"), icon: Ee(p.jsx($n, {})) }), p.jsx(Un, { orientation: "horizontal" }), p.jsx(Ge, { ...d, command: r.getCommand("openWorkbook"), icon: Ee(p.jsx(Kn, {})) }), p.jsx(vt, { ...d, commands: r, quickCommand: "saveWorkbook", icon: Ee(p.jsx(Xn, {})), createPopupPanel: (b) => {
|
|
659
|
-
const v = { ...d, parentFloat: b.floatReference, scope: "saveWorkbook" }, x = [];
|
|
660
|
-
return pe.getWriteFormats().forEach((k) => {
|
|
661
|
-
if (k.isDefault) return;
|
|
662
|
-
let w = null;
|
|
663
|
-
k.key === "CSV" ? w = Ee(p.jsx(Gn, {})) : k.key === "Excel" && (w = Ee(p.jsx(Zn, {})));
|
|
664
|
-
const g = r.getCommand(`saveWorkbookAs${k.key}`);
|
|
665
|
-
g ? x.push(s.createElement(Ge, { ...v, key: k.key, command: g, icon: w })) : console.warn(`Unable to resolve command: 'saveWorkbookAs${k.key}'`);
|
|
666
|
-
}), Et({ ...b, children: x, onClick: () => {
|
|
667
|
-
b.closeFloatAll();
|
|
668
|
-
} });
|
|
669
|
-
} })] });
|
|
670
|
-
return Et({ ...u, children: f, onClick: (b) => {
|
|
671
|
-
b.isDefaultPrevented || u.closeFloatAll();
|
|
672
|
-
} });
|
|
673
|
-
}, [a, r, t, n]), l = "File";
|
|
674
|
-
return p.jsx(vt, { commands: r, disabled: a, commandHook: t, scope: n, label: l, tooltip: "Options for saving and loading the workbook.", sx: { paddingBottom: "0px", "& button": { paddingTop: "0px", paddingBottom: "0px", height: (u) => `calc(1.25rem + ${u.spacing(2)}px)` } }, ...i, createPopupPanel: c, icon: p.jsx(Qn, { className: "label", icon: null, label: l }) });
|
|
675
|
-
}));
|
|
676
|
-
on.displayName = "StandaloneFileCommandButton";
|
|
677
|
-
const Lo = p.jsx(qn, { label: "SheetXL", description: "Visit me at sheetxl.com.", children: p.jsx(se, { sx: { width: "24px", height: "24px", marginBottom: "4px", marginLeft: "6px" }, children: p.jsx(Bn, { onClick: () => {
|
|
678
|
-
window?.open("https://www.sheetxl.com", "_blank");
|
|
679
|
-
}, style: { width: "24px", height: "24px", cursor: "pointer" } }) }) }), rn = s.memo(s.forwardRef((e, o) => {
|
|
680
|
-
const { commands: r, workbook: t, logo: n = Lo, mainElement: a, showFileMenu: i = !0, showAppearanceMenu: c = !0, ...l } = e, { reference: u } = Cn(), [d, { width: f }] = Sn(), b = f < 530, v = i ? p.jsx(on, { commands: r, commandHook: { beforeExecute() {
|
|
681
|
-
u?.closeAll();
|
|
682
|
-
}, onError(g, m, D) {
|
|
683
|
-
} } }) : null, x = c ? p.jsx(Dn, { commands: r, commandHook: { beforeExecute() {
|
|
684
|
-
u?.closeAll();
|
|
685
|
-
}, onError(g, m, D) {
|
|
686
|
-
} } }) : null, k = s.useMemo(() => ({ paddingLeft: (g) => g.spacing(1), paddingRight: (g) => g.spacing(1) }), []), w = s.useRef(null);
|
|
687
|
-
return p.jsx(se, { ref: qt([w, d, o]), ...l, children: jn({ commands: r, renderCompact: b, workbook: t, selectWrapper: (g) => p.jsxs(se, { sx: { display: "flex", flex: "1", flexDirection: "row", alignItems: "stretch", gap: (m) => m.spacing(1), paddingLeft: (m) => m.spacing(1), paddingRight: (m) => m.spacing(1) }, children: [p.jsxs(se, { sx: { display: "flex", flexDirection: "row", alignItems: "center", flex: "1 1 100%", gap: (m) => m.spacing(0.5) }, children: [n, p.jsxs(se, { sx: { display: "flex", flexDirection: "row", alignItems: "center", gap: (m) => m.spacing(0.25) }, children: [v, g] })] }), p.jsx(se, { sx: { display: "flex", flexDirection: "row", flex: "1 1 300%", overflow: "hidden", alignItems: "center", justifyContent: "center" }, children: a }), p.jsx(se, { sx: { display: "flex", alignItems: "center", justifyContent: "end", flex: b && !x ? "0 0 auto" : "1 1 100%" }, children: x })] }), selectProps: k, toolbarsProps: { Home: { sx: {} } } }) });
|
|
688
|
-
}));
|
|
689
|
-
rn.displayName = "StudioToolbar";
|
|
690
|
-
const an = s.memo(s.forwardRef((e, o) => {
|
|
691
|
-
const { workbook: r, setWorkbook: t, refWorkbookTitle: n, titleWorkbook: a, setWorkbookTitle: i, titlePlaceHolder: c, children: l, undoManager: u, commands: d, importExportDisabled: f, themeOptions: b } = e, v = tn(), x = v ? v.enqueueSnackbar : () => {
|
|
692
|
-
}, k = v ? v.closeSnackbar : () => {
|
|
693
|
-
}, [w, g] = s.useState({ isMounted: !1, label: null, starting: /* @__PURE__ */ new Map(), running: /* @__PURE__ */ new Map() }), m = s.useCallback(() => {
|
|
694
|
-
g((U) => ({ ...U, isMounted: !0 }));
|
|
695
|
-
}, []), D = s.useCallback(() => {
|
|
696
|
-
g((U) => ({ ...U, isMounted: !1 }));
|
|
697
|
-
}, []), E = An(), R = Nn(), j = In(), H = s.useRef(/* @__PURE__ */ new Set()), q = s.useMemo(() => {
|
|
698
|
-
const U = (y, T) => {
|
|
699
|
-
if (T?.onceKey) {
|
|
700
|
-
if (H.current.has(T.onceKey)) return;
|
|
701
|
-
const F = new Set(H.current);
|
|
702
|
-
F.add(T.onceKey), H.current = F;
|
|
703
|
-
}
|
|
704
|
-
const M = { variant: T?.type ?? Ae.Info, anchorOrigin: { vertical: "top", horizontal: "center" }, preventDuplicate: T?.preventDuplicate, persist: T?.persist ?? T?.type === Ae.Error, action: (F) => p.jsx(rt, { onClick: () => k(F), children: p.jsx(fo, {}) }) };
|
|
705
|
-
T?.enqueueProps && Object.assign(M, T.enqueueProps), y || console.log("message is 'null'", T), x(y ?? "Alert", M);
|
|
706
|
-
};
|
|
707
|
-
return { showMessage: U, showBusy: (y, T) => {
|
|
708
|
-
let M = null;
|
|
709
|
-
const F = new Promise((z) => {
|
|
710
|
-
M = z;
|
|
711
|
-
});
|
|
712
|
-
return g((z) => {
|
|
713
|
-
const _ = new Map(z.starting);
|
|
714
|
-
return _.set(F, M), { ...z, label: y, starting: _ };
|
|
715
|
-
}), F;
|
|
716
|
-
}, showWindow: (y, T, M) => {
|
|
717
|
-
const F = { ...T, onKeyDown: (z) => {
|
|
718
|
-
d?.dispatchToFocusedCommand(z), z.isDefaultPrevented() || z.isPropagationStopped() || T?.onKeyDown?.(z);
|
|
719
|
-
} };
|
|
720
|
-
return E(y, { sort: () => import("./D3L89e08b7ewR6mt.mjs"), numberFormat: () => import("./DKbJ-iVPuUbr3iZ_.mjs"), hyperlink: () => import("./QZikWr_NQfcFWCBV.mjs"), comments: () => import("./DR7oVoNSe0FFWHOr.mjs"), find: () => import("./BUqd1uVUNoWmepd2.mjs"), tableDetails: () => import("./BBDu-GNDE7ZA-1sJ.mjs"), tableNew: () => import("./B383N9irNfyfYC2l.mjs"), namedDetails: () => import("./DAscSzG63-mM5p50.mjs") }[y], F, M);
|
|
721
|
-
}, showOptions: R, showInputOptions: j, showError: (y) => {
|
|
722
|
-
let T, M = Ae.Error, F = "Unknown Error";
|
|
723
|
-
typeof y == "string" ? F = y : y instanceof Error && (T = y, y.message && (F = y.message)), y instanceof Jn && (M = Ae.Info), U(F, { type: M, enqueueProps: { error: T } });
|
|
724
|
-
} };
|
|
725
|
-
}, []), I = s.useCallback(() => {
|
|
726
|
-
}, []), B = ((U) => {
|
|
727
|
-
const { workbook: y, setWorkbook: T, importExportDisabled: M, workbookTitle: F = "export", setWorkbookTitle: z, notifier: _, requestWorkbookTitle: ce, themeOptions: A, undoManager: C, commands: V, onExecute: $ } = U, J = ne(A?.onModeChange, [A?.onModeChange]), ie = ne(A?.onEnabledDarkGridChange, [A?.onEnabledDarkGridChange]), fe = ne(A?.onEnabledDarkImagesChange, [A?.onEnabledDarkImagesChange]), he = ne(async (N = null, te = null) => {
|
|
728
|
-
const O = [];
|
|
729
|
-
let h, S = null, X = null;
|
|
730
|
-
if (typeof N == "string" ? X = N : S = N, h = S ? N : await Pn.openFileDialog(X ?? pe.getAllReadFormatTypeAsString().join(",")), !h) return null;
|
|
731
|
-
const Y = { source: h, createWorkbookOptions: te, onWarning: (Ue) => {
|
|
732
|
-
O.push(Ue);
|
|
733
|
-
} }, we = await pe.read(Y, _);
|
|
734
|
-
return O.length > 0 && (_?.showMessage?.("Some elements were not able to be imported. See console for details."), console.warn(`Import warnings:
|
|
735
|
-
` + O.join(`
|
|
736
|
-
`))), we;
|
|
737
|
-
}, [$, _, y]), We = ne(async (N, te, O) => {
|
|
738
|
-
if (!te && ce) {
|
|
739
|
-
const h = await ce("Enter Workbook name to " + (O.isDefault ? "Save." : `Export as ${O.description}.`));
|
|
740
|
-
return h !== null && pe.writeFile(h, N, { formatType: O.key });
|
|
741
|
-
}
|
|
742
|
-
return pe.writeFile(te, N, { formatType: O.key });
|
|
743
|
-
}, [_, y, ce]), K = s.useCallback(() => ({ contains: (N) => !0, focus() {
|
|
744
|
-
} }), []), ue = s.useMemo(() => {
|
|
745
|
-
const N = [];
|
|
746
|
-
M || (pe.getWriteFormats().forEach((O) => {
|
|
747
|
-
const h = O.isDefault, S = { label: h ? "Save Workbook" : `Save Workbook as ${O.description}`, scopedLabels: { workbook: "Save", saveWorkbook: `as ${O.description}` }, tags: O.tags, description: `Save the workbook to the desktop${h ? "" : ` as ${O.description}`}.` };
|
|
748
|
-
h && (S.shortcut = { key: "S", modifiers: [ve.Ctrl] }, N.push(new ee("saveWorkbookAs", K, { label: "Save Workbook As…", scopedLabels: { workbook: "Save as…", saveWorkbook: "as…" }, shortcut: [{ key: "S", modifiers: [ve.Shift, ve.Ctrl] }, { key: "F12" }], description: "Save the workbook to the desktop with the provided name." }, () => {
|
|
749
|
-
We(y, null, O).catch((Y) => {
|
|
750
|
-
_?.showError?.(Y);
|
|
751
|
-
});
|
|
752
|
-
})));
|
|
753
|
-
const X = h ? "saveWorkbook" : `saveWorkbookAs${O.key}`;
|
|
754
|
-
N.push(new ee(X, K, S, (Y) => {
|
|
755
|
-
We(y, Y ?? F, O).catch((we) => {
|
|
756
|
-
_?.showError?.(we);
|
|
757
|
-
});
|
|
758
|
-
}));
|
|
759
|
-
}), N.push(new ee("openWorkbook", K, { label: "Open Workbook…", scopedLabels: { workbook: "Open…" }, description: "Open a workbook from the desktop.", shortcut: { key: "O", modifiers: [ve.Ctrl] } }, async (O = null) => {
|
|
760
|
-
const h = { date1904: y.isDate1904(), ...y.options };
|
|
761
|
-
try {
|
|
762
|
-
const S = await he(O, h);
|
|
763
|
-
if (!S) return;
|
|
764
|
-
const X = S.title, Y = S.workbook, we = Y.getSelectedSheet();
|
|
765
|
-
if (S.formatType.mimeType === "text/csv") {
|
|
766
|
-
const Ue = y.findValidSheetName(X);
|
|
767
|
-
await y.doBatch(async () => {
|
|
768
|
-
const kt = we.getUsedRange();
|
|
769
|
-
kt ? await y.getSheets().add({ name: Ue, autoSelect: !0 }).getRange({ colStart: 0, rowStart: 0, colEnd: 0, rowEnd: 0 }).copyFrom(kt) : _?.showMessage("The file appears to be blank.");
|
|
770
|
-
}, `Import CSV '${X}'`);
|
|
771
|
-
} else y?.close(), z?.(X), T(Y);
|
|
772
|
-
} catch (S) {
|
|
773
|
-
_?.showError?.(S);
|
|
774
|
-
}
|
|
775
|
-
})), N.push(new ee("openWorkbookFromUrl", K, { label: "Open Workbook From Web", scopedLabels: { insert: "From Web", workbook: "From Web…" }, description: "Open a workbook from the web." }, async function(O) {
|
|
776
|
-
if (!O) {
|
|
777
|
-
const h = await _?.showInputOptions?.({ title: "Open Workbook from the Web", description: "Enter the web address for the workbook to open.", inputLabel: "Address", initialValue: "https://www.sheetxl.com/examples/features-checklist.xlsx", inputProps: { style: { minWidth: "440px" } }, options: ["Open"] });
|
|
778
|
-
if (h.option !== "Open") return;
|
|
779
|
-
O = h.input;
|
|
780
|
-
}
|
|
781
|
-
O && console.log("openWorkbookFromUrl", O);
|
|
782
|
-
})));
|
|
783
|
-
let te = [];
|
|
784
|
-
return A && (te = [new ee("themeMode", K, { label: "Light/Dark Mode", scopedLabels: { appearance: "Light/Dark Mode" }, description: "Toggle the application styling between light and dark mode." }), new ee("defaultThemeMode", K, { 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("enableDarkGrid", K, { label: "Enable Dark Grid", description: "Allow the grid to render in dark 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("enableDarkImages", K, { label: "Enable Dark Images", description: "Allow the images to render in dark 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." })]), [...N, ...te, new wt("help", K, { label: "Show Help", description: "Provide Help.", shortcut: { key: "F1" } }, () => {
|
|
785
|
-
}), new wt("showKeyboardShortcuts", K, { label: "Keyboard Shortcuts", description: "Show keyboard shortcuts.", shortcut: { key: "/", modifiers: [ve.Ctrl] } }, () => {
|
|
786
|
-
}), new ee("gotoUrlGithub", K, { label: "Github", description: "Download examples, explore source code, and leave a star." }, () => {
|
|
787
|
-
window?.open("https://github.com/sheetxl/sheetxl");
|
|
788
|
-
}), new ee("gotoUrlDiscord", K, { label: "Discord", description: "Join our community on discord." }, () => {
|
|
789
|
-
window?.open("https://discord.gg/NTKdwUgK9p");
|
|
790
|
-
}), new ee("gotoUrlDocumentation", K, { label: "Documentation", description: "Read the documentation." }, () => {
|
|
791
|
-
window?.open("https://www.sheetxl.com/docs");
|
|
792
|
-
}), new ee("gotoUrlIssue", K, { label: "Create Issue", description: "Create an issue to identify a bug or a feature request." }, () => {
|
|
793
|
-
window?.open("https://github.com/sheetxl/sheetxl/issues");
|
|
794
|
-
})];
|
|
795
|
-
}, [y, F, _, M, A, V, C]), Z = s.useMemo(() => {
|
|
796
|
-
let N = null;
|
|
797
|
-
return N = V ? V.createChildGroup(K, "standaloneWorkbook", !1) : new zt(K, "standaloneWorkbook"), N.addCommands(ue, !0), N;
|
|
798
|
-
}, [V, ue]);
|
|
799
|
-
Fn({ manager: C, commands: Z, notifier: _ });
|
|
800
|
-
const { themeMode: ye } = Ht();
|
|
801
|
-
s.useEffect(() => {
|
|
802
|
-
if (!A || !Z) return;
|
|
803
|
-
const N = A.mode === "dark" || !A.mode && ye === "dark";
|
|
804
|
-
Z.getCommand("themeMode").update({ state: A.mode ?? null, label: N ? "Dark Mode" : "Light Mode", scopedLabels: { appearance: N ? "Dark Mode" : "Light Mode" } }).updateCallback(() => {
|
|
805
|
-
J(N ? nt.Light : nt.Dark);
|
|
806
|
-
}), Z.getCommand("defaultThemeMode").update({ state: !A.mode }).updateCallback(() => {
|
|
807
|
-
J(null);
|
|
808
|
-
}), Z.getCommand("enableDarkGrid").update({ state: A.enableDarkGrid }).updateCallback(() => {
|
|
809
|
-
ie(!A.enableDarkGrid);
|
|
810
|
-
}), Z.getCommand("enableDarkImages").update({ state: A.enableDarkImages }).updateCallback(() => {
|
|
811
|
-
fe(!A.enableDarkImages);
|
|
812
|
-
});
|
|
813
|
-
}, [ye, A, ue]);
|
|
814
|
-
const { showModal: Re } = Hn();
|
|
815
|
-
return s.useEffect(() => {
|
|
816
|
-
const N = () => new Promise((te, O) => {
|
|
817
|
-
const h = L.lazy(() => import("./CHjb5a2xwEWs4RgS.mjs")), S = Re(h, { title: "Shortcut Keys Reference", commands: Z, onDone: () => {
|
|
818
|
-
S.hide();
|
|
819
|
-
}, TransitionProps: { onExited: () => {
|
|
820
|
-
te(!0);
|
|
821
|
-
} } });
|
|
822
|
-
});
|
|
823
|
-
Z.getCommand("showKeyboardShortcuts").updateCallback(() => N()), Z.getCommand("help").updateCallback(() => N());
|
|
824
|
-
}, [ue, Z]), Z;
|
|
825
|
-
})({ workbook: r, setWorkbook: t, importExportDisabled: f, workbookTitle: a, setWorkbookTitle: i, commands: d, requestWorkbookTitle: (U) => new Promise((y) => {
|
|
826
|
-
n.current ? n.current.requestWorkbookTitle((T, M) => {
|
|
827
|
-
y(T);
|
|
828
|
-
}, { selectAll: !0, requestReason: U }) : y(c);
|
|
829
|
-
}), themeOptions: b, undoManager: u, notifier: q, onExecute: I });
|
|
830
|
-
s.useEffect(() => {
|
|
831
|
-
w.starting.size <= 0 || !w.isMounted || g((U) => {
|
|
832
|
-
const y = new Map(U.running);
|
|
833
|
-
return U.starting.forEach((T, M) => {
|
|
834
|
-
const F = () => {
|
|
835
|
-
g((z) => {
|
|
836
|
-
const _ = new Map(z.running);
|
|
837
|
-
return _.delete(M), { ...z, running: _ };
|
|
838
|
-
});
|
|
839
|
-
};
|
|
840
|
-
y.set(M, F), T(F);
|
|
841
|
-
}), { ...U, starting: /* @__PURE__ */ new Map(), running: y };
|
|
842
|
-
});
|
|
843
|
-
}, [w]);
|
|
844
|
-
const [G, Q] = s.useState(null);
|
|
845
|
-
s.useEffect(() => {
|
|
846
|
-
w.starting.size !== 0 || w.running.size !== 0 ? Q(p.jsx(_t, { icon: p.jsx(zn, { sx: { transform: "scale(0.7)", marginLeft: "-6px" } }), panel: !0, label: w.label, onMount: m, onUnmount: D, sx: { position: "absolute", left: "0", top: "0", width: "100%", height: "100%", zIndex: "9999" } })) : Q(null);
|
|
847
|
-
}, [w.starting, w.running]);
|
|
848
|
-
const ae = s.useMemo(() => p.jsx(_n, { commands: B, disableHover: !0, sx: { padding: "0" }, buttonProps: { sx: { maxHeight: "22px" } } }), [B]), P = { notifier: q, commands: B };
|
|
849
|
-
return r && (P.statusBarProps = { childrenEnd: ae }), p.jsxs(p.Fragment, { children: [G, l ? L.cloneElement(l, P) : null] });
|
|
850
|
-
}));
|
|
851
|
-
an.displayName = "SnackbarAndCommandsWrapper";
|
|
852
|
-
const ct = s.memo(s.forwardRef((e, o) => {
|
|
853
|
-
const { className: r, sx: t, style: n, onElementLoad: a, onError: i, undoManager: c, errorPanel: l = hn, onKeyDown: u, workbook: d, createWorkbookOptions: f, onWorkbookChange: b, logo: v, importExportDisabled: x = !1, themeOptions: k, autoFocus: w = !1, commands: g, title: m, onTitleChange: D, titleProps: E, renderLoadingPanel: R, ...j } = e, H = s.useRef(null), q = ne(b, [b]), I = ne(D ?? E?.onTitleChange, [D ?? E?.onTitleChange]), B = E?.placeHolder ?? "Untitled", G = k?.mode, { themeMode: Q, source: ae } = Ht({ mode: G }), P = s.useMemo(() => ({ ...k, light: xt(!1, Ke.deepMerge(k?.theme ?? {}, k?.light ?? {})), dark: xt(!0, Ke.deepMerge(k?.theme ?? {}, k?.dark ?? {})) }), [k]), U = Q === nt.Dark, [y, T] = s.useState(null);
|
|
854
|
-
s.useEffect(() => {
|
|
855
|
-
T(c ?? new gn());
|
|
856
|
-
}, [c]);
|
|
857
|
-
const [M, F] = s.useState(null), [z, _] = s.useState(null), ce = kn();
|
|
858
|
-
s.useLayoutEffect(() => {
|
|
859
|
-
if (!d || Object.keys(d).length === 0 && !Ke.isPromiseLike(d)) {
|
|
860
|
-
const h = { theme: ce.getDefaultTheme(), ...f };
|
|
861
|
-
_(new yt(h));
|
|
862
|
-
} else _(d);
|
|
863
|
-
}, [d]), s.useLayoutEffect(() => {
|
|
864
|
-
if (z) {
|
|
865
|
-
if (z instanceof yt) return F({ workbook: z }), void (d !== z && q?.(z));
|
|
866
|
-
(async () => {
|
|
867
|
-
try {
|
|
868
|
-
let h, S = await Promise.resolve(z);
|
|
869
|
-
S && S.source && (S = await pe.read(S)), S.workbook ? (J(S.title), h = S.workbook) : h = S, q?.(h), F({ workbook: h });
|
|
870
|
-
} catch (h) {
|
|
871
|
-
q?.(null), F({ error: h });
|
|
872
|
-
}
|
|
873
|
-
})();
|
|
874
|
-
}
|
|
875
|
-
}, [z]);
|
|
876
|
-
const [A, C] = s.useState(null);
|
|
877
|
-
s.useEffect(() => {
|
|
878
|
-
if (!y || !M) return;
|
|
879
|
-
y.clear();
|
|
880
|
-
const h = M?.workbook?.getTransactions();
|
|
881
|
-
return h ? h.addListener({ onCommitEnd: (S) => {
|
|
882
|
-
S.getDescription() ? y.addUndoOperation({ description: S.getDescription(), undo: () => (h.revert(S.getId()), A.source?.focus(), () => {
|
|
883
|
-
h.restore(S.getId()), A.source?.focus();
|
|
884
|
-
}) }) : console.warn("commit has no description", S);
|
|
885
|
-
} }) : void 0;
|
|
886
|
-
}, [y, M, A]);
|
|
887
|
-
const V = ne((h) => {
|
|
888
|
-
h ? y.setRepeatableOperation({ description: h.label(), repeat: async () => h.execute() }) : y.setRepeatableOperation(null);
|
|
889
|
-
}, [y]), [$, J] = s.useState(m ?? E?.title ?? "");
|
|
890
|
-
s.useEffect(() => {
|
|
891
|
-
J(m ?? E?.title ?? "");
|
|
892
|
-
}, [m ?? E?.title]), s.useEffect(() => {
|
|
893
|
-
I?.($);
|
|
894
|
-
}, [$]);
|
|
895
|
-
const [ie, fe] = s.useState(null), he = s.useMemo(() => {
|
|
896
|
-
const h = () => ({ contains: (S) => !0, focus() {
|
|
897
|
-
} });
|
|
898
|
-
return g ? g.createChildGroup(h, "application", !1) : new zt(h, "application");
|
|
899
|
-
}, [g]), We = ne((h) => {
|
|
900
|
-
fe(h.source.getViewportElement()), C(h), he.activate("sheet"), a?.(h);
|
|
901
|
-
}, [he]);
|
|
902
|
-
s.useEffect(() => {
|
|
903
|
-
A && w && A.source?.focus(typeof w == "object" ? w : void 0);
|
|
904
|
-
}, [A]);
|
|
905
|
-
const K = s.useRef(null), ue = s.useCallback((h) => {
|
|
906
|
-
let S = null;
|
|
907
|
-
return E?.hidden || (S = p.jsx(bn, { ...E, style: { maxWidth: "100%", ...E?.style }, workbook: H.current, ref: K, title: $, placeHolder: B, onTitleChange: (X) => {
|
|
908
|
-
J(X);
|
|
909
|
-
} })), p.jsx(rn, { ...h, logo: v, mainElement: S, showFileMenu: !x, showAppearanceMenu: !!(P?.onEnabledDarkGridChange || P?.onEnabledDarkImagesChange || P?.onModeChange) });
|
|
910
|
-
}, [v, $, E, P, x, he]);
|
|
911
|
-
s.useEffect(() => {
|
|
912
|
-
const h = (S) => S.preventDefault();
|
|
913
|
-
return H.current?.addEventListener("wheel", h, { passive: !1 }), () => {
|
|
914
|
-
H.current?.removeEventListener("wheel", h);
|
|
915
|
-
};
|
|
916
|
-
}, []);
|
|
917
|
-
const Z = s.useMemo(() => {
|
|
918
|
-
const h = { transparentBackground: !0 };
|
|
919
|
-
return p.jsx(se, { sx: t, style: { position: "absolute", top: 0, left: 0, right: 0, bottom: 0, display: "flex", alignItems: "center", justifyContent: "center", ...n }, children: R?.(h) ?? p.jsx(_t, { ...h }) });
|
|
920
|
-
}, [t, n, R]), ye = s.useCallback(({ error: h }) => (i?.(h), p.jsx(l, { sx: t, style: n, error: h ?? "Unable to display empty workbook." })), [t, n, i]), Re = s.useMemo(() => ({ ...t, "& .SnackbarContainer-root": { position: "absolute !important" }, "& .notistack-Snackbar": { minWidth: "unset" }, "& .notistack-MuiContent *": { fontFamily: (h) => h.typography.fontFamily }, "& #notistack-snackbar": { maxWidth: "560px", whiteSpace: "pre-wrap" }, "*": { userSelect: "none" } }), [t]), N = qt([H, o]), te = s.useMemo(() => {
|
|
921
|
-
if (!M) return Z;
|
|
922
|
-
if (M.error || !M.workbook) return ye({ error: M.error });
|
|
923
|
-
let h = null, S = null, X = !1;
|
|
924
|
-
return P && (h = U ? P.dark : P.light, S = U && P.enableDarkGrid ? P.dark : P.light, X = P.enableDarkImages), p.jsx(xn, { sx: Re, style: n, tabIndex: 0, autoFocus: !0, workbook: M.workbook, ref: N, renderToolbar: ue, onElementLoad: We, onRepeatCommandChange: V, onKeyDown: (Y) => {
|
|
925
|
-
u?.(Y);
|
|
926
|
-
}, renderLoadingPanel: R, gridTheme: S, headersTheme: h, enableDarkImages: X, className: ot(r, "sheetxl-workbook"), onContextMenu: (Y) => Y.preventDefault(), ...j }, "WorkbookElement");
|
|
927
|
-
}, [M, $, y, Z, R, P, j, ue, Re]);
|
|
928
|
-
let O = p.jsx(go, { fallbackRender: ye, children: p.jsx(Oo, { maxSnack: 3, domRoot: ie, anchorOrigin: { vertical: "bottom", horizontal: "right" }, autoHideDuration: 3500, onClose: (h, S, X) => {
|
|
929
|
-
H.current?.focus();
|
|
930
|
-
}, Components: { error: nn }, iconVariant: { success: p.jsx(vn, { style: { marginRight: "8px" }, children: p.jsx("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: p.jsx(wn, { style: { marginRight: "8px" } }) }, children: p.jsx(yn, { children: p.jsx(an, { workbook: M?.workbook, setWorkbook: _, importExportDisabled: x, titlePlaceHolder: B, titleWorkbook: $, setWorkbookTitle: J, refWorkbookTitle: K, commands: he, undoManager: y, themeOptions: P, children: te }) }) }) });
|
|
931
|
-
return P && (O = p.jsxs(En, { theme: U ? P.dark : P.light, children: [P.cssBaseline ? p.jsx(mo, {}) : null, O] })), O;
|
|
932
|
-
}));
|
|
933
|
-
ct.displayName = "EagerStudio";
|
|
934
|
-
const Wo = Object.freeze(Object.defineProperty({ __proto__: null, EagerStudio: ct, default: ct }, Symbol.toStringTag, { value: "Module" })), Ao = Object.freeze(Object.defineProperty({ __proto__: null, E: Wo, c: le }, Symbol.toStringTag, { value: "Module" }));
|
|
935
|
-
export {
|
|
936
|
-
at as C,
|
|
937
|
-
Ao as a,
|
|
938
|
-
le as h
|
|
939
|
-
};
|