@powerlines/plugin-alloy 0.19.32 → 0.19.34

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 (460) hide show
  1. package/dist/{chunk-CbDLau6x.cjs → _virtual/rolldown_runtime.cjs} +1 -6
  2. package/dist/core/components/index.cjs +6 -11
  3. package/dist/core/components/index.d.cts +3 -9
  4. package/dist/core/components/index.d.mts +3 -9
  5. package/dist/core/components/index.mjs +3 -8
  6. package/dist/core/components/output.cjs +39 -6
  7. package/dist/core/components/output.d.cts +25 -7
  8. package/dist/core/components/output.d.cts.map +1 -0
  9. package/dist/core/components/output.d.mts +25 -7
  10. package/dist/core/components/output.d.mts.map +1 -0
  11. package/dist/core/components/output.mjs +39 -6
  12. package/dist/core/components/output.mjs.map +1 -0
  13. package/dist/core/components/single-line-comment.cjs +21 -2
  14. package/dist/core/components/single-line-comment.d.cts +23 -3
  15. package/dist/core/components/single-line-comment.d.cts.map +1 -0
  16. package/dist/core/components/single-line-comment.d.mts +23 -3
  17. package/dist/core/components/single-line-comment.d.mts.map +1 -0
  18. package/dist/core/components/single-line-comment.mjs +21 -2
  19. package/dist/core/components/single-line-comment.mjs.map +1 -0
  20. package/dist/core/components/source-file.cjs +62 -3
  21. package/dist/core/components/source-file.d.cts +33 -3
  22. package/dist/core/components/source-file.d.cts.map +1 -0
  23. package/dist/core/components/source-file.d.mts +33 -3
  24. package/dist/core/components/source-file.d.mts.map +1 -0
  25. package/dist/core/components/source-file.mjs +61 -3
  26. package/dist/core/components/source-file.mjs.map +1 -0
  27. package/dist/core/contexts/context.cjs +39 -5
  28. package/dist/core/contexts/context.d.cts +30 -2
  29. package/dist/core/contexts/context.d.cts.map +1 -0
  30. package/dist/core/contexts/context.d.mts +30 -2
  31. package/dist/core/contexts/context.d.mts.map +1 -0
  32. package/dist/core/contexts/context.mjs +36 -2
  33. package/dist/core/contexts/context.mjs.map +1 -0
  34. package/dist/core/contexts/index.cjs +19 -20
  35. package/dist/core/contexts/index.d.cts +3 -5
  36. package/dist/core/contexts/index.d.mts +3 -5
  37. package/dist/core/contexts/index.mjs +3 -4
  38. package/dist/core/contexts/meta.cjs +39 -5
  39. package/dist/core/contexts/meta.d.cts +48 -2
  40. package/dist/core/contexts/meta.d.cts.map +1 -0
  41. package/dist/core/contexts/meta.d.mts +48 -2
  42. package/dist/core/contexts/meta.d.mts.map +1 -0
  43. package/dist/core/contexts/meta.mjs +36 -2
  44. package/dist/core/contexts/meta.mjs.map +1 -0
  45. package/dist/core/contexts/reflection.cjs +67 -9
  46. package/dist/core/contexts/reflection.d.cts +53 -3
  47. package/dist/core/contexts/reflection.d.cts.map +1 -0
  48. package/dist/core/contexts/reflection.d.mts +53 -3
  49. package/dist/core/contexts/reflection.d.mts.map +1 -0
  50. package/dist/core/contexts/reflection.mjs +60 -2
  51. package/dist/core/contexts/reflection.mjs.map +1 -0
  52. package/dist/core/index.cjs +27 -27
  53. package/dist/core/index.d.cts +8 -9
  54. package/dist/core/index.d.mts +8 -9
  55. package/dist/core/index.mjs +8 -8
  56. package/dist/helpers/capnp.cjs +276 -18
  57. package/dist/helpers/capnp.d.cts +88 -2
  58. package/dist/helpers/capnp.d.cts.map +1 -0
  59. package/dist/helpers/capnp.d.mts +88 -2
  60. package/dist/helpers/capnp.d.mts.map +1 -0
  61. package/dist/helpers/capnp.mjs +259 -2
  62. package/dist/helpers/capnp.mjs.map +1 -0
  63. package/dist/helpers/create-builtin.cjs +18 -2
  64. package/dist/helpers/create-builtin.d.cts +16 -2
  65. package/dist/helpers/create-builtin.d.cts.map +1 -0
  66. package/dist/helpers/create-builtin.d.mts +16 -2
  67. package/dist/helpers/create-builtin.d.mts.map +1 -0
  68. package/dist/helpers/create-builtin.mjs +18 -2
  69. package/dist/helpers/create-builtin.mjs.map +1 -0
  70. package/dist/helpers/index.cjs +23 -23
  71. package/dist/helpers/index.d.cts +4 -4
  72. package/dist/helpers/index.d.mts +4 -4
  73. package/dist/helpers/index.mjs +4 -4
  74. package/dist/helpers/refkey.cjs +15 -2
  75. package/dist/helpers/refkey.d.cts +14 -2
  76. package/dist/helpers/refkey.d.cts.map +1 -0
  77. package/dist/helpers/refkey.d.mts +14 -2
  78. package/dist/helpers/refkey.d.mts.map +1 -0
  79. package/dist/helpers/refkey.mjs +15 -2
  80. package/dist/helpers/refkey.mjs.map +1 -0
  81. package/dist/helpers/typescript.cjs +45 -2
  82. package/dist/helpers/typescript.d.cts +26 -2
  83. package/dist/helpers/typescript.d.cts.map +1 -0
  84. package/dist/helpers/typescript.d.mts +26 -2
  85. package/dist/helpers/typescript.d.mts.map +1 -0
  86. package/dist/helpers/typescript.mjs +45 -2
  87. package/dist/helpers/typescript.mjs.map +1 -0
  88. package/dist/index.cjs +2 -2
  89. package/dist/index.d.cts +1 -1
  90. package/dist/index.d.mts +1 -1
  91. package/dist/markdown/components/front-matter.cjs +27 -2
  92. package/dist/markdown/components/front-matter.d.cts +16 -2
  93. package/dist/markdown/components/front-matter.d.cts.map +1 -0
  94. package/dist/markdown/components/front-matter.d.mts +16 -2
  95. package/dist/markdown/components/front-matter.d.mts.map +1 -0
  96. package/dist/markdown/components/front-matter.mjs +27 -2
  97. package/dist/markdown/components/front-matter.mjs.map +1 -0
  98. package/dist/markdown/components/index.cjs +9 -15
  99. package/dist/markdown/components/index.d.cts +3 -7
  100. package/dist/markdown/components/index.d.mts +3 -7
  101. package/dist/markdown/components/index.mjs +3 -9
  102. package/dist/markdown/components/markdown-file.cjs +130 -8
  103. package/dist/markdown/components/markdown-file.d.cts +29 -5
  104. package/dist/markdown/components/markdown-file.d.cts.map +1 -0
  105. package/dist/markdown/components/markdown-file.d.mts +29 -5
  106. package/dist/markdown/components/markdown-file.d.mts.map +1 -0
  107. package/dist/markdown/components/markdown-file.mjs +129 -7
  108. package/dist/markdown/components/markdown-file.mjs.map +1 -0
  109. package/dist/markdown/components/markdown-table.cjs +100 -5
  110. package/dist/markdown/components/markdown-table.d.cts +28 -4
  111. package/dist/markdown/components/markdown-table.d.cts.map +1 -0
  112. package/dist/markdown/components/markdown-table.d.mts +28 -4
  113. package/dist/markdown/components/markdown-table.d.mts.map +1 -0
  114. package/dist/markdown/components/markdown-table.mjs +98 -3
  115. package/dist/markdown/components/markdown-table.mjs.map +1 -0
  116. package/dist/markdown/contexts/index.cjs +5 -6
  117. package/dist/markdown/contexts/index.d.cts +1 -2
  118. package/dist/markdown/contexts/index.d.mts +1 -2
  119. package/dist/markdown/contexts/index.mjs +1 -2
  120. package/dist/markdown/contexts/markdown-table.cjs +36 -5
  121. package/dist/markdown/contexts/markdown-table.d.cts +38 -2
  122. package/dist/markdown/contexts/markdown-table.d.cts.map +1 -0
  123. package/dist/markdown/contexts/markdown-table.d.mts +38 -2
  124. package/dist/markdown/contexts/markdown-table.d.mts.map +1 -0
  125. package/dist/markdown/contexts/markdown-table.mjs +33 -2
  126. package/dist/markdown/contexts/markdown-table.mjs.map +1 -0
  127. package/dist/markdown/index.cjs +16 -20
  128. package/dist/markdown/index.d.cts +6 -8
  129. package/dist/markdown/index.d.mts +6 -8
  130. package/dist/markdown/index.mjs +6 -10
  131. package/dist/render.cjs +60 -0
  132. package/dist/render.d.cts +23 -0
  133. package/dist/render.d.cts.map +1 -0
  134. package/dist/render.d.mts +23 -0
  135. package/dist/render.d.mts.map +1 -0
  136. package/dist/render.mjs +60 -0
  137. package/dist/render.mjs.map +1 -0
  138. package/dist/types/components.cjs +0 -1
  139. package/dist/types/components.d.cts +143 -2
  140. package/dist/types/components.d.cts.map +1 -0
  141. package/dist/types/components.d.mts +143 -2
  142. package/dist/types/components.d.mts.map +1 -0
  143. package/dist/types/components.mjs +0 -2
  144. package/dist/types/index.cjs +0 -2
  145. package/dist/types/index.d.cts +2 -2
  146. package/dist/types/index.d.mts +2 -2
  147. package/dist/types/index.mjs +0 -3
  148. package/dist/types/plugin.cjs +0 -1
  149. package/dist/types/plugin.d.cts +39 -2
  150. package/dist/types/plugin.d.cts.map +1 -0
  151. package/dist/types/plugin.d.mts +39 -2
  152. package/dist/types/plugin.d.mts.map +1 -0
  153. package/dist/types/plugin.mjs +0 -2
  154. package/dist/typescript/components/builtin-file.cjs +61 -8
  155. package/dist/typescript/components/builtin-file.d.cts +35 -6
  156. package/dist/typescript/components/builtin-file.d.cts.map +1 -0
  157. package/dist/typescript/components/builtin-file.d.mts +35 -6
  158. package/dist/typescript/components/builtin-file.d.mts.map +1 -0
  159. package/dist/typescript/components/builtin-file.mjs +61 -8
  160. package/dist/typescript/components/builtin-file.mjs.map +1 -0
  161. package/dist/typescript/components/dynamic-import-statement.cjs +24 -2
  162. package/dist/typescript/components/dynamic-import-statement.d.cts +33 -2
  163. package/dist/typescript/components/dynamic-import-statement.d.cts.map +1 -0
  164. package/dist/typescript/components/dynamic-import-statement.d.mts +33 -2
  165. package/dist/typescript/components/dynamic-import-statement.d.mts.map +1 -0
  166. package/dist/typescript/components/dynamic-import-statement.mjs +24 -2
  167. package/dist/typescript/components/dynamic-import-statement.mjs.map +1 -0
  168. package/dist/typescript/components/entry-file.cjs +41 -7
  169. package/dist/typescript/components/entry-file.d.cts +28 -5
  170. package/dist/typescript/components/entry-file.d.cts.map +1 -0
  171. package/dist/typescript/components/entry-file.d.mts +28 -5
  172. package/dist/typescript/components/entry-file.d.mts.map +1 -0
  173. package/dist/typescript/components/entry-file.mjs +40 -7
  174. package/dist/typescript/components/entry-file.mjs.map +1 -0
  175. package/dist/typescript/components/index.cjs +43 -49
  176. package/dist/typescript/components/index.d.cts +9 -12
  177. package/dist/typescript/components/index.d.mts +9 -12
  178. package/dist/typescript/components/index.mjs +9 -15
  179. package/dist/typescript/components/record-expression.cjs +11 -2
  180. package/dist/typescript/components/record-expression.d.cts +13 -2
  181. package/dist/typescript/components/record-expression.d.cts.map +1 -0
  182. package/dist/typescript/components/record-expression.d.mts +13 -2
  183. package/dist/typescript/components/record-expression.d.mts.map +1 -0
  184. package/dist/typescript/components/record-expression.mjs +11 -2
  185. package/dist/typescript/components/record-expression.mjs.map +1 -0
  186. package/dist/typescript/components/tsdoc-reflection.cjs +177 -7
  187. package/dist/typescript/components/tsdoc-reflection.d.cts +19 -4
  188. package/dist/typescript/components/tsdoc-reflection.d.cts.map +1 -0
  189. package/dist/typescript/components/tsdoc-reflection.d.mts +19 -4
  190. package/dist/typescript/components/tsdoc-reflection.d.mts.map +1 -0
  191. package/dist/typescript/components/tsdoc-reflection.mjs +175 -5
  192. package/dist/typescript/components/tsdoc-reflection.mjs.map +1 -0
  193. package/dist/typescript/components/tsdoc.cjs +484 -22
  194. package/dist/typescript/components/tsdoc.d.cts +164 -3
  195. package/dist/typescript/components/tsdoc.d.cts.map +1 -0
  196. package/dist/typescript/components/tsdoc.d.mts +164 -3
  197. package/dist/typescript/components/tsdoc.d.mts.map +1 -0
  198. package/dist/typescript/components/tsdoc.mjs +465 -3
  199. package/dist/typescript/components/tsdoc.mjs.map +1 -0
  200. package/dist/typescript/components/typescript-file.cjs +215 -8
  201. package/dist/typescript/components/typescript-file.d.cts +50 -4
  202. package/dist/typescript/components/typescript-file.d.cts.map +1 -0
  203. package/dist/typescript/components/typescript-file.d.mts +50 -4
  204. package/dist/typescript/components/typescript-file.d.mts.map +1 -0
  205. package/dist/typescript/components/typescript-file.mjs +213 -6
  206. package/dist/typescript/components/typescript-file.mjs.map +1 -0
  207. package/dist/typescript/components/typescript-interface.cjs +72 -7
  208. package/dist/typescript/components/typescript-interface.d.cts +26 -3
  209. package/dist/typescript/components/typescript-interface.d.cts.map +1 -0
  210. package/dist/typescript/components/typescript-interface.d.mts +26 -3
  211. package/dist/typescript/components/typescript-interface.d.mts.map +1 -0
  212. package/dist/typescript/components/typescript-interface.mjs +71 -6
  213. package/dist/typescript/components/typescript-interface.mjs.map +1 -0
  214. package/dist/typescript/components/typescript-object.cjs +124 -7
  215. package/dist/typescript/components/typescript-object.d.cts +30 -3
  216. package/dist/typescript/components/typescript-object.d.cts.map +1 -0
  217. package/dist/typescript/components/typescript-object.d.mts +30 -3
  218. package/dist/typescript/components/typescript-object.d.mts.map +1 -0
  219. package/dist/typescript/components/typescript-object.mjs +123 -6
  220. package/dist/typescript/components/typescript-object.mjs.map +1 -0
  221. package/dist/typescript/index.cjs +44 -49
  222. package/dist/typescript/index.d.cts +10 -12
  223. package/dist/typescript/index.d.mts +10 -12
  224. package/dist/typescript/index.mjs +10 -15
  225. package/package.json +20 -6
  226. package/dist/builtin-file-BNp7C-BU.mjs +0 -62
  227. package/dist/builtin-file-BNp7C-BU.mjs.map +0 -1
  228. package/dist/builtin-file-C-TpxdCP.d.mts +0 -35
  229. package/dist/builtin-file-C-TpxdCP.d.mts.map +0 -1
  230. package/dist/builtin-file-CDLuGDg7.d.cts +0 -35
  231. package/dist/builtin-file-CDLuGDg7.d.cts.map +0 -1
  232. package/dist/builtin-file-CQAeHqiO.cjs +0 -67
  233. package/dist/builtin-file-DWcpFOVB.d.mts +0 -35
  234. package/dist/builtin-file-DWcpFOVB.d.mts.map +0 -1
  235. package/dist/builtin-file-I0ejC9w0.d.cts +0 -35
  236. package/dist/builtin-file-I0ejC9w0.d.cts.map +0 -1
  237. package/dist/capnp-CLxcoMcG.d.mts +0 -88
  238. package/dist/capnp-CLxcoMcG.d.mts.map +0 -1
  239. package/dist/capnp-CPbob9Cm.mjs +0 -260
  240. package/dist/capnp-CPbob9Cm.mjs.map +0 -1
  241. package/dist/capnp-ClfqI-5t.cjs +0 -356
  242. package/dist/capnp-DbPtfpg2.d.cts +0 -88
  243. package/dist/capnp-DbPtfpg2.d.cts.map +0 -1
  244. package/dist/components-B0evB5xd.cjs +0 -0
  245. package/dist/components-BNK9p5AE.cjs +0 -0
  246. package/dist/components-ByryZacA.mjs +0 -1
  247. package/dist/components-C3qpgLKV.mjs +0 -1
  248. package/dist/components-Cr-i-ofB.mjs +0 -1
  249. package/dist/components-CvqTz7Q9.d.cts +0 -143
  250. package/dist/components-CvqTz7Q9.d.cts.map +0 -1
  251. package/dist/components-DPKSrvP-.cjs +0 -0
  252. package/dist/components-ISRFDWTF.cjs +0 -0
  253. package/dist/components-NXgsRgB4.mjs +0 -1
  254. package/dist/components-_4e2YMfT.d.mts +0 -143
  255. package/dist/components-_4e2YMfT.d.mts.map +0 -1
  256. package/dist/context-C7gW4eqa.d.cts +0 -30
  257. package/dist/context-C7gW4eqa.d.cts.map +0 -1
  258. package/dist/context-CdPajCh6.mjs +0 -37
  259. package/dist/context-CdPajCh6.mjs.map +0 -1
  260. package/dist/context-D5pAjVbn.d.mts +0 -30
  261. package/dist/context-D5pAjVbn.d.mts.map +0 -1
  262. package/dist/context-DNdlL_gp.cjs +0 -60
  263. package/dist/contexts-BqTplHQH.mjs +0 -1
  264. package/dist/contexts-D-vYhGdM.mjs +0 -1
  265. package/dist/contexts-DWGMeWga.cjs +0 -0
  266. package/dist/contexts-J643Nrrt.cjs +0 -0
  267. package/dist/create-builtin-Be3J_vqf.mjs +0 -19
  268. package/dist/create-builtin-Be3J_vqf.mjs.map +0 -1
  269. package/dist/create-builtin-BiKyN2s2.cjs +0 -24
  270. package/dist/create-builtin-Bpswa0ZT.d.cts +0 -16
  271. package/dist/create-builtin-Bpswa0ZT.d.cts.map +0 -1
  272. package/dist/create-builtin-CbEjJreB.d.mts +0 -16
  273. package/dist/create-builtin-CbEjJreB.d.mts.map +0 -1
  274. package/dist/dynamic-import-statement-B4Ov9C7y.mjs +0 -25
  275. package/dist/dynamic-import-statement-B4Ov9C7y.mjs.map +0 -1
  276. package/dist/dynamic-import-statement-CNsIFAva.d.cts +0 -33
  277. package/dist/dynamic-import-statement-CNsIFAva.d.cts.map +0 -1
  278. package/dist/dynamic-import-statement-CVIYwXyi.d.mts +0 -33
  279. package/dist/dynamic-import-statement-CVIYwXyi.d.mts.map +0 -1
  280. package/dist/dynamic-import-statement-DDEpZVlQ.d.cts +0 -33
  281. package/dist/dynamic-import-statement-DDEpZVlQ.d.cts.map +0 -1
  282. package/dist/dynamic-import-statement-DSNDMC9Y.d.mts +0 -33
  283. package/dist/dynamic-import-statement-DSNDMC9Y.d.mts.map +0 -1
  284. package/dist/dynamic-import-statement-Dy_MY_Ua.cjs +0 -30
  285. package/dist/entry-file-CYPWFUfe.cjs +0 -47
  286. package/dist/entry-file-CrZ-k87r.mjs +0 -41
  287. package/dist/entry-file-CrZ-k87r.mjs.map +0 -1
  288. package/dist/entry-file-DOcjyCDG.d.mts +0 -28
  289. package/dist/entry-file-DOcjyCDG.d.mts.map +0 -1
  290. package/dist/entry-file-DVf4SGx4.d.cts +0 -28
  291. package/dist/entry-file-DVf4SGx4.d.cts.map +0 -1
  292. package/dist/entry-file-DXv3HtYV.d.mts +0 -28
  293. package/dist/entry-file-DXv3HtYV.d.mts.map +0 -1
  294. package/dist/entry-file-y0caTLfc.d.cts +0 -28
  295. package/dist/entry-file-y0caTLfc.d.cts.map +0 -1
  296. package/dist/front-matter-BeTG0uJA.mjs +0 -28
  297. package/dist/front-matter-BeTG0uJA.mjs.map +0 -1
  298. package/dist/front-matter-CXfCT8a8.d.mts +0 -16
  299. package/dist/front-matter-CXfCT8a8.d.mts.map +0 -1
  300. package/dist/front-matter-DTorR58b.d.cts +0 -16
  301. package/dist/front-matter-DTorR58b.d.cts.map +0 -1
  302. package/dist/front-matter-DZ1tB-Uj.cjs +0 -33
  303. package/dist/front-matter-DySGMCRE.d.cts +0 -16
  304. package/dist/front-matter-DySGMCRE.d.cts.map +0 -1
  305. package/dist/index-BJ8-FA6N.d.cts +0 -1
  306. package/dist/index-BXpMZvwA.d.cts +0 -1
  307. package/dist/index-BhY1qu3m.d.cts +0 -1
  308. package/dist/index-BjgW3E7y.d.mts +0 -1
  309. package/dist/index-C3usUse7.d.mts +0 -1
  310. package/dist/index-D13oYj4_.d.mts +0 -1
  311. package/dist/index-DBGd4WeR.d.mts +0 -1
  312. package/dist/index-DdxxIAKU.d.cts +0 -1
  313. package/dist/index-DpEKQcoR.d.cts +0 -1
  314. package/dist/index-gpCH5158.d.mts +0 -1
  315. package/dist/markdown-file-BkmvexMF.d.cts +0 -29
  316. package/dist/markdown-file-BkmvexMF.d.cts.map +0 -1
  317. package/dist/markdown-file-C7o9bn--.d.mts +0 -29
  318. package/dist/markdown-file-C7o9bn--.d.mts.map +0 -1
  319. package/dist/markdown-file-CFt8hI37.cjs +0 -141
  320. package/dist/markdown-file-CX8auFpl.mjs +0 -130
  321. package/dist/markdown-file-CX8auFpl.mjs.map +0 -1
  322. package/dist/markdown-file-CbVNKFje.d.cts +0 -29
  323. package/dist/markdown-file-CbVNKFje.d.cts.map +0 -1
  324. package/dist/markdown-file-DMrhFhUU.d.mts +0 -29
  325. package/dist/markdown-file-DMrhFhUU.d.mts.map +0 -1
  326. package/dist/markdown-table-B7EUUNbl.d.mts +0 -28
  327. package/dist/markdown-table-B7EUUNbl.d.mts.map +0 -1
  328. package/dist/markdown-table-BWPm6GbJ.cjs +0 -57
  329. package/dist/markdown-table-CGXp5JbS.d.mts +0 -28
  330. package/dist/markdown-table-CGXp5JbS.d.mts.map +0 -1
  331. package/dist/markdown-table-CKMEMcyb.d.cts +0 -28
  332. package/dist/markdown-table-CKMEMcyb.d.cts.map +0 -1
  333. package/dist/markdown-table-CZMEY6IR.d.cts +0 -38
  334. package/dist/markdown-table-CZMEY6IR.d.cts.map +0 -1
  335. package/dist/markdown-table-CnEur72Z.mjs +0 -99
  336. package/dist/markdown-table-CnEur72Z.mjs.map +0 -1
  337. package/dist/markdown-table-Cv3P72sN.d.cts +0 -28
  338. package/dist/markdown-table-Cv3P72sN.d.cts.map +0 -1
  339. package/dist/markdown-table-PT2TFFY3.mjs +0 -34
  340. package/dist/markdown-table-PT2TFFY3.mjs.map +0 -1
  341. package/dist/markdown-table-eTnxxb46.cjs +0 -116
  342. package/dist/markdown-table-t6Z-cmxX.d.mts +0 -38
  343. package/dist/markdown-table-t6Z-cmxX.d.mts.map +0 -1
  344. package/dist/meta-BEeFPjoM.mjs +0 -37
  345. package/dist/meta-BEeFPjoM.mjs.map +0 -1
  346. package/dist/meta-BVJcyXVs.cjs +0 -60
  347. package/dist/meta-D0y5uZo4.d.cts +0 -48
  348. package/dist/meta-D0y5uZo4.d.cts.map +0 -1
  349. package/dist/meta-DJqWxY95.d.mts +0 -48
  350. package/dist/meta-DJqWxY95.d.mts.map +0 -1
  351. package/dist/output-B5O_qz0i.cjs +0 -44
  352. package/dist/output-C5BkcdCd.d.cts +0 -24
  353. package/dist/output-C5BkcdCd.d.cts.map +0 -1
  354. package/dist/output-C7mlHz0P.d.mts +0 -24
  355. package/dist/output-C7mlHz0P.d.mts.map +0 -1
  356. package/dist/output-DcuryjuV.mjs +0 -39
  357. package/dist/output-DcuryjuV.mjs.map +0 -1
  358. package/dist/output-XvUhyMSi.d.cts +0 -24
  359. package/dist/output-XvUhyMSi.d.cts.map +0 -1
  360. package/dist/plugin-B8wUxSXi.cjs +0 -0
  361. package/dist/plugin-BzF8Q2v1.mjs +0 -1
  362. package/dist/plugin-CyBCpZyU.d.mts +0 -39
  363. package/dist/plugin-CyBCpZyU.d.mts.map +0 -1
  364. package/dist/plugin-DIlnN1SV.d.cts +0 -39
  365. package/dist/plugin-DIlnN1SV.d.cts.map +0 -1
  366. package/dist/record-expression-6ElbFyR0.cjs +0 -17
  367. package/dist/record-expression-ChoLAsVS.d.mts +0 -13
  368. package/dist/record-expression-ChoLAsVS.d.mts.map +0 -1
  369. package/dist/record-expression-D5W72rZN.mjs +0 -12
  370. package/dist/record-expression-D5W72rZN.mjs.map +0 -1
  371. package/dist/record-expression-Dwg_PZpg.d.cts +0 -13
  372. package/dist/record-expression-Dwg_PZpg.d.cts.map +0 -1
  373. package/dist/refkey-C08kDOQ0.cjs +0 -21
  374. package/dist/refkey-CP7MJMac.d.cts +0 -14
  375. package/dist/refkey-CP7MJMac.d.cts.map +0 -1
  376. package/dist/refkey-CQVHeuAq.mjs +0 -16
  377. package/dist/refkey-CQVHeuAq.mjs.map +0 -1
  378. package/dist/refkey-D6OjgKgS.d.mts +0 -14
  379. package/dist/refkey-D6OjgKgS.d.mts.map +0 -1
  380. package/dist/reflection-BktS88RM.cjs +0 -108
  381. package/dist/reflection-CfOmSgDn.d.mts +0 -53
  382. package/dist/reflection-CfOmSgDn.d.mts.map +0 -1
  383. package/dist/reflection-Q87E_-w_.d.cts +0 -53
  384. package/dist/reflection-Q87E_-w_.d.cts.map +0 -1
  385. package/dist/reflection-TXYxCAwV.mjs +0 -61
  386. package/dist/reflection-TXYxCAwV.mjs.map +0 -1
  387. package/dist/single-line-comment-BKFqKn-D.d.mts +0 -23
  388. package/dist/single-line-comment-BKFqKn-D.d.mts.map +0 -1
  389. package/dist/single-line-comment-Ct_putR7.d.mts +0 -23
  390. package/dist/single-line-comment-Ct_putR7.d.mts.map +0 -1
  391. package/dist/single-line-comment-D2y_A8e1.d.cts +0 -23
  392. package/dist/single-line-comment-D2y_A8e1.d.cts.map +0 -1
  393. package/dist/single-line-comment-DW0LUIQ2.mjs +0 -22
  394. package/dist/single-line-comment-DW0LUIQ2.mjs.map +0 -1
  395. package/dist/single-line-comment-DWQy5rrk.d.cts +0 -23
  396. package/dist/single-line-comment-DWQy5rrk.d.cts.map +0 -1
  397. package/dist/single-line-comment-tAWBgL9v.cjs +0 -27
  398. package/dist/source-file-B51pGSXX.d.mts +0 -33
  399. package/dist/source-file-B51pGSXX.d.mts.map +0 -1
  400. package/dist/source-file-BhqYj8m-.d.mts +0 -33
  401. package/dist/source-file-BhqYj8m-.d.mts.map +0 -1
  402. package/dist/source-file-Bl7eV0Li.mjs +0 -62
  403. package/dist/source-file-Bl7eV0Li.mjs.map +0 -1
  404. package/dist/source-file-DiisOeS2.d.cts +0 -33
  405. package/dist/source-file-DiisOeS2.d.cts.map +0 -1
  406. package/dist/source-file-DnqaQY90.cjs +0 -68
  407. package/dist/source-file-gMJwiJAw.d.cts +0 -33
  408. package/dist/source-file-gMJwiJAw.d.cts.map +0 -1
  409. package/dist/tsdoc-BufL8muf.cjs +0 -585
  410. package/dist/tsdoc-DB1Qzwsn.mjs +0 -466
  411. package/dist/tsdoc-DB1Qzwsn.mjs.map +0 -1
  412. package/dist/tsdoc-DiBR7m1J.d.cts +0 -164
  413. package/dist/tsdoc-DiBR7m1J.d.cts.map +0 -1
  414. package/dist/tsdoc-KHfXy9HE.d.mts +0 -164
  415. package/dist/tsdoc-KHfXy9HE.d.mts.map +0 -1
  416. package/dist/tsdoc-reflection-B5-J4ia-.cjs +0 -193
  417. package/dist/tsdoc-reflection-BGPyymTb.mjs +0 -176
  418. package/dist/tsdoc-reflection-BGPyymTb.mjs.map +0 -1
  419. package/dist/tsdoc-reflection-CYz5udTh.d.mts +0 -19
  420. package/dist/tsdoc-reflection-CYz5udTh.d.mts.map +0 -1
  421. package/dist/tsdoc-reflection-DTYkFxKy.d.cts +0 -19
  422. package/dist/tsdoc-reflection-DTYkFxKy.d.cts.map +0 -1
  423. package/dist/tsdoc-reflection-cRd43W18.d.cts +0 -19
  424. package/dist/tsdoc-reflection-cRd43W18.d.cts.map +0 -1
  425. package/dist/typescript-BXhP0qIJ.mjs +0 -46
  426. package/dist/typescript-BXhP0qIJ.mjs.map +0 -1
  427. package/dist/typescript-BbjCTT04.cjs +0 -51
  428. package/dist/typescript-CXP7Oa6_.d.cts +0 -26
  429. package/dist/typescript-CXP7Oa6_.d.cts.map +0 -1
  430. package/dist/typescript-DvynKONm.d.mts +0 -26
  431. package/dist/typescript-DvynKONm.d.mts.map +0 -1
  432. package/dist/typescript-file-4oY1sIRB.cjs +0 -231
  433. package/dist/typescript-file-C9TPcvPm.d.mts +0 -50
  434. package/dist/typescript-file-C9TPcvPm.d.mts.map +0 -1
  435. package/dist/typescript-file-CJxOp_Xl.d.cts +0 -50
  436. package/dist/typescript-file-CJxOp_Xl.d.cts.map +0 -1
  437. package/dist/typescript-file-CY0SmW6n.d.mts +0 -50
  438. package/dist/typescript-file-CY0SmW6n.d.mts.map +0 -1
  439. package/dist/typescript-file-DWYfy1-C.d.cts +0 -50
  440. package/dist/typescript-file-DWYfy1-C.d.cts.map +0 -1
  441. package/dist/typescript-file-iXGdOTZv.mjs +0 -214
  442. package/dist/typescript-file-iXGdOTZv.mjs.map +0 -1
  443. package/dist/typescript-interface-4Kxgaglq.d.mts +0 -26
  444. package/dist/typescript-interface-4Kxgaglq.d.mts.map +0 -1
  445. package/dist/typescript-interface-B0AoZx3f.cjs +0 -83
  446. package/dist/typescript-interface-B1mhCCoV.d.cts +0 -26
  447. package/dist/typescript-interface-B1mhCCoV.d.cts.map +0 -1
  448. package/dist/typescript-interface-C0mgTtdj.d.cts +0 -26
  449. package/dist/typescript-interface-C0mgTtdj.d.cts.map +0 -1
  450. package/dist/typescript-interface-DoEGxV_8.mjs +0 -72
  451. package/dist/typescript-interface-DoEGxV_8.mjs.map +0 -1
  452. package/dist/typescript-object-C4d4fThY.cjs +0 -135
  453. package/dist/typescript-object-C5oh925V.mjs +0 -124
  454. package/dist/typescript-object-C5oh925V.mjs.map +0 -1
  455. package/dist/typescript-object-DAepqTrw.d.cts +0 -30
  456. package/dist/typescript-object-DAepqTrw.d.cts.map +0 -1
  457. package/dist/typescript-object-DUivJKpz.d.cts +0 -30
  458. package/dist/typescript-object-DUivJKpz.d.cts.map +0 -1
  459. package/dist/typescript-object-TlHt1hQc.d.mts +0 -30
  460. package/dist/typescript-object-TlHt1hQc.d.mts.map +0 -1
@@ -1,116 +0,0 @@
1
- const require_chunk = require('./chunk-CbDLau6x.cjs');
2
- const require_markdown_table = require('./markdown-table-BWPm6GbJ.cjs');
3
- let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
4
- let __alloy_js_core = require("@alloy-js/core");
5
- let __stryke_string_format_title_case = require("@stryke/string-format/title-case");
6
- let __stryke_type_checks_is_undefined = require("@stryke/type-checks/is-undefined");
7
-
8
- //#region src/markdown/components/markdown-table.tsx
9
- /**
10
- * Component that provides a context for rendering markdown tables.
11
- */
12
- function MarkdownTable(props) {
13
- const [{ children, data }] = (0, __alloy_js_core.splitProps)(props, ["children", "data"]);
14
- const columns = (0, __alloy_js_core.computed)(() => Object.keys(data).map((name, index) => ({
15
- index,
16
- name,
17
- align: "left",
18
- width: 20
19
- })));
20
- return (0, __alloy_js_core_jsx_runtime.createComponent)(require_markdown_table.MarkdownTableContext.Provider, {
21
- get value() {
22
- return {
23
- columns: columns.value,
24
- data
25
- };
26
- },
27
- get children() {
28
- return (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
29
- get when() {
30
- return Boolean(children);
31
- },
32
- children
33
- });
34
- }
35
- });
36
- }
37
- /**
38
- * Component that provides a context for rendering markdown tables.
39
- */
40
- function MarkdownTableColumn(props) {
41
- const [{ children, width, align, name }] = (0, __alloy_js_core.splitProps)(props, [
42
- "children",
43
- "width",
44
- "align",
45
- "name"
46
- ]);
47
- const tableContext = require_markdown_table.useMarkdownTable();
48
- const columnRef = (0, __alloy_js_core.computed)(() => tableContext?.columns.find((c) => c.name === name));
49
- const indexRef = (0, __alloy_js_core.computed)(() => columnRef.value?.index ?? 0);
50
- const alignRef = (0, __alloy_js_core.computed)(() => columnRef.value?.align ?? align ?? "left");
51
- const widthRef = (0, __alloy_js_core.computed)(() => columnRef.value?.width ?? width ?? 20);
52
- const textLength = (0, __alloy_js_core.computed)(() => {
53
- return (children ? children.toString() : "").length;
54
- });
55
- return (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Prose, { get children() {
56
- return [
57
- (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
58
- get when() {
59
- return indexRef.value === 0;
60
- },
61
- children: "|"
62
- }),
63
- (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
64
- get when() {
65
- return Boolean(children);
66
- },
67
- get children() {
68
- return (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Prose, { get children() {
69
- return __alloy_js_core.code`${alignRef.value === "left" ? " ".repeat(widthRef.value - textLength.value - 1) : " "}${children}${alignRef.value === "right" ? " ".repeat(widthRef.value - textLength.value - 1) : " "}`;
70
- } });
71
- }
72
- }),
73
- "|"
74
- ];
75
- } });
76
- }
77
- /**
78
- * Component that provides a context for rendering markdown tables.
79
- */
80
- function MarkdownTableColumnHeader(props) {
81
- const [{ children, name }, rest] = (0, __alloy_js_core.splitProps)(props, ["children", "name"]);
82
- return [(0, __alloy_js_core_jsx_runtime.createComponent)(MarkdownTableColumn, (0, __alloy_js_core_jsx_runtime.mergeProps)(rest, {
83
- name,
84
- get children() {
85
- return (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
86
- get fallback() {
87
- return (0, __stryke_string_format_title_case.titleCase)(name, { useDescriptions: false });
88
- },
89
- get when() {
90
- return !(0, __stryke_type_checks_is_undefined.isUndefined)(children);
91
- },
92
- children
93
- });
94
- }
95
- }))];
96
- }
97
-
98
- //#endregion
99
- Object.defineProperty(exports, 'MarkdownTable', {
100
- enumerable: true,
101
- get: function () {
102
- return MarkdownTable;
103
- }
104
- });
105
- Object.defineProperty(exports, 'MarkdownTableColumn', {
106
- enumerable: true,
107
- get: function () {
108
- return MarkdownTableColumn;
109
- }
110
- });
111
- Object.defineProperty(exports, 'MarkdownTableColumnHeader', {
112
- enumerable: true,
113
- get: function () {
114
- return MarkdownTableColumnHeader;
115
- }
116
- });
@@ -1,38 +0,0 @@
1
- import { ComponentContext } from "@alloy-js/core";
2
-
3
- //#region src/markdown/contexts/markdown-table.d.ts
4
- interface MarkdownTableColumnContextInterface<T extends Record<string, any> = Record<string, any>> {
5
- index: number;
6
- name: keyof T;
7
- align: "left" | "right" | "center";
8
- width: number;
9
- }
10
- /**
11
- * The Powerlines context used in template rendering.
12
- */
13
- declare const MarkdownTableColumnContext: ComponentContext<MarkdownTableColumnContextInterface>;
14
- /**
15
- * Hook to access the Powerlines Context.
16
- *
17
- * @returns The Context.
18
- */
19
- declare function useMarkdownTableColumn(): MarkdownTableColumnContextInterface<Record<string, any>> | undefined;
20
- interface MarkdownTableContextInterface<T extends Record<string, any> = Record<string, any>> {
21
- columns: MarkdownTableColumnContextInterface<T>[];
22
- data: T[];
23
- }
24
- /**
25
- * The Powerlines context used in template rendering.
26
- */
27
- declare const MarkdownTableContext: ComponentContext<MarkdownTableContextInterface>;
28
- /**
29
- * Hook to access the Powerlines Context.
30
- *
31
- * @returns The Context.
32
- */
33
- declare function useMarkdownTable(): MarkdownTableContextInterface<Record<string, any>> | undefined;
34
- declare type __ΩMarkdownTableColumnContextInterface = any[];
35
- declare type __ΩMarkdownTableContextInterface = any[];
36
- //#endregion
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-t6Z-cmxX.d.mts.map
@@ -1 +0,0 @@
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"}
@@ -1,37 +0,0 @@
1
- import { createNamedContext, useContext } from "@alloy-js/core";
2
-
3
- //#region src/core/contexts/meta.ts
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
- /**
17
- * Hook to safely access the render context's metadata.
18
- *
19
- * @returns The Powerlines context or undefined if not set.
20
- */
21
- function useMetaSafe() {
22
- return useMetaContext() ?? void 0;
23
- }
24
- /**
25
- * Hook to access the render context's metadata.
26
- *
27
- * @returns The Powerlines context.
28
- */
29
- function useMeta() {
30
- const meta = useMetaSafe();
31
- if (!meta) throw new Error("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`.");
32
- return meta;
33
- }
34
-
35
- //#endregion
36
- export { useMetaSafe as i, useMeta as n, useMetaContext as r, MetaContext as t };
37
- //# sourceMappingURL=meta-BEeFPjoM.mjs.map
@@ -1 +0,0 @@
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":""}
@@ -1,60 +0,0 @@
1
- const require_chunk = require('./chunk-CbDLau6x.cjs');
2
- let __alloy_js_core = require("@alloy-js/core");
3
-
4
- //#region src/core/contexts/meta.ts
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
- /**
18
- * Hook to safely access the render context's metadata.
19
- *
20
- * @returns The Powerlines context or undefined if not set.
21
- */
22
- function useMetaSafe() {
23
- return useMetaContext() ?? void 0;
24
- }
25
- /**
26
- * Hook to access the render context's metadata.
27
- *
28
- * @returns The Powerlines context.
29
- */
30
- function useMeta() {
31
- const meta = useMetaSafe();
32
- if (!meta) throw new Error("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`.");
33
- return meta;
34
- }
35
-
36
- //#endregion
37
- Object.defineProperty(exports, 'MetaContext', {
38
- enumerable: true,
39
- get: function () {
40
- return MetaContext;
41
- }
42
- });
43
- Object.defineProperty(exports, 'useMeta', {
44
- enumerable: true,
45
- get: function () {
46
- return useMeta;
47
- }
48
- });
49
- Object.defineProperty(exports, 'useMetaContext', {
50
- enumerable: true,
51
- get: function () {
52
- return useMetaContext;
53
- }
54
- });
55
- Object.defineProperty(exports, 'useMetaSafe', {
56
- enumerable: true,
57
- get: function () {
58
- return useMetaSafe;
59
- }
60
- });
@@ -1,48 +0,0 @@
1
- import { ComponentContext } from "@alloy-js/core";
2
- import { StoragePreset } from "powerlines/types/fs";
3
-
4
- //#region src/core/contexts/meta.d.ts
5
- interface MetaItem {
6
- /**
7
- * The kind of metadata item.
8
- */
9
- kind?: "builtin" | "entry" | string;
10
- /**
11
- * Whether to skip formatting for this output.
12
- */
13
- skipFormat?: boolean;
14
- /**
15
- * The storage preset or adapter name for the output files.
16
- *
17
- * @remarks
18
- * If not specified, the output mode will be determined by the provided `output.mode` value.
19
- */
20
- storage?: StoragePreset | string;
21
- [key: string]: any;
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;
33
- /**
34
- * Hook to safely access the render context's metadata.
35
- *
36
- * @returns The Powerlines context or undefined if not set.
37
- */
38
- declare function useMetaSafe(): Record<string, MetaItem> | undefined;
39
- /**
40
- * Hook to access the render context's metadata.
41
- *
42
- * @returns The Powerlines context.
43
- */
44
- declare function useMeta(): Record<string, MetaItem>;
45
- declare type __ΩMetaItem = any[];
46
- //#endregion
47
- export { useMetaContext as a, useMeta as i, MetaItem as n, useMetaSafe as o, __ΩMetaItem as r, MetaContext as t };
48
- //# sourceMappingURL=meta-D0y5uZo4.d.cts.map
@@ -1 +0,0 @@
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"}
@@ -1,48 +0,0 @@
1
- import { ComponentContext } from "@alloy-js/core";
2
- import { StoragePreset } from "powerlines/types/fs";
3
-
4
- //#region src/core/contexts/meta.d.ts
5
- interface MetaItem {
6
- /**
7
- * The kind of metadata item.
8
- */
9
- kind?: "builtin" | "entry" | string;
10
- /**
11
- * Whether to skip formatting for this output.
12
- */
13
- skipFormat?: boolean;
14
- /**
15
- * The storage preset or adapter name for the output files.
16
- *
17
- * @remarks
18
- * If not specified, the output mode will be determined by the provided `output.mode` value.
19
- */
20
- storage?: StoragePreset | string;
21
- [key: string]: any;
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;
33
- /**
34
- * Hook to safely access the render context's metadata.
35
- *
36
- * @returns The Powerlines context or undefined if not set.
37
- */
38
- declare function useMetaSafe(): Record<string, MetaItem> | undefined;
39
- /**
40
- * Hook to access the render context's metadata.
41
- *
42
- * @returns The Powerlines context.
43
- */
44
- declare function useMeta(): Record<string, MetaItem>;
45
- declare type __ΩMetaItem = any[];
46
- //#endregion
47
- export { useMetaContext as a, useMeta as i, MetaItem as n, useMetaSafe as o, __ΩMetaItem as r, MetaContext as t };
48
- //# sourceMappingURL=meta-DJqWxY95.d.mts.map
@@ -1 +0,0 @@
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"}
@@ -1,44 +0,0 @@
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,24 +0,0 @@
1
- import { n as MetaItem } from "./meta-D0y5uZo4.cjs";
2
- import * as _alloy_js_core12 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_core12.Children;
21
- declare type __ΩOutputProps = any[];
22
- //#endregion
23
- export { OutputProps$1 as n, __ΩOutputProps as r, Output as t };
24
- //# sourceMappingURL=output-C5BkcdCd.d.cts.map
@@ -1 +0,0 @@
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,24 +0,0 @@
1
- import { n as MetaItem } from "./meta-DJqWxY95.mjs";
2
- import * as _alloy_js_core0 from "@alloy-js/core";
3
- import { OutputProps } from "@alloy-js/core";
4
- import { PluginContext } from "powerlines/types/context";
5
-
6
- //#region src/core/components/output.d.ts
7
- interface OutputProps$1<TContext extends PluginContext = PluginContext> 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$1<TContext extends PluginContext = PluginContext>(props: OutputProps$1<TContext>): _alloy_js_core0.Children;
21
- declare type __ΩOutputProps = any[];
22
- //#endregion
23
- export { OutputProps$1 as n, __ΩOutputProps as r, Output$1 as t };
24
- //# sourceMappingURL=output-C7mlHz0P.d.mts.map
@@ -1 +0,0 @@
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"}
@@ -1,39 +0,0 @@
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
@@ -1 +0,0 @@
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":""}
@@ -1,24 +0,0 @@
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
@@ -1 +0,0 @@
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"}
File without changes
@@ -1 +0,0 @@
1
- export { };
@@ -1,39 +0,0 @@
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-CyBCpZyU.d.mts.map
@@ -1 +0,0 @@
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,39 +0,0 @@
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-DIlnN1SV.d.cts.map
@@ -1 +0,0 @@
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"}
@@ -1,17 +0,0 @@
1
- const require_chunk = require('./chunk-CbDLau6x.cjs');
2
- let __alloy_js_core = require("@alloy-js/core");
3
-
4
- //#region src/typescript/components/record-expression.tsx
5
- function RecordExpression({ elementType }) {
6
- return __alloy_js_core.code`
7
- Record<string, ${elementType}>
8
- `;
9
- }
10
-
11
- //#endregion
12
- Object.defineProperty(exports, 'RecordExpression', {
13
- enumerable: true,
14
- get: function () {
15
- return RecordExpression;
16
- }
17
- });