@sheetxl/mcp 0.0.0-stage → 0.8.0-beta.14
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/LICENSE.md +11 -0
- package/README.md +72 -2
- package/agent/instructions.md +66 -0
- package/assets/2zIY9Xuml4y8NI05.js +596 -0
- package/assets/33QTHR3r6ZujxFx8.js +18 -0
- package/assets/8vRAQlvTcvMLeio0.js +1131 -0
- package/assets/9MRZ5Yc2RBgcqZSp.js +594 -0
- package/assets/9dbZwzIWefGss7is.js +52 -0
- package/assets/B-1_xSqUFCJ6jNjn.js +9109 -0
- package/assets/B-jE7tAMA559MtNt.js +37 -0
- package/assets/B5xHa5bjZu5ONrm5.js +638 -0
- package/assets/B66aeGYrHLbGpuN9.js +9137 -0
- package/assets/B6BP5l2qmeZhqVV7.js +7 -0
- package/assets/B6b9ytNrHR-ijcOa.js +30 -0
- package/assets/B9QlqO6n3MCBsvoj.js +504 -0
- package/assets/B9qiPx_BXxo1jgcx.js +2368 -0
- package/assets/B9w1dNK8pNq-Z1P3.js +142 -0
- package/assets/BDZ1FGc1zFqO1nK7.js +4036 -0
- package/assets/BFwNQZVRnbNt-gRJ.js +2260 -0
- package/assets/BMnNvUCJu35tT_aO.js +19 -0
- package/assets/BNfBq8Eic3Cl-f6A.js +184 -0
- package/assets/BOF64A2D2KKcv_fo.js +15 -0
- package/assets/BOcWUnxWSG1d5Ljc.js +447 -0
- package/assets/BW8XjynUqlfvuQUV.js +37 -0
- package/assets/BWsXOU_jh_cA8m8I.js +12 -0
- package/assets/BXC6616BWEWNZ2-D.js +63 -0
- package/assets/BYtBi8vLoB41QkV8.js +656 -0
- package/assets/B_-VPqfsse8AlCTm.js +81 -0
- package/assets/BiAEoWSl8c6jcUnS.js +28 -0
- package/assets/BkBCkgPNrFR5N9fo.js +19 -0
- package/assets/BmxgDCZk_aMDms4i.js +639 -0
- package/assets/BoTScfjgygCozDVi.js +23 -0
- package/assets/BwisWvPpXRhyIP4O.js +15 -0
- package/assets/ByziR0Anm39Bw0Bc.js +1556 -0
- package/assets/C-5LlJ5qhC7Ef0gV.js +12996 -0
- package/assets/C-CNmTrzNS-ZlQ8j.js +1760 -0
- package/assets/C1rIlmARlinuie5E.js +45 -0
- package/assets/C1w8NQeox7_92swz.js +35 -0
- package/assets/C2Rgsb69SnMOohGt.js +23 -0
- package/assets/C55MTJ_5qW94RElE.js +7514 -0
- package/assets/CBNNl8igIyeHY4St.js +780 -0
- package/assets/CDGeuGB9CBXeCIm6.js +12 -0
- package/assets/CH9M37mRwnS0t9wM.js +104 -0
- package/assets/CHHJZPAuM3OjbzF6.js +402 -0
- package/assets/CMTDUipnLiOj5pbe.js +610 -0
- package/assets/COFze3jkZDQRSij9.js +4437 -0
- package/assets/CPDkdp0yI4DwUHGZ.js +119 -0
- package/assets/CULV-2mwmqYYpAjM.js +119 -0
- package/assets/CVFTQ0OwsUt03r4o.js +146 -0
- package/assets/CXM1IYmE-TDInPwr.js +118 -0
- package/assets/CcLPa6zB5PH3OG2O.js +10289 -0
- package/assets/CdF5MxGnISAZ41oQ.js +359 -0
- package/assets/CeDqeFLuUfN8UIGx.js +17 -0
- package/assets/CfiVUfpeONJ3rf31.js +28 -0
- package/assets/Cfvhcua4c6onouhP.js +14 -0
- package/assets/CgjR_TiVOcuxg5tO.js +16 -0
- package/assets/CjwzOAnab_dpAqiG.js +144 -0
- package/assets/Cm3Q_-DDdnVHRBxr.js +351 -0
- package/assets/CpOhY88x6AgVxvTz.js +49 -0
- package/assets/CtpcYuBFU6fxsUhs.js +71 -0
- package/assets/CutEBbZl8oFbTlXZ.js +171 -0
- package/assets/CwJyw5Yxpj4PGh14.js +28 -0
- package/assets/CwdOInoJwCxXnhog.js +7 -0
- package/assets/D2_T0KSaye0ncjQa.js +6294 -0
- package/assets/D2w3KjYuONW1G1kX.js +86 -0
- package/assets/D3BAmD-1AfFtHdC6.js +242 -0
- package/assets/D81iH5MJJfq2t9FP.js +32 -0
- package/assets/D94hlZEaHtGHdN_K.js +202 -0
- package/assets/DBFXsbIHDxbMBrzV.js +319 -0
- package/assets/DCHsM8bfVisYJFTT.js +1783 -0
- package/assets/DIy1659Yv5-fD69E.js +123 -0
- package/assets/DK0VM9-qrEXBm8Ud.js +223 -0
- package/assets/DPazQ_nZv-sXUwO3.js +45 -0
- package/assets/DSSrCrejjpWoszj7.js +33 -0
- package/assets/DTlvhtB9hvPdbdxu.js +60493 -0
- package/assets/DUUt1z6Y_cpxEpYY.js +24 -0
- package/assets/DUYoUViqY5U6uQX3.js +18 -0
- package/assets/DUzaW_op2vBTwOOI.js +18 -0
- package/assets/DWTpPijG5yeNFR0W.js +14 -0
- package/assets/DZRp3_yqPS6Lshho.js +32 -0
- package/assets/DZZ5R3msiytVNCqK.js +199 -0
- package/assets/Df2IAW-O7Gwl7V1l.js +7 -0
- package/assets/Dfd7kvLIFNqu-m-r.js +51 -0
- package/assets/Dg7xy50qHwqkYd4g.js +1135 -0
- package/assets/DihigEGfNCLR8UPN.js +8 -0
- package/assets/DkFK1iu4vqjLZMja.js +3011 -0
- package/assets/DkPXpv81Y5teMd-R.js +20 -0
- package/assets/Dl87mJoXDkCkzBi7.js +3917 -0
- package/assets/DnmjS548g7nY6EUS.js +1860 -0
- package/assets/DoIU_ohoCBwTZV9G.js +310 -0
- package/assets/Doqy_uDSQTCv6a6X.js +35 -0
- package/assets/DpGuA6U12gwyGHEM.js +369 -0
- package/assets/DuZ6DXQGttY3Lrhd.js +5220 -0
- package/assets/Du_JrYiYGJo5_B9H.js +12 -0
- package/assets/DvD_K4M5HgJ4uJ8L.js +7 -0
- package/assets/EeSGsbh_r4N-qs4w.js +96 -0
- package/assets/GnXTzeDYWWeEf5yV.js +55 -0
- package/assets/HKLw8b2xTdu5c1w5.js +63 -0
- package/assets/KpCEdfpsHnfkyqjx.js +37 -0
- package/assets/OU7gC5JF-lyDOOid.js +27 -0
- package/assets/PRSerWiAGYu8MVnd.js +304 -0
- package/assets/PmooYGqWqoTxPExF.js +449 -0
- package/assets/QXKcNTuZqOauSidr.js +58 -0
- package/assets/ThqyayHHaBxzfaAt.js +255 -0
- package/assets/TzsPqmpG77I4ewVt.js +173 -0
- package/assets/UX2ywz3gr7q-MlHr.js +105 -0
- package/assets/W-MzzQHZuRxr8adc.js +2346 -0
- package/assets/ZBYHyJs7CQgnnHfR.js +362 -0
- package/assets/ZTEO4JX22YIOkrJg.js +8338 -0
- package/assets/a7BoASyT8yQZY9hJ.js +22 -0
- package/assets/aqguaobnu61szXWM.js +22 -0
- package/assets/cdIvC9t9tYtVn4nc.js +405 -0
- package/assets/cv7k-VAIJtYeL9k4.js +23 -0
- package/assets/ddJqSu7gXUkXjGxZ.js +13 -0
- package/assets/eHAVGCUcMAfNjEGt.js +7 -0
- package/assets/hRLLK6I6m0uGKWo8.js +32 -0
- package/assets/mcFLzsOH35mvmd3C.js +145 -0
- package/assets/st-UQngeBG4hwKoy.js +47 -0
- package/assets/w8YWSMNTTn45ImnB.js +857 -0
- package/assets/yNiBIhsMP9BCWd67.js +28 -0
- package/assets/zu-72oKE_gCkrozc.js +540 -0
- package/index.js +8070 -0
- package/lib.js +7 -0
- package/licenses/dependencies.txt +1552 -0
- package/package.json +44 -3
- package/resources/contents.json +333 -0
- package/resources/fonts/@sheetxl/sdk/aptos-bold-italic.hinted.json +125 -0
- package/resources/fonts/@sheetxl/sdk/aptos-bold-italic.metrics.json +221 -0
- package/resources/fonts/@sheetxl/sdk/aptos-bold-italic.rows.json +8 -0
- package/resources/fonts/@sheetxl/sdk/aptos-bold.hinted.json +125 -0
- package/resources/fonts/@sheetxl/sdk/aptos-bold.metrics.json +221 -0
- package/resources/fonts/@sheetxl/sdk/aptos-bold.rows.json +8 -0
- package/resources/fonts/@sheetxl/sdk/aptos-display-bold-italic.hinted.json +125 -0
- package/resources/fonts/@sheetxl/sdk/aptos-display-bold-italic.metrics.json +221 -0
- package/resources/fonts/@sheetxl/sdk/aptos-display-bold-italic.rows.json +8 -0
- package/resources/fonts/@sheetxl/sdk/aptos-display-bold.hinted.json +125 -0
- package/resources/fonts/@sheetxl/sdk/aptos-display-bold.metrics.json +221 -0
- package/resources/fonts/@sheetxl/sdk/aptos-display-bold.rows.json +8 -0
- package/resources/fonts/@sheetxl/sdk/aptos-display-italic.hinted.json +124 -0
- package/resources/fonts/@sheetxl/sdk/aptos-display-italic.metrics.json +221 -0
- package/resources/fonts/@sheetxl/sdk/aptos-display-italic.rows.json +8 -0
- package/resources/fonts/@sheetxl/sdk/aptos-display-regular.hinted.json +125 -0
- package/resources/fonts/@sheetxl/sdk/aptos-display-regular.metrics.json +221 -0
- package/resources/fonts/@sheetxl/sdk/aptos-display-regular.rows.json +8 -0
- package/resources/fonts/@sheetxl/sdk/aptos-italic.hinted.json +125 -0
- package/resources/fonts/@sheetxl/sdk/aptos-italic.metrics.json +221 -0
- package/resources/fonts/@sheetxl/sdk/aptos-italic.rows.json +8 -0
- package/resources/fonts/@sheetxl/sdk/aptos-narrow-bold-italic.hinted.json +125 -0
- package/resources/fonts/@sheetxl/sdk/aptos-narrow-bold-italic.metrics.json +221 -0
- package/resources/fonts/@sheetxl/sdk/aptos-narrow-bold-italic.rows.json +8 -0
- package/resources/fonts/@sheetxl/sdk/aptos-narrow-bold.hinted.json +125 -0
- package/resources/fonts/@sheetxl/sdk/aptos-narrow-bold.metrics.json +221 -0
- package/resources/fonts/@sheetxl/sdk/aptos-narrow-bold.rows.json +8 -0
- package/resources/fonts/@sheetxl/sdk/aptos-narrow-italic.hinted.json +125 -0
- package/resources/fonts/@sheetxl/sdk/aptos-narrow-italic.metrics.json +221 -0
- package/resources/fonts/@sheetxl/sdk/aptos-narrow-italic.rows.json +8 -0
- package/resources/fonts/@sheetxl/sdk/aptos-narrow-regular.hinted.json +125 -0
- package/resources/fonts/@sheetxl/sdk/aptos-narrow-regular.metrics.json +221 -0
- package/resources/fonts/@sheetxl/sdk/aptos-narrow-regular.rows.json +8 -0
- package/resources/fonts/@sheetxl/sdk/aptos-regular.hinted.json +125 -0
- package/resources/fonts/@sheetxl/sdk/aptos-regular.metrics.json +221 -0
- package/resources/fonts/@sheetxl/sdk/aptos-regular.rows.json +8 -0
- package/resources/fonts/@sheetxl/sdk/arial-bold-italic.hinted.json +125 -0
- package/resources/fonts/@sheetxl/sdk/arial-bold-italic.metrics.json +139 -0
- package/resources/fonts/@sheetxl/sdk/arial-bold-italic.rows.json +8 -0
- package/resources/fonts/@sheetxl/sdk/arial-bold.hinted.json +125 -0
- package/resources/fonts/@sheetxl/sdk/arial-bold.metrics.json +139 -0
- package/resources/fonts/@sheetxl/sdk/arial-bold.rows.json +8 -0
- package/resources/fonts/@sheetxl/sdk/arial-italic.hinted.json +125 -0
- package/resources/fonts/@sheetxl/sdk/arial-italic.metrics.json +139 -0
- package/resources/fonts/@sheetxl/sdk/arial-italic.rows.json +8 -0
- package/resources/fonts/@sheetxl/sdk/arial-regular.hinted.json +125 -0
- package/resources/fonts/@sheetxl/sdk/arial-regular.metrics.json +139 -0
- package/resources/fonts/@sheetxl/sdk/arial-regular.rows.json +8 -0
- package/resources/fonts/@sheetxl/sdk/calibri-bold-italic.hinted.json +122 -0
- package/resources/fonts/@sheetxl/sdk/calibri-bold-italic.metrics.json +137 -0
- package/resources/fonts/@sheetxl/sdk/calibri-bold-italic.rows.json +8 -0
- package/resources/fonts/@sheetxl/sdk/calibri-bold.hinted.json +122 -0
- package/resources/fonts/@sheetxl/sdk/calibri-bold.metrics.json +137 -0
- package/resources/fonts/@sheetxl/sdk/calibri-bold.rows.json +8 -0
- package/resources/fonts/@sheetxl/sdk/calibri-italic.hinted.json +121 -0
- package/resources/fonts/@sheetxl/sdk/calibri-italic.metrics.json +137 -0
- package/resources/fonts/@sheetxl/sdk/calibri-italic.rows.json +8 -0
- package/resources/fonts/@sheetxl/sdk/calibri-regular.hinted.json +121 -0
- package/resources/fonts/@sheetxl/sdk/calibri-regular.metrics.json +137 -0
- package/resources/fonts/@sheetxl/sdk/calibri-regular.rows.json +8 -0
- package/resources/fonts/@sheetxl/sdk/cambria-bold-italic.hinted.json +105 -0
- package/resources/fonts/@sheetxl/sdk/cambria-bold-italic.metrics.json +66 -0
- package/resources/fonts/@sheetxl/sdk/cambria-bold-italic.rows.json +8 -0
- package/resources/fonts/@sheetxl/sdk/cambria-bold.hinted.json +108 -0
- package/resources/fonts/@sheetxl/sdk/cambria-bold.metrics.json +66 -0
- package/resources/fonts/@sheetxl/sdk/cambria-bold.rows.json +8 -0
- package/resources/fonts/@sheetxl/sdk/cambria-italic.hinted.json +102 -0
- package/resources/fonts/@sheetxl/sdk/cambria-italic.metrics.json +66 -0
- package/resources/fonts/@sheetxl/sdk/cambria-italic.rows.json +8 -0
- package/resources/fonts/@sheetxl/sdk/cambria-regular.hinted.json +110 -0
- package/resources/fonts/@sheetxl/sdk/cambria-regular.metrics.json +66 -0
- package/resources/fonts/@sheetxl/sdk/cambria-regular.rows.json +8 -0
- package/resources/fonts/@sheetxl/sdk/contents.json +646 -0
- package/resources/fonts/@sheetxl/sdk/courier-new-bold-italic.hinted.json +11 -0
- package/resources/fonts/@sheetxl/sdk/courier-new-bold-italic.metrics.json +143 -0
- package/resources/fonts/@sheetxl/sdk/courier-new-bold-italic.rows.json +8 -0
- package/resources/fonts/@sheetxl/sdk/courier-new-bold.hinted.json +11 -0
- package/resources/fonts/@sheetxl/sdk/courier-new-bold.metrics.json +143 -0
- package/resources/fonts/@sheetxl/sdk/courier-new-bold.rows.json +8 -0
- package/resources/fonts/@sheetxl/sdk/courier-new-italic.hinted.json +11 -0
- package/resources/fonts/@sheetxl/sdk/courier-new-italic.metrics.json +143 -0
- package/resources/fonts/@sheetxl/sdk/courier-new-italic.rows.json +8 -0
- package/resources/fonts/@sheetxl/sdk/courier-new-regular.hinted.json +11 -0
- package/resources/fonts/@sheetxl/sdk/courier-new-regular.metrics.json +143 -0
- package/resources/fonts/@sheetxl/sdk/courier-new-regular.rows.json +8 -0
- package/resources/fonts/@sheetxl/sdk/times-new-roman-bold-italic.hinted.json +125 -0
- package/resources/fonts/@sheetxl/sdk/times-new-roman-bold-italic.metrics.json +141 -0
- package/resources/fonts/@sheetxl/sdk/times-new-roman-bold-italic.rows.json +8 -0
- package/resources/fonts/@sheetxl/sdk/times-new-roman-bold.hinted.json +125 -0
- package/resources/fonts/@sheetxl/sdk/times-new-roman-bold.metrics.json +141 -0
- package/resources/fonts/@sheetxl/sdk/times-new-roman-bold.rows.json +8 -0
- package/resources/fonts/@sheetxl/sdk/times-new-roman-italic.hinted.json +125 -0
- package/resources/fonts/@sheetxl/sdk/times-new-roman-italic.metrics.json +143 -0
- package/resources/fonts/@sheetxl/sdk/times-new-roman-italic.rows.json +8 -0
- package/resources/fonts/@sheetxl/sdk/times-new-roman-regular.hinted.json +125 -0
- package/resources/fonts/@sheetxl/sdk/times-new-roman-regular.metrics.json +141 -0
- package/resources/fonts/@sheetxl/sdk/times-new-roman-regular.rows.json +8 -0
- package/resources/locales/@sheetxl/formulas/contents.json +9 -0
- package/resources/locales/@sheetxl/formulas/de/functions.json +298 -0
- package/resources/locales/@sheetxl/formulas-extended/contents.json +9 -0
- package/resources/locales/@sheetxl/formulas-extended/de/functions.json +59 -0
- package/resources/locales/@sheetxl/sdk/contents.json +19 -0
- package/resources/locales/@sheetxl/sdk/de/grammar.json +16 -0
- package/resources/locales/@sheetxl/sdk/de/model.msg.json +710 -0
- package/resources/locales/@sheetxl/sdk/en/model.msg.json +732 -0
- package/screenshot-page/assets/-cpi3yOZYn6GsYN4.js +9 -0
- package/screenshot-page/assets/-i_fTASJeu9NdNH_.js +7 -0
- package/screenshot-page/assets/04d8koPx6lzeMYRQ.js +39 -0
- package/screenshot-page/assets/0MTaPYjKud2Q9QG9.js +1 -0
- package/screenshot-page/assets/21oAESJyBGXeHegm.js +2 -0
- package/screenshot-page/assets/3Ls_kOvlQseMV8Q0.js +1 -0
- package/screenshot-page/assets/4qZpl2QCzneWdmJO.js +1 -0
- package/screenshot-page/assets/6IEV7KeOEbBdrthj.js +1 -0
- package/screenshot-page/assets/8QrkTrKHDnMBb7q4.js +1 -0
- package/screenshot-page/assets/9w0ECZmzGUyk3F_O.js +1 -0
- package/screenshot-page/assets/AjS2PipZDIH3BXB2.js +1 -0
- package/screenshot-page/assets/B-KIwD5F_5S-NsPg.js +1 -0
- package/screenshot-page/assets/B-sAzW5ROrhvMGM4.js +1 -0
- package/screenshot-page/assets/B0FQypGas6gbGT_U.js +1 -0
- package/screenshot-page/assets/B2IQMVqTZT1rUnib.js +1 -0
- package/screenshot-page/assets/B2g3jiFIQ4Qjh5gG.js +1 -0
- package/screenshot-page/assets/B4PbXdzBe9BsoZ0e.js +2 -0
- package/screenshot-page/assets/B5GO9v4p9L70Xb9i.js +1 -0
- package/screenshot-page/assets/B8y_eLNCGnXLEIaE.js +1 -0
- package/screenshot-page/assets/BCl5buf87xUgIfEB.js +2 -0
- package/screenshot-page/assets/BEuMvXYIa9A1JacY.js +1 -0
- package/screenshot-page/assets/BEwl-ucV9Jfr0RoC.js +1 -0
- package/screenshot-page/assets/BFaiQZKle44Rhyou.js +1 -0
- package/screenshot-page/assets/BHqg55S-4_OoAu3P.js +2 -0
- package/screenshot-page/assets/BNgLvS2bLOYKRguv.js +1 -0
- package/screenshot-page/assets/BQAN82ftWBiLJT3r.js +1 -0
- package/screenshot-page/assets/BQfe-XTIOGeUnD9B.js +1 -0
- package/screenshot-page/assets/BQnELVV0uR4T4ItQ.js +1 -0
- package/screenshot-page/assets/BRVZJ0OGJg9XJro6.js +1 -0
- package/screenshot-page/assets/BRqSWCr2mTVNFquQ.js +1 -0
- package/screenshot-page/assets/BTOQaSn9DDyJPUlX.js +1 -0
- package/screenshot-page/assets/BUGXf2DEBog16Slb.js +2 -0
- package/screenshot-page/assets/BUjI304IvdJnFXH3.js +1 -0
- package/screenshot-page/assets/BYRwTzX1q407lHUS.js +2 -0
- package/screenshot-page/assets/Baz0SC2AgGyxMX72.js +1 -0
- package/screenshot-page/assets/BbP9KThfrodyosvn.js +1 -0
- package/screenshot-page/assets/BcOdl17EeFSxnAiq.js +1 -0
- package/screenshot-page/assets/BclKeOKIOBjijhsu.js +1 -0
- package/screenshot-page/assets/Bf7xq8PyF4ohjMzP.js +2 -0
- package/screenshot-page/assets/BimyzECCZl-NESff.js +1 -0
- package/screenshot-page/assets/BkLH7JH3A93TXFJi.js +1 -0
- package/screenshot-page/assets/BksaQEoZr5OWq-_d.js +3 -0
- package/screenshot-page/assets/Bor_tayB4yBfNOH5.js +2 -0
- package/screenshot-page/assets/BowRIybLgENunTOT.js +1 -0
- package/screenshot-page/assets/Bp7se0JaDGrzfSA_.js +1 -0
- package/screenshot-page/assets/Bwql3QifB2cv7Mqp.js +3 -0
- package/screenshot-page/assets/Bx61vmiWY0Xvx9qs.js +1 -0
- package/screenshot-page/assets/ByY3fmwyDPAyOLdo.js +1 -0
- package/screenshot-page/assets/Bz2U7weS0spa8Xbh.js +1 -0
- package/screenshot-page/assets/Bz5V1tmiy5gbT9ys.js +1 -0
- package/screenshot-page/assets/Bz9v1lgjvbu4QnOs.js +2 -0
- package/screenshot-page/assets/C1k_VrZqlpiUigCP.js +1 -0
- package/screenshot-page/assets/C2Wh2h27c7FUb8Yk.js +1 -0
- package/screenshot-page/assets/C6oLDVnuCS9LGkkH.js +1 -0
- package/screenshot-page/assets/C81mK8aZKZAAS-AB.js +1 -0
- package/screenshot-page/assets/C9SC-cEIt6gdhZRw.js +1 -0
- package/screenshot-page/assets/CE0MnsfMjqV2ICzk.js +57 -0
- package/screenshot-page/assets/CE8MCCIiwjOVwBBW.js +1 -0
- package/screenshot-page/assets/CFOaI8g7pJuPzsyk.js +1 -0
- package/screenshot-page/assets/CG3ynup87FmG-kkX.js +1 -0
- package/screenshot-page/assets/CHlWgOAlcRCjVuhg.js +1 -0
- package/screenshot-page/assets/CIged53b3hHKxa-o.js +1 -0
- package/screenshot-page/assets/CNQczIR5xcE5u5fT.js +1 -0
- package/screenshot-page/assets/CSUd8n1H0VBfREnk.js +2 -0
- package/screenshot-page/assets/CSlBTkRDITCC8JRB.js +1 -0
- package/screenshot-page/assets/CV2jr9hpQOG2OG0C.js +1 -0
- package/screenshot-page/assets/CXGgKVbVXjWzE0p6.js +1 -0
- package/screenshot-page/assets/CXKCmZ_TRyGaB9Ob.js +1 -0
- package/screenshot-page/assets/CXUO3vYip3JPSJ7A.js +1 -0
- package/screenshot-page/assets/CXwbGzavyvYgDbWU.js +1 -0
- package/screenshot-page/assets/CZf9s6otzzoaBlSs.js +1 -0
- package/screenshot-page/assets/CZvwQEeVhBilgKLG.js +1 -0
- package/screenshot-page/assets/Ca6nxdhEuLLty3d7.js +2 -0
- package/screenshot-page/assets/CbUDukmvDZmVfhJH.js +1 -0
- package/screenshot-page/assets/CbXtAM7H-Jg_J0dk.js +1 -0
- package/screenshot-page/assets/CctIRGMFmARVi2KT.js +1 -0
- package/screenshot-page/assets/Cenh1POxiGMxIQlv.js +1 -0
- package/screenshot-page/assets/ChSvXfVMLxZsP9zG.js +8 -0
- package/screenshot-page/assets/Ci5NtzhJLll1kxGf.js +10 -0
- package/screenshot-page/assets/CjngjJNheGaVRvZp.js +1 -0
- package/screenshot-page/assets/ClzdIJrFdInttVJA.js +1 -0
- package/screenshot-page/assets/CnPgk3HcIziOcskY.js +10 -0
- package/screenshot-page/assets/CnXLpFE_vFrJ5Jbf.js +1 -0
- package/screenshot-page/assets/CnZJ44ncMxZ4ivcB.js +586 -0
- package/screenshot-page/assets/CpbohdgEaEsVDi9J.js +1 -0
- package/screenshot-page/assets/CqR3hGrC956TkCMj.js +20 -0
- package/screenshot-page/assets/Cr1tQKUBVKOQl3QC.js +1 -0
- package/screenshot-page/assets/Cv8FG9PPBkkPw86e.js +1 -0
- package/screenshot-page/assets/CvL9XK3Ht1mP-rGz.js +4 -0
- package/screenshot-page/assets/CykecBozGGFl26KA.js +3940 -0
- package/screenshot-page/assets/CzTizxHhb-CI_ajE.js +1 -0
- package/screenshot-page/assets/CzzEl3lAkZopkwhC.js +1 -0
- package/screenshot-page/assets/D-LgRj0s-PAVqY-L.js +1 -0
- package/screenshot-page/assets/D-XR1MGhwn7Jqj60.js +1 -0
- package/screenshot-page/assets/D47ePD4x1lVazNdl.js +7 -0
- package/screenshot-page/assets/D6Jpaz2YkhOfzxDB.js +1 -0
- package/screenshot-page/assets/D9zCVZpnJBfNSNO2.js +1 -0
- package/screenshot-page/assets/DDQWM8rNYCYzKa9R.js +1 -0
- package/screenshot-page/assets/DDpAoGAPzo1c4vl5.js +27 -0
- package/screenshot-page/assets/DGXDfjkGZjMRAXPg.js +5 -0
- package/screenshot-page/assets/DHa5_U58lSwCnpmG.js +1 -0
- package/screenshot-page/assets/DKVB6ddRfDJatYid.js +1 -0
- package/screenshot-page/assets/DM9U7u7FQK0jcwh4.js +1 -0
- package/screenshot-page/assets/DNDaHmkQrQTaCHhV.js +1 -0
- package/screenshot-page/assets/DQ0kGd99-fXxuNYk.js +1 -0
- package/screenshot-page/assets/DQWHkaQeNXft9j8b.js +2 -0
- package/screenshot-page/assets/DRVfGdmVBvktrZ1t.js +1 -0
- package/screenshot-page/assets/DRrM-dY9nM7nDRpV.js +1 -0
- package/screenshot-page/assets/DT2x1gO3f2G5NfeB.js +1 -0
- package/screenshot-page/assets/DU3FmyUH0RjPIBd-.js +1 -0
- package/screenshot-page/assets/DUJzubL4qqOyizfu.js +1 -0
- package/screenshot-page/assets/DVueE--eOrZPrqrm.js +1 -0
- package/screenshot-page/assets/DWiI5I3RtoKvVT66.js +1 -0
- package/screenshot-page/assets/DYJSIlNxrNw8qk-w.js +1 -0
- package/screenshot-page/assets/DYRbCudWTaiE_Sjc.js +1 -0
- package/screenshot-page/assets/DZDRRw-62D6Zw7qs.js +1 -0
- package/screenshot-page/assets/D_H2dlsQ8PJ0r1WD.js +10 -0
- package/screenshot-page/assets/DaKZ4-Li_ULIIwnK.js +1 -0
- package/screenshot-page/assets/DadZXeaVK5UXSHIi.js +1 -0
- package/screenshot-page/assets/Db_VGqQo2G2JgXWW.js +1 -0
- package/screenshot-page/assets/DceNHPrRLok2At-X.js +1 -0
- package/screenshot-page/assets/DcrVJCyDwGKeil2U.js +1 -0
- package/screenshot-page/assets/DeAKjatTVaZ0u_FY.js +1 -0
- package/screenshot-page/assets/DmMZ4pd492HPw_3_.js +1 -0
- package/screenshot-page/assets/DmbuCapSSCYIa3yk.js +1 -0
- package/screenshot-page/assets/Dpepompn_NhpSncR.js +1 -0
- package/screenshot-page/assets/DqM1wwsmN1J4MXMm.js +1 -0
- package/screenshot-page/assets/DqYhS4mcQfOe96hU.js +1 -0
- package/screenshot-page/assets/DsL71n5SxCVjL6Ho.js +2 -0
- package/screenshot-page/assets/DyGpT6t96jrvgJes.js +1 -0
- package/screenshot-page/assets/DyLWQxXXTw5uwPVy.js +30 -0
- package/screenshot-page/assets/DyYVf8O1rhg3YmjW.js +1 -0
- package/screenshot-page/assets/DyxJBLjUkeDuu96F.js +1 -0
- package/screenshot-page/assets/DzZRUd0p22CBa27b.js +1 -0
- package/screenshot-page/assets/HclGiUj8dZXDFmoM.js +1 -0
- package/screenshot-page/assets/IRtoU5oVgBWu9rnK.js +2 -0
- package/screenshot-page/assets/IfF7Tv-nhz6Ikpn0.js +1 -0
- package/screenshot-page/assets/J73KTOmdZGNmnq-z.js +1 -0
- package/screenshot-page/assets/J_xJVgE7YlmeU-ZO.js +6 -0
- package/screenshot-page/assets/KoxRo2J_cwB_yOd5.js +2 -0
- package/screenshot-page/assets/LVtV_IPhPQroHRui.js +1 -0
- package/screenshot-page/assets/MNoPOsydrUv1UGU8.js +2 -0
- package/screenshot-page/assets/Miyn0clMq0rovRIo.js +1 -0
- package/screenshot-page/assets/Rm5Sf5E6t8bk_Y3r.js +1 -0
- package/screenshot-page/assets/b3AbgxQkoaCiBi15.js +1 -0
- package/screenshot-page/assets/fGlPAximvsxzPzGA.js +1 -0
- package/screenshot-page/assets/gG0AFZ45VxS_moMw.js +2 -0
- package/screenshot-page/assets/nHThFXCAZFOM_npq.js +1 -0
- package/screenshot-page/assets/pRykm05ElquZBk_a.js +1 -0
- package/screenshot-page/assets/qm3VY0bH7F7EgSdi.js +2 -0
- package/screenshot-page/assets/rPOkVKdPbFpTG6AY.js +1 -0
- package/screenshot-page/assets/w3bV7wggRayUYTd-.js +1 -0
- package/screenshot-page/assets/zFbb8ESzwR_bE7IQ.js +1 -0
- package/screenshot-page/assets/zHHZFbk5RXnrxbOc.js +42 -0
- package/screenshot-page/index.html +44 -0
- package/screenshot-page/resources/contents.json +333 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/aptos-bold-italic.hinted.json +125 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/aptos-bold-italic.metrics.json +221 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/aptos-bold-italic.rows.json +8 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/aptos-bold.hinted.json +125 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/aptos-bold.metrics.json +221 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/aptos-bold.rows.json +8 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/aptos-display-bold-italic.hinted.json +125 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/aptos-display-bold-italic.metrics.json +221 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/aptos-display-bold-italic.rows.json +8 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/aptos-display-bold.hinted.json +125 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/aptos-display-bold.metrics.json +221 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/aptos-display-bold.rows.json +8 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/aptos-display-italic.hinted.json +124 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/aptos-display-italic.metrics.json +221 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/aptos-display-italic.rows.json +8 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/aptos-display-regular.hinted.json +125 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/aptos-display-regular.metrics.json +221 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/aptos-display-regular.rows.json +8 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/aptos-italic.hinted.json +125 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/aptos-italic.metrics.json +221 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/aptos-italic.rows.json +8 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/aptos-narrow-bold-italic.hinted.json +125 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/aptos-narrow-bold-italic.metrics.json +221 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/aptos-narrow-bold-italic.rows.json +8 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/aptos-narrow-bold.hinted.json +125 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/aptos-narrow-bold.metrics.json +221 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/aptos-narrow-bold.rows.json +8 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/aptos-narrow-italic.hinted.json +125 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/aptos-narrow-italic.metrics.json +221 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/aptos-narrow-italic.rows.json +8 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/aptos-narrow-regular.hinted.json +125 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/aptos-narrow-regular.metrics.json +221 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/aptos-narrow-regular.rows.json +8 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/aptos-regular.hinted.json +125 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/aptos-regular.metrics.json +221 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/aptos-regular.rows.json +8 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/arial-bold-italic.hinted.json +125 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/arial-bold-italic.metrics.json +139 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/arial-bold-italic.rows.json +8 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/arial-bold.hinted.json +125 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/arial-bold.metrics.json +139 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/arial-bold.rows.json +8 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/arial-italic.hinted.json +125 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/arial-italic.metrics.json +139 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/arial-italic.rows.json +8 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/arial-regular.hinted.json +125 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/arial-regular.metrics.json +139 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/arial-regular.rows.json +8 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/calibri-bold-italic.hinted.json +122 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/calibri-bold-italic.metrics.json +137 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/calibri-bold-italic.rows.json +8 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/calibri-bold.hinted.json +122 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/calibri-bold.metrics.json +137 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/calibri-bold.rows.json +8 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/calibri-italic.hinted.json +121 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/calibri-italic.metrics.json +137 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/calibri-italic.rows.json +8 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/calibri-regular.hinted.json +121 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/calibri-regular.metrics.json +137 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/calibri-regular.rows.json +8 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/cambria-bold-italic.hinted.json +105 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/cambria-bold-italic.metrics.json +66 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/cambria-bold-italic.rows.json +8 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/cambria-bold.hinted.json +108 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/cambria-bold.metrics.json +66 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/cambria-bold.rows.json +8 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/cambria-italic.hinted.json +102 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/cambria-italic.metrics.json +66 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/cambria-italic.rows.json +8 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/cambria-regular.hinted.json +110 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/cambria-regular.metrics.json +66 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/cambria-regular.rows.json +8 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/contents.json +646 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/courier-new-bold-italic.hinted.json +11 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/courier-new-bold-italic.metrics.json +143 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/courier-new-bold-italic.rows.json +8 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/courier-new-bold.hinted.json +11 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/courier-new-bold.metrics.json +143 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/courier-new-bold.rows.json +8 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/courier-new-italic.hinted.json +11 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/courier-new-italic.metrics.json +143 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/courier-new-italic.rows.json +8 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/courier-new-regular.hinted.json +11 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/courier-new-regular.metrics.json +143 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/courier-new-regular.rows.json +8 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/times-new-roman-bold-italic.hinted.json +125 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/times-new-roman-bold-italic.metrics.json +141 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/times-new-roman-bold-italic.rows.json +8 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/times-new-roman-bold.hinted.json +125 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/times-new-roman-bold.metrics.json +141 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/times-new-roman-bold.rows.json +8 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/times-new-roman-italic.hinted.json +125 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/times-new-roman-italic.metrics.json +143 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/times-new-roman-italic.rows.json +8 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/times-new-roman-regular.hinted.json +125 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/times-new-roman-regular.metrics.json +141 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/times-new-roman-regular.rows.json +8 -0
- package/screenshot-page/resources/locales/@sheetxl/formulas/contents.json +9 -0
- package/screenshot-page/resources/locales/@sheetxl/formulas/de/functions.json +298 -0
- package/screenshot-page/resources/locales/@sheetxl/formulas-extended/contents.json +9 -0
- package/screenshot-page/resources/locales/@sheetxl/formulas-extended/de/functions.json +59 -0
- package/screenshot-page/resources/locales/@sheetxl/sdk/contents.json +19 -0
- package/screenshot-page/resources/locales/@sheetxl/sdk/de/grammar.json +16 -0
- package/screenshot-page/resources/locales/@sheetxl/sdk/de/model.msg.json +710 -0
- package/screenshot-page/resources/locales/@sheetxl/sdk/en/model.msg.json +732 -0
- package/types/index.d.ts +1 -0
- package/types/lib.d.ts +2 -0
- package/types/scripting-api.json +10855 -0
- package/types/scripting-enums.json +1339 -0
- package/types/scripting.d.ts +49295 -0
- package/types/src/SessionRegistry.d.ts +630 -0
- package/types/src/index.d.ts +3 -0
- package/types/src/instances.d.ts +104 -0
- package/types/src/lib/Types.d.ts +17 -0
- package/types/src/lib/index.d.ts +2 -0
- package/types/src/lib/runReport.d.ts +158 -0
- package/types/src/lib.d.ts +2 -0
- package/types/src/prepareRun.d.ts +56 -0
- package/types/src/relay.d.ts +102 -0
- package/types/src/screenshot.d.ts +23 -0
- package/types/src/server.d.ts +37 -0
- package/types/src/taskStore.d.ts +28 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v0.8.0-beta.14
|
|
3
|
+
*
|
|
4
|
+
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
|
+
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
+
*/
|
|
7
|
+
import { dirname as t, join as o, parse as r } from "node:path";
|
|
8
|
+
import { readFile as n } from "node:fs/promises";
|
|
9
|
+
import { fileURLToPath as s } from "node:url";
|
|
10
|
+
async function e() {
|
|
11
|
+
let e = t(s(import.meta.url));
|
|
12
|
+
const i = r(e).root;
|
|
13
|
+
for (;;) {
|
|
14
|
+
for (const t of ["types/scripting-enums.json", "build/types/scripting-enums.json"]) try {
|
|
15
|
+
return JSON.parse(await n(o(e, t), "utf8"));
|
|
16
|
+
} catch {}
|
|
17
|
+
if (e === i) break;
|
|
18
|
+
e = t(e);
|
|
19
|
+
}
|
|
20
|
+
throw new Error("Unable to locate scripting-enums.json. Run `pnpm --filter @sheetxl/sdk build:types-scripting`.");
|
|
21
|
+
}
|
|
22
|
+
export { e as loadEnumManifest };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v0.8.0-beta.14
|
|
3
|
+
*
|
|
4
|
+
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
|
+
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
+
*/
|
|
7
|
+
var e = {
|
|
8
|
+
DATESTRING: {
|
|
9
|
+
s: "Converts a standard date code into a localized text string.",
|
|
10
|
+
p: { number: { d: "A numeric value representing a date code." } },
|
|
11
|
+
h: "Unimplemented Japanese."
|
|
12
|
+
},
|
|
13
|
+
NUMBERSTRING: {
|
|
14
|
+
s: "Converts a number into Japanese Kanji words.",
|
|
15
|
+
p: {
|
|
16
|
+
number: { d: "A numeric value representing a date code." },
|
|
17
|
+
number2: { d: "A numeric value representing a date code." }
|
|
18
|
+
},
|
|
19
|
+
h: "Unimplemented Japanese."
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
export { e as default };
|
|
@@ -0,0 +1,405 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v0.8.0-beta.14
|
|
3
|
+
*
|
|
4
|
+
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
|
+
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
+
*/
|
|
7
|
+
import { ht as e } from "./DkFK1iu4vqjLZMja.js";
|
|
8
|
+
import { d as t } from "./CBNNl8igIyeHY4St.js";
|
|
9
|
+
import { J as n, ea as r, ra as s } from "./DTlvhtB9hvPdbdxu.js";
|
|
10
|
+
import { D as a, O as o, S as l, a as i, g as c, j as u, k as p, n as d, o as f, p as h, r as g, s as m, t as x, u as y, w as v, y as I } from "./C-CNmTrzNS-ZlQ8j.js";
|
|
11
|
+
import { n as _, r as b, t as T } from "./DuZ6DXQGttY3Lrhd.js";
|
|
12
|
+
var P = class {
|
|
13
|
+
constructor(e) {
|
|
14
|
+
e = { ...e }, this._editing = "editing" === e.profile, this._parser = new b(e);
|
|
15
|
+
}
|
|
16
|
+
compile(e, r, s, i, b, P, k, E, F) {
|
|
17
|
+
if (0 === i.length) {
|
|
18
|
+
const n = new t.Parse(T);
|
|
19
|
+
return this._compileUnparsed(e, b, i, {
|
|
20
|
+
input: i,
|
|
21
|
+
cause: n,
|
|
22
|
+
causes: [n]
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
if (i.length > n.MAX_EXPRESSION_LENGTH) {
|
|
26
|
+
const r = new t.Parse(_(i.length, n.MAX_EXPRESSION_LENGTH));
|
|
27
|
+
return this._compileUnparsed(e, b, i, {
|
|
28
|
+
input: i,
|
|
29
|
+
cause: r,
|
|
30
|
+
causes: [r]
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
let w, C, U = [];
|
|
34
|
+
try {
|
|
35
|
+
const e = this._parser.parse(r, s, i);
|
|
36
|
+
w = e.root, U = e.errors, E && w && 0 === U.length && (w.legacyIntersect = !0);
|
|
37
|
+
} catch (e) {
|
|
38
|
+
C = t.isError(e, t.Code.Parse) ? e : new t.Parse(e.message, e);
|
|
39
|
+
}
|
|
40
|
+
const R = [];
|
|
41
|
+
for (const e of U) R.push(y(e));
|
|
42
|
+
if (w) {
|
|
43
|
+
const e = p(w, P ?? null);
|
|
44
|
+
"string" == typeof e ? R.push(new t.Parse(e)) : w = e, l(w, P ?? null) && R.push(new t.Parse("The implicit intersection operator ' ' requires a cell or range on both sides")), v(w, P ?? null) && R.push(new t.Parse("The spill anchor operator '#' requires a cell or range")), c(w, P ?? null) && R.push(new t.Parse("Expected a reference; a value cannot be converted to one."));
|
|
45
|
+
const n = a(w, P ?? null);
|
|
46
|
+
n && R.push(new t.Parse(n));
|
|
47
|
+
const r = x(w, P ?? null);
|
|
48
|
+
r && R.push(new t.Parse(r));
|
|
49
|
+
const s = I(w, P ?? null);
|
|
50
|
+
s && R.push(new t.Parse(s));
|
|
51
|
+
const o = h(w);
|
|
52
|
+
o && R.push(new t.Parse(o));
|
|
53
|
+
}
|
|
54
|
+
R.length > 0 && !C && (C = R[0]);
|
|
55
|
+
let S = null;
|
|
56
|
+
if (C && (S = {
|
|
57
|
+
input: i,
|
|
58
|
+
cause: C,
|
|
59
|
+
causes: R.length > 0 ? R : [C]
|
|
60
|
+
}), !w) {
|
|
61
|
+
if (this._editing) {
|
|
62
|
+
const t = this._recoverCompiled(e, r, s, i, b, S, k);
|
|
63
|
+
if (t) return t;
|
|
64
|
+
}
|
|
65
|
+
return this._compileUnparsed(e, b, i, S, this._editing, () => A(b, k, r, s));
|
|
66
|
+
}
|
|
67
|
+
if (w = u(w, P ?? null), w = d(w, P ?? null), b) {
|
|
68
|
+
const e = this._editing ? F : {
|
|
69
|
+
mint: !F?.book,
|
|
70
|
+
...F
|
|
71
|
+
};
|
|
72
|
+
w = f(w, b, k, e, {
|
|
73
|
+
rowIndex: r,
|
|
74
|
+
colIndex: s
|
|
75
|
+
});
|
|
76
|
+
const n = m(w, b);
|
|
77
|
+
if (n) {
|
|
78
|
+
const e = new t.Parse(n);
|
|
79
|
+
R.push(e), S = {
|
|
80
|
+
input: i,
|
|
81
|
+
cause: S?.cause ?? e,
|
|
82
|
+
causes: S ? [...S.causes, e] : [e]
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
const z = g(e, b, w, this._editing, S, P ?? null);
|
|
87
|
+
return this._editing && S && o(z.getTokens(), b) !== i ? this._recoverCompiled(e, r, s, i, b, S, k) || this._compileUnparsed(e, b, i, S, !0) : z;
|
|
88
|
+
}
|
|
89
|
+
autoCorrect(e) {
|
|
90
|
+
const t = function(e) {
|
|
91
|
+
let t = 0, n = null;
|
|
92
|
+
for (let r = 0; r < e.length; r++) {
|
|
93
|
+
const s = e[r];
|
|
94
|
+
n ? s === n && (n = null) : t > 0 ? "'" === s ? r++ : "[" === s ? t++ : "]" === s && t-- : "\"" === s || "'" === s ? n = s : "[" === s && t++;
|
|
95
|
+
}
|
|
96
|
+
return n ? 0 : t;
|
|
97
|
+
}(e), n = e + "]".repeat(t);
|
|
98
|
+
let r;
|
|
99
|
+
try {
|
|
100
|
+
const e = this._parser.getLexer().tokenize(n, !1);
|
|
101
|
+
if (e.errors.length > 0) return null;
|
|
102
|
+
r = e.tokens;
|
|
103
|
+
} catch {
|
|
104
|
+
return null;
|
|
105
|
+
}
|
|
106
|
+
const s = [];
|
|
107
|
+
for (const e of r) {
|
|
108
|
+
const t = e.tokenType?.name;
|
|
109
|
+
if ("OpenParen" === t) s.push(")");
|
|
110
|
+
else if ("OpenCurlyParen" === t) s.push("}");
|
|
111
|
+
else if (("CloseParen" === t || "CloseCurlyParen" === t) && s.pop() !== ("CloseParen" === t ? ")" : "}")) return null;
|
|
112
|
+
}
|
|
113
|
+
return 0 === s.length && 0 === t ? null : n + s.reverse().join("");
|
|
114
|
+
}
|
|
115
|
+
_compileUnparsed(t, n, r, a, o = !1, l) {
|
|
116
|
+
const i = {
|
|
117
|
+
runtime: t,
|
|
118
|
+
symbols: n,
|
|
119
|
+
getFunction: null,
|
|
120
|
+
ast: null,
|
|
121
|
+
evaluations: e.EmptyArray,
|
|
122
|
+
executions: e.EmptyArray,
|
|
123
|
+
bindings: e.EmptyArray,
|
|
124
|
+
referencesAbsolute: e.EmptyArray,
|
|
125
|
+
referencesExecute: e.EmptyArray,
|
|
126
|
+
referencesRelative: e.EmptyArray,
|
|
127
|
+
referencesRoot: e.EmptyArray,
|
|
128
|
+
referenceIndices: e.EmptyArray,
|
|
129
|
+
formatReferenceIndices: e.EmptyArray,
|
|
130
|
+
getTokens: () => {
|
|
131
|
+
const e = [];
|
|
132
|
+
return o && w(e, r, void 0, l) ? e : [{
|
|
133
|
+
type: s.Unparsed,
|
|
134
|
+
value: r,
|
|
135
|
+
text: r
|
|
136
|
+
}];
|
|
137
|
+
},
|
|
138
|
+
namedIds: e.EmptyArray,
|
|
139
|
+
symbolIds: e.EmptyArray,
|
|
140
|
+
hasTotals: !1,
|
|
141
|
+
hasDataTable: !1,
|
|
142
|
+
hasVolatile: !1,
|
|
143
|
+
isBlankCacheable: !1,
|
|
144
|
+
isBlankCacheableArray: !1,
|
|
145
|
+
isReferenceOnly: !1,
|
|
146
|
+
error: a,
|
|
147
|
+
transform: () => i
|
|
148
|
+
};
|
|
149
|
+
return i;
|
|
150
|
+
}
|
|
151
|
+
_recoverCompiled(e, t, n, r, a, l, i) {
|
|
152
|
+
let c, u = r.length;
|
|
153
|
+
try {
|
|
154
|
+
const e = this._parser.getLexer().tokenize(r, !1);
|
|
155
|
+
c = e.tokens, e.errors.length > 0 && (u = Math.min(u, e.errors[0].offset));
|
|
156
|
+
} catch {
|
|
157
|
+
return null;
|
|
158
|
+
}
|
|
159
|
+
const p = [];
|
|
160
|
+
for (let e = c.length - 1; e >= 0 && p.length < 24; e--) {
|
|
161
|
+
const t = (c[e].endOffset ?? -1) + 1;
|
|
162
|
+
t > 0 && t < r.length && t <= u && p.push(t);
|
|
163
|
+
}
|
|
164
|
+
for (const c of p) {
|
|
165
|
+
const u = r.slice(0, c);
|
|
166
|
+
let p, h;
|
|
167
|
+
try {
|
|
168
|
+
p = this._parser.parse(t, n, u).root;
|
|
169
|
+
} catch {
|
|
170
|
+
continue;
|
|
171
|
+
}
|
|
172
|
+
if (!p || p.type === s.Unparsed) continue;
|
|
173
|
+
try {
|
|
174
|
+
const r = d(p, null), s = a ? f(r, a, i, void 0, {
|
|
175
|
+
rowIndex: t,
|
|
176
|
+
colIndex: n
|
|
177
|
+
}) : r;
|
|
178
|
+
h = g(e, a, s, !0, l);
|
|
179
|
+
} catch {
|
|
180
|
+
continue;
|
|
181
|
+
}
|
|
182
|
+
if (o(h.getTokens(), a) !== u) continue;
|
|
183
|
+
const m = r.slice(c);
|
|
184
|
+
if (0 === m.length) return h;
|
|
185
|
+
let x;
|
|
186
|
+
const y = {
|
|
187
|
+
...h,
|
|
188
|
+
getTokens: () => (x || (x = [...h.getTokens()], this._appendUnparsedTail(x, m, () => A(a, i, t, n))), x),
|
|
189
|
+
transform: () => y
|
|
190
|
+
};
|
|
191
|
+
return y;
|
|
192
|
+
}
|
|
193
|
+
return null;
|
|
194
|
+
}
|
|
195
|
+
_appendUnparsedTail(e, t, n) {
|
|
196
|
+
const r = [];
|
|
197
|
+
for (const t of e) {
|
|
198
|
+
if (t.type === s.Whitespace) continue;
|
|
199
|
+
const e = t.type === s.Paren || t.type === s.Type ? t.text : void 0, n = r.length > 0 ? r[r.length - 1] : void 0;
|
|
200
|
+
if (t.type === s.Separator && n) {
|
|
201
|
+
const e = n.declared[n.declared.length - 1];
|
|
202
|
+
"let" === n.ctx?.type && -1 === n.ctx.argIndex && n.lambda?.argTokens === n.argTokens && e?.argIndex === n.argIndex - 1 && (e.params = n.lambda.params), n.argIndex++, n.argTokens = 0, n.lambda = void 0;
|
|
203
|
+
continue;
|
|
204
|
+
}
|
|
205
|
+
if (n && n.argTokens++, "(" === e || "[" === e || "{" === e) r.push({
|
|
206
|
+
ctx: t.context,
|
|
207
|
+
argIndex: 0,
|
|
208
|
+
declared: [],
|
|
209
|
+
argTokens: 0,
|
|
210
|
+
leadsArg: 2 === n?.argTokens
|
|
211
|
+
});
|
|
212
|
+
else if (")" === e || "]" === e || "}" === e) {
|
|
213
|
+
const e = r.pop(), t = r.length > 0 ? r[r.length - 1] : void 0;
|
|
214
|
+
t && e?.leadsArg && "lambda" === e.ctx?.type && -1 === e.ctx.argIndex && (t.lambda = {
|
|
215
|
+
params: e.declared.map(({ name: e, optional: t }) => t ? {
|
|
216
|
+
name: e,
|
|
217
|
+
optional: t
|
|
218
|
+
} : { name: e }),
|
|
219
|
+
argTokens: t.argTokens
|
|
220
|
+
});
|
|
221
|
+
} else if (t.type === s.Parameter && n && t.value?.declaration) {
|
|
222
|
+
const e = t.value;
|
|
223
|
+
n.declared.push(e.optional ? {
|
|
224
|
+
name: e.name,
|
|
225
|
+
argIndex: n.argIndex,
|
|
226
|
+
optional: !0
|
|
227
|
+
} : {
|
|
228
|
+
name: e.name,
|
|
229
|
+
argIndex: n.argIndex
|
|
230
|
+
});
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
const a = r.length > 0 ? r[r.length - 1] : void 0, o = a?.ctx ? {
|
|
234
|
+
...a.ctx,
|
|
235
|
+
argIndex: -1 === a.ctx.argIndex ? a.argIndex : a.ctx.argIndex
|
|
236
|
+
} : void 0;
|
|
237
|
+
if (o && -1 === a.ctx.argIndex && ("let" === o.type || "lambda" === o.type)) {
|
|
238
|
+
const e = "let" === o.type ? 2 : 1;
|
|
239
|
+
let t = o.bound;
|
|
240
|
+
for (const n of a.declared) {
|
|
241
|
+
if (o.argIndex < n.argIndex + e) continue;
|
|
242
|
+
const { name: r, params: s } = n;
|
|
243
|
+
t = i(t, s ? {
|
|
244
|
+
name: r,
|
|
245
|
+
params: s
|
|
246
|
+
} : { name: r });
|
|
247
|
+
}
|
|
248
|
+
t && (o.bound = t);
|
|
249
|
+
}
|
|
250
|
+
const l = (t, n) => {
|
|
251
|
+
const r = n ? {
|
|
252
|
+
type: s.Named,
|
|
253
|
+
value: { name: t },
|
|
254
|
+
text: t
|
|
255
|
+
} : {
|
|
256
|
+
type: s.Unparsed,
|
|
257
|
+
value: t,
|
|
258
|
+
text: t
|
|
259
|
+
};
|
|
260
|
+
o && (r.context = o), e.push(r);
|
|
261
|
+
};
|
|
262
|
+
if (w(e, t, o, n)) return;
|
|
263
|
+
const c = /[A-Za-z_][A-Za-z0-9_]*$/.exec(t), u = c ? c.index : -1;
|
|
264
|
+
let p = u > 0 ? t[u - 1] : "";
|
|
265
|
+
for (let t = e.length - 1; 0 === u && t >= 0 && !p; t--) p = e[t].text?.at(-1) ?? "";
|
|
266
|
+
u >= 0 && !/[A-Za-z0-9_.]/.test(p) ? (u > 0 && l(t.slice(0, u)), l(t.slice(u), !0)) : l(t);
|
|
267
|
+
}
|
|
268
|
+
};
|
|
269
|
+
function A(e, t, n, s) {
|
|
270
|
+
if (!e || !t) return;
|
|
271
|
+
const a = e.bind(r.Table, "", { at: {
|
|
272
|
+
scope: t,
|
|
273
|
+
rowIndex: n,
|
|
274
|
+
colIndex: s
|
|
275
|
+
} });
|
|
276
|
+
return a ? e.resolve(r.Table, a)?.toString() : void 0;
|
|
277
|
+
}
|
|
278
|
+
var k = /[A-Za-z_\\\u007F-\uFFFF][A-Za-z0-9_.\u007F-\uFFFF]*$/, E = /[A-Za-z0-9_.)\]}"'!#\u007F-\uFFFF]/;
|
|
279
|
+
function F(e, t) {
|
|
280
|
+
for (let n = t + 1; n < e.length; n++) {
|
|
281
|
+
const t = e[n];
|
|
282
|
+
if ("'" !== t) {
|
|
283
|
+
if ("]" === t) return n + 1;
|
|
284
|
+
if ("[" === t) return null;
|
|
285
|
+
} else n++;
|
|
286
|
+
}
|
|
287
|
+
return -1;
|
|
288
|
+
}
|
|
289
|
+
function w(e, t, n, r) {
|
|
290
|
+
let a = 0, o = -1;
|
|
291
|
+
for (let e = 0; e < t.length; e++) {
|
|
292
|
+
const n = t[e];
|
|
293
|
+
a > 0 && "'" === n ? e++ : "[" === n ? (0 === a && (o = e), a++) : "]" === n && a > 0 && a--;
|
|
294
|
+
}
|
|
295
|
+
if (0 === a) return !1;
|
|
296
|
+
let l = t.slice(0, o);
|
|
297
|
+
if ((l.split("\"").length - 1) % 2 == 1) return !1;
|
|
298
|
+
const i = e.length > 0 ? e[e.length - 1] : void 0;
|
|
299
|
+
let c = "", u = !1;
|
|
300
|
+
const p = k.exec(l);
|
|
301
|
+
if (p) {
|
|
302
|
+
const e = p.index > 0 ? l[p.index - 1] : i?.text?.at(-1) ?? "";
|
|
303
|
+
if (/[A-Za-z0-9_.]/.test(e)) return !1;
|
|
304
|
+
c = p[0], l = l.slice(0, p.index);
|
|
305
|
+
} else 0 === l.length && i?.text && 0 === k.exec(i.text)?.index && (i.type === s.Named && !i.value?.scope || i.type === s.TableReference) && (c = i.text, u = !0);
|
|
306
|
+
if (!u) {
|
|
307
|
+
const e = l.length > 0 ? l[l.length - 1] : i?.text?.at(-1) ?? "";
|
|
308
|
+
if (e && E.test(e)) return !1;
|
|
309
|
+
}
|
|
310
|
+
const d = c || (r?.() ?? ""), f = [], h = (e, t, n) => {
|
|
311
|
+
f.push({
|
|
312
|
+
type: e,
|
|
313
|
+
value: t,
|
|
314
|
+
text: t,
|
|
315
|
+
context: {
|
|
316
|
+
name: d,
|
|
317
|
+
argIndex: n,
|
|
318
|
+
type: "table"
|
|
319
|
+
}
|
|
320
|
+
});
|
|
321
|
+
}, g = (e, t, n, r) => {
|
|
322
|
+
const a = e.startsWith("#"), o = n ? r ? "column" : a ? "specifier" : e ? "column" : "any" : void 0, l = o ? {
|
|
323
|
+
table: d,
|
|
324
|
+
name: e,
|
|
325
|
+
partial: o
|
|
326
|
+
} : {
|
|
327
|
+
table: d,
|
|
328
|
+
name: e
|
|
329
|
+
};
|
|
330
|
+
f.push({
|
|
331
|
+
type: a ? s.TableSpecifier : s.TableColumn,
|
|
332
|
+
value: l,
|
|
333
|
+
text: e,
|
|
334
|
+
context: {
|
|
335
|
+
name: d,
|
|
336
|
+
argIndex: t,
|
|
337
|
+
type: "table"
|
|
338
|
+
}
|
|
339
|
+
});
|
|
340
|
+
}, m = (e, t, n, r) => {
|
|
341
|
+
h(s.Paren, "[", n), g(e.slice(1, t ? -1 : void 0), n, !t, r), t && h(s.Paren, "]", n);
|
|
342
|
+
};
|
|
343
|
+
h(s.Paren, "[", -1);
|
|
344
|
+
const x = t.slice(o + 1);
|
|
345
|
+
if (x.startsWith("[")) {
|
|
346
|
+
let e = 0, t = !1, n = 0;
|
|
347
|
+
for (; n < x.length;) {
|
|
348
|
+
const r = x[n];
|
|
349
|
+
if ("[" === r) {
|
|
350
|
+
const r = F(x, n);
|
|
351
|
+
if (null === r) return !1;
|
|
352
|
+
const s = -1 !== r;
|
|
353
|
+
if (m(x.slice(n, s ? r : x.length), s, e, t), t = !1, !s) break;
|
|
354
|
+
n = r;
|
|
355
|
+
} else if ("," === r) h(s.Separator, ",", e++), n++;
|
|
356
|
+
else if (":" === r) h(s.Infix, ":", e), n++;
|
|
357
|
+
else if ("@" === r) h(s.Prefix, "@", e), t = !0, n++;
|
|
358
|
+
else {
|
|
359
|
+
if (" " !== r) return !1;
|
|
360
|
+
{
|
|
361
|
+
let t = n;
|
|
362
|
+
for (; " " === x[t];) t++;
|
|
363
|
+
h(s.Whitespace, x.slice(n, t), e), n = t;
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
} else {
|
|
368
|
+
let e = x;
|
|
369
|
+
const t = e.startsWith("@");
|
|
370
|
+
if (t && (h(s.Prefix, "@", 0), e = e.slice(1)), e.startsWith("[")) {
|
|
371
|
+
if (-1 !== F(e, 0)) return !1;
|
|
372
|
+
m(e, !1, 0, t);
|
|
373
|
+
} else {
|
|
374
|
+
if (/(^|[^'])[[\]]/.test(e) || e.startsWith("#") && e.includes(",")) return !1;
|
|
375
|
+
g(e, 0, !0, t);
|
|
376
|
+
}
|
|
377
|
+
}
|
|
378
|
+
if (l) {
|
|
379
|
+
const t = {
|
|
380
|
+
type: s.Unparsed,
|
|
381
|
+
value: l,
|
|
382
|
+
text: l
|
|
383
|
+
};
|
|
384
|
+
n && (t.context = n), e.push(t);
|
|
385
|
+
}
|
|
386
|
+
if (u) {
|
|
387
|
+
const t = {
|
|
388
|
+
...i,
|
|
389
|
+
type: s.TableReference,
|
|
390
|
+
value: c,
|
|
391
|
+
text: c
|
|
392
|
+
};
|
|
393
|
+
delete t.referenceIndex, e[e.length - 1] = t;
|
|
394
|
+
} else if (c) {
|
|
395
|
+
const t = {
|
|
396
|
+
type: s.TableReference,
|
|
397
|
+
value: c,
|
|
398
|
+
text: c
|
|
399
|
+
};
|
|
400
|
+
n && (t.context = n), e.push(t);
|
|
401
|
+
}
|
|
402
|
+
for (const t of f) e.push(t);
|
|
403
|
+
return !0;
|
|
404
|
+
}
|
|
405
|
+
export { P as FormulaCompiler, w as appendPartialStructuredReference };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v0.8.0-beta.14
|
|
3
|
+
*
|
|
4
|
+
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
|
+
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
+
*/
|
|
7
|
+
var e = {
|
|
8
|
+
DELTA: {
|
|
9
|
+
s: "Tests whether two numbers are equal.",
|
|
10
|
+
p: {
|
|
11
|
+
number1: { d: "is the first number." },
|
|
12
|
+
number2: { d: "is the second number." }
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
GESTEP: {
|
|
16
|
+
s: "Tests whether a number is greater than a threshold value.",
|
|
17
|
+
p: {
|
|
18
|
+
number: { d: "is the value to test against step." },
|
|
19
|
+
step: { d: "is the threshold value." }
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
export { e as default };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v0.8.0-beta.14
|
|
3
|
+
*
|
|
4
|
+
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
|
+
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
+
*/
|
|
7
|
+
var t = { BAHTTEXT: {
|
|
8
|
+
s: "Converts a number to baht (Thai) text.",
|
|
9
|
+
c: "Baht",
|
|
10
|
+
p: { number: { d: "is the number to convert." } },
|
|
11
|
+
h: "Thai"
|
|
12
|
+
} };
|
|
13
|
+
export { t as default };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v0.8.0-beta.14
|
|
3
|
+
*
|
|
4
|
+
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
|
+
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
+
*/
|
|
7
|
+
export { F as ZipReader, I as getEntryDataDescriptorLength } from "./BFwNQZVRnbNt-gRJ.js";
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v0.8.0-beta.14
|
|
3
|
+
*
|
|
4
|
+
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
|
+
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
+
*/
|
|
7
|
+
import { r as e } from "./33QTHR3r6ZujxFx8.js";
|
|
8
|
+
import { m as r } from "./CBNNl8igIyeHY4St.js";
|
|
9
|
+
import { P as t } from "./BDZ1FGc1zFqO1nK7.js";
|
|
10
|
+
var o = async (o, s) => {
|
|
11
|
+
const { papaParseConfig: a, setValuesOptions: n, createWorkbookOptions: i } = s ?? {}, d = s?.progress, m = d?.onProgress ? d.onProgress.bind(d) : void 0, p = await import("./9MRZ5Yc2RBgcqZSp.js").then((r) => e(r.default, 1)), g = p.default ?? p, c = new TextDecoder().decode(o);
|
|
12
|
+
let f = -1;
|
|
13
|
+
const l = new t(i), u = l.getWorksheetAt(0), h = u.getEntireRange().getCoords(), w = h.colEnd, x = h.rowEnd, P = u.getEntireRange().createSparseBuilder({ axis: r.Axis.Row });
|
|
14
|
+
let j = 0, E = 0;
|
|
15
|
+
const k = {
|
|
16
|
+
...a,
|
|
17
|
+
transform: (e, r) => {
|
|
18
|
+
a?.transform && (e = a.transform(e, r));
|
|
19
|
+
const t = r;
|
|
20
|
+
0 === t && f++;
|
|
21
|
+
let o = e ?? "";
|
|
22
|
+
if (!(f > x || t > w)) return P.pushAt(f, t, o), j++, j % 1e5 == 0 && m?.(j), e;
|
|
23
|
+
0 === t && E++;
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
return g.parse(c, k).data, P.apply({
|
|
27
|
+
textParser: !0,
|
|
28
|
+
autoFormat: !0,
|
|
29
|
+
...n
|
|
30
|
+
}), E > 0 && d?.onWarning?.(`Ignored ${E} ${1 === E ? "row" : "rows"} that exceeded the maximum range of the sheet`), l;
|
|
31
|
+
};
|
|
32
|
+
export { o as readCSV };
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v0.8.0-beta.14
|
|
3
|
+
*
|
|
4
|
+
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
|
+
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
+
*/
|
|
7
|
+
var e = {
|
|
8
|
+
CELL: {
|
|
9
|
+
s: "Returns information about the cell.",
|
|
10
|
+
p: {
|
|
11
|
+
infoType: { d: "The type of information to return." },
|
|
12
|
+
reference: { d: "The cell to report on. Defaults to the cell holding the formula." }
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"ERROR.TYPE": {
|
|
16
|
+
s: "Returns a number matching an error value.",
|
|
17
|
+
p: { errorVal: { d: "is the error value for which you want the identifying number, and can be an actual error value or a reference to a cell containing an error value." } }
|
|
18
|
+
},
|
|
19
|
+
INFO: {
|
|
20
|
+
s: "Returns information about the current operating system.",
|
|
21
|
+
p: { typeText: { d: "The type of information to return." } }
|
|
22
|
+
},
|
|
23
|
+
ISBLANK: {
|
|
24
|
+
s: "Checks whether a reference is to an empty cell, and returns TRUE or FALSE.",
|
|
25
|
+
p: { value: { d: "is the cell or a name that refers to the cell you want to test." } }
|
|
26
|
+
},
|
|
27
|
+
ISDATE: {
|
|
28
|
+
s: "Returns TRUE if the value is a date.",
|
|
29
|
+
c: "Sheets",
|
|
30
|
+
p: { value: { d: "The value to check." } }
|
|
31
|
+
},
|
|
32
|
+
ISEMAIL: {
|
|
33
|
+
s: "Returns TRUE if the value is a valid email address.",
|
|
34
|
+
c: "Sheets",
|
|
35
|
+
p: { value: { d: "The value to check." } }
|
|
36
|
+
},
|
|
37
|
+
ISERR: {
|
|
38
|
+
s: "Checks whether a value is an error other than #N/A, and returns TRUE or FALSE.",
|
|
39
|
+
p: { value: { d: "is the value you want to test. Value can refer to a cell, a formula, or a name that refers to a cell, formula, or value." } }
|
|
40
|
+
},
|
|
41
|
+
ISERROR: {
|
|
42
|
+
s: "Checks whether a value is an error, and returns TRUE or FALSE",
|
|
43
|
+
p: { value: { d: "is the value you want to test. Value can refer to a cell, a formula, or a name that refers to a cell, formula, or value" } }
|
|
44
|
+
},
|
|
45
|
+
ISEVEN: {
|
|
46
|
+
s: "Returns TRUE if the number is even.",
|
|
47
|
+
p: { number: { d: "is the value to test." } }
|
|
48
|
+
},
|
|
49
|
+
ISFORMULA: {
|
|
50
|
+
s: "Checks whether a reference is to a cell containing a formula, and returns TRUE or FALSE.",
|
|
51
|
+
p: { reference: { d: "is a reference to the cell you want to test. Reference can be a cell reference, a formula, or name that refers to a cell." } }
|
|
52
|
+
},
|
|
53
|
+
ISLOGICAL: {
|
|
54
|
+
s: "Checks whether a value is a logical value (TRUE or FALSE), and returns TRUE or FALSE.",
|
|
55
|
+
p: { value: { d: "is the value you want to test. Value can refer to a cell, a formula, or a name that refers to a cell, formula, or value." } }
|
|
56
|
+
},
|
|
57
|
+
ISNA: {
|
|
58
|
+
s: "Checks whether a value is #N/A, and returns TRUE or FALSE.",
|
|
59
|
+
p: { value: { d: "is the value you want to test. Value can refer to a cell, a formula, or a name that refers to a cell, formula, or value." } }
|
|
60
|
+
},
|
|
61
|
+
ISNONTEXT: {
|
|
62
|
+
s: "Checks whether a value is not text (blank cells are not text), and returns TRUE or FALSE.",
|
|
63
|
+
p: { value: { d: "is the value you want tested: a cell; a formula; or a name referring to a cell, formula, or value." } }
|
|
64
|
+
},
|
|
65
|
+
ISNUMBER: {
|
|
66
|
+
s: "Checks whether a value is not text (blank cells are not text), and returns TRUE or FALSE.",
|
|
67
|
+
p: { value: { d: "is the value you want tested: a cell; a formula; or a name referring to a cell, formula, or value." } }
|
|
68
|
+
},
|
|
69
|
+
ISODD: {
|
|
70
|
+
s: "Returns TRUE if the number is odd.",
|
|
71
|
+
p: { number: { d: "is the value to test." } }
|
|
72
|
+
},
|
|
73
|
+
ISOMITTED: {
|
|
74
|
+
s: "Checks whether the value is omitted, and returns TRUE or FALSE.",
|
|
75
|
+
p: { argument: { d: "is the value you want to test, such as a LAMBDA parameter." } }
|
|
76
|
+
},
|
|
77
|
+
ISURL: {
|
|
78
|
+
s: "Returns TRUE if the value is a valid HTTP or HTTPS URL.",
|
|
79
|
+
c: "Sheets",
|
|
80
|
+
p: { value: { d: "The value to check." } }
|
|
81
|
+
},
|
|
82
|
+
ISREF: {
|
|
83
|
+
s: "Checks whether a value is a reference, and returns TRUE or FALSE.",
|
|
84
|
+
p: { value: { d: "is the value you want to test. Value can refer to a cell, a formula, or a name that refers to a cell, formula, or value." } }
|
|
85
|
+
},
|
|
86
|
+
ISTEXT: {
|
|
87
|
+
s: "Converts a value to text in a specific number format.",
|
|
88
|
+
p: { value: { d: "is a number, a formula that evaluates to a numeric value, or a reference to a cell containing a numeric value." } }
|
|
89
|
+
},
|
|
90
|
+
N: {
|
|
91
|
+
s: "Converts non-number value to a number, dates to serial numbers, TRUE to 1, anything else to 0 (zero).",
|
|
92
|
+
p: { value: { d: "is the value to convert." } }
|
|
93
|
+
},
|
|
94
|
+
NA: {
|
|
95
|
+
s: "Returns the #N/A error value",
|
|
96
|
+
p: {}
|
|
97
|
+
},
|
|
98
|
+
SHEET: {
|
|
99
|
+
s: "Returns the sheet number of the referenced sheet.",
|
|
100
|
+
p: { value: { d: "is the name of a sheet or a reference that you want the sheet number of. If omitted the number of the sheet containing the function is returned." } }
|
|
101
|
+
},
|
|
102
|
+
SHEETS: {
|
|
103
|
+
s: "Returns the number of sheets in a reference.",
|
|
104
|
+
p: { reference: { d: "is a reference for which you want to know the number of sheets it contains. If omitted the number of sheets in the workbook containing the function is returned." } }
|
|
105
|
+
},
|
|
106
|
+
TYPE: {
|
|
107
|
+
s: "Returns an integer representing the data type of a value: number = 1; text = 2; logical value = 4; error value = 16; array = 64; compound data = 128.",
|
|
108
|
+
p: { value: { d: "is the value to check." } }
|
|
109
|
+
}
|
|
110
|
+
}, t = {
|
|
111
|
+
CellInfoType: {
|
|
112
|
+
s: "The information to return about the cell.",
|
|
113
|
+
m: {
|
|
114
|
+
Address: { d: "Reference of the first cell in the reference, as text." },
|
|
115
|
+
Col: { d: "Column number of the cell in the reference." },
|
|
116
|
+
Color: { d: "1 if the cell is formatted in color for negative values; otherwise 0." },
|
|
117
|
+
Contents: { d: "Value of the upper-left cell in the reference; not a formula." },
|
|
118
|
+
Filename: { d: "Full path of the file that contains the reference, as text." },
|
|
119
|
+
Format: { d: "Text value corresponding to the number format of the cell." },
|
|
120
|
+
Parentheses: { d: "1 if the cell is formatted with parentheses for positive or all values; otherwise 0." },
|
|
121
|
+
Prefix: { d: "Text value corresponding to the label prefix of the cell." },
|
|
122
|
+
Protect: { d: "0 if the cell is not locked; otherwise 1." },
|
|
123
|
+
Row: { d: "Row number of the cell in the reference." },
|
|
124
|
+
Type: { d: "\"b\" for a blank cell, \"l\" for a text constant, \"v\" for anything else." },
|
|
125
|
+
Width: { d: "Column width of the cell, rounded to an integer." }
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
InfoType: {
|
|
129
|
+
s: "The information to return about the operating environment.",
|
|
130
|
+
m: {
|
|
131
|
+
Directory: { d: "Path of the current directory or folder." },
|
|
132
|
+
"Mem Avail": { d: "Amount of memory available. Legacy: answers #N/A." },
|
|
133
|
+
"Mem Used": { d: "Amount of memory being used for data. Legacy: answers #N/A." },
|
|
134
|
+
"Num File": { d: "Number of active worksheets in the open workbooks." },
|
|
135
|
+
Origin: { d: "Absolute reference of the top and leftmost visible cell." },
|
|
136
|
+
"OS Version": { d: "Current operating system version, as text." },
|
|
137
|
+
Recalc: { d: "Current recalculation mode; \"Automatic\" or \"Manual\"." },
|
|
138
|
+
Release: { d: "Version of the application, as text." },
|
|
139
|
+
System: { d: "Name of the operating environment; \"pcdos\" or \"mac\"." },
|
|
140
|
+
"Tot Mem": { d: "Total memory available. Legacy: answers #N/A." },
|
|
141
|
+
User: { d: "The licensed user. Not part of Excel." }
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
};
|
|
145
|
+
export { e as default, t as enums };
|