@powerlines/plugin-alloy 0.19.13 → 0.19.14

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 (377) hide show
  1. package/dist/builtin-file-BJKPEOF7.mjs +62 -0
  2. package/dist/builtin-file-BJKPEOF7.mjs.map +1 -0
  3. package/dist/builtin-file-BghS0Iup.cjs +67 -0
  4. package/dist/builtin-file-CiW4-UYI.d.mts +35 -0
  5. package/dist/builtin-file-CiW4-UYI.d.mts.map +1 -0
  6. package/dist/builtin-file-DLGZvvC3.d.cts +35 -0
  7. package/dist/builtin-file-DLGZvvC3.d.cts.map +1 -0
  8. package/dist/builtin-file-Dj3eVgvv.d.cts +35 -0
  9. package/dist/builtin-file-Dj3eVgvv.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-AhzykdKC.mjs +51 -0
  33. package/dist/context-AhzykdKC.mjs.map +1 -0
  34. package/dist/context-Ctw077Cx.cjs +79 -0
  35. package/dist/context-Du_bVzRZ.d.mts +67 -0
  36. package/dist/context-Du_bVzRZ.d.mts.map +1 -0
  37. package/dist/context-Gqs3Ru42.d.cts +67 -0
  38. package/dist/context-Gqs3Ru42.d.cts.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-Dy_MY_Ua.cjs +30 -0
  89. package/dist/dynamic-import-statement-vVM9osmC.d.cts +33 -0
  90. package/dist/dynamic-import-statement-vVM9osmC.d.cts.map +1 -0
  91. package/dist/entry-file-BFHFm7wA.cjs +47 -0
  92. package/dist/entry-file-CiMuxu2n.d.mts +28 -0
  93. package/dist/entry-file-CiMuxu2n.d.mts.map +1 -0
  94. package/dist/entry-file-CjhBCFEa.d.cts +28 -0
  95. package/dist/entry-file-CjhBCFEa.d.cts.map +1 -0
  96. package/dist/entry-file-DT_UunNT.mjs +41 -0
  97. package/dist/entry-file-DT_UunNT.mjs.map +1 -0
  98. package/dist/entry-file-Zt33JaE1.d.cts +28 -0
  99. package/dist/entry-file-Zt33JaE1.d.cts.map +1 -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-DSp4xPaD.d.cts +16 -0
  107. package/dist/front-matter-DSp4xPaD.d.cts.map +1 -0
  108. package/dist/front-matter-DZ1tB-Uj.cjs +33 -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 +5 -5
  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 +4 -3
  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-CIGTz9xQ.d.cts +29 -0
  177. package/dist/markdown-file-CIGTz9xQ.d.cts.map +1 -0
  178. package/dist/markdown-file-CIwA46L3.mjs +130 -0
  179. package/dist/markdown-file-CIwA46L3.mjs.map +1 -0
  180. package/dist/markdown-file-DB2SAeE6.d.mts +29 -0
  181. package/dist/markdown-file-DB2SAeE6.d.mts.map +1 -0
  182. package/dist/markdown-file-DH7NDYYC.cjs +141 -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-file-gCQMRXoz.d.cts +29 -0
  186. package/dist/markdown-file-gCQMRXoz.d.cts.map +1 -0
  187. package/dist/markdown-table-AoJIzA89.d.cts +28 -0
  188. package/dist/markdown-table-AoJIzA89.d.cts.map +1 -0
  189. package/dist/markdown-table-B2ysbgWK.d.cts +28 -0
  190. package/dist/markdown-table-B2ysbgWK.d.cts.map +1 -0
  191. package/dist/markdown-table-BWPm6GbJ.cjs +57 -0
  192. package/dist/markdown-table-Br2Ihl2z.d.cts +38 -0
  193. package/dist/markdown-table-Br2Ihl2z.d.cts.map +1 -0
  194. package/dist/markdown-table-CFL7L6rA.d.mts +38 -0
  195. package/dist/markdown-table-CFL7L6rA.d.mts.map +1 -0
  196. package/dist/markdown-table-CJ9QJzAc.d.mts +28 -0
  197. package/dist/markdown-table-CJ9QJzAc.d.mts.map +1 -0
  198. package/dist/markdown-table-ChvYobzz.d.mts +28 -0
  199. package/dist/markdown-table-ChvYobzz.d.mts.map +1 -0
  200. package/dist/markdown-table-D3DonpwR.mjs +99 -0
  201. package/dist/markdown-table-D3DonpwR.mjs.map +1 -0
  202. package/dist/markdown-table-eTnxxb46.cjs +116 -0
  203. package/dist/markdown-table-g6DeP10e.mjs +34 -0
  204. package/dist/markdown-table-g6DeP10e.mjs.map +1 -0
  205. package/dist/output-CMC94bm-.d.mts +24 -0
  206. package/dist/output-CMC94bm-.d.mts.map +1 -0
  207. package/dist/output-CQXrGP3y.cjs +38 -0
  208. package/dist/output-D3UQ5nZo.mjs +33 -0
  209. package/dist/output-D3UQ5nZo.mjs.map +1 -0
  210. package/dist/output-Dq1RRbJY.d.cts +24 -0
  211. package/dist/output-Dq1RRbJY.d.cts.map +1 -0
  212. package/dist/output-MJnqpeJ-.d.mts +24 -0
  213. package/dist/output-MJnqpeJ-.d.mts.map +1 -0
  214. package/dist/plugin-B8wUxSXi.cjs +0 -0
  215. package/dist/plugin-BmQ6pIes.mjs +1 -0
  216. package/dist/plugin-C6SupJ8C.d.cts +41 -0
  217. package/dist/plugin-C6SupJ8C.d.cts.map +1 -0
  218. package/dist/plugin-bEu9fq1G.d.mts +41 -0
  219. package/dist/plugin-bEu9fq1G.d.mts.map +1 -0
  220. package/dist/record-expression-6ElbFyR0.cjs +17 -0
  221. package/dist/record-expression-BjXMzi4r.mjs +12 -0
  222. package/dist/record-expression-BjXMzi4r.mjs.map +1 -0
  223. package/dist/record-expression-adlQJuNw.d.cts +13 -0
  224. package/dist/record-expression-adlQJuNw.d.cts.map +1 -0
  225. package/dist/record-expression-c9kQA93k.d.mts +13 -0
  226. package/dist/record-expression-c9kQA93k.d.mts.map +1 -0
  227. package/dist/refkey-Bf_2_U5t.d.cts +14 -0
  228. package/dist/refkey-Bf_2_U5t.d.cts.map +1 -0
  229. package/dist/refkey-C08kDOQ0.cjs +21 -0
  230. package/dist/refkey-CIFiGvgZ.mjs +16 -0
  231. package/dist/refkey-CIFiGvgZ.mjs.map +1 -0
  232. package/dist/refkey-CSZgFc0P.d.mts +14 -0
  233. package/dist/refkey-CSZgFc0P.d.mts.map +1 -0
  234. package/dist/reflection-B-NMNIoB.mjs +61 -0
  235. package/dist/reflection-B-NMNIoB.mjs.map +1 -0
  236. package/dist/reflection-CUo0047e.d.mts +53 -0
  237. package/dist/reflection-CUo0047e.d.mts.map +1 -0
  238. package/dist/reflection-DHpdhvwI.cjs +108 -0
  239. package/dist/reflection-xU09ifzp.d.cts +53 -0
  240. package/dist/reflection-xU09ifzp.d.cts.map +1 -0
  241. package/dist/single-line-comment-BrtGpc8-.d.cts +23 -0
  242. package/dist/single-line-comment-BrtGpc8-.d.cts.map +1 -0
  243. package/dist/single-line-comment-Bvbr--Az.d.mts +23 -0
  244. package/dist/single-line-comment-Bvbr--Az.d.mts.map +1 -0
  245. package/dist/single-line-comment-COZ9RWsm.cjs +27 -0
  246. package/dist/single-line-comment-CQW1en2Z.d.cts +23 -0
  247. package/dist/single-line-comment-CQW1en2Z.d.cts.map +1 -0
  248. package/dist/single-line-comment-PMv_zrfe.d.mts +23 -0
  249. package/dist/single-line-comment-PMv_zrfe.d.mts.map +1 -0
  250. package/dist/single-line-comment-mOQtfhWt.mjs +22 -0
  251. package/dist/single-line-comment-mOQtfhWt.mjs.map +1 -0
  252. package/dist/source-file-BAoqxO5e.cjs +68 -0
  253. package/dist/source-file-BEY3mjFl.d.mts +33 -0
  254. package/dist/source-file-BEY3mjFl.d.mts.map +1 -0
  255. package/dist/source-file-BKZQpz0C.mjs +62 -0
  256. package/dist/source-file-BKZQpz0C.mjs.map +1 -0
  257. package/dist/source-file-BTsyACav.d.cts +33 -0
  258. package/dist/source-file-BTsyACav.d.cts.map +1 -0
  259. package/dist/source-file-CQl0UCgf.d.mts +33 -0
  260. package/dist/source-file-CQl0UCgf.d.mts.map +1 -0
  261. package/dist/source-file-QiALwKWL.d.cts +33 -0
  262. package/dist/source-file-QiALwKWL.d.cts.map +1 -0
  263. package/dist/tsdoc-BNV-5Qs2.mjs +466 -0
  264. package/dist/tsdoc-BNV-5Qs2.mjs.map +1 -0
  265. package/dist/tsdoc-CfvwK4Ml.d.cts +164 -0
  266. package/dist/tsdoc-CfvwK4Ml.d.cts.map +1 -0
  267. package/dist/tsdoc-OUuKjTbh.d.mts +164 -0
  268. package/dist/tsdoc-OUuKjTbh.d.mts.map +1 -0
  269. package/dist/tsdoc-nrR7IU_7.cjs +585 -0
  270. package/dist/tsdoc-reflection-BkVddZ_o.cjs +193 -0
  271. package/dist/tsdoc-reflection-C7_a06TL.mjs +176 -0
  272. package/dist/tsdoc-reflection-C7_a06TL.mjs.map +1 -0
  273. package/dist/tsdoc-reflection-DaykPe3v.d.cts +19 -0
  274. package/dist/tsdoc-reflection-DaykPe3v.d.cts.map +1 -0
  275. package/dist/tsdoc-reflection-Dggzpjh7.d.cts +19 -0
  276. package/dist/tsdoc-reflection-Dggzpjh7.d.cts.map +1 -0
  277. package/dist/tsdoc-reflection-ulqYHfKL.d.mts +19 -0
  278. package/dist/tsdoc-reflection-ulqYHfKL.d.mts.map +1 -0
  279. package/dist/types/components.cjs +1 -0
  280. package/dist/types/components.d.cts +1 -141
  281. package/dist/types/components.d.mts +1 -141
  282. package/dist/types/components.mjs +2 -0
  283. package/dist/types/index.cjs +2 -0
  284. package/dist/types/index.d.cts +2 -2
  285. package/dist/types/index.d.mts +2 -2
  286. package/dist/types/index.mjs +3 -0
  287. package/dist/types/plugin.cjs +1 -0
  288. package/dist/types/plugin.d.cts +1 -39
  289. package/dist/types/plugin.d.mts +1 -39
  290. package/dist/types/plugin.mjs +2 -0
  291. package/dist/typescript/components/builtin-file.cjs +10 -61
  292. package/dist/typescript/components/builtin-file.d.cts +5 -33
  293. package/dist/typescript/components/builtin-file.d.mts +5 -33
  294. package/dist/typescript/components/builtin-file.mjs +9 -59
  295. package/dist/typescript/components/dynamic-import-statement.cjs +2 -24
  296. package/dist/typescript/components/dynamic-import-statement.d.cts +1 -31
  297. package/dist/typescript/components/dynamic-import-statement.d.mts +1 -31
  298. package/dist/typescript/components/dynamic-import-statement.mjs +1 -22
  299. package/dist/typescript/components/entry-file.cjs +9 -41
  300. package/dist/typescript/components/entry-file.d.cts +4 -26
  301. package/dist/typescript/components/entry-file.d.mts +4 -26
  302. package/dist/typescript/components/entry-file.mjs +8 -38
  303. package/dist/typescript/components/index.cjs +50 -43
  304. package/dist/typescript/components/index.d.cts +12 -9
  305. package/dist/typescript/components/index.d.mts +12 -9
  306. package/dist/typescript/components/index.mjs +16 -9
  307. package/dist/typescript/components/record-expression.cjs +2 -11
  308. package/dist/typescript/components/record-expression.d.cts +1 -11
  309. package/dist/typescript/components/record-expression.d.mts +1 -11
  310. package/dist/typescript/components/record-expression.mjs +1 -9
  311. package/dist/typescript/components/tsdoc-reflection.cjs +8 -177
  312. package/dist/typescript/components/tsdoc-reflection.d.cts +3 -17
  313. package/dist/typescript/components/tsdoc-reflection.d.mts +3 -17
  314. package/dist/typescript/components/tsdoc-reflection.mjs +5 -173
  315. package/dist/typescript/components/tsdoc.cjs +23 -484
  316. package/dist/typescript/components/tsdoc.d.cts +2 -162
  317. package/dist/typescript/components/tsdoc.d.mts +2 -162
  318. package/dist/typescript/components/tsdoc.mjs +3 -463
  319. package/dist/typescript/components/typescript-file.cjs +10 -215
  320. package/dist/typescript/components/typescript-file.d.cts +3 -48
  321. package/dist/typescript/components/typescript-file.d.mts +3 -48
  322. package/dist/typescript/components/typescript-file.mjs +7 -211
  323. package/dist/typescript/components/typescript-interface.cjs +8 -72
  324. package/dist/typescript/components/typescript-interface.d.cts +2 -24
  325. package/dist/typescript/components/typescript-interface.d.mts +2 -24
  326. package/dist/typescript/components/typescript-interface.mjs +6 -69
  327. package/dist/typescript/components/typescript-object.cjs +8 -124
  328. package/dist/typescript/components/typescript-object.d.cts +2 -28
  329. package/dist/typescript/components/typescript-object.d.mts +2 -28
  330. package/dist/typescript/components/typescript-object.mjs +6 -121
  331. package/dist/typescript/index.cjs +50 -44
  332. package/dist/typescript/index.d.cts +12 -10
  333. package/dist/typescript/index.d.mts +12 -10
  334. package/dist/typescript/index.mjs +16 -10
  335. package/dist/typescript-BCc7kwL_.mjs +46 -0
  336. package/dist/typescript-BCc7kwL_.mjs.map +1 -0
  337. package/dist/typescript-BbjCTT04.cjs +51 -0
  338. package/dist/typescript-DWzPF4n4.d.mts +26 -0
  339. package/dist/typescript-DWzPF4n4.d.mts.map +1 -0
  340. package/dist/typescript-file-BDYo1D2p.d.cts +50 -0
  341. package/dist/typescript-file-BDYo1D2p.d.cts.map +1 -0
  342. package/dist/typescript-file-BWaBMfMr.d.mts +50 -0
  343. package/dist/typescript-file-BWaBMfMr.d.mts.map +1 -0
  344. package/dist/typescript-file-Bi5NEAOC.d.mts +50 -0
  345. package/dist/typescript-file-Bi5NEAOC.d.mts.map +1 -0
  346. package/dist/typescript-file-CFy1OsoL.mjs +214 -0
  347. package/dist/typescript-file-CFy1OsoL.mjs.map +1 -0
  348. package/dist/typescript-file-Ca-6MeqN.cjs +231 -0
  349. package/dist/typescript-file-fOVF6YF2.d.cts +50 -0
  350. package/dist/typescript-file-fOVF6YF2.d.cts.map +1 -0
  351. package/dist/typescript-interface-CilM16if.d.mts +26 -0
  352. package/dist/typescript-interface-CilM16if.d.mts.map +1 -0
  353. package/dist/typescript-interface-Dmvkz1pt.d.cts +26 -0
  354. package/dist/typescript-interface-Dmvkz1pt.d.cts.map +1 -0
  355. package/dist/typescript-interface-MV4qwTHs.d.mts +26 -0
  356. package/dist/typescript-interface-MV4qwTHs.d.mts.map +1 -0
  357. package/dist/typescript-interface-WicKnDB9.mjs +72 -0
  358. package/dist/typescript-interface-WicKnDB9.mjs.map +1 -0
  359. package/dist/typescript-interface-Zf9pVXoI.cjs +83 -0
  360. package/dist/typescript-o4AsClkT.d.cts +26 -0
  361. package/dist/typescript-o4AsClkT.d.cts.map +1 -0
  362. package/dist/typescript-object-A5_fPqKr.d.cts +30 -0
  363. package/dist/typescript-object-A5_fPqKr.d.cts.map +1 -0
  364. package/dist/typescript-object-BNmRVXfj.mjs +124 -0
  365. package/dist/typescript-object-BNmRVXfj.mjs.map +1 -0
  366. package/dist/typescript-object-Bi7HOz2C.d.mts +30 -0
  367. package/dist/typescript-object-Bi7HOz2C.d.mts.map +1 -0
  368. package/dist/typescript-object-C4WhCkui.cjs +135 -0
  369. package/dist/typescript-object-C7p9fJBF.d.mts +30 -0
  370. package/dist/typescript-object-C7p9fJBF.d.mts.map +1 -0
  371. package/dist/typescript-object-v1WiBD8W.d.cts +30 -0
  372. package/dist/typescript-object-v1WiBD8W.d.cts.map +1 -0
  373. package/dist/unctx-B3g_fMrS.cjs +13 -0
  374. package/dist/{internal/unctx.mjs → unctx-RT0xjVBl.mjs} +2 -1
  375. package/dist/unctx-RT0xjVBl.mjs.map +1 -0
  376. package/package.json +6 -6
  377. package/dist/internal/unctx.cjs +0 -8
@@ -0,0 +1,193 @@
1
+ const require_chunk = require('./chunk-CbDLau6x.cjs');
2
+ const require_reflection = require('./reflection-DHpdhvwI.cjs');
3
+ const require_tsdoc = require('./tsdoc-nrR7IU_7.cjs');
4
+ let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
5
+ let __alloy_js_core = require("@alloy-js/core");
6
+ let __stryke_string_format_title_case = require("@stryke/string-format/title-case");
7
+ let __stryke_type_checks_is_undefined = require("@stryke/type-checks/is-undefined");
8
+ let __stryke_type_checks_is_string = require("@stryke/type-checks/is-string");
9
+ let __stryke_type_checks_is_set_string = require("@stryke/type-checks/is-set-string");
10
+
11
+ //#region src/typescript/components/tsdoc-reflection.tsx
12
+ /**
13
+ * Generates a TypeScript interface property for the given reflection class.
14
+ */
15
+ function TSDocReflectionClass(props) {
16
+ const [{ children, heading }, rest] = (0, __alloy_js_core.splitProps)(props, ["heading", "children"]);
17
+ const reflectionClass = require_reflection.useReflectionClass();
18
+ const title = (0, __alloy_js_core.computed)(() => reflectionClass.reflection.getTitle() || (0, __stryke_string_format_title_case.titleCase)(reflectionClass.reflection.getName()));
19
+ const computedHeading = (0, __alloy_js_core.computed)(() => heading || reflectionClass.reflection.getDescription() || title.value);
20
+ const alias = (0, __alloy_js_core.computed)(() => reflectionClass.reflection.getAlias());
21
+ const domain = (0, __alloy_js_core.computed)(() => reflectionClass.reflection.getDomain());
22
+ const permission = (0, __alloy_js_core.computed)(() => reflectionClass.reflection.getPermission());
23
+ const readonly = (0, __alloy_js_core.computed)(() => reflectionClass.reflection.isReadonly());
24
+ const internal = (0, __alloy_js_core.computed)(() => reflectionClass.reflection.isInternal());
25
+ const ignore = (0, __alloy_js_core.computed)(() => reflectionClass.reflection.isIgnored());
26
+ const hidden = (0, __alloy_js_core.computed)(() => reflectionClass.reflection.isHidden());
27
+ if (!computedHeading.value || (0, __stryke_type_checks_is_set_string.isSetString)(computedHeading.value) && computedHeading.value.trim() === "") return null;
28
+ return (0, __alloy_js_core_jsx_runtime.createComponent)(require_tsdoc.TSDoc, (0, __alloy_js_core_jsx_runtime.mergeProps)(rest, {
29
+ get heading() {
30
+ return (0, __alloy_js_core_jsx_runtime.memo)(() => !!(0, __stryke_type_checks_is_set_string.isSetString)(computedHeading.value))() ? computedHeading.value.trim() : computedHeading.value;
31
+ },
32
+ get children() {
33
+ return [(0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
34
+ get when() {
35
+ return (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);
36
+ },
37
+ get children() {
38
+ return (0, __alloy_js_core_jsx_runtime.createComponent)(require_tsdoc.TSDocAttributesTags, {
39
+ get title() {
40
+ return title.value;
41
+ },
42
+ get alias() {
43
+ return alias.value;
44
+ },
45
+ get domain() {
46
+ return domain.value;
47
+ },
48
+ get permission() {
49
+ return permission.value;
50
+ },
51
+ get readonly() {
52
+ return readonly.value;
53
+ },
54
+ get internal() {
55
+ return internal.value;
56
+ },
57
+ get ignore() {
58
+ return ignore.value;
59
+ },
60
+ get hidden() {
61
+ return hidden.value;
62
+ }
63
+ });
64
+ }
65
+ }), (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
66
+ get when() {
67
+ return (0, __alloy_js_core_jsx_runtime.memo)(() => !!Boolean(children))() && (0, __alloy_js_core.childrenArray)(() => children).length > 0;
68
+ },
69
+ get children() {
70
+ return (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.List, { get children() {
71
+ return (0, __alloy_js_core.childrenArray)(() => children);
72
+ } });
73
+ }
74
+ })];
75
+ }
76
+ }));
77
+ }
78
+ /**
79
+ * Generates a TypeScript interface property for the given reflection class.
80
+ */
81
+ function TSDocReflectionProperty(props) {
82
+ const [{ children }, rest] = (0, __alloy_js_core.splitProps)(props, ["children"]);
83
+ const context = require_reflection.useReflectionProperty();
84
+ return (0, __alloy_js_core_jsx_runtime.createComponent)(require_tsdoc.TSDoc, (0, __alloy_js_core_jsx_runtime.mergeProps)({ get heading() {
85
+ return context.getDescription();
86
+ } }, rest, { get children() {
87
+ return [(0, __alloy_js_core_jsx_runtime.createComponent)(require_tsdoc.TSDocAttributesTags, {
88
+ type: context,
89
+ get title() {
90
+ return context.getTitle();
91
+ },
92
+ get alias() {
93
+ return context.getAlias();
94
+ },
95
+ get domain() {
96
+ return context.getDomain();
97
+ },
98
+ get permission() {
99
+ return context.getPermission();
100
+ },
101
+ get readonly() {
102
+ return context.isReadonly();
103
+ },
104
+ get internal() {
105
+ return context.isInternal();
106
+ },
107
+ get ignore() {
108
+ return context.isIgnored();
109
+ },
110
+ get hidden() {
111
+ return context.isHidden();
112
+ },
113
+ get defaultValue() {
114
+ return context.getDefaultValue();
115
+ }
116
+ }), (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
117
+ get when() {
118
+ return (0, __alloy_js_core_jsx_runtime.memo)(() => !!Boolean(children))() && (0, __alloy_js_core.childrenArray)(() => children).length > 0;
119
+ },
120
+ get children() {
121
+ return (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.List, { get children() {
122
+ return (0, __alloy_js_core.childrenArray)(() => children);
123
+ } });
124
+ }
125
+ })];
126
+ } }));
127
+ }
128
+ /**
129
+ * Generates a TypeScript interface property for the given reflection class.
130
+ */
131
+ function TSDocReflectionMethod(props) {
132
+ const [{ children }, rest] = (0, __alloy_js_core.splitProps)(props, ["children"]);
133
+ const context = require_reflection.useReflectionMethod();
134
+ return (0, __alloy_js_core_jsx_runtime.createComponent)(require_tsdoc.TSDoc, (0, __alloy_js_core_jsx_runtime.mergeProps)({ get heading() {
135
+ return context.getDescription() || ((0, __stryke_type_checks_is_string.isString)(context.getName()) ? __alloy_js_core.code`${String(context.getName())} method definition` : void 0);
136
+ } }, rest, { get children() {
137
+ return [(0, __alloy_js_core_jsx_runtime.createComponent)(require_tsdoc.TSDocAttributesTags, {
138
+ get title() {
139
+ return context.getTitle();
140
+ },
141
+ get alias() {
142
+ return context.getAlias();
143
+ },
144
+ get domain() {
145
+ return context.getDomain();
146
+ },
147
+ get permission() {
148
+ return context.getPermission();
149
+ },
150
+ get readonly() {
151
+ return context.isReadonly();
152
+ },
153
+ get internal() {
154
+ return context.isInternal();
155
+ },
156
+ get ignore() {
157
+ return context.isIgnored();
158
+ },
159
+ get hidden() {
160
+ return context.isHidden();
161
+ }
162
+ }), (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
163
+ get when() {
164
+ return (0, __alloy_js_core_jsx_runtime.memo)(() => !!Boolean(children))() && (0, __alloy_js_core.childrenArray)(() => children).length > 0;
165
+ },
166
+ get children() {
167
+ return (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.List, { get children() {
168
+ return (0, __alloy_js_core.childrenArray)(() => children);
169
+ } });
170
+ }
171
+ })];
172
+ } }));
173
+ }
174
+
175
+ //#endregion
176
+ Object.defineProperty(exports, 'TSDocReflectionClass', {
177
+ enumerable: true,
178
+ get: function () {
179
+ return TSDocReflectionClass;
180
+ }
181
+ });
182
+ Object.defineProperty(exports, 'TSDocReflectionMethod', {
183
+ enumerable: true,
184
+ get: function () {
185
+ return TSDocReflectionMethod;
186
+ }
187
+ });
188
+ Object.defineProperty(exports, 'TSDocReflectionProperty', {
189
+ enumerable: true,
190
+ get: function () {
191
+ return TSDocReflectionProperty;
192
+ }
193
+ });
@@ -0,0 +1,176 @@
1
+ import { a as useReflectionClass, c as useReflectionProperty, o as useReflectionMethod } from "./reflection-B-NMNIoB.mjs";
2
+ import { r as TSDocAttributesTags, t as TSDoc } from "./tsdoc-BNV-5Qs2.mjs";
3
+ import { createComponent, memo, mergeProps } from "@alloy-js/core/jsx-runtime";
4
+ import { List, Show, childrenArray, code, computed, splitProps } from "@alloy-js/core";
5
+ import { titleCase } from "@stryke/string-format/title-case";
6
+ import { isUndefined } from "@stryke/type-checks/is-undefined";
7
+ import { isString } from "@stryke/type-checks/is-string";
8
+ import { isSetString } from "@stryke/type-checks/is-set-string";
9
+
10
+ //#region src/typescript/components/tsdoc-reflection.tsx
11
+ /**
12
+ * Generates a TypeScript interface property for the given reflection class.
13
+ */
14
+ function TSDocReflectionClass(props) {
15
+ const [{ children, heading }, rest] = splitProps(props, ["heading", "children"]);
16
+ const reflectionClass = useReflectionClass();
17
+ const title = computed(() => reflectionClass.reflection.getTitle() || titleCase(reflectionClass.reflection.getName()));
18
+ const computedHeading = computed(() => heading || reflectionClass.reflection.getDescription() || title.value);
19
+ const alias = computed(() => reflectionClass.reflection.getAlias());
20
+ const domain = computed(() => reflectionClass.reflection.getDomain());
21
+ const permission = computed(() => reflectionClass.reflection.getPermission());
22
+ const readonly = computed(() => reflectionClass.reflection.isReadonly());
23
+ const internal = computed(() => reflectionClass.reflection.isInternal());
24
+ const ignore = computed(() => reflectionClass.reflection.isIgnored());
25
+ const hidden = computed(() => reflectionClass.reflection.isHidden());
26
+ if (!computedHeading.value || isSetString(computedHeading.value) && computedHeading.value.trim() === "") return null;
27
+ return createComponent(TSDoc, mergeProps(rest, {
28
+ get heading() {
29
+ return memo(() => !!isSetString(computedHeading.value))() ? computedHeading.value.trim() : computedHeading.value;
30
+ },
31
+ get children() {
32
+ return [createComponent(Show, {
33
+ get when() {
34
+ return isSetString(title.value) || !isUndefined(alias.value) && alias.value.length > 0 || !isUndefined(permission.value) && permission.value.length > 0 || isSetString(domain.value) || !isUndefined(readonly.value) || !isUndefined(internal.value) || !isUndefined(ignore.value) || !isUndefined(hidden.value);
35
+ },
36
+ get children() {
37
+ return createComponent(TSDocAttributesTags, {
38
+ get title() {
39
+ return title.value;
40
+ },
41
+ get alias() {
42
+ return alias.value;
43
+ },
44
+ get domain() {
45
+ return domain.value;
46
+ },
47
+ get permission() {
48
+ return permission.value;
49
+ },
50
+ get readonly() {
51
+ return readonly.value;
52
+ },
53
+ get internal() {
54
+ return internal.value;
55
+ },
56
+ get ignore() {
57
+ return ignore.value;
58
+ },
59
+ get hidden() {
60
+ return hidden.value;
61
+ }
62
+ });
63
+ }
64
+ }), createComponent(Show, {
65
+ get when() {
66
+ return memo(() => !!Boolean(children))() && childrenArray(() => children).length > 0;
67
+ },
68
+ get children() {
69
+ return createComponent(List, { get children() {
70
+ return childrenArray(() => children);
71
+ } });
72
+ }
73
+ })];
74
+ }
75
+ }));
76
+ }
77
+ /**
78
+ * Generates a TypeScript interface property for the given reflection class.
79
+ */
80
+ function TSDocReflectionProperty(props) {
81
+ const [{ children }, rest] = splitProps(props, ["children"]);
82
+ const context = useReflectionProperty();
83
+ return createComponent(TSDoc, mergeProps({ get heading() {
84
+ return context.getDescription();
85
+ } }, rest, { get children() {
86
+ return [createComponent(TSDocAttributesTags, {
87
+ type: context,
88
+ get title() {
89
+ return context.getTitle();
90
+ },
91
+ get alias() {
92
+ return context.getAlias();
93
+ },
94
+ get domain() {
95
+ return context.getDomain();
96
+ },
97
+ get permission() {
98
+ return context.getPermission();
99
+ },
100
+ get readonly() {
101
+ return context.isReadonly();
102
+ },
103
+ get internal() {
104
+ return context.isInternal();
105
+ },
106
+ get ignore() {
107
+ return context.isIgnored();
108
+ },
109
+ get hidden() {
110
+ return context.isHidden();
111
+ },
112
+ get defaultValue() {
113
+ return context.getDefaultValue();
114
+ }
115
+ }), createComponent(Show, {
116
+ get when() {
117
+ return memo(() => !!Boolean(children))() && childrenArray(() => children).length > 0;
118
+ },
119
+ get children() {
120
+ return createComponent(List, { get children() {
121
+ return childrenArray(() => children);
122
+ } });
123
+ }
124
+ })];
125
+ } }));
126
+ }
127
+ /**
128
+ * Generates a TypeScript interface property for the given reflection class.
129
+ */
130
+ function TSDocReflectionMethod(props) {
131
+ const [{ children }, rest] = splitProps(props, ["children"]);
132
+ const context = useReflectionMethod();
133
+ return createComponent(TSDoc, mergeProps({ get heading() {
134
+ return context.getDescription() || (isString(context.getName()) ? code`${String(context.getName())} method definition` : void 0);
135
+ } }, rest, { get children() {
136
+ return [createComponent(TSDocAttributesTags, {
137
+ get title() {
138
+ return context.getTitle();
139
+ },
140
+ get alias() {
141
+ return context.getAlias();
142
+ },
143
+ get domain() {
144
+ return context.getDomain();
145
+ },
146
+ get permission() {
147
+ return context.getPermission();
148
+ },
149
+ get readonly() {
150
+ return context.isReadonly();
151
+ },
152
+ get internal() {
153
+ return context.isInternal();
154
+ },
155
+ get ignore() {
156
+ return context.isIgnored();
157
+ },
158
+ get hidden() {
159
+ return context.isHidden();
160
+ }
161
+ }), createComponent(Show, {
162
+ get when() {
163
+ return memo(() => !!Boolean(children))() && childrenArray(() => children).length > 0;
164
+ },
165
+ get children() {
166
+ return createComponent(List, { get children() {
167
+ return childrenArray(() => children);
168
+ } });
169
+ }
170
+ })];
171
+ } }));
172
+ }
173
+
174
+ //#endregion
175
+ export { TSDocReflectionMethod as n, TSDocReflectionProperty as r, TSDocReflectionClass as t };
176
+ //# sourceMappingURL=tsdoc-reflection-C7_a06TL.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tsdoc-reflection-C7_a06TL.mjs","names":["childrenArray","code","computed","List","Show","splitProps","titleCase","isSetString","isString","isUndefined","useReflectionClass","useReflectionMethod","useReflectionProperty","TSDoc","TSDocAttributesTags","TSDocReflectionClass","props","children","heading","rest","reflectionClass","title","reflection","getTitle","getName","computedHeading","getDescription","value","alias","getAlias","domain","getDomain","permission","getPermission","readonly","isReadonly","internal","isInternal","ignore","isIgnored","hidden","isHidden","trim","_$createComponent","_$mergeProps","_$memo","when","length","Boolean","TSDocReflectionProperty","context","type","defaultValue","getDefaultValue","TSDocReflectionMethod","String","undefined"],"sources":["../src/typescript/components/tsdoc-reflection.tsx"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport {\n childrenArray,\n code,\n computed,\n List,\n Show,\n splitProps\n} from \"@alloy-js/core\";\nimport { titleCase } from \"@stryke/string-format/title-case\";\nimport { isSetString } from \"@stryke/type-checks/is-set-string\";\nimport { isString } from \"@stryke/type-checks/is-string\";\nimport { isUndefined } from \"@stryke/type-checks/is-undefined\";\nimport {\n useReflectionClass,\n useReflectionMethod,\n useReflectionProperty\n} from \"../../core/contexts/reflection\";\nimport { TSDoc, TSDocAttributesTags, TSDocProps } from \"./tsdoc\";\n\n/**\n * Generates a TypeScript interface property for the given reflection class.\n */\nexport function TSDocReflectionClass<\n T extends Record<string, any> = Record<string, any>\n>(props: TSDocProps) {\n const [{ children, heading }, rest] = splitProps(props, [\n \"heading\",\n \"children\"\n ]);\n\n const reflectionClass = useReflectionClass<T>();\n\n const title = computed(\n () =>\n reflectionClass.reflection.getTitle() ||\n titleCase(reflectionClass.reflection.getName())\n );\n const computedHeading = computed(\n () => heading || reflectionClass.reflection.getDescription() || title.value\n );\n\n const alias = computed(() => reflectionClass.reflection.getAlias());\n const domain = computed(() => reflectionClass.reflection.getDomain());\n const permission = computed(() => reflectionClass.reflection.getPermission());\n const readonly = computed(() => reflectionClass.reflection.isReadonly());\n const internal = computed(() => reflectionClass.reflection.isInternal());\n const ignore = computed(() => reflectionClass.reflection.isIgnored());\n const hidden = computed(() => reflectionClass.reflection.isHidden());\n\n if (\n !computedHeading.value ||\n (isSetString(computedHeading.value) && computedHeading.value.trim() === \"\")\n ) {\n return null;\n }\n\n return (\n <TSDoc\n {...rest}\n heading={\n isSetString(computedHeading.value)\n ? computedHeading.value.trim()\n : computedHeading.value\n }>\n <Show\n when={\n isSetString(title.value) ||\n (!isUndefined(alias.value) && alias.value.length > 0) ||\n (!isUndefined(permission.value) && permission.value.length > 0) ||\n isSetString(domain.value) ||\n !isUndefined(readonly.value) ||\n !isUndefined(internal.value) ||\n !isUndefined(ignore.value) ||\n !isUndefined(hidden.value)\n }>\n <TSDocAttributesTags\n title={title.value}\n alias={alias.value}\n domain={domain.value}\n permission={permission.value}\n readonly={readonly.value}\n internal={internal.value}\n ignore={ignore.value}\n hidden={hidden.value}\n />\n </Show>\n <Show\n when={Boolean(children) && childrenArray(() => children).length > 0}>\n <List>{childrenArray(() => children)}</List>\n </Show>\n </TSDoc>\n );\n}\n\n/**\n * Generates a TypeScript interface property for the given reflection class.\n */\nexport function TSDocReflectionProperty(props: TSDocProps) {\n const [{ children }, rest] = splitProps(props, [\"children\"]);\n\n const context = useReflectionProperty();\n\n return (\n <TSDoc heading={context.getDescription()} {...rest}>\n <TSDocAttributesTags\n type={context}\n title={context.getTitle()}\n alias={context.getAlias()}\n domain={context.getDomain()}\n permission={context.getPermission()}\n readonly={context.isReadonly()}\n internal={context.isInternal()}\n ignore={context.isIgnored()}\n hidden={context.isHidden()}\n defaultValue={context.getDefaultValue()}\n />\n <Show\n when={Boolean(children) && childrenArray(() => children).length > 0}>\n <List>{childrenArray(() => children)}</List>\n </Show>\n </TSDoc>\n );\n}\n\n/**\n * Generates a TypeScript interface property for the given reflection class.\n */\nexport function TSDocReflectionMethod(props: TSDocProps) {\n const [{ children }, rest] = splitProps(props, [\"children\"]);\n\n const context = useReflectionMethod();\n\n return (\n <TSDoc\n heading={\n context.getDescription() ||\n (isString(context.getName())\n ? code`${String(context.getName())} method definition`\n : undefined)\n }\n {...rest}>\n <TSDocAttributesTags\n title={context.getTitle()}\n alias={context.getAlias()}\n domain={context.getDomain()}\n permission={context.getPermission()}\n readonly={context.isReadonly()}\n internal={context.isInternal()}\n ignore={context.isIgnored()}\n hidden={context.isHidden()}\n />\n <Show\n when={Boolean(children) && childrenArray(() => children).length > 0}>\n <List>{childrenArray(() => children)}</List>\n </Show>\n </TSDoc>\n );\n}\n"],"mappings":";;;;;;;;;;;;;qCA2HQmD;oBAAAA,WAAAA,QAAAA,WAAAA,OAAAA;;;wCAEyB,WAAA,gBAAA,WAAA,gBAAA,IAAA,MAAA;eAAA,eAAA,gBAAA,WAAA,UAAA,CAAA;gBAAA,eAAA,gBAAA,WAAA,WAAA,CAAA;oBAAA,eAAA,gBAAA,WAAA,eAAA,CAAA;kBAAA,eAAA,gBAAA,WAAA,YAAA,CAAA;kBAAA,eAAA,gBAAA,WAAA,YAAA,CAAA;gBAAA,eAAA,gBAAA,WAAA,WAAA,CAAA;gBAAA,eAAA,gBAAA,WAAA,UAAA,CAAA;sBAAA,qBAAA,gBAAA,MAAA,IAAA,gBAAA,MAAA,MAAA,KAAA;;;;;;;;2DACE,MAAA,IAAA,MAAA,MAAA,SAAA,KAAA,CAAA,YAAA,WAAA,MAAA,IAAA,WAAA,MAAA,SAAA,KAAA,YAAA,OAAA,MAAA,IAAA,CAAA,YAAA,SAAA,MAAA,IAAA,CAAA,YAAA,SAAA,MAAA,IAAA,CAAA,YAAA,OAAA,MAAA,iBAAA,OAAA,MAAA;;IAAA,IAAA,WAAA;AAAA,YAAA,qCAAA;MAAA,IAAA,QAAA;AAAA,cAAA,MAAA;;MAAA,IAAA,QAAA;AAAA,cAAA,MAAA;;MAAA,IAAA,SAAA;AAAA,cAAA,OAAA;;MAAA,IAAA,aAAA;AAAA,cAAA,WAAA;;MAAA,IAAA,WAAA;AAAA,cAAA,SAAA;;MAAA;;;;;;;;;;;uBACjB,MAAA;IAAA,IAAA,OAAA;AAAA,YAAA,WAAA,CAAA,CAAA,QAAA,SAAA,CAAA,EAAA,IAAA,oBAAA,SAAA,CAAA,SAAA;;IAAA,IAAA,WAAA;AAAA,YAAA,gBAAA,MAAA,EAAA,IAAA,WAAA;AAAA,aAAA,oBAAA,SAAA;QAAA,CAAA;;IAAA,CAAA,CAAA;;EAAA,CAAA,CAAA;;;;;SAAED,+BAAAA;OAAAA,CAAAA,EAAAA;wCAAAA;+BAAAA,WAAAA,EAAAA,IAAAA,UAAAA;AAAAA,SAAAA,QAAAA,gBAAAA;IAAAA,EAAAA,MAAAA,EAAAA,IAAAA,WAAAA;AAAAA,SAAAA,CAAAA,qCAAAA;GAAAA,MAAAA;;6BAAAA;;GAAAA,IAAAA,QAAAA;AAAAA,WAAAA,QAAAA,UAAAA;;GAAAA,IAAAA;mBAAAA,WAAAA;;GAAAA,iBAAAA;AAAAA,WAAAA,QAAQjB,eAAe;;GAAA,IAAA,WAAA;AAAA,WAAA,QAAA,YAAA;;GAAA,IAAA,WAAA;AAAA,WAAA,QAAA,YAAA;;GAAA,aAAA;AAAA,WAAA,QAAA,WAAA;;GAAA,IAAA,SAAA;AAAA,WAAA,QAAA,UAAA;;GAAA,IAAA,eAAA;AAAA,WAAA,QAAA,iBAAA;;GAAA,CAAA,EAAA,sBAAA;GAAA,IAAA;gCAAA,SAAA,CAAA,EAAA,IAAA,oBAAA,SAAA,CAAA,SAAA;;GAAA,IAAA,WAAA;AAAA,WAAA,sBAAA,EAAA,IAAA,WAAA;AAAA,YAAA,oBAAA,SAAA;OAAA,CAAA;;GAAA,CAAA,CAAA;IAAA,CAAA,CAAA;;;;;;yCAAA,OAAA,CAAA,WAAA,CAAA;OAAA,UAAA,qBAAA;0DAAA;AAAA,iBAAA,gBAAA,KAAA,SAAA,QAAA,SAAA,CAAA,GAAA,IAAA,GAAA,OAAA,QAAA,SAAA,CAAA,CAAA,sBAAA;IAAA;;;;;;;;;;;;;;;;;;;;;mBAAA,WAAA;;GAAA,IAAA,SAAA;AAAA,WAAA,QAAA,UAAA;;GAAA,CAAA,EAAA;OAAA,OAAA;AAAA,gCAAA,SAAA,CAAA,EAAA,IAAA,oBAAA,SAAA,CAAA,SAAA;;GAAA,IAAA,WAAA;AAAA,WAAA,gBAAA,MAAA,EAAA,IAAA,WAAA;AAAA,YAAA,oBAAA,SAAA;OAAA,CAAA;;GAAA,CAAA,CAAA;IAAA,CAAA,CAAA"}
@@ -0,0 +1,19 @@
1
+ import { x as TSDocProps } from "./tsdoc-CfvwK4Ml.cjs";
2
+ import * as _alloy_js_core3 from "@alloy-js/core";
3
+
4
+ //#region src/typescript/components/tsdoc-reflection.d.ts
5
+ /**
6
+ * Generates a TypeScript interface property for the given reflection class.
7
+ */
8
+ declare function TSDocReflectionClass<T extends Record<string, any> = Record<string, any>>(props: TSDocProps): _alloy_js_core3.Children;
9
+ /**
10
+ * Generates a TypeScript interface property for the given reflection class.
11
+ */
12
+ declare function TSDocReflectionProperty(props: TSDocProps): _alloy_js_core3.Children;
13
+ /**
14
+ * Generates a TypeScript interface property for the given reflection class.
15
+ */
16
+ declare function TSDocReflectionMethod(props: TSDocProps): _alloy_js_core3.Children;
17
+ //#endregion
18
+ export { TSDocReflectionMethod as n, TSDocReflectionProperty as r, TSDocReflectionClass as t };
19
+ //# sourceMappingURL=tsdoc-reflection-DaykPe3v.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tsdoc-reflection-DaykPe3v.d.cts","names":[],"sources":["../src/typescript/components/tsdoc-reflection.tsx"],"sourcesContent":[],"mappings":";;;;;;;AAwCgB,iBAAA,oBAAoB,CAAA,UACxB,MADwB,CAAA,MAAA,EAAA,GAAA,CAAA,GACF,MADE,CAAA,MAAA,EAAA,GAAA,CAAA,CAAA,CAAA,KAAA,EAE3B,UAF2B,CAAA,EAEjB,eAAA,CAAA,QAFiB;;;;AAEjB,iBAyEH,uBAAA,CAzEG,KAAA,EAyE4B,UAzE5B,CAAA,EAyEsC,eAAA,CAAA,QAzEtC;;AAyEnB;AA8BA;iBAAgB,qBAAA,QAA6B,aAAU,eAAA,CAAA"}
@@ -0,0 +1,19 @@
1
+ import { x as TSDocProps } from "./tsdoc-CfvwK4Ml.cjs";
2
+ import * as _alloy_js_core14 from "@alloy-js/core";
3
+
4
+ //#region src/typescript/components/tsdoc-reflection.d.ts
5
+ /**
6
+ * Generates a TypeScript interface property for the given reflection class.
7
+ */
8
+ declare function TSDocReflectionClass<T extends Record<string, any> = Record<string, any>>(props: TSDocProps): _alloy_js_core14.Children;
9
+ /**
10
+ * Generates a TypeScript interface property for the given reflection class.
11
+ */
12
+ declare function TSDocReflectionProperty(props: TSDocProps): _alloy_js_core14.Children;
13
+ /**
14
+ * Generates a TypeScript interface property for the given reflection class.
15
+ */
16
+ declare function TSDocReflectionMethod(props: TSDocProps): _alloy_js_core14.Children;
17
+ //#endregion
18
+ export { TSDocReflectionMethod as n, TSDocReflectionProperty as r, TSDocReflectionClass as t };
19
+ //# sourceMappingURL=tsdoc-reflection-Dggzpjh7.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tsdoc-reflection-Dggzpjh7.d.cts","names":[],"sources":["../src/typescript/components/tsdoc-reflection.tsx"],"sourcesContent":[],"mappings":";;;;;;;AAwCgB,iBAAA,oBAAoB,CAAA,UACxB,MADwB,CAAA,MAAA,EAAA,GAAA,CAAA,GACF,MADE,CAAA,MAAA,EAAA,GAAA,CAAA,CAAA,CAAA,KAAA,EAE3B,UAF2B,CAAA,EAEjB,gBAAA,CAAA,QAFiB;;;;AAEjB,iBAyEH,uBAAA,CAzEG,KAAA,EAyE4B,UAzE5B,CAAA,EAyEsC,gBAAA,CAAA,QAzEtC;;AAyEnB;AA8BA;iBAAgB,qBAAA,QAA6B,aAAU,gBAAA,CAAA"}
@@ -0,0 +1,19 @@
1
+ import { x as TSDocProps } from "./tsdoc-OUuKjTbh.mjs";
2
+ import * as _alloy_js_core12 from "@alloy-js/core";
3
+
4
+ //#region src/typescript/components/tsdoc-reflection.d.ts
5
+ /**
6
+ * Generates a TypeScript interface property for the given reflection class.
7
+ */
8
+ declare function TSDocReflectionClass<T extends Record<string, any> = Record<string, any>>(props: TSDocProps): _alloy_js_core12.Children;
9
+ /**
10
+ * Generates a TypeScript interface property for the given reflection class.
11
+ */
12
+ declare function TSDocReflectionProperty(props: TSDocProps): _alloy_js_core12.Children;
13
+ /**
14
+ * Generates a TypeScript interface property for the given reflection class.
15
+ */
16
+ declare function TSDocReflectionMethod(props: TSDocProps): _alloy_js_core12.Children;
17
+ //#endregion
18
+ export { TSDocReflectionMethod as n, TSDocReflectionProperty as r, TSDocReflectionClass as t };
19
+ //# sourceMappingURL=tsdoc-reflection-ulqYHfKL.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tsdoc-reflection-ulqYHfKL.d.mts","names":[],"sources":["../src/typescript/components/tsdoc-reflection.tsx"],"sourcesContent":[],"mappings":";;;;;;;AAwCgB,iBAAA,oBAAoB,CAAA,UACxB,MADwB,CAAA,MAAA,EAAA,GAAA,CAAA,GACF,MADE,CAAA,MAAA,EAAA,GAAA,CAAA,CAAA,CAAA,KAAA,EAE3B,UAF2B,CAAA,EAEjB,gBAAA,CAAA,QAFiB;;;;AAEjB,iBAyEH,uBAAA,CAzEG,KAAA,EAyE4B,UAzE5B,CAAA,EAyEsC,gBAAA,CAAA,QAzEtC;;AAyEnB;AA8BA;iBAAgB,qBAAA,QAA6B,aAAU,gBAAA,CAAA"}
@@ -0,0 +1 @@
1
+ require('../components-BNK9p5AE.cjs');
@@ -1,142 +1,2 @@
1
- import { Children, Context } from "@alloy-js/core";
2
- import { StoragePreset } from "powerlines/types/fs";
3
- import { SourceFileContext } from "@alloy-js/typescript";
4
- import { ResolvedEntryTypeDefinition } from "powerlines/types/resolved";
5
-
6
- //#region src/types/components.d.ts
7
- interface CopyOutputFile {
8
- kind: "file";
9
- path: string;
10
- sourcePath: string;
11
- /**
12
- * The format of the output files
13
- *
14
- * @remarks
15
- * If not specified, the output mode will be determined by the provided \`output.mode\` value.
16
- */
17
- preset?: StoragePreset;
18
- }
19
- interface WriteOutputFile {
20
- kind: "file" | "entry" | "builtin";
21
- path: string;
22
- contents: string;
23
- filetype: string;
24
- /**
25
- * The format of the output files
26
- *
27
- * @remarks
28
- * If not specified, the output mode will be determined by the provided \`output.mode\` value.
29
- */
30
- preset?: StoragePreset;
31
- }
32
- type OutputFile = (WriteOutputFile & {
33
- kind: "file";
34
- }) | (WriteOutputFile & {
35
- kind: "entry";
36
- typeDefinition?: ResolvedEntryTypeDefinition;
37
- }) | (WriteOutputFile & {
38
- kind: "builtin";
39
- id: string;
40
- }) | CopyOutputFile;
41
- interface OutputDirectory {
42
- kind: "directory";
43
- path: string;
44
- contents: (OutputDirectory | OutputFile)[];
45
- }
46
- interface RenderEntryContext {
47
- typeDefinition: ResolvedEntryTypeDefinition;
48
- }
49
- interface RenderBuiltinContext {
50
- id: string;
51
- }
52
- interface RenderOutputContext {
53
- mode?: StoragePreset;
54
- }
55
- interface CopyFileOutputContext {
56
- path?: string;
57
- sourcePath?: string;
58
- }
59
- interface RenderContext extends Context {
60
- meta?: {
61
- copyFile?: CopyFileOutputContext;
62
- /**
63
- * The current context for the built-in module.
64
- */
65
- builtin?: RenderBuiltinContext;
66
- /**
67
- * The current context for the application entrypoint file being rendered.
68
- */
69
- entry?: RenderEntryContext;
70
- /**
71
- * The current context for output rendering.
72
- */
73
- output?: RenderOutputContext;
74
- } & Record<string, any>;
75
- }
76
- /**
77
- * A type that represents the props of a component that can have children.
78
- */
79
- interface ComponentProps {
80
- children?: Children;
81
- }
82
- /**
83
- * A type that requires the `children` prop in a component.
84
- */
85
- type ComponentPropsWithChildren = Omit<ComponentProps, "children"> & Required<Pick<ComponentProps, "children">>;
86
- interface BuiltinSourceFileContext extends SourceFileContext {
87
- /**
88
- * The runtime module identifier.
89
- */
90
- id: string;
91
- }
92
- interface ReflectionOverrideInterface<T> {
93
- name?: string | Children;
94
- type?: string | Children;
95
- extends?: string | false;
96
- defaultValue?: Partial<T>;
97
- }
98
- interface TypescriptFileImportItem {
99
- name: string;
100
- default?: boolean;
101
- alias?: string;
102
- type?: boolean;
103
- }
104
- type TypescriptFileImports = Record<string, null | string | Array<TypescriptFileImportItem | string>>;
105
- interface SourceFileHeaderProps extends ComponentProps {
106
- /**
107
- * If true, disables the ESLint directive at the top of the file.
108
- *
109
- * @defaultValue true
110
- */
111
- disableEslint?: boolean;
112
- /**
113
- * If true, disables the Biome directive at the top of the file.
114
- *
115
- * @defaultValue true
116
- */
117
- disableBiome?: boolean;
118
- /**
119
- * If true, disables the Prettier directive at the top of the file.
120
- *
121
- * @defaultValue false
122
- */
123
- disablePrettier?: boolean;
124
- }
125
- declare type __ΩCopyOutputFile = any[];
126
- declare type __ΩWriteOutputFile = any[];
127
- declare type __ΩOutputFile = any[];
128
- declare type __ΩOutputDirectory = any[];
129
- declare type __ΩRenderEntryContext = any[];
130
- declare type __ΩRenderBuiltinContext = any[];
131
- declare type __ΩRenderOutputContext = any[];
132
- declare type __ΩCopyFileOutputContext = any[];
133
- declare type __ΩRenderContext = any[];
134
- declare type __ΩComponentProps = any[];
135
- declare type __ΩComponentPropsWithChildren = any[];
136
- declare type __ΩBuiltinSourceFileContext = any[];
137
- declare type __ΩReflectionOverrideInterface = any[];
138
- declare type __ΩTypescriptFileImportItem = any[];
139
- declare type __ΩTypescriptFileImports = any[];
140
- declare type __ΩSourceFileHeaderProps = any[];
141
- //#endregion
1
+ import { A as __ΩTypescriptFileImportItem, C as __ΩOutputFile, D as __ΩRenderEntryContext, E as __ΩRenderContext, M as __ΩWriteOutputFile, O as __ΩRenderOutputContext, S as __ΩOutputDirectory, T as __ΩRenderBuiltinContext, _ as __ΩBuiltinSourceFileContext, a as CopyOutputFile, b as __ΩCopyFileOutputContext, c as ReflectionOverrideInterface, d as RenderEntryContext, f as RenderOutputContext, g as WriteOutputFile, h as TypescriptFileImports, i as CopyFileOutputContext, j as __ΩTypescriptFileImports, k as __ΩSourceFileHeaderProps, l as RenderBuiltinContext, m as TypescriptFileImportItem, n as ComponentProps, o as OutputDirectory, p as SourceFileHeaderProps, r as ComponentPropsWithChildren, s as OutputFile, t as BuiltinSourceFileContext, u as RenderContext, v as __ΩComponentProps, w as __ΩReflectionOverrideInterface, x as __ΩCopyOutputFile, y as __ΩComponentPropsWithChildren } from "../components-IRVnipN0.cjs";
142
2
  export { BuiltinSourceFileContext, ComponentProps, ComponentPropsWithChildren, CopyFileOutputContext, CopyOutputFile, OutputDirectory, OutputFile, ReflectionOverrideInterface, RenderBuiltinContext, RenderContext, RenderEntryContext, RenderOutputContext, SourceFileHeaderProps, TypescriptFileImportItem, TypescriptFileImports, WriteOutputFile, __ΩBuiltinSourceFileContext, __ΩComponentProps, __ΩComponentPropsWithChildren, __ΩCopyFileOutputContext, __ΩCopyOutputFile, __ΩOutputDirectory, __ΩOutputFile, __ΩReflectionOverrideInterface, __ΩRenderBuiltinContext, __ΩRenderContext, __ΩRenderEntryContext, __ΩRenderOutputContext, __ΩSourceFileHeaderProps, __ΩTypescriptFileImportItem, __ΩTypescriptFileImports, __ΩWriteOutputFile };