@sheetxl/studio-mui 0.3.0 → 0.3.2

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.
Files changed (193) hide show
  1. package/LICENSE.md +11 -11
  2. package/README.md +24 -24
  3. package/browser/cjs/1C6nE8JXbR1K_yhw.cjs +6 -0
  4. package/browser/cjs/6denMJxSAR1JnvVP.cjs +15 -0
  5. package/browser/cjs/{DvBmxW9WFXe5nTOj.cjs → B-N31rKSrvqkcxZP.cjs} +1 -1
  6. package/browser/cjs/{Dj7OrKe2zahSy4rW.cjs → BBJ57oaa6vu0zEjI.cjs} +2 -7
  7. package/browser/cjs/{DbtwYi7JAHoFLILb.cjs → BLHCySywMnqptSI9.cjs} +4 -19
  8. package/browser/cjs/BTSVJlDxWgqbdgwJ.cjs +15 -0
  9. package/browser/cjs/{DYpWMegNKhcIz5Xx.cjs → BZfQo-wrdJc4xy1p.cjs} +2 -2
  10. package/browser/cjs/{BQLQEJgX-sM2Sdn6.cjs → BbEnQfoP4EOJK3YQ.cjs} +2 -2
  11. package/browser/cjs/{DHmGfW6PcfPhM8oL.cjs → BjaD6jFpWrhKL2dz.cjs} +1 -1
  12. package/browser/cjs/BnaQy4xZm6MUD5Sg.cjs +13 -0
  13. package/browser/cjs/{DeDq_kDsb_3oXYP3.cjs → BszSSdQItUM3BnN1.cjs} +1 -1
  14. package/browser/cjs/{C_Wcg7JI6v6vkBD-.cjs → BtYvPg1MnEyGWx8E.cjs} +1 -1
  15. package/browser/cjs/{30P2pzSg1uZ4m4Zw.cjs → ByKQeaRgOfTOn4P6.cjs} +1 -1
  16. package/browser/cjs/{tXdOaeSBJX_Dwtfs.cjs → C-4fmxJxBM8ThtN5.cjs} +2 -2
  17. package/browser/cjs/{u8HVgr27hT-2GVfY.cjs → C0vPGOmkrEmgMUC8.cjs} +1 -1
  18. package/browser/cjs/C19mJZkF3zJRRDNw.cjs +11 -0
  19. package/browser/cjs/{fSTkOlUIbVZ0w-Q2.cjs → C2kX273f3kTe7viA.cjs} +1 -1
  20. package/browser/cjs/{DcE7grNkk9CxPlz7.cjs → C6MOXXmZPlw53ARk.cjs} +1 -1
  21. package/browser/cjs/{CIZNaSq0_vaZNZu9.cjs → CEjq7KQ0zHIi69or.cjs} +2 -2
  22. package/browser/cjs/CGxAeOIqbsFk97UV.cjs +6 -0
  23. package/browser/cjs/{CADYkszzYeb1okev.cjs → CJFKRBbjz7X-rEau.cjs} +1 -12
  24. package/browser/cjs/{iloxo818N9ISo1kb.cjs → CLeyzaTKMMR0Hcac.cjs} +1 -1
  25. package/browser/cjs/CM1UZZ4gfAch7cju.cjs +7 -0
  26. package/browser/cjs/{D57lYhefqT866UE1.cjs → CMTXA4puzeAnzQwq.cjs} +1 -1
  27. package/browser/cjs/{D0u9_xtziw7PDcl8.cjs → CSiwPeW0XIEaw5qn.cjs} +1 -1
  28. package/browser/cjs/{C8QBQtkkjvMqMVxZ.cjs → CX6yLHEdmP8SVEfH.cjs} +2 -2
  29. package/browser/cjs/{BBBGyVg88HFyp_Ew.cjs → CaH2ZbfCFFqmTqKi.cjs} +1 -1
  30. package/browser/cjs/{DoP_dQD568y-PdQR.cjs → Cbffh394PX-rgpbL.cjs} +2 -2
  31. package/browser/cjs/Ce6nJl_bhnr51GJ3.cjs +238 -0
  32. package/browser/cjs/{CE5a4FdaHLhTxjMI.cjs → CgaWzlL_p5dgqA4f.cjs} +3 -3
  33. package/browser/cjs/{WvFOw7IRc6nN3Ktw.cjs → ChVT2EzsTJjDsozn.cjs} +1 -1
  34. package/browser/cjs/{BfIfeQXC56VMrPqG.cjs → Cjs836g7b_ipAS4X.cjs} +1 -1
  35. package/browser/cjs/CkxuzW8FWE8vKkSL.cjs +6 -0
  36. package/browser/cjs/{CFRl9gT7qj3ENMiA.cjs → Clh_-4NLLHCW3c-r.cjs} +1 -1
  37. package/browser/cjs/{Co4jRh5Lu0sSmXGC.cjs → CsvjAXVeoKH34aZc.cjs} +2 -2
  38. package/browser/cjs/{BJPmztbd5VBK5mm9.cjs → CsxexX1uKSMjAryZ.cjs} +1 -1
  39. package/browser/cjs/{Dkjsd1qc-X40cksg.cjs → CwgzXfkSX0s-h_0a.cjs} +1 -1
  40. package/browser/cjs/CxIFTPLgMN5VgKh1.cjs +12 -0
  41. package/browser/cjs/D0ByNhICkrbUC74Z.cjs +6 -0
  42. package/browser/cjs/{DqYbR5LZ21mHAb4i.cjs → DAnQwP6m2P_AUhZh.cjs} +1 -1
  43. package/browser/cjs/{CwsoT9PB20BPWI94.cjs → DFIMAvLgAQfQm3Bx.cjs} +1 -1
  44. package/browser/cjs/DI-wbtkuZm7yx_ek.cjs +6 -0
  45. package/browser/cjs/{yNZPaSNiBbCzS-ZR.cjs → DLcyf5qNRNueXSur.cjs} +3 -8
  46. package/browser/cjs/{CHkQq93Benc1vCpr.cjs → DLeOkdGvdWl5tqCl.cjs} +2 -2
  47. package/browser/cjs/{DxscJXvrkziYQcFs.cjs → DUUZT0ElQBBkt4qe.cjs} +1 -1
  48. package/browser/cjs/{_GQMxgpoD4XQiStU.cjs → DfrXQdrMzJWgyX4S.cjs} +1 -1
  49. package/browser/cjs/{DyBAl2cYUIbkoWsa.cjs → DkOOlgNR-NXixaQX.cjs} +1 -1
  50. package/browser/cjs/{vavqGfGZgq5i7n4B.cjs → DmZIqrySryidgnRl.cjs} +2 -2
  51. package/browser/cjs/{BZDyAbB3lej5Jex6.cjs → DscIvkrfig_mffwY.cjs} +1 -1
  52. package/browser/cjs/{B4ne8Qu3ISmBz2I_.cjs → Dz8coNXp80TEXSyH.cjs} +1 -1
  53. package/browser/cjs/{4WTvahGneDLqs8nK.cjs → IaiQe7d-LGA2611T.cjs} +9 -24
  54. package/browser/cjs/{UZJaTSqgj_1vwBPD.cjs → KNduwqq-J9uyLgsC.cjs} +1 -1
  55. package/browser/cjs/{DrfhSPGoBxXa2zrq.cjs → LTnky81SCDfvEiub.cjs} +1 -1
  56. package/browser/cjs/{DbOphBQCPCGOjcMB.cjs → _EleKbbhQWfp8mqy.cjs} +20 -25
  57. package/browser/cjs/index.cjs +3 -3
  58. package/browser/cjs/{s023hbvdZPtE0ZgU.cjs → sNpLX232YHzUxZOr.cjs} +4 -4
  59. package/browser/cjs/{DJPvDosur15jRed6.cjs → sxA11AN6vr9fiHaa.cjs} +2 -46
  60. package/browser/cjs/{CEyf06HL4OpZLe_9.cjs → vEKDv57iikwYjhOc.cjs} +2 -2
  61. package/browser/esm/{BAe4Amd0bcUlcPDo.mjs → 26ozZ2-vj7N8rpiB.mjs} +1 -7
  62. package/browser/esm/{CJ0O6bKXr7qeO25m.mjs → 9vaTrJzQjSFA2egn.mjs} +2 -8
  63. package/browser/esm/{0C6QuzGc8rTp95Os.mjs → AkfGEQyMAKNp1Ktw.mjs} +2 -2
  64. package/browser/esm/{BoyMSFQmu3xbxOlA.mjs → B-DwCBC-vYtRKiGS.mjs} +4 -10
  65. package/browser/esm/{rrGPhfv9KHmWuZ1O.mjs → B1BxGO2lBpSxSvw1.mjs} +1 -7
  66. package/browser/esm/{DgnVRt8VYgaSZGHj.mjs → B7mPpY5DOxEGMbPk.mjs} +12 -10
  67. package/browser/esm/{9xTBsz6sONUyOHUW.mjs → B8le6PM3dfy1qSHY.mjs} +1 -7
  68. package/{node/esm/BfEdsxDq6MOecVqq.mjs → browser/esm/BCIwvhxFiDXGEwES.mjs} +1 -7
  69. package/browser/esm/{B4KRBO609RwNjzvi.mjs → BFtFjxXyhdNH6yAV.mjs} +1 -7
  70. package/browser/esm/{CgUrlFh28m1acaYQ.mjs → BMsToxhQy4cSxlz-.mjs} +1 -7
  71. package/browser/esm/{B3tAu8z_m4SfpweK.mjs → BNbDRm5P-Ha3rBv4.mjs} +1 -1
  72. package/browser/esm/{LwaL-xJmA9EnZcqb.mjs → BRPqw1D9DgPK_A6V.mjs} +2 -8
  73. package/browser/esm/{CtY7bZRPP4_KRNmt.mjs → BSv1o1DpwfEAWYSy.mjs} +2 -2
  74. package/browser/esm/{C6k-LrteLTacKvUJ.mjs → BVDNIiq2e_loYVfc.mjs} +6 -6
  75. package/{node/esm/s1BEJnCqBOb8JJDU.mjs → browser/esm/Be1UWt41K_Sp7nbQ.mjs} +1 -7
  76. package/browser/esm/{DsWvUVuInbcvxqIu.mjs → Bqmme9ilyvrHA-e_.mjs} +8 -25
  77. package/browser/esm/{5NrbFIuL4ezvklhf.mjs → Bt8Hem_KC6UibnGm.mjs} +2 -2
  78. package/browser/esm/{Cl0T7a1Q_gErBp0a.mjs → BvPUue2e8_ByeP7c.mjs} +1 -7
  79. package/browser/esm/{wy5pKj7t63p_up1j.mjs → ByYn00uYUmHj9zvS.mjs} +134 -134
  80. package/browser/esm/{BFcMJeN-Jx_QyCvg.mjs → C3dyK-h3mgD7XzKl.mjs} +2 -2
  81. package/browser/esm/{BPvaz6hF_IcJuJOV.mjs → C9uQaKOaImv5o9c3.mjs} +1 -7
  82. package/browser/esm/{Bl6YU6FumgUvr0UG.mjs → CBFDGZ_aqeLV3IIt.mjs} +1 -7
  83. package/{node/esm/BbEfqkC8wcfMDYW7.mjs → browser/esm/CNdA2-u6_d2tqz5J.mjs} +1 -7
  84. package/browser/esm/{BBSvNtWZn99G2Sel.mjs → CRByH9Wf2wJ94di-.mjs} +1 -14
  85. package/browser/esm/{4JoQwaWGy7X9v7Fv.mjs → CV-D1e318ShLCDie.mjs} +1 -7
  86. package/browser/esm/{Cx2I29WhfKMYwydX.mjs → CXKMDzYsDLhyK3SV.mjs} +1 -7
  87. package/browser/esm/{BFDuLEYykYS1BDn_.mjs → CaFxIFV4dLSI4zDW.mjs} +4 -22
  88. package/browser/esm/{wefMW1XHosAljDkr.mjs → CdUwERsyanWuNPx8.mjs} +2 -2
  89. package/browser/esm/{DAO7AruN1dqHKCzx.mjs → CpD505ep5Z3oX287.mjs} +37 -57
  90. package/browser/esm/{DxDjGuX7dIrp2S15.mjs → Cz9BPykuRu_5ay57.mjs} +2 -14
  91. package/browser/esm/{cAw1gvsUyweC9j3E.mjs → D2yV2gASA--bjve5.mjs} +1 -7
  92. package/browser/esm/{B9OOPVMmJt7VFL6P.mjs → D645MdIazDB-hc3d.mjs} +1 -13
  93. package/browser/esm/{CnInDMsKLsntQ4ZW.mjs → D6mAWXETxAqf416J.mjs} +1 -7
  94. package/browser/esm/DPw7ErLvgq_9jYHE.mjs +24 -0
  95. package/browser/esm/{C55fwXLJyCRvXnox.mjs → DRVlO95U75R3eY27.mjs} +1 -7
  96. package/browser/esm/{BNXkhPhojFj2qVzy.mjs → DWoRF-U96vWLWF5Q.mjs} +96 -102
  97. package/browser/esm/{B3zRuS9CUBbywRyw.mjs → DX8AE4p9fLlmEdTJ.mjs} +1 -7
  98. package/browser/esm/{CPpDKazrNC3936LC.mjs → DYvwKUBbWi2NWsyf.mjs} +1 -7
  99. package/browser/esm/{DwSOLCKwPflQ8oiF.mjs → D_LHNgrCc-7V6FjT.mjs} +4 -4
  100. package/browser/esm/{5ZeTyyMjwTBT3EsV.mjs → DoCwq6ipapKirQSJ.mjs} +1 -7
  101. package/browser/esm/{DQA0GopfVCQr8XAy.mjs → Dq2nqH2znDzDq0no.mjs} +1 -7
  102. package/browser/esm/{H8PuG54lnnKpLJ9K.mjs → DudPyyE63O5X5Tij.mjs} +2 -2
  103. package/browser/esm/{Cluz9cocEiEkoBqC.mjs → Dvi6qc2t9c_bRvzo.mjs} +28 -28
  104. package/browser/esm/{CpSUrjPU9wYc3Jhg.mjs → Dxl5GgDFgUsBkg-b.mjs} +1 -7
  105. package/browser/esm/{DsZx_Zkhn1I5H_1J.mjs → FhyoG4Gyhb7gVRPB.mjs} +2 -2
  106. package/browser/esm/{CCk3fUZpSsFCIy8K.mjs → Qq233O5gbpRAP6un.mjs} +2 -14
  107. package/browser/esm/{BCMVtS3Laq-Xh8Di.mjs → TFr0V-rb-KYQeRVW.mjs} +1 -9
  108. package/browser/esm/UC5M3Z5HmOzupzqQ.mjs +21 -0
  109. package/browser/esm/{C7nYvIDkdvZ1Dj4m.mjs → VchKQpT2_B7Ca113.mjs} +3 -21
  110. package/browser/esm/{gNrO89j_4tRIGEtM.mjs → ZwbkuvbehTjluIzn.mjs} +3 -9
  111. package/browser/esm/{QzCoqfRysNMoTzb1.mjs → _5B66awyRsaDd_Hv.mjs} +1 -7
  112. package/browser/esm/{DB1-J0MOAeH11ZyJ.mjs → _zJv_HkelROSMajR.mjs} +1 -7
  113. package/browser/esm/{DgAkhv_thUOpWlnL.mjs → cOX4zBcY0-H_8kAj.mjs} +9167 -9247
  114. package/{node/esm/CpoyQrYrPV0-9RPc.mjs → browser/esm/iIqrOkF_gUf_5m0C.mjs} +1 -7
  115. package/browser/esm/index.mjs +10 -10
  116. package/browser/esm/{BBN8odKP7v-WcPD2.mjs → kjRF87FSQwIzB1KD.mjs} +1 -7
  117. package/{node/esm/BRaRGYJwIxUVeGqc.mjs → browser/esm/ob7IFBy7DLC-iS-g.mjs} +1 -7
  118. package/browser/esm/{Dwss46fwkNYFDw8t.mjs → s-R04_lOf8TuzWvo.mjs} +7 -71
  119. package/licenses/dependencies.txt +77 -77
  120. package/node/assets/style.css +1 -1
  121. package/node/esm/8OtdJtJIKyA4POih.mjs +14 -0
  122. package/node/esm/{rrGPhfv9KHmWuZ1O.mjs → B1BxGO2lBpSxSvw1.mjs} +1 -7
  123. package/node/esm/{CMqERd7Psx-3Wfm9.mjs → B2Y6U5_PvKIFVtAh.mjs} +6 -26
  124. package/node/esm/{CAMB3sLeYaDmVbRg.mjs → B5jFauUSFpo_iDkW.mjs} +1 -1
  125. package/node/esm/{CQza81LSbdfj4dh8.mjs → B7bDAwgd6OSbVJh_.mjs} +1 -7
  126. package/node/esm/{9xTBsz6sONUyOHUW.mjs → B8le6PM3dfy1qSHY.mjs} +1 -7
  127. package/{browser/esm/BfEdsxDq6MOecVqq.mjs → node/esm/BCIwvhxFiDXGEwES.mjs} +1 -7
  128. package/node/esm/{B4KRBO609RwNjzvi.mjs → BFtFjxXyhdNH6yAV.mjs} +1 -7
  129. package/node/esm/{CF8Iw2U0KmkBM7e_.mjs → BK9EmmFbROJ0rZqB.mjs} +12 -10
  130. package/node/esm/{CgUrlFh28m1acaYQ.mjs → BMsToxhQy4cSxlz-.mjs} +1 -7
  131. package/node/esm/{z4aHdT3kX8QkA5WB.mjs → BX8KUYAnQx1vI-cS.mjs} +1 -7
  132. package/{browser/esm/s1BEJnCqBOb8JJDU.mjs → node/esm/Be1UWt41K_Sp7nbQ.mjs} +1 -7
  133. package/node/esm/{Bl4s1iMUrCbnLTK6.mjs → BeyDW_Yk6iu1JB4v.mjs} +4 -22
  134. package/node/esm/{hpjhhcXZ4ox1ttj9.mjs → BjIAi3GfBAjiRIja.mjs} +3 -9
  135. package/node/esm/{CGpy_JYlJvSqi2bv.mjs → Bk7aoxfQtGp8id7D.mjs} +1 -3
  136. package/node/esm/{D-5hudKxKNcxHDv4.mjs → BpdsRwlUAUyUdrlR.mjs} +11 -29
  137. package/node/esm/{C-OobshDolEf_YMF.mjs → BsSGinAqat7R8x_O.mjs} +1 -1
  138. package/node/esm/{C6u3GsSp4e2cvW9r.mjs → Bth10k64kFkk36Hy.mjs} +1 -1
  139. package/node/esm/{DdzeWAW2GHn9AEEc.mjs → BwnMNGZmp-FGW86J.mjs} +1 -7
  140. package/node/esm/{BPvaz6hF_IcJuJOV.mjs → C9uQaKOaImv5o9c3.mjs} +1 -7
  141. package/node/esm/{Bl6YU6FumgUvr0UG.mjs → CBFDGZ_aqeLV3IIt.mjs} +1 -7
  142. package/node/esm/{CgnJOwb7XTGd8SHn.mjs → CI9F84m6LzoOkVfK.mjs} +1 -1
  143. package/node/esm/{Dzi6IQ6mIY4GUhhn.mjs → CJiY4Wz9eiX2B9nv.mjs} +1 -7
  144. package/node/esm/{C0BuhFhvary0MrNX.mjs → CM9lgZdHfhhL2cv-.mjs} +1 -7
  145. package/{browser/esm/BbEfqkC8wcfMDYW7.mjs → node/esm/CNdA2-u6_d2tqz5J.mjs} +1 -7
  146. package/node/esm/{qiZgtOByq0ONnESS.mjs → CS138m7XyLHvzDPV.mjs} +1 -8
  147. package/node/esm/{4JoQwaWGy7X9v7Fv.mjs → CV-D1e318ShLCDie.mjs} +1 -7
  148. package/node/esm/{9XZv6YbZGzXJWLjj.mjs → CV4Y5e_kU8o_sXoX.mjs} +1 -7
  149. package/node/esm/{B_G7O_zb-jF1PwUW.mjs → CWRpbP9nAT2yR2r6.mjs} +8 -8
  150. package/node/esm/{Cx2I29WhfKMYwydX.mjs → CXKMDzYsDLhyK3SV.mjs} +1 -7
  151. package/node/esm/{hNQ44J3MKLhqWqDQ.mjs → CYcFo_OeyApoGTg3.mjs} +2 -2
  152. package/node/esm/{TF4SxbxBSD3Gf9rn.mjs → CYsd2qqC_WxLTKE1.mjs} +1 -7
  153. package/node/esm/{BCHHa-dErcBIC_0y.mjs → CradKrxfiGQucTZ3.mjs} +7 -7
  154. package/node/esm/{BBdLL4LjdF1xMJM1.mjs → CwIlFXgoa_xv0Doi.mjs} +1 -7
  155. package/node/esm/D5uKz7a9v8FUVx0k.mjs +80 -0
  156. package/node/esm/{B6zpbEevMTArgNIt.mjs → D61UbOtLixUCDQce.mjs} +38 -38
  157. package/node/esm/{C8STZ7Zt6L0KzqIE.mjs → D95MPCm8ObgZN5_j.mjs} +2 -2
  158. package/node/esm/{C55fwXLJyCRvXnox.mjs → DRVlO95U75R3eY27.mjs} +1 -7
  159. package/node/esm/{C5U11rfhUvotCiwk.mjs → DYOAGczbRXmskyrr.mjs} +7 -71
  160. package/node/esm/{CPpDKazrNC3936LC.mjs → DYvwKUBbWi2NWsyf.mjs} +1 -7
  161. package/node/esm/DdDxTsQsLWNqX7ee.mjs +16 -0
  162. package/node/esm/{BG0B7kW0XUOAZkPr.mjs → DfXVaugDnucoDGYk.mjs} +2 -2
  163. package/node/esm/{wqbe04B4sEFndP3V.mjs → DjLSO4d4T2JddYG_.mjs} +4 -10
  164. package/node/esm/{CipoP939zaH4fcOy.mjs → Do5a0pvRN3hayzdD.mjs} +1 -7
  165. package/node/esm/{ByM8BXRmy_WcnL53.mjs → DuboCcThig3p0wzs.mjs} +5 -5
  166. package/node/esm/{oOVkOZ3Xk1oEBGVF.mjs → N2xFXdAPXckWbqvN.mjs} +13 -13
  167. package/node/esm/{v_xWzWUNiVGQNBoT.mjs → ZVae6CkvsUOXzMKw.mjs} +1 -1
  168. package/node/esm/{QzCoqfRysNMoTzb1.mjs → _5B66awyRsaDd_Hv.mjs} +1 -7
  169. package/node/esm/{Bav2rRIN-77VagCp.mjs → _Wieg3dqzHo6_Crg.mjs} +2 -14
  170. package/{browser/esm/CpoyQrYrPV0-9RPc.mjs → node/esm/iIqrOkF_gUf_5m0C.mjs} +1 -7
  171. package/node/esm/index.mjs +20168 -20203
  172. package/node/esm/{Dfiyl6Mp0BhjlSy1.mjs → kTEpzGO5dC1M9dbV.mjs} +2 -2
  173. package/{browser/esm/BRaRGYJwIxUVeGqc.mjs → node/esm/ob7IFBy7DLC-iS-g.mjs} +1 -7
  174. package/node/esm/{DCuXbif8mI95HsNT.mjs → pTSFPHHLPzmAcEKW.mjs} +1 -7
  175. package/node/esm/{Bt9tHh7hpw6l03MX.mjs → rF9x01iQv2EpxorW.mjs} +2 -8
  176. package/package.json +8 -8
  177. package/browser/cjs/BC2yD5lEOXzHeG1Y.cjs +0 -17
  178. package/browser/cjs/BmsLHCvcZOJnxYBm.cjs +0 -16
  179. package/browser/cjs/C_WGJtEWeSBOjCod.cjs +0 -25
  180. package/browser/cjs/CmHRyEKd83UyYJp5.cjs +0 -11
  181. package/browser/cjs/CxgPiyb5-hVRdhnd.cjs +0 -6
  182. package/browser/cjs/D2MFDC-oSzPf1srP.cjs +0 -314
  183. package/browser/cjs/DDJTjqunlP762qFN.cjs +0 -28
  184. package/browser/cjs/Ds4qQWfBUFy1VFRh.cjs +0 -12
  185. package/browser/cjs/DthoHYaMTKWkpydK.cjs +0 -11
  186. package/browser/cjs/WTQe6nG-0TQIsU2N.cjs +0 -16
  187. package/browser/cjs/cjzXoPH_hX0J64QW.cjs +0 -28
  188. package/browser/cjs/iZCwzTljD4cWi5hR.cjs +0 -20
  189. package/browser/esm/BKe9StZYGtgSF78N.mjs +0 -36
  190. package/browser/esm/DX5wv2h7KsKxTYo5.mjs +0 -34
  191. package/node/esm/BOSoESJcI0P9vUHU.mjs +0 -92
  192. package/node/esm/BSra_FfM7URLW976.mjs +0 -26
  193. package/node/esm/Dmuc2_ZKAEnSFQ4-.mjs +0 -28
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.0
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.2
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.
@@ -12,10 +12,10 @@ import { ErrorBoundary as k } from "react-error-boundary";
12
12
  import { useSnackbar as g, SnackbarContent as b, SnackbarProvider as w } from "notistack";
13
13
  import { useTheme as f, ThemeProvider as y } from "@mui/material/styles/index.js";
14
14
  import { Card as x, CardActions as C, Typography as M, IconButton as W, Collapse as v, Box as L, SvgIcon as S, CssBaseline as E } from "@mui/material";
15
- import { _ as D, P as T, Z as F, q as O, t as I, f as P, p as A, W as N, h as R, WorkbookIO as j, X as _, U, O as H, j as G, N as K, Q as z, r as $, n as q, V, AppearanceCommandButton as B, u as J, v as X, E as Z, w as Q, x as Y, y as ee, useResolvedThemeMode as oe, ThemeMode as te, z as re, A as ne, G as ae, S as se, I as ie, K as le, HelpCommandButton as ce, L as de, M as pe, R as me, T as ue, b as he, a0 as ke, a1 as ge, a2 as be, WorkbookTitle as we, WorkbookElement as fe, a3 as ye, a4 as xe } from "./index.mjs";
15
+ import { _ as D, f as F, Z as T, q as O, t as I, F as P, h as A, W as N, T as R, WorkbookIO as j, X as _, U, j as H, k as K, N as G, Q as $, m as z, n as q, o as B, AppearanceCommandButton as V, u as J, v as X, E as Z, w as Q, x as Y, y as ee, useResolvedThemeMode as oe, ThemeMode as te, z as re, A as ne, H as ae, S as se, I as ie, K as le, HelpCommandButton as ce, L as de, M as pe, R as me, $ as ue, b as he, a0 as ke, a1 as ge, a2 as be, WorkbookTitle as we, WorkbookElement as fe, a3 as ye, a4 as xe } from "./index.mjs";
16
16
  import { useMeasure as Ce } from "react-use";
17
17
  import { ExpandMore as Me, Close as We, CancelOutlined as ve } from "@mui/icons-material";
18
- const Le = { card: "_card_1a398_7", actionRoot: "_actionRoot_1a398_11", icons: "_icons_1a398_16", expand: "_expand_1a398_22", expandOpen: "_expandOpen_1a398_29", stackTraceContainer: "_stackTraceContainer_1a398_33" }, Se = n((t2, r2) => {
18
+ const Le = { card: "_card_r6a8n_13", actionRoot: "_actionRoot_r6a8n_21", icons: "_icons_r6a8n_31", expand: "_expand_r6a8n_43", expandOpen: "_expandOpen_r6a8n_57", stackTraceContainer: "_stackTraceContainer_r6a8n_65" }, Se = n((t2, r2) => {
19
19
  const { id: n2, message: i2, iconVariant: l2, error: c2, hideIconVariant: d2, ...p2 } = t2, { closeSnackbar: m2 } = g(), h2 = f(), [k2, w2] = a(false), y2 = s(() => {
20
20
  w2((e2) => !e2);
21
21
  }, []), L2 = s(() => {
@@ -25,15 +25,15 @@ const Le = { card: "_card_1a398_7", actionRoot: "_actionRoot_1a398_11", icons: "
25
25
  });
26
26
  Se.displayName = "ToastError";
27
27
  const Ee = i(n((r2, n2) => {
28
- const { commands: a2, commandHook: s2, scope: i2 = "workbook", disabled: c2 = false, ...d2 } = r2, p2 = T((r3) => {
29
- const n3 = { variant: I.Menuitem, parentFloat: r3.floatReference, commandHook: s2, scope: i2, disabled: c2 }, d3 = o(t, { children: [e(F, { ...n3, command: a2.getCommand("newWorkbook"), icon: O(e(P, {})) }), e(A, { orientation: "horizontal" }), e(F, { ...n3, command: a2.getCommand("openWorkbook"), icon: O(e(N, {})) }), e(R, { ...n3, commands: a2, quickCommand: "saveWorkbook", icon: O(e(G, {})), createPopupPanel: (o2) => {
28
+ const { commands: a2, commandHook: s2, scope: i2 = "workbook", disabled: c2 = false, ...d2 } = r2, p2 = F((r3) => {
29
+ const n3 = { variant: I.Menuitem, parentFloat: r3.floatReference, commandHook: s2, scope: i2, disabled: c2 }, d3 = o(t, { children: [e(T, { ...n3, command: a2.getCommand("newWorkbook"), icon: O(e(P, {})) }), e(A, { orientation: "horizontal" }), e(T, { ...n3, command: a2.getCommand("openWorkbook"), icon: O(e(N, {})) }), e(R, { ...n3, commands: a2, quickCommand: "saveWorkbook", icon: O(e(K, {})), createPopupPanel: (o2) => {
30
30
  const t2 = { ...n3, parentFloat: o2.floatReference, scope: "saveWorkbook" }, r4 = [];
31
31
  return j.getWriteFormats().forEach((o3) => {
32
32
  if (o3.isDefault) return;
33
33
  let n4 = null;
34
34
  "CSV" === o3.key ? n4 = O(e(_, {})) : "Excel" === o3.key && (n4 = O(e(U, {})));
35
35
  const s3 = a2.getCommand(`saveWorkbookAs${o3.key}`);
36
- s3 ? r4.push(l(F, { ...t2, key: o3.key, command: s3, icon: n4 })) : console.warn(`Unable to resolve command: 'saveWorkbookAs${o3.key}'`);
36
+ s3 ? r4.push(l(T, { ...t2, key: o3.key, command: s3, icon: n4 })) : console.warn(`Unable to resolve command: 'saveWorkbookAs${o3.key}'`);
37
37
  }), H({ ...o2, children: r4, onClick: () => {
38
38
  o2.closeFloatAll();
39
39
  } });
@@ -42,28 +42,28 @@ const Ee = i(n((r2, n2) => {
42
42
  e2.isDefaultPrevented || r3.closeFloatAll();
43
43
  } });
44
44
  }, [c2, a2, s2, i2]), m2 = "File";
45
- return e(R, { commands: a2, disabled: c2, commandHook: s2, scope: i2, label: m2, tooltip: "Options for saving and loading the workbook.", sx: { paddingBottom: "0px", "& button": { paddingTop: "0px", paddingBottom: "0px", height: (e2) => `calc(1.25rem + ${e2.spacing(2)}px)` } }, ...d2, createPopupPanel: p2, icon: e(K, { className: "label", icon: null, label: m2 }) });
45
+ return e(R, { commands: a2, disabled: c2, commandHook: s2, scope: i2, label: m2, tooltip: "Options for saving and loading the workbook.", sx: { paddingBottom: "0px", "& button": { paddingTop: "0px", paddingBottom: "0px", height: (e2) => `calc(1.25rem + ${e2.spacing(2)}px)` } }, ...d2, createPopupPanel: p2, icon: e(G, { className: "label", icon: null, label: m2 }) });
46
46
  }));
47
47
  Ee.displayName = "StandaloneFileCommandButton";
48
- const De = e(q, { label: "SheetXL", description: "Visit me at sheetxl.com.", children: e(L, { sx: { width: "24px", height: "24px", marginBottom: "4px", marginLeft: "6px" }, children: e(V, { onClick: () => {
48
+ const De = e(q, { label: "SheetXL", description: "Visit me at sheetxl.com.", children: e(L, { sx: { width: "24px", height: "24px", marginBottom: "4px", marginLeft: "6px" }, children: e(B, { onClick: () => {
49
49
  window?.open("https://www.sheetxl.com", "_blank");
50
- }, style: { width: "24px", height: "24px", cursor: "pointer" } }) }) }), Te = i(n((t2, r2) => {
51
- const { commands: n2, workbook: a2, logo: s2 = De, mainElement: i2, showFileMenu: l2 = true, showAppearanceMenu: p2 = true, ...m2 } = t2, { reference: u2 } = z(), [k2, { width: g2 }] = Ce(), b2 = g2 < 530, w2 = l2 ? e(Ee, { commands: n2, commandHook: { beforeExecute() {
50
+ }, style: { width: "24px", height: "24px", cursor: "pointer" } }) }) }), Fe = i(n((t2, r2) => {
51
+ const { commands: n2, workbook: a2, logo: s2 = De, mainElement: i2, showFileMenu: l2 = true, showAppearanceMenu: p2 = true, ...m2 } = t2, { reference: u2 } = $(), [k2, { width: g2 }] = Ce(), b2 = g2 < 530, w2 = l2 ? e(Ee, { commands: n2, commandHook: { beforeExecute() {
52
52
  u2?.closeAll();
53
53
  }, onError(e2, o2, t3) {
54
- } } }) : null, f2 = p2 ? e(B, { commands: n2, commandHook: { beforeExecute() {
54
+ } } }) : null, f2 = p2 ? e(V, { commands: n2, commandHook: { beforeExecute() {
55
55
  u2?.closeAll();
56
56
  }, onError(e2, o2, t3) {
57
57
  } } }) : null, y2 = c(() => ({ paddingLeft: (e2) => e2.spacing(1), paddingRight: (e2) => e2.spacing(1) }), []), x2 = d(null);
58
- return e(L, { ref: h([x2, k2, r2]), ...m2, children: $({ commands: n2, renderCompact: b2, workbook: a2, selectWrapper: (t3) => o(L, { sx: { display: "flex", flex: "1", flexDirection: "row", alignItems: "stretch", gap: (e2) => e2.spacing(1), paddingLeft: (e2) => e2.spacing(1), paddingRight: (e2) => e2.spacing(1) }, children: [o(L, { sx: { display: "flex", flexDirection: "row", alignItems: "center", flex: "1 1 100%", gap: (e2) => e2.spacing(0.5) }, children: [s2, o(L, { sx: { display: "flex", flexDirection: "row", alignItems: "center", gap: (e2) => e2.spacing(0.25) }, children: [w2, t3] })] }), e(L, { sx: { display: "flex", flexDirection: "row", flex: "1 1 300%", overflow: "hidden", alignItems: "center", justifyContent: "center" }, children: i2 }), e(L, { sx: { display: "flex", alignItems: "center", justifyContent: "end", flex: b2 && !f2 ? "0 0 auto" : "1 1 100%" }, children: f2 })] }), selectProps: y2, toolbarsProps: { Home: { sx: {} } } }) });
58
+ return e(L, { ref: h([x2, k2, r2]), ...m2, children: z({ commands: n2, renderCompact: b2, workbook: a2, selectWrapper: (t3) => o(L, { sx: { display: "flex", flex: "1", flexDirection: "row", alignItems: "stretch", gap: (e2) => e2.spacing(1), paddingLeft: (e2) => e2.spacing(1), paddingRight: (e2) => e2.spacing(1) }, children: [o(L, { sx: { display: "flex", flexDirection: "row", alignItems: "center", flex: "1 1 100%", gap: (e2) => e2.spacing(0.5) }, children: [s2, o(L, { sx: { display: "flex", flexDirection: "row", alignItems: "center", gap: (e2) => e2.spacing(0.25) }, children: [w2, t3] })] }), e(L, { sx: { display: "flex", flexDirection: "row", flex: "1 1 300%", overflow: "hidden", alignItems: "center", justifyContent: "center" }, children: i2 }), e(L, { sx: { display: "flex", alignItems: "center", justifyContent: "end", flex: b2 && !f2 ? "0 0 auto" : "1 1 100%" }, children: f2 })] }), selectProps: y2, toolbarsProps: { Home: { sx: {} } } }) });
59
59
  }));
60
- Te.displayName = "StandaloneWorkbookToolbar";
61
- const Fe = i(n((n2, i2) => {
60
+ Fe.displayName = "StandaloneWorkbookToolbar";
61
+ const Te = i(n((n2, i2) => {
62
62
  const { workbook: l2, setWorkbook: m2, refWorkbookTitle: u2, titleWorkbook: h2, setWorkbookTitle: k2, titlePlaceHolder: b2, children: w2, undoManager: f2, commands: y2, importExportDisabled: x2, themeModeOptions: C2 } = n2, M2 = g(), v2 = M2 ? M2.enqueueSnackbar : () => {
63
63
  }, L2 = M2 ? M2.closeSnackbar : () => {
64
64
  }, [S2, E2] = a({ isMounted: false, label: null, starting: /* @__PURE__ */ new Map(), running: /* @__PURE__ */ new Map() }), D2 = s(() => {
65
65
  E2((e2) => ({ ...e2, isMounted: true }));
66
- }, []), F2 = s(() => {
66
+ }, []), T2 = s(() => {
67
67
  E2((e2) => ({ ...e2, isMounted: false }));
68
68
  }, []), O2 = ne(), I2 = ae(), P2 = se(), A2 = d(/* @__PURE__ */ new Set()), N2 = c(() => {
69
69
  const o2 = (o3, t2) => {
@@ -89,14 +89,14 @@ const Fe = i(n((n2, i2) => {
89
89
  const r2 = { ...o3, onKeyDown: (e3) => {
90
90
  y2?.dispatchToFocusedCommand(e3), e3.isDefaultPrevented() || e3.isPropagationStopped() || o3?.onKeyDown?.(e3);
91
91
  } };
92
- return O2(e2, { sort: () => import("./Dfiyl6Mp0BhjlSy1.mjs"), numberFormat: () => import("./B_G7O_zb-jF1PwUW.mjs"), hyperlink: () => import("./hNQ44J3MKLhqWqDQ.mjs"), comments: () => import("./BG0B7kW0XUOAZkPr.mjs"), find: () => import("./C8STZ7Zt6L0KzqIE.mjs"), tableDetails: () => import("./ByM8BXRmy_WcnL53.mjs"), tableNew: () => import("./BCHHa-dErcBIC_0y.mjs"), namedDetails: () => import("./oOVkOZ3Xk1oEBGVF.mjs") }[e2], r2, t2);
92
+ return O2(e2, { sort: () => import("./kTEpzGO5dC1M9dbV.mjs"), numberFormat: () => import("./CWRpbP9nAT2yR2r6.mjs"), hyperlink: () => import("./CYcFo_OeyApoGTg3.mjs"), comments: () => import("./DfXVaugDnucoDGYk.mjs"), find: () => import("./D95MPCm8ObgZN5_j.mjs"), tableDetails: () => import("./DuboCcThig3p0wzs.mjs"), tableNew: () => import("./CradKrxfiGQucTZ3.mjs"), namedDetails: () => import("./N2xFXdAPXckWbqvN.mjs") }[e2], r2, t2);
93
93
  }, showOptions: I2, showInputOptions: P2, showError: (e2) => {
94
94
  let t2, r2 = de.Error, n3 = "Unknown Error";
95
95
  "string" == typeof e2 ? n3 = e2 : e2 instanceof Error && (t2 = e2, e2.message && (n3 = e2.message)), e2 instanceof pe && (r2 = de.Info), o2(n3, { type: r2, enqueueProps: { error: t2 } });
96
96
  } };
97
97
  }, []), R2 = s(() => {
98
98
  }, []), _2 = ((e2) => {
99
- const { workbook: o2, setWorkbook: t2, importExportDisabled: n3, workbookTitle: a2 = "export", setWorkbookTitle: i3, notifier: l3, requestWorkbookTitle: d2, themeModeOptions: m3, undoManager: u3, commands: h3, onExecute: k3 } = e2, g2 = T(m3?.onForceModeChange, [m3?.onForceModeChange]), b3 = T(m3?.onForceLightGridChange, [m3?.onForceLightGridChange]), w3 = T(m3?.onForceLightImagesChange, [m3?.onForceLightImagesChange]), f3 = T(async (e3 = null, o3 = null) => {
99
+ const { workbook: o2, setWorkbook: t2, importExportDisabled: n3, workbookTitle: a2 = "export", setWorkbookTitle: i3, notifier: l3, requestWorkbookTitle: d2, themeModeOptions: m3, undoManager: u3, commands: h3, onExecute: k3 } = e2, g2 = F(m3?.onForceModeChange, [m3?.onForceModeChange]), b3 = F(m3?.onForceLightGridChange, [m3?.onForceLightGridChange]), w3 = F(m3?.onForceLightImagesChange, [m3?.onForceLightImagesChange]), f3 = F(async (e3 = null, o3 = null) => {
100
100
  const t3 = [];
101
101
  let r2, n4 = null, a3 = null;
102
102
  if ("string" == typeof e3 ? a3 = e3 : n4 = e3, r2 = n4 ? e3 : await J.openFileDialog(a3 ?? j.getAllReadFormatTypeAsString().join(",")), !r2) return null;
@@ -104,7 +104,7 @@ const Fe = i(n((n2, i2) => {
104
104
  t3.push(e4);
105
105
  } }, i4 = await j.read(s2, l3);
106
106
  return t3.length > 0 && (l3?.showMessage?.("Some elements were not able to be imported. See console for details."), console.warn("Import warnings:\n" + t3.join("\n"))), i4;
107
- }, [k3, l3, o2]), y3 = T(async (e3, o3, t3) => {
107
+ }, [k3, l3, o2]), y3 = F(async (e3, o3, t3) => {
108
108
  if (!o3 && d2) {
109
109
  const o4 = await d2("Enter Workbook name to " + (t3.isDefault ? "Save." : `Export as ${t3.description}.`));
110
110
  return null !== o4 && j.writeFile(o4, e3, { formatType: t3.key });
@@ -186,7 +186,7 @@ const Fe = i(n((n2, i2) => {
186
186
  const { showModal: v3 } = re();
187
187
  return p(() => {
188
188
  const e3 = () => new Promise((e4, o3) => {
189
- const t3 = r.lazy(() => import("./C6u3GsSp4e2cvW9r.mjs")), n4 = v3(t3, { title: "Shortcut Keys Reference", commands: M3, onDone: () => {
189
+ const t3 = r.lazy(() => import("./Bth10k64kFkk36Hy.mjs")), n4 = v3(t3, { title: "Shortcut Keys Reference", commands: M3, onDone: () => {
190
190
  n4.hide();
191
191
  }, TransitionProps: { onExited: () => {
192
192
  e4(true);
@@ -217,14 +217,14 @@ const Fe = i(n((n2, i2) => {
217
217
  }, [S2]);
218
218
  const [U2, H2] = a(null);
219
219
  p(() => {
220
- 0 !== S2.starting.size || 0 !== S2.running.size ? H2(e(ie, { icon: e(le, { sx: { transform: "scale(0.7)", marginLeft: "-6px" } }), panel: true, label: S2.label, onMount: D2, onUnmount: F2, sx: { position: "absolute", left: "0", top: "0", width: "100%", height: "100%", zIndex: "9999" } })) : H2(null);
220
+ 0 !== S2.starting.size || 0 !== S2.running.size ? H2(e(ie, { icon: e(le, { sx: { transform: "scale(0.7)", marginLeft: "-6px" } }), panel: true, label: S2.label, onMount: D2, onUnmount: T2, sx: { position: "absolute", left: "0", top: "0", width: "100%", height: "100%", zIndex: "9999" } })) : H2(null);
221
221
  }, [S2.starting, S2.running]);
222
- const G2 = c(() => e(ce, { commands: _2, disableHover: true, sx: { padding: "0" }, buttonProps: { sx: { maxHeight: "22px" } } }), [_2]), K2 = { notifier: N2, commands: _2 };
223
- return l2 && (K2.statusBarProps = { childrenEnd: G2 }), o(t, { children: [U2, w2 ? r.cloneElement(w2, K2) : null] });
222
+ const K2 = c(() => e(ce, { commands: _2, disableHover: true, sx: { padding: "0" }, buttonProps: { sx: { maxHeight: "22px" } } }), [_2]), G2 = { notifier: N2, commands: _2 };
223
+ return l2 && (G2.statusBarProps = { childrenEnd: K2 }), o(t, { children: [U2, w2 ? r.cloneElement(w2, G2) : null] });
224
224
  }));
225
- Fe.displayName = "SnackbarAndCommandsWrapper";
225
+ Te.displayName = "SnackbarAndCommandsWrapper";
226
226
  const Oe = i(n((t2, r2) => {
227
- const { className: n2, sx: i2, style: l2, onElementLoad: g2, onError: b2, undoManager: f2, errorPanel: x2 = me, onKeyDown: C2, workbook: M2, createWorkbookOptions: W2, onWorkbookChange: v2, logo: L2, importExportDisabled: D2 = false, themeModeOptions: F2, autoFocus: O2 = false, commands: I2, title: P2, onTitleChange: A2, titleProps: N2, ...R2 } = t2, _2 = d(null), U2 = T(v2, [v2]), H2 = T(A2 ?? N2?.onTitleChange, [A2 ?? N2?.onTitleChange]), G2 = N2?.placeHolder ?? "Untitled", K2 = F2?.forceMode, { themeMode: z2, source: $2 } = oe({ mode: K2 }), q2 = c(() => ({ ...F2, light: ue(false, he.deepMerge(F2?.theme ?? {}, F2?.light ?? {})), dark: ue(true, he.deepMerge(F2?.theme ?? {}, F2?.dark ?? {})) }), [F2]), V2 = z2 === te.Dark, [B2, J2] = a(null);
227
+ const { className: n2, sx: i2, style: l2, onElementLoad: g2, onError: b2, undoManager: f2, errorPanel: x2 = me, onKeyDown: C2, workbook: M2, createWorkbookOptions: W2, onWorkbookChange: v2, logo: L2, importExportDisabled: D2 = false, themeModeOptions: T2, autoFocus: O2 = false, commands: I2, title: P2, onTitleChange: A2, titleProps: N2, ...R2 } = t2, _2 = d(null), U2 = F(v2, [v2]), H2 = F(A2 ?? N2?.onTitleChange, [A2 ?? N2?.onTitleChange]), K2 = N2?.placeHolder ?? "Untitled", G2 = T2?.forceMode, { themeMode: $2, source: z2 } = oe({ mode: G2 }), q2 = c(() => ({ ...T2, light: ue(false, he.deepMerge(T2?.theme ?? {}, T2?.light ?? {})), dark: ue(true, he.deepMerge(T2?.theme ?? {}, T2?.dark ?? {})) }), [T2]), B2 = $2 === te.Dark, [V2, J2] = a(null);
228
228
  p(() => {
229
229
  J2(f2 ?? new ke());
230
230
  }, [f2]);
@@ -248,19 +248,19 @@ const Oe = i(n((t2, r2) => {
248
248
  }, [Q2]);
249
249
  const [ne2, ae2] = a(null);
250
250
  p(() => {
251
- if (!B2 || !X2) return;
252
- B2.clear();
251
+ if (!V2 || !X2) return;
252
+ V2.clear();
253
253
  const e2 = X2?.workbook?.getTransactions();
254
254
  if (!e2) return;
255
255
  return e2.addListener({ onCommitEnd: (o2) => {
256
- o2.getDescription() ? B2.addUndoOperation({ description: o2.getDescription(), undo: () => (e2.revert(o2.getId()), ne2.source?.focus(), () => {
256
+ o2.getDescription() ? V2.addUndoOperation({ description: o2.getDescription(), undo: () => (e2.revert(o2.getId()), ne2.source?.focus(), () => {
257
257
  e2.restore(o2.getId()), ne2.source?.focus();
258
258
  }) }) : console.warn("commit has no description", o2);
259
259
  } });
260
- }, [B2, X2, ne2]);
261
- const se2 = T((e2) => {
262
- e2 ? B2.setRepeatableOperation({ description: e2.label(), repeat: async () => e2.execute() }) : B2.setRepeatableOperation(null);
263
- }, [B2]), [le2, ce2] = a(P2 ?? N2?.title ?? "");
260
+ }, [V2, X2, ne2]);
261
+ const se2 = F((e2) => {
262
+ e2 ? V2.setRepeatableOperation({ description: e2.label(), repeat: async () => e2.execute() }) : V2.setRepeatableOperation(null);
263
+ }, [V2]), [le2, ce2] = a(P2 ?? N2?.title ?? "");
264
264
  p(() => {
265
265
  ce2(P2 ?? N2?.title ?? "");
266
266
  }, [P2 ?? N2?.title]), p(() => {
@@ -270,7 +270,7 @@ const Oe = i(n((t2, r2) => {
270
270
  const e2 = () => ({ contains: (e3) => true, focus() {
271
271
  } });
272
272
  return I2 ? I2.createChildGroup(e2, "application", false) : new Y(e2, "application");
273
- }, [I2]), Me2 = T((e2) => {
273
+ }, [I2]), Me2 = F((e2) => {
274
274
  pe2(e2.source.getViewportElement()), ae2(e2), Ce2.activate("sheet"), g2?.(e2);
275
275
  }, [Ce2]);
276
276
  p(() => {
@@ -278,9 +278,9 @@ const Oe = i(n((t2, r2) => {
278
278
  }, [ne2]);
279
279
  const We2 = d(null), ve2 = s((o2) => {
280
280
  let t3 = null;
281
- return N2?.hidden || (t3 = e(we, { ...N2, style: { maxWidth: "100%", ...N2?.style }, workbook: _2.current, ref: We2, title: le2, placeHolder: G2, onTitleChange: (e2) => {
281
+ return N2?.hidden || (t3 = e(we, { ...N2, style: { maxWidth: "100%", ...N2?.style }, workbook: _2.current, ref: We2, title: le2, placeHolder: K2, onTitleChange: (e2) => {
282
282
  ce2(e2);
283
- } })), e(Te, { ...o2, logo: L2, mainElement: t3, showFileMenu: !D2, showAppearanceMenu: !!(q2?.onForceLightGridChange || q2?.onForceLightImagesChange || q2?.onForceModeChange) });
283
+ } })), e(Fe, { ...o2, logo: L2, mainElement: t3, showFileMenu: !D2, showAppearanceMenu: !!(q2?.onForceLightGridChange || q2?.onForceLightImagesChange || q2?.onForceModeChange) });
284
284
  }, [L2, le2, N2, q2, D2, Ce2]);
285
285
  p(() => {
286
286
  const e2 = (e3) => e3.preventDefault();
@@ -292,14 +292,14 @@ const Oe = i(n((t2, r2) => {
292
292
  if (!X2) return Le2;
293
293
  if (X2.error || !X2.workbook) return Ee2({ error: X2.error });
294
294
  let o2 = null, t3 = null, r3 = false;
295
- return q2 && (o2 = V2 ? q2.dark : q2.light, t3 = V2 && !q2.forceLightGrid ? q2.dark : q2.light, r3 = q2.forceLightImages), e(fe, { sx: De2, style: l2, tabIndex: 0, autoFocus: true, workbook: X2.workbook, ref: Oe2, renderToolbar: ve2, onElementLoad: Me2, onRepeatCommandChange: se2, onKeyDown: (e2) => {
295
+ return q2 && (o2 = B2 ? q2.dark : q2.light, t3 = B2 && !q2.forceLightGrid ? q2.dark : q2.light, r3 = q2.forceLightImages), e(fe, { sx: De2, style: l2, tabIndex: 0, autoFocus: true, workbook: X2.workbook, ref: Oe2, renderToolbar: ve2, onElementLoad: Me2, onRepeatCommandChange: se2, onKeyDown: (e2) => {
296
296
  C2?.(e2);
297
297
  }, gridTheme: t3, headersTheme: o2, forceLightImages: r3, className: u(n2, "sheetxl-workbook"), onContextMenu: (e2) => e2.preventDefault(), ...R2 }, "WorkbookElement");
298
- }, [X2, le2, B2, Le2, q2, R2, ve2, De2]);
298
+ }, [X2, le2, V2, Le2, q2, R2, ve2, De2]);
299
299
  let Pe = e(k, { fallbackRender: Ee2, children: e(w, { maxSnack: 3, domRoot: de2, anchorOrigin: { vertical: "bottom", horizontal: "right" }, autoHideDuration: 3500, onClose: (e2, o2, t3) => {
300
300
  _2.current?.focus();
301
- }, Components: { error: Se }, iconVariant: { success: e(S, { style: { marginRight: "8px" }, children: e("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: e(xe, { style: { marginRight: "8px" } }) }, children: e(ye, { children: e(Fe, { workbook: X2?.workbook, setWorkbook: ee2, importExportDisabled: D2, titlePlaceHolder: G2, titleWorkbook: le2, setWorkbookTitle: ce2, refWorkbookTitle: We2, commands: Ce2, undoManager: B2, themeModeOptions: q2, children: Ie }) }) }) });
302
- return q2 && (Pe = o(y, { theme: V2 ? q2.dark : q2.light, children: [q2.cssBaseline ? e(E, {}) : null, Pe] })), Pe;
301
+ }, Components: { error: Se }, iconVariant: { success: e(S, { style: { marginRight: "8px" }, children: e("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: e(xe, { style: { marginRight: "8px" } }) }, children: e(ye, { children: e(Te, { workbook: X2?.workbook, setWorkbook: ee2, importExportDisabled: D2, titlePlaceHolder: K2, titleWorkbook: le2, setWorkbookTitle: ce2, refWorkbookTitle: We2, commands: Ce2, undoManager: V2, themeModeOptions: q2, children: Ie }) }) }) });
302
+ return q2 && (Pe = o(y, { theme: B2 ? q2.dark : q2.light, children: [q2.cssBaseline ? e(E, {}) : null, Pe] })), Pe;
303
303
  }));
304
304
  Oe.displayName = "EagerStandaloneWorkbook";
305
305
  export {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.0
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.2
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.
@@ -10,7 +10,7 @@ import { useMeasure as a } from "react-use";
10
10
  import { alpha as c, getOverlayAlpha as p } from "@mui/material/styles/index.js";
11
11
  import { DialogContent as d, Box as u, TextField as f, InputAdornment as m, Collapse as g, MenuItem as x, FormControl as h, InputLabel as O, Select as C } from "@mui/material";
12
12
  import { ArrowBack as y, ArrowUpward as b, ArrowForward as T, ArrowDownward as v } from "@mui/icons-material";
13
- import { aj as k, a as R, P as E, ai as S, ak as w, al as F, q as I, am as D, E as P, an as K, ao as $, ap as j, aq as A, ar as M, as as B, p as L } from "./index.mjs";
13
+ import { aj as k, i as R, f as E, ai as S, ak as w, al as F, q as I, am as D, E as P, an as K, ao as $, ap as j, aq as A, ar as M, as as B, h as L } from "./index.mjs";
14
14
  const V = t((t2) => {
15
15
  const { label: i2, value: r2, options: a2, onSelect: d2, tabIndex: u2 = 0, ...f2 } = t2, [m2, g2] = o(() => G(r2, a2));
16
16
  l(() => {
@@ -1,11 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.0
3
- *
4
- * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
- * License: The license can be found at https://www.sheetxl.com/license.
6
- */
7
- /**
8
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.3.0
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.2
9
3
  *
10
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
11
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.0
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.2
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.
@@ -162,28 +162,12 @@ function I(t2, e2) {
162
162
  if (-1 !== (r3 = A(s3, d2, e3, h2, l2)) && u2) return m2() && o2 ? (b2 = e3, "break") : (g2.push(d2.slice(e3, r3 + 1).join("")), e3 = r3, o2 ? (b2 = e3, "break") : (b2 = e3, "continue"));
163
163
  } else {
164
164
  if (c3 && !z(c3, d2, e3)) {
165
- var f3 = (
166
- /*! *****************************************************************************
167
- Copyright (c) Microsoft Corporation.
168
-
169
- Permission to use, copy, modify, and/or distribute this software for any
170
- purpose with or without fee is hereby granted.
171
-
172
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
173
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
174
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
175
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
176
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
177
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
178
- PERFORMANCE OF THIS SOFTWARE.
179
- ***************************************************************************** */
180
- function() {
181
- for (var t3 = 0, e4 = 0, n4 = arguments.length; e4 < n4; e4++) t3 += arguments[e4].length;
182
- var r4 = Array(t3), i3 = 0;
183
- for (e4 = 0; e4 < n4; e4++) for (var o3 = arguments[e4], a3 = 0, s4 = o3.length; a3 < s4; a3++, i3++) r4[i3] = o3[a3];
184
- return r4;
185
- }(l2)
186
- );
165
+ var f3 = function() {
166
+ for (var t3 = 0, e4 = 0, n4 = arguments.length; e4 < n4; e4++) t3 += arguments[e4].length;
167
+ var r4 = Array(t3), i3 = 0;
168
+ for (e4 = 0; e4 < n4; e4++) for (var o3 = arguments[e4], a3 = 0, s4 = o3.length; a3 < s4; a3++, i3++) r4[i3] = o3[a3];
169
+ return r4;
170
+ }(l2);
187
171
  return f3.splice(l2.indexOf(c3), 1), { value: I(t2, { separator: i2, isSeparateFirst: o2, isSeparateOnlyOpenClose: a2, isSeparateOpenClose: u2, openCloseCharacters: f3 }) };
188
172
  }
189
173
  if (function(t3, e4) {
@@ -616,20 +600,6 @@ var Ut = function() {
616
600
  for (var n2 in e3) e3.hasOwnProperty(n2) && (t3[n2] = e3[n2]);
617
601
  }, Zt(t2, e2);
618
602
  };
619
- /*! *****************************************************************************
620
- Copyright (c) Microsoft Corporation. All rights reserved.
621
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use
622
- this file except in compliance with the License. You may obtain a copy of the
623
- License at http://www.apache.org/licenses/LICENSE-2.0
624
-
625
- THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
626
- KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
627
- WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
628
- MERCHANTABLITY OR NON-INFRINGEMENT.
629
-
630
- See the Apache Version 2.0 License for specific language governing permissions
631
- and limitations under the License.
632
- ***************************************************************************** */
633
603
  var Kt, $t = "function" == typeof Map ? void 0 : (Kt = 0, function(t2) {
634
604
  return t2.__DIFF_KEY__ || (t2.__DIFF_KEY__ = ++Kt);
635
605
  }), Jt = function(t2) {
@@ -698,20 +668,6 @@ var te = function() {
698
668
  r2[t3] = r2[t3] || [], r2[t3].push(Qt({ listener: e3 }, n2));
699
669
  }, t2;
700
670
  }();
701
- /*! *****************************************************************************
702
- Copyright (c) Microsoft Corporation.
703
-
704
- Permission to use, copy, modify, and/or distribute this software for any
705
- purpose with or without fee is hereby granted.
706
-
707
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
708
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
709
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
710
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
711
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
712
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
713
- PERFORMANCE OF THIS SOFTWARE.
714
- ***************************************************************************** */
715
671
  function ee(t2) {
716
672
  return et(t2, _);
717
673
  }
@@ -887,20 +843,6 @@ function le(t2, e2) {
887
843
  return t3.pos;
888
844
  });
889
845
  }
890
- /*! *****************************************************************************
891
- Copyright (c) Microsoft Corporation.
892
-
893
- Permission to use, copy, modify, and/or distribute this software for any
894
- purpose with or without fee is hereby granted.
895
-
896
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
897
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
898
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
899
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
900
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
901
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
902
- PERFORMANCE OF THIS SOFTWARE.
903
- ***************************************************************************** */
904
846
  var fe = function(t2, e2) {
905
847
  return fe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t3, e3) {
906
848
  t3.__proto__ = e3;
@@ -3822,12 +3764,6 @@ var Zi = function(e2) {
3822
3764
  });
3823
3765
  })], n2.prototype, "moveable", void 0), n2;
3824
3766
  }(t.PureComponent);
3825
- /**
3826
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.3.0
3827
- *
3828
- * (C) 2025-present SheetXL Inc. & Michael T. Ford
3829
- * License: The license can be found at https://www.sheetxl.com/license.
3830
- */
3831
3767
  const Ki = ($i = [ur, fr], (Ji = function(t2) {
3832
3768
  function e2() {
3833
3769
  return null !== t2 && t2.apply(this, arguments) || this;
@@ -1,11 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.0
3
- *
4
- * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
- * License: The license can be found at https://www.sheetxl.com/license.
6
- */
7
- /**
8
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.3.0
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.2
9
3
  *
10
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
11
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -0,0 +1,16 @@
1
+ /**
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.2
3
+ *
4
+ * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
+ * License: The license can be found at https://www.sheetxl.com/license.
6
+ */
7
+ async function i() {
8
+ try {
9
+ return await import("typescript");
10
+ } catch (i2) {
11
+ throw console.error("Error initializing Node TypeScript module:", i2), i2;
12
+ }
13
+ }
14
+ export {
15
+ i as initialize
16
+ };
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.0
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.2
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.
@@ -8,7 +8,7 @@ import { jsx as t } from "react/jsx-runtime";
8
8
  import { memo as n, useMemo as o, useState as e, useCallback as a } from "react";
9
9
  import { alpha as i, getOverlayAlpha as s } from "@mui/material/styles/index.js";
10
10
  import { Box as l, FormControl as r, TextField as p } from "@mui/material";
11
- import { P as c, a7 as m } from "./index.mjs";
11
+ import { f as c, a7 as m } from "./index.mjs";
12
12
  const u = ["Ok", "Cancel"], d = n((n2) => {
13
13
  const { initialComments: d2 = null, onUpdateComments: g, context: f, onOption: x, onValidateOption: h, onDone: C, options: O = u, defaultOption: y = O?.[0], cancelOption: w = "Cancel", sx: F, ...P } = n2, T = o(() => {
14
14
  const t2 = d2 ?? f?.()?.getComments();
@@ -1,18 +1,12 @@
1
1
  /**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.0
3
- *
4
- * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
- * License: The license can be found at https://www.sheetxl.com/license.
6
- */
7
- import { a2 as e, a as t } from "./index.mjs";
8
- /**
9
- * @license @sheetxl/io - IO - Import/Export Libraries for SheetXL. - v0.3.0
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.2
10
3
  *
11
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
12
5
  * License: The license can be found at https://www.sheetxl.com/license.
13
6
  */
7
+ import { a2 as e, i as t } from "./index.mjs";
14
8
  const n = async (e2, t2) => {
15
- const { trimLeadingBlankRow: n2 = true, trimLeadingBlankColumn: r2 = true, excludeHidden: o = false, sheetKey: s = null, papaParseConfig: a = {} } = t2 || {}, i = await import("./TF4SxbxBSD3Gf9rn.mjs").then((e3) => e3.p);
9
+ const { trimLeadingBlankRow: n2 = true, trimLeadingBlankColumn: r2 = true, excludeHidden: o = false, sheetKey: s = null, papaParseConfig: a = {} } = t2 || {}, i = await import("./CYsd2qqC_WxLTKE1.mjs").then((e3) => e3.p);
16
10
  if (!e2) throw new Error("workbook must be specified");
17
11
  let l = null;
18
12
  if (null === s ? l = e2.getSelectedSheet() : "number" == typeof s ? l = e2.getSheets().search()[s] : "string" == typeof s && (l = e2.getSheets().getByName(s)), !l) throw new Error("invalid sheetKey specified");
@@ -33,7 +27,7 @@ const n = async (e2, t2) => {
33
27
  const f = { ...a }, g = i.unparse(d, f);
34
28
  return new TextEncoder().encode(g);
35
29
  }, r = async (n2, r2) => {
36
- const { papaParseConfig: o, setValuesOptions: s, constructorOptions: a } = r2 ?? {}, i = await import("./TF4SxbxBSD3Gf9rn.mjs").then((e2) => e2.p), l = new TextDecoder().decode(n2);
30
+ const { papaParseConfig: o, setValuesOptions: s, constructorOptions: a } = r2 ?? {}, i = await import("./CYsd2qqC_WxLTKE1.mjs").then((e2) => e2.p), l = new TextDecoder().decode(n2);
37
31
  let c = -1;
38
32
  const d = new e(a), p = d.getSelectedSheet().getEntireRange().startIncrementalUpdates({ orientation: t.Orientation.Row }), u = r2?.onProgress;
39
33
  let f = 0;
@@ -1,11 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.0
3
- *
4
- * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
- * License: The license can be found at https://www.sheetxl.com/license.
6
- */
7
- /**
8
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.3.0
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.2
9
3
  *
10
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
11
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.0
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.2
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.
@@ -8,7 +8,7 @@ import { jsx as e, jsxs as t } from "react/jsx-runtime";
8
8
  import { memo as o, useState as n, useRef as a, useReducer as i, useMemo as l } from "react";
9
9
  import { useMeasure as s } from "react-use";
10
10
  import { DialogContent as r, Box as c } from "@mui/material";
11
- import { at as d, au as g, av as m, P as p, ak as h, NamedInput as u, RangeInput as x, p as f, TableStyleOptionsPanel as y, TableStylePreview as w, Z as b, q as S, t as C, aw as v } from "./index.mjs";
11
+ import { at as d, au as g, av as m, f as p, ak as h, NamedInput as u, RangeInput as f, h as x, TableStyleOptionsPanel as y, TableStylePreview as w, Z as b, q as S, t as C, aw as v } from "./index.mjs";
12
12
  const N = o((o2) => {
13
13
  const { title: N2, onHide: R, autoFocusSel: T = ".range-input input", context: F, notifier: D = d, command: H, commands: B, ...I } = o2, [P, j] = n(false), [z, L] = n(false), O = a(null), [E, A] = i((e2) => e2 + 1, 0), [M, { width: W }] = s();
14
14
  g(H);
@@ -30,9 +30,9 @@ const N = o((o2) => {
30
30
  q && q.getName().toLowerCase() === e2.toLowerCase() || k?.getNames().validateName(e2);
31
31
  }, disabled: q?.isProtected() ?? true, onFocus: (e2) => {
32
32
  z || e2.target?.select(), L(true);
33
- } }), e(x, { formName: "range", value: V, onChangeInput: K, resolvedAddress: k.getNames().getRanges.bind(k.getNames()), disabled: q?.isProtected() ?? true, onFocus: (e2) => {
33
+ } }), e(f, { formName: "range", value: V, onChangeInput: K, resolvedAddress: k.getNames().getRanges.bind(k.getNames()), disabled: q?.isProtected() ?? true, onFocus: (e2) => {
34
34
  z || e2.target?.select(), L(true);
35
- } })] }) }) }), t(c, { sx: { minHeight: "10px", flex: "1 1 100%", display: "flex", flexDirection: "column", gap: (e2) => e2.spacing(0.5), marginTop: (e2) => e2.spacing(1) }, children: [e(f, { orientation: "horizontal", sx: { marginTop: (e2) => e2.spacing(1.5), marginBottom: (e2) => e2.spacing(0.75) } }), e(y, { disabled: q?.isProtected(), styleOptions: q?.getStyleOptions() ?? null, onStyleOptionsChange: (e2) => {
35
+ } })] }) }) }), t(c, { sx: { minHeight: "10px", flex: "1 1 100%", display: "flex", flexDirection: "column", gap: (e2) => e2.spacing(0.5), marginTop: (e2) => e2.spacing(1) }, children: [e(x, { orientation: "horizontal", sx: { marginTop: (e2) => e2.spacing(1.5), marginBottom: (e2) => e2.spacing(0.75) } }), e(y, { disabled: q?.isProtected(), styleOptions: q?.getStyleOptions() ?? null, onStyleOptionsChange: (e2) => {
36
36
  q.updateStyleOptions(e2);
37
37
  }, showHeaderRow: q?.getShowHeaders(), onShowHeaderRowChange: (e2) => {
38
38
  try {
@@ -52,7 +52,7 @@ const N = o((o2) => {
52
52
  } catch (e3) {
53
53
  D.showError(e3);
54
54
  }
55
- } }), e(c, { sx: { display: "flex", alignItems: "center", justifyContent: "center", flexDirection: "column", marginTop: (e2) => e2.spacing(2), marginBottom: (e2) => e2.spacing(1) }, children: e(w, { table: q, styles: k.styles(), bodyStyle: k.bodyStyle(), cellHeight: 30, isLive: true }) }), e(f, { orientation: "horizontal" }), t(c, { sx: { display: "flex", flexDirection: "column", justifyContent: "center" }, children: [e(b, { variant: C.Menuitem, command: B.getCommand("convertTableToRange"), commandState: q, icon: S(e(v, {})) }), e(b, { variant: C.Menuitem, commandState: q, command: B.getCommand("deleteTable"), icon: S(e(v, {})) })] })] })] }), Q] }) });
55
+ } }), e(c, { sx: { display: "flex", alignItems: "center", justifyContent: "center", flexDirection: "column", marginTop: (e2) => e2.spacing(2), marginBottom: (e2) => e2.spacing(1) }, children: e(w, { table: q, styles: k.styles(), bodyStyle: k.bodyStyle(), cellHeight: 30, isLive: true }) }), e(x, { orientation: "horizontal" }), t(c, { sx: { display: "flex", flexDirection: "column", justifyContent: "center" }, children: [e(b, { variant: C.Menuitem, command: B.getCommand("convertTableToRange"), commandState: q, icon: S(e(v, {})) }), e(b, { variant: C.Menuitem, commandState: q, command: B.getCommand("deleteTable"), icon: S(e(v, {})) })] })] })] }), Q] }) });
56
56
  });
57
57
  export {
58
58
  N as TableDetailsWindow,
@@ -1,38 +1,38 @@
1
1
  /**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.0
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.2
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
6
  */
7
- import { jsx as e, jsxs as t } from "react/jsx-runtime";
8
- import { memo as a, useMemo as n, useState as l, useCallback as o } from "react";
7
+ import { jsx as e, jsxs as a } from "react/jsx-runtime";
8
+ import { memo as t, useMemo as n, useState as l, useCallback as o } from "react";
9
9
  import { Box as i } from "@mui/material";
10
- import { P as r, a7 as s, NamedInput as d, RangeInput as p } from "./index.mjs";
11
- const u = ["Ok", "Cancel"], c = a((a2) => {
12
- const { value: c2 = null, context: m, onOption: g, onValidateOption: x, onDone: f, onUpdate: N, options: y = u, defaultOption: T = y?.[0], cancelOption: O = "Cancel", sx: V, ...h } = a2, v = n(() => m?.getNames().findValidName("Range1"), []), C = n(() => {
10
+ import { f as r, a7 as s, NamedInput as d, RangeInput as p } from "./index.mjs";
11
+ const u = ["Ok", "Cancel"], c = t((t2) => {
12
+ const { value: c2 = null, context: m, onOption: g, onValidateOption: x, onDone: f, onUpdate: N, options: y = u, defaultOption: T = y?.[0], cancelOption: O = "Cancel", sx: V, ...h } = t2, v = n(() => m?.getNames().findValidName("Range1"), []), C = n(() => {
13
13
  if (!c2) return true;
14
- }, []), [R, w] = l({ displayText: c2?.getName() ?? v, errorText: null }), [F, D] = l({ displayValue: c2?.getRanges() ?? m?.selection() ?? null, errorText: null }), [I, j] = l(false), B = o(async (e2) => !R.errorText && !F.errorText, [m]), E = r((e2, t2, a3) => {
15
- if (!t2) {
14
+ }, []), [R, w] = l({ displayText: c2?.getName() ?? v, errorText: null }), [F, D] = l({ displayValue: c2?.getRanges() ?? m?.selection() ?? null, errorText: null }), [I, j] = l(false), B = o(async (e2) => !R.errorText && !F.errorText, [m]), E = r((e2, a2, t3) => {
15
+ if (!a2) {
16
16
  let e3 = null;
17
17
  C ? e3 = m?.getNames().addReference(R?.displayText, F?.displayValue, false) : ("reference" === c2.getType() && c2.doBatch(() => {
18
18
  c2.setName(R?.displayText), c2.setReference(F?.displayValue);
19
19
  }, `Edit Named '${R?.displayText}'`), e3 = c2), e3 && (e3.select(), N(e3, C));
20
20
  }
21
- g?.(e2, t2, a3), f?.();
21
+ g?.(e2, a2, t3), f?.();
22
22
  }, [m, R, F, f, g, T, O, N]), L = r((e2) => {
23
- let t2 = null;
23
+ let a2 = null;
24
24
  try {
25
25
  m?.getNames().validateName(e2);
26
26
  } catch (e3) {
27
- t2 = e3.message;
27
+ a2 = e3.message;
28
28
  }
29
- w({ displayText: e2, errorText: t2 });
29
+ w({ displayText: e2, errorText: a2 });
30
30
  }, []), b = r((e2) => {
31
31
  c2 && c2.getName().toLowerCase() === e2.toLowerCase() || m?.getNames().validateName(e2);
32
32
  }, [m, c2]), k = o((e2) => {
33
33
  D({ displayValue: e2 ?? null, errorText: null });
34
34
  }, []);
35
- return e(s, { title: (C ? "Define" : "Edit") + " Range", options: y, onOption: E, onValidateOption: B, defaultOption: T, cancelOption: O, autoFocusSel: ".autoFocus", sx: { width: "460px", ...V }, ...h, children: t(i, { sx: { paddingTop: (e2) => e2.spacing(1), paddingBottom: (e2) => e2.spacing(0), rowGap: (e2) => e2.spacing(1), range: "flex", flexDirection: "column" }, children: [e(d, { formName: "name", defaultInput: v, value: R.displayText, onChangeInput: L, onValidate: b, onFocus: (e2) => {
35
+ return e(s, { title: (C ? "Define" : "Edit") + " Range", options: y, onOption: E, onValidateOption: B, defaultOption: T, cancelOption: O, autoFocusSel: ".autoFocus", sx: { width: "460px", ...V }, ...h, children: a(i, { sx: { paddingTop: (e2) => e2.spacing(1), paddingBottom: (e2) => e2.spacing(0), rowGap: (e2) => e2.spacing(1), range: "flex", flexDirection: "column" }, children: [e(d, { formName: "name", defaultInput: v, value: R.displayText, onChangeInput: L, onValidate: b, onFocus: (e2) => {
36
36
  I || e2.target?.select(), j(true);
37
37
  } }), e(p, { formName: "range", value: F.displayValue, onChangeInput: k, resolvedAddress: m.getNames().getRanges.bind(m.getNames()), onFocus: (e2) => {
38
38
  I || e2.target?.select(), j(true);
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.0
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.2
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,11 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.0
3
- *
4
- * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
- * License: The license can be found at https://www.sheetxl.com/license.
6
- */
7
- /**
8
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.3.0
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.2
9
3
  *
10
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
11
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,17 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.0
3
- *
4
- * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
- * License: The license can be found at https://www.sheetxl.com/license.
6
- */
7
- /**
8
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.3.0
9
- *
10
- * (C) 2025-present SheetXL Inc. & Michael T. Ford
11
- * License: The license can be found at https://www.sheetxl.com/license.
12
- */
13
- /**
14
- * @license @sheetxl/scripting - Scripting - Scripting engine for Macros and formulas; includes TypeScript and EsBuild. - v0.3.0
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.2
15
3
  *
16
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
17
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -22,7 +10,7 @@ class r {
22
10
  }
23
11
  async getWorkerWrapper() {
24
12
  if (this.workerWrapper) return this.workerWrapper;
25
- const { createCompilerWorker: r2 } = await import("./BOSoESJcI0P9vUHU.mjs");
13
+ const { createCompilerWorker: r2 } = await import("./D5uKz7a9v8FUVx0k.mjs");
26
14
  return this.workerWrapper = await r2(), this.workerWrapper;
27
15
  }
28
16
  async compileModule(r2) {
@@ -1,11 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.0
3
- *
4
- * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
- * License: The license can be found at https://www.sheetxl.com/license.
6
- */
7
- /**
8
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.3.0
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.2
9
3
  *
10
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
11
5
  * License: The license can be found at https://www.sheetxl.com/license.