@sheetxl/studio-mui 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +11 -11
- package/README.md +24 -24
- package/browser/cjs/1YEg8ptbpW_zo0_c.cjs +12 -0
- package/browser/cjs/{CwsoT9PB20BPWI94.cjs → 3mnCV1wkKu4YCs7n.cjs} +1 -1
- package/browser/cjs/{DYpWMegNKhcIz5Xx.cjs → B1CCk3o0Nv4mJ1Ff.cjs} +2 -2
- package/browser/cjs/{CE5a4FdaHLhTxjMI.cjs → B1WSHW4lt2L5wJO3.cjs} +3 -3
- package/browser/cjs/{CADYkszzYeb1okev.cjs → B6QgPFUbEVsL1O-L.cjs} +1 -12
- package/browser/cjs/B79CHYVWaVXMRmoE.cjs +6 -0
- package/browser/cjs/{Co4jRh5Lu0sSmXGC.cjs → BEt_uFICH24FzpOe.cjs} +2 -2
- package/browser/cjs/BEzNZIQy5IlW0iAl.cjs +238 -0
- package/browser/cjs/{BJPmztbd5VBK5mm9.cjs → BHq8j-aNWkuYkURM.cjs} +1 -1
- package/browser/cjs/{BfIfeQXC56VMrPqG.cjs → BKo9DTgY_3d6nE0E.cjs} +1 -1
- package/browser/cjs/{DxscJXvrkziYQcFs.cjs → BNA6r4S5nm_CzUm6.cjs} +1 -1
- package/browser/cjs/BNpz92-BEgkxWvh6.cjs +11 -0
- package/browser/cjs/{BZDyAbB3lej5Jex6.cjs → BQeCI5I748X8pDto.cjs} +1 -1
- package/browser/cjs/BR4KYl8frdYrZXhN.cjs +13 -0
- package/browser/cjs/{DoP_dQD568y-PdQR.cjs → BSnfy-ivJTWdlK3A.cjs} +2 -2
- package/browser/cjs/{iloxo818N9ISo1kb.cjs → BVB95JnDB-sUQttP.cjs} +1 -1
- package/browser/cjs/{DeDq_kDsb_3oXYP3.cjs → BbzI8ABw0DHCij-A.cjs} +1 -1
- package/browser/cjs/{DJPvDosur15jRed6.cjs → BcQkD2UP3Iqsf8Fi.cjs} +2 -46
- package/browser/cjs/{u8HVgr27hT-2GVfY.cjs → BdV3cCQa36ZCkL4H.cjs} +1 -1
- package/browser/cjs/{C8QBQtkkjvMqMVxZ.cjs → Bh2zzNItZd-6FD_Z.cjs} +2 -2
- package/browser/cjs/{4WTvahGneDLqs8nK.cjs → By_cIz-TMire5bw7.cjs} +9 -24
- package/browser/cjs/C-_njVetl9K8CJri.cjs +15 -0
- package/browser/cjs/{s023hbvdZPtE0ZgU.cjs → C5yXi0ZLdk8cegEV.cjs} +4 -4
- package/browser/cjs/{CHkQq93Benc1vCpr.cjs → CD9-AAL5QOuUXpGa.cjs} +2 -2
- package/browser/cjs/{DbOphBQCPCGOjcMB.cjs → CFyRrZrtTj0szEBJ.cjs} +20 -25
- package/browser/cjs/{DyBAl2cYUIbkoWsa.cjs → CFz-gPnOVecGhXAQ.cjs} +1 -1
- package/browser/cjs/{D57lYhefqT866UE1.cjs → CIDji1QOkywtvqEU.cjs} +1 -1
- package/browser/cjs/{fSTkOlUIbVZ0w-Q2.cjs → CMZ7PzY_xBaB01Wa.cjs} +1 -1
- package/browser/cjs/{C_Wcg7JI6v6vkBD-.cjs → CP8909XpM31di_I4.cjs} +1 -1
- package/browser/cjs/CS3l6TIh0gU3sA2R.cjs +6 -0
- package/browser/cjs/{DbtwYi7JAHoFLILb.cjs → Cb7Ywgxnsg32GtZC.cjs} +4 -19
- package/browser/cjs/{BQLQEJgX-sM2Sdn6.cjs → CdlodVmE_U6kq13A.cjs} +2 -2
- package/browser/cjs/{Dj7OrKe2zahSy4rW.cjs → ChDhTJyaQVGQ_AAW.cjs} +2 -7
- package/browser/cjs/{30P2pzSg1uZ4m4Zw.cjs → CoAUFW3rE-ZU04sj.cjs} +1 -1
- package/browser/cjs/{CFRl9gT7qj3ENMiA.cjs → CoGNjOqAsq3v4dNU.cjs} +1 -1
- package/browser/cjs/{DqYbR5LZ21mHAb4i.cjs → CqwNicmb3Ve75UKg.cjs} +1 -1
- package/browser/cjs/CsjmqYMv0yUjJuEa.cjs +7 -0
- package/browser/cjs/{BBBGyVg88HFyp_Ew.cjs → CthhJsNSsNw003nz.cjs} +1 -1
- package/browser/cjs/{DvBmxW9WFXe5nTOj.cjs → CtuayTMsg15Ek7N2.cjs} +1 -1
- package/browser/cjs/{CEyf06HL4OpZLe_9.cjs → D0KbXmifGL9COnTn.cjs} +2 -2
- package/browser/cjs/{_GQMxgpoD4XQiStU.cjs → D1z2rxTd4juxWblf.cjs} +1 -1
- package/browser/cjs/D4zF1Hhc3mBlNNoX.cjs +6 -0
- package/browser/cjs/{vavqGfGZgq5i7n4B.cjs → D8eS_vce5B9menV5.cjs} +2 -2
- package/browser/cjs/{B4ne8Qu3ISmBz2I_.cjs → DVU4idIDTTz9Pu5P.cjs} +1 -1
- package/browser/cjs/DW9WwmeG2vVMGbYU.cjs +15 -0
- package/browser/cjs/{D0u9_xtziw7PDcl8.cjs → DrJyN_0T5kyWuuIh.cjs} +1 -1
- package/browser/cjs/{CIZNaSq0_vaZNZu9.cjs → DxACtr3WZnBFuXpu.cjs} +2 -2
- package/browser/cjs/{yNZPaSNiBbCzS-ZR.cjs → K4bhbGLflu3pYFHS.cjs} +3 -8
- package/browser/cjs/{tXdOaeSBJX_Dwtfs.cjs → PdwwTxM_DHCgQrxv.cjs} +2 -2
- package/browser/cjs/Q-_8LHrKWcpj3r7F.cjs +6 -0
- package/browser/cjs/{DcE7grNkk9CxPlz7.cjs → RrCz-1Q4Q9suB7j_.cjs} +1 -1
- package/browser/cjs/index.cjs +3 -3
- package/browser/cjs/{UZJaTSqgj_1vwBPD.cjs → kB-8OyiedI6iKdlv.cjs} +1 -1
- package/browser/cjs/{DHmGfW6PcfPhM8oL.cjs → nKP8-E-UOOscXlg2.cjs} +1 -1
- package/browser/cjs/{DrfhSPGoBxXa2zrq.cjs → nMYwRU0M-HXpWQ6C.cjs} +1 -1
- package/browser/cjs/q0y6NDefblRQrS_O.cjs +6 -0
- package/browser/cjs/{WvFOw7IRc6nN3Ktw.cjs → qvN5BhYwdxsmB52p.cjs} +1 -1
- package/browser/cjs/{Dkjsd1qc-X40cksg.cjs → tavAzhljteQQ_ct2.cjs} +1 -1
- package/browser/esm/{B9OOPVMmJt7VFL6P.mjs → 0lX_9VGN9S6inxKd.mjs} +1 -13
- package/browser/esm/{Cluz9cocEiEkoBqC.mjs → 18HMxDJcGi3erlU-.mjs} +28 -28
- package/browser/esm/{9xTBsz6sONUyOHUW.mjs → AZqmGzpPMrJbgV2W.mjs} +1 -7
- package/browser/esm/{LwaL-xJmA9EnZcqb.mjs → B3EG6jjfR2LEnrAU.mjs} +2 -8
- package/browser/esm/{BPvaz6hF_IcJuJOV.mjs → B64E2zQmL6hLVfZj.mjs} +1 -7
- package/browser/esm/{B3tAu8z_m4SfpweK.mjs → B6ELdf71jSY39vY1.mjs} +1 -1
- package/browser/esm/{CnInDMsKLsntQ4ZW.mjs → B7scZi_VczEUXidh.mjs} +1 -7
- package/browser/esm/{wefMW1XHosAljDkr.mjs → BDch4FvLXEr0f6ZQ.mjs} +2 -2
- package/browser/esm/{B4KRBO609RwNjzvi.mjs → BGEuFRd7CprH18Ux.mjs} +1 -7
- package/browser/esm/{B3zRuS9CUBbywRyw.mjs → BHTWupqElPJQagv4.mjs} +1 -7
- package/{node/esm/s1BEJnCqBOb8JJDU.mjs → browser/esm/BOL63BcaR86vXxt8.mjs} +1 -7
- package/browser/esm/{BFDuLEYykYS1BDn_.mjs → BPZsd5vtzGJ4PtJr.mjs} +4 -22
- package/browser/esm/{5ZeTyyMjwTBT3EsV.mjs → B_eHwwd9-PXWYLMA.mjs} +1 -7
- package/browser/esm/{DwSOLCKwPflQ8oiF.mjs → BbloSfJTNz8-g7pa.mjs} +4 -4
- package/browser/esm/{gNrO89j_4tRIGEtM.mjs → BhfMnNKVTfBV03lK.mjs} +3 -9
- package/browser/esm/{C6k-LrteLTacKvUJ.mjs → BkY6jPvgDNSHVjm1.mjs} +6 -6
- package/browser/esm/{0C6QuzGc8rTp95Os.mjs → BmOgysv2Oa-vQXE0.mjs} +2 -2
- package/browser/esm/{4JoQwaWGy7X9v7Fv.mjs → BpTfL8wDDLWCFbUW.mjs} +1 -7
- package/browser/esm/{BFcMJeN-Jx_QyCvg.mjs → Bsirmjdfj8W9sVx5.mjs} +2 -2
- package/browser/esm/{CpSUrjPU9wYc3Jhg.mjs → BslEgsLB-o1nc3NJ.mjs} +1 -7
- package/browser/esm/{DgAkhv_thUOpWlnL.mjs → BvJx_QZ4eKWrufFK.mjs} +9167 -9247
- package/browser/esm/{QzCoqfRysNMoTzb1.mjs → Bwbk5CiNsPh4oG-e.mjs} +1 -7
- package/browser/esm/{Cl0T7a1Q_gErBp0a.mjs → C-I7rCun0hGkuQ6J.mjs} +1 -7
- package/browser/esm/{Bl6YU6FumgUvr0UG.mjs → CF7ede_gzDlyTqfP.mjs} +1 -7
- package/browser/esm/{5NrbFIuL4ezvklhf.mjs → CXVZIbnDZdhdPDsS.mjs} +2 -2
- package/browser/esm/{rrGPhfv9KHmWuZ1O.mjs → CcSG0PBy9Xc99VMv.mjs} +1 -7
- package/{node/esm/BbEfqkC8wcfMDYW7.mjs → browser/esm/CcSdpe6QFrIBEfxa.mjs} +1 -7
- package/browser/esm/{BBN8odKP7v-WcPD2.mjs → CdCJMJxXOSz6lxOy.mjs} +1 -7
- package/browser/esm/CjHkOkuQRYMpUxe5.mjs +21 -0
- package/browser/esm/{C7nYvIDkdvZ1Dj4m.mjs → Cldrd9EWLvrv7OmM.mjs} +3 -21
- package/browser/esm/{CPpDKazrNC3936LC.mjs → CnEgkW6Z3qXNMA3o.mjs} +1 -7
- package/browser/esm/{cAw1gvsUyweC9j3E.mjs → DKyHs94FV1bG9frs.mjs} +1 -7
- package/browser/esm/{Cx2I29WhfKMYwydX.mjs → DSy9HoHQkEeO33eC.mjs} +1 -7
- package/browser/esm/{H8PuG54lnnKpLJ9K.mjs → DTuQMORnquJOYPd_.mjs} +2 -2
- package/browser/esm/DYfYa5shdr1OHSo9.mjs +24 -0
- package/browser/esm/{DQA0GopfVCQr8XAy.mjs → DbaMa7xh1JERqjfu.mjs} +1 -7
- package/browser/esm/{C55fwXLJyCRvXnox.mjs → DdvoohT27nSi_3cd.mjs} +1 -7
- package/browser/esm/{BNXkhPhojFj2qVzy.mjs → DfomV5Es6zAn4RZi.mjs} +96 -102
- package/browser/esm/{CtY7bZRPP4_KRNmt.mjs → Dr9yLItWEDzTQl2s.mjs} +2 -2
- package/{node/esm/BRaRGYJwIxUVeGqc.mjs → browser/esm/DskzH7zTkxNR4kmu.mjs} +1 -7
- package/browser/esm/{BAe4Amd0bcUlcPDo.mjs → DyJFrpwrf2hOoMB8.mjs} +1 -7
- package/browser/esm/{BoyMSFQmu3xbxOlA.mjs → E57nRNXAFyQlfQcA.mjs} +4 -10
- package/{node/esm/CpoyQrYrPV0-9RPc.mjs → browser/esm/LyNZuqChCFhEwsot.mjs} +1 -7
- package/browser/esm/{DB1-J0MOAeH11ZyJ.mjs → OA194vapZVgAyYfI.mjs} +1 -7
- package/browser/esm/{CCk3fUZpSsFCIy8K.mjs → OAJjLDFVSai0yCAH.mjs} +2 -14
- package/browser/esm/{DsWvUVuInbcvxqIu.mjs → YWavBpnhyEFk5GMG.mjs} +8 -25
- package/browser/esm/{DgnVRt8VYgaSZGHj.mjs → aApOir3D3mXBHnvi.mjs} +12 -10
- package/browser/esm/{Dwss46fwkNYFDw8t.mjs → bKlq3J1NJoYG9nEK.mjs} +7 -71
- package/browser/esm/{BCMVtS3Laq-Xh8Di.mjs → i5M3BzX6_TbbFlH5.mjs} +1 -9
- package/browser/esm/index.mjs +10 -10
- package/browser/esm/{DAO7AruN1dqHKCzx.mjs → j8ncnjiLyFIkRpRY.mjs} +37 -57
- package/browser/esm/{CJ0O6bKXr7qeO25m.mjs → oISMsYlGCPZ7-0lX.mjs} +2 -8
- package/browser/esm/{DxDjGuX7dIrp2S15.mjs → oPlD2dUf3YmsFkON.mjs} +2 -14
- package/{node/esm/BfEdsxDq6MOecVqq.mjs → browser/esm/orOLzbRzqosIA5-M.mjs} +1 -7
- package/browser/esm/{wy5pKj7t63p_up1j.mjs → sBOX_jXfdNOE_89x.mjs} +134 -134
- package/browser/esm/{CgUrlFh28m1acaYQ.mjs → siOdsSC0nSzvcV6e.mjs} +1 -7
- package/browser/esm/{DsZx_Zkhn1I5H_1J.mjs → v7U7eI9QzTNkm3Bw.mjs} +2 -2
- package/browser/esm/{BBSvNtWZn99G2Sel.mjs → xLRSe1qHuVdyTRam.mjs} +1 -14
- package/licenses/dependencies.txt +77 -77
- package/node/assets/style.css +1 -1
- package/node/esm/{hpjhhcXZ4ox1ttj9.mjs → 2LRTxgV_lBAeZ-P_.mjs} +3 -9
- package/node/esm/{9xTBsz6sONUyOHUW.mjs → AZqmGzpPMrJbgV2W.mjs} +1 -7
- package/node/esm/{D-5hudKxKNcxHDv4.mjs → B200JUCQCqtoXtze.mjs} +11 -29
- package/node/esm/{CipoP939zaH4fcOy.mjs → B4FapexYISkwv2PP.mjs} +1 -7
- package/node/esm/{BPvaz6hF_IcJuJOV.mjs → B64E2zQmL6hLVfZj.mjs} +1 -7
- package/node/esm/{C6u3GsSp4e2cvW9r.mjs → B6wRJIobYG51nE8k.mjs} +1 -1
- package/node/esm/{qiZgtOByq0ONnESS.mjs → BD9x8fkvhcvJ7xjU.mjs} +1 -8
- package/node/esm/{B4KRBO609RwNjzvi.mjs → BGEuFRd7CprH18Ux.mjs} +1 -7
- package/node/esm/{wqbe04B4sEFndP3V.mjs → BI5BlWbeESiI0CbN.mjs} +4 -10
- package/node/esm/{C8STZ7Zt6L0KzqIE.mjs → BLdoPiUZ3PSw_Jx4.mjs} +2 -2
- package/{browser/esm/s1BEJnCqBOb8JJDU.mjs → node/esm/BOL63BcaR86vXxt8.mjs} +1 -7
- package/node/esm/{B_G7O_zb-jF1PwUW.mjs → BV8QMkxYffe5YuKF.mjs} +8 -8
- package/node/esm/{CGpy_JYlJvSqi2bv.mjs → BXtDB7WZJlFEKr8M.mjs} +1 -3
- package/node/esm/{C0BuhFhvary0MrNX.mjs → BkyuOVy2KETQMFCO.mjs} +1 -7
- package/node/esm/{4JoQwaWGy7X9v7Fv.mjs → BpTfL8wDDLWCFbUW.mjs} +1 -7
- package/node/esm/{DCuXbif8mI95HsNT.mjs → BqgsCpsX8xl4a-gQ.mjs} +1 -7
- package/node/esm/{C5U11rfhUvotCiwk.mjs → Bqi23kQTBoGLm5F8.mjs} +7 -71
- package/node/esm/{QzCoqfRysNMoTzb1.mjs → Bwbk5CiNsPh4oG-e.mjs} +1 -7
- package/node/esm/{BBdLL4LjdF1xMJM1.mjs → Bzn7iPRWVFns38as.mjs} +1 -7
- package/node/esm/{CMqERd7Psx-3Wfm9.mjs → C5AyRET8yEW8AHCx.mjs} +6 -26
- package/node/esm/{Bl6YU6FumgUvr0UG.mjs → CF7ede_gzDlyTqfP.mjs} +1 -7
- package/node/esm/{DdzeWAW2GHn9AEEc.mjs → CHa8zqxxqN37UAbT.mjs} +1 -7
- package/node/esm/{hNQ44J3MKLhqWqDQ.mjs → CJZtnupg7aYCcfKR.mjs} +2 -2
- package/node/esm/CaTPeRd3yej1D44o.mjs +80 -0
- package/node/esm/{rrGPhfv9KHmWuZ1O.mjs → CcSG0PBy9Xc99VMv.mjs} +1 -7
- package/{browser/esm/BbEfqkC8wcfMDYW7.mjs → node/esm/CcSdpe6QFrIBEfxa.mjs} +1 -7
- package/node/esm/{CPpDKazrNC3936LC.mjs → CnEgkW6Z3qXNMA3o.mjs} +1 -7
- package/node/esm/{Bav2rRIN-77VagCp.mjs → CsyP8mzSIyH_j_gx.mjs} +2 -14
- package/node/esm/CtwI3UxESNeLVKz4.mjs +14 -0
- package/node/esm/{z4aHdT3kX8QkA5WB.mjs → Cz3i5M3BNm_sU7VM.mjs} +1 -7
- package/node/esm/D0I-t4XarGx9tL2X.mjs +16 -0
- package/node/esm/{TF4SxbxBSD3Gf9rn.mjs → D9FIPE6c82obo0bd.mjs} +1 -7
- package/node/esm/{v_xWzWUNiVGQNBoT.mjs → DCnTdfW-zrlDozHu.mjs} +1 -1
- package/node/esm/{Bl4s1iMUrCbnLTK6.mjs → DDMv9FFsdYN-wjV1.mjs} +4 -22
- package/node/esm/{CQza81LSbdfj4dh8.mjs → DMYhiPgHOvCK0e6G.mjs} +1 -7
- package/node/esm/{Dzi6IQ6mIY4GUhhn.mjs → DSRKBM2nh9iYul8L.mjs} +1 -7
- package/node/esm/{Cx2I29WhfKMYwydX.mjs → DSy9HoHQkEeO33eC.mjs} +1 -7
- package/node/esm/{B6zpbEevMTArgNIt.mjs → DToXdyBIJDYd1rr4.mjs} +38 -38
- package/node/esm/{C55fwXLJyCRvXnox.mjs → DdvoohT27nSi_3cd.mjs} +1 -7
- package/node/esm/{ByM8BXRmy_WcnL53.mjs → Dht5yjzp4Y9-leiH.mjs} +5 -5
- package/node/esm/{CF8Iw2U0KmkBM7e_.mjs → DqyrRbgk1-rYiye4.mjs} +12 -10
- package/{browser/esm/BRaRGYJwIxUVeGqc.mjs → node/esm/DskzH7zTkxNR4kmu.mjs} +1 -7
- package/node/esm/{oOVkOZ3Xk1oEBGVF.mjs → IoNOHrmO_TsKnDiU.mjs} +13 -13
- package/node/esm/{C-OobshDolEf_YMF.mjs → KDwQLyg7m49Cqgq7.mjs} +1 -1
- package/{browser/esm/CpoyQrYrPV0-9RPc.mjs → node/esm/LyNZuqChCFhEwsot.mjs} +1 -7
- package/node/esm/{9XZv6YbZGzXJWLjj.mjs → MIFyb4jWS5pgkDzZ.mjs} +1 -7
- package/node/esm/{CAMB3sLeYaDmVbRg.mjs → Q7QGn0xIiDXbz-EN.mjs} +1 -1
- package/node/esm/{Bt9tHh7hpw6l03MX.mjs → Roo316g8NJiFWbdh.mjs} +2 -8
- package/node/esm/{CgnJOwb7XTGd8SHn.mjs → W7ETXZ0lNEjio8UF.mjs} +1 -1
- package/node/esm/{BG0B7kW0XUOAZkPr.mjs → a5F0VHG5l1_KNuMk.mjs} +2 -2
- package/node/esm/{Dfiyl6Mp0BhjlSy1.mjs → egkfJ6xKy_CP5Yv6.mjs} +2 -2
- package/node/esm/index.mjs +20168 -20203
- package/node/esm/{BCHHa-dErcBIC_0y.mjs → j5PgCeWLt7VlfOPK.mjs} +7 -7
- package/{browser/esm/BfEdsxDq6MOecVqq.mjs → node/esm/orOLzbRzqosIA5-M.mjs} +1 -7
- package/node/esm/{CgUrlFh28m1acaYQ.mjs → siOdsSC0nSzvcV6e.mjs} +1 -7
- package/package.json +8 -8
- package/browser/cjs/BC2yD5lEOXzHeG1Y.cjs +0 -17
- package/browser/cjs/BmsLHCvcZOJnxYBm.cjs +0 -16
- package/browser/cjs/C_WGJtEWeSBOjCod.cjs +0 -25
- package/browser/cjs/CmHRyEKd83UyYJp5.cjs +0 -11
- package/browser/cjs/CxgPiyb5-hVRdhnd.cjs +0 -6
- package/browser/cjs/D2MFDC-oSzPf1srP.cjs +0 -314
- package/browser/cjs/DDJTjqunlP762qFN.cjs +0 -28
- package/browser/cjs/Ds4qQWfBUFy1VFRh.cjs +0 -12
- package/browser/cjs/DthoHYaMTKWkpydK.cjs +0 -11
- package/browser/cjs/WTQe6nG-0TQIsU2N.cjs +0 -16
- package/browser/cjs/cjzXoPH_hX0J64QW.cjs +0 -28
- package/browser/cjs/iZCwzTljD4cWi5hR.cjs +0 -20
- package/browser/esm/BKe9StZYGtgSF78N.mjs +0 -36
- package/browser/esm/DX5wv2h7KsKxTYo5.mjs +0 -34
- package/node/esm/BOSoESJcI0P9vUHU.mjs +0 -92
- package/node/esm/BSra_FfM7URLW976.mjs +0 -26
- package/node/esm/Dmuc2_ZKAEnSFQ4-.mjs +0 -28
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.1
|
|
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
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.1
|
|
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
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.1
|
|
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
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.1
|
|
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,6 @@
|
|
|
1
|
+
"use strict";/**
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.1
|
|
3
|
+
*
|
|
4
|
+
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
|
+
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
+
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react/jsx-runtime"),l=require("react"),r=require("@mui/material"),v=require("@mui/icons-material"),t=require("./BEzNZIQy5IlW0iAl.cjs"),y=require("@mui/system"),I=l.memo(C=>{const{label:m,value:u,options:a,onSelect:d,tabIndex:h=0,...R}=C,[k,O]=l.useState(()=>z(u,a));l.useEffect(()=>{O(z(u,a))},[u,a]);const S=t.T(f=>{O(f.target.value),d?.(a[f.target.value])},[d,a]),c=l.useMemo(()=>Object.keys(a).map(f=>i.jsx(r.MenuItem,{value:f,children:f},f)),[a]);return i.jsxs(r.FormControl,{sx:{minWidth:135},size:"small",children:[i.jsx(r.InputLabel,{children:m}),i.jsx(r.Select,{inputProps:{tabIndex:h},value:k,label:m,onChange:S,sx:{backgroundImage:`linear-gradient(${y.alpha("#fff",t.getOverlayAlpha(5))}, ${y.alpha("#fff",t.getOverlayAlpha(5))})`},...R,children:c})]})}),A={Workbook:"workbook",Sheet:"sheet"},H={enter:140,exit:140},G={Formulas:t.xe.Content.Formulas,Values:t.xe.Content.Values,Notes:t.xe.Content.Notes,Comments:t.xe.Content.Comments},X={...G};delete X.Values;const _={"By Rows":!0,"By Columns":!1},z=(C,m)=>{const u=Object.keys(m);for(let a=0;a<u.length;a++){const d=u[a];if(m[d]===C)return d}},U=l.memo(C=>{const{replace:m=!1,findText:u,replaceText:a,findOptions:d,replaceOptions:h,title:R,onHide:k,onFindOrReplace:O,...S}=C,c=l.useRef(null),f=l.useRef(null),B=l.useRef(null),D=l.useRef(null),P=l.useRef(null),K=l.useRef(null),M=(e,n)=>{n&&(n.start(e,{center:!1}),setTimeout(()=>n.stop(e),180))},[$,b]=l.useState(!1),[w,J]=l.useState(!1),[x,E]=l.useState(m),[L,F]=l.useState(!1),[Z,W]=l.useState(!1),[s,p]=l.useState({findText:null,replaceText:null,replace:m,replaceOptions:{},findOptions:{matchCase:!1,matchEntireCell:!1,useRegex:!1,orientation:t.k.Orientation.Row,fields:[t.xe.Content.Formulas]},scope:A.Sheet}),j=t.T(async(e,n,o,T)=>{if(!O)return;const g={...s};g.replaceOptions={...g.replaceOptions},g.findOptions={...g.findOptions},g.replaceOptions.maxCount=o?void 0:1,g.replace=n,n&&s.findOptions.fields?.[0]===t.xe.Content.Values&&(g.findOptions.fields=[t.xe.Content.Formulas]),g.findOptions.reverse=!e;const Y=await O({autoFocus:T,...g});F(Y===0)},[s,O]);l.useEffect(()=>{F(!1)},[s,w,x]);const q=t.T((e,n)=>{if(e.keyCode===t.eo.Enter){if(!s.findText)return;let o=!0,T=!1;e.shiftKey&&(o=!1),n?(e.ctrlKey&&e.altKey&&(T=!0),M(e,T?K.current:P.current)):M(e,o?D.current:B.current),j(o,n,T,!1)}},[s]),V=l.useRef(null);l.useLayoutEffect(()=>{p(e=>{const n={...e};n.findText=u&&u.length>0?u:e.findText??"",b(!0),a!==void 0&&(n.replaceText=a),d&&(n.findOptions={...n.findOptions,...d}),n.replaceText||(n.replaceText=""),n.replaceOptions&&(n.replaceOptions={...n.replaceOptions}),h&&(n.replaceOptions={...n.replaceOptions,...h}),s.findOptions.fields?.[0]||(s.findOptions.fields=[t.xe.Content.Formulas]);const o=!(!h&&a===void 0);return o&&E(o),n}),Z||V.current?.focus()},[u,a,d,h]),l.useEffect(()=>{x?(s.findOptions.fields[0],t.xe.Content.Values):b(!0)},[x]),l.useEffect(()=>{if($&&c.current&&s.findText===c.current.value)return c.current===document.activeElement||c.current.contains(document.activeElement)?(c.current?.select(),void b(!1)):void c.current.addEventListener("focus",()=>{c.current?.select(),b(!1)},{once:!0})},[$,s]);const[Q,{width:N}]=t.useMeasure();return i.jsx(t.Fn,{title:R??(x?"Find & Replace":"Find"),initialPosition:{y:"35"},autoFocusSel:".input",refWindow:V,onHide:k,onFocus:()=>W(!0),onBlur:()=>{W(!1),F(!1)},PaperProps:{elevation:Z?3:1},...S,children:i.jsxs(r.DialogContent,{dividers:!0,ref:Q,sx:{display:"flex",flexDirection:"column",paddingLeft:e=>e.spacing(1.5),paddingRight:e=>e.spacing(1.5)},onKeyDown:e=>{if(e.key==="h"&&e.ctrlKey)E(!0),c.current?.contains(document.activeElement)&&f.current?.focus();else if(e.key==="f"&&e.ctrlKey)c.current?.focus();else if(e.key==="c"&&e.altKey)p(n=>{const o={...n};return o.findOptions.matchCase=!n.findOptions.matchCase,o});else if(e.key==="e"&&e.altKey)p(n=>{const o={...n};return o.findOptions.matchEntireCell=!n.findOptions.matchEntireCell,o});else{if(e.key!=="r"||!e.altKey)return;p(n=>{const o={...n};return o.findOptions.useRegex=!n.findOptions.useRegex,o})}e.preventDefault()},children:[i.jsxs(r.Box,{sx:{display:"flex",flexDirection:"row",gap:e=>e.spacing(1)},children:[i.jsxs(r.Box,{sx:{display:"flex",flexDirection:"row",alignItems:"start",gap:e=>e.spacing(.25),paddingTop:"3px"},children:[i.jsx(t.tl,{selected:w,onSelectToggle:e=>{J(e)},preventFocus:!0,label:"Toggle Additional Options",icon:t.y5(i.jsx(t.Zi,{}))}),i.jsx(t.tl,{selected:x,onSelectToggle:e=>{E(e)},preventFocus:!0,label:"Toggle Replace",icon:t.y5(i.jsx(t.Pi,{})),shortcut:{key:x?"F":"H",modifiers:[t.Z.Ctrl]}})]}),i.jsxs(r.Box,{sx:{display:"flex",flexDirection:"column",maxWidth:"100%",boxSizing:"border-box"},children:[i.jsxs(r.Box,{sx:{display:"flex",flexDirection:"row",alignItems:"center"},children:[i.jsx(r.TextField,{label:"Find",InputLabelProps:{shrink:!0},InputProps:{sx:{paddingRight:e=>e.spacing(1),minWidth:N>460?"20em":void 0,backgroundImage:`linear-gradient(${y.alpha("#fff",t.getOverlayAlpha(5))}, ${y.alpha("#fff",t.getOverlayAlpha(5))})`},inputProps:{draggable:!1,ref:c,className:"input",autoFocus:!0,spellCheck:!1,autoComplete:"off",sx:{paddingTop:e=>e.spacing(1.25),paddingBottom:e=>e.spacing(.75)}},endAdornment:i.jsx(r.InputAdornment,{sx:{transform:"scale(0.75) translateX(16px)"},position:"end",children:i.jsxs(r.Box,{sx:{display:"flex",alignItems:"center",flexDirection:"row",gap:"1px"},children:[i.jsx(t.tl,{selected:s.findOptions.matchCase,onSelectToggle:e=>{p(n=>{const o={...n};return o.findOptions.matchCase=e,o})},label:"Match Case",shortcut:{key:"C",modifiers:[t.Z.Alt]},icon:t.y5(i.jsx(t.Ri,{}))}),i.jsx(t.tl,{selected:s.findOptions.matchEntireCell,onSelectToggle:e=>{p(n=>{const o={...n};return o.findOptions.matchEntireCell=e,o})},label:"Match Entire Cell",shortcut:{key:"E",modifiers:[t.Z.Alt]},icon:t.y5(i.jsx(t.Ii,{}))}),i.jsx(t.tl,{selected:s.findOptions.useRegex,onSelectToggle:e=>{p(n=>{const o={...n};return o.findOptions.useRegex=e,o})},label:"Use Regular Expression",shortcut:{key:"R",modifiers:[t.Z.Alt]},icon:t.y5(i.jsx(t.ji,{}))})]})})},sx:{flex:"1 1 100%",marginRight:e=>e.spacing(1),"& .MuiOutlinedInput-notchedOutline":{borderColor:e=>L?`${e.palette.error.main} !important`:void 0},"& .MuiInputLabel-outlined":{color:e=>L?`${e.palette.error.main} !important`:void 0}},value:s.findText??"",onChange:e=>{p(n=>{const o={...n};return o.findText=e.target.value,o})},onKeyDown:e=>q(e,!1),onContextMenu:e=>{e.stopPropagation()}}),i.jsx(t.tl,{selected:s.findOptions.reverse,onSelectToggle:e=>{j(!1,!1)},touchRippleRef:B,label:"",shortcut:{key:"Enter",modifiers:[t.Z.Shift]},icon:t.y5(s.findOptions.orientation!==t.k.Orientation.Column?i.jsx(v.ArrowBack,{}):i.jsx(v.ArrowUpward,{})),disabled:!s.findText}),i.jsx(t.tl,{selected:!s.findOptions.reverse,onSelectToggle:e=>{j(!0,!1)},touchRippleRef:D,label:"Next Match",shortcut:{key:"Enter"},icon:t.y5(s.findOptions.orientation!==t.k.Orientation.Column?i.jsx(v.ArrowForward,{}):i.jsx(v.ArrowDownward,{})),disabled:!s.findText})]}),i.jsx(r.Collapse,{in:x,timeout:H,onExit:()=>{c.current?.focus()},children:i.jsxs(r.Box,{sx:{display:"flex",flexDirection:"row",alignItems:"center",marginTop:e=>e.spacing(2)},children:[i.jsx(r.TextField,{label:"Replace",InputLabelProps:{shrink:!0},InputProps:{sx:{paddingRight:e=>e.spacing(1),backgroundImage:`linear-gradient(${y.alpha("#fff",t.getOverlayAlpha(5))}, ${y.alpha("#fff",t.getOverlayAlpha(5))})`},inputProps:{ref:f,className:"input",spellCheck:!1,autoComplete:"off",sx:{paddingTop:e=>e.spacing(1.25),paddingBottom:e=>e.spacing(.75)}}},sx:{flex:"1 1 100%",marginRight:e=>e.spacing(1)},value:s.replaceText??"",onChange:e=>{p(n=>{const o={...n};return o.replaceText=e.target.value,o})},onKeyDown:e=>q(e,!0),onContextMenu:e=>{e.stopPropagation()}}),i.jsx(t.tl,{onSelectToggle:e=>{j(!0,!0)},touchRippleRef:P,label:"Replace",shortcut:{key:"Enter"},icon:t.y5(i.jsx(t.Fi,{})),disabled:!s.findText}),i.jsx(t.tl,{onSelectToggle:e=>{j(!0,!0,!0)},touchRippleRef:K,label:"Replace All",shortcut:{key:"Enter",modifiers:[t.Z.Ctrl,t.Z.Alt]},icon:t.y5(i.jsx(t.$i,{})),disabled:!s.findText})]})})]})]}),i.jsx(r.Collapse,{in:w,timeout:H,onExit:()=>{c.current?.focus()},children:i.jsxs(r.Box,{sx:{minHeight:"10px",flex:"1 1 100%",display:"flex",flexDirection:"column",gap:e=>e.spacing(.5),marginTop:e=>e.spacing(1)},children:[i.jsx(t.At,{orientation:"horizontal",sx:{marginBottom:e=>e.spacing(1.5)}}),i.jsxs(r.Box,{sx:{display:"flex",flexDirection:N>=413?"row":"column",justifyContent:"space-evenly",alignItems:"center",rowGap:e=>e.spacing(2)},tabIndex:-1,children:[i.jsx(I,{label:"Within",value:s.scope,options:A,onSelect:e=>{p(n=>{const o={...n};return o.scope=e,o})}}),i.jsx(I,{label:"Search",value:s.findOptions.orientation!==t.k.Orientation.Column,options:_,onSelect:e=>{p(n=>{const o={...n};return o.findOptions.orientation=e?t.k.Orientation.Row:t.k.Orientation.Column,o})}}),i.jsx(I,{label:"Look in",value:x&&s.findOptions.fields?.[0]===t.xe.Content.Values?t.xe.Content.Formulas:s.findOptions.fields?.[0],options:x?X:G,onSelect:e=>{p(n=>{const o={...n};return o.findOptions.fields=[e],o})}})]})]})})]})})});exports.FindReplaceWindow=U,exports.ScopeOptions=A,exports.default=U;
|
|
@@ -1,28 +1,13 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.1
|
|
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.
|
|
6
|
-
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const he=require("./
|
|
7
|
-
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.3.0
|
|
8
|
-
*
|
|
9
|
-
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
10
|
-
* License: The license can be found at https://www.sheetxl.com/license.
|
|
11
|
-
*//**
|
|
12
|
-
* @license @sheetxl/scripting - Scripting - Scripting engine for Macros and formulas; includes TypeScript and EsBuild. - v0.3.0
|
|
13
|
-
*
|
|
14
|
-
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
15
|
-
* License: The license can be found at https://www.sheetxl.com/license.
|
|
16
|
-
*//**
|
|
17
|
-
* @license @sheetxl/primitives - Primitives - Base types for SheetXL functions. - v0.3.0
|
|
18
|
-
*
|
|
19
|
-
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
20
|
-
* License: The license can be found at https://www.sheetxl.com/license.
|
|
21
|
-
*/var se,J,r;(J=se||(se={})).Orientation={Column:"column",Row:"row"},J.Orientations={...J.Orientation,Both:"both"},J.Direction={Up:"up",Down:"down",Left:"left",Right:"right"},(e=>{e.Code={Parse:0,Null:1,Div0:2,Value:3,Ref:4,Name:5,Num:6,NA:7,GettingData:8,Spill:9,Connect:10,Blocked:11,Unknown:12,Field:13,Calc:14,Busy:16,Python:19,Timeout:20},e.Label={Parse:"#PARSE!",Null:"#NULL!",Div0:"#DIV/0!",Value:"#VALUE!",Ref:"#REF!",Name:"#NAME?",Num:"#NUM!",NA:"#N/A",GettingData:"#GETTING_DATA",Spill:"#SPILL!",Connect:"#CONNECT!",Blocked:"#BLOCKED!",Unknown:"#UNKNOWN!",Field:"#FIELD!",Calc:"#CALC!",Busy:"#BUSY!",Python:"#PYTHON!",Timeout:"#TIMEOUT!"};class a extends Error{constructor(n,i,S,q){super(S,q),this._label=i,this._code=n,this.details=q}static{this.code=e.Code.Unknown}get isFormulaError(){return!0}getLabel(){return this._label}getCode(){return this._code}equals(n){return!!n&&(this._code===n._code||this._code===n.code)}get[Symbol.toStringTag](){return"[FormulaError]"}toString(){return this.message||this._label}}e.Known=a;class k extends a{constructor(n,i){super(e.Code.Parse,e.Label.Parse,n,i)}static{this.code=e.Code.Parse}getDetails(){const n=this.details;return{line:n?.line??1,column:n?.column??1,offset:n?.offset??0,length:n?.length??0}}}e.Parse=k;class x extends a{constructor(n,i){super(e.Code.Null,e.Label.Null,n,i)}static{this.code=e.Code.Null}}e.Null=x;class j extends a{constructor(n,i){super(e.Code.Div0,e.Label.Div0,n,i)}static{this.code=e.Code.Div0}}e.Div0=j;class X extends a{constructor(n,i){super(e.Code.Value,e.Label.Value,n,i)}static{this.code=e.Code.Value}}e.Value=X;class s extends a{constructor(n,i){super(e.Code.Ref,e.Label.Ref,n,i)}static{this.code=e.Code.Ref}}e.Ref=s;class K extends a{constructor(n,i){super(e.Code.Name,e.Label.Name,n,i)}static{this.code=e.Code.Name}}e.Name=K;class M extends a{constructor(n,i){super(e.Code.Num,e.Label.Num,n,i)}static{this.code=e.Code.Num}}e.Num=M;class U extends a{constructor(n,i){super(e.Code.NA,e.Label.NA,n,i)}static{this.code=e.Code.NA}}e.NA=U;class Y extends a{constructor(n,i){super(e.Code.GettingData,e.Label.GettingData,n,i)}static{this.code=e.Code.GettingData}}e.GettingData=Y;class z extends a{constructor(n,i){super(e.Code.Spill,e.Label.Spill,n,i)}static{this.code=e.Code.Spill}}e.Spill=z;class O extends a{constructor(n,i){super(e.Code.Connect,e.Label.Connect,n,i)}static{this.code=e.Code.Connect}}e.Connect=O;class G extends a{constructor(n,i){super(e.Code.Blocked,e.Label.Blocked,n,i)}static{this.code=e.Code.Blocked}}e.Blocked=G;class _ extends a{constructor(n,i){super(e.Code.Unknown,e.Label.Unknown,n,i)}static{this.code=e.Code.Unknown}}e.Unknown=_;class F extends a{constructor(n,i){super(e.Code.Field,e.Label.Field,n,i)}static{this.code=e.Code.Field}}e.Field=F;class Q extends a{constructor(n,i){super(e.Code.Calc,e.Label.Calc,n,i)}static{this.code=e.Code.Calc}}e.Calc=Q;class I extends a{constructor(n,i){super(e.Code.Busy,e.Label.Busy,n,i)}static{this.code=e.Code.Busy}}e.Busy=I;class P extends a{constructor(n,i){super(e.Code.Python,e.Label.Python,n,i)}static{this.code=e.Code.Python}}e.Python=P;class Z extends a{constructor(n,i){super(e.Code.Timeout,e.Label.Timeout,n,i)}static{this.code=e.Code.Timeout}}e.Timeout=Z})(r||(r={}));const f={};f[r.Code.Parse]=r.Parse,f[r.Code.Null]=r.Null,f[r.Code.Div0]=r.Div0,f[r.Code.Value]=r.Value,f[r.Code.Ref]=r.Ref,f[r.Code.Name]=r.Name,f[r.Code.Num]=r.Num,f[r.Code.NA]=r.NA,f[r.Code.GettingData]=r.GettingData,f[r.Code.Spill]=r.Spill,f[r.Code.Connect]=r.Connect,f[r.Code.Blocked]=r.Blocked,f[r.Code.Unknown]=r.Unknown,f[r.Code.Field]=r.Field,f[r.Code.Calc]=r.Calc,f[r.Code.Busy]=r.Busy,f[r.Code.Python]=r.Python,f[r.Code.Timeout]=r.Timeout;const ce=new Map,ie=new Map,de=new Map,ue=new Map,le=Object.keys(f);for(let e=0;e<le.length;e++){const a=le[e],k=f[a];de.set(r.Label[a],k),ue.set(r.Code[a],k);const x=new k;ce.set(x.getLabel(),x),ie.set(x.getCode(),x)}const ge=ie.get(r.Code.Unknown);var p;(p=r||(r={})).BuiltIn={Parse:new p.Parse,Null:new p.Null,Div0:new p.Div0,Value:new p.Value,Ref:new p.Ref,Name:new p.Name,Num:new p.Num,NA:new p.NA,GettingData:new p.GettingData,Spill:new p.Spill,Connect:new p.Connect,Blocked:new p.Blocked,Unknown:new p.Unknown,Field:new p.Field,Calc:new p.Calc,Busy:new p.Busy,Python:new p.Python,Timeout:new p.Timeout},p.getBuiltInByLabel=e=>ce.get(e),p.newTypedError=(e,a,k)=>{let x;return x=typeof e=="string"?de.get(e):ue.get(e),x||(x=p.Unknown),new x(a,k)},p.getBuiltInById=e=>ie.get(e)||ge;let A=null,H=null;const we={compilerOptions:{target:"esnext"}},Ce=async()=>`
|
|
6
|
+
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const he=require("./BR4KYl8frdYrZXhN.cjs");var se,J,r;(J=se||(se={})).Orientation={Column:"column",Row:"row"},J.Orientations={...J.Orientation,Both:"both"},J.Direction={Up:"up",Down:"down",Left:"left",Right:"right"},(e=>{e.Code={Parse:0,Null:1,Div0:2,Value:3,Ref:4,Name:5,Num:6,NA:7,GettingData:8,Spill:9,Connect:10,Blocked:11,Unknown:12,Field:13,Calc:14,Busy:16,Python:19,Timeout:20},e.Label={Parse:"#PARSE!",Null:"#NULL!",Div0:"#DIV/0!",Value:"#VALUE!",Ref:"#REF!",Name:"#NAME?",Num:"#NUM!",NA:"#N/A",GettingData:"#GETTING_DATA",Spill:"#SPILL!",Connect:"#CONNECT!",Blocked:"#BLOCKED!",Unknown:"#UNKNOWN!",Field:"#FIELD!",Calc:"#CALC!",Busy:"#BUSY!",Python:"#PYTHON!",Timeout:"#TIMEOUT!"};class a extends Error{constructor(n,i,S,q){super(S,q),this._label=i,this._code=n,this.details=q}static{this.code=e.Code.Unknown}get isFormulaError(){return!0}getLabel(){return this._label}getCode(){return this._code}equals(n){return!!n&&(this._code===n._code||this._code===n.code)}get[Symbol.toStringTag](){return"[FormulaError]"}toString(){return this.message||this._label}}e.Known=a;class k extends a{constructor(n,i){super(e.Code.Parse,e.Label.Parse,n,i)}static{this.code=e.Code.Parse}getDetails(){const n=this.details;return{line:n?.line??1,column:n?.column??1,offset:n?.offset??0,length:n?.length??0}}}e.Parse=k;class x extends a{constructor(n,i){super(e.Code.Null,e.Label.Null,n,i)}static{this.code=e.Code.Null}}e.Null=x;class j extends a{constructor(n,i){super(e.Code.Div0,e.Label.Div0,n,i)}static{this.code=e.Code.Div0}}e.Div0=j;class X extends a{constructor(n,i){super(e.Code.Value,e.Label.Value,n,i)}static{this.code=e.Code.Value}}e.Value=X;class s extends a{constructor(n,i){super(e.Code.Ref,e.Label.Ref,n,i)}static{this.code=e.Code.Ref}}e.Ref=s;class K extends a{constructor(n,i){super(e.Code.Name,e.Label.Name,n,i)}static{this.code=e.Code.Name}}e.Name=K;class M extends a{constructor(n,i){super(e.Code.Num,e.Label.Num,n,i)}static{this.code=e.Code.Num}}e.Num=M;class U extends a{constructor(n,i){super(e.Code.NA,e.Label.NA,n,i)}static{this.code=e.Code.NA}}e.NA=U;class Y extends a{constructor(n,i){super(e.Code.GettingData,e.Label.GettingData,n,i)}static{this.code=e.Code.GettingData}}e.GettingData=Y;class z extends a{constructor(n,i){super(e.Code.Spill,e.Label.Spill,n,i)}static{this.code=e.Code.Spill}}e.Spill=z;class O extends a{constructor(n,i){super(e.Code.Connect,e.Label.Connect,n,i)}static{this.code=e.Code.Connect}}e.Connect=O;class G extends a{constructor(n,i){super(e.Code.Blocked,e.Label.Blocked,n,i)}static{this.code=e.Code.Blocked}}e.Blocked=G;class _ extends a{constructor(n,i){super(e.Code.Unknown,e.Label.Unknown,n,i)}static{this.code=e.Code.Unknown}}e.Unknown=_;class F extends a{constructor(n,i){super(e.Code.Field,e.Label.Field,n,i)}static{this.code=e.Code.Field}}e.Field=F;class Q extends a{constructor(n,i){super(e.Code.Calc,e.Label.Calc,n,i)}static{this.code=e.Code.Calc}}e.Calc=Q;class I extends a{constructor(n,i){super(e.Code.Busy,e.Label.Busy,n,i)}static{this.code=e.Code.Busy}}e.Busy=I;class P extends a{constructor(n,i){super(e.Code.Python,e.Label.Python,n,i)}static{this.code=e.Code.Python}}e.Python=P;class Z extends a{constructor(n,i){super(e.Code.Timeout,e.Label.Timeout,n,i)}static{this.code=e.Code.Timeout}}e.Timeout=Z})(r||(r={}));const f={};f[r.Code.Parse]=r.Parse,f[r.Code.Null]=r.Null,f[r.Code.Div0]=r.Div0,f[r.Code.Value]=r.Value,f[r.Code.Ref]=r.Ref,f[r.Code.Name]=r.Name,f[r.Code.Num]=r.Num,f[r.Code.NA]=r.NA,f[r.Code.GettingData]=r.GettingData,f[r.Code.Spill]=r.Spill,f[r.Code.Connect]=r.Connect,f[r.Code.Blocked]=r.Blocked,f[r.Code.Unknown]=r.Unknown,f[r.Code.Field]=r.Field,f[r.Code.Calc]=r.Calc,f[r.Code.Busy]=r.Busy,f[r.Code.Python]=r.Python,f[r.Code.Timeout]=r.Timeout;const ce=new Map,ie=new Map,de=new Map,ue=new Map,le=Object.keys(f);for(let e=0;e<le.length;e++){const a=le[e],k=f[a];de.set(r.Label[a],k),ue.set(r.Code[a],k);const x=new k;ce.set(x.getLabel(),x),ie.set(x.getCode(),x)}const ge=ie.get(r.Code.Unknown);var p;(p=r||(r={})).BuiltIn={Parse:new p.Parse,Null:new p.Null,Div0:new p.Div0,Value:new p.Value,Ref:new p.Ref,Name:new p.Name,Num:new p.Num,NA:new p.NA,GettingData:new p.GettingData,Spill:new p.Spill,Connect:new p.Connect,Blocked:new p.Blocked,Unknown:new p.Unknown,Field:new p.Field,Calc:new p.Calc,Busy:new p.Busy,Python:new p.Python,Timeout:new p.Timeout},p.getBuiltInByLabel=e=>ce.get(e),p.newTypedError=(e,a,k)=>{let x;return x=typeof e=="string"?de.get(e):ue.get(e),x||(x=p.Unknown),new x(a,k)},p.getBuiltInById=e=>ie.get(e)||ge;let A=null,H=null;const we={compilerOptions:{target:"esnext"}},Ce=async()=>`
|
|
22
7
|
interface FirstTest {
|
|
23
8
|
isTrue?: boolean;
|
|
24
9
|
}
|
|
25
|
-
`,pe=new Map([["IReferenceRange","r"],["IRange","l"]]),me=new Map([["IWorkbook","workbook"],["ISheet","sheet"],["ICellRanges","ranges"],["ICellRange","range"],["IFormulaContext","context"]]),ne=(e,a)=>{Array.from(a.keys()).forEach(k=>{const x=a.get(k);a.set(`${e}.${k}`,x)})},xe=new Map([["Scalar","*"],["FormulaError.Known","e"],["Date","Date"],["JSON","JSON"]]),be=new Map([]),oe="SheetXL";ne(oe,pe),ne(oe,me),ne(oe,be);const Te=new Map([["Promise",()=>({async:!0})],["Observable",()=>({stream:!0})]]);let W=null;async function ke(){if(W)return W;try{return await(await Promise.resolve().then(()=>require("./
|
|
10
|
+
`,pe=new Map([["IReferenceRange","r"],["IRange","l"]]),me=new Map([["IWorkbook","workbook"],["ISheet","sheet"],["ICellRanges","ranges"],["ICellRange","range"],["IFormulaContext","context"]]),ne=(e,a)=>{Array.from(a.keys()).forEach(k=>{const x=a.get(k);a.set(`${e}.${k}`,x)})},xe=new Map([["Scalar","*"],["FormulaError.Known","e"],["Date","Date"],["JSON","JSON"]]),be=new Map([]),oe="SheetXL";ne(oe,pe),ne(oe,me),ne(oe,be);const Te=new Map([["Promise",()=>({async:!0})],["Observable",()=>({stream:!0})]]);let W=null;async function ke(){if(W)return W;try{return await(await Promise.resolve().then(()=>require("./Q-_8LHrKWcpj3r7F.cjs"))).initialize()}catch(e){throw W=null,e}finally{W=null}}exports.compileModule=async function(e){const a=e?.source??null;if(!a)return null;const k=(e.disableBundle||e.declarationsOnly)??!1,x=[Ce(),ke()],j=await Promise.all(x),X=j[0],s=j[1];let K="",M=null;const U=[],Y={allowJs:!0,declaration:!1,sourceMap:!1,inlineSourceMap:!1,inlineSources:!1,isolatedModules:!0,preserveConstEnums:!1,module:99,noResolve:!0,emitDeclarationOnly:!1,target:s.ScriptTarget.ES2020},z="script",O=`${z}.ts`,G="lib.d.ts",_="global.d.ts",F={[O]:a,[G]:`
|
|
26
11
|
/**
|
|
27
12
|
* Represents the completion of an asynchronous operation
|
|
28
13
|
*/
|
|
@@ -36,7 +21,7 @@ interface Promise<T> {
|
|
|
36
21
|
finally(onfinally?: (() => void) | undefined | null): Promise<T>;
|
|
37
22
|
}
|
|
38
23
|
`,[_]:X},Q={getSourceFile:(t,d,E,l)=>s.createSourceFile(t,F[t],s.ScriptTarget.Latest,!0),fileExists:t=>F[t]!==void 0,readFile:t=>F[t],writeFile:(t,d)=>{F[t]=d},getCurrentDirectory:()=>"./",getCanonicalFileName:t=>t,useCaseSensitiveFileNames:()=>!0,getDefaultLibFileName:t=>G,getNewLine:()=>`
|
|
39
|
-
`},I=s.createProgram([O,_],Y,Q),P=I.getTypeChecker(),Z=I.getSourceFile(O),y=I.emit();y.diagnostics.length>0&&console.warn(y.diagnostics),K=F[`${z}.js`];const n=(t,d,E,l)=>{if(t){if(t.kind===s.SyntaxKind.NumberKeyword)d.scalar="n";else if(t.kind===s.SyntaxKind.StringKeyword)d.scalar="s";else if(t.kind===s.SyntaxKind.BooleanKeyword)d.scalar="b";else if(t.kind===s.SyntaxKind.UndefinedKeyword||t.kind===s.SyntaxKind.NullKeyword||t.kind===s.SyntaxKind.VoidKeyword){if(l)return void S(t,new Error(`'undefined' is not a valid type for input: '${t?.parent?.name?.escapedText}'.`));d.scalar="z"}else if(t.kind===s.SyntaxKind.BigIntKeyword)d.scalar="n";else if(t.kind===s.SyntaxKind.AnyKeyword)d.scalar="z";else if(t.kind===s.SyntaxKind.ArrayType){const c=t.elementType;if(!c)return void S(t,new Error(`'Array' must be typed: '${t?.parent?.name?.escapedText}'.`));d.arrayDepth=(d.arrayDepth??0)+1,n(c,d,E,l)}else if(t.kind!==s.SyntaxKind.TupleType&&t.kind===s.SyntaxKind.TypeReference){const c=t.typeName?.getText?.()??null,N=pe.get(c);let T=!1;N&&(d.range=N,T=!0);const L=xe.get(c);if(L&&(d.scalar=L),L!==void 0&&(T=!0),l){const g=me.get(c);if(g)return g}else{const g=Te.get(c);if(g){const m={...d,...g()};let o=0;if(m.async&&o++,m.stream&&o++,o>1)return void S(t,new Error(`'${c}' cannot have multiple modifiers: '${t?.parent?.name?.escapedText}'.`));d=m,T=!0}}if(!T)return void S("node",new Error(`'${c}' is not a valid type: '${t?.parent?.name?.escapedText}'.`));const b=t.typeArguments;if(b){if(b.length!==1)return void S(t,new Error(`'${c}' must be typed with exactly 1 type: '${t?.parent?.name?.escapedText}'.`));n(b[0],d,E,l)}}}else S(t,new Error(`Type is not defined for '${d?.name??"return"}'.`))},i=[],S=(t,d)=>{i.push(d)};if(s.forEachChild(Z,t=>{if(E=t,(s.getCombinedModifierFlags(E)&s.ModifierFlags.Export)!==0&&s.isFunctionDeclaration(t)){const l={},c={parameters:{}},N=t?.name?.getText();try{l.name=N;const T=P.getSymbolAtLocation(t.name).getDocumentationComment(P);if(T&&T.length>0&&T[0].text){let m=T[0].text;m=m.replace(/[\r\n]+/g,"\\n").trim(),c.summary=m}const L={};n(t.type,L,l,!1),l.returnType=L;const b={};d=t,(s.getCombinedModifierFlags(d)&s.ModifierFlags.Default)!==0&&(b.default=!0,M=N),Object.keys(b).length>0&&(l.behavior=b),l.parameters=[];const g=new Map;for(let m=0;m<t.parameters.length;m++){const o=t.parameters[m],h={};h.name=o.name?.getText();const $=n(o.type,h,l,!0);if($){if(l.parameters.length!==0){const B=t?.parent,C=B?.name?.getText();return void S(t,new Error(`'${l.name}' contexts must be the first parameter: '${C}'.`))}l.context=$;continue}let v;if((o.initializer!==void 0&&o.initializer!==null||o.questionToken!==void 0&&o.questionToken!==null)&&(h.optional=!0,o.initializer))try{v=o.initializer.kind===s.SyntaxKind.StringLiteral?o.initializer.text:o.initializer.kind===s.SyntaxKind.NumericLiteral?parseFloat(o.initializer.text):o.initializer.kind===s.SyntaxKind.TrueKeyword||o.initializer.kind===s.SyntaxKind.FalseKeyword?o.initializer.kind===s.SyntaxKind.TrueKeyword:o.initializer.kind===s.SyntaxKind.NullKeyword?null:o.initializer.kind===s.SyntaxKind.ObjectLiteralExpression||o.initializer.kind===s.SyntaxKind.ArrayLiteralExpression?o.initializer.getText():o.initializer.getText?.()}catch(B){console.warn(`Couldn't extract default value for parameter '${h.name}'`,B)}o.dotDotDotToken&&(h.rest=!0),l.parameters.push(h);const w={description:""};c.parameters[h.name]=w;const u=P.getSymbolAtLocation(o.name).getDocumentationComment(P);u&&u.length>0&&u[0].text&&(w.description=u[0].text),v!==void 0&&(w.defaultValue=v),g.set(h.name,h)}if(t.jsDoc&&t.jsDoc.length>0){const m=t.jsDoc;for(let o=0;o<m.length;o++){const h=m[o]?.tags;if(h)for(let $=0;$<h.length;$++){const v=h[$];let w=v?.tagName?.text;if(!w)continue;w=w.toLowerCase();let u=v.comment;const B=w==="hidden";if((typeof u=="string"||B)&&(typeof u=="string"&&(u=u.replace(/[\r\n]+/g,"\\n").trim()),B||!u||(u=u.split(/\\n/)[0],u&&u.length!==0))){if(u&&typeof u=="string"){const C=/\{@link(code|plain)?\s+([^}|]+)(?:\s*\|\s*([^}]+))?\}/g;let D,R=u,V=[];for(;(D=C.exec(u))!==null;){const[ee,te,ye,ae]=D,fe=[ye.trim()];ae&&fe.push(ae.trim())}u=R,V.length>0&&w==="see"&&(c.links||(c.links=[]),c.links.push(...V))}if(w==="name"){const C=u;C!==N&&(c.name=C)}else if(w!=="description"){if(w==="summary"){const C=u;C&&(c.summary=C)}else if(w==="param"){const C=v.name?.text,D=g.get(C);if(!D){i.push(new Error(`Parameter '${C}' not found in function '${N}'.`));continue}if(v.typeExpression&&v.typeExpression.type)try{const R=v.typeExpression.type;if(R.kind===s.SyntaxKind.UnionType){const V=[];D.enums=V,R.types.forEach(ee=>{if(ee.kind===s.SyntaxKind.LiteralType){const te=ee.literal.text;te&&V.push(te)}})}}catch(R){console.warn("Error parsing JSDoc type expression:",R)}}else if(w==="returns"||w==="return")l.returnType.description=u;else if(w==="category")c.category=u;else if(w==="hidden"){let C=!0;const D=u?.toLowerCase();D==="false"?C=!1:D!=="true"&&(C=u),C!==!1&&(c.hidden=C??!0)}}}}}}Object.keys(l.returnType).length===0&&delete l.returnType,U.push([l,c])}catch(T){S(t,new Error(`'${N}': ${T.message}`))}}var d,E}),i.length>0)throw console.warn(i),new Error("There were compilation errors.",{cause:i});if(U.length===0)throw new Error("No exported functions.");const q=`${he.$.uuidV4()}-script`;try{k||i.length!==0||(K=await async function(t,d,E="/script.js",l="__SHEETXL"){try{const c=await async function(){if(A)return A;if(H){if(await H,!A)throw new Error("ESBuild initialization promise resolved, but instance is not available.");return A}let g,m;H=new Promise((o,h)=>{g=o,m=h});try{const{initialize:o}=await Promise.resolve().then(()=>require("./
|
|
24
|
+
`},I=s.createProgram([O,_],Y,Q),P=I.getTypeChecker(),Z=I.getSourceFile(O),y=I.emit();y.diagnostics.length>0&&console.warn(y.diagnostics),K=F[`${z}.js`];const n=(t,d,E,l)=>{if(t){if(t.kind===s.SyntaxKind.NumberKeyword)d.scalar="n";else if(t.kind===s.SyntaxKind.StringKeyword)d.scalar="s";else if(t.kind===s.SyntaxKind.BooleanKeyword)d.scalar="b";else if(t.kind===s.SyntaxKind.UndefinedKeyword||t.kind===s.SyntaxKind.NullKeyword||t.kind===s.SyntaxKind.VoidKeyword){if(l)return void S(t,new Error(`'undefined' is not a valid type for input: '${t?.parent?.name?.escapedText}'.`));d.scalar="z"}else if(t.kind===s.SyntaxKind.BigIntKeyword)d.scalar="n";else if(t.kind===s.SyntaxKind.AnyKeyword)d.scalar="z";else if(t.kind===s.SyntaxKind.ArrayType){const c=t.elementType;if(!c)return void S(t,new Error(`'Array' must be typed: '${t?.parent?.name?.escapedText}'.`));d.arrayDepth=(d.arrayDepth??0)+1,n(c,d,E,l)}else if(t.kind!==s.SyntaxKind.TupleType&&t.kind===s.SyntaxKind.TypeReference){const c=t.typeName?.getText?.()??null,N=pe.get(c);let T=!1;N&&(d.range=N,T=!0);const L=xe.get(c);if(L&&(d.scalar=L),L!==void 0&&(T=!0),l){const g=me.get(c);if(g)return g}else{const g=Te.get(c);if(g){const m={...d,...g()};let o=0;if(m.async&&o++,m.stream&&o++,o>1)return void S(t,new Error(`'${c}' cannot have multiple modifiers: '${t?.parent?.name?.escapedText}'.`));d=m,T=!0}}if(!T)return void S("node",new Error(`'${c}' is not a valid type: '${t?.parent?.name?.escapedText}'.`));const b=t.typeArguments;if(b){if(b.length!==1)return void S(t,new Error(`'${c}' must be typed with exactly 1 type: '${t?.parent?.name?.escapedText}'.`));n(b[0],d,E,l)}}}else S(t,new Error(`Type is not defined for '${d?.name??"return"}'.`))},i=[],S=(t,d)=>{i.push(d)};if(s.forEachChild(Z,t=>{if(E=t,(s.getCombinedModifierFlags(E)&s.ModifierFlags.Export)!==0&&s.isFunctionDeclaration(t)){const l={},c={parameters:{}},N=t?.name?.getText();try{l.name=N;const T=P.getSymbolAtLocation(t.name).getDocumentationComment(P);if(T&&T.length>0&&T[0].text){let m=T[0].text;m=m.replace(/[\r\n]+/g,"\\n").trim(),c.summary=m}const L={};n(t.type,L,l,!1),l.returnType=L;const b={};d=t,(s.getCombinedModifierFlags(d)&s.ModifierFlags.Default)!==0&&(b.default=!0,M=N),Object.keys(b).length>0&&(l.behavior=b),l.parameters=[];const g=new Map;for(let m=0;m<t.parameters.length;m++){const o=t.parameters[m],h={};h.name=o.name?.getText();const $=n(o.type,h,l,!0);if($){if(l.parameters.length!==0){const B=t?.parent,C=B?.name?.getText();return void S(t,new Error(`'${l.name}' contexts must be the first parameter: '${C}'.`))}l.context=$;continue}let v;if((o.initializer!==void 0&&o.initializer!==null||o.questionToken!==void 0&&o.questionToken!==null)&&(h.optional=!0,o.initializer))try{v=o.initializer.kind===s.SyntaxKind.StringLiteral?o.initializer.text:o.initializer.kind===s.SyntaxKind.NumericLiteral?parseFloat(o.initializer.text):o.initializer.kind===s.SyntaxKind.TrueKeyword||o.initializer.kind===s.SyntaxKind.FalseKeyword?o.initializer.kind===s.SyntaxKind.TrueKeyword:o.initializer.kind===s.SyntaxKind.NullKeyword?null:o.initializer.kind===s.SyntaxKind.ObjectLiteralExpression||o.initializer.kind===s.SyntaxKind.ArrayLiteralExpression?o.initializer.getText():o.initializer.getText?.()}catch(B){console.warn(`Couldn't extract default value for parameter '${h.name}'`,B)}o.dotDotDotToken&&(h.rest=!0),l.parameters.push(h);const w={description:""};c.parameters[h.name]=w;const u=P.getSymbolAtLocation(o.name).getDocumentationComment(P);u&&u.length>0&&u[0].text&&(w.description=u[0].text),v!==void 0&&(w.defaultValue=v),g.set(h.name,h)}if(t.jsDoc&&t.jsDoc.length>0){const m=t.jsDoc;for(let o=0;o<m.length;o++){const h=m[o]?.tags;if(h)for(let $=0;$<h.length;$++){const v=h[$];let w=v?.tagName?.text;if(!w)continue;w=w.toLowerCase();let u=v.comment;const B=w==="hidden";if((typeof u=="string"||B)&&(typeof u=="string"&&(u=u.replace(/[\r\n]+/g,"\\n").trim()),B||!u||(u=u.split(/\\n/)[0],u&&u.length!==0))){if(u&&typeof u=="string"){const C=/\{@link(code|plain)?\s+([^}|]+)(?:\s*\|\s*([^}]+))?\}/g;let D,R=u,V=[];for(;(D=C.exec(u))!==null;){const[ee,te,ye,ae]=D,fe=[ye.trim()];ae&&fe.push(ae.trim())}u=R,V.length>0&&w==="see"&&(c.links||(c.links=[]),c.links.push(...V))}if(w==="name"){const C=u;C!==N&&(c.name=C)}else if(w!=="description"){if(w==="summary"){const C=u;C&&(c.summary=C)}else if(w==="param"){const C=v.name?.text,D=g.get(C);if(!D){i.push(new Error(`Parameter '${C}' not found in function '${N}'.`));continue}if(v.typeExpression&&v.typeExpression.type)try{const R=v.typeExpression.type;if(R.kind===s.SyntaxKind.UnionType){const V=[];D.enums=V,R.types.forEach(ee=>{if(ee.kind===s.SyntaxKind.LiteralType){const te=ee.literal.text;te&&V.push(te)}})}}catch(R){console.warn("Error parsing JSDoc type expression:",R)}}else if(w==="returns"||w==="return")l.returnType.description=u;else if(w==="category")c.category=u;else if(w==="hidden"){let C=!0;const D=u?.toLowerCase();D==="false"?C=!1:D!=="true"&&(C=u),C!==!1&&(c.hidden=C??!0)}}}}}}Object.keys(l.returnType).length===0&&delete l.returnType,U.push([l,c])}catch(T){S(t,new Error(`'${N}': ${T.message}`))}}var d,E}),i.length>0)throw console.warn(i),new Error("There were compilation errors.",{cause:i});if(U.length===0)throw new Error("No exported functions.");const q=`${he.$.uuidV4()}-script`;try{k||i.length!==0||(K=await async function(t,d,E="/script.js",l="__SHEETXL"){try{const c=await async function(){if(A)return A;if(H){if(await H,!A)throw new Error("ESBuild initialization promise resolved, but instance is not available.");return A}let g,m;H=new Promise((o,h)=>{g=o,m=h});try{const{initialize:o}=await Promise.resolve().then(()=>require("./q0y6NDefblRQrS_O.cjs"));return A=await o(),g(),A}catch(o){throw console.error("Failed to import or initialize esbuild:",o),H=null,m(o),o}}(),N="@sheetxl/primitives",T=`
|
|
40
25
|
export const FormulaContext = globalThis.${l}?.FormulaContext;
|
|
41
26
|
export const ScalarType = globalThis.${l}?.ScalarType;
|
|
42
27
|
export const Observable = globalThis.${l}?.Observable;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.1
|
|
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.
|
|
6
|
-
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),r=require("react"),l=require("@mui/material"),t=require("./
|
|
6
|
+
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),r=require("react"),l=require("@mui/material"),t=require("./BEzNZIQy5IlW0iAl.cjs"),u=require("@mui/system"),B=["Ok","Cancel"],F=r.memo(O=>{const{initialValue:j,context:x,onOption:h,onValidateOption:c,onInputOption:f,onDone:d,options:T=B,defaultOption:p=T?.[0],cancelOption:g="Cancel",sx:k,...S}=O,[a,b]=r.useState(j),[P,w]=r.useState(!1),m=r.useCallback(async(e,n)=>!0,[]),y=t.T(async e=>{f?.(a,e),h?.(e,e===g,e===p),d?.()},[a,f,d,h,g,p]),I=t.T(async e=>{e.keyCode===t.eo.Enter&&await m?.(a,null)!==!1&&y(p)},[a,y]),D=t.T(e=>{b(e.target.value),m?.(e.target.value,null)},[c]),M=t.T(async e=>{let n=await Promise.resolve(c?.(e));try{n!==!1&&(n=await Promise.resolve(m?.(a,e))??!0)}catch{}return n??!0},[c]),[v,C]=r.useState(t.Ft.Styles.lookupStyle(a).formatType??t.Ft.Type.Custom);r.useEffect(()=>{C(t.Ft.Styles.lookupStyle(a).formatType??t.Ft.Type.Custom)},[a]);const $=r.useMemo(()=>{const e=t.Ft.Styles.lookupPrimary(),n=i=>o.jsx(l.MenuItem,{value:i,children:i},i),s=Object.keys(e).map(i=>n(e[i].formatType));return s.push(n(t.Ft.Type.Custom)),s},[]),q=r.useCallback(e=>{const n=e.target.value;C(n);const s=t.Ft.Styles.lookupDefault(n);s&&b(s)},[]),A=r.useMemo(()=>{const e=x();return e.createTemporaryCell({value:e.getValue()??12345,style:{numberFormat:a}})},[v,a,x]);return o.jsx(t.E8,{title:"Number Format",options:T,onDone:d,onOption:e=>y(e),onValidateOption:M,defaultOption:p,cancelOption:g,autoFocusSel:".autoFocus",sx:{width:"580px",...k},...S,children:o.jsxs(l.Box,{sx:{paddingTop:e=>e.spacing(1),paddingBottom:e=>e.spacing(0),rowGap:e=>e.spacing(1),display:"flex",flexDirection:"column"},children:[o.jsxs(l.FormControl,{sx:{minWidth:135},size:"small",children:[o.jsx(l.InputLabel,{children:"Category"}),o.jsx(l.Select,{value:v,label:"Category",onChange:q,sx:{backgroundImage:`linear-gradient(${u.alpha("#fff",t.getOverlayAlpha(5))}, ${u.alpha("#fff",t.getOverlayAlpha(5))})`},children:$})]}),o.jsx(l.FormControl,{sx:{paddingTop:e=>e.spacing(1.5),minWidth:135,width:"100%"},size:"small",children:o.jsx(l.TextField,{label:"Code",onFocus:e=>{P||e.target?.select(),w(!0)},sx:{"& .MuiFormHelperText-root":{marginTop:e=>e.spacing(.5)}},InputLabelProps:{shrink:!0},InputProps:{inputProps:{className:"autoFocus",spellCheck:!1,autoComplete:"off",sx:{paddingTop:e=>e.spacing(1.25),paddingBottom:e=>e.spacing(.75),backgroundImage:`linear-gradient(${u.alpha("#fff",t.getOverlayAlpha(5))}, ${u.alpha("#fff",t.getOverlayAlpha(5))})`}}},value:a,onChange:D,onKeyDown:I,onContextMenu:e=>{e.stopPropagation()}})}),o.jsxs(l.Box,{children:[o.jsx(l.Typography,{variant:"caption",component:"div",sx:{paddingLeft:e=>e.spacing(2)},children:"Preview"}),o.jsx(l.Typography,{variant:"body2",component:"div",sx:{borderRadius:e=>`${e.shape.borderRadius}px`,padding:e=>e.spacing(1),border:e=>`1px solid ${e.palette.grey[400]}`},children:A.getNumberFormat().displayText||"(empty)"})]})]})})});exports.NumberFormatDialog=F,exports.default=F;
|
|
@@ -1,14 +1,9 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.1
|
|
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.
|
|
6
|
-
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react")
|
|
7
|
-
* @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.3.0
|
|
8
|
-
*
|
|
9
|
-
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
10
|
-
* License: The license can be found at https://www.sheetxl.com/license.
|
|
11
|
-
*/function me(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function re(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function ne(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?re(Object(r),!0).forEach(function(n){me(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):re(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function oe(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function ye(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ie(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function ue(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ie(Object(r),!0).forEach(function(n){ye(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ie(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function D(e){return function t(){for(var r=this,n=arguments.length,o=new Array(n),u=0;u<n;u++)o[u]=arguments[u];return o.length>=e.length?e.apply(this,o):function(){for(var c=arguments.length,a=new Array(c),g=0;g<c;g++)a[g]=arguments[g];return t.apply(r,[].concat(o,a))}}}function U(e){return{}.toString.call(e).includes("Object")}function q(e){return typeof e=="function"}var S=D(function(e,t){throw new Error(e[t]||e.default)})({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){return U(t)||S("changeType"),Object.keys(t).some(function(r){return n=e,o=r,!Object.prototype.hasOwnProperty.call(n,o);var n,o})&&S("changeField"),t},be=function(e){q(e)||S("selectorType")},Oe=function(e){q(e)||U(e)||S("handlerType"),U(e)&&Object.values(e).some(function(t){return!q(t)})&&S("handlersType")},we=function(e){var t;e||S("initialIsRequired"),U(e)||S("initialType"),t=e,Object.keys(t).length||S("initialContent")};function je(e,t){return q(t)?t(e.current):t}function Me(e,t){return e.current=ue(ue({},e.current),t),t}function Ee(e,t,r){return q(t)?t(e.current):Object.keys(r).forEach(function(n){var o;return(o=t[n])===null||o===void 0?void 0:o.call(t,e.current[n])}),r}var K,Pe=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};we(e),Oe(t);var r={current:e},n=D(Ee)(r,t),o=D(Me)(r),u=D(ve)(e),c=D(je)(r);return[function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:function(g){return g};return be(a),a(r.current)},function(a){(function(){for(var g=arguments.length,p=new Array(g),w=0;w<g;w++)p[w]=arguments[w];return function(b){return p.reduceRight(function(E,P){return P(E)},b)}})(n,o,u,c)(a)}]},le={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!
|
|
6
|
+
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react");function me(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function re(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function ne(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?re(Object(r),!0).forEach(function(n){me(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):re(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function oe(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function ye(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ie(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function ue(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ie(Object(r),!0).forEach(function(n){ye(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ie(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function D(e){return function t(){for(var r=this,n=arguments.length,o=new Array(n),u=0;u<n;u++)o[u]=arguments[u];return o.length>=e.length?e.apply(this,o):function(){for(var c=arguments.length,a=new Array(c),g=0;g<c;g++)a[g]=arguments[g];return t.apply(r,[].concat(o,a))}}}function U(e){return{}.toString.call(e).includes("Object")}function q(e){return typeof e=="function"}var S=D(function(e,t){throw new Error(e[t]||e.default)})({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){return U(t)||S("changeType"),Object.keys(t).some(function(r){return n=e,o=r,!Object.prototype.hasOwnProperty.call(n,o);var n,o})&&S("changeField"),t},be=function(e){q(e)||S("selectorType")},Oe=function(e){q(e)||U(e)||S("handlerType"),U(e)&&Object.values(e).some(function(t){return!q(t)})&&S("handlersType")},we=function(e){var t;e||S("initialIsRequired"),U(e)||S("initialType"),t=e,Object.keys(t).length||S("initialContent")};function je(e,t){return q(t)?t(e.current):t}function Me(e,t){return e.current=ue(ue({},e.current),t),t}function Ee(e,t,r){return q(t)?t(e.current):Object.keys(r).forEach(function(n){var o;return(o=t[n])===null||o===void 0?void 0:o.call(t,e.current[n])}),r}var K,Pe=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};we(e),Oe(t);var r={current:e},n=D(Ee)(r,t),o=D(Me)(r),u=D(ve)(e),c=D(je)(r);return[function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:function(g){return g};return be(a),a(r.current)},function(a){(function(){for(var g=arguments.length,p=new Array(g),w=0;w<g;w++)p[w]=arguments[w];return function(b){return p.reduceRight(function(E,P){return P(E)},b)}})(n,o,u,c)(a)}]},le={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!
|
|
12
7
|
You are using deprecated way of configuration.
|
|
13
8
|
|
|
14
9
|
Instead of using
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.1
|
|
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
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.1
|
|
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
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.1
|
|
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.
|