@sheetxl/mcp 1.0.0 → 1.0.2
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/{CNikOloX_losH8Nz.js → 1d-8AAcf1UmC2qIz.js} +1 -1
- package/assets/{C3c2PUtIo-aWbjw4.js → 30KXHiLfwl0cbsxL.js} +1 -1
- package/assets/{8mWHFnE0j-CaNsxr.js → 3o7I8loKRGynHrNq.js} +1 -1
- package/assets/{C1JeIUEWW-RL1Rnu.js → 648qV0v861jvyZWm.js} +1 -1
- package/assets/{P3Or6rEY-fHmQZbH.js → 7khlPnFFCrE8gnT_.js} +13 -13
- package/assets/{ByGn4tk2SE1MH_sZ.js → 8hUUTZ62hbxY0TOp.js} +2 -2
- package/assets/{CwzSgovxnBMrgLmJ.js → B1Vm5y0E-TPSYFya.js} +3 -3
- package/assets/{CEa6wNiDRZrans9S.js → B6ToyMcYe9lyaeDk.js} +3 -3
- package/assets/{qVBjd-c5B8neljc0.js → B6pS096VwbWaj1Zz.js} +2 -2
- package/assets/{BrHXHm2FNXsL53bo.js → B9V6AFTTnbPscv11.js} +2 -2
- package/assets/{CF1fqmS030ry2XQ0.js → BESu-5sZSIJqkrWN.js} +2 -2
- package/assets/{B5rrqMYFybo3oW9k.js → BHhPtFpb3YfV6_44.js} +21 -21
- package/assets/{CpoqmW4E7rFdkRpf.js → BMAAmO8LPIe4VJ77.js} +1 -1
- package/assets/{C1IE0F-y65XqEYRl.js → BMVu89mdcVSqJDDE.js} +1 -1
- package/assets/{Da0CtWhc7saaOdER.js → BRB5-fXJFU7Kq2wm.js} +352 -352
- package/assets/BRI3D42tlMkZdYb2.js +199 -0
- package/assets/{DOXj80NXiglJXsMZ.js → BVzogMoyaicBEKBk.js} +3 -3
- package/assets/{PvRzzufo1V8BuC-I.js → BWpLQNKC3n8bXJUk.js} +1 -1
- package/assets/{CS07BBUu6ZtXk4TZ.js → Baa8cmJsilboM0DW.js} +1 -1
- package/assets/{O3m_QwxIRXMPFTB8.js → BcDNXTGASDvptqc-.js} +1 -1
- package/assets/{knMcDWv3xN7yJBTT.js → Bme_PT3UqwTbGLWd.js} +1 -1
- package/assets/{pLM8Pxl1CscUdvMh.js → BnxajOeIasx1G3OB.js} +1 -1
- package/assets/{CFqF3aUKvOGFOK9O.js → BousX61zAjBfjlsV.js} +1 -1
- package/assets/{DF9WfdyjHuCpsEXh.js → Bp73VL7f5DEt88Cn.js} +35 -35
- package/assets/{DRy0AcTiSKQY3bih.js → BppAvnmuJbbYBQUy.js} +1 -1
- package/assets/{j4zqu8S2Be_yum7W.js → BtoBfR_4n1u37HmC.js} +1 -1
- package/assets/{BF0C-5gSMHWBXI_k.js → BuLAeGM4AvHCge4x.js} +1 -1
- package/assets/{DWr6GqsnMpLwSUno.js → Buxo11Ux7uxzoy_7.js} +2 -2
- package/assets/{pfa2CH5NQuzku6FP.js → BwTF2TRqzXsf0H1I.js} +2 -2
- package/assets/{CfBJzpZuy1o216iZ.js → BzCwrG3Zdv-Trzi_.js} +1 -1
- package/assets/{BgHOi7rAHLhztiz-.js → C00qhh0-m0B0JP9Y.js} +166 -166
- package/assets/{jNZ7exipVCGRPbzr.js → C5VvbPUAfrVKmXXs.js} +1 -1
- package/assets/{BVfjBXAMgo4u8Y72.js → C85xBYGjAzNmVNwL.js} +1 -1
- package/assets/{Dbi1_JHT_4u0nhwc.js → C880pTyOMof_fzPO.js} +1 -1
- package/assets/{BBF_CDIKB2NIXiHg.js → C88UXFOnR1Uc-nw2.js} +1 -1
- package/assets/{CRZMD-wS-944FnD_.js → C8G6iJz_vsgbNYq9.js} +4 -4
- package/assets/{CoSNTR-pg7BZAU7o.js → CAQgJMpje7ORQ5lt.js} +1 -1
- package/assets/CBSyNN4Fk5WsVStK.js +14 -0
- package/assets/{CY3Lmr-fgs6NqXRp.js → CCeqR45x9p-GG8Pi.js} +1 -1
- package/assets/{BqH4txhrgR2S-2ji.js → CEDsCeYCSlY7wYe1.js} +2 -2
- package/assets/{DvHZEP1wpb6549uf.js → CFWHwEc3dKMmNzUp.js} +406 -406
- package/assets/{8114GVvAL1oaiJLV.js → CK9LWUZdZ93t3GkS.js} +1 -1
- package/assets/{BPlrBhzIqyWK19E2.js → CL-BRusnISEAzebz.js} +606 -606
- package/assets/{Bfpf9b1s1bWyBXIw.js → CLvFlk5-KU2jnQ5r.js} +1 -1
- package/assets/{CX-LNahzNZRc78er.js → CUhCIQjymULgXquN.js} +1 -1
- package/assets/{BKGTzaNNBlRh7ua3.js → CboWvqCV0yix3-yP.js} +1 -1
- package/assets/{cl0C9YlF3Ds-lHps.js → Ci4AUhBajQMJs1Ty.js} +1 -1
- package/assets/{rlgXnCh6A88ozBRz.js → CkQT1G_6bvMixZ8e.js} +4 -4
- package/assets/{rzi2XAwlfy8BsGEa.js → CkqsYktaMF9p014y.js} +1 -1
- package/assets/{BuFb0lPxYlHccrD9.js → CkuL4Ed6oRGAhIS9.js} +1 -1
- package/assets/{Ban4yk1SYcz9Cs7n.js → Cm41HVr6Xyz53jHz.js} +1 -1
- package/assets/{BfB7Vq09p5uO-L88.js → CoY2sE2RG-Nd8TMR.js} +1 -1
- package/assets/{Cwe_kiigxAfceEK9.js → CuRvGO_2tG0PUhCM.js} +1 -1
- package/assets/{Dcw7GSCgw_dgsum7.js → CvqpsTll6ngbdHgx.js} +8672 -8642
- package/assets/{B3J6davzttys1e7l.js → Cvs9i2VUl7wXWZup.js} +3 -3
- package/assets/{DlARYdaCOVKiQzMH.js → Cy2uazuc6KpkbYg-.js} +1 -1
- package/assets/{2c1OYsVAy_w-ex-F.js → CybNjXi6cOFKyGuH.js} +1 -1
- package/assets/{BBZUslaSLC0vlZEb.js → CzPMiqbNDm6TDPGJ.js} +1 -1
- package/assets/{BBLuTiY3V4MpFphK.js → CzYXLEVIoCfQ1AMM.js} +193 -193
- package/assets/{BoE9cj92LVH2LLy0.js → D-BWtxIGXTCMLoio.js} +2 -2
- package/assets/{CRlLpD9cfhJ9Ov9L.js → D0Ly34TqieVSOIbh.js} +1 -1
- package/assets/{BloJ-e8xad1b_H7X.js → D0M0EWP28g5rQaei.js} +3 -3
- package/assets/{WC-THJfezYSFdiMF.js → D4NBYfzSZ3cU-3ao.js} +1 -1
- package/assets/{13QanvzRbNib7VHR.js → D4NcXlPRmR6NaoGS.js} +1 -1
- package/assets/{CDDtXZTG6nNFBQZP.js → D4jXxO1LUEQ6erA9.js} +1 -1
- package/assets/{CMd7aLIwOA7bxcZm.js → DAx-VOBmi1xAMhhX.js} +98 -98
- package/assets/{8hLtXHueDl7B_SEn.js → DBcXAdUaNGrlah12.js} +15 -15
- package/assets/{C8zzCf71C976X7SG.js → DFdAxnoXGn_8ge3l.js} +2 -2
- package/assets/{DZxHk5oKIVvu3iJR.js → DFjfZCMPfQfwC4cF.js} +580 -580
- package/assets/{YK80feN98r6GVZv5.js → DG0Dzgf1kAxN3AIk.js} +1 -1
- package/assets/{DQtnL5nOzSzVJhit.js → DGv-dTePYQ8_yif4.js} +42 -42
- package/assets/{gf6l-4XXMXtq8hpJ.js → DIaD0BL0JLTaJTS3.js} +5 -5
- package/assets/{CICMJpasl9o4FaZi.js → DIimDQiJDW-4lkZT.js} +1 -1
- package/assets/{CbkCnjWs7Fpj5iQY.js → DK8DWNMTOmCg6zAI.js} +8 -8
- package/assets/{q6advQx4x6PXvl0i.js → DKox8guOumZMOdq8.js} +37 -37
- package/assets/{DQ2vEDfVfsIGSmId.js → DMHiZKWwm6puHV6p.js} +1 -1
- package/assets/{CsPyLus3kh4QnahD.js → DMyq3L2ibjMlHuDa.js} +1 -1
- package/assets/{0WuReGsjIpidu0Cr.js → DOKXQpGyzXCoSLdJ.js} +1 -1
- package/assets/{ybnQoU8_KttlHjiy.js → DOXriXo-7WmTAKbN.js} +1 -1
- package/assets/{Sm1ouHLiXlCuQVKV.js → DRfsB4kS28fPXv6K.js} +96 -96
- package/assets/{BaZAIwIrqn1x69WH.js → DSmARJ0owmwmr2FA.js} +2 -2
- package/assets/{BlMUrEA8V2S2KH0D.js → DUM6h3BEreCilg32.js} +1 -1
- package/assets/{Bm-wDNSoT-3JD2bJ.js → DXp5V2__VY2opctz.js} +1 -1
- package/assets/{eExV3IoVMxYkv5GO.js → D_YBc6vHBL-ajwvB.js} +1 -1
- package/assets/{G489eYf-lt3D1riX.js → Dc8BQsPlwN6i6OU7.js} +1 -1
- package/assets/{BCdXK-2-AE6FAdRs.js → DcnNIdrilJHfl_CQ.js} +1 -1
- package/assets/{xGASRbzSVVKfEAh-.js → DdIufax_qSuWVGQK.js} +2 -2
- package/assets/{CCS6r_ru_-bq12nu.js → DeNqXaM_dHSswRuE.js} +1 -1
- package/assets/{BB39UJoWw8tjThqY.js → DfVHW5vbnRNXHrCi.js} +1 -1
- package/assets/{ov7L79VlksT4fw7T.js → Dfc9_XsqSeh48YeK.js} +11 -11
- package/assets/{CdbucPAmUkkc5pcM.js → DiXodb_hLvUDIGb6.js} +29 -29
- package/assets/{B-b7HyruDF2gdj3R.js → Dn531BWCDZ2noJix.js} +2 -2
- package/assets/{BfEmSaLbKgcjIIpn.js → DnAuLAqQLmAf9Gls.js} +2 -2
- package/assets/{BhxIJ8xdUxyMPJ_m.js → Do8K2GlFXIiMX9TB.js} +1 -1
- package/assets/{BTamKr78GfsihW1a.js → Dt8hWBnnqlpJOazW.js} +96 -96
- package/assets/{Dst0tyK__q2Q_AKk.js → DuBbSpdXZuAFvxpr.js} +1 -1
- package/assets/{DzYvbv5u7E2H7IoB.js → DvAq2cPI7-lfSn0x.js} +1 -1
- package/assets/{CI8Pu3ko8VzQYdRD.js → DzCZGtlg3pJO91l9.js} +1 -1
- package/assets/{B3lrS_GHkG6Mw5pN.js → DzRBnJpz972o277m.js} +1 -1
- package/assets/{g3TrQtFS0qJZeshT.js → EohzUi0uCnSF2q2D.js} +264 -264
- package/assets/{DXrX5tIZ1J5BhpFk.js → KSagTSkIvZSpUF1c.js} +4 -4
- package/assets/{DngX5ZuqqFGTp44B.js → LOFAyr5OoT3oZGMV.js} +1 -1
- package/assets/{DfuY8GdoSk8LxDFW.js → LbZNDu6C9XPMEXCN.js} +5 -5
- package/assets/{D31pY9r4JAFWw3E4.js → NwtEz6ZaVT8p8wOh.js} +1 -1
- package/assets/{hiKRbrdbpmJglbWC.js → PD_i17-cebq3-_Gn.js} +3 -3
- package/assets/{C2sDVxKGBNlTFg6y.js → Q-BvS_P_qM8EvP92.js} +1 -1
- package/assets/{C4C3Ot0xeo1O0wm5.js → YRKAYjRpPkjhxGSS.js} +1 -1
- package/assets/{C30apcFVvDHn2M4R.js → _-kNP8Q4FxBYPY4u.js} +4 -4
- package/assets/{BgN67gyTyx_xz2Ny.js → aEDyynzUuzMysLwT.js} +6 -6
- package/assets/{kThU6e6dkzEoaK6n.js → cTnKNFayqlXisspN.js} +2 -2
- package/assets/{DpwdC4SN_VYB9_ho.js → eEh1r_BS7Y0FXPqk.js} +1 -1
- package/assets/{CJoREr6-3iOl7iU_.js → g4vz4gc43eat7Hd2.js} +1 -1
- package/assets/{BR4Wpxs0eSlaoLOl.js → jUzhn1PeDLWXOuJO.js} +14 -14
- package/assets/{L42Y17f0HUEpfS6U.js → kIzQWtiHNHvh8HLF.js} +1 -1
- package/assets/{CJcyMzG19TOjqNHS.js → mIM-JksHd3Zl5INF.js} +1 -1
- package/assets/{BTB4fa2DU21pP7At.js → mirSoZ8QDsYUMjYu.js} +1 -1
- package/assets/{DOIpXsEXCaI-8VwJ.js → ooSNLnHLIYTBL5JD.js} +1 -1
- package/assets/{DRcmbp80jMRjxelW.js → tp75fiKc1r-jdPPN.js} +1 -1
- package/assets/{PAzPVx_0jajb_7cO.js → xltGcIbWkjqNtCty.js} +2 -2
- package/assets/{Cs1df4D35bBjqyvX.js → zbOvcGIPi-MDlJKE.js} +1 -1
- package/index.js +92 -92
- package/lib.js +1 -1
- package/licenses/dependencies.txt +66 -66
- package/package.json +17 -2
- package/screenshot-page/assets/{Da_VIghRFdNrmfZT.js → 37HIsN_8LEsOWyOO.js} +1 -1
- package/screenshot-page/assets/{DaqAdr-mtpVZMOS8.js → 4I9gFq1IdumstDHq.js} +2 -2
- package/screenshot-page/assets/{BrEXXxB9tAI5mmZP.js → 6j6xGn4csAcfcFMQ.js} +1 -1
- package/screenshot-page/assets/{hB5riGkPy0wXVIig.js → 7N8xCpYVBHFqfoAg.js} +1 -1
- package/screenshot-page/assets/{D8EmNst-H2v0eWcf.js → 97qOXULGlJqaTCIL.js} +1 -1
- package/screenshot-page/assets/B6dFVtErFelDd62E.js +2 -0
- package/screenshot-page/assets/{d8BvDCByceUNvHp7.js → B6i6Xi9OafEvNRAm.js} +2 -2
- package/screenshot-page/assets/B7uNU6WWjJaco6ho.js +1 -0
- package/screenshot-page/assets/BGoGxqwlpgXt8CMd.js +4 -0
- package/screenshot-page/assets/{0P0DnZolMnjPhiea.js → BXss42mPBQnnt0Rh.js} +1 -1
- package/screenshot-page/assets/{CJAgr6wyQGYAd3ZV.js → BbhwsC3eMdzP2PeH.js} +1 -1
- package/screenshot-page/assets/Beaq1eo3pAjlfcba.js +1 -0
- package/screenshot-page/assets/Bf3eJLndwyxuVR-_.js +1 -0
- package/screenshot-page/assets/{BwYQTcPRDDYIeAA5.js → BqJRJVrx7XkIPgo7.js} +6 -6
- package/screenshot-page/assets/{CX-ITg5RXdV2cefd.js → C-qNpEaGV5amWPml.js} +5 -5
- package/screenshot-page/assets/{BOF6KOmT8mH_NQnA.js → CB-bJVu0a2zAElNH.js} +1 -1
- package/screenshot-page/assets/CGvyz3VVFiHbYHM0.js +3 -0
- package/screenshot-page/assets/{DTAKTGn53yF_B621.js → CKbXhNyUiI18JA_C.js} +1 -1
- package/screenshot-page/assets/{DOsZiE9rOdS_Mm2Q.js → CVEUOXnI1pTa-GKp.js} +1 -1
- package/screenshot-page/assets/C_RHXqyejSa8gd9x.js +1 -0
- package/screenshot-page/assets/{Bt7fKk5ZupUuo_xD.js → CbTBuiF_Jn72hoj1.js} +2 -2
- package/screenshot-page/assets/{C-2hBFk27roWkIrQ.js → CraI-__UdtaIvbNn.js} +1 -1
- package/screenshot-page/assets/{Cg9eIWL8fPmeZFHG.js → Cyu6g5rRtEGOHaQS.js} +4 -4
- package/screenshot-page/assets/{CL_hAngRQwm_KGdR.js → D1KqgZwk5MjDhk5i.js} +1 -1
- package/screenshot-page/assets/{QVGvXAvlw1c8vZjy.js → DGr8M07ioDfKXLHD.js} +3 -3
- package/screenshot-page/assets/{BAzHRU12l2vyyXq-.js → DMbhlzvflyxF5Clt.js} +4 -4
- package/screenshot-page/assets/{BzI5CCx73aXausKb.js → DQxI7bShZ7TKpL0V.js} +8 -8
- package/screenshot-page/assets/{BpJaTpbR_CQzXj9M.js → DSB_SKy2lKI_VGik.js} +1 -1
- package/screenshot-page/assets/{jFfcyGJ9xruiOUyS.js → DWkISZdhmV2PBk-k.js} +1 -1
- package/screenshot-page/assets/{BhHceo22V3IBfap0.js → DfmEx82r_NbillHk.js} +1 -1
- package/screenshot-page/assets/{Cq1EzIAt4dHBkzfP.js → DsZcJUWTmqcp2aI-.js} +1 -1
- package/screenshot-page/assets/{jteb4n23QwBT9m_4.js → DszZ1A807YzTc0ek.js} +1 -1
- package/screenshot-page/assets/{DJebrQ5mu8uxpX3b.js → DwHci99xcnRTEcv5.js} +2 -2
- package/screenshot-page/assets/Ojp2B5i2-AJeD4mV.js +1 -0
- package/screenshot-page/assets/{CGNsyKbDXXz9qMa2.js → PRYQO22Y2LgMUg77.js} +1 -1
- package/screenshot-page/assets/{CZaKvnrRdlLj1_X8.js → RHcyaEfxJB7O3alo.js} +1 -1
- package/screenshot-page/assets/{-HdF7KAN8PKqrASL.js → TA9YjsgX-_8fRRdZ.js} +1 -1
- package/screenshot-page/assets/{ByyC3p23DsLAbUpr.js → cUY9GpQPVTLSprfW.js} +1 -1
- package/screenshot-page/assets/{Bne-AygyF1USkPAy.js → m48xmzGgNgwXSEgQ.js} +1 -1
- package/screenshot-page/assets/{DhnaoxNYwMobAVP6.js → mVfCz3bXIjqEVPEo.js} +1 -1
- package/screenshot-page/assets/{B-E9Dzx1wh9RA2yC.js → putBhJCWgRos_Fmk.js} +1 -1
- package/screenshot-page/assets/{BfkbiKKbYlPpRZqZ.js → uyInkZWFnMwX-BSC.js} +1 -1
- package/screenshot-page/assets/{CAKBmg6tXRtjEWgb.js → xiJthTXsasYVOHWE.js} +2 -2
- package/screenshot-page/index.html +8 -8
- package/assets/BOa1dD_9H3g65WbP.js +0 -14
- package/assets/DCWHNfq5qCxvALwe.js +0 -199
- package/screenshot-page/assets/B39YZkEvc1U8ZQ8H.js +0 -2
- package/screenshot-page/assets/B8Dy_WA9RlWuvMqF.js +0 -4
- package/screenshot-page/assets/CGZYePkVGI5DPBBY.js +0 -1
- package/screenshot-page/assets/CWA4xGjOeBuxJOzW.js +0 -3
- package/screenshot-page/assets/D2TibFqUBAPLcu_2.js +0 -1
- package/screenshot-page/assets/DEy3e1rY-XMdI309.js +0 -1
- package/screenshot-page/assets/eR9_DaySoB72PvMo.js +0 -1
- package/screenshot-page/assets/hHvAGynpTvAb97GX.js +0 -1
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v1.0.
|
|
2
|
+
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v1.0.2
|
|
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 { D as r, J as a, Jt as i, L as l, Lt as c, Ot as d, Xt as m, b as p, ct as f, s as h, w as u, x as g } from "./
|
|
9
|
-
import { f as x, o as y, p as v, u as w } from "./
|
|
10
|
-
import {
|
|
11
|
-
import { l as _, y as N } from "./
|
|
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 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
|
|
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 "./DvAq2cPI7-lfSn0x.js";
|
|
8
|
+
import { D as r, J as a, Jt as i, L as l, Lt as c, Ot as d, Xt as m, b as p, ct as f, s as h, w as u, x as g } from "./DBcXAdUaNGrlah12.js";
|
|
9
|
+
import { f as x, o as y, p as v, u as w } from "./3o7I8loKRGynHrNq.js";
|
|
10
|
+
import { Ar as S, Gn as b, Ht as C, Mr as T, Oa as k, Pn as I, Xn as R, Zi as F, Zt as E, da as M, ji as P, lo as A, w as D, zt as L } from "./CvqpsTll6ngbdHgx.js";
|
|
11
|
+
import { l as _, y as N } from "./BRB5-fXJFU7Kq2wm.js";
|
|
12
|
+
import { n as $ } from "./LbZNDu6C9XPMEXCN.js";
|
|
13
|
+
import { F as B, _t as O, gt as V, pt as W, vt as z, yt as j } from "./zbOvcGIPi-MDlJKE.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 Tt, R as kt, 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 Te, l as ke, 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 "./Dt8hWBnnqlpJOazW.js";
|
|
15
|
+
import { i as ln, l as cn, n as dn, o as mn, s as pn, t as fn } from "./CkQT1G_6bvMixZ8e.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 R && "#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 {
|
|
@@ -114,7 +114,7 @@ var hn = [
|
|
|
114
114
|
return "writable" === this.outputKind ? this.outWritable ?? n : n;
|
|
115
115
|
}
|
|
116
116
|
};
|
|
117
|
-
function
|
|
117
|
+
function Tn(t) {
|
|
118
118
|
const e = (t) => t.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">"), n = (t) => e(t).replace(/"/g, """), o = (t) => {
|
|
119
119
|
if (!t) return "";
|
|
120
120
|
let e = "";
|
|
@@ -178,13 +178,13 @@ function kn(t) {
|
|
|
178
178
|
}
|
|
179
179
|
};
|
|
180
180
|
}
|
|
181
|
-
function
|
|
181
|
+
function kn(t) {
|
|
182
182
|
switch (t.kind) {
|
|
183
183
|
case "bytes": return t.bytes;
|
|
184
184
|
case "text": return t.text;
|
|
185
185
|
case "stream": return t.stream;
|
|
186
186
|
case "xmlStream": {
|
|
187
|
-
const e = [], n =
|
|
187
|
+
const e = [], n = Tn({ write: (t) => e.push(t) });
|
|
188
188
|
return t.writeXml(n), n.close(), function(t) {
|
|
189
189
|
let e = 0;
|
|
190
190
|
for (const n of t) e += n.byteLength;
|
|
@@ -365,7 +365,7 @@ var _n = class {
|
|
|
365
365
|
async emit() {
|
|
366
366
|
const t = [...this.parts].sort((t, e) => t.path.localeCompare(e.path));
|
|
367
367
|
for (const e of t) {
|
|
368
|
-
const t =
|
|
368
|
+
const t = kn(e.body);
|
|
369
369
|
await this.zip.add(e.path, t, e.optionsZip);
|
|
370
370
|
}
|
|
371
371
|
const e = this.relsRoot.toXmlBytes();
|
|
@@ -568,7 +568,7 @@ var qn = class {
|
|
|
568
568
|
} };
|
|
569
569
|
let r;
|
|
570
570
|
await e.emit(t.payload, {
|
|
571
|
-
getXMLWriter: () => r || (r =
|
|
571
|
+
getXMLWriter: () => r || (r = Tn(s), r),
|
|
572
572
|
addPart: (t, e, o, s) => this._addPartInternal(n, t, e, o, s),
|
|
573
573
|
addBinary: (t, e, o, s, r = !1, a) => this._addBinaryInternal(n, t, e, o, s, r, a),
|
|
574
574
|
addExternal: (t, e, o) => ({
|
|
@@ -845,10 +845,10 @@ function so(n, s, r, a, i) {
|
|
|
845
845
|
a && (a = ao(a, t, n, !1));
|
|
846
846
|
const i = { ...s };
|
|
847
847
|
return a ? i.borders = a : delete i.borders, r.getElementID(i, r.getElementComplement?.(e)) ?? e;
|
|
848
|
-
}, C = (t, e, n, o, s) => e === o && (!S(o) || b(t, e, s) === b(n, o, s)),
|
|
848
|
+
}, C = (t, e, n, o, s) => e === o && (!S(o) || b(t, e, s) === b(n, o, s)), T = /* @__PURE__ */ new Map(), k = (t, e) => {
|
|
849
849
|
if (e.rowStart >= x || e.colStart >= y) return;
|
|
850
|
-
const n =
|
|
851
|
-
n ? n.push(e) :
|
|
850
|
+
const n = T.get(t);
|
|
851
|
+
n ? n.push(e) : T.set(t, [e]);
|
|
852
852
|
}, I = [], R = [];
|
|
853
853
|
let F = g.next();
|
|
854
854
|
for (; !F.done;) {
|
|
@@ -856,7 +856,7 @@ function so(n, s, r, a, i) {
|
|
|
856
856
|
F = g.next();
|
|
857
857
|
const e = t.overlaps, n = t.range, o = e.length;
|
|
858
858
|
if (1 === o) {
|
|
859
|
-
e[0].value &&
|
|
859
|
+
e[0].value && k(e[0], n);
|
|
860
860
|
continue;
|
|
861
861
|
}
|
|
862
862
|
let s, r, a, i, l, c;
|
|
@@ -864,16 +864,16 @@ function so(n, s, r, a, i) {
|
|
|
864
864
|
const n = e[t], o = n.value;
|
|
865
865
|
"number" != typeof o ? 0 === n.rowStart && n.rowEnd === x ? (l = o.s, c = n) : 0 === n.colStart && n.colEnd === y && (a = o.s, i = n) : 0 === o && void 0 !== s || (s = o, r = n);
|
|
866
866
|
}
|
|
867
|
-
void 0 === a ? void 0 === l ? (0 !== s || 2 !== o && 4 !== o) &&
|
|
867
|
+
void 0 === a ? void 0 === l ? (0 !== s || 2 !== o && 4 !== o) && k(r, n) : C(c, l, r, s, n) ? R.push({
|
|
868
868
|
...n,
|
|
869
869
|
value: l,
|
|
870
870
|
header: c
|
|
871
871
|
}) : 0 === s ? I.push({
|
|
872
872
|
...n,
|
|
873
873
|
value: 0
|
|
874
|
-
}) :
|
|
874
|
+
}) : k(r, n) : C(i, a, r, s, n) || k(r, n);
|
|
875
875
|
}
|
|
876
|
-
for (const [t, e] of
|
|
876
|
+
for (const [t, e] of T) {
|
|
877
877
|
const n = ho(e);
|
|
878
878
|
for (let e = 0; e < n.length; e++) {
|
|
879
879
|
const o = {
|
|
@@ -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 ? S.refsToRuns(l.cols, !0) : [],
|
|
906
|
+
rows: l.rows ? S.refsToRuns(l.rows, !1) : []
|
|
907
907
|
}, d, a), g = { ...n };
|
|
908
|
-
u.cols.length > 0 ? g.cols =
|
|
908
|
+
u.cols.length > 0 ? g.cols = S.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 = S.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]) => [S.rangeToString(t, d), e]) : delete g.directStyles, g;
|
|
942
942
|
}
|
|
943
943
|
function ro(t, e) {
|
|
944
944
|
if (!t || !e) return t === e;
|
|
@@ -1259,7 +1259,7 @@ var xo = [
|
|
|
1259
1259
|
}
|
|
1260
1260
|
} while (c < t.length);
|
|
1261
1261
|
return o;
|
|
1262
|
-
},
|
|
1262
|
+
}, To = class {
|
|
1263
1263
|
constructor() {
|
|
1264
1264
|
this._daprFMBks = [], this._daprFMBkMap = /* @__PURE__ */ new Map(), this._rvFMBks = [], this._rvFMBkMap = /* @__PURE__ */ new Map(), this._valueMeta = [];
|
|
1265
1265
|
}
|
|
@@ -1295,7 +1295,7 @@ var xo = [
|
|
|
1295
1295
|
getValueMeta() {
|
|
1296
1296
|
return this._valueMeta;
|
|
1297
1297
|
}
|
|
1298
|
-
},
|
|
1298
|
+
}, ko = class {
|
|
1299
1299
|
constructor(t, e, n = console.warn) {
|
|
1300
1300
|
this._entries = [], this._keyMap = /* @__PURE__ */ new Map(), this._writers = /* @__PURE__ */ new Map(), this._structureIndex = /* @__PURE__ */ new Map(), this._structures = /* @__PURE__ */ new Map(), this._arrays = [], this._arrayKeys = /* @__PURE__ */ new Map(), this._bagStructures = [], this._bagStructureKeys = /* @__PURE__ */ new Map(), this._bags = [], this._bagKeys = /* @__PURE__ */ new Map(), this._bagArrays = [], this._bagArrayKeys = /* @__PURE__ */ new Map(), this._richStyles = [], this._richStyleKeys = /* @__PURE__ */ new Map(), this._keyFlags = /* @__PURE__ */ new Map(), this._records = ((t) => {
|
|
1301
1301
|
const e = (n) => {
|
|
@@ -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 E ? "" + 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,8 +1323,8 @@ 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
|
|
1326
|
+
if (e instanceof R) return l(e);
|
|
1327
|
+
if (e instanceof E) return t.addValue(t.structureFor("_array", [["array", "a"]]), ["" + r(e)]);
|
|
1328
1328
|
if (e instanceof L) 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 })]] : [];
|
|
@@ -1336,7 +1336,7 @@ var xo = [
|
|
|
1336
1336
|
const s = o.getKind(), i = xn(s), l = s.getMeta(), c = l?.card, d = o.getOwnMeta() ?? {}, m = o.getValues(), p = [], f = [];
|
|
1337
1337
|
for (const o of s.getProperties()) {
|
|
1338
1338
|
const { name: h } = o;
|
|
1339
|
-
if (
|
|
1339
|
+
if (Te.has(h)) {
|
|
1340
1340
|
switch (p.push([h, "_Icon" === h ? "s" : "spb"]), h) {
|
|
1341
1341
|
case "_Icon":
|
|
1342
1342
|
f.push(l?.icon ?? "");
|
|
@@ -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 E ? "" + 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 R && !yn(t) ? l(t) : t instanceof E ? 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) {
|
|
@@ -2149,11 +2149,11 @@ function Cs(t, e, n, o, s, r = !1) {
|
|
|
2149
2149
|
let a = s.color;
|
|
2150
2150
|
a && Ao(e, n, a, "color", !r, r), e.end(o);
|
|
2151
2151
|
}
|
|
2152
|
-
function
|
|
2152
|
+
function Ts(t, e, n, o, s = !1) {
|
|
2153
2153
|
const r = {}, a = (t) => !!t?.style && "none" !== t.style, i = a(n.diagonalUp) ? n.diagonalUp : void 0, l = a(n.diagonalDown) ? n.diagonalDown : void 0;
|
|
2154
|
-
s ? (r.diagonalUp = "0", r.diagonalDown = "0") : (i && (r.diagonalUp = "1"), l && (r.diagonalDown = "1")), e.start("border", r), Cs(0, e, o, "left", n.left, s), Cs(0, e, o, "right", n.right, s), Cs(0, e, o, "top", n.top, s), Cs(0, e, o, "bottom", n.bottom, s), s ? (Cs(0, e, o, "vertical", n.vertical, s), Cs(0, e, o, "horizontal", n.horizontal, s)) : (i && l && (i.style !== l.style ||
|
|
2154
|
+
s ? (r.diagonalUp = "0", r.diagonalDown = "0") : (i && (r.diagonalUp = "1"), l && (r.diagonalDown = "1")), e.start("border", r), Cs(0, e, o, "left", n.left, s), Cs(0, e, o, "right", n.right, s), Cs(0, e, o, "top", n.top, s), Cs(0, e, o, "bottom", n.bottom, s), s ? (Cs(0, e, o, "vertical", n.vertical, s), Cs(0, e, o, "horizontal", n.horizontal, s)) : (i && l && (i.style !== l.style || ks(i.color) !== ks(l.color)) && t.warn("A cell has diagonal borders in two different line styles or colors; an xlsx cell holds one diagonal line, so both are saved in the up diagonal's.", void 0, "xlsx.border.diagonalMismatch"), Cs(0, e, o, "diagonal", i ?? l, s)), e.end("border");
|
|
2155
2155
|
}
|
|
2156
|
-
var
|
|
2156
|
+
var ks = (t) => null == t ? null : "string" == typeof t ? t : JSON.stringify(t);
|
|
2157
2157
|
function Is(t, e, n, o = !1) {
|
|
2158
2158
|
const s = {};
|
|
2159
2159
|
n.horizontal && n.horizontal !== f.HorizontalAlignment.General && (s.horizontal = n.horizontal), n.vertical && n.vertical !== f.VerticalAlignment.Bottom && (s.vertical = n.vertical);
|
|
@@ -2182,8 +2182,8 @@ function Rs(t, e, n, o, r, a, i = !1, c = !1, d = null) {
|
|
|
2182
2182
|
const b = o.alignment ?? p?.alignment;
|
|
2183
2183
|
b && (S = Is(0, 0, b)), o.font && (m.applyFont = "1"), o.fill && (m.applyFill = "1"), o.numberFormat && (m.applyNumberFormat = "1"), o.borders && (m.applyBorder = "1"), S && (m.applyAlignment = "1");
|
|
2184
2184
|
let C = null;
|
|
2185
|
-
const
|
|
2186
|
-
(
|
|
2185
|
+
const T = o.protection?.alwaysUnlocked ?? p?.protection?.alwaysUnlocked ?? !1;
|
|
2186
|
+
(T || i) && (C = {}, T && (C.locked = "0"), i && (C.hidden = "1"), m.applyProtection = "1"), o.quotePrefix && (m.quotePrefix = "1"), c && (m.pivotButton = "1"), S || C || null !== d ? (e.start("xf", m), S && e.empty("alignment", S), C && e.empty("protection", C), null !== d && (e.start("extLst"), e.start("ext", {
|
|
2187
2187
|
uri: Fs,
|
|
2188
2188
|
"xmlns:xfpb": Es
|
|
2189
2189
|
}), e.empty("xfpb:xfComplement", { i: String(d) }), e.end("ext"), e.end("extLst")), e.end("xf")) : e.empty("xf", m);
|
|
@@ -2201,7 +2201,7 @@ function Ms(t, e, n, o, s, r = "dxf", a = Ps) {
|
|
|
2201
2201
|
const t = Is(0, 0, n.alignment, !0);
|
|
2202
2202
|
t && e.empty("alignment", t);
|
|
2203
2203
|
}
|
|
2204
|
-
return n.borders &&
|
|
2204
|
+
return n.borders && Ts(t, e, n.borders, s, !0), e.end(r), a;
|
|
2205
2205
|
}
|
|
2206
2206
|
var Ps = 164, As = Object.freeze([
|
|
2207
2207
|
"unselectedItemWithData",
|
|
@@ -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 = k.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 = S.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 = S.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
|
+
k.BuiltInSelectorNames.Display,
|
|
2526
|
+
k.BuiltInSelectorNames.Date,
|
|
2527
|
+
k.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 !== k.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 === k.BuiltInOperatorNames.Expression) return void t.warn("Expression conditions not supported in Table AutoFilters", n);
|
|
2533
|
+
if (s === k.BuiltInOperatorNames.Unique) return void t.warn("Unique conditions not supported in Table AutoFilters", n);
|
|
2534
|
+
if (s === k.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 === k.BuiltInOperatorNames.InSet) {
|
|
2550
2550
|
const s = n.param ?? {};
|
|
2551
2551
|
let r = Array.isArray(s.items) ? s.items : [];
|
|
2552
|
-
n.selector !==
|
|
2552
|
+
n.selector !== k.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 === k.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 === k.BuiltInOperatorNames.Average) {
|
|
2592
|
+
const o = n.param, s = o?.type === k.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 === k.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 === k.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 && M.image(s.spell(a, !1, e.getName()), { at: r }) || o;
|
|
2640
2640
|
} catch {
|
|
2641
2641
|
return o;
|
|
2642
2642
|
}
|
|
@@ -2659,7 +2659,7 @@ var Ps = 164, As = Object.freeze([
|
|
|
2659
2659
|
"mc:Ignorable": "x xr10",
|
|
2660
2660
|
"xmlns:x": gr,
|
|
2661
2661
|
"xmlns:xr10": yr
|
|
2662
|
-
}, Cr = (t) => t.toJSON()?.pivot ?? null,
|
|
2662
|
+
}, Cr = (t) => t.toJSON()?.pivot ?? null, Tr = (t) => void 0 !== Cr(t)?.timeline, kr = (t) => {
|
|
2663
2663
|
const e = [], n = t.getMovables().getItems();
|
|
2664
2664
|
for (let t = 0; t < n.length; t++) {
|
|
2665
2665
|
const o = n[t].getContent();
|
|
@@ -2712,7 +2712,7 @@ function Dr(t, e, n, o, s, r) {
|
|
|
2712
2712
|
let i = Xe(a.xml, s);
|
|
2713
2713
|
const l = wt(i), c = l ? $t((t) => l.get(t)) : void 0, d = o.tabColor;
|
|
2714
2714
|
(d ?? void 0) !== c && (i = ft(i, d ? function(t, e) {
|
|
2715
|
-
const n = [], o =
|
|
2715
|
+
const n = [], o = Tn({ write: (t) => {
|
|
2716
2716
|
n.push(t);
|
|
2717
2717
|
} });
|
|
2718
2718
|
return o.setValidationDisabled(!0), Ao(o, t.getTheme(), e, "tabColor", !1), o.close(), new TextDecoder("utf-8").decode(function(t) {
|
|
@@ -2962,14 +2962,14 @@ function Yr(t, e, n) {
|
|
|
2962
2962
|
void 0 !== e.charset && t.empty("charset", { val: e.charset }), c && t.empty("scheme", { val: c }), t.end("rPr");
|
|
2963
2963
|
}
|
|
2964
2964
|
function Zr(t, e) {
|
|
2965
|
-
t.start("t",
|
|
2965
|
+
t.start("t", ke.test(e) || /[\n\r]/.test(e) ? Fe : void 0), t.text(e), t.end("t");
|
|
2966
2966
|
}
|
|
2967
2967
|
function Qr(t) {
|
|
2968
2968
|
const e = t.getRanges();
|
|
2969
2969
|
if (e.isInvalid()) return null;
|
|
2970
2970
|
const n = e.getCoords()[0];
|
|
2971
2971
|
return n ? {
|
|
2972
|
-
ref:
|
|
2972
|
+
ref: S.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 = [], S.normalizeA1ToR1C1(n, e.rowStart, e.colStart, s)), i = S.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(S.cellToString({
|
|
3011
3011
|
rowIndex: o,
|
|
3012
3012
|
colIndex: a
|
|
3013
3013
|
})).getCell().getValue();
|
|
@@ -3023,7 +3023,7 @@ function la(t, e, n, o) {
|
|
|
3023
3023
|
}
|
|
3024
3024
|
function ca(t, e) {
|
|
3025
3025
|
let n = e.type;
|
|
3026
|
-
n ===
|
|
3026
|
+
n === C.ColorStopType.AutoMin ? n = C.ColorStopType.Min : n === C.ColorStopType.AutoMax && (n = C.ColorStopType.Max), t.empty("cfvo", {
|
|
3027
3027
|
type: n,
|
|
3028
3028
|
val: e.value,
|
|
3029
3029
|
gte: e.exclusive ? "0" : void 0
|
|
@@ -3059,7 +3059,7 @@ function pa(t) {
|
|
|
3059
3059
|
return (t.icon?.length ?? 0) > 0 || void 0 !== t.iconSet && !ma.has(t.iconSet);
|
|
3060
3060
|
}
|
|
3061
3061
|
function fa(t) {
|
|
3062
|
-
return [t.minPoint ?? { type:
|
|
3062
|
+
return [t.minPoint ?? { type: C.ColorStopType.Min }, t.maxPoint ?? { type: C.ColorStopType.Max }];
|
|
3063
3063
|
}
|
|
3064
3064
|
function ha(t, e, o, s, r, a, i, l, c) {
|
|
3065
3065
|
const d = s.scale;
|
|
@@ -3080,8 +3080,8 @@ function ha(t, e, o, s, r, a, i, l, c) {
|
|
|
3080
3080
|
timePeriod: r.timePeriod
|
|
3081
3081
|
};
|
|
3082
3082
|
let p;
|
|
3083
|
-
d?.type ===
|
|
3084
|
-
return !!(t.solidFill || t.borderColor || t.negativeFillColor || t.negativeBorderColor || t.axisColor || t.axisPosition || t.direction) || t.minPoint?.type ===
|
|
3083
|
+
d?.type === C.ScaleType.DataBar && function(t) {
|
|
3084
|
+
return !!(t.solidFill || t.borderColor || t.negativeFillColor || t.negativeBorderColor || t.axisColor || t.axisPosition || t.direction) || t.minPoint?.type === C.ColorStopType.AutoMin || t.maxPoint?.type === C.ColorStopType.AutoMax;
|
|
3085
3085
|
}(d) && (p = Pt(n.uuidV4), c.push({
|
|
3086
3086
|
guid: p,
|
|
3087
3087
|
sqref: a,
|
|
@@ -3092,13 +3092,13 @@ function ha(t, e, o, s, r, a, i, l, c) {
|
|
|
3092
3092
|
if (0 !== h || d) {
|
|
3093
3093
|
e.start("cfRule", m);
|
|
3094
3094
|
for (let t = 0; t < h; t++) e.start("formula"), e.text(f[t]), e.end("formula");
|
|
3095
|
-
if (d?.type ===
|
|
3095
|
+
if (d?.type === C.ScaleType.ColorScale) {
|
|
3096
3096
|
const t = d.stops ?? [];
|
|
3097
3097
|
e.start("colorScale");
|
|
3098
3098
|
for (let n = 0; n < t.length; n++) ca(e, t[n]);
|
|
3099
3099
|
for (let n = 0; n < t.length; n++) Ao(e, o, t[n].color, "color");
|
|
3100
3100
|
e.end("colorScale");
|
|
3101
|
-
} else if (d?.type ===
|
|
3101
|
+
} else if (d?.type === C.ScaleType.DataBar) {
|
|
3102
3102
|
e.start("dataBar", {
|
|
3103
3103
|
minLength: d.minLength ?? 0,
|
|
3104
3104
|
maxLength: d.maxLength ?? 100,
|
|
@@ -3106,7 +3106,7 @@ function ha(t, e, o, s, r, a, i, l, c) {
|
|
|
3106
3106
|
});
|
|
3107
3107
|
const [t, n] = fa(d);
|
|
3108
3108
|
ca(e, t), ca(e, n), Ao(e, o, d.color ?? "#638EC6", "color"), e.end("dataBar");
|
|
3109
|
-
} else if (d?.type ===
|
|
3109
|
+
} else if (d?.type === C.ScaleType.IconSet) {
|
|
3110
3110
|
const t = d.stops ?? [];
|
|
3111
3111
|
e.start("iconSet", {
|
|
3112
3112
|
iconSet: d.iconSet,
|
|
@@ -3127,10 +3127,10 @@ function ua(t) {
|
|
|
3127
3127
|
const o = t.split(" ");
|
|
3128
3128
|
for (let t = 0; t < o.length; t++) {
|
|
3129
3129
|
if (!o[t]) continue;
|
|
3130
|
-
const s =
|
|
3130
|
+
const s = S.fastStringToRange(o[t]);
|
|
3131
3131
|
s.rowStart < e && (e = s.rowStart), s.colStart < n && (n = s.colStart);
|
|
3132
3132
|
}
|
|
3133
|
-
return
|
|
3133
|
+
return S.cellToString({
|
|
3134
3134
|
rowIndex: e,
|
|
3135
3135
|
colIndex: n
|
|
3136
3136
|
});
|
|
@@ -3140,12 +3140,12 @@ function ga(t) {
|
|
|
3140
3140
|
if (Array.isArray(t)) {
|
|
3141
3141
|
const e = [];
|
|
3142
3142
|
for (let n = 0; n < t.length; n++) {
|
|
3143
|
-
const o =
|
|
3143
|
+
const o = S.rangeToString(t[n]);
|
|
3144
3144
|
o && e.push(o);
|
|
3145
3145
|
}
|
|
3146
3146
|
return e.length > 0 ? e.join(" ") : null;
|
|
3147
3147
|
}
|
|
3148
|
-
return
|
|
3148
|
+
return S.rangeToString(t);
|
|
3149
3149
|
}
|
|
3150
3150
|
function xa(t) {
|
|
3151
3151
|
if (void 0 !== t) return t ? "1" : "0";
|
|
@@ -3170,7 +3170,7 @@ function wa(t) {
|
|
|
3170
3170
|
const o = t.split(" ");
|
|
3171
3171
|
for (let t = 0; t < o.length; t++) {
|
|
3172
3172
|
if (!o[t]) continue;
|
|
3173
|
-
const s =
|
|
3173
|
+
const s = S.fastStringToRange(o[t]);
|
|
3174
3174
|
s.rowStart < e && (e = s.rowStart), s.colStart < n && (n = s.colStart);
|
|
3175
3175
|
}
|
|
3176
3176
|
return e === Number.MAX_SAFE_INTEGER ? null : {
|
|
@@ -3182,7 +3182,7 @@ function Sa(t, e, n) {
|
|
|
3182
3182
|
if ("string" != typeof t || !t || !e || !n) return t;
|
|
3183
3183
|
try {
|
|
3184
3184
|
const o = n.parse(t, e);
|
|
3185
|
-
return o &&
|
|
3185
|
+
return o && M.image(n.spell(o, !0), { at: e }) || t;
|
|
3186
3186
|
} catch {
|
|
3187
3187
|
return t;
|
|
3188
3188
|
}
|
|
@@ -3198,7 +3198,7 @@ function ba(t, e, n) {
|
|
|
3198
3198
|
value: s
|
|
3199
3199
|
};
|
|
3200
3200
|
};
|
|
3201
|
-
if (t.type ===
|
|
3201
|
+
if (t.type === C.ScaleType.DataBar) {
|
|
3202
3202
|
const e = o(t.minPoint), n = o(t.maxPoint);
|
|
3203
3203
|
if (e === t.minPoint && n === t.maxPoint) return t;
|
|
3204
3204
|
const s = { ...t };
|
|
@@ -3220,7 +3220,7 @@ function Ca(t) {
|
|
|
3220
3220
|
const e = t.getDataValidations().getSettings(), n = {};
|
|
3221
3221
|
return e.disablePrompts && (n.disablePrompts = "1"), void 0 !== e.windowX && (n.xWindow = e.windowX), void 0 !== e.windowY && (n.yWindow = e.windowY), n;
|
|
3222
3222
|
}
|
|
3223
|
-
function
|
|
3223
|
+
function Ta(t, e, n) {
|
|
3224
3224
|
if (!n || 0 === n.length) return;
|
|
3225
3225
|
const o = n.filter((t) => !t.automatic).length;
|
|
3226
3226
|
t.start(e, {
|
|
@@ -3233,7 +3233,7 @@ function ka(t, e, n) {
|
|
|
3233
3233
|
}
|
|
3234
3234
|
t.end(e);
|
|
3235
3235
|
}
|
|
3236
|
-
function
|
|
3236
|
+
function ka(t, e, n, o) {
|
|
3237
3237
|
if (!o?.xml) return;
|
|
3238
3238
|
const s = t.addPart("legacyDrawing", o);
|
|
3239
3239
|
e.empty(n, { "r:id": s.relId });
|
|
@@ -3325,7 +3325,7 @@ var Ia = (t, e, n, o) => {
|
|
|
3325
3325
|
si: void 0
|
|
3326
3326
|
};
|
|
3327
3327
|
function La(t, e) {
|
|
3328
|
-
const n =
|
|
3328
|
+
const n = ke.test(e) ? Fe : void 0;
|
|
3329
3329
|
t.start("t", n), t.text(ie(e)), t.end("t");
|
|
3330
3330
|
}
|
|
3331
3331
|
var _a = (t) => String(Math.round(1e3 * t)), Na = (t) => void 0 === t ? void 0 : t ? "1" : "0", $a = /* @__PURE__ */ new Set([
|
|
@@ -3721,7 +3721,7 @@ var Ka = [
|
|
|
3721
3721
|
uri: "http://schemas.microsoft.com/office/drawing/2015/9/8/chartex"
|
|
3722
3722
|
};
|
|
3723
3723
|
})(d);
|
|
3724
|
-
g.start("mc:AlternateContent", { "xmlns:mc":
|
|
3724
|
+
g.start("mc:AlternateContent", { "xmlns:mc": ki }), g.start("mc:Choice", {
|
|
3725
3725
|
[`xmlns:${x.prefix}`]: x.uri,
|
|
3726
3726
|
Requires: x.prefix
|
|
3727
3727
|
}), wi(t, e, n, o, m, u.relId, s), g.end("mc:Choice"), g.start("mc:Fallback"), Ei(g, l(), "This chart isn't available in your version of Excel.\n\nEditing this shape or saving this workbook into a different file format will permanently break the chart."), g.end("mc:Fallback"), g.end("mc:AlternateContent");
|
|
@@ -3765,7 +3765,7 @@ var Ka = [
|
|
|
3765
3765
|
}, Ci = async (t, e, n, o, s) => {
|
|
3766
3766
|
const r = t.getXMLWriter(), a = {}, i = o.content?.json, l = i?.type ?? h.Type.Shape, c = e.getStyles();
|
|
3767
3767
|
l === h.Type.Connector ? (void 0 !== i?.macro && (a.macro = i.macro), void 0 !== i?.published && (a.fPublished = i.published ? "1" : "0"), r.start("cxnSp", a), r.start("nvCxnSpPr"), Li(t, r, n, o, e), $i(t, r, n, o, e), r.end("nvCxnSpPr"), await Ai(t, e, n, o, s), Di(t, e, n, o), Ga(t, c, i?.text), r.end("cxnSp")) : (void 0 !== i?.macro && (a.macro = i.macro), void 0 !== i?.textLink && (a.textlink = i.textLink), void 0 !== i?.locksText && (a.fLocksText = i.locksText ? "1" : "0"), void 0 !== i?.published && (a.fPublished = i.published ? "1" : "0"), r.start("sp", a), r.start("nvSpPr"), Li(t, r, n, o, e), $i(t, r, n, o, e), r.end("nvSpPr"), await Ai(t, e, n, o, s), Di(t, e, n, o), Ga(t, c, i?.text), r.end("sp"));
|
|
3768
|
-
},
|
|
3768
|
+
}, Ti = async (t, e, n, o) => Pi(t, e, o, n.getBounds()), ki = "http://schemas.openxmlformats.org/markup-compatibility/2006", Ii = "http://schemas.microsoft.com/office/drawing/2010/slicer", Ri = "http://schemas.microsoft.com/office/drawing/2012/timeslicer", Fi = async (t, e, n, o) => {
|
|
3769
3769
|
const s = t.getXMLWriter(), r = o.content?.name ?? "", a = Cr(n.getContent()), i = void 0 !== a?.timeline, l = i ? {
|
|
3770
3770
|
"xmlns:tsle": Ri,
|
|
3771
3771
|
Requires: "tsle"
|
|
@@ -3776,7 +3776,7 @@ var Ka = [
|
|
|
3776
3776
|
"xmlns:sle15": "http://schemas.microsoft.com/office/drawing/2012/slicer",
|
|
3777
3777
|
Requires: "sle15"
|
|
3778
3778
|
}, c = i ? "Timeline: Works in Excel 2013 or higher. Do not move or resize." : a ? "This shape represents a slicer. Slicers are supported in Excel 2010 or later.\n\nIf the shape was modified in an earlier version of Excel, or if the workbook was saved in Excel 2003 or earlier, the slicer cannot be used." : "This shape represents a table slicer. Table slicers are not supported in this version of Excel.\n\nIf the shape was modified in an earlier version of Excel, or if the workbook was saved in Excel 2007 or earlier, the slicer can't be used.";
|
|
3779
|
-
s.start("mc:AlternateContent", { "xmlns:mc":
|
|
3779
|
+
s.start("mc:AlternateContent", { "xmlns:mc": ki }), s.start("mc:Choice", l), s.start("graphicFrame", { macro: "" }), s.start("nvGraphicFramePr"), Li(t, s, n, o, e), s.empty("cNvGraphicFramePr"), s.end("nvGraphicFramePr"), s.start("xfrm"), s.empty("a:off", {
|
|
3780
3780
|
x: "0",
|
|
3781
3781
|
y: "0"
|
|
3782
3782
|
}), s.empty("a:ext", {
|
|
@@ -3983,7 +3983,7 @@ function Xi(t, e, n, o, s, r, a, i, l) {
|
|
|
3983
3983
|
parentId: a ? Hi(a) : void 0,
|
|
3984
3984
|
done: i ? "1" : void 0
|
|
3985
3985
|
};
|
|
3986
|
-
if (t.start("threadedComment", c), t.start("text",
|
|
3986
|
+
if (t.start("threadedComment", c), t.start("text", ke.test(r) || /[\n\r]/.test(r) ? Fe : void 0), t.text(r), t.end("text"), l && l.length > 0) {
|
|
3987
3987
|
t.start("mentions");
|
|
3988
3988
|
for (let e = 0; e < l.length; e++) {
|
|
3989
3989
|
const n = l[e];
|
|
@@ -4008,7 +4008,7 @@ var Ui = {
|
|
|
4008
4008
|
function Gi(t, e, n, o) {
|
|
4009
4009
|
if (null == o) return;
|
|
4010
4010
|
Ui.rowIndex = e, Ui.colIndex = n;
|
|
4011
|
-
const s =
|
|
4011
|
+
const s = S.cellToString(Ui);
|
|
4012
4012
|
let r, a;
|
|
4013
4013
|
switch (typeof o) {
|
|
4014
4014
|
case "number":
|
|
@@ -4072,7 +4072,7 @@ var qi = [
|
|
|
4072
4072
|
...t.styles,
|
|
4073
4073
|
direct: a.list
|
|
4074
4074
|
}), n.setXfComplements(a.complements), s;
|
|
4075
|
-
}(s, t.getSheets({ visibility:
|
|
4075
|
+
}(s, t.getSheets({ visibility: T.Visibility.VeryHidden }), r, (t, n) => {
|
|
4076
4076
|
e.warn(t, void 0, n);
|
|
4077
4077
|
});
|
|
4078
4078
|
e.getSharedStates().set(pt, mt(s.names, function(t) {
|
|
@@ -4117,7 +4117,7 @@ var qi = [
|
|
|
4117
4117
|
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));
|
|
4118
4118
|
const i = o.getTabRatio();
|
|
4119
4119
|
600 !== i && (s.tabRatio = i);
|
|
4120
|
-
const l = Math.min(o.getFirstTab(), n.getSheets({ visibility:
|
|
4120
|
+
const l = Math.min(o.getFirstTab(), n.getSheets({ visibility: T.Visibility.VeryHidden }).length - 1);
|
|
4121
4121
|
l > 0 && (s.firstSheet = "" + l);
|
|
4122
4122
|
const c = n.getSelectedSheet().getIndex();
|
|
4123
4123
|
0 !== c && (s.activeTab = "" + c), o.isAutoFilterDateGrouping() || (s.autoFilterDateGrouping = "0"), e.empty("workbookView", s), e.end("bookViews");
|
|
@@ -4173,9 +4173,9 @@ var qi = [
|
|
|
4173
4173
|
}
|
|
4174
4174
|
return s;
|
|
4175
4175
|
})(e, s.pivotCaches, !0 === s.date1904, ((t) => {
|
|
4176
|
-
const e = /* @__PURE__ */ new Set(), n = t.getWorksheets().getItems({ visibility:
|
|
4176
|
+
const e = /* @__PURE__ */ new Set(), n = t.getWorksheets().getItems({ visibility: T.Visibility.VeryHidden });
|
|
4177
4177
|
for (let t = 0; t < n.length; t++) {
|
|
4178
|
-
const o =
|
|
4178
|
+
const o = kr(n[t]);
|
|
4179
4179
|
for (let t = 0; t < o.length; t++) {
|
|
4180
4180
|
const n = Cr(o[t]);
|
|
4181
4181
|
n?.tabular && void 0 !== n.cacheId && e.add(n.cacheId);
|
|
@@ -4188,9 +4188,9 @@ var qi = [
|
|
|
4188
4188
|
})(e, t), n.start("sheets");
|
|
4189
4189
|
const l = e.getSharedStates(), c = t.getStrings().beginPersist();
|
|
4190
4190
|
l.set("persistStrings", c);
|
|
4191
|
-
const d = new
|
|
4191
|
+
const d = new To();
|
|
4192
4192
|
l.set("metaCollector", d);
|
|
4193
|
-
const m = new
|
|
4193
|
+
const m = new ko(d, t, e.log.bind(e));
|
|
4194
4194
|
l.set("persistRichTypes", m), l.set(Zn, new Qn(s.styles, t.getStyles()));
|
|
4195
4195
|
let p = {
|
|
4196
4196
|
table: [],
|
|
@@ -4199,7 +4199,7 @@ var qi = [
|
|
|
4199
4199
|
cacheNames: []
|
|
4200
4200
|
};
|
|
4201
4201
|
try {
|
|
4202
|
-
const o = t.getSheets({ visibility:
|
|
4202
|
+
const o = t.getSheets({ visibility: T.Visibility.VeryHidden }), i = s.sheets, d = t.getSelectedSheet(), m = o.length, f = ((t, e) => {
|
|
4203
4203
|
const n = new Array(e), o = /* @__PURE__ */ new Set();
|
|
4204
4204
|
let s = 1;
|
|
4205
4205
|
for (let r = 0; r < e; r++) {
|
|
@@ -4267,16 +4267,16 @@ var qi = [
|
|
|
4267
4267
|
pivot: [],
|
|
4268
4268
|
timeline: [],
|
|
4269
4269
|
cacheNames: []
|
|
4270
|
-
}, o = pr(t), s = e.getWorksheets().getItems({ visibility:
|
|
4270
|
+
}, o = pr(t), s = e.getWorksheets().getItems({ visibility: T.Visibility.VeryHidden });
|
|
4271
4271
|
for (let e = 0; e < s.length; e++) {
|
|
4272
|
-
const r =
|
|
4272
|
+
const r = kr(s[e]);
|
|
4273
4273
|
for (let e = 0; e < r.length; e++) {
|
|
4274
4274
|
const s = r[e], a = null !== Cr(s);
|
|
4275
4275
|
if (!a && !o.has(s.getTable())) {
|
|
4276
4276
|
t.log(`The slicer '${s.getName?.() ?? ""}' names a table that was not written; its cache was dropped.`);
|
|
4277
4277
|
continue;
|
|
4278
4278
|
}
|
|
4279
|
-
if (
|
|
4279
|
+
if (Tr(s)) {
|
|
4280
4280
|
const e = t.addPart("timelineCache", s);
|
|
4281
4281
|
e.relId && n.timeline.push(e.relId);
|
|
4282
4282
|
continue;
|
|
@@ -4339,7 +4339,7 @@ var qi = [
|
|
|
4339
4339
|
}(e, n, s), function(t, e, n, o, s) {
|
|
4340
4340
|
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()));
|
|
4341
4341
|
if (0 === i && 0 === c.length) return;
|
|
4342
|
-
const d = /* @__PURE__ */ new Map(), m = n.getSheets({ visibility:
|
|
4342
|
+
const d = /* @__PURE__ */ new Map(), m = n.getSheets({ visibility: T.Visibility.VeryHidden });
|
|
4343
4343
|
for (let t = 0; t < m.length; t++) d.set(m[t].getName().toLowerCase(), t);
|
|
4344
4344
|
e.start("definedNames");
|
|
4345
4345
|
for (let n = 0; n < i; n++) {
|
|
@@ -4509,7 +4509,7 @@ var qi = [
|
|
|
4509
4509
|
rowEnd: a.rowEnd
|
|
4510
4510
|
}).getAddress()}`), e.empty("dimension", { ref: f });
|
|
4511
4511
|
}(0, s, r, i), function(t, e, n, o, s) {
|
|
4512
|
-
const r = n.getView(), a = r.getTopLeft(), i = n.getRowHeaders().getMetrics().getIndex(a.top), l = n.getColumnHeaders().getMetrics().getIndex(a.left), c =
|
|
4512
|
+
const r = n.getView(), a = r.getTopLeft(), i = n.getRowHeaders().getMetrics().getIndex(a.top), l = n.getColumnHeaders().getMetrics().getIndex(a.left), c = S.cellToString({
|
|
4513
4513
|
colIndex: l,
|
|
4514
4514
|
rowIndex: i
|
|
4515
4515
|
});
|
|
@@ -4517,7 +4517,7 @@ var qi = [
|
|
|
4517
4517
|
const d = {};
|
|
4518
4518
|
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");
|
|
4519
4519
|
const m = r.getViewMode();
|
|
4520
|
-
m !==
|
|
4520
|
+
m !== b.ViewMode.Normal && (d.view = m);
|
|
4521
4521
|
const p = r.getZoomScale();
|
|
4522
4522
|
100 !== p && (d.zoomScale = p);
|
|
4523
4523
|
const f = r.toJSON(), h = f?.zoomScales ?? {};
|
|
@@ -4538,17 +4538,17 @@ var qi = [
|
|
|
4538
4538
|
d.colorId = "" + i;
|
|
4539
4539
|
}
|
|
4540
4540
|
d.workbookViewId = "0";
|
|
4541
|
-
const g = n.getSelection().getCoords(), x =
|
|
4541
|
+
const g = n.getSelection().getCoords(), x = S.cellToString(g.cell);
|
|
4542
4542
|
let y = {};
|
|
4543
|
-
const v = r.getFreezePanes(), w = v.coords ?? {},
|
|
4544
|
-
if (
|
|
4545
|
-
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 =
|
|
4543
|
+
const v = r.getFreezePanes(), w = v.coords ?? {}, C = w.colIndex ?? 0, T = w.rowIndex ?? 0;
|
|
4544
|
+
if (C > 0 || T > 0) {
|
|
4545
|
+
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 = C - i, c = T - r, m = Math.max(C, n.getColumnHeaders().getMetrics().getIndex(a.left + n.getColumnHeaders().getMetrics().getOffset(C) - s)), p = Math.max(T, n.getRowHeaders().getMetrics().getIndex(a.top + n.getRowHeaders().getMetrics().getOffset(T) - o)), f = S.cellToString({
|
|
4546
4546
|
colIndex: i,
|
|
4547
4547
|
rowIndex: r
|
|
4548
4548
|
});
|
|
4549
4549
|
"A1" !== f ? d.topLeftCell = f : delete d.topLeftCell, e.start("sheetView", d);
|
|
4550
4550
|
const h = {};
|
|
4551
|
-
l > 0 && (h.xSplit = l), c > 0 && (h.ySplit = c), h.topLeftCell =
|
|
4551
|
+
l > 0 && (h.xSplit = l), c > 0 && (h.ySplit = c), h.topLeftCell = S.cellToString({
|
|
4552
4552
|
colIndex: m,
|
|
4553
4553
|
rowIndex: p
|
|
4554
4554
|
}), h.state = "frozen";
|
|
@@ -4562,27 +4562,27 @@ var qi = [
|
|
|
4562
4562
|
sqref: s?.sqref ?? r
|
|
4563
4563
|
});
|
|
4564
4564
|
};
|
|
4565
|
-
0 ===
|
|
4565
|
+
0 === C ? (h.activePane = "bottomLeft", e.empty("pane", h), g("topLeft", S.cellToString({
|
|
4566
4566
|
colIndex: m,
|
|
4567
4567
|
rowIndex: r
|
|
4568
|
-
}), !1), y.pane = "bottomLeft") : 0 ===
|
|
4568
|
+
}), !1), y.pane = "bottomLeft") : 0 === T ? (h.activePane = "topRight", e.empty("pane", h), g("topLeft", S.cellToString({
|
|
4569
4569
|
colIndex: i,
|
|
4570
4570
|
rowIndex: p
|
|
4571
|
-
}), !1), y.pane = "topRight") : (h.activePane = "bottomRight", e.empty("pane", h), g("topLeft", f, !1), g("topRight",
|
|
4571
|
+
}), !1), y.pane = "topRight") : (h.activePane = "bottomRight", e.empty("pane", h), g("topLeft", f, !1), g("topRight", S.cellToString({
|
|
4572
4572
|
colIndex: m,
|
|
4573
4573
|
rowIndex: r
|
|
4574
|
-
}), !0), g("bottomLeft",
|
|
4574
|
+
}), !0), g("bottomLeft", S.cellToString({
|
|
4575
4575
|
colIndex: i,
|
|
4576
4576
|
rowIndex: p
|
|
4577
4577
|
}), !0), y.pane = "bottomRight");
|
|
4578
4578
|
} else e.start("sheetView", d);
|
|
4579
4579
|
y.activeCell = x;
|
|
4580
|
-
const
|
|
4581
|
-
if (
|
|
4580
|
+
const k = g.ranges, I = k ? k.length : 0;
|
|
4581
|
+
if (I > 0) {
|
|
4582
4582
|
let t = "";
|
|
4583
|
-
for (let e = 0; e <
|
|
4584
|
-
const n =
|
|
4585
|
-
e > 0 && (t += " "), t +=
|
|
4583
|
+
for (let e = 0; e < I; e++) {
|
|
4584
|
+
const n = k[e];
|
|
4585
|
+
e > 0 && (t += " "), t += S.rangeToString(n);
|
|
4586
4586
|
}
|
|
4587
4587
|
y.sqref = t, (g.rangeIndex ?? 0) > 0 && (y.activeCellId = "" + g.rangeIndex);
|
|
4588
4588
|
} else "A1" === x ? y = null : y.sqref = x;
|
|
@@ -4598,7 +4598,7 @@ var qi = [
|
|
|
4598
4598
|
thickBottom: s,
|
|
4599
4599
|
run: n
|
|
4600
4600
|
};
|
|
4601
|
-
}, s = t.defaultRowSize ?? e, r = t.rows ?
|
|
4601
|
+
}, s = t.defaultRowSize ?? e, r = t.rows ? S.refsToRuns(t.rows, !1) : null;
|
|
4602
4602
|
let a = null, i = 0;
|
|
4603
4603
|
const l = r ? r.length : 0;
|
|
4604
4604
|
for (let t = 0; t < l; t++) {
|
|
@@ -4609,7 +4609,7 @@ var qi = [
|
|
|
4609
4609
|
})(i, .75 * r.getStyles().getNormal().getBestFit().height, r.getEntireRange().getRowEnd() + 1);
|
|
4610
4610
|
(function(t, e, n, o, s) {
|
|
4611
4611
|
const r = o.defaultColSize, a = o.defaultRowSize, i = {};
|
|
4612
|
-
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(
|
|
4612
|
+
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(S.refsToRuns(o.rows, !1)) && (i.zeroHeight = "1"), s?.thickTop && (i.thickTop = "1"), s?.thickBottom && (i.thickBottom = "1");
|
|
4613
4613
|
const l = n.getOutline(), c = l.getLevelCount(v.Axis.Row);
|
|
4614
4614
|
c > 0 && (i.outlineLevelRow = c);
|
|
4615
4615
|
const d = l.getLevelCount(v.Axis.Column);
|
|
@@ -4617,7 +4617,7 @@ var qi = [
|
|
|
4617
4617
|
})(0, s, r, i, c);
|
|
4618
4618
|
const d = !1 === i.protection?.showFormulas ? e.getSharedStates().get("xfVariants") ?? null : null;
|
|
4619
4619
|
(function(t, e, n, o, s) {
|
|
4620
|
-
const r = o.cols ?
|
|
4620
|
+
const r = o.cols ? S.refsToRuns(o.cols, !0) : null, a = r ? r.length : 0;
|
|
4621
4621
|
n.getEntireRange().getColumnEnd();
|
|
4622
4622
|
const i = n.getColumnHeaders().getDefaultSizeNative(), l = s ? s.getXf(0, !0, !1) : 0;
|
|
4623
4623
|
let c = 1;
|
|
@@ -4653,7 +4653,7 @@ var qi = [
|
|
|
4653
4653
|
for (const n of t.pivotTables ?? []) {
|
|
4654
4654
|
const t = n.buttons?.length ? te(n) : null;
|
|
4655
4655
|
if (t) for (const o of n.buttons) {
|
|
4656
|
-
const n =
|
|
4656
|
+
const n = S.fastStringToRange(o);
|
|
4657
4657
|
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) * Ra + t.colStart + s);
|
|
4658
4658
|
}
|
|
4659
4659
|
}
|
|
@@ -4665,15 +4665,15 @@ var qi = [
|
|
|
4665
4665
|
o && (e ??= []).push({
|
|
4666
4666
|
table: n,
|
|
4667
4667
|
coords: o,
|
|
4668
|
-
formats: t?.header ?
|
|
4668
|
+
formats: t?.header ? F(t) : null
|
|
4669
4669
|
});
|
|
4670
4670
|
}
|
|
4671
4671
|
return e;
|
|
4672
4672
|
}(n);
|
|
4673
4673
|
let g = 0, y = 0;
|
|
4674
|
-
const
|
|
4675
|
-
let
|
|
4676
|
-
const
|
|
4674
|
+
const b = n.getUsedRange();
|
|
4675
|
+
let C = 0;
|
|
4676
|
+
const T = l?.run, k = s.rows ? S.refsToRuns(s.rows, !1) : null, I = s.defaultRowSize ?? .75 * n.getStyles().getNormal().getBestFit().height, R = k && T ? ((t, e, n, o) => {
|
|
4677
4677
|
const s = [];
|
|
4678
4678
|
let r = 0;
|
|
4679
4679
|
const a = (t, e) => {
|
|
@@ -4688,26 +4688,26 @@ var qi = [
|
|
|
4688
4688
|
a(r, o.min - 1), r = o.max + 1, o.min === e.min && o.max === e.max || s.push(o);
|
|
4689
4689
|
}
|
|
4690
4690
|
return a(r, o - 1), s;
|
|
4691
|
-
})(
|
|
4692
|
-
if (
|
|
4693
|
-
const c = .75,
|
|
4691
|
+
})(k, T, I, n.getEntireRange().getRowEnd() + 1) : k, E = R ? R.length : 0, A = ra(R), D = null !== A ? A - 1 : R?.[E - 1]?.max ?? -1, _ = s.cols ? S.refsToRuns(s.cols, !0) : null, N = _ ? _.length : 0, $ = _?.[N - 1]?.max ?? -1;
|
|
4692
|
+
if (b || E > 0) {
|
|
4693
|
+
const c = .75, b = s.defaultRowSize ?? n.getRowHeaders().getMetrics().getDefaultSize() * c, T = n.getStyles().getNormal().getBestFit().height * c, k = sa(n.getOutline(), v.Axis.Row), I = (t, e) => {
|
|
4694
4694
|
const n = Ma;
|
|
4695
4695
|
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;
|
|
4696
4696
|
const o = e.value;
|
|
4697
4697
|
void 0 !== o.s && (n.s = "" + (i ? i.getXf(o.s, !0, !1) : o.s), n.customFormat = "1"), o.h && (n.hidden = "1");
|
|
4698
|
-
const s = o.csz ?? !1, r = o.sz ??
|
|
4699
|
-
return (r !== (l?.height ??
|
|
4698
|
+
const s = o.csz ?? !1, r = o.sz ?? b;
|
|
4699
|
+
return (r !== (l?.height ?? T) || s) && (n.ht = "" + r), s && (n.customHeight = "1"), o.l && (n.outlineLevel = "" + o.l), k.has(t) && (n.collapsed = "1"), o.tt && (n.thickTop = "1"), o.tb && (n.thickBot = "1"), n;
|
|
4700
4700
|
};
|
|
4701
|
-
let
|
|
4701
|
+
let F = 0, E = R?.[F] ?? null, N = E?.min ?? Number.MAX_SAFE_INTEGER, B = E?.max ?? Number.MAX_SAFE_INTEGER, O = E?.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;
|
|
4702
4702
|
const U = (t, n = !1) => {
|
|
4703
4703
|
if (V !== t) {
|
|
4704
4704
|
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;) {
|
|
4705
|
-
V++,
|
|
4706
|
-
const o = V < t || n && V === t, s =
|
|
4705
|
+
V++, E && V > B && (E = R[++F] ?? null, E ? (N = E.min, B = E.max, O = E.value?.s) : (N = Number.MAX_SAFE_INTEGER, B = Number.MAX_SAFE_INTEGER, O = void 0)), V < N && V < t && null === A && (V = E ? Math.min(N, t) : t), null !== A && V >= A && V < t && (V = t);
|
|
4706
|
+
const o = V < t || n && V === t, s = I(V, E && V >= N && V <= B ? E : null);
|
|
4707
4707
|
o ? e.empty("row", s) : e.start("row", s);
|
|
4708
4708
|
}
|
|
4709
4709
|
if (t < V) {
|
|
4710
|
-
const n =
|
|
4710
|
+
const n = I(t, null);
|
|
4711
4711
|
e.start("row", n);
|
|
4712
4712
|
}
|
|
4713
4713
|
}
|
|
@@ -4761,22 +4761,22 @@ var qi = [
|
|
|
4761
4761
|
const y = {
|
|
4762
4762
|
rowIndex: u.rowStart,
|
|
4763
4763
|
colIndex: u.colStart
|
|
4764
|
-
}, v = c.parse(g, y), w = v ? c.annotate(v) : void 0,
|
|
4765
|
-
let
|
|
4766
|
-
if (
|
|
4764
|
+
}, v = c.parse(g, y), w = v ? c.annotate(v) : void 0, b = v ? c.spell(v, f.has(`${u.rowStart},${u.colStart}`), p(u.rowStart, u.colStart)) : null;
|
|
4765
|
+
let T = b ? M.imager(b, { entireCoords: d }) : null;
|
|
4766
|
+
if (T) g = T(y);
|
|
4767
4767
|
else if (!o.isSingleCell(u)) {
|
|
4768
4768
|
const t = [];
|
|
4769
|
-
|
|
4769
|
+
S.normalizeA1ToR1C1(g, y.rowIndex, y.colIndex, t), T = (e) => {
|
|
4770
4770
|
const n = e ?? y;
|
|
4771
|
-
return
|
|
4771
|
+
return S.resolveRelativeToA1(t, n.rowIndex, n.colIndex);
|
|
4772
4772
|
};
|
|
4773
4773
|
}
|
|
4774
4774
|
if (g.length > 8192) {
|
|
4775
|
-
t.warn(`The formula at '${n.getName()}'!${
|
|
4775
|
+
t.warn(`The formula at '${n.getName()}'!${S.rangeToString(u)} is ${g.length.toLocaleString()} characters as xlsx stores it; Excel allows at most ${8192 .toLocaleString()}. Its cells are saved as values.`, void 0, "xlsx.formula.lengthLimit");
|
|
4776
4776
|
continue;
|
|
4777
4777
|
}
|
|
4778
4778
|
let k = !0 === w?.cm;
|
|
4779
|
-
const
|
|
4779
|
+
const I = !0 === w?.ca;
|
|
4780
4780
|
if (r.affects(s)) {
|
|
4781
4781
|
x = null, k = !1;
|
|
4782
4782
|
const t = (t, e, n) => {
|
|
@@ -4790,7 +4790,7 @@ var qi = [
|
|
|
4790
4790
|
coords: o,
|
|
4791
4791
|
formula: n,
|
|
4792
4792
|
sharedId: null,
|
|
4793
|
-
ref:
|
|
4793
|
+
ref: S.rangeToString(o),
|
|
4794
4794
|
isDynamicRange: !1,
|
|
4795
4795
|
isWrapped: !0
|
|
4796
4796
|
}]);
|
|
@@ -4803,7 +4803,7 @@ var qi = [
|
|
|
4803
4803
|
t(r, a, o), s = !0;
|
|
4804
4804
|
continue;
|
|
4805
4805
|
}
|
|
4806
|
-
const i = n.getRange(
|
|
4806
|
+
const i = n.getRange(S.rangeToString({
|
|
4807
4807
|
rowStart: r,
|
|
4808
4808
|
colStart: a,
|
|
4809
4809
|
rowEnd: r,
|
|
@@ -4812,20 +4812,20 @@ var qi = [
|
|
|
4812
4812
|
null !== l && t(r, a, l);
|
|
4813
4813
|
}
|
|
4814
4814
|
} else m.forEach((e, n) => {
|
|
4815
|
-
const o = n.getCoords(), r =
|
|
4815
|
+
const o = n.getCoords(), r = T?.(o) ?? g, a = se(r, n.getCell().getValue());
|
|
4816
4816
|
null !== a && (t(o.rowIndex, o.colIndex, a), s = !0);
|
|
4817
4817
|
}, { includeEmpty: !0 });
|
|
4818
4818
|
if (s) continue;
|
|
4819
4819
|
}
|
|
4820
4820
|
const R = -1 !== g.indexOf("!") || -1 !== g.indexOf("[");
|
|
4821
|
-
k || m.isSingleCell() || R || l(u) || (x = "" +
|
|
4822
|
-
const F = null !== x || m.isSingleCell() ? null :
|
|
4821
|
+
k || m.isSingleCell() || R || l(u) || (x = "" + C++);
|
|
4822
|
+
const F = null !== x || m.isSingleCell() ? null : T, E = [u, {
|
|
4823
4823
|
coords: u,
|
|
4824
4824
|
formula: g,
|
|
4825
4825
|
sharedId: x,
|
|
4826
4826
|
ref: e,
|
|
4827
4827
|
isDynamicRange: k,
|
|
4828
|
-
isExcelVolatile:
|
|
4828
|
+
isExcelVolatile: I,
|
|
4829
4829
|
memberImage: F
|
|
4830
4830
|
}];
|
|
4831
4831
|
h.push(E);
|
|
@@ -4887,9 +4887,9 @@ var qi = [
|
|
|
4887
4887
|
Z > 0 && (b = o.getInjectedReference(2) ?? !1);
|
|
4888
4888
|
let C = null;
|
|
4889
4889
|
tt > 0 && (C = o.getInjectedReference(3) ?? null);
|
|
4890
|
-
const T = "error" === C?.kind,
|
|
4891
|
-
|
|
4892
|
-
const
|
|
4890
|
+
const T = "error" === C?.kind, k = "fixed" === C?.kind, I = Ea;
|
|
4891
|
+
I.r = o.getAddress(), I.s = void 0, I.t = void 0, I.cm = void 0, I.vm = void 0;
|
|
4892
|
+
const R = null !== h && h.has(r * Ra + l), F = null !== u ? function(t, e, n) {
|
|
4893
4893
|
for (const { table: o, coords: s, formats: r } of t) {
|
|
4894
4894
|
if (e < s.rowStart || e > s.rowEnd || n < s.colStart || n > s.colEnd) continue;
|
|
4895
4895
|
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;
|
|
@@ -4901,30 +4901,30 @@ var qi = [
|
|
|
4901
4901
|
}
|
|
4902
4902
|
return null;
|
|
4903
4903
|
}(u, r, l) : null;
|
|
4904
|
-
(i ||
|
|
4905
|
-
const
|
|
4906
|
-
let
|
|
4904
|
+
(i || R || null !== F) && (c = f.getXf(c ?? 0, null !== i, R, F?.labelIndent ?? null, F?.numberFormat ?? null, F?.user ?? null)), void 0 !== c && 0 !== c && (I.s = "" + c);
|
|
4905
|
+
const E = K.length > 0 ? o.getInjectedReference(4) ?? null : null;
|
|
4906
|
+
let M = null, A = null;
|
|
4907
4907
|
switch (v) {
|
|
4908
4908
|
case x.Boolean:
|
|
4909
|
-
|
|
4909
|
+
M = n ? "1" : "0", A = "b";
|
|
4910
4910
|
break;
|
|
4911
4911
|
case x.Error:
|
|
4912
4912
|
const t = n.getCode();
|
|
4913
|
-
if (A = "e", t > 7)
|
|
4913
|
+
if (A = "e", t > 7) M = w.BuiltIn.Value.getLabel(), I.vm = "" + p.add(n);
|
|
4914
4914
|
else if (t < 1) {
|
|
4915
4915
|
let t;
|
|
4916
|
-
A = "s", S ? (t = "=" + S.formula, S = null) : t = "" + n.getLabel(),
|
|
4917
|
-
} else
|
|
4916
|
+
A = "s", S ? (t = "=" + S.formula, S = null) : t = "" + n.getLabel(), M = "" + d.add(t), g++;
|
|
4917
|
+
} else M = "" + n.getLabel();
|
|
4918
4918
|
break;
|
|
4919
4919
|
case x.Number:
|
|
4920
|
-
|
|
4920
|
+
M = ot(n), A = null;
|
|
4921
4921
|
break;
|
|
4922
4922
|
case x.String:
|
|
4923
|
-
|
|
4923
|
+
M = n, S || E ? (A = "str", M = n) : (A = "s", M = "" + d.add(M), g++);
|
|
4924
4924
|
break;
|
|
4925
4925
|
case x.RichData:
|
|
4926
|
-
if (n instanceof
|
|
4927
|
-
S ||
|
|
4926
|
+
if (n instanceof P) {
|
|
4927
|
+
S || E ? (A = "str", M = n.getText()) : (A = "s", M = "" + d.add(function(t, e, n) {
|
|
4928
4928
|
const o = t.getRuns(), s = e.getCell().getRichText();
|
|
4929
4929
|
if (!s) return t.getText();
|
|
4930
4930
|
const r = new Array(o.length);
|
|
@@ -4941,21 +4941,21 @@ var qi = [
|
|
|
4941
4941
|
}
|
|
4942
4942
|
const i = JSON.stringify(r);
|
|
4943
4943
|
let l = n.get(i);
|
|
4944
|
-
return void 0 === l && (l = new
|
|
4944
|
+
return void 0 === l && (l = new P(r), n.set(i, l)), l;
|
|
4945
4945
|
}(n, o, et)), g++);
|
|
4946
4946
|
break;
|
|
4947
4947
|
}
|
|
4948
4948
|
if (n instanceof L) {
|
|
4949
4949
|
const t = n.toPrimitive();
|
|
4950
|
-
"number" == typeof t ?
|
|
4950
|
+
"number" == typeof t ? M = ot(t) : "boolean" == typeof t ? (A = "b", M = t ? "1" : "0") : S || E ? (A = "str", M = t) : (A = "s", M = "" + d.add(t), g++);
|
|
4951
4951
|
break;
|
|
4952
4952
|
}
|
|
4953
|
-
A = "e",
|
|
4953
|
+
A = "e", M = w.BuiltIn.Value.getLabel(), I.vm = "" + p.add(n, S?.formula ?? (E ? "" : null));
|
|
4954
4954
|
}
|
|
4955
|
-
A && (
|
|
4955
|
+
A && (I.t = A);
|
|
4956
4956
|
const D = !S?.isWrapped && (null !== C || (S?.isDynamicRange ?? !1));
|
|
4957
|
-
if (null !== S || null !==
|
|
4958
|
-
if (D && null !== S && !
|
|
4957
|
+
if (null !== S || null !== M || null !== E) {
|
|
4958
|
+
if (D && null !== S && !k && (I.cm = "" + m.registerArrayCell(T)), e.start("c", I), S) {
|
|
4959
4959
|
const t = r === S.coords.rowStart && l === S.coords.colStart;
|
|
4960
4960
|
let n = S.formula;
|
|
4961
4961
|
S.memberImage && !t && (n = S.memberImage({
|
|
@@ -4968,18 +4968,18 @@ var qi = [
|
|
|
4968
4968
|
o = Aa;
|
|
4969
4969
|
const t = S.coords;
|
|
4970
4970
|
t.colStart === l && t.rowStart === r ? (o.ref = S.ref, o.si = a, s = S.formula) : (o.ref = void 0, o.si = a);
|
|
4971
|
-
} else D ? (o = Da, o.aca = T ? "1" : void 0, o.ref = T ?
|
|
4971
|
+
} else D ? (o = Da, o.aca = T ? "1" : void 0, o.ref = T ? I.r : C?.ref ?? I.r, s = n) : (o = Pa, s = n);
|
|
4972
4972
|
o.ca = b || T || S.isExcelVolatile ? "1" : void 0, s ? (e.start("f", o), e.text(s), e.end("f")) : e.empty("f", o);
|
|
4973
|
-
} else
|
|
4974
|
-
...
|
|
4973
|
+
} else E && e.empty("f", b ? {
|
|
4974
|
+
...E,
|
|
4975
4975
|
ca: "1"
|
|
4976
|
-
} :
|
|
4977
|
-
null !==
|
|
4978
|
-
} else y++ < aa ? e.empty("c",
|
|
4976
|
+
} : E);
|
|
4977
|
+
null !== M && ("str" === A && M ? (e.start("v", ke.test(M) ? Fe : void 0), e.text(ie(M))) : (e.start("v"), M && e.text(M)), e.end("v")), e.end("c");
|
|
4978
|
+
} else y++ < aa ? e.empty("c", I) : 1048577 === y && t.warn(`Reached ${aa} style-only cells at '${I.r}'; not writing the rest.`);
|
|
4979
4979
|
}, {
|
|
4980
4980
|
injectReferences: G,
|
|
4981
4981
|
features: []
|
|
4982
|
-
}), -1 !== V && V >=
|
|
4982
|
+
}), -1 !== V && V >= D ? e.end("row") : U(D, !0), e.end("sheetData"), e.setValidationDisabled(!1);
|
|
4983
4983
|
} else e.empty("sheetData");
|
|
4984
4984
|
if (g > 0) {
|
|
4985
4985
|
const t = c.get("stringsCount") ?? 0;
|
|
@@ -4992,7 +4992,7 @@ var qi = [
|
|
|
4992
4992
|
for (let t = 0; t < n; t++) {
|
|
4993
4993
|
s[t] = null;
|
|
4994
4994
|
try {
|
|
4995
|
-
const n =
|
|
4995
|
+
const n = M.parse(e[t][1]);
|
|
4996
4996
|
if (!n) continue;
|
|
4997
4997
|
let r = null;
|
|
4998
4998
|
const a = (t) => {
|
|
@@ -5064,7 +5064,7 @@ var qi = [
|
|
|
5064
5064
|
if (s > 0) {
|
|
5065
5065
|
e.start("mergeCells", { count: s });
|
|
5066
5066
|
for (let t = 0; t < s; t++) {
|
|
5067
|
-
const n = o.merges[t], s = "string" == typeof n ? n :
|
|
5067
|
+
const n = o.merges[t], s = "string" == typeof n ? n : S.rangeToString(n);
|
|
5068
5068
|
e.empty("mergeCell", { ref: s });
|
|
5069
5069
|
}
|
|
5070
5070
|
e.end("mergeCells");
|
|
@@ -5093,7 +5093,7 @@ var qi = [
|
|
|
5093
5093
|
scale: x
|
|
5094
5094
|
});
|
|
5095
5095
|
const y = x ? { type: x.type } : vt(l.condition, ua(c), (e, n) => t.warn(e, void 0, n));
|
|
5096
|
-
y ? (y.formulas && (y.formulas = y.formulas.map((t) => Sa(t, g, p))), x?.type ===
|
|
5096
|
+
y ? (y.formulas && (y.formulas = y.formulas.map((t) => Sa(t, g, p))), x?.type === C.ScaleType.IconSet && pa(x) ? (h++, u(l), a.push({
|
|
5097
5097
|
guid: Pt(n.uuidV4),
|
|
5098
5098
|
sqref: c,
|
|
5099
5099
|
priority: h,
|
|
@@ -5213,12 +5213,12 @@ var qi = [
|
|
|
5213
5213
|
e.start("headerFooter", t);
|
|
5214
5214
|
for (const t of n) {
|
|
5215
5215
|
const n = ie(d[t]);
|
|
5216
|
-
e.start(t,
|
|
5216
|
+
e.start(t, ke.test(n) ? Fe : void 0), e.text(n), e.end(t);
|
|
5217
5217
|
}
|
|
5218
5218
|
e.end("headerFooter");
|
|
5219
5219
|
}
|
|
5220
5220
|
}
|
|
5221
|
-
|
|
5221
|
+
Ta(e, "rowBreaks", n.rowBreaks), Ta(e, "colBreaks", n.columnBreaks);
|
|
5222
5222
|
}(e, s, i.pageLayout), function(t, e) {
|
|
5223
5223
|
if (!e?.length) return;
|
|
5224
5224
|
const n = /* @__PURE__ */ new Map();
|
|
@@ -5283,7 +5283,7 @@ var qi = [
|
|
|
5283
5283
|
comments: n
|
|
5284
5284
|
});
|
|
5285
5285
|
}(r);
|
|
5286
|
-
|
|
5286
|
+
ka(e, s, "legacyDrawing", ((t, e) => {
|
|
5287
5287
|
if (!e) return t;
|
|
5288
5288
|
const n = t?.xml ?? null;
|
|
5289
5289
|
let o = Ve(n ?? "");
|
|
@@ -5349,7 +5349,7 @@ var qi = [
|
|
|
5349
5349
|
...e,
|
|
5350
5350
|
xml: i
|
|
5351
5351
|
} : { xml: i } : e;
|
|
5352
|
-
})(r, i.legacyDrawing ?? null, l), u)),
|
|
5352
|
+
})(r, i.legacyDrawing ?? null, l), u)), ka(e, s, "legacyDrawingHF", i.legacyDrawingHF ?? null), await async function(t, e, n) {
|
|
5353
5353
|
const o = n.getPicture();
|
|
5354
5354
|
if (!o) return;
|
|
5355
5355
|
const s = o.getResource(), r = await s.getExternalURI();
|
|
@@ -5433,7 +5433,7 @@ var qi = [
|
|
|
5433
5433
|
}
|
|
5434
5434
|
e.end("tableParts");
|
|
5435
5435
|
}(e, s, r, i), function(t, e, n, o, s) {
|
|
5436
|
-
const r =
|
|
5436
|
+
const r = kr(n), a = n.getSparklineGroups().getItems(), i = a.length > 0;
|
|
5437
5437
|
if (0 === o.length && 0 === s.length && 0 === r.length && !i) return;
|
|
5438
5438
|
const l = n.getStyles(), c = l.getTheme();
|
|
5439
5439
|
if (e.start("extLst"), o.length > 0) {
|
|
@@ -5443,7 +5443,7 @@ var qi = [
|
|
|
5443
5443
|
}), e.start("x14:conditionalFormattings");
|
|
5444
5444
|
for (let n = 0; n < o.length; n++) {
|
|
5445
5445
|
const { guid: s, sqref: r, priority: a, scale: i, rule: d, style: m, stopIfTrue: p } = o[n];
|
|
5446
|
-
if (e.start("x14:conditionalFormatting", { "xmlns:xm": "http://schemas.microsoft.com/office/excel/2006/main" }), i) if (i.type ===
|
|
5446
|
+
if (e.start("x14:conditionalFormatting", { "xmlns:xm": "http://schemas.microsoft.com/office/excel/2006/main" }), i) if (i.type === C.ScaleType.DataBar) {
|
|
5447
5447
|
e.start("x14:cfRule", {
|
|
5448
5448
|
type: "dataBar",
|
|
5449
5449
|
id: s
|
|
@@ -5535,7 +5535,7 @@ var qi = [
|
|
|
5535
5535
|
for (let e = 0; e < r.length; e++) {
|
|
5536
5536
|
const { group: o, sparklines: a } = r[e];
|
|
5537
5537
|
t.start("x14:sparklineGroup", qt(o));
|
|
5538
|
-
for (const e of
|
|
5538
|
+
for (const e of Tt) {
|
|
5539
5539
|
const s = o[e];
|
|
5540
5540
|
s && Ao(t, n, s, `x14:${e}`);
|
|
5541
5541
|
}
|
|
@@ -5549,7 +5549,7 @@ var qi = [
|
|
|
5549
5549
|
const o = [], s = [], r = [];
|
|
5550
5550
|
for (let t = 0; t < n.slicers.length; t++) {
|
|
5551
5551
|
const e = n.slicers[t];
|
|
5552
|
-
(
|
|
5552
|
+
(Tr(e) ? r : Cr(e) ? o : s).push(e);
|
|
5553
5553
|
}
|
|
5554
5554
|
if (o.length > 0) {
|
|
5555
5555
|
const s = t.addPart("slicers", {
|
|
@@ -5643,7 +5643,7 @@ var qi = [
|
|
|
5643
5643
|
const a = t.theme;
|
|
5644
5644
|
for (let t = 0; t < s; t++) {
|
|
5645
5645
|
const e = o[t];
|
|
5646
|
-
if (n.start("si"), e instanceof
|
|
5646
|
+
if (n.start("si"), e instanceof P) {
|
|
5647
5647
|
const t = e.getRuns();
|
|
5648
5648
|
for (let e = 0; e < t.length; e++) {
|
|
5649
5649
|
const o = t[e];
|
|
@@ -5719,7 +5719,7 @@ var qi = [
|
|
|
5719
5719
|
}
|
|
5720
5720
|
const a = s?.family;
|
|
5721
5721
|
if (a) {
|
|
5722
|
-
n.start("extLst"), n.start("ext", { uri:
|
|
5722
|
+
n.start("extLst"), n.start("ext", { uri: kt });
|
|
5723
5723
|
const t = {
|
|
5724
5724
|
"xmlns:thm15": "http://schemas.microsoft.com/office/thememl/2012/main",
|
|
5725
5725
|
name: a.name,
|
|
@@ -5833,7 +5833,7 @@ var qi = [
|
|
|
5833
5833
|
e.end("numFmts");
|
|
5834
5834
|
}
|
|
5835
5835
|
})(0, o, i), function(t, e, n, o) {
|
|
5836
|
-
const s = o.fonts, r = s.length, a = n.getTheme(), i =
|
|
5836
|
+
const s = o.fonts, r = s.length, a = n.getTheme(), i = A.getShared(), l = $e(s.map((t) => ({
|
|
5837
5837
|
...t,
|
|
5838
5838
|
family: ne(t.family, t.fallbacks, a, !0).name
|
|
5839
5839
|
}))).every((t) => gt(i, t));
|
|
@@ -5852,7 +5852,7 @@ var qi = [
|
|
|
5852
5852
|
const s = o.borders, r = s.length;
|
|
5853
5853
|
e.start("borders", { count: String(r) });
|
|
5854
5854
|
const a = n.getTheme();
|
|
5855
|
-
for (const n of s)
|
|
5855
|
+
for (const n of s) Ts(t, e, n, a, !1);
|
|
5856
5856
|
e.end("borders");
|
|
5857
5857
|
}(e, o, r, i), function(t, e, o, s, r) {
|
|
5858
5858
|
const a = r.namedStyles, i = a.length;
|
|
@@ -6061,7 +6061,7 @@ var qi = [
|
|
|
6061
6061
|
});
|
|
6062
6062
|
}
|
|
6063
6063
|
async emit(t, e) {
|
|
6064
|
-
const n = e.getXMLWriter(), o = t.model, s = (await
|
|
6064
|
+
const n = e.getXMLWriter(), o = t.model, s = (await D.getDetails()).getBuildVersion(), r = Et(s), a = o.getProperties();
|
|
6065
6065
|
n.setValidationDisabled(!0), n.decl(), n.start("Properties", {
|
|
6066
6066
|
xmlns: "http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",
|
|
6067
6067
|
"xmlns:vt": "http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"
|
|
@@ -6089,13 +6089,13 @@ var qi = [
|
|
|
6089
6089
|
chart: 2,
|
|
6090
6090
|
dialog: 3
|
|
6091
6091
|
};
|
|
6092
|
-
for (const t of n.getSheets({ visibility:
|
|
6092
|
+
for (const t of n.getSheets({ visibility: T.Visibility.Hidden })) o[s[t.getKind()] ?? 0].names.push(t.getName());
|
|
6093
6093
|
const r = n.getNames().getItems({ type: "formula" }).filter((t) => !!t.getRanges?.());
|
|
6094
6094
|
o.push({
|
|
6095
6095
|
heading: "Named Ranges",
|
|
6096
6096
|
names: r.map((t) => {
|
|
6097
6097
|
const e = t.getScope();
|
|
6098
|
-
return e ? `${
|
|
6098
|
+
return e ? `${S.sheetNameToString(e)}!${t.getName()}` : t.getName();
|
|
6099
6099
|
})
|
|
6100
6100
|
});
|
|
6101
6101
|
const a = o.filter((t, e) => 0 === e || t.names.length > 0);
|
|
@@ -6333,7 +6333,7 @@ var qi = [
|
|
|
6333
6333
|
let n = s && !s.isClosed() ? s : null;
|
|
6334
6334
|
if (!n) {
|
|
6335
6335
|
const e = await t.workbook.fetch(o);
|
|
6336
|
-
e.ok && e.headers.get("content-type")?.startsWith("image/") && (n = new
|
|
6336
|
+
e.ok && e.headers.get("content-type")?.startsWith("image/") && (n = new I({ source: { buffer: await e.arrayBuffer() } }));
|
|
6337
6337
|
}
|
|
6338
6338
|
n && (a = (await ts(e, n)).relId);
|
|
6339
6339
|
} catch {}
|
|
@@ -6561,7 +6561,7 @@ var qi = [
|
|
|
6561
6561
|
await Si(e, o, i, a, i.getBounds());
|
|
6562
6562
|
break;
|
|
6563
6563
|
case "smartArt":
|
|
6564
|
-
await
|
|
6564
|
+
await Ti(e, o, i, a);
|
|
6565
6565
|
break;
|
|
6566
6566
|
case "slicer":
|
|
6567
6567
|
await Fi(e, o, i, a);
|
|
@@ -7075,7 +7075,7 @@ var qi = [
|
|
|
7075
7075
|
const n = t.getPart("xl/workbook.xml"), o = n ? new TextDecoder("utf-8").decode(n.data) : null;
|
|
7076
7076
|
return ol.set(t, o), o;
|
|
7077
7077
|
}, ol = /* @__PURE__ */ new WeakMap(), sl = async (t, e) => {
|
|
7078
|
-
await
|
|
7078
|
+
await M.load();
|
|
7079
7079
|
const n = new Kn();
|
|
7080
7080
|
for (const t of qi) n.register(t);
|
|
7081
7081
|
const o = rl, s = Cn.createUint8Array({
|
|
@@ -7174,7 +7174,7 @@ var qi = [
|
|
|
7174
7174
|
});
|
|
7175
7175
|
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 });
|
|
7176
7176
|
let h = await f.build();
|
|
7177
|
-
await
|
|
7177
|
+
await D.isWatermarked() && (h = await (async (t) => {
|
|
7178
7178
|
const e = new B(new z(t)), n = new j(), o = new je(n, { lastModDate: new Date(1899, 11, 29, 19, 0, 0) });
|
|
7179
7179
|
try {
|
|
7180
7180
|
for (const t of await e.getEntries()) {
|