@power-plant/alloy-js 0.0.6 → 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,52 @@
1
+ import { Children } from "@alloy-js/core";
2
+ //#region src/markdown/components/alert.d.ts
3
+ interface AlertProps {
4
+ variant: "note" | "tip" | "important" | "warning" | "caution";
5
+ children: Children;
6
+ }
7
+ /**
8
+ * Renders an alert component for a markdown file.
9
+ *
10
+ * @see https://github.blog/changelog/2023-12-14-new-markdown-extension-alerts-provide-distinctive-styling-for-significant-content/
11
+ * @see https://github.com/KeJunMao/vscode-markdown-alert
12
+ */
13
+ declare function Alert(props: AlertProps): Children;
14
+ type AlertVariantProps = Omit<AlertProps, "variant">;
15
+ /**
16
+ * Renders a Note alert component for a markdown file.
17
+ *
18
+ * @see https://github.blog/changelog/2023-12-14-new-markdown-extension-alerts-provide-distinctive-styling-for-significant-content/
19
+ * @see https://github.com/KeJunMao/vscode-markdown-alert
20
+ */
21
+ declare function NoteAlert(props: AlertVariantProps): Children;
22
+ /**
23
+ * Renders a Tip alert component for a markdown file.
24
+ *
25
+ * @see https://github.blog/changelog/2023-12-14-new-markdown-extension-alerts-provide-distinctive-styling-for-significant-content/
26
+ * @see https://github.com/KeJunMao/vscode-markdown-alert
27
+ */
28
+ declare function TipAlert(props: AlertVariantProps): Children;
29
+ /**
30
+ * Renders an Important alert component for a markdown file.
31
+ *
32
+ * @see https://github.blog/changelog/2023-12-14-new-markdown-extension-alerts-provide-distinctive-styling-for-significant-content/
33
+ * @see https://github.com/KeJunMao/vscode-markdown-alert
34
+ */
35
+ declare function ImportantAlert(props: AlertVariantProps): Children;
36
+ /**
37
+ * Renders a Warning alert component for a markdown file.
38
+ *
39
+ * @see https://github.blog/changelog/2023-12-14-new-markdown-extension-alerts-provide-distinctive-styling-for-significant-content/
40
+ * @see https://github.com/KeJunMao/vscode-markdown-alert
41
+ */
42
+ declare function WarningAlert(props: AlertVariantProps): Children;
43
+ /**
44
+ * Renders a Caution alert component for a markdown file.
45
+ *
46
+ * @see https://github.blog/changelog/2023-12-14-new-markdown-extension-alerts-provide-distinctive-styling-for-significant-content/
47
+ * @see https://github.com/KeJunMao/vscode-markdown-alert
48
+ */
49
+ declare function CautionAlert(props: AlertVariantProps): Children;
50
+ //#endregion
51
+ export { ImportantAlert as a, WarningAlert as c, CautionAlert as i, AlertProps as n, NoteAlert as o, AlertVariantProps as r, TipAlert as s, Alert as t };
52
+ //# sourceMappingURL=alert-BZRTtU1X.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"alert-BZRTtU1X.d.cts","names":[],"sources":["../src/markdown/components/alert.tsx"],"mappings":";;UAsBiB;EACf;EACA,UAAU;;;;;;;;iBASI,MAAM,OAAO,aAAU;KAY3B,oBAAoB,KAAK;;;;;;;iBAQrB,UAAU,OAAO,oBAAiB;;;;;;;iBAUlC,SAAS,OAAO,oBAAiB;;;;;;;iBAUjC,eAAe,OAAO,oBAAiB;;;;;;;iBAUvC,aAAa,OAAO,oBAAiB;;;;;;;iBAUrC,aAAa,OAAO,oBAAiB"}
@@ -0,0 +1,52 @@
1
+ import { Children } from "@alloy-js/core";
2
+ //#region src/markdown/components/alert.d.ts
3
+ interface AlertProps {
4
+ variant: "note" | "tip" | "important" | "warning" | "caution";
5
+ children: Children;
6
+ }
7
+ /**
8
+ * Renders an alert component for a markdown file.
9
+ *
10
+ * @see https://github.blog/changelog/2023-12-14-new-markdown-extension-alerts-provide-distinctive-styling-for-significant-content/
11
+ * @see https://github.com/KeJunMao/vscode-markdown-alert
12
+ */
13
+ declare function Alert(props: AlertProps): Children;
14
+ type AlertVariantProps = Omit<AlertProps, "variant">;
15
+ /**
16
+ * Renders a Note alert component for a markdown file.
17
+ *
18
+ * @see https://github.blog/changelog/2023-12-14-new-markdown-extension-alerts-provide-distinctive-styling-for-significant-content/
19
+ * @see https://github.com/KeJunMao/vscode-markdown-alert
20
+ */
21
+ declare function NoteAlert(props: AlertVariantProps): Children;
22
+ /**
23
+ * Renders a Tip alert component for a markdown file.
24
+ *
25
+ * @see https://github.blog/changelog/2023-12-14-new-markdown-extension-alerts-provide-distinctive-styling-for-significant-content/
26
+ * @see https://github.com/KeJunMao/vscode-markdown-alert
27
+ */
28
+ declare function TipAlert(props: AlertVariantProps): Children;
29
+ /**
30
+ * Renders an Important alert component for a markdown file.
31
+ *
32
+ * @see https://github.blog/changelog/2023-12-14-new-markdown-extension-alerts-provide-distinctive-styling-for-significant-content/
33
+ * @see https://github.com/KeJunMao/vscode-markdown-alert
34
+ */
35
+ declare function ImportantAlert(props: AlertVariantProps): Children;
36
+ /**
37
+ * Renders a Warning alert component for a markdown file.
38
+ *
39
+ * @see https://github.blog/changelog/2023-12-14-new-markdown-extension-alerts-provide-distinctive-styling-for-significant-content/
40
+ * @see https://github.com/KeJunMao/vscode-markdown-alert
41
+ */
42
+ declare function WarningAlert(props: AlertVariantProps): Children;
43
+ /**
44
+ * Renders a Caution alert component for a markdown file.
45
+ *
46
+ * @see https://github.blog/changelog/2023-12-14-new-markdown-extension-alerts-provide-distinctive-styling-for-significant-content/
47
+ * @see https://github.com/KeJunMao/vscode-markdown-alert
48
+ */
49
+ declare function CautionAlert(props: AlertVariantProps): Children;
50
+ //#endregion
51
+ export { ImportantAlert as a, WarningAlert as c, CautionAlert as i, AlertProps as n, NoteAlert as o, AlertVariantProps as r, TipAlert as s, Alert as t };
52
+ //# sourceMappingURL=alert-BZRTtU1X.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"alert-BZRTtU1X.d.mts","names":[],"sources":["../src/markdown/components/alert.tsx"],"mappings":""}
@@ -0,0 +1,19 @@
1
+ import { t as ComponentProps } from "./components-vJaCHt1A.cjs";
2
+ //#region src/hcl/components/block-declaration.d.ts
3
+ interface BlockDeclarationProps extends ComponentProps {
4
+ type: string;
5
+ label: string | string[];
6
+ }
7
+ /**
8
+ * A base component representing a block declaration in HCL. The children are rendered as a prose element, which means that they are broken into multiple lines. This component can be used to create more specific block declaration components, such as resource blocks, provider blocks, etc.
9
+ *
10
+ * @see https://developer.hashicorp.com/terraform/language#about-the-terraform-language
11
+ * @see https://opentofu.org/docs/language/attr-as-blocks/#summary
12
+ *
13
+ * @param props - The properties for the source file.
14
+ * @returns The rendered source file component.
15
+ */
16
+ declare function BlockDeclaration(props: BlockDeclarationProps): import("@alloy-js/core").Children;
17
+ //#endregion
18
+ export { BlockDeclarationProps as n, BlockDeclaration as t };
19
+ //# sourceMappingURL=block-declaration-DbMuMxXx.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"block-declaration-DbMuMxXx.d.cts","names":[],"sources":["../src/hcl/components/block-declaration.tsx"],"mappings":";;UAsBiB,8BAA8B;EAC7C;EACA;;;;;;;;;;;iBAYc,iBAAiB,OAAO,iDAAqB"}
@@ -0,0 +1,19 @@
1
+ import { t as ComponentProps } from "./components-vJaCHt1A.mjs";
2
+ //#region src/hcl/components/block-declaration.d.ts
3
+ interface BlockDeclarationProps extends ComponentProps {
4
+ type: string;
5
+ label: string | string[];
6
+ }
7
+ /**
8
+ * A base component representing a block declaration in HCL. The children are rendered as a prose element, which means that they are broken into multiple lines. This component can be used to create more specific block declaration components, such as resource blocks, provider blocks, etc.
9
+ *
10
+ * @see https://developer.hashicorp.com/terraform/language#about-the-terraform-language
11
+ * @see https://opentofu.org/docs/language/attr-as-blocks/#summary
12
+ *
13
+ * @param props - The properties for the source file.
14
+ * @returns The rendered source file component.
15
+ */
16
+ declare function BlockDeclaration(props: BlockDeclarationProps): import("@alloy-js/core").Children;
17
+ //#endregion
18
+ export { BlockDeclarationProps as n, BlockDeclaration as t };
19
+ //# sourceMappingURL=block-declaration-Yq4hWFFT.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"block-declaration-Yq4hWFFT.d.mts","names":[],"sources":["../src/hcl/components/block-declaration.tsx"],"mappings":""}
@@ -0,0 +1,139 @@
1
+ import { t as TypeParameters } from "./type-parameters-BzCDG9lT.mjs";
2
+ import { Children, Namekey, Refkey } from "@alloy-js/core";
3
+ import { CallSignatureProps, CommonDeclarationProps, TypeParameterDescriptor } from "@alloy-js/typescript";
4
+ //#region src/typescript/components/class-declaration.d.ts
5
+ /**
6
+ * Props for the ClassDeclaration component, which represents a TypeScript class declaration
7
+ */
8
+ interface ClassDeclarationProps extends CommonDeclarationProps {
9
+ /**
10
+ * An indication of whether this class is abstract
11
+ */
12
+ abstract?: boolean;
13
+ /**
14
+ * An optional class that this class extends. This will be rendered as an `extends` clause in the class declaration
15
+ */
16
+ extends?: Children;
17
+ /**
18
+ * Optional interfaces that this class implements. This will be rendered as an `implements` clause in the class declaration
19
+ */
20
+ implements?: Children[];
21
+ /**
22
+ * The generic type parameters of the class.
23
+ */
24
+ typeParameters?: TypeParameterDescriptor[] | string[];
25
+ }
26
+ /**
27
+ * Create a TypeScript class declaration.
28
+ *
29
+ * @example
30
+ * ```tsx
31
+ * const myPetRefkey = refkey();
32
+ * const Animal = refkey();
33
+ * const staticMember = refkey();
34
+ * const instanceMember = refkey();
35
+ *
36
+ * <ClassDeclaration name="Animal" refkey={Animal}>
37
+ * <ClassMember public static name="something" type="string" refkey={staticMember}>
38
+ * "hello"
39
+ * </ClassMember>
40
+ * <ClassMember public name="kind" type="string" />
41
+ * <ClassMember public name="name" type="string" refkey={instanceMember} />
42
+ * <ClassConstructor parameters="name: string">
43
+ * this.name = name;
44
+ * </ClassConstructor>
45
+ * </ClassDeclaration>
46
+ *
47
+ * <VarDeclaration const name="myPet" refkey={myPetRefkey}>
48
+ * new {Animal}();
49
+ * </VarDeclaration>
50
+ *
51
+ * {staticMember}; // Animal.something
52
+ * <MemberReference path={[myPetRefkey, instanceMember]} /> // myPet.name
53
+ * {memberRefkey(myPetRefkey, instanceMember)}
54
+ * ```
55
+ */
56
+ declare function ClassDeclaration(props: ClassDeclarationProps): Children;
57
+ declare namespace ClassDeclaration {
58
+ var TypeParameters: typeof TypeParameters;
59
+ }
60
+ /**
61
+ * Generates a TypeScript class member declaration for the given reflection class.
62
+ */
63
+ interface ClassMemberProps {
64
+ name: string | Namekey;
65
+ refkey?: Refkey;
66
+ public?: boolean;
67
+ private?: boolean;
68
+ protected?: boolean;
69
+ jsPrivate?: boolean;
70
+ static?: boolean;
71
+ abstract?: boolean;
72
+ children?: Children;
73
+ doc?: Children;
74
+ nullish?: boolean;
75
+ override?: boolean;
76
+ }
77
+ /**
78
+ * Generates a TypeScript class member declaration for the given reflection class.
79
+ *
80
+ * @param props - The properties of the class member, including its name, visibility, and other modifiers.
81
+ * @returns A JSX element representing the class member declaration, which can be used within a ClassDeclaration component.
82
+ */
83
+ declare function ClassMember(props: ClassMemberProps): Children;
84
+ /**
85
+ * Props for a class field, which is a specific type of class member that represents a property of the class.
86
+ */
87
+ interface ClassFieldProps extends ClassMemberProps {
88
+ name: string;
89
+ type?: Children;
90
+ optional?: boolean;
91
+ children?: Children;
92
+ isPrivateMember?: boolean;
93
+ }
94
+ /**
95
+ * Generates a TypeScript class field declaration for the given reflection class.
96
+ *
97
+ * @param props - The properties of the class field, including its name, type, optionality, and other modifiers.
98
+ * @returns A JSX element representing the class field declaration, which can be used within a ClassDeclaration component.
99
+ */
100
+ declare function ClassField(props: ClassFieldProps): Children;
101
+ /**
102
+ * Props for a class field, which is a specific type of class member that represents a property of the class.
103
+ */
104
+ interface ClassPropertyProps extends ClassMemberProps {
105
+ name: string;
106
+ type?: Children;
107
+ children?: Children;
108
+ }
109
+ /**
110
+ * Generates a TypeScript class property setter declaration for the given reflection class.
111
+ *
112
+ * @param props - The properties of the class property, including its name, type, and other modifiers.
113
+ * @returns A JSX element representing the class property setter declaration, which can be used within a ClassDeclaration component.
114
+ */
115
+ declare function ClassPropertySet(props: ClassPropertyProps): Children;
116
+ /**
117
+ * Generates a TypeScript class property getter declaration for the given reflection class.
118
+ *
119
+ * @param props - The properties of the class property, including its name, type, and other modifiers.
120
+ * @returns A JSX element representing the class property getter declaration, which can be used within a ClassDeclaration component.
121
+ */
122
+ declare function ClassPropertyGet(props: ClassPropertyProps): Children;
123
+ /**
124
+ * Props for a class method, which is a specific type of class member that represents a function defined within the class.
125
+ */
126
+ interface ClassMethodProps extends ClassMemberProps, CallSignatureProps {
127
+ async?: boolean;
128
+ children?: Children;
129
+ }
130
+ /**
131
+ * Generates a TypeScript class method declaration for the given reflection class.
132
+ *
133
+ * @param props - The properties of the class method, including its name, visibility, and other modifiers.
134
+ * @returns A JSX element representing the class method declaration, which can be used within a ClassDeclaration component.
135
+ */
136
+ declare function ClassMethod(props: ClassMethodProps): Children;
137
+ //#endregion
138
+ export { ClassMember as a, ClassMethodProps as c, ClassPropertySet as d, ClassFieldProps as i, ClassPropertyGet as l, ClassDeclarationProps as n, ClassMemberProps as o, ClassField as r, ClassMethod as s, ClassDeclaration as t, ClassPropertyProps as u };
139
+ //# sourceMappingURL=class-declaration-CL5quGqz.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"class-declaration-CL5quGqz.d.mts","names":[],"sources":["../src/typescript/components/class-declaration.tsx"],"mappings":""}
@@ -0,0 +1,139 @@
1
+ import { t as TypeParameters } from "./type-parameters-BzCDG9lT.cjs";
2
+ import { Children, Namekey, Refkey } from "@alloy-js/core";
3
+ import { CallSignatureProps, CommonDeclarationProps, TypeParameterDescriptor } from "@alloy-js/typescript";
4
+ //#region src/typescript/components/class-declaration.d.ts
5
+ /**
6
+ * Props for the ClassDeclaration component, which represents a TypeScript class declaration
7
+ */
8
+ interface ClassDeclarationProps extends CommonDeclarationProps {
9
+ /**
10
+ * An indication of whether this class is abstract
11
+ */
12
+ abstract?: boolean;
13
+ /**
14
+ * An optional class that this class extends. This will be rendered as an `extends` clause in the class declaration
15
+ */
16
+ extends?: Children;
17
+ /**
18
+ * Optional interfaces that this class implements. This will be rendered as an `implements` clause in the class declaration
19
+ */
20
+ implements?: Children[];
21
+ /**
22
+ * The generic type parameters of the class.
23
+ */
24
+ typeParameters?: TypeParameterDescriptor[] | string[];
25
+ }
26
+ /**
27
+ * Create a TypeScript class declaration.
28
+ *
29
+ * @example
30
+ * ```tsx
31
+ * const myPetRefkey = refkey();
32
+ * const Animal = refkey();
33
+ * const staticMember = refkey();
34
+ * const instanceMember = refkey();
35
+ *
36
+ * <ClassDeclaration name="Animal" refkey={Animal}>
37
+ * <ClassMember public static name="something" type="string" refkey={staticMember}>
38
+ * "hello"
39
+ * </ClassMember>
40
+ * <ClassMember public name="kind" type="string" />
41
+ * <ClassMember public name="name" type="string" refkey={instanceMember} />
42
+ * <ClassConstructor parameters="name: string">
43
+ * this.name = name;
44
+ * </ClassConstructor>
45
+ * </ClassDeclaration>
46
+ *
47
+ * <VarDeclaration const name="myPet" refkey={myPetRefkey}>
48
+ * new {Animal}();
49
+ * </VarDeclaration>
50
+ *
51
+ * {staticMember}; // Animal.something
52
+ * <MemberReference path={[myPetRefkey, instanceMember]} /> // myPet.name
53
+ * {memberRefkey(myPetRefkey, instanceMember)}
54
+ * ```
55
+ */
56
+ declare function ClassDeclaration(props: ClassDeclarationProps): Children;
57
+ declare namespace ClassDeclaration {
58
+ var TypeParameters: typeof TypeParameters;
59
+ }
60
+ /**
61
+ * Generates a TypeScript class member declaration for the given reflection class.
62
+ */
63
+ interface ClassMemberProps {
64
+ name: string | Namekey;
65
+ refkey?: Refkey;
66
+ public?: boolean;
67
+ private?: boolean;
68
+ protected?: boolean;
69
+ jsPrivate?: boolean;
70
+ static?: boolean;
71
+ abstract?: boolean;
72
+ children?: Children;
73
+ doc?: Children;
74
+ nullish?: boolean;
75
+ override?: boolean;
76
+ }
77
+ /**
78
+ * Generates a TypeScript class member declaration for the given reflection class.
79
+ *
80
+ * @param props - The properties of the class member, including its name, visibility, and other modifiers.
81
+ * @returns A JSX element representing the class member declaration, which can be used within a ClassDeclaration component.
82
+ */
83
+ declare function ClassMember(props: ClassMemberProps): Children;
84
+ /**
85
+ * Props for a class field, which is a specific type of class member that represents a property of the class.
86
+ */
87
+ interface ClassFieldProps extends ClassMemberProps {
88
+ name: string;
89
+ type?: Children;
90
+ optional?: boolean;
91
+ children?: Children;
92
+ isPrivateMember?: boolean;
93
+ }
94
+ /**
95
+ * Generates a TypeScript class field declaration for the given reflection class.
96
+ *
97
+ * @param props - The properties of the class field, including its name, type, optionality, and other modifiers.
98
+ * @returns A JSX element representing the class field declaration, which can be used within a ClassDeclaration component.
99
+ */
100
+ declare function ClassField(props: ClassFieldProps): Children;
101
+ /**
102
+ * Props for a class field, which is a specific type of class member that represents a property of the class.
103
+ */
104
+ interface ClassPropertyProps extends ClassMemberProps {
105
+ name: string;
106
+ type?: Children;
107
+ children?: Children;
108
+ }
109
+ /**
110
+ * Generates a TypeScript class property setter declaration for the given reflection class.
111
+ *
112
+ * @param props - The properties of the class property, including its name, type, and other modifiers.
113
+ * @returns A JSX element representing the class property setter declaration, which can be used within a ClassDeclaration component.
114
+ */
115
+ declare function ClassPropertySet(props: ClassPropertyProps): Children;
116
+ /**
117
+ * Generates a TypeScript class property getter declaration for the given reflection class.
118
+ *
119
+ * @param props - The properties of the class property, including its name, type, and other modifiers.
120
+ * @returns A JSX element representing the class property getter declaration, which can be used within a ClassDeclaration component.
121
+ */
122
+ declare function ClassPropertyGet(props: ClassPropertyProps): Children;
123
+ /**
124
+ * Props for a class method, which is a specific type of class member that represents a function defined within the class.
125
+ */
126
+ interface ClassMethodProps extends ClassMemberProps, CallSignatureProps {
127
+ async?: boolean;
128
+ children?: Children;
129
+ }
130
+ /**
131
+ * Generates a TypeScript class method declaration for the given reflection class.
132
+ *
133
+ * @param props - The properties of the class method, including its name, visibility, and other modifiers.
134
+ * @returns A JSX element representing the class method declaration, which can be used within a ClassDeclaration component.
135
+ */
136
+ declare function ClassMethod(props: ClassMethodProps): Children;
137
+ //#endregion
138
+ export { ClassMember as a, ClassMethodProps as c, ClassPropertySet as d, ClassFieldProps as i, ClassPropertyGet as l, ClassDeclarationProps as n, ClassMemberProps as o, ClassField as r, ClassMethod as s, ClassDeclaration as t, ClassPropertyProps as u };
139
+ //# sourceMappingURL=class-declaration-G7ncTlSj.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"class-declaration-G7ncTlSj.d.cts","names":[],"sources":["../src/typescript/components/class-declaration.tsx"],"mappings":";;;;;;;UAoDiB,8BAA8B;;;;EAI7C;;;;EAKA,UAAU;;;;EAKV,aAAa;;;;EAKb,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAiCH,iBAAiB,OAAO,wBAAqB;kBAA7C;6BAAA;;;;;UA4CC;EACf,eAAe;EACf,SAAS;EACT;EACA;EACA;EACA;EACA;EACA;EACA,WAAW;EACX,MAAM;EACN;EACA;;;;;;;;iBASc,YAAY,OAAO,mBAAgB;;;;UAiClC,wBAAwB;EACvC;EACA,OAAO;EACP;EACA,WAAW;EACX;;;;;;;;iBASc,WAAW,OAAO,kBAAe;;;;UAyBhC,2BAA2B;EAC1C;EACA,OAAO;EACP,WAAW;;;;;;;;iBASG,iBAAiB,OAAO,qBAAkB;;;;;;;iBA4B1C,iBAAiB,OAAO,qBAAkB;;;;UAkBzC,yBAAyB,kBAAkB;EAC1D;EACA,WAAW;;;;;;;;iBASG,YAAY,OAAO,mBAAgB"}
@@ -0,0 +1,11 @@
1
+ //#region src/typescript/types/components.d.ts
2
+ interface TypescriptFileImportItem {
3
+ name: string;
4
+ default?: boolean;
5
+ alias?: string;
6
+ type?: boolean;
7
+ }
8
+ type TypescriptFileImports = Record<string, null | string | Array<TypescriptFileImportItem | string>>;
9
+ //#endregion
10
+ export { TypescriptFileImports as n, TypescriptFileImportItem as t };
11
+ //# sourceMappingURL=components-D8UkrP5Q.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components-D8UkrP5Q.d.cts","names":[],"sources":["../src/typescript/types/components.ts"],"mappings":";UAkBiB;EACf;EACA;EACA;EACA;;KAGU,wBAAwB,+BAElB,MAAM"}
@@ -0,0 +1,11 @@
1
+ //#region src/typescript/types/components.d.ts
2
+ interface TypescriptFileImportItem {
3
+ name: string;
4
+ default?: boolean;
5
+ alias?: string;
6
+ type?: boolean;
7
+ }
8
+ type TypescriptFileImports = Record<string, null | string | Array<TypescriptFileImportItem | string>>;
9
+ //#endregion
10
+ export { TypescriptFileImports as n, TypescriptFileImportItem as t };
11
+ //# sourceMappingURL=components-D8UkrP5Q.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components-D8UkrP5Q.d.mts","names":[],"sources":["../src/typescript/types/components.ts"],"mappings":""}
@@ -1 +1 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../../source-file-K_2P7eFP.cjs"),t=require("./output.cjs"),n=require("./single-line-comment.cjs"),r=require("./spacing.cjs");exports.Output=t.Output,exports.SingleLineComment=n.SingleLineComment,exports.SourceFile=e.t,exports.Spacing=r.Spacing;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./output.cjs"),t=require("./single-line-comment.cjs"),n=require("./source-file.cjs"),r=require("./spacing.cjs");exports.Output=e.Output,exports.SingleLineComment=t.SingleLineComment,exports.SourceFile=n.SourceFile,exports.Spacing=r.Spacing;
@@ -1,5 +1,5 @@
1
1
  import { n as OutputProps, t as Output } from "../../output-BFL54LWl.cjs";
2
2
  import { n as SingleLineCommentProps, r as SingleLineCommentVariant, t as SingleLineComment } from "../../single-line-comment-BbbyteDv.cjs";
3
- import { n as SourceFileProps, t as SourceFile } from "../../source-file-CPJOENVo.cjs";
3
+ import { n as SourceFileProps, t as SourceFile } from "../../source-file-DfP35Z8l.cjs";
4
4
  import { n as SpacingProps, t as Spacing } from "../../spacing-HIHoQdxS.cjs";
5
5
  export { Output, OutputProps, SingleLineComment, SingleLineCommentProps, SingleLineCommentVariant, SourceFile, SourceFileProps, Spacing, SpacingProps };
@@ -1,5 +1,5 @@
1
1
  import { n as OutputProps, t as Output } from "../../output-CIbYv2pQ.mjs";
2
2
  import { n as SingleLineCommentProps, r as SingleLineCommentVariant, t as SingleLineComment } from "../../single-line-comment-DB4XWAmh.mjs";
3
- import { n as SourceFileProps, t as SourceFile } from "../../source-file-DVILH8rC.mjs";
3
+ import { n as SourceFileProps, t as SourceFile } from "../../source-file-BiWHfxCC.mjs";
4
4
  import { n as SpacingProps, t as Spacing } from "../../spacing-HIHoQdxS.mjs";
5
5
  export { Output, OutputProps, SingleLineComment, SingleLineCommentProps, SingleLineCommentVariant, SourceFile, SourceFileProps, Spacing, SpacingProps };
@@ -1 +1 @@
1
- import{t as e}from"../../source-file-t3itBybg.mjs";import{Output as t}from"./output.mjs";import{SingleLineComment as n}from"./single-line-comment.mjs";import{Spacing as r}from"./spacing.mjs";export{t as Output,n as SingleLineComment,e as SourceFile,r as Spacing};
1
+ import{Output as e}from"./output.mjs";import{SingleLineComment as t}from"./single-line-comment.mjs";import{SourceFile as n}from"./source-file.mjs";import{Spacing as r}from"./spacing.mjs";export{e as Output,t as SingleLineComment,n as SourceFile,r as Spacing};
@@ -1 +1 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../../source-file-K_2P7eFP.cjs");exports.SourceFile=e.t;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../../rolldown-runtime-CMqjfN_6.cjs"),t=require("../contexts/meta.cjs");let n=require("@alloy-js/core/jsx-runtime"),r=require("@alloy-js/core"),i=require("defu");i=e.t(i,1);let a=require("@stryke/path/append");function o(e){let[{children:o,meta:s,path:c,header:l,filetype:u,reference:d}]=(0,r.splitProps)(e,[`children`,`meta`,`path`,`header`,`filetype`,`reference`]),f=t.useMeta(),p=(0,r.useContext)(r.SourceDirectoryContext),m={path:(0,a.appendPath)(c,p.path),filetype:u,reference:d};p?.addContent(m);let h=(0,r.useFormatOptions)({printWidth:e.printWidth,tabWidth:e.tabWidth,useTabs:e.useTabs,insertFinalNewLine:e.insertFinalNewLine}),g=(0,r.getContext)();return g.meta=(0,i.default)({sourceFile:m,printOptions:h},s??{}),f&&(f[m.path]={...s??{}}),(0,n.createComponent)(r.SourceFileContext.Provider,{value:m,get children(){return[(0,n.createComponent)(r.Show,{when:l!==void 0,get children(){return[l,(0,n.createIntrinsic)(`hbr`,{})]}}),o]}})}exports.SourceFile=o;
@@ -1,2 +1,2 @@
1
- import { n as SourceFileProps, t as SourceFile } from "../../source-file-CPJOENVo.cjs";
1
+ import { n as SourceFileProps, t as SourceFile } from "../../source-file-DfP35Z8l.cjs";
2
2
  export { SourceFile, SourceFileProps };
@@ -1,2 +1,2 @@
1
- import { n as SourceFileProps, t as SourceFile } from "../../source-file-DVILH8rC.mjs";
1
+ import { n as SourceFileProps, t as SourceFile } from "../../source-file-BiWHfxCC.mjs";
2
2
  export { SourceFile, SourceFileProps };
@@ -1 +1,2 @@
1
- import{t as e}from"../../source-file-t3itBybg.mjs";export{e as SourceFile};
1
+ import{useMeta as e}from"../contexts/meta.mjs";import{createComponent as t,createIntrinsic as n}from"@alloy-js/core/jsx-runtime";import{Show as r,SourceDirectoryContext as i,SourceFileContext as a,getContext as o,splitProps as s,useContext as c,useFormatOptions as l}from"@alloy-js/core";import u from"defu";import{appendPath as d}from"@stryke/path/append";function f(f){let[{children:p,meta:m,path:h,header:g,filetype:_,reference:v}]=s(f,[`children`,`meta`,`path`,`header`,`filetype`,`reference`]),y=e(),b=c(i),x={path:d(h,b.path),filetype:_,reference:v};b?.addContent(x);let S=l({printWidth:f.printWidth,tabWidth:f.tabWidth,useTabs:f.useTabs,insertFinalNewLine:f.insertFinalNewLine}),C=o();return C.meta=u({sourceFile:x,printOptions:S},m??{}),y&&(y[x.path]={...m??{}}),t(a.Provider,{value:x,get children(){return[t(r,{when:g!==void 0,get children(){return[g,n(`hbr`,{})]}}),p]}})}export{f as SourceFile};
2
+ //# sourceMappingURL=source-file.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"source-file.mjs","names":[],"sources":[],"mappings":""}
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),exports.HEADER_TEXT_LINE_1=`Generated by Power Plant`,exports.HEADER_TEXT_LINE_2=`Please do not edit this file manually - it will be automatically overwritten the next time the generator is run.`;
@@ -0,0 +1,12 @@
1
+ //#region src/core/helpers/header-constants.d.ts
2
+ /**
3
+ * The first line of the header text.
4
+ */
5
+ declare const HEADER_TEXT_LINE_1 = "Generated by Power Plant";
6
+ /**
7
+ * The second line of the header text.
8
+ */
9
+ declare const HEADER_TEXT_LINE_2 = "Please do not edit this file manually - it will be automatically overwritten the next time the generator is run.";
10
+ //#endregion
11
+ export { HEADER_TEXT_LINE_1, HEADER_TEXT_LINE_2 };
12
+ //# sourceMappingURL=header-constants.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"header-constants.d.cts","names":[],"sources":["../../../src/core/helpers/header-constants.ts"],"mappings":";;;;cAqBa;;;;cAKA"}
@@ -0,0 +1,12 @@
1
+ //#region src/core/helpers/header-constants.d.ts
2
+ /**
3
+ * The first line of the header text.
4
+ */
5
+ declare const HEADER_TEXT_LINE_1 = "Generated by Power Plant";
6
+ /**
7
+ * The second line of the header text.
8
+ */
9
+ declare const HEADER_TEXT_LINE_2 = "Please do not edit this file manually - it will be automatically overwritten the next time the generator is run.";
10
+ //#endregion
11
+ export { HEADER_TEXT_LINE_1, HEADER_TEXT_LINE_2 };
12
+ //# sourceMappingURL=header-constants.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"header-constants.d.mts","names":[],"sources":["../../../src/core/helpers/header-constants.ts"],"mappings":""}
@@ -0,0 +1,2 @@
1
+ const e=`Generated by Power Plant`,t=`Please do not edit this file manually - it will be automatically overwritten the next time the generator is run.`;export{e as HEADER_TEXT_LINE_1,t as HEADER_TEXT_LINE_2};
2
+ //# sourceMappingURL=header-constants.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"header-constants.mjs","names":[],"sources":[],"mappings":""}
@@ -1 +1 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../source-file-K_2P7eFP.cjs"),t=require("./contexts/execution.cjs"),n=require("./contexts/meta.cjs"),r=require("./components/output.cjs"),i=require("./components/single-line-comment.cjs"),a=require("./components/spacing.cjs");require("./components/index.cjs");const o=require("./contexts/schema.cjs"),s=require("./contexts/session.cjs");require("./contexts/index.cjs");const c=require("./helpers/code.cjs");require("./helpers/index.cjs"),exports.ExecutionContext=t.ExecutionContext,exports.MetaContext=n.MetaContext,exports.Output=r.Output,exports.SchemaContext=o.SchemaContext,exports.SchemaPropertyContext=o.SchemaPropertyContext,exports.SessionContext=s.SessionContext,exports.SingleLineComment=i.SingleLineComment,exports.SourceFile=e.t,exports.Spacing=a.Spacing,exports.code=c.code,exports.useDevice=s.useDevice,exports.useDeviceSafe=s.useDeviceSafe,exports.useExecution=t.useExecution,exports.useExecutionSafe=t.useExecutionSafe,exports.useMeta=n.useMeta,exports.useMetaSafe=n.useMetaSafe,exports.useSchema=o.useSchema,exports.useSchemaProperty=o.useSchemaProperty,exports.useSchemaPropertySafe=o.useSchemaPropertySafe,exports.useSchemaSafe=o.useSchemaSafe,exports.useSession=s.useSession,exports.useSessionSafe=s.useSessionSafe,exports.useTenant=s.useTenant,exports.useTenantSafe=s.useTenantSafe,exports.useUser=s.useUser,exports.useUserSafe=s.useUserSafe;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./contexts/execution.cjs"),t=require("./contexts/meta.cjs"),n=require("./components/output.cjs"),r=require("./components/single-line-comment.cjs"),i=require("./components/source-file.cjs"),a=require("./components/spacing.cjs");require("./components/index.cjs");const o=require("./contexts/schema.cjs"),s=require("./contexts/session.cjs");require("./contexts/index.cjs");const c=require("./helpers/code.cjs");require("./helpers/index.cjs"),exports.ExecutionContext=e.ExecutionContext,exports.MetaContext=t.MetaContext,exports.Output=n.Output,exports.SchemaContext=o.SchemaContext,exports.SchemaPropertyContext=o.SchemaPropertyContext,exports.SessionContext=s.SessionContext,exports.SingleLineComment=r.SingleLineComment,exports.SourceFile=i.SourceFile,exports.Spacing=a.Spacing,exports.code=c.code,exports.useDevice=s.useDevice,exports.useDeviceSafe=s.useDeviceSafe,exports.useExecution=e.useExecution,exports.useExecutionSafe=e.useExecutionSafe,exports.useMeta=t.useMeta,exports.useMetaSafe=t.useMetaSafe,exports.useSchema=o.useSchema,exports.useSchemaProperty=o.useSchemaProperty,exports.useSchemaPropertySafe=o.useSchemaPropertySafe,exports.useSchemaSafe=o.useSchemaSafe,exports.useSession=s.useSession,exports.useSessionSafe=s.useSessionSafe,exports.useTenant=s.useTenant,exports.useTenantSafe=s.useTenantSafe,exports.useUser=s.useUser,exports.useUserSafe=s.useUserSafe;
@@ -1,6 +1,6 @@
1
1
  import { n as OutputProps, t as Output } from "../output-BFL54LWl.cjs";
2
2
  import { n as SingleLineCommentProps, r as SingleLineCommentVariant, t as SingleLineComment } from "../single-line-comment-BbbyteDv.cjs";
3
- import { n as SourceFileProps, t as SourceFile } from "../source-file-CPJOENVo.cjs";
3
+ import { n as SourceFileProps, t as SourceFile } from "../source-file-DfP35Z8l.cjs";
4
4
  import { n as SpacingProps, t as Spacing } from "../spacing-HIHoQdxS.cjs";
5
5
  import "./components/index.cjs";
6
6
  import { n as useExecution, r as useExecutionSafe, t as ExecutionContext } from "../execution-BGY24cO8.cjs";
@@ -1,6 +1,6 @@
1
1
  import { n as OutputProps, t as Output } from "../output-CIbYv2pQ.mjs";
2
2
  import { n as SingleLineCommentProps, r as SingleLineCommentVariant, t as SingleLineComment } from "../single-line-comment-DB4XWAmh.mjs";
3
- import { n as SourceFileProps, t as SourceFile } from "../source-file-DVILH8rC.mjs";
3
+ import { n as SourceFileProps, t as SourceFile } from "../source-file-BiWHfxCC.mjs";
4
4
  import { n as SpacingProps, t as Spacing } from "../spacing-HIHoQdxS.mjs";
5
5
  import "./components/index.mjs";
6
6
  import { n as useExecution, r as useExecutionSafe, t as ExecutionContext } from "../execution-BGY24cO8.mjs";
@@ -1 +1 @@
1
- import{t as e}from"../source-file-t3itBybg.mjs";import{ExecutionContext as t,useExecution as n,useExecutionSafe as r}from"./contexts/execution.mjs";import{MetaContext as i,useMeta as a,useMetaSafe as o}from"./contexts/meta.mjs";import{Output as s}from"./components/output.mjs";import{SingleLineComment as c}from"./components/single-line-comment.mjs";import{Spacing as l}from"./components/spacing.mjs";import"./components/index.mjs";import{SchemaContext as u,SchemaPropertyContext as d,useSchema as f,useSchemaProperty as p,useSchemaPropertySafe as m,useSchemaSafe as h}from"./contexts/schema.mjs";import{SessionContext as g,useDevice as _,useDeviceSafe as v,useSession as y,useSessionSafe as b,useTenant as x,useTenantSafe as S,useUser as C,useUserSafe as w}from"./contexts/session.mjs";import"./contexts/index.mjs";import{code as T}from"./helpers/code.mjs";import"./helpers/index.mjs";export{t as ExecutionContext,i as MetaContext,s as Output,u as SchemaContext,d as SchemaPropertyContext,g as SessionContext,c as SingleLineComment,e as SourceFile,l as Spacing,T as code,_ as useDevice,v as useDeviceSafe,n as useExecution,r as useExecutionSafe,a as useMeta,o as useMetaSafe,f as useSchema,p as useSchemaProperty,m as useSchemaPropertySafe,h as useSchemaSafe,y as useSession,b as useSessionSafe,x as useTenant,S as useTenantSafe,C as useUser,w as useUserSafe};
1
+ import{ExecutionContext as e,useExecution as t,useExecutionSafe as n}from"./contexts/execution.mjs";import{MetaContext as r,useMeta as i,useMetaSafe as a}from"./contexts/meta.mjs";import{Output as o}from"./components/output.mjs";import{SingleLineComment as s}from"./components/single-line-comment.mjs";import{SourceFile as c}from"./components/source-file.mjs";import{Spacing as l}from"./components/spacing.mjs";import"./components/index.mjs";import{SchemaContext as u,SchemaPropertyContext as d,useSchema as f,useSchemaProperty as p,useSchemaPropertySafe as m,useSchemaSafe as h}from"./contexts/schema.mjs";import{SessionContext as g,useDevice as _,useDeviceSafe as v,useSession as y,useSessionSafe as b,useTenant as x,useTenantSafe as S,useUser as C,useUserSafe as w}from"./contexts/session.mjs";import"./contexts/index.mjs";import{code as T}from"./helpers/code.mjs";import"./helpers/index.mjs";export{e as ExecutionContext,r as MetaContext,o as Output,u as SchemaContext,d as SchemaPropertyContext,g as SessionContext,s as SingleLineComment,c as SourceFile,l as Spacing,T as code,_ as useDevice,v as useDeviceSafe,t as useExecution,n as useExecutionSafe,i as useMeta,a as useMetaSafe,f as useSchema,p as useSchemaProperty,m as useSchemaPropertySafe,h as useSchemaSafe,y as useSession,b as useSessionSafe,x as useTenant,S as useTenantSafe,C as useUser,w as useUserSafe};