@sheetxl/mcp 0.8.0-beta.24 → 1.0.0
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/assets/{Cf0zmfQYfJ7zM0Ya.js → 0WuReGsjIpidu0Cr.js} +1 -1
- package/assets/{B6caaQsfOpFEgYQ4.js → 13QanvzRbNib7VHR.js} +1 -1
- package/assets/{DGI_8HyNF0eAv0P5.js → 2c1OYsVAy_w-ex-F.js} +1 -1
- package/assets/{B-t1q2NS61c2B8E4.js → 8114GVvAL1oaiJLV.js} +1 -1
- package/assets/{B16G2473LTkZP6Mq.js → 8hLtXHueDl7B_SEn.js} +1417 -1356
- package/assets/{DRzZ4bEyLRGVOLzV.js → 8mWHFnE0j-CaNsxr.js} +1 -1
- package/assets/{DaF9L7No8h8a-cqb.js → B-b7HyruDF2gdj3R.js} +2 -2
- package/assets/{CmkgQ5-IG0BSCM3R.js → B3J6davzttys1e7l.js} +3 -3
- package/assets/{doqBmhonQlHp-1Ud.js → B3lrS_GHkG6Mw5pN.js} +1 -1
- package/assets/{CnI4Nli8vtWdFKvf.js → B5rrqMYFybo3oW9k.js} +21 -21
- package/assets/{D6d1DKL15m52ZCuC.js → BB39UJoWw8tjThqY.js} +1 -1
- package/assets/{DtVSjxL6N_7WyM8Z.js → BBF_CDIKB2NIXiHg.js} +1 -1
- package/assets/{DE7G34oYbvrfXbJ7.js → BBLuTiY3V4MpFphK.js} +294 -294
- package/assets/{DM-yGHahbfA_uarn.js → BBZUslaSLC0vlZEb.js} +1 -1
- package/assets/{sJVPCrgeh0U6LbAK.js → BCdXK-2-AE6FAdRs.js} +1 -1
- package/assets/{CUYQlZz5zWsUdmRy.js → BF0C-5gSMHWBXI_k.js} +1 -1
- package/assets/{Xccc6oxtlSvJUDsC.js → BKGTzaNNBlRh7ua3.js} +1 -1
- package/assets/BOa1dD_9H3g65WbP.js +14 -0
- package/assets/{C-nA4SXN5hWHaxV6.js → BPlrBhzIqyWK19E2.js} +526 -526
- package/assets/{xD41vsQY6h60lCqz.js → BR4Wpxs0eSlaoLOl.js} +8 -8
- package/assets/{CSXmTA6w6Pnbtqvb.js → BTB4fa2DU21pP7At.js} +1 -1
- package/assets/{bv3fZLUPzd14I58C.js → BTamKr78GfsihW1a.js} +485 -485
- package/assets/{BPNLZ07Bu_B8Yhf1.js → BVfjBXAMgo4u8Y72.js} +1 -1
- package/assets/{TZnuVwhVjkOBax9F.js → BaZAIwIrqn1x69WH.js} +2 -2
- package/assets/{b8yACuWy67eIj_j2.js → Ban4yk1SYcz9Cs7n.js} +1 -1
- package/assets/{Ds4TB1hn56-RK6_f.js → BfB7Vq09p5uO-L88.js} +1 -1
- package/assets/{DOSWSyKkK4eSi4PD.js → BfEmSaLbKgcjIIpn.js} +2 -2
- package/assets/{DkQ4kxEKhKYQgfjK.js → Bfpf9b1s1bWyBXIw.js} +1 -1
- package/assets/{BrYc6PLonux_gI6b.js → BgHOi7rAHLhztiz-.js} +215 -215
- package/assets/{3VycPrqi6qgLOgGY.js → BgN67gyTyx_xz2Ny.js} +6 -6
- package/assets/{yz2PTfYm_8EGJPM5.js → BhxIJ8xdUxyMPJ_m.js} +1 -1
- package/assets/{Jy-_0a72nn5Iv1NK.js → BlMUrEA8V2S2KH0D.js} +1 -1
- package/assets/{CM-q_J5aF6YXmjeu.js → BloJ-e8xad1b_H7X.js} +3 -3
- package/assets/{C6PNMev7cs5JLgwy.js → Bm-wDNSoT-3JD2bJ.js} +1 -1
- package/assets/{BaYk1vO2hP2S3_1w.js → BoE9cj92LVH2LLy0.js} +2 -2
- package/assets/{g2Nu44uuSJFMzxEV.js → BqH4txhrgR2S-2ji.js} +2 -2
- package/assets/{DPYFRLJbHGlrcrJq.js → BrHXHm2FNXsL53bo.js} +2 -2
- package/assets/{CnKX5SPVE2iuSK42.js → BuFb0lPxYlHccrD9.js} +1 -1
- package/assets/{BkekCZ17YTtd07_C.js → ByGn4tk2SE1MH_sZ.js} +2 -2
- package/assets/{Cxzowsi6ASdZtzeI.js → C1IE0F-y65XqEYRl.js} +1 -1
- package/assets/{7vPlH3_rhJxmmBvG.js → C1JeIUEWW-RL1Rnu.js} +1 -1
- package/assets/{a2e_g9YI3J-lUD7-.js → C2sDVxKGBNlTFg6y.js} +1 -1
- package/assets/{D_tdoUtUe7cApQJn.js → C30apcFVvDHn2M4R.js} +4 -4
- package/assets/{TdDTOcC1TYhk6UuR.js → C3c2PUtIo-aWbjw4.js} +1 -1
- package/assets/{suLYEZBtGUhSYeB7.js → C4C3Ot0xeo1O0wm5.js} +1 -1
- package/assets/{By1QPrSxtnRiJu0R.js → C8zzCf71C976X7SG.js} +2 -2
- package/assets/{BxwB3iTNSE1TgHkb.js → CCS6r_ru_-bq12nu.js} +1 -1
- package/assets/{DNSWaXblwhTtI3w7.js → CDDtXZTG6nNFBQZP.js} +1 -1
- package/assets/{DL8pez0eKo8arYPj.js → CEa6wNiDRZrans9S.js} +3 -3
- package/assets/{Daaro0HbHkKXkBP-.js → CF1fqmS030ry2XQ0.js} +2 -2
- package/assets/{P6V3JAiRpC3BWceC.js → CFqF3aUKvOGFOK9O.js} +1 -1
- package/assets/{BH7ctzMzOYVTGxzA.js → CI8Pu3ko8VzQYdRD.js} +1 -1
- package/assets/{9GnbVPKozgrJpeLW.js → CICMJpasl9o4FaZi.js} +1 -1
- package/assets/{CIw6ZC3K9x-ccacl.js → CJcyMzG19TOjqNHS.js} +1 -1
- package/assets/{2YT_wstXIH6UIigi.js → CJoREr6-3iOl7iU_.js} +1 -1
- package/assets/{B4uS01J0mrSJSftQ.js → CMd7aLIwOA7bxcZm.js} +88 -88
- package/assets/{CpvJUGg9ckuCIpIS.js → CNikOloX_losH8Nz.js} +1 -1
- package/assets/{C0uu0vLKQh0S508B.js → CRZMD-wS-944FnD_.js} +40 -40
- package/assets/{CJ2hV-9ipqOEkLSG.js → CRlLpD9cfhJ9Ov9L.js} +1 -1
- package/assets/{DwNcvKM47ZHfvQM6.js → CS07BBUu6ZtXk4TZ.js} +1 -1
- package/assets/{DyiH3LlinD-38bG7.js → CX-LNahzNZRc78er.js} +1 -1
- package/assets/{DuEtCJEnG_GnJzTX.js → CY3Lmr-fgs6NqXRp.js} +1 -1
- package/assets/{KMzONx2Ps841nJHj.js → CbkCnjWs7Fpj5iQY.js} +8 -8
- package/assets/{Dlqk7XqKnAZ8Pcj3.js → CdbucPAmUkkc5pcM.js} +155 -156
- package/assets/{DRq6lQLndj73WT35.js → CfBJzpZuy1o216iZ.js} +1 -1
- package/assets/{Dk9zYXO3VoBhTdex.js → CoSNTR-pg7BZAU7o.js} +1 -1
- package/assets/{CFWwwr74qRKOBrg9.js → CpoqmW4E7rFdkRpf.js} +1 -1
- package/assets/{BAVltO4Xf7lC0Xr6.js → Cs1df4D35bBjqyvX.js} +1 -1
- package/assets/{DIgPlkEabQdKNUQn.js → CsPyLus3kh4QnahD.js} +1 -1
- package/assets/{DXCTHw-ZutNIuo_2.js → Cwe_kiigxAfceEK9.js} +1 -1
- package/assets/{CzRvg04_TIbwBH5C.js → CwzSgovxnBMrgLmJ.js} +3 -3
- package/assets/{BnNB_ejvNaLu6B3o.js → D31pY9r4JAFWw3E4.js} +1 -1
- package/assets/DCWHNfq5qCxvALwe.js +199 -0
- package/assets/{DGOgx3-IyO8bjF_t.js → DF9WfdyjHuCpsEXh.js} +63 -63
- package/assets/{LM2rVDHdB0jVUFcT.js → DOIpXsEXCaI-8VwJ.js} +1 -1
- package/assets/{76dPHG5RYA7MUV_g.js → DOXj80NXiglJXsMZ.js} +3 -3
- package/assets/{CR1aLf7CWEfPTO9a.js → DQ2vEDfVfsIGSmId.js} +1 -1
- package/assets/{Dhy6iU_09lrQnOAV.js → DQtnL5nOzSzVJhit.js} +61 -61
- package/assets/{CCF6CwJ6cbeLRl23.js → DRcmbp80jMRjxelW.js} +1 -1
- package/assets/{CFNtPYPfDPH-3BXK.js → DRy0AcTiSKQY3bih.js} +1 -1
- package/assets/{tWO-mE87mAuj1qih.js → DWr6GqsnMpLwSUno.js} +2 -2
- package/assets/{ByYJTTTUuu67hDF-.js → DXrX5tIZ1J5BhpFk.js} +4 -4
- package/assets/{CmwNIrRssYuLN2fn.js → DZxHk5oKIVvu3iJR.js} +458 -458
- package/assets/{CbJWbjmv4bz4ppIZ.js → Da0CtWhc7saaOdER.js} +318 -318
- package/assets/{mZt9BTEejCJZ4YK4.js → Dbi1_JHT_4u0nhwc.js} +1 -1
- package/assets/{C9iFJ52KwQTePQ81.js → Dcw7GSCgw_dgsum7.js} +11490 -11497
- package/assets/{fEfisM0E2fUYKIyU.js → DfuY8GdoSk8LxDFW.js} +5 -5
- package/assets/{CT4czEKWIj1GeQN8.js → DlARYdaCOVKiQzMH.js} +1 -1
- package/assets/{BJwiwzwx4Bl5L4Vq.js → DngX5ZuqqFGTp44B.js} +1 -1
- package/assets/{DFVQIZ2zZyAphhCF.js → DpwdC4SN_VYB9_ho.js} +1 -1
- package/assets/{CIY_RiLu1_FmRLAA.js → Dst0tyK__q2Q_AKk.js} +1 -1
- package/assets/{BrJd9jVVv9SQzZol.js → DvHZEP1wpb6549uf.js} +423 -423
- package/assets/{DMDTS0LH9Ke9t-3z.js → DzYvbv5u7E2H7IoB.js} +12 -7
- package/assets/{BjyXkr-CzV8mVx0t.js → G489eYf-lt3D1riX.js} +1 -1
- package/assets/{CKD460cQOgwF6uSV.js → L42Y17f0HUEpfS6U.js} +1 -1
- package/assets/{flby0g5gyZ9P2Wu2.js → O3m_QwxIRXMPFTB8.js} +1 -1
- package/assets/{7IzItpr7MkdnaAwh.js → P3Or6rEY-fHmQZbH.js} +69 -69
- package/assets/{DaHD9SY75O8wDy3p.js → PAzPVx_0jajb_7cO.js} +2 -2
- package/assets/{DJfpKncnYnrr28G0.js → PvRzzufo1V8BuC-I.js} +1 -1
- package/assets/{CFT_tDogP98gTbh7.js → Sm1ouHLiXlCuQVKV.js} +79 -79
- package/assets/{D-vo2bQyAmStQmD9.js → WC-THJfezYSFdiMF.js} +1 -1
- package/assets/{DczQhB3mRSUw6GCf.js → YK80feN98r6GVZv5.js} +1 -1
- package/assets/{DPLTGglaPovTg9e5.js → cl0C9YlF3Ds-lHps.js} +1 -1
- package/assets/{BXWGS09xFG81nnIT.js → eExV3IoVMxYkv5GO.js} +1 -1
- package/assets/{qc7rA-Z3a4rkVQPx.js → g3TrQtFS0qJZeshT.js} +215 -215
- package/assets/{B8bEJ65vQRqsfBlS.js → gf6l-4XXMXtq8hpJ.js} +5 -5
- package/assets/{CEk658HeLJk2cAjM.js → hiKRbrdbpmJglbWC.js} +3 -3
- package/assets/{D8k9de_hen-KqBWe.js → j4zqu8S2Be_yum7W.js} +1 -1
- package/assets/{Ch9w7xFxVMrvGuC_.js → jNZ7exipVCGRPbzr.js} +1 -1
- package/assets/{MosMza0-rXD8uHX_.js → kThU6e6dkzEoaK6n.js} +2 -2
- package/assets/{DJGYlGr2Zj7SkYqc.js → knMcDWv3xN7yJBTT.js} +1 -1
- package/assets/{BJqo8c5bFKjnq69G.js → ov7L79VlksT4fw7T.js} +11 -11
- package/assets/{BifwlrCmEVtjh_1U.js → pLM8Pxl1CscUdvMh.js} +1 -1
- package/assets/{NAWWzA_hk4wYtsPP.js → pfa2CH5NQuzku6FP.js} +2 -2
- package/assets/{B-5mBXpY9i6-eCrZ.js → q6advQx4x6PXvl0i.js} +35 -35
- package/assets/{BWLavTnANLUerdS0.js → qVBjd-c5B8neljc0.js} +2 -2
- package/assets/{DqSBb1HmgeU7eg_i.js → rlgXnCh6A88ozBRz.js} +110 -110
- package/assets/{DUbIxDAzW1dzrtdI.js → rzi2XAwlfy8BsGEa.js} +1 -1
- package/assets/{B7lATTNffVTrDsKE.js → xGASRbzSVVKfEAh-.js} +2 -2
- package/assets/{BkHeIMSE7-LehRCs.js → ybnQoU8_KttlHjiy.js} +1 -1
- package/index.js +145 -145
- package/lib.js +1 -1
- package/licenses/dependencies.txt +45 -45
- package/package.json +2 -2
- package/screenshot-page/assets/-HdF7KAN8PKqrASL.js +1 -0
- package/screenshot-page/assets/{C_YKEkTsGB_5gFNg.js → 0P0DnZolMnjPhiea.js} +2 -2
- package/screenshot-page/assets/{FcTM4SB17cEX1M3X.js → 5Y11BWntgqmzo9dz.js} +1 -1
- package/screenshot-page/assets/{Cx9eq2x1gIXGki3Q.js → B-E9Dzx1wh9RA2yC.js} +1 -1
- package/screenshot-page/assets/{CXwbGzavyvYgDbWU.js → B0CDAMDdxSN4en9k.js} +1 -1
- package/screenshot-page/assets/B39YZkEvc1U8ZQ8H.js +2 -0
- package/screenshot-page/assets/B8Dy_WA9RlWuvMqF.js +4 -0
- package/screenshot-page/assets/BAzHRU12l2vyyXq-.js +39 -0
- package/screenshot-page/assets/{DR-og7vslxlOZd8j.js → BGIujWi3UayyIWlg.js} +1 -1
- package/screenshot-page/assets/BNjmzbnQlBmX-HPQ.js +1 -0
- package/screenshot-page/assets/{B-0-chiwq4MIUQy9.js → BOF6KOmT8mH_NQnA.js} +1 -1
- package/screenshot-page/assets/{DcrVJCyDwGKeil2U.js → BQTLEc84Eql61S2m.js} +1 -1
- package/screenshot-page/assets/{clrFU8i-0wNkmbs7.js → BfkbiKKbYlPpRZqZ.js} +1 -1
- package/screenshot-page/assets/{DGkaCFHx4PsOJkFu.js → BhHceo22V3IBfap0.js} +1 -1
- package/screenshot-page/assets/{Cx1kZ2u_8JFV2Q8D.js → BiRVjUOUI8Qv0CE1.js} +1 -1
- package/screenshot-page/assets/{D6EXAYU-ZH8hjx_7.js → Bne-AygyF1USkPAy.js} +2 -2
- package/screenshot-page/assets/{Dkf51CnZh2zPEGMd.js → BpJaTpbR_CQzXj9M.js} +1 -1
- package/screenshot-page/assets/{B7pXfEVkcbaMBMhc.js → BrEXXxB9tAI5mmZP.js} +1 -1
- package/screenshot-page/assets/{CwCu_r0BW41uLt3P.js → Bt7fKk5ZupUuo_xD.js} +2 -2
- package/screenshot-page/assets/BwYQTcPRDDYIeAA5.js +586 -0
- package/screenshot-page/assets/ByyC3p23DsLAbUpr.js +1 -0
- package/screenshot-page/assets/{D7Yt7xmUlA6-Lq0Q.js → BzI5CCx73aXausKb.js} +9 -9
- package/screenshot-page/assets/{DM6hr-bvWV50-Oex.js → C-2hBFk27roWkIrQ.js} +2 -2
- package/screenshot-page/assets/{BTJ1NNUzHotNDiDe.js → CAKBmg6tXRtjEWgb.js} +2 -2
- package/screenshot-page/assets/CALWodHqzUTIv9le.js +5 -0
- package/screenshot-page/assets/{BcZPWw18bdj_ZvA9.js → CGNsyKbDXXz9qMa2.js} +1 -1
- package/screenshot-page/assets/CGZYePkVGI5DPBBY.js +1 -0
- package/screenshot-page/assets/{Bfq6-treWd_rRiWl.js → CJAgr6wyQGYAd3ZV.js} +1 -1
- package/screenshot-page/assets/{BKwDvElKinpn1IK0.js → CL_hAngRQwm_KGdR.js} +1 -1
- package/screenshot-page/assets/COL9dj40ytErlGak.js +2 -0
- package/screenshot-page/assets/CWA4xGjOeBuxJOzW.js +3 -0
- package/screenshot-page/assets/{r2HZG9_SMzF3__ID.js → CX-ITg5RXdV2cefd.js} +6 -6
- package/screenshot-page/assets/{C7mXat-6esc1AmRD.js → CXeDqC02BZcixiHS.js} +2 -2
- package/screenshot-page/assets/{Pt9ne0xkE2icD3Ih.js → CZaKvnrRdlLj1_X8.js} +1 -1
- package/screenshot-page/assets/{a3fvt1Klg1uGE7p6.js → Cg9eIWL8fPmeZFHG.js} +7 -7
- package/screenshot-page/assets/{DyxJBLjUkeDuu96F.js → CltB1nb5HHSmYrNG.js} +1 -1
- package/screenshot-page/assets/{FqdZRM336KMEcsbU.js → Cq1EzIAt4dHBkzfP.js} +1 -1
- package/screenshot-page/assets/{D6Yv5cc1JE7DGd6j.js → CqBSIwwGzWl8mrBe.js} +1 -1
- package/screenshot-page/assets/D2TibFqUBAPLcu_2.js +1 -0
- package/screenshot-page/assets/{ChSvXfVMLxZsP9zG.js → D4RZZdlItfrgQHcE.js} +1 -1
- package/screenshot-page/assets/{J73KTOmdZGNmnq-z.js → D72Rp__0TEqJ972a.js} +1 -1
- package/screenshot-page/assets/D8EmNst-H2v0eWcf.js +1 -0
- package/screenshot-page/assets/{Tj3B5At0OAN3tDza.js → DACqwpSwlZka3b7s.js} +1 -1
- package/screenshot-page/assets/DEy3e1rY-XMdI309.js +1 -0
- package/screenshot-page/assets/{CI3Z1f4amZ9G2rPD.js → DJebrQ5mu8uxpX3b.js} +1 -1
- package/screenshot-page/assets/{DynKB5GH-vfFMJEy.js → DOsZiE9rOdS_Mm2Q.js} +1 -1
- package/screenshot-page/assets/{CSFFMEKyxEFaykqL.js → DTAKTGn53yF_B621.js} +1 -1
- package/screenshot-page/assets/{D6Ciix7JAZtdKqmj.js → DYYzsN95gWMsxOaj.js} +1 -1
- package/screenshot-page/assets/{DOVt9zHz7FQ2KUQM.js → Da_VIghRFdNrmfZT.js} +1 -1
- package/screenshot-page/assets/DaqAdr-mtpVZMOS8.js +2 -0
- package/screenshot-page/assets/{0UZBKpOOsp7P-DkP.js → DdmX3djBOA6UCZtf.js} +2 -2
- package/screenshot-page/assets/{DEpn6VGd30cHEJOS.js → DfQS5zAy3pN31xNb.js} +1 -1
- package/screenshot-page/assets/DhnaoxNYwMobAVP6.js +1 -0
- package/screenshot-page/assets/{B-8IMo2f1yGNXOyz.js → GxbRmvyoKhHl0ZYY.js} +13 -8
- package/screenshot-page/assets/{zvxBjll3jnL0-vNn.js → Np3jWxG724t5hLHZ.js} +2 -2
- package/screenshot-page/assets/{Bg9UyX4yrB2mSdJt.js → QVGvXAvlw1c8vZjy.js} +12 -12
- package/screenshot-page/assets/{BbT5KRhoeAKLzy54.js → d8BvDCByceUNvHp7.js} +2 -2
- package/screenshot-page/assets/eR9_DaySoB72PvMo.js +1 -0
- package/screenshot-page/assets/{CtiTwHzd_ZSzd3W2.js → hB5riGkPy0wXVIig.js} +1 -1
- package/screenshot-page/assets/hHvAGynpTvAb97GX.js +1 -0
- package/screenshot-page/assets/jFfcyGJ9xruiOUyS.js +1 -0
- package/screenshot-page/assets/{DmDFKv_3APEWI-IY.js → jKvAZg0Tp701aw1o.js} +2 -2
- package/screenshot-page/assets/{DACSL7FA_J91Z_H7.js → jteb4n23QwBT9m_4.js} +1 -1
- package/screenshot-page/assets/mzrDp0emvkWnkXBt.js +1 -0
- package/screenshot-page/index.html +15 -15
- package/types/scripting-api.json +1 -1
- package/types/scripting.d.ts +2 -2
- package/assets/6CBUVbF01Bedq0e2.js +0 -199
- package/assets/Dfv_T_PQVL0O3lu5.js +0 -14
- package/screenshot-page/assets/BDRMUi2BsnBqytIq.js +0 -2
- package/screenshot-page/assets/BEjJHVSbtlsNtoq7.js +0 -3
- package/screenshot-page/assets/BIuMiduMHSsTGacU.js +0 -2
- package/screenshot-page/assets/BPMQ22uISGOm3ymr.js +0 -1
- package/screenshot-page/assets/Bxq4FCQhyPbVhhaR.js +0 -2
- package/screenshot-page/assets/CNB6WmYfGVZjlCKV.js +0 -5
- package/screenshot-page/assets/CXeJV1BW2CVemhPE.js +0 -1
- package/screenshot-page/assets/CkxmJxdtjBIxYoMq.js +0 -1
- package/screenshot-page/assets/D43IayseD2Cy8OZo.js +0 -4
- package/screenshot-page/assets/D8KyhLvfyjLZW92H.js +0 -39
- package/screenshot-page/assets/DBxAatsD6aWk7Zb6.js +0 -586
- package/screenshot-page/assets/DMhOGCTy8V0N14gY.js +0 -1
- package/screenshot-page/assets/DSTlKGmqncM7XHeW.js +0 -1
- package/screenshot-page/assets/Dh14XQinAphjZOKC.js +0 -1
- package/screenshot-page/assets/Dt8JxbBBr2TeDflQ.js +0 -1
- package/screenshot-page/assets/Dxi-bXNjS-CpC5Qr.js +0 -1
- package/screenshot-page/assets/Oay0yGsGYgJDzy8r.js +0 -1
- package/screenshot-page/assets/QZg76Jflu3Q808W3.js +0 -1
- package/screenshot-page/assets/WTrYzPnMQhYDILMR.js +0 -1
- package/screenshot-page/assets/qFyplGXRu7IepHio.js +0 -1
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. -
|
|
2
|
+
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v1.0.0
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: SheetXL EULA — https://www.sheetxl.com/eula
|
|
6
6
|
*/
|
|
7
|
-
import { ht as e } from "./
|
|
8
|
-
import { u as t } from "./
|
|
9
|
-
import {
|
|
10
|
-
import { A as a, D as o, T as l, a as i, g as c, h as u, k as p, l as d, n as f, o as h, p as g, s as m, t as x, v as y, w as v, x as I } from "./
|
|
11
|
-
import { n as _, r as b, t as T } from "./
|
|
7
|
+
import { ht as e } from "./DzYvbv5u7E2H7IoB.js";
|
|
8
|
+
import { u as t } from "./8mWHFnE0j-CaNsxr.js";
|
|
9
|
+
import { Cr as n, l as r, nn as s } from "./Dcw7GSCgw_dgsum7.js";
|
|
10
|
+
import { A as a, D as o, T as l, a as i, g as c, h as u, k as p, l as d, n as f, o as h, p as g, s as m, t as x, v as y, w as v, x as I } from "./DvHZEP1wpb6549uf.js";
|
|
11
|
+
import { n as _, r as b, t as T } from "./g3TrQtFS0qJZeshT.js";
|
|
12
12
|
var P = class {
|
|
13
13
|
constructor(e) {
|
|
14
14
|
e = { ...e }, this._editing = "editing" === e.profile, this._parser = new b(e);
|
|
15
15
|
}
|
|
16
|
-
compile(e,
|
|
16
|
+
compile(e, n, s, a, b, P, k, E, w) {
|
|
17
17
|
if (0 === a.length) {
|
|
18
18
|
const n = new t.Parse(T);
|
|
19
19
|
return this._compileUnparsed(e, b, a, {
|
|
@@ -22,47 +22,47 @@ var P = class {
|
|
|
22
22
|
causes: [n]
|
|
23
23
|
});
|
|
24
24
|
}
|
|
25
|
-
if (a.length >
|
|
26
|
-
const
|
|
25
|
+
if (a.length > r.MAX_EXPRESSION_LENGTH) {
|
|
26
|
+
const n = new t.Parse(_(a.length, r.MAX_EXPRESSION_LENGTH));
|
|
27
27
|
return this._compileUnparsed(e, b, a, {
|
|
28
28
|
input: a,
|
|
29
|
-
cause:
|
|
30
|
-
causes: [
|
|
29
|
+
cause: n,
|
|
30
|
+
causes: [n]
|
|
31
31
|
});
|
|
32
32
|
}
|
|
33
33
|
let F, C, U = [];
|
|
34
34
|
try {
|
|
35
|
-
const e = this._parser.parse(
|
|
35
|
+
const e = this._parser.parse(n, s, a);
|
|
36
36
|
F = e.root, U = e.errors, E && F && 0 === U.length && (F.legacyIntersect = !0);
|
|
37
37
|
} catch (e) {
|
|
38
38
|
C = t.isError(e, t.Code.Parse) ? e : new t.Parse(e.message, e);
|
|
39
39
|
}
|
|
40
|
-
const
|
|
41
|
-
for (const e of U)
|
|
40
|
+
const z = [];
|
|
41
|
+
for (const e of U) z.push(d(e));
|
|
42
42
|
if (F) {
|
|
43
43
|
const e = h(F, P ?? null);
|
|
44
|
-
"string" == typeof e ?
|
|
44
|
+
"string" == typeof e ? z.push(new t.Parse(e)) : F = e, o(F, P ?? null) && z.push(new t.Parse("The implicit intersection operator ' ' requires a cell or range on both sides")), v(F, P ?? null) && z.push(new t.Parse("The spill anchor operator '#' requires a cell or range")), l(F, P ?? null) && z.push(new t.Parse("Expected a reference; a value cannot be converted to one."));
|
|
45
45
|
const n = y(F, P ?? null);
|
|
46
|
-
n &&
|
|
46
|
+
n && z.push(new t.Parse(n));
|
|
47
47
|
const r = f(F, P ?? null);
|
|
48
|
-
r &&
|
|
48
|
+
r && z.push(new t.Parse(r));
|
|
49
49
|
const s = c(F, P ?? null);
|
|
50
|
-
s &&
|
|
50
|
+
s && z.push(new t.Parse(s));
|
|
51
51
|
const a = u(F);
|
|
52
|
-
a &&
|
|
52
|
+
a && z.push(new t.Parse(a));
|
|
53
53
|
}
|
|
54
|
-
|
|
55
|
-
let
|
|
56
|
-
if (C && (
|
|
54
|
+
z.length > 0 && !C && (C = z[0]);
|
|
55
|
+
let R = null;
|
|
56
|
+
if (C && (R = {
|
|
57
57
|
input: a,
|
|
58
58
|
cause: C,
|
|
59
|
-
causes:
|
|
59
|
+
causes: z.length > 0 ? z : [C]
|
|
60
60
|
}), !F) {
|
|
61
61
|
if (this._editing) {
|
|
62
|
-
const t = this._recoverCompiled(e,
|
|
62
|
+
const t = this._recoverCompiled(e, n, s, a, b, R, k);
|
|
63
63
|
if (t) return t;
|
|
64
64
|
}
|
|
65
|
-
return this._compileUnparsed(e, b, a,
|
|
65
|
+
return this._compileUnparsed(e, b, a, R, this._editing, () => A(b, k, n, s));
|
|
66
66
|
}
|
|
67
67
|
if (F = g(F, P ?? null), F = x(F, P ?? null), b) {
|
|
68
68
|
const e = this._editing ? w : {
|
|
@@ -70,21 +70,21 @@ var P = class {
|
|
|
70
70
|
...w
|
|
71
71
|
};
|
|
72
72
|
F = m(F, b, k, e, {
|
|
73
|
-
rowIndex:
|
|
73
|
+
rowIndex: n,
|
|
74
74
|
colIndex: s
|
|
75
75
|
});
|
|
76
|
-
const
|
|
77
|
-
if (
|
|
78
|
-
const e = new t.Parse(
|
|
79
|
-
|
|
76
|
+
const r = I(F, b);
|
|
77
|
+
if (r) {
|
|
78
|
+
const e = new t.Parse(r);
|
|
79
|
+
z.push(e), R = {
|
|
80
80
|
input: a,
|
|
81
|
-
cause:
|
|
82
|
-
causes:
|
|
81
|
+
cause: R?.cause ?? e,
|
|
82
|
+
causes: R ? [...R.causes, e] : [e]
|
|
83
83
|
};
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
|
-
const S = i(e, b, F, this._editing,
|
|
87
|
-
return this._editing &&
|
|
86
|
+
const S = i(e, b, F, this._editing, R, P ?? null);
|
|
87
|
+
return this._editing && R && p(S.getTokens(), b) !== a ? this._recoverCompiled(e, n, s, a, b, R, k) || this._compileUnparsed(e, b, a, R, !0) : S;
|
|
88
88
|
}
|
|
89
89
|
autoCorrect(e) {
|
|
90
90
|
const t = function(e) {
|
|
@@ -112,10 +112,10 @@ var P = class {
|
|
|
112
112
|
}
|
|
113
113
|
return 0 === s.length && 0 === t ? null : n + s.reverse().join("");
|
|
114
114
|
}
|
|
115
|
-
_compileUnparsed(t,
|
|
115
|
+
_compileUnparsed(t, r, s, a, o = !1, l) {
|
|
116
116
|
const i = {
|
|
117
117
|
runtime: t,
|
|
118
|
-
symbols:
|
|
118
|
+
symbols: r,
|
|
119
119
|
getFunction: null,
|
|
120
120
|
ast: null,
|
|
121
121
|
evaluations: e.EmptyArray,
|
|
@@ -130,7 +130,7 @@ var P = class {
|
|
|
130
130
|
getTokens: () => {
|
|
131
131
|
const e = [];
|
|
132
132
|
return o && F(e, s, void 0, l) ? e : [{
|
|
133
|
-
type:
|
|
133
|
+
type: n.Unparsed,
|
|
134
134
|
value: s,
|
|
135
135
|
text: s
|
|
136
136
|
}];
|
|
@@ -149,7 +149,7 @@ var P = class {
|
|
|
149
149
|
};
|
|
150
150
|
return i;
|
|
151
151
|
}
|
|
152
|
-
_recoverCompiled(e, t,
|
|
152
|
+
_recoverCompiled(e, t, r, s, a, o, l) {
|
|
153
153
|
let c, u = s.length;
|
|
154
154
|
try {
|
|
155
155
|
const e = this._parser.getLexer().tokenize(s, !1);
|
|
@@ -166,16 +166,16 @@ var P = class {
|
|
|
166
166
|
const u = s.slice(0, c);
|
|
167
167
|
let d, f;
|
|
168
168
|
try {
|
|
169
|
-
d = this._parser.parse(t,
|
|
169
|
+
d = this._parser.parse(t, r, u).root;
|
|
170
170
|
} catch {
|
|
171
171
|
continue;
|
|
172
172
|
}
|
|
173
|
-
if (!d || d.type ===
|
|
173
|
+
if (!d || d.type === n.Unparsed) continue;
|
|
174
174
|
try {
|
|
175
|
-
const
|
|
175
|
+
const n = x(d, null), s = a ? m(n, a, l, void 0, {
|
|
176
176
|
rowIndex: t,
|
|
177
|
-
colIndex:
|
|
178
|
-
}) :
|
|
177
|
+
colIndex: r
|
|
178
|
+
}) : n;
|
|
179
179
|
f = i(e, a, s, !0, o);
|
|
180
180
|
} catch {
|
|
181
181
|
continue;
|
|
@@ -186,29 +186,29 @@ var P = class {
|
|
|
186
186
|
let g;
|
|
187
187
|
const y = {
|
|
188
188
|
...f,
|
|
189
|
-
getTokens: () => (g || (g = [...f.getTokens()], this._appendUnparsedTail(g, h, () => A(a, l, t,
|
|
189
|
+
getTokens: () => (g || (g = [...f.getTokens()], this._appendUnparsedTail(g, h, () => A(a, l, t, r))), g),
|
|
190
190
|
transform: () => y
|
|
191
191
|
};
|
|
192
192
|
return y;
|
|
193
193
|
}
|
|
194
194
|
return null;
|
|
195
195
|
}
|
|
196
|
-
_appendUnparsedTail(e, t,
|
|
196
|
+
_appendUnparsedTail(e, t, r) {
|
|
197
197
|
const s = [];
|
|
198
198
|
for (const t of e) {
|
|
199
|
-
if (t.type ===
|
|
200
|
-
const e = t.type ===
|
|
201
|
-
if (t.type ===
|
|
202
|
-
const e =
|
|
203
|
-
"let" ===
|
|
199
|
+
if (t.type === n.Whitespace) continue;
|
|
200
|
+
const e = t.type === n.Paren || t.type === n.Type ? t.text : void 0, r = s.length > 0 ? s[s.length - 1] : void 0;
|
|
201
|
+
if (t.type === n.Separator && r) {
|
|
202
|
+
const e = r.declared[r.declared.length - 1];
|
|
203
|
+
"let" === r.ctx?.type && -1 === r.ctx.argIndex && r.lambda?.argTokens === r.argTokens && e?.argIndex === r.argIndex - 1 && (e.params = r.lambda.params), r.argIndex++, r.argTokens = 0, r.lambda = void 0;
|
|
204
204
|
continue;
|
|
205
205
|
}
|
|
206
|
-
if (
|
|
206
|
+
if (r && r.argTokens++, "(" === e || "[" === e || "{" === e) s.push({
|
|
207
207
|
ctx: t.context,
|
|
208
208
|
argIndex: 0,
|
|
209
209
|
declared: [],
|
|
210
210
|
argTokens: 0,
|
|
211
|
-
leadsArg: 2 ===
|
|
211
|
+
leadsArg: 2 === r?.argTokens
|
|
212
212
|
});
|
|
213
213
|
else if (")" === e || "]" === e || "}" === e) {
|
|
214
214
|
const e = s.pop(), t = s.length > 0 ? s[s.length - 1] : void 0;
|
|
@@ -219,15 +219,15 @@ var P = class {
|
|
|
219
219
|
} : { name: e }),
|
|
220
220
|
argTokens: t.argTokens
|
|
221
221
|
});
|
|
222
|
-
} else if (t.type ===
|
|
222
|
+
} else if (t.type === n.Parameter && r && t.value?.declaration) {
|
|
223
223
|
const e = t.value;
|
|
224
|
-
|
|
224
|
+
r.declared.push(e.optional ? {
|
|
225
225
|
name: e.name,
|
|
226
|
-
argIndex:
|
|
226
|
+
argIndex: r.argIndex,
|
|
227
227
|
optional: !0
|
|
228
228
|
} : {
|
|
229
229
|
name: e.name,
|
|
230
|
-
argIndex:
|
|
230
|
+
argIndex: r.argIndex
|
|
231
231
|
});
|
|
232
232
|
}
|
|
233
233
|
}
|
|
@@ -248,19 +248,19 @@ var P = class {
|
|
|
248
248
|
}
|
|
249
249
|
t && (l.bound = t);
|
|
250
250
|
}
|
|
251
|
-
const i = (t,
|
|
252
|
-
const s =
|
|
253
|
-
type:
|
|
251
|
+
const i = (t, r) => {
|
|
252
|
+
const s = r ? {
|
|
253
|
+
type: n.Named,
|
|
254
254
|
value: { name: t },
|
|
255
255
|
text: t
|
|
256
256
|
} : {
|
|
257
|
-
type:
|
|
257
|
+
type: n.Unparsed,
|
|
258
258
|
value: t,
|
|
259
259
|
text: t
|
|
260
260
|
};
|
|
261
261
|
l && (s.context = l), e.push(s);
|
|
262
262
|
};
|
|
263
|
-
if (F(e, t, l,
|
|
263
|
+
if (F(e, t, l, r)) return;
|
|
264
264
|
const c = /[A-Za-z_][A-Za-z0-9_]*$/.exec(t), u = c ? c.index : -1;
|
|
265
265
|
let p = u > 0 ? t[u - 1] : "";
|
|
266
266
|
for (let t = e.length - 1; 0 === u && t >= 0 && !p; t--) p = e[t].text?.at(-1) ?? "";
|
|
@@ -287,7 +287,7 @@ function w(e, t) {
|
|
|
287
287
|
}
|
|
288
288
|
return -1;
|
|
289
289
|
}
|
|
290
|
-
function F(e, t,
|
|
290
|
+
function F(e, t, r, s) {
|
|
291
291
|
let a = 0, o = -1;
|
|
292
292
|
for (let e = 0; e < t.length; e++) {
|
|
293
293
|
const n = t[e];
|
|
@@ -303,7 +303,7 @@ function F(e, t, n, s) {
|
|
|
303
303
|
const e = p.index > 0 ? l[p.index - 1] : i?.text?.at(-1) ?? "";
|
|
304
304
|
if (/[A-Za-z0-9_.]/.test(e)) return !1;
|
|
305
305
|
c = p[0], l = l.slice(0, p.index);
|
|
306
|
-
} else 0 === l.length && i?.text && 0 === k.exec(i.text)?.index && (i.type ===
|
|
306
|
+
} else 0 === l.length && i?.text && 0 === k.exec(i.text)?.index && (i.type === n.Named && !i.value?.scope || i.type === n.TableReference) && (c = i.text, u = !0);
|
|
307
307
|
if (!u) {
|
|
308
308
|
const e = l.length > 0 ? l[l.length - 1] : i?.text?.at(-1) ?? "";
|
|
309
309
|
if (e && E.test(e)) return !1;
|
|
@@ -319,8 +319,8 @@ function F(e, t, n, s) {
|
|
|
319
319
|
type: "table"
|
|
320
320
|
}
|
|
321
321
|
});
|
|
322
|
-
}, g = (e, t,
|
|
323
|
-
const a = e.startsWith("#"), o =
|
|
322
|
+
}, g = (e, t, r, s) => {
|
|
323
|
+
const a = e.startsWith("#"), o = r ? s ? "column" : a ? "specifier" : e ? "column" : "any" : void 0, l = o ? {
|
|
324
324
|
table: d,
|
|
325
325
|
name: e,
|
|
326
326
|
partial: o
|
|
@@ -329,7 +329,7 @@ function F(e, t, n, s) {
|
|
|
329
329
|
name: e
|
|
330
330
|
};
|
|
331
331
|
f.push({
|
|
332
|
-
type: a ?
|
|
332
|
+
type: a ? n.TableSpecifier : n.TableColumn,
|
|
333
333
|
value: l,
|
|
334
334
|
text: e,
|
|
335
335
|
context: {
|
|
@@ -338,37 +338,37 @@ function F(e, t, n, s) {
|
|
|
338
338
|
type: "table"
|
|
339
339
|
}
|
|
340
340
|
});
|
|
341
|
-
}, m = (e, t,
|
|
342
|
-
h(
|
|
341
|
+
}, m = (e, t, r, s) => {
|
|
342
|
+
h(n.Paren, "[", r), g(e.slice(1, t ? -1 : void 0), r, !t, s), t && h(n.Paren, "]", r);
|
|
343
343
|
};
|
|
344
|
-
h(
|
|
344
|
+
h(n.Paren, "[", -1);
|
|
345
345
|
const x = t.slice(o + 1);
|
|
346
346
|
if (x.startsWith("[")) {
|
|
347
|
-
let e = 0, t = !1,
|
|
348
|
-
for (;
|
|
349
|
-
const s = x[
|
|
347
|
+
let e = 0, t = !1, r = 0;
|
|
348
|
+
for (; r < x.length;) {
|
|
349
|
+
const s = x[r];
|
|
350
350
|
if ("[" === s) {
|
|
351
|
-
const
|
|
352
|
-
if (null ===
|
|
353
|
-
const s = -1 !==
|
|
354
|
-
if (m(x.slice(
|
|
355
|
-
|
|
356
|
-
} else if ("," === s) h(
|
|
357
|
-
else if (":" === s) h(
|
|
358
|
-
else if ("@" === s) h(
|
|
351
|
+
const n = w(x, r);
|
|
352
|
+
if (null === n) return !1;
|
|
353
|
+
const s = -1 !== n;
|
|
354
|
+
if (m(x.slice(r, s ? n : x.length), s, e, t), t = !1, !s) break;
|
|
355
|
+
r = n;
|
|
356
|
+
} else if ("," === s) h(n.Separator, ",", e++), r++;
|
|
357
|
+
else if (":" === s) h(n.Infix, ":", e), r++;
|
|
358
|
+
else if ("@" === s) h(n.Prefix, "@", e), t = !0, r++;
|
|
359
359
|
else {
|
|
360
360
|
if (" " !== s) return !1;
|
|
361
361
|
{
|
|
362
|
-
let t =
|
|
362
|
+
let t = r;
|
|
363
363
|
for (; " " === x[t];) t++;
|
|
364
|
-
h(
|
|
364
|
+
h(n.Whitespace, x.slice(r, t), e), r = t;
|
|
365
365
|
}
|
|
366
366
|
}
|
|
367
367
|
}
|
|
368
368
|
} else {
|
|
369
369
|
let e = x;
|
|
370
370
|
const t = e.startsWith("@");
|
|
371
|
-
if (t && (h(
|
|
371
|
+
if (t && (h(n.Prefix, "@", 0), e = e.slice(1)), e.startsWith("[")) {
|
|
372
372
|
if (-1 !== w(e, 0)) return !1;
|
|
373
373
|
m(e, !1, 0, t);
|
|
374
374
|
} else {
|
|
@@ -378,27 +378,27 @@ function F(e, t, n, s) {
|
|
|
378
378
|
}
|
|
379
379
|
if (l) {
|
|
380
380
|
const t = {
|
|
381
|
-
type:
|
|
381
|
+
type: n.Unparsed,
|
|
382
382
|
value: l,
|
|
383
383
|
text: l
|
|
384
384
|
};
|
|
385
|
-
|
|
385
|
+
r && (t.context = r), e.push(t);
|
|
386
386
|
}
|
|
387
387
|
if (u) {
|
|
388
388
|
const t = {
|
|
389
389
|
...i,
|
|
390
|
-
type:
|
|
390
|
+
type: n.TableReference,
|
|
391
391
|
value: c,
|
|
392
392
|
text: c
|
|
393
393
|
};
|
|
394
394
|
delete t.referenceIndex, e[e.length - 1] = t;
|
|
395
395
|
} else if (c) {
|
|
396
396
|
const t = {
|
|
397
|
-
type:
|
|
397
|
+
type: n.TableReference,
|
|
398
398
|
value: c,
|
|
399
399
|
text: c
|
|
400
400
|
};
|
|
401
|
-
|
|
401
|
+
r && (t.context = r), e.push(t);
|
|
402
402
|
}
|
|
403
403
|
for (const t of f) e.push(t);
|
|
404
404
|
return !0;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. -
|
|
2
|
+
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v1.0.0
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: SheetXL EULA — https://www.sheetxl.com/eula
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. -
|
|
2
|
+
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v1.0.0
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: SheetXL EULA — https://www.sheetxl.com/eula
|
|
6
6
|
*/
|
|
7
|
-
import { tt as t, u as e } from "./
|
|
8
|
-
import { i as n } from "./
|
|
9
|
-
import {
|
|
7
|
+
import { tt as t, u as e } from "./DzYvbv5u7E2H7IoB.js";
|
|
8
|
+
import { i as n } from "./BaZAIwIrqn1x69WH.js";
|
|
9
|
+
import { At as s, Gt as o, K as r, Rt as i, Tt as a, a as c, cn as h, h as d, i as l, nt as u, qt as g, s as _, ut as p, w as m } from "./8hLtXHueDl7B_SEn.js";
|
|
10
10
|
var y = Object.freeze({}), S = /^(line|lineInv|straightConnector\d|bentConnector\d|curvedConnector\d)$/, w = () => {}, C = class extends n {
|
|
11
11
|
constructor(t) {
|
|
12
12
|
super(t), this._textSource = null, this._textFrame = null, this._resources = null, this._connectorFormat = null, this._style = null, this._drawn = null, this._drawnPending = null, this._getStyles = t.getStyles ?? null, t.json && (this._updateState({ data: t.json }), this._resources = x(t.json, t.fromResourceId));
|
|
13
13
|
}
|
|
14
14
|
_processAfterStateChange(t, e) {
|
|
15
|
-
super._processAfterStateChange(t, e),
|
|
15
|
+
super._processAfterStateChange(t, e), d();
|
|
16
16
|
}
|
|
17
17
|
getResource(t) {
|
|
18
18
|
return this._resources?.get(t) ?? null;
|
|
@@ -51,7 +51,7 @@ var y = Object.freeze({}), S = /^(line|lineInv|straightConnector\d|bentConnector
|
|
|
51
51
|
return this._textSource = t, this._textFrame = null === e ? null : Object.freeze({ getText: () => e }), this._textFrame;
|
|
52
52
|
}
|
|
53
53
|
getStyle() {
|
|
54
|
-
return this._style ? this._style : this._style = new
|
|
54
|
+
return this._style ? this._style : this._style = new c({
|
|
55
55
|
getData: () => this._getState()?.data ?? null,
|
|
56
56
|
getStyles: () => this._getStyles?.() ?? null,
|
|
57
57
|
getTheme: () => this._theme(),
|
|
@@ -100,7 +100,7 @@ var y = Object.freeze({}), S = /^(line|lineInv|straightConnector\d|bentConnector
|
|
|
100
100
|
n ? s.adjustments = { ...n } : delete s.adjustments, this._updateState({ data: s }, { description: e("op.setShapeAdjustments") }, ["onAnyChange"]);
|
|
101
101
|
}
|
|
102
102
|
isConnector() {
|
|
103
|
-
return (this._getState()?.data)?.type ===
|
|
103
|
+
return (this._getState()?.data)?.type === _.Type.Connector;
|
|
104
104
|
}
|
|
105
105
|
getConnectorFormat() {
|
|
106
106
|
return this.isConnector() ? (this._connectorFormat ??= new f(this), this._connectorFormat) : null;
|
|
@@ -117,20 +117,20 @@ var y = Object.freeze({}), S = /^(line|lineInv|straightConnector\d|bentConnector
|
|
|
117
117
|
}
|
|
118
118
|
_connectedMovable(t) {
|
|
119
119
|
const e = this._connectedEnd(t), n = this.getMovable()?.getRange().getWorksheet() ?? null;
|
|
120
|
-
return e && n ?
|
|
120
|
+
return e && n ? i(n, e.id) : null;
|
|
121
121
|
}
|
|
122
122
|
_connect(n, s, o, r) {
|
|
123
123
|
const i = r?.description ?? e("op.connectShape");
|
|
124
124
|
this._protectionCheck(i);
|
|
125
|
-
const
|
|
126
|
-
if (!
|
|
127
|
-
if (s ===
|
|
125
|
+
const c = this.getMovable(), h = c?.getRange().getWorksheet() ?? null;
|
|
126
|
+
if (!c || !h) throw new t("A connector is glued on a sheet.");
|
|
127
|
+
if (s === c) throw new t("A connector cannot be glued to itself.");
|
|
128
128
|
if (s.getRange().getWorksheet() !== h) throw new t("A connector is glued to a movable on the same sheet.");
|
|
129
129
|
if (!(Number.isInteger(o) && o >= 0)) throw new t(`Invalid connection site: ${o}.`);
|
|
130
130
|
const d = this._beginCommit(i);
|
|
131
131
|
try {
|
|
132
132
|
const t = {
|
|
133
|
-
id:
|
|
133
|
+
id: g(s, () => a(h)),
|
|
134
134
|
index: o
|
|
135
135
|
};
|
|
136
136
|
this._writeEnd(n, t, {
|
|
@@ -138,9 +138,9 @@ var y = Object.freeze({}), S = /^(line|lineInv|straightConnector\d|bentConnector
|
|
|
138
138
|
description: i
|
|
139
139
|
});
|
|
140
140
|
const e = () => {
|
|
141
|
-
this.isDeleted() ||
|
|
141
|
+
this.isDeleted() || c.isDeleted() || this._amend(() => u(h, c, e));
|
|
142
142
|
};
|
|
143
|
-
|
|
143
|
+
u(h, c, e), d.commit();
|
|
144
144
|
} catch (n) {
|
|
145
145
|
throw d.rollback(), n;
|
|
146
146
|
}
|
|
@@ -169,15 +169,15 @@ var y = Object.freeze({}), S = /^(line|lineInv|straightConnector\d|bentConnector
|
|
|
169
169
|
if (!n) return null;
|
|
170
170
|
t ??= n.width, e ??= n.height;
|
|
171
171
|
}
|
|
172
|
-
const
|
|
173
|
-
return
|
|
174
|
-
data:
|
|
172
|
+
const o = this._getState()?.data ?? {}, i = n ? v(o, n) : o, a = await r(i, this._theme(), t, e);
|
|
173
|
+
return a && i === o && this._getState()?.data === i && !this._drawnPending && (this._drawn = {
|
|
174
|
+
data: i,
|
|
175
175
|
width: t,
|
|
176
176
|
height: e,
|
|
177
|
-
geometry:
|
|
178
|
-
rect:
|
|
179
|
-
connections: b(
|
|
180
|
-
}),
|
|
177
|
+
geometry: a,
|
|
178
|
+
rect: s(a),
|
|
179
|
+
connections: b(a)
|
|
180
|
+
}), a;
|
|
181
181
|
}
|
|
182
182
|
_getDrawnRect(t, e, n) {
|
|
183
183
|
const s = this._evaluated(t, e, n);
|
|
@@ -206,30 +206,30 @@ var y = Object.freeze({}), S = /^(line|lineInv|straightConnector\d|bentConnector
|
|
|
206
206
|
}));
|
|
207
207
|
}
|
|
208
208
|
_evaluated(t, e, n) {
|
|
209
|
-
const
|
|
210
|
-
if (!
|
|
211
|
-
const
|
|
212
|
-
if (!
|
|
213
|
-
const
|
|
214
|
-
if (!
|
|
215
|
-
const
|
|
216
|
-
data:
|
|
209
|
+
const o = this._getState()?.data;
|
|
210
|
+
if (!o) return null;
|
|
211
|
+
const i = this._drawn;
|
|
212
|
+
if (!i || i.data !== o || i.width !== t || i.height !== e) {
|
|
213
|
+
const i = this._drawnPending;
|
|
214
|
+
if (!i || i.data !== o || i.width !== t || i.height !== e) {
|
|
215
|
+
const i = {
|
|
216
|
+
data: o,
|
|
217
217
|
width: t,
|
|
218
218
|
height: e
|
|
219
219
|
};
|
|
220
|
-
this._drawnPending =
|
|
221
|
-
this._drawnPending ===
|
|
222
|
-
...
|
|
220
|
+
this._drawnPending = i, r(o, this._theme(), t, e).then((t) => {
|
|
221
|
+
this._drawnPending === i && (this._drawnPending = null, this._drawn = {
|
|
222
|
+
...i,
|
|
223
223
|
geometry: t,
|
|
224
|
-
rect: t ?
|
|
224
|
+
rect: t ? s(t) : null,
|
|
225
225
|
connections: t ? b(t) : []
|
|
226
226
|
}, n());
|
|
227
227
|
}, () => {
|
|
228
|
-
this._drawnPending ===
|
|
228
|
+
this._drawnPending === i && (this._drawnPending = null);
|
|
229
229
|
});
|
|
230
230
|
}
|
|
231
231
|
}
|
|
232
|
-
return
|
|
232
|
+
return i;
|
|
233
233
|
}
|
|
234
234
|
_theme() {
|
|
235
235
|
try {
|
|
@@ -267,15 +267,15 @@ var y = Object.freeze({}), S = /^(line|lineInv|straightConnector\d|bentConnector
|
|
|
267
267
|
}
|
|
268
268
|
getEndPoints(t) {
|
|
269
269
|
const e = t ?? (this._shape.getMovable() ? o(this._shape.getMovable()) : null);
|
|
270
|
-
return e ?
|
|
270
|
+
return e ? h(e) : null;
|
|
271
271
|
}
|
|
272
272
|
placeEnds(t, e) {
|
|
273
|
-
return
|
|
273
|
+
return l(t, e, this._shape.getMovable()?.getRotation() || 0);
|
|
274
274
|
}
|
|
275
275
|
getGluedRoute(t) {
|
|
276
276
|
const e = this._shape.getMovable(), n = e?.getRange().getWorksheet() ?? null;
|
|
277
277
|
if (!e || !n) return null;
|
|
278
|
-
const s =
|
|
278
|
+
const s = p(n, e, t ?? o, w);
|
|
279
279
|
return s ? {
|
|
280
280
|
placement: s.placement,
|
|
281
281
|
shapeType: s.route?.geometry ?? null,
|
|
@@ -284,7 +284,7 @@ var y = Object.freeze({}), S = /^(line|lineInv|straightConnector\d|bentConnector
|
|
|
284
284
|
}
|
|
285
285
|
getConnectorType() {
|
|
286
286
|
const t = this._shape.getShapeType();
|
|
287
|
-
return t.startsWith("bentConnector") ?
|
|
287
|
+
return t.startsWith("bentConnector") ? _.ConnectorType.Elbow : t.startsWith("curvedConnector") ? _.ConnectorType.Curved : _.ConnectorType.Straight;
|
|
288
288
|
}
|
|
289
289
|
isStartConnected() {
|
|
290
290
|
return null !== this._shape._connectedEnd("start");
|
|
@@ -330,7 +330,7 @@ var y = Object.freeze({}), S = /^(line|lineInv|straightConnector\d|bentConnector
|
|
|
330
330
|
return e.slice(n, s).join("\n");
|
|
331
331
|
})(t.text) : null, T = (t) => {
|
|
332
332
|
const e = t.fill;
|
|
333
|
-
return e?.type ===
|
|
333
|
+
return e?.type === m.Type.Image ? e : void 0;
|
|
334
334
|
}, x = (t, e) => {
|
|
335
335
|
const n = T(t)?.resId, s = void 0 === n ? void 0 : e?.(n);
|
|
336
336
|
return s ? /* @__PURE__ */ new Map([[n, s]]) : null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. -
|
|
2
|
+
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v1.0.0
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: SheetXL EULA — https://www.sheetxl.com/eula
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. -
|
|
2
|
+
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v1.0.0
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: SheetXL EULA — https://www.sheetxl.com/eula
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. -
|
|
2
|
+
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v1.0.0
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: SheetXL EULA — https://www.sheetxl.com/eula
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. -
|
|
2
|
+
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v1.0.0
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: SheetXL EULA — https://www.sheetxl.com/eula
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. -
|
|
2
|
+
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v1.0.0
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: SheetXL EULA — https://www.sheetxl.com/eula
|
|
6
6
|
*/
|
|
7
|
-
import { ht as e } from "./
|
|
8
|
-
import { c as t, o as n } from "./
|
|
9
|
-
import { n as i } from "./
|
|
10
|
-
import { t as r } from "./
|
|
7
|
+
import { ht as e } from "./DzYvbv5u7E2H7IoB.js";
|
|
8
|
+
import { c as t, o as n } from "./BgN67gyTyx_xz2Ny.js";
|
|
9
|
+
import { n as i } from "./DXrX5tIZ1J5BhpFk.js";
|
|
10
|
+
import { t as r } from "./DlARYdaCOVKiQzMH.js";
|
|
11
11
|
var o = null, a = null, s = { compilerOptions: { target: "esnext" } };
|
|
12
12
|
function l(e, t, i) {
|
|
13
13
|
return (r) => {
|
|
@@ -49,7 +49,7 @@ var c = async () => "\n interface FirstTest {\n isTrue?: boolean;\n }\n", u
|
|
|
49
49
|
"lib.esnext.asynciterable.d.ts"
|
|
50
50
|
], f = /* @__PURE__ */ new Map(), g = null, h = null;
|
|
51
51
|
async function b() {
|
|
52
|
-
return h || (h = import("./
|
|
52
|
+
return h || (h = import("./O3m_QwxIRXMPFTB8.js").then(async (e) => {
|
|
53
53
|
const t = await y();
|
|
54
54
|
return void 0 !== e.readLibFile(t, "lib.es5.d.ts") ? e.readLibFile : null;
|
|
55
55
|
})), h;
|
|
@@ -57,7 +57,7 @@ async function b() {
|
|
|
57
57
|
async function y() {
|
|
58
58
|
if (u) return u;
|
|
59
59
|
try {
|
|
60
|
-
const e = await (await import("./
|
|
60
|
+
const e = await (await import("./O3m_QwxIRXMPFTB8.js")).initialize();
|
|
61
61
|
if (!e) throw new Error("TypeScript could not be loaded. Check your connection and try again.");
|
|
62
62
|
return e;
|
|
63
63
|
} catch (e) {
|
|
@@ -171,7 +171,7 @@ async function v(u) {
|
|
|
171
171
|
e = n, t = i;
|
|
172
172
|
});
|
|
173
173
|
try {
|
|
174
|
-
const { initialize: t } = await import("./
|
|
174
|
+
const { initialize: t } = await import("./rzi2XAwlfy8BsGEa.js");
|
|
175
175
|
return o = await t(), e(), o;
|
|
176
176
|
} catch (e) {
|
|
177
177
|
throw console.error("Failed to import or initialize esbuild:", e), a = null, t(e), e;
|