@sheetxl/studio-vanilla 0.3.2 → 0.3.4
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 +97 -97
- package/browser/cjs/0dkhOl0ItVZXnHg_.cjs +6 -0
- package/browser/cjs/{8Y7hlPEOJeSakYCm.cjs → 46C8cTP5D1fDfsPs.cjs} +1 -1
- package/browser/cjs/{C_-gd03rNpCoIWh3.cjs → 7Xjct_4bBSU-vad1.cjs} +1 -1
- package/browser/cjs/{Dn1uL0GqyDGo3d67.cjs → B2kFbeodTh3Gk-aQ.cjs} +2 -2
- package/browser/cjs/B5UGK4AzAC9SjXJp.cjs +6 -0
- package/browser/cjs/{DjmqyErluCMLOjsF.cjs → B9kurj8mOePUlJX2.cjs} +1 -1
- package/browser/cjs/{DlAB_CcYmXk8tpYL.cjs → BB5pxJh1jhHsvVZ1.cjs} +1 -1
- package/browser/cjs/{BPbd8bf2gOPV7ZtV.cjs → BDACVe5nzEmYknRm.cjs} +8 -8
- package/browser/cjs/{CpPLkq1qYpELtBVb.cjs → BDmE5OFneHwyeeiD.cjs} +4 -4
- package/browser/cjs/{CkboN9PqhMP8gVUO.cjs → BG8OR9VWCkyIRwrw.cjs} +1 -1
- package/browser/cjs/BML8p6hKVpqMb-13.cjs +124 -0
- package/browser/cjs/{Bx6ZuxKkOWgx7s9X.cjs → BTgA_stiR3dZAHop.cjs} +2 -2
- package/browser/cjs/BeGusiaaShhfh7Ch.cjs +7 -0
- package/browser/cjs/{CFRAYmx7O_QuuqLm.cjs → BgJ-surJf8jSxqmk.cjs} +1 -1
- package/browser/cjs/{BivyzwRCqS37kNIh.cjs → BgJFVvwpAWB3ssLE.cjs} +1 -1
- package/browser/cjs/{Bb4zRbBuFZbbsMgv.cjs → Bi8tk3LAhLkM7IXm.cjs} +1 -1
- package/browser/cjs/{B5XBWUdLMqS2HDaF.cjs → BlYpCVX1NOGpcNB6.cjs} +3 -3
- package/browser/cjs/BnZdvx8z2BIDZv9J.cjs +355 -0
- package/browser/cjs/{C4Far2itXrJ3DMOt.cjs → BvnUfF0WlIXumm-E.cjs} +1 -1
- package/browser/cjs/{Cx2rTk-O7yQO7-q6.cjs → BwGs6fp9j-iFwDlB.cjs} +4 -4
- package/browser/cjs/{CDh1V-eGnwm_zj2N.cjs → C4JyilwtB4aWsWnG.cjs} +1 -1
- package/browser/cjs/{DCe0ifxJ2waXgr0H.cjs → C8PUqW17bEbzJthE.cjs} +1 -1
- package/browser/cjs/CBTWDt8vxgXfkDfh.cjs +6 -0
- package/browser/cjs/{DZ3gARHylllIcJDT.cjs → CJ29qM66PMBNE3G9.cjs} +1 -1
- package/browser/cjs/CKtzkomrFnDVY5SY.cjs +11 -0
- package/browser/cjs/{CiCnx8sUQcc8athi.cjs → CLarA_vLTlgU3TCF.cjs} +2 -2
- package/browser/cjs/{BcapKXhCmLNJmfsN.cjs → CN8Y9NZjRCPl8CqY.cjs} +1 -1
- package/browser/cjs/{CLT2qTd_lmEX24Wq.cjs → CNIPdrSO6Xr2gkt9.cjs} +1 -1
- package/browser/cjs/CNkEdWYoHRiw_Uez.cjs +6 -0
- package/browser/cjs/{DbdPbW-LrAm6toaO.cjs → CPFRW8nnIVWYeQYn.cjs} +6 -6
- package/browser/cjs/{DV0r3gTeA-w2Q6Jx.cjs → CZih4fqvAIVbCVO4.cjs} +1 -1
- package/browser/cjs/{DRvH_199sgRclUKY.cjs → CdVKz1bz20BYztuB.cjs} +1 -1
- package/browser/cjs/{DE3aCIXAZL7uLX0k.cjs → CpPM7Ir1EZB_8bER.cjs} +1 -1
- package/browser/cjs/{INcIs0jpLlM3mm-H.cjs → CuldnUeQxpcu8oJ7.cjs} +1 -1
- package/browser/cjs/{DyS1Kn_U7Em83Hsq.cjs → Cx3wCYZR6BKbOtgk.cjs} +1 -1
- package/browser/cjs/{DciSg5hoXxvfqoKC.cjs → Cx8xafhEESu639Ig.cjs} +1 -1
- package/browser/cjs/{BZWVOs1oqYkcQagx.cjs → CzqzVoUeKxH16SDC.cjs} +2 -2
- package/browser/cjs/{Cx39LdblHkleUMb1.cjs → D-GDPxpVRx45cdpQ.cjs} +1 -1
- package/browser/cjs/{Do_T0KvdhyBUnWx_.cjs → D-I49Eh-SQg7zJYX.cjs} +1 -1
- package/browser/cjs/{Dn4RfIZ9VHwQ7Eex.cjs → D50Wzp-4UIlO9uVc.cjs} +1 -1
- package/browser/cjs/{DvtlLY8kPVwL4sgA.cjs → DB9rOzEP0g0ZGfBj.cjs} +1 -1
- package/browser/cjs/{Boig6aZA2-R5_w21.cjs → DD0VHDU8F1FiLKcs.cjs} +1 -1
- package/browser/cjs/{CwhdUCDaoLQGcvJy.cjs → DIeyUTfGkxwK6bdT.cjs} +6 -6
- package/browser/cjs/{BDItG-Ctn9btjJYc.cjs → DX_oDw_K4CB6Ej9i.cjs} +1 -1
- package/browser/cjs/DcNRcLtSOkHAK_Mt.cjs +6 -0
- package/browser/cjs/Df8ZAsCgZ69F33-C.cjs +6 -0
- package/browser/cjs/{Bwi2m9xG4JvXPBHQ.cjs → DfCiN8VOEQt4cw-x.cjs} +2 -2
- package/browser/cjs/{BMBMwGW_zSiAe-XN.cjs → DnkG5azaxDtt-73G.cjs} +1 -1
- package/browser/cjs/{DDvILQ7_cSgi8K6F.cjs → Dr_HVAdkD1bM9yrW.cjs} +1 -1
- package/browser/cjs/{D4HABltWISUjVaOO.cjs → DzE824T4cXRcKowY.cjs} +1 -1
- package/browser/cjs/{Dn6LoJinxzxUiMDg.cjs → KbKjJCMErVEwKqoi.cjs} +2 -2
- package/browser/cjs/{YHVbESGX6phJX20u.cjs → Px_DbuQFWhjhPilq.cjs} +1 -1
- package/browser/cjs/{CDt2itaEJHdgdMf7.cjs → VmYEO_-N9Cn7JpZN.cjs} +1 -1
- package/browser/cjs/{ZWsbkG6eb6seSRXv.cjs → WPXWuf9j-uwazW31.cjs} +2 -2
- package/browser/cjs/{CkOqLhMfOSUO6hZc.cjs → c4HmqMqg3ugRd4gl.cjs} +4 -4
- package/browser/cjs/index.cjs +2 -2
- package/browser/cjs/{DWoR03zqV8zXWO-X.cjs → jmPMUQMT7KTdf9Sr.cjs} +1 -1
- package/browser/cjs/{CgBaptNB5xDzVtxH.cjs → yZrSgyFKPqsiym7z.cjs} +2 -2
- package/browser/cjs/{D99WjfuVwM-YRm4a.cjs → zRbLzzCcfjQpsQ4j.cjs} +1 -1
- package/browser/esm/{DirjJILlmPlhPZwJ.mjs → 0M23_yfYSvrAB5iY.mjs} +4 -4
- package/browser/esm/{DfKdydqLJ4MMUAow.mjs → 2sPP8EL_OzSYDsKu.mjs} +1 -1
- package/{cdn/assets/CUrekuBvZp8HzDRR.js → browser/esm/3SiPV9yNzSbQVINg.mjs} +1 -1
- package/{cdn/assets/DlF4ox6px_a8KGDI.js → browser/esm/6CkscKSECxQpy0v6.mjs} +1 -1
- package/{cdn/assets/Ct9ZcjuuaNCX6kIj.js → browser/esm/94SRg1Gxbdr9B75m.mjs} +1 -1
- package/browser/esm/{CUFXsvWRmBglOxCh.mjs → B2I1Hudz2EIGw59h.mjs} +1 -1
- package/browser/esm/{D0wIYxN6_chAmwCc.mjs → B2fqssq7kMsGIg5g.mjs} +1 -1
- package/{cdn/assets/C5ipzxDNB7mwOup8.js → browser/esm/BBBP9totA24zTbqh.mjs} +1 -1
- package/{cdn/assets/Bmo80_Qi8HeLXtBu.js → browser/esm/BEYxIKe5B75ADXWP.mjs} +1634 -1612
- package/{cdn/assets/D3XmnZGIfxT4lk3w.js → browser/esm/BIHHiMjUvXmWQ6w_.mjs} +1 -1
- package/browser/esm/{CMICZ36cqe6eEELU.mjs → BNq1DlA_v8-hm8PQ.mjs} +21 -21
- package/browser/esm/{CnenkhTeaOhTTMqv.mjs → BXMZNx8rs4_V8pQL.mjs} +2 -2
- package/browser/esm/{3N51fmivOwyOXT3l.mjs → BYRVuU6FUEX6XBFW.mjs} +1 -1
- package/browser/esm/{Cux5PsvHYlpp5b2x.mjs → BfNo01-WwZl_5N1M.mjs} +88 -88
- package/browser/esm/{BbYZAR2suHjEBaES.mjs → BjLCBG20KyjNKCpy.mjs} +2 -2
- package/browser/esm/{B0DAlgwfAWOXvq4_.mjs → BoL2rsWK1YyT1PP7.mjs} +8 -8
- package/browser/esm/{Cz7RSKUHlEt4Sy6b.mjs → Bq_HFm6_6_ycs_gE.mjs} +30612 -30763
- package/browser/esm/{CMwrohupcgVf9ovx.mjs → Br4TnuxGRULZDhCA.mjs} +180 -180
- package/{cdn/assets/TCHZxTIhWMVkgX3o.js → browser/esm/BrWhLiIy81LKNSUX.mjs} +1 -1
- package/browser/esm/{BEdbC5wAfOjfWhGs.mjs → Bs6fth_bBoNrYDwE.mjs} +1 -1
- package/browser/esm/{on8xRgdppLtS76xu.mjs → C-QHwmJCeB3o-mzv.mjs} +1000 -988
- package/browser/esm/{C_xUEkZ7r882X9Ha.mjs → C-oc6cc0wXRVBFx2.mjs} +1 -1
- package/{cdn/assets/CSvpcvVrtQMi5YMH.js → browser/esm/C0U_bX9Hj97edVC9.mjs} +1 -1
- package/browser/esm/{BH6ldKaAlNHAWreh.mjs → C2Ik_RfF43fmFDeS.mjs} +1 -1
- package/browser/esm/{MhA9JYSNQknyC2-7.mjs → CC8aO_pPT-tkJK_H.mjs} +1 -1
- package/browser/esm/{nLQOv_3C-yTgOm_d.mjs → CGxu5NKxrEXE8QIe.mjs} +1 -1
- package/browser/esm/{Bjtb8lG8j5lZLmPO.mjs → CKHDKAaHkwZHUkoS.mjs} +9 -9
- package/browser/esm/{BTTKTkAe7jTaQvjz.mjs → CTdGamCv2VtpI05C.mjs} +1 -1
- package/browser/esm/{Dd9etqsWH04KVyov.mjs → CZRLp5H9dSrMEgaI.mjs} +12 -12
- package/{cdn/assets/DAW6ifi60VDar3-l.js → browser/esm/CbTDhJiJfpR6Btxp.mjs} +1 -1
- package/browser/esm/{Bpt-cfH_EphAcLow.mjs → CeWIrhJ_bsxOl7mw.mjs} +3 -3
- package/{cdn/assets/DTeYi36ajMzmUc3x.js → browser/esm/CsUNORBKkJ7f3diG.mjs} +1 -1
- package/browser/esm/{B4LH4e6YQr0i0kbs.mjs → CyYXh2ng_dKgHzbE.mjs} +2 -2
- package/browser/esm/DLJ1zBZE-WPdkpt2.mjs +1466 -0
- package/browser/esm/{HPDpApJMbty0fOGh.mjs → DRFsMc27LyLwGu56.mjs} +2 -2
- package/{cdn/assets/XWOQU_sxt5_lFjJM.js → browser/esm/DT09m4FGTu5N2LZJ.mjs} +1 -1
- package/browser/esm/{B1m-ozjxrnDeFhiZ.mjs → DUgyehn3re1zGQT5.mjs} +1 -1
- package/{cdn/assets/D8C3KeX9kFgFNEsb.js → browser/esm/DWOT4LkGXRN4FrJI.mjs} +1 -1
- package/browser/esm/{Dq8duLxf4-Tuo_wV.mjs → Ddm9jggzrr5VJQ68.mjs} +5 -5
- package/browser/esm/{BM8e7ROZOHaAquLi.mjs → Dl02UNFD2tNwtHQ9.mjs} +1 -1
- package/browser/esm/{CvbAyNJlfhcCYfDr.mjs → Dq1oxXMudxqdJaKZ.mjs} +5 -5
- package/browser/esm/{Ld4Og9zF7kdwc9Bq.mjs → Dx1J8HBJdbrROP0v.mjs} +1 -1
- package/browser/esm/{6nSiDtF6igNyrf2y.mjs → Dz8v5MSOgkaH_zTd.mjs} +18 -18
- package/{cdn/assets/blfFjNlrt7wIm8ac.js → browser/esm/F7oUe3nLrtaRYTas.mjs} +1 -1
- package/browser/esm/FCkxbRy2XiqD3GdL.mjs +41 -0
- package/browser/esm/{C2nH1Z0Qv8dVA46o.mjs → GbTp1_3jFZu0Ex24.mjs} +2 -2
- package/{cdn/assets/nuGYHbGeWLkN7IFF.js → browser/esm/L5HOBW-m9BjZTUuw.mjs} +1 -1
- package/{cdn/assets/D6KZyFauO14Su023.js → browser/esm/RWhi_dOrWDICNt1t.mjs} +1 -1
- package/browser/esm/{CxjY2TO23WNFisWX.mjs → XL9-bWRsLjEvW1Y0.mjs} +1 -1
- package/browser/esm/{Dv5RrOnUwTMHeM7k.mjs → ZXuNMFT0sYh8ui7O.mjs} +4 -4
- package/browser/esm/{Bjsc6wrUpvl_hjRj.mjs → gX1gbnkwbpalR57F.mjs} +1 -1
- package/browser/esm/{3VzVhIOnlmOZ-dBg.mjs → im3UoVISx3VXhEFp.mjs} +14 -14
- package/browser/esm/index.mjs +2 -2
- package/browser/esm/{C_9Upo5I-PSK47R_.mjs → kagl0zcUDaK1IX_X.mjs} +1 -1
- package/browser/esm/{Dc1H2furircZlzN8.mjs → pxRv4ndPNkOMM_s3.mjs} +17 -17
- package/browser/esm/{C4ADTbdoMYv-xYb_.mjs → qchlbvmOxrybWJep.mjs} +1 -1
- package/browser/esm/{TCyoIWnhQsOAGihq.mjs → s8U6UEvd4LQsvEnH.mjs} +1 -1
- package/{cdn/assets/CXM4duZAQ9xkx_-8.js → browser/esm/t7CffsKJY64LMXgS.mjs} +1 -1
- package/browser/esm/{BsMA-6c4MCPqfDAq.mjs → x9wy-F3t5pNOvOIp.mjs} +103 -100
- package/cdn/assets/{DfKdydqLJ4MMUAow.js → 2sPP8EL_OzSYDsKu.js} +1 -1
- package/{browser/esm/CUrekuBvZp8HzDRR.mjs → cdn/assets/3SiPV9yNzSbQVINg.js} +1 -1
- package/{browser/esm/DlF4ox6px_a8KGDI.mjs → cdn/assets/6CkscKSECxQpy0v6.js} +1 -1
- package/cdn/assets/{jNoWEx25dsSqFAso.js → 6tFlyQMvtppXfmuU.js} +3 -3
- package/{browser/esm/Ct9ZcjuuaNCX6kIj.mjs → cdn/assets/94SRg1Gxbdr9B75m.js} +1 -1
- package/cdn/assets/{CUFXsvWRmBglOxCh.js → B2I1Hudz2EIGw59h.js} +1 -1
- package/cdn/assets/{D0wIYxN6_chAmwCc.js → B2fqssq7kMsGIg5g.js} +1 -1
- package/{browser/esm/C5ipzxDNB7mwOup8.mjs → cdn/assets/BBBP9totA24zTbqh.js} +1 -1
- package/cdn/assets/{C6VUt6vUMhiTBp21.js → BD1S4plUUe1NPAqV.js} +103 -100
- package/{browser/esm/D3XmnZGIfxT4lk3w.mjs → cdn/assets/BIHHiMjUvXmWQ6w_.js} +1 -1
- package/cdn/assets/{BDy4o1dgQMIqsMiY.js → BKDQtGZxRUUzBmnI.js} +2 -2
- package/cdn/assets/{DIOp5ZkL1dY68cMH.js → BMb4pCD8O5vK2p1B.js} +2 -2
- package/cdn/assets/BPStm90FUYfOgibU.js +41 -0
- package/cdn/assets/{BUJQ7wUyL-iSUg8h.js → BY5dcSv5nxuvXMsr.js} +5 -5
- package/cdn/assets/{3N51fmivOwyOXT3l.js → BYRVuU6FUEX6XBFW.js} +1 -1
- package/cdn/assets/{9ZJYmMX0oks56Dir.js → Be9YovX6b_0gKXs5.js} +21 -21
- package/{browser/esm/TCHZxTIhWMVkgX3o.mjs → cdn/assets/BrWhLiIy81LKNSUX.js} +1 -1
- package/cdn/assets/{BEdbC5wAfOjfWhGs.js → Bs6fth_bBoNrYDwE.js} +1 -1
- package/cdn/assets/{D1QeQpmRY9PDIMEz.js → BzlAT8jiYfNV3kGy.js} +2 -2
- package/cdn/assets/{C_xUEkZ7r882X9Ha.js → C-oc6cc0wXRVBFx2.js} +1 -1
- package/{browser/esm/CSvpcvVrtQMi5YMH.mjs → cdn/assets/C0U_bX9Hj97edVC9.js} +1 -1
- package/cdn/assets/{BH6ldKaAlNHAWreh.js → C2Ik_RfF43fmFDeS.js} +1 -1
- package/cdn/assets/{MhA9JYSNQknyC2-7.js → CC8aO_pPT-tkJK_H.js} +1 -1
- package/cdn/assets/{CaN6N1dq3iIVO1hT.js → CG-YuIoWsi12_nu9.js} +9 -9
- package/cdn/assets/{BbtqTKem2BWD_lH0.js → CGUSbWH383tudMFu.js} +12 -12
- package/cdn/assets/{nLQOv_3C-yTgOm_d.js → CGxu5NKxrEXE8QIe.js} +1 -1
- package/cdn/assets/{C0a277r4c7jdrbo-.js → CJOmvmuvywU33q7C.js} +1000 -988
- package/cdn/assets/{CscbwTq6KR8XJrxB.js → CNhPYXS_v3a2ATBg.js} +81 -81
- package/cdn/assets/{CWmH4zsZyNsO9p41.js → COFTB6OufFls7NP1.js} +5 -5
- package/cdn/assets/{BTTKTkAe7jTaQvjz.js → CTdGamCv2VtpI05C.js} +1 -1
- package/{browser/esm/DAW6ifi60VDar3-l.mjs → cdn/assets/CbTDhJiJfpR6Btxp.js} +1 -1
- package/{browser/esm/DTeYi36ajMzmUc3x.mjs → cdn/assets/CsUNORBKkJ7f3diG.js} +1 -1
- package/{browser/esm/Ctrv_0YzvwpnUr0y.mjs → cdn/assets/DBq5E3hmvVO5ss1V.js} +1634 -1612
- package/{browser/esm/XWOQU_sxt5_lFjJM.mjs → cdn/assets/DT09m4FGTu5N2LZJ.js} +1 -1
- package/cdn/assets/{B1m-ozjxrnDeFhiZ.js → DUgyehn3re1zGQT5.js} +1 -1
- package/{browser/esm/D8C3KeX9kFgFNEsb.mjs → cdn/assets/DWOT4LkGXRN4FrJI.js} +1 -1
- package/cdn/assets/{b4A5hTjHI0rNI6Qk.js → DYgFWlitgXmKdN_I.js} +88 -88
- package/cdn/assets/{B537hPIx4O8b3yYs.js → Det1P4Jrl9aZHFGe.js} +4 -4
- package/cdn/assets/{BHQC-R8MGLRzOxBA.js → DjHCn_TmfObC_aJ1.js} +14 -14
- package/cdn/assets/{BM8e7ROZOHaAquLi.js → Dl02UNFD2tNwtHQ9.js} +1 -1
- package/cdn/assets/{OMD1-UUDvqKr1SYQ.js → Dt3qIbvMvgQhNgeR.js} +4 -4
- package/cdn/assets/{Ld4Og9zF7kdwc9Bq.js → Dx1J8HBJdbrROP0v.js} +1 -1
- package/{browser/esm/blfFjNlrt7wIm8ac.mjs → cdn/assets/F7oUe3nLrtaRYTas.js} +1 -1
- package/{browser/esm/nuGYHbGeWLkN7IFF.mjs → cdn/assets/L5HOBW-m9BjZTUuw.js} +1 -1
- package/cdn/assets/{CKyyzgIojzuQ14Jb.js → LxoKYdUqZ4Zgxjza.js} +17 -17
- package/{browser/esm/D6KZyFauO14Su023.mjs → cdn/assets/RWhi_dOrWDICNt1t.js} +1 -1
- package/cdn/assets/{BTXU6Aai-Ialy3og.js → U_ihCP2tbaRnqD2g.js} +38129 -38280
- package/cdn/assets/{CxjY2TO23WNFisWX.js → XL9-bWRsLjEvW1Y0.js} +1 -1
- package/cdn/assets/{DfQ3XXU3pjhhAldB.js → Z4Ov3rzhXnezd-gU.js} +2 -2
- package/cdn/assets/{DHDTA2yZ7ODlBAXM.js → ct9ztJbQB16MJoyP.js} +2 -2
- package/cdn/assets/{Cd3KcqA1q1QnCheo.js → dQu9CDkkTpS5h580.js} +8 -8
- package/cdn/assets/{B0h0MHiq87C7wRUG.js → dR_uwa9znq6_hDmB.js} +18 -18
- package/cdn/assets/{Bjsc6wrUpvl_hjRj.js → gX1gbnkwbpalR57F.js} +1 -1
- package/cdn/assets/{C_9Upo5I-PSK47R_.js → kagl0zcUDaK1IX_X.js} +1 -1
- package/cdn/assets/mAWImp_J2v8z8hbZ.js +1466 -0
- package/cdn/assets/{C4ADTbdoMYv-xYb_.js → qchlbvmOxrybWJep.js} +1 -1
- package/cdn/assets/{TCyoIWnhQsOAGihq.js → s8U6UEvd4LQsvEnH.js} +1 -1
- package/{browser/esm/CXM4duZAQ9xkx_-8.mjs → cdn/assets/t7CffsKJY64LMXgS.js} +1 -1
- package/cdn/index.js +2 -2
- package/cdn/loader.js +1 -1
- package/package.json +2 -2
- package/browser/cjs/B4SOP0NZdUa_5syD.cjs +0 -452
- package/browser/cjs/BHCPp9yjpWH3JG34.cjs +0 -6
- package/browser/cjs/BKGew2NYE-aa2w6y.cjs +0 -6
- package/browser/cjs/B_HrZqG_mlwYR4Ae.cjs +0 -6
- package/browser/cjs/C6MqpTvQKwY2D1nN.cjs +0 -7
- package/browser/cjs/CU5XR4xQQYjuDqWh.cjs +0 -6
- package/browser/cjs/CV3O2HrGgeVyZSTI.cjs +0 -6
- package/browser/cjs/CWuna-uBlfjsma3U.cjs +0 -11
- package/browser/cjs/CiJXZ4MMq0-g5pRy.cjs +0 -124
- package/browser/cjs/DmhCjj0KeysXxIzX.cjs +0 -6
- package/browser/esm/DDfN1juzl1hT_UFe.mjs +0 -41
- package/browser/esm/DOGg1qByRfg3Xspr.mjs +0 -1466
- package/cdn/assets/DfNI2EiuegVK3udt.js +0 -41
- package/cdn/assets/E-GOcSTy1uY4Oj3I.js +0 -1466
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { jsx as g, jsxs as se, Fragment as
|
|
1
|
+
import { jsx as g, jsxs as se, Fragment as Kt } from "react/jsx-runtime";
|
|
2
2
|
import * as ve from "react";
|
|
3
|
-
import T, { memo as Me, forwardRef as ce, useRef as le, useMemo as te, useState as ae, useEffect as
|
|
4
|
-
import {
|
|
3
|
+
import T, { memo as Me, forwardRef as ce, useRef as le, useMemo as te, useState as ae, useEffect as G, useLayoutEffect as dt, useCallback as ne, Component as Gt, createElement as fe, createContext as xn, useContext as yn, isValidElement as wn, cloneElement as vn } from "react";
|
|
4
|
+
import { I as xt, K as yt, L as Je, M as En, N as Cn, Q as Sn, R as Ln, U as Mn, W as He, $ as wt, a0 as vt, a1 as Mt, a2 as Dn, a3 as Tn, a4 as Zt, a5 as On, a6 as Wn, a7 as ie, a8 as Qt, a9 as Dt, F as nt, aa as pt, ab as Fn, ac as Nn, Z as Tt, ad as ye, ae as Xt, af as Rn, ag as Jt, ah as An, ai as mt, aj as Yt, ak as In, al as Pn, am as Hn, an as jn, ao as zn, ap as _n, aq as qn, B as xe, ar as Bn, i as Vn, as as $n, at as ht, au as Un, av as Kn, aw as Gn, ax as Zn, ay as Qn, az as Xn, H as Jn, aA as ee, aB as We, aC as Ot, aD as Yn, aE as eo, aF as to, aG as no, aH as oo, aI as ro, aJ as ot, aK as Fe, aL as ao, aM as io, aN as so, aO as lo, aP as Wt, aQ as Ft, aR as co, aS as uo, aT as po, aU as mo, aV as _e, aW as ho } from "./Bq_HFm6_6_ycs_gE.mjs";
|
|
5
5
|
import { createPortal as fo } from "react-dom";
|
|
6
6
|
/**
|
|
7
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.
|
|
7
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.4
|
|
8
8
|
*
|
|
9
9
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
10
10
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -17,16 +17,16 @@ const ko = He("div", { name: "MuiCollapse", slot: "Root", overridesResolver: (e,
|
|
|
17
17
|
const { ownerState: r } = e;
|
|
18
18
|
return [o.root, o[r.orientation], r.state === "entered" && o.entered, r.state === "exited" && !r.in && r.collapsedSize === "0px" && o.hidden];
|
|
19
19
|
} })(Dn(({ theme: e }) => ({ height: 0, overflow: "hidden", transition: e.transitions.create("height"), variants: [{ props: { orientation: "horizontal" }, style: { height: "auto", width: 0, transition: e.transitions.create("width") } }, { props: { state: "entered" }, style: { height: "auto", overflow: "visible" } }, { props: { state: "entered", orientation: "horizontal" }, style: { width: "auto" } }, { props: ({ ownerState: o }) => o.state === "exited" && !o.in && o.collapsedSize === "0px", style: { visibility: "hidden" } }] }))), bo = He("div", { name: "MuiCollapse", slot: "Wrapper", overridesResolver: (e, o) => o.wrapper })({ display: "flex", width: "100%", variants: [{ props: { orientation: "horizontal" }, style: { width: "auto", height: "100%" } }] }), xo = He("div", { name: "MuiCollapse", slot: "WrapperInner", overridesResolver: (e, o) => o.wrapperInner })({ width: "100%", variants: [{ props: { orientation: "horizontal" }, style: { width: "auto", height: "100%" } }] }), ft = ve.forwardRef(function(e, o) {
|
|
20
|
-
const r = Je({ props: e, name: "MuiCollapse" }), { addEndListener: t, children: n, className: a, collapsedSize: i = "0px", component: l, easing: s, in: c, onEnter: u, onEntered: m, onEntering: k, onExit: y, onExited: b, onExiting: f, orientation: x = "vertical", style: h, timeout: d = En.standard, TransitionComponent: L = Cn, ...w } = r,
|
|
20
|
+
const r = Je({ props: e, name: "MuiCollapse" }), { addEndListener: t, children: n, className: a, collapsedSize: i = "0px", component: l, easing: s, in: c, onEnter: u, onEntered: m, onEntering: k, onExit: y, onExited: b, onExiting: f, orientation: x = "vertical", style: h, timeout: d = En.standard, TransitionComponent: L = Cn, ...w } = r, A = { ...r, orientation: x, collapsedSize: i }, M = ((C) => {
|
|
21
21
|
const { orientation: W, classes: V } = C;
|
|
22
22
|
return vt({ root: ["root", `${W}`], entered: ["entered"], hidden: ["hidden"], wrapper: ["wrapper", `${W}`], wrapperInner: ["wrapperInner", `${W}`] }, go, V);
|
|
23
|
-
})(
|
|
23
|
+
})(A), H = Sn(), q = Ln(), N = ve.useRef(null), z = ve.useRef(), K = typeof i == "number" ? `${i}px` : i, X = x === "horizontal", I = X ? "width" : "height", oe = ve.useRef(null), R = Mn(o, oe), E = (C) => (W) => {
|
|
24
24
|
if (C) {
|
|
25
25
|
const V = oe.current;
|
|
26
26
|
W === void 0 ? C(V) : C(V, W);
|
|
27
27
|
}
|
|
28
28
|
}, S = () => N.current ? N.current[X ? "clientWidth" : "clientHeight"] : 0, P = E((C, W) => {
|
|
29
|
-
N.current && X && (N.current.style.position = "absolute"), C.style[I] =
|
|
29
|
+
N.current && X && (N.current.style.position = "absolute"), C.style[I] = K, u && u(C, W);
|
|
30
30
|
}), D = E((C, W) => {
|
|
31
31
|
const V = S();
|
|
32
32
|
N.current && X && (N.current.style.position = "");
|
|
@@ -46,11 +46,11 @@ const ko = He("div", { name: "MuiCollapse", slot: "Root", overridesResolver: (e,
|
|
|
46
46
|
const me = H.transitions.getAutoHeightDuration(W);
|
|
47
47
|
C.style.transitionDuration = `${me}ms`, z.current = me;
|
|
48
48
|
} else C.style.transitionDuration = typeof V == "string" ? V : `${V}ms`;
|
|
49
|
-
C.style[I] =
|
|
49
|
+
C.style[I] = K, C.style.transitionTimingFunction = re, f && f(C);
|
|
50
50
|
});
|
|
51
51
|
return g(L, { in: c, onEnter: P, onEntered: B, onEntering: D, onExit: _, onExited: J, onExiting: j, addEndListener: (C) => {
|
|
52
52
|
d === "auto" && q.start(z.current || 0, C), t && t(oe.current, C);
|
|
53
|
-
}, nodeRef: oe, timeout: d === "auto" ? null : d, ...w, children: (C, { ownerState: W, ...V }) => g(ko, { as: l, className: wt(M.root, a, { entered: M.entered, exited: !c &&
|
|
53
|
+
}, nodeRef: oe, timeout: d === "auto" ? null : d, ...w, children: (C, { ownerState: W, ...V }) => g(ko, { as: l, className: wt(M.root, a, { entered: M.entered, exited: !c && K === "0px" && M.hidden }[C]), style: { [X ? "minWidth" : "minHeight"]: K, ...h }, ref: R, ownerState: { ...A, state: C }, ...V, children: g(bo, { ownerState: { ...A, state: C }, className: M.wrapper, ref: N, children: g(xo, { ownerState: { ...A, state: C }, className: M.wrapperInner, children: n }) }) }) });
|
|
54
54
|
});
|
|
55
55
|
function yo(e) {
|
|
56
56
|
return xt("MuiCard", e);
|
|
@@ -97,7 +97,7 @@ function To(e) {
|
|
|
97
97
|
return se(ve.Fragment, { children: [gt && g(Do, { enableColorScheme: t }), !gt && !t && g("span", { className: Ze, style: { display: "none" } }), r] });
|
|
98
98
|
}
|
|
99
99
|
const Oo = On(g("path", { d: "M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m3.59-13L12 10.59 8.41 7 7 8.41 10.59 12 7 15.59 8.41 17 12 13.41 15.59 17 17 15.59 13.41 12 17 8.41z" }), "CancelOutlined"), Wo = xn(null), rt = { didCatch: !1, error: null };
|
|
100
|
-
class Fo extends
|
|
100
|
+
class Fo extends Gt {
|
|
101
101
|
constructor(o) {
|
|
102
102
|
super(o), this.resetErrorBoundary = this.resetErrorBoundary.bind(this), this.state = rt;
|
|
103
103
|
}
|
|
@@ -149,7 +149,7 @@ function ge() {
|
|
|
149
149
|
for (var e, o, r = 0, t = ""; r < arguments.length; ) (e = arguments[r++]) && (o = en(e)) && (t && (t += " "), t += o);
|
|
150
150
|
return t;
|
|
151
151
|
}
|
|
152
|
-
let No = { data: "" },
|
|
152
|
+
let No = { data: "" }, Ro = /(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g, Ao = /\/\*[^]*?\*\/| +/g, Rt = /\n+/g, we = (e, o) => {
|
|
153
153
|
let r = "", t = "", n = "";
|
|
154
154
|
for (let a in e) {
|
|
155
155
|
let i = e[a];
|
|
@@ -174,8 +174,8 @@ function kt(e) {
|
|
|
174
174
|
})(m));
|
|
175
175
|
if (!de[k]) {
|
|
176
176
|
let d = m !== i ? i : ((L) => {
|
|
177
|
-
let w,
|
|
178
|
-
for (; w =
|
|
177
|
+
let w, A, M = [{}];
|
|
178
|
+
for (; w = Ro.exec(L.replace(Ao, "")); ) w[4] ? M.shift() : w[3] ? (A = w[3].replace(Rt, " ").trim(), M.unshift(M[0][A] = M[0][A] || {})) : M[0][w[1]] = w[2].replace(Rt, " ").trim();
|
|
179
179
|
return M[0];
|
|
180
180
|
})(i);
|
|
181
181
|
de[k] = we(u ? { ["@keyframes " + k]: d } : d, s ? "" : "." + k);
|
|
@@ -219,7 +219,7 @@ function je(e, o) {
|
|
|
219
219
|
for (t = 0; t < a.length; t++) r = a[t], o.indexOf(r) >= 0 || (n[r] = e[r]);
|
|
220
220
|
return n;
|
|
221
221
|
}
|
|
222
|
-
function
|
|
222
|
+
function At(e) {
|
|
223
223
|
if (e === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
224
224
|
return e;
|
|
225
225
|
}
|
|
@@ -373,17 +373,17 @@ var ln = ce(function(e, o) {
|
|
|
373
373
|
var r = e.children, t = e.direction, n = t === void 0 ? "down" : t, a = e.in, i = e.style, l = e.timeout, s = l === void 0 ? 0 : l, c = e.onEnter, u = e.onEntered, m = e.onExit, k = e.onExited, y = je(e, ["children", "direction", "in", "style", "timeout", "onEnter", "onEntered", "onExit", "onExited"]), b = le(null), f = bt(r.ref, b), x = bt(f, o), h = ne(function() {
|
|
374
374
|
b.current && Ve(n, b.current);
|
|
375
375
|
}, [n]);
|
|
376
|
-
return
|
|
376
|
+
return G(function() {
|
|
377
377
|
if (!a && n !== "down" && n !== "right") {
|
|
378
|
-
var d = function(w,
|
|
378
|
+
var d = function(w, A) {
|
|
379
379
|
var M;
|
|
380
380
|
function H() {
|
|
381
|
-
for (var q = this, N = arguments.length, z = new Array(N),
|
|
381
|
+
for (var q = this, N = arguments.length, z = new Array(N), K = 0; K < N; K++) z[K] = arguments[K];
|
|
382
382
|
clearTimeout(M), M = setTimeout(function() {
|
|
383
383
|
w.apply(q, z);
|
|
384
|
-
},
|
|
384
|
+
}, A);
|
|
385
385
|
}
|
|
386
|
-
return
|
|
386
|
+
return A === void 0 && (A = 166), H.clear = function() {
|
|
387
387
|
clearTimeout(M);
|
|
388
388
|
}, H;
|
|
389
389
|
}(function() {
|
|
@@ -393,7 +393,7 @@ var ln = ce(function(e, o) {
|
|
|
393
393
|
d.clear(), L.removeEventListener("resize", d);
|
|
394
394
|
};
|
|
395
395
|
}
|
|
396
|
-
}, [n, a]),
|
|
396
|
+
}, [n, a]), G(function() {
|
|
397
397
|
a || h();
|
|
398
398
|
}, [a, h]), fe(Ct, Object.assign({ appear: !0, nodeRef: b, onEnter: function(d, L) {
|
|
399
399
|
Ve(n, d), an(d), c && c(d, L);
|
|
@@ -468,7 +468,7 @@ function Pe(e, o) {
|
|
|
468
468
|
};
|
|
469
469
|
}, Ho);
|
|
470
470
|
}
|
|
471
|
-
var jo = typeof window < "u" ? dt :
|
|
471
|
+
var jo = typeof window < "u" ? dt : G;
|
|
472
472
|
function Bt(e) {
|
|
473
473
|
var o = le(e);
|
|
474
474
|
return jo(function() {
|
|
@@ -485,7 +485,7 @@ var st, dn = ce(function(e, o) {
|
|
|
485
485
|
y(null, "timeout", s);
|
|
486
486
|
}, h));
|
|
487
487
|
});
|
|
488
|
-
|
|
488
|
+
G(function() {
|
|
489
489
|
return c && b(n), function() {
|
|
490
490
|
k.current && clearTimeout(k.current);
|
|
491
491
|
};
|
|
@@ -495,7 +495,7 @@ var st, dn = ce(function(e, o) {
|
|
|
495
495
|
}, x = ne(function() {
|
|
496
496
|
n != null && b(0.5 * n);
|
|
497
497
|
}, [n, b]);
|
|
498
|
-
return
|
|
498
|
+
return G(function() {
|
|
499
499
|
if (!i && c) return window.addEventListener("focus", x), window.addEventListener("blur", f), function() {
|
|
500
500
|
window.removeEventListener("focus", x), window.removeEventListener("blur", f);
|
|
501
501
|
};
|
|
@@ -511,12 +511,12 @@ var zo = ze({ root: (st = { display: "flex", flexWrap: "wrap", flexGrow: 1 }, st
|
|
|
511
511
|
return T.createElement("div", Object.assign({ ref: o, className: ge(zo.root, r) }, t));
|
|
512
512
|
});
|
|
513
513
|
St.displayName = "SnackbarContent";
|
|
514
|
-
var
|
|
514
|
+
var Re = ze({ root: { backgroundColor: "#313131", fontSize: "0.875rem", lineHeight: 1.43, letterSpacing: "0.01071em", color: "#fff", alignItems: "center", padding: "6px 16px", borderRadius: "4px", boxShadow: "0px 3px 5px -1px rgba(0,0,0,0.2),0px 6px 10px 0px rgba(0,0,0,0.14),0px 1px 18px 0px rgba(0,0,0,0.12)" }, lessPadding: { paddingLeft: "20px" }, default: { backgroundColor: "#313131" }, success: { backgroundColor: "#43a047" }, error: { backgroundColor: "#d32f2f" }, warning: { backgroundColor: "#ff9800" }, info: { backgroundColor: "#2196f3" }, message: { display: "flex", alignItems: "center", padding: "8px 0" }, action: { display: "flex", alignItems: "center", marginLeft: "auto", paddingLeft: "16px", marginRight: "-8px" } }), Vt = "notistack-snackbar", pn = ce(function(e, o) {
|
|
515
515
|
var r = e.id, t = e.message, n = e.action, a = e.iconVariant, i = e.variant, l = e.hideIconVariant, s = e.style, c = e.className, u = a[i], m = n;
|
|
516
|
-
return typeof m == "function" && (m = m(r)), T.createElement(St, { ref: o, role: "alert", "aria-describedby": Vt, style: s, className: ge("notistack-MuiContent", Io(i),
|
|
516
|
+
return typeof m == "function" && (m = m(r)), T.createElement(St, { ref: o, role: "alert", "aria-describedby": Vt, style: s, className: ge("notistack-MuiContent", Io(i), Re.root, Re[i], c, !l && u && Re.lessPadding) }, T.createElement("div", { id: Vt, className: Re.message }, l ? null : u, t), m && T.createElement("div", { className: Re.action }, m));
|
|
517
517
|
});
|
|
518
518
|
pn.displayName = "MaterialDesignContent";
|
|
519
|
-
var
|
|
519
|
+
var Ae, lt, Ue, Ke, ct, _o = Me(pn), qo = ze({ wrappedRoot: { width: "100%", position: "relative", transform: "translateX(0)", top: 0, right: 0, bottom: 0, left: 0, minWidth: "288px" } }), Bo = function(e) {
|
|
520
520
|
var o = le(), r = ae(!0), t = r[0], n = r[1], a = Pe([e.snack.onClose, e.onClose]), i = ne(function() {
|
|
521
521
|
o.current = setTimeout(function() {
|
|
522
522
|
n(function(q) {
|
|
@@ -524,7 +524,7 @@ var Re, lt, Ue, Ge, ct, _o = Me(pn), qo = ze({ wrappedRoot: { width: "100%", pos
|
|
|
524
524
|
});
|
|
525
525
|
}, 125);
|
|
526
526
|
}, []);
|
|
527
|
-
|
|
527
|
+
G(function() {
|
|
528
528
|
return function() {
|
|
529
529
|
o.current && clearTimeout(o.current);
|
|
530
530
|
};
|
|
@@ -535,22 +535,22 @@ var Re, lt, Ue, Ge, ct, _o = Me(pn), qo = ze({ wrappedRoot: { width: "100%", pos
|
|
|
535
535
|
var N = { containerRoot: !0, containerAnchorOriginTopCenter: !0, containerAnchorOriginBottomCenter: !0, containerAnchorOriginTopRight: !0, containerAnchorOriginBottomRight: !0, containerAnchorOriginTopLeft: !0, containerAnchorOriginBottomLeft: !0 };
|
|
536
536
|
return Object.keys(q).filter(function(z) {
|
|
537
537
|
return !N[z];
|
|
538
|
-
}).reduce(function(z,
|
|
538
|
+
}).reduce(function(z, K) {
|
|
539
539
|
var X;
|
|
540
|
-
return O({}, z, ((X = {})[
|
|
540
|
+
return O({}, z, ((X = {})[K] = q[K], X));
|
|
541
541
|
}, {});
|
|
542
542
|
}(c);
|
|
543
|
-
}, [c]), y = s.open, b = s.SnackbarProps, f = s.TransitionComponent, x = s.TransitionProps, h = s.transitionDuration, d = s.disableWindowBlurListener, L = s.content, w = je(s, ["open", "SnackbarProps", "TransitionComponent", "TransitionProps", "transitionDuration", "disableWindowBlurListener", "content", "entered", "requestClose", "onEnter", "onEntered", "onExit", "onExited"]),
|
|
543
|
+
}, [c]), y = s.open, b = s.SnackbarProps, f = s.TransitionComponent, x = s.TransitionProps, h = s.transitionDuration, d = s.disableWindowBlurListener, L = s.content, w = je(s, ["open", "SnackbarProps", "TransitionComponent", "TransitionProps", "transitionDuration", "disableWindowBlurListener", "content", "entered", "requestClose", "onEnter", "onEntered", "onExit", "onExited"]), A = O({ direction: (l = w.anchorOrigin, l.horizontal !== "center" ? qt[l.horizontal] : qt[l.vertical]), timeout: h }, x), M = L;
|
|
544
544
|
typeof M == "function" && (M = M(w.id, w.message));
|
|
545
545
|
var H = ["onEnter", "onEntered", "onExit", "onExited"].reduce(function(q, N) {
|
|
546
546
|
var z;
|
|
547
547
|
return O({}, q, ((z = {})[N] = Pe([e.snack[N], e[N]], w.id), z));
|
|
548
548
|
}, {});
|
|
549
|
-
return T.createElement(un, { in: t, onExited: H.onExited }, T.createElement(dn, { open: y, id: w.id, disableWindowBlurListener: d, autoHideDuration: w.autoHideDuration, className: ge(qo.wrappedRoot, k.root, k[Po(w.anchorOrigin)]), SnackbarProps: b, onClose: a }, T.createElement(f, Object.assign({},
|
|
549
|
+
return T.createElement(un, { in: t, onExited: H.onExited }, T.createElement(dn, { open: y, id: w.id, disableWindowBlurListener: d, autoHideDuration: w.autoHideDuration, className: ge(qo.wrappedRoot, k.root, k[Po(w.anchorOrigin)]), SnackbarProps: b, onClose: a }, T.createElement(f, Object.assign({}, A, { appear: !0, in: y, onExit: H.onExit, onExited: i, onEnter: H.onEnter, onEntered: Pe([H.onEntered, function() {
|
|
550
550
|
e.snack.requestClose && a(null, "instructed", e.snack.id);
|
|
551
551
|
}], w.id) }), M || T.createElement(m, Object.assign({}, w)))));
|
|
552
|
-
}, Ie = 20, ut = 6, Vo = 2, $t = "." + cn,
|
|
553
|
-
var o = e.classes, r = o === void 0 ? {} : o, t = e.anchorOrigin, n = e.dense, a = e.children, i = ge("notistack-SnackbarContainer",
|
|
552
|
+
}, Ie = 20, ut = 6, Vo = 2, $t = "." + cn, Ge = ze({ root: (Ae = { boxSizing: "border-box", display: "flex", maxHeight: "100%", position: "fixed", zIndex: 1400, height: "auto", width: "auto", transition: Le(["top", "right", "bottom", "left", "max-width"], { duration: 300, easing: "ease" }), pointerEvents: "none" }, Ae[$t] = { padding: ut + "px 0px", transition: "padding 300ms ease 0ms" }, Ae.maxWidth = "calc(100% - " + 2 * Ie + "px)", Ae[at] = { width: "100%", maxWidth: "calc(100% - 32px)" }, Ae), rootDense: (lt = {}, lt[$t] = { padding: Vo + "px 0px" }, lt), top: { top: Ie - ut + "px", flexDirection: "column" }, bottom: { bottom: Ie - ut + "px", flexDirection: "column-reverse" }, left: (Ue = { left: Ie + "px" }, Ue[Qe] = { alignItems: "flex-start" }, Ue[at] = { left: "16px" }, Ue), right: (Ke = { right: Ie + "px" }, Ke[Qe] = { alignItems: "flex-end" }, Ke[at] = { right: "16px" }, Ke), center: (ct = { left: "50%", transform: "translateX(-50%)" }, ct[Qe] = { alignItems: "center" }, ct) }), $o = Me(function(e) {
|
|
553
|
+
var o = e.classes, r = o === void 0 ? {} : o, t = e.anchorOrigin, n = e.dense, a = e.children, i = ge("notistack-SnackbarContainer", Ge[t.vertical], Ge[t.horizontal], Ge.root, r.containerRoot, r["containerAnchorOrigin" + Et(t)], n && Ge.rootDense);
|
|
554
554
|
return T.createElement("div", { className: i }, a);
|
|
555
555
|
}), Ut = function(e) {
|
|
556
556
|
return !(typeof e == "string" || wn(e));
|
|
@@ -563,12 +563,12 @@ var Re, lt, Ue, Ge, ct, _o = Me(pn), qo = ze({ wrappedRoot: { width: "100%", pos
|
|
|
563
563
|
return function(h, d) {
|
|
564
564
|
return d === void 0 && (d = !1), d ? O({}, be[h], {}, x[h], {}, f[h]) : h === "autoHideDuration" ? (M = f.autoHideDuration, H = x.autoHideDuration, (q = function(N) {
|
|
565
565
|
return typeof N == "number" || N === null;
|
|
566
|
-
})(M) ? M : q(H) ? H : be.autoHideDuration) : h === "transitionDuration" ? (L = f.transitionDuration, w = x.transitionDuration, (
|
|
567
|
-
return z.some(function(
|
|
568
|
-
return typeof N ===
|
|
566
|
+
})(M) ? M : q(H) ? H : be.autoHideDuration) : h === "transitionDuration" ? (L = f.transitionDuration, w = x.transitionDuration, (A = function(N, z) {
|
|
567
|
+
return z.some(function(K) {
|
|
568
|
+
return typeof N === K;
|
|
569
569
|
});
|
|
570
|
-
})(L, ["string", "number"]) ? L :
|
|
571
|
-
var L, w,
|
|
570
|
+
})(L, ["string", "number"]) ? L : A(L, ["object"]) ? O({}, be.transitionDuration, {}, A(w, ["object"]) && w, {}, L) : A(w, ["string", "number"]) ? w : A(w, ["object"]) ? O({}, be.transitionDuration, {}, w) : be.transitionDuration) : f[h] || x[h] || be[h];
|
|
571
|
+
var L, w, A, M, H, q;
|
|
572
572
|
};
|
|
573
573
|
}(u, t.props), b = O({ id: k }, u, { message: l, open: !0, entered: !1, requestClose: !1, persist: y("persist"), action: y("action"), content: y("content"), variant: y("variant"), anchorOrigin: y("anchorOrigin"), disableWindowBlurListener: y("disableWindowBlurListener"), autoHideDuration: y("autoHideDuration"), hideIconVariant: y("hideIconVariant"), TransitionComponent: y("TransitionComponent"), transitionDuration: y("transitionDuration"), TransitionProps: y("TransitionProps", !0), iconVariant: y("iconVariant", !0), style: y("style", !0), SnackbarProps: y("SnackbarProps", !0), className: ge(t.props.className, u.className) });
|
|
574
574
|
return b.persist && (b.autoHideDuration = void 0), t.setState(function(f) {
|
|
@@ -628,7 +628,7 @@ var Re, lt, Ue, Ge, ct, _o = Me(pn), qo = ze({ wrappedRoot: { width: "100%", pos
|
|
|
628
628
|
}) }));
|
|
629
629
|
return l.queue.length === 0 ? l : t.handleDismissOldest(l);
|
|
630
630
|
});
|
|
631
|
-
}, t.enqueueSnackbar, t.closeSnackbar, t.state = { snacks: [], queue: [], contextValue: { enqueueSnackbar: t.enqueueSnackbar.bind(
|
|
631
|
+
}, t.enqueueSnackbar, t.closeSnackbar, t.state = { snacks: [], queue: [], contextValue: { enqueueSnackbar: t.enqueueSnackbar.bind(At(t)), closeSnackbar: t.closeSnackbar.bind(At(t)) } }, t;
|
|
632
632
|
}
|
|
633
633
|
return on(o, e), o.prototype.render = function() {
|
|
634
634
|
var r = this, t = this.state.contextValue, n = this.props, a = n.domRoot, i = n.children, l = n.dense, s = l !== void 0 && l, c = n.Components, u = c === void 0 ? {} : c, m = n.classes, k = this.state.snacks.reduce(function(b, f) {
|
|
@@ -644,21 +644,21 @@ var Re, lt, Ue, Ge, ct, _o = Me(pn), qo = ze({ wrappedRoot: { width: "100%", pos
|
|
|
644
644
|
}, nn(o, [{ key: "maxSnack", get: function() {
|
|
645
645
|
return this.props.maxSnack || be.maxSnack;
|
|
646
646
|
} }]), o;
|
|
647
|
-
}(
|
|
647
|
+
}(Gt), mn = function() {
|
|
648
648
|
return yn(rn);
|
|
649
649
|
};
|
|
650
|
-
const pe = { card: "
|
|
650
|
+
const pe = { card: "_card_1a398_7", actionRoot: "_actionRoot_1a398_11", icons: "_icons_1a398_16", expand: "_expand_1a398_22", expandOpen: "_expandOpen_1a398_29", stackTraceContainer: "_stackTraceContainer_1a398_33" }, hn = ce((e, o) => {
|
|
651
651
|
const { id: r, message: t, iconVariant: n, error: a, hideIconVariant: i, ...l } = e, { closeSnackbar: s } = mn(), c = Vn(), [u, m] = ae(!1), k = ne(() => {
|
|
652
652
|
m((f) => !f);
|
|
653
653
|
}, []), y = ne(() => {
|
|
654
654
|
s(r);
|
|
655
655
|
}, [r, s]), b = a?.message || String(t);
|
|
656
|
-
return g(St, { ref: o, className: mt(pe.root, "error-snackbar"), children: se(vo, { className: pe.card, style: { backgroundColor: c.palette.error.dark, border: `1px solid ${c.palette.error.dark}` }, children: [se(So, { className: pe.actionRoot, children: [i ? null : n?.error, g($n, { variant: "body2", component: "div", className: pe.typography, style: { color: c.palette.text.primary }, children: b }), g("div", { style: { flex: "1 1 auto" } }), se("div", { className: pe.icons, children: [a ? g(ht, { "aria-label": "Show more", size: "small", className: mt(pe.expand, { [pe.expandOpen]: u }), style: { color: c.palette.action.active }, onClick: k, children: g(Un, {}) }) : null, g(ht, { size: "small", className: pe.expand, style: { color: c.palette.action.active }, onClick: y, children: g(
|
|
656
|
+
return g(St, { ref: o, className: mt(pe.root, "error-snackbar"), children: se(vo, { className: pe.card, style: { backgroundColor: c.palette.error.dark, border: `1px solid ${c.palette.error.dark}` }, children: [se(So, { className: pe.actionRoot, children: [i ? null : n?.error, g($n, { variant: "body2", component: "div", className: pe.typography, style: { color: c.palette.text.primary }, children: b }), g("div", { style: { flex: "1 1 auto" } }), se("div", { className: pe.icons, children: [a ? g(ht, { "aria-label": "Show more", size: "small", className: mt(pe.expand, { [pe.expandOpen]: u }), style: { color: c.palette.action.active }, onClick: k, children: g(Un, {}) }) : null, g(ht, { size: "small", className: pe.expand, style: { color: c.palette.action.active }, onClick: y, children: g(Kn, { fontSize: "small" }) })] })] }), a ? g(ft, { in: u, timeout: "auto", unmountOnExit: !0, children: g("div", { className: pe.stackTraceContainer, style: { backgroundColor: c.palette.error.light, borderTop: `1px solid ${c.palette.error.main}` }, children: g(Gn, { error: a, hideLineNumbers: !0 }) }) }) : null] }) });
|
|
657
657
|
});
|
|
658
658
|
hn.displayName = "ToastError";
|
|
659
659
|
const fn = Me(ce((e, o) => {
|
|
660
660
|
const { commands: r, commandHook: t, scope: n = "workbook", disabled: a = !1, ...i } = e, l = ie((c) => {
|
|
661
|
-
const u = { variant: ao.Menuitem, parentFloat: c.floatReference, commandHook: t, scope: n, disabled: a }, m = se(
|
|
661
|
+
const u = { variant: ao.Menuitem, parentFloat: c.floatReference, commandHook: t, scope: n, disabled: a }, m = se(Kt, { children: [g(ot, { ...u, command: r.getCommand("newWorkbook"), icon: Fe(g(io, {})) }), g(so, { orientation: "horizontal" }), g(ot, { ...u, command: r.getCommand("openWorkbook"), icon: Fe(g(lo, {})) }), g(Wt, { ...u, commands: r, quickCommand: "saveWorkbook", icon: Fe(g(po, {})), createPopupPanel: (k) => {
|
|
662
662
|
const y = { ...u, parentFloat: k.floatReference, scope: "saveWorkbook" }, b = [];
|
|
663
663
|
return ye.getWriteFormats().forEach((f) => {
|
|
664
664
|
if (f.isDefault) return;
|
|
@@ -677,10 +677,10 @@ const fn = Me(ce((e, o) => {
|
|
|
677
677
|
return g(Wt, { commands: r, disabled: a, commandHook: t, scope: n, label: s, tooltip: "Options for saving and loading the workbook.", sx: { paddingBottom: "0px", "& button": { paddingTop: "0px", paddingBottom: "0px", height: (c) => `calc(1.25rem + ${c.spacing(2)}px)` } }, ...i, createPopupPanel: l, icon: g(mo, { className: "label", icon: null, label: s }) });
|
|
678
678
|
}));
|
|
679
679
|
fn.displayName = "StandaloneFileCommandButton";
|
|
680
|
-
const
|
|
680
|
+
const Ko = g(oo, { label: "SheetXL", description: "Visit me at sheetxl.com.", children: g(xe, { sx: { width: "24px", height: "24px", marginBottom: "4px", marginLeft: "6px" }, children: g(ro, { onClick: () => {
|
|
681
681
|
window?.open("https://www.sheetxl.com", "_blank");
|
|
682
682
|
}, style: { width: "24px", height: "24px", cursor: "pointer" } }) }) }), gn = Me(ce((e, o) => {
|
|
683
|
-
const { commands: r, workbook: t, logo: n =
|
|
683
|
+
const { commands: r, workbook: t, logo: n = Ko, mainElement: a, showFileMenu: i = !0, showAppearanceMenu: l = !0, ...s } = e, { reference: c } = zn(), [u, { width: m }] = _n(), k = m < 530, y = i ? g(fn, { commands: r, commandHook: { beforeExecute() {
|
|
684
684
|
c?.closeAll();
|
|
685
685
|
}, onError(h, d, L) {
|
|
686
686
|
} } }) : null, b = l ? g(qn, { commands: r, commandHook: { beforeExecute() {
|
|
@@ -694,11 +694,11 @@ const kn = Me(ce((e, o) => {
|
|
|
694
694
|
const { workbook: r, setWorkbook: t, refWorkbookTitle: n, titleWorkbook: a, setWorkbookTitle: i, titlePlaceHolder: l, children: s, undoManager: c, commands: u, importExportDisabled: m, themeModeOptions: k } = e, y = mn(), b = y ? y.enqueueSnackbar : () => {
|
|
695
695
|
}, f = y ? y.closeSnackbar : () => {
|
|
696
696
|
}, [x, h] = ae({ isMounted: !1, label: null, starting: /* @__PURE__ */ new Map(), running: /* @__PURE__ */ new Map() }), d = ne(() => {
|
|
697
|
-
h((
|
|
697
|
+
h((R) => ({ ...R, isMounted: !0 }));
|
|
698
698
|
}, []), L = ne(() => {
|
|
699
|
-
h((
|
|
700
|
-
}, []), w = Zn(),
|
|
701
|
-
const
|
|
699
|
+
h((R) => ({ ...R, isMounted: !1 }));
|
|
700
|
+
}, []), w = Zn(), A = Qn(), M = Xn(), H = le(/* @__PURE__ */ new Set()), q = te(() => {
|
|
701
|
+
const R = (E, S) => {
|
|
702
702
|
if (S?.onceKey) {
|
|
703
703
|
if (H.current.has(S.onceKey)) return;
|
|
704
704
|
const D = new Set(H.current);
|
|
@@ -707,7 +707,7 @@ const kn = Me(ce((e, o) => {
|
|
|
707
707
|
const P = { variant: S?.type ?? _e.Info, anchorOrigin: { vertical: "top", horizontal: "center" }, preventDuplicate: S?.preventDuplicate, persist: S?.persist ?? S?.type === _e.Error, action: (D) => g(ht, { onClick: () => f(D), children: g(Oo, {}) }) };
|
|
708
708
|
S?.enqueueProps && Object.assign(P, S.enqueueProps), E || console.log("message is 'null'", S), b(E ?? "Alert", P);
|
|
709
709
|
};
|
|
710
|
-
return { showMessage:
|
|
710
|
+
return { showMessage: R, showBusy: (E, S) => {
|
|
711
711
|
let P = null;
|
|
712
712
|
const D = new Promise((B) => {
|
|
713
713
|
P = B;
|
|
@@ -720,14 +720,14 @@ const kn = Me(ce((e, o) => {
|
|
|
720
720
|
const D = { ...S, onKeyDown: (B) => {
|
|
721
721
|
u?.dispatchToFocusedCommand(B), B.isDefaultPrevented() || B.isPropagationStopped() || S?.onKeyDown?.(B);
|
|
722
722
|
} };
|
|
723
|
-
return w(E, { sort: () => import("./
|
|
724
|
-
}, showOptions:
|
|
723
|
+
return w(E, { sort: () => import("./Dq1oxXMudxqdJaKZ.mjs"), numberFormat: () => import("./Dz8v5MSOgkaH_zTd.mjs"), hyperlink: () => import("./im3UoVISx3VXhEFp.mjs"), comments: () => import("./BoL2rsWK1YyT1PP7.mjs"), find: () => import("./BNq1DlA_v8-hm8PQ.mjs"), tableDetails: () => import("./Ddm9jggzrr5VJQ68.mjs"), tableNew: () => import("./CKHDKAaHkwZHUkoS.mjs"), namedDetails: () => import("./CZRLp5H9dSrMEgaI.mjs") }[E], D, P);
|
|
724
|
+
}, showOptions: A, showInputOptions: M, showError: (E) => {
|
|
725
725
|
let S, P = _e.Error, D = "Unknown Error";
|
|
726
|
-
typeof E == "string" ? D = E : E instanceof Error && (S = E, E.message && (D = E.message)), E instanceof ho && (P = _e.Info),
|
|
726
|
+
typeof E == "string" ? D = E : E instanceof Error && (S = E, E.message && (D = E.message)), E instanceof ho && (P = _e.Info), R(D, { type: P, enqueueProps: { error: S } });
|
|
727
727
|
} };
|
|
728
728
|
}, []), N = ne(() => {
|
|
729
|
-
}, []), z = ((
|
|
730
|
-
const { workbook: E, setWorkbook: S, importExportDisabled: P, workbookTitle: D = "export", setWorkbookTitle: B, notifier: _, requestWorkbookTitle: J, themeModeOptions: j, undoManager: C, commands: W, onExecute: V } =
|
|
729
|
+
}, []), z = ((R) => {
|
|
730
|
+
const { workbook: E, setWorkbook: S, importExportDisabled: P, workbookTitle: D = "export", setWorkbookTitle: B, notifier: _, requestWorkbookTitle: J, themeModeOptions: j, undoManager: C, commands: W, onExecute: V } = R, re = ie(j?.onForceModeChange, [j?.onForceModeChange]), me = ie(j?.onForceLightGridChange, [j?.onForceLightGridChange]), ue = ie(j?.onForceLightImagesChange, [j?.onForceLightImagesChange]), Ye = ie(async (F = null, Q = null) => {
|
|
731
731
|
const p = [];
|
|
732
732
|
let v, $ = null, Y = null;
|
|
733
733
|
if (typeof F == "string" ? Y = F : $ = F, v = $ ? F : await Jn.openFileDialog(Y ?? ye.getAllReadFormatTypeAsString().join(",")), !v) return null;
|
|
@@ -801,7 +801,7 @@ const kn = Me(ce((e, o) => {
|
|
|
801
801
|
}, [W, ke]);
|
|
802
802
|
Yn({ manager: C, commands: Z, notifier: _ });
|
|
803
803
|
const { themeMode: Te } = Qt();
|
|
804
|
-
|
|
804
|
+
G(() => {
|
|
805
805
|
if (!j || !Z) return;
|
|
806
806
|
const F = j.forceMode === "dark" || !j.forceMode && Te === "dark";
|
|
807
807
|
Z.getCommand("themeMode").update({ state: j.forceMode ?? null, label: F ? "Dark Mode" : "Light Mode", scopedLabels: { appearance: F ? "Dark Mode" : "Light Mode" } }).updateCallback(() => {
|
|
@@ -815,9 +815,9 @@ const kn = Me(ce((e, o) => {
|
|
|
815
815
|
});
|
|
816
816
|
}, [Te, j, ke]);
|
|
817
817
|
const { showModal: et } = eo();
|
|
818
|
-
return
|
|
818
|
+
return G(() => {
|
|
819
819
|
const F = () => new Promise((Q, p) => {
|
|
820
|
-
const v = T.lazy(() => import("./
|
|
820
|
+
const v = T.lazy(() => import("./Br4TnuxGRULZDhCA.mjs")), $ = et(v, { title: "Shortcut Keys Reference", commands: Z, onDone: () => {
|
|
821
821
|
$.hide();
|
|
822
822
|
}, TransitionProps: { onExited: () => {
|
|
823
823
|
Q(!0);
|
|
@@ -825,15 +825,15 @@ const kn = Me(ce((e, o) => {
|
|
|
825
825
|
});
|
|
826
826
|
Z.getCommand("showKeyboardShortcuts").updateCallback(() => F()), Z.getCommand("help").updateCallback(() => F());
|
|
827
827
|
}, [ke, Z]), Z;
|
|
828
|
-
})({ workbook: r, setWorkbook: t, importExportDisabled: m, workbookTitle: a, setWorkbookTitle: i, commands: u, requestWorkbookTitle: (
|
|
828
|
+
})({ workbook: r, setWorkbook: t, importExportDisabled: m, workbookTitle: a, setWorkbookTitle: i, commands: u, requestWorkbookTitle: (R) => new Promise((E) => {
|
|
829
829
|
n.current ? n.current.requestWorkbookTitle((S, P) => {
|
|
830
830
|
E(S);
|
|
831
|
-
}, { selectAll: !0, requestReason:
|
|
831
|
+
}, { selectAll: !0, requestReason: R }) : E(l);
|
|
832
832
|
}), themeModeOptions: k, undoManager: c, notifier: q, onExecute: N });
|
|
833
|
-
|
|
834
|
-
x.starting.size <= 0 || !x.isMounted || h((
|
|
835
|
-
const E = new Map(
|
|
836
|
-
return
|
|
833
|
+
G(() => {
|
|
834
|
+
x.starting.size <= 0 || !x.isMounted || h((R) => {
|
|
835
|
+
const E = new Map(R.running);
|
|
836
|
+
return R.starting.forEach((S, P) => {
|
|
837
837
|
const D = () => {
|
|
838
838
|
h((B) => {
|
|
839
839
|
const _ = new Map(B.running);
|
|
@@ -841,20 +841,20 @@ const kn = Me(ce((e, o) => {
|
|
|
841
841
|
});
|
|
842
842
|
};
|
|
843
843
|
E.set(P, D), S(D);
|
|
844
|
-
}), { ...
|
|
844
|
+
}), { ...R, starting: /* @__PURE__ */ new Map(), running: E };
|
|
845
845
|
});
|
|
846
846
|
}, [x]);
|
|
847
|
-
const [
|
|
848
|
-
|
|
847
|
+
const [K, X] = ae(null);
|
|
848
|
+
G(() => {
|
|
849
849
|
x.starting.size !== 0 || x.running.size !== 0 ? X(g(Jt, { icon: g(to, { sx: { transform: "scale(0.7)", marginLeft: "-6px" } }), panel: !0, label: x.label, onMount: d, onUnmount: L, sx: { position: "absolute", left: "0", top: "0", width: "100%", height: "100%", zIndex: "9999" } })) : X(null);
|
|
850
850
|
}, [x.starting, x.running]);
|
|
851
851
|
const I = te(() => g(no, { commands: z, disableHover: !0, sx: { padding: "0" }, buttonProps: { sx: { maxHeight: "22px" } } }), [z]), oe = { notifier: q, commands: z };
|
|
852
|
-
return r && (oe.statusBarProps = { childrenEnd: I }), se(
|
|
852
|
+
return r && (oe.statusBarProps = { childrenEnd: I }), se(Kt, { children: [K, s ? T.cloneElement(s, oe) : null] });
|
|
853
853
|
}));
|
|
854
854
|
kn.displayName = "SnackbarAndCommandsWrapper";
|
|
855
855
|
const bn = Me(ce((e, o) => {
|
|
856
|
-
const { className: r, sx: t, style: n, onElementLoad: a, onError: i, undoManager: l, errorPanel: s = Wn, onKeyDown: c, workbook: u, createWorkbookOptions: m, onWorkbookChange: k, logo: y, importExportDisabled: b = !1, themeModeOptions: f, autoFocus: x = !1, commands: h, title: d, onTitleChange: L, titleProps: w, ...
|
|
857
|
-
|
|
856
|
+
const { className: r, sx: t, style: n, onElementLoad: a, onError: i, undoManager: l, errorPanel: s = Wn, onKeyDown: c, workbook: u, createWorkbookOptions: m, onWorkbookChange: k, logo: y, importExportDisabled: b = !1, themeModeOptions: f, autoFocus: x = !1, commands: h, title: d, onTitleChange: L, titleProps: w, ...A } = e, M = le(null), H = ie(k, [k]), q = ie(L ?? w?.onTitleChange, [L ?? w?.onTitleChange]), N = w?.placeHolder ?? "Untitled", z = f?.forceMode, { themeMode: K, source: X } = Qt({ mode: z }), I = te(() => ({ ...f, light: Dt(!1, nt.deepMerge(f?.theme ?? {}, f?.light ?? {})), dark: Dt(!0, nt.deepMerge(f?.theme ?? {}, f?.dark ?? {})) }), [f]), oe = K === pt.Dark, [R, E] = ae(null);
|
|
857
|
+
G(() => {
|
|
858
858
|
E(l ?? new Fn());
|
|
859
859
|
}, [l]);
|
|
860
860
|
const [S, P] = ae(null), [D, B] = ae(null), _ = Nn();
|
|
@@ -877,22 +877,22 @@ const bn = Me(ce((e, o) => {
|
|
|
877
877
|
}
|
|
878
878
|
}, [D]);
|
|
879
879
|
const [J, j] = ae(null);
|
|
880
|
-
|
|
881
|
-
if (!
|
|
882
|
-
|
|
880
|
+
G(() => {
|
|
881
|
+
if (!R || !S) return;
|
|
882
|
+
R.clear();
|
|
883
883
|
const p = S?.workbook?.getTransactions();
|
|
884
884
|
return p ? p.addListener({ onCommitEnd: (v) => {
|
|
885
|
-
v.getDescription() ?
|
|
885
|
+
v.getDescription() ? R.addUndoOperation({ description: v.getDescription(), undo: () => (p.revert(v.getId()), J.source?.focus(), () => {
|
|
886
886
|
p.restore(v.getId()), J.source?.focus();
|
|
887
887
|
}) }) : console.warn("commit has no description", v);
|
|
888
888
|
} }) : void 0;
|
|
889
|
-
}, [
|
|
889
|
+
}, [R, S, J]);
|
|
890
890
|
const C = ie((p) => {
|
|
891
|
-
p ?
|
|
892
|
-
}, [
|
|
893
|
-
|
|
891
|
+
p ? R.setRepeatableOperation({ description: p.label(), repeat: async () => p.execute() }) : R.setRepeatableOperation(null);
|
|
892
|
+
}, [R]), [W, V] = ae(d ?? w?.title ?? "");
|
|
893
|
+
G(() => {
|
|
894
894
|
V(d ?? w?.title ?? "");
|
|
895
|
-
}, [d ?? w?.title]),
|
|
895
|
+
}, [d ?? w?.title]), G(() => {
|
|
896
896
|
q?.(W);
|
|
897
897
|
}, [W]);
|
|
898
898
|
const [re, me] = ae(null), ue = te(() => {
|
|
@@ -902,16 +902,16 @@ const bn = Me(ce((e, o) => {
|
|
|
902
902
|
}, [h]), Ye = ie((p) => {
|
|
903
903
|
me(p.source.getViewportElement()), j(p), ue.activate("sheet"), a?.(p);
|
|
904
904
|
}, [ue]);
|
|
905
|
-
|
|
905
|
+
G(() => {
|
|
906
906
|
J && x && J.source?.focus(typeof x == "object" ? x : void 0);
|
|
907
907
|
}, [J]);
|
|
908
908
|
const De = le(null), U = ne((p) => {
|
|
909
909
|
let v = null;
|
|
910
|
-
return w?.hidden || (v = g(
|
|
910
|
+
return w?.hidden || (v = g(Rn, { ...w, style: { maxWidth: "100%", ...w?.style }, workbook: M.current, ref: De, title: W, placeHolder: N, onTitleChange: ($) => {
|
|
911
911
|
V($);
|
|
912
912
|
} })), g(gn, { ...p, logo: y, mainElement: v, showFileMenu: !b, showAppearanceMenu: !!(I?.onForceLightGridChange || I?.onForceLightImagesChange || I?.onForceModeChange) });
|
|
913
913
|
}, [y, W, w, I, b, ue]);
|
|
914
|
-
|
|
914
|
+
G(() => {
|
|
915
915
|
const p = (v) => v.preventDefault();
|
|
916
916
|
return M.current?.addEventListener("wheel", p, { passive: !1 }), () => {
|
|
917
917
|
M.current?.removeEventListener("wheel", p);
|
|
@@ -921,19 +921,19 @@ const bn = Me(ce((e, o) => {
|
|
|
921
921
|
if (!S) return ke;
|
|
922
922
|
if (S.error || !S.workbook) return Z({ error: S.error });
|
|
923
923
|
let p = null, v = null, $ = !1;
|
|
924
|
-
return I && (p = oe ? I.dark : I.light, v = oe && !I.forceLightGrid ? I.dark : I.light, $ = I.forceLightImages), g(
|
|
924
|
+
return I && (p = oe ? I.dark : I.light, v = oe && !I.forceLightGrid ? I.dark : I.light, $ = I.forceLightImages), g(An, { sx: Te, style: n, tabIndex: 0, autoFocus: !0, workbook: S.workbook, ref: et, renderToolbar: U, onElementLoad: Ye, onRepeatCommandChange: C, onKeyDown: (Y) => {
|
|
925
925
|
c?.(Y);
|
|
926
|
-
}, gridTheme: v, headersTheme: p, forceLightImages: $, className: mt(r, "sheetxl-workbook"), onContextMenu: (Y) => Y.preventDefault(), ...
|
|
927
|
-
}, [S, W,
|
|
926
|
+
}, gridTheme: v, headersTheme: p, forceLightImages: $, className: mt(r, "sheetxl-workbook"), onContextMenu: (Y) => Y.preventDefault(), ...A }, "WorkbookElement");
|
|
927
|
+
}, [S, W, R, ke, I, A, U, Te]);
|
|
928
928
|
let Q = g(Fo, { fallbackRender: Z, children: g(Uo, { maxSnack: 3, domRoot: re, anchorOrigin: { vertical: "bottom", horizontal: "right" }, autoHideDuration: 3500, onClose: (p, v, $) => {
|
|
929
929
|
M.current?.focus();
|
|
930
|
-
}, Components: { error: hn }, iconVariant: { success: g(Hn, { style: { marginRight: "8px" }, children: g("path", { d: "M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z" }) }), error: g(Pn, { style: { marginRight: "8px" } }) }, children: g(In, { children: g(kn, { workbook: S?.workbook, setWorkbook: B, importExportDisabled: b, titlePlaceHolder: N, titleWorkbook: W, setWorkbookTitle: V, refWorkbookTitle: De, commands: ue, undoManager:
|
|
930
|
+
}, Components: { error: hn }, iconVariant: { success: g(Hn, { style: { marginRight: "8px" }, children: g("path", { d: "M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z" }) }), error: g(Pn, { style: { marginRight: "8px" } }) }, children: g(In, { children: g(kn, { workbook: S?.workbook, setWorkbook: B, importExportDisabled: b, titlePlaceHolder: N, titleWorkbook: W, setWorkbookTitle: V, refWorkbookTitle: De, commands: ue, undoManager: R, themeModeOptions: I, children: F }) }) }) });
|
|
931
931
|
return I && (Q = se(jn, { theme: oe ? I.dark : I.light, children: [I.cssBaseline ? g(To, {}) : null, Q] })), Q;
|
|
932
932
|
}));
|
|
933
933
|
bn.displayName = "EagerStandaloneWorkbook";
|
|
934
|
-
const
|
|
934
|
+
const Go = Object.freeze(Object.defineProperty({ __proto__: null, default: bn }, Symbol.toStringTag, { value: "Module" })), Yo = Object.freeze(Object.defineProperty({ __proto__: null, E: Go, c: ge }, Symbol.toStringTag, { value: "Module" }));
|
|
935
935
|
export {
|
|
936
|
-
Yo as B,
|
|
937
936
|
ft as C,
|
|
937
|
+
Yo as D,
|
|
938
938
|
ge as f
|
|
939
939
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.4
|
|
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.
|
|
@@ -13,7 +13,7 @@ const i = { reactUrl: "https://esm.sh/react@19.1.0", reactJsxTransform: "https:/
|
|
|
13
13
|
e.type = "importmap", e.textContent = JSON.stringify({ imports: { react: n, "react/jsx-runtime": a, "react-dom": s, "react-dom/client": c } }), document.head.appendChild(e), console.log("SheetXL: Import map injected:", e.textContent);
|
|
14
14
|
}
|
|
15
15
|
await new Promise((e) => setTimeout(e, 0));
|
|
16
|
-
const o = await Promise.all([import("react"), import("react/jsx-runtime"), import("react-dom"), import("react-dom/client"), import("./
|
|
16
|
+
const o = await Promise.all([import("react"), import("react/jsx-runtime"), import("react-dom"), import("react-dom/client"), import("./Bq_HFm6_6_ycs_gE.mjs").then((e) => e.bI)]);
|
|
17
17
|
return console.log("SheetXL: Dependencies resolved:", o), { React: o[0], ReactJSXTransform: o[1], ReactDOM: o[2], ReactDOMClient: o[3], StudioMUI: o[4] };
|
|
18
18
|
})(), r));
|
|
19
19
|
export {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import { memo as E, useMemo as M, useState as x, useCallback as j } from "react";
|
|
3
|
-
import { a7 as r,
|
|
3
|
+
import { a7 as r, n as S, B as V, e as $, T as z, f as h, b6 as C } from "./Bq_HFm6_6_ycs_gE.mjs";
|
|
4
4
|
/**
|
|
5
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.
|
|
5
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.4
|
|
6
6
|
*
|
|
7
7
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
8
8
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
9
9
|
*/
|
|
10
10
|
const G = ["Ok", "Cancel"], U = E((O) => {
|
|
11
|
-
const { initialComments:
|
|
12
|
-
const n =
|
|
11
|
+
const { initialComments: T = null, onUpdateComments: m, context: b, onOption: u, onValidateOption: l, onDone: p, options: d = G, defaultOption: c = d?.[0], cancelOption: s = "Cancel", sx: k, ...w } = O, g = M(() => {
|
|
12
|
+
const n = T ?? b?.()?.getComments();
|
|
13
13
|
let t = "";
|
|
14
14
|
if (n && n.content && n.content.runs) {
|
|
15
15
|
const a = n.content.runs;
|
|
@@ -19,7 +19,7 @@ const G = ["Ok", "Cancel"], U = E((O) => {
|
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
return t;
|
|
22
|
-
}, []), [e,
|
|
22
|
+
}, []), [e, y] = x(g), [F, P] = x(!1), f = j(async (n, t) => null, []), v = r(async (n) => {
|
|
23
23
|
const t = e === "" ? [] : e.split(`
|
|
24
24
|
`);
|
|
25
25
|
if (n !== s) {
|
|
@@ -29,7 +29,7 @@ const G = ["Ok", "Cancel"], U = E((O) => {
|
|
|
29
29
|
}
|
|
30
30
|
u?.(n, n === s, n === c), p?.();
|
|
31
31
|
}, [e, m, p, u, c, s]), D = r((n) => {
|
|
32
|
-
|
|
32
|
+
y(n.target.value), f(n.target.value, null);
|
|
33
33
|
}, [l]), I = r(async (n) => {
|
|
34
34
|
let t = await Promise.resolve(l?.(n));
|
|
35
35
|
try {
|
|
@@ -38,8 +38,8 @@ const G = ["Ok", "Cancel"], U = E((O) => {
|
|
|
38
38
|
}
|
|
39
39
|
return t ?? !0;
|
|
40
40
|
}, [l, e]);
|
|
41
|
-
return i(S, { title: (g ? "Edit" : "Insert") + " Comments", options: d, onDone: p, onOption: (n) => v(n), onValidateOption: I, defaultOption: c, cancelOption: s, autoFocusSel: ".autoFocus", sx: { width: "480px", ...
|
|
42
|
-
|
|
41
|
+
return i(S, { title: (g ? "Edit" : "Insert") + " Comments", options: d, onDone: p, onOption: (n) => v(n), onValidateOption: I, defaultOption: c, cancelOption: s, autoFocusSel: ".autoFocus", sx: { width: "480px", ...k }, ...w, children: i(V, { sx: { paddingTop: (n) => n.spacing(1), paddingBottom: (n) => n.spacing(0), rowGap: (n) => n.spacing(1), display: "flex", flexDirection: "column" }, children: i($, { sx: { paddingTop: (n) => n.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: i(z, { label: "Comments", placeholder: "Enter a comment.", onFocus: (n) => {
|
|
42
|
+
F || n.target?.select(), P(!0);
|
|
43
43
|
}, sx: { "& .MuiFormHelperText-root": { marginTop: (n) => n.spacing(0.5) } }, InputLabelProps: { shrink: !0 }, InputProps: { inputProps: { className: "autoFocus", spellCheck: !1, autoComplete: "off", sx: { paddingTop: (n) => n.spacing(1.25), paddingBottom: (n) => n.spacing(0.75), backgroundImage: `linear-gradient(${h("#fff", C(5))}, ${h("#fff", C(5))})` } } }, value: e, onChange: D, onContextMenu: (n) => {
|
|
44
44
|
n.stopPropagation();
|
|
45
45
|
} }) }) }) });
|