@sheetxl/mcp 0.8.0-beta.25 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/{UdhH9UX9jQ4IV11J.js → 0WuReGsjIpidu0Cr.js} +1 -1
- package/assets/{DG9KGapq8eHlcTC7.js → 13QanvzRbNib7VHR.js} +1 -1
- package/assets/{cU78RT4WJKAp5mU_.js → 2c1OYsVAy_w-ex-F.js} +1 -1
- package/assets/{CGS7apShLtnlmF8D.js → 8114GVvAL1oaiJLV.js} +1 -1
- package/assets/{BbfSzxx5EzAvn-_F.js → 8hLtXHueDl7B_SEn.js} +15 -15
- package/assets/{CCOaNx5_BfWCc9yz.js → 8mWHFnE0j-CaNsxr.js} +1 -1
- package/assets/{CVWoX7wNwrZwm5XB.js → B-b7HyruDF2gdj3R.js} +2 -2
- package/assets/{BAowTO-7Utmg0UvM.js → B3J6davzttys1e7l.js} +3 -3
- package/assets/{DcHvH_I64hbnNh9G.js → B3lrS_GHkG6Mw5pN.js} +1 -1
- package/assets/{BSJ_L1gNOejEih6N.js → B5rrqMYFybo3oW9k.js} +40 -40
- package/assets/{O8YGVK4vtz39jQ84.js → BB39UJoWw8tjThqY.js} +1 -1
- package/assets/{70weNsvW2LMx5QcW.js → BBF_CDIKB2NIXiHg.js} +1 -1
- package/assets/{D6qQAWN_5p3FAshK.js → BBLuTiY3V4MpFphK.js} +194 -194
- package/assets/{BHIi-cAKnh_sAifV.js → BBZUslaSLC0vlZEb.js} +1 -1
- package/assets/{B_GZxEqqpKtEPbWC.js → BCdXK-2-AE6FAdRs.js} +1 -1
- package/assets/{H40qXR3Gazmnq4Mv.js → BF0C-5gSMHWBXI_k.js} +1 -1
- package/assets/{Cb7FKT3S78r6IYHi.js → BKGTzaNNBlRh7ua3.js} +1 -1
- package/assets/BOa1dD_9H3g65WbP.js +14 -0
- package/assets/{V_VVW06vjWkmlbdh.js → BPlrBhzIqyWK19E2.js} +536 -536
- package/assets/{CAI8p60cuWlgnlko.js → BR4Wpxs0eSlaoLOl.js} +8 -8
- package/assets/{s56uiNHMGbBV6xgZ.js → BTB4fa2DU21pP7At.js} +1 -1
- package/assets/{DXVfJfT6ftWk5kYi.js → BTamKr78GfsihW1a.js} +137 -137
- package/assets/{Cu4ok_jTnQif8QtX.js → BVfjBXAMgo4u8Y72.js} +1 -1
- package/assets/{DkS3EQvuEuPDvCws.js → BaZAIwIrqn1x69WH.js} +2 -2
- package/assets/{COXWiXy3DCfmXSm5.js → Ban4yk1SYcz9Cs7n.js} +1 -1
- package/assets/{DQlLgxA592HvgKzh.js → BfB7Vq09p5uO-L88.js} +1 -1
- package/assets/{B940vbTfpMYACpDE.js → BfEmSaLbKgcjIIpn.js} +2 -2
- package/assets/{C-FJab2sVwBbOTiA.js → Bfpf9b1s1bWyBXIw.js} +1 -1
- package/assets/{H_6CBe3t27jHlBHk.js → BgHOi7rAHLhztiz-.js} +168 -168
- package/assets/{Ci3R5B7bLke8NZRo.js → BgN67gyTyx_xz2Ny.js} +6 -6
- package/assets/{BV13tLgNXZ8MDaE_.js → BhxIJ8xdUxyMPJ_m.js} +1 -1
- package/assets/{DYx_I-o0yjx056Dq.js → BlMUrEA8V2S2KH0D.js} +1 -1
- package/assets/{Abkx7KJ6_X5avkR4.js → BloJ-e8xad1b_H7X.js} +3 -3
- package/assets/{DpGFb3hbAT5Murcv.js → Bm-wDNSoT-3JD2bJ.js} +1 -1
- package/assets/{D7NjohknztgMLqhT.js → BoE9cj92LVH2LLy0.js} +2 -2
- package/assets/{xSUMX6J9-MJIGgmG.js → BqH4txhrgR2S-2ji.js} +2 -2
- package/assets/{DwmlBb640xWfAMV2.js → BrHXHm2FNXsL53bo.js} +2 -2
- package/assets/{CSMsn9bKgR9kWG0m.js → BuFb0lPxYlHccrD9.js} +1 -1
- package/assets/{CX-KrjVgXM-7o--S.js → ByGn4tk2SE1MH_sZ.js} +2 -2
- package/assets/{C9DvPNfuz_0hun6C.js → C1IE0F-y65XqEYRl.js} +1 -1
- package/assets/{Brlza6Jd2oGGX9vB.js → C1JeIUEWW-RL1Rnu.js} +1 -1
- package/assets/{Bb7ZxgjHwiKgARXs.js → C2sDVxKGBNlTFg6y.js} +1 -1
- package/assets/{kmiMiNIUc6rS8DG8.js → C30apcFVvDHn2M4R.js} +4 -4
- package/assets/{V4pGXJr6fe-CPg7i.js → C3c2PUtIo-aWbjw4.js} +1 -1
- package/assets/{BW8ReYzx-CEJ-lAG.js → C4C3Ot0xeo1O0wm5.js} +1 -1
- package/assets/{DQBqVPRLkZFb2P_x.js → C8zzCf71C976X7SG.js} +2 -2
- package/assets/{DkT0-_t9Xgp4l-Mh.js → CCS6r_ru_-bq12nu.js} +1 -1
- package/assets/{DRvzD5Tkcb2OU0G2.js → CDDtXZTG6nNFBQZP.js} +1 -1
- package/assets/{B6e_DsVO4i91IYEO.js → CEa6wNiDRZrans9S.js} +3 -3
- package/assets/{DHCl7HWDbT3xqx8W.js → CF1fqmS030ry2XQ0.js} +2 -2
- package/assets/{cTLYCAhDs2fR2ITC.js → CFqF3aUKvOGFOK9O.js} +1 -1
- package/assets/{CGdayif_qNMtoATI.js → CI8Pu3ko8VzQYdRD.js} +1 -1
- package/assets/{C2kYWrsx5mg4XOES.js → CICMJpasl9o4FaZi.js} +1 -1
- package/assets/{BXxUz-sB48Z9nSFi.js → CJcyMzG19TOjqNHS.js} +1 -1
- package/assets/{BHeXL-Lo390ZSNV0.js → CJoREr6-3iOl7iU_.js} +1 -1
- package/assets/{DfaQvLAaU7HHPnSe.js → CMd7aLIwOA7bxcZm.js} +112 -112
- package/assets/{CDiutOsLAzu4c0Ej.js → CNikOloX_losH8Nz.js} +1 -1
- package/assets/{CYtkZMCX6dyEqjb9.js → CRZMD-wS-944FnD_.js} +4 -4
- package/assets/{C-Vt758qtn8QeCrw.js → CRlLpD9cfhJ9Ov9L.js} +1 -1
- package/assets/{Cmf4eJow6AIuPH_w.js → CS07BBUu6ZtXk4TZ.js} +1 -1
- package/assets/{ClRgSo0axU3lAOwR.js → CX-LNahzNZRc78er.js} +1 -1
- package/assets/{BktUuVP0Jew8_-ff.js → CY3Lmr-fgs6NqXRp.js} +1 -1
- package/assets/{BzU8BhgrkSoh-XJF.js → CbkCnjWs7Fpj5iQY.js} +8 -8
- package/assets/{DbHVXEt9qwlb8Gou.js → CdbucPAmUkkc5pcM.js} +21 -21
- package/assets/{m9BgbF-NgPIYW4kc.js → CfBJzpZuy1o216iZ.js} +1 -1
- package/assets/{DX94YgmfoL_ngS60.js → CoSNTR-pg7BZAU7o.js} +1 -1
- package/assets/{u8xtjHo43n-S_O6j.js → CpoqmW4E7rFdkRpf.js} +1 -1
- package/assets/{xMi-tFxI2s6e18L1.js → Cs1df4D35bBjqyvX.js} +1 -1
- package/assets/{BzLwCwXsh7eXQpeK.js → CsPyLus3kh4QnahD.js} +1 -1
- package/assets/{DZOzgVEOXfHTE3YC.js → Cwe_kiigxAfceEK9.js} +1 -1
- package/assets/{DaB9iRVJj3TmKH92.js → CwzSgovxnBMrgLmJ.js} +3 -3
- package/assets/{DJlQxf99HCszeCCD.js → D31pY9r4JAFWw3E4.js} +1 -1
- package/assets/DCWHNfq5qCxvALwe.js +199 -0
- package/assets/{DAnTpFc2vx3CmP8e.js → DF9WfdyjHuCpsEXh.js} +25 -25
- package/assets/{APcHum0Riw3QhLBQ.js → DOIpXsEXCaI-8VwJ.js} +1 -1
- package/assets/{DgE30NwKzEjZI1W6.js → DOXj80NXiglJXsMZ.js} +3 -3
- package/assets/{BNvsIyBwweYnfUz3.js → DQ2vEDfVfsIGSmId.js} +1 -1
- package/assets/{CcTDxlAqw6HuYmmm.js → DQtnL5nOzSzVJhit.js} +70 -70
- package/assets/{BFKj2ik7h-yM6oCR.js → DRcmbp80jMRjxelW.js} +1 -1
- package/assets/{DLW76uSURiQM07DD.js → DRy0AcTiSKQY3bih.js} +1 -1
- package/assets/{45FAgD1JyG2a1Rti.js → DWr6GqsnMpLwSUno.js} +2 -2
- package/assets/{Bwk-CZuGiTRT2ox_.js → DXrX5tIZ1J5BhpFk.js} +4 -4
- package/assets/{BtNEVWQWEp_Ie1nT.js → DZxHk5oKIVvu3iJR.js} +496 -496
- package/assets/{DBgHcEP-FcgSHLvx.js → Da0CtWhc7saaOdER.js} +212 -212
- package/assets/{Duw8QQGcrPmesb-M.js → Dbi1_JHT_4u0nhwc.js} +1 -1
- package/assets/{ckvxz2tZRlY1UPpg.js → Dcw7GSCgw_dgsum7.js} +9974 -10023
- package/assets/{BBccc8pDH-6AJdoT.js → DfuY8GdoSk8LxDFW.js} +5 -5
- package/assets/{CFrOPd_UcD7qclCq.js → DlARYdaCOVKiQzMH.js} +1 -1
- package/assets/{BD3Bc7ZHxenj4S7Q.js → DngX5ZuqqFGTp44B.js} +1 -1
- package/assets/{DZBfVpnngvY9Ra3C.js → DpwdC4SN_VYB9_ho.js} +1 -1
- package/assets/{DUfrvQDZKh_22F91.js → Dst0tyK__q2Q_AKk.js} +1 -1
- package/assets/{CfWSdzSpbErVA_1h.js → DvHZEP1wpb6549uf.js} +395 -395
- package/assets/{ixHQtoul8ubEJfWS.js → DzYvbv5u7E2H7IoB.js} +1 -1
- package/assets/{D5aWcMLJ2wyLm9Ws.js → G489eYf-lt3D1riX.js} +1 -1
- package/assets/{DbXqd8hGNQEyS-s0.js → L42Y17f0HUEpfS6U.js} +1 -1
- package/assets/{irrAIfw6CnCOHmPE.js → O3m_QwxIRXMPFTB8.js} +1 -1
- package/assets/{GfAXkT_vctdRX_9f.js → P3Or6rEY-fHmQZbH.js} +15 -15
- package/assets/{DcHo7BC8Ny3hWq0j.js → PAzPVx_0jajb_7cO.js} +2 -2
- package/assets/{DXDhH3F4N4OOigqN.js → PvRzzufo1V8BuC-I.js} +1 -1
- package/assets/Sm1ouHLiXlCuQVKV.js +304 -0
- package/assets/{D053O1kZ7JtMwiqh.js → WC-THJfezYSFdiMF.js} +1 -1
- package/assets/{Cplall3oc-_3AhCB.js → YK80feN98r6GVZv5.js} +1 -1
- package/assets/{COZ-bhj463kGINFA.js → cl0C9YlF3Ds-lHps.js} +1 -1
- package/assets/{TqxFLhPz3zbgi95t.js → eExV3IoVMxYkv5GO.js} +1 -1
- package/assets/{LQNEL4KjDxwZNwWq.js → g3TrQtFS0qJZeshT.js} +241 -241
- package/assets/{HLtC2gb8SfNmJU5q.js → gf6l-4XXMXtq8hpJ.js} +5 -5
- package/assets/{VkeNTI1TMsA1ZbGz.js → hiKRbrdbpmJglbWC.js} +3 -3
- package/assets/{DvkgborRc2vRq8E-.js → j4zqu8S2Be_yum7W.js} +1 -1
- package/assets/{C6Vsz4e_ASJdx3LP.js → jNZ7exipVCGRPbzr.js} +1 -1
- package/assets/{DunKnm-bQd0oHn9n.js → kThU6e6dkzEoaK6n.js} +2 -2
- package/assets/{Djl7cjJyCIS_Qvbd.js → knMcDWv3xN7yJBTT.js} +1 -1
- package/assets/{D8cqT2lbcP5Yp1Or.js → ov7L79VlksT4fw7T.js} +3 -3
- package/assets/{DZTVTdrwu05fNZk_.js → pLM8Pxl1CscUdvMh.js} +1 -1
- package/assets/{u9le-qZ3tbYKK1kU.js → pfa2CH5NQuzku6FP.js} +2 -2
- package/assets/{DlOCT6DI5bhPtQ8j.js → q6advQx4x6PXvl0i.js} +31 -31
- package/assets/{DB2MrmDLZ-OzVRQu.js → qVBjd-c5B8neljc0.js} +2 -2
- package/assets/{eCD6fmcTsgv76IZm.js → rlgXnCh6A88ozBRz.js} +4 -4
- package/assets/{DFd0JAiw5dkbnULM.js → rzi2XAwlfy8BsGEa.js} +1 -1
- package/assets/{B0FfnXdiZxExcdjB.js → xGASRbzSVVKfEAh-.js} +2 -2
- package/assets/{D8wjcRGgRdU34Ata.js → ybnQoU8_KttlHjiy.js} +1 -1
- package/index.js +105 -105
- package/lib.js +1 -1
- package/licenses/dependencies.txt +90 -90
- package/package.json +2 -2
- package/screenshot-page/assets/-HdF7KAN8PKqrASL.js +1 -0
- package/screenshot-page/assets/{CFS0h-wE9YlZRk_1.js → B-E9Dzx1wh9RA2yC.js} +1 -1
- package/screenshot-page/assets/B39YZkEvc1U8ZQ8H.js +2 -0
- package/screenshot-page/assets/B8Dy_WA9RlWuvMqF.js +4 -0
- package/screenshot-page/assets/BAzHRU12l2vyyXq-.js +39 -0
- package/screenshot-page/assets/{CCYEWK5QyGSnUAfh.js → BOF6KOmT8mH_NQnA.js} +1 -1
- package/screenshot-page/assets/{DbnmgPTSEii4OGkB.js → BfkbiKKbYlPpRZqZ.js} +1 -1
- package/screenshot-page/assets/{BVnzv_sY_58zEJyM.js → BhHceo22V3IBfap0.js} +1 -1
- package/screenshot-page/assets/BrEXXxB9tAI5mmZP.js +1 -0
- package/screenshot-page/assets/{CKdQfdZJGJFgnrr9.js → BwYQTcPRDDYIeAA5.js} +11 -11
- package/screenshot-page/assets/ByyC3p23DsLAbUpr.js +1 -0
- package/screenshot-page/assets/{D-jd_TJCN7AAn125.js → BzI5CCx73aXausKb.js} +8 -8
- package/screenshot-page/assets/{D98PlIA4qQ_6ciCu.js → CAKBmg6tXRtjEWgb.js} +2 -2
- package/screenshot-page/assets/{CRtk9ixuBWxhPfPU.js → CGNsyKbDXXz9qMa2.js} +1 -1
- package/screenshot-page/assets/CGZYePkVGI5DPBBY.js +1 -0
- package/screenshot-page/assets/{D53hpXNHxIgSWl80.js → CJAgr6wyQGYAd3ZV.js} +1 -1
- package/screenshot-page/assets/CWA4xGjOeBuxJOzW.js +3 -0
- package/screenshot-page/assets/CX-ITg5RXdV2cefd.js +13 -0
- package/screenshot-page/assets/{CMryHLEhCyKGuRSW.js → Cg9eIWL8fPmeZFHG.js} +4 -4
- package/screenshot-page/assets/{MqGbtsji4DVGCAMR.js → Cq1EzIAt4dHBkzfP.js} +1 -1
- package/screenshot-page/assets/D2TibFqUBAPLcu_2.js +1 -0
- package/screenshot-page/assets/DEy3e1rY-XMdI309.js +1 -0
- package/screenshot-page/assets/{DkTX5ZjGNQ5SrwJa.js → DOsZiE9rOdS_Mm2Q.js} +1 -1
- package/screenshot-page/assets/DaqAdr-mtpVZMOS8.js +2 -0
- package/screenshot-page/assets/DhnaoxNYwMobAVP6.js +1 -0
- package/screenshot-page/assets/{DmIjTb4kKfUHxWaF.js → QVGvXAvlw1c8vZjy.js} +22 -22
- package/screenshot-page/assets/{BCmGLxQEUabeee6Q.js → d8BvDCByceUNvHp7.js} +2 -2
- package/screenshot-page/assets/jFfcyGJ9xruiOUyS.js +1 -0
- package/screenshot-page/index.html +3 -3
- package/types/scripting.d.ts +1 -1
- package/assets/CD2yoEhIT8DyXBou.js +0 -199
- package/assets/CJubVukzHBNJb_Wf.js +0 -304
- package/assets/CehVpkp73IfWGN_b.js +0 -14
- package/screenshot-page/assets/3L7CY5dA_kT2UBjv.js +0 -1
- package/screenshot-page/assets/B6UwT0pG4sQeG7fA.js +0 -3
- package/screenshot-page/assets/BH2IWQ-8AfNbhYZJ.js +0 -39
- package/screenshot-page/assets/BkU12U7IqW7qjopk.js +0 -13
- package/screenshot-page/assets/Bs-IXwX9BKsCxwcJ.js +0 -2
- package/screenshot-page/assets/C7MXfx6zf_uTwcpu.js +0 -1
- package/screenshot-page/assets/CUQsrLir5jYpnRPM.js +0 -1
- package/screenshot-page/assets/CUgX7ETRCJsvqa2x.js +0 -1
- package/screenshot-page/assets/CfD1bn6b-NM38iZV.js +0 -1
- package/screenshot-page/assets/Ck5onwb1w_19WrtG.js +0 -1
- package/screenshot-page/assets/CvBPH5c-gnUG8Jen.js +0 -1
- package/screenshot-page/assets/DqOrgSpuJhQRhMoG.js +0 -4
- package/screenshot-page/assets/Dz_yLNMXKWGx1O6V.js +0 -2
- package/screenshot-page/assets/x1O923k1mN-CduO_.js +0 -1
package/lib.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. -
|
|
2
|
+
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v1.0.0
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: SheetXL EULA — https://www.sheetxl.com/eula
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Name: @sheetxl/scripting
|
|
2
|
-
Version: 0.
|
|
2
|
+
Version: 1.0.0
|
|
3
3
|
License: SEE LICENSE IN LICENSE.md
|
|
4
4
|
Private: false
|
|
5
5
|
Description: Scripting - Scripting engine for Macros and formulas; includes TypeScript and EsBuild.
|
|
@@ -23,33 +23,8 @@ Third-party components bundled in this package remain under their own licenses,
|
|
|
23
23
|
|
|
24
24
|
---
|
|
25
25
|
|
|
26
|
-
Name: @sheetxl/sdk
|
|
27
|
-
Version: 0.8.0-beta.25
|
|
28
|
-
License: SEE LICENSE IN LICENSE.md
|
|
29
|
-
Private: false
|
|
30
|
-
Description: SDK - A high-performance, embeddable spreadsheet engine.
|
|
31
|
-
Repository: https://github.com/sheetxl/sheetxl.git
|
|
32
|
-
Homepage: https://sheetxl.com
|
|
33
|
-
License Text:
|
|
34
|
-
===
|
|
35
|
-
|
|
36
|
-
# License
|
|
37
|
-
|
|
38
|
-
Copyright (c) 2026-present SheetXL Inc. & Michael T. Ford. All rights reserved.
|
|
39
|
-
|
|
40
|
-
This package is commercial software, licensed under the SheetXL End-User License Agreement:
|
|
41
|
-
https://www.sheetxl.com/eula
|
|
42
|
-
|
|
43
|
-
A free Community License covers evaluation, learning and non-commercial use. Commercial use
|
|
44
|
-
requires a paid license — see https://www.sheetxl.com/pricing.
|
|
45
|
-
|
|
46
|
-
Third-party components bundled in this package remain under their own licenses, listed in
|
|
47
|
-
`licenses/dependencies.txt`.
|
|
48
|
-
|
|
49
|
-
---
|
|
50
|
-
|
|
51
26
|
Name: @sheetxl/formulas
|
|
52
|
-
Version: 0.
|
|
27
|
+
Version: 1.0.0
|
|
53
28
|
License: MIT
|
|
54
29
|
Private: false
|
|
55
30
|
Description: Formulas - TypeScript formulas compatible with Excel built-ins.
|
|
@@ -83,7 +58,7 @@ SOFTWARE.
|
|
|
83
58
|
---
|
|
84
59
|
|
|
85
60
|
Name: @sheetxl/formulas-extended
|
|
86
|
-
Version: 0.
|
|
61
|
+
Version: 1.0.0
|
|
87
62
|
License: SEE LICENSE IN LICENSE.md
|
|
88
63
|
Private: false
|
|
89
64
|
Description: Formulas Enterprise - TypeScript formulas compatible with Excel built-ins.
|
|
@@ -107,8 +82,33 @@ Third-party components bundled in this package remain under their own licenses,
|
|
|
107
82
|
|
|
108
83
|
---
|
|
109
84
|
|
|
85
|
+
Name: @sheetxl/sdk
|
|
86
|
+
Version: 1.0.0
|
|
87
|
+
License: SEE LICENSE IN LICENSE.md
|
|
88
|
+
Private: false
|
|
89
|
+
Description: SDK - A high-performance, embeddable spreadsheet engine.
|
|
90
|
+
Repository: https://github.com/sheetxl/sheetxl.git
|
|
91
|
+
Homepage: https://sheetxl.com
|
|
92
|
+
License Text:
|
|
93
|
+
===
|
|
94
|
+
|
|
95
|
+
# License
|
|
96
|
+
|
|
97
|
+
Copyright (c) 2026-present SheetXL Inc. & Michael T. Ford. All rights reserved.
|
|
98
|
+
|
|
99
|
+
This package is commercial software, licensed under the SheetXL End-User License Agreement:
|
|
100
|
+
https://www.sheetxl.com/eula
|
|
101
|
+
|
|
102
|
+
A free Community License covers evaluation, learning and non-commercial use. Commercial use
|
|
103
|
+
requires a paid license — see https://www.sheetxl.com/pricing.
|
|
104
|
+
|
|
105
|
+
Third-party components bundled in this package remain under their own licenses, listed in
|
|
106
|
+
`licenses/dependencies.txt`.
|
|
107
|
+
|
|
108
|
+
---
|
|
109
|
+
|
|
110
110
|
Name: @sheetxl/io
|
|
111
|
-
Version: 0.
|
|
111
|
+
Version: 1.0.0
|
|
112
112
|
License: MIT
|
|
113
113
|
Private: false
|
|
114
114
|
Description: SheetXL - Import/Export Formats.
|
|
@@ -142,7 +142,7 @@ SOFTWARE.
|
|
|
142
142
|
---
|
|
143
143
|
|
|
144
144
|
Name: @sheetxl/utils-node
|
|
145
|
-
Version: 0.
|
|
145
|
+
Version: 1.0.0
|
|
146
146
|
License: MIT
|
|
147
147
|
Private: false
|
|
148
148
|
Description: SheetXL - Node-only utilities: terminal presentation, environment reporting, tool logging
|
|
@@ -176,7 +176,7 @@ SOFTWARE.
|
|
|
176
176
|
---
|
|
177
177
|
|
|
178
178
|
Name: @sheetxl/query
|
|
179
|
-
Version: 0.
|
|
179
|
+
Version: 1.0.0
|
|
180
180
|
License: SEE LICENSE IN LICENSE.md
|
|
181
181
|
Private: false
|
|
182
182
|
Description: SheetXL - Workbook read surface and renderers (grep, reports) — capabilities declared once, adapted by any host surface
|
|
@@ -201,7 +201,7 @@ Third-party components bundled in this package remain under their own licenses,
|
|
|
201
201
|
---
|
|
202
202
|
|
|
203
203
|
Name: @sheetxl/runner
|
|
204
|
-
Version: 0.
|
|
204
|
+
Version: 1.0.0
|
|
205
205
|
License: MIT
|
|
206
206
|
Private: false
|
|
207
207
|
Description: SheetXL - Programmatic execution for SheetXL scripts
|
|
@@ -234,31 +234,6 @@ SOFTWARE.
|
|
|
234
234
|
|
|
235
235
|
---
|
|
236
236
|
|
|
237
|
-
Name: @sheetxl/io-xlsx
|
|
238
|
-
Version: 0.8.0-beta.25
|
|
239
|
-
License: SEE LICENSE IN LICENSE.md
|
|
240
|
-
Private: false
|
|
241
|
-
Description: SheetXL - Import/Export from/to Excel
|
|
242
|
-
Repository: https://github.com/sheetxl/sheetxl.git
|
|
243
|
-
Homepage: https://sheetxl.com
|
|
244
|
-
License Text:
|
|
245
|
-
===
|
|
246
|
-
|
|
247
|
-
# License
|
|
248
|
-
|
|
249
|
-
Copyright (c) 2026-present SheetXL Inc. & Michael T. Ford. All rights reserved.
|
|
250
|
-
|
|
251
|
-
This package is commercial software, licensed under the SheetXL End-User License Agreement:
|
|
252
|
-
https://www.sheetxl.com/eula
|
|
253
|
-
|
|
254
|
-
A free Community License covers evaluation, learning and non-commercial use. Commercial use
|
|
255
|
-
requires a paid license — see https://www.sheetxl.com/pricing.
|
|
256
|
-
|
|
257
|
-
Third-party components bundled in this package remain under their own licenses, listed in
|
|
258
|
-
`licenses/dependencies.txt`.
|
|
259
|
-
|
|
260
|
-
---
|
|
261
|
-
|
|
262
237
|
Name: bessel
|
|
263
238
|
Version: 1.0.2
|
|
264
239
|
License: Apache-2.0
|
|
@@ -321,6 +296,52 @@ SOFTWARE.
|
|
|
321
296
|
|
|
322
297
|
---
|
|
323
298
|
|
|
299
|
+
Name: @sheetxl/io-xlsx
|
|
300
|
+
Version: 1.0.0
|
|
301
|
+
License: SEE LICENSE IN LICENSE.md
|
|
302
|
+
Private: false
|
|
303
|
+
Description: SheetXL - Import/Export from/to Excel
|
|
304
|
+
Repository: https://github.com/sheetxl/sheetxl.git
|
|
305
|
+
Homepage: https://sheetxl.com
|
|
306
|
+
License Text:
|
|
307
|
+
===
|
|
308
|
+
|
|
309
|
+
# License
|
|
310
|
+
|
|
311
|
+
Copyright (c) 2026-present SheetXL Inc. & Michael T. Ford. All rights reserved.
|
|
312
|
+
|
|
313
|
+
This package is commercial software, licensed under the SheetXL End-User License Agreement:
|
|
314
|
+
https://www.sheetxl.com/eula
|
|
315
|
+
|
|
316
|
+
A free Community License covers evaluation, learning and non-commercial use. Commercial use
|
|
317
|
+
requires a paid license — see https://www.sheetxl.com/pricing.
|
|
318
|
+
|
|
319
|
+
Third-party components bundled in this package remain under their own licenses, listed in
|
|
320
|
+
`licenses/dependencies.txt`.
|
|
321
|
+
|
|
322
|
+
---
|
|
323
|
+
|
|
324
|
+
Name: @xmldom/xmldom
|
|
325
|
+
Version: 0.9.12
|
|
326
|
+
License: MIT
|
|
327
|
+
Private: false
|
|
328
|
+
Description: A pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module.
|
|
329
|
+
Repository: git://github.com/xmldom/xmldom.git
|
|
330
|
+
Homepage: https://github.com/xmldom/xmldom
|
|
331
|
+
License Text:
|
|
332
|
+
===
|
|
333
|
+
|
|
334
|
+
Copyright 2019 - present Christopher J. Brody and other contributors, as listed in: https://github.com/xmldom/xmldom/graphs/contributors
|
|
335
|
+
Copyright 2012 - 2017 @jindw <jindw@xidea.org> and other contributors, as listed in: https://github.com/jindw/xmldom/graphs/contributors
|
|
336
|
+
|
|
337
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
338
|
+
|
|
339
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
340
|
+
|
|
341
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
342
|
+
|
|
343
|
+
---
|
|
344
|
+
|
|
324
345
|
Name: papaparse
|
|
325
346
|
Version: 5.7.0
|
|
326
347
|
License: MIT
|
|
@@ -480,29 +501,8 @@ SOFTWARE.
|
|
|
480
501
|
|
|
481
502
|
---
|
|
482
503
|
|
|
483
|
-
Name: @xmldom/xmldom
|
|
484
|
-
Version: 0.9.12
|
|
485
|
-
License: MIT
|
|
486
|
-
Private: false
|
|
487
|
-
Description: A pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module.
|
|
488
|
-
Repository: git://github.com/xmldom/xmldom.git
|
|
489
|
-
Homepage: https://github.com/xmldom/xmldom
|
|
490
|
-
License Text:
|
|
491
|
-
===
|
|
492
|
-
|
|
493
|
-
Copyright 2019 - present Christopher J. Brody and other contributors, as listed in: https://github.com/xmldom/xmldom/graphs/contributors
|
|
494
|
-
Copyright 2012 - 2017 @jindw <jindw@xidea.org> and other contributors, as listed in: https://github.com/jindw/xmldom/graphs/contributors
|
|
495
|
-
|
|
496
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
497
|
-
|
|
498
|
-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
499
|
-
|
|
500
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
501
|
-
|
|
502
|
-
---
|
|
503
|
-
|
|
504
504
|
Name: @sheetxl/primitives
|
|
505
|
-
Version: 0.
|
|
505
|
+
Version: 1.0.0
|
|
506
506
|
License: MIT
|
|
507
507
|
Private: false
|
|
508
508
|
Description: Primitives - Base types for SheetXL functions.
|
|
@@ -536,7 +536,7 @@ SOFTWARE.
|
|
|
536
536
|
---
|
|
537
537
|
|
|
538
538
|
Name: @sheetxl/utils
|
|
539
|
-
Version: 0.
|
|
539
|
+
Version: 1.0.0
|
|
540
540
|
License: MIT
|
|
541
541
|
Private: false
|
|
542
542
|
Description: Utils - Utilities used by most SheetXL components.
|
|
@@ -569,6 +569,16 @@ SOFTWARE.
|
|
|
569
569
|
|
|
570
570
|
---
|
|
571
571
|
|
|
572
|
+
Name: css-font-parser
|
|
573
|
+
Version: 2.0.1
|
|
574
|
+
License: BSD-3-Clause
|
|
575
|
+
Private: false
|
|
576
|
+
Description: A parser for the CSS font value
|
|
577
|
+
Repository: undefined
|
|
578
|
+
Author: Bram Stein <b.l.stein@gmail.com> (http://www.bramstein.com)
|
|
579
|
+
|
|
580
|
+
---
|
|
581
|
+
|
|
572
582
|
Name: @zip.js/zip.js
|
|
573
583
|
Version: 2.24.0
|
|
574
584
|
License: BSD-3-Clause
|
|
@@ -611,16 +621,6 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
611
621
|
|
|
612
622
|
---
|
|
613
623
|
|
|
614
|
-
Name: css-font-parser
|
|
615
|
-
Version: 2.0.1
|
|
616
|
-
License: BSD-3-Clause
|
|
617
|
-
Private: false
|
|
618
|
-
Description: A parser for the CSS font value
|
|
619
|
-
Repository: undefined
|
|
620
|
-
Author: Bram Stein <b.l.stein@gmail.com> (http://www.bramstein.com)
|
|
621
|
-
|
|
622
|
-
---
|
|
623
|
-
|
|
624
624
|
Name: @chevrotain/utils
|
|
625
625
|
Version: 13.2.0
|
|
626
626
|
License: Apache-2.0
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sheetxl/mcp",
|
|
3
3
|
"description": "MCP server exposing SheetXL spreadsheet operations as tools and resources.",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "1.0.0",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"bin": {
|
|
7
7
|
"sheetxl-mcp": "./index.js"
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@modelcontextprotocol/sdk": "^1.32.2",
|
|
36
|
-
"@sheetxl/skills": "0.
|
|
36
|
+
"@sheetxl/skills": "1.0.0",
|
|
37
37
|
"configstore": "^8.0.0",
|
|
38
38
|
"esbuild-wasm": "^0.28.2",
|
|
39
39
|
"typescript": "^5.9.0 || ^6.0.0",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Z as e,u as t,y as n}from"./D4RZZdlItfrgQHcE.js";import{a as r}from"./BQTLEc84Eql61S2m.js";import{An as i,Kn as a,Nr as o,Pn as s,X as c,ba as l,cn as u,er as d,h as f,v as p,wn as m,zi as h}from"./BwYQTcPRDDYIeAA5.js";var g=`SlicerStyleLight1`,_=`ascending`,v=`showItemsWithDataAtTop`,y=e(`op.setSlicerCaption`),b=e(`op.setSlicerStyle`),x=e(`op.setSlicerLayout`),S=e(`op.setSlicerSort`),C=e(`op.selectSlicerItems`),w=a.BuiltInSelectorNames.Display,T=Object.freeze({selector:w,scope:`column`}),E=Object.freeze({transactional:!1}),D=class extends r{constructor(e){let t=p(e.json?.source)?.column??e.json?.pivot?.sourceName??``,n=e.name;!n&&e.getMovable&&(n=t||null),super({...e,name:n}),this._formula=null,this._wired=null,this._binding=null,this._lossPending=!1,this._pivotTables=null,this._pivotBinding=null,this._columnName=t;let r=e.json;r&&this._updateState({data:{...r}}),r?.source&&this._addWatch(r.source,e=>{this._formula=e.formula,this._wired??=e.formula.getExpression(),this._checkSource(!1)})}getType(){return`slicer`}getTypeDescription(){return`Slicer`}getDefaultAnchorType(){return f.Type.Absolute}getSourceName(){return this._data()?.pivot?.sourceName??this._getColumnName()}getTable(){return this._data()?.pivot?this._getPivotTables()?.[0]??null:this._resolve()?.table??null}getColumn(){return this._resolve()?.column??null}getPivotTables(){return this._getPivotTables()??A}getPivotField(){let e=this._getPivotTables()?.[0];if(!e)return null;let t=o(e._getCache(),this.getSourceName());return t<0?null:e.getFields()[t]??null}_getSource(){let e=this._data()?.source??``,t=this._formula?.getExpression()??null;return t===null||t===this._wired?e:t}setName(e){let r=this._getWorkbook();if(r&&m(r,e,this)!==e)throw new t(n(`error.slicer.nameTaken`,{name:e}));return super.setName(e)}getCaption(){return this._data()?.caption??this._getColumnName()}setCaption(e,t){return this._set({caption:e??void 0},y,t)}isShowCaption(){return!0!==this._data()?.hiddenCaption}setShowCaption(e,t){return this._set({hiddenCaption:!e||void 0},y,t)}getCacheName(){return this._data()?.cacheName||(c(this._getWorkbook()).get(this)??s(this._getColumnName()))}getStyle(){return this._data()?.style??g}setStyle(e,t){return this._set({style:e&&e!==g?e:void 0},b,t)}getSortOrder(){return this._data()?.sortOrder??_}setSortOrder(e,r){if(e===`dataSource`&&this._data()?.pivot)throw new t(n(`error.slicer.pivotSortOrder`));return this._set({sortOrder:e===_?void 0:e},S,r)}getCrossFilter(){return this._data()?.crossFilter??v}setCrossFilter(e,t){return this._set({crossFilter:e===v?void 0:e},S,t)}getColumnCount(){return this._data()?.columnCount??1}setColumnCount(e,t){let n=Math.max(1,Math.trunc(e));return this._set({columnCount:n===1?void 0:n},x,t)}getRowHeight(){return this._data()?.rowHeight??27}setRowHeight(e,t){let n=Math.max(1,e);return this._set({rowHeight:n===27?void 0:n},x,t)}isLockedPosition(){return!0===this._data()?.lockedPosition}setLockedPosition(e,t){return this._set({lockedPosition:e||void 0},x,t)}isFilterCleared(){if(this.isITimeline){let e=this._timelineField();return!e?.table._getModel()?.filters?.some(t=>t.field===e.field&&t.dataField===void 0)}return this._data()?.pivot?this._getPivotItems()?.items.every(e=>e.isSelected)??!0:!this.getColumn()?.getFilter()?.getCondition()}async getItems(){let e=this._data()?.pivot;if(e?.timeline)return O;if(e){let t=this.getCrossFilter();return(this._getPivotItems()?.items??k).flatMap(n=>{if(t===`none`&&!n.hasData||e.tabular?.hideMissing&&n.missing)return[];let{id:r,missing:i,...a}=n;return[a]})}let t=this.getColumn()?.getFilter();if(!t)return O;let r=await t.getItems(T),i=t.getCondition(),o=i?function(e,t){let n=e.toJSON();if(n.operator!==a.BuiltInOperatorNames.InSet)return()=>!1;let r=n.param??{},i=new Set,o=r.items??[];for(let e=0;e<o.length;e++)o[e]!==null&&i.add(String(o[e]).toLowerCase());let s=r.dateGroups??[],c=t.dates?.[t.dates.length-1]??null;return e=>{if(e<0)return!0===r.blank;if(i.has(t.items[e].text.toLowerCase()))return!0;if(!c||s.length===0)return!1;let n=null;for(let t=0;t<c.runs.length&&!n;t++){let r=c.runs[t];r.min<=e&&e<=r.max&&(n=r.value??null)}if(!n)return!1;for(let e=0;e<s.length;e++)if(N(s[e],n))return!0;return!1}}(i,r):null,s=[];for(let e=0;e<r.items.length;e++){let t=r.items[e],n=!0===t.passesOthers;s.push({item:{key:t.text,name:t.text,value:t.value,hasData:n,isSelected:!o||(n?t.checked:o(e))},firstRow:t.firstRow})}let c=this.getSortOrder();if(c===`dataSource`)s.sort((e,t)=>e.firstRow-t.firstRow);else{let e=t.getRange().getWorksheet().getRuntime().getLocaleProfile(),n=c===`descending`?-1:1;s.sort((t,r)=>n*(h.compare(t.item.value,r.item.value,e)||h.compare(t.item.key,r.item.key,e)))}let l=null;if(r.hasBlanks){let e=!0===r.blanksPassOthers;l={key:j,name:n(`slicer.blankItem`),value:null,hasData:e,isSelected:!o||(e?r.blanksChecked:o(-1))}}let u=[],d=this.getCrossFilter();if(d===`showItemsWithNoData`){for(let e=0;e<s.length;e++)u.push(s[e].item);return l&&u.push(l),u}for(let e=0;e<s.length;e++)s[e].item.hasData&&u.push(s[e].item);if(l?.hasData&&u.push(l),d===`none`)return u;for(let e=0;e<s.length;e++)s[e].item.hasData||u.push(s[e].item);return l&&!l.hasData&&u.push(l),u}async getItem(e){let t=await this.getItems();for(let n=0;n<t.length;n++)if(t[n].key===e)return t[n];return null}async selectItems(e,t){if(this.isITimeline)return this;if(this._data()?.pivot){let n=this._getPivotItems()?.items;if(!n)return this;let r=new Set(e),i=new Set(n.flatMap(e=>r.has(e.key)?[e.id]:[]));return await this._showPivotItems(i.size===0||i.size===n.length?null:i,t),this}let n=this.getColumn()?.getFilter();if(!n)return this;if(!e||e.length===0)return this.clearFilters(t);let r=await n.getItems(T),i=new Set(e),o=r.dates?.[r.dates.length-1]??null,s=o&&o.runs.length>0?o.runs[o.runs.length-1].max:-1,c=[],l=[],u=!0,d=0;for(let e=0;e<r.items.length;e++){if(!i.has(r.items[e].text)){u=!1;continue}if(e>s){c.push(r.items[e].text);continue}for(;o.runs[d].max<e;)d++;let t=o.runs[d].value;t&&l[l.length-1]!==t&&l.push(t)}let f=r.hasBlanks&&i.has(j);if(r.hasBlanks&&!f&&(u=!1),u&&!r.truncated)return this.clearFilters(t);let p={items:c};return l.length>0&&(p.dateGroups=l),f&&(p.blank=!0),await n.setCondition({selector:w,operator:a.BuiltInOperatorNames.InSet,param:p},!1,{description:C,...t}),this}async clearFilters(e){return this.isITimeline?this.setDateRange(null,e):this._data()?.pivot?(await this._showPivotItems(null,e),this):(await this.getColumn()?.getFilter()?.delete(e),this)}addListeners(e,t){let n=super.addListeners(e,t);if(this._data()?.pivot)return this._bindPivot(),n;if(!this._binding){let e=this._resolve();e&&this._bind(e)}return n}toJSON(e){let t=this._data();if(!t)return null;if(t.pivot){let e=this._getPivotTables();if(!e)return t;let n={...t.pivot,tables:e.map(e=>({sheet:e.getWorksheet().getName(),name:e.getName()}))};return n.tabular&&e.length>0&&(n.cacheId=e[0].getCacheId()),{...t,pivot:n}}let n=this._getSource();return n?{...t,source:n}:t}get isISlicer(){return!0}get isITimeline(){return this._data()?.pivot?.timeline!==void 0}getDateRange(){let e=this._timelineField(),t=e?.table._getModel();return t?l(t,e.field):null}async setDateRange(e,t){let n=this.isITimeline?this._getPivotTables()??[]:[],r=this._getWorkbook();if(!r||n.length===0)return this;let i=this.getSourceName();return await r.doBatch(async()=>{for(let t of n){let n=o(t._getCache(),i);n>=0&&await t._setDateRange(n,i,e)}},{description:C,...t}),this}_getTimelineState(){let e=this._data()?.pivot;if(!e?.timeline||!e.tabular)return null;let t=this._timelineField();if(t){let e=t.table._getModel(),n=t.table._getCache();return{cacheId:t.table.getCacheId(),range:e?l(e,t.field):null,filtered:!!e?.filters?.some(e=>e.field===t.field&&e.dataField===void 0),dates:u(n,t.field)}}if(e.cacheId===void 0)return null;let n=this._getWorkbook()?._getPivotCache?.(e.cacheId)?.toJSON()??null,r=o(n,e.sourceName);return{cacheId:e.cacheId,range:null,filtered:!1,dates:n&&r>=0?u(n,r):null}}_timelineField(){if(!this.isITimeline)return null;let e=this._getPivotTables()?.[0],t=e?o(e._getCache(),this.getSourceName()):-1;return t>=0?{table:e,field:t}:null}get[Symbol.toStringTag](){return`[Slicer]`}toString(){return this.getTypeDescription()}_attach(){this._checkSource(!0)}_getPivotTables(){if(!this._data()?.pivot)return null;if(!this._pivotTables){let e=this._getWorkbook();if(!e)return null;this._holdPivotTables((t,n)=>e.getWorksheets().getByName(t)?.getPivotTables().getByName(n)??null)}return this._pivotTables.filter(e=>!e.isDeleted())}_holdPivotTables(e){let t=this._data()?.pivot;if(!t)return;let n=[];for(let r=0;r<t.tables.length;r++){let i=e(t.tables[r].sheet,t.tables[r].name);i&&!n.includes(i)&&n.push(i)}this._pivotTables=n}_getPivotItems(){let e=this._data()?.pivot;if(!e?.tabular||e.timeline)return null;let t=this._getPivotTables()?.[0],n=t?t.getCacheId():e.cacheId;if(n===void 0)return null;let r=this._getWorkbook(),i=t?t._getModel():{},a=t?t._getCache():r?._getPivotCache?.(n)?.toJSON()??null,s=o(a,e.sourceName),c=(t?.getWorksheet()??this.getMovable()?.getRange().getWorksheet())?.getRuntime();return!i||!a||s<0||!c?null:{cacheId:n,items:d(i,a,s,this.getSortOrder(),this.getCrossFilter(),c.getLocaleProfile())}}async _showPivotItems(e,t){let n=this._getPivotTables()??[],r=this._getWorkbook();if(!r||n.length===0)return;let i=this.getSourceName();await r.doBatch(async()=>{for(let t of n){let n=o(t._getCache(),i);n>=0&&await t._showSlicerItems(n,e)}},{description:C,...t})}_bindPivot(){let e=this._getPivotTables()??[],t=this._pivotBinding;if(t&&t.tables.length===e.length&&t.tables.every((t,n)=>t===e[n]))return;this._unbindPivot();let n=()=>{this._notify(`onSelectionChange`),this._notify(`onItemsChange`)};this._pivotBinding={tables:[...e],removes:e.map(e=>e.addListeners({onAnyChange:n,onDelete:n},E))}}_unbindPivot(){let e=this._pivotBinding;if(e){this._pivotBinding=null;for(let t of e.removes)t()}}_data(){return this._getState()?.data??null}_getWorkbook(){try{return this.getMovable()?.getRange().getWorksheet().getWorkbook()??null}catch{return null}}_resolve(){if(this._closed)return null;let e=p(this._getSource());if(!e)return null;let t=i(this._getWorkbook(),e.table),n=t?.getColumnByName(e.column)??null;return n?(this._columnName=n.getName(),{table:t,column:n}):null}_getColumnName(){return this._resolve()?.column.getName()??this._columnName}_checkSource(e){if(this._closed||this.isDeleted()||this._data()?.pivot)return;let t=this._resolve();if(t)return void this._bind(t);let n=this._getTransactions();n.isRestoring()||(n.isOpenTransaction()?this.delete():e&&!this._lossPending&&(this._lossPending=!0,queueMicrotask(()=>{if(this._lossPending=!1,this._closed||this.isDeleted()||n.isOpenTransaction()||n.isRestoring())return;let e=this._resolve();e?this._bind(e):n.amend(n.getCurrentCommit(!1).getId(),()=>{this.delete()})})))}_bind(e){let t=e.table;if(this._binding?.table!==t){this._unbind();let e=()=>{this._checkSource(!0)};this._binding={table:t,removeTable:t.addListeners({onFilterChange:()=>{this._notify(`onSelectionChange`)},onAnyChange:()=>{this._checkSource(!0),this._bindRange(!0)},onAnchorCoordsChange:()=>{this._bindRange(!0)},onDelete:e},E),coords:null,removeRange:null}}this._bindRange(!1)}_bindRange(e){let t=this._binding;if(!t||this._closed)return;let n=this.getColumn()?.getFilter()?.getRange()??null,r=n?n.getCoords():null;(r&&t.coords?r.rowStart!==t.coords.rowStart||r.rowEnd!==t.coords.rowEnd||r.colStart!==t.coords.colStart||r.colEnd!==t.coords.colEnd:r!==t.coords)&&(t.removeRange?.(),t.removeRange=n?.addListener(()=>{this._notify(`onItemsChange`)},{ignoreAddressChanges:!0,...E})??null,t.coords=r,e&&this._notify(`onItemsChange`))}_unbind(){let e=this._binding;e&&(this._binding=null,e.removeTable(),e.removeRange?.())}_notify(e){this._closed||this.isDeleted()||(this._emitter.notify(e),this._emitter.notify(`onAnyChange`))}_set(e,t,n){this._protectionCheck(t);let r=this._data();if(!r)return this;let i={...r,...e};for(let t in e)i[t]===void 0&&delete i[t];return this._updateState({data:i},{...n,description:t},[`onAnyChange`]),this}_processDelete(){this._unbind(),this._unbindPivot();let e=this._data()?.pivot?.tabular?this._getPivotTables()??[]:[];super._processDelete();for(let t of e)t._relayForSlicers?.()}_processRestoreOrRevert(e,t){if(super._processRestoreOrRevert(e,t),this.isDeleted())return void this._unbind();let n=this._resolve();n&&this._bind(n)}close(){this._unbind(),this._unbindPivot(),super.close()}},O=Object.freeze([]),k=Object.freeze([]),A=Object.freeze([]),j=``,M=[`year`,`month`,`day`,`hour`,`minute`,`second`];function N(e,t){for(let n=0;n<M.length;n++){let r=M[n];if(e[r]!==t[r])return!1;if(r===e.group)return!0}return!0}export{D as Slicer};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Ci5NtzhJLll1kxGf.js","./9w0ECZmzGUyk3F_O.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{t as e}from"./HclGiUj8dZXDFmoM.js";import{c as t}from"./CQukCzhuewMuFOlO.js";import{l as n}from"./
|
|
2
|
+
import{t as e}from"./HclGiUj8dZXDFmoM.js";import{c as t}from"./CQukCzhuewMuFOlO.js";import{l as n}from"./B8Dy_WA9RlWuvMqF.js";import{t as r}from"./9w0ECZmzGUyk3F_O.js";var i=async(i,a)=>{let{papaParseConfig:o,setValuesOptions:s,createWorkbookOptions:c}=a??{},l=a?.progress,u=l?.onProgress?l.onProgress.bind(l):void 0,d=await e(()=>import(`./Ci5NtzhJLll1kxGf.js`).then(e=>r(e.default,1)),__vite__mapDeps([0,1]),import.meta.url),f=d.default??d,p=new TextDecoder().decode(i),m=-1,h=new n(c),g=h.getWorksheetAt(0),_=g.getEntireRange().getCoords(),v=_.colEnd,y=_.rowEnd,b=g.getEntireRange().createSparseBuilder({axis:t.Axis.Row}),x=0,S=0,C={...o,transform:(e,t)=>{o?.transform&&(e=o.transform(e,t));let n=t;n===0&&m++;let r=e??``;if(!(m>y||n>v))return b.pushAt(m,n,r),x++,x%1e5==0&&u?.(x),e;n===0&&S++}};return f.parse(p,C).data,b.apply({textParser:!0,autoFormat:!0,...s}),S>0&&l?.onWarning?.(`Ignored ${S} ${S===1?`row`:`rows`} that exceeded the maximum range of the sheet`),h};export{i as readCSV};
|