@sheetxl/mcp 0.8.0-beta.19 → 0.8.0-beta.20
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/{BzkTa7l_e7R--ejo.js → -qQT-DFFz0CqGx5C.js} +392 -392
- package/assets/{DFlL4pAqxaQ_hVe1.js → 4Qlx8FuxoYbVTgNW.js} +30 -30
- package/assets/{CqOzqRIQFCnEegoB.js → 4Za9gEGCvms62R7k.js} +1 -1
- package/assets/{CjoRkjB9NzS4LaFy.js → 8FzS1bgbz4U1QE_m.js} +1 -1
- package/assets/{D6fQheA4qCS5CxYQ.js → 93ksqLKL1o40anfw.js} +1 -1
- package/assets/{Bk6SeqUJkn7ft1y1.js → B-7inN76S1zUWSAt.js} +1 -1
- package/assets/{CA_22AL82sRhLAko.js → B4ii9PGvnlYkSX2q.js} +2 -2
- package/assets/{EkavVNuGWG95UggH.js → B5UmlawoCVwHHM_e.js} +5 -5
- package/assets/{DngcuWO2cSuMCMu1.js → B5yaBbFj2Np9Eh8b.js} +1 -1
- package/assets/{DNtWf9lfGjzoB9Hy.js → B6J8XN1FRN00a_ps.js} +1 -1
- package/assets/{Bj1WHx6LIEq6RVGw.js → BBm3Xjnehvx2fYj8.js} +8 -8
- package/assets/{D4p9Pv82ECKCOlua.js → BEq2PSZQN7VV19RQ.js} +1 -1
- package/assets/{D-LrOz3Yvp17bUT8.js → BGQ1GrnQ-X16GU8k.js} +2 -2
- package/assets/{rT5f4v0Q_61nHkff.js → BGlx7_eRiv47Hu9C.js} +1 -1
- package/assets/{DLJH6ppG9VHjHe_z.js → BHiZ3GtGCWUWwHqY.js} +3 -3
- package/assets/{HVm22OJ1gEeY8kii.js → BItblzoSm0lN3bTV.js} +1 -1
- package/assets/{7MIo82Ay8jEFMBH-.js → BJYl-kvBtcnMVP8W.js} +1 -1
- package/assets/{BgVW1icycJewsx77.js → BKc7zTK6ZIhcD_Wu.js} +1 -1
- package/assets/{DXORLAVmseFlsxkG.js → BMH_wtFTiRj43c69.js} +2 -2
- package/assets/{BbvOmnXrmBNjeWjQ.js → BVdH9-49M3APSiPy.js} +1 -1
- package/assets/{iP-shs7tsDGMVvQh.js → BYYbglFmasE5PrS2.js} +1 -1
- package/assets/{Bgi6ubwGkGYsILci.js → Bg8EN9R3hbeNfFyU.js} +89 -89
- package/assets/{0hHP9xpWzhkDrCTL.js → BghxJxTwaebNVcIS.js} +1 -1
- package/assets/{ArL5bPq60ZcPcwU9.js → BieAybaOdneMdvBS.js} +1 -1
- package/assets/{BcYdUKmFOf5rn2VZ.js → BkhWR4P1Evw_VP5z.js} +1 -1
- package/assets/{CNPUPTd9h7hwijpZ.js → BmmIukrNOivfENgD.js} +66 -66
- package/assets/{BiOrM24CFYL1JGFE.js → Bndiqwoh132Upow1.js} +2 -2
- package/assets/{CE4VYOniMmY8sXQ_.js → Bp9zuG6P6r9GEb6G.js} +1 -1
- package/assets/{D1nQ_BminCM0cyH0.js → C0MAjW1vgsw6o0fx.js} +1 -1
- package/assets/{DrkfG324qZRPckuC.js → C3BZQ5NFwAU_ZdeQ.js} +1 -1
- package/assets/{Bbky1A_gIgE8i0Oy.js → C46dyA4YSP1-iTSN.js} +1 -1
- package/assets/{BPctZbHQFoqJNYzC.js → C7oUg84aGjYrJUc6.js} +2 -2
- package/assets/{DwWcXC4pUR3U2WXU.js → C9JUgNS6CrdgIcW3.js} +1 -1
- package/assets/{Cgf5GQVN-D8SlQ7A.js → C9aV1SF8uCWIB4zU.js} +15 -15
- package/assets/{CjrzyKFdie6KYfsG.js → C9eaFlFi_4GmymzP.js} +40 -40
- package/assets/{CoXgI3MEnvkXeshj.js → C9w-KoMwxvouC73F.js} +161 -161
- package/assets/{CkMXAUkUuJ2LJUBE.js → C9wXzrhl0dwqZgJ6.js} +1 -1
- package/assets/CCl8x9s8Bujsew7W.js +14 -0
- package/assets/{zEyWjY3NhC8w_spQ.js → CDmri0gcZxpVZfWn.js} +625 -624
- package/assets/{CiJq0zSDKpaKhL3y.js → CDvP9QyhDwdm3MZn.js} +2 -2
- package/assets/{jPim6WG_KS-ZDker.js → CLFe9HgUi_83dE3d.js} +1 -1
- package/assets/{CBSSZrizrucIG_9i.js → CTGfmocA1WgM0_e0.js} +556 -556
- package/assets/{Bz1lp0mtNAoPuPve.js → CUJiePMri5kkpdA7.js} +1 -1
- package/assets/{DSNaHPvgqymqpsko.js → CW2Ca6tsd0aLTz88.js} +1 -1
- package/assets/{Cj4MYfqHewu8IOOL.js → CaI562iJKKOoMw8p.js} +1 -1
- package/assets/{exNO4fmccU8Aq8cE.js → CaOEaghQqXiA1ZzO.js} +121 -121
- package/assets/{D06A3fKIe3WCTFru.js → CbTKUrroY9PQ6eTu.js} +3 -3
- package/assets/{Bl77DvFa09DuVVuj.js → CgIHqG1qp9n1Gwm7.js} +253 -253
- package/assets/{Gd_0grQd-3D1VPXW.js → Cheq-qaVWm7EaIlQ.js} +1 -1
- package/assets/{vb-L2Q2jyjjgDvJy.js → Cirpx81bWi4G2foA.js} +11 -11
- package/assets/{DxKZjKyewqvj46S2.js → Cm2WENwEZ0KMyF--.js} +2 -2
- package/assets/{Bpf9jHj5AFY9543y.js → CoOIn2wx6je_rMDO.js} +31 -31
- package/assets/{Bbxkz6vmyZJftTd-.js → Co_ZOyp4mKmSfh0A.js} +1 -1
- package/assets/{BSNegq0YcivZJmkf.js → CpLTCQemd_cJ4yFu.js} +14 -14
- package/assets/{D5OYqo56iGB-5gFG.js → CpfpXfCqzZumY4pf.js} +1 -1
- package/assets/{bJ-XKvDf7IkAafUI.js → CrRJqUPbvvhnp4p4.js} +1 -1
- package/assets/{CIOlYUuBZat8FhHa.js → CrULZhDt8uE-MR2s.js} +1 -1
- package/assets/{B7vRFm79CUJ1VvFw.js → CyOyY32LLW-Pj_L7.js} +1 -1
- package/assets/{Se9JmvmEtu4MfXJh.js → CyYbUk6pGr3NIBsy.js} +22 -22
- package/assets/{CIxf9Y_JsuEEO7Nu.js → D--emvI048MvLsXl.js} +1 -1
- package/assets/{LV6tvjnxRzrWaFb8.js → D4lMEKXi13vhDJbE.js} +1 -1
- package/assets/{DxTzG7VM8v4WJ6cI.js → DALP-GkmzCJdFIV9.js} +1 -1
- package/assets/{B6A2URH-mIs7J54h.js → DAVN6N3srI1WMHCN.js} +2 -2
- package/assets/{Cz7tKgNBbnr4DZCb.js → DBfBV-tvRxCLgdvs.js} +4 -4
- package/assets/{-iaCg5U9jrEDEl_O.js → DIntlX_ha_wRdxYj.js} +1 -1
- package/assets/{CqvcgwQ0UcKndrhO.js → DMDx0fX8tHKH0DdL.js} +2 -2
- package/assets/{b6GPrIkdzfTW4f2j.js → DMMw2v0iTuBnUjMI.js} +1 -1
- package/assets/{D1kI9nJRL1RUF3-E.js → DNwyEanz3LqtOorY.js} +1 -1
- package/assets/{BGLlbVFS6J3lt9Lw.js → DPUXpIzEs1t-jBiv.js} +1 -1
- package/assets/{GZJ4AFFt8qKRADOa.js → DSy6cpdU-KNWsbSj.js} +2 -2
- package/assets/{BkhdNc3LdmcyAjwk.js → DTXRsv2Ww7WbIwCb.js} +8838 -8773
- package/assets/{CcGrcjoI12MaDmwV.js → DV_nCOON8Fgq5RBt.js} +2 -2
- package/assets/{DS9HD6_BPxzdun0X.js → DYRis8fOyk2uIZ-1.js} +4 -4
- package/assets/{B8Z4-80QEORmYOJ9.js → DZ2Njh8YgfXcv7EM.js} +1 -1
- package/assets/{Bk6A5eONxLTBIA_p.js → Dc2LiflUYpt0nVVk.js} +4 -4
- package/assets/{CWHuM2GYuKmi0rZx.js → DcwqgbgqPyzQxSsQ.js} +1 -1
- package/assets/{2nx2Wljhbuct4aKx.js → DjH6ckvISyssOSit.js} +1 -1
- package/assets/{mrif6ZBbTbZKYaLJ.js → Dlbgs8csKymbxu7r.js} +1 -1
- package/assets/{DT_kCIZ600UsFy4t.js → DnDTldUjKy0O586y.js} +2 -2
- package/assets/{Bw2Nxye4Qj10uA3o.js → DndzARNYtmumqGnG.js} +1 -1
- package/assets/{Cur_-XiBPijLpwxX.js → Drmg3-gF0VJs4Yx3.js} +1 -1
- package/assets/{zkoJXSxpRzqfbG8k.js → DsSlUklPSAsh9DhW.js} +331 -331
- package/assets/{DwcKSqV5YEBBA8hY.js → DsWJ-YRyuwDUuSge.js} +1 -1
- package/assets/{CKvP54bJ4GkUqcZi.js → Dsjx528shW3GcGpD.js} +3 -3
- package/assets/{D1ZekPxeTGzhFy2L.js → Dv9ZDmKuxn2tQDGb.js} +1 -1
- package/assets/{Ln7XTzksutZHFpml.js → DvRH46hupHUjkc7a.js} +1 -1
- package/assets/{BHsQeg6najGesUM4.js → DwsoGIyPuoQij_vi.js} +1 -1
- package/assets/{Ds6LQkRDwXsJ-CFR.js → Dx_IFz5FEPKw-HC1.js} +1 -1
- package/assets/{C7Q4V5mU0wsErspO.js → DzLrAy24em5k5en0.js} +3 -3
- package/assets/{CQZq4cA5kbES6htE.js → I7LAF1nLmYqQwt9i.js} +1 -1
- package/assets/{DAnSdO8615XsOPNe.js → IDq3QQa5uRqjVJx_.js} +1 -1
- package/assets/{BfIJP4H3I51jnIVR.js → LugZP3XHNnoiiTJO.js} +1 -1
- package/assets/{BUHEmX1fseJVV65_.js → MpvZt7VpFWEINIT6.js} +1 -1
- package/assets/{DppU35gFSUPaiCQH.js → NiD8iNE47sjggYTx.js} +1 -1
- package/assets/{CubwsTFIaEVf039H.js → PMBjuoD2MpG87dao.js} +1 -1
- package/assets/{Di_C31GTbBJ_xVOK.js → TdK2ciXA5BAlGjbR.js} +1 -1
- package/assets/{D005GbIBowRGfwed.js → Ti7kMsQ-Eo3lkfIh.js} +6 -6
- package/assets/{C_v4hb9WXIt639Cm.js → Xkr_4WLwk0ZPaYH2.js} +1 -1
- package/assets/{DXe8SG12UJoGbbWR.js → YG5hEr6CzWNmNJQ2.js} +1 -1
- package/assets/{1bm0Yqgfehw1Z2QU.js → YGYD-116vlZfzPn1.js} +12 -12
- package/assets/{CQiv3YkDRDxTjy0r.js → Z1zwOeCe-JTLgkxf.js} +37 -37
- package/assets/{BQkQNqRh5xxYhBy4.js → _LMcVYWJksPfGVxz.js} +1 -1
- package/assets/{D990KjcBrCaAEz5k.js → eV0oowKJe44NBnWj.js} +1 -1
- package/assets/{DnMDfty7pU96BIEJ.js → eWHWPRWHX6YU8bJU.js} +1 -1
- package/assets/{CYTPpV3lqNGOwme7.js → hcXZqO-0tG873E-L.js} +2 -2
- package/assets/{C06iKc7jZ6affk2m.js → klKXcdZmbQmsK2rt.js} +1 -1
- package/assets/{DOg_zvSkhsKmw4q1.js → ltqqdJxoPnLCjhBV.js} +3 -3
- package/assets/{BgUHR-HVjZDY4SaH.js → mYZ9Z5AKCn7zltHw.js} +2 -2
- package/assets/{C17Wflhw5IFSgFFY.js → nV0eE4R3npcOHLbx.js} +1 -1
- package/assets/{udbHvSLquJ5xGK3R.js → ndBoGVVjmy3vkff8.js} +2 -2
- package/assets/{Bq6ocyztkvzKxMMC.js → noAnElnMhF05bfJN.js} +1 -1
- package/assets/{DtD0J-7IetHv5o6E.js → q57cDvIPcIvWlh5T.js} +3 -3
- package/assets/{D_6TeeMN5zmoQPTm.js → rtUwIBgECTX9UO_B.js} +4 -4
- package/assets/{BTnTQBSbzYU7cwra.js → swG-DVTsez1uNW8c.js} +1 -1
- package/assets/{ht0UxaAlRnuYUvpx.js → tCavNu-Tru6yRbec.js} +1 -1
- package/assets/{Curuj_knAdRpMy1L.js → u-pSumbU-rgT6eLF.js} +240 -240
- package/assets/{C53f6C0pAU7_9FI-.js → uMoGfJGab8mZX6eN.js} +1 -1
- package/assets/{CrjUfkCuRaXUC8X8.js → uoUKT9hTrwZ2INHN.js} +3 -3
- package/assets/{DIPDNtbm8FAru-FQ.js → wYvkLI8IeHaWTtAx.js} +120 -120
- package/assets/{DHL-ZmN5GzB4pIrM.js → yDh_W6M1rvuDhFv1.js} +1 -1
- package/index.js +91 -91
- package/lib.js +1 -1
- package/licenses/dependencies.txt +35 -35
- package/package.json +2 -2
- package/screenshot-page/assets/{Cx9lvo3Q1xOwYkRK.js → B9kA0vdaFJi9iRGo.js} +4 -4
- package/screenshot-page/assets/{DwNHMH9f_lQyn50d.js → BLPyKyNun9-SHQBZ.js} +1 -1
- package/screenshot-page/assets/BMKiUDjoabO4aG1U.js +1 -0
- package/screenshot-page/assets/{BU5vg917ZnXC04e-.js → BOjOE9CEMSzcij2W.js} +2 -2
- package/screenshot-page/assets/BQ5BNe1adYfpa2OH.js +1 -0
- package/screenshot-page/assets/{DeGMS3crYErjsRrw.js → BUO6zT3gqK0uOOa-.js} +1 -1
- package/screenshot-page/assets/{DjVxI3p3ssmCtYky.js → BWtLNVUXjY6EBdEt.js} +1 -1
- package/screenshot-page/assets/{Dt1A-DUBfvyouz_T.js → BZpFWPd0PR1kPT-A.js} +1 -1
- package/screenshot-page/assets/BaCs7lUeZ7NidSkP.js +1 -0
- package/screenshot-page/assets/Bf9AN5sYHaxae0vV.js +586 -0
- package/screenshot-page/assets/Bh2PQ0zsoGtMKWp1.js +39 -0
- package/screenshot-page/assets/BkhZQsVlVHOiKGTJ.js +1 -0
- package/screenshot-page/assets/{ClWDZixRy4DFZdI5.js → BnPHZ_1rjv6kQgsL.js} +1 -1
- package/screenshot-page/assets/{BX9VkTqZoroo08EG.js → Bzf_upccQ2ho6mX0.js} +6 -6
- package/screenshot-page/assets/{Chq6rvtA5qZAwYG4.js → C0AbuMHcIS9oy4XL.js} +1 -1
- package/screenshot-page/assets/{Cpwg3bWAqBBcgBmv.js → C4v6Ljs6kwQJu06t.js} +2 -2
- package/screenshot-page/assets/C7YRL2bVWHPIwzn_.js +1 -0
- package/screenshot-page/assets/CImp91jfSuqX0Wz-.js +1 -0
- package/screenshot-page/assets/{BWDqL5_mwspr6CjI.js → CXmrXx6MZ5ApF3co.js} +1 -1
- package/screenshot-page/assets/D8QsCbSaWCLAYYso.js +1 -0
- package/screenshot-page/assets/{Cb8ORg9ENgscK6yl.js → DC_Hdwa9KL7xKU8u.js} +2 -2
- package/screenshot-page/assets/DHtL9Iawmr2Uo5VV.js +2 -0
- package/screenshot-page/assets/{BF6igzahAW9pl35p.js → DKWRl8rs3K9jBYtr.js} +1 -1
- package/screenshot-page/assets/DNYWB6WNZTquqQ9v.js +4 -0
- package/screenshot-page/assets/{DwuLl9Ua1k8m9KcK.js → Dhh1xqujbhLa8WFd.js} +1 -1
- package/screenshot-page/assets/{CLcTX_nmvaVPsxDl.js → Dkr-6Z1RJsAp9Xrv.js} +1 -1
- package/screenshot-page/assets/DllI8kZZZ5LG0Mjd.js +2 -0
- package/screenshot-page/assets/{pH9rKZYDE8xrhkC4.js → DrcpGT9FLbDzeLeG.js} +2 -2
- package/screenshot-page/assets/FjOiReLnknWbsRRr.js +57 -0
- package/screenshot-page/assets/{MzJpKWgPrxR1UN-Y.js → H_hWDMWfWmjTui7V.js} +1 -1
- package/screenshot-page/assets/LCjlxIt1dn3smVjX.js +1 -0
- package/screenshot-page/assets/{CrUIo7hXByCWY7in.js → TwKKik-YQENv52LX.js} +1 -1
- package/screenshot-page/assets/XiUItCqTNNEApgfa.js +2 -0
- package/screenshot-page/assets/XrFpPrRqQNE9AAwH.js +1 -0
- package/screenshot-page/assets/mBuOPJeUPXlKwfPZ.js +48 -0
- package/screenshot-page/assets/zSnM7GhGzLu1MM_u.js +3 -0
- package/screenshot-page/index.html +5 -5
- package/types/scripting-api.json +9334 -9333
- package/types/scripting.d.ts +16 -3
- package/assets/gCkru9Vv-Ban4DCD.js +0 -14
- package/screenshot-page/assets/A_-Jwzwmm3lkcm2f.js +0 -586
- package/screenshot-page/assets/BdDouZl3VrM4yBP5.js +0 -2
- package/screenshot-page/assets/BqlVqRKpsFGl-elI.js +0 -57
- package/screenshot-page/assets/CJmdRzGWq0FZMrp5.js +0 -1
- package/screenshot-page/assets/CaTGa2NvuuE3qJAV.js +0 -1
- package/screenshot-page/assets/CmNlzN3DCl87wNU2.js +0 -1
- package/screenshot-page/assets/CoPUxkU9zZy0dXti.js +0 -2
- package/screenshot-page/assets/CqogMOf7MzkOk7as.js +0 -2
- package/screenshot-page/assets/D0nZlczIH0ULuSyL.js +0 -3
- package/screenshot-page/assets/D1ZZiOS7_HFjpZCA.js +0 -1
- package/screenshot-page/assets/D24UBy2L73pOCPPw.js +0 -1
- package/screenshot-page/assets/D6LmZnV2h3Kg7G3e.js +0 -1
- package/screenshot-page/assets/DAkSmFRVds51vhiy.js +0 -1
- package/screenshot-page/assets/DUFPgv-3CtD_sCVO.js +0 -1
- package/screenshot-page/assets/EY31tFQrw7iYFrr6.js +0 -4
- package/screenshot-page/assets/fQ13z3k3bntY-jfw.js +0 -1
- package/screenshot-page/assets/oO6aFwepb3DDkGYF.js +0 -39
- package/screenshot-page/assets/w7IQEh1FiqZA6o5y.js +0 -42
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v0.8.0-beta.20
|
|
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 { Q as t, h as e, ht as n, ot as o, xt as s } from "./
|
|
8
|
-
import { Dt as r, F as a, G as i, Kt as l, Tt as c, U as d, Vt as m, ht as p, k as f, lt as h, p as u, v as g } from "./
|
|
9
|
-
import { f as x, o as y, p as v, u as w } from "./
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import { n as $ } from "./
|
|
13
|
-
import { F as B, _t as O, gt as V, pt as W, vt as z, yt as j } from "./
|
|
14
|
-
import { $t as X, A as H, An as U, At as G, Ct as q, D as
|
|
15
|
-
import { i as ln, l as cn, n as dn, o as mn, s as pn, t as fn } from "./
|
|
7
|
+
import { Q as t, h as e, ht as n, ot as o, xt as s } from "./CyOyY32LLW-Pj_L7.js";
|
|
8
|
+
import { Dt as r, F as a, G as i, Kt as l, Tt as c, U as d, Vt as m, ht as p, k as f, lt as h, p as u, v as g } from "./C9aV1SF8uCWIB4zU.js";
|
|
9
|
+
import { f as x, o as y, p as v, u as w } from "./CrRJqUPbvvhnp4p4.js";
|
|
10
|
+
import { H as S, Jt as b, K as C, N as k, R as T, Si as I, T as R, _a as F, do as E, dr as M, ei as P, ii as A, mi as D, o as L } from "./DTXRsv2Ww7WbIwCb.js";
|
|
11
|
+
import { n as _, y as N } from "./DsSlUklPSAsh9DhW.js";
|
|
12
|
+
import { n as $ } from "./B5UmlawoCVwHHM_e.js";
|
|
13
|
+
import { F as B, _t as O, gt as V, pt as W, vt as z, yt as j } from "./Co_ZOyp4mKmSfh0A.js";
|
|
14
|
+
import { $t as X, A as H, An as U, At as G, Ct as q, D as J, Dn as K, Dr as Y, Dt as Z, En as Q, Et as et, F as nt, Ft as ot, G as st, Gn as rt, Gt as at, It as it, J as lt, Jn as ct, Jt as dt, Kn as mt, Kt as pt, L as ft, Lt as ht, M as ut, Mn as gt, Mt as xt, O as yt, Or as vt, Ot as wt, P as St, Pn as bt, Pt as Ct, Qn as kt, R as Tt, Rt as It, Sn as Rt, Sr as Ft, St as Et, Tn as Mt, Tr as Pt, Tt as At, U as Dt, Un as Lt, Ut as _t, Vt as Nt, W as $t, Wn as Bt, Xt as Vt, Yn as Wt, Yt as zt, Z as jt, Zt as Xt, _ as Ht, _r as Ut, ar as Gt, at as qt, b as Jt, bn as Kt, bt as Yt, c as Zt, cn as Qt, cr as te, ct as ee, d as ne, dn as oe, dr as se, dt as re, er as ae, et as ie, fr as ce, ft as de, gn as me, gr as pe, h as fe, hn as he, ht as ue, i as ge, ir as xe, it as ye, j as ve, jn as we, jr as Se, k as be, kn as Ce, kt as ke, l as Te, lr as Ie, lt as Re, n as Fe, nn as Ee, nt as Me, on as Pe, or as Ae, p as De, pn as Le, pr as _e, pt as Ne, qn as $e, r as Be, rn as Oe, rr as Ve, sn as We, st as ze, t as je, tn as Xe, tr as He, u as Ue, un as Ge, ur as qe, vn as Ke, vt as Ye, w as Ze, wn as Qe, wt as tn, y as en, yn as nn, yr as on, z as sn, zn as rn, zt as an } from "./CaOEaghQqXiA1ZzO.js";
|
|
15
|
+
import { i as ln, l as cn, n as dn, o as mn, s as pn, t as fn } from "./DYRis8fOyk2uIZ-1.js";
|
|
16
16
|
var hn = [
|
|
17
17
|
["%EntityServiceId", "i"],
|
|
18
18
|
["_DisplayString", "s"],
|
|
@@ -27,7 +27,7 @@ var hn = [
|
|
|
27
27
|
], xn = (t) => {
|
|
28
28
|
const e = t.getName(), n = e.lastIndexOf(":");
|
|
29
29
|
return n > 0 ? e.substring(0, n) : e;
|
|
30
|
-
}, yn = (t) => t instanceof
|
|
30
|
+
}, yn = (t) => t instanceof I && "#spb" === xn(t.getKind()), vn = (t) => "" + t, wn = (t, e) => {
|
|
31
31
|
const n = [];
|
|
32
32
|
return t?.cardView && n.push(["ShowInCardView", "0"]), t?.dotNotation && n.push(["ShowInDotNotation", "0"]), t?.autoComplete && n.push(["ShowInAutoComplete", "0"]), e && t?.calcCompare && n.push(["ExcludeFromCalcComparison", "1"]), n;
|
|
33
33
|
}, Sn = "resourcesById", bn = class {
|
|
@@ -604,7 +604,7 @@ var qn = class {
|
|
|
604
604
|
for (const e of t) n.set(e, o), o += e.byteLength;
|
|
605
605
|
return n;
|
|
606
606
|
}(o), i = this._options.onPartEmitted;
|
|
607
|
-
i && await i(t.kind, t.path, a),
|
|
607
|
+
i && await i(t.kind, t.path, a), Jn && (console.log(`\n=== ${t.path} ===`), console.log(function(t, e) {
|
|
608
608
|
return function(t, e = " ") {
|
|
609
609
|
let n = "", o = 0;
|
|
610
610
|
const s = t.split(/(<[^>]+>)/g).filter(Boolean);
|
|
@@ -631,7 +631,7 @@ var qn = class {
|
|
|
631
631
|
this._scheduledByNodeKey.delete(t.key), t.resolve();
|
|
632
632
|
}
|
|
633
633
|
}
|
|
634
|
-
},
|
|
634
|
+
}, Jn = !1, Kn = class {
|
|
635
635
|
constructor() {
|
|
636
636
|
this.map = /* @__PURE__ */ new Map();
|
|
637
637
|
}
|
|
@@ -902,10 +902,10 @@ function so(n, s, r, a, i) {
|
|
|
902
902
|
};
|
|
903
903
|
}({
|
|
904
904
|
cells: m,
|
|
905
|
-
cols: l.cols ?
|
|
906
|
-
rows: l.rows ?
|
|
905
|
+
cols: l.cols ? E.refsToRuns(l.cols, !0) : [],
|
|
906
|
+
rows: l.rows ? E.refsToRuns(l.rows, !1) : []
|
|
907
907
|
}, d, a), g = { ...n };
|
|
908
|
-
u.cols.length > 0 ? g.cols =
|
|
908
|
+
u.cols.length > 0 ? g.cols = E.runsToRefs(u.cols, !0) : delete g.cols;
|
|
909
909
|
const x = function(t, e, n) {
|
|
910
910
|
if (0 === e.length && 0 === n.length) return t;
|
|
911
911
|
const o = [], s = (t) => {
|
|
@@ -936,9 +936,9 @@ function so(n, s, r, a, i) {
|
|
|
936
936
|
}
|
|
937
937
|
return r;
|
|
938
938
|
}(u.rows, h.top, h.bottom);
|
|
939
|
-
x.length > 0 ? g.rows =
|
|
939
|
+
x.length > 0 ? g.rows = E.runsToRefs(x, !1) : delete g.rows;
|
|
940
940
|
const y = u.cells;
|
|
941
|
-
return y.length > 0 ? g.directStyles = y.map(([t, e]) => [
|
|
941
|
+
return y.length > 0 ? g.directStyles = y.map(([t, e]) => [E.rangeToString(t, d), e]) : delete g.directStyles, g;
|
|
942
942
|
}
|
|
943
943
|
function ro(t, e) {
|
|
944
944
|
if (!t || !e) return t === e;
|
|
@@ -1307,7 +1307,7 @@ var xo = [
|
|
|
1307
1307
|
o.push([a.name, "spb"]), r.push(yn(i) ? "" + e(i) : "");
|
|
1308
1308
|
break;
|
|
1309
1309
|
case "array":
|
|
1310
|
-
o.push([a.name, "spba"]), r.push(i instanceof
|
|
1310
|
+
o.push([a.name, "spba"]), r.push(i instanceof C ? "" + t.addBagArray(s(i)) : "");
|
|
1311
1311
|
break;
|
|
1312
1312
|
case "integer":
|
|
1313
1313
|
o.push([a.name, "i"]), r.push(null == i ? "0" : "" + i);
|
|
@@ -1323,9 +1323,9 @@ var xo = [
|
|
|
1323
1323
|
const n = e.getElements(), o = Math.max(1, ...n.map((t) => t.length));
|
|
1324
1324
|
return t.addArray(n.length, o, s(e));
|
|
1325
1325
|
}, a = (e, o) => {
|
|
1326
|
-
if (e instanceof
|
|
1327
|
-
if (e instanceof
|
|
1328
|
-
if (e instanceof
|
|
1326
|
+
if (e instanceof I) return l(e);
|
|
1327
|
+
if (e instanceof C) return t.addValue(t.structureFor("_array", [["array", "a"]]), ["" + r(e)]);
|
|
1328
|
+
if (e instanceof k) return t.addValue(t.structureFor("_hyperlink", [["Address", "s"], ["Text", "s"]]), [e.getAddress() ?? "", "" + (e.getFriendlyName() ?? e.getAddress() ?? "")]);
|
|
1329
1329
|
if ("number" == typeof e) {
|
|
1330
1330
|
const s = o ? [["_Self", "" + t.addRichStyle({ numberFormat: o })]] : [];
|
|
1331
1331
|
return t.addValue(t.structureFor("_formattednumber", [["_Format", "spb"]]), ["" + n(s, "i")], vn(e));
|
|
@@ -1386,7 +1386,7 @@ var xo = [
|
|
|
1386
1386
|
yn(u) ? (p.push([h, "spb"]), f.push("" + e(u))) : (p.push([h, "r"]), f.push(null == u ? "" : "" + a(u, d[h]?.numberFormat)));
|
|
1387
1387
|
break;
|
|
1388
1388
|
case "array":
|
|
1389
|
-
p.push([h, "a"]), f.push(u instanceof
|
|
1389
|
+
p.push([h, "a"]), f.push(u instanceof C ? "" + r(u) : "");
|
|
1390
1390
|
break;
|
|
1391
1391
|
case "string":
|
|
1392
1392
|
p.push([h, "s"]), f.push(null == u ? "" : "" + u);
|
|
@@ -1423,7 +1423,7 @@ var xo = [
|
|
|
1423
1423
|
}
|
|
1424
1424
|
return i(e);
|
|
1425
1425
|
};
|
|
1426
|
-
return { writeCell: (t) => t instanceof
|
|
1426
|
+
return { writeCell: (t) => t instanceof I && !yn(t) ? l(t) : t instanceof C ? a(t, void 0) : null };
|
|
1427
1427
|
})(this), this._metaCollector = t, this._workbook = e, this._onWarn = n;
|
|
1428
1428
|
}
|
|
1429
1429
|
add(t, e = null) {
|
|
@@ -1863,7 +1863,7 @@ function Xo(t, e, o, s, r = !1, i = !1) {
|
|
|
1863
1863
|
var Ho = (t, e, o, s) => {
|
|
1864
1864
|
if (!o) return e.start("ln"), e.empty("noFill"), void e.end("ln");
|
|
1865
1865
|
const r = "string" == typeof o ? { fill: o } : o, a = {};
|
|
1866
|
-
if (void 0 !== r.width && (a.w = String(ls(r.width))), void 0 !== r.lineCap && (a.cap = Uo(r.lineCap)), void 0 !== r.compound && (a.cmpd = r.compound), void 0 !== r.align && (a.algn = r.align), e.start("ln", a), void 0 !== r.fill && Xo(t, e, r.fill ??
|
|
1866
|
+
if (void 0 !== r.width && (a.w = String(ls(r.width))), void 0 !== r.lineCap && (a.cap = Uo(r.lineCap)), void 0 !== r.compound && (a.cmpd = r.compound), void 0 !== r.align && (a.algn = r.align), e.start("ln", a), void 0 !== r.fill && Xo(t, e, r.fill ?? Ko, s), Array.isArray(r.dash)) {
|
|
1867
1867
|
e.start("custDash");
|
|
1868
1868
|
for (let t = 0; t < r.dash.length; t += 2) e.empty("ds", {
|
|
1869
1869
|
d: String(n.roundAccurately(1e3 * r.dash[t], 0)),
|
|
@@ -1900,9 +1900,9 @@ var Ho = (t, e, o, s) => {
|
|
|
1900
1900
|
o && r.start(o), r.pushDefaultNamespace("a"), n.fill && Xo(t, r, n.fill, e), n.stroke && Ho(t, r, n.stroke, e), n.effects?.length ? qo(t, r, e.getTheme(), n.effects) : (s || n.effects) && r.empty("effectLst"), r.popDefaultNamespace(), o && r.end(o);
|
|
1901
1901
|
}, qo = (t, e, n, o) => {
|
|
1902
1902
|
e.start("effectLst");
|
|
1903
|
-
for (const t of o)
|
|
1903
|
+
for (const t of o) Jo(e, n, t);
|
|
1904
1904
|
e.end("effectLst");
|
|
1905
|
-
},
|
|
1905
|
+
}, Jo = (t, e, o) => {
|
|
1906
1906
|
switch (o.type) {
|
|
1907
1907
|
case c.Type.OuterShadow: {
|
|
1908
1908
|
const s = {};
|
|
@@ -1935,7 +1935,7 @@ var Ho = (t, e, o, s) => {
|
|
|
1935
1935
|
break;
|
|
1936
1936
|
}
|
|
1937
1937
|
}
|
|
1938
|
-
},
|
|
1938
|
+
}, Ko = { type: "none" }, Yo = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/image", Zo = "imagesWritten", Qo = /* @__PURE__ */ new WeakMap(), ts = async (t, e) => {
|
|
1939
1939
|
let n = Qo.get(t);
|
|
1940
1940
|
n || (n = /* @__PURE__ */ new Map(), Qo.set(t, n));
|
|
1941
1941
|
const o = n.get(e);
|
|
@@ -2411,8 +2411,8 @@ var Ps = 164, As = Object.freeze([
|
|
|
2411
2411
|
return `<e v="${ee(e)}"${r}/>`;
|
|
2412
2412
|
}
|
|
2413
2413
|
return `<m${r}/>`;
|
|
2414
|
-
}, Gs = "application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml", qs = "slicerPivotCacheIds",
|
|
2415
|
-
const n = t.search(/<(?:\w+:)?ext\s[^>]*uri="\{725AE2AE-9491-48be-B2B4-4EB974FC3084\}"/i), o = n >= 0 ?
|
|
2414
|
+
}, Gs = "application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml", qs = "slicerPivotCacheIds", Js = (t, e) => t.getSharedStates().get(qs)?.get(e) ?? null, Ks = /<\w+:pivotCacheDefinition\b[^>]*?\spivotCacheId="(\d+)"/, Ys = (t, e) => {
|
|
2415
|
+
const n = t.search(/<(?:\w+:)?ext\s[^>]*uri="\{725AE2AE-9491-48be-B2B4-4EB974FC3084\}"/i), o = n >= 0 ? Ks.exec(t.substring(n)) : null;
|
|
2416
2416
|
if (o) return {
|
|
2417
2417
|
xml: t,
|
|
2418
2418
|
id: o[1]
|
|
@@ -2463,7 +2463,7 @@ var Ps = 164, As = Object.freeze([
|
|
|
2463
2463
|
numFmtId: (t) => ((t, e) => (vs(t.styles, e, t.denormalized), parseInt(t.denormalized.numFmtMap.get(e) ?? "0", 10)))(n, t),
|
|
2464
2464
|
dxfId: (t) => o.add(t)
|
|
2465
2465
|
};
|
|
2466
|
-
}, tr = (t, e) => t.getSharedStates().get("pivotCachePaths")?.get(e) ?? null, er = "date1904", nr = (t) => !0 === t.getSharedStates().get(er), or = 0, sr =
|
|
2466
|
+
}, tr = (t, e) => t.getSharedStates().get("pivotCachePaths")?.get(e) ?? null, er = "date1904", nr = (t) => !0 === t.getSharedStates().get(er), or = 0, sr = F.BuiltInOperatorNames, rr = (t, e, n, o, s, r, a) => {
|
|
2467
2467
|
const i = o.sorts, l = i ? i.length : 0;
|
|
2468
2468
|
if (0 === l) return;
|
|
2469
2469
|
const c = {};
|
|
@@ -2472,7 +2472,7 @@ var Ps = 164, As = Object.freeze([
|
|
|
2472
2472
|
t && (c.caseSensitive = "object" != typeof t || Array.isArray(t) || "case" !== t.sensitivity && "variant" !== t.sensitivity ? "0" : "1");
|
|
2473
2473
|
}
|
|
2474
2474
|
const d = o.extent, m = n.getRange().getCoords(), p = (d ? an(m, d.range) : null) ?? r;
|
|
2475
|
-
c.ref =
|
|
2475
|
+
c.ref = E.rangeToString(p), c["xmlns:xlrd2"] = "http://schemas.microsoft.com/office/spreadsheetml/2017/richdata2", e.start("sortState", c);
|
|
2476
2476
|
for (let n = 0; n < l; n++) {
|
|
2477
2477
|
const o = i[n], s = o.criteria ?? {}, l = o.index + r.colStart, c = {};
|
|
2478
2478
|
s.reverse && (c.descending = "1");
|
|
@@ -2486,7 +2486,7 @@ var Ps = 164, As = Object.freeze([
|
|
|
2486
2486
|
colStart: l,
|
|
2487
2487
|
colEnd: l
|
|
2488
2488
|
});
|
|
2489
|
-
c.ref =
|
|
2489
|
+
c.ref = E.rangeToString(h);
|
|
2490
2490
|
const u = ue(s.sortOn);
|
|
2491
2491
|
u && (c.sortBy = u), void 0 !== s.style && (c.dxfId = hs(t.getSharedStates()).add(s.style)), void 0 !== s.iconSet && (c.iconSet = s.iconSet), void 0 !== s.customList && (c.customList = s.customList), e.empty("sortCondition", c);
|
|
2492
2492
|
}
|
|
@@ -2522,16 +2522,16 @@ var Ps = 164, As = Object.freeze([
|
|
|
2522
2522
|
const s = { operator: o.operator };
|
|
2523
2523
|
void 0 !== o.val && (s.val = o.val), e.empty("customFilter", s);
|
|
2524
2524
|
}, lr = /* @__PURE__ */ new Set([
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
|
|
2525
|
+
F.BuiltInSelectorNames.Display,
|
|
2526
|
+
F.BuiltInSelectorNames.Date,
|
|
2527
|
+
F.BuiltInSelectorNames.Time
|
|
2528
2528
|
]), cr = (t, e, n, o, s, r = null) => {
|
|
2529
2529
|
const a = {};
|
|
2530
2530
|
a.colId = "" + n, s && (a.hiddenButton = "1"), o ? (e.start("filterColumn", a), ((t, e, n, o = null) => {
|
|
2531
2531
|
const s = n.operator, r = "string" == typeof n.selector ? n.selector : n.selector?.getName?.();
|
|
2532
|
-
if (r && !lr.has(r) && t.warn(`A '${r}' selector has no OOXML form in a Table AutoFilter; the rule is written without it`, n), !0 === n.includeBlanks && s !==
|
|
2533
|
-
if (s ===
|
|
2534
|
-
if (s ===
|
|
2532
|
+
if (r && !lr.has(r) && t.warn(`A '${r}' selector has no OOXML form in a Table AutoFilter; the rule is written without it`, n), !0 === n.includeBlanks && s !== F.BuiltInOperatorNames.InSet && s !== sr.Blank && t.warn("Ignore Blank has no OOXML form in a Table AutoFilter outside a values list; Excel will hide the blank rows", n), s === F.BuiltInOperatorNames.Expression) return void t.warn("Expression conditions not supported in Table AutoFilters", n);
|
|
2533
|
+
if (s === F.BuiltInOperatorNames.Unique) return void t.warn("Unique conditions not supported in Table AutoFilters", n);
|
|
2534
|
+
if (s === F.BuiltInOperatorNames.Color) {
|
|
2535
2535
|
const o = n.param, s = {};
|
|
2536
2536
|
void 0 !== o.cellColor && (s.cellColor = o.cellColor ? "1" : "0"), void 0 !== o.style && (s.dxfId = hs(t.getSharedStates()).add(o.style)), e.empty("colorFilter", s);
|
|
2537
2537
|
}
|
|
@@ -2546,10 +2546,10 @@ var Ps = 164, As = Object.freeze([
|
|
|
2546
2546
|
});
|
|
2547
2547
|
e.end("customFilters");
|
|
2548
2548
|
} else if (s !== sr.Blank) {
|
|
2549
|
-
if (s ===
|
|
2549
|
+
if (s === F.BuiltInOperatorNames.InSet) {
|
|
2550
2550
|
const s = n.param ?? {};
|
|
2551
2551
|
let r = Array.isArray(s.items) ? s.items : [];
|
|
2552
|
-
n.selector !==
|
|
2552
|
+
n.selector !== F.BuiltInSelectorNames.Display && r.some((t) => "string" != typeof t) && (r = ((t, e, n, o) => {
|
|
2553
2553
|
const s = [], r = [];
|
|
2554
2554
|
for (let t = 0; t < n.length; t++) {
|
|
2555
2555
|
const e = n[t];
|
|
@@ -2577,7 +2577,7 @@ var Ps = 164, As = Object.freeze([
|
|
|
2577
2577
|
e.end("customFilters");
|
|
2578
2578
|
}
|
|
2579
2579
|
} else U(n) ? (e.start("customFilters"), ir(t, e, n), e.end("customFilters")) : s === sr.Not && t.warn("Not rule with non-comparison criteria not supported in OOXML", n.param);
|
|
2580
|
-
if (s ===
|
|
2580
|
+
if (s === F.BuiltInOperatorNames.TimePeriod) {
|
|
2581
2581
|
const o = n.param, s = o?.type;
|
|
2582
2582
|
if (s && Qe.has(s)) {
|
|
2583
2583
|
const n = o.anchorDate, r = "number" == typeof n && Number.isFinite(n) ? tn(s, Math.floor(n), nr(t)) : null;
|
|
@@ -2588,15 +2588,15 @@ var Ps = 164, As = Object.freeze([
|
|
|
2588
2588
|
} : { type: s });
|
|
2589
2589
|
} else t.warn(`TimePeriod '${s}' has no OOXML dynamicFilter type; not written`, n.param);
|
|
2590
2590
|
}
|
|
2591
|
-
if (s ===
|
|
2592
|
-
const o = n.param, s = o?.type ===
|
|
2591
|
+
if (s === F.BuiltInOperatorNames.Average) {
|
|
2592
|
+
const o = n.param, s = o?.type === F.AverageType.Below ? "belowAverage" : "aboveAverage";
|
|
2593
2593
|
o?.stdDevs && t.warn(`Average with stdDevs has no OOXML spelling; written as ${s}`, n.param), e.empty("dynamicFilter", { type: s });
|
|
2594
2594
|
}
|
|
2595
|
-
if (s ===
|
|
2595
|
+
if (s === F.BuiltInOperatorNames.Icon) {
|
|
2596
2596
|
const t = n.param, o = {};
|
|
2597
2597
|
void 0 !== t.iconSet && (o.iconSet = t.iconSet), void 0 !== t.iconId && (o.iconId = "" + t.iconId), e.empty("iconFilter", o);
|
|
2598
2598
|
}
|
|
2599
|
-
if (s ===
|
|
2599
|
+
if (s === F.BuiltInOperatorNames.TopN) {
|
|
2600
2600
|
const o = n.param;
|
|
2601
2601
|
if (o.sum) return void t.warn("Top N by sum has no OOXML form in a Table AutoFilter; it is not written", n);
|
|
2602
2602
|
const s = {};
|
|
@@ -2636,7 +2636,7 @@ var Ps = 164, As = Object.freeze([
|
|
|
2636
2636
|
rowIndex: t.rowStart,
|
|
2637
2637
|
colIndex: t.colStart + n
|
|
2638
2638
|
}, a = s.parse(o, r);
|
|
2639
|
-
return a &&
|
|
2639
|
+
return a && A.image(s.spell(a, !1, e.getName()), { at: r }) || o;
|
|
2640
2640
|
} catch {
|
|
2641
2641
|
return o;
|
|
2642
2642
|
}
|
|
@@ -2725,7 +2725,7 @@ function Dr(t, e, n, o, s, r) {
|
|
|
2725
2725
|
}(n)) || null;
|
|
2726
2726
|
}(e, d) : null));
|
|
2727
2727
|
let m = ve[n], p = At(a.type) === n ? a.type : m.relType, f = a.contentType ?? m.contentType;
|
|
2728
|
-
return "macro" !== n || r || (i = Ie(i), m =
|
|
2728
|
+
return "macro" !== n || r || (i = Ie(i), m = J, p = J.relType, f = J.contentType), t.addPart("embeddedPart", {
|
|
2729
2729
|
...a,
|
|
2730
2730
|
xml: i,
|
|
2731
2731
|
type: p,
|
|
@@ -2887,7 +2887,7 @@ var Lr = "externalLinkParts", _r = {
|
|
|
2887
2887
|
}, Gr = (t, e, n) => {
|
|
2888
2888
|
const o = /^<pivotField((?:\s+[^\s=/>]+\s*=\s*(?:"[^"]*"|'[^']*'))*)/.exec(t.rest ?? "")?.[1] ?? "", s = t.subtotals, r = (t) => t ? "1" : void 0, a = lt([
|
|
2889
2889
|
["name", t.name],
|
|
2890
|
-
["axis", t.axis ?
|
|
2890
|
+
["axis", t.axis ? Jt[t.axis] : void 0],
|
|
2891
2891
|
["dataField", r(t.dataField)],
|
|
2892
2892
|
...t.form ? Ur[t.form] : [],
|
|
2893
2893
|
["numFmtId", void 0 !== t.numberFormat ? n.numFmtId(t.numberFormat) : void 0],
|
|
@@ -2919,7 +2919,7 @@ function qr(t) {
|
|
|
2919
2919
|
for (let t = 0; t < n.length; t++) e += `\nReply:\n ${n[t].getContent()}`;
|
|
2920
2920
|
return e;
|
|
2921
2921
|
}
|
|
2922
|
-
function
|
|
2922
|
+
function Jr(t, e, n) {
|
|
2923
2923
|
if ("string" == typeof e) return void Zr(t, e);
|
|
2924
2924
|
const o = e.runs;
|
|
2925
2925
|
for (let e = 0; e < o.length; e++) {
|
|
@@ -2927,7 +2927,7 @@ function Kr(t, e, n) {
|
|
|
2927
2927
|
t.start("r"), s.font && Yr(t, s.font, n), Zr(t, s.text ?? ""), t.end("r");
|
|
2928
2928
|
}
|
|
2929
2929
|
}
|
|
2930
|
-
var
|
|
2930
|
+
var Kr = {
|
|
2931
2931
|
serif: 1,
|
|
2932
2932
|
"sans-serif": 2,
|
|
2933
2933
|
monospace: 3,
|
|
@@ -2953,7 +2953,7 @@ function Yr(t, e, n) {
|
|
|
2953
2953
|
l && t.empty("rFont", { val: l });
|
|
2954
2954
|
const d = e.fallbacks;
|
|
2955
2955
|
if (d) for (let e = 0; e < d.length; e++) {
|
|
2956
|
-
const n =
|
|
2956
|
+
const n = Kr[d[e]];
|
|
2957
2957
|
if (void 0 !== n) {
|
|
2958
2958
|
t.empty("family", { val: n });
|
|
2959
2959
|
break;
|
|
@@ -2969,7 +2969,7 @@ function Qr(t) {
|
|
|
2969
2969
|
if (e.isInvalid()) return null;
|
|
2970
2970
|
const n = e.getCoords()[0];
|
|
2971
2971
|
return n ? {
|
|
2972
|
-
ref:
|
|
2972
|
+
ref: E.cellToString({
|
|
2973
2973
|
rowIndex: n.rowStart,
|
|
2974
2974
|
colIndex: n.colStart
|
|
2975
2975
|
}),
|
|
@@ -3001,13 +3001,13 @@ function la(t, e, n, o) {
|
|
|
3001
3001
|
const r = [];
|
|
3002
3002
|
for (let o = e.rowStart; o <= e.rowEnd; o++) for (let a = e.colStart; a <= e.colEnd; a++) {
|
|
3003
3003
|
let i = n;
|
|
3004
|
-
o === e.rowStart && a === e.colStart || (s || (s = [],
|
|
3004
|
+
o === e.rowStart && a === e.colStart || (s || (s = [], E.normalizeA1ToR1C1(n, e.rowStart, e.colStart, s)), i = E.resolveRelativeToA1(s, o, a));
|
|
3005
3005
|
const l = ge(i, {
|
|
3006
3006
|
rowIndex: o,
|
|
3007
3007
|
colIndex: a
|
|
3008
3008
|
});
|
|
3009
3009
|
if (!l) return !1;
|
|
3010
|
-
const c = t.getRange(
|
|
3010
|
+
const c = t.getRange(E.cellToString({
|
|
3011
3011
|
rowIndex: o,
|
|
3012
3012
|
colIndex: a
|
|
3013
3013
|
})).getCell().getValue();
|
|
@@ -3131,10 +3131,10 @@ function ha(t) {
|
|
|
3131
3131
|
const o = t.split(" ");
|
|
3132
3132
|
for (let t = 0; t < o.length; t++) {
|
|
3133
3133
|
if (!o[t]) continue;
|
|
3134
|
-
const s =
|
|
3134
|
+
const s = E.fastStringToRange(o[t]);
|
|
3135
3135
|
s.rowStart < e && (e = s.rowStart), s.colStart < n && (n = s.colStart);
|
|
3136
3136
|
}
|
|
3137
|
-
return
|
|
3137
|
+
return E.cellToString({
|
|
3138
3138
|
rowIndex: e,
|
|
3139
3139
|
colIndex: n
|
|
3140
3140
|
});
|
|
@@ -3144,12 +3144,12 @@ function ua(t) {
|
|
|
3144
3144
|
if (Array.isArray(t)) {
|
|
3145
3145
|
const e = [];
|
|
3146
3146
|
for (let n = 0; n < t.length; n++) {
|
|
3147
|
-
const o =
|
|
3147
|
+
const o = E.rangeToString(t[n]);
|
|
3148
3148
|
o && e.push(o);
|
|
3149
3149
|
}
|
|
3150
3150
|
return e.length > 0 ? e.join(" ") : null;
|
|
3151
3151
|
}
|
|
3152
|
-
return
|
|
3152
|
+
return E.rangeToString(t);
|
|
3153
3153
|
}
|
|
3154
3154
|
function ga(t) {
|
|
3155
3155
|
if (void 0 !== t) return t ? "1" : "0";
|
|
@@ -3174,7 +3174,7 @@ function va(t) {
|
|
|
3174
3174
|
const o = t.split(" ");
|
|
3175
3175
|
for (let t = 0; t < o.length; t++) {
|
|
3176
3176
|
if (!o[t]) continue;
|
|
3177
|
-
const s =
|
|
3177
|
+
const s = E.fastStringToRange(o[t]);
|
|
3178
3178
|
s.rowStart < e && (e = s.rowStart), s.colStart < n && (n = s.colStart);
|
|
3179
3179
|
}
|
|
3180
3180
|
return e === Number.MAX_SAFE_INTEGER ? null : {
|
|
@@ -3186,7 +3186,7 @@ function wa(t, e, n) {
|
|
|
3186
3186
|
if ("string" != typeof t || !t || !e || !n) return t;
|
|
3187
3187
|
try {
|
|
3188
3188
|
const o = n.parse(t, e);
|
|
3189
|
-
return o &&
|
|
3189
|
+
return o && A.image(n.spell(o, !0), { at: e }) || t;
|
|
3190
3190
|
} catch {
|
|
3191
3191
|
return t;
|
|
3192
3192
|
}
|
|
@@ -3434,7 +3434,7 @@ var La = (t) => String(Math.round(1e3 * t)), _a = (t) => void 0 === t ? void 0 :
|
|
|
3434
3434
|
spcCol: void 0 === n.columnSpacing ? void 0 : String(cs(n.columnSpacing)),
|
|
3435
3435
|
rtlCol: _a(n.rightToLeftColumns),
|
|
3436
3436
|
fromWordArt: _a(n.fromWordArt),
|
|
3437
|
-
anchor:
|
|
3437
|
+
anchor: Kt.write(n.anchor),
|
|
3438
3438
|
anchorCtr: _a(n.anchorCenter),
|
|
3439
3439
|
forceAA: _a(n.forceAntiAlias),
|
|
3440
3440
|
upright: _a(n.upright),
|
|
@@ -3516,11 +3516,11 @@ function qa(t, e, n, o) {
|
|
|
3516
3516
|
});
|
|
3517
3517
|
t.end(o);
|
|
3518
3518
|
}
|
|
3519
|
-
var
|
|
3519
|
+
var Ja = [
|
|
3520
3520
|
["shape", "spDef"],
|
|
3521
3521
|
["line", "lnDef"],
|
|
3522
3522
|
["text", "txDef"]
|
|
3523
|
-
],
|
|
3523
|
+
], Ka = { checkbox: "Checkbox" }, Ya = [
|
|
3524
3524
|
["dc:title", "title"],
|
|
3525
3525
|
["dc:subject", "subject"],
|
|
3526
3526
|
["dc:creator", "author"],
|
|
@@ -3544,11 +3544,11 @@ var Ka = [
|
|
|
3544
3544
|
], Za = (t, e, n, o) => {
|
|
3545
3545
|
e.start(n), e.text(o), e.end(n);
|
|
3546
3546
|
}, Qa = {
|
|
3547
|
-
[
|
|
3548
|
-
[
|
|
3549
|
-
[
|
|
3550
|
-
[
|
|
3551
|
-
[
|
|
3547
|
+
[_.Type.String]: "vt:lpwstr",
|
|
3548
|
+
[_.Type.Number]: "vt:i4",
|
|
3549
|
+
[_.Type.Float]: "vt:r8",
|
|
3550
|
+
[_.Type.Boolean]: "vt:bool",
|
|
3551
|
+
[_.Type.Date]: "vt:filetime"
|
|
3552
3552
|
}, ti = (t) => t.split(".")[0] + "Z", ei = {
|
|
3553
3553
|
minSupportedVersion: "120000",
|
|
3554
3554
|
copy: "1",
|
|
@@ -3996,7 +3996,7 @@ var Hi = {
|
|
|
3996
3996
|
function Ui(t, e, n, o) {
|
|
3997
3997
|
if (null == o) return;
|
|
3998
3998
|
Hi.rowIndex = e, Hi.colIndex = n;
|
|
3999
|
-
const s =
|
|
3999
|
+
const s = E.cellToString(Hi);
|
|
4000
4000
|
let r, a;
|
|
4001
4001
|
switch (typeof o) {
|
|
4002
4002
|
case "number":
|
|
@@ -4060,7 +4060,7 @@ var Gi = [
|
|
|
4060
4060
|
...t.styles,
|
|
4061
4061
|
direct: a.list
|
|
4062
4062
|
}), n.setXfComplements(a.complements), s;
|
|
4063
|
-
}(s, t.getSheets({ visibility:
|
|
4063
|
+
}(s, t.getSheets({ visibility: L.Visibility.VeryHidden }), r, (t, n) => {
|
|
4064
4064
|
e.warn(t, void 0, n);
|
|
4065
4065
|
});
|
|
4066
4066
|
e.getSharedStates().set(pt, mt(s.names, function(t) {
|
|
@@ -4100,12 +4100,12 @@ var Gi = [
|
|
|
4100
4100
|
}(0, n, 0, s), function(t, e, n) {
|
|
4101
4101
|
e.start("bookViews");
|
|
4102
4102
|
const o = n.getView(), s = {}, r = o.getVisibility();
|
|
4103
|
-
r !==
|
|
4103
|
+
r !== N.Visibility.Visible && (s.visibility = r), o.isMinimized() && (s.minimized = "1"), o.isShowHorizontalScrollbar() || (s.showHorizontalScroll = "0"), o.isShowVerticalScrollbar() || (s.showVerticalScroll = "0"), o.isShowTabs() || (s.showSheetTabs = "0");
|
|
4104
4104
|
const a = o.getWindowBounds();
|
|
4105
4105
|
a && (s.xWindow = "" + Math.round(a.left), s.yWindow = "" + Math.round(a.top), s.windowWidth = "" + Math.round(a.width), s.windowHeight = "" + Math.round(a.height));
|
|
4106
4106
|
const i = o.getTabRatio();
|
|
4107
4107
|
600 !== i && (s.tabRatio = i);
|
|
4108
|
-
const l = Math.min(o.getFirstTab(), n.getSheets({ visibility:
|
|
4108
|
+
const l = Math.min(o.getFirstTab(), n.getSheets({ visibility: L.Visibility.VeryHidden }).length - 1);
|
|
4109
4109
|
l > 0 && (s.firstSheet = "" + l);
|
|
4110
4110
|
const c = n.getSelectedSheet().getIndex();
|
|
4111
4111
|
0 !== c && (s.activeTab = "" + c), o.isAutoFilterDateGrouping() || (s.autoFilterDateGrouping = "0"), e.empty("workbookView", s), e.end("bookViews");
|
|
@@ -4121,7 +4121,7 @@ var Gi = [
|
|
|
4121
4121
|
t.getSharedStates().set(qs, i);
|
|
4122
4122
|
const l = /* @__PURE__ */ new Set();
|
|
4123
4123
|
for (let t = 0; t < r; t++) {
|
|
4124
|
-
const n =
|
|
4124
|
+
const n = Ks.exec(e[t].part?.xml ?? e[t].rest ?? "");
|
|
4125
4125
|
n && l.add(n[1]);
|
|
4126
4126
|
}
|
|
4127
4127
|
let c = 1;
|
|
@@ -4161,7 +4161,7 @@ var Gi = [
|
|
|
4161
4161
|
}
|
|
4162
4162
|
return s;
|
|
4163
4163
|
})(e, s.pivotCaches, !0 === s.date1904, ((t) => {
|
|
4164
|
-
const e = /* @__PURE__ */ new Set(), n = t.getWorksheets().getItems({ visibility:
|
|
4164
|
+
const e = /* @__PURE__ */ new Set(), n = t.getWorksheets().getItems({ visibility: L.Visibility.VeryHidden });
|
|
4165
4165
|
for (let t = 0; t < n.length; t++) {
|
|
4166
4166
|
const o = Tr(n[t]);
|
|
4167
4167
|
for (let t = 0; t < o.length; t++) {
|
|
@@ -4187,7 +4187,7 @@ var Gi = [
|
|
|
4187
4187
|
cacheNames: []
|
|
4188
4188
|
};
|
|
4189
4189
|
try {
|
|
4190
|
-
const o = t.getSheets({ visibility:
|
|
4190
|
+
const o = t.getSheets({ visibility: L.Visibility.VeryHidden }), i = s.sheets, d = t.getSelectedSheet(), m = o.length, f = ((t, e) => {
|
|
4191
4191
|
const n = new Array(e), o = /* @__PURE__ */ new Set();
|
|
4192
4192
|
let s = 1;
|
|
4193
4193
|
for (let r = 0; r < e; r++) {
|
|
@@ -4255,7 +4255,7 @@ var Gi = [
|
|
|
4255
4255
|
pivot: [],
|
|
4256
4256
|
timeline: [],
|
|
4257
4257
|
cacheNames: []
|
|
4258
|
-
}, o = pr(t), s = e.getWorksheets().getItems({ visibility:
|
|
4258
|
+
}, o = pr(t), s = e.getWorksheets().getItems({ visibility: L.Visibility.VeryHidden });
|
|
4259
4259
|
for (let e = 0; e < s.length; e++) {
|
|
4260
4260
|
const r = Tr(s[e]);
|
|
4261
4261
|
for (let e = 0; e < r.length; e++) {
|
|
@@ -4327,7 +4327,7 @@ var Gi = [
|
|
|
4327
4327
|
}(e, n, s), function(t, e, n, o, s) {
|
|
4328
4328
|
const r = t.getSharedStates().get(pt), a = o.names, i = a ? a.length : 0, l = new Set((a ?? []).filter((t) => !t.scope).map((t) => t.name.toLowerCase())), c = s.filter((t) => !l.has(t.toLowerCase()));
|
|
4329
4329
|
if (0 === i && 0 === c.length) return;
|
|
4330
|
-
const d = /* @__PURE__ */ new Map(), m = n.getSheets({ visibility:
|
|
4330
|
+
const d = /* @__PURE__ */ new Map(), m = n.getSheets({ visibility: L.Visibility.VeryHidden });
|
|
4331
4331
|
for (let t = 0; t < m.length; t++) d.set(m[t].getName().toLowerCase(), t);
|
|
4332
4332
|
e.start("definedNames");
|
|
4333
4333
|
for (let n = 0; n < i; n++) {
|
|
@@ -4497,7 +4497,7 @@ var Gi = [
|
|
|
4497
4497
|
rowEnd: a.rowEnd
|
|
4498
4498
|
}).getAddress()}`), e.empty("dimension", { ref: f });
|
|
4499
4499
|
}(0, s, r, a), function(t, e, n, o, s) {
|
|
4500
|
-
const r = n.getView(), a = r.getTopLeft(), i = n.getRowHeaders().getMetrics().getIndex(a.top), l = n.getColumnHeaders().getMetrics().getIndex(a.left), c =
|
|
4500
|
+
const r = n.getView(), a = r.getTopLeft(), i = n.getRowHeaders().getMetrics().getIndex(a.top), l = n.getColumnHeaders().getMetrics().getIndex(a.left), c = E.cellToString({
|
|
4501
4501
|
colIndex: l,
|
|
4502
4502
|
rowIndex: i
|
|
4503
4503
|
});
|
|
@@ -4505,7 +4505,7 @@ var Gi = [
|
|
|
4505
4505
|
const d = {};
|
|
4506
4506
|
r.isShowFormulas() && (d.showFormulas = "1"), r.isShowColumnGridlines() || r.isShowRowGridlines() || (d.showGridLines = "0"), r.isShowColumnHeaders() || r.isShowRowHeaders() || (d.showRowColHeaders = "0"), r.isShowZeros() || (d.showZeros = "0"), r.isRightToLeft() && (d.rightToLeft = "1"), r.isShowOutlineSymbols() || (d.showOutlineSymbols = "0"), s && (d.tabSelected = "1"), "A1" !== c && (d.topLeftCell = c), r.isShowRuler() || (d.showRuler = "0"), r.isShowWhitespace() || (d.showWhiteSpace = "0");
|
|
4507
4507
|
const m = r.getViewMode();
|
|
4508
|
-
m !==
|
|
4508
|
+
m !== b.ViewMode.Normal && (d.view = m);
|
|
4509
4509
|
const p = r.getZoomScale();
|
|
4510
4510
|
100 !== p && (d.zoomScale = p);
|
|
4511
4511
|
const f = r.toJSON(), h = f?.zoomScales ?? {};
|
|
@@ -4526,17 +4526,17 @@ var Gi = [
|
|
|
4526
4526
|
d.colorId = "" + i;
|
|
4527
4527
|
}
|
|
4528
4528
|
d.workbookViewId = "0";
|
|
4529
|
-
const g = n.getSelection().getCoords(), x =
|
|
4529
|
+
const g = n.getSelection().getCoords(), x = E.cellToString(g.cell);
|
|
4530
4530
|
let y = {};
|
|
4531
|
-
const v = r.getFreezePanes(), w = v.coords ?? {}, S = w.colIndex ?? 0,
|
|
4532
|
-
if (S > 0 ||
|
|
4533
|
-
const t = v.topLeft ?? {}, o = t.top ?? 0, s = t.left ?? 0, r = n.getRowHeaders().getMetrics().getIndex(o), i = n.getColumnHeaders().getMetrics().getIndex(s), l = S - i, c =
|
|
4531
|
+
const v = r.getFreezePanes(), w = v.coords ?? {}, S = w.colIndex ?? 0, C = w.rowIndex ?? 0;
|
|
4532
|
+
if (S > 0 || C > 0) {
|
|
4533
|
+
const t = v.topLeft ?? {}, o = t.top ?? 0, s = t.left ?? 0, r = n.getRowHeaders().getMetrics().getIndex(o), i = n.getColumnHeaders().getMetrics().getIndex(s), l = S - i, c = C - r, m = Math.max(S, n.getColumnHeaders().getMetrics().getIndex(a.left + n.getColumnHeaders().getMetrics().getOffset(S) - s)), p = Math.max(C, n.getRowHeaders().getMetrics().getIndex(a.top + n.getRowHeaders().getMetrics().getOffset(C) - o)), f = E.cellToString({
|
|
4534
4534
|
colIndex: i,
|
|
4535
4535
|
rowIndex: r
|
|
4536
4536
|
});
|
|
4537
4537
|
"A1" !== f ? d.topLeftCell = f : delete d.topLeftCell, e.start("sheetView", d);
|
|
4538
4538
|
const h = {};
|
|
4539
|
-
l > 0 && (h.xSplit = l), c > 0 && (h.ySplit = c), h.topLeftCell =
|
|
4539
|
+
l > 0 && (h.xSplit = l), c > 0 && (h.ySplit = c), h.topLeftCell = E.cellToString({
|
|
4540
4540
|
colIndex: m,
|
|
4541
4541
|
rowIndex: p
|
|
4542
4542
|
}), h.state = "frozen";
|
|
@@ -4550,27 +4550,27 @@ var Gi = [
|
|
|
4550
4550
|
sqref: s?.sqref ?? r
|
|
4551
4551
|
});
|
|
4552
4552
|
};
|
|
4553
|
-
0 === S ? (h.activePane = "bottomLeft", e.empty("pane", h), g("topLeft",
|
|
4553
|
+
0 === S ? (h.activePane = "bottomLeft", e.empty("pane", h), g("topLeft", E.cellToString({
|
|
4554
4554
|
colIndex: m,
|
|
4555
4555
|
rowIndex: r
|
|
4556
|
-
}), !1), y.pane = "bottomLeft") : 0 ===
|
|
4556
|
+
}), !1), y.pane = "bottomLeft") : 0 === C ? (h.activePane = "topRight", e.empty("pane", h), g("topLeft", E.cellToString({
|
|
4557
4557
|
colIndex: i,
|
|
4558
4558
|
rowIndex: p
|
|
4559
|
-
}), !1), y.pane = "topRight") : (h.activePane = "bottomRight", e.empty("pane", h), g("topLeft", f, !1), g("topRight",
|
|
4559
|
+
}), !1), y.pane = "topRight") : (h.activePane = "bottomRight", e.empty("pane", h), g("topLeft", f, !1), g("topRight", E.cellToString({
|
|
4560
4560
|
colIndex: m,
|
|
4561
4561
|
rowIndex: r
|
|
4562
|
-
}), !0), g("bottomLeft",
|
|
4562
|
+
}), !0), g("bottomLeft", E.cellToString({
|
|
4563
4563
|
colIndex: i,
|
|
4564
4564
|
rowIndex: p
|
|
4565
4565
|
}), !0), y.pane = "bottomRight");
|
|
4566
4566
|
} else e.start("sheetView", d);
|
|
4567
4567
|
y.activeCell = x;
|
|
4568
|
-
const
|
|
4569
|
-
if (
|
|
4568
|
+
const k = g.ranges, T = k ? k.length : 0;
|
|
4569
|
+
if (T > 0) {
|
|
4570
4570
|
let t = "";
|
|
4571
|
-
for (let e = 0; e <
|
|
4572
|
-
const n =
|
|
4573
|
-
e > 0 && (t += " "), t +=
|
|
4571
|
+
for (let e = 0; e < T; e++) {
|
|
4572
|
+
const n = k[e];
|
|
4573
|
+
e > 0 && (t += " "), t += E.rangeToString(n);
|
|
4574
4574
|
}
|
|
4575
4575
|
y.sqref = t, (g.rangeIndex ?? 0) > 0 && (y.activeCellId = "" + g.rangeIndex);
|
|
4576
4576
|
} else "A1" === x ? y = null : y.sqref = x;
|
|
@@ -4586,7 +4586,7 @@ var Gi = [
|
|
|
4586
4586
|
thickBottom: s,
|
|
4587
4587
|
run: n
|
|
4588
4588
|
};
|
|
4589
|
-
}, s = t.defaultRowSize ?? e, r = t.rows ?
|
|
4589
|
+
}, s = t.defaultRowSize ?? e, r = t.rows ? E.refsToRuns(t.rows, !1) : null;
|
|
4590
4590
|
let a = null, i = 0;
|
|
4591
4591
|
const l = r ? r.length : 0;
|
|
4592
4592
|
for (let t = 0; t < l; t++) {
|
|
@@ -4597,7 +4597,7 @@ var Gi = [
|
|
|
4597
4597
|
})(a, .75 * r.getStyles().getNormal().getBestFit().height, r.getEntireRange().getRowEnd() + 1);
|
|
4598
4598
|
(function(t, e, n, o, s) {
|
|
4599
4599
|
const r = o.defaultColSize, a = o.defaultRowSize, i = {};
|
|
4600
|
-
void 0 !== o.baseColSize && (i.baseColWidth = o.baseColSize), void 0 !== r && (i.defaultColWidth = r), s ? (i.defaultRowHeight = s.height, s.custom && (i.customHeight = "1")) : (i.defaultRowHeight = a ?? .75 * n.getRowHeaders().getMetrics().getDefaultSize(), void 0 !== a && (i.customHeight = "1")), o.rows && null !== ra(
|
|
4600
|
+
void 0 !== o.baseColSize && (i.baseColWidth = o.baseColSize), void 0 !== r && (i.defaultColWidth = r), s ? (i.defaultRowHeight = s.height, s.custom && (i.customHeight = "1")) : (i.defaultRowHeight = a ?? .75 * n.getRowHeaders().getMetrics().getDefaultSize(), void 0 !== a && (i.customHeight = "1")), o.rows && null !== ra(E.refsToRuns(o.rows, !1)) && (i.zeroHeight = "1"), s?.thickTop && (i.thickTop = "1"), s?.thickBottom && (i.thickBottom = "1");
|
|
4601
4601
|
const l = n.getOutline(), c = l.getLevelCount(v.Axis.Row);
|
|
4602
4602
|
c > 0 && (i.outlineLevelRow = c);
|
|
4603
4603
|
const d = l.getLevelCount(v.Axis.Column);
|
|
@@ -4605,7 +4605,7 @@ var Gi = [
|
|
|
4605
4605
|
})(0, s, r, a, c);
|
|
4606
4606
|
const d = !1 === a.protection?.showFormulas ? e.getSharedStates().get("xfVariants") ?? null : null;
|
|
4607
4607
|
(function(t, e, n, o, s) {
|
|
4608
|
-
const r = o.cols ?
|
|
4608
|
+
const r = o.cols ? E.refsToRuns(o.cols, !0) : null, a = r ? r.length : 0;
|
|
4609
4609
|
n.getEntireRange().getColumnEnd();
|
|
4610
4610
|
const i = n.getColumnHeaders().getDefaultSizeNative(), l = s ? s.getXf(0, !0, !1) : 0;
|
|
4611
4611
|
let c = 1;
|
|
@@ -4641,7 +4641,7 @@ var Gi = [
|
|
|
4641
4641
|
for (const n of t.pivotTables ?? []) {
|
|
4642
4642
|
const t = n.buttons?.length ? te(n) : null;
|
|
4643
4643
|
if (t) for (const o of n.buttons) {
|
|
4644
|
-
const n =
|
|
4644
|
+
const n = E.fastStringToRange(o);
|
|
4645
4645
|
for (let o = n.rowStart; o <= n.rowEnd; o++) for (let s = n.colStart; s <= n.colEnd; s++) (e ??= /* @__PURE__ */ new Set()).add((t.rowStart + o) * Ia + t.colStart + s);
|
|
4646
4646
|
}
|
|
4647
4647
|
}
|
|
@@ -4653,7 +4653,7 @@ var Gi = [
|
|
|
4653
4653
|
o && (e ??= []).push({
|
|
4654
4654
|
table: n,
|
|
4655
4655
|
coords: o,
|
|
4656
|
-
formats: t?.header ?
|
|
4656
|
+
formats: t?.header ? P(t) : null
|
|
4657
4657
|
});
|
|
4658
4658
|
}
|
|
4659
4659
|
return e;
|
|
@@ -4661,7 +4661,7 @@ var Gi = [
|
|
|
4661
4661
|
let g = 0, y = 0;
|
|
4662
4662
|
const S = n.getUsedRange();
|
|
4663
4663
|
let b = 0;
|
|
4664
|
-
const
|
|
4664
|
+
const C = l?.run, T = s.rows ? E.refsToRuns(s.rows, !1) : null, I = s.defaultRowSize ?? .75 * n.getStyles().getNormal().getBestFit().height, F = T && C ? ((t, e, n, o) => {
|
|
4665
4665
|
const s = [];
|
|
4666
4666
|
let r = 0;
|
|
4667
4667
|
const a = (t, e) => {
|
|
@@ -4676,21 +4676,21 @@ var Gi = [
|
|
|
4676
4676
|
a(r, o.min - 1), r = o.max + 1, o.min === e.min && o.max === e.max || s.push(o);
|
|
4677
4677
|
}
|
|
4678
4678
|
return a(r, o - 1), s;
|
|
4679
|
-
})(T,
|
|
4680
|
-
if (S ||
|
|
4681
|
-
const c = .75, S = s.defaultRowSize ?? n.getRowHeaders().getMetrics().getDefaultSize() * c,
|
|
4679
|
+
})(T, C, I, n.getEntireRange().getRowEnd() + 1) : T, M = F ? F.length : 0, D = ra(F), L = null !== D ? D - 1 : F?.[M - 1]?.max ?? -1, _ = s.cols ? E.refsToRuns(s.cols, !0) : null, N = _ ? _.length : 0, $ = _?.[N - 1]?.max ?? -1;
|
|
4680
|
+
if (S || M > 0) {
|
|
4681
|
+
const c = .75, S = s.defaultRowSize ?? n.getRowHeaders().getMetrics().getDefaultSize() * c, C = n.getStyles().getNormal().getBestFit().height * c, T = sa(n.getOutline(), v.Axis.Row), I = (t, e) => {
|
|
4682
4682
|
const n = Ea;
|
|
4683
4683
|
if (n.r = "" + (t + 1), n.s = void 0, n.customFormat = void 0, n.hidden = void 0, n.ht = void 0, n.customHeight = void 0, n.outlineLevel = void 0, n.collapsed = void 0, n.thickTop = void 0, n.thickBot = void 0, !e) return n;
|
|
4684
4684
|
const o = e.value;
|
|
4685
4685
|
void 0 !== o.s && (n.s = "" + (a ? a.getXf(o.s, !0, !1) : o.s), n.customFormat = "1"), o.h && (n.hidden = "1");
|
|
4686
4686
|
const s = o.csz ?? !1, r = o.sz ?? S;
|
|
4687
|
-
return (r !== (l?.height ??
|
|
4687
|
+
return (r !== (l?.height ?? C) || s) && (n.ht = "" + r), s && (n.customHeight = "1"), o.l && (n.outlineLevel = "" + o.l), T.has(t) && (n.collapsed = "1"), o.tt && (n.thickTop = "1"), o.tb && (n.thickBot = "1"), n;
|
|
4688
4688
|
};
|
|
4689
|
-
let
|
|
4689
|
+
let M = 0, P = F?.[M] ?? null, N = P?.min ?? Number.MAX_SAFE_INTEGER, B = P?.max ?? Number.MAX_SAFE_INTEGER, O = P?.value?.s, V = -1, W = 0, z = _?.[W] ?? null, j = z?.min ?? Number.MAX_SAFE_INTEGER, X = z?.max ?? Number.MAX_SAFE_INTEGER, H = z?.value?.s;
|
|
4690
4690
|
const U = (t, n = !1) => {
|
|
4691
4691
|
if (V !== t) {
|
|
4692
4692
|
for (-1 !== V && (e.end("row"), 0 !== W && (W = 0, z = _?.[W] ?? null, j = z?.min ?? Number.MAX_SAFE_INTEGER, X = z?.max ?? Number.MAX_SAFE_INTEGER, H = z?.value?.s)); V + 1 <= t;) {
|
|
4693
|
-
V++, P && V > B && (P =
|
|
4693
|
+
V++, P && V > B && (P = F[++M] ?? null, P ? (N = P.min, B = P.max, O = P.value?.s) : (N = Number.MAX_SAFE_INTEGER, B = Number.MAX_SAFE_INTEGER, O = void 0)), V < N && V < t && null === D && (V = P ? Math.min(N, t) : t), null !== D && V >= D && V < t && (V = t);
|
|
4694
4694
|
const o = V < t || n && V === t, s = I(V, P && V >= N && V <= B ? P : null);
|
|
4695
4695
|
o ? e.empty("row", s) : e.start("row", s);
|
|
4696
4696
|
}
|
|
@@ -4711,8 +4711,8 @@ var Gi = [
|
|
|
4711
4711
|
}
|
|
4712
4712
|
return n;
|
|
4713
4713
|
})(t, n, s.directStyles));
|
|
4714
|
-
const q = s.formulas,
|
|
4715
|
-
if (
|
|
4714
|
+
const q = s.formulas, J = q ? q.length : 0, K = [];
|
|
4715
|
+
if (J > 0) {
|
|
4716
4716
|
const a = /* @__PURE__ */ new Map();
|
|
4717
4717
|
if (r.names.size > 0 && s.formulaArray) for (const t of s.formulaArray) try {
|
|
4718
4718
|
const e = n.getRange(t[0]).getCoords();
|
|
@@ -4739,24 +4739,24 @@ var Gi = [
|
|
|
4739
4739
|
}, f = /* @__PURE__ */ new Set();
|
|
4740
4740
|
for (let t = 0; t < i.length; t++) f.add(`${i[t].rowStart},${i[t].colStart}`);
|
|
4741
4741
|
const h = [];
|
|
4742
|
-
for (let s = 0; s <
|
|
4742
|
+
for (let s = 0; s < J; s++) {
|
|
4743
4743
|
const i = q[s];
|
|
4744
4744
|
try {
|
|
4745
4745
|
const t = i[0], e = n.getRange(t), m = e.getCoords();
|
|
4746
4746
|
let u = i[1];
|
|
4747
|
-
if (ia.test(u) && la(n, m, u,
|
|
4747
|
+
if (ia.test(u) && la(n, m, u, K)) continue;
|
|
4748
4748
|
let g = null;
|
|
4749
4749
|
const x = {
|
|
4750
4750
|
rowIndex: m.rowStart,
|
|
4751
4751
|
colIndex: m.colStart
|
|
4752
4752
|
}, y = c.parse(u, x), v = y ? c.annotate(y) : void 0, w = y ? c.spell(y, f.has(`${m.rowStart},${m.colStart}`), p(m.rowStart, m.colStart)) : null;
|
|
4753
|
-
let S = w ?
|
|
4753
|
+
let S = w ? A.imager(w, { entireCoords: d }) : null;
|
|
4754
4754
|
if (S) u = S(x);
|
|
4755
4755
|
else if (!o.isSingleCell(m)) {
|
|
4756
4756
|
const t = [];
|
|
4757
|
-
|
|
4757
|
+
E.normalizeA1ToR1C1(u, x.rowIndex, x.colIndex, t), S = (e) => {
|
|
4758
4758
|
const n = e ?? x;
|
|
4759
|
-
return
|
|
4759
|
+
return E.resolveRelativeToA1(t, n.rowIndex, n.colIndex);
|
|
4760
4760
|
};
|
|
4761
4761
|
}
|
|
4762
4762
|
let C = !0 === v?.cm;
|
|
@@ -4774,7 +4774,7 @@ var Gi = [
|
|
|
4774
4774
|
coords: o,
|
|
4775
4775
|
formula: n,
|
|
4776
4776
|
sharedId: null,
|
|
4777
|
-
ref:
|
|
4777
|
+
ref: E.rangeToString(o),
|
|
4778
4778
|
isDynamicRange: !1,
|
|
4779
4779
|
isWrapped: !0
|
|
4780
4780
|
}]);
|
|
@@ -4787,7 +4787,7 @@ var Gi = [
|
|
|
4787
4787
|
t(e, a, s), r = !0;
|
|
4788
4788
|
continue;
|
|
4789
4789
|
}
|
|
4790
|
-
const i = n.getRange(
|
|
4790
|
+
const i = n.getRange(E.rangeToString({
|
|
4791
4791
|
rowStart: e,
|
|
4792
4792
|
colStart: a,
|
|
4793
4793
|
rowEnd: e,
|
|
@@ -4854,7 +4854,7 @@ var Gi = [
|
|
|
4854
4854
|
G.push(t);
|
|
4855
4855
|
} else G.push([]);
|
|
4856
4856
|
const et = /* @__PURE__ */ new Map();
|
|
4857
|
-
G.push(
|
|
4857
|
+
G.push(K), G.push(u?.flatMap(({ coords: t, formats: e }) => e?.empty ? [[t, !0]] : []) ?? []);
|
|
4858
4858
|
const nt = t.getSharedStates().get(Er)?.lastEdited, ot = "3" === nt || "4" === nt ? oa : na;
|
|
4859
4859
|
n.getEntireRange().forEach((n, o) => {
|
|
4860
4860
|
const s = o.getCoords(), r = s.rowIndex, l = s.colIndex;
|
|
@@ -4866,14 +4866,14 @@ var Gi = [
|
|
|
4866
4866
|
}
|
|
4867
4867
|
const v = o.getType();
|
|
4868
4868
|
let S = null;
|
|
4869
|
-
|
|
4869
|
+
J > 0 && (S = o.getInjectedReference(1) ?? null);
|
|
4870
4870
|
let b = !1;
|
|
4871
4871
|
Z > 0 && (b = o.getInjectedReference(2) ?? !1);
|
|
4872
|
-
let
|
|
4873
|
-
tt > 0 && (
|
|
4874
|
-
const T = "error" ===
|
|
4875
|
-
|
|
4876
|
-
const
|
|
4872
|
+
let C = null;
|
|
4873
|
+
tt > 0 && (C = o.getInjectedReference(3) ?? null);
|
|
4874
|
+
const T = "error" === C?.kind, I = "fixed" === C?.kind, F = Fa;
|
|
4875
|
+
F.r = o.getAddress(), F.s = void 0, F.t = void 0, F.cm = void 0, F.vm = void 0;
|
|
4876
|
+
const E = null !== h && h.has(r * Ia + l), M = null !== u ? function(t, e, n) {
|
|
4877
4877
|
for (const { table: o, coords: s, formats: r } of t) {
|
|
4878
4878
|
if (e < s.rowStart || e > s.rowEnd || n < s.colStart || n > s.colEnd) continue;
|
|
4879
4879
|
const t = o.getStyleAt(e, n), a = t.getAlignment(), i = "left" === a.getHorizontal() ? a.getIndent() : null, l = t.getNumberFormat(), c = l && "General" !== l ? l : null, d = r?.formatAt(e - s.rowStart, n - s.colStart).user ?? null;
|
|
@@ -4885,8 +4885,8 @@ var Gi = [
|
|
|
4885
4885
|
}
|
|
4886
4886
|
return null;
|
|
4887
4887
|
}(u, r, l) : null;
|
|
4888
|
-
(a ||
|
|
4889
|
-
const P =
|
|
4888
|
+
(a || E || null !== M) && (c = f.getXf(c ?? 0, null !== a, E, M?.labelIndent ?? null, M?.numberFormat ?? null, M?.user ?? null)), void 0 !== c && 0 !== c && (F.s = "" + c);
|
|
4889
|
+
const P = K.length > 0 ? o.getInjectedReference(4) ?? null : null;
|
|
4890
4890
|
let A = null, D = null;
|
|
4891
4891
|
switch (v) {
|
|
4892
4892
|
case x.Boolean:
|
|
@@ -4894,7 +4894,7 @@ var Gi = [
|
|
|
4894
4894
|
break;
|
|
4895
4895
|
case x.Error:
|
|
4896
4896
|
const t = n.getCode();
|
|
4897
|
-
if (D = "e", t > 7) A = w.BuiltIn.Value.getLabel(),
|
|
4897
|
+
if (D = "e", t > 7) A = w.BuiltIn.Value.getLabel(), F.vm = "" + p.add(n);
|
|
4898
4898
|
else if (t < 1) {
|
|
4899
4899
|
let t;
|
|
4900
4900
|
D = "s", S ? (t = "=" + S.formula, S = null) : t = "" + n.getLabel(), A = "" + d.add(t), g++;
|
|
@@ -4907,7 +4907,7 @@ var Gi = [
|
|
|
4907
4907
|
A = n, S || P ? (D = "str", A = n) : (D = "s", A = "" + d.add(A), g++);
|
|
4908
4908
|
break;
|
|
4909
4909
|
case x.RichData:
|
|
4910
|
-
if (n instanceof
|
|
4910
|
+
if (n instanceof R) {
|
|
4911
4911
|
S || P ? (D = "str", A = n.getText()) : (D = "s", A = "" + d.add(function(t, e, n) {
|
|
4912
4912
|
const o = t.getRuns(), s = e.getCell().getRichText();
|
|
4913
4913
|
if (!s) return t.getText();
|
|
@@ -4925,21 +4925,21 @@ var Gi = [
|
|
|
4925
4925
|
}
|
|
4926
4926
|
const a = JSON.stringify(r);
|
|
4927
4927
|
let l = n.get(a);
|
|
4928
|
-
return void 0 === l && (l = new
|
|
4928
|
+
return void 0 === l && (l = new R(r), n.set(a, l)), l;
|
|
4929
4929
|
}(n, o, et)), g++);
|
|
4930
4930
|
break;
|
|
4931
4931
|
}
|
|
4932
|
-
if (n instanceof
|
|
4932
|
+
if (n instanceof k) {
|
|
4933
4933
|
const t = n.toPrimitive();
|
|
4934
4934
|
"number" == typeof t ? A = ot(t) : "boolean" == typeof t ? (D = "b", A = t ? "1" : "0") : S || P ? (D = "str", A = t) : (D = "s", A = "" + d.add(t), g++);
|
|
4935
4935
|
break;
|
|
4936
4936
|
}
|
|
4937
|
-
D = "e", A = w.BuiltIn.Value.getLabel(),
|
|
4937
|
+
D = "e", A = w.BuiltIn.Value.getLabel(), F.vm = "" + p.add(n, S?.formula ?? (P ? "" : null));
|
|
4938
4938
|
}
|
|
4939
|
-
D && (
|
|
4940
|
-
const L = !S?.isWrapped && (null !==
|
|
4939
|
+
D && (F.t = D);
|
|
4940
|
+
const L = !S?.isWrapped && (null !== C || (S?.isDynamicRange ?? !1));
|
|
4941
4941
|
if (null !== S || null !== A || null !== P) {
|
|
4942
|
-
if (L && null !== S && !I && (
|
|
4942
|
+
if (L && null !== S && !I && (F.cm = "" + m.registerArrayCell(T)), e.start("c", F), S) {
|
|
4943
4943
|
const t = r === S.coords.rowStart && l === S.coords.colStart;
|
|
4944
4944
|
let n = S.formula;
|
|
4945
4945
|
S.memberImage && !t && (n = S.memberImage({
|
|
@@ -4952,18 +4952,18 @@ var Gi = [
|
|
|
4952
4952
|
o = Pa;
|
|
4953
4953
|
const t = S.coords;
|
|
4954
4954
|
t.colStart === l && t.rowStart === r ? (o.ref = S.ref, o.si = a, s = S.formula) : (o.ref = void 0, o.si = a);
|
|
4955
|
-
} else L ? (o = Aa, o.aca = T ? "1" : void 0, o.ref = T ?
|
|
4955
|
+
} else L ? (o = Aa, o.aca = T ? "1" : void 0, o.ref = T ? F.r : C?.ref ?? F.r, s = n) : (o = Ma, s = n);
|
|
4956
4956
|
o.ca = b || T || S.isExcelVolatile ? "1" : void 0, s ? (e.start("f", o), e.text(s), e.end("f")) : e.empty("f", o);
|
|
4957
4957
|
} else P && e.empty("f", b ? {
|
|
4958
4958
|
...P,
|
|
4959
4959
|
ca: "1"
|
|
4960
4960
|
} : P);
|
|
4961
4961
|
null !== A && ("str" === D && A ? (e.start("v", Te.test(A) ? Fe : void 0), e.text(ie(A))) : (e.start("v"), A && e.text(A)), e.end("v")), e.end("c");
|
|
4962
|
-
} else y++ < aa ? e.empty("c",
|
|
4962
|
+
} else y++ < aa ? e.empty("c", F) : 1048577 === y && t.warn(`Reached ${aa} style-only cells at '${F.r}'; not writing the rest.`);
|
|
4963
4963
|
}, {
|
|
4964
4964
|
injectReferences: G,
|
|
4965
4965
|
features: []
|
|
4966
|
-
}), -1 !== V && V >=
|
|
4966
|
+
}), -1 !== V && V >= L ? e.end("row") : U(L, !0), e.end("sheetData"), e.setValidationDisabled(!1);
|
|
4967
4967
|
} else e.empty("sheetData");
|
|
4968
4968
|
if (g > 0) {
|
|
4969
4969
|
const t = c.get("stringsCount") ?? 0;
|
|
@@ -4976,7 +4976,7 @@ var Gi = [
|
|
|
4976
4976
|
for (let t = 0; t < n; t++) {
|
|
4977
4977
|
s[t] = null;
|
|
4978
4978
|
try {
|
|
4979
|
-
const n =
|
|
4979
|
+
const n = A.parse(e[t][1]);
|
|
4980
4980
|
if (!n) continue;
|
|
4981
4981
|
let r = null;
|
|
4982
4982
|
const a = (t) => {
|
|
@@ -5048,7 +5048,7 @@ var Gi = [
|
|
|
5048
5048
|
if (s > 0) {
|
|
5049
5049
|
e.start("mergeCells", { count: s });
|
|
5050
5050
|
for (let t = 0; t < s; t++) {
|
|
5051
|
-
const n = o.merges[t], s = "string" == typeof n ? n :
|
|
5051
|
+
const n = o.merges[t], s = "string" == typeof n ? n : E.rangeToString(n);
|
|
5052
5052
|
e.empty("mergeCell", { ref: s });
|
|
5053
5053
|
}
|
|
5054
5054
|
e.end("mergeCells");
|
|
@@ -5288,7 +5288,7 @@ var Gi = [
|
|
|
5288
5288
|
alt: l?.description
|
|
5289
5289
|
}));
|
|
5290
5290
|
}
|
|
5291
|
-
const a =
|
|
5291
|
+
const a = Ke(n, s, o);
|
|
5292
5292
|
return a ? a === n ? t : t ? {
|
|
5293
5293
|
...t,
|
|
5294
5294
|
xml: a
|
|
@@ -5328,7 +5328,7 @@ var Gi = [
|
|
|
5328
5328
|
u && (s.push(u), i > r && (r = i));
|
|
5329
5329
|
}
|
|
5330
5330
|
if (0 === s.length) return e;
|
|
5331
|
-
const i =
|
|
5331
|
+
const i = Ke(e?.xml ?? null, s, r, be);
|
|
5332
5332
|
return i ? e ? {
|
|
5333
5333
|
...e,
|
|
5334
5334
|
xml: i
|
|
@@ -5366,7 +5366,7 @@ var Gi = [
|
|
|
5366
5366
|
id: "",
|
|
5367
5367
|
type: _t,
|
|
5368
5368
|
name: "ctrlProp.xml",
|
|
5369
|
-
contentType:
|
|
5369
|
+
contentType: K,
|
|
5370
5370
|
xml: St(a.content.type, i)
|
|
5371
5371
|
};
|
|
5372
5372
|
l = t.addPart("embeddedPart", e, "../ctrlProps/ctrlProp{n}.xml").relId ?? void 0;
|
|
@@ -5629,7 +5629,7 @@ var Gi = [
|
|
|
5629
5629
|
const a = t.theme;
|
|
5630
5630
|
for (let t = 0; t < s; t++) {
|
|
5631
5631
|
const e = o[t];
|
|
5632
|
-
if (n.start("si"), e instanceof
|
|
5632
|
+
if (n.start("si"), e instanceof R) {
|
|
5633
5633
|
const t = e.getRuns();
|
|
5634
5634
|
for (let e = 0; e < t.length; e++) {
|
|
5635
5635
|
const o = t[e];
|
|
@@ -5679,10 +5679,10 @@ var Gi = [
|
|
|
5679
5679
|
}(t, e, "fmtScheme", o, o.getFormatScheme());
|
|
5680
5680
|
}(e, n, 0, o, s), n.end("themeElements"), function(t, e, n) {
|
|
5681
5681
|
const o = n.getObjectDefaults();
|
|
5682
|
-
if (!
|
|
5682
|
+
if (!Ja.some(([t]) => o[t])) return void e.empty("objectDefaults");
|
|
5683
5683
|
const s = { getTheme: () => n };
|
|
5684
5684
|
e.start("objectDefaults");
|
|
5685
|
-
for (const [r, a] of
|
|
5685
|
+
for (const [r, a] of Ja) {
|
|
5686
5686
|
const i = o[r];
|
|
5687
5687
|
if (!i) continue;
|
|
5688
5688
|
e.start(a), e.start("spPr"), Go(t, s, i), e.end("spPr"), Ga(t, s, i.text);
|
|
@@ -5819,7 +5819,7 @@ var Gi = [
|
|
|
5819
5819
|
e.end("numFmts");
|
|
5820
5820
|
}
|
|
5821
5821
|
})(0, o, i), function(t, e, n, o) {
|
|
5822
|
-
const s = o.fonts, r = s.length, a = n.getTheme(), i =
|
|
5822
|
+
const s = o.fonts, r = s.length, a = n.getTheme(), i = M.getShared(), l = $e(s.map((t) => ({
|
|
5823
5823
|
...t,
|
|
5824
5824
|
family: ne(t.family, t.fallbacks, a, !0).name
|
|
5825
5825
|
}))).every((t) => gt(i, t));
|
|
@@ -5993,7 +5993,7 @@ var Gi = [
|
|
|
5993
5993
|
let r = 0;
|
|
5994
5994
|
for (let t = 0; t < o.length; t++) {
|
|
5995
5995
|
const e = r++;
|
|
5996
|
-
n.empty("bag", { type:
|
|
5996
|
+
n.empty("bag", { type: Ka[o[t].type] ?? o[t].type });
|
|
5997
5997
|
const a = r++;
|
|
5998
5998
|
n.start("bag", { type: "XFControls" }), n.start("bagId", { k: "CellControl" }), n.text(String(e)), n.end("bagId"), n.end("bag"), s.push(r++), n.start("bag", { type: "XFComplement" }), n.start("bagId", { k: "XFControls" }), n.text(String(a)), n.end("bagId"), n.end("bag");
|
|
5999
5999
|
}
|
|
@@ -6047,7 +6047,7 @@ var Gi = [
|
|
|
6047
6047
|
});
|
|
6048
6048
|
}
|
|
6049
6049
|
async emit(t, e) {
|
|
6050
|
-
const n = e.getXMLWriter(), o = t.model, s = (await
|
|
6050
|
+
const n = e.getXMLWriter(), o = t.model, s = (await D.getDetails()).getBuildVersion(), r = Et(s), a = o.getProperties();
|
|
6051
6051
|
n.setValidationDisabled(!0), n.decl(), n.start("Properties", {
|
|
6052
6052
|
xmlns: "http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",
|
|
6053
6053
|
"xmlns:vt": "http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"
|
|
@@ -6075,13 +6075,13 @@ var Gi = [
|
|
|
6075
6075
|
chart: 2,
|
|
6076
6076
|
dialog: 3
|
|
6077
6077
|
};
|
|
6078
|
-
for (const t of n.getSheets({ visibility:
|
|
6078
|
+
for (const t of n.getSheets({ visibility: L.Visibility.Hidden })) o[s[t.getKind()] ?? 0].names.push(t.getName());
|
|
6079
6079
|
const r = n.getNames().getItems({ type: "formula" }).filter((t) => !!t.getRanges?.());
|
|
6080
6080
|
o.push({
|
|
6081
6081
|
heading: "Named Ranges",
|
|
6082
6082
|
names: r.map((t) => {
|
|
6083
6083
|
const e = t.getScope();
|
|
6084
|
-
return e ? `${
|
|
6084
|
+
return e ? `${E.sheetNameToString(e)}!${t.getName()}` : t.getName();
|
|
6085
6085
|
})
|
|
6086
6086
|
});
|
|
6087
6087
|
const a = o.filter((t, e) => 0 === e || t.names.length > 0);
|
|
@@ -6129,7 +6129,7 @@ var Gi = [
|
|
|
6129
6129
|
};
|
|
6130
6130
|
a && (i.linkTarget = a), n.start("property", i);
|
|
6131
6131
|
const l = Qa[s];
|
|
6132
|
-
n.start(l), n.text(s ===
|
|
6132
|
+
n.start(l), n.text(s === _.Type.Date ? ti(r) : String(r)), n.end(l), n.end("property");
|
|
6133
6133
|
}
|
|
6134
6134
|
n.end("Properties"), n.close();
|
|
6135
6135
|
}
|
|
@@ -6319,7 +6319,7 @@ var Gi = [
|
|
|
6319
6319
|
let n = s && !s.isClosed() ? s : null;
|
|
6320
6320
|
if (!n) {
|
|
6321
6321
|
const e = await t.workbook.fetch(o);
|
|
6322
|
-
e.ok && e.headers.get("content-type")?.startsWith("image/") && (n = new
|
|
6322
|
+
e.ok && e.headers.get("content-type")?.startsWith("image/") && (n = new S({ source: { buffer: await e.arrayBuffer() } }));
|
|
6323
6323
|
}
|
|
6324
6324
|
n && (a = (await ts(e, n)).relId);
|
|
6325
6325
|
} catch {}
|
|
@@ -6678,7 +6678,7 @@ var Gi = [
|
|
|
6678
6678
|
ref: e.ref,
|
|
6679
6679
|
authorId: e.authorId,
|
|
6680
6680
|
shapeId: 0
|
|
6681
|
-
}), n.start("text"),
|
|
6681
|
+
}), n.start("text"), Jr(n, e.content, l), n.end("text"), n.end("comment");
|
|
6682
6682
|
}
|
|
6683
6683
|
n.end("commentList"), n.end("comments"), n.close();
|
|
6684
6684
|
}
|
|
@@ -6863,7 +6863,7 @@ var Gi = [
|
|
|
6863
6863
|
"xr10:uid": Pt(n.uuidV4),
|
|
6864
6864
|
sourceName: e.sourceName
|
|
6865
6865
|
}), Ir(o, s, t), e.tabular && ((t, e, n, o) => {
|
|
6866
|
-
const s = n._getPivotItems?.(), r = s ?
|
|
6866
|
+
const s = n._getPivotItems?.(), r = s ? Js(t, s.cacheId) : null;
|
|
6867
6867
|
if (!s || null === r) return void t.log(`The slicer '${n.getName?.() ?? ""}' indexes a pivot cache that was not written; Excel repairs it.`);
|
|
6868
6868
|
const a = n.toJSON(), i = n.getSortOrder(), l = n.getCrossFilter();
|
|
6869
6869
|
e.start("data"), e.start("tabular", {
|
|
@@ -6934,7 +6934,7 @@ var Gi = [
|
|
|
6934
6934
|
"xr10:uid": Pt(n.uuidV4),
|
|
6935
6935
|
sourceName: o.sourceName
|
|
6936
6936
|
}), Ir(e, s, t), o.tabular && ((t, e, n) => {
|
|
6937
|
-
const o = n._getTimelineState?.(), s = o ?
|
|
6937
|
+
const o = n._getTimelineState?.(), s = o ? Js(t, o.cacheId) : null;
|
|
6938
6938
|
if (!o || null === s) return void t.log(`The timeline '${n.getName?.() ?? ""}' names a pivot cache that was not written; Excel repairs it.`);
|
|
6939
6939
|
const r = nr(t), a = (t) => st(Math.floor(t), r), i = o.dates ?? o.range ?? {
|
|
6940
6940
|
start: 1,
|
|
@@ -7025,7 +7025,7 @@ var Gi = [
|
|
|
7025
7025
|
}(n, t), n.end("externalBook"), n.end("externalLink"), n.close();
|
|
7026
7026
|
}
|
|
7027
7027
|
}()
|
|
7028
|
-
], qi = "SheetXL Evaluation",
|
|
7028
|
+
], qi = "SheetXL Evaluation", Ji = "xl/worksheets/sheetSheetXLEvaluation.xml", Ki = "rIdSheetXLEvaluation", Yi = [
|
|
7029
7029
|
"This workbook was exported from an unlicensed evaluation of SheetXL.",
|
|
7030
7030
|
"Your own sheets follow this one, unchanged.",
|
|
7031
7031
|
"To license SheetXL, visit https://www.sheetxl.com"
|
|
@@ -7033,7 +7033,7 @@ var Gi = [
|
|
|
7033
7033
|
const e = [...t.matchAll(/<sheet\b[^>]*\bsheetId="(\d+)"/g)].map((t) => parseInt(t[1], 10)), n = new Set([...t.matchAll(/<sheet\b[^>]*\bname="([^"]*)"/g)].map((t) => t[1].toLowerCase()));
|
|
7034
7034
|
let o = qi;
|
|
7035
7035
|
for (let t = 2; n.has(o.toLowerCase()); t++) o = `${qi} (${t})`;
|
|
7036
|
-
const s = `<sheet name="${o}" sheetId="${Math.max(0, ...e) + 1}" r:id="${
|
|
7036
|
+
const s = `<sheet name="${o}" sheetId="${Math.max(0, ...e) + 1}" r:id="${Ki}"/>`;
|
|
7037
7037
|
return t.replace(/<sheets>/, `<sheets>${s}`).replace(/\blocalSheetId="(\d+)"/g, (t, e) => `localSheetId="${parseInt(e, 10) + 1}"`).replace(/<workbookView\b([^>]*?)(\/?)>/, (t, e, n) => {
|
|
7038
7038
|
const o = /\bactiveTab="(\d+)"/.exec(e);
|
|
7039
7039
|
return `<workbookView${(o ? e.replace(/\bactiveTab="\d+"/, `activeTab="${parseInt(o[1], 10) + 1}"`) : `${e} activeTab="1"`).replace(/\s*\bfirstTab="\d+"/, "")}${n}>`;
|
|
@@ -7061,8 +7061,8 @@ var Gi = [
|
|
|
7061
7061
|
const n = t.getPart("xl/workbook.xml"), o = n ? new TextDecoder("utf-8").decode(n.data) : null;
|
|
7062
7062
|
return nl.set(t, o), o;
|
|
7063
7063
|
}, nl = /* @__PURE__ */ new WeakMap(), ol = async (t, e) => {
|
|
7064
|
-
await
|
|
7065
|
-
const n = new
|
|
7064
|
+
await A.load();
|
|
7065
|
+
const n = new Kn();
|
|
7066
7066
|
for (const t of Gi) n.register(t);
|
|
7067
7067
|
const o = sl, s = Cn.createUint8Array({
|
|
7068
7068
|
lastModDate: new Date(1899, 11, 29, 19, 0, 0),
|
|
@@ -7160,7 +7160,7 @@ var Gi = [
|
|
|
7160
7160
|
});
|
|
7161
7161
|
f.addPart("workbook", t, "/xl/workbook.xml"), await f.waitEmit(), f.addPart("propsCore", { model: t }), f.addPart("propsApp", { model: t }), t.getProperties().getCustom().length > 0 && f.addPart("propsCustom", { model: t });
|
|
7162
7162
|
let h = await f.build();
|
|
7163
|
-
await
|
|
7163
|
+
await D.isWatermarked() && (h = await (async (t) => {
|
|
7164
7164
|
const e = new B(new z(t)), n = new j(), o = new je(n, { lastModDate: new Date(1899, 11, 29, 19, 0, 0) });
|
|
7165
7165
|
try {
|
|
7166
7166
|
for (const t of await e.getEntries()) {
|
|
@@ -7168,14 +7168,14 @@ var Gi = [
|
|
|
7168
7168
|
const e = t.filename;
|
|
7169
7169
|
if ("xl/workbook.xml" === e) await o.add(e, new z(new TextEncoder().encode(Zi(await t.getData(new O())))));
|
|
7170
7170
|
else if ("xl/_rels/workbook.xml.rels" === e) {
|
|
7171
|
-
const n = await t.getData(new O()), s = `<Relationship Id="${
|
|
7171
|
+
const n = await t.getData(new O()), s = `<Relationship Id="${Ki}" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet" Target="${Ji.slice(3)}"/>`;
|
|
7172
7172
|
await o.add(e, new z(new TextEncoder().encode(n.replace("</Relationships>", `${s}</Relationships>`))));
|
|
7173
7173
|
} else if ("[Content_Types].xml" === e) {
|
|
7174
|
-
const n = await t.getData(new O()), s = `<Override PartName="/${
|
|
7174
|
+
const n = await t.getData(new O()), s = `<Override PartName="/${Ji}" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"/>`;
|
|
7175
7175
|
await o.add(e, new z(new TextEncoder().encode(n.replace("</Types>", `${s}</Types>`))));
|
|
7176
7176
|
} else await o.add(e, new z(await t.getData(new j())));
|
|
7177
7177
|
}
|
|
7178
|
-
return await o.add(
|
|
7178
|
+
return await o.add(Ji, new z(new TextEncoder().encode(`<?xml version="1.0" encoding="UTF-8" standalone="yes"?><worksheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main"><sheetViews><sheetView workbookViewId="0"/></sheetViews><cols><col min="1" max="1" width="80" customWidth="1"/></cols><sheetData>${Yi.map((t, e) => `<row r="${e + 1}"><c r="A${e + 1}" t="inlineStr"><is><t>${t}</t></is></c></row>`).join("")}</sheetData></worksheet>`))), await o.close(), await n.getData();
|
|
7179
7179
|
} finally {
|
|
7180
7180
|
await e.close();
|
|
7181
7181
|
}
|