@sheetxl/studio-mui 0.2.6 → 0.3.1

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 (193) hide show
  1. package/LICENSE.md +11 -11
  2. package/README.md +24 -24
  3. package/browser/cjs/1YEg8ptbpW_zo0_c.cjs +12 -0
  4. package/browser/cjs/{DcfFE-9fEUZBZGYb.cjs → 3mnCV1wkKu4YCs7n.cjs} +1 -1
  5. package/browser/cjs/{q-dzAmj40gPkjihq.cjs → B1CCk3o0Nv4mJ1Ff.cjs} +2 -2
  6. package/browser/cjs/{DumPMC-rnRHr8-wv.cjs → B1WSHW4lt2L5wJO3.cjs} +3 -3
  7. package/browser/cjs/{BCCAhtAp38W0aA2_.cjs → B6QgPFUbEVsL1O-L.cjs} +1 -12
  8. package/browser/cjs/B79CHYVWaVXMRmoE.cjs +6 -0
  9. package/browser/cjs/{BKJ9ra0EXRoTjhrm.cjs → BEt_uFICH24FzpOe.cjs} +2 -2
  10. package/browser/cjs/BEzNZIQy5IlW0iAl.cjs +238 -0
  11. package/browser/cjs/{A-kIxFkabK3vI1sL.cjs → BHq8j-aNWkuYkURM.cjs} +1 -1
  12. package/browser/cjs/{CcohrNf7jKsQZIFn.cjs → BKo9DTgY_3d6nE0E.cjs} +1 -1
  13. package/browser/cjs/{Bc-jz0R0rXytSMXu.cjs → BNA6r4S5nm_CzUm6.cjs} +1 -1
  14. package/browser/cjs/BNpz92-BEgkxWvh6.cjs +11 -0
  15. package/browser/cjs/{D0oKia0Q4Z-VEt4y.cjs → BQeCI5I748X8pDto.cjs} +1 -1
  16. package/browser/cjs/BR4KYl8frdYrZXhN.cjs +13 -0
  17. package/browser/cjs/{CcaZ_MaUUJtP2kPz.cjs → BSnfy-ivJTWdlK3A.cjs} +2 -2
  18. package/browser/cjs/{CjG3a4ASN8Bh9Mns.cjs → BVB95JnDB-sUQttP.cjs} +1 -1
  19. package/browser/cjs/{BTMsbaHkNYURVq3q.cjs → BbzI8ABw0DHCij-A.cjs} +1 -1
  20. package/browser/cjs/{BqTkfjWtPFreuEyX.cjs → BcQkD2UP3Iqsf8Fi.cjs} +2 -46
  21. package/browser/cjs/{DEn58fOngaOuXk87.cjs → BdV3cCQa36ZCkL4H.cjs} +1 -1
  22. package/browser/cjs/{DFCZhJ1yoWYbIHX4.cjs → Bh2zzNItZd-6FD_Z.cjs} +2 -2
  23. package/browser/cjs/{CARphvDrvgNZSvpL.cjs → By_cIz-TMire5bw7.cjs} +9 -24
  24. package/browser/cjs/C-_njVetl9K8CJri.cjs +15 -0
  25. package/browser/cjs/{Bd5PAp2WEspFHuBM.cjs → C5yXi0ZLdk8cegEV.cjs} +4 -4
  26. package/browser/cjs/{3VmRVOqC0V5eOt6T.cjs → CD9-AAL5QOuUXpGa.cjs} +2 -2
  27. package/browser/cjs/{BgchUdZIMhzjZD7g.cjs → CFyRrZrtTj0szEBJ.cjs} +20 -25
  28. package/browser/cjs/{B56-Gd1i2lJ8BRJd.cjs → CFz-gPnOVecGhXAQ.cjs} +1 -1
  29. package/browser/cjs/{BAusl_QfcY1JMqpp.cjs → CIDji1QOkywtvqEU.cjs} +1 -1
  30. package/browser/cjs/{e-DDwce0TpQ_TexX.cjs → CMZ7PzY_xBaB01Wa.cjs} +1 -1
  31. package/browser/cjs/{D5-ucaPYR4lDqsZ9.cjs → CP8909XpM31di_I4.cjs} +1 -1
  32. package/browser/cjs/CS3l6TIh0gU3sA2R.cjs +6 -0
  33. package/browser/cjs/{BPOJmxDK9_nXZLH8.cjs → Cb7Ywgxnsg32GtZC.cjs} +4 -19
  34. package/browser/cjs/{BZa96NNYHjAfkSan.cjs → CdlodVmE_U6kq13A.cjs} +2 -2
  35. package/browser/cjs/{_S68RY90vM_e1zsj.cjs → ChDhTJyaQVGQ_AAW.cjs} +2 -7
  36. package/browser/cjs/{BUjDHTRE5EkpxE-5.cjs → CoAUFW3rE-ZU04sj.cjs} +1 -1
  37. package/browser/cjs/{DqCUzFDdqqzMG3IA.cjs → CoGNjOqAsq3v4dNU.cjs} +1 -1
  38. package/browser/cjs/{Cht-fwncVGDrV-dV.cjs → CqwNicmb3Ve75UKg.cjs} +1 -1
  39. package/browser/cjs/CsjmqYMv0yUjJuEa.cjs +7 -0
  40. package/browser/cjs/{sMBUSvkfszgn5xpU.cjs → CthhJsNSsNw003nz.cjs} +1 -1
  41. package/browser/cjs/{D0tkUlc6HiUeWXHb.cjs → CtuayTMsg15Ek7N2.cjs} +1 -1
  42. package/browser/cjs/{ChbycWu8n4KJ9P_8.cjs → D0KbXmifGL9COnTn.cjs} +2 -2
  43. package/browser/cjs/{DHj1XMth0CI-rsF3.cjs → D1z2rxTd4juxWblf.cjs} +1 -1
  44. package/browser/cjs/D4zF1Hhc3mBlNNoX.cjs +6 -0
  45. package/browser/cjs/{cthkM4mww6TbaE2K.cjs → D8eS_vce5B9menV5.cjs} +2 -2
  46. package/browser/cjs/{B7qpzVnF4F9SYhxC.cjs → DVU4idIDTTz9Pu5P.cjs} +1 -1
  47. package/browser/cjs/DW9WwmeG2vVMGbYU.cjs +15 -0
  48. package/browser/cjs/{CmtIrxDwWvlPHJUs.cjs → DrJyN_0T5kyWuuIh.cjs} +1 -1
  49. package/browser/cjs/{CtfhnekVduodhLIA.cjs → DxACtr3WZnBFuXpu.cjs} +2 -2
  50. package/browser/cjs/{PY2QyFSYSg7sBTA7.cjs → K4bhbGLflu3pYFHS.cjs} +3 -8
  51. package/browser/cjs/{BjCKeHVvA1xjpUzr.cjs → PdwwTxM_DHCgQrxv.cjs} +2 -2
  52. package/browser/cjs/Q-_8LHrKWcpj3r7F.cjs +6 -0
  53. package/browser/cjs/{DbMXeK1wVS3pxKYM.cjs → RrCz-1Q4Q9suB7j_.cjs} +1 -1
  54. package/browser/cjs/index.cjs +3 -3
  55. package/browser/cjs/{CghPaqu-wj2wQhzE.cjs → kB-8OyiedI6iKdlv.cjs} +1 -1
  56. package/browser/cjs/{cACgBWYD93-PUTiy.cjs → nKP8-E-UOOscXlg2.cjs} +1 -1
  57. package/browser/cjs/{Coa67FdOXG2DCroa.cjs → nMYwRU0M-HXpWQ6C.cjs} +1 -1
  58. package/browser/cjs/q0y6NDefblRQrS_O.cjs +6 -0
  59. package/browser/cjs/{DrMsDMUSrXxdqj0B.cjs → qvN5BhYwdxsmB52p.cjs} +1 -1
  60. package/browser/cjs/{6FbSQA1Rt7lJ6lKo.cjs → tavAzhljteQQ_ct2.cjs} +1 -1
  61. package/browser/esm/{CyjmSNFuJLe4C6GU.mjs → 0lX_9VGN9S6inxKd.mjs} +1 -13
  62. package/browser/esm/{Bpxy50wvXdJKyLXv.mjs → 18HMxDJcGi3erlU-.mjs} +28 -28
  63. package/browser/esm/{RQov8ayqdzOoQpX-.mjs → AZqmGzpPMrJbgV2W.mjs} +1 -7
  64. package/browser/esm/{ClSRwCaGmF-ZAeHf.mjs → B3EG6jjfR2LEnrAU.mjs} +2 -8
  65. package/{node/esm/BpyV-yDD7Q1yf4Xl.mjs → browser/esm/B64E2zQmL6hLVfZj.mjs} +1 -7
  66. package/browser/esm/{C-YZuTBEk1H4qRZw.mjs → B6ELdf71jSY39vY1.mjs} +1 -1
  67. package/browser/esm/{nvGwSrvzuLol9r3q.mjs → B7scZi_VczEUXidh.mjs} +1 -7
  68. package/browser/esm/{s5RrSnHWfpUhw_f7.mjs → BDch4FvLXEr0f6ZQ.mjs} +2 -2
  69. package/browser/esm/{B8fcDd71qlYgsjQE.mjs → BGEuFRd7CprH18Ux.mjs} +1 -7
  70. package/browser/esm/{DKaf3tT7wwZpsjGx.mjs → BHTWupqElPJQagv4.mjs} +1 -7
  71. package/{node/esm/CKDzJBremVM6A2BK.mjs → browser/esm/BOL63BcaR86vXxt8.mjs} +1 -7
  72. package/browser/esm/{BA3viQkVygVJk5u3.mjs → BPZsd5vtzGJ4PtJr.mjs} +4 -22
  73. package/browser/esm/{CopRY0jQqxFp_FgA.mjs → B_eHwwd9-PXWYLMA.mjs} +1 -7
  74. package/browser/esm/{9I55e62spuTYG4ZW.mjs → BbloSfJTNz8-g7pa.mjs} +4 -4
  75. package/browser/esm/{CJfLrSecdinnFnTp.mjs → BhfMnNKVTfBV03lK.mjs} +3 -9
  76. package/browser/esm/{BQOI_VqILP8DPGHW.mjs → BkY6jPvgDNSHVjm1.mjs} +6 -6
  77. package/browser/esm/{BLvCbBnh1u-PCvQU.mjs → BmOgysv2Oa-vQXE0.mjs} +2 -2
  78. package/browser/esm/{C48RP2m6OEU-0HbW.mjs → BpTfL8wDDLWCFbUW.mjs} +1 -7
  79. package/browser/esm/{Dl5vdu8CswaKdxX-.mjs → Bsirmjdfj8W9sVx5.mjs} +2 -2
  80. package/browser/esm/{CULFfZBvgvDiBJdO.mjs → BslEgsLB-o1nc3NJ.mjs} +1 -7
  81. package/browser/esm/{BQXesHmVIi0Ciqyk.mjs → BvJx_QZ4eKWrufFK.mjs} +9167 -9247
  82. package/{node/esm/DKGH-lIiU-RC6Fhl.mjs → browser/esm/Bwbk5CiNsPh4oG-e.mjs} +1 -7
  83. package/browser/esm/{BOv89COIpbKdAknV.mjs → C-I7rCun0hGkuQ6J.mjs} +1 -7
  84. package/{node/esm/BC7Dh7hbqqpNE_R_.mjs → browser/esm/CF7ede_gzDlyTqfP.mjs} +1 -7
  85. package/browser/esm/{BbpexLwHskV3-WlQ.mjs → CXVZIbnDZdhdPDsS.mjs} +2 -2
  86. package/browser/esm/{kIL1Gxa0JjHFYofa.mjs → CcSG0PBy9Xc99VMv.mjs} +1 -7
  87. package/browser/esm/{2JTr5xr3HqzaYVss.mjs → CcSdpe6QFrIBEfxa.mjs} +1 -7
  88. package/browser/esm/{Byu18onYK7Tci1M0.mjs → CdCJMJxXOSz6lxOy.mjs} +1 -7
  89. package/browser/esm/CjHkOkuQRYMpUxe5.mjs +21 -0
  90. package/browser/esm/{BpLnvCI8Rec_NRFL.mjs → Cldrd9EWLvrv7OmM.mjs} +3 -21
  91. package/{node/esm/Dt1cY4iiw-zMuj1J.mjs → browser/esm/CnEgkW6Z3qXNMA3o.mjs} +1 -7
  92. package/browser/esm/{lzzOY1Hvt3MEkWR9.mjs → DKyHs94FV1bG9frs.mjs} +1 -7
  93. package/browser/esm/{BOhnmZGY65-Wuhpv.mjs → DSy9HoHQkEeO33eC.mjs} +1 -7
  94. package/browser/esm/{DOO9dsv93EJCLjyA.mjs → DTuQMORnquJOYPd_.mjs} +2 -2
  95. package/browser/esm/DYfYa5shdr1OHSo9.mjs +24 -0
  96. package/browser/esm/{D6QupBl_xr9yYAwS.mjs → DbaMa7xh1JERqjfu.mjs} +1 -7
  97. package/{node/esm/By92Bb_J4Ytgmbzs.mjs → browser/esm/DdvoohT27nSi_3cd.mjs} +1 -7
  98. package/browser/esm/{CLJx7XpjMSv3Fb8S.mjs → DfomV5Es6zAn4RZi.mjs} +96 -102
  99. package/browser/esm/{D7QRtksLLOBLdAO0.mjs → Dr9yLItWEDzTQl2s.mjs} +2 -2
  100. package/{node/esm/Ccm70JSlV0fhlDB3.mjs → browser/esm/DskzH7zTkxNR4kmu.mjs} +1 -7
  101. package/browser/esm/{BzNcfQCKkfMt8dWK.mjs → DyJFrpwrf2hOoMB8.mjs} +1 -7
  102. package/browser/esm/{mcUlQGlsbPzzuiho.mjs → E57nRNXAFyQlfQcA.mjs} +4 -10
  103. package/browser/esm/{Cl7QJRrhftlzkhqs.mjs → LyNZuqChCFhEwsot.mjs} +1 -7
  104. package/browser/esm/{BDrcicchSYx4eM0s.mjs → OA194vapZVgAyYfI.mjs} +1 -7
  105. package/browser/esm/{BBRYZwY3yNfYBw4S.mjs → OAJjLDFVSai0yCAH.mjs} +2 -14
  106. package/browser/esm/{BRQ0QBfS9LsSiOyz.mjs → YWavBpnhyEFk5GMG.mjs} +8 -25
  107. package/browser/esm/{fs-asavS_s3NTcba.mjs → aApOir3D3mXBHnvi.mjs} +12 -10
  108. package/browser/esm/{Cd_u7MoOV_ZyXJzX.mjs → bKlq3J1NJoYG9nEK.mjs} +7 -71
  109. package/browser/esm/{DL6wIGG4hYcCtEEM.mjs → i5M3BzX6_TbbFlH5.mjs} +1 -9
  110. package/browser/esm/index.mjs +10 -10
  111. package/browser/esm/{EtvIZwUdXJxvXl1f.mjs → j8ncnjiLyFIkRpRY.mjs} +37 -57
  112. package/browser/esm/{DmlZKqVxIPtD63ni.mjs → oISMsYlGCPZ7-0lX.mjs} +2 -8
  113. package/browser/esm/{Cy03aAlPY6mm61hO.mjs → oPlD2dUf3YmsFkON.mjs} +2 -14
  114. package/browser/esm/{T3P52FxGXCNTD0Ta.mjs → orOLzbRzqosIA5-M.mjs} +1 -7
  115. package/browser/esm/{BMTrlbulVxBjrzie.mjs → sBOX_jXfdNOE_89x.mjs} +134 -134
  116. package/{node/esm/Cb3vZp2l3WvXVMoL.mjs → browser/esm/siOdsSC0nSzvcV6e.mjs} +1 -7
  117. package/browser/esm/{DMXzIgGwC69G4F64.mjs → v7U7eI9QzTNkm3Bw.mjs} +2 -2
  118. package/browser/esm/{008089VkqY1UzPRf.mjs → xLRSe1qHuVdyTRam.mjs} +1 -14
  119. package/licenses/dependencies.txt +77 -77
  120. package/node/assets/style.css +1 -1
  121. package/node/esm/{DnwH6EIA8MEba58K.mjs → 2LRTxgV_lBAeZ-P_.mjs} +3 -9
  122. package/node/esm/{RQov8ayqdzOoQpX-.mjs → AZqmGzpPMrJbgV2W.mjs} +1 -7
  123. package/node/esm/{BE7hdyaid4Bw3ui4.mjs → B200JUCQCqtoXtze.mjs} +11 -29
  124. package/node/esm/{Inau3Pc873w_RGko.mjs → B4FapexYISkwv2PP.mjs} +1 -7
  125. package/{browser/esm/BpyV-yDD7Q1yf4Xl.mjs → node/esm/B64E2zQmL6hLVfZj.mjs} +1 -7
  126. package/node/esm/{C4lYM3UlxwrQKADA.mjs → B6wRJIobYG51nE8k.mjs} +1 -1
  127. package/node/esm/{BRrMn7hPXzif2G6O.mjs → BD9x8fkvhcvJ7xjU.mjs} +1 -8
  128. package/node/esm/{B8fcDd71qlYgsjQE.mjs → BGEuFRd7CprH18Ux.mjs} +1 -7
  129. package/node/esm/{DcVSy-k9TDLo0gol.mjs → BI5BlWbeESiI0CbN.mjs} +4 -10
  130. package/node/esm/{D61p-3Q8B1RX5mQr.mjs → BLdoPiUZ3PSw_Jx4.mjs} +2 -2
  131. package/{browser/esm/CKDzJBremVM6A2BK.mjs → node/esm/BOL63BcaR86vXxt8.mjs} +1 -7
  132. package/node/esm/{CrOzSKDJNW87Aq_H.mjs → BV8QMkxYffe5YuKF.mjs} +8 -8
  133. package/node/esm/{DAAzlKHi7HFpUsB_.mjs → BXtDB7WZJlFEKr8M.mjs} +1 -3
  134. package/node/esm/{SSc-k3S20cX9Eb-W.mjs → BkyuOVy2KETQMFCO.mjs} +1 -7
  135. package/node/esm/{C48RP2m6OEU-0HbW.mjs → BpTfL8wDDLWCFbUW.mjs} +1 -7
  136. package/node/esm/{D7xOVobPr2VJF5P_.mjs → BqgsCpsX8xl4a-gQ.mjs} +1 -7
  137. package/node/esm/{CgkvDf6SYHSFyDWa.mjs → Bqi23kQTBoGLm5F8.mjs} +7 -71
  138. package/{browser/esm/DKGH-lIiU-RC6Fhl.mjs → node/esm/Bwbk5CiNsPh4oG-e.mjs} +1 -7
  139. package/node/esm/{izxVY7wx0Kslljlx.mjs → Bzn7iPRWVFns38as.mjs} +1 -7
  140. package/node/esm/{BA6PG-5hzYtPR40k.mjs → C5AyRET8yEW8AHCx.mjs} +6 -26
  141. package/{browser/esm/BC7Dh7hbqqpNE_R_.mjs → node/esm/CF7ede_gzDlyTqfP.mjs} +1 -7
  142. package/node/esm/{Dw5FxHNESE8YKV64.mjs → CHa8zqxxqN37UAbT.mjs} +1 -7
  143. package/node/esm/{DngX8PCQe42AuyJC.mjs → CJZtnupg7aYCcfKR.mjs} +2 -2
  144. package/node/esm/CaTPeRd3yej1D44o.mjs +80 -0
  145. package/node/esm/{kIL1Gxa0JjHFYofa.mjs → CcSG0PBy9Xc99VMv.mjs} +1 -7
  146. package/node/esm/{2JTr5xr3HqzaYVss.mjs → CcSdpe6QFrIBEfxa.mjs} +1 -7
  147. package/{browser/esm/Dt1cY4iiw-zMuj1J.mjs → node/esm/CnEgkW6Z3qXNMA3o.mjs} +1 -7
  148. package/node/esm/{DlXOFRa93fhpjG-m.mjs → CsyP8mzSIyH_j_gx.mjs} +2 -14
  149. package/node/esm/CtwI3UxESNeLVKz4.mjs +14 -0
  150. package/node/esm/{6dnP0LDTVUbsEi8D.mjs → Cz3i5M3BNm_sU7VM.mjs} +1 -7
  151. package/node/esm/D0I-t4XarGx9tL2X.mjs +16 -0
  152. package/node/esm/{CLly5-f4m1j1zudv.mjs → D9FIPE6c82obo0bd.mjs} +1 -7
  153. package/node/esm/{Ykc4N6XMztkXC03p.mjs → DCnTdfW-zrlDozHu.mjs} +1 -1
  154. package/node/esm/{BBWJER8qZpvaPjl8.mjs → DDMv9FFsdYN-wjV1.mjs} +4 -22
  155. package/node/esm/{OnXbuckULN_uTYk_.mjs → DMYhiPgHOvCK0e6G.mjs} +1 -7
  156. package/node/esm/{21rqbpsAfJiOpkQ2.mjs → DSRKBM2nh9iYul8L.mjs} +1 -7
  157. package/node/esm/{BOhnmZGY65-Wuhpv.mjs → DSy9HoHQkEeO33eC.mjs} +1 -7
  158. package/node/esm/{B8bp6LG5l5P3vr6v.mjs → DToXdyBIJDYd1rr4.mjs} +38 -38
  159. package/{browser/esm/By92Bb_J4Ytgmbzs.mjs → node/esm/DdvoohT27nSi_3cd.mjs} +1 -7
  160. package/node/esm/{Bx4S7lVflo23fezQ.mjs → Dht5yjzp4Y9-leiH.mjs} +5 -5
  161. package/node/esm/{DJg3-jma4liVkIke.mjs → DqyrRbgk1-rYiye4.mjs} +12 -10
  162. package/{browser/esm/Ccm70JSlV0fhlDB3.mjs → node/esm/DskzH7zTkxNR4kmu.mjs} +1 -7
  163. package/node/esm/{dszswUwDk6xiVPKQ.mjs → IoNOHrmO_TsKnDiU.mjs} +13 -13
  164. package/node/esm/{D9W7LRX78B_wOf4G.mjs → KDwQLyg7m49Cqgq7.mjs} +1 -1
  165. package/node/esm/{Cl7QJRrhftlzkhqs.mjs → LyNZuqChCFhEwsot.mjs} +1 -7
  166. package/node/esm/{Do9djLsMipyoIsuo.mjs → MIFyb4jWS5pgkDzZ.mjs} +1 -7
  167. package/node/esm/{B089fKTCoJ4ltdgf.mjs → Q7QGn0xIiDXbz-EN.mjs} +1 -1
  168. package/node/esm/{DcQaGzeq19KwMhC6.mjs → Roo316g8NJiFWbdh.mjs} +2 -8
  169. package/node/esm/{DODDu6rlCzLntY1I.mjs → W7ETXZ0lNEjio8UF.mjs} +1 -1
  170. package/node/esm/{FSY5o2jwUa-lbt-6.mjs → a5F0VHG5l1_KNuMk.mjs} +2 -2
  171. package/node/esm/{D5mzoVB3O_KSA1oK.mjs → egkfJ6xKy_CP5Yv6.mjs} +2 -2
  172. package/node/esm/index.mjs +20168 -20203
  173. package/node/esm/{gonzEGWDV9bvHTN6.mjs → j5PgCeWLt7VlfOPK.mjs} +7 -7
  174. package/node/esm/{T3P52FxGXCNTD0Ta.mjs → orOLzbRzqosIA5-M.mjs} +1 -7
  175. package/{browser/esm/Cb3vZp2l3WvXVMoL.mjs → node/esm/siOdsSC0nSzvcV6e.mjs} +1 -7
  176. package/package.json +8 -8
  177. package/browser/cjs/B53yJDhFGzBrJKct.cjs +0 -28
  178. package/browser/cjs/BN2S8VBhkkrjADDL.cjs +0 -6
  179. package/browser/cjs/BiNUwPaqU7ZzDunu.cjs +0 -28
  180. package/browser/cjs/BmAmjiguOzBNHAM1.cjs +0 -16
  181. package/browser/cjs/Bqrb5qV8GvT9RYs8.cjs +0 -11
  182. package/browser/cjs/Bxz5WZLYKDxHOy8K.cjs +0 -17
  183. package/browser/cjs/CAaRveNYGc5NY2_v.cjs +0 -25
  184. package/browser/cjs/CrhLl6UDX2kwPnOI.cjs +0 -20
  185. package/browser/cjs/D4_odzIQHnpzsdH9.cjs +0 -12
  186. package/browser/cjs/DHphrv6zNxEz8u2X.cjs +0 -11
  187. package/browser/cjs/DQrfhqvZNAC1CLSW.cjs +0 -314
  188. package/browser/cjs/DzP_k-VBWZZZZ0jz.cjs +0 -16
  189. package/browser/esm/B66bNZdYFJ9iiqmZ.mjs +0 -34
  190. package/browser/esm/D4So2WMowD70kXxw.mjs +0 -36
  191. package/node/esm/B4H9qitY11LeDYmY.mjs +0 -28
  192. package/node/esm/DsmTBSyQ3wIgMDQ6.mjs +0 -26
  193. package/node/esm/noG0ULmWnxsE9HiI.mjs +0 -92
@@ -1,5 +1,5 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.2.6
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.1
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
  "use strict";/**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.2.6
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.1
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
  "use strict";/**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.2.6
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.1
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
  "use strict";/**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.2.6
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.1
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,6 @@
1
+ "use strict";/**
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.1
3
+ *
4
+ * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
+ * License: The license can be found at https://www.sheetxl.com/license.
6
+ */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react/jsx-runtime"),l=require("react"),r=require("@mui/material"),v=require("@mui/icons-material"),t=require("./BEzNZIQy5IlW0iAl.cjs"),y=require("@mui/system"),I=l.memo(C=>{const{label:m,value:u,options:a,onSelect:d,tabIndex:h=0,...R}=C,[k,O]=l.useState(()=>z(u,a));l.useEffect(()=>{O(z(u,a))},[u,a]);const S=t.T(f=>{O(f.target.value),d?.(a[f.target.value])},[d,a]),c=l.useMemo(()=>Object.keys(a).map(f=>i.jsx(r.MenuItem,{value:f,children:f},f)),[a]);return i.jsxs(r.FormControl,{sx:{minWidth:135},size:"small",children:[i.jsx(r.InputLabel,{children:m}),i.jsx(r.Select,{inputProps:{tabIndex:h},value:k,label:m,onChange:S,sx:{backgroundImage:`linear-gradient(${y.alpha("#fff",t.getOverlayAlpha(5))}, ${y.alpha("#fff",t.getOverlayAlpha(5))})`},...R,children:c})]})}),A={Workbook:"workbook",Sheet:"sheet"},H={enter:140,exit:140},G={Formulas:t.xe.Content.Formulas,Values:t.xe.Content.Values,Notes:t.xe.Content.Notes,Comments:t.xe.Content.Comments},X={...G};delete X.Values;const _={"By Rows":!0,"By Columns":!1},z=(C,m)=>{const u=Object.keys(m);for(let a=0;a<u.length;a++){const d=u[a];if(m[d]===C)return d}},U=l.memo(C=>{const{replace:m=!1,findText:u,replaceText:a,findOptions:d,replaceOptions:h,title:R,onHide:k,onFindOrReplace:O,...S}=C,c=l.useRef(null),f=l.useRef(null),B=l.useRef(null),D=l.useRef(null),P=l.useRef(null),K=l.useRef(null),M=(e,n)=>{n&&(n.start(e,{center:!1}),setTimeout(()=>n.stop(e),180))},[$,b]=l.useState(!1),[w,J]=l.useState(!1),[x,E]=l.useState(m),[L,F]=l.useState(!1),[Z,W]=l.useState(!1),[s,p]=l.useState({findText:null,replaceText:null,replace:m,replaceOptions:{},findOptions:{matchCase:!1,matchEntireCell:!1,useRegex:!1,orientation:t.k.Orientation.Row,fields:[t.xe.Content.Formulas]},scope:A.Sheet}),j=t.T(async(e,n,o,T)=>{if(!O)return;const g={...s};g.replaceOptions={...g.replaceOptions},g.findOptions={...g.findOptions},g.replaceOptions.maxCount=o?void 0:1,g.replace=n,n&&s.findOptions.fields?.[0]===t.xe.Content.Values&&(g.findOptions.fields=[t.xe.Content.Formulas]),g.findOptions.reverse=!e;const Y=await O({autoFocus:T,...g});F(Y===0)},[s,O]);l.useEffect(()=>{F(!1)},[s,w,x]);const q=t.T((e,n)=>{if(e.keyCode===t.eo.Enter){if(!s.findText)return;let o=!0,T=!1;e.shiftKey&&(o=!1),n?(e.ctrlKey&&e.altKey&&(T=!0),M(e,T?K.current:P.current)):M(e,o?D.current:B.current),j(o,n,T,!1)}},[s]),V=l.useRef(null);l.useLayoutEffect(()=>{p(e=>{const n={...e};n.findText=u&&u.length>0?u:e.findText??"",b(!0),a!==void 0&&(n.replaceText=a),d&&(n.findOptions={...n.findOptions,...d}),n.replaceText||(n.replaceText=""),n.replaceOptions&&(n.replaceOptions={...n.replaceOptions}),h&&(n.replaceOptions={...n.replaceOptions,...h}),s.findOptions.fields?.[0]||(s.findOptions.fields=[t.xe.Content.Formulas]);const o=!(!h&&a===void 0);return o&&E(o),n}),Z||V.current?.focus()},[u,a,d,h]),l.useEffect(()=>{x?(s.findOptions.fields[0],t.xe.Content.Values):b(!0)},[x]),l.useEffect(()=>{if($&&c.current&&s.findText===c.current.value)return c.current===document.activeElement||c.current.contains(document.activeElement)?(c.current?.select(),void b(!1)):void c.current.addEventListener("focus",()=>{c.current?.select(),b(!1)},{once:!0})},[$,s]);const[Q,{width:N}]=t.useMeasure();return i.jsx(t.Fn,{title:R??(x?"Find & Replace":"Find"),initialPosition:{y:"35"},autoFocusSel:".input",refWindow:V,onHide:k,onFocus:()=>W(!0),onBlur:()=>{W(!1),F(!1)},PaperProps:{elevation:Z?3:1},...S,children:i.jsxs(r.DialogContent,{dividers:!0,ref:Q,sx:{display:"flex",flexDirection:"column",paddingLeft:e=>e.spacing(1.5),paddingRight:e=>e.spacing(1.5)},onKeyDown:e=>{if(e.key==="h"&&e.ctrlKey)E(!0),c.current?.contains(document.activeElement)&&f.current?.focus();else if(e.key==="f"&&e.ctrlKey)c.current?.focus();else if(e.key==="c"&&e.altKey)p(n=>{const o={...n};return o.findOptions.matchCase=!n.findOptions.matchCase,o});else if(e.key==="e"&&e.altKey)p(n=>{const o={...n};return o.findOptions.matchEntireCell=!n.findOptions.matchEntireCell,o});else{if(e.key!=="r"||!e.altKey)return;p(n=>{const o={...n};return o.findOptions.useRegex=!n.findOptions.useRegex,o})}e.preventDefault()},children:[i.jsxs(r.Box,{sx:{display:"flex",flexDirection:"row",gap:e=>e.spacing(1)},children:[i.jsxs(r.Box,{sx:{display:"flex",flexDirection:"row",alignItems:"start",gap:e=>e.spacing(.25),paddingTop:"3px"},children:[i.jsx(t.tl,{selected:w,onSelectToggle:e=>{J(e)},preventFocus:!0,label:"Toggle Additional Options",icon:t.y5(i.jsx(t.Zi,{}))}),i.jsx(t.tl,{selected:x,onSelectToggle:e=>{E(e)},preventFocus:!0,label:"Toggle Replace",icon:t.y5(i.jsx(t.Pi,{})),shortcut:{key:x?"F":"H",modifiers:[t.Z.Ctrl]}})]}),i.jsxs(r.Box,{sx:{display:"flex",flexDirection:"column",maxWidth:"100%",boxSizing:"border-box"},children:[i.jsxs(r.Box,{sx:{display:"flex",flexDirection:"row",alignItems:"center"},children:[i.jsx(r.TextField,{label:"Find",InputLabelProps:{shrink:!0},InputProps:{sx:{paddingRight:e=>e.spacing(1),minWidth:N>460?"20em":void 0,backgroundImage:`linear-gradient(${y.alpha("#fff",t.getOverlayAlpha(5))}, ${y.alpha("#fff",t.getOverlayAlpha(5))})`},inputProps:{draggable:!1,ref:c,className:"input",autoFocus:!0,spellCheck:!1,autoComplete:"off",sx:{paddingTop:e=>e.spacing(1.25),paddingBottom:e=>e.spacing(.75)}},endAdornment:i.jsx(r.InputAdornment,{sx:{transform:"scale(0.75) translateX(16px)"},position:"end",children:i.jsxs(r.Box,{sx:{display:"flex",alignItems:"center",flexDirection:"row",gap:"1px"},children:[i.jsx(t.tl,{selected:s.findOptions.matchCase,onSelectToggle:e=>{p(n=>{const o={...n};return o.findOptions.matchCase=e,o})},label:"Match Case",shortcut:{key:"C",modifiers:[t.Z.Alt]},icon:t.y5(i.jsx(t.Ri,{}))}),i.jsx(t.tl,{selected:s.findOptions.matchEntireCell,onSelectToggle:e=>{p(n=>{const o={...n};return o.findOptions.matchEntireCell=e,o})},label:"Match Entire Cell",shortcut:{key:"E",modifiers:[t.Z.Alt]},icon:t.y5(i.jsx(t.Ii,{}))}),i.jsx(t.tl,{selected:s.findOptions.useRegex,onSelectToggle:e=>{p(n=>{const o={...n};return o.findOptions.useRegex=e,o})},label:"Use Regular Expression",shortcut:{key:"R",modifiers:[t.Z.Alt]},icon:t.y5(i.jsx(t.ji,{}))})]})})},sx:{flex:"1 1 100%",marginRight:e=>e.spacing(1),"& .MuiOutlinedInput-notchedOutline":{borderColor:e=>L?`${e.palette.error.main} !important`:void 0},"& .MuiInputLabel-outlined":{color:e=>L?`${e.palette.error.main} !important`:void 0}},value:s.findText??"",onChange:e=>{p(n=>{const o={...n};return o.findText=e.target.value,o})},onKeyDown:e=>q(e,!1),onContextMenu:e=>{e.stopPropagation()}}),i.jsx(t.tl,{selected:s.findOptions.reverse,onSelectToggle:e=>{j(!1,!1)},touchRippleRef:B,label:"",shortcut:{key:"Enter",modifiers:[t.Z.Shift]},icon:t.y5(s.findOptions.orientation!==t.k.Orientation.Column?i.jsx(v.ArrowBack,{}):i.jsx(v.ArrowUpward,{})),disabled:!s.findText}),i.jsx(t.tl,{selected:!s.findOptions.reverse,onSelectToggle:e=>{j(!0,!1)},touchRippleRef:D,label:"Next Match",shortcut:{key:"Enter"},icon:t.y5(s.findOptions.orientation!==t.k.Orientation.Column?i.jsx(v.ArrowForward,{}):i.jsx(v.ArrowDownward,{})),disabled:!s.findText})]}),i.jsx(r.Collapse,{in:x,timeout:H,onExit:()=>{c.current?.focus()},children:i.jsxs(r.Box,{sx:{display:"flex",flexDirection:"row",alignItems:"center",marginTop:e=>e.spacing(2)},children:[i.jsx(r.TextField,{label:"Replace",InputLabelProps:{shrink:!0},InputProps:{sx:{paddingRight:e=>e.spacing(1),backgroundImage:`linear-gradient(${y.alpha("#fff",t.getOverlayAlpha(5))}, ${y.alpha("#fff",t.getOverlayAlpha(5))})`},inputProps:{ref:f,className:"input",spellCheck:!1,autoComplete:"off",sx:{paddingTop:e=>e.spacing(1.25),paddingBottom:e=>e.spacing(.75)}}},sx:{flex:"1 1 100%",marginRight:e=>e.spacing(1)},value:s.replaceText??"",onChange:e=>{p(n=>{const o={...n};return o.replaceText=e.target.value,o})},onKeyDown:e=>q(e,!0),onContextMenu:e=>{e.stopPropagation()}}),i.jsx(t.tl,{onSelectToggle:e=>{j(!0,!0)},touchRippleRef:P,label:"Replace",shortcut:{key:"Enter"},icon:t.y5(i.jsx(t.Fi,{})),disabled:!s.findText}),i.jsx(t.tl,{onSelectToggle:e=>{j(!0,!0,!0)},touchRippleRef:K,label:"Replace All",shortcut:{key:"Enter",modifiers:[t.Z.Ctrl,t.Z.Alt]},icon:t.y5(i.jsx(t.$i,{})),disabled:!s.findText})]})})]})]}),i.jsx(r.Collapse,{in:w,timeout:H,onExit:()=>{c.current?.focus()},children:i.jsxs(r.Box,{sx:{minHeight:"10px",flex:"1 1 100%",display:"flex",flexDirection:"column",gap:e=>e.spacing(.5),marginTop:e=>e.spacing(1)},children:[i.jsx(t.At,{orientation:"horizontal",sx:{marginBottom:e=>e.spacing(1.5)}}),i.jsxs(r.Box,{sx:{display:"flex",flexDirection:N>=413?"row":"column",justifyContent:"space-evenly",alignItems:"center",rowGap:e=>e.spacing(2)},tabIndex:-1,children:[i.jsx(I,{label:"Within",value:s.scope,options:A,onSelect:e=>{p(n=>{const o={...n};return o.scope=e,o})}}),i.jsx(I,{label:"Search",value:s.findOptions.orientation!==t.k.Orientation.Column,options:_,onSelect:e=>{p(n=>{const o={...n};return o.findOptions.orientation=e?t.k.Orientation.Row:t.k.Orientation.Column,o})}}),i.jsx(I,{label:"Look in",value:x&&s.findOptions.fields?.[0]===t.xe.Content.Values?t.xe.Content.Formulas:s.findOptions.fields?.[0],options:x?X:G,onSelect:e=>{p(n=>{const o={...n};return o.findOptions.fields=[e],o})}})]})]})})]})})});exports.FindReplaceWindow=U,exports.ScopeOptions=A,exports.default=U;
@@ -1,28 +1,13 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.2.6
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.1
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
- */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const he=require("./B53yJDhFGzBrJKct.cjs");/**
7
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.2.6
8
- *
9
- * (C) 2025-present SheetXL Inc. & Michael T. Ford
10
- * License: The license can be found at https://www.sheetxl.com/license.
11
- *//**
12
- * @license @sheetxl/scripting - Scripting - Scripting engine for Macros and formulas; includes TypeScript and EsBuild. - v0.2.6
13
- *
14
- * (C) 2025-present SheetXL Inc. & Michael T. Ford
15
- * License: The license can be found at https://www.sheetxl.com/license.
16
- *//**
17
- * @license @sheetxl/primitives - Primitives - Base types for SheetXL functions. - v0.2.6
18
- *
19
- * (C) 2025-present SheetXL Inc. & Michael T. Ford
20
- * License: The license can be found at https://www.sheetxl.com/license.
21
- */var se,J,r;(J=se||(se={})).Orientation={Column:"column",Row:"row"},J.Orientations={...J.Orientation,Both:"both"},J.Direction={Up:"up",Down:"down",Left:"left",Right:"right"},(e=>{e.Code={Parse:0,Null:1,Div0:2,Value:3,Ref:4,Name:5,Num:6,NA:7,GettingData:8,Spill:9,Connect:10,Blocked:11,Unknown:12,Field:13,Calc:14,Busy:16,Python:19,Timeout:20},e.Label={Parse:"#PARSE!",Null:"#NULL!",Div0:"#DIV/0!",Value:"#VALUE!",Ref:"#REF!",Name:"#NAME?",Num:"#NUM!",NA:"#N/A",GettingData:"#GETTING_DATA",Spill:"#SPILL!",Connect:"#CONNECT!",Blocked:"#BLOCKED!",Unknown:"#UNKNOWN!",Field:"#FIELD!",Calc:"#CALC!",Busy:"#BUSY!",Python:"#PYTHON!",Timeout:"#TIMEOUT!"};class a extends Error{constructor(n,i,S,q){super(S,q),this._label=i,this._code=n,this.details=q}static{this.code=e.Code.Unknown}get isFormulaError(){return!0}getLabel(){return this._label}getCode(){return this._code}equals(n){return!!n&&(this._code===n._code||this._code===n.code)}get[Symbol.toStringTag](){return"[FormulaError]"}toString(){return this.message||this._label}}e.Known=a;class k extends a{constructor(n,i){super(e.Code.Parse,e.Label.Parse,n,i)}static{this.code=e.Code.Parse}getDetails(){const n=this.details;return{line:n?.line??1,column:n?.column??1,offset:n?.offset??0,length:n?.length??0}}}e.Parse=k;class x extends a{constructor(n,i){super(e.Code.Null,e.Label.Null,n,i)}static{this.code=e.Code.Null}}e.Null=x;class j extends a{constructor(n,i){super(e.Code.Div0,e.Label.Div0,n,i)}static{this.code=e.Code.Div0}}e.Div0=j;class X extends a{constructor(n,i){super(e.Code.Value,e.Label.Value,n,i)}static{this.code=e.Code.Value}}e.Value=X;class s extends a{constructor(n,i){super(e.Code.Ref,e.Label.Ref,n,i)}static{this.code=e.Code.Ref}}e.Ref=s;class K extends a{constructor(n,i){super(e.Code.Name,e.Label.Name,n,i)}static{this.code=e.Code.Name}}e.Name=K;class M extends a{constructor(n,i){super(e.Code.Num,e.Label.Num,n,i)}static{this.code=e.Code.Num}}e.Num=M;class U extends a{constructor(n,i){super(e.Code.NA,e.Label.NA,n,i)}static{this.code=e.Code.NA}}e.NA=U;class Y extends a{constructor(n,i){super(e.Code.GettingData,e.Label.GettingData,n,i)}static{this.code=e.Code.GettingData}}e.GettingData=Y;class z extends a{constructor(n,i){super(e.Code.Spill,e.Label.Spill,n,i)}static{this.code=e.Code.Spill}}e.Spill=z;class O extends a{constructor(n,i){super(e.Code.Connect,e.Label.Connect,n,i)}static{this.code=e.Code.Connect}}e.Connect=O;class G extends a{constructor(n,i){super(e.Code.Blocked,e.Label.Blocked,n,i)}static{this.code=e.Code.Blocked}}e.Blocked=G;class _ extends a{constructor(n,i){super(e.Code.Unknown,e.Label.Unknown,n,i)}static{this.code=e.Code.Unknown}}e.Unknown=_;class F extends a{constructor(n,i){super(e.Code.Field,e.Label.Field,n,i)}static{this.code=e.Code.Field}}e.Field=F;class Q extends a{constructor(n,i){super(e.Code.Calc,e.Label.Calc,n,i)}static{this.code=e.Code.Calc}}e.Calc=Q;class I extends a{constructor(n,i){super(e.Code.Busy,e.Label.Busy,n,i)}static{this.code=e.Code.Busy}}e.Busy=I;class P extends a{constructor(n,i){super(e.Code.Python,e.Label.Python,n,i)}static{this.code=e.Code.Python}}e.Python=P;class Z extends a{constructor(n,i){super(e.Code.Timeout,e.Label.Timeout,n,i)}static{this.code=e.Code.Timeout}}e.Timeout=Z})(r||(r={}));const f={};f[r.Code.Parse]=r.Parse,f[r.Code.Null]=r.Null,f[r.Code.Div0]=r.Div0,f[r.Code.Value]=r.Value,f[r.Code.Ref]=r.Ref,f[r.Code.Name]=r.Name,f[r.Code.Num]=r.Num,f[r.Code.NA]=r.NA,f[r.Code.GettingData]=r.GettingData,f[r.Code.Spill]=r.Spill,f[r.Code.Connect]=r.Connect,f[r.Code.Blocked]=r.Blocked,f[r.Code.Unknown]=r.Unknown,f[r.Code.Field]=r.Field,f[r.Code.Calc]=r.Calc,f[r.Code.Busy]=r.Busy,f[r.Code.Python]=r.Python,f[r.Code.Timeout]=r.Timeout;const ce=new Map,ie=new Map,de=new Map,ue=new Map,le=Object.keys(f);for(let e=0;e<le.length;e++){const a=le[e],k=f[a];de.set(r.Label[a],k),ue.set(r.Code[a],k);const x=new k;ce.set(x.getLabel(),x),ie.set(x.getCode(),x)}const ge=ie.get(r.Code.Unknown);var p;(p=r||(r={})).BuiltIn={Parse:new p.Parse,Null:new p.Null,Div0:new p.Div0,Value:new p.Value,Ref:new p.Ref,Name:new p.Name,Num:new p.Num,NA:new p.NA,GettingData:new p.GettingData,Spill:new p.Spill,Connect:new p.Connect,Blocked:new p.Blocked,Unknown:new p.Unknown,Field:new p.Field,Calc:new p.Calc,Busy:new p.Busy,Python:new p.Python,Timeout:new p.Timeout},p.getBuiltInByLabel=e=>ce.get(e),p.newTypedError=(e,a,k)=>{let x;return x=typeof e=="string"?de.get(e):ue.get(e),x||(x=p.Unknown),new x(a,k)},p.getBuiltInById=e=>ie.get(e)||ge;let A=null,H=null;const we={compilerOptions:{target:"esnext"}},Ce=async()=>`
6
+ */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const he=require("./BR4KYl8frdYrZXhN.cjs");var se,J,r;(J=se||(se={})).Orientation={Column:"column",Row:"row"},J.Orientations={...J.Orientation,Both:"both"},J.Direction={Up:"up",Down:"down",Left:"left",Right:"right"},(e=>{e.Code={Parse:0,Null:1,Div0:2,Value:3,Ref:4,Name:5,Num:6,NA:7,GettingData:8,Spill:9,Connect:10,Blocked:11,Unknown:12,Field:13,Calc:14,Busy:16,Python:19,Timeout:20},e.Label={Parse:"#PARSE!",Null:"#NULL!",Div0:"#DIV/0!",Value:"#VALUE!",Ref:"#REF!",Name:"#NAME?",Num:"#NUM!",NA:"#N/A",GettingData:"#GETTING_DATA",Spill:"#SPILL!",Connect:"#CONNECT!",Blocked:"#BLOCKED!",Unknown:"#UNKNOWN!",Field:"#FIELD!",Calc:"#CALC!",Busy:"#BUSY!",Python:"#PYTHON!",Timeout:"#TIMEOUT!"};class a extends Error{constructor(n,i,S,q){super(S,q),this._label=i,this._code=n,this.details=q}static{this.code=e.Code.Unknown}get isFormulaError(){return!0}getLabel(){return this._label}getCode(){return this._code}equals(n){return!!n&&(this._code===n._code||this._code===n.code)}get[Symbol.toStringTag](){return"[FormulaError]"}toString(){return this.message||this._label}}e.Known=a;class k extends a{constructor(n,i){super(e.Code.Parse,e.Label.Parse,n,i)}static{this.code=e.Code.Parse}getDetails(){const n=this.details;return{line:n?.line??1,column:n?.column??1,offset:n?.offset??0,length:n?.length??0}}}e.Parse=k;class x extends a{constructor(n,i){super(e.Code.Null,e.Label.Null,n,i)}static{this.code=e.Code.Null}}e.Null=x;class j extends a{constructor(n,i){super(e.Code.Div0,e.Label.Div0,n,i)}static{this.code=e.Code.Div0}}e.Div0=j;class X extends a{constructor(n,i){super(e.Code.Value,e.Label.Value,n,i)}static{this.code=e.Code.Value}}e.Value=X;class s extends a{constructor(n,i){super(e.Code.Ref,e.Label.Ref,n,i)}static{this.code=e.Code.Ref}}e.Ref=s;class K extends a{constructor(n,i){super(e.Code.Name,e.Label.Name,n,i)}static{this.code=e.Code.Name}}e.Name=K;class M extends a{constructor(n,i){super(e.Code.Num,e.Label.Num,n,i)}static{this.code=e.Code.Num}}e.Num=M;class U extends a{constructor(n,i){super(e.Code.NA,e.Label.NA,n,i)}static{this.code=e.Code.NA}}e.NA=U;class Y extends a{constructor(n,i){super(e.Code.GettingData,e.Label.GettingData,n,i)}static{this.code=e.Code.GettingData}}e.GettingData=Y;class z extends a{constructor(n,i){super(e.Code.Spill,e.Label.Spill,n,i)}static{this.code=e.Code.Spill}}e.Spill=z;class O extends a{constructor(n,i){super(e.Code.Connect,e.Label.Connect,n,i)}static{this.code=e.Code.Connect}}e.Connect=O;class G extends a{constructor(n,i){super(e.Code.Blocked,e.Label.Blocked,n,i)}static{this.code=e.Code.Blocked}}e.Blocked=G;class _ extends a{constructor(n,i){super(e.Code.Unknown,e.Label.Unknown,n,i)}static{this.code=e.Code.Unknown}}e.Unknown=_;class F extends a{constructor(n,i){super(e.Code.Field,e.Label.Field,n,i)}static{this.code=e.Code.Field}}e.Field=F;class Q extends a{constructor(n,i){super(e.Code.Calc,e.Label.Calc,n,i)}static{this.code=e.Code.Calc}}e.Calc=Q;class I extends a{constructor(n,i){super(e.Code.Busy,e.Label.Busy,n,i)}static{this.code=e.Code.Busy}}e.Busy=I;class P extends a{constructor(n,i){super(e.Code.Python,e.Label.Python,n,i)}static{this.code=e.Code.Python}}e.Python=P;class Z extends a{constructor(n,i){super(e.Code.Timeout,e.Label.Timeout,n,i)}static{this.code=e.Code.Timeout}}e.Timeout=Z})(r||(r={}));const f={};f[r.Code.Parse]=r.Parse,f[r.Code.Null]=r.Null,f[r.Code.Div0]=r.Div0,f[r.Code.Value]=r.Value,f[r.Code.Ref]=r.Ref,f[r.Code.Name]=r.Name,f[r.Code.Num]=r.Num,f[r.Code.NA]=r.NA,f[r.Code.GettingData]=r.GettingData,f[r.Code.Spill]=r.Spill,f[r.Code.Connect]=r.Connect,f[r.Code.Blocked]=r.Blocked,f[r.Code.Unknown]=r.Unknown,f[r.Code.Field]=r.Field,f[r.Code.Calc]=r.Calc,f[r.Code.Busy]=r.Busy,f[r.Code.Python]=r.Python,f[r.Code.Timeout]=r.Timeout;const ce=new Map,ie=new Map,de=new Map,ue=new Map,le=Object.keys(f);for(let e=0;e<le.length;e++){const a=le[e],k=f[a];de.set(r.Label[a],k),ue.set(r.Code[a],k);const x=new k;ce.set(x.getLabel(),x),ie.set(x.getCode(),x)}const ge=ie.get(r.Code.Unknown);var p;(p=r||(r={})).BuiltIn={Parse:new p.Parse,Null:new p.Null,Div0:new p.Div0,Value:new p.Value,Ref:new p.Ref,Name:new p.Name,Num:new p.Num,NA:new p.NA,GettingData:new p.GettingData,Spill:new p.Spill,Connect:new p.Connect,Blocked:new p.Blocked,Unknown:new p.Unknown,Field:new p.Field,Calc:new p.Calc,Busy:new p.Busy,Python:new p.Python,Timeout:new p.Timeout},p.getBuiltInByLabel=e=>ce.get(e),p.newTypedError=(e,a,k)=>{let x;return x=typeof e=="string"?de.get(e):ue.get(e),x||(x=p.Unknown),new x(a,k)},p.getBuiltInById=e=>ie.get(e)||ge;let A=null,H=null;const we={compilerOptions:{target:"esnext"}},Ce=async()=>`
22
7
  interface FirstTest {
23
8
  isTrue?: boolean;
24
9
  }
25
- `,pe=new Map([["IReferenceRange","r"],["IRange","l"]]),me=new Map([["IWorkbook","workbook"],["ISheet","sheet"],["ICellRanges","ranges"],["ICellRange","range"],["IFormulaContext","context"]]),ne=(e,a)=>{Array.from(a.keys()).forEach(k=>{const x=a.get(k);a.set(`${e}.${k}`,x)})},xe=new Map([["Scalar","*"],["FormulaError.Known","e"],["Date","Date"],["JSON","JSON"]]),be=new Map([]),oe="SheetXL";ne(oe,pe),ne(oe,me),ne(oe,be);const Te=new Map([["Promise",()=>({async:!0})],["Observable",()=>({stream:!0})]]);let W=null;async function ke(){if(W)return W;try{return await(await Promise.resolve().then(()=>require("./DzP_k-VBWZZZZ0jz.cjs"))).initialize()}catch(e){throw W=null,e}finally{W=null}}exports.compileModule=async function(e){const a=e?.source??null;if(!a)return null;const k=(e.disableBundle||e.declarationsOnly)??!1,x=[Ce(),ke()],j=await Promise.all(x),X=j[0],s=j[1];let K="",M=null;const U=[],Y={allowJs:!0,declaration:!1,sourceMap:!1,inlineSourceMap:!1,inlineSources:!1,isolatedModules:!0,preserveConstEnums:!1,module:99,noResolve:!0,emitDeclarationOnly:!1,target:s.ScriptTarget.ES2020},z="script",O=`${z}.ts`,G="lib.d.ts",_="global.d.ts",F={[O]:a,[G]:`
10
+ `,pe=new Map([["IReferenceRange","r"],["IRange","l"]]),me=new Map([["IWorkbook","workbook"],["ISheet","sheet"],["ICellRanges","ranges"],["ICellRange","range"],["IFormulaContext","context"]]),ne=(e,a)=>{Array.from(a.keys()).forEach(k=>{const x=a.get(k);a.set(`${e}.${k}`,x)})},xe=new Map([["Scalar","*"],["FormulaError.Known","e"],["Date","Date"],["JSON","JSON"]]),be=new Map([]),oe="SheetXL";ne(oe,pe),ne(oe,me),ne(oe,be);const Te=new Map([["Promise",()=>({async:!0})],["Observable",()=>({stream:!0})]]);let W=null;async function ke(){if(W)return W;try{return await(await Promise.resolve().then(()=>require("./Q-_8LHrKWcpj3r7F.cjs"))).initialize()}catch(e){throw W=null,e}finally{W=null}}exports.compileModule=async function(e){const a=e?.source??null;if(!a)return null;const k=(e.disableBundle||e.declarationsOnly)??!1,x=[Ce(),ke()],j=await Promise.all(x),X=j[0],s=j[1];let K="",M=null;const U=[],Y={allowJs:!0,declaration:!1,sourceMap:!1,inlineSourceMap:!1,inlineSources:!1,isolatedModules:!0,preserveConstEnums:!1,module:99,noResolve:!0,emitDeclarationOnly:!1,target:s.ScriptTarget.ES2020},z="script",O=`${z}.ts`,G="lib.d.ts",_="global.d.ts",F={[O]:a,[G]:`
26
11
  /**
27
12
  * Represents the completion of an asynchronous operation
28
13
  */
@@ -36,7 +21,7 @@ interface Promise<T> {
36
21
  finally(onfinally?: (() => void) | undefined | null): Promise<T>;
37
22
  }
38
23
  `,[_]:X},Q={getSourceFile:(t,d,E,l)=>s.createSourceFile(t,F[t],s.ScriptTarget.Latest,!0),fileExists:t=>F[t]!==void 0,readFile:t=>F[t],writeFile:(t,d)=>{F[t]=d},getCurrentDirectory:()=>"./",getCanonicalFileName:t=>t,useCaseSensitiveFileNames:()=>!0,getDefaultLibFileName:t=>G,getNewLine:()=>`
39
- `},I=s.createProgram([O,_],Y,Q),P=I.getTypeChecker(),Z=I.getSourceFile(O),y=I.emit();y.diagnostics.length>0&&console.warn(y.diagnostics),K=F[`${z}.js`];const n=(t,d,E,l)=>{if(t){if(t.kind===s.SyntaxKind.NumberKeyword)d.scalar="n";else if(t.kind===s.SyntaxKind.StringKeyword)d.scalar="s";else if(t.kind===s.SyntaxKind.BooleanKeyword)d.scalar="b";else if(t.kind===s.SyntaxKind.UndefinedKeyword||t.kind===s.SyntaxKind.NullKeyword||t.kind===s.SyntaxKind.VoidKeyword){if(l)return void S(t,new Error(`'undefined' is not a valid type for input: '${t?.parent?.name?.escapedText}'.`));d.scalar="z"}else if(t.kind===s.SyntaxKind.BigIntKeyword)d.scalar="n";else if(t.kind===s.SyntaxKind.AnyKeyword)d.scalar="z";else if(t.kind===s.SyntaxKind.ArrayType){const c=t.elementType;if(!c)return void S(t,new Error(`'Array' must be typed: '${t?.parent?.name?.escapedText}'.`));d.arrayDepth=(d.arrayDepth??0)+1,n(c,d,E,l)}else if(t.kind!==s.SyntaxKind.TupleType&&t.kind===s.SyntaxKind.TypeReference){const c=t.typeName?.getText?.()??null,N=pe.get(c);let T=!1;N&&(d.range=N,T=!0);const L=xe.get(c);if(L&&(d.scalar=L),L!==void 0&&(T=!0),l){const g=me.get(c);if(g)return g}else{const g=Te.get(c);if(g){const m={...d,...g()};let o=0;if(m.async&&o++,m.stream&&o++,o>1)return void S(t,new Error(`'${c}' cannot have multiple modifiers: '${t?.parent?.name?.escapedText}'.`));d=m,T=!0}}if(!T)return void S("node",new Error(`'${c}' is not a valid type: '${t?.parent?.name?.escapedText}'.`));const b=t.typeArguments;if(b){if(b.length!==1)return void S(t,new Error(`'${c}' must be typed with exactly 1 type: '${t?.parent?.name?.escapedText}'.`));n(b[0],d,E,l)}}}else S(t,new Error(`Type is not defined for '${d?.name??"return"}'.`))},i=[],S=(t,d)=>{i.push(d)};if(s.forEachChild(Z,t=>{if(E=t,(s.getCombinedModifierFlags(E)&s.ModifierFlags.Export)!==0&&s.isFunctionDeclaration(t)){const l={},c={parameters:{}},N=t?.name?.getText();try{l.name=N;const T=P.getSymbolAtLocation(t.name).getDocumentationComment(P);if(T&&T.length>0&&T[0].text){let m=T[0].text;m=m.replace(/[\r\n]+/g,"\\n").trim(),c.summary=m}const L={};n(t.type,L,l,!1),l.returnType=L;const b={};d=t,(s.getCombinedModifierFlags(d)&s.ModifierFlags.Default)!==0&&(b.default=!0,M=N),Object.keys(b).length>0&&(l.behavior=b),l.parameters=[];const g=new Map;for(let m=0;m<t.parameters.length;m++){const o=t.parameters[m],h={};h.name=o.name?.getText();const $=n(o.type,h,l,!0);if($){if(l.parameters.length!==0){const B=t?.parent,C=B?.name?.getText();return void S(t,new Error(`'${l.name}' contexts must be the first parameter: '${C}'.`))}l.context=$;continue}let v;if((o.initializer!==void 0&&o.initializer!==null||o.questionToken!==void 0&&o.questionToken!==null)&&(h.optional=!0,o.initializer))try{v=o.initializer.kind===s.SyntaxKind.StringLiteral?o.initializer.text:o.initializer.kind===s.SyntaxKind.NumericLiteral?parseFloat(o.initializer.text):o.initializer.kind===s.SyntaxKind.TrueKeyword||o.initializer.kind===s.SyntaxKind.FalseKeyword?o.initializer.kind===s.SyntaxKind.TrueKeyword:o.initializer.kind===s.SyntaxKind.NullKeyword?null:o.initializer.kind===s.SyntaxKind.ObjectLiteralExpression||o.initializer.kind===s.SyntaxKind.ArrayLiteralExpression?o.initializer.getText():o.initializer.getText?.()}catch(B){console.warn(`Couldn't extract default value for parameter '${h.name}'`,B)}o.dotDotDotToken&&(h.rest=!0),l.parameters.push(h);const w={description:""};c.parameters[h.name]=w;const u=P.getSymbolAtLocation(o.name).getDocumentationComment(P);u&&u.length>0&&u[0].text&&(w.description=u[0].text),v!==void 0&&(w.defaultValue=v),g.set(h.name,h)}if(t.jsDoc&&t.jsDoc.length>0){const m=t.jsDoc;for(let o=0;o<m.length;o++){const h=m[o]?.tags;if(h)for(let $=0;$<h.length;$++){const v=h[$];let w=v?.tagName?.text;if(!w)continue;w=w.toLowerCase();let u=v.comment;const B=w==="hidden";if((typeof u=="string"||B)&&(typeof u=="string"&&(u=u.replace(/[\r\n]+/g,"\\n").trim()),B||!u||(u=u.split(/\\n/)[0],u&&u.length!==0))){if(u&&typeof u=="string"){const C=/\{@link(code|plain)?\s+([^}|]+)(?:\s*\|\s*([^}]+))?\}/g;let D,R=u,V=[];for(;(D=C.exec(u))!==null;){const[ee,te,ye,ae]=D,fe=[ye.trim()];ae&&fe.push(ae.trim())}u=R,V.length>0&&w==="see"&&(c.links||(c.links=[]),c.links.push(...V))}if(w==="name"){const C=u;C!==N&&(c.name=C)}else if(w!=="description"){if(w==="summary"){const C=u;C&&(c.summary=C)}else if(w==="param"){const C=v.name?.text,D=g.get(C);if(!D){i.push(new Error(`Parameter '${C}' not found in function '${N}'.`));continue}if(v.typeExpression&&v.typeExpression.type)try{const R=v.typeExpression.type;if(R.kind===s.SyntaxKind.UnionType){const V=[];D.enums=V,R.types.forEach(ee=>{if(ee.kind===s.SyntaxKind.LiteralType){const te=ee.literal.text;te&&V.push(te)}})}}catch(R){console.warn("Error parsing JSDoc type expression:",R)}}else if(w==="returns"||w==="return")l.returnType.description=u;else if(w==="category")c.category=u;else if(w==="hidden"){let C=!0;const D=u?.toLowerCase();D==="false"?C=!1:D!=="true"&&(C=u),C!==!1&&(c.hidden=C??!0)}}}}}}Object.keys(l.returnType).length===0&&delete l.returnType,U.push([l,c])}catch(T){S(t,new Error(`'${N}': ${T.message}`))}}var d,E}),i.length>0)throw console.warn(i),new Error("There were compilation errors.",{cause:i});if(U.length===0)throw new Error("No exported functions.");const q=`${he.$.uuidV4()}-script`;try{k||i.length!==0||(K=await async function(t,d,E="/script.js",l="__SHEETXL"){try{const c=await async function(){if(A)return A;if(H){if(await H,!A)throw new Error("ESBuild initialization promise resolved, but instance is not available.");return A}let g,m;H=new Promise((o,h)=>{g=o,m=h});try{const{initialize:o}=await Promise.resolve().then(()=>require("./BmAmjiguOzBNHAM1.cjs"));return A=await o(),g(),A}catch(o){throw console.error("Failed to import or initialize esbuild:",o),H=null,m(o),o}}(),N="@sheetxl/primitives",T=`
24
+ `},I=s.createProgram([O,_],Y,Q),P=I.getTypeChecker(),Z=I.getSourceFile(O),y=I.emit();y.diagnostics.length>0&&console.warn(y.diagnostics),K=F[`${z}.js`];const n=(t,d,E,l)=>{if(t){if(t.kind===s.SyntaxKind.NumberKeyword)d.scalar="n";else if(t.kind===s.SyntaxKind.StringKeyword)d.scalar="s";else if(t.kind===s.SyntaxKind.BooleanKeyword)d.scalar="b";else if(t.kind===s.SyntaxKind.UndefinedKeyword||t.kind===s.SyntaxKind.NullKeyword||t.kind===s.SyntaxKind.VoidKeyword){if(l)return void S(t,new Error(`'undefined' is not a valid type for input: '${t?.parent?.name?.escapedText}'.`));d.scalar="z"}else if(t.kind===s.SyntaxKind.BigIntKeyword)d.scalar="n";else if(t.kind===s.SyntaxKind.AnyKeyword)d.scalar="z";else if(t.kind===s.SyntaxKind.ArrayType){const c=t.elementType;if(!c)return void S(t,new Error(`'Array' must be typed: '${t?.parent?.name?.escapedText}'.`));d.arrayDepth=(d.arrayDepth??0)+1,n(c,d,E,l)}else if(t.kind!==s.SyntaxKind.TupleType&&t.kind===s.SyntaxKind.TypeReference){const c=t.typeName?.getText?.()??null,N=pe.get(c);let T=!1;N&&(d.range=N,T=!0);const L=xe.get(c);if(L&&(d.scalar=L),L!==void 0&&(T=!0),l){const g=me.get(c);if(g)return g}else{const g=Te.get(c);if(g){const m={...d,...g()};let o=0;if(m.async&&o++,m.stream&&o++,o>1)return void S(t,new Error(`'${c}' cannot have multiple modifiers: '${t?.parent?.name?.escapedText}'.`));d=m,T=!0}}if(!T)return void S("node",new Error(`'${c}' is not a valid type: '${t?.parent?.name?.escapedText}'.`));const b=t.typeArguments;if(b){if(b.length!==1)return void S(t,new Error(`'${c}' must be typed with exactly 1 type: '${t?.parent?.name?.escapedText}'.`));n(b[0],d,E,l)}}}else S(t,new Error(`Type is not defined for '${d?.name??"return"}'.`))},i=[],S=(t,d)=>{i.push(d)};if(s.forEachChild(Z,t=>{if(E=t,(s.getCombinedModifierFlags(E)&s.ModifierFlags.Export)!==0&&s.isFunctionDeclaration(t)){const l={},c={parameters:{}},N=t?.name?.getText();try{l.name=N;const T=P.getSymbolAtLocation(t.name).getDocumentationComment(P);if(T&&T.length>0&&T[0].text){let m=T[0].text;m=m.replace(/[\r\n]+/g,"\\n").trim(),c.summary=m}const L={};n(t.type,L,l,!1),l.returnType=L;const b={};d=t,(s.getCombinedModifierFlags(d)&s.ModifierFlags.Default)!==0&&(b.default=!0,M=N),Object.keys(b).length>0&&(l.behavior=b),l.parameters=[];const g=new Map;for(let m=0;m<t.parameters.length;m++){const o=t.parameters[m],h={};h.name=o.name?.getText();const $=n(o.type,h,l,!0);if($){if(l.parameters.length!==0){const B=t?.parent,C=B?.name?.getText();return void S(t,new Error(`'${l.name}' contexts must be the first parameter: '${C}'.`))}l.context=$;continue}let v;if((o.initializer!==void 0&&o.initializer!==null||o.questionToken!==void 0&&o.questionToken!==null)&&(h.optional=!0,o.initializer))try{v=o.initializer.kind===s.SyntaxKind.StringLiteral?o.initializer.text:o.initializer.kind===s.SyntaxKind.NumericLiteral?parseFloat(o.initializer.text):o.initializer.kind===s.SyntaxKind.TrueKeyword||o.initializer.kind===s.SyntaxKind.FalseKeyword?o.initializer.kind===s.SyntaxKind.TrueKeyword:o.initializer.kind===s.SyntaxKind.NullKeyword?null:o.initializer.kind===s.SyntaxKind.ObjectLiteralExpression||o.initializer.kind===s.SyntaxKind.ArrayLiteralExpression?o.initializer.getText():o.initializer.getText?.()}catch(B){console.warn(`Couldn't extract default value for parameter '${h.name}'`,B)}o.dotDotDotToken&&(h.rest=!0),l.parameters.push(h);const w={description:""};c.parameters[h.name]=w;const u=P.getSymbolAtLocation(o.name).getDocumentationComment(P);u&&u.length>0&&u[0].text&&(w.description=u[0].text),v!==void 0&&(w.defaultValue=v),g.set(h.name,h)}if(t.jsDoc&&t.jsDoc.length>0){const m=t.jsDoc;for(let o=0;o<m.length;o++){const h=m[o]?.tags;if(h)for(let $=0;$<h.length;$++){const v=h[$];let w=v?.tagName?.text;if(!w)continue;w=w.toLowerCase();let u=v.comment;const B=w==="hidden";if((typeof u=="string"||B)&&(typeof u=="string"&&(u=u.replace(/[\r\n]+/g,"\\n").trim()),B||!u||(u=u.split(/\\n/)[0],u&&u.length!==0))){if(u&&typeof u=="string"){const C=/\{@link(code|plain)?\s+([^}|]+)(?:\s*\|\s*([^}]+))?\}/g;let D,R=u,V=[];for(;(D=C.exec(u))!==null;){const[ee,te,ye,ae]=D,fe=[ye.trim()];ae&&fe.push(ae.trim())}u=R,V.length>0&&w==="see"&&(c.links||(c.links=[]),c.links.push(...V))}if(w==="name"){const C=u;C!==N&&(c.name=C)}else if(w!=="description"){if(w==="summary"){const C=u;C&&(c.summary=C)}else if(w==="param"){const C=v.name?.text,D=g.get(C);if(!D){i.push(new Error(`Parameter '${C}' not found in function '${N}'.`));continue}if(v.typeExpression&&v.typeExpression.type)try{const R=v.typeExpression.type;if(R.kind===s.SyntaxKind.UnionType){const V=[];D.enums=V,R.types.forEach(ee=>{if(ee.kind===s.SyntaxKind.LiteralType){const te=ee.literal.text;te&&V.push(te)}})}}catch(R){console.warn("Error parsing JSDoc type expression:",R)}}else if(w==="returns"||w==="return")l.returnType.description=u;else if(w==="category")c.category=u;else if(w==="hidden"){let C=!0;const D=u?.toLowerCase();D==="false"?C=!1:D!=="true"&&(C=u),C!==!1&&(c.hidden=C??!0)}}}}}}Object.keys(l.returnType).length===0&&delete l.returnType,U.push([l,c])}catch(T){S(t,new Error(`'${N}': ${T.message}`))}}var d,E}),i.length>0)throw console.warn(i),new Error("There were compilation errors.",{cause:i});if(U.length===0)throw new Error("No exported functions.");const q=`${he.$.uuidV4()}-script`;try{k||i.length!==0||(K=await async function(t,d,E="/script.js",l="__SHEETXL"){try{const c=await async function(){if(A)return A;if(H){if(await H,!A)throw new Error("ESBuild initialization promise resolved, but instance is not available.");return A}let g,m;H=new Promise((o,h)=>{g=o,m=h});try{const{initialize:o}=await Promise.resolve().then(()=>require("./q0y6NDefblRQrS_O.cjs"));return A=await o(),g(),A}catch(o){throw console.error("Failed to import or initialize esbuild:",o),H=null,m(o),o}}(),N="@sheetxl/primitives",T=`
40
25
  export const FormulaContext = globalThis.${l}?.FormulaContext;
41
26
  export const ScalarType = globalThis.${l}?.ScalarType;
42
27
  export const Observable = globalThis.${l}?.Observable;
@@ -1,6 +1,6 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.2.6
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.1
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
- */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),r=require("react"),l=require("@mui/material"),t=require("./DQrfhqvZNAC1CLSW.cjs"),u=require("@mui/system"),B=["Ok","Cancel"],F=r.memo(O=>{const{initialValue:j,context:x,onOption:h,onValidateOption:c,onInputOption:f,onDone:d,options:T=B,defaultOption:p=T?.[0],cancelOption:g="Cancel",sx:k,...S}=O,[a,b]=r.useState(j),[P,w]=r.useState(!1),m=r.useCallback(async(e,n)=>!0,[]),y=t.T(async e=>{f?.(a,e),h?.(e,e===g,e===p),d?.()},[a,f,d,h,g,p]),I=t.T(async e=>{e.keyCode===t.eo.Enter&&await m?.(a,null)!==!1&&y(p)},[a,y]),D=t.T(e=>{b(e.target.value),m?.(e.target.value,null)},[c]),M=t.T(async e=>{let n=await Promise.resolve(c?.(e));try{n!==!1&&(n=await Promise.resolve(m?.(a,e))??!0)}catch{}return n??!0},[c]),[v,C]=r.useState(t.Ft.Styles.lookupStyle(a).formatType??t.Ft.Type.Custom);r.useEffect(()=>{C(t.Ft.Styles.lookupStyle(a).formatType??t.Ft.Type.Custom)},[a]);const $=r.useMemo(()=>{const e=t.Ft.Styles.lookupPrimary(),n=i=>o.jsx(l.MenuItem,{value:i,children:i},i),s=Object.keys(e).map(i=>n(e[i].formatType));return s.push(n(t.Ft.Type.Custom)),s},[]),q=r.useCallback(e=>{const n=e.target.value;C(n);const s=t.Ft.Styles.lookupDefault(n);s&&b(s)},[]),A=r.useMemo(()=>{const e=x();return e.createTemporaryCell({value:e.getValue()??12345,style:{numberFormat:a}})},[v,a,x]);return o.jsx(t.E8,{title:"Number Format",options:T,onDone:d,onOption:e=>y(e),onValidateOption:M,defaultOption:p,cancelOption:g,autoFocusSel:".autoFocus",sx:{width:"580px",...k},...S,children:o.jsxs(l.Box,{sx:{paddingTop:e=>e.spacing(1),paddingBottom:e=>e.spacing(0),rowGap:e=>e.spacing(1),display:"flex",flexDirection:"column"},children:[o.jsxs(l.FormControl,{sx:{minWidth:135},size:"small",children:[o.jsx(l.InputLabel,{children:"Category"}),o.jsx(l.Select,{value:v,label:"Category",onChange:q,sx:{backgroundImage:`linear-gradient(${u.alpha("#fff",t.getOverlayAlpha(5))}, ${u.alpha("#fff",t.getOverlayAlpha(5))})`},children:$})]}),o.jsx(l.FormControl,{sx:{paddingTop:e=>e.spacing(1.5),minWidth:135,width:"100%"},size:"small",children:o.jsx(l.TextField,{label:"Code",onFocus:e=>{P||e.target?.select(),w(!0)},sx:{"& .MuiFormHelperText-root":{marginTop:e=>e.spacing(.5)}},InputLabelProps:{shrink:!0},InputProps:{inputProps:{className:"autoFocus",spellCheck:!1,autoComplete:"off",sx:{paddingTop:e=>e.spacing(1.25),paddingBottom:e=>e.spacing(.75),backgroundImage:`linear-gradient(${u.alpha("#fff",t.getOverlayAlpha(5))}, ${u.alpha("#fff",t.getOverlayAlpha(5))})`}}},value:a,onChange:D,onKeyDown:I,onContextMenu:e=>{e.stopPropagation()}})}),o.jsxs(l.Box,{children:[o.jsx(l.Typography,{variant:"caption",component:"div",sx:{paddingLeft:e=>e.spacing(2)},children:"Preview"}),o.jsx(l.Typography,{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:A.getNumberFormat().displayText||"(empty)"})]})]})})});exports.NumberFormatDialog=F,exports.default=F;
6
+ */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),r=require("react"),l=require("@mui/material"),t=require("./BEzNZIQy5IlW0iAl.cjs"),u=require("@mui/system"),B=["Ok","Cancel"],F=r.memo(O=>{const{initialValue:j,context:x,onOption:h,onValidateOption:c,onInputOption:f,onDone:d,options:T=B,defaultOption:p=T?.[0],cancelOption:g="Cancel",sx:k,...S}=O,[a,b]=r.useState(j),[P,w]=r.useState(!1),m=r.useCallback(async(e,n)=>!0,[]),y=t.T(async e=>{f?.(a,e),h?.(e,e===g,e===p),d?.()},[a,f,d,h,g,p]),I=t.T(async e=>{e.keyCode===t.eo.Enter&&await m?.(a,null)!==!1&&y(p)},[a,y]),D=t.T(e=>{b(e.target.value),m?.(e.target.value,null)},[c]),M=t.T(async e=>{let n=await Promise.resolve(c?.(e));try{n!==!1&&(n=await Promise.resolve(m?.(a,e))??!0)}catch{}return n??!0},[c]),[v,C]=r.useState(t.Ft.Styles.lookupStyle(a).formatType??t.Ft.Type.Custom);r.useEffect(()=>{C(t.Ft.Styles.lookupStyle(a).formatType??t.Ft.Type.Custom)},[a]);const $=r.useMemo(()=>{const e=t.Ft.Styles.lookupPrimary(),n=i=>o.jsx(l.MenuItem,{value:i,children:i},i),s=Object.keys(e).map(i=>n(e[i].formatType));return s.push(n(t.Ft.Type.Custom)),s},[]),q=r.useCallback(e=>{const n=e.target.value;C(n);const s=t.Ft.Styles.lookupDefault(n);s&&b(s)},[]),A=r.useMemo(()=>{const e=x();return e.createTemporaryCell({value:e.getValue()??12345,style:{numberFormat:a}})},[v,a,x]);return o.jsx(t.E8,{title:"Number Format",options:T,onDone:d,onOption:e=>y(e),onValidateOption:M,defaultOption:p,cancelOption:g,autoFocusSel:".autoFocus",sx:{width:"580px",...k},...S,children:o.jsxs(l.Box,{sx:{paddingTop:e=>e.spacing(1),paddingBottom:e=>e.spacing(0),rowGap:e=>e.spacing(1),display:"flex",flexDirection:"column"},children:[o.jsxs(l.FormControl,{sx:{minWidth:135},size:"small",children:[o.jsx(l.InputLabel,{children:"Category"}),o.jsx(l.Select,{value:v,label:"Category",onChange:q,sx:{backgroundImage:`linear-gradient(${u.alpha("#fff",t.getOverlayAlpha(5))}, ${u.alpha("#fff",t.getOverlayAlpha(5))})`},children:$})]}),o.jsx(l.FormControl,{sx:{paddingTop:e=>e.spacing(1.5),minWidth:135,width:"100%"},size:"small",children:o.jsx(l.TextField,{label:"Code",onFocus:e=>{P||e.target?.select(),w(!0)},sx:{"& .MuiFormHelperText-root":{marginTop:e=>e.spacing(.5)}},InputLabelProps:{shrink:!0},InputProps:{inputProps:{className:"autoFocus",spellCheck:!1,autoComplete:"off",sx:{paddingTop:e=>e.spacing(1.25),paddingBottom:e=>e.spacing(.75),backgroundImage:`linear-gradient(${u.alpha("#fff",t.getOverlayAlpha(5))}, ${u.alpha("#fff",t.getOverlayAlpha(5))})`}}},value:a,onChange:D,onKeyDown:I,onContextMenu:e=>{e.stopPropagation()}})}),o.jsxs(l.Box,{children:[o.jsx(l.Typography,{variant:"caption",component:"div",sx:{paddingLeft:e=>e.spacing(2)},children:"Preview"}),o.jsx(l.Typography,{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:A.getNumberFormat().displayText||"(empty)"})]})]})})});exports.NumberFormatDialog=F,exports.default=F;
@@ -1,14 +1,9 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.2.6
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.1
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
- */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react");/**
7
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.2.6
8
- *
9
- * (C) 2025-present SheetXL Inc. & Michael T. Ford
10
- * License: The license can be found at https://www.sheetxl.com/license.
11
- */function me(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function re(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function ne(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?re(Object(r),!0).forEach(function(n){me(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):re(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function oe(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function ye(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ie(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function ue(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ie(Object(r),!0).forEach(function(n){ye(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ie(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function D(e){return function t(){for(var r=this,n=arguments.length,o=new Array(n),u=0;u<n;u++)o[u]=arguments[u];return o.length>=e.length?e.apply(this,o):function(){for(var c=arguments.length,a=new Array(c),g=0;g<c;g++)a[g]=arguments[g];return t.apply(r,[].concat(o,a))}}}function U(e){return{}.toString.call(e).includes("Object")}function q(e){return typeof e=="function"}var S=D(function(e,t){throw new Error(e[t]||e.default)})({initialIsRequired:"initial state is required",initialType:"initial state should be an object",initialContent:"initial state shouldn't be an empty object",handlerType:"handler should be an object or a function",handlersType:"all handlers should be a functions",selectorType:"selector should be a function",changeType:"provided value of changes should be an object",changeField:'it seams you want to change a field in the state which is not specified in the "initial" state',default:"an unknown error accured in `state-local` package"}),ve=function(e,t){return U(t)||S("changeType"),Object.keys(t).some(function(r){return n=e,o=r,!Object.prototype.hasOwnProperty.call(n,o);var n,o})&&S("changeField"),t},be=function(e){q(e)||S("selectorType")},Oe=function(e){q(e)||U(e)||S("handlerType"),U(e)&&Object.values(e).some(function(t){return!q(t)})&&S("handlersType")},we=function(e){var t;e||S("initialIsRequired"),U(e)||S("initialType"),t=e,Object.keys(t).length||S("initialContent")};function je(e,t){return q(t)?t(e.current):t}function Me(e,t){return e.current=ue(ue({},e.current),t),t}function Ee(e,t,r){return q(t)?t(e.current):Object.keys(r).forEach(function(n){var o;return(o=t[n])===null||o===void 0?void 0:o.call(t,e.current[n])}),r}var K,Pe=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};we(e),Oe(t);var r={current:e},n=D(Ee)(r,t),o=D(Me)(r),u=D(ve)(e),c=D(je)(r);return[function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:function(g){return g};return be(a),a(r.current)},function(a){(function(){for(var g=arguments.length,p=new Array(g),w=0;w<g;w++)p[w]=arguments[w];return function(b){return p.reduceRight(function(E,P){return P(E)},b)}})(n,o,u,c)(a)}]},le={configIsRequired:"the configuration object is required",configType:"the configuration object should be an object",default:"an unknown error accured in `@monaco-editor/loader` package",deprecation:`Deprecation warning!
6
+ */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react");function me(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function re(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function ne(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?re(Object(r),!0).forEach(function(n){me(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):re(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function oe(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function ye(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ie(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function ue(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ie(Object(r),!0).forEach(function(n){ye(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ie(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function D(e){return function t(){for(var r=this,n=arguments.length,o=new Array(n),u=0;u<n;u++)o[u]=arguments[u];return o.length>=e.length?e.apply(this,o):function(){for(var c=arguments.length,a=new Array(c),g=0;g<c;g++)a[g]=arguments[g];return t.apply(r,[].concat(o,a))}}}function U(e){return{}.toString.call(e).includes("Object")}function q(e){return typeof e=="function"}var S=D(function(e,t){throw new Error(e[t]||e.default)})({initialIsRequired:"initial state is required",initialType:"initial state should be an object",initialContent:"initial state shouldn't be an empty object",handlerType:"handler should be an object or a function",handlersType:"all handlers should be a functions",selectorType:"selector should be a function",changeType:"provided value of changes should be an object",changeField:'it seams you want to change a field in the state which is not specified in the "initial" state',default:"an unknown error accured in `state-local` package"}),ve=function(e,t){return U(t)||S("changeType"),Object.keys(t).some(function(r){return n=e,o=r,!Object.prototype.hasOwnProperty.call(n,o);var n,o})&&S("changeField"),t},be=function(e){q(e)||S("selectorType")},Oe=function(e){q(e)||U(e)||S("handlerType"),U(e)&&Object.values(e).some(function(t){return!q(t)})&&S("handlersType")},we=function(e){var t;e||S("initialIsRequired"),U(e)||S("initialType"),t=e,Object.keys(t).length||S("initialContent")};function je(e,t){return q(t)?t(e.current):t}function Me(e,t){return e.current=ue(ue({},e.current),t),t}function Ee(e,t,r){return q(t)?t(e.current):Object.keys(r).forEach(function(n){var o;return(o=t[n])===null||o===void 0?void 0:o.call(t,e.current[n])}),r}var K,Pe=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};we(e),Oe(t);var r={current:e},n=D(Ee)(r,t),o=D(Me)(r),u=D(ve)(e),c=D(je)(r);return[function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:function(g){return g};return be(a),a(r.current)},function(a){(function(){for(var g=arguments.length,p=new Array(g),w=0;w<g;w++)p[w]=arguments[w];return function(b){return p.reduceRight(function(E,P){return P(E)},b)}})(n,o,u,c)(a)}]},le={configIsRequired:"the configuration object is required",configType:"the configuration object should be an object",default:"an unknown error accured in `@monaco-editor/loader` package",deprecation:`Deprecation warning!
12
7
  You are using deprecated way of configuration.
13
8
 
14
9
  Instead of using
@@ -1,5 +1,5 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.2.6
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.1
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
  "use strict";/**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.2.6
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.1
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
  "use strict";/**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.2.6
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.1
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.