@sheetxl/mcp 0.8.0-beta.23 → 0.8.0-beta.24
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/{CSisGJ4hiDhTi19U.js → 2YT_wstXIH6UIigi.js} +1 -1
- package/assets/{E-KM5RFByUxjlkId.js → 3VycPrqi6qgLOgGY.js} +6 -6
- package/assets/{B2zUUqxAJ1RiM7YI.js → 6CBUVbF01Bedq0e2.js} +43 -43
- package/assets/{BVUfaOAGhdMim8yB.js → 76dPHG5RYA7MUV_g.js} +3 -3
- package/assets/{CtlrxXVgZDIOcuc1.js → 7IzItpr7MkdnaAwh.js} +169 -169
- package/assets/{BBuB6ffvyg2Cd7V5.js → 7vPlH3_rhJxmmBvG.js} +1 -1
- package/assets/{aTxgpOOxLenli4af.js → 9GnbVPKozgrJpeLW.js} +1 -1
- package/assets/{DuQU8JjPLBIK804w.js → B-5mBXpY9i6-eCrZ.js} +29 -29
- package/assets/{CH8DNTUgM79xk8Tt.js → B-t1q2NS61c2B8E4.js} +1 -1
- package/assets/{BomatnedZsGMF7MW.js → B16G2473LTkZP6Mq.js} +150 -131
- package/assets/{DoP6myQHGI-X1gNy.js → B4uS01J0mrSJSftQ.js} +84 -84
- package/assets/{CC7EfXPwp7_nSBIz.js → B6caaQsfOpFEgYQ4.js} +1 -1
- package/assets/{2xkoVdiI70Gpaxoc.js → B7lATTNffVTrDsKE.js} +2 -2
- package/assets/{DgLQfXTWavoBetna.js → B8bEJ65vQRqsfBlS.js} +5 -5
- package/assets/{BGxwDpW8DkO8W0Ig.js → BAVltO4Xf7lC0Xr6.js} +1 -1
- package/assets/{CgYef9dYxY8YyUTE.js → BH7ctzMzOYVTGxzA.js} +1 -1
- package/assets/{CBMMHYgUAhgiJhJE.js → BJqo8c5bFKjnq69G.js} +11 -11
- package/assets/{CQCPJBQD0qv9y8qE.js → BJwiwzwx4Bl5L4Vq.js} +1 -1
- package/assets/{BJMeWtr7TiLNpt17.js → BPNLZ07Bu_B8Yhf1.js} +1 -1
- package/assets/{BWeaY19OpTJK5v0n.js → BWLavTnANLUerdS0.js} +2 -2
- package/assets/{gver5Sz7ZO6ZyrOi.js → BXWGS09xFG81nnIT.js} +1 -1
- package/assets/{DvkBNkPyR5kuS0Uo.js → BaYk1vO2hP2S3_1w.js} +2 -2
- package/assets/{PVGDjdR9C4stMNpM.js → BifwlrCmEVtjh_1U.js} +1 -1
- package/assets/{BPtf3_nlovO4r9Bm.js → BjyXkr-CzV8mVx0t.js} +1 -1
- package/assets/{DACd4ZjYwzNE7Koc.js → BkHeIMSE7-LehRCs.js} +1 -1
- package/assets/{DLuQ_rdu0XjYF7Jq.js → BkekCZ17YTtd07_C.js} +2 -2
- package/assets/{BDSNdgf_hbhX1DhN.js → BnNB_ejvNaLu6B3o.js} +1 -1
- package/assets/{f_dBJuakO_BJ7Tvm.js → BrJd9jVVv9SQzZol.js} +335 -335
- package/assets/{1J1R3dclFOh322Yr.js → BrYc6PLonux_gI6b.js} +209 -209
- package/assets/{CrTLWpsRNBSyTLor.js → BxwB3iTNSE1TgHkb.js} +1 -1
- package/assets/{Cx1bc-Dsja7W3GlB.js → By1QPrSxtnRiJu0R.js} +2 -2
- package/assets/{jKIDENA_QP4bEX49.js → ByYJTTTUuu67hDF-.js} +4 -4
- package/assets/{DXmebUOAhtW4V6BO.js → C-nA4SXN5hWHaxV6.js} +556 -556
- package/assets/{BNEBXKAh-N4Tygk7.js → C0uu0vLKQh0S508B.js} +23 -23
- package/assets/{Bjk1Twm0RFO_3fS8.js → C6PNMev7cs5JLgwy.js} +1 -1
- package/assets/{Cl04_aSpBHTwfsQR.js → C9iFJ52KwQTePQ81.js} +10248 -10246
- package/assets/{dep8oZGwBmUpxjHl.js → CCF6CwJ6cbeLRl23.js} +1 -1
- package/assets/{Cg1tSmK_AGJa2VeI.js → CEk658HeLJk2cAjM.js} +3 -3
- package/assets/{DiJexWBIzdGj1H0H.js → CFNtPYPfDPH-3BXK.js} +1 -1
- package/assets/CFT_tDogP98gTbh7.js +304 -0
- package/assets/{BKpicdc9H5WnZPb-.js → CFWwwr74qRKOBrg9.js} +1 -1
- package/assets/{5MnsnJcajdtAujE2.js → CIY_RiLu1_FmRLAA.js} +1 -1
- package/assets/{DcO0gub7cRKVw4xB.js → CIw6ZC3K9x-ccacl.js} +1 -1
- package/assets/{KhdF512BKcJXZMvq.js → CJ2hV-9ipqOEkLSG.js} +1 -1
- package/assets/{wKkW4LO-iUp92LVC.js → CKD460cQOgwF6uSV.js} +1 -1
- package/assets/{NDe-uS1n_Q7u1H3m.js → CM-q_J5aF6YXmjeu.js} +3 -3
- package/assets/{a9lvcAd7rWsWSWAo.js → CR1aLf7CWEfPTO9a.js} +1 -1
- package/assets/{BlhJHu9ni2T9IaM1.js → CSXmTA6w6Pnbtqvb.js} +1 -1
- package/assets/{DfBERTJjS9LP0RSp.js → CT4czEKWIj1GeQN8.js} +1 -1
- package/assets/{Dg5QmWm0uBTEjZy4.js → CUYQlZz5zWsUdmRy.js} +1 -1
- package/assets/{ChbkkN_JqbAGrUwB.js → CbJWbjmv4bz4ppIZ.js} +303 -303
- package/assets/{C8G_px4dGuR2KjJh.js → Cf0zmfQYfJ7zM0Ya.js} +1 -1
- package/assets/{2XwVsSfo5wF5K-HA.js → Ch9w7xFxVMrvGuC_.js} +1 -1
- package/assets/{BZaXHnsJ6RkCZsnz.js → CmkgQ5-IG0BSCM3R.js} +3 -3
- package/assets/{DZt1ONN8CTTfmHGn.js → CmwNIrRssYuLN2fn.js} +606 -606
- package/assets/{t4qTfgdlstczTs2z.js → CnI4Nli8vtWdFKvf.js} +21 -21
- package/assets/{BdUFL3lVdwifHrf0.js → CnKX5SPVE2iuSK42.js} +1 -1
- package/assets/{DPjWOMoJ-elAAOmS.js → CpvJUGg9ckuCIpIS.js} +1 -1
- package/assets/{DN1RRp4qQfCq3JAO.js → Cxzowsi6ASdZtzeI.js} +1 -1
- package/assets/{BYbzf-TVwbKQPCyK.js → CzRvg04_TIbwBH5C.js} +3 -3
- package/assets/{D7oYfHgO0kEqAnPV.js → D-vo2bQyAmStQmD9.js} +1 -1
- package/assets/{Cl8_HMhRgzPzqFc7.js → D6d1DKL15m52ZCuC.js} +1 -1
- package/assets/{DUytcsu0MV3GnsrM.js → D8k9de_hen-KqBWe.js} +1 -1
- package/assets/{B3YRTBFhX61z6rJv.js → DE7G34oYbvrfXbJ7.js} +385 -380
- package/assets/{YtxPcFPURJF6CxWu.js → DFVQIZ2zZyAphhCF.js} +1 -1
- package/assets/{BynbAjhJnLjyP7HH.js → DGI_8HyNF0eAv0P5.js} +1 -1
- package/assets/{DtETpSxSR8C1voac.js → DGOgx3-IyO8bjF_t.js} +94 -94
- package/assets/{CyhngJo16o7G18lq.js → DIgPlkEabQdKNUQn.js} +1 -1
- package/assets/{KMTTqSwDthnXnD4F.js → DJGYlGr2Zj7SkYqc.js} +1 -1
- package/assets/{BazhmjGvrL7pqVQP.js → DJfpKncnYnrr28G0.js} +1 -1
- package/assets/{DV3PnM9lo0AW-YOA.js → DL8pez0eKo8arYPj.js} +3 -3
- package/assets/{BcWSfKJ9Atkc0X_p.js → DM-yGHahbfA_uarn.js} +1 -1
- package/assets/{DIAQ_WlBCWhgHt-z.js → DMDTS0LH9Ke9t-3z.js} +1 -1
- package/assets/{D5O3m16KeyU_oXqH.js → DNSWaXblwhTtI3w7.js} +1 -1
- package/assets/{D-PYDPXobSWiPh1D.js → DOSWSyKkK4eSi4PD.js} +2 -2
- package/assets/{Bbmh8_bdk_HrQ5Y6.js → DPLTGglaPovTg9e5.js} +1 -1
- package/assets/{WuKVkvMPAOmRaCDY.js → DPYFRLJbHGlrcrJq.js} +2 -2
- package/assets/{CqP4H_-kRRjcxO91.js → DRq6lQLndj73WT35.js} +1 -1
- package/assets/{BI8kb-rd9dW85XJs.js → DRzZ4bEyLRGVOLzV.js} +1 -1
- package/assets/{CnUYevzhUJYNqLad.js → DUbIxDAzW1dzrtdI.js} +1 -1
- package/assets/{Dawi8y7JWn6A9gAx.js → DXCTHw-ZutNIuo_2.js} +1 -1
- package/assets/{CEsRqYMd5IjnAzzX.js → D_tdoUtUe7cApQJn.js} +4 -4
- package/assets/{WH1Vl-MDWX3vSMn1.js → DaF9L7No8h8a-cqb.js} +2 -2
- package/assets/{BULbMlvQuB2WFBFE.js → DaHD9SY75O8wDy3p.js} +2 -2
- package/assets/{C6_KHS3-ROddeSbS.js → Daaro0HbHkKXkBP-.js} +2 -2
- package/assets/{CE-9VKh5-Xwxnxmu.js → DczQhB3mRSUw6GCf.js} +1 -1
- package/assets/Dfv_T_PQVL0O3lu5.js +14 -0
- package/assets/{Cidwv57sKqhIrpHP.js → Dhy6iU_09lrQnOAV.js} +28 -28
- package/assets/{DL8wUEe2Kx7bjDYP.js → Dk9zYXO3VoBhTdex.js} +1 -1
- package/assets/{DrKr8dXQEQ3Aukmt.js → DkQ4kxEKhKYQgfjK.js} +1 -1
- package/assets/{BLr8y5StL65VZQxG.js → Dlqk7XqKnAZ8Pcj3.js} +89 -89
- package/assets/{CwrOCbcS4IHLsERQ.js → DqSBb1HmgeU7eg_i.js} +84 -84
- package/assets/{D60N4r1a2YsNEwqj.js → Ds4TB1hn56-RK6_f.js} +1 -1
- package/assets/{L9RIicOHtZd2Rx8g.js → DtVSjxL6N_7WyM8Z.js} +1 -1
- package/assets/{CGLapmkNccH1g_ZJ.js → DuEtCJEnG_GnJzTX.js} +1 -1
- package/assets/{DJ2jlogB1DWlGM-J.js → DwNcvKM47ZHfvQM6.js} +1 -1
- package/assets/{DbbNJyL67KdOK7nc.js → DyiH3LlinD-38bG7.js} +1 -1
- package/assets/{DSyZaCML62gSnudE.js → Jy-_0a72nn5Iv1NK.js} +1 -1
- package/assets/{CPZgEZ2jKoo7hS6g.js → KMzONx2Ps841nJHj.js} +8 -8
- package/assets/{CndRpNCcV89ncnqz.js → LM2rVDHdB0jVUFcT.js} +1 -1
- package/assets/{D5PpcRuJYSv0i2y9.js → MosMza0-rXD8uHX_.js} +2 -2
- package/assets/{sIWsnPhnHm_MeeM9.js → NAWWzA_hk4wYtsPP.js} +2 -2
- package/assets/{BbU6aT_c6-4tkcCw.js → P6V3JAiRpC3BWceC.js} +1 -1
- package/assets/{CzoRlNMlpFz4iax3.js → TZnuVwhVjkOBax9F.js} +2 -2
- package/assets/{BEsnJS5jYwkHNcZd.js → TdDTOcC1TYhk6UuR.js} +1 -1
- package/assets/{CE5DhB5As59VJ-Ig.js → Xccc6oxtlSvJUDsC.js} +1 -1
- package/assets/{BPorbjbkH-VoV1M0.js → a2e_g9YI3J-lUD7-.js} +1 -1
- package/assets/{MzfM7zDcnyOFK1lK.js → b8yACuWy67eIj_j2.js} +1 -1
- package/assets/{CpyybSV2kR6b-SIB.js → bv3fZLUPzd14I58C.js} +263 -263
- package/assets/{DAliB9N1z6qnw4NO.js → doqBmhonQlHp-1Ud.js} +1 -1
- package/assets/{CCBQDcCHI47PZ0YQ.js → fEfisM0E2fUYKIyU.js} +5 -5
- package/assets/{q1rCdlJA6Z7tA6om.js → flby0g5gyZ9P2Wu2.js} +1 -1
- package/assets/{DKKLWACR9GsidnkS.js → g2Nu44uuSJFMzxEV.js} +2 -2
- package/assets/{Bz08KxFupjbdsoFx.js → mZt9BTEejCJZ4YK4.js} +1 -1
- package/assets/{Dol52NFQzLCbObuC.js → qc7rA-Z3a4rkVQPx.js} +225 -225
- package/assets/{DL7_uGw6KiZhlvR8.js → sJVPCrgeh0U6LbAK.js} +1 -1
- package/assets/{CHG4ZuzhyjGRuKBg.js → suLYEZBtGUhSYeB7.js} +1 -1
- package/assets/{qjyVXZeVSr_qZfX5.js → tWO-mE87mAuj1qih.js} +2 -2
- package/assets/{PiFW6uPRJABzK3V1.js → xD41vsQY6h60lCqz.js} +14 -14
- package/assets/{CeVCLRwjkH3_OXJu.js → yz2PTfYm_8EGJPM5.js} +1 -1
- package/index.js +191 -191
- package/lib.js +1 -1
- package/licenses/dependencies.txt +114 -114
- package/package.json +2 -2
- package/screenshot-page/assets/{Ce8b0lOBuWKlfLzJ.js → B-0-chiwq4MIUQy9.js} +1 -1
- package/screenshot-page/assets/{C9a-cNha8mBw5q-l.js → B7pXfEVkcbaMBMhc.js} +1 -1
- package/screenshot-page/assets/{CAQ7QWes7j7Fq8o5.js → BDRMUi2BsnBqytIq.js} +1 -1
- package/screenshot-page/assets/{DrnzLCa7NIirMxno.js → BEjJHVSbtlsNtoq7.js} +3 -3
- package/screenshot-page/assets/{JM0_BaBZ3yF6lnHC.js → BIuMiduMHSsTGacU.js} +2 -2
- package/screenshot-page/assets/{DvRXbyteeo_8sy8T.js → BKwDvElKinpn1IK0.js} +1 -1
- package/screenshot-page/assets/{Cbbl3H042tb0krfe.js → BTJ1NNUzHotNDiDe.js} +2 -2
- package/screenshot-page/assets/BbT5KRhoeAKLzy54.js +2 -0
- package/screenshot-page/assets/{BAxPBeFudRJ3OqIC.js → BcZPWw18bdj_ZvA9.js} +1 -1
- package/screenshot-page/assets/{B2PWru6Ty7ODc2Ie.js → Bfq6-treWd_rRiWl.js} +1 -1
- package/screenshot-page/assets/{Bml69dFBVggmVWda.js → Bg9UyX4yrB2mSdJt.js} +23 -23
- package/screenshot-page/assets/Bxq4FCQhyPbVhhaR.js +2 -0
- package/screenshot-page/assets/{DEAD_MduPNVoT_T6.js → CNB6WmYfGVZjlCKV.js} +1 -1
- package/screenshot-page/assets/{DtQFcMvZesaQ4xRf.js → CSFFMEKyxEFaykqL.js} +1 -1
- package/screenshot-page/assets/{DXbOBAxx4_2rt5KM.js → CXeJV1BW2CVemhPE.js} +1 -1
- package/screenshot-page/assets/{DMbFr7oWja7Qpsm6.js → C_YKEkTsGB_5gFNg.js} +2 -2
- package/screenshot-page/assets/{D7Y0npF3FMsGUjgO.js → CkxmJxdtjBIxYoMq.js} +1 -1
- package/screenshot-page/assets/CtiTwHzd_ZSzd3W2.js +1 -0
- package/screenshot-page/assets/{ONNSfQ8RDOqBDsvw.js → CwCu_r0BW41uLt3P.js} +2 -2
- package/screenshot-page/assets/{CEL5lzj2NDYwJ-HC.js → Cx9eq2x1gIXGki3Q.js} +1 -1
- package/screenshot-page/assets/D43IayseD2Cy8OZo.js +4 -0
- package/screenshot-page/assets/{CaOsWPeN_FXseSNg.js → D6Ciix7JAZtdKqmj.js} +1 -1
- package/screenshot-page/assets/{D4hvW_TF7vwc-Xlq.js → D6EXAYU-ZH8hjx_7.js} +2 -2
- package/screenshot-page/assets/D7Yt7xmUlA6-Lq0Q.js +48 -0
- package/screenshot-page/assets/{B3yyoGGGl8ICyeoC.js → D8KyhLvfyjLZW92H.js} +6 -6
- package/screenshot-page/assets/DBxAatsD6aWk7Zb6.js +586 -0
- package/screenshot-page/assets/{BjJ_nnNDZEPLpapa.js → DGkaCFHx4PsOJkFu.js} +1 -1
- package/screenshot-page/assets/{CGx-ZSMV9cPOzbu4.js → DM6hr-bvWV50-Oex.js} +2 -2
- package/screenshot-page/assets/{C5-sm7wuk62Nzm_p.js → DOVt9zHz7FQ2KUQM.js} +1 -1
- package/screenshot-page/assets/{Cengqc8q8BTmNfb_.js → DR-og7vslxlOZd8j.js} +1 -1
- package/screenshot-page/assets/{CaP_vH0sJFjNrSkW.js → DSTlKGmqncM7XHeW.js} +1 -1
- package/screenshot-page/assets/Dh14XQinAphjZOKC.js +1 -0
- package/screenshot-page/assets/{CiFaOHqsDQTE4RRi.js → DmDFKv_3APEWI-IY.js} +2 -2
- package/screenshot-page/assets/{DgLZb-StwCd9ftop.js → Dt8JxbBBr2TeDflQ.js} +1 -1
- package/screenshot-page/assets/Dxi-bXNjS-CpC5Qr.js +1 -0
- package/screenshot-page/assets/{BT2nkqpteSR9booH.js → DynKB5GH-vfFMJEy.js} +1 -1
- package/screenshot-page/assets/{C-n8BDiksNjX6Orz.js → FqdZRM336KMEcsbU.js} +1 -1
- package/screenshot-page/assets/Oay0yGsGYgJDzy8r.js +1 -0
- package/screenshot-page/assets/{Cv0zGWEBpmC07Jps.js → Pt9ne0xkE2icD3Ih.js} +1 -1
- package/screenshot-page/assets/{EOw6vVvEfYNga9b4.js → QZg76Jflu3Q808W3.js} +1 -1
- package/screenshot-page/assets/{BJct69niPZc8L_gZ.js → WTrYzPnMQhYDILMR.js} +1 -1
- package/screenshot-page/assets/{BTKdl-XR9TlWaFe7.js → a3fvt1Klg1uGE7p6.js} +5 -5
- package/screenshot-page/assets/{Be1S5czBx0lxhYLW.js → clrFU8i-0wNkmbs7.js} +1 -1
- package/screenshot-page/assets/r2HZG9_SMzF3__ID.js +13 -0
- package/screenshot-page/index.html +7 -7
- package/types/scripting-api.json +5745 -5743
- package/types/scripting.d.ts +22 -3
- package/assets/DU2Dzzu0oY_eDN6i.js +0 -14
- package/assets/bsnhRuD-K-qhW-y5.js +0 -304
- package/screenshot-page/assets/37LAUhU1_yKtsBlH.js +0 -2
- package/screenshot-page/assets/B3c6NBI22E5SZWG-.js +0 -1
- package/screenshot-page/assets/B56KxTxcAXDom0g4.js +0 -13
- package/screenshot-page/assets/Bh2DVAOWvWfylt77.js +0 -1
- package/screenshot-page/assets/BoiQQ-37KQn6NcLT.js +0 -1
- package/screenshot-page/assets/CcVllJMjVF6SvVVq.js +0 -2
- package/screenshot-page/assets/CyfTQE0Z76Rp4Fbt.js +0 -586
- package/screenshot-page/assets/D2CxEHjkPQMAxzWl.js +0 -1
- package/screenshot-page/assets/DVQnEWIisXaOXb_G.js +0 -4
- package/screenshot-page/assets/_zzVe2R8R4vwuc5q.js +0 -48
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v0.8.0-beta.24
|
|
3
|
+
*
|
|
4
|
+
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
|
+
* License: SheetXL EULA — https://www.sheetxl.com/eula
|
|
6
|
+
*/
|
|
7
|
+
import { $ as a, A as s, B as e, C as o, D as t, E as r, F as l, G as i, H as n, I as c, J as m, K as I, L as g, M as d, N as C, O as S, P as p, Q as u, R, S as L, St as T, T as E, U as y, V as h, W as k, X as b, Y as f, Z as F, _ as x, _t as O, a as U, at as P, b as N, bt as A, c as D, ct as v, d as _, dt as B, et as M, f as w, ft as W, g as K, gt as G, h as z, ht as V, i as j, it as H, j as X, k as Y, l as q, lt as Q, m as J, mt as Z, n as $, nt as aa, o as sa, ot as ea, p as oa, pt as ta, q as ra, r as la, rt as ia, s as na, st as ca, t as ma, tt as Ia, u as ga, ut as da, v as Ca, vt as Sa, w as pa, x as ua, xt as Ra, y as La, yt as Ta, z as Ea } from "./DMDTS0LH9Ke9t-3z.js";
|
|
8
|
+
import { a as ya, i as ha, o as ka } from "./TZnuVwhVjkOBax9F.js";
|
|
9
|
+
import { Et as ba, G as fa, Gt as Fa, N as xa, O as Oa, U as Ua, V as Pa, X as Na, ct as Aa, i as Da, it as va, m as _a, mt as Ba, o as Ma, wt as wa, x as Wa, y as Ka, zt as Ga } from "./B16G2473LTkZP6Mq.js";
|
|
10
|
+
import { a as za, c as Va, d as ja, f as Ha, i as Xa, l as Ya, m as qa, n as Qa, o as Ja, p as Za, r as $a, s as as, t as ss, u as es } from "./DRzZ4bEyLRGVOLzV.js";
|
|
11
|
+
import { B as os, Br as ts, Bt as rs, Ca as ls, Di as is, Dt as ns, Ei as cs, En as ms, Er as Is, Ga as gs, Gn as ds, Gr as Cs, Hn as Ss, Ji as ps, Kt as us, Lt as Rs, Mi as Ls, Na as Ts, Nn as Es, Nt as ys, Oa as hs, On as ks, Pa as bs, Pt as fs, Qi as Fs, Qr as xs, Qt as Os, St as Us, Tn as Ps, Tr as Ns, U as As, Ui as Ds, Ur as vs, Vi as _s, Vt as Bs, Wn as Ms, Wr as ws, Wt as Ws, X as Ks, Xi as Gs, Ya as zs, Yn as Vs, Zt as js, _i as Hs, an as Xs, at as Ys, b as qs, ca as Qs, do as Js, en as Zs, et as $s, fa as ae, ft as se, g as ee, ho as oe, ht as te, io as re, ir as le, k as ie, kt as ne, l as ce, la as me, ln as Ie, mo as ge, na as de, ni as Ce, nn as Se, pa as pe, qr as ue, qt as Re, rt as Le, si as Te, sn as Ee, so as ye, ur as he, v as ke, xa as be, xr as fe, xt as Fe, yt as xe, zi as Oe, zn as Ue } from "./C9iFJ52KwQTePQ81.js";
|
|
12
|
+
import { n as Pe, r as Ne } from "./76dPHG5RYA7MUV_g.js";
|
|
13
|
+
import { A as Ae, C as De, D as ve, E as _e, F as Be, I as Me, L as we, M as We, N as Ke, O as Ge, P as ze, R as Ve, S as je, T as He, _ as Xe, a as Ye, b as qe, c as Qe, d as Je, f as Ze, g as $e, h as ao, i as so, j as eo, k as oo, l as to, m as ro, n as lo, o as io, p as no, r as co, s as mo, t as Io, u as go, v as Co, w as So, x as po, y as uo, z as Ro } from "./CbJWbjmv4bz4ppIZ.js";
|
|
14
|
+
export { ds as AbstractCollection, ha as AbstractMovableContent, Js as AddressUtils, o as AnchorLocation, _e as ArrayBackingStore, is as AutoFill, ia as AxisSelection, Ye as BUILD_DATE, Q as BufferLogger, Ra as BufferUtils, ts as CellControlRegistry, Rs as CellImage, ks as CellImageKind, O as ChainedError, de as ChartElementSelection, Ne as ChartKinds, zs as CheckboxKind, R as ClipboardUtils, Ua as Color, U as CommonMessages, V as CommonUtils, Fe as Condition, d as ConsoleLogger, S as ConsoleNotifier, ea as CoordUtils, $a as DEFAULT_LOCALE_PROFILE, p as DEFAULT_LOG_TIMEOUT_MS, W as DOMUtils, Te as DateUtils, L as DefaultLanguagePackService, qe as DefaultWorkbookIO, l as Deferred, pa as Direction, K as ENGLISH_TAG, ae as EXTERNAL_LINK_PATH_REL_TYPE, Sa as ErrorUtils, Ia as ExpectedError, $e as ExternalRangeClipboardItem, Me as FONTS_KIND, to as Fetcher, Na as FontUtils, qa as FormulaContext, es as FormulaError, xs as FormulaText, po as FunctionDeclarations, Ms as GeomUtils, os as Hyperlink, Bs as HyperlinkKind, Us as IAnchored, Fa as IBorders, gs as ICalculation, Ns as ICell, Ge as ICellHeaderRange, Oe as ICellRange, We as ICellRanges, _a as ICellStyle, Ga as IColor, pe as ICondition, As as IConditionalFormat, go as ICustomProperty, Is as IDataValidation, Qe as IDropDown, wa as IEffect, xa as IFill, fa as IFont, le as IFontCollection, Wa as IFontStyle, we as IFormControl, Ma as IGeometry, so as IMovable, ye as IPageLayout, eo as IPicture, Ts as IPivotTable, Za as IRange, ja as IRangeStats, Ke as IResource, fe as IRichDataKind, ps as IScript, ba as IShape, ce as ISheet, ys as ISlicerStyle, co as ISort, ke as ISparklineGroup, Ka as IStroke, ls as ITable, Ls as ITableStyle, Os as IText, Aa as ITextFrame, Be as ITheme, hs as IThemeCollection, lo as IWorkbookIO, uo as IWorkbookView, ns as IWorksheetView, v as ImageUtils, B as InternalClipboard, Xa as InteropScalarType, t as InvalidPasswordError, je as LOCALES_KIND, n as LOG_TIMEOUT_ENV, na as LazyLoadError, La as LazyModules, ws as LicenseManager, E as MimeType, ee as MovableContentRegistry, Es as NamedStyleCollection, ta as NotImplementedError, m as Notifier, j as NullNotAllowedError, Ba as NumberFormat, as as Observable, F as OutOfBoundsError, z as OverlappingRange, Pe as PaintUtils, x as PartialError, A as PasswordRequiredError, Ro as PersonCollection, e as ProtectedError, u as RangeAxis, io as RangeClipboardItem, k as RangeSweep, Io as RectAlignment, me as Registry, Ks as Resource, Le as ResourceCollection, $s as RichArray, Se as RichArrayKind, Ce as RichDataCollection, te as RichDataRegistry, Hs as RichRecord, ie as RichText, cs as RichTextKind, He as SHEETXL_RESOURCE_KINDS, Pa as SYSTEM_COLOR_CSS_PREFIX, Ja as Scalar, Ha as ScalarType, Qa as ScopedFormulaContext, q as SelectionTraversalUtils, Oa as ShapeStyleUtils, Ys as SimpleFontFace, Xs as SlicerStyleCollection, Re as Sort, Ee as StringCollection, ss as StubbedFormulaContext, ge as StyleCollection, no as Table, js as TableStyleCollection, se as TextRotation, qs as TextStacked, Ue as TextUtils, Ws as Theme, Ps as ThemeCollection, ma as TimerUtils, ka as TransactionConflictError, mo as TransactionSaveStateManager, ya as TransactionStore, Je as TransactionUndoManager, Fs as Tuple, s as TypedError, J as TypedObject, r as TypesUtils, c as UndoManager, Ve as VERSION, Va as ValueKind, Ya as WildCard, ze as Workbook, Ae as WorkbookIO, Xe as WorkbookOrigin, ro as WorkbookView, xe as Worksheet, H as addResourceRoot, So as builtInStyleNameDisplay, Qs as createCellRangeCounts, Co as createChart, N as createLanguagePackService, b as createLogChannels, ca as createPieceStore, sa as createSeededRandom, I as defineLazyModule, Vs as externalBookClosedName, ne as externalBookFileName, he as externalBookLocation, oe as externalBookOpenName, f as fetchLocaleResource, C as fetchLocaleResourceAll, vs as findLabel, D as formatMessage, ve as getBuiltInFunctionNames, re as getLanguagePack, Da as getLocaleProfile, i as getLocaleResourceBase, Cs as getScriptRuntime, Ze as getScriptingApi, oo as getScriptingDeclarations, g as growInt32, a as growPieces, T as hashText, ua as instantiateWasmBindgen, w as instantiateWasmBindgenSync, $ as interpolate, za as isLazyValue, la as keyedRandom, y as listLocaleResources, X as listResources, aa as loadPackageLocales, Z as loadResource, us as localizeBoolean, rs as localizeErrorLabel, va as makeLocaleProfile, da as mergeMessageFiles, ga as messageKey, bs as normalizeLabel, Y as onResourceRootsChange, ms as parseBooleanLocal, fs as parseErrorLocal, Ie as parseExternalScope, De as parseFormulaLiteral, G as parseLogTimeout, be as pivotBoxOf, ue as pivotCellFormatsOf, Ds as pivotControlsIn, Gs as pivotFieldAt, ao as pivotStylePreviewOf, Ca as registerPackageMessages, Zs as registerSdkLocales, Ta as releaseChannel, h as resolveLocaleChain, P as resolveLocaleResource, Ea as resolveLogTimeout, M as setLocaleResourceBase, Ss as sourceEntryFromPath, oa as t, _ as trackLocaleRegistration, ra as whenLocalesRegistered, _s as withScriptRuntime };
|
|
@@ -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.24
|
|
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 { p as t, tt as e, u as s } from "./
|
|
8
|
-
import { i } from "./
|
|
9
|
-
import { Bn as n,
|
|
10
|
-
var f = "SlicerStyleLight1", v = "ascending", p = "showItemsWithDataAtTop", b = s("op.setSlicerCaption"), S = s("op.setSlicerStyle"), C = s("op.setSlicerLayout"), k = s("op.setSlicerSort"), y = s("op.selectSlicerItems"), I =
|
|
7
|
+
import { p as t, tt as e, u as s } from "./DMDTS0LH9Ke9t-3z.js";
|
|
8
|
+
import { i } from "./TZnuVwhVjkOBax9F.js";
|
|
9
|
+
import { Bn as n, Ii as o, L as r, Nr as a, Ot as l, St as h, _ as u, dn as c, on as d, or as g, pa as _, ua as m } from "./C9iFJ52KwQTePQ81.js";
|
|
10
|
+
var f = "SlicerStyleLight1", v = "ascending", p = "showItemsWithDataAtTop", b = s("op.setSlicerCaption"), S = s("op.setSlicerStyle"), C = s("op.setSlicerLayout"), k = s("op.setSlicerSort"), y = s("op.selectSlicerItems"), I = _.BuiltInSelectorNames.Display, w = Object.freeze({
|
|
11
11
|
selector: I,
|
|
12
12
|
scope: "column"
|
|
13
13
|
}), P = Object.freeze({ transactional: !1 }), T = class extends i {
|
|
14
14
|
constructor(t) {
|
|
15
|
-
const e =
|
|
15
|
+
const e = d(t.json?.source)?.column ?? t.json?.pivot?.sourceName ?? "";
|
|
16
16
|
let s = t.name;
|
|
17
17
|
!s && t.getMovable && (s = e || null), super({
|
|
18
18
|
...t,
|
|
@@ -30,7 +30,7 @@ var f = "SlicerStyleLight1", v = "ascending", p = "showItemsWithDataAtTop", b =
|
|
|
30
30
|
return "Slicer";
|
|
31
31
|
}
|
|
32
32
|
getDefaultAnchorType() {
|
|
33
|
-
return
|
|
33
|
+
return h.Type.Absolute;
|
|
34
34
|
}
|
|
35
35
|
getSourceName() {
|
|
36
36
|
return this._data()?.pivot?.sourceName ?? this._getColumnName();
|
|
@@ -47,7 +47,7 @@ var f = "SlicerStyleLight1", v = "ascending", p = "showItemsWithDataAtTop", b =
|
|
|
47
47
|
getPivotField() {
|
|
48
48
|
const t = this._getPivotTables()?.[0];
|
|
49
49
|
if (!t) return null;
|
|
50
|
-
const e =
|
|
50
|
+
const e = o(t._getCache(), this.getSourceName());
|
|
51
51
|
return e < 0 ? null : t.getFields()[e] ?? null;
|
|
52
52
|
}
|
|
53
53
|
_getSource() {
|
|
@@ -56,7 +56,7 @@ var f = "SlicerStyleLight1", v = "ascending", p = "showItemsWithDataAtTop", b =
|
|
|
56
56
|
}
|
|
57
57
|
setName(s) {
|
|
58
58
|
const i = this._getWorkbook();
|
|
59
|
-
if (i &&
|
|
59
|
+
if (i && m(i, s, this) !== s) throw new e(t("error.slicer.nameTaken", { name: s }));
|
|
60
60
|
return super.setName(s);
|
|
61
61
|
}
|
|
62
62
|
getCaption() {
|
|
@@ -72,7 +72,7 @@ var f = "SlicerStyleLight1", v = "ascending", p = "showItemsWithDataAtTop", b =
|
|
|
72
72
|
return this._set({ hiddenCaption: !t || void 0 }, b, e);
|
|
73
73
|
}
|
|
74
74
|
getCacheName() {
|
|
75
|
-
return this._data()?.cacheName || (
|
|
75
|
+
return this._data()?.cacheName || (g(this._getWorkbook()).get(this) ?? n(this._getColumnName()));
|
|
76
76
|
}
|
|
77
77
|
getStyle() {
|
|
78
78
|
return this._data()?.style ?? f;
|
|
@@ -135,7 +135,7 @@ var f = "SlicerStyleLight1", v = "ascending", p = "showItemsWithDataAtTop", b =
|
|
|
135
135
|
if (!s) return N;
|
|
136
136
|
const i = await s.getItems(w), n = s.getCondition(), o = n ? function(t, e) {
|
|
137
137
|
const s = t.toJSON();
|
|
138
|
-
if (s.operator !==
|
|
138
|
+
if (s.operator !== _.BuiltInOperatorNames.InSet) return () => !1;
|
|
139
139
|
const i = s.param ?? {}, n = /* @__PURE__ */ new Set(), o = i.items ?? [];
|
|
140
140
|
for (let t = 0; t < o.length; t++) null !== o[t] && n.add(String(o[t]).toLowerCase());
|
|
141
141
|
const r = i.dateGroups ?? [], a = e.dates?.[e.dates.length - 1] ?? null;
|
|
@@ -226,11 +226,11 @@ var f = "SlicerStyleLight1", v = "ascending", p = "showItemsWithDataAtTop", b =
|
|
|
226
226
|
}
|
|
227
227
|
const c = i.hasBlanks && n.has(F);
|
|
228
228
|
if (i.hasBlanks && !c && (h = !1), h && !i.truncated) return this.clearFilters(e);
|
|
229
|
-
const
|
|
230
|
-
return l.length > 0 && (
|
|
229
|
+
const d = { items: a };
|
|
230
|
+
return l.length > 0 && (d.dateGroups = l), c && (d.blank = !0), await s.setCondition({
|
|
231
231
|
selector: I,
|
|
232
|
-
operator:
|
|
233
|
-
param:
|
|
232
|
+
operator: _.BuiltInOperatorNames.InSet,
|
|
233
|
+
param: d
|
|
234
234
|
}, !1, {
|
|
235
235
|
description: y,
|
|
236
236
|
...e
|
|
@@ -280,7 +280,7 @@ var f = "SlicerStyleLight1", v = "ascending", p = "showItemsWithDataAtTop", b =
|
|
|
280
280
|
}
|
|
281
281
|
getDateRange() {
|
|
282
282
|
const t = this._timelineField(), e = t?.table._getModel();
|
|
283
|
-
return e ?
|
|
283
|
+
return e ? u(e, t.field) : null;
|
|
284
284
|
}
|
|
285
285
|
async setDateRange(t, e) {
|
|
286
286
|
const s = this.isITimeline ? this._getPivotTables() ?? [] : [], i = this._getWorkbook();
|
|
@@ -288,7 +288,7 @@ var f = "SlicerStyleLight1", v = "ascending", p = "showItemsWithDataAtTop", b =
|
|
|
288
288
|
const n = this.getSourceName();
|
|
289
289
|
return await i.doBatch(async () => {
|
|
290
290
|
for (const e of s) {
|
|
291
|
-
const s =
|
|
291
|
+
const s = o(e._getCache(), n);
|
|
292
292
|
s >= 0 && await e._setDateRange(s, n, t);
|
|
293
293
|
}
|
|
294
294
|
}, {
|
|
@@ -304,23 +304,23 @@ var f = "SlicerStyleLight1", v = "ascending", p = "showItemsWithDataAtTop", b =
|
|
|
304
304
|
const t = e.table._getModel(), s = e.table._getCache();
|
|
305
305
|
return {
|
|
306
306
|
cacheId: e.table.getCacheId(),
|
|
307
|
-
range: t ?
|
|
307
|
+
range: t ? u(t, e.field) : null,
|
|
308
308
|
filtered: !!t?.filters?.some((t) => t.field === e.field && void 0 === t.dataField),
|
|
309
|
-
dates:
|
|
309
|
+
dates: c(s, e.field)
|
|
310
310
|
};
|
|
311
311
|
}
|
|
312
312
|
if (void 0 === t.cacheId) return null;
|
|
313
|
-
const s = this._getWorkbook()?._getPivotCache?.(t.cacheId)?.toJSON() ?? null, i =
|
|
313
|
+
const s = this._getWorkbook()?._getPivotCache?.(t.cacheId)?.toJSON() ?? null, i = o(s, t.sourceName);
|
|
314
314
|
return {
|
|
315
315
|
cacheId: t.cacheId,
|
|
316
316
|
range: null,
|
|
317
317
|
filtered: !1,
|
|
318
|
-
dates: s && i >= 0 ?
|
|
318
|
+
dates: s && i >= 0 ? c(s, i) : null
|
|
319
319
|
};
|
|
320
320
|
}
|
|
321
321
|
_timelineField() {
|
|
322
322
|
if (!this.isITimeline) return null;
|
|
323
|
-
const t = this._getPivotTables()?.[0], e = t ?
|
|
323
|
+
const t = this._getPivotTables()?.[0], e = t ? o(t._getCache(), this.getSourceName()) : -1;
|
|
324
324
|
return e >= 0 ? {
|
|
325
325
|
table: t,
|
|
326
326
|
field: e
|
|
@@ -359,10 +359,10 @@ var f = "SlicerStyleLight1", v = "ascending", p = "showItemsWithDataAtTop", b =
|
|
|
359
359
|
if (!t?.tabular || t.timeline) return null;
|
|
360
360
|
const e = this._getPivotTables()?.[0], s = e ? e.getCacheId() : t.cacheId;
|
|
361
361
|
if (void 0 === s) return null;
|
|
362
|
-
const i = this._getWorkbook(), n = e ? e._getModel() : {},
|
|
363
|
-
return !n || !
|
|
362
|
+
const i = this._getWorkbook(), n = e ? e._getModel() : {}, a = e ? e._getCache() : i?._getPivotCache?.(s)?.toJSON() ?? null, l = o(a, t.sourceName), h = (e?.getWorksheet() ?? this.getMovable()?.getRange().getWorksheet())?.getRuntime();
|
|
363
|
+
return !n || !a || l < 0 || !h ? null : {
|
|
364
364
|
cacheId: s,
|
|
365
|
-
items:
|
|
365
|
+
items: r(n, a, l, this.getSortOrder(), this.getCrossFilter(), h.getLocaleProfile())
|
|
366
366
|
};
|
|
367
367
|
}
|
|
368
368
|
async _showPivotItems(t, e) {
|
|
@@ -371,7 +371,7 @@ var f = "SlicerStyleLight1", v = "ascending", p = "showItemsWithDataAtTop", b =
|
|
|
371
371
|
const n = this.getSourceName();
|
|
372
372
|
await i.doBatch(async () => {
|
|
373
373
|
for (const e of s) {
|
|
374
|
-
const s =
|
|
374
|
+
const s = o(e._getCache(), n);
|
|
375
375
|
s >= 0 && await e._showSlicerItems(s, t);
|
|
376
376
|
}
|
|
377
377
|
}, {
|
|
@@ -413,9 +413,9 @@ var f = "SlicerStyleLight1", v = "ascending", p = "showItemsWithDataAtTop", b =
|
|
|
413
413
|
}
|
|
414
414
|
_resolve() {
|
|
415
415
|
if (this._closed) return null;
|
|
416
|
-
const t =
|
|
416
|
+
const t = d(this._getSource());
|
|
417
417
|
if (!t) return null;
|
|
418
|
-
const e =
|
|
418
|
+
const e = l(this._getWorkbook(), t.table), s = e?.getColumnByName(t.column) ?? null;
|
|
419
419
|
return s ? (this._columnName = s.getName(), {
|
|
420
420
|
table: e,
|
|
421
421
|
column: s
|
|
@@ -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.24
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: SheetXL EULA — https://www.sheetxl.com/eula
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v0.8.0-beta.24
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: SheetXL EULA — https://www.sheetxl.com/eula
|
|
@@ -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.24
|
|
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 {
|
|
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
|
|
7
|
+
import { ht as t } from "./DMDTS0LH9Ke9t-3z.js";
|
|
8
|
+
import { Et as e, G as o, Gt as s, N as r, O as i, ct as n, m as l } from "./B16G2473LTkZP6Mq.js";
|
|
9
|
+
import { p as a, u as c } from "./DRzZ4bEyLRGVOLzV.js";
|
|
10
|
+
import { Nt as u, Qi as d, do as h, pa as p, qt as m } from "./C9iFJ52KwQTePQ81.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 "./bv3fZLUPzd14I58C.js";
|
|
12
|
+
import { a as ot, c as st, l as rt, r as it, s as nt } from "./DqSBb1HmgeU7eg_i.js";
|
|
13
|
+
import "./BrYc6PLonux_gI6b.js";
|
|
14
14
|
var dt = class {
|
|
15
15
|
constructor(t) {
|
|
16
16
|
this.list = t;
|
|
@@ -311,42 +311,42 @@ var dt = class {
|
|
|
311
311
|
}
|
|
312
312
|
return o;
|
|
313
313
|
}
|
|
314
|
-
processFont(t, e,
|
|
315
|
-
t.getValAttrAsBoolean("b", e, !0) && (
|
|
314
|
+
processFont(t, e, s) {
|
|
315
|
+
t.getValAttrAsBoolean("b", e, !0) && (s.weight = 700), t.getValAttrAsBoolean("i", e, !0) && (s.style = o.Style.Italic), t.getValAttrAsBoolean("strike", e, !0) && (s.strike = X(!0));
|
|
316
316
|
const r = t.evaluate("u", e);
|
|
317
317
|
if (r) {
|
|
318
318
|
const t = r.getAttribute("val");
|
|
319
|
-
|
|
319
|
+
s.underline = q(t);
|
|
320
320
|
}
|
|
321
321
|
const i = N(t.evaluate("vertAlign", e)?.getAttribute("val"));
|
|
322
|
-
void 0 !== i && (
|
|
322
|
+
void 0 !== i && (s.baseline = i), G(t, e, s, "sz", "size");
|
|
323
323
|
const n = t.evaluate("color", e);
|
|
324
|
-
this.processDataBarColor(t, n,
|
|
324
|
+
this.processDataBarColor(t, n, s, "color"), s.color || (s.color = "auto"), M(t, e, s, "name", "family"), M(t, e, s, "rFont", "family");
|
|
325
325
|
const l = t.evaluate("family", e);
|
|
326
326
|
if (l) {
|
|
327
327
|
const t = l.getAttribute("val");
|
|
328
328
|
if (t) switch (t) {
|
|
329
329
|
case "1":
|
|
330
|
-
|
|
330
|
+
s.fallbacks = ["serif"];
|
|
331
331
|
break;
|
|
332
332
|
case "2":
|
|
333
|
-
|
|
333
|
+
s.fallbacks = ["sans-serif"];
|
|
334
334
|
break;
|
|
335
335
|
case "3":
|
|
336
|
-
|
|
336
|
+
s.fallbacks = ["monospace"];
|
|
337
337
|
break;
|
|
338
338
|
case "4":
|
|
339
|
-
|
|
339
|
+
s.fallbacks = ["cursive"];
|
|
340
340
|
break;
|
|
341
|
-
case "5":
|
|
341
|
+
case "5": s.fallbacks = ["fantasy"];
|
|
342
342
|
}
|
|
343
343
|
}
|
|
344
|
-
W(
|
|
345
|
-
for (const
|
|
346
|
-
const r = g(
|
|
347
|
-
void 0 !== r && (
|
|
344
|
+
W(s, t.evaluate("scheme", e)?.getAttribute("val")), J(t, e, s, "shadow", "shadow", !0), J(t, e, s, "outline", "outline", !0);
|
|
345
|
+
for (const o of ["condense", "extend"]) {
|
|
346
|
+
const r = g(o, !!t.getValAttrAsBoolean(o, e, !0));
|
|
347
|
+
void 0 !== r && (s.letterSpacing = r);
|
|
348
348
|
}
|
|
349
|
-
return z(t, e,
|
|
349
|
+
return z(t, e, s, "charset", "charset"), s;
|
|
350
350
|
}
|
|
351
351
|
processFills(t, e, o) {
|
|
352
352
|
if (!e) return;
|
|
@@ -359,25 +359,25 @@ var dt = class {
|
|
|
359
359
|
}
|
|
360
360
|
return o;
|
|
361
361
|
}
|
|
362
|
-
processFill(t, e,
|
|
363
|
-
const i = { type:
|
|
362
|
+
processFill(t, e, o, s) {
|
|
363
|
+
const i = { type: r.Type.None }, n = e.childNodes;
|
|
364
364
|
let l = !1;
|
|
365
365
|
const a = n.length;
|
|
366
366
|
for (let e = 0; !l && e < a; e++) {
|
|
367
367
|
const o = n.item(e);
|
|
368
368
|
1 === o.nodeType && ("gradientFill" === o.localName ? (this.processGradientFill(t, o, i), l = !0) : "patternFill" === o.localName && (this.processPatternFill(t, o, i), l = !0));
|
|
369
369
|
}
|
|
370
|
-
return s
|
|
370
|
+
return o[s] = i, o;
|
|
371
371
|
}
|
|
372
|
-
processGradientFill(t, e,
|
|
372
|
+
processGradientFill(t, e, o) {
|
|
373
373
|
if (!e) return;
|
|
374
|
-
|
|
375
|
-
const
|
|
376
|
-
|
|
374
|
+
o.type = r.Type.Gradient;
|
|
375
|
+
const s = [];
|
|
376
|
+
o.stops = s;
|
|
377
377
|
const i = e.getAttribute("type");
|
|
378
|
-
i && (
|
|
378
|
+
i && (o.gradientType = i);
|
|
379
379
|
const n = e.hasAttribute("degree") ? parseFloat(e.getAttribute("degree")) : 0;
|
|
380
|
-
(n + 90) % 360 != 0 && (
|
|
380
|
+
(n + 90) % 360 != 0 && (o.angle = (n + 90) % 360), (e.hasAttribute("left") || e.hasAttribute("top") || e.hasAttribute("right") || e.hasAttribute("bottom")) && (o.focus = {
|
|
381
381
|
left: xt(e.getAttribute("left")),
|
|
382
382
|
top: xt(e.getAttribute("top")),
|
|
383
383
|
right: xt(e.getAttribute("right")),
|
|
@@ -388,29 +388,29 @@ var dt = class {
|
|
|
388
388
|
const o = l.item(e);
|
|
389
389
|
if (1 === o.nodeType && "stop" === o.localName) {
|
|
390
390
|
const e = {};
|
|
391
|
-
|
|
392
|
-
const
|
|
393
|
-
this.processDataBarColor(t,
|
|
391
|
+
s.push(e), e.offset = parseFloat(o.getAttribute("position") ?? "");
|
|
392
|
+
const r = t.evaluate("color", o);
|
|
393
|
+
this.processDataBarColor(t, r, e, "color");
|
|
394
394
|
}
|
|
395
395
|
}
|
|
396
|
-
return
|
|
396
|
+
return o;
|
|
397
397
|
}
|
|
398
|
-
processPatternFill(t, e,
|
|
398
|
+
processPatternFill(t, e, o) {
|
|
399
399
|
if (!e) return;
|
|
400
|
-
const
|
|
401
|
-
if (i ===
|
|
402
|
-
|
|
400
|
+
const s = t.getVisitorParamsState().get("processingDXFs"), i = e.getAttribute("patternType") || (s ? r.BuiltInSheetPattern.Solid : r.BuiltInSheetPattern.None);
|
|
401
|
+
if (i === r.BuiltInSheetPattern.None) return { none: !0 };
|
|
402
|
+
o.type = r.Type.Pattern, i && (o.patternType = i);
|
|
403
403
|
let n = "foreground", l = "background";
|
|
404
|
-
const a =
|
|
404
|
+
const a = o.patternType === r.BuiltInSheetPattern.Solid && s;
|
|
405
405
|
let c = a ? "dk1" : "lt1", u = a ? "lt1" : "dk1";
|
|
406
406
|
if (a) {
|
|
407
407
|
const t = n;
|
|
408
408
|
n = l, l = t;
|
|
409
409
|
}
|
|
410
410
|
const d = t.evaluate("fgColor", e);
|
|
411
|
-
this.processDataBarColor(t, d,
|
|
411
|
+
this.processDataBarColor(t, d, o, n, c);
|
|
412
412
|
const h = t.evaluate("bgColor", e);
|
|
413
|
-
return this.processDataBarColor(t, h,
|
|
413
|
+
return this.processDataBarColor(t, h, o, l, u), a && (o.foreground || (o.foreground = "lt1"), o.background || (o.background = "dk1")), o;
|
|
414
414
|
}
|
|
415
415
|
processBorders(t, e, o, s) {
|
|
416
416
|
if (!e) return;
|
|
@@ -423,21 +423,21 @@ var dt = class {
|
|
|
423
423
|
}
|
|
424
424
|
return o;
|
|
425
425
|
}
|
|
426
|
-
processBorder(t, e, o,
|
|
426
|
+
processBorder(t, e, o, r, i) {
|
|
427
427
|
if (!e) return;
|
|
428
428
|
const n = {};
|
|
429
|
-
this.processBorderStroke(t, e, n,
|
|
429
|
+
this.processBorderStroke(t, e, n, s.Edge.Left), this.processBorderStroke(t, e, n, s.Edge.Right), i ? (n.right || n.left) && (n.right ? n.vertical = { ...n.right } : n.vertical = { ...n.left }) : this.processBorderStroke(t, e, n, s.Edge.Vertical), this.processBorderStroke(t, e, n, s.Edge.Top), this.processBorderStroke(t, e, n, s.Edge.Bottom), i ? (n.bottom || n.top) && (n.bottom ? n.horizontal = { ...n.bottom } : n.horizontal = { ...n.top }) : this.processBorderStroke(t, e, n, s.Edge.Horizontal);
|
|
430
430
|
const l = this.processBorderStroke(t, e, {}, "diagonal");
|
|
431
|
-
return l && (Ct(e.getAttribute("diagonalUp")) && (n.diagonalUp = { ...l }), Ct(e.getAttribute("diagonalDown")) && (n.diagonalDown = { ...l })), o[
|
|
431
|
+
return l && (Ct(e.getAttribute("diagonalUp")) && (n.diagonalUp = { ...l }), Ct(e.getAttribute("diagonalDown")) && (n.diagonalDown = { ...l })), o[r] = n, o;
|
|
432
432
|
}
|
|
433
|
-
processBorderStroke(t, e, o,
|
|
433
|
+
processBorderStroke(t, e, o, r) {
|
|
434
434
|
if (!e) return;
|
|
435
|
-
const i = t.evaluate(
|
|
435
|
+
const i = t.evaluate(r, e);
|
|
436
436
|
if (!i) return;
|
|
437
437
|
const n = {};
|
|
438
|
-
i.hasAttribute("style") ? n.style = i.getAttribute("style") : t.getVisitorParamsState().get("processingDXFs") && (n.style =
|
|
438
|
+
i.hasAttribute("style") ? n.style = i.getAttribute("style") : t.getVisitorParamsState().get("processingDXFs") && (n.style = s.StrokeStyle.None);
|
|
439
439
|
const l = t.evaluate("color", i);
|
|
440
|
-
return l && this.processDataBarColor(t, l, n, "color"), Object.keys(n).length > 0 ? o[
|
|
440
|
+
return l && this.processDataBarColor(t, l, n, "color"), Object.keys(n).length > 0 ? o[r] = n : null;
|
|
441
441
|
}
|
|
442
442
|
}, xt = (t) => {
|
|
443
443
|
if (!t) return 0;
|
|
@@ -571,15 +571,15 @@ var dt = class {
|
|
|
571
571
|
5: "fantasy"
|
|
572
572
|
};
|
|
573
573
|
function Rt(t) {
|
|
574
|
-
const e = {},
|
|
575
|
-
for (let t = 0; t <
|
|
576
|
-
const r =
|
|
574
|
+
const e = {}, s = t.childNodes;
|
|
575
|
+
for (let t = 0; t < s.length; t++) {
|
|
576
|
+
const r = s.item(t);
|
|
577
577
|
if (1 === r.nodeType) switch (r.localName) {
|
|
578
578
|
case "b":
|
|
579
579
|
e.weight = Dt(r) ? 700 : 400;
|
|
580
580
|
break;
|
|
581
581
|
case "i":
|
|
582
|
-
e.style = Dt(r) ?
|
|
582
|
+
e.style = Dt(r) ? o.Style.Italic : o.Style.Normal;
|
|
583
583
|
break;
|
|
584
584
|
case "strike":
|
|
585
585
|
e.strike = X(Dt(r));
|
|
@@ -832,12 +832,12 @@ var jt = {
|
|
|
832
832
|
}
|
|
833
833
|
parseFillListItem(t, e) {
|
|
834
834
|
switch (e.localName) {
|
|
835
|
-
case "noFill": return { type:
|
|
835
|
+
case "noFill": return { type: r.Type.None };
|
|
836
836
|
case "solidFill": {
|
|
837
|
-
const
|
|
838
|
-
return
|
|
839
|
-
type:
|
|
840
|
-
color:
|
|
837
|
+
const o = this.processAdjColor(t, e);
|
|
838
|
+
return o ? {
|
|
839
|
+
type: r.Type.Solid,
|
|
840
|
+
color: o
|
|
841
841
|
} : void 0;
|
|
842
842
|
}
|
|
843
843
|
case "gradFill": return this.processGradFill(t, e);
|
|
@@ -878,7 +878,7 @@ var jt = {
|
|
|
878
878
|
}
|
|
879
879
|
processColorFilter(t, e) {
|
|
880
880
|
const o = {}, s = {
|
|
881
|
-
operator:
|
|
881
|
+
operator: p.BuiltInOperatorNames.Color,
|
|
882
882
|
param: o
|
|
883
883
|
};
|
|
884
884
|
t.copyFromAttribute(e, "cellColor", o, "cellColor", t.BOOLEAN_COPY);
|
|
@@ -895,7 +895,7 @@ var jt = {
|
|
|
895
895
|
const o = e.getAttribute("and"), s = "and" === o || "1" === o;
|
|
896
896
|
e.getAttribute("val");
|
|
897
897
|
const r = [], i = {
|
|
898
|
-
operator: s ?
|
|
898
|
+
operator: s ? p.BuiltInOperatorNames.And : p.BuiltInOperatorNames.Or,
|
|
899
899
|
param: r
|
|
900
900
|
}, n = e.childNodes, l = n.length;
|
|
901
901
|
for (let e = 0; e < l; e++) {
|
|
@@ -918,10 +918,10 @@ var jt = {
|
|
|
918
918
|
}
|
|
919
919
|
processFilters(t, e) {
|
|
920
920
|
const o = {}, s = {
|
|
921
|
-
operator:
|
|
921
|
+
operator: p.BuiltInOperatorNames.InSet,
|
|
922
922
|
param: o
|
|
923
923
|
};
|
|
924
|
-
s.selector =
|
|
924
|
+
s.selector = p.BuiltInSelectorNames.Display, t.copyFromAttribute(e, "blank", o, "blank", t.BOOLEAN_COPY), t.copyFromAttribute(e, "calendarType", o, "calendarType");
|
|
925
925
|
let r = [], i = [];
|
|
926
926
|
const n = e.childNodes, l = n.length;
|
|
927
927
|
for (let e = 0; e < l; e++) {
|
|
@@ -940,14 +940,14 @@ var jt = {
|
|
|
940
940
|
}
|
|
941
941
|
processIcon(t, e) {
|
|
942
942
|
const o = {}, s = {
|
|
943
|
-
operator:
|
|
943
|
+
operator: p.BuiltInOperatorNames.Icon,
|
|
944
944
|
param: o
|
|
945
945
|
};
|
|
946
946
|
return t.copyFromAttribute(e, "iconId", o, "iconId", t.INT_COPY), t.copyFromAttribute(e, "iconSet", o), s;
|
|
947
947
|
}
|
|
948
948
|
processTop10(t, e) {
|
|
949
949
|
const o = {}, s = {
|
|
950
|
-
operator:
|
|
950
|
+
operator: p.BuiltInOperatorNames.TopN,
|
|
951
951
|
param: o
|
|
952
952
|
};
|
|
953
953
|
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;
|
|
@@ -1015,7 +1015,7 @@ var jt = {
|
|
|
1015
1015
|
visit(t, e, o) {
|
|
1016
1016
|
if (!e) return;
|
|
1017
1017
|
const s = e.getAttribute("ref"), r = {};
|
|
1018
|
-
e.hasAttribute("caseSensitive") && (r.collatorOptions = T(e.getAttribute("caseSensitive")) ?
|
|
1018
|
+
e.hasAttribute("caseSensitive") && (r.collatorOptions = T(e.getAttribute("caseSensitive")) ? m.CaseSensitiveOptions : m.CaseInsensitiveOptions);
|
|
1019
1019
|
const i = e.getAttribute("sortMethod");
|
|
1020
1020
|
null != i && "none" !== i && ("stroke" === i ? r.collatorOptions = {
|
|
1021
1021
|
...r.collatorOptions,
|
|
@@ -1026,11 +1026,11 @@ var jt = {
|
|
|
1026
1026
|
}));
|
|
1027
1027
|
const n = {};
|
|
1028
1028
|
e.hasAttribute("columnSort") && T(e.getAttribute("columnSort")) && (n.axis = a.Axis.Column);
|
|
1029
|
-
const l =
|
|
1029
|
+
const l = h.fastStringToRange(s), c = [], u = [];
|
|
1030
1030
|
this.processSortConditions(t, e, c, l, r, u), c.length > 0 && (n.sorts = c);
|
|
1031
|
-
const
|
|
1032
|
-
if (
|
|
1033
|
-
const t =
|
|
1031
|
+
const d = t.getVisitorParamsState().get("ref");
|
|
1032
|
+
if (d && s) {
|
|
1033
|
+
const t = h.fastStringToRange(d);
|
|
1034
1034
|
n.extent = {
|
|
1035
1035
|
range: j(t, l),
|
|
1036
1036
|
sorts: u.map((e) => E(t, l, e))
|
|
@@ -1043,7 +1043,7 @@ var jt = {
|
|
|
1043
1043
|
const i = {};
|
|
1044
1044
|
if (!e.hasAttribute("ref")) return void t.warn("A sort condition has no ref; it was dropped.", { onceKey: "xlsx.sheet.sort.noRef" });
|
|
1045
1045
|
if (e.hasAttribute("ref")) {
|
|
1046
|
-
const t = e.getAttribute("ref"), s =
|
|
1046
|
+
const t = e.getAttribute("ref"), s = h.fastStringToRange(t);
|
|
1047
1047
|
i.index = o ? s.colStart - o.colStart : s.colStart, r?.push(s);
|
|
1048
1048
|
}
|
|
1049
1049
|
const n = { ...s };
|
|
@@ -1066,7 +1066,7 @@ var jt = {
|
|
|
1066
1066
|
}
|
|
1067
1067
|
},
|
|
1068
1068
|
SheetStyleVisitor: class extends St {
|
|
1069
|
-
visit(t, e,
|
|
1069
|
+
visit(t, e, o) {
|
|
1070
1070
|
this.processNumFmts(t, t.evaluate("numFmts", e), null), t.getVisitorParamsState().set("colorsToProcess", /* @__PURE__ */ new Set());
|
|
1071
1071
|
const i = {
|
|
1072
1072
|
fills: {},
|
|
@@ -1082,24 +1082,24 @@ var jt = {
|
|
|
1082
1082
|
family: B(t?.family, t?.fallbacks, null, !1).name
|
|
1083
1083
|
})))
|
|
1084
1084
|
};
|
|
1085
|
-
t.getVisitorParamsState().set(Q, a), l && t.getVisitorParamsState().set("defaultFont", l), this.processFills(t, t.evaluate("fills", e), i.fills), this.processBorders(t, t.evaluate("borders", e), i.borders, !0), i.fills[0] = { type:
|
|
1086
|
-
type:
|
|
1087
|
-
patternType:
|
|
1085
|
+
t.getVisitorParamsState().set(Q, a), l && t.getVisitorParamsState().set("defaultFont", l), this.processFills(t, t.evaluate("fills", e), i.fills), this.processBorders(t, t.evaluate("borders", e), i.borders, !0), i.fills[0] = { type: r.Type.None }, i.fills[1] = {
|
|
1086
|
+
type: r.Type.Pattern,
|
|
1087
|
+
patternType: r.BuiltInSheetPattern.Gray125
|
|
1088
1088
|
}, i.borders[0] = {
|
|
1089
|
-
bottom: { style:
|
|
1090
|
-
left: { style:
|
|
1091
|
-
right: { style:
|
|
1092
|
-
top: { style:
|
|
1089
|
+
bottom: { style: s.StrokeStyle.None },
|
|
1090
|
+
left: { style: s.StrokeStyle.None },
|
|
1091
|
+
right: { style: s.StrokeStyle.None },
|
|
1092
|
+
top: { style: s.StrokeStyle.None }
|
|
1093
1093
|
};
|
|
1094
1094
|
const c = [];
|
|
1095
1095
|
this.processXFs(t, t.evaluate("cellStyleXfs", e), c, i, null, !1);
|
|
1096
1096
|
const u = /* @__PURE__ */ new Map();
|
|
1097
1097
|
if (c.length > 0) {
|
|
1098
|
-
const
|
|
1099
|
-
this.processCellStyles(t, t.evaluate("cellStyles", e),
|
|
1098
|
+
const s = [];
|
|
1099
|
+
this.processCellStyles(t, t.evaluate("cellStyles", e), s, c, u), o.named = s;
|
|
1100
1100
|
}
|
|
1101
1101
|
const d = [];
|
|
1102
|
-
this.processXFs(t, t.evaluate("cellXfs", e), d, i, u), Object.keys(d).length > 0 && (
|
|
1102
|
+
this.processXFs(t, t.evaluate("cellXfs", e), d, i, u), Object.keys(d).length > 0 && (o.direct = d);
|
|
1103
1103
|
const h = this.collectHiddenXfs(t.evaluate("cellXfs", e));
|
|
1104
1104
|
h.size > 0 && t.getVisitorParamsState().set("hiddenXfs", h);
|
|
1105
1105
|
const p = this.collectPivotButtonXfs(t.evaluate("cellXfs", e));
|
|
@@ -1107,7 +1107,7 @@ var jt = {
|
|
|
1107
1107
|
const m = this.collectXfComplements(t.evaluate("cellXfs", e));
|
|
1108
1108
|
m.size > 0 && t.getVisitorParamsState().set("xfComplements", m);
|
|
1109
1109
|
const f = [];
|
|
1110
|
-
return this.processDXFs(t, t.evaluate("dxfs", e), f), this.processTableStyles(t, t.evaluate("tableStyles", e),
|
|
1110
|
+
return this.processDXFs(t, t.evaluate("dxfs", e), f), this.processTableStyles(t, t.evaluate("tableStyles", e), o, f), this.processSlicerStyles(t, t.evaluate("extLst", e), o), this.processIndexColors(t, t.evaluate("colors/indexedColors", e), o), this.processMruColors(t, t.evaluate("colors/mruColors", e), o), o;
|
|
1111
1111
|
}
|
|
1112
1112
|
normalFontId(t, e) {
|
|
1113
1113
|
const o = t.evaluate("cellStyles", e)?.childNodes;
|
|
@@ -1506,7 +1506,7 @@ var jt = {
|
|
|
1506
1506
|
if (isNaN(r) || !a) continue;
|
|
1507
1507
|
const c = t.readEmbeddedPart(a);
|
|
1508
1508
|
if (!c) continue;
|
|
1509
|
-
const u =
|
|
1509
|
+
const u = st(c, i, (t) => n.numberFormat(t)), d = !u && c.xml ? _(c.xml, n) : void 0, h = !u && c.xml ? ot(c.xml) : void 0;
|
|
1510
1510
|
s.push({
|
|
1511
1511
|
cacheId: r,
|
|
1512
1512
|
part: c,
|
|
@@ -1557,8 +1557,8 @@ var jt = {
|
|
|
1557
1557
|
r.scope = s[o].name;
|
|
1558
1558
|
}
|
|
1559
1559
|
const n = {};
|
|
1560
|
-
for (const o of
|
|
1561
|
-
for (const t of
|
|
1560
|
+
for (const o of rt) t.copyFromAttribute(e, o, n);
|
|
1561
|
+
for (const t of nt) {
|
|
1562
1562
|
const o = e.getAttribute(t);
|
|
1563
1563
|
"1" !== o && "true" !== o || (n[t] = !0);
|
|
1564
1564
|
}
|
|
@@ -1703,7 +1703,7 @@ var jt = {
|
|
|
1703
1703
|
r.length > 0 && (o.sheetDataSet = r);
|
|
1704
1704
|
}
|
|
1705
1705
|
processSheetData(t, e) {
|
|
1706
|
-
const o = new
|
|
1706
|
+
const o = new d.Builder(), s = e.childNodes, r = s.length;
|
|
1707
1707
|
for (let t = 0; t < r; t++) {
|
|
1708
1708
|
const e = s.item(t);
|
|
1709
1709
|
if (1 !== e.nodeType || "row" !== e.localName) continue;
|
|
@@ -1713,7 +1713,7 @@ var jt = {
|
|
|
1713
1713
|
if (1 !== e.nodeType || "cell" !== e.localName) continue;
|
|
1714
1714
|
const s = e.getAttribute("r");
|
|
1715
1715
|
if (!s) continue;
|
|
1716
|
-
const i =
|
|
1716
|
+
const i = h.fastStringToCell(s);
|
|
1717
1717
|
if (void 0 === i?.rowIndex || void 0 === i?.colIndex) continue;
|
|
1718
1718
|
const n = this._readCellValue(e);
|
|
1719
1719
|
void 0 !== n && o.pushAt(i.rowIndex, i.colIndex, n);
|
|
@@ -1980,7 +1980,7 @@ var jt = {
|
|
|
1980
1980
|
const o = this.readSourceId(t, e), i = t.readEmbeddedPart(r) ?? void 0;
|
|
1981
1981
|
let n;
|
|
1982
1982
|
try {
|
|
1983
|
-
const e = i?.xml ?
|
|
1983
|
+
const e = i?.xml ? it(i.xml) : null;
|
|
1984
1984
|
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" });
|
|
1985
1985
|
} catch (e) {
|
|
1986
1986
|
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" });
|