@sheetxl/studio-vanilla 0.4.14 → 0.4.16

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 (206) hide show
  1. package/browser/cjs/{rIOsSIPwxoXlIawS.cjs → 2z48hC9Lgl_XFiR8.cjs} +1 -1
  2. package/browser/cjs/{CTuM_aZX8wZICUe_.cjs → 527-wdwXfhlxqigX.cjs} +1 -1
  3. package/browser/cjs/{CE5U7gB5L-PE17gV.cjs → 8iv5H_Fv58DG9HON.cjs} +2 -2
  4. package/browser/cjs/{D6uIvR-6Y690_Em2.cjs → 9FygAwnwGtj51rKR.cjs} +6 -6
  5. package/browser/cjs/{10IK8MFijJb-yvV6.cjs → B3FNhqGnpjO3bF1J.cjs} +3 -3
  6. package/browser/cjs/{Cuq8Nim-ol5Gdehe.cjs → B8PZzwEzGHdX2D1A.cjs} +1 -1
  7. package/browser/cjs/{CJZtyunL_qaXFylY.cjs → BDDHipsk8fDa6KzG.cjs} +2 -2
  8. package/browser/cjs/{dbUUj8LyIitsdYpk.cjs → BDiEyTUhhZ0E4TEV.cjs} +1 -1
  9. package/browser/cjs/{D4vbOk4hD8-b-c10.cjs → BEuLDE1KvRWWFlHK.cjs} +1 -1
  10. package/browser/cjs/{D5YUIQeOcujtq6XS.cjs → BNiCvN3wpcuvRJDa.cjs} +3 -3
  11. package/browser/cjs/{D4NcrJlqcLExwCNT.cjs → BOjR7WcuPM7CqQ61.cjs} +4 -4
  12. package/browser/cjs/{DPbzY4ppgKPrdbWc.cjs → BOwI__-2C4zHdb02.cjs} +1 -1
  13. package/browser/cjs/{C_mbaid3FQ52usBI.cjs → BPEiEiVl_5BbvIuk.cjs} +2 -2
  14. package/browser/cjs/BbEY710KwFxGt-nx.cjs +364 -0
  15. package/browser/cjs/{yBSdtSSuNERefFhR.cjs → BmHg0RJIh8fueA1b.cjs} +5 -5
  16. package/browser/cjs/{Cl0XSnWVDoaHTIlF.cjs → BqhC-4_bAAdxiG10.cjs} +1 -1
  17. package/browser/cjs/{Bm9fNNMIOLIwq-94.cjs → BxKEYXw6K_cJQVyL.cjs} +1 -1
  18. package/browser/cjs/{DCd5OZXj2IRbxEF2.cjs → By5yxiEAIP-yru4E.cjs} +1 -1
  19. package/browser/cjs/{xDqIifM_--oXscCV.cjs → C7E9AxEhqGR5hjuF.cjs} +2 -2
  20. package/browser/cjs/{D_7RtbQABH1zdcjr.cjs → C9e_gEokumOSJEQE.cjs} +1 -1
  21. package/browser/cjs/{DlnKrZRyxBfbqaTi.cjs → CDqIINbe_kUDiu3S.cjs} +2 -2
  22. package/browser/cjs/{DtpB0PMEtamaB-Hv.cjs → CFTqCNfD7KPB5D2t.cjs} +1 -1
  23. package/browser/cjs/{CWW_yQpIswo7DEAT.cjs → CGMIvqM1bAMiSrpL.cjs} +1 -1
  24. package/browser/cjs/{C0ySf2emOB0Mslc-.cjs → CIXCQscBfq2DpLXc.cjs} +1 -1
  25. package/browser/cjs/{AnJTeEGq7VP4T1b7.cjs → CPcLGP9ohAPquX_P.cjs} +2 -2
  26. package/browser/cjs/{DWzQm8Q32qNP7qKL.cjs → CSZA-xOWQAk2bPo6.cjs} +1 -1
  27. package/browser/cjs/{BtiY-n4sGy6WaqNg.cjs → C_rz86UiiqTsrxS_.cjs} +4 -4
  28. package/browser/cjs/{DL4HgriZ3TY2K-QP.cjs → CgMWE9E3Hpz-3OT8.cjs} +1 -1
  29. package/browser/cjs/{CpRfx14is2_4Wgp3.cjs → CitQIsT3Zql2d5Vu.cjs} +2 -2
  30. package/browser/cjs/{BU5k1OZewc-Z-kR9.cjs → Cn5jJo4kHJGk3N7P.cjs} +2 -2
  31. package/browser/cjs/{DxBLU16_E62Umowp.cjs → CpZL07iGOPpGjHM-.cjs} +1 -1
  32. package/browser/cjs/{VU_KaqGTjvnisS9e.cjs → CuF5AeSoTUyseIPf.cjs} +1 -1
  33. package/browser/cjs/{DBNXGIWfZmgb_sHL.cjs → CxILJtUEEXVq79VE.cjs} +2 -2
  34. package/browser/cjs/CxRW9GVbe6zNc--Y.cjs +19 -0
  35. package/browser/cjs/{CYLnJHryQcQO4XoG.cjs → D33_ArewzvVZrJs5.cjs} +1 -1
  36. package/browser/cjs/{sMBG5eQ3-iacLXUm.cjs → D5txayapke7SLywP.cjs} +2 -2
  37. package/browser/cjs/{CNcsGELwCAV-A5oH.cjs → D96Vd9ML6lEp2yNc.cjs} +2 -2
  38. package/browser/cjs/{Cj_1qUo5cZ3FnOpK.cjs → DAuVoLkfGR03lbJL.cjs} +2 -2
  39. package/browser/cjs/{Dv8SE05ABKNLPY6A.cjs → DFforK4FhDLP9UUc.cjs} +1 -1
  40. package/browser/cjs/{DdTcwutSPJMeCIv3.cjs → DHmgJr7cr-5rmqrC.cjs} +2 -2
  41. package/browser/cjs/{BH3MYcOF7rxLX3Bk.cjs → DM17oP0REi-dMzRh.cjs} +1 -1
  42. package/browser/cjs/DXEqr7NfFBng4qp7.cjs +6 -0
  43. package/browser/cjs/{tShlMZrIxsGZSeHX.cjs → Dd8-Ixj1ckpU18vR.cjs} +4 -4
  44. package/browser/cjs/{D_Q0s9KLnWHwKxTK.cjs → DduMAzPLo62DsEIv.cjs} +1 -1
  45. package/browser/cjs/{DIYOARVcGtRjKpjZ.cjs → Dh4QAMYLxa-nm3b1.cjs} +1 -1
  46. package/browser/cjs/{eZGLUWbfY3JdZRM5.cjs → DsMEB6CCQ9XeKx0W.cjs} +1 -1
  47. package/browser/cjs/{BxgDhdrrKrJMEaXd.cjs → DuV6aIKntSIlFlmP.cjs} +1 -1
  48. package/browser/cjs/{CpIIsygD5mnJyl47.cjs → DvOP3Sz4bOvvB51y.cjs} +4 -4
  49. package/browser/cjs/{CnLdhURNkVXo_0Eg.cjs → DwBWZnrTp5UcLnAE.cjs} +1 -1
  50. package/browser/cjs/{BzT1y15V6Zs7c_zX.cjs → EEd3txVEsMOS25kJ.cjs} +1 -1
  51. package/browser/cjs/{CHd9vauNLHnOLflj.cjs → MDi4HLKgwSCu6fyR.cjs} +1 -1
  52. package/browser/cjs/{mBk4Z4LZ65b3f58_.cjs → OLQtPYBVwDJUVBX4.cjs} +2 -2
  53. package/browser/cjs/{BlwK-VslgEVH2cgX.cjs → SKR8zQ_6EFd3QuXc.cjs} +1 -1
  54. package/browser/cjs/{bS_BOH9cvVCFy36v.cjs → hosXXKv9_3bMMvPn.cjs} +1 -1
  55. package/browser/cjs/index.cjs +2 -2
  56. package/browser/cjs/{DAbScbuk-sjZXMIC.cjs → isuVkDnj-ShYtgWE.cjs} +1 -1
  57. package/browser/cjs/{DFNisISrsMnZrV4B.cjs → kbVoRE7sSKze9AGf.cjs} +1 -1
  58. package/browser/cjs/tHZy6iR0C8BJ7ao2.cjs +14 -0
  59. package/{cdn/assets/DwRHGEuscm3FvnkM.js → browser/esm/3LUy01lLdiAyu4L8.mjs} +1 -1
  60. package/{cdn/assets/BHy77Km4i4t5U7ka.js → browser/esm/6dBbccz3d0UDCmId.mjs} +1 -1
  61. package/browser/esm/{Pkb6GWdyZdze_XAw.mjs → 7zmlmdpV46wT0D_8.mjs} +2 -2
  62. package/browser/esm/{uuCmCmYQQXgwyRSd.mjs → AbVL9q93k2OjvNMS.mjs} +1 -1
  63. package/{cdn/assets/DXIWAG-DUKHzNlRl.js → browser/esm/B0pXYR2QIxH_yyCd.mjs} +1 -1
  64. package/browser/esm/{HyTvrvH0vItPFnFG.mjs → BDpFOktVt42TQpcN.mjs} +4 -4
  65. package/browser/esm/BFGNX8BKN0YukAfE.mjs +49894 -0
  66. package/browser/esm/{C5GgK_mW25DZYw-I.mjs → BIPFm0SUVy_xxuHx.mjs} +2 -2
  67. package/browser/esm/{QZikWr_NQfcFWCBV.mjs → BJqUNdAULMuqfoNS.mjs} +7 -7
  68. package/{cdn/assets/CcARDY0PFSWkqsG9.js → browser/esm/BMcBO1IQO3eNx3D8.mjs} +1 -1
  69. package/browser/esm/{BP6hA-zc0dMuMOIA.mjs → BQEjN2Ny_1RjJRRG.mjs} +2 -2
  70. package/browser/esm/{BfFDvyaRcdKS0wPD.mjs → BcnRo-70LV3dW2F8.mjs} +1 -1
  71. package/browser/esm/{BXABqQEa6kQQcjmt.mjs → BegJ95DwnjizqVvZ.mjs} +2 -2
  72. package/{cdn/assets/73gcCsbqgbW3KIoA.js → browser/esm/BphrEGpsPHge38iD.mjs} +1 -1
  73. package/{cdn/assets/BZxAttR2mi9td3k1.js → browser/esm/Bxh-G6GIKLTgdQSU.mjs} +1 -1
  74. package/{cdn/assets/B8TNpfJ8ymQcPriE.js → browser/esm/CEn_nscDh2qWGWkf.mjs} +1 -1
  75. package/browser/esm/{DCyJNVtrh6kEt73Q.mjs → CHQ2p5JXvpblW5Mr.mjs} +9 -9
  76. package/{cdn/assets/DaUJajqmQYuM0Gew.js → browser/esm/CJ2VfoplPO3aOFIS.mjs} +58 -61
  77. package/browser/esm/{DgO85Q5iHe-ZmvtQ.mjs → CM9SSh6zB4mXFuiK.mjs} +1 -1
  78. package/browser/esm/{4eRu4yzXkvCBip8J.mjs → CNNQFdovfxmKTLqX.mjs} +1 -1
  79. package/{cdn/assets/BF5nlSYZ38RJ0dPX.js → browser/esm/CPzGoc5ivg6BGW5V.mjs} +1 -1
  80. package/browser/esm/{jkSJc6Omxbf-rPQY.mjs → CQ8SVGYEop2G_eer.mjs} +1 -1
  81. package/browser/esm/{DR7oVoNSe0FFWHOr.mjs → CR-h2aljy2JwwOmN.mjs} +18 -18
  82. package/browser/esm/CYW0tIypPPivmPYC.mjs +39 -0
  83. package/browser/esm/{CHjb5a2xwEWs4RgS.mjs → Cyu6G1cmylOjsfqu.mjs} +114 -115
  84. package/browser/esm/{CeF0ZRfeSy83i80_.mjs → CzcfqZRl8TT7_AA8.mjs} +4 -4
  85. package/browser/esm/{DHPHhaCxihdR9Hl6.mjs → D0HahgSi_BcRitIR.mjs} +1 -1
  86. package/browser/esm/D6rU9DOoEw4c1pUc.mjs +6800 -0
  87. package/browser/esm/{aLv-xujBO4X6ilhV.mjs → DDaraJFhLInV4GMJ.mjs} +1 -1
  88. package/{cdn/assets/DVRMAeHUj0-TY-vK.js → browser/esm/DE8w2hURn5qI8AKp.mjs} +1 -1
  89. package/browser/esm/{BdFNxdtES-3_yQ9R.mjs → DGk-Ommc_o1xYlw-.mjs} +1 -1
  90. package/browser/esm/{D9eVsUckA6bWBHni.mjs → DHwgBfUeVdooDLZu.mjs} +1 -1
  91. package/browser/esm/DNmLY801ferFO5Uk.mjs +20 -0
  92. package/{cdn/assets/Dft4BSeY0bp0A6z0.js → browser/esm/DPRM8hNlNCr3-T5W.mjs} +1 -1
  93. package/browser/esm/{Crza3kRJdEVylOfk.mjs → DSgo1psKmx1fs5GP.mjs} +2 -2
  94. package/browser/esm/{BPen6C7JE2sWVgdi.mjs → D_SW7AJGTxZZhEhN.mjs} +1 -1
  95. package/browser/esm/{DFwxjsVr4xKLPTGf.mjs → Dcro_uZlLqe8StKp.mjs} +2 -2
  96. package/browser/esm/{BvYUsRgBXLSuaQ-S.mjs → Ddco0tbzyQ9zfvAR.mjs} +1 -1
  97. package/browser/esm/{wV8riZWKJE7AoKQk.mjs → DhtBGaXEjpSpeQD2.mjs} +1 -1
  98. package/browser/esm/{wxvli1IH1NkfqE6-.mjs → DmeMooAnq1CVPk8s.mjs} +1 -1
  99. package/{cdn/assets/B_pEA9HeXKvEOCdS.js → browser/esm/DnDDStLug64LBv-3.mjs} +1 -1
  100. package/browser/esm/{c9fba0RuWGogsH0X.mjs → Dp4czjfjfaFH_dEJ.mjs} +7 -7
  101. package/browser/esm/DqP6X7y9HwGY7VjP.mjs +47 -0
  102. package/{cdn/assets/BzE-61bmpRQzEVPt.js → browser/esm/DrT_zO6kt_14yLBZ.mjs} +1 -1
  103. package/browser/esm/{CJiHNujoVUdO_G7X.mjs → DuJX6KV57WopKk9q.mjs} +12 -12
  104. package/{cdn/assets/B4ji-HZTY0uvH8r7.js → browser/esm/DwUhQt38jwVGevvy.mjs} +1 -1
  105. package/{cdn/assets/Cmtx4dAVZrwq5cVO.js → browser/esm/IF2d9xZoQ-KwvBKh.mjs} +1 -1
  106. package/browser/esm/{DAscSzG63-mM5p50.mjs → MXO5bWHStxysNVsg.mjs} +11 -11
  107. package/{cdn/assets/CN73n4VDayKh_l1J.js → browser/esm/PzttknQejK9onrpS.mjs} +1 -1
  108. package/browser/esm/{CITPwlsNzJvv551I.mjs → TM6K2pq3Dcv9IkuU.mjs} +1 -1
  109. package/browser/esm/{DQLk_UmdpJBt-zZi.mjs → XMnVd_ZFLys2rjY7.mjs} +198 -198
  110. package/{cdn/assets/DzyNujjbHLXo9UmH.js → browser/esm/iYM_upfOH9oA049a.mjs} +6 -6
  111. package/browser/esm/index.mjs +3 -3
  112. package/browser/esm/{D3L89e08b7ewR6mt.mjs → kXeRQRPLeKsnYZWE.mjs} +8 -8
  113. package/{cdn/assets/BIUVt79NHXdZx2Dz.js → browser/esm/mMMnv_KWRsRe75FG.mjs} +1 -1
  114. package/browser/esm/{C28AZ0Rwo79iGg0v.mjs → q0yHqQ5GBeLgY-gd.mjs} +1 -1
  115. package/browser/esm/{BBDu-GNDE7ZA-1sJ.mjs → tBO69ofaNapzt3L4.mjs} +16 -16
  116. package/browser/esm/{D4G17ip9xxOX5jDd.mjs → wt2Q3yM9_nGedjrL.mjs} +88 -88
  117. package/{browser/esm/DwRHGEuscm3FvnkM.mjs → cdn/assets/3LUy01lLdiAyu4L8.js} +1 -1
  118. package/{browser/esm/BHy77Km4i4t5U7ka.mjs → cdn/assets/6dBbccz3d0UDCmId.js} +1 -1
  119. package/cdn/assets/A8eAz4-PTuL72Hin.js +58 -0
  120. package/cdn/assets/{uuCmCmYQQXgwyRSd.js → AbVL9q93k2OjvNMS.js} +1 -1
  121. package/{browser/esm/DXIWAG-DUKHzNlRl.mjs → cdn/assets/B0pXYR2QIxH_yyCd.js} +1 -1
  122. package/cdn/assets/{C3W0xsNrt-Was9g-.js → B3boJwK33Z6RqPqk.js} +2 -2
  123. package/cdn/assets/{DZNoPrlxULASVlOi.js → B6sQ-SvjZgQQji5w.js} +11 -11
  124. package/cdn/assets/{BEfetwH6zTr6B51I.js → BHIQzrKfKNFUBjR9.js} +844 -843
  125. package/{browser/esm/CcARDY0PFSWkqsG9.mjs → cdn/assets/BMcBO1IQO3eNx3D8.js} +1 -1
  126. package/cdn/assets/{BfFDvyaRcdKS0wPD.js → BcnRo-70LV3dW2F8.js} +1 -1
  127. package/cdn/assets/Ber1-vHUp5sOqFS7.js +390 -0
  128. package/cdn/assets/{DBpku3D2DSTmW4II.js → Bj-ZU4RLivZywsqT.js} +2 -2
  129. package/cdn/assets/Bjv69OWhcDpPMIFg.js +49722 -0
  130. package/{browser/esm/73gcCsbqgbW3KIoA.mjs → cdn/assets/BphrEGpsPHge38iD.js} +1 -1
  131. package/cdn/assets/Bt3GnfDq2p0GHntP.js +23 -0
  132. package/{browser/esm/w3TGaFTjdsc4XTcz.mjs → cdn/assets/BuEJOKp47YUO-SKV.js} +73 -73
  133. package/{browser/esm/BZxAttR2mi9td3k1.mjs → cdn/assets/Bxh-G6GIKLTgdQSU.js} +1 -1
  134. package/cdn/assets/{C8rQWD8C7ccUHNZL.js → BzJDFxx0-f3ofc07.js} +3 -3
  135. package/cdn/assets/{DEOxG6u6itV8bGym.js → Bzmc21lMGO689Gtm.js} +849 -849
  136. package/cdn/assets/{Cdx6LrqtHZKbwl63.js → CBZHbb2bqbziokhD.js} +42 -42
  137. package/cdn/assets/{Zi3E5Kzxw2FPtLVL.js → CCyqNw5QYfgHLK1w.js} +2 -2
  138. package/{browser/esm/B8TNpfJ8ymQcPriE.mjs → cdn/assets/CEn_nscDh2qWGWkf.js} +1 -1
  139. package/cdn/assets/{B3TPDOzYf_VRBIr6.js → CK4HRZFkpjItprps.js} +422 -422
  140. package/cdn/assets/{DgO85Q5iHe-ZmvtQ.js → CM9SSh6zB4mXFuiK.js} +1 -1
  141. package/cdn/assets/{4eRu4yzXkvCBip8J.js → CNNQFdovfxmKTLqX.js} +1 -1
  142. package/{browser/esm/BF5nlSYZ38RJ0dPX.mjs → cdn/assets/CPzGoc5ivg6BGW5V.js} +1 -1
  143. package/cdn/assets/{jkSJc6Omxbf-rPQY.js → CQ8SVGYEop2G_eer.js} +1 -1
  144. package/cdn/assets/{DnWjhq4ZlgIuFcii.js → CQeDWMJhZEMvysUh.js} +5 -5
  145. package/cdn/assets/{CWkF-50YF43t7qge.js → CWgLS_jMj5DNrggO.js} +4 -4
  146. package/cdn/assets/Ch5JO1OSaLcDuY1a.js +22 -0
  147. package/cdn/assets/{DHPHhaCxihdR9Hl6.js → D0HahgSi_BcRitIR.js} +1 -1
  148. package/cdn/assets/{B7Ky6m4VWP8vxhPt.js → D5-W8jVCdTuhwV4I.js} +18 -18
  149. package/cdn/assets/{aLv-xujBO4X6ilhV.js → DDaraJFhLInV4GMJ.js} +1 -1
  150. package/{browser/esm/DVRMAeHUj0-TY-vK.mjs → cdn/assets/DE8w2hURn5qI8AKp.js} +1 -1
  151. package/cdn/assets/{BdFNxdtES-3_yQ9R.js → DGk-Ommc_o1xYlw-.js} +1 -1
  152. package/cdn/assets/{D9eVsUckA6bWBHni.js → DHwgBfUeVdooDLZu.js} +1 -1
  153. package/cdn/assets/DI9WWYlw4XtaKxJ9.js +149 -0
  154. package/cdn/assets/DN9WPHXLnxyrdP62.js +49 -0
  155. package/cdn/assets/DOoM8QGUlLAU2iqo.js +43 -0
  156. package/{browser/esm/Dft4BSeY0bp0A6z0.mjs → cdn/assets/DPRM8hNlNCr3-T5W.js} +1 -1
  157. package/cdn/assets/DSfbEMCq8-gDBtv_.js +46 -0
  158. package/cdn/assets/{ChB-XZno7w9v221u.js → DZyvhfi33GteuMM3.js} +4 -4
  159. package/cdn/assets/{BPen6C7JE2sWVgdi.js → D_SW7AJGTxZZhEhN.js} +1 -1
  160. package/cdn/assets/{BvYUsRgBXLSuaQ-S.js → Ddco0tbzyQ9zfvAR.js} +1 -1
  161. package/cdn/assets/{0fI22OQK5IczUH6s.js → DdjDNvycthoT3npY.js} +2 -2
  162. package/cdn/assets/{wV8riZWKJE7AoKQk.js → DhtBGaXEjpSpeQD2.js} +1 -1
  163. package/cdn/assets/{wxvli1IH1NkfqE6-.js → DmeMooAnq1CVPk8s.js} +1 -1
  164. package/{browser/esm/B_pEA9HeXKvEOCdS.mjs → cdn/assets/DnDDStLug64LBv-3.js} +1 -1
  165. package/{browser/esm/BzE-61bmpRQzEVPt.mjs → cdn/assets/DrT_zO6kt_14yLBZ.js} +1 -1
  166. package/{browser/esm/B4ji-HZTY0uvH8r7.mjs → cdn/assets/DwUhQt38jwVGevvy.js} +1 -1
  167. package/{browser/esm/Cmtx4dAVZrwq5cVO.mjs → cdn/assets/IF2d9xZoQ-KwvBKh.js} +1 -1
  168. package/{browser/esm/CN73n4VDayKh_l1J.mjs → cdn/assets/PzttknQejK9onrpS.js} +1 -1
  169. package/cdn/assets/{CITPwlsNzJvv551I.js → TM6K2pq3Dcv9IkuU.js} +1 -1
  170. package/cdn/assets/UYuqeLmzk4CZISVt.js +50 -0
  171. package/{browser/esm/BIUVt79NHXdZx2Dz.mjs → cdn/assets/mMMnv_KWRsRe75FG.js} +1 -1
  172. package/cdn/assets/{C28AZ0Rwo79iGg0v.js → q0yHqQ5GBeLgY-gd.js} +1 -1
  173. package/cdn/assets/sZe9Sjpn-rLq53T6.js +41 -0
  174. package/cdn/index.js +73 -73
  175. package/cdn/loader.js +1 -1
  176. package/package.json +3 -3
  177. package/browser/cjs/1bCMnueqxHW3rn0c.cjs +0 -6
  178. package/browser/cjs/BQ4QeJYaIhLaInyR.cjs +0 -6
  179. package/browser/cjs/CJoJ19i1z94kndlS.cjs +0 -19
  180. package/browser/cjs/CXIHULOe7x4DYKXw.cjs +0 -12
  181. package/browser/cjs/DQGdVVTxixgptLdj.cjs +0 -366
  182. package/browser/esm/B383N9irNfyfYC2l.mjs +0 -20
  183. package/browser/esm/BUqd1uVUNoWmepd2.mjs +0 -148
  184. package/browser/esm/BbW_1O3cEhZ4aSgS.mjs +0 -55785
  185. package/browser/esm/Bqqcb80cNalBs-sB.mjs +0 -939
  186. package/browser/esm/BrEcIDq0-c5AiQEf.mjs +0 -21
  187. package/browser/esm/DKbJ-iVPuUbr3iZ_.mjs +0 -47
  188. package/browser/esm/DbZJQpjZJIcz2ypV.mjs +0 -39
  189. package/cdn/assets/5HYy7pIZxQRDUQl-.js +0 -50
  190. package/cdn/assets/6oc_f4xkoSmftsRd.js +0 -22
  191. package/cdn/assets/B4HW_cy7gbE01jar.js +0 -390
  192. package/cdn/assets/BS1p7DgoyO-WkvB8.js +0 -41
  193. package/cdn/assets/BiKaXKU3o287mgkN.js +0 -12
  194. package/cdn/assets/C0yI-QYraFhnJUdD.js +0 -49
  195. package/cdn/assets/C3FTuqvfGalOVHql.js +0 -43
  196. package/cdn/assets/CaKPs_ILqLIWfUUN.js +0 -23
  197. package/cdn/assets/CkY7wM_4OGwZvJ4f.js +0 -942
  198. package/cdn/assets/CrBywNOOyPHSBoTT.js +0 -27
  199. package/cdn/assets/DMWARnjq06oQnfrL.js +0 -58
  200. package/cdn/assets/DRa6yXWuTlAjuaKT.js +0 -90
  201. package/cdn/assets/DYowHOSLHcADsXuK.js +0 -27
  202. package/cdn/assets/DcdQwhlGoI1knRUy.js +0 -46
  203. package/cdn/assets/Dm0hrXCbV7DITOhi.js +0 -36
  204. package/cdn/assets/EYTSqAG9YOdb1vKx.js +0 -48823
  205. package/cdn/assets/Ux2jUY_EwSsYBCov.js +0 -241
  206. package/cdn/assets/XoKiuP2ZFq0cNGkH.js +0 -6481
@@ -1,6 +1,6 @@
1
- import { r as H, M as Ju, e as Qu, j as z, P as Zu, B as ts, N as xu, y as k, I as es, E as _t } from "./BbW_1O3cEhZ4aSgS.mjs";
1
+ import { r as H, D as Ju, g as Qu, j as z, S as Zu, B as ts, $ as xu, y as k, l as es, b as _t } from "./BFGNX8BKN0YukAfE.mjs";
2
2
  /**
3
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.14
3
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.16
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,25 +1,25 @@
1
- import { r as n, a1 as x, j as o, v as L, B as W, F as b, T as O, d as p, be as r } from "./BbW_1O3cEhZ4aSgS.mjs";
1
+ import { r as n, af as x, j as o, p as L, B as W, F as b, T as O, a as p, R as r } from "./BFGNX8BKN0YukAfE.mjs";
2
2
  /**
3
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.14
3
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.16
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 z = ["Ok", "Cancel"], E = n.memo((P) => {
9
- const { initialHyperlink: s = null, initialDisplay: D = null, onUpdateHyperlink: f, context: l, onOption: m, onValidateOption: d, onDone: u, options: h = z, defaultOption: c = h?.[0], cancelOption: i = "Cancel", sx: F, ...j } = P, v = n.useMemo(() => (s ?? l?.()?.getHyperlink()) !== null, []), k = n.useMemo(() => {
9
+ const { initialHyperlink: s = null, initialDisplay: D = null, onUpdateHyperlink: f, context: l, onOption: m, onValidateOption: d, onDone: u, options: h = z, defaultOption: c = h?.[0], cancelOption: i = "Cancel", sx: F, ...j } = P, H = n.useMemo(() => (s ?? l?.()?.getHyperlink()) !== null, []), k = n.useMemo(() => {
10
10
  let e = null, t = null;
11
11
  s && (typeof s == "string" ? t = s : e = s);
12
12
  const C = e ?? l?.()?.getHyperlink();
13
13
  return { address: t ?? C?.getAddress() ?? "", textToDisplay: C?.getDisplayText() ?? "" };
14
- }, [s, l]), [a, H] = n.useState(k.address), [g, I] = n.useState(() => {
14
+ }, [s, l]), [a, I] = n.useState(k.address), [g, v] = n.useState(() => {
15
15
  const e = l?.().toTextUnformatted() ?? D;
16
16
  return e === k.address ? "" : e;
17
17
  }), [w, y] = n.useState(!1), M = n.useCallback((e) => {
18
- I(e.target.value);
18
+ v(e.target.value);
19
19
  }, []), T = n.useCallback(async (e, t) => null, []), B = x(async (e) => {
20
20
  e !== i && f?.(a === "" ? null : { address: a }, g), m?.(e, e === i, e === c), u?.();
21
21
  }, [a, g, f, u, m, c, i]), S = x((e) => {
22
- H(e.target.value), T(e.target.value, null);
22
+ I(e.target.value), T(e.target.value, null);
23
23
  }, [d]), $ = x(async (e) => {
24
24
  let t = await Promise.resolve(d?.(e));
25
25
  try {
@@ -28,7 +28,7 @@ const z = ["Ok", "Cancel"], E = n.memo((P) => {
28
28
  }
29
29
  return t ?? !0;
30
30
  }, [d]);
31
- return o.jsx(L, { title: (v ? "Edit" : "Insert") + " Link", options: h, onDone: u, onOption: (e) => B(e), onValidateOption: $, defaultOption: c, cancelOption: i, autoFocusSel: ".autoFocus", sx: { width: "480px", ...F }, ...j, children: o.jsxs(W, { sx: { paddingTop: (e) => e.spacing(1), paddingBottom: (e) => e.spacing(0), rowGap: (e) => e.spacing(1), display: "flex", flexDirection: "column" }, children: [o.jsx(b, { sx: { paddingTop: (e) => e.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: o.jsx(O, { label: "Address", placeholder: "Enter a url or cell reference.", onFocus: (e) => {
31
+ return o.jsx(L, { title: (H ? "Edit" : "Insert") + " Link", options: h, onDone: u, onOption: (e) => B(e), onValidateOption: $, defaultOption: c, cancelOption: i, autoFocusSel: ".autoFocus", sx: { width: "480px", ...F }, ...j, children: o.jsxs(W, { sx: { paddingTop: (e) => e.spacing(1), paddingBottom: (e) => e.spacing(0), rowGap: (e) => e.spacing(1), display: "flex", flexDirection: "column" }, children: [o.jsx(b, { sx: { paddingTop: (e) => e.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: o.jsx(O, { label: "Address", placeholder: "Enter a url or cell reference.", onFocus: (e) => {
32
32
  w || e.target?.select(), y(!0);
33
33
  }, 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: a, onChange: S, onContextMenu: (e) => {
34
34
  e.stopPropagation();
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.14
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.16
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 xe } from "./BbW_1O3cEhZ4aSgS.mjs";
1
+ import { r as xe } from "./BFGNX8BKN0YukAfE.mjs";
2
2
  /**
3
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.14
3
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.16
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.4.14
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.16
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.14
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.16
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.
@@ -809,7 +809,7 @@ const Vt = Object.freeze({ compileTypescript: async function(e) {
809
809
  if (q && $t.deepEqual(q, e)) return ht;
810
810
  const t = await async function() {
811
811
  if (M) return M;
812
- const { TypeScriptCompiler: n } = await import("./Crza3kRJdEVylOfk.mjs");
812
+ const { TypeScriptCompiler: n } = await import("./DSgo1psKmx1fs5GP.mjs");
813
813
  return M = new n(), M;
814
814
  }(), r = await t.compileModule(e);
815
815
  return ht = r, q = e, r;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.14
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.16
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.14
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.16
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.14
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.16
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 { $ as J } from "./BbW_1O3cEhZ4aSgS.mjs";
1
+ import { d as J } from "./BFGNX8BKN0YukAfE.mjs";
2
2
  /**
3
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.14
3
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.16
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.
@@ -16,7 +16,7 @@ const k = async (w, l) => {
16
16
  }
17
17
  return function o(e, a, s, m) {
18
18
  if (e == null || typeof e != "object") return JSON.stringify(e);
19
- const d = i(a), O = i(a + 1);
19
+ const A = i(a), O = i(a + 1);
20
20
  if (Array.isArray(e)) {
21
21
  const c = e.length;
22
22
  if (c === 0) return "[]";
@@ -26,21 +26,21 @@ const k = async (w, l) => {
26
26
  for (let h = 0; h < c; h++) y += O + o(e[h], a + 1, s + 1, !0), h < c - 1 && (y += `,
27
27
  `);
28
28
  return y += `
29
- ` + d + "]", y;
29
+ ` + A + "]", y;
30
30
  }
31
- const B = Object.keys(e), A = B.length;
32
- if (A === 0) return "{}";
31
+ const B = Object.keys(e), d = B.length;
32
+ if (d === 0) return "{}";
33
33
  if (!(s < 2)) return JSON.stringify(e);
34
34
  let S = `{
35
35
  `;
36
36
  m || (s = 0);
37
- for (let c = 0; c < A; c++) {
37
+ for (let c = 0; c < d; c++) {
38
38
  const y = B[c];
39
- S += O + JSON.stringify(y) + ": " + o(e[y], a + 1, s, !1), c < A - 1 && (S += `,
39
+ S += O + JSON.stringify(y) + ": " + o(e[y], a + 1, s, !1), c < d - 1 && (S += `,
40
40
  `);
41
41
  }
42
42
  return S += `
43
- ` + d + "}", S;
43
+ ` + A + "}", S;
44
44
  }(f, 0, 0, !1);
45
45
  }(u, b);
46
46
  let p = new TextEncoder().encode(g).buffer;
@@ -1,70 +1,67 @@
1
- import { a as t } from "./Dm0hrXCbV7DITOhi.js";
2
- import { r as o } from "./CrBywNOOyPHSBoTT.js";
3
- import { a5 as E, b8 as p, a as y, a7 as B, b3 as le, ap as ae, b9 as re, ba as ce, B as b, bb as g, aK as m, bc as pe, aB as O, bd as de, g as Q, h as R, be as ue, bf as fe, bg as xe, bh as ge, b6 as v, bi as me, bj as he, aN as be, b7 as Oe, f as je, b4 as Ce, b5 as ye } from "./EYTSqAG9YOdb1vKx.js";
4
- import { C as Y } from "./CkY7wM_4OGwZvJ4f.js";
1
+ import { aj as E, j as t, r as o, ak as p, e as b, af as M, M as ae, al as le, X as re, L as ce, B as O, am as g, an as m, ao as pe, ap as j, aq as de, T as Q, a as R, O as ue, ar as fe, as as xe, at as ge, R as v, au as Y, av as me, aw as he, ax as Oe, ai as je, F as Ce, ag as ye, ah as be } from "./BFGNX8BKN0YukAfE.mjs";
5
2
  /**
6
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.14
3
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.16
7
4
  *
8
5
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
9
6
  * License: The license can be found at https://www.sheetxl.com/license.
10
7
  */
11
- 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"), ve = E(t.jsx("path", { d: "m20 12-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8z" }), "ArrowDownward"), Te = 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((T) => {
12
- const { label: h, value: c, options: l, onSelect: d, tabIndex: j = 0, ...F } = T, [I, C] = o.useState(() => ee(c, l));
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"), ve = E(t.jsx("path", { d: "m20 12-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8z" }), "ArrowDownward"), Te = 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((T) => {
9
+ const { label: h, value: c, options: a, onSelect: d, tabIndex: C = 0, ...F } = T, [I, y] = o.useState(() => ee(c, a));
13
10
  o.useEffect(() => {
14
- C(ee(c, l));
15
- }, [c, l]);
16
- const L = B((u) => {
17
- C(u.target.value), d?.(l[u.target.value]);
18
- }, [d, l]), a = o.useMemo(() => Object.keys(l).map((u) => t.jsx(Oe, { value: u, children: u }, u)), [l]);
19
- return t.jsxs(je, { sx: { minWidth: 135 }, size: "small", children: [t.jsx(Ce, { children: h }), t.jsx(ye, { inputProps: { tabIndex: j }, value: I, label: h, onChange: L, sx: { backgroundImage: `linear-gradient(${R("#fff", v(5))}, ${R("#fff", v(5))})` }, ...F, children: a })] });
11
+ y(ee(c, a));
12
+ }, [c, a]);
13
+ const L = M((u) => {
14
+ y(u.target.value), d?.(a[u.target.value]);
15
+ }, [d, a]), l = o.useMemo(() => Object.keys(a).map((u) => t.jsx(je, { value: u, children: u }, u)), [a]);
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: L, sx: { backgroundImage: `linear-gradient(${R("#fff", v(5))}, ${R("#fff", v(5))})` }, ...F, children: l })] });
20
17
  }), 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 };
21
18
  delete te.Values;
22
19
  const Se = { "By Rows": !0, "By Columns": !1 }, ee = (T, h) => {
23
20
  const c = Object.keys(h);
24
- for (let l = 0; l < c.length; l++) {
25
- const d = c[l];
21
+ for (let a = 0; a < c.length; a++) {
22
+ const d = c[a];
26
23
  if (h[d] === T) return d;
27
24
  }
28
- }, Le = o.memo((T) => {
29
- const { replace: h = !1, findText: c, replaceText: l, findOptions: d, replaceOptions: j, title: F, onHide: I, onFindOrReplace: C, ...L } = T, a = o.useRef(null), u = o.useRef(null), M = o.useRef(null), V = o.useRef(null), z = o.useRef(null), H = o.useRef(null), $ = (e, n) => {
25
+ }, Ee = o.memo((T) => {
26
+ const { replace: h = !1, findText: c, replaceText: a, findOptions: d, replaceOptions: C, title: F, onHide: I, onFindOrReplace: y, ...L } = T, l = o.useRef(null), u = o.useRef(null), V = o.useRef(null), z = o.useRef(null), B = o.useRef(null), H = o.useRef(null), $ = (e, n) => {
30
27
  n && (n.start(e, { center: !1 }), setTimeout(() => n.stop(e), 180));
31
- }, [N, w] = o.useState(!1), [D, se] = o.useState(!1), [f, K] = o.useState(h), [W, P] = 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: y.Orientation.Row, fields: [p.Content.Formulas] }, scope: Z.Sheet }), k = B(async (e, n, s, S) => {
32
- if (!C) return;
28
+ }, [W, w] = o.useState(!1), [D, se] = o.useState(!1), [f, P] = o.useState(h), [N, A] = o.useState(!1), [U, X] = 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 = M(async (e, n, s, S) => {
29
+ if (!y) return;
33
30
  const x = { ...i };
34
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;
35
- const oe = await C({ autoFocus: S, ...x });
36
- P(oe === 0);
37
- }, [i, C]);
32
+ const oe = await y({ autoFocus: S, ...x });
33
+ A(oe === 0);
34
+ }, [i, y]);
38
35
  o.useEffect(() => {
39
- P(!1);
36
+ A(!1);
40
37
  }, [i, D, f]);
41
- const X = B((e, n) => {
42
- if (e.keyCode === le.Enter) {
38
+ const q = M((e, n) => {
39
+ if (e.keyCode === ae.Enter) {
43
40
  if (!i.findText) return;
44
41
  let s = !0, S = !1;
45
- e.shiftKey && (s = !1), n ? (e.ctrlKey && e.altKey && (S = !0), $(e, S ? H.current : z.current)) : $(e, s ? V.current : M.current), k(s, n, S, !1);
42
+ e.shiftKey && (s = !1), n ? (e.ctrlKey && e.altKey && (S = !0), $(e, S ? H.current : B.current)) : $(e, s ? z.current : V.current), k(s, n, S, !1);
46
43
  }
47
- }, [i]), q = o.useRef(null);
44
+ }, [i]), G = o.useRef(null);
48
45
  o.useLayoutEffect(() => {
49
46
  r((e) => {
50
47
  const n = { ...e };
51
- 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 }), j && (n.replaceOptions = { ...n.replaceOptions, ...j }), i.findOptions.fields?.[0] || (i.findOptions.fields = [p.Content.Formulas]);
52
- const s = !(!j && l === void 0);
53
- return s && K(s), n;
54
- }), U || q.current?.focus();
55
- }, [c, l, d, j]), o.useEffect(() => {
48
+ n.findText = c && c.length > 0 ? c : e.findText ?? "", w(!0), a !== void 0 && (n.replaceText = a), 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]);
49
+ const s = !(!C && a === void 0);
50
+ return s && P(s), n;
51
+ }), U || G.current?.focus();
52
+ }, [c, a, d, C]), o.useEffect(() => {
56
53
  f ? (i.findOptions.fields[0], p.Content.Values) : w(!0);
57
54
  }, [f]), o.useEffect(() => {
58
- if (N && a.current && i.findText === a.current.value) return a.current === document.activeElement || a.current.contains(document.activeElement) ? (a.current?.select(), void w(!1)) : void a.current.addEventListener("focus", () => {
59
- a.current?.select(), w(!1);
55
+ if (W && l.current && i.findText === l.current.value) return l.current === document.activeElement || l.current.contains(document.activeElement) ? (l.current?.select(), void w(!1)) : void l.current.addEventListener("focus", () => {
56
+ l.current?.select(), w(!1);
60
57
  }, { once: !0 });
61
- }, [N, i]);
62
- const [ie, { width: J }] = ae();
63
- return t.jsx(re, { ref: q, title: F ?? (f ? "Find & Replace" : "Find"), initialPosition: { y: "35" }, autoFocusSel: ".input", onHide: I, onFocus: () => G(!0), onBlur: () => {
64
- G(!1), P(!1);
58
+ }, [W, i]);
59
+ const [ie, { width: J }] = le();
60
+ return t.jsx(re, { ref: G, title: F ?? (f ? "Find & Replace" : "Find"), initialPosition: { y: "35" }, autoFocusSel: ".input", onHide: I, onFocus: () => X(!0), onBlur: () => {
61
+ X(!1), A(!1);
65
62
  }, 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) => {
66
- if (e.key === "h" && e.ctrlKey) K(!0), a.current?.contains(document.activeElement) && u.current?.focus();
67
- else if (e.key === "f" && e.ctrlKey) a.current?.focus();
63
+ if (e.key === "h" && e.ctrlKey) P(!0), l.current?.contains(document.activeElement) && u.current?.focus();
64
+ else if (e.key === "f" && e.ctrlKey) l.current?.focus();
68
65
  else if (e.key === "c" && e.altKey) r((n) => {
69
66
  const s = { ...n };
70
67
  return s.findOptions.matchCase = !n.findOptions.matchCase, s;
@@ -81,62 +78,62 @@ const Se = { "By Rows": !0, "By Columns": !1 }, ee = (T, h) => {
81
78
  });
82
79
  }
83
80
  e.preventDefault();
84
- }, children: [t.jsxs(b, { sx: { display: "flex", flexDirection: "row", gap: (e) => e.spacing(1) }, children: [t.jsxs(b, { 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: D, onSelectToggle: (e) => {
85
82
  se(e);
86
83
  }, preventFocus: !0, label: "Toggle Additional Options", icon: m(t.jsx(pe, {})) }), t.jsx(g, { selected: f, onSelectToggle: (e) => {
87
- K(e);
88
- }, preventFocus: !0, label: "Toggle Replace", icon: m(t.jsx(de, {})), shortcut: { key: f ? "F" : "H", modifiers: [O.Ctrl] } })] }), t.jsxs(b, { sx: { display: "flex", flexDirection: "column", maxWidth: "100%", boxSizing: "border-box" }, children: [t.jsxs(b, { sx: { display: "flex", flexDirection: "row", alignItems: "center" }, children: [t.jsx(Q, { label: "Find", InputLabelProps: { shrink: !0 }, InputProps: { sx: { paddingRight: (e) => e.spacing(1), minWidth: J > 460 ? "20em" : void 0, backgroundImage: `linear-gradient(${R("#fff", v(5))}, ${R("#fff", v(5))})` }, inputProps: { draggable: !1, ref: a, className: "input", autoFocus: !0, spellCheck: !1, autoComplete: "off", sx: { paddingTop: (e) => e.spacing(1.25), paddingBottom: (e) => e.spacing(0.75) } }, endAdornment: t.jsx(ue, { sx: { transform: "scale(0.75) translateX(16px)" }, position: "end", children: t.jsxs(b, { sx: { display: "flex", alignItems: "center", flexDirection: "row", gap: "1px" }, children: [t.jsx(g, { selected: i.findOptions.matchCase, onSelectToggle: (e) => {
84
+ P(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(Q, { label: "Find", InputLabelProps: { shrink: !0 }, InputProps: { sx: { paddingRight: (e) => e.spacing(1), minWidth: J > 460 ? "20em" : void 0, backgroundImage: `linear-gradient(${R("#fff", v(5))}, ${R("#fff", v(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: 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) => {
89
86
  r((n) => {
90
87
  const s = { ...n };
91
88
  return s.findOptions.matchCase = e, s;
92
89
  });
93
- }, label: "Match Case", shortcut: { key: "C", modifiers: [O.Alt] }, icon: m(t.jsx(fe, {})) }), t.jsx(g, { selected: i.findOptions.matchEntireCell, onSelectToggle: (e) => {
90
+ }, label: "Match Case", shortcut: { key: "C", modifiers: [j.Alt] }, icon: m(t.jsx(fe, {})) }), t.jsx(g, { selected: i.findOptions.matchEntireCell, onSelectToggle: (e) => {
94
91
  r((n) => {
95
92
  const s = { ...n };
96
93
  return s.findOptions.matchEntireCell = e, s;
97
94
  });
98
- }, label: "Match Entire Cell", shortcut: { key: "E", modifiers: [O.Alt] }, icon: m(t.jsx(xe, {})) }), t.jsx(g, { selected: i.findOptions.useRegex, onSelectToggle: (e) => {
95
+ }, label: "Match Entire Cell", shortcut: { key: "E", modifiers: [j.Alt] }, icon: m(t.jsx(xe, {})) }), t.jsx(g, { selected: i.findOptions.useRegex, onSelectToggle: (e) => {
99
96
  r((n) => {
100
97
  const s = { ...n };
101
98
  return s.findOptions.useRegex = e, s;
102
99
  });
103
- }, label: "Use Regular Expression", shortcut: { key: "R", modifiers: [O.Alt] }, icon: m(t.jsx(ge, {})) })] }) }) }, sx: { flex: "1 1 100%", marginRight: (e) => e.spacing(1), "& .MuiOutlinedInput-notchedOutline": { borderColor: (e) => W ? `${e.palette.error.main} !important` : void 0 }, "& .MuiInputLabel-outlined": { color: (e) => W ? `${e.palette.error.main} !important` : void 0 } }, value: i.findText ?? "", onChange: (e) => {
100
+ }, label: "Use Regular Expression", shortcut: { key: "R", modifiers: [j.Alt] }, icon: m(t.jsx(ge, {})) })] }) }) }, sx: { flex: "1 1 100%", marginRight: (e) => e.spacing(1), "& .MuiOutlinedInput-notchedOutline": { borderColor: (e) => N ? `${e.palette.error.main} !important` : void 0 }, "& .MuiInputLabel-outlined": { color: (e) => N ? `${e.palette.error.main} !important` : void 0 } }, value: i.findText ?? "", onChange: (e) => {
104
101
  r((n) => {
105
102
  const s = { ...n };
106
103
  return s.findText = e.target.value, s;
107
104
  });
108
- }, onKeyDown: (e) => X(e, !1), onContextMenu: (e) => {
105
+ }, onKeyDown: (e) => q(e, !1), onContextMenu: (e) => {
109
106
  e.stopPropagation();
110
107
  } }), t.jsx(g, { selected: i.findOptions.reverse, onSelectToggle: (e) => {
111
108
  k(!1, !1);
112
- }, touchRippleRef: M, label: "", shortcut: { key: "Enter", modifiers: [O.Shift] }, icon: m(i.findOptions.orientation !== y.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) => {
113
110
  k(!0, !1);
114
- }, touchRippleRef: V, label: "Next Match", shortcut: { key: "Enter" }, icon: m(i.findOptions.orientation !== y.Orientation.Column ? t.jsx(Te, {}) : t.jsx(ve, {})), disabled: !i.findText })] }), t.jsx(Y, { in: f, timeout: _, onExit: () => {
115
- a.current?.focus();
116
- }, children: t.jsxs(b, { 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", v(5))}, ${R("#fff", v(5))})` }, inputProps: { ref: u, className: "input", spellCheck: !1, autoComplete: "off", sx: { paddingTop: (e) => e.spacing(1.25), paddingBottom: (e) => e.spacing(0.75) } } }, sx: { flex: "1 1 100%", marginRight: (e) => e.spacing(1) }, value: i.replaceText ?? "", onChange: (e) => {
111
+ }, touchRippleRef: z, label: "Next Match", shortcut: { key: "Enter" }, icon: m(i.findOptions.orientation !== b.Orientation.Column ? t.jsx(Te, {}) : t.jsx(ve, {})), disabled: !i.findText })] }), t.jsx(Y, { in: f, timeout: _, onExit: () => {
112
+ l.current?.focus();
113
+ }, 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", v(5))}, ${R("#fff", v(5))})` }, inputProps: { ref: u, className: "input", spellCheck: !1, autoComplete: "off", sx: { paddingTop: (e) => e.spacing(1.25), paddingBottom: (e) => e.spacing(0.75) } } }, sx: { flex: "1 1 100%", marginRight: (e) => e.spacing(1) }, value: i.replaceText ?? "", onChange: (e) => {
117
114
  r((n) => {
118
115
  const s = { ...n };
119
116
  return s.replaceText = e.target.value, s;
120
117
  });
121
- }, onKeyDown: (e) => X(e, !0), onContextMenu: (e) => {
118
+ }, onKeyDown: (e) => q(e, !0), onContextMenu: (e) => {
122
119
  e.stopPropagation();
123
120
  } }), t.jsx(g, { onSelectToggle: (e) => {
124
121
  k(!0, !0);
125
- }, touchRippleRef: z, label: "Replace", shortcut: { key: "Enter" }, icon: m(t.jsx(me, {})), disabled: !i.findText }), t.jsx(g, { onSelectToggle: (e) => {
122
+ }, touchRippleRef: B, label: "Replace", shortcut: { key: "Enter" }, icon: m(t.jsx(me, {})), disabled: !i.findText }), t.jsx(g, { onSelectToggle: (e) => {
126
123
  k(!0, !0, !0);
127
- }, touchRippleRef: H, label: "Replace All", shortcut: { key: "Enter", modifiers: [O.Ctrl, O.Alt] }, icon: m(t.jsx(he, {})), disabled: !i.findText })] }) })] })] }), t.jsx(Y, { in: D, timeout: _, onExit: () => {
128
- a.current?.focus();
129
- }, children: t.jsxs(b, { 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(be, { orientation: "horizontal", sx: { marginBottom: (e) => e.spacing(1.5) } }), t.jsxs(b, { sx: { display: "flex", flexDirection: J >= 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) => {
124
+ }, touchRippleRef: H, 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: () => {
125
+ l.current?.focus();
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: J >= 413 ? "row" : "column", justifyContent: "space-evenly", alignItems: "center", rowGap: (e) => e.spacing(2) }, tabIndex: -1, children: [t.jsx(K, { label: "Within", value: i.scope, options: Z, onSelect: (e) => {
130
127
  r((n) => {
131
128
  const s = { ...n };
132
129
  return s.scope = e, s;
133
130
  });
134
- } }), t.jsx(A, { label: "Search", value: i.findOptions.orientation !== y.Orientation.Column, options: Se, onSelect: (e) => {
131
+ } }), t.jsx(K, { label: "Search", value: i.findOptions.orientation !== b.Orientation.Column, options: Se, onSelect: (e) => {
135
132
  r((n) => {
136
133
  const s = { ...n };
137
- return s.findOptions.orientation = e ? y.Orientation.Row : y.Orientation.Column, s;
134
+ return s.findOptions.orientation = e ? b.Orientation.Row : b.Orientation.Column, s;
138
135
  });
139
- } }), 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) => {
140
137
  r((n) => {
141
138
  const s = { ...n };
142
139
  return s.findOptions.fields = [e], s;
@@ -144,7 +141,7 @@ const Se = { "By Rows": !0, "By Columns": !1 }, ee = (T, h) => {
144
141
  } })] })] }) })] }) });
145
142
  });
146
143
  export {
147
- Le as FindReplaceWindow,
144
+ Ee as FindReplaceWindow,
148
145
  Z as ScopeOptions,
149
- Le as default
146
+ Ee as default
150
147
  };
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.14
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.16
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.14
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.16
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.14
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.16
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.14
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.16
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,44 +1,44 @@
1
- import { r as s, a1 as u, j as l, v as B, B as M, F as S, T as E, d as h, be as C } from "./BbW_1O3cEhZ4aSgS.mjs";
1
+ import { r as s, af as u, j as l, p as B, B as M, F as S, T as E, a as h, R as C } from "./BFGNX8BKN0YukAfE.mjs";
2
2
  /**
3
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.14
3
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.16
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: F = 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(() => {
9
+ const { initialComments: F = null, onUpdateComments: m, context: T, onOption: d, onValidateOption: p, onDone: c, options: g = V, defaultOption: r = g?.[0], cancelOption: i = "Cancel", sx: j, ...k } = O, f = s.useMemo(() => {
10
10
  const n = F ?? T?.()?.getComments();
11
11
  let t = "";
12
12
  if (n && n.content && n.content.runs) {
13
13
  const a = n.content.runs;
14
- for (let e = 0; e < a.length; e++) {
15
- const I = a[e];
14
+ for (let o = 0; o < a.length; o++) {
15
+ const I = a[o];
16
16
  t += I?.text;
17
17
  }
18
18
  }
19
19
  return t;
20
- }, []), [o, k] = s.useState(x), [v, w] = s.useState(!1), f = s.useCallback(async (n, t) => null, []), y = u(async (n) => {
21
- const t = o === "" ? [] : o.split(`
20
+ }, []), [e, w] = s.useState(f), [y, P] = s.useState(!1), x = s.useCallback(async (n, t) => null, []), b = u(async (n) => {
21
+ const t = e === "" ? [] : e.split(`
22
22
  `);
23
23
  if (n !== i) {
24
24
  const a = [];
25
- for (let e = 0; e < t.length; e++) a.push({ text: t[e] });
25
+ for (let o = 0; o < t.length; o++) a.push({ text: t[o] });
26
26
  m?.({ content: { runs: a } });
27
27
  }
28
- d?.(n, n === i, n === r), p?.();
29
- }, [o, m, p, d, r, i]), P = u((n) => {
30
- k(n.target.value), f(n.target.value, null);
31
- }, [c]), D = u(async (n) => {
32
- let t = await Promise.resolve(c?.(n));
28
+ d?.(n, n === i, n === r), c?.();
29
+ }, [e, m, c, d, r, i]), v = u((n) => {
30
+ w(n.target.value), x(n.target.value, null);
31
+ }, [p]), D = u(async (n) => {
32
+ let t = await Promise.resolve(p?.(n));
33
33
  try {
34
- t !== !1 && (t = await f(o, n));
34
+ t !== !1 && (t = await x(e, n));
35
35
  } catch {
36
36
  }
37
37
  return t ?? !0;
38
- }, [c, o]);
39
- return l.jsx(B, { title: (x ? "Edit" : "Insert") + " Comments", options: g, onDone: p, onOption: (n) => y(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
- v || n.target?.select(), w(!0);
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: o, onChange: P, onContextMenu: (n) => {
38
+ }, [p, e]);
39
+ return l.jsx(B, { title: (f ? "Edit" : "Insert") + " Comments", options: g, onDone: c, onOption: (n) => b(n), onValidateOption: D, defaultOption: r, cancelOption: i, autoFocusSel: ".autoFocus", sx: { width: "480px", ...j }, ...k, 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(), P(!0);
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
  } }) }) }) });
44
44
  });
@@ -0,0 +1,39 @@
1
+ import { r as o, k as e, c as $, j as i, p as z, B as A, F as E, T as R, a as O, K as W, A as y } from "./BFGNX8BKN0YukAfE.mjs";
2
+ /**
3
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.16
4
+ *
5
+ * (C) 2025-present SheetXL Inc. & Michael T. Ford
6
+ * License: The license can be found at https://www.sheetxl.com/license.
7
+ */
8
+ const q = ["Input"], J = o.memo(o.forwardRef((w, T) => {
9
+ const { initialValue: F = "", onOption: I, onValidateOption: l, onInputOption: r, onValidateInputOption: p, onDone: u, inputProps: c, inputLabel: P, inputType: S, inputPlaceHolder: j, options: d = q, autoFocusSel: k = ".autoFocus", cancelOption: g, defaultOption: f = d?.[0], ...v } = w, [C, b] = o.useState(!1), [t, V] = o.useState(F), [B, D] = o.useState(""), [H, K] = o.useState(!0), s = e(async (a, n) => {
10
+ if (!p) return !0;
11
+ const h = await p?.(a, n);
12
+ D(h?.message ?? "");
13
+ const x = h?.valid ?? !0;
14
+ return K(x), x;
15
+ }, [p]), m = e(async (a) => {
16
+ r?.(t, a);
17
+ }, [t, r, u, I, g, f]), L = e(async (a) => {
18
+ a.keyCode === $.Enter && await s?.(t, null);
19
+ }, [t, m]), M = e((a) => {
20
+ V(a.target.value), s?.(a.target.value, null);
21
+ }, [l]), N = e(async (a) => {
22
+ let n = await s(t, a);
23
+ try {
24
+ n !== !1 && (n = await s(t, a));
25
+ } catch {
26
+ }
27
+ return n ?? !0;
28
+ }, [t, l]);
29
+ return i.jsx(z, { options: d, onDone: u, onOption: (a, n) => {
30
+ n || m(a);
31
+ }, onValidateOption: N, cancelOption: g, defaultOption: f, autoFocusSel: k, ref: T, ...v, children: i.jsx(A, { sx: { paddingTop: (a) => a.spacing(1), paddingBottom: (a) => a.spacing(0) }, children: i.jsx(E, { sx: { paddingTop: (a) => a.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: i.jsx(R, { 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: W("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: M, onKeyDown: L, onContextMenu: (a) => {
34
+ a.stopPropagation();
35
+ } }) }) }) });
36
+ }));
37
+ export {
38
+ J as default
39
+ };