@sheetxl/studio-vanilla 0.4.20 → 0.4.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/browser/cjs/{BdltTXLt7iZT8sku.cjs → -AkvO2DXLOxJTxam.cjs} +1 -1
- package/browser/cjs/{dQ_t_glP-41DsAl-.cjs → 3CSmmG7E8ziDB1mP.cjs} +1 -1
- package/browser/cjs/{BKow6xaj0GHFH5-V.cjs → 7nEG2wj_Ohie6CwI.cjs} +1 -1
- package/browser/cjs/{DlL3FUzHZ4HVF-yg.cjs → B0aLqzqegePPgpc2.cjs} +1 -1
- package/browser/cjs/B9GyERAqyIxdqS4D.cjs +145 -0
- package/browser/cjs/BO8oGaHWFtHyxmQ1.cjs +6 -0
- package/browser/cjs/{B3IrGavp2xDl72qi.cjs → BPODmSH7Z1MR1rHr.cjs} +3 -3
- package/browser/cjs/{BDxykI6GcXpGGGMz.cjs → BS0bGW4PmNinQUvL.cjs} +7 -7
- package/browser/cjs/{Bf-D_AYDbEeRcsvz.cjs → BY3tZiH_cfwBkpN8.cjs} +1 -1
- package/browser/cjs/BYRBdz-9UGZ0b_AO.cjs +7 -0
- package/browser/cjs/{Dn5IBCKPuNI0ypyZ.cjs → BZvC7PqILOVRl2ij.cjs} +1 -1
- package/browser/cjs/Bc6lVP0c3mEzf_yK.cjs +6 -0
- package/browser/cjs/Bdm_fGdkK4-pZ0tW.cjs +6 -0
- package/browser/cjs/{IxfGyvVPF27qqDF3.cjs → Bi2-QXq5KvbsAXoB.cjs} +1 -1
- package/browser/cjs/Bk2cFYnTKxP7WbLy.cjs +6 -0
- package/browser/cjs/{DHiQ_sK8f-95Ft4X.cjs → BlojFx4yQfY8ahEJ.cjs} +2 -2
- package/browser/cjs/BvEv8i6SisfC24C1.cjs +7 -0
- package/browser/cjs/{CX82d7xySIGMF7yM.cjs → Bzntg1YSzOszdwLy.cjs} +1 -1
- package/browser/cjs/C9oIS5xxO9B7vS3W.cjs +6 -0
- package/browser/cjs/{D6WxWENDWFXA_esX.cjs → C9xTKWx1tr6NZFC8.cjs} +1 -1
- package/browser/cjs/{BC_a9wiziJZdu6Au.cjs → CCu9cK1DUD4oa3Nj.cjs} +1 -1
- package/browser/cjs/{C4AWzM1Uh9cuE1A9.cjs → CIeiC9TKv80O2_fQ.cjs} +1 -1
- package/browser/cjs/{zreCxaXU5L2iHQ99.cjs → COuRf_8YbqEsDQOC.cjs} +1 -1
- package/browser/cjs/{DMpqQkdCfg2AjXjR.cjs → CQRZm8lGq26oKY31.cjs} +1 -1
- package/browser/cjs/CYmpgLiDS0ZlbG11.cjs +6 -0
- package/browser/cjs/CZltonq1gEczLRHi.cjs +32 -0
- package/browser/cjs/Cf1j7hiCbQ8xo4_U.cjs +7 -0
- package/browser/cjs/{CW5RuE4isKBlwHmQ.cjs → CknjEH7DZBnqyPfk.cjs} +1 -1
- package/browser/cjs/{iIOyWIrlq0JiZyZX.cjs → ClEc15AqSTFOf5zG.cjs} +1 -1
- package/browser/cjs/{CTPgM-UqKCo4_hd1.cjs → CrUZUIz00uPDq4EA.cjs} +1 -1
- package/browser/cjs/{BOAxaoihJZZzZXhd.cjs → Cv1BFY5pqPtJd8qO.cjs} +1 -1
- package/browser/cjs/CvvHAxM5SO6mwsyq.cjs +161 -0
- package/browser/cjs/{BK6DsykAfJG4V-cJ.cjs → Cvwrl86aXHFXJVZZ.cjs} +1 -1
- package/browser/cjs/CwgzE59YUQ1eOTBi.cjs +6 -0
- package/browser/cjs/{BSlU398ba-ACAG1g.cjs → D3qzZXPgfAtKIAP9.cjs} +6 -6
- package/browser/cjs/{Dp6UwWmFehNr8oln.cjs → D7q2GFLhv9QRTZJe.cjs} +1 -1
- package/browser/cjs/{D3hV1-QRPKCq0om8.cjs → DB2WR3LaeOhkCAXY.cjs} +2 -2
- package/browser/cjs/{BndDL5HS4RNIfwOd.cjs → DFJ4dyRxiUF1XPPZ.cjs} +6 -6
- package/browser/cjs/{jX_tynzFoHAGPZOz.cjs → DJMpu6kYQUW3FWjs.cjs} +1 -1
- package/browser/cjs/{CSM5H5PTjrTaUgKK.cjs → DL7DCFUaFkr2LYhZ.cjs} +1 -1
- package/browser/cjs/{CXik9BghKbVW93T0.cjs → DMMZr350oW-Zan7x.cjs} +24 -24
- package/browser/cjs/{d6ywgaNww4eYXcem.cjs → DMfk3didwdGQLc0i.cjs} +4 -4
- package/browser/cjs/DaEdjRWwuNebE2hn.cjs +6 -0
- package/browser/cjs/Dd7vDdIeQaFScMRQ.cjs +6 -0
- package/browser/cjs/{DUjgS2e8jjyhZF41.cjs → Df9S9eEGYxA_EcEr.cjs} +1 -1
- package/browser/cjs/{CKa-Z1SfYc0pkIX2.cjs → DgSAPPq-D_vlo9jE.cjs} +1 -1
- package/browser/cjs/DmtZLv1wnSxRzPiR.cjs +6 -0
- package/browser/cjs/{CvYl4W2vXnvHHHoI.cjs → DqlFSswn_reXyFz8.cjs} +1 -1
- package/browser/cjs/{CeLG8vmgbEkx4oD1.cjs → Dws_eDddoJKDPps_.cjs} +1 -1
- package/browser/cjs/HyVntu9KkvdKrJEt.cjs +16 -0
- package/browser/cjs/{QonkTPcCkOm4Mvas.cjs → Iek_K8QW1doYx_eo.cjs} +1 -1
- package/browser/cjs/QJFc55OPrJyuRvDO.cjs +19 -0
- package/browser/cjs/QxU4KIgsHZuVigdy.cjs +329 -0
- package/browser/cjs/cOAjfOdF1cb-xgQG.cjs +6 -0
- package/browser/cjs/index.cjs +2 -2
- package/browser/cjs/{Bhlan81dumwgyb0S.cjs → kQ8wVygFJMcxlUv-.cjs} +1 -1
- package/browser/cjs/{D2J4RLkySRIXFbsa.cjs → tVbeAmLkaH_1Jy7R.cjs} +2 -2
- package/browser/cjs/wNoDw92hvq2txBki.cjs +11 -0
- package/browser/esm/2d2eGHpsnUoCOFMT.mjs +47 -0
- package/browser/esm/{BqgjdQ15LFcefVOZ.mjs → AVmCEk8Fmiw2k_yK.mjs} +2 -2
- package/browser/esm/B0A2aLiKDPGGU4k-.mjs +44515 -0
- package/{cdn/assets/DmXkRZFP-WnV2YT9.js → browser/esm/BBov1fpR61VyhE3Z.mjs} +1 -1
- package/{cdn/assets/BS_-p_4yMCoR9FTp.js → browser/esm/BJD32_Zv5gkabGc0.mjs} +1 -1
- package/browser/esm/{Bmfu8IUFzu9KyCkA.mjs → BJqIPJDvrhWpZc4S.mjs} +1 -1
- package/{cdn/assets/KUyPDaQO4D8lwO7O.js → browser/esm/BKYjPTKdwG8Dn1_Z.mjs} +1 -1
- package/browser/esm/{JdOvTKCcf5acl7vA.mjs → BQfnqD12mz41DOr_.mjs} +1 -1
- package/{cdn/assets/BfiejFYnvgVrrJPI.js → browser/esm/BSdVpOzJ8SL3EBhP.mjs} +1 -1
- package/browser/esm/{KWZAe-e6U7Po4gCx.mjs → BVuoKgnuqrUwY6Fv.mjs} +15 -15
- package/browser/esm/{RvEM-YtFLw3OMG0V.mjs → Ba4SdTfCAvYS7a3O.mjs} +2 -2
- package/browser/esm/{D2L4EVLdv-YwKGoi.mjs → BajFlIH_X_nvDNfp.mjs} +2 -2
- package/browser/esm/{BGJaDv3Ih-M1lFCD.mjs → Bb0W3ByMVowTViNK.mjs} +1 -1
- package/browser/esm/{DWnopZ6R26qNLVyV.mjs → BmyjN5txj3iMw_DE.mjs} +1 -1
- package/{cdn/assets/B6c_mMwG96t6MlCE.js → browser/esm/BpFA0UU_TF4JO3dh.mjs} +1 -1
- package/browser/esm/Btr2FDDtI_fht0WU.mjs +1466 -0
- package/{cdn/assets/S2TZ7C9tQtDNeeGo.js → browser/esm/Bzg-D_R4sXN-wyMx.mjs} +1 -1
- package/browser/esm/C2xOGr0pDSHSMKoW.mjs +1366 -0
- package/{cdn/assets/CpDyqZXpstRo2buW.js → browser/esm/CAal3t8F-VfdmgAH.mjs} +1 -1
- package/browser/esm/{DlASr70UXrIpKZQO.mjs → CBPeZuyUIf9scEwn.mjs} +722 -815
- package/{cdn/assets/Bnpwlyv8i_gnevRF.js → browser/esm/CCjuiVOyesh1IQpA.mjs} +1861 -1859
- package/browser/esm/{Cjp7NabZ26PaBnIT.mjs → CDnNRZ7jINT_Dr0K.mjs} +4 -4
- package/browser/esm/{DJx6S7TOhQyWdjS5.mjs → CQaM4Ka20cP71fl0.mjs} +1 -1
- package/browser/esm/{VYFESZA0Jc8C13ZT.mjs → CVlIOg6F8qrZdlQ1.mjs} +1 -1
- package/{cdn/assets/dWGGn8a_Ez8kVjgZ.js → browser/esm/Cbq2K4YGny5wwFEf.mjs} +1 -1
- package/browser/esm/CfeqmUm-TkCE2XpK.mjs +260 -0
- package/{cdn/assets/_sUvLBCLSPhV2gF6.js → browser/esm/Ckb6l6osoWh90VXn.mjs} +1 -1
- package/{cdn/assets/Bj6XCGohW0EagXDQ.js → browser/esm/CkccSfJEU471_Sui.mjs} +8 -8
- package/browser/esm/{2vIB3gG-Ct-P7aHY.mjs → Cl0mB61JgZYfTh4S.mjs} +1 -1
- package/browser/esm/{CXSiJ-t5xz78GMwK.mjs → Cm7pnWH_xgLwX_lZ.mjs} +1 -1
- package/browser/esm/{CPchasanZLQiASse.mjs → Co_HyodT3prcEvNJ.mjs} +1 -1
- package/{cdn/assets/glJJyP0v0nlhAzqM.js → browser/esm/CsBIABPdnqpcZcvJ.mjs} +1 -1
- package/browser/esm/{CT_g1GDC8_vSGR0o.mjs → CslKfn0zxkGKrM4-.mjs} +19 -19
- package/browser/esm/{B4ABRWtE31zu8-wJ.mjs → Cx0a1WWRvJgDg4qb.mjs} +7 -7
- package/browser/esm/{BRzxK84abQUinUUx.mjs → D-QFKqWRP5dKwynV.mjs} +1 -1
- package/browser/esm/{DsabS3TdXZB45_O2.mjs → DWgbhx4Y4WzyAP3Z.mjs} +4 -4
- package/browser/esm/DgFIjoPrM5dmrLHT.mjs +392 -0
- package/{cdn/assets/giu63J2gO2p8JJIf.js → browser/esm/Dk_OZhcDLapTaNma.mjs} +1 -1
- package/{cdn/assets/CSDiL3gZro2_BYTj.js → browser/esm/Dp--KMDeqecbq_Wc.mjs} +1 -1
- package/browser/esm/Dva_qJrZGvFYbRxZ.mjs +21 -0
- package/browser/esm/DxJfUV0HFQT8g6H_.mjs +39 -0
- package/browser/esm/{Dkf0_o7D9GkUfOZy.mjs → Dxqx7qwqE6wbYSpB.mjs} +36 -36
- package/{cdn/assets/D7bqIxhqlHgc3Fih.js → browser/esm/ObudKUELIfmbm87W.mjs} +1 -1
- package/browser/esm/{B1qmfUH_Mmjtp3JU.mjs → SGprYj0-SzDtrM3y.mjs} +13 -13
- package/browser/esm/{CmLCIveZbsUFrSOH.mjs → SmC3rmOCw-Ynredz.mjs} +672 -665
- package/browser/esm/{CA33PnXmPNl09v6w.mjs → T263hpnj_sMd1bmD.mjs} +23 -23
- package/browser/esm/{DaoqFa2lhVoZvd16.mjs → Ys1OCodY6sXUkZ6-.mjs} +102 -99
- package/{cdn/assets/xbsV0YR05atX96kb.js → browser/esm/aqvSzH4m6bf7ODc6.mjs} +1 -1
- package/browser/esm/{Bz0TojPavQ5NTjyD.mjs → d49_A3euUkzKZure.mjs} +1 -1
- package/browser/esm/d8r4AqRUASAMCbBC.mjs +1352 -0
- package/browser/esm/{CVvfga1mKyvzrvCr.mjs → fgXzhDR19HBK6PEW.mjs} +6 -6
- package/browser/esm/{Be9tvHxvnxnHNRa4.mjs → g2unVUs-HBGBvXMs.mjs} +1 -1
- package/browser/esm/gzl_ozUgkS0mr_32.mjs +13391 -0
- package/browser/esm/index.mjs +2 -2
- package/browser/esm/kbK4ZGVl1tl5F-UA.mjs +41 -0
- package/browser/esm/oAfM3SU0EgMxfDc0.mjs +3802 -0
- package/browser/esm/{BFUWwMA9uskwVkew.mjs → oUl7lbkOPMCi30tO.mjs} +1 -1
- package/browser/esm/{Dvo7tXJcgnIXR-H7.mjs → tAl8qMu6C0Vlq5p-.mjs} +670 -667
- package/cdn/assets/1we1udiYEDagZ5XN.js +241 -0
- package/cdn/assets/8d4z_mUqWF_BnOt4.js +6481 -0
- package/cdn/assets/B-ol51_1jHaCVeGO.js +3802 -0
- package/cdn/assets/B2I5EC8Y3LkhqzOe.js +50 -0
- package/{browser/esm/CpQM3xIeariuqfsN.mjs → cdn/assets/B44RkeFF8g1ncaGw.js} +16 -14
- package/{browser/esm/DmXkRZFP-WnV2YT9.mjs → cdn/assets/BBov1fpR61VyhE3Z.js} +1 -1
- package/cdn/assets/BCEDMsB3yP73FGo4.js +260 -0
- package/cdn/assets/{BCfZ9L4sqA1AhATQ.js → BERonPR_jlfR0j1B.js} +14 -14
- package/{browser/esm/BS_-p_4yMCoR9FTp.mjs → cdn/assets/BJD32_Zv5gkabGc0.js} +1 -1
- package/cdn/assets/{Bmfu8IUFzu9KyCkA.js → BJqIPJDvrhWpZc4S.js} +1 -1
- package/{browser/esm/KUyPDaQO4D8lwO7O.mjs → cdn/assets/BKYjPTKdwG8Dn1_Z.js} +1 -1
- package/cdn/assets/{Cz1EUITrDS2M-lu2.js → BPQvYX3Tn3_XfM55.js} +849 -849
- package/cdn/assets/{JdOvTKCcf5acl7vA.js → BQfnqD12mz41DOr_.js} +1 -1
- package/{browser/esm/BfiejFYnvgVrrJPI.mjs → cdn/assets/BSdVpOzJ8SL3EBhP.js} +1 -1
- package/cdn/assets/{EN4PLLABu5llaV3T.js → BWHiFslK55rPiaTT.js} +5 -5
- package/cdn/assets/BWhbbP9qvpjw1m3d.js +21 -0
- package/cdn/assets/{SsQFeDXfmfXHyy1R.js → B_gWDLoUXJ58kUTF.js} +670 -667
- package/cdn/assets/{BGJaDv3Ih-M1lFCD.js → Bb0W3ByMVowTViNK.js} +1 -1
- package/{browser/esm/BuX3I7e8lbon25vL.mjs → cdn/assets/Bk7mWQ4jJ591qT5U.js} +9 -9
- package/cdn/assets/{DWnopZ6R26qNLVyV.js → BmyjN5txj3iMw_DE.js} +1 -1
- package/cdn/assets/{SPvRfEBpgC5rbgPz.js → BnEb6t4xIVuW37yn.js} +2 -2
- package/{browser/esm/B6c_mMwG96t6MlCE.mjs → cdn/assets/BpFA0UU_TF4JO3dh.js} +1 -1
- package/{browser/esm/S2TZ7C9tQtDNeeGo.mjs → cdn/assets/Bzg-D_R4sXN-wyMx.js} +1 -1
- package/cdn/assets/C2xOGr0pDSHSMKoW.js +1366 -0
- package/{browser/esm/CpDyqZXpstRo2buW.mjs → cdn/assets/CAal3t8F-VfdmgAH.js} +1 -1
- package/{browser/esm/Qjkn8L0WuEQToAqm.mjs → cdn/assets/CGImeT9zAECbU9zM.js} +14 -12
- package/cdn/assets/CIdfxx6BkkxIdU4J.js +36 -0
- package/cdn/assets/{DJx6S7TOhQyWdjS5.js → CQaM4Ka20cP71fl0.js} +1 -1
- package/cdn/assets/CVgQlKevn28IBavQ.js +44342 -0
- package/cdn/assets/{VYFESZA0Jc8C13ZT.js → CVlIOg6F8qrZdlQ1.js} +1 -1
- package/{browser/esm/dWGGn8a_Ez8kVjgZ.mjs → cdn/assets/Cbq2K4YGny5wwFEf.js} +1 -1
- package/cdn/assets/{BGQ19MuEoWb0IGOg.js → CcE9nC_34k_5iKdO.js} +25 -25
- package/cdn/assets/{CO9eLmNMi1heLPMx.js → CcP-5SrDsnDeT6SQ.js} +733 -827
- package/{browser/esm/_sUvLBCLSPhV2gF6.mjs → cdn/assets/Ckb6l6osoWh90VXn.js} +1 -1
- package/cdn/assets/{2vIB3gG-Ct-P7aHY.js → Cl0mB61JgZYfTh4S.js} +1 -1
- package/cdn/assets/{CXSiJ-t5xz78GMwK.js → Cm7pnWH_xgLwX_lZ.js} +1 -1
- package/cdn/assets/{CPchasanZLQiASse.js → Co_HyodT3prcEvNJ.js} +1 -1
- package/{browser/esm/glJJyP0v0nlhAzqM.mjs → cdn/assets/CsBIABPdnqpcZcvJ.js} +1 -1
- package/cdn/assets/Ct1wZ_TFb7_zG9uz.js +22 -0
- package/cdn/assets/{BRzxK84abQUinUUx.js → D-QFKqWRP5dKwynV.js} +1 -1
- package/cdn/assets/D8hsneNA-W9ryUa9.js +27 -0
- package/cdn/assets/{9GNkN_zTAHpnP-uq.js → DBzbchpZyNJVqFwJ.js} +4 -4
- package/cdn/assets/DIBJnPf-ZLpoUAyv.js +90 -0
- package/{browser/esm/B7ohU_quBXWjiBEw.mjs → cdn/assets/DKaNurhCUtSDI3-Y.js} +1861 -1859
- package/cdn/assets/DQmcuM6zJj_UBR4j.js +58 -0
- package/cdn/assets/DXWy4_H6I-dyOLr6.js +46 -0
- package/cdn/assets/DXlz010r4VFvz1TS.js +23 -0
- package/{browser/esm/giu63J2gO2p8JJIf.mjs → cdn/assets/Dk_OZhcDLapTaNma.js} +1 -1
- package/{browser/esm/CSDiL3gZro2_BYTj.mjs → cdn/assets/Dp--KMDeqecbq_Wc.js} +1 -1
- package/{browser/esm/CYrbG4T_bwbc4Un4.mjs → cdn/assets/DqRiTlxxpGv8z6hB.js} +136 -134
- package/cdn/assets/Dt6M8k8ljeGubAJ5.js +1466 -0
- package/cdn/assets/Dzb_e1lRgdeWlKbP.js +27 -0
- package/{browser/esm/D7bqIxhqlHgc3Fih.mjs → cdn/assets/ObudKUELIfmbm87W.js} +1 -1
- package/cdn/assets/{DU8_1yjWbaEkXcbL.js → QtHcsa9O7bxZgew4.js} +5 -5
- package/cdn/assets/{CmLCIveZbsUFrSOH.js → SmC3rmOCw-Ynredz.js} +672 -665
- package/cdn/assets/{UhBzX4vQryCjy6ce.js → UBuQw1PVtmH3a9bE.js} +16 -16
- package/cdn/assets/{DaoqFa2lhVoZvd16.js → Ys1OCodY6sXUkZ6-.js} +102 -99
- package/{browser/esm/xbsV0YR05atX96kb.mjs → cdn/assets/aqvSzH4m6bf7ODc6.js} +1 -1
- package/cdn/assets/{Bz0TojPavQ5NTjyD.js → d49_A3euUkzKZure.js} +1 -1
- package/cdn/assets/d8r4AqRUASAMCbBC.js +1352 -0
- package/cdn/assets/{Be9tvHxvnxnHNRa4.js → g2unVUs-HBGBvXMs.js} +1 -1
- package/cdn/assets/gzl_ozUgkS0mr_32.js +13391 -0
- package/cdn/assets/o1yNcQczZA65rwUv.js +41 -0
- package/cdn/assets/u_xPkr1quUnZRgrA.js +149 -0
- package/cdn/index.js +2 -2
- package/cdn/loader.js +1 -1
- package/package.json +3 -3
- package/browser/cjs/B4ScrvWBCXLzvNBz.cjs +0 -145
- package/browser/cjs/BBNggAKHDP4QyhrD.cjs +0 -6
- package/browser/cjs/BSoRD8INLnGqOd24.cjs +0 -7
- package/browser/cjs/BTxfWiE-FbVvlbXz.cjs +0 -11
- package/browser/cjs/BlJixWFmG-z3n7dN.cjs +0 -6
- package/browser/cjs/Buw8XeqL6XQwxqnQ.cjs +0 -32
- package/browser/cjs/C04_CccTUmfnv-ln.cjs +0 -6
- package/browser/cjs/C5TLXtw93fBnRGm7.cjs +0 -378
- package/browser/cjs/CLiSJrUNaSxa5Mn7.cjs +0 -16
- package/browser/cjs/CODi1uYlZ35lFLh9.cjs +0 -6
- package/browser/cjs/Ccv5NHm99sYZnKE6.cjs +0 -7
- package/browser/cjs/CeH0O9zPmIGKjuT9.cjs +0 -19
- package/browser/cjs/D2bZuhwA7aCEA0It.cjs +0 -6
- package/browser/cjs/DEiPHs81OFnGI_GL.cjs +0 -6
- package/browser/cjs/DWIR1gQMiYyoUVpN.cjs +0 -7
- package/browser/cjs/DawJBg8LyIArkwdU.cjs +0 -6
- package/browser/cjs/Dr95ZpJD5KpADFgL.cjs +0 -6
- package/browser/cjs/P7jR9JAKpf5me2pK.cjs +0 -6
- package/browser/cjs/T4zy652TD1RHF35F.cjs +0 -6
- package/browser/cjs/nlzloz3gqSXQwTl5.cjs +0 -13
- package/browser/cjs/xPUjEhL251Mb-kyD.cjs +0 -161
- package/browser/esm/BJkeQi-0GTlyPsTT.mjs +0 -52369
- package/browser/esm/BR2yOGMlFrbNy1I_.mjs +0 -472
- package/browser/esm/BTbBL2qySirAIMIH.mjs +0 -1346
- package/browser/esm/Bj4d7nd4XMugBsBg.mjs +0 -39
- package/browser/esm/CeSDjV2b8w7KibJw.mjs +0 -1466
- package/browser/esm/DR85glElKOQxCdEw.mjs +0 -820
- package/browser/esm/DgxaqoqInkc26SCt.mjs +0 -13208
- package/browser/esm/dwY5oHtoGa_ktt9_.mjs +0 -1365
- package/browser/esm/q5jyS6wUD9X8N3dI.mjs +0 -3755
- package/cdn/assets/BBGivbkBG9VS_rL9.js +0 -3756
- package/cdn/assets/BF0szY6Cs6OTiu4J.js +0 -22
- package/cdn/assets/BFvB3zk5mbav2VDI.js +0 -52200
- package/cdn/assets/BKAFXvz5L4pnwrYW.js +0 -41
- package/cdn/assets/BTbBL2qySirAIMIH.js +0 -1346
- package/cdn/assets/BnrLDtUMM23rGXOR.js +0 -390
- package/cdn/assets/C-saEYaoPI4gaVAh.js +0 -820
- package/cdn/assets/CBG91FlGgFb_NSW3.js +0 -1466
- package/cdn/assets/Cc_7h2P328hlBcqK.js +0 -472
- package/cdn/assets/Cv2EzXYuphY8Hlz2.js +0 -23
- package/cdn/assets/DDWoPuN8AcPJHNxL.js +0 -58
- package/cdn/assets/DYE-hWYAUd_f6MX8.js +0 -46
- package/cdn/assets/DfpCefkqWIezzC8Z.js +0 -49
- package/cdn/assets/DgxaqoqInkc26SCt.js +0 -13208
- package/cdn/assets/LbFq2oCowUDgCX8L.js +0 -43
- package/cdn/assets/TP7wJaHcKRz3uH_W.js +0 -50
- package/cdn/assets/dwY5oHtoGa_ktt9_.js +0 -1365
- package/cdn/assets/nsmFGDjpeUcAO4is.js +0 -149
|
@@ -0,0 +1,392 @@
|
|
|
1
|
+
import { r as u, m as T } from "./B0A2aLiKDPGGU4k-.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.22
|
|
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
|
+
function me(e, t, r) {
|
|
9
|
+
return t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
|
|
10
|
+
}
|
|
11
|
+
function ne(e, t) {
|
|
12
|
+
var r = Object.keys(e);
|
|
13
|
+
if (Object.getOwnPropertySymbols) {
|
|
14
|
+
var n = Object.getOwnPropertySymbols(e);
|
|
15
|
+
t && (n = n.filter(function(o) {
|
|
16
|
+
return Object.getOwnPropertyDescriptor(e, o).enumerable;
|
|
17
|
+
})), r.push.apply(r, n);
|
|
18
|
+
}
|
|
19
|
+
return r;
|
|
20
|
+
}
|
|
21
|
+
function oe(e) {
|
|
22
|
+
for (var t = 1; t < arguments.length; t++) {
|
|
23
|
+
var r = arguments[t] != null ? arguments[t] : {};
|
|
24
|
+
t % 2 ? ne(Object(r), !0).forEach(function(n) {
|
|
25
|
+
me(e, n, r[n]);
|
|
26
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : ne(Object(r)).forEach(function(n) {
|
|
27
|
+
Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
return e;
|
|
31
|
+
}
|
|
32
|
+
function ie(e, t) {
|
|
33
|
+
(t == null || t > e.length) && (t = e.length);
|
|
34
|
+
for (var r = 0, n = new Array(t); r < t; r++) n[r] = e[r];
|
|
35
|
+
return n;
|
|
36
|
+
}
|
|
37
|
+
function ye(e, t, r) {
|
|
38
|
+
return t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
|
|
39
|
+
}
|
|
40
|
+
function ue(e, t) {
|
|
41
|
+
var r = Object.keys(e);
|
|
42
|
+
if (Object.getOwnPropertySymbols) {
|
|
43
|
+
var n = Object.getOwnPropertySymbols(e);
|
|
44
|
+
t && (n = n.filter(function(o) {
|
|
45
|
+
return Object.getOwnPropertyDescriptor(e, o).enumerable;
|
|
46
|
+
})), r.push.apply(r, n);
|
|
47
|
+
}
|
|
48
|
+
return r;
|
|
49
|
+
}
|
|
50
|
+
function ce(e) {
|
|
51
|
+
for (var t = 1; t < arguments.length; t++) {
|
|
52
|
+
var r = arguments[t] != null ? arguments[t] : {};
|
|
53
|
+
t % 2 ? ue(Object(r), !0).forEach(function(n) {
|
|
54
|
+
ye(e, n, r[n]);
|
|
55
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : ue(Object(r)).forEach(function(n) {
|
|
56
|
+
Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
return e;
|
|
60
|
+
}
|
|
61
|
+
function V(e) {
|
|
62
|
+
return function t() {
|
|
63
|
+
for (var r = this, n = arguments.length, o = new Array(n), i = 0; i < n; i++) o[i] = arguments[i];
|
|
64
|
+
return o.length >= e.length ? e.apply(this, o) : function() {
|
|
65
|
+
for (var c = arguments.length, a = new Array(c), g = 0; g < c; g++) a[g] = arguments[g];
|
|
66
|
+
return t.apply(r, [].concat(o, a));
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
function U(e) {
|
|
71
|
+
return {}.toString.call(e).includes("Object");
|
|
72
|
+
}
|
|
73
|
+
function z(e) {
|
|
74
|
+
return typeof e == "function";
|
|
75
|
+
}
|
|
76
|
+
var R = V(function(e, t) {
|
|
77
|
+
throw new Error(e[t] || e.default);
|
|
78
|
+
})({ initialIsRequired: "initial state is required", initialType: "initial state should be an object", initialContent: "initial state shouldn't be an empty object", handlerType: "handler should be an object or a function", handlersType: "all handlers should be a functions", selectorType: "selector should be a function", changeType: "provided value of changes should be an object", changeField: 'it seams you want to change a field in the state which is not specified in the "initial" state', default: "an unknown error accured in `state-local` package" }), ve = function(e, t) {
|
|
79
|
+
return U(t) || R("changeType"), Object.keys(t).some(function(r) {
|
|
80
|
+
return n = e, o = r, !Object.prototype.hasOwnProperty.call(n, o);
|
|
81
|
+
var n, o;
|
|
82
|
+
}) && R("changeField"), t;
|
|
83
|
+
}, be = function(e) {
|
|
84
|
+
z(e) || R("selectorType");
|
|
85
|
+
}, we = function(e) {
|
|
86
|
+
z(e) || U(e) || R("handlerType"), U(e) && Object.values(e).some(function(t) {
|
|
87
|
+
return !z(t);
|
|
88
|
+
}) && R("handlersType");
|
|
89
|
+
}, Oe = function(e) {
|
|
90
|
+
var t;
|
|
91
|
+
e || R("initialIsRequired"), U(e) || R("initialType"), t = e, Object.keys(t).length || R("initialContent");
|
|
92
|
+
};
|
|
93
|
+
function je(e, t) {
|
|
94
|
+
return z(t) ? t(e.current) : t;
|
|
95
|
+
}
|
|
96
|
+
function Me(e, t) {
|
|
97
|
+
return e.current = ce(ce({}, e.current), t), t;
|
|
98
|
+
}
|
|
99
|
+
function Ee(e, t, r) {
|
|
100
|
+
return z(t) ? t(e.current) : Object.keys(r).forEach(function(n) {
|
|
101
|
+
var o;
|
|
102
|
+
return (o = t[n]) === null || o === void 0 ? void 0 : o.call(t, e.current[n]);
|
|
103
|
+
}), r;
|
|
104
|
+
}
|
|
105
|
+
var Q, Pe = function(e) {
|
|
106
|
+
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
107
|
+
Oe(e), we(t);
|
|
108
|
+
var r = { current: e }, n = V(Ee)(r, t), o = V(Me)(r), i = V(ve)(e), c = V(je)(r);
|
|
109
|
+
return [function() {
|
|
110
|
+
var a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : function(g) {
|
|
111
|
+
return g;
|
|
112
|
+
};
|
|
113
|
+
return be(a), a(r.current);
|
|
114
|
+
}, function(a) {
|
|
115
|
+
(function() {
|
|
116
|
+
for (var g = arguments.length, p = new Array(g), O = 0; O < g; O++) p[O] = arguments[O];
|
|
117
|
+
return function(b) {
|
|
118
|
+
return p.reduceRight(function(E, P) {
|
|
119
|
+
return P(E);
|
|
120
|
+
}, b);
|
|
121
|
+
};
|
|
122
|
+
})(n, o, i, c)(a);
|
|
123
|
+
}];
|
|
124
|
+
}, se = { configIsRequired: "the configuration object is required", configType: "the configuration object should be an object", default: "an unknown error accured in `@monaco-editor/loader` package", deprecation: `Deprecation warning!
|
|
125
|
+
You are using deprecated way of configuration.
|
|
126
|
+
|
|
127
|
+
Instead of using
|
|
128
|
+
monaco.config({ urls: { monacoBase: '...' } })
|
|
129
|
+
use
|
|
130
|
+
monaco.config({ paths: { vs: '...' } })
|
|
131
|
+
|
|
132
|
+
For more please check the link https://github.com/suren-atoyan/monaco-loader#config
|
|
133
|
+
` }, ae = (Q = function(e, t) {
|
|
134
|
+
throw new Error(e[t] || e.default);
|
|
135
|
+
}, function e() {
|
|
136
|
+
for (var t = this, r = arguments.length, n = new Array(r), o = 0; o < r; o++) n[o] = arguments[o];
|
|
137
|
+
return n.length >= Q.length ? Q.apply(this, n) : function() {
|
|
138
|
+
for (var i = arguments.length, c = new Array(i), a = 0; a < i; a++) c[a] = arguments[a];
|
|
139
|
+
return e.apply(t, [].concat(n, c));
|
|
140
|
+
};
|
|
141
|
+
})(se), Re = function(e) {
|
|
142
|
+
var t;
|
|
143
|
+
return e || ae("configIsRequired"), t = e, {}.toString.call(t).includes("Object") || ae("configType"), e.urls ? (console.warn(se.deprecation), { paths: { vs: e.urls.monacoBase } }) : e;
|
|
144
|
+
};
|
|
145
|
+
function fe(e, t) {
|
|
146
|
+
return Object.keys(t).forEach(function(r) {
|
|
147
|
+
t[r] instanceof Object && e[r] && Object.assign(t[r], fe(e[r], t[r]));
|
|
148
|
+
}), oe(oe({}, e), t);
|
|
149
|
+
}
|
|
150
|
+
var Se = { type: "cancelation", msg: "operation is manually canceled" };
|
|
151
|
+
function W(e) {
|
|
152
|
+
var t = !1, r = new Promise(function(n, o) {
|
|
153
|
+
e.then(function(i) {
|
|
154
|
+
return t ? o(Se) : n(i);
|
|
155
|
+
}), e.catch(o);
|
|
156
|
+
});
|
|
157
|
+
return r.cancel = function() {
|
|
158
|
+
return t = !0;
|
|
159
|
+
}, r;
|
|
160
|
+
}
|
|
161
|
+
var X, de = function(e) {
|
|
162
|
+
if (Array.isArray(e)) return e;
|
|
163
|
+
}(X = Pe({ config: { paths: { vs: "https://cdn.jsdelivr.net/npm/monaco-editor@0.52.2/min/vs" } }, isInitialized: !1, resolve: null, reject: null, monaco: null })) || function(e) {
|
|
164
|
+
if (typeof Symbol < "u" && Symbol.iterator in Object(e)) {
|
|
165
|
+
var t = [], r = !0, n = !1, o = void 0;
|
|
166
|
+
try {
|
|
167
|
+
for (var i, c = e[Symbol.iterator](); !(r = (i = c.next()).done) && (t.push(i.value), t.length !== 2); r = !0) ;
|
|
168
|
+
} catch (a) {
|
|
169
|
+
n = !0, o = a;
|
|
170
|
+
} finally {
|
|
171
|
+
try {
|
|
172
|
+
r || c.return == null || c.return();
|
|
173
|
+
} finally {
|
|
174
|
+
if (n) throw o;
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
return t;
|
|
178
|
+
}
|
|
179
|
+
}(X) || function(e) {
|
|
180
|
+
if (e) {
|
|
181
|
+
if (typeof e == "string") return ie(e, 2);
|
|
182
|
+
var t = Object.prototype.toString.call(e).slice(8, -1);
|
|
183
|
+
return t === "Object" && e.constructor && (t = e.constructor.name), t === "Map" || t === "Set" ? Array.from(e) : t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? ie(e, 2) : void 0;
|
|
184
|
+
}
|
|
185
|
+
}(X) || function() {
|
|
186
|
+
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
187
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
188
|
+
}(), q = de[0], B = de[1];
|
|
189
|
+
function ke(e) {
|
|
190
|
+
return document.body.appendChild(e);
|
|
191
|
+
}
|
|
192
|
+
function xe(e) {
|
|
193
|
+
var t, r, n = q(function(i) {
|
|
194
|
+
return { config: i.config, reject: i.reject };
|
|
195
|
+
}), o = (t = "".concat(n.config.paths.vs, "/loader.js"), r = document.createElement("script"), t && (r.src = t), r);
|
|
196
|
+
return o.onload = function() {
|
|
197
|
+
return e();
|
|
198
|
+
}, o.onerror = n.reject, o;
|
|
199
|
+
}
|
|
200
|
+
function Ie() {
|
|
201
|
+
var e = q(function(r) {
|
|
202
|
+
return { config: r.config, resolve: r.resolve, reject: r.reject };
|
|
203
|
+
}), t = window.require;
|
|
204
|
+
t.config(e.config), t(["vs/editor/editor.main"], function(r) {
|
|
205
|
+
ge(r), e.resolve(r);
|
|
206
|
+
}, function(r) {
|
|
207
|
+
e.reject(r);
|
|
208
|
+
});
|
|
209
|
+
}
|
|
210
|
+
function ge(e) {
|
|
211
|
+
q().monaco || B({ monaco: e });
|
|
212
|
+
}
|
|
213
|
+
var Z = new Promise(function(e, t) {
|
|
214
|
+
return B({ resolve: e, reject: t });
|
|
215
|
+
}), Y = { config: function(e) {
|
|
216
|
+
var t = Re(e), r = t.monaco, n = function(o, i) {
|
|
217
|
+
if (o == null) return {};
|
|
218
|
+
var c, a, g = function(O, b) {
|
|
219
|
+
if (O == null) return {};
|
|
220
|
+
var E, P, S = {}, k = Object.keys(O);
|
|
221
|
+
for (P = 0; P < k.length; P++) E = k[P], b.indexOf(E) >= 0 || (S[E] = O[E]);
|
|
222
|
+
return S;
|
|
223
|
+
}(o, i);
|
|
224
|
+
if (Object.getOwnPropertySymbols) {
|
|
225
|
+
var p = Object.getOwnPropertySymbols(o);
|
|
226
|
+
for (a = 0; a < p.length; a++) c = p[a], i.indexOf(c) >= 0 || Object.prototype.propertyIsEnumerable.call(o, c) && (g[c] = o[c]);
|
|
227
|
+
}
|
|
228
|
+
return g;
|
|
229
|
+
}(t, ["monaco"]);
|
|
230
|
+
B(function(o) {
|
|
231
|
+
return { config: fe(o.config, n), monaco: r };
|
|
232
|
+
});
|
|
233
|
+
}, init: function() {
|
|
234
|
+
var e = q(function(t) {
|
|
235
|
+
return { monaco: t.monaco, isInitialized: t.isInitialized, resolve: t.resolve };
|
|
236
|
+
});
|
|
237
|
+
if (!e.isInitialized) {
|
|
238
|
+
if (B({ isInitialized: !0 }), e.monaco) return e.resolve(e.monaco), W(Z);
|
|
239
|
+
if (window.monaco && window.monaco.editor) return ge(window.monaco), e.resolve(window.monaco), W(Z);
|
|
240
|
+
(function() {
|
|
241
|
+
for (var t = arguments.length, r = new Array(t), n = 0; n < t; n++) r[n] = arguments[n];
|
|
242
|
+
return function(o) {
|
|
243
|
+
return r.reduceRight(function(i, c) {
|
|
244
|
+
return c(i);
|
|
245
|
+
}, o);
|
|
246
|
+
};
|
|
247
|
+
})(ke, xe)(Ie);
|
|
248
|
+
}
|
|
249
|
+
return W(Z);
|
|
250
|
+
}, __getMonacoInstance: function() {
|
|
251
|
+
return q(function(e) {
|
|
252
|
+
return e.monaco;
|
|
253
|
+
});
|
|
254
|
+
} }, Te = { display: "flex", position: "relative", textAlign: "initial" }, Ce = { width: "100%" }, Ae = { display: "none" }, De = { container: { display: "flex", height: "100%", width: "100%", justifyContent: "center", alignItems: "center" } }, Ve = function({ children: e }) {
|
|
255
|
+
return T.createElement("div", { style: De.container }, e);
|
|
256
|
+
}, pe = u.memo(function({ width: e, height: t, isEditorReady: r, loading: n, _ref: o, className: i, wrapperProps: c }) {
|
|
257
|
+
return T.createElement("section", { style: { ...Te, width: e, height: t }, ...c }, !r && T.createElement(Ve, null, n), T.createElement("div", { ref: o, style: { ...Ce, ...!r && Ae }, className: i }));
|
|
258
|
+
}), ee = function(e) {
|
|
259
|
+
u.useEffect(e, []);
|
|
260
|
+
}, j = function(e, t, r = !0) {
|
|
261
|
+
let n = u.useRef(!0);
|
|
262
|
+
u.useEffect(n.current || !r ? () => {
|
|
263
|
+
n.current = !1;
|
|
264
|
+
} : e, t);
|
|
265
|
+
};
|
|
266
|
+
function L() {
|
|
267
|
+
}
|
|
268
|
+
function I(e, t, r, n) {
|
|
269
|
+
return i = n, (o = e).editor.getModel(le(o, i)) || function(c, a, g, p) {
|
|
270
|
+
return c.editor.createModel(a, g, p ? le(c, p) : void 0);
|
|
271
|
+
}(e, t, r, n);
|
|
272
|
+
var o, i;
|
|
273
|
+
}
|
|
274
|
+
function le(e, t) {
|
|
275
|
+
return e.Uri.parse(t);
|
|
276
|
+
}
|
|
277
|
+
var qe = u.memo(function({ original: e, modified: t, language: r, originalLanguage: n, modifiedLanguage: o, originalModelPath: i, modifiedModelPath: c, keepCurrentOriginalModel: a = !1, keepCurrentModifiedModel: g = !1, theme: p = "light", loading: O = "Loading...", options: b = {}, height: E = "100%", width: P = "100%", className: S, wrapperProps: k = {}, beforeMount: $ = L, onMount: G = L }) {
|
|
278
|
+
let [w, C] = u.useState(!1), [A, m] = u.useState(!0), y = u.useRef(null), f = u.useRef(null), D = u.useRef(null), v = u.useRef(G), l = u.useRef($), x = u.useRef(!1);
|
|
279
|
+
ee(() => {
|
|
280
|
+
let s = Y.init();
|
|
281
|
+
return s.then((d) => (f.current = d) && m(!1)).catch((d) => d?.type !== "cancelation" && console.error("Monaco initialization: error:", d)), () => y.current ? function() {
|
|
282
|
+
let d = y.current?.getModel();
|
|
283
|
+
a || d?.original?.dispose(), g || d?.modified?.dispose(), y.current?.dispose();
|
|
284
|
+
}() : s.cancel();
|
|
285
|
+
}), j(() => {
|
|
286
|
+
if (y.current && f.current) {
|
|
287
|
+
let s = y.current.getOriginalEditor(), d = I(f.current, e || "", n || r || "text", i || "");
|
|
288
|
+
d !== s.getModel() && s.setModel(d);
|
|
289
|
+
}
|
|
290
|
+
}, [i], w), j(() => {
|
|
291
|
+
if (y.current && f.current) {
|
|
292
|
+
let s = y.current.getModifiedEditor(), d = I(f.current, t || "", o || r || "text", c || "");
|
|
293
|
+
d !== s.getModel() && s.setModel(d);
|
|
294
|
+
}
|
|
295
|
+
}, [c], w), j(() => {
|
|
296
|
+
let s = y.current.getModifiedEditor();
|
|
297
|
+
s.getOption(f.current.editor.EditorOption.readOnly) ? s.setValue(t || "") : t !== s.getValue() && (s.executeEdits("", [{ range: s.getModel().getFullModelRange(), text: t || "", forceMoveMarkers: !0 }]), s.pushUndoStop());
|
|
298
|
+
}, [t], w), j(() => {
|
|
299
|
+
y.current?.getModel()?.original.setValue(e || "");
|
|
300
|
+
}, [e], w), j(() => {
|
|
301
|
+
let { original: s, modified: d } = y.current.getModel();
|
|
302
|
+
f.current.editor.setModelLanguage(s, n || r || "text"), f.current.editor.setModelLanguage(d, o || r || "text");
|
|
303
|
+
}, [r, n, o], w), j(() => {
|
|
304
|
+
f.current?.editor.setTheme(p);
|
|
305
|
+
}, [p], w), j(() => {
|
|
306
|
+
y.current?.updateOptions(b);
|
|
307
|
+
}, [b], w);
|
|
308
|
+
let _ = u.useCallback(() => {
|
|
309
|
+
if (!f.current) return;
|
|
310
|
+
l.current(f.current);
|
|
311
|
+
let s = I(f.current, e || "", n || r || "text", i || ""), d = I(f.current, t || "", o || r || "text", c || "");
|
|
312
|
+
y.current?.setModel({ original: s, modified: d });
|
|
313
|
+
}, [r, t, o, e, n, i, c]), N = u.useCallback(() => {
|
|
314
|
+
!x.current && D.current && (y.current = f.current.editor.createDiffEditor(D.current, { automaticLayout: !0, ...b }), _(), f.current?.editor.setTheme(p), C(!0), x.current = !0);
|
|
315
|
+
}, [b, p, _]);
|
|
316
|
+
return u.useEffect(() => {
|
|
317
|
+
w && v.current(y.current, f.current);
|
|
318
|
+
}, [w]), u.useEffect(() => {
|
|
319
|
+
!A && !w && N();
|
|
320
|
+
}, [A, w, N]), T.createElement(pe, { width: P, height: E, isEditorReady: w, loading: O, _ref: D, className: S, wrapperProps: k });
|
|
321
|
+
}), _e = function() {
|
|
322
|
+
let [e, t] = u.useState(Y.__getMonacoInstance());
|
|
323
|
+
return ee(() => {
|
|
324
|
+
let r;
|
|
325
|
+
return e || (r = Y.init(), r.then((n) => {
|
|
326
|
+
t(n);
|
|
327
|
+
})), () => r?.cancel();
|
|
328
|
+
}), e;
|
|
329
|
+
}, F = /* @__PURE__ */ new Map(), Le = u.memo(function({ defaultValue: e, defaultLanguage: t, defaultPath: r, value: n, language: o, path: i, theme: c = "light", line: a, loading: g = "Loading...", options: p = {}, overrideServices: O = {}, saveViewState: b = !0, keepCurrentModel: E = !1, width: P = "100%", height: S = "100%", className: k, wrapperProps: $ = {}, beforeMount: G = L, onMount: w = L, onChange: C, onValidate: A = L }) {
|
|
330
|
+
let [m, y] = u.useState(!1), [f, D] = u.useState(!0), v = u.useRef(null), l = u.useRef(null), x = u.useRef(null), _ = u.useRef(w), N = u.useRef(G), s = u.useRef(), d = u.useRef(n), he = function(h) {
|
|
331
|
+
let M = u.useRef();
|
|
332
|
+
return u.useEffect(() => {
|
|
333
|
+
M.current = h;
|
|
334
|
+
}, [h]), M.current;
|
|
335
|
+
}(i), te = u.useRef(!1), H = u.useRef(!1);
|
|
336
|
+
ee(() => {
|
|
337
|
+
let h = Y.init();
|
|
338
|
+
return h.then((M) => (v.current = M) && D(!1)).catch((M) => M?.type !== "cancelation" && console.error("Monaco initialization: error:", M)), () => l.current ? (s.current?.dispose(), E ? b && F.set(i, l.current.saveViewState()) : l.current.getModel()?.dispose(), void l.current.dispose()) : h.cancel();
|
|
339
|
+
}), j(() => {
|
|
340
|
+
let h = I(v.current, e || n || "", t || o || "", i || r || "");
|
|
341
|
+
h !== l.current?.getModel() && (b && F.set(he, l.current?.saveViewState()), l.current?.setModel(h), b && l.current?.restoreViewState(F.get(i)));
|
|
342
|
+
}, [i], m), j(() => {
|
|
343
|
+
l.current?.updateOptions(p);
|
|
344
|
+
}, [p], m), j(() => {
|
|
345
|
+
!l.current || n === void 0 || (l.current.getOption(v.current.editor.EditorOption.readOnly) ? l.current.setValue(n) : n !== l.current.getValue() && (H.current = !0, l.current.executeEdits("", [{ range: l.current.getModel().getFullModelRange(), text: n, forceMoveMarkers: !0 }]), l.current.pushUndoStop(), H.current = !1));
|
|
346
|
+
}, [n], m), j(() => {
|
|
347
|
+
let h = l.current?.getModel();
|
|
348
|
+
h && o && v.current?.editor.setModelLanguage(h, o);
|
|
349
|
+
}, [o], m), j(() => {
|
|
350
|
+
a !== void 0 && l.current?.revealLine(a);
|
|
351
|
+
}, [a], m), j(() => {
|
|
352
|
+
v.current?.editor.setTheme(c);
|
|
353
|
+
}, [c], m);
|
|
354
|
+
let re = u.useCallback(() => {
|
|
355
|
+
if (x.current && v.current && !te.current) {
|
|
356
|
+
N.current(v.current);
|
|
357
|
+
let h = i || r, M = I(v.current, n || e || "", t || o || "", h || "");
|
|
358
|
+
l.current = v.current?.editor.create(x.current, { model: M, automaticLayout: !0, ...p }, O), b && l.current.restoreViewState(F.get(h)), v.current.editor.setTheme(c), a !== void 0 && l.current.revealLine(a), y(!0), te.current = !0;
|
|
359
|
+
}
|
|
360
|
+
}, [e, t, r, n, o, i, p, O, b, c, a]);
|
|
361
|
+
return u.useEffect(() => {
|
|
362
|
+
m && _.current(l.current, v.current);
|
|
363
|
+
}, [m]), u.useEffect(() => {
|
|
364
|
+
!f && !m && re();
|
|
365
|
+
}, [f, m, re]), d.current = n, u.useEffect(() => {
|
|
366
|
+
m && C && (s.current?.dispose(), s.current = l.current?.onDidChangeModelContent((h) => {
|
|
367
|
+
H.current || C(l.current.getValue(), h);
|
|
368
|
+
}));
|
|
369
|
+
}, [m, C]), u.useEffect(() => {
|
|
370
|
+
if (m) {
|
|
371
|
+
let h = v.current.editor.onDidChangeMarkers((M) => {
|
|
372
|
+
let J = l.current.getModel()?.uri;
|
|
373
|
+
if (J && M.find((K) => K.path === J.path)) {
|
|
374
|
+
let K = v.current.editor.getModelMarkers({ resource: J });
|
|
375
|
+
A?.(K);
|
|
376
|
+
}
|
|
377
|
+
});
|
|
378
|
+
return () => {
|
|
379
|
+
h?.dispose();
|
|
380
|
+
};
|
|
381
|
+
}
|
|
382
|
+
return () => {
|
|
383
|
+
};
|
|
384
|
+
}, [m, A]), T.createElement(pe, { width: P, height: S, isEditorReady: m, loading: g, _ref: x, className: k, wrapperProps: $ });
|
|
385
|
+
}), Ne = Le;
|
|
386
|
+
export {
|
|
387
|
+
qe as DiffEditor,
|
|
388
|
+
Le as Editor,
|
|
389
|
+
Ne as default,
|
|
390
|
+
Y as loader,
|
|
391
|
+
_e as useMonaco
|
|
392
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.22
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.22
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { aa as o } from "./B0A2aLiKDPGGU4k-.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.22
|
|
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
|
+
let i = null, n = null, e = null;
|
|
9
|
+
const a = Object.freeze({ compileTypescript: async function(t) {
|
|
10
|
+
if (!t?.source) return null;
|
|
11
|
+
if (n && o.deepEqual(n, t)) return i;
|
|
12
|
+
const l = await async function() {
|
|
13
|
+
if (e) return e;
|
|
14
|
+
const { TypeScriptCompiler: c } = await import("./Ba4SdTfCAvYS7a3O.mjs");
|
|
15
|
+
return e = new c(), e;
|
|
16
|
+
}(), r = await l.compileModule(t);
|
|
17
|
+
return i = r, n = t, r;
|
|
18
|
+
} });
|
|
19
|
+
export {
|
|
20
|
+
a as ScriptingUtils
|
|
21
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { r as e, c as o, t as z, j as i, L as E, B as K, d as R, f as W, e as O, aI as q, g as y } from "./B0A2aLiKDPGGU4k-.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.22
|
|
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, I) => {
|
|
9
|
+
const { initialValue: T = "", onOption: F, 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), [a, V] = e.useState(T), [B, D] = e.useState(""), [L, H] = e.useState(!0), s = o(async (t, n) => {
|
|
10
|
+
if (!p) return !0;
|
|
11
|
+
const h = await p?.(t, n);
|
|
12
|
+
D(h?.message ?? "");
|
|
13
|
+
const x = h?.valid ?? !0;
|
|
14
|
+
return H(x), x;
|
|
15
|
+
}, [p]), m = o(async (t) => {
|
|
16
|
+
r?.(a, t);
|
|
17
|
+
}, [a, r, u, F, g, f]), M = o(async (t) => {
|
|
18
|
+
t.keyCode === z.Enter && await s?.(a, null);
|
|
19
|
+
}, [a, m]), N = o((t) => {
|
|
20
|
+
V(t.target.value), s?.(t.target.value, null);
|
|
21
|
+
}, [l]), $ = o(async (t) => {
|
|
22
|
+
let n = await s(a, t);
|
|
23
|
+
try {
|
|
24
|
+
n !== !1 && (n = await s(a, t));
|
|
25
|
+
} catch {
|
|
26
|
+
}
|
|
27
|
+
return n ?? !0;
|
|
28
|
+
}, [a, l]);
|
|
29
|
+
return i.jsx(E, { options: d, onDone: u, onOption: (t, n) => {
|
|
30
|
+
n || m(t);
|
|
31
|
+
}, onValidateOption: $, cancelOption: g, defaultOption: f, autoFocusSel: v, ref: I, ...C, children: i.jsx(K, { sx: { paddingTop: (t) => t.spacing(1), paddingBottom: (t) => t.spacing(0) }, children: i.jsx(R, { sx: { paddingTop: (t) => t.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: i.jsx(W, { onFocus: (t) => {
|
|
32
|
+
b || t.target?.select(), k(!0);
|
|
33
|
+
}, type: S, label: P, helperText: B || " ", sx: { width: "100%", "& .MuiFormHelperText-root": { marginTop: (t) => t.spacing(0.5), color: L ? void 0 : "error.main" } }, InputLabelProps: { shrink: !0 }, InputProps: { inputProps: { placeholder: j, 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", y(5))}, ${O("#fff", y(5))})` } } }, value: a, onChange: N, onKeyDown: M, onContextMenu: (t) => {
|
|
34
|
+
t.stopPropagation();
|
|
35
|
+
} }) }) }) });
|
|
36
|
+
}));
|
|
37
|
+
export {
|
|
38
|
+
J as default
|
|
39
|
+
};
|
|
@@ -1,54 +1,54 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { i as E, j as t, r as o, k as p, w as b, c as M, t as le, l as ae, x as re, D as ce, B as O, E as g, p as m, y as pe, Z as j, n as de, f as Z, e as R, o as ue, q as fe, z as xe, A as ge, g as v, G as Q, H as me, V as he, J as Oe, M as je, d as Ce, I as ye, S as be } from "./B0A2aLiKDPGGU4k-.mjs";
|
|
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.22
|
|
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 Re = E(t.jsx("path", { d: "M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z" }), "ArrowBack"),
|
|
9
|
-
const { label: h, value: c, options: l, onSelect: d, tabIndex: C = 0, ...F } =
|
|
8
|
+
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"), K = o.memo((T) => {
|
|
9
|
+
const { label: h, value: c, options: l, onSelect: d, tabIndex: C = 0, ...F } = T, [I, y] = o.useState(() => ee(c, l));
|
|
10
10
|
o.useEffect(() => {
|
|
11
11
|
y(ee(c, l));
|
|
12
12
|
}, [c, l]);
|
|
13
|
-
const
|
|
13
|
+
const D = M((u) => {
|
|
14
14
|
y(u.target.value), d?.(l[u.target.value]);
|
|
15
15
|
}, [d, l]), a = o.useMemo(() => Object.keys(l).map((u) => t.jsx(je, { value: u, children: u }, u)), [l]);
|
|
16
|
-
return t.jsxs(Ce, { sx: { minWidth: 135 }, size: "small", children: [t.jsx(ye, { children: h }), t.jsx(be, { inputProps: { tabIndex: C }, value: I, label: h, onChange:
|
|
17
|
-
}),
|
|
16
|
+
return t.jsxs(Ce, { sx: { minWidth: 135 }, size: "small", children: [t.jsx(ye, { children: h }), t.jsx(be, { inputProps: { tabIndex: C }, value: I, label: h, onChange: D, sx: { backgroundImage: `linear-gradient(${R("#fff", v(5))}, ${R("#fff", v(5))})` }, ...F, children: a })] });
|
|
17
|
+
}), Y = { 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 };
|
|
18
18
|
delete te.Values;
|
|
19
|
-
const Se = { "By Rows": !0, "By Columns": !1 }, ee = (
|
|
19
|
+
const Se = { "By Rows": !0, "By Columns": !1 }, ee = (T, h) => {
|
|
20
20
|
const c = Object.keys(h);
|
|
21
21
|
for (let l = 0; l < c.length; l++) {
|
|
22
22
|
const d = c[l];
|
|
23
|
-
if (h[d] ===
|
|
23
|
+
if (h[d] === T) return d;
|
|
24
24
|
}
|
|
25
|
-
}, Ee = o.memo((
|
|
26
|
-
const { replace: h = !1, findText: c, replaceText: l, findOptions: d, replaceOptions: C, title: F, onHide: I, onFindOrReplace: y, ...
|
|
25
|
+
}, Ee = o.memo((T) => {
|
|
26
|
+
const { replace: h = !1, findText: c, replaceText: l, findOptions: d, replaceOptions: C, title: F, onHide: I, onFindOrReplace: y, ...D } = T, a = o.useRef(null), u = o.useRef(null), V = o.useRef(null), H = o.useRef(null), $ = o.useRef(null), z = o.useRef(null), B = (e, n) => {
|
|
27
27
|
n && (n.start(e, { center: !1 }), setTimeout(() => n.stop(e), 180));
|
|
28
|
-
}, [W, w] = o.useState(!1), [
|
|
28
|
+
}, [W, w] = o.useState(!1), [L, se] = o.useState(!1), [f, A] = o.useState(h), [N, P] = o.useState(!1), [G, U] = o.useState(!1), [i, r] = o.useState({ findText: null, replaceText: null, replace: h, replaceOptions: {}, findOptions: { matchCase: !1, matchEntireCell: !1, useRegex: !1, orientation: b.Orientation.Row, fields: [p.Content.Formulas] }, scope: Y.Sheet }), k = M(async (e, n, s, S) => {
|
|
29
29
|
if (!y) return;
|
|
30
30
|
const x = { ...i };
|
|
31
31
|
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;
|
|
32
32
|
const oe = await y({ autoFocus: S, ...x });
|
|
33
|
-
|
|
33
|
+
P(oe === 0);
|
|
34
34
|
}, [i, y]);
|
|
35
35
|
o.useEffect(() => {
|
|
36
|
-
|
|
37
|
-
}, [i,
|
|
38
|
-
const
|
|
36
|
+
P(!1);
|
|
37
|
+
}, [i, L, f]);
|
|
38
|
+
const q = M((e, n) => {
|
|
39
39
|
if (e.keyCode === le.Enter) {
|
|
40
40
|
if (!i.findText) return;
|
|
41
41
|
let s = !0, S = !1;
|
|
42
|
-
e.shiftKey && (s = !1), n ? (e.ctrlKey && e.altKey && (S = !0),
|
|
42
|
+
e.shiftKey && (s = !1), n ? (e.ctrlKey && e.altKey && (S = !0), B(e, S ? z.current : $.current)) : B(e, s ? H.current : V.current), k(s, n, S, !1);
|
|
43
43
|
}
|
|
44
|
-
}, [i]),
|
|
44
|
+
}, [i]), J = o.useRef(null);
|
|
45
45
|
o.useLayoutEffect(() => {
|
|
46
46
|
r((e) => {
|
|
47
47
|
const n = { ...e };
|
|
48
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 }), i.findOptions.fields?.[0] || (i.findOptions.fields = [p.Content.Formulas]);
|
|
49
49
|
const s = !(!C && l === void 0);
|
|
50
|
-
return s &&
|
|
51
|
-
}),
|
|
50
|
+
return s && A(s), n;
|
|
51
|
+
}), G || J.current?.focus();
|
|
52
52
|
}, [c, l, d, C]), o.useEffect(() => {
|
|
53
53
|
f ? (i.findOptions.fields[0], p.Content.Values) : w(!0);
|
|
54
54
|
}, [f]), o.useEffect(() => {
|
|
@@ -56,11 +56,11 @@ const Se = { "By Rows": !0, "By Columns": !1 }, ee = (v, h) => {
|
|
|
56
56
|
a.current?.select(), w(!1);
|
|
57
57
|
}, { once: !0 });
|
|
58
58
|
}, [W, i]);
|
|
59
|
-
const [ie, { width:
|
|
60
|
-
return t.jsx(re, { ref:
|
|
61
|
-
|
|
62
|
-
}, PaperProps: { elevation:
|
|
63
|
-
if (e.key === "h" && e.ctrlKey)
|
|
59
|
+
const [ie, { width: X }] = ae();
|
|
60
|
+
return t.jsx(re, { ref: J, title: F ?? (f ? "Find & Replace" : "Find"), initialPosition: { y: "35" }, autoFocusSel: ".input", onHide: I, onFocus: () => U(!0), onBlur: () => {
|
|
61
|
+
U(!1), P(!1);
|
|
62
|
+
}, PaperProps: { elevation: G ? 3 : 1 }, ...D, 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) => {
|
|
63
|
+
if (e.key === "h" && e.ctrlKey) A(!0), a.current?.contains(document.activeElement) && u.current?.focus();
|
|
64
64
|
else if (e.key === "f" && e.ctrlKey) a.current?.focus();
|
|
65
65
|
else if (e.key === "c" && e.altKey) r((n) => {
|
|
66
66
|
const s = { ...n };
|
|
@@ -78,11 +78,11 @@ const Se = { "By Rows": !0, "By Columns": !1 }, ee = (v, h) => {
|
|
|
78
78
|
});
|
|
79
79
|
}
|
|
80
80
|
e.preventDefault();
|
|
81
|
-
}, children: [t.jsxs(O, { sx: { display: "flex", flexDirection: "row", gap: (e) => e.spacing(1) }, children: [t.jsxs(O, { sx: { display: "flex", flexDirection: "row", alignItems: "start", gap: (e) => e.spacing(0.25), paddingTop: "3px" }, children: [t.jsx(g, { selected:
|
|
81
|
+
}, children: [t.jsxs(O, { sx: { display: "flex", flexDirection: "row", gap: (e) => e.spacing(1) }, children: [t.jsxs(O, { sx: { display: "flex", flexDirection: "row", alignItems: "start", gap: (e) => e.spacing(0.25), paddingTop: "3px" }, children: [t.jsx(g, { selected: L, onSelectToggle: (e) => {
|
|
82
82
|
se(e);
|
|
83
83
|
}, preventFocus: !0, label: "Toggle Additional Options", icon: m(t.jsx(pe, {})) }), t.jsx(g, { selected: f, onSelectToggle: (e) => {
|
|
84
|
-
|
|
85
|
-
}, preventFocus: !0, label: "Toggle Replace", icon: m(t.jsx(de, {})), shortcut: { key: f ? "F" : "H", modifiers: [j.Ctrl] } })] }), t.jsxs(O, { sx: { display: "flex", flexDirection: "column", maxWidth: "100%", boxSizing: "border-box" }, children: [t.jsxs(O, { sx: { display: "flex", flexDirection: "row", alignItems: "center" }, children: [t.jsx(
|
|
84
|
+
A(e);
|
|
85
|
+
}, preventFocus: !0, label: "Toggle Replace", icon: m(t.jsx(de, {})), shortcut: { key: f ? "F" : "H", modifiers: [j.Ctrl] } })] }), t.jsxs(O, { sx: { display: "flex", flexDirection: "column", maxWidth: "100%", boxSizing: "border-box" }, children: [t.jsxs(O, { sx: { display: "flex", flexDirection: "row", alignItems: "center" }, children: [t.jsx(Z, { label: "Find", InputLabelProps: { shrink: !0 }, InputProps: { sx: { paddingRight: (e) => e.spacing(1), minWidth: X > 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(O, { sx: { display: "flex", alignItems: "center", flexDirection: "row", gap: "1px" }, children: [t.jsx(g, { selected: i.findOptions.matchCase, onSelectToggle: (e) => {
|
|
86
86
|
r((n) => {
|
|
87
87
|
const s = { ...n };
|
|
88
88
|
return s.findOptions.matchCase = e, s;
|
|
@@ -102,28 +102,28 @@ const Se = { "By Rows": !0, "By Columns": !1 }, ee = (v, h) => {
|
|
|
102
102
|
const s = { ...n };
|
|
103
103
|
return s.findText = e.target.value, s;
|
|
104
104
|
});
|
|
105
|
-
}, onKeyDown: (e) =>
|
|
105
|
+
}, onKeyDown: (e) => q(e, !1), onContextMenu: (e) => {
|
|
106
106
|
e.stopPropagation();
|
|
107
107
|
} }), t.jsx(g, { selected: i.findOptions.reverse, onSelectToggle: (e) => {
|
|
108
108
|
k(!1, !1);
|
|
109
109
|
}, touchRippleRef: V, label: "", shortcut: { key: "Enter", modifiers: [j.Shift] }, icon: m(i.findOptions.orientation !== b.Orientation.Column ? t.jsx(Re, {}) : t.jsx(ke, {})), disabled: !i.findText }), t.jsx(g, { selected: !i.findOptions.reverse, onSelectToggle: (e) => {
|
|
110
110
|
k(!0, !1);
|
|
111
|
-
}, touchRippleRef:
|
|
111
|
+
}, touchRippleRef: H, label: "Next Match", shortcut: { key: "Enter" }, icon: m(i.findOptions.orientation !== b.Orientation.Column ? t.jsx(Te, {}) : t.jsx(ve, {})), disabled: !i.findText })] }), t.jsx(Q, { in: f, timeout: _, onExit: () => {
|
|
112
112
|
a.current?.focus();
|
|
113
|
-
}, children: t.jsxs(O, { sx: { display: "flex", flexDirection: "row", alignItems: "center", marginTop: (e) => e.spacing(2) }, children: [t.jsx(
|
|
113
|
+
}, children: t.jsxs(O, { sx: { display: "flex", flexDirection: "row", alignItems: "center", marginTop: (e) => e.spacing(2) }, children: [t.jsx(Z, { 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) => {
|
|
114
114
|
r((n) => {
|
|
115
115
|
const s = { ...n };
|
|
116
116
|
return s.replaceText = e.target.value, s;
|
|
117
117
|
});
|
|
118
|
-
}, onKeyDown: (e) =>
|
|
118
|
+
}, onKeyDown: (e) => q(e, !0), onContextMenu: (e) => {
|
|
119
119
|
e.stopPropagation();
|
|
120
120
|
} }), t.jsx(g, { onSelectToggle: (e) => {
|
|
121
121
|
k(!0, !0);
|
|
122
|
-
}, touchRippleRef:
|
|
122
|
+
}, touchRippleRef: $, label: "Replace", shortcut: { key: "Enter" }, icon: m(t.jsx(me, {})), disabled: !i.findText }), t.jsx(g, { onSelectToggle: (e) => {
|
|
123
123
|
k(!0, !0, !0);
|
|
124
|
-
}, touchRippleRef:
|
|
124
|
+
}, touchRippleRef: z, label: "Replace All", shortcut: { key: "Enter", modifiers: [j.Ctrl, j.Alt] }, icon: m(t.jsx(he, {})), disabled: !i.findText })] }) })] })] }), t.jsx(Q, { in: L, timeout: _, onExit: () => {
|
|
125
125
|
a.current?.focus();
|
|
126
|
-
}, children: t.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: [t.jsx(Oe, { orientation: "horizontal", sx: { marginBottom: (e) => e.spacing(1.5) } }), t.jsxs(O, { sx: { display: "flex", flexDirection:
|
|
126
|
+
}, children: t.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: [t.jsx(Oe, { orientation: "horizontal", sx: { marginBottom: (e) => e.spacing(1.5) } }), t.jsxs(O, { sx: { display: "flex", flexDirection: X >= 413 ? "row" : "column", justifyContent: "space-evenly", alignItems: "center", rowGap: (e) => e.spacing(2) }, tabIndex: -1, children: [t.jsx(K, { label: "Within", value: i.scope, options: Y, onSelect: (e) => {
|
|
127
127
|
r((n) => {
|
|
128
128
|
const s = { ...n };
|
|
129
129
|
return s.scope = e, s;
|
|
@@ -142,6 +142,6 @@ const Se = { "By Rows": !0, "By Columns": !1 }, ee = (v, h) => {
|
|
|
142
142
|
});
|
|
143
143
|
export {
|
|
144
144
|
Ee as FindReplaceWindow,
|
|
145
|
-
|
|
145
|
+
Y as ScopeOptions,
|
|
146
146
|
Ee as default
|
|
147
147
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.22
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|