@sheetxl/studio-vanilla 0.4.15 → 0.4.16
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/{gI7uI_k_jVDAtJup.cjs → 2z48hC9Lgl_XFiR8.cjs} +1 -1
- package/browser/cjs/{BSJTx60VBwf450vd.cjs → 527-wdwXfhlxqigX.cjs} +1 -1
- package/browser/cjs/8iv5H_Fv58DG9HON.cjs +6 -0
- package/browser/cjs/{0wJgZUT7DgId9Xtu.cjs → 9FygAwnwGtj51rKR.cjs} +6 -6
- package/browser/cjs/{BUWv6Ysw6pYG7w7W.cjs → B3FNhqGnpjO3bF1J.cjs} +3 -3
- package/browser/cjs/{BzRfETjQwEEJfpgZ.cjs → B8PZzwEzGHdX2D1A.cjs} +1 -1
- package/browser/cjs/{Bf0HoYuEDFO9Gwdv.cjs → BDDHipsk8fDa6KzG.cjs} +6 -6
- package/browser/cjs/{vce4VfmWFd9ClUSo.cjs → BDiEyTUhhZ0E4TEV.cjs} +1 -1
- package/browser/cjs/{D4582BA0aCqJ_PrJ.cjs → BEuLDE1KvRWWFlHK.cjs} +1 -1
- package/browser/cjs/{qB-lxZgY2Iz9Bc6T.cjs → BNiCvN3wpcuvRJDa.cjs} +2 -2
- package/browser/cjs/{3oobHi8j_DGW35rC.cjs → BOjR7WcuPM7CqQ61.cjs} +14 -14
- package/browser/cjs/{CRe-vd2WZQabNDDS.cjs → BOwI__-2C4zHdb02.cjs} +1 -1
- package/browser/cjs/{D74hXHJrfnGhbNBg.cjs → BPEiEiVl_5BbvIuk.cjs} +2 -2
- package/browser/cjs/BbEY710KwFxGt-nx.cjs +364 -0
- package/browser/cjs/{Ck8K0c7E5RT8WMbO.cjs → BmHg0RJIh8fueA1b.cjs} +5 -5
- package/browser/cjs/{DrRRwzZUlGvA6cQT.cjs → BqhC-4_bAAdxiG10.cjs} +1 -1
- package/browser/cjs/{BJu8UGaYuFmjvmwl.cjs → BxKEYXw6K_cJQVyL.cjs} +1 -1
- package/browser/cjs/{DAGEOiTL4sCagK3p.cjs → By5yxiEAIP-yru4E.cjs} +1 -1
- package/browser/cjs/{_OSzgfBNK1m22Jek.cjs → C7E9AxEhqGR5hjuF.cjs} +2 -2
- package/browser/cjs/{BKIvZi8Z5lHc2S32.cjs → C9e_gEokumOSJEQE.cjs} +1 -1
- package/browser/cjs/{CRe8klqBNVDkSDEr.cjs → CDqIINbe_kUDiu3S.cjs} +2 -2
- package/browser/cjs/{BcHEeTMPgurSZ2Kh.cjs → CFTqCNfD7KPB5D2t.cjs} +1 -1
- package/browser/cjs/{BFZbsyTO3uhLJbLO.cjs → CGMIvqM1bAMiSrpL.cjs} +1 -1
- package/browser/cjs/{BgsgGbpzcl7wg2IO.cjs → CIXCQscBfq2DpLXc.cjs} +1 -1
- package/browser/cjs/{Ct0fgg-1dB-T7u7T.cjs → CPcLGP9ohAPquX_P.cjs} +2 -2
- package/browser/cjs/{BgHBftj6ugXjpyaF.cjs → CSZA-xOWQAk2bPo6.cjs} +1 -1
- package/browser/cjs/{CnDLmICwEpdeYECg.cjs → C_rz86UiiqTsrxS_.cjs} +4 -4
- package/browser/cjs/{YTXgMiobveLIPF9T.cjs → CgMWE9E3Hpz-3OT8.cjs} +1 -1
- package/browser/cjs/{CA0OjW0AOuGEjxZ2.cjs → CitQIsT3Zql2d5Vu.cjs} +2 -2
- package/browser/cjs/{EIY0bt22HqBjrvRt.cjs → Cn5jJo4kHJGk3N7P.cjs} +2 -2
- package/browser/cjs/{D_RVszeEK0DfF-EN.cjs → CpZL07iGOPpGjHM-.cjs} +1 -1
- package/browser/cjs/{mW3Ya0GEjpmsa_YK.cjs → CuF5AeSoTUyseIPf.cjs} +1 -1
- package/browser/cjs/{uryrVY1PPsKlOzso.cjs → CxILJtUEEXVq79VE.cjs} +2 -2
- package/browser/cjs/{Dg9yKaBrYK9w4cQO.cjs → CxRW9GVbe6zNc--Y.cjs} +3 -3
- package/browser/cjs/{fjQ9vPUSGRU1VSoH.cjs → D33_ArewzvVZrJs5.cjs} +1 -1
- package/browser/cjs/{CqugZolY4J8viegd.cjs → D5txayapke7SLywP.cjs} +2 -2
- package/browser/cjs/{DY1iEDz8BWZpqFOo.cjs → D96Vd9ML6lEp2yNc.cjs} +2 -2
- package/browser/cjs/{DotFGD_QKvqoQlAL.cjs → DAuVoLkfGR03lbJL.cjs} +2 -2
- package/browser/cjs/{BVHaNjM0-FXL7gyh.cjs → DFforK4FhDLP9UUc.cjs} +1 -1
- package/browser/cjs/{C8BQmea-gRcTEaYH.cjs → DHmgJr7cr-5rmqrC.cjs} +2 -2
- package/browser/cjs/{BH_qrKPpuqL9YxGP.cjs → DM17oP0REi-dMzRh.cjs} +1 -1
- package/browser/cjs/{6DwFSFOve5d5Kh4O.cjs → DXEqr7NfFBng4qp7.cjs} +2 -2
- package/browser/cjs/{CrnvoFSZfgmBlK86.cjs → Dd8-Ixj1ckpU18vR.cjs} +2 -2
- package/browser/cjs/{BdnGDChdub9m1gbK.cjs → DduMAzPLo62DsEIv.cjs} +1 -1
- package/browser/cjs/{sXSha5rBK3lo_tOD.cjs → Dh4QAMYLxa-nm3b1.cjs} +1 -1
- package/browser/cjs/{BzhfyRZdk-oiyEa3.cjs → DsMEB6CCQ9XeKx0W.cjs} +1 -1
- package/browser/cjs/{DgFtbCf8dkncAq_r.cjs → DuV6aIKntSIlFlmP.cjs} +1 -1
- package/browser/cjs/{DWh6QtlFsPfZ3Asz.cjs → DvOP3Sz4bOvvB51y.cjs} +4 -4
- package/browser/cjs/{DtQ-sP4vg1IpzFkc.cjs → DwBWZnrTp5UcLnAE.cjs} +1 -1
- package/browser/cjs/{BsCdHkza2KUgNs3F.cjs → EEd3txVEsMOS25kJ.cjs} +1 -1
- package/browser/cjs/{ClXfvzbTzK5w-Tv9.cjs → MDi4HLKgwSCu6fyR.cjs} +1 -1
- package/browser/cjs/{ArJueN3Q9EFBG6tK.cjs → OLQtPYBVwDJUVBX4.cjs} +2 -2
- package/browser/cjs/{BG0zKZBHarIk0gKB.cjs → SKR8zQ_6EFd3QuXc.cjs} +1 -1
- package/browser/cjs/{CtLA5mrQxGamDt92.cjs → hosXXKv9_3bMMvPn.cjs} +1 -1
- package/browser/cjs/index.cjs +2 -2
- package/browser/cjs/{DDbNLc2mUv7Q6msK.cjs → isuVkDnj-ShYtgWE.cjs} +1 -1
- package/browser/cjs/{CqILFqDohV7CdFQ1.cjs → kbVoRE7sSKze9AGf.cjs} +1 -1
- package/browser/cjs/{DAxpZHSeQ9vUP1m6.cjs → tHZy6iR0C8BJ7ao2.cjs} +1 -1
- package/browser/esm/{D14VyfRK6-WOMJJO.mjs → 3LUy01lLdiAyu4L8.mjs} +1 -1
- package/{cdn/assets/B9vAqNVLp_vCTrP_.js → browser/esm/6dBbccz3d0UDCmId.mjs} +1 -1
- package/browser/esm/{B_YrH7VnXiUkYu8u.mjs → 7zmlmdpV46wT0D_8.mjs} +2 -2
- package/{cdn/assets/BXhoPHXmFqGJhEOT.js → browser/esm/AbVL9q93k2OjvNMS.mjs} +1 -1
- package/{cdn/assets/DT0kcrmyi0GrASFM.js → browser/esm/B0pXYR2QIxH_yyCd.mjs} +1 -1
- package/browser/esm/{u8MA5qQcSH-VSLrB.mjs → BDpFOktVt42TQpcN.mjs} +4 -4
- package/browser/esm/{Beqd_eZheAqcy9eR.mjs → BFGNX8BKN0YukAfE.mjs} +16386 -16403
- package/browser/esm/{iXnpVI-bOFX7L6z-.mjs → BIPFm0SUVy_xxuHx.mjs} +2 -2
- package/browser/esm/{D9ftd36uosOvK1Bz.mjs → BJqUNdAULMuqfoNS.mjs} +7 -7
- package/browser/esm/{BNuTKa0cEC3F4rTF.mjs → BMcBO1IQO3eNx3D8.mjs} +1 -1
- package/browser/esm/{BxForeOFuQExxhBo.mjs → BQEjN2Ny_1RjJRRG.mjs} +2 -2
- package/browser/esm/{DrVjmz0t2Y2eHDvu.mjs → BcnRo-70LV3dW2F8.mjs} +1 -1
- package/browser/esm/{DAM-CuXQIzcQS8y2.mjs → BegJ95DwnjizqVvZ.mjs} +2 -2
- package/browser/esm/{CqRDFmwJualsG-hJ.mjs → BphrEGpsPHge38iD.mjs} +1 -1
- package/browser/esm/{Bh6dC8KTHWpKMi09.mjs → Bxh-G6GIKLTgdQSU.mjs} +1 -1
- package/{cdn/assets/BqmualWSYd-czqNW.js → browser/esm/CEn_nscDh2qWGWkf.mjs} +1 -1
- package/browser/esm/{DQiTAq0r1q5Z_7H6.mjs → CHQ2p5JXvpblW5Mr.mjs} +10 -10
- package/browser/esm/{Cb1Q2phpEESgs7mi.mjs → CJ2VfoplPO3aOFIS.mjs} +8 -8
- package/{cdn/assets/ZciEgxXQYsHyV2gO.js → browser/esm/CM9SSh6zB4mXFuiK.mjs} +1 -1
- package/{cdn/assets/C5Vhk6RekNjP_kzl.js → browser/esm/CNNQFdovfxmKTLqX.mjs} +1 -1
- package/{cdn/assets/CQMGhCDKbq2op_BI.js → browser/esm/CPzGoc5ivg6BGW5V.mjs} +1 -1
- package/browser/esm/{CslDdQ92RlF9XCcF.mjs → CQ8SVGYEop2G_eer.mjs} +1 -1
- package/browser/esm/{n6RMMH6ZZaYET-uv.mjs → CR-h2aljy2JwwOmN.mjs} +6 -6
- package/browser/esm/{CfMo1fAExeFOibAQ.mjs → CYW0tIypPPivmPYC.mjs} +2 -2
- package/browser/esm/{YEeWnRTVhFsSnEoO.mjs → Cyu6G1cmylOjsfqu.mjs} +26 -26
- package/browser/esm/{CSSayGD6fTeehKt_.mjs → CzcfqZRl8TT7_AA8.mjs} +4 -4
- package/{cdn/assets/DmSh4h3LBSgZNzzF.js → browser/esm/D0HahgSi_BcRitIR.mjs} +1 -1
- package/browser/esm/{CTEiaS8NJUMozWzX.mjs → D6rU9DOoEw4c1pUc.mjs} +1 -1
- package/browser/esm/{Bt1LjWrzTz3VQP5i.mjs → DDaraJFhLInV4GMJ.mjs} +1 -1
- package/{cdn/assets/BwEUAuMX1MAp6TLB.js → browser/esm/DE8w2hURn5qI8AKp.mjs} +1 -1
- package/{cdn/assets/DxOr3qEZVibn2HK7.js → browser/esm/DGk-Ommc_o1xYlw-.mjs} +1 -1
- package/browser/esm/{DVAgkqy1aZdEMIzM.mjs → DHwgBfUeVdooDLZu.mjs} +1 -1
- package/browser/esm/{DdcqO--nszyX8nqj.mjs → DNmLY801ferFO5Uk.mjs} +6 -6
- package/browser/esm/{5RdhqzgwkuR2ox0E.mjs → DPRM8hNlNCr3-T5W.mjs} +1 -1
- package/browser/esm/{B_JJ8lAbaPdlt8l4.mjs → DSgo1psKmx1fs5GP.mjs} +2 -2
- package/{cdn/assets/CnwSRSKNfq2GyXas.js → browser/esm/D_SW7AJGTxZZhEhN.mjs} +1 -1
- package/browser/esm/{azuJCFiVoU4Ebb9P.mjs → Dcro_uZlLqe8StKp.mjs} +2 -2
- package/browser/esm/{Bp2dkgUm5zsuNnPH.mjs → Ddco0tbzyQ9zfvAR.mjs} +1 -1
- package/{cdn/assets/CQoo-4sVCrOfP9iU.js → browser/esm/DhtBGaXEjpSpeQD2.mjs} +1 -1
- package/browser/esm/{BFYBuTXa6xa5ZjBo.mjs → DmeMooAnq1CVPk8s.mjs} +1 -1
- package/{cdn/assets/BPDWQKVFxO_3IqZX.js → browser/esm/DnDDStLug64LBv-3.mjs} +1 -1
- package/{cdn/assets/D8Eij5qtEH8tI7eL.js → browser/esm/Dp4czjfjfaFH_dEJ.mjs} +7 -7
- package/browser/esm/{CeDuz_yZT4XG-Pv8.mjs → DqP6X7y9HwGY7VjP.mjs} +11 -11
- package/{cdn/assets/C2DVh9PCXymQ6Bku.js → browser/esm/DrT_zO6kt_14yLBZ.mjs} +1 -1
- package/browser/esm/{ClLJBQr4mG8VGyC3.mjs → DuJX6KV57WopKk9q.mjs} +4 -4
- package/{cdn/assets/Do7w66ZbyFAW-Kvo.js → browser/esm/DwUhQt38jwVGevvy.mjs} +1 -1
- package/{cdn/assets/CvTxaj5stKRFGegY.js → browser/esm/IF2d9xZoQ-KwvBKh.mjs} +1 -1
- package/browser/esm/{C0KLnjyGhfqKP-3J.mjs → MXO5bWHStxysNVsg.mjs} +2 -2
- package/{cdn/assets/IWZ_bebXCJeQz19V.js → browser/esm/PzttknQejK9onrpS.mjs} +1 -1
- package/browser/esm/{CWSZwGuenxmHgLXd.mjs → TM6K2pq3Dcv9IkuU.mjs} +1 -1
- package/browser/esm/{Dre4qd4kiDqAnEpH.mjs → XMnVd_ZFLys2rjY7.mjs} +2 -2
- package/{cdn/assets/BAARsakyOFrwNKVu.js → browser/esm/iYM_upfOH9oA049a.mjs} +6 -6
- package/browser/esm/index.mjs +2 -2
- package/browser/esm/{DVqoG8OFm93ndK8u.mjs → kXeRQRPLeKsnYZWE.mjs} +2 -2
- package/browser/esm/{BUAQRxezxaeHUbwe.mjs → mMMnv_KWRsRe75FG.mjs} +1 -1
- package/browser/esm/{BmkIbFYjQZnaZGzF.mjs → q0yHqQ5GBeLgY-gd.mjs} +1 -1
- package/browser/esm/{CMgjnCC7huqsMZ7l.mjs → tBO69ofaNapzt3L4.mjs} +6 -6
- package/browser/esm/{DRoKqCpNKKdYKqZ3.mjs → wt2Q3yM9_nGedjrL.mjs} +707 -710
- package/cdn/assets/{D14VyfRK6-WOMJJO.js → 3LUy01lLdiAyu4L8.js} +1 -1
- package/{browser/esm/B9vAqNVLp_vCTrP_.mjs → cdn/assets/6dBbccz3d0UDCmId.js} +1 -1
- package/cdn/assets/{DoiUKE9bzdCohsIn.js → A8eAz4-PTuL72Hin.js} +2 -2
- package/{browser/esm/BXhoPHXmFqGJhEOT.mjs → cdn/assets/AbVL9q93k2OjvNMS.js} +1 -1
- package/{browser/esm/DT0kcrmyi0GrASFM.mjs → cdn/assets/B0pXYR2QIxH_yyCd.js} +1 -1
- package/cdn/assets/{BCMTnGKJGZCOn8RP.js → B3boJwK33Z6RqPqk.js} +2 -2
- package/cdn/assets/{BsNGXIjB2gB75oDq.js → B6sQ-SvjZgQQji5w.js} +15 -15
- package/cdn/assets/{C8ZVHIXuFCsMz4su.js → BHIQzrKfKNFUBjR9.js} +1 -1
- package/cdn/assets/{BNuTKa0cEC3F4rTF.js → BMcBO1IQO3eNx3D8.js} +1 -1
- package/cdn/assets/{DrVjmz0t2Y2eHDvu.js → BcnRo-70LV3dW2F8.js} +1 -1
- package/cdn/assets/{D3wy0hvPKjYlTqDZ.js → Ber1-vHUp5sOqFS7.js} +1 -1
- package/cdn/assets/{DTlKjG3w2RgTejVm.js → Bj-ZU4RLivZywsqT.js} +2 -2
- package/cdn/assets/{DPpga_z_sz7WeoGk.js → Bjv69OWhcDpPMIFg.js} +14578 -14595
- package/cdn/assets/{CqRDFmwJualsG-hJ.js → BphrEGpsPHge38iD.js} +1 -1
- package/cdn/assets/{NPHYIK_SYI8TgWVt.js → Bt3GnfDq2p0GHntP.js} +5 -5
- package/{browser/esm/Bpujg7eS-yYzfXnQ.mjs → cdn/assets/BuEJOKp47YUO-SKV.js} +73 -73
- package/cdn/assets/{Bh6dC8KTHWpKMi09.js → Bxh-G6GIKLTgdQSU.js} +1 -1
- package/cdn/assets/{D4UoNdvz3kZD9Fg7.js → BzJDFxx0-f3ofc07.js} +707 -710
- package/cdn/assets/{CVtFEjbMohoQQwVa.js → Bzmc21lMGO689Gtm.js} +2 -2
- package/cdn/assets/{C82_3AL3p2OPqUES.js → CBZHbb2bqbziokhD.js} +42 -42
- package/cdn/assets/{clveP5QdWgiuzHNH.js → CCyqNw5QYfgHLK1w.js} +2 -2
- package/{browser/esm/BqmualWSYd-czqNW.mjs → cdn/assets/CEn_nscDh2qWGWkf.js} +1 -1
- package/cdn/assets/{CsV6TK9KYwaT40Nd.js → CK4HRZFkpjItprps.js} +57 -57
- package/{browser/esm/ZciEgxXQYsHyV2gO.mjs → cdn/assets/CM9SSh6zB4mXFuiK.js} +1 -1
- package/{browser/esm/C5Vhk6RekNjP_kzl.mjs → cdn/assets/CNNQFdovfxmKTLqX.js} +1 -1
- package/{browser/esm/CQMGhCDKbq2op_BI.mjs → cdn/assets/CPzGoc5ivg6BGW5V.js} +1 -1
- package/cdn/assets/{CslDdQ92RlF9XCcF.js → CQ8SVGYEop2G_eer.js} +1 -1
- package/cdn/assets/{ChzKnwtP8tCXlyQC.js → CQeDWMJhZEMvysUh.js} +2 -2
- package/cdn/assets/{ByGApkjEdqWJCmIL.js → CWgLS_jMj5DNrggO.js} +4 -4
- package/cdn/assets/{C4PvQzHOWYFQIrTT.js → Ch5JO1OSaLcDuY1a.js} +4 -4
- package/{browser/esm/DmSh4h3LBSgZNzzF.mjs → cdn/assets/D0HahgSi_BcRitIR.js} +1 -1
- package/{browser/esm/DSBeC26EhsTkKu9_.mjs → cdn/assets/D5-W8jVCdTuhwV4I.js} +14 -14
- package/cdn/assets/{Bt1LjWrzTz3VQP5i.js → DDaraJFhLInV4GMJ.js} +1 -1
- package/{browser/esm/BwEUAuMX1MAp6TLB.mjs → cdn/assets/DE8w2hURn5qI8AKp.js} +1 -1
- package/{browser/esm/DxOr3qEZVibn2HK7.mjs → cdn/assets/DGk-Ommc_o1xYlw-.js} +1 -1
- package/cdn/assets/{DVAgkqy1aZdEMIzM.js → DHwgBfUeVdooDLZu.js} +1 -1
- package/cdn/assets/{CQ_eXYB8jRiWFzL8.js → DI9WWYlw4XtaKxJ9.js} +16 -16
- package/cdn/assets/DN9WPHXLnxyrdP62.js +49 -0
- package/cdn/assets/{ClwsvKMIARY6eKe8.js → DOoM8QGUlLAU2iqo.js} +8 -8
- package/cdn/assets/{5RdhqzgwkuR2ox0E.js → DPRM8hNlNCr3-T5W.js} +1 -1
- package/cdn/assets/DSfbEMCq8-gDBtv_.js +46 -0
- package/cdn/assets/{DrKm9mDEvFK0tW1J.js → DZyvhfi33GteuMM3.js} +4 -4
- package/{browser/esm/CnwSRSKNfq2GyXas.mjs → cdn/assets/D_SW7AJGTxZZhEhN.js} +1 -1
- package/cdn/assets/{Bp2dkgUm5zsuNnPH.js → Ddco0tbzyQ9zfvAR.js} +1 -1
- package/cdn/assets/{CxPN10OK3cql47vK.js → DdjDNvycthoT3npY.js} +2 -2
- package/{browser/esm/CQoo-4sVCrOfP9iU.mjs → cdn/assets/DhtBGaXEjpSpeQD2.js} +1 -1
- package/cdn/assets/{BFYBuTXa6xa5ZjBo.js → DmeMooAnq1CVPk8s.js} +1 -1
- package/{browser/esm/BPDWQKVFxO_3IqZX.mjs → cdn/assets/DnDDStLug64LBv-3.js} +1 -1
- package/{browser/esm/C2DVh9PCXymQ6Bku.mjs → cdn/assets/DrT_zO6kt_14yLBZ.js} +1 -1
- package/{browser/esm/Do7w66ZbyFAW-Kvo.mjs → cdn/assets/DwUhQt38jwVGevvy.js} +1 -1
- package/{browser/esm/CvTxaj5stKRFGegY.mjs → cdn/assets/IF2d9xZoQ-KwvBKh.js} +1 -1
- package/{browser/esm/IWZ_bebXCJeQz19V.mjs → cdn/assets/PzttknQejK9onrpS.js} +1 -1
- package/cdn/assets/{CWSZwGuenxmHgLXd.js → TM6K2pq3Dcv9IkuU.js} +1 -1
- package/cdn/assets/{DmTmS8Vw_AvNiuzU.js → UYuqeLmzk4CZISVt.js} +10 -10
- package/cdn/assets/{BUAQRxezxaeHUbwe.js → mMMnv_KWRsRe75FG.js} +1 -1
- package/cdn/assets/{BmkIbFYjQZnaZGzF.js → q0yHqQ5GBeLgY-gd.js} +1 -1
- package/cdn/assets/{bGhAFgohHm88dsqJ.js → sZe9Sjpn-rLq53T6.js} +11 -11
- package/cdn/index.js +2 -2
- package/cdn/loader.js +1 -1
- package/package.json +3 -3
- package/browser/cjs/CXn4J7ISlTV_SfvZ.cjs +0 -6
- package/browser/cjs/TAIJH4y6CbXhFnhx.cjs +0 -364
- package/cdn/assets/CP0YRrUyk_DwRGye.js +0 -46
- package/cdn/assets/sMpbLhp97YEbNwUD.js +0 -49
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as x, b as f, r as L, t as rt, a as A, p as D, d as st } from "./
|
|
1
|
+
import { aS as k, y as T, ao as G, F as Z, _ as W, aT as C, aU as tt, aV as P, Y as et, E as Y, aW as V } from "./Bjv69OWhcDpPMIFg.js";
|
|
2
|
+
import { c as x, b as f, r as L, t as rt, a as A, p as D, d as st } from "./BuEJOKp47YUO-SKV.js";
|
|
3
3
|
/**
|
|
4
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.
|
|
4
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.16
|
|
5
5
|
*
|
|
6
6
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
7
7
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -230,7 +230,7 @@ class I {
|
|
|
230
230
|
return t === "ctr" ? "center" : t;
|
|
231
231
|
}
|
|
232
232
|
}
|
|
233
|
-
class
|
|
233
|
+
class J {
|
|
234
234
|
visit(t, e, s) {
|
|
235
235
|
}
|
|
236
236
|
processStroke(t, e, s) {
|
|
@@ -394,7 +394,7 @@ class q {
|
|
|
394
394
|
return i ? ` ${s} ${!i || parseFloat(i) / r}` : ` ${s}`;
|
|
395
395
|
}
|
|
396
396
|
}
|
|
397
|
-
class M extends
|
|
397
|
+
class M extends J {
|
|
398
398
|
visit(t, e, s) {
|
|
399
399
|
try {
|
|
400
400
|
const r = t.evaluate("xfrm", e);
|
|
@@ -480,7 +480,7 @@ class N {
|
|
|
480
480
|
}
|
|
481
481
|
}
|
|
482
482
|
}
|
|
483
|
-
const
|
|
483
|
+
const q = (u, t, e) => {
|
|
484
484
|
if (u.getValAttrAsBoolean("invertIfNegative", t) === !0) if (u.evaluate("extLst/ext/invertSolidFillFmt", t)) {
|
|
485
485
|
if (e.fill && e.fillNegative) {
|
|
486
486
|
const s = u.getFromPath(e, "fill.solid.adjs");
|
|
@@ -533,7 +533,7 @@ class dt {
|
|
|
533
533
|
return s += "}", s;
|
|
534
534
|
}
|
|
535
535
|
afterVisit(t, e, s) {
|
|
536
|
-
|
|
536
|
+
q(t, e, s);
|
|
537
537
|
let r = t.getFromPath(s, "points");
|
|
538
538
|
if (r) {
|
|
539
539
|
const o = Object.keys(r);
|
|
@@ -553,7 +553,7 @@ class mt {
|
|
|
553
553
|
let r = t.getFromPath(s, "points"), o = null;
|
|
554
554
|
r ? o = r : (o = {}, t.setToPath(s, "points", o));
|
|
555
555
|
let i = {}, n = t.getValAttrAsString("idx", e);
|
|
556
|
-
return n !== null && (o[n] = i), m(t, e, i, "bubble3D", "bubble3D"), w(t, e, i, "explosion", "explosion"),
|
|
556
|
+
return n !== null && (o[n] = i), m(t, e, i, "bubble3D", "bubble3D"), w(t, e, i, "explosion", "explosion"), q(t, e, i), i;
|
|
557
557
|
}
|
|
558
558
|
}
|
|
559
559
|
class bt {
|
|
@@ -568,7 +568,7 @@ class bt {
|
|
|
568
568
|
return null;
|
|
569
569
|
}
|
|
570
570
|
}
|
|
571
|
-
class
|
|
571
|
+
class E {
|
|
572
572
|
visit(t, e, s) {
|
|
573
573
|
let r = {};
|
|
574
574
|
this.parseScaling(t, e, r), y(t, e, r, "majorUnit", "majorUnits"), y(t, e, r, "minorUnit", "minorUnits"), m(t, e, r, "delete", "shown"), this.parseOrientation(t, e, r), this.parseNumFormat(t, e, r), b(t, e, r, "majorTickMark", "majorTickMarks"), b(t, e, r, "minorTickMark", "minorTickMarks"), b(t, e, r, "crosses", "crosses"), y(t, e, r, "crossesAt", "crosses"), b(t, e, r, "crossBetween", "crossBetween"), this.parseLabelAlign(t, e, r), w(t, e, r, "lblOffset", "labelOffset"), b(t, e, r, "tickLblPos", "labelPosition");
|
|
@@ -733,7 +733,7 @@ class Ft {
|
|
|
733
733
|
return s.name = e.getAttribute("name"), s;
|
|
734
734
|
}
|
|
735
735
|
}
|
|
736
|
-
class Ct extends
|
|
736
|
+
class Ct extends J {
|
|
737
737
|
visit(t, e, s) {
|
|
738
738
|
const r = {};
|
|
739
739
|
r.name = e.getAttribute("name");
|
|
@@ -1367,7 +1367,7 @@ class kt {
|
|
|
1367
1367
|
return s;
|
|
1368
1368
|
}
|
|
1369
1369
|
}
|
|
1370
|
-
class
|
|
1370
|
+
class R {
|
|
1371
1371
|
visit(t, e, s) {
|
|
1372
1372
|
if (!e) return;
|
|
1373
1373
|
const r = {};
|
|
@@ -1564,7 +1564,7 @@ class jt {
|
|
|
1564
1564
|
}
|
|
1565
1565
|
}
|
|
1566
1566
|
}
|
|
1567
|
-
class
|
|
1567
|
+
class Et {
|
|
1568
1568
|
visit(t, e, s) {
|
|
1569
1569
|
if (!e) return;
|
|
1570
1570
|
const r = [];
|
|
@@ -1582,7 +1582,7 @@ class Rt {
|
|
|
1582
1582
|
}
|
|
1583
1583
|
}
|
|
1584
1584
|
}
|
|
1585
|
-
class
|
|
1585
|
+
class Rt {
|
|
1586
1586
|
visit(t, e, s) {
|
|
1587
1587
|
if (!e) return;
|
|
1588
1588
|
const r = {};
|
|
@@ -1624,7 +1624,7 @@ class zt {
|
|
|
1624
1624
|
}
|
|
1625
1625
|
class Xt {
|
|
1626
1626
|
constructor() {
|
|
1627
|
-
this.visitorsByXmlTagName = /* @__PURE__ */ new Map(), this.scopedVisitorsByXmlTagName = /* @__PURE__ */ new Map(), this.visitorParamsState = null, this.registerVisitor("Relationships", new ct()), this.registerVisitor("spPr", new M()), this.registerVisitor("txBody", new F()), this.registerVisitor("txPr", new F()), this.registerVisitor("c:chartSpace", new ut()), this.registerVisitor("c:chartSpace", new ht(), "chart"), this.registerVisitor("c:plotArea", new pt()), this.registerVisitor("c:barChart", new gt()), this.registerVisitor("c:doughnutChart", new S()), this.registerVisitor("c:lineChart", new S()), this.registerVisitor("c:ofPieType", new S()), this.registerVisitor("c:pieChart", new S()), this.registerVisitor("c:scatterChart", new S()), this.registerVisitor("c:barChart", new N("dataLabels"), "dLbls"), this.registerVisitor("c:doughnutChart", new N("dataLabels"), "dLbls"), this.registerVisitor("c:lineChart", new N("dataLabels"), "dLbls"), this.registerVisitor("c:ofPieType", new N("dataLabels"), "dLbls"), this.registerVisitor("c:pieChart", new N("dataLabels"), "dLbls"), this.registerVisitor("c:scatterChart", new N("dataLabels"), "dLbls"), this.registerVisitor("c:ser", new dt()), this.registerVisitor("c:dPt", new mt()), this.registerVisitor("c:marker", new bt()), this.registerVisitor("c:catAx", new
|
|
1627
|
+
this.visitorsByXmlTagName = /* @__PURE__ */ new Map(), this.scopedVisitorsByXmlTagName = /* @__PURE__ */ new Map(), this.visitorParamsState = null, this.registerVisitor("Relationships", new ct()), this.registerVisitor("spPr", new M()), this.registerVisitor("txBody", new F()), this.registerVisitor("txPr", new F()), this.registerVisitor("c:chartSpace", new ut()), this.registerVisitor("c:chartSpace", new ht(), "chart"), this.registerVisitor("c:plotArea", new pt()), this.registerVisitor("c:barChart", new gt()), this.registerVisitor("c:doughnutChart", new S()), this.registerVisitor("c:lineChart", new S()), this.registerVisitor("c:ofPieType", new S()), this.registerVisitor("c:pieChart", new S()), this.registerVisitor("c:scatterChart", new S()), this.registerVisitor("c:barChart", new N("dataLabels"), "dLbls"), this.registerVisitor("c:doughnutChart", new N("dataLabels"), "dLbls"), this.registerVisitor("c:lineChart", new N("dataLabels"), "dLbls"), this.registerVisitor("c:ofPieType", new N("dataLabels"), "dLbls"), this.registerVisitor("c:pieChart", new N("dataLabels"), "dLbls"), this.registerVisitor("c:scatterChart", new N("dataLabels"), "dLbls"), this.registerVisitor("c:ser", new dt()), this.registerVisitor("c:dPt", new mt()), this.registerVisitor("c:marker", new bt()), this.registerVisitor("c:catAx", new E()), this.registerVisitor("c:valAx", new E()), this.registerVisitor("c:dateAx", new E()), this.registerVisitor("c:majorGridlines", new j("gridLinesMajor")), this.registerVisitor("c:minorGridlines", new j("gridLinesMinor")), this.registerVisitor("c:chartSpace", null, "txPr"), this.registerVisitor("c:catAx", new F("labels.text"), "txPr"), this.registerVisitor("c:valAx", new F("labels.text"), "txPr"), this.registerVisitor("c:dateAx", new F("labels.text"), "txPr"), this.registerVisitor("c:legend", new At()), this.registerVisitor("c:legend", new F("labels.text"), "txPr"), this.registerVisitor("c:legendEntry", new ft()), this.registerVisitor("c:ser", new yt(), "extLst/ext/invertSolidFillFmt/spPr"), this.registerVisitor("c:ser", new N("labels"), "dLbls"), this.registerVisitor("c:dLbl", new N("points")), this.registerVisitor("c:title", new X()), this.registerVisitor("c:title", null, "tx/rich"), this.registerVisitor("c:title", null, "txPr"), this.registerVisitor("c:layout", new vt()), this.registerVisitor("c:dispUnits", new j("dispUnits")), this.registerVisitor("c:dispUnitsLbl", new X("displayUnitsLabel")), this.registerVisitor("c:dispUnitsLbl", new F(), "tx/rich"), this.registerVisitor("a:theme", new Ft()), this.registerVisitor("a:theme", new Ct(), "themeElements/clrScheme"), this.registerVisitor("a:theme", new wt(), "themeElements/fontScheme"), this.registerVisitor("autoFilter", new Nt()), this.registerVisitor("sortState", new Ot()), this.registerVisitor("s:workbook", new Vt()), this.registerVisitor("styleSheet", new Tt()), this.registerVisitor("table", new St()), this.registerVisitor("hlinkClick", new Pt()), this.registerVisitor("wsDr", new kt()), this.registerVisitor("twoCellAnchor", new R()), this.registerVisitor("oneCellAnchor", new R()), this.registerVisitor("absoluteAnchor", new R()), this.registerVisitor("graphicFrame", new xt()), this.registerVisitor("sp", new z()), this.registerVisitor("grpSp", new It()), this.registerVisitor("cxnSp", new Bt()), this.registerVisitor("pic", new Lt()), this.registerVisitor("rvStructures", new _t()), this.registerVisitor("rvData", new jt()), this.registerVisitor("comments", new Et()), this.registerVisitor("commentList", new Rt(), "comment"), this.registerVisitor("comment", new F("content"), "text"), this.registerVisitor("ThreadedComments", new Yt()), this.registerVisitor("threadedComment", new Dt()), this.registerVisitor("threadedComment", new F("content"), "text"), this.registerVisitor("personList", new Mt());
|
|
1628
1628
|
}
|
|
1629
1629
|
registerVisitor(t, e, s = null) {
|
|
1630
1630
|
t.indexOf(":") === -1 && (t = "*:" + t);
|
|
@@ -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.16
|
|
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,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.16
|
|
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,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.16
|
|
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,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.16
|
|
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, F 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, i as _, j 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, g as we, aq as Ee, ar as Fe } from "./Bjv69OWhcDpPMIFg.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.16
|
|
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 Se = 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 Fe = 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(Fe, { 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), j = C(null), W = 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 }), F = H(async (e, t, n, S) => {
|
|
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: S, ...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, S = !1;
|
|
44
|
+
e.shiftKey && (n = !1), t ? (e.ctrlKey && e.altKey && (S = !0), q(e, S ? N.current : W.current)) : q(e, n ? j.current : $.current), F(n, t, S, !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
|
+
F(!1, !1);
|
|
111
|
+
}, touchRippleRef: $, label: "", shortcut: { key: "Enter", modifiers: [y.Shift] }, icon: x(o.findOptions.orientation !== R.Orientation.Column ? i(Se, {}) : i(Le, {})), disabled: !o.findText }), i(m, { selected: !o.findOptions.reverse, onSelectToggle: (e) => {
|
|
112
|
+
F(!0, !1);
|
|
113
|
+
}, touchRippleRef: j, 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
|
+
F(!0, !0);
|
|
124
|
+
}, touchRippleRef: W, label: "Replace", shortcut: { key: "Enter" }, icon: x(i(ve, {})), disabled: !o.findText }), i(m, { onSelectToggle: (e) => {
|
|
125
|
+
F(!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) => {
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { jsx as t, jsxs as y } from "react/jsx-runtime";
|
|
2
|
+
import { memo as q, useState as x, useCallback as F, useEffect as G, useMemo as w } from "react";
|
|
3
|
+
import { ap as l, a2 as H, V as n, f as K, B as P, g as S, aq as A, ar as J, j as p, a6 as c, i as Q, a9 as D, as as U } from "./Bjv69OWhcDpPMIFg.js";
|
|
4
|
+
/**
|
|
5
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.16
|
|
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 X = ["Ok", "Cancel"], ee = q(($) => {
|
|
11
|
+
const { initialValue: I, context: h, onOption: C, onValidateOption: u, onInputOption: b, onDone: d, options: v = X, defaultOption: r = v?.[0], cancelOption: m = "Cancel", sx: V, ...j } = $, [a, T] = x(I), [N, B] = x(!1), g = F(async (e, o) => !0, []), f = l(async (e) => {
|
|
12
|
+
b?.(a, e), C?.(e, e === m, e === r), d?.();
|
|
13
|
+
}, [a, b, d, C, m, r]), M = l(async (e) => {
|
|
14
|
+
e.keyCode === H.Enter && await g?.(a, null) !== !1 && f(r);
|
|
15
|
+
}, [a, f]), z = l((e) => {
|
|
16
|
+
T(e.target.value), g?.(e.target.value, null);
|
|
17
|
+
}, [u]), E = l(async (e) => {
|
|
18
|
+
let o = await Promise.resolve(u?.(e));
|
|
19
|
+
try {
|
|
20
|
+
o !== !1 && (o = await Promise.resolve(g?.(a, e)) ?? !0);
|
|
21
|
+
} catch {
|
|
22
|
+
}
|
|
23
|
+
return o ?? !0;
|
|
24
|
+
}, [u]), [k, O] = x(n.Styles.lookupStyle(a).formatType ?? n.Type.Custom);
|
|
25
|
+
G(() => {
|
|
26
|
+
O(n.Styles.lookupStyle(a).formatType ?? n.Type.Custom);
|
|
27
|
+
}, [a]);
|
|
28
|
+
const L = w(() => {
|
|
29
|
+
const e = n.Styles.lookupPrimary(), o = (i) => t(U, { value: i, children: i }, i), s = Object.keys(e).map((i) => o(e[i].formatType));
|
|
30
|
+
return s.push(o(n.Type.Custom)), s;
|
|
31
|
+
}, []), R = F((e) => {
|
|
32
|
+
const o = e.target.value;
|
|
33
|
+
O(o);
|
|
34
|
+
const s = n.Styles.lookupDefault(o);
|
|
35
|
+
s && T(s);
|
|
36
|
+
}, []), W = w(() => {
|
|
37
|
+
const e = h();
|
|
38
|
+
return e.createTemporaryCell({ value: e.getValue() ?? 12345, style: { numberFormat: a } });
|
|
39
|
+
}, [k, a, h]);
|
|
40
|
+
return t(K, { title: "Number Format", options: v, onDone: d, onOption: (e) => f(e), onValidateOption: E, defaultOption: r, cancelOption: m, autoFocusSel: ".autoFocus", sx: { width: "580px", ...V }, ...j, children: y(P, { sx: { paddingTop: (e) => e.spacing(1), paddingBottom: (e) => e.spacing(0), rowGap: (e) => e.spacing(1), display: "flex", flexDirection: "column" }, children: [y(S, { sx: { minWidth: 135 }, size: "small", children: [t(A, { children: "Category" }), t(J, { value: k, label: "Category", onChange: R, sx: { backgroundImage: `linear-gradient(${p("#fff", c(5))}, ${p("#fff", c(5))})` }, children: L })] }), t(S, { sx: { paddingTop: (e) => e.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: t(Q, { label: "Code", onFocus: (e) => {
|
|
41
|
+
N || e.target?.select(), B(!0);
|
|
42
|
+
}, 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(${p("#fff", c(5))}, ${p("#fff", c(5))})` } } }, value: a, onChange: z, onKeyDown: M, onContextMenu: (e) => {
|
|
43
|
+
e.stopPropagation();
|
|
44
|
+
} }) }), y(P, { children: [t(D, { variant: "caption", component: "div", sx: { paddingLeft: (e) => e.spacing(2) }, children: "Preview" }), t(D, { variant: "body2", component: "div", sx: { borderRadius: (e) => `${e.shape.borderRadius}px`, padding: (e) => e.spacing(1), border: (e) => `1px solid ${e.palette.grey[400]}` }, children: W.getNumberFormat().displayText || "(empty)" })] })] }) });
|
|
45
|
+
});
|
|
46
|
+
export {
|
|
47
|
+
ee as NumberFormatDialog,
|
|
48
|
+
ee as default
|
|
49
|
+
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as d, jsxs as j } from "react/jsx-runtime";
|
|
2
2
|
import { memo as k, useMemo as V, useState as p, useCallback as h } from "react";
|
|
3
|
-
import { ap as u,
|
|
3
|
+
import { ap as u, f as E, B as M, aL as S, aM as A } from "./Bjv69OWhcDpPMIFg.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.16
|
|
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.
|
|
@@ -10,7 +10,7 @@ import { ap as u, b as E, B as M, aL as S, aM as A } from "./DPpga_z_sz7WeoGk.js
|
|
|
10
10
|
const G = ["Ok", "Cancel"], H = k((C) => {
|
|
11
11
|
const { value: a = null, context: t, onOption: c, onValidateOption: U, onDone: m, onUpdate: g, options: x = G, defaultOption: f = x?.[0], cancelOption: N = "Cancel", sx: R, ...v } = C, y = V(() => t?.getNames().findValidName("Range1"), []), i = V(() => {
|
|
12
12
|
if (!a) return !0;
|
|
13
|
-
}, []), [n, w] = p({ displayText: a?.getName() ?? y, errorText: null }), [l, D] = p({ displayValue: a?.getRanges() ?? t?.selection() ?? null, errorText: null }), [T, O] = p(!1), F = h(async (e) => !n.errorText && !l.errorText, [t]),
|
|
13
|
+
}, []), [n, w] = p({ displayText: a?.getName() ?? y, errorText: null }), [l, D] = p({ displayValue: a?.getRanges() ?? t?.selection() ?? null, errorText: null }), [T, O] = p(!1), F = h(async (e) => !n.errorText && !l.errorText, [t]), B = u((e, s, r) => {
|
|
14
14
|
if (!s) {
|
|
15
15
|
let o = null;
|
|
16
16
|
i ? o = t?.getNames().addReference(n?.displayText, l?.displayValue, !1) : (a.getType() === "reference" && a.doBatch(() => {
|
|
@@ -18,7 +18,7 @@ const G = ["Ok", "Cancel"], H = k((C) => {
|
|
|
18
18
|
}, `Edit Named '${n?.displayText}'`), o = a), o && (o.select(), g(o, i));
|
|
19
19
|
}
|
|
20
20
|
c?.(e, s, r), m?.();
|
|
21
|
-
}, [t, n, l, m, c, f, N, g]),
|
|
21
|
+
}, [t, n, l, m, c, f, N, g]), I = u((e) => {
|
|
22
22
|
let s = null;
|
|
23
23
|
try {
|
|
24
24
|
t?.getNames().validateName(e);
|
|
@@ -26,14 +26,14 @@ const G = ["Ok", "Cancel"], H = k((C) => {
|
|
|
26
26
|
s = r.message;
|
|
27
27
|
}
|
|
28
28
|
w({ displayText: e, errorText: s });
|
|
29
|
-
}, []),
|
|
29
|
+
}, []), L = u((e) => {
|
|
30
30
|
a && a.getName().toLowerCase() === e.toLowerCase() || t?.getNames().validateName(e);
|
|
31
|
-
}, [t, a]),
|
|
31
|
+
}, [t, a]), b = h((e) => {
|
|
32
32
|
D({ displayValue: e ?? null, errorText: null });
|
|
33
33
|
}, []);
|
|
34
|
-
return d(E, { title: (i ? "Define" : "Edit") + " Range", options: x, onOption:
|
|
34
|
+
return d(E, { title: (i ? "Define" : "Edit") + " Range", options: x, onOption: B, onValidateOption: F, defaultOption: f, cancelOption: N, autoFocusSel: ".autoFocus", sx: { width: "460px", ...R }, ...v, children: j(M, { sx: { paddingTop: (e) => e.spacing(1), paddingBottom: (e) => e.spacing(0), rowGap: (e) => e.spacing(1), range: "flex", flexDirection: "column" }, children: [d(S, { formName: "name", defaultInput: y, value: n.displayText, onChangeInput: I, onValidate: L, onFocus: (e) => {
|
|
35
35
|
T || e.target?.select(), O(!0);
|
|
36
|
-
} }), d(A, { formName: "range", value: l.displayValue, onChangeInput:
|
|
36
|
+
} }), d(A, { formName: "range", value: l.displayValue, onChangeInput: b, resolvedAddress: t.getNames().getRanges.bind(t.getNames()), onFocus: (e) => {
|
|
37
37
|
T || e.target?.select(), O(!0);
|
|
38
38
|
} })] }) });
|
|
39
39
|
});
|
|
@@ -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.16
|
|
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, f as S, B as U, g as b, i as D, j as l, a6 as p } from "./Bjv69OWhcDpPMIFg.js";
|
|
4
|
+
/**
|
|
5
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.16
|
|
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((F) => {
|
|
11
|
+
const { initialHyperlink: n = null, initialDisplay: H = null, onUpdateHyperlink: m, context: s, onOption: x, onValidateOption: r, onDone: d, options: h = V, defaultOption: c = h?.[0], cancelOption: i = "Cancel", sx: I, ...v } = F, w = O(() => (n ?? s?.()?.getHyperlink()) !== null, []), y = O(() => {
|
|
12
|
+
let a = null, t = null;
|
|
13
|
+
n && (typeof n == "string" ? t = n : a = n);
|
|
14
|
+
const C = a ?? s?.()?.getHyperlink();
|
|
15
|
+
return { address: t ?? C?.getAddress() ?? "", textToDisplay: C?.getDisplayText() ?? "" };
|
|
16
|
+
}, [n, s]), [e, M] = g(y.address), [u, B] = g(() => {
|
|
17
|
+
const a = s?.().toTextUnformatted() ?? H;
|
|
18
|
+
return a === y.address ? "" : a;
|
|
19
|
+
}), [$, k] = g(!1), j = P((a) => {
|
|
20
|
+
B(a.target.value);
|
|
21
|
+
}, []), T = P(async (a, t) => null, []), L = f(async (a) => {
|
|
22
|
+
a !== i && m?.(e === "" ? null : { address: e }, u), x?.(a, a === i, a === c), d?.();
|
|
23
|
+
}, [e, u, m, d, x, c, i]), W = f((a) => {
|
|
24
|
+
M(a.target.value), T(a.target.value, null);
|
|
25
|
+
}, [r]), z = f(async (a) => {
|
|
26
|
+
let t = await Promise.resolve(r?.(a));
|
|
27
|
+
try {
|
|
28
|
+
t !== !1 && (t = await T(e, a));
|
|
29
|
+
} catch {
|
|
30
|
+
}
|
|
31
|
+
return t ?? !0;
|
|
32
|
+
}, [r]);
|
|
33
|
+
return o(S, { title: (w ? "Edit" : "Insert") + " Link", options: h, onDone: d, onOption: (a) => L(a), onValidateOption: z, defaultOption: c, cancelOption: i, autoFocusSel: ".autoFocus", sx: { width: "480px", ...I }, ...v, children: A(U, { sx: { paddingTop: (a) => a.spacing(1), paddingBottom: (a) => a.spacing(0), rowGap: (a) => a.spacing(1), display: "flex", flexDirection: "column" }, children: [o(b, { sx: { paddingTop: (a) => a.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: o(D, { label: "Address", placeholder: "Enter a url or cell reference.", onFocus: (a) => {
|
|
34
|
+
$ || a.target?.select(), k(!0);
|
|
35
|
+
}, sx: { "& .MuiFormHelperText-root": { marginTop: (a) => a.spacing(0.5) } }, InputLabelProps: { shrink: !0 }, InputProps: { inputProps: { className: "autoFocus", spellCheck: !1, autoComplete: "off", sx: { paddingTop: (a) => a.spacing(1.25), paddingBottom: (a) => a.spacing(0.75), backgroundImage: `linear-gradient(${l("#fff", p(5))}, ${l("#fff", p(5))})` } } }, value: e, onChange: W, onContextMenu: (a) => {
|
|
36
|
+
a.stopPropagation();
|
|
37
|
+
} }) }), o(b, { sx: { paddingTop: (a) => a.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: o(D, { label: "Display Text", placeholder: e?.startsWith("#") ? e.substring(1) : e, onFocus: () => {
|
|
38
|
+
k(!0);
|
|
39
|
+
}, sx: { "& .MuiFormHelperText-root": { marginTop: (a) => a.spacing(0.5) } }, InputLabelProps: { shrink: !0 }, InputProps: { inputProps: { spellCheck: !1, autoComplete: "off", sx: { paddingTop: (a) => a.spacing(1.25), paddingBottom: (a) => a.spacing(0.75), backgroundImage: `linear-gradient(${l("#fff", p(5))}, ${l("#fff", p(5))})` } } }, value: u, onChange: j, onContextMenu: (a) => {
|
|
40
|
+
a.stopPropagation();
|
|
41
|
+
} }) })] }) });
|
|
42
|
+
});
|
|
43
|
+
export {
|
|
44
|
+
J as HyperlinkDialog,
|
|
45
|
+
J as default
|
|
46
|
+
};
|
|
@@ -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.16
|
|
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.16
|
|
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.16
|
|
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("./CWgLS_jMj5DNrggO.js"), n = new u((t) => e(t));
|
|
1571
1571
|
return await n.start(), n;
|
|
1572
1572
|
};
|
|
1573
1573
|
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.16
|
|
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,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.16
|
|
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,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.16
|
|
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.
|
|
@@ -10,7 +10,7 @@ class o {
|
|
|
10
10
|
}
|
|
11
11
|
async getWorkerWrapper() {
|
|
12
12
|
if (this.workerWrapper) return this.workerWrapper;
|
|
13
|
-
const { createCompilerWorker: r } = await import("./
|
|
13
|
+
const { createCompilerWorker: r } = await import("./DZyvhfi33GteuMM3.js");
|
|
14
14
|
return this.workerWrapper = await r(), this.workerWrapper;
|
|
15
15
|
}
|
|
16
16
|
async compileModule(r) {
|
|
@@ -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.16
|
|
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,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.16
|
|
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,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.16
|
|
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,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.16
|
|
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,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.16
|
|
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,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.16
|
|
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,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.16
|
|
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,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.16
|
|
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,15 +1,15 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import { memo as
|
|
3
|
-
import { ap as r,
|
|
2
|
+
import { memo as j, useMemo as E, useState as x, useCallback as M } from "react";
|
|
3
|
+
import { ap as r, f as S, B as V, g as $, i as z, j as h, a6 as C } from "./Bjv69OWhcDpPMIFg.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.16
|
|
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 G = ["Ok", "Cancel"], U =
|
|
11
|
-
const { initialComments:
|
|
12
|
-
const n =
|
|
10
|
+
const G = ["Ok", "Cancel"], U = j((O) => {
|
|
11
|
+
const { initialComments: k = null, onUpdateComments: m, context: w, onOption: u, onValidateOption: l, onDone: p, options: d = G, defaultOption: c = d?.[0], cancelOption: s = "Cancel", sx: y, ...F } = O, g = E(() => {
|
|
12
|
+
const n = k ?? w?.()?.getComments();
|
|
13
13
|
let t = "";
|
|
14
14
|
if (n && n.content && n.content.runs) {
|
|
15
15
|
const a = n.content.runs;
|
|
@@ -19,7 +19,7 @@ const G = ["Ok", "Cancel"], U = E((O) => {
|
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
return t;
|
|
22
|
-
}, []), [e,
|
|
22
|
+
}, []), [e, P] = x(g), [T, b] = x(!1), f = M(async (n, t) => null, []), v = r(async (n) => {
|
|
23
23
|
const t = e === "" ? [] : e.split(`
|
|
24
24
|
`);
|
|
25
25
|
if (n !== s) {
|
|
@@ -29,7 +29,7 @@ const G = ["Ok", "Cancel"], U = E((O) => {
|
|
|
29
29
|
}
|
|
30
30
|
u?.(n, n === s, n === c), p?.();
|
|
31
31
|
}, [e, m, p, u, c, s]), D = r((n) => {
|
|
32
|
-
|
|
32
|
+
P(n.target.value), f(n.target.value, null);
|
|
33
33
|
}, [l]), I = r(async (n) => {
|
|
34
34
|
let t = await Promise.resolve(l?.(n));
|
|
35
35
|
try {
|
|
@@ -38,8 +38,8 @@ const G = ["Ok", "Cancel"], U = E((O) => {
|
|
|
38
38
|
}
|
|
39
39
|
return t ?? !0;
|
|
40
40
|
}, [l, e]);
|
|
41
|
-
return i(S, { title: (g ? "Edit" : "Insert") + " Comments", options: d, onDone: p, onOption: (n) => v(n), onValidateOption: I, defaultOption: c, cancelOption: s, autoFocusSel: ".autoFocus", sx: { width: "480px", ...
|
|
42
|
-
|
|
41
|
+
return i(S, { title: (g ? "Edit" : "Insert") + " Comments", options: d, onDone: p, onOption: (n) => v(n), onValidateOption: I, defaultOption: c, cancelOption: s, autoFocusSel: ".autoFocus", sx: { width: "480px", ...y }, ...F, children: i(V, { sx: { paddingTop: (n) => n.spacing(1), paddingBottom: (n) => n.spacing(0), rowGap: (n) => n.spacing(1), display: "flex", flexDirection: "column" }, children: i($, { sx: { paddingTop: (n) => n.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: i(z, { label: "Comments", placeholder: "Enter a comment.", onFocus: (n) => {
|
|
42
|
+
T || n.target?.select(), b(!0);
|
|
43
43
|
}, sx: { "& .MuiFormHelperText-root": { marginTop: (n) => n.spacing(0.5) } }, InputLabelProps: { shrink: !0 }, InputProps: { inputProps: { className: "autoFocus", spellCheck: !1, autoComplete: "off", sx: { paddingTop: (n) => n.spacing(1.25), paddingBottom: (n) => n.spacing(0.75), backgroundImage: `linear-gradient(${h("#fff", C(5))}, ${h("#fff", C(5))})` } } }, value: e, onChange: D, onContextMenu: (n) => {
|
|
44
44
|
n.stopPropagation();
|
|
45
45
|
} }) }) }) });
|
|
@@ -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.16
|
|
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,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.16
|
|
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.
|