@sheetxl/mcp 0.8.0-beta.22 → 0.8.0-beta.23
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/{BRVEVVhj-8ZPrNyQ.js → 1J1R3dclFOh322Yr.js} +133 -133
- package/assets/{8csqJ8aGOdnKlrLl.js → 2XwVsSfo5wF5K-HA.js} +1 -1
- package/assets/{b-xk3WtCPBkC4E-Z.js → 2xkoVdiI70Gpaxoc.js} +2 -2
- package/assets/{Bi65BKwwiZYYZprq.js → 5MnsnJcajdtAujE2.js} +1 -1
- package/assets/{DoScYrfTJOHXe-Ko.js → B2zUUqxAJ1RiM7YI.js} +62 -62
- package/assets/{91BKH9obG4IfBzhy.js → B3YRTBFhX61z6rJv.js} +121 -121
- package/assets/{DevKDvFONeJ9euEq.js → BBuB6ffvyg2Cd7V5.js} +1 -1
- package/assets/{0jPw8-AyT6VbPuGO.js → BDSNdgf_hbhX1DhN.js} +1 -1
- package/assets/{nSzQt54CIADky_tF.js → BEsnJS5jYwkHNcZd.js} +1 -1
- package/assets/{ryaMyh_8KvmXVSJd.js → BGxwDpW8DkO8W0Ig.js} +1 -1
- package/assets/{BUGEQS5WdiLcI_0X.js → BI8kb-rd9dW85XJs.js} +1 -1
- package/assets/{CT99WREgkKGpcDTO.js → BJMeWtr7TiLNpt17.js} +1 -1
- package/assets/{ze6Q8BiEw9RClBzZ.js → BKpicdc9H5WnZPb-.js} +1 -1
- package/assets/{CSGN4rAf7CYnBDEa.js → BLr8y5StL65VZQxG.js} +18 -18
- package/assets/{BnGNMsqG5CzUzmX7.js → BNEBXKAh-N4Tygk7.js} +4 -4
- package/assets/{DAqaOCEQLmZRjcdR.js → BPorbjbkH-VoV1M0.js} +1 -1
- package/assets/{CYCqMEoWsry6_hrc.js → BPtf3_nlovO4r9Bm.js} +1 -1
- package/assets/{DdDKDqtpIkzd-mXi.js → BULbMlvQuB2WFBFE.js} +2 -2
- package/assets/{D-MsUF59BhikcNZt.js → BVUfaOAGhdMim8yB.js} +3 -3
- package/assets/{CSKjFDYwiwn5XNnH.js → BWeaY19OpTJK5v0n.js} +2 -2
- package/assets/{tIoHMgrZeRHWyxos.js → BYbzf-TVwbKQPCyK.js} +3 -3
- package/assets/{GGcMgq3ScY7Tv0PE.js → BZaXHnsJ6RkCZsnz.js} +3 -3
- package/assets/{DzGpZ2CQ1St9BF0y.js → BazhmjGvrL7pqVQP.js} +1 -1
- package/assets/{CufFcGwo5x95LSb7.js → BbU6aT_c6-4tkcCw.js} +1 -1
- package/assets/{CHpBOpoM9bCvQyn0.js → Bbmh8_bdk_HrQ5Y6.js} +1 -1
- package/assets/{tPa3RpqYRqCCCYf1.js → BcWSfKJ9Atkc0X_p.js} +1 -1
- package/assets/{DRd8gdwcr3EqtGkb.js → BdUFL3lVdwifHrf0.js} +1 -1
- package/assets/{BDq4iVyBh5lwX8pE.js → Bjk1Twm0RFO_3fS8.js} +1 -1
- package/assets/{E9mta1q4VtVUusy5.js → BlhJHu9ni2T9IaM1.js} +1 -1
- package/assets/{BSdRn3B8QeJFflY6.js → BomatnedZsGMF7MW.js} +22 -21
- package/assets/{D1tShC5iBlUoT2V2.js → BynbAjhJnLjyP7HH.js} +1 -1
- package/assets/{Cahhn5OLNqRYy-n8.js → Bz08KxFupjbdsoFx.js} +1 -1
- package/assets/{CXqqaFgNeUVRGvEb.js → C6_KHS3-ROddeSbS.js} +2 -2
- package/assets/{Bx592y6pyOwTS2x7.js → C8G_px4dGuR2KjJh.js} +1 -1
- package/assets/{HVwvDMZh0ZGR-hRT.js → CBMMHYgUAhgiJhJE.js} +3 -3
- package/assets/{BzFIkeB_lheiTR7z.js → CC7EfXPwp7_nSBIz.js} +1 -1
- package/assets/{BZxJKqVEO7B23XwE.js → CCBQDcCHI47PZ0YQ.js} +5 -5
- package/assets/{BiC09_YKQPmlUklQ.js → CE-9VKh5-Xwxnxmu.js} +1 -1
- package/assets/{CGxhgXj5qKj_Ubcp.js → CE5DhB5As59VJ-Ig.js} +1 -1
- package/assets/{OtMeAlbq6tyW5Hnc.js → CEsRqYMd5IjnAzzX.js} +4 -4
- package/assets/{C9wlvcFyjQA59G-_.js → CGLapmkNccH1g_ZJ.js} +1 -1
- package/assets/{4zyHb1mmcFfqwpjO.js → CH8DNTUgM79xk8Tt.js} +1 -1
- package/assets/{wWgI0JPoe_Wv0ceW.js → CHG4ZuzhyjGRuKBg.js} +1 -1
- package/assets/{Bzp3UtK_6fqEVlV8.js → CPZgEZ2jKoo7hS6g.js} +8 -8
- package/assets/{DEOkcuqKBFyRnY18.js → CQCPJBQD0qv9y8qE.js} +1 -1
- package/assets/{BHsqPfJZrdKTbPLP.js → CSisGJ4hiDhTi19U.js} +1 -1
- package/assets/{C7zManFR1LEJXiwb.js → CeVCLRwjkH3_OXJu.js} +1 -1
- package/assets/{CAgQJrDxGEfoa7jn.js → Cg1tSmK_AGJa2VeI.js} +3 -3
- package/assets/{3N6hsbh2WLceyO6T.js → CgYef9dYxY8YyUTE.js} +1 -1
- package/assets/{CGB4xgirbgEIN3tg.js → ChbkkN_JqbAGrUwB.js} +361 -359
- package/assets/{B6pXiayrnDoDbQt1.js → Cidwv57sKqhIrpHP.js} +41 -41
- package/assets/{C1PTfp7kVu3DqqZh.js → Cl04_aSpBHTwfsQR.js} +10144 -10137
- package/assets/{DxNK3HVEzFdUou54.js → Cl8_HMhRgzPzqFc7.js} +1 -1
- package/assets/{BUIjRIGTum7VuRFk.js → CnUYevzhUJYNqLad.js} +1 -1
- package/assets/{CV729JV1mNyYCmrq.js → CndRpNCcV89ncnqz.js} +1 -1
- package/assets/{BlxrCp7d-SeM-2DW.js → CpyybSV2kR6b-SIB.js} +467 -457
- package/assets/{DLbzfP7OOWhafkTq.js → CqP4H_-kRRjcxO91.js} +1 -1
- package/assets/{Cu4VAHfmjXWfTMPu.js → CrTLWpsRNBSyTLor.js} +1 -1
- package/assets/{DgVCjvTw9Df1DV1x.js → CtlrxXVgZDIOcuc1.js} +11 -11
- package/assets/{BaaVzb7xXROiWUhT.js → CwrOCbcS4IHLsERQ.js} +4 -4
- package/assets/{DgYcOz0M0pmZf9x_.js → Cx1bc-Dsja7W3GlB.js} +2 -2
- package/assets/{BXean6K6oDUxkzyd.js → CyhngJo16o7G18lq.js} +1 -1
- package/assets/{1U3DwsqHnOBwiGWn.js → CzoRlNMlpFz4iax3.js} +2 -2
- package/assets/{UgDy0WNXuV1sEnFW.js → D-PYDPXobSWiPh1D.js} +2 -2
- package/assets/{D89TE5n8VKre9Gmp.js → D5O3m16KeyU_oXqH.js} +1 -1
- package/assets/{do_DTptu6c_xHJoZ.js → D5PpcRuJYSv0i2y9.js} +2 -2
- package/assets/{BgwCdHyXKQYFAl1M.js → D60N4r1a2YsNEwqj.js} +1 -1
- package/assets/{BygXDW3XTdtR38aA.js → D7oYfHgO0kEqAnPV.js} +1 -1
- package/assets/{Ds5pLAwSN4lSbao6.js → DACd4ZjYwzNE7Koc.js} +1 -1
- package/assets/{CKhbbbjQ-_auMp3n.js → DAliB9N1z6qnw4NO.js} +1 -1
- package/assets/{DHHYGjNwlLvja3dS.js → DIAQ_WlBCWhgHt-z.js} +1 -1
- package/assets/{DdnALoxd3b8TLNla.js → DJ2jlogB1DWlGM-J.js} +1 -1
- package/assets/{coTH4ab6CTEzw87b.js → DKKLWACR9GsidnkS.js} +2 -2
- package/assets/{DsBXjYAgTUXAAWZZ.js → DL7_uGw6KiZhlvR8.js} +1 -1
- package/assets/{Dbh-XVDw294AVLtl.js → DL8wUEe2Kx7bjDYP.js} +1 -1
- package/assets/{CwNKcoA7na7Ess3a.js → DLuQ_rdu0XjYF7Jq.js} +2 -2
- package/assets/{DFQLoYLUO4TgDZPK.js → DN1RRp4qQfCq3JAO.js} +1 -1
- package/assets/{BvKzhnweVF6GhjXh.js → DPjWOMoJ-elAAOmS.js} +1 -1
- package/assets/{hAVtdK6u2tlLI2cB.js → DSyZaCML62gSnudE.js} +1 -1
- package/assets/DU2Dzzu0oY_eDN6i.js +14 -0
- package/assets/{Z5tQQ6IW5YBjblWX.js → DUytcsu0MV3GnsrM.js} +1 -1
- package/assets/{CHnaSM8aMnQ2_VWW.js → DV3PnM9lo0AW-YOA.js} +3 -3
- package/assets/{CXk5vwFfosghrTKo.js → DXmebUOAhtW4V6BO.js} +416 -416
- package/assets/{BkqENH8xJ3_NQnD5.js → DZt1ONN8CTTfmHGn.js} +612 -612
- package/assets/{OfjHqYH31KqC5gVM.js → Dawi8y7JWn6A9gAx.js} +1 -1
- package/assets/{CdtVv8YQ8PTmS4dz.js → DbbNJyL67KdOK7nc.js} +1 -1
- package/assets/{D9ja7F9irHf9Iovx.js → DcO0gub7cRKVw4xB.js} +1 -1
- package/assets/{BI5L_Ysr8s0TQxdg.js → DfBERTJjS9LP0RSp.js} +1 -1
- package/assets/{D8dNiNpu9_L0NjGP.js → Dg5QmWm0uBTEjZy4.js} +1 -1
- package/assets/{hhpAcu3tINDLk7Ov.js → DgLQfXTWavoBetna.js} +5 -5
- package/assets/{Bf7Irm8Ua4s1T4xH.js → DiJexWBIzdGj1H0H.js} +1 -1
- package/assets/{DrLUi6vduqDLmQjl.js → DoP6myQHGI-X1gNy.js} +112 -112
- package/assets/{BnK6HEqT4rf1RoOG.js → Dol52NFQzLCbObuC.js} +260 -260
- package/assets/{DQIQR1t3IkC9wshP.js → DrKr8dXQEQ3Aukmt.js} +1 -1
- package/assets/{C1yAmXrOu3iHV2cu.js → DtETpSxSR8C1voac.js} +27 -27
- package/assets/{VSbzBtGH0cA8VBsM.js → DuQU8JjPLBIK804w.js} +39 -39
- package/assets/{C4-0s3Udk3v4ytSn.js → DvkBNkPyR5kuS0Uo.js} +2 -2
- package/assets/{DtvJg63vbDd6B7sD.js → E-KM5RFByUxjlkId.js} +6 -6
- package/assets/{DmVQgN-N_HhYvakk.js → KMTTqSwDthnXnD4F.js} +1 -1
- package/assets/{1dUPpOVZSeeylKHv.js → KhdF512BKcJXZMvq.js} +1 -1
- package/assets/{VWEaItb0XvCoRiCT.js → L9RIicOHtZd2Rx8g.js} +1 -1
- package/assets/{D-N87jCOShDKTFDh.js → MzfM7zDcnyOFK1lK.js} +1 -1
- package/assets/{zJoBN2CJdxEV7vdh.js → NDe-uS1n_Q7u1H3m.js} +3 -3
- package/assets/{CHqnRMWNpLKcAWWn.js → PVGDjdR9C4stMNpM.js} +1 -1
- package/assets/{DdXp_iPwTOHAOvlL.js → PiFW6uPRJABzK3V1.js} +1174 -1176
- package/assets/{DawLBAaNAAmo_P3Y.js → WH1Vl-MDWX3vSMn1.js} +2 -2
- package/assets/{CpYgsvYMxV5SbRp3.js → WuKVkvMPAOmRaCDY.js} +2 -2
- package/assets/{BrfsWImwRtf54LUU.js → YtxPcFPURJF6CxWu.js} +1 -1
- package/assets/{9AosCdy_xtdhLjN1.js → a9lvcAd7rWsWSWAo.js} +1 -1
- package/assets/{BV49J63s68Mj6lgF.js → aTxgpOOxLenli4af.js} +1 -1
- package/assets/{CHG9Q0uLAZdLXYVz.js → bsnhRuD-K-qhW-y5.js} +62 -62
- package/assets/{xDx1vaNa2aCMs4_e.js → dep8oZGwBmUpxjHl.js} +1 -1
- package/assets/{BPZWfwUvFCLQInXN.js → f_dBJuakO_BJ7Tvm.js} +401 -401
- package/assets/{Dvsld01DkmiNLjfP.js → gver5Sz7ZO6ZyrOi.js} +1 -1
- package/assets/{B5VTjL9m0R-Icfaz.js → jKIDENA_QP4bEX49.js} +4 -4
- package/assets/{v5XZSqLd9ZV3kqcA.js → q1rCdlJA6Z7tA6om.js} +1 -1
- package/assets/{WSiEiaP-NUEr9UaB.js → qjyVXZeVSr_qZfX5.js} +2 -2
- package/assets/{COVhUB0EotytQDHg.js → sIWsnPhnHm_MeeM9.js} +2 -2
- package/assets/{sYakw2x8dcnpUlsX.js → t4qTfgdlstczTs2z.js} +21 -21
- package/assets/{vazKaFOkHRriv7tX.js → wKkW4LO-iUp92LVC.js} +1 -1
- package/index.js +157 -157
- package/lib.js +1 -1
- package/licenses/dependencies.txt +115 -115
- package/package.json +4 -4
- package/screenshot-page/assets/{CFl15-2FAF9f3V7L.js → 0UZBKpOOsp7P-DkP.js} +2 -2
- package/screenshot-page/assets/37LAUhU1_yKtsBlH.js +2 -0
- package/screenshot-page/assets/{CcOIj8c4N9KaWnD7.js → B2PWru6Ty7ODc2Ie.js} +1 -1
- package/screenshot-page/assets/B3c6NBI22E5SZWG-.js +1 -0
- package/screenshot-page/assets/B3yyoGGGl8ICyeoC.js +39 -0
- package/screenshot-page/assets/B56KxTxcAXDom0g4.js +13 -0
- package/screenshot-page/assets/{Dwv5Z_c2XS-hm-5y.js → BAxPBeFudRJ3OqIC.js} +1 -1
- package/screenshot-page/assets/{BRemww1df2HKLd_k.js → BJct69niPZc8L_gZ.js} +1 -1
- package/screenshot-page/assets/BPMQ22uISGOm3ymr.js +1 -0
- package/screenshot-page/assets/{Bm9-R9keVK5Sx-8o.js → BT2nkqpteSR9booH.js} +1 -1
- package/screenshot-page/assets/{CQ9C0-FcDZxrgC3T.js → BTKdl-XR9TlWaFe7.js} +4 -4
- package/screenshot-page/assets/{BEwl-ucV9Jfr0RoC.js → Bdb0azxGoCh6NBDk.js} +1 -1
- package/screenshot-page/assets/{D8-mayyvvVE1a4JB.js → Be1S5czBx0lxhYLW.js} +1 -1
- package/screenshot-page/assets/Bh2DVAOWvWfylt77.js +1 -0
- package/screenshot-page/assets/BjJ_nnNDZEPLpapa.js +1 -0
- package/screenshot-page/assets/Bml69dFBVggmVWda.js +57 -0
- package/screenshot-page/assets/BoiQQ-37KQn6NcLT.js +1 -0
- package/screenshot-page/assets/{B668_VaGrdcWRbkC.js → C-n8BDiksNjX6Orz.js} +1 -1
- package/screenshot-page/assets/C5-sm7wuk62Nzm_p.js +1 -0
- package/screenshot-page/assets/C9a-cNha8mBw5q-l.js +1 -0
- package/screenshot-page/assets/CAQ7QWes7j7Fq8o5.js +2 -0
- package/screenshot-page/assets/{zFbb8ESzwR_bE7IQ.js → CBP4y6KFPu24xhDT.js} +1 -1
- package/screenshot-page/assets/{DdusmeEPaU7CWT6e.js → CEL5lzj2NDYwJ-HC.js} +1 -1
- package/screenshot-page/assets/CGx-ZSMV9cPOzbu4.js +2 -0
- package/screenshot-page/assets/CI3Z1f4amZ9G2rPD.js +5 -0
- package/screenshot-page/assets/{CXGgKVbVXjWzE0p6.js → CQ-33-es3XJ56pR4.js} +1 -1
- package/screenshot-page/assets/{BftXEPOuf5Uwxpud.js → CaOsWPeN_FXseSNg.js} +1 -1
- package/screenshot-page/assets/CaP_vH0sJFjNrSkW.js +1 -0
- package/screenshot-page/assets/{adhmz3N2Kgq5eW66.js → Cbbl3H042tb0krfe.js} +2 -2
- package/screenshot-page/assets/CcVllJMjVF6SvVVq.js +2 -0
- package/screenshot-page/assets/{DfT1DMR1b5kiyYiV.js → Ce8b0lOBuWKlfLzJ.js} +1 -1
- package/screenshot-page/assets/Cengqc8q8BTmNfb_.js +1 -0
- package/screenshot-page/assets/{nM1r2xslndIMKlI2.js → CiFaOHqsDQTE4RRi.js} +1 -1
- package/screenshot-page/assets/Cv0zGWEBpmC07Jps.js +1 -0
- package/screenshot-page/assets/CyfTQE0Z76Rp4Fbt.js +586 -0
- package/screenshot-page/assets/D2CxEHjkPQMAxzWl.js +1 -0
- package/screenshot-page/assets/D4hvW_TF7vwc-Xlq.js +2 -0
- package/screenshot-page/assets/D7Y0npF3FMsGUjgO.js +1 -0
- package/screenshot-page/assets/DACSL7FA_J91Z_H7.js +2 -0
- package/screenshot-page/assets/{COpZTXe_J1mSpeYD.js → DEAD_MduPNVoT_T6.js} +1 -1
- package/screenshot-page/assets/{Cmv8bpHaTWZ7Lmbt.js → DMbFr7oWja7Qpsm6.js} +2 -2
- package/screenshot-page/assets/DVQnEWIisXaOXb_G.js +4 -0
- package/screenshot-page/assets/DXbOBAxx4_2rt5KM.js +1 -0
- package/screenshot-page/assets/{CUeMb48Ucrm5dK5u.js → DgLZb-StwCd9ftop.js} +1 -1
- package/screenshot-page/assets/Dkf51CnZh2zPEGMd.js +1 -0
- package/screenshot-page/assets/DrnzLCa7NIirMxno.js +3 -0
- package/screenshot-page/assets/DtQFcMvZesaQ4xRf.js +1 -0
- package/screenshot-page/assets/DvRXbyteeo_8sy8T.js +1 -0
- package/screenshot-page/assets/EOw6vVvEfYNga9b4.js +1 -0
- package/screenshot-page/assets/{CZq2dMHs2MHHyyBl.js → FcTM4SB17cEX1M3X.js} +1 -1
- package/screenshot-page/assets/{BnZX0sxceYpvtg3I.js → JM0_BaBZ3yF6lnHC.js} +2 -2
- package/screenshot-page/assets/ONNSfQ8RDOqBDsvw.js +2 -0
- package/screenshot-page/assets/{CXUO3vYip3JPSJ7A.js → YH1wNXzhQbkuWxeS.js} +1 -1
- package/screenshot-page/assets/_zzVe2R8R4vwuc5q.js +48 -0
- package/screenshot-page/assets/{-cpi3yOZYn6GsYN4.js → gU2zeJaXoNh7QI_e.js} +2 -2
- package/screenshot-page/index.html +16 -16
- package/types/scripting-api.json +1782 -1781
- package/types/scripting.d.ts +5 -0
- package/assets/r-pk3RNq_HjMQFqr.js +0 -14
- package/screenshot-page/assets/0buGanYjZDNd9qAK.js +0 -39
- package/screenshot-page/assets/B2oadmu_j6WfNbZ1.js +0 -1
- package/screenshot-page/assets/BGWgIYge30MP6Xhz.js +0 -48
- package/screenshot-page/assets/BGh5K-hHzy8mSVDr.js +0 -57
- package/screenshot-page/assets/BIQ7KK-buzeddVA9.js +0 -1
- package/screenshot-page/assets/BPRDGSNh0kvXRFUY.js +0 -1
- package/screenshot-page/assets/Bv2MgCMkg3EIQ6iE.js +0 -13
- package/screenshot-page/assets/BvaiwYJ5zZ0d5NRP.js +0 -1
- package/screenshot-page/assets/CAlTfQ_Gh-dURmUc.js +0 -1
- package/screenshot-page/assets/CCFxspvs5VzbYCfl.js +0 -1
- package/screenshot-page/assets/CCqTTfzZokVHIzs2.js +0 -1
- package/screenshot-page/assets/CPs_ARK8JCyz-yZg.js +0 -1
- package/screenshot-page/assets/CjrHeIdacavAT_Ud.js +0 -3
- package/screenshot-page/assets/CqccUqSMYlwlf2ZU.js +0 -2
- package/screenshot-page/assets/CvmImq-Kbg9srxNr.js +0 -4
- package/screenshot-page/assets/D-3wYBqe4SWdE6bx.js +0 -2
- package/screenshot-page/assets/D-FWnGDbZ9BRDzPR.js +0 -1
- package/screenshot-page/assets/D717DArr-KKL0U6R.js +0 -1
- package/screenshot-page/assets/DM27mE98BNk1T18I.js +0 -1
- package/screenshot-page/assets/DN-T1DyRMKvxEJSK.js +0 -1
- package/screenshot-page/assets/DRdL1GN4SP7P8lSP.js +0 -2
- package/screenshot-page/assets/DcnhaY93LQd7kVdH.js +0 -2
- package/screenshot-page/assets/DigI6jhjHePzLgg1.js +0 -1
- package/screenshot-page/assets/DrDLCC0R2IV5VJd7.js +0 -1
- package/screenshot-page/assets/DuYb_otrRZZDq6-f.js +0 -2
- package/screenshot-page/assets/Dx0pUf3G4Oa3dGOk.js +0 -1
- package/screenshot-page/assets/JcgNMFaj_uqHSFxr.js +0 -1
- package/screenshot-page/assets/U_8_wApwfA7KmIG3.js +0 -586
- package/screenshot-page/assets/WZprjN2sb7HlraOb.js +0 -2
- package/screenshot-page/assets/qjoaeEBxfKWCHmqK.js +0 -2
- package/screenshot-page/assets/zALFdtoGJBN6m2Bn.js +0 -1
- package/screenshot-page/assets/zd1Z2E1NjFp2EWC7.js +0 -5
|
@@ -1,5 +1,5 @@
|
|
|
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.23
|
|
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. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v0.8.0-beta.23
|
|
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. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v0.8.0-beta.23
|
|
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. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v0.8.0-beta.23
|
|
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. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v0.8.0-beta.23
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: SheetXL EULA — https://www.sheetxl.com/eula
|
|
@@ -1,14 +1,14 @@
|
|
|
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.23
|
|
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 { r as e } from "./
|
|
8
|
-
import { p as r } from "./
|
|
9
|
-
import { P as t } from "./
|
|
7
|
+
import { r as e } from "./gver5Sz7ZO6ZyrOi.js";
|
|
8
|
+
import { p as r } from "./BI8kb-rd9dW85XJs.js";
|
|
9
|
+
import { P as t } from "./ChbkkN_JqbAGrUwB.js";
|
|
10
10
|
var o = async (o, s) => {
|
|
11
|
-
const { papaParseConfig: a, setValuesOptions: n, createWorkbookOptions: i } = s ?? {}, d = s?.progress, p = d?.onProgress ? d.onProgress.bind(d) : void 0, m = await import("./
|
|
11
|
+
const { papaParseConfig: a, setValuesOptions: n, createWorkbookOptions: i } = s ?? {}, d = s?.progress, p = d?.onProgress ? d.onProgress.bind(d) : void 0, m = await import("./sIWsnPhnHm_MeeM9.js").then((r) => e(r.default, 1)), g = m.default ?? m, c = new TextDecoder().decode(o);
|
|
12
12
|
let f = -1;
|
|
13
13
|
const l = new t(i), u = l.getWorksheetAt(0), h = u.getEntireRange().getCoords(), w = h.colEnd, x = h.rowEnd, P = u.getEntireRange().createSparseBuilder({ axis: r.Axis.Row });
|
|
14
14
|
let j = 0, E = 0;
|
|
@@ -1,5 +1,5 @@
|
|
|
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.23
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: SheetXL EULA — https://www.sheetxl.com/eula
|
|
@@ -1,54 +1,54 @@
|
|
|
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.23
|
|
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
|
|
7
|
+
import { ht as e } from "./DIAQ_WlBCWhgHt-z.js";
|
|
8
|
+
import { u as t } from "./BI8kb-rd9dW85XJs.js";
|
|
9
|
+
import { Ya as n, bt as r, ra as s } from "./Cl04_aSpBHTwfsQR.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 "./f_dBJuakO_BJ7Tvm.js";
|
|
11
|
+
import { n as b, r as _, t as T } from "./Dol52NFQzLCbObuC.js";
|
|
12
12
|
var P = class {
|
|
13
13
|
constructor(e) {
|
|
14
|
-
e = { ...e }, this._editing = "editing" === e.profile, this._parser = new
|
|
14
|
+
e = { ...e }, this._editing = "editing" === e.profile, this._parser = new _(e);
|
|
15
15
|
}
|
|
16
|
-
compile(e, n,
|
|
16
|
+
compile(e, n, r, a, _, P, k, E, w) {
|
|
17
17
|
if (0 === a.length) {
|
|
18
18
|
const n = new t.Parse(T);
|
|
19
|
-
return this._compileUnparsed(e,
|
|
19
|
+
return this._compileUnparsed(e, _, a, {
|
|
20
20
|
input: a,
|
|
21
21
|
cause: n,
|
|
22
22
|
causes: [n]
|
|
23
23
|
});
|
|
24
24
|
}
|
|
25
|
-
if (a.length >
|
|
26
|
-
const n = new t.Parse(
|
|
27
|
-
return this._compileUnparsed(e,
|
|
25
|
+
if (a.length > s.MAX_EXPRESSION_LENGTH) {
|
|
26
|
+
const n = new t.Parse(b(a.length, s.MAX_EXPRESSION_LENGTH));
|
|
27
|
+
return this._compileUnparsed(e, _, a, {
|
|
28
28
|
input: a,
|
|
29
29
|
cause: n,
|
|
30
30
|
causes: [n]
|
|
31
31
|
});
|
|
32
32
|
}
|
|
33
|
-
let
|
|
33
|
+
let F, C, U = [];
|
|
34
34
|
try {
|
|
35
|
-
const e = this._parser.parse(n,
|
|
36
|
-
|
|
35
|
+
const e = this._parser.parse(n, r, a);
|
|
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
40
|
const R = [];
|
|
41
41
|
for (const e of U) R.push(d(e));
|
|
42
|
-
if (
|
|
43
|
-
const e = h(
|
|
44
|
-
"string" == typeof e ? R.push(new t.Parse(e)) :
|
|
45
|
-
const n = y(
|
|
42
|
+
if (F) {
|
|
43
|
+
const e = h(F, P ?? null);
|
|
44
|
+
"string" == typeof e ? R.push(new t.Parse(e)) : F = e, o(F, P ?? null) && R.push(new t.Parse("The implicit intersection operator ' ' requires a cell or range on both sides")), v(F, P ?? null) && R.push(new t.Parse("The spill anchor operator '#' requires a cell or range")), l(F, P ?? null) && R.push(new t.Parse("Expected a reference; a value cannot be converted to one."));
|
|
45
|
+
const n = y(F, P ?? null);
|
|
46
46
|
n && R.push(new t.Parse(n));
|
|
47
|
-
const r = f(
|
|
47
|
+
const r = f(F, P ?? null);
|
|
48
48
|
r && R.push(new t.Parse(r));
|
|
49
|
-
const s = c(
|
|
49
|
+
const s = c(F, P ?? null);
|
|
50
50
|
s && R.push(new t.Parse(s));
|
|
51
|
-
const a = u(
|
|
51
|
+
const a = u(F);
|
|
52
52
|
a && R.push(new t.Parse(a));
|
|
53
53
|
}
|
|
54
54
|
R.length > 0 && !C && (C = R[0]);
|
|
@@ -57,25 +57,25 @@ var P = class {
|
|
|
57
57
|
input: a,
|
|
58
58
|
cause: C,
|
|
59
59
|
causes: R.length > 0 ? R : [C]
|
|
60
|
-
}), !
|
|
60
|
+
}), !F) {
|
|
61
61
|
if (this._editing) {
|
|
62
|
-
const t = this._recoverCompiled(e, n,
|
|
62
|
+
const t = this._recoverCompiled(e, n, r, a, _, z, k);
|
|
63
63
|
if (t) return t;
|
|
64
64
|
}
|
|
65
|
-
return this._compileUnparsed(e,
|
|
65
|
+
return this._compileUnparsed(e, _, a, z, this._editing, () => A(_, k, n, r));
|
|
66
66
|
}
|
|
67
|
-
if (
|
|
68
|
-
const e = this._editing ?
|
|
69
|
-
mint: !
|
|
70
|
-
...
|
|
67
|
+
if (F = g(F, P ?? null), F = x(F, P ?? null), _) {
|
|
68
|
+
const e = this._editing ? w : {
|
|
69
|
+
mint: !w?.book,
|
|
70
|
+
...w
|
|
71
71
|
};
|
|
72
|
-
|
|
72
|
+
F = m(F, _, k, e, {
|
|
73
73
|
rowIndex: n,
|
|
74
|
-
colIndex:
|
|
74
|
+
colIndex: r
|
|
75
75
|
});
|
|
76
|
-
const
|
|
77
|
-
if (
|
|
78
|
-
const e = new t.Parse(
|
|
76
|
+
const s = I(F, _);
|
|
77
|
+
if (s) {
|
|
78
|
+
const e = new t.Parse(s);
|
|
79
79
|
R.push(e), z = {
|
|
80
80
|
input: a,
|
|
81
81
|
cause: z?.cause ?? e,
|
|
@@ -83,8 +83,8 @@ var P = class {
|
|
|
83
83
|
};
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
|
-
const S = i(e,
|
|
87
|
-
return this._editing && z && p(S.getTokens(),
|
|
86
|
+
const S = i(e, _, F, this._editing, z, P ?? null);
|
|
87
|
+
return this._editing && z && p(S.getTokens(), _) !== a ? this._recoverCompiled(e, n, r, a, _, z, k) || this._compileUnparsed(e, _, a, z, !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,
|
|
@@ -129,10 +129,10 @@ var P = class {
|
|
|
129
129
|
formatReferenceIndices: e.EmptyArray,
|
|
130
130
|
getTokens: () => {
|
|
131
131
|
const e = [];
|
|
132
|
-
return o &&
|
|
133
|
-
type:
|
|
134
|
-
value:
|
|
135
|
-
text:
|
|
132
|
+
return o && F(e, s, void 0, l) ? e : [{
|
|
133
|
+
type: n.Unparsed,
|
|
134
|
+
value: s,
|
|
135
|
+
text: s
|
|
136
136
|
}];
|
|
137
137
|
},
|
|
138
138
|
namedIds: e.EmptyArray,
|
|
@@ -149,10 +149,10 @@ var P = class {
|
|
|
149
149
|
};
|
|
150
150
|
return i;
|
|
151
151
|
}
|
|
152
|
-
_recoverCompiled(e, t,
|
|
153
|
-
let c, u =
|
|
152
|
+
_recoverCompiled(e, t, r, s, a, o, l) {
|
|
153
|
+
let c, u = s.length;
|
|
154
154
|
try {
|
|
155
|
-
const e = this._parser.getLexer().tokenize(
|
|
155
|
+
const e = this._parser.getLexer().tokenize(s, !1);
|
|
156
156
|
c = e.tokens, e.errors.length > 0 && (u = Math.min(u, e.errors[0].offset));
|
|
157
157
|
} catch {
|
|
158
158
|
return null;
|
|
@@ -160,58 +160,58 @@ var P = class {
|
|
|
160
160
|
const d = [];
|
|
161
161
|
for (let e = c.length - 1; e >= 0 && d.length < 24; e--) {
|
|
162
162
|
const t = (c[e].endOffset ?? -1) + 1;
|
|
163
|
-
t > 0 && t <
|
|
163
|
+
t > 0 && t < s.length && t <= u && d.push(t);
|
|
164
164
|
}
|
|
165
165
|
for (const c of d) {
|
|
166
|
-
const u =
|
|
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;
|
|
182
182
|
}
|
|
183
183
|
if (p(f.getTokens(), a) !== u) continue;
|
|
184
|
-
const h =
|
|
184
|
+
const h = s.slice(c);
|
|
185
185
|
if (0 === h.length) return f;
|
|
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,
|
|
197
|
-
const
|
|
196
|
+
_appendUnparsedTail(e, t, r) {
|
|
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
|
-
const e =
|
|
214
|
+
const e = s.pop(), t = s.length > 0 ? s[s.length - 1] : void 0;
|
|
215
215
|
t && e?.leadsArg && "lambda" === e.ctx?.type && -1 === e.ctx.argIndex && (t.lambda = {
|
|
216
216
|
params: e.declared.map(({ name: e, optional: t }) => t ? {
|
|
217
217
|
name: e,
|
|
@@ -219,19 +219,19 @@ 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
|
}
|
|
234
|
-
const o =
|
|
234
|
+
const o = s.length > 0 ? s[s.length - 1] : void 0, l = o?.ctx ? {
|
|
235
235
|
...o.ctx,
|
|
236
236
|
argIndex: -1 === o.ctx.argIndex ? o.argIndex : o.ctx.argIndex
|
|
237
237
|
} : void 0;
|
|
@@ -248,36 +248,36 @@ var P = class {
|
|
|
248
248
|
}
|
|
249
249
|
t && (l.bound = t);
|
|
250
250
|
}
|
|
251
|
-
const i = (t,
|
|
252
|
-
const
|
|
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
|
-
l && (
|
|
261
|
+
l && (s.context = l), e.push(s);
|
|
262
262
|
};
|
|
263
|
-
if (
|
|
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) ?? "";
|
|
267
267
|
u >= 0 && !/[A-Za-z0-9_.]/.test(p) ? (u > 0 && i(t.slice(0, u)), i(t.slice(u), !0)) : i(t);
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
|
-
function A(e, t,
|
|
270
|
+
function A(e, t, n, s) {
|
|
271
271
|
if (!e || !t) return;
|
|
272
|
-
const a = e.bind(
|
|
272
|
+
const a = e.bind(r.Table, "", { at: {
|
|
273
273
|
scope: t,
|
|
274
|
-
rowIndex:
|
|
274
|
+
rowIndex: n,
|
|
275
275
|
colIndex: s
|
|
276
276
|
} });
|
|
277
|
-
return a ? e.resolve(
|
|
277
|
+
return a ? e.resolve(r.Table, a)?.toString() : void 0;
|
|
278
278
|
}
|
|
279
279
|
var k = /[A-Za-z_\\\u007F-\uFFFF][A-Za-z0-9_.\u007F-\uFFFF]*$/, E = /[A-Za-z0-9_.)\]}"'!#\u007F-\uFFFF]/;
|
|
280
|
-
function
|
|
280
|
+
function w(e, t) {
|
|
281
281
|
for (let n = t + 1; n < e.length; n++) {
|
|
282
282
|
const t = e[n];
|
|
283
283
|
if ("'" !== t) {
|
|
@@ -287,7 +287,7 @@ function F(e, t) {
|
|
|
287
287
|
}
|
|
288
288
|
return -1;
|
|
289
289
|
}
|
|
290
|
-
function
|
|
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,12 +303,12 @@ function w(e, t, n, r) {
|
|
|
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;
|
|
310
310
|
}
|
|
311
|
-
const d = c || (
|
|
311
|
+
const d = c || (s?.() ?? ""), f = [], h = (e, t, n) => {
|
|
312
312
|
f.push({
|
|
313
313
|
type: e,
|
|
314
314
|
value: t,
|
|
@@ -319,8 +319,8 @@ function w(e, t, n, r) {
|
|
|
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 w(e, t, n, r) {
|
|
|
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,38 +338,38 @@ function w(e, t, n, r) {
|
|
|
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
|
|
350
|
-
if ("[" ===
|
|
351
|
-
const
|
|
352
|
-
if (null ===
|
|
353
|
-
const s = -1 !==
|
|
354
|
-
if (m(x.slice(
|
|
355
|
-
|
|
356
|
-
} else if ("," ===
|
|
357
|
-
else if (":" ===
|
|
358
|
-
else if ("@" ===
|
|
347
|
+
let e = 0, t = !1, r = 0;
|
|
348
|
+
for (; r < x.length;) {
|
|
349
|
+
const s = x[r];
|
|
350
|
+
if ("[" === s) {
|
|
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
|
-
if (" " !==
|
|
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(
|
|
372
|
-
if (-1 !==
|
|
371
|
+
if (t && (h(n.Prefix, "@", 0), e = e.slice(1)), e.startsWith("[")) {
|
|
372
|
+
if (-1 !== w(e, 0)) return !1;
|
|
373
373
|
m(e, !1, 0, t);
|
|
374
374
|
} else {
|
|
375
375
|
if (/(^|[^'])[[\]]/.test(e) || e.startsWith("#") && e.includes(",")) return !1;
|
|
@@ -378,29 +378,29 @@ function w(e, t, n, r) {
|
|
|
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;
|
|
405
405
|
}
|
|
406
|
-
export { P as FormulaCompiler,
|
|
406
|
+
export { P as FormulaCompiler, F as appendPartialStructuredReference };
|