@sheetxl/mcp 0.8.0-beta.14 → 0.8.0-beta.15
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/{DIy1659Yv5-fD69E.js → 9U9XCqqdn-q3i2fj.js} +1 -1
- package/assets/{2zIY9Xuml4y8NI05.js → B-MqXm_7luDLwazY.js} +1 -1
- package/assets/{DUYoUViqY5U6uQX3.js → B2Ek-DWpZMGJ0V1Z.js} +2 -2
- package/assets/{CH9M37mRwnS0t9wM.js → B2udpZ-uIaql3AUh.js} +5 -5
- package/assets/{CHHJZPAuM3OjbzF6.js → B4VnJacrzr1x4PHR.js} +4 -4
- package/assets/{B5xHa5bjZu5ONrm5.js → B5lHOOQ_rkP4Mi2r.js} +1 -1
- package/assets/{DWTpPijG5yeNFR0W.js → B7gUyrfLln3TiyKM.js} +1 -1
- package/assets/{a7BoASyT8yQZY9hJ.js → B9US2ZrF93KOjmAx.js} +1 -1
- package/assets/{CdF5MxGnISAZ41oQ.js → BBb_3gEGzmEzbTIk.js} +24 -24
- package/assets/{33QTHR3r6ZujxFx8.js → BCy1zP97fsiIcvj6.js} +1 -1
- package/assets/{CwJyw5Yxpj4PGh14.js → BFXeoFUbuc4IKTz9.js} +1 -1
- package/assets/{D94hlZEaHtGHdN_K.js → BFdeov2e_xUQPEY_.js} +6 -6
- package/assets/{D3BAmD-1AfFtHdC6.js → BG5kgbDRXMc0re6W.js} +8 -8
- package/assets/{UX2ywz3gr7q-MlHr.js → BJxfinOazQqqByc-.js} +1 -1
- package/assets/{hRLLK6I6m0uGKWo8.js → BOPsJmq7v7HOKUkO.js} +5 -5
- package/assets/{DPazQ_nZv-sXUwO3.js → BPwmBu_aouERJjiW.js} +1 -1
- package/assets/{DkFK1iu4vqjLZMja.js → BQMDOjNBMjAx9WiW.js} +1 -1
- package/assets/{CBNNl8igIyeHY4St.js → BQbF1RkUH8WyXqSD.js} +1 -1
- package/assets/{DpGuA6U12gwyGHEM.js → BRzp6DEIYUgM3NkN.js} +3 -3
- package/assets/{W-MzzQHZuRxr8adc.js → BSxTn2BhkEEeF9x_.js} +2 -2
- package/assets/{CfiVUfpeONJ3rf31.js → BTQhJQ3e0hsiousD.js} +1 -1
- package/assets/{Doqy_uDSQTCv6a6X.js → BZPTaa0WjpoUAbgZ.js} +1 -1
- package/assets/{CPDkdp0yI4DwUHGZ.js → BbAmA46MhQSu3ZF_.js} +1 -1
- package/assets/{yNiBIhsMP9BCWd67.js → BbcUxIZe3YXywsQR.js} +1 -1
- package/assets/{QXKcNTuZqOauSidr.js → BeLr36oL3jmeXFFi.js} +1 -1
- package/assets/{9MRZ5Yc2RBgcqZSp.js → Bg95xYj5siqhHVEz.js} +2 -2
- package/assets/{DTlvhtB9hvPdbdxu.js → Bh0PNKlrR4VAqnP8.js} +5161 -5154
- package/assets/{ZBYHyJs7CQgnnHfR.js → BjqQjxBuoXza8oqg.js} +1 -1
- package/assets/{DSSrCrejjpWoszj7.js → BlPubAFi7DY7VrAo.js} +1 -1
- package/assets/{eHAVGCUcMAfNjEGt.js → BleMG0hAQgjE8fTa.js} +2 -2
- package/assets/{DoIU_ohoCBwTZV9G.js → Bn8D2bebQ2tFfwQt.js} +19 -19
- package/assets/{DUUt1z6Y_cpxEpYY.js → BrcQmHcE7Hcr1erJ.js} +1 -1
- package/assets/{B9qiPx_BXxo1jgcx.js → BsQZI1vXTRE63Zy-.js} +21 -21
- package/assets/{EeSGsbh_r4N-qs4w.js → BtjqpAKczftx91BQ.js} +1 -1
- package/assets/{BYtBi8vLoB41QkV8.js → Btys7KwtvV3hz2F6.js} +4 -4
- package/assets/{w8YWSMNTTn45ImnB.js → BuUEsifnQALe49uk.js} +1 -1
- package/assets/{CULV-2mwmqYYpAjM.js → By-7OWXShMlFFejV.js} +1 -1
- package/assets/{PmooYGqWqoTxPExF.js → C0CiMKC3lWK1z9p5.js} +2 -2
- package/assets/{aqguaobnu61szXWM.js → C2OrZ8LZ-TI6eYG0.js} +1 -1
- package/assets/{Dl87mJoXDkCkzBi7.js → C4z2IilWTuu2TWXw.js} +2 -2
- package/assets/{DBFXsbIHDxbMBrzV.js → C7ONfuYIWRmDu_vs.js} +1 -1
- package/assets/{ByziR0Anm39Bw0Bc.js → C7Z1li2XjWi6bkrp.js} +3 -3
- package/assets/{C1w8NQeox7_92swz.js → C97xDe_wBbLZh_uW.js} +1 -1
- package/assets/{BOcWUnxWSG1d5Ljc.js → CGBGyaCGdlZFQYK0.js} +1 -1
- package/assets/{DCHsM8bfVisYJFTT.js → CJ5WQnaoCsdr5gf4.js} +1 -1
- package/assets/{GnXTzeDYWWeEf5yV.js → CMK6tIDVqYYvK4GZ.js} +1 -1
- package/assets/{DK0VM9-qrEXBm8Ud.js → CMWAsUQ66V8fYrME.js} +2 -2
- package/assets/{CDGeuGB9CBXeCIm6.js → CNz3LdmvsOEJoLO9.js} +1 -1
- package/assets/{DZZ5R3msiytVNCqK.js → CWVWdbY1B1-WLl9k.js} +55 -55
- package/assets/{CeDqeFLuUfN8UIGx.js → CWl6oHiJxkNKRixk.js} +1 -1
- package/assets/{ddJqSu7gXUkXjGxZ.js → CXHslDxkWCuEcCSQ.js} +1 -1
- package/assets/{B6BP5l2qmeZhqVV7.js → CZTSZL3T_f-vSXqM.js} +2 -2
- package/assets/{DuZ6DXQGttY3Lrhd.js → CduNzsdbTigxH-ZK.js} +124 -124
- package/assets/{BFwNQZVRnbNt-gRJ.js → CecTe22WURiXbVdY.js} +1 -1
- package/assets/{CVFTQ0OwsUt03r4o.js → Cf2dcwmmmf13Rywg.js} +1 -1
- package/assets/{OU7gC5JF-lyDOOid.js → Cf9LpgZz-W5blzy_.js} +2 -2
- package/assets/{ThqyayHHaBxzfaAt.js → Cfhv_Yw_LT8VzAMt.js} +1 -1
- package/assets/{CjwzOAnab_dpAqiG.js → Cg51xaLRUkVOMdCZ.js} +1 -1
- package/assets/{B9w1dNK8pNq-Z1P3.js → ChWpsFGl-BYOnX_A.js} +1 -1
- package/assets/{CcLPa6zB5PH3OG2O.js → ClNQN3vEg5b5qUDp.js} +8 -8
- package/assets/{BiAEoWSl8c6jcUnS.js → Crt2kLdGIlBHANgg.js} +1 -1
- package/assets/{CMTDUipnLiOj5pbe.js → CudNpUD78SrtJIiy.js} +2 -2
- package/assets/{BmxgDCZk_aMDms4i.js → CvngwB17_ve4W49b.js} +27 -27
- package/assets/{Dfd7kvLIFNqu-m-r.js → CwPBmcY6xSP8dNlh.js} +11 -11
- package/assets/{PRSerWiAGYu8MVnd.js → CxjchwpiqxPM1XKd.js} +54 -54
- package/assets/{CtpcYuBFU6fxsUhs.js → D-ffk16w8c5w0mxI.js} +1 -1
- package/assets/{D81iH5MJJfq2t9FP.js → D0CHDsemn0S31ltt.js} +1 -1
- package/assets/{DUzaW_op2vBTwOOI.js → D7oUtYjetuykGhQ5.js} +1 -1
- package/assets/{DkPXpv81Y5teMd-R.js → D8J14MLlN2HRXdXB.js} +1 -1
- package/assets/{BW8XjynUqlfvuQUV.js → DA_ar3QKLKtJ9fJD.js} +1 -1
- package/assets/{CXM1IYmE-TDInPwr.js → DB-tkqI6wFXDKEfB.js} +1 -1
- package/assets/{C55MTJ_5qW94RElE.js → DD8HNAUFroTCuD-b.js} +96 -96
- package/assets/{CpOhY88x6AgVxvTz.js → DDnwKPJSznyfYDZS.js} +2 -2
- package/assets/{cv7k-VAIJtYeL9k4.js → DEW2GxfGYqVFvrfg.js} +1 -1
- package/assets/{CgjR_TiVOcuxg5tO.js → DH7sGHzxUqIQkDnd.js} +1 -1
- package/assets/{BMnNvUCJu35tT_aO.js → DJiLWtmPR2OQNjzi.js} +1 -1
- package/assets/{BOF64A2D2KKcv_fo.js → DKLm4nWzynGw1Kr9.js} +1 -1
- package/assets/{B_-VPqfsse8AlCTm.js → DPCKMM7sgWbrtB8z.js} +1 -1
- package/assets/{B-jE7tAMA559MtNt.js → DTfl-4Iboi6TQU5m.js} +3 -3
- package/assets/{Df2IAW-O7Gwl7V1l.js → DVchxwp6w6lu2Ihu.js} +2 -2
- package/assets/{COFze3jkZDQRSij9.js → DaoSWy3EFlqpZaLr.js} +196 -196
- package/assets/{ZTEO4JX22YIOkrJg.js → DcWTBOi_iBFc6U4J.js} +3 -3
- package/assets/Dht2mcOSyYlPY32b.js +14 -0
- package/assets/{9dbZwzIWefGss7is.js → Diee6f_qAmcZBd2_.js} +1 -1
- package/assets/{CwdOInoJwCxXnhog.js → DkibD_CEVePaoj_y.js} +2 -2
- package/assets/{DvD_K4M5HgJ4uJ8L.js → DlBdhv6NHgrNp5Yo.js} +2 -2
- package/assets/{BWsXOU_jh_cA8m8I.js → DoILAmhKUOlKWRVw.js} +1 -1
- package/assets/{cdIvC9t9tYtVn4nc.js → DpdHDTFOeuzDVNEe.js} +46 -46
- package/assets/{C-5LlJ5qhC7Ef0gV.js → DsCI_ZYm_jDjXF3J.js} +14 -14
- package/assets/{Du_JrYiYGJo5_B9H.js → DvUUArnZwoYOKOuk.js} +1 -1
- package/assets/{BXC6616BWEWNZ2-D.js → DwLZpYUp85UHBE3H.js} +1 -1
- package/assets/{BNfBq8Eic3Cl-f6A.js → DwWngYJTgC0KLbih.js} +1 -1
- package/assets/{C1rIlmARlinuie5E.js → Dz8UUJ7Xc2oN5PBG.js} +1 -1
- package/assets/{Dg7xy50qHwqkYd4g.js → FS9NbEKgQvz5wqvZ.js} +1 -1
- package/assets/{D2w3KjYuONW1G1kX.js → F_f0jJqM5MrXGbwC.js} +3 -3
- package/assets/{TzsPqmpG77I4ewVt.js → FzNG48GE_wso6RII.js} +1 -1
- package/assets/{BwisWvPpXRhyIP4O.js → JO3zH9hupFSV6vj2.js} +1 -1
- package/assets/{C-CNmTrzNS-ZlQ8j.js → LEJp05fjmflKgyqF.js} +148 -148
- package/assets/{Cm3Q_-DDdnVHRBxr.js → LyLlBk--VJD2V-f8.js} +4 -4
- package/assets/{DnmjS548g7nY6EUS.js → OVRdpPUzR0-ueTxE.js} +1 -1
- package/assets/{mcFLzsOH35mvmd3C.js → PpFbmF0DFeUdpb9I.js} +1 -1
- package/assets/{B66aeGYrHLbGpuN9.js → S16s2h9qoYVBlVEa.js} +320 -320
- package/assets/{BkBCkgPNrFR5N9fo.js → SHZe9VOU1prGs1F9.js} +1 -1
- package/assets/{DihigEGfNCLR8UPN.js → U1XXGEPuuqIAzYl1.js} +1 -1
- package/assets/{zu-72oKE_gCkrozc.js → ZuYfVKlp41IJnrOS.js} +1 -1
- package/assets/{8vRAQlvTcvMLeio0.js → _d5XJ7dn1CKKYrep.js} +2 -2
- package/assets/{BoTScfjgygCozDVi.js → _fUXIv6nKvgZkhxn.js} +2 -2
- package/assets/{C2Rgsb69SnMOohGt.js → fDMpDhXp36CatF-G.js} +1 -1
- package/assets/{B9QlqO6n3MCBsvoj.js → hulrR0PldUxMJm_F.js} +3 -3
- package/assets/{B-1_xSqUFCJ6jNjn.js → iujMYIEPx_v3sdPf.js} +15 -15
- package/assets/{CutEBbZl8oFbTlXZ.js → jPUOH4FHF4b-rapv.js} +1 -1
- package/assets/{BDZ1FGc1zFqO1nK7.js → jadLBUNBVR9mbZ35.js} +149 -149
- package/assets/{D2_T0KSaye0ncjQa.js → jiEe5eKV3BFPBWfi.js} +67 -67
- package/assets/{KpCEdfpsHnfkyqjx.js → oxjm7Yr7u7MeaO5P.js} +1 -1
- package/assets/{B6b9ytNrHR-ijcOa.js → vZZi_iKYHm05gAye.js} +1 -1
- package/assets/{st-UQngeBG4hwKoy.js → wfVh0olISLRWdv9Q.js} +1 -1
- package/assets/{HKLw8b2xTdu5c1w5.js → xmTQJJVyCrcq77WR.js} +1 -1
- package/assets/{DZRp3_yqPS6Lshho.js → xnhBSX6lAcmBM65y.js} +1 -1
- package/index.js +29 -29
- package/lib.js +1 -1
- package/licenses/dependencies.txt +57 -57
- package/package.json +8 -8
- package/screenshot-page/assets/B2MJPcMcsuv6FekC.js +1 -0
- package/screenshot-page/assets/{BCl5buf87xUgIfEB.js → BSdFVGZNhU6YHbMI.js} +1 -1
- package/screenshot-page/assets/{Cv8FG9PPBkkPw86e.js → BTMW3ukmc44U2fy7.js} +1 -1
- package/screenshot-page/assets/{Miyn0clMq0rovRIo.js → BTboCICZ-951XWsi.js} +1 -1
- package/screenshot-page/assets/B_W2QroTKADz3ABp.js +2 -0
- package/screenshot-page/assets/{Bor_tayB4yBfNOH5.js → Bj-vfAT28PK-tWWa.js} +2 -2
- package/screenshot-page/assets/{CvL9XK3Ht1mP-rGz.js → BnoVwUBEor8NgQNs.js} +2 -2
- package/screenshot-page/assets/{DzZRUd0p22CBa27b.js → BzQ5GyiXq8gTz-H-.js} +1 -1
- package/screenshot-page/assets/CwqNb7JYzC03lCj0.js +1 -0
- package/screenshot-page/assets/CzhH7lTYQrYGHct6.js +1 -0
- package/screenshot-page/assets/{CnZJ44ncMxZ4ivcB.js → D66vSE1ConAuENmB.js} +7 -7
- package/screenshot-page/assets/DCVUZ_ayOXFwV2d_.js +3 -0
- package/screenshot-page/assets/DFE-fKq5NV7_O8V6.js +1 -0
- package/screenshot-page/assets/{zHHZFbk5RXnrxbOc.js → DK_QSosKV62NDcuT.js} +9 -9
- package/screenshot-page/assets/{Bz2U7weS0spa8Xbh.js → DTFRGj188QuLKEXw.js} +1 -1
- package/screenshot-page/assets/{DDpAoGAPzo1c4vl5.js → DXQLzGmxoyN3kfQi.js} +3 -3
- package/screenshot-page/assets/DXWWyJlMSWgDFxs1.js +10 -0
- package/screenshot-page/assets/{DqM1wwsmN1J4MXMm.js → Dsx0NUmGIxS7SvZ8.js} +1 -1
- package/screenshot-page/assets/Q5EKmzoJZCE81Om-.js +2 -0
- package/screenshot-page/assets/{BYRwTzX1q407lHUS.js → TfhknTx8vxQkw4zV.js} +2 -2
- package/screenshot-page/assets/VvqAh6BWzaD5OUPF.js +1 -0
- package/screenshot-page/assets/{CE0MnsfMjqV2ICzk.js → hp_-JA1DMK4Yoztn.js} +12 -12
- package/screenshot-page/assets/{BRqSWCr2mTVNFquQ.js → l32n8O_A78Qqduv3.js} +1 -1
- package/screenshot-page/assets/sHBomL5R4-_px8rD.js +1 -0
- package/screenshot-page/assets/skRJ2qjA7kcmnOsh.js +39 -0
- package/screenshot-page/index.html +3 -3
- package/assets/Cfvhcua4c6onouhP.js +0 -14
- package/screenshot-page/assets/04d8koPx6lzeMYRQ.js +0 -39
- package/screenshot-page/assets/Bwql3QifB2cv7Mqp.js +0 -3
- package/screenshot-page/assets/CFOaI8g7pJuPzsyk.js +0 -1
- package/screenshot-page/assets/DUJzubL4qqOyizfu.js +0 -1
- package/screenshot-page/assets/DWiI5I3RtoKvVT66.js +0 -1
- package/screenshot-page/assets/D_H2dlsQ8PJ0r1WD.js +0 -10
- package/screenshot-page/assets/DsL71n5SxCVjL6Ho.js +0 -2
- package/screenshot-page/assets/IfF7Tv-nhz6Ikpn0.js +0 -1
- package/screenshot-page/assets/Rm5Sf5E6t8bk_Y3r.js +0 -1
- package/screenshot-page/assets/b3AbgxQkoaCiBi15.js +0 -1
- package/screenshot-page/assets/qm3VY0bH7F7EgSdi.js +0 -2
|
@@ -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.15
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -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.15
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,7 +1,7 @@
|
|
|
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.15
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
6
|
*/
|
|
7
|
-
export { F as ZipReader, I as getEntryDataDescriptorLength } from "./
|
|
7
|
+
export { F as ZipReader, I as getEntryDataDescriptorLength } from "./CecTe22WURiXbVdY.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
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.15
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
6
|
*/
|
|
7
|
-
import { ht as t } from "./
|
|
8
|
-
import { d as o, m as r } from "./
|
|
9
|
-
import {
|
|
7
|
+
import { ht as t } from "./BQMDOjNBMjAx9WiW.js";
|
|
8
|
+
import { d as o, m as r } from "./BQbF1RkUH8WyXqSD.js";
|
|
9
|
+
import { N as n, _ as l, en as e, i as a, ni as c, ur as s, vi as u, zn as d } from "./Bh0PNKlrR4VAqnP8.js";
|
|
10
10
|
var i = (o) => {
|
|
11
11
|
let r = o.ext;
|
|
12
12
|
return null === r && (r = o.ext = {
|
|
@@ -26,35 +26,35 @@ var i = (o) => {
|
|
|
26
26
|
const o = t.precedents;
|
|
27
27
|
return null !== o ? o.length : t.block.paramLength;
|
|
28
28
|
}, S = (t) => {
|
|
29
|
-
if (t instanceof
|
|
29
|
+
if (t instanceof e) return new s(t);
|
|
30
30
|
const r = !0 === t.isIRepeatingList ? t : null, n = r ? r.getPeriod() : t.length, l = Array.isArray(t);
|
|
31
31
|
if (!r && !l && !m(t)) return new s(t);
|
|
32
|
-
let
|
|
32
|
+
let a = null;
|
|
33
33
|
for (let r = 0; r < n; r++) if (h(l ? t[r] : t.at(r))) {
|
|
34
|
-
if (null ===
|
|
35
|
-
|
|
36
|
-
for (let o = 0; o < n; o++)
|
|
34
|
+
if (null === a) {
|
|
35
|
+
a = new Array(n);
|
|
36
|
+
for (let o = 0; o < n; o++) a[o] = l ? t[o] : t.at(o);
|
|
37
37
|
}
|
|
38
|
-
|
|
38
|
+
a[r] = o.BuiltIn.Calc;
|
|
39
39
|
}
|
|
40
|
-
return new s(null ===
|
|
40
|
+
return new s(null === a ? t : r ? new d(a, t.length) : a);
|
|
41
41
|
}, h = (t) => null !== t && "object" == typeof t && !o.isError(t) && !0 !== t.isIRichData && !l(t), m = (t) => {
|
|
42
42
|
let o = !1;
|
|
43
43
|
return s.forEachLeaf(t, (t, r, n, l) => {
|
|
44
|
-
if (o || t instanceof
|
|
45
|
-
let
|
|
46
|
-
!0 === t.isIRepeatingList && (
|
|
47
|
-
for (let n = r; !o && n <=
|
|
44
|
+
if (o || t instanceof e) return;
|
|
45
|
+
let a = r + l - n;
|
|
46
|
+
!0 === t.isIRepeatingList && (a = Math.min(a, r + t.getPeriod() - 1));
|
|
47
|
+
for (let n = r; !o && n <= a; n++) o = h(t.at(n));
|
|
48
48
|
}), o;
|
|
49
|
-
}, g = class extends
|
|
49
|
+
}, g = class extends a {
|
|
50
50
|
constructor(t, o) {
|
|
51
51
|
super(), this.nodes = t, this.count = o;
|
|
52
52
|
}
|
|
53
|
-
}, I = class extends
|
|
53
|
+
}, I = class extends a {
|
|
54
54
|
constructor(t) {
|
|
55
55
|
super(), this.node = t;
|
|
56
56
|
}
|
|
57
|
-
}, E = class extends
|
|
57
|
+
}, E = class extends a {
|
|
58
58
|
constructor(t) {
|
|
59
59
|
super(), this.node = t;
|
|
60
60
|
}
|
|
@@ -74,7 +74,7 @@ function x(t) {
|
|
|
74
74
|
axis: r.getAxis(),
|
|
75
75
|
createRun: S
|
|
76
76
|
}), e = p(o);
|
|
77
|
-
return e && l.setValues(e.tuples), new
|
|
77
|
+
return e && l.setValues(e.tuples), new c(o._runtime, l, {
|
|
78
78
|
colStart: 0,
|
|
79
79
|
rowStart: 0,
|
|
80
80
|
colEnd: o.getColumnCount() - 1,
|
|
@@ -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.15
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,16 +1,16 @@
|
|
|
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.15
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
6
|
*/
|
|
7
|
-
import { ht as t } from "./
|
|
8
|
-
import { L as e, T as o, U as s, Vt as r, m as i, st as n, yt as l } from "./
|
|
9
|
-
import { d as a, m as c } from "./
|
|
10
|
-
import { $r as u, Hr as d,
|
|
11
|
-
import { $ as f, $t as g, Bn as b, Cn as y, Dn as A, En as v, F as N, Fn as F, Ft as C, G as S, Gn as x, Ln as w, Ot as T, Pt as P, R as I, Tn as k, U as O, Vt as V, Xn as _, _n as B, an as L, bt as D, c as E, ct as R, gn as j, gt as Y, h as X, jn as M, ln as z, p as G, pn as $, pt as W, q as H, qn as U, qt as K, rn as q, xt as J, yt as Z, zn as Q } from "./
|
|
12
|
-
import
|
|
13
|
-
import "./
|
|
7
|
+
import { ht as t } from "./BQMDOjNBMjAx9WiW.js";
|
|
8
|
+
import { L as e, T as o, U as s, Vt as r, m as i, st as n, yt as l } from "./iujMYIEPx_v3sdPf.js";
|
|
9
|
+
import { d as a, m as c } from "./BQbF1RkUH8WyXqSD.js";
|
|
10
|
+
import { $r as u, Hr as d, Wr as h, lt as p, vi as m } from "./Bh0PNKlrR4VAqnP8.js";
|
|
11
|
+
import { $ as f, $t as g, Bn as b, Cn as y, Dn as A, En as v, F as N, Fn as F, Ft as C, G as S, Gn as x, Ln as w, Ot as T, Pt as P, R as I, Tn as k, U as O, Vt as V, Xn as _, _n as B, an as L, bt as D, c as E, ct as R, gn as j, gt as Y, h as X, jn as M, ln as z, p as G, pn as $, pt as W, q as H, qn as U, qt as K, rn as q, xt as J, yt as Z, zn as Q } from "./DD8HNAUFroTCuD-b.js";
|
|
12
|
+
import "./DaoSWy3EFlqpZaLr.js";
|
|
13
|
+
import { a as st, o as rt, r as it } from "./BSxTn2BhkEEeF9x_.js";
|
|
14
14
|
var nt = class {
|
|
15
15
|
constructor(t) {
|
|
16
16
|
this.list = t;
|
|
@@ -867,7 +867,7 @@ var _t = {
|
|
|
867
867
|
}
|
|
868
868
|
processColorFilter(t, e) {
|
|
869
869
|
const o = {}, s = {
|
|
870
|
-
operator:
|
|
870
|
+
operator: h.BuiltInOperatorNames.Color,
|
|
871
871
|
param: o
|
|
872
872
|
};
|
|
873
873
|
t.copyFromAttribute(e, "cellColor", o, "cellColor", t.BOOLEAN_COPY);
|
|
@@ -884,7 +884,7 @@ var _t = {
|
|
|
884
884
|
const o = e.getAttribute("and"), s = "and" === o || "1" === o;
|
|
885
885
|
e.getAttribute("val");
|
|
886
886
|
const r = [], i = {
|
|
887
|
-
operator: s ?
|
|
887
|
+
operator: s ? h.BuiltInOperatorNames.And : h.BuiltInOperatorNames.Or,
|
|
888
888
|
param: r
|
|
889
889
|
}, n = e.childNodes, l = n.length;
|
|
890
890
|
for (let e = 0; e < l; e++) {
|
|
@@ -907,10 +907,10 @@ var _t = {
|
|
|
907
907
|
}
|
|
908
908
|
processFilters(t, e) {
|
|
909
909
|
const o = {}, s = {
|
|
910
|
-
operator:
|
|
910
|
+
operator: h.BuiltInOperatorNames.InSet,
|
|
911
911
|
param: o
|
|
912
912
|
};
|
|
913
|
-
s.selector =
|
|
913
|
+
s.selector = h.BuiltInSelectorNames.Display, t.copyFromAttribute(e, "blank", o, "blank", t.BOOLEAN_COPY), t.copyFromAttribute(e, "calendarType", o, "calendarType");
|
|
914
914
|
let r = [], i = [];
|
|
915
915
|
const n = e.childNodes, l = n.length;
|
|
916
916
|
for (let e = 0; e < l; e++) {
|
|
@@ -929,14 +929,14 @@ var _t = {
|
|
|
929
929
|
}
|
|
930
930
|
processIcon(t, e) {
|
|
931
931
|
const o = {}, s = {
|
|
932
|
-
operator:
|
|
932
|
+
operator: h.BuiltInOperatorNames.Icon,
|
|
933
933
|
param: o
|
|
934
934
|
};
|
|
935
935
|
return t.copyFromAttribute(e, "iconId", o, "iconId", t.INT_COPY), t.copyFromAttribute(e, "iconSet", o), s;
|
|
936
936
|
}
|
|
937
937
|
processTop10(t, e) {
|
|
938
938
|
const o = {}, s = {
|
|
939
|
-
operator:
|
|
939
|
+
operator: h.BuiltInOperatorNames.TopN,
|
|
940
940
|
param: o
|
|
941
941
|
};
|
|
942
942
|
return t.copyFromAttribute(e, "filterVal", o, "filterVal", t.FLOAT_COPY), t.copyFromAttribute(e, "percent", o, "percent", t.BOOLEAN_COPY), t.copyFromAttribute(e, "top", o, "top", t.BOOLEAN_COPY), t.copyFromAttribute(e, "val", o, "limit", t.FLOAT_COPY), s;
|
|
@@ -1004,7 +1004,7 @@ var _t = {
|
|
|
1004
1004
|
visit(t, e, o) {
|
|
1005
1005
|
if (!e) return;
|
|
1006
1006
|
const s = e.getAttribute("ref"), r = {};
|
|
1007
|
-
e.hasAttribute("caseSensitive") && (r.collatorOptions = Q(e.getAttribute("caseSensitive")) ?
|
|
1007
|
+
e.hasAttribute("caseSensitive") && (r.collatorOptions = Q(e.getAttribute("caseSensitive")) ? p.CaseSensitiveOptions : p.CaseInsensitiveOptions);
|
|
1008
1008
|
const i = e.getAttribute("sortMethod");
|
|
1009
1009
|
null != i && "none" !== i && ("stroke" === i ? r.collatorOptions = {
|
|
1010
1010
|
...r.collatorOptions,
|
|
@@ -1017,9 +1017,9 @@ var _t = {
|
|
|
1017
1017
|
e.hasAttribute("columnSort") && Q(e.getAttribute("columnSort")) && (n.axis = c.Axis.Column);
|
|
1018
1018
|
const l = u.fastStringToRange(s), a = [], d = [];
|
|
1019
1019
|
this.processSortConditions(t, e, a, l, r, d), a.length > 0 && (n.sorts = a);
|
|
1020
|
-
const
|
|
1021
|
-
if (
|
|
1022
|
-
const t = u.fastStringToRange(
|
|
1020
|
+
const h = t.getVisitorParamsState().get("ref");
|
|
1021
|
+
if (h && s) {
|
|
1022
|
+
const t = u.fastStringToRange(h);
|
|
1023
1023
|
n.extent = {
|
|
1024
1024
|
range: D(t, l),
|
|
1025
1025
|
sorts: d.map((e) => W(t, l, e))
|
|
@@ -1528,8 +1528,8 @@ var _t = {
|
|
|
1528
1528
|
r.scope = s[o].name;
|
|
1529
1529
|
}
|
|
1530
1530
|
const n = {};
|
|
1531
|
-
for (const o of
|
|
1532
|
-
for (const t of
|
|
1531
|
+
for (const o of st) t.copyFromAttribute(e, o, n);
|
|
1532
|
+
for (const t of rt) {
|
|
1533
1533
|
const o = e.getAttribute(t);
|
|
1534
1534
|
"1" !== o && "true" !== o || (n[t] = !0);
|
|
1535
1535
|
}
|
|
@@ -1870,7 +1870,7 @@ var _t = {
|
|
|
1870
1870
|
const o = this.readSourceId(t, e), i = t.readEmbeddedPart(r) ?? void 0;
|
|
1871
1871
|
let n;
|
|
1872
1872
|
try {
|
|
1873
|
-
const e = i?.xml ?
|
|
1873
|
+
const e = i?.xml ? it(i.xml) : null;
|
|
1874
1874
|
n = e?.model, e?.lossy && t.warn("A chart states something its model does not; it is saved as it was until it is changed.", { onceKey: "xlsx.chart.lossy" });
|
|
1875
1875
|
} catch (e) {
|
|
1876
1876
|
t.warn(`A chart could not be read into the chart model; it is kept as its markup: ${e?.message ?? e}`, { onceKey: "xlsx.chart.model" });
|
|
@@ -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.15
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,12 +1,12 @@
|
|
|
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.15
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
6
|
*/
|
|
7
|
-
import { ht as e } from "./
|
|
8
|
-
import { c as t, p as n, r as a } from "./
|
|
9
|
-
import { c as r, s as i } from "./
|
|
7
|
+
import { ht as e } from "./BQMDOjNBMjAx9WiW.js";
|
|
8
|
+
import { c as t, p as n, r as a } from "./BQbF1RkUH8WyXqSD.js";
|
|
9
|
+
import { c as r, s as i } from "./BFdeov2e_xUQPEY_.js";
|
|
10
10
|
var o = /* @__PURE__ */ new Map([["IReferenceRange", "p"], ["IRange", "r"]]), s = new Set(Object.values(t).filter((e) => e !== t.Omitted)), l = /* @__PURE__ */ new Map([
|
|
11
11
|
["IWorkbook", "workbook"],
|
|
12
12
|
["IWorksheet", "sheet"],
|
|
@@ -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.15
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -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.15
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,10 +1,10 @@
|
|
|
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.15
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
6
|
*/
|
|
7
|
-
import { i as t, n as e, r as n, t as r } from "./
|
|
7
|
+
import { i as t, n as e, r as n, t as r } from "./CudNpUD78SrtJIiy.js";
|
|
8
8
|
var s = 6e4, a = Math.PI / 180 / s, c = 108e5 / Math.PI, o = /^[+-]?\d+$/, u = (t) => o.test(t) ? Number(t) : t, i = /* @__PURE__ */ new WeakMap();
|
|
9
9
|
function h(t) {
|
|
10
10
|
let e = i.get(t);
|
|
@@ -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.15
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,10 +1,10 @@
|
|
|
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.15
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
6
|
*/
|
|
7
|
-
import { t as e } from "./
|
|
7
|
+
import { t as e } from "./BCy1zP97fsiIcvj6.js";
|
|
8
8
|
var r = e((e) => {
|
|
9
9
|
function r(e, r) {
|
|
10
10
|
return void 0 === r && (r = Object), r && "function" == typeof r.getOwnPropertyDescriptors && (e = r.create(null, r.getOwnPropertyDescriptors(e))), r && "function" == typeof r.freeze ? r.freeze(e) : e;
|
|
@@ -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.15
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -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.15
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
6
|
*/
|
|
7
|
-
import { r as t, t as e } from "./
|
|
8
|
-
import { t as s } from "./
|
|
7
|
+
import { r as t, t as e } from "./BCy1zP97fsiIcvj6.js";
|
|
8
|
+
import { t as s } from "./D7oUtYjetuykGhQ5.js";
|
|
9
9
|
var i = e((t, e) => {
|
|
10
10
|
function s() {
|
|
11
11
|
this.table = /* @__PURE__ */ new Uint16Array(16), this.trans = /* @__PURE__ */ new Uint16Array(288);
|
|
@@ -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.15
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -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.15
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -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.15
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -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.15
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,10 +1,10 @@
|
|
|
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.15
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
6
|
*/
|
|
7
|
-
import { t } from "./
|
|
7
|
+
import { t } from "./DB-tkqI6wFXDKEfB.js";
|
|
8
8
|
var e, r;
|
|
9
9
|
function n(t, e) {
|
|
10
10
|
if (e < 0 || e + 1 >= t.length) throw new RangeError(`toUInt16LE: Offset ${e} is out of bounds for buffer length ${t.length}. Needed 2 bytes.`);
|
|
@@ -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.15
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,10 +1,10 @@
|
|
|
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.15
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
6
|
*/
|
|
7
|
-
import { Ai as e, Fi as t,
|
|
7
|
+
import { Ai as e, Fi as t, Wt as n, ai as r, ea as s, ln as l, lr as o, nt as i, ra as a, y as c } from "./Bh0PNKlrR4VAqnP8.js";
|
|
8
8
|
var u = Symbol("sheetxl.formulaNode.internal"), f = Symbol("sheetxl.formulaNode.value"), p = Symbol("sheetxl.formulaNode.replaced"), g = { canonical: !0 }, v = (e, t) => {
|
|
9
9
|
const n = e.inputs;
|
|
10
10
|
let r = null;
|
|
@@ -16,32 +16,32 @@ var u = Symbol("sheetxl.formulaNode.internal"), f = Symbol("sheetxl.formulaNode.
|
|
|
16
16
|
r[s] = e ? v(e, t) : e;
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
|
-
const
|
|
19
|
+
const l = ((e, t) => {
|
|
20
20
|
const n = e.type, r = e.value;
|
|
21
|
-
if (n ===
|
|
21
|
+
if (n === a.Named) {
|
|
22
22
|
const n = r;
|
|
23
|
-
let
|
|
24
|
-
return t && (
|
|
25
|
-
name:
|
|
26
|
-
scope:
|
|
23
|
+
let l = n?.nameId, o = n?.scope ?? null;
|
|
24
|
+
return t && (l = t.resolve(s.NamedFormula, l)?.toString() ?? l, o && (o = t.resolve(s.Sheet, o)?.toString() ?? o)), e.binding?.declaration && e.binding.optional ? {
|
|
25
|
+
name: l,
|
|
26
|
+
scope: o,
|
|
27
27
|
optional: !0
|
|
28
28
|
} : {
|
|
29
|
-
name:
|
|
30
|
-
scope:
|
|
29
|
+
name: l,
|
|
30
|
+
scope: o
|
|
31
31
|
};
|
|
32
32
|
}
|
|
33
|
-
if (n ===
|
|
33
|
+
if (n === a.TableReference) {
|
|
34
34
|
const e = "string" == typeof r ? r : r?.tableId;
|
|
35
|
-
return e ? t ? t.resolve(
|
|
35
|
+
return e ? t ? t.resolve(s.Table, e)?.toString() ?? e : e : "";
|
|
36
36
|
}
|
|
37
37
|
if (!t) return r;
|
|
38
38
|
switch (n) {
|
|
39
|
-
case
|
|
40
|
-
case
|
|
41
|
-
case
|
|
39
|
+
case a.Function: return t.resolve(s.Function, r, g)?.toString() ?? r;
|
|
40
|
+
case a.TableColumn: return t.resolve(s.TableColumn, r)?.toString() ?? r;
|
|
41
|
+
case a.Cell: {
|
|
42
42
|
const e = r;
|
|
43
43
|
if (e?.scope) {
|
|
44
|
-
const n = t.resolve(
|
|
44
|
+
const n = t.resolve(s.Sheet, e.scope)?.toString() ?? e.scope;
|
|
45
45
|
return {
|
|
46
46
|
...e,
|
|
47
47
|
scope: n
|
|
@@ -49,10 +49,10 @@ var u = Symbol("sheetxl.formulaNode.internal"), f = Symbol("sheetxl.formulaNode.
|
|
|
49
49
|
}
|
|
50
50
|
return r;
|
|
51
51
|
}
|
|
52
|
-
case
|
|
52
|
+
case a.Error: {
|
|
53
53
|
const e = r;
|
|
54
54
|
if (e?.scope) {
|
|
55
|
-
const n = t.resolve(
|
|
55
|
+
const n = t.resolve(s.Sheet, e.scope)?.toString() ?? e.scope;
|
|
56
56
|
return {
|
|
57
57
|
...e,
|
|
58
58
|
scope: n
|
|
@@ -65,45 +65,45 @@ var u = Symbol("sheetxl.formulaNode.internal"), f = Symbol("sheetxl.formulaNode.
|
|
|
65
65
|
})(e, t);
|
|
66
66
|
return {
|
|
67
67
|
type: e.type,
|
|
68
|
-
value:
|
|
68
|
+
value: l,
|
|
69
69
|
inputs: r,
|
|
70
70
|
isReference: e.isReference,
|
|
71
71
|
[u]: e,
|
|
72
|
-
[f]:
|
|
72
|
+
[f]: l
|
|
73
73
|
};
|
|
74
74
|
}, m = (e, t, n) => {
|
|
75
75
|
const r = e.inputs;
|
|
76
76
|
let s;
|
|
77
77
|
if (r) {
|
|
78
78
|
const t = r.length;
|
|
79
|
-
for (let
|
|
80
|
-
const t = r[
|
|
79
|
+
for (let l = 0; l < t; l++) {
|
|
80
|
+
const t = r[l];
|
|
81
81
|
if (!t) continue;
|
|
82
|
-
const
|
|
83
|
-
|
|
82
|
+
const o = m(t, e, n);
|
|
83
|
+
o !== t && (s || (s = [...r]), s[l] = o);
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
|
-
let
|
|
87
|
-
s && (
|
|
86
|
+
let l = e;
|
|
87
|
+
s && (l = {
|
|
88
88
|
...e,
|
|
89
89
|
inputs: s
|
|
90
90
|
});
|
|
91
|
-
const
|
|
92
|
-
return null ==
|
|
91
|
+
const o = n(l, t);
|
|
92
|
+
return null == o || o === l ? l : (void 0 === o[u] && void 0 !== l[u] && (o[p] = l[u]), o);
|
|
93
93
|
}, y = [
|
|
94
94
|
":",
|
|
95
95
|
".:.",
|
|
96
96
|
".:",
|
|
97
97
|
":.",
|
|
98
98
|
" "
|
|
99
|
-
], b = (
|
|
100
|
-
const u =
|
|
99
|
+
], b = (s, c) => {
|
|
100
|
+
const u = s.type, f = s.value;
|
|
101
101
|
switch (u) {
|
|
102
|
-
case
|
|
103
|
-
case
|
|
104
|
-
case
|
|
105
|
-
case
|
|
106
|
-
case
|
|
102
|
+
case a.Function: return l(String(f), c);
|
|
103
|
+
case a.Infix: return o(f, c[0], c[1], s.isReference ?? y.includes(f));
|
|
104
|
+
case a.Prefix: return e(f, c?.[0], s.isReference ?? "@" === f);
|
|
105
|
+
case a.Postfix: return r(f, c?.[0], s.isReference ?? "#" === f);
|
|
106
|
+
case a.Named: {
|
|
107
107
|
const e = t("string" == typeof f ? f : f?.name), n = "object" == typeof f ? f?.scope : null;
|
|
108
108
|
return n && (e.value = {
|
|
109
109
|
...e.value,
|
|
@@ -113,33 +113,33 @@ var u = Symbol("sheetxl.formulaNode.internal"), f = Symbol("sheetxl.formulaNode.
|
|
|
113
113
|
optional: !0
|
|
114
114
|
}), e;
|
|
115
115
|
}
|
|
116
|
-
case
|
|
117
|
-
case
|
|
118
|
-
type:
|
|
116
|
+
case a.Cell: return n(f);
|
|
117
|
+
case a.TableReference: return {
|
|
118
|
+
type: a.TableReference,
|
|
119
119
|
value: f,
|
|
120
120
|
inputs: c ?? null,
|
|
121
121
|
isReference: !0
|
|
122
122
|
};
|
|
123
|
-
case
|
|
124
|
-
type:
|
|
123
|
+
case a.TableSpecifier: return {
|
|
124
|
+
type: a.TableSpecifier,
|
|
125
125
|
value: f,
|
|
126
126
|
image: `[${f}]`,
|
|
127
127
|
inputs: null,
|
|
128
128
|
isReference: !0
|
|
129
129
|
};
|
|
130
|
-
case
|
|
131
|
-
const e = "string" == typeof f && f.startsWith("[") ? f : `[${
|
|
130
|
+
case a.TableColumn: {
|
|
131
|
+
const e = "string" == typeof f && f.startsWith("[") ? f : `[${i(String(f))}]`;
|
|
132
132
|
return {
|
|
133
|
-
type:
|
|
133
|
+
type: a.TableColumn,
|
|
134
134
|
value: f,
|
|
135
135
|
image: e,
|
|
136
136
|
inputs: null,
|
|
137
137
|
isReference: !0
|
|
138
138
|
};
|
|
139
139
|
}
|
|
140
|
-
case
|
|
141
|
-
case
|
|
142
|
-
case
|
|
140
|
+
case a.String:
|
|
141
|
+
case a.Number:
|
|
142
|
+
case a.Boolean: return {
|
|
143
143
|
type: u,
|
|
144
144
|
value: f,
|
|
145
145
|
inputs: null,
|
|
@@ -149,7 +149,7 @@ var u = Symbol("sheetxl.formulaNode.internal"), f = Symbol("sheetxl.formulaNode.
|
|
|
149
149
|
type: u,
|
|
150
150
|
value: f,
|
|
151
151
|
inputs: c ?? null,
|
|
152
|
-
isReference:
|
|
152
|
+
isReference: s.isReference
|
|
153
153
|
};
|
|
154
154
|
}
|
|
155
155
|
}, d = (e) => {
|
|
@@ -166,23 +166,23 @@ var u = Symbol("sheetxl.formulaNode.internal"), f = Symbol("sheetxl.formulaNode.
|
|
|
166
166
|
if (t) {
|
|
167
167
|
const n = e.value !== e[f];
|
|
168
168
|
let s = !1;
|
|
169
|
-
const
|
|
170
|
-
if (r &&
|
|
171
|
-
for (let e = 0; e < r.length; e++) if (r[e] !==
|
|
169
|
+
const l = t.inputs;
|
|
170
|
+
if (r && l && r.length === l.length) {
|
|
171
|
+
for (let e = 0; e < r.length; e++) if (r[e] !== l[e]) {
|
|
172
172
|
s = !0;
|
|
173
173
|
break;
|
|
174
174
|
}
|
|
175
|
-
} else s = null === r != (null ==
|
|
175
|
+
} else s = null === r != (null == l) || (r?.length ?? 0) !== (l?.length ?? 0);
|
|
176
176
|
if (!n && !s) return t;
|
|
177
177
|
if (!n) return {
|
|
178
178
|
...t,
|
|
179
179
|
inputs: r
|
|
180
180
|
};
|
|
181
|
-
const
|
|
182
|
-
return S(
|
|
181
|
+
const o = b(e, r);
|
|
182
|
+
return S(o, t), o;
|
|
183
183
|
}
|
|
184
|
-
const s = b(e, r),
|
|
185
|
-
return
|
|
184
|
+
const s = b(e, r), l = e[p];
|
|
185
|
+
return l && S(s, l), s;
|
|
186
186
|
}, S = (e, t) => {
|
|
187
187
|
c(e, t), e.type !== t.type && void 0 !== e.image && (e.image = void 0);
|
|
188
188
|
};
|
|
@@ -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.15
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -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.15
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,7 +1,7 @@
|
|
|
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.15
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
6
|
*/
|
|
7
|
-
export { n as analyzeModule, t as lintScript } from "./
|
|
7
|
+
export { n as analyzeModule, t as lintScript } from "./Btys7KwtvV3hz2F6.js";
|