@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
@@ -1,472 +0,0 @@
1
- import { $ as he } from "./C-saEYaoPI4gaVAh.js";
2
- /**
3
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.20
4
- *
5
- * (C) 2025-present SheetXL Inc. & Michael T. Ford
6
- * License: The license can be found at https://www.sheetxl.com/license.
7
- */
8
- var se, q, r;
9
- (q = se || (se = {})).Orientation = { Column: "column", Row: "row" }, q.Orientations = { ...q.Orientation, Both: "both" }, q.Direction = { Up: "up", Down: "down", Left: "left", Right: "right" }, ((e) => {
10
- e.Code = { Parse: 0, Null: 1, Div0: 2, Value: 3, Ref: 4, Name: 5, Num: 6, NA: 7, GettingData: 8, Spill: 9, Connect: 10, Blocked: 11, Unknown: 12, Field: 13, Calc: 14, Busy: 16, Python: 19, Timeout: 20 }, e.Label = { Parse: "#PARSE!", Null: "#NULL!", Div0: "#DIV/0!", Value: "#VALUE!", Ref: "#REF!", Name: "#NAME?", Num: "#NUM!", NA: "#N/A", GettingData: "#GETTING_DATA", Spill: "#SPILL!", Connect: "#CONNECT!", Blocked: "#BLOCKED!", Unknown: "#UNKNOWN!", Field: "#FIELD!", Calc: "#CALC!", Busy: "#BUSY!", Python: "#PYTHON!", Timeout: "#TIMEOUT!" };
11
- class a extends Error {
12
- constructor(n, i, S, J) {
13
- super(S, J), this._label = i, this._code = n, this.details = J;
14
- }
15
- static {
16
- this.code = e.Code.Unknown;
17
- }
18
- get isFormulaError() {
19
- return !0;
20
- }
21
- getLabel() {
22
- return this._label;
23
- }
24
- getCode() {
25
- return this._code;
26
- }
27
- equals(n) {
28
- return !!n && (this._code === n._code || this._code === n.code);
29
- }
30
- get [Symbol.toStringTag]() {
31
- return "[FormulaError]";
32
- }
33
- toString() {
34
- return this.message || this._label;
35
- }
36
- }
37
- e.Known = a;
38
- class T extends a {
39
- constructor(n, i) {
40
- super(e.Code.Parse, e.Label.Parse, n, i);
41
- }
42
- static {
43
- this.code = e.Code.Parse;
44
- }
45
- getDetails() {
46
- const n = this.details;
47
- return { line: n?.line ?? 1, column: n?.column ?? 1, offset: n?.offset ?? 0, length: n?.length ?? 0 };
48
- }
49
- }
50
- e.Parse = T;
51
- class x extends a {
52
- constructor(n, i) {
53
- super(e.Code.Null, e.Label.Null, n, i);
54
- }
55
- static {
56
- this.code = e.Code.Null;
57
- }
58
- }
59
- e.Null = x;
60
- class j extends a {
61
- constructor(n, i) {
62
- super(e.Code.Div0, e.Label.Div0, n, i);
63
- }
64
- static {
65
- this.code = e.Code.Div0;
66
- }
67
- }
68
- e.Div0 = j;
69
- class X extends a {
70
- constructor(n, i) {
71
- super(e.Code.Value, e.Label.Value, n, i);
72
- }
73
- static {
74
- this.code = e.Code.Value;
75
- }
76
- }
77
- e.Value = X;
78
- class s extends a {
79
- constructor(n, i) {
80
- super(e.Code.Ref, e.Label.Ref, n, i);
81
- }
82
- static {
83
- this.code = e.Code.Ref;
84
- }
85
- }
86
- e.Ref = s;
87
- class K extends a {
88
- constructor(n, i) {
89
- super(e.Code.Name, e.Label.Name, n, i);
90
- }
91
- static {
92
- this.code = e.Code.Name;
93
- }
94
- }
95
- e.Name = K;
96
- class U extends a {
97
- constructor(n, i) {
98
- super(e.Code.Num, e.Label.Num, n, i);
99
- }
100
- static {
101
- this.code = e.Code.Num;
102
- }
103
- }
104
- e.Num = U;
105
- class z extends a {
106
- constructor(n, i) {
107
- super(e.Code.NA, e.Label.NA, n, i);
108
- }
109
- static {
110
- this.code = e.Code.NA;
111
- }
112
- }
113
- e.NA = z;
114
- class Y extends a {
115
- constructor(n, i) {
116
- super(e.Code.GettingData, e.Label.GettingData, n, i);
117
- }
118
- static {
119
- this.code = e.Code.GettingData;
120
- }
121
- }
122
- e.GettingData = Y;
123
- class M extends a {
124
- constructor(n, i) {
125
- super(e.Code.Spill, e.Label.Spill, n, i);
126
- }
127
- static {
128
- this.code = e.Code.Spill;
129
- }
130
- }
131
- e.Spill = M;
132
- class I extends a {
133
- constructor(n, i) {
134
- super(e.Code.Connect, e.Label.Connect, n, i);
135
- }
136
- static {
137
- this.code = e.Code.Connect;
138
- }
139
- }
140
- e.Connect = I;
141
- class G extends a {
142
- constructor(n, i) {
143
- super(e.Code.Blocked, e.Label.Blocked, n, i);
144
- }
145
- static {
146
- this.code = e.Code.Blocked;
147
- }
148
- }
149
- e.Blocked = G;
150
- class _ extends a {
151
- constructor(n, i) {
152
- super(e.Code.Unknown, e.Label.Unknown, n, i);
153
- }
154
- static {
155
- this.code = e.Code.Unknown;
156
- }
157
- }
158
- e.Unknown = _;
159
- class F extends a {
160
- constructor(n, i) {
161
- super(e.Code.Field, e.Label.Field, n, i);
162
- }
163
- static {
164
- this.code = e.Code.Field;
165
- }
166
- }
167
- e.Field = F;
168
- class Q extends a {
169
- constructor(n, i) {
170
- super(e.Code.Calc, e.Label.Calc, n, i);
171
- }
172
- static {
173
- this.code = e.Code.Calc;
174
- }
175
- }
176
- e.Calc = Q;
177
- class O extends a {
178
- constructor(n, i) {
179
- super(e.Code.Busy, e.Label.Busy, n, i);
180
- }
181
- static {
182
- this.code = e.Code.Busy;
183
- }
184
- }
185
- e.Busy = O;
186
- class P extends a {
187
- constructor(n, i) {
188
- super(e.Code.Python, e.Label.Python, n, i);
189
- }
190
- static {
191
- this.code = e.Code.Python;
192
- }
193
- }
194
- e.Python = P;
195
- class Z extends a {
196
- constructor(n, i) {
197
- super(e.Code.Timeout, e.Label.Timeout, n, i);
198
- }
199
- static {
200
- this.code = e.Code.Timeout;
201
- }
202
- }
203
- e.Timeout = Z;
204
- })(r || (r = {}));
205
- const f = {};
206
- f[r.Code.Parse] = r.Parse, f[r.Code.Null] = r.Null, f[r.Code.Div0] = r.Div0, f[r.Code.Value] = r.Value, f[r.Code.Ref] = r.Ref, f[r.Code.Name] = r.Name, f[r.Code.Num] = r.Num, f[r.Code.NA] = r.NA, f[r.Code.GettingData] = r.GettingData, f[r.Code.Spill] = r.Spill, f[r.Code.Connect] = r.Connect, f[r.Code.Blocked] = r.Blocked, f[r.Code.Unknown] = r.Unknown, f[r.Code.Field] = r.Field, f[r.Code.Calc] = r.Calc, f[r.Code.Busy] = r.Busy, f[r.Code.Python] = r.Python, f[r.Code.Timeout] = r.Timeout;
207
- const ce = /* @__PURE__ */ new Map(), ie = /* @__PURE__ */ new Map(), de = /* @__PURE__ */ new Map(), ue = /* @__PURE__ */ new Map(), le = Object.keys(f);
208
- for (let e = 0; e < le.length; e++) {
209
- const a = le[e], T = f[a];
210
- de.set(r.Label[a], T), ue.set(r.Code[a], T);
211
- const x = new T();
212
- ce.set(x.getLabel(), x), ie.set(x.getCode(), x);
213
- }
214
- const ge = ie.get(r.Code.Unknown);
215
- var p;
216
- (p = r || (r = {})).BuiltIn = { Parse: new p.Parse(), Null: new p.Null(), Div0: new p.Div0(), Value: new p.Value(), Ref: new p.Ref(), Name: new p.Name(), Num: new p.Num(), NA: new p.NA(), GettingData: new p.GettingData(), Spill: new p.Spill(), Connect: new p.Connect(), Blocked: new p.Blocked(), Unknown: new p.Unknown(), Field: new p.Field(), Calc: new p.Calc(), Busy: new p.Busy(), Python: new p.Python(), Timeout: new p.Timeout() }, p.getBuiltInByLabel = (e) => ce.get(e), p.newTypedError = (e, a, T) => {
217
- let x;
218
- return x = typeof e == "string" ? de.get(e) : ue.get(e), x || (x = p.Unknown), new x(a, T);
219
- }, p.getBuiltInById = (e) => ie.get(e) || ge;
220
- let A = null, H = null;
221
- const we = { compilerOptions: { target: "esnext" } }, Ce = async () => `
222
- interface FirstTest {
223
- isTrue?: boolean;
224
- }
225
- `, pe = /* @__PURE__ */ new Map([["IReferenceRange", "r"], ["IRange", "l"]]), me = /* @__PURE__ */ new Map([["IWorkbook", "workbook"], ["ISheet", "sheet"], ["ICellRanges", "ranges"], ["ICellRange", "range"], ["IFormulaContext", "context"]]), ne = (e, a) => {
226
- Array.from(a.keys()).forEach((T) => {
227
- const x = a.get(T);
228
- a.set(`${e}.${T}`, x);
229
- });
230
- }, xe = /* @__PURE__ */ new Map([["Scalar", "*"], ["FormulaError.Known", "e"], ["Date", "Date"], ["JSON", "JSON"]]), be = /* @__PURE__ */ new Map([]), oe = "SheetXL";
231
- ne(oe, pe), ne(oe, me), ne(oe, be);
232
- const ke = /* @__PURE__ */ new Map([["Promise", () => ({ async: !0 })], ["Observable", () => ({ stream: !0 })]]);
233
- let W = null;
234
- async function Te() {
235
- if (W) return W;
236
- try {
237
- return await (await import("./KUyPDaQO4D8lwO7O.js")).initialize();
238
- } catch (e) {
239
- throw W = null, e;
240
- } finally {
241
- W = null;
242
- }
243
- }
244
- async function Se(e) {
245
- const a = e?.source ?? null;
246
- if (!a) return null;
247
- const T = (e.disableBundle || e.declarationsOnly) ?? !1, x = [Ce(), Te()], j = await Promise.all(x), X = j[0], s = j[1];
248
- let K = "", U = null;
249
- const z = [], Y = { allowJs: !0, declaration: !1, sourceMap: !1, inlineSourceMap: !1, inlineSources: !1, isolatedModules: !0, preserveConstEnums: !1, module: 99, noResolve: !0, emitDeclarationOnly: !1, target: s.ScriptTarget.ES2020 }, M = "script", I = `${M}.ts`, G = "lib.d.ts", _ = "global.d.ts", F = { [I]: a, [G]: `
250
- /**
251
- * Represents the completion of an asynchronous operation
252
- */
253
- interface Promise<T> {
254
- /**
255
- * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
256
- * resolved value cannot be modified from the callback.
257
- * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
258
- * @returns A Promise for the completion of the callback.
259
- */
260
- finally(onfinally?: (() => void) | undefined | null): Promise<T>;
261
- }
262
- `, [_]: X }, Q = { getSourceFile: (t, d, E, l) => s.createSourceFile(t, F[t], s.ScriptTarget.Latest, !0), fileExists: (t) => F[t] !== void 0, readFile: (t) => F[t], writeFile: (t, d) => {
263
- F[t] = d;
264
- }, getCurrentDirectory: () => "./", getCanonicalFileName: (t) => t, useCaseSensitiveFileNames: () => !0, getDefaultLibFileName: (t) => G, getNewLine: () => `
265
- ` }, O = s.createProgram([I, _], Y, Q), P = O.getTypeChecker(), Z = O.getSourceFile(I), y = O.emit();
266
- y.diagnostics.length > 0 && console.warn(y.diagnostics), K = F[`${M}.js`];
267
- const n = (t, d, E, l) => {
268
- if (t) {
269
- if (t.kind === s.SyntaxKind.NumberKeyword) d.scalar = "n";
270
- else if (t.kind === s.SyntaxKind.StringKeyword) d.scalar = "s";
271
- else if (t.kind === s.SyntaxKind.BooleanKeyword) d.scalar = "b";
272
- else if (t.kind === s.SyntaxKind.UndefinedKeyword || t.kind === s.SyntaxKind.NullKeyword || t.kind === s.SyntaxKind.VoidKeyword) {
273
- if (l) return void S(t, new Error(`'undefined' is not a valid type for input: '${t?.parent?.name?.escapedText}'.`));
274
- d.scalar = "z";
275
- } else if (t.kind === s.SyntaxKind.BigIntKeyword) d.scalar = "n";
276
- else if (t.kind === s.SyntaxKind.AnyKeyword) d.scalar = "z";
277
- else if (t.kind === s.SyntaxKind.ArrayType) {
278
- const c = t.elementType;
279
- if (!c) return void S(t, new Error(`'Array' must be typed: '${t?.parent?.name?.escapedText}'.`));
280
- d.arrayDepth = (d.arrayDepth ?? 0) + 1, n(c, d, E, l);
281
- } else if (t.kind !== s.SyntaxKind.TupleType && t.kind === s.SyntaxKind.TypeReference) {
282
- const c = t.typeName?.getText?.() ?? null, N = pe.get(c);
283
- let k = !1;
284
- N && (d.range = N, k = !0);
285
- const D = xe.get(c);
286
- if (D && (d.scalar = D), D !== void 0 && (k = !0), l) {
287
- const g = me.get(c);
288
- if (g) return g;
289
- } else {
290
- const g = ke.get(c);
291
- if (g) {
292
- const m = { ...d, ...g() };
293
- let o = 0;
294
- if (m.async && o++, m.stream && o++, o > 1) return void S(t, new Error(`'${c}' cannot have multiple modifiers: '${t?.parent?.name?.escapedText}'.`));
295
- d = m, k = !0;
296
- }
297
- }
298
- if (!k) return void S("node", new Error(`'${c}' is not a valid type: '${t?.parent?.name?.escapedText}'.`));
299
- const b = t.typeArguments;
300
- if (b) {
301
- if (b.length !== 1) return void S(t, new Error(`'${c}' must be typed with exactly 1 type: '${t?.parent?.name?.escapedText}'.`));
302
- n(b[0], d, E, l);
303
- }
304
- }
305
- } else S(t, new Error(`Type is not defined for '${d?.name ?? "return"}'.`));
306
- }, i = [], S = (t, d) => {
307
- i.push(d);
308
- };
309
- if (s.forEachChild(Z, (t) => {
310
- if (E = t, (s.getCombinedModifierFlags(E) & s.ModifierFlags.Export) !== 0 && s.isFunctionDeclaration(t)) {
311
- const l = {}, c = { parameters: {} }, N = t?.name?.getText();
312
- try {
313
- l.name = N;
314
- const k = P.getSymbolAtLocation(t.name).getDocumentationComment(P);
315
- if (k && k.length > 0 && k[0].text) {
316
- let m = k[0].text;
317
- m = m.replace(/[\r\n]+/g, "\\n").trim(), c.summary = m;
318
- }
319
- const D = {};
320
- n(t.type, D, l, !1), l.returnType = D;
321
- const b = {};
322
- d = t, (s.getCombinedModifierFlags(d) & s.ModifierFlags.Default) !== 0 && (b.default = !0, U = N), Object.keys(b).length > 0 && (l.behavior = b), l.parameters = [];
323
- const g = /* @__PURE__ */ new Map();
324
- for (let m = 0; m < t.parameters.length; m++) {
325
- const o = t.parameters[m], h = {};
326
- h.name = o.name?.getText();
327
- const $ = n(o.type, h, l, !0);
328
- if ($) {
329
- if (l.parameters.length !== 0) {
330
- const B = t?.parent, C = B?.name?.getText();
331
- return void S(t, new Error(`'${l.name}' contexts must be the first parameter: '${C}'.`));
332
- }
333
- l.context = $;
334
- continue;
335
- }
336
- let L;
337
- if ((o.initializer !== void 0 && o.initializer !== null || o.questionToken !== void 0 && o.questionToken !== null) && (h.optional = !0, o.initializer)) try {
338
- L = o.initializer.kind === s.SyntaxKind.StringLiteral ? o.initializer.text : o.initializer.kind === s.SyntaxKind.NumericLiteral ? parseFloat(o.initializer.text) : o.initializer.kind === s.SyntaxKind.TrueKeyword || o.initializer.kind === s.SyntaxKind.FalseKeyword ? o.initializer.kind === s.SyntaxKind.TrueKeyword : o.initializer.kind === s.SyntaxKind.NullKeyword ? null : o.initializer.kind === s.SyntaxKind.ObjectLiteralExpression || o.initializer.kind === s.SyntaxKind.ArrayLiteralExpression ? o.initializer.getText() : o.initializer.getText?.();
339
- } catch (B) {
340
- console.warn(`Couldn't extract default value for parameter '${h.name}'`, B);
341
- }
342
- o.dotDotDotToken && (h.rest = !0), l.parameters.push(h);
343
- const w = { description: "" };
344
- c.parameters[h.name] = w;
345
- const u = P.getSymbolAtLocation(o.name).getDocumentationComment(P);
346
- u && u.length > 0 && u[0].text && (w.description = u[0].text), L !== void 0 && (w.defaultValue = L), g.set(h.name, h);
347
- }
348
- if (t.jsDoc && t.jsDoc.length > 0) {
349
- const m = t.jsDoc;
350
- for (let o = 0; o < m.length; o++) {
351
- const h = m[o]?.tags;
352
- if (h) for (let $ = 0; $ < h.length; $++) {
353
- const L = h[$];
354
- let w = L?.tagName?.text;
355
- if (!w) continue;
356
- w = w.toLowerCase();
357
- let u = L.comment;
358
- const B = w === "hidden";
359
- if ((typeof u == "string" || B) && (typeof u == "string" && (u = u.replace(/[\r\n]+/g, "\\n").trim()), B || !u || (u = u.split(/\\n/)[0], u && u.length !== 0))) {
360
- if (u && typeof u == "string") {
361
- const C = /\{@link(code|plain)?\s+([^}|]+)(?:\s*\|\s*([^}]+))?\}/g;
362
- let v, R = u, V = [];
363
- for (; (v = C.exec(u)) !== null; ) {
364
- const [ee, te, ye, ae] = v, fe = [ye.trim()];
365
- ae && fe.push(ae.trim());
366
- }
367
- u = R, V.length > 0 && w === "see" && (c.links || (c.links = []), c.links.push(...V));
368
- }
369
- if (w === "name") {
370
- const C = u;
371
- C !== N && (c.name = C);
372
- } else if (w !== "description") {
373
- if (w === "summary") {
374
- const C = u;
375
- C && (c.summary = C);
376
- } else if (w === "param") {
377
- const C = L.name?.text, v = g.get(C);
378
- if (!v) {
379
- i.push(new Error(`Parameter '${C}' not found in function '${N}'.`));
380
- continue;
381
- }
382
- if (L.typeExpression && L.typeExpression.type) try {
383
- const R = L.typeExpression.type;
384
- if (R.kind === s.SyntaxKind.UnionType) {
385
- const V = [];
386
- v.enums = V, R.types.forEach((ee) => {
387
- if (ee.kind === s.SyntaxKind.LiteralType) {
388
- const te = ee.literal.text;
389
- te && V.push(te);
390
- }
391
- });
392
- }
393
- } catch (R) {
394
- console.warn("Error parsing JSDoc type expression:", R);
395
- }
396
- } else if (w === "returns" || w === "return") l.returnType.description = u;
397
- else if (w === "category") c.category = u;
398
- else if (w === "hidden") {
399
- let C = !0;
400
- const v = u?.toLowerCase();
401
- v === "false" ? C = !1 : v !== "true" && (C = u), C !== !1 && (c.hidden = C ?? !0);
402
- }
403
- }
404
- }
405
- }
406
- }
407
- }
408
- Object.keys(l.returnType).length === 0 && delete l.returnType, z.push([l, c]);
409
- } catch (k) {
410
- S(t, new Error(`'${N}': ${k.message}`));
411
- }
412
- }
413
- var d, E;
414
- }), i.length > 0) throw console.warn(i), new Error("There were compilation errors.", { cause: i });
415
- if (z.length === 0) throw new Error("No exported functions.");
416
- const J = `${he.uuidV4()}-script`;
417
- try {
418
- T || i.length !== 0 || (K = await async function(t, d, E = "/script.js", l = "__SHEETXL") {
419
- try {
420
- const c = await async function() {
421
- if (A) return A;
422
- if (H) {
423
- if (await H, !A) throw new Error("ESBuild initialization promise resolved, but instance is not available.");
424
- return A;
425
- }
426
- let g, m;
427
- H = new Promise((o, h) => {
428
- g = o, m = h;
429
- });
430
- try {
431
- const { initialize: o } = await import("./2vIB3gG-Ct-P7aHY.js");
432
- return A = await o(), g(), A;
433
- } catch (o) {
434
- throw console.error("Failed to import or initialize esbuild:", o), H = null, m(o), o;
435
- }
436
- }(), N = "@sheetxl/primitives", k = `
437
- export const FormulaContext = globalThis.${l}?.FormulaContext;
438
- export const ScalarType = globalThis.${l}?.ScalarType;
439
- export const Observable = globalThis.${l}?.Observable;
440
- export const IRange = globalThis.${l}?.IRange;
441
- export const FormulaError = globalThis.${l}?.FormulaError;
442
- // Add more exports as needed
443
- `, D = { name: "sheetxl-esbuild-in-memory", setup(g) {
444
- const m = "sheetxl-" + (/* @__PURE__ */ new Date()).getTime();
445
- g.onResolve({ filter: new RegExp(`^(${E.replace("/", "\\/")}|${N})$`) }, (o) => ({ path: o.path, namespace: m })), g.onResolve({ filter: /.*/ }, (o) => {
446
- if (o.namespace !== m) return console.warn(`esbuild: Treating import "${o.path}" as external.`), { path: o.path, external: !0 };
447
- }), g.onLoad({ filter: /.*/, namespace: m }, (o) => {
448
- let h;
449
- if (o.path === E) h = d;
450
- else {
451
- if (o.path !== N) return { errors: [{ text: `Cannot load unknown path in ${m}: ${o.path}` }] };
452
- h = k;
453
- }
454
- return { contents: h, loader: "ts" };
455
- });
456
- } }, b = await c.build({ entryPoints: [E], bundle: !0, write: !1, format: "esm", plugins: [D], sourcemap: "inline", tsconfigRaw: we, minify: !0, platform: "neutral" });
457
- if (b.outputFiles && b.outputFiles.length > 0) return b.outputFiles[0].text;
458
- throw b.errors && b.errors.length > 0 ? new Error(`esbuild bundling failed: ${b.errors.map((g) => g.text).join(`
459
- `)}`) : new Error("esbuild did not produce an output file.");
460
- } catch (c) {
461
- throw console.error("esbuild bundling process failed:", c), c;
462
- }
463
- }(0, K, M));
464
- } catch {
465
- console.warn("Error bundling script");
466
- }
467
- const re = { functions: z, commitId: J, source: a, name: "Script", language: "typescript", compiled: K };
468
- return U && (re.autoRun = U), re;
469
- }
470
- export {
471
- Se as compileModule
472
- };
@@ -1,23 +0,0 @@
1
- import { jsx as n, jsxs as C } from "react/jsx-runtime";
2
- import { useState as m } from "react";
3
- import { P as a, Q as O, $ as b, h as H, R as s, U as l, b as r } from "./BFvB3zk5mbav2VDI.js";
4
- /**
5
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.20
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 x = ({ range: h, options: c, cell: p, onDone: d, ...v }) => {
11
- const [t, o] = m(c ?? a.DefaultRangeOptions), u = O((e) => {
12
- let i = null;
13
- e === "Sort" && (i = { ...c, options: t }), d?.(i);
14
- }, [t, d, c]);
15
- return n(b, { title: "Sort", options: ["Sort", "Cancel"], onDone: u, ...v, children: C(H, { sx: { display: "flex", flexDirection: "column" }, children: [n(s, { control: n(l, { checked: !t.reverse, onChange: () => o((e) => ({ ...e, reverse: !e.reverse })) }), label: "Is Ascending", labelPlacement: "end" }), n(s, { control: n(l, { checked: t.hasHeader, onChange: () => o((e) => ({ ...e, hasHeader: !e.hasHeader })) }), label: "Has Header", labelPlacement: "end" }), n(s, { control: n(l, { checked: t.collatorOptions?.sensitivity === a.CaseSensitiveOptions.sensitivity, onChange: () => o((e) => ({ ...e, collatorOptions: t.collatorOptions?.sensitivity === a.CaseSensitiveOptions.sensitivity ? a.CaseInsensitiveOptions : a.CaseSensitiveOptions })) }), label: "Case Sensitive", labelPlacement: "end" }), n(s, { control: n(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 { ...h.getDefaultSortCriteria(i, p).options, includeHidden: e.includeHidden, reverse: e.reverse, orientation: i };
18
- }) }), label: "Row Sort", labelPlacement: "end" }), n(s, { control: n(l, { checked: t.includeHidden, onChange: () => o((e) => ({ ...e, includeHidden: !e.includeHidden })) }), label: "Include Hidden", labelPlacement: "end" })] }) });
19
- };
20
- export {
21
- x as SortDialog,
22
- x as default
23
- };
@@ -1,58 +0,0 @@
1
- import { jsx as a, jsxs as s } from "react/jsx-runtime";
2
- import { memo as O, useState as r, useRef as E, useReducer as M, useMemo as A } from "react";
3
- import { a3 as W, a4 as Q, a5 as V, a6 as k, Q as x, a7 as q, a8 as G, h as n, a9 as J, aa as K, ab as f, ac as U, ad as X, ae as y, af as b, ag as w, ah as S } from "./BFvB3zk5mbav2VDI.js";
4
- /**
5
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.20
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 te = O((C) => {
11
- const { title: v, onHide: N, autoFocusSel: R = ".range-input input", context: T, notifier: l = W, command: c, commands: d, ...D } = C, [F, g] = r(!1), [m, p] = r(!1), h = E(null), [Y, H] = M((e) => e + 1, 0), [B, { width: Z }] = Q();
12
- V(c);
13
- const o = T ?? c.context(), t = o.table(), [I, P] = r(() => t ? o.getNames().getRanges(t.getRange()) : null), j = A(() => t?.getName() ?? "", [t]);
14
- k(o.table(), { onAnchorCoordsChange(e) {
15
- P(o.getNames().getRanges(e.getRange()));
16
- }, onProtectedChange(e) {
17
- H();
18
- } });
19
- const z = x((e) => {
20
- o?.table().setName(e);
21
- }, [o]), L = x((e) => {
22
- o?.table().resize(e.at(0));
23
- }, [o]);
24
- let u = null;
25
- return o.table() || (u = a("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("div", { children: "No table selected" }) })), a(q, { ref: h, title: v ?? "Table Details", initialPosition: { y: "35" }, autoFocusSel: R, onHide: N, onFocus: () => g(!0), onBlur: (e) => {
26
- h?.current?.contains(e.relatedTarget) || g(!1);
27
- }, PaperProps: { elevation: F ? 3 : 1 }, ...D, children: s(G, { dividers: !0, ref: B, sx: { display: "flex", flexDirection: "column", position: "relative", paddingLeft: (e) => e.spacing(1.5), paddingRight: (e) => e.spacing(1.5) }, children: [s(n, { sx: { display: "flex", flexDirection: "column", transition: "opacity 60ms", opacity: o.table() ? 1 : 0 }, children: [a(n, { sx: { display: "flex", flexDirection: "row", gap: (e) => e.spacing(1) }, children: a(n, { sx: { display: "flex", flexDirection: "column", maxWidth: "100%", boxSizing: "border-box", paddingLeft: (e) => e.spacing(2), paddingRight: (e) => e.spacing(2) }, children: s(n, { sx: { display: "flex", flexDirection: "column", alignItems: "center" }, children: [a(J, { formName: "name", defaultInput: j, value: t?.getName() ?? "No table", onChangeInput: z, onValidate: (e) => {
28
- t && t.getName().toLowerCase() === e.toLowerCase() || o?.getNames().validateName(e);
29
- }, disabled: t?.isProtected() ?? !0, onFocus: (e) => {
30
- m || e.target?.select(), p(!0);
31
- } }), a(K, { formName: "range", value: I, onChangeInput: L, resolvedAddress: o.getNames().getRanges.bind(o.getNames()), disabled: t?.isProtected() ?? !0, onFocus: (e) => {
32
- m || e.target?.select(), p(!0);
33
- } })] }) }) }), s(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(f, { orientation: "horizontal", sx: { marginTop: (e) => e.spacing(1.5), marginBottom: (e) => e.spacing(0.75) } }), a(U, { 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(n, { sx: { display: "flex", alignItems: "center", justifyContent: "center", flexDirection: "column", marginTop: (e) => e.spacing(2), marginBottom: (e) => e.spacing(1) }, children: a(X, { table: t, styles: o.styles(), bodyStyle: o.bodyStyle(), cellHeight: 30, isLive: !0 }) }), a(f, { orientation: "horizontal" }), s(n, { sx: { display: "flex", flexDirection: "column", justifyContent: "center" }, children: [a(y, { variant: w.Menuitem, command: d.getCommand("convertTableToRange"), commandState: t, icon: b(a(S, {})) }), a(y, { variant: w.Menuitem, commandState: t, command: d.getCommand("deleteTable"), icon: b(a(S, {})) })] })] })] }), u] }) });
54
- });
55
- export {
56
- te as TableDetailsWindow,
57
- te as default
58
- };
@@ -1,46 +0,0 @@
1
- import { jsx as o, jsxs as A } from "react/jsx-runtime";
2
- import { memo as E, useMemo as O, useState as g, useCallback as P } from "react";
3
- import { Q as f, $ as S, h as U, i as b, l as D, p as l, a0 as p } from "./BFvB3zk5mbav2VDI.js";
4
- /**
5
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.20
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 V = ["Ok", "Cancel"], q = E((F) => {
11
- const { initialHyperlink: n = null, initialDisplay: H = null, onUpdateHyperlink: m, context: s, onOption: x, onValidateOption: r, onDone: d, options: h = V, defaultOption: c = h?.[0], cancelOption: i = "Cancel", sx: I, ...v } = F, w = O(() => (n ?? s?.()?.getHyperlink()) !== null, []), y = O(() => {
12
- let e = null, t = null;
13
- n && (typeof n == "string" ? t = n : e = n);
14
- const C = e ?? s?.()?.getHyperlink();
15
- return { address: t ?? C?.getAddress() ?? "", textToDisplay: C?.getDisplayText() ?? "" };
16
- }, [n, s]), [a, M] = g(y.address), [u, $] = g(() => {
17
- const e = s?.().toTextUnformatted() ?? H;
18
- return e === y.address ? "" : e;
19
- }), [B, k] = g(!1), L = P((e) => {
20
- $(e.target.value);
21
- }, []), T = P(async (e, t) => null, []), W = f(async (e) => {
22
- e !== i && m?.(a === "" ? null : { address: a }, u), x?.(e, e === i, e === c), d?.();
23
- }, [a, u, m, d, x, c, i]), j = f((e) => {
24
- M(e.target.value), T(e.target.value, null);
25
- }, [r]), z = f(async (e) => {
26
- let t = await Promise.resolve(r?.(e));
27
- try {
28
- t !== !1 && (t = await T(a, e));
29
- } catch {
30
- }
31
- return t ?? !0;
32
- }, [r]);
33
- return o(S, { title: (w ? "Edit" : "Insert") + " Link", options: h, onDone: d, onOption: (e) => W(e), onValidateOption: z, defaultOption: c, cancelOption: i, autoFocusSel: ".autoFocus", sx: { width: "480px", ...I }, ...v, children: A(U, { sx: { paddingTop: (e) => e.spacing(1), paddingBottom: (e) => e.spacing(0), rowGap: (e) => e.spacing(1), display: "flex", flexDirection: "column" }, children: [o(b, { sx: { paddingTop: (e) => e.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: o(D, { label: "Address", placeholder: "Enter a url or cell reference.", onFocus: (e) => {
34
- B || e.target?.select(), k(!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(${l("#fff", p(5))}, ${l("#fff", p(5))})` } } }, value: a, onChange: j, onContextMenu: (e) => {
36
- e.stopPropagation();
37
- } }) }), o(b, { sx: { paddingTop: (e) => e.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: o(D, { label: "Display Text", placeholder: a?.startsWith("#") ? a.substring(1) : a, onFocus: () => {
38
- k(!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(${l("#fff", p(5))}, ${l("#fff", p(5))})` } } }, value: u, onChange: L, onContextMenu: (e) => {
40
- e.stopPropagation();
41
- } }) })] }) });
42
- });
43
- export {
44
- q as HyperlinkDialog,
45
- q as default
46
- };
@@ -1,49 +0,0 @@
1
- import { jsx as t, jsxs as f } from "react/jsx-runtime";
2
- import { memo as G, useState as h, useCallback as F, useEffect as H, useMemo as w } from "react";
3
- import { Q as r, V as K, W as n, $ as Q, h as P, i as S, X, Z, p, a0 as c, l as q, a1 as $, a2 as A } from "./BFvB3zk5mbav2VDI.js";
4
- /**
5
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.20
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 J = ["Ok", "Cancel"], aa = G((D) => {
11
- const { initialValue: I, context: x, onOption: C, onValidateOption: u, onInputOption: b, onDone: d, options: v = J, defaultOption: l = v?.[0], cancelOption: m = "Cancel", sx: V, ...N } = D, [e, T] = h(I), [j, M] = h(!1), g = F(async (a, o) => !0, []), y = r(async (a) => {
12
- b?.(e, a), C?.(a, a === m, a === l), d?.();
13
- }, [e, b, d, C, m, l]), W = r(async (a) => {
14
- a.keyCode === K.Enter && await g?.(e, null) !== !1 && y(l);
15
- }, [e, y]), z = r((a) => {
16
- T(a.target.value), g?.(a.target.value, null);
17
- }, [u]), B = r(async (a) => {
18
- let o = await Promise.resolve(u?.(a));
19
- try {
20
- o !== !1 && (o = await Promise.resolve(g?.(e, a)) ?? !0);
21
- } catch {
22
- }
23
- return o ?? !0;
24
- }, [u]), [k, O] = h(n.Styles.lookupStyle(e).formatType ?? n.Type.Custom);
25
- H(() => {
26
- O(n.Styles.lookupStyle(e).formatType ?? n.Type.Custom);
27
- }, [e]);
28
- const E = w(() => {
29
- const a = n.Styles.lookupPrimary(), o = (i) => t(A, { value: i, children: i }, i), s = Object.keys(a).map((i) => o(a[i].formatType));
30
- return s.push(o(n.Type.Custom)), s;
31
- }, []), L = F((a) => {
32
- const o = a.target.value;
33
- O(o);
34
- const s = n.Styles.lookupDefault(o);
35
- s && T(s);
36
- }, []), R = w(() => {
37
- const a = x();
38
- return a.createTemporaryCell({ value: a.getValue() ?? 12345, style: { numberFormat: e } });
39
- }, [k, e, x]);
40
- return t(Q, { title: "Number Format", options: v, onDone: d, onOption: (a) => y(a), onValidateOption: B, defaultOption: l, cancelOption: m, autoFocusSel: ".autoFocus", sx: { width: "580px", ...V }, ...N, children: f(P, { sx: { paddingTop: (a) => a.spacing(1), paddingBottom: (a) => a.spacing(0), rowGap: (a) => a.spacing(1), display: "flex", flexDirection: "column" }, children: [f(S, { sx: { minWidth: 135 }, size: "small", children: [t(X, { children: "Category" }), t(Z, { value: k, label: "Category", onChange: L, sx: { backgroundImage: `linear-gradient(${p("#fff", c(5))}, ${p("#fff", c(5))})` }, children: E })] }), t(S, { sx: { paddingTop: (a) => a.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: t(q, { label: "Code", onFocus: (a) => {
41
- j || a.target?.select(), M(!0);
42
- }, sx: { "& .MuiFormHelperText-root": { marginTop: (a) => a.spacing(0.5) } }, InputLabelProps: { shrink: !0 }, InputProps: { inputProps: { className: "autoFocus", spellCheck: !1, autoComplete: "off", sx: { paddingTop: (a) => a.spacing(1.25), paddingBottom: (a) => a.spacing(0.75), backgroundImage: `linear-gradient(${p("#fff", c(5))}, ${p("#fff", c(5))})` } } }, value: e, onChange: z, onKeyDown: W, onContextMenu: (a) => {
43
- a.stopPropagation();
44
- } }) }), f(P, { children: [t($, { variant: "caption", component: "div", sx: { paddingLeft: (a) => a.spacing(2) }, children: "Preview" }), t($, { variant: "body2", component: "div", sx: { borderRadius: (a) => `${a.shape.borderRadius}px`, padding: (a) => a.spacing(1), border: (a) => `1px solid ${a.palette.grey[400]}` }, children: R.getNumberFormat().displayText || "(empty)" })] })] }) });
45
- });
46
- export {
47
- aa as NumberFormatDialog,
48
- aa as default
49
- };