@sheetxl/mcp 0.8.0-beta.18 → 0.8.0-beta.19
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/{BhHneZZ7gq4dRaEJ.js → -iaCg5U9jrEDEl_O.js} +1 -1
- package/assets/{BRQd_GNkeaBTl3Zr.js → 0hHP9xpWzhkDrCTL.js} +1 -1
- package/assets/{MfkAFluI0ZyU0UDV.js → 1bm0Yqgfehw1Z2QU.js} +9 -9
- package/assets/{DSDlxGN059KmkCxT.js → 2nx2Wljhbuct4aKx.js} +1 -1
- package/assets/{pg7E7B7ouG2qdZve.js → 7MIo82Ay8jEFMBH-.js} +1 -1
- package/assets/{CnLLwj7OCz4U71wa.js → ArL5bPq60ZcPcwU9.js} +1 -1
- package/assets/{DCHjwIx59QhiV2Zx.js → B6A2URH-mIs7J54h.js} +2 -2
- package/assets/{CDqOifqA400y7KQY.js → B7vRFm79CUJ1VvFw.js} +1 -1
- package/assets/{BQzUK7KiJeJpu-rK.js → B8Z4-80QEORmYOJ9.js} +1 -1
- package/assets/{BFGVZsstQm2MWi7Y.js → BGLlbVFS6J3lt9Lw.js} +1 -1
- package/assets/{D5wI7O_L6QVNXj5I.js → BHsQeg6najGesUM4.js} +1 -1
- package/assets/{CkO0JR629W2kcDMd.js → BPctZbHQFoqJNYzC.js} +2 -2
- package/assets/{Dhg0yeTmVfmRV5rK.js → BQkQNqRh5xxYhBy4.js} +1 -1
- package/assets/{Rpi4k7hMH8wPAIcB.js → BSNegq0YcivZJmkf.js} +1658 -1658
- package/assets/{DafqFM-FGeZJ_fzg.js → BTnTQBSbzYU7cwra.js} +1 -1
- package/assets/{CoQFpWEh4CUgcdwe.js → BUHEmX1fseJVV65_.js} +1 -1
- package/assets/{hLMlKg3lU36xZ6G6.js → Bbky1A_gIgE8i0Oy.js} +1 -1
- package/assets/{CL4BYdfIXgFQA8nY.js → BbvOmnXrmBNjeWjQ.js} +1 -1
- package/assets/{CT6kRDlkfvKq8XGZ.js → Bbxkz6vmyZJftTd-.js} +1 -1
- package/assets/{Ct8BhGWuqN5yOpUF.js → BcYdUKmFOf5rn2VZ.js} +1 -1
- package/assets/{BSvHkSY0R0EU0gC4.js → BfIJP4H3I51jnIVR.js} +1 -1
- package/assets/{BQsLqKWy17wy3znE.js → BgUHR-HVjZDY4SaH.js} +2 -2
- package/assets/{hvCnPO_Fu7Nqz0rs.js → BgVW1icycJewsx77.js} +1 -1
- package/assets/{BgGFX6QJ30T3seyX.js → Bgi6ubwGkGYsILci.js} +94 -94
- package/assets/{DbwDQlhCuGoasVUz.js → BiOrM24CFYL1JGFE.js} +2 -2
- package/assets/{DY1x1ZN7ZyE4OR1-.js → Bj1WHx6LIEq6RVGw.js} +8 -8
- package/assets/{CMXukie7sxP12H2E.js → Bk6A5eONxLTBIA_p.js} +4 -4
- package/assets/{BV11qLZKVWxFwVGV.js → Bk6SeqUJkn7ft1y1.js} +1 -1
- package/assets/{DN4zv4AjDxTsLFsA.js → BkhdNc3LdmcyAjwk.js} +9136 -9130
- package/assets/{DP-FzazhSKAvylUa.js → Bl77DvFa09DuVVuj.js} +137 -137
- package/assets/{Cv8UXBL7O7h1uMR8.js → Bpf9jHj5AFY9543y.js} +21 -21
- package/assets/{ARPN5UhoadZC1yqE.js → Bq6ocyztkvzKxMMC.js} +1 -1
- package/assets/{CLsD7YwSKAsliRZy.js → Bw2Nxye4Qj10uA3o.js} +1 -1
- package/assets/{CYUerpa6WB0Hc3fs.js → Bz1lp0mtNAoPuPve.js} +1 -1
- package/assets/{o9G5KuG1VkSazTvI.js → BzkTa7l_e7R--ejo.js} +402 -402
- package/assets/{BM-ax5N1GzF9KkI4.js → C06iKc7jZ6affk2m.js} +1 -1
- package/assets/{BatIfPAYElNTXVzb.js → C17Wflhw5IFSgFFY.js} +1 -1
- package/assets/{BMc-Hsrp_iifxzG_.js → C53f6C0pAU7_9FI-.js} +1 -1
- package/assets/{CmlxzZYM5hOAAcx5.js → C7Q4V5mU0wsErspO.js} +3 -3
- package/assets/{DjoFujVwGRAxviCF.js → CA_22AL82sRhLAko.js} +2 -2
- package/assets/{CzoexWLhnn08u05j.js → CBSSZrizrucIG_9i.js} +754 -757
- package/assets/{CLBxNjtPjuGX1KnU.js → CE4VYOniMmY8sXQ_.js} +1 -1
- package/assets/{DI_SAQ7hesioI9TW.js → CIOlYUuBZat8FhHa.js} +1 -1
- package/assets/{Dh2iae-q0IngEeyH.js → CIxf9Y_JsuEEO7Nu.js} +1 -1
- package/assets/{BQeb2zXfAs5lRoGt.js → CKvP54bJ4GkUqcZi.js} +3 -3
- package/assets/{Del35nO_1HyjItI0.js → CNPUPTd9h7hwijpZ.js} +69 -69
- package/assets/{D1pD8u8nRprUvn-u.js → CQZq4cA5kbES6htE.js} +1 -1
- package/assets/{BhJ1mH7pUONJScU7.js → CQiv3YkDRDxTjy0r.js} +31 -31
- package/assets/{BQ76ntZm9YFicjXj.js → CWHuM2GYuKmi0rZx.js} +1 -1
- package/assets/{DL3ms6Hf2uEGaMgH.js → CYTPpV3lqNGOwme7.js} +2 -2
- package/assets/{D2IMjoGcj5oz1Kr7.js → C_v4hb9WXIt639Cm.js} +1 -1
- package/assets/{Du9_Ajy9KvnwHApK.js → CcGrcjoI12MaDmwV.js} +2 -2
- package/assets/{CGGpkGg85FZsnYHc.js → Cgf5GQVN-D8SlQ7A.js} +15 -15
- package/assets/{CPkGFumcwSKh5zea.js → CiJq0zSDKpaKhL3y.js} +2 -2
- package/assets/{EDEUvF-L72a6fMCK.js → Cj4MYfqHewu8IOOL.js} +1 -1
- package/assets/{D0-I0aLr6w8IvxFD.js → CjoRkjB9NzS4LaFy.js} +1 -1
- package/assets/{B2C5njsdPylyQOCM.js → CjrzyKFdie6KYfsG.js} +3 -3
- package/assets/{Bi4pI6e3AwTjn-lQ.js → CkMXAUkUuJ2LJUBE.js} +1 -1
- package/assets/{VcmpHRbBIrw6av3U.js → CoXgI3MEnvkXeshj.js} +120 -120
- package/assets/{yBFl0kPv-nwFtG4Z.js → CqOzqRIQFCnEegoB.js} +1 -1
- package/assets/{XDQBri0_cS5paHej.js → CqvcgwQ0UcKndrhO.js} +2 -2
- package/assets/{C3PZVWI_SEXYrzVk.js → CrjUfkCuRaXUC8X8.js} +3 -3
- package/assets/{vXZw1AmMzswOZMiP.js → CubwsTFIaEVf039H.js} +1 -1
- package/assets/{nPoObUd0MvWI-j0F.js → Cur_-XiBPijLpwxX.js} +1 -1
- package/assets/{B7GE-6NROw0onnLD.js → Curuj_knAdRpMy1L.js} +157 -157
- package/assets/{8hZAYFV_v2KmJ_NL.js → Cz7tKgNBbnr4DZCb.js} +4 -4
- package/assets/{wZ-GQhOhikv-_3iQ.js → D-LrOz3Yvp17bUT8.js} +2 -2
- package/assets/{DWK-OKV0MErx-IrU.js → D005GbIBowRGfwed.js} +6 -6
- package/assets/{CPa4og3WQ7BgHrsO.js → D06A3fKIe3WCTFru.js} +28 -28
- package/assets/{C_UAskmm-u2Iw9Nl.js → D1ZekPxeTGzhFy2L.js} +1 -1
- package/assets/{BCeSyFXflYgNP_ES.js → D1kI9nJRL1RUF3-E.js} +1 -1
- package/assets/{Bz5ioWvl-Xl3xspC.js → D1nQ_BminCM0cyH0.js} +1 -1
- package/assets/{CiKd3BnRjhac2Hik.js → D4p9Pv82ECKCOlua.js} +1 -1
- package/assets/{Iv_Zbm3pMLOK2uxf.js → D5OYqo56iGB-5gFG.js} +1 -1
- package/assets/{10d0ZbYF23zeF8_1.js → D6fQheA4qCS5CxYQ.js} +1 -1
- package/assets/{DzEJwSC-_aavYiFd.js → D990KjcBrCaAEz5k.js} +1 -1
- package/assets/{CJoWPN_DsFbaGAiE.js → DAnSdO8615XsOPNe.js} +1 -1
- package/assets/{CNE-erNKNIT7bUb1.js → DFlL4pAqxaQ_hVe1.js} +30 -30
- package/assets/{DlWRvc1pLGPCRMwi.js → DHL-ZmN5GzB4pIrM.js} +1 -1
- package/assets/{CnCtLKkz0bdXIxn2.js → DIPDNtbm8FAru-FQ.js} +79 -79
- package/assets/{BEtUOCupmeICfGE1.js → DLJH6ppG9VHjHe_z.js} +3 -3
- package/assets/{F0HGXXl9AizCAcFy.js → DNtWf9lfGjzoB9Hy.js} +1 -1
- package/assets/{CQBFUsemb94zMBo6.js → DOg_zvSkhsKmw4q1.js} +3 -3
- package/assets/{BFcxaubQp1WMeknL.js → DS9HD6_BPxzdun0X.js} +4 -4
- package/assets/{BxizypreLEtLqpIc.js → DSNaHPvgqymqpsko.js} +1 -1
- package/assets/{BwQM6Q6HHQTXznpy.js → DT_kCIZ600UsFy4t.js} +2 -2
- package/assets/{DmCRCUmmkoRNCS9J.js → DXORLAVmseFlsxkG.js} +2 -2
- package/assets/{DcjJ_zTfdh6RqmVZ.js → DXe8SG12UJoGbbWR.js} +1 -1
- package/assets/{CWuPUrDsnBxboJ02.js → D_6TeeMN5zmoQPTm.js} +108 -108
- package/assets/{CvkibaXI8SOD22pw.js → Di_C31GTbBJ_xVOK.js} +1 -1
- package/assets/{DH7Rur7rNOYzv35r.js → DnMDfty7pU96BIEJ.js} +1 -1
- package/assets/{D5nleqRNvTcmN5_9.js → DngcuWO2cSuMCMu1.js} +1 -1
- package/assets/{DMGq2icilGiyfBTM.js → DppU35gFSUPaiCQH.js} +1 -1
- package/assets/{CcB4xmoUFWBbSISF.js → DrkfG324qZRPckuC.js} +1 -1
- package/assets/{SCOKwiDu6SYiQrQ0.js → Ds6LQkRDwXsJ-CFR.js} +1 -1
- package/assets/{CYcb-DojX92VNGzd.js → DtD0J-7IetHv5o6E.js} +3 -3
- package/assets/{DmUCKxOYIBM6DX64.js → DwWcXC4pUR3U2WXU.js} +1 -1
- package/assets/{rIReGgfQ90pzLAbU.js → DwcKSqV5YEBBA8hY.js} +1 -1
- package/assets/{B74Ls4nlmyBxWanf.js → DxKZjKyewqvj46S2.js} +2 -2
- package/assets/{B-6CmVJvxPNZB9bE.js → DxTzG7VM8v4WJ6cI.js} +1 -1
- package/assets/{Bi8ct8GYvMDKHCE3.js → EkavVNuGWG95UggH.js} +5 -5
- package/assets/{DKnwIboAj_Sg9aVP.js → GZJ4AFFt8qKRADOa.js} +2 -2
- package/assets/{VL-vwx7Pyw1zqIx9.js → Gd_0grQd-3D1VPXW.js} +1 -1
- package/assets/{BOdkvYo03yZ96iZt.js → HVm22OJ1gEeY8kii.js} +1 -1
- package/assets/{DMnhlFBJ2AlVx2_t.js → LV6tvjnxRzrWaFb8.js} +1 -1
- package/assets/{Bqq5Sl5E9ytcPJ3J.js → Ln7XTzksutZHFpml.js} +1 -1
- package/assets/{gAg9rL3U8fWUDeEb.js → Se9JmvmEtu4MfXJh.js} +38 -38
- package/assets/{9rJMq-cyOmajlBEQ.js → b6GPrIkdzfTW4f2j.js} +1 -1
- package/assets/{r9WSFw3a-_a5hlPm.js → bJ-XKvDf7IkAafUI.js} +3 -7
- package/assets/{D2sRTakzE5POMnhF.js → exNO4fmccU8Aq8cE.js} +65 -65
- package/assets/gCkru9Vv-Ban4DCD.js +14 -0
- package/assets/{BDNqot_JWBuVW_pC.js → ht0UxaAlRnuYUvpx.js} +1 -1
- package/assets/{BsYVa-oRhTLH6wnH.js → iP-shs7tsDGMVvQh.js} +1 -1
- package/assets/{Byd5zSRU6LWfL2No.js → jPim6WG_KS-ZDker.js} +1 -1
- package/assets/{NZeFs1MV5h-uMZqJ.js → mrif6ZBbTbZKYaLJ.js} +1 -1
- package/assets/{BrwNVveK5LvYkoGk.js → rT5f4v0Q_61nHkff.js} +1 -1
- package/assets/{BedBCvJP064ZYuO8.js → udbHvSLquJ5xGK3R.js} +2 -2
- package/assets/{D49iRcrfnODORRNC.js → vb-L2Q2jyjjgDvJy.js} +6 -6
- package/assets/{nnqtgWxMIc_Nc-IP.js → zEyWjY3NhC8w_spQ.js} +454 -454
- package/assets/{DwOPJ5TXttTx69oF.js → zkoJXSxpRzqfbG8k.js} +134 -134
- package/index.js +204 -204
- package/lib.js +1 -1
- package/licenses/dependencies.txt +59 -59
- package/package.json +2 -2
- package/screenshot-page/assets/{Di8Yn8O-rD9idC2h.js → 1yHlU53ypZZelMPx.js} +1 -1
- package/screenshot-page/assets/{C3QIYFX-vF_1DVmi.js → A_-Jwzwmm3lkcm2f.js} +11 -11
- package/screenshot-page/assets/{Btgo0VFTT0JxuaP3.js → B-8IMo2f1yGNXOyz.js} +86 -90
- package/screenshot-page/assets/{Cfs_rQCXBMVhJgat.js → BF6igzahAW9pl35p.js} +1 -1
- package/screenshot-page/assets/{C1lrvl0Ad1-NjWKG.js → BU5vg917ZnXC04e-.js} +2 -2
- package/screenshot-page/assets/{CaiPDssAQqXac5AG.js → BWDqL5_mwspr6CjI.js} +1 -1
- package/screenshot-page/assets/BX9VkTqZoroo08EG.js +13 -0
- package/screenshot-page/assets/BdDouZl3VrM4yBP5.js +2 -0
- package/screenshot-page/assets/{D1TqM0Bt65K6svMS.js → BqlVqRKpsFGl-elI.js} +23 -23
- package/screenshot-page/assets/{DNoZea7QMO9zB6D5.js → BuzI4z8RJGOw8BZD.js} +1 -1
- package/screenshot-page/assets/{DqXO_Zw1Cp7rAQ04.js → C7mXat-6esc1AmRD.js} +2 -2
- package/screenshot-page/assets/{D6WTzLygjgK85siu.js → CFl15-2FAF9f3V7L.js} +2 -2
- package/screenshot-page/assets/{C0F9BL11dkgzjp7Y.js → CJmdRzGWq0FZMrp5.js} +1 -1
- package/screenshot-page/assets/{CNFMt4XhKy4tlsUn.js → CLcTX_nmvaVPsxDl.js} +1 -1
- package/screenshot-page/assets/{BMf827t1Ul65MHd5.js → CQukCzhuewMuFOlO.js} +1 -1
- package/screenshot-page/assets/CZq2dMHs2MHHyyBl.js +1 -0
- package/screenshot-page/assets/CaTGa2NvuuE3qJAV.js +1 -0
- package/screenshot-page/assets/{F6yLCIlSWZ1lAUEp.js → Cb8ORg9ENgscK6yl.js} +2 -2
- package/screenshot-page/assets/{CM9cBiCjJIY64PWg.js → Chq6rvtA5qZAwYG4.js} +1 -1
- package/screenshot-page/assets/ClWDZixRy4DFZdI5.js +1 -0
- package/screenshot-page/assets/CmNlzN3DCl87wNU2.js +1 -0
- package/screenshot-page/assets/CoPUxkU9zZy0dXti.js +2 -0
- package/screenshot-page/assets/{Csjis_Fk8q4mSqdp.js → Cpwg3bWAqBBcgBmv.js} +2 -2
- package/screenshot-page/assets/{BwF-LAYFu91KqvJ8.js → CqogMOf7MzkOk7as.js} +2 -2
- package/screenshot-page/assets/{CpZHZoz3xpJMDWI0.js → CrUIo7hXByCWY7in.js} +1 -1
- package/screenshot-page/assets/Cv-YUArreXqhafcU.js +2 -0
- package/screenshot-page/assets/{DgtqX4DiBgkepVZZ.js → Cx1kZ2u_8JFV2Q8D.js} +1 -1
- package/screenshot-page/assets/{NDzpWLUA0pbyI-Rd.js → Cx9lvo3Q1xOwYkRK.js} +4 -4
- package/screenshot-page/assets/D0nZlczIH0ULuSyL.js +3 -0
- package/screenshot-page/assets/D1ZZiOS7_HFjpZCA.js +1 -0
- package/screenshot-page/assets/D23_69pojBfIh4nV.js +5 -0
- package/screenshot-page/assets/D24UBy2L73pOCPPw.js +1 -0
- package/screenshot-page/assets/D2q4M3I5Jmxm85P2.js +1 -0
- package/screenshot-page/assets/{D5kEl0N4l6MzdmTG.js → D6LmZnV2h3Kg7G3e.js} +1 -1
- package/screenshot-page/assets/{BYQZ8o8k3-MDoNat.js → D6Yv5cc1JE7DGd6j.js} +1 -1
- package/screenshot-page/assets/DAkSmFRVds51vhiy.js +1 -0
- package/screenshot-page/assets/DMhOGCTy8V0N14gY.js +1 -0
- package/screenshot-page/assets/{Bw4kRw8JKyNRlLE2.js → DUFPgv-3CtD_sCVO.js} +1 -1
- package/screenshot-page/assets/{B7u12-Sf0HF7g4wI.js → DeGMS3crYErjsRrw.js} +1 -1
- package/screenshot-page/assets/{Bwk0ScujWaYYqx5G.js → DegZKTNqt1LRnSxY.js} +1 -1
- package/screenshot-page/assets/{5TxlmdZxlCDkawVW.js → DjVxI3p3ssmCtYky.js} +1 -1
- package/screenshot-page/assets/Dt1A-DUBfvyouz_T.js +1 -0
- package/screenshot-page/assets/{iAWaCU0XkY0ktnNk.js → DwNHMH9f_lQyn50d.js} +1 -1
- package/screenshot-page/assets/{tPEJNcr51GaPfk3O.js → DwuLl9Ua1k8m9KcK.js} +1 -1
- package/screenshot-page/assets/EY31tFQrw7iYFrr6.js +4 -0
- package/screenshot-page/assets/{C3KvRJ_eXd6xnmlO.js → MzJpKWgPrxR1UN-Y.js} +1 -1
- package/screenshot-page/assets/{DGB9wBuDWt0bzTNE.js → RutPv2GFWmeBiWvn.js} +1 -1
- package/screenshot-page/assets/{DeyRZ5rprDbRbuf4.js → Tj3B5At0OAN3tDza.js} +1 -1
- package/screenshot-page/assets/fQ13z3k3bntY-jfw.js +1 -0
- package/screenshot-page/assets/oO6aFwepb3DDkGYF.js +39 -0
- package/screenshot-page/assets/{t4FRkJl27a0itCt6.js → pH9rKZYDE8xrhkC4.js} +1 -1
- package/screenshot-page/assets/qFyplGXRu7IepHio.js +1 -0
- package/screenshot-page/assets/w7IQEh1FiqZA6o5y.js +42 -0
- package/screenshot-page/assets/{DtihumgXQ7ETaN0A.js → zvxBjll3jnL0-vNn.js} +2 -2
- package/screenshot-page/index.html +11 -11
- package/types/scripting-api.json +7038 -7039
- package/types/scripting.d.ts +8 -15
- package/assets/LLdkCOYvtc1-vOsy.js +0 -14
- package/screenshot-page/assets/2XWoSsrRz2kognCK.js +0 -1
- package/screenshot-page/assets/BCOjWc-VhkuVoCVf.js +0 -1
- package/screenshot-page/assets/BqQ2A9WL6mcRxbSt.js +0 -2
- package/screenshot-page/assets/ByehV0cOs5aIySS-.js +0 -13
- package/screenshot-page/assets/C6vseMcEu3To1U6k.js +0 -4
- package/screenshot-page/assets/CafJ2T5GCjkumgLh.js +0 -1
- package/screenshot-page/assets/CijzqW2bsxOQdDxl.js +0 -2
- package/screenshot-page/assets/D6CzedWHXTesD55R.js +0 -1
- package/screenshot-page/assets/D7e00cCBTtcIRmjV.js +0 -1
- package/screenshot-page/assets/DTrnAtpccj55fGg5.js +0 -1
- package/screenshot-page/assets/DZ2zDgzt-mnhg3Kd.js +0 -1
- package/screenshot-page/assets/DaVBDkeZxbXnuyGz.js +0 -42
- package/screenshot-page/assets/DgNbqKuVd-Q170VZ.js +0 -2
- package/screenshot-page/assets/DjtXY9uxB3QP6hU3.js +0 -1
- package/screenshot-page/assets/Dv-4mfeFKIoD5jaY.js +0 -3
- package/screenshot-page/assets/HZAIE0lHXXFqlb2v.js +0 -1
- package/screenshot-page/assets/Lr2MYBmoCKMLBl_6.js +0 -5
- package/screenshot-page/assets/O-S3tcMip6iXUjQF.js +0 -1
- package/screenshot-page/assets/eV_6j-vFozPgfcjz.js +0 -1
- package/screenshot-page/assets/it1wnIFQtbJ4Dm8N.js +0 -1
- package/screenshot-page/assets/mCyh2440vZi8s1uY.js +0 -39
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v0.8.0-beta.19
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: SheetXL EULA — https://www.sheetxl.com/eula
|
|
6
6
|
*/
|
|
7
|
-
import { r as e } from "./
|
|
8
|
-
import { B as t, D as s, I as r, J as i, S as o, T as n, Z as a, bt as l, ct as h, ht as c, i as u, ot as d, p as g, tt as _, u as f, xt as m } from "./
|
|
9
|
-
import { a as p, c as w, s as y } from "./
|
|
10
|
-
import { At as S, C as b, E as k, F as C, G as v, I, Jt as R, L as N, U as O, Ut as x, Vt as E, Xt as L, Y as V, bt as A, ht as T, lt as P, qt as F, ut as B, v as W } from "./
|
|
11
|
-
import {
|
|
12
|
-
import { $t as D, Aa as z, Ar as H, Br as $, Bt as
|
|
7
|
+
import { r as e } from "./C17Wflhw5IFSgFFY.js";
|
|
8
|
+
import { B as t, D as s, I as r, J as i, S as o, T as n, Z as a, bt as l, ct as h, ht as c, i as u, ot as d, p as g, tt as _, u as f, xt as m } from "./B7vRFm79CUJ1VvFw.js";
|
|
9
|
+
import { a as p, c as w, s as y } from "./BPctZbHQFoqJNYzC.js";
|
|
10
|
+
import { At as S, C as b, E as k, F as C, G as v, I, Jt as R, L as N, U as O, Ut as x, Vt as E, Xt as L, Y as V, bt as A, ht as T, lt as P, qt as F, ut as B, v as W } from "./Cgf5GQVN-D8SlQ7A.js";
|
|
11
|
+
import { f as M, u as j } from "./bJ-XKvDf7IkAafUI.js";
|
|
12
|
+
import { $t as D, Aa as z, Ar as H, Br as $, Bt as J, Di as U, En as q, Fi as K, Ft as G, J as X, Jr as Z, Kn as Q, Li as Y, Mr as ee, Nt as te, O as se, Oa as re, Or as ie, Pi as oe, Qi as ne, Qn as ae, R as le, Ra as he, Sn as ce, Sr as ue, Tn as de, Tr as ge, Ui as _e, Ur as fe, Vi as me, _i as pe, ao as we, ba as ye, bi as Se, bn as be, bt as ke, ci as Ce, cn as ve, co as Ie, cr as Re, da as Ne, dn as Oe, dr as xe, en as Ee, fi as Le, h as Ve, ia as Ae, io as Te, it as Pe, ji as Fe, k as Be, l as We, la as Me, mo as je, mt as De, ni as ze, pa as He, po as $e, pr as Je, qa as Ue, qn as qe, qt as Ke, rr as Ge, s as Xe, ua as Ze, w as Qe, wi as Ye, wr as et, xa as tt, yn as st, z as rt, za as it } from "./BkhdNc3LdmcyAjwk.js";
|
|
13
13
|
var ot, nt, at = class extends r {
|
|
14
14
|
constructor(e, t = 50) {
|
|
15
15
|
super(t), this._transactions = e, this._floorId = e ? e.getCurrentCommit(!1).getId() : null, this._removeListener = e?.addListener({ onCommitChange: () => this._notifyOnStackChange() });
|
|
@@ -172,7 +172,7 @@ var ut = class e {
|
|
|
172
172
|
getName() {
|
|
173
173
|
if (null !== this._name && void 0 !== this._name) return this._name;
|
|
174
174
|
const e = this._cleanPath();
|
|
175
|
-
return e &&
|
|
175
|
+
return e && Re(e) || null;
|
|
176
176
|
}
|
|
177
177
|
getPath() {
|
|
178
178
|
return this._path;
|
|
@@ -183,7 +183,7 @@ var ut = class e {
|
|
|
183
183
|
getExtension() {
|
|
184
184
|
const e = this._cleanPath();
|
|
185
185
|
if (!e) return null;
|
|
186
|
-
const t =
|
|
186
|
+
const t = Se(e);
|
|
187
187
|
return t ? t.toLowerCase() : null;
|
|
188
188
|
}
|
|
189
189
|
getEncryption() {
|
|
@@ -272,10 +272,10 @@ var ut = class e {
|
|
|
272
272
|
}
|
|
273
273
|
switch (n) {
|
|
274
274
|
case "file": {
|
|
275
|
-
const e = s, r = e?.name, n = r ? `${
|
|
275
|
+
const e = s, r = e?.name, n = r ? `${Re(r)}` : "";
|
|
276
276
|
a = await e.arrayBuffer(), l = {
|
|
277
277
|
format: o,
|
|
278
|
-
ext:
|
|
278
|
+
ext: Se(r),
|
|
279
279
|
name: n,
|
|
280
280
|
absolutePath: r,
|
|
281
281
|
size: e.size,
|
|
@@ -315,7 +315,7 @@ var ut = class e {
|
|
|
315
315
|
t = e.input, r = e.init, i = e.timeout;
|
|
316
316
|
}
|
|
317
317
|
}
|
|
318
|
-
const n = i || 3e4, h = new AbortController(), c = setTimeout(() => h.abort(), n), u = "string" == typeof t ? t : t.toString(), d =
|
|
318
|
+
const n = i || 3e4, h = new AbortController(), c = setTimeout(() => h.abort(), n), u = "string" == typeof t ? t : t.toString(), d = Se(u);
|
|
319
319
|
try {
|
|
320
320
|
const e = await fetch(t, {
|
|
321
321
|
...r,
|
|
@@ -327,7 +327,7 @@ var ut = class e {
|
|
|
327
327
|
a = s, l = {
|
|
328
328
|
format: o,
|
|
329
329
|
ext: d,
|
|
330
|
-
name:
|
|
330
|
+
name: Re(u, !0),
|
|
331
331
|
absolutePath: u
|
|
332
332
|
};
|
|
333
333
|
} catch (e) {
|
|
@@ -593,7 +593,7 @@ var Vt, At = (e, t, s, r, i) => {
|
|
|
593
593
|
var Tt = null;
|
|
594
594
|
function Pt() {
|
|
595
595
|
if (!Tt) {
|
|
596
|
-
const e = import("./
|
|
596
|
+
const e = import("./BSNegq0YcivZJmkf.js").then(({ initializeFunctions: e }) => {
|
|
597
597
|
const t = e(() => null);
|
|
598
598
|
return Object.freeze(Array.from(t.keys()));
|
|
599
599
|
});
|
|
@@ -604,11 +604,11 @@ function Pt() {
|
|
|
604
604
|
return Tt;
|
|
605
605
|
}
|
|
606
606
|
function Ft(e) {
|
|
607
|
-
return
|
|
607
|
+
return ue.peek()?.readFormulaLiteral(e);
|
|
608
608
|
}
|
|
609
609
|
function Bt(e, t) {
|
|
610
610
|
const s = Wt(e), r = Wt(t);
|
|
611
|
-
return s !== r ? s - r : e === t ? 0 : "number" == typeof e && "number" == typeof t ? e < t ? -1 : 1 : "string" == typeof e && "string" == typeof t ? e < t ? -1 : e > t ? 1 : 0 : "boolean" == typeof e ? e ? 1 : -1 :
|
|
611
|
+
return s !== r ? s - r : e === t ? 0 : "number" == typeof e && "number" == typeof t ? e < t ? -1 : 1 : "string" == typeof e && "string" == typeof t ? e < t ? -1 : e > t ? 1 : 0 : "boolean" == typeof e ? e ? 1 : -1 : j.isError(e) && j.isError(t) ? e.getCode() - t.getCode() : 0;
|
|
612
612
|
}
|
|
613
613
|
function Wt(e) {
|
|
614
614
|
if (null === e) return 0;
|
|
@@ -616,12 +616,12 @@ function Wt(e) {
|
|
|
616
616
|
case "number": return 1;
|
|
617
617
|
case "string": return 2;
|
|
618
618
|
case "boolean": return 3;
|
|
619
|
-
default: return
|
|
619
|
+
default: return j.isError(e) ? 4 : 5;
|
|
620
620
|
}
|
|
621
621
|
}
|
|
622
622
|
(function(e) {
|
|
623
623
|
function t(e) {
|
|
624
|
-
return
|
|
624
|
+
return ue.peek()?.getFunctionDeclaration(e) ?? null;
|
|
625
625
|
}
|
|
626
626
|
e.get = t, e.has = function(e) {
|
|
627
627
|
return null !== t(e);
|
|
@@ -675,7 +675,7 @@ var Mt, jt = class {
|
|
|
675
675
|
const s = t[e].getSortedNumbers().getValues();
|
|
676
676
|
s.length > 0 && r.push(s);
|
|
677
677
|
}
|
|
678
|
-
e = new
|
|
678
|
+
e = new we(function(e) {
|
|
679
679
|
const t = e.length;
|
|
680
680
|
if (0 === t) return Dt;
|
|
681
681
|
if (1 === t) return e[0];
|
|
@@ -687,7 +687,7 @@ var Mt, jt = class {
|
|
|
687
687
|
return e;
|
|
688
688
|
}
|
|
689
689
|
getRanked(e) {
|
|
690
|
-
return
|
|
690
|
+
return Ue(this._children, e, Bt)[Symbol.iterator]();
|
|
691
691
|
}
|
|
692
692
|
getFrequencies(e) {
|
|
693
693
|
if (e) return this._mergeFrequencies(e);
|
|
@@ -695,7 +695,7 @@ var Mt, jt = class {
|
|
|
695
695
|
return t || (t = this._mergeFrequencies(), this._frequencies = t), t;
|
|
696
696
|
}
|
|
697
697
|
_mergeFrequencies(e) {
|
|
698
|
-
const t = e?.keyFn ??
|
|
698
|
+
const t = e?.keyFn ?? Y, s = e?.limit, r = /* @__PURE__ */ new Map(), i = this._children, o = i.length;
|
|
699
699
|
let n = 0, a = 0, l = !1;
|
|
700
700
|
for (let h = 0; h < o; h++) {
|
|
701
701
|
const o = i[h].getFrequencies(e);
|
|
@@ -710,22 +710,22 @@ var Mt, jt = class {
|
|
|
710
710
|
}) : l = !0, u = c.next();
|
|
711
711
|
}
|
|
712
712
|
}
|
|
713
|
-
return
|
|
713
|
+
return Ae.fromGroups(r, t, e, Bt, n, a, l);
|
|
714
714
|
}
|
|
715
715
|
getTypedCounts(e) {
|
|
716
716
|
let t = this._typedCounts;
|
|
717
717
|
if (!t) {
|
|
718
718
|
const e = {
|
|
719
|
-
[
|
|
720
|
-
[
|
|
721
|
-
[
|
|
722
|
-
[
|
|
723
|
-
[
|
|
724
|
-
[
|
|
719
|
+
[M.Number]: 0,
|
|
720
|
+
[M.String]: 0,
|
|
721
|
+
[M.Boolean]: 0,
|
|
722
|
+
[M.Error]: 0,
|
|
723
|
+
[M.RichData]: 0,
|
|
724
|
+
[M.Null]: 0
|
|
725
725
|
}, s = this._children, r = s.length;
|
|
726
726
|
for (let t = 0; t < r; t++) {
|
|
727
727
|
const r = s[t].getTypedCounts();
|
|
728
|
-
e[
|
|
728
|
+
e[M.Number] += r[M.Number] ?? 0, e[M.String] += r[M.String] ?? 0, e[M.Boolean] += r[M.Boolean] ?? 0, e[M.Error] += r[M.Error] ?? 0, e[M.RichData] += r[M.RichData] ?? 0, e[M.Null] += r[M.Null] ?? 0;
|
|
729
729
|
}
|
|
730
730
|
t = Object.freeze(e), this._typedCounts = t;
|
|
731
731
|
}
|
|
@@ -746,12 +746,12 @@ var Mt, jt = class {
|
|
|
746
746
|
sum: 0,
|
|
747
747
|
sumSq: 0,
|
|
748
748
|
typed: {
|
|
749
|
-
[
|
|
750
|
-
[
|
|
751
|
-
[
|
|
752
|
-
[
|
|
753
|
-
[
|
|
754
|
-
[
|
|
749
|
+
[M.Number]: 0,
|
|
750
|
+
[M.String]: 0,
|
|
751
|
+
[M.Boolean]: 0,
|
|
752
|
+
[M.Error]: 0,
|
|
753
|
+
[M.RichData]: 0,
|
|
754
|
+
[M.Null]: 0
|
|
755
755
|
}
|
|
756
756
|
};
|
|
757
757
|
for (let i = 0; i < s; i++) {
|
|
@@ -760,7 +760,7 @@ var Mt, jt = class {
|
|
|
760
760
|
const o = s.numericalCount;
|
|
761
761
|
o <= 0 || (r.numericalCount += o, r.sum += s.sum, r.sumSq += s.varP * o + s.sum * s.sum / o, (void 0 === r.min || s.min < r.min) && (r.min = s.min), (void 0 === r.max || s.max > r.max) && (r.max = s.max));
|
|
762
762
|
}
|
|
763
|
-
return
|
|
763
|
+
return We(r);
|
|
764
764
|
}
|
|
765
765
|
}, Dt = Object.freeze([]);
|
|
766
766
|
function zt(e, t) {
|
|
@@ -820,7 +820,7 @@ var Ht, $t = class e {
|
|
|
820
820
|
if (this._source) return;
|
|
821
821
|
const { ref: s, sheet: r, name: i } = this._sourceAsRead() ?? {};
|
|
822
822
|
let o = null, n = null;
|
|
823
|
-
if (s && r && !s.includes("#REF!") ? (o = e(r), n = `${
|
|
823
|
+
if (s && r && !s.includes("#REF!") ? (o = e(r), n = `${qe(r)}!${$e(s)}`) : !i || s || r ? i && r && !s && (o = e(r), n = `${qe(r)}!${i}`) : (o = t(i), n = `${i}[#All]`), !o || !n) return;
|
|
824
824
|
const a = {
|
|
825
825
|
formula: null,
|
|
826
826
|
wired: null,
|
|
@@ -874,17 +874,17 @@ var Ht, $t = class e {
|
|
|
874
874
|
if (null === t || t === e.wired) return null;
|
|
875
875
|
const s = this._sourceAsRead();
|
|
876
876
|
if (s?.name && s.sheet) {
|
|
877
|
-
const e =
|
|
877
|
+
const e = q(t)?.sheet;
|
|
878
878
|
return e ? { sheet: e } : null;
|
|
879
879
|
}
|
|
880
880
|
const r = /^(.+)\[#All\]$/.exec(t)?.[1];
|
|
881
881
|
if (r) return { name: r };
|
|
882
|
-
const i =
|
|
882
|
+
const i = q(t);
|
|
883
883
|
return i ? {
|
|
884
884
|
name: null,
|
|
885
|
-
ref:
|
|
885
|
+
ref: pe(i.reference),
|
|
886
886
|
sheet: i.sheet
|
|
887
|
-
} : { ref:
|
|
887
|
+
} : { ref: pe(t) };
|
|
888
888
|
}
|
|
889
889
|
_getSource() {
|
|
890
890
|
const e = this._sourceAsRead();
|
|
@@ -914,7 +914,7 @@ var Ht, $t = class e {
|
|
|
914
914
|
const i = this._getSource();
|
|
915
915
|
return i && (t.source = i), t;
|
|
916
916
|
}
|
|
917
|
-
},
|
|
917
|
+
}, Jt = class {
|
|
918
918
|
constructor(e, t) {
|
|
919
919
|
this._deleted = !1, this._json = { ...e }, this._deleteFromCollection = t ?? null;
|
|
920
920
|
}
|
|
@@ -948,7 +948,7 @@ var Ht, $t = class e {
|
|
|
948
948
|
get isIPerson() {
|
|
949
949
|
return !0;
|
|
950
950
|
}
|
|
951
|
-
},
|
|
951
|
+
}, Ut = class extends Ge {
|
|
952
952
|
constructor(e) {
|
|
953
953
|
super(), this._byId = /* @__PURE__ */ new Map(), this._byDisplayName = /* @__PURE__ */ new Map(), this._items = null, this._current = null, e && this.fromJSON(e);
|
|
954
954
|
}
|
|
@@ -969,7 +969,7 @@ var Ht, $t = class e {
|
|
|
969
969
|
const e = this._byDisplayName.get(r);
|
|
970
970
|
if (e) return e;
|
|
971
971
|
}
|
|
972
|
-
const i = new
|
|
972
|
+
const i = new Jt({
|
|
973
973
|
...t,
|
|
974
974
|
displayName: r,
|
|
975
975
|
id: s ?? c.uuidV4().toUpperCase()
|
|
@@ -1032,12 +1032,12 @@ var Ht, $t = class e {
|
|
|
1032
1032
|
}
|
|
1033
1033
|
}
|
|
1034
1034
|
async createModule(e) {
|
|
1035
|
-
const t = await (await import("./
|
|
1035
|
+
const t = await (await import("./BgUHR-HVjZDY4SaH.js")).ScriptCompiler.compile({
|
|
1036
1036
|
builtInNames: this._builtInNames(),
|
|
1037
1037
|
minify: !0,
|
|
1038
1038
|
...e
|
|
1039
1039
|
});
|
|
1040
|
-
return t.module ? await rt(
|
|
1040
|
+
return t.module ? await rt(me.DEFAULT_MODULE, t.module, e?.declarationsOnly ?? !1, t.diagnostics) : null;
|
|
1041
1041
|
}
|
|
1042
1042
|
addModule(e, t, s) {
|
|
1043
1043
|
this._modules.add(e, t, s);
|
|
@@ -1047,7 +1047,7 @@ var Ht, $t = class e {
|
|
|
1047
1047
|
return this.addModule(e, r, s), r;
|
|
1048
1048
|
}
|
|
1049
1049
|
async executeMacro(e, t, s) {
|
|
1050
|
-
await
|
|
1050
|
+
await fe.assertUsable("scripts");
|
|
1051
1051
|
const r = this._modules.getItems({ name: t }), i = r.length;
|
|
1052
1052
|
for (let t = 0; t < i; t++) {
|
|
1053
1053
|
const i = r[t].getFunctions().getByName(e);
|
|
@@ -1060,8 +1060,8 @@ var Ht, $t = class e {
|
|
|
1060
1060
|
}
|
|
1061
1061
|
async run(e, t) {
|
|
1062
1062
|
try {
|
|
1063
|
-
await
|
|
1064
|
-
const s = "string" == typeof e ? await this.createModule({ source: e }) : await rt(
|
|
1063
|
+
await fe.assertUsable("scripts");
|
|
1064
|
+
const s = "string" == typeof e ? await this.createModule({ source: e }) : await rt(me.DEFAULT_MODULE, e), r = "string" == typeof e ? e : e?.source ?? "";
|
|
1065
1065
|
return await this._runModule(s, r, t);
|
|
1066
1066
|
} catch (e) {
|
|
1067
1067
|
return {
|
|
@@ -1143,7 +1143,7 @@ var Ht, $t = class e {
|
|
|
1143
1143
|
}
|
|
1144
1144
|
if (!i || 0 === i.length) return c.EmptyArray;
|
|
1145
1145
|
const n = e?.text ? e.text.trim().toUpperCase() : null;
|
|
1146
|
-
return n ?
|
|
1146
|
+
return n ? Xe(i, n) : i.sort((e, t) => {
|
|
1147
1147
|
const s = e.getName().toUpperCase(), r = t.getName().toUpperCase();
|
|
1148
1148
|
return s < r ? -1 : s > r ? 1 : 0;
|
|
1149
1149
|
}), void 0 !== s && i.length > s ? i.slice(0, s) : i;
|
|
@@ -1188,7 +1188,7 @@ var Ht, $t = class e {
|
|
|
1188
1188
|
}
|
|
1189
1189
|
}
|
|
1190
1190
|
}
|
|
1191
|
-
const r = this, o = new
|
|
1191
|
+
const r = this, o = new ae({
|
|
1192
1192
|
transactions: this._options?.transactions,
|
|
1193
1193
|
initial: s,
|
|
1194
1194
|
isReadOnly: () => r.isReadOnly(),
|
|
@@ -1219,7 +1219,7 @@ var Ht, $t = class e {
|
|
|
1219
1219
|
}, Kt = /^([a-z][a-z0-9+.-]*):/i, Gt = (e) => {
|
|
1220
1220
|
const t = e.toLowerCase();
|
|
1221
1221
|
return t.endsWith(":") ? t : t + ":";
|
|
1222
|
-
},
|
|
1222
|
+
}, Xt = async (e, t) => {
|
|
1223
1223
|
try {
|
|
1224
1224
|
return await globalThis.fetch(e, t);
|
|
1225
1225
|
} catch (s) {
|
|
@@ -1238,12 +1238,12 @@ var Ht, $t = class e {
|
|
|
1238
1238
|
} finally {
|
|
1239
1239
|
clearTimeout(i), r.abort();
|
|
1240
1240
|
}
|
|
1241
|
-
})(e, t)) throw new
|
|
1241
|
+
})(e, t)) throw new j.Blocked("This site is restricted: it doesn't allow web apps to read its data, so the browser blocked the request for security.", { cause: s });
|
|
1242
1242
|
throw s;
|
|
1243
1243
|
}
|
|
1244
|
-
},
|
|
1244
|
+
}, Zt = class {
|
|
1245
1245
|
constructor() {
|
|
1246
|
-
this._handlers = /* @__PURE__ */ new Map([["http:",
|
|
1246
|
+
this._handlers = /* @__PURE__ */ new Map([["http:", Xt], ["https:", Xt]]);
|
|
1247
1247
|
}
|
|
1248
1248
|
fetch(e, t) {
|
|
1249
1249
|
const s = Kt.exec(e)?.[1], r = this._handlers.get(s ? Gt(s) : "https:");
|
|
@@ -1334,7 +1334,7 @@ var Ht, $t = class e {
|
|
|
1334
1334
|
body: r
|
|
1335
1335
|
};
|
|
1336
1336
|
if (s.ok && r && r.byteLength > 0) {
|
|
1337
|
-
const t = await new
|
|
1337
|
+
const t = await new J({ source: { buffer: r } }).getType();
|
|
1338
1338
|
t?.mime.startsWith("image/") ? (o.headers = i.filter(([e]) => "content-type" !== e.toLowerCase()), o.headers.push(["content-type", t.mime])) : this._cached.set(e, o);
|
|
1339
1339
|
}
|
|
1340
1340
|
return o;
|
|
@@ -1385,7 +1385,7 @@ var Ht, $t = class e {
|
|
|
1385
1385
|
let n = { value: void 0 !== t ? t : s ?? "" };
|
|
1386
1386
|
if ("string" == typeof n.value && 0 === n.value.length && (n.value = void 0), o && this.applyCSSStyle(n, o), "string" == typeof n.value && /^#+$/.test(n.value)) {
|
|
1387
1387
|
const e = n.style?.numberFormat;
|
|
1388
|
-
e && (L(e) || B(e)) && (n.value =
|
|
1388
|
+
e && (L(e) || B(e)) && (n.value = j.BuiltIn.Num);
|
|
1389
1389
|
}
|
|
1390
1390
|
if ("TD" === i?.tagName.toUpperCase()) {
|
|
1391
1391
|
let e = n.style, t = e?.font ?? {};
|
|
@@ -1558,9 +1558,9 @@ var Ht, $t = class e {
|
|
|
1558
1558
|
console.warn("Discovered text as html table but could could not parse.");
|
|
1559
1559
|
}
|
|
1560
1560
|
try {
|
|
1561
|
-
const r = new ts(this._runtime, this._topLeft, this._styles, s ? "HTML" : "Text"), i = await Promise.resolve(t ?
|
|
1561
|
+
const r = new ts(this._runtime, this._topLeft, this._styles, s ? "HTML" : "Text"), i = await Promise.resolve(t ? _e(t) : [[]]);
|
|
1562
1562
|
let o;
|
|
1563
|
-
if (
|
|
1563
|
+
if (re(s, i, r) ? (e = r.sheet(), o = e.getUsedRange()) : s = null, o) {
|
|
1564
1564
|
const t = o.getSnapshot();
|
|
1565
1565
|
return this._parsed = {
|
|
1566
1566
|
prepare: (e, s) => t.prepare?.(e, s),
|
|
@@ -1831,7 +1831,7 @@ var os = {
|
|
|
1831
1831
|
revision: !0,
|
|
1832
1832
|
password: null,
|
|
1833
1833
|
revisionsPassword: null
|
|
1834
|
-
}), ls = class extends
|
|
1834
|
+
}), ls = class extends U {
|
|
1835
1835
|
isWindowsAllowed() {
|
|
1836
1836
|
return this._isPropertyAllowed("windows");
|
|
1837
1837
|
}
|
|
@@ -2051,7 +2051,7 @@ function _s(e, t) {
|
|
|
2051
2051
|
function fs(e, t) {
|
|
2052
2052
|
return "chart" === t ? g("error.workbook.selectedIsChart", { sheetName: e }) : "macro" === t ? g("error.workbook.selectedIsMacro", { sheetName: e }) : "dialog" === t ? g("error.workbook.selectedIsDialog", { sheetName: e }) : g("error.workbook.noWorksheet");
|
|
2053
2053
|
}
|
|
2054
|
-
var ms = class extends
|
|
2054
|
+
var ms = class extends Ge {
|
|
2055
2055
|
constructor(e, t, s, r) {
|
|
2056
2056
|
super(), this._add = e, this._get = t, this._addListeners = s, this._getSelected = r;
|
|
2057
2057
|
}
|
|
@@ -2089,9 +2089,9 @@ function ys(e) {
|
|
|
2089
2089
|
}
|
|
2090
2090
|
function Ss(e, t) {
|
|
2091
2091
|
return {
|
|
2092
|
-
...
|
|
2092
|
+
...de,
|
|
2093
2093
|
getWorksheet: () => null,
|
|
2094
|
-
toString: () =>
|
|
2094
|
+
toString: () => Z(e, t)
|
|
2095
2095
|
};
|
|
2096
2096
|
}
|
|
2097
2097
|
function bs(e, t = !1) {
|
|
@@ -2114,7 +2114,7 @@ function bs(e, t = !1) {
|
|
|
2114
2114
|
}
|
|
2115
2115
|
return e;
|
|
2116
2116
|
}
|
|
2117
|
-
var ks, Cs = "workbook.activeSheet", vs = class e extends
|
|
2117
|
+
var ks, Cs = "workbook.activeSheet", vs = class e extends ie {
|
|
2118
2118
|
constructor(e, t, s, r) {
|
|
2119
2119
|
super(e, t, r), this._workbook = s;
|
|
2120
2120
|
}
|
|
@@ -2125,7 +2125,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends re {
|
|
|
2125
2125
|
let r = this._options;
|
|
2126
2126
|
return s && (r = {
|
|
2127
2127
|
...this._options,
|
|
2128
|
-
getOptions:
|
|
2128
|
+
getOptions: tt(this._options?.getOptions, s)
|
|
2129
2129
|
}), new e(t, this._internal, this._workbook, r);
|
|
2130
2130
|
}
|
|
2131
2131
|
_createRange(e, t) {
|
|
@@ -2134,15 +2134,15 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends re {
|
|
|
2134
2134
|
if (!i) {
|
|
2135
2135
|
const e = r._anchorWorksheet();
|
|
2136
2136
|
return delete s?.scope, Ss(s, s ? {
|
|
2137
|
-
scope:
|
|
2137
|
+
scope: Ie,
|
|
2138
2138
|
...e.getEntireRange().getCoords()
|
|
2139
2139
|
} : null);
|
|
2140
2140
|
}
|
|
2141
2141
|
let o = this._options;
|
|
2142
2142
|
return t && (o = {
|
|
2143
2143
|
...this._options,
|
|
2144
|
-
getOptions:
|
|
2145
|
-
}), new Is(e,
|
|
2144
|
+
getOptions: tt(this._options.getOptions, t)
|
|
2145
|
+
}), new Is(e, ce(i.sheet), this._workbook, o);
|
|
2146
2146
|
}
|
|
2147
2147
|
async select(e) {
|
|
2148
2148
|
const t = [];
|
|
@@ -2168,15 +2168,15 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends re {
|
|
|
2168
2168
|
}
|
|
2169
2169
|
getAddress(e) {
|
|
2170
2170
|
const t = this._internal.getSheet(), s = t.getEntireRange().getCoords();
|
|
2171
|
-
return
|
|
2171
|
+
return ee(this.getCoords(), {
|
|
2172
2172
|
...s,
|
|
2173
2173
|
scope: t.getName()
|
|
2174
|
-
},
|
|
2174
|
+
}, Z, He, e);
|
|
2175
2175
|
}
|
|
2176
2176
|
toString() {
|
|
2177
2177
|
return this.getAddress();
|
|
2178
2178
|
}
|
|
2179
|
-
}, Is = class e extends
|
|
2179
|
+
}, Is = class e extends Ze {
|
|
2180
2180
|
constructor(e, t, s, r) {
|
|
2181
2181
|
super(e, t, r), this._workbook = s;
|
|
2182
2182
|
}
|
|
@@ -2184,17 +2184,17 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends re {
|
|
|
2184
2184
|
let s = this._options;
|
|
2185
2185
|
return t && (s = {
|
|
2186
2186
|
...this._options,
|
|
2187
|
-
getOptions:
|
|
2187
|
+
getOptions: tt(this._options?.getOptions, t)
|
|
2188
2188
|
}), new vs(e, this._internal, this._workbook, s);
|
|
2189
2189
|
}
|
|
2190
2190
|
_createRange(t, s) {
|
|
2191
2191
|
const r = this._internal;
|
|
2192
|
-
if (!t) return
|
|
2193
|
-
if (r.validateCoords(t), r.getSheet().isClosed()) return
|
|
2192
|
+
if (!t) return Te(r.getSheet(), r.getSheet().getEntireCoords());
|
|
2193
|
+
if (r.validateCoords(t), r.getSheet().isClosed()) return Te(null, r.getSheet().getEntireCoords(), t);
|
|
2194
2194
|
let i = this._options;
|
|
2195
2195
|
return s && (i = {
|
|
2196
2196
|
...this._options,
|
|
2197
|
-
getOptions:
|
|
2197
|
+
getOptions: tt(this._options?.getOptions, s)
|
|
2198
2198
|
}), new e(t, this._internal, this._workbook, i);
|
|
2199
2199
|
}
|
|
2200
2200
|
addListener(e, t) {
|
|
@@ -2207,7 +2207,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends re {
|
|
|
2207
2207
|
}
|
|
2208
2208
|
getAddress(e) {
|
|
2209
2209
|
const t = this._internal.getSheet(), s = t?.getEntireRange().getCoords() ?? null;
|
|
2210
|
-
return
|
|
2210
|
+
return Z(this.getCoords(), {
|
|
2211
2211
|
...s,
|
|
2212
2212
|
scope: t.getName()
|
|
2213
2213
|
});
|
|
@@ -2217,11 +2217,11 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends re {
|
|
|
2217
2217
|
}
|
|
2218
2218
|
}, Rs = (e) => !!e && "object" == typeof e && "function" == typeof e.getOrigin, Ns = class {
|
|
2219
2219
|
constructor(t) {
|
|
2220
|
-
this._isLoadingSheets = !1, this._lastTransactionUUID = null, this._starting = null, this._closed = !1, this._listenerOriginProvider = null, this._listenerOrigin = null, this._lastOriginName = null, this._initializing = !0, this._pivotCaches = [], this._pivotTableCollection = new
|
|
2220
|
+
this._isLoadingSheets = !1, this._lastTransactionUUID = null, this._starting = null, this._closed = !1, this._listenerOriginProvider = null, this._listenerOrigin = null, this._lastOriginName = null, this._initializing = !0, this._pivotCaches = [], this._pivotTableCollection = new K(() => {
|
|
2221
2221
|
const e = [];
|
|
2222
2222
|
for (const t of this.getWorksheets().getItems({ visibility: H.Visibility.VeryHidden })) e.push(...t.getPivotTables());
|
|
2223
2223
|
return e;
|
|
2224
|
-
}, (e, t) => this.doBatch(e, t)), this._people = new
|
|
2224
|
+
}, (e, t) => this.doBatch(e, t)), this._people = new Ut(), this._commentCollection = new te(null, (e, t, s) => {
|
|
2225
2225
|
const r = [];
|
|
2226
2226
|
for (const i of this.getWorksheets().getItems({ visibility: H.Visibility.VeryHidden })) r.push(...i.getComments().getItems(e ? {
|
|
2227
2227
|
address: e,
|
|
@@ -2240,17 +2240,17 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends re {
|
|
|
2240
2240
|
const s = "string" == typeof t ? { origin: t } : { ...t }, r = s.origin;
|
|
2241
2241
|
this._ownOriginProvider = !Rs(r), this._originProvider = Rs(r) ? r : new ft("string" == typeof r ? new ut(null, { name: r }) : r ?? new ut(null)), delete s.origin, this._bindOrigin(this._originProvider.getOrigin()), this._listenerOriginProvider = this._originProvider.addListeners({ onOriginChange: () => this._onOriginChange() });
|
|
2242
2242
|
const i = s.json;
|
|
2243
|
-
delete s.json, this._transactions = s.transactions ?? new p(), this._id = this._transactions.create(), this._ownTransactions = !s.transactions, this._emitter = new y(this, this._transactions), this._runtime = s.runtime ?? new
|
|
2243
|
+
delete s.json, this._transactions = s.transactions ?? new p(), this._id = this._transactions.create(), this._ownTransactions = !s.transactions, this._emitter = new y(this, this._transactions), this._runtime = s.runtime ?? new Me("Workbook Runtime", {
|
|
2244
2244
|
isDate1904: () => this._isDate1904,
|
|
2245
2245
|
getNow: () => this._transactions.getCurrentCommit().getTimestamp(),
|
|
2246
|
-
getLocale: () => this._locale ??
|
|
2246
|
+
getLocale: () => this._locale ?? ze() ?? se(),
|
|
2247
2247
|
getLocaleOverrides: () => this._localeOverrides
|
|
2248
2248
|
}), this._listenerLanguage = o.addChangeListener(() => {
|
|
2249
2249
|
this._closed || this._notifyAllChange();
|
|
2250
2250
|
});
|
|
2251
2251
|
const n = this, a = this._beginCommit({ description: f(i ? "op.openWorkbook" : "op.newWorkbook") });
|
|
2252
2252
|
try {
|
|
2253
|
-
this._strings = s.strings ?? new
|
|
2253
|
+
this._strings = s.strings ?? new De(), this._ownStrings = !s.strings, this._richValues = s.richData ?? new Le(), this._resources = s.resources ?? new ve(), this._ownResources = !s.resources, this._fetch = new es(this._resources, s.fetcher ?? new Zt()), this._createSheetName = s.createSheetNameCallback ?? ys;
|
|
2254
2254
|
let t = s.createWorksheetCallback;
|
|
2255
2255
|
t || (t = (e) => new D(e)), this._sheetOnNameChange = /* @__PURE__ */ new Map(), this._sheetOnVisibilityChange = /* @__PURE__ */ new Map(), this._sheetOnIndexChange = /* @__PURE__ */ new Map(), this._createSheet = (e, s, r, i, o, a, l) => {
|
|
2256
2256
|
let h = null;
|
|
@@ -2314,16 +2314,16 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends re {
|
|
|
2314
2314
|
}
|
|
2315
2315
|
};
|
|
2316
2316
|
return a && (c.json = a), void 0 !== l && (c.uid = () => l), h = t(c, s, i, r), h;
|
|
2317
|
-
}, this._namedTableSource = new
|
|
2317
|
+
}, this._namedTableSource = new Fe({
|
|
2318
2318
|
getSheets: () => n._sheets ? n.getWorksheets().getItems({ visibility: H.Visibility.VeryHidden }) : c.EmptyArray,
|
|
2319
2319
|
addSheetsListener: (e, t) => n.addListeners({ onSheetsChange: e }, t)
|
|
2320
|
-
}), this._names = s.names ?? new
|
|
2320
|
+
}), this._names = s.names ?? new xe({
|
|
2321
2321
|
addressToRanges: (e) => n.getRanges(e),
|
|
2322
2322
|
getCurrentScope: () => n.getSelectedWorksheet()?.getName() ?? null,
|
|
2323
2323
|
isReadOnly: () => (n._options.readonly ?? !1) || n._isStructureProtected(),
|
|
2324
2324
|
transactions: n._transactions,
|
|
2325
2325
|
getSources: () => n._calculation ? [n._calculation.getNamedFormulas(), n._namedTableSource] : c.EmptyArray
|
|
2326
|
-
}), this._ownNames = !s.names, this._calculation = s.calculation ?? new
|
|
2326
|
+
}), this._ownNames = !s.names, this._calculation = s.calculation ?? new oe({
|
|
2327
2327
|
runtime: n._runtime,
|
|
2328
2328
|
functions: s.functions,
|
|
2329
2329
|
json: i?.calc,
|
|
@@ -2373,7 +2373,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends re {
|
|
|
2373
2373
|
},
|
|
2374
2374
|
fetch: (e, t) => n._fetch.fetch(e, t),
|
|
2375
2375
|
parseText: (t, s) => (async (t, s, r) => {
|
|
2376
|
-
const i = await import("./
|
|
2376
|
+
const i = await import("./D-LrOz3Yvp17bUT8.js").then((t) => e(t.default, 1)), o = (i.default ?? i).parse(s, {
|
|
2377
2377
|
delimiter: r?.delimiter ?? ",",
|
|
2378
2378
|
skipEmptyLines: !1
|
|
2379
2379
|
}).data;
|
|
@@ -2387,7 +2387,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends re {
|
|
|
2387
2387
|
const s = o[e], r = new Array(l);
|
|
2388
2388
|
for (let e = 0; e < l; e++) {
|
|
2389
2389
|
const i = s[e];
|
|
2390
|
-
r[e] = void 0 === i || "" === i ? null :
|
|
2390
|
+
r[e] = void 0 === i || "" === i ? null : Ne(t, i).value;
|
|
2391
2391
|
}
|
|
2392
2392
|
h[e] = r;
|
|
2393
2393
|
}
|
|
@@ -2445,7 +2445,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends re {
|
|
|
2445
2445
|
let e = this._getSheetRefs();
|
|
2446
2446
|
for (let t = (e ? e.length : 0) - 1; t >= 0; t--);
|
|
2447
2447
|
const t = this._options;
|
|
2448
|
-
this._isDate1904 = t.runtime?.isDate1904() ?? !1, this._locale = null, this._localeOverrides = null, this._theme = t.theme ?? new
|
|
2448
|
+
this._isDate1904 = t.runtime?.isDate1904() ?? !1, this._locale = null, this._localeOverrides = null, this._theme = t.theme ?? new Ke().getDefaultTheme(), this._styles = t?.styles ?? new Je(this._theme), this._ownStyles = !t.styles, this._styles.getTheme() || this._styles.setTheme(this.getTheme()), this._activeSheetOffset = 0, this.setView(new ns()), this._listenerProtection?.(), this._protection = new ls(void 0, this._options.readonly ?? !1), this._listenerProtection = this._protection.addListeners({ onChange: (e) => {
|
|
2449
2449
|
s._emitter.notify("onProtectionChange");
|
|
2450
2450
|
} });
|
|
2451
2451
|
const s = this;
|
|
@@ -2952,7 +2952,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends re {
|
|
|
2952
2952
|
find(e) {
|
|
2953
2953
|
if (this._closed) throw new Error(g("error.workbook.modelClosed"));
|
|
2954
2954
|
const t = this._getWorksheets();
|
|
2955
|
-
if (0 === t.length) return { next: () =>
|
|
2955
|
+
if (0 === t.length) return { next: () => Pe };
|
|
2956
2956
|
if (1 === t.length) return t[0].find(e);
|
|
2957
2957
|
"string" == typeof e && (e = { text: e });
|
|
2958
2958
|
const s = !e?.reverse;
|
|
@@ -2981,7 +2981,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends re {
|
|
|
2981
2981
|
}
|
|
2982
2982
|
if (!u && a && o === i && (c.done || !l || !c.done && _(c.value.getCoords(), l) >= 0) && (u = !0), u) {
|
|
2983
2983
|
const e = c;
|
|
2984
|
-
return c =
|
|
2984
|
+
return c = Pe, e;
|
|
2985
2985
|
}
|
|
2986
2986
|
const d = c;
|
|
2987
2987
|
return c = h.next(), d;
|
|
@@ -2996,7 +2996,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends re {
|
|
|
2996
2996
|
let r = 0, i = null;
|
|
2997
2997
|
const o = "function" == typeof t, n = s?.maxCount ?? Number.MAX_SAFE_INTEGER, a = !s?.maxCount;
|
|
2998
2998
|
let l = "";
|
|
2999
|
-
const h = "string" == typeof t ?
|
|
2999
|
+
const h = "string" == typeof t ? he(t) : null;
|
|
3000
3000
|
let c = s?.description ?? f("op.replace");
|
|
3001
3001
|
const u = this._transactions.beginCommit({ description: c });
|
|
3002
3002
|
try {
|
|
@@ -3080,19 +3080,19 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends re {
|
|
|
3080
3080
|
if (!r) {
|
|
3081
3081
|
const e = this._anchorWorksheet();
|
|
3082
3082
|
return e ? (delete s?.scope, Ss(s, s ? {
|
|
3083
|
-
scope:
|
|
3083
|
+
scope: Ie,
|
|
3084
3084
|
...e.getEntireRange().getCoords()
|
|
3085
3085
|
} : null)) : void console.warn(g("error.workbook.noVisibleRefs"));
|
|
3086
3086
|
}
|
|
3087
3087
|
const i = r.sheet;
|
|
3088
3088
|
let o = null;
|
|
3089
|
-
return t && (o = { getOptions: t }), new Is(e,
|
|
3089
|
+
return t && (o = { getOptions: t }), new Is(e, ce(i), this, o);
|
|
3090
3090
|
}
|
|
3091
3091
|
_createRanges(e, t) {
|
|
3092
3092
|
const s = this._anchorWorksheet();
|
|
3093
3093
|
if (!s) throw new _(fs("", H.Kind.Worksheet));
|
|
3094
3094
|
let r = null;
|
|
3095
|
-
return t && (r = { getOptions: t }), new vs(e,
|
|
3095
|
+
return t && (r = { getOptions: t }), new vs(e, ce(s), this, r);
|
|
3096
3096
|
}
|
|
3097
3097
|
getRange(e, t) {
|
|
3098
3098
|
if (void 0 === e) return this.getSelectedRange(t);
|
|
@@ -3103,7 +3103,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends re {
|
|
|
3103
3103
|
return this._createRange(s[0], t);
|
|
3104
3104
|
} catch (t) {
|
|
3105
3105
|
if (t instanceof a) throw new a(t.message);
|
|
3106
|
-
throw new _(t.message ??
|
|
3106
|
+
throw new _(t.message ?? Ee(e));
|
|
3107
3107
|
}
|
|
3108
3108
|
}
|
|
3109
3109
|
getCell(e) {
|
|
@@ -3114,30 +3114,30 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends re {
|
|
|
3114
3114
|
}
|
|
3115
3115
|
getRanges(e, t) {
|
|
3116
3116
|
const s = this._rangesAddressToCoords(e);
|
|
3117
|
-
if (0 === s.length) throw new _(
|
|
3117
|
+
if (0 === s.length) throw new _(Ee(e));
|
|
3118
3118
|
return this._createRanges(s, t);
|
|
3119
3119
|
}
|
|
3120
3120
|
_createGraphRanges(e, t) {
|
|
3121
3121
|
const s = [], r = this.getCalculation()?.getNamedFormulas() ?? null;
|
|
3122
3122
|
for (let e = 0; e < t.length; e++) {
|
|
3123
3123
|
const i = t[e], o = i.sheetName ? this._getSheetRef(i.sheetName, H.Visibility.VeryHidden) : null, n = o && xs(o) ? o.sheet : this._anchorWorksheet();
|
|
3124
|
-
n && s.push(new
|
|
3124
|
+
n && s.push(new ge(i, r, ce(n), null));
|
|
3125
3125
|
}
|
|
3126
3126
|
for (let t = 0; t < e.length; t++) s.push(e[t]);
|
|
3127
3127
|
const i = this._anchorWorksheet();
|
|
3128
|
-
return 0 !== s.length && i ? new vs(s,
|
|
3128
|
+
return 0 !== s.length && i ? new vs(s, ce(i), this, null) : null;
|
|
3129
3129
|
}
|
|
3130
3130
|
getAnomalies(e) {
|
|
3131
3131
|
if (this._closed) throw new Error(g("error.workbook.modelClosed"));
|
|
3132
|
-
const t =
|
|
3133
|
-
const t =
|
|
3132
|
+
const t = Be(e), s = this._getWorksheets(H.Visibility.VeryHidden).map((e) => {
|
|
3133
|
+
const t = ce(e);
|
|
3134
3134
|
return {
|
|
3135
3135
|
bounds: t.getSheet().getEntireCoords(),
|
|
3136
3136
|
internal: t,
|
|
3137
3137
|
qualified: !0
|
|
3138
3138
|
};
|
|
3139
3139
|
});
|
|
3140
|
-
return new
|
|
3140
|
+
return new ke(s, () => (this.getSelectedWorksheet() ?? this._getWorksheets(H.Visibility.VeryHidden)[0]).getEntireRange(), t);
|
|
3141
3141
|
}
|
|
3142
3142
|
getStats(e) {
|
|
3143
3143
|
if (this._closed) throw new Error(g("error.workbook.modelClosed"));
|
|
@@ -3180,11 +3180,11 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends re {
|
|
|
3180
3180
|
"r" === t ? r.rowStart = r.rowEnd = s.rowIndex : r.colStart = r.colEnd = s.colIndex, e = r;
|
|
3181
3181
|
}
|
|
3182
3182
|
}
|
|
3183
|
-
const n = this, a =
|
|
3183
|
+
const n = this, a = Ce(e, i, z, (e) => {
|
|
3184
3184
|
if (!t) return null;
|
|
3185
3185
|
if ("string" == typeof e) {
|
|
3186
|
-
const t =
|
|
3187
|
-
getTable: (e) =>
|
|
3186
|
+
const t = ye(e, {
|
|
3187
|
+
getTable: (e) => ne(n.getNames().getByName(e)),
|
|
3188
3188
|
getAnchor: () => r ? {
|
|
3189
3189
|
sheet: r,
|
|
3190
3190
|
coords: r.getSelectedCell().getCoords()
|
|
@@ -3315,7 +3315,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends re {
|
|
|
3315
3315
|
return this._calculation;
|
|
3316
3316
|
}
|
|
3317
3317
|
getFonts() {
|
|
3318
|
-
return
|
|
3318
|
+
return Q.getShared();
|
|
3319
3319
|
}
|
|
3320
3320
|
createFormula(e, t, s) {
|
|
3321
3321
|
return this.getCalculation().createFormula(e, t, s);
|
|
@@ -3403,7 +3403,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends re {
|
|
|
3403
3403
|
}
|
|
3404
3404
|
return null;
|
|
3405
3405
|
}, o = (e, t) => {
|
|
3406
|
-
const s = this._pivotSourceNamed(e, t)?.getValue(), i = "string" == typeof s ?
|
|
3406
|
+
const s = this._pivotSourceNamed(e, t)?.getValue(), i = "string" == typeof s ? q(s) : null;
|
|
3407
3407
|
return i && /^\$?[A-Za-z]+\$?\d+(?::\$?[A-Za-z]+\$?\d+)?$/.test(i.reference) ? r(i.sheet, i.reference.replaceAll("$", "")) : null;
|
|
3408
3408
|
};
|
|
3409
3409
|
for (let n = 0; n < e.length; n++) this._getState().pivotCacheData.has(e[n].cacheId) && (e[n]._hold(t, s), e[n]._watchSource(r, i, o));
|
|
@@ -3432,7 +3432,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends re {
|
|
|
3432
3432
|
name: e,
|
|
3433
3433
|
sheet: t.getName()
|
|
3434
3434
|
};
|
|
3435
|
-
const r =
|
|
3435
|
+
const r = q(e), i = r ? this._getSheetRef(r.sheet) : null;
|
|
3436
3436
|
if (r && (!i || !xs(i))) return null;
|
|
3437
3437
|
try {
|
|
3438
3438
|
s = r ? i.sheet.getRange(r.reference) : t.getRange(e);
|
|
@@ -3444,7 +3444,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends re {
|
|
|
3444
3444
|
if (!s || s.isInvalid()) return null;
|
|
3445
3445
|
const { rowStart: r, colStart: i, rowEnd: o, colEnd: n } = s.getCoords();
|
|
3446
3446
|
return {
|
|
3447
|
-
ref:
|
|
3447
|
+
ref: je({
|
|
3448
3448
|
rowStart: r,
|
|
3449
3449
|
colStart: i,
|
|
3450
3450
|
rowEnd: o,
|
|
@@ -3493,7 +3493,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends re {
|
|
|
3493
3493
|
async _refreshPivotCachesOnLoad() {
|
|
3494
3494
|
const e = this._pivotCaches.filter((e) => !!e._getData().model?.refreshOnLoad);
|
|
3495
3495
|
if (0 === e.length) return;
|
|
3496
|
-
const s = await
|
|
3496
|
+
const s = await st.load();
|
|
3497
3497
|
for (const r of e) {
|
|
3498
3498
|
if (this._closed) return;
|
|
3499
3499
|
try {
|
|
@@ -3549,7 +3549,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends re {
|
|
|
3549
3549
|
}
|
|
3550
3550
|
_fromJSON(e, t) {
|
|
3551
3551
|
if (this._emitter.notify("onBeforeLoad", { params: e }), this._initState(), !e.sheets || 0 === e.sheets.length) throw new _(g("error.workbook.sheetOne"));
|
|
3552
|
-
e.theme && (this._theme = new
|
|
3552
|
+
e.theme && (this._theme = new X(e.theme), this._styles.setTheme(this._theme));
|
|
3553
3553
|
const s = this._strings.beginPersist(), r = this._resources.beginPersist(), i = this._styles.beginPersist(), o = this._richValues.beginPersist();
|
|
3554
3554
|
try {
|
|
3555
3555
|
s.fromJSON(e.strings), r.fromJSON(e.resources), this._fetch.adopt(this._resources.getItems()), i.fromJSON(e.styles), o.fromJSON(e.richData, {
|
|
@@ -3618,7 +3618,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends re {
|
|
|
3618
3618
|
getBuiltInFunctions: () => t._calculation?.getFunctions(),
|
|
3619
3619
|
onAdd: (e, s) => {
|
|
3620
3620
|
const r = t._calculation;
|
|
3621
|
-
r.getStatus() !==
|
|
3621
|
+
r.getStatus() !== le.Status.Off && r.start().then(async () => {
|
|
3622
3622
|
if (t._startModules.has(s)) return;
|
|
3623
3623
|
const e = s.getFunctions().getItems({
|
|
3624
3624
|
type: "formula",
|
|
@@ -3641,7 +3641,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends re {
|
|
|
3641
3641
|
if (this._closed) throw new Error(g("error.workbook.modelClosed"));
|
|
3642
3642
|
await Promise.resolve(this._starting);
|
|
3643
3643
|
const t = this.getCalculation();
|
|
3644
|
-
t.getStatus() !==
|
|
3644
|
+
t.getStatus() !== le.Status.Off && (await t.ready(), await t._whenRequestsSettled?.()), await this._emitter.notify("onBeforeSave", { async: !0 });
|
|
3645
3645
|
const s = { sheets: [] }, r = e?.ignoreStyles ?? !1;
|
|
3646
3646
|
if (!r) {
|
|
3647
3647
|
const e = this._theme.toJSON();
|
|
@@ -3699,7 +3699,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends re {
|
|
|
3699
3699
|
if (b.length > 0) {
|
|
3700
3700
|
const e = l ? l.toResourceId.bind(l) : () => null, t = /* @__PURE__ */ new Set();
|
|
3701
3701
|
for (const e of this.getPivotTables()) t.add(e.getCacheId());
|
|
3702
|
-
const r =
|
|
3702
|
+
const r = G(this);
|
|
3703
3703
|
for (let e = 0; e < r.length; e++) {
|
|
3704
3704
|
const s = r[e].toJSON()?.pivot?.cacheId;
|
|
3705
3705
|
void 0 !== s && t.add(s);
|
|
@@ -4044,7 +4044,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends re {
|
|
|
4044
4044
|
}
|
|
4045
4045
|
if ("string" == typeof t) {
|
|
4046
4046
|
const e = i.getPath();
|
|
4047
|
-
i = new ut(
|
|
4047
|
+
i = new ut(Se(e) ? e : `${e}.${n.exts[0]}`, { format: n.key });
|
|
4048
4048
|
}
|
|
4049
4049
|
const h = i.getEncryption(), c = e.getOrigin?.(), u = (i instanceof ut ? i.getPassword() : null) ?? (c instanceof ut ? c.getPassword() : null), d = i.isEncrypted() || (c?.isEncrypted() ?? !1), f = void 0 !== r?.password ? r.password : u ?? (d ? void 0 : null);
|
|
4050
4050
|
let m = null;
|
|
@@ -4128,7 +4128,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends re {
|
|
|
4128
4128
|
return I;
|
|
4129
4129
|
}
|
|
4130
4130
|
_stripExtension(e) {
|
|
4131
|
-
const t =
|
|
4131
|
+
const t = Se(e);
|
|
4132
4132
|
return t ? e.slice(0, e.length - t.length - 1) : e;
|
|
4133
4133
|
}
|
|
4134
4134
|
_baseName(e) {
|
|
@@ -4140,7 +4140,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends re {
|
|
|
4140
4140
|
if (!t) throw new Error("A write format must be provided.");
|
|
4141
4141
|
const r = t.handler;
|
|
4142
4142
|
if (!r) throw new Error(`Unable to resolve a write handler for '${t.key}'.`);
|
|
4143
|
-
return
|
|
4143
|
+
return Oe(t.key) || await fe.assertUsable("exports", 0), r(e, {
|
|
4144
4144
|
...s,
|
|
4145
4145
|
format: t.key
|
|
4146
4146
|
});
|
|
@@ -4161,7 +4161,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends re {
|
|
|
4161
4161
|
reason: e?.message ?? String(e)
|
|
4162
4162
|
}), { cause: e });
|
|
4163
4163
|
}
|
|
4164
|
-
return await
|
|
4164
|
+
return await Ye(), i;
|
|
4165
4165
|
}
|
|
4166
4166
|
get isIWorkbookIO() {
|
|
4167
4167
|
return !0;
|
|
@@ -4248,7 +4248,7 @@ var ks, Cs = "workbook.activeSheet", vs = class e extends re {
|
|
|
4248
4248
|
]
|
|
4249
4249
|
}];
|
|
4250
4250
|
async function zs(e, t) {
|
|
4251
|
-
const { Chart: s } = await import("./
|
|
4251
|
+
const { Chart: s } = await import("./1bm0Yqgfehw1Z2QU.js");
|
|
4252
4252
|
return new s({
|
|
4253
4253
|
json: e,
|
|
4254
4254
|
getStyles: t?.getStyles
|
|
@@ -4260,7 +4260,7 @@ var Hs = {
|
|
|
4260
4260
|
showRowStripes: !1,
|
|
4261
4261
|
showColumnStripes: !1,
|
|
4262
4262
|
showLastColumn: !0
|
|
4263
|
-
}, $s = class extends
|
|
4263
|
+
}, $s = class extends Qe {
|
|
4264
4264
|
constructor(e, t, s, r) {
|
|
4265
4265
|
super(e, t?.getProperties() ?? { name: "" }, {
|
|
4266
4266
|
rowStart: 0,
|
|
@@ -4280,12 +4280,12 @@ var Hs = {
|
|
|
4280
4280
|
_bandOf(e, t, s) {
|
|
4281
4281
|
return "firstRowSubheading" === s ? `${e}` : "";
|
|
4282
4282
|
}
|
|
4283
|
-
},
|
|
4283
|
+
}, Js = (e, t, s, r = 5) => {
|
|
4284
4284
|
const i = Math.max(3, Math.floor(r)), o = new $s(e, t, s ?? Hs, i);
|
|
4285
4285
|
return {
|
|
4286
4286
|
rows: i,
|
|
4287
4287
|
columns: 5,
|
|
4288
|
-
getStyleAt: (t, s) =>
|
|
4288
|
+
getStyleAt: (t, s) => et(void 0, e, o, {
|
|
4289
4289
|
rowStart: t,
|
|
4290
4290
|
colStart: s,
|
|
4291
4291
|
rowEnd: t,
|
|
@@ -4294,27 +4294,27 @@ var Hs = {
|
|
|
4294
4294
|
};
|
|
4295
4295
|
};
|
|
4296
4296
|
ks || (ks = {});
|
|
4297
|
-
var
|
|
4298
|
-
function
|
|
4297
|
+
var Us, qs, Ks, Gs = null;
|
|
4298
|
+
function Xs() {
|
|
4299
4299
|
if (!Gs) {
|
|
4300
|
-
const e = import("./
|
|
4300
|
+
const e = import("./CkMXAUkUuJ2LJUBE.js").then((e) => e.loadScriptingDeclarations());
|
|
4301
4301
|
e.catch(() => {
|
|
4302
4302
|
Gs = null;
|
|
4303
4303
|
}), Gs = e;
|
|
4304
4304
|
}
|
|
4305
4305
|
return Gs;
|
|
4306
4306
|
}
|
|
4307
|
-
var
|
|
4307
|
+
var Zs = null;
|
|
4308
4308
|
function Qs() {
|
|
4309
|
-
if (!
|
|
4310
|
-
const e = import("./
|
|
4309
|
+
if (!Zs) {
|
|
4310
|
+
const e = import("./CkMXAUkUuJ2LJUBE.js").then((e) => e.loadScriptingApi()).then((e) => JSON.parse(e));
|
|
4311
4311
|
e.catch(() => {
|
|
4312
|
-
|
|
4313
|
-
}),
|
|
4312
|
+
Zs = null;
|
|
4313
|
+
}), Zs = e;
|
|
4314
4314
|
}
|
|
4315
|
-
return
|
|
4315
|
+
return Zs;
|
|
4316
4316
|
}
|
|
4317
|
-
|
|
4317
|
+
Us || (Us = {}), (qs || (qs = {})).Type = {
|
|
4318
4318
|
Button: "button",
|
|
4319
4319
|
CheckBox: "checkBox",
|
|
4320
4320
|
OptionButton: "optionButton",
|
|
@@ -4332,7 +4332,7 @@ Js || (Js = {}), (qs || (qs = {})).Type = {
|
|
|
4332
4332
|
ComboEdit: "comboEdit",
|
|
4333
4333
|
Simple: "simple"
|
|
4334
4334
|
};
|
|
4335
|
-
var Ys = class extends
|
|
4335
|
+
var Ys = class extends be {
|
|
4336
4336
|
constructor(e) {
|
|
4337
4337
|
super(e);
|
|
4338
4338
|
}
|
|
@@ -4345,8 +4345,8 @@ var Ys = class extends st {
|
|
|
4345
4345
|
colEnd: (e?.size?.width ?? 5) - 1,
|
|
4346
4346
|
rowEnd: (e?.size?.height ?? 5) - 1
|
|
4347
4347
|
},
|
|
4348
|
-
getRanges: (e) => new
|
|
4348
|
+
getRanges: (e) => new Ve(null)
|
|
4349
4349
|
}, super._initializeOptions(e);
|
|
4350
4350
|
}
|
|
4351
|
-
}, er = "0.8.0-beta.
|
|
4352
|
-
export { Vt as A, Fs as C, Pt as D, Ps as E,
|
|
4351
|
+
}, er = "0.8.0-beta.19", tr = "2026-11-08T21:23:21.329Z";
|
|
4352
|
+
export { Vt as A, Fs as C, Pt as D, Ps as E, Zt as F, Ut as I, tr as L, St as M, yt as N, Ds as O, Ks as P, ss as R, Mt as S, Us as T, Xs as _, ot as a, wt as b, ct as c, kt as d, Ht as f, Ts as g, ks as h, nt as i, bt as j, As as k, Qs as l, Lt as m, qs as n, Ys as o, at as p, rs as r, er as s, ut as t, ns as u, Bs as v, Ft as w, zs as x, Ns as y, Js as z };
|