@sheetxl/mcp 0.8.0-beta.15 → 0.8.0-beta.17
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/LICENSE.md +8 -7
- package/agent/instructions.md +15 -4
- package/assets/{Cf9LpgZz-W5blzy_.js → -cMvbaW1kvHslPKX.js} +3 -3
- package/assets/{BFdeov2e_xUQPEY_.js → 0kfwZuOHUkJmVjg6.js} +7 -7
- package/assets/{B7gUyrfLln3TiyKM.js → 1feDuXw6tBXu2XFg.js} +2 -2
- package/assets/{BbAmA46MhQSu3ZF_.js → 4qMP71Fe1Ep8kbOX.js} +2 -2
- package/assets/{CduNzsdbTigxH-ZK.js → 7TRx0dMYnL2i4tqL.js} +163 -163
- package/assets/{DEW2GxfGYqVFvrfg.js → 8cVPexxAVrFJ9QLX.js} +2 -2
- package/assets/{C4z2IilWTuu2TWXw.js → APP8AzsNgQXHTalA.js} +3 -3
- package/assets/{BleMG0hAQgjE8fTa.js → AnF1Kh3Vo2AniIYO.js} +3 -3
- package/assets/{C0CiMKC3lWK1z9p5.js → B2BfjRdJGZs6afVL.js} +3 -3
- package/assets/{BFXeoFUbuc4IKTz9.js → B2UxLSteMiPlg8Uu.js} +2 -2
- package/assets/{BJxfinOazQqqByc-.js → B3mh2tuvP-lMP6f_.js} +2 -2
- package/assets/{PpFbmF0DFeUdpb9I.js → B6NnxkSmEzCGZEZA.js} +2 -2
- package/assets/{xmTQJJVyCrcq77WR.js → B7Nqa7V-v0cxGBux.js} +2 -2
- package/assets/{DsCI_ZYm_jDjXF3J.js → B7OyFSpBb1eBvMVd.js} +52 -52
- package/assets/{ClNQN3vEg5b5qUDp.js → B8JX7a6VZlBNA_Bd.js} +2435 -2447
- package/assets/{DPCKMM7sgWbrtB8z.js → B9J8nV-dh6jHpzZI.js} +2 -2
- package/assets/{BuUEsifnQALe49uk.js → B9M_sgHpoc-op6FF.js} +2 -2
- package/assets/{BeLr36oL3jmeXFFi.js → BBC_WF8BcAH-k_cQ.js} +2 -2
- package/assets/{B5lHOOQ_rkP4Mi2r.js → BGZ_ltNFYvnAmbVR.js} +2 -2
- package/assets/{iujMYIEPx_v3sdPf.js → BJBoygm-gY68bLAP.js} +996 -995
- package/assets/BJdWgj1hv57eGVl4.js +2039 -0
- package/assets/{DcWTBOi_iBFc6U4J.js → BKRLtOdVOUTrLjQN.js} +8 -8
- package/assets/{DpdHDTFOeuzDVNEe.js → BKjovBsLpX2Fkhov.js} +78 -77
- package/assets/{BCy1zP97fsiIcvj6.js → BMJhHHX2LWgOJWGz.js} +2 -2
- package/assets/{fDMpDhXp36CatF-G.js → BOx4Ut_Rme7NH34X.js} +2 -2
- package/assets/{9U9XCqqdn-q3i2fj.js → BQYpVYbvfWuUJgdx.js} +2 -2
- package/assets/{DJiLWtmPR2OQNjzi.js → BS4ZsfH5D6aemSpO.js} +2 -2
- package/assets/{BlPubAFi7DY7VrAo.js → BSAdmOdx3brRE9LW.js} +2 -2
- package/assets/{BtjqpAKczftx91BQ.js → BSY9Tbmz6VEY_F_x.js} +2 -2
- package/assets/{S16s2h9qoYVBlVEa.js → BT8AGlSg2t7V1QNj.js} +1454 -1366
- package/assets/{Dz8UUJ7Xc2oN5PBG.js → BUV7BlOZcuPgDZ__.js} +2 -2
- package/assets/{B2udpZ-uIaql3AUh.js → BX5xFncPLyeN7TqA.js} +6 -6
- package/assets/{CGBGyaCGdlZFQYK0.js → Bcak_hZpcIkB2gJD.js} +2 -2
- package/assets/{vZZi_iKYHm05gAye.js → BdijGsy5W7yZ_I_n.js} +2 -2
- package/assets/{CMWAsUQ66V8fYrME.js → BebXDUnlrDDRGW60.js} +3 -3
- package/assets/{wfVh0olISLRWdv9Q.js → BgldX21zhey2aR9D.js} +2 -2
- package/assets/{SHZe9VOU1prGs1F9.js → BhCbCEPpDzhg5nqL.js} +2 -2
- package/assets/{ZuYfVKlp41IJnrOS.js → Bj4BFLBC9Tf6SGSt.js} +2 -2
- package/assets/BjhAYfsKC8iEbtgn.js +169 -0
- package/assets/BjnQVl1lb1KEbt2D.js +529 -0
- package/assets/{CWl6oHiJxkNKRixk.js → BlbxiLf1zD6_fWZs.js} +2 -2
- package/assets/{BjqQjxBuoXza8oqg.js → BmM-nHMAAuNatCcN.js} +3 -4
- package/assets/{DD8HNAUFroTCuD-b.js → Bni-y4FJS4rkFYtn.js} +3305 -2147
- package/assets/{Cfhv_Yw_LT8VzAMt.js → BodrfKIAhDFD-X3t.js} +2 -2
- package/assets/{D8J14MLlN2HRXdXB.js → BvDcHHJvQMRHthm-.js} +2 -2
- package/assets/{hulrR0PldUxMJm_F.js → Bw_FtA-1886HMCLJ.js} +4 -4
- package/assets/{BOPsJmq7v7HOKUkO.js → Bxkx8QokmRNyXbOI.js} +12 -12
- package/assets/{CNz3LdmvsOEJoLO9.js → Bz1ImBvJwPwBrA5j.js} +2 -2
- package/assets/C2NPIWe0pLs3PAZM.js +7 -0
- package/assets/{LEJp05fjmflKgyqF.js → C2ZX6ffXsMaEr2d2.js} +452 -448
- package/assets/{Bg95xYj5siqhHVEz.js → C3Q-fjiZZ15waCq_.js} +3 -3
- package/assets/{CJ5WQnaoCsdr5gf4.js → C46RpMrfF6FiEFI7.js} +2 -2
- package/assets/{ChWpsFGl-BYOnX_A.js → C4deMY87Q_haYyLF.js} +2 -2
- package/assets/C7iHn3y3HVBHflpA.js +2563 -0
- package/assets/{C7ONfuYIWRmDu_vs.js → CJF3P7U7yBQVF2Cg.js} +2 -2
- package/assets/{DvUUArnZwoYOKOuk.js → CLgvdaqeFlESLvbF.js} +2 -2
- package/assets/{Crt2kLdGIlBHANgg.js → CLze192iF2o-aETZ.js} +2 -2
- package/assets/{F_f0jJqM5MrXGbwC.js → CMRLNLqYkiqCLMRa.js} +4 -4
- package/assets/{D-ffk16w8c5w0mxI.js → COa691om4fLN4CUy.js} +2 -2
- package/assets/CSLLHl-zum7m1CJl.js +14 -0
- package/assets/{DVchxwp6w6lu2Ihu.js → CUbCBf24Ie4A2l4R.js} +3 -3
- package/assets/{xnhBSX6lAcmBM65y.js → CWLleOolFzyT0COW.js} +2 -2
- package/assets/{Cg51xaLRUkVOMdCZ.js → CaJ9j3l0cERnYqDS.js} +2 -2
- package/assets/{BQMDOjNBMjAx9WiW.js → CfA8o-FNret9-D6Y.js} +2 -2
- package/assets/{BbcUxIZe3YXywsQR.js → Cl7HHR6Vc9S4n3AP.js} +2 -2
- package/assets/{BG5kgbDRXMc0re6W.js → CqjNsZ2OB4Kx6J3s.js} +9 -9
- package/assets/{By-7OWXShMlFFejV.js → CqwEHSKivMYw7tRZ.js} +2 -2
- package/assets/{BTQhJQ3e0hsiousD.js → Cr6lm0oXZJaaoAmD.js} +2 -2
- package/assets/{CudNpUD78SrtJIiy.js → CshK6Ew7OQ7mngI3.js} +3 -3
- package/assets/{DoILAmhKUOlKWRVw.js → CsiIgnb_L2x2Go6g.js} +2 -2
- package/assets/{Bn8D2bebQ2tFfwQt.js → CtmrBbpapaNwjwNB.js} +47 -45
- package/assets/{Diee6f_qAmcZBd2_.js → CwRhhoL5ynbe78dB.js} +2 -2
- package/assets/{DDnwKPJSznyfYDZS.js → CyI1eGGzJX8nJXaT.js} +3 -3
- package/assets/{BRzp6DEIYUgM3NkN.js → Cz4H3Qge2u8er3Ny.js} +4 -4
- package/assets/{D7oUtYjetuykGhQ5.js → D0OQ6ka8so0BWPwL.js} +2 -2
- package/assets/{_fUXIv6nKvgZkhxn.js → D336KioeSjd-T8n3.js} +3 -3
- package/assets/D5L35C8cbX16BSCF.js +4676 -0
- package/assets/{jadLBUNBVR9mbZ35.js → D5VFuX1h50V2jLmZ.js} +830 -515
- package/assets/{Bh0PNKlrR4VAqnP8.js → D6ON3ZLcTAXV3fO6.js} +35694 -30239
- package/assets/{LyLlBk--VJD2V-f8.js → DDhPOQPc-lpyZrUJ.js} +34 -34
- package/assets/{FzNG48GE_wso6RII.js → DE4xC78p5UtS7wH6.js} +2 -2
- package/assets/{OVRdpPUzR0-ueTxE.js → DF7-oRscXc_vkMo8.js} +2 -2
- package/assets/{CMK6tIDVqYYvK4GZ.js → DMuOMpgIhVgB3eG8.js} +2 -2
- package/assets/{CecTe22WURiXbVdY.js → DPKeRb9GKmh_WCPv.js} +386 -372
- package/assets/{oxjm7Yr7u7MeaO5P.js → DSsH28SW8CMrSL-q.js} +2 -2
- package/assets/{Btys7KwtvV3hz2F6.js → DV6WSFmSEKfb3d2s.js} +109 -109
- package/assets/{JO3zH9hupFSV6vj2.js → DYJcfrNUUJQtxXWX.js} +2 -2
- package/assets/{BZPTaa0WjpoUAbgZ.js → D_peM8fbRgGaWvpq.js} +2 -2
- package/assets/{DTfl-4Iboi6TQU5m.js → DeEZvPW-VvlE28oE.js} +4 -4
- package/assets/Dgi2xwb2DN2Gybj3.js +7 -0
- package/assets/{Cf2dcwmmmf13Rywg.js → DidhZpf9qJAei29Y.js} +2 -2
- package/assets/{DB-tkqI6wFXDKEfB.js → Dkg-LQVsZlrHk7A8.js} +2 -2
- package/assets/DnTfXqCnRCe-1QYI.js +199 -0
- package/assets/{B9US2ZrF93KOjmAx.js → DoBvgI3Ry8DlGzwQ.js} +2 -2
- package/assets/{DH7sGHzxUqIQkDnd.js → DrHVew6gwOB6oxCn.js} +2 -2
- package/assets/{CvngwB17_ve4W49b.js → Dre79rTMoYYikNuB.js} +69 -69
- package/assets/{_d5XJ7dn1CKKYrep.js → DsCNtBR5jCeqmLBS.js} +3 -3
- package/assets/{jPUOH4FHF4b-rapv.js → Dzz3yrKbECzg6caR.js} +2 -2
- package/assets/{BrcQmHcE7Hcr1erJ.js → FvxN6PPps-rNPDo8.js} +2 -2
- package/assets/G2Wjyx_ETCAcofwm.js +7166 -0
- package/assets/{CXHslDxkWCuEcCSQ.js → IGAV8DdYH32cW8XU.js} +2 -2
- package/assets/{U1XXGEPuuqIAzYl1.js → Jd71-QCmFEcDcYSw.js} +2 -2
- package/assets/{B-MqXm_7luDLwazY.js → Ljri8sTW3dWT4clD.js} +2 -2
- package/assets/{BQbF1RkUH8WyXqSD.js → MW2nt7se27FlH9Yb.js} +25 -19
- package/assets/{FS9NbEKgQvz5wqvZ.js → Mgs_OJP41a-Nfac3.js} +2 -2
- package/assets/{DwLZpYUp85UHBE3H.js → OHBzl-tZOi9Ni8YV.js} +2 -2
- package/assets/{DA_ar3QKLKtJ9fJD.js → PbBzI4PlKpCgULLd.js} +2 -2
- package/assets/{C7Z1li2XjWi6bkrp.js → UH_biJmLrI9SvckA.js} +4 -4
- package/assets/{DlBdhv6NHgrNp5Yo.js → Xe7sA_mEwDQpJjcF.js} +3 -3
- package/assets/{D0CHDsemn0S31ltt.js → YFiGplEq1G4XdCJ2.js} +2 -2
- package/assets/{DKLm4nWzynGw1Kr9.js → YQtUMMGmb1_WFsh_.js} +2 -2
- package/assets/{B4VnJacrzr1x4PHR.js → dcvgOfBmWFTsXoT8.js} +5 -5
- package/assets/{C2OrZ8LZ-TI6eYG0.js → iBgLe32XErisaUSr.js} +2 -2
- package/assets/{B2Ek-DWpZMGJ0V1Z.js → kpS1vY0DcE9p8JnI.js} +3 -3
- package/assets/{CxjchwpiqxPM1XKd.js → lcIaYgz4tQGBlzlo.js} +80 -80
- package/assets/{CwPBmcY6xSP8dNlh.js → nQbVdQrfdz3osBdi.js} +12 -12
- package/assets/{DwWngYJTgC0KLbih.js → oJNJQJEDQCsjHSmo.js} +2 -2
- package/assets/{BPwmBu_aouERJjiW.js → qgW-p2sFhMtuu5yw.js} +2 -2
- package/assets/{C97xDe_wBbLZh_uW.js → z24-oIqP_fu2hsOt.js} +2 -2
- package/assets/{BsQZI1vXTRE63Zy-.js → z7nDK_gfX7G37XbZ.js} +345 -235
- package/index.js +1976 -1910
- package/lib.js +2 -2
- package/licenses/dependencies.txt +245 -180
- package/package.json +4 -9
- package/resources/locales/@sheetxl/sdk/de/model.msg.json +82 -1
- package/resources/locales/@sheetxl/sdk/en/model.msg.json +80 -1
- package/screenshot-page/assets/{CSUd8n1H0VBfREnk.js → -N4OYIMgf6f5vgNy.js} +1 -1
- package/screenshot-page/assets/7Xk_eQAcM_HgWrOC.js +1 -0
- package/screenshot-page/assets/B1W17rc9ilPFCh31.js +1 -0
- package/screenshot-page/assets/B8UkvH0o9n_G5UO9.js +3 -0
- package/screenshot-page/assets/{DQWHkaQeNXft9j8b.js → B8qybUclSjEYP5FJ.js} +2 -2
- package/screenshot-page/assets/{DXQLzGmxoyN3kfQi.js → BD96fN2dSVuoME09.js} +7 -7
- package/screenshot-page/assets/BE8ea8S0Q-qogeEs.js +2 -0
- package/screenshot-page/assets/{BUjI304IvdJnFXH3.js → BKwVcuWOKeH2xREA.js} +1 -1
- package/screenshot-page/assets/{BcOdl17EeFSxnAiq.js → BMf827t1Ul65MHd5.js} +1 -1
- package/screenshot-page/assets/BMwQInar0xVS5FRu.js +1 -0
- package/screenshot-page/assets/BNMBa8EZgWX2Eb3c.js +1 -0
- package/screenshot-page/assets/{Bf7xq8PyF4ohjMzP.js → BQCyH9YbEgnH78Ke.js} +2 -2
- package/screenshot-page/assets/{D6Jpaz2YkhOfzxDB.js → BYQZ8o8k3-MDoNat.js} +1 -1
- package/screenshot-page/assets/BcDxaEii3arJqOym.js +1 -0
- package/screenshot-page/assets/Be-rukvcufhLamH5.js +1 -0
- package/screenshot-page/assets/{CZf9s6otzzoaBlSs.js → BftXEPOuf5Uwxpud.js} +1 -1
- package/screenshot-page/assets/{TfhknTx8vxQkw4zV.js → Bh33WyohJvbKZVQN.js} +2 -2
- package/screenshot-page/assets/{CykecBozGGFl26KA.js → Btgo0VFTT0JxuaP3.js} +74 -68
- package/screenshot-page/assets/C2ty_K_uix4ooip6.js +1 -0
- package/screenshot-page/assets/{B-KIwD5F_5S-NsPg.js → C71ZZMVLfHdPl441.js} +1 -1
- package/screenshot-page/assets/C9mUKjQ3yEzRu9j2.js +2 -0
- package/screenshot-page/assets/{hp_-JA1DMK4Yoztn.js → CB2mQ5rbaSw2W4ik.js} +23 -23
- package/screenshot-page/assets/{CIged53b3hHKxa-o.js → CCVAsuUimIJOkBnk.js} +1 -1
- package/screenshot-page/assets/CFfgJlXaIS8QMx5O.js +1 -0
- package/screenshot-page/assets/{DGXDfjkGZjMRAXPg.js → CN8u05DjKwNHbUHN.js} +1 -1
- package/screenshot-page/assets/COoMVTzF50qBNFEu.js +39 -0
- package/screenshot-page/assets/CSMEGhAHxl5-4FxB.js +1 -0
- package/screenshot-page/assets/{BSdFVGZNhU6YHbMI.js → CT7cY57t9j1sBhAy.js} +1 -1
- package/screenshot-page/assets/{l32n8O_A78Qqduv3.js → CTjUtxDw6Z2I9OGc.js} +1 -1
- package/screenshot-page/assets/CUZobZ3mfNAdEisS.js +1 -0
- package/screenshot-page/assets/{DmbuCapSSCYIa3yk.js → C_OuKbe6z1it80cj.js} +1 -1
- package/screenshot-page/assets/{CpbohdgEaEsVDi9J.js → C_vPl50T1L5HWnhv.js} +1 -1
- package/screenshot-page/assets/Cbcv49b9jWyY4HKj.js +2 -0
- package/screenshot-page/assets/{CbUDukmvDZmVfhJH.js → CfkssmHURDicfYvR.js} +1 -1
- package/screenshot-page/assets/CtZFqwLoeJOvwFrl.js +42 -0
- package/screenshot-page/assets/Cz6KFmsp267l_VZS.js +1 -0
- package/screenshot-page/assets/{DDQWM8rNYCYzKa9R.js → D0koRjO2KnWQ1fNV.js} +1 -1
- package/screenshot-page/assets/D6CzedWHXTesD55R.js +1 -0
- package/screenshot-page/assets/DCP8JXEeiwAMiVD2.js +1 -0
- package/screenshot-page/assets/DEpn6VGd30cHEJOS.js +1 -0
- package/screenshot-page/assets/DQAZPADvH5lhlMnK.js +1 -0
- package/screenshot-page/assets/DQBUH0j44Vtrykua.js +13 -0
- package/screenshot-page/assets/{CqR3hGrC956TkCMj.js → DRncpwDkZZX8rL9S.js} +1 -1
- package/screenshot-page/assets/DSKOOgcJQeqIc9Us.js +3 -0
- package/screenshot-page/assets/DTrnAtpccj55fGg5.js +1 -0
- package/screenshot-page/assets/{Bj-vfAT28PK-tWWa.js → DXaM3CulPA3aPGV1.js} +2 -2
- package/screenshot-page/assets/{BFaiQZKle44Rhyou.js → D_rtIYQ7FDC2CoEn.js} +1 -1
- package/screenshot-page/assets/{BTboCICZ-951XWsi.js → DcUOAH274IbYOuK1.js} +1 -1
- package/screenshot-page/assets/{gG0AFZ45VxS_moMw.js → DdXSKhFUAsKUsQ1u.js} +1 -1
- package/screenshot-page/assets/{DyLWQxXXTw5uwPVy.js → DeyRZ5rprDbRbuf4.js} +1 -1
- package/screenshot-page/assets/{D47ePD4x1lVazNdl.js → DgtqX4DiBgkepVZZ.js} +1 -1
- package/screenshot-page/assets/Djl40tfWoPJSvqtv.js +1 -0
- package/screenshot-page/assets/{BUGXf2DEBog16Slb.js → DqXO_Zw1Cp7rAQ04.js} +2 -2
- package/screenshot-page/assets/{21oAESJyBGXeHegm.js → DtihumgXQ7ETaN0A.js} +2 -2
- package/screenshot-page/assets/DuYb_otrRZZDq6-f.js +2 -0
- package/screenshot-page/assets/{BHqg55S-4_OoAu3P.js → LYyM_ig973jLdOU0.js} +2 -2
- package/screenshot-page/assets/TCImIYUUdVD4Z35I.js +1 -0
- package/screenshot-page/assets/Tph2vYqw17-NBCtd.js +1 -0
- package/screenshot-page/assets/XgsioU5Px1T5gKAY.js +1 -0
- package/screenshot-page/assets/dQsis-90Up-pIkSq.js +4 -0
- package/screenshot-page/assets/dXn1GWWjYmuLb1HF.js +586 -0
- package/screenshot-page/assets/nM1r2xslndIMKlI2.js +2 -0
- package/screenshot-page/index.html +12 -12
- package/screenshot-page/resources/locales/@sheetxl/sdk/de/model.msg.json +82 -1
- package/screenshot-page/resources/locales/@sheetxl/sdk/en/model.msg.json +80 -1
- package/types/scripting-api.json +9967 -9497
- package/types/scripting-enums.json +27 -0
- package/types/scripting.d.ts +2282 -166
- package/assets/BBb_3gEGzmEzbTIk.js +0 -359
- package/assets/BSxTn2BhkEEeF9x_.js +0 -2346
- package/assets/CWVWdbY1B1-WLl9k.js +0 -199
- package/assets/CZTSZL3T_f-vSXqM.js +0 -7
- package/assets/DaoSWy3EFlqpZaLr.js +0 -4437
- package/assets/Dht2mcOSyYlPY32b.js +0 -14
- package/assets/DkibD_CEVePaoj_y.js +0 -7
- package/assets/jiEe5eKV3BFPBWfi.js +0 -6294
- package/screenshot-page/assets/0MTaPYjKud2Q9QG9.js +0 -1
- package/screenshot-page/assets/B2MJPcMcsuv6FekC.js +0 -1
- package/screenshot-page/assets/B4PbXdzBe9BsoZ0e.js +0 -2
- package/screenshot-page/assets/BQfe-XTIOGeUnD9B.js +0 -1
- package/screenshot-page/assets/BTMW3ukmc44U2fy7.js +0 -1
- package/screenshot-page/assets/B_W2QroTKADz3ABp.js +0 -2
- package/screenshot-page/assets/BksaQEoZr5OWq-_d.js +0 -3
- package/screenshot-page/assets/BnoVwUBEor8NgQNs.js +0 -4
- package/screenshot-page/assets/BzQ5GyiXq8gTz-H-.js +0 -1
- package/screenshot-page/assets/C2Wh2h27c7FUb8Yk.js +0 -1
- package/screenshot-page/assets/C81mK8aZKZAAS-AB.js +0 -1
- package/screenshot-page/assets/Ca6nxdhEuLLty3d7.js +0 -2
- package/screenshot-page/assets/CwqNb7JYzC03lCj0.js +0 -1
- package/screenshot-page/assets/CzhH7lTYQrYGHct6.js +0 -1
- package/screenshot-page/assets/D66vSE1ConAuENmB.js +0 -586
- package/screenshot-page/assets/DCVUZ_ayOXFwV2d_.js +0 -3
- package/screenshot-page/assets/DFE-fKq5NV7_O8V6.js +0 -1
- package/screenshot-page/assets/DK_QSosKV62NDcuT.js +0 -42
- package/screenshot-page/assets/DTFRGj188QuLKEXw.js +0 -1
- package/screenshot-page/assets/DXWWyJlMSWgDFxs1.js +0 -10
- package/screenshot-page/assets/DZDRRw-62D6Zw7qs.js +0 -1
- package/screenshot-page/assets/DeAKjatTVaZ0u_FY.js +0 -1
- package/screenshot-page/assets/Dsx0NUmGIxS7SvZ8.js +0 -1
- package/screenshot-page/assets/IRtoU5oVgBWu9rnK.js +0 -2
- package/screenshot-page/assets/Q5EKmzoJZCE81Om-.js +0 -2
- package/screenshot-page/assets/VvqAh6BWzaD5OUPF.js +0 -1
- package/screenshot-page/assets/fGlPAximvsxzPzGA.js +0 -1
- package/screenshot-page/assets/rPOkVKdPbFpTG6AY.js +0 -1
- package/screenshot-page/assets/sHBomL5R4-_px8rD.js +0 -1
- package/screenshot-page/assets/skRJ2qjA7kcmnOsh.js +0 -39
|
@@ -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.17
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
|
-
* License:
|
|
5
|
+
* License: SheetXL EULA — https://www.sheetxl.com/eula
|
|
6
6
|
*/
|
|
7
|
-
import { d as e } from "./
|
|
8
|
-
import {
|
|
7
|
+
import { d as e } from "./MW2nt7se27FlH9Yb.js";
|
|
8
|
+
import { Bn as t, Cn as n, E as i, Ei as r, It as s, L as o, Ma as a, Mr as c, N as h, Ot as l, Qn as u, Ri as d, Rr as p, W as f, Wi as m, _a as E, br as T, ca as g, co as O, ea as A, fi as R, li as I, nt as _, or as N, qn as L, st as S, t as C, ti as y, vi as k, wa as v } from "./D6ON3ZLcTAXV3fO6.js";
|
|
9
9
|
function x(e) {
|
|
10
10
|
console && console.error && console.error(`Error: ${e}`);
|
|
11
11
|
}
|
|
@@ -4203,30 +4203,30 @@ var jn = class extends $n {
|
|
|
4203
4203
|
this._locale = i, this._maxColumn = t, this._maxRow = n;
|
|
4204
4204
|
const { separatorFunction: r, separatorColumn: s, separatorRow: o, separatorDecimal: a } = i.separators;
|
|
4205
4205
|
if (s === o) throw new Error(`FormulaLexer: separatorColumn and separatorRow must differ (both '${s}')`);
|
|
4206
|
-
const
|
|
4206
|
+
const c = 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
|
+
}), h = pt({
|
|
4211
4211
|
name: "StringToken",
|
|
4212
4212
|
pattern: /"(""|[^"])*"/
|
|
4213
|
-
}),
|
|
4213
|
+
}), l = pt({
|
|
4214
4214
|
name: "FunctionToken",
|
|
4215
4215
|
pattern: /[a-zA-Z_\u007F-\uFFFF]+[a-zA-Z0-9_.\u007F-\uFFFF]*(?=\()/
|
|
4216
|
-
}),
|
|
4216
|
+
}), u = 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
|
+
}), d = pt({
|
|
4222
4222
|
name: "BracketedString",
|
|
4223
|
-
pattern: { exec:
|
|
4223
|
+
pattern: { exec: L },
|
|
4224
4224
|
line_breaks: !1,
|
|
4225
4225
|
start_chars_hint: [91],
|
|
4226
|
-
longer_alt: [
|
|
4227
|
-
}),
|
|
4226
|
+
longer_alt: [u, h]
|
|
4227
|
+
}), p = (e) => (e ?? []).map((e) => e?.trim()).filter(Boolean).map((e) => e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&")).map((e) => e + "|").join(""), f = (e) => e.replace(/[A-Za-z]/g, (e) => `[${e.toUpperCase()}${e.toLowerCase()}]`), m = pt({
|
|
4228
4228
|
name: "LiteralError",
|
|
4229
|
-
pattern: new RegExp(
|
|
4229
|
+
pattern: new RegExp(p(i.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(f).join("|"))
|
|
4247
|
+
}), E = pt({
|
|
4248
4248
|
name: "RefError",
|
|
4249
|
-
pattern: new RegExp(
|
|
4250
|
-
}),
|
|
4249
|
+
pattern: new RegExp(p(i.errorRefs) + ["#REF!", "#NAME\\?"].map(f).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({
|
|
@@ -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: [m, E]
|
|
4367
4367
|
}), te = pt({
|
|
4368
4368
|
name: "GtOp",
|
|
4369
4369
|
pattern: />/
|
|
@@ -4374,16 +4374,16 @@ var jn = class extends $n {
|
|
|
4374
4374
|
name: "LtOp",
|
|
4375
4375
|
pattern: /</
|
|
4376
4376
|
}), re = [
|
|
4377
|
+
c,
|
|
4377
4378
|
h,
|
|
4378
|
-
l,
|
|
4379
|
-
A,
|
|
4380
4379
|
O,
|
|
4380
|
+
g,
|
|
4381
4381
|
R,
|
|
4382
|
+
l,
|
|
4382
4383
|
u,
|
|
4383
4384
|
d,
|
|
4384
|
-
|
|
4385
|
+
m,
|
|
4385
4386
|
E,
|
|
4386
|
-
g,
|
|
4387
4387
|
b,
|
|
4388
4388
|
...s !== r ? [U] : [],
|
|
4389
4389
|
w,
|
|
@@ -4535,7 +4535,7 @@ function Qn(e) {
|
|
|
4535
4535
|
var Zn = class {
|
|
4536
4536
|
constructor(e = T) {
|
|
4537
4537
|
const t = function(e) {
|
|
4538
|
-
const t = [...
|
|
4538
|
+
const t = [...S];
|
|
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);
|
|
@@ -4583,14 +4583,14 @@ var Zn = class {
|
|
|
4583
4583
|
}
|
|
4584
4584
|
}, Jn = class extends jn {
|
|
4585
4585
|
constructor(e = T) {
|
|
4586
|
-
const t = new Zn(e),
|
|
4587
|
-
super(
|
|
4586
|
+
const t = new Zn(e), i = t.getVocabulary();
|
|
4587
|
+
super(i, {
|
|
4588
4588
|
nodeLocationTracking: "none",
|
|
4589
4589
|
maxLookahead: 2,
|
|
4590
4590
|
skipValidations: !0,
|
|
4591
4591
|
recoveryEnabled: !1
|
|
4592
4592
|
}), this._lexer = t;
|
|
4593
|
-
const { TableSpecifier: r, BracketedColumn: s, BareSpecifier: o, ColumnSep: a, ListSep: c } =
|
|
4593
|
+
const { TableSpecifier: r, BracketedColumn: s, BareSpecifier: o, ColumnSep: a, ListSep: c } = i, h = this;
|
|
4594
4594
|
h.RULE("ruleContent", () => {
|
|
4595
4595
|
const e = [], t = h.SUBRULE(h.ruleItem);
|
|
4596
4596
|
return h.ACTION(() => {
|
|
@@ -4606,14 +4606,14 @@ var Zn = class {
|
|
|
4606
4606
|
}), h.RULE("ruleItem", () => h.OR([{ ALT: () => h.SUBRULE(h.ruleSpecifier) }, { ALT: () => h.SUBRULE(h.ruleColumnOrRange) }])), h.RULE("ruleSpecifier", () => h.OR([{ ALT: () => {
|
|
4607
4607
|
const t = h.CONSUME(r);
|
|
4608
4608
|
return h.ACTION(() => {
|
|
4609
|
-
const
|
|
4610
|
-
return
|
|
4609
|
+
const i = n(t.image, e);
|
|
4610
|
+
return i.image = t.image, i;
|
|
4611
4611
|
});
|
|
4612
4612
|
} }, { ALT: () => {
|
|
4613
4613
|
const t = h.CONSUME(o);
|
|
4614
4614
|
return h.ACTION(() => {
|
|
4615
|
-
const
|
|
4616
|
-
return
|
|
4615
|
+
const i = n(t.image, e);
|
|
4616
|
+
return i.image = t.image, i;
|
|
4617
4617
|
});
|
|
4618
4618
|
} }])), h.RULE("ruleColumnOrRange", () => {
|
|
4619
4619
|
const e = h.CONSUME(s);
|
|
@@ -4621,9 +4621,9 @@ var Zn = class {
|
|
|
4621
4621
|
return h.OPTION(() => {
|
|
4622
4622
|
t = h.CONSUME(a), n = h.CONSUME2(s);
|
|
4623
4623
|
}), h.ACTION(() => {
|
|
4624
|
-
const i =
|
|
4624
|
+
const i = O(e.image);
|
|
4625
4625
|
if (i.image = e.image, !n) return i;
|
|
4626
|
-
const r =
|
|
4626
|
+
const r = O(n.image);
|
|
4627
4627
|
r.image = n.image;
|
|
4628
4628
|
const s = R(":", i, r, !0);
|
|
4629
4629
|
return s.image = t?.image ?? ":", s;
|
|
@@ -4636,37 +4636,37 @@ var Zn = class {
|
|
|
4636
4636
|
}
|
|
4637
4637
|
_parseContent(e) {
|
|
4638
4638
|
if (!e) return [];
|
|
4639
|
-
const
|
|
4640
|
-
if (!
|
|
4641
|
-
const
|
|
4642
|
-
if ("@" ===
|
|
4643
|
-
const e =
|
|
4639
|
+
const t = e.trim();
|
|
4640
|
+
if (!t) return [];
|
|
4641
|
+
const n = t[0];
|
|
4642
|
+
if ("@" === n) {
|
|
4643
|
+
const e = t.slice(1).trim();
|
|
4644
4644
|
if (!e) {
|
|
4645
|
-
const e =
|
|
4645
|
+
const e = C("@", null, !0);
|
|
4646
4646
|
return e.image = "@", [e];
|
|
4647
4647
|
}
|
|
4648
4648
|
if ("[" === e.charAt(0)) {
|
|
4649
|
-
const
|
|
4650
|
-
if (1 ===
|
|
4651
|
-
const e =
|
|
4649
|
+
const t = this._parseInner(e);
|
|
4650
|
+
if (1 === t.length && "infix" === t[0].type) {
|
|
4651
|
+
const e = C("@", t[0], !0);
|
|
4652
4652
|
return e.image = "@", [e];
|
|
4653
4653
|
}
|
|
4654
4654
|
}
|
|
4655
|
-
const
|
|
4656
|
-
|
|
4657
|
-
const
|
|
4658
|
-
return
|
|
4655
|
+
const n = O(e);
|
|
4656
|
+
n.image = e;
|
|
4657
|
+
const i = C("@", n, !0);
|
|
4658
|
+
return i.image = "@", [i];
|
|
4659
4659
|
}
|
|
4660
|
-
if ("[" !==
|
|
4661
|
-
const t =
|
|
4660
|
+
if ("[" !== n && "#" !== n) {
|
|
4661
|
+
const t = O(e);
|
|
4662
4662
|
return t.image = e, [t];
|
|
4663
4663
|
}
|
|
4664
|
-
return this._parseInner(
|
|
4664
|
+
return this._parseInner(t);
|
|
4665
4665
|
}
|
|
4666
4666
|
parse(e, t, n) {
|
|
4667
4667
|
this.reset();
|
|
4668
4668
|
const i = () => ({
|
|
4669
|
-
root:
|
|
4669
|
+
root: f("", []),
|
|
4670
4670
|
errors: []
|
|
4671
4671
|
});
|
|
4672
4672
|
if (!n) return i();
|
|
@@ -4679,7 +4679,7 @@ var Zn = class {
|
|
|
4679
4679
|
if (-1 === s) return i();
|
|
4680
4680
|
const o = n.slice(0, s), a = n.slice(s + 1, -1), c = this._parseContent(a);
|
|
4681
4681
|
return {
|
|
4682
|
-
root:
|
|
4682
|
+
root: f(o, c),
|
|
4683
4683
|
errors: this.errors.length > 0 ? [...this.errors] : []
|
|
4684
4684
|
};
|
|
4685
4685
|
}
|
|
@@ -4725,8 +4725,8 @@ var ai = {
|
|
|
4725
4725
|
}
|
|
4726
4726
|
}, ci = class extends jn {
|
|
4727
4727
|
constructor(e) {
|
|
4728
|
-
const
|
|
4729
|
-
super(
|
|
4728
|
+
const n = e?.lexer ?? Gn.shared(e?.lexerOptions), a = n.getVocabulary();
|
|
4729
|
+
super(a, {
|
|
4730
4730
|
skipValidations: !0,
|
|
4731
4731
|
recoveryEnabled: !0,
|
|
4732
4732
|
...e,
|
|
@@ -4734,7 +4734,7 @@ var ai = {
|
|
|
4734
4734
|
errorMessageProvider: ai,
|
|
4735
4735
|
maxLookahead: 1
|
|
4736
4736
|
}), this._ruleInfixOp = this.RULE("ruleInfixOp", () => {
|
|
4737
|
-
const { PlusOp: e, MinOp: t, MulOp: n, DivOp: i, ExOp: r, ConcatOp: s, GtOp: o, EqOp: a, LtOp: c, NeqOp:
|
|
4737
|
+
const { PlusOp: e, MinOp: t, MulOp: n, DivOp: i, ExOp: r, ConcatOp: s, GtOp: o, EqOp: a, LtOp: c, NeqOp: l, GteOp: u, LteOp: d } = this._vocab, p = [];
|
|
4738
4738
|
return p.push({ node: this.SUBRULE(this._rulePostfixOp) }), this.MANY(() => {
|
|
4739
4739
|
const f = this.OR(this._c1 || (this._c1 = [
|
|
4740
4740
|
{ ALT: () => this.CONSUME(e).image },
|
|
@@ -4746,13 +4746,13 @@ var ai = {
|
|
|
4746
4746
|
{ ALT: () => this.CONSUME(o).image },
|
|
4747
4747
|
{ ALT: () => this.CONSUME(a).image },
|
|
4748
4748
|
{ ALT: () => this.CONSUME(c).image },
|
|
4749
|
-
{ ALT: () => this.CONSUME(h).image },
|
|
4750
4749
|
{ ALT: () => this.CONSUME(l).image },
|
|
4750
|
+
{ ALT: () => this.CONSUME(u).image },
|
|
4751
4751
|
{ ALT: () => this.CONSUME(d).image }
|
|
4752
4752
|
])), m = {
|
|
4753
4753
|
value: f,
|
|
4754
4754
|
index: this.getLexerPosition(),
|
|
4755
|
-
isRange:
|
|
4755
|
+
isRange: h.includes(f)
|
|
4756
4756
|
}, E = this.SUBRULE2(this._rulePostfixOp);
|
|
4757
4757
|
p.push({
|
|
4758
4758
|
op: m,
|
|
@@ -4760,9 +4760,9 @@ var ai = {
|
|
|
4760
4760
|
});
|
|
4761
4761
|
}), this.ACTION(() => {
|
|
4762
4762
|
let e = p.length - 1;
|
|
4763
|
-
const t =
|
|
4763
|
+
const t = _.length;
|
|
4764
4764
|
for (let n = 0; e > 0 && n < t; n++) {
|
|
4765
|
-
const t =
|
|
4765
|
+
const t = _[n];
|
|
4766
4766
|
let i = 1;
|
|
4767
4767
|
for (; i < p.length;) {
|
|
4768
4768
|
const n = p[i].op;
|
|
@@ -4779,78 +4779,78 @@ var ai = {
|
|
|
4779
4779
|
return this.OR([{ ALT: () => this.CONSUME(e) }, { ALT: () => this.CONSUME(t) }]);
|
|
4780
4780
|
}), this._rulePostfixOp = this.RULE("rulePostfixOp", () => {
|
|
4781
4781
|
const { PercentOp: e } = this._vocab;
|
|
4782
|
-
let
|
|
4783
|
-
const
|
|
4782
|
+
let n = this.SUBRULE(this._rulePrefixOp);
|
|
4783
|
+
const i = [];
|
|
4784
4784
|
return this.MANY(() => {
|
|
4785
4785
|
const t = this.CONSUME(e).image;
|
|
4786
4786
|
this.ACTION(() => {
|
|
4787
|
-
|
|
4787
|
+
i.push([t, this.getLexerPosition()]);
|
|
4788
4788
|
});
|
|
4789
4789
|
}), this.ACTION(() => {
|
|
4790
|
-
const e =
|
|
4791
|
-
if (0 !== e) for (let
|
|
4792
|
-
const e =
|
|
4793
|
-
|
|
4790
|
+
const e = i.length;
|
|
4791
|
+
if (0 !== e) for (let r = 0; r < e; r++) {
|
|
4792
|
+
const e = i[r], s = e[0], o = e[1], a = h.includes(s);
|
|
4793
|
+
n = t(s, n, a), n = this._tag(n, o);
|
|
4794
4794
|
}
|
|
4795
|
-
}),
|
|
4795
|
+
}), n;
|
|
4796
4796
|
}), this._rulePrefixOp = this.RULE("rulePrefixOp", () => {
|
|
4797
|
-
const { PlusOp: e, MinOp:
|
|
4797
|
+
const { PlusOp: e, MinOp: t, ImplicitIntersectOp: n } = this._vocab, i = [];
|
|
4798
4798
|
this.MANY(() => {
|
|
4799
|
-
const
|
|
4799
|
+
const r = this.OR([
|
|
4800
4800
|
{ ALT: () => this.CONSUME(e).image },
|
|
4801
|
-
{ ALT: () => this.CONSUME(
|
|
4802
|
-
{ ALT: () => this.CONSUME(
|
|
4801
|
+
{ ALT: () => this.CONSUME(t).image },
|
|
4802
|
+
{ ALT: () => this.CONSUME(n).image }
|
|
4803
4803
|
]);
|
|
4804
4804
|
this.ACTION(() => {
|
|
4805
|
-
|
|
4805
|
+
i.push([r, this.getLexerPosition()]);
|
|
4806
4806
|
});
|
|
4807
4807
|
});
|
|
4808
|
-
let
|
|
4808
|
+
let r = this.SUBRULE(this._ruleRangeOp);
|
|
4809
4809
|
return this.ACTION(() => {
|
|
4810
|
-
const e =
|
|
4811
|
-
if (0 !== e) for (let
|
|
4812
|
-
const e =
|
|
4813
|
-
|
|
4810
|
+
const e = i.length;
|
|
4811
|
+
if (0 !== e) for (let t = e - 1; t >= 0; t--) {
|
|
4812
|
+
const e = i[t], n = e[0], s = e[1], o = h.includes(n);
|
|
4813
|
+
r = C(n, r, o), r = this._tag(r, s);
|
|
4814
4814
|
}
|
|
4815
|
-
}),
|
|
4815
|
+
}), r;
|
|
4816
4816
|
}), this._ruleRangeOp = this.RULE("ruleRangeOp", () => {
|
|
4817
|
-
const { RangeOp: e, RangeTrimFullOp:
|
|
4818
|
-
return
|
|
4819
|
-
this.CONSUME(
|
|
4817
|
+
const { RangeOp: e, RangeTrimFullOp: n, RangeTrimLeadingOp: i, RangeTrimTrailingOp: r, ArrayAnchorOp: s } = this._vocab, o = [];
|
|
4818
|
+
return o.push({ node: this.SUBRULE(this._ruleCallOp) }), this.MANY2(() => {
|
|
4819
|
+
this.CONSUME(s), o.push({ anchor: this.getLexerPosition() });
|
|
4820
4820
|
}), this.MANY(() => {
|
|
4821
|
-
const
|
|
4821
|
+
const t = {
|
|
4822
4822
|
value: this.OR(this._c2 || (this._c2 = [
|
|
4823
4823
|
{ ALT: () => this.CONSUME(e).image },
|
|
4824
|
-
{ ALT: () => this.CONSUME(t).image },
|
|
4825
4824
|
{ ALT: () => this.CONSUME(n).image },
|
|
4826
|
-
{ ALT: () => this.CONSUME(i).image }
|
|
4825
|
+
{ ALT: () => this.CONSUME(i).image },
|
|
4826
|
+
{ ALT: () => this.CONSUME(r).image }
|
|
4827
4827
|
])),
|
|
4828
4828
|
index: this.getLexerPosition()
|
|
4829
4829
|
}, a = this.SUBRULE2(this._ruleCallOp);
|
|
4830
|
-
|
|
4831
|
-
op:
|
|
4830
|
+
o.push({
|
|
4831
|
+
op: t,
|
|
4832
4832
|
node: a
|
|
4833
4833
|
}), this.MANY3(() => {
|
|
4834
|
-
this.CONSUME2(
|
|
4834
|
+
this.CONSUME2(s), o.push({ anchor: this.getLexerPosition() });
|
|
4835
4835
|
});
|
|
4836
4836
|
}), this.ACTION(() => {
|
|
4837
|
-
for (let e = 1; e + 1 <
|
|
4838
|
-
const t =
|
|
4837
|
+
for (let e = 1; e + 1 < o.length; e++) {
|
|
4838
|
+
const t = o[e], n = o[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(
|
|
4841
|
+
i && ni(n.node) === i && ni(o[e - 1].node) !== i && (t.node = this._tag(R(":", t.node, n.node, !0), n.op.index), o.splice(e + 1, 1));
|
|
4842
4842
|
}
|
|
4843
|
-
for (let e = 1; e <
|
|
4844
|
-
const
|
|
4845
|
-
if (void 0 !==
|
|
4846
|
-
|
|
4843
|
+
for (let e = 1; e < o.length; e++) {
|
|
4844
|
+
const n = o[e];
|
|
4845
|
+
if (void 0 !== n.anchor) {
|
|
4846
|
+
o[0].node = this._tag(t("#", o[0].node, !0), n.anchor);
|
|
4847
4847
|
continue;
|
|
4848
4848
|
}
|
|
4849
|
-
const
|
|
4850
|
-
let
|
|
4851
|
-
|
|
4849
|
+
const i = n.op;
|
|
4850
|
+
let r = R(i.value, o[0].node, n.node, !0);
|
|
4851
|
+
r = this._tag(r, i.index), o[0].node = r;
|
|
4852
4852
|
}
|
|
4853
|
-
}),
|
|
4853
|
+
}), o[0].node;
|
|
4854
4854
|
}), this._ruleCallOp = this.RULE("ruleCallOp", () => {
|
|
4855
4855
|
const { OpenParen: e, CloseParen: t } = this._vocab;
|
|
4856
4856
|
let n = this.SUBRULE(this._ruleFormula);
|
|
@@ -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(l(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
|
});
|
|
@@ -4916,13 +4916,13 @@ var ai = {
|
|
|
4916
4916
|
return this._processParen(N.Paren, e, t);
|
|
4917
4917
|
}), this._ruleLiteralArray = this.RULE("ruleLiteralArray", () => {
|
|
4918
4918
|
const { OpenCurlyParen: e, CloseCurlyParen: t, ColSeparator: n, RowSeparator: i } = this._vocab;
|
|
4919
|
-
let r =
|
|
4919
|
+
let r = g();
|
|
4920
4920
|
this.CONSUME(e);
|
|
4921
|
-
const
|
|
4922
|
-
let
|
|
4923
|
-
const
|
|
4921
|
+
const s = this.getLexerPosition();
|
|
4922
|
+
let o = this.ACTION(() => this._tag(m(r), s));
|
|
4923
|
+
const a = this.SUBRULE(this._ruleLiteralForArray);
|
|
4924
4924
|
this.ACTION(() => {
|
|
4925
|
-
r.value.push(
|
|
4925
|
+
r.value.push(a);
|
|
4926
4926
|
}), this.MANY(() => {
|
|
4927
4927
|
let e = !1;
|
|
4928
4928
|
this.OR([{ ALT: () => {
|
|
@@ -4930,66 +4930,66 @@ var ai = {
|
|
|
4930
4930
|
} }, { ALT: () => this.CONSUME(i) }]);
|
|
4931
4931
|
const t = this.SUBRULE2(this._ruleLiteralForArray);
|
|
4932
4932
|
this.ACTION(() => {
|
|
4933
|
-
e || (r =
|
|
4933
|
+
e || (r = g(), 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: n, RefError: i } = 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(p(t.image, this._locale), this.getLexerPosition()));
|
|
4943
|
+
return this.ACTION(() => e ? u(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(d(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(E(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(n);
|
|
4955
|
+
return this.ACTION(() => this._tag(I(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(i);
|
|
4959
|
+
return this.ACTION(() => this._tag(r(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: n, RefError: i } = 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(p(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(d(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(E(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(n);
|
|
4979
|
+
return this.ACTION(() => this._tag(I(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(i);
|
|
4983
|
+
return this.ACTION(() => this._tag(r(e.image, this._locale), this.getLexerPosition()));
|
|
4984
4984
|
} }
|
|
4985
4985
|
]);
|
|
4986
4986
|
}), this._ruleFunction = this.RULE("ruleFunction", () => {
|
|
4987
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 o = this.SUBRULE(this._ruleFunctionArguments);
|
|
4990
|
+
let a = this.ACTION(() => this._tag(s(i, o), r));
|
|
4991
|
+
const c = this.OPTION(() => this.CONSUME(n));
|
|
4992
|
+
return a = this.ACTION(() => (c || this._reportError(a, "Missing closing parenthesis ')'", r), this._tagClose(a, this.getLexerPosition()))), a;
|
|
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(c(), 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(c(), this.getLexerPosition())), n.push(t);
|
|
5006
5006
|
});
|
|
5007
5007
|
}
|
|
5008
5008
|
}), n;
|
|
@@ -5021,14 +5021,14 @@ var ai = {
|
|
|
5021
5021
|
return this._tag(e.root, n);
|
|
5022
5022
|
});
|
|
5023
5023
|
}), this._ruleReference = this.RULE("ruleReference", () => {
|
|
5024
|
-
const { Sheet: e, SheetQuoted: t, DivOp: n, MulOp:
|
|
5024
|
+
const { Sheet: e, SheetQuoted: t, DivOp: n, MulOp: s, PlusOp: a, MinOp: c, ArgSeparator: h, Cell: l, NamedToken: u, SingleQuotedString: d, Column: p, AbsRow: f, DigitToken: m, RefError: E } = this._vocab;
|
|
5025
5025
|
let T, g;
|
|
5026
5026
|
this.OPTION2({
|
|
5027
5027
|
GATE: () => {
|
|
5028
|
-
for (let
|
|
5029
|
-
const
|
|
5030
|
-
if (
|
|
5031
|
-
if ("" ===
|
|
5028
|
+
for (let i = 1; i < 6; i++) {
|
|
5029
|
+
const r = this.LA(i);
|
|
5030
|
+
if (r.tokenType === e || r.tokenType === t) return !0;
|
|
5031
|
+
if ("" === r.image || ")" === r.image || r.tokenType === n || r.tokenType === s || r.tokenType === a || r.tokenType === c || r.tokenType === h) break;
|
|
5032
5032
|
}
|
|
5033
5033
|
return !1;
|
|
5034
5034
|
},
|
|
@@ -5038,30 +5038,30 @@ var ai = {
|
|
|
5038
5038
|
});
|
|
5039
5039
|
let O = this.OR([
|
|
5040
5040
|
{ ALT: () => {
|
|
5041
|
-
const e = this.CONSUME(
|
|
5042
|
-
return this.ACTION(() => this._tag(
|
|
5041
|
+
const e = this.CONSUME(l), t = this.getLexerPosition();
|
|
5042
|
+
return this.ACTION(() => this._tag(i(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(u) }, { ALT: () => this.CONSUME(d) }]);
|
|
5046
|
+
return this.ACTION(() => this._tag(v(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(k(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(o(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(o(e.image, this.rowIndex), this.getLexerPosition()));
|
|
5061
5061
|
} },
|
|
5062
5062
|
{ ALT: () => {
|
|
5063
5063
|
const e = this.CONSUME(E);
|
|
5064
|
-
return this.ACTION(() => this._tag(
|
|
5064
|
+
return this.ACTION(() => this._tag(r(e.image, this._locale), this.getLexerPosition()));
|
|
5065
5065
|
} }
|
|
5066
5066
|
]);
|
|
5067
5067
|
return this.ACTION(() => {
|
|
@@ -5119,43 +5119,43 @@ var ai = {
|
|
|
5119
5119
|
inputs: [t, ...n],
|
|
5120
5120
|
isReference: !0
|
|
5121
5121
|
});
|
|
5122
|
-
}), this._lexer =
|
|
5122
|
+
}), this._lexer = n, this._locale = n.getLocale(), this._vocab = a, 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 r = this._lexer.tokenize(i);
|
|
5129
|
+
let s;
|
|
5130
|
+
if (!r) return {
|
|
5131
5131
|
root: {
|
|
5132
5132
|
type: N.Unparsed,
|
|
5133
5133
|
value: i
|
|
5134
5134
|
},
|
|
5135
5135
|
errors: []
|
|
5136
5136
|
};
|
|
5137
|
-
const
|
|
5138
|
-
if (0 ===
|
|
5139
|
-
return this.input =
|
|
5140
|
-
const i = e.type,
|
|
5141
|
-
if (
|
|
5142
|
-
const n =
|
|
5143
|
-
return
|
|
5137
|
+
const c = r.tokens;
|
|
5138
|
+
if (0 === c.length) throw new e.Parse(ri);
|
|
5139
|
+
return this.input = c, this._inputText = i, this._inputTextLength = i.length, this.rowIndex = t, this.colIndex = n, this._astErrors = [], this._tokenMap = /* @__PURE__ */ new Map(), this.reset(), s = this._ruleRoot(), s && this._bindAllWhitespace(s), s = a(s, (e, n) => {
|
|
5140
|
+
const i = e.type, r = n?.isReference ? n.value : void 0, s = "string" == typeof r && ei.has(r), a = "string" == typeof r && ti.has(r), c = s ? n.inputs : void 0, h = c ? c[0] === e ? c[1] : c[0] : void 0, l = this._lexer.getMaxRow();
|
|
5141
|
+
if (s && i !== N.Cell && Number.isInteger(e.value)) {
|
|
5142
|
+
const n = o(e.image, t);
|
|
5143
|
+
return y(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 === N.Named) return this._reportError(e, `'${e.image ?? e.value?.nameId}' is a name — '${
|
|
5145
|
+
if (a && i === N.Named) return this._reportError(e, `'${e.image ?? e.value?.nameId}' is a name — '${r}' needs a cell or range on both sides`), e;
|
|
5146
5146
|
if (i === N.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 s = v(e.image);
|
|
5151
|
+
y(s, e);
|
|
5152
|
+
const o = t.scope;
|
|
5153
|
+
return o && (s.value.scope = o, s.value.scopeImage = t.scopeImage), n ? this._reportError(s, `'${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(s, `'${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(s, `'${e.image}' is a name — '${r}' needs a cell or range on both sides`), s;
|
|
5154
5154
|
}
|
|
5155
5155
|
}
|
|
5156
5156
|
return e;
|
|
5157
5157
|
}), {
|
|
5158
|
-
root:
|
|
5158
|
+
root: s,
|
|
5159
5159
|
errors: [...this.errors, ...this._astErrors]
|
|
5160
5160
|
};
|
|
5161
5161
|
}
|