@sheetxl/studio-vanilla 0.3.3 → 0.3.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (201) hide show
  1. package/browser/cjs/{C-YXuaIn5H1e3gGL.cjs → -aNm3r-RpjcRRCbw.cjs} +2 -2
  2. package/browser/cjs/6e91IXsvk9_k3W5c.cjs +6 -0
  3. package/browser/cjs/{TJOJ_VEsTmCJ4d0P.cjs → BLHbDre9R0bvyb9G.cjs} +2 -2
  4. package/browser/cjs/BN0MiwKQ8NjKXgue.cjs +7 -0
  5. package/browser/cjs/BNtn_2pcq6Dd-2HL.cjs +11 -0
  6. package/browser/cjs/{-mcHZst9U0zNDZao.cjs → BW_fZwvTtMLqteuJ.cjs} +1 -1
  7. package/browser/cjs/{Dh5RBi3PW-5ty2QU.cjs → Bg9KIoDuqtkhIYfN.cjs} +1 -1
  8. package/browser/cjs/{D4a_UoEEluqny9gi.cjs → BiiW2FlRZHxGIWso.cjs} +1 -1
  9. package/browser/cjs/{pPJG7KbyLkcVi77H.cjs → Biyqj-Wu75uxLHv1.cjs} +2 -2
  10. package/browser/cjs/BwocMiKAPb8s__1Z.cjs +6 -0
  11. package/browser/cjs/{CSZ-Bfo-TZpVumqr.cjs → CdWBtYv7LuuDLPL2.cjs} +1 -1
  12. package/browser/cjs/CuY7mAREmYhHuYWx.cjs +6 -0
  13. package/browser/cjs/CvESC6HiL0-peppq.cjs +12 -0
  14. package/browser/cjs/{VXCGmehGJvuKNhXg.cjs → Cxt39d6l0pu9k1vT.cjs} +8 -8
  15. package/browser/cjs/{DbSTC90BuNxq2k-j.cjs → D7NgrO__M-IUmM8o.cjs} +1 -1
  16. package/browser/cjs/{DnkioRlJqXrbcW-8.cjs → DCWZ2ZkLp-Horeca.cjs} +1 -1
  17. package/browser/cjs/DDhq2nYMdw5b7wP6.cjs +301 -0
  18. package/browser/cjs/{Bhq8u8Q04XpLmF4K.cjs → DIawrhwQ7E_1l99b.cjs} +6 -6
  19. package/browser/cjs/{BoBKeal3_qovATWu.cjs → DKit140jXAUUSf-_.cjs} +2 -2
  20. package/browser/cjs/DKsZXMMHWKP9IZ4E.cjs +12 -0
  21. package/browser/cjs/DeAt9vyyaeB2vbxQ.cjs +6 -0
  22. package/browser/cjs/Dkl2t2DSaDxPbm2V.cjs +6 -0
  23. package/browser/cjs/Ya4f5p9go_UndgNy.cjs +6 -0
  24. package/browser/cjs/{BnYTCcol8RjTTC3U.cjs → hSI9QVPgIxqt3pXc.cjs} +1 -1
  25. package/browser/cjs/index.cjs +2 -2
  26. package/browser/cjs/qjPE6k7aYlu-R90s.cjs +6 -0
  27. package/browser/cjs/{WKvz7zs0yI8-TRzJ.cjs → yvA5FY7oe6FILMqB.cjs} +1 -1
  28. package/{cdn/assets/DAC77jdtNbZopLX5.js → browser/esm/BLsIMzjofsOnRFrU.mjs} +16 -16
  29. package/{cdn/assets/DQQK1YdQWQGsESk_.js → browser/esm/BTQ-TGJnw7w1Y0CX.mjs} +14 -14
  30. package/browser/esm/{BNixyL5UPlHciWwi.mjs → BdLAPrmXIfjGFhhA.mjs} +152 -152
  31. package/browser/esm/BsDYj6xix3mlXry2.mjs +46 -0
  32. package/browser/esm/Btk74VwCVJ1T5LQD.mjs +46 -0
  33. package/browser/esm/{DhFd9KX61TdmTNyk.mjs → C60KakDbde-A4anI.mjs} +1 -1
  34. package/browser/esm/{1Esqj-uAqAeHBGzU.mjs → CAm14rTtmPL5-rvQ.mjs} +193 -192
  35. package/browser/esm/{CZ9K3g_56s3hfJO0.mjs → CLTP12OHGQ2k4_Kt.mjs} +21 -20
  36. package/browser/esm/{BXkh5kfYj7Zx_PAe.mjs → CPWh2H15145LP-d5.mjs} +1 -1
  37. package/browser/esm/CYXzmWJtZn5OJVBF.mjs +24861 -0
  38. package/{cdn/assets/BQFdL0Ou_nLqI7lR.js → browser/esm/ChMaIhqaEhF3SLLt.mjs} +6 -6
  39. package/browser/esm/{nT3k8GnD4H3I293i.mjs → CntwHkPpskE88Ixu.mjs} +11 -10
  40. package/{cdn/assets/C1opHAkl00_vHPMO.js → browser/esm/CsVV_QnEl77BQM3V.mjs} +1 -1
  41. package/{cdn/assets/iHc25sW_jPEvAQNG.js → browser/esm/CvFAAktSd9TQK1h4.mjs} +1 -1
  42. package/browser/esm/{DwLRqrlPfv8xcbxB.mjs → D0-tgawYa4KXYT2c.mjs} +2 -2
  43. package/browser/esm/{B3iFtnvwZZ0izvkj.mjs → D244UwY3qPC_LNc5.mjs} +2 -2
  44. package/{cdn/assets/B1bRlKApOQZbRHvx.js → browser/esm/DCuLWmzd9eLWgI03.mjs} +1 -1
  45. package/{cdn/assets/Dwd9xRP6sCbvd7-2.js → browser/esm/DDD5zfwNNPKuc_zZ.mjs} +1 -1
  46. package/browser/esm/{BZD8sqVzxMPTV1eH.mjs → DFa_tXqv1VN1OZdv.mjs} +75 -74
  47. package/{cdn/assets/Cqq1J11IdNmbXlgF.js → browser/esm/DJxioSY-hxyM7dmk.mjs} +24 -23
  48. package/{cdn/assets/Dkcj5uYhkoaa5JJt.js → browser/esm/DdrICyX8Ead15N32.mjs} +7 -7
  49. package/{cdn/assets/vw_ELbpa8MGzVBfc.js → browser/esm/Di2tNceI3NodSsgU.mjs} +10 -10
  50. package/browser/esm/{B7RdrgkvZilWOBgD.mjs → Did46-x6ZVwk_-r-.mjs} +1 -1
  51. package/browser/esm/Q1yWEkJBu4cVEF33.mjs +1467 -0
  52. package/browser/esm/index.mjs +2 -2
  53. package/{cdn/assets/CtW_m0lUeW_X_FHB.js → browser/esm/mq5uPzTIc1x8unBP.mjs} +1 -1
  54. package/browser/esm/wziCLl5xvHu6Guu_.mjs +22 -0
  55. package/cdn/assets/B41q92oKD_VR31Dd.js +46 -0
  56. package/cdn/assets/{DJ3siDIdJVpw0GCs.js → BOl7blN8JotSzCHJ.js} +2 -2
  57. package/{browser/esm/CaLAEGMKeQ3INVEV.mjs → cdn/assets/Bs-psXrTRw1jFety.js} +14 -14
  58. package/cdn/assets/{3ijH6Pl-l2q9T5Ky.js → BzptX9H_YCM2l0DE.js} +11 -10
  59. package/cdn/assets/{DhFd9KX61TdmTNyk.js → C60KakDbde-A4anI.js} +1 -1
  60. package/{browser/esm/Bz98C5-blFN81GJ-.mjs → cdn/assets/C8omEbSXHWI_wNjp.js} +10 -10
  61. package/{browser/esm/C7cRxJLNfGjCT_Hk.mjs → cdn/assets/CEXK9SXjFf1dGHZe.js} +16 -16
  62. package/cdn/assets/{BXkh5kfYj7Zx_PAe.js → CPWh2H15145LP-d5.js} +1 -1
  63. package/cdn/assets/C_E1C68wCcRpC6XN.js +46 -0
  64. package/cdn/assets/{D5Ns-uBNTj4-Jo0p.js → ClFGbVy7cnhMW-dO.js} +2 -2
  65. package/cdn/assets/{C4Vp4GoCEGQgWaGc.js → CoCIP7n4THmzOggq.js} +75 -74
  66. package/{browser/esm/C1opHAkl00_vHPMO.mjs → cdn/assets/CsVV_QnEl77BQM3V.js} +1 -1
  67. package/{browser/esm/iHc25sW_jPEvAQNG.mjs → cdn/assets/CvFAAktSd9TQK1h4.js} +1 -1
  68. package/{browser/esm/CdJVpNbmXP_fHybW.mjs → cdn/assets/Cz33L9W3cdQckAL5.js} +24 -23
  69. package/{browser/esm/DTHujOSrUxuBuwud.mjs → cdn/assets/DBgbBl_3O65WhfWN.js} +6 -6
  70. package/{browser/esm/B1bRlKApOQZbRHvx.mjs → cdn/assets/DCuLWmzd9eLWgI03.js} +1 -1
  71. package/{browser/esm/Dwd9xRP6sCbvd7-2.mjs → cdn/assets/DDD5zfwNNPKuc_zZ.js} +1 -1
  72. package/cdn/assets/DLYF-18qErpwF9Q-.js +1467 -0
  73. package/cdn/assets/{Dk8MDG7PNGIWw80U.js → DXMyzCcyP7039z13.js} +238 -238
  74. package/{browser/esm/FXy016gXiiQkH7aF.mjs → cdn/assets/DdrICyX8Ead15N32.js} +7 -7
  75. package/cdn/assets/{B7RdrgkvZilWOBgD.js → Did46-x6ZVwk_-r-.js} +1 -1
  76. package/cdn/assets/{ukDxhSJqMPzLXoCP.js → Dj3GhNedlKE9TeTn.js} +193 -192
  77. package/cdn/assets/F-RqJeKWiW4i5344.js +24708 -0
  78. package/cdn/assets/{DirkLhQ9-HVY0eDv.js → NHbXgEQMftGzY01r.js} +21 -20
  79. package/cdn/assets/lM5it-aJgI7DLNH9.js +22 -0
  80. package/{browser/esm/CtW_m0lUeW_X_FHB.mjs → cdn/assets/mq5uPzTIc1x8unBP.js} +1 -1
  81. package/cdn/index.js +2 -2
  82. package/cdn/loader.js +1 -1
  83. package/package.json +3 -2
  84. package/browser/cjs/-q2o2lS8jxJdArvq.cjs +0 -6
  85. package/browser/cjs/-wP4OG5GpQTxGLJN.cjs +0 -6
  86. package/browser/cjs/2TmE8J3tbgenWyNa.cjs +0 -6
  87. package/browser/cjs/3ghCxtNVxZjrbziE.cjs +0 -6
  88. package/browser/cjs/6AlZR3dVayTg7C5E.cjs +0 -452
  89. package/browser/cjs/B0BcYYAX9Qq_i5Iv.cjs +0 -6
  90. package/browser/cjs/B237Hj6a3Klw9rQn.cjs +0 -12
  91. package/browser/cjs/B24aLncmXYgEQNjl.cjs +0 -6
  92. package/browser/cjs/B9C-V-MR_epPI-2J.cjs +0 -6
  93. package/browser/cjs/BASowCefqJFspuu-.cjs +0 -6
  94. package/browser/cjs/BeDnbSWoeqV6GajE.cjs +0 -6
  95. package/browser/cjs/BucBlzmuZS_nYU9N.cjs +0 -6
  96. package/browser/cjs/C662YNYNcFb-AwnS.cjs +0 -6
  97. package/browser/cjs/CGg3vZ0YENmM73uu.cjs +0 -6
  98. package/browser/cjs/CJ9WKDMLDxv2vmlL.cjs +0 -6
  99. package/browser/cjs/CcxjUuuq3eq1io9D.cjs +0 -6
  100. package/browser/cjs/Ch4kNO1QwQ4Dqczw.cjs +0 -124
  101. package/browser/cjs/CrXR8mOrQVdukohR.cjs +0 -6
  102. package/browser/cjs/CuLinKNAohDMFqJU.cjs +0 -6
  103. package/browser/cjs/D0Ruzl2vdZGdUhjE.cjs +0 -12
  104. package/browser/cjs/D4CfqUrC04nbs39G.cjs +0 -6
  105. package/browser/cjs/D6cHa8Tv5I8L_uAO.cjs +0 -6
  106. package/browser/cjs/D7MyL7xgt0wGGz3I.cjs +0 -13
  107. package/browser/cjs/D7U5Wmdc51Op-pty.cjs +0 -6
  108. package/browser/cjs/D9SYWsd_viMxXbL_.cjs +0 -6
  109. package/browser/cjs/DMIPzZRAbLsma6rR.cjs +0 -7
  110. package/browser/cjs/DPTxGnV0pA87nrhG.cjs +0 -32
  111. package/browser/cjs/DTtUhkXmo3x2L2GG.cjs +0 -6
  112. package/browser/cjs/DgBFcVOVhZuytQ4k.cjs +0 -6
  113. package/browser/cjs/DoCfDJUgwatpHG4J.cjs +0 -1501
  114. package/browser/cjs/Dwc5vGQ4nkaSmift.cjs +0 -6
  115. package/browser/cjs/GbU6d05bhcxQrAUD.cjs +0 -15
  116. package/browser/cjs/OW7aZPHGxXjRF38A.cjs +0 -6
  117. package/browser/cjs/WQBNSYPbQzvO23r-.cjs +0 -6
  118. package/browser/cjs/XF920uRM7LSmFp49.cjs +0 -6
  119. package/browser/cjs/XazDEHRGho7wJTUR.cjs +0 -6
  120. package/browser/cjs/Zjw2XvR7-Zfykt20.cjs +0 -6
  121. package/browser/cjs/eM5uLWq0QtvNN4O-.cjs +0 -6
  122. package/browser/cjs/gjPOOFOH_THG1O-L.cjs +0 -6
  123. package/browser/cjs/hhZA8Q_VAVRnX3Rz.cjs +0 -7
  124. package/browser/cjs/qjCnEqCfcXzLIady.cjs +0 -6
  125. package/browser/cjs/s238D5kFNyDNYzIV.cjs +0 -6
  126. package/browser/cjs/t-6Fa6b5-CXTHDjn.cjs +0 -6
  127. package/browser/cjs/zvHV2c0_QPS3v2Wt.cjs +0 -11
  128. package/browser/esm/B-v14ikVOXpmpHCI.mjs +0 -5560
  129. package/browser/esm/B1M7fpFXcO34FZ5C.mjs +0 -29
  130. package/browser/esm/B6nZCfPr7UmxzAi6.mjs +0 -48671
  131. package/browser/esm/B7k3pb4haBsw-Yvr.mjs +0 -10
  132. package/browser/esm/B8ajmWm1J-ZsmBzK.mjs +0 -10
  133. package/browser/esm/BGvKR9TNj2ORlcKm.mjs +0 -10
  134. package/browser/esm/Bc8y371ooCwvBkRs.mjs +0 -10
  135. package/browser/esm/BezHCUZawkIGzzUm.mjs +0 -422
  136. package/browser/esm/BnxMjyy6JPTUe9Lg.mjs +0 -10
  137. package/browser/esm/BskzQvqHyjuVccIH.mjs +0 -22
  138. package/browser/esm/BzS_V6RkpVpk_d1w.mjs +0 -472
  139. package/browser/esm/CM--Vw5PcrLIXc8O.mjs +0 -12
  140. package/browser/esm/CflOcniWVa_VR5Wy.mjs +0 -10
  141. package/browser/esm/Cn9w-KgbsxAKNj6s.mjs +0 -10
  142. package/browser/esm/D6KdwQgZEBMy0260.mjs +0 -10
  143. package/browser/esm/DAOw8vm-XsJ_n7BK.mjs +0 -10
  144. package/browser/esm/DIKvxkHBBvYo2rnC.mjs +0 -10
  145. package/browser/esm/DNVkA-vwqtIw6aKf.mjs +0 -1575
  146. package/browser/esm/DTS0EgQuwHdS5aQN.mjs +0 -10
  147. package/browser/esm/DaeiyDhcdRvg5nGs.mjs +0 -1466
  148. package/browser/esm/DeSyxK8Ibb-tIa67.mjs +0 -10
  149. package/browser/esm/DgPz063GFvbhOHHK.mjs +0 -10
  150. package/browser/esm/Di8gWiOWhfFzcOuw.mjs +0 -21
  151. package/browser/esm/Dlg7LT4wsJCPSTCT.mjs +0 -46
  152. package/browser/esm/DqDxWoCftkWurpDk.mjs +0 -10
  153. package/browser/esm/DupExqAEenu5ZS6G.mjs +0 -820
  154. package/browser/esm/Dy1zdTKMeT50nXcy.mjs +0 -10
  155. package/browser/esm/Dz_O3du2SrhYK47v.mjs +0 -10
  156. package/browser/esm/IbCi65rCiiLS_OGe.mjs +0 -46
  157. package/browser/esm/R2Li5a5IPMuoQEGD.mjs +0 -10
  158. package/browser/esm/SWzqhkO1HABv0bfG.mjs +0 -10
  159. package/browser/esm/VDflSVY_vwi7ZcHQ.mjs +0 -3922
  160. package/browser/esm/dAJOajC7rsn3_hWk.mjs +0 -10
  161. package/browser/esm/fvsQWBiDZg7zRYOa.mjs +0 -10
  162. package/browser/esm/o8Z04Tjc17JBUDsL.mjs +0 -10
  163. package/browser/esm/qbGHKDeXrxvghjMt.mjs +0 -24
  164. package/browser/esm/uk5NsqjbkRuKv1vU.mjs +0 -10
  165. package/cdn/assets/B2P82Dvadjo7-hRY.js +0 -1466
  166. package/cdn/assets/B7k3pb4haBsw-Yvr.js +0 -10
  167. package/cdn/assets/B8ajmWm1J-ZsmBzK.js +0 -10
  168. package/cdn/assets/BFDOApZozGNnJdxs.js +0 -46
  169. package/cdn/assets/BGvKR9TNj2ORlcKm.js +0 -10
  170. package/cdn/assets/BJgFwyqDjKdTH0xW.js +0 -422
  171. package/cdn/assets/BKxjmGpW0pe8KUzm.js +0 -472
  172. package/cdn/assets/Bc8y371ooCwvBkRs.js +0 -10
  173. package/cdn/assets/BnxMjyy6JPTUe9Lg.js +0 -10
  174. package/cdn/assets/CM--Vw5PcrLIXc8O.js +0 -12
  175. package/cdn/assets/COS-oUtP1lQi0Hd8.js +0 -22
  176. package/cdn/assets/CSxbcCsSh3AdRzkk.js +0 -3922
  177. package/cdn/assets/CflOcniWVa_VR5Wy.js +0 -10
  178. package/cdn/assets/Cn9w-KgbsxAKNj6s.js +0 -10
  179. package/cdn/assets/Cqyz2pkIcU2pAivO.js +0 -5560
  180. package/cdn/assets/CuYtiG4SP9OK6dJP.js +0 -1575
  181. package/cdn/assets/D6KdwQgZEBMy0260.js +0 -10
  182. package/cdn/assets/DAOw8vm-XsJ_n7BK.js +0 -10
  183. package/cdn/assets/DCwhACFXcpYD60H9.js +0 -820
  184. package/cdn/assets/DIKvxkHBBvYo2rnC.js +0 -10
  185. package/cdn/assets/DOLBqVto8cJdYLWp.js +0 -46
  186. package/cdn/assets/DTS0EgQuwHdS5aQN.js +0 -10
  187. package/cdn/assets/DeSyxK8Ibb-tIa67.js +0 -10
  188. package/cdn/assets/Dew12-owBXPNmL1S.js +0 -29
  189. package/cdn/assets/DgPz063GFvbhOHHK.js +0 -10
  190. package/cdn/assets/Di8gWiOWhfFzcOuw.js +0 -21
  191. package/cdn/assets/DqDxWoCftkWurpDk.js +0 -10
  192. package/cdn/assets/Dy1zdTKMeT50nXcy.js +0 -10
  193. package/cdn/assets/Dz_O3du2SrhYK47v.js +0 -10
  194. package/cdn/assets/G9bfOnISYlZUeW4U.js +0 -48518
  195. package/cdn/assets/R2Li5a5IPMuoQEGD.js +0 -10
  196. package/cdn/assets/SWzqhkO1HABv0bfG.js +0 -10
  197. package/cdn/assets/dAJOajC7rsn3_hWk.js +0 -10
  198. package/cdn/assets/fvsQWBiDZg7zRYOa.js +0 -10
  199. package/cdn/assets/o8Z04Tjc17JBUDsL.js +0 -10
  200. package/cdn/assets/qbGHKDeXrxvghjMt.js +0 -24
  201. package/cdn/assets/uk5NsqjbkRuKv1vU.js +0 -10
@@ -1,150 +1,151 @@
1
1
  import { jsx as i, jsxs as p } from "react/jsx-runtime";
2
- import { memo as oe, useRef as O, useState as y, useEffect as L, useLayoutEffect as pe, useMemo as de } from "react";
3
- import { a5 as D, b8 as c, q as R, a7 as z, b3 as ue, ap as fe, b9 as ge, ba as me, c as b, bb as m, aK as x, bc as xe, aB as C, bd as he, f as _, g as k, be, bf as Oe, bg as Ce, bh as ye, b6 as w, bi as ve, bj as Te, aN as Re, b7 as ke, F as we, b4 as Ee, b5 as Se } from "./G9bfOnISYlZUeW4U.js";
4
- import { C as ee } from "./ukDxhSJqMPzLXoCP.js";
2
+ import { memo as oe, useRef as C, useState as b, useEffect as L, useLayoutEffect as pe, useMemo as de } from "react";
3
+ import { ICell as c, IRange as R } from "@sheetxl/sdk";
4
+ import { r as D, t as H, av as ue, V as fe, aA as ge, aB as me, B as O, aC as m, ah as x, aD as xe, a8 as y, aE as he, a as _, b as k, aF as Oe, aG as Ce, aH as ye, aI as be, ay as w, aJ as ve, aK as Te, ak as Re, az as ke, F as we, aw as Ee, ax as Fe } from "./F-RqJeKWiW4i5344.js";
5
+ import { C as ee } from "./Dj3GhNedlKE9TeTn.js";
5
6
  /**
6
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.3
7
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.5
7
8
  *
8
9
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
9
10
  * License: The license can be found at https://www.sheetxl.com/license.
10
11
  */
11
- const Fe = D(i("path", { d: "M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z" }), "ArrowBack"), Ie = D(i("path", { d: "m20 12-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8z" }), "ArrowDownward"), Le = D(i("path", { d: "m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z" }), "ArrowForward"), De = D(i("path", { d: "m4 12 1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8z" }), "ArrowUpward"), $ = oe((E) => {
12
- const { label: h, value: r, options: s, onSelect: d, tabIndex: v = 0, ...K } = E, [P, T] = y(() => ie(r, s));
12
+ const Se = D(i("path", { d: "M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z" }), "ArrowBack"), Ie = D(i("path", { d: "m20 12-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8z" }), "ArrowDownward"), Le = D(i("path", { d: "m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z" }), "ArrowForward"), De = D(i("path", { d: "m4 12 1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8z" }), "ArrowUpward"), z = oe((E) => {
13
+ const { label: h, value: r, options: a, onSelect: d, tabIndex: v = 0, ...A } = E, [K, T] = b(() => ie(r, a));
13
14
  L(() => {
14
- T(ie(r, s));
15
- }, [r, s]);
16
- const A = z((u) => {
17
- T(u.target.value), d?.(s[u.target.value]);
18
- }, [d, s]), l = de(() => Object.keys(s).map((u) => i(ke, { value: u, children: u }, u)), [s]);
19
- return p(we, { sx: { minWidth: 135 }, size: "small", children: [i(Ee, { children: h }), i(Se, { inputProps: { tabIndex: v }, value: P, label: h, onChange: A, sx: { backgroundImage: `linear-gradient(${k("#fff", w(5))}, ${k("#fff", w(5))})` }, ...K, children: l })] });
20
- }), te = { Workbook: "workbook", Sheet: "sheet" }, ne = { enter: 140, exit: 140 }, se = { Formulas: c.Content.Formulas, Values: c.Content.Values, Notes: c.Content.Notes, Comments: c.Content.Comments }, le = { ...se };
21
- delete le.Values;
22
- const Ke = { "By Rows": !0, "By Columns": !1 }, ie = (E, h) => {
15
+ T(ie(r, a));
16
+ }, [r, a]);
17
+ const P = H((u) => {
18
+ T(u.target.value), d?.(a[u.target.value]);
19
+ }, [d, a]), s = de(() => Object.keys(a).map((u) => i(ke, { value: u, children: u }, u)), [a]);
20
+ return p(we, { sx: { minWidth: 135 }, size: "small", children: [i(Ee, { children: h }), i(Fe, { inputProps: { tabIndex: v }, value: K, label: h, onChange: P, sx: { backgroundImage: `linear-gradient(${k("#fff", w(5))}, ${k("#fff", w(5))})` }, ...A, children: s })] });
21
+ }), te = { Workbook: "workbook", Sheet: "sheet" }, ne = { enter: 140, exit: 140 }, ae = { Formulas: c.Content.Formulas, Values: c.Content.Values, Notes: c.Content.Notes, Comments: c.Content.Comments }, se = { ...ae };
22
+ delete se.Values;
23
+ const Ae = { "By Rows": !0, "By Columns": !1 }, ie = (E, h) => {
23
24
  const r = Object.keys(h);
24
- for (let s = 0; s < r.length; s++) {
25
- const d = r[s];
25
+ for (let a = 0; a < r.length; a++) {
26
+ const d = r[a];
26
27
  if (h[d] === E) return d;
27
28
  }
28
- }, Be = oe((E) => {
29
- const { replace: h = !1, findText: r, replaceText: s, findOptions: d, replaceOptions: v, title: K, onHide: P, onFindOrReplace: T, ...A } = E, l = O(null), u = O(null), H = O(null), W = O(null), j = O(null), N = O(null), q = (e, t) => {
29
+ }, ze = oe((E) => {
30
+ const { replace: h = !1, findText: r, replaceText: a, findOptions: d, replaceOptions: v, title: A, onHide: K, onFindOrReplace: T, ...P } = E, s = C(null), u = C(null), $ = C(null), W = C(null), j = C(null), N = C(null), G = (e, t) => {
30
31
  t && (t.start(e, { center: !1 }), setTimeout(() => t.stop(e), 180));
31
- }, [U, I] = y(!1), [M, ae] = y(!1), [f, V] = y(h), [X, B] = y(!1), [G, J] = y(!1), [o, a] = y({ findText: null, replaceText: null, replace: h, replaceOptions: {}, findOptions: { matchCase: !1, matchEntireCell: !1, useRegex: !1, orientation: R.Orientation.Row, fields: [c.Content.Formulas] }, scope: te.Sheet }), S = z(async (e, t, n, F) => {
32
+ }, [J, I] = b(!1), [V, le] = b(!1), [f, B] = b(h), [U, M] = b(!1), [X, q] = b(!1), [o, l] = b({ findText: null, replaceText: null, replace: h, replaceOptions: {}, findOptions: { matchCase: !1, matchEntireCell: !1, useRegex: !1, orientation: R.Orientation.Row, fields: [c.Content.Formulas] }, scope: te.Sheet }), F = H(async (e, t, n, S) => {
32
33
  if (!T) return;
33
34
  const g = { ...o };
34
35
  g.replaceOptions = { ...g.replaceOptions }, g.findOptions = { ...g.findOptions }, g.replaceOptions.maxCount = n ? void 0 : 1, g.replace = t, t && o.findOptions.fields?.[0] === c.Content.Values && (g.findOptions.fields = [c.Content.Formulas]), g.findOptions.reverse = !e;
35
- const ce = await T({ autoFocus: F, ...g });
36
- B(ce === 0);
36
+ const ce = await T({ autoFocus: S, ...g });
37
+ M(ce === 0);
37
38
  }, [o, T]);
38
39
  L(() => {
39
- B(!1);
40
- }, [o, M, f]);
41
- const Q = z((e, t) => {
40
+ M(!1);
41
+ }, [o, V, f]);
42
+ const Q = H((e, t) => {
42
43
  if (e.keyCode === ue.Enter) {
43
44
  if (!o.findText) return;
44
- let n = !0, F = !1;
45
- e.shiftKey && (n = !1), t ? (e.ctrlKey && e.altKey && (F = !0), q(e, F ? N.current : j.current)) : q(e, n ? W.current : H.current), S(n, t, F, !1);
45
+ let n = !0, S = !1;
46
+ e.shiftKey && (n = !1), t ? (e.ctrlKey && e.altKey && (S = !0), G(e, S ? N.current : j.current)) : G(e, n ? W.current : $.current), F(n, t, S, !1);
46
47
  }
47
- }, [o]), Y = O(null);
48
+ }, [o]), Y = C(null);
48
49
  pe(() => {
49
- a((e) => {
50
+ l((e) => {
50
51
  const t = { ...e };
51
- t.findText = r && r.length > 0 ? r : e.findText ?? "", I(!0), s !== void 0 && (t.replaceText = s), d && (t.findOptions = { ...t.findOptions, ...d }), t.replaceText || (t.replaceText = ""), t.replaceOptions && (t.replaceOptions = { ...t.replaceOptions }), v && (t.replaceOptions = { ...t.replaceOptions, ...v }), o.findOptions.fields?.[0] || (o.findOptions.fields = [c.Content.Formulas]);
52
- const n = !(!v && s === void 0);
53
- return n && V(n), t;
54
- }), G || Y.current?.focus();
55
- }, [r, s, d, v]), L(() => {
52
+ t.findText = r && r.length > 0 ? r : e.findText ?? "", I(!0), a !== void 0 && (t.replaceText = a), d && (t.findOptions = { ...t.findOptions, ...d }), t.replaceText || (t.replaceText = ""), t.replaceOptions && (t.replaceOptions = { ...t.replaceOptions }), v && (t.replaceOptions = { ...t.replaceOptions, ...v }), o.findOptions.fields?.[0] || (o.findOptions.fields = [c.Content.Formulas]);
53
+ const n = !(!v && a === void 0);
54
+ return n && B(n), t;
55
+ }), X || Y.current?.focus();
56
+ }, [r, a, d, v]), L(() => {
56
57
  f ? (o.findOptions.fields[0], c.Content.Values) : I(!0);
57
58
  }, [f]), L(() => {
58
- if (U && l.current && o.findText === l.current.value) return l.current === document.activeElement || l.current.contains(document.activeElement) ? (l.current?.select(), void I(!1)) : void l.current.addEventListener("focus", () => {
59
- l.current?.select(), I(!1);
59
+ if (J && s.current && o.findText === s.current.value) return s.current === document.activeElement || s.current.contains(document.activeElement) ? (s.current?.select(), void I(!1)) : void s.current.addEventListener("focus", () => {
60
+ s.current?.select(), I(!1);
60
61
  }, { once: !0 });
61
- }, [U, o]);
62
+ }, [J, o]);
62
63
  const [re, { width: Z }] = fe();
63
- return i(ge, { title: K ?? (f ? "Find & Replace" : "Find"), initialPosition: { y: "35" }, autoFocusSel: ".input", refWindow: Y, onHide: P, onFocus: () => J(!0), onBlur: () => {
64
- J(!1), B(!1);
65
- }, PaperProps: { elevation: G ? 3 : 1 }, ...A, children: p(me, { dividers: !0, ref: re, sx: { display: "flex", flexDirection: "column", paddingLeft: (e) => e.spacing(1.5), paddingRight: (e) => e.spacing(1.5) }, onKeyDown: (e) => {
66
- if (e.key === "h" && e.ctrlKey) V(!0), l.current?.contains(document.activeElement) && u.current?.focus();
67
- else if (e.key === "f" && e.ctrlKey) l.current?.focus();
68
- else if (e.key === "c" && e.altKey) a((t) => {
64
+ return i(ge, { title: A ?? (f ? "Find & Replace" : "Find"), initialPosition: { y: "35" }, autoFocusSel: ".input", refWindow: Y, onHide: K, onFocus: () => q(!0), onBlur: () => {
65
+ q(!1), M(!1);
66
+ }, PaperProps: { elevation: X ? 3 : 1 }, ...P, children: p(me, { dividers: !0, ref: re, sx: { display: "flex", flexDirection: "column", paddingLeft: (e) => e.spacing(1.5), paddingRight: (e) => e.spacing(1.5) }, onKeyDown: (e) => {
67
+ if (e.key === "h" && e.ctrlKey) B(!0), s.current?.contains(document.activeElement) && u.current?.focus();
68
+ else if (e.key === "f" && e.ctrlKey) s.current?.focus();
69
+ else if (e.key === "c" && e.altKey) l((t) => {
69
70
  const n = { ...t };
70
71
  return n.findOptions.matchCase = !t.findOptions.matchCase, n;
71
72
  });
72
- else if (e.key === "e" && e.altKey) a((t) => {
73
+ else if (e.key === "e" && e.altKey) l((t) => {
73
74
  const n = { ...t };
74
75
  return n.findOptions.matchEntireCell = !t.findOptions.matchEntireCell, n;
75
76
  });
76
77
  else {
77
78
  if (e.key !== "r" || !e.altKey) return;
78
- a((t) => {
79
+ l((t) => {
79
80
  const n = { ...t };
80
81
  return n.findOptions.useRegex = !t.findOptions.useRegex, n;
81
82
  });
82
83
  }
83
84
  e.preventDefault();
84
- }, children: [p(b, { sx: { display: "flex", flexDirection: "row", gap: (e) => e.spacing(1) }, children: [p(b, { sx: { display: "flex", flexDirection: "row", alignItems: "start", gap: (e) => e.spacing(0.25), paddingTop: "3px" }, children: [i(m, { selected: M, onSelectToggle: (e) => {
85
- ae(e);
85
+ }, children: [p(O, { sx: { display: "flex", flexDirection: "row", gap: (e) => e.spacing(1) }, children: [p(O, { sx: { display: "flex", flexDirection: "row", alignItems: "start", gap: (e) => e.spacing(0.25), paddingTop: "3px" }, children: [i(m, { selected: V, onSelectToggle: (e) => {
86
+ le(e);
86
87
  }, preventFocus: !0, label: "Toggle Additional Options", icon: x(i(xe, {})) }), i(m, { selected: f, onSelectToggle: (e) => {
87
- V(e);
88
- }, preventFocus: !0, label: "Toggle Replace", icon: x(i(he, {})), shortcut: { key: f ? "F" : "H", modifiers: [C.Ctrl] } })] }), p(b, { sx: { display: "flex", flexDirection: "column", maxWidth: "100%", boxSizing: "border-box" }, children: [p(b, { sx: { display: "flex", flexDirection: "row", alignItems: "center" }, children: [i(_, { label: "Find", InputLabelProps: { shrink: !0 }, InputProps: { sx: { paddingRight: (e) => e.spacing(1), minWidth: Z > 460 ? "20em" : void 0, backgroundImage: `linear-gradient(${k("#fff", w(5))}, ${k("#fff", w(5))})` }, inputProps: { draggable: !1, ref: l, className: "input", autoFocus: !0, spellCheck: !1, autoComplete: "off", sx: { paddingTop: (e) => e.spacing(1.25), paddingBottom: (e) => e.spacing(0.75) } }, endAdornment: i(be, { sx: { transform: "scale(0.75) translateX(16px)" }, position: "end", children: p(b, { sx: { display: "flex", alignItems: "center", flexDirection: "row", gap: "1px" }, children: [i(m, { selected: o.findOptions.matchCase, onSelectToggle: (e) => {
89
- a((t) => {
88
+ B(e);
89
+ }, preventFocus: !0, label: "Toggle Replace", icon: x(i(he, {})), shortcut: { key: f ? "F" : "H", modifiers: [y.Ctrl] } })] }), p(O, { sx: { display: "flex", flexDirection: "column", maxWidth: "100%", boxSizing: "border-box" }, children: [p(O, { sx: { display: "flex", flexDirection: "row", alignItems: "center" }, children: [i(_, { label: "Find", InputLabelProps: { shrink: !0 }, InputProps: { sx: { paddingRight: (e) => e.spacing(1), minWidth: Z > 460 ? "20em" : void 0, backgroundImage: `linear-gradient(${k("#fff", w(5))}, ${k("#fff", w(5))})` }, inputProps: { draggable: !1, ref: s, className: "input", autoFocus: !0, spellCheck: !1, autoComplete: "off", sx: { paddingTop: (e) => e.spacing(1.25), paddingBottom: (e) => e.spacing(0.75) } }, endAdornment: i(Oe, { sx: { transform: "scale(0.75) translateX(16px)" }, position: "end", children: p(O, { sx: { display: "flex", alignItems: "center", flexDirection: "row", gap: "1px" }, children: [i(m, { selected: o.findOptions.matchCase, onSelectToggle: (e) => {
90
+ l((t) => {
90
91
  const n = { ...t };
91
92
  return n.findOptions.matchCase = e, n;
92
93
  });
93
- }, label: "Match Case", shortcut: { key: "C", modifiers: [C.Alt] }, icon: x(i(Oe, {})) }), i(m, { selected: o.findOptions.matchEntireCell, onSelectToggle: (e) => {
94
- a((t) => {
94
+ }, label: "Match Case", shortcut: { key: "C", modifiers: [y.Alt] }, icon: x(i(Ce, {})) }), i(m, { selected: o.findOptions.matchEntireCell, onSelectToggle: (e) => {
95
+ l((t) => {
95
96
  const n = { ...t };
96
97
  return n.findOptions.matchEntireCell = e, n;
97
98
  });
98
- }, label: "Match Entire Cell", shortcut: { key: "E", modifiers: [C.Alt] }, icon: x(i(Ce, {})) }), i(m, { selected: o.findOptions.useRegex, onSelectToggle: (e) => {
99
- a((t) => {
99
+ }, label: "Match Entire Cell", shortcut: { key: "E", modifiers: [y.Alt] }, icon: x(i(ye, {})) }), i(m, { selected: o.findOptions.useRegex, onSelectToggle: (e) => {
100
+ l((t) => {
100
101
  const n = { ...t };
101
102
  return n.findOptions.useRegex = e, n;
102
103
  });
103
- }, label: "Use Regular Expression", shortcut: { key: "R", modifiers: [C.Alt] }, icon: x(i(ye, {})) })] }) }) }, sx: { flex: "1 1 100%", marginRight: (e) => e.spacing(1), "& .MuiOutlinedInput-notchedOutline": { borderColor: (e) => X ? `${e.palette.error.main} !important` : void 0 }, "& .MuiInputLabel-outlined": { color: (e) => X ? `${e.palette.error.main} !important` : void 0 } }, value: o.findText ?? "", onChange: (e) => {
104
- a((t) => {
104
+ }, label: "Use Regular Expression", shortcut: { key: "R", modifiers: [y.Alt] }, icon: x(i(be, {})) })] }) }) }, sx: { flex: "1 1 100%", marginRight: (e) => e.spacing(1), "& .MuiOutlinedInput-notchedOutline": { borderColor: (e) => U ? `${e.palette.error.main} !important` : void 0 }, "& .MuiInputLabel-outlined": { color: (e) => U ? `${e.palette.error.main} !important` : void 0 } }, value: o.findText ?? "", onChange: (e) => {
105
+ l((t) => {
105
106
  const n = { ...t };
106
107
  return n.findText = e.target.value, n;
107
108
  });
108
109
  }, onKeyDown: (e) => Q(e, !1), onContextMenu: (e) => {
109
110
  e.stopPropagation();
110
111
  } }), i(m, { selected: o.findOptions.reverse, onSelectToggle: (e) => {
111
- S(!1, !1);
112
- }, touchRippleRef: H, label: "", shortcut: { key: "Enter", modifiers: [C.Shift] }, icon: x(o.findOptions.orientation !== R.Orientation.Column ? i(Fe, {}) : i(De, {})), disabled: !o.findText }), i(m, { selected: !o.findOptions.reverse, onSelectToggle: (e) => {
113
- S(!0, !1);
112
+ F(!1, !1);
113
+ }, touchRippleRef: $, label: "", shortcut: { key: "Enter", modifiers: [y.Shift] }, icon: x(o.findOptions.orientation !== R.Orientation.Column ? i(Se, {}) : i(De, {})), disabled: !o.findText }), i(m, { selected: !o.findOptions.reverse, onSelectToggle: (e) => {
114
+ F(!0, !1);
114
115
  }, touchRippleRef: W, label: "Next Match", shortcut: { key: "Enter" }, icon: x(o.findOptions.orientation !== R.Orientation.Column ? i(Le, {}) : i(Ie, {})), disabled: !o.findText })] }), i(ee, { in: f, timeout: ne, onExit: () => {
115
- l.current?.focus();
116
- }, children: p(b, { sx: { display: "flex", flexDirection: "row", alignItems: "center", marginTop: (e) => e.spacing(2) }, children: [i(_, { label: "Replace", InputLabelProps: { shrink: !0 }, InputProps: { sx: { paddingRight: (e) => e.spacing(1), backgroundImage: `linear-gradient(${k("#fff", w(5))}, ${k("#fff", w(5))})` }, inputProps: { ref: u, className: "input", spellCheck: !1, autoComplete: "off", sx: { paddingTop: (e) => e.spacing(1.25), paddingBottom: (e) => e.spacing(0.75) } } }, sx: { flex: "1 1 100%", marginRight: (e) => e.spacing(1) }, value: o.replaceText ?? "", onChange: (e) => {
117
- a((t) => {
116
+ s.current?.focus();
117
+ }, children: p(O, { sx: { display: "flex", flexDirection: "row", alignItems: "center", marginTop: (e) => e.spacing(2) }, children: [i(_, { label: "Replace", InputLabelProps: { shrink: !0 }, InputProps: { sx: { paddingRight: (e) => e.spacing(1), backgroundImage: `linear-gradient(${k("#fff", w(5))}, ${k("#fff", w(5))})` }, inputProps: { ref: u, className: "input", spellCheck: !1, autoComplete: "off", sx: { paddingTop: (e) => e.spacing(1.25), paddingBottom: (e) => e.spacing(0.75) } } }, sx: { flex: "1 1 100%", marginRight: (e) => e.spacing(1) }, value: o.replaceText ?? "", onChange: (e) => {
118
+ l((t) => {
118
119
  const n = { ...t };
119
120
  return n.replaceText = e.target.value, n;
120
121
  });
121
122
  }, onKeyDown: (e) => Q(e, !0), onContextMenu: (e) => {
122
123
  e.stopPropagation();
123
124
  } }), i(m, { onSelectToggle: (e) => {
124
- S(!0, !0);
125
+ F(!0, !0);
125
126
  }, touchRippleRef: j, label: "Replace", shortcut: { key: "Enter" }, icon: x(i(ve, {})), disabled: !o.findText }), i(m, { onSelectToggle: (e) => {
126
- S(!0, !0, !0);
127
- }, touchRippleRef: N, label: "Replace All", shortcut: { key: "Enter", modifiers: [C.Ctrl, C.Alt] }, icon: x(i(Te, {})), disabled: !o.findText })] }) })] })] }), i(ee, { in: M, timeout: ne, onExit: () => {
128
- l.current?.focus();
129
- }, children: p(b, { sx: { minHeight: "10px", flex: "1 1 100%", display: "flex", flexDirection: "column", gap: (e) => e.spacing(0.5), marginTop: (e) => e.spacing(1) }, children: [i(Re, { orientation: "horizontal", sx: { marginBottom: (e) => e.spacing(1.5) } }), p(b, { sx: { display: "flex", flexDirection: Z >= 413 ? "row" : "column", justifyContent: "space-evenly", alignItems: "center", rowGap: (e) => e.spacing(2) }, tabIndex: -1, children: [i($, { label: "Within", value: o.scope, options: te, onSelect: (e) => {
130
- a((t) => {
127
+ F(!0, !0, !0);
128
+ }, touchRippleRef: N, label: "Replace All", shortcut: { key: "Enter", modifiers: [y.Ctrl, y.Alt] }, icon: x(i(Te, {})), disabled: !o.findText })] }) })] })] }), i(ee, { in: V, timeout: ne, onExit: () => {
129
+ s.current?.focus();
130
+ }, children: p(O, { sx: { minHeight: "10px", flex: "1 1 100%", display: "flex", flexDirection: "column", gap: (e) => e.spacing(0.5), marginTop: (e) => e.spacing(1) }, children: [i(Re, { orientation: "horizontal", sx: { marginBottom: (e) => e.spacing(1.5) } }), p(O, { sx: { display: "flex", flexDirection: Z >= 413 ? "row" : "column", justifyContent: "space-evenly", alignItems: "center", rowGap: (e) => e.spacing(2) }, tabIndex: -1, children: [i(z, { label: "Within", value: o.scope, options: te, onSelect: (e) => {
131
+ l((t) => {
131
132
  const n = { ...t };
132
133
  return n.scope = e, n;
133
134
  });
134
- } }), i($, { label: "Search", value: o.findOptions.orientation !== R.Orientation.Column, options: Ke, onSelect: (e) => {
135
- a((t) => {
135
+ } }), i(z, { label: "Search", value: o.findOptions.orientation !== R.Orientation.Column, options: Ae, onSelect: (e) => {
136
+ l((t) => {
136
137
  const n = { ...t };
137
138
  return n.findOptions.orientation = e ? R.Orientation.Row : R.Orientation.Column, n;
138
139
  });
139
- } }), i($, { label: "Look in", value: f && o.findOptions.fields?.[0] === c.Content.Values ? c.Content.Formulas : o.findOptions.fields?.[0], options: f ? le : se, onSelect: (e) => {
140
- a((t) => {
140
+ } }), i(z, { label: "Look in", value: f && o.findOptions.fields?.[0] === c.Content.Values ? c.Content.Formulas : o.findOptions.fields?.[0], options: f ? se : ae, onSelect: (e) => {
141
+ l((t) => {
141
142
  const n = { ...t };
142
143
  return n.findOptions.fields = [e], n;
143
144
  });
144
145
  } })] })] }) })] }) });
145
146
  });
146
147
  export {
147
- Be as FindReplaceWindow,
148
+ ze as FindReplaceWindow,
148
149
  te as ScopeOptions,
149
- Be as default
150
+ ze as default
150
151
  };
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.3
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.5
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.3.3
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.5
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,7 +1,8 @@
1
- import { aX as k, t as T, aY as G, q as Q, S as W, aZ as C, a_ as tt, a$ as P, R as et, A as Y, b0 as V } from "./B6nZCfPr7UmxzAi6.mjs";
2
- import { c as x, b as f, r as L, t as rt, a as A, p as D, d as st } from "./DaeiyDhcdRvg5nGs.mjs";
1
+ import { Q as Y } from "./F-RqJeKWiW4i5344.js";
2
+ import { c as x, b as f, r as I, t as Z, a as A, p as D, d as tt } from "./DLYF-18qErpwF9Q-.js";
3
+ import { IFont as k, IAutoFilter as T, Sort as G, IRange as et, AddressUtils as W, IFill as C, IStyle as rt, ITextFrame as P, FormulaError as st, IBorder as V } from "@sheetxl/sdk";
3
4
  /**
4
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.3
5
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.5
5
6
  *
6
7
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
7
8
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -211,7 +212,7 @@ class pt {
211
212
  return s.plotArea = r, r;
212
213
  }
213
214
  }
214
- class I {
215
+ class L {
215
216
  EnumMappings() {
216
217
  }
217
218
  static fromOoxmlGradientType(t) {
@@ -236,7 +237,7 @@ class q {
236
237
  processStroke(t, e, s) {
237
238
  const r = {}, o = t.evaluate("ln", e);
238
239
  if (o) {
239
- o.hasAttribute("algn") && (r.align = I.fromOoxmlAlignment(o.getAttribute("algn"))), o.hasAttribute("cap") && (r.lineCap = I.fromOoxmlLineCap(o.getAttribute("cap"))), o.hasAttribute("cmpd") && (r.compound = I.fromOoxmlCompound(o.getAttribute("cmpd"))), o.hasAttribute("w") && (r.width = rt(o.getAttribute("w")));
240
+ o.hasAttribute("algn") && (r.align = L.fromOoxmlAlignment(o.getAttribute("algn"))), o.hasAttribute("cap") && (r.lineCap = L.fromOoxmlLineCap(o.getAttribute("cap"))), o.hasAttribute("cmpd") && (r.compound = L.fromOoxmlCompound(o.getAttribute("cmpd"))), o.hasAttribute("w") && (r.width = Z(o.getAttribute("w")));
240
241
  const i = t.evaluate("miter", o);
241
242
  i && (r.lineJoin = "miter", i.hasAttribute("lim") && (r.miter = parseFloat(i.getAttribute("lim")))), t.evaluate("bevel", o) && (r.lineJoin = "bevel"), t.evaluate("round", o) && (r.lineJoin = "round");
242
243
  const n = t.evaluate("custDash", o);
@@ -308,7 +309,7 @@ class q {
308
309
  e.hasAttribute("flip") && (o.mirror = e.getAttribute("flip")), Object.keys(o).length > 0 && (s.tile = o);
309
310
  const i = t.evaluate("path", e);
310
311
  if (i) {
311
- i.hasAttribute("path") && (s.type = I.fromOoxmlGradientType(i.getAttribute("path")));
312
+ i.hasAttribute("path") && (s.type = L.fromOoxmlGradientType(i.getAttribute("path")));
312
313
  const c = t.evaluate("fillToRect", i);
313
314
  c && (s.fillTo = this.getRect(c));
314
315
  }
@@ -885,7 +886,7 @@ class Ot {
885
886
  r.collatorOptions = n ? G.CaseSensitiveOptions : G.CaseInsensitiveOptions;
886
887
  }
887
888
  const o = e.getAttribute("sortMethod");
888
- o != null && o !== "none" && (o === "stroke" ? r.collatorOptions = { ...r.collatorOptions, collation: "stroke" } : o === "pinYin" && (r.collatorOptions = { ...r.collatorOptions, collation: "pinyin" })), e.hasAttribute("columnSort") && f(e.getAttribute("columnSort")) && (r.orientation = Q.Orientation.Column);
889
+ o != null && o !== "none" && (o === "stroke" ? r.collatorOptions = { ...r.collatorOptions, collation: "stroke" } : o === "pinYin" && (r.collatorOptions = { ...r.collatorOptions, collation: "pinyin" })), e.hasAttribute("columnSort") && f(e.getAttribute("columnSort")) && (r.orientation = et.Orientation.Column);
889
890
  const i = W.fastStringToRange(r.ref);
890
891
  return this.processSortConditions(t, e, r, i), Object.keys(r).length > 0 && (s.sort = r), r;
891
892
  }
@@ -914,12 +915,12 @@ class Ot {
914
915
  return i.length > 0 && (s.fields = i), i;
915
916
  }
916
917
  }
917
- class Z {
918
+ class Q {
918
919
  visit(t, e, s) {
919
920
  }
920
921
  processDataBarColor(t, e, s, r, o = "dk1") {
921
922
  if (!e) return;
922
- const i = st((n) => e.getAttribute(n), o);
923
+ const i = tt((n) => e.getAttribute(n), o);
923
924
  return i && (s[r] = i), s;
924
925
  }
925
926
  processFonts(t, e, s) {
@@ -1055,7 +1056,7 @@ class Z {
1055
1056
  return n && this.processDataBarColor(t, n, i, "color"), Object.keys(i).length > 0 ? s[r] = i : null;
1056
1057
  }
1057
1058
  }
1058
- class Tt extends Z {
1059
+ class Tt extends Q {
1059
1060
  visit(t, e, s) {
1060
1061
  this.processNumFmts(t, t.evaluate("numFmts", e), null), t.getVisitorParamsState().set("colorsToProcess", /* @__PURE__ */ new Set());
1061
1062
  const r = { fills: {}, fonts: {}, borders: {} };
@@ -1128,7 +1129,7 @@ class Tt extends Z {
1128
1129
  const n = e.getAttribute("xfId");
1129
1130
  if (n && o) {
1130
1131
  const c = o.get(parseInt(n));
1131
- c && c !== tt.BuiltInName.Normal && (s.named = c);
1132
+ c && c !== rt.BuiltInName.Normal && (s.named = c);
1132
1133
  }
1133
1134
  const l = (c) => !(!i && e.hasAttribute(c)) || f(e.getAttribute("applyFont"));
1134
1135
  if (l("applyFont")) {
@@ -1255,7 +1256,7 @@ class Tt extends Z {
1255
1256
  afterVisit(t, e, s) {
1256
1257
  }
1257
1258
  }
1258
- class Vt extends Z {
1259
+ class Vt extends Q {
1259
1260
  visit(t, e, s) {
1260
1261
  return this.processSheetRefs(t, t.evaluate("sheets", e), s), this.processBookViews(t, t.evaluate("bookViews", e), s), this.processDefinedNames(t, t.evaluate("definedNames", e), s), this.processCalcPr(t, t.evaluate("calcPr", e), s), this.processWorkbookProtection(t, t.evaluate("workbookProtection", e), s), this.processWorkbookPr(t, t.evaluate("workbookPr", e), s), s;
1261
1262
  }
@@ -1362,7 +1363,7 @@ class St {
1362
1363
  o.length > 0 && (s.columns = o);
1363
1364
  }
1364
1365
  }
1365
- class kt {
1366
+ class xt {
1366
1367
  visit(t, e, s) {
1367
1368
  return s;
1368
1369
  }
@@ -1386,7 +1387,7 @@ class U {
1386
1387
  return r && (t.copyFromAttribute(r, "name", s), t.copyFromAttribute(r, "desc", s), t.copyFromAttribute(r, "hidden", s, "hidden", t.BOOLEAN_COPY), t.copyFromAttribute(r, "id", s)), s;
1387
1388
  }
1388
1389
  }
1389
- class xt extends U {
1390
+ class kt extends U {
1390
1391
  visit(t, e, s) {
1391
1392
  if (!e) return;
1392
1393
  s = super.visit(t, e, s);
@@ -1433,7 +1434,7 @@ class z extends U {
1433
1434
  return s.content = { type: "sp", json: o }, o;
1434
1435
  }
1435
1436
  }
1436
- class Lt extends U {
1437
+ class It extends U {
1437
1438
  visit(t, e, s) {
1438
1439
  if (!e) return;
1439
1440
  const r = super.visit(t, e, s), o = t.evaluate("nvPicPr/cNvPicPr", e);
@@ -1457,7 +1458,7 @@ class Lt extends U {
1457
1458
  return s.content = { type: "picture", json: l }, r;
1458
1459
  }
1459
1460
  }
1460
- class It extends z {
1461
+ class Lt extends z {
1461
1462
  visit(t, e, s) {
1462
1463
  if (!e) return;
1463
1464
  s = super.visit(t, e, s);
@@ -1542,7 +1543,7 @@ class jt {
1542
1543
  if (e.type === "_error") {
1543
1544
  const s = e.errorType;
1544
1545
  if (s) try {
1545
- e = et.getBuiltInById(s + 1);
1546
+ e = st.getBuiltInById(s + 1);
1546
1547
  } catch {
1547
1548
  }
1548
1549
  }
@@ -1600,7 +1601,7 @@ class Dt {
1600
1601
  visit(t, e, s) {
1601
1602
  if (!e) return;
1602
1603
  const r = {};
1603
- return t.copyFromAttribute(e, "id", r, "id", L), t.copyFromAttribute(e, "personId", r, "personId", L), t.copyFromAttribute(e, "ref", r), t.copyFromAttribute(e, "parentId", r, "parentId", L), t.copyFromAttribute(e, "dT", r), e.hasAttribute("done") && (r.done = f(e.getAttribute("done"))), s.push(r), r;
1604
+ return t.copyFromAttribute(e, "id", r, "id", I), t.copyFromAttribute(e, "personId", r, "personId", I), t.copyFromAttribute(e, "ref", r), t.copyFromAttribute(e, "parentId", r, "parentId", I), t.copyFromAttribute(e, "dT", r), e.hasAttribute("done") && (r.done = f(e.getAttribute("done"))), s.push(r), r;
1604
1605
  }
1605
1606
  }
1606
1607
  class Mt {
@@ -1610,7 +1611,7 @@ class Mt {
1610
1611
  const n = o.item(i);
1611
1612
  if (n.nodeType === 1 && n.localName === "person") {
1612
1613
  const l = {};
1613
- t.copyFromAttribute(n, "id", l, "id", L), t.copyFromAttribute(n, "displayName", l), t.copyFromAttribute(n, "userId", l, "userId", L), t.copyFromAttribute(n, "providerId", l), r.push(l);
1614
+ t.copyFromAttribute(n, "id", l, "id", I), t.copyFromAttribute(n, "displayName", l), t.copyFromAttribute(n, "userId", l, "userId", I), t.copyFromAttribute(n, "providerId", l), r.push(l);
1614
1615
  }
1615
1616
  }
1616
1617
  return r.length > 0 && (s.persons = r), r;
@@ -1622,9 +1623,9 @@ class zt {
1622
1623
  this.path = t, this.visitor = e;
1623
1624
  }
1624
1625
  }
1625
- class Xt {
1626
+ class $t {
1626
1627
  constructor() {
1627
- this.visitorsByXmlTagName = /* @__PURE__ */ new Map(), this.scopedVisitorsByXmlTagName = /* @__PURE__ */ new Map(), this.visitorParamsState = null, this.registerVisitor("Relationships", new ct()), this.registerVisitor("spPr", new M()), this.registerVisitor("txBody", new F()), this.registerVisitor("txPr", new F()), this.registerVisitor("c:chartSpace", new ut()), this.registerVisitor("c:chartSpace", new ht(), "chart"), this.registerVisitor("c:plotArea", new pt()), this.registerVisitor("c:barChart", new gt()), this.registerVisitor("c:doughnutChart", new S()), this.registerVisitor("c:lineChart", new S()), this.registerVisitor("c:ofPieType", new S()), this.registerVisitor("c:pieChart", new S()), this.registerVisitor("c:scatterChart", new S()), this.registerVisitor("c:barChart", new N("dataLabels"), "dLbls"), this.registerVisitor("c:doughnutChart", new N("dataLabels"), "dLbls"), this.registerVisitor("c:lineChart", new N("dataLabels"), "dLbls"), this.registerVisitor("c:ofPieType", new N("dataLabels"), "dLbls"), this.registerVisitor("c:pieChart", new N("dataLabels"), "dLbls"), this.registerVisitor("c:scatterChart", new N("dataLabels"), "dLbls"), this.registerVisitor("c:ser", new dt()), this.registerVisitor("c:dPt", new mt()), this.registerVisitor("c:marker", new bt()), this.registerVisitor("c:catAx", new R()), this.registerVisitor("c:valAx", new R()), this.registerVisitor("c:dateAx", new R()), this.registerVisitor("c:majorGridlines", new j("gridLinesMajor")), this.registerVisitor("c:minorGridlines", new j("gridLinesMinor")), this.registerVisitor("c:chartSpace", null, "txPr"), this.registerVisitor("c:catAx", new F("labels.text"), "txPr"), this.registerVisitor("c:valAx", new F("labels.text"), "txPr"), this.registerVisitor("c:dateAx", new F("labels.text"), "txPr"), this.registerVisitor("c:legend", new At()), this.registerVisitor("c:legend", new F("labels.text"), "txPr"), this.registerVisitor("c:legendEntry", new ft()), this.registerVisitor("c:ser", new yt(), "extLst/ext/invertSolidFillFmt/spPr"), this.registerVisitor("c:ser", new N("labels"), "dLbls"), this.registerVisitor("c:dLbl", new N("points")), this.registerVisitor("c:title", new X()), this.registerVisitor("c:title", null, "tx/rich"), this.registerVisitor("c:title", null, "txPr"), this.registerVisitor("c:layout", new vt()), this.registerVisitor("c:dispUnits", new j("dispUnits")), this.registerVisitor("c:dispUnitsLbl", new X("displayUnitsLabel")), this.registerVisitor("c:dispUnitsLbl", new F(), "tx/rich"), this.registerVisitor("a:theme", new Ft()), this.registerVisitor("a:theme", new Ct(), "themeElements/clrScheme"), this.registerVisitor("a:theme", new wt(), "themeElements/fontScheme"), this.registerVisitor("autoFilter", new Nt()), this.registerVisitor("sortState", new Ot()), this.registerVisitor("s:workbook", new Vt()), this.registerVisitor("styleSheet", new Tt()), this.registerVisitor("table", new St()), this.registerVisitor("hlinkClick", new Pt()), this.registerVisitor("wsDr", new kt()), this.registerVisitor("twoCellAnchor", new E()), this.registerVisitor("oneCellAnchor", new E()), this.registerVisitor("absoluteAnchor", new E()), this.registerVisitor("graphicFrame", new xt()), this.registerVisitor("sp", new z()), this.registerVisitor("grpSp", new It()), this.registerVisitor("cxnSp", new Bt()), this.registerVisitor("pic", new Lt()), this.registerVisitor("rvStructures", new _t()), this.registerVisitor("rvData", new jt()), this.registerVisitor("comments", new Rt()), this.registerVisitor("commentList", new Et(), "comment"), this.registerVisitor("comment", new F("content"), "text"), this.registerVisitor("ThreadedComments", new Yt()), this.registerVisitor("threadedComment", new Dt()), this.registerVisitor("threadedComment", new F("content"), "text"), this.registerVisitor("personList", new Mt());
1628
+ this.visitorsByXmlTagName = /* @__PURE__ */ new Map(), this.scopedVisitorsByXmlTagName = /* @__PURE__ */ new Map(), this.visitorParamsState = null, this.registerVisitor("Relationships", new ct()), this.registerVisitor("spPr", new M()), this.registerVisitor("txBody", new F()), this.registerVisitor("txPr", new F()), this.registerVisitor("c:chartSpace", new ut()), this.registerVisitor("c:chartSpace", new ht(), "chart"), this.registerVisitor("c:plotArea", new pt()), this.registerVisitor("c:barChart", new gt()), this.registerVisitor("c:doughnutChart", new S()), this.registerVisitor("c:lineChart", new S()), this.registerVisitor("c:ofPieType", new S()), this.registerVisitor("c:pieChart", new S()), this.registerVisitor("c:scatterChart", new S()), this.registerVisitor("c:barChart", new N("dataLabels"), "dLbls"), this.registerVisitor("c:doughnutChart", new N("dataLabels"), "dLbls"), this.registerVisitor("c:lineChart", new N("dataLabels"), "dLbls"), this.registerVisitor("c:ofPieType", new N("dataLabels"), "dLbls"), this.registerVisitor("c:pieChart", new N("dataLabels"), "dLbls"), this.registerVisitor("c:scatterChart", new N("dataLabels"), "dLbls"), this.registerVisitor("c:ser", new dt()), this.registerVisitor("c:dPt", new mt()), this.registerVisitor("c:marker", new bt()), this.registerVisitor("c:catAx", new R()), this.registerVisitor("c:valAx", new R()), this.registerVisitor("c:dateAx", new R()), this.registerVisitor("c:majorGridlines", new j("gridLinesMajor")), this.registerVisitor("c:minorGridlines", new j("gridLinesMinor")), this.registerVisitor("c:chartSpace", null, "txPr"), this.registerVisitor("c:catAx", new F("labels.text"), "txPr"), this.registerVisitor("c:valAx", new F("labels.text"), "txPr"), this.registerVisitor("c:dateAx", new F("labels.text"), "txPr"), this.registerVisitor("c:legend", new At()), this.registerVisitor("c:legend", new F("labels.text"), "txPr"), this.registerVisitor("c:legendEntry", new ft()), this.registerVisitor("c:ser", new yt(), "extLst/ext/invertSolidFillFmt/spPr"), this.registerVisitor("c:ser", new N("labels"), "dLbls"), this.registerVisitor("c:dLbl", new N("points")), this.registerVisitor("c:title", new X()), this.registerVisitor("c:title", null, "tx/rich"), this.registerVisitor("c:title", null, "txPr"), this.registerVisitor("c:layout", new vt()), this.registerVisitor("c:dispUnits", new j("dispUnits")), this.registerVisitor("c:dispUnitsLbl", new X("displayUnitsLabel")), this.registerVisitor("c:dispUnitsLbl", new F(), "tx/rich"), this.registerVisitor("a:theme", new Ft()), this.registerVisitor("a:theme", new Ct(), "themeElements/clrScheme"), this.registerVisitor("a:theme", new wt(), "themeElements/fontScheme"), this.registerVisitor("autoFilter", new Nt()), this.registerVisitor("sortState", new Ot()), this.registerVisitor("s:workbook", new Vt()), this.registerVisitor("styleSheet", new Tt()), this.registerVisitor("table", new St()), this.registerVisitor("hlinkClick", new Pt()), this.registerVisitor("wsDr", new xt()), this.registerVisitor("twoCellAnchor", new E()), this.registerVisitor("oneCellAnchor", new E()), this.registerVisitor("absoluteAnchor", new E()), this.registerVisitor("graphicFrame", new kt()), this.registerVisitor("sp", new z()), this.registerVisitor("grpSp", new Lt()), this.registerVisitor("cxnSp", new Bt()), this.registerVisitor("pic", new It()), this.registerVisitor("rvStructures", new _t()), this.registerVisitor("rvData", new jt()), this.registerVisitor("comments", new Rt()), this.registerVisitor("commentList", new Et(), "comment"), this.registerVisitor("comment", new F("content"), "text"), this.registerVisitor("ThreadedComments", new Yt()), this.registerVisitor("threadedComment", new Dt()), this.registerVisitor("threadedComment", new F("content"), "text"), this.registerVisitor("personList", new Mt());
1628
1629
  }
1629
1630
  registerVisitor(t, e, s = null) {
1630
1631
  t.indexOf(":") === -1 && (t = "*:" + t);
@@ -1697,6 +1698,6 @@ class Xt {
1697
1698
  }
1698
1699
  }
1699
1700
  export {
1700
- Xt as FromOOXMLConverter,
1701
- Xt as default
1701
+ $t as FromOOXMLConverter,
1702
+ $t as default
1702
1703
  };
@@ -1,15 +1,15 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
2
  import { memo as E, useMemo as M, useState as x, useCallback as j } from "react";
3
- import { a7 as r, T as S, c as V, F as $, f as z, g as h, b6 as C } from "./B6nZCfPr7UmxzAi6.mjs";
3
+ import { t as r, m as S, B as V, F as $, a as z, b as h, ay as C } from "./F-RqJeKWiW4i5344.js";
4
4
  /**
5
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.3
5
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.5
6
6
  *
7
7
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
8
8
  * License: The license can be found at https://www.sheetxl.com/license.
9
9
  */
10
10
  const G = ["Ok", "Cancel"], U = E((O) => {
11
- const { initialComments: F = null, onUpdateComments: m, context: T, onOption: u, onValidateOption: l, onDone: p, options: d = G, defaultOption: c = d?.[0], cancelOption: s = "Cancel", sx: b, ...k } = O, g = M(() => {
12
- const n = F ?? T?.()?.getComments();
11
+ const { initialComments: y = null, onUpdateComments: m, context: F, onOption: u, onValidateOption: l, onDone: p, options: d = G, defaultOption: c = d?.[0], cancelOption: s = "Cancel", sx: b, ...k } = O, g = M(() => {
12
+ const n = y ?? F?.()?.getComments();
13
13
  let t = "";
14
14
  if (n && n.content && n.content.runs) {
15
15
  const a = n.content.runs;
@@ -19,7 +19,7 @@ const G = ["Ok", "Cancel"], U = E((O) => {
19
19
  }
20
20
  }
21
21
  return t;
22
- }, []), [e, w] = x(g), [y, P] = x(!1), f = j(async (n, t) => null, []), v = r(async (n) => {
22
+ }, []), [e, w] = x(g), [P, T] = x(!1), f = j(async (n, t) => null, []), v = r(async (n) => {
23
23
  const t = e === "" ? [] : e.split(`
24
24
  `);
25
25
  if (n !== s) {
@@ -39,7 +39,7 @@ const G = ["Ok", "Cancel"], U = E((O) => {
39
39
  return t ?? !0;
40
40
  }, [l, e]);
41
41
  return i(S, { title: (g ? "Edit" : "Insert") + " Comments", options: d, onDone: p, onOption: (n) => v(n), onValidateOption: I, defaultOption: c, cancelOption: s, autoFocusSel: ".autoFocus", sx: { width: "480px", ...b }, ...k, children: i(V, { sx: { paddingTop: (n) => n.spacing(1), paddingBottom: (n) => n.spacing(0), rowGap: (n) => n.spacing(1), display: "flex", flexDirection: "column" }, children: i($, { sx: { paddingTop: (n) => n.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: i(z, { label: "Comments", placeholder: "Enter a comment.", onFocus: (n) => {
42
- y || n.target?.select(), P(!0);
42
+ P || n.target?.select(), T(!0);
43
43
  }, sx: { "& .MuiFormHelperText-root": { marginTop: (n) => n.spacing(0.5) } }, InputLabelProps: { shrink: !0 }, InputProps: { inputProps: { className: "autoFocus", spellCheck: !1, autoComplete: "off", sx: { paddingTop: (n) => n.spacing(1.25), paddingBottom: (n) => n.spacing(0.75), backgroundImage: `linear-gradient(${h("#fff", C(5))}, ${h("#fff", C(5))})` } } }, value: e, onChange: D, onContextMenu: (n) => {
44
44
  n.stopPropagation();
45
45
  } }) }) }) });
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.3
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.5
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,7 +1,7 @@
1
1
  import * as Je from "react";
2
2
  import { createElement as $r, forwardRef as Ya, useRef as Xa, useImperativeHandle as Wa, useEffect as Ha } from "react";
3
3
  /**
4
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.3
4
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.5
5
5
  *
6
6
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
7
7
  * License: The license can be found at https://www.sheetxl.com/license.