@sheetxl/mcp 0.8.0-beta.25 → 1.0.0
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/{UdhH9UX9jQ4IV11J.js → 0WuReGsjIpidu0Cr.js} +1 -1
- package/assets/{DG9KGapq8eHlcTC7.js → 13QanvzRbNib7VHR.js} +1 -1
- package/assets/{cU78RT4WJKAp5mU_.js → 2c1OYsVAy_w-ex-F.js} +1 -1
- package/assets/{CGS7apShLtnlmF8D.js → 8114GVvAL1oaiJLV.js} +1 -1
- package/assets/{BbfSzxx5EzAvn-_F.js → 8hLtXHueDl7B_SEn.js} +15 -15
- package/assets/{CCOaNx5_BfWCc9yz.js → 8mWHFnE0j-CaNsxr.js} +1 -1
- package/assets/{CVWoX7wNwrZwm5XB.js → B-b7HyruDF2gdj3R.js} +2 -2
- package/assets/{BAowTO-7Utmg0UvM.js → B3J6davzttys1e7l.js} +3 -3
- package/assets/{DcHvH_I64hbnNh9G.js → B3lrS_GHkG6Mw5pN.js} +1 -1
- package/assets/{BSJ_L1gNOejEih6N.js → B5rrqMYFybo3oW9k.js} +40 -40
- package/assets/{O8YGVK4vtz39jQ84.js → BB39UJoWw8tjThqY.js} +1 -1
- package/assets/{70weNsvW2LMx5QcW.js → BBF_CDIKB2NIXiHg.js} +1 -1
- package/assets/{D6qQAWN_5p3FAshK.js → BBLuTiY3V4MpFphK.js} +194 -194
- package/assets/{BHIi-cAKnh_sAifV.js → BBZUslaSLC0vlZEb.js} +1 -1
- package/assets/{B_GZxEqqpKtEPbWC.js → BCdXK-2-AE6FAdRs.js} +1 -1
- package/assets/{H40qXR3Gazmnq4Mv.js → BF0C-5gSMHWBXI_k.js} +1 -1
- package/assets/{Cb7FKT3S78r6IYHi.js → BKGTzaNNBlRh7ua3.js} +1 -1
- package/assets/BOa1dD_9H3g65WbP.js +14 -0
- package/assets/{V_VVW06vjWkmlbdh.js → BPlrBhzIqyWK19E2.js} +536 -536
- package/assets/{CAI8p60cuWlgnlko.js → BR4Wpxs0eSlaoLOl.js} +8 -8
- package/assets/{s56uiNHMGbBV6xgZ.js → BTB4fa2DU21pP7At.js} +1 -1
- package/assets/{DXVfJfT6ftWk5kYi.js → BTamKr78GfsihW1a.js} +137 -137
- package/assets/{Cu4ok_jTnQif8QtX.js → BVfjBXAMgo4u8Y72.js} +1 -1
- package/assets/{DkS3EQvuEuPDvCws.js → BaZAIwIrqn1x69WH.js} +2 -2
- package/assets/{COXWiXy3DCfmXSm5.js → Ban4yk1SYcz9Cs7n.js} +1 -1
- package/assets/{DQlLgxA592HvgKzh.js → BfB7Vq09p5uO-L88.js} +1 -1
- package/assets/{B940vbTfpMYACpDE.js → BfEmSaLbKgcjIIpn.js} +2 -2
- package/assets/{C-FJab2sVwBbOTiA.js → Bfpf9b1s1bWyBXIw.js} +1 -1
- package/assets/{H_6CBe3t27jHlBHk.js → BgHOi7rAHLhztiz-.js} +168 -168
- package/assets/{Ci3R5B7bLke8NZRo.js → BgN67gyTyx_xz2Ny.js} +6 -6
- package/assets/{BV13tLgNXZ8MDaE_.js → BhxIJ8xdUxyMPJ_m.js} +1 -1
- package/assets/{DYx_I-o0yjx056Dq.js → BlMUrEA8V2S2KH0D.js} +1 -1
- package/assets/{Abkx7KJ6_X5avkR4.js → BloJ-e8xad1b_H7X.js} +3 -3
- package/assets/{DpGFb3hbAT5Murcv.js → Bm-wDNSoT-3JD2bJ.js} +1 -1
- package/assets/{D7NjohknztgMLqhT.js → BoE9cj92LVH2LLy0.js} +2 -2
- package/assets/{xSUMX6J9-MJIGgmG.js → BqH4txhrgR2S-2ji.js} +2 -2
- package/assets/{DwmlBb640xWfAMV2.js → BrHXHm2FNXsL53bo.js} +2 -2
- package/assets/{CSMsn9bKgR9kWG0m.js → BuFb0lPxYlHccrD9.js} +1 -1
- package/assets/{CX-KrjVgXM-7o--S.js → ByGn4tk2SE1MH_sZ.js} +2 -2
- package/assets/{C9DvPNfuz_0hun6C.js → C1IE0F-y65XqEYRl.js} +1 -1
- package/assets/{Brlza6Jd2oGGX9vB.js → C1JeIUEWW-RL1Rnu.js} +1 -1
- package/assets/{Bb7ZxgjHwiKgARXs.js → C2sDVxKGBNlTFg6y.js} +1 -1
- package/assets/{kmiMiNIUc6rS8DG8.js → C30apcFVvDHn2M4R.js} +4 -4
- package/assets/{V4pGXJr6fe-CPg7i.js → C3c2PUtIo-aWbjw4.js} +1 -1
- package/assets/{BW8ReYzx-CEJ-lAG.js → C4C3Ot0xeo1O0wm5.js} +1 -1
- package/assets/{DQBqVPRLkZFb2P_x.js → C8zzCf71C976X7SG.js} +2 -2
- package/assets/{DkT0-_t9Xgp4l-Mh.js → CCS6r_ru_-bq12nu.js} +1 -1
- package/assets/{DRvzD5Tkcb2OU0G2.js → CDDtXZTG6nNFBQZP.js} +1 -1
- package/assets/{B6e_DsVO4i91IYEO.js → CEa6wNiDRZrans9S.js} +3 -3
- package/assets/{DHCl7HWDbT3xqx8W.js → CF1fqmS030ry2XQ0.js} +2 -2
- package/assets/{cTLYCAhDs2fR2ITC.js → CFqF3aUKvOGFOK9O.js} +1 -1
- package/assets/{CGdayif_qNMtoATI.js → CI8Pu3ko8VzQYdRD.js} +1 -1
- package/assets/{C2kYWrsx5mg4XOES.js → CICMJpasl9o4FaZi.js} +1 -1
- package/assets/{BXxUz-sB48Z9nSFi.js → CJcyMzG19TOjqNHS.js} +1 -1
- package/assets/{BHeXL-Lo390ZSNV0.js → CJoREr6-3iOl7iU_.js} +1 -1
- package/assets/{DfaQvLAaU7HHPnSe.js → CMd7aLIwOA7bxcZm.js} +112 -112
- package/assets/{CDiutOsLAzu4c0Ej.js → CNikOloX_losH8Nz.js} +1 -1
- package/assets/{CYtkZMCX6dyEqjb9.js → CRZMD-wS-944FnD_.js} +4 -4
- package/assets/{C-Vt758qtn8QeCrw.js → CRlLpD9cfhJ9Ov9L.js} +1 -1
- package/assets/{Cmf4eJow6AIuPH_w.js → CS07BBUu6ZtXk4TZ.js} +1 -1
- package/assets/{ClRgSo0axU3lAOwR.js → CX-LNahzNZRc78er.js} +1 -1
- package/assets/{BktUuVP0Jew8_-ff.js → CY3Lmr-fgs6NqXRp.js} +1 -1
- package/assets/{BzU8BhgrkSoh-XJF.js → CbkCnjWs7Fpj5iQY.js} +8 -8
- package/assets/{DbHVXEt9qwlb8Gou.js → CdbucPAmUkkc5pcM.js} +21 -21
- package/assets/{m9BgbF-NgPIYW4kc.js → CfBJzpZuy1o216iZ.js} +1 -1
- package/assets/{DX94YgmfoL_ngS60.js → CoSNTR-pg7BZAU7o.js} +1 -1
- package/assets/{u8xtjHo43n-S_O6j.js → CpoqmW4E7rFdkRpf.js} +1 -1
- package/assets/{xMi-tFxI2s6e18L1.js → Cs1df4D35bBjqyvX.js} +1 -1
- package/assets/{BzLwCwXsh7eXQpeK.js → CsPyLus3kh4QnahD.js} +1 -1
- package/assets/{DZOzgVEOXfHTE3YC.js → Cwe_kiigxAfceEK9.js} +1 -1
- package/assets/{DaB9iRVJj3TmKH92.js → CwzSgovxnBMrgLmJ.js} +3 -3
- package/assets/{DJlQxf99HCszeCCD.js → D31pY9r4JAFWw3E4.js} +1 -1
- package/assets/DCWHNfq5qCxvALwe.js +199 -0
- package/assets/{DAnTpFc2vx3CmP8e.js → DF9WfdyjHuCpsEXh.js} +25 -25
- package/assets/{APcHum0Riw3QhLBQ.js → DOIpXsEXCaI-8VwJ.js} +1 -1
- package/assets/{DgE30NwKzEjZI1W6.js → DOXj80NXiglJXsMZ.js} +3 -3
- package/assets/{BNvsIyBwweYnfUz3.js → DQ2vEDfVfsIGSmId.js} +1 -1
- package/assets/{CcTDxlAqw6HuYmmm.js → DQtnL5nOzSzVJhit.js} +70 -70
- package/assets/{BFKj2ik7h-yM6oCR.js → DRcmbp80jMRjxelW.js} +1 -1
- package/assets/{DLW76uSURiQM07DD.js → DRy0AcTiSKQY3bih.js} +1 -1
- package/assets/{45FAgD1JyG2a1Rti.js → DWr6GqsnMpLwSUno.js} +2 -2
- package/assets/{Bwk-CZuGiTRT2ox_.js → DXrX5tIZ1J5BhpFk.js} +4 -4
- package/assets/{BtNEVWQWEp_Ie1nT.js → DZxHk5oKIVvu3iJR.js} +496 -496
- package/assets/{DBgHcEP-FcgSHLvx.js → Da0CtWhc7saaOdER.js} +212 -212
- package/assets/{Duw8QQGcrPmesb-M.js → Dbi1_JHT_4u0nhwc.js} +1 -1
- package/assets/{ckvxz2tZRlY1UPpg.js → Dcw7GSCgw_dgsum7.js} +9974 -10023
- package/assets/{BBccc8pDH-6AJdoT.js → DfuY8GdoSk8LxDFW.js} +5 -5
- package/assets/{CFrOPd_UcD7qclCq.js → DlARYdaCOVKiQzMH.js} +1 -1
- package/assets/{BD3Bc7ZHxenj4S7Q.js → DngX5ZuqqFGTp44B.js} +1 -1
- package/assets/{DZBfVpnngvY9Ra3C.js → DpwdC4SN_VYB9_ho.js} +1 -1
- package/assets/{DUfrvQDZKh_22F91.js → Dst0tyK__q2Q_AKk.js} +1 -1
- package/assets/{CfWSdzSpbErVA_1h.js → DvHZEP1wpb6549uf.js} +395 -395
- package/assets/{ixHQtoul8ubEJfWS.js → DzYvbv5u7E2H7IoB.js} +1 -1
- package/assets/{D5aWcMLJ2wyLm9Ws.js → G489eYf-lt3D1riX.js} +1 -1
- package/assets/{DbXqd8hGNQEyS-s0.js → L42Y17f0HUEpfS6U.js} +1 -1
- package/assets/{irrAIfw6CnCOHmPE.js → O3m_QwxIRXMPFTB8.js} +1 -1
- package/assets/{GfAXkT_vctdRX_9f.js → P3Or6rEY-fHmQZbH.js} +15 -15
- package/assets/{DcHo7BC8Ny3hWq0j.js → PAzPVx_0jajb_7cO.js} +2 -2
- package/assets/{DXDhH3F4N4OOigqN.js → PvRzzufo1V8BuC-I.js} +1 -1
- package/assets/Sm1ouHLiXlCuQVKV.js +304 -0
- package/assets/{D053O1kZ7JtMwiqh.js → WC-THJfezYSFdiMF.js} +1 -1
- package/assets/{Cplall3oc-_3AhCB.js → YK80feN98r6GVZv5.js} +1 -1
- package/assets/{COZ-bhj463kGINFA.js → cl0C9YlF3Ds-lHps.js} +1 -1
- package/assets/{TqxFLhPz3zbgi95t.js → eExV3IoVMxYkv5GO.js} +1 -1
- package/assets/{LQNEL4KjDxwZNwWq.js → g3TrQtFS0qJZeshT.js} +241 -241
- package/assets/{HLtC2gb8SfNmJU5q.js → gf6l-4XXMXtq8hpJ.js} +5 -5
- package/assets/{VkeNTI1TMsA1ZbGz.js → hiKRbrdbpmJglbWC.js} +3 -3
- package/assets/{DvkgborRc2vRq8E-.js → j4zqu8S2Be_yum7W.js} +1 -1
- package/assets/{C6Vsz4e_ASJdx3LP.js → jNZ7exipVCGRPbzr.js} +1 -1
- package/assets/{DunKnm-bQd0oHn9n.js → kThU6e6dkzEoaK6n.js} +2 -2
- package/assets/{Djl7cjJyCIS_Qvbd.js → knMcDWv3xN7yJBTT.js} +1 -1
- package/assets/{D8cqT2lbcP5Yp1Or.js → ov7L79VlksT4fw7T.js} +3 -3
- package/assets/{DZTVTdrwu05fNZk_.js → pLM8Pxl1CscUdvMh.js} +1 -1
- package/assets/{u9le-qZ3tbYKK1kU.js → pfa2CH5NQuzku6FP.js} +2 -2
- package/assets/{DlOCT6DI5bhPtQ8j.js → q6advQx4x6PXvl0i.js} +31 -31
- package/assets/{DB2MrmDLZ-OzVRQu.js → qVBjd-c5B8neljc0.js} +2 -2
- package/assets/{eCD6fmcTsgv76IZm.js → rlgXnCh6A88ozBRz.js} +4 -4
- package/assets/{DFd0JAiw5dkbnULM.js → rzi2XAwlfy8BsGEa.js} +1 -1
- package/assets/{B0FfnXdiZxExcdjB.js → xGASRbzSVVKfEAh-.js} +2 -2
- package/assets/{D8wjcRGgRdU34Ata.js → ybnQoU8_KttlHjiy.js} +1 -1
- package/index.js +105 -105
- package/lib.js +1 -1
- package/licenses/dependencies.txt +90 -90
- package/package.json +2 -2
- package/screenshot-page/assets/-HdF7KAN8PKqrASL.js +1 -0
- package/screenshot-page/assets/{CFS0h-wE9YlZRk_1.js → B-E9Dzx1wh9RA2yC.js} +1 -1
- package/screenshot-page/assets/B39YZkEvc1U8ZQ8H.js +2 -0
- package/screenshot-page/assets/B8Dy_WA9RlWuvMqF.js +4 -0
- package/screenshot-page/assets/BAzHRU12l2vyyXq-.js +39 -0
- package/screenshot-page/assets/{CCYEWK5QyGSnUAfh.js → BOF6KOmT8mH_NQnA.js} +1 -1
- package/screenshot-page/assets/{DbnmgPTSEii4OGkB.js → BfkbiKKbYlPpRZqZ.js} +1 -1
- package/screenshot-page/assets/{BVnzv_sY_58zEJyM.js → BhHceo22V3IBfap0.js} +1 -1
- package/screenshot-page/assets/BrEXXxB9tAI5mmZP.js +1 -0
- package/screenshot-page/assets/{CKdQfdZJGJFgnrr9.js → BwYQTcPRDDYIeAA5.js} +11 -11
- package/screenshot-page/assets/ByyC3p23DsLAbUpr.js +1 -0
- package/screenshot-page/assets/{D-jd_TJCN7AAn125.js → BzI5CCx73aXausKb.js} +8 -8
- package/screenshot-page/assets/{D98PlIA4qQ_6ciCu.js → CAKBmg6tXRtjEWgb.js} +2 -2
- package/screenshot-page/assets/{CRtk9ixuBWxhPfPU.js → CGNsyKbDXXz9qMa2.js} +1 -1
- package/screenshot-page/assets/CGZYePkVGI5DPBBY.js +1 -0
- package/screenshot-page/assets/{D53hpXNHxIgSWl80.js → CJAgr6wyQGYAd3ZV.js} +1 -1
- package/screenshot-page/assets/CWA4xGjOeBuxJOzW.js +3 -0
- package/screenshot-page/assets/CX-ITg5RXdV2cefd.js +13 -0
- package/screenshot-page/assets/{CMryHLEhCyKGuRSW.js → Cg9eIWL8fPmeZFHG.js} +4 -4
- package/screenshot-page/assets/{MqGbtsji4DVGCAMR.js → Cq1EzIAt4dHBkzfP.js} +1 -1
- package/screenshot-page/assets/D2TibFqUBAPLcu_2.js +1 -0
- package/screenshot-page/assets/DEy3e1rY-XMdI309.js +1 -0
- package/screenshot-page/assets/{DkTX5ZjGNQ5SrwJa.js → DOsZiE9rOdS_Mm2Q.js} +1 -1
- package/screenshot-page/assets/DaqAdr-mtpVZMOS8.js +2 -0
- package/screenshot-page/assets/DhnaoxNYwMobAVP6.js +1 -0
- package/screenshot-page/assets/{DmIjTb4kKfUHxWaF.js → QVGvXAvlw1c8vZjy.js} +22 -22
- package/screenshot-page/assets/{BCmGLxQEUabeee6Q.js → d8BvDCByceUNvHp7.js} +2 -2
- package/screenshot-page/assets/jFfcyGJ9xruiOUyS.js +1 -0
- package/screenshot-page/index.html +3 -3
- package/types/scripting.d.ts +1 -1
- package/assets/CD2yoEhIT8DyXBou.js +0 -199
- package/assets/CJubVukzHBNJb_Wf.js +0 -304
- package/assets/CehVpkp73IfWGN_b.js +0 -14
- package/screenshot-page/assets/3L7CY5dA_kT2UBjv.js +0 -1
- package/screenshot-page/assets/B6UwT0pG4sQeG7fA.js +0 -3
- package/screenshot-page/assets/BH2IWQ-8AfNbhYZJ.js +0 -39
- package/screenshot-page/assets/BkU12U7IqW7qjopk.js +0 -13
- package/screenshot-page/assets/Bs-IXwX9BKsCxwcJ.js +0 -2
- package/screenshot-page/assets/C7MXfx6zf_uTwcpu.js +0 -1
- package/screenshot-page/assets/CUQsrLir5jYpnRPM.js +0 -1
- package/screenshot-page/assets/CUgX7ETRCJsvqa2x.js +0 -1
- package/screenshot-page/assets/CfD1bn6b-NM38iZV.js +0 -1
- package/screenshot-page/assets/Ck5onwb1w_19WrtG.js +0 -1
- package/screenshot-page/assets/CvBPH5c-gnUG8Jen.js +0 -1
- package/screenshot-page/assets/DqOrgSpuJhQRhMoG.js +0 -4
- package/screenshot-page/assets/Dz_yLNMXKWGx1O6V.js +0 -2
- package/screenshot-page/assets/x1O923k1mN-CduO_.js +0 -1
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. -
|
|
2
|
+
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v1.0.0
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: SheetXL EULA — https://www.sheetxl.com/eula
|
|
6
6
|
*/
|
|
7
|
-
import { ht as t } from "./
|
|
8
|
-
import { J as e, Jt as o, L as s, b as r, ct as i, s as n, w as l } from "./
|
|
9
|
-
import { p as a, u as c } from "./
|
|
10
|
-
import {
|
|
11
|
-
import { Bn as f, C as g, Cn as b, Fn as y, Fr as A, In as v, K as N, Nr as F, Nt as C, Ot as S, Pr as x, Rn as T, Tt as w, Vn as P, W as I, Y as O, Zn as k, _t as V, an as _, d as B, en as L, gr as D, hr as E, in as R, kr as j, ln as Y, m as X, mn as M, mt as z, o as G, ot as W, qn as $, r as H, rt as K, s as U, tt as q, v as J, wr as Z, xn as Q, xr as tt, yt as et } from "./
|
|
12
|
-
import "./
|
|
13
|
-
import { a as nt, c as lt, l as at, r as ct, s as ut } from "./
|
|
7
|
+
import { ht as t } from "./DzYvbv5u7E2H7IoB.js";
|
|
8
|
+
import { J as e, Jt as o, L as s, b as r, ct as i, s as n, w as l } from "./8hLtXHueDl7B_SEn.js";
|
|
9
|
+
import { p as a, u as c } from "./8mWHFnE0j-CaNsxr.js";
|
|
10
|
+
import { Ai as u, Qa as d, ct as h, ft as p, vi as m } from "./Dcw7GSCgw_dgsum7.js";
|
|
11
|
+
import { Bn as f, C as g, Cn as b, Fn as y, Fr as A, In as v, K as N, Nr as F, Nt as C, Ot as S, Pr as x, Rn as T, Tt as w, Vn as P, W as I, Y as O, Zn as k, _t as V, an as _, d as B, en as L, gr as D, hr as E, in as R, kr as j, ln as Y, m as X, mn as M, mt as z, o as G, ot as W, qn as $, r as H, rt as K, s as U, tt as q, v as J, wr as Z, xn as Q, xr as tt, yt as et } from "./BTamKr78GfsihW1a.js";
|
|
12
|
+
import "./BgHOi7rAHLhztiz-.js";
|
|
13
|
+
import { a as nt, c as lt, l as at, r as ct, s as ut } from "./rlgXnCh6A88ozBRz.js";
|
|
14
14
|
var dt = class {
|
|
15
15
|
constructor(t) {
|
|
16
16
|
this.list = t;
|
|
@@ -450,7 +450,7 @@ var dt = class {
|
|
|
450
450
|
if (1 === s.nodeType && s.localName === e) return s;
|
|
451
451
|
}
|
|
452
452
|
return null;
|
|
453
|
-
}, wt = new Set(Object.values(
|
|
453
|
+
}, wt = new Set(Object.values(h.ElementType).filter((t) => t !== h.ElementType.WholeTable && t !== h.ElementType.HeaderRow)), Pt = {
|
|
454
454
|
auto: "auto",
|
|
455
455
|
autoNoTable: "automaticExceptTables",
|
|
456
456
|
manual: "manual"
|
|
@@ -877,7 +877,7 @@ var jt = {
|
|
|
877
877
|
}
|
|
878
878
|
processColorFilter(t, e) {
|
|
879
879
|
const o = {}, s = {
|
|
880
|
-
operator:
|
|
880
|
+
operator: u.BuiltInOperatorNames.Color,
|
|
881
881
|
param: o
|
|
882
882
|
};
|
|
883
883
|
t.copyFromAttribute(e, "cellColor", o, "cellColor", t.BOOLEAN_COPY);
|
|
@@ -894,7 +894,7 @@ var jt = {
|
|
|
894
894
|
const o = e.getAttribute("and"), s = "and" === o || "1" === o;
|
|
895
895
|
e.getAttribute("val");
|
|
896
896
|
const r = [], i = {
|
|
897
|
-
operator: s ?
|
|
897
|
+
operator: s ? u.BuiltInOperatorNames.And : u.BuiltInOperatorNames.Or,
|
|
898
898
|
param: r
|
|
899
899
|
}, n = e.childNodes, l = n.length;
|
|
900
900
|
for (let e = 0; e < l; e++) {
|
|
@@ -917,10 +917,10 @@ var jt = {
|
|
|
917
917
|
}
|
|
918
918
|
processFilters(t, e) {
|
|
919
919
|
const o = {}, s = {
|
|
920
|
-
operator:
|
|
920
|
+
operator: u.BuiltInOperatorNames.InSet,
|
|
921
921
|
param: o
|
|
922
922
|
};
|
|
923
|
-
s.selector =
|
|
923
|
+
s.selector = u.BuiltInSelectorNames.Display, t.copyFromAttribute(e, "blank", o, "blank", t.BOOLEAN_COPY), t.copyFromAttribute(e, "calendarType", o, "calendarType");
|
|
924
924
|
let r = [], i = [];
|
|
925
925
|
const n = e.childNodes, l = n.length;
|
|
926
926
|
for (let e = 0; e < l; e++) {
|
|
@@ -939,14 +939,14 @@ var jt = {
|
|
|
939
939
|
}
|
|
940
940
|
processIcon(t, e) {
|
|
941
941
|
const o = {}, s = {
|
|
942
|
-
operator:
|
|
942
|
+
operator: u.BuiltInOperatorNames.Icon,
|
|
943
943
|
param: o
|
|
944
944
|
};
|
|
945
945
|
return t.copyFromAttribute(e, "iconId", o, "iconId", t.INT_COPY), t.copyFromAttribute(e, "iconSet", o), s;
|
|
946
946
|
}
|
|
947
947
|
processTop10(t, e) {
|
|
948
948
|
const o = {}, s = {
|
|
949
|
-
operator:
|
|
949
|
+
operator: u.BuiltInOperatorNames.TopN,
|
|
950
950
|
param: o
|
|
951
951
|
};
|
|
952
952
|
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;
|
|
@@ -1014,7 +1014,7 @@ var jt = {
|
|
|
1014
1014
|
visit(t, e, o) {
|
|
1015
1015
|
if (!e) return;
|
|
1016
1016
|
const s = e.getAttribute("ref"), r = {};
|
|
1017
|
-
e.hasAttribute("caseSensitive") && (r.collatorOptions = T(e.getAttribute("caseSensitive")) ?
|
|
1017
|
+
e.hasAttribute("caseSensitive") && (r.collatorOptions = T(e.getAttribute("caseSensitive")) ? p.CaseSensitiveOptions : p.CaseInsensitiveOptions);
|
|
1018
1018
|
const i = e.getAttribute("sortMethod");
|
|
1019
1019
|
null != i && "none" !== i && ("stroke" === i ? r.collatorOptions = {
|
|
1020
1020
|
...r.collatorOptions,
|
|
@@ -1025,11 +1025,11 @@ var jt = {
|
|
|
1025
1025
|
}));
|
|
1026
1026
|
const n = {};
|
|
1027
1027
|
e.hasAttribute("columnSort") && T(e.getAttribute("columnSort")) && (n.axis = a.Axis.Column);
|
|
1028
|
-
const l =
|
|
1028
|
+
const l = d.fastStringToRange(s), c = [], u = [];
|
|
1029
1029
|
this.processSortConditions(t, e, c, l, r, u), c.length > 0 && (n.sorts = c);
|
|
1030
1030
|
const h = t.getVisitorParamsState().get("ref");
|
|
1031
1031
|
if (h && s) {
|
|
1032
|
-
const t =
|
|
1032
|
+
const t = d.fastStringToRange(h);
|
|
1033
1033
|
n.extent = {
|
|
1034
1034
|
range: j(t, l),
|
|
1035
1035
|
sorts: u.map((e) => E(t, l, e))
|
|
@@ -1042,7 +1042,7 @@ var jt = {
|
|
|
1042
1042
|
const i = {};
|
|
1043
1043
|
if (!e.hasAttribute("ref")) return void t.warn("A sort condition has no ref; it was dropped.", { onceKey: "xlsx.sheet.sort.noRef" });
|
|
1044
1044
|
if (e.hasAttribute("ref")) {
|
|
1045
|
-
const t = e.getAttribute("ref"), s =
|
|
1045
|
+
const t = e.getAttribute("ref"), s = d.fastStringToRange(t);
|
|
1046
1046
|
i.index = o ? s.colStart - o.colStart : s.colStart, r?.push(s);
|
|
1047
1047
|
}
|
|
1048
1048
|
const n = { ...s };
|
|
@@ -1702,7 +1702,7 @@ var jt = {
|
|
|
1702
1702
|
r.length > 0 && (o.sheetDataSet = r);
|
|
1703
1703
|
}
|
|
1704
1704
|
processSheetData(t, e) {
|
|
1705
|
-
const o = new
|
|
1705
|
+
const o = new m.Builder(), s = e.childNodes, r = s.length;
|
|
1706
1706
|
for (let t = 0; t < r; t++) {
|
|
1707
1707
|
const e = s.item(t);
|
|
1708
1708
|
if (1 !== e.nodeType || "row" !== e.localName) continue;
|
|
@@ -1712,7 +1712,7 @@ var jt = {
|
|
|
1712
1712
|
if (1 !== e.nodeType || "cell" !== e.localName) continue;
|
|
1713
1713
|
const s = e.getAttribute("r");
|
|
1714
1714
|
if (!s) continue;
|
|
1715
|
-
const i =
|
|
1715
|
+
const i = d.fastStringToCell(s);
|
|
1716
1716
|
if (void 0 === i?.rowIndex || void 0 === i?.colIndex) continue;
|
|
1717
1717
|
const n = this._readCellValue(e);
|
|
1718
1718
|
void 0 !== n && o.pushAt(i.rowIndex, i.colIndex, n);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. -
|
|
2
|
+
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v1.0.0
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: SheetXL EULA — https://www.sheetxl.com/eula
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. -
|
|
2
|
+
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v1.0.0
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: SheetXL EULA — https://www.sheetxl.com/eula
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. -
|
|
2
|
+
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v1.0.0
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: SheetXL EULA — https://www.sheetxl.com/eula
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. -
|
|
2
|
+
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v1.0.0
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: SheetXL EULA — https://www.sheetxl.com/eula
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. -
|
|
2
|
+
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v1.0.0
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: SheetXL EULA — https://www.sheetxl.com/eula
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. -
|
|
2
|
+
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v1.0.0
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: SheetXL EULA — https://www.sheetxl.com/eula
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. -
|
|
2
|
+
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v1.0.0
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: SheetXL EULA — https://www.sheetxl.com/eula
|
|
6
6
|
*/
|
|
7
|
-
import { r as e } from "./
|
|
7
|
+
import { r as e } from "./eExV3IoVMxYkv5GO.js";
|
|
8
8
|
var t = async (t, o) => {
|
|
9
|
-
const { trimLeadingBlankRow: n = !0, trimLeadingBlankColumn: i = !0, ignoreHidden: s = !1, sheetKey: l = null, papaParseConfig: a = {} } = o || {}, d = await import("./
|
|
9
|
+
const { trimLeadingBlankRow: n = !0, trimLeadingBlankColumn: i = !0, ignoreHidden: s = !1, sheetKey: l = null, papaParseConfig: a = {} } = o || {}, d = await import("./pfa2CH5NQuzku6FP.js").then((t) => e(t.default, 1)), g = d.default ?? d;
|
|
10
10
|
if (!t) throw new Error("workbook must be specified");
|
|
11
11
|
let u = null;
|
|
12
12
|
if (null === l ? u = t.getSelectedWorksheet() : "number" == typeof l ? u = t.getWorksheets().getItems()[l] : "string" == typeof l && (u = t.getWorksheets().getByName(l)), !u) throw new Error("invalid sheetKey specified");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. -
|
|
2
|
+
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v1.0.0
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: SheetXL EULA — https://www.sheetxl.com/eula
|
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v1.0.0
|
|
3
|
+
*
|
|
4
|
+
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
|
+
* License: SheetXL EULA — https://www.sheetxl.com/eula
|
|
6
|
+
*/
|
|
7
|
+
import { Cn as e, Cr as n, Hi as t, Ii as r, Oa as s, Vr as o, Yi as l, bn as i, do as c, nn as a } from "./Dcw7GSCgw_dgsum7.js";
|
|
8
|
+
var u = Symbol("sheetxl.formulaNode.internal"), f = Symbol("sheetxl.formulaNode.value"), p = Symbol("sheetxl.formulaNode.replaced"), g = { canonical: !0 }, v = (e, t) => {
|
|
9
|
+
const r = e.inputs;
|
|
10
|
+
let s = null;
|
|
11
|
+
if (r) {
|
|
12
|
+
const e = r.length;
|
|
13
|
+
s = new Array(e);
|
|
14
|
+
for (let n = 0; n < e; n++) {
|
|
15
|
+
const e = r[n];
|
|
16
|
+
s[n] = e ? v(e, t) : e;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
const o = ((e, t) => {
|
|
20
|
+
const r = e.type, s = e.value;
|
|
21
|
+
if (r === n.Named) {
|
|
22
|
+
const n = s;
|
|
23
|
+
let r = n?.nameId, o = n?.scope ?? null;
|
|
24
|
+
return t && (r = t.resolve(a.NamedFormula, r)?.toString() ?? r, o && (o = t.resolve(a.Sheet, o)?.toString() ?? o)), e.binding?.declaration && e.binding.optional ? {
|
|
25
|
+
name: r,
|
|
26
|
+
scope: o,
|
|
27
|
+
optional: !0
|
|
28
|
+
} : {
|
|
29
|
+
name: r,
|
|
30
|
+
scope: o
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
if (r === n.TableReference) {
|
|
34
|
+
const e = "string" == typeof s ? s : s?.tableId;
|
|
35
|
+
return e ? t ? t.resolve(a.Table, e)?.toString() ?? e : e : "";
|
|
36
|
+
}
|
|
37
|
+
if (!t) return s;
|
|
38
|
+
switch (r) {
|
|
39
|
+
case n.Function: return t.resolve(a.Function, s, g)?.toString() ?? s;
|
|
40
|
+
case n.TableColumn: return t.resolve(a.TableColumn, s)?.toString() ?? s;
|
|
41
|
+
case n.Cell: {
|
|
42
|
+
const e = s;
|
|
43
|
+
if (e?.scope) {
|
|
44
|
+
const n = t.resolve(a.Sheet, e.scope)?.toString() ?? e.scope;
|
|
45
|
+
return {
|
|
46
|
+
...e,
|
|
47
|
+
scope: n
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
return s;
|
|
51
|
+
}
|
|
52
|
+
case n.Error: {
|
|
53
|
+
const e = s;
|
|
54
|
+
if (e?.scope) {
|
|
55
|
+
const n = t.resolve(a.Sheet, e.scope)?.toString() ?? e.scope;
|
|
56
|
+
return {
|
|
57
|
+
...e,
|
|
58
|
+
scope: n
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
return s;
|
|
62
|
+
}
|
|
63
|
+
default: return s;
|
|
64
|
+
}
|
|
65
|
+
})(e, t);
|
|
66
|
+
return {
|
|
67
|
+
type: e.type,
|
|
68
|
+
value: o,
|
|
69
|
+
inputs: s,
|
|
70
|
+
isReference: e.isReference,
|
|
71
|
+
[u]: e,
|
|
72
|
+
[f]: o
|
|
73
|
+
};
|
|
74
|
+
}, m = (e, n, t) => {
|
|
75
|
+
const r = e.inputs;
|
|
76
|
+
let s;
|
|
77
|
+
if (r) {
|
|
78
|
+
const n = r.length;
|
|
79
|
+
for (let o = 0; o < n; o++) {
|
|
80
|
+
const n = r[o];
|
|
81
|
+
if (!n) continue;
|
|
82
|
+
const l = m(n, e, t);
|
|
83
|
+
l !== n && (s || (s = [...r]), s[o] = l);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
let o = e;
|
|
87
|
+
s && (o = {
|
|
88
|
+
...e,
|
|
89
|
+
inputs: s
|
|
90
|
+
});
|
|
91
|
+
const l = t(o, n);
|
|
92
|
+
return null == l || l === o ? o : (void 0 === l[u] && void 0 !== o[u] && (l[p] = o[u]), l);
|
|
93
|
+
}, y = [
|
|
94
|
+
":",
|
|
95
|
+
".:.",
|
|
96
|
+
".:",
|
|
97
|
+
":.",
|
|
98
|
+
" "
|
|
99
|
+
], b = (r, a) => {
|
|
100
|
+
const u = r.type, f = r.value;
|
|
101
|
+
switch (u) {
|
|
102
|
+
case n.Function: return e(String(f), a);
|
|
103
|
+
case n.Infix: return o(f, a[0], a[1], r.isReference ?? y.includes(f));
|
|
104
|
+
case n.Prefix: return l(f, a?.[0], r.isReference ?? "@" === f);
|
|
105
|
+
case n.Postfix: return t(f, a?.[0], r.isReference ?? "#" === f);
|
|
106
|
+
case n.Named: {
|
|
107
|
+
const e = s("string" == typeof f ? f : f?.name), n = "object" == typeof f ? f?.scope : null;
|
|
108
|
+
return n && (e.value = {
|
|
109
|
+
...e.value,
|
|
110
|
+
scope: n
|
|
111
|
+
}), "object" == typeof f && !0 === f?.optional && (e.value = {
|
|
112
|
+
...e.value,
|
|
113
|
+
optional: !0
|
|
114
|
+
}), e;
|
|
115
|
+
}
|
|
116
|
+
case n.Cell: return i(f);
|
|
117
|
+
case n.TableReference: return {
|
|
118
|
+
type: n.TableReference,
|
|
119
|
+
value: f,
|
|
120
|
+
inputs: a ?? null,
|
|
121
|
+
isReference: !0
|
|
122
|
+
};
|
|
123
|
+
case n.TableSpecifier: return {
|
|
124
|
+
type: n.TableSpecifier,
|
|
125
|
+
value: f,
|
|
126
|
+
image: `[${f}]`,
|
|
127
|
+
inputs: null,
|
|
128
|
+
isReference: !0
|
|
129
|
+
};
|
|
130
|
+
case n.TableColumn: {
|
|
131
|
+
const e = "string" == typeof f && f.startsWith("[") ? f : `[${c(String(f))}]`;
|
|
132
|
+
return {
|
|
133
|
+
type: n.TableColumn,
|
|
134
|
+
value: f,
|
|
135
|
+
image: e,
|
|
136
|
+
inputs: null,
|
|
137
|
+
isReference: !0
|
|
138
|
+
};
|
|
139
|
+
}
|
|
140
|
+
case n.String:
|
|
141
|
+
case n.Number:
|
|
142
|
+
case n.Boolean: return {
|
|
143
|
+
type: u,
|
|
144
|
+
value: f,
|
|
145
|
+
inputs: null,
|
|
146
|
+
isLiteral: !0
|
|
147
|
+
};
|
|
148
|
+
default: return {
|
|
149
|
+
type: u,
|
|
150
|
+
value: f,
|
|
151
|
+
inputs: a ?? null,
|
|
152
|
+
isReference: r.isReference
|
|
153
|
+
};
|
|
154
|
+
}
|
|
155
|
+
}, d = (e) => {
|
|
156
|
+
const n = e[u], t = e.inputs;
|
|
157
|
+
let r = null;
|
|
158
|
+
if (t) {
|
|
159
|
+
const e = t.length;
|
|
160
|
+
r = new Array(e);
|
|
161
|
+
for (let n = 0; n < e; n++) {
|
|
162
|
+
const e = t[n];
|
|
163
|
+
r[n] = e ? d(e) : e;
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
if (n) {
|
|
167
|
+
const t = e.value !== e[f];
|
|
168
|
+
let s = !1;
|
|
169
|
+
const o = n.inputs;
|
|
170
|
+
if (r && o && r.length === o.length) {
|
|
171
|
+
for (let e = 0; e < r.length; e++) if (r[e] !== o[e]) {
|
|
172
|
+
s = !0;
|
|
173
|
+
break;
|
|
174
|
+
}
|
|
175
|
+
} else s = null === r != (null == o) || (r?.length ?? 0) !== (o?.length ?? 0);
|
|
176
|
+
if (!t && !s) return n;
|
|
177
|
+
if (!t) return {
|
|
178
|
+
...n,
|
|
179
|
+
inputs: r
|
|
180
|
+
};
|
|
181
|
+
const l = b(e, r);
|
|
182
|
+
return S(l, n), l;
|
|
183
|
+
}
|
|
184
|
+
const s = b(e, r), o = e[p];
|
|
185
|
+
return o && S(s, o), s;
|
|
186
|
+
}, S = (e, n) => {
|
|
187
|
+
r(e, n), e.type !== n.type && void 0 !== e.image && (e.image = void 0);
|
|
188
|
+
};
|
|
189
|
+
function h(e, n) {
|
|
190
|
+
return v(e, n);
|
|
191
|
+
}
|
|
192
|
+
function R(e, n) {
|
|
193
|
+
return e && "function" == typeof n ? m(e, void 0, n) : e;
|
|
194
|
+
}
|
|
195
|
+
function T(e) {
|
|
196
|
+
const n = d(e);
|
|
197
|
+
return !0 === e.legacyIntersect && (n.legacyIntersect = !0), n;
|
|
198
|
+
}
|
|
199
|
+
export { h as n, T as r, R as t };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. -
|
|
2
|
+
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v1.0.0
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: SheetXL EULA — https://www.sheetxl.com/eula
|
|
6
6
|
*/
|
|
7
|
-
import { ht as e, ot as t, p as n, tt as o, u as r } from "./
|
|
8
|
-
import { i as s } from "./
|
|
9
|
-
import { P as i, Qt as a, l as c, v as l } from "./
|
|
10
|
-
import {
|
|
11
|
-
var b = class extends
|
|
7
|
+
import { ht as e, ot as t, p as n, tt as o, u as r } from "./DzYvbv5u7E2H7IoB.js";
|
|
8
|
+
import { i as s } from "./BaZAIwIrqn1x69WH.js";
|
|
9
|
+
import { P as i, Qt as a, l as c, v as l } from "./8hLtXHueDl7B_SEn.js";
|
|
10
|
+
import { Ut as h, W as u, Wt as d, en as m, fa as p, mt as g, st as _ } from "./Dcw7GSCgw_dgsum7.js";
|
|
11
|
+
var b = class extends g {
|
|
12
12
|
constructor(e) {
|
|
13
13
|
super(e), this._optionsMember = e;
|
|
14
14
|
}
|
|
@@ -25,7 +25,7 @@ var b = class extends d {
|
|
|
25
25
|
return !!super.isDeleted() || ((this._optionsMovable?.getParent?.())?.isDeleted() ?? !1);
|
|
26
26
|
}
|
|
27
27
|
getAnchorType() {
|
|
28
|
-
return
|
|
28
|
+
return m.Type.Absolute;
|
|
29
29
|
}
|
|
30
30
|
setAnchorType(e) {
|
|
31
31
|
return this;
|
|
@@ -145,7 +145,7 @@ var b = class extends d {
|
|
|
145
145
|
flipV: t.flipV ?? !1,
|
|
146
146
|
lockAspectRatio: t.lockAspect ?? null,
|
|
147
147
|
locks: t.locks ?? null,
|
|
148
|
-
anchorType:
|
|
148
|
+
anchorType: m.Type.Absolute,
|
|
149
149
|
pixelBounds: {
|
|
150
150
|
x: n.x ?? 0,
|
|
151
151
|
y: n.y ?? 0,
|
|
@@ -176,7 +176,7 @@ var b = class extends d {
|
|
|
176
176
|
const t = super.toJSON(e);
|
|
177
177
|
return delete t.anchorType, t;
|
|
178
178
|
}
|
|
179
|
-
}, f = class extends
|
|
179
|
+
}, f = class extends p {
|
|
180
180
|
constructor(e, t) {
|
|
181
181
|
super(t), this._group = e;
|
|
182
182
|
}
|
|
@@ -337,12 +337,12 @@ var b = class extends d {
|
|
|
337
337
|
if (!t || this.isDeleted()) return [];
|
|
338
338
|
const n = e?.description ?? r("op.ungroupDrawings");
|
|
339
339
|
this._protectionCheck(n);
|
|
340
|
-
const o = t.getRange().getWorksheet(), s =
|
|
340
|
+
const o = t.getRange().getWorksheet(), s = d(o.getView().getMovableSelection());
|
|
341
341
|
return await this.doBatch(() => {
|
|
342
342
|
const t = this._free(this._members_(), n);
|
|
343
343
|
this.delete(e);
|
|
344
344
|
const r = this._transactions.getPendingTransaction();
|
|
345
|
-
return r &&
|
|
345
|
+
return r && u(r, o, t, {
|
|
346
346
|
autoSelect: e?.autoSelect ?? !0,
|
|
347
347
|
autoSelectRestore: e?.autoSelectRestore
|
|
348
348
|
}, s), t;
|
|
@@ -412,7 +412,7 @@ var b = class extends d {
|
|
|
412
412
|
}
|
|
413
413
|
async _prepareMember(e) {
|
|
414
414
|
if (!e?.type) throw new o("A member needs a type.");
|
|
415
|
-
return this._protectionCheck(r("op.insertDrawing")), await
|
|
415
|
+
return this._protectionCheck(r("op.insertDrawing")), await _({
|
|
416
416
|
type: e.type,
|
|
417
417
|
json: e.json
|
|
418
418
|
}), e;
|
|
@@ -471,9 +471,9 @@ var b = class extends d {
|
|
|
471
471
|
for (const t of e) if (!i.includes(t)) throw new o(n("error.movable.groupNotSameGroup"));
|
|
472
472
|
const c = i.filter((t) => e.includes(t));
|
|
473
473
|
if (c.length === i.length) throw new o(n("error.movable.groupWholeGroup"));
|
|
474
|
-
const
|
|
475
|
-
if (!
|
|
476
|
-
const
|
|
474
|
+
const h = this.getMovable();
|
|
475
|
+
if (!h) throw new o("The group is not placed.");
|
|
476
|
+
const m = h.getRange().getWorksheet(), p = d(m.getView().getMovableSelection()), g = a.unionBounds(c.map((e) => {
|
|
477
477
|
const t = e._getLocalPlacement();
|
|
478
478
|
return l(t.bounds, t.rotation);
|
|
479
479
|
})), _ = this._createOptions.beginPersistResource();
|
|
@@ -481,18 +481,18 @@ var b = class extends d {
|
|
|
481
481
|
const n = {
|
|
482
482
|
anchor: {
|
|
483
483
|
tl: {
|
|
484
|
-
x:
|
|
485
|
-
y:
|
|
484
|
+
x: g.x,
|
|
485
|
+
y: g.y
|
|
486
486
|
},
|
|
487
487
|
br: {
|
|
488
|
-
x:
|
|
489
|
-
y:
|
|
488
|
+
x: g.width,
|
|
489
|
+
y: g.height
|
|
490
490
|
}
|
|
491
491
|
},
|
|
492
492
|
content: {
|
|
493
493
|
type: "group",
|
|
494
494
|
json: {
|
|
495
|
-
childBounds: { ...
|
|
495
|
+
childBounds: { ...g },
|
|
496
496
|
members: c.map((e) => e.toJSON(_.toResourceId.bind(_)))
|
|
497
497
|
}
|
|
498
498
|
}
|
|
@@ -505,10 +505,10 @@ var b = class extends d {
|
|
|
505
505
|
for (const t of i) t === r ? s.push(e) : c.includes(t) || s.push(t);
|
|
506
506
|
this._updateState({ members: s });
|
|
507
507
|
for (const e of c) e.getContent().delete();
|
|
508
|
-
return this._rebound(),
|
|
508
|
+
return this._rebound(), u(o, m, [e], {
|
|
509
509
|
autoSelect: t?.autoSelect ?? !0,
|
|
510
510
|
autoSelectRestore: t?.autoSelectRestore
|
|
511
|
-
},
|
|
511
|
+
}, p), o.commit(), this._members._notifyChange(), e;
|
|
512
512
|
} catch (e) {
|
|
513
513
|
throw o.rollback(), e;
|
|
514
514
|
}
|
|
@@ -525,7 +525,7 @@ var b = class extends d {
|
|
|
525
525
|
const s = n.filter((t) => t !== e);
|
|
526
526
|
if (this._updateState({ members: s }), 1 === s.length && this.getMovable()) {
|
|
527
527
|
const e = s[0], n = e.isSelected(), [i] = this._free(s, t?.description ?? r("op.deleteDrawing"));
|
|
528
|
-
this.delete(t), n &&
|
|
528
|
+
this.delete(t), n && u(o, i.getRange().getWorksheet(), [i], { autoSelect: !0 }, [e]);
|
|
529
529
|
} else 0 === s.length ? this.delete(t) : this._rebound();
|
|
530
530
|
o.commit(), this._members._notifyChange();
|
|
531
531
|
} catch (e) {
|
|
@@ -559,14 +559,14 @@ var b = class extends d {
|
|
|
559
559
|
getStyles: i.getStyles,
|
|
560
560
|
getRange: i.getRange,
|
|
561
561
|
addWatch: i.addWatch
|
|
562
|
-
},
|
|
562
|
+
}, u = h(s, l, {
|
|
563
563
|
getMovable: () => c,
|
|
564
564
|
amend: (e) => o._amend(e),
|
|
565
565
|
isClosed: () => o._closed
|
|
566
566
|
}), d = () => o.getMovable(), m = () => o._members_().indexOf(c);
|
|
567
567
|
let p;
|
|
568
568
|
return c = new b({
|
|
569
|
-
content:
|
|
569
|
+
content: u,
|
|
570
570
|
json: e,
|
|
571
571
|
transactions: i.transactions,
|
|
572
572
|
beginPersistResource: i.beginPersistResource,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. -
|
|
2
|
+
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v1.0.0
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: SheetXL EULA — https://www.sheetxl.com/eula
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. -
|
|
2
|
+
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v1.0.0
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: SheetXL EULA — https://www.sheetxl.com/eula
|
|
6
6
|
*/
|
|
7
|
-
import { t } from "./
|
|
8
|
-
import { w as n } from "./
|
|
7
|
+
import { t } from "./BBF_CDIKB2NIXiHg.js";
|
|
8
|
+
import { w as n } from "./8hLtXHueDl7B_SEn.js";
|
|
9
9
|
var r, e = t({
|
|
10
10
|
toConcreteCSS: () => u,
|
|
11
11
|
toConcreteFill: () => s
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. -
|
|
2
|
+
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v1.0.0
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: SheetXL EULA — https://www.sheetxl.com/eula
|