@powerlines/plugin-alloy 0.25.32 → 0.25.34

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 (287) hide show
  1. package/README.md +1 -1
  2. package/dist/core/components/output.cjs +17 -10
  3. package/dist/core/components/output.mjs +18 -12
  4. package/dist/core/components/single-line-comment.cjs +6 -4
  5. package/dist/core/components/single-line-comment.mjs +7 -6
  6. package/dist/core/components/source-file.cjs +10 -6
  7. package/dist/core/components/source-file.mjs +11 -8
  8. package/dist/core/components/spacing.cjs +6 -4
  9. package/dist/core/components/spacing.mjs +7 -6
  10. package/dist/core/contexts/context.mjs +1 -2
  11. package/dist/core/contexts/meta.mjs +1 -2
  12. package/dist/core/contexts/reflection.mjs +1 -2
  13. package/dist/core/helpers/code.mjs +1 -2
  14. package/dist/helpers/capnp.mjs +1 -2
  15. package/dist/helpers/create-builtin.mjs +1 -2
  16. package/dist/helpers/refkey.mjs +1 -2
  17. package/dist/helpers/typescript.mjs +1 -2
  18. package/dist/index.cjs +8 -18
  19. package/dist/index.mjs +8 -19
  20. package/dist/markdown/components/front-matter.cjs +9 -7
  21. package/dist/markdown/components/front-matter.mjs +10 -9
  22. package/dist/markdown/components/markdown-file.cjs +76 -44
  23. package/dist/markdown/components/markdown-file.mjs +77 -46
  24. package/dist/markdown/components/markdown-table.cjs +49 -28
  25. package/dist/markdown/components/markdown-table.mjs +50 -30
  26. package/dist/markdown/contexts/markdown-table.mjs +1 -2
  27. package/dist/render.cjs +3 -3
  28. package/dist/render.mjs +4 -5
  29. package/dist/typescript/components/builtin-file.cjs +29 -19
  30. package/dist/typescript/components/builtin-file.mjs +30 -21
  31. package/dist/typescript/components/class-declaration.cjs +165 -100
  32. package/dist/typescript/components/class-declaration.mjs +166 -102
  33. package/dist/typescript/components/dynamic-import-statement.cjs +2 -6
  34. package/dist/typescript/components/dynamic-import-statement.mjs +3 -8
  35. package/dist/typescript/components/entry-file.cjs +9 -6
  36. package/dist/typescript/components/entry-file.mjs +10 -8
  37. package/dist/typescript/components/infrastructure-file.cjs +9 -6
  38. package/dist/typescript/components/infrastructure-file.mjs +10 -8
  39. package/dist/typescript/components/interface-declaration.cjs +121 -70
  40. package/dist/typescript/components/interface-declaration.mjs +122 -72
  41. package/dist/typescript/components/object-declaration.cjs +76 -44
  42. package/dist/typescript/components/object-declaration.mjs +77 -46
  43. package/dist/typescript/components/property-name.cjs +3 -3
  44. package/dist/typescript/components/property-name.mjs +4 -5
  45. package/dist/typescript/components/record-expression.mjs +1 -2
  46. package/dist/typescript/components/tsdoc-reflection.cjs +225 -104
  47. package/dist/typescript/components/tsdoc-reflection.mjs +226 -106
  48. package/dist/typescript/components/tsdoc.cjs +255 -160
  49. package/dist/typescript/components/tsdoc.mjs +256 -162
  50. package/dist/typescript/components/type-declaration.cjs +20 -15
  51. package/dist/typescript/components/type-declaration.mjs +21 -17
  52. package/dist/typescript/components/type-parameters.cjs +55 -29
  53. package/dist/typescript/components/type-parameters.mjs +56 -31
  54. package/dist/typescript/components/typescript-file.cjs +146 -80
  55. package/dist/typescript/components/typescript-file.mjs +148 -83
  56. package/dist/typescript/contexts/lexical-scope.cjs +5 -3
  57. package/dist/typescript/contexts/lexical-scope.mjs +6 -5
  58. package/dist/typescript/contexts/member-scope.cjs +5 -3
  59. package/dist/typescript/contexts/member-scope.mjs +6 -5
  60. package/dist/typescript/helpers/get-call-signature-props.mjs +1 -2
  61. package/dist/typescript/helpers/utilities.mjs +1 -2
  62. package/dist/yaml/components/yaml-file.cjs +92 -47
  63. package/dist/yaml/components/yaml-file.mjs +93 -49
  64. package/package.json +16 -17
  65. package/dist/core/components/index.d.cts +0 -5
  66. package/dist/core/components/index.d.mts +0 -5
  67. package/dist/core/components/output.d.cts +0 -24
  68. package/dist/core/components/output.d.cts.map +0 -1
  69. package/dist/core/components/output.d.mts +0 -24
  70. package/dist/core/components/output.d.mts.map +0 -1
  71. package/dist/core/components/output.mjs.map +0 -1
  72. package/dist/core/components/single-line-comment.d.cts +0 -23
  73. package/dist/core/components/single-line-comment.d.cts.map +0 -1
  74. package/dist/core/components/single-line-comment.d.mts +0 -23
  75. package/dist/core/components/single-line-comment.d.mts.map +0 -1
  76. package/dist/core/components/single-line-comment.mjs.map +0 -1
  77. package/dist/core/components/source-file.d.cts +0 -33
  78. package/dist/core/components/source-file.d.cts.map +0 -1
  79. package/dist/core/components/source-file.d.mts +0 -33
  80. package/dist/core/components/source-file.d.mts.map +0 -1
  81. package/dist/core/components/source-file.mjs.map +0 -1
  82. package/dist/core/components/spacing.d.cts +0 -24
  83. package/dist/core/components/spacing.d.cts.map +0 -1
  84. package/dist/core/components/spacing.d.mts +0 -24
  85. package/dist/core/components/spacing.d.mts.map +0 -1
  86. package/dist/core/components/spacing.mjs.map +0 -1
  87. package/dist/core/contexts/context.d.cts +0 -29
  88. package/dist/core/contexts/context.d.cts.map +0 -1
  89. package/dist/core/contexts/context.d.mts +0 -29
  90. package/dist/core/contexts/context.d.mts.map +0 -1
  91. package/dist/core/contexts/context.mjs.map +0 -1
  92. package/dist/core/contexts/index.d.cts +0 -4
  93. package/dist/core/contexts/index.d.mts +0 -4
  94. package/dist/core/contexts/meta.d.cts +0 -48
  95. package/dist/core/contexts/meta.d.cts.map +0 -1
  96. package/dist/core/contexts/meta.d.mts +0 -48
  97. package/dist/core/contexts/meta.d.mts.map +0 -1
  98. package/dist/core/contexts/meta.mjs.map +0 -1
  99. package/dist/core/contexts/reflection.d.cts +0 -53
  100. package/dist/core/contexts/reflection.d.cts.map +0 -1
  101. package/dist/core/contexts/reflection.d.mts +0 -53
  102. package/dist/core/contexts/reflection.d.mts.map +0 -1
  103. package/dist/core/contexts/reflection.mjs.map +0 -1
  104. package/dist/core/helpers/code.d.cts +0 -29
  105. package/dist/core/helpers/code.d.cts.map +0 -1
  106. package/dist/core/helpers/code.d.mts +0 -29
  107. package/dist/core/helpers/code.d.mts.map +0 -1
  108. package/dist/core/helpers/code.mjs.map +0 -1
  109. package/dist/core/helpers/index.d.cts +0 -2
  110. package/dist/core/helpers/index.d.mts +0 -2
  111. package/dist/core/index.d.cts +0 -9
  112. package/dist/core/index.d.mts +0 -9
  113. package/dist/helpers/capnp.d.cts +0 -87
  114. package/dist/helpers/capnp.d.cts.map +0 -1
  115. package/dist/helpers/capnp.d.mts +0 -87
  116. package/dist/helpers/capnp.d.mts.map +0 -1
  117. package/dist/helpers/capnp.mjs.map +0 -1
  118. package/dist/helpers/create-builtin.d.cts +0 -16
  119. package/dist/helpers/create-builtin.d.cts.map +0 -1
  120. package/dist/helpers/create-builtin.d.mts +0 -16
  121. package/dist/helpers/create-builtin.d.mts.map +0 -1
  122. package/dist/helpers/create-builtin.mjs.map +0 -1
  123. package/dist/helpers/index.d.cts +0 -5
  124. package/dist/helpers/index.d.mts +0 -5
  125. package/dist/helpers/refkey.d.cts +0 -13
  126. package/dist/helpers/refkey.d.cts.map +0 -1
  127. package/dist/helpers/refkey.d.mts +0 -13
  128. package/dist/helpers/refkey.d.mts.map +0 -1
  129. package/dist/helpers/refkey.mjs.map +0 -1
  130. package/dist/helpers/typescript.d.cts +0 -26
  131. package/dist/helpers/typescript.d.cts.map +0 -1
  132. package/dist/helpers/typescript.d.mts +0 -26
  133. package/dist/helpers/typescript.d.mts.map +0 -1
  134. package/dist/helpers/typescript.mjs.map +0 -1
  135. package/dist/index.d.cts +0 -19
  136. package/dist/index.d.cts.map +0 -1
  137. package/dist/index.d.mts +0 -19
  138. package/dist/index.d.mts.map +0 -1
  139. package/dist/index.mjs.map +0 -1
  140. package/dist/markdown/components/front-matter.d.cts +0 -16
  141. package/dist/markdown/components/front-matter.d.cts.map +0 -1
  142. package/dist/markdown/components/front-matter.d.mts +0 -16
  143. package/dist/markdown/components/front-matter.d.mts.map +0 -1
  144. package/dist/markdown/components/front-matter.mjs.map +0 -1
  145. package/dist/markdown/components/index.d.cts +0 -4
  146. package/dist/markdown/components/index.d.mts +0 -4
  147. package/dist/markdown/components/markdown-file.d.cts +0 -29
  148. package/dist/markdown/components/markdown-file.d.cts.map +0 -1
  149. package/dist/markdown/components/markdown-file.d.mts +0 -29
  150. package/dist/markdown/components/markdown-file.d.mts.map +0 -1
  151. package/dist/markdown/components/markdown-file.mjs.map +0 -1
  152. package/dist/markdown/components/markdown-table.d.cts +0 -28
  153. package/dist/markdown/components/markdown-table.d.cts.map +0 -1
  154. package/dist/markdown/components/markdown-table.d.mts +0 -28
  155. package/dist/markdown/components/markdown-table.d.mts.map +0 -1
  156. package/dist/markdown/components/markdown-table.mjs.map +0 -1
  157. package/dist/markdown/contexts/index.d.cts +0 -2
  158. package/dist/markdown/contexts/index.d.mts +0 -2
  159. package/dist/markdown/contexts/markdown-table.d.cts +0 -38
  160. package/dist/markdown/contexts/markdown-table.d.cts.map +0 -1
  161. package/dist/markdown/contexts/markdown-table.d.mts +0 -38
  162. package/dist/markdown/contexts/markdown-table.d.mts.map +0 -1
  163. package/dist/markdown/contexts/markdown-table.mjs.map +0 -1
  164. package/dist/markdown/index.d.cts +0 -5
  165. package/dist/markdown/index.d.mts +0 -5
  166. package/dist/render.d.cts +0 -38
  167. package/dist/render.d.cts.map +0 -1
  168. package/dist/render.d.mts +0 -38
  169. package/dist/render.d.mts.map +0 -1
  170. package/dist/render.mjs.map +0 -1
  171. package/dist/types/components.d.cts +0 -142
  172. package/dist/types/components.d.cts.map +0 -1
  173. package/dist/types/components.d.mts +0 -142
  174. package/dist/types/components.d.mts.map +0 -1
  175. package/dist/types/index.d.cts +0 -3
  176. package/dist/types/index.d.mts +0 -3
  177. package/dist/types/plugin.d.cts +0 -39
  178. package/dist/types/plugin.d.cts.map +0 -1
  179. package/dist/types/plugin.d.mts +0 -39
  180. package/dist/types/plugin.d.mts.map +0 -1
  181. package/dist/typescript/components/builtin-file.d.cts +0 -35
  182. package/dist/typescript/components/builtin-file.d.cts.map +0 -1
  183. package/dist/typescript/components/builtin-file.d.mts +0 -35
  184. package/dist/typescript/components/builtin-file.d.mts.map +0 -1
  185. package/dist/typescript/components/builtin-file.mjs.map +0 -1
  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.map +0 -1
  191. package/dist/typescript/components/dynamic-import-statement.d.cts +0 -33
  192. package/dist/typescript/components/dynamic-import-statement.d.cts.map +0 -1
  193. package/dist/typescript/components/dynamic-import-statement.d.mts +0 -33
  194. package/dist/typescript/components/dynamic-import-statement.d.mts.map +0 -1
  195. package/dist/typescript/components/dynamic-import-statement.mjs.map +0 -1
  196. package/dist/typescript/components/entry-file.d.cts +0 -28
  197. package/dist/typescript/components/entry-file.d.cts.map +0 -1
  198. package/dist/typescript/components/entry-file.d.mts +0 -28
  199. package/dist/typescript/components/entry-file.d.mts.map +0 -1
  200. package/dist/typescript/components/entry-file.mjs.map +0 -1
  201. package/dist/typescript/components/index.d.cts +0 -15
  202. package/dist/typescript/components/index.d.mts +0 -15
  203. package/dist/typescript/components/infrastructure-file.d.cts +0 -21
  204. package/dist/typescript/components/infrastructure-file.d.cts.map +0 -1
  205. package/dist/typescript/components/infrastructure-file.d.mts +0 -21
  206. package/dist/typescript/components/infrastructure-file.d.mts.map +0 -1
  207. package/dist/typescript/components/infrastructure-file.mjs.map +0 -1
  208. package/dist/typescript/components/interface-declaration.d.cts +0 -86
  209. package/dist/typescript/components/interface-declaration.d.cts.map +0 -1
  210. package/dist/typescript/components/interface-declaration.d.mts +0 -86
  211. package/dist/typescript/components/interface-declaration.d.mts.map +0 -1
  212. package/dist/typescript/components/interface-declaration.mjs.map +0 -1
  213. package/dist/typescript/components/object-declaration.d.cts +0 -30
  214. package/dist/typescript/components/object-declaration.d.cts.map +0 -1
  215. package/dist/typescript/components/object-declaration.d.mts +0 -30
  216. package/dist/typescript/components/object-declaration.d.mts.map +0 -1
  217. package/dist/typescript/components/object-declaration.mjs.map +0 -1
  218. package/dist/typescript/components/property-name.d.cts +0 -24
  219. package/dist/typescript/components/property-name.d.cts.map +0 -1
  220. package/dist/typescript/components/property-name.d.mts +0 -24
  221. package/dist/typescript/components/property-name.d.mts.map +0 -1
  222. package/dist/typescript/components/property-name.mjs.map +0 -1
  223. package/dist/typescript/components/record-expression.d.cts +0 -13
  224. package/dist/typescript/components/record-expression.d.cts.map +0 -1
  225. package/dist/typescript/components/record-expression.d.mts +0 -13
  226. package/dist/typescript/components/record-expression.d.mts.map +0 -1
  227. package/dist/typescript/components/record-expression.mjs.map +0 -1
  228. package/dist/typescript/components/tsdoc-reflection.d.cts +0 -44
  229. package/dist/typescript/components/tsdoc-reflection.d.cts.map +0 -1
  230. package/dist/typescript/components/tsdoc-reflection.d.mts +0 -44
  231. package/dist/typescript/components/tsdoc-reflection.d.mts.map +0 -1
  232. package/dist/typescript/components/tsdoc-reflection.mjs.map +0 -1
  233. package/dist/typescript/components/tsdoc.d.cts +0 -164
  234. package/dist/typescript/components/tsdoc.d.cts.map +0 -1
  235. package/dist/typescript/components/tsdoc.d.mts +0 -164
  236. package/dist/typescript/components/tsdoc.d.mts.map +0 -1
  237. package/dist/typescript/components/tsdoc.mjs.map +0 -1
  238. package/dist/typescript/components/type-declaration.d.cts +0 -18
  239. package/dist/typescript/components/type-declaration.d.cts.map +0 -1
  240. package/dist/typescript/components/type-declaration.d.mts +0 -18
  241. package/dist/typescript/components/type-declaration.d.mts.map +0 -1
  242. package/dist/typescript/components/type-declaration.mjs.map +0 -1
  243. package/dist/typescript/components/type-parameters.d.cts +0 -24
  244. package/dist/typescript/components/type-parameters.d.cts.map +0 -1
  245. package/dist/typescript/components/type-parameters.d.mts +0 -24
  246. package/dist/typescript/components/type-parameters.d.mts.map +0 -1
  247. package/dist/typescript/components/type-parameters.mjs.map +0 -1
  248. package/dist/typescript/components/typescript-file.d.cts +0 -50
  249. package/dist/typescript/components/typescript-file.d.cts.map +0 -1
  250. package/dist/typescript/components/typescript-file.d.mts +0 -50
  251. package/dist/typescript/components/typescript-file.d.mts.map +0 -1
  252. package/dist/typescript/components/typescript-file.mjs.map +0 -1
  253. package/dist/typescript/contexts/index.d.cts +0 -2
  254. package/dist/typescript/contexts/index.d.mts +0 -2
  255. package/dist/typescript/contexts/lexical-scope.d.cts +0 -17
  256. package/dist/typescript/contexts/lexical-scope.d.cts.map +0 -1
  257. package/dist/typescript/contexts/lexical-scope.d.mts +0 -17
  258. package/dist/typescript/contexts/lexical-scope.d.mts.map +0 -1
  259. package/dist/typescript/contexts/lexical-scope.mjs.map +0 -1
  260. package/dist/typescript/contexts/member-scope.d.cts +0 -20
  261. package/dist/typescript/contexts/member-scope.d.cts.map +0 -1
  262. package/dist/typescript/contexts/member-scope.d.mts +0 -20
  263. package/dist/typescript/contexts/member-scope.d.mts.map +0 -1
  264. package/dist/typescript/contexts/member-scope.mjs.map +0 -1
  265. package/dist/typescript/helpers/get-call-signature-props.d.cts +0 -14
  266. package/dist/typescript/helpers/get-call-signature-props.d.cts.map +0 -1
  267. package/dist/typescript/helpers/get-call-signature-props.d.mts +0 -14
  268. package/dist/typescript/helpers/get-call-signature-props.d.mts.map +0 -1
  269. package/dist/typescript/helpers/get-call-signature-props.mjs.map +0 -1
  270. package/dist/typescript/helpers/index.d.cts +0 -3
  271. package/dist/typescript/helpers/index.d.mts +0 -3
  272. package/dist/typescript/helpers/utilities.d.cts +0 -11
  273. package/dist/typescript/helpers/utilities.d.cts.map +0 -1
  274. package/dist/typescript/helpers/utilities.d.mts +0 -11
  275. package/dist/typescript/helpers/utilities.d.mts.map +0 -1
  276. package/dist/typescript/helpers/utilities.mjs.map +0 -1
  277. package/dist/typescript/index.d.cts +0 -18
  278. package/dist/typescript/index.d.mts +0 -18
  279. package/dist/yaml/components/index.d.cts +0 -2
  280. package/dist/yaml/components/index.d.mts +0 -2
  281. package/dist/yaml/components/yaml-file.d.cts +0 -34
  282. package/dist/yaml/components/yaml-file.d.cts.map +0 -1
  283. package/dist/yaml/components/yaml-file.d.mts +0 -34
  284. package/dist/yaml/components/yaml-file.d.mts.map +0 -1
  285. package/dist/yaml/components/yaml-file.mjs.map +0 -1
  286. package/dist/yaml/index.d.cts +0 -2
  287. package/dist/yaml/index.d.mts +0 -2
@@ -2,8 +2,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
2
  const require_runtime = require('../../_virtual/_rolldown/runtime.cjs');
3
3
  const require_core_contexts_context = require('../../core/contexts/context.cjs');
4
4
  const require_core_components_spacing = require('../../core/components/spacing.cjs');
5
- let _alloy_js_core = require("@alloy-js/core");
6
5
  let _alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
6
+ let _alloy_js_core = require("@alloy-js/core");
7
7
  let _powerlines_deepkit_utilities = require("@powerlines/deepkit/utilities");
8
8
  let _stryke_type_checks_is_undefined = require("@stryke/type-checks/is-undefined");
9
9
  let _stryke_type_checks_is_set_string = require("@stryke/type-checks/is-set-string");
@@ -14,57 +14,83 @@ let _stryke_type_checks_is_set_string = require("@stryke/type-checks/is-set-stri
14
14
  */
15
15
  function TSDoc(props) {
16
16
  const [{ children, heading }] = (0, _alloy_js_core.splitProps)(props, ["children", "heading"]);
17
- return /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsxs)(_alloy_js_core_jsx_runtime.Fragment, { children: [
17
+ return [
18
18
  "/**",
19
- /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsxs)("align", {
19
+ (0, _alloy_js_core_jsx_runtime.createIntrinsic)("align", {
20
20
  string: " * ",
21
- children: [
22
- /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsx)("hbr", {}),
23
- /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsx)(_alloy_js_core.Show, {
24
- when: !(0, _stryke_type_checks_is_undefined.isUndefined)(heading),
25
- children: heading
26
- }),
27
- /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsxs)(_alloy_js_core.Show, {
28
- when: !(0, _stryke_type_checks_is_undefined.isUndefined)(children) && (0, _alloy_js_core.childrenArray)(() => children).filter(Boolean).length > 0,
29
- children: [/* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsx)(_alloy_js_core.Show, {
30
- when: !(0, _stryke_type_checks_is_undefined.isUndefined)(heading),
31
- children: /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsx)(require_core_components_spacing.Spacing, {})
32
- }), /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsx)(_alloy_js_core.List, { children: (0, _alloy_js_core.childrenArray)(() => children) })]
33
- })
34
- ]
21
+ get children() {
22
+ return [
23
+ (0, _alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
24
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
25
+ get when() {
26
+ return !(0, _stryke_type_checks_is_undefined.isUndefined)(heading);
27
+ },
28
+ children: heading
29
+ }),
30
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
31
+ get when() {
32
+ 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;
33
+ },
34
+ get children() {
35
+ return [(0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
36
+ get when() {
37
+ return !(0, _stryke_type_checks_is_undefined.isUndefined)(heading);
38
+ },
39
+ get children() {
40
+ return (0, _alloy_js_core_jsx_runtime.createComponent)(require_core_components_spacing.Spacing, {});
41
+ }
42
+ }), (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.List, { get children() {
43
+ return (0, _alloy_js_core.childrenArray)(() => children);
44
+ } })];
45
+ }
46
+ })
47
+ ];
48
+ }
35
49
  }),
36
- /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsx)("hbr", {}),
50
+ (0, _alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
37
51
  `*/`,
38
- /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsx)("hbr", {})
39
- ] });
52
+ (0, _alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {})
53
+ ];
40
54
  }
41
55
  /**
42
56
  * Create a TSDoc `@<props.tag>` tag.
43
57
  */
44
58
  function TSDocTag(props) {
45
59
  const [{ children, tag }] = (0, _alloy_js_core.splitProps)(props, ["children", "tag"]);
46
- return /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsxs)(_alloy_js_core_jsx_runtime.Fragment, { children: [
60
+ return [
47
61
  `@${tag} `,
48
- /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsx)(_alloy_js_core.Show, {
49
- when: Boolean(children),
50
- children: /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsx)("align", {
51
- width: 2,
52
- children: /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsx)(_alloy_js_core.Prose, { children })
53
- })
62
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
63
+ get when() {
64
+ return Boolean(children);
65
+ },
66
+ get children() {
67
+ return (0, _alloy_js_core_jsx_runtime.createIntrinsic)("align", {
68
+ width: 2,
69
+ get children() {
70
+ return (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Prose, { children });
71
+ }
72
+ });
73
+ }
54
74
  }),
55
- /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsx)("sbr", {})
56
- ] });
75
+ (0, _alloy_js_core_jsx_runtime.createIntrinsic)("sbr", {})
76
+ ];
57
77
  }
58
78
  /**
59
79
  * A component that creates a TSDoc block with `@param` tags for each parameter.
60
80
  */
61
81
  function TSDocParams(props) {
62
- return /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsx)(_alloy_js_core.For, {
82
+ return (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.For, {
63
83
  each: normalizeParametersForDoc(props.parameters),
64
- children: (param) => /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsx)(TSDocParam, {
65
- name: param.name,
66
- optional: param.optional,
67
- children: param.doc
84
+ children: (param) => (0, _alloy_js_core_jsx_runtime.createComponent)(TSDocParam, {
85
+ get name() {
86
+ return param.name;
87
+ },
88
+ get optional() {
89
+ return param.optional;
90
+ },
91
+ get children() {
92
+ return param.doc;
93
+ }
68
94
  })
69
95
  });
70
96
  }
@@ -77,79 +103,82 @@ function normalizeParametersForDoc(parameters) {
77
103
  */
78
104
  function TSDocTitle(props) {
79
105
  const [{ children }, rest] = (0, _alloy_js_core.splitProps)(props, ["children"]);
80
- return /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsx)(TSDocTag, {
81
- ...rest,
106
+ return (0, _alloy_js_core_jsx_runtime.createComponent)(TSDocTag, (0, _alloy_js_core_jsx_runtime.mergeProps)(rest, {
82
107
  tag: "title",
83
108
  children
84
- });
109
+ }));
85
110
  }
86
111
  /**
87
112
  * Create a TSDoc `@domain` tag.
88
113
  */
89
114
  function TSDocDomain(props) {
90
115
  const [{ children }, rest] = (0, _alloy_js_core.splitProps)(props, ["children"]);
91
- return /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsx)(TSDocTag, {
92
- ...rest,
116
+ return (0, _alloy_js_core_jsx_runtime.createComponent)(TSDocTag, (0, _alloy_js_core_jsx_runtime.mergeProps)(rest, {
93
117
  tag: "domain",
94
118
  children
95
- });
119
+ }));
96
120
  }
97
121
  /**
98
122
  * Create a TSDoc `@alias` tag.
99
123
  */
100
124
  function TSDocAlias(props) {
101
125
  const [{ children }, rest] = (0, _alloy_js_core.splitProps)(props, ["children"]);
102
- return /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsx)(TSDocTag, {
103
- ...rest,
126
+ return (0, _alloy_js_core_jsx_runtime.createComponent)(TSDocTag, (0, _alloy_js_core_jsx_runtime.mergeProps)(rest, {
104
127
  tag: "alias",
105
128
  children
106
- });
129
+ }));
107
130
  }
108
131
  /**
109
132
  * Create a TSDoc `@permission` tag.
110
133
  */
111
134
  function TSDocPermission(props) {
112
135
  const [{ children }, rest] = (0, _alloy_js_core.splitProps)(props, ["children"]);
113
- return /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsx)(TSDocTag, {
114
- ...rest,
136
+ return (0, _alloy_js_core_jsx_runtime.createComponent)(TSDocTag, (0, _alloy_js_core_jsx_runtime.mergeProps)(rest, {
115
137
  tag: "permission",
116
138
  children
117
- });
139
+ }));
118
140
  }
119
141
  /**
120
142
  * Create a TSDoc `@defaultValue` tag.
121
143
  */
122
144
  function TSDocDefaultValue(props) {
123
145
  const [{ type, defaultValue }] = (0, _alloy_js_core.splitProps)(props, ["type", "defaultValue"]);
124
- return /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsxs)(_alloy_js_core_jsx_runtime.Fragment, { children: ["@defaultValue ", /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsx)(_alloy_js_core.Show, {
125
- when: !(0, _stryke_type_checks_is_undefined.isUndefined)(defaultValue),
126
- children: /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsx)("align", {
127
- width: 2,
128
- children: /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsx)(_alloy_js_core.Prose, { children: (0, _powerlines_deepkit_utilities.stringifyDefaultValue)(type, defaultValue) })
129
- })
130
- })] });
146
+ return ["@defaultValue ", (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
147
+ get when() {
148
+ return !(0, _stryke_type_checks_is_undefined.isUndefined)(defaultValue);
149
+ },
150
+ get children() {
151
+ return (0, _alloy_js_core_jsx_runtime.createIntrinsic)("align", {
152
+ width: 2,
153
+ get children() {
154
+ return (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Prose, { get children() {
155
+ return (0, _powerlines_deepkit_utilities.stringifyDefaultValue)(type, defaultValue);
156
+ } });
157
+ }
158
+ });
159
+ }
160
+ })];
131
161
  }
132
162
  /**
133
163
  * Create a TSDoc `@remarks` tag.
134
164
  */
135
165
  function TSDocRemarks(props) {
136
- return /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsxs)(_alloy_js_core_jsx_runtime.Fragment, { children: [
166
+ return [
137
167
  "@remarks ",
138
- /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsx)("hbr", {}),
139
- /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsx)(_alloy_js_core.List, {
168
+ (0, _alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
169
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.List, {
140
170
  hardline: true,
141
- children: (0, _alloy_js_core.childrenArray)(() => props.children)
171
+ get children() {
172
+ return (0, _alloy_js_core.childrenArray)(() => props.children);
173
+ }
142
174
  })
143
- ] });
175
+ ];
144
176
  }
145
177
  /**
146
178
  * Create a TSDoc `@see` tag.
147
179
  */
148
180
  function TSDocLink(props) {
149
- return /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsx)(TSDocTag, {
150
- ...props,
151
- tag: "see"
152
- });
181
+ return (0, _alloy_js_core_jsx_runtime.createComponent)(TSDocTag, (0, _alloy_js_core_jsx_runtime.mergeProps)(props, { tag: "see" }));
153
182
  }
154
183
  /**
155
184
  * Create a TSDoc `@example` tag.
@@ -161,47 +190,51 @@ function TSDocExample(props) {
161
190
  "language",
162
191
  "children"
163
192
  ]);
164
- return /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsxs)(_alloy_js_core_jsx_runtime.Fragment, { children: [
193
+ return [
165
194
  "@example ",
166
- /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsx)("hbr", {}),
167
- /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsxs)(_alloy_js_core.Show, {
195
+ (0, _alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
196
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
168
197
  when: fenced,
169
- children: [
170
- "```",
171
- language || (tsx ? "tsx" : "ts"),
172
- /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsx)("hbr", {})
173
- ]
198
+ get children() {
199
+ return [
200
+ "```",
201
+ language || (tsx ? "tsx" : "ts"),
202
+ (0, _alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {})
203
+ ];
204
+ }
174
205
  }),
175
206
  children,
176
- /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsxs)(_alloy_js_core.Show, {
207
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
177
208
  when: fenced,
178
- children: [/* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsx)("hbr", {}), "```"]
209
+ get children() {
210
+ return [(0, _alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}), "```"];
211
+ }
179
212
  })
180
- ] });
213
+ ];
181
214
  }
182
215
  /**
183
216
  * Create a TSDoc `@readonly` tag.
184
217
  */
185
218
  function TSDocReadonly() {
186
- return /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsx)(TSDocTag, { tag: "readonly" });
219
+ return (0, _alloy_js_core_jsx_runtime.createComponent)(TSDocTag, { tag: "readonly" });
187
220
  }
188
221
  /**
189
222
  * Create a TSDoc `@internal` tag.
190
223
  */
191
224
  function TSDocInternal() {
192
- return /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsx)(TSDocTag, { tag: "internal" });
225
+ return (0, _alloy_js_core_jsx_runtime.createComponent)(TSDocTag, { tag: "internal" });
193
226
  }
194
227
  /**
195
228
  * Create a TSDoc `@ignore` tag.
196
229
  */
197
230
  function TSDocIgnore() {
198
- return /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsx)(TSDocTag, { tag: "ignore" });
231
+ return (0, _alloy_js_core_jsx_runtime.createComponent)(TSDocTag, { tag: "ignore" });
199
232
  }
200
233
  /**
201
234
  * Create a TSDoc `@hidden` tag.
202
235
  */
203
236
  function TSDocHidden() {
204
- return /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsx)(TSDocTag, { tag: "hidden" });
237
+ return (0, _alloy_js_core_jsx_runtime.createComponent)(TSDocTag, { tag: "hidden" });
205
238
  }
206
239
  /**
207
240
  * Generates a TypeScript interface property for the given reflection class.
@@ -219,111 +252,165 @@ function TSDocAttributesTags(props) {
219
252
  ]);
220
253
  const title = (0, _alloy_js_core.computed)(() => props.title?.trim() || "");
221
254
  const domain = (0, _alloy_js_core.computed)(() => props.domain?.trim() || "");
222
- return /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsxs)(_alloy_js_core_jsx_runtime.Fragment, { children: [
223
- /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsx)(_alloy_js_core.Show, {
224
- when: (0, _stryke_type_checks_is_set_string.isSetString)(title.value),
225
- children: /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsx)(TSDocTitle, { children: title.value })
255
+ return [
256
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
257
+ get when() {
258
+ return (0, _stryke_type_checks_is_set_string.isSetString)(title.value);
259
+ },
260
+ get children() {
261
+ return (0, _alloy_js_core_jsx_runtime.createComponent)(TSDocTitle, { get children() {
262
+ return title.value;
263
+ } });
264
+ }
226
265
  }),
227
- /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsx)(_alloy_js_core.Show, {
228
- when: !(0, _stryke_type_checks_is_undefined.isUndefined)(alias) && alias.length > 0 && alias.some((a) => (0, _stryke_type_checks_is_set_string.isSetString)(a?.trim())),
229
- children: /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsx)(_alloy_js_core.For, {
230
- each: alias?.filter((a) => (0, _stryke_type_checks_is_set_string.isSetString)(a?.trim())) ?? [],
231
- children: (alias) => /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsx)(TSDocAlias, { children: alias })
232
- })
266
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
267
+ get when() {
268
+ return (0, _alloy_js_core_jsx_runtime.memo)(() => !!(!(0, _stryke_type_checks_is_undefined.isUndefined)(alias) && alias.length > 0))() && alias.some((a) => (0, _stryke_type_checks_is_set_string.isSetString)(a?.trim()));
269
+ },
270
+ get children() {
271
+ return (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.For, {
272
+ get each() {
273
+ return alias?.filter((a) => (0, _stryke_type_checks_is_set_string.isSetString)(a?.trim())) ?? [];
274
+ },
275
+ children: (alias) => (0, _alloy_js_core_jsx_runtime.createComponent)(TSDocAlias, { children: alias })
276
+ });
277
+ }
233
278
  }),
234
- /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsx)(_alloy_js_core.Show, {
235
- when: (0, _stryke_type_checks_is_set_string.isSetString)(domain.value),
236
- children: /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsx)(TSDocDomain, { children: domain.value })
279
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
280
+ get when() {
281
+ return (0, _stryke_type_checks_is_set_string.isSetString)(domain.value);
282
+ },
283
+ get children() {
284
+ return (0, _alloy_js_core_jsx_runtime.createComponent)(TSDocDomain, { get children() {
285
+ return domain.value;
286
+ } });
287
+ }
237
288
  }),
238
- /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsx)(_alloy_js_core.Show, {
239
- when: !(0, _stryke_type_checks_is_undefined.isUndefined)(permission) && permission.length > 0 && permission.some((p) => (0, _stryke_type_checks_is_set_string.isSetString)(p?.trim())),
240
- children: /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsx)(_alloy_js_core.For, {
241
- each: permission?.filter((p) => (0, _stryke_type_checks_is_set_string.isSetString)(p?.trim())) ?? [],
242
- children: (permission) => /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsx)(TSDocPermission, { children: permission })
243
- })
289
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
290
+ get when() {
291
+ return (0, _alloy_js_core_jsx_runtime.memo)(() => !!(!(0, _stryke_type_checks_is_undefined.isUndefined)(permission) && permission.length > 0))() && permission.some((p) => (0, _stryke_type_checks_is_set_string.isSetString)(p?.trim()));
292
+ },
293
+ get children() {
294
+ return (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.For, {
295
+ get each() {
296
+ return permission?.filter((p) => (0, _stryke_type_checks_is_set_string.isSetString)(p?.trim())) ?? [];
297
+ },
298
+ children: (permission) => (0, _alloy_js_core_jsx_runtime.createComponent)(TSDocPermission, { children: permission })
299
+ });
300
+ }
244
301
  }),
245
- /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsx)(_alloy_js_core.Show, {
302
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
246
303
  when: readonly === true,
247
- children: /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsx)(TSDocReadonly, {})
304
+ get children() {
305
+ return (0, _alloy_js_core_jsx_runtime.createComponent)(TSDocReadonly, {});
306
+ }
248
307
  }),
249
- /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsx)(_alloy_js_core.Show, {
308
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
250
309
  when: internal === true,
251
- children: /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsx)(TSDocInternal, {})
310
+ get children() {
311
+ return (0, _alloy_js_core_jsx_runtime.createComponent)(TSDocInternal, {});
312
+ }
252
313
  }),
253
- /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsx)(_alloy_js_core.Show, {
314
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
254
315
  when: ignore === true,
255
- children: /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsx)(TSDocIgnore, {})
316
+ get children() {
317
+ return (0, _alloy_js_core_jsx_runtime.createComponent)(TSDocIgnore, {});
318
+ }
256
319
  }),
257
- /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsx)(_alloy_js_core.Show, {
320
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
258
321
  when: hidden === true,
259
- children: /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsx)(TSDocHidden, {})
322
+ get children() {
323
+ return (0, _alloy_js_core_jsx_runtime.createComponent)(TSDocHidden, {});
324
+ }
260
325
  }),
261
- /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsx)(_alloy_js_core.Show, {
262
- when: !(0, _stryke_type_checks_is_undefined.isUndefined)(type) && !(0, _stryke_type_checks_is_undefined.isUndefined)(defaultValue),
263
- children: /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsx)(TSDocDefaultValue, {
264
- type,
265
- defaultValue
266
- })
326
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
327
+ get when() {
328
+ return (0, _alloy_js_core_jsx_runtime.memo)(() => !!!(0, _stryke_type_checks_is_undefined.isUndefined)(type))() && !(0, _stryke_type_checks_is_undefined.isUndefined)(defaultValue);
329
+ },
330
+ get children() {
331
+ return (0, _alloy_js_core_jsx_runtime.createComponent)(TSDocDefaultValue, {
332
+ type,
333
+ defaultValue
334
+ });
335
+ }
267
336
  })
268
- ] });
337
+ ];
269
338
  }
270
339
  /**
271
340
  * Create a TSDoc parameter set off with `@param`.
272
341
  */
273
342
  function TSDocParam(props) {
274
- return /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsxs)(_alloy_js_core_jsx_runtime.Fragment, { children: [
343
+ return [
275
344
  "@param ",
276
- /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsx)(TSDocParamName, {
277
- name: props.name,
278
- optional: props.optional,
279
- defaultValue: props.defaultValue
345
+ (0, _alloy_js_core_jsx_runtime.createComponent)(TSDocParamName, {
346
+ get name() {
347
+ return props.name;
348
+ },
349
+ get optional() {
350
+ return props.optional;
351
+ },
352
+ get defaultValue() {
353
+ return props.defaultValue;
354
+ }
280
355
  }),
281
- /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsx)(TSDocParamDescription, { children: props.children })
282
- ] });
356
+ (0, _alloy_js_core_jsx_runtime.createComponent)(TSDocParamDescription, { get children() {
357
+ return props.children;
358
+ } })
359
+ ];
283
360
  }
284
361
  function TSDocParamName(props) {
285
- return /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsxs)(_alloy_js_core_jsx_runtime.Fragment, { children: [
286
- /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsx)(_alloy_js_core.Show, {
287
- when: props.optional,
362
+ return [
363
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
364
+ get when() {
365
+ return props.optional;
366
+ },
288
367
  children: "["
289
368
  }),
290
- props.name,
291
- /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsxs)(_alloy_js_core.Show, {
292
- when: Boolean(props.defaultValue),
293
- children: ["=", props.defaultValue]
369
+ (0, _alloy_js_core_jsx_runtime.memo)(() => props.name),
370
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
371
+ get when() {
372
+ return Boolean(props.defaultValue);
373
+ },
374
+ get children() {
375
+ return ["=", (0, _alloy_js_core_jsx_runtime.memo)(() => props.defaultValue)];
376
+ }
294
377
  }),
295
- /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsx)(_alloy_js_core.Show, {
296
- when: props.optional,
378
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
379
+ get when() {
380
+ return props.optional;
381
+ },
297
382
  children: "]"
298
383
  })
299
- ] });
384
+ ];
300
385
  }
301
386
  function TSDocParamDescription(props) {
302
- return /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsxs)(_alloy_js_core.Show, {
303
- when: Boolean(props.children),
304
- children: [" - ", /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsx)("align", {
305
- width: 2,
306
- children: /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsx)(_alloy_js_core.Prose, { children: props.children })
307
- })]
387
+ return (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
388
+ get when() {
389
+ return Boolean(props.children);
390
+ },
391
+ get children() {
392
+ return [" - ", (0, _alloy_js_core_jsx_runtime.createIntrinsic)("align", {
393
+ width: 2,
394
+ get children() {
395
+ return (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Prose, { get children() {
396
+ return props.children;
397
+ } });
398
+ }
399
+ })];
400
+ }
308
401
  });
309
402
  }
310
403
  /**
311
404
  * Create a TSDoc `@returns` tag.
312
405
  */
313
406
  function TSDocReturns(props) {
314
- return /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsx)(TSDocTag, {
315
- ...props,
316
- tag: "returns"
317
- });
407
+ return (0, _alloy_js_core_jsx_runtime.createComponent)(TSDocTag, (0, _alloy_js_core_jsx_runtime.mergeProps)(props, { tag: "returns" }));
318
408
  }
319
409
  /**
320
410
  * Create a TSDoc `@throws` tag.
321
411
  */
322
412
  function TSDocThrows(props) {
323
- return /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsx)(TSDocTag, {
324
- ...props,
325
- tag: "throws"
326
- });
413
+ return (0, _alloy_js_core_jsx_runtime.createComponent)(TSDocTag, (0, _alloy_js_core_jsx_runtime.mergeProps)(props, { tag: "throws" }));
327
414
  }
328
415
  /**
329
416
  * Generates a TSDoc `@module` tag for the given module name.
@@ -335,28 +422,36 @@ function TSDocModule(props) {
335
422
  "prefix"
336
423
  ]);
337
424
  const context = require_core_contexts_context.usePowerlinesSafe();
338
- return /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsxs)(_alloy_js_core_jsx_runtime.Fragment, { children: [
425
+ return [
339
426
  "/**",
340
- /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsxs)("align", {
427
+ (0, _alloy_js_core_jsx_runtime.createIntrinsic)("align", {
341
428
  string: " * ",
342
- children: [
343
- /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsx)("hbr", {}),
344
- /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsxs)(_alloy_js_core.Show, {
345
- when: Boolean(children),
346
- children: [/* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsx)(_alloy_js_core.List, {
347
- hardline: true,
348
- children: (0, _alloy_js_core.childrenArray)(() => children)
349
- }), /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsx)(require_core_components_spacing.Spacing, {})]
350
- }),
351
- "@module ",
352
- prefix || context?.config?.framework || "powerlines",
353
- ":",
354
- name
355
- ]
429
+ get children() {
430
+ return [
431
+ (0, _alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
432
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
433
+ get when() {
434
+ return Boolean(children);
435
+ },
436
+ get children() {
437
+ return [(0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.List, {
438
+ hardline: true,
439
+ get children() {
440
+ return (0, _alloy_js_core.childrenArray)(() => children);
441
+ }
442
+ }), (0, _alloy_js_core_jsx_runtime.createComponent)(require_core_components_spacing.Spacing, {})];
443
+ }
444
+ }),
445
+ "@module ",
446
+ (0, _alloy_js_core_jsx_runtime.memo)(() => prefix || context?.config?.framework || "powerlines"),
447
+ ":",
448
+ name
449
+ ];
450
+ }
356
451
  }),
357
- /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsx)("hbr", {}),
452
+ (0, _alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
358
453
  ` */`
359
- ] });
454
+ ];
360
455
  }
361
456
 
362
457
  //#endregion