@sheetxl/studio-vanilla 0.6.12 → 0.6.13

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 (185) hide show
  1. package/browser/cjs/{4-Zslot8tjgvc7us.cjs → 85va2-St3DCDHPWi.cjs} +1 -1
  2. package/browser/cjs/{BCsNCdYPRZAraC8d.cjs → B83nqvOr_nMkM51I.cjs} +2 -2
  3. package/browser/cjs/{C8DarB4sLQFKkMdV.cjs → BA3DFG2nrzDKBzaP.cjs} +2 -2
  4. package/browser/cjs/{CTa1cghbdu13Meza.cjs → BCHCINYLsB92fUd2.cjs} +1 -1
  5. package/browser/cjs/{Boy3moLTpE7cpem5.cjs → BIUjmZ7HCNaQXoTG.cjs} +8 -8
  6. package/browser/cjs/{NtKPXFY8UW5S4av6.cjs → BIqfwHs636pnurrX.cjs} +3 -3
  7. package/browser/cjs/{DAQ2c_a0DiwtXSaS.cjs → BQVmSIuGfNsnFzf2.cjs} +1 -1
  8. package/browser/cjs/{B4FapNwAXbDFE8ft.cjs → BTxWGtgw_dE_0eih.cjs} +2 -2
  9. package/browser/cjs/{yh2Uf1xuszGzx-Kd.cjs → BbXgRYTl82jkiJaS.cjs} +1 -1
  10. package/browser/cjs/{C-yKdfqW8ivEjtXi.cjs → BeDR_qSmp_PLY_Ni.cjs} +2 -2
  11. package/browser/cjs/{BNitOAf-dpHk9FAH.cjs → BeNeF7OU6_ZUh22o.cjs} +1 -1
  12. package/browser/cjs/BrhEZihB-_ktU4T0.cjs +330 -0
  13. package/browser/cjs/{C_jL_h3BhzCBcoNT.cjs → ByCaPv9jy1xJhUpy.cjs} +3 -3
  14. package/browser/cjs/{CR-Z1D2-Uyz85QbN.cjs → C4EMf-yOeuX251Jh.cjs} +1 -1
  15. package/browser/cjs/{DBn_kVVpgYJXg1vG.cjs → C8AeV12HEQmDxrrQ.cjs} +2 -2
  16. package/browser/cjs/{BOqJU1qWO4s0kvRe.cjs → CALDtOfkcN6Jbojq.cjs} +1 -1
  17. package/browser/cjs/{Brrg7KQy-WJCm6FH.cjs → CBtS7k3EP9UtqHZA.cjs} +2 -2
  18. package/browser/cjs/{DL0V_BZDzrH833iW.cjs → CJ0SZF-8BpXpqHLG.cjs} +1 -1
  19. package/browser/cjs/{CJrBR6R7kDQkwzDV.cjs → CWlyoyrXvR3BE-jk.cjs} +5 -5
  20. package/browser/cjs/{njyeDxwePNCLYht0.cjs → CXScQ9sAbW2fVquw.cjs} +2 -2
  21. package/browser/cjs/{fE5gdtaj9xH9Txl_.cjs → CasVQHVmCabxIFHY.cjs} +1 -1
  22. package/browser/cjs/{C4ZH_yXSgUMDda3E.cjs → CgBJ4g6tv3H_R9Kq.cjs} +1 -1
  23. package/browser/cjs/{Jk8I-g8k-Te3mAuW.cjs → ChmjJCMH-Sj2mRSq.cjs} +4 -4
  24. package/browser/cjs/{R6J7xzanm7-0r18y.cjs → Cjs1mwoaLDl4U-id.cjs} +1 -1
  25. package/browser/cjs/{Da_WyXJxemYwJoAW.cjs → Cl4L7g73r_uCVljX.cjs} +4 -4
  26. package/browser/cjs/{DNf7isxHvn8kBRBA.cjs → Cqczoyf-mvCrVkOI.cjs} +2 -2
  27. package/browser/cjs/{JaamSR8t55rP4NaB.cjs → D7zeG4Dq9VVDwSCI.cjs} +1 -1
  28. package/browser/cjs/{COM0YKv6v1OA6y1u.cjs → DBKQY-gTKLMo6-YQ.cjs} +1 -1
  29. package/browser/cjs/{DFOzxzj-b_EbdLEa.cjs → DDuh_76jNqQi3oLw.cjs} +1 -1
  30. package/browser/cjs/{C2rXEJDkPPb_6bl6.cjs → DFT-gVNBVM8fGO8X.cjs} +1 -1
  31. package/browser/cjs/{DMwyLM5GUVT6L-l8.cjs → DGdTkgwo5VMpqkhB.cjs} +1 -1
  32. package/browser/cjs/{IRPvPzzAgVBXsrg2.cjs → DKGbGPckRJ9FAaOu.cjs} +2 -2
  33. package/browser/cjs/{DSkj4UimNvsCb_Bo.cjs → DMJdnLcsnQ4_pLhU.cjs} +1 -1
  34. package/browser/cjs/{Dy_s-ZN3iyVqDRnH.cjs → DPQzQo_cVgr2USBG.cjs} +2 -2
  35. package/browser/cjs/{CGxvgqdca6DE1Lhw.cjs → DQW4tBlpxAN0KXQU.cjs} +1 -1
  36. package/browser/cjs/{DI03QTzE-fMeS32m.cjs → DR3JN8rVWa74y02y.cjs} +2 -2
  37. package/browser/cjs/{DjuqFymLKIETWBUv.cjs → Ddtzu7c4EPXHIcj3.cjs} +4 -4
  38. package/browser/cjs/{CSvSCui528E6xP8g.cjs → DiVH7U1zQL9bIPWC.cjs} +2 -2
  39. package/browser/cjs/{CfwAF66WGeApcIV7.cjs → Dle9M9YwjxGPX_3i.cjs} +1 -1
  40. package/browser/cjs/{Dl9rBEBFEK4bojp4.cjs → Dm-KbyB99BvHX4Kj.cjs} +1 -1
  41. package/browser/cjs/{R9ax_8QNF98Y821b.cjs → DnDQwTAcMZ5GJY8Z.cjs} +1 -1
  42. package/browser/cjs/{Ch1_UvIWpbaN5rxX.cjs → DnZMQJu4QVG8s-fn.cjs} +1 -1
  43. package/browser/cjs/{OGrDjh4lYzIe6ZM5.cjs → DoeuZwPF0BW81fKT.cjs} +1 -1
  44. package/browser/cjs/{DZLWeYBtRacbnS2V.cjs → DqTSKOcPLPd5hE94.cjs} +1 -1
  45. package/browser/cjs/{Ck0O0hNjhD25TPwp.cjs → DyeaxRojXEDcJmNz.cjs} +1 -1
  46. package/browser/cjs/{CAVjIsXFeiRxV6Kv.cjs → FdX2120MW2CEXVRc.cjs} +1 -1
  47. package/browser/cjs/{BV960fH0vsNpcjBp.cjs → LtiL0iFw0m26ARIc.cjs} +1 -1
  48. package/browser/cjs/{BlpYyYvqFay95gtr.cjs → S9PRYtPVpUU_kcmv.cjs} +6 -6
  49. package/browser/cjs/{Bs5b-WL6BMU_-Wvd.cjs → _e73Vjd1NqFit8RL.cjs} +2 -2
  50. package/browser/cjs/{C_zWjLH_j3ePtsRH.cjs → avSPDYdtIZXU6BVy.cjs} +1 -1
  51. package/browser/cjs/{CMpa1fnuR2ziK7NB.cjs → bMuFKnmBsbIAepS_.cjs} +2 -2
  52. package/browser/cjs/{BXf4V8dISiSJ2_cG.cjs → cVZC0sIrdzPDxhdC.cjs} +2 -2
  53. package/browser/cjs/{XT4qtSqsj6Dg_5VI.cjs → eDrXkhn28xrKJ3ya.cjs} +1 -1
  54. package/browser/cjs/index.cjs +2 -2
  55. package/browser/cjs/{D0GbFTRW6O4tbElz.cjs → ki0IuetxD1LusOEq.cjs} +1 -1
  56. package/browser/cjs/{UY-uDUpWCfoqDJlO.cjs → r6vlBldZ16g1uolO.cjs} +3 -3
  57. package/browser/cjs/{DPBUOWQyRkPwMG0m.cjs → rKX_hwcSaby8h2iH.cjs} +1 -1
  58. package/browser/cjs/{DbL9vDnd3L7k8G-R.cjs → t_AXht1hkkuNmw2N.cjs} +1 -1
  59. package/browser/esm/{D-VISOh6uxM42YNT.mjs → 29Sn9qQkO4LVQQCN.mjs} +1 -1
  60. package/browser/esm/{B7rrClXu0eRVgFbS.mjs → 76VvrZLkHuvhAsGN.mjs} +1 -1
  61. package/browser/esm/{DRp6Z8JOgSVz5KVo.mjs → AR0xdN94FQwwXbn9.mjs} +1 -1
  62. package/{cdn/assets/BabjkJyBvfShpoga.js → browser/esm/B7ZM811lP5XYGPik.mjs} +1 -1
  63. package/browser/esm/{CA5x6U9yNu6x128O.mjs → BA3TCV9RT2qEC0xB.mjs} +13 -13
  64. package/{cdn/assets/C9rxHmaMq-L_x7pb.js → browser/esm/BADK5eZr5gw7iuRF.mjs} +1 -1
  65. package/browser/esm/{CGnn4gT6NK3Bw5pR.mjs → BQFzNGa2dsGEDk63.mjs} +2 -2
  66. package/browser/esm/{XJNikNOEymEAtfjl.mjs → BYv_u70XXEBkT_cs.mjs} +1 -1
  67. package/browser/esm/{Dhb1eEwqVInwjoyG.mjs → B_JqrBu4snd1mCAn.mjs} +2 -2
  68. package/{cdn/assets/Bl27rOq1mpdD4Yji.js → browser/esm/B_hYStAOL_dOzrHe.mjs} +1 -1
  69. package/{cdn/assets/C3lClRQOAni_quGG.js → browser/esm/BbPCzb3P6bAIX34V.mjs} +1 -1
  70. package/browser/esm/{B-Oz4I1r23gPcXtp.mjs → BoRdOfmhMnafZKpp.mjs} +1 -1
  71. package/browser/esm/{BSOz6BjHa-XOQdRs.mjs → Bp4gXO1YggYh_6K-.mjs} +1 -1
  72. package/browser/esm/{qxg4jdD-zZv0PRCg.mjs → BpTPfzuAljxFXK_W.mjs} +1 -1
  73. package/browser/esm/{DcIRNl6SaeKJrSc6.mjs → BzPlKUXEzPpB_g68.mjs} +2 -2
  74. package/browser/esm/{C-dhvN5nFYjOTtnf.mjs → Bzo80FZKYoESKlFb.mjs} +2 -2
  75. package/browser/esm/{B2bF9iG7UILgJ4LM.mjs → C-Ay0vwKnUkXnbuO.mjs} +1 -1
  76. package/browser/esm/{CuBFnYLmVuuQMiAZ.mjs → C9EHcO72-0BYtF6X.mjs} +2 -2
  77. package/browser/esm/{j44G4tJc6BIPMmb9.mjs → CFhOaUfgpajcEzT4.mjs} +4 -4
  78. package/browser/esm/{CXHUQUpCSKWXmmjX.mjs → CJAKxm3wwhG-as_J.mjs} +6 -6
  79. package/browser/esm/{9kLrv4iH3OnaZex5.mjs → CM4zwhrcqWhPALAe.mjs} +1 -1
  80. package/browser/esm/{B2oT-2hVpuF0xe5t.mjs → CRn4lFFQEAdHbc1M.mjs} +2 -2
  81. package/{cdn/assets/DBO3fKTIkE6M92Bg.js → browser/esm/CamJyaespLDx13Dh.mjs} +1 -1
  82. package/browser/esm/{5O4eIWNJ77z4TjwU.mjs → Cd6zSAicX966oPBT.mjs} +1 -1
  83. package/browser/esm/{DksxIsuBVNe7uoPS.mjs → CeyZOF9jknWRbv_d.mjs} +5 -5
  84. package/browser/esm/{CAr85I1oRSn-qxYa.mjs → CgnBjUP2KrJ1LNiX.mjs} +4 -4
  85. package/browser/esm/{CNXNYlU8Dqt2viBf.mjs → CiA5mkGar8N83Ic4.mjs} +2 -2
  86. package/{cdn/assets/ZR2RN4BOEE96xkBY.js → browser/esm/CiaDxCDY_EsZby9w.mjs} +1 -1
  87. package/{cdn/assets/CYJRyhAeTiNXpPLo.js → browser/esm/Cpi9GqXowtMM0FvH.mjs} +1 -1
  88. package/{cdn/assets/BX3gHGuDwz4BGqH0.js → browser/esm/CpvXecYYY7hudiEG.mjs} +1 -1
  89. package/browser/esm/{DfvlmDzGrrBDmpqY.mjs → Cs5vWhsVEbLA4gem.mjs} +1 -1
  90. package/{cdn/assets/DQ6pTYleameL7ZnI.js → browser/esm/CuXsvRqqdXfQP5EM.mjs} +2 -2
  91. package/browser/esm/{TLTkEOsOpx-SfUf4.mjs → CxqVBPbGSpS0kn2c.mjs} +2 -2
  92. package/browser/esm/{BRDTgAugVbh4e6kG.mjs → D2AuFfFnooIsiOnO.mjs} +8454 -8448
  93. package/browser/esm/{Gg-pPE_6Nsgkhl6j.mjs → D4JXMgZoY6e8jRBg.mjs} +1 -1
  94. package/browser/esm/{BiJaL5j4bBPGzMnc.mjs → D6w1YhRYKtvFB_So.mjs} +1 -1
  95. package/browser/esm/{BAnj7CWdaYauBEsE.mjs → D7QWyRlUXJflAC3a.mjs} +4 -4
  96. package/{cdn/assets/Npd571NhpOOtNve2.js → browser/esm/DBF1GJpLrjlM-6CC.mjs} +1 -1
  97. package/browser/esm/{DQGFC4U25ZdPl6i2.mjs → DEisLoDkr9m-vJ1h.mjs} +3 -3
  98. package/browser/esm/{DNwXrDJZgzDvQ7hV.mjs → DMa-cM-SjpZHaDfI.mjs} +1 -1
  99. package/browser/esm/{BDEjqZxtaMX_J8pu.mjs → DOCbzL6fsqN0Lj-4.mjs} +2 -2
  100. package/browser/esm/{Wp01wcnbYbu0n6rc.mjs → DSL1nO9X0e6fUT1o.mjs} +3 -3
  101. package/browser/esm/{6Xj_0tp5yFHA2fVh.mjs → DSxawwOgXGe57KpB.mjs} +1 -1
  102. package/browser/esm/{DntCxcF_3Few0z5K.mjs → DUhymiAI6BuvNbKJ.mjs} +10 -10
  103. package/browser/esm/{pVzsXwLrd5e4m33L.mjs → DXYOC-KhV5LdDmIY.mjs} +1 -1
  104. package/browser/esm/{BWA77V9GH3zUe8NP.mjs → D_WqqxbwbGDsSsCl.mjs} +1 -1
  105. package/browser/esm/{CYWJ0enPPDIfk7ov.mjs → Do7U-DkzG4JJUJe3.mjs} +1 -1
  106. package/{cdn/assets/CITvMm_Jp7v1uCHW.js → browser/esm/DuIvCvai3YZKxdLf.mjs} +1 -1
  107. package/browser/esm/{B4PjIaFGQ3Q4_Wlk.mjs → Dv4KM68IVqBp8HZ-.mjs} +1 -1
  108. package/browser/esm/{Dztc75Ftff64xaBA.mjs → DvUB0bNvINn6oYy_.mjs} +3 -3
  109. package/{cdn/assets/OnAC-8n9ixY--d3D.js → browser/esm/DwYLofBisLEysG7X.mjs} +36 -38
  110. package/browser/esm/{BigyDKW7Xug_6ElX.mjs → HTJovRKXdY2qgi_6.mjs} +1 -1
  111. package/browser/esm/{DXw2MUY2h3AeyOq1.mjs → NbEKj1EeT3TPECvv.mjs} +6 -6
  112. package/browser/esm/{Cc5jl2vdimKVy27f.mjs → PNvC5lw27NuD--Bq.mjs} +1 -1
  113. package/{cdn/assets/DKboJ05jC9VLIceA.js → browser/esm/SJ-UwheLV5pfR_jD.mjs} +3 -3
  114. package/browser/esm/{CvD92TtLywni95vu.mjs → gyJPHFTvBx6YCTMu.mjs} +8 -8
  115. package/browser/esm/index.mjs +2 -2
  116. package/{cdn/assets/BwT6PgiFTI1lZJnk.js → browser/esm/lSJ-6GsnTin_DAf-.mjs} +1 -1
  117. package/cdn/assets/{DKTEcMXrRxDkrir3.js → 25ums9tFCOUg3O2Q.js} +4 -4
  118. package/cdn/assets/{D-VISOh6uxM42YNT.js → 29Sn9qQkO4LVQQCN.js} +1 -1
  119. package/cdn/assets/{DYQveTPG7NR7YBdr.js → 36SzenckOtIq8sv4.js} +4 -4
  120. package/cdn/assets/{EpGdvM6bMgq82BXo.js → 3Jv-_TB7f6AMsi_b.js} +2 -2
  121. package/cdn/assets/{CQAECca1tqM9ZhJZ.js → 41F2zE-NjrEaRUct.js} +19 -19
  122. package/cdn/assets/{ZeZqdFUNRHKncGhU.js → 4nLfCXAlUUohbH0F.js} +20 -20
  123. package/cdn/assets/{B7rrClXu0eRVgFbS.js → 76VvrZLkHuvhAsGN.js} +1 -1
  124. package/cdn/assets/{DRp6Z8JOgSVz5KVo.js → AR0xdN94FQwwXbn9.js} +1 -1
  125. package/{browser/esm/BabjkJyBvfShpoga.mjs → cdn/assets/B7ZM811lP5XYGPik.js} +1 -1
  126. package/{browser/esm/C9rxHmaMq-L_x7pb.mjs → cdn/assets/BADK5eZr5gw7iuRF.js} +1 -1
  127. package/{browser/esm/evBaY41MlM7-q0bd.mjs → cdn/assets/BCgLmV2yUGlW6j0o.js} +2 -2
  128. package/cdn/assets/{Dq3Hgc9Lmm-1ayqr.js → BErZItp6yDnW8EoI.js} +1 -1
  129. package/{browser/esm/BZHxwifCKgkMgVWc.mjs → cdn/assets/BIaw6w__smOxTgrS.js} +33 -31
  130. package/cdn/assets/{BKPXInAd0xgvnL4x.js → BJeCYOWmWd7Tdt4z.js} +13 -13
  131. package/cdn/assets/{CQJXEyhsu_b5wZxs.js → BLGd08GlRgwYIO_Y.js} +3 -3
  132. package/cdn/assets/{Du-jQnBOwfUti9qS.js → BUMAQHiE6B8VcRBt.js} +3 -3
  133. package/cdn/assets/{XJNikNOEymEAtfjl.js → BYv_u70XXEBkT_cs.js} +1 -1
  134. package/{browser/esm/Bl27rOq1mpdD4Yji.mjs → cdn/assets/B_hYStAOL_dOzrHe.js} +1 -1
  135. package/{browser/esm/C3lClRQOAni_quGG.mjs → cdn/assets/BbPCzb3P6bAIX34V.js} +1 -1
  136. package/cdn/assets/{DEmdGe7U-ScNqm-T.js → BcZsnZ76Ig1BEjZI.js} +1 -1
  137. package/cdn/assets/{B-Oz4I1r23gPcXtp.js → BoRdOfmhMnafZKpp.js} +1 -1
  138. package/cdn/assets/{BSOz6BjHa-XOQdRs.js → Bp4gXO1YggYh_6K-.js} +1 -1
  139. package/cdn/assets/{qxg4jdD-zZv0PRCg.js → BpTPfzuAljxFXK_W.js} +1 -1
  140. package/cdn/assets/{B2bF9iG7UILgJ4LM.js → C-Ay0vwKnUkXnbuO.js} +1 -1
  141. package/cdn/assets/{Czz8tW5NIYeklMEl.js → CI3Q-_9QUjsWi4jv.js} +9 -9
  142. package/cdn/assets/{BaNoD-xiJQh3ZPmb.js → CJB8tfn11J6m2Clz.js} +8497 -8491
  143. package/cdn/assets/{9kLrv4iH3OnaZex5.js → CM4zwhrcqWhPALAe.js} +1 -1
  144. package/cdn/assets/{DkbiO2yzCX_MpLUM.js → CROWrWkGO9UZHTdk.js} +2 -2
  145. package/{browser/esm/DBO3fKTIkE6M92Bg.mjs → cdn/assets/CamJyaespLDx13Dh.js} +1 -1
  146. package/cdn/assets/{5O4eIWNJ77z4TjwU.js → Cd6zSAicX966oPBT.js} +1 -1
  147. package/cdn/assets/{B5TWIqveUshhY5R1.js → CeQD5RH8lpSuWO70.js} +2 -2
  148. package/{browser/esm/ZR2RN4BOEE96xkBY.mjs → cdn/assets/CiaDxCDY_EsZby9w.js} +1 -1
  149. package/cdn/assets/{OOEShXRM0SSzABgT.js → CoE8l1qq0IF7Mt-y.js} +2 -2
  150. package/cdn/assets/{Cv8DhxU4CydNjgYf.js → CoZhXKCBM0IPKnL_.js} +2 -2
  151. package/{browser/esm/CYJRyhAeTiNXpPLo.mjs → cdn/assets/Cpi9GqXowtMM0FvH.js} +1 -1
  152. package/cdn/assets/{DIey2xEJmI7O0YnZ.js → Cptaglf3icdDq0qQ.js} +3 -3
  153. package/{browser/esm/BX3gHGuDwz4BGqH0.mjs → cdn/assets/CpvXecYYY7hudiEG.js} +1 -1
  154. package/cdn/assets/{DfvlmDzGrrBDmpqY.js → Cs5vWhsVEbLA4gem.js} +1 -1
  155. package/{browser/esm/CODPPS0Z3-eGlIpk.mjs → cdn/assets/CuavCINiWUPmC7Vf.js} +3 -3
  156. package/cdn/assets/{KpqL_5GK5wD7HGlW.js → D01fmVK5D7_USTVV.js} +12 -12
  157. package/cdn/assets/{Gg-pPE_6Nsgkhl6j.js → D4JXMgZoY6e8jRBg.js} +1 -1
  158. package/cdn/assets/{fJPZ_Jd-HQOXASB4.js → D6UyN94iMzzzdb1j.js} +16 -16
  159. package/cdn/assets/{BiJaL5j4bBPGzMnc.js → D6w1YhRYKtvFB_So.js} +1 -1
  160. package/{browser/esm/Npd571NhpOOtNve2.mjs → cdn/assets/DBF1GJpLrjlM-6CC.js} +1 -1
  161. package/cdn/assets/{DQzcbKOoBbOJ0J0a.js → DH9hyBLBu3iKEDKB.js} +2 -2
  162. package/cdn/assets/{DNwXrDJZgzDvQ7hV.js → DMa-cM-SjpZHaDfI.js} +1 -1
  163. package/cdn/assets/{6Xj_0tp5yFHA2fVh.js → DSxawwOgXGe57KpB.js} +1 -1
  164. package/cdn/assets/{pVzsXwLrd5e4m33L.js → DXYOC-KhV5LdDmIY.js} +1 -1
  165. package/cdn/assets/{BWA77V9GH3zUe8NP.js → D_WqqxbwbGDsSsCl.js} +1 -1
  166. package/cdn/assets/{Dki3Tc8f5EEPSy2A.js → DlMTJf51lC636nM7.js} +4 -4
  167. package/{browser/esm/CITvMm_Jp7v1uCHW.mjs → cdn/assets/DuIvCvai3YZKxdLf.js} +1 -1
  168. package/cdn/assets/{B4PjIaFGQ3Q4_Wlk.js → Dv4KM68IVqBp8HZ-.js} +1 -1
  169. package/cdn/assets/{BigyDKW7Xug_6ElX.js → HTJovRKXdY2qgi_6.js} +1 -1
  170. package/cdn/assets/{aYMVmCGUoMrWBWdJ.js → P3tZrt0e9QaxIsSj.js} +3 -3
  171. package/cdn/assets/{Cc5jl2vdimKVy27f.js → PNvC5lw27NuD--Bq.js} +1 -1
  172. package/cdn/assets/{CIqXHw7AeHuTWFv1.js → dyXa5mldoVYOGp53.js} +2 -2
  173. package/cdn/assets/iGmpf_LzbJL2CsAa.js +22 -0
  174. package/cdn/assets/{CjsqTf4aAZsSOQ4J.js → kVuelG_XYHvC8tLV.js} +6 -6
  175. package/{browser/esm/BwT6PgiFTI1lZJnk.mjs → cdn/assets/lSJ-6GsnTin_DAf-.js} +1 -1
  176. package/cdn/assets/{BY0xpEYpsbIWoas1.js → r1CnkJ31QoXTp_nk.js} +4 -4
  177. package/cdn/assets/{CgURqXMk55k7LcUi.js → t-1W8YGdgV1JTqbk.js} +2 -2
  178. package/cdn/assets/{BF9myo60dkqcm4qq.js → tlI4qejEXDcDO0lI.js} +10 -10
  179. package/cdn/assets/{DdUOGC8VEXGTJMCr.js → wPWci8JgKtfKzAb-.js} +4 -4
  180. package/cdn/assets/{CoVV4Ol-kN87MzAH.js → wanybeV42m66cubX.js} +5 -5
  181. package/cdn/index.js +2 -2
  182. package/cdn/loader.js +1 -1
  183. package/package.json +3 -3
  184. package/browser/cjs/BjZIUujglND8Gflk.cjs +0 -330
  185. package/cdn/assets/CqBvDRcS9lQOZqd0.js +0 -22
@@ -1,22 +1,20 @@
1
- import { a as t } from "./DQzcbKOoBbOJ0J0a.js";
2
- import { r as o } from "./DIey2xEJmI7O0YnZ.js";
3
- import { y as E, z as p, w as b, T as V, h as le, D as ae, G as re, H as ce, e as O, J as g, K as m, L as pe, O as j, P as de, t as q, p as R, Q as ue, V as fe, U as xe, $ as ge, s as T, a0 as Y, a1 as me, a2 as he, a3 as Oe, x as je, o as Ce, I as ye, S as be } from "./BaNoD-xiJQh3ZPmb.js";
1
+ import { h as E, j as t, r as o, l as p, w as b, T as M, e as le, n as ae, x as re, D as ce, B as O, o as g, p as m, q as pe, Z as j, s as de, d as Z, c as R, t as ue, V as fe, H as xe, z as ge, g as T, y as Q, A as me, E as he, J as Oe, M as je, b as Ce, I as ye, S as be } from "./D2AuFfFnooIsiOnO.mjs";
4
2
  /**
5
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.12
3
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.13
6
4
  *
7
5
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
8
6
  * License: The license can be found at https://www.sheetxl.com/license.
9
7
  */
10
- const Re = E(t.jsx("path", { d: "M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z" }), "ArrowBack"), Te = E(t.jsx("path", { d: "m20 12-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8z" }), "ArrowDownward"), ve = E(t.jsx("path", { d: "m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z" }), "ArrowForward"), ke = E(t.jsx("path", { d: "m4 12 1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8z" }), "ArrowUpward"), A = o.memo((v) => {
8
+ const Re = E(t.jsx("path", { d: "M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z" }), "ArrowBack"), Te = E(t.jsx("path", { d: "m20 12-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8z" }), "ArrowDownward"), ve = E(t.jsx("path", { d: "m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z" }), "ArrowForward"), ke = E(t.jsx("path", { d: "m4 12 1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8z" }), "ArrowUpward"), K = o.memo((v) => {
11
9
  const { label: h, value: c, options: l, onSelect: d, tabIndex: C = 0, ...F } = v, [I, y] = o.useState(() => ee(c, l));
12
10
  o.useEffect(() => {
13
11
  y(ee(c, l));
14
12
  }, [c, l]);
15
- const L = V((u) => {
13
+ const D = M((u) => {
16
14
  y(u.target.value), d?.(l[u.target.value]);
17
15
  }, [d, l]), a = o.useMemo(() => Object.keys(l).map((u) => t.jsx(je, { value: u, children: u }, u)), [l]);
18
- return t.jsxs(Ce, { sx: { minWidth: 135 }, size: "small", children: [t.jsx(ye, { children: h }), t.jsx(be, { inputProps: { tabIndex: C }, value: I, label: h, onChange: L, sx: { backgroundImage: `linear-gradient(${R("#fff", T(5))}, ${R("#fff", T(5))})` }, ...F, children: a })] });
19
- }), Z = { Workbook: "workbook", Sheet: "sheet" }, _ = { enter: 140, exit: 140 }, ne = { Formulas: p.Content.Formulas, Values: p.Content.Values, Notes: p.Content.Notes, Comments: p.Content.Comments }, te = { ...ne };
16
+ return t.jsxs(Ce, { sx: { minWidth: 135 }, size: "small", children: [t.jsx(ye, { children: h }), t.jsx(be, { inputProps: { tabIndex: C }, value: I, label: h, onChange: D, sx: { backgroundImage: `linear-gradient(${R("#fff", T(5))}, ${R("#fff", T(5))})` }, ...F, children: a })] });
17
+ }), Y = { Workbook: "workbook", Sheet: "sheet" }, _ = { enter: 140, exit: 140 }, ne = { Formulas: p.Content.Formulas, Values: p.Content.Values, Notes: p.Content.Notes, Comments: p.Content.Comments }, te = { ...ne };
20
18
  delete te.Values;
21
19
  const Se = { "By Rows": !0, "By Columns": !1 }, ee = (v, h) => {
22
20
  const c = Object.keys(h);
@@ -24,33 +22,33 @@ const Se = { "By Rows": !0, "By Columns": !1 }, ee = (v, h) => {
24
22
  const d = c[l];
25
23
  if (h[d] === v) return d;
26
24
  }
27
- }, Ie = o.memo((v) => {
28
- const { replace: h = !1, findText: c, replaceText: l, findOptions: d, replaceOptions: C, title: F, onHide: I, onFindOrReplace: y, ...L } = v, a = o.useRef(null), u = o.useRef(null), H = o.useRef(null), M = o.useRef(null), $ = o.useRef(null), z = o.useRef(null), B = (e, n) => {
25
+ }, Ee = o.memo((v) => {
26
+ const { replace: h = !1, findText: c, replaceText: l, findOptions: d, replaceOptions: C, title: F, onHide: I, onFindOrReplace: y, ...D } = v, a = o.useRef(null), u = o.useRef(null), V = o.useRef(null), H = o.useRef(null), $ = o.useRef(null), z = o.useRef(null), B = (e, n) => {
29
27
  n && (n.start(e, { center: !1 }), setTimeout(() => n.stop(e), 180));
30
- }, [W, w] = o.useState(!1), [D, se] = o.useState(!1), [f, P] = o.useState(h), [N, K] = o.useState(!1), [U, G] = o.useState(!1), [i, r] = o.useState({ findText: null, replaceText: null, replace: h, replaceOptions: {}, findOptions: { matchCase: !1, matchEntireCell: !1, useRegex: !1, orientation: b.Orientation.Row, fields: [p.Content.Formulas] }, scope: Z.Sheet }), k = V(async (e, n, s, S) => {
28
+ }, [W, w] = o.useState(!1), [L, se] = o.useState(!1), [f, A] = o.useState(h), [N, P] = o.useState(!1), [U, q] = o.useState(!1), [i, r] = o.useState({ findText: null, replaceText: null, replace: h, replaceOptions: {}, findOptions: { matchCase: !1, matchEntireCell: !1, useRegex: !1, orientation: b.Orientation.Row, fields: [p.Content.Formulas] }, scope: Y.Sheet }), k = M(async (e, n, s, S) => {
31
29
  if (!y) return;
32
30
  const x = { ...i };
33
31
  x.replaceOptions = { ...x.replaceOptions }, x.findOptions = { ...x.findOptions }, x.replaceOptions.maxCount = s ? void 0 : 1, x.replace = n, n && i.findOptions.fields?.[0] === p.Content.Values && (x.findOptions.fields = [p.Content.Formulas]), x.findOptions.reverse = !e;
34
32
  const oe = await y({ autoFocus: S, ...x });
35
- K(oe === 0);
33
+ P(oe === 0);
36
34
  }, [i, y]);
37
35
  o.useEffect(() => {
38
- K(!1);
39
- }, [i, D, f]);
40
- const J = V((e, n) => {
36
+ P(!1);
37
+ }, [i, L, f]);
38
+ const G = M((e, n) => {
41
39
  if (e.keyCode === le.Enter) {
42
40
  if (!i.findText) return;
43
41
  let s = !0, S = !1;
44
- e.shiftKey && (s = !1), n ? (e.ctrlKey && e.altKey && (S = !0), B(e, S ? z.current : $.current)) : B(e, s ? M.current : H.current), k(s, n, S, !1);
42
+ e.shiftKey && (s = !1), n ? (e.ctrlKey && e.altKey && (S = !0), B(e, S ? z.current : $.current)) : B(e, s ? H.current : V.current), k(s, n, S, !1);
45
43
  }
46
- }, [i]), Q = o.useRef(null);
44
+ }, [i]), J = o.useRef(null);
47
45
  o.useLayoutEffect(() => {
48
46
  r((e) => {
49
47
  const n = { ...e };
50
48
  n.findText = c && c.length > 0 ? c : e.findText ?? "", w(!0), l !== void 0 && (n.replaceText = l), d && (n.findOptions = { ...n.findOptions, ...d }), n.replaceText || (n.replaceText = ""), n.replaceOptions && (n.replaceOptions = { ...n.replaceOptions }), C && (n.replaceOptions = { ...n.replaceOptions, ...C }), i.findOptions.fields?.[0] || (i.findOptions.fields = [p.Content.Formulas]);
51
49
  const s = !(!C && l === void 0);
52
- return s && P(s), n;
53
- }), U || Q.current?.focus();
50
+ return s && A(s), n;
51
+ }), U || J.current?.focus();
54
52
  }, [c, l, d, C]), o.useEffect(() => {
55
53
  f ? (i.findOptions.fields[0], p.Content.Values) : w(!0);
56
54
  }, [f]), o.useEffect(() => {
@@ -59,10 +57,10 @@ const Se = { "By Rows": !0, "By Columns": !1 }, ee = (v, h) => {
59
57
  }, { once: !0 });
60
58
  }, [W, i]);
61
59
  const [ie, { width: X }] = ae();
62
- return t.jsx(re, { ref: Q, title: F ?? (f ? "Find & Replace" : "Find"), initialPosition: { y: "35" }, autoFocusSel: ".input", onHide: I, onFocus: () => G(!0), onBlur: () => {
63
- G(!1), K(!1);
64
- }, PaperProps: { elevation: U ? 3 : 1 }, ...L, children: t.jsxs(ce, { dividers: !0, ref: ie, sx: { display: "flex", flexDirection: "column", paddingLeft: (e) => e.spacing(1.5), paddingRight: (e) => e.spacing(1.5) }, onKeyDown: (e) => {
65
- if (e.key === "h" && e.ctrlKey) P(!0), a.current?.contains(document.activeElement) && u.current?.focus();
60
+ return t.jsx(re, { ref: J, title: F ?? (f ? "Find & Replace" : "Find"), initialPosition: { y: "35" }, autoFocusSel: ".input", onHide: I, onFocus: () => q(!0), onBlur: () => {
61
+ q(!1), P(!1);
62
+ }, PaperProps: { elevation: U ? 3 : 1 }, ...D, children: t.jsxs(ce, { dividers: !0, ref: ie, sx: { display: "flex", flexDirection: "column", paddingLeft: (e) => e.spacing(1.5), paddingRight: (e) => e.spacing(1.5) }, onKeyDown: (e) => {
63
+ if (e.key === "h" && e.ctrlKey) A(!0), a.current?.contains(document.activeElement) && u.current?.focus();
66
64
  else if (e.key === "f" && e.ctrlKey) a.current?.focus();
67
65
  else if (e.key === "c" && e.altKey) r((n) => {
68
66
  const s = { ...n };
@@ -80,11 +78,11 @@ const Se = { "By Rows": !0, "By Columns": !1 }, ee = (v, h) => {
80
78
  });
81
79
  }
82
80
  e.preventDefault();
83
- }, children: [t.jsxs(O, { sx: { display: "flex", flexDirection: "row", gap: (e) => e.spacing(1) }, children: [t.jsxs(O, { sx: { display: "flex", flexDirection: "row", alignItems: "start", gap: (e) => e.spacing(0.25), paddingTop: "3px" }, children: [t.jsx(g, { selected: D, onSelectToggle: (e) => {
81
+ }, children: [t.jsxs(O, { sx: { display: "flex", flexDirection: "row", gap: (e) => e.spacing(1) }, children: [t.jsxs(O, { sx: { display: "flex", flexDirection: "row", alignItems: "start", gap: (e) => e.spacing(0.25), paddingTop: "3px" }, children: [t.jsx(g, { selected: L, onSelectToggle: (e) => {
84
82
  se(e);
85
83
  }, preventFocus: !0, label: "Toggle Additional Options", icon: m(t.jsx(pe, {})) }), t.jsx(g, { selected: f, onSelectToggle: (e) => {
86
- P(e);
87
- }, preventFocus: !0, label: "Toggle Replace", icon: m(t.jsx(de, {})), shortcut: { key: f ? "F" : "H", modifiers: [j.Ctrl] } })] }), t.jsxs(O, { sx: { display: "flex", flexDirection: "column", maxWidth: "100%", boxSizing: "border-box" }, children: [t.jsxs(O, { sx: { display: "flex", flexDirection: "row", alignItems: "center" }, children: [t.jsx(q, { label: "Find", InputLabelProps: { shrink: !0 }, InputProps: { sx: { paddingRight: (e) => e.spacing(1), minWidth: X > 460 ? "20em" : void 0, backgroundImage: `linear-gradient(${R("#fff", T(5))}, ${R("#fff", T(5))})` }, inputProps: { draggable: !1, ref: a, className: "input", autoFocus: !0, spellCheck: !1, autoComplete: "off", sx: { paddingTop: (e) => e.spacing(1.25), paddingBottom: (e) => e.spacing(0.75) } }, endAdornment: t.jsx(ue, { sx: { transform: "scale(0.75) translateX(16px)" }, position: "end", children: t.jsxs(O, { sx: { display: "flex", alignItems: "center", flexDirection: "row", gap: "1px" }, children: [t.jsx(g, { selected: i.findOptions.matchCase, onSelectToggle: (e) => {
84
+ A(e);
85
+ }, preventFocus: !0, label: "Toggle Replace", icon: m(t.jsx(de, {})), shortcut: { key: f ? "F" : "H", modifiers: [j.Ctrl] } })] }), t.jsxs(O, { sx: { display: "flex", flexDirection: "column", maxWidth: "100%", boxSizing: "border-box" }, children: [t.jsxs(O, { sx: { display: "flex", flexDirection: "row", alignItems: "center" }, children: [t.jsx(Z, { label: "Find", InputLabelProps: { shrink: !0 }, InputProps: { sx: { paddingRight: (e) => e.spacing(1), minWidth: X > 460 ? "20em" : void 0, backgroundImage: `linear-gradient(${R("#fff", T(5))}, ${R("#fff", T(5))})` }, inputProps: { draggable: !1, ref: a, className: "input", autoFocus: !0, spellCheck: !1, autoComplete: "off", sx: { paddingTop: (e) => e.spacing(1.25), paddingBottom: (e) => e.spacing(0.75) } }, endAdornment: t.jsx(ue, { sx: { transform: "scale(0.75) translateX(16px)" }, position: "end", children: t.jsxs(O, { sx: { display: "flex", alignItems: "center", flexDirection: "row", gap: "1px" }, children: [t.jsx(g, { selected: i.findOptions.matchCase, onSelectToggle: (e) => {
88
86
  r((n) => {
89
87
  const s = { ...n };
90
88
  return s.findOptions.matchCase = e, s;
@@ -104,38 +102,38 @@ const Se = { "By Rows": !0, "By Columns": !1 }, ee = (v, h) => {
104
102
  const s = { ...n };
105
103
  return s.findText = e.target.value, s;
106
104
  });
107
- }, onKeyDown: (e) => J(e, !1), onContextMenu: (e) => {
105
+ }, onKeyDown: (e) => G(e, !1), onContextMenu: (e) => {
108
106
  e.stopPropagation();
109
107
  } }), t.jsx(g, { selected: i.findOptions.reverse, onSelectToggle: (e) => {
110
108
  k(!1, !1);
111
- }, touchRippleRef: H, label: "", shortcut: { key: "Enter", modifiers: [j.Shift] }, icon: m(i.findOptions.orientation !== b.Orientation.Column ? t.jsx(Re, {}) : t.jsx(ke, {})), disabled: !i.findText }), t.jsx(g, { selected: !i.findOptions.reverse, onSelectToggle: (e) => {
109
+ }, touchRippleRef: V, label: "", shortcut: { key: "Enter", modifiers: [j.Shift] }, icon: m(i.findOptions.orientation !== b.Orientation.Column ? t.jsx(Re, {}) : t.jsx(ke, {})), disabled: !i.findText }), t.jsx(g, { selected: !i.findOptions.reverse, onSelectToggle: (e) => {
112
110
  k(!0, !1);
113
- }, touchRippleRef: M, label: "Next Match", shortcut: { key: "Enter" }, icon: m(i.findOptions.orientation !== b.Orientation.Column ? t.jsx(ve, {}) : t.jsx(Te, {})), disabled: !i.findText })] }), t.jsx(Y, { in: f, timeout: _, onExit: () => {
111
+ }, touchRippleRef: H, label: "Next Match", shortcut: { key: "Enter" }, icon: m(i.findOptions.orientation !== b.Orientation.Column ? t.jsx(ve, {}) : t.jsx(Te, {})), disabled: !i.findText })] }), t.jsx(Q, { in: f, timeout: _, onExit: () => {
114
112
  a.current?.focus();
115
- }, children: t.jsxs(O, { sx: { display: "flex", flexDirection: "row", alignItems: "center", marginTop: (e) => e.spacing(2) }, children: [t.jsx(q, { label: "Replace", InputLabelProps: { shrink: !0 }, InputProps: { sx: { paddingRight: (e) => e.spacing(1), backgroundImage: `linear-gradient(${R("#fff", T(5))}, ${R("#fff", T(5))})` }, inputProps: { ref: u, className: "input", spellCheck: !1, autoComplete: "off", sx: { paddingTop: (e) => e.spacing(1.25), paddingBottom: (e) => e.spacing(0.75) } } }, sx: { flex: "1 1 100%", marginRight: (e) => e.spacing(1) }, value: i.replaceText ?? "", onChange: (e) => {
113
+ }, children: t.jsxs(O, { sx: { display: "flex", flexDirection: "row", alignItems: "center", marginTop: (e) => e.spacing(2) }, children: [t.jsx(Z, { label: "Replace", InputLabelProps: { shrink: !0 }, InputProps: { sx: { paddingRight: (e) => e.spacing(1), backgroundImage: `linear-gradient(${R("#fff", T(5))}, ${R("#fff", T(5))})` }, inputProps: { ref: u, className: "input", spellCheck: !1, autoComplete: "off", sx: { paddingTop: (e) => e.spacing(1.25), paddingBottom: (e) => e.spacing(0.75) } } }, sx: { flex: "1 1 100%", marginRight: (e) => e.spacing(1) }, value: i.replaceText ?? "", onChange: (e) => {
116
114
  r((n) => {
117
115
  const s = { ...n };
118
116
  return s.replaceText = e.target.value, s;
119
117
  });
120
- }, onKeyDown: (e) => J(e, !0), onContextMenu: (e) => {
118
+ }, onKeyDown: (e) => G(e, !0), onContextMenu: (e) => {
121
119
  e.stopPropagation();
122
120
  } }), t.jsx(g, { onSelectToggle: (e) => {
123
121
  k(!0, !0);
124
122
  }, touchRippleRef: $, label: "Replace", shortcut: { key: "Enter" }, icon: m(t.jsx(me, {})), disabled: !i.findText }), t.jsx(g, { onSelectToggle: (e) => {
125
123
  k(!0, !0, !0);
126
- }, touchRippleRef: z, label: "Replace All", shortcut: { key: "Enter", modifiers: [j.Ctrl, j.Alt] }, icon: m(t.jsx(he, {})), disabled: !i.findText })] }) })] })] }), t.jsx(Y, { in: D, timeout: _, onExit: () => {
124
+ }, touchRippleRef: z, label: "Replace All", shortcut: { key: "Enter", modifiers: [j.Ctrl, j.Alt] }, icon: m(t.jsx(he, {})), disabled: !i.findText })] }) })] })] }), t.jsx(Q, { in: L, timeout: _, onExit: () => {
127
125
  a.current?.focus();
128
- }, children: t.jsxs(O, { sx: { minHeight: "10px", flex: "1 1 100%", display: "flex", flexDirection: "column", gap: (e) => e.spacing(0.5), marginTop: (e) => e.spacing(1) }, children: [t.jsx(Oe, { orientation: "horizontal", sx: { marginBottom: (e) => e.spacing(1.5) } }), t.jsxs(O, { sx: { display: "flex", flexDirection: X >= 413 ? "row" : "column", justifyContent: "space-evenly", alignItems: "center", rowGap: (e) => e.spacing(2) }, tabIndex: -1, children: [t.jsx(A, { label: "Within", value: i.scope, options: Z, onSelect: (e) => {
126
+ }, children: t.jsxs(O, { sx: { minHeight: "10px", flex: "1 1 100%", display: "flex", flexDirection: "column", gap: (e) => e.spacing(0.5), marginTop: (e) => e.spacing(1) }, children: [t.jsx(Oe, { orientation: "horizontal", sx: { marginBottom: (e) => e.spacing(1.5) } }), t.jsxs(O, { sx: { display: "flex", flexDirection: X >= 413 ? "row" : "column", justifyContent: "space-evenly", alignItems: "center", rowGap: (e) => e.spacing(2) }, tabIndex: -1, children: [t.jsx(K, { label: "Within", value: i.scope, options: Y, onSelect: (e) => {
129
127
  r((n) => {
130
128
  const s = { ...n };
131
129
  return s.scope = e, s;
132
130
  });
133
- } }), t.jsx(A, { label: "Search", value: i.findOptions.orientation !== b.Orientation.Column, options: Se, onSelect: (e) => {
131
+ } }), t.jsx(K, { label: "Search", value: i.findOptions.orientation !== b.Orientation.Column, options: Se, onSelect: (e) => {
134
132
  r((n) => {
135
133
  const s = { ...n };
136
134
  return s.findOptions.orientation = e ? b.Orientation.Row : b.Orientation.Column, s;
137
135
  });
138
- } }), t.jsx(A, { label: "Look in", value: f && i.findOptions.fields?.[0] === p.Content.Values ? p.Content.Formulas : i.findOptions.fields?.[0], options: f ? te : ne, onSelect: (e) => {
136
+ } }), t.jsx(K, { label: "Look in", value: f && i.findOptions.fields?.[0] === p.Content.Values ? p.Content.Formulas : i.findOptions.fields?.[0], options: f ? te : ne, onSelect: (e) => {
139
137
  r((n) => {
140
138
  const s = { ...n };
141
139
  return s.findOptions.fields = [e], s;
@@ -143,7 +141,7 @@ const Se = { "By Rows": !0, "By Columns": !1 }, ee = (v, h) => {
143
141
  } })] })] }) })] }) });
144
142
  });
145
143
  export {
146
- Ie as FindReplaceWindow,
147
- Z as ScopeOptions,
148
- Ie as default
144
+ Ee as FindReplaceWindow,
145
+ Y as ScopeOptions,
146
+ Ee as default
149
147
  };
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.12
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.13
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,12 +1,12 @@
1
- import { r as e, T as o, e as z, j as i, k as E, B as K, f as R, l as W, g as O, aI as q, h as y } from "./BRDTgAugVbh4e6kG.mjs";
1
+ import { r as e, T as o, e as z, j as i, k as E, B as K, b as R, d as W, c as O, aI as q, g as y } from "./D2AuFfFnooIsiOnO.mjs";
2
2
  /**
3
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.12
3
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.13
4
4
  *
5
5
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
6
6
  * License: The license can be found at https://www.sheetxl.com/license.
7
7
  */
8
8
  const A = ["Input"], J = e.memo(e.forwardRef((w, T) => {
9
- const { initialValue: I = "", onOption: F, onValidateOption: l, onInputOption: r, onValidateInputOption: p, onDone: u, inputProps: c, inputLabel: P, inputType: S, inputPlaceHolder: j, options: d = A, autoFocusSel: k = ".autoFocus", cancelOption: g, defaultOption: f = d?.[0], ...v } = w, [C, b] = e.useState(!1), [t, V] = e.useState(I), [B, D] = e.useState(""), [H, L] = e.useState(!0), s = o(async (a, n) => {
9
+ const { initialValue: I = "", onOption: F, onValidateOption: l, onInputOption: r, onValidateInputOption: p, onDone: u, inputProps: c, inputLabel: P, inputType: S, inputPlaceHolder: b, options: d = A, autoFocusSel: j = ".autoFocus", cancelOption: g, defaultOption: f = d?.[0], ...k } = w, [v, C] = e.useState(!1), [t, V] = e.useState(I), [B, D] = e.useState(""), [H, L] = e.useState(!0), s = o(async (a, n) => {
10
10
  if (!p) return !0;
11
11
  const h = await p?.(a, n);
12
12
  D(h?.message ?? "");
@@ -28,9 +28,9 @@ const A = ["Input"], J = e.memo(e.forwardRef((w, T) => {
28
28
  }, [t, l]);
29
29
  return i.jsx(E, { options: d, onDone: u, onOption: (a, n) => {
30
30
  n || m(a);
31
- }, onValidateOption: $, cancelOption: g, defaultOption: f, autoFocusSel: k, ref: T, ...v, children: i.jsx(K, { sx: { paddingTop: (a) => a.spacing(1), paddingBottom: (a) => a.spacing(0) }, children: i.jsx(R, { sx: { paddingTop: (a) => a.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: i.jsx(W, { onFocus: (a) => {
32
- C || a.target?.select(), b(!0);
33
- }, type: S, label: P, helperText: B || " ", sx: { width: "100%", "& .MuiFormHelperText-root": { marginTop: (a) => a.spacing(0.5), color: H ? void 0 : "error.main" } }, InputLabelProps: { shrink: !0 }, InputProps: { inputProps: { placeholder: j, spellCheck: !1, autoComplete: "off", ...c, className: q("autoFocus", c?.className), sx: { paddingTop: (a) => a.spacing(1.25), paddingBottom: (a) => a.spacing(0.75), backgroundImage: `linear-gradient(${O("#fff", y(5))}, ${O("#fff", y(5))})` } } }, value: t, onChange: N, onKeyDown: M, onContextMenu: (a) => {
31
+ }, onValidateOption: $, cancelOption: g, defaultOption: f, autoFocusSel: j, ref: T, ...k, children: i.jsx(K, { sx: { paddingTop: (a) => a.spacing(1), paddingBottom: (a) => a.spacing(0) }, children: i.jsx(R, { sx: { paddingTop: (a) => a.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: i.jsx(W, { onFocus: (a) => {
32
+ v || a.target?.select(), C(!0);
33
+ }, type: S, label: P, helperText: B || " ", sx: { width: "100%", "& .MuiFormHelperText-root": { marginTop: (a) => a.spacing(0.5), color: H ? void 0 : "error.main" } }, InputLabelProps: { shrink: !0 }, InputProps: { inputProps: { placeholder: b, spellCheck: !1, autoComplete: "off", ...c, className: q("autoFocus", c?.className), sx: { paddingTop: (a) => a.spacing(1.25), paddingBottom: (a) => a.spacing(0.75), backgroundImage: `linear-gradient(${O("#fff", y(5))}, ${O("#fff", y(5))})` } } }, value: t, onChange: N, onKeyDown: M, onContextMenu: (a) => {
34
34
  a.stopPropagation();
35
35
  } }) }) }) });
36
36
  }));
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.12
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.13
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
- import { aG as k, az as T, f as G, w as Z, aA as W, aH as C, aI as tt, aJ as P, n as et, X as Y, aK as V } from "./BaNoD-xiJQh3ZPmb.js";
2
- import { c as x, b as f, r as L, t as rt, a as A, p as D, d as st } from "./CjsqTf4aAZsSOQ4J.js";
1
+ import { aJ as k, aC as T, G, w as Z, aD as W, aK as C, aL as tt, aM as P, aj as et, aa as Y, aN as V } from "./D2AuFfFnooIsiOnO.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 "./CJAKxm3wwhG-as_J.mjs";
3
3
  /**
4
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.12
4
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.13
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.
@@ -1,12 +1,12 @@
1
- import { r as s, T as u, j as l, k as B, B as M, f as S, l as E, g as h, h as C } from "./BRDTgAugVbh4e6kG.mjs";
1
+ import { r as s, T as u, j as l, k as B, B as M, b as S, d as E, c as h, g as C } from "./D2AuFfFnooIsiOnO.mjs";
2
2
  /**
3
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.12
3
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.13
4
4
  *
5
5
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
6
6
  * License: The license can be found at https://www.sheetxl.com/license.
7
7
  */
8
8
  const V = ["Ok", "Cancel"], z = s.memo((O) => {
9
- const { initialComments: k = null, onUpdateComments: m, context: T, onOption: d, onValidateOption: c, onDone: p, options: g = V, defaultOption: r = g?.[0], cancelOption: i = "Cancel", sx: j, ...w } = O, f = s.useMemo(() => {
9
+ const { initialComments: k = null, onUpdateComments: m, context: T, onOption: d, onValidateOption: c, onDone: p, options: g = V, defaultOption: r = g?.[0], cancelOption: i = "Cancel", sx: b, ...j } = O, x = s.useMemo(() => {
10
10
  const n = k ?? T?.()?.getComments();
11
11
  let t = "";
12
12
  if (n && n.content && n.content.runs) {
@@ -17,7 +17,7 @@ const V = ["Ok", "Cancel"], z = s.memo((O) => {
17
17
  }
18
18
  }
19
19
  return t;
20
- }, []), [e, y] = s.useState(f), [F, P] = s.useState(!1), x = s.useCallback(async (n, t) => null, []), b = u(async (n) => {
20
+ }, []), [e, w] = s.useState(x), [y, F] = s.useState(!1), f = s.useCallback(async (n, t) => null, []), P = u(async (n) => {
21
21
  const t = e === "" ? [] : e.split(`
22
22
  `);
23
23
  if (n !== i) {
@@ -27,17 +27,17 @@ const V = ["Ok", "Cancel"], z = s.memo((O) => {
27
27
  }
28
28
  d?.(n, n === i, n === r), p?.();
29
29
  }, [e, m, p, d, r, i]), v = u((n) => {
30
- y(n.target.value), x(n.target.value, null);
30
+ w(n.target.value), f(n.target.value, null);
31
31
  }, [c]), D = u(async (n) => {
32
32
  let t = await Promise.resolve(c?.(n));
33
33
  try {
34
- t !== !1 && (t = await x(e, n));
34
+ t !== !1 && (t = await f(e, n));
35
35
  } catch {
36
36
  }
37
37
  return t ?? !0;
38
38
  }, [c, e]);
39
- return l.jsx(B, { title: (f ? "Edit" : "Insert") + " Comments", options: g, onDone: p, onOption: (n) => b(n), onValidateOption: D, defaultOption: r, cancelOption: i, autoFocusSel: ".autoFocus", sx: { width: "480px", ...j }, ...w, children: l.jsx(M, { sx: { paddingTop: (n) => n.spacing(1), paddingBottom: (n) => n.spacing(0), rowGap: (n) => n.spacing(1), display: "flex", flexDirection: "column" }, children: l.jsx(S, { sx: { paddingTop: (n) => n.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: l.jsx(E, { label: "Comments", placeholder: "Enter a comment.", onFocus: (n) => {
40
- F || n.target?.select(), P(!0);
39
+ return l.jsx(B, { title: (x ? "Edit" : "Insert") + " Comments", options: g, onDone: p, onOption: (n) => P(n), onValidateOption: D, defaultOption: r, cancelOption: i, autoFocusSel: ".autoFocus", sx: { width: "480px", ...b }, ...j, children: l.jsx(M, { sx: { paddingTop: (n) => n.spacing(1), paddingBottom: (n) => n.spacing(0), rowGap: (n) => n.spacing(1), display: "flex", flexDirection: "column" }, children: l.jsx(S, { sx: { paddingTop: (n) => n.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: l.jsx(E, { label: "Comments", placeholder: "Enter a comment.", onFocus: (n) => {
40
+ y || n.target?.select(), F(!0);
41
41
  }, 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: v, onContextMenu: (n) => {
42
42
  n.stopPropagation();
43
43
  } }) }) }) });
@@ -1,6 +1,6 @@
1
- import { aO as t, aO as f } from "./BRDTgAugVbh4e6kG.mjs";
1
+ import { aO as t, aO as f } from "./D2AuFfFnooIsiOnO.mjs";
2
2
  /**
3
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.12
3
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.13
4
4
  *
5
5
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
6
6
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.12
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.13
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,12 +1,12 @@
1
- import { aw as y, w as C } from "./BaNoD-xiJQh3ZPmb.js";
1
+ import { aw as y, w as C } from "./CJB8tfn11J6m2Clz.js";
2
2
  /**
3
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.12
3
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.13
4
4
  *
5
5
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
6
6
  * License: The license can be found at https://www.sheetxl.com/license.
7
7
  */
8
8
  const k = async (a, p) => {
9
- const { trimLeadingBlankRow: i = !0, trimLeadingBlankColumn: f = !0, excludeHidden: m = !1, sheetKey: r = null, papaParseConfig: w = {} } = p || {}, u = await import("./Bl27rOq1mpdD4Yji.js").then((s) => s.p);
9
+ const { trimLeadingBlankRow: i = !0, trimLeadingBlankColumn: f = !0, excludeHidden: m = !1, sheetKey: r = null, papaParseConfig: w = {} } = p || {}, u = await import("./B_hYStAOL_dOzrHe.js").then((s) => s.p);
10
10
  if (!a) throw new Error("workbook must be specified");
11
11
  let t = null;
12
12
  if (r === null ? t = a.getSelectedSheet() : typeof r == "number" ? t = a.getSheets().getItems()[r] : typeof r == "string" && (t = a.getSheets().getByName(r)), !t) throw new Error("invalid sheetKey specified");
@@ -27,7 +27,7 @@ const k = async (a, p) => {
27
27
  const o = { ...w }, g = u.unparse(c, o);
28
28
  return new TextEncoder().encode(g).buffer;
29
29
  }, b = async (a, p) => {
30
- const { papaParseConfig: i, setValuesOptions: f, createWorkbookOptions: m } = p ?? {}, r = await import("./Bl27rOq1mpdD4Yji.js").then((o) => o.p), w = new TextDecoder().decode(a);
30
+ const { papaParseConfig: i, setValuesOptions: f, createWorkbookOptions: m } = p ?? {}, r = await import("./B_hYStAOL_dOzrHe.js").then((o) => o.p), w = new TextDecoder().decode(a);
31
31
  let u = -1;
32
32
  const t = new y(m), d = t.getSelectedSheet().getEntireRange().startIncrementalUpdates({ orientation: C.Orientation.Row }), c = p?.onProgress;
33
33
  let e = 0;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.12
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.13
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,8 +1,8 @@
1
- import { a as z } from "./DQzcbKOoBbOJ0J0a.js";
2
- import { r as H, m as k } from "./DIey2xEJmI7O0YnZ.js";
3
- import { i as Ju, u as Qu, E as Zu, e as ts, j as xu, m as es, C as _t } from "./BaNoD-xiJQh3ZPmb.js";
1
+ import { a as z } from "./DH9hyBLBu3iKEDKB.js";
2
+ import { r as H, m as k } from "./Cptaglf3icdDq0qQ.js";
3
+ import { i as Ju, u as Qu, g as Zu, B as ts, _ as xu, m as es, v as _t } from "./CJB8tfn11J6m2Clz.js";
4
4
  /**
5
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.12
5
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.13
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.
@@ -1,6 +1,6 @@
1
- import { a as $s, n as D, X as ft, R as Ye, A as Ws, Z as Xt, b as jn, Y as Gs, c as Ks, d as Xe, B as zs, M as se, q as Ue, _ as Fe } from "./BaNoD-xiJQh3ZPmb.js";
1
+ import { P as $s, n as D, X as ft, a as Ye, b as Ws, Z as Xt, E as jn, e as Gs, d as Ks, c as Xe, f as zs, M as se, Y as Ue, S as Fe } from "./CJB8tfn11J6m2Clz.js";
2
2
  /**
3
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.12
3
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.13
4
4
  *
5
5
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
6
6
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,38 +1,38 @@
1
- import { a as s } from "./DQzcbKOoBbOJ0J0a.js";
2
- import { r as n } from "./DIey2xEJmI7O0YnZ.js";
3
- import { T as m, k as L, e as W, o as b, t as O, p, s as r } from "./BaNoD-xiJQh3ZPmb.js";
1
+ import { a as s } from "./DH9hyBLBu3iKEDKB.js";
2
+ import { r as a } from "./Cptaglf3icdDq0qQ.js";
3
+ import { h as m, k as L, B as W, l as b, r as O, p, q as r } from "./CJB8tfn11J6m2Clz.js";
4
4
  /**
5
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.12
5
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.13
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
- const z = ["Ok", "Cancel"], V = n.memo((P) => {
11
- const { initialHyperlink: o = null, initialDisplay: D = null, onUpdateHyperlink: x, context: i, onOption: f, onValidateOption: d, onDone: u, options: h = z, defaultOption: c = h?.[0], cancelOption: l = "Cancel", sx: F, ...H } = P, I = n.useMemo(() => (o ?? i?.()?.getHyperlink()) !== null, []), k = n.useMemo(() => {
12
- let e = null, a = null;
13
- o && (typeof o == "string" ? a = o : e = o);
10
+ const z = ["Ok", "Cancel"], V = a.memo((P) => {
11
+ const { initialHyperlink: o = null, initialDisplay: D = null, onUpdateHyperlink: x, context: i, onOption: f, onValidateOption: d, onDone: u, options: h = z, defaultOption: c = h?.[0], cancelOption: l = "Cancel", sx: F, ...H } = P, I = a.useMemo(() => (o ?? i?.()?.getHyperlink()) !== null, []), k = a.useMemo(() => {
12
+ let e = null, n = null;
13
+ o && (typeof o == "string" ? n = o : e = o);
14
14
  const C = e ?? i?.()?.getHyperlink();
15
- return { address: a ?? C?.getAddress() ?? "", textToDisplay: C?.getDisplayText() ?? "" };
16
- }, [o, i]), [t, j] = n.useState(k.address), [g, v] = n.useState(() => {
15
+ return { address: n ?? C?.getAddress() ?? "", textToDisplay: C?.getDisplayText() ?? "" };
16
+ }, [o, i]), [t, j] = a.useState(k.address), [g, v] = a.useState(() => {
17
17
  const e = i?.().toTextUnformatted() ?? D;
18
18
  return e === k.address ? "" : e;
19
- }), [w, y] = n.useState(!1), M = n.useCallback((e) => {
19
+ }), [w, y] = a.useState(!1), M = a.useCallback((e) => {
20
20
  v(e.target.value);
21
- }, []), T = n.useCallback(async (e, a) => null, []), S = m(async (e) => {
21
+ }, []), T = a.useCallback(async (e, n) => null, []), B = m(async (e) => {
22
22
  e !== l && x?.(t === "" ? null : { address: t }, g), f?.(e, e === l, e === c), u?.();
23
- }, [t, g, x, u, f, c, l]), $ = m((e) => {
23
+ }, [t, g, x, u, f, c, l]), S = m((e) => {
24
24
  j(e.target.value), T(e.target.value, null);
25
- }, [d]), B = m(async (e) => {
26
- let a = await Promise.resolve(d?.(e));
25
+ }, [d]), $ = m(async (e) => {
26
+ let n = await Promise.resolve(d?.(e));
27
27
  try {
28
- a !== !1 && (a = await T(t, e));
28
+ n !== !1 && (n = await T(t, e));
29
29
  } catch {
30
30
  }
31
- return a ?? !0;
31
+ return n ?? !0;
32
32
  }, [d]);
33
- return s.jsx(L, { title: (I ? "Edit" : "Insert") + " Link", options: h, onDone: u, onOption: (e) => S(e), onValidateOption: B, defaultOption: c, cancelOption: l, autoFocusSel: ".autoFocus", sx: { width: "480px", ...F }, ...H, children: s.jsxs(W, { sx: { paddingTop: (e) => e.spacing(1), paddingBottom: (e) => e.spacing(0), rowGap: (e) => e.spacing(1), display: "flex", flexDirection: "column" }, children: [s.jsx(b, { sx: { paddingTop: (e) => e.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: s.jsx(O, { label: "Address", placeholder: "Enter a url or cell reference.", onFocus: (e) => {
33
+ return s.jsx(L, { title: (I ? "Edit" : "Insert") + " Link", options: h, onDone: u, onOption: (e) => B(e), onValidateOption: $, defaultOption: c, cancelOption: l, autoFocusSel: ".autoFocus", sx: { width: "480px", ...F }, ...H, children: s.jsxs(W, { sx: { paddingTop: (e) => e.spacing(1), paddingBottom: (e) => e.spacing(0), rowGap: (e) => e.spacing(1), display: "flex", flexDirection: "column" }, children: [s.jsx(b, { sx: { paddingTop: (e) => e.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: s.jsx(O, { label: "Address", placeholder: "Enter a url or cell reference.", onFocus: (e) => {
34
34
  w || e.target?.select(), y(!0);
35
- }, sx: { "& .MuiFormHelperText-root": { marginTop: (e) => e.spacing(0.5) } }, InputLabelProps: { shrink: !0 }, InputProps: { inputProps: { className: "autoFocus", spellCheck: !1, autoComplete: "off", sx: { paddingTop: (e) => e.spacing(1.25), paddingBottom: (e) => e.spacing(0.75), backgroundImage: `linear-gradient(${p("#fff", r(5))}, ${p("#fff", r(5))})` } } }, value: t, onChange: $, onContextMenu: (e) => {
35
+ }, sx: { "& .MuiFormHelperText-root": { marginTop: (e) => e.spacing(0.5) } }, InputLabelProps: { shrink: !0 }, InputProps: { inputProps: { className: "autoFocus", spellCheck: !1, autoComplete: "off", sx: { paddingTop: (e) => e.spacing(1.25), paddingBottom: (e) => e.spacing(0.75), backgroundImage: `linear-gradient(${p("#fff", r(5))}, ${p("#fff", r(5))})` } } }, value: t, onChange: S, onContextMenu: (e) => {
36
36
  e.stopPropagation();
37
37
  } }) }), s.jsx(b, { sx: { paddingTop: (e) => e.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: s.jsx(O, { label: "Display Text", placeholder: t?.startsWith("#") ? t.substring(1) : t, onFocus: () => {
38
38
  y(!0);
@@ -1,19 +1,19 @@
1
- import { a as t } from "./DQzcbKOoBbOJ0J0a.js";
2
- import { r as s } from "./DIey2xEJmI7O0YnZ.js";
3
- import { T as p, h as L, l as n, k as R, e as j, o as O, I as W, S as G, p as c, s as u, t as H, v as S, x as K } from "./BaNoD-xiJQh3ZPmb.js";
1
+ import { a as t } from "./DH9hyBLBu3iKEDKB.js";
2
+ import { r as s } from "./Cptaglf3icdDq0qQ.js";
3
+ import { h as p, j as L, O as n, k as R, B as T, l as O, I as W, o as q, p as c, q as u, r as G, t as S, x as H } from "./CJB8tfn11J6m2Clz.js";
4
4
  /**
5
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.12
5
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.13
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
- const q = ["Ok", "Cancel"], U = s.memo((F) => {
11
- const { initialValue: w, context: f, onOption: h, onValidateOption: d, onInputOption: C, onDone: m, options: b = q, defaultOption: r = b?.[0], cancelOption: g = "Cancel", sx: P, ...D } = F, [a, v] = s.useState(w), [I, $] = s.useState(!1), x = s.useCallback(async (e, o) => !0, []), y = p(async (e) => {
12
- C?.(a, e), h?.(e, e === g, e === r), m?.();
13
- }, [a, C, m, h, g, r]), M = p(async (e) => {
14
- e.keyCode === L.Enter && await x?.(a, null) !== !1 && y(r);
10
+ const K = ["Ok", "Cancel"], U = s.memo((F) => {
11
+ const { initialValue: w, context: f, onOption: h, onValidateOption: d, onInputOption: C, onDone: m, options: b = K, defaultOption: l = b?.[0], cancelOption: g = "Cancel", sx: P, ...D } = F, [a, k] = s.useState(w), [I, $] = s.useState(!1), x = s.useCallback(async (e, o) => !0, []), y = p(async (e) => {
12
+ C?.(a, e), h?.(e, e === g, e === l), m?.();
13
+ }, [a, C, m, h, g, l]), M = p(async (e) => {
14
+ e.keyCode === L.Enter && await x?.(a, null) !== !1 && y(l);
15
15
  }, [a, y]), N = p((e) => {
16
- v(e.target.value), x?.(e.target.value, null);
16
+ k(e.target.value), x?.(e.target.value, null);
17
17
  }, [d]), V = p(async (e) => {
18
18
  let o = await Promise.resolve(d?.(e));
19
19
  try {
@@ -21,27 +21,27 @@ const q = ["Ok", "Cancel"], U = s.memo((F) => {
21
21
  } catch {
22
22
  }
23
23
  return o ?? !0;
24
- }, [d]), [k, T] = s.useState(n.Styles.lookupStyle(a).formatType ?? n.Type.Custom);
24
+ }, [d]), [v, j] = s.useState(n.Styles.lookupStyle(a).formatType ?? n.Type.Custom);
25
25
  s.useEffect(() => {
26
- T(n.Styles.lookupStyle(a).formatType ?? n.Type.Custom);
26
+ j(n.Styles.lookupStyle(a).formatType ?? n.Type.Custom);
27
27
  }, [a]);
28
- const z = s.useMemo(() => {
29
- const e = n.Styles.lookupPrimary(), o = (l) => t.jsx(K, { value: l, children: l }, l), i = Object.keys(e).map((l) => o(e[l].formatType));
28
+ const B = s.useMemo(() => {
29
+ const e = n.Styles.lookupPrimary(), o = (r) => t.jsx(H, { value: r, children: r }, r), i = Object.keys(e).map((r) => o(e[r].formatType));
30
30
  return i.push(o(n.Type.Custom)), i;
31
- }, []), B = s.useCallback((e) => {
31
+ }, []), z = s.useCallback((e) => {
32
32
  const o = e.target.value;
33
- T(o);
33
+ j(o);
34
34
  const i = n.Styles.lookupDefault(o);
35
- i && v(i);
35
+ i && k(i);
36
36
  }, []), E = s.useMemo(() => {
37
37
  const e = f();
38
38
  return e.createTemporaryCell({ value: e.getValue() ?? 12345, style: { numberFormat: a } });
39
- }, [k, a, f]);
40
- return t.jsx(R, { title: "Number Format", options: b, onDone: m, onOption: (e) => y(e), onValidateOption: V, defaultOption: r, cancelOption: g, autoFocusSel: ".autoFocus", sx: { width: "580px", ...P }, ...D, children: t.jsxs(j, { sx: { paddingTop: (e) => e.spacing(1), paddingBottom: (e) => e.spacing(0), rowGap: (e) => e.spacing(1), display: "flex", flexDirection: "column" }, children: [t.jsxs(O, { sx: { minWidth: 135 }, size: "small", children: [t.jsx(W, { children: "Category" }), t.jsx(G, { value: k, label: "Category", onChange: B, sx: { backgroundImage: `linear-gradient(${c("#fff", u(5))}, ${c("#fff", u(5))})` }, children: z })] }), t.jsx(O, { sx: { paddingTop: (e) => e.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: t.jsx(H, { label: "Code", onFocus: (e) => {
39
+ }, [v, a, f]);
40
+ return t.jsx(R, { title: "Number Format", options: b, onDone: m, onOption: (e) => y(e), onValidateOption: V, defaultOption: l, cancelOption: g, autoFocusSel: ".autoFocus", sx: { width: "580px", ...P }, ...D, children: t.jsxs(T, { sx: { paddingTop: (e) => e.spacing(1), paddingBottom: (e) => e.spacing(0), rowGap: (e) => e.spacing(1), display: "flex", flexDirection: "column" }, children: [t.jsxs(O, { sx: { minWidth: 135 }, size: "small", children: [t.jsx(W, { children: "Category" }), t.jsx(q, { value: v, label: "Category", onChange: z, sx: { backgroundImage: `linear-gradient(${c("#fff", u(5))}, ${c("#fff", u(5))})` }, children: B })] }), t.jsx(O, { sx: { paddingTop: (e) => e.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: t.jsx(G, { label: "Code", onFocus: (e) => {
41
41
  I || e.target?.select(), $(!0);
42
42
  }, sx: { "& .MuiFormHelperText-root": { marginTop: (e) => e.spacing(0.5) } }, InputLabelProps: { shrink: !0 }, InputProps: { inputProps: { className: "autoFocus", spellCheck: !1, autoComplete: "off", sx: { paddingTop: (e) => e.spacing(1.25), paddingBottom: (e) => e.spacing(0.75), backgroundImage: `linear-gradient(${c("#fff", u(5))}, ${c("#fff", u(5))})` } } }, value: a, onChange: N, onKeyDown: M, onContextMenu: (e) => {
43
43
  e.stopPropagation();
44
- } }) }), t.jsxs(j, { children: [t.jsx(S, { variant: "caption", component: "div", sx: { paddingLeft: (e) => e.spacing(2) }, children: "Preview" }), t.jsx(S, { variant: "body2", component: "div", sx: { borderRadius: (e) => `${e.shape.borderRadius}px`, padding: (e) => e.spacing(1), border: (e) => `1px solid ${e.palette.grey[400]}` }, children: E.getNumberFormat().displayText || "(empty)" })] })] }) });
44
+ } }) }), t.jsxs(T, { children: [t.jsx(S, { variant: "caption", component: "div", sx: { paddingLeft: (e) => e.spacing(2) }, children: "Preview" }), t.jsx(S, { variant: "body2", component: "div", sx: { borderRadius: (e) => `${e.shape.borderRadius}px`, padding: (e) => e.spacing(1), border: (e) => `1px solid ${e.palette.grey[400]}` }, children: E.getNumberFormat().displayText || "(empty)" })] })] }) });
45
45
  });
46
46
  export {
47
47
  U as NumberFormatDialog,
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.12
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.13
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.12
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.13
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.12
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.13
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.12
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.13
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,6 +1,6 @@
1
- import { r as ee } from "./BRDTgAugVbh4e6kG.mjs";
1
+ import { r as ee } from "./Cptaglf3icdDq0qQ.js";
2
2
  /**
3
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.12
3
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.13
4
4
  *
5
5
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
6
6
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.12
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.13
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.