@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,18 +1,18 @@
|
|
|
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 { Q as t, h as e, ht as n, ot as o, xt as r } from "./
|
|
8
|
-
import { K as s, L as a, M as l, T as i, U as c, Ut as d, Vt as m, b as p, f, m as h, st as u, yt as g } from "./
|
|
9
|
-
import { d as y, m as x, o as v, p as w } from "./
|
|
10
|
-
import { $r as S,
|
|
11
|
-
import { M as _, n as D } from "./
|
|
12
|
-
import { n as N } from "./
|
|
13
|
-
import { _t as B, gt as O, pt as W, vt as V } from "./
|
|
14
|
-
import { A as $, An as z, At as j, Ct as X, D as H, Dt as U, E as G, G as q, Gt as J, Hn as K, Ht as Y, I as Z, J as Q, Jn as tt, Kn as et, L as nt, Lt as ot, M as rt, Mt as st, N as at, Nn as lt, Nt as it, O as ct, On as dt, Pn as mt, Q as pt, Qt as ft, Rn as ht, S as ut, Sn as gt, St as yt, Tt as xt, U as vt, Ut as wt, W as St, Wn as bt, Wt as Ct, Xt as kt, Yn as Tt, Zt as Rt, _ as It, _t as Mt, a as Ft, an as Et, at as Pt, b as At, bn as Lt, cn as _t, ct as Dt, dn as Nt, dt as Bt, en as Ot, fn as Wt, ft as Vt, hn as $t, ht as zt, i as jt, it as Ht, jt as Ut, k as Gt, kn as qt, kt as Jt, l as Kt, lt as Yt, m as Zt, mt as Qt, n as te, nn as ee, o as ne, on as oe, p as re, qn as se, r as ae, rt as le, s as ie, sn as ce, st as de, t as me, tn as pe, tt as fe, u as he, un as ue, ut as ge, v as ye, vn as xe, w as ve, wn as we, x as Se, y as be, yn as Ce, zt as ke } from "./
|
|
15
|
-
import { a as Te, i as Re, n as Ie, o as Me, t as Fe } from "./
|
|
7
|
+
import { Q as t, h as e, ht as n, ot as o, xt as r } from "./BQMDOjNBMjAx9WiW.js";
|
|
8
|
+
import { K as s, L as a, M as l, T as i, U as c, Ut as d, Vt as m, b as p, f, m as h, st as u, yt as g } from "./iujMYIEPx_v3sdPf.js";
|
|
9
|
+
import { d as y, m as x, o as v, p as w } from "./BQbF1RkUH8WyXqSD.js";
|
|
10
|
+
import { $r as S, Ct as b, It as C, R as k, Rr as T, Vt as R, W as I, Wr as M, Zi as F, d as E, ua as P, ui as A, wt as L } from "./Bh0PNKlrR4VAqnP8.js";
|
|
11
|
+
import { M as _, n as D } from "./jadLBUNBVR9mbZ35.js";
|
|
12
|
+
import { n as N } from "./B2udpZ-uIaql3AUh.js";
|
|
13
|
+
import { _t as B, gt as O, pt as W, vt as V } from "./CecTe22WURiXbVdY.js";
|
|
14
|
+
import { A as $, An as z, At as j, Ct as X, D as H, Dt as U, E as G, G as q, Gt as J, Hn as K, Ht as Y, I as Z, J as Q, Jn as tt, Kn as et, L as nt, Lt as ot, M as rt, Mt as st, N as at, Nn as lt, Nt as it, O as ct, On as dt, Pn as mt, Q as pt, Qt as ft, Rn as ht, S as ut, Sn as gt, St as yt, Tt as xt, U as vt, Ut as wt, W as St, Wn as bt, Wt as Ct, Xt as kt, Yn as Tt, Zt as Rt, _ as It, _t as Mt, a as Ft, an as Et, at as Pt, b as At, bn as Lt, cn as _t, ct as Dt, dn as Nt, dt as Bt, en as Ot, fn as Wt, ft as Vt, hn as $t, ht as zt, i as jt, it as Ht, jt as Ut, k as Gt, kn as qt, kt as Jt, l as Kt, lt as Yt, m as Zt, mt as Qt, n as te, nn as ee, o as ne, on as oe, p as re, qn as se, r as ae, rt as le, s as ie, sn as ce, st as de, t as me, tn as pe, tt as fe, u as he, un as ue, ut as ge, v as ye, vn as xe, w as ve, wn as we, x as Se, y as be, yn as Ce, zt as ke } from "./DD8HNAUFroTCuD-b.js";
|
|
15
|
+
import { a as Te, i as Re, n as Ie, o as Me, t as Fe } from "./BSxTn2BhkEEeF9x_.js";
|
|
16
16
|
var Ee = [
|
|
17
17
|
["%EntityServiceId", "i"],
|
|
18
18
|
["_DisplayString", "s"],
|
|
@@ -1289,7 +1289,7 @@ var Ln = [
|
|
|
1289
1289
|
o.push([a.name, "spb"]), s.push(_e(l) ? "" + e(l) : "");
|
|
1290
1290
|
break;
|
|
1291
1291
|
case "array":
|
|
1292
|
-
o.push([a.name, "spba"]), s.push(l instanceof
|
|
1292
|
+
o.push([a.name, "spba"]), s.push(l instanceof L ? "" + t.addBagArray(r(l)) : "");
|
|
1293
1293
|
break;
|
|
1294
1294
|
case "integer":
|
|
1295
1295
|
o.push([a.name, "i"]), s.push(null == l ? "0" : "" + l);
|
|
@@ -1306,8 +1306,8 @@ var Ln = [
|
|
|
1306
1306
|
return t.addArray(n.length, o, r(e));
|
|
1307
1307
|
}, a = (e, o) => {
|
|
1308
1308
|
if (e instanceof T) return i(e);
|
|
1309
|
-
if (e instanceof
|
|
1310
|
-
if (e instanceof
|
|
1309
|
+
if (e instanceof L) return t.addValue(t.structureFor("_array", [["array", "a"]]), ["" + s(e)]);
|
|
1310
|
+
if (e instanceof C) return t.addValue(t.structureFor("_hyperlink", [["Address", "s"], ["Text", "s"]]), [e.getAddress() ?? "", "" + (e.getFriendlyName() ?? e.getAddress() ?? "")]);
|
|
1311
1311
|
if ("number" == typeof e) {
|
|
1312
1312
|
const r = o ? [["_Self", "" + t.addRichStyle({ numberFormat: o })]] : [];
|
|
1313
1313
|
return t.addValue(t.structureFor("_formattednumber", [["_Format", "spb"]]), ["" + n(r, "i")], De(e));
|
|
@@ -1368,7 +1368,7 @@ var Ln = [
|
|
|
1368
1368
|
_e(u) ? (p.push([h, "spb"]), f.push("" + e(u))) : (p.push([h, "r"]), f.push(null == u ? "" : "" + a(u, d[h]?.numberFormat)));
|
|
1369
1369
|
break;
|
|
1370
1370
|
case "array":
|
|
1371
|
-
p.push([h, "a"]), f.push(u instanceof
|
|
1371
|
+
p.push([h, "a"]), f.push(u instanceof L ? "" + s(u) : "");
|
|
1372
1372
|
break;
|
|
1373
1373
|
case "string":
|
|
1374
1374
|
p.push([h, "s"]), f.push(null == u ? "" : "" + u);
|
|
@@ -1405,7 +1405,7 @@ var Ln = [
|
|
|
1405
1405
|
}
|
|
1406
1406
|
return l(e);
|
|
1407
1407
|
};
|
|
1408
|
-
return { writeCell: (t) => t instanceof T && !_e(t) ? i(t) : t instanceof
|
|
1408
|
+
return { writeCell: (t) => t instanceof T && !_e(t) ? i(t) : t instanceof L ? a(t, void 0) : null };
|
|
1409
1409
|
})(this), this._metaCollector = t, this._workbook = e, this._onWarn = n;
|
|
1410
1410
|
}
|
|
1411
1411
|
add(t, e = null) {
|
|
@@ -1987,7 +1987,7 @@ var co = (t, e, o, r) => {
|
|
|
1987
1987
|
}, Lo = "dxfs", _o = (t) => {
|
|
1988
1988
|
let e = t.get(Lo);
|
|
1989
1989
|
return e || (e = new Ao(), t.set(Lo, e)), e;
|
|
1990
|
-
}, Do =
|
|
1990
|
+
}, Do = M.BuiltInOperatorNames, No = (t, e, n, o, r, s, a) => {
|
|
1991
1991
|
const l = o.sorts, i = l ? l.length : 0;
|
|
1992
1992
|
if (0 === i) return;
|
|
1993
1993
|
const c = {};
|
|
@@ -2046,16 +2046,16 @@ var co = (t, e, o, r) => {
|
|
|
2046
2046
|
const r = { operator: o.operator };
|
|
2047
2047
|
void 0 !== o.val && (r.val = o.val), e.empty("customFilter", r);
|
|
2048
2048
|
}, Wo = /* @__PURE__ */ new Set([
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2049
|
+
M.BuiltInSelectorNames.Display,
|
|
2050
|
+
M.BuiltInSelectorNames.Date,
|
|
2051
|
+
M.BuiltInSelectorNames.Time
|
|
2052
2052
|
]), Vo = (t, e, n, o, r, s = null) => {
|
|
2053
2053
|
const a = {};
|
|
2054
2054
|
a.colId = "" + n, r && (a.hiddenButton = "1"), o ? (e.start("filterColumn", a), ((t, e, n, o = null) => {
|
|
2055
2055
|
const r = n.operator, s = "string" == typeof n.selector ? n.selector : n.selector?.getName?.();
|
|
2056
|
-
if (s && !Wo.has(s) && t.warn(`A '${s}' selector has no OOXML form in a Table AutoFilter; the rule is written without it`, n), !0 === n.includeBlanks && r !==
|
|
2057
|
-
if (r ===
|
|
2058
|
-
if (r ===
|
|
2056
|
+
if (s && !Wo.has(s) && t.warn(`A '${s}' selector has no OOXML form in a Table AutoFilter; the rule is written without it`, n), !0 === n.includeBlanks && r !== M.BuiltInOperatorNames.InSet && r !== Do.Blank && t.warn("Ignore Blank has no OOXML form in a Table AutoFilter outside a values list; Excel will hide the blank rows", n), r === M.BuiltInOperatorNames.Expression) return void t.warn("Expression conditions not supported in Table AutoFilters", n);
|
|
2057
|
+
if (r === M.BuiltInOperatorNames.Unique) return void t.warn("Unique conditions not supported in Table AutoFilters", n);
|
|
2058
|
+
if (r === M.BuiltInOperatorNames.Color) {
|
|
2059
2059
|
const o = n.param, r = {};
|
|
2060
2060
|
void 0 !== o.cellColor && (r.cellColor = o.cellColor ? "1" : "0"), void 0 !== o.style && (r.dxfId = _o(t.getSharedStates()).add(o.style)), e.empty("colorFilter", r);
|
|
2061
2061
|
}
|
|
@@ -2070,10 +2070,10 @@ var co = (t, e, o, r) => {
|
|
|
2070
2070
|
});
|
|
2071
2071
|
e.end("customFilters");
|
|
2072
2072
|
} else if (r !== Do.Blank) {
|
|
2073
|
-
if (r ===
|
|
2073
|
+
if (r === M.BuiltInOperatorNames.InSet) {
|
|
2074
2074
|
const r = n.param ?? {};
|
|
2075
2075
|
let s = Array.isArray(r.items) ? r.items : [];
|
|
2076
|
-
n.selector !==
|
|
2076
|
+
n.selector !== M.BuiltInSelectorNames.Display && s.some((t) => "string" != typeof t) && (s = ((t, e, n, o) => {
|
|
2077
2077
|
const r = [], s = [];
|
|
2078
2078
|
for (let t = 0; t < n.length; t++) {
|
|
2079
2079
|
const e = n[t];
|
|
@@ -2101,19 +2101,19 @@ var co = (t, e, o, r) => {
|
|
|
2101
2101
|
e.end("customFilters");
|
|
2102
2102
|
}
|
|
2103
2103
|
} else Jt(n) ? (e.start("customFilters"), Oo(t, e, n), e.end("customFilters")) : r === Do.Not && t.warn("Not rule with non-comparison criteria not supported in OOXML", n.param);
|
|
2104
|
-
if (r ===
|
|
2104
|
+
if (r === M.BuiltInOperatorNames.TimePeriod) {
|
|
2105
2105
|
const o = n.param?.type;
|
|
2106
2106
|
o && tt.has(o) ? e.empty("dynamicFilter", { type: o }) : t.warn(`TimePeriod '${o}' has no OOXML dynamicFilter type; not written`, n.param);
|
|
2107
2107
|
}
|
|
2108
|
-
if (r ===
|
|
2109
|
-
const o = n.param, r = o?.type ===
|
|
2108
|
+
if (r === M.BuiltInOperatorNames.Average) {
|
|
2109
|
+
const o = n.param, r = o?.type === M.AverageType.Below ? "belowAverage" : "aboveAverage";
|
|
2110
2110
|
o?.stdDevs && t.warn(`Average with stdDevs has no OOXML spelling; written as ${r}`, n.param), e.empty("dynamicFilter", { type: r });
|
|
2111
2111
|
}
|
|
2112
|
-
if (r ===
|
|
2112
|
+
if (r === M.BuiltInOperatorNames.Icon) {
|
|
2113
2113
|
const t = n.param, o = {};
|
|
2114
2114
|
void 0 !== t.iconSet && (o.iconSet = t.iconSet), void 0 !== t.iconId && (o.iconId = "" + t.iconId), e.empty("iconFilter", o);
|
|
2115
2115
|
}
|
|
2116
|
-
if (r ===
|
|
2116
|
+
if (r === M.BuiltInOperatorNames.TopN) {
|
|
2117
2117
|
const t = n.param, o = {};
|
|
2118
2118
|
t.percent && (o.percent = "1"), void 0 !== t.top && (o.top = t.top ? "1" : "0"), void 0 !== t.limit && (o.val = "" + t.limit), void 0 !== t.filterVal && (o.filterVal = "" + t.filterVal), e.empty("top10", o);
|
|
2119
2119
|
}
|
|
@@ -2151,7 +2151,7 @@ var co = (t, e, o, r) => {
|
|
|
2151
2151
|
rowIndex: t.rowStart,
|
|
2152
2152
|
colIndex: t.colStart + n
|
|
2153
2153
|
}, a = r.parse(o, s);
|
|
2154
|
-
return a &&
|
|
2154
|
+
return a && R.image(r.spell(a, !1, e.getName()), { at: s }) || o;
|
|
2155
2155
|
} catch {
|
|
2156
2156
|
return o;
|
|
2157
2157
|
}
|
|
@@ -2638,7 +2638,7 @@ function jr(t, e, n) {
|
|
|
2638
2638
|
if ("string" != typeof t || !t || !e || !n) return t;
|
|
2639
2639
|
try {
|
|
2640
2640
|
const o = n.parse(t, e);
|
|
2641
|
-
return o &&
|
|
2641
|
+
return o && R.image(n.spell(o, !0), { at: e }) || t;
|
|
2642
2642
|
} catch {
|
|
2643
2643
|
return t;
|
|
2644
2644
|
}
|
|
@@ -3999,7 +3999,7 @@ var ha = [
|
|
|
3999
3999
|
let f = 0, h = 0;
|
|
4000
4000
|
const u = n.getUsedRange();
|
|
4001
4001
|
let g = 0;
|
|
4002
|
-
const v = l?.run, b = r.rows ? S.refsToRuns(r.rows, !1) : null,
|
|
4002
|
+
const v = l?.run, b = r.rows ? S.refsToRuns(r.rows, !1) : null, k = r.defaultRowSize ?? .75 * n.getStyles().getNormal().getBestFit().height, T = b && v ? ((t, e, n, o) => {
|
|
4003
4003
|
const r = [];
|
|
4004
4004
|
let s = 0;
|
|
4005
4005
|
const a = (t, e) => {
|
|
@@ -4014,9 +4014,9 @@ var ha = [
|
|
|
4014
4014
|
a(s, o.min - 1), s = o.max + 1, o.min === e.min && o.max === e.max || r.push(o);
|
|
4015
4015
|
}
|
|
4016
4016
|
return a(s, o - 1), r;
|
|
4017
|
-
})(b, v,
|
|
4017
|
+
})(b, v, k, n.getEntireRange().getRowEnd() + 1) : b, I = T ? T.length : 0, M = Mr(T), E = null !== M ? M - 1 : T?.[I - 1]?.max ?? -1, P = r.cols ? S.refsToRuns(r.cols, !0) : null, A = P ? P.length : 0, L = P?.[A - 1]?.max ?? -1;
|
|
4018
4018
|
if (u || I > 0) {
|
|
4019
|
-
const i = .75, u = r.defaultRowSize ?? n.getRowHeaders().getMetrics().getDefaultSize() * i, v = n.getStyles().getNormal().getBestFit().height * i, b = Ir(n.getOutline(), x.Axis.Row),
|
|
4019
|
+
const i = .75, u = r.defaultRowSize ?? n.getRowHeaders().getMetrics().getDefaultSize() * i, v = n.getStyles().getNormal().getBestFit().height * i, b = Ir(n.getOutline(), x.Axis.Row), k = (t, e) => {
|
|
4020
4020
|
const n = Yr;
|
|
4021
4021
|
if (n.r = "" + (t + 1), n.s = void 0, n.customFormat = void 0, n.hidden = void 0, n.ht = void 0, n.customHeight = void 0, n.outlineLevel = void 0, n.collapsed = void 0, n.thickTop = void 0, n.thickBot = void 0, !e) return n;
|
|
4022
4022
|
const o = e.value;
|
|
@@ -4024,16 +4024,16 @@ var ha = [
|
|
|
4024
4024
|
const r = o.csz ?? !1, s = o.sz ?? u;
|
|
4025
4025
|
return (s !== (l?.height ?? v) || r) && (n.ht = "" + s), r && (n.customHeight = "1"), o.l && (n.outlineLevel = "" + o.l), b.has(t) && (n.collapsed = "1"), o.tt && (n.thickTop = "1"), o.tb && (n.thickBot = "1"), n;
|
|
4026
4026
|
};
|
|
4027
|
-
let I = 0, A =
|
|
4027
|
+
let I = 0, A = T?.[I] ?? null, _ = A?.min ?? Number.MAX_SAFE_INTEGER, D = A?.max ?? Number.MAX_SAFE_INTEGER, N = A?.value?.s, B = -1, O = 0, W = P?.[O] ?? null, V = W?.min ?? Number.MAX_SAFE_INTEGER, $ = W?.max ?? Number.MAX_SAFE_INTEGER, j = W?.value?.s;
|
|
4028
4028
|
const X = (t, n = !1) => {
|
|
4029
4029
|
if (B !== t) {
|
|
4030
4030
|
for (-1 !== B && (e.end("row"), 0 !== O && (O = 0, W = P?.[O] ?? null, V = W?.min ?? Number.MAX_SAFE_INTEGER, $ = W?.max ?? Number.MAX_SAFE_INTEGER, j = W?.value?.s)); B + 1 <= t;) {
|
|
4031
|
-
B++, A && B > D && (A =
|
|
4032
|
-
const o = B < t || n && B === t, r =
|
|
4031
|
+
B++, A && B > D && (A = T[++I] ?? null, A ? (_ = A.min, D = A.max, N = A.value?.s) : (_ = Number.MAX_SAFE_INTEGER, D = Number.MAX_SAFE_INTEGER, N = void 0)), B < _ && B < t && null === M && (B = A ? Math.min(_, t) : t), null !== M && B >= M && B < t && (B = t);
|
|
4032
|
+
const o = B < t || n && B === t, r = k(B, A && B >= _ && B <= D ? A : null);
|
|
4033
4033
|
o ? e.empty("row", r) : e.start("row", r);
|
|
4034
4034
|
}
|
|
4035
4035
|
if (t < B) {
|
|
4036
|
-
const n =
|
|
4036
|
+
const n = k(t, null);
|
|
4037
4037
|
e.start("row", n);
|
|
4038
4038
|
}
|
|
4039
4039
|
}
|
|
@@ -4088,19 +4088,19 @@ var ha = [
|
|
|
4088
4088
|
rowIndex: m.rowStart,
|
|
4089
4089
|
colIndex: m.colStart
|
|
4090
4090
|
}, v = c.parse(u, x), w = v ? c.annotate(v) : void 0, b = v ? c.spell(v, f.has(`${m.rowStart},${m.colStart}`), p(m.rowStart, m.colStart)) : null;
|
|
4091
|
-
let
|
|
4092
|
-
if (
|
|
4091
|
+
let C = b ? R.imager(b, { entireCoords: d }) : null;
|
|
4092
|
+
if (C) u = C(x);
|
|
4093
4093
|
else if (!o.isSingleCell(m)) {
|
|
4094
4094
|
const t = [];
|
|
4095
|
-
S.normalizeA1ToR1C1(u, x.rowIndex, x.colIndex, t),
|
|
4095
|
+
S.normalizeA1ToR1C1(u, x.rowIndex, x.colIndex, t), C = (e) => {
|
|
4096
4096
|
const n = e ?? x;
|
|
4097
4097
|
return S.resolveRelativeToA1(t, n.rowIndex, n.colIndex);
|
|
4098
4098
|
};
|
|
4099
4099
|
}
|
|
4100
|
-
let
|
|
4101
|
-
const
|
|
4100
|
+
let k = !0 === w?.cm;
|
|
4101
|
+
const T = !0 === w?.ca;
|
|
4102
4102
|
if (s.affects(r)) {
|
|
4103
|
-
y = null,
|
|
4103
|
+
y = null, k = !1;
|
|
4104
4104
|
const t = (t, e, n) => {
|
|
4105
4105
|
const o = {
|
|
4106
4106
|
rowStart: t,
|
|
@@ -4134,20 +4134,20 @@ var ha = [
|
|
|
4134
4134
|
null !== i && t(e, a, i);
|
|
4135
4135
|
}
|
|
4136
4136
|
} else e.forEach((e, n) => {
|
|
4137
|
-
const o = n.getCoords(), r =
|
|
4137
|
+
const o = n.getCoords(), r = C?.(o) ?? u, a = K(r, n.getCell().getValue());
|
|
4138
4138
|
null !== a && (t(o.rowIndex, o.colIndex, a), s = !0);
|
|
4139
4139
|
}, { includeEmpty: !0 });
|
|
4140
4140
|
if (s) continue;
|
|
4141
4141
|
}
|
|
4142
4142
|
const I = -1 !== u.indexOf("!") || -1 !== u.indexOf("[");
|
|
4143
|
-
|
|
4144
|
-
const M = null !== y || e.isSingleCell() ? null :
|
|
4143
|
+
k || e.isSingleCell() || I || i(m) || (y = "" + g++);
|
|
4144
|
+
const M = null !== y || e.isSingleCell() ? null : C, F = [m, {
|
|
4145
4145
|
coords: m,
|
|
4146
4146
|
formula: u,
|
|
4147
4147
|
sharedId: y,
|
|
4148
4148
|
ref: t,
|
|
4149
|
-
isDynamicRange:
|
|
4150
|
-
isExcelVolatile:
|
|
4149
|
+
isDynamicRange: k,
|
|
4150
|
+
isExcelVolatile: T,
|
|
4151
4151
|
memberImage: M
|
|
4152
4152
|
}];
|
|
4153
4153
|
h.push(F);
|
|
@@ -4209,8 +4209,8 @@ var ha = [
|
|
|
4209
4209
|
Y > 0 && (x = o.getInjectedReference(2) ?? !1);
|
|
4210
4210
|
let v = null;
|
|
4211
4211
|
tt > 0 && (v = o.getInjectedReference(3) ?? null);
|
|
4212
|
-
const S = "error" === v?.kind, b = "fixed" === v?.kind,
|
|
4213
|
-
|
|
4212
|
+
const S = "error" === v?.kind, b = "fixed" === v?.kind, k = Kr;
|
|
4213
|
+
k.r = o.getAddress(), k.s = void 0, k.t = void 0, k.cm = void 0, k.vm = void 0, a && (i = a.getHiddenXf(i ?? 0)), void 0 !== i && 0 !== i && (k.s = "" + i);
|
|
4214
4214
|
const T = q.length > 0 ? o.getInjectedReference(4) ?? null : null;
|
|
4215
4215
|
let R = null, I = null;
|
|
4216
4216
|
switch (u) {
|
|
@@ -4219,7 +4219,7 @@ var ha = [
|
|
|
4219
4219
|
break;
|
|
4220
4220
|
case w.Error:
|
|
4221
4221
|
const t = n.getCode();
|
|
4222
|
-
if (I = "e", t > 7) R = y.BuiltIn.Value.getLabel(),
|
|
4222
|
+
if (I = "e", t > 7) R = y.BuiltIn.Value.getLabel(), k.vm = "" + p.add(n);
|
|
4223
4223
|
else if (t < 1) {
|
|
4224
4224
|
let t;
|
|
4225
4225
|
I = "s", g ? (t = "=" + g.formula, g = null) : t = "" + n.getLabel(), R = "" + d.add(t), f++;
|
|
@@ -4232,7 +4232,7 @@ var ha = [
|
|
|
4232
4232
|
R = n, g || T ? (I = "str", R = n) : (I = "s", R = "" + d.add(R), f++);
|
|
4233
4233
|
break;
|
|
4234
4234
|
case w.RichData:
|
|
4235
|
-
if (n instanceof
|
|
4235
|
+
if (n instanceof F) {
|
|
4236
4236
|
g || T ? (I = "str", R = n.getText()) : (I = "s", R = "" + d.add(function(t, e, n) {
|
|
4237
4237
|
const o = t.getRuns(), r = e.getCell().getRichText();
|
|
4238
4238
|
if (!r) return t.getText();
|
|
@@ -4250,21 +4250,21 @@ var ha = [
|
|
|
4250
4250
|
}
|
|
4251
4251
|
const a = JSON.stringify(s);
|
|
4252
4252
|
let l = n.get(a);
|
|
4253
|
-
return void 0 === l && (l = new
|
|
4253
|
+
return void 0 === l && (l = new F(s), n.set(a, l)), l;
|
|
4254
4254
|
}(n, o, et)), f++);
|
|
4255
4255
|
break;
|
|
4256
4256
|
}
|
|
4257
|
-
if (n instanceof
|
|
4257
|
+
if (n instanceof C) {
|
|
4258
4258
|
const t = n.toPrimitive();
|
|
4259
4259
|
"number" == typeof t ? R = rt(t) : "boolean" == typeof t ? (I = "b", R = t ? "1" : "0") : g || T ? (I = "str", R = t) : (I = "s", R = "" + d.add(t), f++);
|
|
4260
4260
|
break;
|
|
4261
4261
|
}
|
|
4262
|
-
I = "e", R = y.BuiltIn.Value.getLabel(),
|
|
4262
|
+
I = "e", R = y.BuiltIn.Value.getLabel(), k.vm = "" + p.add(n, g?.formula ?? (T ? "" : null));
|
|
4263
4263
|
}
|
|
4264
|
-
I && (
|
|
4265
|
-
const
|
|
4264
|
+
I && (k.t = I);
|
|
4265
|
+
const M = !g?.isWrapped && (null !== v || (g?.isDynamicRange ?? !1));
|
|
4266
4266
|
if (null !== g || null !== R || null !== T) {
|
|
4267
|
-
if (
|
|
4267
|
+
if (M && null !== g && !b && (k.cm = "" + m.registerArrayCell(S)), e.start("c", k), g) {
|
|
4268
4268
|
const t = s === g.coords.rowStart && l === g.coords.colStart;
|
|
4269
4269
|
let n = g.formula;
|
|
4270
4270
|
g.memberImage && !t && (n = g.memberImage({
|
|
@@ -4277,14 +4277,14 @@ var ha = [
|
|
|
4277
4277
|
o = Qr;
|
|
4278
4278
|
const t = g.coords;
|
|
4279
4279
|
t.colStart === l && t.rowStart === s ? (o.ref = g.ref, o.si = a, r = g.formula) : (o.ref = void 0, o.si = a);
|
|
4280
|
-
} else
|
|
4280
|
+
} else M ? (o = ts, o.aca = S ? "1" : void 0, o.ref = S ? k.r : v?.ref ?? k.r, r = n) : (o = Zr, r = n);
|
|
4281
4281
|
o.ca = x || S || g.isExcelVolatile ? "1" : void 0, r ? (e.start("f", o), e.text(r), e.end("f")) : e.empty("f", o);
|
|
4282
4282
|
} else T && e.empty("f", x ? {
|
|
4283
4283
|
...T,
|
|
4284
4284
|
ca: "1"
|
|
4285
4285
|
} : T);
|
|
4286
4286
|
null !== R && ("str" === I && R ? (e.start("v", ee.test(R) ? Kt : void 0), e.text(Z(R))) : (e.start("v"), R && e.text(R)), e.end("v")), e.end("c");
|
|
4287
|
-
} else h++ < Fr ? e.empty("c",
|
|
4287
|
+
} else h++ < Fr ? e.empty("c", k) : 1048577 === h && t.warn(`Reached ${Fr} style-only cells at '${k.r}'; not writing the rest.`);
|
|
4288
4288
|
}, {
|
|
4289
4289
|
injectReferences: H,
|
|
4290
4290
|
features: []
|
|
@@ -4301,7 +4301,7 @@ var ha = [
|
|
|
4301
4301
|
for (let t = 0; t < n; t++) {
|
|
4302
4302
|
r[t] = null;
|
|
4303
4303
|
try {
|
|
4304
|
-
const n =
|
|
4304
|
+
const n = R.parse(e[t][1]);
|
|
4305
4305
|
if (!n) continue;
|
|
4306
4306
|
let s = null;
|
|
4307
4307
|
const a = (t) => {
|
|
@@ -4867,7 +4867,7 @@ var ha = [
|
|
|
4867
4867
|
const a = t.theme;
|
|
4868
4868
|
for (let t = 0; t < r; t++) {
|
|
4869
4869
|
const e = o[t];
|
|
4870
|
-
if (n.start("si"), e instanceof
|
|
4870
|
+
if (n.start("si"), e instanceof F) {
|
|
4871
4871
|
const t = e.getRuns();
|
|
4872
4872
|
for (let e = 0; e < t.length; e++) {
|
|
4873
4873
|
const o = t[e];
|
|
@@ -5088,7 +5088,7 @@ var ha = [
|
|
|
5088
5088
|
e.end("numFmts");
|
|
5089
5089
|
}
|
|
5090
5090
|
})(0, o, i), function(t, e, n, o) {
|
|
5091
|
-
const r = o.fonts, s = r.length, a = n.getTheme(), l =
|
|
5091
|
+
const r = o.fonts, s = r.length, a = n.getTheme(), l = k.getShared(), i = se(r.map((t) => ({
|
|
5092
5092
|
...t,
|
|
5093
5093
|
family: q(t.family, t.fallbacks, a, !0).name
|
|
5094
5094
|
}))).every((t) => Bt(l, t));
|
|
@@ -5316,7 +5316,7 @@ var ha = [
|
|
|
5316
5316
|
});
|
|
5317
5317
|
}
|
|
5318
5318
|
async emit(t, e) {
|
|
5319
|
-
const n = e.getXMLWriter(), o = t.model, r = (await
|
|
5319
|
+
const n = e.getXMLWriter(), o = t.model, r = (await b.getDetails()).getBuildVersion(), s = Ft(r), a = o.getProperties();
|
|
5320
5320
|
n.setValidationDisabled(!0), n.decl(), n.start("Properties", {
|
|
5321
5321
|
xmlns: "http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",
|
|
5322
5322
|
"xmlns:vt": "http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"
|
|
@@ -5588,7 +5588,7 @@ var ha = [
|
|
|
5588
5588
|
let n = r && !r.isClosed() ? r : null;
|
|
5589
5589
|
if (!n) {
|
|
5590
5590
|
const e = await t.workbook.fetch(o);
|
|
5591
|
-
e.ok && e.headers.get("content-type")?.startsWith("image/") && (n = new
|
|
5591
|
+
e.ok && e.headers.get("content-type")?.startsWith("image/") && (n = new I({ source: { buffer: await e.arrayBuffer() } }));
|
|
5592
5592
|
}
|
|
5593
5593
|
n && (a = (await vo(e, n)).relId);
|
|
5594
5594
|
} catch {}
|
|
@@ -6212,7 +6212,7 @@ var ha = [
|
|
|
6212
6212
|
const n = t.getPart("xl/workbook.xml"), o = n ? new TextDecoder("utf-8").decode(n.data) : null;
|
|
6213
6213
|
return xa.set(t, o), o;
|
|
6214
6214
|
}, xa = /* @__PURE__ */ new WeakMap(), va = async (t, e) => {
|
|
6215
|
-
await
|
|
6215
|
+
await R.load();
|
|
6216
6216
|
const n = new fn();
|
|
6217
6217
|
for (const t of ha) n.register(t);
|
|
6218
6218
|
const o = wa, r = We.createUint8Array({
|
|
@@ -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,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.
|
package/index.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
/**
|
|
3
|
-
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v0.8.0-beta.
|
|
3
|
+
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v0.8.0-beta.15
|
|
4
4
|
*
|
|
5
5
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
6
6
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
7
7
|
*/
|
|
8
|
-
import { H as e, K as t, lt as n, z as o } from "./assets/
|
|
9
|
-
import { o as r } from "./assets/
|
|
10
|
-
import { L as s, M as a, T as i, U as l, b as c, m as u, st as d } from "./assets/
|
|
11
|
-
import { d as h, m as g, p as m, r as p } from "./assets/
|
|
12
|
-
import { $r as f,
|
|
13
|
-
import { t as T } from "./assets/
|
|
14
|
-
import { A as I, D as N, P as A, d as M, f as F } from "./assets/
|
|
15
|
-
import { t as O } from "./assets/
|
|
8
|
+
import { H as e, K as t, lt as n, z as o } from "./assets/BQMDOjNBMjAx9WiW.js";
|
|
9
|
+
import { o as r } from "./assets/_d5XJ7dn1CKKYrep.js";
|
|
10
|
+
import { L as s, M as a, T as i, U as l, b as c, m as u, st as d } from "./assets/iujMYIEPx_v3sdPf.js";
|
|
11
|
+
import { d as h, m as g, p as m, r as p } from "./assets/BQbF1RkUH8WyXqSD.js";
|
|
12
|
+
import { $r as f, Cn as w, Ct as $, Hn as y, M as b, Ot as k, Pi as S, Qt as x, Ti as v, Wr as C, d as E, q as R, ui as j } from "./assets/Bh0PNKlrR4VAqnP8.js";
|
|
13
|
+
import { t as T } from "./assets/BFdeov2e_xUQPEY_.js";
|
|
14
|
+
import { A as I, D as N, P as A, d as M, f as F } from "./assets/jadLBUNBVR9mbZ35.js";
|
|
15
|
+
import { t as O } from "./assets/B2udpZ-uIaql3AUh.js";
|
|
16
16
|
import { createRequire as _ } from "node:module";
|
|
17
17
|
import { StdioServerTransport as L } from "@modelcontextprotocol/sdk/server/stdio.js";
|
|
18
18
|
import * as P from "node:os";
|
|
@@ -38,7 +38,7 @@ var ye = Object.defineProperty, be = (((e) => {
|
|
|
38
38
|
MAX_WORKBOOK_NAME_SIZE: () => 96,
|
|
39
39
|
isReservedFileNameChar: () => Se,
|
|
40
40
|
isValidFileName: () => xe
|
|
41
|
-
}), /^(con|prn|aux|nul|com\d|lpt\d)$/i), ke = /[<>:"/\\|?*\u0000-\u001F]/, Se = (e) => ke.test(e), xe = (e) => !(!e || e.length > 255 || ke.test(e) || be.test(e) || "." === e || ".." === e), ve = t("io:sxlReader", () => import("./assets/
|
|
41
|
+
}), /^(con|prn|aux|nul|com\d|lpt\d)$/i), ke = /[<>:"/\\|?*\u0000-\u001F]/, Se = (e) => ke.test(e), xe = (e) => !(!e || e.length > 255 || ke.test(e) || be.test(e) || "." === e || ".." === e), ve = t("io:sxlReader", () => import("./assets/CwPBmcY6xSP8dNlh.js")), Ce = t("io:sxlWriter", () => import("./assets/DDnwKPJSznyfYDZS.js")), Ee = async (e, t) => (await ve.load()).readSXL(e, t), Re = (e) => async (t, n) => (await Ce.load()).writeSXL(t, {
|
|
42
42
|
...n,
|
|
43
43
|
compress: n?.compress ?? e.compress,
|
|
44
44
|
whiteSpace: n?.whiteSpace ?? e.whiteSpace
|
|
@@ -75,13 +75,13 @@ var ye = Object.defineProperty, be = (((e) => {
|
|
|
75
75
|
})
|
|
76
76
|
}, Ae = {
|
|
77
77
|
name: "SXLPlugin",
|
|
78
|
-
version: "0.8.0-beta.
|
|
78
|
+
version: "0.8.0-beta.15",
|
|
79
79
|
description: "Import and export SXL format",
|
|
80
80
|
author: "SheetXL",
|
|
81
81
|
async register(e) {
|
|
82
82
|
await e.registerReadFormat(je), await e.registerReadFormat(Te), await e.registerWriteFormat(Ie), await e.registerWriteFormat(Ne);
|
|
83
83
|
}
|
|
84
|
-
}, Me = t("io:csvReader", () => import("./assets/
|
|
84
|
+
}, Me = t("io:csvReader", () => import("./assets/BOPsJmq7v7HOKUkO.js")), Fe = t("io:csvWriter", () => import("./assets/DTfl-4Iboi6TQU5m.js")), Oe = {
|
|
85
85
|
key: "CSV",
|
|
86
86
|
description: "Comma Separated Values",
|
|
87
87
|
mimeType: "text/csv",
|
|
@@ -95,7 +95,7 @@ var ye = Object.defineProperty, be = (((e) => {
|
|
|
95
95
|
handler: async (e, t) => (await Fe.load()).writeCSV(e, t)
|
|
96
96
|
}, Le = {
|
|
97
97
|
name: "CSVPlugin",
|
|
98
|
-
version: "0.8.0-beta.
|
|
98
|
+
version: "0.8.0-beta.15",
|
|
99
99
|
description: "Import and export CSV format",
|
|
100
100
|
author: "SheetXL",
|
|
101
101
|
async register(e) {
|
|
@@ -103,7 +103,7 @@ var ye = Object.defineProperty, be = (((e) => {
|
|
|
103
103
|
}
|
|
104
104
|
}, Pe = {
|
|
105
105
|
name: "@sheetxl/io",
|
|
106
|
-
version: "0.8.0-beta.
|
|
106
|
+
version: "0.8.0-beta.15",
|
|
107
107
|
description: "Built-in I/O formats for SheetXL",
|
|
108
108
|
author: "SheetXL",
|
|
109
109
|
async register(e) {
|
|
@@ -966,7 +966,7 @@ function Bt(e) {
|
|
|
966
966
|
Value: "value",
|
|
967
967
|
Formula: "formula"
|
|
968
968
|
};
|
|
969
|
-
var Ht = (e) => "object" == typeof e && null !== e && !h.isError(e) && "function" == typeof e.getKind && e.getKind().getName() ===
|
|
969
|
+
var Ht = (e) => "object" == typeof e && null !== e && !h.isError(e) && "function" == typeof e.getKind && e.getKind().getName() === b.Type, Vt = (e) => {
|
|
970
970
|
const t = e.getAltText();
|
|
971
971
|
return t ? `[image: ${e.getSource()} "${t}"]` : `[image: ${e.getSource()}]`;
|
|
972
972
|
}, Ut = [
|
|
@@ -2799,8 +2799,8 @@ function os(e, t) {
|
|
|
2799
2799
|
const d = e.getContent().getDescription();
|
|
2800
2800
|
d && n.fact(`Alt Text: ${Vr(d)}`), n.fact(`Anchor: ${_o(o)}, ${((e) => {
|
|
2801
2801
|
switch (e) {
|
|
2802
|
-
case
|
|
2803
|
-
case
|
|
2802
|
+
case x.Type.Absolute: return "absolute — stays put when rows or columns move";
|
|
2803
|
+
case x.Type.OneCell: return "oneCell — moves with the cells, keeps its size";
|
|
2804
2804
|
default: return "twoCell — moves and resizes with the cells";
|
|
2805
2805
|
}
|
|
2806
2806
|
})(e.getAnchorType?.())}`), n.fact(`Bounds: ${((e) => {
|
|
@@ -4344,7 +4344,7 @@ function Na(e) {
|
|
|
4344
4344
|
})(o);
|
|
4345
4345
|
r && t.fact(`Allowed: ${r}`), t.fact("Blanks: " + (e.isIncludeBlanks() ? "allowed" : "rejected"));
|
|
4346
4346
|
const s = e.getAlertStyle();
|
|
4347
|
-
if (t.fact(`Alert: ${s}${s ===
|
|
4347
|
+
if (t.fact(`Alert: ${s}${s === k.AlertStyle.Stop ? " — the entry is refused" : " — the entry is accepted anyway"}`), e.isShowAlertMessage()) {
|
|
4348
4348
|
const n = Aa(e.getAlertTitle(), e.getAlertMessage());
|
|
4349
4349
|
n && t.fact(`Alert Message: ${n}`);
|
|
4350
4350
|
}
|
|
@@ -4525,7 +4525,7 @@ var Ua = [
|
|
|
4525
4525
|
}), o = e.length > 20 ? `, …and ${e.length - 20} more` : "";
|
|
4526
4526
|
return `before ${t ? "columns" : "rows"} ${n.join(", ")}${o}`;
|
|
4527
4527
|
}, ei = (e) => {
|
|
4528
|
-
const t = e.getHeadersFooters(), n = t.getState(), o =
|
|
4528
|
+
const t = e.getHeadersFooters(), n = t.getState(), o = w.HeaderFooterState, r = n === o.FirstAndDefault || n === o.FirstOddAndEven, s = n === o.OddAndEven || n === o.FirstOddAndEven, a = [];
|
|
4529
4529
|
return r && a.push(["first page", t.getFirstPage()]), s ? (a.push(["odd pages", t.getOddPages()]), a.push(["even pages", t.getEvenPages()])) : a.push([r ? "other pages" : "every page", t.getDefaultForAllPages()]), a;
|
|
4530
4530
|
}, ti = (e, t, n) => {
|
|
4531
4531
|
const o = [];
|
|
@@ -4652,7 +4652,7 @@ async function gi(e, t) {
|
|
|
4652
4652
|
s && n.text(`Outline: ${s}`);
|
|
4653
4653
|
const a = function(e) {
|
|
4654
4654
|
const t = e.getPageLayout(), n = [];
|
|
4655
|
-
t.getOrientation() !==
|
|
4655
|
+
t.getOrientation() !== w.Orientation.Portrait && n.push(t.getOrientation());
|
|
4656
4656
|
const o = Ga(t);
|
|
4657
4657
|
o && n.push(o);
|
|
4658
4658
|
const r = Xa(t);
|
|
@@ -4809,7 +4809,7 @@ async function ki(e, t) {
|
|
|
4809
4809
|
const n = new vo();
|
|
4810
4810
|
n.h1(`Workbook — ${e.getName() ?? "Untitled"}`), n.text(`Locale: ${e.getRuntime().getLocale()}`);
|
|
4811
4811
|
const o = e.getCalculation();
|
|
4812
|
-
o.getStatus() ===
|
|
4812
|
+
o.getStatus() === R.Status.Off ? n.text("Calculation: off — formulas have not been evaluated; values are as loaded. wb.getCalculation().calculate() evaluates them") : o.getStatus() === R.Status.Error ? n.text("Calculation: error — the engine failed to start; values are as loaded. wb.getCalculation().start() tries again") : o.getCalculationMode() === R.CalculationMode.Manual && n.text("Calculation: manual — values are as of the last calculation. wb.getCalculation().calculate() refreshes them");
|
|
4813
4813
|
const r = ((e) => {
|
|
4814
4814
|
const t = ga(e);
|
|
4815
4815
|
if (!t) return null;
|
|
@@ -5457,7 +5457,7 @@ var Li = 20, Pi = [
|
|
|
5457
5457
|
const t = new vo();
|
|
5458
5458
|
t.h1("Page Layout"), t.blank();
|
|
5459
5459
|
const n = e.getOrientation();
|
|
5460
|
-
t.fact(`Orientation: ${n}${n ===
|
|
5460
|
+
t.fact(`Orientation: ${n}${n === w.Orientation.Portrait ? " (default)" : ""}`), t.fact(`Paper: ${Ga(e) ?? "letter (default)"}`), t.fact(`Zoom: ${Xa(e) ?? "100% (default)"}`);
|
|
5461
5461
|
const o = qa.map(([t, n]) => `${t} ${Ka(n(e))}`).join(" · ");
|
|
5462
5462
|
t.fact(`Margins (inches): ${o}${Za(e) ? " (default)" : ""}`);
|
|
5463
5463
|
const r = e.getPrintArea();
|
|
@@ -5469,7 +5469,7 @@ var Li = 20, Pi = [
|
|
|
5469
5469
|
const l = za.filter(([, t]) => t(e)).map(([e]) => e);
|
|
5470
5470
|
l.length > 0 && t.fact(`Also prints: ${l.join(", ")}`);
|
|
5471
5471
|
const c = e.getFirstPageNumber();
|
|
5472
|
-
"" !== c && t.fact(`First page number: ${c}`), e.getPrintOrder() !==
|
|
5472
|
+
"" !== c && t.fact(`First page number: ${c}`), e.getPrintOrder() !== w.PrintOrder.DownThenOver && t.fact(`Page order: ${e.getPrintOrder()}`), e.getPrintComments() !== w.PrintComments.NoComments && t.fact(`Notes: ${e.getPrintComments()}`), e.getPrintErrors() !== w.PrintErrorType.AsDisplayed && t.fact(`Errors print as: ${e.getPrintErrors()}`);
|
|
5473
5473
|
const u = ei(e).flatMap(([e, t]) => {
|
|
5474
5474
|
const n = [], o = ti(t.getLeftHeader(), t.getCenterHeader(), t.getRightHeader());
|
|
5475
5475
|
o && n.push(`${e} header: ${o}`);
|
|
@@ -6181,7 +6181,7 @@ async function Tl(e, t) {
|
|
|
6181
6181
|
try {
|
|
6182
6182
|
const n = "snippet" === await bl(e) ? await vl(e) : null;
|
|
6183
6183
|
if ("undefined" === t && !n?.expectsValue) return [];
|
|
6184
|
-
const [{ ScriptCompiler: o }, { getScriptingDeclarations: r }] = await Promise.all([import("./assets/
|
|
6184
|
+
const [{ ScriptCompiler: o }, { getScriptingDeclarations: r }] = await Promise.all([import("./assets/DlBdhv6NHgrNp5Yo.js"), import("./assets/Dht2mcOSyYlPY32b.js")]), { diagnostics: s } = await o.compile({
|
|
6185
6185
|
source: n?.source ?? e,
|
|
6186
6186
|
ambientTypes: await r(),
|
|
6187
6187
|
lenient: !0,
|
|
@@ -6891,9 +6891,9 @@ var Jl = class e {
|
|
|
6891
6891
|
const e = {
|
|
6892
6892
|
origin: "http://screenshot.sheetxl.invalid",
|
|
6893
6893
|
key: null
|
|
6894
|
-
}, t = await
|
|
6894
|
+
}, t = await $.getDetails();
|
|
6895
6895
|
if (t.isEval() || !t.getRuntimes().includes("browser")) return e;
|
|
6896
|
-
const n = await
|
|
6896
|
+
const n = await $.getLicenseKey();
|
|
6897
6897
|
if (!n) return e;
|
|
6898
6898
|
for (const e of t.getDomains()) if (!e.includes("*")) try {
|
|
6899
6899
|
const t = new URL(e);
|
|
@@ -6921,7 +6921,7 @@ var Jl = class e {
|
|
|
6921
6921
|
async capture(e, t) {
|
|
6922
6922
|
if (!Kl(e)) {
|
|
6923
6923
|
const n = e.getCalculation();
|
|
6924
|
-
n.getStatus() ===
|
|
6924
|
+
n.getStatus() === R.Status.Running && await n.whenPendingDone({ timeout: t?.answerTimeout ?? 1e4 });
|
|
6925
6925
|
}
|
|
6926
6926
|
const n = new Uint8Array(Kl(e) ? e : await M.writeArrayBuffer(e, { format: "sxl" })), o = t?.maxEdge ?? 1600, r = t?.scale ?? 1, s = {
|
|
6927
6927
|
range: t?.range,
|
|
@@ -7185,7 +7185,7 @@ async function oc(e, t = function(e = process.env.SHEETXL_RUN_TIMEOUT) {
|
|
|
7185
7185
|
const t = Number(e);
|
|
7186
7186
|
return !Number.isFinite(t) || t < 0 ? nc : 0 === t ? null : Math.round(1e3 * t);
|
|
7187
7187
|
}()) {
|
|
7188
|
-
const { ScriptCompiler: n, DiagnosticCode: o } = await import("./assets/
|
|
7188
|
+
const { ScriptCompiler: n, DiagnosticCode: o } = await import("./assets/DlBdhv6NHgrNp5Yo.js"), r = await F(), s = null !== t ? {
|
|
7189
7189
|
key: me(),
|
|
7190
7190
|
timeoutMs: t
|
|
7191
7191
|
} : void 0, a = async (e) => {
|
|
@@ -7507,7 +7507,7 @@ var bc = process.env.SHEETXL_WORKSPACE ?? process.cwd(), kc = function(e, t, n,
|
|
|
7507
7507
|
type: "text",
|
|
7508
7508
|
text: rt(await et({
|
|
7509
7509
|
surface: "mcp",
|
|
7510
|
-
license: () =>
|
|
7510
|
+
license: () => $.getDetails(),
|
|
7511
7511
|
serverCount: t ? Mt(t.workspace).filter(Ft).length + 1 : void 0,
|
|
7512
7512
|
sessions: async () => (await e.list()).map((e) => ({
|
|
7513
7513
|
id: e.id,
|
package/lib.js
CHANGED
|
@@ -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.
|