@powerlines/plugin-alloy 0.19.18 → 0.19.20

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 (337) hide show
  1. package/dist/{builtin-file-Cg5TjZ7x.d.cts → builtin-file-B8i70dXV.d.cts} +4 -4
  2. package/dist/{builtin-file-Cg5TjZ7x.d.cts.map → builtin-file-B8i70dXV.d.cts.map} +1 -1
  3. package/dist/{builtin-file-RXdRpQs-.d.mts → builtin-file-BGdpbEbj.d.cts} +5 -5
  4. package/dist/{builtin-file-RXdRpQs-.d.mts.map → builtin-file-BGdpbEbj.d.cts.map} +1 -1
  5. package/dist/{builtin-file-CeVquKG_.d.cts → builtin-file-Bm7WMBBk.d.mts} +3 -3
  6. package/dist/{builtin-file-CeVquKG_.d.cts.map → builtin-file-Bm7WMBBk.d.mts.map} +1 -1
  7. package/dist/{builtin-file-0k9DccCv.cjs → builtin-file-gr-ZQMIl.cjs} +3 -3
  8. package/dist/{builtin-file-Ie_jPokg.mjs → builtin-file-sJXTCC_u.mjs} +4 -4
  9. package/dist/{builtin-file-Ie_jPokg.mjs.map → builtin-file-sJXTCC_u.mjs.map} +1 -1
  10. package/dist/{capnp-CRMDa2Ok.d.mts → capnp-Bs3Ikfuw.d.mts} +1 -1
  11. package/dist/{capnp-CRMDa2Ok.d.mts.map → capnp-Bs3Ikfuw.d.mts.map} +1 -1
  12. package/dist/{capnp-CnQcwo0s.mjs → capnp-idxO5voI.mjs} +1 -1
  13. package/dist/{capnp-CnQcwo0s.mjs.map → capnp-idxO5voI.mjs.map} +1 -1
  14. package/dist/{components-oHSM7vmp.d.mts → components-BVhJ5G56.d.mts} +1 -1
  15. package/dist/{components-oHSM7vmp.d.mts.map → components-BVhJ5G56.d.mts.map} +1 -1
  16. package/dist/{context-Gqs3Ru42.d.cts → context-CdtkDo_j.d.cts} +12 -7
  17. package/dist/context-CdtkDo_j.d.cts.map +1 -0
  18. package/dist/{context--KBspFnw.cjs → context-CowAmU8m.cjs} +17 -6
  19. package/dist/{context-e2kZWEFW.mjs → context-DAfWJCa9.mjs} +12 -8
  20. package/dist/context-DAfWJCa9.mjs.map +1 -0
  21. package/dist/{context-Du_bVzRZ.d.mts → context-uUfYcg-_.d.mts} +12 -7
  22. package/dist/context-uUfYcg-_.d.mts.map +1 -0
  23. package/dist/core/components/index.cjs +6 -7
  24. package/dist/core/components/index.d.cts +4 -4
  25. package/dist/core/components/index.d.mts +6 -6
  26. package/dist/core/components/index.mjs +6 -7
  27. package/dist/core/components/output.cjs +2 -1
  28. package/dist/core/components/output.d.cts +2 -2
  29. package/dist/core/components/output.d.mts +2 -2
  30. package/dist/core/components/output.mjs +2 -1
  31. package/dist/core/components/single-line-comment.d.cts +1 -1
  32. package/dist/core/components/single-line-comment.d.mts +2 -2
  33. package/dist/core/components/source-file.cjs +4 -5
  34. package/dist/core/components/source-file.d.cts +1 -1
  35. package/dist/core/components/source-file.d.mts +2 -2
  36. package/dist/core/components/source-file.mjs +4 -5
  37. package/dist/core/contexts/context.cjs +2 -2
  38. package/dist/core/contexts/context.d.cts +2 -2
  39. package/dist/core/contexts/context.d.mts +2 -2
  40. package/dist/core/contexts/context.mjs +2 -3
  41. package/dist/core/contexts/index.cjs +4 -4
  42. package/dist/core/contexts/index.d.cts +2 -2
  43. package/dist/core/contexts/index.d.mts +5 -5
  44. package/dist/core/contexts/index.mjs +4 -5
  45. package/dist/core/contexts/reflection.cjs +1 -1
  46. package/dist/core/contexts/reflection.d.mts +2 -2
  47. package/dist/core/contexts/reflection.mjs +1 -1
  48. package/dist/core/index.cjs +7 -7
  49. package/dist/core/index.d.cts +5 -5
  50. package/dist/core/index.d.mts +9 -9
  51. package/dist/core/index.mjs +7 -8
  52. package/dist/{create-builtin-FtQ6qKzX.d.mts → create-builtin-B6fXqb8U.d.mts} +1 -1
  53. package/dist/{create-builtin-FtQ6qKzX.d.mts.map → create-builtin-B6fXqb8U.d.mts.map} +1 -1
  54. package/dist/{create-builtin-DQuJyeZw.mjs → create-builtin-m17qlyC1.mjs} +1 -1
  55. package/dist/{create-builtin-DQuJyeZw.mjs.map → create-builtin-m17qlyC1.mjs.map} +1 -1
  56. package/dist/{dynamic-import-statement-DIk-Vu0D.d.cts → dynamic-import-statement-1w1twQi-.d.cts} +3 -3
  57. package/dist/{dynamic-import-statement-B5Pdwr4Z.d.mts.map → dynamic-import-statement-1w1twQi-.d.cts.map} +1 -1
  58. package/dist/{dynamic-import-statement-BCDoj7u0.d.cts → dynamic-import-statement-BYgPjHeV.d.cts} +3 -3
  59. package/dist/{dynamic-import-statement-BCDoj7u0.d.cts.map → dynamic-import-statement-BYgPjHeV.d.cts.map} +1 -1
  60. package/dist/{dynamic-import-statement-BbNJchii.mjs → dynamic-import-statement-Cxe-I3B0.mjs} +1 -1
  61. package/dist/{dynamic-import-statement-BbNJchii.mjs.map → dynamic-import-statement-Cxe-I3B0.mjs.map} +1 -1
  62. package/dist/{dynamic-import-statement-B5Pdwr4Z.d.mts → dynamic-import-statement-O1WueHgS.d.mts} +1 -1
  63. package/dist/{dynamic-import-statement-DIk-Vu0D.d.cts.map → dynamic-import-statement-O1WueHgS.d.mts.map} +1 -1
  64. package/dist/{entry-file-D64eurjX.mjs → entry-file-BZe47LcB.mjs} +3 -3
  65. package/dist/{entry-file-D64eurjX.mjs.map → entry-file-BZe47LcB.mjs.map} +1 -1
  66. package/dist/{entry-file-ayzYWEo5.d.mts → entry-file-BvT-Ru1U.d.mts} +2 -2
  67. package/dist/{entry-file-CUakQkpZ.d.cts.map → entry-file-BvT-Ru1U.d.mts.map} +1 -1
  68. package/dist/{entry-file-CUakQkpZ.d.cts → entry-file-BwhOJerl.d.cts} +4 -4
  69. package/dist/{entry-file-D3z7cP6q.d.cts.map → entry-file-BwhOJerl.d.cts.map} +1 -1
  70. package/dist/{entry-file-D3z7cP6q.d.cts → entry-file-CmXeSADG.d.cts} +4 -4
  71. package/dist/{entry-file-ayzYWEo5.d.mts.map → entry-file-CmXeSADG.d.cts.map} +1 -1
  72. package/dist/{entry-file-GR5Rsn25.cjs → entry-file-PWCdJV12.cjs} +2 -2
  73. package/dist/entry-file-rPljNeWX.d.mts +28 -0
  74. package/dist/entry-file-rPljNeWX.d.mts.map +1 -0
  75. package/dist/{front-matter-DGpkM9OE.d.mts → front-matter-BR4T3xIc.d.mts} +1 -1
  76. package/dist/{front-matter-DGpkM9OE.d.mts.map → front-matter-BR4T3xIc.d.mts.map} +1 -1
  77. package/dist/{front-matter-gcouRI-6.d.cts → front-matter-C15vIJ6p.d.mts} +3 -3
  78. package/dist/{front-matter-gcouRI-6.d.cts.map → front-matter-C15vIJ6p.d.mts.map} +1 -1
  79. package/dist/{front-matter-DSp4xPaD.d.cts → front-matter-C5Y0CcAP.d.cts} +3 -3
  80. package/dist/{front-matter-DSp4xPaD.d.cts.map → front-matter-C5Y0CcAP.d.cts.map} +1 -1
  81. package/dist/front-matter-Cg5TYuqs.d.cts +16 -0
  82. package/dist/front-matter-Cg5TYuqs.d.cts.map +1 -0
  83. package/dist/{front-matter-2eGRXX11.mjs → front-matter-TJ3qlKJo.mjs} +1 -1
  84. package/dist/{front-matter-2eGRXX11.mjs.map → front-matter-TJ3qlKJo.mjs.map} +1 -1
  85. package/dist/helpers/capnp.cjs +1 -1
  86. package/dist/helpers/capnp.d.mts +1 -1
  87. package/dist/helpers/capnp.mjs +1 -1
  88. package/dist/helpers/create-builtin.cjs +1 -1
  89. package/dist/helpers/create-builtin.d.mts +1 -1
  90. package/dist/helpers/create-builtin.mjs +1 -1
  91. package/dist/helpers/index.cjs +4 -4
  92. package/dist/helpers/index.d.mts +4 -4
  93. package/dist/helpers/index.mjs +4 -4
  94. package/dist/helpers/refkey.cjs +1 -1
  95. package/dist/helpers/refkey.d.mts +1 -1
  96. package/dist/helpers/refkey.mjs +1 -1
  97. package/dist/helpers/typescript.cjs +1 -1
  98. package/dist/helpers/typescript.d.mts +1 -1
  99. package/dist/helpers/typescript.mjs +1 -1
  100. package/dist/index.cjs +32 -37
  101. package/dist/index.d.cts.map +1 -1
  102. package/dist/index.d.mts +1 -1
  103. package/dist/index.d.mts.map +1 -1
  104. package/dist/index.mjs +32 -37
  105. package/dist/index.mjs.map +1 -1
  106. package/dist/markdown/components/front-matter.cjs +1 -1
  107. package/dist/markdown/components/front-matter.d.cts +1 -1
  108. package/dist/markdown/components/front-matter.d.mts +1 -1
  109. package/dist/markdown/components/front-matter.mjs +1 -1
  110. package/dist/markdown/components/index.cjs +9 -10
  111. package/dist/markdown/components/index.d.cts +4 -4
  112. package/dist/markdown/components/index.d.mts +7 -7
  113. package/dist/markdown/components/index.mjs +9 -10
  114. package/dist/markdown/components/markdown-file.cjs +6 -7
  115. package/dist/markdown/components/markdown-file.d.cts +3 -3
  116. package/dist/markdown/components/markdown-file.d.mts +4 -4
  117. package/dist/markdown/components/markdown-file.mjs +6 -7
  118. package/dist/markdown/components/markdown-table.cjs +2 -2
  119. package/dist/markdown/components/markdown-table.d.cts +1 -1
  120. package/dist/markdown/components/markdown-table.d.mts +3 -3
  121. package/dist/markdown/components/markdown-table.mjs +2 -2
  122. package/dist/markdown/contexts/index.cjs +2 -2
  123. package/dist/markdown/contexts/index.d.mts +2 -2
  124. package/dist/markdown/contexts/index.mjs +2 -2
  125. package/dist/markdown/contexts/markdown-table.cjs +1 -1
  126. package/dist/markdown/contexts/markdown-table.d.mts +1 -1
  127. package/dist/markdown/contexts/markdown-table.mjs +1 -1
  128. package/dist/markdown/index.cjs +10 -11
  129. package/dist/markdown/index.d.cts +4 -4
  130. package/dist/markdown/index.d.mts +7 -7
  131. package/dist/markdown/index.mjs +10 -11
  132. package/dist/{markdown-file-CAwtMwsl.cjs → markdown-file-B3gexrDd.cjs} +3 -3
  133. package/dist/markdown-file-BqGe9H2U.d.mts +29 -0
  134. package/dist/{markdown-file-BLqAPDsr.d.cts.map → markdown-file-BqGe9H2U.d.mts.map} +1 -1
  135. package/dist/{markdown-file-EtJaVhJ3.d.mts → markdown-file-BwL6ZG4f.d.mts} +4 -4
  136. package/dist/{markdown-file-BSbthTZB.d.cts.map → markdown-file-BwL6ZG4f.d.mts.map} +1 -1
  137. package/dist/{markdown-file-BSbthTZB.d.cts → markdown-file-CNQ2Qiog.d.cts} +6 -6
  138. package/dist/{markdown-file-EtJaVhJ3.d.mts.map → markdown-file-CNQ2Qiog.d.cts.map} +1 -1
  139. package/dist/{markdown-file-DIcSvowq.mjs → markdown-file-CRZN4frR.mjs} +4 -4
  140. package/dist/{markdown-file-DIcSvowq.mjs.map → markdown-file-CRZN4frR.mjs.map} +1 -1
  141. package/dist/{markdown-file-BLqAPDsr.d.cts → markdown-file-DwcMFywu.d.cts} +6 -6
  142. package/dist/markdown-file-DwcMFywu.d.cts.map +1 -0
  143. package/dist/{markdown-table-B2gUvFeN.d.cts → markdown-table-B5WFvkir.d.cts} +5 -5
  144. package/dist/{markdown-table-ChvYobzz.d.mts.map → markdown-table-B5WFvkir.d.cts.map} +1 -1
  145. package/dist/{markdown-table-CFL7L6rA.d.mts → markdown-table-BpB5iT2V.d.mts} +1 -1
  146. package/dist/{markdown-table-CFL7L6rA.d.mts.map → markdown-table-BpB5iT2V.d.mts.map} +1 -1
  147. package/dist/{markdown-table-DhX1XJ8b.d.cts → markdown-table-CkkMpz9R.d.cts} +5 -5
  148. package/dist/{markdown-table-B2gUvFeN.d.cts.map → markdown-table-CkkMpz9R.d.cts.map} +1 -1
  149. package/dist/{markdown-table-D3DonpwR.mjs → markdown-table-D5jCVYaK.mjs} +2 -2
  150. package/dist/{markdown-table-D3DonpwR.mjs.map → markdown-table-D5jCVYaK.mjs.map} +1 -1
  151. package/dist/{markdown-table-eTnxxb46.cjs → markdown-table-DTeEqR3P.cjs} +1 -1
  152. package/dist/{markdown-table-g6DeP10e.mjs → markdown-table-Dsvn4SmP.mjs} +1 -1
  153. package/dist/{markdown-table-g6DeP10e.mjs.map → markdown-table-Dsvn4SmP.mjs.map} +1 -1
  154. package/dist/markdown-table-NktfmVNI.d.mts +28 -0
  155. package/dist/markdown-table-NktfmVNI.d.mts.map +1 -0
  156. package/dist/{markdown-table-ChvYobzz.d.mts → markdown-table-xO7WrAmK.d.mts} +3 -3
  157. package/dist/markdown-table-xO7WrAmK.d.mts.map +1 -0
  158. package/dist/{output-CMC94bm-.d.mts → output-7KuLjL1Z.d.mts} +2 -2
  159. package/dist/{output-CMC94bm-.d.mts.map → output-7KuLjL1Z.d.mts.map} +1 -1
  160. package/dist/{output-CQXrGP3y.cjs → output-C_HbhAbZ.cjs} +15 -9
  161. package/dist/{output-D3UQ5nZo.mjs → output-ChglaMN2.mjs} +17 -11
  162. package/dist/output-ChglaMN2.mjs.map +1 -0
  163. package/dist/{output-BnmXIAFP.d.cts → output-DWAO1J8V.d.cts} +4 -4
  164. package/dist/{output-BnmXIAFP.d.cts.map → output-DWAO1J8V.d.cts.map} +1 -1
  165. package/dist/{output-C0dPFG01.d.cts → output-DnRnJ4ky.d.cts} +4 -4
  166. package/dist/{output-C0dPFG01.d.cts.map → output-DnRnJ4ky.d.cts.map} +1 -1
  167. package/dist/output-cm5u8ERz.d.mts +24 -0
  168. package/dist/output-cm5u8ERz.d.mts.map +1 -0
  169. package/dist/{plugin-bEu9fq1G.d.mts → plugin-BMHB2KnC.d.mts} +1 -1
  170. package/dist/{plugin-bEu9fq1G.d.mts.map → plugin-BMHB2KnC.d.mts.map} +1 -1
  171. package/dist/{record-expression-c9kQA93k.d.mts → record-expression-DGPYqLRm.d.mts} +1 -1
  172. package/dist/{record-expression-c9kQA93k.d.mts.map → record-expression-DGPYqLRm.d.mts.map} +1 -1
  173. package/dist/{record-expression-BjXMzi4r.mjs → record-expression-DnhWJ5_U.mjs} +1 -1
  174. package/dist/{record-expression-BjXMzi4r.mjs.map → record-expression-DnhWJ5_U.mjs.map} +1 -1
  175. package/dist/{refkey-CSZgFc0P.d.mts → refkey-Cebk8ksG.d.mts} +1 -1
  176. package/dist/refkey-Cebk8ksG.d.mts.map +1 -0
  177. package/dist/{refkey-CIFiGvgZ.mjs → refkey-t79_78kW.mjs} +1 -1
  178. package/dist/{refkey-CIFiGvgZ.mjs.map → refkey-t79_78kW.mjs.map} +1 -1
  179. package/dist/{reflection-B-NMNIoB.mjs → reflection-CDRGf-os.mjs} +1 -1
  180. package/dist/{reflection-B-NMNIoB.mjs.map → reflection-CDRGf-os.mjs.map} +1 -1
  181. package/dist/{reflection-CUo0047e.d.mts → reflection-caOQdoZ6.d.mts} +2 -2
  182. package/dist/{reflection-CUo0047e.d.mts.map → reflection-caOQdoZ6.d.mts.map} +1 -1
  183. package/dist/reflection-xU09ifzp.d.cts.map +1 -1
  184. package/dist/single-line-comment-BDm_3s_M.d.mts +23 -0
  185. package/dist/{single-line-comment-PMv_zrfe.d.mts.map → single-line-comment-BDm_3s_M.d.mts.map} +1 -1
  186. package/dist/{single-line-comment-o36zlUze.d.cts → single-line-comment-DZMz1Vam.d.cts} +3 -3
  187. package/dist/single-line-comment-DZMz1Vam.d.cts.map +1 -0
  188. package/dist/{single-line-comment-PMv_zrfe.d.mts → single-line-comment-cunvfPOw.d.mts} +2 -2
  189. package/dist/{single-line-comment-o36zlUze.d.cts.map → single-line-comment-cunvfPOw.d.mts.map} +1 -1
  190. package/dist/{source-file-BTsyACav.d.cts → source-file-BCwSF5Yh.d.mts} +2 -2
  191. package/dist/{source-file-8vpmBt0q.d.cts.map → source-file-BCwSF5Yh.d.mts.map} +1 -1
  192. package/dist/{source-file-8vpmBt0q.d.cts → source-file-BLon-0Ab.d.cts} +3 -3
  193. package/dist/{source-file-BTsyACav.d.cts.map → source-file-BLon-0Ab.d.cts.map} +1 -1
  194. package/dist/{source-file-CQl0UCgf.d.mts → source-file-C8C0iwF_.d.cts} +4 -4
  195. package/dist/{source-file-CQl0UCgf.d.mts.map → source-file-C8C0iwF_.d.cts.map} +1 -1
  196. package/dist/{source-file-BiJK-nH_.mjs → source-file-DwSKCa6M.mjs} +2 -2
  197. package/dist/{source-file-BiJK-nH_.mjs.map → source-file-DwSKCa6M.mjs.map} +1 -1
  198. package/dist/{source-file-BAVTBVJy.cjs → source-file-LHxAz2P7.cjs} +1 -1
  199. package/dist/{tsdoc-OUuKjTbh.d.mts → tsdoc-B2PbOibk.d.mts} +2 -2
  200. package/dist/{tsdoc-OUuKjTbh.d.mts.map → tsdoc-B2PbOibk.d.mts.map} +1 -1
  201. package/dist/{tsdoc-BId4fp5_.cjs → tsdoc-DVOH9B7-.cjs} +1 -1
  202. package/dist/{tsdoc-Crv526i6.mjs → tsdoc-Ios5W2gJ.mjs} +2 -2
  203. package/dist/{tsdoc-Crv526i6.mjs.map → tsdoc-Ios5W2gJ.mjs.map} +1 -1
  204. package/dist/{tsdoc-reflection-ulqYHfKL.d.mts → tsdoc-reflection-ByWPfzv2.d.mts} +2 -2
  205. package/dist/{tsdoc-reflection-ulqYHfKL.d.mts.map → tsdoc-reflection-ByWPfzv2.d.mts.map} +1 -1
  206. package/dist/tsdoc-reflection-C9xz66rR.d.mts +19 -0
  207. package/dist/tsdoc-reflection-C9xz66rR.d.mts.map +1 -0
  208. package/dist/{tsdoc-reflection-IH-Mt2o_.cjs → tsdoc-reflection-CQ4ITnvE.cjs} +2 -2
  209. package/dist/{tsdoc-reflection-C8LiuM5t.d.cts → tsdoc-reflection-E8d0QSjq.d.cts} +5 -5
  210. package/dist/{tsdoc-reflection-BvOqm3Et.d.cts.map → tsdoc-reflection-E8d0QSjq.d.cts.map} +1 -1
  211. package/dist/{tsdoc-reflection-BvOqm3Et.d.cts → tsdoc-reflection-VzARjkhT.d.cts} +5 -5
  212. package/dist/{tsdoc-reflection-C8LiuM5t.d.cts.map → tsdoc-reflection-VzARjkhT.d.cts.map} +1 -1
  213. package/dist/{tsdoc-reflection-D-eKs6S1.mjs → tsdoc-reflection-p4yqKTXi.mjs} +3 -3
  214. package/dist/{tsdoc-reflection-D-eKs6S1.mjs.map → tsdoc-reflection-p4yqKTXi.mjs.map} +1 -1
  215. package/dist/types/components.cjs +1 -1
  216. package/dist/types/components.d.mts +1 -1
  217. package/dist/types/components.mjs +1 -1
  218. package/dist/types/index.cjs +2 -2
  219. package/dist/types/index.d.mts +2 -2
  220. package/dist/types/index.mjs +2 -2
  221. package/dist/types/plugin.cjs +1 -1
  222. package/dist/types/plugin.d.mts +1 -1
  223. package/dist/types/plugin.mjs +1 -1
  224. package/dist/typescript/components/builtin-file.cjs +7 -8
  225. package/dist/typescript/components/builtin-file.d.cts +3 -3
  226. package/dist/typescript/components/builtin-file.d.mts +5 -5
  227. package/dist/typescript/components/builtin-file.mjs +7 -8
  228. package/dist/typescript/components/dynamic-import-statement.cjs +1 -1
  229. package/dist/typescript/components/dynamic-import-statement.d.cts +1 -1
  230. package/dist/typescript/components/dynamic-import-statement.d.mts +1 -1
  231. package/dist/typescript/components/dynamic-import-statement.mjs +1 -1
  232. package/dist/typescript/components/entry-file.cjs +6 -7
  233. package/dist/typescript/components/entry-file.d.cts +3 -3
  234. package/dist/typescript/components/entry-file.d.mts +4 -4
  235. package/dist/typescript/components/entry-file.mjs +6 -7
  236. package/dist/typescript/components/index.cjs +14 -15
  237. package/dist/typescript/components/index.d.cts +8 -8
  238. package/dist/typescript/components/index.d.mts +12 -12
  239. package/dist/typescript/components/index.mjs +14 -15
  240. package/dist/typescript/components/record-expression.cjs +1 -1
  241. package/dist/typescript/components/record-expression.d.mts +1 -1
  242. package/dist/typescript/components/record-expression.mjs +1 -1
  243. package/dist/typescript/components/tsdoc-reflection.cjs +4 -5
  244. package/dist/typescript/components/tsdoc-reflection.d.cts +1 -1
  245. package/dist/typescript/components/tsdoc-reflection.d.mts +3 -3
  246. package/dist/typescript/components/tsdoc-reflection.mjs +4 -5
  247. package/dist/typescript/components/tsdoc.cjs +2 -3
  248. package/dist/typescript/components/tsdoc.d.mts +2 -2
  249. package/dist/typescript/components/tsdoc.mjs +2 -3
  250. package/dist/typescript/components/typescript-file.cjs +5 -6
  251. package/dist/typescript/components/typescript-file.d.cts +2 -2
  252. package/dist/typescript/components/typescript-file.d.mts +3 -3
  253. package/dist/typescript/components/typescript-file.mjs +5 -6
  254. package/dist/typescript/components/typescript-interface.cjs +5 -6
  255. package/dist/typescript/components/typescript-interface.d.cts +1 -1
  256. package/dist/typescript/components/typescript-interface.d.mts +2 -2
  257. package/dist/typescript/components/typescript-interface.mjs +5 -6
  258. package/dist/typescript/components/typescript-object.cjs +5 -6
  259. package/dist/typescript/components/typescript-object.d.cts +1 -1
  260. package/dist/typescript/components/typescript-object.d.mts +2 -2
  261. package/dist/typescript/components/typescript-object.mjs +5 -6
  262. package/dist/typescript/index.cjs +14 -15
  263. package/dist/typescript/index.d.cts +8 -8
  264. package/dist/typescript/index.d.mts +12 -12
  265. package/dist/typescript/index.mjs +14 -15
  266. package/dist/{typescript-DWzPF4n4.d.mts → typescript-B97ccQh-.d.mts} +1 -1
  267. package/dist/{typescript-DWzPF4n4.d.mts.map → typescript-B97ccQh-.d.mts.map} +1 -1
  268. package/dist/{typescript-BCc7kwL_.mjs → typescript-CllZf0xN.mjs} +1 -1
  269. package/dist/{typescript-BCc7kwL_.mjs.map → typescript-CllZf0xN.mjs.map} +1 -1
  270. package/dist/{typescript-file-C5NjN3H2.mjs → typescript-file-Bzq0aO_g.mjs} +3 -3
  271. package/dist/{typescript-file-C5NjN3H2.mjs.map → typescript-file-Bzq0aO_g.mjs.map} +1 -1
  272. package/dist/{typescript-file-BWaBMfMr.d.mts → typescript-file-DiviCaz7.d.mts} +3 -3
  273. package/dist/{typescript-file-BWaBMfMr.d.mts.map → typescript-file-DiviCaz7.d.mts.map} +1 -1
  274. package/dist/{typescript-file-DYtGyXiN.d.cts → typescript-file-DmQI5WH4.d.cts} +2 -2
  275. package/dist/{typescript-file-DYtGyXiN.d.cts.map → typescript-file-DmQI5WH4.d.cts.map} +1 -1
  276. package/dist/{typescript-file-fOVF6YF2.d.cts → typescript-file-QfSrelxz.d.cts} +2 -2
  277. package/dist/{typescript-file-fOVF6YF2.d.cts.map → typescript-file-QfSrelxz.d.cts.map} +1 -1
  278. package/dist/{typescript-file-BmLwVIQP.cjs → typescript-file-odbZ3nmj.cjs} +2 -2
  279. package/dist/{typescript-interface-LN3uCdA6.mjs → typescript-interface-B2rJA0gm.mjs} +3 -3
  280. package/dist/{typescript-interface-LN3uCdA6.mjs.map → typescript-interface-B2rJA0gm.mjs.map} +1 -1
  281. package/dist/{typescript-interface-BNdWrKgb.cjs → typescript-interface-B9-Hgjyf.cjs} +2 -2
  282. package/dist/{typescript-interface-C4ZTK214.d.cts → typescript-interface-Bek_D_h9.d.cts} +4 -4
  283. package/dist/{typescript-interface-C4ZTK214.d.cts.map → typescript-interface-Bek_D_h9.d.cts.map} +1 -1
  284. package/dist/{typescript-interface-Dc7yltcv.d.cts → typescript-interface-CfEv7ztG.d.cts} +4 -4
  285. package/dist/{typescript-interface-Dc7yltcv.d.cts.map → typescript-interface-CfEv7ztG.d.cts.map} +1 -1
  286. package/dist/typescript-interface-Dw6ipytu.d.mts +26 -0
  287. package/dist/typescript-interface-Dw6ipytu.d.mts.map +1 -0
  288. package/dist/{typescript-interface-MV4qwTHs.d.mts → typescript-interface-u4YOLTZc.d.mts} +2 -2
  289. package/dist/{typescript-interface-MV4qwTHs.d.mts.map → typescript-interface-u4YOLTZc.d.mts.map} +1 -1
  290. package/dist/{typescript-object-DRNIvZBa.d.cts → typescript-object-BM6loB13.d.cts} +4 -4
  291. package/dist/{typescript-object-C7p9fJBF.d.mts.map → typescript-object-BM6loB13.d.cts.map} +1 -1
  292. package/dist/{typescript-object-C7p9fJBF.d.mts → typescript-object-BTbZzEqH.d.mts} +2 -2
  293. package/dist/{typescript-object-DRNIvZBa.d.cts.map → typescript-object-BTbZzEqH.d.mts.map} +1 -1
  294. package/dist/{typescript-object-ENaG1YGI.cjs → typescript-object-BVzjq01J.cjs} +2 -2
  295. package/dist/{typescript-object-Cibeo5_F.d.cts → typescript-object-BeOdGrgq.d.cts} +4 -4
  296. package/dist/{typescript-object-Cibeo5_F.d.cts.map → typescript-object-BeOdGrgq.d.cts.map} +1 -1
  297. package/dist/{typescript-object-DIyR8xhW.mjs → typescript-object-CjpLosiL.mjs} +3 -3
  298. package/dist/{typescript-object-DIyR8xhW.mjs.map → typescript-object-CjpLosiL.mjs.map} +1 -1
  299. package/dist/typescript-object-DySVkt22.d.mts +30 -0
  300. package/dist/typescript-object-DySVkt22.d.mts.map +1 -0
  301. package/package.json +6 -6
  302. package/dist/context-Du_bVzRZ.d.mts.map +0 -1
  303. package/dist/context-Gqs3Ru42.d.cts.map +0 -1
  304. package/dist/context-e2kZWEFW.mjs.map +0 -1
  305. package/dist/markdown-table-DhX1XJ8b.d.cts.map +0 -1
  306. package/dist/output-D3UQ5nZo.mjs.map +0 -1
  307. package/dist/refkey-CSZgFc0P.d.mts.map +0 -1
  308. package/dist/unctx-MFxscYXI.mjs +0 -12
  309. package/dist/unctx-MFxscYXI.mjs.map +0 -1
  310. package/dist/unctx-r7Vvh6XR.cjs +0 -17
  311. /package/dist/{capnp-ClfqI-5t.cjs → capnp-DuTkJ3G2.cjs} +0 -0
  312. /package/dist/{components-C_Rnle_h.mjs → components-0Z89eZqr.mjs} +0 -0
  313. /package/dist/{components-CpjG2zC9.mjs → components-5QUrDl5Y.mjs} +0 -0
  314. /package/dist/{components-CrWk5KiP.mjs → components-Ch_xVY03.mjs} +0 -0
  315. /package/dist/{components-B0evB5xd.cjs → components-Cvpo9IEL.cjs} +0 -0
  316. /package/dist/{components-BNK9p5AE.cjs → components-Cx5QvLGH.cjs} +0 -0
  317. /package/dist/{components-DPKSrvP-.cjs → components-DJIkeVYh.cjs} +0 -0
  318. /package/dist/{components-CyQi7RHT.mjs → components-DTKCKgWS.mjs} +0 -0
  319. /package/dist/{components-ISRFDWTF.cjs → components-Gg416Czx.cjs} +0 -0
  320. /package/dist/{contexts-DezKayEz.cjs → contexts-B4a3JUTV.cjs} +0 -0
  321. /package/dist/{contexts-_jq-yJQG.mjs → contexts-CQodwyrp.mjs} +0 -0
  322. /package/dist/{contexts-J643Nrrt.cjs → contexts-DzdhIC7G.cjs} +0 -0
  323. /package/dist/{contexts-juWSyBfb.mjs → contexts-d0vn6-x6.mjs} +0 -0
  324. /package/dist/{create-builtin-BiKyN2s2.cjs → create-builtin-Cod_Sqfx.cjs} +0 -0
  325. /package/dist/{dynamic-import-statement-Dy_MY_Ua.cjs → dynamic-import-statement-BVoYkTzN.cjs} +0 -0
  326. /package/dist/{front-matter-DZ1tB-Uj.cjs → front-matter-BlhvOTm6.cjs} +0 -0
  327. /package/dist/{index-C-lwXyQ6.d.mts → index-0-W_aPej.d.mts} +0 -0
  328. /package/dist/{index-C6HcjJiY.d.mts → index-CTHojwxd.d.mts} +0 -0
  329. /package/dist/{index-CzItj62a.d.mts → index-CjDodOH2.d.mts} +0 -0
  330. /package/dist/{index-hcx6LMSC.d.mts → index-Jh0C5PIG.d.mts} +0 -0
  331. /package/dist/{markdown-table-BWPm6GbJ.cjs → markdown-table-DWfdg1my.cjs} +0 -0
  332. /package/dist/{plugin-B8wUxSXi.cjs → plugin--l4YoZkf.cjs} +0 -0
  333. /package/dist/{plugin-BmQ6pIes.mjs → plugin-BHyL2r7r.mjs} +0 -0
  334. /package/dist/{record-expression-6ElbFyR0.cjs → record-expression-CC24cKiY.cjs} +0 -0
  335. /package/dist/{refkey-C08kDOQ0.cjs → refkey-BLL_fer8.cjs} +0 -0
  336. /package/dist/{reflection-DHpdhvwI.cjs → reflection-DX-QT0Nx.cjs} +0 -0
  337. /package/dist/{typescript-BbjCTT04.cjs → typescript-BzIvz7Cp.cjs} +0 -0
@@ -0,0 +1,28 @@
1
+ import { n as ComponentProps } from "./components-BVhJ5G56.mjs";
2
+ import { n as MarkdownTableColumnContextInterface } from "./markdown-table-BpB5iT2V.mjs";
3
+ import * as _alloy_js_core7 from "@alloy-js/core";
4
+
5
+ //#region src/markdown/components/markdown-table.d.ts
6
+ interface MarkdownTableProps<T extends Record<string, any> = Record<string, any>> extends ComponentProps {
7
+ data: T[];
8
+ }
9
+ /**
10
+ * Component that provides a context for rendering markdown tables.
11
+ */
12
+ declare function MarkdownTable<T extends Record<string, any> = Record<string, any>>(props: MarkdownTableProps<T>): _alloy_js_core7.Children;
13
+ type MarkdownTableColumnProps = ComponentProps & Partial<Pick<MarkdownTableColumnContextInterface, "align">> & Required<Pick<MarkdownTableColumnContextInterface, "name">> & {
14
+ width?: number;
15
+ };
16
+ /**
17
+ * Component that provides a context for rendering markdown tables.
18
+ */
19
+ declare function MarkdownTableColumn(props: MarkdownTableColumnProps): _alloy_js_core7.Children;
20
+ /**
21
+ * Component that provides a context for rendering markdown tables.
22
+ */
23
+ declare function MarkdownTableColumnHeader(props: MarkdownTableColumnProps): _alloy_js_core7.Children;
24
+ declare type __ΩMarkdownTableProps = any[];
25
+ declare type __ΩMarkdownTableColumnProps = any[];
26
+ //#endregion
27
+ export { MarkdownTableProps as a, MarkdownTableColumnProps as i, MarkdownTableColumn as n, __ΩMarkdownTableColumnProps as o, MarkdownTableColumnHeader as r, __ΩMarkdownTableProps as s, MarkdownTable as t };
28
+ //# sourceMappingURL=markdown-table-NktfmVNI.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"markdown-table-NktfmVNI.d.mts","names":[],"sources":["../src/markdown/components/markdown-table.tsx"],"sourcesContent":[],"mappings":";;;;;UA4BiB,6BACL,sBAAsB,6BACxB;QACF;;AAHR;;;AAGQ,iBAMQ,aANR,CAAA,UAOI,MAPJ,CAAA,MAAA,EAAA,GAAA,CAAA,GAO0B,MAP1B,CAAA,MAAA,EAAA,GAAA,CAAA,CAAA,CAAA,KAAA,EAQC,kBARD,CAQoB,CARpB,CAAA,CAAA,EAQmB,eAAA,CAAG,QARtB;AADE,KA4BE,wBAAA,GAA2B,cA5B7B,GA6BR,OA7BQ,CA6BA,IA7BA,CA6BK,mCA7BL,EAAA,OAAA,CAAA,CAAA,GA8BR,QA9BQ,CA8BC,IA9BD,CA8BM,mCA9BN,EAAA,MAAA,CAAA,CAAA,GAAA;EAAc,KAAA,CAAA,EAAA,MAAA;AAOxB,CAAA;;;;AAES,iBA4BO,mBAAA,CA5BP,KAAA,EA4BkC,wBA5BlC,CAAA,EA4B0D,eAAA,CAAA,QA5B1D;;;AAmBT;AAAuC,iBAsDvB,yBAAA,CAtDuB,KAAA,EAsDU,wBAtDV,CAAA,EAsDkC,eAAA,CAAA,QAtDlC;AACxB,qCAAA,GAAA,EAAA;AAAL,2CAAA,GAAA,EAAA"}
@@ -1,5 +1,5 @@
1
- import { n as ComponentProps } from "./components-oHSM7vmp.mjs";
2
- import { n as MarkdownTableColumnContextInterface } from "./markdown-table-CFL7L6rA.mjs";
1
+ import { n as ComponentProps } from "./components-BVhJ5G56.mjs";
2
+ import { n as MarkdownTableColumnContextInterface } from "./markdown-table-BpB5iT2V.mjs";
3
3
  import * as _alloy_js_core2 from "@alloy-js/core";
4
4
 
5
5
  //#region src/markdown/components/markdown-table.d.ts
@@ -25,4 +25,4 @@ declare type __ΩMarkdownTableProps = any[];
25
25
  declare type __ΩMarkdownTableColumnProps = any[];
26
26
  //#endregion
27
27
  export { MarkdownTableProps as a, MarkdownTableColumnProps as i, MarkdownTableColumn as n, __ΩMarkdownTableColumnProps as o, MarkdownTableColumnHeader as r, __ΩMarkdownTableProps as s, MarkdownTable as t };
28
- //# sourceMappingURL=markdown-table-ChvYobzz.d.mts.map
28
+ //# sourceMappingURL=markdown-table-xO7WrAmK.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"markdown-table-xO7WrAmK.d.mts","names":[],"sources":["../src/markdown/components/markdown-table.tsx"],"sourcesContent":[],"mappings":";;;;;UA4BiB,6BACL,sBAAsB,6BACxB;QACF;;AAHR;;;AAGQ,iBAMQ,aANR,CAAA,UAOI,MAPJ,CAAA,MAAA,EAAA,GAAA,CAAA,GAO0B,MAP1B,CAAA,MAAA,EAAA,GAAA,CAAA,CAAA,CAAA,KAAA,EAQC,kBARD,CAQoB,CARpB,CAAA,CAAA,EAQmB,eAAA,CAAG,QARtB;AADE,KA4BE,wBAAA,GAA2B,cA5B7B,GA6BR,OA7BQ,CA6BA,IA7BA,CA6BK,mCA7BL,EAAA,OAAA,CAAA,CAAA,GA8BR,QA9BQ,CA8BC,IA9BD,CA8BM,mCA9BN,EAAA,MAAA,CAAA,CAAA,GAAA;EAAc,KAAA,CAAA,EAAA,MAAA;AAOxB,CAAA;;;;AAES,iBA4BO,mBAAA,CA5BP,KAAA,EA4BkC,wBA5BlC,CAAA,EA4B0D,eAAA,CAAA,QA5B1D;;;AAmBT;AAAuC,iBAsDvB,yBAAA,CAtDuB,KAAA,EAsDU,wBAtDV,CAAA,EAsDkC,eAAA,CAAA,QAtDlC;AACxB,qCAAA,GAAA,EAAA;AAAL,2CAAA,GAAA,EAAA"}
@@ -1,4 +1,4 @@
1
- import { t as MetaItem } from "./context-Du_bVzRZ.mjs";
1
+ import { t as MetaItem } from "./context-uUfYcg-_.mjs";
2
2
  import * as _alloy_js_core1 from "@alloy-js/core";
3
3
  import { OutputProps } from "@alloy-js/core";
4
4
  import { PluginContext } from "powerlines/types/context";
@@ -21,4 +21,4 @@ declare function Output$1<TContext extends PluginContext = PluginContext, TMeta
21
21
  declare type __ΩOutputProps = any[];
22
22
  //#endregion
23
23
  export { OutputProps$1 as n, __ΩOutputProps as r, Output$1 as t };
24
- //# sourceMappingURL=output-CMC94bm-.d.mts.map
24
+ //# sourceMappingURL=output-7KuLjL1Z.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"output-CMC94bm-.d.mts","names":[],"sources":["../src/core/components/output.tsx"],"sourcesContent":[],"mappings":";;;;;;UA6BiB,+BACE,gBAAgB,6BACnB,eAAe,YAAY,eAAe,mBAChD;;;AAHV;EACmB,OAAA,EAMR,QANQ;EAAgB;;;EACuB,IAAA,CAAA,EAUjD,KAViD;;;;;AAC7B,iBAeb,QAfa,CAAA,iBAgBV,aAhBU,GAgBM,aAhBN,EAAA,cAiBb,MAjBa,CAAA,MAAA,EAiBE,QAjBF,CAAA,GAiBc,MAjBd,CAAA,MAAA,EAiB6B,QAjB7B,CAAA,CAAA,CAAA,KAAA,EAkBpB,aAlBoB,CAkBR,QAlBQ,EAkBE,KAlBF,CAAA,CAAA,EAkBT,eAAA,CAAiB,QAlBR;AAeb,8BAAM,GAAA,EAAA"}
1
+ {"version":3,"file":"output-7KuLjL1Z.d.mts","names":[],"sources":["../src/core/components/output.tsx"],"sourcesContent":[],"mappings":";;;;;;UAwBiB,+BACE,gBAAgB,6BACnB,eAAe,YAAY,eAAe,mBAChD;;;AAHV;EACmB,OAAA,EAMR,QANQ;EAAgB;;;EACuB,IAAA,CAAA,EAUjD,KAViD;;;;;AAC7B,iBAeb,QAfa,CAAA,iBAgBV,aAhBU,GAgBM,aAhBN,EAAA,cAiBb,MAjBa,CAAA,MAAA,EAiBE,QAjBF,CAAA,GAiBc,MAjBd,CAAA,MAAA,EAiB6B,QAjB7B,CAAA,CAAA,CAAA,KAAA,EAkBpB,aAlBoB,CAkBR,QAlBQ,EAkBE,KAlBF,CAAA,CAAA,EAkBT,eAAA,CAAiB,QAlBR;AAeb,8BAAM,GAAA,EAAA"}
@@ -1,4 +1,5 @@
1
1
  const require_chunk = require('./chunk-CbDLau6x.cjs');
2
+ const require_context = require('./context-CowAmU8m.cjs');
2
3
  let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
3
4
  let __alloy_js_core = require("@alloy-js/core");
4
5
  let __stryke_path_replace = require("@stryke/path/replace");
@@ -8,25 +9,30 @@ let __stryke_path_replace = require("@stryke/path/replace");
8
9
  * Output component for rendering the Powerlines plugin's output files via templates.
9
10
  */
10
11
  function Output(props) {
11
- const [{ children, context, basePath }, rest] = (0, __alloy_js_core.splitProps)(props, [
12
+ const [{ children, context, meta, basePath }, rest] = (0, __alloy_js_core.splitProps)(props, [
12
13
  "children",
13
14
  "context",
15
+ "meta",
14
16
  "basePath"
15
17
  ]);
16
18
  const basePathRef = (0, __alloy_js_core.computed)(() => basePath ? (0, __stryke_path_replace.replacePath)(basePath, context.workspaceConfig.workspaceRoot) : context.workspaceConfig.workspaceRoot);
17
- return (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Output, (0, __alloy_js_core_jsx_runtime.mergeProps)(rest, {
18
- get basePath() {
19
- return basePathRef.value;
19
+ const contextRef = (0, __alloy_js_core.computed)(() => context);
20
+ return (0, __alloy_js_core_jsx_runtime.createComponent)(require_context.PowerlinesContext.Provider, {
21
+ get value() {
22
+ return {
23
+ value: contextRef.value,
24
+ meta
25
+ };
20
26
  },
21
27
  get children() {
22
- return (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
23
- get when() {
24
- return Boolean(context);
28
+ return (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Output, (0, __alloy_js_core_jsx_runtime.mergeProps)(rest, {
29
+ get basePath() {
30
+ return basePathRef.value;
25
31
  },
26
32
  children
27
- });
33
+ }));
28
34
  }
29
- }));
35
+ });
30
36
  }
31
37
 
32
38
  //#endregion
@@ -1,5 +1,6 @@
1
+ import { t as PowerlinesContext } from "./context-DAfWJCa9.mjs";
1
2
  import { createComponent, mergeProps } from "@alloy-js/core/jsx-runtime";
2
- import { Output, Show, computed, splitProps } from "@alloy-js/core";
3
+ import { Output, computed, splitProps } from "@alloy-js/core";
3
4
  import { replacePath } from "@stryke/path/replace";
4
5
 
5
6
  //#region src/core/components/output.tsx
@@ -7,27 +8,32 @@ import { replacePath } from "@stryke/path/replace";
7
8
  * Output component for rendering the Powerlines plugin's output files via templates.
8
9
  */
9
10
  function Output$1(props) {
10
- const [{ children, context, basePath }, rest] = splitProps(props, [
11
+ const [{ children, context, meta, basePath }, rest] = splitProps(props, [
11
12
  "children",
12
13
  "context",
14
+ "meta",
13
15
  "basePath"
14
16
  ]);
15
17
  const basePathRef = computed(() => basePath ? replacePath(basePath, context.workspaceConfig.workspaceRoot) : context.workspaceConfig.workspaceRoot);
16
- return createComponent(Output, mergeProps(rest, {
17
- get basePath() {
18
- return basePathRef.value;
18
+ const contextRef = computed(() => context);
19
+ return createComponent(PowerlinesContext.Provider, {
20
+ get value() {
21
+ return {
22
+ value: contextRef.value,
23
+ meta
24
+ };
19
25
  },
20
26
  get children() {
21
- return createComponent(Show, {
22
- get when() {
23
- return Boolean(context);
27
+ return createComponent(Output, mergeProps(rest, {
28
+ get basePath() {
29
+ return basePathRef.value;
24
30
  },
25
31
  children
26
- });
32
+ }));
27
33
  }
28
- }));
34
+ });
29
35
  }
30
36
 
31
37
  //#endregion
32
38
  export { Output$1 as t };
33
- //# sourceMappingURL=output-D3UQ5nZo.mjs.map
39
+ //# sourceMappingURL=output-ChglaMN2.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"output-ChglaMN2.mjs","names":["computed","Output","OutputExternal","splitProps","replacePath","PowerlinesContext","props","children","context","meta","basePath","rest","basePathRef","workspaceConfig","workspaceRoot","contextRef","_$createComponent","Provider","value","_$mergeProps"],"sources":["../src/core/components/output.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 type { OutputProps as OutputPropsExternal } from \"@alloy-js/core\";\nimport { computed, Output as OutputExternal, splitProps } from \"@alloy-js/core\";\nimport { replacePath } from \"@stryke/path/replace\";\nimport type { PluginContext } from \"powerlines/types/context\";\nimport { MetaItem, PowerlinesContext } from \"../contexts/context\";\n\nexport interface OutputProps<\n TContext extends PluginContext = PluginContext,\n TMeta extends Record<string, MetaItem> = Record<string, MetaItem>\n> extends OutputPropsExternal {\n /**\n * The current Powerlines process context.\n */\n context: TContext;\n\n /**\n * Metadata for the current render.\n */\n meta?: TMeta;\n}\n\n/**\n * Output component for rendering the Powerlines plugin's output files via templates.\n */\nexport function Output<\n TContext extends PluginContext = PluginContext,\n TMeta extends Record<string, MetaItem> = Record<string, MetaItem>\n>(props: OutputProps<TContext, TMeta>) {\n const [{ children, context, meta, basePath }, rest] = splitProps(props, [\n \"children\",\n \"context\",\n \"meta\",\n \"basePath\"\n ]);\n\n const basePathRef = computed(() =>\n basePath\n ? replacePath(basePath, context.workspaceConfig.workspaceRoot)\n : context.workspaceConfig.workspaceRoot\n );\n const contextRef = computed(() => context);\n\n return (\n <PowerlinesContext.Provider value={{ value: contextRef.value, meta }}>\n <OutputExternal {...rest} basePath={basePathRef.value}>\n {children}\n </OutputExternal>\n </PowerlinesContext.Provider>\n );\n}\n"],"mappings":""}
@@ -1,5 +1,5 @@
1
- import { t as MetaItem } from "./context-Gqs3Ru42.cjs";
2
- import * as _alloy_js_core1 from "@alloy-js/core";
1
+ import { t as MetaItem } from "./context-CdtkDo_j.cjs";
2
+ import * as _alloy_js_core0 from "@alloy-js/core";
3
3
  import { OutputProps } from "@alloy-js/core";
4
4
  import { PluginContext } from "powerlines/types/context";
5
5
 
@@ -17,8 +17,8 @@ interface OutputProps$1<TContext extends PluginContext = PluginContext, TMeta ex
17
17
  /**
18
18
  * Output component for rendering the Powerlines plugin's output files via templates.
19
19
  */
20
- declare function Output<TContext extends PluginContext = PluginContext, TMeta extends Record<string, MetaItem> = Record<string, MetaItem>>(props: OutputProps$1<TContext, TMeta>): _alloy_js_core1.Children;
20
+ declare function Output<TContext extends PluginContext = PluginContext, TMeta extends Record<string, MetaItem> = Record<string, MetaItem>>(props: OutputProps$1<TContext, TMeta>): _alloy_js_core0.Children;
21
21
  declare type __ΩOutputProps = any[];
22
22
  //#endregion
23
23
  export { OutputProps$1 as n, __ΩOutputProps as r, Output as t };
24
- //# sourceMappingURL=output-BnmXIAFP.d.cts.map
24
+ //# sourceMappingURL=output-DWAO1J8V.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"output-BnmXIAFP.d.cts","names":[],"sources":["../src/core/components/output.tsx"],"sourcesContent":[],"mappings":";;;;;;UA6BiB,+BACE,gBAAgB,6BACnB,eAAe,YAAY,eAAe,mBAChD;;;AAHV;EACmB,OAAA,EAMR,QANQ;EAAgB;;;EACuB,IAAA,CAAA,EAUjD,KAViD;;;;;AAC7B,iBAeb,MAfa,CAAA,iBAgBV,aAhBU,GAgBM,aAhBN,EAAA,cAiBb,MAjBa,CAAA,MAAA,EAiBE,QAjBF,CAAA,GAiBc,MAjBd,CAAA,MAAA,EAiB6B,QAjB7B,CAAA,CAAA,CAAA,KAAA,EAkBpB,aAlBoB,CAkBR,QAlBQ,EAkBE,KAlBF,CAAA,CAAA,EAkBT,eAAA,CAAiB,QAlBR;AAeb,8BAAM,GAAA,EAAA"}
1
+ {"version":3,"file":"output-DWAO1J8V.d.cts","names":[],"sources":["../src/core/components/output.tsx"],"sourcesContent":[],"mappings":";;;;;;UAwBiB,+BACE,gBAAgB,6BACnB,eAAe,YAAY,eAAe,mBAChD;;;AAHV;EACmB,OAAA,EAMR,QANQ;EAAgB;;;EACuB,IAAA,CAAA,EAUjD,KAViD;;;;;AAC7B,iBAeb,MAfa,CAAA,iBAgBV,aAhBU,GAgBM,aAhBN,EAAA,cAiBb,MAjBa,CAAA,MAAA,EAiBE,QAjBF,CAAA,GAiBc,MAjBd,CAAA,MAAA,EAiB6B,QAjB7B,CAAA,CAAA,CAAA,KAAA,EAkBpB,aAlBoB,CAkBR,QAlBQ,EAkBE,KAlBF,CAAA,CAAA,EAkBT,eAAA,CAAiB,QAlBR;AAeb,8BAAM,GAAA,EAAA"}
@@ -1,5 +1,5 @@
1
- import { t as MetaItem } from "./context-Gqs3Ru42.cjs";
2
- import * as _alloy_js_core10 from "@alloy-js/core";
1
+ import { t as MetaItem } from "./context-CdtkDo_j.cjs";
2
+ import * as _alloy_js_core12 from "@alloy-js/core";
3
3
  import { OutputProps } from "@alloy-js/core";
4
4
  import { PluginContext } from "powerlines/types/context";
5
5
 
@@ -17,8 +17,8 @@ interface OutputProps$1<TContext extends PluginContext = PluginContext, TMeta ex
17
17
  /**
18
18
  * Output component for rendering the Powerlines plugin's output files via templates.
19
19
  */
20
- declare function Output<TContext extends PluginContext = PluginContext, TMeta extends Record<string, MetaItem> = Record<string, MetaItem>>(props: OutputProps$1<TContext, TMeta>): _alloy_js_core10.Children;
20
+ declare function Output<TContext extends PluginContext = PluginContext, TMeta extends Record<string, MetaItem> = Record<string, MetaItem>>(props: OutputProps$1<TContext, TMeta>): _alloy_js_core12.Children;
21
21
  declare type __ΩOutputProps = any[];
22
22
  //#endregion
23
23
  export { OutputProps$1 as n, __ΩOutputProps as r, Output as t };
24
- //# sourceMappingURL=output-C0dPFG01.d.cts.map
24
+ //# sourceMappingURL=output-DnRnJ4ky.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"output-C0dPFG01.d.cts","names":[],"sources":["../src/core/components/output.tsx"],"sourcesContent":[],"mappings":";;;;;;UA6BiB,+BACE,gBAAgB,6BACnB,eAAe,YAAY,eAAe,mBAChD;;;AAHV;EACmB,OAAA,EAMR,QANQ;EAAgB;;;EACuB,IAAA,CAAA,EAUjD,KAViD;;;;;AAC7B,iBAeb,MAfa,CAAA,iBAgBV,aAhBU,GAgBM,aAhBN,EAAA,cAiBb,MAjBa,CAAA,MAAA,EAiBE,QAjBF,CAAA,GAiBc,MAjBd,CAAA,MAAA,EAiB6B,QAjB7B,CAAA,CAAA,CAAA,KAAA,EAkBpB,aAlBoB,CAkBR,QAlBQ,EAkBE,KAlBF,CAAA,CAAA,EAkBT,gBAAA,CAAiB,QAlBR;AAeb,8BAAM,GAAA,EAAA"}
1
+ {"version":3,"file":"output-DnRnJ4ky.d.cts","names":[],"sources":["../src/core/components/output.tsx"],"sourcesContent":[],"mappings":";;;;;;UAwBiB,+BACE,gBAAgB,6BACnB,eAAe,YAAY,eAAe,mBAChD;;;AAHV;EACmB,OAAA,EAMR,QANQ;EAAgB;;;EACuB,IAAA,CAAA,EAUjD,KAViD;;;;;AAC7B,iBAeb,MAfa,CAAA,iBAgBV,aAhBU,GAgBM,aAhBN,EAAA,cAiBb,MAjBa,CAAA,MAAA,EAiBE,QAjBF,CAAA,GAiBc,MAjBd,CAAA,MAAA,EAiB6B,QAjB7B,CAAA,CAAA,CAAA,KAAA,EAkBpB,aAlBoB,CAkBR,QAlBQ,EAkBE,KAlBF,CAAA,CAAA,EAkBT,gBAAA,CAAiB,QAlBR;AAeb,8BAAM,GAAA,EAAA"}
@@ -0,0 +1,24 @@
1
+ import { t as MetaItem } from "./context-uUfYcg-_.mjs";
2
+ import * as _alloy_js_core0 from "@alloy-js/core";
3
+ import { OutputProps } from "@alloy-js/core";
4
+ import { PluginContext } from "powerlines/types/context";
5
+
6
+ //#region src/core/components/output.d.ts
7
+ interface OutputProps$1<TContext extends PluginContext = PluginContext, TMeta extends Record<string, MetaItem> = Record<string, MetaItem>> extends OutputProps {
8
+ /**
9
+ * The current Powerlines process context.
10
+ */
11
+ context: TContext;
12
+ /**
13
+ * Metadata for the current render.
14
+ */
15
+ meta?: TMeta;
16
+ }
17
+ /**
18
+ * Output component for rendering the Powerlines plugin's output files via templates.
19
+ */
20
+ declare function Output$1<TContext extends PluginContext = PluginContext, TMeta extends Record<string, MetaItem> = Record<string, MetaItem>>(props: OutputProps$1<TContext, TMeta>): _alloy_js_core0.Children;
21
+ declare type __ΩOutputProps = any[];
22
+ //#endregion
23
+ export { OutputProps$1 as n, __ΩOutputProps as r, Output$1 as t };
24
+ //# sourceMappingURL=output-cm5u8ERz.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"output-cm5u8ERz.d.mts","names":[],"sources":["../src/core/components/output.tsx"],"sourcesContent":[],"mappings":";;;;;;UAwBiB,+BACE,gBAAgB,6BACnB,eAAe,YAAY,eAAe,mBAChD;;;AAHV;EACmB,OAAA,EAMR,QANQ;EAAgB;;;EACuB,IAAA,CAAA,EAUjD,KAViD;;;;;AAC7B,iBAeb,QAfa,CAAA,iBAgBV,aAhBU,GAgBM,aAhBN,EAAA,cAiBb,MAjBa,CAAA,MAAA,EAiBE,QAjBF,CAAA,GAiBc,MAjBd,CAAA,MAAA,EAiB6B,QAjB7B,CAAA,CAAA,CAAA,KAAA,EAkBpB,aAlBoB,CAkBR,QAlBQ,EAkBE,KAlBF,CAAA,CAAA,EAkBT,eAAA,CAAiB,QAlBR;AAeb,8BAAM,GAAA,EAAA"}
@@ -38,4 +38,4 @@ declare type __ΩAlloyPluginResolvedConfig = any[];
38
38
  declare type __ΩAlloyPluginContext = any[];
39
39
  //#endregion
40
40
  export { __ΩAlloyPluginContext as a, __ΩAlloyPluginUserConfig as c, AlloyPluginUserConfig as i, AlloyPluginOptions as n, __ΩAlloyPluginOptions as o, AlloyPluginResolvedConfig as r, __ΩAlloyPluginResolvedConfig as s, AlloyPluginContext as t };
41
- //# sourceMappingURL=plugin-bEu9fq1G.d.mts.map
41
+ //# sourceMappingURL=plugin-BMHB2KnC.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"plugin-bEu9fq1G.d.mts","names":[],"sources":["../src/types/plugin.ts"],"sourcesContent":[],"mappings":";;;;;KAyBY,kBAAA,GAAqB,QAAQ;;AAAzC;AAuBA;AAIA;AAIA;EAC0B,UAAA,CAAA,EAAA,OAAA;EAA4B;;;;;EAEb,IAAA,CAAA,EAAA,OAAA;;;;;;;;KAX7B,qBAAA,GAAwB;UAC1B;;KAGE,yBAAA,GAA4B;SAC/B;;KAGG,2CACc,4BAA4B,6BAClD,cAAc;qBACG,aAAa"}
1
+ {"version":3,"file":"plugin-BMHB2KnC.d.mts","names":[],"sources":["../src/types/plugin.ts"],"sourcesContent":[],"mappings":";;;;;KAyBY,kBAAA,GAAqB,QAAQ;;AAAzC;AAuBA;AAIA;AAIA;EAC0B,UAAA,CAAA,EAAA,OAAA;EAA4B;;;;;EAEb,IAAA,CAAA,EAAA,OAAA;;;;;;;;KAX7B,qBAAA,GAAwB;UAC1B;;KAGE,yBAAA,GAA4B;SAC/B;;KAGG,2CACc,4BAA4B,6BAClD,cAAc;qBACG,aAAa"}
@@ -10,4 +10,4 @@ declare function RecordExpression({
10
10
  declare type __ΩRecordExpressionProps = any[];
11
11
  //#endregion
12
12
  export { RecordExpressionProps as n, __ΩRecordExpressionProps as r, RecordExpression as t };
13
- //# sourceMappingURL=record-expression-c9kQA93k.d.mts.map
13
+ //# sourceMappingURL=record-expression-DGPYqLRm.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"record-expression-c9kQA93k.d.mts","names":[],"sources":["../src/typescript/components/record-expression.tsx"],"sourcesContent":[],"mappings":";;;UAoBiB,qBAAA;eACF;AADf;AAIgB,iBAAA,gBAAA,CAAgB;EAAA;AAAA,CAAA,EAAkB,qBAAlB,CAAA,EAAuC,QAAvC;AAAG,wCAAA,GAAA,EAAA"}
1
+ {"version":3,"file":"record-expression-DGPYqLRm.d.mts","names":[],"sources":["../src/typescript/components/record-expression.tsx"],"sourcesContent":[],"mappings":";;;UAoBiB,qBAAA;eACF;AADf;AAIgB,iBAAA,gBAAA,CAAgB;EAAA;AAAA,CAAA,EAAkB,qBAAlB,CAAA,EAAuC,QAAvC;AAAG,wCAAA,GAAA,EAAA"}
@@ -9,4 +9,4 @@ function RecordExpression({ elementType }) {
9
9
 
10
10
  //#endregion
11
11
  export { RecordExpression as t };
12
- //# sourceMappingURL=record-expression-BjXMzi4r.mjs.map
12
+ //# sourceMappingURL=record-expression-DnhWJ5_U.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"record-expression-BjXMzi4r.mjs","names":["code","RecordExpression","elementType"],"sources":["../src/typescript/components/record-expression.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 { Children, code } from \"@alloy-js/core\";\n\nexport interface RecordExpressionProps {\n elementType: Children;\n}\n\nexport function RecordExpression({ elementType }: RecordExpressionProps) {\n return code`\n Record<string, ${elementType}>\n `;\n}\n"],"mappings":""}
1
+ {"version":3,"file":"record-expression-DnhWJ5_U.mjs","names":["code","RecordExpression","elementType"],"sources":["../src/typescript/components/record-expression.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 { Children, code } from \"@alloy-js/core\";\n\nexport interface RecordExpressionProps {\n elementType: Children;\n}\n\nexport function RecordExpression({ elementType }: RecordExpressionProps) {\n return code`\n Record<string, ${elementType}>\n `;\n}\n"],"mappings":""}
@@ -11,4 +11,4 @@ import { Refkey } from "@alloy-js/core";
11
11
  declare function refkey$1(...args: unknown[]): Refkey;
12
12
  //#endregion
13
13
  export { refkey$1 as t };
14
- //# sourceMappingURL=refkey-CSZgFc0P.d.mts.map
14
+ //# sourceMappingURL=refkey-Cebk8ksG.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"refkey-Cebk8ksG.d.mts","names":[],"sources":["../src/helpers/refkey.ts"],"sourcesContent":[],"mappings":";;;;;;AA0BA;;;;iBAAgB,QAAA,sBAA4B"}
@@ -13,4 +13,4 @@ function refkey$1(...args) {
13
13
 
14
14
  //#endregion
15
15
  export { refkey$1 as t };
16
- //# sourceMappingURL=refkey-CIFiGvgZ.mjs.map
16
+ //# sourceMappingURL=refkey-t79_78kW.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"refkey-CIFiGvgZ.mjs","names":["refkey","refkeyExternal","args"],"sources":["../src/helpers/refkey.ts"],"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 { Refkey, refkey as refkeyExternal } from \"@alloy-js/core\";\n\n/**\n * Create a refkey for the provided arguments. Passing no arguments returns a fresh refkey that is guaranteed to be unique. Otherwise, the arguments passed will be used to create a refkey for those values. Providing the same arguments will always return the same refkey.\n *\n * @remarks\n * Values are compared using the SameValueZero algorithm, which considers objects the same if they are reference identical, and primitives the same if they are the same value, with the exception of `NaN`, which is always considered equal to other `NaN` values, and `-0`, which is considered identical to `+0`\n */\nexport function refkey(...args: unknown[]): Refkey {\n return refkeyExternal(\"powerlines\", ...args);\n}\n"],"mappings":";;;;;;;;;AA0BA,SAAgBA,SAAO,GAAGE,MAAyB;AACjD,QAAOD,OAAe,cAAc,GAAGC,KAAK"}
1
+ {"version":3,"file":"refkey-t79_78kW.mjs","names":["refkey","refkeyExternal","args"],"sources":["../src/helpers/refkey.ts"],"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 { Refkey, refkey as refkeyExternal } from \"@alloy-js/core\";\n\n/**\n * Create a refkey for the provided arguments. Passing no arguments returns a fresh refkey that is guaranteed to be unique. Otherwise, the arguments passed will be used to create a refkey for those values. Providing the same arguments will always return the same refkey.\n *\n * @remarks\n * Values are compared using the SameValueZero algorithm, which considers objects the same if they are reference identical, and primitives the same if they are the same value, with the exception of `NaN`, which is always considered equal to other `NaN` values, and `-0`, which is considered identical to `+0`\n */\nexport function refkey(...args: unknown[]): Refkey {\n return refkeyExternal(\"powerlines\", ...args);\n}\n"],"mappings":";;;;;;;;;AA0BA,SAAgBA,SAAO,GAAGE,MAAyB;AACjD,QAAOD,OAAe,cAAc,GAAGC,KAAK"}
@@ -58,4 +58,4 @@ function useReflectionParameter() {
58
58
 
59
59
  //#endregion
60
60
  export { useReflectionClass as a, useReflectionProperty as c, ReflectionPropertyContext as i, ReflectionMethodContext as n, useReflectionMethod as o, ReflectionParameterContext as r, useReflectionParameter as s, ReflectionClassContext as t };
61
- //# sourceMappingURL=reflection-B-NMNIoB.mjs.map
61
+ //# sourceMappingURL=reflection-CDRGf-os.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"reflection-B-NMNIoB.mjs","names":["createContext","createNamedContext","useContext","ReflectionClassContext","useReflectionClass","context","Error","ReflectionPropertyContext","useReflectionProperty","ReflectionMethodContext","useReflectionMethod","ReflectionParameterContext","useReflectionParameter"],"sources":["../src/core/contexts/reflection.ts"],"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 type { ComponentContext } from \"@alloy-js/core\";\nimport { createContext, createNamedContext, useContext } from \"@alloy-js/core\";\nimport type {\n ReflectionClass,\n ReflectionMethod,\n ReflectionParameter,\n ReflectionProperty\n} from \"@powerlines/deepkit/vendor/type\";\nimport { ReflectionOverrideInterface } from \"../../types/components\";\n\nexport interface ReflectionClassContextInterface<\n T extends Record<string, any> = Record<string, any>\n> {\n reflection: ReflectionClass<T>;\n override?: ReflectionOverrideInterface<T>;\n}\n\n/**\n * The reflection class context used in template rendering.\n */\nexport const ReflectionClassContext: ComponentContext<\n ReflectionClassContextInterface<any>\n> = createContext<ReflectionClassContextInterface<any>>();\n\n/**\n * Hook to access the Reflection context.\n *\n * @returns A reactive version of the current reflection.\n */\nexport function useReflectionClass<\n T extends Record<string, any> = Record<string, any>\n>() {\n const context = useContext<ReflectionClassContextInterface<T>>(\n ReflectionClassContext\n )!;\n\n if (!context) {\n throw new Error(\n \"Powerlines - ReflectionClass Context is not set. Please make sure the Alloy components are being provided to an invocation of the `render` function added to plugins by `@powerlines/plugin-alloy`.\"\n );\n }\n\n return context;\n}\n\n/**\n * The reflection property context used in template rendering.\n */\nexport const ReflectionPropertyContext: ComponentContext<ReflectionProperty> =\n createNamedContext<ReflectionProperty>(\"ReflectionProperty\");\n\n/**\n * Hook to access the Reflection Property context.\n *\n * @returns A reactive version of the current reflection.\n */\nexport function useReflectionProperty() {\n const context = useContext<ReflectionProperty>(ReflectionPropertyContext)!;\n\n if (!context) {\n throw new Error(\n \"Powerlines - Reflection Property Context is not set. Please make sure the Alloy components are being provided to an invocation of the `render` function added to plugins by `@powerlines/plugin-alloy`.\"\n );\n }\n\n return context;\n}\n\n/**\n * The reflection method context used in template rendering.\n */\nexport const ReflectionMethodContext: ComponentContext<ReflectionMethod> =\n createNamedContext<ReflectionMethod>(\"ReflectionMethod\");\n\n/**\n * Hook to access the Reflection Method context.\n *\n * @returns A reactive version of the current reflection.\n */\nexport function useReflectionMethod() {\n const context = useContext<ReflectionMethod>(ReflectionMethodContext)!;\n\n if (!context) {\n throw new Error(\n \"Powerlines - Reflection Method Context is not set. Please make sure the Alloy components are being provided to an invocation of the `render` function added to plugins by `@powerlines/plugin-alloy`.\"\n );\n }\n\n return context;\n}\n\n/**\n * The reflection parameter context used in template rendering.\n */\nexport const ReflectionParameterContext: ComponentContext<ReflectionParameter> =\n createNamedContext<ReflectionParameter>(\"ReflectionParameter\");\n\n/**\n * Hook to access the Reflection Parameter context.\n *\n * @returns A reactive version of the current reflection.\n */\nexport function useReflectionParameter() {\n return useContext<ReflectionParameter>(ReflectionParameterContext)!;\n}\n"],"mappings":""}
1
+ {"version":3,"file":"reflection-CDRGf-os.mjs","names":["createContext","createNamedContext","useContext","ReflectionClassContext","useReflectionClass","context","Error","ReflectionPropertyContext","useReflectionProperty","ReflectionMethodContext","useReflectionMethod","ReflectionParameterContext","useReflectionParameter"],"sources":["../src/core/contexts/reflection.ts"],"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 type { ComponentContext } from \"@alloy-js/core\";\nimport { createContext, createNamedContext, useContext } from \"@alloy-js/core\";\nimport type {\n ReflectionClass,\n ReflectionMethod,\n ReflectionParameter,\n ReflectionProperty\n} from \"@powerlines/deepkit/vendor/type\";\nimport { ReflectionOverrideInterface } from \"../../types/components\";\n\nexport interface ReflectionClassContextInterface<\n T extends Record<string, any> = Record<string, any>\n> {\n reflection: ReflectionClass<T>;\n override?: ReflectionOverrideInterface<T>;\n}\n\n/**\n * The reflection class context used in template rendering.\n */\nexport const ReflectionClassContext: ComponentContext<\n ReflectionClassContextInterface<any>\n> = createContext<ReflectionClassContextInterface<any>>();\n\n/**\n * Hook to access the Reflection context.\n *\n * @returns A reactive version of the current reflection.\n */\nexport function useReflectionClass<\n T extends Record<string, any> = Record<string, any>\n>() {\n const context = useContext<ReflectionClassContextInterface<T>>(\n ReflectionClassContext\n )!;\n\n if (!context) {\n throw new Error(\n \"Powerlines - ReflectionClass Context is not set. Please make sure the Alloy components are being provided to an invocation of the `render` function added to plugins by `@powerlines/plugin-alloy`.\"\n );\n }\n\n return context;\n}\n\n/**\n * The reflection property context used in template rendering.\n */\nexport const ReflectionPropertyContext: ComponentContext<ReflectionProperty> =\n createNamedContext<ReflectionProperty>(\"ReflectionProperty\");\n\n/**\n * Hook to access the Reflection Property context.\n *\n * @returns A reactive version of the current reflection.\n */\nexport function useReflectionProperty() {\n const context = useContext<ReflectionProperty>(ReflectionPropertyContext)!;\n\n if (!context) {\n throw new Error(\n \"Powerlines - Reflection Property Context is not set. Please make sure the Alloy components are being provided to an invocation of the `render` function added to plugins by `@powerlines/plugin-alloy`.\"\n );\n }\n\n return context;\n}\n\n/**\n * The reflection method context used in template rendering.\n */\nexport const ReflectionMethodContext: ComponentContext<ReflectionMethod> =\n createNamedContext<ReflectionMethod>(\"ReflectionMethod\");\n\n/**\n * Hook to access the Reflection Method context.\n *\n * @returns A reactive version of the current reflection.\n */\nexport function useReflectionMethod() {\n const context = useContext<ReflectionMethod>(ReflectionMethodContext)!;\n\n if (!context) {\n throw new Error(\n \"Powerlines - Reflection Method Context is not set. Please make sure the Alloy components are being provided to an invocation of the `render` function added to plugins by `@powerlines/plugin-alloy`.\"\n );\n }\n\n return context;\n}\n\n/**\n * The reflection parameter context used in template rendering.\n */\nexport const ReflectionParameterContext: ComponentContext<ReflectionParameter> =\n createNamedContext<ReflectionParameter>(\"ReflectionParameter\");\n\n/**\n * Hook to access the Reflection Parameter context.\n *\n * @returns A reactive version of the current reflection.\n */\nexport function useReflectionParameter() {\n return useContext<ReflectionParameter>(ReflectionParameterContext)!;\n}\n"],"mappings":""}
@@ -1,4 +1,4 @@
1
- import { c as ReflectionOverrideInterface } from "./components-oHSM7vmp.mjs";
1
+ import { c as ReflectionOverrideInterface } from "./components-BVhJ5G56.mjs";
2
2
  import { ComponentContext } from "@alloy-js/core";
3
3
  import { ReflectionClass, ReflectionMethod, ReflectionParameter, ReflectionProperty } from "@powerlines/deepkit/vendor/type";
4
4
 
@@ -50,4 +50,4 @@ declare function useReflectionParameter(): ReflectionParameter;
50
50
  declare type __ΩReflectionClassContextInterface = any[];
51
51
  //#endregion
52
52
  export { ReflectionPropertyContext as a, useReflectionMethod as c, ReflectionParameterContext as i, useReflectionParameter as l, ReflectionClassContextInterface as n, __ΩReflectionClassContextInterface as o, ReflectionMethodContext as r, useReflectionClass as s, ReflectionClassContext as t, useReflectionProperty as u };
53
- //# sourceMappingURL=reflection-CUo0047e.d.mts.map
53
+ //# sourceMappingURL=reflection-caOQdoZ6.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"reflection-CUo0047e.d.mts","names":[],"sources":["../src/core/contexts/reflection.ts"],"sourcesContent":[],"mappings":";;;;;UA4BiB,0CACL,sBAAsB;cAEpB,gBAAgB;EAHb,QAAA,CAAA,EAIJ,2BAJmC,CAIP,CAJO,CAAA;;;;;AAIP,cAM5B,sBAN4B,EAMJ,gBANI,CAOvC,+BAPuC,CAAA,GAAA,CAAA,CAAA;;;AAMzC;AASA;;AACkC,iBADlB,kBACkB,CAAA,UAAtB,MAAsB,CAAA,MAAA,EAAA,GAAA,CAAA,GAAA,MAAA,CAAA,MAAA,EAAA,GAAA,CAAA,CAAA,CAAA,CAAA,EAAmB,+BAAnB,CAAmB,CAAnB,CAAA;;;;AAkBrB,cAAA,yBAA4C,EAAjB,gBAAA,CAAiB,kBAAD,CAAA;AAQxD;AAeA;AAQA;AAeA;AAQA;iBA9CgB,qBAAA,CAAA,GAAqB;;;;cAexB,yBAAyB,iBAAiB;;;;;;iBAQvC,mBAAA,CAAA,GAAmB;;;;cAetB,4BAA4B,iBAAiB;;;;;;iBAQ1C,sBAAA,CAAA,GAAsB"}
1
+ {"version":3,"file":"reflection-caOQdoZ6.d.mts","names":[],"sources":["../src/core/contexts/reflection.ts"],"sourcesContent":[],"mappings":";;;;;UA4BiB,0CACL,sBAAsB;cAEpB,gBAAgB;EAHb,QAAA,CAAA,EAIJ,2BAJmC,CAIP,CAJO,CAAA;;;;;AAIP,cAM5B,sBAN4B,EAMJ,gBANI,CAOvC,+BAPuC,CAAA,GAAA,CAAA,CAAA;;;AAMzC;AASA;;AACkC,iBADlB,kBACkB,CAAA,UAAtB,MAAsB,CAAA,MAAA,EAAA,GAAA,CAAA,GAAA,MAAA,CAAA,MAAA,EAAA,GAAA,CAAA,CAAA,CAAA,CAAA,EAAmB,+BAAnB,CAAmB,CAAnB,CAAA;;;;AAkBrB,cAAA,yBAA4C,EAAjB,gBAAA,CAAiB,kBAAD,CAAA;AAQxD;AAeA;AAQA;AAeA;AAQA;iBA9CgB,qBAAA,CAAA,GAAqB;;;;cAexB,yBAAyB,iBAAiB;;;;;;iBAQvC,mBAAA,CAAA,GAAmB;;;;cAetB,4BAA4B,iBAAiB;;;;;;iBAQ1C,sBAAA,CAAA,GAAsB"}
@@ -1 +1 @@
1
- {"version":3,"file":"reflection-xU09ifzp.d.cts","names":[],"sources":["../src/core/contexts/reflection.ts"],"sourcesContent":[],"mappings":";;;;;UA4BiB,0CACL,sBAAsB;cAEpB,gBAAgB;EAHb,QAAA,CAAA,EAIJ,2BAJmC,CAIP,CAJO,CAAA;;;;;AAIP,cAM5B,sBAN4B,EAMJ,gBANI,CAOvC,+BAPuC,CAAA,GAAA,CAAA,CAAA;;;AAMzC;AASA;;AACkC,iBADlB,kBACkB,CAAA,UAAtB,MAAsB,CAAA,MAAA,EAAA,GAAA,CAAA,GAAA,MAAA,CAAA,MAAA,EAAA,GAAA,CAAA,CAAA,CAAA,CAAA,EAAmB,+BAAnB,CAAmB,CAAnB,CAAA;;;;AAkBrB,cAAA,yBAA4C,EAAjB,gBAAA,CAAiB,kBAAD,CAAA;AAQxD;AAeA;AAQA;AAeA;AAQA;iBA9CgB,qBAAA,CAAA,GAAqB;;;;cAexB,yBAAyB,iBAAiB;;;;;;iBAQvC,mBAAA,CAAA,GAAmB;;;;cAetB,4BAA4B,iBAAiB;;;;;;iBAQ1C,sBAAA,CAAA,GAAsB"}
1
+ {"version":3,"file":"reflection-xU09ifzp.d.cts","names":[],"sources":["../src/core/contexts/reflection.ts"],"sourcesContent":[],"mappings":";;;;;UA4BiB,0CACL,sBAAsB;cAEpB,gBAAgB;EAHb,QAAA,CAAA,EAIJ,2BAJmC,CAIP,CAJO,CAAA;;;;;AAIP,cAM5B,sBAN4B,EAMJ,gBANI,CAOvC,+BAPuC,CAAA,GAAA,CAAA,CAAA;;;AAMzC;AASA;;AACkC,iBADlB,kBACkB,CAAA,UAAtB,MAAsB,CAAA,MAAA,EAAA,GAAA,CAAA,GAAA,MAAA,CAAA,MAAA,EAAA,GAAA,CAAA,CAAA,CAAA,CAAA,EAAmB,+BAAnB,CAAmB,CAAnB,CAAA;;;;AAkBrB,cAAA,yBAA4C,EAAjB,gBAAiB,CAAA,kBAAD,CAAA;AAQxD;AAeA;AAQA;AAeA;AAQA;iBA9CgB,qBAAA,CAAA,GAAqB;;;;cAexB,yBAAyB,iBAAiB;;;;;;iBAQvC,mBAAA,CAAA,GAAmB;;;;cAetB,4BAA4B,iBAAiB;;;;;;iBAQ1C,sBAAA,CAAA,GAAsB"}
@@ -0,0 +1,23 @@
1
+ import { n as ComponentProps } from "./components-BVhJ5G56.mjs";
2
+ import * as _alloy_js_core1 from "@alloy-js/core";
3
+
4
+ //#region src/core/components/single-line-comment.d.ts
5
+ type SingleLineCommentVariant = "double-slash" | "triple-slash" | "slash-star" | "slash-star-star" | "markdown";
6
+ interface SingleLineCommentProps extends ComponentProps {
7
+ /**
8
+ * The variant of the single line comment.
9
+ *
10
+ * @defaultValue "double-slash"
11
+ */
12
+ variant?: SingleLineCommentVariant;
13
+ }
14
+ /**
15
+ * A single line comment block. The children are rendered as a prose element, which means that they
16
+ * are broken into multiple lines
17
+ */
18
+ declare function SingleLineComment(props: SingleLineCommentProps): _alloy_js_core1.Children;
19
+ declare type __ΩSingleLineCommentVariant = any[];
20
+ declare type __ΩSingleLineCommentProps = any[];
21
+ //#endregion
22
+ export { __ΩSingleLineCommentVariant as a, __ΩSingleLineCommentProps as i, SingleLineCommentProps as n, SingleLineCommentVariant as r, SingleLineComment as t };
23
+ //# sourceMappingURL=single-line-comment-BDm_3s_M.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"single-line-comment-PMv_zrfe.d.mts","names":[],"sources":["../src/core/components/single-line-comment.tsx"],"sourcesContent":[],"mappings":";;;;KAqBY,wBAAA;UAOK,sBAAA,SAA+B;;AAPhD;AAOA;AAaA;;YAPY;;;;;;iBAOI,iBAAA,QAAyB,yBAAsB,eAAA,CAAA"}
1
+ {"version":3,"file":"single-line-comment-BDm_3s_M.d.mts","names":[],"sources":["../src/core/components/single-line-comment.tsx"],"sourcesContent":[],"mappings":";;;;KAqBY,wBAAA;UAOK,sBAAA,SAA+B;;AAPhD;AAOA;AAaA;;YAPY;;;;;;iBAOI,iBAAA,QAAyB,yBAAsB,eAAA,CAAA"}
@@ -1,5 +1,5 @@
1
1
  import { n as ComponentProps } from "./components-IRVnipN0.cjs";
2
- import * as _alloy_js_core9 from "@alloy-js/core";
2
+ import * as _alloy_js_core14 from "@alloy-js/core";
3
3
 
4
4
  //#region src/core/components/single-line-comment.d.ts
5
5
  type SingleLineCommentVariant = "double-slash" | "triple-slash" | "slash-star" | "slash-star-star" | "markdown";
@@ -15,9 +15,9 @@ interface SingleLineCommentProps extends ComponentProps {
15
15
  * A single line comment block. The children are rendered as a prose element, which means that they
16
16
  * are broken into multiple lines
17
17
  */
18
- declare function SingleLineComment(props: SingleLineCommentProps): _alloy_js_core9.Children;
18
+ declare function SingleLineComment(props: SingleLineCommentProps): _alloy_js_core14.Children;
19
19
  declare type __ΩSingleLineCommentVariant = any[];
20
20
  declare type __ΩSingleLineCommentProps = any[];
21
21
  //#endregion
22
22
  export { __ΩSingleLineCommentVariant as a, __ΩSingleLineCommentProps as i, SingleLineCommentProps as n, SingleLineCommentVariant as r, SingleLineComment as t };
23
- //# sourceMappingURL=single-line-comment-o36zlUze.d.cts.map
23
+ //# sourceMappingURL=single-line-comment-DZMz1Vam.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"single-line-comment-DZMz1Vam.d.cts","names":[],"sources":["../src/core/components/single-line-comment.tsx"],"sourcesContent":[],"mappings":";;;;KAqBY,wBAAA;UAOK,sBAAA,SAA+B;;AAPhD;AAOA;AAaA;;YAPY;;;;;;iBAOI,iBAAA,QAAyB,yBAAsB,gBAAA,CAAA"}
@@ -1,4 +1,4 @@
1
- import { n as ComponentProps } from "./components-oHSM7vmp.mjs";
1
+ import { n as ComponentProps } from "./components-BVhJ5G56.mjs";
2
2
  import * as _alloy_js_core0 from "@alloy-js/core";
3
3
 
4
4
  //#region src/core/components/single-line-comment.d.ts
@@ -20,4 +20,4 @@ declare type __ΩSingleLineCommentVariant = any[];
20
20
  declare type __ΩSingleLineCommentProps = any[];
21
21
  //#endregion
22
22
  export { __ΩSingleLineCommentVariant as a, __ΩSingleLineCommentProps as i, SingleLineCommentProps as n, SingleLineCommentVariant as r, SingleLineComment as t };
23
- //# sourceMappingURL=single-line-comment-PMv_zrfe.d.mts.map
23
+ //# sourceMappingURL=single-line-comment-cunvfPOw.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"single-line-comment-o36zlUze.d.cts","names":[],"sources":["../src/core/components/single-line-comment.tsx"],"sourcesContent":[],"mappings":";;;;KAqBY,wBAAA;UAOK,sBAAA,SAA+B;;AAPhD;AAOA;AAaA;;YAPY;;;;;;iBAOI,iBAAA,QAAyB,yBAAsB,eAAA,CAAA"}
1
+ {"version":3,"file":"single-line-comment-cunvfPOw.d.mts","names":[],"sources":["../src/core/components/single-line-comment.tsx"],"sourcesContent":[],"mappings":";;;;KAqBY,wBAAA;UAOK,sBAAA,SAA+B;;AAPhD;AAOA;AAaA;;YAPY;;;;;;iBAOI,iBAAA,QAAyB,yBAAsB,eAAA,CAAA"}
@@ -1,4 +1,4 @@
1
- import { n as ComponentProps } from "./components-IRVnipN0.cjs";
1
+ import { n as ComponentProps } from "./components-BVhJ5G56.mjs";
2
2
  import * as _alloy_js_core0 from "@alloy-js/core";
3
3
  import { SourceFileProps } from "@alloy-js/core";
4
4
  import { StoragePreset } from "powerlines/types/fs";
@@ -30,4 +30,4 @@ declare function SourceFile(props: SourceFileProps$1): _alloy_js_core0.Children;
30
30
  declare type __ΩSourceFileProps = any[];
31
31
  //#endregion
32
32
  export { SourceFileProps$1 as n, __ΩSourceFileProps as r, SourceFile as t };
33
- //# sourceMappingURL=source-file-BTsyACav.d.cts.map
33
+ //# sourceMappingURL=source-file-BCwSF5Yh.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"source-file-8vpmBt0q.d.cts","names":[],"sources":["../src/core/components/source-file.tsx"],"sourcesContent":[],"mappings":";;;;;;KAkCY,iBAAA,GAAkB,kBAC5B;;;AADF;;;;EAgBW,OAAA,CAAA,EARG,aAQH;EAAM;AASjB;;;;;SATW;;;;;;;;iBASK,UAAA,QAAkB,oBAAe,eAAA,CAAA"}
1
+ {"version":3,"file":"source-file-BCwSF5Yh.d.mts","names":[],"sources":["../src/core/components/source-file.tsx"],"sourcesContent":[],"mappings":";;;;;;KAkCY,iBAAA,GAAkB,kBAC5B;;;AADF;;;;EAgBW,OAAA,CAAA,EARG,aAQH;EAAM;AASjB;;;;;SATW;;;;;;;;iBASK,UAAA,QAAkB,oBAAe,eAAA,CAAA"}
@@ -1,5 +1,5 @@
1
1
  import { n as ComponentProps } from "./components-IRVnipN0.cjs";
2
- import * as _alloy_js_core4 from "@alloy-js/core";
2
+ import * as _alloy_js_core13 from "@alloy-js/core";
3
3
  import { SourceFileProps } from "@alloy-js/core";
4
4
  import { StoragePreset } from "powerlines/types/fs";
5
5
 
@@ -26,8 +26,8 @@ type SourceFileProps$1 = SourceFileProps & ComponentProps & {
26
26
  * @param props - The properties for the source file.
27
27
  * @returns The rendered source file component.
28
28
  */
29
- declare function SourceFile(props: SourceFileProps$1): _alloy_js_core4.Children;
29
+ declare function SourceFile(props: SourceFileProps$1): _alloy_js_core13.Children;
30
30
  declare type __ΩSourceFileProps = any[];
31
31
  //#endregion
32
32
  export { SourceFileProps$1 as n, __ΩSourceFileProps as r, SourceFile as t };
33
- //# sourceMappingURL=source-file-8vpmBt0q.d.cts.map
33
+ //# sourceMappingURL=source-file-BLon-0Ab.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"source-file-BTsyACav.d.cts","names":[],"sources":["../src/core/components/source-file.tsx"],"sourcesContent":[],"mappings":";;;;;;KAkCY,iBAAA,GAAkB,kBAC5B;;;AADF;;;;EAgBW,OAAA,CAAA,EARG,aAQH;EAAM;AASjB;;;;;SATW;;;;;;;;iBASK,UAAA,QAAkB,oBAAe,eAAA,CAAA"}
1
+ {"version":3,"file":"source-file-BLon-0Ab.d.cts","names":[],"sources":["../src/core/components/source-file.tsx"],"sourcesContent":[],"mappings":";;;;;;KAkCY,iBAAA,GAAkB,kBAC5B;;;AADF;;;;EAgBW,OAAA,CAAA,EARG,aAQH;EAAM;AASjB;;;;;SATW;;;;;;;;iBASK,UAAA,QAAkB,oBAAe,gBAAA,CAAA"}
@@ -1,5 +1,5 @@
1
- import { n as ComponentProps } from "./components-oHSM7vmp.mjs";
2
- import * as _alloy_js_core0 from "@alloy-js/core";
1
+ import { n as ComponentProps } from "./components-IRVnipN0.cjs";
2
+ import * as _alloy_js_core17 from "@alloy-js/core";
3
3
  import { SourceFileProps } from "@alloy-js/core";
4
4
  import { StoragePreset } from "powerlines/types/fs";
5
5
 
@@ -26,8 +26,8 @@ type SourceFileProps$1 = SourceFileProps & ComponentProps & {
26
26
  * @param props - The properties for the source file.
27
27
  * @returns The rendered source file component.
28
28
  */
29
- declare function SourceFile(props: SourceFileProps$1): _alloy_js_core0.Children;
29
+ declare function SourceFile(props: SourceFileProps$1): _alloy_js_core17.Children;
30
30
  declare type __ΩSourceFileProps = any[];
31
31
  //#endregion
32
32
  export { SourceFileProps$1 as n, __ΩSourceFileProps as r, SourceFile as t };
33
- //# sourceMappingURL=source-file-CQl0UCgf.d.mts.map
33
+ //# sourceMappingURL=source-file-C8C0iwF_.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"source-file-CQl0UCgf.d.mts","names":[],"sources":["../src/core/components/source-file.tsx"],"sourcesContent":[],"mappings":";;;;;;KAkCY,iBAAA,GAAkB,kBAC5B;;;AADF;;;;EAgBW,OAAA,CAAA,EARG,aAQH;EAAM;AASjB;;;;;SATW;;;;;;;;iBASK,UAAA,QAAkB,oBAAe,eAAA,CAAA"}
1
+ {"version":3,"file":"source-file-C8C0iwF_.d.cts","names":[],"sources":["../src/core/components/source-file.tsx"],"sourcesContent":[],"mappings":";;;;;;KAkCY,iBAAA,GAAkB,kBAC5B;;;AADF;;;;EAgBW,OAAA,CAAA,EARG,aAQH;EAAM;AASjB;;;;;SATW;;;;;;;;iBASK,UAAA,QAAkB,oBAAe,gBAAA,CAAA"}
@@ -1,4 +1,4 @@
1
- import { n as useMetaSafe } from "./context-e2kZWEFW.mjs";
1
+ import { r as useMetaSafe } from "./context-DAfWJCa9.mjs";
2
2
  import { createComponent, createIntrinsic } from "@alloy-js/core/jsx-runtime";
3
3
  import { Show, SourceDirectoryContext, SourceFileContext, getContext, splitProps, useContext, useFormatOptions } from "@alloy-js/core";
4
4
  import { appendPath } from "@stryke/path/append";
@@ -59,4 +59,4 @@ function SourceFile(props) {
59
59
 
60
60
  //#endregion
61
61
  export { SourceFile as t };
62
- //# sourceMappingURL=source-file-BiJK-nH_.mjs.map
62
+ //# sourceMappingURL=source-file-DwSKCa6M.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"source-file-BiJK-nH_.mjs","names":["getContext","Show","SourceDirectoryContext","SourceFileContext","splitProps","useContext","useFormatOptions","appendPath","defu","useMetaSafe","SourceFile","props","children","meta","path","header","storage","filetype","reference","metadata","parentDirectory","sourceFile","addContent","printOptions","printWidth","tabWidth","useTabs","insertFinalNewLine","nodeContext","_$createComponent","Provider","value","when","undefined","_$createIntrinsic"],"sources":["../src/core/components/source-file.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 getContext,\n Show,\n SourceDirectoryContext,\n SourceFileContext,\n SourceFileProps as SourceFilePropsExternal,\n splitProps,\n useContext,\n useFormatOptions\n} from \"@alloy-js/core\";\nimport { appendPath } from \"@stryke/path/append\";\nimport defu from \"defu\";\nimport type { StoragePreset } from \"powerlines/types/fs\";\nimport { ComponentProps } from \"../../types/components\";\nimport { useMetaSafe } from \"../contexts\";\n\nexport type SourceFileProps = SourceFilePropsExternal &\n ComponentProps & {\n /**\n * The storage preset for the output files.\n *\n * @remarks\n * If not specified, the output mode will be determined by the provided `output.mode` value.\n */\n storage?: StoragePreset;\n\n /**\n * The metadata associated with the source file.\n *\n * @remarks\n * The values stored in the metadata will be available in the rendering context.\n */\n meta?: Record<string, any>;\n };\n\n/**\n * A base component representing a Powerlines generated source file.\n *\n * @param props - The properties for the source file.\n * @returns The rendered source file component.\n */\nexport function SourceFile(props: SourceFileProps) {\n const [{ children, meta, path, header, storage, filetype, reference }] =\n splitProps(props, [\n \"children\",\n \"meta\",\n \"path\",\n \"header\",\n \"storage\",\n \"filetype\",\n \"reference\"\n ]);\n\n const metadata = useMetaSafe();\n const parentDirectory = useContext(SourceDirectoryContext)!;\n\n const sourceFile: SourceFileContext = {\n path: appendPath(path, parentDirectory.path),\n filetype,\n reference\n };\n parentDirectory?.addContent(sourceFile);\n\n const printOptions = useFormatOptions({\n printWidth: props.printWidth,\n tabWidth: props.tabWidth,\n useTabs: props.useTabs,\n insertFinalNewLine: props.insertFinalNewLine\n });\n\n const nodeContext = getContext()!;\n nodeContext.meta = defu(\n {\n sourceFile,\n printOptions\n },\n meta ?? {}\n );\n\n if (metadata) {\n metadata[sourceFile.path] = {\n storage,\n ...(meta ?? {})\n };\n }\n\n return (\n <SourceFileContext.Provider value={sourceFile}>\n <Show when={header !== undefined}>\n {header}\n <hbr />\n </Show>\n {children}\n </SourceFileContext.Provider>\n );\n}\n"],"mappings":""}
1
+ {"version":3,"file":"source-file-DwSKCa6M.mjs","names":["getContext","Show","SourceDirectoryContext","SourceFileContext","splitProps","useContext","useFormatOptions","appendPath","defu","useMetaSafe","SourceFile","props","children","meta","path","header","storage","filetype","reference","metadata","parentDirectory","sourceFile","addContent","printOptions","printWidth","tabWidth","useTabs","insertFinalNewLine","nodeContext","_$createComponent","Provider","value","when","undefined","_$createIntrinsic"],"sources":["../src/core/components/source-file.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 getContext,\n Show,\n SourceDirectoryContext,\n SourceFileContext,\n SourceFileProps as SourceFilePropsExternal,\n splitProps,\n useContext,\n useFormatOptions\n} from \"@alloy-js/core\";\nimport { appendPath } from \"@stryke/path/append\";\nimport defu from \"defu\";\nimport type { StoragePreset } from \"powerlines/types/fs\";\nimport { ComponentProps } from \"../../types/components\";\nimport { useMetaSafe } from \"../contexts\";\n\nexport type SourceFileProps = SourceFilePropsExternal &\n ComponentProps & {\n /**\n * The storage preset for the output files.\n *\n * @remarks\n * If not specified, the output mode will be determined by the provided `output.mode` value.\n */\n storage?: StoragePreset;\n\n /**\n * The metadata associated with the source file.\n *\n * @remarks\n * The values stored in the metadata will be available in the rendering context.\n */\n meta?: Record<string, any>;\n };\n\n/**\n * A base component representing a Powerlines generated source file.\n *\n * @param props - The properties for the source file.\n * @returns The rendered source file component.\n */\nexport function SourceFile(props: SourceFileProps) {\n const [{ children, meta, path, header, storage, filetype, reference }] =\n splitProps(props, [\n \"children\",\n \"meta\",\n \"path\",\n \"header\",\n \"storage\",\n \"filetype\",\n \"reference\"\n ]);\n\n const metadata = useMetaSafe();\n const parentDirectory = useContext(SourceDirectoryContext)!;\n\n const sourceFile: SourceFileContext = {\n path: appendPath(path, parentDirectory.path),\n filetype,\n reference\n };\n parentDirectory?.addContent(sourceFile);\n\n const printOptions = useFormatOptions({\n printWidth: props.printWidth,\n tabWidth: props.tabWidth,\n useTabs: props.useTabs,\n insertFinalNewLine: props.insertFinalNewLine\n });\n\n const nodeContext = getContext()!;\n nodeContext.meta = defu(\n {\n sourceFile,\n printOptions\n },\n meta ?? {}\n );\n\n if (metadata) {\n metadata[sourceFile.path] = {\n storage,\n ...(meta ?? {})\n };\n }\n\n return (\n <SourceFileContext.Provider value={sourceFile}>\n <Show when={header !== undefined}>\n {header}\n <hbr />\n </Show>\n {children}\n </SourceFileContext.Provider>\n );\n}\n"],"mappings":""}
@@ -1,5 +1,5 @@
1
1
  const require_chunk = require('./chunk-CbDLau6x.cjs');
2
- const require_context = require('./context--KBspFnw.cjs');
2
+ const require_context = require('./context-CowAmU8m.cjs');
3
3
  let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
4
4
  let __alloy_js_core = require("@alloy-js/core");
5
5
  let __stryke_path_append = require("@stryke/path/append");
@@ -1,4 +1,4 @@
1
- import { n as ComponentProps } from "./components-oHSM7vmp.mjs";
1
+ import { n as ComponentProps } from "./components-BVhJ5G56.mjs";
2
2
  import { Children } from "@alloy-js/core";
3
3
  import { ReflectionKind, ReflectionParameter, ReflectionProperty } from "@powerlines/deepkit/vendor/type";
4
4
  import { JSDocExampleProps, ParameterDescriptor } from "@alloy-js/typescript";
@@ -161,4 +161,4 @@ declare type __ΩTSDocParamProps = any[];
161
161
  declare type __ΩTSDocModuleProps = any[];
162
162
  //#endregion
163
163
  export { __ΩTSDocDefaultValueProps as A, TSDocRemarks as C, TSDocThrows as D, TSDocTagProps as E, __ΩTSDocProps as F, __ΩTSDocTagProps as I, __ΩTSDocModuleProps as M, __ΩTSDocParamProps as N, TSDocTitle as O, __ΩTSDocParamsProps as P, TSDocReadonly as S, TSDocTag as T, TSDocParamProps as _, TSDocDefaultValue as a, TSDocPermission as b, TSDocExample as c, TSDocIgnore as d, TSDocInternal as f, TSDocParam as g, TSDocModuleProps as h, TSDocAttributesTagsProps as i, __ΩTSDocExampleProps as j, __ΩTSDocAttributesTagsProps as k, TSDocExampleProps as l, TSDocModule as m, TSDocAlias as n, TSDocDefaultValueProps as o, TSDocLink as p, TSDocAttributesTags as r, TSDocDomain as s, TSDoc as t, TSDocHidden as u, TSDocParams as v, TSDocReturns as w, TSDocProps as x, TSDocParamsProps as y };
164
- //# sourceMappingURL=tsdoc-OUuKjTbh.d.mts.map
164
+ //# sourceMappingURL=tsdoc-B2PbOibk.d.mts.map