@powerlines/plugin-alloy 0.14.0

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 (276) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +304 -0
  3. package/dist/builtin-file-BU93ve2k.d.cts +34 -0
  4. package/dist/builtin-file-CG53y-09.d.mts +34 -0
  5. package/dist/builtin-file-CkwxD4el.mjs +37 -0
  6. package/dist/builtin-file-DLVCgiye.cjs +43 -0
  7. package/dist/capnp-8yVLwAox.cjs +364 -0
  8. package/dist/capnp-CKLYTfgy.d.mts +87 -0
  9. package/dist/capnp-CNythuSw.mjs +267 -0
  10. package/dist/capnp-wJ2_HpAN.d.cts +87 -0
  11. package/dist/chunk-CbDLau6x.cjs +34 -0
  12. package/dist/components-B0A7LpQD.d.cts +142 -0
  13. package/dist/components-B2kXCrty.d.mts +142 -0
  14. package/dist/components-BOkkDhM9.cjs +0 -0
  15. package/dist/components-BXrpeD8J.cjs +0 -0
  16. package/dist/components-C3qpgLKV.mjs +1 -0
  17. package/dist/components-CBtEhH9k.mjs +1 -0
  18. package/dist/components-Cj5gaIV0.cjs +0 -0
  19. package/dist/components-HMVhsFQl.mjs +1 -0
  20. package/dist/components-I0ydtjfW.cjs +0 -0
  21. package/dist/components-ajocJcib.mjs +1 -0
  22. package/dist/context-BIduC1bB.cjs +44 -0
  23. package/dist/context-BO25KgR_.d.cts +1668 -0
  24. package/dist/context-CBG6Pv09.d.cts +26 -0
  25. package/dist/context-Cx38_mgI.mjs +26 -0
  26. package/dist/context-DzaJOnXh.d.mts +26 -0
  27. package/dist/context-GtZoIVx8.d.mts +1670 -0
  28. package/dist/contexts-BSRk0whx.cjs +0 -0
  29. package/dist/contexts-X44bRyOp.mjs +1 -0
  30. package/dist/contexts-XuEdvZdE.mjs +1 -0
  31. package/dist/contexts-uXFW3CIa.cjs +0 -0
  32. package/dist/core/components/index.cjs +9 -0
  33. package/dist/core/components/index.d.cts +7 -0
  34. package/dist/core/components/index.d.mts +7 -0
  35. package/dist/core/components/index.mjs +7 -0
  36. package/dist/core/components/output.cjs +4 -0
  37. package/dist/core/components/output.d.cts +3 -0
  38. package/dist/core/components/output.d.mts +3 -0
  39. package/dist/core/components/output.mjs +4 -0
  40. package/dist/core/components/single-line-comment.cjs +3 -0
  41. package/dist/core/components/single-line-comment.d.cts +4 -0
  42. package/dist/core/components/single-line-comment.d.mts +4 -0
  43. package/dist/core/components/single-line-comment.mjs +3 -0
  44. package/dist/core/components/source-file.cjs +3 -0
  45. package/dist/core/components/source-file.d.cts +4 -0
  46. package/dist/core/components/source-file.d.mts +4 -0
  47. package/dist/core/components/source-file.mjs +3 -0
  48. package/dist/core/contexts/context.cjs +5 -0
  49. package/dist/core/contexts/context.d.cts +3 -0
  50. package/dist/core/contexts/context.d.mts +3 -0
  51. package/dist/core/contexts/context.mjs +3 -0
  52. package/dist/core/contexts/index.cjs +15 -0
  53. package/dist/core/contexts/index.d.cts +6 -0
  54. package/dist/core/contexts/index.d.mts +6 -0
  55. package/dist/core/contexts/index.mjs +5 -0
  56. package/dist/core/contexts/reflection.cjs +10 -0
  57. package/dist/core/contexts/reflection.d.cts +4 -0
  58. package/dist/core/contexts/reflection.d.mts +4 -0
  59. package/dist/core/contexts/reflection.mjs +3 -0
  60. package/dist/core/index.cjs +23 -0
  61. package/dist/core/index.d.cts +11 -0
  62. package/dist/core/index.d.mts +11 -0
  63. package/dist/core/index.mjs +10 -0
  64. package/dist/core-B57eQAue.mjs +1 -0
  65. package/dist/core-DzEmU6tL.cjs +0 -0
  66. package/dist/create-builtin-Bpswa0ZT.d.cts +15 -0
  67. package/dist/create-builtin-CP9mN5P-.mjs +18 -0
  68. package/dist/create-builtin-_3GNADDt.cjs +24 -0
  69. package/dist/create-builtin-wEbNOWNw.d.mts +15 -0
  70. package/dist/dynamic-import-statement-BhY2a13r.d.cts +32 -0
  71. package/dist/dynamic-import-statement-DoTHSt57.mjs +28 -0
  72. package/dist/dynamic-import-statement-DyVWBclX.d.mts +32 -0
  73. package/dist/dynamic-import-statement-JVLyMPXr.cjs +34 -0
  74. package/dist/entry-file-B159R5XY.d.cts +27 -0
  75. package/dist/entry-file-BA75rAwb.cjs +41 -0
  76. package/dist/entry-file-Bw1mgMP3.mjs +34 -0
  77. package/dist/entry-file-DfFhEkLi.d.mts +27 -0
  78. package/dist/helpers/capnp.cjs +19 -0
  79. package/dist/helpers/capnp.d.cts +3 -0
  80. package/dist/helpers/capnp.d.mts +3 -0
  81. package/dist/helpers/capnp.mjs +4 -0
  82. package/dist/helpers/create-builtin.cjs +3 -0
  83. package/dist/helpers/create-builtin.d.cts +2 -0
  84. package/dist/helpers/create-builtin.d.mts +2 -0
  85. package/dist/helpers/create-builtin.mjs +3 -0
  86. package/dist/helpers/index.cjs +26 -0
  87. package/dist/helpers/index.d.cts +7 -0
  88. package/dist/helpers/index.d.mts +7 -0
  89. package/dist/helpers/index.mjs +8 -0
  90. package/dist/helpers/refkey.cjs +3 -0
  91. package/dist/helpers/refkey.d.cts +2 -0
  92. package/dist/helpers/refkey.d.mts +2 -0
  93. package/dist/helpers/refkey.mjs +3 -0
  94. package/dist/helpers/typescript.cjs +4 -0
  95. package/dist/helpers/typescript.d.cts +2 -0
  96. package/dist/helpers/typescript.d.mts +2 -0
  97. package/dist/helpers/typescript.mjs +4 -0
  98. package/dist/helpers-BrA1Dy07.mjs +1 -0
  99. package/dist/helpers-Cten3PJk.cjs +0 -0
  100. package/dist/index-BINnViIh.d.mts +1 -0
  101. package/dist/index-BJ8-FA6N.d.cts +1 -0
  102. package/dist/index-BRJ_6A42.d.mts +1 -0
  103. package/dist/index-BXpMZvwA.d.cts +1 -0
  104. package/dist/index-Bi0Yc4v2.d.cts +1 -0
  105. package/dist/index-BrGZHEgX.d.mts +1 -0
  106. package/dist/index-BwFl_eS0.d.mts +1 -0
  107. package/dist/index-C1ihAKnV.d.cts +1 -0
  108. package/dist/index-CLTQPxoD.d.mts +1 -0
  109. package/dist/index-CoUVmp_Q.d.mts +1 -0
  110. package/dist/index-D1aKd2tO.d.cts +1 -0
  111. package/dist/index-D4d_pZLu.d.cts +1 -0
  112. package/dist/index-DBGd4WeR.d.mts +1 -0
  113. package/dist/index-DdxxIAKU.d.cts +1 -0
  114. package/dist/index-Deol7ZWO.d.mts +1 -0
  115. package/dist/index-DpEKQcoR.d.cts +1 -0
  116. package/dist/index-DrZ2Dh-H.d.cts +1 -0
  117. package/dist/index-MEuojd-r.d.cts +1 -0
  118. package/dist/index-bHnO4ZKt.d.mts +1 -0
  119. package/dist/index-lIMqGGJz.d.mts +1 -0
  120. package/dist/index.cjs +446 -0
  121. package/dist/index.d.cts +45 -0
  122. package/dist/index.d.mts +45 -0
  123. package/dist/index.mjs +361 -0
  124. package/dist/markdown/components/index.cjs +13 -0
  125. package/dist/markdown/components/index.d.cts +8 -0
  126. package/dist/markdown/components/index.d.mts +8 -0
  127. package/dist/markdown/components/index.mjs +9 -0
  128. package/dist/markdown/components/markdown-file.cjs +7 -0
  129. package/dist/markdown/components/markdown-file.d.cts +5 -0
  130. package/dist/markdown/components/markdown-file.d.mts +5 -0
  131. package/dist/markdown/components/markdown-file.mjs +6 -0
  132. package/dist/markdown/components/markdown-table.cjs +6 -0
  133. package/dist/markdown/components/markdown-table.d.cts +5 -0
  134. package/dist/markdown/components/markdown-table.d.mts +5 -0
  135. package/dist/markdown/components/markdown-table.mjs +4 -0
  136. package/dist/markdown/contexts/index.cjs +7 -0
  137. package/dist/markdown/contexts/index.d.cts +3 -0
  138. package/dist/markdown/contexts/index.d.mts +3 -0
  139. package/dist/markdown/contexts/index.mjs +4 -0
  140. package/dist/markdown/contexts/markdown-table.cjs +6 -0
  141. package/dist/markdown/contexts/markdown-table.d.cts +2 -0
  142. package/dist/markdown/contexts/markdown-table.d.mts +2 -0
  143. package/dist/markdown/contexts/markdown-table.mjs +3 -0
  144. package/dist/markdown/index.cjs +19 -0
  145. package/dist/markdown/index.d.cts +10 -0
  146. package/dist/markdown/index.d.mts +10 -0
  147. package/dist/markdown/index.mjs +11 -0
  148. package/dist/markdown-BTQE0AI9.cjs +0 -0
  149. package/dist/markdown-DMddlO1y.mjs +1 -0
  150. package/dist/markdown-file-BFbbzD59.mjs +90 -0
  151. package/dist/markdown-file-Bsuu9aIk.d.cts +23 -0
  152. package/dist/markdown-file-CB6u4Cp1.d.mts +23 -0
  153. package/dist/markdown-file-CzGNj_Ex.cjs +102 -0
  154. package/dist/markdown-table-2qP_4eLk.mjs +33 -0
  155. package/dist/markdown-table-BOWM26Kb.cjs +57 -0
  156. package/dist/markdown-table-BUxH6aRh.mjs +77 -0
  157. package/dist/markdown-table-CMaQVkwJ.d.mts +27 -0
  158. package/dist/markdown-table-CZMEY6IR.d.cts +37 -0
  159. package/dist/markdown-table-DFaNSBRn.cjs +95 -0
  160. package/dist/markdown-table-SvbpUdq-.d.cts +27 -0
  161. package/dist/markdown-table-kFQoqKQt.d.mts +37 -0
  162. package/dist/output-ChpN7bQM.d.cts +18 -0
  163. package/dist/output-CnofBsl0.cjs +38 -0
  164. package/dist/output-D9RlZeCO.d.mts +18 -0
  165. package/dist/output-DEdXZ94G.mjs +32 -0
  166. package/dist/plugin-C0DspKAF.d.mts +34 -0
  167. package/dist/plugin-DU0K2-Om.mjs +1 -0
  168. package/dist/plugin-DYBdUgTF.d.cts +34 -0
  169. package/dist/plugin-Fx-uJ4It.cjs +0 -0
  170. package/dist/record-expression-BOCZ9iqR.d.mts +12 -0
  171. package/dist/record-expression-DM_zSqE_.d.cts +12 -0
  172. package/dist/record-expression-DNVzCKgo.cjs +17 -0
  173. package/dist/record-expression-DxS_DiPc.mjs +11 -0
  174. package/dist/refkey-B0XSqdGY.d.mts +13 -0
  175. package/dist/refkey-B6A9kh_u.cjs +21 -0
  176. package/dist/refkey-CP7MJMac.d.cts +13 -0
  177. package/dist/refkey-CV0mIj0Y.mjs +15 -0
  178. package/dist/reflection-BSbFFYZO.cjs +108 -0
  179. package/dist/reflection-Bka9prwJ.d.mts +52 -0
  180. package/dist/reflection-CBMQ1FQo.mjs +60 -0
  181. package/dist/reflection-CkVyW69y.d.cts +52 -0
  182. package/dist/single-line-comment-BMPq6OR0.cjs +25 -0
  183. package/dist/single-line-comment-BjL_Z4Qn.d.cts +22 -0
  184. package/dist/single-line-comment-C5CtHQhi.mjs +19 -0
  185. package/dist/single-line-comment-DZAmp_BZ.d.mts +22 -0
  186. package/dist/source-file-4J1OvLed.d.cts +31 -0
  187. package/dist/source-file-BBbuhOKz.d.mts +31 -0
  188. package/dist/source-file-CCYwl5pI.mjs +52 -0
  189. package/dist/source-file-DTd1KgD5.cjs +59 -0
  190. package/dist/tsdoc-BFPYF-Fh.cjs +487 -0
  191. package/dist/tsdoc-BmyOQBxT.mjs +367 -0
  192. package/dist/tsdoc-C39LB5Mn.d.cts +152 -0
  193. package/dist/tsdoc-OE37Ht2l.d.mts +152 -0
  194. package/dist/tsdoc-reflection-3ZoV_Mjz.d.cts +18 -0
  195. package/dist/tsdoc-reflection-3hSdGY1e.mjs +97 -0
  196. package/dist/tsdoc-reflection-BQN8iUG1.cjs +115 -0
  197. package/dist/tsdoc-reflection-BtEk3cDW.d.mts +18 -0
  198. package/dist/types/components.cjs +1 -0
  199. package/dist/types/components.d.cts +3 -0
  200. package/dist/types/components.d.mts +3 -0
  201. package/dist/types/components.mjs +3 -0
  202. package/dist/types/index.cjs +3 -0
  203. package/dist/types/index.d.cts +5 -0
  204. package/dist/types/index.d.mts +5 -0
  205. package/dist/types/index.mjs +5 -0
  206. package/dist/types/plugin.cjs +1 -0
  207. package/dist/types/plugin.d.cts +3 -0
  208. package/dist/types/plugin.d.mts +3 -0
  209. package/dist/types/plugin.mjs +3 -0
  210. package/dist/types-BBEDEYnP.cjs +0 -0
  211. package/dist/types-BWlfXHs2.mjs +1 -0
  212. package/dist/typescript/components/builtin-file.cjs +9 -0
  213. package/dist/typescript/components/builtin-file.d.cts +7 -0
  214. package/dist/typescript/components/builtin-file.d.mts +7 -0
  215. package/dist/typescript/components/builtin-file.mjs +9 -0
  216. package/dist/typescript/components/dynamic-import-statement.cjs +3 -0
  217. package/dist/typescript/components/dynamic-import-statement.d.cts +2 -0
  218. package/dist/typescript/components/dynamic-import-statement.d.mts +2 -0
  219. package/dist/typescript/components/dynamic-import-statement.mjs +3 -0
  220. package/dist/typescript/components/entry-file.cjs +7 -0
  221. package/dist/typescript/components/entry-file.d.cts +6 -0
  222. package/dist/typescript/components/entry-file.d.mts +6 -0
  223. package/dist/typescript/components/entry-file.mjs +7 -0
  224. package/dist/typescript/components/index.cjs +50 -0
  225. package/dist/typescript/components/index.d.cts +14 -0
  226. package/dist/typescript/components/index.d.mts +14 -0
  227. package/dist/typescript/components/index.mjs +17 -0
  228. package/dist/typescript/components/record-expression.cjs +3 -0
  229. package/dist/typescript/components/record-expression.d.cts +2 -0
  230. package/dist/typescript/components/record-expression.d.mts +2 -0
  231. package/dist/typescript/components/record-expression.mjs +3 -0
  232. package/dist/typescript/components/tsdoc-reflection.cjs +9 -0
  233. package/dist/typescript/components/tsdoc-reflection.d.cts +5 -0
  234. package/dist/typescript/components/tsdoc-reflection.d.mts +5 -0
  235. package/dist/typescript/components/tsdoc-reflection.mjs +7 -0
  236. package/dist/typescript/components/tsdoc.cjs +24 -0
  237. package/dist/typescript/components/tsdoc.d.cts +4 -0
  238. package/dist/typescript/components/tsdoc.d.mts +4 -0
  239. package/dist/typescript/components/tsdoc.mjs +5 -0
  240. package/dist/typescript/components/typescript-file.cjs +8 -0
  241. package/dist/typescript/components/typescript-file.d.cts +5 -0
  242. package/dist/typescript/components/typescript-file.d.mts +5 -0
  243. package/dist/typescript/components/typescript-file.mjs +6 -0
  244. package/dist/typescript/components/typescript-interface.cjs +9 -0
  245. package/dist/typescript/components/typescript-interface.d.cts +4 -0
  246. package/dist/typescript/components/typescript-interface.d.mts +4 -0
  247. package/dist/typescript/components/typescript-interface.mjs +8 -0
  248. package/dist/typescript/components/typescript-object.cjs +9 -0
  249. package/dist/typescript/components/typescript-object.d.cts +4 -0
  250. package/dist/typescript/components/typescript-object.d.mts +4 -0
  251. package/dist/typescript/components/typescript-object.mjs +8 -0
  252. package/dist/typescript/index.cjs +51 -0
  253. package/dist/typescript/index.d.cts +15 -0
  254. package/dist/typescript/index.d.mts +15 -0
  255. package/dist/typescript/index.mjs +18 -0
  256. package/dist/typescript-45caIUPa.mjs +1 -0
  257. package/dist/typescript-BrZsJqvc.mjs +45 -0
  258. package/dist/typescript-CXP7Oa6_.d.cts +25 -0
  259. package/dist/typescript-DG1-qdBQ.d.mts +25 -0
  260. package/dist/typescript-DV5akLQO.cjs +0 -0
  261. package/dist/typescript-DcqKlMoH.cjs +51 -0
  262. package/dist/typescript-file-6Y81yLyB.cjs +157 -0
  263. package/dist/typescript-file-BR9I7R1v.d.cts +47 -0
  264. package/dist/typescript-file-BWq9GIUt.d.mts +47 -0
  265. package/dist/typescript-file-y6oF016h.mjs +139 -0
  266. package/dist/typescript-interface-AydoCmGY.mjs +52 -0
  267. package/dist/typescript-interface-CKjljRFu.d.mts +25 -0
  268. package/dist/typescript-interface-Codd49Sl.cjs +64 -0
  269. package/dist/typescript-interface-fGS4VBnW.d.cts +25 -0
  270. package/dist/typescript-object-C-BmpHfk.mjs +93 -0
  271. package/dist/typescript-object-CxC5Qo5P.d.cts +26 -0
  272. package/dist/typescript-object-DOrJkpcM.cjs +105 -0
  273. package/dist/typescript-object-I6Huh12F.d.mts +26 -0
  274. package/dist/utilities-CnaPrauh.mjs +109 -0
  275. package/dist/utilities-llRqOC4l.cjs +133 -0
  276. package/package.json +411 -0
File without changes
@@ -0,0 +1 @@
1
+ export { };
@@ -0,0 +1 @@
1
+ export { };
File without changes
@@ -0,0 +1,9 @@
1
+ require('../../context-BIduC1bB.cjs');
2
+ const require_single_line_comment = require('../../single-line-comment-BMPq6OR0.cjs');
3
+ const require_source_file = require('../../source-file-DTd1KgD5.cjs');
4
+ const require_output = require('../../output-CnofBsl0.cjs');
5
+ require('../../components-Cj5gaIV0.cjs');
6
+
7
+ exports.Output = require_output.Output;
8
+ exports.SingleLineComment = require_single_line_comment.SingleLineComment;
9
+ exports.SourceFile = require_source_file.SourceFile;
@@ -0,0 +1,7 @@
1
+ import "../../context-BO25KgR_.cjs";
2
+ import { n as OutputProps, r as __ΩOutputProps, t as Output } from "../../output-ChpN7bQM.cjs";
3
+ import "../../components-B0A7LpQD.cjs";
4
+ import { a as __ΩSingleLineCommentVariant, i as __ΩSingleLineCommentProps, n as SingleLineCommentProps, r as SingleLineCommentVariant, t as SingleLineComment } from "../../single-line-comment-BjL_Z4Qn.cjs";
5
+ import { n as SourceFileProps, r as __ΩSourceFileProps, t as SourceFile } from "../../source-file-4J1OvLed.cjs";
6
+ import "../../index-DdxxIAKU.cjs";
7
+ export { Output, OutputProps, SingleLineComment, SingleLineCommentProps, SingleLineCommentVariant, SourceFile, SourceFileProps, __ΩOutputProps, __ΩSingleLineCommentProps, __ΩSingleLineCommentVariant, __ΩSourceFileProps };
@@ -0,0 +1,7 @@
1
+ import "../../context-GtZoIVx8.mjs";
2
+ import { n as OutputProps, r as __ΩOutputProps, t as Output } from "../../output-D9RlZeCO.mjs";
3
+ import "../../components-B2kXCrty.mjs";
4
+ import { a as __ΩSingleLineCommentVariant, i as __ΩSingleLineCommentProps, n as SingleLineCommentProps, r as SingleLineCommentVariant, t as SingleLineComment } from "../../single-line-comment-DZAmp_BZ.mjs";
5
+ import { n as SourceFileProps, r as __ΩSourceFileProps, t as SourceFile } from "../../source-file-BBbuhOKz.mjs";
6
+ import "../../index-DBGd4WeR.mjs";
7
+ export { Output, OutputProps, SingleLineComment, SingleLineCommentProps, SingleLineCommentVariant, SourceFile, SourceFileProps, __ΩOutputProps, __ΩSingleLineCommentProps, __ΩSingleLineCommentVariant, __ΩSourceFileProps };
@@ -0,0 +1,7 @@
1
+ import "../../context-Cx38_mgI.mjs";
2
+ import { t as SingleLineComment } from "../../single-line-comment-C5CtHQhi.mjs";
3
+ import { t as SourceFile } from "../../source-file-CCYwl5pI.mjs";
4
+ import { t as Output } from "../../output-DEdXZ94G.mjs";
5
+ import "../../components-HMVhsFQl.mjs";
6
+
7
+ export { Output, SingleLineComment, SourceFile };
@@ -0,0 +1,4 @@
1
+ require('../../context-BIduC1bB.cjs');
2
+ const require_output = require('../../output-CnofBsl0.cjs');
3
+
4
+ exports.Output = require_output.Output;
@@ -0,0 +1,3 @@
1
+ import "../../context-BO25KgR_.cjs";
2
+ import { n as OutputProps, r as __ΩOutputProps, t as Output } from "../../output-ChpN7bQM.cjs";
3
+ export { Output, OutputProps, __ΩOutputProps };
@@ -0,0 +1,3 @@
1
+ import "../../context-GtZoIVx8.mjs";
2
+ import { n as OutputProps, r as __ΩOutputProps, t as Output } from "../../output-D9RlZeCO.mjs";
3
+ export { Output, OutputProps, __ΩOutputProps };
@@ -0,0 +1,4 @@
1
+ import "../../context-Cx38_mgI.mjs";
2
+ import { t as Output } from "../../output-DEdXZ94G.mjs";
3
+
4
+ export { Output };
@@ -0,0 +1,3 @@
1
+ const require_single_line_comment = require('../../single-line-comment-BMPq6OR0.cjs');
2
+
3
+ exports.SingleLineComment = require_single_line_comment.SingleLineComment;
@@ -0,0 +1,4 @@
1
+ import "../../context-BO25KgR_.cjs";
2
+ import "../../components-B0A7LpQD.cjs";
3
+ import { a as __ΩSingleLineCommentVariant, i as __ΩSingleLineCommentProps, n as SingleLineCommentProps, r as SingleLineCommentVariant, t as SingleLineComment } from "../../single-line-comment-BjL_Z4Qn.cjs";
4
+ export { SingleLineComment, SingleLineCommentProps, SingleLineCommentVariant, __ΩSingleLineCommentProps, __ΩSingleLineCommentVariant };
@@ -0,0 +1,4 @@
1
+ import "../../context-GtZoIVx8.mjs";
2
+ import "../../components-B2kXCrty.mjs";
3
+ import { a as __ΩSingleLineCommentVariant, i as __ΩSingleLineCommentProps, n as SingleLineCommentProps, r as SingleLineCommentVariant, t as SingleLineComment } from "../../single-line-comment-DZAmp_BZ.mjs";
4
+ export { SingleLineComment, SingleLineCommentProps, SingleLineCommentVariant, __ΩSingleLineCommentProps, __ΩSingleLineCommentVariant };
@@ -0,0 +1,3 @@
1
+ import { t as SingleLineComment } from "../../single-line-comment-C5CtHQhi.mjs";
2
+
3
+ export { SingleLineComment };
@@ -0,0 +1,3 @@
1
+ const require_source_file = require('../../source-file-DTd1KgD5.cjs');
2
+
3
+ exports.SourceFile = require_source_file.SourceFile;
@@ -0,0 +1,4 @@
1
+ import "../../context-BO25KgR_.cjs";
2
+ import "../../components-B0A7LpQD.cjs";
3
+ import { n as SourceFileProps, r as __ΩSourceFileProps, t as SourceFile } from "../../source-file-4J1OvLed.cjs";
4
+ export { SourceFile, SourceFileProps, __ΩSourceFileProps };
@@ -0,0 +1,4 @@
1
+ import "../../context-GtZoIVx8.mjs";
2
+ import "../../components-B2kXCrty.mjs";
3
+ import { n as SourceFileProps, r as __ΩSourceFileProps, t as SourceFile } from "../../source-file-BBbuhOKz.mjs";
4
+ export { SourceFile, SourceFileProps, __ΩSourceFileProps };
@@ -0,0 +1,3 @@
1
+ import { t as SourceFile } from "../../source-file-CCYwl5pI.mjs";
2
+
3
+ export { SourceFile };
@@ -0,0 +1,5 @@
1
+ const require_context = require('../../context-BIduC1bB.cjs');
2
+
3
+ exports.PowerlinesContext = require_context.PowerlinesContext;
4
+ exports.usePowerlines = require_context.usePowerlines;
5
+ exports.usePowerlinesContext = require_context.usePowerlinesContext;
@@ -0,0 +1,3 @@
1
+ import "../../context-BO25KgR_.cjs";
2
+ import { a as usePowerlinesContext, i as usePowerlines, n as PowerlinesContextInterface, r as __ΩPowerlinesContextInterface, t as PowerlinesContext } from "../../context-CBG6Pv09.cjs";
3
+ export { PowerlinesContext, PowerlinesContextInterface, __ΩPowerlinesContextInterface, usePowerlines, usePowerlinesContext };
@@ -0,0 +1,3 @@
1
+ import "../../context-GtZoIVx8.mjs";
2
+ import { a as usePowerlinesContext, i as usePowerlines, n as PowerlinesContextInterface, r as __ΩPowerlinesContextInterface, t as PowerlinesContext } from "../../context-DzaJOnXh.mjs";
3
+ export { PowerlinesContext, PowerlinesContextInterface, __ΩPowerlinesContextInterface, usePowerlines, usePowerlinesContext };
@@ -0,0 +1,3 @@
1
+ import { n as usePowerlines, r as usePowerlinesContext, t as PowerlinesContext } from "../../context-Cx38_mgI.mjs";
2
+
3
+ export { PowerlinesContext, usePowerlines, usePowerlinesContext };
@@ -0,0 +1,15 @@
1
+ const require_context = require('../../context-BIduC1bB.cjs');
2
+ const require_reflection = require('../../reflection-BSbFFYZO.cjs');
3
+ require('../../contexts-uXFW3CIa.cjs');
4
+
5
+ exports.PowerlinesContext = require_context.PowerlinesContext;
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.usePowerlines = require_context.usePowerlines;
11
+ exports.usePowerlinesContext = require_context.usePowerlinesContext;
12
+ exports.useReflectionClass = require_reflection.useReflectionClass;
13
+ exports.useReflectionMethod = require_reflection.useReflectionMethod;
14
+ exports.useReflectionParameter = require_reflection.useReflectionParameter;
15
+ exports.useReflectionProperty = require_reflection.useReflectionProperty;
@@ -0,0 +1,6 @@
1
+ import "../../context-BO25KgR_.cjs";
2
+ import "../../components-B0A7LpQD.cjs";
3
+ import { a as usePowerlinesContext, i as usePowerlines, n as PowerlinesContextInterface, r as __ΩPowerlinesContextInterface, t as PowerlinesContext } from "../../context-CBG6Pv09.cjs";
4
+ 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-CkVyW69y.cjs";
5
+ import "../../index-DrZ2Dh-H.cjs";
6
+ export { PowerlinesContext, PowerlinesContextInterface, ReflectionClassContext, ReflectionClassContextInterface, ReflectionMethodContext, ReflectionParameterContext, ReflectionPropertyContext, __ΩPowerlinesContextInterface, __ΩReflectionClassContextInterface, usePowerlines, usePowerlinesContext, useReflectionClass, useReflectionMethod, useReflectionParameter, useReflectionProperty };
@@ -0,0 +1,6 @@
1
+ import "../../context-GtZoIVx8.mjs";
2
+ import "../../components-B2kXCrty.mjs";
3
+ import { a as usePowerlinesContext, i as usePowerlines, n as PowerlinesContextInterface, r as __ΩPowerlinesContextInterface, t as PowerlinesContext } from "../../context-DzaJOnXh.mjs";
4
+ 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-Bka9prwJ.mjs";
5
+ import "../../index-BINnViIh.mjs";
6
+ export { PowerlinesContext, PowerlinesContextInterface, ReflectionClassContext, ReflectionClassContextInterface, ReflectionMethodContext, ReflectionParameterContext, ReflectionPropertyContext, __ΩPowerlinesContextInterface, __ΩReflectionClassContextInterface, usePowerlines, usePowerlinesContext, useReflectionClass, useReflectionMethod, useReflectionParameter, useReflectionProperty };
@@ -0,0 +1,5 @@
1
+ import { n as usePowerlines, r as usePowerlinesContext, t as PowerlinesContext } from "../../context-Cx38_mgI.mjs";
2
+ 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-CBMQ1FQo.mjs";
3
+ import "../../contexts-XuEdvZdE.mjs";
4
+
5
+ export { PowerlinesContext, ReflectionClassContext, ReflectionMethodContext, ReflectionParameterContext, ReflectionPropertyContext, usePowerlines, usePowerlinesContext, useReflectionClass, useReflectionMethod, useReflectionParameter, useReflectionProperty };
@@ -0,0 +1,10 @@
1
+ const require_reflection = require('../../reflection-BSbFFYZO.cjs');
2
+
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;
@@ -0,0 +1,4 @@
1
+ import "../../context-BO25KgR_.cjs";
2
+ import "../../components-B0A7LpQD.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-CkVyW69y.cjs";
4
+ export { ReflectionClassContext, ReflectionClassContextInterface, ReflectionMethodContext, ReflectionParameterContext, ReflectionPropertyContext, __ΩReflectionClassContextInterface, useReflectionClass, useReflectionMethod, useReflectionParameter, useReflectionProperty };
@@ -0,0 +1,4 @@
1
+ import "../../context-GtZoIVx8.mjs";
2
+ import "../../components-B2kXCrty.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-Bka9prwJ.mjs";
4
+ export { ReflectionClassContext, ReflectionClassContextInterface, ReflectionMethodContext, ReflectionParameterContext, ReflectionPropertyContext, __ΩReflectionClassContextInterface, useReflectionClass, useReflectionMethod, useReflectionParameter, useReflectionProperty };
@@ -0,0 +1,3 @@
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-CBMQ1FQo.mjs";
2
+
3
+ export { ReflectionClassContext, ReflectionMethodContext, ReflectionParameterContext, ReflectionPropertyContext, useReflectionClass, useReflectionMethod, useReflectionParameter, useReflectionProperty };
@@ -0,0 +1,23 @@
1
+ const require_context = require('../context-BIduC1bB.cjs');
2
+ const require_single_line_comment = require('../single-line-comment-BMPq6OR0.cjs');
3
+ const require_source_file = require('../source-file-DTd1KgD5.cjs');
4
+ const require_reflection = require('../reflection-BSbFFYZO.cjs');
5
+ const require_output = require('../output-CnofBsl0.cjs');
6
+ require('../components-Cj5gaIV0.cjs');
7
+ require('../contexts-uXFW3CIa.cjs');
8
+ require('../core-DzEmU6tL.cjs');
9
+
10
+ exports.Output = require_output.Output;
11
+ exports.PowerlinesContext = require_context.PowerlinesContext;
12
+ exports.ReflectionClassContext = require_reflection.ReflectionClassContext;
13
+ exports.ReflectionMethodContext = require_reflection.ReflectionMethodContext;
14
+ exports.ReflectionParameterContext = require_reflection.ReflectionParameterContext;
15
+ exports.ReflectionPropertyContext = require_reflection.ReflectionPropertyContext;
16
+ exports.SingleLineComment = require_single_line_comment.SingleLineComment;
17
+ exports.SourceFile = require_source_file.SourceFile;
18
+ exports.usePowerlines = require_context.usePowerlines;
19
+ exports.usePowerlinesContext = require_context.usePowerlinesContext;
20
+ exports.useReflectionClass = require_reflection.useReflectionClass;
21
+ exports.useReflectionMethod = require_reflection.useReflectionMethod;
22
+ exports.useReflectionParameter = require_reflection.useReflectionParameter;
23
+ exports.useReflectionProperty = require_reflection.useReflectionProperty;
@@ -0,0 +1,11 @@
1
+ import "../context-BO25KgR_.cjs";
2
+ import { n as OutputProps, r as __ΩOutputProps, t as Output } from "../output-ChpN7bQM.cjs";
3
+ import "../components-B0A7LpQD.cjs";
4
+ import { a as __ΩSingleLineCommentVariant, i as __ΩSingleLineCommentProps, n as SingleLineCommentProps, r as SingleLineCommentVariant, t as SingleLineComment } from "../single-line-comment-BjL_Z4Qn.cjs";
5
+ import { n as SourceFileProps, r as __ΩSourceFileProps, t as SourceFile } from "../source-file-4J1OvLed.cjs";
6
+ import "../index-DdxxIAKU.cjs";
7
+ import { a as usePowerlinesContext, i as usePowerlines, n as PowerlinesContextInterface, r as __ΩPowerlinesContextInterface, t as PowerlinesContext } from "../context-CBG6Pv09.cjs";
8
+ 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-CkVyW69y.cjs";
9
+ import "../index-DrZ2Dh-H.cjs";
10
+ import "../index-BJ8-FA6N.cjs";
11
+ export { Output, OutputProps, PowerlinesContext, PowerlinesContextInterface, ReflectionClassContext, ReflectionClassContextInterface, ReflectionMethodContext, ReflectionParameterContext, ReflectionPropertyContext, SingleLineComment, SingleLineCommentProps, SingleLineCommentVariant, SourceFile, SourceFileProps, __ΩOutputProps, __ΩPowerlinesContextInterface, __ΩReflectionClassContextInterface, __ΩSingleLineCommentProps, __ΩSingleLineCommentVariant, __ΩSourceFileProps, usePowerlines, usePowerlinesContext, useReflectionClass, useReflectionMethod, useReflectionParameter, useReflectionProperty };
@@ -0,0 +1,11 @@
1
+ import "../context-GtZoIVx8.mjs";
2
+ import { n as OutputProps, r as __ΩOutputProps, t as Output } from "../output-D9RlZeCO.mjs";
3
+ import "../components-B2kXCrty.mjs";
4
+ import { a as __ΩSingleLineCommentVariant, i as __ΩSingleLineCommentProps, n as SingleLineCommentProps, r as SingleLineCommentVariant, t as SingleLineComment } from "../single-line-comment-DZAmp_BZ.mjs";
5
+ import { n as SourceFileProps, r as __ΩSourceFileProps, t as SourceFile } from "../source-file-BBbuhOKz.mjs";
6
+ import "../index-DBGd4WeR.mjs";
7
+ import { a as usePowerlinesContext, i as usePowerlines, n as PowerlinesContextInterface, r as __ΩPowerlinesContextInterface, t as PowerlinesContext } from "../context-DzaJOnXh.mjs";
8
+ 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-Bka9prwJ.mjs";
9
+ import "../index-BINnViIh.mjs";
10
+ import "../index-lIMqGGJz.mjs";
11
+ export { Output, OutputProps, PowerlinesContext, PowerlinesContextInterface, ReflectionClassContext, ReflectionClassContextInterface, ReflectionMethodContext, ReflectionParameterContext, ReflectionPropertyContext, SingleLineComment, SingleLineCommentProps, SingleLineCommentVariant, SourceFile, SourceFileProps, __ΩOutputProps, __ΩPowerlinesContextInterface, __ΩReflectionClassContextInterface, __ΩSingleLineCommentProps, __ΩSingleLineCommentVariant, __ΩSourceFileProps, usePowerlines, usePowerlinesContext, useReflectionClass, useReflectionMethod, useReflectionParameter, useReflectionProperty };
@@ -0,0 +1,10 @@
1
+ import { n as usePowerlines, r as usePowerlinesContext, t as PowerlinesContext } from "../context-Cx38_mgI.mjs";
2
+ import { t as SingleLineComment } from "../single-line-comment-C5CtHQhi.mjs";
3
+ import { t as SourceFile } from "../source-file-CCYwl5pI.mjs";
4
+ 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-CBMQ1FQo.mjs";
5
+ import { t as Output } from "../output-DEdXZ94G.mjs";
6
+ import "../components-HMVhsFQl.mjs";
7
+ import "../contexts-XuEdvZdE.mjs";
8
+ import "../core-B57eQAue.mjs";
9
+
10
+ export { Output, PowerlinesContext, ReflectionClassContext, ReflectionMethodContext, ReflectionParameterContext, ReflectionPropertyContext, SingleLineComment, SourceFile, usePowerlines, usePowerlinesContext, useReflectionClass, useReflectionMethod, useReflectionParameter, useReflectionProperty };
@@ -0,0 +1 @@
1
+ export { };
File without changes
@@ -0,0 +1,15 @@
1
+ import { SymbolCreator } from "@alloy-js/core";
2
+ import { CreatePackageProps, PackageDescriptor, PackageRefkeys } from "@alloy-js/typescript";
3
+
4
+ //#region src/helpers/create-builtin.d.ts
5
+ type CreateBuiltinOptions<T extends PackageDescriptor> = Omit<CreatePackageProps<T>, "builtin">;
6
+ /**
7
+ * Creates a built-in representation of a package based on the provided descriptor.
8
+ *
9
+ * @param options - Properties to define the package, excluding the 'builtin' flag which is set to true.
10
+ * @returns An object containing reference keys for the package and a symbol creator function.
11
+ */
12
+ declare function createBuiltin<const T extends PackageDescriptor>(options: CreateBuiltinOptions<T>): PackageRefkeys<T> & SymbolCreator;
13
+ declare type __ΩCreateBuiltinOptions = any[];
14
+ //#endregion
15
+ export { __ΩCreateBuiltinOptions as n, createBuiltin as r, CreateBuiltinOptions as t };
@@ -0,0 +1,18 @@
1
+ import { createPackage } from "@alloy-js/typescript";
2
+
3
+ //#region src/helpers/create-builtin.ts
4
+ /**
5
+ * Creates a built-in representation of a package based on the provided descriptor.
6
+ *
7
+ * @param options - Properties to define the package, excluding the 'builtin' flag which is set to true.
8
+ * @returns An object containing reference keys for the package and a symbol creator function.
9
+ */
10
+ function createBuiltin(options) {
11
+ return createPackage({
12
+ ...options,
13
+ builtin: true
14
+ });
15
+ }
16
+
17
+ //#endregion
18
+ export { createBuiltin as t };
@@ -0,0 +1,24 @@
1
+ const require_chunk = require('./chunk-CbDLau6x.cjs');
2
+ let __alloy_js_typescript = require("@alloy-js/typescript");
3
+
4
+ //#region src/helpers/create-builtin.ts
5
+ /**
6
+ * Creates a built-in representation of a package based on the provided descriptor.
7
+ *
8
+ * @param options - Properties to define the package, excluding the 'builtin' flag which is set to true.
9
+ * @returns An object containing reference keys for the package and a symbol creator function.
10
+ */
11
+ function createBuiltin(options) {
12
+ return (0, __alloy_js_typescript.createPackage)({
13
+ ...options,
14
+ builtin: true
15
+ });
16
+ }
17
+
18
+ //#endregion
19
+ Object.defineProperty(exports, 'createBuiltin', {
20
+ enumerable: true,
21
+ get: function () {
22
+ return createBuiltin;
23
+ }
24
+ });
@@ -0,0 +1,15 @@
1
+ import { SymbolCreator } from "@alloy-js/core";
2
+ import { CreatePackageProps, PackageDescriptor, PackageRefkeys } from "@alloy-js/typescript";
3
+
4
+ //#region src/helpers/create-builtin.d.ts
5
+ type CreateBuiltinOptions<T extends PackageDescriptor> = Omit<CreatePackageProps<T>, "builtin">;
6
+ /**
7
+ * Creates a built-in representation of a package based on the provided descriptor.
8
+ *
9
+ * @param options - Properties to define the package, excluding the 'builtin' flag which is set to true.
10
+ * @returns An object containing reference keys for the package and a symbol creator function.
11
+ */
12
+ declare function createBuiltin<const T extends PackageDescriptor>(options: CreateBuiltinOptions<T>): PackageRefkeys<T> & SymbolCreator;
13
+ declare type __ΩCreateBuiltinOptions = any[];
14
+ //#endregion
15
+ export { __ΩCreateBuiltinOptions as n, createBuiltin as r, CreateBuiltinOptions as t };
@@ -0,0 +1,32 @@
1
+ import * as _alloy_js_core7 from "@alloy-js/core";
2
+ import { VarDeclarationProps } from "@alloy-js/typescript";
3
+
4
+ //#region src/typescript/components/dynamic-import-statement.d.ts
5
+ interface DynamicImportStatementProps extends Omit<VarDeclarationProps, "initializer"> {
6
+ /**
7
+ * The path of the module to import.
8
+ */
9
+ importPath: string;
10
+ /**
11
+ * The name of the export to import from the module.
12
+ *
13
+ * @defaultValue "default"
14
+ */
15
+ exportName?: string;
16
+ }
17
+ /**
18
+ * Generates a dynamic import statement for a given module path and export name.
19
+ *
20
+ * @example
21
+ * ```tsx
22
+ * <DynamicImportStatement importPath="./my-module" exportName="myExport" const={true} name="myVar" />
23
+ * // const myVar = await import("./my-module").then(m => m.myExport);
24
+ * ```
25
+ *
26
+ * @param props - The properties for the dynamic import statement.
27
+ * @returns A `VarDeclaration` component representing the dynamic import statement.
28
+ */
29
+ declare function DynamicImportStatement(props: DynamicImportStatementProps): _alloy_js_core7.Children;
30
+ declare type __ΩDynamicImportStatementProps = any[];
31
+ //#endregion
32
+ export { DynamicImportStatementProps as n, __ΩDynamicImportStatementProps as r, DynamicImportStatement as t };
@@ -0,0 +1,28 @@
1
+ import { code } from "@alloy-js/core";
2
+ import { jsx } from "@alloy-js/core/jsx-runtime";
3
+ import { VarDeclaration } from "@alloy-js/typescript";
4
+
5
+ //#region src/typescript/components/dynamic-import-statement.tsx
6
+ /**
7
+ * Generates a dynamic import statement for a given module path and export name.
8
+ *
9
+ * @example
10
+ * ```tsx
11
+ * <DynamicImportStatement importPath="./my-module" exportName="myExport" const={true} name="myVar" />
12
+ * // const myVar = await import("./my-module").then(m => m.myExport);
13
+ * ```
14
+ *
15
+ * @param props - The properties for the dynamic import statement.
16
+ * @returns A `VarDeclaration` component representing the dynamic import statement.
17
+ */
18
+ function DynamicImportStatement(props) {
19
+ const { importPath, exportName = "default", const: isConst = true, ...rest } = props;
20
+ return /* @__PURE__ */ jsx(VarDeclaration, {
21
+ const: isConst,
22
+ ...rest,
23
+ initializer: code`await import("${importPath}").then(m => m.${exportName});`
24
+ });
25
+ }
26
+
27
+ //#endregion
28
+ export { DynamicImportStatement as t };
@@ -0,0 +1,32 @@
1
+ import * as _alloy_js_core8 from "@alloy-js/core";
2
+ import { VarDeclarationProps } from "@alloy-js/typescript";
3
+
4
+ //#region src/typescript/components/dynamic-import-statement.d.ts
5
+ interface DynamicImportStatementProps extends Omit<VarDeclarationProps, "initializer"> {
6
+ /**
7
+ * The path of the module to import.
8
+ */
9
+ importPath: string;
10
+ /**
11
+ * The name of the export to import from the module.
12
+ *
13
+ * @defaultValue "default"
14
+ */
15
+ exportName?: string;
16
+ }
17
+ /**
18
+ * Generates a dynamic import statement for a given module path and export name.
19
+ *
20
+ * @example
21
+ * ```tsx
22
+ * <DynamicImportStatement importPath="./my-module" exportName="myExport" const={true} name="myVar" />
23
+ * // const myVar = await import("./my-module").then(m => m.myExport);
24
+ * ```
25
+ *
26
+ * @param props - The properties for the dynamic import statement.
27
+ * @returns A `VarDeclaration` component representing the dynamic import statement.
28
+ */
29
+ declare function DynamicImportStatement(props: DynamicImportStatementProps): _alloy_js_core8.Children;
30
+ declare type __ΩDynamicImportStatementProps = any[];
31
+ //#endregion
32
+ export { DynamicImportStatementProps as n, __ΩDynamicImportStatementProps as r, DynamicImportStatement as t };
@@ -0,0 +1,34 @@
1
+ const require_chunk = require('./chunk-CbDLau6x.cjs');
2
+ let __alloy_js_core = require("@alloy-js/core");
3
+ let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
4
+ let __alloy_js_typescript = require("@alloy-js/typescript");
5
+
6
+ //#region src/typescript/components/dynamic-import-statement.tsx
7
+ /**
8
+ * Generates a dynamic import statement for a given module path and export name.
9
+ *
10
+ * @example
11
+ * ```tsx
12
+ * <DynamicImportStatement importPath="./my-module" exportName="myExport" const={true} name="myVar" />
13
+ * // const myVar = await import("./my-module").then(m => m.myExport);
14
+ * ```
15
+ *
16
+ * @param props - The properties for the dynamic import statement.
17
+ * @returns A `VarDeclaration` component representing the dynamic import statement.
18
+ */
19
+ function DynamicImportStatement(props) {
20
+ const { importPath, exportName = "default", const: isConst = true, ...rest } = props;
21
+ return /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsx)(__alloy_js_typescript.VarDeclaration, {
22
+ const: isConst,
23
+ ...rest,
24
+ initializer: __alloy_js_core.code`await import("${importPath}").then(m => m.${exportName});`
25
+ });
26
+ }
27
+
28
+ //#endregion
29
+ Object.defineProperty(exports, 'DynamicImportStatement', {
30
+ enumerable: true,
31
+ get: function () {
32
+ return DynamicImportStatement;
33
+ }
34
+ });
@@ -0,0 +1,27 @@
1
+ import { o as ResolvedEntryTypeDefinition } from "./context-BO25KgR_.cjs";
2
+ import { o as TypescriptFileProps } from "./typescript-file-BR9I7R1v.cjs";
3
+ import * as _alloy_js_core6 from "@alloy-js/core";
4
+
5
+ //#region src/typescript/components/entry-file.d.ts
6
+ type EntryFileProps = TypescriptFileProps & {
7
+ /**
8
+ * Whether the file is a TSX file.
9
+ *
10
+ * @defaultValue false
11
+ */
12
+ tsx?: boolean;
13
+ /**
14
+ * Render metadata information about the entrypoint
15
+ */
16
+ typeDefinition?: ResolvedEntryTypeDefinition;
17
+ };
18
+ /**
19
+ * A base component representing a Powerlines generated Typescript source file.
20
+ *
21
+ * @param props - The properties for the source file.
22
+ * @returns The rendered source file component.
23
+ */
24
+ declare function EntryFile(props: EntryFileProps): _alloy_js_core6.Children;
25
+ declare type __ΩEntryFileProps = any[];
26
+ //#endregion
27
+ export { EntryFileProps as n, __ΩEntryFileProps as r, EntryFile as t };
@@ -0,0 +1,41 @@
1
+ const require_chunk = require('./chunk-CbDLau6x.cjs');
2
+ const require_context = require('./context-BIduC1bB.cjs');
3
+ const require_typescript_file = require('./typescript-file-6Y81yLyB.cjs');
4
+ let __alloy_js_core = require("@alloy-js/core");
5
+ let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
6
+ let defu = require("defu");
7
+ defu = require_chunk.__toESM(defu);
8
+ let __stryke_path_join_paths = require("@stryke/path/join-paths");
9
+
10
+ //#region src/typescript/components/entry-file.tsx
11
+ /**
12
+ * A base component representing a Powerlines generated Typescript source file.
13
+ *
14
+ * @param props - The properties for the source file.
15
+ * @returns The rendered source file component.
16
+ */
17
+ function EntryFile(props) {
18
+ const [{ children, meta, tsx, path, typeDefinition }, rest] = (0, __alloy_js_core.splitProps)(props, [
19
+ "children",
20
+ "meta",
21
+ "tsx",
22
+ "path",
23
+ "typeDefinition"
24
+ ]);
25
+ const context = require_context.usePowerlines();
26
+ const fullPath = (0, __alloy_js_core.computed)(() => (0, __stryke_path_join_paths.joinPaths)(context?.entryPath || "./", `${path}${tsx ? ".tsx" : ".ts"}`));
27
+ return /* @__PURE__ */ (0, __alloy_js_core_jsx_runtime.jsx)(require_typescript_file.TypescriptFile, {
28
+ ...rest,
29
+ path: fullPath.value,
30
+ meta: (0, defu.default)(meta ?? {}, { entry: { typeDefinition } }),
31
+ children
32
+ });
33
+ }
34
+
35
+ //#endregion
36
+ Object.defineProperty(exports, 'EntryFile', {
37
+ enumerable: true,
38
+ get: function () {
39
+ return EntryFile;
40
+ }
41
+ });
@@ -0,0 +1,34 @@
1
+ import { n as usePowerlines } from "./context-Cx38_mgI.mjs";
2
+ import { t as TypescriptFile } from "./typescript-file-y6oF016h.mjs";
3
+ import { computed, splitProps } from "@alloy-js/core";
4
+ import { jsx } from "@alloy-js/core/jsx-runtime";
5
+ import defu from "defu";
6
+ import { joinPaths } from "@stryke/path/join-paths";
7
+
8
+ //#region src/typescript/components/entry-file.tsx
9
+ /**
10
+ * A base component representing a Powerlines generated Typescript source file.
11
+ *
12
+ * @param props - The properties for the source file.
13
+ * @returns The rendered source file component.
14
+ */
15
+ function EntryFile(props) {
16
+ const [{ children, meta, tsx, path, typeDefinition }, rest] = splitProps(props, [
17
+ "children",
18
+ "meta",
19
+ "tsx",
20
+ "path",
21
+ "typeDefinition"
22
+ ]);
23
+ const context = usePowerlines();
24
+ const fullPath = computed(() => joinPaths(context?.entryPath || "./", `${path}${tsx ? ".tsx" : ".ts"}`));
25
+ return /* @__PURE__ */ jsx(TypescriptFile, {
26
+ ...rest,
27
+ path: fullPath.value,
28
+ meta: defu(meta ?? {}, { entry: { typeDefinition } }),
29
+ children
30
+ });
31
+ }
32
+
33
+ //#endregion
34
+ export { EntryFile as t };