@sheetxl/studio-vanilla 0.4.12 → 0.4.14
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/README.md +2 -2
- package/browser/cjs/10IK8MFijJb-yvV6.cjs +7 -0
- package/browser/cjs/1bCMnueqxHW3rn0c.cjs +6 -0
- package/browser/cjs/AnJTeEGq7VP4T1b7.cjs +161 -0
- package/browser/cjs/BH3MYcOF7rxLX3Bk.cjs +15 -0
- package/browser/cjs/BQ4QeJYaIhLaInyR.cjs +6 -0
- package/browser/cjs/BU5k1OZewc-Z-kR9.cjs +6 -0
- package/browser/cjs/BlwK-VslgEVH2cgX.cjs +145 -0
- package/browser/cjs/Bm9fNNMIOLIwq-94.cjs +6 -0
- package/browser/cjs/BtiY-n4sGy6WaqNg.cjs +32 -0
- package/browser/cjs/BxgDhdrrKrJMEaXd.cjs +6 -0
- package/browser/cjs/BzT1y15V6Zs7c_zX.cjs +6 -0
- package/browser/cjs/C0ySf2emOB0Mslc-.cjs +6 -0
- package/browser/cjs/CE5U7gB5L-PE17gV.cjs +6 -0
- package/browser/cjs/CHd9vauNLHnOLflj.cjs +6 -0
- package/browser/cjs/CJZtyunL_qaXFylY.cjs +12 -0
- package/browser/cjs/CJoJ19i1z94kndlS.cjs +19 -0
- package/browser/cjs/CNcsGELwCAV-A5oH.cjs +16 -0
- package/browser/cjs/CTuM_aZX8wZICUe_.cjs +6 -0
- package/browser/cjs/CWW_yQpIswo7DEAT.cjs +6 -0
- package/browser/cjs/CXIHULOe7x4DYKXw.cjs +12 -0
- package/browser/cjs/CYLnJHryQcQO4XoG.cjs +6 -0
- package/browser/cjs/C_mbaid3FQ52usBI.cjs +6 -0
- package/browser/cjs/Cj_1qUo5cZ3FnOpK.cjs +6 -0
- package/browser/cjs/Cl0XSnWVDoaHTIlF.cjs +6 -0
- package/browser/cjs/CnLdhURNkVXo_0Eg.cjs +6 -0
- package/browser/cjs/CpIIsygD5mnJyl47.cjs +1501 -0
- package/browser/cjs/CpRfx14is2_4Wgp3.cjs +6 -0
- package/browser/cjs/Cuq8Nim-ol5Gdehe.cjs +6 -0
- package/browser/cjs/D4NcrJlqcLExwCNT.cjs +124 -0
- package/browser/cjs/D4vbOk4hD8-b-c10.cjs +6 -0
- package/browser/cjs/D5YUIQeOcujtq6XS.cjs +7 -0
- package/browser/cjs/D6uIvR-6Y690_Em2.cjs +11 -0
- package/browser/cjs/DAbScbuk-sjZXMIC.cjs +11 -0
- package/browser/cjs/DBNXGIWfZmgb_sHL.cjs +6 -0
- package/browser/cjs/DCd5OZXj2IRbxEF2.cjs +6 -0
- package/browser/cjs/DFNisISrsMnZrV4B.cjs +6 -0
- package/browser/cjs/DIYOARVcGtRjKpjZ.cjs +6 -0
- package/browser/cjs/DL4HgriZ3TY2K-QP.cjs +6 -0
- package/browser/cjs/DPbzY4ppgKPrdbWc.cjs +6 -0
- package/browser/cjs/DQGdVVTxixgptLdj.cjs +366 -0
- package/browser/cjs/DWzQm8Q32qNP7qKL.cjs +6 -0
- package/browser/cjs/D_7RtbQABH1zdcjr.cjs +7 -0
- package/browser/cjs/D_Q0s9KLnWHwKxTK.cjs +6 -0
- package/browser/cjs/DdTcwutSPJMeCIv3.cjs +6 -0
- package/browser/cjs/DlnKrZRyxBfbqaTi.cjs +13 -0
- package/browser/cjs/DtpB0PMEtamaB-Hv.cjs +6 -0
- package/browser/cjs/Dv8SE05ABKNLPY6A.cjs +6 -0
- package/browser/cjs/DxBLU16_E62Umowp.cjs +6 -0
- package/browser/cjs/VU_KaqGTjvnisS9e.cjs +6 -0
- package/browser/cjs/bS_BOH9cvVCFy36v.cjs +6 -0
- package/browser/cjs/dbUUj8LyIitsdYpk.cjs +6 -0
- package/browser/cjs/eZGLUWbfY3JdZRM5.cjs +6 -0
- package/browser/cjs/index.cjs +3 -4
- package/browser/cjs/mBk4Z4LZ65b3f58_.cjs +6 -0
- package/browser/cjs/rIOsSIPwxoXlIawS.cjs +6 -0
- package/browser/cjs/sMBG5eQ3-iacLXUm.cjs +6 -0
- package/browser/cjs/tShlMZrIxsGZSeHX.cjs +42 -0
- package/browser/cjs/xDqIifM_--oXscCV.cjs +6 -0
- package/browser/cjs/yBSdtSSuNERefFhR.cjs +15 -0
- package/browser/esm/4eRu4yzXkvCBip8J.mjs +10 -0
- package/browser/esm/73gcCsbqgbW3KIoA.mjs +1346 -0
- package/browser/esm/B383N9irNfyfYC2l.mjs +20 -0
- package/browser/esm/B4ji-HZTY0uvH8r7.mjs +10 -0
- package/browser/esm/B8TNpfJ8ymQcPriE.mjs +24 -0
- package/{cdn/assets/CiY3HumGDc_5bMtR.js → browser/esm/BBDu-GNDE7ZA-1sJ.mjs} +15 -17
- package/browser/esm/BF5nlSYZ38RJ0dPX.mjs +10 -0
- package/browser/esm/BHy77Km4i4t5U7ka.mjs +10 -0
- package/browser/esm/BIUVt79NHXdZx2Dz.mjs +10 -0
- package/browser/esm/BP6hA-zc0dMuMOIA.mjs +3755 -0
- package/browser/esm/BPen6C7JE2sWVgdi.mjs +10 -0
- package/browser/esm/BUqd1uVUNoWmepd2.mjs +148 -0
- package/browser/esm/BXABqQEa6kQQcjmt.mjs +820 -0
- package/browser/esm/BZxAttR2mi9td3k1.mjs +10 -0
- package/browser/esm/B_pEA9HeXKvEOCdS.mjs +10 -0
- package/browser/esm/BbW_1O3cEhZ4aSgS.mjs +55785 -0
- package/browser/esm/BdFNxdtES-3_yQ9R.mjs +421 -0
- package/browser/esm/BfFDvyaRcdKS0wPD.mjs +10 -0
- package/browser/esm/Bqqcb80cNalBs-sB.mjs +939 -0
- package/browser/esm/BrEcIDq0-c5AiQEf.mjs +21 -0
- package/browser/esm/BvYUsRgBXLSuaQ-S.mjs +10 -0
- package/browser/esm/BzE-61bmpRQzEVPt.mjs +10 -0
- package/browser/esm/C28AZ0Rwo79iGg0v.mjs +13208 -0
- package/browser/esm/C5GgK_mW25DZYw-I.mjs +2344 -0
- package/{cdn/assets/CfObTzh8pGdd8D23.js → browser/esm/CHjb5a2xwEWs4RgS.mjs} +505 -513
- package/browser/esm/CITPwlsNzJvv551I.mjs +10 -0
- package/browser/esm/CJiHNujoVUdO_G7X.mjs +46 -0
- package/browser/esm/CN73n4VDayKh_l1J.mjs +10 -0
- package/browser/esm/CcARDY0PFSWkqsG9.mjs +21 -0
- package/browser/esm/CeF0ZRfeSy83i80_.mjs +1575 -0
- package/browser/esm/Cmtx4dAVZrwq5cVO.mjs +10 -0
- package/browser/esm/Crza3kRJdEVylOfk.mjs +29 -0
- package/browser/esm/D3L89e08b7ewR6mt.mjs +21 -0
- package/browser/esm/D4G17ip9xxOX5jDd.mjs +3934 -0
- package/browser/esm/D9eVsUckA6bWBHni.mjs +10 -0
- package/browser/esm/DAscSzG63-mM5p50.mjs +41 -0
- package/browser/esm/DCyJNVtrh6kEt73Q.mjs +84 -0
- package/{cdn/assets/DWJE3K3jMKMTCi3o.js → browser/esm/DFwxjsVr4xKLPTGf.mjs} +65 -68
- package/browser/esm/DHPHhaCxihdR9Hl6.mjs +10 -0
- package/browser/esm/DKbJ-iVPuUbr3iZ_.mjs +47 -0
- package/browser/esm/DQLk_UmdpJBt-zZi.mjs +5582 -0
- package/browser/esm/DR7oVoNSe0FFWHOr.mjs +48 -0
- package/browser/esm/DVRMAeHUj0-TY-vK.mjs +10 -0
- package/browser/esm/DXIWAG-DUKHzNlRl.mjs +12 -0
- package/browser/esm/DbZJQpjZJIcz2ypV.mjs +39 -0
- package/browser/esm/Dft4BSeY0bp0A6z0.mjs +10 -0
- package/browser/esm/DgO85Q5iHe-ZmvtQ.mjs +633 -0
- package/browser/esm/DwRHGEuscm3FvnkM.mjs +1665 -0
- package/browser/esm/HyTvrvH0vItPFnFG.mjs +472 -0
- package/{cdn/assets/DgLPO_EQ9DYoGgec.js → browser/esm/Pkb6GWdyZdze_XAw.mjs} +174 -172
- package/browser/esm/QZikWr_NQfcFWCBV.mjs +44 -0
- package/browser/esm/aLv-xujBO4X6ilhV.mjs +10 -0
- package/{cdn/assets/DJQOS9qxVAlpgDMt.js → browser/esm/c9fba0RuWGogsH0X.mjs} +21 -23
- package/browser/esm/index.mjs +6 -2
- package/browser/esm/jkSJc6Omxbf-rPQY.mjs +10 -0
- package/browser/esm/uuCmCmYQQXgwyRSd.mjs +10 -0
- package/browser/esm/w3TGaFTjdsc4XTcz.mjs +1466 -0
- package/browser/esm/wV8riZWKJE7AoKQk.mjs +1365 -0
- package/browser/esm/wxvli1IH1NkfqE6-.mjs +10 -0
- package/cdn/assets/0fI22OQK5IczUH6s.js +29 -0
- package/cdn/assets/4eRu4yzXkvCBip8J.js +10 -0
- package/cdn/assets/5HYy7pIZxQRDUQl-.js +50 -0
- package/cdn/assets/6oc_f4xkoSmftsRd.js +22 -0
- package/cdn/assets/73gcCsbqgbW3KIoA.js +1346 -0
- package/cdn/assets/B3TPDOzYf_VRBIr6.js +2177 -0
- package/cdn/assets/B4HW_cy7gbE01jar.js +390 -0
- package/cdn/assets/B4ji-HZTY0uvH8r7.js +10 -0
- package/cdn/assets/B7Ky6m4VWP8vxhPt.js +1702 -0
- package/cdn/assets/B8TNpfJ8ymQcPriE.js +24 -0
- package/cdn/assets/BEfetwH6zTr6B51I.js +3755 -0
- package/cdn/assets/BF5nlSYZ38RJ0dPX.js +10 -0
- package/cdn/assets/BHy77Km4i4t5U7ka.js +10 -0
- package/cdn/assets/BIUVt79NHXdZx2Dz.js +10 -0
- package/cdn/assets/BPen6C7JE2sWVgdi.js +10 -0
- package/cdn/assets/BS1p7DgoyO-WkvB8.js +41 -0
- package/cdn/assets/BZxAttR2mi9td3k1.js +10 -0
- package/cdn/assets/B_pEA9HeXKvEOCdS.js +10 -0
- package/cdn/assets/BdFNxdtES-3_yQ9R.js +421 -0
- package/cdn/assets/BfFDvyaRcdKS0wPD.js +10 -0
- package/cdn/assets/{phYz0vGgqIEQ2hco.js → BiKaXKU3o287mgkN.js} +1 -1
- package/cdn/assets/BvYUsRgBXLSuaQ-S.js +10 -0
- package/cdn/assets/BzE-61bmpRQzEVPt.js +10 -0
- package/cdn/assets/C0yI-QYraFhnJUdD.js +49 -0
- package/cdn/assets/C28AZ0Rwo79iGg0v.js +13208 -0
- package/cdn/assets/{qA23x9VVBL9R4qxN.js → C3FTuqvfGalOVHql.js} +9 -9
- package/cdn/assets/{BSAH88RG1oubICau.js → C3W0xsNrt-Was9g-.js} +26 -26
- package/cdn/assets/C8rQWD8C7ccUHNZL.js +3934 -0
- package/cdn/assets/CITPwlsNzJvv551I.js +10 -0
- package/cdn/assets/CN73n4VDayKh_l1J.js +10 -0
- package/cdn/assets/CWkF-50YF43t7qge.js +472 -0
- package/cdn/assets/{Bv0Xb6DdcQbPYJKo.js → CaKPs_ILqLIWfUUN.js} +10 -11
- package/cdn/assets/CcARDY0PFSWkqsG9.js +21 -0
- package/cdn/assets/Cdx6LrqtHZKbwl63.js +425 -0
- package/cdn/assets/ChB-XZno7w9v221u.js +1575 -0
- package/cdn/assets/CkY7wM_4OGwZvJ4f.js +942 -0
- package/cdn/assets/Cmtx4dAVZrwq5cVO.js +10 -0
- package/cdn/assets/{dk2teWHDODYNarJY.js → CrBywNOOyPHSBoTT.js} +4 -4
- package/cdn/assets/D9eVsUckA6bWBHni.js +10 -0
- package/cdn/assets/DBpku3D2DSTmW4II.js +820 -0
- package/cdn/assets/DEOxG6u6itV8bGym.js +2346 -0
- package/cdn/assets/DHPHhaCxihdR9Hl6.js +10 -0
- package/cdn/assets/DMWARnjq06oQnfrL.js +58 -0
- package/cdn/assets/{BoOefjrM4kZ-YXxa.js → DRa6yXWuTlAjuaKT.js} +2 -2
- package/cdn/assets/DVRMAeHUj0-TY-vK.js +10 -0
- package/cdn/assets/DXIWAG-DUKHzNlRl.js +12 -0
- package/cdn/assets/{B3kbBB6oxKBErwzn.js → DYowHOSLHcADsXuK.js} +3 -3
- package/cdn/assets/{DkS6quwH1okWaho6.js → DZNoPrlxULASVlOi.js} +14 -14
- package/cdn/assets/{BB66NDz7S3ocEfRB.js → DaUJajqmQYuM0Gew.js} +51 -51
- package/cdn/assets/DcdQwhlGoI1knRUy.js +46 -0
- package/cdn/assets/Dft4BSeY0bp0A6z0.js +10 -0
- package/cdn/assets/DgO85Q5iHe-ZmvtQ.js +633 -0
- package/cdn/assets/{DDW1WJ2IM_9ZUfKm.js → Dm0hrXCbV7DITOhi.js} +2 -2
- package/cdn/assets/DnWjhq4ZlgIuFcii.js +21 -0
- package/cdn/assets/DwRHGEuscm3FvnkM.js +1665 -0
- package/cdn/assets/{BT5EcMEFBsphczwC.js → DzyNujjbHLXo9UmH.js} +565 -568
- package/cdn/assets/EYTSqAG9YOdb1vKx.js +48823 -0
- package/cdn/assets/{D_5RgqgwXsoqLJDR.js → Ux2jUY_EwSsYBCov.js} +1 -1
- package/cdn/assets/{DfmaL8DmDaFAv8M_.js → XoKiuP2ZFq0cNGkH.js} +4 -4
- package/cdn/assets/Zi3E5Kzxw2FPtLVL.js +5582 -0
- package/cdn/assets/aLv-xujBO4X6ilhV.js +10 -0
- package/cdn/assets/jkSJc6Omxbf-rPQY.js +10 -0
- package/cdn/assets/uuCmCmYQQXgwyRSd.js +10 -0
- package/cdn/assets/wV8riZWKJE7AoKQk.js +1365 -0
- package/cdn/assets/wxvli1IH1NkfqE6-.js +10 -0
- package/cdn/index.js +2 -2
- package/cdn/loader.js +1 -1
- package/package.json +3 -5
- package/types/index.d.ts +1 -0
- package/browser/cjs/B35OZ0mE8aINQPP9.cjs +0 -7
- package/browser/cjs/BPzEQNENF-gEBkg9.cjs +0 -7
- package/browser/cjs/BUokV6yuzE-_8MyK.cjs +0 -7
- package/browser/cjs/BeZHmOKfa37mFNAu.cjs +0 -7
- package/browser/cjs/BflJ_0gT9lQtDvY_.cjs +0 -7
- package/browser/cjs/BwN8vKi5o3-PbIMo.cjs +0 -7
- package/browser/cjs/C3OizZPVuxO2fjSG.cjs +0 -7
- package/browser/cjs/CBL6KkiWI2RPflEN.cjs +0 -7
- package/browser/cjs/CN6-6xpZMpFqSS8M.cjs +0 -7
- package/browser/cjs/CTrEV_UpxC0W6cZZ.cjs +0 -7
- package/browser/cjs/CU30GVjjFXl44vEU.cjs +0 -7
- package/browser/cjs/CZWBxvUXzfpn_zmc.cjs +0 -7
- package/browser/cjs/Ccs2ouvlLekaLGH0.cjs +0 -7
- package/browser/cjs/Ce-8L4Viq3I_6j0i.cjs +0 -7
- package/browser/cjs/CtNjLzIHB8WX63Bl.cjs +0 -7
- package/browser/cjs/DAHpsyykuPBkoh-Z.cjs +0 -7
- package/browser/cjs/DJbKKxeeTEHHA1gR.cjs +0 -107
- package/browser/cjs/D_VQzwC1zzTJyKtG.cjs +0 -7
- package/browser/cjs/GrsZZ_mEdsM5dEMA.cjs +0 -7
- package/browser/cjs/JKEGlXjMwGnXk_Gv.cjs +0 -7
- package/browser/cjs/L1iE_VcelYZIy0wI.cjs +0 -7
- package/browser/cjs/Q_VvA-yUQx3xFKiJ.cjs +0 -7
- package/browser/cjs/fTGpiXzFm3K_u2Fm.cjs +0 -7
- package/browser/cjs/hwDUzorB6aCvH1eL.cjs +0 -7
- package/browser/cjs/no5c2H18QD2qmOH6.cjs +0 -7
- package/browser/esm/B4Mm5gczpI_k2zzN.mjs +0 -7
- package/browser/esm/B8ISUdOxsJMYWzNN.mjs +0 -7
- package/browser/esm/BnJiF38TGudjoHzT.mjs +0 -7
- package/browser/esm/Bts4nCgfCAUpTfxz.mjs +0 -7
- package/browser/esm/C3cyAbIH8Qc8MIFN.mjs +0 -107
- package/browser/esm/C4jlaVv8bELgiHyE.mjs +0 -7
- package/browser/esm/CYIhGb86r-kKOrP5.mjs +0 -7
- package/browser/esm/CcpskguvlvemArQn.mjs +0 -7
- package/browser/esm/CeRfALx1iU5fqOUg.mjs +0 -7
- package/browser/esm/CfYWmP_Hots5f0f6.mjs +0 -7
- package/browser/esm/CkarbqNx_lhlBnw7.mjs +0 -7
- package/browser/esm/D2PlWNQjrTgf6GuR.mjs +0 -7
- package/browser/esm/D3KNxvnrwR6_fTJE.mjs +0 -7
- package/browser/esm/DIJyH94oCzUnlcNZ.mjs +0 -7
- package/browser/esm/DVAG1NxFe3cMjLE1.mjs +0 -7
- package/browser/esm/DVqga7g7j0FUiM6p.mjs +0 -7
- package/browser/esm/DcX8yGEBX6qi9RCe.mjs +0 -7
- package/browser/esm/DeXfOSxGE_Ez7DZq.mjs +0 -7
- package/browser/esm/DzgM_rkwyIHsCb6I.mjs +0 -7
- package/browser/esm/M4hZ25330e96seUM.mjs +0 -7
- package/browser/esm/Qp2Toeh_EbJH_f_6.mjs +0 -7
- package/browser/esm/SAyRTPVprOHZ8Up8.mjs +0 -7
- package/browser/esm/_ft7JYO6QdDbIu3d.mjs +0 -7
- package/browser/esm/dpdy0BU4GGI5lZrX.mjs +0 -7
- package/browser/esm/oLCocGFRAwsVsOSE.mjs +0 -7
- package/cdn/assets/7_O6nILzn1fSVvkO.js +0 -13449
- package/cdn/assets/BCK7yhx9JfzU2rF0.js +0 -22
- package/cdn/assets/BcWoqhD_sX85c7Mh.js +0 -1701
- package/cdn/assets/BtweFYnoj_aEfydW.js +0 -1371
- package/cdn/assets/CC-S4NMYhLg3WgqO.js +0 -3875
- package/cdn/assets/CJhyHcQcrhbtC33r.js +0 -50
- package/cdn/assets/CUc6gRjjRGTFWSHD.js +0 -50
- package/cdn/assets/CpPLN0-hDsTIFHZV.js +0 -46
- package/cdn/assets/Cq94woVmlxhjWVRI.js +0 -21
- package/cdn/assets/CsjftXmSYQRHNKdq.js +0 -41
- package/cdn/assets/DBL4jY0AVc53RGNm.js +0 -637
- package/cdn/assets/DxMu6URURFWj9aXM.js +0 -2373
- package/cdn/assets/Jhm2DAcrfAqiM-Y-.js +0 -26490
- package/cdn/assets/MRBi3juXAW0lA_mj.js +0 -1358
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.14
|
|
3
|
+
*
|
|
4
|
+
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
|
+
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
+
*/
|
|
7
|
+
const e = { ENCODEURL: { s: "Returns a URL-encoded string", p: { text: { d: "is a string to be URL encoded" } } }, WEBSERVICE: { s: "Retrieves data from a web service.", p: { url: { d: "is the URL of the web service" } } } };
|
|
8
|
+
export {
|
|
9
|
+
e as default
|
|
10
|
+
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { a } from "./Dm0hrXCbV7DITOhi.js";
|
|
2
|
+
import { r as o } from "./CrBywNOOyPHSBoTT.js";
|
|
3
|
+
import { bk as z, ap as O, bl as E, bm as M, a7 as u, b9 as A, ba as W, B as n, bn as k, bo as q, aN as h, bp as J, bq as K, aJ as b, aK as f, aL as y, br as j } from "./EYTSqAG9YOdb1vKx.js";
|
|
4
|
+
/**
|
|
5
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.14
|
|
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 Y = o.memo((w) => {
|
|
11
|
+
const { title: S, onHide: C, autoFocusSel: N = ".range-input input", context: R, notifier: l = z, command: r, commands: c, ...v } = w, [T, d] = o.useState(!1), [g, m] = o.useState(!1), x = o.useRef(null), [V, D] = o.useReducer((e) => e + 1, 0), [F, { width: G }] = O();
|
|
12
|
+
E(r);
|
|
13
|
+
const s = R ?? r.context(), t = s.table(), [B, H] = o.useState(() => t ? s.getNames().getRanges(t.getRange()) : null), I = o.useMemo(() => t?.getName() ?? "", [t]);
|
|
14
|
+
M(s.table(), { onAnchorCoordsChange(e) {
|
|
15
|
+
H(s.getNames().getRanges(e.getRange()));
|
|
16
|
+
}, onProtectedChange(e) {
|
|
17
|
+
D();
|
|
18
|
+
} });
|
|
19
|
+
const P = u((e) => {
|
|
20
|
+
s?.table().setName(e);
|
|
21
|
+
}, [s]), L = u((e) => {
|
|
22
|
+
s?.table().resize(e.at(0));
|
|
23
|
+
}, [s]);
|
|
24
|
+
let p = null;
|
|
25
|
+
return 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" }) })), a.jsx(A, { ref: x, title: S ?? "Table Details", initialPosition: { y: "35" }, autoFocusSel: N, onHide: C, onFocus: () => d(!0), onBlur: (e) => {
|
|
26
|
+
x?.current?.contains(e.relatedTarget) || d(!1);
|
|
27
|
+
}, PaperProps: { elevation: T ? 3 : 1 }, ...v, children: a.jsxs(W, { dividers: !0, ref: F, 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(k, { formName: "name", defaultInput: I, value: t?.getName() ?? "No table", onChangeInput: P, 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(q, { formName: "range", value: B, onChangeInput: L, resolvedAddress: s.getNames().getRanges.bind(s.getNames()), disabled: t?.isProtected() ?? !0, onFocus: (e) => {
|
|
32
|
+
g || e.target?.select(), m(!0);
|
|
33
|
+
} })] }) }) }), 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(J, { 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(n, { sx: { display: "flex", alignItems: "center", justifyContent: "center", flexDirection: "column", marginTop: (e) => e.spacing(2), marginBottom: (e) => e.spacing(1) }, children: a.jsx(K, { 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(b, { variant: y.Menuitem, command: c.getCommand("convertTableToRange"), commandState: t, icon: f(a.jsx(j, {})) }), a.jsx(b, { variant: y.Menuitem, commandState: t, command: c.getCommand("deleteTable"), icon: f(a.jsx(j, {})) })] })] })] }), p] }) });
|
|
54
|
+
});
|
|
55
|
+
export {
|
|
56
|
+
Y as TableDetailsWindow,
|
|
57
|
+
Y as default
|
|
58
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as m } from "./
|
|
1
|
+
import { r as m } from "./Ux2jUY_EwSsYBCov.js";
|
|
2
2
|
/**
|
|
3
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.
|
|
3
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.14
|
|
4
4
|
*
|
|
5
5
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
6
6
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.14
|
|
3
|
+
*
|
|
4
|
+
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
|
+
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
+
*/
|
|
7
|
+
const e = { DELAY: { s: "Returns the input value after a delay.", p: { time: { d: "the delay time in milliseconds. Default is 1000ms (1 second)." }, input: { d: "returns the input." }, label: { d: "optional label for the delay function.", v: "No label" } }, h: "Testing" }, WAIT: { s: "Starts waiting for event", p: { type: { d: "the type of message." }, input: { d: "an optional dependency." } }, h: "Testing" } };
|
|
8
|
+
export {
|
|
9
|
+
e as default
|
|
10
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.14
|
|
3
|
+
*
|
|
4
|
+
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
|
+
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
+
*/
|
|
7
|
+
async function t() {
|
|
8
|
+
return window.crypto;
|
|
9
|
+
}
|
|
10
|
+
export {
|
|
11
|
+
t as getCrypto
|
|
12
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { g as s } from "./
|
|
2
|
-
import { r as f } from "./
|
|
1
|
+
import { g as s } from "./BiKaXKU3o287mgkN.js";
|
|
2
|
+
import { r as f } from "./DRa6yXWuTlAjuaKT.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.14
|
|
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.
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $ as y, a as C } from "./EYTSqAG9YOdb1vKx.js";
|
|
2
2
|
/**
|
|
3
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.
|
|
3
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.14
|
|
4
4
|
*
|
|
5
5
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
6
6
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
7
7
|
*/
|
|
8
|
-
const
|
|
9
|
-
const { trimLeadingBlankRow: i = !0, trimLeadingBlankColumn: f = !0, excludeHidden: h = !1, sheetKey:
|
|
8
|
+
const k = async (a, p) => {
|
|
9
|
+
const { trimLeadingBlankRow: i = !0, trimLeadingBlankColumn: f = !0, excludeHidden: h = !1, sheetKey: o = null, papaParseConfig: m = {} } = p || {}, u = await import("./BdFNxdtES-3_yQ9R.js").then((s) => s.p);
|
|
10
10
|
if (!a) throw new Error("workbook must be specified");
|
|
11
11
|
let t = null;
|
|
12
|
-
if (
|
|
12
|
+
if (o === null ? t = a.getSelectedSheet() : typeof o == "number" ? t = a.getSheets().search()[o] : typeof o == "string" && (t = a.getSheets().getByName(o)), !t) throw new Error("invalid sheetKey specified");
|
|
13
13
|
let c = null;
|
|
14
14
|
const d = [];
|
|
15
15
|
let e = null, n = t.getUsedRange({ excludeHidden: h });
|
|
@@ -24,23 +24,23 @@ const E = async (a, p) => {
|
|
|
24
24
|
const S = x.toTextUnformatted() ?? "";
|
|
25
25
|
e.push(S);
|
|
26
26
|
}, { includeEmpty: !0, address: null }), e && d.push(e);
|
|
27
|
-
const
|
|
27
|
+
const r = { ...m }, g = u.unparse(d, r);
|
|
28
28
|
return new TextEncoder().encode(g).buffer;
|
|
29
29
|
}, b = async (a, p) => {
|
|
30
|
-
const { papaParseConfig: i, setValuesOptions: f, createWorkbookOptions: h } = p ?? {},
|
|
30
|
+
const { papaParseConfig: i, setValuesOptions: f, createWorkbookOptions: h } = p ?? {}, o = await import("./BdFNxdtES-3_yQ9R.js").then((r) => r.p), m = new TextDecoder().decode(a);
|
|
31
31
|
let u = -1;
|
|
32
|
-
const t = new y(h), c = t.getSelectedSheet().getEntireRange().startIncrementalUpdates({ orientation:
|
|
32
|
+
const t = new y(h), c = t.getSelectedSheet().getEntireRange().startIncrementalUpdates({ orientation: C.Orientation.Row }), d = p?.onProgress;
|
|
33
33
|
let e = 0;
|
|
34
|
-
const n = { ...i, transform: (
|
|
35
|
-
i?.transform && (
|
|
34
|
+
const n = { ...i, transform: (r, g) => {
|
|
35
|
+
i?.transform && (r = i.transform(r, g));
|
|
36
36
|
const s = g;
|
|
37
37
|
s === 0 && u++;
|
|
38
|
-
let l =
|
|
39
|
-
return c.pushAt(u, s, l), e++, e % 1e5 == 0 && d?.(e),
|
|
38
|
+
let l = r ?? "";
|
|
39
|
+
return c.pushAt(u, s, l), e++, e % 1e5 == 0 && d?.(e), r;
|
|
40
40
|
} };
|
|
41
|
-
return
|
|
41
|
+
return o.parse(m, n).data, c.apply({ textParser: !0, ...f }), t;
|
|
42
42
|
};
|
|
43
43
|
export {
|
|
44
44
|
b as fromBufferCSV,
|
|
45
|
-
|
|
45
|
+
k as toBufferCSV
|
|
46
46
|
};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { a as t } from "./
|
|
2
|
-
import { r as o } from "./
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { a as t } from "./Dm0hrXCbV7DITOhi.js";
|
|
2
|
+
import { r as o } from "./CrBywNOOyPHSBoTT.js";
|
|
3
|
+
import { a5 as E, b8 as p, a as y, a7 as B, b3 as le, ap as ae, b9 as re, ba as ce, B as b, bb as g, aK as m, bc as pe, aB as O, bd as de, g as Q, h as R, be as ue, bf as fe, bg as xe, bh as ge, b6 as v, bi as me, bj as he, aN as be, b7 as Oe, f as je, b4 as Ce, b5 as ye } from "./EYTSqAG9YOdb1vKx.js";
|
|
4
|
+
import { C as Y } from "./CkY7wM_4OGwZvJ4f.js";
|
|
5
5
|
/**
|
|
6
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.
|
|
6
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.14
|
|
7
7
|
*
|
|
8
8
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
9
9
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
10
10
|
*/
|
|
11
|
-
const Re = E(t.jsx("path", { d: "M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z" }), "ArrowBack"), ve = E(t.jsx("path", { d: "m20 12-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8z" }), "ArrowDownward"), Te = E(t.jsx("path", { d: "m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z" }), "ArrowForward"), ke = E(t.jsx("path", { d: "m4 12 1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8z" }), "ArrowUpward"),
|
|
12
|
-
const { label: h, value: c, options: l, onSelect: d, tabIndex:
|
|
11
|
+
const Re = E(t.jsx("path", { d: "M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z" }), "ArrowBack"), ve = E(t.jsx("path", { d: "m20 12-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8z" }), "ArrowDownward"), Te = E(t.jsx("path", { d: "m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z" }), "ArrowForward"), ke = E(t.jsx("path", { d: "m4 12 1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8z" }), "ArrowUpward"), A = o.memo((T) => {
|
|
12
|
+
const { label: h, value: c, options: l, onSelect: d, tabIndex: j = 0, ...F } = T, [I, C] = o.useState(() => ee(c, l));
|
|
13
13
|
o.useEffect(() => {
|
|
14
|
-
|
|
14
|
+
C(ee(c, l));
|
|
15
15
|
}, [c, l]);
|
|
16
|
-
const
|
|
17
|
-
|
|
18
|
-
}, [d, l]), a = o.useMemo(() => Object.keys(l).map((u) => t.jsx(
|
|
19
|
-
return t.jsxs(
|
|
16
|
+
const L = B((u) => {
|
|
17
|
+
C(u.target.value), d?.(l[u.target.value]);
|
|
18
|
+
}, [d, l]), a = o.useMemo(() => Object.keys(l).map((u) => t.jsx(Oe, { value: u, children: u }, u)), [l]);
|
|
19
|
+
return t.jsxs(je, { sx: { minWidth: 135 }, size: "small", children: [t.jsx(Ce, { children: h }), t.jsx(ye, { inputProps: { tabIndex: j }, value: I, label: h, onChange: L, sx: { backgroundImage: `linear-gradient(${R("#fff", v(5))}, ${R("#fff", v(5))})` }, ...F, children: a })] });
|
|
20
20
|
}), Z = { Workbook: "workbook", Sheet: "sheet" }, _ = { enter: 140, exit: 140 }, ne = { Formulas: p.Content.Formulas, Values: p.Content.Values, Notes: p.Content.Notes, Comments: p.Content.Comments }, te = { ...ne };
|
|
21
21
|
delete te.Values;
|
|
22
22
|
const Se = { "By Rows": !0, "By Columns": !1 }, ee = (T, h) => {
|
|
@@ -25,45 +25,45 @@ const Se = { "By Rows": !0, "By Columns": !1 }, ee = (T, h) => {
|
|
|
25
25
|
const d = c[l];
|
|
26
26
|
if (h[d] === T) return d;
|
|
27
27
|
}
|
|
28
|
-
},
|
|
29
|
-
const { replace: h = !1, findText: c, replaceText: l, findOptions: d, replaceOptions:
|
|
28
|
+
}, Le = o.memo((T) => {
|
|
29
|
+
const { replace: h = !1, findText: c, replaceText: l, findOptions: d, replaceOptions: j, title: F, onHide: I, onFindOrReplace: C, ...L } = T, a = o.useRef(null), u = o.useRef(null), M = o.useRef(null), V = o.useRef(null), z = o.useRef(null), H = o.useRef(null), $ = (e, n) => {
|
|
30
30
|
n && (n.start(e, { center: !1 }), setTimeout(() => n.stop(e), 180));
|
|
31
|
-
}, [
|
|
32
|
-
if (!
|
|
31
|
+
}, [N, w] = o.useState(!1), [D, se] = o.useState(!1), [f, K] = o.useState(h), [W, P] = o.useState(!1), [U, G] = o.useState(!1), [i, r] = o.useState({ findText: null, replaceText: null, replace: h, replaceOptions: {}, findOptions: { matchCase: !1, matchEntireCell: !1, useRegex: !1, orientation: y.Orientation.Row, fields: [p.Content.Formulas] }, scope: Z.Sheet }), k = B(async (e, n, s, S) => {
|
|
32
|
+
if (!C) return;
|
|
33
33
|
const x = { ...i };
|
|
34
34
|
x.replaceOptions = { ...x.replaceOptions }, x.findOptions = { ...x.findOptions }, x.replaceOptions.maxCount = s ? void 0 : 1, x.replace = n, n && i.findOptions.fields?.[0] === p.Content.Values && (x.findOptions.fields = [p.Content.Formulas]), x.findOptions.reverse = !e;
|
|
35
|
-
const oe = await
|
|
36
|
-
|
|
37
|
-
}, [i,
|
|
35
|
+
const oe = await C({ autoFocus: S, ...x });
|
|
36
|
+
P(oe === 0);
|
|
37
|
+
}, [i, C]);
|
|
38
38
|
o.useEffect(() => {
|
|
39
|
-
|
|
40
|
-
}, [i,
|
|
41
|
-
const
|
|
39
|
+
P(!1);
|
|
40
|
+
}, [i, D, f]);
|
|
41
|
+
const X = B((e, n) => {
|
|
42
42
|
if (e.keyCode === le.Enter) {
|
|
43
43
|
if (!i.findText) return;
|
|
44
44
|
let s = !0, S = !1;
|
|
45
|
-
e.shiftKey && (s = !1), n ? (e.ctrlKey && e.altKey && (S = !0),
|
|
45
|
+
e.shiftKey && (s = !1), n ? (e.ctrlKey && e.altKey && (S = !0), $(e, S ? H.current : z.current)) : $(e, s ? V.current : M.current), k(s, n, S, !1);
|
|
46
46
|
}
|
|
47
47
|
}, [i]), q = o.useRef(null);
|
|
48
48
|
o.useLayoutEffect(() => {
|
|
49
49
|
r((e) => {
|
|
50
50
|
const n = { ...e };
|
|
51
|
-
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 }),
|
|
52
|
-
const s = !(!
|
|
53
|
-
return s &&
|
|
51
|
+
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 }), j && (n.replaceOptions = { ...n.replaceOptions, ...j }), i.findOptions.fields?.[0] || (i.findOptions.fields = [p.Content.Formulas]);
|
|
52
|
+
const s = !(!j && l === void 0);
|
|
53
|
+
return s && K(s), n;
|
|
54
54
|
}), U || q.current?.focus();
|
|
55
|
-
}, [c, l, d,
|
|
55
|
+
}, [c, l, d, j]), o.useEffect(() => {
|
|
56
56
|
f ? (i.findOptions.fields[0], p.Content.Values) : w(!0);
|
|
57
57
|
}, [f]), o.useEffect(() => {
|
|
58
|
-
if (
|
|
58
|
+
if (N && a.current && i.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", () => {
|
|
59
59
|
a.current?.select(), w(!1);
|
|
60
60
|
}, { once: !0 });
|
|
61
|
-
}, [
|
|
61
|
+
}, [N, i]);
|
|
62
62
|
const [ie, { width: J }] = ae();
|
|
63
|
-
return t.jsx(re, { ref: q, title: F ?? (f ? "Find & Replace" : "Find"), initialPosition: { y: "35" }, autoFocusSel: ".input", onHide: I, onFocus: () =>
|
|
64
|
-
|
|
65
|
-
}, PaperProps: { elevation: U ? 3 : 1 }, ...
|
|
66
|
-
if (e.key === "h" && e.ctrlKey)
|
|
63
|
+
return t.jsx(re, { ref: q, title: F ?? (f ? "Find & Replace" : "Find"), initialPosition: { y: "35" }, autoFocusSel: ".input", onHide: I, onFocus: () => G(!0), onBlur: () => {
|
|
64
|
+
G(!1), P(!1);
|
|
65
|
+
}, PaperProps: { elevation: U ? 3 : 1 }, ...L, children: t.jsxs(ce, { dividers: !0, ref: ie, sx: { display: "flex", flexDirection: "column", paddingLeft: (e) => e.spacing(1.5), paddingRight: (e) => e.spacing(1.5) }, onKeyDown: (e) => {
|
|
66
|
+
if (e.key === "h" && e.ctrlKey) K(!0), a.current?.contains(document.activeElement) && u.current?.focus();
|
|
67
67
|
else if (e.key === "f" && e.ctrlKey) a.current?.focus();
|
|
68
68
|
else if (e.key === "c" && e.altKey) r((n) => {
|
|
69
69
|
const s = { ...n };
|
|
@@ -81,62 +81,62 @@ const Se = { "By Rows": !0, "By Columns": !1 }, ee = (T, h) => {
|
|
|
81
81
|
});
|
|
82
82
|
}
|
|
83
83
|
e.preventDefault();
|
|
84
|
-
}, children: [t.jsxs(
|
|
84
|
+
}, children: [t.jsxs(b, { sx: { display: "flex", flexDirection: "row", gap: (e) => e.spacing(1) }, children: [t.jsxs(b, { sx: { display: "flex", flexDirection: "row", alignItems: "start", gap: (e) => e.spacing(0.25), paddingTop: "3px" }, children: [t.jsx(g, { selected: D, onSelectToggle: (e) => {
|
|
85
85
|
se(e);
|
|
86
86
|
}, preventFocus: !0, label: "Toggle Additional Options", icon: m(t.jsx(pe, {})) }), t.jsx(g, { selected: f, onSelectToggle: (e) => {
|
|
87
|
-
|
|
88
|
-
}, preventFocus: !0, label: "Toggle Replace", icon: m(t.jsx(de, {})), shortcut: { key: f ? "F" : "H", modifiers: [
|
|
87
|
+
K(e);
|
|
88
|
+
}, preventFocus: !0, label: "Toggle Replace", icon: m(t.jsx(de, {})), shortcut: { key: f ? "F" : "H", modifiers: [O.Ctrl] } })] }), t.jsxs(b, { sx: { display: "flex", flexDirection: "column", maxWidth: "100%", boxSizing: "border-box" }, children: [t.jsxs(b, { sx: { display: "flex", flexDirection: "row", alignItems: "center" }, children: [t.jsx(Q, { label: "Find", InputLabelProps: { shrink: !0 }, InputProps: { sx: { paddingRight: (e) => e.spacing(1), minWidth: J > 460 ? "20em" : void 0, backgroundImage: `linear-gradient(${R("#fff", v(5))}, ${R("#fff", v(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: t.jsx(ue, { sx: { transform: "scale(0.75) translateX(16px)" }, position: "end", children: t.jsxs(b, { sx: { display: "flex", alignItems: "center", flexDirection: "row", gap: "1px" }, children: [t.jsx(g, { selected: i.findOptions.matchCase, onSelectToggle: (e) => {
|
|
89
89
|
r((n) => {
|
|
90
90
|
const s = { ...n };
|
|
91
91
|
return s.findOptions.matchCase = e, s;
|
|
92
92
|
});
|
|
93
|
-
}, label: "Match Case", shortcut: { key: "C", modifiers: [
|
|
93
|
+
}, label: "Match Case", shortcut: { key: "C", modifiers: [O.Alt] }, icon: m(t.jsx(fe, {})) }), t.jsx(g, { selected: i.findOptions.matchEntireCell, onSelectToggle: (e) => {
|
|
94
94
|
r((n) => {
|
|
95
95
|
const s = { ...n };
|
|
96
96
|
return s.findOptions.matchEntireCell = e, s;
|
|
97
97
|
});
|
|
98
|
-
}, label: "Match Entire Cell", shortcut: { key: "E", modifiers: [
|
|
98
|
+
}, label: "Match Entire Cell", shortcut: { key: "E", modifiers: [O.Alt] }, icon: m(t.jsx(xe, {})) }), t.jsx(g, { selected: i.findOptions.useRegex, onSelectToggle: (e) => {
|
|
99
99
|
r((n) => {
|
|
100
100
|
const s = { ...n };
|
|
101
101
|
return s.findOptions.useRegex = e, s;
|
|
102
102
|
});
|
|
103
|
-
}, label: "Use Regular Expression", shortcut: { key: "R", modifiers: [
|
|
103
|
+
}, label: "Use Regular Expression", shortcut: { key: "R", modifiers: [O.Alt] }, icon: m(t.jsx(ge, {})) })] }) }) }, sx: { flex: "1 1 100%", marginRight: (e) => e.spacing(1), "& .MuiOutlinedInput-notchedOutline": { borderColor: (e) => W ? `${e.palette.error.main} !important` : void 0 }, "& .MuiInputLabel-outlined": { color: (e) => W ? `${e.palette.error.main} !important` : void 0 } }, value: i.findText ?? "", onChange: (e) => {
|
|
104
104
|
r((n) => {
|
|
105
105
|
const s = { ...n };
|
|
106
106
|
return s.findText = e.target.value, s;
|
|
107
107
|
});
|
|
108
|
-
}, onKeyDown: (e) =>
|
|
108
|
+
}, onKeyDown: (e) => X(e, !1), onContextMenu: (e) => {
|
|
109
109
|
e.stopPropagation();
|
|
110
110
|
} }), t.jsx(g, { selected: i.findOptions.reverse, onSelectToggle: (e) => {
|
|
111
111
|
k(!1, !1);
|
|
112
|
-
}, touchRippleRef: M, label: "", shortcut: { key: "Enter", modifiers: [
|
|
112
|
+
}, touchRippleRef: M, label: "", shortcut: { key: "Enter", modifiers: [O.Shift] }, icon: m(i.findOptions.orientation !== y.Orientation.Column ? t.jsx(Re, {}) : t.jsx(ke, {})), disabled: !i.findText }), t.jsx(g, { selected: !i.findOptions.reverse, onSelectToggle: (e) => {
|
|
113
113
|
k(!0, !1);
|
|
114
|
-
}, touchRippleRef:
|
|
114
|
+
}, touchRippleRef: V, label: "Next Match", shortcut: { key: "Enter" }, icon: m(i.findOptions.orientation !== y.Orientation.Column ? t.jsx(Te, {}) : t.jsx(ve, {})), disabled: !i.findText })] }), t.jsx(Y, { in: f, timeout: _, onExit: () => {
|
|
115
115
|
a.current?.focus();
|
|
116
|
-
}, children: t.jsxs(
|
|
116
|
+
}, children: t.jsxs(b, { sx: { display: "flex", flexDirection: "row", alignItems: "center", marginTop: (e) => e.spacing(2) }, children: [t.jsx(Q, { label: "Replace", InputLabelProps: { shrink: !0 }, InputProps: { sx: { paddingRight: (e) => e.spacing(1), backgroundImage: `linear-gradient(${R("#fff", v(5))}, ${R("#fff", v(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: i.replaceText ?? "", onChange: (e) => {
|
|
117
117
|
r((n) => {
|
|
118
118
|
const s = { ...n };
|
|
119
119
|
return s.replaceText = e.target.value, s;
|
|
120
120
|
});
|
|
121
|
-
}, onKeyDown: (e) =>
|
|
121
|
+
}, onKeyDown: (e) => X(e, !0), onContextMenu: (e) => {
|
|
122
122
|
e.stopPropagation();
|
|
123
123
|
} }), t.jsx(g, { onSelectToggle: (e) => {
|
|
124
124
|
k(!0, !0);
|
|
125
125
|
}, touchRippleRef: z, label: "Replace", shortcut: { key: "Enter" }, icon: m(t.jsx(me, {})), disabled: !i.findText }), t.jsx(g, { onSelectToggle: (e) => {
|
|
126
126
|
k(!0, !0, !0);
|
|
127
|
-
}, touchRippleRef:
|
|
127
|
+
}, touchRippleRef: H, label: "Replace All", shortcut: { key: "Enter", modifiers: [O.Ctrl, O.Alt] }, icon: m(t.jsx(he, {})), disabled: !i.findText })] }) })] })] }), t.jsx(Y, { in: D, timeout: _, onExit: () => {
|
|
128
128
|
a.current?.focus();
|
|
129
|
-
}, children: t.jsxs(
|
|
129
|
+
}, children: t.jsxs(b, { sx: { minHeight: "10px", flex: "1 1 100%", display: "flex", flexDirection: "column", gap: (e) => e.spacing(0.5), marginTop: (e) => e.spacing(1) }, children: [t.jsx(be, { orientation: "horizontal", sx: { marginBottom: (e) => e.spacing(1.5) } }), t.jsxs(b, { sx: { display: "flex", flexDirection: J >= 413 ? "row" : "column", justifyContent: "space-evenly", alignItems: "center", rowGap: (e) => e.spacing(2) }, tabIndex: -1, children: [t.jsx(A, { label: "Within", value: i.scope, options: Z, onSelect: (e) => {
|
|
130
130
|
r((n) => {
|
|
131
131
|
const s = { ...n };
|
|
132
132
|
return s.scope = e, s;
|
|
133
133
|
});
|
|
134
|
-
} }), t.jsx(
|
|
134
|
+
} }), t.jsx(A, { label: "Search", value: i.findOptions.orientation !== y.Orientation.Column, options: Se, onSelect: (e) => {
|
|
135
135
|
r((n) => {
|
|
136
136
|
const s = { ...n };
|
|
137
|
-
return s.findOptions.orientation = e ?
|
|
137
|
+
return s.findOptions.orientation = e ? y.Orientation.Row : y.Orientation.Column, s;
|
|
138
138
|
});
|
|
139
|
-
} }), t.jsx(
|
|
139
|
+
} }), t.jsx(A, { label: "Look in", value: f && i.findOptions.fields?.[0] === p.Content.Values ? p.Content.Formulas : i.findOptions.fields?.[0], options: f ? te : ne, onSelect: (e) => {
|
|
140
140
|
r((n) => {
|
|
141
141
|
const s = { ...n };
|
|
142
142
|
return s.findOptions.fields = [e], s;
|
|
@@ -144,7 +144,7 @@ const Se = { "By Rows": !0, "By Columns": !1 }, ee = (T, h) => {
|
|
|
144
144
|
} })] })] }) })] }) });
|
|
145
145
|
});
|
|
146
146
|
export {
|
|
147
|
-
|
|
147
|
+
Le as FindReplaceWindow,
|
|
148
148
|
Z as ScopeOptions,
|
|
149
|
-
|
|
149
|
+
Le as default
|
|
150
150
|
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { a as s } from "./Dm0hrXCbV7DITOhi.js";
|
|
2
|
+
import { r as t } from "./CrBywNOOyPHSBoTT.js";
|
|
3
|
+
import { a7 as m, v as L, B as W, f as b, g as O, h as p, b6 as r } from "./EYTSqAG9YOdb1vKx.js";
|
|
4
|
+
/**
|
|
5
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.14
|
|
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 = t.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: v, ...F } = P, H = t.useMemo(() => (o ?? i?.()?.getHyperlink()) !== null, []), k = t.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]), [a, I] = t.useState(k.address), [g, j] = t.useState(() => {
|
|
17
|
+
const e = i?.().toTextUnformatted() ?? D;
|
|
18
|
+
return e === k.address ? "" : e;
|
|
19
|
+
}), [w, y] = t.useState(!1), M = t.useCallback((e) => {
|
|
20
|
+
j(e.target.value);
|
|
21
|
+
}, []), T = t.useCallback(async (e, n) => null, []), B = m(async (e) => {
|
|
22
|
+
e !== l && f?.(a === "" ? null : { address: a }, g), x?.(e, e === l, e === c), u?.();
|
|
23
|
+
}, [a, g, f, u, x, c, l]), S = m((e) => {
|
|
24
|
+
I(e.target.value), T(e.target.value, null);
|
|
25
|
+
}, [d]), $ = m(async (e) => {
|
|
26
|
+
let n = await Promise.resolve(d?.(e));
|
|
27
|
+
try {
|
|
28
|
+
n !== !1 && (n = await T(a, e));
|
|
29
|
+
} catch {
|
|
30
|
+
}
|
|
31
|
+
return n ?? !0;
|
|
32
|
+
}, [d]);
|
|
33
|
+
return s.jsx(L, { title: (H ? "Edit" : "Insert") + " Link", options: h, onDone: u, onOption: (e) => B(e), onValidateOption: $, defaultOption: c, cancelOption: l, autoFocusSel: ".autoFocus", sx: { width: "480px", ...v }, ...F, 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(b, { sx: { paddingTop: (e) => e.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: s.jsx(O, { 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: a, onChange: S, onContextMenu: (e) => {
|
|
36
|
+
e.stopPropagation();
|
|
37
|
+
} }) }), s.jsx(b, { sx: { paddingTop: (e) => e.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: s.jsx(O, { label: "Display Text", placeholder: a?.startsWith("#") ? a.substring(1) : a, 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
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.14
|
|
3
|
+
*
|
|
4
|
+
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
|
+
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
+
*/
|
|
7
|
+
const e = { BESSELI: { s: "Returns the modified Bessel function In(x)", p: { x: { d: "is the value at which to evaluate the function" }, n: { d: "is the order of the Bessel function" } } }, BESSELJ: { s: "Returns the Bessel function Jn(x)", p: { x: { d: "is the value at which to evaluate the function" }, n: { d: "is the order of the Bessel function" } } }, BESSELK: { s: "Returns the modified Bessel function Kn(x)", p: { x: { d: "is the value at which to evaluate the function" }, n: { d: "is the order of the function" } } }, BESSELY: { s: "Returns the Bessel function Yn(x)", p: { x: { d: "is the value at which to evaluate the function" }, n: { d: "is the order of the function" } } } };
|
|
8
|
+
export {
|
|
9
|
+
e as default
|
|
10
|
+
};
|