@powerlines/plugin-alloy 0.19.13 → 0.19.15

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 (364) hide show
  1. package/dist/builtin-file-0k9DccCv.cjs +67 -0
  2. package/dist/builtin-file-DcLp9sck.d.mts +35 -0
  3. package/dist/builtin-file-DcLp9sck.d.mts.map +1 -0
  4. package/dist/builtin-file-DtkZ-2Hs.d.cts +35 -0
  5. package/dist/builtin-file-DtkZ-2Hs.d.cts.map +1 -0
  6. package/dist/builtin-file-Ie_jPokg.mjs +62 -0
  7. package/dist/builtin-file-Ie_jPokg.mjs.map +1 -0
  8. package/dist/builtin-file-MrUfX3YE.d.cts +35 -0
  9. package/dist/builtin-file-MrUfX3YE.d.cts.map +1 -0
  10. package/dist/builtin-file-RXdRpQs-.d.mts +35 -0
  11. package/dist/builtin-file-RXdRpQs-.d.mts.map +1 -0
  12. package/dist/capnp-CRMDa2Ok.d.mts +88 -0
  13. package/dist/capnp-CRMDa2Ok.d.mts.map +1 -0
  14. package/dist/capnp-ClfqI-5t.cjs +356 -0
  15. package/dist/capnp-CnQcwo0s.mjs +260 -0
  16. package/dist/capnp-CnQcwo0s.mjs.map +1 -0
  17. package/dist/capnp-YnGBPkLK.d.cts +88 -0
  18. package/dist/capnp-YnGBPkLK.d.cts.map +1 -0
  19. package/dist/{_virtual/rolldown_runtime.cjs → chunk-CbDLau6x.cjs} +6 -1
  20. package/dist/components-B0evB5xd.cjs +0 -0
  21. package/dist/components-BNK9p5AE.cjs +0 -0
  22. package/dist/components-C_Rnle_h.mjs +1 -0
  23. package/dist/components-CpjG2zC9.mjs +1 -0
  24. package/dist/components-CrWk5KiP.mjs +1 -0
  25. package/dist/components-CyQi7RHT.mjs +1 -0
  26. package/dist/components-DPKSrvP-.cjs +0 -0
  27. package/dist/components-IRVnipN0.d.cts +143 -0
  28. package/dist/components-IRVnipN0.d.cts.map +1 -0
  29. package/dist/components-ISRFDWTF.cjs +0 -0
  30. package/dist/components-oHSM7vmp.d.mts +143 -0
  31. package/dist/components-oHSM7vmp.d.mts.map +1 -0
  32. package/dist/context--KBspFnw.cjs +79 -0
  33. package/dist/context-Du_bVzRZ.d.mts +67 -0
  34. package/dist/context-Du_bVzRZ.d.mts.map +1 -0
  35. package/dist/context-Gqs3Ru42.d.cts +67 -0
  36. package/dist/context-Gqs3Ru42.d.cts.map +1 -0
  37. package/dist/context-e2kZWEFW.mjs +51 -0
  38. package/dist/context-e2kZWEFW.mjs.map +1 -0
  39. package/dist/contexts-DezKayEz.cjs +0 -0
  40. package/dist/contexts-J643Nrrt.cjs +0 -0
  41. package/dist/contexts-_jq-yJQG.mjs +1 -0
  42. package/dist/contexts-juWSyBfb.mjs +1 -0
  43. package/dist/core/components/index.cjs +11 -6
  44. package/dist/core/components/index.d.cts +6 -3
  45. package/dist/core/components/index.d.mts +6 -3
  46. package/dist/core/components/index.mjs +8 -3
  47. package/dist/core/components/output.cjs +2 -32
  48. package/dist/core/components/output.d.cts +2 -22
  49. package/dist/core/components/output.d.mts +2 -22
  50. package/dist/core/components/output.mjs +1 -30
  51. package/dist/core/components/single-line-comment.cjs +2 -21
  52. package/dist/core/components/single-line-comment.d.cts +2 -21
  53. package/dist/core/components/single-line-comment.d.mts +2 -21
  54. package/dist/core/components/single-line-comment.mjs +1 -19
  55. package/dist/core/components/source-file.cjs +6 -63
  56. package/dist/core/components/source-file.d.cts +2 -31
  57. package/dist/core/components/source-file.d.mts +2 -31
  58. package/dist/core/components/source-file.mjs +5 -60
  59. package/dist/core/contexts/context.cjs +7 -53
  60. package/dist/core/contexts/context.d.cts +1 -65
  61. package/dist/core/contexts/context.d.mts +1 -65
  62. package/dist/core/contexts/context.mjs +2 -48
  63. package/dist/core/contexts/index.cjs +17 -15
  64. package/dist/core/contexts/index.d.cts +4 -2
  65. package/dist/core/contexts/index.d.mts +4 -2
  66. package/dist/core/contexts/index.mjs +4 -2
  67. package/dist/core/contexts/reflection.cjs +9 -67
  68. package/dist/core/contexts/reflection.d.cts +2 -51
  69. package/dist/core/contexts/reflection.d.mts +2 -51
  70. package/dist/core/contexts/reflection.mjs +1 -58
  71. package/dist/core/index.cjs +24 -23
  72. package/dist/core/index.d.cts +8 -7
  73. package/dist/core/index.d.mts +8 -7
  74. package/dist/core/index.mjs +8 -7
  75. package/dist/create-builtin-BiKyN2s2.cjs +24 -0
  76. package/dist/create-builtin-DFiWd6Zc.d.cts +16 -0
  77. package/dist/create-builtin-DFiWd6Zc.d.cts.map +1 -0
  78. package/dist/create-builtin-DQuJyeZw.mjs +19 -0
  79. package/dist/create-builtin-DQuJyeZw.mjs.map +1 -0
  80. package/dist/create-builtin-FtQ6qKzX.d.mts +16 -0
  81. package/dist/create-builtin-FtQ6qKzX.d.mts.map +1 -0
  82. package/dist/dynamic-import-statement-B5Pdwr4Z.d.mts +33 -0
  83. package/dist/dynamic-import-statement-B5Pdwr4Z.d.mts.map +1 -0
  84. package/dist/dynamic-import-statement-BbNJchii.mjs +25 -0
  85. package/dist/dynamic-import-statement-BbNJchii.mjs.map +1 -0
  86. package/dist/dynamic-import-statement-DNJlI3ND.d.cts +33 -0
  87. package/dist/dynamic-import-statement-DNJlI3ND.d.cts.map +1 -0
  88. package/dist/dynamic-import-statement-DTSUoDt2.d.cts +33 -0
  89. package/dist/dynamic-import-statement-DTSUoDt2.d.cts.map +1 -0
  90. package/dist/dynamic-import-statement-Dy_MY_Ua.cjs +30 -0
  91. package/dist/entry-file-CfMzpF03.d.cts +28 -0
  92. package/dist/entry-file-CfMzpF03.d.cts.map +1 -0
  93. package/dist/entry-file-CnC6P3j6.d.mts +28 -0
  94. package/dist/entry-file-CnC6P3j6.d.mts.map +1 -0
  95. package/dist/entry-file-D64eurjX.mjs +41 -0
  96. package/dist/entry-file-D64eurjX.mjs.map +1 -0
  97. package/dist/entry-file-DVueLVSn.d.cts +28 -0
  98. package/dist/entry-file-DVueLVSn.d.cts.map +1 -0
  99. package/dist/entry-file-GR5Rsn25.cjs +47 -0
  100. package/dist/entry-file-ayzYWEo5.d.mts +28 -0
  101. package/dist/entry-file-ayzYWEo5.d.mts.map +1 -0
  102. package/dist/front-matter-2eGRXX11.mjs +28 -0
  103. package/dist/front-matter-2eGRXX11.mjs.map +1 -0
  104. package/dist/front-matter-DGpkM9OE.d.mts +16 -0
  105. package/dist/front-matter-DGpkM9OE.d.mts.map +1 -0
  106. package/dist/front-matter-DZ1tB-Uj.cjs +33 -0
  107. package/dist/front-matter-gcouRI-6.d.cts +16 -0
  108. package/dist/front-matter-gcouRI-6.d.cts.map +1 -0
  109. package/dist/front-matter-u9H7VPAF.d.cts +16 -0
  110. package/dist/front-matter-u9H7VPAF.d.cts.map +1 -0
  111. package/dist/helpers/capnp.cjs +18 -276
  112. package/dist/helpers/capnp.d.cts +1 -86
  113. package/dist/helpers/capnp.d.mts +1 -86
  114. package/dist/helpers/capnp.mjs +1 -257
  115. package/dist/helpers/create-builtin.cjs +2 -18
  116. package/dist/helpers/create-builtin.d.cts +1 -14
  117. package/dist/helpers/create-builtin.d.mts +1 -14
  118. package/dist/helpers/create-builtin.mjs +1 -16
  119. package/dist/helpers/index.cjs +23 -23
  120. package/dist/helpers/index.d.cts +4 -4
  121. package/dist/helpers/index.d.mts +4 -4
  122. package/dist/helpers/index.mjs +4 -4
  123. package/dist/helpers/refkey.cjs +2 -15
  124. package/dist/helpers/refkey.d.cts +1 -12
  125. package/dist/helpers/refkey.d.mts +1 -12
  126. package/dist/helpers/refkey.mjs +1 -13
  127. package/dist/helpers/typescript.cjs +2 -45
  128. package/dist/helpers/typescript.d.cts +1 -24
  129. package/dist/helpers/typescript.d.mts +1 -24
  130. package/dist/helpers/typescript.mjs +1 -43
  131. package/dist/index-B-Y-ZG2x.d.mts +1 -0
  132. package/dist/index-BH1nuHdZ.d.cts +1 -0
  133. package/dist/index-BUYyA1Xh.d.cts +1 -0
  134. package/dist/index-C-lwXyQ6.d.mts +1 -0
  135. package/dist/index-C6HcjJiY.d.mts +1 -0
  136. package/dist/index-C6yvNuzO.d.cts +1 -0
  137. package/dist/index-CrhZaFgN.d.cts +1 -0
  138. package/dist/index-CzItj62a.d.mts +1 -0
  139. package/dist/index-DcDTDbdz.d.cts +1 -0
  140. package/dist/index-hcx6LMSC.d.mts +1 -0
  141. package/dist/index.cjs +8 -6
  142. package/dist/index.d.cts +3 -2
  143. package/dist/index.d.cts.map +1 -0
  144. package/dist/index.d.mts +3 -2
  145. package/dist/index.d.mts.map +1 -0
  146. package/dist/index.mjs +8 -5
  147. package/dist/index.mjs.map +1 -0
  148. package/dist/markdown/components/front-matter.cjs +2 -27
  149. package/dist/markdown/components/front-matter.d.cts +1 -14
  150. package/dist/markdown/components/front-matter.d.mts +1 -14
  151. package/dist/markdown/components/front-matter.mjs +1 -25
  152. package/dist/markdown/components/index.cjs +17 -9
  153. package/dist/markdown/components/index.d.cts +7 -3
  154. package/dist/markdown/components/index.d.mts +7 -3
  155. package/dist/markdown/components/index.mjs +11 -3
  156. package/dist/markdown/components/markdown-file.cjs +10 -130
  157. package/dist/markdown/components/markdown-file.d.cts +4 -27
  158. package/dist/markdown/components/markdown-file.d.mts +4 -27
  159. package/dist/markdown/components/markdown-file.mjs +8 -127
  160. package/dist/markdown/components/markdown-table.cjs +5 -100
  161. package/dist/markdown/components/markdown-table.d.cts +3 -26
  162. package/dist/markdown/components/markdown-table.d.mts +3 -26
  163. package/dist/markdown/components/markdown-table.mjs +2 -96
  164. package/dist/markdown/contexts/index.cjs +6 -5
  165. package/dist/markdown/contexts/index.d.cts +2 -1
  166. package/dist/markdown/contexts/index.d.mts +2 -1
  167. package/dist/markdown/contexts/index.mjs +2 -1
  168. package/dist/markdown/contexts/markdown-table.cjs +5 -36
  169. package/dist/markdown/contexts/markdown-table.d.cts +1 -36
  170. package/dist/markdown/contexts/markdown-table.d.mts +1 -36
  171. package/dist/markdown/contexts/markdown-table.mjs +1 -31
  172. package/dist/markdown/index.cjs +22 -16
  173. package/dist/markdown/index.d.cts +8 -6
  174. package/dist/markdown/index.d.mts +8 -6
  175. package/dist/markdown/index.mjs +12 -6
  176. package/dist/markdown-file-CAwtMwsl.cjs +141 -0
  177. package/dist/markdown-file-CIGTz9xQ.d.cts +29 -0
  178. package/dist/markdown-file-CIGTz9xQ.d.cts.map +1 -0
  179. package/dist/markdown-file-CxDM6MCV.d.cts +29 -0
  180. package/dist/markdown-file-CxDM6MCV.d.cts.map +1 -0
  181. package/dist/markdown-file-DIcSvowq.mjs +130 -0
  182. package/dist/markdown-file-DIcSvowq.mjs.map +1 -0
  183. package/dist/markdown-file-EtJaVhJ3.d.mts +29 -0
  184. package/dist/markdown-file-EtJaVhJ3.d.mts.map +1 -0
  185. package/dist/markdown-table-AoJIzA89.d.cts +28 -0
  186. package/dist/markdown-table-AoJIzA89.d.cts.map +1 -0
  187. package/dist/markdown-table-BWPm6GbJ.cjs +57 -0
  188. package/dist/markdown-table-Br2Ihl2z.d.cts +38 -0
  189. package/dist/markdown-table-Br2Ihl2z.d.cts.map +1 -0
  190. package/dist/markdown-table-CFL7L6rA.d.mts +38 -0
  191. package/dist/markdown-table-CFL7L6rA.d.mts.map +1 -0
  192. package/dist/markdown-table-ChvYobzz.d.mts +28 -0
  193. package/dist/markdown-table-ChvYobzz.d.mts.map +1 -0
  194. package/dist/markdown-table-D3DonpwR.mjs +99 -0
  195. package/dist/markdown-table-D3DonpwR.mjs.map +1 -0
  196. package/dist/markdown-table-DFSFKzCN.d.cts +28 -0
  197. package/dist/markdown-table-DFSFKzCN.d.cts.map +1 -0
  198. package/dist/markdown-table-eTnxxb46.cjs +116 -0
  199. package/dist/markdown-table-g6DeP10e.mjs +34 -0
  200. package/dist/markdown-table-g6DeP10e.mjs.map +1 -0
  201. package/dist/output-BnmXIAFP.d.cts +24 -0
  202. package/dist/output-BnmXIAFP.d.cts.map +1 -0
  203. package/dist/output-CMC94bm-.d.mts +24 -0
  204. package/dist/output-CMC94bm-.d.mts.map +1 -0
  205. package/dist/output-CQXrGP3y.cjs +38 -0
  206. package/dist/output-D3UQ5nZo.mjs +33 -0
  207. package/dist/output-D3UQ5nZo.mjs.map +1 -0
  208. package/dist/output-Dq1RRbJY.d.cts +24 -0
  209. package/dist/output-Dq1RRbJY.d.cts.map +1 -0
  210. package/dist/plugin-B8wUxSXi.cjs +0 -0
  211. package/dist/plugin-BmQ6pIes.mjs +1 -0
  212. package/dist/plugin-C6SupJ8C.d.cts +41 -0
  213. package/dist/plugin-C6SupJ8C.d.cts.map +1 -0
  214. package/dist/plugin-bEu9fq1G.d.mts +41 -0
  215. package/dist/plugin-bEu9fq1G.d.mts.map +1 -0
  216. package/dist/record-expression-6ElbFyR0.cjs +17 -0
  217. package/dist/record-expression-BjXMzi4r.mjs +12 -0
  218. package/dist/record-expression-BjXMzi4r.mjs.map +1 -0
  219. package/dist/record-expression-adlQJuNw.d.cts +13 -0
  220. package/dist/record-expression-adlQJuNw.d.cts.map +1 -0
  221. package/dist/record-expression-c9kQA93k.d.mts +13 -0
  222. package/dist/record-expression-c9kQA93k.d.mts.map +1 -0
  223. package/dist/refkey-Bf_2_U5t.d.cts +14 -0
  224. package/dist/refkey-Bf_2_U5t.d.cts.map +1 -0
  225. package/dist/refkey-C08kDOQ0.cjs +21 -0
  226. package/dist/refkey-CIFiGvgZ.mjs +16 -0
  227. package/dist/refkey-CIFiGvgZ.mjs.map +1 -0
  228. package/dist/refkey-CSZgFc0P.d.mts +14 -0
  229. package/dist/refkey-CSZgFc0P.d.mts.map +1 -0
  230. package/dist/reflection-B-NMNIoB.mjs +61 -0
  231. package/dist/reflection-B-NMNIoB.mjs.map +1 -0
  232. package/dist/reflection-CUo0047e.d.mts +53 -0
  233. package/dist/reflection-CUo0047e.d.mts.map +1 -0
  234. package/dist/reflection-DHpdhvwI.cjs +108 -0
  235. package/dist/reflection-xU09ifzp.d.cts +53 -0
  236. package/dist/reflection-xU09ifzp.d.cts.map +1 -0
  237. package/dist/single-line-comment-B258_x1B.d.cts +23 -0
  238. package/dist/single-line-comment-B258_x1B.d.cts.map +1 -0
  239. package/dist/single-line-comment-COZ9RWsm.cjs +27 -0
  240. package/dist/single-line-comment-D9dIL45u.d.cts +23 -0
  241. package/dist/single-line-comment-D9dIL45u.d.cts.map +1 -0
  242. package/dist/single-line-comment-PMv_zrfe.d.mts +23 -0
  243. package/dist/single-line-comment-PMv_zrfe.d.mts.map +1 -0
  244. package/dist/single-line-comment-mOQtfhWt.mjs +22 -0
  245. package/dist/single-line-comment-mOQtfhWt.mjs.map +1 -0
  246. package/dist/source-file-95cXzcLB.d.cts +33 -0
  247. package/dist/source-file-95cXzcLB.d.cts.map +1 -0
  248. package/dist/source-file-BAVTBVJy.cjs +68 -0
  249. package/dist/source-file-BTsyACav.d.cts +33 -0
  250. package/dist/source-file-BTsyACav.d.cts.map +1 -0
  251. package/dist/source-file-BiJK-nH_.mjs +62 -0
  252. package/dist/source-file-BiJK-nH_.mjs.map +1 -0
  253. package/dist/source-file-CQl0UCgf.d.mts +33 -0
  254. package/dist/source-file-CQl0UCgf.d.mts.map +1 -0
  255. package/dist/tsdoc-BId4fp5_.cjs +585 -0
  256. package/dist/tsdoc-CfvwK4Ml.d.cts +164 -0
  257. package/dist/tsdoc-CfvwK4Ml.d.cts.map +1 -0
  258. package/dist/tsdoc-Crv526i6.mjs +466 -0
  259. package/dist/tsdoc-Crv526i6.mjs.map +1 -0
  260. package/dist/tsdoc-OUuKjTbh.d.mts +164 -0
  261. package/dist/tsdoc-OUuKjTbh.d.mts.map +1 -0
  262. package/dist/tsdoc-reflection-B4bfElmj.d.cts +19 -0
  263. package/dist/tsdoc-reflection-B4bfElmj.d.cts.map +1 -0
  264. package/dist/tsdoc-reflection-BbjnIsUV.d.cts +19 -0
  265. package/dist/tsdoc-reflection-BbjnIsUV.d.cts.map +1 -0
  266. package/dist/tsdoc-reflection-D-eKs6S1.mjs +176 -0
  267. package/dist/tsdoc-reflection-D-eKs6S1.mjs.map +1 -0
  268. package/dist/tsdoc-reflection-IH-Mt2o_.cjs +193 -0
  269. package/dist/tsdoc-reflection-ulqYHfKL.d.mts +19 -0
  270. package/dist/tsdoc-reflection-ulqYHfKL.d.mts.map +1 -0
  271. package/dist/types/components.cjs +1 -0
  272. package/dist/types/components.d.cts +1 -141
  273. package/dist/types/components.d.mts +1 -141
  274. package/dist/types/components.mjs +2 -0
  275. package/dist/types/index.cjs +2 -0
  276. package/dist/types/index.d.cts +2 -2
  277. package/dist/types/index.d.mts +2 -2
  278. package/dist/types/index.mjs +3 -0
  279. package/dist/types/plugin.cjs +1 -0
  280. package/dist/types/plugin.d.cts +1 -39
  281. package/dist/types/plugin.d.mts +1 -39
  282. package/dist/types/plugin.mjs +2 -0
  283. package/dist/typescript/components/builtin-file.cjs +10 -61
  284. package/dist/typescript/components/builtin-file.d.cts +5 -33
  285. package/dist/typescript/components/builtin-file.d.mts +5 -33
  286. package/dist/typescript/components/builtin-file.mjs +9 -59
  287. package/dist/typescript/components/dynamic-import-statement.cjs +2 -24
  288. package/dist/typescript/components/dynamic-import-statement.d.cts +1 -31
  289. package/dist/typescript/components/dynamic-import-statement.d.mts +1 -31
  290. package/dist/typescript/components/dynamic-import-statement.mjs +1 -22
  291. package/dist/typescript/components/entry-file.cjs +9 -41
  292. package/dist/typescript/components/entry-file.d.cts +4 -26
  293. package/dist/typescript/components/entry-file.d.mts +4 -26
  294. package/dist/typescript/components/entry-file.mjs +8 -38
  295. package/dist/typescript/components/index.cjs +50 -43
  296. package/dist/typescript/components/index.d.cts +12 -9
  297. package/dist/typescript/components/index.d.mts +12 -9
  298. package/dist/typescript/components/index.mjs +16 -9
  299. package/dist/typescript/components/record-expression.cjs +2 -11
  300. package/dist/typescript/components/record-expression.d.cts +1 -11
  301. package/dist/typescript/components/record-expression.d.mts +1 -11
  302. package/dist/typescript/components/record-expression.mjs +1 -9
  303. package/dist/typescript/components/tsdoc-reflection.cjs +8 -177
  304. package/dist/typescript/components/tsdoc-reflection.d.cts +3 -17
  305. package/dist/typescript/components/tsdoc-reflection.d.mts +3 -17
  306. package/dist/typescript/components/tsdoc-reflection.mjs +5 -173
  307. package/dist/typescript/components/tsdoc.cjs +23 -484
  308. package/dist/typescript/components/tsdoc.d.cts +2 -162
  309. package/dist/typescript/components/tsdoc.d.mts +2 -162
  310. package/dist/typescript/components/tsdoc.mjs +3 -463
  311. package/dist/typescript/components/typescript-file.cjs +10 -215
  312. package/dist/typescript/components/typescript-file.d.cts +3 -48
  313. package/dist/typescript/components/typescript-file.d.mts +3 -48
  314. package/dist/typescript/components/typescript-file.mjs +7 -211
  315. package/dist/typescript/components/typescript-interface.cjs +8 -72
  316. package/dist/typescript/components/typescript-interface.d.cts +2 -24
  317. package/dist/typescript/components/typescript-interface.d.mts +2 -24
  318. package/dist/typescript/components/typescript-interface.mjs +6 -69
  319. package/dist/typescript/components/typescript-object.cjs +8 -124
  320. package/dist/typescript/components/typescript-object.d.cts +2 -28
  321. package/dist/typescript/components/typescript-object.d.mts +2 -28
  322. package/dist/typescript/components/typescript-object.mjs +6 -121
  323. package/dist/typescript/index.cjs +50 -44
  324. package/dist/typescript/index.d.cts +12 -10
  325. package/dist/typescript/index.d.mts +12 -10
  326. package/dist/typescript/index.mjs +16 -10
  327. package/dist/typescript-BCc7kwL_.mjs +46 -0
  328. package/dist/typescript-BCc7kwL_.mjs.map +1 -0
  329. package/dist/typescript-BbjCTT04.cjs +51 -0
  330. package/dist/typescript-DWzPF4n4.d.mts +26 -0
  331. package/dist/typescript-DWzPF4n4.d.mts.map +1 -0
  332. package/dist/typescript-file-BWaBMfMr.d.mts +50 -0
  333. package/dist/typescript-file-BWaBMfMr.d.mts.map +1 -0
  334. package/dist/typescript-file-BmLwVIQP.cjs +231 -0
  335. package/dist/typescript-file-C5NjN3H2.mjs +214 -0
  336. package/dist/typescript-file-C5NjN3H2.mjs.map +1 -0
  337. package/dist/typescript-file-MYxikvB6.d.cts +50 -0
  338. package/dist/typescript-file-MYxikvB6.d.cts.map +1 -0
  339. package/dist/typescript-file-fOVF6YF2.d.cts +50 -0
  340. package/dist/typescript-file-fOVF6YF2.d.cts.map +1 -0
  341. package/dist/typescript-interface-BNdWrKgb.cjs +83 -0
  342. package/dist/typescript-interface-D-d9A720.d.cts +26 -0
  343. package/dist/typescript-interface-D-d9A720.d.cts.map +1 -0
  344. package/dist/typescript-interface-LN3uCdA6.mjs +72 -0
  345. package/dist/typescript-interface-LN3uCdA6.mjs.map +1 -0
  346. package/dist/typescript-interface-MV4qwTHs.d.mts +26 -0
  347. package/dist/typescript-interface-MV4qwTHs.d.mts.map +1 -0
  348. package/dist/typescript-o4AsClkT.d.cts +26 -0
  349. package/dist/typescript-o4AsClkT.d.cts.map +1 -0
  350. package/dist/typescript-object-Bbza8TK7.d.cts +30 -0
  351. package/dist/typescript-object-Bbza8TK7.d.cts.map +1 -0
  352. package/dist/typescript-object-C7p9fJBF.d.mts +30 -0
  353. package/dist/typescript-object-C7p9fJBF.d.mts.map +1 -0
  354. package/dist/typescript-object-DIyR8xhW.mjs +124 -0
  355. package/dist/typescript-object-DIyR8xhW.mjs.map +1 -0
  356. package/dist/typescript-object-ENaG1YGI.cjs +135 -0
  357. package/dist/typescript-object-v1WiBD8W.d.cts +30 -0
  358. package/dist/typescript-object-v1WiBD8W.d.cts.map +1 -0
  359. package/dist/unctx-MFxscYXI.mjs +12 -0
  360. package/dist/unctx-MFxscYXI.mjs.map +1 -0
  361. package/dist/unctx-r7Vvh6XR.cjs +17 -0
  362. package/package.json +6 -6
  363. package/dist/internal/unctx.cjs +0 -8
  364. package/dist/internal/unctx.mjs +0 -7
@@ -1,54 +1,8 @@
1
- const require_unctx = require('../../internal/unctx.cjs');
1
+ require('../../unctx-r7Vvh6XR.cjs');
2
+ const require_context = require('../../context--KBspFnw.cjs');
2
3
 
3
- //#region src/core/contexts/context.ts
4
- /**
5
- * Hook to access the Powerlines Context.
6
- *
7
- * @returns The Context.
8
- */
9
- function usePowerlinesContext() {
10
- return require_unctx.unctx.tryUse();
11
- }
12
- /**
13
- * Hook to safely access the {@link PluginContext | Powerlines context}.
14
- *
15
- * @returns The Powerlines context or null if not set.
16
- */
17
- function usePowerlinesSafe() {
18
- return usePowerlinesContext()?.value ?? null;
19
- }
20
- /**
21
- * Hook to access the {@link PluginContext | Powerlines context}.
22
- *
23
- * @returns The Powerlines context.
24
- */
25
- function usePowerlines() {
26
- const powerlines = usePowerlinesSafe();
27
- if (!powerlines) throw new Error("Powerlines - Context is not set. Please make sure the Alloy components are being provided to an invocation of the `render` function added to plugins by `@powerlines/plugin-alloy`.");
28
- return powerlines;
29
- }
30
- /**
31
- * Hook to safely access the render context's metadata.
32
- *
33
- * @returns The Powerlines context or null if not set.
34
- */
35
- function useMetaSafe() {
36
- return usePowerlinesContext()?.meta ?? null;
37
- }
38
- /**
39
- * Hook to access the render context's metadata.
40
- *
41
- * @returns The Powerlines context.
42
- */
43
- function useMeta() {
44
- const meta = useMetaSafe();
45
- 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`.");
46
- return meta;
47
- }
48
-
49
- //#endregion
50
- exports.useMeta = useMeta;
51
- exports.useMetaSafe = useMetaSafe;
52
- exports.usePowerlines = usePowerlines;
53
- exports.usePowerlinesContext = usePowerlinesContext;
54
- exports.usePowerlinesSafe = usePowerlinesSafe;
4
+ exports.useMeta = require_context.useMeta;
5
+ exports.useMetaSafe = require_context.useMetaSafe;
6
+ exports.usePowerlines = require_context.usePowerlines;
7
+ exports.usePowerlinesContext = require_context.usePowerlinesContext;
8
+ exports.usePowerlinesSafe = require_context.usePowerlinesSafe;
@@ -1,66 +1,2 @@
1
- import { PluginContext } from "powerlines/types/context";
2
- import { StoragePreset } from "powerlines/types/fs";
3
-
4
- //#region src/core/contexts/context.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
- interface PowerlinesContextInterface<TContext extends PluginContext = PluginContext, TMeta extends Record<string, MetaItem> = Record<string, MetaItem>> {
24
- /**
25
- * The current Powerlines context.
26
- */
27
- value: TContext;
28
- /**
29
- * The current render metadata.
30
- */
31
- meta: TMeta;
32
- }
33
- /**
34
- * Hook to access the Powerlines Context.
35
- *
36
- * @returns The Context.
37
- */
38
- declare function usePowerlinesContext<TContext extends PluginContext = PluginContext, TMeta extends Record<string, MetaItem> = Record<string, MetaItem>>(): PowerlinesContextInterface<TContext, TMeta> | null;
39
- /**
40
- * Hook to safely access the {@link PluginContext | Powerlines context}.
41
- *
42
- * @returns The Powerlines context or null if not set.
43
- */
44
- declare function usePowerlinesSafe<TContext extends PluginContext = PluginContext>(): TContext | null;
45
- /**
46
- * Hook to access the {@link PluginContext | Powerlines context}.
47
- *
48
- * @returns The Powerlines context.
49
- */
50
- declare function usePowerlines<TContext extends PluginContext = PluginContext>(): TContext;
51
- /**
52
- * Hook to safely access the render context's metadata.
53
- *
54
- * @returns The Powerlines context or null if not set.
55
- */
56
- declare function useMetaSafe<TMeta extends Record<string, MetaItem> = Record<string, MetaItem>>(): TMeta | null;
57
- /**
58
- * Hook to access the render context's metadata.
59
- *
60
- * @returns The Powerlines context.
61
- */
62
- declare function useMeta<TMeta extends Record<string, MetaItem> = Record<string, MetaItem>>(): TMeta;
63
- declare type __ΩMetaItem = any[];
64
- declare type __ΩPowerlinesContextInterface = any[];
65
- //#endregion
1
+ import { a as useMeta, c as usePowerlinesContext, i as __ΩPowerlinesContextInterface, l as usePowerlinesSafe, n as PowerlinesContextInterface, o as useMetaSafe, r as __ΩMetaItem, s as usePowerlines, t as MetaItem } from "../../context-Gqs3Ru42.cjs";
66
2
  export { MetaItem, PowerlinesContextInterface, __ΩMetaItem, __ΩPowerlinesContextInterface, useMeta, useMetaSafe, usePowerlines, usePowerlinesContext, usePowerlinesSafe };
@@ -1,66 +1,2 @@
1
- import { PluginContext } from "powerlines/types/context";
2
- import { StoragePreset } from "powerlines/types/fs";
3
-
4
- //#region src/core/contexts/context.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
- interface PowerlinesContextInterface<TContext extends PluginContext = PluginContext, TMeta extends Record<string, MetaItem> = Record<string, MetaItem>> {
24
- /**
25
- * The current Powerlines context.
26
- */
27
- value: TContext;
28
- /**
29
- * The current render metadata.
30
- */
31
- meta: TMeta;
32
- }
33
- /**
34
- * Hook to access the Powerlines Context.
35
- *
36
- * @returns The Context.
37
- */
38
- declare function usePowerlinesContext<TContext extends PluginContext = PluginContext, TMeta extends Record<string, MetaItem> = Record<string, MetaItem>>(): PowerlinesContextInterface<TContext, TMeta> | null;
39
- /**
40
- * Hook to safely access the {@link PluginContext | Powerlines context}.
41
- *
42
- * @returns The Powerlines context or null if not set.
43
- */
44
- declare function usePowerlinesSafe<TContext extends PluginContext = PluginContext>(): TContext | null;
45
- /**
46
- * Hook to access the {@link PluginContext | Powerlines context}.
47
- *
48
- * @returns The Powerlines context.
49
- */
50
- declare function usePowerlines<TContext extends PluginContext = PluginContext>(): TContext;
51
- /**
52
- * Hook to safely access the render context's metadata.
53
- *
54
- * @returns The Powerlines context or null if not set.
55
- */
56
- declare function useMetaSafe<TMeta extends Record<string, MetaItem> = Record<string, MetaItem>>(): TMeta | null;
57
- /**
58
- * Hook to access the render context's metadata.
59
- *
60
- * @returns The Powerlines context.
61
- */
62
- declare function useMeta<TMeta extends Record<string, MetaItem> = Record<string, MetaItem>>(): TMeta;
63
- declare type __ΩMetaItem = any[];
64
- declare type __ΩPowerlinesContextInterface = any[];
65
- //#endregion
1
+ import { a as useMeta, c as usePowerlinesContext, i as __ΩPowerlinesContextInterface, l as usePowerlinesSafe, n as PowerlinesContextInterface, o as useMetaSafe, r as __ΩMetaItem, s as usePowerlines, t as MetaItem } from "../../context-Du_bVzRZ.mjs";
66
2
  export { MetaItem, PowerlinesContextInterface, __ΩMetaItem, __ΩPowerlinesContextInterface, useMeta, useMetaSafe, usePowerlines, usePowerlinesContext, usePowerlinesSafe };
@@ -1,50 +1,4 @@
1
- import { unctx } from "../../internal/unctx.mjs";
1
+ import "../../unctx-MFxscYXI.mjs";
2
+ import { a as usePowerlinesSafe, i as usePowerlinesContext, n as useMetaSafe, r as usePowerlines, t as useMeta } from "../../context-e2kZWEFW.mjs";
2
3
 
3
- //#region src/core/contexts/context.ts
4
- /**
5
- * Hook to access the Powerlines Context.
6
- *
7
- * @returns The Context.
8
- */
9
- function usePowerlinesContext() {
10
- return unctx.tryUse();
11
- }
12
- /**
13
- * Hook to safely access the {@link PluginContext | Powerlines context}.
14
- *
15
- * @returns The Powerlines context or null if not set.
16
- */
17
- function usePowerlinesSafe() {
18
- return usePowerlinesContext()?.value ?? null;
19
- }
20
- /**
21
- * Hook to access the {@link PluginContext | Powerlines context}.
22
- *
23
- * @returns The Powerlines context.
24
- */
25
- function usePowerlines() {
26
- const powerlines = usePowerlinesSafe();
27
- if (!powerlines) throw new Error("Powerlines - Context is not set. Please make sure the Alloy components are being provided to an invocation of the `render` function added to plugins by `@powerlines/plugin-alloy`.");
28
- return powerlines;
29
- }
30
- /**
31
- * Hook to safely access the render context's metadata.
32
- *
33
- * @returns The Powerlines context or null if not set.
34
- */
35
- function useMetaSafe() {
36
- return usePowerlinesContext()?.meta ?? null;
37
- }
38
- /**
39
- * Hook to access the render context's metadata.
40
- *
41
- * @returns The Powerlines context.
42
- */
43
- function useMeta() {
44
- const meta = useMetaSafe();
45
- 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`.");
46
- return meta;
47
- }
48
-
49
- //#endregion
50
4
  export { useMeta, useMetaSafe, usePowerlines, usePowerlinesContext, usePowerlinesSafe };
@@ -1,16 +1,18 @@
1
- const require_core_contexts_context = require('./context.cjs');
2
- const require_core_contexts_reflection = require('./reflection.cjs');
1
+ require('../../unctx-r7Vvh6XR.cjs');
2
+ const require_context = require('../../context--KBspFnw.cjs');
3
+ const require_reflection = require('../../reflection-DHpdhvwI.cjs');
4
+ require('../../contexts-DezKayEz.cjs');
3
5
 
4
- exports.ReflectionClassContext = require_core_contexts_reflection.ReflectionClassContext;
5
- exports.ReflectionMethodContext = require_core_contexts_reflection.ReflectionMethodContext;
6
- exports.ReflectionParameterContext = require_core_contexts_reflection.ReflectionParameterContext;
7
- exports.ReflectionPropertyContext = require_core_contexts_reflection.ReflectionPropertyContext;
8
- exports.useMeta = require_core_contexts_context.useMeta;
9
- exports.useMetaSafe = require_core_contexts_context.useMetaSafe;
10
- exports.usePowerlines = require_core_contexts_context.usePowerlines;
11
- exports.usePowerlinesContext = require_core_contexts_context.usePowerlinesContext;
12
- exports.usePowerlinesSafe = require_core_contexts_context.usePowerlinesSafe;
13
- exports.useReflectionClass = require_core_contexts_reflection.useReflectionClass;
14
- exports.useReflectionMethod = require_core_contexts_reflection.useReflectionMethod;
15
- exports.useReflectionParameter = require_core_contexts_reflection.useReflectionParameter;
16
- exports.useReflectionProperty = require_core_contexts_reflection.useReflectionProperty;
6
+ exports.ReflectionClassContext = require_reflection.ReflectionClassContext;
7
+ exports.ReflectionMethodContext = require_reflection.ReflectionMethodContext;
8
+ exports.ReflectionParameterContext = require_reflection.ReflectionParameterContext;
9
+ exports.ReflectionPropertyContext = require_reflection.ReflectionPropertyContext;
10
+ exports.useMeta = require_context.useMeta;
11
+ exports.useMetaSafe = require_context.useMetaSafe;
12
+ exports.usePowerlines = require_context.usePowerlines;
13
+ exports.usePowerlinesContext = require_context.usePowerlinesContext;
14
+ exports.usePowerlinesSafe = require_context.usePowerlinesSafe;
15
+ exports.useReflectionClass = require_reflection.useReflectionClass;
16
+ exports.useReflectionMethod = require_reflection.useReflectionMethod;
17
+ exports.useReflectionParameter = require_reflection.useReflectionParameter;
18
+ exports.useReflectionProperty = require_reflection.useReflectionProperty;
@@ -1,3 +1,5 @@
1
- import { MetaItem, PowerlinesContextInterface, __ΩMetaItem, __ΩPowerlinesContextInterface, useMeta, useMetaSafe, usePowerlines, usePowerlinesContext, usePowerlinesSafe } from "./context.cjs";
2
- import { ReflectionClassContext, ReflectionClassContextInterface, ReflectionMethodContext, ReflectionParameterContext, ReflectionPropertyContext, __ΩReflectionClassContextInterface, useReflectionClass, useReflectionMethod, useReflectionParameter, useReflectionProperty } from "./reflection.cjs";
1
+ import { a as useMeta, c as usePowerlinesContext, i as __ΩPowerlinesContextInterface, l as usePowerlinesSafe, n as PowerlinesContextInterface, o as useMetaSafe, r as __ΩMetaItem, s as usePowerlines, t as MetaItem } from "../../context-Gqs3Ru42.cjs";
2
+ import "../../components-IRVnipN0.cjs";
3
+ import { a as ReflectionPropertyContext, c as useReflectionMethod, i as ReflectionParameterContext, l as useReflectionParameter, n as ReflectionClassContextInterface, o as __ΩReflectionClassContextInterface, r as ReflectionMethodContext, s as useReflectionClass, t as ReflectionClassContext, u as useReflectionProperty } from "../../reflection-xU09ifzp.cjs";
4
+ import "../../index-C6yvNuzO.cjs";
3
5
  export { MetaItem, PowerlinesContextInterface, ReflectionClassContext, ReflectionClassContextInterface, ReflectionMethodContext, ReflectionParameterContext, ReflectionPropertyContext, __ΩMetaItem, __ΩPowerlinesContextInterface, __ΩReflectionClassContextInterface, useMeta, useMetaSafe, usePowerlines, usePowerlinesContext, usePowerlinesSafe, useReflectionClass, useReflectionMethod, useReflectionParameter, useReflectionProperty };
@@ -1,3 +1,5 @@
1
- import { MetaItem, PowerlinesContextInterface, __ΩMetaItem, __ΩPowerlinesContextInterface, useMeta, useMetaSafe, usePowerlines, usePowerlinesContext, usePowerlinesSafe } from "./context.mjs";
2
- import { ReflectionClassContext, ReflectionClassContextInterface, ReflectionMethodContext, ReflectionParameterContext, ReflectionPropertyContext, __ΩReflectionClassContextInterface, useReflectionClass, useReflectionMethod, useReflectionParameter, useReflectionProperty } from "./reflection.mjs";
1
+ import { a as useMeta, c as usePowerlinesContext, i as __ΩPowerlinesContextInterface, l as usePowerlinesSafe, n as PowerlinesContextInterface, o as useMetaSafe, r as __ΩMetaItem, s as usePowerlines, t as MetaItem } from "../../context-Du_bVzRZ.mjs";
2
+ import "../../components-oHSM7vmp.mjs";
3
+ import { a as ReflectionPropertyContext, c as useReflectionMethod, i as ReflectionParameterContext, l as useReflectionParameter, n as ReflectionClassContextInterface, o as __ΩReflectionClassContextInterface, r as ReflectionMethodContext, s as useReflectionClass, t as ReflectionClassContext, u as useReflectionProperty } from "../../reflection-CUo0047e.mjs";
4
+ import "../../index-C-lwXyQ6.mjs";
3
5
  export { MetaItem, PowerlinesContextInterface, ReflectionClassContext, ReflectionClassContextInterface, ReflectionMethodContext, ReflectionParameterContext, ReflectionPropertyContext, __ΩMetaItem, __ΩPowerlinesContextInterface, __ΩReflectionClassContextInterface, useMeta, useMetaSafe, usePowerlines, usePowerlinesContext, usePowerlinesSafe, useReflectionClass, useReflectionMethod, useReflectionParameter, useReflectionProperty };
@@ -1,4 +1,6 @@
1
- import { useMeta, useMetaSafe, usePowerlines, usePowerlinesContext, usePowerlinesSafe } from "./context.mjs";
2
- import { ReflectionClassContext, ReflectionMethodContext, ReflectionParameterContext, ReflectionPropertyContext, useReflectionClass, useReflectionMethod, useReflectionParameter, useReflectionProperty } from "./reflection.mjs";
1
+ import "../../unctx-MFxscYXI.mjs";
2
+ import { a as usePowerlinesSafe, i as usePowerlinesContext, n as useMetaSafe, r as usePowerlines, t as useMeta } from "../../context-e2kZWEFW.mjs";
3
+ import { a as useReflectionClass, c as useReflectionProperty, i as ReflectionPropertyContext, n as ReflectionMethodContext, o as useReflectionMethod, r as ReflectionParameterContext, s as useReflectionParameter, t as ReflectionClassContext } from "../../reflection-B-NMNIoB.mjs";
4
+ import "../../contexts-juWSyBfb.mjs";
3
5
 
4
6
  export { ReflectionClassContext, ReflectionMethodContext, ReflectionParameterContext, ReflectionPropertyContext, useMeta, useMetaSafe, usePowerlines, usePowerlinesContext, usePowerlinesSafe, useReflectionClass, useReflectionMethod, useReflectionParameter, useReflectionProperty };
@@ -1,68 +1,10 @@
1
- const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
2
- let __alloy_js_core = require("@alloy-js/core");
1
+ const require_reflection = require('../../reflection-DHpdhvwI.cjs');
3
2
 
4
- //#region src/core/contexts/reflection.ts
5
- /**
6
- * The reflection class context used in template rendering.
7
- */
8
- const ReflectionClassContext = (0, __alloy_js_core.createContext)();
9
- /**
10
- * Hook to access the Reflection context.
11
- *
12
- * @returns A reactive version of the current reflection.
13
- */
14
- function useReflectionClass() {
15
- const context = (0, __alloy_js_core.useContext)(ReflectionClassContext);
16
- if (!context) throw new Error("Powerlines - ReflectionClass Context is not set. Please make sure the Alloy components are being provided to an invocation of the `render` function added to plugins by `@powerlines/plugin-alloy`.");
17
- return context;
18
- }
19
- /**
20
- * The reflection property context used in template rendering.
21
- */
22
- const ReflectionPropertyContext = (0, __alloy_js_core.createNamedContext)("ReflectionProperty");
23
- /**
24
- * Hook to access the Reflection Property context.
25
- *
26
- * @returns A reactive version of the current reflection.
27
- */
28
- function useReflectionProperty() {
29
- const context = (0, __alloy_js_core.useContext)(ReflectionPropertyContext);
30
- if (!context) throw new Error("Powerlines - Reflection Property Context is not set. Please make sure the Alloy components are being provided to an invocation of the `render` function added to plugins by `@powerlines/plugin-alloy`.");
31
- return context;
32
- }
33
- /**
34
- * The reflection method context used in template rendering.
35
- */
36
- const ReflectionMethodContext = (0, __alloy_js_core.createNamedContext)("ReflectionMethod");
37
- /**
38
- * Hook to access the Reflection Method context.
39
- *
40
- * @returns A reactive version of the current reflection.
41
- */
42
- function useReflectionMethod() {
43
- const context = (0, __alloy_js_core.useContext)(ReflectionMethodContext);
44
- if (!context) throw new Error("Powerlines - Reflection Method Context is not set. Please make sure the Alloy components are being provided to an invocation of the `render` function added to plugins by `@powerlines/plugin-alloy`.");
45
- return context;
46
- }
47
- /**
48
- * The reflection parameter context used in template rendering.
49
- */
50
- const ReflectionParameterContext = (0, __alloy_js_core.createNamedContext)("ReflectionParameter");
51
- /**
52
- * Hook to access the Reflection Parameter context.
53
- *
54
- * @returns A reactive version of the current reflection.
55
- */
56
- function useReflectionParameter() {
57
- return (0, __alloy_js_core.useContext)(ReflectionParameterContext);
58
- }
59
-
60
- //#endregion
61
- exports.ReflectionClassContext = ReflectionClassContext;
62
- exports.ReflectionMethodContext = ReflectionMethodContext;
63
- exports.ReflectionParameterContext = ReflectionParameterContext;
64
- exports.ReflectionPropertyContext = ReflectionPropertyContext;
65
- exports.useReflectionClass = useReflectionClass;
66
- exports.useReflectionMethod = useReflectionMethod;
67
- exports.useReflectionParameter = useReflectionParameter;
68
- exports.useReflectionProperty = useReflectionProperty;
3
+ exports.ReflectionClassContext = require_reflection.ReflectionClassContext;
4
+ exports.ReflectionMethodContext = require_reflection.ReflectionMethodContext;
5
+ exports.ReflectionParameterContext = require_reflection.ReflectionParameterContext;
6
+ exports.ReflectionPropertyContext = require_reflection.ReflectionPropertyContext;
7
+ exports.useReflectionClass = require_reflection.useReflectionClass;
8
+ exports.useReflectionMethod = require_reflection.useReflectionMethod;
9
+ exports.useReflectionParameter = require_reflection.useReflectionParameter;
10
+ exports.useReflectionProperty = require_reflection.useReflectionProperty;
@@ -1,52 +1,3 @@
1
- import { ReflectionOverrideInterface } from "../../types/components.cjs";
2
- import { ComponentContext } from "@alloy-js/core";
3
- import { ReflectionClass, ReflectionMethod, ReflectionParameter, ReflectionProperty } from "@powerlines/deepkit/vendor/type";
4
-
5
- //#region src/core/contexts/reflection.d.ts
6
- interface ReflectionClassContextInterface<T extends Record<string, any> = Record<string, any>> {
7
- reflection: ReflectionClass<T>;
8
- override?: ReflectionOverrideInterface<T>;
9
- }
10
- /**
11
- * The reflection class context used in template rendering.
12
- */
13
- declare const ReflectionClassContext: ComponentContext<ReflectionClassContextInterface<any>>;
14
- /**
15
- * Hook to access the Reflection context.
16
- *
17
- * @returns A reactive version of the current reflection.
18
- */
19
- declare function useReflectionClass<T extends Record<string, any> = Record<string, any>>(): ReflectionClassContextInterface<T>;
20
- /**
21
- * The reflection property context used in template rendering.
22
- */
23
- declare const ReflectionPropertyContext: ComponentContext<ReflectionProperty>;
24
- /**
25
- * Hook to access the Reflection Property context.
26
- *
27
- * @returns A reactive version of the current reflection.
28
- */
29
- declare function useReflectionProperty(): ReflectionProperty;
30
- /**
31
- * The reflection method context used in template rendering.
32
- */
33
- declare const ReflectionMethodContext: ComponentContext<ReflectionMethod>;
34
- /**
35
- * Hook to access the Reflection Method context.
36
- *
37
- * @returns A reactive version of the current reflection.
38
- */
39
- declare function useReflectionMethod(): ReflectionMethod;
40
- /**
41
- * The reflection parameter context used in template rendering.
42
- */
43
- declare const ReflectionParameterContext: ComponentContext<ReflectionParameter>;
44
- /**
45
- * Hook to access the Reflection Parameter context.
46
- *
47
- * @returns A reactive version of the current reflection.
48
- */
49
- declare function useReflectionParameter(): ReflectionParameter;
50
- declare type __ΩReflectionClassContextInterface = any[];
51
- //#endregion
1
+ import "../../components-IRVnipN0.cjs";
2
+ import { a as ReflectionPropertyContext, c as useReflectionMethod, i as ReflectionParameterContext, l as useReflectionParameter, n as ReflectionClassContextInterface, o as __ΩReflectionClassContextInterface, r as ReflectionMethodContext, s as useReflectionClass, t as ReflectionClassContext, u as useReflectionProperty } from "../../reflection-xU09ifzp.cjs";
52
3
  export { ReflectionClassContext, ReflectionClassContextInterface, ReflectionMethodContext, ReflectionParameterContext, ReflectionPropertyContext, __ΩReflectionClassContextInterface, useReflectionClass, useReflectionMethod, useReflectionParameter, useReflectionProperty };
@@ -1,52 +1,3 @@
1
- import { ReflectionOverrideInterface } from "../../types/components.mjs";
2
- import { ComponentContext } from "@alloy-js/core";
3
- import { ReflectionClass, ReflectionMethod, ReflectionParameter, ReflectionProperty } from "@powerlines/deepkit/vendor/type";
4
-
5
- //#region src/core/contexts/reflection.d.ts
6
- interface ReflectionClassContextInterface<T extends Record<string, any> = Record<string, any>> {
7
- reflection: ReflectionClass<T>;
8
- override?: ReflectionOverrideInterface<T>;
9
- }
10
- /**
11
- * The reflection class context used in template rendering.
12
- */
13
- declare const ReflectionClassContext: ComponentContext<ReflectionClassContextInterface<any>>;
14
- /**
15
- * Hook to access the Reflection context.
16
- *
17
- * @returns A reactive version of the current reflection.
18
- */
19
- declare function useReflectionClass<T extends Record<string, any> = Record<string, any>>(): ReflectionClassContextInterface<T>;
20
- /**
21
- * The reflection property context used in template rendering.
22
- */
23
- declare const ReflectionPropertyContext: ComponentContext<ReflectionProperty>;
24
- /**
25
- * Hook to access the Reflection Property context.
26
- *
27
- * @returns A reactive version of the current reflection.
28
- */
29
- declare function useReflectionProperty(): ReflectionProperty;
30
- /**
31
- * The reflection method context used in template rendering.
32
- */
33
- declare const ReflectionMethodContext: ComponentContext<ReflectionMethod>;
34
- /**
35
- * Hook to access the Reflection Method context.
36
- *
37
- * @returns A reactive version of the current reflection.
38
- */
39
- declare function useReflectionMethod(): ReflectionMethod;
40
- /**
41
- * The reflection parameter context used in template rendering.
42
- */
43
- declare const ReflectionParameterContext: ComponentContext<ReflectionParameter>;
44
- /**
45
- * Hook to access the Reflection Parameter context.
46
- *
47
- * @returns A reactive version of the current reflection.
48
- */
49
- declare function useReflectionParameter(): ReflectionParameter;
50
- declare type __ΩReflectionClassContextInterface = any[];
51
- //#endregion
1
+ import "../../components-oHSM7vmp.mjs";
2
+ import { a as ReflectionPropertyContext, c as useReflectionMethod, i as ReflectionParameterContext, l as useReflectionParameter, n as ReflectionClassContextInterface, o as __ΩReflectionClassContextInterface, r as ReflectionMethodContext, s as useReflectionClass, t as ReflectionClassContext, u as useReflectionProperty } from "../../reflection-CUo0047e.mjs";
52
3
  export { ReflectionClassContext, ReflectionClassContextInterface, ReflectionMethodContext, ReflectionParameterContext, ReflectionPropertyContext, __ΩReflectionClassContextInterface, useReflectionClass, useReflectionMethod, useReflectionParameter, useReflectionProperty };
@@ -1,60 +1,3 @@
1
- import { createContext, createNamedContext, useContext } from "@alloy-js/core";
1
+ import { a as useReflectionClass, c as useReflectionProperty, i as ReflectionPropertyContext, n as ReflectionMethodContext, o as useReflectionMethod, r as ReflectionParameterContext, s as useReflectionParameter, t as ReflectionClassContext } from "../../reflection-B-NMNIoB.mjs";
2
2
 
3
- //#region src/core/contexts/reflection.ts
4
- /**
5
- * The reflection class context used in template rendering.
6
- */
7
- const ReflectionClassContext = createContext();
8
- /**
9
- * Hook to access the Reflection context.
10
- *
11
- * @returns A reactive version of the current reflection.
12
- */
13
- function useReflectionClass() {
14
- const context = useContext(ReflectionClassContext);
15
- if (!context) throw new Error("Powerlines - ReflectionClass Context is not set. Please make sure the Alloy components are being provided to an invocation of the `render` function added to plugins by `@powerlines/plugin-alloy`.");
16
- return context;
17
- }
18
- /**
19
- * The reflection property context used in template rendering.
20
- */
21
- const ReflectionPropertyContext = createNamedContext("ReflectionProperty");
22
- /**
23
- * Hook to access the Reflection Property context.
24
- *
25
- * @returns A reactive version of the current reflection.
26
- */
27
- function useReflectionProperty() {
28
- const context = useContext(ReflectionPropertyContext);
29
- if (!context) throw new Error("Powerlines - Reflection Property Context is not set. Please make sure the Alloy components are being provided to an invocation of the `render` function added to plugins by `@powerlines/plugin-alloy`.");
30
- return context;
31
- }
32
- /**
33
- * The reflection method context used in template rendering.
34
- */
35
- const ReflectionMethodContext = createNamedContext("ReflectionMethod");
36
- /**
37
- * Hook to access the Reflection Method context.
38
- *
39
- * @returns A reactive version of the current reflection.
40
- */
41
- function useReflectionMethod() {
42
- const context = useContext(ReflectionMethodContext);
43
- if (!context) throw new Error("Powerlines - Reflection Method Context is not set. Please make sure the Alloy components are being provided to an invocation of the `render` function added to plugins by `@powerlines/plugin-alloy`.");
44
- return context;
45
- }
46
- /**
47
- * The reflection parameter context used in template rendering.
48
- */
49
- const ReflectionParameterContext = createNamedContext("ReflectionParameter");
50
- /**
51
- * Hook to access the Reflection Parameter context.
52
- *
53
- * @returns A reactive version of the current reflection.
54
- */
55
- function useReflectionParameter() {
56
- return useContext(ReflectionParameterContext);
57
- }
58
-
59
- //#endregion
60
3
  export { ReflectionClassContext, ReflectionMethodContext, ReflectionParameterContext, ReflectionPropertyContext, useReflectionClass, useReflectionMethod, useReflectionParameter, useReflectionProperty };
@@ -1,24 +1,25 @@
1
- const require_core_components_output = require('./components/output.cjs');
2
- const require_core_components_single_line_comment = require('./components/single-line-comment.cjs');
3
- const require_core_contexts_context = require('./contexts/context.cjs');
4
- const require_core_contexts_reflection = require('./contexts/reflection.cjs');
5
- require('./contexts/index.cjs');
6
- const require_core_components_source_file = require('./components/source-file.cjs');
7
- require('./components/index.cjs');
1
+ const require_output = require('../output-CQXrGP3y.cjs');
2
+ require('../unctx-r7Vvh6XR.cjs');
3
+ const require_single_line_comment = require('../single-line-comment-COZ9RWsm.cjs');
4
+ const require_context = require('../context--KBspFnw.cjs');
5
+ const require_reflection = require('../reflection-DHpdhvwI.cjs');
6
+ require('../contexts-DezKayEz.cjs');
7
+ const require_source_file = require('../source-file-BAVTBVJy.cjs');
8
+ require('../components-B0evB5xd.cjs');
8
9
 
9
- exports.Output = require_core_components_output.Output;
10
- exports.ReflectionClassContext = require_core_contexts_reflection.ReflectionClassContext;
11
- exports.ReflectionMethodContext = require_core_contexts_reflection.ReflectionMethodContext;
12
- exports.ReflectionParameterContext = require_core_contexts_reflection.ReflectionParameterContext;
13
- exports.ReflectionPropertyContext = require_core_contexts_reflection.ReflectionPropertyContext;
14
- exports.SingleLineComment = require_core_components_single_line_comment.SingleLineComment;
15
- exports.SourceFile = require_core_components_source_file.SourceFile;
16
- exports.useMeta = require_core_contexts_context.useMeta;
17
- exports.useMetaSafe = require_core_contexts_context.useMetaSafe;
18
- exports.usePowerlines = require_core_contexts_context.usePowerlines;
19
- exports.usePowerlinesContext = require_core_contexts_context.usePowerlinesContext;
20
- exports.usePowerlinesSafe = require_core_contexts_context.usePowerlinesSafe;
21
- exports.useReflectionClass = require_core_contexts_reflection.useReflectionClass;
22
- exports.useReflectionMethod = require_core_contexts_reflection.useReflectionMethod;
23
- exports.useReflectionParameter = require_core_contexts_reflection.useReflectionParameter;
24
- exports.useReflectionProperty = require_core_contexts_reflection.useReflectionProperty;
10
+ exports.Output = require_output.Output;
11
+ exports.ReflectionClassContext = require_reflection.ReflectionClassContext;
12
+ exports.ReflectionMethodContext = require_reflection.ReflectionMethodContext;
13
+ exports.ReflectionParameterContext = require_reflection.ReflectionParameterContext;
14
+ exports.ReflectionPropertyContext = require_reflection.ReflectionPropertyContext;
15
+ exports.SingleLineComment = require_single_line_comment.SingleLineComment;
16
+ exports.SourceFile = require_source_file.SourceFile;
17
+ exports.useMeta = require_context.useMeta;
18
+ exports.useMetaSafe = require_context.useMetaSafe;
19
+ exports.usePowerlines = require_context.usePowerlines;
20
+ exports.usePowerlinesContext = require_context.usePowerlinesContext;
21
+ exports.usePowerlinesSafe = require_context.usePowerlinesSafe;
22
+ exports.useReflectionClass = require_reflection.useReflectionClass;
23
+ exports.useReflectionMethod = require_reflection.useReflectionMethod;
24
+ exports.useReflectionParameter = require_reflection.useReflectionParameter;
25
+ exports.useReflectionProperty = require_reflection.useReflectionProperty;
@@ -1,8 +1,9 @@
1
- import { MetaItem, PowerlinesContextInterface, __ΩMetaItem, __ΩPowerlinesContextInterface, useMeta, useMetaSafe, usePowerlines, usePowerlinesContext, usePowerlinesSafe } from "./contexts/context.cjs";
2
- import { Output, OutputProps, __ΩOutputProps } from "./components/output.cjs";
3
- import { SingleLineComment, SingleLineCommentProps, SingleLineCommentVariant, __ΩSingleLineCommentProps, __ΩSingleLineCommentVariant } from "./components/single-line-comment.cjs";
4
- import { SourceFile, SourceFileProps, __ΩSourceFileProps } from "./components/source-file.cjs";
5
- import "./components/index.cjs";
6
- import { ReflectionClassContext, ReflectionClassContextInterface, ReflectionMethodContext, ReflectionParameterContext, ReflectionPropertyContext, __ΩReflectionClassContextInterface, useReflectionClass, useReflectionMethod, useReflectionParameter, useReflectionProperty } from "./contexts/reflection.cjs";
7
- import "./contexts/index.cjs";
1
+ import { a as useMeta, c as usePowerlinesContext, i as __ΩPowerlinesContextInterface, l as usePowerlinesSafe, n as PowerlinesContextInterface, o as useMetaSafe, r as __ΩMetaItem, s as usePowerlines, t as MetaItem } from "../context-Gqs3Ru42.cjs";
2
+ import { n as OutputProps, r as __ΩOutputProps, t as Output } from "../output-BnmXIAFP.cjs";
3
+ import "../components-IRVnipN0.cjs";
4
+ import { a as __ΩSingleLineCommentVariant, i as __ΩSingleLineCommentProps, n as SingleLineCommentProps, r as SingleLineCommentVariant, t as SingleLineComment } from "../single-line-comment-B258_x1B.cjs";
5
+ import { n as SourceFileProps, r as __ΩSourceFileProps, t as SourceFile } from "../source-file-BTsyACav.cjs";
6
+ import "../index-BUYyA1Xh.cjs";
7
+ import { a as ReflectionPropertyContext, c as useReflectionMethod, i as ReflectionParameterContext, l as useReflectionParameter, n as ReflectionClassContextInterface, o as __ΩReflectionClassContextInterface, r as ReflectionMethodContext, s as useReflectionClass, t as ReflectionClassContext, u as useReflectionProperty } from "../reflection-xU09ifzp.cjs";
8
+ import "../index-C6yvNuzO.cjs";
8
9
  export { MetaItem, Output, OutputProps, PowerlinesContextInterface, ReflectionClassContext, ReflectionClassContextInterface, ReflectionMethodContext, ReflectionParameterContext, ReflectionPropertyContext, SingleLineComment, SingleLineCommentProps, SingleLineCommentVariant, SourceFile, SourceFileProps, __ΩMetaItem, __ΩOutputProps, __ΩPowerlinesContextInterface, __ΩReflectionClassContextInterface, __ΩSingleLineCommentProps, __ΩSingleLineCommentVariant, __ΩSourceFileProps, useMeta, useMetaSafe, usePowerlines, usePowerlinesContext, usePowerlinesSafe, useReflectionClass, useReflectionMethod, useReflectionParameter, useReflectionProperty };