@sheetxl/mcp 0.8.0-beta.23 → 0.8.0-beta.25
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/{qjyVXZeVSr_qZfX5.js → 45FAgD1JyG2a1Rti.js} +2 -2
- package/assets/{L9RIicOHtZd2Rx8g.js → 70weNsvW2LMx5QcW.js} +1 -1
- package/assets/{CndRpNCcV89ncnqz.js → APcHum0Riw3QhLBQ.js} +1 -1
- package/assets/{NDe-uS1n_Q7u1H3m.js → Abkx7KJ6_X5avkR4.js} +3 -3
- package/assets/{2xkoVdiI70Gpaxoc.js → B0FfnXdiZxExcdjB.js} +2 -2
- package/assets/{DV3PnM9lo0AW-YOA.js → B6e_DsVO4i91IYEO.js} +3 -3
- package/assets/{D-PYDPXobSWiPh1D.js → B940vbTfpMYACpDE.js} +2 -2
- package/assets/{BZaXHnsJ6RkCZsnz.js → BAowTO-7Utmg0UvM.js} +3 -3
- package/assets/{CCBQDcCHI47PZ0YQ.js → BBccc8pDH-6AJdoT.js} +5 -5
- package/assets/{CQCPJBQD0qv9y8qE.js → BD3Bc7ZHxenj4S7Q.js} +1 -1
- package/assets/{dep8oZGwBmUpxjHl.js → BFKj2ik7h-yM6oCR.js} +1 -1
- package/assets/{BcWSfKJ9Atkc0X_p.js → BHIi-cAKnh_sAifV.js} +1 -1
- package/assets/{CSisGJ4hiDhTi19U.js → BHeXL-Lo390ZSNV0.js} +1 -1
- package/assets/{a9lvcAd7rWsWSWAo.js → BNvsIyBwweYnfUz3.js} +1 -1
- package/assets/{t4qTfgdlstczTs2z.js → BSJ_L1gNOejEih6N.js} +40 -40
- package/assets/{CeVCLRwjkH3_OXJu.js → BV13tLgNXZ8MDaE_.js} +1 -1
- package/assets/{CHG4ZuzhyjGRuKBg.js → BW8ReYzx-CEJ-lAG.js} +1 -1
- package/assets/{DcO0gub7cRKVw4xB.js → BXxUz-sB48Z9nSFi.js} +1 -1
- package/assets/{DL7_uGw6KiZhlvR8.js → B_GZxEqqpKtEPbWC.js} +1 -1
- package/assets/{BPorbjbkH-VoV1M0.js → Bb7ZxgjHwiKgARXs.js} +1 -1
- package/assets/{BomatnedZsGMF7MW.js → BbfSzxx5EzAvn-_F.js} +1432 -1352
- package/assets/{CGLapmkNccH1g_ZJ.js → BktUuVP0Jew8_-ff.js} +1 -1
- package/assets/{BBuB6ffvyg2Cd7V5.js → Brlza6Jd2oGGX9vB.js} +1 -1
- package/assets/{DZt1ONN8CTTfmHGn.js → BtNEVWQWEp_Ie1nT.js} +642 -642
- package/assets/{jKIDENA_QP4bEX49.js → Bwk-CZuGiTRT2ox_.js} +4 -4
- package/assets/{CyhngJo16o7G18lq.js → BzLwCwXsh7eXQpeK.js} +1 -1
- package/assets/{CPZgEZ2jKoo7hS6g.js → BzU8BhgrkSoh-XJF.js} +8 -8
- package/assets/{DrKr8dXQEQ3Aukmt.js → C-FJab2sVwBbOTiA.js} +1 -1
- package/assets/{KhdF512BKcJXZMvq.js → C-Vt758qtn8QeCrw.js} +1 -1
- package/assets/{aTxgpOOxLenli4af.js → C2kYWrsx5mg4XOES.js} +1 -1
- package/assets/{2XwVsSfo5wF5K-HA.js → C6Vsz4e_ASJdx3LP.js} +1 -1
- package/assets/{DN1RRp4qQfCq3JAO.js → C9DvPNfuz_0hun6C.js} +1 -1
- package/assets/{PiFW6uPRJABzK3V1.js → CAI8p60cuWlgnlko.js} +14 -14
- package/assets/{BI8kb-rd9dW85XJs.js → CCOaNx5_BfWCc9yz.js} +1 -1
- package/assets/{B2zUUqxAJ1RiM7YI.js → CD2yoEhIT8DyXBou.js} +52 -52
- package/assets/{DPjWOMoJ-elAAOmS.js → CDiutOsLAzu4c0Ej.js} +1 -1
- package/assets/{DfBERTJjS9LP0RSp.js → CFrOPd_UcD7qclCq.js} +1 -1
- package/assets/{CH8DNTUgM79xk8Tt.js → CGS7apShLtnlmF8D.js} +1 -1
- package/assets/{CgYef9dYxY8YyUTE.js → CGdayif_qNMtoATI.js} +1 -1
- package/assets/{bsnhRuD-K-qhW-y5.js → CJubVukzHBNJb_Wf.js} +91 -91
- package/assets/{MzfM7zDcnyOFK1lK.js → COXWiXy3DCfmXSm5.js} +1 -1
- package/assets/{Bbmh8_bdk_HrQ5Y6.js → COZ-bhj463kGINFA.js} +1 -1
- package/assets/{BdUFL3lVdwifHrf0.js → CSMsn9bKgR9kWG0m.js} +1 -1
- package/assets/{WH1Vl-MDWX3vSMn1.js → CVWoX7wNwrZwm5XB.js} +2 -2
- package/assets/{DLuQ_rdu0XjYF7Jq.js → CX-KrjVgXM-7o--S.js} +2 -2
- package/assets/{BNEBXKAh-N4Tygk7.js → CYtkZMCX6dyEqjb9.js} +44 -44
- package/assets/{CE5DhB5As59VJ-Ig.js → Cb7FKT3S78r6IYHi.js} +1 -1
- package/assets/{Cidwv57sKqhIrpHP.js → CcTDxlAqw6HuYmmm.js} +42 -42
- package/assets/CehVpkp73IfWGN_b.js +14 -0
- package/assets/{f_dBJuakO_BJ7Tvm.js → CfWSdzSpbErVA_1h.js} +309 -309
- package/assets/{E-KM5RFByUxjlkId.js → Ci3R5B7bLke8NZRo.js} +6 -6
- package/assets/{DbbNJyL67KdOK7nc.js → ClRgSo0axU3lAOwR.js} +1 -1
- package/assets/{DJ2jlogB1DWlGM-J.js → Cmf4eJow6AIuPH_w.js} +1 -1
- package/assets/{CE-9VKh5-Xwxnxmu.js → Cplall3oc-_3AhCB.js} +1 -1
- package/assets/{BJMeWtr7TiLNpt17.js → Cu4ok_jTnQif8QtX.js} +1 -1
- package/assets/{D7oYfHgO0kEqAnPV.js → D053O1kZ7JtMwiqh.js} +1 -1
- package/assets/{BPtf3_nlovO4r9Bm.js → D5aWcMLJ2wyLm9Ws.js} +1 -1
- package/assets/{B3YRTBFhX61z6rJv.js → D6qQAWN_5p3FAshK.js} +375 -370
- package/assets/{DvkBNkPyR5kuS0Uo.js → D7NjohknztgMLqhT.js} +2 -2
- package/assets/{CBMMHYgUAhgiJhJE.js → D8cqT2lbcP5Yp1Or.js} +3 -3
- package/assets/{DACd4ZjYwzNE7Koc.js → D8wjcRGgRdU34Ata.js} +1 -1
- package/assets/{DtETpSxSR8C1voac.js → DAnTpFc2vx3CmP8e.js} +83 -83
- package/assets/{BWeaY19OpTJK5v0n.js → DB2MrmDLZ-OzVRQu.js} +2 -2
- package/assets/{ChbkkN_JqbAGrUwB.js → DBgHcEP-FcgSHLvx.js} +332 -332
- package/assets/{CnUYevzhUJYNqLad.js → DFd0JAiw5dkbnULM.js} +1 -1
- package/assets/{CC7EfXPwp7_nSBIz.js → DG9KGapq8eHlcTC7.js} +1 -1
- package/assets/{C6_KHS3-ROddeSbS.js → DHCl7HWDbT3xqx8W.js} +2 -2
- package/assets/{BDSNdgf_hbhX1DhN.js → DJlQxf99HCszeCCD.js} +1 -1
- package/assets/{DiJexWBIzdGj1H0H.js → DLW76uSURiQM07DD.js} +1 -1
- package/assets/{Cx1bc-Dsja7W3GlB.js → DQBqVPRLkZFb2P_x.js} +2 -2
- package/assets/{D60N4r1a2YsNEwqj.js → DQlLgxA592HvgKzh.js} +1 -1
- package/assets/{D5O3m16KeyU_oXqH.js → DRvzD5Tkcb2OU0G2.js} +1 -1
- package/assets/{5MnsnJcajdtAujE2.js → DUfrvQDZKh_22F91.js} +1 -1
- package/assets/{DL8wUEe2Kx7bjDYP.js → DX94YgmfoL_ngS60.js} +1 -1
- package/assets/{BazhmjGvrL7pqVQP.js → DXDhH3F4N4OOigqN.js} +1 -1
- package/assets/{CpyybSV2kR6b-SIB.js → DXVfJfT6ftWk5kYi.js} +497 -497
- package/assets/{DSyZaCML62gSnudE.js → DYx_I-o0yjx056Dq.js} +1 -1
- package/assets/{YtxPcFPURJF6CxWu.js → DZBfVpnngvY9Ra3C.js} +1 -1
- package/assets/{Dawi8y7JWn6A9gAx.js → DZOzgVEOXfHTE3YC.js} +1 -1
- package/assets/{PVGDjdR9C4stMNpM.js → DZTVTdrwu05fNZk_.js} +1 -1
- package/assets/{BYbzf-TVwbKQPCyK.js → DaB9iRVJj3TmKH92.js} +3 -3
- package/assets/{BLr8y5StL65VZQxG.js → DbHVXEt9qwlb8Gou.js} +154 -155
- package/assets/{wKkW4LO-iUp92LVC.js → DbXqd8hGNQEyS-s0.js} +1 -1
- package/assets/{BULbMlvQuB2WFBFE.js → DcHo7BC8Ny3hWq0j.js} +2 -2
- package/assets/{DAliB9N1z6qnw4NO.js → DcHvH_I64hbnNh9G.js} +1 -1
- package/assets/{DoP6myQHGI-X1gNy.js → DfaQvLAaU7HHPnSe.js} +89 -89
- package/assets/{BVUfaOAGhdMim8yB.js → DgE30NwKzEjZI1W6.js} +3 -3
- package/assets/{KMTTqSwDthnXnD4F.js → Djl7cjJyCIS_Qvbd.js} +1 -1
- package/assets/{CzoRlNMlpFz4iax3.js → DkS3EQvuEuPDvCws.js} +2 -2
- package/assets/{CrTLWpsRNBSyTLor.js → DkT0-_t9Xgp4l-Mh.js} +1 -1
- package/assets/{DuQU8JjPLBIK804w.js → DlOCT6DI5bhPtQ8j.js} +26 -26
- package/assets/{Bjk1Twm0RFO_3fS8.js → DpGFb3hbAT5Murcv.js} +1 -1
- package/assets/{D5PpcRuJYSv0i2y9.js → DunKnm-bQd0oHn9n.js} +2 -2
- package/assets/{Bz08KxFupjbdsoFx.js → Duw8QQGcrPmesb-M.js} +1 -1
- package/assets/{DUytcsu0MV3GnsrM.js → DvkgborRc2vRq8E-.js} +1 -1
- package/assets/{WuKVkvMPAOmRaCDY.js → DwmlBb640xWfAMV2.js} +2 -2
- package/assets/{CtlrxXVgZDIOcuc1.js → GfAXkT_vctdRX_9f.js} +162 -162
- package/assets/{Dg5QmWm0uBTEjZy4.js → H40qXR3Gazmnq4Mv.js} +1 -1
- package/assets/{DgLQfXTWavoBetna.js → HLtC2gb8SfNmJU5q.js} +5 -5
- package/assets/{1J1R3dclFOh322Yr.js → H_6CBe3t27jHlBHk.js} +182 -182
- package/assets/{Dol52NFQzLCbObuC.js → LQNEL4KjDxwZNwWq.js} +176 -176
- package/assets/{Cl8_HMhRgzPzqFc7.js → O8YGVK4vtz39jQ84.js} +1 -1
- package/assets/{gver5Sz7ZO6ZyrOi.js → TqxFLhPz3zbgi95t.js} +1 -1
- package/assets/{C8G_px4dGuR2KjJh.js → UdhH9UX9jQ4IV11J.js} +1 -1
- package/assets/{BEsnJS5jYwkHNcZd.js → V4pGXJr6fe-CPg7i.js} +1 -1
- package/assets/{DXmebUOAhtW4V6BO.js → V_VVW06vjWkmlbdh.js} +463 -463
- package/assets/{Cg1tSmK_AGJa2VeI.js → VkeNTI1TMsA1ZbGz.js} +3 -3
- package/assets/{BbU6aT_c6-4tkcCw.js → cTLYCAhDs2fR2ITC.js} +1 -1
- package/assets/{BynbAjhJnLjyP7HH.js → cU78RT4WJKAp5mU_.js} +1 -1
- package/assets/{Cl04_aSpBHTwfsQR.js → ckvxz2tZRlY1UPpg.js} +11464 -11420
- package/assets/{CwrOCbcS4IHLsERQ.js → eCD6fmcTsgv76IZm.js} +90 -90
- package/assets/{q1rCdlJA6Z7tA6om.js → irrAIfw6CnCOHmPE.js} +1 -1
- package/assets/{DIAQ_WlBCWhgHt-z.js → ixHQtoul8ubEJfWS.js} +12 -7
- package/assets/{CEsRqYMd5IjnAzzX.js → kmiMiNIUc6rS8DG8.js} +4 -4
- package/assets/{CqP4H_-kRRjcxO91.js → m9BgbF-NgPIYW4kc.js} +1 -1
- package/assets/{BlhJHu9ni2T9IaM1.js → s56uiNHMGbBV6xgZ.js} +1 -1
- package/assets/{BKpicdc9H5WnZPb-.js → u8xtjHo43n-S_O6j.js} +1 -1
- package/assets/{sIWsnPhnHm_MeeM9.js → u9le-qZ3tbYKK1kU.js} +2 -2
- package/assets/{BGxwDpW8DkO8W0Ig.js → xMi-tFxI2s6e18L1.js} +1 -1
- package/assets/{DKKLWACR9GsidnkS.js → xSUMX6J9-MJIGgmG.js} +2 -2
- package/index.js +191 -191
- package/lib.js +1 -1
- package/licenses/dependencies.txt +69 -69
- package/package.json +2 -2
- package/screenshot-page/assets/{DMbFr7oWja7Qpsm6.js → 0P0DnZolMnjPhiea.js} +2 -2
- package/screenshot-page/assets/3L7CY5dA_kT2UBjv.js +1 -0
- package/screenshot-page/assets/{FcTM4SB17cEX1M3X.js → 5Y11BWntgqmzo9dz.js} +1 -1
- package/screenshot-page/assets/{CXwbGzavyvYgDbWU.js → B0CDAMDdxSN4en9k.js} +1 -1
- package/screenshot-page/assets/B6UwT0pG4sQeG7fA.js +3 -0
- package/screenshot-page/assets/BCmGLxQEUabeee6Q.js +2 -0
- package/screenshot-page/assets/{Cengqc8q8BTmNfb_.js → BGIujWi3UayyIWlg.js} +1 -1
- package/screenshot-page/assets/BH2IWQ-8AfNbhYZJ.js +39 -0
- package/screenshot-page/assets/BNjmzbnQlBmX-HPQ.js +1 -0
- package/screenshot-page/assets/{DcrVJCyDwGKeil2U.js → BQTLEc84Eql61S2m.js} +1 -1
- package/screenshot-page/assets/{BjJ_nnNDZEPLpapa.js → BVnzv_sY_58zEJyM.js} +1 -1
- package/screenshot-page/assets/{Cx1kZ2u_8JFV2Q8D.js → BiRVjUOUI8Qv0CE1.js} +1 -1
- package/screenshot-page/assets/BkU12U7IqW7qjopk.js +13 -0
- package/screenshot-page/assets/{D4hvW_TF7vwc-Xlq.js → Bne-AygyF1USkPAy.js} +2 -2
- package/screenshot-page/assets/{Dkf51CnZh2zPEGMd.js → BpJaTpbR_CQzXj9M.js} +1 -1
- package/screenshot-page/assets/Bs-IXwX9BKsCxwcJ.js +2 -0
- package/screenshot-page/assets/{ONNSfQ8RDOqBDsvw.js → Bt7fKk5ZupUuo_xD.js} +2 -2
- package/screenshot-page/assets/{CGx-ZSMV9cPOzbu4.js → C-2hBFk27roWkIrQ.js} +2 -2
- package/screenshot-page/assets/C7MXfx6zf_uTwcpu.js +1 -0
- package/screenshot-page/assets/CALWodHqzUTIv9le.js +5 -0
- package/screenshot-page/assets/{Ce8b0lOBuWKlfLzJ.js → CCYEWK5QyGSnUAfh.js} +1 -1
- package/screenshot-page/assets/{CEL5lzj2NDYwJ-HC.js → CFS0h-wE9YlZRk_1.js} +1 -1
- package/screenshot-page/assets/CKdQfdZJGJFgnrr9.js +586 -0
- package/screenshot-page/assets/{DvRXbyteeo_8sy8T.js → CL_hAngRQwm_KGdR.js} +1 -1
- package/screenshot-page/assets/{BTKdl-XR9TlWaFe7.js → CMryHLEhCyKGuRSW.js} +6 -6
- package/screenshot-page/assets/COL9dj40ytErlGak.js +2 -0
- package/screenshot-page/assets/{BAxPBeFudRJ3OqIC.js → CRtk9ixuBWxhPfPU.js} +1 -1
- package/screenshot-page/assets/CUQsrLir5jYpnRPM.js +1 -0
- package/screenshot-page/assets/CUgX7ETRCJsvqa2x.js +1 -0
- package/screenshot-page/assets/{C7mXat-6esc1AmRD.js → CXeDqC02BZcixiHS.js} +2 -2
- package/screenshot-page/assets/{Cv0zGWEBpmC07Jps.js → CZaKvnrRdlLj1_X8.js} +1 -1
- package/screenshot-page/assets/CfD1bn6b-NM38iZV.js +1 -0
- package/screenshot-page/assets/{BJct69niPZc8L_gZ.js → Ck5onwb1w_19WrtG.js} +1 -1
- package/screenshot-page/assets/{DyxJBLjUkeDuu96F.js → CltB1nb5HHSmYrNG.js} +1 -1
- package/screenshot-page/assets/{D6Yv5cc1JE7DGd6j.js → CqBSIwwGzWl8mrBe.js} +1 -1
- package/screenshot-page/assets/CvBPH5c-gnUG8Jen.js +1 -0
- package/screenshot-page/assets/D-jd_TJCN7AAn125.js +48 -0
- package/screenshot-page/assets/{ChSvXfVMLxZsP9zG.js → D4RZZdlItfrgQHcE.js} +1 -1
- package/screenshot-page/assets/{B2PWru6Ty7ODc2Ie.js → D53hpXNHxIgSWl80.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/{Cbbl3H042tb0krfe.js → D98PlIA4qQ_6ciCu.js} +2 -2
- package/screenshot-page/assets/{Tj3B5At0OAN3tDza.js → DACqwpSwlZka3b7s.js} +1 -1
- package/screenshot-page/assets/{CI3Z1f4amZ9G2rPD.js → DJebrQ5mu8uxpX3b.js} +1 -1
- package/screenshot-page/assets/{DtQFcMvZesaQ4xRf.js → DTAKTGn53yF_B621.js} +1 -1
- package/screenshot-page/assets/{CaOsWPeN_FXseSNg.js → DYYzsN95gWMsxOaj.js} +1 -1
- package/screenshot-page/assets/{C5-sm7wuk62Nzm_p.js → Da_VIghRFdNrmfZT.js} +1 -1
- package/screenshot-page/assets/{Be1S5czBx0lxhYLW.js → DbnmgPTSEii4OGkB.js} +1 -1
- 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/{BT2nkqpteSR9booH.js → DkTX5ZjGNQ5SrwJa.js} +1 -1
- package/screenshot-page/assets/{Bml69dFBVggmVWda.js → DmIjTb4kKfUHxWaF.js} +9 -9
- package/screenshot-page/assets/DqOrgSpuJhQRhMoG.js +4 -0
- package/screenshot-page/assets/{JM0_BaBZ3yF6lnHC.js → Dz_yLNMXKWGx1O6V.js} +2 -2
- package/screenshot-page/assets/{B-8IMo2f1yGNXOyz.js → GxbRmvyoKhHl0ZYY.js} +13 -8
- package/screenshot-page/assets/{C-n8BDiksNjX6Orz.js → MqGbtsji4DVGCAMR.js} +1 -1
- package/screenshot-page/assets/{zvxBjll3jnL0-vNn.js → Np3jWxG724t5hLHZ.js} +2 -2
- package/screenshot-page/assets/eR9_DaySoB72PvMo.js +1 -0
- package/screenshot-page/assets/hB5riGkPy0wXVIig.js +1 -0
- package/screenshot-page/assets/hHvAGynpTvAb97GX.js +1 -0
- package/screenshot-page/assets/{CiFaOHqsDQTE4RRi.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/assets/x1O923k1mN-CduO_.js +1 -0
- package/screenshot-page/index.html +15 -15
- package/types/scripting-api.json +5745 -5743
- package/types/scripting.d.ts +23 -4
- package/assets/DU2Dzzu0oY_eDN6i.js +0 -14
- package/screenshot-page/assets/37LAUhU1_yKtsBlH.js +0 -2
- package/screenshot-page/assets/B3c6NBI22E5SZWG-.js +0 -1
- package/screenshot-page/assets/B3yyoGGGl8ICyeoC.js +0 -39
- package/screenshot-page/assets/B56KxTxcAXDom0g4.js +0 -13
- package/screenshot-page/assets/BPMQ22uISGOm3ymr.js +0 -1
- package/screenshot-page/assets/Bh2DVAOWvWfylt77.js +0 -1
- package/screenshot-page/assets/BoiQQ-37KQn6NcLT.js +0 -1
- package/screenshot-page/assets/C9a-cNha8mBw5q-l.js +0 -1
- package/screenshot-page/assets/CAQ7QWes7j7Fq8o5.js +0 -2
- package/screenshot-page/assets/CaP_vH0sJFjNrSkW.js +0 -1
- package/screenshot-page/assets/CcVllJMjVF6SvVVq.js +0 -2
- package/screenshot-page/assets/CyfTQE0Z76Rp4Fbt.js +0 -586
- package/screenshot-page/assets/D2CxEHjkPQMAxzWl.js +0 -1
- package/screenshot-page/assets/D7Y0npF3FMsGUjgO.js +0 -1
- package/screenshot-page/assets/DEAD_MduPNVoT_T6.js +0 -5
- package/screenshot-page/assets/DMhOGCTy8V0N14gY.js +0 -1
- package/screenshot-page/assets/DVQnEWIisXaOXb_G.js +0 -4
- package/screenshot-page/assets/DXbOBAxx4_2rt5KM.js +0 -1
- package/screenshot-page/assets/DgLZb-StwCd9ftop.js +0 -1
- package/screenshot-page/assets/DrnzLCa7NIirMxno.js +0 -3
- package/screenshot-page/assets/EOw6vVvEfYNga9b4.js +0 -1
- package/screenshot-page/assets/_zzVe2R8R4vwuc5q.js +0 -48
- package/screenshot-page/assets/qFyplGXRu7IepHio.js +0 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v0.8.0-beta.25
|
|
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 { u as e } from "./
|
|
8
|
-
import {
|
|
7
|
+
import { u as e } from "./CCOaNx5_BfWCc9yz.js";
|
|
8
|
+
import { Bt as t, Dr as n, Ei as i, Ft as r, Gt as s, Li as o, Ma as a, Ot as c, Qr as h, Sn as l, Ta as u, Yi as d, Zn as p, _i as f, ba as m, ca as E, eo as T, et as g, ht as O, ir as A, lt as R, mr as I, p as _, qa as N, s as L, t as S, ta as C, w as y, xi as k, xr as v } from "./ckvxz2tZRlY1UPpg.js";
|
|
9
9
|
function x(e) {
|
|
10
10
|
console && console.error && console.error(`Error: ${e}`);
|
|
11
11
|
}
|
|
@@ -4187,7 +4187,7 @@ var jn = class extends $n {
|
|
|
4187
4187
|
}
|
|
4188
4188
|
}, Gn = class t {
|
|
4189
4189
|
static shared(e) {
|
|
4190
|
-
const n = e?.locale ??
|
|
4190
|
+
const n = e?.locale ?? N, i = e?.maxColumn ?? Hn, r = e?.maxRow ?? Yn;
|
|
4191
4191
|
let s = Vn.get(n);
|
|
4192
4192
|
s || (s = /* @__PURE__ */ new Map(), Vn.set(n, s));
|
|
4193
4193
|
const o = `${i}:${r}`;
|
|
@@ -4199,34 +4199,34 @@ var jn = class extends $n {
|
|
|
4199
4199
|
}), s.set(o, a)), a;
|
|
4200
4200
|
}
|
|
4201
4201
|
constructor(e) {
|
|
4202
|
-
const t = e?.maxColumn ?? Hn, n = e?.maxRow ?? Yn,
|
|
4203
|
-
this._locale =
|
|
4204
|
-
const { separatorFunction:
|
|
4205
|
-
if (
|
|
4206
|
-
const
|
|
4202
|
+
const t = e?.maxColumn ?? Hn, n = e?.maxRow ?? Yn, r = e?.locale ?? N;
|
|
4203
|
+
this._locale = r, this._maxColumn = t, this._maxRow = n;
|
|
4204
|
+
const { separatorFunction: s, separatorColumn: o, separatorRow: a, separatorDecimal: c } = r.separators;
|
|
4205
|
+
if (o === a) throw new Error(`FormulaLexer: separatorColumn and separatorRow must differ (both '${o}')`);
|
|
4206
|
+
const h = pt({
|
|
4207
4207
|
name: "WhiteSpace",
|
|
4208
4208
|
pattern: /[ \n\v\f\r\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,
|
|
4209
4209
|
group: tt.SKIPPED
|
|
4210
|
-
}),
|
|
4210
|
+
}), l = pt({
|
|
4211
4211
|
name: "StringToken",
|
|
4212
4212
|
pattern: /"(""|[^"])*"/
|
|
4213
|
-
}),
|
|
4213
|
+
}), u = pt({
|
|
4214
4214
|
name: "FunctionToken",
|
|
4215
4215
|
pattern: /[a-zA-Z_\u007F-\uFFFF]+[a-zA-Z0-9_.\u007F-\uFFFF]*(?=\()/
|
|
4216
|
-
}),
|
|
4216
|
+
}), d = pt({
|
|
4217
4217
|
name: "TableReference",
|
|
4218
|
-
pattern: { exec:
|
|
4218
|
+
pattern: { exec: A },
|
|
4219
4219
|
line_breaks: !1,
|
|
4220
4220
|
start_chars_hint: Wn
|
|
4221
|
-
}),
|
|
4221
|
+
}), p = pt({
|
|
4222
4222
|
name: "BracketedString",
|
|
4223
4223
|
pattern: { exec: i },
|
|
4224
4224
|
line_breaks: !1,
|
|
4225
4225
|
start_chars_hint: [91],
|
|
4226
|
-
longer_alt: [
|
|
4227
|
-
}),
|
|
4226
|
+
longer_alt: [d, l]
|
|
4227
|
+
}), f = (e) => (e ?? []).map((e) => e?.trim()).filter(Boolean).map((e) => e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&")).map((e) => e + "|").join(""), m = (e) => e.replace(/[A-Za-z]/g, (e) => `[${e.toUpperCase()}${e.toLowerCase()}]`), E = pt({
|
|
4228
4228
|
name: "LiteralError",
|
|
4229
|
-
pattern: new RegExp(
|
|
4229
|
+
pattern: new RegExp(f(r.errorLiterals) + [
|
|
4230
4230
|
"#PARSE!",
|
|
4231
4231
|
"#NULL!",
|
|
4232
4232
|
"#DIV\\/0!",
|
|
@@ -4243,14 +4243,14 @@ var jn = class extends $n {
|
|
|
4243
4243
|
"#BUSY!",
|
|
4244
4244
|
"#PYTHON!",
|
|
4245
4245
|
"#TIMEOUT!"
|
|
4246
|
-
].map(
|
|
4247
|
-
}),
|
|
4246
|
+
].map(m).join("|"))
|
|
4247
|
+
}), T = pt({
|
|
4248
4248
|
name: "RefError",
|
|
4249
|
-
pattern: new RegExp(
|
|
4250
|
-
}),
|
|
4249
|
+
pattern: new RegExp(f(r.errorRefs) + ["#REF!", "#NAME\\?"].map(m).join("|"))
|
|
4250
|
+
}), g = pt({
|
|
4251
4251
|
name: "SingleQuotedString",
|
|
4252
4252
|
pattern: /'(''|[^'])*'/
|
|
4253
|
-
}),
|
|
4253
|
+
}), O = pt({
|
|
4254
4254
|
name: "SheetQuoted",
|
|
4255
4255
|
pattern: /'(?:''|[^'])*?'!/
|
|
4256
4256
|
}), R = pt({
|
|
@@ -4268,13 +4268,13 @@ var jn = class extends $n {
|
|
|
4268
4268
|
} },
|
|
4269
4269
|
line_breaks: !1,
|
|
4270
4270
|
start_chars_hint: Wn
|
|
4271
|
-
}),
|
|
4271
|
+
}), L = pt({
|
|
4272
4272
|
name: "Cell",
|
|
4273
4273
|
pattern: { exec: qn(t, n) },
|
|
4274
4274
|
line_breaks: !1,
|
|
4275
4275
|
start_chars_hint: [36, ...Kn],
|
|
4276
4276
|
longer_alt: _
|
|
4277
|
-
}),
|
|
4277
|
+
}), S = pt({
|
|
4278
4278
|
name: "Column",
|
|
4279
4279
|
pattern: { exec: Xn(t) },
|
|
4280
4280
|
line_breaks: !1,
|
|
@@ -4283,7 +4283,7 @@ var jn = class extends $n {
|
|
|
4283
4283
|
}), C = pt({
|
|
4284
4284
|
name: "AbsRow",
|
|
4285
4285
|
pattern: /[$][0-9]+/
|
|
4286
|
-
}), y = "." ===
|
|
4286
|
+
}), y = "." === c ? "\\." : c, k = pt({
|
|
4287
4287
|
name: "NumberToken",
|
|
4288
4288
|
pattern: new RegExp(`[0-9]+${y}(?!:)[0-9]*([eE][+-]?[0-9]+|\\*\\*[+-]?[0-9]+)?|${y}[0-9]+([eE][+-]?[0-9]+|\\*\\*[+-]?[0-9]+)?|[0-9]+[eE][+-]?[0-9]+`)
|
|
4289
4289
|
}), v = pt({
|
|
@@ -4293,7 +4293,7 @@ var jn = class extends $n {
|
|
|
4293
4293
|
name: "DigitToken",
|
|
4294
4294
|
pattern: /[0-9]+/
|
|
4295
4295
|
}), P = ["TRUE", "FALSE"];
|
|
4296
|
-
for (const e of [
|
|
4296
|
+
for (const e of [r.booleanTrue, r.booleanFalse]) {
|
|
4297
4297
|
const t = e?.trim();
|
|
4298
4298
|
t && !P.some((e) => e.toLowerCase() === t.toLowerCase()) && P.push(t.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"));
|
|
4299
4299
|
}
|
|
@@ -4302,13 +4302,13 @@ var jn = class extends $n {
|
|
|
4302
4302
|
pattern: new RegExp(P.join("|"), "i")
|
|
4303
4303
|
}), b = pt({
|
|
4304
4304
|
name: "ArgSeparator",
|
|
4305
|
-
pattern: Qn(
|
|
4305
|
+
pattern: Qn(s)
|
|
4306
4306
|
}), U = pt({
|
|
4307
4307
|
name: "ColSeparator",
|
|
4308
|
-
pattern: Qn(
|
|
4308
|
+
pattern: Qn(o)
|
|
4309
4309
|
}), w = pt({
|
|
4310
4310
|
name: "RowSeparator",
|
|
4311
|
-
pattern: Qn(
|
|
4311
|
+
pattern: Qn(a)
|
|
4312
4312
|
}), F = pt({
|
|
4313
4313
|
name: "RangeOp",
|
|
4314
4314
|
pattern: /:/
|
|
@@ -4363,7 +4363,7 @@ var jn = class extends $n {
|
|
|
4363
4363
|
}), ee = pt({
|
|
4364
4364
|
name: "ArrayAnchorOp",
|
|
4365
4365
|
pattern: /#/,
|
|
4366
|
-
longer_alt: [
|
|
4366
|
+
longer_alt: [E, T]
|
|
4367
4367
|
}), te = pt({
|
|
4368
4368
|
name: "GtOp",
|
|
4369
4369
|
pattern: />/
|
|
@@ -4374,26 +4374,26 @@ var jn = class extends $n {
|
|
|
4374
4374
|
name: "LtOp",
|
|
4375
4375
|
pattern: /</
|
|
4376
4376
|
}), re = [
|
|
4377
|
+
h,
|
|
4377
4378
|
l,
|
|
4378
|
-
u,
|
|
4379
|
-
A,
|
|
4380
4379
|
O,
|
|
4380
|
+
g,
|
|
4381
4381
|
R,
|
|
4382
|
+
u,
|
|
4382
4383
|
d,
|
|
4383
4384
|
p,
|
|
4384
|
-
|
|
4385
|
+
E,
|
|
4385
4386
|
T,
|
|
4386
|
-
g,
|
|
4387
4387
|
b,
|
|
4388
|
-
...
|
|
4388
|
+
...o !== s ? [U] : [],
|
|
4389
4389
|
w,
|
|
4390
4390
|
D,
|
|
4391
4391
|
B,
|
|
4392
4392
|
$,
|
|
4393
4393
|
F,
|
|
4394
|
-
N,
|
|
4395
|
-
M,
|
|
4396
4394
|
L,
|
|
4395
|
+
M,
|
|
4396
|
+
S,
|
|
4397
4397
|
C,
|
|
4398
4398
|
k,
|
|
4399
4399
|
v,
|
|
@@ -4433,7 +4433,7 @@ var jn = class extends $n {
|
|
|
4433
4433
|
const se = {};
|
|
4434
4434
|
re.forEach((e) => {
|
|
4435
4435
|
se[e.name] = e;
|
|
4436
|
-
}),
|
|
4436
|
+
}), o === s && (se.ColSeparator = b), this._vocabulary = se;
|
|
4437
4437
|
}
|
|
4438
4438
|
tokenize(t, n = !0) {
|
|
4439
4439
|
const i = this._lexer.tokenize(t);
|
|
@@ -4533,9 +4533,9 @@ function Qn(e) {
|
|
|
4533
4533
|
return new RegExp(e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"));
|
|
4534
4534
|
}
|
|
4535
4535
|
var Zn = class {
|
|
4536
|
-
constructor(e =
|
|
4536
|
+
constructor(e = N) {
|
|
4537
4537
|
const t = function(e) {
|
|
4538
|
-
const t = [...
|
|
4538
|
+
const t = [...g];
|
|
4539
4539
|
if (e) for (const n of Object.values(e)) {
|
|
4540
4540
|
const e = n?.trim();
|
|
4541
4541
|
e && !t.some((t) => t.toLowerCase() === e.toLowerCase()) && t.push(e);
|
|
@@ -4582,7 +4582,7 @@ var Zn = class {
|
|
|
4582
4582
|
return this._lexer.tokenize(e);
|
|
4583
4583
|
}
|
|
4584
4584
|
}, Jn = class extends jn {
|
|
4585
|
-
constructor(e =
|
|
4585
|
+
constructor(e = N) {
|
|
4586
4586
|
const t = new Zn(e), n = t.getVocabulary();
|
|
4587
4587
|
super(n, {
|
|
4588
4588
|
nodeLocationTracking: "none",
|
|
@@ -4590,45 +4590,45 @@ var Zn = class {
|
|
|
4590
4590
|
skipValidations: !0,
|
|
4591
4591
|
recoveryEnabled: !1
|
|
4592
4592
|
}), this._lexer = t;
|
|
4593
|
-
const { TableSpecifier: i, BracketedColumn: r, BareSpecifier:
|
|
4594
|
-
|
|
4595
|
-
const e = [], t =
|
|
4596
|
-
return
|
|
4593
|
+
const { TableSpecifier: i, BracketedColumn: r, BareSpecifier: o, ColumnSep: a, ListSep: c } = n, h = this;
|
|
4594
|
+
h.RULE("ruleContent", () => {
|
|
4595
|
+
const e = [], t = h.SUBRULE(h.ruleItem);
|
|
4596
|
+
return h.ACTION(() => {
|
|
4597
4597
|
t && e.push(t);
|
|
4598
|
-
}),
|
|
4599
|
-
|
|
4600
|
-
const t =
|
|
4601
|
-
|
|
4598
|
+
}), h.MANY(() => {
|
|
4599
|
+
h.CONSUME(c), h.OPTION(() => {
|
|
4600
|
+
const t = h.SUBRULE2(h.ruleItem);
|
|
4601
|
+
h.ACTION(() => {
|
|
4602
4602
|
t && e.push(t);
|
|
4603
4603
|
});
|
|
4604
4604
|
});
|
|
4605
4605
|
}), e;
|
|
4606
|
-
}),
|
|
4607
|
-
const t =
|
|
4608
|
-
return
|
|
4609
|
-
const n =
|
|
4606
|
+
}), h.RULE("ruleItem", () => h.OR([{ ALT: () => h.SUBRULE(h.ruleSpecifier) }, { ALT: () => h.SUBRULE(h.ruleColumnOrRange) }])), h.RULE("ruleSpecifier", () => h.OR([{ ALT: () => {
|
|
4607
|
+
const t = h.CONSUME(i);
|
|
4608
|
+
return h.ACTION(() => {
|
|
4609
|
+
const n = s(t.image, e);
|
|
4610
4610
|
return n.image = t.image, n;
|
|
4611
4611
|
});
|
|
4612
4612
|
} }, { ALT: () => {
|
|
4613
|
-
const t =
|
|
4614
|
-
return
|
|
4615
|
-
const n =
|
|
4613
|
+
const t = h.CONSUME(o);
|
|
4614
|
+
return h.ACTION(() => {
|
|
4615
|
+
const n = s(t.image, e);
|
|
4616
4616
|
return n.image = t.image, n;
|
|
4617
4617
|
});
|
|
4618
|
-
} }])),
|
|
4619
|
-
const e =
|
|
4618
|
+
} }])), h.RULE("ruleColumnOrRange", () => {
|
|
4619
|
+
const e = h.CONSUME(r);
|
|
4620
4620
|
let t, n;
|
|
4621
|
-
return
|
|
4622
|
-
t =
|
|
4623
|
-
}),
|
|
4624
|
-
const i =
|
|
4621
|
+
return h.OPTION(() => {
|
|
4622
|
+
t = h.CONSUME(a), n = h.CONSUME2(r);
|
|
4623
|
+
}), h.ACTION(() => {
|
|
4624
|
+
const i = p(e.image);
|
|
4625
4625
|
if (i.image = e.image, !n) return i;
|
|
4626
|
-
const r =
|
|
4626
|
+
const r = p(n.image);
|
|
4627
4627
|
r.image = n.image;
|
|
4628
|
-
const s =
|
|
4628
|
+
const s = S(":", i, r, !0);
|
|
4629
4629
|
return s.image = t?.image ?? ":", s;
|
|
4630
4630
|
});
|
|
4631
|
-
}),
|
|
4631
|
+
}), h.performSelfAnalysis();
|
|
4632
4632
|
}
|
|
4633
4633
|
_parseInner(e) {
|
|
4634
4634
|
const t = this._lexer.tokenize(e);
|
|
@@ -4642,23 +4642,23 @@ var Zn = class {
|
|
|
4642
4642
|
if ("@" === n) {
|
|
4643
4643
|
const e = t.slice(1).trim();
|
|
4644
4644
|
if (!e) {
|
|
4645
|
-
const e =
|
|
4645
|
+
const e = a("@", null, !0);
|
|
4646
4646
|
return e.image = "@", [e];
|
|
4647
4647
|
}
|
|
4648
4648
|
if ("[" === e.charAt(0)) {
|
|
4649
4649
|
const t = this._parseInner(e);
|
|
4650
4650
|
if (1 === t.length && "infix" === t[0].type) {
|
|
4651
|
-
const e =
|
|
4651
|
+
const e = a("@", t[0], !0);
|
|
4652
4652
|
return e.image = "@", [e];
|
|
4653
4653
|
}
|
|
4654
4654
|
}
|
|
4655
|
-
const n =
|
|
4655
|
+
const n = p(e);
|
|
4656
4656
|
n.image = e;
|
|
4657
|
-
const i =
|
|
4657
|
+
const i = a("@", n, !0);
|
|
4658
4658
|
return i.image = "@", [i];
|
|
4659
4659
|
}
|
|
4660
4660
|
if ("[" !== n && "#" !== n) {
|
|
4661
|
-
const t =
|
|
4661
|
+
const t = p(e);
|
|
4662
4662
|
return t.image = e, [t];
|
|
4663
4663
|
}
|
|
4664
4664
|
return this._parseInner(t);
|
|
@@ -4694,7 +4694,7 @@ var Zn = class {
|
|
|
4694
4694
|
":."
|
|
4695
4695
|
]), ni = (e) => {
|
|
4696
4696
|
if (!e) return null;
|
|
4697
|
-
if (e.type ===
|
|
4697
|
+
if (e.type === _.Cell) {
|
|
4698
4698
|
const t = e.value;
|
|
4699
4699
|
return t.rowIndex === Number.MIN_SAFE_INTEGER ? "col" : t.colIndex === Number.MIN_SAFE_INTEGER ? "row" : null;
|
|
4700
4700
|
}
|
|
@@ -4725,8 +4725,8 @@ var ai = {
|
|
|
4725
4725
|
}
|
|
4726
4726
|
}, ci = class extends jn {
|
|
4727
4727
|
constructor(e) {
|
|
4728
|
-
const i = e?.lexer ?? Gn.shared(e?.lexerOptions),
|
|
4729
|
-
super(
|
|
4728
|
+
const i = e?.lexer ?? Gn.shared(e?.lexerOptions), s = i.getVocabulary();
|
|
4729
|
+
super(s, {
|
|
4730
4730
|
skipValidations: !0,
|
|
4731
4731
|
recoveryEnabled: !0,
|
|
4732
4732
|
...e,
|
|
@@ -4736,7 +4736,7 @@ var ai = {
|
|
|
4736
4736
|
}), this._ruleInfixOp = this.RULE("ruleInfixOp", () => {
|
|
4737
4737
|
const { PlusOp: e, MinOp: t, MulOp: n, DivOp: i, ExOp: r, ConcatOp: s, GtOp: o, EqOp: a, LtOp: c, NeqOp: h, GteOp: l, LteOp: u } = this._vocab, d = [];
|
|
4738
4738
|
return d.push({ node: this.SUBRULE(this._rulePostfixOp) }), this.MANY(() => {
|
|
4739
|
-
const
|
|
4739
|
+
const p = this.OR(this._c1 || (this._c1 = [
|
|
4740
4740
|
{ ALT: () => this.CONSUME(e).image },
|
|
4741
4741
|
{ ALT: () => this.CONSUME(t).image },
|
|
4742
4742
|
{ ALT: () => this.CONSUME(n).image },
|
|
@@ -4749,26 +4749,26 @@ var ai = {
|
|
|
4749
4749
|
{ ALT: () => this.CONSUME(h).image },
|
|
4750
4750
|
{ ALT: () => this.CONSUME(l).image },
|
|
4751
4751
|
{ ALT: () => this.CONSUME(u).image }
|
|
4752
|
-
])),
|
|
4753
|
-
value:
|
|
4752
|
+
])), f = {
|
|
4753
|
+
value: p,
|
|
4754
4754
|
index: this.getLexerPosition(),
|
|
4755
|
-
isRange:
|
|
4756
|
-
},
|
|
4755
|
+
isRange: v.includes(p)
|
|
4756
|
+
}, m = this.SUBRULE2(this._rulePostfixOp);
|
|
4757
4757
|
d.push({
|
|
4758
|
-
op:
|
|
4759
|
-
node:
|
|
4758
|
+
op: f,
|
|
4759
|
+
node: m
|
|
4760
4760
|
});
|
|
4761
4761
|
}), this.ACTION(() => {
|
|
4762
4762
|
let e = d.length - 1;
|
|
4763
|
-
const t =
|
|
4763
|
+
const t = E.length;
|
|
4764
4764
|
for (let n = 0; e > 0 && n < t; n++) {
|
|
4765
|
-
const t =
|
|
4765
|
+
const t = E[n];
|
|
4766
4766
|
let i = 1;
|
|
4767
4767
|
for (; i < d.length;) {
|
|
4768
4768
|
const n = d[i].op;
|
|
4769
4769
|
if (t.includes(n.value)) {
|
|
4770
4770
|
const t = d[i - 1].node, r = d[i].node;
|
|
4771
|
-
let s =
|
|
4771
|
+
let s = S(n.value, t, r, n.isRange);
|
|
4772
4772
|
s = this._tag(s, n.index), d[i - 1].node = s, d.splice(i, 1), e--;
|
|
4773
4773
|
} else i++;
|
|
4774
4774
|
}
|
|
@@ -4789,8 +4789,8 @@ var ai = {
|
|
|
4789
4789
|
}), this.ACTION(() => {
|
|
4790
4790
|
const e = n.length;
|
|
4791
4791
|
if (0 !== e) for (let i = 0; i < e; i++) {
|
|
4792
|
-
const e = n[i], r = e[0], s = e[1], o =
|
|
4793
|
-
t =
|
|
4792
|
+
const e = n[i], r = e[0], s = e[1], o = v.includes(r);
|
|
4793
|
+
t = I(r, t, o), t = this._tag(t, s);
|
|
4794
4794
|
}
|
|
4795
4795
|
}), t;
|
|
4796
4796
|
}), this._rulePrefixOp = this.RULE("rulePrefixOp", () => {
|
|
@@ -4809,8 +4809,8 @@ var ai = {
|
|
|
4809
4809
|
return this.ACTION(() => {
|
|
4810
4810
|
const e = i.length;
|
|
4811
4811
|
if (0 !== e) for (let t = e - 1; t >= 0; t--) {
|
|
4812
|
-
const e = i[t], n = e[0],
|
|
4813
|
-
r =
|
|
4812
|
+
const e = i[t], n = e[0], s = e[1], o = v.includes(n);
|
|
4813
|
+
r = a(n, r, o), r = this._tag(r, s);
|
|
4814
4814
|
}
|
|
4815
4815
|
}), r;
|
|
4816
4816
|
}), this._ruleRangeOp = this.RULE("ruleRangeOp", () => {
|
|
@@ -4838,16 +4838,16 @@ var ai = {
|
|
|
4838
4838
|
const t = s[e], n = s[e + 1];
|
|
4839
4839
|
if (":" !== t.op?.value || ":" !== n.op?.value) continue;
|
|
4840
4840
|
const i = ni(t.node);
|
|
4841
|
-
i && ni(n.node) === i && ni(s[e - 1].node) !== i && (t.node = this._tag(
|
|
4841
|
+
i && ni(n.node) === i && ni(s[e - 1].node) !== i && (t.node = this._tag(S(":", t.node, n.node, !0), n.op.index), s.splice(e + 1, 1));
|
|
4842
4842
|
}
|
|
4843
4843
|
for (let e = 1; e < s.length; e++) {
|
|
4844
4844
|
const t = s[e];
|
|
4845
4845
|
if (void 0 !== t.anchor) {
|
|
4846
|
-
s[0].node = this._tag(
|
|
4846
|
+
s[0].node = this._tag(I("#", s[0].node, !0), t.anchor);
|
|
4847
4847
|
continue;
|
|
4848
4848
|
}
|
|
4849
4849
|
const n = t.op;
|
|
4850
|
-
let i =
|
|
4850
|
+
let i = S(n.value, s[0].node, t.node, !0);
|
|
4851
4851
|
i = this._tag(i, n.index), s[0].node = i;
|
|
4852
4852
|
}
|
|
4853
4853
|
}), s[0].node;
|
|
@@ -4861,7 +4861,7 @@ var ai = {
|
|
|
4861
4861
|
},
|
|
4862
4862
|
DEF: () => {
|
|
4863
4863
|
this.CONSUME(e);
|
|
4864
|
-
const i = this.getLexerPosition(), r = this.SUBRULE(this._ruleFunctionArguments), s = n, o = this.ACTION(() => this._tag(
|
|
4864
|
+
const i = this.getLexerPosition(), r = this.SUBRULE(this._ruleFunctionArguments), s = n, o = this.ACTION(() => this._tag(c(s, r), i)), a = this.OPTION(() => this.CONSUME(t));
|
|
4865
4865
|
this.ACTION(() => {
|
|
4866
4866
|
a || this._reportError(o, "Missing closing parenthesis ')'", i), this._tagClose(o, this.getLexerPosition()), n = o;
|
|
4867
4867
|
});
|
|
@@ -4883,7 +4883,7 @@ var ai = {
|
|
|
4883
4883
|
for (; e.length > 1;) {
|
|
4884
4884
|
let t = e.length - 1;
|
|
4885
4885
|
for (let n = 0; n < t; n++) {
|
|
4886
|
-
const i = e[n], r = e[n + 1], s =
|
|
4886
|
+
const i = e[n], r = e[n + 1], s = S(" ", i, r, !0), o = this._tokenMap.get(i);
|
|
4887
4887
|
o && delete o.tokenIndexClose;
|
|
4888
4888
|
const a = this._tokenMap.get(r), c = a?.tokenIndex;
|
|
4889
4889
|
if (void 0 !== c) {
|
|
@@ -4913,83 +4913,83 @@ var ai = {
|
|
|
4913
4913
|
}), t;
|
|
4914
4914
|
}), this._ruleParen = this.RULE("ruleParen", () => {
|
|
4915
4915
|
const { OpenParen: e, CloseParen: t } = this._vocab;
|
|
4916
|
-
return this._processParen(
|
|
4916
|
+
return this._processParen(_.Paren, e, t);
|
|
4917
4917
|
}), this._ruleLiteralArray = this.RULE("ruleLiteralArray", () => {
|
|
4918
|
-
const { OpenCurlyParen: e, CloseCurlyParen:
|
|
4919
|
-
let
|
|
4918
|
+
const { OpenCurlyParen: e, CloseCurlyParen: t, ColSeparator: n, RowSeparator: i } = this._vocab;
|
|
4919
|
+
let r = k();
|
|
4920
4920
|
this.CONSUME(e);
|
|
4921
|
-
const
|
|
4922
|
-
let
|
|
4923
|
-
const
|
|
4921
|
+
const s = this.getLexerPosition();
|
|
4922
|
+
let o = this.ACTION(() => this._tag(u(r), s));
|
|
4923
|
+
const a = this.SUBRULE(this._ruleLiteralForArray);
|
|
4924
4924
|
this.ACTION(() => {
|
|
4925
|
-
|
|
4925
|
+
r.value.push(a);
|
|
4926
4926
|
}), this.MANY(() => {
|
|
4927
4927
|
let e = !1;
|
|
4928
4928
|
this.OR([{ ALT: () => {
|
|
4929
|
-
this.CONSUME(
|
|
4930
|
-
} }, { ALT: () => this.CONSUME(
|
|
4931
|
-
const
|
|
4929
|
+
this.CONSUME(n), e = !0;
|
|
4930
|
+
} }, { ALT: () => this.CONSUME(i) }]);
|
|
4931
|
+
const t = this.SUBRULE2(this._ruleLiteralForArray);
|
|
4932
4932
|
this.ACTION(() => {
|
|
4933
|
-
e || (
|
|
4933
|
+
e || (r = k(), o.value.push(r)), r.value.push(t);
|
|
4934
4934
|
});
|
|
4935
4935
|
});
|
|
4936
|
-
const
|
|
4937
|
-
return
|
|
4936
|
+
const c = this.OPTION(() => this.CONSUME(t));
|
|
4937
|
+
return o = this.ACTION(() => (c || this._reportError(o, "Missing closing parenthesis '}'", s), this._tagClose(o, this.getLexerPosition()))), o;
|
|
4938
4938
|
}), this._ruleLiteralForArray = this.RULE("ruleLiteralForArray", () => {
|
|
4939
|
-
const { StringToken: e, BooleanToken: t, LiteralError:
|
|
4939
|
+
const { StringToken: e, BooleanToken: t, LiteralError: i, RefError: r } = this._vocab;
|
|
4940
4940
|
return this.OR([
|
|
4941
4941
|
{ ALT: () => {
|
|
4942
|
-
const e = this.OPTION(() => this.SUBRULE(this._rulePlusMinusOp)), t = this.SUBRULE(this._ruleNumber), n = this.ACTION(() => this._tag(
|
|
4943
|
-
return this.ACTION(() => e ?
|
|
4942
|
+
const e = this.OPTION(() => this.SUBRULE(this._rulePlusMinusOp)), t = this.SUBRULE(this._ruleNumber), n = this.ACTION(() => this._tag(C(t.image, this._locale), this.getLexerPosition()));
|
|
4943
|
+
return this.ACTION(() => e ? h(e.image, n) : n);
|
|
4944
4944
|
} },
|
|
4945
4945
|
{ ALT: () => {
|
|
4946
4946
|
const t = this.CONSUME(e);
|
|
4947
|
-
return this.ACTION(() => this._tag(
|
|
4947
|
+
return this.ACTION(() => this._tag(m(t.image), this.getLexerPosition()));
|
|
4948
4948
|
} },
|
|
4949
4949
|
{ ALT: () => {
|
|
4950
4950
|
const e = this.CONSUME(t);
|
|
4951
|
-
return this.ACTION(() => this._tag(
|
|
4951
|
+
return this.ACTION(() => this._tag(o(e.image, this._locale), this.getLexerPosition()));
|
|
4952
4952
|
} },
|
|
4953
4953
|
{ ALT: () => {
|
|
4954
|
-
const e = this.CONSUME(
|
|
4955
|
-
return this.ACTION(() => this._tag(
|
|
4954
|
+
const e = this.CONSUME(i);
|
|
4955
|
+
return this.ACTION(() => this._tag(n(e.image, this._locale), this.getLexerPosition()));
|
|
4956
4956
|
} },
|
|
4957
4957
|
{ ALT: () => {
|
|
4958
|
-
const e = this.CONSUME(
|
|
4959
|
-
return this.ACTION(() => this._tag(
|
|
4958
|
+
const e = this.CONSUME(r);
|
|
4959
|
+
return this.ACTION(() => this._tag(L(e.image, this._locale), this.getLexerPosition()));
|
|
4960
4960
|
} }
|
|
4961
4961
|
]);
|
|
4962
4962
|
}), this._ruleLiteral = this.RULE("ruleLiteral", () => {
|
|
4963
|
-
const { StringToken: e, BooleanToken: t, LiteralError:
|
|
4963
|
+
const { StringToken: e, BooleanToken: t, LiteralError: i, RefError: r } = this._vocab;
|
|
4964
4964
|
return this.OR([
|
|
4965
4965
|
{ ALT: () => {
|
|
4966
4966
|
const e = this.SUBRULE(this._ruleNumber);
|
|
4967
|
-
return this.ACTION(() => this._tag(
|
|
4967
|
+
return this.ACTION(() => this._tag(C(e.image, this._locale), this.getLexerPosition()));
|
|
4968
4968
|
} },
|
|
4969
4969
|
{ ALT: () => {
|
|
4970
4970
|
const t = this.CONSUME(e);
|
|
4971
|
-
return this.ACTION(() => this._tag(
|
|
4971
|
+
return this.ACTION(() => this._tag(m(t.image), this.getLexerPosition()));
|
|
4972
4972
|
} },
|
|
4973
4973
|
{ ALT: () => {
|
|
4974
4974
|
const e = this.CONSUME(t);
|
|
4975
|
-
return this.ACTION(() => this._tag(
|
|
4975
|
+
return this.ACTION(() => this._tag(o(e.image, this._locale), this.getLexerPosition()));
|
|
4976
4976
|
} },
|
|
4977
4977
|
{ ALT: () => {
|
|
4978
|
-
const e = this.CONSUME(
|
|
4979
|
-
return this.ACTION(() => this._tag(
|
|
4978
|
+
const e = this.CONSUME(i);
|
|
4979
|
+
return this.ACTION(() => this._tag(n(e.image, this._locale), this.getLexerPosition()));
|
|
4980
4980
|
} },
|
|
4981
4981
|
{ ALT: () => {
|
|
4982
|
-
const e = this.CONSUME(
|
|
4983
|
-
return this.ACTION(() => this._tag(
|
|
4982
|
+
const e = this.CONSUME(r);
|
|
4983
|
+
return this.ACTION(() => this._tag(L(e.image, this._locale), this.getLexerPosition()));
|
|
4984
4984
|
} }
|
|
4985
4985
|
]);
|
|
4986
4986
|
}), this._ruleFunction = this.RULE("ruleFunction", () => {
|
|
4987
|
-
const { FunctionToken: e, OpenParen: t, CloseParen:
|
|
4987
|
+
const { FunctionToken: e, OpenParen: t, CloseParen: n } = this._vocab, i = this.CONSUME(e).image, r = this.getLexerPosition();
|
|
4988
4988
|
this.CONSUME(t);
|
|
4989
|
-
const
|
|
4990
|
-
let
|
|
4991
|
-
const
|
|
4992
|
-
return
|
|
4989
|
+
const s = this.SUBRULE(this._ruleFunctionArguments);
|
|
4990
|
+
let o = this.ACTION(() => this._tag(l(i, s), r));
|
|
4991
|
+
const a = this.OPTION(() => this.CONSUME(n));
|
|
4992
|
+
return o = this.ACTION(() => (a || this._reportError(o, "Missing closing parenthesis ')'", r), this._tagClose(o, this.getLexerPosition()))), o;
|
|
4993
4993
|
}), this._ruleFunctionArguments = this.RULE("ruleFunctionArguments", () => {
|
|
4994
4994
|
const { ArgSeparator: e, CloseParen: t } = this._vocab, n = [];
|
|
4995
4995
|
return this.OPTION({
|
|
@@ -4998,11 +4998,11 @@ var ai = {
|
|
|
4998
4998
|
let t;
|
|
4999
4999
|
this.OPTION2(() => {
|
|
5000
5000
|
t = this.SUBRULE(this._ruleIntersectOp);
|
|
5001
|
-
}), t = this.ACTION(() => t ?? this._tagClose(
|
|
5001
|
+
}), t = this.ACTION(() => t ?? this._tagClose(f(), this.getLexerPosition())), n.push(t), this.MANY(() => {
|
|
5002
5002
|
let t;
|
|
5003
5003
|
this.CONSUME(e), this.OPTION3(() => {
|
|
5004
5004
|
t = this.SUBRULE2(this._ruleIntersectOp);
|
|
5005
|
-
}), t = this.ACTION(() => t ?? this._tagClose(
|
|
5005
|
+
}), t = this.ACTION(() => t ?? this._tagClose(f(), this.getLexerPosition())), n.push(t);
|
|
5006
5006
|
});
|
|
5007
5007
|
}
|
|
5008
5008
|
}), n;
|
|
@@ -5021,60 +5021,60 @@ var ai = {
|
|
|
5021
5021
|
return this._tag(e.root, n);
|
|
5022
5022
|
});
|
|
5023
5023
|
}), this._ruleReference = this.RULE("ruleReference", () => {
|
|
5024
|
-
const { Sheet: e, SheetQuoted:
|
|
5025
|
-
let
|
|
5024
|
+
const { Sheet: e, SheetQuoted: n, DivOp: i, MulOp: s, PlusOp: o, MinOp: a, ArgSeparator: c, Cell: h, NamedToken: l, SingleQuotedString: u, Column: p, AbsRow: f, DigitToken: m, RefError: E } = this._vocab;
|
|
5025
|
+
let g, O;
|
|
5026
5026
|
this.OPTION2({
|
|
5027
5027
|
GATE: () => {
|
|
5028
|
-
for (let
|
|
5029
|
-
const
|
|
5030
|
-
if (
|
|
5031
|
-
if ("" ===
|
|
5028
|
+
for (let t = 1; t < 6; t++) {
|
|
5029
|
+
const r = this.LA(t);
|
|
5030
|
+
if (r.tokenType === e || r.tokenType === n) return !0;
|
|
5031
|
+
if ("" === r.image || ")" === r.image || r.tokenType === i || r.tokenType === s || r.tokenType === o || r.tokenType === a || r.tokenType === c) break;
|
|
5032
5032
|
}
|
|
5033
5033
|
return !1;
|
|
5034
5034
|
},
|
|
5035
5035
|
DEF: () => {
|
|
5036
|
-
|
|
5036
|
+
O = this.getLexerPosition() + 1, g = this.SUBRULE(this._rulePrefixSheetName);
|
|
5037
5037
|
}
|
|
5038
5038
|
});
|
|
5039
|
-
let
|
|
5039
|
+
let A = this.OR([
|
|
5040
5040
|
{ ALT: () => {
|
|
5041
|
-
const e = this.CONSUME(
|
|
5042
|
-
return this.ACTION(() => this._tag(
|
|
5041
|
+
const e = this.CONSUME(h), t = this.getLexerPosition();
|
|
5042
|
+
return this.ACTION(() => this._tag(T(e.image, this.rowIndex, this.colIndex), t));
|
|
5043
5043
|
} },
|
|
5044
5044
|
{ ALT: () => {
|
|
5045
|
-
const e = this.OR2([{ ALT: () => this.CONSUME(
|
|
5046
|
-
return this.ACTION(() => this._tag(
|
|
5045
|
+
const e = this.OR2([{ ALT: () => this.CONSUME(l) }, { ALT: () => this.CONSUME(u) }]);
|
|
5046
|
+
return this.ACTION(() => this._tag(d(e.image), this.getLexerPosition()));
|
|
5047
5047
|
} },
|
|
5048
5048
|
{ ALT: () => this.SUBRULE(this._ruleBracketedString) },
|
|
5049
5049
|
{ ALT: () => this.SUBRULE(this._ruleFunction) },
|
|
5050
5050
|
{ ALT: () => {
|
|
5051
|
-
const e = this.CONSUME(
|
|
5052
|
-
return this.ACTION(() => this._tag(
|
|
5051
|
+
const e = this.CONSUME(p);
|
|
5052
|
+
return this.ACTION(() => this._tag(t(e.image, this.colIndex), this.getLexerPosition()));
|
|
5053
5053
|
} },
|
|
5054
5054
|
{ ALT: () => {
|
|
5055
|
-
const e = this.CONSUME(
|
|
5056
|
-
return this.ACTION(() => this._tag(
|
|
5055
|
+
const e = this.CONSUME(f);
|
|
5056
|
+
return this.ACTION(() => this._tag(r(e.image, this.rowIndex), this.getLexerPosition()));
|
|
5057
5057
|
} },
|
|
5058
5058
|
{ ALT: () => {
|
|
5059
|
-
const e = this.CONSUME(
|
|
5060
|
-
return this.ACTION(() => this._tag(
|
|
5059
|
+
const e = this.CONSUME(m);
|
|
5060
|
+
return this.ACTION(() => this._tag(r(e.image, this.rowIndex), this.getLexerPosition()));
|
|
5061
5061
|
} },
|
|
5062
5062
|
{ ALT: () => {
|
|
5063
|
-
const e = this.CONSUME(
|
|
5064
|
-
return this.ACTION(() => this._tag(
|
|
5063
|
+
const e = this.CONSUME(E);
|
|
5064
|
+
return this.ACTION(() => this._tag(L(e.image, this._locale), this.getLexerPosition()));
|
|
5065
5065
|
} }
|
|
5066
5066
|
]);
|
|
5067
5067
|
return this.ACTION(() => {
|
|
5068
|
-
if (
|
|
5069
|
-
if ("" ===
|
|
5070
|
-
let e =
|
|
5071
|
-
if (
|
|
5072
|
-
e.value.scope =
|
|
5068
|
+
if (g && A) {
|
|
5069
|
+
if ("" === g.name) return void this._reportError(A, `'${g.image}' is not a valid sheet reference — a '!' needs a sheet name before it`);
|
|
5070
|
+
let e = A;
|
|
5071
|
+
if (A.type === _.Postfix && A.inputs?.[0] && (e = A.inputs[0]), e.type === _.Cell || e.type === _.Named || e.type === _.Row || e.type === _.TableColumn || e.type === _.Error) {
|
|
5072
|
+
e.value.scope = g.name, e.value.scopeImage = g.image;
|
|
5073
5073
|
const t = this._tokenMap.get(e);
|
|
5074
|
-
t && void 0 !==
|
|
5074
|
+
t && void 0 !== O && (t.tokenIndex = O);
|
|
5075
5075
|
}
|
|
5076
5076
|
}
|
|
5077
|
-
}),
|
|
5077
|
+
}), A;
|
|
5078
5078
|
}), this._rulePrefixSheetName = this.RULE("rulePrefixSheetName", () => {
|
|
5079
5079
|
const { SheetQuoted: e, BracketedString: t, NamedToken: n, Column: i, RangeOp: r, Sheet: s } = this._vocab;
|
|
5080
5080
|
return this.OR([{ ALT: () => {
|
|
@@ -5114,48 +5114,48 @@ var ai = {
|
|
|
5114
5114
|
return this.MANY(() => {
|
|
5115
5115
|
this.CONSUME(e), n.push(this.SUBRULE2(this._ruleIntersectOp));
|
|
5116
5116
|
}), this.ACTION(() => 0 === n.length ? t : {
|
|
5117
|
-
type:
|
|
5117
|
+
type: _.List,
|
|
5118
5118
|
value: ",",
|
|
5119
5119
|
inputs: [t, ...n],
|
|
5120
5120
|
isReference: !0
|
|
5121
5121
|
});
|
|
5122
|
-
}), this._lexer = i, this._locale = i.getLocale(), this._vocab =
|
|
5122
|
+
}), this._lexer = i, this._locale = i.getLocale(), this._vocab = s, this._srParser = e?.srParser ?? new Jn(this._locale), this.performSelfAnalysis();
|
|
5123
5123
|
}
|
|
5124
5124
|
getLexer() {
|
|
5125
5125
|
return this._lexer;
|
|
5126
5126
|
}
|
|
5127
5127
|
parse(t, n, i) {
|
|
5128
|
-
const
|
|
5129
|
-
let
|
|
5130
|
-
if (!
|
|
5128
|
+
const s = this._lexer.tokenize(i);
|
|
5129
|
+
let o;
|
|
5130
|
+
if (!s) return {
|
|
5131
5131
|
root: {
|
|
5132
|
-
type:
|
|
5132
|
+
type: _.Unparsed,
|
|
5133
5133
|
value: i
|
|
5134
5134
|
},
|
|
5135
5135
|
errors: []
|
|
5136
5136
|
};
|
|
5137
|
-
const a =
|
|
5137
|
+
const a = s.tokens;
|
|
5138
5138
|
if (0 === a.length) throw new e.Parse(ri);
|
|
5139
|
-
return this.input = a, this._inputText = i, this._inputTextLength = i.length, this.rowIndex = t, this.colIndex = n, this._astErrors = [], this._tokenMap = /* @__PURE__ */ new Map(), this.reset(),
|
|
5140
|
-
const i = e.type,
|
|
5141
|
-
if (
|
|
5142
|
-
const n =
|
|
5143
|
-
return
|
|
5139
|
+
return this.input = a, this._inputText = i, this._inputTextLength = i.length, this.rowIndex = t, this.colIndex = n, this._astErrors = [], this._tokenMap = /* @__PURE__ */ new Map(), this.reset(), o = this._ruleRoot(), o && this._bindAllWhitespace(o), o = y(o, (e, n) => {
|
|
5140
|
+
const i = e.type, s = n?.isReference ? n.value : void 0, o = "string" == typeof s && ei.has(s), a = "string" == typeof s && ti.has(s), c = o ? n.inputs : void 0, h = c ? c[0] === e ? c[1] : c[0] : void 0, l = this._lexer.getMaxRow();
|
|
5141
|
+
if (o && i !== _.Cell && Number.isInteger(e.value)) {
|
|
5142
|
+
const n = r(e.image, t);
|
|
5143
|
+
return R(n, e), "row" !== ni(h) ? this._reportError(n, `'${e.image}' is not a valid reference — a whole row can only pair with another row (as in ${e.image}:${e.image})`) : ii(e.image, l) || this._reportError(n, `'${e.image}' is not a valid row — rows run from 1 to ${l}`), n;
|
|
5144
5144
|
}
|
|
5145
|
-
if (a && i ===
|
|
5146
|
-
if (i ===
|
|
5145
|
+
if (a && i === _.Named) return this._reportError(e, `'${e.image ?? e.value?.nameId}' is a name — '${s}' needs a cell or range on both sides`), e;
|
|
5146
|
+
if (i === _.Cell) {
|
|
5147
5147
|
const t = e.value, n = t.colIndex === Number.MIN_SAFE_INTEGER, i = t.rowIndex === Number.MIN_SAFE_INTEGER;
|
|
5148
5148
|
if ((n || i) && ni(h) === (n ? "row" : "col")) return n && !ii(e.image, l) && this._reportError(e, `'${e.image}' is not a valid row — rows run from 1 to ${l}`), e;
|
|
5149
5149
|
if (n || i || t.colIndex >= 16384) {
|
|
5150
|
-
const
|
|
5151
|
-
|
|
5152
|
-
const
|
|
5153
|
-
return
|
|
5150
|
+
const r = d(e.image);
|
|
5151
|
+
R(r, e);
|
|
5152
|
+
const o = t.scope;
|
|
5153
|
+
return o && (r.value.scope = o, r.value.scopeImage = t.scopeImage), n ? this._reportError(r, `'${e.image}' is not a valid reference — a row needs a column (use ${e.image}:${e.image} for the whole row)`) : i && e.image.includes("$") ? this._reportError(r, `'${e.image}' is not a valid reference — a whole column can only pair with another column (as in ${e.image}:${e.image})`) : a && this._reportError(r, `'${e.image}' is a name — '${s}' needs a cell or range on both sides`), r;
|
|
5154
5154
|
}
|
|
5155
5155
|
}
|
|
5156
5156
|
return e;
|
|
5157
5157
|
}), {
|
|
5158
|
-
root:
|
|
5158
|
+
root: o,
|
|
5159
5159
|
errors: [...this.errors, ...this._astErrors]
|
|
5160
5160
|
};
|
|
5161
5161
|
}
|
|
@@ -5211,7 +5211,7 @@ var ai = {
|
|
|
5211
5211
|
_bindAllWhitespace(e) {
|
|
5212
5212
|
if (e) {
|
|
5213
5213
|
if (this._bindNodeWhitespace(e), e.inputs) for (const t of e.inputs) t && this._bindAllWhitespace(t);
|
|
5214
|
-
if (e.type ===
|
|
5214
|
+
if (e.type === _.Array && Array.isArray(e.value)) {
|
|
5215
5215
|
for (const t of e.value) if (t && Array.isArray(t.value)) for (const e of t.value) e && this._bindAllWhitespace(e);
|
|
5216
5216
|
}
|
|
5217
5217
|
}
|