@sheetxl/mcp 0.8.0-beta.17 → 0.8.0-beta.19

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 (221) hide show
  1. package/assets/{Dzz3yrKbECzg6caR.js → -iaCg5U9jrEDEl_O.js} +1 -1
  2. package/assets/{Bcak_hZpcIkB2gJD.js → 0hHP9xpWzhkDrCTL.js} +1 -1
  3. package/assets/{B7OyFSpBb1eBvMVd.js → 1bm0Yqgfehw1Z2QU.js} +13 -13
  4. package/assets/{BodrfKIAhDFD-X3t.js → 2nx2Wljhbuct4aKx.js} +1 -1
  5. package/assets/{IGAV8DdYH32cW8XU.js → 7MIo82Ay8jEFMBH-.js} +1 -1
  6. package/assets/{CJF3P7U7yBQVF2Cg.js → ArL5bPq60ZcPcwU9.js} +1 -1
  7. package/assets/{C2NPIWe0pLs3PAZM.js → B6A2URH-mIs7J54h.js} +2 -2
  8. package/assets/{CfA8o-FNret9-D6Y.js → B7vRFm79CUJ1VvFw.js} +1 -1
  9. package/assets/{4qMP71Fe1Ep8kbOX.js → B8Z4-80QEORmYOJ9.js} +1 -1
  10. package/assets/{Jd71-QCmFEcDcYSw.js → BGLlbVFS6J3lt9Lw.js} +1 -1
  11. package/assets/{BS4ZsfH5D6aemSpO.js → BHsQeg6najGesUM4.js} +1 -1
  12. package/assets/{DsCNtBR5jCeqmLBS.js → BPctZbHQFoqJNYzC.js} +2 -2
  13. package/assets/{B6NnxkSmEzCGZEZA.js → BQkQNqRh5xxYhBy4.js} +1 -1
  14. package/assets/{B8JX7a6VZlBNA_Bd.js → BSNegq0YcivZJmkf.js} +1663 -1663
  15. package/assets/{DE4xC78p5UtS7wH6.js → BTnTQBSbzYU7cwra.js} +1 -1
  16. package/assets/{qgW-p2sFhMtuu5yw.js → BUHEmX1fseJVV65_.js} +1 -1
  17. package/assets/{CwRhhoL5ynbe78dB.js → Bbky1A_gIgE8i0Oy.js} +1 -1
  18. package/assets/{z24-oIqP_fu2hsOt.js → BbvOmnXrmBNjeWjQ.js} +1 -1
  19. package/assets/{DPKeRb9GKmh_WCPv.js → Bbxkz6vmyZJftTd-.js} +1 -1
  20. package/assets/{CqwEHSKivMYw7tRZ.js → BcYdUKmFOf5rn2VZ.js} +1 -1
  21. package/assets/{Mgs_OJP41a-Nfac3.js → BfIJP4H3I51jnIVR.js} +1 -1
  22. package/assets/{Xe7sA_mEwDQpJjcF.js → BgUHR-HVjZDY4SaH.js} +2 -2
  23. package/assets/{DrHVew6gwOB6oxCn.js → BgVW1icycJewsx77.js} +1 -1
  24. package/assets/{lcIaYgz4tQGBlzlo.js → Bgi6ubwGkGYsILci.js} +86 -86
  25. package/assets/{BebXDUnlrDDRGW60.js → BiOrM24CFYL1JGFE.js} +2 -2
  26. package/assets/{CqjNsZ2OB4Kx6J3s.js → Bj1WHx6LIEq6RVGw.js} +8 -8
  27. package/assets/{dcvgOfBmWFTsXoT8.js → Bk6A5eONxLTBIA_p.js} +4 -4
  28. package/assets/{B7Nqa7V-v0cxGBux.js → Bk6SeqUJkn7ft1y1.js} +1 -1
  29. package/assets/{D6ON3ZLcTAXV3fO6.js → BkhdNc3LdmcyAjwk.js} +9803 -7812
  30. package/assets/{D5L35C8cbX16BSCF.js → Bl77DvFa09DuVVuj.js} +1147 -1082
  31. package/assets/{Dre79rTMoYYikNuB.js → Bpf9jHj5AFY9543y.js} +19 -19
  32. package/assets/{oJNJQJEDQCsjHSmo.js → Bq6ocyztkvzKxMMC.js} +1 -1
  33. package/assets/{DF7-oRscXc_vkMo8.js → Bw2Nxye4Qj10uA3o.js} +1 -1
  34. package/assets/{C4deMY87Q_haYyLF.js → Bz1lp0mtNAoPuPve.js} +1 -1
  35. package/assets/{C2ZX6ffXsMaEr2d2.js → BzkTa7l_e7R--ejo.js} +448 -448
  36. package/assets/{iBgLe32XErisaUSr.js → C06iKc7jZ6affk2m.js} +1 -1
  37. package/assets/{BMJhHHX2LWgOJWGz.js → C17Wflhw5IFSgFFY.js} +1 -1
  38. package/assets/{PbBzI4PlKpCgULLd.js → C53f6C0pAU7_9FI-.js} +1 -1
  39. package/assets/{UH_biJmLrI9SvckA.js → C7Q4V5mU0wsErspO.js} +3 -3
  40. package/assets/{kpS1vY0DcE9p8JnI.js → CA_22AL82sRhLAko.js} +2 -2
  41. package/assets/{BT8AGlSg2t7V1QNj.js → CBSSZrizrucIG_9i.js} +764 -767
  42. package/assets/{YQtUMMGmb1_WFsh_.js → CE4VYOniMmY8sXQ_.js} +1 -1
  43. package/assets/{CaJ9j3l0cERnYqDS.js → CIOlYUuBZat8FhHa.js} +1 -1
  44. package/assets/{BvDcHHJvQMRHthm-.js → CIxf9Y_JsuEEO7Nu.js} +1 -1
  45. package/assets/{Bw_FtA-1886HMCLJ.js → CKvP54bJ4GkUqcZi.js} +3 -3
  46. package/assets/{DnTfXqCnRCe-1QYI.js → CNPUPTd9h7hwijpZ.js} +64 -64
  47. package/assets/{DoBvgI3Ry8DlGzwQ.js → CQZq4cA5kbES6htE.js} +1 -1
  48. package/assets/{BjnQVl1lb1KEbt2D.js → CQiv3YkDRDxTjy0r.js} +23 -23
  49. package/assets/{BSY9Tbmz6VEY_F_x.js → CWHuM2GYuKmi0rZx.js} +1 -1
  50. package/assets/{Dgi2xwb2DN2Gybj3.js → CYTPpV3lqNGOwme7.js} +2 -2
  51. package/assets/{CLze192iF2o-aETZ.js → C_v4hb9WXIt639Cm.js} +1 -1
  52. package/assets/{-cMvbaW1kvHslPKX.js → CcGrcjoI12MaDmwV.js} +2 -2
  53. package/assets/{BJBoygm-gY68bLAP.js → Cgf5GQVN-D8SlQ7A.js} +15 -15
  54. package/assets/{D336KioeSjd-T8n3.js → CiJq0zSDKpaKhL3y.js} +2 -2
  55. package/assets/{1feDuXw6tBXu2XFg.js → Cj4MYfqHewu8IOOL.js} +1 -1
  56. package/assets/{BUV7BlOZcuPgDZ__.js → CjoRkjB9NzS4LaFy.js} +1 -1
  57. package/assets/{BjhAYfsKC8iEbtgn.js → CjrzyKFdie6KYfsG.js} +30 -30
  58. package/assets/{Cl7HHR6Vc9S4n3AP.js → CkMXAUkUuJ2LJUBE.js} +1 -1
  59. package/assets/{G2Wjyx_ETCAcofwm.js → CoXgI3MEnvkXeshj.js} +1294 -1267
  60. package/assets/{YFiGplEq1G4XdCJ2.js → CqOzqRIQFCnEegoB.js} +1 -1
  61. package/assets/{CshK6Ew7OQ7mngI3.js → CqvcgwQ0UcKndrhO.js} +2 -2
  62. package/assets/{CMRLNLqYkiqCLMRa.js → CrjUfkCuRaXUC8X8.js} +3 -3
  63. package/assets/{FvxN6PPps-rNPDo8.js → CubwsTFIaEVf039H.js} +1 -1
  64. package/assets/{BmM-nHMAAuNatCcN.js → Cur_-XiBPijLpwxX.js} +1 -1
  65. package/assets/{7TRx0dMYnL2i4tqL.js → Curuj_knAdRpMy1L.js} +265 -265
  66. package/assets/{DDhPOQPc-lpyZrUJ.js → Cz7tKgNBbnr4DZCb.js} +4 -4
  67. package/assets/{C3Q-fjiZZ15waCq_.js → D-LrOz3Yvp17bUT8.js} +2 -2
  68. package/assets/{0kfwZuOHUkJmVjg6.js → D005GbIBowRGfwed.js} +6 -6
  69. package/assets/{BKRLtOdVOUTrLjQN.js → D06A3fKIe3WCTFru.js} +28 -28
  70. package/assets/{8cVPexxAVrFJ9QLX.js → D1ZekPxeTGzhFy2L.js} +1 -1
  71. package/assets/{C46RpMrfF6FiEFI7.js → D1kI9nJRL1RUF3-E.js} +1 -1
  72. package/assets/{B2UxLSteMiPlg8Uu.js → D1nQ_BminCM0cyH0.js} +1 -1
  73. package/assets/{Dkg-LQVsZlrHk7A8.js → D4p9Pv82ECKCOlua.js} +1 -1
  74. package/assets/{DSsH28SW8CMrSL-q.js → D5OYqo56iGB-5gFG.js} +1 -1
  75. package/assets/{COa691om4fLN4CUy.js → D6fQheA4qCS5CxYQ.js} +1 -1
  76. package/assets/{OHBzl-tZOi9Ni8YV.js → D990KjcBrCaAEz5k.js} +1 -1
  77. package/assets/{BQYpVYbvfWuUJgdx.js → DAnSdO8615XsOPNe.js} +1 -1
  78. package/assets/{z7nDK_gfX7G37XbZ.js → DFlL4pAqxaQ_hVe1.js} +115 -115
  79. package/assets/{Cr6lm0oXZJaaoAmD.js → DHL-ZmN5GzB4pIrM.js} +1 -1
  80. package/assets/{BKjovBsLpX2Fkhov.js → DIPDNtbm8FAru-FQ.js} +120 -120
  81. package/assets/{Cz4H3Qge2u8er3Ny.js → DLJH6ppG9VHjHe_z.js} +3 -3
  82. package/assets/{DMuOMpgIhVgB3eG8.js → DNtWf9lfGjzoB9Hy.js} +1 -1
  83. package/assets/{DeEZvPW-VvlE28oE.js → DOg_zvSkhsKmw4q1.js} +3 -3
  84. package/assets/{C7iHn3y3HVBHflpA.js → DS9HD6_BPxzdun0X.js} +33 -33
  85. package/assets/{BgldX21zhey2aR9D.js → DSNaHPvgqymqpsko.js} +1 -1
  86. package/assets/{CUbCBf24Ie4A2l4R.js → DT_kCIZ600UsFy4t.js} +2 -2
  87. package/assets/{B2BfjRdJGZs6afVL.js → DXORLAVmseFlsxkG.js} +2 -2
  88. package/assets/{CWLleOolFzyT0COW.js → DXe8SG12UJoGbbWR.js} +1 -1
  89. package/assets/{DV6WSFmSEKfb3d2s.js → D_6TeeMN5zmoQPTm.js} +108 -108
  90. package/assets/{CLgvdaqeFlESLvbF.js → Di_C31GTbBJ_xVOK.js} +1 -1
  91. package/assets/{BGZ_ltNFYvnAmbVR.js → DnMDfty7pU96BIEJ.js} +1 -1
  92. package/assets/{BlbxiLf1zD6_fWZs.js → DngcuWO2cSuMCMu1.js} +1 -1
  93. package/assets/{D_peM8fbRgGaWvpq.js → DppU35gFSUPaiCQH.js} +1 -1
  94. package/assets/{BdijGsy5W7yZ_I_n.js → DrkfG324qZRPckuC.js} +1 -1
  95. package/assets/{BhCbCEPpDzhg5nqL.js → Ds6LQkRDwXsJ-CFR.js} +1 -1
  96. package/assets/{nQbVdQrfdz3osBdi.js → DtD0J-7IetHv5o6E.js} +3 -3
  97. package/assets/{CsiIgnb_L2x2Go6g.js → DwWcXC4pUR3U2WXU.js} +1 -1
  98. package/assets/{Ljri8sTW3dWT4clD.js → DwcKSqV5YEBBA8hY.js} +1 -1
  99. package/assets/{CyI1eGGzJX8nJXaT.js → DxKZjKyewqvj46S2.js} +2 -2
  100. package/assets/{Bj4BFLBC9Tf6SGSt.js → DxTzG7VM8v4WJ6cI.js} +1 -1
  101. package/assets/{BX5xFncPLyeN7TqA.js → EkavVNuGWG95UggH.js} +5 -5
  102. package/assets/{AnF1Kh3Vo2AniIYO.js → GZJ4AFFt8qKRADOa.js} +2 -2
  103. package/assets/{DYJcfrNUUJQtxXWX.js → Gd_0grQd-3D1VPXW.js} +1 -1
  104. package/assets/{B9M_sgHpoc-op6FF.js → HVm22OJ1gEeY8kii.js} +1 -1
  105. package/assets/{BSAdmOdx3brRE9LW.js → LV6tvjnxRzrWaFb8.js} +1 -1
  106. package/assets/{Bz1ImBvJwPwBrA5j.js → Ln7XTzksutZHFpml.js} +1 -1
  107. package/assets/{CtmrBbpapaNwjwNB.js → Se9JmvmEtu4MfXJh.js} +52 -52
  108. package/assets/{B3mh2tuvP-lMP6f_.js → b6GPrIkdzfTW4f2j.js} +1 -1
  109. package/assets/{MW2nt7se27FlH9Yb.js → bJ-XKvDf7IkAafUI.js} +3 -7
  110. package/assets/{Bni-y4FJS4rkFYtn.js → exNO4fmccU8Aq8cE.js} +2227 -2121
  111. package/assets/gCkru9Vv-Ban4DCD.js +14 -0
  112. package/assets/{B9J8nV-dh6jHpzZI.js → ht0UxaAlRnuYUvpx.js} +1 -1
  113. package/assets/{D0OQ6ka8so0BWPwL.js → iP-shs7tsDGMVvQh.js} +1 -1
  114. package/assets/{BBC_WF8BcAH-k_cQ.js → jPim6WG_KS-ZDker.js} +1 -1
  115. package/assets/{BOx4Ut_Rme7NH34X.js → mrif6ZBbTbZKYaLJ.js} +1 -1
  116. package/assets/{DidhZpf9qJAei29Y.js → rT5f4v0Q_61nHkff.js} +1 -1
  117. package/assets/{APP8AzsNgQXHTalA.js → udbHvSLquJ5xGK3R.js} +2 -2
  118. package/assets/{Bxkx8QokmRNyXbOI.js → vb-L2Q2jyjjgDvJy.js} +6 -6
  119. package/assets/{BJdWgj1hv57eGVl4.js → zEyWjY3NhC8w_spQ.js} +436 -436
  120. package/assets/{D5VFuX1h50V2jLmZ.js → zkoJXSxpRzqfbG8k.js} +201 -200
  121. package/index.js +1164 -1093
  122. package/lib.js +1 -1
  123. package/licenses/dependencies.txt +59 -59
  124. package/package.json +2 -2
  125. package/resources/locales/@sheetxl/sdk/de/model.msg.json +15 -0
  126. package/resources/locales/@sheetxl/sdk/en/model.msg.json +15 -0
  127. package/screenshot-page/assets/{C71ZZMVLfHdPl441.js → 1yHlU53ypZZelMPx.js} +1 -1
  128. package/screenshot-page/assets/A_-Jwzwmm3lkcm2f.js +586 -0
  129. package/screenshot-page/assets/{Btgo0VFTT0JxuaP3.js → B-8IMo2f1yGNXOyz.js} +86 -90
  130. package/screenshot-page/assets/BF6igzahAW9pl35p.js +1 -0
  131. package/screenshot-page/assets/{Bh33WyohJvbKZVQN.js → BU5vg917ZnXC04e-.js} +2 -2
  132. package/screenshot-page/assets/BWDqL5_mwspr6CjI.js +3 -0
  133. package/screenshot-page/assets/BX9VkTqZoroo08EG.js +13 -0
  134. package/screenshot-page/assets/BdDouZl3VrM4yBP5.js +2 -0
  135. package/screenshot-page/assets/{CB2mQ5rbaSw2W4ik.js → BqlVqRKpsFGl-elI.js} +3 -3
  136. package/screenshot-page/assets/{CfkssmHURDicfYvR.js → BuzI4z8RJGOw8BZD.js} +1 -1
  137. package/screenshot-page/assets/{DqXO_Zw1Cp7rAQ04.js → C7mXat-6esc1AmRD.js} +2 -2
  138. package/screenshot-page/assets/{B8qybUclSjEYP5FJ.js → CFl15-2FAF9f3V7L.js} +2 -2
  139. package/screenshot-page/assets/{CUZobZ3mfNAdEisS.js → CJmdRzGWq0FZMrp5.js} +1 -1
  140. package/screenshot-page/assets/{CTjUtxDw6Z2I9OGc.js → CLcTX_nmvaVPsxDl.js} +1 -1
  141. package/screenshot-page/assets/COpZTXe_J1mSpeYD.js +5 -0
  142. package/screenshot-page/assets/{BMf827t1Ul65MHd5.js → CQukCzhuewMuFOlO.js} +1 -1
  143. package/screenshot-page/assets/CZq2dMHs2MHHyyBl.js +1 -0
  144. package/screenshot-page/assets/CaTGa2NvuuE3qJAV.js +1 -0
  145. package/screenshot-page/assets/Cb8ORg9ENgscK6yl.js +2 -0
  146. package/screenshot-page/assets/Chq6rvtA5qZAwYG4.js +1 -0
  147. package/screenshot-page/assets/ClWDZixRy4DFZdI5.js +1 -0
  148. package/screenshot-page/assets/CmNlzN3DCl87wNU2.js +1 -0
  149. package/screenshot-page/assets/CoPUxkU9zZy0dXti.js +2 -0
  150. package/screenshot-page/assets/{DXaM3CulPA3aPGV1.js → Cpwg3bWAqBBcgBmv.js} +2 -2
  151. package/screenshot-page/assets/{BE8ea8S0Q-qogeEs.js → CqogMOf7MzkOk7as.js} +2 -2
  152. package/screenshot-page/assets/{BKwVcuWOKeH2xREA.js → CrUIo7hXByCWY7in.js} +1 -1
  153. package/screenshot-page/assets/Cv-YUArreXqhafcU.js +2 -0
  154. package/screenshot-page/assets/{DgtqX4DiBgkepVZZ.js → Cx1kZ2u_8JFV2Q8D.js} +1 -1
  155. package/screenshot-page/assets/{BD96fN2dSVuoME09.js → Cx9lvo3Q1xOwYkRK.js} +4 -4
  156. package/screenshot-page/assets/D0nZlczIH0ULuSyL.js +3 -0
  157. package/screenshot-page/assets/D1ZZiOS7_HFjpZCA.js +1 -0
  158. package/screenshot-page/assets/D23_69pojBfIh4nV.js +5 -0
  159. package/screenshot-page/assets/D24UBy2L73pOCPPw.js +1 -0
  160. package/screenshot-page/assets/D2q4M3I5Jmxm85P2.js +1 -0
  161. package/screenshot-page/assets/D6LmZnV2h3Kg7G3e.js +1 -0
  162. package/screenshot-page/assets/{BYQZ8o8k3-MDoNat.js → D6Yv5cc1JE7DGd6j.js} +1 -1
  163. package/screenshot-page/assets/DAkSmFRVds51vhiy.js +1 -0
  164. package/screenshot-page/assets/DMhOGCTy8V0N14gY.js +1 -0
  165. package/screenshot-page/assets/DUFPgv-3CtD_sCVO.js +1 -0
  166. package/screenshot-page/assets/{CSMEGhAHxl5-4FxB.js → DeGMS3crYErjsRrw.js} +1 -1
  167. package/screenshot-page/assets/{D_rtIYQ7FDC2CoEn.js → DegZKTNqt1LRnSxY.js} +1 -1
  168. package/screenshot-page/assets/{CT7cY57t9j1sBhAy.js → DjVxI3p3ssmCtYky.js} +1 -1
  169. package/screenshot-page/assets/DknSteOdQ6CdF0RT.js +1 -0
  170. package/screenshot-page/assets/Dt1A-DUBfvyouz_T.js +1 -0
  171. package/screenshot-page/assets/{DcUOAH274IbYOuK1.js → DwNHMH9f_lQyn50d.js} +1 -1
  172. package/screenshot-page/assets/{D0koRjO2KnWQ1fNV.js → DwuLl9Ua1k8m9KcK.js} +1 -1
  173. package/screenshot-page/assets/DzlbsQ0qqdQEl80f.js +1 -0
  174. package/screenshot-page/assets/EY31tFQrw7iYFrr6.js +4 -0
  175. package/screenshot-page/assets/{B1W17rc9ilPFCh31.js → MzJpKWgPrxR1UN-Y.js} +1 -1
  176. package/screenshot-page/assets/{-N4OYIMgf6f5vgNy.js → RutPv2GFWmeBiWvn.js} +1 -1
  177. package/screenshot-page/assets/{DeyRZ5rprDbRbuf4.js → Tj3B5At0OAN3tDza.js} +1 -1
  178. package/screenshot-page/assets/fQ13z3k3bntY-jfw.js +1 -0
  179. package/screenshot-page/assets/oO6aFwepb3DDkGYF.js +39 -0
  180. package/screenshot-page/assets/{DdXSKhFUAsKUsQ1u.js → pH9rKZYDE8xrhkC4.js} +1 -1
  181. package/screenshot-page/assets/qFyplGXRu7IepHio.js +1 -0
  182. package/screenshot-page/assets/w7IQEh1FiqZA6o5y.js +42 -0
  183. package/screenshot-page/assets/zEVoxCTt-ZW8Aowg.js +16 -0
  184. package/screenshot-page/assets/{DtihumgXQ7ETaN0A.js → zvxBjll3jnL0-vNn.js} +2 -2
  185. package/screenshot-page/index.html +12 -11
  186. package/screenshot-page/resources/locales/@sheetxl/sdk/de/model.msg.json +15 -0
  187. package/screenshot-page/resources/locales/@sheetxl/sdk/en/model.msg.json +15 -0
  188. package/types/scripting-api.json +11444 -11299
  189. package/types/scripting-enums.json +22 -1
  190. package/types/scripting.d.ts +631 -15
  191. package/assets/CSLLHl-zum7m1CJl.js +0 -14
  192. package/screenshot-page/assets/7Xk_eQAcM_HgWrOC.js +0 -1
  193. package/screenshot-page/assets/B8UkvH0o9n_G5UO9.js +0 -3
  194. package/screenshot-page/assets/BMwQInar0xVS5FRu.js +0 -1
  195. package/screenshot-page/assets/BNMBa8EZgWX2Eb3c.js +0 -1
  196. package/screenshot-page/assets/BQCyH9YbEgnH78Ke.js +0 -2
  197. package/screenshot-page/assets/BcDxaEii3arJqOym.js +0 -1
  198. package/screenshot-page/assets/Be-rukvcufhLamH5.js +0 -1
  199. package/screenshot-page/assets/C2ty_K_uix4ooip6.js +0 -1
  200. package/screenshot-page/assets/C9mUKjQ3yEzRu9j2.js +0 -2
  201. package/screenshot-page/assets/CCVAsuUimIJOkBnk.js +0 -1
  202. package/screenshot-page/assets/CFfgJlXaIS8QMx5O.js +0 -1
  203. package/screenshot-page/assets/CN8u05DjKwNHbUHN.js +0 -5
  204. package/screenshot-page/assets/COoMVTzF50qBNFEu.js +0 -39
  205. package/screenshot-page/assets/C_OuKbe6z1it80cj.js +0 -1
  206. package/screenshot-page/assets/Cbcv49b9jWyY4HKj.js +0 -2
  207. package/screenshot-page/assets/CtZFqwLoeJOvwFrl.js +0 -42
  208. package/screenshot-page/assets/Cz6KFmsp267l_VZS.js +0 -1
  209. package/screenshot-page/assets/D6CzedWHXTesD55R.js +0 -1
  210. package/screenshot-page/assets/DCP8JXEeiwAMiVD2.js +0 -1
  211. package/screenshot-page/assets/DQAZPADvH5lhlMnK.js +0 -1
  212. package/screenshot-page/assets/DQBUH0j44Vtrykua.js +0 -13
  213. package/screenshot-page/assets/DRncpwDkZZX8rL9S.js +0 -20
  214. package/screenshot-page/assets/DSKOOgcJQeqIc9Us.js +0 -3
  215. package/screenshot-page/assets/DTrnAtpccj55fGg5.js +0 -1
  216. package/screenshot-page/assets/Djl40tfWoPJSvqtv.js +0 -1
  217. package/screenshot-page/assets/LYyM_ig973jLdOU0.js +0 -2
  218. package/screenshot-page/assets/TCImIYUUdVD4Z35I.js +0 -1
  219. package/screenshot-page/assets/Tph2vYqw17-NBCtd.js +0 -1
  220. package/screenshot-page/assets/dQsis-90Up-pIkSq.js +0 -4
  221. package/screenshot-page/assets/dXn1GWWjYmuLb1HF.js +0 -586
@@ -1,12 +1,12 @@
1
1
  /**
2
- * @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v0.8.0-beta.17
2
+ * @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v0.8.0-beta.19
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
6
6
  */
7
- import { C as t, F as e, U as n } from "./BJBoygm-gY68bLAP.js";
8
- import { d as r } from "./MW2nt7se27FlH9Yb.js";
9
- import { Kt as s, U as o, pr as i, xr as a } from "./Bni-y4FJS4rkFYtn.js";
7
+ import { C as t, F as e, U as n } from "./Cgf5GQVN-D8SlQ7A.js";
8
+ import { u as r } from "./bJ-XKvDf7IkAafUI.js";
9
+ import { Dr as s, E as o, I as i, Q as a } from "./exNO4fmccU8Aq8cE.js";
10
10
  var l = [
11
11
  "customMenu",
12
12
  "description",
@@ -331,9 +331,9 @@ var l = [
331
331
  toString() {
332
332
  return this._parts.join("");
333
333
  }
334
- }, J = (t) => t.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/"/g, "&quot;"), K = (t) => "1" === t || "true" === t || "0" !== t && "false" !== t && null, _ = (t) => t ? "1" : "0", X = /^[-+]?(?:\d+\.?\d*|\.\d+)(?:[eE][-+]?\d+)?$/, Y = (t) => {
335
- const e = K(t);
336
- return null !== e ? _(e) : X.test(t) ? String(Number(t)) : t;
334
+ }, J = (t) => t.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/"/g, "&quot;"), _ = (t) => "1" === t || "true" === t || "0" !== t && "false" !== t && null, K = (t) => t ? "1" : "0", X = /^[-+]?(?:\d+\.?\d*|\.\d+)(?:[eE][-+]?\d+)?$/, Y = (t) => {
335
+ const e = _(t);
336
+ return null !== e ? K(e) : X.test(t) ? String(Number(t)) : t;
337
337
  }, Q = /* @__PURE__ */ new Set([
338
338
  "date1904",
339
339
  "roundedCorners",
@@ -482,14 +482,14 @@ var l = [
482
482
  return e;
483
483
  })(t);
484
484
  if (void 0 === n) return;
485
- if ("bool" === e) return null === n || (K(n) ?? void 0);
485
+ if ("bool" === e) return null === n || (_(n) ?? void 0);
486
486
  if (null === n) return;
487
487
  if ("str" === e) return n;
488
488
  const r = Number(n);
489
489
  return Number.isFinite(r) && ("int" !== e || Number.isInteger(r)) && Y(String(r)) === Y(n) ? r : void 0;
490
490
  },
491
491
  write: (n, s) => {
492
- n.val(st(r, t), "bool" === e ? _(s) : String(s));
492
+ n.val(st(r, t), "bool" === e ? K(s) : String(s));
493
493
  }
494
494
  }), it = (t, e = t, n = "c") => ({
495
495
  tags: [t],
@@ -517,11 +517,11 @@ var l = [
517
517
  key: n,
518
518
  read: (t) => {
519
519
  if ("str" === e) return t;
520
- if ("bool" === e) return K(t) ?? void 0;
520
+ if ("bool" === e) return _(t) ?? void 0;
521
521
  const n = Number(t);
522
522
  return Number.isFinite(n) && ("int" !== e || Number.isInteger(n)) ? 1 === r ? n : n / r : void 0;
523
523
  },
524
- write: (t) => "bool" === e ? _(t) : "str" === e ? t : String(1 === r ? t : Math.round(t * r))
524
+ write: (t) => "bool" === e ? K(t) : "str" === e ? t : String(1 === r ? t : Math.round(t * r))
525
525
  }), dt = (t, e, n, r) => ({
526
526
  name: t,
527
527
  key: e,
@@ -735,7 +735,7 @@ var l = [
735
735
  if (!n) return;
736
736
  const r = { type: e.Type.Gradient };
737
737
  if (void 0 !== n.rotWithShape) {
738
- const t = K(n.rotWithShape);
738
+ const t = _(n.rotWithShape);
739
739
  if (null === t) return;
740
740
  r.isRotatedWithShape = t;
741
741
  }
@@ -759,7 +759,7 @@ var l = [
759
759
  r.angle = (Number(t.ang) / 6e4 + 90) % 360;
760
760
  }
761
761
  if (void 0 !== t.scaled) {
762
- const e = K(t.scaled);
762
+ const e = _(t.scaled);
763
763
  if (null === e) return;
764
764
  r.scaled = e;
765
765
  }
@@ -817,7 +817,7 @@ var l = [
817
817
  case e.Type.Gradient:
818
818
  ((t, n) => {
819
819
  const r = [];
820
- if (void 0 !== n.flip && r.push(["flip", n.flip]), void 0 !== n.isRotatedWithShape && r.push(["rotWithShape", _(n.isRotatedWithShape)]), t.open(ut("gradFill"), r), n.stops) {
820
+ if (void 0 !== n.flip && r.push(["flip", n.flip]), void 0 !== n.isRotatedWithShape && r.push(["rotWithShape", K(n.isRotatedWithShape)]), t.open(ut("gradFill"), r), n.stops) {
821
821
  t.open(ut("gsLst"));
822
822
  for (const e of n.stops) {
823
823
  const { offset: n, color: r } = "string" == typeof e ? {
@@ -830,7 +830,7 @@ var l = [
830
830
  }
831
831
  if (n.gradientType === e.GradientType.Linear) {
832
832
  const e = [];
833
- void 0 !== n.angle && e.push(["ang", String(Math.round((n.angle - 90 + 360) % 360 * 6e4))]), void 0 !== n.scaled && e.push(["scaled", _(n.scaled)]), t.open(ut("lin"), e, !0);
833
+ void 0 !== n.angle && e.push(["ang", String(Math.round((n.angle - 90 + 360) % 360 * 6e4))]), void 0 !== n.scaled && e.push(["scaled", K(n.scaled)]), t.open(ut("lin"), e, !0);
834
834
  } else if (void 0 !== n.gradientType) {
835
835
  const r = n.gradientType === e.GradientType.Path ? "circle" : n.gradientType;
836
836
  n.focus ? (t.open(ut("path"), [["path", r]]), St(t, "fillToRect", {
@@ -981,13 +981,13 @@ var l = [
981
981
  lt("altLang", "str", "alternateLanguage"),
982
982
  lt("sz", "int", "size", 100),
983
983
  dt("b", "weight", (t) => {
984
- const e = K(t);
984
+ const e = _(t);
985
985
  return null === e ? void 0 : e ? 700 : 400;
986
- }, (t) => _(t >= 600)),
986
+ }, (t) => K(t >= 600)),
987
987
  dt("i", "style", (t) => {
988
- const e = K(t);
988
+ const e = _(t);
989
989
  return null === e ? void 0 : e ? "italic" : "normal";
990
- }, (t) => _("italic" === t)),
990
+ }, (t) => K("italic" === t)),
991
991
  jt("u", "underline", {
992
992
  none: "none",
993
993
  words: "words",
@@ -1137,9 +1137,9 @@ var l = [
1137
1137
  it("formatCode"),
1138
1138
  ot("ptCount", "int"),
1139
1139
  at("pt", zt, "points", { many: !0 })
1140
- ] }, Ht = { fields: [ot("ptCount", "int"), at("pt", zt, "points", { many: !0 })] }, Gt = { fields: [ot("ptCount", "int"), at("lvl", { fields: [at("pt", zt, "points", { many: !0 })] }, "levels", { many: !0 })] }, qt = { fields: [it("f"), at("numCache", Vt, "cache")] }, Jt = { fields: [it("f"), at("strCache", Ht, "cache")] }, Kt = { fields: [it("f"), at("multiLvlStrCache", Gt, "cache")] }, _t = at("datalabelsRange", { fields: [it("f", "f", "c15"), at("dlblRangeCache", Ht, "cache", { ns: "c15" })] }, "datalabelsRange", { ns: "c15" }), Xt = {
1141
- ..._t,
1142
- read: (t, e, n) => e[A.c15] === R ? _t.read(t, e, n) : void 0
1140
+ ] }, Ht = { fields: [ot("ptCount", "int"), at("pt", zt, "points", { many: !0 })] }, Gt = { fields: [ot("ptCount", "int"), at("lvl", { fields: [at("pt", zt, "points", { many: !0 })] }, "levels", { many: !0 })] }, qt = { fields: [it("f"), at("numCache", Vt, "cache")] }, Jt = { fields: [it("f"), at("strCache", Ht, "cache")] }, _t = { fields: [it("f"), at("multiLvlStrCache", Gt, "cache")] }, Kt = at("datalabelsRange", { fields: [it("f", "f", "c15"), at("dlblRangeCache", Ht, "cache", { ns: "c15" })] }, "datalabelsRange", { ns: "c15" }), Xt = {
1141
+ ...Kt,
1142
+ read: (t, e, n) => e[A.c15] === R ? Kt.read(t, e, n) : void 0
1143
1143
  }, Yt = ot("showDataLabelsRange", "bool", "showDataLabelsRange", "c15"), Qt = {
1144
1144
  ...Yt,
1145
1145
  read: (t, e, n) => e[A.c15] === R ? Yt.read(t, e, n) : void 0
@@ -1148,7 +1148,7 @@ var l = [
1148
1148
  fields: [Xt, Qt],
1149
1149
  declares: (t) => void 0 !== t.datalabelsRange || void 0 !== t.showDataLabelsRange ? [[`xmlns:${A.c15}`, R]] : []
1150
1150
  }, "extensions", { many: !0 })] }, te = { fields: [
1151
- at("multiLvlStrRef", Kt),
1151
+ at("multiLvlStrRef", _t),
1152
1152
  at("numRef", qt),
1153
1153
  at("numLit", Vt),
1154
1154
  at("strRef", Jt),
@@ -1753,12 +1753,12 @@ var l = [
1753
1753
  ot("plotVisOnly", "bool"),
1754
1754
  ot("dispBlanksAs", "str"),
1755
1755
  ot("showDLblsOverMax", "bool")
1756
- ] }, Ke = { fields: [it("name"), ot("fmtId", "int")] }, _e = { fields: [
1756
+ ] }, _e = { fields: [it("name"), ot("fmtId", "int")] }, Ke = { fields: [
1757
1757
  ot("date1904", "bool"),
1758
1758
  ot("lang", "str"),
1759
1759
  ot("roundedCorners", "bool"),
1760
1760
  ot("style", "int"),
1761
- at("pivotSource", Ke),
1761
+ at("pivotSource", _e),
1762
1762
  at("chart", Je),
1763
1763
  Bt(),
1764
1764
  Wt()
@@ -1769,7 +1769,7 @@ var l = [
1769
1769
  if (!E(G(e, n))) return null;
1770
1770
  const r = new tt(t, n);
1771
1771
  return {
1772
- model: nt(e, _e, W, r),
1772
+ model: nt(e, Ke, W, r),
1773
1773
  kept: r.kept,
1774
1774
  reordered: r.reordered
1775
1775
  };
@@ -1789,7 +1789,7 @@ var l = [
1789
1789
  n(A.c, j), n(A.a, $), n(A.r, O);
1790
1790
  const r = new q().raw(Ye);
1791
1791
  return ((t, e) => {
1792
- rt(t, "c:chartSpace", e, _e);
1792
+ rt(t, "c:chartSpace", e, Ke);
1793
1793
  })(r, {
1794
1794
  ...t,
1795
1795
  unknown: {
@@ -2128,7 +2128,7 @@ var l = [
2128
2128
  delete: !0
2129
2129
  }))];
2130
2130
  return n.length > 0 && (e.labels = n), e;
2131
- }, Kn = (t, e) => {
2131
+ }, _n = (t, e) => {
2132
2132
  const n = (t ?? []).map((t) => ({ ...t }));
2133
2133
  for (const t of [...e ?? []].sort((t, e) => t - e)) {
2134
2134
  const e = n.find((e) => e.idx === t);
@@ -2138,7 +2138,7 @@ var l = [
2138
2138
  });
2139
2139
  }
2140
2140
  return n.length > 0 ? n : void 0;
2141
- }, _n = (t) => {
2141
+ }, Kn = (t) => {
2142
2142
  if (!t) return;
2143
2143
  const { subtotals: e, ...n } = t;
2144
2144
  return Object.keys(n).length > 0 ? n : void 0;
@@ -2164,9 +2164,9 @@ var l = [
2164
2164
  uniqueId: t.uniqueId,
2165
2165
  tx: Hn(t.tx),
2166
2166
  spPr: t.spPr,
2167
- points: Kn(t.points, t.layoutPr?.subtotals),
2167
+ points: _n(t.points, t.layoutPr?.subtotals),
2168
2168
  dLbls: Jn(t.dataLabels),
2169
- layoutPr: _n(t.layoutPr),
2169
+ layoutPr: Kn(t.layoutPr),
2170
2170
  unknown: t.unknown
2171
2171
  });
2172
2172
  for (const t of e?.dimensions ?? []) {
@@ -2180,9 +2180,9 @@ var l = [
2180
2180
  uniqueId: t.uniqueId,
2181
2181
  tx: Hn(t.tx),
2182
2182
  spPr: t.spPr,
2183
- points: Kn(t.points, t.layoutPr?.subtotals),
2183
+ points: _n(t.points, t.layoutPr?.subtotals),
2184
2184
  dLbls: Jn(t.dataLabels),
2185
- layoutPr: _n(t.layoutPr),
2185
+ layoutPr: Kn(t.layoutPr),
2186
2186
  axIds: t.axisIds,
2187
2187
  unknown: t.unknown
2188
2188
  }), tr = (t, e) => {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v0.8.0-beta.17
2
+ * @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v0.8.0-beta.19
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
@@ -1,7 +1,7 @@
1
1
  /**
2
- * @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v0.8.0-beta.17
2
+ * @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v0.8.0-beta.19
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
6
6
  */
7
- export { r as addSubpathsBounds, n as decorateSubpaths, i as emptyBox, t as subpathsToSVG } from "./CshK6Ew7OQ7mngI3.js";
7
+ export { r as addSubpathsBounds, n as decorateSubpaths, i as emptyBox, t as subpathsToSVG } from "./CqvcgwQ0UcKndrhO.js";
@@ -1,10 +1,10 @@
1
1
  /**
2
- * @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v0.8.0-beta.17
2
+ * @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v0.8.0-beta.19
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
6
6
  */
7
- import { i as t, n as e, r as n, t as r } from "./CshK6Ew7OQ7mngI3.js";
7
+ import { i as t, n as e, r as n, t as r } from "./CqvcgwQ0UcKndrhO.js";
8
8
  var s = 6e4, a = Math.PI / 180 / s, c = 108e5 / Math.PI, o = /^[+-]?\d+$/, u = (t) => o.test(t) ? Number(t) : t, i = /* @__PURE__ */ new WeakMap();
9
9
  function h(t) {
10
10
  let e = i.get(t);
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v0.8.0-beta.17
2
+ * @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v0.8.0-beta.19
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
@@ -1,12 +1,12 @@
1
1
  /**
2
- * @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v0.8.0-beta.17
2
+ * @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v0.8.0-beta.19
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
6
6
  */
7
- import { ht as e } from "./CfA8o-FNret9-D6Y.js";
8
- import { c as t, i as n, p as a } from "./MW2nt7se27FlH9Yb.js";
9
- import { c as r, s as i } from "./0kfwZuOHUkJmVjg6.js";
7
+ import { ht as e } from "./B7vRFm79CUJ1VvFw.js";
8
+ import { c as t, f as n, i as a } from "./bJ-XKvDf7IkAafUI.js";
9
+ import { c as r, s as i } from "./D005GbIBowRGfwed.js";
10
10
  var o = /* @__PURE__ */ new Map([["IReferenceRange", "p"], ["IRange", "r"]]), s = new Set(Object.values(t).filter((e) => e !== t.Omitted)), l = /* @__PURE__ */ new Map([
11
11
  ["IWorkbook", "workbook"],
12
12
  ["IWorksheet", "sheet"],
@@ -20,9 +20,9 @@ var o = /* @__PURE__ */ new Map([["IReferenceRange", "p"], ["IRange", "r"]]), s
20
20
  }, m = /* @__PURE__ */ new Map([
21
21
  ["Scalar", "*"],
22
22
  ["Lambda", "l"],
23
- ["FormulaError.Known", a.Error],
24
- ["Date", n.Date],
25
- ["IRichData", n.RichData]
23
+ ["FormulaError.Known", n.Error],
24
+ ["Date", a.Date],
25
+ ["IRichData", a.RichData]
26
26
  ]), c = /* @__PURE__ */ new Map([["Repeating", "repeating"]]), p = /* @__PURE__ */ new Set(["Flatten", "SheetXL.Flatten"]), g = /* @__PURE__ */ new Set(["AcceptError"]), y = /* @__PURE__ */ new Set(["Omittable"]), f = /* @__PURE__ */ new Set(["NoLift"]), h = /* @__PURE__ */ new Set(["NoFilter"]), v = /* @__PURE__ */ new Set(["Lazy"]), $ = /* @__PURE__ */ new Set(["ReportType"]), b = /^[a-zA-Z_-￿][a-zA-Z0-9_.-￿]*$/, T = /^([a-z]{1,3})([0-9]+)$/i, w = /^r[0-9]*c[0-9]*$/i, x = "SheetXL", S = (e) => {
27
27
  const t = e.typeName.getText();
28
28
  return t.startsWith(`${x}.`) ? t.slice(8) : t;
@@ -62,7 +62,7 @@ var k = /* @__PURE__ */ new Map([["Volatile", () => ({ volatile: !0 })], [`${x}.
62
62
  }
63
63
  return t.replace(/\r\n?/g, "\n").split(/\n[^\S\n]*\n\s*/).map((e) => e.split("\n").map((e) => e.trim()).filter(Boolean).join(" ")).filter(Boolean).join("\n").trim();
64
64
  };
65
- function I(t, n, u, I) {
65
+ function I(t, a, u, I) {
66
66
  const E = I?.builtInNames?.length ? new Set(I.builtInNames.map((e) => e.toUpperCase())) : null, F = [], D = /* @__PURE__ */ new Map(), M = [];
67
67
  let C = null;
68
68
  const P = (e, t, n, a) => {
@@ -114,7 +114,7 @@ function I(t, n, u, I) {
114
114
  Q(o[0], e, r, !1, { count: 0 }), s = e.scalar ?? "*";
115
115
  }
116
116
  return a.lambda = s, !0;
117
- }, G = /* @__PURE__ */ new Map(), B = /* @__PURE__ */ new Map(), _ = /* @__PURE__ */ new Map(), J = /* @__PURE__ */ new Set(), q = /* @__PURE__ */ new WeakSet(), W = (e) => void 0 !== e && e.getSourceFile() === n, X = (t, n = !1) => t.getJsDocTags(u).find((e) => "name" === e.name)?.text?.map((e) => e.text).join("").trim() || (n ? e.camelToPrettyCase(t.name) : t.name), Z = (e) => {
117
+ }, G = /* @__PURE__ */ new Map(), B = /* @__PURE__ */ new Map(), _ = /* @__PURE__ */ new Map(), J = /* @__PURE__ */ new Set(), q = /* @__PURE__ */ new WeakSet(), W = (e) => void 0 !== e && e.getSourceFile() === a, X = (t, n = !1) => t.getJsDocTags(u).find((e) => "name" === e.name)?.text?.map((e) => e.text).join("").trim() || (n ? e.camelToPrettyCase(t.name) : t.name), Z = (e) => {
118
118
  const t = e.getJsDocTags(u).find((e) => "deprecated" === e.name);
119
119
  if (t) return t.text?.map((e) => e.text).join("").trim() || !0;
120
120
  }, H = (e, i) => {
@@ -122,11 +122,11 @@ function I(t, n, u, I) {
122
122
  if (o) {
123
123
  if (l && l.flags & t.SymbolFlags.Alias) return void U(e, r.EnumNotLocal, `'${o.getText()}' is imported, so its declaration cannot be read: '${i}'. An enum must be declared in the module that uses it.`);
124
124
  if (!(l && l.flags & t.SymbolFlags.Type)) {
125
- const a = o.getText();
126
- return (l ? 0 !== (l.flags & t.SymbolFlags.Variable) : n.statements.some((e) => t.isVariableStatement(e) && e.declarationList.declarations.some((e) => t.isIdentifier(e.name) && e.name.text === a))) ? void U(e, r.EnumMissingAlias, `'${a}' is a value, not a type: '${i}'. Pair the object with a same-name type — 'type ${a} = typeof ${a}[keyof typeof ${a}];' — or declare it as 'enum ${a} { … }'.`) : null;
125
+ const n = o.getText();
126
+ return (l ? 0 !== (l.flags & t.SymbolFlags.Variable) : a.statements.some((e) => t.isVariableStatement(e) && e.declarationList.declarations.some((e) => t.isIdentifier(e.name) && e.name.text === n))) ? void U(e, r.EnumMissingAlias, `'${n}' is a value, not a type: '${i}'. Pair the object with a same-name type — 'type ${n} = typeof ${n}[keyof typeof ${n}];' — or declare it as 'enum ${n} { … }'.`) : null;
127
127
  }
128
- const a = G.get(l);
129
- if (void 0 !== a) return a;
128
+ const n = G.get(l);
129
+ if (void 0 !== n) return n;
130
130
  if (J.has(l)) return;
131
131
  }
132
132
  const d = [];
@@ -200,7 +200,7 @@ function I(t, n, u, I) {
200
200
  }
201
201
  const y = {
202
202
  id: p,
203
- type: c ? a.Number : a.String,
203
+ type: c ? n.Number : n.String,
204
204
  members: d.map(([e, t, , , n]) => n ? [
205
205
  e,
206
206
  t,
@@ -215,100 +215,100 @@ function I(t, n, u, I) {
215
215
  f && (e.summary = f), Object.keys(h).length > 0 && (e.members = h), _.set(y, e);
216
216
  }
217
217
  return y;
218
- }, Q = (e, n, i, s, u, b = !1, T = !1, w = !1) => {
218
+ }, Q = (e, a, i, s, u, b = !1, T = !1, w = !1) => {
219
219
  if (e) {
220
- if (e.kind === t.SyntaxKind.ParenthesizedType) return Q(e.type, n, i, s, u, b, T, w);
220
+ if (e.kind === t.SyntaxKind.ParenthesizedType) return Q(e.type, a, i, s, u, b, T, w);
221
221
  if (e.kind === t.SyntaxKind.UnionType) {
222
- const a = (e) => e.kind === t.SyntaxKind.UndefinedKeyword || e.kind === t.SyntaxKind.VoidKeyword || e.kind === t.SyntaxKind.NullKeyword || e.kind === t.SyntaxKind.LiteralType && e.literal?.kind === t.SyntaxKind.NullKeyword, l = e.types.filter((e) => !a(e));
223
- if (1 === l.length) return Q(l[0], n, i, s, u, b, T, w);
224
- const d = H(e, n.name ?? z(e));
222
+ const n = (e) => e.kind === t.SyntaxKind.UndefinedKeyword || e.kind === t.SyntaxKind.VoidKeyword || e.kind === t.SyntaxKind.NullKeyword || e.kind === t.SyntaxKind.LiteralType && e.literal?.kind === t.SyntaxKind.NullKeyword, l = e.types.filter((e) => !n(e));
223
+ if (1 === l.length) return Q(l[0], a, i, s, u, b, T, w);
224
+ const d = H(e, a.name ?? z(e));
225
225
  if (void 0 === d) return;
226
- if (null !== d) return n.scalar = d.type, void (s && (n.enum = d));
227
- if (!s) return void (n.scalar = "*");
226
+ if (null !== d) return a.scalar = d.type, void (s && (a.enum = d));
227
+ if (!s) return void (a.scalar = "*");
228
228
  if (2 === l.length) {
229
- const e = (e) => e.kind === t.SyntaxKind.TypeReference && t.isTypeReferenceNode(e) && "Lambda" === S(e), a = l.findIndex(e);
230
- if (a >= 0 && !e(l[1 - a])) return Q(l[1 - a], n, i, s, u, b, T, w), void V(l[a], S(l[a]), n, i, s);
229
+ const e = (e) => e.kind === t.SyntaxKind.TypeReference && t.isTypeReferenceNode(e) && "Lambda" === S(e), n = l.findIndex(e);
230
+ if (n >= 0 && !e(l[1 - n])) return Q(l[1 - n], a, i, s, u, b, T, w), void V(l[n], S(l[n]), a, i, s);
231
231
  }
232
232
  if (s && 2 === l.length) {
233
233
  const e = (e) => {
234
234
  if (e.kind === t.SyntaxKind.TypeReference && !e.typeArguments?.length) return o.get(S(e));
235
- }, a = l.findIndex((t) => void 0 !== e(t));
236
- if (a >= 0 && void 0 === e(l[1 - a])) {
235
+ }, n = l.findIndex((t) => void 0 !== e(t));
236
+ if (n >= 0 && void 0 === e(l[1 - n])) {
237
237
  const t = {}, r = u.count;
238
- if (Q(l[1 - a], t, i, s, u, b, !1), t.scalar && !t.range && null == t.lambda && u.count === r) {
239
- n.range = e(l[a]), n.scalar = t.scalar, n.valueOrRange = !0;
238
+ if (Q(l[1 - n], t, i, s, u, b, !1), t.scalar && !t.range && null == t.lambda && u.count === r) {
239
+ a.range = e(l[n]), a.scalar = t.scalar, a.valueOrRange = !0;
240
240
  const r = t.enum;
241
- r && (n.enum = r);
241
+ r && (a.enum = r);
242
242
  return;
243
243
  }
244
244
  }
245
245
  }
246
246
  if (s && 2 === l.length) {
247
- const a = (e) => e.kind === t.SyntaxKind.TypeReference && !e.typeArguments?.length && "Scalar" === S(e), r = l.findIndex(a);
248
- if (r >= 0 && !a(l[1 - r])) {
249
- const t = H(l[1 - r], n.name ?? z(e));
247
+ const n = (e) => e.kind === t.SyntaxKind.TypeReference && !e.typeArguments?.length && "Scalar" === S(e), r = l.findIndex(n);
248
+ if (r >= 0 && !n(l[1 - r])) {
249
+ const t = H(l[1 - r], a.name ?? z(e));
250
250
  if (void 0 === t) return;
251
- if (null !== t) return n.scalar = "*", void (n.enum = t);
251
+ if (null !== t) return a.scalar = "*", void (a.enum = t);
252
252
  }
253
253
  }
254
254
  U(e, r.InvalidParamType, `Union parameter types are not supported: '${z(e)}'. Use a single type, optionally with '| null' or '| undefined', 'T | Lambda<…>' for a value-or-lambda slot, 'IRange | Scalar' for a value-or-range slot, or 'E | Scalar' for an uncoerced slot whose values an enum documents.`);
255
255
  return;
256
256
  }
257
- if (e.kind === t.SyntaxKind.NumberKeyword) n.scalar = a.Number;
258
- else if (e.kind === t.SyntaxKind.StringKeyword) n.scalar = a.String;
259
- else if (e.kind === t.SyntaxKind.BooleanKeyword) n.scalar = a.Boolean;
257
+ if (e.kind === t.SyntaxKind.NumberKeyword) a.scalar = n.Number;
258
+ else if (e.kind === t.SyntaxKind.StringKeyword) a.scalar = n.String;
259
+ else if (e.kind === t.SyntaxKind.BooleanKeyword) a.scalar = n.Boolean;
260
260
  else if (e.kind === t.SyntaxKind.UndefinedKeyword || e.kind === t.SyntaxKind.NullKeyword || e.kind === t.SyntaxKind.VoidKeyword) {
261
261
  if (s) return void U(e, r.UndefinedInput, `'undefined' is not a valid type for input: '${z(e)}'.`);
262
- n.scalar = a.Null;
263
- } else if (e.kind === t.SyntaxKind.BigIntKeyword) n.scalar = a.Number;
264
- else if (e.kind === t.SyntaxKind.AnyKeyword) s && (n.range = "*");
262
+ a.scalar = n.Null;
263
+ } else if (e.kind === t.SyntaxKind.BigIntKeyword) a.scalar = n.Number;
264
+ else if (e.kind === t.SyntaxKind.AnyKeyword) s && (a.range = "*");
265
265
  else if (e.kind === t.SyntaxKind.ArrayType) {
266
266
  const t = e.elementType;
267
267
  if (!t) return void U(e, r.UntypedArray, `'Array' must be typed: '${z(e)}'.`);
268
268
  if (s && T) {
269
- const a = n, r = a.name ?? z(e) ?? "parameter", o = a.acceptError;
270
- delete a.acceptError;
269
+ const n = a, r = n.name ?? z(e) ?? "parameter", o = n.acceptError;
270
+ delete n.acceptError;
271
271
  const s = { name: r };
272
- j(t, s, i, !0), o && !s.acceptError && (s.acceptError = !0), a.repeating = [s];
272
+ j(t, s, i, !0), o && !s.acceptError && (s.acceptError = !0), n.repeating = [s];
273
273
  return;
274
274
  }
275
- u.count++, Q(t, n, i, s, u);
275
+ u.count++, Q(t, a, i, s, u);
276
276
  } else if (e.kind !== t.SyntaxKind.TupleType) if (e.kind === t.SyntaxKind.TypeReference) {
277
- const a = S(e);
278
- if (g.has(a)) {
277
+ const n = S(e);
278
+ if (g.has(n)) {
279
279
  const t = z(e);
280
- if (!s) return void U(e, r.InvalidReturnType, `'${a}' is not a valid return type: '${t}'. It describes how an ARGUMENT is received.`);
281
- const o = n;
280
+ if (!s) return void U(e, r.InvalidReturnType, `'${n}' is not a valid return type: '${t}'. It describes how an ARGUMENT is received.`);
281
+ const o = a;
282
282
  if (o.acceptError) return void U(e, r.InvalidParamType, `'${t}' declares 'AcceptError' more than once.`);
283
283
  const l = e.typeArguments;
284
- return l && 1 === l.length ? (o.acceptError = !0, Q(l[0], n, i, s, u, b, T, w)) : void U(e, r.GenericArity, `'${a}' must be typed with exactly 1 type: '${t}'.`);
284
+ return l && 1 === l.length ? (o.acceptError = !0, Q(l[0], a, i, s, u, b, T, w)) : void U(e, r.GenericArity, `'${n}' must be typed with exactly 1 type: '${t}'.`);
285
285
  }
286
- if ($.has(a)) {
287
- const t = n.name ?? z(e);
286
+ if ($.has(n)) {
287
+ const t = a.name ?? z(e);
288
288
  if (!s) return void U(e, r.InvalidReturnType, `'ReportType' is not a valid return type: '${t}'. It describes how an ARGUMENT is received.`);
289
289
  const o = e.typeArguments;
290
- return o && 1 === o.length ? (n.reportType = !0, Q(o[0], n, i, s, u, b, T, w)) : void U(e, r.GenericArity, `'${a}' must be typed with exactly 1 type: '${t}'.`);
290
+ return o && 1 === o.length ? (a.reportType = !0, Q(o[0], a, i, s, u, b, T, w)) : void U(e, r.GenericArity, `'${n}' must be typed with exactly 1 type: '${t}'.`);
291
291
  }
292
- if (f.has(a)) {
293
- const t = n.name ?? z(e);
292
+ if (f.has(n)) {
293
+ const t = a.name ?? z(e);
294
294
  if (!s) return void U(e, r.InvalidReturnType, `'NoLift' is not a valid return type: '${t}'. It describes how an ARGUMENT is received.`);
295
295
  const o = e.typeArguments;
296
- if (!o || 1 !== o.length) return void U(e, r.GenericArity, `'${a}' must be typed with exactly 1 type: '${t}'.`);
297
- const l = n;
296
+ if (!o || 1 !== o.length) return void U(e, r.GenericArity, `'${n}' must be typed with exactly 1 type: '${t}'.`);
297
+ const l = a;
298
298
  l.noLift = !0;
299
299
  const d = u.count;
300
- Q(o[0], n, i, s, u, b, T, w), (l.range || null != l.lambda || l.repeating || u.count !== d) && U(e, r.InvalidParamType, `'${t}': 'NoLift' applies to a SCALAR parameter only - a range, list, repeating or lambda slot never lifts.`);
300
+ Q(o[0], a, i, s, u, b, T, w), (l.range || null != l.lambda || l.repeating || u.count !== d) && U(e, r.InvalidParamType, `'${t}': 'NoLift' applies to a SCALAR parameter only - a range, list, repeating or lambda slot never lifts.`);
301
301
  return;
302
302
  }
303
- if (h.has(a)) {
304
- const t = n.name ?? z(e);
303
+ if (h.has(n)) {
304
+ const t = a.name ?? z(e);
305
305
  if (!s) return void U(e, r.InvalidReturnType, `'NoFilter' is not a valid return type: '${t}'. It describes how an ARGUMENT is received.`);
306
306
  const o = e.typeArguments;
307
- if (!o || 1 !== o.length) return void U(e, r.GenericArity, `'${a}' must be typed with exactly 1 type: '${t}'.`);
308
- const l = n;
307
+ if (!o || 1 !== o.length) return void U(e, r.GenericArity, `'${n}' must be typed with exactly 1 type: '${t}'.`);
308
+ const l = a;
309
309
  l.noFilter = !0;
310
310
  const d = u.count;
311
- if (Q(o[0], n, i, s, u, b, T, w), l.range || null != l.lambda || u.count !== d) return void U(e, r.InvalidParamType, `'${t}': 'NoFilter' applies to a SCALAR slot only - a range, list or lambda slot has no members to coerce.`);
311
+ if (Q(o[0], a, i, s, u, b, T, w), l.range || null != l.lambda || u.count !== d) return void U(e, r.InvalidParamType, `'${t}': 'NoFilter' applies to a SCALAR slot only - a range, list or lambda slot has no members to coerce.`);
312
312
  const m = l.repeating;
313
313
  if (m) {
314
314
  if (delete l.noFilter, 1 !== m.length) return void U(e, r.InvalidParamType, `'${t}': 'NoFilter' over a repeating group applies to a period-1 group only - write it on the slot that takes the members.`);
@@ -316,54 +316,54 @@ function I(t, n, u, I) {
316
316
  } else T && U(e, r.InvalidParamType, `'${t}': 'NoFilter' applies to a REPEATING slot only - a single scalar argument has no members to coerce.`);
317
317
  return;
318
318
  }
319
- if (y.has(a)) {
320
- const o = n.name ?? z(e);
319
+ if (y.has(n)) {
320
+ const o = a.name ?? z(e);
321
321
  if (!s) return void U(e, r.InvalidReturnType, `'Omittable' is not a valid return type: '${o}'. It describes how an ARGUMENT is received.`);
322
322
  const l = e.typeArguments;
323
- if (!l || l.length < 1 || l.length > 2) return void U(e, r.GenericArity, `'${a}' must be typed with 1 or 2 types: '${o}'.`);
324
- const d = n;
323
+ if (!l || l.length < 1 || l.length > 2) return void U(e, r.GenericArity, `'${n}' must be typed with 1 or 2 types: '${o}'.`);
324
+ const d = a;
325
325
  if (d.omittable = !0, 2 === l.length) {
326
- const n = K(t, l[1]);
327
- if (void 0 === n) return void U(e, r.InvalidParamType, `'${o}' declares '${a}' with a second type that is not a literal value. Use a number, string, boolean or null - the engine substitutes it for an omitted argument.`);
328
- d.omittedValue = n;
326
+ const a = K(t, l[1]);
327
+ if (void 0 === a) return void U(e, r.InvalidParamType, `'${o}' declares '${n}' with a second type that is not a literal value. Use a number, string, boolean or null - the engine substitutes it for an omitted argument.`);
328
+ d.omittedValue = a;
329
329
  }
330
- const m = Q(l[0], n, i, s, u, b, T, w), c = d.omittedValue;
330
+ const m = Q(l[0], a, i, s, u, b, T, w), c = d.omittedValue;
331
331
  return d.enum && null != c && !d.enum.members.some(([, e]) => e === c) && U(l[1], r.EnumOmittedValue, `'${o}': ${JSON.stringify(c)} is not a member of '${d.enum.id}'. An omitted argument must mean a member (${d.enum.members.map(([, e]) => JSON.stringify(e)).join(", ")}) or null.`), m;
332
332
  }
333
- if (v.has(a)) {
334
- const o = n.name ?? z(e);
333
+ if (v.has(n)) {
334
+ const o = a.name ?? z(e);
335
335
  if (!s) return void U(e, r.InvalidReturnType, `'Lazy' is not a valid return type: '${o}'. It describes how an ARGUMENT is received.`);
336
- const l = n;
336
+ const l = a;
337
337
  if (l.lazy) return void U(e, r.InvalidParamType, `'${o}' declares 'Lazy' more than once.`);
338
338
  const d = e.typeArguments;
339
- if (!d || d.length < 1 || d.length > 2) return void U(e, r.GenericArity, `'${a}' must be typed with 1 or 2 types: '${o}'.`);
339
+ if (!d || d.length < 1 || d.length > 2) return void U(e, r.GenericArity, `'${n}' must be typed with 1 or 2 types: '${o}'.`);
340
340
  if (l.lazy = !0, 2 === d.length) {
341
- const n = K(t, d[1]);
342
- if (void 0 === n) return void U(e, r.InvalidParamType, `'${o}' declares '${a}' with a second type that is not a literal value. Use a number, string, boolean or null - the engine substitutes it for an absent argument.`);
343
- l.optional = !0, l.defaultValue = n;
341
+ const a = K(t, d[1]);
342
+ if (void 0 === a) return void U(e, r.InvalidParamType, `'${o}' declares '${n}' with a second type that is not a literal value. Use a number, string, boolean or null - the engine substitutes it for an absent argument.`);
343
+ l.optional = !0, l.defaultValue = a;
344
344
  }
345
- Q(d[0], n, i, s, u, b, T, w), l.enum ? (U(e, r.EnumPosition, `'${o}': 'Lazy' cannot hold the enum '${l.enum.id}'. The argument may never be evaluated, so there is no point at which it could be checked against the members.`), delete l.enum) : null != l.lambda ? U(e, r.InvalidParamType, `'${o}': 'Lazy' cannot be combined with a Lambda parameter - a callable slot is already the body's to call, or not.`) : l.repeating && U(e, r.InvalidParamType, `'${o}': 'Lazy' applies to a VALUE, not to a repeating group - mark the group's slots instead.`);
345
+ Q(d[0], a, i, s, u, b, T, w), l.enum ? (U(e, r.EnumPosition, `'${o}': 'Lazy' cannot hold the enum '${l.enum.id}'. The argument may never be evaluated, so there is no point at which it could be checked against the members.`), delete l.enum) : null != l.lambda ? U(e, r.InvalidParamType, `'${o}': 'Lazy' cannot be combined with a Lambda parameter - a callable slot is already the body's to call, or not.`) : l.repeating && U(e, r.InvalidParamType, `'${o}': 'Lazy' applies to a VALUE, not to a repeating group - mark the group's slots instead.`);
346
346
  return;
347
347
  }
348
- if (p.has(a)) {
349
- const t = n.name ?? z(e);
348
+ if (p.has(n)) {
349
+ const t = a.name ?? z(e);
350
350
  if (!s) return void U(e, r.InvalidReturnType, `'Flatten' is not a valid return type: '${t}'. It describes how an ARGUMENT is received.`);
351
351
  const o = e.typeArguments;
352
- return o && 1 === o.length ? (u.count++, Q(o[0], n, i, s, u, b)) : void U(e, r.GenericArity, `'${a}' must be typed with exactly 1 type: '${t}'.`);
352
+ return o && 1 === o.length ? (u.count++, Q(o[0], a, i, s, u, b)) : void U(e, r.GenericArity, `'${n}' must be typed with exactly 1 type: '${t}'.`);
353
353
  }
354
- if ("repeating" === c.get(a)) {
355
- const o = n.name ?? z(e);
354
+ if ("repeating" === c.get(n)) {
355
+ const o = a.name ?? z(e);
356
356
  if (!s) return void U(e, r.RepeatingPosition, `'Repeating' is not a valid return type: '${o}'.`);
357
357
  if (0 !== u.count) return void U(e, r.RepeatingPosition, `'Repeating' cannot be nested inside another type: '${o}'.`);
358
- const l = n, d = e.typeArguments;
359
- if (!d || d.length < 1 || d.length > 2) return void U(e, r.GenericArity, `'${a}' must be typed with 1 type, optionally followed by a maximum argument count: '${o}'.`);
358
+ const l = a, d = e.typeArguments;
359
+ if (!d || d.length < 1 || d.length > 2) return void U(e, r.GenericArity, `'${n}' must be typed with 1 type, optionally followed by a maximum argument count: '${o}'.`);
360
360
  let m;
361
361
  if (2 === d.length) {
362
- const e = d[1], n = e.kind === t.SyntaxKind.LiteralType ? e.literal : null, s = n && n.kind === t.SyntaxKind.NumericLiteral ? Number(n.text) : NaN;
363
- if (!Number.isInteger(s) || s < 1 || s > 255) return void U(e, r.RepeatingMax, `'${o}': '${a}'’s maximum must be a whole number between 1 and 255.`);
362
+ const e = d[1], a = e.kind === t.SyntaxKind.LiteralType ? e.literal : null, s = a && a.kind === t.SyntaxKind.NumericLiteral ? Number(a.text) : NaN;
363
+ if (!Number.isInteger(s) || s < 1 || s > 255) return void U(e, r.RepeatingMax, `'${o}': '${n}'’s maximum must be a whole number between 1 and 255.`);
364
364
  m = s, i.maxArguments = s;
365
365
  }
366
- if (w) return void 0 === m ? void U(e, r.RepeatingPosition, `'${o}' is a rest parameter and a repeating group. A group already repeats — drop the '...', or give the group a maximum ('Repeating<T, 254>') if the ceiling is all you meant.`) : Q(d[0], n, i, s, u, b, T);
366
+ if (w) return void 0 === m ? void U(e, r.RepeatingPosition, `'${o}' is a rest parameter and a repeating group. A group already repeats — drop the '...', or give the group a maximum ('Repeating<T, 254>') if the ceiling is all you meant.`) : Q(d[0], a, i, s, u, b, T);
367
367
  const c = l.acceptError;
368
368
  delete l.acceptError;
369
369
  const p = ((e, n, a, i) => {
@@ -387,39 +387,39 @@ function I(t, n, u, I) {
387
387
  p && (l.repeating = p);
388
388
  return;
389
389
  }
390
- const R = o.get(a);
390
+ const R = o.get(n);
391
391
  let L = !1;
392
- R && (n.range = R, L = !0);
393
- const I = m.get(a);
394
- if (I && (n.scalar = I), void 0 !== I && (L = !0), V(e, a, n, i, s)) return;
392
+ R && (a.range = R, L = !0);
393
+ const I = m.get(n);
394
+ if (I && (a.scalar = I), void 0 !== I && (L = !0), V(e, n, a, i, s)) return;
395
395
  if (s) {
396
- if ("Volatile" === a || a === `${x}.Volatile`) return void U(e, r.InvalidParamType, `'Volatile' is not a valid parameter type: '${z(e)}'. It describes the function's RESULT, so it belongs on the return type.`);
397
- if (N.has(a)) return A;
398
- const t = l.get(a);
396
+ if ("Volatile" === n || n === `${x}.Volatile`) return void U(e, r.InvalidParamType, `'Volatile' is not a valid parameter type: '${z(e)}'. It describes the function's RESULT, so it belongs on the return type.`);
397
+ if (N.has(n)) return A;
398
+ const t = l.get(n);
399
399
  if (t) return t;
400
- } else if ("Promise" === a) O = e, L = !0;
400
+ } else if ("Promise" === n) O = e, L = !0;
401
401
  else {
402
- const e = k.get(a);
403
- e && (Object.assign(n, e()), L = !0);
402
+ const e = k.get(n);
403
+ e && (Object.assign(a, e()), L = !0);
404
404
  }
405
405
  if (!L) {
406
- const t = H(e, n.name ?? z(e));
406
+ const t = H(e, a.name ?? z(e));
407
407
  if (void 0 === t) return;
408
- if (null !== t) return n.scalar = t.type, void (s && (n.enum = t));
408
+ if (null !== t) return a.scalar = t.type, void (s && (a.enum = t));
409
409
  }
410
410
  if (!L) {
411
- const t = "number, string, boolean, Scalar, Lambda, Date, FormulaError.Known, IRichData, IRange, IReferenceRange (and arrays of these; optionally wrapped in AcceptError<T>, or grouped with Repeating<T>)", n = "number, string, boolean, Scalar, Date, FormulaError.Known, IRichData, IRange, Volatile<T> (and arrays of these)";
411
+ const t = "number, string, boolean, Scalar, Lambda, Date, FormulaError.Known, IRichData, IRange, IReferenceRange (and arrays of these; optionally wrapped in AcceptError<T>, or grouped with Repeating<T>)", a = "number, string, boolean, Scalar, Date, FormulaError.Known, IRichData, IRange, Volatile<T> (and arrays of these)";
412
412
  let i;
413
- i = s ? b ? `'${a}' is not a valid first parameter: '${z(e)}'. The first parameter is EITHER a macro target (making this a macro) OR a calculation input (making this a calculation function). Allowed: ${d.join(", ")} (macro target); ${t} (calculation input).` : `'${a}' is not a valid parameter type: '${z(e)}'. Allowed: ${t}.` : `'${a}' is not a valid return type: '${z(e)}'. Allowed: ${n}.`, U(e, s ? r.InvalidParamType : r.InvalidReturnType, i);
413
+ i = s ? b ? `'${n}' is not a valid first parameter: '${z(e)}'. The first parameter is EITHER a macro target (making this a macro) OR a calculation input (making this a calculation function). Allowed: ${d.join(", ")} (macro target); ${t} (calculation input).` : `'${n}' is not a valid parameter type: '${z(e)}'. Allowed: ${t}.` : `'${n}' is not a valid return type: '${z(e)}'. Allowed: ${a}.`, U(e, s ? r.InvalidParamType : r.InvalidReturnType, i);
414
414
  return;
415
415
  }
416
416
  const E = e.typeArguments;
417
417
  if (E) {
418
- if (1 !== E.length) return void U(e, r.GenericArity, `'${a}' must be typed with exactly 1 type: '${z(e)}'.`);
419
- const o = E[0], l = s && t.isTypeReferenceNode(o) && $.has(S(o)), d = n.reportType;
420
- l && q.add(n), j(o, n, i, s), l && void 0 === d && delete n.reportType;
421
- const u = n.enum;
422
- u && !l && (U(E[0], r.EnumPosition, `'${a}' cannot hold the enum '${u.id}': '${z(e)}'. The members of a range reach the body as they are, so nothing checks them against the enum. Take the enum as a value, or type the range by its scalar ('${a}<${u.type}>').`), delete n.enum);
418
+ if (1 !== E.length) return void U(e, r.GenericArity, `'${n}' must be typed with exactly 1 type: '${z(e)}'.`);
419
+ const o = E[0], l = s && t.isTypeReferenceNode(o) && $.has(S(o)), d = a.reportType;
420
+ l && q.add(a), j(o, a, i, s), l && void 0 === d && delete a.reportType;
421
+ const u = a.enum;
422
+ u && !l && (U(E[0], r.EnumPosition, `'${n}' cannot hold the enum '${u.id}': '${z(e)}'. The members of a range reach the body as they are, so nothing checks them against the enum. Take the enum as a value, or type the range by its scalar ('${n}<${u.type}>').`), delete a.enum);
423
423
  }
424
424
  } else e.kind === t.SyntaxKind.FunctionType && ((e, n, a, i) => {
425
425
  if (!i) return void U(e, r.FunctionReturn, `Function type is not a valid return type: '${z(e)}'. Declare a 'Lambda' return instead.`);
@@ -428,11 +428,11 @@ function I(t, n, u, I) {
428
428
  o && (o.kind === t.SyntaxKind.AnyKeyword ? l = "raw" : (Q(o, s, a, !1, { count: 0 }), l = s.scalar ?? "*"));
429
429
  const d = e.parameters;
430
430
  d && !d.some((e) => e.dotDotDotToken) && (n.lambdaArity = d.length), n.lambda = l;
431
- })(e, n, i, s);
432
- } else U(e, r.MissingType, `Type is not defined for '${n?.name ?? "return"}'.`);
431
+ })(e, a, i, s);
432
+ } else U(e, r.MissingType, `Type is not defined for '${a?.name ?? "return"}'.`);
433
433
  };
434
434
  try {
435
- t.forEachChild(n, (e) => {
435
+ t.forEachChild(a, (e) => {
436
436
  if (a = e, 0 !== (t.getCombinedModifierFlags(a) & t.ModifierFlags.Export) && t.isFunctionDeclaration(e)) {
437
437
  const a = e?.name?.getText();
438
438
  if (!e.body) return void U(e, r.NoBody, `'${a}': function has no body.`);