@sheetxl/studio-vanilla 0.6.6 → 0.6.8

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 (201) hide show
  1. package/browser/cjs/{Df9MYHn7aVLA7abz.cjs → 1zYdog8qXa0d3Zdc.cjs} +2 -2
  2. package/browser/cjs/{DHES3VrZvl0CSf2G.cjs → 5_QZ1jv3PiD5sQxs.cjs} +1 -1
  3. package/browser/cjs/Azt9pXhby3025iCa.cjs +145 -0
  4. package/browser/cjs/B0-sKcMvqrTCj1W0.cjs +14 -0
  5. package/browser/cjs/B5aj3COvUYYL2V3Q.cjs +7 -0
  6. package/browser/cjs/{CF0dYrnCZLK0SIwW.cjs → B80HjTD4cFfmCnbb.cjs} +1 -1
  7. package/browser/cjs/BJEfsjAXKDcrhCQ1.cjs +42 -0
  8. package/browser/cjs/{UdSif7-6u2CCyoCF.cjs → BJip2JeUgdm1gdEL.cjs} +2 -2
  9. package/browser/cjs/{BvtpgA7Hgaq6ZV2H.cjs → BLY_1e95Filufqdx.cjs} +1 -1
  10. package/browser/cjs/{B60hIOo5qZUt-0c9.cjs → BNWAnfdoqNPbNsGN.cjs} +1 -1
  11. package/browser/cjs/{CKIX0AfAnOnjimpb.cjs → BQbFU2OmhsMDUeqi.cjs} +1 -1
  12. package/browser/cjs/{DplqlJ7HcglmlTGS.cjs → BR-bSvOGgb_GRmWp.cjs} +5 -5
  13. package/browser/cjs/BS1q87OHwPqSJ1bl.cjs +7 -0
  14. package/browser/cjs/BVhF4DreVQaqr1Gj.cjs +6 -0
  15. package/browser/cjs/{C6aDurA3QFvuwi2s.cjs → BW_Jv9IkXsEgEpC8.cjs} +1 -1
  16. package/browser/cjs/{CeZwZsfBSeNFzBRj.cjs → BZ2ahkzYDIM5YgtO.cjs} +1 -1
  17. package/browser/cjs/{BeOlGuqc3a-VytP2.cjs → BcgrclzWuOKXTHdW.cjs} +1 -1
  18. package/browser/cjs/{C3rAuKXyv3IAMarI.cjs → Bhg-cGfpgpU0fxHZ.cjs} +1 -1
  19. package/browser/cjs/BkVA7E2W2aT2A0CB.cjs +6 -0
  20. package/browser/cjs/Bspms_gh_2sn50Nl.cjs +6 -0
  21. package/browser/cjs/C0D7ZCiR6iJJHxzs.cjs +15 -0
  22. package/browser/cjs/{qJWlVkguMbHKZo4U.cjs → CBOL7W2cOBVRfxmn.cjs} +2 -2
  23. package/browser/cjs/{Ce5kMQ7KyLM0FD-L.cjs → CCS2mlgdmPO-joBi.cjs} +1 -1
  24. package/browser/cjs/{DdMY09pvx5ru0U1Q.cjs → CM391fD-pdPsdeyi.cjs} +1 -1
  25. package/browser/cjs/{B1jgIjvlVNA8GFNW.cjs → CSzrFvyvVQPaY4q5.cjs} +3 -3
  26. package/browser/cjs/{DbatomO6r9W0NwNu.cjs → CTshgy8ZuonQcmqq.cjs} +12 -12
  27. package/browser/cjs/CVtM8GpTGttpr3f9.cjs +16 -0
  28. package/browser/cjs/{C_lS_SrpK8RvrliQ.cjs → Cam3olL5eRcwBeeS.cjs} +1 -1
  29. package/browser/cjs/{CPs17M3Xf7TIphbH.cjs → CdXgLoA0hWxBaURc.cjs} +1 -1
  30. package/browser/cjs/{DSF8l2QqwXpTN4Ja.cjs → ChDi349DWzrLqyun.cjs} +1 -1
  31. package/browser/cjs/{DoJVL2XhmzNjb-lR.cjs → Cr-2DxqUfd4v88zv.cjs} +2 -2
  32. package/browser/cjs/{BFiaTsn72ZQNY4wG.cjs → CrG2J1KvKc3HbFIE.cjs} +1 -1
  33. package/browser/cjs/{C0Lkr_--Cxs31BDb.cjs → Cv5o17EIMATMsr8f.cjs} +1 -1
  34. package/browser/cjs/D1Dhs73i8o7-FIaD.cjs +124 -0
  35. package/browser/cjs/{Bz6JSFIxWIFlSIbO.cjs → D2-xpdWkFbALY_WU.cjs} +1 -1
  36. package/browser/cjs/D6yiFf4TJuOHHtoH.cjs +11 -0
  37. package/browser/cjs/DBDrj3h1JjZiBMa8.cjs +330 -0
  38. package/browser/cjs/{BtpdtK6X5kYFON_1.cjs → DDF8KFL-nEus-QvN.cjs} +2 -2
  39. package/browser/cjs/DEam2iCvaj-ZR4eh.cjs +161 -0
  40. package/browser/cjs/DHrnzkL6IERuxmDn.cjs +19 -0
  41. package/browser/cjs/{CXie1KeQLXlWtuFB.cjs → DJYMM1LyunTuaOWP.cjs} +2 -2
  42. package/browser/cjs/{JMbMtOhA1iNAqg9M.cjs → DL3VLsJ8itUm-LtW.cjs} +2 -2
  43. package/browser/cjs/DSFfSwhlEclK1Aek.cjs +15 -0
  44. package/browser/cjs/{B3J8lwJ5LijhN3tn.cjs → DTwJWL_cSMyZaCZB.cjs} +1 -1
  45. package/browser/cjs/{DE4vWhD9gh5TzYDS.cjs → DUbLz1o9lnw1uq6d.cjs} +2 -2
  46. package/browser/cjs/DZbUYla0CQiotIo8.cjs +12 -0
  47. package/browser/cjs/{-e-e6x4DydOkgfVc.cjs → Dcvu8L24Gcr1GP7k.cjs} +1 -1
  48. package/browser/cjs/{BtFsTB7tByGgTFTS.cjs → DpVPRWncWDgBgvNO.cjs} +1 -1
  49. package/browser/cjs/{BRbmq4oKdNRRdQVw.cjs → HOyt4hU__hZ2hm-F.cjs} +1 -1
  50. package/browser/cjs/{BnSv5t6KM-F6UjnT.cjs → I-kfNDgV4THfRo0T.cjs} +2 -2
  51. package/browser/cjs/{OLabgsQBwtaTK0W0.cjs → Lhmlr-QUTOPxgg5P.cjs} +2 -2
  52. package/browser/cjs/{dpPMu9SnEmkjFxLS.cjs → Y9nO45RPuXfLWm-6.cjs} +1 -1
  53. package/browser/cjs/{BkSrJaacn3OYpKiI.cjs → YUHgcBbx-ZbhOCcQ.cjs} +1 -1
  54. package/browser/cjs/{B_tAQ6NjYmRgJfjr.cjs → ZW13KkvmrVnYw0cE.cjs} +2 -2
  55. package/browser/cjs/{Dlx1FHAfZ8BCXAv-.cjs → _t4CF2UsxpAVqRut.cjs} +1 -1
  56. package/browser/cjs/{B4IvAxHfbs1PhNrl.cjs → fjQPZtynU3mYH_0D.cjs} +1 -1
  57. package/browser/cjs/index.cjs +2 -2
  58. package/browser/cjs/{B19XDmw3OEi3gSNn.cjs → pMhwMbeyP1bo-wZQ.cjs} +5 -5
  59. package/{cdn/assets/BQl8_GephJT1zJkF.js → browser/esm/-Fcql0_Npsn0DVrs.mjs} +1 -1
  60. package/browser/esm/{DyIyAX_MrOKaiauf.mjs → 48uygBhar8DWCCsM.mjs} +8 -8
  61. package/browser/esm/{BbI24vIIyg7QnIWY.mjs → 9i4b4c1pcNwZX0fZ.mjs} +2 -2
  62. package/browser/esm/{DqpL0PUcHc2yhukz.mjs → B4IK82We7Da4E9tg.mjs} +1 -1
  63. package/{cdn/assets/BpJyUoZ7qbXZNfEv.js → browser/esm/B9_eUXADGd0bdNnR.mjs} +1 -1
  64. package/{cdn/assets/CTgBHefewD51JTeI.js → browser/esm/BEtJFqOU9nC8A2sK.mjs} +1 -1
  65. package/browser/esm/{D_Da-BJ5yYKKDQ4f.mjs → BGVVoj6X9Y8m2D0b.mjs} +5 -5
  66. package/browser/esm/{B1YdsvFxgY3cBuvU.mjs → BHoeS0PxSxTAsV0B.mjs} +5 -5
  67. package/browser/esm/{C2oRTm-hB0wbzQzF.mjs → BPOla9qtBml8E1x4.mjs} +12 -12
  68. package/browser/esm/{BHMr0Avspy2bTfaW.mjs → BWerNcQbiUVSjebb.mjs} +9 -9
  69. package/browser/esm/{C7ota-WuLdqFs7uL.mjs → BX8ow8XUirJwRShD.mjs} +1 -1
  70. package/browser/esm/{29gCxd6vbI5VRTfn.mjs → BZWo5ZhsPD6G2LJE.mjs} +168 -168
  71. package/browser/esm/{BEJRY0y2fQ4GPPtE.mjs → BcuoVEbkuLMuOgsN.mjs} +38 -38
  72. package/browser/esm/{l3bAiTRrp-5sxROq.mjs → BdBXQZZ2JQ6jdQE4.mjs} +1 -1
  73. package/browser/esm/{i-cDcFJjQOjsCvkc.mjs → Be5jXSvhb1Rf2PRM.mjs} +6 -6
  74. package/browser/esm/{DwxBIXOwBXJ0OfuA.mjs → Bg9vU4HVvcZc03_t.mjs} +87 -87
  75. package/browser/esm/{DPIItzNnxMbq2VfI.mjs → Bn4R4Q0WOoJIwlPq.mjs} +14 -14
  76. package/browser/esm/{BDwfJYYjLxGxBbfd.mjs → BoyMLYw3HQEO6sYS.mjs} +16 -16
  77. package/{cdn/assets/CJkiM4g8IYjNDixD.js → browser/esm/BsmwLgpQeALH-w3s.mjs} +1 -1
  78. package/browser/esm/{DtVOzXc0D5P_N9Tm.mjs → C3yp0gvuwSBeMV3U.mjs} +8 -8
  79. package/browser/esm/{CWYXCDadrTpz_-C_.mjs → C64Rlw6Y3dk5JexR.mjs} +1758 -1713
  80. package/{cdn/assets/C01DVMkA79lIKwia.js → browser/esm/CBd8lwquhiczBXjG.mjs} +160 -160
  81. package/browser/esm/{XG8H8R2jYaQEG5vJ.mjs → CHKvrfyPQNt8UR-h.mjs} +1 -1
  82. package/browser/esm/{cRhgWaTuF5ulsTUo.mjs → CO7H2CBFpfe07A6E.mjs} +4 -4
  83. package/browser/esm/{PL8e8GY7OsUL26sU.mjs → CPad23NHuChutDpk.mjs} +1 -1
  84. package/browser/esm/{DTrC3bkaQd-PALtG.mjs → CQ-H3xs7a6NEfMIg.mjs} +1 -1
  85. package/browser/esm/{CZ7Use237ej2QPOK.mjs → CXuVB3sMtM2YgwPI.mjs} +16 -16
  86. package/{cdn/assets/BbFWsuy2TOFb7L6V.js → browser/esm/Cb00heGGHcib78wa.mjs} +357 -356
  87. package/browser/esm/{BgxNRZhNxwSVMObt.mjs → Cgx9V9Ke-kC8Yy-1.mjs} +586 -586
  88. package/browser/esm/{BkguhAeEvTcTVZN3.mjs → CiEdwCdT3eUx6KGp.mjs} +10 -10
  89. package/{cdn/assets/DqY233UP8cctSm77.js → browser/esm/ClLRC3MXwTwtpv_j.mjs} +1 -1
  90. package/browser/esm/{DqHHGbrzfGptVwKT.mjs → ClRxC7LWi49sEr88.mjs} +1 -1
  91. package/browser/esm/{BIU3HZSh3eHX5SVx.mjs → CqBxL3mNjb9IT3GC.mjs} +6 -6
  92. package/browser/esm/{BmQ1SS-asI9ita-i.mjs → Csod6y1vhBdmnq4n.mjs} +193 -193
  93. package/{cdn/assets/Bn4AQ04vq7zHnoL_.js → browser/esm/CuN4rLR5waiMIcqA.mjs} +1 -1
  94. package/{cdn/assets/nXa-TVOMsrXxtuc9.js → browser/esm/D662kkUP_xTgNXkI.mjs} +1 -1
  95. package/browser/esm/{NQYuQ6Fwe1hZ8G7q.mjs → DCheUmm1dBVJ-DWK.mjs} +60 -60
  96. package/browser/esm/{CC7AU2fXo3KfvWsR.mjs → DF2oP1VjAoMMifdb.mjs} +1 -1
  97. package/{cdn/assets/BZmUvqJx-yz1aU-5.js → browser/esm/DKvdjpR0ncopbmoF.mjs} +1 -1
  98. package/{cdn/assets/0w-BNQGPkDhzl4XV.js → browser/esm/D_MtO6kKW24xV-W0.mjs} +1 -1
  99. package/browser/esm/{BJ7Roh6BEZyEYCBf.mjs → DkU5Kch1MCzwPD9a.mjs} +1 -1
  100. package/browser/esm/{fRJbgbZ_fawDpe4Y.mjs → Dki5OG4IbBdpA0yV.mjs} +17 -17
  101. package/browser/esm/{BLoVxuMcliAyTYvm.mjs → Dkoxlchz_jG7-WiW.mjs} +1 -1
  102. package/browser/esm/{BPpmr49quCMrgcX0.mjs → DlA0Kal3tG1wqZ59.mjs} +1 -1
  103. package/browser/esm/{BnusHharCufsqHcK.mjs → Doz0JVsEWJcEBipq.mjs} +8 -8
  104. package/{cdn/assets/BFrPcKvgjQjcu9eN.js → browser/esm/DsRTdsIsu1TzwLNZ.mjs} +1 -1
  105. package/browser/esm/{5FUp9qfD2-cbJjYw.mjs → DuaF3ylbXGFvZSIS.mjs} +1 -1
  106. package/browser/esm/{Df2NuZU9juUIKwg8.mjs → Dxev2aiMIU8WjdUC.mjs} +7 -7
  107. package/{cdn/assets/Buboguw3B4iA6kZz.js → browser/esm/F0wAsfl9Ji5ebBCs.mjs} +75 -82
  108. package/browser/esm/{DWr4xYPlaw8j1mv4.mjs → IF0rBHM9lIcdub12.mjs} +8 -8
  109. package/{cdn/assets/ClOj__E12OzLFjTs.js → browser/esm/M4lhucsN_zAaGwFD.mjs} +1 -1
  110. package/{cdn/assets/iEQmmn4nEfkZiIn_.js → browser/esm/Peb2xy79-OyfnYRG.mjs} +1 -1
  111. package/browser/esm/{EN4tauuENSQlsREt.mjs → R43eSIVhCZoqF7wj.mjs} +15324 -15207
  112. package/browser/esm/{Bv8yISQhT9pU00bI.mjs → YV7wbRU5yPGUrR_v.mjs} +10 -10
  113. package/{cdn/assets/67jatfS90fzwU27R.js → browser/esm/f2UZMVRMnRaCubeO.mjs} +17 -17
  114. package/browser/esm/index.mjs +2 -2
  115. package/browser/esm/{BSwvcpIMVfqXj73i.mjs → ux2kqLYHyHURPhVT.mjs} +1 -1
  116. package/browser/esm/{PK_vF_J7qweQDmnh.mjs → wsm5tvwmcmfL7rhP.mjs} +4 -4
  117. package/{browser/esm/BQl8_GephJT1zJkF.mjs → cdn/assets/-Fcql0_Npsn0DVrs.js} +1 -1
  118. package/cdn/assets/{CZq9aU6b4OMjD4So.js → B2cdxnKnNszJMC4H.js} +10 -10
  119. package/cdn/assets/{BDYXl0I19foxo18Q.js → B2yfFuEr6giDTnKh.js} +3 -3
  120. package/cdn/assets/{DqpL0PUcHc2yhukz.js → B4IK82We7Da4E9tg.js} +1 -1
  121. package/cdn/assets/{B-vmqKXIqM4BtjB0.js → B969C0F_SSsr8Zc5.js} +4 -4
  122. package/{browser/esm/BpJyUoZ7qbXZNfEv.mjs → cdn/assets/B9_eUXADGd0bdNnR.js} +1 -1
  123. package/{browser/esm/CTgBHefewD51JTeI.mjs → cdn/assets/BEtJFqOU9nC8A2sK.js} +1 -1
  124. package/cdn/assets/{C7ota-WuLdqFs7uL.js → BX8ow8XUirJwRShD.js} +1 -1
  125. package/cdn/assets/{VSTVSUa9PQF0q0El.js → BYHIkmh97LsBnG1S.js} +4 -4
  126. package/cdn/assets/{CwNV1YGbYAb8Uj2X.js → B_xb7j5m4CnNhL56.js} +13 -13
  127. package/cdn/assets/{BEJRY0y2fQ4GPPtE.js → BcuoVEbkuLMuOgsN.js} +38 -38
  128. package/cdn/assets/{l3bAiTRrp-5sxROq.js → BdBXQZZ2JQ6jdQE4.js} +1 -1
  129. package/cdn/assets/{BgeMTXAZBFP6Lm1K.js → Bp8Toqq2o-amIzTP.js} +53 -53
  130. package/{browser/esm/CJkiM4g8IYjNDixD.mjs → cdn/assets/BsmwLgpQeALH-w3s.js} +1 -1
  131. package/cdn/assets/{Bt9u_FUrrLFhsXQD.js → Bz9Wj39Z8h20d1lf.js} +1758 -1713
  132. package/cdn/assets/{BlI6YZ6neVjkkQx2.js → C1oRqKDe0_vss7cM.js} +195 -195
  133. package/cdn/assets/{CMro8-BzdQ70fPcS.js → C4DdXn1P3Zn6Bzj4.js} +13 -13
  134. package/cdn/assets/{C9OEMeyLi2PcGoM_.js → C6SGlMEc9kv06D7t.js} +8 -8
  135. package/cdn/assets/{3UI-_5R_kCNSpf11.js → C9eSV0WW9BsKm3qs.js} +12 -12
  136. package/cdn/assets/CBidCVRwieqhT02B.js +22 -0
  137. package/cdn/assets/{XG8H8R2jYaQEG5vJ.js → CHKvrfyPQNt8UR-h.js} +1 -1
  138. package/cdn/assets/{BjiRKxp3WuyUvzaK.js → CLLBiXnZaFLK9qAJ.js} +26 -26
  139. package/cdn/assets/{C9RXOT83ZaDxZypr.js → COL1hzit7RTYn1H8.js} +16 -16
  140. package/cdn/assets/{PL8e8GY7OsUL26sU.js → CPad23NHuChutDpk.js} +1 -1
  141. package/cdn/assets/{DTrC3bkaQd-PALtG.js → CQ-H3xs7a6NEfMIg.js} +1 -1
  142. package/cdn/assets/{_VkCiSR35Ycf4qMs.js → CUQaEYkN7_byzfC3.js} +17 -17
  143. package/{browser/esm/BbFWsuy2TOFb7L6V.mjs → cdn/assets/Cb00heGGHcib78wa.js} +357 -356
  144. package/{browser/esm/C7KXRC3vXznZQMjB.mjs → cdn/assets/CcLzQyk7hV5jHQuF.js} +160 -160
  145. package/cdn/assets/{BgxNRZhNxwSVMObt.js → Cgx9V9Ke-kC8Yy-1.js} +586 -586
  146. package/{browser/esm/DqY233UP8cctSm77.mjs → cdn/assets/ClLRC3MXwTwtpv_j.js} +1 -1
  147. package/cdn/assets/{DqHHGbrzfGptVwKT.js → ClRxC7LWi49sEr88.js} +1 -1
  148. package/cdn/assets/{DDebECDOqTJ8ep5A.js → CpV4Dryu4t4_XGaX.js} +14382 -14265
  149. package/{browser/esm/Bn4AQ04vq7zHnoL_.mjs → cdn/assets/CuN4rLR5waiMIcqA.js} +1 -1
  150. package/cdn/assets/{_kc0UHqioVnr5VaW.js → CwOGnVKqDao9B4aC.js} +17 -17
  151. package/{browser/esm/nXa-TVOMsrXxtuc9.mjs → cdn/assets/D662kkUP_xTgNXkI.js} +1 -1
  152. package/cdn/assets/{pQH8gesojID3Qjpt.js → D7KLwOZJsB8qva99.js} +168 -168
  153. package/cdn/assets/{CC7AU2fXo3KfvWsR.js → DF2oP1VjAoMMifdb.js} +1 -1
  154. package/{browser/esm/BZmUvqJx-yz1aU-5.mjs → cdn/assets/DKvdjpR0ncopbmoF.js} +1 -1
  155. package/cdn/assets/{CR_vqV_czKiKF4fw.js → DLPL0BN1jCagoeeF.js} +1 -1
  156. package/cdn/assets/{DJ5kSGtcg1tDP5HP.js → DRxLV4wDTgL3S7DO.js} +13 -13
  157. package/cdn/assets/{CjpVzFKvzpgazG0_.js → DYn_QqqM3OWy0JdS.js} +4 -4
  158. package/cdn/assets/{BJVeRrxdO-nBr5NZ.js → DYyFtelhventSzEM.js} +2 -2
  159. package/{browser/esm/0w-BNQGPkDhzl4XV.mjs → cdn/assets/D_MtO6kKW24xV-W0.js} +1 -1
  160. package/cdn/assets/{CoHkOJBYGnv7nVtH.js → Dbwc59ZDNvfOHi8j.js} +9 -9
  161. package/cdn/assets/{D6rXwkO_1Ii6alNc.js → DkFCQCOf6-Qxqc5d.js} +10 -10
  162. package/cdn/assets/{BJ7Roh6BEZyEYCBf.js → DkU5Kch1MCzwPD9a.js} +1 -1
  163. package/cdn/assets/{BLoVxuMcliAyTYvm.js → Dkoxlchz_jG7-WiW.js} +1 -1
  164. package/cdn/assets/{BPpmr49quCMrgcX0.js → DlA0Kal3tG1wqZ59.js} +1 -1
  165. package/cdn/assets/{C4K-H3IXpWDSbdYQ.js → Dr8ZNvb4SNA45-gg.js} +12 -12
  166. package/cdn/assets/{CVdAYNj8GYvhnIO9.js → DrzicXpG2v4dQ2Ho.js} +8 -8
  167. package/{browser/esm/BFrPcKvgjQjcu9eN.mjs → cdn/assets/DsRTdsIsu1TzwLNZ.js} +1 -1
  168. package/cdn/assets/{Cr_OegqF4_kCciKy.js → DuWmjtPMudGm_ylm.js} +35 -35
  169. package/cdn/assets/{5FUp9qfD2-cbJjYw.js → DuaF3ylbXGFvZSIS.js} +1 -1
  170. package/cdn/assets/{DBZHLc-qxHxMEvda.js → DyUGLrGeH6x2QfAr.js} +7 -7
  171. package/{browser/esm/Buboguw3B4iA6kZz.mjs → cdn/assets/F0wAsfl9Ji5ebBCs.js} +75 -82
  172. package/cdn/assets/{Bkevg67QC8R5eRdN.js → FG_5iagC6tIY_EKf.js} +5 -5
  173. package/{browser/esm/ClOj__E12OzLFjTs.mjs → cdn/assets/M4lhucsN_zAaGwFD.js} +1 -1
  174. package/cdn/assets/{BxZmciTi6VGgkute.js → NmBw2555wKBuiEyk.js} +112 -112
  175. package/{browser/esm/iEQmmn4nEfkZiIn_.mjs → cdn/assets/Peb2xy79-OyfnYRG.js} +1 -1
  176. package/{browser/esm/67jatfS90fzwU27R.mjs → cdn/assets/f2UZMVRMnRaCubeO.js} +17 -17
  177. package/cdn/assets/{Bws93VgZItsFgUk3.js → fvfDZivW0cwsOaKE.js} +2 -2
  178. package/cdn/assets/{BGgSpq92Z9F-Ntye.js → riGQb700XY8gmi1f.js} +3 -3
  179. package/cdn/assets/{BSwvcpIMVfqXj73i.js → ux2kqLYHyHURPhVT.js} +1 -1
  180. package/cdn/assets/{PK_vF_J7qweQDmnh.js → wsm5tvwmcmfL7rhP.js} +4 -4
  181. package/cdn/index.js +2 -2
  182. package/cdn/loader.js +1 -1
  183. package/package.json +3 -3
  184. package/browser/cjs/0Y5TF7N-_tzvHQVc.cjs +0 -124
  185. package/browser/cjs/6wuTyFc2OkEg0YDy.cjs +0 -7
  186. package/browser/cjs/B9eXjWPqyv2f2Vlb.cjs +0 -19
  187. package/browser/cjs/BDk6w5arhq-Is61b.cjs +0 -12
  188. package/browser/cjs/BGzSwhO2H5T4phR5.cjs +0 -161
  189. package/browser/cjs/BJ1WplGSHjaVniJ2.cjs +0 -11
  190. package/browser/cjs/BWJjG9lChn_biRWK.cjs +0 -16
  191. package/browser/cjs/BynqqUXsUJ6HXiZn.cjs +0 -145
  192. package/browser/cjs/CUZ2Y1rgKje31rmq.cjs +0 -15
  193. package/browser/cjs/D-jAZv3G7PXDD1Cl.cjs +0 -330
  194. package/browser/cjs/DEKywAPnit6nelii.cjs +0 -7
  195. package/browser/cjs/DMVOPwwm1q8F1Fmb.cjs +0 -6
  196. package/browser/cjs/DUnBXgtPLOvtvcMm.cjs +0 -15
  197. package/browser/cjs/DmtRLRLitcmFXNBb.cjs +0 -6
  198. package/browser/cjs/Hboq9CzOQN_f83xm.cjs +0 -42
  199. package/browser/cjs/gAS-cGAMFNh1L6Q8.cjs +0 -14
  200. package/browser/cjs/zZBeoLrH03ilFGbk.cjs +0 -6
  201. package/cdn/assets/BeIJny9YSrpatFa_.js +0 -22
@@ -1,16 +1,16 @@
1
- import { a as r } from "./B-vmqKXIqM4BtjB0.js";
2
- import { r as n } from "./BDYXl0I19foxo18Q.js";
3
- import { f as p, g as b, B as k, a7 as B, a8 as I } from "./DDebECDOqTJ8ep5A.js";
1
+ import { a as r } from "./B969C0F_SSsr8Zc5.js";
2
+ import { r as n } from "./B2yfFuEr6giDTnKh.js";
3
+ import { T as p, k as S, B as b, a7 as B, a8 as I } from "./CpV4Dryu4t4_XGaX.js";
4
4
  /**
5
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.6
5
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.8
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 E = ["Ok", "Cancel"], U = n.memo((V) => {
11
- const { value: a = null, context: t, onOption: c, onValidateOption: L, onDone: m, onUpdate: g, options: x = E, defaultOption: f = x?.[0], cancelOption: N = "Cancel", sx: C, ...h } = V, y = n.useMemo(() => t?.getNames().findValidName("Range1"), []), d = n.useMemo(() => {
11
+ const { value: a = null, context: t, onOption: c, onValidateOption: L, onDone: m, onUpdate: g, options: x = E, defaultOption: f = x?.[0], cancelOption: N = "Cancel", sx: C, ...h } = V, T = n.useMemo(() => t?.getNames().findValidName("Range1"), []), d = n.useMemo(() => {
12
12
  if (!a) return !0;
13
- }, []), [l, R] = n.useState({ displayText: a?.getName() ?? y, errorText: null }), [s, v] = n.useState({ displayValue: a?.getRanges() ?? t?.selection() ?? null, errorText: null }), [T, O] = n.useState(!1), j = n.useCallback(async (e) => !l.errorText && !s.errorText, [t]), w = p((e, o, u) => {
13
+ }, []), [l, R] = n.useState({ displayText: a?.getName() ?? T, errorText: null }), [s, v] = n.useState({ displayValue: a?.getRanges() ?? t?.selection() ?? null, errorText: null }), [y, O] = n.useState(!1), j = n.useCallback(async (e) => !l.errorText && !s.errorText, [t]), k = p((e, o, u) => {
14
14
  if (!o) {
15
15
  let i = null;
16
16
  d ? i = t?.getNames().addReference(l?.displayText, s?.displayValue, !1) : (a.getType() === "reference" && a.doBatch(() => {
@@ -18,7 +18,7 @@ const E = ["Ok", "Cancel"], U = n.memo((V) => {
18
18
  }, `Edit Named '${l?.displayText}'`), i = a), i && (i.select(), g(i, d));
19
19
  }
20
20
  c?.(e, o, u), m?.();
21
- }, [t, l, s, m, c, f, N, g]), D = p((e) => {
21
+ }, [t, l, s, m, c, f, N, g]), w = p((e) => {
22
22
  let o = null;
23
23
  try {
24
24
  t?.getNames().validateName(e);
@@ -26,15 +26,15 @@ const E = ["Ok", "Cancel"], U = n.memo((V) => {
26
26
  o = u.message;
27
27
  }
28
28
  R({ displayText: e, errorText: o });
29
- }, []), F = p((e) => {
29
+ }, []), D = p((e) => {
30
30
  a && a.getName().toLowerCase() === e.toLowerCase() || t?.getNames().validateName(e);
31
- }, [t, a]), S = n.useCallback((e) => {
31
+ }, [t, a]), F = n.useCallback((e) => {
32
32
  v({ displayValue: e ?? null, errorText: null });
33
33
  }, []);
34
- return r.jsx(b, { title: (d ? "Define" : "Edit") + " Range", options: x, onOption: w, onValidateOption: j, defaultOption: f, cancelOption: N, autoFocusSel: ".autoFocus", sx: { width: "460px", ...C }, ...h, children: r.jsxs(k, { sx: { paddingTop: (e) => e.spacing(1), paddingBottom: (e) => e.spacing(0), rowGap: (e) => e.spacing(1), range: "flex", flexDirection: "column" }, children: [r.jsx(B, { formName: "name", defaultInput: y, value: l.displayText, onChangeInput: D, onValidate: F, onFocus: (e) => {
35
- T || e.target?.select(), O(!0);
36
- } }), r.jsx(I, { formName: "range", value: s.displayValue, onChangeInput: S, resolvedAddress: t.getNames().getRanges.bind(t.getNames()), onFocus: (e) => {
37
- T || e.target?.select(), O(!0);
34
+ return r.jsx(S, { title: (d ? "Define" : "Edit") + " Range", options: x, onOption: k, onValidateOption: j, defaultOption: f, cancelOption: N, autoFocusSel: ".autoFocus", sx: { width: "460px", ...C }, ...h, children: r.jsxs(b, { sx: { paddingTop: (e) => e.spacing(1), paddingBottom: (e) => e.spacing(0), rowGap: (e) => e.spacing(1), range: "flex", flexDirection: "column" }, children: [r.jsx(B, { formName: "name", defaultInput: T, value: l.displayText, onChangeInput: w, onValidate: D, onFocus: (e) => {
35
+ y || e.target?.select(), O(!0);
36
+ } }), r.jsx(I, { formName: "range", value: s.displayValue, onChangeInput: F, resolvedAddress: t.getNames().getRanges.bind(t.getNames()), onFocus: (e) => {
37
+ y || e.target?.select(), O(!0);
38
38
  } })] }) });
39
39
  });
40
40
  export {
@@ -1,6 +1,6 @@
1
- import { X as le, M as S } from "./DDebECDOqTJ8ep5A.js";
1
+ import { X as le, M as S } from "./CpV4Dryu4t4_XGaX.js";
2
2
  /**
3
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.6
3
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.8
4
4
  *
5
5
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
6
6
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -22,7 +22,7 @@ let R = null;
22
22
  async function me() {
23
23
  if (R) return R;
24
24
  try {
25
- return await (await import("./ClOj__E12OzLFjTs.js")).initialize();
25
+ return await (await import("./M4lhucsN_zAaGwFD.js")).initialize();
26
26
  } catch (b) {
27
27
  throw R = null, b;
28
28
  } finally {
@@ -203,9 +203,9 @@ interface Promise<T> {
203
203
  if (I.length === 0) throw new Error("No exported functions.");
204
204
  const ie = `${le.uuidV4()}-script`;
205
205
  try {
206
- C || k.length !== 0 || (D = await async function(e, a, y = "/script.js", r = "__SHEETXL") {
206
+ C || k.length !== 0 || (D = await (async function(e, a, y = "/script.js", r = "__SHEETXL") {
207
207
  try {
208
- const i = await async function() {
208
+ const i = await (async function() {
209
209
  if (v) return v;
210
210
  if (M) {
211
211
  if (await M, !v) throw new Error("ESBuild initialization promise resolved, but instance is not available.");
@@ -216,12 +216,12 @@ interface Promise<T> {
216
216
  c = t, l = s;
217
217
  });
218
218
  try {
219
- const { initialize: t } = await import("./DqHHGbrzfGptVwKT.js");
219
+ const { initialize: t } = await import("./ClRxC7LWi49sEr88.js");
220
220
  return v = await t(), c(), v;
221
221
  } catch (t) {
222
222
  throw console.error("Failed to import or initialize esbuild:", t), M = null, l(t), t;
223
223
  }
224
- }(), f = "@sheetxl/primitives", m = `
224
+ })(), f = "@sheetxl/primitives", m = `
225
225
  export const FormulaContext = globalThis.${r}?.FormulaContext;
226
226
  export const ScalarType = globalThis.${r}?.ScalarType;
227
227
  export const Observable = globalThis.${r}?.Observable;
@@ -248,7 +248,7 @@ interface Promise<T> {
248
248
  } catch (i) {
249
249
  throw console.error("esbuild bundling process failed:", i), i;
250
250
  }
251
- }(0, D, O));
251
+ })(0, D, O));
252
252
  } catch {
253
253
  console.warn("Error bundling script");
254
254
  }
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.6
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.8
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.
@@ -47,7 +47,7 @@ class u {
47
47
  }
48
48
  }
49
49
  const s = `/**
50
- * @license @sheetxl/primitives - Primitives - Base types for SheetXL functions. - v0.6.6
50
+ * @license @sheetxl/primitives - Primitives - Base types for SheetXL functions. - v0.6.8
51
51
  *
52
52
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
53
53
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -266,7 +266,7 @@ var v;
266
266
  return r = typeof e == "string" ? rt.get(e) : ot.get(e), r || (r = v.Unknown), new r(t, n);
267
267
  }, v.getBuiltInById = (e) => Te.get(e) || xt;
268
268
  /**
269
- * @license @sheetxl/utils - Utils - Utilities used by most SheetXL components. - v0.6.6
269
+ * @license @sheetxl/utils - Utils - Utilities used by most SheetXL components. - v0.6.8
270
270
  *
271
271
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
272
272
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -375,15 +375,15 @@ Object.freeze(Object.defineProperty({ __proto__: null, EmptyCell: _t, EmptyRange
375
375
  } }, Symbol.toStringTag, { value: "Module" }));
376
376
  function Lt(e) {
377
377
  const t = Object.prototype.toString.call(e);
378
- return t === "[object RegExp]" || t === "[object Date]" || function(n) {
378
+ return t === "[object RegExp]" || t === "[object Date]" || (function(n) {
379
379
  return n.$$typeof === At;
380
- }(e);
380
+ })(e);
381
381
  }
382
382
  const At = typeof Symbol == "function" && Symbol.for ? Symbol.for("react.element") : 60103;
383
383
  function Mt(e) {
384
- return /* @__PURE__ */ function(t) {
384
+ return /* @__PURE__ */ (function(t) {
385
385
  return !!t && typeof t == "object";
386
- }(e) && !Lt(e);
386
+ })(e) && !Lt(e);
387
387
  }
388
388
  function re(e, t) {
389
389
  return t.clone !== !1 && t.isMergeableObject(e) ? Y((n = e, Array.isArray(n) ? [] : {}), e, t) : e;
@@ -395,11 +395,11 @@ function jt(e, t, n) {
395
395
  });
396
396
  }
397
397
  function Be(e) {
398
- return Object.keys(e).concat(function(t) {
398
+ return Object.keys(e).concat((function(t) {
399
399
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(t).filter(function(n) {
400
400
  return Object.propertyIsEnumerable.call(t, n);
401
401
  }) : [];
402
- }(e));
402
+ })(e));
403
403
  }
404
404
  function $e(e, t) {
405
405
  try {
@@ -415,11 +415,11 @@ function Pt(e, t, n) {
415
415
  }), Be(t).forEach(function(o) {
416
416
  (function(i, a) {
417
417
  return $e(i, a) && !(Object.hasOwnProperty.call(i, a) && Object.propertyIsEnumerable.call(i, a));
418
- })(e, o) || ($e(e, o) && n.isMergeableObject(t[o]) ? r[o] = function(i, a) {
418
+ })(e, o) || ($e(e, o) && n.isMergeableObject(t[o]) ? r[o] = (function(i, a) {
419
419
  if (!a.customMerge) return Y;
420
420
  const l = a.customMerge(i);
421
421
  return typeof l == "function" ? l : Y;
422
- }(o, n)(e[o], t[o], n) : r[o] = re(t[o], n));
422
+ })(o, n)(e[o], t[o], n) : r[o] = re(t[o], n));
423
423
  }), r;
424
424
  }
425
425
  function Y(e, t, n) {
@@ -1573,7 +1573,7 @@ async function p() {
1573
1573
  return await l();
1574
1574
  }
1575
1575
  const l = async () => {
1576
- const { compileModule: e } = await import("./C9OEMeyLi2PcGoM_.js"), n = new u((t) => e(t));
1576
+ const { compileModule: e } = await import("./C6SGlMEc9kv06D7t.js"), n = new u((t) => e(t));
1577
1577
  return await n.start(), n;
1578
1578
  };
1579
1579
  export {
@@ -0,0 +1,22 @@
1
+ import { a } from "./B969C0F_SSsr8Zc5.js";
2
+ import { r as n } from "./B2yfFuEr6giDTnKh.js";
3
+ import { T, k, B as D, a8 as N, F as S, f as w } from "./CpV4Dryu4t4_XGaX.js";
4
+ /**
5
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.8
6
+ *
7
+ * (C) 2025-present SheetXL Inc. & Michael T. Ford
8
+ * License: The license can be found at https://www.sheetxl.com/license.
9
+ */
10
+ const F = ["Ok", "Cancel"], I = n.memo((g) => {
11
+ const { tableOptions: t, context: p, onOption: r, onValidateOption: v, onDone: c, options: d = F, defaultOption: s = d?.[0], cancelOption: l = "Cancel", sx: m, ...x } = g, [f, h] = n.useState(!1), [o, O] = n.useState(() => t?.hasHeader ?? !1), [i, b] = n.useState(() => t?.ranges ?? null), j = T((e) => {
12
+ const u = { ...t, hasHeader: o, ranges: i };
13
+ r?.(e, e === l, e === s), c?.({ option: e, tableOptions: u });
14
+ }, [c, r, s, l, o, i, t]), C = n.useCallback(async (e, u) => null, []);
15
+ return a.jsx(k, { title: "Insert Table", options: d, onDone: j, onValidateOption: C, defaultOption: s, cancelOption: l, autoFocusSel: ".range-input input", sx: { width: "360px", ...m }, ...x, children: a.jsxs(D, { sx: { paddingTop: (e) => e.spacing(1), paddingBottom: (e) => e.spacing(0), rowGap: (e) => e.spacing(1), display: "flex", flexDirection: "column" }, children: [a.jsx(N, { formName: "range", value: i, onChangeInput: (e) => b(e), resolvedAddress: p.getNames().getRanges.bind(p.getNames()), onFocus: (e) => {
16
+ f || e.target?.select(), h(!0);
17
+ } }), a.jsx(S, { control: a.jsx(w, { checked: o, onChange: () => O(!o) }), label: "Table has headers", labelPlacement: "end" })] }) });
18
+ });
19
+ export {
20
+ I as TableNewDialog,
21
+ I as default
22
+ };
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.6
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.8
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,8 +1,8 @@
1
- import { a as t } from "./B-vmqKXIqM4BtjB0.js";
2
- import { r as o } from "./BDYXl0I19foxo18Q.js";
3
- import { x as E, y as p, w as b, f as B, k as le, z as ae, E as re, G as ce, B as O, J as g, L as m, N as pe, O as j, R as de, r as Y, p as R, U as ue, Y as fe, _ as xe, $ as ge, q as v, a0 as _, a1 as me, a2 as he, a3 as Oe, v as je, l as Ce, I as ye, o as be } from "./DDebECDOqTJ8ep5A.js";
1
+ import { a as t } from "./B969C0F_SSsr8Zc5.js";
2
+ import { r as o } from "./B2yfFuEr6giDTnKh.js";
3
+ import { t as E, v as p, w as b, T as V, g as le, x as ae, y as re, D as ce, B as O, G as g, H as m, L as pe, P as j, Q as de, p as J, l as R, R as ue, V as fe, U as xe, $ as ge, o as v, a0 as Y, a1 as me, a2 as he, a3 as Oe, s as je, h as Ce, I as ye, S as be } from "./CpV4Dryu4t4_XGaX.js";
4
4
  /**
5
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.6
5
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.8
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.
@@ -12,11 +12,11 @@ const Re = E(t.jsx("path", { d: "M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7
12
12
  o.useEffect(() => {
13
13
  y(ee(c, l));
14
14
  }, [c, l]);
15
- const L = B((u) => {
15
+ const L = V((u) => {
16
16
  y(u.target.value), d?.(l[u.target.value]);
17
17
  }, [d, l]), a = o.useMemo(() => Object.keys(l).map((u) => t.jsx(je, { value: u, children: u }, u)), [l]);
18
18
  return t.jsxs(Ce, { sx: { minWidth: 135 }, size: "small", children: [t.jsx(ye, { children: h }), t.jsx(be, { inputProps: { tabIndex: C }, value: I, label: h, onChange: L, sx: { backgroundImage: `linear-gradient(${R("#fff", v(5))}, ${R("#fff", v(5))})` }, ...F, children: a })] });
19
- }), Q = { Workbook: "workbook", Sheet: "sheet" }, Z = { enter: 140, exit: 140 }, ne = { Formulas: p.Content.Formulas, Values: p.Content.Values, Notes: p.Content.Notes, Comments: p.Content.Comments }, te = { ...ne };
19
+ }), Z = { Workbook: "workbook", Sheet: "sheet" }, _ = { enter: 140, exit: 140 }, ne = { Formulas: p.Content.Formulas, Values: p.Content.Values, Notes: p.Content.Notes, Comments: p.Content.Comments }, te = { ...ne };
20
20
  delete te.Values;
21
21
  const Se = { "By Rows": !0, "By Columns": !1 }, ee = (T, h) => {
22
22
  const c = Object.keys(h);
@@ -25,9 +25,9 @@ const Se = { "By Rows": !0, "By Columns": !1 }, ee = (T, h) => {
25
25
  if (h[d] === T) return d;
26
26
  }
27
27
  }, Ie = o.memo((T) => {
28
- const { replace: h = !1, findText: c, replaceText: l, findOptions: d, replaceOptions: C, title: F, onHide: I, onFindOrReplace: y, ...L } = T, a = o.useRef(null), u = o.useRef(null), M = o.useRef(null), V = o.useRef(null), $ = o.useRef(null), z = o.useRef(null), H = (e, n) => {
28
+ const { replace: h = !1, findText: c, replaceText: l, findOptions: d, replaceOptions: C, title: F, onHide: I, onFindOrReplace: y, ...L } = T, a = o.useRef(null), u = o.useRef(null), H = o.useRef(null), M = o.useRef(null), $ = o.useRef(null), z = o.useRef(null), B = (e, n) => {
29
29
  n && (n.start(e, { center: !1 }), setTimeout(() => n.stop(e), 180));
30
- }, [N, w] = o.useState(!1), [D, se] = o.useState(!1), [f, P] = o.useState(h), [W, A] = o.useState(!1), [U, G] = o.useState(!1), [i, r] = o.useState({ findText: null, replaceText: null, replace: h, replaceOptions: {}, findOptions: { matchCase: !1, matchEntireCell: !1, useRegex: !1, orientation: b.Orientation.Row, fields: [p.Content.Formulas] }, scope: Q.Sheet }), k = B(async (e, n, s, S) => {
30
+ }, [W, w] = o.useState(!1), [D, se] = o.useState(!1), [f, P] = o.useState(h), [N, A] = o.useState(!1), [U, G] = o.useState(!1), [i, r] = o.useState({ findText: null, replaceText: null, replace: h, replaceOptions: {}, findOptions: { matchCase: !1, matchEntireCell: !1, useRegex: !1, orientation: b.Orientation.Row, fields: [p.Content.Formulas] }, scope: Z.Sheet }), k = V(async (e, n, s, S) => {
31
31
  if (!y) return;
32
32
  const x = { ...i };
33
33
  x.replaceOptions = { ...x.replaceOptions }, x.findOptions = { ...x.findOptions }, x.replaceOptions.maxCount = s ? void 0 : 1, x.replace = n, n && i.findOptions.fields?.[0] === p.Content.Values && (x.findOptions.fields = [p.Content.Formulas]), x.findOptions.reverse = !e;
@@ -37,29 +37,29 @@ const Se = { "By Rows": !0, "By Columns": !1 }, ee = (T, h) => {
37
37
  o.useEffect(() => {
38
38
  A(!1);
39
39
  }, [i, D, f]);
40
- const q = B((e, n) => {
40
+ const Q = V((e, n) => {
41
41
  if (e.keyCode === le.Enter) {
42
42
  if (!i.findText) return;
43
43
  let s = !0, S = !1;
44
- e.shiftKey && (s = !1), n ? (e.ctrlKey && e.altKey && (S = !0), H(e, S ? z.current : $.current)) : H(e, s ? V.current : M.current), k(s, n, S, !1);
44
+ e.shiftKey && (s = !1), n ? (e.ctrlKey && e.altKey && (S = !0), B(e, S ? z.current : $.current)) : B(e, s ? M.current : H.current), k(s, n, S, !1);
45
45
  }
46
- }, [i]), J = o.useRef(null);
46
+ }, [i]), X = o.useRef(null);
47
47
  o.useLayoutEffect(() => {
48
48
  r((e) => {
49
49
  const n = { ...e };
50
50
  n.findText = c && c.length > 0 ? c : e.findText ?? "", w(!0), l !== void 0 && (n.replaceText = l), d && (n.findOptions = { ...n.findOptions, ...d }), n.replaceText || (n.replaceText = ""), n.replaceOptions && (n.replaceOptions = { ...n.replaceOptions }), C && (n.replaceOptions = { ...n.replaceOptions, ...C }), i.findOptions.fields?.[0] || (i.findOptions.fields = [p.Content.Formulas]);
51
51
  const s = !(!C && l === void 0);
52
52
  return s && P(s), n;
53
- }), U || J.current?.focus();
53
+ }), U || X.current?.focus();
54
54
  }, [c, l, d, C]), o.useEffect(() => {
55
55
  f ? (i.findOptions.fields[0], p.Content.Values) : w(!0);
56
56
  }, [f]), o.useEffect(() => {
57
- if (N && a.current && i.findText === a.current.value) return a.current === document.activeElement || a.current.contains(document.activeElement) ? (a.current?.select(), void w(!1)) : void a.current.addEventListener("focus", () => {
57
+ if (W && a.current && i.findText === a.current.value) return a.current === document.activeElement || a.current.contains(document.activeElement) ? (a.current?.select(), void w(!1)) : void a.current.addEventListener("focus", () => {
58
58
  a.current?.select(), w(!1);
59
59
  }, { once: !0 });
60
- }, [N, i]);
61
- const [ie, { width: X }] = ae();
62
- return t.jsx(re, { ref: J, title: F ?? (f ? "Find & Replace" : "Find"), initialPosition: { y: "35" }, autoFocusSel: ".input", onHide: I, onFocus: () => G(!0), onBlur: () => {
60
+ }, [W, i]);
61
+ const [ie, { width: q }] = ae();
62
+ return t.jsx(re, { ref: X, title: F ?? (f ? "Find & Replace" : "Find"), initialPosition: { y: "35" }, autoFocusSel: ".input", onHide: I, onFocus: () => G(!0), onBlur: () => {
63
63
  G(!1), A(!1);
64
64
  }, PaperProps: { elevation: U ? 3 : 1 }, ...L, children: t.jsxs(ce, { dividers: !0, ref: ie, sx: { display: "flex", flexDirection: "column", paddingLeft: (e) => e.spacing(1.5), paddingRight: (e) => e.spacing(1.5) }, onKeyDown: (e) => {
65
65
  if (e.key === "h" && e.ctrlKey) P(!0), a.current?.contains(document.activeElement) && u.current?.focus();
@@ -84,7 +84,7 @@ const Se = { "By Rows": !0, "By Columns": !1 }, ee = (T, h) => {
84
84
  se(e);
85
85
  }, preventFocus: !0, label: "Toggle Additional Options", icon: m(t.jsx(pe, {})) }), t.jsx(g, { selected: f, onSelectToggle: (e) => {
86
86
  P(e);
87
- }, preventFocus: !0, label: "Toggle Replace", icon: m(t.jsx(de, {})), shortcut: { key: f ? "F" : "H", modifiers: [j.Ctrl] } })] }), t.jsxs(O, { sx: { display: "flex", flexDirection: "column", maxWidth: "100%", boxSizing: "border-box" }, children: [t.jsxs(O, { sx: { display: "flex", flexDirection: "row", alignItems: "center" }, children: [t.jsx(Y, { label: "Find", InputLabelProps: { shrink: !0 }, InputProps: { sx: { paddingRight: (e) => e.spacing(1), minWidth: X > 460 ? "20em" : void 0, backgroundImage: `linear-gradient(${R("#fff", v(5))}, ${R("#fff", v(5))})` }, inputProps: { draggable: !1, ref: a, className: "input", autoFocus: !0, spellCheck: !1, autoComplete: "off", sx: { paddingTop: (e) => e.spacing(1.25), paddingBottom: (e) => e.spacing(0.75) } }, endAdornment: t.jsx(ue, { sx: { transform: "scale(0.75) translateX(16px)" }, position: "end", children: t.jsxs(O, { sx: { display: "flex", alignItems: "center", flexDirection: "row", gap: "1px" }, children: [t.jsx(g, { selected: i.findOptions.matchCase, onSelectToggle: (e) => {
87
+ }, preventFocus: !0, label: "Toggle Replace", icon: m(t.jsx(de, {})), shortcut: { key: f ? "F" : "H", modifiers: [j.Ctrl] } })] }), t.jsxs(O, { sx: { display: "flex", flexDirection: "column", maxWidth: "100%", boxSizing: "border-box" }, children: [t.jsxs(O, { sx: { display: "flex", flexDirection: "row", alignItems: "center" }, children: [t.jsx(J, { label: "Find", InputLabelProps: { shrink: !0 }, InputProps: { sx: { paddingRight: (e) => e.spacing(1), minWidth: q > 460 ? "20em" : void 0, backgroundImage: `linear-gradient(${R("#fff", v(5))}, ${R("#fff", v(5))})` }, inputProps: { draggable: !1, ref: a, className: "input", autoFocus: !0, spellCheck: !1, autoComplete: "off", sx: { paddingTop: (e) => e.spacing(1.25), paddingBottom: (e) => e.spacing(0.75) } }, endAdornment: t.jsx(ue, { sx: { transform: "scale(0.75) translateX(16px)" }, position: "end", children: t.jsxs(O, { sx: { display: "flex", alignItems: "center", flexDirection: "row", gap: "1px" }, children: [t.jsx(g, { selected: i.findOptions.matchCase, onSelectToggle: (e) => {
88
88
  r((n) => {
89
89
  const s = { ...n };
90
90
  return s.findOptions.matchCase = e, s;
@@ -99,33 +99,33 @@ const Se = { "By Rows": !0, "By Columns": !1 }, ee = (T, h) => {
99
99
  const s = { ...n };
100
100
  return s.findOptions.useRegex = e, s;
101
101
  });
102
- }, label: "Use Regular Expression", shortcut: { key: "R", modifiers: [j.Alt] }, icon: m(t.jsx(ge, {})) })] }) }) }, sx: { flex: "1 1 100%", marginRight: (e) => e.spacing(1), "& .MuiOutlinedInput-notchedOutline": { borderColor: (e) => W ? `${e.palette.error.main} !important` : void 0 }, "& .MuiInputLabel-outlined": { color: (e) => W ? `${e.palette.error.main} !important` : void 0 } }, value: i.findText ?? "", onChange: (e) => {
102
+ }, label: "Use Regular Expression", shortcut: { key: "R", modifiers: [j.Alt] }, icon: m(t.jsx(ge, {})) })] }) }) }, sx: { flex: "1 1 100%", marginRight: (e) => e.spacing(1), "& .MuiOutlinedInput-notchedOutline": { borderColor: (e) => N ? `${e.palette.error.main} !important` : void 0 }, "& .MuiInputLabel-outlined": { color: (e) => N ? `${e.palette.error.main} !important` : void 0 } }, value: i.findText ?? "", onChange: (e) => {
103
103
  r((n) => {
104
104
  const s = { ...n };
105
105
  return s.findText = e.target.value, s;
106
106
  });
107
- }, onKeyDown: (e) => q(e, !1), onContextMenu: (e) => {
107
+ }, onKeyDown: (e) => Q(e, !1), onContextMenu: (e) => {
108
108
  e.stopPropagation();
109
109
  } }), t.jsx(g, { selected: i.findOptions.reverse, onSelectToggle: (e) => {
110
110
  k(!1, !1);
111
- }, touchRippleRef: M, label: "", shortcut: { key: "Enter", modifiers: [j.Shift] }, icon: m(i.findOptions.orientation !== b.Orientation.Column ? t.jsx(Re, {}) : t.jsx(ke, {})), disabled: !i.findText }), t.jsx(g, { selected: !i.findOptions.reverse, onSelectToggle: (e) => {
111
+ }, touchRippleRef: H, label: "", shortcut: { key: "Enter", modifiers: [j.Shift] }, icon: m(i.findOptions.orientation !== b.Orientation.Column ? t.jsx(Re, {}) : t.jsx(ke, {})), disabled: !i.findText }), t.jsx(g, { selected: !i.findOptions.reverse, onSelectToggle: (e) => {
112
112
  k(!0, !1);
113
- }, touchRippleRef: V, label: "Next Match", shortcut: { key: "Enter" }, icon: m(i.findOptions.orientation !== b.Orientation.Column ? t.jsx(Te, {}) : t.jsx(ve, {})), disabled: !i.findText })] }), t.jsx(_, { in: f, timeout: Z, onExit: () => {
113
+ }, touchRippleRef: M, label: "Next Match", shortcut: { key: "Enter" }, icon: m(i.findOptions.orientation !== b.Orientation.Column ? t.jsx(Te, {}) : t.jsx(ve, {})), disabled: !i.findText })] }), t.jsx(Y, { in: f, timeout: _, onExit: () => {
114
114
  a.current?.focus();
115
- }, children: t.jsxs(O, { sx: { display: "flex", flexDirection: "row", alignItems: "center", marginTop: (e) => e.spacing(2) }, children: [t.jsx(Y, { label: "Replace", InputLabelProps: { shrink: !0 }, InputProps: { sx: { paddingRight: (e) => e.spacing(1), backgroundImage: `linear-gradient(${R("#fff", v(5))}, ${R("#fff", v(5))})` }, inputProps: { ref: u, className: "input", spellCheck: !1, autoComplete: "off", sx: { paddingTop: (e) => e.spacing(1.25), paddingBottom: (e) => e.spacing(0.75) } } }, sx: { flex: "1 1 100%", marginRight: (e) => e.spacing(1) }, value: i.replaceText ?? "", onChange: (e) => {
115
+ }, children: t.jsxs(O, { sx: { display: "flex", flexDirection: "row", alignItems: "center", marginTop: (e) => e.spacing(2) }, children: [t.jsx(J, { label: "Replace", InputLabelProps: { shrink: !0 }, InputProps: { sx: { paddingRight: (e) => e.spacing(1), backgroundImage: `linear-gradient(${R("#fff", v(5))}, ${R("#fff", v(5))})` }, inputProps: { ref: u, className: "input", spellCheck: !1, autoComplete: "off", sx: { paddingTop: (e) => e.spacing(1.25), paddingBottom: (e) => e.spacing(0.75) } } }, sx: { flex: "1 1 100%", marginRight: (e) => e.spacing(1) }, value: i.replaceText ?? "", onChange: (e) => {
116
116
  r((n) => {
117
117
  const s = { ...n };
118
118
  return s.replaceText = e.target.value, s;
119
119
  });
120
- }, onKeyDown: (e) => q(e, !0), onContextMenu: (e) => {
120
+ }, onKeyDown: (e) => Q(e, !0), onContextMenu: (e) => {
121
121
  e.stopPropagation();
122
122
  } }), t.jsx(g, { onSelectToggle: (e) => {
123
123
  k(!0, !0);
124
124
  }, touchRippleRef: $, label: "Replace", shortcut: { key: "Enter" }, icon: m(t.jsx(me, {})), disabled: !i.findText }), t.jsx(g, { onSelectToggle: (e) => {
125
125
  k(!0, !0, !0);
126
- }, touchRippleRef: z, label: "Replace All", shortcut: { key: "Enter", modifiers: [j.Ctrl, j.Alt] }, icon: m(t.jsx(he, {})), disabled: !i.findText })] }) })] })] }), t.jsx(_, { in: D, timeout: Z, onExit: () => {
126
+ }, touchRippleRef: z, label: "Replace All", shortcut: { key: "Enter", modifiers: [j.Ctrl, j.Alt] }, icon: m(t.jsx(he, {})), disabled: !i.findText })] }) })] })] }), t.jsx(Y, { in: D, timeout: _, onExit: () => {
127
127
  a.current?.focus();
128
- }, children: t.jsxs(O, { sx: { minHeight: "10px", flex: "1 1 100%", display: "flex", flexDirection: "column", gap: (e) => e.spacing(0.5), marginTop: (e) => e.spacing(1) }, children: [t.jsx(Oe, { orientation: "horizontal", sx: { marginBottom: (e) => e.spacing(1.5) } }), t.jsxs(O, { sx: { display: "flex", flexDirection: X >= 413 ? "row" : "column", justifyContent: "space-evenly", alignItems: "center", rowGap: (e) => e.spacing(2) }, tabIndex: -1, children: [t.jsx(K, { label: "Within", value: i.scope, options: Q, onSelect: (e) => {
128
+ }, children: t.jsxs(O, { sx: { minHeight: "10px", flex: "1 1 100%", display: "flex", flexDirection: "column", gap: (e) => e.spacing(0.5), marginTop: (e) => e.spacing(1) }, children: [t.jsx(Oe, { orientation: "horizontal", sx: { marginBottom: (e) => e.spacing(1.5) } }), t.jsxs(O, { sx: { display: "flex", flexDirection: q >= 413 ? "row" : "column", justifyContent: "space-evenly", alignItems: "center", rowGap: (e) => e.spacing(2) }, tabIndex: -1, children: [t.jsx(K, { label: "Within", value: i.scope, options: Z, onSelect: (e) => {
129
129
  r((n) => {
130
130
  const s = { ...n };
131
131
  return s.scope = e, s;
@@ -144,6 +144,6 @@ const Se = { "By Rows": !0, "By Columns": !1 }, ee = (T, h) => {
144
144
  });
145
145
  export {
146
146
  Ie as FindReplaceWindow,
147
- Q as ScopeOptions,
147
+ Z as ScopeOptions,
148
148
  Ie as default
149
149
  };
@@ -1,19 +1,19 @@
1
- import { a as t } from "./B-vmqKXIqM4BtjB0.js";
2
- import { r as s } from "./BDYXl0I19foxo18Q.js";
3
- import { f as p, k as L, D as n, g as R, B as j, l as O, I as W, o as q, p as c, q as u, r as G, t as S, v as H } from "./DDebECDOqTJ8ep5A.js";
1
+ import { a as t } from "./B969C0F_SSsr8Zc5.js";
2
+ import { r as s } from "./B2yfFuEr6giDTnKh.js";
3
+ import { T as p, g as L, O as n, k as R, B as j, h as O, I as W, S as q, l as c, o as u, p as G, q as S, s as H } from "./CpV4Dryu4t4_XGaX.js";
4
4
  /**
5
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.6
5
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.8
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 K = ["Ok", "Cancel"], U = s.memo((F) => {
11
- const { initialValue: w, context: y, onOption: h, onValidateOption: d, onInputOption: C, onDone: m, options: b = K, defaultOption: l = b?.[0], cancelOption: g = "Cancel", sx: P, ...D } = F, [a, v] = s.useState(w), [I, $] = s.useState(!1), x = s.useCallback(async (e, o) => !0, []), f = p(async (e) => {
12
- C?.(a, e), h?.(e, e === g, e === l), m?.();
13
- }, [a, C, m, h, g, l]), M = p(async (e) => {
14
- e.keyCode === L.Enter && await x?.(a, null) !== !1 && f(l);
15
- }, [a, f]), N = p((e) => {
16
- v(e.target.value), x?.(e.target.value, null);
11
+ const { initialValue: w, context: f, onOption: h, onValidateOption: d, onInputOption: C, onDone: m, options: b = K, defaultOption: r = b?.[0], cancelOption: g = "Cancel", sx: P, ...D } = F, [a, k] = s.useState(w), [I, $] = s.useState(!1), x = s.useCallback(async (e, o) => !0, []), y = p(async (e) => {
12
+ C?.(a, e), h?.(e, e === g, e === r), m?.();
13
+ }, [a, C, m, h, g, r]), M = p(async (e) => {
14
+ e.keyCode === L.Enter && await x?.(a, null) !== !1 && y(r);
15
+ }, [a, y]), N = p((e) => {
16
+ k(e.target.value), x?.(e.target.value, null);
17
17
  }, [d]), V = p(async (e) => {
18
18
  let o = await Promise.resolve(d?.(e));
19
19
  try {
@@ -21,23 +21,23 @@ const K = ["Ok", "Cancel"], U = s.memo((F) => {
21
21
  } catch {
22
22
  }
23
23
  return o ?? !0;
24
- }, [d]), [k, T] = s.useState(n.Styles.lookupStyle(a).formatType ?? n.Type.Custom);
24
+ }, [d]), [v, T] = s.useState(n.Styles.lookupStyle(a).formatType ?? n.Type.Custom);
25
25
  s.useEffect(() => {
26
26
  T(n.Styles.lookupStyle(a).formatType ?? n.Type.Custom);
27
27
  }, [a]);
28
28
  const B = s.useMemo(() => {
29
- const e = n.Styles.lookupPrimary(), o = (r) => t.jsx(H, { value: r, children: r }, r), i = Object.keys(e).map((r) => o(e[r].formatType));
29
+ const e = n.Styles.lookupPrimary(), o = (l) => t.jsx(H, { value: l, children: l }, l), i = Object.keys(e).map((l) => o(e[l].formatType));
30
30
  return i.push(o(n.Type.Custom)), i;
31
31
  }, []), z = s.useCallback((e) => {
32
32
  const o = e.target.value;
33
33
  T(o);
34
34
  const i = n.Styles.lookupDefault(o);
35
- i && v(i);
35
+ i && k(i);
36
36
  }, []), E = s.useMemo(() => {
37
- const e = y();
37
+ const e = f();
38
38
  return e.createTemporaryCell({ value: e.getValue() ?? 12345, style: { numberFormat: a } });
39
- }, [k, a, y]);
40
- return t.jsx(R, { title: "Number Format", options: b, onDone: m, onOption: (e) => f(e), onValidateOption: V, defaultOption: l, cancelOption: g, autoFocusSel: ".autoFocus", sx: { width: "580px", ...P }, ...D, children: t.jsxs(j, { sx: { paddingTop: (e) => e.spacing(1), paddingBottom: (e) => e.spacing(0), rowGap: (e) => e.spacing(1), display: "flex", flexDirection: "column" }, children: [t.jsxs(O, { sx: { minWidth: 135 }, size: "small", children: [t.jsx(W, { children: "Category" }), t.jsx(q, { value: k, label: "Category", onChange: z, sx: { backgroundImage: `linear-gradient(${c("#fff", u(5))}, ${c("#fff", u(5))})` }, children: B })] }), t.jsx(O, { sx: { paddingTop: (e) => e.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: t.jsx(G, { label: "Code", onFocus: (e) => {
39
+ }, [v, a, f]);
40
+ return t.jsx(R, { title: "Number Format", options: b, onDone: m, onOption: (e) => y(e), onValidateOption: V, defaultOption: r, cancelOption: g, autoFocusSel: ".autoFocus", sx: { width: "580px", ...P }, ...D, children: t.jsxs(j, { sx: { paddingTop: (e) => e.spacing(1), paddingBottom: (e) => e.spacing(0), rowGap: (e) => e.spacing(1), display: "flex", flexDirection: "column" }, children: [t.jsxs(O, { sx: { minWidth: 135 }, size: "small", children: [t.jsx(W, { children: "Category" }), t.jsx(q, { value: v, label: "Category", onChange: z, sx: { backgroundImage: `linear-gradient(${c("#fff", u(5))}, ${c("#fff", u(5))})` }, children: B })] }), t.jsx(O, { sx: { paddingTop: (e) => e.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: t.jsx(G, { label: "Code", onFocus: (e) => {
41
41
  I || e.target?.select(), $(!0);
42
42
  }, sx: { "& .MuiFormHelperText-root": { marginTop: (e) => e.spacing(0.5) } }, InputLabelProps: { shrink: !0 }, InputProps: { inputProps: { className: "autoFocus", spellCheck: !1, autoComplete: "off", sx: { paddingTop: (e) => e.spacing(1.25), paddingBottom: (e) => e.spacing(0.75), backgroundImage: `linear-gradient(${c("#fff", u(5))}, ${c("#fff", u(5))})` } } }, value: a, onChange: N, onKeyDown: M, onContextMenu: (e) => {
43
43
  e.stopPropagation();
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.6
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.8
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.6
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.8
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,6 +1,6 @@
1
- import { r as u, m as T } from "./BDYXl0I19foxo18Q.js";
1
+ import { r as u, m as T } from "./B2yfFuEr6giDTnKh.js";
2
2
  /**
3
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.6
3
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.8
4
4
  *
5
5
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
6
6
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -158,9 +158,9 @@ function W(e) {
158
158
  return t = !0;
159
159
  }, r;
160
160
  }
161
- var X, de = function(e) {
161
+ var X, de = (function(e) {
162
162
  if (Array.isArray(e)) return e;
163
- }(X = Pe({ config: { paths: { vs: "https://cdn.jsdelivr.net/npm/monaco-editor@0.52.2/min/vs" } }, isInitialized: !1, resolve: null, reject: null, monaco: null })) || function(e) {
163
+ })(X = Pe({ config: { paths: { vs: "https://cdn.jsdelivr.net/npm/monaco-editor@0.52.2/min/vs" } }, isInitialized: !1, resolve: null, reject: null, monaco: null })) || (function(e) {
164
164
  if (typeof Symbol < "u" && Symbol.iterator in Object(e)) {
165
165
  var t = [], r = !0, n = !1, o = void 0;
166
166
  try {
@@ -176,16 +176,16 @@ var X, de = function(e) {
176
176
  }
177
177
  return t;
178
178
  }
179
- }(X) || function(e) {
179
+ })(X) || (function(e) {
180
180
  if (e) {
181
181
  if (typeof e == "string") return ie(e, 2);
182
182
  var t = Object.prototype.toString.call(e).slice(8, -1);
183
183
  return t === "Object" && e.constructor && (t = e.constructor.name), t === "Map" || t === "Set" ? Array.from(e) : t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? ie(e, 2) : void 0;
184
184
  }
185
- }(X) || function() {
185
+ })(X) || (function() {
186
186
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
187
187
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
188
- }(), q = de[0], B = de[1];
188
+ })(), q = de[0], B = de[1];
189
189
  function ke(e) {
190
190
  return document.body.appendChild(e);
191
191
  }
@@ -213,20 +213,20 @@ function ge(e) {
213
213
  var Z = new Promise(function(e, t) {
214
214
  return B({ resolve: e, reject: t });
215
215
  }), Y = { config: function(e) {
216
- var t = Re(e), r = t.monaco, n = function(o, i) {
216
+ var t = Re(e), r = t.monaco, n = (function(o, i) {
217
217
  if (o == null) return {};
218
- var c, a, g = function(O, b) {
218
+ var c, a, g = (function(O, b) {
219
219
  if (O == null) return {};
220
220
  var E, P, S = {}, k = Object.keys(O);
221
221
  for (P = 0; P < k.length; P++) E = k[P], b.indexOf(E) >= 0 || (S[E] = O[E]);
222
222
  return S;
223
- }(o, i);
223
+ })(o, i);
224
224
  if (Object.getOwnPropertySymbols) {
225
225
  var p = Object.getOwnPropertySymbols(o);
226
226
  for (a = 0; a < p.length; a++) c = p[a], i.indexOf(c) >= 0 || Object.prototype.propertyIsEnumerable.call(o, c) && (g[c] = o[c]);
227
227
  }
228
228
  return g;
229
- }(t, ["monaco"]);
229
+ })(t, ["monaco"]);
230
230
  B(function(o) {
231
231
  return { config: fe(o.config, n), monaco: r };
232
232
  });
@@ -266,9 +266,9 @@ var Z = new Promise(function(e, t) {
266
266
  function L() {
267
267
  }
268
268
  function I(e, t, r, n) {
269
- return i = n, (o = e).editor.getModel(le(o, i)) || function(c, a, g, p) {
269
+ return i = n, (o = e).editor.getModel(le(o, i)) || (function(c, a, g, p) {
270
270
  return c.editor.createModel(a, g, p ? le(c, p) : void 0);
271
- }(e, t, r, n);
271
+ })(e, t, r, n);
272
272
  var o, i;
273
273
  }
274
274
  function le(e, t) {
@@ -278,10 +278,10 @@ var qe = u.memo(function({ original: e, modified: t, language: r, originalLangua
278
278
  let [w, C] = u.useState(!1), [A, m] = u.useState(!0), y = u.useRef(null), f = u.useRef(null), D = u.useRef(null), v = u.useRef(G), l = u.useRef($), x = u.useRef(!1);
279
279
  ee(() => {
280
280
  let s = Y.init();
281
- return s.then((d) => (f.current = d) && m(!1)).catch((d) => d?.type !== "cancelation" && console.error("Monaco initialization: error:", d)), () => y.current ? function() {
281
+ return s.then((d) => (f.current = d) && m(!1)).catch((d) => d?.type !== "cancelation" && console.error("Monaco initialization: error:", d)), () => y.current ? (function() {
282
282
  let d = y.current?.getModel();
283
283
  a || d?.original?.dispose(), g || d?.modified?.dispose(), y.current?.dispose();
284
- }() : s.cancel();
284
+ })() : s.cancel();
285
285
  }), j(() => {
286
286
  if (y.current && f.current) {
287
287
  let s = y.current.getOriginalEditor(), d = I(f.current, e || "", n || r || "text", i || "");
@@ -327,12 +327,12 @@ var qe = u.memo(function({ original: e, modified: t, language: r, originalLangua
327
327
  })), () => r?.cancel();
328
328
  }), e;
329
329
  }, F = /* @__PURE__ */ new Map(), Le = u.memo(function({ defaultValue: e, defaultLanguage: t, defaultPath: r, value: n, language: o, path: i, theme: c = "light", line: a, loading: g = "Loading...", options: p = {}, overrideServices: O = {}, saveViewState: b = !0, keepCurrentModel: E = !1, width: P = "100%", height: S = "100%", className: k, wrapperProps: $ = {}, beforeMount: G = L, onMount: w = L, onChange: C, onValidate: A = L }) {
330
- let [m, y] = u.useState(!1), [f, D] = u.useState(!0), v = u.useRef(null), l = u.useRef(null), x = u.useRef(null), _ = u.useRef(w), N = u.useRef(G), s = u.useRef(), d = u.useRef(n), he = function(h) {
330
+ let [m, y] = u.useState(!1), [f, D] = u.useState(!0), v = u.useRef(null), l = u.useRef(null), x = u.useRef(null), _ = u.useRef(w), N = u.useRef(G), s = u.useRef(), d = u.useRef(n), he = (function(h) {
331
331
  let M = u.useRef();
332
332
  return u.useEffect(() => {
333
333
  M.current = h;
334
334
  }, [h]), M.current;
335
- }(i), te = u.useRef(!1), H = u.useRef(!1);
335
+ })(i), te = u.useRef(!1), H = u.useRef(!1);
336
336
  ee(() => {
337
337
  let h = Y.init();
338
338
  return h.then((M) => (v.current = M) && D(!1)).catch((M) => M?.type !== "cancelation" && console.error("Monaco initialization: error:", M)), () => l.current ? (s.current?.dispose(), E ? b && F.set(i, l.current.saveViewState()) : l.current.getModel()?.dispose(), void l.current.dispose()) : h.cancel();