@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,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.14
|
|
3
|
-
*
|
|
4
|
-
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
|
-
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
-
*/
|
|
7
|
-
let a = null;
|
|
8
|
-
const m = { reactUrl: "https://esm.sh/react@19.1.0", reactJsxTransform: "https://esm.sh/react@19.1.0/jsx-runtime", reactDomUrl: "https://esm.sh/react-dom@19.1.0", reactDomUrlClient: "https://esm.sh/react-dom@19.1.0/client" }, i = (e) => (e = { ...e, ...m }, a || (a = (async () => {
|
|
9
|
-
const s = e.reactUrl, n = e.reactDomUrl, o = e.reactDomUrlClient, c = e.reactJsxTransform;
|
|
10
|
-
if (document.querySelector('script[type="importmap"]')) console.warn("SheetXL: Import map already exists. Skipping injection.");
|
|
11
|
-
else {
|
|
12
|
-
const t = document.createElement("script");
|
|
13
|
-
t.type = "importmap", t.textContent = JSON.stringify({ imports: { react: s, "react/jsx-runtime": c, "react-dom": n, "react-dom/client": o } }), document.head.appendChild(t);
|
|
14
|
-
}
|
|
15
|
-
await new Promise((t) => setTimeout(t, 0));
|
|
16
|
-
const r = await Promise.all([import("./BbW_1O3cEhZ4aSgS.mjs").then((t) => t.R), import("./BbW_1O3cEhZ4aSgS.mjs").then((t) => t.a), import("./BbW_1O3cEhZ4aSgS.mjs").then((t) => t.i), import("./BbW_1O3cEhZ4aSgS.mjs").then((t) => t.b), import("./BbW_1O3cEhZ4aSgS.mjs").then((t) => t.bQ)]);
|
|
17
|
-
return { React: r[0], ReactJSXTransform: r[1], ReactDOM: r[2], ReactDOMClient: r[3], StudioMUI: r[4] };
|
|
18
|
-
})(), a));
|
|
19
|
-
export {
|
|
20
|
-
i as resolveDependencies
|
|
21
|
-
};
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { r as s, a1 as p, bb as E, L as n, j as t, v as R, B as k, F as O, bc as W, bd as G, d as c, be as u, T as H, an as F, bf as K } 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
|
-
const q = ["Ok", "Cancel"], J = s.memo((S) => {
|
|
9
|
-
const { initialValue: w, context: f, onOption: b, onValidateOption: d, onInputOption: h, onDone: m, options: C = q, defaultOption: r = C?.[0], cancelOption: g = "Cancel", sx: P, ...D } = S, [a, v] = s.useState(w), [$, I] = s.useState(!1), x = s.useCallback(async (e, o) => !0, []), y = p(async (e) => {
|
|
10
|
-
h?.(a, e), b?.(e, e === g, e === r), m?.();
|
|
11
|
-
}, [a, h, m, b, g, r]), M = p(async (e) => {
|
|
12
|
-
e.keyCode === E.Enter && await x?.(a, null) !== !1 && y(r);
|
|
13
|
-
}, [a, y]), N = p((e) => {
|
|
14
|
-
v(e.target.value), x?.(e.target.value, null);
|
|
15
|
-
}, [d]), V = p(async (e) => {
|
|
16
|
-
let o = await Promise.resolve(d?.(e));
|
|
17
|
-
try {
|
|
18
|
-
o !== !1 && (o = await Promise.resolve(x?.(a, e)) ?? !0);
|
|
19
|
-
} catch {
|
|
20
|
-
}
|
|
21
|
-
return o ?? !0;
|
|
22
|
-
}, [d]), [T, j] = s.useState(n.Styles.lookupStyle(a).formatType ?? n.Type.Custom);
|
|
23
|
-
s.useEffect(() => {
|
|
24
|
-
j(n.Styles.lookupStyle(a).formatType ?? n.Type.Custom);
|
|
25
|
-
}, [a]);
|
|
26
|
-
const B = s.useMemo(() => {
|
|
27
|
-
const e = n.Styles.lookupPrimary(), o = (l) => t.jsx(K, { value: l, children: l }, l), i = Object.keys(e).map((l) => o(e[l].formatType));
|
|
28
|
-
return i.push(o(n.Type.Custom)), i;
|
|
29
|
-
}, []), L = s.useCallback((e) => {
|
|
30
|
-
const o = e.target.value;
|
|
31
|
-
j(o);
|
|
32
|
-
const i = n.Styles.lookupDefault(o);
|
|
33
|
-
i && v(i);
|
|
34
|
-
}, []), z = s.useMemo(() => {
|
|
35
|
-
const e = f();
|
|
36
|
-
return e.createTemporaryCell({ value: e.getValue() ?? 12345, style: { numberFormat: a } });
|
|
37
|
-
}, [T, a, f]);
|
|
38
|
-
return t.jsx(R, { title: "Number Format", options: C, onDone: m, onOption: (e) => y(e), onValidateOption: V, defaultOption: r, cancelOption: g, autoFocusSel: ".autoFocus", sx: { width: "580px", ...P }, ...D, children: t.jsxs(k, { sx: { paddingTop: (e) => e.spacing(1), paddingBottom: (e) => e.spacing(0), rowGap: (e) => e.spacing(1), display: "flex", flexDirection: "column" }, children: [t.jsxs(O, { sx: { minWidth: 135 }, size: "small", children: [t.jsx(W, { children: "Category" }), t.jsx(G, { value: T, label: "Category", onChange: L, sx: { backgroundImage: `linear-gradient(${c("#fff", u(5))}, ${c("#fff", u(5))})` }, children: B })] }), t.jsx(O, { sx: { paddingTop: (e) => e.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: t.jsx(H, { label: "Code", onFocus: (e) => {
|
|
39
|
-
$ || e.target?.select(), I(!0);
|
|
40
|
-
}, 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(${c("#fff", u(5))}, ${c("#fff", u(5))})` } } }, value: a, onChange: N, onKeyDown: M, onContextMenu: (e) => {
|
|
41
|
-
e.stopPropagation();
|
|
42
|
-
} }) }), t.jsxs(k, { children: [t.jsx(F, { variant: "caption", component: "div", sx: { paddingLeft: (e) => e.spacing(2) }, children: "Preview" }), t.jsx(F, { variant: "body2", component: "div", sx: { borderRadius: (e) => `${e.shape.borderRadius}px`, padding: (e) => e.spacing(1), border: (e) => `1px solid ${e.palette.grey[400]}` }, children: z.getNumberFormat().displayText || "(empty)" })] })] }) });
|
|
43
|
-
});
|
|
44
|
-
export {
|
|
45
|
-
J as NumberFormatDialog,
|
|
46
|
-
J as default
|
|
47
|
-
};
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { r as o, k as e, c as z, j as i, v as E, B as G, F as K, T as R, d as O, G as W, t as y } 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
|
-
const q = ["Input"], J = o.memo(o.forwardRef((w, T) => {
|
|
9
|
-
const { initialValue: F = "", onOption: v, onValidateOption: l, onInputOption: r, onValidateInputOption: p, onDone: u, inputProps: c, inputLabel: I, inputType: P, inputPlaceHolder: S, options: d = q, autoFocusSel: j = ".autoFocus", cancelOption: g, defaultOption: f = d?.[0], ...k } = w, [C, b] = o.useState(!1), [a, V] = o.useState(F), [B, D] = o.useState(""), [H, L] = o.useState(!0), s = e(async (t, n) => {
|
|
10
|
-
if (!p) return !0;
|
|
11
|
-
const h = await p?.(t, n);
|
|
12
|
-
D(h?.message ?? "");
|
|
13
|
-
const x = h?.valid ?? !0;
|
|
14
|
-
return L(x), x;
|
|
15
|
-
}, [p]), m = e(async (t) => {
|
|
16
|
-
r?.(a, t);
|
|
17
|
-
}, [a, r, u, v, g, f]), M = e(async (t) => {
|
|
18
|
-
t.keyCode === z.Enter && await s?.(a, null);
|
|
19
|
-
}, [a, m]), N = e((t) => {
|
|
20
|
-
V(t.target.value), s?.(t.target.value, null);
|
|
21
|
-
}, [l]), $ = e(async (t) => {
|
|
22
|
-
let n = await s(a, t);
|
|
23
|
-
try {
|
|
24
|
-
n !== !1 && (n = await s(a, t));
|
|
25
|
-
} catch {
|
|
26
|
-
}
|
|
27
|
-
return n ?? !0;
|
|
28
|
-
}, [a, l]);
|
|
29
|
-
return i.jsx(E, { options: d, onDone: u, onOption: (t, n) => {
|
|
30
|
-
n || m(t);
|
|
31
|
-
}, onValidateOption: $, cancelOption: g, defaultOption: f, autoFocusSel: j, ref: T, ...k, children: i.jsx(G, { sx: { paddingTop: (t) => t.spacing(1), paddingBottom: (t) => t.spacing(0) }, children: i.jsx(K, { sx: { paddingTop: (t) => t.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: i.jsx(R, { onFocus: (t) => {
|
|
32
|
-
C || t.target?.select(), b(!0);
|
|
33
|
-
}, type: P, label: I, helperText: B || " ", sx: { width: "100%", "& .MuiFormHelperText-root": { marginTop: (t) => t.spacing(0.5), color: H ? void 0 : "error.main" } }, InputLabelProps: { shrink: !0 }, InputProps: { inputProps: { placeholder: S, spellCheck: !1, autoComplete: "off", ...c, className: W("autoFocus", c?.className), sx: { paddingTop: (t) => t.spacing(1.25), paddingBottom: (t) => t.spacing(0.75), backgroundImage: `linear-gradient(${O("#fff", y(5))}, ${O("#fff", y(5))})` } } }, value: a, onChange: N, onKeyDown: M, onContextMenu: (t) => {
|
|
34
|
-
t.stopPropagation();
|
|
35
|
-
} }) }) }) });
|
|
36
|
-
}));
|
|
37
|
-
export {
|
|
38
|
-
J as default
|
|
39
|
-
};
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { a as l } from "./Dm0hrXCbV7DITOhi.js";
|
|
2
|
-
import { r as s } from "./CrBywNOOyPHSBoTT.js";
|
|
3
|
-
import { a7 as u, v as B, B as M, f as S, g as E, h, b6 as C } from "./EYTSqAG9YOdb1vKx.js";
|
|
4
|
-
/**
|
|
5
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.14
|
|
6
|
-
*
|
|
7
|
-
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
8
|
-
* License: The license can be found at https://www.sheetxl.com/license.
|
|
9
|
-
*/
|
|
10
|
-
const V = ["Ok", "Cancel"], H = s.memo((O) => {
|
|
11
|
-
const { initialComments: b = null, onUpdateComments: m, context: k, onOption: d, onValidateOption: p, onDone: c, options: g = V, defaultOption: r = g?.[0], cancelOption: i = "Cancel", sx: v, ...w } = O, f = s.useMemo(() => {
|
|
12
|
-
const t = b ?? k?.()?.getComments();
|
|
13
|
-
let n = "";
|
|
14
|
-
if (t && t.content && t.content.runs) {
|
|
15
|
-
const a = t.content.runs;
|
|
16
|
-
for (let o = 0; o < a.length; o++) {
|
|
17
|
-
const I = a[o];
|
|
18
|
-
n += I?.text;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
return n;
|
|
22
|
-
}, []), [e, y] = s.useState(f), [F, P] = s.useState(!1), x = s.useCallback(async (t, n) => null, []), T = u(async (t) => {
|
|
23
|
-
const n = e === "" ? [] : e.split(`
|
|
24
|
-
`);
|
|
25
|
-
if (t !== i) {
|
|
26
|
-
const a = [];
|
|
27
|
-
for (let o = 0; o < n.length; o++) a.push({ text: n[o] });
|
|
28
|
-
m?.({ content: { runs: a } });
|
|
29
|
-
}
|
|
30
|
-
d?.(t, t === i, t === r), c?.();
|
|
31
|
-
}, [e, m, c, d, r, i]), j = u((t) => {
|
|
32
|
-
y(t.target.value), x(t.target.value, null);
|
|
33
|
-
}, [p]), D = u(async (t) => {
|
|
34
|
-
let n = await Promise.resolve(p?.(t));
|
|
35
|
-
try {
|
|
36
|
-
n !== !1 && (n = await x(e, t));
|
|
37
|
-
} catch {
|
|
38
|
-
}
|
|
39
|
-
return n ?? !0;
|
|
40
|
-
}, [p, e]);
|
|
41
|
-
return l.jsx(B, { title: (f ? "Edit" : "Insert") + " Comments", options: g, onDone: c, onOption: (t) => T(t), onValidateOption: D, defaultOption: r, cancelOption: i, autoFocusSel: ".autoFocus", sx: { width: "480px", ...v }, ...w, children: l.jsx(M, { sx: { paddingTop: (t) => t.spacing(1), paddingBottom: (t) => t.spacing(0), rowGap: (t) => t.spacing(1), display: "flex", flexDirection: "column" }, children: l.jsx(S, { sx: { paddingTop: (t) => t.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: l.jsx(E, { label: "Comments", placeholder: "Enter a comment.", onFocus: (t) => {
|
|
42
|
-
F || t.target?.select(), P(!0);
|
|
43
|
-
}, sx: { "& .MuiFormHelperText-root": { marginTop: (t) => t.spacing(0.5) } }, InputLabelProps: { shrink: !0 }, InputProps: { inputProps: { className: "autoFocus", spellCheck: !1, autoComplete: "off", sx: { paddingTop: (t) => t.spacing(1.25), paddingBottom: (t) => t.spacing(0.75), backgroundImage: `linear-gradient(${h("#fff", C(5))}, ${h("#fff", C(5))})` } } }, value: e, onChange: j, onContextMenu: (t) => {
|
|
44
|
-
t.stopPropagation();
|
|
45
|
-
} }) }) }) });
|
|
46
|
-
});
|
|
47
|
-
export {
|
|
48
|
-
H as CommentsDialog,
|
|
49
|
-
H as default
|
|
50
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { a } from "./Dm0hrXCbV7DITOhi.js";
|
|
2
|
-
import { r as n } from "./CrBywNOOyPHSBoTT.js";
|
|
3
|
-
import { a7 as D, v as N, B as S, bo as T, b1 as k, b2 as v } from "./EYTSqAG9YOdb1vKx.js";
|
|
4
|
-
/**
|
|
5
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.14
|
|
6
|
-
*
|
|
7
|
-
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
8
|
-
* License: The license can be found at https://www.sheetxl.com/license.
|
|
9
|
-
*/
|
|
10
|
-
const w = ["Ok", "Cancel"], I = n.memo((g) => {
|
|
11
|
-
const { tableOptions: t, context: p, onOption: r, onValidateOption: y, onDone: c, options: d = w, defaultOption: s = d?.[0], cancelOption: l = "Cancel", sx: m, ...x } = g, [b, h] = n.useState(!1), [o, O] = n.useState(() => t?.hasHeader ?? !1), [i, f] = n.useState(() => t?.ranges ?? null), j = D((e) => {
|
|
12
|
-
const u = { ...t, hasHeader: o, ranges: i };
|
|
13
|
-
r?.(e, e === l, e === s), c?.({ option: e, tableOptions: u });
|
|
14
|
-
}, [c, r, s, l, o, i, t]), C = n.useCallback(async (e, u) => null, []);
|
|
15
|
-
return a.jsx(N, { title: "Insert Table", options: d, onDone: j, onValidateOption: C, defaultOption: s, cancelOption: l, autoFocusSel: ".range-input input", sx: { width: "360px", ...m }, ...x, children: a.jsxs(S, { sx: { paddingTop: (e) => e.spacing(1), paddingBottom: (e) => e.spacing(0), rowGap: (e) => e.spacing(1), display: "flex", flexDirection: "column" }, children: [a.jsx(T, { formName: "range", value: i, onChangeInput: (e) => f(e), resolvedAddress: p.getNames().getRanges.bind(p.getNames()), onFocus: (e) => {
|
|
16
|
-
b || e.target?.select(), h(!0);
|
|
17
|
-
} }), a.jsx(k, { control: a.jsx(v, { checked: o, onChange: () => O(!o) }), label: "Table has headers", labelPlacement: "end" })] }) });
|
|
18
|
-
});
|
|
19
|
-
export {
|
|
20
|
-
I as TableNewDialog,
|
|
21
|
-
I as default
|
|
22
|
-
};
|
|
@@ -1,390 +0,0 @@
|
|
|
1
|
-
import { r as c, y as T } from "./CrBywNOOyPHSBoTT.js";
|
|
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 me(e, t, r) {
|
|
9
|
-
return t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
|
|
10
|
-
}
|
|
11
|
-
function ne(e, t) {
|
|
12
|
-
var r = Object.keys(e);
|
|
13
|
-
if (Object.getOwnPropertySymbols) {
|
|
14
|
-
var n = Object.getOwnPropertySymbols(e);
|
|
15
|
-
t && (n = n.filter(function(o) {
|
|
16
|
-
return Object.getOwnPropertyDescriptor(e, o).enumerable;
|
|
17
|
-
})), r.push.apply(r, n);
|
|
18
|
-
}
|
|
19
|
-
return r;
|
|
20
|
-
}
|
|
21
|
-
function oe(e) {
|
|
22
|
-
for (var t = 1; t < arguments.length; t++) {
|
|
23
|
-
var r = arguments[t] != null ? arguments[t] : {};
|
|
24
|
-
t % 2 ? ne(Object(r), !0).forEach(function(n) {
|
|
25
|
-
me(e, n, r[n]);
|
|
26
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : ne(Object(r)).forEach(function(n) {
|
|
27
|
-
Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
|
-
return e;
|
|
31
|
-
}
|
|
32
|
-
function ie(e, t) {
|
|
33
|
-
(t == null || t > e.length) && (t = e.length);
|
|
34
|
-
for (var r = 0, n = new Array(t); r < t; r++) n[r] = e[r];
|
|
35
|
-
return n;
|
|
36
|
-
}
|
|
37
|
-
function ye(e, t, r) {
|
|
38
|
-
return t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
|
|
39
|
-
}
|
|
40
|
-
function ue(e, t) {
|
|
41
|
-
var r = Object.keys(e);
|
|
42
|
-
if (Object.getOwnPropertySymbols) {
|
|
43
|
-
var n = Object.getOwnPropertySymbols(e);
|
|
44
|
-
t && (n = n.filter(function(o) {
|
|
45
|
-
return Object.getOwnPropertyDescriptor(e, o).enumerable;
|
|
46
|
-
})), r.push.apply(r, n);
|
|
47
|
-
}
|
|
48
|
-
return r;
|
|
49
|
-
}
|
|
50
|
-
function ce(e) {
|
|
51
|
-
for (var t = 1; t < arguments.length; t++) {
|
|
52
|
-
var r = arguments[t] != null ? arguments[t] : {};
|
|
53
|
-
t % 2 ? ue(Object(r), !0).forEach(function(n) {
|
|
54
|
-
ye(e, n, r[n]);
|
|
55
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : ue(Object(r)).forEach(function(n) {
|
|
56
|
-
Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
|
|
57
|
-
});
|
|
58
|
-
}
|
|
59
|
-
return e;
|
|
60
|
-
}
|
|
61
|
-
function V(e) {
|
|
62
|
-
return function t() {
|
|
63
|
-
for (var r = this, n = arguments.length, o = new Array(n), i = 0; i < n; i++) o[i] = arguments[i];
|
|
64
|
-
return o.length >= e.length ? e.apply(this, o) : function() {
|
|
65
|
-
for (var a = arguments.length, u = new Array(a), s = 0; s < a; s++) u[s] = arguments[s];
|
|
66
|
-
return t.apply(r, [].concat(o, u));
|
|
67
|
-
};
|
|
68
|
-
};
|
|
69
|
-
}
|
|
70
|
-
function U(e) {
|
|
71
|
-
return {}.toString.call(e).includes("Object");
|
|
72
|
-
}
|
|
73
|
-
function L(e) {
|
|
74
|
-
return typeof e == "function";
|
|
75
|
-
}
|
|
76
|
-
var R = V(function(e, t) {
|
|
77
|
-
throw new Error(e[t] || e.default);
|
|
78
|
-
})({ initialIsRequired: "initial state is required", initialType: "initial state should be an object", initialContent: "initial state shouldn't be an empty object", handlerType: "handler should be an object or a function", handlersType: "all handlers should be a functions", selectorType: "selector should be a function", changeType: "provided value of changes should be an object", changeField: 'it seams you want to change a field in the state which is not specified in the "initial" state', default: "an unknown error accured in `state-local` package" }), ve = function(e, t) {
|
|
79
|
-
return U(t) || R("changeType"), Object.keys(t).some(function(r) {
|
|
80
|
-
return n = e, o = r, !Object.prototype.hasOwnProperty.call(n, o);
|
|
81
|
-
var n, o;
|
|
82
|
-
}) && R("changeField"), t;
|
|
83
|
-
};
|
|
84
|
-
function be(e, t) {
|
|
85
|
-
return L(t) ? t(e.current) : t;
|
|
86
|
-
}
|
|
87
|
-
function we(e, t) {
|
|
88
|
-
return e.current = ce(ce({}, e.current), t), t;
|
|
89
|
-
}
|
|
90
|
-
function Oe(e, t, r) {
|
|
91
|
-
return L(t) ? t(e.current) : Object.keys(r).forEach(function(n) {
|
|
92
|
-
var o;
|
|
93
|
-
return (o = t[n]) === null || o === void 0 ? void 0 : o.call(t, e.current[n]);
|
|
94
|
-
}), r;
|
|
95
|
-
}
|
|
96
|
-
var Q, se = { configIsRequired: "the configuration object is required", configType: "the configuration object should be an object", default: "an unknown error accured in `@monaco-editor/loader` package", deprecation: `Deprecation warning!
|
|
97
|
-
You are using deprecated way of configuration.
|
|
98
|
-
|
|
99
|
-
Instead of using
|
|
100
|
-
monaco.config({ urls: { monacoBase: '...' } })
|
|
101
|
-
use
|
|
102
|
-
monaco.config({ paths: { vs: '...' } })
|
|
103
|
-
|
|
104
|
-
For more please check the link https://github.com/suren-atoyan/monaco-loader#config
|
|
105
|
-
` }, ae = (Q = function(e, t) {
|
|
106
|
-
throw new Error(e[t] || e.default);
|
|
107
|
-
}, function e() {
|
|
108
|
-
for (var t = this, r = arguments.length, n = new Array(r), o = 0; o < r; o++) n[o] = arguments[o];
|
|
109
|
-
return n.length >= Q.length ? Q.apply(this, n) : function() {
|
|
110
|
-
for (var i = arguments.length, a = new Array(i), u = 0; u < i; u++) a[u] = arguments[u];
|
|
111
|
-
return e.apply(t, [].concat(n, a));
|
|
112
|
-
};
|
|
113
|
-
})(se);
|
|
114
|
-
function fe(e, t) {
|
|
115
|
-
return Object.keys(t).forEach(function(r) {
|
|
116
|
-
t[r] instanceof Object && e[r] && Object.assign(t[r], fe(e[r], t[r]));
|
|
117
|
-
}), oe(oe({}, e), t);
|
|
118
|
-
}
|
|
119
|
-
var je = { type: "cancelation", msg: "operation is manually canceled" };
|
|
120
|
-
function W(e) {
|
|
121
|
-
var t = !1, r = new Promise(function(n, o) {
|
|
122
|
-
e.then(function(i) {
|
|
123
|
-
return t ? o(je) : n(i);
|
|
124
|
-
}), e.catch(o);
|
|
125
|
-
});
|
|
126
|
-
return r.cancel = function() {
|
|
127
|
-
return t = !0;
|
|
128
|
-
}, r;
|
|
129
|
-
}
|
|
130
|
-
var X, de = function(e) {
|
|
131
|
-
if (Array.isArray(e)) return e;
|
|
132
|
-
}(X = function(e) {
|
|
133
|
-
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
134
|
-
(function(u) {
|
|
135
|
-
var s;
|
|
136
|
-
u || R("initialIsRequired"), U(u) || R("initialType"), s = u, Object.keys(s).length || R("initialContent");
|
|
137
|
-
})(e), function(u) {
|
|
138
|
-
L(u) || U(u) || R("handlerType"), U(u) && Object.values(u).some(function(s) {
|
|
139
|
-
return !L(s);
|
|
140
|
-
}) && R("handlersType");
|
|
141
|
-
}(t);
|
|
142
|
-
var r = { current: e }, n = V(Oe)(r, t), o = V(we)(r), i = V(ve)(e), a = V(be)(r);
|
|
143
|
-
return [function() {
|
|
144
|
-
var u = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : function(s) {
|
|
145
|
-
return s;
|
|
146
|
-
};
|
|
147
|
-
return function(s) {
|
|
148
|
-
L(s) || R("selectorType");
|
|
149
|
-
}(u), u(r.current);
|
|
150
|
-
}, function(u) {
|
|
151
|
-
(function() {
|
|
152
|
-
for (var s = arguments.length, p = new Array(s), O = 0; O < s; O++) p[O] = arguments[O];
|
|
153
|
-
return function(b) {
|
|
154
|
-
return p.reduceRight(function(E, P) {
|
|
155
|
-
return P(E);
|
|
156
|
-
}, b);
|
|
157
|
-
};
|
|
158
|
-
})(n, o, i, a)(u);
|
|
159
|
-
}];
|
|
160
|
-
}({ config: { paths: { vs: "https://cdn.jsdelivr.net/npm/monaco-editor@0.52.2/min/vs" } }, isInitialized: !1, resolve: null, reject: null, monaco: null })) || function(e) {
|
|
161
|
-
if (typeof Symbol < "u" && Symbol.iterator in Object(e)) {
|
|
162
|
-
var t = [], r = !0, n = !1, o = void 0;
|
|
163
|
-
try {
|
|
164
|
-
for (var i, a = e[Symbol.iterator](); !(r = (i = a.next()).done) && (t.push(i.value), t.length !== 2); r = !0) ;
|
|
165
|
-
} catch (u) {
|
|
166
|
-
n = !0, o = u;
|
|
167
|
-
} finally {
|
|
168
|
-
try {
|
|
169
|
-
r || a.return == null || a.return();
|
|
170
|
-
} finally {
|
|
171
|
-
if (n) throw o;
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
return t;
|
|
175
|
-
}
|
|
176
|
-
}(X) || function(e) {
|
|
177
|
-
if (e) {
|
|
178
|
-
if (typeof e == "string") return ie(e, 2);
|
|
179
|
-
var t = Object.prototype.toString.call(e).slice(8, -1);
|
|
180
|
-
return t === "Object" && e.constructor && (t = e.constructor.name), t === "Map" || t === "Set" ? Array.from(e) : t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? ie(e, 2) : void 0;
|
|
181
|
-
}
|
|
182
|
-
}(X) || function() {
|
|
183
|
-
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
184
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
185
|
-
}(), z = de[0], B = de[1];
|
|
186
|
-
function Me(e) {
|
|
187
|
-
return document.body.appendChild(e);
|
|
188
|
-
}
|
|
189
|
-
function Ee(e) {
|
|
190
|
-
var t, r, n = z(function(i) {
|
|
191
|
-
return { config: i.config, reject: i.reject };
|
|
192
|
-
}), o = (t = "".concat(n.config.paths.vs, "/loader.js"), r = document.createElement("script"), t && (r.src = t), r);
|
|
193
|
-
return o.onload = function() {
|
|
194
|
-
return e();
|
|
195
|
-
}, o.onerror = n.reject, o;
|
|
196
|
-
}
|
|
197
|
-
function Pe() {
|
|
198
|
-
var e = z(function(r) {
|
|
199
|
-
return { config: r.config, resolve: r.resolve, reject: r.reject };
|
|
200
|
-
}), t = window.require;
|
|
201
|
-
t.config(e.config), t(["vs/editor/editor.main"], function(r) {
|
|
202
|
-
ge(r), e.resolve(r);
|
|
203
|
-
}, function(r) {
|
|
204
|
-
e.reject(r);
|
|
205
|
-
});
|
|
206
|
-
}
|
|
207
|
-
function ge(e) {
|
|
208
|
-
z().monaco || B({ monaco: e });
|
|
209
|
-
}
|
|
210
|
-
var Z = new Promise(function(e, t) {
|
|
211
|
-
return B({ resolve: e, reject: t });
|
|
212
|
-
}), Y = { config: function(e) {
|
|
213
|
-
var t = function(o) {
|
|
214
|
-
var i;
|
|
215
|
-
return o || ae("configIsRequired"), i = o, {}.toString.call(i).includes("Object") || ae("configType"), o.urls ? (console.warn(se.deprecation), { paths: { vs: o.urls.monacoBase } }) : o;
|
|
216
|
-
}(e), r = t.monaco, n = function(o, i) {
|
|
217
|
-
if (o == null) return {};
|
|
218
|
-
var a, u, s = function(O, b) {
|
|
219
|
-
if (O == null) return {};
|
|
220
|
-
var E, P, S = {}, k = Object.keys(O);
|
|
221
|
-
for (P = 0; P < k.length; P++) E = k[P], b.indexOf(E) >= 0 || (S[E] = O[E]);
|
|
222
|
-
return S;
|
|
223
|
-
}(o, i);
|
|
224
|
-
if (Object.getOwnPropertySymbols) {
|
|
225
|
-
var p = Object.getOwnPropertySymbols(o);
|
|
226
|
-
for (u = 0; u < p.length; u++) a = p[u], i.indexOf(a) >= 0 || Object.prototype.propertyIsEnumerable.call(o, a) && (s[a] = o[a]);
|
|
227
|
-
}
|
|
228
|
-
return s;
|
|
229
|
-
}(t, ["monaco"]);
|
|
230
|
-
B(function(o) {
|
|
231
|
-
return { config: fe(o.config, n), monaco: r };
|
|
232
|
-
});
|
|
233
|
-
}, init: function() {
|
|
234
|
-
var e = z(function(t) {
|
|
235
|
-
return { monaco: t.monaco, isInitialized: t.isInitialized, resolve: t.resolve };
|
|
236
|
-
});
|
|
237
|
-
if (!e.isInitialized) {
|
|
238
|
-
if (B({ isInitialized: !0 }), e.monaco) return e.resolve(e.monaco), W(Z);
|
|
239
|
-
if (window.monaco && window.monaco.editor) return ge(window.monaco), e.resolve(window.monaco), W(Z);
|
|
240
|
-
(function() {
|
|
241
|
-
for (var t = arguments.length, r = new Array(t), n = 0; n < t; n++) r[n] = arguments[n];
|
|
242
|
-
return function(o) {
|
|
243
|
-
return r.reduceRight(function(i, a) {
|
|
244
|
-
return a(i);
|
|
245
|
-
}, o);
|
|
246
|
-
};
|
|
247
|
-
})(Me, Ee)(Pe);
|
|
248
|
-
}
|
|
249
|
-
return W(Z);
|
|
250
|
-
}, __getMonacoInstance: function() {
|
|
251
|
-
return z(function(e) {
|
|
252
|
-
return e.monaco;
|
|
253
|
-
});
|
|
254
|
-
} }, Re = { display: "flex", position: "relative", textAlign: "initial" }, Se = { width: "100%" }, ke = { display: "none" }, xe = { container: { display: "flex", height: "100%", width: "100%", justifyContent: "center", alignItems: "center" } }, Ie = function({ children: e }) {
|
|
255
|
-
return T.createElement("div", { style: xe.container }, e);
|
|
256
|
-
}, pe = c.memo(function({ width: e, height: t, isEditorReady: r, loading: n, _ref: o, className: i, wrapperProps: a }) {
|
|
257
|
-
return T.createElement("section", { style: { ...Re, width: e, height: t }, ...a }, !r && T.createElement(Ie, null, n), T.createElement("div", { ref: o, style: { ...Se, ...!r && ke }, className: i }));
|
|
258
|
-
}), ee = function(e) {
|
|
259
|
-
c.useEffect(e, []);
|
|
260
|
-
}, j = function(e, t, r = !0) {
|
|
261
|
-
let n = c.useRef(!0);
|
|
262
|
-
c.useEffect(n.current || !r ? () => {
|
|
263
|
-
n.current = !1;
|
|
264
|
-
} : e, t);
|
|
265
|
-
};
|
|
266
|
-
function q() {
|
|
267
|
-
}
|
|
268
|
-
function I(e, t, r, n) {
|
|
269
|
-
return p = n, (s = e).editor.getModel(le(s, p)) || (i = t, a = r, u = n, (o = e).editor.createModel(i, a, u ? le(o, u) : void 0));
|
|
270
|
-
var o, i, a, u, s, p;
|
|
271
|
-
}
|
|
272
|
-
function le(e, t) {
|
|
273
|
-
return e.Uri.parse(t);
|
|
274
|
-
}
|
|
275
|
-
var Ae = c.memo(function({ original: e, modified: t, language: r, originalLanguage: n, modifiedLanguage: o, originalModelPath: i, modifiedModelPath: a, keepCurrentOriginalModel: u = !1, keepCurrentModifiedModel: s = !1, theme: p = "light", loading: O = "Loading...", options: b = {}, height: E = "100%", width: P = "100%", className: S, wrapperProps: k = {}, beforeMount: $ = q, onMount: G = q }) {
|
|
276
|
-
let [w, C] = c.useState(!1), [A, m] = c.useState(!0), y = c.useRef(null), d = c.useRef(null), D = c.useRef(null), v = c.useRef(G), l = c.useRef($), x = c.useRef(!1);
|
|
277
|
-
ee(() => {
|
|
278
|
-
let f = Y.init();
|
|
279
|
-
return f.then((g) => (d.current = g) && m(!1)).catch((g) => g?.type !== "cancelation" && console.error("Monaco initialization: error:", g)), () => y.current ? function() {
|
|
280
|
-
let g = y.current?.getModel();
|
|
281
|
-
u || g?.original?.dispose(), s || g?.modified?.dispose(), y.current?.dispose();
|
|
282
|
-
}() : f.cancel();
|
|
283
|
-
}), j(() => {
|
|
284
|
-
if (y.current && d.current) {
|
|
285
|
-
let f = y.current.getOriginalEditor(), g = I(d.current, e || "", n || r || "text", i || "");
|
|
286
|
-
g !== f.getModel() && f.setModel(g);
|
|
287
|
-
}
|
|
288
|
-
}, [i], w), j(() => {
|
|
289
|
-
if (y.current && d.current) {
|
|
290
|
-
let f = y.current.getModifiedEditor(), g = I(d.current, t || "", o || r || "text", a || "");
|
|
291
|
-
g !== f.getModel() && f.setModel(g);
|
|
292
|
-
}
|
|
293
|
-
}, [a], w), j(() => {
|
|
294
|
-
let f = y.current.getModifiedEditor();
|
|
295
|
-
f.getOption(d.current.editor.EditorOption.readOnly) ? f.setValue(t || "") : t !== f.getValue() && (f.executeEdits("", [{ range: f.getModel().getFullModelRange(), text: t || "", forceMoveMarkers: !0 }]), f.pushUndoStop());
|
|
296
|
-
}, [t], w), j(() => {
|
|
297
|
-
y.current?.getModel()?.original.setValue(e || "");
|
|
298
|
-
}, [e], w), j(() => {
|
|
299
|
-
let { original: f, modified: g } = y.current.getModel();
|
|
300
|
-
d.current.editor.setModelLanguage(f, n || r || "text"), d.current.editor.setModelLanguage(g, o || r || "text");
|
|
301
|
-
}, [r, n, o], w), j(() => {
|
|
302
|
-
d.current?.editor.setTheme(p);
|
|
303
|
-
}, [p], w), j(() => {
|
|
304
|
-
y.current?.updateOptions(b);
|
|
305
|
-
}, [b], w);
|
|
306
|
-
let _ = c.useCallback(() => {
|
|
307
|
-
if (!d.current) return;
|
|
308
|
-
l.current(d.current);
|
|
309
|
-
let f = I(d.current, e || "", n || r || "text", i || ""), g = I(d.current, t || "", o || r || "text", a || "");
|
|
310
|
-
y.current?.setModel({ original: f, modified: g });
|
|
311
|
-
}, [r, t, o, e, n, i, a]), N = c.useCallback(() => {
|
|
312
|
-
!x.current && D.current && (y.current = d.current.editor.createDiffEditor(D.current, { automaticLayout: !0, ...b }), _(), d.current?.editor.setTheme(p), C(!0), x.current = !0);
|
|
313
|
-
}, [b, p, _]);
|
|
314
|
-
return c.useEffect(() => {
|
|
315
|
-
w && v.current(y.current, d.current);
|
|
316
|
-
}, [w]), c.useEffect(() => {
|
|
317
|
-
!A && !w && N();
|
|
318
|
-
}, [A, w, N]), T.createElement(pe, { width: P, height: E, isEditorReady: w, loading: O, _ref: D, className: S, wrapperProps: k });
|
|
319
|
-
}), De = function() {
|
|
320
|
-
let [e, t] = c.useState(Y.__getMonacoInstance());
|
|
321
|
-
return ee(() => {
|
|
322
|
-
let r;
|
|
323
|
-
return e || (r = Y.init(), r.then((n) => {
|
|
324
|
-
t(n);
|
|
325
|
-
})), () => r?.cancel();
|
|
326
|
-
}), e;
|
|
327
|
-
}, F = /* @__PURE__ */ new Map(), Te = c.memo(function({ defaultValue: e, defaultLanguage: t, defaultPath: r, value: n, language: o, path: i, theme: a = "light", line: u, loading: s = "Loading...", options: p = {}, overrideServices: O = {}, saveViewState: b = !0, keepCurrentModel: E = !1, width: P = "100%", height: S = "100%", className: k, wrapperProps: $ = {}, beforeMount: G = q, onMount: w = q, onChange: C, onValidate: A = q }) {
|
|
328
|
-
let [m, y] = c.useState(!1), [d, D] = c.useState(!0), v = c.useRef(null), l = c.useRef(null), x = c.useRef(null), _ = c.useRef(w), N = c.useRef(G), f = c.useRef(), g = c.useRef(n), he = function(h) {
|
|
329
|
-
let M = c.useRef();
|
|
330
|
-
return c.useEffect(() => {
|
|
331
|
-
M.current = h;
|
|
332
|
-
}, [h]), M.current;
|
|
333
|
-
}(i), te = c.useRef(!1), H = c.useRef(!1);
|
|
334
|
-
ee(() => {
|
|
335
|
-
let h = Y.init();
|
|
336
|
-
return h.then((M) => (v.current = M) && D(!1)).catch((M) => M?.type !== "cancelation" && console.error("Monaco initialization: error:", M)), () => l.current ? (f.current?.dispose(), E ? b && F.set(i, l.current.saveViewState()) : l.current.getModel()?.dispose(), void l.current.dispose()) : h.cancel();
|
|
337
|
-
}), j(() => {
|
|
338
|
-
let h = I(v.current, e || n || "", t || o || "", i || r || "");
|
|
339
|
-
h !== l.current?.getModel() && (b && F.set(he, l.current?.saveViewState()), l.current?.setModel(h), b && l.current?.restoreViewState(F.get(i)));
|
|
340
|
-
}, [i], m), j(() => {
|
|
341
|
-
l.current?.updateOptions(p);
|
|
342
|
-
}, [p], m), j(() => {
|
|
343
|
-
!l.current || n === void 0 || (l.current.getOption(v.current.editor.EditorOption.readOnly) ? l.current.setValue(n) : n !== l.current.getValue() && (H.current = !0, l.current.executeEdits("", [{ range: l.current.getModel().getFullModelRange(), text: n, forceMoveMarkers: !0 }]), l.current.pushUndoStop(), H.current = !1));
|
|
344
|
-
}, [n], m), j(() => {
|
|
345
|
-
let h = l.current?.getModel();
|
|
346
|
-
h && o && v.current?.editor.setModelLanguage(h, o);
|
|
347
|
-
}, [o], m), j(() => {
|
|
348
|
-
u !== void 0 && l.current?.revealLine(u);
|
|
349
|
-
}, [u], m), j(() => {
|
|
350
|
-
v.current?.editor.setTheme(a);
|
|
351
|
-
}, [a], m);
|
|
352
|
-
let re = c.useCallback(() => {
|
|
353
|
-
if (x.current && v.current && !te.current) {
|
|
354
|
-
N.current(v.current);
|
|
355
|
-
let h = i || r, M = I(v.current, n || e || "", t || o || "", h || "");
|
|
356
|
-
l.current = v.current?.editor.create(x.current, { model: M, automaticLayout: !0, ...p }, O), b && l.current.restoreViewState(F.get(h)), v.current.editor.setTheme(a), u !== void 0 && l.current.revealLine(u), y(!0), te.current = !0;
|
|
357
|
-
}
|
|
358
|
-
}, [e, t, r, n, o, i, p, O, b, a, u]);
|
|
359
|
-
return c.useEffect(() => {
|
|
360
|
-
m && _.current(l.current, v.current);
|
|
361
|
-
}, [m]), c.useEffect(() => {
|
|
362
|
-
!d && !m && re();
|
|
363
|
-
}, [d, m, re]), g.current = n, c.useEffect(() => {
|
|
364
|
-
m && C && (f.current?.dispose(), f.current = l.current?.onDidChangeModelContent((h) => {
|
|
365
|
-
H.current || C(l.current.getValue(), h);
|
|
366
|
-
}));
|
|
367
|
-
}, [m, C]), c.useEffect(() => {
|
|
368
|
-
if (m) {
|
|
369
|
-
let h = v.current.editor.onDidChangeMarkers((M) => {
|
|
370
|
-
let J = l.current.getModel()?.uri;
|
|
371
|
-
if (J && M.find((K) => K.path === J.path)) {
|
|
372
|
-
let K = v.current.editor.getModelMarkers({ resource: J });
|
|
373
|
-
A?.(K);
|
|
374
|
-
}
|
|
375
|
-
});
|
|
376
|
-
return () => {
|
|
377
|
-
h?.dispose();
|
|
378
|
-
};
|
|
379
|
-
}
|
|
380
|
-
return () => {
|
|
381
|
-
};
|
|
382
|
-
}, [m, A]), T.createElement(pe, { width: P, height: S, isEditorReady: m, loading: s, _ref: x, className: k, wrapperProps: $ });
|
|
383
|
-
}), Ve = Te;
|
|
384
|
-
export {
|
|
385
|
-
Ae as DiffEditor,
|
|
386
|
-
Te as Editor,
|
|
387
|
-
Ve as default,
|
|
388
|
-
Y as loader,
|
|
389
|
-
De as useMonaco
|
|
390
|
-
};
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { a as s } from "./Dm0hrXCbV7DITOhi.js";
|
|
2
|
-
import { r as n } from "./CrBywNOOyPHSBoTT.js";
|
|
3
|
-
import { d as e, i as z, v as E, B as G, f as K, g as R, h as O, G as W, t as y } from "./EYTSqAG9YOdb1vKx.js";
|
|
4
|
-
/**
|
|
5
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.14
|
|
6
|
-
*
|
|
7
|
-
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
8
|
-
* License: The license can be found at https://www.sheetxl.com/license.
|
|
9
|
-
*/
|
|
10
|
-
const q = ["Input"], U = n.memo(n.forwardRef((w, T) => {
|
|
11
|
-
const { initialValue: v = "", onOption: F, onValidateOption: r, onInputOption: l, onValidateInputOption: p, onDone: u, inputProps: c, inputLabel: I, inputType: P, inputPlaceHolder: S, options: d = q, autoFocusSel: C = ".autoFocus", cancelOption: g, defaultOption: m = d?.[0], ...b } = w, [j, k] = n.useState(!1), [a, V] = n.useState(v), [B, D] = n.useState(""), [H, L] = n.useState(!0), i = e(async (t, o) => {
|
|
12
|
-
if (!p) return !0;
|
|
13
|
-
const h = await p?.(t, o);
|
|
14
|
-
D(h?.message ?? "");
|
|
15
|
-
const x = h?.valid ?? !0;
|
|
16
|
-
return L(x), x;
|
|
17
|
-
}, [p]), f = e(async (t) => {
|
|
18
|
-
l?.(a, t);
|
|
19
|
-
}, [a, l, u, F, g, m]), M = e(async (t) => {
|
|
20
|
-
t.keyCode === z.Enter && await i?.(a, null);
|
|
21
|
-
}, [a, f]), N = e((t) => {
|
|
22
|
-
V(t.target.value), i?.(t.target.value, null);
|
|
23
|
-
}, [r]), $ = e(async (t) => {
|
|
24
|
-
let o = await i(a, t);
|
|
25
|
-
try {
|
|
26
|
-
o !== !1 && (o = await i(a, t));
|
|
27
|
-
} catch {
|
|
28
|
-
}
|
|
29
|
-
return o ?? !0;
|
|
30
|
-
}, [a, r]);
|
|
31
|
-
return s.jsx(E, { options: d, onDone: u, onOption: (t, o) => {
|
|
32
|
-
o || f(t);
|
|
33
|
-
}, onValidateOption: $, cancelOption: g, defaultOption: m, autoFocusSel: C, ref: T, ...b, children: s.jsx(G, { sx: { paddingTop: (t) => t.spacing(1), paddingBottom: (t) => t.spacing(0) }, children: s.jsx(K, { sx: { paddingTop: (t) => t.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: s.jsx(R, { onFocus: (t) => {
|
|
34
|
-
j || t.target?.select(), k(!0);
|
|
35
|
-
}, type: P, label: I, helperText: B || " ", sx: { width: "100%", "& .MuiFormHelperText-root": { marginTop: (t) => t.spacing(0.5), color: H ? void 0 : "error.main" } }, InputLabelProps: { shrink: !0 }, InputProps: { inputProps: { placeholder: S, spellCheck: !1, autoComplete: "off", ...c, className: W("autoFocus", c?.className), sx: { paddingTop: (t) => t.spacing(1.25), paddingBottom: (t) => t.spacing(0.75), backgroundImage: `linear-gradient(${O("#fff", y(5))}, ${O("#fff", y(5))})` } } }, value: a, onChange: N, onKeyDown: M, onContextMenu: (t) => {
|
|
36
|
-
t.stopPropagation();
|
|
37
|
-
} }) }) }) });
|
|
38
|
-
}));
|
|
39
|
-
export {
|
|
40
|
-
U as default
|
|
41
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.14
|
|
3
|
-
*
|
|
4
|
-
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
|
-
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
-
*/
|
|
7
|
-
function e(t) {
|
|
8
|
-
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
9
|
-
}
|
|
10
|
-
export {
|
|
11
|
-
e as g
|
|
12
|
-
};
|