@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
@@ -0,0 +1,13 @@
1
+ import { Children } from "@alloy-js/core";
2
+
3
+ //#region src/typescript/components/record-expression.d.ts
4
+ interface RecordExpressionProps {
5
+ elementType: Children;
6
+ }
7
+ declare function RecordExpression({
8
+ elementType
9
+ }: RecordExpressionProps): Children;
10
+ declare type __ΩRecordExpressionProps = any[];
11
+ //#endregion
12
+ export { RecordExpressionProps as n, __ΩRecordExpressionProps as r, RecordExpression as t };
13
+ //# sourceMappingURL=record-expression-adlQJuNw.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"record-expression-adlQJuNw.d.cts","names":[],"sources":["../src/typescript/components/record-expression.tsx"],"sourcesContent":[],"mappings":";;;UAoBiB,qBAAA;eACF;AADf;AAIgB,iBAAA,gBAAA,CAAgB;EAAA;AAAA,CAAA,EAAkB,qBAAlB,CAAA,EAAuC,QAAvC;AAAG,wCAAA,GAAA,EAAA"}
@@ -0,0 +1,13 @@
1
+ import { Children } from "@alloy-js/core";
2
+
3
+ //#region src/typescript/components/record-expression.d.ts
4
+ interface RecordExpressionProps {
5
+ elementType: Children;
6
+ }
7
+ declare function RecordExpression({
8
+ elementType
9
+ }: RecordExpressionProps): Children;
10
+ declare type __ΩRecordExpressionProps = any[];
11
+ //#endregion
12
+ export { RecordExpressionProps as n, __ΩRecordExpressionProps as r, RecordExpression as t };
13
+ //# sourceMappingURL=record-expression-c9kQA93k.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"record-expression-c9kQA93k.d.mts","names":[],"sources":["../src/typescript/components/record-expression.tsx"],"sourcesContent":[],"mappings":";;;UAoBiB,qBAAA;eACF;AADf;AAIgB,iBAAA,gBAAA,CAAgB;EAAA;AAAA,CAAA,EAAkB,qBAAlB,CAAA,EAAuC,QAAvC;AAAG,wCAAA,GAAA,EAAA"}
@@ -0,0 +1,14 @@
1
+ import { Refkey } from "@alloy-js/core";
2
+
3
+ //#region src/helpers/refkey.d.ts
4
+
5
+ /**
6
+ * Create a refkey for the provided arguments. Passing no arguments returns a fresh refkey that is guaranteed to be unique. Otherwise, the arguments passed will be used to create a refkey for those values. Providing the same arguments will always return the same refkey.
7
+ *
8
+ * @remarks
9
+ * Values are compared using the SameValueZero algorithm, which considers objects the same if they are reference identical, and primitives the same if they are the same value, with the exception of `NaN`, which is always considered equal to other `NaN` values, and `-0`, which is considered identical to `+0`
10
+ */
11
+ declare function refkey(...args: unknown[]): Refkey;
12
+ //#endregion
13
+ export { refkey as t };
14
+ //# sourceMappingURL=refkey-Bf_2_U5t.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"refkey-Bf_2_U5t.d.cts","names":[],"sources":["../src/helpers/refkey.ts"],"sourcesContent":[],"mappings":";;;;;;AA0BA;;;;iBAAgB,MAAA,sBAA4B"}
@@ -0,0 +1,21 @@
1
+ const require_chunk = require('./chunk-CbDLau6x.cjs');
2
+ let __alloy_js_core = require("@alloy-js/core");
3
+
4
+ //#region src/helpers/refkey.ts
5
+ /**
6
+ * Create a refkey for the provided arguments. Passing no arguments returns a fresh refkey that is guaranteed to be unique. Otherwise, the arguments passed will be used to create a refkey for those values. Providing the same arguments will always return the same refkey.
7
+ *
8
+ * @remarks
9
+ * Values are compared using the SameValueZero algorithm, which considers objects the same if they are reference identical, and primitives the same if they are the same value, with the exception of `NaN`, which is always considered equal to other `NaN` values, and `-0`, which is considered identical to `+0`
10
+ */
11
+ function refkey(...args) {
12
+ return (0, __alloy_js_core.refkey)("powerlines", ...args);
13
+ }
14
+
15
+ //#endregion
16
+ Object.defineProperty(exports, 'refkey', {
17
+ enumerable: true,
18
+ get: function () {
19
+ return refkey;
20
+ }
21
+ });
@@ -0,0 +1,16 @@
1
+ import { refkey } from "@alloy-js/core";
2
+
3
+ //#region src/helpers/refkey.ts
4
+ /**
5
+ * Create a refkey for the provided arguments. Passing no arguments returns a fresh refkey that is guaranteed to be unique. Otherwise, the arguments passed will be used to create a refkey for those values. Providing the same arguments will always return the same refkey.
6
+ *
7
+ * @remarks
8
+ * Values are compared using the SameValueZero algorithm, which considers objects the same if they are reference identical, and primitives the same if they are the same value, with the exception of `NaN`, which is always considered equal to other `NaN` values, and `-0`, which is considered identical to `+0`
9
+ */
10
+ function refkey$1(...args) {
11
+ return refkey("powerlines", ...args);
12
+ }
13
+
14
+ //#endregion
15
+ export { refkey$1 as t };
16
+ //# sourceMappingURL=refkey-CIFiGvgZ.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"refkey-CIFiGvgZ.mjs","names":["refkey","refkeyExternal","args"],"sources":["../src/helpers/refkey.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { Refkey, refkey as refkeyExternal } from \"@alloy-js/core\";\n\n/**\n * Create a refkey for the provided arguments. Passing no arguments returns a fresh refkey that is guaranteed to be unique. Otherwise, the arguments passed will be used to create a refkey for those values. Providing the same arguments will always return the same refkey.\n *\n * @remarks\n * Values are compared using the SameValueZero algorithm, which considers objects the same if they are reference identical, and primitives the same if they are the same value, with the exception of `NaN`, which is always considered equal to other `NaN` values, and `-0`, which is considered identical to `+0`\n */\nexport function refkey(...args: unknown[]): Refkey {\n return refkeyExternal(\"powerlines\", ...args);\n}\n"],"mappings":";;;;;;;;;AA0BA,SAAgBA,SAAO,GAAGE,MAAyB;AACjD,QAAOD,OAAe,cAAc,GAAGC,KAAK"}
@@ -0,0 +1,14 @@
1
+ import { Refkey } from "@alloy-js/core";
2
+
3
+ //#region src/helpers/refkey.d.ts
4
+
5
+ /**
6
+ * Create a refkey for the provided arguments. Passing no arguments returns a fresh refkey that is guaranteed to be unique. Otherwise, the arguments passed will be used to create a refkey for those values. Providing the same arguments will always return the same refkey.
7
+ *
8
+ * @remarks
9
+ * Values are compared using the SameValueZero algorithm, which considers objects the same if they are reference identical, and primitives the same if they are the same value, with the exception of `NaN`, which is always considered equal to other `NaN` values, and `-0`, which is considered identical to `+0`
10
+ */
11
+ declare function refkey$1(...args: unknown[]): Refkey;
12
+ //#endregion
13
+ export { refkey$1 as t };
14
+ //# sourceMappingURL=refkey-CSZgFc0P.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"refkey-CSZgFc0P.d.mts","names":[],"sources":["../src/helpers/refkey.ts"],"sourcesContent":[],"mappings":";;;;;;AA0BA;;;;iBAAgB,QAAA,sBAA4B"}
@@ -0,0 +1,61 @@
1
+ import { createContext, createNamedContext, useContext } from "@alloy-js/core";
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
+ export { useReflectionClass as a, useReflectionProperty as c, ReflectionPropertyContext as i, ReflectionMethodContext as n, useReflectionMethod as o, ReflectionParameterContext as r, useReflectionParameter as s, ReflectionClassContext as t };
61
+ //# sourceMappingURL=reflection-B-NMNIoB.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reflection-B-NMNIoB.mjs","names":["createContext","createNamedContext","useContext","ReflectionClassContext","useReflectionClass","context","Error","ReflectionPropertyContext","useReflectionProperty","ReflectionMethodContext","useReflectionMethod","ReflectionParameterContext","useReflectionParameter"],"sources":["../src/core/contexts/reflection.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport type { ComponentContext } from \"@alloy-js/core\";\nimport { createContext, createNamedContext, useContext } from \"@alloy-js/core\";\nimport type {\n ReflectionClass,\n ReflectionMethod,\n ReflectionParameter,\n ReflectionProperty\n} from \"@powerlines/deepkit/vendor/type\";\nimport { ReflectionOverrideInterface } from \"../../types/components\";\n\nexport interface ReflectionClassContextInterface<\n T extends Record<string, any> = Record<string, any>\n> {\n reflection: ReflectionClass<T>;\n override?: ReflectionOverrideInterface<T>;\n}\n\n/**\n * The reflection class context used in template rendering.\n */\nexport const ReflectionClassContext: ComponentContext<\n ReflectionClassContextInterface<any>\n> = createContext<ReflectionClassContextInterface<any>>();\n\n/**\n * Hook to access the Reflection context.\n *\n * @returns A reactive version of the current reflection.\n */\nexport function useReflectionClass<\n T extends Record<string, any> = Record<string, any>\n>() {\n const context = useContext<ReflectionClassContextInterface<T>>(\n ReflectionClassContext\n )!;\n\n if (!context) {\n throw new Error(\n \"Powerlines - ReflectionClass Context is not set. Please make sure the Alloy components are being provided to an invocation of the `render` function added to plugins by `@powerlines/plugin-alloy`.\"\n );\n }\n\n return context;\n}\n\n/**\n * The reflection property context used in template rendering.\n */\nexport const ReflectionPropertyContext: ComponentContext<ReflectionProperty> =\n createNamedContext<ReflectionProperty>(\"ReflectionProperty\");\n\n/**\n * Hook to access the Reflection Property context.\n *\n * @returns A reactive version of the current reflection.\n */\nexport function useReflectionProperty() {\n const context = useContext<ReflectionProperty>(ReflectionPropertyContext)!;\n\n if (!context) {\n throw new Error(\n \"Powerlines - Reflection Property Context is not set. Please make sure the Alloy components are being provided to an invocation of the `render` function added to plugins by `@powerlines/plugin-alloy`.\"\n );\n }\n\n return context;\n}\n\n/**\n * The reflection method context used in template rendering.\n */\nexport const ReflectionMethodContext: ComponentContext<ReflectionMethod> =\n createNamedContext<ReflectionMethod>(\"ReflectionMethod\");\n\n/**\n * Hook to access the Reflection Method context.\n *\n * @returns A reactive version of the current reflection.\n */\nexport function useReflectionMethod() {\n const context = useContext<ReflectionMethod>(ReflectionMethodContext)!;\n\n if (!context) {\n throw new Error(\n \"Powerlines - Reflection Method Context is not set. Please make sure the Alloy components are being provided to an invocation of the `render` function added to plugins by `@powerlines/plugin-alloy`.\"\n );\n }\n\n return context;\n}\n\n/**\n * The reflection parameter context used in template rendering.\n */\nexport const ReflectionParameterContext: ComponentContext<ReflectionParameter> =\n createNamedContext<ReflectionParameter>(\"ReflectionParameter\");\n\n/**\n * Hook to access the Reflection Parameter context.\n *\n * @returns A reactive version of the current reflection.\n */\nexport function useReflectionParameter() {\n return useContext<ReflectionParameter>(ReflectionParameterContext)!;\n}\n"],"mappings":""}
@@ -0,0 +1,53 @@
1
+ import { c as ReflectionOverrideInterface } from "./components-oHSM7vmp.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
52
+ export { ReflectionPropertyContext as a, useReflectionMethod as c, ReflectionParameterContext as i, useReflectionParameter as l, ReflectionClassContextInterface as n, __ΩReflectionClassContextInterface as o, ReflectionMethodContext as r, useReflectionClass as s, ReflectionClassContext as t, useReflectionProperty as u };
53
+ //# sourceMappingURL=reflection-CUo0047e.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reflection-CUo0047e.d.mts","names":[],"sources":["../src/core/contexts/reflection.ts"],"sourcesContent":[],"mappings":";;;;;UA4BiB,0CACL,sBAAsB;cAEpB,gBAAgB;EAHb,QAAA,CAAA,EAIJ,2BAJmC,CAIP,CAJO,CAAA;;;;;AAIP,cAM5B,sBAN4B,EAMJ,gBANI,CAOvC,+BAPuC,CAAA,GAAA,CAAA,CAAA;;;AAMzC;AASA;;AACkC,iBADlB,kBACkB,CAAA,UAAtB,MAAsB,CAAA,MAAA,EAAA,GAAA,CAAA,GAAA,MAAA,CAAA,MAAA,EAAA,GAAA,CAAA,CAAA,CAAA,CAAA,EAAmB,+BAAnB,CAAmB,CAAnB,CAAA;;;;AAkBrB,cAAA,yBAA4C,EAAjB,gBAAA,CAAiB,kBAAD,CAAA;AAQxD;AAeA;AAQA;AAeA;AAQA;iBA9CgB,qBAAA,CAAA,GAAqB;;;;cAexB,yBAAyB,iBAAiB;;;;;;iBAQvC,mBAAA,CAAA,GAAmB;;;;cAetB,4BAA4B,iBAAiB;;;;;;iBAQ1C,sBAAA,CAAA,GAAsB"}
@@ -0,0 +1,108 @@
1
+ const require_chunk = require('./chunk-CbDLau6x.cjs');
2
+ let __alloy_js_core = require("@alloy-js/core");
3
+
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
+ Object.defineProperty(exports, 'ReflectionClassContext', {
62
+ enumerable: true,
63
+ get: function () {
64
+ return ReflectionClassContext;
65
+ }
66
+ });
67
+ Object.defineProperty(exports, 'ReflectionMethodContext', {
68
+ enumerable: true,
69
+ get: function () {
70
+ return ReflectionMethodContext;
71
+ }
72
+ });
73
+ Object.defineProperty(exports, 'ReflectionParameterContext', {
74
+ enumerable: true,
75
+ get: function () {
76
+ return ReflectionParameterContext;
77
+ }
78
+ });
79
+ Object.defineProperty(exports, 'ReflectionPropertyContext', {
80
+ enumerable: true,
81
+ get: function () {
82
+ return ReflectionPropertyContext;
83
+ }
84
+ });
85
+ Object.defineProperty(exports, 'useReflectionClass', {
86
+ enumerable: true,
87
+ get: function () {
88
+ return useReflectionClass;
89
+ }
90
+ });
91
+ Object.defineProperty(exports, 'useReflectionMethod', {
92
+ enumerable: true,
93
+ get: function () {
94
+ return useReflectionMethod;
95
+ }
96
+ });
97
+ Object.defineProperty(exports, 'useReflectionParameter', {
98
+ enumerable: true,
99
+ get: function () {
100
+ return useReflectionParameter;
101
+ }
102
+ });
103
+ Object.defineProperty(exports, 'useReflectionProperty', {
104
+ enumerable: true,
105
+ get: function () {
106
+ return useReflectionProperty;
107
+ }
108
+ });
@@ -0,0 +1,53 @@
1
+ import { c as ReflectionOverrideInterface } from "./components-IRVnipN0.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
52
+ export { ReflectionPropertyContext as a, useReflectionMethod as c, ReflectionParameterContext as i, useReflectionParameter as l, ReflectionClassContextInterface as n, __ΩReflectionClassContextInterface as o, ReflectionMethodContext as r, useReflectionClass as s, ReflectionClassContext as t, useReflectionProperty as u };
53
+ //# sourceMappingURL=reflection-xU09ifzp.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reflection-xU09ifzp.d.cts","names":[],"sources":["../src/core/contexts/reflection.ts"],"sourcesContent":[],"mappings":";;;;;UA4BiB,0CACL,sBAAsB;cAEpB,gBAAgB;EAHb,QAAA,CAAA,EAIJ,2BAJmC,CAIP,CAJO,CAAA;;;;;AAIP,cAM5B,sBAN4B,EAMJ,gBANI,CAOvC,+BAPuC,CAAA,GAAA,CAAA,CAAA;;;AAMzC;AASA;;AACkC,iBADlB,kBACkB,CAAA,UAAtB,MAAsB,CAAA,MAAA,EAAA,GAAA,CAAA,GAAA,MAAA,CAAA,MAAA,EAAA,GAAA,CAAA,CAAA,CAAA,CAAA,EAAmB,+BAAnB,CAAmB,CAAnB,CAAA;;;;AAkBrB,cAAA,yBAA4C,EAAjB,gBAAA,CAAiB,kBAAD,CAAA;AAQxD;AAeA;AAQA;AAeA;AAQA;iBA9CgB,qBAAA,CAAA,GAAqB;;;;cAexB,yBAAyB,iBAAiB;;;;;;iBAQvC,mBAAA,CAAA,GAAmB;;;;cAetB,4BAA4B,iBAAiB;;;;;;iBAQ1C,sBAAA,CAAA,GAAsB"}
@@ -0,0 +1,23 @@
1
+ import { n as ComponentProps } from "./components-IRVnipN0.cjs";
2
+ import * as _alloy_js_core0 from "@alloy-js/core";
3
+
4
+ //#region src/core/components/single-line-comment.d.ts
5
+ type SingleLineCommentVariant = "double-slash" | "triple-slash" | "slash-star" | "slash-star-star" | "markdown";
6
+ interface SingleLineCommentProps extends ComponentProps {
7
+ /**
8
+ * The variant of the single line comment.
9
+ *
10
+ * @defaultValue "double-slash"
11
+ */
12
+ variant?: SingleLineCommentVariant;
13
+ }
14
+ /**
15
+ * A single line comment block. The children are rendered as a prose element, which means that they
16
+ * are broken into multiple lines
17
+ */
18
+ declare function SingleLineComment(props: SingleLineCommentProps): _alloy_js_core0.Children;
19
+ declare type __ΩSingleLineCommentVariant = any[];
20
+ declare type __ΩSingleLineCommentProps = any[];
21
+ //#endregion
22
+ export { __ΩSingleLineCommentVariant as a, __ΩSingleLineCommentProps as i, SingleLineCommentProps as n, SingleLineCommentVariant as r, SingleLineComment as t };
23
+ //# sourceMappingURL=single-line-comment-B258_x1B.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"single-line-comment-B258_x1B.d.cts","names":[],"sources":["../src/core/components/single-line-comment.tsx"],"sourcesContent":[],"mappings":";;;;KAqBY,wBAAA;UAOK,sBAAA,SAA+B;;AAPhD;AAOA;AAaA;;YAPY;;;;;;iBAOI,iBAAA,QAAyB,yBAAsB,eAAA,CAAA"}
@@ -0,0 +1,27 @@
1
+ const require_chunk = require('./chunk-CbDLau6x.cjs');
2
+ let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
3
+ let __alloy_js_core = require("@alloy-js/core");
4
+
5
+ //#region src/core/components/single-line-comment.tsx
6
+ /**
7
+ * A single line comment block. The children are rendered as a prose element, which means that they
8
+ * are broken into multiple lines
9
+ */
10
+ function SingleLineComment(props) {
11
+ const { variant = "double-slash", children } = props;
12
+ const commentStart = variant === "slash-star" ? "/* " : variant === "slash-star-star" ? "/** " : variant === "triple-slash" ? "/// " : variant === "markdown" ? "<!-- " : "// ";
13
+ return [commentStart, (0, __alloy_js_core_jsx_runtime.createIntrinsic)("align", {
14
+ string: commentStart,
15
+ get children() {
16
+ return [(0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Prose, { children }), variant === "slash-star" || variant === "slash-star-star" ? " */ " : variant === "markdown" ? " -->" : ""];
17
+ }
18
+ })];
19
+ }
20
+
21
+ //#endregion
22
+ Object.defineProperty(exports, 'SingleLineComment', {
23
+ enumerable: true,
24
+ get: function () {
25
+ return SingleLineComment;
26
+ }
27
+ });
@@ -0,0 +1,23 @@
1
+ import { n as ComponentProps } from "./components-IRVnipN0.cjs";
2
+ import * as _alloy_js_core8 from "@alloy-js/core";
3
+
4
+ //#region src/core/components/single-line-comment.d.ts
5
+ type SingleLineCommentVariant = "double-slash" | "triple-slash" | "slash-star" | "slash-star-star" | "markdown";
6
+ interface SingleLineCommentProps extends ComponentProps {
7
+ /**
8
+ * The variant of the single line comment.
9
+ *
10
+ * @defaultValue "double-slash"
11
+ */
12
+ variant?: SingleLineCommentVariant;
13
+ }
14
+ /**
15
+ * A single line comment block. The children are rendered as a prose element, which means that they
16
+ * are broken into multiple lines
17
+ */
18
+ declare function SingleLineComment(props: SingleLineCommentProps): _alloy_js_core8.Children;
19
+ declare type __ΩSingleLineCommentVariant = any[];
20
+ declare type __ΩSingleLineCommentProps = any[];
21
+ //#endregion
22
+ export { __ΩSingleLineCommentVariant as a, __ΩSingleLineCommentProps as i, SingleLineCommentProps as n, SingleLineCommentVariant as r, SingleLineComment as t };
23
+ //# sourceMappingURL=single-line-comment-D9dIL45u.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"single-line-comment-D9dIL45u.d.cts","names":[],"sources":["../src/core/components/single-line-comment.tsx"],"sourcesContent":[],"mappings":";;;;KAqBY,wBAAA;UAOK,sBAAA,SAA+B;;AAPhD;AAOA;AAaA;;YAPY;;;;;;iBAOI,iBAAA,QAAyB,yBAAsB,eAAA,CAAA"}
@@ -0,0 +1,23 @@
1
+ import { n as ComponentProps } from "./components-oHSM7vmp.mjs";
2
+ import * as _alloy_js_core0 from "@alloy-js/core";
3
+
4
+ //#region src/core/components/single-line-comment.d.ts
5
+ type SingleLineCommentVariant = "double-slash" | "triple-slash" | "slash-star" | "slash-star-star" | "markdown";
6
+ interface SingleLineCommentProps extends ComponentProps {
7
+ /**
8
+ * The variant of the single line comment.
9
+ *
10
+ * @defaultValue "double-slash"
11
+ */
12
+ variant?: SingleLineCommentVariant;
13
+ }
14
+ /**
15
+ * A single line comment block. The children are rendered as a prose element, which means that they
16
+ * are broken into multiple lines
17
+ */
18
+ declare function SingleLineComment(props: SingleLineCommentProps): _alloy_js_core0.Children;
19
+ declare type __ΩSingleLineCommentVariant = any[];
20
+ declare type __ΩSingleLineCommentProps = any[];
21
+ //#endregion
22
+ export { __ΩSingleLineCommentVariant as a, __ΩSingleLineCommentProps as i, SingleLineCommentProps as n, SingleLineCommentVariant as r, SingleLineComment as t };
23
+ //# sourceMappingURL=single-line-comment-PMv_zrfe.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"single-line-comment-PMv_zrfe.d.mts","names":[],"sources":["../src/core/components/single-line-comment.tsx"],"sourcesContent":[],"mappings":";;;;KAqBY,wBAAA;UAOK,sBAAA,SAA+B;;AAPhD;AAOA;AAaA;;YAPY;;;;;;iBAOI,iBAAA,QAAyB,yBAAsB,eAAA,CAAA"}
@@ -0,0 +1,22 @@
1
+ import { createComponent, createIntrinsic } from "@alloy-js/core/jsx-runtime";
2
+ import { Prose } from "@alloy-js/core";
3
+
4
+ //#region src/core/components/single-line-comment.tsx
5
+ /**
6
+ * A single line comment block. The children are rendered as a prose element, which means that they
7
+ * are broken into multiple lines
8
+ */
9
+ function SingleLineComment(props) {
10
+ const { variant = "double-slash", children } = props;
11
+ const commentStart = variant === "slash-star" ? "/* " : variant === "slash-star-star" ? "/** " : variant === "triple-slash" ? "/// " : variant === "markdown" ? "<!-- " : "// ";
12
+ return [commentStart, createIntrinsic("align", {
13
+ string: commentStart,
14
+ get children() {
15
+ return [createComponent(Prose, { children }), variant === "slash-star" || variant === "slash-star-star" ? " */ " : variant === "markdown" ? " -->" : ""];
16
+ }
17
+ })];
18
+ }
19
+
20
+ //#endregion
21
+ export { SingleLineComment as t };
22
+ //# sourceMappingURL=single-line-comment-mOQtfhWt.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"single-line-comment-mOQtfhWt.mjs","names":["Prose","SingleLineComment","props","variant","children","commentStart","_$createIntrinsic","string","_$createComponent"],"sources":["../src/core/components/single-line-comment.tsx"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { Prose } from \"@alloy-js/core\";\nimport { ComponentProps } from \"../../types/components\";\n\nexport type SingleLineCommentVariant =\n | \"double-slash\"\n | \"triple-slash\"\n | \"slash-star\"\n | \"slash-star-star\"\n | \"markdown\";\n\nexport interface SingleLineCommentProps extends ComponentProps {\n /**\n * The variant of the single line comment.\n *\n * @defaultValue \"double-slash\"\n */\n variant?: SingleLineCommentVariant;\n}\n\n/**\n * A single line comment block. The children are rendered as a prose element, which means that they\n * are broken into multiple lines\n */\nexport function SingleLineComment(props: SingleLineCommentProps) {\n const { variant = \"double-slash\", children } = props;\n\n const commentStart =\n variant === \"slash-star\"\n ? \"/* \"\n : variant === \"slash-star-star\"\n ? \"/** \"\n : variant === \"triple-slash\"\n ? \"/// \"\n : variant === \"markdown\"\n ? \"<!-- \"\n : \"// \";\n\n return (\n <>\n {commentStart}\n <align string={commentStart}>\n <Prose>{children}</Prose>\n\n {variant === \"slash-star\" || variant === \"slash-star-star\"\n ? \" */ \"\n : variant === \"markdown\"\n ? \" -->\"\n : \"\"}\n </align>\n </>\n );\n}\n"],"mappings":""}
@@ -0,0 +1,33 @@
1
+ import { n as ComponentProps } from "./components-IRVnipN0.cjs";
2
+ import * as _alloy_js_core9 from "@alloy-js/core";
3
+ import { SourceFileProps } from "@alloy-js/core";
4
+ import { StoragePreset } from "powerlines/types/fs";
5
+
6
+ //#region src/core/components/source-file.d.ts
7
+ type SourceFileProps$1 = SourceFileProps & ComponentProps & {
8
+ /**
9
+ * The storage preset for the output files.
10
+ *
11
+ * @remarks
12
+ * If not specified, the output mode will be determined by the provided `output.mode` value.
13
+ */
14
+ storage?: StoragePreset;
15
+ /**
16
+ * The metadata associated with the source file.
17
+ *
18
+ * @remarks
19
+ * The values stored in the metadata will be available in the rendering context.
20
+ */
21
+ meta?: Record<string, any>;
22
+ };
23
+ /**
24
+ * A base component representing a Powerlines generated source file.
25
+ *
26
+ * @param props - The properties for the source file.
27
+ * @returns The rendered source file component.
28
+ */
29
+ declare function SourceFile(props: SourceFileProps$1): _alloy_js_core9.Children;
30
+ declare type __ΩSourceFileProps = any[];
31
+ //#endregion
32
+ export { SourceFileProps$1 as n, __ΩSourceFileProps as r, SourceFile as t };
33
+ //# sourceMappingURL=source-file-95cXzcLB.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"source-file-95cXzcLB.d.cts","names":[],"sources":["../src/core/components/source-file.tsx"],"sourcesContent":[],"mappings":";;;;;;KAkCY,iBAAA,GAAkB,kBAC5B;;;AADF;;;;EAgBW,OAAA,CAAA,EARG,aAQH;EAAM;AASjB;;;;;SATW;;;;;;;;iBASK,UAAA,QAAkB,oBAAe,eAAA,CAAA"}