@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,163 @@
1
+ import { t as ComponentProps } from "./components-vJaCHt1A.cjs";
2
+ import { Children } from "@alloy-js/core";
3
+ import { JsonSchemaPrimitiveType } from "@power-plant/schema";
4
+ import { JSDocExampleProps, ParameterDescriptor } from "@alloy-js/typescript";
5
+ //#region src/typescript/components/tsdoc.d.ts
6
+ interface TSDocProps extends ComponentProps {
7
+ heading?: Children;
8
+ }
9
+ /**
10
+ * Generates a TypeScript interface for the given reflection class.
11
+ */
12
+ declare function TSDoc(props: TSDocProps): Children;
13
+ interface TSDocTagProps extends ComponentProps {
14
+ tag: string;
15
+ }
16
+ /**
17
+ * Create a TSDoc `@<props.tag>` tag.
18
+ */
19
+ declare function TSDocTag(props: TSDocTagProps): Children;
20
+ interface TSDocParamsProps {
21
+ parameters: ParameterDescriptor[] | string[];
22
+ }
23
+ /**
24
+ * A component that creates a TSDoc block with `@param` tags for each parameter.
25
+ */
26
+ declare function TSDocParams(props: TSDocParamsProps): Children;
27
+ /**
28
+ * Create a TSDoc `@title` tag.
29
+ */
30
+ declare function TSDocTitle(props: ComponentProps): Children;
31
+ /**
32
+ * Create a TSDoc `@domain` tag.
33
+ */
34
+ declare function TSDocDomain(props: ComponentProps): Children;
35
+ /**
36
+ * Create a TSDoc `@alias` tag.
37
+ */
38
+ declare function TSDocAlias(props: ComponentProps): Children;
39
+ /**
40
+ * Create a TSDoc `@permission` tag.
41
+ */
42
+ declare function TSDocPermission(props: ComponentProps): Children;
43
+ /**
44
+ * Create a TSDoc `@group` tag.
45
+ */
46
+ declare function TSDocGroup(props: ComponentProps): Children;
47
+ interface TSDocDefaultValueProps extends ComponentProps {
48
+ type?: JsonSchemaPrimitiveType | string;
49
+ defaultValue: any;
50
+ }
51
+ /**
52
+ * Create a TSDoc `@defaultValue` tag.
53
+ */
54
+ declare function TSDocDefaultValue(props: TSDocDefaultValueProps): Children;
55
+ /**
56
+ * Create a TSDoc `@remarks` tag.
57
+ */
58
+ declare function TSDocRemarks(props: ComponentProps): Children;
59
+ /**
60
+ * Create a TSDoc `@see` tag.
61
+ */
62
+ declare function TSDocLink(props: ComponentProps): Children;
63
+ interface TSDocExampleProps extends JSDocExampleProps {
64
+ /**
65
+ * Whether the file is a TSX file.
66
+ *
67
+ * @defaultValue false
68
+ */
69
+ tsx?: boolean;
70
+ }
71
+ /**
72
+ * Create a TSDoc `@example` tag.
73
+ */
74
+ declare function TSDocExample(props: TSDocExampleProps): Children;
75
+ /**
76
+ * Create a TSDoc `@readonly` tag.
77
+ */
78
+ declare function TSDocReadonly(): Children;
79
+ /**
80
+ * Create a TSDoc `@internal` tag.
81
+ */
82
+ declare function TSDocInternal(): Children;
83
+ /**
84
+ * Create a TSDoc `@ignore` tag.
85
+ */
86
+ declare function TSDocIgnore(): Children;
87
+ /**
88
+ * Create a TSDoc `@hidden` tag.
89
+ */
90
+ declare function TSDocHidden(): Children;
91
+ /**
92
+ * Create a TSDoc `@runtime` tag.
93
+ */
94
+ declare function TSDocRuntime(): Children;
95
+ interface TSDocAttributesTagsProps {
96
+ type?: JsonSchemaPrimitiveType | string;
97
+ default?: any;
98
+ title?: string;
99
+ alias?: string[];
100
+ tags?: string[];
101
+ readOnly?: boolean;
102
+ internal?: boolean;
103
+ ignore?: boolean;
104
+ hidden?: boolean;
105
+ runtime?: boolean;
106
+ }
107
+ /**
108
+ * Generates a TypeScript interface property for the given reflection class.
109
+ */
110
+ declare function TSDocAttributesTags(props: TSDocAttributesTagsProps): Children;
111
+ interface TSDocParamProps {
112
+ name: Children;
113
+ children?: Children;
114
+ optional?: boolean;
115
+ default?: Children;
116
+ }
117
+ /**
118
+ * Create a TSDoc parameter set off with `@param`.
119
+ */
120
+ declare function TSDocParam(props: TSDocParamProps): Children;
121
+ /**
122
+ * Create a TSDoc `@returns` tag.
123
+ */
124
+ declare function TSDocReturns(props: ComponentProps): Children;
125
+ /**
126
+ * Create a TSDoc `@throws` tag.
127
+ */
128
+ declare function TSDocThrows(props: ComponentProps): Children;
129
+ interface TSDocModuleProps extends ComponentProps {
130
+ /**
131
+ * The prefix for the builtin module name
132
+ *
133
+ * @remarks
134
+ * This value is used to prefix the module name in the `@module` tag and the import path for the module, e.g. `prefix:name`.
135
+ *
136
+ * @example
137
+ * ```ts
138
+ * /**
139
+ * @module prefix:name
140
+ * \/
141
+ * ```
142
+ */
143
+ prefix?: string;
144
+ /**
145
+ * The name of the module
146
+ *
147
+ * @remarks
148
+ * This will be used in the `@module` tag as well as the import path for the module, e.g. `prefix:name`.
149
+ *
150
+ * @example
151
+ * ```ts
152
+ * import { MyModule } from "prefix:name";
153
+ * ```
154
+ */
155
+ name: Children;
156
+ }
157
+ /**
158
+ * Generates a TSDoc `@module` tag for the given module name.
159
+ */
160
+ declare function TSDocModule(props: TSDocModuleProps): Children;
161
+ //#endregion
162
+ export { TSDocTitle as A, TSDocReadonly as C, TSDocTag as D, TSDocRuntime as E, TSDocTagProps as O, TSDocProps as S, TSDocReturns as T, TSDocParam as _, TSDocDefaultValue as a, TSDocParamsProps as b, TSDocExample as c, TSDocHidden as d, TSDocIgnore as f, TSDocModuleProps as g, TSDocModule as h, TSDocAttributesTagsProps as i, TSDocThrows as k, TSDocExampleProps as l, TSDocLink as m, TSDocAlias as n, TSDocDefaultValueProps as o, TSDocInternal as p, TSDocAttributesTags as r, TSDocDomain as s, TSDoc as t, TSDocGroup as u, TSDocParamProps as v, TSDocRemarks as w, TSDocPermission as x, TSDocParams as y };
163
+ //# sourceMappingURL=tsdoc-B6Hw9jOF.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tsdoc-B6Hw9jOF.d.cts","names":[],"sources":["../src/typescript/components/tsdoc.tsx"],"mappings":";;;;;UAuCiB,mBAAmB;EAClC,UAAU;;;;;iBAMI,MAAM,OAAO,aAAU;UA6BtB,sBAAsB;EACrC;;;;;iBAMc,SAAS,OAAO,gBAAa;UAgB5B;EACf,YAAY;;;;;iBAME,YAAY,OAAO,mBAAgB;;;;iBA2BnC,WAAW,OAAO,iBAAc;;;;iBAahC,YAAY,OAAO,iBAAc;;;;iBAajC,WAAW,OAAO,iBAAc;;;;iBAahC,gBAAgB,OAAO,iBAAc;;;;iBAarC,WAAW,OAAO,iBAAc;UAU/B,+BAA+B;EAC9C,OAAO;EACP;;;;;iBAMc,kBAAkB,OAAO,yBAAsB;;;;iBAkB/C,aAAa,OAAO,iBAAc;;;;iBAelC,UAAU,OAAO,iBAAc;UAI9B,0BAA0B;;;;;;EAMzC;;;;;iBAMc,aAAa,OAAO,oBAAiB;;;;iBA4BrC,iBAAa;;;;iBAOb,iBAAa;;;;iBAOb,eAAW;;;;iBAOX,eAAW;;;;iBAOX,gBAAY;UAIX;EACf,OAAO;EACP;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;;;iBAMc,oBAAoB,OAAO,2BAAwB;UA6ElD;EACf,MAAM;EACN,WAAW;EACX;EACA,UAAU;;;;;iBAMI,WAAW,OAAO,kBAAe;;;;iBAiDjC,aAAa,OAAO,iBAAc;;;;iBAOlC,YAAY,OAAO,iBAAc;UAIhC,yBAAyB;;;;;;;;;;;;;;EAcxC;;;;;;;;;;;;EAaA,MAAM;;;;;iBAMQ,YAAY,OAAO,mBAAgB"}
@@ -0,0 +1,163 @@
1
+ import { t as ComponentProps } from "./components-vJaCHt1A.mjs";
2
+ import { Children } from "@alloy-js/core";
3
+ import { JSDocExampleProps, ParameterDescriptor } from "@alloy-js/typescript";
4
+ import { JsonSchemaPrimitiveType } from "@power-plant/schema";
5
+ //#region src/typescript/components/tsdoc.d.ts
6
+ interface TSDocProps extends ComponentProps {
7
+ heading?: Children;
8
+ }
9
+ /**
10
+ * Generates a TypeScript interface for the given reflection class.
11
+ */
12
+ declare function TSDoc(props: TSDocProps): Children;
13
+ interface TSDocTagProps extends ComponentProps {
14
+ tag: string;
15
+ }
16
+ /**
17
+ * Create a TSDoc `@<props.tag>` tag.
18
+ */
19
+ declare function TSDocTag(props: TSDocTagProps): Children;
20
+ interface TSDocParamsProps {
21
+ parameters: ParameterDescriptor[] | string[];
22
+ }
23
+ /**
24
+ * A component that creates a TSDoc block with `@param` tags for each parameter.
25
+ */
26
+ declare function TSDocParams(props: TSDocParamsProps): Children;
27
+ /**
28
+ * Create a TSDoc `@title` tag.
29
+ */
30
+ declare function TSDocTitle(props: ComponentProps): Children;
31
+ /**
32
+ * Create a TSDoc `@domain` tag.
33
+ */
34
+ declare function TSDocDomain(props: ComponentProps): Children;
35
+ /**
36
+ * Create a TSDoc `@alias` tag.
37
+ */
38
+ declare function TSDocAlias(props: ComponentProps): Children;
39
+ /**
40
+ * Create a TSDoc `@permission` tag.
41
+ */
42
+ declare function TSDocPermission(props: ComponentProps): Children;
43
+ /**
44
+ * Create a TSDoc `@group` tag.
45
+ */
46
+ declare function TSDocGroup(props: ComponentProps): Children;
47
+ interface TSDocDefaultValueProps extends ComponentProps {
48
+ type?: JsonSchemaPrimitiveType | string;
49
+ defaultValue: any;
50
+ }
51
+ /**
52
+ * Create a TSDoc `@defaultValue` tag.
53
+ */
54
+ declare function TSDocDefaultValue(props: TSDocDefaultValueProps): Children;
55
+ /**
56
+ * Create a TSDoc `@remarks` tag.
57
+ */
58
+ declare function TSDocRemarks(props: ComponentProps): Children;
59
+ /**
60
+ * Create a TSDoc `@see` tag.
61
+ */
62
+ declare function TSDocLink(props: ComponentProps): Children;
63
+ interface TSDocExampleProps extends JSDocExampleProps {
64
+ /**
65
+ * Whether the file is a TSX file.
66
+ *
67
+ * @defaultValue false
68
+ */
69
+ tsx?: boolean;
70
+ }
71
+ /**
72
+ * Create a TSDoc `@example` tag.
73
+ */
74
+ declare function TSDocExample(props: TSDocExampleProps): Children;
75
+ /**
76
+ * Create a TSDoc `@readonly` tag.
77
+ */
78
+ declare function TSDocReadonly(): Children;
79
+ /**
80
+ * Create a TSDoc `@internal` tag.
81
+ */
82
+ declare function TSDocInternal(): Children;
83
+ /**
84
+ * Create a TSDoc `@ignore` tag.
85
+ */
86
+ declare function TSDocIgnore(): Children;
87
+ /**
88
+ * Create a TSDoc `@hidden` tag.
89
+ */
90
+ declare function TSDocHidden(): Children;
91
+ /**
92
+ * Create a TSDoc `@runtime` tag.
93
+ */
94
+ declare function TSDocRuntime(): Children;
95
+ interface TSDocAttributesTagsProps {
96
+ type?: JsonSchemaPrimitiveType | string;
97
+ default?: any;
98
+ title?: string;
99
+ alias?: string[];
100
+ tags?: string[];
101
+ readOnly?: boolean;
102
+ internal?: boolean;
103
+ ignore?: boolean;
104
+ hidden?: boolean;
105
+ runtime?: boolean;
106
+ }
107
+ /**
108
+ * Generates a TypeScript interface property for the given reflection class.
109
+ */
110
+ declare function TSDocAttributesTags(props: TSDocAttributesTagsProps): Children;
111
+ interface TSDocParamProps {
112
+ name: Children;
113
+ children?: Children;
114
+ optional?: boolean;
115
+ default?: Children;
116
+ }
117
+ /**
118
+ * Create a TSDoc parameter set off with `@param`.
119
+ */
120
+ declare function TSDocParam(props: TSDocParamProps): Children;
121
+ /**
122
+ * Create a TSDoc `@returns` tag.
123
+ */
124
+ declare function TSDocReturns(props: ComponentProps): Children;
125
+ /**
126
+ * Create a TSDoc `@throws` tag.
127
+ */
128
+ declare function TSDocThrows(props: ComponentProps): Children;
129
+ interface TSDocModuleProps extends ComponentProps {
130
+ /**
131
+ * The prefix for the builtin module name
132
+ *
133
+ * @remarks
134
+ * This value is used to prefix the module name in the `@module` tag and the import path for the module, e.g. `prefix:name`.
135
+ *
136
+ * @example
137
+ * ```ts
138
+ * /**
139
+ * @module prefix:name
140
+ * \/
141
+ * ```
142
+ */
143
+ prefix?: string;
144
+ /**
145
+ * The name of the module
146
+ *
147
+ * @remarks
148
+ * This will be used in the `@module` tag as well as the import path for the module, e.g. `prefix:name`.
149
+ *
150
+ * @example
151
+ * ```ts
152
+ * import { MyModule } from "prefix:name";
153
+ * ```
154
+ */
155
+ name: Children;
156
+ }
157
+ /**
158
+ * Generates a TSDoc `@module` tag for the given module name.
159
+ */
160
+ declare function TSDocModule(props: TSDocModuleProps): Children;
161
+ //#endregion
162
+ export { TSDocTitle as A, TSDocReadonly as C, TSDocTag as D, TSDocRuntime as E, TSDocTagProps as O, TSDocProps as S, TSDocReturns as T, TSDocParam as _, TSDocDefaultValue as a, TSDocParamsProps as b, TSDocExample as c, TSDocHidden as d, TSDocIgnore as f, TSDocModuleProps as g, TSDocModule as h, TSDocAttributesTagsProps as i, TSDocThrows as k, TSDocExampleProps as l, TSDocLink as m, TSDocAlias as n, TSDocDefaultValueProps as o, TSDocInternal as p, TSDocAttributesTags as r, TSDocDomain as s, TSDoc as t, TSDocGroup as u, TSDocParamProps as v, TSDocRemarks as w, TSDocPermission as x, TSDocParams as y };
163
+ //# sourceMappingURL=tsdoc-CFdZtTw6.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tsdoc-CFdZtTw6.d.mts","names":[],"sources":["../src/typescript/components/tsdoc.tsx"],"mappings":""}
@@ -0,0 +1,21 @@
1
+ import { S as TSDocProps } from "./tsdoc-CFdZtTw6.mjs";
2
+ import { JsonSchema } from "@power-plant/schema";
3
+ //#region src/typescript/components/tsdoc-schema.d.ts
4
+ interface TSDocObjectSchemaProps extends TSDocProps {
5
+ schema: JsonSchema;
6
+ }
7
+ /**
8
+ * Generates a TSDoc documentation block for the given reflection class. This component will render the description of the reflection as the main content of the documentation block, and will render any additional attributes (such as title, alias, domain, permission, etc.) as tags in the documentation block. If there are child elements provided, they will be rendered as a list below the main content of the documentation block. This is useful for rendering additional details about the reflection that may not be included in the description, such as information about properties or methods of a class.
9
+ */
10
+ declare function TSDocObjectSchema(props: TSDocObjectSchemaProps): import("@alloy-js/core").Children;
11
+ interface TSDocSchemaPropertyProps extends TSDocProps {
12
+ schema: JsonSchema;
13
+ defaultValue?: unknown;
14
+ }
15
+ /**
16
+ * Generates a TSDoc documentation block for the given reflection property. This component will render the description of the reflection as the main content of the documentation block, and will render any additional attributes (such as title, alias, domain, permission, etc.) as tags in the documentation block. If there are child elements provided, they will be rendered as a list below the main content of the documentation block. This is useful for rendering additional details about the reflection that may not be included in the description, such as information about parameters of a method or properties of a class.
17
+ */
18
+ declare function TSDocSchemaProperty(props: TSDocSchemaPropertyProps): import("@alloy-js/core").Children;
19
+ //#endregion
20
+ export { TSDocSchemaPropertyProps as i, TSDocObjectSchemaProps as n, TSDocSchemaProperty as r, TSDocObjectSchema as t };
21
+ //# sourceMappingURL=tsdoc-schema-B4yKswI-.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tsdoc-schema-B4yKswI-.d.mts","names":[],"sources":["../src/typescript/components/tsdoc-schema.tsx"],"mappings":""}
@@ -0,0 +1,21 @@
1
+ import { S as TSDocProps } from "./tsdoc-B6Hw9jOF.cjs";
2
+ import { JsonSchema } from "@power-plant/schema";
3
+ //#region src/typescript/components/tsdoc-schema.d.ts
4
+ interface TSDocObjectSchemaProps extends TSDocProps {
5
+ schema: JsonSchema;
6
+ }
7
+ /**
8
+ * Generates a TSDoc documentation block for the given reflection class. This component will render the description of the reflection as the main content of the documentation block, and will render any additional attributes (such as title, alias, domain, permission, etc.) as tags in the documentation block. If there are child elements provided, they will be rendered as a list below the main content of the documentation block. This is useful for rendering additional details about the reflection that may not be included in the description, such as information about properties or methods of a class.
9
+ */
10
+ declare function TSDocObjectSchema(props: TSDocObjectSchemaProps): import("@alloy-js/core").Children;
11
+ interface TSDocSchemaPropertyProps extends TSDocProps {
12
+ schema: JsonSchema;
13
+ defaultValue?: unknown;
14
+ }
15
+ /**
16
+ * Generates a TSDoc documentation block for the given reflection property. This component will render the description of the reflection as the main content of the documentation block, and will render any additional attributes (such as title, alias, domain, permission, etc.) as tags in the documentation block. If there are child elements provided, they will be rendered as a list below the main content of the documentation block. This is useful for rendering additional details about the reflection that may not be included in the description, such as information about parameters of a method or properties of a class.
17
+ */
18
+ declare function TSDocSchemaProperty(props: TSDocSchemaPropertyProps): import("@alloy-js/core").Children;
19
+ //#endregion
20
+ export { TSDocSchemaPropertyProps as i, TSDocObjectSchemaProps as n, TSDocSchemaProperty as r, TSDocObjectSchema as t };
21
+ //# sourceMappingURL=tsdoc-schema-DJ_3JLuh.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tsdoc-schema-DJ_3JLuh.d.cts","names":[],"sources":["../src/typescript/components/tsdoc-schema.tsx"],"mappings":";;;UAmCiB,+BAA+B;EAC9C,QAAQ;;;;;iBAMM,kBAAkB,OAAO,kDAAsB;UA8E9C,iCAAiC;EAChD,QAAQ;EACR;;;;;iBAMc,oBAAoB,OAAO,oDAAwB"}
@@ -0,0 +1,15 @@
1
+ import { CommonDeclarationProps, TypeParameterDescriptor } from "@alloy-js/typescript";
2
+ //#region src/typescript/components/type-declaration.d.ts
3
+ interface TypeDeclarationProps extends CommonDeclarationProps {
4
+ /**
5
+ * The generic type parameters of the interface.
6
+ */
7
+ typeParameters?: TypeParameterDescriptor[] | string[];
8
+ }
9
+ /**
10
+ * Renders a TypeScript type declaration, including its name, optional TSDoc comment, and generic type parameters.
11
+ */
12
+ declare const TypeDeclaration: import("@alloy-js/core").Component<TypeDeclarationProps>;
13
+ //#endregion
14
+ export { TypeDeclarationProps as n, TypeDeclaration as t };
15
+ //# sourceMappingURL=type-declaration-BLvkozNR.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type-declaration-BLvkozNR.d.cts","names":[],"sources":["../src/typescript/components/type-declaration.tsx"],"mappings":";;UA4BiB,6BAA6B;;;;EAI5C,iBAAiB;;;;;cAMN,0CAAe,UAAA"}
@@ -0,0 +1,15 @@
1
+ import { CommonDeclarationProps, TypeParameterDescriptor } from "@alloy-js/typescript";
2
+ //#region src/typescript/components/type-declaration.d.ts
3
+ interface TypeDeclarationProps extends CommonDeclarationProps {
4
+ /**
5
+ * The generic type parameters of the interface.
6
+ */
7
+ typeParameters?: TypeParameterDescriptor[] | string[];
8
+ }
9
+ /**
10
+ * Renders a TypeScript type declaration, including its name, optional TSDoc comment, and generic type parameters.
11
+ */
12
+ declare const TypeDeclaration: import("@alloy-js/core").Component<TypeDeclarationProps>;
13
+ //#endregion
14
+ export { TypeDeclarationProps as n, TypeDeclaration as t };
15
+ //# sourceMappingURL=type-declaration-BLvkozNR.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type-declaration-BLvkozNR.d.mts","names":[],"sources":["../src/typescript/components/type-declaration.tsx"],"mappings":""}
@@ -0,0 +1,22 @@
1
+ import { Children } from "@alloy-js/core";
2
+ import { TypeParameterDescriptor } from "@alloy-js/typescript";
3
+ //#region src/typescript/components/type-parameters.d.ts
4
+ /** Props for type parameters */
5
+ interface TypeParametersProps {
6
+ /** Parameters */
7
+ parameters?: TypeParameterDescriptor[] | string[];
8
+ /** Jsx Children */
9
+ children?: Children;
10
+ }
11
+ /**
12
+ * Represent type parameters
13
+ *
14
+ * @example
15
+ * ```ts
16
+ * <A, B extends string>
17
+ * ```
18
+ */
19
+ declare function TypeParameters(props: TypeParametersProps): Children;
20
+ //#endregion
21
+ export { TypeParametersProps as n, TypeParameters as t };
22
+ //# sourceMappingURL=type-parameters-BzCDG9lT.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type-parameters-BzCDG9lT.d.cts","names":[],"sources":["../src/typescript/components/type-parameters.tsx"],"mappings":";;;;UAsBiB;;EAEf,aAAa;;EAEb,WAAW;;;;;;;;;;iBAqCG,eAAe,OAAO,sBAAmB"}
@@ -0,0 +1,22 @@
1
+ import { Children } from "@alloy-js/core";
2
+ import { TypeParameterDescriptor } from "@alloy-js/typescript";
3
+ //#region src/typescript/components/type-parameters.d.ts
4
+ /** Props for type parameters */
5
+ interface TypeParametersProps {
6
+ /** Parameters */
7
+ parameters?: TypeParameterDescriptor[] | string[];
8
+ /** Jsx Children */
9
+ children?: Children;
10
+ }
11
+ /**
12
+ * Represent type parameters
13
+ *
14
+ * @example
15
+ * ```ts
16
+ * <A, B extends string>
17
+ * ```
18
+ */
19
+ declare function TypeParameters(props: TypeParametersProps): Children;
20
+ //#endregion
21
+ export { TypeParametersProps as n, TypeParameters as t };
22
+ //# sourceMappingURL=type-parameters-BzCDG9lT.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type-parameters-BzCDG9lT.d.mts","names":[],"sources":["../src/typescript/components/type-parameters.tsx"],"mappings":""}
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../contexts/lexical-scope.cjs");require("../contexts/index.cjs");const t=require("../contexts/member-scope.cjs"),n=require("../helpers/get-call-signature-props.cjs");require("../helpers/index.cjs");const r=require("./property-name.cjs"),i=require("./tsdoc.cjs"),a=require("./type-parameters.cjs");let o=require("@alloy-js/core/jsx-runtime"),s=require("@alloy-js/core"),c=require("@alloy-js/typescript");function l(e){let n=e.extends&&[` extends `,(0,o.memo)(()=>e.extends)],r=e.implements&&e.implements.length>0&&[` `,`implements`,` `,(0,o.createComponent)(s.For,{get each(){return e.implements},comma:!0,space:!0,children:e=>e})],l=(0,c.createTypeAndValueSymbol)(e.name,{refkeys:e.refkey,export:e.export,default:e.default,metadata:e.metadata,hasInstanceMembers:!0,namePolicy:(0,c.useTSNamePolicy)().for(`class`)});return[(0,o.createComponent)(s.Show,{get when(){return!!e.doc},get children(){return(0,o.createComponent)(i.TSDoc,{get heading(){return e.doc}})}}),(0,o.createComponent)(c.Declaration,{symbol:l,get export(){return e.export},get default(){return e.default},get children(){return(0,o.createComponent)(t.MemberScope,{ownerSymbol:l,get children(){return[(0,o.memo)(()=>e.abstract&&s.code`abstract `),` class `,(0,o.createComponent)(s.Name,{}),(0,o.memo)(()=>(0,o.memo)(()=>!!e.typeParameters)()&&(0,o.createComponent)(a.TypeParameters,{get parameters(){return e.typeParameters}})),n,r,` `,(0,o.createComponent)(s.Block,{get children(){return e.children}})]}})}})]}l.TypeParameters=a.TypeParameters;function u(e){let t=c.TSSymbolFlags.None;e.nullish&&(t|=c.TSSymbolFlags.Nullish);let n=(0,c.createMemberSymbol)(e.name,e,{refkeys:e.refkey,tsFlags:t,namePolicy:(0,c.useTSNamePolicy)().for(`class-member-data`)});return[(0,o.createComponent)(s.Show,{get when(){return!!e.doc},get children(){return(0,o.createComponent)(i.TSDoc,{get heading(){return e.doc}})}}),(0,o.createComponent)(s.MemberDeclaration,{symbol:n,get children(){return[(0,o.memo)(()=>e.public&&`public `),(0,o.memo)(()=>e.private&&`private `),(0,o.memo)(()=>e.protected&&`protected `),(0,o.memo)(()=>e.abstract&&`abstract `),(0,o.memo)(()=>e.override&&`override `),(0,o.memo)(()=>e.static&&`static `),(0,o.memo)(()=>e.children)]}})]}function d(e){let t=e.optional?`?`:``,n=e.type&&[t,`: `,(0,o.createComponent)(c.TypeRefContext,{get children(){return e.type}})],i=e.children&&[` = `,(0,o.memo)(()=>e.children)];return(0,o.createComponent)(u,(0,o.mergeProps)(e,{nullish:e.nullish??e.optional,get children(){return[(0,o.createComponent)(r.PropertyName,{get private(){return e.isPrivateMember},get name(){return e.isPrivateMember?e.name:void 0}}),n,i]}}))}function f(t){return[(0,o.createComponent)(u,(0,o.mergeProps)(t,{get children(){return[`set `,(0,o.createComponent)(r.PropertyName,{get name(){return t.name}}),(0,o.createComponent)(e.LexicalScope,{get children(){return[(0,o.createComponent)(c.CallSignature,{get parameters(){return[{name:`value`,type:(0,o.createComponent)(c.TypeRefContext,{get children(){return t.type}})}]}}),` `,(0,o.createComponent)(s.Block,{get children(){return t.children}})]}})]}}))]}function p(t){return(0,o.createComponent)(u,(0,o.mergeProps)(t,{get children(){return[`get `,(0,o.createComponent)(r.PropertyName,{get name(){return t.name}}),(0,o.createComponent)(e.LexicalScope,{get children(){return[(0,o.createComponent)(c.CallSignature,{get returnType(){return(0,o.createComponent)(c.TypeRefContext,{get children(){return t.type}})}}),` `,(0,o.createComponent)(s.Block,{get children(){return t.children}})]}})]}}))}function m(t){let a=n.getCallSignatureProps(t),[l,d]=(0,s.splitProps)(t,[`doc`]);return[(0,o.createComponent)(s.Show,{get when(){return!!t.doc},get children(){return(0,o.createComponent)(i.TSDoc,{get heading(){return t.doc},get children(){return(0,o.memo)(()=>!!Array.isArray(d.parameters))()&&(0,o.createComponent)(i.TSDocParams,{get parameters(){return d.parameters}})}})}}),(0,o.createComponent)(u,(0,o.mergeProps)(d,{get children(){return[(0,o.memo)(()=>t.async&&`async `),(0,o.createComponent)(r.PropertyName,{}),(0,o.createComponent)(e.LexicalScope,{get children(){return[(0,o.createComponent)(c.CallSignature,a),` `,(0,o.createComponent)(s.Block,{get children(){return t.children}})]}})]}}))]}exports.ClassDeclaration=l,exports.ClassField=d,exports.ClassMember=u,exports.ClassMethod=m,exports.ClassPropertyGet=p,exports.ClassPropertySet=f;
@@ -0,0 +1,2 @@
1
+ import { a as ClassMember, c as ClassMethodProps, d as ClassPropertySet, i as ClassFieldProps, l as ClassPropertyGet, n as ClassDeclarationProps, o as ClassMemberProps, r as ClassField, s as ClassMethod, t as ClassDeclaration, u as ClassPropertyProps } from "../../class-declaration-G7ncTlSj.cjs";
2
+ export { ClassDeclaration, ClassDeclarationProps, ClassField, ClassFieldProps, ClassMember, ClassMemberProps, ClassMethod, ClassMethodProps, ClassPropertyGet, ClassPropertyProps, ClassPropertySet };
@@ -0,0 +1,2 @@
1
+ import { a as ClassMember, c as ClassMethodProps, d as ClassPropertySet, i as ClassFieldProps, l as ClassPropertyGet, n as ClassDeclarationProps, o as ClassMemberProps, r as ClassField, s as ClassMethod, t as ClassDeclaration, u as ClassPropertyProps } from "../../class-declaration-CL5quGqz.mjs";
2
+ export { ClassDeclaration, ClassDeclarationProps, ClassField, ClassFieldProps, ClassMember, ClassMemberProps, ClassMethod, ClassMethodProps, ClassPropertyGet, ClassPropertyProps, ClassPropertySet };
@@ -0,0 +1,2 @@
1
+ import{LexicalScope as e}from"../contexts/lexical-scope.mjs";import"../contexts/index.mjs";import{MemberScope as t}from"../contexts/member-scope.mjs";import{getCallSignatureProps as n}from"../helpers/get-call-signature-props.mjs";import"../helpers/index.mjs";import{PropertyName as r}from"./property-name.mjs";import{TSDoc as i,TSDocParams as a}from"./tsdoc.mjs";import{TypeParameters as o}from"./type-parameters.mjs";import{createComponent as s,memo as c,mergeProps as l}from"@alloy-js/core/jsx-runtime";import{Block as u,For as d,MemberDeclaration as f,Name as p,Show as m,code as h,splitProps as g}from"@alloy-js/core";import{CallSignature as _,Declaration as v,TSSymbolFlags as y,TypeRefContext as b,createMemberSymbol as x,createTypeAndValueSymbol as S,useTSNamePolicy as C}from"@alloy-js/typescript";function w(e){let n=e.extends&&[` extends `,c(()=>e.extends)],r=e.implements&&e.implements.length>0&&[` `,`implements`,` `,s(d,{get each(){return e.implements},comma:!0,space:!0,children:e=>e})],a=S(e.name,{refkeys:e.refkey,export:e.export,default:e.default,metadata:e.metadata,hasInstanceMembers:!0,namePolicy:C().for(`class`)});return[s(m,{get when(){return!!e.doc},get children(){return s(i,{get heading(){return e.doc}})}}),s(v,{symbol:a,get export(){return e.export},get default(){return e.default},get children(){return s(t,{ownerSymbol:a,get children(){return[c(()=>e.abstract&&h`abstract `),` class `,s(p,{}),c(()=>c(()=>!!e.typeParameters)()&&s(o,{get parameters(){return e.typeParameters}})),n,r,` `,s(u,{get children(){return e.children}})]}})}})]}w.TypeParameters=o;function T(e){let t=y.None;e.nullish&&(t|=y.Nullish);let n=x(e.name,e,{refkeys:e.refkey,tsFlags:t,namePolicy:C().for(`class-member-data`)});return[s(m,{get when(){return!!e.doc},get children(){return s(i,{get heading(){return e.doc}})}}),s(f,{symbol:n,get children(){return[c(()=>e.public&&`public `),c(()=>e.private&&`private `),c(()=>e.protected&&`protected `),c(()=>e.abstract&&`abstract `),c(()=>e.override&&`override `),c(()=>e.static&&`static `),c(()=>e.children)]}})]}function E(e){let t=e.optional?`?`:``,n=e.type&&[t,`: `,s(b,{get children(){return e.type}})],i=e.children&&[` = `,c(()=>e.children)];return s(T,l(e,{nullish:e.nullish??e.optional,get children(){return[s(r,{get private(){return e.isPrivateMember},get name(){return e.isPrivateMember?e.name:void 0}}),n,i]}}))}function D(t){return[s(T,l(t,{get children(){return[`set `,s(r,{get name(){return t.name}}),s(e,{get children(){return[s(_,{get parameters(){return[{name:`value`,type:s(b,{get children(){return t.type}})}]}}),` `,s(u,{get children(){return t.children}})]}})]}}))]}function O(t){return s(T,l(t,{get children(){return[`get `,s(r,{get name(){return t.name}}),s(e,{get children(){return[s(_,{get returnType(){return s(b,{get children(){return t.type}})}}),` `,s(u,{get children(){return t.children}})]}})]}}))}function k(t){let o=n(t),[d,f]=g(t,[`doc`]);return[s(m,{get when(){return!!t.doc},get children(){return s(i,{get heading(){return t.doc},get children(){return c(()=>!!Array.isArray(f.parameters))()&&s(a,{get parameters(){return f.parameters}})}})}}),s(T,l(f,{get children(){return[c(()=>t.async&&`async `),s(r,{}),s(e,{get children(){return[s(_,o),` `,s(u,{get children(){return t.children}})]}})]}}))]}export{w as ClassDeclaration,E as ClassField,T as ClassMember,k as ClassMethod,O as ClassPropertyGet,D as ClassPropertySet};
2
+ //# sourceMappingURL=class-declaration.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"class-declaration.mjs","names":[],"sources":[],"mappings":""}
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});let e=require("@alloy-js/core/jsx-runtime"),t=require("@alloy-js/core"),n=require("@alloy-js/typescript");function r(r){let{importPath:i,exportName:a=`default`,const:o=!0,...s}=r;return(0,e.createComponent)(n.VarDeclaration,(0,e.mergeProps)({const:o},s,{initializer:t.code`await import("${i}").then(m => m.${a});`}))}exports.DynamicImportStatement=r;
@@ -0,0 +1,2 @@
1
+ import { n as DynamicImportStatementProps, t as DynamicImportStatement } from "../../dynamic-import-statement--GIybIf5.cjs";
2
+ export { DynamicImportStatement, DynamicImportStatementProps };
@@ -0,0 +1,2 @@
1
+ import { n as DynamicImportStatementProps, t as DynamicImportStatement } from "../../dynamic-import-statement--GIybIf5.mjs";
2
+ export { DynamicImportStatement, DynamicImportStatementProps };
@@ -0,0 +1,2 @@
1
+ import{createComponent as e,mergeProps as t}from"@alloy-js/core/jsx-runtime";import{code as n}from"@alloy-js/core";import{VarDeclaration as r}from"@alloy-js/typescript";function i(i){let{importPath:a,exportName:o=`default`,const:s=!0,...c}=i;return e(r,t({const:s},c,{initializer:n`await import("${a}").then(m => m.${o});`}))}export{i as DynamicImportStatement};
2
+ //# sourceMappingURL=dynamic-import-statement.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dynamic-import-statement.mjs","names":[],"sources":[],"mappings":""}
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./property-name.cjs"),t=require("./tsdoc.cjs"),n=require("./type-parameters.cjs"),r=require("./class-declaration.cjs"),i=require("./dynamic-import-statement.cjs"),a=require("./tsdoc-schema.cjs"),o=require("./interface-declaration.cjs"),s=require("./object-declaration.cjs"),c=require("./record-expression.cjs"),l=require("./type-declaration.cjs"),u=require("./typescript-file.cjs");exports.ClassDeclaration=r.ClassDeclaration,exports.ClassField=r.ClassField,exports.ClassMember=r.ClassMember,exports.ClassMethod=r.ClassMethod,exports.ClassPropertyGet=r.ClassPropertyGet,exports.ClassPropertySet=r.ClassPropertySet,exports.DynamicImportStatement=i.DynamicImportStatement,exports.InterfaceDeclaration=o.InterfaceDeclaration,exports.InterfaceDeclarationProperty=o.InterfaceDeclarationProperty,exports.InterfaceExpression=o.InterfaceExpression,exports.InterfaceMember=o.InterfaceMember,exports.ObjectDeclaration=s.ObjectDeclaration,exports.ObjectDeclarationProperty=s.ObjectDeclarationProperty,exports.PropertyName=e.PropertyName,exports.RecordExpression=c.RecordExpression,exports.TSDoc=t.TSDoc,exports.TSDocAlias=t.TSDocAlias,exports.TSDocAttributesTags=t.TSDocAttributesTags,exports.TSDocDefaultValue=t.TSDocDefaultValue,exports.TSDocDomain=t.TSDocDomain,exports.TSDocExample=t.TSDocExample,exports.TSDocGroup=t.TSDocGroup,exports.TSDocHidden=t.TSDocHidden,exports.TSDocIgnore=t.TSDocIgnore,exports.TSDocInternal=t.TSDocInternal,exports.TSDocLink=t.TSDocLink,exports.TSDocModule=t.TSDocModule,exports.TSDocObjectSchema=a.TSDocObjectSchema,exports.TSDocParam=t.TSDocParam,exports.TSDocParams=t.TSDocParams,exports.TSDocPermission=t.TSDocPermission,exports.TSDocReadonly=t.TSDocReadonly,exports.TSDocRemarks=t.TSDocRemarks,exports.TSDocReturns=t.TSDocReturns,exports.TSDocRuntime=t.TSDocRuntime,exports.TSDocSchemaProperty=a.TSDocSchemaProperty,exports.TSDocTag=t.TSDocTag,exports.TSDocThrows=t.TSDocThrows,exports.TSDocTitle=t.TSDocTitle,exports.TypeDeclaration=l.TypeDeclaration,exports.TypeParameters=n.TypeParameters,exports.TypescriptFile=u.TypescriptFile,exports.TypescriptFileHeader=u.TypescriptFileHeader,exports.TypescriptFileHeaderImports=u.TypescriptFileHeaderImports;
@@ -0,0 +1,12 @@
1
+ import { n as TypeParametersProps, t as TypeParameters } from "../../type-parameters-BzCDG9lT.cjs";
2
+ import { a as ClassMember, c as ClassMethodProps, d as ClassPropertySet, i as ClassFieldProps, l as ClassPropertyGet, n as ClassDeclarationProps, o as ClassMemberProps, r as ClassField, s as ClassMethod, t as ClassDeclaration, u as ClassPropertyProps } from "../../class-declaration-G7ncTlSj.cjs";
3
+ import { n as DynamicImportStatementProps, t as DynamicImportStatement } from "../../dynamic-import-statement--GIybIf5.cjs";
4
+ import { a as InterfaceExpression, c as InterfaceMember, d as InterfaceSchemaMemberProps, f as InterfaceTypeMemberProps, i as InterfaceDeclarationProps, l as InterfaceMemberProps, n as InterfaceDeclarationProperty, o as InterfaceExpressionProps, r as InterfaceDeclarationPropertyProps, s as InterfaceIndexerMemberProps, t as InterfaceDeclaration, u as InterfaceMemberPropsBase } from "../../interface-declaration-BSo-U6IN.cjs";
5
+ import { i as ObjectDeclarationProps, n as ObjectDeclarationProperty, r as ObjectDeclarationPropertyProps, t as ObjectDeclaration } from "../../object-declaration-BWJ8zDKp.cjs";
6
+ import { n as PropertyNameProps, t as PropertyName } from "../../property-name-bQ4hrXmQ.cjs";
7
+ import { n as RecordExpressionProps, t as RecordExpression } from "../../record-expression-CECGDPCk.cjs";
8
+ import { A as TSDocTitle, C as TSDocReadonly, D as TSDocTag, E as TSDocRuntime, O as TSDocTagProps, S as TSDocProps, T as TSDocReturns, _ as TSDocParam, a as TSDocDefaultValue, b as TSDocParamsProps, c as TSDocExample, d as TSDocHidden, f as TSDocIgnore, g as TSDocModuleProps, h as TSDocModule, i as TSDocAttributesTagsProps, k as TSDocThrows, l as TSDocExampleProps, m as TSDocLink, n as TSDocAlias, o as TSDocDefaultValueProps, p as TSDocInternal, r as TSDocAttributesTags, s as TSDocDomain, t as TSDoc, u as TSDocGroup, v as TSDocParamProps, w as TSDocRemarks, x as TSDocPermission, y as TSDocParams } from "../../tsdoc-B6Hw9jOF.cjs";
9
+ import { i as TSDocSchemaPropertyProps, n as TSDocObjectSchemaProps, r as TSDocSchemaProperty, t as TSDocObjectSchema } from "../../tsdoc-schema-DJ_3JLuh.cjs";
10
+ import { n as TypeDeclarationProps, t as TypeDeclaration } from "../../type-declaration-BLvkozNR.cjs";
11
+ import { a as TypescriptFileHeaderProps, i as TypescriptFileHeaderImportsProps, n as TypescriptFileHeader, o as TypescriptFileProps, r as TypescriptFileHeaderImports, t as TypescriptFile } from "../../typescript-file-C0GR7QWh.cjs";
12
+ export { ClassDeclaration, ClassDeclarationProps, ClassField, ClassFieldProps, ClassMember, ClassMemberProps, ClassMethod, ClassMethodProps, ClassPropertyGet, ClassPropertyProps, ClassPropertySet, DynamicImportStatement, DynamicImportStatementProps, InterfaceDeclaration, InterfaceDeclarationProperty, InterfaceDeclarationPropertyProps, InterfaceDeclarationProps, InterfaceExpression, InterfaceExpressionProps, InterfaceIndexerMemberProps, InterfaceMember, InterfaceMemberProps, InterfaceMemberPropsBase, InterfaceSchemaMemberProps, InterfaceTypeMemberProps, ObjectDeclaration, ObjectDeclarationProperty, ObjectDeclarationPropertyProps, ObjectDeclarationProps, PropertyName, PropertyNameProps, RecordExpression, RecordExpressionProps, TSDoc, TSDocAlias, TSDocAttributesTags, TSDocAttributesTagsProps, TSDocDefaultValue, TSDocDefaultValueProps, TSDocDomain, TSDocExample, TSDocExampleProps, TSDocGroup, TSDocHidden, TSDocIgnore, TSDocInternal, TSDocLink, TSDocModule, TSDocModuleProps, TSDocObjectSchema, TSDocObjectSchemaProps, TSDocParam, TSDocParamProps, TSDocParams, TSDocParamsProps, TSDocPermission, TSDocProps, TSDocReadonly, TSDocRemarks, TSDocReturns, TSDocRuntime, TSDocSchemaProperty, TSDocSchemaPropertyProps, TSDocTag, TSDocTagProps, TSDocThrows, TSDocTitle, TypeDeclaration, TypeDeclarationProps, TypeParameters, TypeParametersProps, TypescriptFile, TypescriptFileHeader, TypescriptFileHeaderImports, TypescriptFileHeaderImportsProps, TypescriptFileHeaderProps, TypescriptFileProps };
@@ -0,0 +1,12 @@
1
+ import { n as TypeParametersProps, t as TypeParameters } from "../../type-parameters-BzCDG9lT.mjs";
2
+ import { a as ClassMember, c as ClassMethodProps, d as ClassPropertySet, i as ClassFieldProps, l as ClassPropertyGet, n as ClassDeclarationProps, o as ClassMemberProps, r as ClassField, s as ClassMethod, t as ClassDeclaration, u as ClassPropertyProps } from "../../class-declaration-CL5quGqz.mjs";
3
+ import { n as DynamicImportStatementProps, t as DynamicImportStatement } from "../../dynamic-import-statement--GIybIf5.mjs";
4
+ import { a as InterfaceExpression, c as InterfaceMember, d as InterfaceSchemaMemberProps, f as InterfaceTypeMemberProps, i as InterfaceDeclarationProps, l as InterfaceMemberProps, n as InterfaceDeclarationProperty, o as InterfaceExpressionProps, r as InterfaceDeclarationPropertyProps, s as InterfaceIndexerMemberProps, t as InterfaceDeclaration, u as InterfaceMemberPropsBase } from "../../interface-declaration-DYLPeJH1.mjs";
5
+ import { i as ObjectDeclarationProps, n as ObjectDeclarationProperty, r as ObjectDeclarationPropertyProps, t as ObjectDeclaration } from "../../object-declaration-DQQhQypx.mjs";
6
+ import { n as PropertyNameProps, t as PropertyName } from "../../property-name-bQ4hrXmQ.mjs";
7
+ import { n as RecordExpressionProps, t as RecordExpression } from "../../record-expression-CECGDPCk.mjs";
8
+ import { A as TSDocTitle, C as TSDocReadonly, D as TSDocTag, E as TSDocRuntime, O as TSDocTagProps, S as TSDocProps, T as TSDocReturns, _ as TSDocParam, a as TSDocDefaultValue, b as TSDocParamsProps, c as TSDocExample, d as TSDocHidden, f as TSDocIgnore, g as TSDocModuleProps, h as TSDocModule, i as TSDocAttributesTagsProps, k as TSDocThrows, l as TSDocExampleProps, m as TSDocLink, n as TSDocAlias, o as TSDocDefaultValueProps, p as TSDocInternal, r as TSDocAttributesTags, s as TSDocDomain, t as TSDoc, u as TSDocGroup, v as TSDocParamProps, w as TSDocRemarks, x as TSDocPermission, y as TSDocParams } from "../../tsdoc-CFdZtTw6.mjs";
9
+ import { i as TSDocSchemaPropertyProps, n as TSDocObjectSchemaProps, r as TSDocSchemaProperty, t as TSDocObjectSchema } from "../../tsdoc-schema-B4yKswI-.mjs";
10
+ import { n as TypeDeclarationProps, t as TypeDeclaration } from "../../type-declaration-BLvkozNR.mjs";
11
+ import { a as TypescriptFileHeaderProps, i as TypescriptFileHeaderImportsProps, n as TypescriptFileHeader, o as TypescriptFileProps, r as TypescriptFileHeaderImports, t as TypescriptFile } from "../../typescript-file-YdpvA2Y-.mjs";
12
+ export { ClassDeclaration, ClassDeclarationProps, ClassField, ClassFieldProps, ClassMember, ClassMemberProps, ClassMethod, ClassMethodProps, ClassPropertyGet, ClassPropertyProps, ClassPropertySet, DynamicImportStatement, DynamicImportStatementProps, InterfaceDeclaration, InterfaceDeclarationProperty, InterfaceDeclarationPropertyProps, InterfaceDeclarationProps, InterfaceExpression, InterfaceExpressionProps, InterfaceIndexerMemberProps, InterfaceMember, InterfaceMemberProps, InterfaceMemberPropsBase, InterfaceSchemaMemberProps, InterfaceTypeMemberProps, ObjectDeclaration, ObjectDeclarationProperty, ObjectDeclarationPropertyProps, ObjectDeclarationProps, PropertyName, PropertyNameProps, RecordExpression, RecordExpressionProps, TSDoc, TSDocAlias, TSDocAttributesTags, TSDocAttributesTagsProps, TSDocDefaultValue, TSDocDefaultValueProps, TSDocDomain, TSDocExample, TSDocExampleProps, TSDocGroup, TSDocHidden, TSDocIgnore, TSDocInternal, TSDocLink, TSDocModule, TSDocModuleProps, TSDocObjectSchema, TSDocObjectSchemaProps, TSDocParam, TSDocParamProps, TSDocParams, TSDocParamsProps, TSDocPermission, TSDocProps, TSDocReadonly, TSDocRemarks, TSDocReturns, TSDocRuntime, TSDocSchemaProperty, TSDocSchemaPropertyProps, TSDocTag, TSDocTagProps, TSDocThrows, TSDocTitle, TypeDeclaration, TypeDeclarationProps, TypeParameters, TypeParametersProps, TypescriptFile, TypescriptFileHeader, TypescriptFileHeaderImports, TypescriptFileHeaderImportsProps, TypescriptFileHeaderProps, TypescriptFileProps };
@@ -0,0 +1 @@
1
+ import{PropertyName as e}from"./property-name.mjs";import{TSDoc as t,TSDocAlias as n,TSDocAttributesTags as r,TSDocDefaultValue as i,TSDocDomain as a,TSDocExample as o,TSDocGroup as s,TSDocHidden as c,TSDocIgnore as l,TSDocInternal as u,TSDocLink as d,TSDocModule as f,TSDocParam as p,TSDocParams as m,TSDocPermission as h,TSDocReadonly as g,TSDocRemarks as _,TSDocReturns as v,TSDocRuntime as y,TSDocTag as b,TSDocThrows as x,TSDocTitle as S}from"./tsdoc.mjs";import{TypeParameters as C}from"./type-parameters.mjs";import{ClassDeclaration as w,ClassField as T,ClassMember as E,ClassMethod as D,ClassPropertyGet as O,ClassPropertySet as k}from"./class-declaration.mjs";import{DynamicImportStatement as A}from"./dynamic-import-statement.mjs";import{TSDocObjectSchema as j,TSDocSchemaProperty as M}from"./tsdoc-schema.mjs";import{InterfaceDeclaration as N,InterfaceDeclarationProperty as P,InterfaceExpression as F,InterfaceMember as I}from"./interface-declaration.mjs";import{ObjectDeclaration as L,ObjectDeclarationProperty as R}from"./object-declaration.mjs";import{RecordExpression as z}from"./record-expression.mjs";import{TypeDeclaration as B}from"./type-declaration.mjs";import{TypescriptFile as V,TypescriptFileHeader as H,TypescriptFileHeaderImports as U}from"./typescript-file.mjs";export{w as ClassDeclaration,T as ClassField,E as ClassMember,D as ClassMethod,O as ClassPropertyGet,k as ClassPropertySet,A as DynamicImportStatement,N as InterfaceDeclaration,P as InterfaceDeclarationProperty,F as InterfaceExpression,I as InterfaceMember,L as ObjectDeclaration,R as ObjectDeclarationProperty,e as PropertyName,z as RecordExpression,t as TSDoc,n as TSDocAlias,r as TSDocAttributesTags,i as TSDocDefaultValue,a as TSDocDomain,o as TSDocExample,s as TSDocGroup,c as TSDocHidden,l as TSDocIgnore,u as TSDocInternal,d as TSDocLink,f as TSDocModule,j as TSDocObjectSchema,p as TSDocParam,m as TSDocParams,h as TSDocPermission,g as TSDocReadonly,_ as TSDocRemarks,v as TSDocReturns,y as TSDocRuntime,M as TSDocSchemaProperty,b as TSDocTag,x as TSDocThrows,S as TSDocTitle,B as TypeDeclaration,C as TypeParameters,V as TypescriptFile,H as TypescriptFileHeader,U as TypescriptFileHeaderImports};
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../../core/contexts/schema.cjs"),t=require("../contexts/member-scope.cjs"),n=require("./property-name.cjs"),r=require("./tsdoc.cjs"),i=require("./type-parameters.cjs"),a=require("./tsdoc-schema.cjs");let o=require("@alloy-js/core/jsx-runtime"),s=require("@alloy-js/core"),c=require("@alloy-js/typescript"),l=require("@power-plant/schema/codegen"),u=require("@stryke/type-checks/is-set-string"),d=require("@power-plant/schema"),f=require("@stryke/string-format/pascal-case"),p=require("@stryke/unique-id/uuid");const m=(0,c.ensureTypeRefContext)(function(e){let n=(0,s.createSymbol)(c.TSOutputSymbol,``,void 0,{transient:!0,binder:(0,c.useTSLexicalScope)()?.binder});return(0,s.emitSymbol)(n),(0,o.createIntrinsic)(`group`,{get children(){return(0,o.createComponent)(t.MemberScope,{ownerSymbol:n,get children(){return(0,o.createComponent)(s.Block,{get children(){return e.children}})}})}})});function h(e){let t=e.schema?(0,l.stringifyType)(e.schema):e.type??e.children,i=e.schema&&e.schema?.readOnly||!e.schema&&e.readOnly?`readonly `:``;if(`indexer`in e)return[(0,o.createComponent)(s.Show,{get when(){return!!e.doc},get children(){return(0,o.createComponent)(r.TSDoc,{get heading(){return e.doc}})}}),i,`[`,(0,o.memo)(()=>e.indexer),`]: `,t];let a=(0,c.useTSMemberScope)(),f=(0,s.createSymbol)(c.TSOutputSymbol,(e.schema&&e.schema?.name||(0,u.isSetString)(e.name)?e.name:e.name.toString())||(0,p.uuid)().replace(/-/g,``),a.ownerSymbol.staticMembers,{refkeys:e.refkey,tsFlags:c.TSSymbolFlags.TypeSymbol|(e.schema&&(0,d.isSchemaNullable)(e.schema)||e.nullish?c.TSSymbolFlags.Nullish:c.TSSymbolFlags.None),namePolicy:(0,c.useTSNamePolicy)().for(`interface-member`),binder:a.binder}),m=(0,s.takeSymbols)();return(0,s.effect)(()=>{if(m.size>1)return;let e=Array.from(m)[0];e?.isTransient&&e.moveMembersTo(f)}),(0,o.createComponent)(s.MemberDeclaration,{symbol:f,get children(){return[(0,o.createComponent)(s.Show,{get when(){return!!e.doc},get children(){return(0,o.createComponent)(r.TSDoc,{get heading(){return e.doc}})}}),i,(0,o.createComponent)(n.PropertyName,{}),(0,o.memo)(()=>e.required?``:`?`),`: `,t]}})}const g=(0,c.ensureTypeRefContext)(function(e){let t=(0,s.createSymbolSlot)(),n=(0,s.childrenArray)(()=>e.children),a=e.extends?[` extends `,(0,o.memo)(()=>e.extends)]:``,l=(0,s.findUnkeyedChildren)(n),d=(0,c.useTSLexicalScope)(),f=d?.binder,h=(0,s.createSymbol)(c.TSOutputSymbol,((0,u.isSetString)(e.name)?e.name:e.name?.toString())||(0,p.uuid)().replace(/-/g,``),d.types,{refkeys:e.refkey,default:e.default,export:e.export,metadata:e.metadata,tsFlags:c.TSSymbolFlags.TypeSymbol,namePolicy:(0,c.useTSNamePolicy)().for(`interface`),binder:f});return(0,s.effect)(()=>{if(t.ref.value){let e=t.ref.value;for(let t of e)t.isTransient&&t.moveMembersTo(h)}}),[(0,o.createComponent)(s.Show,{get when(){return!!e.doc},get children(){return(0,o.createComponent)(r.TSDoc,{get heading(){return e.doc}})}}),(0,o.createComponent)(c.Declaration,(0,o.mergeProps)(e,{nameKind:`interface`,kind:`type`,symbol:h,get children(){return[`interface `,(0,o.createComponent)(s.Name,{}),(0,o.memo)(()=>(0,o.memo)(()=>!!e.typeParameters)()&&(0,o.createComponent)(i.TypeParameters,{get parameters(){return e.typeParameters}})),a,` `,(0,o.createComponent)(t,{get children(){return(0,o.createComponent)(m,{children:l})}})]}}))]});function _(t){let[{name:n,schema:r,doc:i},c]=(0,s.splitProps)(t,[`name`,`schema`,`doc`]),l=(0,s.computed)(()=>(0,f.pascalCase)((0,u.isSetString)(n)?n:r?.name||r?.title||``)),p=(0,s.computed)(()=>r?(0,d.getPropertiesList)(r).filter(e=>!e?.ignore).sort((e,t)=>e?.readOnly&&t?.readOnly||!e?.readOnly&&!t?.readOnly?!e.name&&!t.name?0:e.name?t.name?e.name.localeCompare(t.name):1:-1:e?.readOnly?1:-1):[]);return(0,o.createComponent)(s.Show,{get when(){return r&&p.value.length>0},get fallback(){return(0,o.createComponent)(g,(0,o.mergeProps)(t,{get schema(){return{type:`object`,name:l.value,properties:{}}},get name(){return l.value}}))},get children(){return(0,o.createComponent)(e.SchemaContext.Provider,{value:r,get children(){return[(0,o.createComponent)(a.TSDocObjectSchema,{heading:i,schema:r}),(0,o.createComponent)(g,(0,o.mergeProps)({export:!0,get name(){return l.value}},c,{get children(){return(0,o.createComponent)(s.For,{each:p,doubleHardline:!0,semicolon:!0,children:e=>(0,o.createComponent)(v,{get name(){return e.name},schema:e,get required(){return!!e?.required}})})}}))]}})}})}function v(t){let[{schema:n,name:r,required:i,defaultValue:c},l]=(0,s.splitProps)(t,[`schema`,`name`,`required`,`defaultValue`]);return(0,o.createComponent)(s.Show,{get when(){return(0,u.isSetString)(r)},get children(){return(0,o.createComponent)(e.SchemaPropertyContext.Provider,{value:n,get children(){return[(0,o.createComponent)(a.TSDocSchemaProperty,{schema:n,defaultValue:c}),(0,o.createComponent)(h,(0,o.mergeProps)({name:r,schema:n,required:i,get readOnly(){return n?.readOnly},get nullish(){return(0,d.isSchemaNullable)(n)},get type(){return(0,d.getPrimarySchemaType)(n)}},l))]}})}})}exports.InterfaceDeclaration=_,exports.InterfaceDeclarationProperty=v,exports.InterfaceExpression=m,exports.InterfaceMember=h;
@@ -0,0 +1,2 @@
1
+ import { a as InterfaceExpression, c as InterfaceMember, d as InterfaceSchemaMemberProps, f as InterfaceTypeMemberProps, i as InterfaceDeclarationProps, l as InterfaceMemberProps, n as InterfaceDeclarationProperty, o as InterfaceExpressionProps, r as InterfaceDeclarationPropertyProps, s as InterfaceIndexerMemberProps, t as InterfaceDeclaration, u as InterfaceMemberPropsBase } from "../../interface-declaration-BSo-U6IN.cjs";
2
+ export { InterfaceDeclaration, InterfaceDeclarationProperty, InterfaceDeclarationPropertyProps, InterfaceDeclarationProps, InterfaceExpression, InterfaceExpressionProps, InterfaceIndexerMemberProps, InterfaceMember, InterfaceMemberProps, InterfaceMemberPropsBase, InterfaceSchemaMemberProps, InterfaceTypeMemberProps };
@@ -0,0 +1,2 @@
1
+ import { a as InterfaceExpression, c as InterfaceMember, d as InterfaceSchemaMemberProps, f as InterfaceTypeMemberProps, i as InterfaceDeclarationProps, l as InterfaceMemberProps, n as InterfaceDeclarationProperty, o as InterfaceExpressionProps, r as InterfaceDeclarationPropertyProps, s as InterfaceIndexerMemberProps, t as InterfaceDeclaration, u as InterfaceMemberPropsBase } from "../../interface-declaration-DYLPeJH1.mjs";
2
+ export { InterfaceDeclaration, InterfaceDeclarationProperty, InterfaceDeclarationPropertyProps, InterfaceDeclarationProps, InterfaceExpression, InterfaceExpressionProps, InterfaceIndexerMemberProps, InterfaceMember, InterfaceMemberProps, InterfaceMemberPropsBase, InterfaceSchemaMemberProps, InterfaceTypeMemberProps };
@@ -0,0 +1,2 @@
1
+ import{SchemaContext as e,SchemaPropertyContext as t}from"../../core/contexts/schema.mjs";import{MemberScope as n}from"../contexts/member-scope.mjs";import{PropertyName as r}from"./property-name.mjs";import{TSDoc as i}from"./tsdoc.mjs";import{TypeParameters as a}from"./type-parameters.mjs";import{TSDocObjectSchema as o,TSDocSchemaProperty as s}from"./tsdoc-schema.mjs";import{createComponent as c,createIntrinsic as l,memo as u,mergeProps as d}from"@alloy-js/core/jsx-runtime";import{Block as f,For as p,MemberDeclaration as m,Name as h,Show as g,childrenArray as _,computed as v,createSymbol as y,createSymbolSlot as b,effect as x,emitSymbol as S,findUnkeyedChildren as C,splitProps as w,takeSymbols as T}from"@alloy-js/core";import{Declaration as E,TSOutputSymbol as D,TSSymbolFlags as O,ensureTypeRefContext as k,useTSLexicalScope as A,useTSMemberScope as j,useTSNamePolicy as M}from"@alloy-js/typescript";import{stringifyType as N}from"@power-plant/schema/codegen";import{isSetString as P}from"@stryke/type-checks/is-set-string";import{getPrimarySchemaType as F,getPropertiesList as I,isSchemaNullable as L}from"@power-plant/schema";import{pascalCase as R}from"@stryke/string-format/pascal-case";import{uuid as z}from"@stryke/unique-id/uuid";const B=k(function(e){let t=y(D,``,void 0,{transient:!0,binder:A()?.binder});return S(t),l(`group`,{get children(){return c(n,{ownerSymbol:t,get children(){return c(f,{get children(){return e.children}})}})}})});function V(e){let t=e.schema?N(e.schema):e.type??e.children,n=e.schema&&e.schema?.readOnly||!e.schema&&e.readOnly?`readonly `:``;if(`indexer`in e)return[c(g,{get when(){return!!e.doc},get children(){return c(i,{get heading(){return e.doc}})}}),n,`[`,u(()=>e.indexer),`]: `,t];let a=j(),o=y(D,(e.schema&&e.schema?.name||P(e.name)?e.name:e.name.toString())||z().replace(/-/g,``),a.ownerSymbol.staticMembers,{refkeys:e.refkey,tsFlags:O.TypeSymbol|(e.schema&&L(e.schema)||e.nullish?O.Nullish:O.None),namePolicy:M().for(`interface-member`),binder:a.binder}),s=T();return x(()=>{if(s.size>1)return;let e=Array.from(s)[0];e?.isTransient&&e.moveMembersTo(o)}),c(m,{symbol:o,get children(){return[c(g,{get when(){return!!e.doc},get children(){return c(i,{get heading(){return e.doc}})}}),n,c(r,{}),u(()=>e.required?``:`?`),`: `,t]}})}const H=k(function(e){let t=b(),n=_(()=>e.children),r=e.extends?[` extends `,u(()=>e.extends)]:``,o=C(n),s=A(),l=s?.binder,f=y(D,(P(e.name)?e.name:e.name?.toString())||z().replace(/-/g,``),s.types,{refkeys:e.refkey,default:e.default,export:e.export,metadata:e.metadata,tsFlags:O.TypeSymbol,namePolicy:M().for(`interface`),binder:l});return x(()=>{if(t.ref.value){let e=t.ref.value;for(let t of e)t.isTransient&&t.moveMembersTo(f)}}),[c(g,{get when(){return!!e.doc},get children(){return c(i,{get heading(){return e.doc}})}}),c(E,d(e,{nameKind:`interface`,kind:`type`,symbol:f,get children(){return[`interface `,c(h,{}),u(()=>u(()=>!!e.typeParameters)()&&c(a,{get parameters(){return e.typeParameters}})),r,` `,c(t,{get children(){return c(B,{children:o})}})]}}))]});function U(t){let[{name:n,schema:r,doc:i},a]=w(t,[`name`,`schema`,`doc`]),s=v(()=>R(P(n)?n:r?.name||r?.title||``)),l=v(()=>r?I(r).filter(e=>!e?.ignore).sort((e,t)=>e?.readOnly&&t?.readOnly||!e?.readOnly&&!t?.readOnly?!e.name&&!t.name?0:e.name?t.name?e.name.localeCompare(t.name):1:-1:e?.readOnly?1:-1):[]);return c(g,{get when(){return r&&l.value.length>0},get fallback(){return c(H,d(t,{get schema(){return{type:`object`,name:s.value,properties:{}}},get name(){return s.value}}))},get children(){return c(e.Provider,{value:r,get children(){return[c(o,{heading:i,schema:r}),c(H,d({export:!0,get name(){return s.value}},a,{get children(){return c(p,{each:l,doubleHardline:!0,semicolon:!0,children:e=>c(W,{get name(){return e.name},schema:e,get required(){return!!e?.required}})})}}))]}})}})}function W(e){let[{schema:n,name:r,required:i,defaultValue:a},o]=w(e,[`schema`,`name`,`required`,`defaultValue`]);return c(g,{get when(){return P(r)},get children(){return c(t.Provider,{value:n,get children(){return[c(s,{schema:n,defaultValue:a}),c(V,d({name:r,schema:n,required:i,get readOnly(){return n?.readOnly},get nullish(){return L(n)},get type(){return F(n)}},o))]}})}})}export{U as InterfaceDeclaration,W as InterfaceDeclarationProperty,B as InterfaceExpression,V as InterfaceMember};
2
+ //# sourceMappingURL=interface-declaration.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interface-declaration.mjs","names":[],"sources":[],"mappings":""}