@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
package/index.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
/**
|
|
3
|
-
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v0.8.0-beta.
|
|
3
|
+
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v0.8.0-beta.24
|
|
4
4
|
*
|
|
5
5
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
6
6
|
* License: SheetXL EULA — https://www.sheetxl.com/eula
|
|
7
7
|
*/
|
|
8
|
-
import { H as e, K as t, lt as n, z as o } from "./assets/
|
|
9
|
-
import { o as r } from "./assets/
|
|
10
|
-
import {
|
|
11
|
-
import { f as h, i as g, p as m, u as p } from "./assets/
|
|
12
|
-
import {
|
|
13
|
-
import { t as I } from "./assets/
|
|
14
|
-
import { A as T, D as N, P as A, f as M, k as F } from "./assets/
|
|
15
|
-
import { t as O } from "./assets/
|
|
8
|
+
import { H as e, K as t, lt as n, z as o } from "./assets/DMDTS0LH9Ke9t-3z.js";
|
|
9
|
+
import { o as r } from "./assets/TZnuVwhVjkOBax9F.js";
|
|
10
|
+
import { Et as s, G as a, N as i, O as l, ct as c, mt as u, y as d } from "./assets/B16G2473LTkZP6Mq.js";
|
|
11
|
+
import { f as h, i as g, p as m, u as p } from "./assets/DRzZ4bEyLRGVOLzV.js";
|
|
12
|
+
import { Er as f, Ga as w, Lt as $, St as y, Tr as b, U as k, Ur as S, Wr as x, do as v, l as C, pa as E, so as R, zi as j } from "./assets/C9iFJ52KwQTePQ81.js";
|
|
13
|
+
import { t as I } from "./assets/3VycPrqi6qgLOgGY.js";
|
|
14
|
+
import { A as T, D as N, P as A, f as M, k as F } from "./assets/CbJWbjmv4bz4ppIZ.js";
|
|
15
|
+
import { t as O } from "./assets/fEfisM0E2fUYKIyU.js";
|
|
16
16
|
import { createRequire as _ } from "node:module";
|
|
17
17
|
import { StdioServerTransport as L } from "@modelcontextprotocol/sdk/server/stdio.js";
|
|
18
18
|
import * as P from "node:os";
|
|
@@ -38,7 +38,7 @@ var ye = Object.defineProperty, be = (((e) => {
|
|
|
38
38
|
MAX_WORKBOOK_NAME_SIZE: () => 96,
|
|
39
39
|
isReservedFileNameChar: () => Se,
|
|
40
40
|
isValidFileName: () => xe
|
|
41
|
-
}), /^(con|prn|aux|nul|com\d|lpt\d)$/i), ke = /[<>:"/\\|?*\u0000-\u001F]/, Se = (e) => ke.test(e), xe = (e) => !(!e || e.length > 255 || ke.test(e) || be.test(e) || "." === e || ".." === e), ve = t("io:sxlReader", () => import("./assets/
|
|
41
|
+
}), /^(con|prn|aux|nul|com\d|lpt\d)$/i), ke = /[<>:"/\\|?*\u0000-\u001F]/, Se = (e) => ke.test(e), xe = (e) => !(!e || e.length > 255 || ke.test(e) || be.test(e) || "." === e || ".." === e), ve = t("io:sxlReader", () => import("./assets/BJqo8c5bFKjnq69G.js")), Ce = t("io:sxlWriter", () => import("./assets/B7lATTNffVTrDsKE.js")), Ee = async (e, t) => (await ve.load()).readSXL(e, t), Re = (e) => async (t, n) => (await Ce.load()).writeSXL(t, {
|
|
42
42
|
...n,
|
|
43
43
|
compress: n?.compress ?? e.compress,
|
|
44
44
|
whiteSpace: n?.whiteSpace ?? e.whiteSpace
|
|
@@ -75,13 +75,13 @@ var ye = Object.defineProperty, be = (((e) => {
|
|
|
75
75
|
})
|
|
76
76
|
}, Ae = {
|
|
77
77
|
name: "SXLPlugin",
|
|
78
|
-
version: "0.8.0-beta.
|
|
78
|
+
version: "0.8.0-beta.24",
|
|
79
79
|
description: "Import and export SXL format",
|
|
80
80
|
author: "SheetXL",
|
|
81
81
|
async register(e) {
|
|
82
82
|
await e.registerReadFormat(je), await e.registerReadFormat(Ie), await e.registerWriteFormat(Te), await e.registerWriteFormat(Ne);
|
|
83
83
|
}
|
|
84
|
-
}, Me = t("io:csvReader", () => import("./assets/
|
|
84
|
+
}, Me = t("io:csvReader", () => import("./assets/B8bEJ65vQRqsfBlS.js")), Fe = t("io:csvWriter", () => import("./assets/CzRvg04_TIbwBH5C.js")), Oe = {
|
|
85
85
|
key: "CSV",
|
|
86
86
|
description: "Comma Separated Values",
|
|
87
87
|
mimeType: "text/csv",
|
|
@@ -95,7 +95,7 @@ var ye = Object.defineProperty, be = (((e) => {
|
|
|
95
95
|
handler: async (e, t) => (await Fe.load()).writeCSV(e, t)
|
|
96
96
|
}, Le = {
|
|
97
97
|
name: "CSVPlugin",
|
|
98
|
-
version: "0.8.0-beta.
|
|
98
|
+
version: "0.8.0-beta.24",
|
|
99
99
|
description: "Import and export CSV format",
|
|
100
100
|
author: "SheetXL",
|
|
101
101
|
async register(e) {
|
|
@@ -103,7 +103,7 @@ var ye = Object.defineProperty, be = (((e) => {
|
|
|
103
103
|
}
|
|
104
104
|
}, Pe = {
|
|
105
105
|
name: "@sheetxl/io",
|
|
106
|
-
version: "0.8.0-beta.
|
|
106
|
+
version: "0.8.0-beta.24",
|
|
107
107
|
description: "Built-in I/O formats for SheetXL",
|
|
108
108
|
author: "SheetXL",
|
|
109
109
|
async register(e) {
|
|
@@ -1003,7 +1003,7 @@ function Jt(e, t) {
|
|
|
1003
1003
|
if (!Number.isFinite(e)) return String(e);
|
|
1004
1004
|
if (!t || "General" === t) return zt(e);
|
|
1005
1005
|
try {
|
|
1006
|
-
const n =
|
|
1006
|
+
const n = u.getEngine().format(t, e)?.text;
|
|
1007
1007
|
return n ? n.trim() : zt(e);
|
|
1008
1008
|
} catch {
|
|
1009
1009
|
return zt(e);
|
|
@@ -1083,7 +1083,7 @@ var Gt = (e) => "object" == typeof e && null !== e && !p.isError(e) && "function
|
|
|
1083
1083
|
"shape",
|
|
1084
1084
|
"chart",
|
|
1085
1085
|
"name"
|
|
1086
|
-
], Qt = (e, t) => e <= t + 3 ? e : t, en =
|
|
1086
|
+
], Qt = (e, t) => e <= t + 3 ? e : t, en = b.ErrorCheck, tn = /* @__PURE__ */ new Map([
|
|
1087
1087
|
[en.InconsistentFormula, "inconsistent formula"],
|
|
1088
1088
|
[en.OmittedCells, "omits adjacent cells"],
|
|
1089
1089
|
[en.NumberAsText, "number stored as text"],
|
|
@@ -1197,7 +1197,7 @@ function un(e, t) {
|
|
|
1197
1197
|
return null === r || null === s ? e : s + r;
|
|
1198
1198
|
});
|
|
1199
1199
|
}
|
|
1200
|
-
var dn = (e) => String(e + 1), hn = (e) => (
|
|
1200
|
+
var dn = (e) => String(e + 1), hn = (e) => (v.cellToString({
|
|
1201
1201
|
rowIndex: 0,
|
|
1202
1202
|
colIndex: e
|
|
1203
1203
|
}) ?? "").replace(/\d+$/, ""), gn = /(?<![A-Za-z0-9_.$])R(\[-?\d+\]|\d+)?C(\[-?\d+\]|\d+)?(?![A-Za-z0-9_(])/g;
|
|
@@ -1219,12 +1219,12 @@ var pn = (e) => {
|
|
|
1219
1219
|
return r === n.slice(1).toLowerCase() || r === t.slice(1).toLowerCase() ? n : `${n} (${o.replace(/\d+\.\d{4,}/g, (e) => String(parseFloat(Number(e).toFixed(2))))})`;
|
|
1220
1220
|
}, fn = (e) => {
|
|
1221
1221
|
const t = e.getFill(), n = t.getType();
|
|
1222
|
-
if (n ===
|
|
1223
|
-
if (n ===
|
|
1222
|
+
if (n === i.Type.None) return null;
|
|
1223
|
+
if (n === i.Type.Pattern) {
|
|
1224
1224
|
const e = t, n = e.getPatternType();
|
|
1225
|
-
if (n ===
|
|
1225
|
+
if (n === i.BuiltInSheetPattern.None) return null;
|
|
1226
1226
|
const o = pn(e.getForeground());
|
|
1227
|
-
if (n ===
|
|
1227
|
+
if (n === i.BuiltInSheetPattern.Solid) return o ? `solid ${o}` : "solid";
|
|
1228
1228
|
const r = pn(e.getBackground());
|
|
1229
1229
|
return [
|
|
1230
1230
|
`${n} pattern`,
|
|
@@ -1278,7 +1278,7 @@ var pn = (e) => {
|
|
|
1278
1278
|
return s !== pn(o.getColor()) && r.push(s ?? "no color"), r.length > 0 ? r.join(" · ") : null;
|
|
1279
1279
|
};
|
|
1280
1280
|
function xn(e, t, n) {
|
|
1281
|
-
const o =
|
|
1281
|
+
const o = S(e, t, n);
|
|
1282
1282
|
return o ? {
|
|
1283
1283
|
text: o.text,
|
|
1284
1284
|
address: o.address
|
|
@@ -1388,7 +1388,7 @@ function Tn(e, t = []) {
|
|
|
1388
1388
|
const r = Math.max(10, ...n.map(([e]) => e.length + 2));
|
|
1389
1389
|
return n.map(([e, t]) => `${e.padEnd(r)}${t}`);
|
|
1390
1390
|
}
|
|
1391
|
-
var Nn =
|
|
1391
|
+
var Nn = j.Feature;
|
|
1392
1392
|
function An(e, t) {
|
|
1393
1393
|
const n = t?.maxSeries ?? 24, o = t?.maxProfileCells ?? 2e4, r = t?.maxCategories ?? 3, s = e.getRowCount(), a = e.getColumnCount();
|
|
1394
1394
|
if (1 === s && 1 === a) return {
|
|
@@ -1607,13 +1607,13 @@ function Un(e) {
|
|
|
1607
1607
|
format: null,
|
|
1608
1608
|
mixed: null
|
|
1609
1609
|
};
|
|
1610
|
-
const a =
|
|
1610
|
+
const a = u.getEngine(), i = (e) => {
|
|
1611
1611
|
if ("General" === e) return "1";
|
|
1612
1612
|
const t = a.getFormatInfo(e);
|
|
1613
1613
|
return t ? `${t.isDate ? "date" : t.scale}` : "1";
|
|
1614
|
-
},
|
|
1615
|
-
return s.every(([e]) => i(e) === i(
|
|
1616
|
-
format: "General" ===
|
|
1614
|
+
}, l = s[0][0];
|
|
1615
|
+
return s.every(([e]) => i(e) === i(l)) ? {
|
|
1616
|
+
format: "General" === l ? null : l,
|
|
1617
1617
|
mixed: null
|
|
1618
1618
|
} : {
|
|
1619
1619
|
format: null,
|
|
@@ -1638,7 +1638,7 @@ function Jn(e, t, n) {
|
|
|
1638
1638
|
const s = Array.from(o.getValueCounts()).slice(0, t);
|
|
1639
1639
|
return `${r} unique (${s.map(([e, t]) => `${e} ${t}`).join(" · ")}${r > s.length ? " · …" : ""})`;
|
|
1640
1640
|
}
|
|
1641
|
-
var Xn =
|
|
1641
|
+
var Xn = j.Feature, Kn = (e) => (e.rowEnd - e.rowStart + 1) * (e.colEnd - e.colStart + 1), Gn = (e, t) => {
|
|
1642
1642
|
const n = Math.min(e.rowEnd, t.rowEnd) - Math.max(e.rowStart, t.rowStart) + 1;
|
|
1643
1643
|
if (n <= 0) return 0;
|
|
1644
1644
|
const o = Math.min(e.colEnd, t.colEnd) - Math.max(e.colStart, t.colStart) + 1;
|
|
@@ -1648,7 +1648,7 @@ var Xn = x.Feature, Kn = (e) => (e.rowEnd - e.rowStart + 1) * (e.colEnd - e.colS
|
|
|
1648
1648
|
return "times" === t || e.styled === e.content ? n : `${n} (+${Zn(e.styled - e.content)} blank)`;
|
|
1649
1649
|
}, Qn = (e) => {
|
|
1650
1650
|
if (0 === e.length) return "";
|
|
1651
|
-
const t =
|
|
1651
|
+
const t = v.rangeToString(e[0]);
|
|
1652
1652
|
if (1 === e.length) return t;
|
|
1653
1653
|
const n = e.length - 1;
|
|
1654
1654
|
return `${t}, +${n} block${1 === n ? "" : "s"}`;
|
|
@@ -1754,7 +1754,7 @@ function uo(e, t, n = String) {
|
|
|
1754
1754
|
}
|
|
1755
1755
|
function ho(e) {
|
|
1756
1756
|
if (!e || "General" === e) return null;
|
|
1757
|
-
const t =
|
|
1757
|
+
const t = u.Builder.parse(e);
|
|
1758
1758
|
if ("General" === t.category) return null;
|
|
1759
1759
|
const n = t.decimalPlaces;
|
|
1760
1760
|
return null != n ? `${t.category} ${n}dp` : t.category;
|
|
@@ -1994,8 +1994,8 @@ function So(e, t, n, o, r) {
|
|
|
1994
1994
|
const s = n.map((e) => {
|
|
1995
1995
|
const t = e.getCoords();
|
|
1996
1996
|
o += r ? t.colEnd - t.colStart + 1 : t.rowEnd - t.rowStart + 1;
|
|
1997
|
-
const n = r ?
|
|
1998
|
-
return 0 === s ? n : `${n} (from ${r ? `row ${s + 1}` : `column ${
|
|
1997
|
+
const n = r ? v.runToString(t.colStart, t.colEnd, !0) : v.runToString(t.rowStart, t.rowEnd, !1), s = r ? t.rowStart : t.colStart;
|
|
1998
|
+
return 0 === s ? n : `${n} (from ${r ? `row ${s + 1}` : `column ${v.runToString(s, s, !0).split(":")[0]}`})`;
|
|
1999
1999
|
});
|
|
2000
2000
|
2 * o > a ? i.push(`${"sheet".padEnd(10)}${t || "default"}`) : i.push(`${e.padEnd(10)}${s.join(", ")} ${t || "default"}`);
|
|
2001
2001
|
}
|
|
@@ -2012,33 +2012,33 @@ var xo = (e, t) => e.length > t ? `${e.slice(0, t - 1)}…` : e, vo = (e) => {
|
|
|
2012
2012
|
if (!e) return null;
|
|
2013
2013
|
if ("string" == typeof e) return vo(e);
|
|
2014
2014
|
const t = e.type;
|
|
2015
|
-
if (t ===
|
|
2016
|
-
if (t ===
|
|
2015
|
+
if (t === i.Type.None) return null;
|
|
2016
|
+
if (t === i.Type.Gradient) return "gradient";
|
|
2017
2017
|
const n = e, o = vo(n.foreground ?? e.color ?? n.background), r = n.patternType;
|
|
2018
|
-
return [r && r !==
|
|
2018
|
+
return [r && r !== i.BuiltInSheetPattern.Solid ? `${r} pattern` : null, o].filter(Boolean).join(" ") || null;
|
|
2019
2019
|
})(e.fill);
|
|
2020
2020
|
n && t.push(`fill ${n}`);
|
|
2021
2021
|
const o = e.font;
|
|
2022
2022
|
if (o) {
|
|
2023
2023
|
const e = [];
|
|
2024
|
-
(void 0 !== o.weight ? o.weight >= 600 : !0 === o.bold) && e.push("bold"), (void 0 !== o.style ? o.style ===
|
|
2024
|
+
(void 0 !== o.weight ? o.weight >= 600 : !0 === o.bold) && e.push("bold"), (void 0 !== o.style ? o.style === a.Style.Italic : !0 === o.italic) && e.push("italic"), o.strike && e.push("strike"), o.underline && o.underline !== a.UnderlineStyle.None && e.push(`underline ${o.underline}`);
|
|
2025
2025
|
const n = "auto" === o.color ? null : vo(o.color);
|
|
2026
2026
|
n && e.push(`text ${n}`), e.length > 0 && t.push(e.join(" "));
|
|
2027
2027
|
}
|
|
2028
2028
|
if (void 0 !== e.numberFormat && null !== e.numberFormat) {
|
|
2029
|
-
const n = "number" == typeof e.numberFormat ?
|
|
2029
|
+
const n = "number" == typeof e.numberFormat ? u.resolve(e.numberFormat) : String(e.numberFormat);
|
|
2030
2030
|
n && t.push(n);
|
|
2031
2031
|
}
|
|
2032
2032
|
return e.borders && t.push("border"), e.alignment && t.push("alignment"), t.length > 0 ? t.join(" · ") : null;
|
|
2033
2033
|
}, Eo = (e) => {
|
|
2034
|
-
const t = e.type ??
|
|
2034
|
+
const t = e.type ?? k.ColorStopType.Num, n = e.value, o = null == n || "" === n ? t : `${t} ${n}`, r = vo(e.color);
|
|
2035
2035
|
return r ? `${o} ${r}` : o;
|
|
2036
2036
|
}, Ro = (e) => {
|
|
2037
2037
|
let t, n = e.type;
|
|
2038
|
-
if (e.type ===
|
|
2038
|
+
if (e.type === k.ScaleType.DataBar) {
|
|
2039
2039
|
const o = vo(e.color);
|
|
2040
|
-
o && (n += ` ${o}`), e.solidFill && (n += " solid"), t = [e.minPoint ?? { type:
|
|
2041
|
-
} else e.type ===
|
|
2040
|
+
o && (n += ` ${o}`), e.solidFill && (n += " solid"), t = [e.minPoint ?? { type: k.ColorStopType.Min }, e.maxPoint ?? { type: k.ColorStopType.Max }];
|
|
2041
|
+
} else e.type === k.ScaleType.IconSet && (e.iconSet && (n += ` ${e.iconSet}`), e.reverse && (n += " reversed"), e.icon?.length && (n += " custom icons")), t = e.stops ?? [];
|
|
2042
2042
|
const o = t.map(Eo).join(" → ");
|
|
2043
2043
|
return o ? `${n} · ${o}` : n;
|
|
2044
2044
|
}, jo = "(no rule)", Io = (e) => {
|
|
@@ -2059,7 +2059,7 @@ var xo = (e, t) => e.length > t ? `${e.slice(0, t - 1)}…` : e, vo = (e) => {
|
|
|
2059
2059
|
return o > 0 ? `${n.join(" | ")} | +${o} more` : n.join(" | ");
|
|
2060
2060
|
}, Ao = (e, t) => {
|
|
2061
2061
|
if (e.isInvalid()) return "#REF!";
|
|
2062
|
-
const n = e.getWorksheet(), o =
|
|
2062
|
+
const n = e.getWorksheet(), o = v.rangeToString(e.getCoords(), n.getEntireCoords()) ?? "#REF!";
|
|
2063
2063
|
return n === t ? o : `${Ko(n.getName())}!${o}`;
|
|
2064
2064
|
}, Mo = (e) => {
|
|
2065
2065
|
const t = [];
|
|
@@ -2083,7 +2083,7 @@ var xo = (e, t) => e.length > t ? `${e.slice(0, t - 1)}…` : e, vo = (e) => {
|
|
|
2083
2083
|
]]) "group" === n ? t.push(`same ${r}`) : "custom" === n && t.push(`${r} ${o ?? 0}`);
|
|
2084
2084
|
const n = e.displayEmptyCellsAs ?? "zero";
|
|
2085
2085
|
return "gap" !== n && t.push(`empty as ${n}`), e.displayHidden && t.push("hidden shown"), e.rightToLeft && t.push("right to left"), e.dateAxis && e.dateRange && t.push(`dates ${e.dateRange}`), t;
|
|
2086
|
-
}, Fo =
|
|
2086
|
+
}, Fo = j.Feature, Oo = (e) => e.getRange().getStyle(), _o = (e) => Xt(e.getCell(), Ut.Mode.Display)?.display ?? null;
|
|
2087
2087
|
function Lo(e, t) {
|
|
2088
2088
|
switch (e) {
|
|
2089
2089
|
case Fo.Formula: return (e) => e.getCell().getFormulaText();
|
|
@@ -2221,7 +2221,7 @@ var Bo = (e) => {
|
|
|
2221
2221
|
const t = e.getCell().getAnomalies();
|
|
2222
2222
|
return t.length > 0 ? JSON.stringify(t.map((e) => [e.check, e.evidence])) : null;
|
|
2223
2223
|
};
|
|
2224
|
-
var Ho =
|
|
2224
|
+
var Ho = j.Feature, Uo = [
|
|
2225
2225
|
Ho.Error,
|
|
2226
2226
|
Ho.CalcError,
|
|
2227
2227
|
Ho.Anomalies,
|
|
@@ -2245,7 +2245,7 @@ var Ho = x.Feature, Uo = [
|
|
|
2245
2245
|
Ho.Conditionals,
|
|
2246
2246
|
Ho.DataValidations
|
|
2247
2247
|
]), zo = new Map(Object.entries(Ho).map(([e, t]) => [t, e])), Jo = (e) => zo.get(e) ?? e;
|
|
2248
|
-
var Xo = (e) => `${e.toString()}, ${e.getRowCount()}×${e.getColumnCount()}`, Ko = (e) =>
|
|
2248
|
+
var Xo = (e) => `${e.toString()}, ${e.getRowCount()}×${e.getColumnCount()}`, Ko = (e) => v.sheetNameToString(e) ?? "Untitled", Go = (e) => `wb.getWorksheet(${JSON.stringify(e.getWorksheet().getName())})`, Zo = (e) => ((e) => {
|
|
2249
2249
|
if (!e.includes("$")) return e;
|
|
2250
2250
|
let t = "", n = !1;
|
|
2251
2251
|
for (const o of e) {
|
|
@@ -2268,19 +2268,19 @@ function er(e, t) {
|
|
|
2268
2268
|
0 === n.length && e.fact("None"), e.blank();
|
|
2269
2269
|
}
|
|
2270
2270
|
var tr = [
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2271
|
+
b.Role.Label,
|
|
2272
|
+
b.Role.Input,
|
|
2273
|
+
b.Role.Link,
|
|
2274
|
+
b.Role.Reference,
|
|
2275
|
+
b.Role.Computed,
|
|
2276
|
+
b.Role.Output
|
|
2277
2277
|
];
|
|
2278
2278
|
var nr = 30, or = 4;
|
|
2279
2279
|
function rr(e, t, n) {
|
|
2280
2280
|
const o = /* @__PURE__ */ new Map();
|
|
2281
2281
|
let r = 0;
|
|
2282
2282
|
for (const e of n) for (const t of e.getCell().getAnomalies()) {
|
|
2283
|
-
if (t.check !==
|
|
2283
|
+
if (t.check !== b.ErrorCheck.ConstantFrequency) continue;
|
|
2284
2284
|
const n = `${t.evidence.kind}:${t.evidence.value}`;
|
|
2285
2285
|
let s = o.get(n);
|
|
2286
2286
|
s || o.set(n, s = {
|
|
@@ -2556,7 +2556,7 @@ async function Sr(e, t) {
|
|
|
2556
2556
|
var xr = "#REF!", vr = (e) => {
|
|
2557
2557
|
const t = e.getContent();
|
|
2558
2558
|
return "chart" === t.getType() && "function" == typeof t.getSeries ? t : null;
|
|
2559
|
-
}, Cr = (e, t) => `${Ko(e.getName())}!${
|
|
2559
|
+
}, Cr = (e, t) => `${Ko(e.getName())}!${v.rangeToString(t) ?? ""}`, Er = (e, t) => e ? Cr(e.getWorksheet(), e.getCoords()) : t, Rr = (e) => e.replace(/\s*[\r\n]+\s*/g, " ⏎ ").trim(), jr = (e, t) => ({
|
|
2560
2560
|
colStart: Math.min(e.colStart, t.colStart),
|
|
2561
2561
|
rowStart: Math.min(e.rowStart, t.rowStart),
|
|
2562
2562
|
colEnd: Math.max(e.colEnd, t.colEnd),
|
|
@@ -2662,7 +2662,7 @@ var Or = (e) => Ar(e) ?? "", _r = {
|
|
|
2662
2662
|
};
|
|
2663
2663
|
var Dr = (e, t) => e.colStart <= t.colEnd && t.colStart <= e.colEnd && e.rowStart <= t.rowEnd && t.rowStart <= e.rowEnd;
|
|
2664
2664
|
function Wr(e, t) {
|
|
2665
|
-
const n = e.getWorksheet(), o = n.getWorkbook()?.getWorksheets().getItems({ visibility:
|
|
2665
|
+
const n = e.getWorksheet(), o = n.getWorkbook()?.getWorksheets().getItems({ visibility: C.Visibility.VeryHidden }) ?? [n], r = /* @__PURE__ */ new Map();
|
|
2666
2666
|
for (let e = 0; e < (t?.length ?? 0); e++) {
|
|
2667
2667
|
const n = t.at(e);
|
|
2668
2668
|
if (n.isINamedRange) continue;
|
|
@@ -2710,17 +2710,17 @@ var Vr = (e) => {
|
|
|
2710
2710
|
return "string" == typeof t ? t : t ? "custom" : "rect";
|
|
2711
2711
|
}, Ur = (e, t) => `${e} ${t}${1 === e ? "" : "s"}`, qr = (e, t) => {
|
|
2712
2712
|
switch (e.type) {
|
|
2713
|
-
case
|
|
2714
|
-
case
|
|
2715
|
-
case
|
|
2713
|
+
case i.Type.None: return "none";
|
|
2714
|
+
case i.Type.Solid: return String(e.color ?? "solid");
|
|
2715
|
+
case i.Type.Gradient: {
|
|
2716
2716
|
const t = (e.stops ?? []).map((e) => String("object" == typeof e && null !== e && "color" in e ? e.color : e)), n = void 0 !== e.angle ? ` at ${e.angle}°` : "";
|
|
2717
2717
|
return `${e.gradientType ?? "linear"} gradient${t.length ? ` ${t.join(" → ")}` : ""}${n}`;
|
|
2718
2718
|
}
|
|
2719
|
-
case
|
|
2719
|
+
case i.Type.Pattern: {
|
|
2720
2720
|
const t = [e.foreground, e.background].filter((e) => void 0 !== e).join(" on ");
|
|
2721
2721
|
return `pattern ${e.patternType ?? ""}${t ? ` ${t}` : ""}`.replace(/ +/g, " ").trim();
|
|
2722
2722
|
}
|
|
2723
|
-
case
|
|
2723
|
+
case i.Type.Image: {
|
|
2724
2724
|
const n = void 0 === e.resId ? null : t?.getResource(e.resId) ?? null, o = [e.tile ? "tiled" : null, e.sourceRect ? "cropped" : null].filter(Boolean);
|
|
2725
2725
|
return `image ${n?.getName() || "(no image)"}${o.length ? `, ${o.join(", ")}` : ""}`;
|
|
2726
2726
|
}
|
|
@@ -2728,7 +2728,7 @@ var Vr = (e) => {
|
|
|
2728
2728
|
}
|
|
2729
2729
|
}, zr = (e, t) => {
|
|
2730
2730
|
if (null === e.style) return "none";
|
|
2731
|
-
const n = e.style?.[t] ??
|
|
2731
|
+
const n = e.style?.[t] ?? l.defaultStyleRefs(e)[t];
|
|
2732
2732
|
return !n || n.index <= 0 ? "none" : `theme style ${n.index}${n.color ? `, ${n.color}` : ""}`;
|
|
2733
2733
|
}, Jr = (e, t, n) => {
|
|
2734
2734
|
if (!e || e === d.LineEndType.None) return null;
|
|
@@ -2757,25 +2757,25 @@ function Gr(e, t) {
|
|
|
2757
2757
|
return 0 === t.length ? null : t.map(([e, t]) => `${e} ${t}`).join(" · ");
|
|
2758
2758
|
})(t.getAdjustments());
|
|
2759
2759
|
r && e.fact(`Adjustments: ${r} — the rest at the preset's defaults`);
|
|
2760
|
-
const
|
|
2761
|
-
|
|
2760
|
+
const a = t.getTextFrame();
|
|
2761
|
+
a && e.fact(`Text: ${Br(a.getText(), null, "")}`);
|
|
2762
2762
|
const l = ((e) => {
|
|
2763
2763
|
if (!e) return null;
|
|
2764
2764
|
const t = [];
|
|
2765
|
-
return e.anchor && t.push(Xr[e.anchor] ?? e.anchor), e.anchorCenter && t.push("centered"), "none" === e.wrap && t.push("no wrap"), e.verticalOverflow !==
|
|
2765
|
+
return e.anchor && t.push(Xr[e.anchor] ?? e.anchor), e.anchorCenter && t.push("centered"), "none" === e.wrap && t.push("no wrap"), e.verticalOverflow !== c.Overflow.Visible && e.horizontalOverflow !== c.Overflow.Visible || t.push("text may overflow the shape"), "shape" === e.autoFit && t.push("shape grows to fit text"), "normal" === e.autoFit && t.push("text shrinks to fit" + (void 0 !== e.fontScale ? ` (${e.fontScale}%)` : "")), e.vertical && e.vertical !== c.WritingMode.Horizontal && t.push(`vertical (${e.vertical})`), e.columns && e.columns > 1 && t.push(`${e.columns} columns`), e.warp && t.push(`warped (${e.warp.preset})`), t.length ? t.join(" · ") : null;
|
|
2766
2766
|
})(n.text?.body);
|
|
2767
2767
|
l && e.fact(`Text Layout: ${l}`), n.textLink && e.fact(`Text Link: ${n.textLink} — the text shows this cell's value`), e.fact(`Fill: ${n.fill ? qr(n.fill, t) : zr(n, "fill")}`), e.fact(`Line: ${((e, t) => {
|
|
2768
2768
|
const n = e.stroke, o = zr(e, "stroke");
|
|
2769
2769
|
if (!n) return o;
|
|
2770
|
-
if (n.fill?.type ===
|
|
2770
|
+
if (n.fill?.type === i.Type.None) return "none";
|
|
2771
2771
|
const r = [];
|
|
2772
2772
|
"number" == typeof n.width && r.push(`${n.width} pt`), r.push(n.fill ? qr(n.fill, t) : `color from ${o}`), void 0 !== n.dash && n.dash !== d.DashStyle.Solid && r.push(`dash ${Array.isArray(n.dash) ? n.dash.join(" ") : n.dash}`), n.compound && n.compound !== d.Compound.Single && r.push(`compound ${n.compound}`);
|
|
2773
2773
|
const s = Jr(n.headType, n.headWidth, n.headLength);
|
|
2774
2774
|
s && r.push(`head ${s}`);
|
|
2775
|
-
const
|
|
2776
|
-
return
|
|
2775
|
+
const a = Jr(n.tailType, n.tailWidth, n.tailLength);
|
|
2776
|
+
return a && r.push(`tail ${a}`), r.join(" · ");
|
|
2777
2777
|
})(n, t)}`), n.effects && e.fact(`Effects: ${n.effects.length ? n.effects.map((e) => e.type).join(", ") : "none — the theme style's are turned off"}`), (n.scene3d || n.shape3d) && e.fact("3-D: yes");
|
|
2778
|
-
const
|
|
2778
|
+
const u = ((e, t) => {
|
|
2779
2779
|
if (!e || !e.start && !e.end) return null;
|
|
2780
2780
|
const n = (e, n) => {
|
|
2781
2781
|
if (!n) return null;
|
|
@@ -2795,7 +2795,7 @@ function Gr(e, t) {
|
|
|
2795
2795
|
}
|
|
2796
2796
|
return t;
|
|
2797
2797
|
})(t.getMovable()));
|
|
2798
|
-
|
|
2798
|
+
u && e.fact(`Connected: ${u}`), n.title && e.fact(`Title: ${n.title}`), n.hyperlink && e.fact(`Hyperlink: ${Kr(n.hyperlink)}`), n.hoverHyperlink && e.fact(`Hover Hyperlink: ${Kr(n.hoverHyperlink)}`), n.macro && e.fact(`Macro: ${n.macro}`);
|
|
2799
2799
|
const h = Object.entries(n.locks ?? {}).filter(([, e]) => e).map(([e]) => e);
|
|
2800
2800
|
h.length && e.fact(`Locks: ${h.join(", ")}`);
|
|
2801
2801
|
}
|
|
@@ -2814,7 +2814,7 @@ var Zr = (e) => {
|
|
|
2814
2814
|
};
|
|
2815
2815
|
var es = (e, t) => e.length > t ? `${e.slice(0, t - 1)}…` : e, ts = (e) => e.replace(/[\r\n]+/g, " ").trim(), ns = (e) => {
|
|
2816
2816
|
const t = e.getRange();
|
|
2817
|
-
return
|
|
2817
|
+
return v.rangeToString(t.getCoords()) ?? t.toString();
|
|
2818
2818
|
}, os = ({ movable: e, text: t }) => Br(t, 300, ((e) => `${Go(e.getRange())}.getRange(${JSON.stringify(ns(e))}).getMovables()`)(e)), rs = (e) => {
|
|
2819
2819
|
const t = e.getContent();
|
|
2820
2820
|
return "function" == typeof t.getTextFrame ? t.getTextFrame()?.getText() ?? "" : null;
|
|
@@ -2968,8 +2968,8 @@ function ps(e, t) {
|
|
|
2968
2968
|
const d = e.getContent().getDescription();
|
|
2969
2969
|
d && n.fact(`Alt Text: ${ts(d)}`), n.fact(`Anchor: ${Xo(o)}, ${((e) => {
|
|
2970
2970
|
switch (e) {
|
|
2971
|
-
case
|
|
2972
|
-
case
|
|
2971
|
+
case y.Type.Absolute: return "absolute — stays put when rows or columns move";
|
|
2972
|
+
case y.Type.OneCell: return "oneCell — moves with the cells, keeps its size";
|
|
2973
2973
|
default: return "twoCell — moves and resizes with the cells";
|
|
2974
2974
|
}
|
|
2975
2975
|
})(e.getAnchorType?.())}`), n.fact(`Bounds: ${((e) => {
|
|
@@ -3009,7 +3009,7 @@ var fs = (e) => "visible" === e.getVisibility(), ws = (e, t) => {
|
|
|
3009
3009
|
}
|
|
3010
3010
|
default: return null;
|
|
3011
3011
|
}
|
|
3012
|
-
}, $s = /* @__PURE__ */ new Map([["hyperlink",
|
|
3012
|
+
}, $s = /* @__PURE__ */ new Map([["hyperlink", j.Feature.Hyperlink], ["numberFormat", j.Feature.NumberFormat]]), ys = (e, t) => t && "" !== t.trim() ? [{
|
|
3013
3013
|
field: e,
|
|
3014
3014
|
text: {
|
|
3015
3015
|
match: t,
|
|
@@ -3304,7 +3304,7 @@ var As = {
|
|
|
3304
3304
|
rowIndex: t.rowStart,
|
|
3305
3305
|
colIndex: t.colStart
|
|
3306
3306
|
});
|
|
3307
|
-
S("cell", r,
|
|
3307
|
+
S("cell", r, v.rangeToString(t) ?? e.getRange().toString(), n, o) && m++;
|
|
3308
3308
|
}
|
|
3309
3309
|
for (const e of d) {
|
|
3310
3310
|
if (b || !s) break;
|
|
@@ -3335,7 +3335,7 @@ var As = {
|
|
|
3335
3335
|
for (const { movable: e, at: o } of t) {
|
|
3336
3336
|
const t = k(ks(e, n));
|
|
3337
3337
|
if (t) {
|
|
3338
|
-
if (!S("object", r,
|
|
3338
|
+
if (!S("object", r, v.rangeToString(o) ?? e.getRange().toString(), t)) break;
|
|
3339
3339
|
w++;
|
|
3340
3340
|
}
|
|
3341
3341
|
}
|
|
@@ -3759,7 +3759,7 @@ var Qs = {
|
|
|
3759
3759
|
}(e, n);
|
|
3760
3760
|
}
|
|
3761
3761
|
}
|
|
3762
|
-
}, ea =
|
|
3762
|
+
}, ea = j.Feature;
|
|
3763
3763
|
async function ta(e, t, n, o) {
|
|
3764
3764
|
await na(e, t, "precedents", n, o), await na(e, t, "dependents", n, o);
|
|
3765
3765
|
}
|
|
@@ -4093,7 +4093,7 @@ function ba(e, t) {
|
|
|
4093
4093
|
function ka(e) {
|
|
4094
4094
|
return e.map((e) => `cites ${e.scope}: ${e.reason}`).join("; ");
|
|
4095
4095
|
}
|
|
4096
|
-
var Sa =
|
|
4096
|
+
var Sa = j.Feature, xa = [
|
|
4097
4097
|
["formatCells", "format cells"],
|
|
4098
4098
|
["formatColumns", "format columns"],
|
|
4099
4099
|
["formatRows", "format rows"],
|
|
@@ -4138,7 +4138,7 @@ var Sa = x.Feature, xa = [
|
|
|
4138
4138
|
colEnd: Math.max(t.colEnd, e.colEnd)
|
|
4139
4139
|
} : { ...e };
|
|
4140
4140
|
}
|
|
4141
|
-
return t ?
|
|
4141
|
+
return t ? v.rangeToString(t) ?? "" : "";
|
|
4142
4142
|
}, Na = (e, t) => `${e} ${t}${1 !== e ? "s" : ""}`;
|
|
4143
4143
|
function Aa(e) {
|
|
4144
4144
|
const t = new En(), n = e.getRanges();
|
|
@@ -4146,7 +4146,7 @@ function Aa(e) {
|
|
|
4146
4146
|
const o = n.getWorksheet().getProtection().isLocked();
|
|
4147
4147
|
return t.fact("In force: " + (o ? "true — the sheet is protected" : "false — the sheet is not protected, so every cell is editable")), e.getSecurityDescriptor() && t.fact("Security Descriptor: present · not evaluated"), t.toLines().join("\n").trimEnd();
|
|
4148
4148
|
}
|
|
4149
|
-
var Ma =
|
|
4149
|
+
var Ma = j.Feature;
|
|
4150
4150
|
async function Fa(e, t) {
|
|
4151
4151
|
const n = e.getWorksheet().getRange(e.getCoords());
|
|
4152
4152
|
e = n.getCell();
|
|
@@ -4161,7 +4161,7 @@ async function Fa(e, t) {
|
|
|
4161
4161
|
const t = e.getDate();
|
|
4162
4162
|
if (!t) return null;
|
|
4163
4163
|
const n = (e, t = 2) => String(e).padStart(t, "0"), o = `${n(t.getHours())}:${n(t.getMinutes())}:${n(t.getSeconds())}`;
|
|
4164
|
-
if (!
|
|
4164
|
+
if (!u.getEngine().isDateFormat(e.getStyle().getNumberFormat())) return e.getValue() < 1 ? o : null;
|
|
4165
4165
|
const r = `${n(t.getFullYear(), 4)}-${n(t.getMonth() + 1)}-${n(t.getDate())}`;
|
|
4166
4166
|
return "00:00:00" === o ? r : `${r}T${o}`;
|
|
4167
4167
|
}(t);
|
|
@@ -4178,10 +4178,10 @@ async function Fa(e, t) {
|
|
|
4178
4178
|
const s = Mo(t.getProperties());
|
|
4179
4179
|
return s.length > 0 && o.push(s.join(", ")), o.join(" · ");
|
|
4180
4180
|
})(i)}`);
|
|
4181
|
-
const
|
|
4182
|
-
if (
|
|
4181
|
+
const l = t.getSpans(), c = !t.isTopLeft();
|
|
4182
|
+
if (c || l.height > 1 || l.width > 1) {
|
|
4183
4183
|
const n = t.getRange().toString();
|
|
4184
|
-
e.fact(`Merge: ${n} · ${
|
|
4184
|
+
e.fact(`Merge: ${n} · ${l.height}×${l.width}`), c && e.fact("Merge Anchor: false — this cell is covered; the value lives at the top-left");
|
|
4185
4185
|
}
|
|
4186
4186
|
const d = t.getSpill();
|
|
4187
4187
|
d && e.fact(`Spill: ${d.toString()}${"error" === t.getSpillKind() ? " (blocked)" : ""}`), t.isSpillOverflow() && e.fact("Spill Overflow: true — the anchor formula is elsewhere");
|
|
@@ -4305,7 +4305,7 @@ async function Fa(e, t) {
|
|
|
4305
4305
|
}
|
|
4306
4306
|
e.blank();
|
|
4307
4307
|
}(o, e, a), function(e, t) {
|
|
4308
|
-
const n = t.getAnomalies().filter((e) => e.check !==
|
|
4308
|
+
const n = t.getAnomalies().filter((e) => e.check !== b.ErrorCheck.ConstantFrequency);
|
|
4309
4309
|
if (0 !== n.length) {
|
|
4310
4310
|
e.h2(`Anomalies (${n.length})`);
|
|
4311
4311
|
for (const o of n) e.text(` ${nn(o, t)}`);
|
|
@@ -4441,7 +4441,7 @@ async function Da(e, t) {
|
|
|
4441
4441
|
}(n, e, t);
|
|
4442
4442
|
return function(e, t, n) {
|
|
4443
4443
|
const o = [];
|
|
4444
|
-
for (const e of t.getRegions(
|
|
4444
|
+
for (const e of t.getRegions(j.Feature.Formula)) {
|
|
4445
4445
|
const t = e.getCell(), r = t.getFormulaText();
|
|
4446
4446
|
if (r && (o.push({
|
|
4447
4447
|
address: e.getAddress(),
|
|
@@ -4506,7 +4506,7 @@ function Ha(e) {
|
|
|
4506
4506
|
const o = e.getCondition();
|
|
4507
4507
|
t.fact(`Rule: ${o?.toString() || "none — anything is accepted here"}`);
|
|
4508
4508
|
const r = ((e) => {
|
|
4509
|
-
if (e?.getOperator()?.getName() !==
|
|
4509
|
+
if (e?.getOperator()?.getName() !== E.BuiltInOperatorNames.InSet) return null;
|
|
4510
4510
|
const t = e.getParam();
|
|
4511
4511
|
if (!t) return null;
|
|
4512
4512
|
const n = [], o = t.source;
|
|
@@ -4520,7 +4520,7 @@ function Ha(e) {
|
|
|
4520
4520
|
})(o);
|
|
4521
4521
|
r && t.fact(`Allowed: ${r}`), t.fact("Blanks: " + (e.isIncludeBlanks() ? "allowed" : "rejected"));
|
|
4522
4522
|
const s = e.getAlertStyle();
|
|
4523
|
-
if (t.fact(`Alert: ${s}${s ===
|
|
4523
|
+
if (t.fact(`Alert: ${s}${s === f.AlertStyle.Stop ? " — the entry is refused" : " — the entry is accepted anyway"}`), e.isShowAlertMessage()) {
|
|
4524
4524
|
const n = Ua(e.getAlertTitle(), e.getAlertMessage());
|
|
4525
4525
|
n && t.fact(`Alert Message: ${n}`);
|
|
4526
4526
|
}
|
|
@@ -4692,16 +4692,16 @@ var ni = [
|
|
|
4692
4692
|
}, ci = (e) => oi.every(([, t], n) => ai(t(e)) === ni[n]), ui = (e, t) => {
|
|
4693
4693
|
if (!e) return null;
|
|
4694
4694
|
const n = e.getCoords();
|
|
4695
|
-
return t ?
|
|
4695
|
+
return t ? v.runToString(n.colStart, n.colEnd, !0) : v.runToString(n.rowStart, n.rowEnd, !1);
|
|
4696
4696
|
}, di = (e, t) => {
|
|
4697
4697
|
if (0 === e.length) return null;
|
|
4698
4698
|
const n = e.slice(0, 20).map((e) => {
|
|
4699
4699
|
const n = t ? e.getColumnIndex() : e.getRowIndex();
|
|
4700
|
-
return
|
|
4700
|
+
return v.runToString(n, n, t).split(":")[0];
|
|
4701
4701
|
}), o = e.length > 20 ? `, …and ${e.length - 20} more` : "";
|
|
4702
4702
|
return `before ${t ? "columns" : "rows"} ${n.join(", ")}${o}`;
|
|
4703
4703
|
}, hi = (e) => {
|
|
4704
|
-
const t = e.getHeadersFooters(), n = t.getState(), o =
|
|
4704
|
+
const t = e.getHeadersFooters(), n = t.getState(), o = R.HeaderFooterState, r = n === o.FirstAndDefault || n === o.FirstOddAndEven, s = n === o.OddAndEven || n === o.FirstOddAndEven, a = [];
|
|
4705
4705
|
return r && a.push(["first page", t.getFirstPage()]), s ? (a.push(["odd pages", t.getOddPages()]), a.push(["even pages", t.getEvenPages()])) : a.push([r ? "other pages" : "every page", t.getDefaultForAllPages()]), a;
|
|
4706
4706
|
}, gi = (e, t, n) => {
|
|
4707
4707
|
const o = [];
|
|
@@ -4775,7 +4775,7 @@ var bi = (e) => {
|
|
|
4775
4775
|
}, ki = /^\s*=\s*TABLE\s*\(([^()]*)\)\s*$/i;
|
|
4776
4776
|
function Si(e) {
|
|
4777
4777
|
const t = [];
|
|
4778
|
-
for (const n of e.getEntireRange().getRegions(
|
|
4778
|
+
for (const n of e.getEntireRange().getRegions(j.Feature.Formula)) {
|
|
4779
4779
|
if (!ki.test(n.getCell().getFormulaText() ?? "")) continue;
|
|
4780
4780
|
const o = n.getCoords();
|
|
4781
4781
|
for (let n = o.rowStart; n <= o.rowEnd; n++) for (let r = o.colStart; r <= o.colEnd; r++) {
|
|
@@ -4828,13 +4828,13 @@ async function Ei(e, t) {
|
|
|
4828
4828
|
let n = "";
|
|
4829
4829
|
t && t.getSelectedWorksheet()?.getId() === e.getId() && (n += " (selected)");
|
|
4830
4830
|
const o = e.getVisibility();
|
|
4831
|
-
return o ===
|
|
4831
|
+
return o === C.Visibility.Hidden ? n += " (hidden)" : o === C.Visibility.VeryHidden && (n += " (very hidden)"), e.getProtection().isLocked() && (n += " (protected)"), n;
|
|
4832
4832
|
}(e)}`), n.text(`Used: ${r ? Xo(r) : "empty"}`), n.text(`Selection: ${Xo(o)}`);
|
|
4833
4833
|
const s = yr(e);
|
|
4834
4834
|
s && n.text(`Outline: ${s}`);
|
|
4835
4835
|
const a = function(e) {
|
|
4836
4836
|
const t = e.getPageLayout(), n = [];
|
|
4837
|
-
t.getOrientation() !==
|
|
4837
|
+
t.getOrientation() !== R.Orientation.Portrait && n.push(t.getOrientation());
|
|
4838
4838
|
const o = li(t);
|
|
4839
4839
|
o && n.push(o);
|
|
4840
4840
|
const r = ii(t);
|
|
@@ -4988,7 +4988,7 @@ var Ti = (e) => !!e && "object" == typeof e && !0 === e.isIRange, Ni = (e) => {
|
|
|
4988
4988
|
text: t,
|
|
4989
4989
|
alignment: "right"
|
|
4990
4990
|
} : { text: t };
|
|
4991
|
-
}, Ai =
|
|
4991
|
+
}, Ai = j.Feature, Mi = [
|
|
4992
4992
|
[Ai.Font, "fonts"],
|
|
4993
4993
|
[Ai.NumberFormat, "formats"],
|
|
4994
4994
|
[Ai.Fill, "fills"],
|
|
@@ -4999,7 +4999,7 @@ async function Fi(e, t) {
|
|
|
4999
4999
|
const n = new En();
|
|
5000
5000
|
n.h1(`Workbook — ${e.getName() ?? "Untitled"}`), n.text(`Locale: ${e.getRuntime().getLocale()}`);
|
|
5001
5001
|
const o = e.getCalculation();
|
|
5002
|
-
o.getStatus() ===
|
|
5002
|
+
o.getStatus() === w.Status.Off ? n.text("Calculation: off — formulas have not been evaluated; values are as loaded. wb.getCalculation().calculate() evaluates them") : o.getStatus() === w.Status.Error ? n.text("Calculation: error — the engine failed to start; values are as loaded. wb.getCalculation().start() tries again") : o.getCalculationMode() === w.CalculationMode.Manual && n.text("Calculation: manual — values are as of the last calculation. wb.getCalculation().calculate() refreshes them");
|
|
5003
5003
|
const r = ((e) => {
|
|
5004
5004
|
const t = Ca(e);
|
|
5005
5005
|
if (!t) return null;
|
|
@@ -5007,7 +5007,7 @@ async function Fi(e, t) {
|
|
|
5007
5007
|
return n ? `${n} ${t}` : t;
|
|
5008
5008
|
})(e.getProtection());
|
|
5009
5009
|
r && n.text(`Protection: ${r}`), n.blank();
|
|
5010
|
-
const s = e.getWorksheets().getItems({ visibility:
|
|
5010
|
+
const s = e.getWorksheets().getItems({ visibility: C.Visibility.VeryHidden }), a = e.getSelectedSheet(), i = e.getStyles().getNormal(), l = [];
|
|
5011
5011
|
for (const e of s) {
|
|
5012
5012
|
const t = Oi(e, i);
|
|
5013
5013
|
l.push({
|
|
@@ -5049,7 +5049,7 @@ async function Fi(e, t) {
|
|
|
5049
5049
|
n.blank();
|
|
5050
5050
|
}
|
|
5051
5051
|
u.length < l.length && (n.text(`…and ${l.length - u.length} more sheets · wb.getWorksheets().getItems() lists all`), n.blank());
|
|
5052
|
-
const m = e.getSheets({ visibility:
|
|
5052
|
+
const m = e.getSheets({ visibility: C.Visibility.VeryHidden }).filter((e) => e.getKind() !== C.Kind.Worksheet);
|
|
5053
5053
|
if (m.length > 0) {
|
|
5054
5054
|
n.h2(`Other sheets (${m.length})`), n.blank();
|
|
5055
5055
|
for (const e of m) n.text(` ${Hi(e, e.getId() === a.getId())}`);
|
|
@@ -5150,7 +5150,7 @@ function Oi(e, t) {
|
|
|
5150
5150
|
for (const n of l) {
|
|
5151
5151
|
const o = n.getRowCount() * n.getColumnCount();
|
|
5152
5152
|
t += o;
|
|
5153
|
-
for (const t of n.getCell().getAnomalies()) t.check !==
|
|
5153
|
+
for (const t of n.getCell().getAnomalies()) t.check !== b.ErrorCheck.ConstantFrequency && e.set(t.check, (e.get(t.check) ?? 0) + o);
|
|
5154
5154
|
}
|
|
5155
5155
|
r.push({
|
|
5156
5156
|
label: "anomalies",
|
|
@@ -5269,18 +5269,18 @@ function Wi(e) {
|
|
|
5269
5269
|
colEnd: Math.max(t.colEnd, e.colEnd)
|
|
5270
5270
|
} : e;
|
|
5271
5271
|
}
|
|
5272
|
-
return t ?
|
|
5272
|
+
return t ? v.rangeToString(t) ?? "" : "";
|
|
5273
5273
|
}
|
|
5274
5274
|
var Vi = (e, t) => `${e} ${t}${1 !== e ? "s" : ""}`;
|
|
5275
5275
|
function Bi(e, t) {
|
|
5276
5276
|
const n = e.getVisibility();
|
|
5277
5277
|
let o = "";
|
|
5278
|
-
return t && (o += " (selected)"), n ===
|
|
5278
|
+
return t && (o += " (selected)"), n === C.Visibility.Hidden ? o += " (hidden)" : n === C.Visibility.VeryHidden && (o += " (very hidden)"), e.getProtection().isLocked() && (o += " (protected)"), `${Ko(e.getName())}${o}`;
|
|
5279
5279
|
}
|
|
5280
5280
|
function Hi(e, t) {
|
|
5281
|
-
const n = e.getKind(), o = n ===
|
|
5281
|
+
const n = e.getKind(), o = n === C.Kind.Chart ? "chart sheet" : n === C.Kind.Macro ? "Excel 4.0 macro sheet" : "dialog sheet", r = e.getVisibility();
|
|
5282
5282
|
let s = ` (${o})`;
|
|
5283
|
-
return t && (s += " (selected)"), r ===
|
|
5283
|
+
return t && (s += " (selected)"), r === C.Visibility.Hidden ? s += " (hidden)" : r === C.Visibility.VeryHidden && (s += " (very hidden)"), `${Ko(e.getName())}${s}`;
|
|
5284
5284
|
}
|
|
5285
5285
|
var Ui = 6;
|
|
5286
5286
|
function qi(e, t, n, o, r) {
|
|
@@ -5352,7 +5352,7 @@ function qi(e, t, n, o, r) {
|
|
|
5352
5352
|
for (const { movable: e, detail: t } of m) {
|
|
5353
5353
|
const n = e.getRange();
|
|
5354
5354
|
l.push({
|
|
5355
|
-
address: `${Ko(n.getWorksheet().getName())}!${
|
|
5355
|
+
address: `${Ko(n.getWorksheet().getName())}!${v.rangeToString(n.getCoords()) ?? ""}`,
|
|
5356
5356
|
size: "chart",
|
|
5357
5357
|
payload: `${e.getContent().getName?.() || "(unnamed)"} · ${t}`
|
|
5358
5358
|
});
|
|
@@ -5647,7 +5647,7 @@ var Gi = 20, Zi = [
|
|
|
5647
5647
|
const t = new En();
|
|
5648
5648
|
t.h1("Page Layout"), t.blank();
|
|
5649
5649
|
const n = e.getOrientation();
|
|
5650
|
-
t.fact(`Orientation: ${n}${n ===
|
|
5650
|
+
t.fact(`Orientation: ${n}${n === R.Orientation.Portrait ? " (default)" : ""}`), t.fact(`Paper: ${li(e) ?? "letter (default)"}`), t.fact(`Zoom: ${ii(e) ?? "100% (default)"}`);
|
|
5651
5651
|
const o = oi.map(([t, n]) => `${t} ${ai(n(e))}`).join(" · ");
|
|
5652
5652
|
t.fact(`Margins (inches): ${o}${ci(e) ? " (default)" : ""}`);
|
|
5653
5653
|
const r = e.getPrintArea();
|
|
@@ -5659,7 +5659,7 @@ var Gi = 20, Zi = [
|
|
|
5659
5659
|
const l = ri.filter(([, t]) => t(e)).map(([e]) => e);
|
|
5660
5660
|
l.length > 0 && t.fact(`Also prints: ${l.join(", ")}`);
|
|
5661
5661
|
const c = e.getFirstPageNumber();
|
|
5662
|
-
"" !== c && t.fact(`First page number: ${c}`), e.getPrintOrder() !==
|
|
5662
|
+
"" !== c && t.fact(`First page number: ${c}`), e.getPrintOrder() !== R.PrintOrder.DownThenOver && t.fact(`Page order: ${e.getPrintOrder()}`), e.getPrintComments() !== R.PrintComments.NoComments && t.fact(`Notes: ${e.getPrintComments()}`), e.getPrintErrors() !== R.PrintErrorType.AsDisplayed && t.fact(`Errors print as: ${e.getPrintErrors()}`);
|
|
5663
5663
|
const u = hi(e).flatMap(([e, t]) => {
|
|
5664
5664
|
const n = [], o = gi(t.getLeftHeader(), t.getCenterHeader(), t.getRightHeader());
|
|
5665
5665
|
o && n.push(`${e} header: ${o}`);
|
|
@@ -5673,7 +5673,7 @@ var Gi = 20, Zi = [
|
|
|
5673
5673
|
kind: "stats",
|
|
5674
5674
|
is: (e) => Ji(e, "isIRangeStats"),
|
|
5675
5675
|
render: (e) => function(e) {
|
|
5676
|
-
const t = new En(), n = e.getCoords(), o = n ?
|
|
5676
|
+
const t = new En(), n = e.getCoords(), o = n ? v.rangeToString(n) : null;
|
|
5677
5677
|
t.h1(o ? `Stats — ${o}` : "Stats");
|
|
5678
5678
|
const r = e.getTypedCounts();
|
|
5679
5679
|
t.fact(`Cells: ${e.getSize()}`), t.fact(`Values: ${e.getCount()}`);
|
|
@@ -5741,9 +5741,9 @@ var Gi = 20, Zi = [
|
|
|
5741
5741
|
kind: "regions",
|
|
5742
5742
|
is: (e) => Ji(e, "isICellRegions"),
|
|
5743
5743
|
render: (e, t) => function(e, t) {
|
|
5744
|
-
const n = [...e], o = e.getFeatures(), r = o.join(", "), s = 1 === o.length && o[0] ===
|
|
5744
|
+
const n = [...e], o = e.getFeatures(), r = o.join(", "), s = 1 === o.length && o[0] === j.Feature.Contentful, a = e.getRange().getWorksheet().getWorkbook()?.getStyles().getNormal() ?? null, i = new En();
|
|
5745
5745
|
i.h1(`Regions — ${r} (${n.length})`);
|
|
5746
|
-
const l = 1 === o.length && o[0] ===
|
|
5746
|
+
const l = 1 === o.length && o[0] === j.Feature.Anomalies;
|
|
5747
5747
|
return Do(i, n, {
|
|
5748
5748
|
...t,
|
|
5749
5749
|
profile: s,
|
|
@@ -5835,7 +5835,7 @@ async function tl(e, t, n) {
|
|
|
5835
5835
|
return a;
|
|
5836
5836
|
}
|
|
5837
5837
|
var nl = 2;
|
|
5838
|
-
var ol =
|
|
5838
|
+
var ol = j.Feature;
|
|
5839
5839
|
function rl(e, t, n, o, r, s) {
|
|
5840
5840
|
const a = o?.getRanges() ?? null, i = {
|
|
5841
5841
|
sheet: Ko(e.getName()),
|
|
@@ -6371,7 +6371,7 @@ async function Bl(e, t) {
|
|
|
6371
6371
|
try {
|
|
6372
6372
|
const n = "snippet" === await Ml(e) ? await Ll(e) : null;
|
|
6373
6373
|
if ("undefined" === t && !n?.expectsValue) return [];
|
|
6374
|
-
const [{ ScriptCompiler: o }, { getScriptingDeclarations: r }] = await Promise.all([import("./assets/
|
|
6374
|
+
const [{ ScriptCompiler: o }, { getScriptingDeclarations: r }] = await Promise.all([import("./assets/DaF9L7No8h8a-cqb.js"), import("./assets/Dfv_T_PQVL0O3lu5.js")]), { diagnostics: s } = await o.compile({
|
|
6375
6375
|
source: n?.source ?? e,
|
|
6376
6376
|
ambientTypes: await r(),
|
|
6377
6377
|
lenient: !0,
|
|
@@ -7081,9 +7081,9 @@ var ac = class e {
|
|
|
7081
7081
|
const e = {
|
|
7082
7082
|
origin: "http://screenshot.sheetxl.invalid",
|
|
7083
7083
|
key: null
|
|
7084
|
-
}, t = await
|
|
7084
|
+
}, t = await x.getDetails();
|
|
7085
7085
|
if (t.isEval() || !t.getRuntimes().includes("browser")) return e;
|
|
7086
|
-
const n = await
|
|
7086
|
+
const n = await x.getLicenseKey();
|
|
7087
7087
|
if (!n) return e;
|
|
7088
7088
|
for (const e of t.getDomains()) if (!e.includes("*")) try {
|
|
7089
7089
|
const t = new URL(e);
|
|
@@ -7111,7 +7111,7 @@ var ac = class e {
|
|
|
7111
7111
|
async capture(e, t) {
|
|
7112
7112
|
if (!ic(e)) {
|
|
7113
7113
|
const n = e.getCalculation();
|
|
7114
|
-
n.getStatus() ===
|
|
7114
|
+
n.getStatus() === w.Status.Running && await n.whenPendingDone({ timeout: t?.answerTimeout ?? 1e4 });
|
|
7115
7115
|
}
|
|
7116
7116
|
const n = new Uint8Array(ic(e) ? e : await T.writeArrayBuffer(e, { format: "sxl" })), o = t?.maxEdge ?? 1600, r = t?.scale ?? 1, s = {
|
|
7117
7117
|
range: t?.range,
|
|
@@ -7375,7 +7375,7 @@ async function fc(e, t = function(e = process.env.SHEETXL_RUN_TIMEOUT) {
|
|
|
7375
7375
|
const t = Number(e);
|
|
7376
7376
|
return !Number.isFinite(t) || t < 0 ? pc : 0 === t ? null : Math.round(1e3 * t);
|
|
7377
7377
|
}()) {
|
|
7378
|
-
const { ScriptCompiler: n, DiagnosticCode: o } = await import("./assets/
|
|
7378
|
+
const { ScriptCompiler: n, DiagnosticCode: o } = await import("./assets/DaF9L7No8h8a-cqb.js"), r = await N(), s = null !== t ? {
|
|
7379
7379
|
key: me(),
|
|
7380
7380
|
timeoutMs: t
|
|
7381
7381
|
} : void 0, a = async (e) => {
|
|
@@ -7613,7 +7613,7 @@ var Mc = process.env.SHEETXL_WORKSPACE ?? process.cwd(), Fc = function(e, t, n,
|
|
|
7613
7613
|
}(Xl, Mc, /* @__PURE__ */ new Date(), Nc), Oc = function(e, t) {
|
|
7614
7614
|
const n = new lc(), o = /* @__PURE__ */ new Map(), r = new wc(), s = new fe({
|
|
7615
7615
|
name: "sheetxl-mcp",
|
|
7616
|
-
version: "0.8.0-beta.
|
|
7616
|
+
version: "0.8.0-beta.24"
|
|
7617
7617
|
}, {
|
|
7618
7618
|
instructions: `${Cc}\n\n${Ec}`,
|
|
7619
7619
|
capabilities: { tasks: {
|
|
@@ -7678,10 +7678,10 @@ var Mc = process.env.SHEETXL_WORKSPACE ?? process.cwd(), Fc = function(e, t, n,
|
|
|
7678
7678
|
}, ...t.content ?? []]);
|
|
7679
7679
|
}
|
|
7680
7680
|
const a = await (async () => {
|
|
7681
|
-
const e = await
|
|
7681
|
+
const e = await x.getEvalState().catch(() => null);
|
|
7682
7682
|
if (!e || e === c) return null;
|
|
7683
7683
|
if (c = e, "grace" !== e && "stopped" !== e) return null;
|
|
7684
|
-
const t = (await
|
|
7684
|
+
const t = (await x.getDetails()).getEvalStopDate()?.toISOString().slice(0, 10);
|
|
7685
7685
|
return `⚠ This SheetXL build is past its evaluation period: ${"grace" === e ? `exports (xlsx, csv — every format but .sxl) are refused, and on ${t} it stops calculating and running scripts` : "it no longer calculates, runs scripts or exports"}. Saving as .sxl always works. Tell the user before you edit anything they will need to export. Fix: update — restart this server on the latest release (\`npx -y @sheetxl/mcp@latest\`, or update the SheetXL VS Code extension) — or set a license key (\`SHEETXL_LICENSE_KEY\`).`;
|
|
7686
7686
|
})();
|
|
7687
7687
|
return a && (t.content = [{
|
|
@@ -7707,7 +7707,7 @@ var Mc = process.env.SHEETXL_WORKSPACE ?? process.cwd(), Fc = function(e, t, n,
|
|
|
7707
7707
|
type: "text",
|
|
7708
7708
|
text: ht(await lt({
|
|
7709
7709
|
surface: "mcp",
|
|
7710
|
-
license: () =>
|
|
7710
|
+
license: () => x.getDetails(),
|
|
7711
7711
|
serverCount: t ? Vt(t.workspace).filter(Bt).length + 1 : void 0,
|
|
7712
7712
|
sessions: async () => (await e.list()).map((e) => ({
|
|
7713
7713
|
id: e.id,
|