@sheetxl/studio-vanilla 0.4.20 → 0.4.22

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