@sheetxl/mcp 0.8.0-beta.22 → 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/{BHsqPfJZrdKTbPLP.js → 2YT_wstXIH6UIigi.js} +1 -1
- package/assets/{DtvJg63vbDd6B7sD.js → 3VycPrqi6qgLOgGY.js} +6 -6
- package/assets/{DoScYrfTJOHXe-Ko.js → 6CBUVbF01Bedq0e2.js} +66 -66
- package/assets/{D-MsUF59BhikcNZt.js → 76dPHG5RYA7MUV_g.js} +3 -3
- package/assets/{DgVCjvTw9Df1DV1x.js → 7IzItpr7MkdnaAwh.js} +167 -167
- package/assets/{DevKDvFONeJ9euEq.js → 7vPlH3_rhJxmmBvG.js} +1 -1
- package/assets/{BV49J63s68Mj6lgF.js → 9GnbVPKozgrJpeLW.js} +1 -1
- package/assets/{VSbzBtGH0cA8VBsM.js → B-5mBXpY9i6-eCrZ.js} +39 -39
- package/assets/{4zyHb1mmcFfqwpjO.js → B-t1q2NS61c2B8E4.js} +1 -1
- package/assets/{BSdRn3B8QeJFflY6.js → B16G2473LTkZP6Mq.js} +157 -137
- package/assets/{DrLUi6vduqDLmQjl.js → B4uS01J0mrSJSftQ.js} +89 -89
- package/assets/{BzFIkeB_lheiTR7z.js → B6caaQsfOpFEgYQ4.js} +1 -1
- package/assets/{b-xk3WtCPBkC4E-Z.js → B7lATTNffVTrDsKE.js} +2 -2
- package/assets/{hhpAcu3tINDLk7Ov.js → B8bEJ65vQRqsfBlS.js} +5 -5
- package/assets/{ryaMyh_8KvmXVSJd.js → BAVltO4Xf7lC0Xr6.js} +1 -1
- package/assets/{3N6hsbh2WLceyO6T.js → BH7ctzMzOYVTGxzA.js} +1 -1
- package/assets/{HVwvDMZh0ZGR-hRT.js → BJqo8c5bFKjnq69G.js} +11 -11
- package/assets/{DEOkcuqKBFyRnY18.js → BJwiwzwx4Bl5L4Vq.js} +1 -1
- package/assets/{CT99WREgkKGpcDTO.js → BPNLZ07Bu_B8Yhf1.js} +1 -1
- package/assets/{CSKjFDYwiwn5XNnH.js → BWLavTnANLUerdS0.js} +2 -2
- package/assets/{Dvsld01DkmiNLjfP.js → BXWGS09xFG81nnIT.js} +1 -1
- package/assets/{C4-0s3Udk3v4ytSn.js → BaYk1vO2hP2S3_1w.js} +2 -2
- package/assets/{CHqnRMWNpLKcAWWn.js → BifwlrCmEVtjh_1U.js} +1 -1
- package/assets/{CYCqMEoWsry6_hrc.js → BjyXkr-CzV8mVx0t.js} +1 -1
- package/assets/{Ds5pLAwSN4lSbao6.js → BkHeIMSE7-LehRCs.js} +1 -1
- package/assets/{CwNKcoA7na7Ess3a.js → BkekCZ17YTtd07_C.js} +2 -2
- package/assets/{0jPw8-AyT6VbPuGO.js → BnNB_ejvNaLu6B3o.js} +1 -1
- package/assets/{BPZWfwUvFCLQInXN.js → BrJd9jVVv9SQzZol.js} +400 -400
- package/assets/{BRVEVVhj-8ZPrNyQ.js → BrYc6PLonux_gI6b.js} +223 -223
- package/assets/{Cu4VAHfmjXWfTMPu.js → BxwB3iTNSE1TgHkb.js} +1 -1
- package/assets/{DgYcOz0M0pmZf9x_.js → By1QPrSxtnRiJu0R.js} +2 -2
- package/assets/{B5VTjL9m0R-Icfaz.js → ByYJTTTUuu67hDF-.js} +4 -4
- package/assets/{CXk5vwFfosghrTKo.js → C-nA4SXN5hWHaxV6.js} +535 -535
- package/assets/{BnGNMsqG5CzUzmX7.js → C0uu0vLKQh0S508B.js} +23 -23
- package/assets/{BDq4iVyBh5lwX8pE.js → C6PNMev7cs5JLgwy.js} +1 -1
- package/assets/{C1PTfp7kVu3DqqZh.js → C9iFJ52KwQTePQ81.js} +8944 -8935
- package/assets/{xDx1vaNa2aCMs4_e.js → CCF6CwJ6cbeLRl23.js} +1 -1
- package/assets/{CAgQJrDxGEfoa7jn.js → CEk658HeLJk2cAjM.js} +3 -3
- package/assets/{Bf7Irm8Ua4s1T4xH.js → CFNtPYPfDPH-3BXK.js} +1 -1
- package/assets/{CHG9Q0uLAZdLXYVz.js → CFT_tDogP98gTbh7.js} +101 -101
- package/assets/{ze6Q8BiEw9RClBzZ.js → CFWwwr74qRKOBrg9.js} +1 -1
- package/assets/{Bi65BKwwiZYYZprq.js → CIY_RiLu1_FmRLAA.js} +1 -1
- package/assets/{D9ja7F9irHf9Iovx.js → CIw6ZC3K9x-ccacl.js} +1 -1
- package/assets/{1dUPpOVZSeeylKHv.js → CJ2hV-9ipqOEkLSG.js} +1 -1
- package/assets/{vazKaFOkHRriv7tX.js → CKD460cQOgwF6uSV.js} +1 -1
- package/assets/{zJoBN2CJdxEV7vdh.js → CM-q_J5aF6YXmjeu.js} +3 -3
- package/assets/{9AosCdy_xtdhLjN1.js → CR1aLf7CWEfPTO9a.js} +1 -1
- package/assets/{E9mta1q4VtVUusy5.js → CSXmTA6w6Pnbtqvb.js} +1 -1
- package/assets/{BI5L_Ysr8s0TQxdg.js → CT4czEKWIj1GeQN8.js} +1 -1
- package/assets/{D8dNiNpu9_L0NjGP.js → CUYQlZz5zWsUdmRy.js} +1 -1
- package/assets/{CGB4xgirbgEIN3tg.js → CbJWbjmv4bz4ppIZ.js} +356 -354
- package/assets/{Bx592y6pyOwTS2x7.js → Cf0zmfQYfJ7zM0Ya.js} +1 -1
- package/assets/{8csqJ8aGOdnKlrLl.js → Ch9w7xFxVMrvGuC_.js} +1 -1
- package/assets/{GGcMgq3ScY7Tv0PE.js → CmkgQ5-IG0BSCM3R.js} +3 -3
- package/assets/{BkqENH8xJ3_NQnD5.js → CmwNIrRssYuLN2fn.js} +422 -422
- package/assets/{sYakw2x8dcnpUlsX.js → CnI4Nli8vtWdFKvf.js} +3 -3
- package/assets/{DRd8gdwcr3EqtGkb.js → CnKX5SPVE2iuSK42.js} +1 -1
- package/assets/{BvKzhnweVF6GhjXh.js → CpvJUGg9ckuCIpIS.js} +1 -1
- package/assets/{DFQLoYLUO4TgDZPK.js → Cxzowsi6ASdZtzeI.js} +1 -1
- package/assets/{tIoHMgrZeRHWyxos.js → CzRvg04_TIbwBH5C.js} +3 -3
- package/assets/{BygXDW3XTdtR38aA.js → D-vo2bQyAmStQmD9.js} +1 -1
- package/assets/{DxNK3HVEzFdUou54.js → D6d1DKL15m52ZCuC.js} +1 -1
- package/assets/{Z5tQQ6IW5YBjblWX.js → D8k9de_hen-KqBWe.js} +1 -1
- package/assets/{91BKH9obG4IfBzhy.js → DE7G34oYbvrfXbJ7.js} +383 -378
- package/assets/{BrfsWImwRtf54LUU.js → DFVQIZ2zZyAphhCF.js} +1 -1
- package/assets/{D1tShC5iBlUoT2V2.js → DGI_8HyNF0eAv0P5.js} +1 -1
- package/assets/{C1yAmXrOu3iHV2cu.js → DGOgx3-IyO8bjF_t.js} +83 -83
- package/assets/{BXean6K6oDUxkzyd.js → DIgPlkEabQdKNUQn.js} +1 -1
- package/assets/{DmVQgN-N_HhYvakk.js → DJGYlGr2Zj7SkYqc.js} +1 -1
- package/assets/{DzGpZ2CQ1St9BF0y.js → DJfpKncnYnrr28G0.js} +1 -1
- package/assets/{CHnaSM8aMnQ2_VWW.js → DL8pez0eKo8arYPj.js} +3 -3
- package/assets/{tPa3RpqYRqCCCYf1.js → DM-yGHahbfA_uarn.js} +1 -1
- package/assets/{DHHYGjNwlLvja3dS.js → DMDTS0LH9Ke9t-3z.js} +1 -1
- package/assets/{D89TE5n8VKre9Gmp.js → DNSWaXblwhTtI3w7.js} +1 -1
- package/assets/{UgDy0WNXuV1sEnFW.js → DOSWSyKkK4eSi4PD.js} +2 -2
- package/assets/{CHpBOpoM9bCvQyn0.js → DPLTGglaPovTg9e5.js} +1 -1
- package/assets/{CpYgsvYMxV5SbRp3.js → DPYFRLJbHGlrcrJq.js} +2 -2
- package/assets/{DLbzfP7OOWhafkTq.js → DRq6lQLndj73WT35.js} +1 -1
- package/assets/{BUGEQS5WdiLcI_0X.js → DRzZ4bEyLRGVOLzV.js} +1 -1
- package/assets/{BUIjRIGTum7VuRFk.js → DUbIxDAzW1dzrtdI.js} +1 -1
- package/assets/{OfjHqYH31KqC5gVM.js → DXCTHw-ZutNIuo_2.js} +1 -1
- package/assets/{OtMeAlbq6tyW5Hnc.js → D_tdoUtUe7cApQJn.js} +4 -4
- package/assets/{DawLBAaNAAmo_P3Y.js → DaF9L7No8h8a-cqb.js} +2 -2
- package/assets/{DdDKDqtpIkzd-mXi.js → DaHD9SY75O8wDy3p.js} +2 -2
- package/assets/{CXqqaFgNeUVRGvEb.js → Daaro0HbHkKXkBP-.js} +2 -2
- package/assets/{BiC09_YKQPmlUklQ.js → DczQhB3mRSUw6GCf.js} +1 -1
- package/assets/Dfv_T_PQVL0O3lu5.js +14 -0
- package/assets/{B6pXiayrnDoDbQt1.js → Dhy6iU_09lrQnOAV.js} +47 -47
- package/assets/{Dbh-XVDw294AVLtl.js → Dk9zYXO3VoBhTdex.js} +1 -1
- package/assets/{DQIQR1t3IkC9wshP.js → DkQ4kxEKhKYQgfjK.js} +1 -1
- package/assets/{CSGN4rAf7CYnBDEa.js → Dlqk7XqKnAZ8Pcj3.js} +83 -83
- package/assets/{BaaVzb7xXROiWUhT.js → DqSBb1HmgeU7eg_i.js} +84 -84
- package/assets/{BgwCdHyXKQYFAl1M.js → Ds4TB1hn56-RK6_f.js} +1 -1
- package/assets/{VWEaItb0XvCoRiCT.js → DtVSjxL6N_7WyM8Z.js} +1 -1
- package/assets/{C9wlvcFyjQA59G-_.js → DuEtCJEnG_GnJzTX.js} +1 -1
- package/assets/{DdnALoxd3b8TLNla.js → DwNcvKM47ZHfvQM6.js} +1 -1
- package/assets/{CdtVv8YQ8PTmS4dz.js → DyiH3LlinD-38bG7.js} +1 -1
- package/assets/{hAVtdK6u2tlLI2cB.js → Jy-_0a72nn5Iv1NK.js} +1 -1
- package/assets/{Bzp3UtK_6fqEVlV8.js → KMzONx2Ps841nJHj.js} +8 -8
- package/assets/{CV729JV1mNyYCmrq.js → LM2rVDHdB0jVUFcT.js} +1 -1
- package/assets/{do_DTptu6c_xHJoZ.js → MosMza0-rXD8uHX_.js} +2 -2
- package/assets/{COVhUB0EotytQDHg.js → NAWWzA_hk4wYtsPP.js} +2 -2
- package/assets/{CufFcGwo5x95LSb7.js → P6V3JAiRpC3BWceC.js} +1 -1
- package/assets/{1U3DwsqHnOBwiGWn.js → TZnuVwhVjkOBax9F.js} +2 -2
- package/assets/{nSzQt54CIADky_tF.js → TdDTOcC1TYhk6UuR.js} +1 -1
- package/assets/{CGxhgXj5qKj_Ubcp.js → Xccc6oxtlSvJUDsC.js} +1 -1
- package/assets/{DAqaOCEQLmZRjcdR.js → a2e_g9YI3J-lUD7-.js} +1 -1
- package/assets/{D-N87jCOShDKTFDh.js → b8yACuWy67eIj_j2.js} +1 -1
- package/assets/{BlxrCp7d-SeM-2DW.js → bv3fZLUPzd14I58C.js} +631 -621
- package/assets/{CKhbbbjQ-_auMp3n.js → doqBmhonQlHp-1Ud.js} +1 -1
- package/assets/{BZxJKqVEO7B23XwE.js → fEfisM0E2fUYKIyU.js} +5 -5
- package/assets/{v5XZSqLd9ZV3kqcA.js → flby0g5gyZ9P2Wu2.js} +1 -1
- package/assets/{coTH4ab6CTEzw87b.js → g2Nu44uuSJFMzxEV.js} +2 -2
- package/assets/{Cahhn5OLNqRYy-n8.js → mZt9BTEejCJZ4YK4.js} +1 -1
- package/assets/{BnK6HEqT4rf1RoOG.js → qc7rA-Z3a4rkVQPx.js} +217 -217
- package/assets/{DsBXjYAgTUXAAWZZ.js → sJVPCrgeh0U6LbAK.js} +1 -1
- package/assets/{wWgI0JPoe_Wv0ceW.js → suLYEZBtGUhSYeB7.js} +1 -1
- package/assets/{WSiEiaP-NUEr9UaB.js → tWO-mE87mAuj1qih.js} +2 -2
- package/assets/{DdXp_iPwTOHAOvlL.js → xD41vsQY6h60lCqz.js} +1168 -1170
- package/assets/{C7zManFR1LEJXiwb.js → yz2PTfYm_8EGJPM5.js} +1 -1
- package/index.js +117 -117
- package/lib.js +1 -1
- package/licenses/dependencies.txt +12 -12
- package/package.json +4 -4
- package/screenshot-page/assets/{CFl15-2FAF9f3V7L.js → 0UZBKpOOsp7P-DkP.js} +2 -2
- package/screenshot-page/assets/{DfT1DMR1b5kiyYiV.js → B-0-chiwq4MIUQy9.js} +1 -1
- package/screenshot-page/assets/B7pXfEVkcbaMBMhc.js +1 -0
- package/screenshot-page/assets/BDRMUi2BsnBqytIq.js +2 -0
- package/screenshot-page/assets/BEjJHVSbtlsNtoq7.js +3 -0
- package/screenshot-page/assets/{BnZX0sxceYpvtg3I.js → BIuMiduMHSsTGacU.js} +2 -2
- package/screenshot-page/assets/BKwDvElKinpn1IK0.js +1 -0
- package/screenshot-page/assets/BPMQ22uISGOm3ymr.js +1 -0
- package/screenshot-page/assets/{adhmz3N2Kgq5eW66.js → BTJ1NNUzHotNDiDe.js} +2 -2
- package/screenshot-page/assets/BbT5KRhoeAKLzy54.js +2 -0
- package/screenshot-page/assets/{Dwv5Z_c2XS-hm-5y.js → BcZPWw18bdj_ZvA9.js} +1 -1
- package/screenshot-page/assets/{BEwl-ucV9Jfr0RoC.js → Bdb0azxGoCh6NBDk.js} +1 -1
- package/screenshot-page/assets/{CcOIj8c4N9KaWnD7.js → Bfq6-treWd_rRiWl.js} +1 -1
- package/screenshot-page/assets/{BGh5K-hHzy8mSVDr.js → Bg9UyX4yrB2mSdJt.js} +12 -12
- package/screenshot-page/assets/Bxq4FCQhyPbVhhaR.js +2 -0
- package/screenshot-page/assets/{zFbb8ESzwR_bE7IQ.js → CBP4y6KFPu24xhDT.js} +1 -1
- package/screenshot-page/assets/CI3Z1f4amZ9G2rPD.js +5 -0
- package/screenshot-page/assets/{COpZTXe_J1mSpeYD.js → CNB6WmYfGVZjlCKV.js} +1 -1
- package/screenshot-page/assets/{CXGgKVbVXjWzE0p6.js → CQ-33-es3XJ56pR4.js} +1 -1
- package/screenshot-page/assets/CSFFMEKyxEFaykqL.js +1 -0
- package/screenshot-page/assets/CXeJV1BW2CVemhPE.js +1 -0
- package/screenshot-page/assets/{Cmv8bpHaTWZ7Lmbt.js → C_YKEkTsGB_5gFNg.js} +2 -2
- package/screenshot-page/assets/CkxmJxdtjBIxYoMq.js +1 -0
- package/screenshot-page/assets/CtiTwHzd_ZSzd3W2.js +1 -0
- package/screenshot-page/assets/CwCu_r0BW41uLt3P.js +2 -0
- package/screenshot-page/assets/{DdusmeEPaU7CWT6e.js → Cx9eq2x1gIXGki3Q.js} +1 -1
- package/screenshot-page/assets/D43IayseD2Cy8OZo.js +4 -0
- package/screenshot-page/assets/{BftXEPOuf5Uwxpud.js → D6Ciix7JAZtdKqmj.js} +1 -1
- package/screenshot-page/assets/D6EXAYU-ZH8hjx_7.js +2 -0
- package/screenshot-page/assets/D7Yt7xmUlA6-Lq0Q.js +48 -0
- package/screenshot-page/assets/D8KyhLvfyjLZW92H.js +39 -0
- package/screenshot-page/assets/DACSL7FA_J91Z_H7.js +2 -0
- package/screenshot-page/assets/DBxAatsD6aWk7Zb6.js +586 -0
- package/screenshot-page/assets/DGkaCFHx4PsOJkFu.js +1 -0
- package/screenshot-page/assets/DM6hr-bvWV50-Oex.js +2 -0
- package/screenshot-page/assets/DOVt9zHz7FQ2KUQM.js +1 -0
- package/screenshot-page/assets/DR-og7vslxlOZd8j.js +1 -0
- package/screenshot-page/assets/DSTlKGmqncM7XHeW.js +1 -0
- package/screenshot-page/assets/Dh14XQinAphjZOKC.js +1 -0
- package/screenshot-page/assets/Dkf51CnZh2zPEGMd.js +1 -0
- package/screenshot-page/assets/{nM1r2xslndIMKlI2.js → DmDFKv_3APEWI-IY.js} +2 -2
- package/screenshot-page/assets/Dt8JxbBBr2TeDflQ.js +1 -0
- package/screenshot-page/assets/Dxi-bXNjS-CpC5Qr.js +1 -0
- package/screenshot-page/assets/{Bm9-R9keVK5Sx-8o.js → DynKB5GH-vfFMJEy.js} +1 -1
- package/screenshot-page/assets/{CZq2dMHs2MHHyyBl.js → FcTM4SB17cEX1M3X.js} +1 -1
- package/screenshot-page/assets/{B668_VaGrdcWRbkC.js → FqdZRM336KMEcsbU.js} +1 -1
- package/screenshot-page/assets/Oay0yGsGYgJDzy8r.js +1 -0
- package/screenshot-page/assets/Pt9ne0xkE2icD3Ih.js +1 -0
- package/screenshot-page/assets/QZg76Jflu3Q808W3.js +1 -0
- package/screenshot-page/assets/{BRemww1df2HKLd_k.js → WTrYzPnMQhYDILMR.js} +1 -1
- package/screenshot-page/assets/{CXUO3vYip3JPSJ7A.js → YH1wNXzhQbkuWxeS.js} +1 -1
- package/screenshot-page/assets/{CQ9C0-FcDZxrgC3T.js → a3fvt1Klg1uGE7p6.js} +7 -7
- package/screenshot-page/assets/{D8-mayyvvVE1a4JB.js → clrFU8i-0wNkmbs7.js} +1 -1
- package/screenshot-page/assets/{-cpi3yOZYn6GsYN4.js → gU2zeJaXoNh7QI_e.js} +2 -2
- package/screenshot-page/assets/r2HZG9_SMzF3__ID.js +13 -0
- package/screenshot-page/index.html +16 -16
- package/types/scripting-api.json +5747 -5744
- package/types/scripting.d.ts +27 -3
- package/assets/r-pk3RNq_HjMQFqr.js +0 -14
- package/screenshot-page/assets/0buGanYjZDNd9qAK.js +0 -39
- package/screenshot-page/assets/B2oadmu_j6WfNbZ1.js +0 -1
- package/screenshot-page/assets/BGWgIYge30MP6Xhz.js +0 -48
- package/screenshot-page/assets/BIQ7KK-buzeddVA9.js +0 -1
- package/screenshot-page/assets/BPRDGSNh0kvXRFUY.js +0 -1
- package/screenshot-page/assets/Bv2MgCMkg3EIQ6iE.js +0 -13
- package/screenshot-page/assets/BvaiwYJ5zZ0d5NRP.js +0 -1
- package/screenshot-page/assets/CAlTfQ_Gh-dURmUc.js +0 -1
- package/screenshot-page/assets/CCFxspvs5VzbYCfl.js +0 -1
- package/screenshot-page/assets/CCqTTfzZokVHIzs2.js +0 -1
- package/screenshot-page/assets/CPs_ARK8JCyz-yZg.js +0 -1
- package/screenshot-page/assets/CUeMb48Ucrm5dK5u.js +0 -1
- package/screenshot-page/assets/CjrHeIdacavAT_Ud.js +0 -3
- package/screenshot-page/assets/CqccUqSMYlwlf2ZU.js +0 -2
- package/screenshot-page/assets/CvmImq-Kbg9srxNr.js +0 -4
- package/screenshot-page/assets/D-3wYBqe4SWdE6bx.js +0 -2
- package/screenshot-page/assets/D-FWnGDbZ9BRDzPR.js +0 -1
- package/screenshot-page/assets/D717DArr-KKL0U6R.js +0 -1
- package/screenshot-page/assets/DM27mE98BNk1T18I.js +0 -1
- package/screenshot-page/assets/DN-T1DyRMKvxEJSK.js +0 -1
- package/screenshot-page/assets/DRdL1GN4SP7P8lSP.js +0 -2
- package/screenshot-page/assets/DcnhaY93LQd7kVdH.js +0 -2
- package/screenshot-page/assets/DigI6jhjHePzLgg1.js +0 -1
- package/screenshot-page/assets/DrDLCC0R2IV5VJd7.js +0 -1
- package/screenshot-page/assets/DuYb_otrRZZDq6-f.js +0 -2
- package/screenshot-page/assets/Dx0pUf3G4Oa3dGOk.js +0 -1
- package/screenshot-page/assets/JcgNMFaj_uqHSFxr.js +0 -1
- package/screenshot-page/assets/U_8_wApwfA7KmIG3.js +0 -586
- package/screenshot-page/assets/WZprjN2sb7HlraOb.js +0 -2
- package/screenshot-page/assets/qjoaeEBxfKWCHmqK.js +0 -2
- package/screenshot-page/assets/zALFdtoGJBN6m2Bn.js +0 -1
- package/screenshot-page/assets/zd1Z2E1NjFp2EWC7.js +0 -5
|
@@ -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 {
|
|
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;
|
|
@@ -166,16 +166,16 @@ var f = "SlicerStyleLight1", v = "ascending", p = "showItemsWithDataAtTop", b =
|
|
|
166
166
|
firstRow: e.firstRow
|
|
167
167
|
});
|
|
168
168
|
}
|
|
169
|
-
const
|
|
170
|
-
if ("dataSource" ===
|
|
169
|
+
const l = this.getSortOrder();
|
|
170
|
+
if ("dataSource" === l) r.sort((t, e) => t.firstRow - e.firstRow);
|
|
171
171
|
else {
|
|
172
|
-
const t = s.getRange().getWorksheet().getRuntime().getLocaleProfile(), e = "descending" ===
|
|
173
|
-
r.sort((s, i) => e * (
|
|
172
|
+
const t = s.getRange().getWorksheet().getRuntime().getLocaleProfile(), e = "descending" === l ? -1 : 1;
|
|
173
|
+
r.sort((s, i) => e * (a.compare(s.item.value, i.item.value, t) || a.compare(s.item.key, i.item.key, t)));
|
|
174
174
|
}
|
|
175
|
-
let
|
|
175
|
+
let h = null;
|
|
176
176
|
if (i.hasBlanks) {
|
|
177
177
|
const e = !0 === i.blanksPassOthers;
|
|
178
|
-
|
|
178
|
+
h = {
|
|
179
179
|
key: F,
|
|
180
180
|
name: t("slicer.blankItem"),
|
|
181
181
|
value: null,
|
|
@@ -183,15 +183,15 @@ var f = "SlicerStyleLight1", v = "ascending", p = "showItemsWithDataAtTop", b =
|
|
|
183
183
|
isSelected: !o || (e ? i.blanksChecked : o(-1))
|
|
184
184
|
};
|
|
185
185
|
}
|
|
186
|
-
const
|
|
187
|
-
if ("showItemsWithNoData" ===
|
|
188
|
-
for (let t = 0; t < r.length; t++)
|
|
189
|
-
return
|
|
186
|
+
const u = [], c = this.getCrossFilter();
|
|
187
|
+
if ("showItemsWithNoData" === c) {
|
|
188
|
+
for (let t = 0; t < r.length; t++) u.push(r[t].item);
|
|
189
|
+
return h && u.push(h), u;
|
|
190
190
|
}
|
|
191
|
-
for (let t = 0; t < r.length; t++) r[t].item.hasData &&
|
|
192
|
-
if (
|
|
193
|
-
for (let t = 0; t < r.length; t++) r[t].item.hasData ||
|
|
194
|
-
return
|
|
191
|
+
for (let t = 0; t < r.length; t++) r[t].item.hasData && u.push(r[t].item);
|
|
192
|
+
if (h?.hasData && u.push(h), "none" === c) return u;
|
|
193
|
+
for (let t = 0; t < r.length; t++) r[t].item.hasData || u.push(r[t].item);
|
|
194
|
+
return h && !h.hasData && u.push(h), u;
|
|
195
195
|
}
|
|
196
196
|
async getItem(t) {
|
|
197
197
|
const e = await this.getItems();
|
|
@@ -210,7 +210,7 @@ var f = "SlicerStyleLight1", v = "ascending", p = "showItemsWithDataAtTop", b =
|
|
|
210
210
|
if (!s) return this;
|
|
211
211
|
if (!t || 0 === t.length) return this.clearFilters(e);
|
|
212
212
|
const i = await s.getItems(w), n = new Set(t), o = i.dates?.[i.dates.length - 1] ?? null, r = o && o.runs.length > 0 ? o.runs[o.runs.length - 1].max : -1, a = [], l = [];
|
|
213
|
-
let h = !0,
|
|
213
|
+
let h = !0, u = 0;
|
|
214
214
|
for (let t = 0; t < i.items.length; t++) {
|
|
215
215
|
if (!n.has(i.items[t].text)) {
|
|
216
216
|
h = !1;
|
|
@@ -220,17 +220,17 @@ var f = "SlicerStyleLight1", v = "ascending", p = "showItemsWithDataAtTop", b =
|
|
|
220
220
|
a.push(i.items[t].text);
|
|
221
221
|
continue;
|
|
222
222
|
}
|
|
223
|
-
for (; o.runs[
|
|
224
|
-
const e = o.runs[
|
|
223
|
+
for (; o.runs[u].max < t;) u++;
|
|
224
|
+
const e = o.runs[u].value;
|
|
225
225
|
e && l[l.length - 1] !== e && l.push(e);
|
|
226
226
|
}
|
|
227
|
-
const
|
|
228
|
-
if (i.hasBlanks && !
|
|
229
|
-
const
|
|
230
|
-
return l.length > 0 && (
|
|
227
|
+
const c = i.hasBlanks && n.has(F);
|
|
228
|
+
if (i.hasBlanks && !c && (h = !1), h && !i.truncated) return this.clearFilters(e);
|
|
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: r(n,
|
|
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);
|
|
@@ -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" });
|