@powerlines/plugin-alloy 0.25.48 → 0.25.49

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 (334) hide show
  1. package/package.json +6 -6
  2. package/dist/_virtual/_rolldown/runtime.cjs +0 -29
  3. package/dist/_virtual/_rolldown/runtime.mjs +0 -3
  4. package/dist/core/components/index.cjs +0 -10
  5. package/dist/core/components/index.d.cts +0 -5
  6. package/dist/core/components/index.d.mts +0 -5
  7. package/dist/core/components/index.mjs +0 -6
  8. package/dist/core/components/output.cjs +0 -41
  9. package/dist/core/components/output.d.cts +0 -24
  10. package/dist/core/components/output.d.cts.map +0 -1
  11. package/dist/core/components/output.d.mts +0 -24
  12. package/dist/core/components/output.d.mts.map +0 -1
  13. package/dist/core/components/output.mjs +0 -40
  14. package/dist/core/components/output.mjs.map +0 -1
  15. package/dist/core/components/single-line-comment.cjs +0 -23
  16. package/dist/core/components/single-line-comment.d.cts +0 -23
  17. package/dist/core/components/single-line-comment.d.cts.map +0 -1
  18. package/dist/core/components/single-line-comment.d.mts +0 -23
  19. package/dist/core/components/single-line-comment.d.mts.map +0 -1
  20. package/dist/core/components/single-line-comment.mjs +0 -22
  21. package/dist/core/components/single-line-comment.mjs.map +0 -1
  22. package/dist/core/components/source-file.cjs +0 -64
  23. package/dist/core/components/source-file.d.cts +0 -33
  24. package/dist/core/components/source-file.d.cts.map +0 -1
  25. package/dist/core/components/source-file.d.mts +0 -33
  26. package/dist/core/components/source-file.d.mts.map +0 -1
  27. package/dist/core/components/source-file.mjs +0 -62
  28. package/dist/core/components/source-file.mjs.map +0 -1
  29. package/dist/core/components/spacing.cjs +0 -20
  30. package/dist/core/components/spacing.d.cts +0 -24
  31. package/dist/core/components/spacing.d.cts.map +0 -1
  32. package/dist/core/components/spacing.d.mts +0 -24
  33. package/dist/core/components/spacing.d.mts.map +0 -1
  34. package/dist/core/components/spacing.mjs +0 -19
  35. package/dist/core/components/spacing.mjs.map +0 -1
  36. package/dist/core/contexts/context.cjs +0 -41
  37. package/dist/core/contexts/context.d.cts +0 -29
  38. package/dist/core/contexts/context.d.cts.map +0 -1
  39. package/dist/core/contexts/context.d.mts +0 -29
  40. package/dist/core/contexts/context.d.mts.map +0 -1
  41. package/dist/core/contexts/context.mjs +0 -37
  42. package/dist/core/contexts/context.mjs.map +0 -1
  43. package/dist/core/contexts/index.cjs +0 -21
  44. package/dist/core/contexts/index.d.cts +0 -4
  45. package/dist/core/contexts/index.d.mts +0 -4
  46. package/dist/core/contexts/index.mjs +0 -5
  47. package/dist/core/contexts/meta.cjs +0 -41
  48. package/dist/core/contexts/meta.d.cts +0 -48
  49. package/dist/core/contexts/meta.d.cts.map +0 -1
  50. package/dist/core/contexts/meta.d.mts +0 -48
  51. package/dist/core/contexts/meta.d.mts.map +0 -1
  52. package/dist/core/contexts/meta.mjs +0 -37
  53. package/dist/core/contexts/meta.mjs.map +0 -1
  54. package/dist/core/contexts/reflection.cjs +0 -69
  55. package/dist/core/contexts/reflection.d.cts +0 -53
  56. package/dist/core/contexts/reflection.d.cts.map +0 -1
  57. package/dist/core/contexts/reflection.d.mts +0 -53
  58. package/dist/core/contexts/reflection.d.mts.map +0 -1
  59. package/dist/core/contexts/reflection.mjs +0 -61
  60. package/dist/core/contexts/reflection.mjs.map +0 -1
  61. package/dist/core/helpers/code.cjs +0 -34
  62. package/dist/core/helpers/code.d.cts +0 -29
  63. package/dist/core/helpers/code.d.cts.map +0 -1
  64. package/dist/core/helpers/code.d.mts +0 -29
  65. package/dist/core/helpers/code.d.mts.map +0 -1
  66. package/dist/core/helpers/code.mjs +0 -33
  67. package/dist/core/helpers/code.mjs.map +0 -1
  68. package/dist/core/helpers/index.cjs +0 -4
  69. package/dist/core/helpers/index.d.cts +0 -2
  70. package/dist/core/helpers/index.d.mts +0 -2
  71. package/dist/core/helpers/index.mjs +0 -3
  72. package/dist/core/index.cjs +0 -34
  73. package/dist/core/index.d.cts +0 -9
  74. package/dist/core/index.d.mts +0 -9
  75. package/dist/core/index.mjs +0 -13
  76. package/dist/helpers/capnp.cjs +0 -277
  77. package/dist/helpers/capnp.d.cts +0 -87
  78. package/dist/helpers/capnp.d.cts.map +0 -1
  79. package/dist/helpers/capnp.d.mts +0 -87
  80. package/dist/helpers/capnp.d.mts.map +0 -1
  81. package/dist/helpers/capnp.mjs +0 -260
  82. package/dist/helpers/capnp.mjs.map +0 -1
  83. package/dist/helpers/create-builtin.cjs +0 -20
  84. package/dist/helpers/create-builtin.d.cts +0 -16
  85. package/dist/helpers/create-builtin.d.cts.map +0 -1
  86. package/dist/helpers/create-builtin.d.mts +0 -16
  87. package/dist/helpers/create-builtin.d.mts.map +0 -1
  88. package/dist/helpers/create-builtin.mjs +0 -19
  89. package/dist/helpers/create-builtin.mjs.map +0 -1
  90. package/dist/helpers/index.cjs +0 -25
  91. package/dist/helpers/index.d.cts +0 -5
  92. package/dist/helpers/index.d.mts +0 -5
  93. package/dist/helpers/index.mjs +0 -6
  94. package/dist/helpers/refkey.cjs +0 -17
  95. package/dist/helpers/refkey.d.cts +0 -13
  96. package/dist/helpers/refkey.d.cts.map +0 -1
  97. package/dist/helpers/refkey.d.mts +0 -13
  98. package/dist/helpers/refkey.d.mts.map +0 -1
  99. package/dist/helpers/refkey.mjs +0 -16
  100. package/dist/helpers/refkey.mjs.map +0 -1
  101. package/dist/helpers/typescript.cjs +0 -47
  102. package/dist/helpers/typescript.d.cts +0 -26
  103. package/dist/helpers/typescript.d.cts.map +0 -1
  104. package/dist/helpers/typescript.d.mts +0 -26
  105. package/dist/helpers/typescript.d.mts.map +0 -1
  106. package/dist/helpers/typescript.mjs +0 -46
  107. package/dist/helpers/typescript.mjs.map +0 -1
  108. package/dist/index.cjs +0 -48
  109. package/dist/index.d.cts +0 -19
  110. package/dist/index.d.cts.map +0 -1
  111. package/dist/index.d.mts +0 -19
  112. package/dist/index.d.mts.map +0 -1
  113. package/dist/index.mjs +0 -45
  114. package/dist/index.mjs.map +0 -1
  115. package/dist/markdown/components/front-matter.cjs +0 -29
  116. package/dist/markdown/components/front-matter.d.cts +0 -16
  117. package/dist/markdown/components/front-matter.d.cts.map +0 -1
  118. package/dist/markdown/components/front-matter.d.mts +0 -16
  119. package/dist/markdown/components/front-matter.d.mts.map +0 -1
  120. package/dist/markdown/components/front-matter.mjs +0 -28
  121. package/dist/markdown/components/front-matter.mjs.map +0 -1
  122. package/dist/markdown/components/index.cjs +0 -11
  123. package/dist/markdown/components/index.d.cts +0 -4
  124. package/dist/markdown/components/index.d.mts +0 -4
  125. package/dist/markdown/components/index.mjs +0 -5
  126. package/dist/markdown/components/markdown-file.cjs +0 -135
  127. package/dist/markdown/components/markdown-file.d.cts +0 -29
  128. package/dist/markdown/components/markdown-file.d.cts.map +0 -1
  129. package/dist/markdown/components/markdown-file.d.mts +0 -29
  130. package/dist/markdown/components/markdown-file.d.mts.map +0 -1
  131. package/dist/markdown/components/markdown-file.mjs +0 -133
  132. package/dist/markdown/components/markdown-file.mjs.map +0 -1
  133. package/dist/markdown/components/markdown-table.cjs +0 -102
  134. package/dist/markdown/components/markdown-table.d.cts +0 -28
  135. package/dist/markdown/components/markdown-table.d.cts.map +0 -1
  136. package/dist/markdown/components/markdown-table.d.mts +0 -28
  137. package/dist/markdown/components/markdown-table.d.mts.map +0 -1
  138. package/dist/markdown/components/markdown-table.mjs +0 -99
  139. package/dist/markdown/components/markdown-table.mjs.map +0 -1
  140. package/dist/markdown/contexts/index.cjs +0 -7
  141. package/dist/markdown/contexts/index.d.cts +0 -2
  142. package/dist/markdown/contexts/index.d.mts +0 -2
  143. package/dist/markdown/contexts/index.mjs +0 -3
  144. package/dist/markdown/contexts/markdown-table.cjs +0 -38
  145. package/dist/markdown/contexts/markdown-table.d.cts +0 -38
  146. package/dist/markdown/contexts/markdown-table.d.cts.map +0 -1
  147. package/dist/markdown/contexts/markdown-table.d.mts +0 -38
  148. package/dist/markdown/contexts/markdown-table.d.mts.map +0 -1
  149. package/dist/markdown/contexts/markdown-table.mjs +0 -34
  150. package/dist/markdown/contexts/markdown-table.mjs.map +0 -1
  151. package/dist/markdown/index.cjs +0 -18
  152. package/dist/markdown/index.d.cts +0 -5
  153. package/dist/markdown/index.d.mts +0 -5
  154. package/dist/markdown/index.mjs +0 -8
  155. package/dist/render.cjs +0 -91
  156. package/dist/render.d.cts +0 -38
  157. package/dist/render.d.cts.map +0 -1
  158. package/dist/render.d.mts +0 -38
  159. package/dist/render.d.mts.map +0 -1
  160. package/dist/render.mjs +0 -89
  161. package/dist/render.mjs.map +0 -1
  162. package/dist/types/components.cjs +0 -0
  163. package/dist/types/components.d.cts +0 -142
  164. package/dist/types/components.d.cts.map +0 -1
  165. package/dist/types/components.d.mts +0 -142
  166. package/dist/types/components.d.mts.map +0 -1
  167. package/dist/types/components.mjs +0 -1
  168. package/dist/types/index.cjs +0 -0
  169. package/dist/types/index.d.cts +0 -3
  170. package/dist/types/index.d.mts +0 -3
  171. package/dist/types/index.mjs +0 -1
  172. package/dist/types/plugin.cjs +0 -0
  173. package/dist/types/plugin.d.cts +0 -39
  174. package/dist/types/plugin.d.cts.map +0 -1
  175. package/dist/types/plugin.d.mts +0 -39
  176. package/dist/types/plugin.d.mts.map +0 -1
  177. package/dist/types/plugin.mjs +0 -1
  178. package/dist/typescript/components/builtin-file.cjs +0 -63
  179. package/dist/typescript/components/builtin-file.d.cts +0 -35
  180. package/dist/typescript/components/builtin-file.d.cts.map +0 -1
  181. package/dist/typescript/components/builtin-file.d.mts +0 -35
  182. package/dist/typescript/components/builtin-file.d.mts.map +0 -1
  183. package/dist/typescript/components/builtin-file.mjs +0 -62
  184. package/dist/typescript/components/builtin-file.mjs.map +0 -1
  185. package/dist/typescript/components/class-declaration.cjs +0 -291
  186. package/dist/typescript/components/class-declaration.d.cts +0 -145
  187. package/dist/typescript/components/class-declaration.d.cts.map +0 -1
  188. package/dist/typescript/components/class-declaration.d.mts +0 -145
  189. package/dist/typescript/components/class-declaration.d.mts.map +0 -1
  190. package/dist/typescript/components/class-declaration.mjs +0 -285
  191. package/dist/typescript/components/class-declaration.mjs.map +0 -1
  192. package/dist/typescript/components/dynamic-import-statement.cjs +0 -26
  193. package/dist/typescript/components/dynamic-import-statement.d.cts +0 -33
  194. package/dist/typescript/components/dynamic-import-statement.d.cts.map +0 -1
  195. package/dist/typescript/components/dynamic-import-statement.d.mts +0 -33
  196. package/dist/typescript/components/dynamic-import-statement.d.mts.map +0 -1
  197. package/dist/typescript/components/dynamic-import-statement.mjs +0 -25
  198. package/dist/typescript/components/dynamic-import-statement.mjs.map +0 -1
  199. package/dist/typescript/components/entry-file.cjs +0 -43
  200. package/dist/typescript/components/entry-file.d.cts +0 -28
  201. package/dist/typescript/components/entry-file.d.cts.map +0 -1
  202. package/dist/typescript/components/entry-file.d.mts +0 -28
  203. package/dist/typescript/components/entry-file.d.mts.map +0 -1
  204. package/dist/typescript/components/entry-file.mjs +0 -41
  205. package/dist/typescript/components/entry-file.mjs.map +0 -1
  206. package/dist/typescript/components/index.cjs +0 -65
  207. package/dist/typescript/components/index.d.cts +0 -15
  208. package/dist/typescript/components/index.d.mts +0 -15
  209. package/dist/typescript/components/index.mjs +0 -16
  210. package/dist/typescript/components/infrastructure-file.cjs +0 -40
  211. package/dist/typescript/components/infrastructure-file.d.cts +0 -21
  212. package/dist/typescript/components/infrastructure-file.d.cts.map +0 -1
  213. package/dist/typescript/components/infrastructure-file.d.mts +0 -21
  214. package/dist/typescript/components/infrastructure-file.d.mts.map +0 -1
  215. package/dist/typescript/components/infrastructure-file.mjs +0 -38
  216. package/dist/typescript/components/infrastructure-file.mjs.map +0 -1
  217. package/dist/typescript/components/interface-declaration.cjs +0 -229
  218. package/dist/typescript/components/interface-declaration.d.cts +0 -86
  219. package/dist/typescript/components/interface-declaration.d.cts.map +0 -1
  220. package/dist/typescript/components/interface-declaration.d.mts +0 -86
  221. package/dist/typescript/components/interface-declaration.d.mts.map +0 -1
  222. package/dist/typescript/components/interface-declaration.mjs +0 -225
  223. package/dist/typescript/components/interface-declaration.mjs.map +0 -1
  224. package/dist/typescript/components/object-declaration.cjs +0 -128
  225. package/dist/typescript/components/object-declaration.d.cts +0 -30
  226. package/dist/typescript/components/object-declaration.d.cts.map +0 -1
  227. package/dist/typescript/components/object-declaration.d.mts +0 -30
  228. package/dist/typescript/components/object-declaration.d.mts.map +0 -1
  229. package/dist/typescript/components/object-declaration.mjs +0 -126
  230. package/dist/typescript/components/object-declaration.mjs.map +0 -1
  231. package/dist/typescript/components/property-name.cjs +0 -32
  232. package/dist/typescript/components/property-name.d.cts +0 -24
  233. package/dist/typescript/components/property-name.d.cts.map +0 -1
  234. package/dist/typescript/components/property-name.d.mts +0 -24
  235. package/dist/typescript/components/property-name.d.mts.map +0 -1
  236. package/dist/typescript/components/property-name.mjs +0 -31
  237. package/dist/typescript/components/property-name.mjs.map +0 -1
  238. package/dist/typescript/components/record-expression.cjs +0 -13
  239. package/dist/typescript/components/record-expression.d.cts +0 -13
  240. package/dist/typescript/components/record-expression.d.cts.map +0 -1
  241. package/dist/typescript/components/record-expression.d.mts +0 -13
  242. package/dist/typescript/components/record-expression.d.mts.map +0 -1
  243. package/dist/typescript/components/record-expression.mjs +0 -12
  244. package/dist/typescript/components/record-expression.mjs.map +0 -1
  245. package/dist/typescript/components/tsdoc-reflection.cjs +0 -310
  246. package/dist/typescript/components/tsdoc-reflection.d.cts +0 -44
  247. package/dist/typescript/components/tsdoc-reflection.d.cts.map +0 -1
  248. package/dist/typescript/components/tsdoc-reflection.d.mts +0 -44
  249. package/dist/typescript/components/tsdoc-reflection.d.mts.map +0 -1
  250. package/dist/typescript/components/tsdoc-reflection.mjs +0 -304
  251. package/dist/typescript/components/tsdoc-reflection.mjs.map +0 -1
  252. package/dist/typescript/components/tsdoc.cjs +0 -477
  253. package/dist/typescript/components/tsdoc.d.cts +0 -164
  254. package/dist/typescript/components/tsdoc.d.cts.map +0 -1
  255. package/dist/typescript/components/tsdoc.d.mts +0 -164
  256. package/dist/typescript/components/tsdoc.d.mts.map +0 -1
  257. package/dist/typescript/components/tsdoc.mjs +0 -457
  258. package/dist/typescript/components/tsdoc.mjs.map +0 -1
  259. package/dist/typescript/components/type-declaration.cjs +0 -39
  260. package/dist/typescript/components/type-declaration.d.cts +0 -18
  261. package/dist/typescript/components/type-declaration.d.cts.map +0 -1
  262. package/dist/typescript/components/type-declaration.d.mts +0 -18
  263. package/dist/typescript/components/type-declaration.d.mts.map +0 -1
  264. package/dist/typescript/components/type-declaration.mjs +0 -38
  265. package/dist/typescript/components/type-declaration.mjs.map +0 -1
  266. package/dist/typescript/components/type-parameters.cjs +0 -82
  267. package/dist/typescript/components/type-parameters.d.cts +0 -24
  268. package/dist/typescript/components/type-parameters.d.cts.map +0 -1
  269. package/dist/typescript/components/type-parameters.d.mts +0 -24
  270. package/dist/typescript/components/type-parameters.d.mts.map +0 -1
  271. package/dist/typescript/components/type-parameters.mjs +0 -81
  272. package/dist/typescript/components/type-parameters.mjs.map +0 -1
  273. package/dist/typescript/components/typescript-file.cjs +0 -221
  274. package/dist/typescript/components/typescript-file.d.cts +0 -50
  275. package/dist/typescript/components/typescript-file.d.cts.map +0 -1
  276. package/dist/typescript/components/typescript-file.d.mts +0 -50
  277. package/dist/typescript/components/typescript-file.d.mts.map +0 -1
  278. package/dist/typescript/components/typescript-file.mjs +0 -218
  279. package/dist/typescript/components/typescript-file.mjs.map +0 -1
  280. package/dist/typescript/contexts/index.cjs +0 -4
  281. package/dist/typescript/contexts/index.d.cts +0 -2
  282. package/dist/typescript/contexts/index.d.mts +0 -2
  283. package/dist/typescript/contexts/index.mjs +0 -3
  284. package/dist/typescript/contexts/lexical-scope.cjs +0 -26
  285. package/dist/typescript/contexts/lexical-scope.d.cts +0 -17
  286. package/dist/typescript/contexts/lexical-scope.d.cts.map +0 -1
  287. package/dist/typescript/contexts/lexical-scope.d.mts +0 -17
  288. package/dist/typescript/contexts/lexical-scope.d.mts.map +0 -1
  289. package/dist/typescript/contexts/lexical-scope.mjs +0 -25
  290. package/dist/typescript/contexts/lexical-scope.mjs.map +0 -1
  291. package/dist/typescript/contexts/member-scope.cjs +0 -24
  292. package/dist/typescript/contexts/member-scope.d.cts +0 -20
  293. package/dist/typescript/contexts/member-scope.d.cts.map +0 -1
  294. package/dist/typescript/contexts/member-scope.d.mts +0 -20
  295. package/dist/typescript/contexts/member-scope.d.mts.map +0 -1
  296. package/dist/typescript/contexts/member-scope.mjs +0 -23
  297. package/dist/typescript/contexts/member-scope.mjs.map +0 -1
  298. package/dist/typescript/helpers/get-call-signature-props.cjs +0 -26
  299. package/dist/typescript/helpers/get-call-signature-props.d.cts +0 -14
  300. package/dist/typescript/helpers/get-call-signature-props.d.cts.map +0 -1
  301. package/dist/typescript/helpers/get-call-signature-props.d.mts +0 -14
  302. package/dist/typescript/helpers/get-call-signature-props.d.mts.map +0 -1
  303. package/dist/typescript/helpers/get-call-signature-props.mjs +0 -25
  304. package/dist/typescript/helpers/get-call-signature-props.mjs.map +0 -1
  305. package/dist/typescript/helpers/index.cjs +0 -6
  306. package/dist/typescript/helpers/index.d.cts +0 -3
  307. package/dist/typescript/helpers/index.d.mts +0 -3
  308. package/dist/typescript/helpers/index.mjs +0 -4
  309. package/dist/typescript/helpers/utilities.cjs +0 -15
  310. package/dist/typescript/helpers/utilities.d.cts +0 -11
  311. package/dist/typescript/helpers/utilities.d.cts.map +0 -1
  312. package/dist/typescript/helpers/utilities.d.mts +0 -11
  313. package/dist/typescript/helpers/utilities.d.mts.map +0 -1
  314. package/dist/typescript/helpers/utilities.mjs +0 -14
  315. package/dist/typescript/helpers/utilities.mjs.map +0 -1
  316. package/dist/typescript/index.cjs +0 -74
  317. package/dist/typescript/index.d.cts +0 -18
  318. package/dist/typescript/index.d.mts +0 -18
  319. package/dist/typescript/index.mjs +0 -22
  320. package/dist/yaml/components/index.cjs +0 -5
  321. package/dist/yaml/components/index.d.cts +0 -2
  322. package/dist/yaml/components/index.d.mts +0 -2
  323. package/dist/yaml/components/index.mjs +0 -3
  324. package/dist/yaml/components/yaml-file.cjs +0 -149
  325. package/dist/yaml/components/yaml-file.d.cts +0 -34
  326. package/dist/yaml/components/yaml-file.d.cts.map +0 -1
  327. package/dist/yaml/components/yaml-file.d.mts +0 -34
  328. package/dist/yaml/components/yaml-file.d.mts.map +0 -1
  329. package/dist/yaml/components/yaml-file.mjs +0 -147
  330. package/dist/yaml/components/yaml-file.mjs.map +0 -1
  331. package/dist/yaml/index.cjs +0 -6
  332. package/dist/yaml/index.d.cts +0 -2
  333. package/dist/yaml/index.d.mts +0 -2
  334. package/dist/yaml/index.mjs +0 -4
@@ -1,310 +0,0 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- const require_runtime = require('../../_virtual/_rolldown/runtime.cjs');
3
- const require_core_contexts_reflection = require('../../core/contexts/reflection.cjs');
4
- const require_core_components_spacing = require('../../core/components/spacing.cjs');
5
- const require_typescript_components_tsdoc = require('./tsdoc.cjs');
6
- let _alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
7
- let _alloy_js_core = require("@alloy-js/core");
8
- let _stryke_string_format_title_case = require("@stryke/string-format/title-case");
9
- let _stryke_type_checks_is_undefined = require("@stryke/type-checks/is-undefined");
10
- let _powerlines_deepkit_vendor_type = require("@powerlines/deepkit/vendor/type");
11
- let _stryke_type_checks_is_string = require("@stryke/type-checks/is-string");
12
- let _stryke_type_checks = require("@stryke/type-checks");
13
- let _stryke_type_checks_is_set_string = require("@stryke/type-checks/is-set-string");
14
-
15
- //#region src/typescript/components/tsdoc-reflection.tsx
16
- /**
17
- * Generates a TSDoc documentation block for the given reflection class. This component will render the description of the reflection as the main content of the documentation block, and will render any additional attributes (such as title, alias, domain, permission, etc.) as tags in the documentation block. If there are child elements provided, they will be rendered as a list below the main content of the documentation block. This is useful for rendering additional details about the reflection that may not be included in the description, such as information about properties or methods of a class.
18
- */
19
- function TSDocReflectionClass(props) {
20
- const [{ children, heading, reflection }, rest] = (0, _alloy_js_core.splitProps)(props, [
21
- "heading",
22
- "children",
23
- "reflection"
24
- ]);
25
- if (!(0, _stryke_type_checks.isSetObject)(reflection)) return null;
26
- const title = (0, _alloy_js_core.computed)(() => reflection.getTitle() || (0, _stryke_string_format_title_case.titleCase)(reflection.getName()));
27
- const computedHeading = (0, _alloy_js_core.computed)(() => heading || reflection.getDescription() || title.value);
28
- const alias = (0, _alloy_js_core.computed)(() => reflection.getAlias());
29
- const domain = (0, _alloy_js_core.computed)(() => reflection.getDomain());
30
- const permission = (0, _alloy_js_core.computed)(() => reflection.getPermission());
31
- const readonly = (0, _alloy_js_core.computed)(() => reflection.isReadonly());
32
- const internal = (0, _alloy_js_core.computed)(() => reflection.isInternal());
33
- const ignore = (0, _alloy_js_core.computed)(() => reflection.isIgnored());
34
- const hidden = (0, _alloy_js_core.computed)(() => reflection.isHidden());
35
- if (!computedHeading.value || (0, _stryke_type_checks_is_set_string.isSetString)(computedHeading.value) && computedHeading.value.trim() === "") return null;
36
- const hasAttributes = (0, _alloy_js_core.computed)(() => (0, _stryke_type_checks_is_set_string.isSetString)(title.value) || !(0, _stryke_type_checks_is_undefined.isUndefined)(alias.value) && alias.value.length > 0 || !(0, _stryke_type_checks_is_undefined.isUndefined)(permission.value) && permission.value.length > 0 || (0, _stryke_type_checks_is_set_string.isSetString)(domain.value) || !(0, _stryke_type_checks_is_undefined.isUndefined)(readonly.value) || !(0, _stryke_type_checks_is_undefined.isUndefined)(internal.value) || !(0, _stryke_type_checks_is_undefined.isUndefined)(ignore.value) || !(0, _stryke_type_checks_is_undefined.isUndefined)(hidden.value));
37
- return (0, _alloy_js_core_jsx_runtime.createComponent)(require_typescript_components_tsdoc.TSDoc, (0, _alloy_js_core_jsx_runtime.mergeProps)(rest, {
38
- get heading() {
39
- return (0, _alloy_js_core_jsx_runtime.memo)(() => !!(0, _stryke_type_checks_is_set_string.isSetString)(computedHeading.value))() ? computedHeading.value.trim() : computedHeading.value;
40
- },
41
- get children() {
42
- return [(0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
43
- get when() {
44
- return hasAttributes.value;
45
- },
46
- get children() {
47
- return (0, _alloy_js_core_jsx_runtime.createComponent)(require_typescript_components_tsdoc.TSDocAttributesTags, {
48
- get title() {
49
- return title.value;
50
- },
51
- get alias() {
52
- return alias.value;
53
- },
54
- get domain() {
55
- return domain.value;
56
- },
57
- get permission() {
58
- return permission.value;
59
- },
60
- get readonly() {
61
- return readonly.value;
62
- },
63
- get internal() {
64
- return internal.value;
65
- },
66
- get ignore() {
67
- return ignore.value;
68
- },
69
- get hidden() {
70
- return hidden.value;
71
- }
72
- });
73
- }
74
- }), (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
75
- get when() {
76
- return (0, _alloy_js_core_jsx_runtime.memo)(() => !!!(0, _stryke_type_checks_is_undefined.isUndefined)(children))() && (0, _alloy_js_core.childrenArray)(() => children).filter(Boolean).length > 0;
77
- },
78
- get children() {
79
- return [(0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
80
- get when() {
81
- return hasAttributes.value;
82
- },
83
- get children() {
84
- return (0, _alloy_js_core_jsx_runtime.createComponent)(require_core_components_spacing.Spacing, {});
85
- }
86
- }), (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.List, { get children() {
87
- return (0, _alloy_js_core.childrenArray)(() => children);
88
- } })];
89
- }
90
- })];
91
- }
92
- }));
93
- }
94
- /**
95
- * Uses the `useReflectionClass` hook to retrieve the reflection class from the context, and then renders a `TSDocReflectionClass` component with the retrieved reflection class. This is a convenience component that allows you to easily render a TSDoc documentation block for the current reflection class without having to manually retrieve the reflection class from the context.
96
- */
97
- function TSDocContextClass(props) {
98
- const reflectionClass = require_core_contexts_reflection.useReflectionClass();
99
- return (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
100
- get when() {
101
- return (0, _stryke_type_checks.isSetObject)(reflectionClass.reflection);
102
- },
103
- get children() {
104
- return (0, _alloy_js_core_jsx_runtime.createComponent)(TSDocReflectionClass, (0, _alloy_js_core_jsx_runtime.mergeProps)(props, { get reflection() {
105
- return reflectionClass.reflection;
106
- } }));
107
- }
108
- });
109
- }
110
- /**
111
- * Generates a TSDoc documentation block for the given reflection property. This component will render the description of the reflection as the main content of the documentation block, and will render any additional attributes (such as title, alias, domain, permission, etc.) as tags in the documentation block. If there are child elements provided, they will be rendered as a list below the main content of the documentation block. This is useful for rendering additional details about the reflection that may not be included in the description, such as information about parameters of a method or properties of a class.
112
- */
113
- function TSDocReflectionProperty(props) {
114
- const [{ children, reflection }, rest] = (0, _alloy_js_core.splitProps)(props, ["children", "reflection"]);
115
- if (!(0, _stryke_type_checks.isSetObject)(reflection)) return null;
116
- const hasAttributes = (0, _alloy_js_core.computed)(() => (0, _stryke_type_checks_is_set_string.isSetString)(reflection.getTitle()) || !(0, _stryke_type_checks_is_undefined.isUndefined)(reflection.getAlias()) && reflection.getAlias().length > 0 || !(0, _stryke_type_checks_is_undefined.isUndefined)(reflection.getPermission()) && reflection.getPermission().length > 0 || (0, _stryke_type_checks_is_set_string.isSetString)(reflection.getDomain()) || !(0, _stryke_type_checks_is_undefined.isUndefined)(reflection.isReadonly()) || !(0, _stryke_type_checks_is_undefined.isUndefined)(reflection.isInternal()) || !(0, _stryke_type_checks_is_undefined.isUndefined)(reflection.isIgnored()) || !(0, _stryke_type_checks_is_undefined.isUndefined)(reflection.isHidden()) || reflection.hasDefault() && !(0, _stryke_type_checks_is_undefined.isUndefined)(reflection.getDefaultValue()));
117
- return (0, _alloy_js_core_jsx_runtime.createComponent)(require_typescript_components_tsdoc.TSDoc, (0, _alloy_js_core_jsx_runtime.mergeProps)({ get heading() {
118
- return reflection.getDescription();
119
- } }, rest, { get children() {
120
- return [(0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
121
- get when() {
122
- return hasAttributes.value;
123
- },
124
- get children() {
125
- return (0, _alloy_js_core_jsx_runtime.createComponent)(require_typescript_components_tsdoc.TSDocAttributesTags, {
126
- type: reflection,
127
- get title() {
128
- return reflection.getTitle();
129
- },
130
- get alias() {
131
- return reflection.getAlias();
132
- },
133
- get domain() {
134
- return reflection.getDomain();
135
- },
136
- get permission() {
137
- return reflection.getPermission();
138
- },
139
- get readonly() {
140
- return reflection.isReadonly();
141
- },
142
- get internal() {
143
- return reflection.isInternal();
144
- },
145
- get ignore() {
146
- return reflection.isIgnored();
147
- },
148
- get hidden() {
149
- return reflection.isHidden();
150
- },
151
- get defaultValue() {
152
- return reflection.getDefaultValue();
153
- }
154
- });
155
- }
156
- }), (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
157
- get when() {
158
- return (0, _alloy_js_core_jsx_runtime.memo)(() => !!!(0, _stryke_type_checks_is_undefined.isUndefined)(children))() && (0, _alloy_js_core.childrenArray)(() => children).filter(Boolean).length > 0;
159
- },
160
- get children() {
161
- return [(0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
162
- get when() {
163
- return hasAttributes.value;
164
- },
165
- get children() {
166
- return (0, _alloy_js_core_jsx_runtime.createComponent)(require_core_components_spacing.Spacing, {});
167
- }
168
- }), (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.List, { get children() {
169
- return (0, _alloy_js_core.childrenArray)(() => children);
170
- } })];
171
- }
172
- })];
173
- } }));
174
- }
175
- /**
176
- * Uses the `useReflectionProperty` hook to retrieve the reflection property from the context, and then renders a `TSDocReflectionProperty` component with the retrieved reflection property. This is a convenience component that allows you to easily render a TSDoc documentation block for the current reflection property without having to manually retrieve the reflection property from the context.
177
- */
178
- function TSDocContextProperty(props) {
179
- const reflection = require_core_contexts_reflection.useReflectionProperty();
180
- return (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
181
- get when() {
182
- return (0, _stryke_type_checks.isSetObject)(reflection);
183
- },
184
- get children() {
185
- return (0, _alloy_js_core_jsx_runtime.createComponent)(TSDocReflectionProperty, (0, _alloy_js_core_jsx_runtime.mergeProps)(props, { reflection }));
186
- }
187
- });
188
- }
189
- /**
190
- * Generates a TSDoc documentation block for the given reflection method. This component will render the description of the reflection as the main content of the documentation block, and will render any additional attributes (such as title, alias, domain, permission, etc.) as tags in the documentation block. If there are child elements provided, they will be rendered as a list below the main content of the documentation block. Additionally, this component will render information about the parameters and return type of the method, if available.
191
- */
192
- function TSDocReflectionMethod(props) {
193
- const [{ children, reflection }, rest] = (0, _alloy_js_core.splitProps)(props, ["children", "reflection"]);
194
- if (!(0, _stryke_type_checks.isSetObject)(reflection)) return null;
195
- const heading = (0, _alloy_js_core.computed)(() => reflection.getDescription() || ((0, _stryke_type_checks_is_string.isString)(reflection.getName()) ? _alloy_js_core.code`${String(reflection.getName())} method definition` : void 0));
196
- return (0, _alloy_js_core_jsx_runtime.createComponent)(require_typescript_components_tsdoc.TSDoc, (0, _alloy_js_core_jsx_runtime.mergeProps)({ get heading() {
197
- return heading.value;
198
- } }, rest, { get children() {
199
- return [
200
- (0, _alloy_js_core_jsx_runtime.createComponent)(require_typescript_components_tsdoc.TSDocAttributesTags, {
201
- get title() {
202
- return reflection.getTitle();
203
- },
204
- get alias() {
205
- return reflection.getAlias();
206
- },
207
- get domain() {
208
- return reflection.getDomain();
209
- },
210
- get permission() {
211
- return reflection.getPermission();
212
- },
213
- get readonly() {
214
- return reflection.isReadonly();
215
- },
216
- get internal() {
217
- return reflection.isInternal();
218
- },
219
- get ignore() {
220
- return reflection.isIgnored();
221
- },
222
- get hidden() {
223
- return reflection.isHidden();
224
- }
225
- }),
226
- (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
227
- get when() {
228
- return (0, _alloy_js_core_jsx_runtime.memo)(() => !!Boolean(children))() && (0, _alloy_js_core.childrenArray)(() => children).length > 0;
229
- },
230
- get children() {
231
- return (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.List, { get children() {
232
- return (0, _alloy_js_core.childrenArray)(() => children);
233
- } });
234
- }
235
- }),
236
- (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
237
- get when() {
238
- return reflection.getParameters().length > 0;
239
- },
240
- get children() {
241
- return [(0, _alloy_js_core_jsx_runtime.createComponent)(require_core_components_spacing.Spacing, {}), (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.For, {
242
- get each() {
243
- return reflection.getParameters();
244
- },
245
- hardline: true,
246
- get ender() {
247
- return (0, _alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {});
248
- },
249
- children: (param) => (0, _alloy_js_core_jsx_runtime.createComponent)(require_typescript_components_tsdoc.TSDocParam, {
250
- get name() {
251
- return param.getName();
252
- },
253
- get optional() {
254
- return param.isOptional();
255
- },
256
- get defaultValue() {
257
- return (0, _alloy_js_core_jsx_runtime.memo)(() => !!param.hasDefault())() ? param.getDefaultValue() : void 0;
258
- },
259
- get children() {
260
- return (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
261
- get when() {
262
- return Boolean(param.parameter.description);
263
- },
264
- get fallback() {
265
- return _alloy_js_core.code`A parameter to provide a ${param.getName()} value to the function.`;
266
- },
267
- get children() {
268
- return param.parameter.description;
269
- }
270
- });
271
- }
272
- })
273
- })];
274
- }
275
- }),
276
- (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
277
- get when() {
278
- return reflection.getReturnType().kind !== _powerlines_deepkit_vendor_type.ReflectionKind.void;
279
- },
280
- get children() {
281
- return [(0, _alloy_js_core_jsx_runtime.createComponent)(require_core_components_spacing.Spacing, {}), (0, _alloy_js_core_jsx_runtime.createComponent)(require_typescript_components_tsdoc.TSDocReturns, { get children() {
282
- return _alloy_js_core.code`The return value of the function, which is of type ${(0, _powerlines_deepkit_vendor_type.stringifyType)(reflection.getReturnType())}.`;
283
- } })];
284
- }
285
- })
286
- ];
287
- } }));
288
- }
289
- /**
290
- * Uses the `useReflectionMethod` hook to retrieve the reflection method from the context, and then renders a `TSDocReflectionMethod` component with the retrieved reflection method. This is a convenience component that allows you to easily render a TSDoc documentation block for the current reflection method without having to manually retrieve the reflection method from the context.
291
- */
292
- function TSDocContextMethod(props) {
293
- const reflection = require_core_contexts_reflection.useReflectionMethod();
294
- return (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
295
- get when() {
296
- return (0, _stryke_type_checks.isSetObject)(reflection);
297
- },
298
- get children() {
299
- return (0, _alloy_js_core_jsx_runtime.createComponent)(TSDocReflectionMethod, (0, _alloy_js_core_jsx_runtime.mergeProps)(props, { reflection }));
300
- }
301
- });
302
- }
303
-
304
- //#endregion
305
- exports.TSDocContextClass = TSDocContextClass;
306
- exports.TSDocContextMethod = TSDocContextMethod;
307
- exports.TSDocContextProperty = TSDocContextProperty;
308
- exports.TSDocReflectionClass = TSDocReflectionClass;
309
- exports.TSDocReflectionMethod = TSDocReflectionMethod;
310
- exports.TSDocReflectionProperty = TSDocReflectionProperty;
@@ -1,44 +0,0 @@
1
- import { TSDocProps } from "./tsdoc.cjs";
2
- import * as _alloy_js_core0 from "@alloy-js/core";
3
- import { ReflectionClass, ReflectionMethod, ReflectionProperty } from "@powerlines/deepkit/vendor/type";
4
-
5
- //#region src/typescript/components/tsdoc-reflection.d.ts
6
- interface TSDocReflectionClassProps<T extends Record<string, any> = Record<string, any>> extends TSDocProps {
7
- reflection: ReflectionClass<T>;
8
- }
9
- /**
10
- * Generates a TSDoc documentation block for the given reflection class. This component will render the description of the reflection as the main content of the documentation block, and will render any additional attributes (such as title, alias, domain, permission, etc.) as tags in the documentation block. If there are child elements provided, they will be rendered as a list below the main content of the documentation block. This is useful for rendering additional details about the reflection that may not be included in the description, such as information about properties or methods of a class.
11
- */
12
- declare function TSDocReflectionClass<T extends Record<string, any> = Record<string, any>>(props: TSDocReflectionClassProps<T>): _alloy_js_core0.Children;
13
- /**
14
- * Uses the `useReflectionClass` hook to retrieve the reflection class from the context, and then renders a `TSDocReflectionClass` component with the retrieved reflection class. This is a convenience component that allows you to easily render a TSDoc documentation block for the current reflection class without having to manually retrieve the reflection class from the context.
15
- */
16
- declare function TSDocContextClass<T extends Record<string, any> = Record<string, any>>(props: TSDocProps): _alloy_js_core0.Children;
17
- interface TSDocReflectionPropertyProps extends TSDocProps {
18
- reflection: ReflectionProperty;
19
- }
20
- /**
21
- * Generates a TSDoc documentation block for the given reflection property. This component will render the description of the reflection as the main content of the documentation block, and will render any additional attributes (such as title, alias, domain, permission, etc.) as tags in the documentation block. If there are child elements provided, they will be rendered as a list below the main content of the documentation block. This is useful for rendering additional details about the reflection that may not be included in the description, such as information about parameters of a method or properties of a class.
22
- */
23
- declare function TSDocReflectionProperty(props: TSDocReflectionPropertyProps): _alloy_js_core0.Children;
24
- /**
25
- * Uses the `useReflectionProperty` hook to retrieve the reflection property from the context, and then renders a `TSDocReflectionProperty` component with the retrieved reflection property. This is a convenience component that allows you to easily render a TSDoc documentation block for the current reflection property without having to manually retrieve the reflection property from the context.
26
- */
27
- declare function TSDocContextProperty(props: TSDocProps): _alloy_js_core0.Children;
28
- interface TSDocReflectionMethodProps extends TSDocProps {
29
- reflection: ReflectionMethod;
30
- }
31
- /**
32
- * Generates a TSDoc documentation block for the given reflection method. This component will render the description of the reflection as the main content of the documentation block, and will render any additional attributes (such as title, alias, domain, permission, etc.) as tags in the documentation block. If there are child elements provided, they will be rendered as a list below the main content of the documentation block. Additionally, this component will render information about the parameters and return type of the method, if available.
33
- */
34
- declare function TSDocReflectionMethod(props: TSDocReflectionMethodProps): _alloy_js_core0.Children;
35
- /**
36
- * Uses the `useReflectionMethod` hook to retrieve the reflection method from the context, and then renders a `TSDocReflectionMethod` component with the retrieved reflection method. This is a convenience component that allows you to easily render a TSDoc documentation block for the current reflection method without having to manually retrieve the reflection method from the context.
37
- */
38
- declare function TSDocContextMethod(props: TSDocProps): _alloy_js_core0.Children;
39
- declare type __ΩTSDocReflectionClassProps = any[];
40
- declare type __ΩTSDocReflectionPropertyProps = any[];
41
- declare type __ΩTSDocReflectionMethodProps = any[];
42
- //#endregion
43
- export { TSDocContextClass, TSDocContextMethod, TSDocContextProperty, TSDocReflectionClass, TSDocReflectionClassProps, TSDocReflectionMethod, TSDocReflectionMethodProps, TSDocReflectionProperty, TSDocReflectionPropertyProps, __ΩTSDocReflectionClassProps, __ΩTSDocReflectionMethodProps, __ΩTSDocReflectionPropertyProps };
44
- //# sourceMappingURL=tsdoc-reflection.d.cts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tsdoc-reflection.d.cts","names":[],"sources":["../../../src/typescript/components/tsdoc-reflection.tsx"],"mappings":";;;;;UAqDiB,yBAAA,WACL,MAAA,gBAAsB,MAAA,uBACxB,UAAA;EACR,UAAA,EAAY,eAAA,CAAgB,CAAA;AAAA;AAH9B;;;AAAA,iBASgB,oBAAA,WACJ,MAAA,gBAAsB,MAAA,cAAA,CAChC,KAAA,EAAO,yBAAA,CAA0B,CAAA,IAAD,eAAA,CAAG,QAAA;;;;iBAkFrB,iBAAA,WACJ,MAAA,gBAAsB,MAAA,cAAA,CAChC,KAAA,EAAO,UAAA,GAAU,eAAA,CAAA,QAAA;AAAA,UAaF,4BAAA,SAAqC,UAAA;EACpD,UAAA,EAAY,kBAAA;AAAA;;;;iBAME,uBAAA,CAAwB,KAAA,EAAO,4BAAA,GAA4B,eAAA,CAAA,QAAA;;;;iBA0D3D,oBAAA,CAAqB,KAAA,EAAO,UAAA,GAAU,eAAA,CAAA,QAAA;AAAA,UAUrC,0BAAA,SAAmC,UAAA;EAClD,UAAA,EAAY,gBAAA;AAAA;;;;iBAME,qBAAA,CAAsB,KAAA,EAAO,0BAAA,GAA0B,eAAA,CAAA,QAAA;;;;iBAoEvD,kBAAA,CAAmB,KAAA,EAAO,UAAA,GAAU,eAAA,CAAA,QAAA;AAAA"}
@@ -1,44 +0,0 @@
1
- import { TSDocProps } from "./tsdoc.mjs";
2
- import * as _alloy_js_core0 from "@alloy-js/core";
3
- import { ReflectionClass, ReflectionMethod, ReflectionProperty } from "@powerlines/deepkit/vendor/type";
4
-
5
- //#region src/typescript/components/tsdoc-reflection.d.ts
6
- interface TSDocReflectionClassProps<T extends Record<string, any> = Record<string, any>> extends TSDocProps {
7
- reflection: ReflectionClass<T>;
8
- }
9
- /**
10
- * Generates a TSDoc documentation block for the given reflection class. This component will render the description of the reflection as the main content of the documentation block, and will render any additional attributes (such as title, alias, domain, permission, etc.) as tags in the documentation block. If there are child elements provided, they will be rendered as a list below the main content of the documentation block. This is useful for rendering additional details about the reflection that may not be included in the description, such as information about properties or methods of a class.
11
- */
12
- declare function TSDocReflectionClass<T extends Record<string, any> = Record<string, any>>(props: TSDocReflectionClassProps<T>): _alloy_js_core0.Children;
13
- /**
14
- * Uses the `useReflectionClass` hook to retrieve the reflection class from the context, and then renders a `TSDocReflectionClass` component with the retrieved reflection class. This is a convenience component that allows you to easily render a TSDoc documentation block for the current reflection class without having to manually retrieve the reflection class from the context.
15
- */
16
- declare function TSDocContextClass<T extends Record<string, any> = Record<string, any>>(props: TSDocProps): _alloy_js_core0.Children;
17
- interface TSDocReflectionPropertyProps extends TSDocProps {
18
- reflection: ReflectionProperty;
19
- }
20
- /**
21
- * Generates a TSDoc documentation block for the given reflection property. This component will render the description of the reflection as the main content of the documentation block, and will render any additional attributes (such as title, alias, domain, permission, etc.) as tags in the documentation block. If there are child elements provided, they will be rendered as a list below the main content of the documentation block. This is useful for rendering additional details about the reflection that may not be included in the description, such as information about parameters of a method or properties of a class.
22
- */
23
- declare function TSDocReflectionProperty(props: TSDocReflectionPropertyProps): _alloy_js_core0.Children;
24
- /**
25
- * Uses the `useReflectionProperty` hook to retrieve the reflection property from the context, and then renders a `TSDocReflectionProperty` component with the retrieved reflection property. This is a convenience component that allows you to easily render a TSDoc documentation block for the current reflection property without having to manually retrieve the reflection property from the context.
26
- */
27
- declare function TSDocContextProperty(props: TSDocProps): _alloy_js_core0.Children;
28
- interface TSDocReflectionMethodProps extends TSDocProps {
29
- reflection: ReflectionMethod;
30
- }
31
- /**
32
- * Generates a TSDoc documentation block for the given reflection method. This component will render the description of the reflection as the main content of the documentation block, and will render any additional attributes (such as title, alias, domain, permission, etc.) as tags in the documentation block. If there are child elements provided, they will be rendered as a list below the main content of the documentation block. Additionally, this component will render information about the parameters and return type of the method, if available.
33
- */
34
- declare function TSDocReflectionMethod(props: TSDocReflectionMethodProps): _alloy_js_core0.Children;
35
- /**
36
- * Uses the `useReflectionMethod` hook to retrieve the reflection method from the context, and then renders a `TSDocReflectionMethod` component with the retrieved reflection method. This is a convenience component that allows you to easily render a TSDoc documentation block for the current reflection method without having to manually retrieve the reflection method from the context.
37
- */
38
- declare function TSDocContextMethod(props: TSDocProps): _alloy_js_core0.Children;
39
- declare type __ΩTSDocReflectionClassProps = any[];
40
- declare type __ΩTSDocReflectionPropertyProps = any[];
41
- declare type __ΩTSDocReflectionMethodProps = any[];
42
- //#endregion
43
- export { TSDocContextClass, TSDocContextMethod, TSDocContextProperty, TSDocReflectionClass, TSDocReflectionClassProps, TSDocReflectionMethod, TSDocReflectionMethodProps, TSDocReflectionProperty, TSDocReflectionPropertyProps, __ΩTSDocReflectionClassProps, __ΩTSDocReflectionMethodProps, __ΩTSDocReflectionPropertyProps };
44
- //# sourceMappingURL=tsdoc-reflection.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tsdoc-reflection.d.mts","names":[],"sources":["../../../src/typescript/components/tsdoc-reflection.tsx"],"mappings":";;;;;UAqDiB,yBAAA,WACL,MAAA,gBAAsB,MAAA,uBACxB,UAAA;EACR,UAAA,EAAY,eAAA,CAAgB,CAAA;AAAA;AAH9B;;;AAAA,iBASgB,oBAAA,WACJ,MAAA,gBAAsB,MAAA,cAAA,CAChC,KAAA,EAAO,yBAAA,CAA0B,CAAA,IAAD,eAAA,CAAG,QAAA;;;;iBAkFrB,iBAAA,WACJ,MAAA,gBAAsB,MAAA,cAAA,CAChC,KAAA,EAAO,UAAA,GAAU,eAAA,CAAA,QAAA;AAAA,UAaF,4BAAA,SAAqC,UAAA;EACpD,UAAA,EAAY,kBAAA;AAAA;;;;iBAME,uBAAA,CAAwB,KAAA,EAAO,4BAAA,GAA4B,eAAA,CAAA,QAAA;;;;iBA0D3D,oBAAA,CAAqB,KAAA,EAAO,UAAA,GAAU,eAAA,CAAA,QAAA;AAAA,UAUrC,0BAAA,SAAmC,UAAA;EAClD,UAAA,EAAY,gBAAA;AAAA;;;;iBAME,qBAAA,CAAsB,KAAA,EAAO,0BAAA,GAA0B,eAAA,CAAA,QAAA;;;;iBAoEvD,kBAAA,CAAmB,KAAA,EAAO,UAAA,GAAU,eAAA,CAAA,QAAA;AAAA"}