@power-plant/alloy-js 0.0.5 → 0.0.7

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 (328) hide show
  1. package/dist/alert-BZRTtU1X.d.cts +52 -0
  2. package/dist/alert-BZRTtU1X.d.cts.map +1 -0
  3. package/dist/alert-BZRTtU1X.d.mts +52 -0
  4. package/dist/alert-BZRTtU1X.d.mts.map +1 -0
  5. package/dist/block-declaration-DbMuMxXx.d.cts +19 -0
  6. package/dist/block-declaration-DbMuMxXx.d.cts.map +1 -0
  7. package/dist/block-declaration-Yq4hWFFT.d.mts +19 -0
  8. package/dist/block-declaration-Yq4hWFFT.d.mts.map +1 -0
  9. package/dist/class-declaration-CL5quGqz.d.mts +139 -0
  10. package/dist/class-declaration-CL5quGqz.d.mts.map +1 -0
  11. package/dist/class-declaration-G7ncTlSj.d.cts +139 -0
  12. package/dist/class-declaration-G7ncTlSj.d.cts.map +1 -0
  13. package/dist/components-D8UkrP5Q.d.cts +11 -0
  14. package/dist/components-D8UkrP5Q.d.cts.map +1 -0
  15. package/dist/components-D8UkrP5Q.d.mts +11 -0
  16. package/dist/components-D8UkrP5Q.d.mts.map +1 -0
  17. package/dist/core/components/index.cjs +1 -1
  18. package/dist/core/components/index.d.cts +1 -1
  19. package/dist/core/components/index.d.mts +1 -1
  20. package/dist/core/components/index.mjs +1 -1
  21. package/dist/core/components/source-file.cjs +1 -1
  22. package/dist/core/components/source-file.d.cts +1 -1
  23. package/dist/core/components/source-file.d.mts +1 -1
  24. package/dist/core/components/source-file.mjs +2 -1
  25. package/dist/core/components/source-file.mjs.map +1 -0
  26. package/dist/core/helpers/header-constants.cjs +1 -0
  27. package/dist/core/helpers/header-constants.d.cts +12 -0
  28. package/dist/core/helpers/header-constants.d.cts.map +1 -0
  29. package/dist/core/helpers/header-constants.d.mts +12 -0
  30. package/dist/core/helpers/header-constants.d.mts.map +1 -0
  31. package/dist/core/helpers/header-constants.mjs +2 -0
  32. package/dist/core/helpers/header-constants.mjs.map +1 -0
  33. package/dist/core/index.cjs +1 -1
  34. package/dist/core/index.d.cts +1 -1
  35. package/dist/core/index.d.mts +1 -1
  36. package/dist/core/index.mjs +1 -1
  37. package/dist/dynamic-import-statement--GIybIf5.d.cts +30 -0
  38. package/dist/dynamic-import-statement--GIybIf5.d.cts.map +1 -0
  39. package/dist/dynamic-import-statement--GIybIf5.d.mts +30 -0
  40. package/dist/dynamic-import-statement--GIybIf5.d.mts.map +1 -0
  41. package/dist/front-matter-N6kiCG9y.d.cts +13 -0
  42. package/dist/front-matter-N6kiCG9y.d.cts.map +1 -0
  43. package/dist/front-matter-N6kiCG9y.d.mts +13 -0
  44. package/dist/front-matter-N6kiCG9y.d.mts.map +1 -0
  45. package/dist/get-call-signature-props-B1NHhswg.d.cts +13 -0
  46. package/dist/get-call-signature-props-B1NHhswg.d.cts.map +1 -0
  47. package/dist/get-call-signature-props-B1NHhswg.d.mts +13 -0
  48. package/dist/get-call-signature-props-B1NHhswg.d.mts.map +1 -0
  49. package/dist/hcl/components/block-declaration.cjs +1 -0
  50. package/dist/hcl/components/block-declaration.d.cts +2 -0
  51. package/dist/hcl/components/block-declaration.d.mts +2 -0
  52. package/dist/hcl/components/block-declaration.mjs +2 -0
  53. package/dist/hcl/components/block-declaration.mjs.map +1 -0
  54. package/dist/hcl/components/hcl-file.cjs +1 -0
  55. package/dist/hcl/components/hcl-file.d.cts +2 -0
  56. package/dist/hcl/components/hcl-file.d.mts +2 -0
  57. package/dist/hcl/components/hcl-file.mjs +2 -0
  58. package/dist/hcl/components/hcl-file.mjs.map +1 -0
  59. package/dist/hcl/components/index.cjs +1 -0
  60. package/dist/hcl/components/index.d.cts +5 -0
  61. package/dist/hcl/components/index.d.mts +5 -0
  62. package/dist/hcl/components/index.mjs +1 -0
  63. package/dist/hcl/components/packer-file.cjs +1 -0
  64. package/dist/hcl/components/packer-file.d.cts +2 -0
  65. package/dist/hcl/components/packer-file.d.mts +2 -0
  66. package/dist/hcl/components/packer-file.mjs +2 -0
  67. package/dist/hcl/components/packer-file.mjs.map +1 -0
  68. package/dist/hcl/components/terraform-file.cjs +1 -0
  69. package/dist/hcl/components/terraform-file.d.cts +2 -0
  70. package/dist/hcl/components/terraform-file.d.mts +2 -0
  71. package/dist/hcl/components/terraform-file.mjs +2 -0
  72. package/dist/hcl/components/terraform-file.mjs.map +1 -0
  73. package/dist/hcl/index.cjs +1 -0
  74. package/dist/hcl/index.d.cts +6 -0
  75. package/dist/hcl/index.d.mts +6 -0
  76. package/dist/hcl/index.mjs +1 -0
  77. package/dist/hcl-file-CDeOXiO0.d.mts +25 -0
  78. package/dist/hcl-file-CDeOXiO0.d.mts.map +1 -0
  79. package/dist/hcl-file-CxR4hw4B.d.cts +25 -0
  80. package/dist/hcl-file-CxR4hw4B.d.cts.map +1 -0
  81. package/dist/heading-CG6LmaB5.d.cts +17 -0
  82. package/dist/heading-CG6LmaB5.d.cts.map +1 -0
  83. package/dist/heading-D0he7iDI.d.mts +17 -0
  84. package/dist/heading-D0he7iDI.d.mts.map +1 -0
  85. package/dist/index.cjs +1 -47
  86. package/dist/index.d.cts.map +1 -1
  87. package/dist/index.mjs +1 -47
  88. package/dist/interface-declaration-BSo-U6IN.d.cts +78 -0
  89. package/dist/interface-declaration-BSo-U6IN.d.cts.map +1 -0
  90. package/dist/interface-declaration-DYLPeJH1.d.mts +78 -0
  91. package/dist/interface-declaration-DYLPeJH1.d.mts.map +1 -0
  92. package/dist/lexical-scope-DghPwq5Q.d.cts +12 -0
  93. package/dist/lexical-scope-DghPwq5Q.d.cts.map +1 -0
  94. package/dist/lexical-scope-DghPwq5Q.d.mts +12 -0
  95. package/dist/lexical-scope-DghPwq5Q.d.mts.map +1 -0
  96. package/dist/markdown/components/alert.cjs +1 -0
  97. package/dist/markdown/components/alert.d.cts +2 -0
  98. package/dist/markdown/components/alert.d.mts +2 -0
  99. package/dist/markdown/components/alert.mjs +2 -0
  100. package/dist/markdown/components/alert.mjs.map +1 -0
  101. package/dist/markdown/components/front-matter.cjs +1 -0
  102. package/dist/markdown/components/front-matter.d.cts +2 -0
  103. package/dist/markdown/components/front-matter.d.mts +2 -0
  104. package/dist/markdown/components/front-matter.mjs +2 -0
  105. package/dist/markdown/components/front-matter.mjs.map +1 -0
  106. package/dist/markdown/components/heading.cjs +1 -0
  107. package/dist/markdown/components/heading.d.cts +2 -0
  108. package/dist/markdown/components/heading.d.mts +2 -0
  109. package/dist/markdown/components/heading.mjs +2 -0
  110. package/dist/markdown/components/heading.mjs.map +1 -0
  111. package/dist/markdown/components/index.cjs +1 -0
  112. package/dist/markdown/components/index.d.cts +6 -0
  113. package/dist/markdown/components/index.d.mts +6 -0
  114. package/dist/markdown/components/index.mjs +1 -0
  115. package/dist/markdown/components/markdown-file.cjs +1 -0
  116. package/dist/markdown/components/markdown-file.d.cts +2 -0
  117. package/dist/markdown/components/markdown-file.d.mts +2 -0
  118. package/dist/markdown/components/markdown-file.mjs +2 -0
  119. package/dist/markdown/components/markdown-file.mjs.map +1 -0
  120. package/dist/markdown/components/markdown-table.cjs +1 -0
  121. package/dist/markdown/components/markdown-table.d.cts +2 -0
  122. package/dist/markdown/components/markdown-table.d.mts +2 -0
  123. package/dist/markdown/components/markdown-table.mjs +2 -0
  124. package/dist/markdown/components/markdown-table.mjs.map +1 -0
  125. package/dist/markdown/contexts/index.cjs +1 -0
  126. package/dist/markdown/contexts/index.d.cts +2 -0
  127. package/dist/markdown/contexts/index.d.mts +2 -0
  128. package/dist/markdown/contexts/index.mjs +1 -0
  129. package/dist/markdown/contexts/markdown-table.cjs +1 -0
  130. package/dist/markdown/contexts/markdown-table.d.cts +2 -0
  131. package/dist/markdown/contexts/markdown-table.d.mts +2 -0
  132. package/dist/markdown/contexts/markdown-table.mjs +2 -0
  133. package/dist/markdown/contexts/markdown-table.mjs.map +1 -0
  134. package/dist/markdown/index.cjs +1 -0
  135. package/dist/markdown/index.d.cts +9 -0
  136. package/dist/markdown/index.d.mts +9 -0
  137. package/dist/markdown/index.mjs +1 -0
  138. package/dist/markdown-file-BsiASIVZ.d.cts +25 -0
  139. package/dist/markdown-file-BsiASIVZ.d.cts.map +1 -0
  140. package/dist/markdown-file-CG6y_nCf.d.mts +25 -0
  141. package/dist/markdown-file-CG6y_nCf.d.mts.map +1 -0
  142. package/dist/markdown-table-BxfTr3lV.d.cts +35 -0
  143. package/dist/markdown-table-BxfTr3lV.d.cts.map +1 -0
  144. package/dist/markdown-table-BxfTr3lV.d.mts +35 -0
  145. package/dist/markdown-table-BxfTr3lV.d.mts.map +1 -0
  146. package/dist/markdown-table-H4veEJCn.d.mts +37 -0
  147. package/dist/markdown-table-H4veEJCn.d.mts.map +1 -0
  148. package/dist/markdown-table-P04wFKse.d.cts +37 -0
  149. package/dist/markdown-table-P04wFKse.d.cts.map +1 -0
  150. package/dist/object-declaration-BWJ8zDKp.d.cts +24 -0
  151. package/dist/object-declaration-BWJ8zDKp.d.cts.map +1 -0
  152. package/dist/object-declaration-DQQhQypx.d.mts +24 -0
  153. package/dist/object-declaration-DQQhQypx.d.mts.map +1 -0
  154. package/dist/packer-file-DVdUCeHH.d.cts +16 -0
  155. package/dist/packer-file-DVdUCeHH.d.cts.map +1 -0
  156. package/dist/packer-file-DeJWrlcR.d.mts +16 -0
  157. package/dist/packer-file-DeJWrlcR.d.mts.map +1 -0
  158. package/dist/property-name-bQ4hrXmQ.d.cts +21 -0
  159. package/dist/property-name-bQ4hrXmQ.d.cts.map +1 -0
  160. package/dist/property-name-bQ4hrXmQ.d.mts +21 -0
  161. package/dist/property-name-bQ4hrXmQ.d.mts.map +1 -0
  162. package/dist/record-expression-CECGDPCk.d.cts +9 -0
  163. package/dist/record-expression-CECGDPCk.d.cts.map +1 -0
  164. package/dist/record-expression-CECGDPCk.d.mts +9 -0
  165. package/dist/record-expression-CECGDPCk.d.mts.map +1 -0
  166. package/dist/render.cjs +1 -1
  167. package/dist/render.mjs +2 -1
  168. package/dist/render.mjs.map +1 -0
  169. package/dist/rolldown-runtime-CMqjfN_6.cjs +1 -0
  170. package/dist/{source-file-DVILH8rC.d.mts → source-file-BiWHfxCC.d.mts} +5 -5
  171. package/dist/source-file-BiWHfxCC.d.mts.map +1 -0
  172. package/dist/{source-file-CPJOENVo.d.cts → source-file-DfP35Z8l.d.cts} +4 -4
  173. package/dist/source-file-DfP35Z8l.d.cts.map +1 -0
  174. package/dist/terraform-file-DS0uAb5z.d.mts +17 -0
  175. package/dist/terraform-file-DS0uAb5z.d.mts.map +1 -0
  176. package/dist/terraform-file-gr1_jJWO.d.cts +17 -0
  177. package/dist/terraform-file-gr1_jJWO.d.cts.map +1 -0
  178. package/dist/tsdoc-B6Hw9jOF.d.cts +163 -0
  179. package/dist/tsdoc-B6Hw9jOF.d.cts.map +1 -0
  180. package/dist/tsdoc-CFdZtTw6.d.mts +163 -0
  181. package/dist/tsdoc-CFdZtTw6.d.mts.map +1 -0
  182. package/dist/tsdoc-schema-B4yKswI-.d.mts +21 -0
  183. package/dist/tsdoc-schema-B4yKswI-.d.mts.map +1 -0
  184. package/dist/tsdoc-schema-DJ_3JLuh.d.cts +21 -0
  185. package/dist/tsdoc-schema-DJ_3JLuh.d.cts.map +1 -0
  186. package/dist/type-declaration-BLvkozNR.d.cts +15 -0
  187. package/dist/type-declaration-BLvkozNR.d.cts.map +1 -0
  188. package/dist/type-declaration-BLvkozNR.d.mts +15 -0
  189. package/dist/type-declaration-BLvkozNR.d.mts.map +1 -0
  190. package/dist/type-parameters-BzCDG9lT.d.cts +22 -0
  191. package/dist/type-parameters-BzCDG9lT.d.cts.map +1 -0
  192. package/dist/type-parameters-BzCDG9lT.d.mts +22 -0
  193. package/dist/type-parameters-BzCDG9lT.d.mts.map +1 -0
  194. package/dist/typescript/components/class-declaration.cjs +1 -0
  195. package/dist/typescript/components/class-declaration.d.cts +2 -0
  196. package/dist/typescript/components/class-declaration.d.mts +2 -0
  197. package/dist/typescript/components/class-declaration.mjs +2 -0
  198. package/dist/typescript/components/class-declaration.mjs.map +1 -0
  199. package/dist/typescript/components/dynamic-import-statement.cjs +1 -0
  200. package/dist/typescript/components/dynamic-import-statement.d.cts +2 -0
  201. package/dist/typescript/components/dynamic-import-statement.d.mts +2 -0
  202. package/dist/typescript/components/dynamic-import-statement.mjs +2 -0
  203. package/dist/typescript/components/dynamic-import-statement.mjs.map +1 -0
  204. package/dist/typescript/components/index.cjs +1 -0
  205. package/dist/typescript/components/index.d.cts +12 -0
  206. package/dist/typescript/components/index.d.mts +12 -0
  207. package/dist/typescript/components/index.mjs +1 -0
  208. package/dist/typescript/components/interface-declaration.cjs +1 -0
  209. package/dist/typescript/components/interface-declaration.d.cts +2 -0
  210. package/dist/typescript/components/interface-declaration.d.mts +2 -0
  211. package/dist/typescript/components/interface-declaration.mjs +2 -0
  212. package/dist/typescript/components/interface-declaration.mjs.map +1 -0
  213. package/dist/typescript/components/object-declaration.cjs +1 -0
  214. package/dist/typescript/components/object-declaration.d.cts +2 -0
  215. package/dist/typescript/components/object-declaration.d.mts +2 -0
  216. package/dist/typescript/components/object-declaration.mjs +2 -0
  217. package/dist/typescript/components/object-declaration.mjs.map +1 -0
  218. package/dist/typescript/components/property-name.cjs +1 -0
  219. package/dist/typescript/components/property-name.d.cts +2 -0
  220. package/dist/typescript/components/property-name.d.mts +2 -0
  221. package/dist/typescript/components/property-name.mjs +2 -0
  222. package/dist/typescript/components/property-name.mjs.map +1 -0
  223. package/dist/typescript/components/record-expression.cjs +3 -0
  224. package/dist/typescript/components/record-expression.d.cts +2 -0
  225. package/dist/typescript/components/record-expression.d.mts +2 -0
  226. package/dist/typescript/components/record-expression.mjs +4 -0
  227. package/dist/typescript/components/record-expression.mjs.map +1 -0
  228. package/dist/typescript/components/tsdoc-schema.cjs +1 -0
  229. package/dist/typescript/components/tsdoc-schema.d.cts +2 -0
  230. package/dist/typescript/components/tsdoc-schema.d.mts +2 -0
  231. package/dist/typescript/components/tsdoc-schema.mjs +2 -0
  232. package/dist/typescript/components/tsdoc-schema.mjs.map +1 -0
  233. package/dist/typescript/components/tsdoc.cjs +1 -0
  234. package/dist/typescript/components/tsdoc.d.cts +2 -0
  235. package/dist/typescript/components/tsdoc.d.mts +2 -0
  236. package/dist/typescript/components/tsdoc.mjs +2 -0
  237. package/dist/typescript/components/tsdoc.mjs.map +1 -0
  238. package/dist/typescript/components/type-declaration.cjs +1 -0
  239. package/dist/typescript/components/type-declaration.d.cts +2 -0
  240. package/dist/typescript/components/type-declaration.d.mts +2 -0
  241. package/dist/typescript/components/type-declaration.mjs +2 -0
  242. package/dist/typescript/components/type-declaration.mjs.map +1 -0
  243. package/dist/typescript/components/type-parameters.cjs +1 -0
  244. package/dist/typescript/components/type-parameters.d.cts +2 -0
  245. package/dist/typescript/components/type-parameters.d.mts +2 -0
  246. package/dist/typescript/components/type-parameters.mjs +2 -0
  247. package/dist/typescript/components/type-parameters.mjs.map +1 -0
  248. package/dist/typescript/components/typescript-file.cjs +1 -0
  249. package/dist/typescript/components/typescript-file.d.cts +2 -0
  250. package/dist/typescript/components/typescript-file.d.mts +2 -0
  251. package/dist/typescript/components/typescript-file.mjs +2 -0
  252. package/dist/typescript/components/typescript-file.mjs.map +1 -0
  253. package/dist/typescript/contexts/index.cjs +1 -0
  254. package/dist/typescript/contexts/index.d.cts +2 -0
  255. package/dist/typescript/contexts/index.d.mts +2 -0
  256. package/dist/typescript/contexts/index.mjs +1 -0
  257. package/dist/typescript/contexts/lexical-scope.cjs +1 -0
  258. package/dist/typescript/contexts/lexical-scope.d.cts +2 -0
  259. package/dist/typescript/contexts/lexical-scope.d.mts +2 -0
  260. package/dist/typescript/contexts/lexical-scope.mjs +2 -0
  261. package/dist/typescript/contexts/lexical-scope.mjs.map +1 -0
  262. package/dist/typescript/contexts/member-scope.cjs +1 -0
  263. package/dist/typescript/contexts/member-scope.d.cts +18 -0
  264. package/dist/typescript/contexts/member-scope.d.cts.map +1 -0
  265. package/dist/typescript/contexts/member-scope.d.mts +18 -0
  266. package/dist/typescript/contexts/member-scope.d.mts.map +1 -0
  267. package/dist/typescript/contexts/member-scope.mjs +2 -0
  268. package/dist/typescript/contexts/member-scope.mjs.map +1 -0
  269. package/dist/typescript/helpers/get-call-signature-props.cjs +1 -0
  270. package/dist/typescript/helpers/get-call-signature-props.d.cts +2 -0
  271. package/dist/typescript/helpers/get-call-signature-props.d.mts +2 -0
  272. package/dist/typescript/helpers/get-call-signature-props.mjs +2 -0
  273. package/dist/typescript/helpers/get-call-signature-props.mjs.map +1 -0
  274. package/dist/typescript/helpers/index.cjs +1 -0
  275. package/dist/typescript/helpers/index.d.cts +3 -0
  276. package/dist/typescript/helpers/index.d.mts +3 -0
  277. package/dist/typescript/helpers/index.mjs +1 -0
  278. package/dist/typescript/helpers/utilities.cjs +1 -0
  279. package/dist/typescript/helpers/utilities.d.cts +2 -0
  280. package/dist/typescript/helpers/utilities.d.mts +2 -0
  281. package/dist/typescript/helpers/utilities.mjs +2 -0
  282. package/dist/typescript/helpers/utilities.mjs.map +1 -0
  283. package/dist/typescript/index.cjs +1 -0
  284. package/dist/typescript/index.d.cts +19 -0
  285. package/dist/typescript/index.d.mts +19 -0
  286. package/dist/typescript/index.mjs +1 -0
  287. package/dist/typescript/types/components.cjs +0 -0
  288. package/dist/typescript/types/components.d.cts +2 -0
  289. package/dist/typescript/types/components.d.mts +2 -0
  290. package/dist/typescript/types/components.mjs +0 -0
  291. package/dist/typescript/types/index.cjs +0 -0
  292. package/dist/typescript/types/index.d.cts +2 -0
  293. package/dist/typescript/types/index.d.mts +2 -0
  294. package/dist/typescript/types/index.mjs +0 -0
  295. package/dist/typescript-file-C0GR7QWh.d.cts +49 -0
  296. package/dist/typescript-file-C0GR7QWh.d.cts.map +1 -0
  297. package/dist/typescript-file-YdpvA2Y-.d.mts +49 -0
  298. package/dist/typescript-file-YdpvA2Y-.d.mts.map +1 -0
  299. package/dist/utilities-BtXOWwjJ.d.cts +11 -0
  300. package/dist/utilities-BtXOWwjJ.d.cts.map +1 -0
  301. package/dist/utilities-BtXOWwjJ.d.mts +11 -0
  302. package/dist/utilities-BtXOWwjJ.d.mts.map +1 -0
  303. package/dist/yaml/components/index.cjs +1 -0
  304. package/dist/yaml/components/index.d.cts +2 -0
  305. package/dist/yaml/components/index.d.mts +2 -0
  306. package/dist/yaml/components/index.mjs +1 -0
  307. package/dist/yaml/components/yaml-file.cjs +1 -0
  308. package/dist/yaml/components/yaml-file.d.cts +2 -0
  309. package/dist/yaml/components/yaml-file.d.mts +2 -0
  310. package/dist/yaml/components/yaml-file.mjs +2 -0
  311. package/dist/yaml/components/yaml-file.mjs.map +1 -0
  312. package/dist/yaml/index.cjs +1 -0
  313. package/dist/yaml/index.d.cts +3 -0
  314. package/dist/yaml/index.d.mts +3 -0
  315. package/dist/yaml/index.mjs +1 -0
  316. package/dist/yaml-file-BBXSkeRl.d.cts +31 -0
  317. package/dist/yaml-file-BBXSkeRl.d.cts.map +1 -0
  318. package/dist/yaml-file-BRSIxFdU.d.mts +31 -0
  319. package/dist/yaml-file-BRSIxFdU.d.mts.map +1 -0
  320. package/package.json +570 -11
  321. package/dist/render-Bh6nE1bo.cjs +0 -1
  322. package/dist/render-UH3hN5fr.mjs +0 -2
  323. package/dist/render-UH3hN5fr.mjs.map +0 -1
  324. package/dist/source-file-CPJOENVo.d.cts.map +0 -1
  325. package/dist/source-file-DVILH8rC.d.mts.map +0 -1
  326. package/dist/source-file-K_2P7eFP.cjs +0 -1
  327. package/dist/source-file-t3itBybg.mjs +0 -2
  328. package/dist/source-file-t3itBybg.mjs.map +0 -1
@@ -0,0 +1,9 @@
1
+ import { a as ImportantAlert, c as WarningAlert, i as CautionAlert, n as AlertProps, o as NoteAlert, r as AlertVariantProps, s as TipAlert, t as Alert } from "../alert-BZRTtU1X.cjs";
2
+ import { n as FrontMatterProps, t as FrontMatter } from "../front-matter-N6kiCG9y.cjs";
3
+ import { n as HeadingProps, t as Heading } from "../heading-CG6LmaB5.cjs";
4
+ import { i as MarkdownFileProps, n as MarkdownFileHeader, r as MarkdownFileHeaderProps, t as MarkdownFile } from "../markdown-file-BsiASIVZ.cjs";
5
+ import { a as useMarkdownTable, i as MarkdownTableContextInterface, n as MarkdownTableColumnContextInterface, o as useMarkdownTableColumn, r as MarkdownTableContext, t as MarkdownTableColumnContext } from "../markdown-table-BxfTr3lV.cjs";
6
+ import { a as MarkdownTableProps, i as MarkdownTableColumnProps, n as MarkdownTableColumn, r as MarkdownTableColumnHeader, t as MarkdownTable } from "../markdown-table-P04wFKse.cjs";
7
+ import "./components/index.cjs";
8
+ import "./contexts/index.cjs";
9
+ export { Alert, AlertProps, AlertVariantProps, CautionAlert, FrontMatter, FrontMatterProps, Heading, HeadingProps, ImportantAlert, MarkdownFile, MarkdownFileHeader, MarkdownFileHeaderProps, MarkdownFileProps, MarkdownTable, MarkdownTableColumn, MarkdownTableColumnContext, MarkdownTableColumnContextInterface, MarkdownTableColumnHeader, MarkdownTableColumnProps, MarkdownTableContext, MarkdownTableContextInterface, MarkdownTableProps, NoteAlert, TipAlert, WarningAlert, useMarkdownTable, useMarkdownTableColumn };
@@ -0,0 +1,9 @@
1
+ import { a as ImportantAlert, c as WarningAlert, i as CautionAlert, n as AlertProps, o as NoteAlert, r as AlertVariantProps, s as TipAlert, t as Alert } from "../alert-BZRTtU1X.mjs";
2
+ import { n as FrontMatterProps, t as FrontMatter } from "../front-matter-N6kiCG9y.mjs";
3
+ import { n as HeadingProps, t as Heading } from "../heading-D0he7iDI.mjs";
4
+ import { i as MarkdownFileProps, n as MarkdownFileHeader, r as MarkdownFileHeaderProps, t as MarkdownFile } from "../markdown-file-CG6y_nCf.mjs";
5
+ import { a as useMarkdownTable, i as MarkdownTableContextInterface, n as MarkdownTableColumnContextInterface, o as useMarkdownTableColumn, r as MarkdownTableContext, t as MarkdownTableColumnContext } from "../markdown-table-BxfTr3lV.mjs";
6
+ import { a as MarkdownTableProps, i as MarkdownTableColumnProps, n as MarkdownTableColumn, r as MarkdownTableColumnHeader, t as MarkdownTable } from "../markdown-table-H4veEJCn.mjs";
7
+ import "./components/index.mjs";
8
+ import "./contexts/index.mjs";
9
+ export { Alert, AlertProps, AlertVariantProps, CautionAlert, FrontMatter, FrontMatterProps, Heading, HeadingProps, ImportantAlert, MarkdownFile, MarkdownFileHeader, MarkdownFileHeaderProps, MarkdownFileProps, MarkdownTable, MarkdownTableColumn, MarkdownTableColumnContext, MarkdownTableColumnContextInterface, MarkdownTableColumnHeader, MarkdownTableColumnProps, MarkdownTableContext, MarkdownTableContextInterface, MarkdownTableProps, NoteAlert, TipAlert, WarningAlert, useMarkdownTable, useMarkdownTableColumn };
@@ -0,0 +1 @@
1
+ import{Alert as e,CautionAlert as t,ImportantAlert as n,NoteAlert as r,TipAlert as i,WarningAlert as a}from"./components/alert.mjs";import{FrontMatter as o}from"./components/front-matter.mjs";import{Heading as s}from"./components/heading.mjs";import{MarkdownFile as c,MarkdownFileHeader as l}from"./components/markdown-file.mjs";import{MarkdownTableColumnContext as u,MarkdownTableContext as d,useMarkdownTable as f,useMarkdownTableColumn as p}from"./contexts/markdown-table.mjs";import{MarkdownTable as m,MarkdownTableColumn as h,MarkdownTableColumnHeader as g}from"./components/markdown-table.mjs";import"./components/index.mjs";import"./contexts/index.mjs";export{e as Alert,t as CautionAlert,o as FrontMatter,s as Heading,n as ImportantAlert,c as MarkdownFile,l as MarkdownFileHeader,m as MarkdownTable,h as MarkdownTableColumn,u as MarkdownTableColumnContext,g as MarkdownTableColumnHeader,d as MarkdownTableContext,r as NoteAlert,i as TipAlert,a as WarningAlert,f as useMarkdownTable,p as useMarkdownTableColumn};
@@ -0,0 +1,25 @@
1
+ import { a as SourceFileHeaderProps, t as ComponentProps } from "./components-vJaCHt1A.cjs";
2
+ import { n as SourceFileProps } from "./source-file-DfP35Z8l.cjs";
3
+ import { n as FrontMatterProps } from "./front-matter-N6kiCG9y.cjs";
4
+ //#region src/markdown/components/markdown-file.d.ts
5
+ type MarkdownFileProps = Omit<SourceFileProps, "filetype"> & ComponentProps & MarkdownFileHeaderProps;
6
+ /**
7
+ * A base component representing a Powerlines generated markdown source file.
8
+ *
9
+ * @param props - The properties for the source file.
10
+ * @returns The rendered source file component.
11
+ */
12
+ declare function MarkdownFile(props: MarkdownFileProps): import("@alloy-js/core").Children;
13
+ type MarkdownFileHeaderProps = SourceFileHeaderProps & {
14
+ frontMatter?: FrontMatterProps["data"];
15
+ };
16
+ /**
17
+ * Renders the header for a Powerlines Typescript source file.
18
+ *
19
+ * @param props - The properties for the source file header.
20
+ * @returns The rendered source file header.
21
+ */
22
+ declare function MarkdownFileHeader(props: MarkdownFileHeaderProps): import("@alloy-js/core").Children;
23
+ //#endregion
24
+ export { MarkdownFileProps as i, MarkdownFileHeader as n, MarkdownFileHeaderProps as r, MarkdownFile as t };
25
+ //# sourceMappingURL=markdown-file-BsiASIVZ.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"markdown-file-BsiASIVZ.d.cts","names":[],"sources":["../src/markdown/components/markdown-file.tsx"],"mappings":";;;;KAmCY,oBAAoB,KAAK,+BACnC,iBACA;;;;;;;iBAQc,aAAa,OAAO,6CAAiB;KAiBzC,0BAA0B;EACpC,cAAc;;;;;;;;iBASA,mBAAmB,OAAO,mDAAuB"}
@@ -0,0 +1,25 @@
1
+ import { a as SourceFileHeaderProps, t as ComponentProps } from "./components-vJaCHt1A.mjs";
2
+ import { n as SourceFileProps } from "./source-file-BiWHfxCC.mjs";
3
+ import { n as FrontMatterProps } from "./front-matter-N6kiCG9y.mjs";
4
+ //#region src/markdown/components/markdown-file.d.ts
5
+ type MarkdownFileProps = Omit<SourceFileProps, "filetype"> & ComponentProps & MarkdownFileHeaderProps;
6
+ /**
7
+ * A base component representing a Powerlines generated markdown source file.
8
+ *
9
+ * @param props - The properties for the source file.
10
+ * @returns The rendered source file component.
11
+ */
12
+ declare function MarkdownFile(props: MarkdownFileProps): import("@alloy-js/core").Children;
13
+ type MarkdownFileHeaderProps = SourceFileHeaderProps & {
14
+ frontMatter?: FrontMatterProps["data"];
15
+ };
16
+ /**
17
+ * Renders the header for a Powerlines Typescript source file.
18
+ *
19
+ * @param props - The properties for the source file header.
20
+ * @returns The rendered source file header.
21
+ */
22
+ declare function MarkdownFileHeader(props: MarkdownFileHeaderProps): import("@alloy-js/core").Children;
23
+ //#endregion
24
+ export { MarkdownFileProps as i, MarkdownFileHeader as n, MarkdownFileHeaderProps as r, MarkdownFile as t };
25
+ //# sourceMappingURL=markdown-file-CG6y_nCf.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"markdown-file-CG6y_nCf.d.mts","names":[],"sources":["../src/markdown/components/markdown-file.tsx"],"mappings":""}
@@ -0,0 +1,35 @@
1
+ import { ComponentContext } from "@alloy-js/core";
2
+ //#region src/markdown/contexts/markdown-table.d.ts
3
+ interface MarkdownTableColumnContextInterface<T extends Record<string, any> = Record<string, any>> {
4
+ index: number;
5
+ name: keyof T;
6
+ align: "left" | "right" | "center";
7
+ width: number;
8
+ }
9
+ /**
10
+ * The Powerlines context used in template rendering.
11
+ */
12
+ declare const MarkdownTableColumnContext: ComponentContext<MarkdownTableColumnContextInterface>;
13
+ /**
14
+ * Hook to access the Powerlines Context.
15
+ *
16
+ * @returns The Context.
17
+ */
18
+ declare function useMarkdownTableColumn(): MarkdownTableColumnContextInterface<Record<string, any>> | undefined;
19
+ interface MarkdownTableContextInterface<T extends Record<string, any> = Record<string, any>> {
20
+ columns: MarkdownTableColumnContextInterface<T>[];
21
+ data: T[];
22
+ }
23
+ /**
24
+ * The Powerlines context used in template rendering.
25
+ */
26
+ declare const MarkdownTableContext: ComponentContext<MarkdownTableContextInterface>;
27
+ /**
28
+ * Hook to access the Powerlines Context.
29
+ *
30
+ * @returns The Context.
31
+ */
32
+ declare function useMarkdownTable(): MarkdownTableContextInterface<Record<string, any>> | undefined;
33
+ //#endregion
34
+ export { useMarkdownTable as a, MarkdownTableContextInterface as i, MarkdownTableColumnContextInterface as n, useMarkdownTableColumn as o, MarkdownTableContext as r, MarkdownTableColumnContext as t };
35
+ //# sourceMappingURL=markdown-table-BxfTr3lV.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"markdown-table-BxfTr3lV.d.cts","names":[],"sources":["../src/markdown/contexts/markdown-table.ts"],"mappings":";;UAqBiB,oCACf,UAAU,sBAAsB;EAEhC;EACA,YAAY;EACZ;EACA;;;;;cAMW,4BAA4B,iBAAiB;;;;;;iBAW1C,0BAAsB,oCAAA;UAMrB,8BACf,UAAU,sBAAsB;EAEhC,SAAS,oCAAoC;EAC7C,MAAM;;;;;cAMK,sBAAsB,iBAAiB;;;;;;iBAWpC,oBAAgB,8BAAA"}
@@ -0,0 +1,35 @@
1
+ import { ComponentContext } from "@alloy-js/core";
2
+ //#region src/markdown/contexts/markdown-table.d.ts
3
+ interface MarkdownTableColumnContextInterface<T extends Record<string, any> = Record<string, any>> {
4
+ index: number;
5
+ name: keyof T;
6
+ align: "left" | "right" | "center";
7
+ width: number;
8
+ }
9
+ /**
10
+ * The Powerlines context used in template rendering.
11
+ */
12
+ declare const MarkdownTableColumnContext: ComponentContext<MarkdownTableColumnContextInterface>;
13
+ /**
14
+ * Hook to access the Powerlines Context.
15
+ *
16
+ * @returns The Context.
17
+ */
18
+ declare function useMarkdownTableColumn(): MarkdownTableColumnContextInterface<Record<string, any>> | undefined;
19
+ interface MarkdownTableContextInterface<T extends Record<string, any> = Record<string, any>> {
20
+ columns: MarkdownTableColumnContextInterface<T>[];
21
+ data: T[];
22
+ }
23
+ /**
24
+ * The Powerlines context used in template rendering.
25
+ */
26
+ declare const MarkdownTableContext: ComponentContext<MarkdownTableContextInterface>;
27
+ /**
28
+ * Hook to access the Powerlines Context.
29
+ *
30
+ * @returns The Context.
31
+ */
32
+ declare function useMarkdownTable(): MarkdownTableContextInterface<Record<string, any>> | undefined;
33
+ //#endregion
34
+ export { useMarkdownTable as a, MarkdownTableContextInterface as i, MarkdownTableColumnContextInterface as n, useMarkdownTableColumn as o, MarkdownTableContext as r, MarkdownTableColumnContext as t };
35
+ //# sourceMappingURL=markdown-table-BxfTr3lV.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"markdown-table-BxfTr3lV.d.mts","names":[],"sources":["../src/markdown/contexts/markdown-table.ts"],"mappings":""}
@@ -0,0 +1,37 @@
1
+ import { t as ComponentProps } from "./components-vJaCHt1A.mjs";
2
+ import { n as MarkdownTableColumnContextInterface } from "./markdown-table-BxfTr3lV.mjs";
3
+ //#region src/markdown/components/markdown-table.d.ts
4
+ interface MarkdownTableProps<T extends Record<string, any> = Record<string, any>> extends ComponentProps {
5
+ /**
6
+ * An optional array of column definitions. If not provided, columns will be inferred from the keys of the first data object.
7
+ *
8
+ * @remarks
9
+ * This prop allows you to explicitly define the columns of the markdown table, including their order, alignment, and width. If this prop is not provided, the component will attempt to infer the columns from the keys of the first object in the `data` array. Each column definition should include the `name` of the column (which corresponds to a key in the data objects), an optional `align` property to specify text alignment (left, right, or center), and an optional `width` property to specify the width of the column in characters.
10
+ */
11
+ columns?: MarkdownTableColumnContextInterface<T>[];
12
+ /**
13
+ * An array of data objects to be rendered in the markdown table. Each object should have keys corresponding to the column names.
14
+ *
15
+ * @remarks
16
+ * This prop is required and should contain an array of objects representing the rows of the markdown table. Each object should have keys that correspond to the `name` properties defined in the `columns` prop (or inferred from the first object if `columns` is not provided). The values of these keys will be rendered in the respective columns of the table. If the `data` array is empty, the component will render nothing.
17
+ */
18
+ data: T[];
19
+ }
20
+ /**
21
+ * Component that provides a context for rendering markdown tables.
22
+ */
23
+ declare function MarkdownTable<T extends Record<string, any> = Record<string, any>>(props: MarkdownTableProps<T>): import("@alloy-js/core").Children;
24
+ type MarkdownTableColumnProps = ComponentProps & Partial<Pick<MarkdownTableColumnContextInterface, "align">> & Required<Pick<MarkdownTableColumnContextInterface, "name">> & {
25
+ width?: number;
26
+ };
27
+ /**
28
+ * Component that provides a context for rendering markdown tables.
29
+ */
30
+ declare function MarkdownTableColumn(props: MarkdownTableColumnProps): import("@alloy-js/core").Children;
31
+ /**
32
+ * Component that provides a context for rendering markdown tables.
33
+ */
34
+ declare function MarkdownTableColumnHeader(props: MarkdownTableColumnProps): import("@alloy-js/core").Children;
35
+ //#endregion
36
+ export { MarkdownTableProps as a, MarkdownTableColumnProps as i, MarkdownTableColumn as n, MarkdownTableColumnHeader as r, MarkdownTable as t };
37
+ //# sourceMappingURL=markdown-table-H4veEJCn.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"markdown-table-H4veEJCn.d.mts","names":[],"sources":["../src/markdown/components/markdown-table.tsx"],"mappings":""}
@@ -0,0 +1,37 @@
1
+ import { t as ComponentProps } from "./components-vJaCHt1A.cjs";
2
+ import { n as MarkdownTableColumnContextInterface } from "./markdown-table-BxfTr3lV.cjs";
3
+ //#region src/markdown/components/markdown-table.d.ts
4
+ interface MarkdownTableProps<T extends Record<string, any> = Record<string, any>> extends ComponentProps {
5
+ /**
6
+ * An optional array of column definitions. If not provided, columns will be inferred from the keys of the first data object.
7
+ *
8
+ * @remarks
9
+ * This prop allows you to explicitly define the columns of the markdown table, including their order, alignment, and width. If this prop is not provided, the component will attempt to infer the columns from the keys of the first object in the `data` array. Each column definition should include the `name` of the column (which corresponds to a key in the data objects), an optional `align` property to specify text alignment (left, right, or center), and an optional `width` property to specify the width of the column in characters.
10
+ */
11
+ columns?: MarkdownTableColumnContextInterface<T>[];
12
+ /**
13
+ * An array of data objects to be rendered in the markdown table. Each object should have keys corresponding to the column names.
14
+ *
15
+ * @remarks
16
+ * This prop is required and should contain an array of objects representing the rows of the markdown table. Each object should have keys that correspond to the `name` properties defined in the `columns` prop (or inferred from the first object if `columns` is not provided). The values of these keys will be rendered in the respective columns of the table. If the `data` array is empty, the component will render nothing.
17
+ */
18
+ data: T[];
19
+ }
20
+ /**
21
+ * Component that provides a context for rendering markdown tables.
22
+ */
23
+ declare function MarkdownTable<T extends Record<string, any> = Record<string, any>>(props: MarkdownTableProps<T>): import("@alloy-js/core").Children;
24
+ type MarkdownTableColumnProps = ComponentProps & Partial<Pick<MarkdownTableColumnContextInterface, "align">> & Required<Pick<MarkdownTableColumnContextInterface, "name">> & {
25
+ width?: number;
26
+ };
27
+ /**
28
+ * Component that provides a context for rendering markdown tables.
29
+ */
30
+ declare function MarkdownTableColumn(props: MarkdownTableColumnProps): import("@alloy-js/core").Children;
31
+ /**
32
+ * Component that provides a context for rendering markdown tables.
33
+ */
34
+ declare function MarkdownTableColumnHeader(props: MarkdownTableColumnProps): import("@alloy-js/core").Children;
35
+ //#endregion
36
+ export { MarkdownTableProps as a, MarkdownTableColumnProps as i, MarkdownTableColumn as n, MarkdownTableColumnHeader as r, MarkdownTable as t };
37
+ //# sourceMappingURL=markdown-table-P04wFKse.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"markdown-table-P04wFKse.d.cts","names":[],"sources":["../src/markdown/components/markdown-table.tsx"],"mappings":";;;UA+BiB,mBACf,UAAU,sBAAsB,6BACxB;;;;;;;EAOR,UAAU,oCAAoC;;;;;;;EAQ9C,MAAM;;;;;iBAMQ,cACd,UAAU,sBAAsB,qBAChC,OAAO,mBAAmB,8BAAE;KAkClB,2BAA2B,iBACrC,QAAQ,KAAK,iDACb,SAAS,KAAK;EACZ;;;;;iBAMY,oBAAoB,OAAO,oDAAwB;;;;iBA6CnD,0BAA0B,OAAO,oDAAwB"}
@@ -0,0 +1,24 @@
1
+ import { t as ComponentProps } from "./components-vJaCHt1A.cjs";
2
+ import { JsonSchema, JsonSchemaObject } from "@power-plant/schema";
3
+ import { VarDeclarationProps } from "@alloy-js/typescript";
4
+ //#region src/typescript/components/object-declaration.d.ts
5
+ interface ObjectDeclarationProps extends VarDeclarationProps {
6
+ schema?: JsonSchemaObject;
7
+ }
8
+ /**
9
+ * Generates a TypeScript object for the given reflection class.
10
+ */
11
+ declare function ObjectDeclaration(props: ObjectDeclarationProps): import("@alloy-js/core").Children;
12
+ interface ObjectDeclarationPropertyProps extends ComponentProps {
13
+ name: string;
14
+ required?: boolean;
15
+ value?: unknown;
16
+ schema: JsonSchema;
17
+ }
18
+ /**
19
+ * Generates a TypeScript object property for the given reflection class.
20
+ */
21
+ declare function ObjectDeclarationProperty(props: ObjectDeclarationPropertyProps): import("@alloy-js/core").Children;
22
+ //#endregion
23
+ export { ObjectDeclarationProps as i, ObjectDeclarationProperty as n, ObjectDeclarationPropertyProps as r, ObjectDeclaration as t };
24
+ //# sourceMappingURL=object-declaration-BWJ8zDKp.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"object-declaration-BWJ8zDKp.d.cts","names":[],"sources":["../src/typescript/components/object-declaration.tsx"],"mappings":";;;;UAqDiB,+BAA+B;EAC9C,SAAS;;;;;iBAMK,kBAAkB,OAAO,kDAAsB;UA0G9C,uCAAuC;EACtD;EACA;EACA;EACA,QAAQ;;;;;iBAMM,0BACd,OAAO,0DAA8B"}
@@ -0,0 +1,24 @@
1
+ import { t as ComponentProps } from "./components-vJaCHt1A.mjs";
2
+ import { VarDeclarationProps } from "@alloy-js/typescript";
3
+ import { JsonSchema, JsonSchemaObject } from "@power-plant/schema";
4
+ //#region src/typescript/components/object-declaration.d.ts
5
+ interface ObjectDeclarationProps extends VarDeclarationProps {
6
+ schema?: JsonSchemaObject;
7
+ }
8
+ /**
9
+ * Generates a TypeScript object for the given reflection class.
10
+ */
11
+ declare function ObjectDeclaration(props: ObjectDeclarationProps): import("@alloy-js/core").Children;
12
+ interface ObjectDeclarationPropertyProps extends ComponentProps {
13
+ name: string;
14
+ required?: boolean;
15
+ value?: unknown;
16
+ schema: JsonSchema;
17
+ }
18
+ /**
19
+ * Generates a TypeScript object property for the given reflection class.
20
+ */
21
+ declare function ObjectDeclarationProperty(props: ObjectDeclarationPropertyProps): import("@alloy-js/core").Children;
22
+ //#endregion
23
+ export { ObjectDeclarationProps as i, ObjectDeclarationProperty as n, ObjectDeclarationPropertyProps as r, ObjectDeclaration as t };
24
+ //# sourceMappingURL=object-declaration-DQQhQypx.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"object-declaration-DQQhQypx.d.mts","names":[],"sources":["../src/typescript/components/object-declaration.tsx"],"mappings":""}
@@ -0,0 +1,16 @@
1
+ import { r as HCLFileProps } from "./hcl-file-CxR4hw4B.cjs";
2
+ import { PartialKeys } from "@stryke/types/base";
3
+ //#region src/hcl/components/packer-file.d.ts
4
+ type PackerFileProps = PartialKeys<HCLFileProps, "filetype">;
5
+ /**
6
+ * A base component representing a Powerlines generated [Packer](https://developer.hashicorp.com/packer/docs/templates/hcl_templates) source file.
7
+ *
8
+ * @see https://developer.hashicorp.com/packer
9
+ *
10
+ * @param props - The properties for the source file.
11
+ * @returns The rendered source file component.
12
+ */
13
+ declare function PackerFile(props: PackerFileProps): import("@alloy-js/core").Children;
14
+ //#endregion
15
+ export { PackerFileProps as n, PackerFile as t };
16
+ //# sourceMappingURL=packer-file-DVdUCeHH.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"packer-file-DVdUCeHH.d.cts","names":[],"sources":["../src/hcl/components/packer-file.tsx"],"mappings":";;;KAuBY,kBAAkB,YAAY;;;;;;;;;iBAU1B,WAAW,OAAO,2CAAe"}
@@ -0,0 +1,16 @@
1
+ import { r as HCLFileProps } from "./hcl-file-CDeOXiO0.mjs";
2
+ import { PartialKeys } from "@stryke/types/base";
3
+ //#region src/hcl/components/packer-file.d.ts
4
+ type PackerFileProps = PartialKeys<HCLFileProps, "filetype">;
5
+ /**
6
+ * A base component representing a Powerlines generated [Packer](https://developer.hashicorp.com/packer/docs/templates/hcl_templates) source file.
7
+ *
8
+ * @see https://developer.hashicorp.com/packer
9
+ *
10
+ * @param props - The properties for the source file.
11
+ * @returns The rendered source file component.
12
+ */
13
+ declare function PackerFile(props: PackerFileProps): import("@alloy-js/core").Children;
14
+ //#endregion
15
+ export { PackerFileProps as n, PackerFile as t };
16
+ //# sourceMappingURL=packer-file-DeJWrlcR.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"packer-file-DeJWrlcR.d.mts","names":[],"sources":["../src/hcl/components/packer-file.tsx"],"mappings":""}
@@ -0,0 +1,21 @@
1
+ //#region src/typescript/components/property-name.d.ts
2
+ interface PropertyNameProps {
3
+ /**
4
+ * The name of the property.
5
+ */
6
+ name?: string;
7
+ /**
8
+ * Whether the property is a private property. If `true`, the property will be prefixed with `#`.
9
+ */
10
+ private?: boolean;
11
+ }
12
+ /**
13
+ * A TypeScript property name for an interface, class, or object member.
14
+ *
15
+ * @remarks
16
+ * If the name is not a valid JavaScript identifier, it will be quoted. If a `name` prop is provided, it will be used as the property name. Otherwise, the name will be taken from the {@link (MemberDeclarationContext:variable)}.
17
+ */
18
+ declare function PropertyName(props: PropertyNameProps): import("@alloy-js/core").Children;
19
+ //#endregion
20
+ export { PropertyNameProps as n, PropertyName as t };
21
+ //# sourceMappingURL=property-name-bQ4hrXmQ.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"property-name-bQ4hrXmQ.d.cts","names":[],"sources":["../src/typescript/components/property-name.tsx"],"mappings":";UAsBiB;;;;EAIf;;;;EAKA;;;;;;;;iBASc,aAAa,OAAO,6CAAiB"}
@@ -0,0 +1,21 @@
1
+ //#region src/typescript/components/property-name.d.ts
2
+ interface PropertyNameProps {
3
+ /**
4
+ * The name of the property.
5
+ */
6
+ name?: string;
7
+ /**
8
+ * Whether the property is a private property. If `true`, the property will be prefixed with `#`.
9
+ */
10
+ private?: boolean;
11
+ }
12
+ /**
13
+ * A TypeScript property name for an interface, class, or object member.
14
+ *
15
+ * @remarks
16
+ * If the name is not a valid JavaScript identifier, it will be quoted. If a `name` prop is provided, it will be used as the property name. Otherwise, the name will be taken from the {@link (MemberDeclarationContext:variable)}.
17
+ */
18
+ declare function PropertyName(props: PropertyNameProps): import("@alloy-js/core").Children;
19
+ //#endregion
20
+ export { PropertyNameProps as n, PropertyName as t };
21
+ //# sourceMappingURL=property-name-bQ4hrXmQ.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"property-name-bQ4hrXmQ.d.mts","names":[],"sources":["../src/typescript/components/property-name.tsx"],"mappings":""}
@@ -0,0 +1,9 @@
1
+ import { Children } from "@alloy-js/core";
2
+ //#region src/typescript/components/record-expression.d.ts
3
+ interface RecordExpressionProps {
4
+ elementType: Children;
5
+ }
6
+ declare function RecordExpression({ elementType }: RecordExpressionProps): Children;
7
+ //#endregion
8
+ export { RecordExpressionProps as n, RecordExpression as t };
9
+ //# sourceMappingURL=record-expression-CECGDPCk.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"record-expression-CECGDPCk.d.cts","names":[],"sources":["../src/typescript/components/record-expression.tsx"],"mappings":";;UAqBiB;EACf,aAAa;;iBAGC,mBAAmB,eAAe,wBAAqB"}
@@ -0,0 +1,9 @@
1
+ import { Children } from "@alloy-js/core";
2
+ //#region src/typescript/components/record-expression.d.ts
3
+ interface RecordExpressionProps {
4
+ elementType: Children;
5
+ }
6
+ declare function RecordExpression({ elementType }: RecordExpressionProps): Children;
7
+ //#endregion
8
+ export { RecordExpressionProps as n, RecordExpression as t };
9
+ //# sourceMappingURL=record-expression-CECGDPCk.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"record-expression-CECGDPCk.d.mts","names":[],"sources":["../src/typescript/components/record-expression.tsx"],"mappings":""}
package/dist/render.cjs CHANGED
@@ -1 +1 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./render-Bh6nE1bo.cjs");exports.render=e.t;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./rolldown-runtime-CMqjfN_6.cjs"),t=require("./core/components/output.cjs");require("./core/index.cjs");let n=require("@alloy-js/core/jsx-runtime"),r=require("@alloy-js/core"),i=require("@power-plant/core/utils"),a=require("@stryke/helpers/noop"),o=require("@stryke/path/replace"),s=require("@stryke/string-format/list"),c=require("defu");c=e.t(c,1);async function l(e,l,u){let d={},{cwd:f,logger:p}=e,m=await(0,r.renderAsync)((0,n.createComponent)(t.Output,{context:e,spec:l,meta:d,children:u})),h=[];if(await(0,r.traverseOutput)(m,{visitDirectory:a.noop,visitFile:e=>h.push(e)}),!h.length)return p.debug(`No output files were rendered by the Alloy-js components.`),{};p.debug(`Rendering ${h.length} output files from Alloy-js components: ${(0,s.list)(h.map(e=>(0,o.replacePath)(e.path,f)))}.`);let g={};return await(0,r.traverseOutput)(m,{visitDirectory:a.noop,visitFile:e=>{if(`contents`in e){let t=d[e.path]??{};g[e.path]={path:e.path,language:(0,i.getLanguage)(e.path),source:[{content:e.contents,meta:t}]}}else if(e.sourcePath&&g[e.sourcePath]){let t=d[e.path]??{},n=(0,i.getLanguage)(e.path);g[e.path]={...g[e.sourcePath],language:n===`other`?g[e.sourcePath].language:n,path:e.path,source:g[e.sourcePath]?.source?.map(e=>(0,c.default)(e,{meta:t}))??[]}}}}),g}exports.render=l;
package/dist/render.mjs CHANGED
@@ -1 +1,2 @@
1
- import{t as e}from"./render-UH3hN5fr.mjs";export{e as render};
1
+ import{Output as e}from"./core/components/output.mjs";import"./core/index.mjs";import{createComponent as t}from"@alloy-js/core/jsx-runtime";import{renderAsync as n,traverseOutput as r}from"@alloy-js/core";import{getLanguage as i}from"@power-plant/core/utils";import{noop as a}from"@stryke/helpers/noop";import{replacePath as o}from"@stryke/path/replace";import{list as s}from"@stryke/string-format/list";import c from"defu";async function l(l,u,d){let f={},{cwd:p,logger:m}=l,h=await n(t(e,{context:l,spec:u,meta:f,children:d})),g=[];if(await r(h,{visitDirectory:a,visitFile:e=>g.push(e)}),!g.length)return m.debug(`No output files were rendered by the Alloy-js components.`),{};m.debug(`Rendering ${g.length} output files from Alloy-js components: ${s(g.map(e=>o(e.path,p)))}.`);let _={};return await r(h,{visitDirectory:a,visitFile:e=>{if(`contents`in e){let t=f[e.path]??{};_[e.path]={path:e.path,language:i(e.path),source:[{content:e.contents,meta:t}]}}else if(e.sourcePath&&_[e.sourcePath]){let t=f[e.path]??{},n=i(e.path);_[e.path]={..._[e.sourcePath],language:n===`other`?_[e.sourcePath].language:n,path:e.path,source:_[e.sourcePath]?.source?.map(e=>c(e,{meta:t}))??[]}}}}),_}export{l as render};
2
+ //# sourceMappingURL=render.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"render.mjs","names":[],"sources":[],"mappings":""}
@@ -0,0 +1 @@
1
+ var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},s=(n,r,a)=>(a=n==null?{}:e(i(n)),o(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n));Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return s}});
@@ -2,14 +2,14 @@ import { t as ComponentProps } from "./components-vJaCHt1A.mjs";
2
2
  import { SourceFileProps } from "@alloy-js/core";
3
3
  import { MetaConfig } from "@power-plant/core";
4
4
  //#region src/core/components/source-file.d.ts
5
- type SourceFileProps$1<TSpec, TOptions extends object> = SourceFileProps & ComponentProps & {
5
+ type SourceFileProps$1 = SourceFileProps & ComponentProps & {
6
6
  /**
7
7
  * The metadata associated with the source file.
8
8
  *
9
9
  * @remarks
10
10
  * The values stored in the metadata will be available in the rendering context.
11
11
  */
12
- meta?: MetaConfig<TSpec, TOptions>;
12
+ meta?: MetaConfig<any, any>;
13
13
  };
14
14
  /**
15
15
  * A base component representing a generated source file.
@@ -17,7 +17,7 @@ type SourceFileProps$1<TSpec, TOptions extends object> = SourceFileProps & Compo
17
17
  * @param props - The properties for the source file.
18
18
  * @returns The rendered source file component.
19
19
  */
20
- declare function SourceFile<TSpec, TOptions extends object>(props: SourceFileProps$1<TSpec, TOptions>): import("@alloy-js/core").Children;
20
+ declare function SourceFile$1(props: SourceFileProps$1): import("@alloy-js/core").Children;
21
21
  //#endregion
22
- export { SourceFileProps$1 as n, SourceFile as t };
23
- //# sourceMappingURL=source-file-DVILH8rC.d.mts.map
22
+ export { SourceFileProps$1 as n, SourceFile$1 as t };
23
+ //# sourceMappingURL=source-file-BiWHfxCC.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"source-file-BiWHfxCC.d.mts","names":[],"sources":["../src/core/components/source-file.tsx"],"mappings":""}
@@ -2,14 +2,14 @@ import { t as ComponentProps } from "./components-vJaCHt1A.cjs";
2
2
  import { SourceFileProps } from "@alloy-js/core";
3
3
  import { MetaConfig } from "@power-plant/core";
4
4
  //#region src/core/components/source-file.d.ts
5
- type SourceFileProps$1<TSpec, TOptions extends object> = SourceFileProps & ComponentProps & {
5
+ type SourceFileProps$1 = SourceFileProps & ComponentProps & {
6
6
  /**
7
7
  * The metadata associated with the source file.
8
8
  *
9
9
  * @remarks
10
10
  * The values stored in the metadata will be available in the rendering context.
11
11
  */
12
- meta?: MetaConfig<TSpec, TOptions>;
12
+ meta?: MetaConfig<any, any>;
13
13
  };
14
14
  /**
15
15
  * A base component representing a generated source file.
@@ -17,7 +17,7 @@ type SourceFileProps$1<TSpec, TOptions extends object> = SourceFileProps & Compo
17
17
  * @param props - The properties for the source file.
18
18
  * @returns The rendered source file component.
19
19
  */
20
- declare function SourceFile<TSpec, TOptions extends object>(props: SourceFileProps$1<TSpec, TOptions>): import("@alloy-js/core").Children;
20
+ declare function SourceFile(props: SourceFileProps$1): import("@alloy-js/core").Children;
21
21
  //#endregion
22
22
  export { SourceFileProps$1 as n, SourceFile as t };
23
- //# sourceMappingURL=source-file-CPJOENVo.d.cts.map
23
+ //# sourceMappingURL=source-file-DfP35Z8l.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"source-file-DfP35Z8l.d.cts","names":[],"sources":["../src/core/components/source-file.tsx"],"mappings":";;;;KAkCY,oBAAkB,kBAC5B;;;;;;;EAOE,OAAO;;;;;;;;iBASK,WAAW,OAAO,6CAAe"}
@@ -0,0 +1,17 @@
1
+ import { r as HCLFileProps } from "./hcl-file-CDeOXiO0.mjs";
2
+ import { PartialKeys } from "@stryke/types/base";
3
+ //#region src/hcl/components/terraform-file.d.ts
4
+ type TerraformFileProps = PartialKeys<HCLFileProps, "filetype">;
5
+ /**
6
+ * A base component representing a Powerlines generated [Terraform](https://developer.hashicorp.com/terraform/language) or [OpenTofu](https://opentofu.org/docs/language/) source file.
7
+ *
8
+ * @see https://developer.hashicorp.com/terraform
9
+ * @see https://opentofu.org
10
+ *
11
+ * @param props - The properties for the source file.
12
+ * @returns The rendered source file component.
13
+ */
14
+ declare function TerraformFile(props: TerraformFileProps): import("@alloy-js/core").Children;
15
+ //#endregion
16
+ export { TerraformFileProps as n, TerraformFile as t };
17
+ //# sourceMappingURL=terraform-file-DS0uAb5z.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"terraform-file-DS0uAb5z.d.mts","names":[],"sources":["../src/hcl/components/terraform-file.tsx"],"mappings":""}
@@ -0,0 +1,17 @@
1
+ import { r as HCLFileProps } from "./hcl-file-CxR4hw4B.cjs";
2
+ import { PartialKeys } from "@stryke/types/base";
3
+ //#region src/hcl/components/terraform-file.d.ts
4
+ type TerraformFileProps = PartialKeys<HCLFileProps, "filetype">;
5
+ /**
6
+ * A base component representing a Powerlines generated [Terraform](https://developer.hashicorp.com/terraform/language) or [OpenTofu](https://opentofu.org/docs/language/) source file.
7
+ *
8
+ * @see https://developer.hashicorp.com/terraform
9
+ * @see https://opentofu.org
10
+ *
11
+ * @param props - The properties for the source file.
12
+ * @returns The rendered source file component.
13
+ */
14
+ declare function TerraformFile(props: TerraformFileProps): import("@alloy-js/core").Children;
15
+ //#endregion
16
+ export { TerraformFileProps as n, TerraformFile as t };
17
+ //# sourceMappingURL=terraform-file-gr1_jJWO.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"terraform-file-gr1_jJWO.d.cts","names":[],"sources":["../src/hcl/components/terraform-file.tsx"],"mappings":";;;KAuBY,qBAAqB,YAAY;;;;;;;;;;iBAW7B,cAAc,OAAO,8CAAkB"}