@sheetxl/studio-vanilla 0.7.6 → 0.7.8
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/LICENSE.md +1 -1
- package/browser/cjs/{BXZgVqL7XkYsoi33.cjs → -K-Cg0HmbeGE-nXG.cjs} +2 -2
- package/browser/cjs/{IvtzDl_wnrZdNyGU.cjs → 2pTraVinjgCHCLaa.cjs} +2 -2
- package/browser/cjs/{DxV-3v_QDuTNlIGN.cjs → B0n6aIOHNaYD5i9j.cjs} +1 -1
- package/browser/cjs/{D3LgtUzW8PLgmpsZ.cjs → B7R1zl_5JOG5hG1Y.cjs} +1 -1
- package/browser/cjs/{CbvWAZQhSUzqCg17.cjs → BNYlUXS_clOVW6QE.cjs} +1 -1
- package/browser/cjs/{n8FQtLqAFmSMvjE4.cjs → BUXRD8jocatiQ5pP.cjs} +1 -1
- package/browser/cjs/{vboT_zkA4ebu7qb6.cjs → BUh24nhntRr6KNEF.cjs} +2 -2
- package/browser/cjs/BUiOOBzpR8RpWo8S.cjs +6 -0
- package/browser/cjs/{BDDGDj16_JM9JSNw.cjs → BWUqTTPtCFAe-w4P.cjs} +1 -1
- package/browser/cjs/{BExG5buAzGxZlmJw.cjs → BXRdTHHRXwFa27L2.cjs} +5 -5
- package/browser/cjs/{BVMvTKkVRG3ARblV.cjs → BbFdREH-Q7f6hQbp.cjs} +1 -1
- package/browser/cjs/{CcpKk964zuH4DpgM.cjs → Be8UEcDv9qe8z7-j.cjs} +19 -19
- package/browser/cjs/{h58md3Y3c_TrQFVs.cjs → Bl1mZl4V677GbmLr.cjs} +1 -1
- package/browser/cjs/BlsO36XpzUrUohRB.cjs +6 -0
- package/browser/cjs/{CvfHD9dwIrbEr7hM.cjs → BtFtU8BuuGvTEYl5.cjs} +2 -2
- package/browser/cjs/{BkGg_LJgjZj1NXHZ.cjs → Bv5LpY0iINaZYm3O.cjs} +1 -1
- package/browser/cjs/BwnGrqFIoGGswTJk.cjs +6 -0
- package/browser/cjs/{BgE8ast3JVnmh0C3.cjs → BzYCUv8RVTfuHRFi.cjs} +8 -8
- package/browser/cjs/{DQmdNFzWR-h9wYSi.cjs → C5JmtvL0MfOaJHKx.cjs} +1 -1
- package/browser/cjs/{CXoepqRJNlPbIb0L.cjs → C5mp9bViDUeFidSL.cjs} +2 -2
- package/browser/cjs/{KsrjGYui6AhDRqb2.cjs → C78q_hw_vGKAQlAs.cjs} +1 -1
- package/browser/cjs/{CUpgKTIV0yg_QYHZ.cjs → C96zw_9CJIN43eFM.cjs} +3 -3
- package/browser/cjs/{Ck_CXORzAURg_vBX.cjs → CDaFkxHMZsHu9_2F.cjs} +2 -2
- package/browser/cjs/{DVN-SKDgVS0saY0w.cjs → CDb9tj-aAVYQd_oY.cjs} +1 -1
- package/browser/cjs/{BuBu8hoBcG1L5gWU.cjs → CHrhw1fBI4JhcXXx.cjs} +1 -1
- package/browser/cjs/{DxeyIaJ9kTqsgZRQ.cjs → CJy1FosjGl1kJcU4.cjs} +1 -1
- package/browser/cjs/{DbMWszNm4m-5OHJM.cjs → CKdY1UmAxv2u4Bda.cjs} +1 -1
- package/browser/cjs/{BCp8EKu-fnWiHBVn.cjs → COP7sSaEm-g6B_iA.cjs} +1 -1
- package/browser/cjs/{DlekR-mM3nwaCQEe.cjs → CPIH20xzxKBXpaJx.cjs} +1 -1
- package/browser/cjs/{FNnpnCx0BZnP5O_r.cjs → CQHyfb1djbi9JmCV.cjs} +1 -1
- package/browser/cjs/{CSyKzMKdjLhLe40I.cjs → CT5qKP5Jkb-9uGQV.cjs} +1 -1
- package/browser/cjs/{Bdri1EOZVClr_s5d.cjs → CcLEdIQTLkXU7qC6.cjs} +3 -3
- package/browser/cjs/{CA1KKidNd07a0DJH.cjs → CeyMsPaB7RMpk7VZ.cjs} +6 -6
- package/browser/cjs/{BFooBtpsd0cC8qDG.cjs → Ck9rxH1n8_fcsAfa.cjs} +1 -1
- package/browser/cjs/{C4IJ8og_7pYXOaaa.cjs → CnIB6YjF-oWbhQLb.cjs} +1 -1
- package/browser/cjs/{ogfsvA_pd4h9pATi.cjs → Co3XILwaLMsjr459.cjs} +1 -1
- package/browser/cjs/{D10iC-iUoXqxQ9CM.cjs → Cw9nBvSAF5P5bVi1.cjs} +1 -1
- package/browser/cjs/{BzgLQhJ2sqEZCsrb.cjs → CxJRchN5P3xpDUaF.cjs} +1 -1
- package/browser/cjs/{xadQkBVply50Pfsy.cjs → CxWV6cIkTRYQBJoU.cjs} +2 -2
- package/browser/cjs/{CR_3znwknfRYUQjJ.cjs → D4Vp6AOr5DLdw_nd.cjs} +2 -2
- package/browser/cjs/{BYG2IVD2Gqh-q7h2.cjs → D6WMate2nk1kraOL.cjs} +1 -1
- package/browser/cjs/{Bk3M_kByuRSgE2I7.cjs → DFsABZ0k11s5gaLo.cjs} +1 -1
- package/browser/cjs/{CkA2FSMaiJvL4xnW.cjs → DJ-RIrnDuRHuodF4.cjs} +1 -1
- package/browser/cjs/{tRdYhB45JaC-A2GK.cjs → DPs1pVVNIKU3LbcN.cjs} +1 -1
- package/browser/cjs/{CwW8vJh2IPnMize_.cjs → D_bAP-wE_swv7zOU.cjs} +1 -1
- package/browser/cjs/{DT7rBrGhpA-qvk1s.cjs → DcioBTAb1k4FJsj6.cjs} +3 -3
- package/browser/cjs/{BVjaiAwC49wwDMDI.cjs → DgYXdfqmgeC2w0ni.cjs} +21 -21
- package/browser/cjs/Dgr_1Al_W9GMMWVS.cjs +32 -0
- package/browser/cjs/{DzhZxaJEM_tDkpp3.cjs → Ds39PNCauF_1zLh9.cjs} +1 -1
- package/browser/cjs/{DSJLyqI4SU0MEH4t.cjs → DtdlsYrXhzdyBDl9.cjs} +1 -1
- package/browser/cjs/{DzZiFk2M690x2Na1.cjs → QL95rhmT_M6oHuX6.cjs} +2 -2
- package/browser/cjs/{BtkQmDedsmbw95Pc.cjs → TbN6DYFQQi3ZDS52.cjs} +2 -2
- package/browser/cjs/UIs_lCRPFhCxDFHD.cjs +6 -0
- package/browser/cjs/{L04N6OHKBL9HtaR6.cjs → WWsKKQeRZpQhBHQC.cjs} +1 -1
- package/browser/cjs/index.cjs +2 -2
- package/browser/cjs/{Cr07exWoIE8PUEEj.cjs → l649xPzegQ_ViPMn.cjs} +2 -2
- package/browser/cjs/n-_0OZiNW-YQb5MD.cjs +327 -0
- package/browser/cjs/{DNQbFZZOmDP_rJEI.cjs → oLjq1XkEM_R-IX4y.cjs} +1 -1
- package/browser/esm/{CdWkJs6rYnFmetuJ.mjs → B8oT2KSFZMNAkku8.mjs} +1 -1
- package/{cdn/assets/DDCRVmkZtcoY5u7P.js → browser/esm/BEzygW9Oz0HEdtbw.mjs} +1 -1
- package/{cdn/assets/C7IRTn7ZcC4A4N9E.js → browser/esm/BJ1nZLBhUfp0K4iQ.mjs} +1 -1
- package/browser/esm/{T7q0269_QPB8lCOv.mjs → BNqM07UGA5qVncyL.mjs} +1 -1
- package/browser/esm/{2Q2-3kHAmqNdLDwx.mjs → BOyBlzrmC_3_7rIW.mjs} +1 -1
- package/browser/esm/{pOUm75Y0UEeP9DxX.mjs → BaIBjm-UxuoO2JVS.mjs} +1 -1
- package/{cdn/assets/Gye5i_y6LTkSeZWV.js → browser/esm/BahmlkxE5VCdL0vN.mjs} +1 -1
- package/browser/esm/{DElt69us9iAn7_Ww.mjs → BiiVPjjoMGX0q69B.mjs} +2 -2
- package/{cdn/assets/Dfx2_yQe2iRmxaeg.js → browser/esm/BkubDHo4sgG4tn_E.mjs} +1 -1
- package/{cdn/assets/B-ODKhdttBS8vm_N.js → browser/esm/BlfHyToB1MdJlebf.mjs} +1 -1
- package/{cdn/assets/DCyiJ8jlUG-B76Tb.js → browser/esm/Br1QU1Y4SHINNHoO.mjs} +1 -1
- package/browser/esm/{CGT3S9MzdRk9rFZa.mjs → Bv0DGZgxfpWZ9D2A.mjs} +49 -49
- package/{cdn/assets/CNtcjn_Cn7cQOWP5.js → browser/esm/BzTR8kMSaDX3bd5L.mjs} +1 -1
- package/{cdn/assets/Cf3RGVsf9qqF9dVB.js → browser/esm/C0dfyIY5O4BDpDVb.mjs} +1 -1
- package/browser/esm/{CE_I19FK1G8gpXuH.mjs → C2YGmSVkfFiTgQD3.mjs} +5 -5
- package/browser/esm/{ymbdHoeF6JmtSeHf.mjs → C32esUEYHpoosX3Y.mjs} +1 -1
- package/browser/esm/C3xK2Xpqcj6reX4s.mjs +47 -0
- package/browser/esm/CBcApePT9eJIfqcW.mjs +149 -0
- package/{cdn/assets/Bab--HPvvqz_dgfE.js → browser/esm/CD8p14Wp3hhZOsNy.mjs} +1 -1
- package/{cdn/assets/CrM-2l9BMnS0Lkh1.js → browser/esm/CLJbb3ejl1MXdPtA.mjs} +1 -1
- package/browser/esm/{Cx11CBX88voKcCgb.mjs → CMxu9ILcsywmbTAm.mjs} +6 -6
- package/browser/esm/{B_8aGF2Dt1micWZg.mjs → CO3_89fRzGLRFzFH.mjs} +1 -1
- package/browser/esm/CQuep8FzvblCAI6v.mjs +39 -0
- package/browser/esm/{B2zSi60WxtMoZe1R.mjs → CbFbDB3Jw5UFLivl.mjs} +79 -79
- package/browser/esm/{D8NWmHOvxbnTKXqJ.mjs → Cc2LD86F-77citOU.mjs} +7 -7
- package/browser/esm/{D3h1wZvV9AHRqaZq.mjs → CcbY0txpK_K39FLR.mjs} +143 -143
- package/browser/esm/{Yx74P2tuzTl_vWeR.mjs → CdxM9Kp_JyOf23p8.mjs} +19528 -19374
- package/{cdn/assets/zd-Kc5cLey9IZ283.js → browser/esm/CpxIoXWU0u6yiVF_.mjs} +1 -1
- package/browser/esm/{B2xZE9bUnQFNq8II.mjs → CvJBExhZgFI-iegQ.mjs} +1 -1
- package/browser/esm/{DWvwKL3aLkiqeSo1.mjs → D3t57UagdaT1RsCP.mjs} +9 -9
- package/browser/esm/{ftYo_nnqtr7QkIOP.mjs → D4NDTJPAlfT8aCB9.mjs} +2 -2
- package/browser/esm/{BBklcrb4gMwawbW0.mjs → D6hhZptuM5dggu4u.mjs} +2 -2
- package/browser/esm/{DMKVMuMh4XJ4LGTp.mjs → D6m_sIRd9Q7Mxbgt.mjs} +1 -1
- package/browser/esm/{BdviOCLagnd001u0.mjs → DB_Yci_lec9spLu7.mjs} +12 -12
- package/browser/esm/{B6jSw9o_80cFla40.mjs → DBiM-pA8E6p5CL6K.mjs} +9 -9
- package/{cdn/assets/BQEH9vzW6MLoEQpS.js → browser/esm/DGqTCUXZYUgK96_H.mjs} +1 -1
- package/browser/esm/{B_x9S07WXHgD87c0.mjs → DIU2hVcktZoE3NhJ.mjs} +4 -4
- package/{cdn/assets/BoXZxgubGIYbaajd.js → browser/esm/DKnngm5T4nZphf0k.mjs} +1 -1
- package/{cdn/assets/CQ7RZs6ggMhy9TKv.js → browser/esm/DLZPLGvlbTga5rmC.mjs} +1 -1
- package/browser/esm/{DwDbdg2MYgA3Tnfe.mjs → DPDVOx-IaiHYlQL1.mjs} +2 -2
- package/{cdn/assets/D8xKI9bNALrDO0EI.js → browser/esm/DPaMyIu6Ghc4krjT.mjs} +1 -1
- package/browser/esm/{BrFqlosk1B5lJ1wT.mjs → DcB6UB-giHB69ReK.mjs} +5 -5
- package/browser/esm/{95UgFJTU5KLLCYf1.mjs → Df7L3VJKAGDd4YjT.mjs} +1 -1
- package/{cdn/assets/DVTFDA3Ssz9_4NcI.js → browser/esm/DgUT4s3Rw2Eo12cs.mjs} +1 -1
- package/browser/esm/{BACzy7WLUtqbx_4H.mjs → Dyn7eE89FnlGrv3N.mjs} +1 -1
- package/browser/esm/{BgY1Ko1OPI79IwRW.mjs → DypHcg08rqaw3khF.mjs} +21 -21
- package/{cdn/assets/CIyDrXxc2D-28-mW.js → browser/esm/H5PyaLPLUTKqvlpu.mjs} +1 -1
- package/browser/esm/QxWUg7aXIX2ORGE1.mjs +44 -0
- package/{cdn/assets/CXwDT0Rc1CeP5C6C.js → browser/esm/Yo7mAT492i8Gbo_8.mjs} +1 -1
- package/{cdn/assets/DnoVwExJraUmPO4h.js → browser/esm/fZwaoDCmBImMWj2m.mjs} +2 -2
- package/browser/esm/{BpD67geWfh3vSqJb.mjs → g2PwBJ_KLBeTSyL8.mjs} +1 -1
- package/browser/esm/{D2h5jM12-ZC4VX_T.mjs → g4ZJLVOt0n3oB0PJ.mjs} +3 -3
- package/browser/esm/{CuTudjzephfkt36F.mjs → hYvLZkffwWqlWobl.mjs} +5 -5
- package/browser/esm/index.mjs +3 -3
- package/{cdn/assets/DZUm1u-H4bx3eAew.js → browser/esm/kMyCgnZmM_QP1Q_M.mjs} +1 -1
- package/browser/esm/{1oqbqwBb8fBG-SRu.mjs → oUdabULVVYUW93I3.mjs} +1 -1
- package/browser/esm/{BNtLK4CbKRlPzlKT.mjs → pR_14W4etNPaLUhN.mjs} +1 -1
- package/browser/esm/{yvf7TZWzRux6eb-r.mjs → wdfiXZDMfelCyKZP.mjs} +2 -2
- package/cdn/assets/{BXs2QdxsuX2lw_x3.js → 1wydcBgqKvBjr11e.js} +116 -116
- package/cdn/assets/{RgzmLUjP4Fyf4q1K.js → 2KfCekdTjyYdz8d5.js} +2 -2
- package/cdn/assets/{CHESIwo-YlB-g6gr.js → 8shKyqp5tr-qaVg9.js} +2 -2
- package/cdn/assets/{BH4LGqC8Z4Iqh7XS.js → B51gmRuvcryNEBDL.js} +2 -2
- package/cdn/assets/{-ZtRkphm8qlj8ebp.js → B7-F2R_3tTb7xQLW.js} +1 -1
- package/cdn/assets/{CdWkJs6rYnFmetuJ.js → B8oT2KSFZMNAkku8.js} +1 -1
- package/cdn/assets/{BCA5bMx1egW3eRmp.js → BChAE1g4ubTX6-2R.js} +4 -4
- package/{browser/esm/Cck1ZCX3140-xMNV.mjs → cdn/assets/BD4YacYas7fyEYNW.js} +16 -14
- package/{browser/esm/DDCRVmkZtcoY5u7P.mjs → cdn/assets/BEzygW9Oz0HEdtbw.js} +1 -1
- package/cdn/assets/{BXHEwZhPbMaOdb_Z.js → BGcEkJnJUDFEeU_o.js} +3 -3
- package/{browser/esm/C7IRTn7ZcC4A4N9E.mjs → cdn/assets/BJ1nZLBhUfp0K4iQ.js} +1 -1
- package/cdn/assets/{T7q0269_QPB8lCOv.js → BNqM07UGA5qVncyL.js} +1 -1
- package/{browser/esm/FMJGVl5BuwTspvXB.mjs → cdn/assets/BOc0tjsB11L9MZiV.js} +2 -2
- package/cdn/assets/{2Q2-3kHAmqNdLDwx.js → BOyBlzrmC_3_7rIW.js} +1 -1
- package/cdn/assets/{CnLv6xBX-8QXgr8C.js → BTBKQPh-x6eXYTNZ.js} +10 -10
- package/cdn/assets/{pOUm75Y0UEeP9DxX.js → BaIBjm-UxuoO2JVS.js} +1 -1
- package/{browser/esm/Gye5i_y6LTkSeZWV.mjs → cdn/assets/BahmlkxE5VCdL0vN.js} +1 -1
- package/cdn/assets/{C75SpXwjYmdo6WC6.js → BfvetdCHdHBNczUd.js} +7 -7
- package/cdn/assets/{Cn0K1aSWZCVlK66V.js → BkXW8HyrQXyvACpO.js} +1 -1
- package/{browser/esm/Dfx2_yQe2iRmxaeg.mjs → cdn/assets/BkubDHo4sgG4tn_E.js} +1 -1
- package/cdn/assets/{ByTOIrEYNeA_wpXy.js → BlZn_5WKM6E7UsJP.js} +93 -93
- package/{browser/esm/B-ODKhdttBS8vm_N.mjs → cdn/assets/BlfHyToB1MdJlebf.js} +1 -1
- package/{browser/esm/DCyiJ8jlUG-B76Tb.mjs → cdn/assets/Br1QU1Y4SHINNHoO.js} +1 -1
- package/{browser/esm/CNtcjn_Cn7cQOWP5.mjs → cdn/assets/BzTR8kMSaDX3bd5L.js} +1 -1
- package/{browser/esm/Cf3RGVsf9qqF9dVB.mjs → cdn/assets/C0dfyIY5O4BDpDVb.js} +1 -1
- package/cdn/assets/{C3urWNCGtWeKM42K.js → C2XfP3L6gs-zCGsG.js} +4 -4
- package/cdn/assets/{ymbdHoeF6JmtSeHf.js → C32esUEYHpoosX3Y.js} +1 -1
- package/cdn/assets/C71t-sx-s3Z68ZZM.js +151 -0
- package/{browser/esm/Bab--HPvvqz_dgfE.mjs → cdn/assets/CD8p14Wp3hhZOsNy.js} +1 -1
- package/cdn/assets/{ij04ZtjSyJ1O2CRc.js → CFYPOkeu3mto6C0L.js} +2 -2
- package/{browser/esm/CrM-2l9BMnS0Lkh1.mjs → cdn/assets/CLJbb3ejl1MXdPtA.js} +1 -1
- package/cdn/assets/{B_8aGF2Dt1micWZg.js → CO3_89fRzGLRFzFH.js} +1 -1
- package/cdn/assets/CaR_qGxICJ69Ai7G.js +50 -0
- package/cdn/assets/CdXciVUPSCxzd5_h.js +41 -0
- package/cdn/assets/{Dqv_r2crwVb5hDRt.js → CgEVFN1HZmvt1F_y.js} +2 -2
- package/cdn/assets/{D6Bd-wh8DUctiTBq.js → CpT1FKxGUtmF6zIX.js} +4 -4
- package/{browser/esm/zd-Kc5cLey9IZ283.mjs → cdn/assets/CpxIoXWU0u6yiVF_.js} +1 -1
- package/cdn/assets/{DfsGU1WZFPDvuEF7.js → CqON9raUgLbkKdYj.js} +2 -2
- package/cdn/assets/{B2xZE9bUnQFNq8II.js → CvJBExhZgFI-iegQ.js} +1 -1
- package/cdn/assets/{L4iwFaFUwrc5iENg.js → CwiI-N3SHXzvADrB.js} +3 -3
- package/cdn/assets/{F9FRh_1TEIanjKfd.js → D6gCAaTwdSaUOOKg.js} +15 -15
- package/cdn/assets/{5dKHsl0r2V-JmyNP.js → DEAm91ZMo4VUek58.js} +2 -2
- package/cdn/assets/{8lSvXDLbx-eV1Nz0.js → DECMnibi9gCpNjSo.js} +21 -21
- package/{browser/esm/BQEH9vzW6MLoEQpS.mjs → cdn/assets/DGqTCUXZYUgK96_H.js} +1 -1
- package/{browser/esm/BoXZxgubGIYbaajd.mjs → cdn/assets/DKnngm5T4nZphf0k.js} +1 -1
- package/{browser/esm/CQ7RZs6ggMhy9TKv.mjs → cdn/assets/DLZPLGvlbTga5rmC.js} +1 -1
- package/cdn/assets/{C2wV3vQ-5dEezy7R.js → DNEWl7cmPpOKGGsd.js} +3 -3
- package/cdn/assets/{DPUzShmQFsZiAy1y.js → DPU5ohxvqUUXvc82.js} +14 -14
- package/{browser/esm/D8xKI9bNALrDO0EI.mjs → cdn/assets/DPaMyIu6Ghc4krjT.js} +1 -1
- package/cdn/assets/DU6UBlaunXx-nBhq.js +46 -0
- package/cdn/assets/{BtXsNo8KL5XLE7xA.js → DUeVDZmS45Fy-UL5.js} +4 -4
- package/cdn/assets/{95UgFJTU5KLLCYf1.js → Df7L3VJKAGDd4YjT.js} +1 -1
- package/cdn/assets/{DNDzb50fYztOU6sL.js → Df9GHDfAjEQ2-01Z.js} +2 -2
- package/{browser/esm/DVTFDA3Ssz9_4NcI.mjs → cdn/assets/DgUT4s3Rw2Eo12cs.js} +1 -1
- package/cdn/assets/{Bqca9Nkofzm6UFZ1.js → DhqeOPW5Je_iS5zM.js} +19491 -19337
- package/cdn/assets/{BACzy7WLUtqbx_4H.js → Dyn7eE89FnlGrv3N.js} +1 -1
- package/{browser/esm/CIyDrXxc2D-28-mW.mjs → cdn/assets/H5PyaLPLUTKqvlpu.js} +1 -1
- package/cdn/assets/{DVE11KnTbk8UCl2L.js → Q2LbqVRnsxDMbf7b.js} +4 -4
- package/{browser/esm/CXwDT0Rc1CeP5C6C.mjs → cdn/assets/Yo7mAT492i8Gbo_8.js} +1 -1
- package/cdn/assets/{BpD67geWfh3vSqJb.js → g2PwBJ_KLBeTSyL8.js} +1 -1
- package/cdn/assets/{DZwStU2_wQO6T5Ug.js → i5BOxAUV9UQKsCOE.js} +3 -3
- package/{browser/esm/DZUm1u-H4bx3eAew.mjs → cdn/assets/kMyCgnZmM_QP1Q_M.js} +1 -1
- package/cdn/assets/{1oqbqwBb8fBG-SRu.js → oUdabULVVYUW93I3.js} +1 -1
- package/cdn/assets/{BNtLK4CbKRlPzlKT.js → pR_14W4etNPaLUhN.js} +1 -1
- package/cdn/index.js +2 -2
- package/cdn/loader.js +1 -1
- package/package.json +7 -7
- package/browser/cjs/B7wz5PktsGQNKYoq.cjs +0 -6
- package/browser/cjs/BiHqOGcXJWRP3FQy.cjs +0 -32
- package/browser/cjs/Bv5i7awWQ7wuK-N1.cjs +0 -6
- package/browser/cjs/C2AUpeG75-dSdAU8.cjs +0 -6
- package/browser/cjs/CEt7dvaTwfePj4ER.cjs +0 -326
- package/browser/cjs/DpTEicgZ3kB8YiOW.cjs +0 -6
- package/browser/cjs/LBIRCj-htZFg3vYw.cjs +0 -6
- package/browser/esm/B234kPv37vM5M_fj.mjs +0 -147
- package/browser/esm/BkUCD0Hn_pXVY8BG.mjs +0 -58
- package/browser/esm/DpfLzruLjqt5WaT4.mjs +0 -39
- package/browser/esm/DsdO4-Dxa2PoruYq.mjs +0 -44
- package/cdn/assets/3tDFtZFz8w76rYBA.js +0 -49
- package/cdn/assets/BqOHcOxJPktjB8oL.js +0 -46
- package/cdn/assets/Cwd_PFnZO3GB10Ib.js +0 -41
- package/cdn/assets/DtDieGCmD7tfP-IC.js +0 -60
- package/cdn/assets/JUjq8dsNEwlP2TmD.js +0 -149
- package/cdn/assets/eIefNRuHeizv4VyQ.js +0 -50
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.6
|
|
3
|
-
*
|
|
4
|
-
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
|
-
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
-
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CEt7dvaTwfePj4ER.cjs"),P=["Ok","Cancel"],j=e.reactExports.memo(E=>{const{initialValue:b,context:x,onOption:m,onValidateOption:p,onInputOption:d,onDone:l,options:g=P,defaultOption:r=g?.[0],cancelOption:i="Cancel",sx:v,...C}=E,[o,y]=e.reactExports.useState(b),[O,T]=e.reactExports.useState(!1),u=e.reactExports.useCallback(async(t,a)=>!0,[]),c=e.M(async t=>{d?.(o,t),m?.(t,t===i,t===r),l?.()},[o,d,l,m,i,r]),k=e.M(async t=>{t.keyCode===e.mo.Enter&&await u?.(o,null)!==!1&&c(r)},[o,c]),D=e.M(t=>{y(t.target.value),u?.(t.target.value,null)},[p]),R=e.M(async t=>{let a=await Promise.resolve(p?.(t));try{a!==!1&&(a=await Promise.resolve(u?.(o,t))??!0)}catch{}return a??!0},[p]),[h,f]=e.reactExports.useState(e.De.Styles.lookupStyle(o).formatType??e.De.Type.Custom);e.reactExports.useEffect(()=>{f(e.De.Styles.lookupStyle(o).formatType??e.De.Type.Custom)},[o]);const S=e.reactExports.useMemo(()=>{const t=e.De.Styles.lookupPrimary(),a=n=>e.jsxRuntimeExports.jsx(e.MenuItem,{value:n,children:n},n),s=Object.keys(t).map(n=>a(t[n].formatType));return s.push(a(e.De.Type.Custom)),s},[]),F=e.reactExports.useCallback(t=>{const a=t.target.value;f(a);const s=e.De.Styles.lookupDefault(a);s&&y(s)},[]),M=e.reactExports.useMemo(()=>{const t=x();return t.createTemporaryCell({value:t.getValue()??12345,style:{numberFormat:o}})},[h,o,x]);return e.jsxRuntimeExports.jsx(e.Or,{title:"Number Format",options:g,onDone:l,onOption:t=>c(t),onValidateOption:R,defaultOption:r,cancelOption:i,autoFocusSel:".autoFocus",sx:{width:"580px",...v},...C,children:e.jsxRuntimeExports.jsxs(e.Box,{sx:{paddingTop:t=>t.spacing(1),paddingBottom:t=>t.spacing(0),rowGap:t=>t.spacing(1),display:"flex",flexDirection:"column"},children:[e.jsxRuntimeExports.jsxs(e.FormControl,{sx:{minWidth:135},size:"small",children:[e.jsxRuntimeExports.jsx(e.InputLabel,{children:"Category"}),e.jsxRuntimeExports.jsx(e.Select,{value:h,label:"Category",onChange:F,sx:{backgroundImage:`linear-gradient(${e.alpha("#fff",e.getOverlayAlpha(5))}, ${e.alpha("#fff",e.getOverlayAlpha(5))})`},children:S})]}),e.jsxRuntimeExports.jsx(e.FormControl,{sx:{paddingTop:t=>t.spacing(1.5),minWidth:135,width:"100%"},size:"small",children:e.jsxRuntimeExports.jsx(e.TextField,{label:"Code",onFocus:t=>{O||t.target?.select(),T(!0)},sx:{"& .MuiFormHelperText-root":{marginTop:t=>t.spacing(.5)}},InputLabelProps:{shrink:!0},InputProps:{inputProps:{className:"autoFocus",spellCheck:!1,autoComplete:"off",sx:{paddingTop:t=>t.spacing(1.25),paddingBottom:t=>t.spacing(.75),backgroundImage:`linear-gradient(${e.alpha("#fff",e.getOverlayAlpha(5))}, ${e.alpha("#fff",e.getOverlayAlpha(5))})`}}},value:o,onChange:D,onKeyDown:k,onContextMenu:t=>{t.stopPropagation()}})}),e.jsxRuntimeExports.jsxs(e.Box,{children:[e.jsxRuntimeExports.jsx(e.Typography,{variant:"caption",component:"div",sx:{paddingLeft:t=>t.spacing(2)},children:"Preview"}),e.jsxRuntimeExports.jsx(e.Typography,{variant:"body2",component:"div",sx:{borderRadius:t=>`${t.shape.borderRadius}px`,padding:t=>t.spacing(1),border:t=>`1px solid ${t.palette.grey[400]}`},children:M.getNumberFormat().displayText||"(empty)"})]})]})})});exports.NumberFormatDialog=j,exports.default=j;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.6
|
|
3
|
-
*
|
|
4
|
-
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
|
-
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
-
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CEt7dvaTwfePj4ER.cjs"),p=e.reactExports.memo(g=>{const{title:u,onHide:h,autoFocusSel:j=".range-input input",context:f,command:a,commands:r,...y}=g,[R,l]=e.reactExports.useState(!1),[x,c]=e.reactExports.useState(!1),d=e.reactExports.useRef(null),[N,E]=e.reactExports.useReducer(t=>t+1,0),[b,{width:T}]=e.Mo();e.zo(a);const s=f??a.context(),o=s.table(),[w,S]=e.reactExports.useState(()=>o?s.getNames().getRanges(o.getRange()):null),C=e.reactExports.useMemo(()=>o?.getName()??"",[o]);e.ut(s.table(),{onAnchorCoordsChange(t){S(s.getNames().getRanges(t.getRange()))},onProtectedChange(t){E()}});const v=e.M(t=>{s?.table().setName(t)},[s]),B=e.M(t=>{s?.table().resize(t.at(0))},[s]);let m=null;s.table()||(m=e.jsxRuntimeExports.jsx("div",{style:{position:"absolute",top:"0",left:"0",width:"100%",height:"100%",opacity:1,display:"flex",alignItems:"center",justifyItems:"center",justifyContent:"center",boxSizing:"border-box"},children:e.jsxRuntimeExports.jsx("div",{children:"No table selected"})}));const i=e.Ht();return e.jsxRuntimeExports.jsx(e.fa,{ref:d,title:u??"Table Details",initialPosition:{y:"35"},autoFocusSel:j,onHide:h,onFocus:()=>l(!0),onBlur:t=>{d?.current?.contains(t.relatedTarget)||l(!1)},PaperProps:{elevation:R?3:1},...y,children:e.jsxRuntimeExports.jsxs(e.DialogContent,{dividers:!0,ref:b,sx:{display:"flex",flexDirection:"column",position:"relative",paddingLeft:t=>t.spacing(1.5),paddingRight:t=>t.spacing(1.5)},children:[e.jsxRuntimeExports.jsxs(e.Box,{sx:{display:"flex",flexDirection:"column",transition:"opacity 60ms",opacity:s.table()?1:0},children:[e.jsxRuntimeExports.jsx(e.Box,{sx:{display:"flex",flexDirection:"row",gap:t=>t.spacing(1)},children:e.jsxRuntimeExports.jsx(e.Box,{sx:{display:"flex",flexDirection:"column",maxWidth:"100%",boxSizing:"border-box",paddingLeft:t=>t.spacing(2),paddingRight:t=>t.spacing(2)},children:e.jsxRuntimeExports.jsxs(e.Box,{sx:{display:"flex",flexDirection:"column",alignItems:"center"},children:[e.jsxRuntimeExports.jsx(e.mc,{formName:"name",defaultInput:C,value:o?.getName()??"No table",onChangeInput:v,onValidate:t=>{o&&o.getName().toLowerCase()===t.toLowerCase()||s?.getNames().validateName(t)},disabled:o?.isProtected()??!0,onFocus:t=>{x||t.target?.select(),c(!0)}}),e.jsxRuntimeExports.jsx(e.hc,{formName:"range",value:w,onChangeInput:B,resolvedAddress:s.getNames().getRanges.bind(s.getNames()),disabled:o?.isProtected()??!0,onFocus:t=>{x||t.target?.select(),c(!0)}})]})})}),e.jsxRuntimeExports.jsxs(e.Box,{sx:{minHeight:"10px",flex:"1 1 100%",display:"flex",flexDirection:"column",gap:t=>t.spacing(.5),marginTop:t=>t.spacing(1)},children:[e.jsxRuntimeExports.jsx(e.ti,{orientation:"horizontal",sx:{marginTop:t=>t.spacing(1.5),marginBottom:t=>t.spacing(.75)}}),e.jsxRuntimeExports.jsx(e.Xd,{disabled:o?.isProtected(),styleOptions:o?.getStyleOptions()??null,onStyleOptionsChange:t=>{o.updateStyleOptions(t)},showHeaderRow:o?.getShowHeaders(),onShowHeaderRowChange:t=>{try{o.setShowHeaders(t)}catch(n){i.showError(n)}},showTotalRow:o?.getShowTotals(),onShowTotalRowChange:t=>{try{o.setShowTotals(t)}catch(n){i.showError(n)}},showFilterButton:o?.getFilter()?o.getShowFilterButton():null,onShowFilterButtonChange:t=>{try{o.setShowFilterButton(t)}catch(n){i.showError(n)}}}),e.jsxRuntimeExports.jsx(e.Box,{sx:{display:"flex",alignItems:"center",justifyContent:"center",flexDirection:"column",marginTop:t=>t.spacing(2),marginBottom:t=>t.spacing(1)},children:e.jsxRuntimeExports.jsx(e.Js,{table:o,styles:s.styles(),bodyStyle:s.bodyStyle(),cellHeight:30,isLive:!0})}),e.jsxRuntimeExports.jsx(e.ti,{orientation:"horizontal"}),e.jsxRuntimeExports.jsxs(e.Box,{sx:{display:"flex",flexDirection:"column",justifyContent:"center"},children:[e.jsxRuntimeExports.jsx(e.$a,{variant:e.Oo.Menuitem,command:r.getCommand("convertTableToRange"),commandState:o}),e.jsxRuntimeExports.jsx(e.$a,{variant:e.Oo.Menuitem,commandState:o,command:r.getCommand("deleteTable")})]})]})]}),m]})})});exports.TableDetailsWindow=p,exports.default=p;
|
|
@@ -1,147 +0,0 @@
|
|
|
1
|
-
import { r as o, i as p, w as R, a as B, c as oe, k as le, j as i, n as ae, o as re, B as O, p as g, G as m, q as y, T as J, e as b, s as ce, g as T, t as Q, v as pe, h as de, d as ue, I as fe, S as xe } from "./Yx74P2tuzTl_vWeR.mjs";
|
|
2
|
-
/**
|
|
3
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.6
|
|
4
|
-
*
|
|
5
|
-
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
6
|
-
* License: The license can be found at https://www.sheetxl.com/license.
|
|
7
|
-
*/
|
|
8
|
-
const P = o.memo((v) => {
|
|
9
|
-
const { label: h, value: c, options: l, onSelect: d, tabIndex: C = 0, ...E } = v, [F, j] = o.useState(() => _(c, l));
|
|
10
|
-
o.useEffect(() => {
|
|
11
|
-
j(_(c, l));
|
|
12
|
-
}, [c, l]);
|
|
13
|
-
const K = B((u) => {
|
|
14
|
-
j(u.target.value), d?.(l[u.target.value]);
|
|
15
|
-
}, [d, l]), a = o.useMemo(() => Object.keys(l).map((u) => i.jsx(de, { value: u, children: u }, u)), [l]);
|
|
16
|
-
return i.jsxs(ue, { sx: { minWidth: 135 }, size: "small", children: [i.jsx(fe, { children: h }), i.jsx(xe, { inputProps: { tabIndex: C }, value: F, label: h, onChange: K, sx: { backgroundImage: `linear-gradient(${b("#fff", T(5))}, ${b("#fff", T(5))})` }, ...E, children: a })] });
|
|
17
|
-
}), Y = { Workbook: "workbook", Sheet: "sheet" }, Z = { enter: 140, exit: 140 }, ee = { Formulas: p.Content.Formulas, Values: p.Content.Values, Notes: p.Content.Notes, Comments: p.Content.Comments }, ne = { ...ee };
|
|
18
|
-
delete ne.Values;
|
|
19
|
-
const ge = { "By Rows": !0, "By Columns": !1 }, _ = (v, h) => {
|
|
20
|
-
const c = Object.keys(h);
|
|
21
|
-
for (let l = 0; l < c.length; l++) {
|
|
22
|
-
const d = c[l];
|
|
23
|
-
if (h[d] === v) return d;
|
|
24
|
-
}
|
|
25
|
-
}, he = o.memo((v) => {
|
|
26
|
-
const { replace: h = !1, findText: c, replaceText: l, findOptions: d, replaceOptions: C, title: E, onHide: F, onFindOrReplace: j, ...K } = v, a = o.useRef(null), u = o.useRef(null), M = o.useRef(null), W = o.useRef(null), $ = o.useRef(null), L = o.useRef(null), V = (e, n) => {
|
|
27
|
-
n && (n.start(e, { center: !1 }), setTimeout(() => n.stop(e), 180));
|
|
28
|
-
}, [N, w] = o.useState(!1), [I, te] = o.useState(!1), [f, D] = o.useState(h), [H, A] = o.useState(!1), [z, G] = o.useState(!1), [s, r] = o.useState({ findText: null, replaceText: null, replace: h, replaceOptions: {}, findOptions: { matchCase: !1, matchEntireCell: !1, useRegex: !1, orientation: R.Orientation.Row, fields: [p.Content.Formulas] }, scope: Y.Sheet }), k = B(async (e, n, t, S) => {
|
|
29
|
-
if (!j) return;
|
|
30
|
-
const x = { ...s };
|
|
31
|
-
x.replaceOptions = { ...x.replaceOptions }, x.findOptions = { ...x.findOptions }, x.replaceOptions.maxCount = t ? void 0 : 1, x.replace = n, n && s.findOptions.fields?.[0] === p.Content.Values && (x.findOptions.fields = [p.Content.Formulas]), x.findOptions.reverse = !e;
|
|
32
|
-
const se = await j({ autoFocus: S, ...x });
|
|
33
|
-
A(se === 0);
|
|
34
|
-
}, [s, j]);
|
|
35
|
-
o.useEffect(() => {
|
|
36
|
-
A(!1);
|
|
37
|
-
}, [s, I, f]);
|
|
38
|
-
const U = B((e, n) => {
|
|
39
|
-
if (e.keyCode === oe.Enter) {
|
|
40
|
-
if (!s.findText) return;
|
|
41
|
-
let t = !0, S = !1;
|
|
42
|
-
e.shiftKey && (t = !1), n ? (e.ctrlKey && e.altKey && (S = !0), V(e, S ? L.current : $.current)) : V(e, t ? W.current : M.current), k(t, n, S, !1);
|
|
43
|
-
}
|
|
44
|
-
}, [s]), q = o.useRef(null);
|
|
45
|
-
o.useLayoutEffect(() => {
|
|
46
|
-
r((e) => {
|
|
47
|
-
const n = { ...e };
|
|
48
|
-
n.findText = c && c.length > 0 ? c : e.findText ?? "", w(!0), l !== void 0 && (n.replaceText = l), d && (n.findOptions = { ...n.findOptions, ...d }), n.replaceText || (n.replaceText = ""), n.replaceOptions && (n.replaceOptions = { ...n.replaceOptions }), C && (n.replaceOptions = { ...n.replaceOptions, ...C }), s.findOptions.fields?.[0] || (s.findOptions.fields = [p.Content.Formulas]);
|
|
49
|
-
const t = !(!C && l === void 0);
|
|
50
|
-
return t && D(t), n;
|
|
51
|
-
}), z || q.current?.focus();
|
|
52
|
-
}, [c, l, d, C]), o.useEffect(() => {
|
|
53
|
-
f ? (s.findOptions.fields[0], p.Content.Values) : w(!0);
|
|
54
|
-
}, [f]), o.useEffect(() => {
|
|
55
|
-
if (N && a.current && s.findText === a.current.value) return a.current === document.activeElement || a.current.contains(document.activeElement) ? (a.current?.select(), void w(!1)) : void a.current.addEventListener("focus", () => {
|
|
56
|
-
a.current?.select(), w(!1);
|
|
57
|
-
}, { once: !0 });
|
|
58
|
-
}, [N, s]);
|
|
59
|
-
const [ie, { width: X }] = le();
|
|
60
|
-
return i.jsx(ae, { ref: q, title: E ?? (f ? "Find & Replace" : "Find"), initialPosition: { y: "35" }, autoFocusSel: ".input", onHide: F, onFocus: () => G(!0), onBlur: () => {
|
|
61
|
-
G(!1), A(!1);
|
|
62
|
-
}, PaperProps: { elevation: z ? 3 : 1 }, ...K, children: i.jsxs(re, { dividers: !0, ref: ie, sx: { display: "flex", flexDirection: "column", paddingLeft: (e) => e.spacing(1.5), paddingRight: (e) => e.spacing(1.5) }, onKeyDown: (e) => {
|
|
63
|
-
if (e.key === "h" && e.ctrlKey) D(!0), a.current?.contains(document.activeElement) && u.current?.focus();
|
|
64
|
-
else if (e.key === "f" && e.ctrlKey) a.current?.focus();
|
|
65
|
-
else if (e.key === "c" && e.altKey) r((n) => {
|
|
66
|
-
const t = { ...n };
|
|
67
|
-
return t.findOptions.matchCase = !n.findOptions.matchCase, t;
|
|
68
|
-
});
|
|
69
|
-
else if (e.key === "e" && e.altKey) r((n) => {
|
|
70
|
-
const t = { ...n };
|
|
71
|
-
return t.findOptions.matchEntireCell = !n.findOptions.matchEntireCell, t;
|
|
72
|
-
});
|
|
73
|
-
else {
|
|
74
|
-
if (e.key !== "r" || !e.altKey) return;
|
|
75
|
-
r((n) => {
|
|
76
|
-
const t = { ...n };
|
|
77
|
-
return t.findOptions.useRegex = !n.findOptions.useRegex, t;
|
|
78
|
-
});
|
|
79
|
-
}
|
|
80
|
-
e.preventDefault();
|
|
81
|
-
}, children: [i.jsxs(O, { sx: { display: "flex", flexDirection: "row", gap: (e) => e.spacing(1) }, children: [i.jsxs(O, { sx: { display: "flex", flexDirection: "row", alignItems: "start", gap: (e) => e.spacing(0.25), paddingTop: "3px" }, children: [i.jsx(g, { selected: I, onSelectToggle: (e) => {
|
|
82
|
-
te(e);
|
|
83
|
-
}, preventFocus: !0, label: "Toggle Additional Options", icon: i.jsx(m, { iconKey: "FindOptions" }) }), i.jsx(g, { selected: f, onSelectToggle: (e) => {
|
|
84
|
-
D(e);
|
|
85
|
-
}, preventFocus: !0, label: "Toggle Replace", icon: i.jsx(m, { iconKey: "FindReplaceToggle" }), shortcut: { key: f ? "F" : "H", modifiers: [y.Ctrl] } })] }), i.jsxs(O, { sx: { display: "flex", flexDirection: "column", maxWidth: "100%", boxSizing: "border-box" }, children: [i.jsxs(O, { sx: { display: "flex", flexDirection: "row", alignItems: "center" }, children: [i.jsx(J, { label: "Find", InputLabelProps: { shrink: !0 }, InputProps: { sx: { paddingRight: (e) => e.spacing(1), minWidth: X > 460 ? "20em" : void 0, backgroundImage: `linear-gradient(${b("#fff", T(5))}, ${b("#fff", T(5))})` }, inputProps: { draggable: !1, ref: a, className: "input", autoFocus: !0, spellCheck: !1, autoComplete: "off", sx: { paddingTop: (e) => e.spacing(1.25), paddingBottom: (e) => e.spacing(0.75) } }, endAdornment: i.jsx(ce, { sx: { transform: "scale(0.75) translateX(16px)" }, position: "end", children: i.jsxs(O, { sx: { display: "flex", alignItems: "center", flexDirection: "row", gap: "1px" }, children: [i.jsx(g, { selected: s.findOptions.matchCase, onSelectToggle: (e) => {
|
|
86
|
-
r((n) => {
|
|
87
|
-
const t = { ...n };
|
|
88
|
-
return t.findOptions.matchCase = e, t;
|
|
89
|
-
});
|
|
90
|
-
}, label: "Match Case", shortcut: { key: "C", modifiers: [y.Alt] }, icon: i.jsx(m, { iconKey: "FindCaseSensitive" }) }), i.jsx(g, { selected: s.findOptions.matchEntireCell, onSelectToggle: (e) => {
|
|
91
|
-
r((n) => {
|
|
92
|
-
const t = { ...n };
|
|
93
|
-
return t.findOptions.matchEntireCell = e, t;
|
|
94
|
-
});
|
|
95
|
-
}, label: "Match Entire Cell", shortcut: { key: "E", modifiers: [y.Alt] }, icon: i.jsx(m, { iconKey: "FindWholeWord" }) }), i.jsx(g, { selected: s.findOptions.useRegex, onSelectToggle: (e) => {
|
|
96
|
-
r((n) => {
|
|
97
|
-
const t = { ...n };
|
|
98
|
-
return t.findOptions.useRegex = e, t;
|
|
99
|
-
});
|
|
100
|
-
}, label: "Use Regular Expression", shortcut: { key: "R", modifiers: [y.Alt] }, icon: i.jsx(m, { iconKey: "FindRegEx" }) })] }) }) }, sx: { flex: "1 1 100%", marginRight: (e) => e.spacing(1), "& .MuiOutlinedInput-notchedOutline": { borderColor: (e) => H ? `${e.palette.error.main} !important` : void 0 }, "& .MuiInputLabel-outlined": { color: (e) => H ? `${e.palette.error.main} !important` : void 0 } }, value: s.findText ?? "", onChange: (e) => {
|
|
101
|
-
r((n) => {
|
|
102
|
-
const t = { ...n };
|
|
103
|
-
return t.findText = e.target.value, t;
|
|
104
|
-
});
|
|
105
|
-
}, onKeyDown: (e) => U(e, !1), onContextMenu: (e) => {
|
|
106
|
-
e.stopPropagation();
|
|
107
|
-
} }), i.jsx(g, { selected: s.findOptions.reverse, onSelectToggle: (e) => {
|
|
108
|
-
k(!1, !1);
|
|
109
|
-
}, touchRippleRef: M, label: "", shortcut: { key: "Enter", modifiers: [y.Shift] }, icon: i.jsx(m, { iconKey: s.findOptions.orientation !== R.Orientation.Column ? "ArrowBack" : "ArrowUpward" }), disabled: !s.findText }), i.jsx(g, { selected: !s.findOptions.reverse, onSelectToggle: (e) => {
|
|
110
|
-
k(!0, !1);
|
|
111
|
-
}, touchRippleRef: W, label: "Next Match", shortcut: { key: "Enter" }, icon: i.jsx(m, { iconKey: s.findOptions.orientation !== R.Orientation.Column ? "ArrowForward" : "ArrowDownward" }), disabled: !s.findText })] }), i.jsx(Q, { in: f, timeout: Z, onExit: () => {
|
|
112
|
-
a.current?.focus();
|
|
113
|
-
}, children: i.jsxs(O, { sx: { display: "flex", flexDirection: "row", alignItems: "center", marginTop: (e) => e.spacing(2) }, children: [i.jsx(J, { label: "Replace", InputLabelProps: { shrink: !0 }, InputProps: { sx: { paddingRight: (e) => e.spacing(1), backgroundImage: `linear-gradient(${b("#fff", T(5))}, ${b("#fff", T(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: s.replaceText ?? "", onChange: (e) => {
|
|
114
|
-
r((n) => {
|
|
115
|
-
const t = { ...n };
|
|
116
|
-
return t.replaceText = e.target.value, t;
|
|
117
|
-
});
|
|
118
|
-
}, onKeyDown: (e) => U(e, !0), onContextMenu: (e) => {
|
|
119
|
-
e.stopPropagation();
|
|
120
|
-
} }), i.jsx(g, { onSelectToggle: (e) => {
|
|
121
|
-
k(!0, !0);
|
|
122
|
-
}, touchRippleRef: $, label: "Replace", shortcut: { key: "Enter" }, icon: i.jsx(m, { iconKey: "FindReplace" }), disabled: !s.findText }), i.jsx(g, { onSelectToggle: (e) => {
|
|
123
|
-
k(!0, !0, !0);
|
|
124
|
-
}, touchRippleRef: L, label: "Replace All", shortcut: { key: "Enter", modifiers: [y.Ctrl, y.Alt] }, icon: i.jsx(m, { iconKey: "FindReplaceAll" }), disabled: !s.findText })] }) })] })] }), i.jsx(Q, { in: I, timeout: Z, onExit: () => {
|
|
125
|
-
a.current?.focus();
|
|
126
|
-
}, children: i.jsxs(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.jsx(pe, { orientation: "horizontal", sx: { marginBottom: (e) => e.spacing(1.5) } }), i.jsxs(O, { sx: { display: "flex", flexDirection: X >= 413 ? "row" : "column", justifyContent: "space-evenly", alignItems: "center", rowGap: (e) => e.spacing(2) }, tabIndex: -1, children: [i.jsx(P, { label: "Within", value: s.scope, options: Y, onSelect: (e) => {
|
|
127
|
-
r((n) => {
|
|
128
|
-
const t = { ...n };
|
|
129
|
-
return t.scope = e, t;
|
|
130
|
-
});
|
|
131
|
-
} }), i.jsx(P, { label: "Search", value: s.findOptions.orientation !== R.Orientation.Column, options: ge, onSelect: (e) => {
|
|
132
|
-
r((n) => {
|
|
133
|
-
const t = { ...n };
|
|
134
|
-
return t.findOptions.orientation = e ? R.Orientation.Row : R.Orientation.Column, t;
|
|
135
|
-
});
|
|
136
|
-
} }), i.jsx(P, { label: "Look in", value: f && s.findOptions.fields?.[0] === p.Content.Values ? p.Content.Formulas : s.findOptions.fields?.[0], options: f ? ne : ee, onSelect: (e) => {
|
|
137
|
-
r((n) => {
|
|
138
|
-
const t = { ...n };
|
|
139
|
-
return t.findOptions.fields = [e], t;
|
|
140
|
-
});
|
|
141
|
-
} })] })] }) })] }) });
|
|
142
|
-
});
|
|
143
|
-
export {
|
|
144
|
-
he as FindReplaceWindow,
|
|
145
|
-
Y as ScopeOptions,
|
|
146
|
-
he as default
|
|
147
|
-
};
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { r as n, k as P, z, y as L, a as u, j as a, H as E, n as O, o as A, B as o, A as M, E as W, v as h, X as k, J, K as f, L as y } from "./Yx74P2tuzTl_vWeR.mjs";
|
|
2
|
-
/**
|
|
3
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.6
|
|
4
|
-
*
|
|
5
|
-
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
6
|
-
* License: The license can be found at https://www.sheetxl.com/license.
|
|
7
|
-
*/
|
|
8
|
-
const q = n.memo((b) => {
|
|
9
|
-
const { title: w, onHide: j, autoFocusSel: S = ".range-input input", context: C, command: r, commands: c, ...v } = b, [N, d] = n.useState(!1), [g, m] = n.useState(!1), x = n.useRef(null), [K, R] = n.useReducer((e) => e + 1, 0), [T, { width: V }] = P();
|
|
10
|
-
z(r);
|
|
11
|
-
const s = C ?? r.context(), t = s.table(), [D, F] = n.useState(() => t ? s.getNames().getRanges(t.getRange()) : null), H = n.useMemo(() => t?.getName() ?? "", [t]);
|
|
12
|
-
L(s.table(), { onAnchorCoordsChange(e) {
|
|
13
|
-
F(s.getNames().getRanges(e.getRange()));
|
|
14
|
-
}, onProtectedChange(e) {
|
|
15
|
-
R();
|
|
16
|
-
} });
|
|
17
|
-
const B = u((e) => {
|
|
18
|
-
s?.table().setName(e);
|
|
19
|
-
}, [s]), I = u((e) => {
|
|
20
|
-
s?.table().resize(e.at(0));
|
|
21
|
-
}, [s]);
|
|
22
|
-
let p = null;
|
|
23
|
-
s.table() || (p = a.jsx("div", { style: { position: "absolute", top: "0", left: "0", width: "100%", height: "100%", opacity: 1, display: "flex", alignItems: "center", justifyItems: "center", justifyContent: "center", boxSizing: "border-box" }, children: a.jsx("div", { children: "No table selected" }) }));
|
|
24
|
-
const l = E();
|
|
25
|
-
return a.jsx(O, { ref: x, title: w ?? "Table Details", initialPosition: { y: "35" }, autoFocusSel: S, onHide: j, onFocus: () => d(!0), onBlur: (e) => {
|
|
26
|
-
x?.current?.contains(e.relatedTarget) || d(!1);
|
|
27
|
-
}, PaperProps: { elevation: N ? 3 : 1 }, ...v, children: a.jsxs(A, { dividers: !0, ref: T, sx: { display: "flex", flexDirection: "column", position: "relative", paddingLeft: (e) => e.spacing(1.5), paddingRight: (e) => e.spacing(1.5) }, children: [a.jsxs(o, { sx: { display: "flex", flexDirection: "column", transition: "opacity 60ms", opacity: s.table() ? 1 : 0 }, children: [a.jsx(o, { sx: { display: "flex", flexDirection: "row", gap: (e) => e.spacing(1) }, children: a.jsx(o, { sx: { display: "flex", flexDirection: "column", maxWidth: "100%", boxSizing: "border-box", paddingLeft: (e) => e.spacing(2), paddingRight: (e) => e.spacing(2) }, children: a.jsxs(o, { sx: { display: "flex", flexDirection: "column", alignItems: "center" }, children: [a.jsx(M, { formName: "name", defaultInput: H, value: t?.getName() ?? "No table", onChangeInput: B, onValidate: (e) => {
|
|
28
|
-
t && t.getName().toLowerCase() === e.toLowerCase() || s?.getNames().validateName(e);
|
|
29
|
-
}, disabled: t?.isProtected() ?? !0, onFocus: (e) => {
|
|
30
|
-
g || e.target?.select(), m(!0);
|
|
31
|
-
} }), a.jsx(W, { formName: "range", value: D, onChangeInput: I, resolvedAddress: s.getNames().getRanges.bind(s.getNames()), disabled: t?.isProtected() ?? !0, onFocus: (e) => {
|
|
32
|
-
g || e.target?.select(), m(!0);
|
|
33
|
-
} })] }) }) }), a.jsxs(o, { sx: { minHeight: "10px", flex: "1 1 100%", display: "flex", flexDirection: "column", gap: (e) => e.spacing(0.5), marginTop: (e) => e.spacing(1) }, children: [a.jsx(h, { orientation: "horizontal", sx: { marginTop: (e) => e.spacing(1.5), marginBottom: (e) => e.spacing(0.75) } }), a.jsx(k, { disabled: t?.isProtected(), styleOptions: t?.getStyleOptions() ?? null, onStyleOptionsChange: (e) => {
|
|
34
|
-
t.updateStyleOptions(e);
|
|
35
|
-
}, showHeaderRow: t?.getShowHeaders(), onShowHeaderRowChange: (e) => {
|
|
36
|
-
try {
|
|
37
|
-
t.setShowHeaders(e);
|
|
38
|
-
} catch (i) {
|
|
39
|
-
l.showError(i);
|
|
40
|
-
}
|
|
41
|
-
}, showTotalRow: t?.getShowTotals(), onShowTotalRowChange: (e) => {
|
|
42
|
-
try {
|
|
43
|
-
t.setShowTotals(e);
|
|
44
|
-
} catch (i) {
|
|
45
|
-
l.showError(i);
|
|
46
|
-
}
|
|
47
|
-
}, showFilterButton: t?.getFilter() ? t.getShowFilterButton() : null, onShowFilterButtonChange: (e) => {
|
|
48
|
-
try {
|
|
49
|
-
t.setShowFilterButton(e);
|
|
50
|
-
} catch (i) {
|
|
51
|
-
l.showError(i);
|
|
52
|
-
}
|
|
53
|
-
} }), a.jsx(o, { sx: { display: "flex", alignItems: "center", justifyContent: "center", flexDirection: "column", marginTop: (e) => e.spacing(2), marginBottom: (e) => e.spacing(1) }, children: a.jsx(J, { table: t, styles: s.styles(), bodyStyle: s.bodyStyle(), cellHeight: 30, isLive: !0 }) }), a.jsx(h, { orientation: "horizontal" }), a.jsxs(o, { sx: { display: "flex", flexDirection: "column", justifyContent: "center" }, children: [a.jsx(f, { variant: y.Menuitem, command: c.getCommand("convertTableToRange"), commandState: t }), a.jsx(f, { variant: y.Menuitem, commandState: t, command: c.getCommand("deleteTable") })] })] })] }), p] }) });
|
|
54
|
-
});
|
|
55
|
-
export {
|
|
56
|
-
q as TableDetailsWindow,
|
|
57
|
-
q as default
|
|
58
|
-
};
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { r as e, a as o, c as $, j as i, O as E, B as K, d as R, T as W, e as O, az as q, g as y } from "./Yx74P2tuzTl_vWeR.mjs";
|
|
2
|
-
/**
|
|
3
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.6
|
|
4
|
-
*
|
|
5
|
-
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
6
|
-
* License: The license can be found at https://www.sheetxl.com/license.
|
|
7
|
-
*/
|
|
8
|
-
const A = ["Input"], J = e.memo(e.forwardRef((w, T) => {
|
|
9
|
-
const { initialValue: F = "", onOption: I, onValidateOption: l, onInputOption: r, onValidateInputOption: p, onDone: u, inputProps: c, inputLabel: P, inputType: S, inputPlaceHolder: j, options: d = A, autoFocusSel: v = ".autoFocus", cancelOption: g, defaultOption: f = d?.[0], ...C } = w, [b, k] = e.useState(!1), [t, V] = e.useState(F), [B, D] = e.useState(""), [z, H] = e.useState(!0), s = o(async (a, n) => {
|
|
10
|
-
if (!p) return !0;
|
|
11
|
-
const h = await p?.(a, n);
|
|
12
|
-
D(h?.message ?? "");
|
|
13
|
-
const x = h?.valid ?? !0;
|
|
14
|
-
return H(x), x;
|
|
15
|
-
}, [p]), m = o(async (a) => {
|
|
16
|
-
r?.(t, a);
|
|
17
|
-
}, [t, r, u, I, g, f]), L = o(async (a) => {
|
|
18
|
-
a.keyCode === $.Enter && await s?.(t, null);
|
|
19
|
-
}, [t, m]), M = o((a) => {
|
|
20
|
-
V(a.target.value), s?.(a.target.value, null);
|
|
21
|
-
}, [l]), N = o(async (a) => {
|
|
22
|
-
let n = await s(t, a);
|
|
23
|
-
try {
|
|
24
|
-
n !== !1 && (n = await s(t, a));
|
|
25
|
-
} catch {
|
|
26
|
-
}
|
|
27
|
-
return n ?? !0;
|
|
28
|
-
}, [t, l]);
|
|
29
|
-
return i.jsx(E, { options: d, onDone: u, onOption: (a, n) => {
|
|
30
|
-
n || m(a);
|
|
31
|
-
}, onValidateOption: N, cancelOption: g, defaultOption: f, autoFocusSel: v, ref: T, ...C, children: i.jsx(K, { sx: { paddingTop: (a) => a.spacing(1), paddingBottom: (a) => a.spacing(0) }, children: i.jsx(R, { sx: { paddingTop: (a) => a.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: i.jsx(W, { onFocus: (a) => {
|
|
32
|
-
b || a.target?.select(), k(!0);
|
|
33
|
-
}, type: S, label: P, helperText: B || " ", sx: { width: "100%", "& .MuiFormHelperText-root": { marginTop: (a) => a.spacing(0.5), color: z ? void 0 : "error.main" } }, InputLabelProps: { shrink: !0 }, InputProps: { inputProps: { placeholder: j, spellCheck: !1, autoComplete: "off", ...c, className: q("autoFocus", c?.className), sx: { paddingTop: (a) => a.spacing(1.25), paddingBottom: (a) => a.spacing(0.75), backgroundImage: `linear-gradient(${O("#fff", y(5))}, ${O("#fff", y(5))})` } } }, value: t, onChange: M, onKeyDown: L, onContextMenu: (a) => {
|
|
34
|
-
a.stopPropagation();
|
|
35
|
-
} }) }) }) });
|
|
36
|
-
}));
|
|
37
|
-
export {
|
|
38
|
-
J as default
|
|
39
|
-
};
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { r as n, a as x, j as o, O as L, B as W, d as O, T as b, e as p, g as r } from "./Yx74P2tuzTl_vWeR.mjs";
|
|
2
|
-
/**
|
|
3
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.6
|
|
4
|
-
*
|
|
5
|
-
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
6
|
-
* License: The license can be found at https://www.sheetxl.com/license.
|
|
7
|
-
*/
|
|
8
|
-
const z = ["Ok", "Cancel"], E = n.memo((P) => {
|
|
9
|
-
const { initialHyperlink: s = null, initialDisplay: D = null, onUpdateHyperlink: f, context: l, onOption: m, onValidateOption: d, onDone: u, options: h = z, defaultOption: c = h?.[0], cancelOption: i = "Cancel", sx: j, ...F } = P, H = n.useMemo(() => (s ?? l?.()?.getHyperlink()) !== null, []), k = n.useMemo(() => {
|
|
10
|
-
let e = null, t = null;
|
|
11
|
-
s && (typeof s == "string" ? t = s : e = s);
|
|
12
|
-
const C = e ?? l?.()?.getHyperlink();
|
|
13
|
-
return { address: t ?? C?.getAddress() ?? "", textToDisplay: C?.getDisplayText() ?? "" };
|
|
14
|
-
}, [s, l]), [a, I] = n.useState(k.address), [g, v] = n.useState(() => {
|
|
15
|
-
const e = l?.().toTextUnformatted() ?? D;
|
|
16
|
-
return e === k.address ? "" : e;
|
|
17
|
-
}), [w, y] = n.useState(!1), M = n.useCallback((e) => {
|
|
18
|
-
v(e.target.value);
|
|
19
|
-
}, []), T = n.useCallback(async (e, t) => null, []), B = x(async (e) => {
|
|
20
|
-
e !== i && f?.(a === "" ? null : { address: a }, g), m?.(e, e === i, e === c), u?.();
|
|
21
|
-
}, [a, g, f, u, m, c, i]), S = x((e) => {
|
|
22
|
-
I(e.target.value), T(e.target.value, null);
|
|
23
|
-
}, [d]), $ = x(async (e) => {
|
|
24
|
-
let t = await Promise.resolve(d?.(e));
|
|
25
|
-
try {
|
|
26
|
-
t !== !1 && (t = await T(a, e));
|
|
27
|
-
} catch {
|
|
28
|
-
}
|
|
29
|
-
return t ?? !0;
|
|
30
|
-
}, [d]);
|
|
31
|
-
return o.jsx(L, { title: (H ? "Edit" : "Insert") + " Link", options: h, onDone: u, onOption: (e) => B(e), onValidateOption: $, defaultOption: c, cancelOption: i, autoFocusSel: ".autoFocus", sx: { width: "480px", ...j }, ...F, children: o.jsxs(W, { sx: { paddingTop: (e) => e.spacing(1), paddingBottom: (e) => e.spacing(0), rowGap: (e) => e.spacing(1), display: "flex", flexDirection: "column" }, children: [o.jsx(O, { sx: { paddingTop: (e) => e.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: o.jsx(b, { label: "Address", placeholder: "Enter a url or cell reference.", onFocus: (e) => {
|
|
32
|
-
w || e.target?.select(), y(!0);
|
|
33
|
-
}, 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", r(5))}, ${p("#fff", r(5))})` } } }, value: a, onChange: S, onContextMenu: (e) => {
|
|
34
|
-
e.stopPropagation();
|
|
35
|
-
} }) }), o.jsx(O, { sx: { paddingTop: (e) => e.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: o.jsx(b, { label: "Display Text", placeholder: a?.startsWith("#") ? a.substring(1) : a, onFocus: () => {
|
|
36
|
-
y(!0);
|
|
37
|
-
}, 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(${p("#fff", r(5))}, ${p("#fff", r(5))})` } } }, value: g, onChange: M, onContextMenu: (e) => {
|
|
38
|
-
e.stopPropagation();
|
|
39
|
-
} }) })] }) });
|
|
40
|
-
});
|
|
41
|
-
export {
|
|
42
|
-
E as HyperlinkDialog,
|
|
43
|
-
E as default
|
|
44
|
-
};
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { a as t } from "./5dKHsl0r2V-JmyNP.js";
|
|
2
|
-
import { r as s } from "./BXHEwZhPbMaOdb_Z.js";
|
|
3
|
-
import { f as p, m as L, D as n, O as R, d as T, h as O, I as W, j as q, k as c, o as u, p as G, q as S, r as H } from "./Bqca9Nkofzm6UFZ1.js";
|
|
4
|
-
/**
|
|
5
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.6
|
|
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 K = ["Ok", "Cancel"], U = s.memo((F) => {
|
|
11
|
-
const { initialValue: w, context: y, onOption: h, onValidateOption: d, onInputOption: C, onDone: m, options: b = K, defaultOption: l = b?.[0], cancelOption: g = "Cancel", sx: P, ...D } = F, [a, k] = s.useState(w), [I, $] = s.useState(!1), x = s.useCallback(async (e, o) => !0, []), f = p(async (e) => {
|
|
12
|
-
C?.(a, e), h?.(e, e === g, e === l), m?.();
|
|
13
|
-
}, [a, C, m, h, g, l]), M = p(async (e) => {
|
|
14
|
-
e.keyCode === L.Enter && await x?.(a, null) !== !1 && f(l);
|
|
15
|
-
}, [a, f]), N = p((e) => {
|
|
16
|
-
k(e.target.value), x?.(e.target.value, null);
|
|
17
|
-
}, [d]), V = p(async (e) => {
|
|
18
|
-
let o = await Promise.resolve(d?.(e));
|
|
19
|
-
try {
|
|
20
|
-
o !== !1 && (o = await Promise.resolve(x?.(a, e)) ?? !0);
|
|
21
|
-
} catch {
|
|
22
|
-
}
|
|
23
|
-
return o ?? !0;
|
|
24
|
-
}, [d]), [v, j] = s.useState(n.Styles.lookupStyle(a).formatType ?? n.Type.Custom);
|
|
25
|
-
s.useEffect(() => {
|
|
26
|
-
j(n.Styles.lookupStyle(a).formatType ?? n.Type.Custom);
|
|
27
|
-
}, [a]);
|
|
28
|
-
const z = s.useMemo(() => {
|
|
29
|
-
const e = n.Styles.lookupPrimary(), o = (r) => t.jsx(H, { value: r, children: r }, r), i = Object.keys(e).map((r) => o(e[r].formatType));
|
|
30
|
-
return i.push(o(n.Type.Custom)), i;
|
|
31
|
-
}, []), B = s.useCallback((e) => {
|
|
32
|
-
const o = e.target.value;
|
|
33
|
-
j(o);
|
|
34
|
-
const i = n.Styles.lookupDefault(o);
|
|
35
|
-
i && k(i);
|
|
36
|
-
}, []), E = s.useMemo(() => {
|
|
37
|
-
const e = y();
|
|
38
|
-
return e.createTemporaryCell({ value: e.getValue() ?? 12345, style: { numberFormat: a } });
|
|
39
|
-
}, [v, a, y]);
|
|
40
|
-
return t.jsx(R, { title: "Number Format", options: b, onDone: m, onOption: (e) => f(e), onValidateOption: V, defaultOption: l, cancelOption: g, autoFocusSel: ".autoFocus", sx: { width: "580px", ...P }, ...D, children: t.jsxs(T, { sx: { paddingTop: (e) => e.spacing(1), paddingBottom: (e) => e.spacing(0), rowGap: (e) => e.spacing(1), display: "flex", flexDirection: "column" }, children: [t.jsxs(O, { sx: { minWidth: 135 }, size: "small", children: [t.jsx(W, { children: "Category" }), t.jsx(q, { value: v, label: "Category", onChange: B, sx: { backgroundImage: `linear-gradient(${c("#fff", u(5))}, ${c("#fff", u(5))})` }, children: z })] }), t.jsx(O, { sx: { paddingTop: (e) => e.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: t.jsx(G, { label: "Code", onFocus: (e) => {
|
|
41
|
-
I || e.target?.select(), $(!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(${c("#fff", u(5))}, ${c("#fff", u(5))})` } } }, value: a, onChange: N, onKeyDown: M, onContextMenu: (e) => {
|
|
43
|
-
e.stopPropagation();
|
|
44
|
-
} }) }), t.jsxs(T, { children: [t.jsx(S, { variant: "caption", component: "div", sx: { paddingLeft: (e) => e.spacing(2) }, children: "Preview" }), t.jsx(S, { 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: E.getNumberFormat().displayText || "(empty)" })] })] }) });
|
|
45
|
-
});
|
|
46
|
-
export {
|
|
47
|
-
U as NumberFormatDialog,
|
|
48
|
-
U as default
|
|
49
|
-
};
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { a as s } from "./5dKHsl0r2V-JmyNP.js";
|
|
2
|
-
import { r as a } from "./BXHEwZhPbMaOdb_Z.js";
|
|
3
|
-
import { f as m, O as L, d as W, h as O, p as b, k as p, o as r } from "./Bqca9Nkofzm6UFZ1.js";
|
|
4
|
-
/**
|
|
5
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.6
|
|
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 z = ["Ok", "Cancel"], V = a.memo((P) => {
|
|
11
|
-
const { initialHyperlink: o = null, initialDisplay: D = null, onUpdateHyperlink: f, context: i, onOption: x, onValidateOption: d, onDone: u, options: h = z, defaultOption: c = h?.[0], cancelOption: l = "Cancel", sx: F, ...H } = P, I = a.useMemo(() => (o ?? i?.()?.getHyperlink()) !== null, []), k = a.useMemo(() => {
|
|
12
|
-
let e = null, n = null;
|
|
13
|
-
o && (typeof o == "string" ? n = o : e = o);
|
|
14
|
-
const C = e ?? i?.()?.getHyperlink();
|
|
15
|
-
return { address: n ?? C?.getAddress() ?? "", textToDisplay: C?.getDisplayText() ?? "" };
|
|
16
|
-
}, [o, i]), [t, j] = a.useState(k.address), [g, v] = a.useState(() => {
|
|
17
|
-
const e = i?.().toTextUnformatted() ?? D;
|
|
18
|
-
return e === k.address ? "" : e;
|
|
19
|
-
}), [w, y] = a.useState(!1), M = a.useCallback((e) => {
|
|
20
|
-
v(e.target.value);
|
|
21
|
-
}, []), T = a.useCallback(async (e, n) => null, []), S = m(async (e) => {
|
|
22
|
-
e !== l && f?.(t === "" ? null : { address: t }, g), x?.(e, e === l, e === c), u?.();
|
|
23
|
-
}, [t, g, f, u, x, c, l]), $ = m((e) => {
|
|
24
|
-
j(e.target.value), T(e.target.value, null);
|
|
25
|
-
}, [d]), B = m(async (e) => {
|
|
26
|
-
let n = await Promise.resolve(d?.(e));
|
|
27
|
-
try {
|
|
28
|
-
n !== !1 && (n = await T(t, e));
|
|
29
|
-
} catch {
|
|
30
|
-
}
|
|
31
|
-
return n ?? !0;
|
|
32
|
-
}, [d]);
|
|
33
|
-
return s.jsx(L, { title: (I ? "Edit" : "Insert") + " Link", options: h, onDone: u, onOption: (e) => S(e), onValidateOption: B, defaultOption: c, cancelOption: l, autoFocusSel: ".autoFocus", sx: { width: "480px", ...F }, ...H, children: s.jsxs(W, { sx: { paddingTop: (e) => e.spacing(1), paddingBottom: (e) => e.spacing(0), rowGap: (e) => e.spacing(1), display: "flex", flexDirection: "column" }, children: [s.jsx(O, { sx: { paddingTop: (e) => e.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: s.jsx(b, { label: "Address", placeholder: "Enter a url or cell reference.", onFocus: (e) => {
|
|
34
|
-
w || e.target?.select(), y(!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(${p("#fff", r(5))}, ${p("#fff", r(5))})` } } }, value: t, onChange: $, onContextMenu: (e) => {
|
|
36
|
-
e.stopPropagation();
|
|
37
|
-
} }) }), s.jsx(O, { sx: { paddingTop: (e) => e.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: s.jsx(b, { label: "Display Text", placeholder: t?.startsWith("#") ? t.substring(1) : t, onFocus: () => {
|
|
38
|
-
y(!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(${p("#fff", r(5))}, ${p("#fff", r(5))})` } } }, value: g, onChange: M, onContextMenu: (e) => {
|
|
40
|
-
e.stopPropagation();
|
|
41
|
-
} }) })] }) });
|
|
42
|
-
});
|
|
43
|
-
export {
|
|
44
|
-
V as HyperlinkDialog,
|
|
45
|
-
V as default
|
|
46
|
-
};
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { a as s } from "./5dKHsl0r2V-JmyNP.js";
|
|
2
|
-
import { r as n } from "./BXHEwZhPbMaOdb_Z.js";
|
|
3
|
-
import { f as e, m as z, O as E, d as K, h as R, p as W, k as O, aw as q, o as w } from "./Bqca9Nkofzm6UFZ1.js";
|
|
4
|
-
/**
|
|
5
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.6
|
|
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 A = ["Input"], U = n.memo(n.forwardRef((y, T) => {
|
|
11
|
-
const { initialValue: F = "", onOption: I, onValidateOption: r, onInputOption: l, onValidateInputOption: p, onDone: u, inputProps: c, inputLabel: P, inputType: S, inputPlaceHolder: k, options: d = A, autoFocusSel: v = ".autoFocus", cancelOption: m, defaultOption: g = d?.[0], ...C } = y, [b, j] = n.useState(!1), [a, V] = n.useState(F), [D, B] = n.useState(""), [H, L] = n.useState(!0), i = e(async (t, o) => {
|
|
12
|
-
if (!p) return !0;
|
|
13
|
-
const h = await p?.(t, o);
|
|
14
|
-
B(h?.message ?? "");
|
|
15
|
-
const x = h?.valid ?? !0;
|
|
16
|
-
return L(x), x;
|
|
17
|
-
}, [p]), f = e(async (t) => {
|
|
18
|
-
l?.(a, t);
|
|
19
|
-
}, [a, l, u, I, m, g]), M = e(async (t) => {
|
|
20
|
-
t.keyCode === z.Enter && await i?.(a, null);
|
|
21
|
-
}, [a, f]), N = e((t) => {
|
|
22
|
-
V(t.target.value), i?.(t.target.value, null);
|
|
23
|
-
}, [r]), $ = e(async (t) => {
|
|
24
|
-
let o = await i(a, t);
|
|
25
|
-
try {
|
|
26
|
-
o !== !1 && (o = await i(a, t));
|
|
27
|
-
} catch {
|
|
28
|
-
}
|
|
29
|
-
return o ?? !0;
|
|
30
|
-
}, [a, r]);
|
|
31
|
-
return s.jsx(E, { options: d, onDone: u, onOption: (t, o) => {
|
|
32
|
-
o || f(t);
|
|
33
|
-
}, onValidateOption: $, cancelOption: m, defaultOption: g, autoFocusSel: v, ref: T, ...C, children: s.jsx(K, { sx: { paddingTop: (t) => t.spacing(1), paddingBottom: (t) => t.spacing(0) }, children: s.jsx(R, { sx: { paddingTop: (t) => t.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: s.jsx(W, { onFocus: (t) => {
|
|
34
|
-
b || t.target?.select(), j(!0);
|
|
35
|
-
}, type: S, label: P, helperText: D || " ", sx: { width: "100%", "& .MuiFormHelperText-root": { marginTop: (t) => t.spacing(0.5), color: H ? void 0 : "error.main" } }, InputLabelProps: { shrink: !0 }, InputProps: { inputProps: { placeholder: k, spellCheck: !1, autoComplete: "off", ...c, className: q("autoFocus", c?.className), sx: { paddingTop: (t) => t.spacing(1.25), paddingBottom: (t) => t.spacing(0.75), backgroundImage: `linear-gradient(${O("#fff", w(5))}, ${O("#fff", w(5))})` } } }, value: a, onChange: N, onKeyDown: M, onContextMenu: (t) => {
|
|
36
|
-
t.stopPropagation();
|
|
37
|
-
} }) }) }) });
|
|
38
|
-
}));
|
|
39
|
-
export {
|
|
40
|
-
U as default
|
|
41
|
-
};
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { a } from "./5dKHsl0r2V-JmyNP.js";
|
|
2
|
-
import { r as o } from "./BXHEwZhPbMaOdb_Z.js";
|
|
3
|
-
import { y as P, V as z, W as L, f as u, Z as O, z as A, A as E, d as n, _ as M, a0 as W, U as h, a1 as V, a2 as U, a3 as f, a4 as y } from "./Bqca9Nkofzm6UFZ1.js";
|
|
4
|
-
/**
|
|
5
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.6
|
|
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 J = o.memo((b) => {
|
|
11
|
-
const { title: w, onHide: j, autoFocusSel: S = ".range-input input", context: C, command: r, commands: c, ...N } = b, [R, d] = o.useState(!1), [g, m] = o.useState(!1), x = o.useRef(null), [Z, v] = o.useReducer((e) => e + 1, 0), [T, { width: _ }] = P();
|
|
12
|
-
z(r);
|
|
13
|
-
const s = C ?? r.context(), t = s.table(), [D, F] = o.useState(() => t ? s.getNames().getRanges(t.getRange()) : null), H = o.useMemo(() => t?.getName() ?? "", [t]);
|
|
14
|
-
L(s.table(), { onAnchorCoordsChange(e) {
|
|
15
|
-
F(s.getNames().getRanges(e.getRange()));
|
|
16
|
-
}, onProtectedChange(e) {
|
|
17
|
-
v();
|
|
18
|
-
} });
|
|
19
|
-
const B = u((e) => {
|
|
20
|
-
s?.table().setName(e);
|
|
21
|
-
}, [s]), I = u((e) => {
|
|
22
|
-
s?.table().resize(e.at(0));
|
|
23
|
-
}, [s]);
|
|
24
|
-
let p = null;
|
|
25
|
-
s.table() || (p = a.jsx("div", { style: { position: "absolute", top: "0", left: "0", width: "100%", height: "100%", opacity: 1, display: "flex", alignItems: "center", justifyItems: "center", justifyContent: "center", boxSizing: "border-box" }, children: a.jsx("div", { children: "No table selected" }) }));
|
|
26
|
-
const l = O();
|
|
27
|
-
return a.jsx(A, { ref: x, title: w ?? "Table Details", initialPosition: { y: "35" }, autoFocusSel: S, onHide: j, onFocus: () => d(!0), onBlur: (e) => {
|
|
28
|
-
x?.current?.contains(e.relatedTarget) || d(!1);
|
|
29
|
-
}, PaperProps: { elevation: R ? 3 : 1 }, ...N, children: a.jsxs(E, { dividers: !0, ref: T, sx: { display: "flex", flexDirection: "column", position: "relative", paddingLeft: (e) => e.spacing(1.5), paddingRight: (e) => e.spacing(1.5) }, children: [a.jsxs(n, { sx: { display: "flex", flexDirection: "column", transition: "opacity 60ms", opacity: s.table() ? 1 : 0 }, children: [a.jsx(n, { sx: { display: "flex", flexDirection: "row", gap: (e) => e.spacing(1) }, children: a.jsx(n, { sx: { display: "flex", flexDirection: "column", maxWidth: "100%", boxSizing: "border-box", paddingLeft: (e) => e.spacing(2), paddingRight: (e) => e.spacing(2) }, children: a.jsxs(n, { sx: { display: "flex", flexDirection: "column", alignItems: "center" }, children: [a.jsx(M, { formName: "name", defaultInput: H, value: t?.getName() ?? "No table", onChangeInput: B, onValidate: (e) => {
|
|
30
|
-
t && t.getName().toLowerCase() === e.toLowerCase() || s?.getNames().validateName(e);
|
|
31
|
-
}, disabled: t?.isProtected() ?? !0, onFocus: (e) => {
|
|
32
|
-
g || e.target?.select(), m(!0);
|
|
33
|
-
} }), a.jsx(W, { formName: "range", value: D, onChangeInput: I, resolvedAddress: s.getNames().getRanges.bind(s.getNames()), disabled: t?.isProtected() ?? !0, onFocus: (e) => {
|
|
34
|
-
g || e.target?.select(), m(!0);
|
|
35
|
-
} })] }) }) }), a.jsxs(n, { sx: { minHeight: "10px", flex: "1 1 100%", display: "flex", flexDirection: "column", gap: (e) => e.spacing(0.5), marginTop: (e) => e.spacing(1) }, children: [a.jsx(h, { orientation: "horizontal", sx: { marginTop: (e) => e.spacing(1.5), marginBottom: (e) => e.spacing(0.75) } }), a.jsx(V, { disabled: t?.isProtected(), styleOptions: t?.getStyleOptions() ?? null, onStyleOptionsChange: (e) => {
|
|
36
|
-
t.updateStyleOptions(e);
|
|
37
|
-
}, showHeaderRow: t?.getShowHeaders(), onShowHeaderRowChange: (e) => {
|
|
38
|
-
try {
|
|
39
|
-
t.setShowHeaders(e);
|
|
40
|
-
} catch (i) {
|
|
41
|
-
l.showError(i);
|
|
42
|
-
}
|
|
43
|
-
}, showTotalRow: t?.getShowTotals(), onShowTotalRowChange: (e) => {
|
|
44
|
-
try {
|
|
45
|
-
t.setShowTotals(e);
|
|
46
|
-
} catch (i) {
|
|
47
|
-
l.showError(i);
|
|
48
|
-
}
|
|
49
|
-
}, showFilterButton: t?.getFilter() ? t.getShowFilterButton() : null, onShowFilterButtonChange: (e) => {
|
|
50
|
-
try {
|
|
51
|
-
t.setShowFilterButton(e);
|
|
52
|
-
} catch (i) {
|
|
53
|
-
l.showError(i);
|
|
54
|
-
}
|
|
55
|
-
} }), a.jsx(n, { sx: { display: "flex", alignItems: "center", justifyContent: "center", flexDirection: "column", marginTop: (e) => e.spacing(2), marginBottom: (e) => e.spacing(1) }, children: a.jsx(U, { table: t, styles: s.styles(), bodyStyle: s.bodyStyle(), cellHeight: 30, isLive: !0 }) }), a.jsx(h, { orientation: "horizontal" }), a.jsxs(n, { sx: { display: "flex", flexDirection: "column", justifyContent: "center" }, children: [a.jsx(f, { variant: y.Menuitem, command: c.getCommand("convertTableToRange"), commandState: t }), a.jsx(f, { variant: y.Menuitem, commandState: t, command: c.getCommand("deleteTable") })] })] })] }), p] }) });
|
|
56
|
-
});
|
|
57
|
-
export {
|
|
58
|
-
J as TableDetailsWindow,
|
|
59
|
-
J as default
|
|
60
|
-
};
|