@sheetxl/studio-vanilla 0.7.11 → 0.7.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (215) hide show
  1. package/browser/cjs/{DIPpP05UV3BNtX9g.cjs → 5FB2JNZkAB-WAguX.cjs} +1 -1
  2. package/browser/cjs/{PMU3QZ4iJEMfHvFs.cjs → 78dOV0RAF5rgwQUW.cjs} +1 -1
  3. package/browser/cjs/{D_YtxTTSDi9Asoyu.cjs → B1VvX7VCdcsH8Gti.cjs} +1 -1
  4. package/browser/cjs/B4skn6YstpEWT1bs.cjs +327 -0
  5. package/browser/cjs/{CBxhVkStLoRggBtV.cjs → B7X1IPkASiw0G90-.cjs} +2 -2
  6. package/browser/cjs/{BY92Z-WFFfG3MbD7.cjs → B9PX1doxigBD0DCk.cjs} +2 -2
  7. package/browser/cjs/{_uPzYzEoCOEeLyon.cjs → BDtyqEH_YEwu9ldA.cjs} +4 -4
  8. package/browser/cjs/{BRH1VPMpSG0urT1s.cjs → BFGxbCIoibTxqnIi.cjs} +1 -1
  9. package/browser/cjs/{8nqR2-rPIuGdEIQe.cjs → BGZa_8CRodA2LEYx.cjs} +2 -2
  10. package/browser/cjs/BMaZl9v1WOvtOADY.cjs +6 -0
  11. package/browser/cjs/{CSx9V80P-82annVz.cjs → BWcEJnZcKKcHkz0f.cjs} +2 -2
  12. package/browser/cjs/{I4zHKiFqVlr_w0Fm.cjs → B_AseJLPSuGo6GDf.cjs} +1 -1
  13. package/browser/cjs/B_F2ElEw3X66F_L3.cjs +6 -0
  14. package/browser/cjs/{QTL9F1HRnB1Wn2-A.cjs → BbkCk4nfjCe1Cpij.cjs} +1 -1
  15. package/browser/cjs/{DI7s2NqJg76ihNkK.cjs → BbyzYQSgWxzepYCc.cjs} +1 -1
  16. package/browser/cjs/{CCA9YQiTLqOXq0Wt.cjs → BcnudOYprbQZTGHW.cjs} +1 -1
  17. package/browser/cjs/{CtAf7EADj-tj9o6G.cjs → BlcJcQhBPqHfjX2x.cjs} +1 -1
  18. package/browser/cjs/Bmadznj02hAZ6Vcd.cjs +6 -0
  19. package/browser/cjs/{9o1eLnownogeMwyc.cjs → BoA1u6SJv0aFc353.cjs} +1 -1
  20. package/browser/cjs/{BRxxZi2wGy13iclf.cjs → ByDHkyffMaSPKuyr.cjs} +5 -5
  21. package/browser/cjs/{BNnHt6qDqZksLII1.cjs → C3r_CIITb0MvUeGK.cjs} +1 -1
  22. package/browser/cjs/{Bl_3smYj2qnYq-3F.cjs → CA8WuC6jtCmvswvn.cjs} +3 -3
  23. package/browser/cjs/CAOf4UKmkwzLXOLK.cjs +6 -0
  24. package/browser/cjs/{BBv22Aw9g1E8MWdn.cjs → CC0Dgap4BzVNkRIy.cjs} +4 -4
  25. package/browser/cjs/{CjRiqIYPXpCRU6Y9.cjs → CGsvXu-FjuZ3-GmY.cjs} +1 -1
  26. package/browser/cjs/{XWeausRSKBOymZ4u.cjs → CNRVA3rz1kniUscm.cjs} +3 -3
  27. package/browser/cjs/{CnWBwBAZBjLCyQ20.cjs → COKPliuQ_2UpHCww.cjs} +1 -1
  28. package/browser/cjs/{DSk0ysK_11319VY2.cjs → CVaFHItd3JqvYmTa.cjs} +1 -1
  29. package/browser/cjs/{DrrBxsEjp39C74ju.cjs → CWoAzlcnU0WyFA4f.cjs} +1 -1
  30. package/browser/cjs/Cbxq2EWu1ezSBp-h.cjs +14 -0
  31. package/browser/cjs/Cf0pm5JLv3pWJAWd.cjs +6 -0
  32. package/browser/cjs/{DAEbq_E3O5eEDAPQ.cjs → CgeeIQXxuADgwpH5.cjs} +1 -1
  33. package/browser/cjs/{sdCc7oY00lsobMRi.cjs → CkwyRC0iJA2hdrQs.cjs} +1 -1
  34. package/browser/cjs/{D-0Fik4ourpwXi3i.cjs → Cv_2k9kWPs4pyStL.cjs} +1 -1
  35. package/browser/cjs/D-WNKJUOmfSjrp-b.cjs +6 -0
  36. package/browser/cjs/{BkPYmGB-wP6TVE8-.cjs → DBRpIE6o5HyzsdGy.cjs} +1 -1
  37. package/browser/cjs/{N6tUn_g0pOE0uDoQ.cjs → DF2YGBnOY3cxvU9n.cjs} +2 -2
  38. package/browser/cjs/DG1ATeBBO4_HMBnR.cjs +7 -0
  39. package/browser/cjs/{CuBNorzcKplEAvqK.cjs → DGRC9Vgd6jMELIa3.cjs} +1 -1
  40. package/browser/cjs/{Dw4fCUKQgEqqfBV4.cjs → DIEzvzfJ8nRAv8L5.cjs} +6 -6
  41. package/browser/cjs/{BqdbIarOdh9Axvt0.cjs → DRjUdQ9CefKRI7CX.cjs} +1 -1
  42. package/browser/cjs/{7SU9suBhubURGggI.cjs → DV34hLiOdokdu4jR.cjs} +1 -1
  43. package/browser/cjs/{DDhGqGMGGeQc5Vo8.cjs → DYziJ4DC7YM5urcF.cjs} +1 -1
  44. package/browser/cjs/{g9WJWiyqT9ymbp5V.cjs → DbFebCV0almTLgec.cjs} +1 -1
  45. package/browser/cjs/{BmmfQP1wV5Absyg8.cjs → DjfJ-t6bOqRCMflS.cjs} +2 -2
  46. package/browser/cjs/{Dxn-fVORDhlAaX6v.cjs → DlbSHBBSh5E0p5sG.cjs} +1 -1
  47. package/browser/cjs/{C6kzo8uPQQoXWKYr.cjs → DlzkqGBXaS247pQN.cjs} +7 -7
  48. package/browser/cjs/{DvTY5XJeT47xrY8Q.cjs → DpLkeIZqCp8B7njY.cjs} +1 -1
  49. package/browser/cjs/{CC6DJpfXrAfymnhw.cjs → DrMv8ZKeHEn8wl3K.cjs} +1 -1
  50. package/browser/cjs/{BUvFKOHPMIHwdtUB.cjs → DuQa4Eq6hLkAi4L9.cjs} +1 -1
  51. package/browser/cjs/{JZDqc5W9_nwxtBJ3.cjs → DyZeaiDTtM0AauRr.cjs} +1 -1
  52. package/browser/cjs/H--CEwf6a7eiKJH_.cjs +6 -0
  53. package/browser/cjs/NshRRIkBb-qQy-Dp.cjs +6 -0
  54. package/browser/cjs/{D8v3BenpdWipIJkL.cjs → bBlfAuw2hA_trg2r.cjs} +1 -1
  55. package/browser/cjs/index.cjs +2 -2
  56. package/browser/cjs/{DMSNO64aZh_fw3zf.cjs → l0VTRdM_ld0I_gdY.cjs} +3 -3
  57. package/browser/cjs/{JPo5MA_EKlNadwdM.cjs → nX5Matbx22rSI3ap.cjs} +4 -4
  58. package/browser/cjs/{BdR6D9fV7KmZujdP.cjs → rwFdEXq7gPabWAk2.cjs} +1 -1
  59. package/browser/cjs/xQDGnleNFZuZFImw.cjs +6 -0
  60. package/{cdn/assets/BAhhLfl8o1dGoNbb.js → browser/esm/6CzQuXrkb2vam89N.mjs} +1 -1
  61. package/browser/esm/{C4XCAo0TpxslRVJ5.mjs → 9ctvSwmM18jYwMFT.mjs} +1 -1
  62. package/browser/esm/{ou3Du5ZoOZAZnu26.mjs → B6J0aAD-HabRj8lU.mjs} +1 -1
  63. package/browser/esm/{BsQRDtmffYBPjRzI.mjs → BRChXYjL4dgT5Acf.mjs} +2 -2
  64. package/browser/esm/{CwVNl2iequRw_jgb.mjs → BRlrhCxrPmpasdAq.mjs} +1 -1
  65. package/browser/esm/{F1uHh-svIwyYB_ba.mjs → BTj16Jpq9LabC1ct.mjs} +3 -3
  66. package/{cdn/assets/CBzKugXFy2maB9T2.js → browser/esm/BUWI98LWKzpLltoB.mjs} +1 -1
  67. package/{cdn/assets/BCzo1TO2mJqJ4Jtc.js → browser/esm/BXTfqh_OHTdckyrX.mjs} +2 -2
  68. package/browser/esm/{YMtZzDjMWgR3_4eN.mjs → BXZvKDNcrjMpMjkM.mjs} +1 -1
  69. package/browser/esm/BcheI2SkDXSDfNWf.mjs +39 -0
  70. package/browser/esm/{DUlZT2QnfU4sQVQt.mjs → BkCbuVVBeJSHG13N.mjs} +1 -1
  71. package/browser/esm/{C0THPGQwZ1R4wGso.mjs → Bm4rfr_Cx_aoCmLn.mjs} +1 -1
  72. package/browser/esm/BmootmPaMrAYlh-i.mjs +20 -0
  73. package/browser/esm/{Cu60N7T14PGlI74M.mjs → BnAowM0EnxUXrnrv.mjs} +1 -1
  74. package/browser/esm/{DfEf5-SRjm41tv36.mjs → Bo3eioKp9uerGFhK.mjs} +3 -3
  75. package/browser/esm/Bs2Gjt2rGx2tBBuf.mjs +44 -0
  76. package/{cdn/assets/CE7fjscGl466fl91.js → browser/esm/BvJMrNHXbOKCTgRb.mjs} +16 -16
  77. package/browser/esm/{CH1QLqVaEaDCToun.mjs → BvT1qZHVf1vKwVRj.mjs} +4 -4
  78. package/browser/esm/Bx7aHQieKPFd6qH9.mjs +7037 -0
  79. package/browser/esm/{Cg54fkIVLhuRoiMb.mjs → C-lXyFUBEAW5exiY.mjs} +2 -2
  80. package/browser/esm/{D-HCTBSjPpxDVjYI.mjs → C0IT8vG1z0PurDHx.mjs} +22 -22
  81. package/browser/esm/C7URrQo6Wkhr5jT8.mjs +41 -0
  82. package/{cdn/assets/Be8UqB7qQ3yEIghH.js → browser/esm/CFcNImdxR1fAen07.mjs} +1 -1
  83. package/browser/esm/{C97jkP_D9xckt66O.mjs → CL5GtpNDLILXmHu_.mjs} +40 -40
  84. package/{cdn/assets/Cvdg3u2WzV4R8Z8w.js → browser/esm/COiAzrLUE7r62nw2.mjs} +1 -1
  85. package/{cdn/assets/CbotKmuc-u3i6l2r.js → browser/esm/Ccc8HN1TvaWenXG3.mjs} +1 -1
  86. package/{cdn/assets/SsRUVWcrhua0o1Dm.js → browser/esm/CljwsKtaO3RXpkQp.mjs} +1 -1
  87. package/browser/esm/{CuKWS6_Je8iloPLI.mjs → CqUeRLqKKxuj7CGF.mjs} +1 -1
  88. package/{cdn/assets/COD8frfCMwYHZn2a.js → browser/esm/D-TgOIJZ4k8efoZs.mjs} +1 -1
  89. package/browser/esm/D1Q3jk3SN052POoL.mjs +48 -0
  90. package/browser/esm/{Dj0SnQZEOd1_XKRM.mjs → D64vxslweSTP13xR.mjs} +3 -3
  91. package/{cdn/assets/Bzql4m9lZvOU06fz.js → browser/esm/D6Ajj2DYdbc3SDFs.mjs} +1 -1
  92. package/browser/esm/{DinosjN3TV2mmmEf.mjs → D7NYy1UIGY4JyQeb.mjs} +1 -1
  93. package/{cdn/assets/DEgxjiNnO2CGe0Mg.js → browser/esm/D9h0ke7a7mIAuw72.mjs} +1 -1
  94. package/browser/esm/{De46gfEGYBOgbv15.mjs → DDqu9PmY-OCWxh4y.mjs} +2 -2
  95. package/browser/esm/{Ch9HnAWCAsXaP3LD.mjs → DK0jAoefLeQgYeYg.mjs} +1 -1
  96. package/{cdn/assets/BpBgYsdvef1vL5wt.js → browser/esm/DOc3EgZdz6rFbqel.mjs} +9 -11
  97. package/{cdn/assets/1lg1IRnwlZaeRS7t.js → browser/esm/DPteSel_Kz5jyMA-.mjs} +1 -1
  98. package/{cdn/assets/26cl6zBoRTZUZazo.js → browser/esm/DRJpIWMEwovO1buV.mjs} +1 -1
  99. package/browser/esm/{CY5YAVLlBtHpA3zo.mjs → DWbzCCaDXB8zMb60.mjs} +2 -2
  100. package/browser/esm/DXz1Oic-6nQRAewd.mjs +147 -0
  101. package/browser/esm/D_gSswRpVgwA_hbg.mjs +48 -0
  102. package/browser/esm/{mRBUVHHKueJc-e6f.mjs → Dby3rJONLIgRXJEp.mjs} +1 -1
  103. package/browser/esm/{dyaQatTfQy8_i9f1.mjs → Dp3iqrsApKfm3-yY.mjs} +17366 -17122
  104. package/browser/esm/{BHtxIFAotk1srRF7.mjs → DpKjaZFvNDajFoPy.mjs} +1 -1
  105. package/browser/esm/{CO-25pcw5LMrahel.mjs → DpoNkpY8iPCn3m4C.mjs} +1 -1
  106. package/{cdn/assets/C9IxpFcjTqaCRk2N.js → browser/esm/DrSQqt9_r5waPhyT.mjs} +1 -1
  107. package/{cdn/assets/CdHALOHfiCjQPb6m.js → browser/esm/FQKDEomPzTYq5ls5.mjs} +1 -1
  108. package/browser/esm/{DiAV3Uz5gPX10g2b.mjs → FXAN_qipSw7b0rk9.mjs} +6 -6
  109. package/browser/esm/{DiClzo3XuRzjd65q.mjs → U0p5BBqppTmlxGkR.mjs} +1 -1
  110. package/browser/esm/{WzG__NqEXcEJGXF9.mjs → WUX2b0l28FRmJGMz.mjs} +1 -1
  111. package/browser/esm/{BkpJCaRBrTV7-14x.mjs → aklAXH3i-vJOFht0.mjs} +4 -4
  112. package/browser/esm/{GBJRbVY1swquhqKO.mjs → dn2I9QGElGE3tUEt.mjs} +9 -9
  113. package/browser/esm/index.mjs +3 -3
  114. package/browser/esm/{zfgtBucZchI4hg1A.mjs → nedndZDepZuCPUPk.mjs} +1 -1
  115. package/browser/esm/{CcAlI0U1H8U3WLIc.mjs → pImSI15xRLyAC5kV.mjs} +2 -2
  116. package/browser/esm/{CfnDaW3FdBoQdTqQ.mjs → qKezPJyu8tVx4M7G.mjs} +1 -1
  117. package/{cdn/assets/BO7w8FY_b864MJsH.js → browser/esm/spROgAvd5ibinf8q.mjs} +1 -1
  118. package/browser/esm/wv7W2ELnbb8ZKNXB.mjs +45 -0
  119. package/cdn/assets/{D6PR-KOMtKuKwViW.js → 2rQi-ZQGcQ7M8d31.js} +17315 -17071
  120. package/{browser/esm/BAhhLfl8o1dGoNbb.mjs → cdn/assets/6CzQuXrkb2vam89N.js} +1 -1
  121. package/cdn/assets/{C4XCAo0TpxslRVJ5.js → 9ctvSwmM18jYwMFT.js} +1 -1
  122. package/cdn/assets/{ou3Du5ZoOZAZnu26.js → B6J0aAD-HabRj8lU.js} +1 -1
  123. package/cdn/assets/BG6gRExeTqxF4Uzb.js +47 -0
  124. package/cdn/assets/BJNZzjzhcS_HDPnu.js +149 -0
  125. package/cdn/assets/BM3Woa_n5vyDkAGU.js +50 -0
  126. package/cdn/assets/{DOkzFxGiB06blrS9.js → BQ4iB5PSJidcVDir.js} +5 -5
  127. package/cdn/assets/{CwVNl2iequRw_jgb.js → BRlrhCxrPmpasdAq.js} +1 -1
  128. package/{browser/esm/CBzKugXFy2maB9T2.mjs → cdn/assets/BUWI98LWKzpLltoB.js} +1 -1
  129. package/cdn/assets/BVOgz3zzOoeIDWUT.js +22 -0
  130. package/cdn/assets/{YMtZzDjMWgR3_4eN.js → BXZvKDNcrjMpMjkM.js} +1 -1
  131. package/cdn/assets/{DGYEafEa6_TZj551.js → BZNMDd-HvJEwnULT.js} +3 -3
  132. package/cdn/assets/{oyGe2Lwd4q3JlxxI.js → BaWQ5jdLwZpcoIbf.js} +42 -42
  133. package/cdn/assets/{CmRz3KIo8G3LOw9G.js → BiLJuKv_22l0dghP.js} +4 -4
  134. package/cdn/assets/{DUlZT2QnfU4sQVQt.js → BkCbuVVBeJSHG13N.js} +1 -1
  135. package/cdn/assets/{C0THPGQwZ1R4wGso.js → Bm4rfr_Cx_aoCmLn.js} +1 -1
  136. package/cdn/assets/{Cu60N7T14PGlI74M.js → BnAowM0EnxUXrnrv.js} +1 -1
  137. package/cdn/assets/BotF4v7CfYUVDgdR.js +6716 -0
  138. package/cdn/assets/Bwl5DOEl0NPZHs_1.js +23 -0
  139. package/cdn/assets/{BkDbp2f1WaqQ_XeQ.js → C9rYbbtn-ueZFc_k.js} +3 -3
  140. package/{browser/esm/Be8UqB7qQ3yEIghH.mjs → cdn/assets/CFcNImdxR1fAen07.js} +1 -1
  141. package/cdn/assets/{D9188qd49uC6RCBX.js → CL4yCbgGijoAlCpu.js} +2 -2
  142. package/{browser/esm/Cvdg3u2WzV4R8Z8w.mjs → cdn/assets/COiAzrLUE7r62nw2.js} +1 -1
  143. package/cdn/assets/CPH8yJrWplfJS73i.js +41 -0
  144. package/{browser/esm/RhlIOd-I5pWXW3GT.mjs → cdn/assets/CSBwJrMTSTtYvxJu.js} +2 -2
  145. package/{browser/esm/CbotKmuc-u3i6l2r.mjs → cdn/assets/Ccc8HN1TvaWenXG3.js} +1 -1
  146. package/{browser/esm/SsRUVWcrhua0o1Dm.mjs → cdn/assets/CljwsKtaO3RXpkQp.js} +1 -1
  147. package/cdn/assets/{CuKWS6_Je8iloPLI.js → CqUeRLqKKxuj7CGF.js} +1 -1
  148. package/cdn/assets/{B2HJ-ePk9OHKl210.js → CtyZHJTYP-9LgQxL.js} +10 -10
  149. package/cdn/assets/{BV1DpPV78XursgLU.js → Cvrm9_9yv1m363G3.js} +4 -4
  150. package/{browser/esm/COD8frfCMwYHZn2a.mjs → cdn/assets/D-TgOIJZ4k8efoZs.js} +1 -1
  151. package/cdn/assets/{C3_t9M2RoTrmk5Zt.js → D-x-yb-ab3PSsoLp.js} +1 -1
  152. package/cdn/assets/{DtqMH6GVpBAzJIaG.js → D58uHrTYGk0cexx3.js} +2 -2
  153. package/cdn/assets/{BC_FaAAhtBWSONdx.js → D69keuuL7hU1Dnic.js} +3 -3
  154. package/{browser/esm/Bzql4m9lZvOU06fz.mjs → cdn/assets/D6Ajj2DYdbc3SDFs.js} +1 -1
  155. package/cdn/assets/{DinosjN3TV2mmmEf.js → D7NYy1UIGY4JyQeb.js} +1 -1
  156. package/{browser/esm/DEgxjiNnO2CGe0Mg.mjs → cdn/assets/D9h0ke7a7mIAuw72.js} +1 -1
  157. package/cdn/assets/{RLa3ezMcHnNW3QIP.js → DDx51j_svq2hiZh0.js} +3 -3
  158. package/cdn/assets/{Ch9HnAWCAsXaP3LD.js → DK0jAoefLeQgYeYg.js} +1 -1
  159. package/cdn/assets/{BbHaD-o5eMctGIB1.js → DLD33vocqg50Srt6.js} +4 -4
  160. package/{browser/esm/1lg1IRnwlZaeRS7t.mjs → cdn/assets/DPteSel_Kz5jyMA-.js} +1 -1
  161. package/{browser/esm/26cl6zBoRTZUZazo.mjs → cdn/assets/DRJpIWMEwovO1buV.js} +1 -1
  162. package/cdn/assets/{DlXpFGquI4mSMGm1.js → DZ_aNpywKZjJOp1j.js} +3 -3
  163. package/cdn/assets/{Cz4z8vfL-Faa_U_Z.js → Dbkzw2Dbc79x_TGO.js} +2 -2
  164. package/cdn/assets/{mRBUVHHKueJc-e6f.js → Dby3rJONLIgRXJEp.js} +1 -1
  165. package/cdn/assets/DdQtG7fDOGw-8weZ.js +43 -0
  166. package/cdn/assets/{BVPJB6VMnAqpPW4u.js → DgqBfvIFmA0jgqHV.js} +3 -3
  167. package/cdn/assets/{ZA-dboXEhQS2FBOt.js → DpCeTRhgoRFi6SO-.js} +2 -2
  168. package/cdn/assets/{BHtxIFAotk1srRF7.js → DpKjaZFvNDajFoPy.js} +1 -1
  169. package/cdn/assets/{CO-25pcw5LMrahel.js → DpoNkpY8iPCn3m4C.js} +1 -1
  170. package/{browser/esm/C9IxpFcjTqaCRk2N.mjs → cdn/assets/DrSQqt9_r5waPhyT.js} +1 -1
  171. package/cdn/assets/{Cn1auE03N9wLXfjt.js → DwXZtsZKFTghm2xd.js} +4 -4
  172. package/cdn/assets/{HG75sA6aXdbc62Ko.js → DxBSfeFnzh3av1Kx.js} +6 -6
  173. package/{browser/esm/CdHALOHfiCjQPb6m.mjs → cdn/assets/FQKDEomPzTYq5ls5.js} +1 -1
  174. package/cdn/assets/LG_tevT5cNrZTkZi.js +46 -0
  175. package/cdn/assets/{DiClzo3XuRzjd65q.js → U0p5BBqppTmlxGkR.js} +1 -1
  176. package/cdn/assets/{WzG__NqEXcEJGXF9.js → WUX2b0l28FRmJGMz.js} +1 -1
  177. package/cdn/assets/aecrCD5ZX8G4uYzf.js +50 -0
  178. package/{browser/esm/B4snRWo3ROdmId1c.mjs → cdn/assets/fZNj1uwvRzWquyu2.js} +22 -22
  179. package/cdn/assets/{zfgtBucZchI4hg1A.js → nedndZDepZuCPUPk.js} +1 -1
  180. package/cdn/assets/{CfnDaW3FdBoQdTqQ.js → qKezPJyu8tVx4M7G.js} +1 -1
  181. package/cdn/assets/rn1QhkA9d6ye5hFe.js +243 -0
  182. package/{browser/esm/BO7w8FY_b864MJsH.mjs → cdn/assets/spROgAvd5ibinf8q.js} +1 -1
  183. package/cdn/assets/{BAap2Os5GIeCh2L0.js → tuC-wgl8wZ_I-jrr.js} +2 -2
  184. package/cdn/index.js +2 -2
  185. package/cdn/loader.js +1 -1
  186. package/package.json +9 -5
  187. package/browser/cjs/B0DhV18jarXPtbol.cjs +0 -6
  188. package/browser/cjs/Bto0ftjeF47cvJdi.cjs +0 -14
  189. package/browser/cjs/C-Im8uqzZv17lOnP.cjs +0 -6
  190. package/browser/cjs/C12TnTNCrGjUdbGt.cjs +0 -7
  191. package/browser/cjs/CRv97HV3of8kSjnz.cjs +0 -6
  192. package/browser/cjs/CW_TjfGnemEUJ58_.cjs +0 -6
  193. package/browser/cjs/D6K2fCFGtiRPHmMV.cjs +0 -327
  194. package/browser/cjs/D7Ac5EKfAPyrrhkS.cjs +0 -6
  195. package/browser/cjs/D_IRo0PO19CnzL3N.cjs +0 -6
  196. package/browser/cjs/FfG5Bkr-7M9137BO.cjs +0 -6
  197. package/browser/cjs/tyi6ASN0_O5JsRMI.cjs +0 -6
  198. package/browser/esm/1gFo3mDvymIc_GSM.mjs +0 -48
  199. package/browser/esm/8ipqSgbg2rPEK06x.mjs +0 -39
  200. package/browser/esm/BmViPhy9qOxkdlIY.mjs +0 -6800
  201. package/browser/esm/BvGP9PN8T5kYYqXn.mjs +0 -44
  202. package/browser/esm/CeihNWbiiXjlhNOB.mjs +0 -20
  203. package/browser/esm/Coys8HEmiwsrQIFr.mjs +0 -149
  204. package/browser/esm/DKxMLVTxqrGDxkjf.mjs +0 -41
  205. package/browser/esm/DoFBMKmsTAV7_8ML.mjs +0 -21
  206. package/browser/esm/i0t_3E3HmaueoYzo.mjs +0 -47
  207. package/cdn/assets/2ZLWir-4zep4jFhL.js +0 -22
  208. package/cdn/assets/B38DoSAYxJ40EixD.js +0 -50
  209. package/cdn/assets/BHK8a9LH6Q5f48Fd.js +0 -151
  210. package/cdn/assets/BflHOjJ4oo10vE1N.js +0 -49
  211. package/cdn/assets/C8tUn6sYjNisxPK4.js +0 -46
  212. package/cdn/assets/Cbrcyb3H3PezHtVF.js +0 -41
  213. package/cdn/assets/D9GwwaruuneTLALL.js +0 -6481
  214. package/cdn/assets/D9XR5CEdI7H3Fqqw.js +0 -43
  215. package/cdn/assets/DygZx1ZfiNYakAxe.js +0 -241
@@ -1,44 +0,0 @@
1
- import { r as a, A as x, j as o, O as A, B as L, M as O, n as b, o as p, v as r } from "./dyaQatTfQy8_i9f1.mjs";
2
- /**
3
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.11
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 W = ["Ok", "Cancel"], E = a.memo((D) => {
9
- const { initialHyperlink: s = null, initialDisplay: j = null, onUpdateHyperlink: m, context: l, onOption: f, onValidateOption: d, onDone: c, options: h = W, defaultOption: u = h?.[0], cancelOption: i = "Cancel", sx: v, ...F } = D, H = a.useMemo(() => (s ?? l?.()?.getHyperlink()) !== null, []), k = a.useMemo(() => {
10
- let e = null, n = null;
11
- s && (typeof s == "string" ? n = s : e = s);
12
- const C = e ?? l?.()?.getHyperlink();
13
- return { address: n ?? C?.getAddress() ?? "", textToDisplay: C?.getDisplayText() ?? "" };
14
- }, [s, l]), [t, M] = a.useState(k.address), [g, w] = a.useState(() => {
15
- const e = l?.().toTextUnformatted() ?? j;
16
- return e === k.address ? "" : e;
17
- }), [I, y] = a.useState(!1), P = a.useCallback((e) => {
18
- w(e.target.value);
19
- }, []), T = a.useCallback(async (e, n) => null, []), B = x(async (e) => {
20
- e !== i && m?.(t === "" ? null : { address: t }, g), f?.(e, e === i, e === u), c?.();
21
- }, [t, g, m, c, f, u, i]), S = x((e) => {
22
- M(e.target.value), T(e.target.value, null);
23
- }, [d]), $ = x(async (e) => {
24
- let n = await Promise.resolve(d?.(e));
25
- try {
26
- n !== !1 && (n = await T(t, e));
27
- } catch {
28
- }
29
- return n ?? !0;
30
- }, [d]);
31
- return o.jsx(A, { title: (H ? "Edit" : "Insert") + " Link", options: h, onDone: c, onOption: (e) => B(e), onValidateOption: $, defaultOption: u, cancelOption: i, autoFocusSel: ".autoFocus", sx: { width: "480px", ...v }, ...F, children: o.jsxs(L, { sx: { paddingTop: (e) => e.spacing(1), paddingBottom: (e) => e.spacing(0), rowGap: (e) => e.spacing(1), display: "flex", flexDirection: "column" }, children: [o.jsx(O, { sx: { paddingTop: (e) => e.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: o.jsx(b, { label: "Address", placeholder: "Enter a url or cell reference.", onFocus: (e) => {
32
- I || e.target?.select(), y(!0);
33
- }, sx: { "& .MuiFormHelperText-root": { marginTop: (e) => e.spacing(0.5) } }, slotProps: { inputLabel: { shrink: !0 }, htmlInput: { className: "autoFocus", spellCheck: !1, autoComplete: "off", sx: { paddingTop: (e) => e.spacing(1.25), paddingBottom: (e) => e.spacing(0.75), backgroundImage: `linear-gradient(${p("#fff", r(5))}, ${p("#fff", r(5))})` } } }, value: t, onChange: S, onContextMenu: (e) => {
34
- e.stopPropagation();
35
- } }) }), o.jsx(O, { sx: { paddingTop: (e) => e.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: o.jsx(b, { label: "Display Text", placeholder: t?.startsWith("#") ? t.substring(1) : t, onFocus: () => {
36
- y(!0);
37
- }, sx: { "& .MuiFormHelperText-root": { marginTop: (e) => e.spacing(0.5) } }, slotProps: { inputLabel: { shrink: !0 }, htmlInput: { 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: g, onChange: P, onContextMenu: (e) => {
38
- e.stopPropagation();
39
- } }) })] }) });
40
- });
41
- export {
42
- E as HyperlinkDialog,
43
- E as default
44
- };
@@ -1,20 +0,0 @@
1
- import { r as a, A as D, j as n, O as N, B as S, _ as T, F as k, C as w } from "./dyaQatTfQy8_i9f1.mjs";
2
- /**
3
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.11
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 F = ["Ok", "Cancel"], A = a.memo((g) => {
9
- const { tableOptions: t, context: c, onOption: p, onValidateOption: v, onDone: r, options: d = F, defaultOption: o = d?.[0], cancelOption: l = "Cancel", sx: x, ...m } = g, [O, h] = a.useState(!1), [s, b] = a.useState(() => t?.hasHeader ?? !1), [i, f] = a.useState(() => t?.ranges ?? null), j = D((e) => {
10
- const u = { ...t, hasHeader: s, ranges: i };
11
- p?.(e, e === l, e === o), r?.({ option: e, tableOptions: u });
12
- }, [r, p, o, l, s, i, t]), C = a.useCallback(async (e, u) => null, []);
13
- return n.jsx(N, { title: "Insert Table", options: d, onDone: j, onValidateOption: C, defaultOption: o, cancelOption: l, autoFocusSel: ".range-input input", sx: { width: "360px", ...x }, ...m, children: n.jsxs(S, { sx: { paddingTop: (e) => e.spacing(1), paddingBottom: (e) => e.spacing(0), rowGap: (e) => e.spacing(1), display: "flex", flexDirection: "column" }, children: [n.jsx(T, { formName: "range", value: i, onChangeInput: (e) => f(e), resolvedAddress: c.getNames().getRanges.bind(c.getNames()), onFocus: (e) => {
14
- O || e.target?.select(), h(!0);
15
- } }), n.jsx(k, { control: n.jsx(w, { checked: s, onChange: () => b(!s) }), label: "Table has headers", labelPlacement: "end" })] }) });
16
- });
17
- export {
18
- A as TableNewDialog,
19
- A as default
20
- };
@@ -1,149 +0,0 @@
1
- import { r as o, Q as p, E as R, A as P, T as le, R as re, j as i, k as ae, l as ce, B as O, U as g, q as m, Y as y, n as Y, o as b, I as pe, v, X as Z, Z as de, P as ue, M as fe, N as xe, S as ge } from "./dyaQatTfQy8_i9f1.mjs";
2
- /**
3
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.11
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 B = { width: "1.5rem", height: "1.5rem" }, M = o.memo((k) => {
9
- const { label: h, value: c, options: l, onSelect: d, tabIndex: C = 0, ...w } = k, [E, j] = o.useState(() => ee(c, l));
10
- o.useEffect(() => {
11
- j(ee(c, l));
12
- }, [c, l]);
13
- const K = P((u) => {
14
- j(u.target.value), d?.(l[u.target.value]);
15
- }, [d, l]), r = o.useMemo(() => Object.keys(l).map((u) => i.jsx(ue, { value: u, children: u }, u)), [l]);
16
- return i.jsxs(fe, { sx: { minWidth: 135 }, size: "small", children: [i.jsx(xe, { children: h }), i.jsx(ge, { inputProps: { tabIndex: C }, value: E, label: h, onChange: K, sx: { backgroundImage: `linear-gradient(${b("#fff", v(5))}, ${b("#fff", v(5))})` }, ...w, children: r })] });
17
- }), J = { 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 };
18
- delete te.Values;
19
- const me = { "By Rows": !0, "By Columns": !1 }, ee = (k, h) => {
20
- const c = Object.keys(h);
21
- for (let l = 0; l < c.length; l++) {
22
- const d = c[l];
23
- if (h[d] === k) return d;
24
- }
25
- }, Oe = o.memo((k) => {
26
- const { replace: h = !1, findText: c, replaceText: l, findOptions: d, replaceOptions: C, title: w, onHide: E, onFindOrReplace: j, ...K } = k, r = o.useRef(null), u = o.useRef(null), W = o.useRef(null), $ = o.useRef(null), L = o.useRef(null), z = o.useRef(null), N = (e, n) => {
27
- n && (n.start(e, { center: !1 }), setTimeout(() => n.stop(e), 180));
28
- }, [V, T] = o.useState(!1), [I, ie] = o.useState(!1), [f, D] = o.useState(h), [H, A] = o.useState(!1), [U, q] = o.useState(!1), [s, a] = o.useState({ replaceText: null, replace: h, replaceOptions: {}, findOptions: { text: null, matchCase: !1, matchEntireCell: !1, useRegex: !1, orientation: R.Orientation.Row, fields: [p.Content.Formulas] }, scope: J.Sheet }), S = P(async (e, n, t, F) => {
29
- if (!j) return;
30
- const x = { ...s };
31
- x.replaceOptions = { ...x.replaceOptions }, x.findOptions = { ...x.findOptions }, x.replaceOptions.maxCount = t ? void 0 : 1, x.replace = n, n && s.findOptions.fields?.[0] === p.Content.Values && (x.findOptions.fields = [p.Content.Formulas]), x.findOptions.reverse = !e;
32
- const oe = await j({ autoFocus: F, ...x });
33
- A(oe === 0);
34
- }, [s, j]);
35
- o.useEffect(() => {
36
- A(!1);
37
- }, [s, I, f]);
38
- const G = P((e, n) => {
39
- if (e.keyCode === le.Enter) {
40
- if (!s.findOptions.text) return;
41
- let t = !0, F = !1;
42
- e.shiftKey && (t = !1), n ? (e.ctrlKey && e.altKey && (F = !0), N(e, F ? z.current : L.current)) : N(e, t ? $.current : W.current), S(t, n, F, !1);
43
- }
44
- }, [s]), Q = o.useRef(null);
45
- o.useLayoutEffect(() => {
46
- a((e) => {
47
- const n = { ...e };
48
- n.findOptions.text = c && c.length > 0 ? c : e.findOptions.text ?? "", T(!0), l !== void 0 && (n.replaceText = l), d && (n.findOptions = { ...n.findOptions, ...d }), n.replaceText || (n.replaceText = ""), n.replaceOptions && (n.replaceOptions = { ...n.replaceOptions }), C && (n.replaceOptions = { ...n.replaceOptions, ...C }), s.findOptions.fields?.[0] || (s.findOptions.fields = [p.Content.Formulas]);
49
- const t = !(!C && l === void 0);
50
- return t && D(t), n;
51
- }), U || Q.current?.focus();
52
- }, [c, l, d, C]), o.useEffect(() => {
53
- f ? (s.findOptions.fields[0], p.Content.Values) : T(!0);
54
- }, [f]), o.useEffect(() => {
55
- if (V && r.current && s.findOptions.text === r.current.value) return r.current === document.activeElement || r.current.contains(document.activeElement) ? (r.current?.select(), void T(!1)) : void r.current.addEventListener("focus", () => {
56
- r.current?.select(), T(!1);
57
- }, { once: !0 });
58
- }, [V, s]);
59
- const [se, { width: X }] = re();
60
- return i.jsx(ae, { ref: Q, title: w ?? (f ? "Find & Replace" : "Find"), initialPosition: { y: "35" }, autoFocusSel: ".input", onHide: E, onFocus: () => q(!0), onBlur: () => {
61
- q(!1), A(!1);
62
- }, slotProps: { paper: { elevation: U ? 3 : 1 } }, ...K, children: i.jsxs(ce, { dividers: !0, ref: se, sx: { display: "flex", flexDirection: "column", paddingLeft: (e) => e.spacing(1.5), paddingRight: (e) => e.spacing(1.5) }, onKeyDown: (e) => {
63
- if (e.key === "h" && e.ctrlKey) D(!0), r.current?.contains(document.activeElement) && u.current?.focus();
64
- else if (e.key === "f" && e.ctrlKey) r.current?.focus();
65
- else if (e.key === "c" && e.altKey) a((n) => {
66
- const t = { ...n };
67
- return t.findOptions.matchCase = !n.findOptions.matchCase, t;
68
- });
69
- else if (e.key === "e" && e.altKey) a((n) => {
70
- const t = { ...n };
71
- return t.findOptions.matchEntireCell = !n.findOptions.matchEntireCell, t;
72
- });
73
- else {
74
- if (e.key !== "r" || !e.altKey) return;
75
- a((n) => {
76
- const t = { ...n };
77
- return t.findOptions.useRegex = !n.findOptions.useRegex, t;
78
- });
79
- }
80
- e.preventDefault();
81
- }, children: [i.jsxs(O, { sx: { display: "flex", flexDirection: "row", gap: (e) => e.spacing(1) }, children: [i.jsxs(O, { sx: { display: "flex", flexDirection: "row", alignItems: "start", gap: (e) => e.spacing(0.25), paddingTop: "3px" }, children: [i.jsx(g, { selected: I, onSelectToggle: (e) => {
82
- ie(e);
83
- }, preventFocus: !0, label: "Toggle Additional Options", icon: i.jsx(m, { iconKey: "FindOptions" }) }), i.jsx(g, { selected: f, onSelectToggle: (e) => {
84
- D(e);
85
- }, preventFocus: !0, label: "Toggle Replace", icon: i.jsx(m, { iconKey: "FindReplaceToggle" }), shortcut: { key: f ? "F" : "H", modifiers: [y.Ctrl] } })] }), i.jsxs(O, { sx: { display: "flex", flexDirection: "column", maxWidth: "100%", boxSizing: "border-box" }, children: [i.jsxs(O, { sx: { display: "flex", flexDirection: "row", alignItems: "center" }, children: [i.jsx(Y, { label: "Find", slotProps: { input: { sx: { paddingRight: (e) => e.spacing(1), minWidth: X > 460 ? "20em" : void 0, backgroundImage: `linear-gradient(${b("#fff", v(5))}, ${b("#fff", v(5))})` }, endAdornment: i.jsx(pe, { position: "end", children: i.jsxs(O, { sx: { display: "flex", alignItems: "center", flexDirection: "row", gap: "2px" }, children: [i.jsx(g, { style: B, selected: s.findOptions.matchCase, onBlur: () => {
86
- console.log("blur");
87
- }, onSelectToggle: (e) => {
88
- a((n) => {
89
- const t = { ...n };
90
- return t.findOptions.matchCase = e, t;
91
- });
92
- }, label: "Match Case", shortcut: { key: "C", modifiers: [y.Alt] }, icon: i.jsx(m, { iconKey: "FindCaseSensitive", size: "1rem" }) }), i.jsx(g, { style: B, selected: s.findOptions.matchEntireCell, onSelectToggle: (e) => {
93
- a((n) => {
94
- const t = { ...n };
95
- return t.findOptions.matchEntireCell = e, t;
96
- });
97
- }, label: "Match Entire Cell", shortcut: { key: "E", modifiers: [y.Alt] }, icon: i.jsx(m, { iconKey: "FindWholeWord", size: "1rem" }) }), i.jsx(g, { style: B, selected: s.findOptions.useRegex, onSelectToggle: (e) => {
98
- a((n) => {
99
- const t = { ...n };
100
- return t.findOptions.useRegex = e, t;
101
- });
102
- }, label: "Use Regular Expression", shortcut: { key: "R", modifiers: [y.Alt] }, icon: i.jsx(m, { iconKey: "FindRegEx", size: "1rem" }) })] }) }) }, inputLabel: { shrink: !0 }, htmlInput: { draggable: !1, ref: r, className: "input", autoFocus: !0, 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), "& .MuiOutlinedInput-notchedOutline": { borderColor: (e) => H ? `${e.palette.error.main} !important` : void 0 }, "& .MuiInputLabel-outlined": { color: (e) => H ? `${e.palette.error.main} !important` : void 0 } }, value: s.findOptions.text ?? "", onChange: (e) => {
103
- a((n) => {
104
- const t = { ...n };
105
- return t.findOptions.text = e.target.value, t;
106
- });
107
- }, onKeyDown: (e) => G(e, !1), onContextMenu: (e) => {
108
- e.stopPropagation();
109
- } }), i.jsx(g, { selected: s.findOptions.reverse, onSelectToggle: (e) => {
110
- S(!1, !1);
111
- }, touchRippleRef: W, label: "", shortcut: { key: "Enter", modifiers: [y.Shift] }, icon: i.jsx(m, { iconKey: s.findOptions.orientation !== R.Orientation.Column ? "ArrowBack" : "ArrowUpward" }), disabled: !s.findOptions.text }), i.jsx(g, { selected: !s.findOptions.reverse, onSelectToggle: (e) => {
112
- S(!0, !1);
113
- }, touchRippleRef: $, label: "Next Match", shortcut: { key: "Enter" }, icon: i.jsx(m, { iconKey: s.findOptions.orientation !== R.Orientation.Column ? "ArrowForward" : "ArrowDownward" }), disabled: !s.findOptions.text })] }), i.jsx(Z, { in: f, timeout: _, onExit: () => {
114
- r.current?.focus();
115
- }, children: i.jsxs(O, { sx: { display: "flex", flexDirection: "row", alignItems: "center", marginTop: (e) => e.spacing(2) }, children: [i.jsx(Y, { label: "Replace", slotProps: { input: { sx: { paddingRight: (e) => e.spacing(1), backgroundImage: `linear-gradient(${b("#fff", v(5))}, ${b("#fff", v(5))})` } }, inputLabel: { shrink: !0 }, htmlInput: { 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: s.replaceText ?? "", onChange: (e) => {
116
- a((n) => {
117
- const t = { ...n };
118
- return t.replaceText = e.target.value, t;
119
- });
120
- }, onKeyDown: (e) => G(e, !0), onContextMenu: (e) => {
121
- e.stopPropagation();
122
- } }), i.jsx(g, { onSelectToggle: (e) => {
123
- S(!0, !0);
124
- }, touchRippleRef: L, label: "Replace", shortcut: { key: "Enter" }, icon: i.jsx(m, { iconKey: "FindReplace" }), disabled: !s.findOptions.text }), i.jsx(g, { onSelectToggle: (e) => {
125
- S(!0, !0, !0);
126
- }, touchRippleRef: z, label: "Replace All", shortcut: { key: "Enter", modifiers: [y.Ctrl, y.Alt] }, icon: i.jsx(m, { iconKey: "FindReplaceAll" }), disabled: !s.findOptions.text })] }) })] })] }), i.jsx(Z, { in: I, timeout: _, onExit: () => {
127
- r.current?.focus();
128
- }, children: i.jsxs(O, { sx: { minHeight: "10px", flex: "1 1 100%", display: "flex", flexDirection: "column", gap: (e) => e.spacing(1.5), marginTop: (e) => e.spacing(1) }, children: [i.jsx(de, { orientation: "horizontal", sx: { marginBottom: (e) => e.spacing(1.5) } }), i.jsxs(O, { sx: { display: "flex", flexDirection: X >= 383 ? "row" : "column", justifyContent: "space-evenly", alignItems: "center", gap: (e) => e.spacing(1), rowGap: (e) => e.spacing(2) }, tabIndex: -1, children: [i.jsx(M, { label: "Within", value: s.scope, options: J, onSelect: (e) => {
129
- a((n) => {
130
- const t = { ...n };
131
- return t.scope = e, t;
132
- });
133
- } }), i.jsx(M, { label: "Search", value: s.findOptions.orientation !== R.Orientation.Column, options: me, onSelect: (e) => {
134
- a((n) => {
135
- const t = { ...n };
136
- return t.findOptions.orientation = e ? R.Orientation.Row : R.Orientation.Column, t;
137
- });
138
- } }), i.jsx(M, { label: "Look in", value: f && s.findOptions.fields?.[0] === p.Content.Values ? p.Content.Formulas : s.findOptions.fields?.[0], options: f ? te : ne, onSelect: (e) => {
139
- a((n) => {
140
- const t = { ...n };
141
- return t.findOptions.fields = [e], t;
142
- });
143
- } })] })] }) })] }) });
144
- });
145
- export {
146
- Oe as FindReplaceWindow,
147
- J as ScopeOptions,
148
- Oe as default
149
- };
@@ -1,41 +0,0 @@
1
- import { r as n, A as p, j as r, O as b, B as k, $ as B, _ as I } from "./dyaQatTfQy8_i9f1.mjs";
2
- /**
3
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.11
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 A = ["Ok", "Cancel"], M = n.memo((V) => {
9
- const { value: a = null, context: t, onOption: c, onValidateOption: E, onDone: g, onUpdate: m, options: x = A, defaultOption: f = x?.[0], cancelOption: N = "Cancel", sx: C, ...h } = V, y = n.useMemo(() => t?.getNames().findValidName("Range1"), []), d = n.useMemo(() => {
10
- if (!a) return !0;
11
- }, []), [l, R] = n.useState({ displayText: a?.getName() ?? y, errorText: null }), [s, v] = n.useState({ displayValue: a?.getRanges() ?? t?.selection() ?? null, errorText: null }), [T, O] = n.useState(!1), j = n.useCallback(async (e) => !l.errorText && !s.errorText, [t]), w = p((e, o, u) => {
12
- if (!o) {
13
- let i = null;
14
- d ? i = t?.getNames().addReference(l?.displayText, s?.displayValue, !1) : (a.getType() === "reference" && a.doBatch(() => {
15
- a.setName(l?.displayText), a.setReference(s?.displayValue);
16
- }, `Edit Named '${l?.displayText}'`), i = a), i && (i.select(), m(i, d));
17
- }
18
- c?.(e, o, u), g?.();
19
- }, [t, l, s, g, c, f, N, m]), D = p((e) => {
20
- let o = null;
21
- try {
22
- t?.getNames().validateName(e);
23
- } catch (u) {
24
- o = u.message;
25
- }
26
- R({ displayText: e, errorText: o });
27
- }, []), F = p((e) => {
28
- a && a.getName().toLowerCase() === e.toLowerCase() || t?.getNames().validateName(e);
29
- }, [t, a]), S = n.useCallback((e) => {
30
- v({ displayValue: e ?? null, errorText: null });
31
- }, []);
32
- return r.jsx(b, { title: (d ? "Define" : "Edit") + " Range", options: x, onOption: w, onValidateOption: j, defaultOption: f, cancelOption: N, autoFocusSel: ".autoFocus", sx: { width: "460px", ...C }, ...h, children: r.jsxs(k, { sx: { paddingTop: (e) => e.spacing(1), paddingBottom: (e) => e.spacing(0), rowGap: (e) => e.spacing(1), range: "flex", flexDirection: "column" }, children: [r.jsx(B, { formName: "name", defaultInput: y, value: l.displayText, onChangeInput: D, onValidate: F, onFocus: (e) => {
33
- T || e.target?.select(), O(!0);
34
- } }), r.jsx(I, { formName: "range", value: s.displayValue, onChangeInput: S, resolvedAddress: t.getNames().getRanges.bind(t.getNames()), onFocus: (e) => {
35
- T || e.target?.select(), O(!0);
36
- } })] }) });
37
- });
38
- export {
39
- M as NamedReferenceDialog,
40
- M as default
41
- };
@@ -1,21 +0,0 @@
1
- import { r as h, G as i, A as j, j as n, O as C, B as O, F as a, C as l, E as r } from "./dyaQatTfQy8_i9f1.mjs";
2
- /**
3
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.11
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 S = ({ range: u, options: c, cell: x, onDone: d, ...p }) => {
9
- const [t, s] = h.useState(c ?? i.DefaultRangeOptions), v = j((e) => {
10
- let o = null;
11
- e === "Sort" && (o = { ...c, options: t }), d?.(o);
12
- }, [t, d, c]);
13
- return n.jsx(C, { title: "Sort", options: ["Sort", "Cancel"], onDone: v, ...p, children: n.jsxs(O, { sx: { display: "flex", flexDirection: "column" }, children: [n.jsx(a, { control: n.jsx(l, { checked: !t.reverse, onChange: () => s((e) => ({ ...e, reverse: !e.reverse })) }), label: "Is Ascending", labelPlacement: "end" }), n.jsx(a, { control: n.jsx(l, { checked: t.hasHeader, onChange: () => s((e) => ({ ...e, hasHeader: !e.hasHeader })) }), label: "Has Header", labelPlacement: "end" }), n.jsx(a, { control: n.jsx(l, { checked: t.collatorOptions?.sensitivity === i.CaseSensitiveOptions.sensitivity, onChange: () => s((e) => ({ ...e, collatorOptions: t.collatorOptions?.sensitivity === i.CaseSensitiveOptions.sensitivity ? i.CaseInsensitiveOptions : i.CaseSensitiveOptions })) }), label: "Case Sensitive", labelPlacement: "end" }), n.jsx(a, { control: n.jsx(l, { checked: t.orientation === r.Orientation.Row, onChange: () => s((e) => {
14
- const o = e.orientation === r.Orientation.Row ? r.Orientation.Column : r.Orientation.Row;
15
- return { ...u.getDefaultSortCriteria(o, x).options, includeHidden: e.includeHidden, reverse: e.reverse, orientation: o };
16
- }) }), label: "Row Sort", labelPlacement: "end" }), n.jsx(a, { control: n.jsx(l, { checked: t.includeHidden, onChange: () => s((e) => ({ ...e, includeHidden: !e.includeHidden })) }), label: "Include Hidden", labelPlacement: "end" })] }) });
17
- };
18
- export {
19
- S as SortDialog,
20
- S as default
21
- };
@@ -1,47 +0,0 @@
1
- import { r as s, A as p, T as H, H as n, j as t, O as L, B as k, M as O, N as R, S as W, o as c, v as u, n as A, w as S, P as G } from "./dyaQatTfQy8_i9f1.mjs";
2
- /**
3
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.11
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 K = ["Ok", "Cancel"], J = s.memo((w) => {
9
- const { initialValue: F, context: f, onOption: h, onValidateOption: d, onInputOption: C, onDone: m, options: b = K, defaultOption: r = b?.[0], cancelOption: g = "Cancel", sx: P, ...D } = w, [a, v] = s.useState(F), [$, M] = s.useState(!1), x = s.useCallback(async (e, o) => !0, []), y = p(async (e) => {
10
- C?.(a, e), h?.(e, e === g, e === r), m?.();
11
- }, [a, C, m, h, g, r]), N = p(async (e) => {
12
- e.keyCode === H.Enter && await x?.(a, null) !== !1 && y(r);
13
- }, [a, y]), I = p((e) => {
14
- v(e.target.value), x?.(e.target.value, null);
15
- }, [d]), V = p(async (e) => {
16
- let o = await Promise.resolve(d?.(e));
17
- try {
18
- o !== !1 && (o = await Promise.resolve(x?.(a, e)) ?? !0);
19
- } catch {
20
- }
21
- return o ?? !0;
22
- }, [d]), [T, j] = s.useState(n.Styles.lookupStyle(a).formatType ?? n.Type.Custom);
23
- s.useEffect(() => {
24
- j(n.Styles.lookupStyle(a).formatType ?? n.Type.Custom);
25
- }, [a]);
26
- const B = s.useMemo(() => {
27
- const e = n.Styles.lookupPrimary(), o = (i) => t.jsx(G, { value: i, children: i }, i), l = Object.keys(e).map((i) => o(e[i].formatType));
28
- return l.push(o(n.Type.Custom)), l;
29
- }, []), z = s.useCallback((e) => {
30
- const o = e.target.value;
31
- j(o);
32
- const l = n.Styles.lookupDefault(o);
33
- l && v(l);
34
- }, []), E = s.useMemo(() => {
35
- const e = f();
36
- return e.createTemporaryCell({ value: e.getValue() ?? 12345, style: { numberFormat: a } });
37
- }, [T, a, f]);
38
- return t.jsx(L, { title: "Number Format", options: b, onDone: m, onOption: (e) => y(e), onValidateOption: V, defaultOption: r, cancelOption: g, autoFocusSel: ".autoFocus", sx: { width: "580px", ...P }, ...D, children: t.jsxs(k, { sx: { paddingTop: (e) => e.spacing(1), paddingBottom: (e) => e.spacing(0), rowGap: (e) => e.spacing(1), display: "flex", flexDirection: "column" }, children: [t.jsxs(O, { sx: { minWidth: 135 }, size: "small", children: [t.jsx(R, { children: "Category" }), t.jsx(W, { value: T, label: "Category", onChange: z, sx: { backgroundImage: `linear-gradient(${c("#fff", u(5))}, ${c("#fff", u(5))})` }, children: B })] }), t.jsx(O, { sx: { paddingTop: (e) => e.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: t.jsx(A, { label: "Code", onFocus: (e) => {
39
- $ || e.target?.select(), M(!0);
40
- }, sx: { "& .MuiFormHelperText-root": { marginTop: (e) => e.spacing(0.5) } }, slotProps: { inputLabel: { shrink: !0 }, htmlInput: { className: "autoFocus", spellCheck: !1, autoComplete: "off", sx: { paddingTop: (e) => e.spacing(1.25), paddingBottom: (e) => e.spacing(0.75), backgroundImage: `linear-gradient(${c("#fff", u(5))}, ${c("#fff", u(5))})` } } }, value: a, onChange: I, onKeyDown: N, onContextMenu: (e) => {
41
- e.stopPropagation();
42
- } }) }), t.jsxs(k, { children: [t.jsx(S, { variant: "caption", component: "div", sx: { paddingLeft: (e) => e.spacing(2) }, children: "Preview" }), t.jsx(S, { variant: "body2", component: "div", sx: { borderRadius: (e) => `${e.shape.borderRadius}px`, padding: (e) => e.spacing(1), border: (e) => `1px solid ${e.palette.grey[400]}` }, children: E.getNumberFormat().displayText || "(empty)" })] })] }) });
43
- });
44
- export {
45
- J as NumberFormatDialog,
46
- J as default
47
- };
@@ -1,22 +0,0 @@
1
- import { a } from "./D9188qd49uC6RCBX.js";
2
- import { r as n } from "./RLa3ezMcHnNW3QIP.js";
3
- import { Z as D, _ as N, e as S, ab as T, G as k, J as w } from "./D6PR-KOMtKuKwViW.js";
4
- /**
5
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.11
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"], I = n.memo((g) => {
11
- const { tableOptions: t, context: p, onOption: r, onValidateOption: y, onDone: c, options: d = v, defaultOption: s = d?.[0], cancelOption: l = "Cancel", sx: m, ...x } = g, [b, h] = n.useState(!1), [o, O] = n.useState(() => t?.hasHeader ?? !1), [i, f] = n.useState(() => t?.ranges ?? null), j = D((e) => {
12
- const u = { ...t, hasHeader: o, ranges: i };
13
- r?.(e, e === l, e === s), c?.({ option: e, tableOptions: u });
14
- }, [c, r, s, l, o, i, t]), C = n.useCallback(async (e, u) => null, []);
15
- return a.jsx(N, { title: "Insert Table", options: d, onDone: j, onValidateOption: C, defaultOption: s, cancelOption: l, autoFocusSel: ".range-input input", sx: { width: "360px", ...m }, ...x, children: a.jsxs(S, { sx: { paddingTop: (e) => e.spacing(1), paddingBottom: (e) => e.spacing(0), rowGap: (e) => e.spacing(1), display: "flex", flexDirection: "column" }, children: [a.jsx(T, { formName: "range", value: i, onChangeInput: (e) => f(e), resolvedAddress: p.getNames().getRanges.bind(p.getNames()), onFocus: (e) => {
16
- b || e.target?.select(), h(!0);
17
- } }), a.jsx(k, { control: a.jsx(w, { checked: o, onChange: () => O(!o) }), label: "Table has headers", labelPlacement: "end" })] }) });
18
- });
19
- export {
20
- I as TableNewDialog,
21
- I as default
22
- };
@@ -1,50 +0,0 @@
1
- import { a as l } from "./D9188qd49uC6RCBX.js";
2
- import { r as s } from "./RLa3ezMcHnNW3QIP.js";
3
- import { Z as m, _ as M, e as P, a1 as S, x as B, y as h, E as C } from "./D6PR-KOMtKuKwViW.js";
4
- /**
5
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.11
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"], H = s.memo((O) => {
11
- const { initialComments: y = null, onUpdateComments: u, context: k, onOption: d, onValidateOption: c, onDone: p, options: g = V, defaultOption: r = g?.[0], cancelOption: i = "Cancel", sx: w, ...F } = O, f = s.useMemo(() => {
12
- const t = y ?? k?.()?.getComments();
13
- let n = "";
14
- if (t && t.content && t.content.runs) {
15
- const a = t.content.runs;
16
- for (let o = 0; o < a.length; o++) {
17
- const I = a[o];
18
- n += I?.text;
19
- }
20
- }
21
- return n;
22
- }, []), [e, T] = s.useState(f), [b, j] = s.useState(!1), x = s.useCallback(async (t, n) => null, []), v = m(async (t) => {
23
- const n = e === "" ? [] : e.split(`
24
- `);
25
- if (t !== i) {
26
- const a = [];
27
- for (let o = 0; o < n.length; o++) a.push({ text: n[o] });
28
- u?.({ content: { runs: a } });
29
- }
30
- d?.(t, t === i, t === r), p?.();
31
- }, [e, u, p, d, r, i]), D = m((t) => {
32
- T(t.target.value), x(t.target.value, null);
33
- }, [c]), E = m(async (t) => {
34
- let n = await Promise.resolve(c?.(t));
35
- try {
36
- n !== !1 && (n = await x(e, t));
37
- } catch {
38
- }
39
- return n ?? !0;
40
- }, [c, e]);
41
- return l.jsx(M, { title: (f ? "Edit" : "Insert") + " Comments", options: g, onDone: p, onOption: (t) => v(t), onValidateOption: E, defaultOption: r, cancelOption: i, autoFocusSel: ".autoFocus", sx: { width: "480px", ...w }, ...F, children: l.jsx(P, { sx: { paddingTop: (t) => t.spacing(1), paddingBottom: (t) => t.spacing(0), rowGap: (t) => t.spacing(1), display: "flex", flexDirection: "column" }, children: l.jsx(S, { sx: { paddingTop: (t) => t.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: l.jsx(B, { label: "Comments", placeholder: "Enter a comment.", onFocus: (t) => {
42
- b || t.target?.select(), j(!0);
43
- }, sx: { "& .MuiFormHelperText-root": { marginTop: (t) => t.spacing(0.5) } }, slotProps: { inputLabel: { shrink: !0 }, htmlInput: { className: "autoFocus", spellCheck: !1, autoComplete: "off", sx: { paddingTop: (t) => t.spacing(1.25), paddingBottom: (t) => t.spacing(0.75), backgroundImage: `linear-gradient(${h("#fff", C(5))}, ${h("#fff", C(5))})` } } }, value: e, onChange: D, onContextMenu: (t) => {
44
- t.stopPropagation();
45
- } }) }) }) });
46
- });
47
- export {
48
- H as CommentsDialog,
49
- H as default
50
- };
@@ -1,151 +0,0 @@
1
- import { a as i } from "./D9188qd49uC6RCBX.js";
2
- import { r as s } from "./RLa3ezMcHnNW3QIP.js";
3
- import { a5 as p, w as R, Z as W, T as le, a6 as ae, r as re, v as ce, e as O, a7 as g, C as m, a8 as y, x as Q, y as b, z as pe, E as v, a9 as X, aa as de, a4 as ue, a1 as fe, a2 as xe, a3 as ge } from "./D6PR-KOMtKuKwViW.js";
4
- /**
5
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.11
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 B = { width: "1.5rem", height: "1.5rem" }, M = s.memo((k) => {
11
- const { label: h, value: c, options: l, onSelect: d, tabIndex: C = 0, ...T } = k, [E, j] = s.useState(() => ee(c, l));
12
- s.useEffect(() => {
13
- j(ee(c, l));
14
- }, [c, l]);
15
- const K = W((u) => {
16
- j(u.target.value), d?.(l[u.target.value]);
17
- }, [d, l]), a = s.useMemo(() => Object.keys(l).map((u) => i.jsx(ue, { value: u, children: u }, u)), [l]);
18
- return i.jsxs(fe, { sx: { minWidth: 135 }, size: "small", children: [i.jsx(xe, { children: h }), i.jsx(ge, { inputProps: { tabIndex: C }, value: E, label: h, onChange: K, sx: { backgroundImage: `linear-gradient(${b("#fff", v(5))}, ${b("#fff", v(5))})` }, ...T, children: a })] });
19
- }), Y = { Workbook: "workbook", Sheet: "sheet" }, _ = { enter: 140, exit: 140 }, ne = { Formulas: p.Content.Formulas, Values: p.Content.Values, Notes: p.Content.Notes, Comments: p.Content.Comments }, te = { ...ne };
20
- delete te.Values;
21
- const me = { "By Rows": !0, "By Columns": !1 }, ee = (k, h) => {
22
- const c = Object.keys(h);
23
- for (let l = 0; l < c.length; l++) {
24
- const d = c[l];
25
- if (h[d] === k) return d;
26
- }
27
- }, Ce = s.memo((k) => {
28
- const { replace: h = !1, findText: c, replaceText: l, findOptions: d, replaceOptions: C, title: T, onHide: E, onFindOrReplace: j, ...K } = k, a = s.useRef(null), u = s.useRef(null), $ = s.useRef(null), z = s.useRef(null), L = s.useRef(null), P = s.useRef(null), V = (e, n) => {
29
- n && (n.start(e, { center: !1 }), setTimeout(() => n.stop(e), 180));
30
- }, [N, F] = s.useState(!1), [I, ie] = s.useState(!1), [f, D] = s.useState(h), [H, A] = s.useState(!1), [U, G] = s.useState(!1), [o, r] = s.useState({ replaceText: null, replace: h, replaceOptions: {}, findOptions: { text: null, matchCase: !1, matchEntireCell: !1, useRegex: !1, orientation: R.Orientation.Row, fields: [p.Content.Formulas] }, scope: Y.Sheet }), S = W(async (e, n, t, w) => {
31
- if (!j) return;
32
- const x = { ...o };
33
- x.replaceOptions = { ...x.replaceOptions }, x.findOptions = { ...x.findOptions }, x.replaceOptions.maxCount = t ? void 0 : 1, x.replace = n, n && o.findOptions.fields?.[0] === p.Content.Values && (x.findOptions.fields = [p.Content.Formulas]), x.findOptions.reverse = !e;
34
- const se = await j({ autoFocus: w, ...x });
35
- A(se === 0);
36
- }, [o, j]);
37
- s.useEffect(() => {
38
- A(!1);
39
- }, [o, I, f]);
40
- const Z = W((e, n) => {
41
- if (e.keyCode === le.Enter) {
42
- if (!o.findOptions.text) return;
43
- let t = !0, w = !1;
44
- e.shiftKey && (t = !1), n ? (e.ctrlKey && e.altKey && (w = !0), V(e, w ? P.current : L.current)) : V(e, t ? z.current : $.current), S(t, n, w, !1);
45
- }
46
- }, [o]), q = s.useRef(null);
47
- s.useLayoutEffect(() => {
48
- r((e) => {
49
- const n = { ...e };
50
- n.findOptions.text = c && c.length > 0 ? c : e.findOptions.text ?? "", F(!0), l !== void 0 && (n.replaceText = l), d && (n.findOptions = { ...n.findOptions, ...d }), n.replaceText || (n.replaceText = ""), n.replaceOptions && (n.replaceOptions = { ...n.replaceOptions }), C && (n.replaceOptions = { ...n.replaceOptions, ...C }), o.findOptions.fields?.[0] || (o.findOptions.fields = [p.Content.Formulas]);
51
- const t = !(!C && l === void 0);
52
- return t && D(t), n;
53
- }), U || q.current?.focus();
54
- }, [c, l, d, C]), s.useEffect(() => {
55
- f ? (o.findOptions.fields[0], p.Content.Values) : F(!0);
56
- }, [f]), s.useEffect(() => {
57
- if (N && a.current && o.findOptions.text === a.current.value) return a.current === document.activeElement || a.current.contains(document.activeElement) ? (a.current?.select(), void F(!1)) : void a.current.addEventListener("focus", () => {
58
- a.current?.select(), F(!1);
59
- }, { once: !0 });
60
- }, [N, o]);
61
- const [oe, { width: J }] = ae();
62
- return i.jsx(re, { ref: q, title: T ?? (f ? "Find & Replace" : "Find"), initialPosition: { y: "35" }, autoFocusSel: ".input", onHide: E, onFocus: () => G(!0), onBlur: () => {
63
- G(!1), A(!1);
64
- }, slotProps: { paper: { elevation: U ? 3 : 1 } }, ...K, children: i.jsxs(ce, { dividers: !0, ref: oe, 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) D(!0), a.current?.contains(document.activeElement) && u.current?.focus();
66
- else if (e.key === "f" && e.ctrlKey) a.current?.focus();
67
- else if (e.key === "c" && e.altKey) r((n) => {
68
- const t = { ...n };
69
- return t.findOptions.matchCase = !n.findOptions.matchCase, t;
70
- });
71
- else if (e.key === "e" && e.altKey) r((n) => {
72
- const t = { ...n };
73
- return t.findOptions.matchEntireCell = !n.findOptions.matchEntireCell, t;
74
- });
75
- else {
76
- if (e.key !== "r" || !e.altKey) return;
77
- r((n) => {
78
- const t = { ...n };
79
- return t.findOptions.useRegex = !n.findOptions.useRegex, t;
80
- });
81
- }
82
- e.preventDefault();
83
- }, children: [i.jsxs(O, { sx: { display: "flex", flexDirection: "row", gap: (e) => e.spacing(1) }, children: [i.jsxs(O, { sx: { display: "flex", flexDirection: "row", alignItems: "start", gap: (e) => e.spacing(0.25), paddingTop: "3px" }, children: [i.jsx(g, { selected: I, onSelectToggle: (e) => {
84
- ie(e);
85
- }, preventFocus: !0, label: "Toggle Additional Options", icon: i.jsx(m, { iconKey: "FindOptions" }) }), i.jsx(g, { selected: f, onSelectToggle: (e) => {
86
- D(e);
87
- }, preventFocus: !0, label: "Toggle Replace", icon: i.jsx(m, { iconKey: "FindReplaceToggle" }), shortcut: { key: f ? "F" : "H", modifiers: [y.Ctrl] } })] }), i.jsxs(O, { sx: { display: "flex", flexDirection: "column", maxWidth: "100%", boxSizing: "border-box" }, children: [i.jsxs(O, { sx: { display: "flex", flexDirection: "row", alignItems: "center" }, children: [i.jsx(Q, { label: "Find", slotProps: { input: { sx: { paddingRight: (e) => e.spacing(1), minWidth: J > 460 ? "20em" : void 0, backgroundImage: `linear-gradient(${b("#fff", v(5))}, ${b("#fff", v(5))})` }, endAdornment: i.jsx(pe, { position: "end", children: i.jsxs(O, { sx: { display: "flex", alignItems: "center", flexDirection: "row", gap: "2px" }, children: [i.jsx(g, { style: B, selected: o.findOptions.matchCase, onBlur: () => {
88
- console.log("blur");
89
- }, onSelectToggle: (e) => {
90
- r((n) => {
91
- const t = { ...n };
92
- return t.findOptions.matchCase = e, t;
93
- });
94
- }, label: "Match Case", shortcut: { key: "C", modifiers: [y.Alt] }, icon: i.jsx(m, { iconKey: "FindCaseSensitive", size: "1rem" }) }), i.jsx(g, { style: B, selected: o.findOptions.matchEntireCell, onSelectToggle: (e) => {
95
- r((n) => {
96
- const t = { ...n };
97
- return t.findOptions.matchEntireCell = e, t;
98
- });
99
- }, label: "Match Entire Cell", shortcut: { key: "E", modifiers: [y.Alt] }, icon: i.jsx(m, { iconKey: "FindWholeWord", size: "1rem" }) }), i.jsx(g, { style: B, selected: o.findOptions.useRegex, onSelectToggle: (e) => {
100
- r((n) => {
101
- const t = { ...n };
102
- return t.findOptions.useRegex = e, t;
103
- });
104
- }, label: "Use Regular Expression", shortcut: { key: "R", modifiers: [y.Alt] }, icon: i.jsx(m, { iconKey: "FindRegEx", size: "1rem" }) })] }) }) }, inputLabel: { shrink: !0 }, htmlInput: { 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) } } }, sx: { flex: "1 1 100%", marginRight: (e) => e.spacing(1), "& .MuiOutlinedInput-notchedOutline": { borderColor: (e) => H ? `${e.palette.error.main} !important` : void 0 }, "& .MuiInputLabel-outlined": { color: (e) => H ? `${e.palette.error.main} !important` : void 0 } }, value: o.findOptions.text ?? "", onChange: (e) => {
105
- r((n) => {
106
- const t = { ...n };
107
- return t.findOptions.text = e.target.value, t;
108
- });
109
- }, onKeyDown: (e) => Z(e, !1), onContextMenu: (e) => {
110
- e.stopPropagation();
111
- } }), i.jsx(g, { selected: o.findOptions.reverse, onSelectToggle: (e) => {
112
- S(!1, !1);
113
- }, touchRippleRef: $, label: "", shortcut: { key: "Enter", modifiers: [y.Shift] }, icon: i.jsx(m, { iconKey: o.findOptions.orientation !== R.Orientation.Column ? "ArrowBack" : "ArrowUpward" }), disabled: !o.findOptions.text }), i.jsx(g, { selected: !o.findOptions.reverse, onSelectToggle: (e) => {
114
- S(!0, !1);
115
- }, touchRippleRef: z, label: "Next Match", shortcut: { key: "Enter" }, icon: i.jsx(m, { iconKey: o.findOptions.orientation !== R.Orientation.Column ? "ArrowForward" : "ArrowDownward" }), disabled: !o.findOptions.text })] }), i.jsx(X, { in: f, timeout: _, onExit: () => {
116
- a.current?.focus();
117
- }, children: i.jsxs(O, { sx: { display: "flex", flexDirection: "row", alignItems: "center", marginTop: (e) => e.spacing(2) }, children: [i.jsx(Q, { label: "Replace", slotProps: { input: { sx: { paddingRight: (e) => e.spacing(1), backgroundImage: `linear-gradient(${b("#fff", v(5))}, ${b("#fff", v(5))})` } }, inputLabel: { shrink: !0 }, htmlInput: { ref: u, className: "input", spellCheck: !1, autoComplete: "off", sx: { paddingTop: (e) => e.spacing(1.25), paddingBottom: (e) => e.spacing(0.75) } } }, sx: { flex: "1 1 100%", marginRight: (e) => e.spacing(1) }, value: o.replaceText ?? "", onChange: (e) => {
118
- r((n) => {
119
- const t = { ...n };
120
- return t.replaceText = e.target.value, t;
121
- });
122
- }, onKeyDown: (e) => Z(e, !0), onContextMenu: (e) => {
123
- e.stopPropagation();
124
- } }), i.jsx(g, { onSelectToggle: (e) => {
125
- S(!0, !0);
126
- }, touchRippleRef: L, label: "Replace", shortcut: { key: "Enter" }, icon: i.jsx(m, { iconKey: "FindReplace" }), disabled: !o.findOptions.text }), i.jsx(g, { onSelectToggle: (e) => {
127
- S(!0, !0, !0);
128
- }, touchRippleRef: P, label: "Replace All", shortcut: { key: "Enter", modifiers: [y.Ctrl, y.Alt] }, icon: i.jsx(m, { iconKey: "FindReplaceAll" }), disabled: !o.findOptions.text })] }) })] })] }), i.jsx(X, { in: I, timeout: _, onExit: () => {
129
- a.current?.focus();
130
- }, children: i.jsxs(O, { sx: { minHeight: "10px", flex: "1 1 100%", display: "flex", flexDirection: "column", gap: (e) => e.spacing(1.5), marginTop: (e) => e.spacing(1) }, children: [i.jsx(de, { orientation: "horizontal", sx: { marginBottom: (e) => e.spacing(1.5) } }), i.jsxs(O, { sx: { display: "flex", flexDirection: J >= 383 ? "row" : "column", justifyContent: "space-evenly", alignItems: "center", gap: (e) => e.spacing(1), rowGap: (e) => e.spacing(2) }, tabIndex: -1, children: [i.jsx(M, { label: "Within", value: o.scope, options: Y, onSelect: (e) => {
131
- r((n) => {
132
- const t = { ...n };
133
- return t.scope = e, t;
134
- });
135
- } }), i.jsx(M, { label: "Search", value: o.findOptions.orientation !== R.Orientation.Column, options: me, onSelect: (e) => {
136
- r((n) => {
137
- const t = { ...n };
138
- return t.findOptions.orientation = e ? R.Orientation.Row : R.Orientation.Column, t;
139
- });
140
- } }), i.jsx(M, { label: "Look in", value: f && o.findOptions.fields?.[0] === p.Content.Values ? p.Content.Formulas : o.findOptions.fields?.[0], options: f ? te : ne, onSelect: (e) => {
141
- r((n) => {
142
- const t = { ...n };
143
- return t.findOptions.fields = [e], t;
144
- });
145
- } })] })] }) })] }) });
146
- });
147
- export {
148
- Ce as FindReplaceWindow,
149
- Y as ScopeOptions,
150
- Ce as default
151
- };
@@ -1,49 +0,0 @@
1
- import { a as t } from "./D9188qd49uC6RCBX.js";
2
- import { r as s } from "./RLa3ezMcHnNW3QIP.js";
3
- import { Z as p, T as B, a0 as n, _ as R, e as j, a1 as O, a2 as W, a3 as G, y as c, E as u, x as H, L as S, a4 as K } from "./D6PR-KOMtKuKwViW.js";
4
- /**
5
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.11
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 Z = ["Ok", "Cancel"], J = s.memo((F) => {
11
- const { initialValue: w, context: f, onOption: h, onValidateOption: d, onInputOption: C, onDone: m, options: b = Z, defaultOption: r = b?.[0], cancelOption: g = "Cancel", sx: D, ...P } = F, [a, v] = s.useState(w), [$, I] = s.useState(!1), x = s.useCallback(async (e, o) => !0, []), y = p(async (e) => {
12
- C?.(a, e), h?.(e, e === g, e === r), m?.();
13
- }, [a, C, m, h, g, r]), M = p(async (e) => {
14
- e.keyCode === B.Enter && await x?.(a, null) !== !1 && y(r);
15
- }, [a, y]), N = p((e) => {
16
- v(e.target.value), x?.(e.target.value, null);
17
- }, [d]), V = p(async (e) => {
18
- let o = await Promise.resolve(d?.(e));
19
- try {
20
- o !== !1 && (o = await Promise.resolve(x?.(a, e)) ?? !0);
21
- } catch {
22
- }
23
- return o ?? !0;
24
- }, [d]), [T, k] = s.useState(n.Styles.lookupStyle(a).formatType ?? n.Type.Custom);
25
- s.useEffect(() => {
26
- k(n.Styles.lookupStyle(a).formatType ?? n.Type.Custom);
27
- }, [a]);
28
- const E = s.useMemo(() => {
29
- const e = n.Styles.lookupPrimary(), o = (l) => t.jsx(K, { value: l, children: l }, l), i = Object.keys(e).map((l) => o(e[l].formatType));
30
- return i.push(o(n.Type.Custom)), i;
31
- }, []), L = s.useCallback((e) => {
32
- const o = e.target.value;
33
- k(o);
34
- const i = n.Styles.lookupDefault(o);
35
- i && v(i);
36
- }, []), z = s.useMemo(() => {
37
- const e = f();
38
- return e.createTemporaryCell({ value: e.getValue() ?? 12345, style: { numberFormat: a } });
39
- }, [T, a, f]);
40
- return t.jsx(R, { title: "Number Format", options: b, onDone: m, onOption: (e) => y(e), onValidateOption: V, defaultOption: r, cancelOption: g, autoFocusSel: ".autoFocus", sx: { width: "580px", ...D }, ...P, children: t.jsxs(j, { sx: { paddingTop: (e) => e.spacing(1), paddingBottom: (e) => e.spacing(0), rowGap: (e) => e.spacing(1), display: "flex", flexDirection: "column" }, children: [t.jsxs(O, { sx: { minWidth: 135 }, size: "small", children: [t.jsx(W, { children: "Category" }), t.jsx(G, { value: T, label: "Category", onChange: L, sx: { backgroundImage: `linear-gradient(${c("#fff", u(5))}, ${c("#fff", u(5))})` }, children: E })] }), t.jsx(O, { sx: { paddingTop: (e) => e.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: t.jsx(H, { label: "Code", onFocus: (e) => {
41
- $ || e.target?.select(), I(!0);
42
- }, sx: { "& .MuiFormHelperText-root": { marginTop: (e) => e.spacing(0.5) } }, slotProps: { inputLabel: { shrink: !0 }, htmlInput: { className: "autoFocus", spellCheck: !1, autoComplete: "off", sx: { paddingTop: (e) => e.spacing(1.25), paddingBottom: (e) => e.spacing(0.75), backgroundImage: `linear-gradient(${c("#fff", u(5))}, ${c("#fff", u(5))})` } } }, value: a, onChange: N, onKeyDown: M, onContextMenu: (e) => {
43
- e.stopPropagation();
44
- } }) }), t.jsxs(j, { children: [t.jsx(S, { variant: "caption", component: "div", sx: { paddingLeft: (e) => e.spacing(2) }, children: "Preview" }), t.jsx(S, { variant: "body2", component: "div", sx: { borderRadius: (e) => `${e.shape.borderRadius}px`, padding: (e) => e.spacing(1), border: (e) => `1px solid ${e.palette.grey[400]}` }, children: z.getNumberFormat().displayText || "(empty)" })] })] }) });
45
- });
46
- export {
47
- J as NumberFormatDialog,
48
- J as default
49
- };