@powerlines/plugin-alloy 0.19.30 → 0.19.32

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 (372) hide show
  1. package/dist/{builtin-file-BJwCniGZ.mjs → builtin-file-BNp7C-BU.mjs} +4 -4
  2. package/dist/{builtin-file-BJwCniGZ.mjs.map → builtin-file-BNp7C-BU.mjs.map} +1 -1
  3. package/dist/{builtin-file-B1gDGzgo.d.mts → builtin-file-C-TpxdCP.d.mts} +3 -3
  4. package/dist/{builtin-file-CNpjVVjD.d.cts.map → builtin-file-C-TpxdCP.d.mts.map} +1 -1
  5. package/dist/{builtin-file-CNpjVVjD.d.cts → builtin-file-CDLuGDg7.d.cts} +5 -5
  6. package/dist/{builtin-file-B1gDGzgo.d.mts.map → builtin-file-CDLuGDg7.d.cts.map} +1 -1
  7. package/dist/{builtin-file-vG9RwKpd.cjs → builtin-file-CQAeHqiO.cjs} +3 -3
  8. package/dist/builtin-file-DWcpFOVB.d.mts +35 -0
  9. package/dist/builtin-file-DWcpFOVB.d.mts.map +1 -0
  10. package/dist/builtin-file-I0ejC9w0.d.cts +35 -0
  11. package/dist/builtin-file-I0ejC9w0.d.cts.map +1 -0
  12. package/dist/{capnp-BfsEWHU2.d.cts → capnp-CLxcoMcG.d.mts} +2 -2
  13. package/dist/{capnp-BfsEWHU2.d.cts.map → capnp-CLxcoMcG.d.mts.map} +1 -1
  14. package/dist/{capnp-XK1IvfIR.mjs → capnp-CPbob9Cm.mjs} +1 -1
  15. package/dist/{capnp-XK1IvfIR.mjs.map → capnp-CPbob9Cm.mjs.map} +1 -1
  16. package/dist/{capnp-DcnwPttP.d.mts → capnp-DbPtfpg2.d.cts} +2 -2
  17. package/dist/{capnp-DcnwPttP.d.mts.map → capnp-DbPtfpg2.d.cts.map} +1 -1
  18. package/dist/{components-DPPi58b5.d.cts → components-CvqTz7Q9.d.cts} +2 -2
  19. package/dist/{components-DPPi58b5.d.cts.map → components-CvqTz7Q9.d.cts.map} +1 -1
  20. package/dist/{components-oHSM7vmp.d.mts → components-_4e2YMfT.d.mts} +1 -1
  21. package/dist/{components-oHSM7vmp.d.mts.map → components-_4e2YMfT.d.mts.map} +1 -1
  22. package/dist/{context-CiHsTXX7.d.cts → context-C7gW4eqa.d.cts} +1 -1
  23. package/dist/{context-C-CzW-8C.d.mts.map → context-C7gW4eqa.d.cts.map} +1 -1
  24. package/dist/{context-DIUW4n33.mjs → context-CdPajCh6.mjs} +1 -1
  25. package/dist/{context-DIUW4n33.mjs.map → context-CdPajCh6.mjs.map} +1 -1
  26. package/dist/{context-C-CzW-8C.d.mts → context-D5pAjVbn.d.mts} +1 -1
  27. package/dist/{context-CiHsTXX7.d.cts.map → context-D5pAjVbn.d.mts.map} +1 -1
  28. package/dist/core/components/index.cjs +8 -6
  29. package/dist/core/components/index.d.cts +9 -5
  30. package/dist/core/components/index.d.mts +9 -5
  31. package/dist/core/components/index.mjs +8 -6
  32. package/dist/core/components/output.cjs +5 -2
  33. package/dist/core/components/output.d.cts +6 -1
  34. package/dist/core/components/output.d.mts +6 -1
  35. package/dist/core/components/output.mjs +5 -2
  36. package/dist/core/components/single-line-comment.cjs +1 -1
  37. package/dist/core/components/single-line-comment.d.cts +2 -2
  38. package/dist/core/components/single-line-comment.d.mts +2 -2
  39. package/dist/core/components/single-line-comment.mjs +1 -1
  40. package/dist/core/components/source-file.cjs +2 -2
  41. package/dist/core/components/source-file.d.cts +2 -2
  42. package/dist/core/components/source-file.d.mts +2 -2
  43. package/dist/core/components/source-file.mjs +2 -2
  44. package/dist/core/contexts/context.cjs +1 -1
  45. package/dist/core/contexts/context.d.cts +1 -1
  46. package/dist/core/contexts/context.d.mts +1 -1
  47. package/dist/core/contexts/context.mjs +1 -1
  48. package/dist/core/contexts/index.cjs +4 -4
  49. package/dist/core/contexts/index.d.cts +5 -5
  50. package/dist/core/contexts/index.d.mts +5 -5
  51. package/dist/core/contexts/index.mjs +4 -4
  52. package/dist/core/contexts/meta.cjs +1 -1
  53. package/dist/core/contexts/meta.d.cts +1 -1
  54. package/dist/core/contexts/meta.d.mts +1 -1
  55. package/dist/core/contexts/meta.mjs +1 -1
  56. package/dist/core/contexts/reflection.cjs +1 -1
  57. package/dist/core/contexts/reflection.d.cts +2 -2
  58. package/dist/core/contexts/reflection.d.mts +2 -2
  59. package/dist/core/contexts/reflection.mjs +1 -1
  60. package/dist/core/index.cjs +8 -8
  61. package/dist/core/index.d.cts +9 -10
  62. package/dist/core/index.d.mts +9 -10
  63. package/dist/core/index.mjs +8 -8
  64. package/dist/{create-builtin-C4n9BYjY.mjs → create-builtin-Be3J_vqf.mjs} +1 -1
  65. package/dist/{create-builtin-C4n9BYjY.mjs.map → create-builtin-Be3J_vqf.mjs.map} +1 -1
  66. package/dist/{create-builtin-BvtcWfWV.d.mts → create-builtin-Bpswa0ZT.d.cts} +1 -1
  67. package/dist/{create-builtin-BvtcWfWV.d.mts.map → create-builtin-Bpswa0ZT.d.cts.map} +1 -1
  68. package/dist/{create-builtin-CI8g-abA.d.cts → create-builtin-CbEjJreB.d.mts} +1 -1
  69. package/dist/{create-builtin-CI8g-abA.d.cts.map → create-builtin-CbEjJreB.d.mts.map} +1 -1
  70. package/dist/{dynamic-import-statement-BVggdOVL.mjs → dynamic-import-statement-B4Ov9C7y.mjs} +1 -1
  71. package/dist/{dynamic-import-statement-BVggdOVL.mjs.map → dynamic-import-statement-B4Ov9C7y.mjs.map} +1 -1
  72. package/dist/dynamic-import-statement-CNsIFAva.d.cts +33 -0
  73. package/dist/{dynamic-import-statement-pdjThvwh.d.mts.map → dynamic-import-statement-CNsIFAva.d.cts.map} +1 -1
  74. package/dist/dynamic-import-statement-CVIYwXyi.d.mts +33 -0
  75. package/dist/dynamic-import-statement-CVIYwXyi.d.mts.map +1 -0
  76. package/dist/{dynamic-import-statement-D4OSoBmE.d.cts → dynamic-import-statement-DDEpZVlQ.d.cts} +3 -3
  77. package/dist/{dynamic-import-statement-D4OSoBmE.d.cts.map → dynamic-import-statement-DDEpZVlQ.d.cts.map} +1 -1
  78. package/dist/{dynamic-import-statement-pdjThvwh.d.mts → dynamic-import-statement-DSNDMC9Y.d.mts} +1 -1
  79. package/dist/dynamic-import-statement-DSNDMC9Y.d.mts.map +1 -0
  80. package/dist/{entry-file-BF1TZjhp.cjs → entry-file-CYPWFUfe.cjs} +4 -4
  81. package/dist/{entry-file-P5n-ofhK.mjs → entry-file-CrZ-k87r.mjs} +5 -5
  82. package/dist/{entry-file-P5n-ofhK.mjs.map → entry-file-CrZ-k87r.mjs.map} +1 -1
  83. package/dist/{entry-file-DUBROn1J.d.mts → entry-file-DOcjyCDG.d.mts} +2 -2
  84. package/dist/{entry-file-DUBROn1J.d.mts.map → entry-file-DOcjyCDG.d.mts.map} +1 -1
  85. package/dist/{entry-file-GKgTr4Su.d.cts → entry-file-DVf4SGx4.d.cts} +4 -4
  86. package/dist/{entry-file-GKgTr4Su.d.cts.map → entry-file-DVf4SGx4.d.cts.map} +1 -1
  87. package/dist/entry-file-DXv3HtYV.d.mts +28 -0
  88. package/dist/entry-file-DXv3HtYV.d.mts.map +1 -0
  89. package/dist/entry-file-y0caTLfc.d.cts +28 -0
  90. package/dist/entry-file-y0caTLfc.d.cts.map +1 -0
  91. package/dist/{front-matter-Dzh6QhN-.mjs → front-matter-BeTG0uJA.mjs} +1 -1
  92. package/dist/{front-matter-Dzh6QhN-.mjs.map → front-matter-BeTG0uJA.mjs.map} +1 -1
  93. package/dist/{front-matter-DmO4uu91.d.cts → front-matter-CXfCT8a8.d.mts} +3 -3
  94. package/dist/{front-matter-DJg5sQXt.d.mts.map → front-matter-CXfCT8a8.d.mts.map} +1 -1
  95. package/dist/front-matter-DTorR58b.d.cts +16 -0
  96. package/dist/{front-matter-DmO4uu91.d.cts.map → front-matter-DTorR58b.d.cts.map} +1 -1
  97. package/dist/{front-matter-DJg5sQXt.d.mts → front-matter-DySGMCRE.d.cts} +1 -1
  98. package/dist/front-matter-DySGMCRE.d.cts.map +1 -0
  99. package/dist/helpers/capnp.d.cts +1 -1
  100. package/dist/helpers/capnp.d.mts +1 -1
  101. package/dist/helpers/capnp.mjs +1 -1
  102. package/dist/helpers/create-builtin.d.cts +1 -1
  103. package/dist/helpers/create-builtin.d.mts +1 -1
  104. package/dist/helpers/create-builtin.mjs +1 -1
  105. package/dist/helpers/index.d.cts +4 -4
  106. package/dist/helpers/index.d.mts +4 -4
  107. package/dist/helpers/index.mjs +4 -4
  108. package/dist/helpers/refkey.d.cts +1 -1
  109. package/dist/helpers/refkey.d.mts +1 -1
  110. package/dist/helpers/refkey.mjs +1 -1
  111. package/dist/helpers/typescript.d.cts +1 -1
  112. package/dist/helpers/typescript.d.mts +1 -1
  113. package/dist/helpers/typescript.mjs +1 -1
  114. package/dist/index.cjs +1 -51
  115. package/dist/index.d.cts +1 -1
  116. package/dist/index.d.cts.map +1 -1
  117. package/dist/index.d.mts +1 -1
  118. package/dist/index.d.mts.map +1 -1
  119. package/dist/index.mjs +1 -51
  120. package/dist/index.mjs.map +1 -1
  121. package/dist/markdown/components/front-matter.d.cts +1 -1
  122. package/dist/markdown/components/front-matter.d.mts +1 -1
  123. package/dist/markdown/components/front-matter.mjs +1 -1
  124. package/dist/markdown/components/index.cjs +5 -5
  125. package/dist/markdown/components/index.d.cts +7 -7
  126. package/dist/markdown/components/index.d.mts +7 -7
  127. package/dist/markdown/components/index.mjs +9 -9
  128. package/dist/markdown/components/markdown-file.cjs +5 -5
  129. package/dist/markdown/components/markdown-file.d.cts +4 -4
  130. package/dist/markdown/components/markdown-file.d.mts +4 -4
  131. package/dist/markdown/components/markdown-file.mjs +6 -6
  132. package/dist/markdown/components/markdown-table.d.cts +3 -3
  133. package/dist/markdown/components/markdown-table.d.mts +3 -3
  134. package/dist/markdown/components/markdown-table.mjs +2 -2
  135. package/dist/markdown/contexts/index.d.cts +2 -2
  136. package/dist/markdown/contexts/index.d.mts +2 -2
  137. package/dist/markdown/contexts/index.mjs +2 -2
  138. package/dist/markdown/contexts/markdown-table.d.cts +1 -1
  139. package/dist/markdown/contexts/markdown-table.d.mts +1 -1
  140. package/dist/markdown/contexts/markdown-table.mjs +1 -1
  141. package/dist/markdown/index.cjs +5 -5
  142. package/dist/markdown/index.d.cts +8 -8
  143. package/dist/markdown/index.d.mts +8 -8
  144. package/dist/markdown/index.mjs +10 -10
  145. package/dist/markdown-file-BkmvexMF.d.cts +29 -0
  146. package/dist/markdown-file-BkmvexMF.d.cts.map +1 -0
  147. package/dist/{markdown-file-DR8AzoU8.d.mts → markdown-file-C7o9bn--.d.mts} +7 -7
  148. package/dist/{markdown-file-CBuFHs8q.d.cts.map → markdown-file-C7o9bn--.d.mts.map} +1 -1
  149. package/dist/{markdown-file-BDzUAptw.cjs → markdown-file-CFt8hI37.cjs} +3 -3
  150. package/dist/{markdown-file-DmarbNrj.mjs → markdown-file-CX8auFpl.mjs} +5 -5
  151. package/dist/{markdown-file-DmarbNrj.mjs.map → markdown-file-CX8auFpl.mjs.map} +1 -1
  152. package/dist/markdown-file-CbVNKFje.d.cts +29 -0
  153. package/dist/{markdown-file-DR8AzoU8.d.mts.map → markdown-file-CbVNKFje.d.cts.map} +1 -1
  154. package/dist/{markdown-file-CBuFHs8q.d.cts → markdown-file-DMrhFhUU.d.mts} +4 -4
  155. package/dist/markdown-file-DMrhFhUU.d.mts.map +1 -0
  156. package/dist/{markdown-table-Dt4BocWh.d.mts → markdown-table-B7EUUNbl.d.mts} +7 -7
  157. package/dist/{markdown-table-Dt4BocWh.d.mts.map → markdown-table-B7EUUNbl.d.mts.map} +1 -1
  158. package/dist/markdown-table-CGXp5JbS.d.mts +28 -0
  159. package/dist/{markdown-table-lHHt0yAj.d.cts.map → markdown-table-CGXp5JbS.d.mts.map} +1 -1
  160. package/dist/markdown-table-CKMEMcyb.d.cts +28 -0
  161. package/dist/markdown-table-CKMEMcyb.d.cts.map +1 -0
  162. package/dist/{markdown-table-DIfM03TF.d.mts → markdown-table-CZMEY6IR.d.cts} +1 -1
  163. package/dist/{markdown-table-Dxxupt8O.d.cts.map → markdown-table-CZMEY6IR.d.cts.map} +1 -1
  164. package/dist/{markdown-table-CRVCcmmS.mjs → markdown-table-CnEur72Z.mjs} +2 -2
  165. package/dist/{markdown-table-CRVCcmmS.mjs.map → markdown-table-CnEur72Z.mjs.map} +1 -1
  166. package/dist/{markdown-table-lHHt0yAj.d.cts → markdown-table-Cv3P72sN.d.cts} +3 -3
  167. package/dist/markdown-table-Cv3P72sN.d.cts.map +1 -0
  168. package/dist/{markdown-table-BKaAfa6u.mjs → markdown-table-PT2TFFY3.mjs} +1 -1
  169. package/dist/{markdown-table-BKaAfa6u.mjs.map → markdown-table-PT2TFFY3.mjs.map} +1 -1
  170. package/dist/{markdown-table-Dxxupt8O.d.cts → markdown-table-t6Z-cmxX.d.mts} +1 -1
  171. package/dist/{markdown-table-DIfM03TF.d.mts.map → markdown-table-t6Z-cmxX.d.mts.map} +1 -1
  172. package/dist/{meta-vNWUnnLO.mjs → meta-BEeFPjoM.mjs} +1 -1
  173. package/dist/{meta-vNWUnnLO.mjs.map → meta-BEeFPjoM.mjs.map} +1 -1
  174. package/dist/{meta-CyClLk1y.d.mts → meta-D0y5uZo4.d.cts} +1 -1
  175. package/dist/{meta-CyClLk1y.d.mts.map → meta-D0y5uZo4.d.cts.map} +1 -1
  176. package/dist/{meta-xgVuv08y.d.cts → meta-DJqWxY95.d.mts} +1 -1
  177. package/dist/{meta-xgVuv08y.d.cts.map → meta-DJqWxY95.d.mts.map} +1 -1
  178. package/dist/output-B5O_qz0i.cjs +44 -0
  179. package/dist/{output-DrYA3tAH.d.cts → output-C5BkcdCd.d.cts} +9 -4
  180. package/dist/output-C5BkcdCd.d.cts.map +1 -0
  181. package/dist/{output-DIrAcd1E.d.mts → output-C7mlHz0P.d.mts} +9 -4
  182. package/dist/output-C7mlHz0P.d.mts.map +1 -0
  183. package/dist/output-DcuryjuV.mjs +39 -0
  184. package/dist/output-DcuryjuV.mjs.map +1 -0
  185. package/dist/output-XvUhyMSi.d.cts +24 -0
  186. package/dist/output-XvUhyMSi.d.cts.map +1 -0
  187. package/dist/{plugin-aN6BnM8T.d.cts → plugin-CyBCpZyU.d.mts} +3 -5
  188. package/dist/plugin-CyBCpZyU.d.mts.map +1 -0
  189. package/dist/{plugin-c-C_CW4P.d.mts → plugin-DIlnN1SV.d.cts} +3 -5
  190. package/dist/plugin-DIlnN1SV.d.cts.map +1 -0
  191. package/dist/{record-expression-DYCDlTyT.d.mts → record-expression-ChoLAsVS.d.mts} +1 -1
  192. package/dist/{record-expression-B4Wa9HOn.d.cts.map → record-expression-ChoLAsVS.d.mts.map} +1 -1
  193. package/dist/{record-expression-BHpXe3mY.mjs → record-expression-D5W72rZN.mjs} +1 -1
  194. package/dist/{record-expression-BHpXe3mY.mjs.map → record-expression-D5W72rZN.mjs.map} +1 -1
  195. package/dist/{record-expression-B4Wa9HOn.d.cts → record-expression-Dwg_PZpg.d.cts} +1 -1
  196. package/dist/{record-expression-DYCDlTyT.d.mts.map → record-expression-Dwg_PZpg.d.cts.map} +1 -1
  197. package/dist/{refkey-DqDd2Fzs.d.cts → refkey-CP7MJMac.d.cts} +1 -1
  198. package/dist/refkey-CP7MJMac.d.cts.map +1 -0
  199. package/dist/{refkey-CyhX8n2z.mjs → refkey-CQVHeuAq.mjs} +1 -1
  200. package/dist/{refkey-CyhX8n2z.mjs.map → refkey-CQVHeuAq.mjs.map} +1 -1
  201. package/dist/{refkey-CqkD5Tjp.d.mts → refkey-D6OjgKgS.d.mts} +1 -1
  202. package/dist/refkey-D6OjgKgS.d.mts.map +1 -0
  203. package/dist/{reflection-CAz7PWzK.d.mts → reflection-CfOmSgDn.d.mts} +2 -2
  204. package/dist/{reflection-CAz7PWzK.d.mts.map → reflection-CfOmSgDn.d.mts.map} +1 -1
  205. package/dist/{reflection-JGVev2J6.d.cts → reflection-Q87E_-w_.d.cts} +2 -2
  206. package/dist/{reflection-JGVev2J6.d.cts.map → reflection-Q87E_-w_.d.cts.map} +1 -1
  207. package/dist/{reflection-ExLWJ473.mjs → reflection-TXYxCAwV.mjs} +1 -1
  208. package/dist/{reflection-ExLWJ473.mjs.map → reflection-TXYxCAwV.mjs.map} +1 -1
  209. package/dist/{single-line-comment-PMv_zrfe.d.mts → single-line-comment-BKFqKn-D.d.mts} +2 -2
  210. package/dist/{single-line-comment-PMv_zrfe.d.mts.map → single-line-comment-BKFqKn-D.d.mts.map} +1 -1
  211. package/dist/single-line-comment-Ct_putR7.d.mts +23 -0
  212. package/dist/single-line-comment-Ct_putR7.d.mts.map +1 -0
  213. package/dist/{single-line-comment-DWF0HxhM.d.cts → single-line-comment-D2y_A8e1.d.cts} +2 -2
  214. package/dist/{single-line-comment-DWF0HxhM.d.cts.map → single-line-comment-D2y_A8e1.d.cts.map} +1 -1
  215. package/dist/{single-line-comment-CGkTdNez.mjs → single-line-comment-DW0LUIQ2.mjs} +1 -1
  216. package/dist/{single-line-comment-CGkTdNez.mjs.map → single-line-comment-DW0LUIQ2.mjs.map} +1 -1
  217. package/dist/single-line-comment-DWQy5rrk.d.cts +23 -0
  218. package/dist/single-line-comment-DWQy5rrk.d.cts.map +1 -0
  219. package/dist/source-file-B51pGSXX.d.mts +33 -0
  220. package/dist/{source-file-CQl0UCgf.d.mts.map → source-file-B51pGSXX.d.mts.map} +1 -1
  221. package/dist/{source-file-CQl0UCgf.d.mts → source-file-BhqYj8m-.d.mts} +2 -2
  222. package/dist/{source-file-K-TgMOts.d.cts.map → source-file-BhqYj8m-.d.mts.map} +1 -1
  223. package/dist/{source-file-C2DlmRUm.mjs → source-file-Bl7eV0Li.mjs} +2 -2
  224. package/dist/{source-file-C2DlmRUm.mjs.map → source-file-Bl7eV0Li.mjs.map} +1 -1
  225. package/dist/source-file-DiisOeS2.d.cts +33 -0
  226. package/dist/source-file-DiisOeS2.d.cts.map +1 -0
  227. package/dist/{source-file-C8ntga6V.cjs → source-file-DnqaQY90.cjs} +1 -1
  228. package/dist/{source-file-K-TgMOts.d.cts → source-file-gMJwiJAw.d.cts} +2 -2
  229. package/dist/source-file-gMJwiJAw.d.cts.map +1 -0
  230. package/dist/{tsdoc-fSRc8v2O.cjs → tsdoc-BufL8muf.cjs} +1 -1
  231. package/dist/{tsdoc-C9i5z6EE.mjs → tsdoc-DB1Qzwsn.mjs} +2 -2
  232. package/dist/{tsdoc-C9i5z6EE.mjs.map → tsdoc-DB1Qzwsn.mjs.map} +1 -1
  233. package/dist/{tsdoc-BlBkyIWO.d.cts → tsdoc-DiBR7m1J.d.cts} +3 -3
  234. package/dist/{tsdoc-BlBkyIWO.d.cts.map → tsdoc-DiBR7m1J.d.cts.map} +1 -1
  235. package/dist/{tsdoc-cuL_4mkw.d.mts → tsdoc-KHfXy9HE.d.mts} +2 -2
  236. package/dist/{tsdoc-cuL_4mkw.d.mts.map → tsdoc-KHfXy9HE.d.mts.map} +1 -1
  237. package/dist/{tsdoc-reflection-BpkFCXw6.cjs → tsdoc-reflection-B5-J4ia-.cjs} +2 -2
  238. package/dist/{tsdoc-reflection-BFTBtjQ2.mjs → tsdoc-reflection-BGPyymTb.mjs} +3 -3
  239. package/dist/{tsdoc-reflection-BFTBtjQ2.mjs.map → tsdoc-reflection-BGPyymTb.mjs.map} +1 -1
  240. package/dist/{tsdoc-reflection-nKQBTaXx.d.mts → tsdoc-reflection-CYz5udTh.d.mts} +6 -6
  241. package/dist/{tsdoc-reflection-nKQBTaXx.d.mts.map → tsdoc-reflection-CYz5udTh.d.mts.map} +1 -1
  242. package/dist/{tsdoc-reflection-BIQsHdDs.d.cts → tsdoc-reflection-DTYkFxKy.d.cts} +6 -6
  243. package/dist/{tsdoc-reflection-BIQsHdDs.d.cts.map → tsdoc-reflection-DTYkFxKy.d.cts.map} +1 -1
  244. package/dist/tsdoc-reflection-cRd43W18.d.cts +19 -0
  245. package/dist/tsdoc-reflection-cRd43W18.d.cts.map +1 -0
  246. package/dist/types/components.d.cts +1 -1
  247. package/dist/types/components.d.mts +1 -1
  248. package/dist/types/components.mjs +1 -1
  249. package/dist/types/index.d.cts +2 -2
  250. package/dist/types/index.d.mts +2 -2
  251. package/dist/types/index.mjs +2 -2
  252. package/dist/types/plugin.d.cts +1 -1
  253. package/dist/types/plugin.d.mts +1 -1
  254. package/dist/types/plugin.mjs +1 -1
  255. package/dist/typescript/components/builtin-file.cjs +7 -7
  256. package/dist/typescript/components/builtin-file.d.cts +5 -5
  257. package/dist/typescript/components/builtin-file.d.mts +5 -5
  258. package/dist/typescript/components/builtin-file.mjs +7 -7
  259. package/dist/typescript/components/dynamic-import-statement.d.cts +1 -1
  260. package/dist/typescript/components/dynamic-import-statement.d.mts +1 -1
  261. package/dist/typescript/components/dynamic-import-statement.mjs +1 -1
  262. package/dist/typescript/components/entry-file.cjs +6 -6
  263. package/dist/typescript/components/entry-file.d.cts +4 -4
  264. package/dist/typescript/components/entry-file.d.mts +4 -4
  265. package/dist/typescript/components/entry-file.mjs +6 -6
  266. package/dist/typescript/components/index.cjs +12 -12
  267. package/dist/typescript/components/index.d.cts +12 -12
  268. package/dist/typescript/components/index.d.mts +12 -12
  269. package/dist/typescript/components/index.mjs +15 -15
  270. package/dist/typescript/components/record-expression.d.cts +1 -1
  271. package/dist/typescript/components/record-expression.d.mts +1 -1
  272. package/dist/typescript/components/record-expression.mjs +1 -1
  273. package/dist/typescript/components/tsdoc-reflection.cjs +4 -4
  274. package/dist/typescript/components/tsdoc-reflection.d.cts +3 -3
  275. package/dist/typescript/components/tsdoc-reflection.d.mts +3 -3
  276. package/dist/typescript/components/tsdoc-reflection.mjs +4 -4
  277. package/dist/typescript/components/tsdoc.cjs +2 -2
  278. package/dist/typescript/components/tsdoc.d.cts +2 -2
  279. package/dist/typescript/components/tsdoc.d.mts +2 -2
  280. package/dist/typescript/components/tsdoc.mjs +2 -2
  281. package/dist/typescript/components/typescript-file.cjs +5 -5
  282. package/dist/typescript/components/typescript-file.d.cts +3 -3
  283. package/dist/typescript/components/typescript-file.d.mts +3 -3
  284. package/dist/typescript/components/typescript-file.mjs +5 -5
  285. package/dist/typescript/components/typescript-interface.cjs +5 -5
  286. package/dist/typescript/components/typescript-interface.d.cts +2 -2
  287. package/dist/typescript/components/typescript-interface.d.mts +2 -2
  288. package/dist/typescript/components/typescript-interface.mjs +5 -5
  289. package/dist/typescript/components/typescript-object.cjs +5 -5
  290. package/dist/typescript/components/typescript-object.d.cts +2 -2
  291. package/dist/typescript/components/typescript-object.d.mts +2 -2
  292. package/dist/typescript/components/typescript-object.mjs +5 -5
  293. package/dist/typescript/index.cjs +12 -12
  294. package/dist/typescript/index.d.cts +12 -12
  295. package/dist/typescript/index.d.mts +12 -12
  296. package/dist/typescript/index.mjs +15 -15
  297. package/dist/{typescript-CrVxDaSo.mjs → typescript-BXhP0qIJ.mjs} +1 -1
  298. package/dist/{typescript-CrVxDaSo.mjs.map → typescript-BXhP0qIJ.mjs.map} +1 -1
  299. package/dist/{typescript-BpWiXYf3.d.mts → typescript-CXP7Oa6_.d.cts} +1 -1
  300. package/dist/{typescript-BpWiXYf3.d.mts.map → typescript-CXP7Oa6_.d.cts.map} +1 -1
  301. package/dist/{typescript-CJjS7_9C.d.cts → typescript-DvynKONm.d.mts} +1 -1
  302. package/dist/{typescript-CJjS7_9C.d.cts.map → typescript-DvynKONm.d.mts.map} +1 -1
  303. package/dist/{typescript-file-DKYD5v5W.cjs → typescript-file-4oY1sIRB.cjs} +3 -3
  304. package/dist/{typescript-file-BPQyRh10.d.cts → typescript-file-C9TPcvPm.d.mts} +3 -3
  305. package/dist/{typescript-file-BPQyRh10.d.cts.map → typescript-file-C9TPcvPm.d.mts.map} +1 -1
  306. package/dist/{typescript-file-CWoL1YfK.d.mts → typescript-file-CJxOp_Xl.d.cts} +3 -3
  307. package/dist/{typescript-file-CWoL1YfK.d.mts.map → typescript-file-CJxOp_Xl.d.cts.map} +1 -1
  308. package/dist/typescript-file-CY0SmW6n.d.mts +50 -0
  309. package/dist/typescript-file-CY0SmW6n.d.mts.map +1 -0
  310. package/dist/typescript-file-DWYfy1-C.d.cts +50 -0
  311. package/dist/typescript-file-DWYfy1-C.d.cts.map +1 -0
  312. package/dist/{typescript-file-CZiIcJah.mjs → typescript-file-iXGdOTZv.mjs} +4 -4
  313. package/dist/{typescript-file-CZiIcJah.mjs.map → typescript-file-iXGdOTZv.mjs.map} +1 -1
  314. package/dist/{typescript-interface-BleA7_Sa.d.cts → typescript-interface-4Kxgaglq.d.mts} +6 -6
  315. package/dist/{typescript-interface-BleA7_Sa.d.cts.map → typescript-interface-4Kxgaglq.d.mts.map} +1 -1
  316. package/dist/{typescript-interface-DC2d5S0V.cjs → typescript-interface-B0AoZx3f.cjs} +2 -2
  317. package/dist/{typescript-interface-DkVOFLEt.d.mts → typescript-interface-B1mhCCoV.d.cts} +5 -5
  318. package/dist/{typescript-interface-DkVOFLEt.d.mts.map → typescript-interface-B1mhCCoV.d.cts.map} +1 -1
  319. package/dist/typescript-interface-C0mgTtdj.d.cts +26 -0
  320. package/dist/typescript-interface-C0mgTtdj.d.cts.map +1 -0
  321. package/dist/{typescript-interface-CDzEeHla.mjs → typescript-interface-DoEGxV_8.mjs} +3 -3
  322. package/dist/{typescript-interface-CDzEeHla.mjs.map → typescript-interface-DoEGxV_8.mjs.map} +1 -1
  323. package/dist/{typescript-object-CGjPvsYM.cjs → typescript-object-C4d4fThY.cjs} +2 -2
  324. package/dist/{typescript-object-FaGWSJWA.mjs → typescript-object-C5oh925V.mjs} +3 -3
  325. package/dist/{typescript-object-FaGWSJWA.mjs.map → typescript-object-C5oh925V.mjs.map} +1 -1
  326. package/dist/{typescript-object-B4V9RkaE.d.cts → typescript-object-DAepqTrw.d.cts} +6 -6
  327. package/dist/{typescript-object-Cphz389O.d.mts.map → typescript-object-DAepqTrw.d.cts.map} +1 -1
  328. package/dist/typescript-object-DUivJKpz.d.cts +30 -0
  329. package/dist/{typescript-object-B4V9RkaE.d.cts.map → typescript-object-DUivJKpz.d.cts.map} +1 -1
  330. package/dist/{typescript-object-Cphz389O.d.mts → typescript-object-TlHt1hQc.d.mts} +2 -2
  331. package/dist/typescript-object-TlHt1hQc.d.mts.map +1 -0
  332. package/package.json +16 -30
  333. package/dist/index-sViox9YW.d.mts +0 -1
  334. package/dist/index-uY8Qbwfx.d.mts +0 -1
  335. package/dist/output-CUxfvVVp.mjs +0 -35
  336. package/dist/output-CUxfvVVp.mjs.map +0 -1
  337. package/dist/output-Ck9L8v3E.cjs +0 -40
  338. package/dist/output-DIrAcd1E.d.mts.map +0 -1
  339. package/dist/output-DrYA3tAH.d.cts.map +0 -1
  340. package/dist/plugin-aN6BnM8T.d.cts.map +0 -1
  341. package/dist/plugin-c-C_CW4P.d.mts.map +0 -1
  342. package/dist/refkey-CqkD5Tjp.d.mts.map +0 -1
  343. package/dist/refkey-DqDd2Fzs.d.cts.map +0 -1
  344. package/dist/types/_internal.cjs +0 -0
  345. package/dist/types/_internal.d.cts +0 -42
  346. package/dist/types/_internal.d.cts.map +0 -1
  347. package/dist/types/_internal.d.mts +0 -42
  348. package/dist/types/_internal.d.mts.map +0 -1
  349. package/dist/types/_internal.mjs +0 -1
  350. /package/dist/{components-BYyc8-6U.cjs → components-B0evB5xd.cjs} +0 -0
  351. /package/dist/{components-BHsPgUVD.mjs → components-ByryZacA.mjs} +0 -0
  352. /package/dist/{components-C4MWIzKk.mjs → components-C3qpgLKV.mjs} +0 -0
  353. /package/dist/{components-DTKCKgWS.mjs → components-Cr-i-ofB.mjs} +0 -0
  354. /package/dist/{components-bxkcKDVx.mjs → components-NXgsRgB4.mjs} +0 -0
  355. /package/dist/{context-D-lZVHpZ.cjs → context-DNdlL_gp.cjs} +0 -0
  356. /package/dist/{contexts-D631HKlO.mjs → contexts-BqTplHQH.mjs} +0 -0
  357. /package/dist/{contexts-DppcDJxB.mjs → contexts-D-vYhGdM.mjs} +0 -0
  358. /package/dist/{contexts-Do5bLA7f.cjs → contexts-DWGMeWga.cjs} +0 -0
  359. /package/dist/{index--p6oQT9I.d.mts → index-BJ8-FA6N.d.cts} +0 -0
  360. /package/dist/{index-BUYyA1Xh.d.cts → index-BXpMZvwA.d.cts} +0 -0
  361. /package/dist/{index-CryTAIZM.d.mts → index-BhY1qu3m.d.cts} +0 -0
  362. /package/dist/{index-CyJfB4lt.d.cts → index-BjgW3E7y.d.mts} +0 -0
  363. /package/dist/{index-CzItj62a.d.mts → index-C3usUse7.d.mts} +0 -0
  364. /package/dist/{index-D9IqtUDs.d.cts → index-D13oYj4_.d.mts} +0 -0
  365. /package/dist/{index-Dt_vyhB_.d.cts → index-DBGd4WeR.d.mts} +0 -0
  366. /package/dist/{index-Iujpc9_6.d.mts → index-DdxxIAKU.d.cts} +0 -0
  367. /package/dist/{index-gxEAO6Ad.d.cts → index-DpEKQcoR.d.cts} +0 -0
  368. /package/dist/{index-qCd8f7Um.d.cts → index-gpCH5158.d.mts} +0 -0
  369. /package/dist/{meta-CBKMGDr1.cjs → meta-BVJcyXVs.cjs} +0 -0
  370. /package/dist/{plugin-DTwUbNHt.mjs → plugin-BzF8Q2v1.mjs} +0 -0
  371. /package/dist/{reflection-BSrdR0Qz.cjs → reflection-BktS88RM.cjs} +0 -0
  372. /package/dist/{single-line-comment-DvU69OGj.cjs → single-line-comment-tAWBgL9v.cjs} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"markdown-table-BKaAfa6u.mjs","names":["createContext","createNamedContext","useContext","MarkdownTableColumnContext","useMarkdownTableColumn","MarkdownTableContext","columns","data","useMarkdownTable"],"sources":["../src/markdown/contexts/markdown-table.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\";\n\nexport interface MarkdownTableColumnContextInterface<\n T extends Record<string, any> = Record<string, any>\n> {\n index: number;\n name: keyof T;\n align: \"left\" | \"right\" | \"center\";\n width: number;\n}\n\n/**\n * The Powerlines context used in template rendering.\n */\nexport const MarkdownTableColumnContext: ComponentContext<MarkdownTableColumnContextInterface> =\n createNamedContext<MarkdownTableColumnContextInterface>(\n \"MarkdownTableColumn\",\n {} as MarkdownTableColumnContextInterface\n );\n\n/**\n * Hook to access the Powerlines Context.\n *\n * @returns The Context.\n */\nexport function useMarkdownTableColumn() {\n return useContext<MarkdownTableColumnContextInterface>(\n MarkdownTableColumnContext\n );\n}\n\nexport interface MarkdownTableContextInterface<\n T extends Record<string, any> = Record<string, any>\n> {\n columns: MarkdownTableColumnContextInterface<T>[];\n data: T[];\n}\n\n/**\n * The Powerlines context used in template rendering.\n */\nexport const MarkdownTableContext: ComponentContext<MarkdownTableContextInterface> =\n createContext<MarkdownTableContextInterface>({\n columns: [],\n data: []\n } as MarkdownTableContextInterface);\n\n/**\n * Hook to access the Powerlines Context.\n *\n * @returns The Context.\n */\nexport function useMarkdownTable() {\n return useContext<MarkdownTableContextInterface>(MarkdownTableContext);\n}\n"],"mappings":""}
1
+ {"version":3,"file":"markdown-table-PT2TFFY3.mjs","names":["createContext","createNamedContext","useContext","MarkdownTableColumnContext","useMarkdownTableColumn","MarkdownTableContext","columns","data","useMarkdownTable"],"sources":["../src/markdown/contexts/markdown-table.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\";\n\nexport interface MarkdownTableColumnContextInterface<\n T extends Record<string, any> = Record<string, any>\n> {\n index: number;\n name: keyof T;\n align: \"left\" | \"right\" | \"center\";\n width: number;\n}\n\n/**\n * The Powerlines context used in template rendering.\n */\nexport const MarkdownTableColumnContext: ComponentContext<MarkdownTableColumnContextInterface> =\n createNamedContext<MarkdownTableColumnContextInterface>(\n \"MarkdownTableColumn\",\n {} as MarkdownTableColumnContextInterface\n );\n\n/**\n * Hook to access the Powerlines Context.\n *\n * @returns The Context.\n */\nexport function useMarkdownTableColumn() {\n return useContext<MarkdownTableColumnContextInterface>(\n MarkdownTableColumnContext\n );\n}\n\nexport interface MarkdownTableContextInterface<\n T extends Record<string, any> = Record<string, any>\n> {\n columns: MarkdownTableColumnContextInterface<T>[];\n data: T[];\n}\n\n/**\n * The Powerlines context used in template rendering.\n */\nexport const MarkdownTableContext: ComponentContext<MarkdownTableContextInterface> =\n createContext<MarkdownTableContextInterface>({\n columns: [],\n data: []\n } as MarkdownTableContextInterface);\n\n/**\n * Hook to access the Powerlines Context.\n *\n * @returns The Context.\n */\nexport function useMarkdownTable() {\n return useContext<MarkdownTableContextInterface>(MarkdownTableContext);\n}\n"],"mappings":""}
@@ -35,4 +35,4 @@ declare type __ΩMarkdownTableColumnContextInterface = any[];
35
35
  declare type __ΩMarkdownTableContextInterface = any[];
36
36
  //#endregion
37
37
  export { __ΩMarkdownTableColumnContextInterface as a, useMarkdownTableColumn as c, MarkdownTableContextInterface as i, MarkdownTableColumnContextInterface as n, __ΩMarkdownTableContextInterface as o, MarkdownTableContext as r, useMarkdownTable as s, MarkdownTableColumnContext as t };
38
- //# sourceMappingURL=markdown-table-Dxxupt8O.d.cts.map
38
+ //# sourceMappingURL=markdown-table-t6Z-cmxX.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"markdown-table-DIfM03TF.d.mts","names":[],"sources":["../src/markdown/contexts/markdown-table.ts"],"sourcesContent":[],"mappings":";;;UAqBiB,8CACL,sBAAsB;;EADjB,IAAA,EAAA,MAIH,CAJG;EACL,KAAA,EAAA,MAAA,GAAA,OAAA,GAAA,QAAA;EAAsB,KAAA,EAAA,MAAA;;;AAWlC;AAWA;AAMiB,cAjBJ,0BAiBiC,EAjBL,gBAiBK,CAjBY,mCAiBZ,CAAA;;;;;;AAIrC,iBAVO,sBAAA,CAAA,CAUP,EAV6B,mCAU7B,CAV6B,MAU7B,CAAA,MAAA,EAAA,GAAA,CAAA,CAAA,GAAA,SAAA;AAMI,UAVI,6BAUmC,CAAA,UATxC,MASwC,CAAA,MAAjB,EAAA,GAAA,CAAA,GATD,MASC,CAAA,MAAgB,EAAA,GAAA,CAAA,CAAA,CAAA;EAWnC,OAAA,EAlBL,mCAkBqB,CAlBe,CAkBf,CAAA,EAAA;QAjBxB;;;;;cAMK,sBAAsB,iBAAiB;;;;;;iBAWpC,gBAAA,CAAA,GAAgB,8BAAA"}
1
+ {"version":3,"file":"markdown-table-t6Z-cmxX.d.mts","names":[],"sources":["../src/markdown/contexts/markdown-table.ts"],"sourcesContent":[],"mappings":";;;UAqBiB,8CACL,sBAAsB;;EADjB,IAAA,EAAA,MAIH,CAJG;EACL,KAAA,EAAA,MAAA,GAAA,OAAA,GAAA,QAAA;EAAsB,KAAA,EAAA,MAAA;;;AAWlC;AAWA;AAMiB,cAjBJ,0BAiBiC,EAjBL,gBAiBK,CAjBY,mCAiBZ,CAAA;;;;;;AAIrC,iBAVO,sBAAA,CAAA,CAUP,EAV6B,mCAU7B,CAV6B,MAU7B,CAAA,MAAA,EAAA,GAAA,CAAA,CAAA,GAAA,SAAA;AAMI,UAVI,6BAUmC,CAAA,UATxC,MASwC,CAAA,MAAjB,EAAA,GAAA,CAAA,GATD,MASC,CAAA,MAAgB,EAAA,GAAA,CAAA,CAAA,CAAA;EAWnC,OAAA,EAlBL,mCAkBqB,CAlBe,CAkBf,CAAA,EAAA;QAjBxB;;;;;cAMK,sBAAsB,iBAAiB;;;;;;iBAWpC,gBAAA,CAAA,GAAgB,8BAAA"}
@@ -34,4 +34,4 @@ function useMeta() {
34
34
 
35
35
  //#endregion
36
36
  export { useMetaSafe as i, useMeta as n, useMetaContext as r, MetaContext as t };
37
- //# sourceMappingURL=meta-vNWUnnLO.mjs.map
37
+ //# sourceMappingURL=meta-BEeFPjoM.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"meta-vNWUnnLO.mjs","names":["createNamedContext","useContext","MetaContext","useMetaContext","useMetaSafe","meta","undefined","useMeta","Error"],"sources":["../src/core/contexts/meta.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 {\n ComponentContext,\n createNamedContext,\n useContext\n} from \"@alloy-js/core\";\nimport type { StoragePreset } from \"powerlines/types/fs\";\n\nexport interface MetaItem {\n /**\n * The kind of metadata item.\n */\n kind?: \"builtin\" | \"entry\" | string;\n\n /**\n * Whether to skip formatting for this output.\n */\n skipFormat?: boolean;\n\n /**\n * The storage preset or adapter name 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 | string;\n\n [key: string]: any;\n}\n\n/**\n * The Powerlines meta context used to determine metadata of files generated during rendering.\n */\nexport const MetaContext: ComponentContext<Record<string, MetaItem>> =\n createNamedContext<Record<string, MetaItem>>(\"Meta\");\n\n/**\n * Hook to access the Powerlines Context.\n *\n * @returns The Context.\n */\nexport function useMetaContext(): Record<string, MetaItem> | undefined {\n return useContext(MetaContext);\n}\n\n/**\n * Hook to safely access the render context's metadata.\n *\n * @returns The Powerlines context or undefined if not set.\n */\nexport function useMetaSafe(): Record<string, MetaItem> | undefined {\n const meta = useMetaContext();\n\n return meta ?? undefined;\n}\n\n/**\n * Hook to access the render context's metadata.\n *\n * @returns The Powerlines context.\n */\nexport function useMeta(): Record<string, MetaItem> {\n const meta = useMetaSafe();\n if (!meta) {\n throw new Error(\n \"Powerlines metadata is not available in the rendering context. 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 meta;\n}\n"],"mappings":""}
1
+ {"version":3,"file":"meta-BEeFPjoM.mjs","names":["createNamedContext","useContext","MetaContext","useMetaContext","useMetaSafe","meta","undefined","useMeta","Error"],"sources":["../src/core/contexts/meta.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 {\n ComponentContext,\n createNamedContext,\n useContext\n} from \"@alloy-js/core\";\nimport type { StoragePreset } from \"powerlines/types/fs\";\n\nexport interface MetaItem {\n /**\n * The kind of metadata item.\n */\n kind?: \"builtin\" | \"entry\" | string;\n\n /**\n * Whether to skip formatting for this output.\n */\n skipFormat?: boolean;\n\n /**\n * The storage preset or adapter name 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 | string;\n\n [key: string]: any;\n}\n\n/**\n * The Powerlines meta context used to determine metadata of files generated during rendering.\n */\nexport const MetaContext: ComponentContext<Record<string, MetaItem>> =\n createNamedContext<Record<string, MetaItem>>(\"Meta\");\n\n/**\n * Hook to access the Powerlines Context.\n *\n * @returns The Context.\n */\nexport function useMetaContext(): Record<string, MetaItem> | undefined {\n return useContext(MetaContext);\n}\n\n/**\n * Hook to safely access the render context's metadata.\n *\n * @returns The Powerlines context or undefined if not set.\n */\nexport function useMetaSafe(): Record<string, MetaItem> | undefined {\n const meta = useMetaContext();\n\n return meta ?? undefined;\n}\n\n/**\n * Hook to access the render context's metadata.\n *\n * @returns The Powerlines context.\n */\nexport function useMeta(): Record<string, MetaItem> {\n const meta = useMetaSafe();\n if (!meta) {\n throw new Error(\n \"Powerlines metadata is not available in the rendering context. 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 meta;\n}\n"],"mappings":""}
@@ -45,4 +45,4 @@ declare function useMeta(): Record<string, MetaItem>;
45
45
  declare type __ΩMetaItem = any[];
46
46
  //#endregion
47
47
  export { useMetaContext as a, useMeta as i, MetaItem as n, useMetaSafe as o, __ΩMetaItem as r, MetaContext as t };
48
- //# sourceMappingURL=meta-CyClLk1y.d.mts.map
48
+ //# sourceMappingURL=meta-D0y5uZo4.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"meta-CyClLk1y.d.mts","names":[],"sources":["../src/core/contexts/meta.ts"],"sourcesContent":[],"mappings":";;;;UAyBiB,QAAA;;AAAjB;AAyBA;EAA0D,IAAA,CAAA,EAAA,SAAA,GAAA,OAAA,GAAA,MAAA;EAAf;;;EAQ3B,UAAA,CAAA,EAAA,OAAc;EASd;AAWhB;;;;;YApCY;;;;;;cAQC,aAAa,iBAAiB,eAAe;;;;;;iBAQ1C,cAAA,CAAA,GAAkB,eAAe;;;;;;iBASjC,WAAA,CAAA,GAAe,eAAe;;;;;;iBAW9B,OAAA,CAAA,GAAW,eAAe"}
1
+ {"version":3,"file":"meta-D0y5uZo4.d.cts","names":[],"sources":["../src/core/contexts/meta.ts"],"sourcesContent":[],"mappings":";;;;UAyBiB,QAAA;;AAAjB;AAyBA;EAA0D,IAAA,CAAA,EAAA,SAAA,GAAA,OAAA,GAAA,MAAA;EAAf;;;EAQ3B,UAAA,CAAA,EAAA,OAAc;EASd;AAWhB;;;;;YApCY;;;;;;cAQC,aAAa,iBAAiB,eAAe;;;;;;iBAQ1C,cAAA,CAAA,GAAkB,eAAe;;;;;;iBASjC,WAAA,CAAA,GAAe,eAAe;;;;;;iBAW9B,OAAA,CAAA,GAAW,eAAe"}
@@ -45,4 +45,4 @@ declare function useMeta(): Record<string, MetaItem>;
45
45
  declare type __ΩMetaItem = any[];
46
46
  //#endregion
47
47
  export { useMetaContext as a, useMeta as i, MetaItem as n, useMetaSafe as o, __ΩMetaItem as r, MetaContext as t };
48
- //# sourceMappingURL=meta-xgVuv08y.d.cts.map
48
+ //# sourceMappingURL=meta-DJqWxY95.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"meta-xgVuv08y.d.cts","names":[],"sources":["../src/core/contexts/meta.ts"],"sourcesContent":[],"mappings":";;;;UAyBiB,QAAA;;AAAjB;AAyBA;EAA0D,IAAA,CAAA,EAAA,SAAA,GAAA,OAAA,GAAA,MAAA;EAAf;;;EAQ3B,UAAA,CAAA,EAAA,OAAc;EASd;AAWhB;;;;;YApCY;;;;;;cAQC,aAAa,iBAAiB,eAAe;;;;;;iBAQ1C,cAAA,CAAA,GAAkB,eAAe;;;;;;iBASjC,WAAA,CAAA,GAAe,eAAe;;;;;;iBAW9B,OAAA,CAAA,GAAW,eAAe"}
1
+ {"version":3,"file":"meta-DJqWxY95.d.mts","names":[],"sources":["../src/core/contexts/meta.ts"],"sourcesContent":[],"mappings":";;;;UAyBiB,QAAA;;AAAjB;AAyBA;EAA0D,IAAA,CAAA,EAAA,SAAA,GAAA,OAAA,GAAA,MAAA;EAAf;;;EAQ3B,UAAA,CAAA,EAAA,OAAc;EASd;AAWhB;;;;;YApCY;;;;;;cAQC,aAAa,iBAAiB,eAAe;;;;;;iBAQ1C,cAAA,CAAA,GAAkB,eAAe;;;;;;iBASjC,WAAA,CAAA,GAAe,eAAe;;;;;;iBAW9B,OAAA,CAAA,GAAW,eAAe"}
@@ -0,0 +1,44 @@
1
+ const require_chunk = require('./chunk-CbDLau6x.cjs');
2
+ const require_context = require('./context-DNdlL_gp.cjs');
3
+ const require_meta = require('./meta-BVJcyXVs.cjs');
4
+ let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
5
+ let __alloy_js_core = require("@alloy-js/core");
6
+
7
+ //#region src/core/components/output.tsx
8
+ /**
9
+ * Output component for rendering the Powerlines plugin's output files via templates.
10
+ */
11
+ function Output(props) {
12
+ const [{ children, context, meta }, rest] = (0, __alloy_js_core.splitProps)(props, [
13
+ "children",
14
+ "context",
15
+ "meta"
16
+ ]);
17
+ const contextRef = (0, __alloy_js_core.computed)(() => context);
18
+ return (0, __alloy_js_core_jsx_runtime.createComponent)(require_meta.MetaContext.Provider, {
19
+ value: meta,
20
+ get children() {
21
+ return (0, __alloy_js_core_jsx_runtime.createComponent)(require_context.PowerlinesContext.Provider, {
22
+ get value() {
23
+ return contextRef.value;
24
+ },
25
+ get children() {
26
+ return (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Output, (0, __alloy_js_core_jsx_runtime.mergeProps)(rest, {
27
+ get basePath() {
28
+ return contextRef.value.workspaceConfig.workspaceRoot;
29
+ },
30
+ children
31
+ }));
32
+ }
33
+ });
34
+ }
35
+ });
36
+ }
37
+
38
+ //#endregion
39
+ Object.defineProperty(exports, 'Output', {
40
+ enumerable: true,
41
+ get: function () {
42
+ return Output;
43
+ }
44
+ });
@@ -1,19 +1,24 @@
1
- import * as _alloy_js_core15 from "@alloy-js/core";
1
+ import { n as MetaItem } from "./meta-D0y5uZo4.cjs";
2
+ import * as _alloy_js_core12 from "@alloy-js/core";
2
3
  import { OutputProps } from "@alloy-js/core";
3
4
  import { PluginContext } from "powerlines/types/context";
4
5
 
5
6
  //#region src/core/components/output.d.ts
6
- interface OutputProps$1<TContext extends PluginContext = PluginContext> extends OutputProps {
7
+ interface OutputProps$1<TContext extends PluginContext = PluginContext> extends Omit<OutputProps, "basePath"> {
7
8
  /**
8
9
  * The current Powerlines process context.
9
10
  */
10
11
  context: TContext;
12
+ /**
13
+ * The file metadata collected during rendering.
14
+ */
15
+ meta: Record<string, MetaItem>;
11
16
  }
12
17
  /**
13
18
  * Output component for rendering the Powerlines plugin's output files via templates.
14
19
  */
15
- declare function Output<TContext extends PluginContext = PluginContext>(props: OutputProps$1<TContext>): _alloy_js_core15.Children;
20
+ declare function Output<TContext extends PluginContext = PluginContext>(props: OutputProps$1<TContext>): _alloy_js_core12.Children;
16
21
  declare type __ΩOutputProps = any[];
17
22
  //#endregion
18
23
  export { OutputProps$1 as n, __ΩOutputProps as r, Output as t };
19
- //# sourceMappingURL=output-DrYA3tAH.d.cts.map
24
+ //# sourceMappingURL=output-C5BkcdCd.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"output-C5BkcdCd.d.cts","names":[],"sources":["../src/core/components/output.tsx"],"sourcesContent":[],"mappings":";;;;;;UAwBiB,+BACE,gBAAgB,uBACzB,KAAK;;;AAFf;EACmB,OAAA,EAKR,QALQ;EAAgB;;;EAUZ,IAAA,EAAf,MAAe,CAAA,MAAA,EAAA,QAAA,CAAA;;;;AAMvB;AAAwC,iBAAxB,MAAwB,CAAA,iBAAA,aAAA,GAAgB,aAAhB,CAAA,CAAA,KAAA,EAC/B,aAD+B,CACnB,QADmB,CAAA,CAAA,EACpB,gBAAA,CAAU,QADU;AAAgB,8BAAA,GAAA,EAAA"}
@@ -1,19 +1,24 @@
1
- import * as _alloy_js_core1 from "@alloy-js/core";
1
+ import { n as MetaItem } from "./meta-DJqWxY95.mjs";
2
+ import * as _alloy_js_core0 from "@alloy-js/core";
2
3
  import { OutputProps } from "@alloy-js/core";
3
4
  import { PluginContext } from "powerlines/types/context";
4
5
 
5
6
  //#region src/core/components/output.d.ts
6
- interface OutputProps$1<TContext extends PluginContext = PluginContext> extends OutputProps {
7
+ interface OutputProps$1<TContext extends PluginContext = PluginContext> extends Omit<OutputProps, "basePath"> {
7
8
  /**
8
9
  * The current Powerlines process context.
9
10
  */
10
11
  context: TContext;
12
+ /**
13
+ * The file metadata collected during rendering.
14
+ */
15
+ meta: Record<string, MetaItem>;
11
16
  }
12
17
  /**
13
18
  * Output component for rendering the Powerlines plugin's output files via templates.
14
19
  */
15
- declare function Output$1<TContext extends PluginContext = PluginContext>(props: OutputProps$1<TContext>): _alloy_js_core1.Children;
20
+ declare function Output$1<TContext extends PluginContext = PluginContext>(props: OutputProps$1<TContext>): _alloy_js_core0.Children;
16
21
  declare type __ΩOutputProps = any[];
17
22
  //#endregion
18
23
  export { OutputProps$1 as n, __ΩOutputProps as r, Output$1 as t };
19
- //# sourceMappingURL=output-DIrAcd1E.d.mts.map
24
+ //# sourceMappingURL=output-C7mlHz0P.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"output-C7mlHz0P.d.mts","names":[],"sources":["../src/core/components/output.tsx"],"sourcesContent":[],"mappings":";;;;;;UAwBiB,+BACE,gBAAgB,uBACzB,KAAK;;;AAFf;EACmB,OAAA,EAKR,QALQ;EAAgB;;;EAUZ,IAAA,EAAf,MAAe,CAAA,MAAA,EAAA,QAAA,CAAA;;;;AAMvB;AAAwC,iBAAxB,QAAwB,CAAA,iBAAA,aAAA,GAAgB,aAAhB,CAAA,CAAA,KAAA,EAC/B,aAD+B,CACnB,QADmB,CAAA,CAAA,EACpB,eAAA,CAAU,QADU;AAAgB,8BAAA,GAAA,EAAA"}
@@ -0,0 +1,39 @@
1
+ import { t as PowerlinesContext } from "./context-CdPajCh6.mjs";
2
+ import { t as MetaContext } from "./meta-BEeFPjoM.mjs";
3
+ import { createComponent, mergeProps } from "@alloy-js/core/jsx-runtime";
4
+ import { Output, computed, splitProps } from "@alloy-js/core";
5
+
6
+ //#region src/core/components/output.tsx
7
+ /**
8
+ * Output component for rendering the Powerlines plugin's output files via templates.
9
+ */
10
+ function Output$1(props) {
11
+ const [{ children, context, meta }, rest] = splitProps(props, [
12
+ "children",
13
+ "context",
14
+ "meta"
15
+ ]);
16
+ const contextRef = computed(() => context);
17
+ return createComponent(MetaContext.Provider, {
18
+ value: meta,
19
+ get children() {
20
+ return createComponent(PowerlinesContext.Provider, {
21
+ get value() {
22
+ return contextRef.value;
23
+ },
24
+ get children() {
25
+ return createComponent(Output, mergeProps(rest, {
26
+ get basePath() {
27
+ return contextRef.value.workspaceConfig.workspaceRoot;
28
+ },
29
+ children
30
+ }));
31
+ }
32
+ });
33
+ }
34
+ });
35
+ }
36
+
37
+ //#endregion
38
+ export { Output$1 as t };
39
+ //# sourceMappingURL=output-DcuryjuV.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"output-DcuryjuV.mjs","names":["computed","Output","OutputExternal","splitProps","MetaContext","PowerlinesContext","props","children","context","meta","rest","contextRef","_$createComponent","Provider","value","_$mergeProps","basePath","workspaceConfig","workspaceRoot"],"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 type { PluginContext } from \"powerlines/types/context\";\nimport { MetaContext, MetaItem } from \"../contexts\";\nimport { PowerlinesContext } from \"../contexts/context\";\n\nexport interface OutputProps<\n TContext extends PluginContext = PluginContext\n> extends Omit<OutputPropsExternal, \"basePath\"> {\n /**\n * The current Powerlines process context.\n */\n context: TContext;\n\n /**\n * The file metadata collected during rendering.\n */\n meta: Record<string, MetaItem>;\n}\n\n/**\n * Output component for rendering the Powerlines plugin's output files via templates.\n */\nexport function Output<TContext extends PluginContext = PluginContext>(\n props: OutputProps<TContext>\n) {\n const [{ children, context, meta }, rest] = splitProps(props, [\n \"children\",\n \"context\",\n \"meta\"\n ]);\n\n const contextRef = computed(() => context);\n\n return (\n <MetaContext.Provider value={meta}>\n <PowerlinesContext.Provider value={contextRef.value}>\n <OutputExternal\n {...rest}\n basePath={contextRef.value.workspaceConfig.workspaceRoot}>\n {children}\n </OutputExternal>\n </PowerlinesContext.Provider>\n </MetaContext.Provider>\n );\n}\n"],"mappings":""}
@@ -0,0 +1,24 @@
1
+ import { n as MetaItem } from "./meta-D0y5uZo4.cjs";
2
+ import * as _alloy_js_core5 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> extends Omit<OutputProps, "basePath"> {
8
+ /**
9
+ * The current Powerlines process context.
10
+ */
11
+ context: TContext;
12
+ /**
13
+ * The file metadata collected during rendering.
14
+ */
15
+ meta: Record<string, MetaItem>;
16
+ }
17
+ /**
18
+ * Output component for rendering the Powerlines plugin's output files via templates.
19
+ */
20
+ declare function Output<TContext extends PluginContext = PluginContext>(props: OutputProps$1<TContext>): _alloy_js_core5.Children;
21
+ declare type __ΩOutputProps = any[];
22
+ //#endregion
23
+ export { OutputProps$1 as n, __ΩOutputProps as r, Output as t };
24
+ //# sourceMappingURL=output-XvUhyMSi.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"output-XvUhyMSi.d.cts","names":[],"sources":["../src/core/components/output.tsx"],"sourcesContent":[],"mappings":";;;;;;UAwBiB,+BACE,gBAAgB,uBACzB,KAAK;;;AAFf;EACmB,OAAA,EAKR,QALQ;EAAgB;;;EAUZ,IAAA,EAAf,MAAe,CAAA,MAAA,EAAA,QAAA,CAAA;;;;AAMvB;AAAwC,iBAAxB,MAAwB,CAAA,iBAAA,aAAA,GAAgB,aAAhB,CAAA,CAAA,KAAA,EAC/B,aAD+B,CACnB,QADmB,CAAA,CAAA,EACpB,eAAA,CAAU,QADU;AAAgB,8BAAA,GAAA,EAAA"}
@@ -1,4 +1,4 @@
1
- import { Children, PrintTreeOptions } from "@alloy-js/core";
1
+ import { PrintTreeOptions } from "@alloy-js/core";
2
2
  import { PluginContext } from "powerlines/types/context";
3
3
  import { BabelPluginResolvedConfig, BabelPluginUserConfig } from "@powerlines/plugin-babel/types/plugin";
4
4
 
@@ -29,13 +29,11 @@ type AlloyPluginUserConfig = BabelPluginUserConfig & {
29
29
  type AlloyPluginResolvedConfig = BabelPluginResolvedConfig & {
30
30
  alloy: AlloyPluginOptions;
31
31
  };
32
- type AlloyPluginContext<TResolvedConfig extends AlloyPluginResolvedConfig = AlloyPluginResolvedConfig> = PluginContext<TResolvedConfig> & {
33
- render: (child: Children) => Promise<void>;
34
- };
32
+ type AlloyPluginContext<TResolvedConfig extends AlloyPluginResolvedConfig = AlloyPluginResolvedConfig> = PluginContext<TResolvedConfig>;
35
33
  declare type __ΩAlloyPluginOptions = any[];
36
34
  declare type __ΩAlloyPluginUserConfig = any[];
37
35
  declare type __ΩAlloyPluginResolvedConfig = any[];
38
36
  declare type __ΩAlloyPluginContext = any[];
39
37
  //#endregion
40
38
  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-aN6BnM8T.d.cts.map
39
+ //# sourceMappingURL=plugin-CyBCpZyU.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin-CyBCpZyU.d.mts","names":[],"sources":["../src/types/plugin.ts"],"sourcesContent":[],"mappings":";;;;;KAyBY,kBAAA,GAAqB,QAAQ;;AAAzC;AAuBA;AAIA;AAIA;EAC0B,UAAA,CAAA,EAAA,OAAA;EAA4B;;;;;;;;;;;;;KAT1C,qBAAA,GAAwB;UAC1B;;KAGE,yBAAA,GAA4B;SAC/B;;KAGG,2CACc,4BAA4B,6BAClD,cAAc"}
@@ -1,4 +1,4 @@
1
- import { Children, PrintTreeOptions } from "@alloy-js/core";
1
+ import { PrintTreeOptions } from "@alloy-js/core";
2
2
  import { PluginContext } from "powerlines/types/context";
3
3
  import { BabelPluginResolvedConfig, BabelPluginUserConfig } from "@powerlines/plugin-babel/types/plugin";
4
4
 
@@ -29,13 +29,11 @@ type AlloyPluginUserConfig = BabelPluginUserConfig & {
29
29
  type AlloyPluginResolvedConfig = BabelPluginResolvedConfig & {
30
30
  alloy: AlloyPluginOptions;
31
31
  };
32
- type AlloyPluginContext<TResolvedConfig extends AlloyPluginResolvedConfig = AlloyPluginResolvedConfig> = PluginContext<TResolvedConfig> & {
33
- render: (child: Children) => Promise<void>;
34
- };
32
+ type AlloyPluginContext<TResolvedConfig extends AlloyPluginResolvedConfig = AlloyPluginResolvedConfig> = PluginContext<TResolvedConfig>;
35
33
  declare type __ΩAlloyPluginOptions = any[];
36
34
  declare type __ΩAlloyPluginUserConfig = any[];
37
35
  declare type __ΩAlloyPluginResolvedConfig = any[];
38
36
  declare type __ΩAlloyPluginContext = any[];
39
37
  //#endregion
40
38
  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-c-C_CW4P.d.mts.map
39
+ //# sourceMappingURL=plugin-DIlnN1SV.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin-DIlnN1SV.d.cts","names":[],"sources":["../src/types/plugin.ts"],"sourcesContent":[],"mappings":";;;;;KAyBY,kBAAA,GAAqB,QAAQ;;AAAzC;AAuBA;AAIA;AAIA;EAC0B,UAAA,CAAA,EAAA,OAAA;EAA4B;;;;;;;;;;;;;KAT1C,qBAAA,GAAwB;UAC1B;;KAGE,yBAAA,GAA4B;SAC/B;;KAGG,2CACc,4BAA4B,6BAClD,cAAc"}
@@ -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-DYCDlTyT.d.mts.map
13
+ //# sourceMappingURL=record-expression-ChoLAsVS.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"record-expression-B4Wa9HOn.d.cts","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-ChoLAsVS.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-BHpXe3mY.mjs.map
12
+ //# sourceMappingURL=record-expression-D5W72rZN.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"record-expression-BHpXe3mY.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-D5W72rZN.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":""}
@@ -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-B4Wa9HOn.d.cts.map
13
+ //# sourceMappingURL=record-expression-Dwg_PZpg.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"record-expression-DYCDlTyT.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-Dwg_PZpg.d.cts","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"}
@@ -11,4 +11,4 @@ import { Refkey } from "@alloy-js/core";
11
11
  declare function refkey(...args: unknown[]): Refkey;
12
12
  //#endregion
13
13
  export { refkey as t };
14
- //# sourceMappingURL=refkey-DqDd2Fzs.d.cts.map
14
+ //# sourceMappingURL=refkey-CP7MJMac.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"refkey-CP7MJMac.d.cts","names":[],"sources":["../src/helpers/refkey.ts"],"sourcesContent":[],"mappings":";;;;;;AA0BA;;;;iBAAgB,MAAA,sBAA4B"}
@@ -13,4 +13,4 @@ function refkey$1(...args) {
13
13
 
14
14
  //#endregion
15
15
  export { refkey$1 as t };
16
- //# sourceMappingURL=refkey-CyhX8n2z.mjs.map
16
+ //# sourceMappingURL=refkey-CQVHeuAq.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"refkey-CyhX8n2z.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-CQVHeuAq.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"}
@@ -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-CqkD5Tjp.d.mts.map
14
+ //# sourceMappingURL=refkey-D6OjgKgS.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"refkey-D6OjgKgS.d.mts","names":[],"sources":["../src/helpers/refkey.ts"],"sourcesContent":[],"mappings":";;;;;;AA0BA;;;;iBAAgB,QAAA,sBAA4B"}
@@ -1,4 +1,4 @@
1
- import { c as ReflectionOverrideInterface } from "./components-oHSM7vmp.mjs";
1
+ import { c as ReflectionOverrideInterface } from "./components-_4e2YMfT.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-CAz7PWzK.d.mts.map
53
+ //# sourceMappingURL=reflection-CfOmSgDn.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"reflection-CAz7PWzK.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-CfOmSgDn.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,4 +1,4 @@
1
- import { c as ReflectionOverrideInterface } from "./components-DPPi58b5.cjs";
1
+ import { c as ReflectionOverrideInterface } from "./components-CvqTz7Q9.cjs";
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-JGVev2J6.d.cts.map
53
+ //# sourceMappingURL=reflection-Q87E_-w_.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"reflection-JGVev2J6.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"}
1
+ {"version":3,"file":"reflection-Q87E_-w_.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"}
@@ -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-ExLWJ473.mjs.map
61
+ //# sourceMappingURL=reflection-TXYxCAwV.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"reflection-ExLWJ473.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-TXYxCAwV.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 { n as ComponentProps } from "./components-oHSM7vmp.mjs";
1
+ import { n as ComponentProps } from "./components-_4e2YMfT.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-BKFqKn-D.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-BKFqKn-D.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"}
@@ -0,0 +1,23 @@
1
+ import { n as ComponentProps } from "./components-_4e2YMfT.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-Ct_putR7.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"single-line-comment-Ct_putR7.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-DPPi58b5.cjs";
1
+ import { n as ComponentProps } from "./components-CvqTz7Q9.cjs";
2
2
  import * as _alloy_js_core13 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-DWF0HxhM.d.cts.map
23
+ //# sourceMappingURL=single-line-comment-D2y_A8e1.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"single-line-comment-DWF0HxhM.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
+ {"version":3,"file":"single-line-comment-D2y_A8e1.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"}
@@ -19,4 +19,4 @@ function SingleLineComment(props) {
19
19
 
20
20
  //#endregion
21
21
  export { SingleLineComment as t };
22
- //# sourceMappingURL=single-line-comment-CGkTdNez.mjs.map
22
+ //# sourceMappingURL=single-line-comment-DW0LUIQ2.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"single-line-comment-CGkTdNez.mjs","names":["Prose","SingleLineComment","props","variant","children","commentStart","_$createIntrinsic","string","_$createComponent"],"sources":["../src/core/components/single-line-comment.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 { Prose } from \"@alloy-js/core\";\nimport { ComponentProps } from \"../../types/components\";\n\nexport type SingleLineCommentVariant =\n | \"double-slash\"\n | \"triple-slash\"\n | \"slash-star\"\n | \"slash-star-star\"\n | \"markdown\";\n\nexport interface SingleLineCommentProps extends ComponentProps {\n /**\n * The variant of the single line comment.\n *\n * @defaultValue \"double-slash\"\n */\n variant?: SingleLineCommentVariant;\n}\n\n/**\n * A single line comment block. The children are rendered as a prose element, which means that they\n * are broken into multiple lines\n */\nexport function SingleLineComment(props: SingleLineCommentProps) {\n const { variant = \"double-slash\", children } = props;\n\n const commentStart =\n variant === \"slash-star\"\n ? \"/* \"\n : variant === \"slash-star-star\"\n ? \"/** \"\n : variant === \"triple-slash\"\n ? \"/// \"\n : variant === \"markdown\"\n ? \"<!-- \"\n : \"// \";\n\n return (\n <>\n {commentStart}\n <align string={commentStart}>\n <Prose>{children}</Prose>\n\n {variant === \"slash-star\" || variant === \"slash-star-star\"\n ? \" */ \"\n : variant === \"markdown\"\n ? \" -->\"\n : \"\"}\n </align>\n </>\n );\n}\n"],"mappings":""}
1
+ {"version":3,"file":"single-line-comment-DW0LUIQ2.mjs","names":["Prose","SingleLineComment","props","variant","children","commentStart","_$createIntrinsic","string","_$createComponent"],"sources":["../src/core/components/single-line-comment.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 { Prose } from \"@alloy-js/core\";\nimport { ComponentProps } from \"../../types/components\";\n\nexport type SingleLineCommentVariant =\n | \"double-slash\"\n | \"triple-slash\"\n | \"slash-star\"\n | \"slash-star-star\"\n | \"markdown\";\n\nexport interface SingleLineCommentProps extends ComponentProps {\n /**\n * The variant of the single line comment.\n *\n * @defaultValue \"double-slash\"\n */\n variant?: SingleLineCommentVariant;\n}\n\n/**\n * A single line comment block. The children are rendered as a prose element, which means that they\n * are broken into multiple lines\n */\nexport function SingleLineComment(props: SingleLineCommentProps) {\n const { variant = \"double-slash\", children } = props;\n\n const commentStart =\n variant === \"slash-star\"\n ? \"/* \"\n : variant === \"slash-star-star\"\n ? \"/** \"\n : variant === \"triple-slash\"\n ? \"/// \"\n : variant === \"markdown\"\n ? \"<!-- \"\n : \"// \";\n\n return (\n <>\n {commentStart}\n <align string={commentStart}>\n <Prose>{children}</Prose>\n\n {variant === \"slash-star\" || variant === \"slash-star-star\"\n ? \" */ \"\n : variant === \"markdown\"\n ? \" -->\"\n : \"\"}\n </align>\n </>\n );\n}\n"],"mappings":""}