@powerlines/plugin-alloy 0.19.31 → 0.19.33

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 (311) hide show
  1. package/dist/{builtin-file-Bw1bYOCQ.mjs → builtin-file-BdkkDbuv.mjs} +4 -4
  2. package/dist/{builtin-file-Bw1bYOCQ.mjs.map → builtin-file-BdkkDbuv.mjs.map} +1 -1
  3. package/dist/{builtin-file-DWgYSvGi.cjs → builtin-file-CQAeHqiO.cjs} +3 -3
  4. package/dist/{builtin-file-K7Mjsnci.d.mts → builtin-file-CiMiD-Yn.d.mts} +5 -5
  5. package/dist/{builtin-file-K7Mjsnci.d.mts.map → builtin-file-CiMiD-Yn.d.mts.map} +1 -1
  6. package/dist/{builtin-file-DBVEIrzq.d.cts → builtin-file-GmfaWXJY.d.cts} +5 -5
  7. package/dist/{builtin-file-DBVEIrzq.d.cts.map → builtin-file-GmfaWXJY.d.cts.map} +1 -1
  8. package/dist/{capnp-BfsEWHU2.d.cts → capnp-BN8Yh6nt.d.mts} +2 -2
  9. package/dist/{capnp-BfsEWHU2.d.cts.map → capnp-BN8Yh6nt.d.mts.map} +1 -1
  10. package/dist/{capnp-DcnwPttP.d.mts → capnp-Bn9LSaf5.d.cts} +2 -2
  11. package/dist/{capnp-DcnwPttP.d.mts.map → capnp-Bn9LSaf5.d.cts.map} +1 -1
  12. package/dist/{components-oHSM7vmp.d.mts → components-CpcNHd1P.d.mts} +1 -1
  13. package/dist/{components-DPPi58b5.d.cts.map → components-CpcNHd1P.d.mts.map} +1 -1
  14. package/dist/{components-DPPi58b5.d.cts → components-IK2mq84Q.d.cts} +2 -2
  15. package/dist/{components-oHSM7vmp.d.mts.map → components-IK2mq84Q.d.cts.map} +1 -1
  16. package/dist/{context-CiHsTXX7.d.cts → context-7oUaz8OU.d.cts} +1 -1
  17. package/dist/{context-C-CzW-8C.d.mts.map → context-7oUaz8OU.d.cts.map} +1 -1
  18. package/dist/{context-C-CzW-8C.d.mts → context-BAEo3418.d.mts} +1 -1
  19. package/dist/{context-CiHsTXX7.d.cts.map → context-BAEo3418.d.mts.map} +1 -1
  20. package/dist/core/components/index.cjs +7 -5
  21. package/dist/core/components/index.d.cts +8 -4
  22. package/dist/core/components/index.d.mts +8 -4
  23. package/dist/core/components/index.mjs +7 -5
  24. package/dist/core/components/output.cjs +4 -1
  25. package/dist/core/components/output.d.cts +6 -1
  26. package/dist/core/components/output.d.mts +6 -1
  27. package/dist/core/components/output.mjs +4 -1
  28. package/dist/core/components/single-line-comment.cjs +1 -1
  29. package/dist/core/components/single-line-comment.d.cts +2 -2
  30. package/dist/core/components/single-line-comment.d.mts +2 -2
  31. package/dist/core/components/single-line-comment.mjs +1 -1
  32. package/dist/core/components/source-file.cjs +2 -3
  33. package/dist/core/components/source-file.d.cts +2 -2
  34. package/dist/core/components/source-file.d.mts +2 -2
  35. package/dist/core/components/source-file.mjs +2 -3
  36. package/dist/core/contexts/context.d.cts +1 -1
  37. package/dist/core/contexts/context.d.mts +1 -1
  38. package/dist/core/contexts/index.cjs +5 -3
  39. package/dist/core/contexts/index.d.cts +6 -6
  40. package/dist/core/contexts/index.d.mts +6 -6
  41. package/dist/core/contexts/index.mjs +4 -4
  42. package/dist/core/contexts/meta.cjs +3 -2
  43. package/dist/core/contexts/meta.d.cts +2 -2
  44. package/dist/core/contexts/meta.d.mts +2 -2
  45. package/dist/core/contexts/meta.mjs +2 -3
  46. package/dist/core/contexts/reflection.cjs +1 -1
  47. package/dist/core/contexts/reflection.d.cts +2 -2
  48. package/dist/core/contexts/reflection.d.mts +2 -2
  49. package/dist/core/contexts/reflection.mjs +1 -1
  50. package/dist/core/index.cjs +9 -7
  51. package/dist/core/index.d.cts +8 -9
  52. package/dist/core/index.d.mts +8 -9
  53. package/dist/core/index.mjs +8 -8
  54. package/dist/{create-builtin-BvtcWfWV.d.mts → create-builtin-BTtoNoeS.d.mts} +1 -1
  55. package/dist/{create-builtin-BvtcWfWV.d.mts.map → create-builtin-BTtoNoeS.d.mts.map} +1 -1
  56. package/dist/{create-builtin-CI8g-abA.d.cts → create-builtin-DvcoEGqh.d.cts} +1 -1
  57. package/dist/{create-builtin-CI8g-abA.d.cts.map → create-builtin-DvcoEGqh.d.cts.map} +1 -1
  58. package/dist/{dynamic-import-statement-Bqjroltk.mjs → dynamic-import-statement-BVggdOVL.mjs} +2 -2
  59. package/dist/{dynamic-import-statement-Bqjroltk.mjs.map → dynamic-import-statement-BVggdOVL.mjs.map} +1 -1
  60. package/dist/{dynamic-import-statement-DAmCRVet.d.cts → dynamic-import-statement-CNkFdigQ.d.mts} +3 -3
  61. package/dist/{dynamic-import-statement-DAmCRVet.d.cts.map → dynamic-import-statement-CNkFdigQ.d.mts.map} +1 -1
  62. package/dist/{dynamic-import-statement-HRfx1nlm.d.mts → dynamic-import-statement-CmMuHy6m.d.cts} +3 -3
  63. package/dist/{dynamic-import-statement-HRfx1nlm.d.mts.map → dynamic-import-statement-CmMuHy6m.d.cts.map} +1 -1
  64. package/dist/{dynamic-import-statement-CQrBX87Z.cjs → dynamic-import-statement-Dy_MY_Ua.cjs} +1 -1
  65. package/dist/{entry-file-CO-bFg_2.cjs → entry-file-D5u7AjDL.cjs} +3 -3
  66. package/dist/{entry-file-CEFpERUV.d.mts → entry-file-DVYjczbC.d.mts} +4 -4
  67. package/dist/{entry-file-C8P-fdd8.d.cts.map → entry-file-DVYjczbC.d.mts.map} +1 -1
  68. package/dist/{entry-file-CadgbWeB.mjs → entry-file-Fw7DyszP.mjs} +4 -4
  69. package/dist/{entry-file-CadgbWeB.mjs.map → entry-file-Fw7DyszP.mjs.map} +1 -1
  70. package/dist/{entry-file-C8P-fdd8.d.cts → entry-file-xdUfTbOs.d.cts} +2 -2
  71. package/dist/{entry-file-CEFpERUV.d.mts.map → entry-file-xdUfTbOs.d.cts.map} +1 -1
  72. package/dist/{front-matter-CHooHk9R.cjs → front-matter-DZ1tB-Uj.cjs} +1 -1
  73. package/dist/{front-matter-tYvUQe2w.d.cts → front-matter-Dh3d0_QX.d.cts} +3 -3
  74. package/dist/{front-matter-tYvUQe2w.d.cts.map → front-matter-Dh3d0_QX.d.cts.map} +1 -1
  75. package/dist/{front-matter-BZuLGCXi.d.mts → front-matter-DpcRWZVa.d.mts} +1 -1
  76. package/dist/{front-matter-BZuLGCXi.d.mts.map → front-matter-DpcRWZVa.d.mts.map} +1 -1
  77. package/dist/{front-matter-CEkoeaky.mjs → front-matter-Dzh6QhN-.mjs} +2 -2
  78. package/dist/{front-matter-CEkoeaky.mjs.map → front-matter-Dzh6QhN-.mjs.map} +1 -1
  79. package/dist/helpers/capnp.d.cts +1 -1
  80. package/dist/helpers/capnp.d.mts +1 -1
  81. package/dist/helpers/create-builtin.d.cts +1 -1
  82. package/dist/helpers/create-builtin.d.mts +1 -1
  83. package/dist/helpers/index.d.cts +4 -4
  84. package/dist/helpers/index.d.mts +4 -4
  85. package/dist/helpers/refkey.d.cts +1 -1
  86. package/dist/helpers/refkey.d.mts +1 -1
  87. package/dist/helpers/typescript.d.cts +1 -1
  88. package/dist/helpers/typescript.d.mts +1 -1
  89. package/dist/index.cjs +1 -44
  90. package/dist/index.d.cts +1 -1
  91. package/dist/index.d.cts.map +1 -1
  92. package/dist/index.d.mts +1 -1
  93. package/dist/index.d.mts.map +1 -1
  94. package/dist/index.mjs +1 -44
  95. package/dist/index.mjs.map +1 -1
  96. package/dist/markdown/components/front-matter.cjs +1 -1
  97. package/dist/markdown/components/front-matter.d.cts +1 -1
  98. package/dist/markdown/components/front-matter.d.mts +1 -1
  99. package/dist/markdown/components/front-matter.mjs +1 -1
  100. package/dist/markdown/components/index.cjs +6 -6
  101. package/dist/markdown/components/index.d.cts +7 -7
  102. package/dist/markdown/components/index.d.mts +7 -7
  103. package/dist/markdown/components/index.mjs +6 -6
  104. package/dist/markdown/components/markdown-file.cjs +5 -5
  105. package/dist/markdown/components/markdown-file.d.cts +4 -4
  106. package/dist/markdown/components/markdown-file.d.mts +4 -4
  107. package/dist/markdown/components/markdown-file.mjs +5 -5
  108. package/dist/markdown/components/markdown-table.cjs +1 -1
  109. package/dist/markdown/components/markdown-table.d.cts +3 -3
  110. package/dist/markdown/components/markdown-table.d.mts +3 -3
  111. package/dist/markdown/components/markdown-table.mjs +1 -1
  112. package/dist/markdown/contexts/index.d.cts +2 -2
  113. package/dist/markdown/contexts/index.d.mts +2 -2
  114. package/dist/markdown/contexts/markdown-table.d.cts +1 -1
  115. package/dist/markdown/contexts/markdown-table.d.mts +1 -1
  116. package/dist/markdown/index.cjs +6 -6
  117. package/dist/markdown/index.d.cts +7 -7
  118. package/dist/markdown/index.d.mts +7 -7
  119. package/dist/markdown/index.mjs +6 -6
  120. package/dist/{markdown-file-ea7OzK-k.cjs → markdown-file-CFt8hI37.cjs} +4 -4
  121. package/dist/{markdown-file-C-b4PJoF.d.cts → markdown-file-Dw1Vv4af.d.mts} +7 -7
  122. package/dist/{markdown-file-BEUAWPHg.d.mts.map → markdown-file-Dw1Vv4af.d.mts.map} +1 -1
  123. package/dist/{markdown-file-BEUAWPHg.d.mts → markdown-file-fsUT-8rA.d.cts} +4 -4
  124. package/dist/{markdown-file-C-b4PJoF.d.cts.map → markdown-file-fsUT-8rA.d.cts.map} +1 -1
  125. package/dist/{markdown-file-RKe2FbuF.mjs → markdown-file-k2M9ZbM0.mjs} +5 -5
  126. package/dist/{markdown-file-RKe2FbuF.mjs.map → markdown-file-k2M9ZbM0.mjs.map} +1 -1
  127. package/dist/{markdown-table-DIfM03TF.d.mts → markdown-table-Ba6OVv17.d.cts} +1 -1
  128. package/dist/{markdown-table-Dxxupt8O.d.cts.map → markdown-table-Ba6OVv17.d.cts.map} +1 -1
  129. package/dist/{markdown-table-Dxxupt8O.d.cts → markdown-table-C3pW_3Ss.d.mts} +1 -1
  130. package/dist/{markdown-table-DIfM03TF.d.mts.map → markdown-table-C3pW_3Ss.d.mts.map} +1 -1
  131. package/dist/{markdown-table-C_Hf6eBe.mjs → markdown-table-CRVCcmmS.mjs} +2 -2
  132. package/dist/{markdown-table-C_Hf6eBe.mjs.map → markdown-table-CRVCcmmS.mjs.map} +1 -1
  133. package/dist/{markdown-table-Bq35u0iA.d.cts → markdown-table-DAYxgSQH.d.mts} +7 -7
  134. package/dist/{markdown-table-75TAAul6.d.mts.map → markdown-table-DAYxgSQH.d.mts.map} +1 -1
  135. package/dist/{markdown-table-75TAAul6.d.mts → markdown-table-Dcee_Q7w.d.cts} +7 -7
  136. package/dist/{markdown-table-Bq35u0iA.d.cts.map → markdown-table-Dcee_Q7w.d.cts.map} +1 -1
  137. package/dist/{markdown-table-Cgk4CzYe.cjs → markdown-table-eTnxxb46.cjs} +1 -1
  138. package/dist/{meta-CW_VzTrH.d.cts → meta-B8vjGEJI.d.cts} +13 -2
  139. package/dist/meta-B8vjGEJI.d.cts.map +1 -0
  140. package/dist/{meta-B_DjEFR_.cjs → meta-BVJcyXVs.cjs} +27 -2
  141. package/dist/{meta-Cx5Eo5XM.d.mts → meta-D2yuTClk.d.mts} +13 -2
  142. package/dist/meta-D2yuTClk.d.mts.map +1 -0
  143. package/dist/{meta-nicfM4rP.mjs → meta-YszNJizK.mjs} +16 -4
  144. package/dist/meta-YszNJizK.mjs.map +1 -0
  145. package/dist/{output-Do5udygo.cjs → output-B5O_qz0i.cjs} +18 -14
  146. package/dist/{output-D2_r5fQS.d.cts → output-B5v8eGOS.d.cts} +9 -4
  147. package/dist/output-B5v8eGOS.d.cts.map +1 -0
  148. package/dist/output-BvLp1fyI.mjs +39 -0
  149. package/dist/output-BvLp1fyI.mjs.map +1 -0
  150. package/dist/{output-DIrAcd1E.d.mts → output-QwbsV2bO.d.mts} +7 -2
  151. package/dist/output-QwbsV2bO.d.mts.map +1 -0
  152. package/dist/plugin--P3zPhDL.d.cts +39 -0
  153. package/dist/plugin--P3zPhDL.d.cts.map +1 -0
  154. package/dist/plugin-IvNRWrk4.d.mts +39 -0
  155. package/dist/plugin-IvNRWrk4.d.mts.map +1 -0
  156. package/dist/{record-expression-B4Wa9HOn.d.cts → record-expression-CJcabN6g.d.cts} +1 -1
  157. package/dist/{record-expression-B4Wa9HOn.d.cts.map → record-expression-CJcabN6g.d.cts.map} +1 -1
  158. package/dist/{record-expression-DYCDlTyT.d.mts → record-expression-DlAsQ3Xo.d.mts} +1 -1
  159. package/dist/{record-expression-DYCDlTyT.d.mts.map → record-expression-DlAsQ3Xo.d.mts.map} +1 -1
  160. package/dist/{refkey-DqDd2Fzs.d.cts → refkey-BUCGYKFp.d.cts} +1 -1
  161. package/dist/refkey-BUCGYKFp.d.cts.map +1 -0
  162. package/dist/{refkey-CqkD5Tjp.d.mts → refkey-BYkTQR2j.d.mts} +1 -1
  163. package/dist/refkey-BYkTQR2j.d.mts.map +1 -0
  164. package/dist/{reflection-ExLWJ473.mjs → reflection-CDRGf-os.mjs} +1 -1
  165. package/dist/{reflection-ExLWJ473.mjs.map → reflection-CDRGf-os.mjs.map} +1 -1
  166. package/dist/{reflection-CAz7PWzK.d.mts → reflection-DoDf7d2P.d.mts} +2 -2
  167. package/dist/{reflection-CAz7PWzK.d.mts.map → reflection-DoDf7d2P.d.mts.map} +1 -1
  168. package/dist/{reflection-JGVev2J6.d.cts → reflection-DroaluKV.d.cts} +2 -2
  169. package/dist/{reflection-JGVev2J6.d.cts.map → reflection-DroaluKV.d.cts.map} +1 -1
  170. package/dist/render.cjs +60 -0
  171. package/dist/render.d.cts +23 -0
  172. package/dist/render.d.cts.map +1 -0
  173. package/dist/render.d.mts +23 -0
  174. package/dist/render.d.mts.map +1 -0
  175. package/dist/render.mjs +60 -0
  176. package/dist/render.mjs.map +1 -0
  177. package/dist/{single-line-comment-BrU33od6.mjs → single-line-comment-BmjvZ7BN.mjs} +2 -2
  178. package/dist/{single-line-comment-BrU33od6.mjs.map → single-line-comment-BmjvZ7BN.mjs.map} +1 -1
  179. package/dist/{single-line-comment-PMv_zrfe.d.mts → single-line-comment-DvzkrIEt.d.mts} +2 -2
  180. package/dist/{single-line-comment-B0sVqs7Q.d.cts.map → single-line-comment-DvzkrIEt.d.mts.map} +1 -1
  181. package/dist/{single-line-comment-B0sVqs7Q.d.cts → single-line-comment-iSGJc1nT.d.cts} +4 -4
  182. package/dist/single-line-comment-iSGJc1nT.d.cts.map +1 -0
  183. package/dist/{single-line-comment-Ch8k9S0E.cjs → single-line-comment-tAWBgL9v.cjs} +1 -1
  184. package/dist/{source-file-xG4WodHS.mjs → source-file-6kJUbZIx.mjs} +3 -3
  185. package/dist/{source-file-xG4WodHS.mjs.map → source-file-6kJUbZIx.mjs.map} +1 -1
  186. package/dist/{source-file-Bhx5nuCf.d.cts → source-file-D4aKewY_.d.mts} +2 -2
  187. package/dist/{source-file-Bhx5nuCf.d.cts.map → source-file-D4aKewY_.d.mts.map} +1 -1
  188. package/dist/{source-file-BVPcj5P1.cjs → source-file-DnqaQY90.cjs} +2 -2
  189. package/dist/{source-file-CQl0UCgf.d.mts → source-file-WIVLLeIQ.d.cts} +4 -4
  190. package/dist/{source-file-CQl0UCgf.d.mts.map → source-file-WIVLLeIQ.d.cts.map} +1 -1
  191. package/dist/{tsdoc-BlBkyIWO.d.cts → tsdoc-5v2GSY2e.d.cts} +3 -3
  192. package/dist/{tsdoc-cuL_4mkw.d.mts.map → tsdoc-5v2GSY2e.d.cts.map} +1 -1
  193. package/dist/{tsdoc-AFK8LOIR.mjs → tsdoc-B1aBsj0L.mjs} +2 -2
  194. package/dist/{tsdoc-AFK8LOIR.mjs.map → tsdoc-B1aBsj0L.mjs.map} +1 -1
  195. package/dist/{tsdoc-cuL_4mkw.d.mts → tsdoc-BsZk3Mo6.d.mts} +2 -2
  196. package/dist/tsdoc-BsZk3Mo6.d.mts.map +1 -0
  197. package/dist/{tsdoc-BCx8RAZm.cjs → tsdoc-BufL8muf.cjs} +1 -1
  198. package/dist/{tsdoc-reflection-DunqwDOh.cjs → tsdoc-reflection-B5-J4ia-.cjs} +3 -3
  199. package/dist/{tsdoc-reflection-CsSzmNvA.d.mts → tsdoc-reflection-BAiGJzrO.d.cts} +2 -2
  200. package/dist/{tsdoc-reflection-CsSzmNvA.d.mts.map → tsdoc-reflection-BAiGJzrO.d.cts.map} +1 -1
  201. package/dist/{tsdoc-reflection-D6D_9W1j.d.cts → tsdoc-reflection-DeP-cV94.d.mts} +6 -6
  202. package/dist/tsdoc-reflection-DeP-cV94.d.mts.map +1 -0
  203. package/dist/{tsdoc-reflection-cx_-R04W.mjs → tsdoc-reflection-g4nQJV4z.mjs} +4 -4
  204. package/dist/{tsdoc-reflection-cx_-R04W.mjs.map → tsdoc-reflection-g4nQJV4z.mjs.map} +1 -1
  205. package/dist/types/components.d.cts +1 -1
  206. package/dist/types/components.d.mts +1 -1
  207. package/dist/types/index.d.cts +2 -2
  208. package/dist/types/index.d.mts +2 -2
  209. package/dist/types/plugin.d.cts +1 -1
  210. package/dist/types/plugin.d.mts +1 -1
  211. package/dist/typescript/components/builtin-file.cjs +6 -6
  212. package/dist/typescript/components/builtin-file.d.cts +5 -5
  213. package/dist/typescript/components/builtin-file.d.mts +5 -5
  214. package/dist/typescript/components/builtin-file.mjs +6 -6
  215. package/dist/typescript/components/dynamic-import-statement.cjs +1 -1
  216. package/dist/typescript/components/dynamic-import-statement.d.cts +1 -1
  217. package/dist/typescript/components/dynamic-import-statement.d.mts +1 -1
  218. package/dist/typescript/components/dynamic-import-statement.mjs +1 -1
  219. package/dist/typescript/components/entry-file.cjs +5 -5
  220. package/dist/typescript/components/entry-file.d.cts +4 -4
  221. package/dist/typescript/components/entry-file.d.mts +4 -4
  222. package/dist/typescript/components/entry-file.mjs +5 -5
  223. package/dist/typescript/components/index.cjs +12 -12
  224. package/dist/typescript/components/index.d.cts +12 -12
  225. package/dist/typescript/components/index.d.mts +12 -12
  226. package/dist/typescript/components/index.mjs +12 -12
  227. package/dist/typescript/components/record-expression.d.cts +1 -1
  228. package/dist/typescript/components/record-expression.d.mts +1 -1
  229. package/dist/typescript/components/tsdoc-reflection.cjs +3 -3
  230. package/dist/typescript/components/tsdoc-reflection.d.cts +3 -3
  231. package/dist/typescript/components/tsdoc-reflection.d.mts +3 -3
  232. package/dist/typescript/components/tsdoc-reflection.mjs +3 -3
  233. package/dist/typescript/components/tsdoc.cjs +1 -1
  234. package/dist/typescript/components/tsdoc.d.cts +2 -2
  235. package/dist/typescript/components/tsdoc.d.mts +2 -2
  236. package/dist/typescript/components/tsdoc.mjs +1 -1
  237. package/dist/typescript/components/typescript-file.cjs +4 -4
  238. package/dist/typescript/components/typescript-file.d.cts +3 -3
  239. package/dist/typescript/components/typescript-file.d.mts +3 -3
  240. package/dist/typescript/components/typescript-file.mjs +4 -4
  241. package/dist/typescript/components/typescript-interface.cjs +4 -4
  242. package/dist/typescript/components/typescript-interface.d.cts +2 -2
  243. package/dist/typescript/components/typescript-interface.d.mts +2 -2
  244. package/dist/typescript/components/typescript-interface.mjs +4 -4
  245. package/dist/typescript/components/typescript-object.cjs +4 -4
  246. package/dist/typescript/components/typescript-object.d.cts +2 -2
  247. package/dist/typescript/components/typescript-object.d.mts +2 -2
  248. package/dist/typescript/components/typescript-object.mjs +4 -4
  249. package/dist/typescript/index.cjs +12 -12
  250. package/dist/typescript/index.d.cts +12 -12
  251. package/dist/typescript/index.d.mts +12 -12
  252. package/dist/typescript/index.mjs +12 -12
  253. package/dist/{typescript-BpWiXYf3.d.mts → typescript-D2NuvKuU.d.cts} +1 -1
  254. package/dist/{typescript-BpWiXYf3.d.mts.map → typescript-D2NuvKuU.d.cts.map} +1 -1
  255. package/dist/{typescript-CJjS7_9C.d.cts → typescript-ImCZ_9UC.d.mts} +1 -1
  256. package/dist/{typescript-CJjS7_9C.d.cts.map → typescript-ImCZ_9UC.d.mts.map} +1 -1
  257. package/dist/{typescript-file-DyHjzkBn.cjs → typescript-file-4oY1sIRB.cjs} +3 -3
  258. package/dist/{typescript-file-Bi1qvGaE.mjs → typescript-file-Bo3KHWdR.mjs} +4 -4
  259. package/dist/{typescript-file-Bi1qvGaE.mjs.map → typescript-file-Bo3KHWdR.mjs.map} +1 -1
  260. package/dist/{typescript-file-CWoL1YfK.d.mts → typescript-file-BzXivK-j.d.cts} +3 -3
  261. package/dist/{typescript-file-CWoL1YfK.d.mts.map → typescript-file-BzXivK-j.d.cts.map} +1 -1
  262. package/dist/{typescript-file-Fc4x93jB.d.cts → typescript-file-DLBBHHWY.d.mts} +3 -3
  263. package/dist/{typescript-file-Fc4x93jB.d.cts.map → typescript-file-DLBBHHWY.d.mts.map} +1 -1
  264. package/dist/{typescript-interface-DT_7W_xl.cjs → typescript-interface-B0AoZx3f.cjs} +3 -3
  265. package/dist/{typescript-interface-Dv60KOOZ.mjs → typescript-interface-CBaHBdis.mjs} +4 -4
  266. package/dist/{typescript-interface-Dv60KOOZ.mjs.map → typescript-interface-CBaHBdis.mjs.map} +1 -1
  267. package/dist/{typescript-interface-D-9IsIBo.d.mts → typescript-interface-DYG0IOR-.d.mts} +2 -2
  268. package/dist/{typescript-interface-D-9IsIBo.d.mts.map → typescript-interface-DYG0IOR-.d.mts.map} +1 -1
  269. package/dist/{typescript-interface-BleA7_Sa.d.cts → typescript-interface-WKTnM5vn.d.cts} +6 -6
  270. package/dist/{typescript-interface-BleA7_Sa.d.cts.map → typescript-interface-WKTnM5vn.d.cts.map} +1 -1
  271. package/dist/{typescript-object-D3RQtfqC.cjs → typescript-object-C4d4fThY.cjs} +3 -3
  272. package/dist/{typescript-object-WobVpqpw.d.mts → typescript-object-Cun6srBu.d.cts} +5 -5
  273. package/dist/{typescript-object-WobVpqpw.d.mts.map → typescript-object-Cun6srBu.d.cts.map} +1 -1
  274. package/dist/{typescript-object-CTkohEIG.d.cts → typescript-object-DDrR7gcH.d.mts} +6 -6
  275. package/dist/{typescript-object-CTkohEIG.d.cts.map → typescript-object-DDrR7gcH.d.mts.map} +1 -1
  276. package/dist/{typescript-object-Dz6RCmCZ.mjs → typescript-object-DrsEti-t.mjs} +4 -4
  277. package/dist/{typescript-object-Dz6RCmCZ.mjs.map → typescript-object-DrsEti-t.mjs.map} +1 -1
  278. package/package.json +16 -16
  279. package/dist/index-gxEAO6Ad.d.cts +0 -1
  280. package/dist/index-sViox9YW.d.mts +0 -1
  281. package/dist/meta-CW_VzTrH.d.cts.map +0 -1
  282. package/dist/meta-Cx5Eo5XM.d.mts.map +0 -1
  283. package/dist/meta-nicfM4rP.mjs.map +0 -1
  284. package/dist/output-BfyCbY3q.mjs +0 -35
  285. package/dist/output-BfyCbY3q.mjs.map +0 -1
  286. package/dist/output-D2_r5fQS.d.cts.map +0 -1
  287. package/dist/output-DIrAcd1E.d.mts.map +0 -1
  288. package/dist/plugin-CPRkKBy2.d.cts +0 -72
  289. package/dist/plugin-CPRkKBy2.d.cts.map +0 -1
  290. package/dist/plugin-D459iJ5d.d.mts +0 -72
  291. package/dist/plugin-D459iJ5d.d.mts.map +0 -1
  292. package/dist/refkey-CqkD5Tjp.d.mts.map +0 -1
  293. package/dist/refkey-DqDd2Fzs.d.cts.map +0 -1
  294. package/dist/single-line-comment-PMv_zrfe.d.mts.map +0 -1
  295. package/dist/tsdoc-BlBkyIWO.d.cts.map +0 -1
  296. package/dist/tsdoc-reflection-D6D_9W1j.d.cts.map +0 -1
  297. package/dist/types/_internal.cjs +0 -0
  298. package/dist/types/_internal.d.cts +0 -42
  299. package/dist/types/_internal.d.cts.map +0 -1
  300. package/dist/types/_internal.d.mts +0 -42
  301. package/dist/types/_internal.d.mts.map +0 -1
  302. package/dist/types/_internal.mjs +0 -1
  303. /package/dist/{components-BYyc8-6U.cjs → components-B0evB5xd.cjs} +0 -0
  304. /package/dist/{components-DTKCKgWS.mjs → components-Das8TEFO.mjs} +0 -0
  305. /package/dist/{contexts-Do5bLA7f.cjs → contexts-DWGMeWga.cjs} +0 -0
  306. /package/dist/{contexts-D631HKlO.mjs → contexts-d0vn6-x6.mjs} +0 -0
  307. /package/dist/{index--p6oQT9I.d.mts → index-B_BBnMou.d.mts} +0 -0
  308. /package/dist/{index-CryTAIZM.d.mts → index-Ch3mSML4.d.cts} +0 -0
  309. /package/dist/{index-CyJfB4lt.d.cts → index-DHFfG4yr.d.cts} +0 -0
  310. /package/dist/{index-D9IqtUDs.d.cts → index-DgJfEygr.d.mts} +0 -0
  311. /package/dist/{reflection-BSrdR0Qz.cjs → reflection-BktS88RM.cjs} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"markdown-table-C_Hf6eBe.mjs","names":["code","computed","Prose","Show","splitProps","titleCase","isUndefined","MarkdownTableContext","useMarkdownTable","MarkdownTable","props","children","data","columns","Object","keys","map","name","index","align","width","_$createComponent","Provider","value","when","Boolean","MarkdownTableColumn","tableContext","columnRef","find","c","indexRef","alignRef","widthRef","textLength","content","toString","length","repeat","MarkdownTableColumnHeader","rest","_$mergeProps","fallback","useDescriptions"],"sources":["../src/markdown/components/markdown-table.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 { code, computed, Prose, Show, splitProps } from \"@alloy-js/core\";\nimport { titleCase } from \"@stryke/string-format/title-case\";\nimport { isUndefined } from \"@stryke/type-checks/is-undefined\";\nimport { ComponentProps } from \"../../types/components\";\nimport {\n MarkdownTableColumnContextInterface,\n MarkdownTableContext,\n useMarkdownTable\n} from \"../contexts/markdown-table\";\n\nexport interface MarkdownTableProps<\n T extends Record<string, any> = Record<string, any>\n> extends ComponentProps {\n data: T[];\n}\n\n/**\n * Component that provides a context for rendering markdown tables.\n */\nexport function MarkdownTable<\n T extends Record<string, any> = Record<string, any>\n>(props: MarkdownTableProps<T>) {\n const [{ children, data }] = splitProps(props, [\"children\", \"data\"]);\n\n const columns = computed(() =>\n Object.keys(data).map((name: string, index: number) => ({\n index,\n name,\n align: \"left\" as const,\n width: 20\n }))\n );\n\n return (\n <MarkdownTableContext.Provider value={{ columns: columns.value, data }}>\n <Show when={Boolean(children)}>{children}</Show>\n </MarkdownTableContext.Provider>\n );\n}\n\nexport type MarkdownTableColumnProps = ComponentProps &\n Partial<Pick<MarkdownTableColumnContextInterface, \"align\">> &\n Required<Pick<MarkdownTableColumnContextInterface, \"name\">> & {\n width?: number;\n };\n\n/**\n * Component that provides a context for rendering markdown tables.\n */\nexport function MarkdownTableColumn(props: MarkdownTableColumnProps) {\n const [{ children, width, align, name }] = splitProps(props, [\n \"children\",\n \"width\",\n \"align\",\n \"name\"\n ]);\n\n const tableContext = useMarkdownTable();\n const columnRef = computed(() =>\n tableContext?.columns.find(c => c.name === name)\n );\n\n const indexRef = computed(() => columnRef.value?.index ?? 0);\n const alignRef = computed(() => columnRef.value?.align ?? align ?? \"left\");\n const widthRef = computed(() => columnRef.value?.width ?? width ?? 20);\n\n const textLength = computed(() => {\n const content = children ? children.toString() : \"\";\n\n return content.length;\n });\n\n return (\n <Prose>\n <Show when={indexRef.value === 0}>{\"|\"}</Show>\n <Show when={Boolean(children)}>\n <Prose>{code`${\n alignRef.value === \"left\"\n ? \" \".repeat(widthRef.value - textLength.value - 1)\n : \" \"\n }${children}${\n alignRef.value === \"right\"\n ? \" \".repeat(widthRef.value - textLength.value - 1)\n : \" \"\n }`}</Prose>\n </Show>\n {\"|\"}\n </Prose>\n );\n}\n\n/**\n * Component that provides a context for rendering markdown tables.\n */\nexport function MarkdownTableColumnHeader(props: MarkdownTableColumnProps) {\n const [{ children, name }, rest] = splitProps(props, [\"children\", \"name\"]);\n\n return (\n <>\n <MarkdownTableColumn {...rest} name={name}>\n <Show\n fallback={titleCase(name, {\n useDescriptions: false\n })}\n when={!isUndefined(children)}>\n {children}\n </Show>\n </MarkdownTableColumn>\n </>\n );\n}\n"],"mappings":""}
1
+ {"version":3,"file":"markdown-table-CRVCcmmS.mjs","names":["code","computed","Prose","Show","splitProps","titleCase","isUndefined","MarkdownTableContext","useMarkdownTable","MarkdownTable","props","children","data","columns","Object","keys","map","name","index","align","width","_$createComponent","Provider","value","when","Boolean","MarkdownTableColumn","tableContext","columnRef","find","c","indexRef","alignRef","widthRef","textLength","content","toString","length","repeat","MarkdownTableColumnHeader","rest","_$mergeProps","fallback","useDescriptions"],"sources":["../src/markdown/components/markdown-table.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 { code, computed, Prose, Show, splitProps } from \"@alloy-js/core\";\nimport { titleCase } from \"@stryke/string-format/title-case\";\nimport { isUndefined } from \"@stryke/type-checks/is-undefined\";\nimport { ComponentProps } from \"../../types/components\";\nimport {\n MarkdownTableColumnContextInterface,\n MarkdownTableContext,\n useMarkdownTable\n} from \"../contexts/markdown-table\";\n\nexport interface MarkdownTableProps<\n T extends Record<string, any> = Record<string, any>\n> extends ComponentProps {\n data: T[];\n}\n\n/**\n * Component that provides a context for rendering markdown tables.\n */\nexport function MarkdownTable<\n T extends Record<string, any> = Record<string, any>\n>(props: MarkdownTableProps<T>) {\n const [{ children, data }] = splitProps(props, [\"children\", \"data\"]);\n\n const columns = computed(() =>\n Object.keys(data).map((name: string, index: number) => ({\n index,\n name,\n align: \"left\" as const,\n width: 20\n }))\n );\n\n return (\n <MarkdownTableContext.Provider value={{ columns: columns.value, data }}>\n <Show when={Boolean(children)}>{children}</Show>\n </MarkdownTableContext.Provider>\n );\n}\n\nexport type MarkdownTableColumnProps = ComponentProps &\n Partial<Pick<MarkdownTableColumnContextInterface, \"align\">> &\n Required<Pick<MarkdownTableColumnContextInterface, \"name\">> & {\n width?: number;\n };\n\n/**\n * Component that provides a context for rendering markdown tables.\n */\nexport function MarkdownTableColumn(props: MarkdownTableColumnProps) {\n const [{ children, width, align, name }] = splitProps(props, [\n \"children\",\n \"width\",\n \"align\",\n \"name\"\n ]);\n\n const tableContext = useMarkdownTable();\n const columnRef = computed(() =>\n tableContext?.columns.find(c => c.name === name)\n );\n\n const indexRef = computed(() => columnRef.value?.index ?? 0);\n const alignRef = computed(() => columnRef.value?.align ?? align ?? \"left\");\n const widthRef = computed(() => columnRef.value?.width ?? width ?? 20);\n\n const textLength = computed(() => {\n const content = children ? children.toString() : \"\";\n\n return content.length;\n });\n\n return (\n <Prose>\n <Show when={indexRef.value === 0}>{\"|\"}</Show>\n <Show when={Boolean(children)}>\n <Prose>{code`${\n alignRef.value === \"left\"\n ? \" \".repeat(widthRef.value - textLength.value - 1)\n : \" \"\n }${children}${\n alignRef.value === \"right\"\n ? \" \".repeat(widthRef.value - textLength.value - 1)\n : \" \"\n }`}</Prose>\n </Show>\n {\"|\"}\n </Prose>\n );\n}\n\n/**\n * Component that provides a context for rendering markdown tables.\n */\nexport function MarkdownTableColumnHeader(props: MarkdownTableColumnProps) {\n const [{ children, name }, rest] = splitProps(props, [\"children\", \"name\"]);\n\n return (\n <>\n <MarkdownTableColumn {...rest} name={name}>\n <Show\n fallback={titleCase(name, {\n useDescriptions: false\n })}\n when={!isUndefined(children)}>\n {children}\n </Show>\n </MarkdownTableColumn>\n </>\n );\n}\n"],"mappings":""}
@@ -1,6 +1,6 @@
1
- import { n as ComponentProps } from "./components-DPPi58b5.cjs";
2
- import { n as MarkdownTableColumnContextInterface } from "./markdown-table-Dxxupt8O.cjs";
3
- import * as _alloy_js_core3 from "@alloy-js/core";
1
+ import { n as ComponentProps } from "./components-CpcNHd1P.mjs";
2
+ import { n as MarkdownTableColumnContextInterface } from "./markdown-table-C3pW_3Ss.mjs";
3
+ import * as _alloy_js_core2 from "@alloy-js/core";
4
4
 
5
5
  //#region src/markdown/components/markdown-table.d.ts
6
6
  interface MarkdownTableProps<T extends Record<string, any> = Record<string, any>> extends ComponentProps {
@@ -9,20 +9,20 @@ interface MarkdownTableProps<T extends Record<string, any> = Record<string, any>
9
9
  /**
10
10
  * Component that provides a context for rendering markdown tables.
11
11
  */
12
- declare function MarkdownTable<T extends Record<string, any> = Record<string, any>>(props: MarkdownTableProps<T>): _alloy_js_core3.Children;
12
+ declare function MarkdownTable<T extends Record<string, any> = Record<string, any>>(props: MarkdownTableProps<T>): _alloy_js_core2.Children;
13
13
  type MarkdownTableColumnProps = ComponentProps & Partial<Pick<MarkdownTableColumnContextInterface, "align">> & Required<Pick<MarkdownTableColumnContextInterface, "name">> & {
14
14
  width?: number;
15
15
  };
16
16
  /**
17
17
  * Component that provides a context for rendering markdown tables.
18
18
  */
19
- declare function MarkdownTableColumn(props: MarkdownTableColumnProps): _alloy_js_core3.Children;
19
+ declare function MarkdownTableColumn(props: MarkdownTableColumnProps): _alloy_js_core2.Children;
20
20
  /**
21
21
  * Component that provides a context for rendering markdown tables.
22
22
  */
23
- declare function MarkdownTableColumnHeader(props: MarkdownTableColumnProps): _alloy_js_core3.Children;
23
+ declare function MarkdownTableColumnHeader(props: MarkdownTableColumnProps): _alloy_js_core2.Children;
24
24
  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-Bq35u0iA.d.cts.map
28
+ //# sourceMappingURL=markdown-table-DAYxgSQH.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"markdown-table-75TAAul6.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
+ {"version":3,"file":"markdown-table-DAYxgSQH.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,6 +1,6 @@
1
- import { n as ComponentProps } from "./components-oHSM7vmp.mjs";
2
- import { n as MarkdownTableColumnContextInterface } from "./markdown-table-DIfM03TF.mjs";
3
- import * as _alloy_js_core4 from "@alloy-js/core";
1
+ import { n as ComponentProps } from "./components-IK2mq84Q.cjs";
2
+ import { n as MarkdownTableColumnContextInterface } from "./markdown-table-Ba6OVv17.cjs";
3
+ import * as _alloy_js_core0 from "@alloy-js/core";
4
4
 
5
5
  //#region src/markdown/components/markdown-table.d.ts
6
6
  interface MarkdownTableProps<T extends Record<string, any> = Record<string, any>> extends ComponentProps {
@@ -9,20 +9,20 @@ interface MarkdownTableProps<T extends Record<string, any> = Record<string, any>
9
9
  /**
10
10
  * Component that provides a context for rendering markdown tables.
11
11
  */
12
- declare function MarkdownTable<T extends Record<string, any> = Record<string, any>>(props: MarkdownTableProps<T>): _alloy_js_core4.Children;
12
+ declare function MarkdownTable<T extends Record<string, any> = Record<string, any>>(props: MarkdownTableProps<T>): _alloy_js_core0.Children;
13
13
  type MarkdownTableColumnProps = ComponentProps & Partial<Pick<MarkdownTableColumnContextInterface, "align">> & Required<Pick<MarkdownTableColumnContextInterface, "name">> & {
14
14
  width?: number;
15
15
  };
16
16
  /**
17
17
  * Component that provides a context for rendering markdown tables.
18
18
  */
19
- declare function MarkdownTableColumn(props: MarkdownTableColumnProps): _alloy_js_core4.Children;
19
+ declare function MarkdownTableColumn(props: MarkdownTableColumnProps): _alloy_js_core0.Children;
20
20
  /**
21
21
  * Component that provides a context for rendering markdown tables.
22
22
  */
23
- declare function MarkdownTableColumnHeader(props: MarkdownTableColumnProps): _alloy_js_core4.Children;
23
+ declare function MarkdownTableColumnHeader(props: MarkdownTableColumnProps): _alloy_js_core0.Children;
24
24
  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-75TAAul6.d.mts.map
28
+ //# sourceMappingURL=markdown-table-Dcee_Q7w.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"markdown-table-Bq35u0iA.d.cts","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
+ {"version":3,"file":"markdown-table-Dcee_Q7w.d.cts","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,7 +1,7 @@
1
1
  const require_chunk = require('./chunk-CbDLau6x.cjs');
2
2
  const require_markdown_table = require('./markdown-table-BWPm6GbJ.cjs');
3
- let __alloy_js_core = require("@alloy-js/core");
4
3
  let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
4
+ let __alloy_js_core = require("@alloy-js/core");
5
5
  let __stryke_string_format_title_case = require("@stryke/string-format/title-case");
6
6
  let __stryke_type_checks_is_undefined = require("@stryke/type-checks/is-undefined");
7
7
 
@@ -1,3 +1,4 @@
1
+ import { ComponentContext } from "@alloy-js/core";
1
2
  import { StoragePreset } from "powerlines/types/fs";
2
3
 
3
4
  //#region src/core/contexts/meta.d.ts
@@ -19,6 +20,16 @@ interface MetaItem {
19
20
  storage?: StoragePreset | string;
20
21
  [key: string]: any;
21
22
  }
23
+ /**
24
+ * The Powerlines meta context used to determine metadata of files generated during rendering.
25
+ */
26
+ declare const MetaContext: ComponentContext<Record<string, MetaItem>>;
27
+ /**
28
+ * Hook to access the Powerlines Context.
29
+ *
30
+ * @returns The Context.
31
+ */
32
+ declare function useMetaContext(): Record<string, MetaItem> | undefined;
22
33
  /**
23
34
  * Hook to safely access the render context's metadata.
24
35
  *
@@ -33,5 +44,5 @@ declare function useMetaSafe(): Record<string, MetaItem> | undefined;
33
44
  declare function useMeta(): Record<string, MetaItem>;
34
45
  declare type __ΩMetaItem = any[];
35
46
  //#endregion
36
- export { useMetaSafe as i, __ΩMetaItem as n, useMeta as r, MetaItem as t };
37
- //# sourceMappingURL=meta-CW_VzTrH.d.cts.map
47
+ export { useMetaContext as a, useMeta as i, MetaItem as n, useMetaSafe as o, __ΩMetaItem as r, MetaContext as t };
48
+ //# sourceMappingURL=meta-B8vjGEJI.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"meta-B8vjGEJI.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,13 +1,26 @@
1
- const require_context = require('./context-DNdlL_gp.cjs');
1
+ const require_chunk = require('./chunk-CbDLau6x.cjs');
2
+ let __alloy_js_core = require("@alloy-js/core");
2
3
 
3
4
  //#region src/core/contexts/meta.ts
4
5
  /**
6
+ * The Powerlines meta context used to determine metadata of files generated during rendering.
7
+ */
8
+ const MetaContext = (0, __alloy_js_core.createNamedContext)("Meta");
9
+ /**
10
+ * Hook to access the Powerlines Context.
11
+ *
12
+ * @returns The Context.
13
+ */
14
+ function useMetaContext() {
15
+ return (0, __alloy_js_core.useContext)(MetaContext);
16
+ }
17
+ /**
5
18
  * Hook to safely access the render context's metadata.
6
19
  *
7
20
  * @returns The Powerlines context or undefined if not set.
8
21
  */
9
22
  function useMetaSafe() {
10
- return require_context.usePowerlines().$$internal.meta.alloy ?? void 0;
23
+ return useMetaContext() ?? void 0;
11
24
  }
12
25
  /**
13
26
  * Hook to access the render context's metadata.
@@ -21,12 +34,24 @@ function useMeta() {
21
34
  }
22
35
 
23
36
  //#endregion
37
+ Object.defineProperty(exports, 'MetaContext', {
38
+ enumerable: true,
39
+ get: function () {
40
+ return MetaContext;
41
+ }
42
+ });
24
43
  Object.defineProperty(exports, 'useMeta', {
25
44
  enumerable: true,
26
45
  get: function () {
27
46
  return useMeta;
28
47
  }
29
48
  });
49
+ Object.defineProperty(exports, 'useMetaContext', {
50
+ enumerable: true,
51
+ get: function () {
52
+ return useMetaContext;
53
+ }
54
+ });
30
55
  Object.defineProperty(exports, 'useMetaSafe', {
31
56
  enumerable: true,
32
57
  get: function () {
@@ -1,3 +1,4 @@
1
+ import { ComponentContext } from "@alloy-js/core";
1
2
  import { StoragePreset } from "powerlines/types/fs";
2
3
 
3
4
  //#region src/core/contexts/meta.d.ts
@@ -19,6 +20,16 @@ interface MetaItem {
19
20
  storage?: StoragePreset | string;
20
21
  [key: string]: any;
21
22
  }
23
+ /**
24
+ * The Powerlines meta context used to determine metadata of files generated during rendering.
25
+ */
26
+ declare const MetaContext: ComponentContext<Record<string, MetaItem>>;
27
+ /**
28
+ * Hook to access the Powerlines Context.
29
+ *
30
+ * @returns The Context.
31
+ */
32
+ declare function useMetaContext(): Record<string, MetaItem> | undefined;
22
33
  /**
23
34
  * Hook to safely access the render context's metadata.
24
35
  *
@@ -33,5 +44,5 @@ declare function useMetaSafe(): Record<string, MetaItem> | undefined;
33
44
  declare function useMeta(): Record<string, MetaItem>;
34
45
  declare type __ΩMetaItem = any[];
35
46
  //#endregion
36
- export { useMetaSafe as i, __ΩMetaItem as n, useMeta as r, MetaItem as t };
37
- //# sourceMappingURL=meta-Cx5Eo5XM.d.mts.map
47
+ export { useMetaContext as a, useMeta as i, MetaItem as n, useMetaSafe as o, __ΩMetaItem as r, MetaContext as t };
48
+ //# sourceMappingURL=meta-D2yuTClk.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"meta-D2yuTClk.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,13 +1,25 @@
1
- import { n as usePowerlines } from "./context-CKFN898c.mjs";
1
+ import { createNamedContext, useContext } from "@alloy-js/core";
2
2
 
3
3
  //#region src/core/contexts/meta.ts
4
4
  /**
5
+ * The Powerlines meta context used to determine metadata of files generated during rendering.
6
+ */
7
+ const MetaContext = createNamedContext("Meta");
8
+ /**
9
+ * Hook to access the Powerlines Context.
10
+ *
11
+ * @returns The Context.
12
+ */
13
+ function useMetaContext() {
14
+ return useContext(MetaContext);
15
+ }
16
+ /**
5
17
  * Hook to safely access the render context's metadata.
6
18
  *
7
19
  * @returns The Powerlines context or undefined if not set.
8
20
  */
9
21
  function useMetaSafe() {
10
- return usePowerlines().$$internal.meta.alloy ?? void 0;
22
+ return useMetaContext() ?? void 0;
11
23
  }
12
24
  /**
13
25
  * Hook to access the render context's metadata.
@@ -21,5 +33,5 @@ function useMeta() {
21
33
  }
22
34
 
23
35
  //#endregion
24
- export { useMetaSafe as n, useMeta as t };
25
- //# sourceMappingURL=meta-nicfM4rP.mjs.map
36
+ export { useMetaSafe as i, useMeta as n, useMetaContext as r, MetaContext as t };
37
+ //# sourceMappingURL=meta-YszNJizK.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"meta-YszNJizK.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,32 +1,36 @@
1
1
  const require_chunk = require('./chunk-CbDLau6x.cjs');
2
2
  const require_context = require('./context-DNdlL_gp.cjs');
3
- let __alloy_js_core = require("@alloy-js/core");
3
+ const require_meta = require('./meta-BVJcyXVs.cjs');
4
4
  let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
5
- let __stryke_path_replace = require("@stryke/path/replace");
5
+ let __alloy_js_core = require("@alloy-js/core");
6
6
 
7
7
  //#region src/core/components/output.tsx
8
8
  /**
9
9
  * Output component for rendering the Powerlines plugin's output files via templates.
10
10
  */
11
11
  function Output(props) {
12
- const [{ children, context, basePath }, rest] = (0, __alloy_js_core.splitProps)(props, [
12
+ const [{ children, context, meta }, rest] = (0, __alloy_js_core.splitProps)(props, [
13
13
  "children",
14
14
  "context",
15
- "basePath"
15
+ "meta"
16
16
  ]);
17
- const basePathRef = (0, __alloy_js_core.computed)(() => basePath ? (0, __stryke_path_replace.replacePath)(basePath, context.workspaceConfig.workspaceRoot) : context.workspaceConfig.workspaceRoot);
18
17
  const contextRef = (0, __alloy_js_core.computed)(() => context);
19
- return (0, __alloy_js_core_jsx_runtime.createComponent)(require_context.PowerlinesContext.Provider, {
20
- get value() {
21
- return contextRef.value;
22
- },
18
+ return (0, __alloy_js_core_jsx_runtime.createComponent)(require_meta.MetaContext.Provider, {
19
+ value: meta,
23
20
  get children() {
24
- return (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Output, (0, __alloy_js_core_jsx_runtime.mergeProps)(rest, {
25
- get basePath() {
26
- return basePathRef.value;
21
+ return (0, __alloy_js_core_jsx_runtime.createComponent)(require_context.PowerlinesContext.Provider, {
22
+ get value() {
23
+ return contextRef.value;
27
24
  },
28
- children
29
- }));
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
+ });
30
34
  }
31
35
  });
32
36
  }
@@ -1,19 +1,24 @@
1
- import * as _alloy_js_core2 from "@alloy-js/core";
1
+ import { n as MetaItem } from "./meta-B8vjGEJI.cjs";
2
+ import * as _alloy_js_core11 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_core2.Children;
20
+ declare function Output<TContext extends PluginContext = PluginContext>(props: OutputProps$1<TContext>): _alloy_js_core11.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-D2_r5fQS.d.cts.map
24
+ //# sourceMappingURL=output-B5v8eGOS.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"output-B5v8eGOS.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"}
@@ -0,0 +1,39 @@
1
+ import { t as PowerlinesContext } from "./context-CKFN898c.mjs";
2
+ import { t as MetaContext } from "./meta-YszNJizK.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-BvLp1fyI.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"output-BvLp1fyI.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":""}
@@ -1,13 +1,18 @@
1
+ import { n as MetaItem } from "./meta-D2yuTClk.mjs";
1
2
  import * as _alloy_js_core1 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.
@@ -16,4 +21,4 @@ declare function Output$1<TContext extends PluginContext = PluginContext>(props:
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-QwbsV2bO.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"output-QwbsV2bO.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 { PrintTreeOptions } from "@alloy-js/core";
2
+ import { PluginContext } from "powerlines/types/context";
3
+ import { BabelPluginResolvedConfig, BabelPluginUserConfig } from "@powerlines/plugin-babel/types/plugin";
4
+
5
+ //#region src/types/plugin.d.ts
6
+ type AlloyPluginOptions = Partial<PrintTreeOptions> & {
7
+ /**
8
+ * If true, the Alloy framework is used to generate Typescript output files.
9
+ *
10
+ * @defaultValue true
11
+ */
12
+ typescript?: boolean;
13
+ /**
14
+ * If true, the Alloy framework is used to generate JSON output files.
15
+ *
16
+ * @defaultValue false
17
+ */
18
+ json?: boolean;
19
+ /**
20
+ * If true, the Alloy framework is used to generate Markdown output files.
21
+ *
22
+ * @defaultValue false
23
+ */
24
+ markdown?: boolean;
25
+ };
26
+ type AlloyPluginUserConfig = BabelPluginUserConfig & {
27
+ alloy?: AlloyPluginOptions;
28
+ };
29
+ type AlloyPluginResolvedConfig = BabelPluginResolvedConfig & {
30
+ alloy: AlloyPluginOptions;
31
+ };
32
+ type AlloyPluginContext<TResolvedConfig extends AlloyPluginResolvedConfig = AlloyPluginResolvedConfig> = PluginContext<TResolvedConfig>;
33
+ declare type __ΩAlloyPluginOptions = any[];
34
+ declare type __ΩAlloyPluginUserConfig = any[];
35
+ declare type __ΩAlloyPluginResolvedConfig = any[];
36
+ declare type __ΩAlloyPluginContext = any[];
37
+ //#endregion
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 };
39
+ //# sourceMappingURL=plugin--P3zPhDL.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin--P3zPhDL.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"}
@@ -0,0 +1,39 @@
1
+ import { PrintTreeOptions } from "@alloy-js/core";
2
+ import { PluginContext } from "powerlines/types/context";
3
+ import { BabelPluginResolvedConfig, BabelPluginUserConfig } from "@powerlines/plugin-babel/types/plugin";
4
+
5
+ //#region src/types/plugin.d.ts
6
+ type AlloyPluginOptions = Partial<PrintTreeOptions> & {
7
+ /**
8
+ * If true, the Alloy framework is used to generate Typescript output files.
9
+ *
10
+ * @defaultValue true
11
+ */
12
+ typescript?: boolean;
13
+ /**
14
+ * If true, the Alloy framework is used to generate JSON output files.
15
+ *
16
+ * @defaultValue false
17
+ */
18
+ json?: boolean;
19
+ /**
20
+ * If true, the Alloy framework is used to generate Markdown output files.
21
+ *
22
+ * @defaultValue false
23
+ */
24
+ markdown?: boolean;
25
+ };
26
+ type AlloyPluginUserConfig = BabelPluginUserConfig & {
27
+ alloy?: AlloyPluginOptions;
28
+ };
29
+ type AlloyPluginResolvedConfig = BabelPluginResolvedConfig & {
30
+ alloy: AlloyPluginOptions;
31
+ };
32
+ type AlloyPluginContext<TResolvedConfig extends AlloyPluginResolvedConfig = AlloyPluginResolvedConfig> = PluginContext<TResolvedConfig>;
33
+ declare type __ΩAlloyPluginOptions = any[];
34
+ declare type __ΩAlloyPluginUserConfig = any[];
35
+ declare type __ΩAlloyPluginResolvedConfig = any[];
36
+ declare type __ΩAlloyPluginContext = any[];
37
+ //#endregion
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 };
39
+ //# sourceMappingURL=plugin-IvNRWrk4.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin-IvNRWrk4.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"}
@@ -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-CJcabN6g.d.cts.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-CJcabN6g.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"}
@@ -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-DlAsQ3Xo.d.mts.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-DlAsQ3Xo.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"}
@@ -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-BUCGYKFp.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"refkey-BUCGYKFp.d.cts","names":[],"sources":["../src/helpers/refkey.ts"],"sourcesContent":[],"mappings":";;;;;;AA0BA;;;;iBAAgB,MAAA,sBAA4B"}
@@ -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-BYkTQR2j.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"refkey-BYkTQR2j.d.mts","names":[],"sources":["../src/helpers/refkey.ts"],"sourcesContent":[],"mappings":";;;;;;AA0BA;;;;iBAAgB,QAAA,sBAA4B"}
@@ -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-CDRGf-os.mjs.map