@sheetxl/studio-vanilla 0.4.16 → 0.4.18
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/browser/cjs/6gExB5F8n8HOw9zd.cjs +6 -0
- package/browser/cjs/{9FygAwnwGtj51rKR.cjs → B8dj4dYUEn2CmsHE.cjs} +6 -6
- package/browser/cjs/{DFforK4FhDLP9UUc.cjs → BEldhmijnKlftQMx.cjs} +1 -1
- package/browser/cjs/{DHmgJr7cr-5rmqrC.cjs → BFPe9pI_H_y_2DTe.cjs} +2 -2
- package/browser/cjs/BIzmN32Y-6x-MudX.cjs +6 -0
- package/browser/cjs/{BOjR7WcuPM7CqQ61.cjs → BRxlJAL1jFIU_82U.cjs} +26 -26
- package/browser/cjs/{BOwI__-2C4zHdb02.cjs → BSEVb7s2C2kZ31NF.cjs} +1 -1
- package/browser/cjs/{CPcLGP9ohAPquX_P.cjs → BU1t_BFns-0ilWz0.cjs} +2 -2
- package/browser/cjs/BVCyM2Y3R1TGOqFI.cjs +6 -0
- package/browser/cjs/{isuVkDnj-ShYtgWE.cjs → Bgy1T48FYTWP6pB3.cjs} +1 -1
- package/browser/cjs/{OLQtPYBVwDJUVBX4.cjs → C6D_4VpkhlZJV3ba.cjs} +2 -2
- package/browser/cjs/{C9e_gEokumOSJEQE.cjs → CAjmrepM9WMhy9vb.cjs} +1 -1
- package/browser/cjs/{BNiCvN3wpcuvRJDa.cjs → CG-ZjFwN09yfxNqn.cjs} +3 -3
- package/browser/cjs/{DM17oP0REi-dMzRh.cjs → CHG-7oiv7Oyejsc-.cjs} +1 -1
- package/browser/cjs/{B3FNhqGnpjO3bF1J.cjs → CSb4CdId4hpVhZmZ.cjs} +3 -3
- package/browser/cjs/{Dh4QAMYLxa-nm3b1.cjs → CUYYovdbaJR7Yo5f.cjs} +1 -1
- package/browser/cjs/{kbVoRE7sSKze9AGf.cjs → CWAjzncNmFJkU6ox.cjs} +1 -1
- package/browser/cjs/{CGMIvqM1bAMiSrpL.cjs → CeqOk2b51H08dfzK.cjs} +1 -1
- package/browser/cjs/{CuF5AeSoTUyseIPf.cjs → ChxzT-xf73oQJQWE.cjs} +1 -1
- package/browser/cjs/{C7E9AxEhqGR5hjuF.cjs → CjehFQr4MirYbbXO.cjs} +2 -2
- package/browser/cjs/{CDqIINbe_kUDiu3S.cjs → Ck1O-aLqdH9fGJj6.cjs} +2 -2
- package/browser/cjs/{EEd3txVEsMOS25kJ.cjs → ClrYjBK6eSMrsEPL.cjs} +1 -1
- package/browser/cjs/{BmHg0RJIh8fueA1b.cjs → CvqPgpNEjiXnmdDH.cjs} +3 -3
- package/browser/cjs/{B8PZzwEzGHdX2D1A.cjs → D-2FeaIUEoVRhtnb.cjs} +1 -1
- package/browser/cjs/{DwBWZnrTp5UcLnAE.cjs → D-whqtgViIoFfoj-.cjs} +1 -1
- package/browser/cjs/D1nw2Zcr0IJgjHBZ.cjs +6 -0
- package/browser/cjs/{D33_ArewzvVZrJs5.cjs → D2_nYMMNiehHs6Lh.cjs} +1 -1
- package/browser/cjs/{DuV6aIKntSIlFlmP.cjs → D38pL5K9nhptFluY.cjs} +1 -1
- package/browser/cjs/{BEuLDE1KvRWWFlHK.cjs → DBKA6qbMZ4LLV0-o.cjs} +1 -1
- package/browser/cjs/{Dd8-Ixj1ckpU18vR.cjs → DDDqa1DDQ7X3CA6n.cjs} +4 -4
- package/browser/cjs/{2z48hC9Lgl_XFiR8.cjs → DKwV2FvhmpmpJlij.cjs} +1 -1
- package/browser/cjs/{By5yxiEAIP-yru4E.cjs → DQbBsNlSPHQGMvrY.cjs} +1 -1
- package/browser/cjs/{D5txayapke7SLywP.cjs → DTI1I-IHfEuUdie6.cjs} +2 -2
- package/browser/cjs/{527-wdwXfhlxqigX.cjs → DUHjTovFz3GBcXSO.cjs} +1 -1
- package/browser/cjs/{D96Vd9ML6lEp2yNc.cjs → DaQBOI7sKpjXDUrX.cjs} +2 -2
- package/browser/cjs/{CgMWE9E3Hpz-3OT8.cjs → DiqPuZ_Mn9TXhleF.cjs} +1 -1
- package/browser/cjs/{CitQIsT3Zql2d5Vu.cjs → DpkWlLgh-GGb_HeA.cjs} +2 -2
- package/browser/cjs/ErnqKHol6IQv1dtF.cjs +371 -0
- package/browser/cjs/{DvOP3Sz4bOvvB51y.cjs → JQAJkeCr5jp6ohmU.cjs} +4 -4
- package/browser/cjs/{CpZL07iGOPpGjHM-.cjs → K5Kc8nXGRIs_k_-e.cjs} +1 -1
- package/browser/cjs/{MDi4HLKgwSCu6fyR.cjs → TCfEstnikYSYqpkI.cjs} +1 -1
- package/browser/cjs/{Cn5jJo4kHJGk3N7P.cjs → Vi7ZeweVndSYLv6A.cjs} +2 -2
- package/browser/cjs/{BDiEyTUhhZ0E4TEV.cjs → WuyjTEDRx8JcD_eO.cjs} +1 -1
- package/browser/cjs/{BxKEYXw6K_cJQVyL.cjs → ZJsyHeUPH-RN2J2b.cjs} +1 -1
- package/browser/cjs/{tHZy6iR0C8BJ7ao2.cjs → Zb2yay61EwkNdWVz.cjs} +1 -1
- package/browser/cjs/ce_zz1bKKPMD6IGz.cjs +6 -0
- package/browser/cjs/{C_rz86UiiqTsrxS_.cjs → d-rbUkE3GFBhB9gf.cjs} +4 -4
- package/browser/cjs/{hosXXKv9_3bMMvPn.cjs → eU_5etYAThqB7tOO.cjs} +1 -1
- package/browser/cjs/{CxRW9GVbe6zNc--Y.cjs → eW4g4XHTBwX5axv2.cjs} +8 -8
- package/browser/cjs/{SKR8zQ_6EFd3QuXc.cjs → gnTB9BLNpWr-RgLN.cjs} +1 -1
- package/browser/cjs/index.cjs +2 -2
- package/browser/cjs/{CIXCQscBfq2DpLXc.cjs → k3NkNfvdJNyz5KyG.cjs} +1 -1
- package/browser/cjs/{DduMAzPLo62DsEIv.cjs → nhLubDKTkbv0p8hy.cjs} +1 -1
- package/browser/cjs/{CSZA-xOWQAk2bPo6.cjs → qwC83dKcsT6PjuRJ.cjs} +1 -1
- package/browser/cjs/{BDDHipsk8fDa6KzG.cjs → r1w8QLSAF1fPdRXo.cjs} +2 -2
- package/browser/cjs/{DsMEB6CCQ9XeKx0W.cjs → uq7sOPSacEqtBla5.cjs} +1 -1
- package/browser/cjs/{BqhC-4_bAAdxiG10.cjs → vxVmH4UhUxamhkAL.cjs} +1 -1
- package/browser/cjs/{CFTqCNfD7KPB5D2t.cjs → z3t9NKq_Rru9rdRY.cjs} +1 -1
- package/browser/esm/{BphrEGpsPHge38iD.mjs → 0rtpW3jsWy09WVgL.mjs} +1 -1
- package/browser/esm/{wt2Q3yM9_nGedjrL.mjs → 83YhGRf4sr1nIGUF.mjs} +3 -3
- package/{cdn/assets/DDaraJFhLInV4GMJ.js → browser/esm/9GPlJgQk7sO4IoM0.mjs} +1 -1
- package/browser/esm/{BegJ95DwnjizqVvZ.mjs → B498JhtOmMAo_jgX.mjs} +2 -2
- package/browser/esm/{BIPFm0SUVy_xxuHx.mjs → BI7lEitafHBed-By.mjs} +2 -2
- package/browser/esm/{DnDDStLug64LBv-3.mjs → BMBbzBmQDD3qfrC_.mjs} +1 -1
- package/{cdn/assets/DPRM8hNlNCr3-T5W.js → browser/esm/BNyNoLgd3hytW2dX.mjs} +1 -1
- package/browser/esm/{XMnVd_ZFLys2rjY7.mjs → BOZkutOGOJG1wK-V.mjs} +2 -2
- package/{cdn/assets/DrT_zO6kt_14yLBZ.js → browser/esm/BTqkZMCBSrMnTAqH.mjs} +1 -1
- package/browser/esm/{6dBbccz3d0UDCmId.mjs → Ba1zoBcKRW4R-TUZ.mjs} +1 -1
- package/browser/esm/{DwUhQt38jwVGevvy.mjs → BdiazbVW7y4wMZzl.mjs} +1 -1
- package/{cdn/assets/DE8w2hURn5qI8AKp.js → browser/esm/Bf3PbpdXr2YBd80R.mjs} +1 -1
- package/browser/esm/{CM9SSh6zB4mXFuiK.mjs → BhbkPgJwl4jaDSzR.mjs} +1 -1
- package/browser/esm/{CJ2VfoplPO3aOFIS.mjs → Bq29KUVBFIIDVmqP.mjs} +16 -16
- package/{cdn/assets/CNNQFdovfxmKTLqX.js → browser/esm/Bu1DrN7ddrdJf4-t.mjs} +1 -1
- package/browser/esm/{CR-h2aljy2JwwOmN.mjs → BuYNBBrMCkCpZt-i.mjs} +15 -15
- package/browser/esm/{CzcfqZRl8TT7_AA8.mjs → By8iBijliP04589G.mjs} +4 -4
- package/browser/esm/{DNmLY801ferFO5Uk.mjs → C1hWERJvtXpo5peB.mjs} +7 -7
- package/browser/esm/{D6rU9DOoEw4c1pUc.mjs → C1oaT9KdUodgWK3x.mjs} +1 -1
- package/browser/esm/{DGk-Ommc_o1xYlw-.mjs → CDZyUGGXefQIk9bm.mjs} +1 -1
- package/{cdn/assets/BuEJOKp47YUO-SKV.js → browser/esm/CIQgIA45dKgsFr8g.mjs} +110 -110
- package/browser/esm/{BDpFOktVt42TQpcN.mjs → CKehwqv6k-x69W-N.mjs} +4 -4
- package/browser/esm/{CPzGoc5ivg6BGW5V.mjs → CMOm6Fr6Oxj9RoGx.mjs} +1 -1
- package/browser/esm/{DSgo1psKmx1fs5GP.mjs → CQzt9hGSNwdEfKQx.mjs} +2 -2
- package/browser/esm/{BQEjN2Ny_1RjJRRG.mjs → CRmhBJbCBt-usGV_.mjs} +2 -2
- package/browser/esm/{CQ8SVGYEop2G_eer.mjs → Cf_CToPzxoA-aDXC.mjs} +1 -1
- package/browser/esm/{DqP6X7y9HwGY7VjP.mjs → ComZ9YL9UbNrdtgb.mjs} +19 -19
- package/browser/esm/{BcnRo-70LV3dW2F8.mjs → Cr99yWq8so0mdyPz.mjs} +1 -1
- package/browser/esm/{BFGNX8BKN0YukAfE.mjs → Cz7DMRonhK92bvMj.mjs} +27293 -25621
- package/{cdn/assets/3LUy01lLdiAyu4L8.js → browser/esm/D4VxZs0rJs1pmmty.mjs} +1 -1
- package/browser/esm/{Ddco0tbzyQ9zfvAR.mjs → D4lCVoEMnY4LDOe_.mjs} +1 -1
- package/browser/esm/{Cyu6G1cmylOjsfqu.mjs → D7ADaPSEp7UbVGW9.mjs} +3 -3
- package/{cdn/assets/D0HahgSi_BcRitIR.js → browser/esm/D8yWaZgP_m305Xdw.mjs} +1 -1
- package/browser/esm/{7zmlmdpV46wT0D_8.mjs → DFKQ52nEW3z5hE49.mjs} +2 -2
- package/{cdn/assets/D_SW7AJGTxZZhEhN.js → browser/esm/DQVplFpK9A1EIvdK.mjs} +1 -1
- package/browser/esm/{kXeRQRPLeKsnYZWE.mjs → DUufyYsjhjDk8XiB.mjs} +8 -8
- package/browser/esm/{CHQ2p5JXvpblW5Mr.mjs → DcfWMQ6ci0An3wbK.mjs} +9 -9
- package/browser/esm/{Dp4czjfjfaFH_dEJ.mjs → DeqIw6g0upvFnFJ7.mjs} +7 -7
- package/browser/esm/{DhtBGaXEjpSpeQD2.mjs → DfPZoMGjJLY5lNfx.mjs} +1 -1
- package/browser/esm/{Dcro_uZlLqe8StKp.mjs → Djq2hwsjwZ3gwvCX.mjs} +2 -2
- package/{cdn/assets/IF2d9xZoQ-KwvBKh.js → browser/esm/Dr0c_TBv01wBTYct.mjs} +1 -1
- package/browser/esm/{BMcBO1IQO3eNx3D8.mjs → DrUhjclyQ_wtu3-o.mjs} +1 -1
- package/browser/esm/{CEn_nscDh2qWGWkf.mjs → DsqPwYh5PBMY_OEg.mjs} +1 -1
- package/browser/esm/{q0yHqQ5GBeLgY-gd.mjs → G6hbORyGPtwXe9ND.mjs} +1 -1
- package/browser/esm/NUhzrAAxY7WlR0vL.mjs +39 -0
- package/browser/esm/{DHwgBfUeVdooDLZu.mjs → WYfqEzPe6bT2pWJJ.mjs} +1 -1
- package/browser/esm/{BJqUNdAULMuqfoNS.mjs → XmDs7FfcmSIwQCos.mjs} +10 -10
- package/{cdn/assets/mMMnv_KWRsRe75FG.js → browser/esm/a4tx9NSvCvDgs_PL.mjs} +1 -1
- package/browser/esm/{DuJX6KV57WopKk9q.mjs → c-1voGEg_SKA-kqj.mjs} +12 -12
- package/{cdn/assets/Bxh-G6GIKLTgdQSU.js → browser/esm/ceMU_E2f1UyoBi26.mjs} +1 -1
- package/browser/esm/{tBO69ofaNapzt3L4.mjs → dULO1WC1iVnuJQQl.mjs} +12 -12
- package/browser/esm/{TM6K2pq3Dcv9IkuU.mjs → eO7qOlRPdt3GDVSZ.mjs} +1 -1
- package/browser/esm/{B0pXYR2QIxH_yyCd.mjs → fX1sl5Pyq6NiBpGm.mjs} +1 -1
- package/browser/esm/{DmeMooAnq1CVPk8s.mjs → hc-7dPh1zYIOTWeA.mjs} +1 -1
- package/browser/esm/index.mjs +2 -2
- package/browser/esm/{MXO5bWHStxysNVsg.mjs → k8gIUTsjB46T_-0A.mjs} +2 -2
- package/{cdn/assets/AbVL9q93k2OjvNMS.js → browser/esm/uXLogtnMh4dC8M6y.mjs} +1 -1
- package/{cdn/assets/PzttknQejK9onrpS.js → browser/esm/uyob4I3lZHZmcM_z.mjs} +1 -1
- package/cdn/assets/{BphrEGpsPHge38iD.js → 0rtpW3jsWy09WVgL.js} +1 -1
- package/cdn/assets/{DOoM8QGUlLAU2iqo.js → 2iAyR3lqPTrC8fqX.js} +2 -2
- package/{browser/esm/DDaraJFhLInV4GMJ.mjs → cdn/assets/9GPlJgQk7sO4IoM0.js} +1 -1
- package/cdn/assets/{Bzmc21lMGO689Gtm.js → B-zR0P7K9TTIqb3N.js} +2 -2
- package/cdn/assets/{UYuqeLmzk4CZISVt.js → B0AMD95YmqvJGzKy.js} +7 -7
- package/cdn/assets/{Ber1-vHUp5sOqFS7.js → BApDCIl0nEcPxdcI.js} +1 -1
- package/cdn/assets/{A8eAz4-PTuL72Hin.js → BCmdSl8UKJV-mbUP.js} +2 -2
- package/cdn/assets/{DdjDNvycthoT3npY.js → BK-yXbGlmTLkEgUb.js} +2 -2
- package/cdn/assets/{DnDDStLug64LBv-3.js → BMBbzBmQDD3qfrC_.js} +1 -1
- package/{browser/esm/DPRM8hNlNCr3-T5W.mjs → cdn/assets/BNyNoLgd3hytW2dX.js} +1 -1
- package/cdn/assets/{BzJDFxx0-f3ofc07.js → BT6biBu5cqLq8Ejv.js} +3 -3
- package/{browser/esm/DrT_zO6kt_14yLBZ.mjs → cdn/assets/BTqkZMCBSrMnTAqH.js} +1 -1
- package/cdn/assets/{CCyqNw5QYfgHLK1w.js → BVuYSELkcKtUtWWL.js} +2 -2
- package/cdn/assets/{6dBbccz3d0UDCmId.js → Ba1zoBcKRW4R-TUZ.js} +1 -1
- package/cdn/assets/{CBZHbb2bqbziokhD.js → BaS8k1_FncCD99tU.js} +2 -2
- package/cdn/assets/{DwUhQt38jwVGevvy.js → BdiazbVW7y4wMZzl.js} +1 -1
- package/{browser/esm/DE8w2hURn5qI8AKp.mjs → cdn/assets/Bf3PbpdXr2YBd80R.js} +1 -1
- package/cdn/assets/Bfa4DKsgwj4QcoRG.js +41 -0
- package/{browser/esm/iYM_upfOH9oA049a.mjs → cdn/assets/BgCSJCG8QtVsdHU2.js} +40 -40
- package/cdn/assets/{CM9SSh6zB4mXFuiK.js → BhbkPgJwl4jaDSzR.js} +1 -1
- package/cdn/assets/{Bt3GnfDq2p0GHntP.js → BjxqTRb2Ea-4O_Cu.js} +5 -5
- package/cdn/assets/{CQeDWMJhZEMvysUh.js → Bl04bUHLpvVGX5_G.js} +2 -2
- package/cdn/assets/{DZyvhfi33GteuMM3.js → Bo_VRKrnQCatQ2DP.js} +4 -4
- package/cdn/assets/{CWgLS_jMj5DNrggO.js → BreZJXfyH5me-yuL.js} +4 -4
- package/{browser/esm/CNNQFdovfxmKTLqX.mjs → cdn/assets/Bu1DrN7ddrdJf4-t.js} +1 -1
- package/cdn/assets/{B3boJwK33Z6RqPqk.js → BymCn9svILK2L_Q7.js} +2 -2
- package/cdn/assets/{DGk-Ommc_o1xYlw-.js → CDZyUGGXefQIk9bm.js} +1 -1
- package/cdn/assets/{CK4HRZFkpjItprps.js → CEYK9DvYOF2aliP4.js} +3 -3
- package/cdn/assets/{CPzGoc5ivg6BGW5V.js → CMOm6Fr6Oxj9RoGx.js} +1 -1
- package/cdn/assets/{B6sQ-SvjZgQQji5w.js → C_o-jOpG9vWGkURh.js} +11 -11
- package/cdn/assets/{CQ8SVGYEop2G_eer.js → Cf_CToPzxoA-aDXC.js} +1 -1
- package/cdn/assets/{DI9WWYlw4XtaKxJ9.js → CohhK26gvXnWe0vC.js} +16 -16
- package/cdn/assets/{BcnRo-70LV3dW2F8.js → Cr99yWq8so0mdyPz.js} +1 -1
- package/cdn/assets/D3HLd70Mn49YtP9N.js +46 -0
- package/{browser/esm/3LUy01lLdiAyu4L8.mjs → cdn/assets/D4VxZs0rJs1pmmty.js} +1 -1
- package/cdn/assets/{Ddco0tbzyQ9zfvAR.js → D4lCVoEMnY4LDOe_.js} +1 -1
- package/cdn/assets/{BHIQzrKfKNFUBjR9.js → D5IYfLRDzKD0nNhv.js} +1 -1
- package/{browser/esm/D0HahgSi_BcRitIR.mjs → cdn/assets/D8yWaZgP_m305Xdw.js} +1 -1
- package/cdn/assets/{Bjv69OWhcDpPMIFg.js → DKwtBx9sOuW7Idh0.js} +20423 -18751
- package/{browser/esm/D_SW7AJGTxZZhEhN.mjs → cdn/assets/DQVplFpK9A1EIvdK.js} +1 -1
- package/cdn/assets/{D5-W8jVCdTuhwV4I.js → DZQqkY1-Hu87L5rY.js} +8 -8
- package/cdn/assets/DZX_Xi4lPAJT9N7v.js +22 -0
- package/cdn/assets/{DhtBGaXEjpSpeQD2.js → DfPZoMGjJLY5lNfx.js} +1 -1
- package/{browser/esm/IF2d9xZoQ-KwvBKh.mjs → cdn/assets/Dr0c_TBv01wBTYct.js} +1 -1
- package/cdn/assets/{BMcBO1IQO3eNx3D8.js → DrUhjclyQ_wtu3-o.js} +1 -1
- package/cdn/assets/{CEn_nscDh2qWGWkf.js → DsqPwYh5PBMY_OEg.js} +1 -1
- package/cdn/assets/{Bj-ZU4RLivZywsqT.js → EaD0stepDrgc5Mud.js} +2 -2
- package/cdn/assets/{q0yHqQ5GBeLgY-gd.js → G6hbORyGPtwXe9ND.js} +1 -1
- package/cdn/assets/R0N6x5jomzsuYzgy.js +49 -0
- package/cdn/assets/{DHwgBfUeVdooDLZu.js → WYfqEzPe6bT2pWJJ.js} +1 -1
- package/{browser/esm/mMMnv_KWRsRe75FG.mjs → cdn/assets/a4tx9NSvCvDgs_PL.js} +1 -1
- package/{browser/esm/Bxh-G6GIKLTgdQSU.mjs → cdn/assets/ceMU_E2f1UyoBi26.js} +1 -1
- package/cdn/assets/{TM6K2pq3Dcv9IkuU.js → eO7qOlRPdt3GDVSZ.js} +1 -1
- package/cdn/assets/{B0pXYR2QIxH_yyCd.js → fX1sl5Pyq6NiBpGm.js} +1 -1
- package/cdn/assets/{DmeMooAnq1CVPk8s.js → hc-7dPh1zYIOTWeA.js} +1 -1
- package/{browser/esm/AbVL9q93k2OjvNMS.mjs → cdn/assets/uXLogtnMh4dC8M6y.js} +1 -1
- package/{browser/esm/PzttknQejK9onrpS.mjs → cdn/assets/uyob4I3lZHZmcM_z.js} +1 -1
- package/cdn/index.js +2 -2
- package/cdn/loader.js +1 -1
- package/package.json +3 -3
- package/browser/cjs/8iv5H_Fv58DG9HON.cjs +0 -6
- package/browser/cjs/BPEiEiVl_5BbvIuk.cjs +0 -6
- package/browser/cjs/BbEY710KwFxGt-nx.cjs +0 -364
- package/browser/cjs/CxILJtUEEXVq79VE.cjs +0 -6
- package/browser/cjs/DAuVoLkfGR03lbJL.cjs +0 -6
- package/browser/cjs/DXEqr7NfFBng4qp7.cjs +0 -6
- package/browser/esm/CYW0tIypPPivmPYC.mjs +0 -39
- package/cdn/assets/Ch5JO1OSaLcDuY1a.js +0 -22
- package/cdn/assets/DN9WPHXLnxyrdP62.js +0 -49
- package/cdn/assets/DSfbEMCq8-gDBtv_.js +0 -46
- package/cdn/assets/sZe9Sjpn-rLq53T6.js +0 -41
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { u as Ht, K as Ft, R as vs, L as Ss, v as Qt, x as at, D as Ee, Q as Cs, k as ks, F as es, y as As, z as Ds, E as Es, A as Ps, I as cs, C as Os } from "./DKwtBx9sOuW7Idh0.js";
|
|
2
2
|
/**
|
|
3
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.
|
|
3
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.18
|
|
4
4
|
*
|
|
5
5
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
6
6
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -829,7 +829,7 @@ const ns = (i, t, s, o = null) => {
|
|
|
829
829
|
console.warn(b);
|
|
830
830
|
}
|
|
831
831
|
return null;
|
|
832
|
-
},
|
|
832
|
+
}, Zt = (i, t, s, o, n = null) => {
|
|
833
833
|
const a = /* @__PURE__ */ new Map();
|
|
834
834
|
let c = t.Directory[i];
|
|
835
835
|
const m = c ? c.length : 0;
|
|
@@ -842,7 +842,7 @@ const ns = (i, t, s, o = null) => {
|
|
|
842
842
|
a.set(x, D);
|
|
843
843
|
}
|
|
844
844
|
return a;
|
|
845
|
-
},
|
|
845
|
+
}, Qs = ["lt1", "dk1", "lt2", "dk2", "accent1", "accent2", "accent3", "accent4", "accent5", "accent6", "hlink", "folHlink"], as = (i, t = "dk1") => {
|
|
846
846
|
let s;
|
|
847
847
|
const o = i("auto");
|
|
848
848
|
o === void 0 || o !== "1" && o !== "true" || (s = t);
|
|
@@ -851,10 +851,10 @@ const ns = (i, t, s, o = null) => {
|
|
|
851
851
|
const a = i("rgb");
|
|
852
852
|
a && (s = a.toLowerCase(), a.length !== 8 || a.startsWith("FF") || (s = "FF" + a.substring(2, a.length)));
|
|
853
853
|
const c = i("theme");
|
|
854
|
-
c && (s =
|
|
854
|
+
c && (s = Qs[c]);
|
|
855
855
|
let m = i("tint");
|
|
856
856
|
if (m && (s += ` ${Ps.AdjustmentType.ETint} ${parseFloat(m)}`), s) return s;
|
|
857
|
-
},
|
|
857
|
+
}, Zs = (i) => i && i.replace(/^\{([\s\S]+)\}$/, "$1"), ti = (i) => i ? cs.roundAccurately(parseFloat(i) / 12700, 4) : null, ei = (i) => i ? cs.roundAccurately(parseFloat(i) / 9525, 1) : null, si = (i) => parseFloat(i) / 1e3, ii = (i) => parseFloat(i) / 6e4, Js = (i) => i === "true" || i === "1";
|
|
858
858
|
class Bt {
|
|
859
859
|
static {
|
|
860
860
|
this.Collapsed = 1;
|
|
@@ -896,14 +896,14 @@ class Bt {
|
|
|
896
896
|
const Ks = (i, t, s) => {
|
|
897
897
|
if (i[0].value[0] === i[1].value[0]) return t;
|
|
898
898
|
}, ls = { colStart: 0, colEnd: 0, rowStart: 0, rowEnd: 0 }, oi = Object.freeze(Object.defineProperty({ __proto__: null, fromBufferXLSX: async (i, t) => {
|
|
899
|
-
const { password: s, onWarning: o, createWorkbookOptions: n = {}, ...a } = t ?? {}, c = import("./
|
|
899
|
+
const { password: s, onWarning: o, createWorkbookOptions: n = {}, ...a } = t ?? {}, c = import("./G6hbORyGPtwXe9ND.js"), m = import("./DZQqkY1-Hu87L5rY.js");
|
|
900
900
|
let v = null;
|
|
901
901
|
try {
|
|
902
902
|
v = new DOMParser();
|
|
903
903
|
} catch {
|
|
904
904
|
}
|
|
905
905
|
let b = null;
|
|
906
|
-
v || (b = import("./
|
|
906
|
+
v || (b = import("./0rtpW3jsWy09WVgL.js").then((u) => u.i));
|
|
907
907
|
let x = null, D = null, y = null;
|
|
908
908
|
try {
|
|
909
909
|
const u = await Promise.all([c, m, b]);
|
|
@@ -946,8 +946,8 @@ const Ks = (i, t, s) => {
|
|
|
946
946
|
const Y = {};
|
|
947
947
|
Wt = Y;
|
|
948
948
|
const tt = async () => {
|
|
949
|
-
const bt = ((V, U, te, _, G,
|
|
950
|
-
const h = new Gs(),
|
|
949
|
+
const bt = ((V, U, te, _, G, Q, wt) => {
|
|
950
|
+
const h = new Gs(), Z = new Ss.TransposedBuilder();
|
|
951
951
|
let j = null;
|
|
952
952
|
h.registerVisitor({ from: "autoFilter", to: "filter", openTag: (e) => {
|
|
953
953
|
e.copyTo("ref", k);
|
|
@@ -972,7 +972,7 @@ const Ks = (i, t, s) => {
|
|
|
972
972
|
const l = e.getAttribute("dxfId", A);
|
|
973
973
|
if (l !== null) {
|
|
974
974
|
let d = _?.get(l);
|
|
975
|
-
d || (
|
|
975
|
+
d || (Q?.(`Unable to load conditional color. Invalid dxfI: '${l}' at '${e.getPath()}'.`), d = {}), r.style = d;
|
|
976
976
|
}
|
|
977
977
|
e.copyToObject(r, "aboveAverage", w), e.copyToObject(r, "equalAverage", w), e.copyToObject(r, "stdDev", A), e.copyToObject(r, "bottom", w), e.copyToObject(r, "percent", w), e.copyToObject(r, "rank", A), e.copyToObject(r, "operator", k), e.copyToObject(r, "text", k), e.copyToObject(r, "timePeriod", k);
|
|
978
978
|
} }), h.registerVisitor({ from: "colorScale", to: "colorScale" }), h.registerVisitor({ from: "dataBar", to: "dataBar", openTag: (e) => {
|
|
@@ -996,19 +996,19 @@ const Ks = (i, t, s) => {
|
|
|
996
996
|
r.fields || (r.fields = []), r.fields.push(e.getSource()), e.copyTo("offset", A, "colId"), e.copyTo("hiddenButton", w), e.copyTo("showButton", w);
|
|
997
997
|
} }), h.registerVisitor({ from: "colorFilter", to: "colorFilter", openTag: (e) => {
|
|
998
998
|
const r = e.getParent();
|
|
999
|
-
r.criteria || (r.criteria = []), r.criteria.push(e.getSource()), e.getSource().type =
|
|
999
|
+
r.criteria || (r.criteria = []), r.criteria.push(e.getSource()), e.getSource().type = Qt.Type.Color, e.copyTo("cellColor", w), e.copyTo("styleId", A, "dxfId");
|
|
1000
1000
|
} }), h.registerVisitor({ from: "dynamicFilter", to: "dynamicFilter", openTag: (e) => {
|
|
1001
1001
|
const r = e.getParent();
|
|
1002
|
-
r.criteria || (r.criteria = []), r.criteria.push(e.getSource()), e.getSource().type =
|
|
1002
|
+
r.criteria || (r.criteria = []), r.criteria.push(e.getSource()), e.getSource().type = Qt.Type.Dynamic, e.copyTo("dynamicType", k, "type"), e.copyTo("val", ct), e.copyTo("maxVal", ct, "maxVal");
|
|
1003
1003
|
} }), h.registerVisitor({ from: "iconFilter", to: "iconFilter", openTag: (e) => {
|
|
1004
1004
|
const r = e.getParent();
|
|
1005
|
-
r.criteria || (r.criteria = []), r.criteria.push(e.getSource()), e.getSource().type =
|
|
1005
|
+
r.criteria || (r.criteria = []), r.criteria.push(e.getSource()), e.getSource().type = Qt.Type.Icon, e.copyTo("iconId", A), e.copyTo("iconSet", k);
|
|
1006
1006
|
} }), h.registerVisitor({ from: "top10", to: "top10", openTag: (e) => {
|
|
1007
1007
|
const r = e.getParent();
|
|
1008
|
-
r.criteria || (r.criteria = []), r.criteria.push(e.getSource()), e.getSource().type =
|
|
1008
|
+
r.criteria || (r.criteria = []), r.criteria.push(e.getSource()), e.getSource().type = Qt.Type.Top10, e.copyTo("filterVal", ct), e.copyTo("percent", w), e.copyTo("top", w), e.copyTo("val", ct);
|
|
1009
1009
|
} }), h.registerVisitor({ from: "filters", to: "filters", openTag: (e) => {
|
|
1010
1010
|
const r = e.getParent();
|
|
1011
|
-
r.criteria || (r.criteria = []), r.criteria.push(e.getSource()), e.getSource().type =
|
|
1011
|
+
r.criteria || (r.criteria = []), r.criteria.push(e.getSource()), e.getSource().type = Qt.Type.Items, e.copyTo("blank", w), e.copyTo("calendarType", k);
|
|
1012
1012
|
} }), h.registerVisitor({ from: "dateGroupItem", to: "dateGroupItem", openTag: (e) => {
|
|
1013
1013
|
const r = e.getParent();
|
|
1014
1014
|
r.dateGroups || (r.dateGroups = []), r.dateGroups.push(e.getSource()), e.copyTo("group", k, "dateTimeGrouping"), e.copyTo("day", A), e.copyTo("hour", A), e.copyTo("minute", A), e.copyTo("month", A), e.copyTo("second", A), e.copyTo("year", A);
|
|
@@ -1017,7 +1017,7 @@ const Ks = (i, t, s) => {
|
|
|
1017
1017
|
r.items || (r.items = []), r.items.push(e.getAttribute("val", ct));
|
|
1018
1018
|
} }), h.registerVisitor({ from: "customFilters", to: "customFilters", openTag: (e) => {
|
|
1019
1019
|
const r = e.getParent();
|
|
1020
|
-
r.criteria || (r.criteria = []), r.criteria.push(e.getSource()), e.getSource().type =
|
|
1020
|
+
r.criteria || (r.criteria = []), r.criteria.push(e.getSource()), e.getSource().type = Qt.Type.Custom, e.copyTo("and", w);
|
|
1021
1021
|
} }), h.registerVisitor({ from: "customFilter", to: "customFilter", openTag: (e) => {
|
|
1022
1022
|
const r = e.getParent();
|
|
1023
1023
|
r.filters || (r.filters = []), r.filters.push(e.getSource()), e.copyTo("operator", k), e.copyTo("value", ct, "val");
|
|
@@ -1147,7 +1147,7 @@ const Ks = (i, t, s) => {
|
|
|
1147
1147
|
const _e = Ee.createConflatingRanges();
|
|
1148
1148
|
let oe, Et = !1, X = -1, J = -1, gt = null, re = null;
|
|
1149
1149
|
const Ae = [];
|
|
1150
|
-
let De = null, qe = -2, ft = 0, Gt = "", Pt = "", Ot = "", It = "", Vt = "", Lt = "", Nt = "", ze = "", Ue = "", Ge = "",
|
|
1150
|
+
let De = null, qe = -2, ft = 0, Gt = "", Pt = "", Ot = "", It = "", Vt = "", Lt = "", Nt = "", ze = "", Ue = "", Ge = "", Qe = "", Ze = "", Je = "", Ke = "", mt = !0, Rt = null;
|
|
1151
1151
|
return { ...l, onEnd: () => {
|
|
1152
1152
|
Ae.length > 0 && (r.rows = Ae);
|
|
1153
1153
|
let p = Be.done(Ks);
|
|
@@ -1235,7 +1235,7 @@ const Ks = (i, t, s) => {
|
|
|
1235
1235
|
if (C === "row") {
|
|
1236
1236
|
ot = !0;
|
|
1237
1237
|
const N = p.attributes.r;
|
|
1238
|
-
if (X = parseInt(N) - 1, ft = 0, Pt = p.attributes.customHeight, Pt !== void 0 && (ft |= Bt.CustomHeight), Pt !== Ue && (mt = !0, Ue = Pt), Gt = p.attributes.ht, Gt !== void 0 && (ft |= Bt.Ht), Gt !== ze && (mt = !0, ze = Gt), Ot = p.attributes.hidden, Ot !== void 0 && (ft |= Bt.Hidden), Ot !== Ge && (mt = !0, Ge = Ot), Vt = p.attributes.s, Vt !== void 0 && (ft |= Bt.S), Vt !==
|
|
1238
|
+
if (X = parseInt(N) - 1, ft = 0, Pt = p.attributes.customHeight, Pt !== void 0 && (ft |= Bt.CustomHeight), Pt !== Ue && (mt = !0, Ue = Pt), Gt = p.attributes.ht, Gt !== void 0 && (ft |= Bt.Ht), Gt !== ze && (mt = !0, ze = Gt), Ot = p.attributes.hidden, Ot !== void 0 && (ft |= Bt.Hidden), Ot !== Ge && (mt = !0, Ge = Ot), Vt = p.attributes.s, Vt !== void 0 && (ft |= Bt.S), Vt !== Ze && (mt = !0, Ze = Vt), It = p.attributes.customFormat, It !== void 0 && (ft |= Bt.CustomFormat), It !== Qe && (mt = !0, Qe = It), Lt = p.attributes.outlineLevel, Lt !== void 0 && (ft |= Bt.OutlineLevel), Lt !== Je && (mt = !0, Je = Lt), Nt = p.attributes.collapsed, Nt !== void 0 && (ft |= Bt.Collapsed), Nt !== Ke && (mt = !0, Ke = Nt), ft !== 0) if (qe + 1 !== X || mt) {
|
|
1239
1239
|
const st = Pt !== void 0 && (Pt === "1" || Pt === "true"), $ = It !== void 0 && (It === "1" || It === "true");
|
|
1240
1240
|
De = { min: X, max: X, sz: st && Gt !== void 0 ? parseFloat(Gt) : -1, csz: st, h: Ot !== void 0 && (Ot === "1" || Ot === "true"), s: st && Vt !== void 0 && Vt !== "0" ? parseInt(Vt) : 0, cs: $, l: Lt === void 0 || Lt === "0" ? 0 : parseInt(Lt), cl: Nt !== void 0 && (Nt === "1" || Nt === "true") }, Ae.push(De);
|
|
1241
1241
|
} else De.max = X;
|
|
@@ -1303,24 +1303,24 @@ const Ks = (i, t, s) => {
|
|
|
1303
1303
|
if (rt) return Be.append(X, J, rt), rt = null, Ut = !1, Dt = null, void (se = null);
|
|
1304
1304
|
Et ? S?.onText(p) : ot || l?.onText(p);
|
|
1305
1305
|
} };
|
|
1306
|
-
})(
|
|
1307
|
-
},
|
|
1306
|
+
})(Z, V, h.createEventHandler(V, () => {
|
|
1307
|
+
}, Q), Q, xs, wt);
|
|
1308
1308
|
})(Y, (V, U = !1) => he(V, R, U) ?? null, fs, Ce, 0, (V) => {
|
|
1309
1309
|
o && (V = R + ": " + V, o?.(V));
|
|
1310
1310
|
}, W), _t = ns(R, ce), xt = await (async (V, U = 8388608) => {
|
|
1311
1311
|
await (async () => {
|
|
1312
1312
|
if (typeof ReadableStream > "u") if (typeof window > "u") {
|
|
1313
|
-
const { ReadableStream:
|
|
1314
|
-
globalThis.ReadableStream =
|
|
1313
|
+
const { ReadableStream: Q } = await import("./D4VxZs0rJs1pmmty.js");
|
|
1314
|
+
globalThis.ReadableStream = Q;
|
|
1315
1315
|
} else console.warn("Browser does not support ReadableStream; consider loading a polyfill.");
|
|
1316
1316
|
})();
|
|
1317
1317
|
const te = new TextDecoder("utf-8");
|
|
1318
1318
|
let _ = 0;
|
|
1319
1319
|
const G = V instanceof Uint8Array ? V : new Uint8Array(V);
|
|
1320
|
-
return new ReadableStream({ pull(
|
|
1321
|
-
if (_ >= G.byteLength) return void
|
|
1320
|
+
return new ReadableStream({ pull(Q) {
|
|
1321
|
+
if (_ >= G.byteLength) return void Q.close();
|
|
1322
1322
|
const wt = G.subarray(_, Math.min(_ + U, G.byteLength)), h = te.decode(wt, { stream: _ + U < G.byteLength });
|
|
1323
|
-
|
|
1323
|
+
Q.enqueue(h), _ += wt.length;
|
|
1324
1324
|
} }).getReader();
|
|
1325
1325
|
})(_t);
|
|
1326
1326
|
try {
|
|
@@ -1334,8 +1334,8 @@ const Ks = (i, t, s) => {
|
|
|
1334
1334
|
const V = "http://schemas.microsoft.com/office/2017/10/relationships/threadedComment";
|
|
1335
1335
|
let U;
|
|
1336
1336
|
qt.forEach((_, G) => {
|
|
1337
|
-
_.type === V && (kt = he(G, R, !1, ut)?.comments, kt && kt.forEach((
|
|
1338
|
-
je.set(
|
|
1337
|
+
_.type === V && (kt = he(G, R, !1, ut)?.comments, kt && kt.forEach((Q) => {
|
|
1338
|
+
je.set(Q.id, Q);
|
|
1339
1339
|
}));
|
|
1340
1340
|
});
|
|
1341
1341
|
const te = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments";
|
|
@@ -1344,14 +1344,14 @@ const Ks = (i, t, s) => {
|
|
|
1344
1344
|
}), U || kt) {
|
|
1345
1345
|
const _ = kt ?? [], G = U?.comments;
|
|
1346
1346
|
if (G) {
|
|
1347
|
-
const
|
|
1347
|
+
const Q = U?.authors;
|
|
1348
1348
|
for (let wt = 0; wt < G.length; wt++) {
|
|
1349
1349
|
const h = G[wt];
|
|
1350
|
-
let
|
|
1351
|
-
if ((!
|
|
1352
|
-
let j = de.get(
|
|
1353
|
-
j || (j = Re.get(
|
|
1354
|
-
const ge = { id: es.uuidV4(), personId:
|
|
1350
|
+
let Z = h.authorId !== void 0 ? Q[h.authorId] : void 0;
|
|
1351
|
+
if ((!Z || Z.startsWith("tc=")) && (Z = Zs(Z.substring(3)), je.has(Z))) continue;
|
|
1352
|
+
let j = de.get(Z);
|
|
1353
|
+
j || (j = Re.get(Z)), j || (j = { id: es.uuidV4(), displayName: Z }, Re.set(j.displayName, j), de.set(j.id, j)), Z = j?.id ?? null;
|
|
1354
|
+
const ge = { id: es.uuidV4(), personId: Z, ref: h.ref, done: !1, asNote: !0, content: h.content };
|
|
1355
1355
|
_.push(ge);
|
|
1356
1356
|
}
|
|
1357
1357
|
}
|
|
@@ -1377,7 +1377,7 @@ const Ks = (i, t, s) => {
|
|
|
1377
1377
|
if (z !== void 0) return z;
|
|
1378
1378
|
const K = Ne;
|
|
1379
1379
|
return Le.set(P, Ne++), ue.push(P), K;
|
|
1380
|
-
}, de = (
|
|
1380
|
+
}, de = (Zt("richstructure", u, g, E, yt), Zt("richdata", u, g, E, yt), /* @__PURE__ */ new Map()), Re = /* @__PURE__ */ new Map(), $e = Zt("people", u, g, E);
|
|
1381
1381
|
let Ct = null;
|
|
1382
1382
|
if ($e.size > 0 && (Ct = $e.entries().next()?.value?.[1]?.persons, Ct)) {
|
|
1383
1383
|
const P = Ct.length;
|
|
@@ -1386,16 +1386,16 @@ const Ks = (i, t, s) => {
|
|
|
1386
1386
|
de.set(K.id, K), de.set(K.displayName, K);
|
|
1387
1387
|
}
|
|
1388
1388
|
}
|
|
1389
|
-
const xe =
|
|
1389
|
+
const xe = Zt("themes", u, g, E, yt);
|
|
1390
1390
|
let Me = null;
|
|
1391
1391
|
if (xe && xe.entries) {
|
|
1392
1392
|
let P = xe.entries().next();
|
|
1393
1393
|
P?.value?.[1] && (Me = P.value[1]);
|
|
1394
1394
|
}
|
|
1395
1395
|
const ms = new As(Me);
|
|
1396
|
-
let pe =
|
|
1396
|
+
let pe = Zt("styles", u, g, E, yt).entries().next()?.value[1];
|
|
1397
1397
|
pe && (pe = JSON.parse(Ds(pe)));
|
|
1398
|
-
const Ts =
|
|
1398
|
+
const Ts = Zt("workbooks", u, g, E, yt);
|
|
1399
1399
|
await Promise.all(Ve);
|
|
1400
1400
|
const we = { ...Ts.entries().next().value[1], styles: pe, theme: ms.toJSON() };
|
|
1401
1401
|
ue.length > 0 && (we.strings = ue), Ct && Ct.length > 0 && (we.people = Ct);
|
|
@@ -1408,7 +1408,7 @@ const Ks = (i, t, s) => {
|
|
|
1408
1408
|
throw u instanceof Os && (E = "Unable to open XLSX. There are too many rows or columns."), new Error(E, { cause: u });
|
|
1409
1409
|
}
|
|
1410
1410
|
}, toBufferXLSX: async (i, t) => {
|
|
1411
|
-
const s = await import("./
|
|
1411
|
+
const s = await import("./G6hbORyGPtwXe9ND.js"), o = await i.toJSON(!0), n = s.utils.book_new();
|
|
1412
1412
|
for (let a = 0; a < o.sheets.length; a++) {
|
|
1413
1413
|
const c = o.sheets[a], m = s.utils.json_to_sheet([{}]);
|
|
1414
1414
|
s.utils.book_append_sheet(n, m, c.name);
|
|
@@ -1461,6 +1461,6 @@ export {
|
|
|
1461
1461
|
as as d,
|
|
1462
1462
|
oi as i,
|
|
1463
1463
|
ii as p,
|
|
1464
|
-
|
|
1464
|
+
Zs as r,
|
|
1465
1465
|
ti as t
|
|
1466
1466
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.18
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as n, jsxs as C } from "react/jsx-runtime";
|
|
2
2
|
import { useState as m } from "react";
|
|
3
|
-
import { ao as a, ap as O,
|
|
3
|
+
import { ao as a, ap as O, w as H, B as S, a7 as s, a8 as l, k as r } from "./DKwtBx9sOuW7Idh0.js";
|
|
4
4
|
/**
|
|
5
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.
|
|
5
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.18
|
|
6
6
|
*
|
|
7
7
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
8
8
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
9
9
|
*/
|
|
10
|
-
const
|
|
10
|
+
const k = ({ range: p, options: c, cell: h, onDone: d, ...v }) => {
|
|
11
11
|
const [t, o] = m(c ?? a.DefaultRangeOptions), u = O((e) => {
|
|
12
12
|
let i = null;
|
|
13
13
|
e === "Sort" && (i = { ...c, options: t }), d?.(i);
|
|
@@ -18,6 +18,6 @@ const x = ({ range: p, options: c, cell: h, onDone: d, ...v }) => {
|
|
|
18
18
|
}) }), label: "Row Sort", labelPlacement: "end" }), n(s, { control: n(l, { checked: t.includeHidden, onChange: () => o((e) => ({ ...e, includeHidden: !e.includeHidden })) }), label: "Include Hidden", labelPlacement: "end" })] }) });
|
|
19
19
|
};
|
|
20
20
|
export {
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
k as SortDialog,
|
|
22
|
+
k as default
|
|
23
23
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.18
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -13,7 +13,7 @@ const n = { reactUrl: "https://esm.sh/react@19.1.0", reactJsxTransform: "https:/
|
|
|
13
13
|
t.type = "importmap", t.textContent = JSON.stringify({ imports: { react: c, "react/jsx-runtime": m, "react-dom": o, "react-dom/client": s } }), document.head.appendChild(t);
|
|
14
14
|
}
|
|
15
15
|
await new Promise((t) => setTimeout(t, 0));
|
|
16
|
-
const r = await Promise.all([import("react"), import("react/jsx-runtime"), import("react-dom"), import("react-dom/client"), import("./
|
|
16
|
+
const r = await Promise.all([import("react"), import("react/jsx-runtime"), import("react-dom"), import("react-dom/client"), import("./DKwtBx9sOuW7Idh0.js").then((t) => t.aX)]);
|
|
17
17
|
return { React: r[0], ReactJSXTransform: r[1], ReactDOM: r[2], ReactDOMClient: r[3], StudioMUI: r[4] };
|
|
18
18
|
})(), a));
|
|
19
19
|
export {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.18
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -47,7 +47,7 @@ class u {
|
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
const s = `/**
|
|
50
|
-
* @license @sheetxl/primitives - Primitives - Base types for SheetXL functions. - v0.4.
|
|
50
|
+
* @license @sheetxl/primitives - Primitives - Base types for SheetXL functions. - v0.4.18
|
|
51
51
|
*
|
|
52
52
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
53
53
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -266,7 +266,7 @@ var v;
|
|
|
266
266
|
return n = typeof e == "string" ? tt.get(e) : rt.get(e), n || (n = v.Unknown), new n(t, r);
|
|
267
267
|
}, v.getBuiltInById = (e) => Te.get(e) || Et;
|
|
268
268
|
/**
|
|
269
|
-
* @license @sheetxl/utils - Utils - Utilities used by most SheetXL components. - v0.4.
|
|
269
|
+
* @license @sheetxl/utils - Utils - Utilities used by most SheetXL components. - v0.4.18
|
|
270
270
|
*
|
|
271
271
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
272
272
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1567,7 +1567,7 @@ async function p() {
|
|
|
1567
1567
|
return await l();
|
|
1568
1568
|
}
|
|
1569
1569
|
const l = async () => {
|
|
1570
|
-
const { compileModule: e } = await import("./
|
|
1570
|
+
const { compileModule: e } = await import("./BreZJXfyH5me-yuL.js"), n = new u((t) => e(t));
|
|
1571
1571
|
return await n.start(), n;
|
|
1572
1572
|
};
|
|
1573
1573
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { $ as he } from "./
|
|
1
|
+
import { $ as he } from "./EaD0stepDrgc5Mud.js";
|
|
2
2
|
/**
|
|
3
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.
|
|
3
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.18
|
|
4
4
|
*
|
|
5
5
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
6
6
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -234,7 +234,7 @@ let W = null;
|
|
|
234
234
|
async function Te() {
|
|
235
235
|
if (W) return W;
|
|
236
236
|
try {
|
|
237
|
-
return await (await import("./
|
|
237
|
+
return await (await import("./DrUhjclyQ_wtu3-o.js")).initialize();
|
|
238
238
|
} catch (e) {
|
|
239
239
|
throw W = null, e;
|
|
240
240
|
} finally {
|
|
@@ -428,7 +428,7 @@ interface Promise<T> {
|
|
|
428
428
|
g = o, m = h;
|
|
429
429
|
});
|
|
430
430
|
try {
|
|
431
|
-
const { initialize: o } = await import("./
|
|
431
|
+
const { initialize: o } = await import("./DsqPwYh5PBMY_OEg.js");
|
|
432
432
|
return A = await o(), g(), A;
|
|
433
433
|
} catch (o) {
|
|
434
434
|
throw console.error("Failed to import or initialize esbuild:", o), H = null, m(o), o;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.18
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { E as J } from "./DKwtBx9sOuW7Idh0.js";
|
|
2
2
|
/**
|
|
3
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.
|
|
3
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.18
|
|
4
4
|
*
|
|
5
5
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
6
6
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.18
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as H, jsxs as We } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { G as to, H as oo, J as no, M as ro, O as io, P as Q, U as lo, V as so, Z as ao, $ as co, f as Z, a0 as uo, a1 as ho, a2 as wt, I as fo, B as he, e as po, a3 as mo, a4 as go, a5 as vo, a6 as fe, a7 as _o, a8 as So, a9 as yo, aa as wo, ab as Co, ac as De, ad as xo, ae as Ro, af as bo, ag as ye, ah as To, ai as zo, aj as q, ak as Io, al as N, am as V, an as Po } from "./DKwtBx9sOuW7Idh0.js";
|
|
3
3
|
import * as x from "react";
|
|
4
4
|
import Ct, { useState as pe, useMemo as ko, useEffect as je, cloneElement as Oo } from "react";
|
|
5
5
|
/**
|
|
6
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.
|
|
6
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.18
|
|
7
7
|
*
|
|
8
8
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
9
9
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -2146,7 +2146,7 @@ function an(o) {
|
|
|
2146
2146
|
return v;
|
|
2147
2147
|
}, [n, e]), [s, c] = pe(null);
|
|
2148
2148
|
je(() => {
|
|
2149
|
-
import("./
|
|
2149
|
+
import("./BhbkPgJwl4jaDSzR.js").then((u) => {
|
|
2150
2150
|
c(new u.default(a, { threshold: 0, ignoreLocation: !0, keys: ["label", "description"] }));
|
|
2151
2151
|
});
|
|
2152
2152
|
}, [a]);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.18
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { E as y, k as C } from "./DKwtBx9sOuW7Idh0.js";
|
|
2
2
|
/**
|
|
3
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.
|
|
3
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.18
|
|
4
4
|
*
|
|
5
5
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
6
6
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
7
7
|
*/
|
|
8
8
|
const k = async (a, p) => {
|
|
9
|
-
const { trimLeadingBlankRow: i = !0, trimLeadingBlankColumn:
|
|
9
|
+
const { trimLeadingBlankRow: i = !0, trimLeadingBlankColumn: f = !0, excludeHidden: h = !1, sheetKey: o = null, papaParseConfig: m = {} } = p || {}, u = await import("./CDZyUGGXefQIk9bm.js").then((s) => s.p);
|
|
10
10
|
if (!a) throw new Error("workbook must be specified");
|
|
11
11
|
let t = null;
|
|
12
12
|
if (o === null ? t = a.getSelectedSheet() : typeof o == "number" ? t = a.getSheets().search()[o] : typeof o == "string" && (t = a.getSheets().getByName(o)), !t) throw new Error("invalid sheetKey specified");
|
|
@@ -14,8 +14,8 @@ const k = async (a, p) => {
|
|
|
14
14
|
const d = [];
|
|
15
15
|
let e = null, n = t.getUsedRange({ excludeHidden: h });
|
|
16
16
|
if (!n) throw new Error("Nothing to export");
|
|
17
|
-
if (!i || !
|
|
18
|
-
const s = i ? n.getRowStart() : 0, l =
|
|
17
|
+
if (!i || !f) {
|
|
18
|
+
const s = i ? n.getRowStart() : 0, l = f ? n.getColumnStart() : 0;
|
|
19
19
|
n = n.getOffsetTo(s, l);
|
|
20
20
|
}
|
|
21
21
|
n.forEach((s, l) => {
|
|
@@ -24,21 +24,21 @@ const k = async (a, p) => {
|
|
|
24
24
|
const S = x.toTextUnformatted() ?? "";
|
|
25
25
|
e.push(S);
|
|
26
26
|
}, { includeEmpty: !0, address: null }), e && d.push(e);
|
|
27
|
-
const r = { ...m }, g =
|
|
27
|
+
const r = { ...m }, g = u.unparse(d, r);
|
|
28
28
|
return new TextEncoder().encode(g).buffer;
|
|
29
29
|
}, b = async (a, p) => {
|
|
30
|
-
const { papaParseConfig: i, setValuesOptions:
|
|
31
|
-
let
|
|
30
|
+
const { papaParseConfig: i, setValuesOptions: f, createWorkbookOptions: h } = p ?? {}, o = await import("./CDZyUGGXefQIk9bm.js").then((r) => r.p), m = new TextDecoder().decode(a);
|
|
31
|
+
let u = -1;
|
|
32
32
|
const t = new y(h), c = t.getSelectedSheet().getEntireRange().startIncrementalUpdates({ orientation: C.Orientation.Row }), d = p?.onProgress;
|
|
33
33
|
let e = 0;
|
|
34
34
|
const n = { ...i, transform: (r, g) => {
|
|
35
35
|
i?.transform && (r = i.transform(r, g));
|
|
36
36
|
const s = g;
|
|
37
|
-
s === 0 &&
|
|
37
|
+
s === 0 && u++;
|
|
38
38
|
let l = r ?? "";
|
|
39
|
-
return c.pushAt(
|
|
39
|
+
return c.pushAt(u, s, l), e++, e % 1e5 == 0 && d?.(e), r;
|
|
40
40
|
} };
|
|
41
|
-
return o.parse(m, n).data, c.apply({ textParser: !0, ...
|
|
41
|
+
return o.parse(m, n).data, c.apply({ textParser: !0, ...f }), t;
|
|
42
42
|
};
|
|
43
43
|
export {
|
|
44
44
|
b as fromBufferCSV,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.18
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as i, jsxs as p } from "react/jsx-runtime";
|
|
2
2
|
import { memo as oe, useRef as C, useState as b, useEffect as D, useLayoutEffect as pe, useMemo as de } from "react";
|
|
3
|
-
import { at as L, au as c,
|
|
3
|
+
import { at as L, au as c, k as R, ap as H, a2 as ue, av as fe, a0 as ge, a1 as me, B as O, aw as m, ax as x, ay as xe, az as y, aA as he, e as _, f as k, a3 as Oe, aB as Ce, aC as ye, aD as be, a6 as w, aE as ee, aF as ve, aG as Te, aH as Re, as as ke, d as we, aq as Ee, ar as Se } from "./DKwtBx9sOuW7Idh0.js";
|
|
4
4
|
/**
|
|
5
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.
|
|
5
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.18
|
|
6
6
|
*
|
|
7
7
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
8
8
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
9
9
|
*/
|
|
10
|
-
const
|
|
10
|
+
const Fe = L(i("path", { d: "M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z" }), "ArrowBack"), Ie = L(i("path", { d: "m20 12-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8z" }), "ArrowDownward"), De = L(i("path", { d: "m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z" }), "ArrowForward"), Le = L(i("path", { d: "m4 12 1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8z" }), "ArrowUpward"), z = oe((E) => {
|
|
11
11
|
const { label: h, value: r, options: a, onSelect: d, tabIndex: v = 0, ...A } = E, [P, T] = b(() => ie(r, a));
|
|
12
12
|
D(() => {
|
|
13
13
|
T(ie(r, a));
|
|
@@ -15,7 +15,7 @@ const Se = L(i("path", { d: "M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83
|
|
|
15
15
|
const K = H((u) => {
|
|
16
16
|
T(u.target.value), d?.(a[u.target.value]);
|
|
17
17
|
}, [d, a]), s = de(() => Object.keys(a).map((u) => i(ke, { value: u, children: u }, u)), [a]);
|
|
18
|
-
return p(we, { sx: { minWidth: 135 }, size: "small", children: [i(Ee, { children: h }), i(
|
|
18
|
+
return p(we, { sx: { minWidth: 135 }, size: "small", children: [i(Ee, { children: h }), i(Se, { inputProps: { tabIndex: v }, value: P, label: h, onChange: K, sx: { backgroundImage: `linear-gradient(${k("#fff", w(5))}, ${k("#fff", w(5))})` }, ...A, children: s })] });
|
|
19
19
|
}), te = { Workbook: "workbook", Sheet: "sheet" }, ne = { enter: 140, exit: 140 }, ae = { Formulas: c.Content.Formulas, Values: c.Content.Values, Notes: c.Content.Notes, Comments: c.Content.Comments }, se = { ...ae };
|
|
20
20
|
delete se.Values;
|
|
21
21
|
const Ae = { "By Rows": !0, "By Columns": !1 }, ie = (E, h) => {
|
|
@@ -25,13 +25,13 @@ const Ae = { "By Rows": !0, "By Columns": !1 }, ie = (E, h) => {
|
|
|
25
25
|
if (h[d] === E) return d;
|
|
26
26
|
}
|
|
27
27
|
}, Me = oe((E) => {
|
|
28
|
-
const { replace: h = !1, findText: r, replaceText: a, findOptions: d, replaceOptions: v, title: A, onHide: P, onFindOrReplace: T, ...K } = E, s = C(null), u = C(null), $ = C(null),
|
|
28
|
+
const { replace: h = !1, findText: r, replaceText: a, findOptions: d, replaceOptions: v, title: A, onHide: P, onFindOrReplace: T, ...K } = E, s = C(null), u = C(null), $ = C(null), W = C(null), j = C(null), N = C(null), q = (e, t) => {
|
|
29
29
|
t && (t.start(e, { center: !1 }), setTimeout(() => t.stop(e), 180));
|
|
30
|
-
}, [G, I] = b(!1), [B, le] = b(!1), [f, M] = b(h), [U, V] = b(!1), [X, J] = b(!1), [o, l] = b({ findText: null, replaceText: null, replace: h, replaceOptions: {}, findOptions: { matchCase: !1, matchEntireCell: !1, useRegex: !1, orientation: R.Orientation.Row, fields: [c.Content.Formulas] }, scope: te.Sheet }),
|
|
30
|
+
}, [G, I] = b(!1), [B, le] = b(!1), [f, M] = b(h), [U, V] = b(!1), [X, J] = b(!1), [o, l] = b({ findText: null, replaceText: null, replace: h, replaceOptions: {}, findOptions: { matchCase: !1, matchEntireCell: !1, useRegex: !1, orientation: R.Orientation.Row, fields: [c.Content.Formulas] }, scope: te.Sheet }), S = H(async (e, t, n, F) => {
|
|
31
31
|
if (!T) return;
|
|
32
32
|
const g = { ...o };
|
|
33
33
|
g.replaceOptions = { ...g.replaceOptions }, g.findOptions = { ...g.findOptions }, g.replaceOptions.maxCount = n ? void 0 : 1, g.replace = t, t && o.findOptions.fields?.[0] === c.Content.Values && (g.findOptions.fields = [c.Content.Formulas]), g.findOptions.reverse = !e;
|
|
34
|
-
const ce = await T({ autoFocus:
|
|
34
|
+
const ce = await T({ autoFocus: F, ...g });
|
|
35
35
|
V(ce === 0);
|
|
36
36
|
}, [o, T]);
|
|
37
37
|
D(() => {
|
|
@@ -40,8 +40,8 @@ const Ae = { "By Rows": !0, "By Columns": !1 }, ie = (E, h) => {
|
|
|
40
40
|
const Q = H((e, t) => {
|
|
41
41
|
if (e.keyCode === ue.Enter) {
|
|
42
42
|
if (!o.findText) return;
|
|
43
|
-
let n = !0,
|
|
44
|
-
e.shiftKey && (n = !1), t ? (e.ctrlKey && e.altKey && (
|
|
43
|
+
let n = !0, F = !1;
|
|
44
|
+
e.shiftKey && (n = !1), t ? (e.ctrlKey && e.altKey && (F = !0), q(e, F ? N.current : j.current)) : q(e, n ? W.current : $.current), S(n, t, F, !1);
|
|
45
45
|
}
|
|
46
46
|
}, [o]), Y = C(null);
|
|
47
47
|
pe(() => {
|
|
@@ -107,10 +107,10 @@ const Ae = { "By Rows": !0, "By Columns": !1 }, ie = (E, h) => {
|
|
|
107
107
|
}, onKeyDown: (e) => Q(e, !1), onContextMenu: (e) => {
|
|
108
108
|
e.stopPropagation();
|
|
109
109
|
} }), i(m, { selected: o.findOptions.reverse, onSelectToggle: (e) => {
|
|
110
|
-
|
|
111
|
-
}, touchRippleRef: $, label: "", shortcut: { key: "Enter", modifiers: [y.Shift] }, icon: x(o.findOptions.orientation !== R.Orientation.Column ? i(
|
|
112
|
-
|
|
113
|
-
}, touchRippleRef:
|
|
110
|
+
S(!1, !1);
|
|
111
|
+
}, touchRippleRef: $, label: "", shortcut: { key: "Enter", modifiers: [y.Shift] }, icon: x(o.findOptions.orientation !== R.Orientation.Column ? i(Fe, {}) : i(Le, {})), disabled: !o.findText }), i(m, { selected: !o.findOptions.reverse, onSelectToggle: (e) => {
|
|
112
|
+
S(!0, !1);
|
|
113
|
+
}, touchRippleRef: W, label: "Next Match", shortcut: { key: "Enter" }, icon: x(o.findOptions.orientation !== R.Orientation.Column ? i(De, {}) : i(Ie, {})), disabled: !o.findText })] }), i(ee, { in: f, timeout: ne, onExit: () => {
|
|
114
114
|
s.current?.focus();
|
|
115
115
|
}, children: p(O, { sx: { display: "flex", flexDirection: "row", alignItems: "center", marginTop: (e) => e.spacing(2) }, children: [i(_, { label: "Replace", InputLabelProps: { shrink: !0 }, InputProps: { sx: { paddingRight: (e) => e.spacing(1), backgroundImage: `linear-gradient(${k("#fff", w(5))}, ${k("#fff", w(5))})` }, inputProps: { ref: u, className: "input", spellCheck: !1, autoComplete: "off", sx: { paddingTop: (e) => e.spacing(1.25), paddingBottom: (e) => e.spacing(0.75) } } }, sx: { flex: "1 1 100%", marginRight: (e) => e.spacing(1) }, value: o.replaceText ?? "", onChange: (e) => {
|
|
116
116
|
l((t) => {
|
|
@@ -120,9 +120,9 @@ const Ae = { "By Rows": !0, "By Columns": !1 }, ie = (E, h) => {
|
|
|
120
120
|
}, onKeyDown: (e) => Q(e, !0), onContextMenu: (e) => {
|
|
121
121
|
e.stopPropagation();
|
|
122
122
|
} }), i(m, { onSelectToggle: (e) => {
|
|
123
|
-
|
|
124
|
-
}, touchRippleRef:
|
|
125
|
-
|
|
123
|
+
S(!0, !0);
|
|
124
|
+
}, touchRippleRef: j, label: "Replace", shortcut: { key: "Enter" }, icon: x(i(ve, {})), disabled: !o.findText }), i(m, { onSelectToggle: (e) => {
|
|
125
|
+
S(!0, !0, !0);
|
|
126
126
|
}, touchRippleRef: N, label: "Replace All", shortcut: { key: "Enter", modifiers: [y.Ctrl, y.Alt] }, icon: x(i(Te, {})), disabled: !o.findText })] }) })] })] }), i(ee, { in: B, timeout: ne, onExit: () => {
|
|
127
127
|
s.current?.focus();
|
|
128
128
|
}, children: p(O, { sx: { minHeight: "10px", flex: "1 1 100%", display: "flex", flexDirection: "column", gap: (e) => e.spacing(0.5), marginTop: (e) => e.spacing(1) }, children: [i(Re, { orientation: "horizontal", sx: { marginBottom: (e) => e.spacing(1.5) } }), p(O, { sx: { display: "flex", flexDirection: Z >= 413 ? "row" : "column", justifyContent: "space-evenly", alignItems: "center", rowGap: (e) => e.spacing(2) }, tabIndex: -1, children: [i(z, { label: "Within", value: o.scope, options: te, onSelect: (e) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.18
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { jsx as o, jsxs as A } from "react/jsx-runtime";
|
|
2
|
+
import { memo as E, useMemo as O, useState as g, useCallback as P } from "react";
|
|
3
|
+
import { ap as f, w as S, B as U, d as b, e as D, f as l, a6 as p } from "./DKwtBx9sOuW7Idh0.js";
|
|
4
|
+
/**
|
|
5
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.18
|
|
6
|
+
*
|
|
7
|
+
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
8
|
+
* License: The license can be found at https://www.sheetxl.com/license.
|
|
9
|
+
*/
|
|
10
|
+
const V = ["Ok", "Cancel"], J = E((w) => {
|
|
11
|
+
const { initialHyperlink: t = null, initialDisplay: F = null, onUpdateHyperlink: m, context: s, onOption: x, onValidateOption: r, onDone: d, options: h = V, defaultOption: c = h?.[0], cancelOption: i = "Cancel", sx: H, ...I } = w, v = O(() => (t ?? s?.()?.getHyperlink()) !== null, []), y = O(() => {
|
|
12
|
+
let e = null, n = null;
|
|
13
|
+
t && (typeof t == "string" ? n = t : e = t);
|
|
14
|
+
const C = e ?? s?.()?.getHyperlink();
|
|
15
|
+
return { address: n ?? C?.getAddress() ?? "", textToDisplay: C?.getDisplayText() ?? "" };
|
|
16
|
+
}, [t, s]), [a, M] = g(y.address), [u, B] = g(() => {
|
|
17
|
+
const e = s?.().toTextUnformatted() ?? F;
|
|
18
|
+
return e === y.address ? "" : e;
|
|
19
|
+
}), [$, k] = g(!1), L = P((e) => {
|
|
20
|
+
B(e.target.value);
|
|
21
|
+
}, []), T = P(async (e, n) => null, []), W = f(async (e) => {
|
|
22
|
+
e !== i && m?.(a === "" ? null : { address: a }, u), x?.(e, e === i, e === c), d?.();
|
|
23
|
+
}, [a, u, m, d, x, c, i]), j = f((e) => {
|
|
24
|
+
M(e.target.value), T(e.target.value, null);
|
|
25
|
+
}, [r]), z = f(async (e) => {
|
|
26
|
+
let n = await Promise.resolve(r?.(e));
|
|
27
|
+
try {
|
|
28
|
+
n !== !1 && (n = await T(a, e));
|
|
29
|
+
} catch {
|
|
30
|
+
}
|
|
31
|
+
return n ?? !0;
|
|
32
|
+
}, [r]);
|
|
33
|
+
return o(S, { title: (v ? "Edit" : "Insert") + " Link", options: h, onDone: d, onOption: (e) => W(e), onValidateOption: z, defaultOption: c, cancelOption: i, autoFocusSel: ".autoFocus", sx: { width: "480px", ...H }, ...I, children: A(U, { sx: { paddingTop: (e) => e.spacing(1), paddingBottom: (e) => e.spacing(0), rowGap: (e) => e.spacing(1), display: "flex", flexDirection: "column" }, children: [o(b, { sx: { paddingTop: (e) => e.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: o(D, { label: "Address", placeholder: "Enter a url or cell reference.", onFocus: (e) => {
|
|
34
|
+
$ || e.target?.select(), k(!0);
|
|
35
|
+
}, sx: { "& .MuiFormHelperText-root": { marginTop: (e) => e.spacing(0.5) } }, InputLabelProps: { shrink: !0 }, InputProps: { inputProps: { className: "autoFocus", spellCheck: !1, autoComplete: "off", sx: { paddingTop: (e) => e.spacing(1.25), paddingBottom: (e) => e.spacing(0.75), backgroundImage: `linear-gradient(${l("#fff", p(5))}, ${l("#fff", p(5))})` } } }, value: a, onChange: j, onContextMenu: (e) => {
|
|
36
|
+
e.stopPropagation();
|
|
37
|
+
} }) }), o(b, { sx: { paddingTop: (e) => e.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: o(D, { label: "Display Text", placeholder: a?.startsWith("#") ? a.substring(1) : a, onFocus: () => {
|
|
38
|
+
k(!0);
|
|
39
|
+
}, sx: { "& .MuiFormHelperText-root": { marginTop: (e) => e.spacing(0.5) } }, InputLabelProps: { shrink: !0 }, InputProps: { inputProps: { spellCheck: !1, autoComplete: "off", sx: { paddingTop: (e) => e.spacing(1.25), paddingBottom: (e) => e.spacing(0.75), backgroundImage: `linear-gradient(${l("#fff", p(5))}, ${l("#fff", p(5))})` } } }, value: u, onChange: L, onContextMenu: (e) => {
|
|
40
|
+
e.stopPropagation();
|
|
41
|
+
} }) })] }) });
|
|
42
|
+
});
|
|
43
|
+
export {
|
|
44
|
+
J as HyperlinkDialog,
|
|
45
|
+
J as default
|
|
46
|
+
};
|