@powerlines/plugin-alloy 0.19.13 → 0.19.15

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 (364) hide show
  1. package/dist/builtin-file-0k9DccCv.cjs +67 -0
  2. package/dist/builtin-file-DcLp9sck.d.mts +35 -0
  3. package/dist/builtin-file-DcLp9sck.d.mts.map +1 -0
  4. package/dist/builtin-file-DtkZ-2Hs.d.cts +35 -0
  5. package/dist/builtin-file-DtkZ-2Hs.d.cts.map +1 -0
  6. package/dist/builtin-file-Ie_jPokg.mjs +62 -0
  7. package/dist/builtin-file-Ie_jPokg.mjs.map +1 -0
  8. package/dist/builtin-file-MrUfX3YE.d.cts +35 -0
  9. package/dist/builtin-file-MrUfX3YE.d.cts.map +1 -0
  10. package/dist/builtin-file-RXdRpQs-.d.mts +35 -0
  11. package/dist/builtin-file-RXdRpQs-.d.mts.map +1 -0
  12. package/dist/capnp-CRMDa2Ok.d.mts +88 -0
  13. package/dist/capnp-CRMDa2Ok.d.mts.map +1 -0
  14. package/dist/capnp-ClfqI-5t.cjs +356 -0
  15. package/dist/capnp-CnQcwo0s.mjs +260 -0
  16. package/dist/capnp-CnQcwo0s.mjs.map +1 -0
  17. package/dist/capnp-YnGBPkLK.d.cts +88 -0
  18. package/dist/capnp-YnGBPkLK.d.cts.map +1 -0
  19. package/dist/{_virtual/rolldown_runtime.cjs → chunk-CbDLau6x.cjs} +6 -1
  20. package/dist/components-B0evB5xd.cjs +0 -0
  21. package/dist/components-BNK9p5AE.cjs +0 -0
  22. package/dist/components-C_Rnle_h.mjs +1 -0
  23. package/dist/components-CpjG2zC9.mjs +1 -0
  24. package/dist/components-CrWk5KiP.mjs +1 -0
  25. package/dist/components-CyQi7RHT.mjs +1 -0
  26. package/dist/components-DPKSrvP-.cjs +0 -0
  27. package/dist/components-IRVnipN0.d.cts +143 -0
  28. package/dist/components-IRVnipN0.d.cts.map +1 -0
  29. package/dist/components-ISRFDWTF.cjs +0 -0
  30. package/dist/components-oHSM7vmp.d.mts +143 -0
  31. package/dist/components-oHSM7vmp.d.mts.map +1 -0
  32. package/dist/context--KBspFnw.cjs +79 -0
  33. package/dist/context-Du_bVzRZ.d.mts +67 -0
  34. package/dist/context-Du_bVzRZ.d.mts.map +1 -0
  35. package/dist/context-Gqs3Ru42.d.cts +67 -0
  36. package/dist/context-Gqs3Ru42.d.cts.map +1 -0
  37. package/dist/context-e2kZWEFW.mjs +51 -0
  38. package/dist/context-e2kZWEFW.mjs.map +1 -0
  39. package/dist/contexts-DezKayEz.cjs +0 -0
  40. package/dist/contexts-J643Nrrt.cjs +0 -0
  41. package/dist/contexts-_jq-yJQG.mjs +1 -0
  42. package/dist/contexts-juWSyBfb.mjs +1 -0
  43. package/dist/core/components/index.cjs +11 -6
  44. package/dist/core/components/index.d.cts +6 -3
  45. package/dist/core/components/index.d.mts +6 -3
  46. package/dist/core/components/index.mjs +8 -3
  47. package/dist/core/components/output.cjs +2 -32
  48. package/dist/core/components/output.d.cts +2 -22
  49. package/dist/core/components/output.d.mts +2 -22
  50. package/dist/core/components/output.mjs +1 -30
  51. package/dist/core/components/single-line-comment.cjs +2 -21
  52. package/dist/core/components/single-line-comment.d.cts +2 -21
  53. package/dist/core/components/single-line-comment.d.mts +2 -21
  54. package/dist/core/components/single-line-comment.mjs +1 -19
  55. package/dist/core/components/source-file.cjs +6 -63
  56. package/dist/core/components/source-file.d.cts +2 -31
  57. package/dist/core/components/source-file.d.mts +2 -31
  58. package/dist/core/components/source-file.mjs +5 -60
  59. package/dist/core/contexts/context.cjs +7 -53
  60. package/dist/core/contexts/context.d.cts +1 -65
  61. package/dist/core/contexts/context.d.mts +1 -65
  62. package/dist/core/contexts/context.mjs +2 -48
  63. package/dist/core/contexts/index.cjs +17 -15
  64. package/dist/core/contexts/index.d.cts +4 -2
  65. package/dist/core/contexts/index.d.mts +4 -2
  66. package/dist/core/contexts/index.mjs +4 -2
  67. package/dist/core/contexts/reflection.cjs +9 -67
  68. package/dist/core/contexts/reflection.d.cts +2 -51
  69. package/dist/core/contexts/reflection.d.mts +2 -51
  70. package/dist/core/contexts/reflection.mjs +1 -58
  71. package/dist/core/index.cjs +24 -23
  72. package/dist/core/index.d.cts +8 -7
  73. package/dist/core/index.d.mts +8 -7
  74. package/dist/core/index.mjs +8 -7
  75. package/dist/create-builtin-BiKyN2s2.cjs +24 -0
  76. package/dist/create-builtin-DFiWd6Zc.d.cts +16 -0
  77. package/dist/create-builtin-DFiWd6Zc.d.cts.map +1 -0
  78. package/dist/create-builtin-DQuJyeZw.mjs +19 -0
  79. package/dist/create-builtin-DQuJyeZw.mjs.map +1 -0
  80. package/dist/create-builtin-FtQ6qKzX.d.mts +16 -0
  81. package/dist/create-builtin-FtQ6qKzX.d.mts.map +1 -0
  82. package/dist/dynamic-import-statement-B5Pdwr4Z.d.mts +33 -0
  83. package/dist/dynamic-import-statement-B5Pdwr4Z.d.mts.map +1 -0
  84. package/dist/dynamic-import-statement-BbNJchii.mjs +25 -0
  85. package/dist/dynamic-import-statement-BbNJchii.mjs.map +1 -0
  86. package/dist/dynamic-import-statement-DNJlI3ND.d.cts +33 -0
  87. package/dist/dynamic-import-statement-DNJlI3ND.d.cts.map +1 -0
  88. package/dist/dynamic-import-statement-DTSUoDt2.d.cts +33 -0
  89. package/dist/dynamic-import-statement-DTSUoDt2.d.cts.map +1 -0
  90. package/dist/dynamic-import-statement-Dy_MY_Ua.cjs +30 -0
  91. package/dist/entry-file-CfMzpF03.d.cts +28 -0
  92. package/dist/entry-file-CfMzpF03.d.cts.map +1 -0
  93. package/dist/entry-file-CnC6P3j6.d.mts +28 -0
  94. package/dist/entry-file-CnC6P3j6.d.mts.map +1 -0
  95. package/dist/entry-file-D64eurjX.mjs +41 -0
  96. package/dist/entry-file-D64eurjX.mjs.map +1 -0
  97. package/dist/entry-file-DVueLVSn.d.cts +28 -0
  98. package/dist/entry-file-DVueLVSn.d.cts.map +1 -0
  99. package/dist/entry-file-GR5Rsn25.cjs +47 -0
  100. package/dist/entry-file-ayzYWEo5.d.mts +28 -0
  101. package/dist/entry-file-ayzYWEo5.d.mts.map +1 -0
  102. package/dist/front-matter-2eGRXX11.mjs +28 -0
  103. package/dist/front-matter-2eGRXX11.mjs.map +1 -0
  104. package/dist/front-matter-DGpkM9OE.d.mts +16 -0
  105. package/dist/front-matter-DGpkM9OE.d.mts.map +1 -0
  106. package/dist/front-matter-DZ1tB-Uj.cjs +33 -0
  107. package/dist/front-matter-gcouRI-6.d.cts +16 -0
  108. package/dist/front-matter-gcouRI-6.d.cts.map +1 -0
  109. package/dist/front-matter-u9H7VPAF.d.cts +16 -0
  110. package/dist/front-matter-u9H7VPAF.d.cts.map +1 -0
  111. package/dist/helpers/capnp.cjs +18 -276
  112. package/dist/helpers/capnp.d.cts +1 -86
  113. package/dist/helpers/capnp.d.mts +1 -86
  114. package/dist/helpers/capnp.mjs +1 -257
  115. package/dist/helpers/create-builtin.cjs +2 -18
  116. package/dist/helpers/create-builtin.d.cts +1 -14
  117. package/dist/helpers/create-builtin.d.mts +1 -14
  118. package/dist/helpers/create-builtin.mjs +1 -16
  119. package/dist/helpers/index.cjs +23 -23
  120. package/dist/helpers/index.d.cts +4 -4
  121. package/dist/helpers/index.d.mts +4 -4
  122. package/dist/helpers/index.mjs +4 -4
  123. package/dist/helpers/refkey.cjs +2 -15
  124. package/dist/helpers/refkey.d.cts +1 -12
  125. package/dist/helpers/refkey.d.mts +1 -12
  126. package/dist/helpers/refkey.mjs +1 -13
  127. package/dist/helpers/typescript.cjs +2 -45
  128. package/dist/helpers/typescript.d.cts +1 -24
  129. package/dist/helpers/typescript.d.mts +1 -24
  130. package/dist/helpers/typescript.mjs +1 -43
  131. package/dist/index-B-Y-ZG2x.d.mts +1 -0
  132. package/dist/index-BH1nuHdZ.d.cts +1 -0
  133. package/dist/index-BUYyA1Xh.d.cts +1 -0
  134. package/dist/index-C-lwXyQ6.d.mts +1 -0
  135. package/dist/index-C6HcjJiY.d.mts +1 -0
  136. package/dist/index-C6yvNuzO.d.cts +1 -0
  137. package/dist/index-CrhZaFgN.d.cts +1 -0
  138. package/dist/index-CzItj62a.d.mts +1 -0
  139. package/dist/index-DcDTDbdz.d.cts +1 -0
  140. package/dist/index-hcx6LMSC.d.mts +1 -0
  141. package/dist/index.cjs +8 -6
  142. package/dist/index.d.cts +3 -2
  143. package/dist/index.d.cts.map +1 -0
  144. package/dist/index.d.mts +3 -2
  145. package/dist/index.d.mts.map +1 -0
  146. package/dist/index.mjs +8 -5
  147. package/dist/index.mjs.map +1 -0
  148. package/dist/markdown/components/front-matter.cjs +2 -27
  149. package/dist/markdown/components/front-matter.d.cts +1 -14
  150. package/dist/markdown/components/front-matter.d.mts +1 -14
  151. package/dist/markdown/components/front-matter.mjs +1 -25
  152. package/dist/markdown/components/index.cjs +17 -9
  153. package/dist/markdown/components/index.d.cts +7 -3
  154. package/dist/markdown/components/index.d.mts +7 -3
  155. package/dist/markdown/components/index.mjs +11 -3
  156. package/dist/markdown/components/markdown-file.cjs +10 -130
  157. package/dist/markdown/components/markdown-file.d.cts +4 -27
  158. package/dist/markdown/components/markdown-file.d.mts +4 -27
  159. package/dist/markdown/components/markdown-file.mjs +8 -127
  160. package/dist/markdown/components/markdown-table.cjs +5 -100
  161. package/dist/markdown/components/markdown-table.d.cts +3 -26
  162. package/dist/markdown/components/markdown-table.d.mts +3 -26
  163. package/dist/markdown/components/markdown-table.mjs +2 -96
  164. package/dist/markdown/contexts/index.cjs +6 -5
  165. package/dist/markdown/contexts/index.d.cts +2 -1
  166. package/dist/markdown/contexts/index.d.mts +2 -1
  167. package/dist/markdown/contexts/index.mjs +2 -1
  168. package/dist/markdown/contexts/markdown-table.cjs +5 -36
  169. package/dist/markdown/contexts/markdown-table.d.cts +1 -36
  170. package/dist/markdown/contexts/markdown-table.d.mts +1 -36
  171. package/dist/markdown/contexts/markdown-table.mjs +1 -31
  172. package/dist/markdown/index.cjs +22 -16
  173. package/dist/markdown/index.d.cts +8 -6
  174. package/dist/markdown/index.d.mts +8 -6
  175. package/dist/markdown/index.mjs +12 -6
  176. package/dist/markdown-file-CAwtMwsl.cjs +141 -0
  177. package/dist/markdown-file-CIGTz9xQ.d.cts +29 -0
  178. package/dist/markdown-file-CIGTz9xQ.d.cts.map +1 -0
  179. package/dist/markdown-file-CxDM6MCV.d.cts +29 -0
  180. package/dist/markdown-file-CxDM6MCV.d.cts.map +1 -0
  181. package/dist/markdown-file-DIcSvowq.mjs +130 -0
  182. package/dist/markdown-file-DIcSvowq.mjs.map +1 -0
  183. package/dist/markdown-file-EtJaVhJ3.d.mts +29 -0
  184. package/dist/markdown-file-EtJaVhJ3.d.mts.map +1 -0
  185. package/dist/markdown-table-AoJIzA89.d.cts +28 -0
  186. package/dist/markdown-table-AoJIzA89.d.cts.map +1 -0
  187. package/dist/markdown-table-BWPm6GbJ.cjs +57 -0
  188. package/dist/markdown-table-Br2Ihl2z.d.cts +38 -0
  189. package/dist/markdown-table-Br2Ihl2z.d.cts.map +1 -0
  190. package/dist/markdown-table-CFL7L6rA.d.mts +38 -0
  191. package/dist/markdown-table-CFL7L6rA.d.mts.map +1 -0
  192. package/dist/markdown-table-ChvYobzz.d.mts +28 -0
  193. package/dist/markdown-table-ChvYobzz.d.mts.map +1 -0
  194. package/dist/markdown-table-D3DonpwR.mjs +99 -0
  195. package/dist/markdown-table-D3DonpwR.mjs.map +1 -0
  196. package/dist/markdown-table-DFSFKzCN.d.cts +28 -0
  197. package/dist/markdown-table-DFSFKzCN.d.cts.map +1 -0
  198. package/dist/markdown-table-eTnxxb46.cjs +116 -0
  199. package/dist/markdown-table-g6DeP10e.mjs +34 -0
  200. package/dist/markdown-table-g6DeP10e.mjs.map +1 -0
  201. package/dist/output-BnmXIAFP.d.cts +24 -0
  202. package/dist/output-BnmXIAFP.d.cts.map +1 -0
  203. package/dist/output-CMC94bm-.d.mts +24 -0
  204. package/dist/output-CMC94bm-.d.mts.map +1 -0
  205. package/dist/output-CQXrGP3y.cjs +38 -0
  206. package/dist/output-D3UQ5nZo.mjs +33 -0
  207. package/dist/output-D3UQ5nZo.mjs.map +1 -0
  208. package/dist/output-Dq1RRbJY.d.cts +24 -0
  209. package/dist/output-Dq1RRbJY.d.cts.map +1 -0
  210. package/dist/plugin-B8wUxSXi.cjs +0 -0
  211. package/dist/plugin-BmQ6pIes.mjs +1 -0
  212. package/dist/plugin-C6SupJ8C.d.cts +41 -0
  213. package/dist/plugin-C6SupJ8C.d.cts.map +1 -0
  214. package/dist/plugin-bEu9fq1G.d.mts +41 -0
  215. package/dist/plugin-bEu9fq1G.d.mts.map +1 -0
  216. package/dist/record-expression-6ElbFyR0.cjs +17 -0
  217. package/dist/record-expression-BjXMzi4r.mjs +12 -0
  218. package/dist/record-expression-BjXMzi4r.mjs.map +1 -0
  219. package/dist/record-expression-adlQJuNw.d.cts +13 -0
  220. package/dist/record-expression-adlQJuNw.d.cts.map +1 -0
  221. package/dist/record-expression-c9kQA93k.d.mts +13 -0
  222. package/dist/record-expression-c9kQA93k.d.mts.map +1 -0
  223. package/dist/refkey-Bf_2_U5t.d.cts +14 -0
  224. package/dist/refkey-Bf_2_U5t.d.cts.map +1 -0
  225. package/dist/refkey-C08kDOQ0.cjs +21 -0
  226. package/dist/refkey-CIFiGvgZ.mjs +16 -0
  227. package/dist/refkey-CIFiGvgZ.mjs.map +1 -0
  228. package/dist/refkey-CSZgFc0P.d.mts +14 -0
  229. package/dist/refkey-CSZgFc0P.d.mts.map +1 -0
  230. package/dist/reflection-B-NMNIoB.mjs +61 -0
  231. package/dist/reflection-B-NMNIoB.mjs.map +1 -0
  232. package/dist/reflection-CUo0047e.d.mts +53 -0
  233. package/dist/reflection-CUo0047e.d.mts.map +1 -0
  234. package/dist/reflection-DHpdhvwI.cjs +108 -0
  235. package/dist/reflection-xU09ifzp.d.cts +53 -0
  236. package/dist/reflection-xU09ifzp.d.cts.map +1 -0
  237. package/dist/single-line-comment-B258_x1B.d.cts +23 -0
  238. package/dist/single-line-comment-B258_x1B.d.cts.map +1 -0
  239. package/dist/single-line-comment-COZ9RWsm.cjs +27 -0
  240. package/dist/single-line-comment-D9dIL45u.d.cts +23 -0
  241. package/dist/single-line-comment-D9dIL45u.d.cts.map +1 -0
  242. package/dist/single-line-comment-PMv_zrfe.d.mts +23 -0
  243. package/dist/single-line-comment-PMv_zrfe.d.mts.map +1 -0
  244. package/dist/single-line-comment-mOQtfhWt.mjs +22 -0
  245. package/dist/single-line-comment-mOQtfhWt.mjs.map +1 -0
  246. package/dist/source-file-95cXzcLB.d.cts +33 -0
  247. package/dist/source-file-95cXzcLB.d.cts.map +1 -0
  248. package/dist/source-file-BAVTBVJy.cjs +68 -0
  249. package/dist/source-file-BTsyACav.d.cts +33 -0
  250. package/dist/source-file-BTsyACav.d.cts.map +1 -0
  251. package/dist/source-file-BiJK-nH_.mjs +62 -0
  252. package/dist/source-file-BiJK-nH_.mjs.map +1 -0
  253. package/dist/source-file-CQl0UCgf.d.mts +33 -0
  254. package/dist/source-file-CQl0UCgf.d.mts.map +1 -0
  255. package/dist/tsdoc-BId4fp5_.cjs +585 -0
  256. package/dist/tsdoc-CfvwK4Ml.d.cts +164 -0
  257. package/dist/tsdoc-CfvwK4Ml.d.cts.map +1 -0
  258. package/dist/tsdoc-Crv526i6.mjs +466 -0
  259. package/dist/tsdoc-Crv526i6.mjs.map +1 -0
  260. package/dist/tsdoc-OUuKjTbh.d.mts +164 -0
  261. package/dist/tsdoc-OUuKjTbh.d.mts.map +1 -0
  262. package/dist/tsdoc-reflection-B4bfElmj.d.cts +19 -0
  263. package/dist/tsdoc-reflection-B4bfElmj.d.cts.map +1 -0
  264. package/dist/tsdoc-reflection-BbjnIsUV.d.cts +19 -0
  265. package/dist/tsdoc-reflection-BbjnIsUV.d.cts.map +1 -0
  266. package/dist/tsdoc-reflection-D-eKs6S1.mjs +176 -0
  267. package/dist/tsdoc-reflection-D-eKs6S1.mjs.map +1 -0
  268. package/dist/tsdoc-reflection-IH-Mt2o_.cjs +193 -0
  269. package/dist/tsdoc-reflection-ulqYHfKL.d.mts +19 -0
  270. package/dist/tsdoc-reflection-ulqYHfKL.d.mts.map +1 -0
  271. package/dist/types/components.cjs +1 -0
  272. package/dist/types/components.d.cts +1 -141
  273. package/dist/types/components.d.mts +1 -141
  274. package/dist/types/components.mjs +2 -0
  275. package/dist/types/index.cjs +2 -0
  276. package/dist/types/index.d.cts +2 -2
  277. package/dist/types/index.d.mts +2 -2
  278. package/dist/types/index.mjs +3 -0
  279. package/dist/types/plugin.cjs +1 -0
  280. package/dist/types/plugin.d.cts +1 -39
  281. package/dist/types/plugin.d.mts +1 -39
  282. package/dist/types/plugin.mjs +2 -0
  283. package/dist/typescript/components/builtin-file.cjs +10 -61
  284. package/dist/typescript/components/builtin-file.d.cts +5 -33
  285. package/dist/typescript/components/builtin-file.d.mts +5 -33
  286. package/dist/typescript/components/builtin-file.mjs +9 -59
  287. package/dist/typescript/components/dynamic-import-statement.cjs +2 -24
  288. package/dist/typescript/components/dynamic-import-statement.d.cts +1 -31
  289. package/dist/typescript/components/dynamic-import-statement.d.mts +1 -31
  290. package/dist/typescript/components/dynamic-import-statement.mjs +1 -22
  291. package/dist/typescript/components/entry-file.cjs +9 -41
  292. package/dist/typescript/components/entry-file.d.cts +4 -26
  293. package/dist/typescript/components/entry-file.d.mts +4 -26
  294. package/dist/typescript/components/entry-file.mjs +8 -38
  295. package/dist/typescript/components/index.cjs +50 -43
  296. package/dist/typescript/components/index.d.cts +12 -9
  297. package/dist/typescript/components/index.d.mts +12 -9
  298. package/dist/typescript/components/index.mjs +16 -9
  299. package/dist/typescript/components/record-expression.cjs +2 -11
  300. package/dist/typescript/components/record-expression.d.cts +1 -11
  301. package/dist/typescript/components/record-expression.d.mts +1 -11
  302. package/dist/typescript/components/record-expression.mjs +1 -9
  303. package/dist/typescript/components/tsdoc-reflection.cjs +8 -177
  304. package/dist/typescript/components/tsdoc-reflection.d.cts +3 -17
  305. package/dist/typescript/components/tsdoc-reflection.d.mts +3 -17
  306. package/dist/typescript/components/tsdoc-reflection.mjs +5 -173
  307. package/dist/typescript/components/tsdoc.cjs +23 -484
  308. package/dist/typescript/components/tsdoc.d.cts +2 -162
  309. package/dist/typescript/components/tsdoc.d.mts +2 -162
  310. package/dist/typescript/components/tsdoc.mjs +3 -463
  311. package/dist/typescript/components/typescript-file.cjs +10 -215
  312. package/dist/typescript/components/typescript-file.d.cts +3 -48
  313. package/dist/typescript/components/typescript-file.d.mts +3 -48
  314. package/dist/typescript/components/typescript-file.mjs +7 -211
  315. package/dist/typescript/components/typescript-interface.cjs +8 -72
  316. package/dist/typescript/components/typescript-interface.d.cts +2 -24
  317. package/dist/typescript/components/typescript-interface.d.mts +2 -24
  318. package/dist/typescript/components/typescript-interface.mjs +6 -69
  319. package/dist/typescript/components/typescript-object.cjs +8 -124
  320. package/dist/typescript/components/typescript-object.d.cts +2 -28
  321. package/dist/typescript/components/typescript-object.d.mts +2 -28
  322. package/dist/typescript/components/typescript-object.mjs +6 -121
  323. package/dist/typescript/index.cjs +50 -44
  324. package/dist/typescript/index.d.cts +12 -10
  325. package/dist/typescript/index.d.mts +12 -10
  326. package/dist/typescript/index.mjs +16 -10
  327. package/dist/typescript-BCc7kwL_.mjs +46 -0
  328. package/dist/typescript-BCc7kwL_.mjs.map +1 -0
  329. package/dist/typescript-BbjCTT04.cjs +51 -0
  330. package/dist/typescript-DWzPF4n4.d.mts +26 -0
  331. package/dist/typescript-DWzPF4n4.d.mts.map +1 -0
  332. package/dist/typescript-file-BWaBMfMr.d.mts +50 -0
  333. package/dist/typescript-file-BWaBMfMr.d.mts.map +1 -0
  334. package/dist/typescript-file-BmLwVIQP.cjs +231 -0
  335. package/dist/typescript-file-C5NjN3H2.mjs +214 -0
  336. package/dist/typescript-file-C5NjN3H2.mjs.map +1 -0
  337. package/dist/typescript-file-MYxikvB6.d.cts +50 -0
  338. package/dist/typescript-file-MYxikvB6.d.cts.map +1 -0
  339. package/dist/typescript-file-fOVF6YF2.d.cts +50 -0
  340. package/dist/typescript-file-fOVF6YF2.d.cts.map +1 -0
  341. package/dist/typescript-interface-BNdWrKgb.cjs +83 -0
  342. package/dist/typescript-interface-D-d9A720.d.cts +26 -0
  343. package/dist/typescript-interface-D-d9A720.d.cts.map +1 -0
  344. package/dist/typescript-interface-LN3uCdA6.mjs +72 -0
  345. package/dist/typescript-interface-LN3uCdA6.mjs.map +1 -0
  346. package/dist/typescript-interface-MV4qwTHs.d.mts +26 -0
  347. package/dist/typescript-interface-MV4qwTHs.d.mts.map +1 -0
  348. package/dist/typescript-o4AsClkT.d.cts +26 -0
  349. package/dist/typescript-o4AsClkT.d.cts.map +1 -0
  350. package/dist/typescript-object-Bbza8TK7.d.cts +30 -0
  351. package/dist/typescript-object-Bbza8TK7.d.cts.map +1 -0
  352. package/dist/typescript-object-C7p9fJBF.d.mts +30 -0
  353. package/dist/typescript-object-C7p9fJBF.d.mts.map +1 -0
  354. package/dist/typescript-object-DIyR8xhW.mjs +124 -0
  355. package/dist/typescript-object-DIyR8xhW.mjs.map +1 -0
  356. package/dist/typescript-object-ENaG1YGI.cjs +135 -0
  357. package/dist/typescript-object-v1WiBD8W.d.cts +30 -0
  358. package/dist/typescript-object-v1WiBD8W.d.cts.map +1 -0
  359. package/dist/unctx-MFxscYXI.mjs +12 -0
  360. package/dist/unctx-MFxscYXI.mjs.map +1 -0
  361. package/dist/unctx-r7Vvh6XR.cjs +17 -0
  362. package/package.json +6 -6
  363. package/dist/internal/unctx.cjs +0 -8
  364. package/dist/internal/unctx.mjs +0 -7
@@ -1,485 +1,24 @@
1
- const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
2
- const require_core_contexts_context = require('../../core/contexts/context.cjs');
3
- let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
4
- let __alloy_js_core = require("@alloy-js/core");
5
- let __powerlines_deepkit_utilities = require("@powerlines/deepkit/utilities");
6
- let __stryke_type_checks_is_undefined = require("@stryke/type-checks/is-undefined");
7
- let __stryke_type_checks_is_set_string = require("@stryke/type-checks/is-set-string");
1
+ require('../../unctx-r7Vvh6XR.cjs');
2
+ require('../../context--KBspFnw.cjs');
3
+ const require_tsdoc = require('../../tsdoc-BId4fp5_.cjs');
8
4
 
9
- //#region src/typescript/components/tsdoc.tsx
10
- /**
11
- * Generates a TypeScript interface for the given reflection class.
12
- */
13
- function TSDoc(props) {
14
- const [{ children, heading }] = (0, __alloy_js_core.splitProps)(props, ["children", "heading"]);
15
- return [
16
- "/**",
17
- (0, __alloy_js_core_jsx_runtime.createIntrinsic)("align", {
18
- string: " * ",
19
- get children() {
20
- return [
21
- (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
22
- (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
23
- get when() {
24
- return !(0, __stryke_type_checks_is_undefined.isUndefined)(heading);
25
- },
26
- get children() {
27
- return [
28
- heading,
29
- (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
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).length > 0;
33
- },
34
- get children() {
35
- return (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {});
36
- }
37
- })
38
- ];
39
- }
40
- }),
41
- (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
42
- get when() {
43
- return (0, __alloy_js_core_jsx_runtime.memo)(() => !!!(0, __stryke_type_checks_is_undefined.isUndefined)(children))() && (0, __alloy_js_core.childrenArray)(() => children).length > 0;
44
- },
45
- get children() {
46
- return (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.List, { get children() {
47
- return (0, __alloy_js_core.childrenArray)(() => children);
48
- } });
49
- }
50
- })
51
- ];
52
- }
53
- }),
54
- (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
55
- ` */`,
56
- (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {})
57
- ];
58
- }
59
- /**
60
- * Create a TSDoc `@<props.tag>` tag.
61
- */
62
- function TSDocTag(props) {
63
- const [{ children, tag }] = (0, __alloy_js_core.splitProps)(props, ["children", "tag"]);
64
- return [
65
- `@${tag} `,
66
- (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
67
- get when() {
68
- return Boolean(children);
69
- },
70
- get children() {
71
- return (0, __alloy_js_core_jsx_runtime.createIntrinsic)("align", {
72
- width: 2,
73
- get children() {
74
- return (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Prose, { children });
75
- }
76
- });
77
- }
78
- }),
79
- (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {})
80
- ];
81
- }
82
- /**
83
- * A component that creates a TSDoc block with `@param` tags for each parameter.
84
- */
85
- function TSDocParams(props) {
86
- return (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.For, {
87
- each: normalizeParametersForDoc(props.parameters),
88
- children: (param) => (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocParam, {
89
- get name() {
90
- return param.name;
91
- },
92
- get optional() {
93
- return param.optional;
94
- },
95
- get children() {
96
- return param.doc;
97
- }
98
- })
99
- });
100
- }
101
- function normalizeParametersForDoc(parameters) {
102
- if (parameters.some((p) => typeof p === "string")) return [];
103
- return parameters;
104
- }
105
- /**
106
- * Create a TSDoc `@title` tag.
107
- */
108
- function TSDocTitle(props) {
109
- const [{ children }, rest] = (0, __alloy_js_core.splitProps)(props, ["children"]);
110
- return (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocTag, (0, __alloy_js_core_jsx_runtime.mergeProps)(rest, {
111
- tag: "title",
112
- children
113
- }));
114
- }
115
- /**
116
- * Create a TSDoc `@domain` tag.
117
- */
118
- function TSDocDomain(props) {
119
- const [{ children }, rest] = (0, __alloy_js_core.splitProps)(props, ["children"]);
120
- return (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocTag, (0, __alloy_js_core_jsx_runtime.mergeProps)(rest, {
121
- tag: "domain",
122
- children
123
- }));
124
- }
125
- /**
126
- * Create a TSDoc `@alias` tag.
127
- */
128
- function TSDocAlias(props) {
129
- const [{ children }, rest] = (0, __alloy_js_core.splitProps)(props, ["children"]);
130
- return (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocTag, (0, __alloy_js_core_jsx_runtime.mergeProps)(rest, {
131
- tag: "alias",
132
- children
133
- }));
134
- }
135
- /**
136
- * Create a TSDoc `@permission` tag.
137
- */
138
- function TSDocPermission(props) {
139
- const [{ children }, rest] = (0, __alloy_js_core.splitProps)(props, ["children"]);
140
- return (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocTag, (0, __alloy_js_core_jsx_runtime.mergeProps)(rest, {
141
- tag: "permission",
142
- children
143
- }));
144
- }
145
- /**
146
- * Create a TSDoc `@defaultValue` tag.
147
- */
148
- function TSDocDefaultValue(props) {
149
- const [{ type, defaultValue }] = (0, __alloy_js_core.splitProps)(props, ["type", "defaultValue"]);
150
- return [
151
- "@defaultValue ",
152
- (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
153
- get when() {
154
- return !(0, __stryke_type_checks_is_undefined.isUndefined)(defaultValue);
155
- },
156
- get children() {
157
- return (0, __alloy_js_core_jsx_runtime.createIntrinsic)("align", {
158
- width: 2,
159
- get children() {
160
- return (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Prose, { get children() {
161
- return (0, __powerlines_deepkit_utilities.stringifyDefaultValue)(type, defaultValue);
162
- } });
163
- }
164
- });
165
- }
166
- }),
167
- (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {})
168
- ];
169
- }
170
- /**
171
- * Create a TSDoc `@remarks` tag.
172
- */
173
- function TSDocRemarks(props) {
174
- return [
175
- "@remarks ",
176
- (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
177
- (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.List, {
178
- hardline: true,
179
- get children() {
180
- return (0, __alloy_js_core.childrenArray)(() => props.children);
181
- }
182
- })
183
- ];
184
- }
185
- /**
186
- * Create a TSDoc `@see` tag.
187
- */
188
- function TSDocLink(props) {
189
- return (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocTag, (0, __alloy_js_core_jsx_runtime.mergeProps)(props, { tag: "see" }));
190
- }
191
- /**
192
- * Create a TSDoc `@example` tag.
193
- */
194
- function TSDocExample(props) {
195
- const [{ tsx, fenced = true, language, children }] = (0, __alloy_js_core.splitProps)(props, [
196
- "tsx",
197
- "fenced",
198
- "language",
199
- "children"
200
- ]);
201
- return [
202
- "@example ",
203
- (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
204
- (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
205
- when: fenced,
206
- get children() {
207
- return [
208
- "```",
209
- language || (tsx ? "tsx" : "ts"),
210
- (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {})
211
- ];
212
- }
213
- }),
214
- children,
215
- (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
216
- when: fenced,
217
- get children() {
218
- return [(0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}), "```"];
219
- }
220
- })
221
- ];
222
- }
223
- /**
224
- * Create a TSDoc `@readonly` tag.
225
- */
226
- function TSDocReadonly() {
227
- return (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocTag, { tag: "readonly" });
228
- }
229
- /**
230
- * Create a TSDoc `@internal` tag.
231
- */
232
- function TSDocInternal() {
233
- return (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocTag, { tag: "internal" });
234
- }
235
- /**
236
- * Create a TSDoc `@ignore` tag.
237
- */
238
- function TSDocIgnore() {
239
- return (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocTag, { tag: "ignore" });
240
- }
241
- /**
242
- * Create a TSDoc `@hidden` tag.
243
- */
244
- function TSDocHidden() {
245
- return (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocTag, { tag: "hidden" });
246
- }
247
- /**
248
- * Generates a TypeScript interface property for the given reflection class.
249
- */
250
- function TSDocAttributesTags(props) {
251
- const [{ type, title, alias, permission, domain, readonly, internal, ignore, hidden, defaultValue }] = (0, __alloy_js_core.splitProps)(props, [
252
- "type",
253
- "title",
254
- "alias",
255
- "permission",
256
- "domain",
257
- "readonly",
258
- "internal",
259
- "ignore",
260
- "hidden",
261
- "defaultValue"
262
- ]);
263
- return [
264
- (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
265
- get when() {
266
- return (0, __stryke_type_checks_is_set_string.isSetString)(title?.trim());
267
- },
268
- get children() {
269
- return (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocTitle, { children: title });
270
- }
271
- }),
272
- (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
273
- get when() {
274
- 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()));
275
- },
276
- get children() {
277
- return (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.For, {
278
- get each() {
279
- return alias?.filter((a) => (0, __stryke_type_checks_is_set_string.isSetString)(a?.trim())) ?? [];
280
- },
281
- children: (alias$1) => (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocAlias, { children: alias$1 })
282
- });
283
- }
284
- }),
285
- (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
286
- get when() {
287
- return (0, __stryke_type_checks_is_set_string.isSetString)(domain?.trim());
288
- },
289
- get children() {
290
- return (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocDomain, { children: domain });
291
- }
292
- }),
293
- (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
294
- get when() {
295
- 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()));
296
- },
297
- get children() {
298
- return (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.For, {
299
- get each() {
300
- return permission?.filter((p) => (0, __stryke_type_checks_is_set_string.isSetString)(p?.trim())) ?? [];
301
- },
302
- children: (permission$1) => (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocPermission, { children: permission$1 })
303
- });
304
- }
305
- }),
306
- (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
307
- when: readonly === true,
308
- get children() {
309
- return (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocReadonly, {});
310
- }
311
- }),
312
- (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
313
- when: internal === true,
314
- get children() {
315
- return (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocInternal, {});
316
- }
317
- }),
318
- (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
319
- when: ignore === true,
320
- get children() {
321
- return (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocIgnore, {});
322
- }
323
- }),
324
- (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
325
- when: hidden === true,
326
- get children() {
327
- return (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocHidden, {});
328
- }
329
- }),
330
- (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
331
- get when() {
332
- return (0, __alloy_js_core_jsx_runtime.memo)(() => !!!(0, __stryke_type_checks_is_undefined.isUndefined)(type))() && !(0, __stryke_type_checks_is_undefined.isUndefined)(defaultValue);
333
- },
334
- get children() {
335
- return (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocDefaultValue, {
336
- type,
337
- defaultValue
338
- });
339
- }
340
- })
341
- ];
342
- }
343
- /**
344
- * Create a TSDoc parameter set off with `@param`.
345
- */
346
- function TSDocParam(props) {
347
- return [
348
- "@param ",
349
- (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocParamName, {
350
- get name() {
351
- return props.name;
352
- },
353
- get optional() {
354
- return props.optional;
355
- },
356
- get defaultValue() {
357
- return props.defaultValue;
358
- }
359
- }),
360
- (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocParamDescription, { get children() {
361
- return props.children;
362
- } })
363
- ];
364
- }
365
- function TSDocParamName(props) {
366
- return [
367
- (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
368
- get when() {
369
- return props.optional;
370
- },
371
- children: "["
372
- }),
373
- (0, __alloy_js_core_jsx_runtime.memo)(() => props.name),
374
- (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
375
- get when() {
376
- return Boolean(props.defaultValue);
377
- },
378
- get children() {
379
- return ["=", (0, __alloy_js_core_jsx_runtime.memo)(() => props.defaultValue)];
380
- }
381
- }),
382
- (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
383
- get when() {
384
- return props.optional;
385
- },
386
- children: "]"
387
- })
388
- ];
389
- }
390
- function TSDocParamDescription(props) {
391
- return (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
392
- get when() {
393
- return Boolean(props.children);
394
- },
395
- get children() {
396
- return [" - ", (0, __alloy_js_core_jsx_runtime.createIntrinsic)("align", {
397
- width: 2,
398
- get children() {
399
- return (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Prose, { get children() {
400
- return props.children;
401
- } });
402
- }
403
- })];
404
- }
405
- });
406
- }
407
- /**
408
- * Create a TSDoc `@returns` tag.
409
- */
410
- function TSDocReturns(props) {
411
- return (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocTag, (0, __alloy_js_core_jsx_runtime.mergeProps)(props, { tag: "returns" }));
412
- }
413
- /**
414
- * Create a TSDoc `@throws` tag.
415
- */
416
- function TSDocThrows(props) {
417
- return (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocTag, (0, __alloy_js_core_jsx_runtime.mergeProps)(props, { tag: "throws" }));
418
- }
419
- /**
420
- * Generates a TSDoc `@module` tag for the given module name.
421
- */
422
- function TSDocModule(props) {
423
- const [{ children, name, prefix }] = (0, __alloy_js_core.splitProps)(props, [
424
- "children",
425
- "name",
426
- "prefix"
427
- ]);
428
- const context = require_core_contexts_context.usePowerlinesSafe();
429
- return [
430
- "/**",
431
- (0, __alloy_js_core_jsx_runtime.createIntrinsic)("align", {
432
- string: " * ",
433
- get children() {
434
- return [
435
- (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
436
- (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
437
- get when() {
438
- return Boolean(children);
439
- },
440
- get children() {
441
- return [
442
- (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.List, {
443
- hardline: true,
444
- get children() {
445
- return (0, __alloy_js_core.childrenArray)(() => children);
446
- }
447
- }),
448
- (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
449
- (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {})
450
- ];
451
- }
452
- }),
453
- "@module ",
454
- (0, __alloy_js_core_jsx_runtime.memo)(() => prefix || context?.config?.framework || "powerlines"),
455
- ":",
456
- name
457
- ];
458
- }
459
- }),
460
- (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
461
- ` */`
462
- ];
463
- }
464
-
465
- //#endregion
466
- exports.TSDoc = TSDoc;
467
- exports.TSDocAlias = TSDocAlias;
468
- exports.TSDocAttributesTags = TSDocAttributesTags;
469
- exports.TSDocDefaultValue = TSDocDefaultValue;
470
- exports.TSDocDomain = TSDocDomain;
471
- exports.TSDocExample = TSDocExample;
472
- exports.TSDocHidden = TSDocHidden;
473
- exports.TSDocIgnore = TSDocIgnore;
474
- exports.TSDocInternal = TSDocInternal;
475
- exports.TSDocLink = TSDocLink;
476
- exports.TSDocModule = TSDocModule;
477
- exports.TSDocParam = TSDocParam;
478
- exports.TSDocParams = TSDocParams;
479
- exports.TSDocPermission = TSDocPermission;
480
- exports.TSDocReadonly = TSDocReadonly;
481
- exports.TSDocRemarks = TSDocRemarks;
482
- exports.TSDocReturns = TSDocReturns;
483
- exports.TSDocTag = TSDocTag;
484
- exports.TSDocThrows = TSDocThrows;
485
- exports.TSDocTitle = TSDocTitle;
5
+ exports.TSDoc = require_tsdoc.TSDoc;
6
+ exports.TSDocAlias = require_tsdoc.TSDocAlias;
7
+ exports.TSDocAttributesTags = require_tsdoc.TSDocAttributesTags;
8
+ exports.TSDocDefaultValue = require_tsdoc.TSDocDefaultValue;
9
+ exports.TSDocDomain = require_tsdoc.TSDocDomain;
10
+ exports.TSDocExample = require_tsdoc.TSDocExample;
11
+ exports.TSDocHidden = require_tsdoc.TSDocHidden;
12
+ exports.TSDocIgnore = require_tsdoc.TSDocIgnore;
13
+ exports.TSDocInternal = require_tsdoc.TSDocInternal;
14
+ exports.TSDocLink = require_tsdoc.TSDocLink;
15
+ exports.TSDocModule = require_tsdoc.TSDocModule;
16
+ exports.TSDocParam = require_tsdoc.TSDocParam;
17
+ exports.TSDocParams = require_tsdoc.TSDocParams;
18
+ exports.TSDocPermission = require_tsdoc.TSDocPermission;
19
+ exports.TSDocReadonly = require_tsdoc.TSDocReadonly;
20
+ exports.TSDocRemarks = require_tsdoc.TSDocRemarks;
21
+ exports.TSDocReturns = require_tsdoc.TSDocReturns;
22
+ exports.TSDocTag = require_tsdoc.TSDocTag;
23
+ exports.TSDocThrows = require_tsdoc.TSDocThrows;
24
+ exports.TSDocTitle = require_tsdoc.TSDocTitle;
@@ -1,163 +1,3 @@
1
- import { ComponentProps } from "../../types/components.cjs";
2
- import { Children } from "@alloy-js/core";
3
- import { JSDocExampleProps, ParameterDescriptor } from "@alloy-js/typescript";
4
- import { ReflectionKind, ReflectionParameter, ReflectionProperty } from "@powerlines/deepkit/vendor/type";
5
-
6
- //#region src/typescript/components/tsdoc.d.ts
7
- interface TSDocProps extends ComponentProps {
8
- heading?: Children;
9
- }
10
- /**
11
- * Generates a TypeScript interface for the given reflection class.
12
- */
13
- declare function TSDoc(props: TSDocProps): Children;
14
- interface TSDocTagProps extends ComponentProps {
15
- tag: string;
16
- }
17
- /**
18
- * Create a TSDoc `@<props.tag>` tag.
19
- */
20
- declare function TSDocTag(props: TSDocTagProps): Children;
21
- interface TSDocParamsProps {
22
- parameters: ParameterDescriptor[] | string[];
23
- }
24
- /**
25
- * A component that creates a TSDoc block with `@param` tags for each parameter.
26
- */
27
- declare function TSDocParams(props: TSDocParamsProps): Children;
28
- /**
29
- * Create a TSDoc `@title` tag.
30
- */
31
- declare function TSDocTitle(props: ComponentProps): Children;
32
- /**
33
- * Create a TSDoc `@domain` tag.
34
- */
35
- declare function TSDocDomain(props: ComponentProps): Children;
36
- /**
37
- * Create a TSDoc `@alias` tag.
38
- */
39
- declare function TSDocAlias(props: ComponentProps): Children;
40
- /**
41
- * Create a TSDoc `@permission` tag.
42
- */
43
- declare function TSDocPermission(props: ComponentProps): Children;
44
- interface TSDocDefaultValueProps extends ComponentProps {
45
- type: ReflectionKind | ReflectionProperty | ReflectionParameter;
46
- defaultValue: any;
47
- }
48
- /**
49
- * Create a TSDoc `@defaultValue` tag.
50
- */
51
- declare function TSDocDefaultValue(props: TSDocDefaultValueProps): Children;
52
- /**
53
- * Create a TSDoc `@remarks` tag.
54
- */
55
- declare function TSDocRemarks(props: ComponentProps): Children;
56
- /**
57
- * Create a TSDoc `@see` tag.
58
- */
59
- declare function TSDocLink(props: ComponentProps): Children;
60
- interface TSDocExampleProps extends JSDocExampleProps {
61
- /**
62
- * Whether the file is a TSX file.
63
- *
64
- * @defaultValue false
65
- */
66
- tsx?: boolean;
67
- }
68
- /**
69
- * Create a TSDoc `@example` tag.
70
- */
71
- declare function TSDocExample(props: TSDocExampleProps): Children;
72
- /**
73
- * Create a TSDoc `@readonly` tag.
74
- */
75
- declare function TSDocReadonly(): Children;
76
- /**
77
- * Create a TSDoc `@internal` tag.
78
- */
79
- declare function TSDocInternal(): Children;
80
- /**
81
- * Create a TSDoc `@ignore` tag.
82
- */
83
- declare function TSDocIgnore(): Children;
84
- /**
85
- * Create a TSDoc `@hidden` tag.
86
- */
87
- declare function TSDocHidden(): Children;
88
- interface TSDocAttributesTagsProps {
89
- type?: ReflectionKind | ReflectionProperty | ReflectionParameter;
90
- title?: string;
91
- alias?: string[];
92
- permission?: string[];
93
- domain?: string;
94
- readonly?: boolean;
95
- internal?: boolean;
96
- ignore?: boolean;
97
- hidden?: boolean;
98
- defaultValue?: any;
99
- }
100
- /**
101
- * Generates a TypeScript interface property for the given reflection class.
102
- */
103
- declare function TSDocAttributesTags(props: TSDocAttributesTagsProps): Children;
104
- interface TSDocParamProps {
105
- name: Children;
106
- children?: Children;
107
- optional?: boolean;
108
- defaultValue?: Children;
109
- }
110
- /**
111
- * Create a TSDoc parameter set off with `@param`.
112
- */
113
- declare function TSDocParam(props: TSDocParamProps): Children;
114
- /**
115
- * Create a TSDoc `@returns` tag.
116
- */
117
- declare function TSDocReturns(props: ComponentProps): Children;
118
- /**
119
- * Create a TSDoc `@throws` tag.
120
- */
121
- declare function TSDocThrows(props: ComponentProps): Children;
122
- interface TSDocModuleProps extends ComponentProps {
123
- /**
124
- * The prefix for the builtin module name
125
- *
126
- * @remarks
127
- * This value is populated from the Powerlines configuration output builtin prefix by default.
128
- *
129
- * @example
130
- * ```ts
131
- * /**
132
- * @module powerlines:my-module
133
- * \/
134
- * ```
135
- */
136
- prefix?: string;
137
- /**
138
- * The name of the module
139
- *
140
- * @remarks
141
- * This will be used in the `@module` tag as well as the import path for the module, e.g. `storm:<name>`.
142
- *
143
- * @example
144
- * ```ts
145
- * import { MyModule } from "powerlines:my-module";
146
- * ```
147
- */
148
- name: Children;
149
- }
150
- /**
151
- * Generates a TSDoc `@module` tag for the given module name.
152
- */
153
- declare function TSDocModule(props: TSDocModuleProps): Children;
154
- declare type __ΩTSDocProps = any[];
155
- declare type __ΩTSDocTagProps = any[];
156
- declare type __ΩTSDocParamsProps = any[];
157
- declare type __ΩTSDocDefaultValueProps = any[];
158
- declare type __ΩTSDocExampleProps = any[];
159
- declare type __ΩTSDocAttributesTagsProps = any[];
160
- declare type __ΩTSDocParamProps = any[];
161
- declare type __ΩTSDocModuleProps = any[];
162
- //#endregion
1
+ import "../../components-IRVnipN0.cjs";
2
+ import { A as __ΩTSDocDefaultValueProps, C as TSDocRemarks, D as TSDocThrows, E as TSDocTagProps, F as __ΩTSDocProps, I as __ΩTSDocTagProps, M as __ΩTSDocModuleProps, N as __ΩTSDocParamProps, O as TSDocTitle, P as __ΩTSDocParamsProps, S as TSDocReadonly, T as TSDocTag, _ as TSDocParamProps, a as TSDocDefaultValue, b as TSDocPermission, c as TSDocExample, d as TSDocIgnore, f as TSDocInternal, g as TSDocParam, h as TSDocModuleProps, i as TSDocAttributesTagsProps, j as __ΩTSDocExampleProps, k as __ΩTSDocAttributesTagsProps, l as TSDocExampleProps, m as TSDocModule, n as TSDocAlias, o as TSDocDefaultValueProps, p as TSDocLink, r as TSDocAttributesTags, s as TSDocDomain, t as TSDoc, u as TSDocHidden, v as TSDocParams, w as TSDocReturns, x as TSDocProps, y as TSDocParamsProps } from "../../tsdoc-CfvwK4Ml.cjs";
163
3
  export { TSDoc, TSDocAlias, TSDocAttributesTags, TSDocAttributesTagsProps, TSDocDefaultValue, TSDocDefaultValueProps, TSDocDomain, TSDocExample, TSDocExampleProps, TSDocHidden, TSDocIgnore, TSDocInternal, TSDocLink, TSDocModule, TSDocModuleProps, TSDocParam, TSDocParamProps, TSDocParams, TSDocParamsProps, TSDocPermission, TSDocProps, TSDocReadonly, TSDocRemarks, TSDocReturns, TSDocTag, TSDocTagProps, TSDocThrows, TSDocTitle, __ΩTSDocAttributesTagsProps, __ΩTSDocDefaultValueProps, __ΩTSDocExampleProps, __ΩTSDocModuleProps, __ΩTSDocParamProps, __ΩTSDocParamsProps, __ΩTSDocProps, __ΩTSDocTagProps };