@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,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,19 +1,19 @@
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.
6
6
  */
7
7
  let a = null;
8
- const m = { reactUrl: "https://esm.sh/react@19.1.0", reactJsxTransform: "https://esm.sh/react@19.1.0/jsx-runtime", reactDomUrl: "https://esm.sh/react-dom@19.1.0", reactDomUrlClient: "https://esm.sh/react-dom@19.1.0/client" }, i = (e) => (e = { ...e, ...m }, a || (a = (async () => {
9
- const c = e.reactUrl, s = e.reactDomUrl, n = e.reactDomUrlClient, o = e.reactJsxTransform;
8
+ const n = { reactUrl: "https://esm.sh/react@19.1.0", reactJsxTransform: "https://esm.sh/react@19.1.0/jsx-runtime", reactDomUrl: "https://esm.sh/react-dom@19.1.0", reactDomUrlClient: "https://esm.sh/react-dom@19.1.0/client" }, i = (e) => (e = { ...e, ...n }, a || (a = (async () => {
9
+ const c = e.reactUrl, o = e.reactDomUrl, s = e.reactDomUrlClient, m = e.reactJsxTransform;
10
10
  if (document.querySelector('script[type="importmap"]')) console.warn("SheetXL: Import map already exists. Skipping injection.");
11
11
  else {
12
12
  const t = document.createElement("script");
13
- t.type = "importmap", t.textContent = JSON.stringify({ imports: { react: c, "react/jsx-runtime": o, "react-dom": s, "react-dom/client": n } }), document.head.appendChild(t);
13
+ t.type = "importmap", t.textContent = JSON.stringify({ imports: { react: c, "react/jsx-runtime": m, "react-dom": o, "react-dom/client": s } }), document.head.appendChild(t);
14
14
  }
15
15
  await new Promise((t) => setTimeout(t, 0));
16
- const r = await Promise.all([import("./CrBywNOOyPHSBoTT.js").then((t) => t.R), import("./Dm0hrXCbV7DITOhi.js").then((t) => t.j), import("./DYowHOSLHcADsXuK.js").then((t) => t.i), import("./XoKiuP2ZFq0cNGkH.js").then((t) => t.c), import("./EYTSqAG9YOdb1vKx.js").then((t) => t.bH)]);
16
+ const r = await Promise.all([import("react"), import("react/jsx-runtime"), import("react-dom"), import("react-dom/client"), import("./Bjv69OWhcDpPMIFg.js").then((t) => t.aX)]);
17
17
  return { React: r[0], ReactJSXTransform: r[1], ReactDOM: r[2], ReactDOMClient: r[3], StudioMUI: r[4] };
18
18
  })(), a));
19
19
  export {
@@ -1,6 +1,6 @@
1
- import { $ as he } from "./DBpku3D2DSTmW4II.js";
1
+ import { $ as he } from "./Bj-ZU4RLivZywsqT.js";
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.
@@ -234,7 +234,7 @@ let W = null;
234
234
  async function Te() {
235
235
  if (W) return W;
236
236
  try {
237
- return await (await import("./CcARDY0PFSWkqsG9.js")).initialize();
237
+ return await (await import("./BMcBO1IQO3eNx3D8.js")).initialize();
238
238
  } catch (e) {
239
239
  throw W = null, e;
240
240
  } finally {
@@ -428,7 +428,7 @@ interface Promise<T> {
428
428
  g = o, m = h;
429
429
  });
430
430
  try {
431
- const { initialize: o } = await import("./B8TNpfJ8ymQcPriE.js");
431
+ const { initialize: o } = await import("./CEn_nscDh2qWGWkf.js");
432
432
  return A = await o(), g(), A;
433
433
  } catch (o) {
434
434
  throw console.error("Failed to import or initialize esbuild:", o), H = null, m(o), o;
@@ -0,0 +1,22 @@
1
+ import { jsx as o, jsxs as N } from "react/jsx-runtime";
2
+ import { memo as T, useState as i, useCallback as k } from "react";
3
+ import { ap as w, f as j, B as v, aM as y, a7 as B, a8 as F } from "./Bjv69OWhcDpPMIFg.js";
4
+ /**
5
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.16
6
+ *
7
+ * (C) 2025-present SheetXL Inc. & Michael T. Ford
8
+ * License: The license can be found at https://www.sheetxl.com/license.
9
+ */
10
+ const H = ["Ok", "Cancel"], G = T((u) => {
11
+ const { tableOptions: e, context: p, onOption: c, onValidateOption: I, onDone: r, options: d = H, defaultOption: t = d?.[0], cancelOption: s = "Cancel", sx: m, ...f } = u, [h, x] = i(!1), [n, O] = i(() => e?.hasHeader ?? !1), [l, b] = i(() => e?.ranges ?? null), C = w((a) => {
12
+ const g = { ...e, hasHeader: n, ranges: l };
13
+ c?.(a, a === s, a === t), r?.({ option: a, tableOptions: g });
14
+ }, [r, c, t, s, n, l, e]), D = k(async (a, g) => null, []);
15
+ return o(j, { title: "Insert Table", options: d, onDone: C, onValidateOption: D, defaultOption: t, cancelOption: s, autoFocusSel: ".range-input input", sx: { width: "360px", ...m }, ...f, children: N(v, { sx: { paddingTop: (a) => a.spacing(1), paddingBottom: (a) => a.spacing(0), rowGap: (a) => a.spacing(1), display: "flex", flexDirection: "column" }, children: [o(y, { formName: "range", value: l, onChangeInput: (a) => b(a), resolvedAddress: p.getNames().getRanges.bind(p.getNames()), onFocus: (a) => {
16
+ h || a.target?.select(), x(!0);
17
+ } }), o(B, { control: o(F, { checked: n, onChange: () => O(!n) }), label: "Table has headers", labelPlacement: "end" })] }) });
18
+ });
19
+ export {
20
+ G as TableNewDialog,
21
+ G as default
22
+ };
@@ -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,7 +1,7 @@
1
- import { aX as k, o as T, aY as G, a as Q, q as W, aZ as C, a_ as tt, a$ as P, Y as et, w as Y, b0 as V } from "./EYTSqAG9YOdb1vKx.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 "./DzyNujjbHLXo9UmH.js";
1
+ import { aS as k, y as T, ao as G, F as Z, _ as W, aT as C, aU as tt, aV as P, Y as et, E as Y, aW as V } from "./Bjv69OWhcDpPMIFg.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 "./BuEJOKp47YUO-SKV.js";
3
3
  /**
4
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.14
4
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.16
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.
@@ -230,7 +230,7 @@ class I {
230
230
  return t === "ctr" ? "center" : t;
231
231
  }
232
232
  }
233
- class q {
233
+ class J {
234
234
  visit(t, e, s) {
235
235
  }
236
236
  processStroke(t, e, s) {
@@ -394,7 +394,7 @@ class q {
394
394
  return i ? ` ${s} ${!i || parseFloat(i) / r}` : ` ${s}`;
395
395
  }
396
396
  }
397
- class M extends q {
397
+ class M extends J {
398
398
  visit(t, e, s) {
399
399
  try {
400
400
  const r = t.evaluate("xfrm", e);
@@ -480,7 +480,7 @@ class N {
480
480
  }
481
481
  }
482
482
  }
483
- const J = (u, t, e) => {
483
+ const q = (u, t, e) => {
484
484
  if (u.getValAttrAsBoolean("invertIfNegative", t) === !0) if (u.evaluate("extLst/ext/invertSolidFillFmt", t)) {
485
485
  if (e.fill && e.fillNegative) {
486
486
  const s = u.getFromPath(e, "fill.solid.adjs");
@@ -533,7 +533,7 @@ class dt {
533
533
  return s += "}", s;
534
534
  }
535
535
  afterVisit(t, e, s) {
536
- J(t, e, s);
536
+ q(t, e, s);
537
537
  let r = t.getFromPath(s, "points");
538
538
  if (r) {
539
539
  const o = Object.keys(r);
@@ -553,7 +553,7 @@ class mt {
553
553
  let r = t.getFromPath(s, "points"), o = null;
554
554
  r ? o = r : (o = {}, t.setToPath(s, "points", o));
555
555
  let i = {}, n = t.getValAttrAsString("idx", e);
556
- return n !== null && (o[n] = i), m(t, e, i, "bubble3D", "bubble3D"), w(t, e, i, "explosion", "explosion"), J(t, e, i), i;
556
+ return n !== null && (o[n] = i), m(t, e, i, "bubble3D", "bubble3D"), w(t, e, i, "explosion", "explosion"), q(t, e, i), i;
557
557
  }
558
558
  }
559
559
  class bt {
@@ -568,7 +568,7 @@ class bt {
568
568
  return null;
569
569
  }
570
570
  }
571
- class R {
571
+ class E {
572
572
  visit(t, e, s) {
573
573
  let r = {};
574
574
  this.parseScaling(t, e, r), y(t, e, r, "majorUnit", "majorUnits"), y(t, e, r, "minorUnit", "minorUnits"), m(t, e, r, "delete", "shown"), this.parseOrientation(t, e, r), this.parseNumFormat(t, e, r), b(t, e, r, "majorTickMark", "majorTickMarks"), b(t, e, r, "minorTickMark", "minorTickMarks"), b(t, e, r, "crosses", "crosses"), y(t, e, r, "crossesAt", "crosses"), b(t, e, r, "crossBetween", "crossBetween"), this.parseLabelAlign(t, e, r), w(t, e, r, "lblOffset", "labelOffset"), b(t, e, r, "tickLblPos", "labelPosition");
@@ -733,7 +733,7 @@ class Ft {
733
733
  return s.name = e.getAttribute("name"), s;
734
734
  }
735
735
  }
736
- class Ct extends q {
736
+ class Ct extends J {
737
737
  visit(t, e, s) {
738
738
  const r = {};
739
739
  r.name = e.getAttribute("name");
@@ -885,7 +885,7 @@ class Ot {
885
885
  r.collatorOptions = n ? G.CaseSensitiveOptions : G.CaseInsensitiveOptions;
886
886
  }
887
887
  const o = e.getAttribute("sortMethod");
888
- o != null && o !== "none" && (o === "stroke" ? r.collatorOptions = { ...r.collatorOptions, collation: "stroke" } : o === "pinYin" && (r.collatorOptions = { ...r.collatorOptions, collation: "pinyin" })), e.hasAttribute("columnSort") && f(e.getAttribute("columnSort")) && (r.orientation = Q.Orientation.Column);
888
+ o != null && o !== "none" && (o === "stroke" ? r.collatorOptions = { ...r.collatorOptions, collation: "stroke" } : o === "pinYin" && (r.collatorOptions = { ...r.collatorOptions, collation: "pinyin" })), e.hasAttribute("columnSort") && f(e.getAttribute("columnSort")) && (r.orientation = Z.Orientation.Column);
889
889
  const i = W.fastStringToRange(r.ref);
890
890
  return this.processSortConditions(t, e, r, i), Object.keys(r).length > 0 && (s.sort = r), r;
891
891
  }
@@ -914,7 +914,7 @@ class Ot {
914
914
  return i.length > 0 && (s.fields = i), i;
915
915
  }
916
916
  }
917
- class Z {
917
+ class Q {
918
918
  visit(t, e, s) {
919
919
  }
920
920
  processDataBarColor(t, e, s, r, o = "dk1") {
@@ -1055,7 +1055,7 @@ class Z {
1055
1055
  return n && this.processDataBarColor(t, n, i, "color"), Object.keys(i).length > 0 ? s[r] = i : null;
1056
1056
  }
1057
1057
  }
1058
- class Tt extends Z {
1058
+ class Tt extends Q {
1059
1059
  visit(t, e, s) {
1060
1060
  this.processNumFmts(t, t.evaluate("numFmts", e), null), t.getVisitorParamsState().set("colorsToProcess", /* @__PURE__ */ new Set());
1061
1061
  const r = { fills: {}, fonts: {}, borders: {} };
@@ -1255,7 +1255,7 @@ class Tt extends Z {
1255
1255
  afterVisit(t, e, s) {
1256
1256
  }
1257
1257
  }
1258
- class Vt extends Z {
1258
+ class Vt extends Q {
1259
1259
  visit(t, e, s) {
1260
1260
  return this.processSheetRefs(t, t.evaluate("sheets", e), s), this.processBookViews(t, t.evaluate("bookViews", e), s), this.processDefinedNames(t, t.evaluate("definedNames", e), s), this.processCalcPr(t, t.evaluate("calcPr", e), s), this.processWorkbookProtection(t, t.evaluate("workbookProtection", e), s), this.processWorkbookPr(t, t.evaluate("workbookPr", e), s), s;
1261
1261
  }
@@ -1367,7 +1367,7 @@ class kt {
1367
1367
  return s;
1368
1368
  }
1369
1369
  }
1370
- class E {
1370
+ class R {
1371
1371
  visit(t, e, s) {
1372
1372
  if (!e) return;
1373
1373
  const r = {};
@@ -1564,7 +1564,7 @@ class jt {
1564
1564
  }
1565
1565
  }
1566
1566
  }
1567
- class Rt {
1567
+ class Et {
1568
1568
  visit(t, e, s) {
1569
1569
  if (!e) return;
1570
1570
  const r = [];
@@ -1582,7 +1582,7 @@ class Rt {
1582
1582
  }
1583
1583
  }
1584
1584
  }
1585
- class Et {
1585
+ class Rt {
1586
1586
  visit(t, e, s) {
1587
1587
  if (!e) return;
1588
1588
  const r = {};
@@ -1624,7 +1624,7 @@ class zt {
1624
1624
  }
1625
1625
  class Xt {
1626
1626
  constructor() {
1627
- this.visitorsByXmlTagName = /* @__PURE__ */ new Map(), this.scopedVisitorsByXmlTagName = /* @__PURE__ */ new Map(), this.visitorParamsState = null, this.registerVisitor("Relationships", new ct()), this.registerVisitor("spPr", new M()), this.registerVisitor("txBody", new F()), this.registerVisitor("txPr", new F()), this.registerVisitor("c:chartSpace", new ut()), this.registerVisitor("c:chartSpace", new ht(), "chart"), this.registerVisitor("c:plotArea", new pt()), this.registerVisitor("c:barChart", new gt()), this.registerVisitor("c:doughnutChart", new S()), this.registerVisitor("c:lineChart", new S()), this.registerVisitor("c:ofPieType", new S()), this.registerVisitor("c:pieChart", new S()), this.registerVisitor("c:scatterChart", new S()), this.registerVisitor("c:barChart", new N("dataLabels"), "dLbls"), this.registerVisitor("c:doughnutChart", new N("dataLabels"), "dLbls"), this.registerVisitor("c:lineChart", new N("dataLabels"), "dLbls"), this.registerVisitor("c:ofPieType", new N("dataLabels"), "dLbls"), this.registerVisitor("c:pieChart", new N("dataLabels"), "dLbls"), this.registerVisitor("c:scatterChart", new N("dataLabels"), "dLbls"), this.registerVisitor("c:ser", new dt()), this.registerVisitor("c:dPt", new mt()), this.registerVisitor("c:marker", new bt()), this.registerVisitor("c:catAx", new R()), this.registerVisitor("c:valAx", new R()), this.registerVisitor("c:dateAx", new R()), this.registerVisitor("c:majorGridlines", new j("gridLinesMajor")), this.registerVisitor("c:minorGridlines", new j("gridLinesMinor")), this.registerVisitor("c:chartSpace", null, "txPr"), this.registerVisitor("c:catAx", new F("labels.text"), "txPr"), this.registerVisitor("c:valAx", new F("labels.text"), "txPr"), this.registerVisitor("c:dateAx", new F("labels.text"), "txPr"), this.registerVisitor("c:legend", new At()), this.registerVisitor("c:legend", new F("labels.text"), "txPr"), this.registerVisitor("c:legendEntry", new ft()), this.registerVisitor("c:ser", new yt(), "extLst/ext/invertSolidFillFmt/spPr"), this.registerVisitor("c:ser", new N("labels"), "dLbls"), this.registerVisitor("c:dLbl", new N("points")), this.registerVisitor("c:title", new X()), this.registerVisitor("c:title", null, "tx/rich"), this.registerVisitor("c:title", null, "txPr"), this.registerVisitor("c:layout", new vt()), this.registerVisitor("c:dispUnits", new j("dispUnits")), this.registerVisitor("c:dispUnitsLbl", new X("displayUnitsLabel")), this.registerVisitor("c:dispUnitsLbl", new F(), "tx/rich"), this.registerVisitor("a:theme", new Ft()), this.registerVisitor("a:theme", new Ct(), "themeElements/clrScheme"), this.registerVisitor("a:theme", new wt(), "themeElements/fontScheme"), this.registerVisitor("autoFilter", new Nt()), this.registerVisitor("sortState", new Ot()), this.registerVisitor("s:workbook", new Vt()), this.registerVisitor("styleSheet", new Tt()), this.registerVisitor("table", new St()), this.registerVisitor("hlinkClick", new Pt()), this.registerVisitor("wsDr", new kt()), this.registerVisitor("twoCellAnchor", new E()), this.registerVisitor("oneCellAnchor", new E()), this.registerVisitor("absoluteAnchor", new E()), this.registerVisitor("graphicFrame", new xt()), this.registerVisitor("sp", new z()), this.registerVisitor("grpSp", new It()), this.registerVisitor("cxnSp", new Bt()), this.registerVisitor("pic", new Lt()), this.registerVisitor("rvStructures", new _t()), this.registerVisitor("rvData", new jt()), this.registerVisitor("comments", new Rt()), this.registerVisitor("commentList", new Et(), "comment"), this.registerVisitor("comment", new F("content"), "text"), this.registerVisitor("ThreadedComments", new Yt()), this.registerVisitor("threadedComment", new Dt()), this.registerVisitor("threadedComment", new F("content"), "text"), this.registerVisitor("personList", new Mt());
1627
+ this.visitorsByXmlTagName = /* @__PURE__ */ new Map(), this.scopedVisitorsByXmlTagName = /* @__PURE__ */ new Map(), this.visitorParamsState = null, this.registerVisitor("Relationships", new ct()), this.registerVisitor("spPr", new M()), this.registerVisitor("txBody", new F()), this.registerVisitor("txPr", new F()), this.registerVisitor("c:chartSpace", new ut()), this.registerVisitor("c:chartSpace", new ht(), "chart"), this.registerVisitor("c:plotArea", new pt()), this.registerVisitor("c:barChart", new gt()), this.registerVisitor("c:doughnutChart", new S()), this.registerVisitor("c:lineChart", new S()), this.registerVisitor("c:ofPieType", new S()), this.registerVisitor("c:pieChart", new S()), this.registerVisitor("c:scatterChart", new S()), this.registerVisitor("c:barChart", new N("dataLabels"), "dLbls"), this.registerVisitor("c:doughnutChart", new N("dataLabels"), "dLbls"), this.registerVisitor("c:lineChart", new N("dataLabels"), "dLbls"), this.registerVisitor("c:ofPieType", new N("dataLabels"), "dLbls"), this.registerVisitor("c:pieChart", new N("dataLabels"), "dLbls"), this.registerVisitor("c:scatterChart", new N("dataLabels"), "dLbls"), this.registerVisitor("c:ser", new dt()), this.registerVisitor("c:dPt", new mt()), this.registerVisitor("c:marker", new bt()), this.registerVisitor("c:catAx", new E()), this.registerVisitor("c:valAx", new E()), this.registerVisitor("c:dateAx", new E()), this.registerVisitor("c:majorGridlines", new j("gridLinesMajor")), this.registerVisitor("c:minorGridlines", new j("gridLinesMinor")), this.registerVisitor("c:chartSpace", null, "txPr"), this.registerVisitor("c:catAx", new F("labels.text"), "txPr"), this.registerVisitor("c:valAx", new F("labels.text"), "txPr"), this.registerVisitor("c:dateAx", new F("labels.text"), "txPr"), this.registerVisitor("c:legend", new At()), this.registerVisitor("c:legend", new F("labels.text"), "txPr"), this.registerVisitor("c:legendEntry", new ft()), this.registerVisitor("c:ser", new yt(), "extLst/ext/invertSolidFillFmt/spPr"), this.registerVisitor("c:ser", new N("labels"), "dLbls"), this.registerVisitor("c:dLbl", new N("points")), this.registerVisitor("c:title", new X()), this.registerVisitor("c:title", null, "tx/rich"), this.registerVisitor("c:title", null, "txPr"), this.registerVisitor("c:layout", new vt()), this.registerVisitor("c:dispUnits", new j("dispUnits")), this.registerVisitor("c:dispUnitsLbl", new X("displayUnitsLabel")), this.registerVisitor("c:dispUnitsLbl", new F(), "tx/rich"), this.registerVisitor("a:theme", new Ft()), this.registerVisitor("a:theme", new Ct(), "themeElements/clrScheme"), this.registerVisitor("a:theme", new wt(), "themeElements/fontScheme"), this.registerVisitor("autoFilter", new Nt()), this.registerVisitor("sortState", new Ot()), this.registerVisitor("s:workbook", new Vt()), this.registerVisitor("styleSheet", new Tt()), this.registerVisitor("table", new St()), this.registerVisitor("hlinkClick", new Pt()), this.registerVisitor("wsDr", new kt()), this.registerVisitor("twoCellAnchor", new R()), this.registerVisitor("oneCellAnchor", new R()), this.registerVisitor("absoluteAnchor", new R()), this.registerVisitor("graphicFrame", new xt()), this.registerVisitor("sp", new z()), this.registerVisitor("grpSp", new It()), this.registerVisitor("cxnSp", new Bt()), this.registerVisitor("pic", new Lt()), this.registerVisitor("rvStructures", new _t()), this.registerVisitor("rvData", new jt()), this.registerVisitor("comments", new Et()), this.registerVisitor("commentList", new Rt(), "comment"), this.registerVisitor("comment", new F("content"), "text"), this.registerVisitor("ThreadedComments", new Yt()), this.registerVisitor("threadedComment", new Dt()), this.registerVisitor("threadedComment", new F("content"), "text"), this.registerVisitor("personList", new Mt());
1628
1628
  }
1629
1629
  registerVisitor(t, e, s = null) {
1630
1630
  t.indexOf(":") === -1 && (t = "*:" + t);
@@ -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.
@@ -0,0 +1,149 @@
1
+ import { jsx as i, jsxs as p } from "react/jsx-runtime";
2
+ import { memo as oe, useRef as C, useState as b, useEffect as D, useLayoutEffect as pe, useMemo as de } from "react";
3
+ import { at as L, au as c, F as R, ap as H, a2 as ue, av as fe, a0 as ge, a1 as me, B as O, aw as m, ax as x, ay as xe, az as y, aA as he, i as _, j as k, a3 as Oe, aB as Ce, aC as ye, aD as be, a6 as w, aE as ee, aF as ve, aG as Te, aH as Re, as as ke, g as we, aq as Ee, ar as Fe } from "./Bjv69OWhcDpPMIFg.js";
4
+ /**
5
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.16
6
+ *
7
+ * (C) 2025-present SheetXL Inc. & Michael T. Ford
8
+ * License: The license can be found at https://www.sheetxl.com/license.
9
+ */
10
+ const Se = L(i("path", { d: "M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z" }), "ArrowBack"), Ie = L(i("path", { d: "m20 12-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8z" }), "ArrowDownward"), De = L(i("path", { d: "m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z" }), "ArrowForward"), Le = L(i("path", { d: "m4 12 1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8z" }), "ArrowUpward"), z = oe((E) => {
11
+ const { label: h, value: r, options: a, onSelect: d, tabIndex: v = 0, ...A } = E, [P, T] = b(() => ie(r, a));
12
+ D(() => {
13
+ T(ie(r, a));
14
+ }, [r, a]);
15
+ const K = H((u) => {
16
+ T(u.target.value), d?.(a[u.target.value]);
17
+ }, [d, a]), s = de(() => Object.keys(a).map((u) => i(ke, { value: u, children: u }, u)), [a]);
18
+ return p(we, { sx: { minWidth: 135 }, size: "small", children: [i(Ee, { children: h }), i(Fe, { inputProps: { tabIndex: v }, value: P, label: h, onChange: K, sx: { backgroundImage: `linear-gradient(${k("#fff", w(5))}, ${k("#fff", w(5))})` }, ...A, children: s })] });
19
+ }), te = { Workbook: "workbook", Sheet: "sheet" }, ne = { enter: 140, exit: 140 }, ae = { Formulas: c.Content.Formulas, Values: c.Content.Values, Notes: c.Content.Notes, Comments: c.Content.Comments }, se = { ...ae };
20
+ delete se.Values;
21
+ const Ae = { "By Rows": !0, "By Columns": !1 }, ie = (E, h) => {
22
+ const r = Object.keys(h);
23
+ for (let a = 0; a < r.length; a++) {
24
+ const d = r[a];
25
+ if (h[d] === E) return d;
26
+ }
27
+ }, Me = oe((E) => {
28
+ const { replace: h = !1, findText: r, replaceText: a, findOptions: d, replaceOptions: v, title: A, onHide: P, onFindOrReplace: T, ...K } = E, s = C(null), u = C(null), $ = C(null), j = C(null), W = C(null), N = C(null), q = (e, t) => {
29
+ t && (t.start(e, { center: !1 }), setTimeout(() => t.stop(e), 180));
30
+ }, [G, I] = b(!1), [B, le] = b(!1), [f, M] = b(h), [U, V] = b(!1), [X, J] = b(!1), [o, l] = b({ findText: null, replaceText: null, replace: h, replaceOptions: {}, findOptions: { matchCase: !1, matchEntireCell: !1, useRegex: !1, orientation: R.Orientation.Row, fields: [c.Content.Formulas] }, scope: te.Sheet }), F = H(async (e, t, n, S) => {
31
+ if (!T) return;
32
+ const g = { ...o };
33
+ g.replaceOptions = { ...g.replaceOptions }, g.findOptions = { ...g.findOptions }, g.replaceOptions.maxCount = n ? void 0 : 1, g.replace = t, t && o.findOptions.fields?.[0] === c.Content.Values && (g.findOptions.fields = [c.Content.Formulas]), g.findOptions.reverse = !e;
34
+ const ce = await T({ autoFocus: S, ...g });
35
+ V(ce === 0);
36
+ }, [o, T]);
37
+ D(() => {
38
+ V(!1);
39
+ }, [o, B, f]);
40
+ const Q = H((e, t) => {
41
+ if (e.keyCode === ue.Enter) {
42
+ if (!o.findText) return;
43
+ let n = !0, S = !1;
44
+ e.shiftKey && (n = !1), t ? (e.ctrlKey && e.altKey && (S = !0), q(e, S ? N.current : W.current)) : q(e, n ? j.current : $.current), F(n, t, S, !1);
45
+ }
46
+ }, [o]), Y = C(null);
47
+ pe(() => {
48
+ l((e) => {
49
+ const t = { ...e };
50
+ t.findText = r && r.length > 0 ? r : e.findText ?? "", I(!0), a !== void 0 && (t.replaceText = a), d && (t.findOptions = { ...t.findOptions, ...d }), t.replaceText || (t.replaceText = ""), t.replaceOptions && (t.replaceOptions = { ...t.replaceOptions }), v && (t.replaceOptions = { ...t.replaceOptions, ...v }), o.findOptions.fields?.[0] || (o.findOptions.fields = [c.Content.Formulas]);
51
+ const n = !(!v && a === void 0);
52
+ return n && M(n), t;
53
+ }), X || Y.current?.focus();
54
+ }, [r, a, d, v]), D(() => {
55
+ f ? (o.findOptions.fields[0], c.Content.Values) : I(!0);
56
+ }, [f]), D(() => {
57
+ if (G && s.current && o.findText === s.current.value) return s.current === document.activeElement || s.current.contains(document.activeElement) ? (s.current?.select(), void I(!1)) : void s.current.addEventListener("focus", () => {
58
+ s.current?.select(), I(!1);
59
+ }, { once: !0 });
60
+ }, [G, o]);
61
+ const [re, { width: Z }] = fe();
62
+ return i(ge, { ref: Y, title: A ?? (f ? "Find & Replace" : "Find"), initialPosition: { y: "35" }, autoFocusSel: ".input", onHide: P, onFocus: () => J(!0), onBlur: () => {
63
+ J(!1), V(!1);
64
+ }, PaperProps: { elevation: X ? 3 : 1 }, ...K, children: p(me, { dividers: !0, ref: re, sx: { display: "flex", flexDirection: "column", paddingLeft: (e) => e.spacing(1.5), paddingRight: (e) => e.spacing(1.5) }, onKeyDown: (e) => {
65
+ if (e.key === "h" && e.ctrlKey) M(!0), s.current?.contains(document.activeElement) && u.current?.focus();
66
+ else if (e.key === "f" && e.ctrlKey) s.current?.focus();
67
+ else if (e.key === "c" && e.altKey) l((t) => {
68
+ const n = { ...t };
69
+ return n.findOptions.matchCase = !t.findOptions.matchCase, n;
70
+ });
71
+ else if (e.key === "e" && e.altKey) l((t) => {
72
+ const n = { ...t };
73
+ return n.findOptions.matchEntireCell = !t.findOptions.matchEntireCell, n;
74
+ });
75
+ else {
76
+ if (e.key !== "r" || !e.altKey) return;
77
+ l((t) => {
78
+ const n = { ...t };
79
+ return n.findOptions.useRegex = !t.findOptions.useRegex, n;
80
+ });
81
+ }
82
+ e.preventDefault();
83
+ }, children: [p(O, { sx: { display: "flex", flexDirection: "row", gap: (e) => e.spacing(1) }, children: [p(O, { sx: { display: "flex", flexDirection: "row", alignItems: "start", gap: (e) => e.spacing(0.25), paddingTop: "3px" }, children: [i(m, { selected: B, onSelectToggle: (e) => {
84
+ le(e);
85
+ }, preventFocus: !0, label: "Toggle Additional Options", icon: x(i(xe, {})) }), i(m, { selected: f, onSelectToggle: (e) => {
86
+ M(e);
87
+ }, preventFocus: !0, label: "Toggle Replace", icon: x(i(he, {})), shortcut: { key: f ? "F" : "H", modifiers: [y.Ctrl] } })] }), p(O, { sx: { display: "flex", flexDirection: "column", maxWidth: "100%", boxSizing: "border-box" }, children: [p(O, { sx: { display: "flex", flexDirection: "row", alignItems: "center" }, children: [i(_, { label: "Find", InputLabelProps: { shrink: !0 }, InputProps: { sx: { paddingRight: (e) => e.spacing(1), minWidth: Z > 460 ? "20em" : void 0, backgroundImage: `linear-gradient(${k("#fff", w(5))}, ${k("#fff", w(5))})` }, inputProps: { draggable: !1, ref: s, className: "input", autoFocus: !0, spellCheck: !1, autoComplete: "off", sx: { paddingTop: (e) => e.spacing(1.25), paddingBottom: (e) => e.spacing(0.75) } }, endAdornment: i(Oe, { sx: { transform: "scale(0.75) translateX(16px)" }, position: "end", children: p(O, { sx: { display: "flex", alignItems: "center", flexDirection: "row", gap: "1px" }, children: [i(m, { selected: o.findOptions.matchCase, onSelectToggle: (e) => {
88
+ l((t) => {
89
+ const n = { ...t };
90
+ return n.findOptions.matchCase = e, n;
91
+ });
92
+ }, label: "Match Case", shortcut: { key: "C", modifiers: [y.Alt] }, icon: x(i(Ce, {})) }), i(m, { selected: o.findOptions.matchEntireCell, onSelectToggle: (e) => {
93
+ l((t) => {
94
+ const n = { ...t };
95
+ return n.findOptions.matchEntireCell = e, n;
96
+ });
97
+ }, label: "Match Entire Cell", shortcut: { key: "E", modifiers: [y.Alt] }, icon: x(i(ye, {})) }), i(m, { selected: o.findOptions.useRegex, onSelectToggle: (e) => {
98
+ l((t) => {
99
+ const n = { ...t };
100
+ return n.findOptions.useRegex = e, n;
101
+ });
102
+ }, label: "Use Regular Expression", shortcut: { key: "R", modifiers: [y.Alt] }, icon: x(i(be, {})) })] }) }) }, sx: { flex: "1 1 100%", marginRight: (e) => e.spacing(1), "& .MuiOutlinedInput-notchedOutline": { borderColor: (e) => U ? `${e.palette.error.main} !important` : void 0 }, "& .MuiInputLabel-outlined": { color: (e) => U ? `${e.palette.error.main} !important` : void 0 } }, value: o.findText ?? "", onChange: (e) => {
103
+ l((t) => {
104
+ const n = { ...t };
105
+ return n.findText = e.target.value, n;
106
+ });
107
+ }, onKeyDown: (e) => Q(e, !1), onContextMenu: (e) => {
108
+ e.stopPropagation();
109
+ } }), i(m, { selected: o.findOptions.reverse, onSelectToggle: (e) => {
110
+ F(!1, !1);
111
+ }, touchRippleRef: $, label: "", shortcut: { key: "Enter", modifiers: [y.Shift] }, icon: x(o.findOptions.orientation !== R.Orientation.Column ? i(Se, {}) : i(Le, {})), disabled: !o.findText }), i(m, { selected: !o.findOptions.reverse, onSelectToggle: (e) => {
112
+ F(!0, !1);
113
+ }, touchRippleRef: j, label: "Next Match", shortcut: { key: "Enter" }, icon: x(o.findOptions.orientation !== R.Orientation.Column ? i(De, {}) : i(Ie, {})), disabled: !o.findText })] }), i(ee, { in: f, timeout: ne, onExit: () => {
114
+ s.current?.focus();
115
+ }, children: p(O, { sx: { display: "flex", flexDirection: "row", alignItems: "center", marginTop: (e) => e.spacing(2) }, children: [i(_, { label: "Replace", InputLabelProps: { shrink: !0 }, InputProps: { sx: { paddingRight: (e) => e.spacing(1), backgroundImage: `linear-gradient(${k("#fff", w(5))}, ${k("#fff", w(5))})` }, inputProps: { ref: u, className: "input", spellCheck: !1, autoComplete: "off", sx: { paddingTop: (e) => e.spacing(1.25), paddingBottom: (e) => e.spacing(0.75) } } }, sx: { flex: "1 1 100%", marginRight: (e) => e.spacing(1) }, value: o.replaceText ?? "", onChange: (e) => {
116
+ l((t) => {
117
+ const n = { ...t };
118
+ return n.replaceText = e.target.value, n;
119
+ });
120
+ }, onKeyDown: (e) => Q(e, !0), onContextMenu: (e) => {
121
+ e.stopPropagation();
122
+ } }), i(m, { onSelectToggle: (e) => {
123
+ F(!0, !0);
124
+ }, touchRippleRef: W, label: "Replace", shortcut: { key: "Enter" }, icon: x(i(ve, {})), disabled: !o.findText }), i(m, { onSelectToggle: (e) => {
125
+ F(!0, !0, !0);
126
+ }, touchRippleRef: N, label: "Replace All", shortcut: { key: "Enter", modifiers: [y.Ctrl, y.Alt] }, icon: x(i(Te, {})), disabled: !o.findText })] }) })] })] }), i(ee, { in: B, timeout: ne, onExit: () => {
127
+ s.current?.focus();
128
+ }, children: p(O, { sx: { minHeight: "10px", flex: "1 1 100%", display: "flex", flexDirection: "column", gap: (e) => e.spacing(0.5), marginTop: (e) => e.spacing(1) }, children: [i(Re, { orientation: "horizontal", sx: { marginBottom: (e) => e.spacing(1.5) } }), p(O, { sx: { display: "flex", flexDirection: Z >= 413 ? "row" : "column", justifyContent: "space-evenly", alignItems: "center", rowGap: (e) => e.spacing(2) }, tabIndex: -1, children: [i(z, { label: "Within", value: o.scope, options: te, onSelect: (e) => {
129
+ l((t) => {
130
+ const n = { ...t };
131
+ return n.scope = e, n;
132
+ });
133
+ } }), i(z, { label: "Search", value: o.findOptions.orientation !== R.Orientation.Column, options: Ae, onSelect: (e) => {
134
+ l((t) => {
135
+ const n = { ...t };
136
+ return n.findOptions.orientation = e ? R.Orientation.Row : R.Orientation.Column, n;
137
+ });
138
+ } }), i(z, { label: "Look in", value: f && o.findOptions.fields?.[0] === c.Content.Values ? c.Content.Formulas : o.findOptions.fields?.[0], options: f ? se : ae, onSelect: (e) => {
139
+ l((t) => {
140
+ const n = { ...t };
141
+ return n.findOptions.fields = [e], n;
142
+ });
143
+ } })] })] }) })] }) });
144
+ });
145
+ export {
146
+ Me as FindReplaceWindow,
147
+ te as ScopeOptions,
148
+ Me as default
149
+ };
@@ -0,0 +1,49 @@
1
+ import { jsx as t, jsxs as y } from "react/jsx-runtime";
2
+ import { memo as q, useState as x, useCallback as F, useEffect as G, useMemo as w } from "react";
3
+ import { ap as l, a2 as H, V as n, f as K, B as P, g as S, aq as A, ar as J, j as p, a6 as c, i as Q, a9 as D, as as U } from "./Bjv69OWhcDpPMIFg.js";
4
+ /**
5
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.16
6
+ *
7
+ * (C) 2025-present SheetXL Inc. & Michael T. Ford
8
+ * License: The license can be found at https://www.sheetxl.com/license.
9
+ */
10
+ const X = ["Ok", "Cancel"], ee = q(($) => {
11
+ const { initialValue: I, context: h, onOption: C, onValidateOption: u, onInputOption: b, onDone: d, options: v = X, defaultOption: r = v?.[0], cancelOption: m = "Cancel", sx: V, ...j } = $, [a, T] = x(I), [N, B] = x(!1), g = F(async (e, o) => !0, []), f = l(async (e) => {
12
+ b?.(a, e), C?.(e, e === m, e === r), d?.();
13
+ }, [a, b, d, C, m, r]), M = l(async (e) => {
14
+ e.keyCode === H.Enter && await g?.(a, null) !== !1 && f(r);
15
+ }, [a, f]), z = l((e) => {
16
+ T(e.target.value), g?.(e.target.value, null);
17
+ }, [u]), E = l(async (e) => {
18
+ let o = await Promise.resolve(u?.(e));
19
+ try {
20
+ o !== !1 && (o = await Promise.resolve(g?.(a, e)) ?? !0);
21
+ } catch {
22
+ }
23
+ return o ?? !0;
24
+ }, [u]), [k, O] = x(n.Styles.lookupStyle(a).formatType ?? n.Type.Custom);
25
+ G(() => {
26
+ O(n.Styles.lookupStyle(a).formatType ?? n.Type.Custom);
27
+ }, [a]);
28
+ const L = w(() => {
29
+ const e = n.Styles.lookupPrimary(), o = (i) => t(U, { value: i, children: i }, i), s = Object.keys(e).map((i) => o(e[i].formatType));
30
+ return s.push(o(n.Type.Custom)), s;
31
+ }, []), R = F((e) => {
32
+ const o = e.target.value;
33
+ O(o);
34
+ const s = n.Styles.lookupDefault(o);
35
+ s && T(s);
36
+ }, []), W = w(() => {
37
+ const e = h();
38
+ return e.createTemporaryCell({ value: e.getValue() ?? 12345, style: { numberFormat: a } });
39
+ }, [k, a, h]);
40
+ return t(K, { title: "Number Format", options: v, onDone: d, onOption: (e) => f(e), onValidateOption: E, defaultOption: r, cancelOption: m, autoFocusSel: ".autoFocus", sx: { width: "580px", ...V }, ...j, children: y(P, { sx: { paddingTop: (e) => e.spacing(1), paddingBottom: (e) => e.spacing(0), rowGap: (e) => e.spacing(1), display: "flex", flexDirection: "column" }, children: [y(S, { sx: { minWidth: 135 }, size: "small", children: [t(A, { children: "Category" }), t(J, { value: k, label: "Category", onChange: R, sx: { backgroundImage: `linear-gradient(${p("#fff", c(5))}, ${p("#fff", c(5))})` }, children: L })] }), t(S, { sx: { paddingTop: (e) => e.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: t(Q, { label: "Code", onFocus: (e) => {
41
+ N || e.target?.select(), B(!0);
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(${p("#fff", c(5))}, ${p("#fff", c(5))})` } } }, value: a, onChange: z, onKeyDown: M, onContextMenu: (e) => {
43
+ e.stopPropagation();
44
+ } }) }), y(P, { children: [t(D, { variant: "caption", component: "div", sx: { paddingLeft: (e) => e.spacing(2) }, children: "Preview" }), t(D, { 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: W.getNumberFormat().displayText || "(empty)" })] })] }) });
45
+ });
46
+ export {
47
+ ee as NumberFormatDialog,
48
+ ee as default
49
+ };
@@ -0,0 +1,43 @@
1
+ import { jsx as d, jsxs as j } from "react/jsx-runtime";
2
+ import { memo as k, useMemo as V, useState as p, useCallback as h } from "react";
3
+ import { ap as u, f as E, B as M, aL as S, aM as A } from "./Bjv69OWhcDpPMIFg.js";
4
+ /**
5
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.16
6
+ *
7
+ * (C) 2025-present SheetXL Inc. & Michael T. Ford
8
+ * License: The license can be found at https://www.sheetxl.com/license.
9
+ */
10
+ const G = ["Ok", "Cancel"], H = k((C) => {
11
+ const { value: a = null, context: t, onOption: c, onValidateOption: U, onDone: m, onUpdate: g, options: x = G, defaultOption: f = x?.[0], cancelOption: N = "Cancel", sx: R, ...v } = C, y = V(() => t?.getNames().findValidName("Range1"), []), i = V(() => {
12
+ if (!a) return !0;
13
+ }, []), [n, w] = p({ displayText: a?.getName() ?? y, errorText: null }), [l, D] = p({ displayValue: a?.getRanges() ?? t?.selection() ?? null, errorText: null }), [T, O] = p(!1), F = h(async (e) => !n.errorText && !l.errorText, [t]), B = u((e, s, r) => {
14
+ if (!s) {
15
+ let o = null;
16
+ i ? o = t?.getNames().addReference(n?.displayText, l?.displayValue, !1) : (a.getType() === "reference" && a.doBatch(() => {
17
+ a.setName(n?.displayText), a.setReference(l?.displayValue);
18
+ }, `Edit Named '${n?.displayText}'`), o = a), o && (o.select(), g(o, i));
19
+ }
20
+ c?.(e, s, r), m?.();
21
+ }, [t, n, l, m, c, f, N, g]), I = u((e) => {
22
+ let s = null;
23
+ try {
24
+ t?.getNames().validateName(e);
25
+ } catch (r) {
26
+ s = r.message;
27
+ }
28
+ w({ displayText: e, errorText: s });
29
+ }, []), L = u((e) => {
30
+ a && a.getName().toLowerCase() === e.toLowerCase() || t?.getNames().validateName(e);
31
+ }, [t, a]), b = h((e) => {
32
+ D({ displayValue: e ?? null, errorText: null });
33
+ }, []);
34
+ return d(E, { title: (i ? "Define" : "Edit") + " Range", options: x, onOption: B, onValidateOption: F, defaultOption: f, cancelOption: N, autoFocusSel: ".autoFocus", sx: { width: "460px", ...R }, ...v, children: j(M, { sx: { paddingTop: (e) => e.spacing(1), paddingBottom: (e) => e.spacing(0), rowGap: (e) => e.spacing(1), range: "flex", flexDirection: "column" }, children: [d(S, { formName: "name", defaultInput: y, value: n.displayText, onChangeInput: I, onValidate: L, onFocus: (e) => {
35
+ T || e.target?.select(), O(!0);
36
+ } }), d(A, { formName: "range", value: l.displayValue, onChangeInput: b, resolvedAddress: t.getNames().getRanges.bind(t.getNames()), onFocus: (e) => {
37
+ T || e.target?.select(), O(!0);
38
+ } })] }) });
39
+ });
40
+ export {
41
+ H as NamedReferenceDialog,
42
+ H as default
43
+ };
@@ -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.
@@ -0,0 +1,46 @@
1
+ import { jsx as o, jsxs as A } from "react/jsx-runtime";
2
+ import { memo as E, useMemo as O, useState as g, useCallback as P } from "react";
3
+ import { ap as f, f as S, B as U, g as b, i as D, j as l, a6 as p } from "./Bjv69OWhcDpPMIFg.js";
4
+ /**
5
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.16
6
+ *
7
+ * (C) 2025-present SheetXL Inc. & Michael T. Ford
8
+ * License: The license can be found at https://www.sheetxl.com/license.
9
+ */
10
+ const V = ["Ok", "Cancel"], J = E((F) => {
11
+ const { initialHyperlink: n = null, initialDisplay: H = null, onUpdateHyperlink: m, context: s, onOption: x, onValidateOption: r, onDone: d, options: h = V, defaultOption: c = h?.[0], cancelOption: i = "Cancel", sx: I, ...v } = F, w = O(() => (n ?? s?.()?.getHyperlink()) !== null, []), y = O(() => {
12
+ let a = null, t = null;
13
+ n && (typeof n == "string" ? t = n : a = n);
14
+ const C = a ?? s?.()?.getHyperlink();
15
+ return { address: t ?? C?.getAddress() ?? "", textToDisplay: C?.getDisplayText() ?? "" };
16
+ }, [n, s]), [e, M] = g(y.address), [u, B] = g(() => {
17
+ const a = s?.().toTextUnformatted() ?? H;
18
+ return a === y.address ? "" : a;
19
+ }), [$, k] = g(!1), j = P((a) => {
20
+ B(a.target.value);
21
+ }, []), T = P(async (a, t) => null, []), L = f(async (a) => {
22
+ a !== i && m?.(e === "" ? null : { address: e }, u), x?.(a, a === i, a === c), d?.();
23
+ }, [e, u, m, d, x, c, i]), W = f((a) => {
24
+ M(a.target.value), T(a.target.value, null);
25
+ }, [r]), z = f(async (a) => {
26
+ let t = await Promise.resolve(r?.(a));
27
+ try {
28
+ t !== !1 && (t = await T(e, a));
29
+ } catch {
30
+ }
31
+ return t ?? !0;
32
+ }, [r]);
33
+ return o(S, { title: (w ? "Edit" : "Insert") + " Link", options: h, onDone: d, onOption: (a) => L(a), onValidateOption: z, defaultOption: c, cancelOption: i, autoFocusSel: ".autoFocus", sx: { width: "480px", ...I }, ...v, children: A(U, { sx: { paddingTop: (a) => a.spacing(1), paddingBottom: (a) => a.spacing(0), rowGap: (a) => a.spacing(1), display: "flex", flexDirection: "column" }, children: [o(b, { sx: { paddingTop: (a) => a.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: o(D, { label: "Address", placeholder: "Enter a url or cell reference.", onFocus: (a) => {
34
+ $ || a.target?.select(), k(!0);
35
+ }, sx: { "& .MuiFormHelperText-root": { marginTop: (a) => a.spacing(0.5) } }, InputLabelProps: { shrink: !0 }, InputProps: { inputProps: { className: "autoFocus", spellCheck: !1, autoComplete: "off", sx: { paddingTop: (a) => a.spacing(1.25), paddingBottom: (a) => a.spacing(0.75), backgroundImage: `linear-gradient(${l("#fff", p(5))}, ${l("#fff", p(5))})` } } }, value: e, onChange: W, onContextMenu: (a) => {
36
+ a.stopPropagation();
37
+ } }) }), o(b, { sx: { paddingTop: (a) => a.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: o(D, { label: "Display Text", placeholder: e?.startsWith("#") ? e.substring(1) : e, onFocus: () => {
38
+ k(!0);
39
+ }, sx: { "& .MuiFormHelperText-root": { marginTop: (a) => a.spacing(0.5) } }, InputLabelProps: { shrink: !0 }, InputProps: { inputProps: { spellCheck: !1, autoComplete: "off", sx: { paddingTop: (a) => a.spacing(1.25), paddingBottom: (a) => a.spacing(0.75), backgroundImage: `linear-gradient(${l("#fff", p(5))}, ${l("#fff", p(5))})` } } }, value: u, onChange: j, onContextMenu: (a) => {
40
+ a.stopPropagation();
41
+ } }) })] }) });
42
+ });
43
+ export {
44
+ J as HyperlinkDialog,
45
+ J as default
46
+ };