@powerlines/plugin-alloy 0.19.13 → 0.19.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (364) hide show
  1. package/dist/builtin-file-0k9DccCv.cjs +67 -0
  2. package/dist/builtin-file-DcLp9sck.d.mts +35 -0
  3. package/dist/builtin-file-DcLp9sck.d.mts.map +1 -0
  4. package/dist/builtin-file-DtkZ-2Hs.d.cts +35 -0
  5. package/dist/builtin-file-DtkZ-2Hs.d.cts.map +1 -0
  6. package/dist/builtin-file-Ie_jPokg.mjs +62 -0
  7. package/dist/builtin-file-Ie_jPokg.mjs.map +1 -0
  8. package/dist/builtin-file-MrUfX3YE.d.cts +35 -0
  9. package/dist/builtin-file-MrUfX3YE.d.cts.map +1 -0
  10. package/dist/builtin-file-RXdRpQs-.d.mts +35 -0
  11. package/dist/builtin-file-RXdRpQs-.d.mts.map +1 -0
  12. package/dist/capnp-CRMDa2Ok.d.mts +88 -0
  13. package/dist/capnp-CRMDa2Ok.d.mts.map +1 -0
  14. package/dist/capnp-ClfqI-5t.cjs +356 -0
  15. package/dist/capnp-CnQcwo0s.mjs +260 -0
  16. package/dist/capnp-CnQcwo0s.mjs.map +1 -0
  17. package/dist/capnp-YnGBPkLK.d.cts +88 -0
  18. package/dist/capnp-YnGBPkLK.d.cts.map +1 -0
  19. package/dist/{_virtual/rolldown_runtime.cjs → chunk-CbDLau6x.cjs} +6 -1
  20. package/dist/components-B0evB5xd.cjs +0 -0
  21. package/dist/components-BNK9p5AE.cjs +0 -0
  22. package/dist/components-C_Rnle_h.mjs +1 -0
  23. package/dist/components-CpjG2zC9.mjs +1 -0
  24. package/dist/components-CrWk5KiP.mjs +1 -0
  25. package/dist/components-CyQi7RHT.mjs +1 -0
  26. package/dist/components-DPKSrvP-.cjs +0 -0
  27. package/dist/components-IRVnipN0.d.cts +143 -0
  28. package/dist/components-IRVnipN0.d.cts.map +1 -0
  29. package/dist/components-ISRFDWTF.cjs +0 -0
  30. package/dist/components-oHSM7vmp.d.mts +143 -0
  31. package/dist/components-oHSM7vmp.d.mts.map +1 -0
  32. package/dist/context--KBspFnw.cjs +79 -0
  33. package/dist/context-Du_bVzRZ.d.mts +67 -0
  34. package/dist/context-Du_bVzRZ.d.mts.map +1 -0
  35. package/dist/context-Gqs3Ru42.d.cts +67 -0
  36. package/dist/context-Gqs3Ru42.d.cts.map +1 -0
  37. package/dist/context-e2kZWEFW.mjs +51 -0
  38. package/dist/context-e2kZWEFW.mjs.map +1 -0
  39. package/dist/contexts-DezKayEz.cjs +0 -0
  40. package/dist/contexts-J643Nrrt.cjs +0 -0
  41. package/dist/contexts-_jq-yJQG.mjs +1 -0
  42. package/dist/contexts-juWSyBfb.mjs +1 -0
  43. package/dist/core/components/index.cjs +11 -6
  44. package/dist/core/components/index.d.cts +6 -3
  45. package/dist/core/components/index.d.mts +6 -3
  46. package/dist/core/components/index.mjs +8 -3
  47. package/dist/core/components/output.cjs +2 -32
  48. package/dist/core/components/output.d.cts +2 -22
  49. package/dist/core/components/output.d.mts +2 -22
  50. package/dist/core/components/output.mjs +1 -30
  51. package/dist/core/components/single-line-comment.cjs +2 -21
  52. package/dist/core/components/single-line-comment.d.cts +2 -21
  53. package/dist/core/components/single-line-comment.d.mts +2 -21
  54. package/dist/core/components/single-line-comment.mjs +1 -19
  55. package/dist/core/components/source-file.cjs +6 -63
  56. package/dist/core/components/source-file.d.cts +2 -31
  57. package/dist/core/components/source-file.d.mts +2 -31
  58. package/dist/core/components/source-file.mjs +5 -60
  59. package/dist/core/contexts/context.cjs +7 -53
  60. package/dist/core/contexts/context.d.cts +1 -65
  61. package/dist/core/contexts/context.d.mts +1 -65
  62. package/dist/core/contexts/context.mjs +2 -48
  63. package/dist/core/contexts/index.cjs +17 -15
  64. package/dist/core/contexts/index.d.cts +4 -2
  65. package/dist/core/contexts/index.d.mts +4 -2
  66. package/dist/core/contexts/index.mjs +4 -2
  67. package/dist/core/contexts/reflection.cjs +9 -67
  68. package/dist/core/contexts/reflection.d.cts +2 -51
  69. package/dist/core/contexts/reflection.d.mts +2 -51
  70. package/dist/core/contexts/reflection.mjs +1 -58
  71. package/dist/core/index.cjs +24 -23
  72. package/dist/core/index.d.cts +8 -7
  73. package/dist/core/index.d.mts +8 -7
  74. package/dist/core/index.mjs +8 -7
  75. package/dist/create-builtin-BiKyN2s2.cjs +24 -0
  76. package/dist/create-builtin-DFiWd6Zc.d.cts +16 -0
  77. package/dist/create-builtin-DFiWd6Zc.d.cts.map +1 -0
  78. package/dist/create-builtin-DQuJyeZw.mjs +19 -0
  79. package/dist/create-builtin-DQuJyeZw.mjs.map +1 -0
  80. package/dist/create-builtin-FtQ6qKzX.d.mts +16 -0
  81. package/dist/create-builtin-FtQ6qKzX.d.mts.map +1 -0
  82. package/dist/dynamic-import-statement-B5Pdwr4Z.d.mts +33 -0
  83. package/dist/dynamic-import-statement-B5Pdwr4Z.d.mts.map +1 -0
  84. package/dist/dynamic-import-statement-BbNJchii.mjs +25 -0
  85. package/dist/dynamic-import-statement-BbNJchii.mjs.map +1 -0
  86. package/dist/dynamic-import-statement-DNJlI3ND.d.cts +33 -0
  87. package/dist/dynamic-import-statement-DNJlI3ND.d.cts.map +1 -0
  88. package/dist/dynamic-import-statement-DTSUoDt2.d.cts +33 -0
  89. package/dist/dynamic-import-statement-DTSUoDt2.d.cts.map +1 -0
  90. package/dist/dynamic-import-statement-Dy_MY_Ua.cjs +30 -0
  91. package/dist/entry-file-CfMzpF03.d.cts +28 -0
  92. package/dist/entry-file-CfMzpF03.d.cts.map +1 -0
  93. package/dist/entry-file-CnC6P3j6.d.mts +28 -0
  94. package/dist/entry-file-CnC6P3j6.d.mts.map +1 -0
  95. package/dist/entry-file-D64eurjX.mjs +41 -0
  96. package/dist/entry-file-D64eurjX.mjs.map +1 -0
  97. package/dist/entry-file-DVueLVSn.d.cts +28 -0
  98. package/dist/entry-file-DVueLVSn.d.cts.map +1 -0
  99. package/dist/entry-file-GR5Rsn25.cjs +47 -0
  100. package/dist/entry-file-ayzYWEo5.d.mts +28 -0
  101. package/dist/entry-file-ayzYWEo5.d.mts.map +1 -0
  102. package/dist/front-matter-2eGRXX11.mjs +28 -0
  103. package/dist/front-matter-2eGRXX11.mjs.map +1 -0
  104. package/dist/front-matter-DGpkM9OE.d.mts +16 -0
  105. package/dist/front-matter-DGpkM9OE.d.mts.map +1 -0
  106. package/dist/front-matter-DZ1tB-Uj.cjs +33 -0
  107. package/dist/front-matter-gcouRI-6.d.cts +16 -0
  108. package/dist/front-matter-gcouRI-6.d.cts.map +1 -0
  109. package/dist/front-matter-u9H7VPAF.d.cts +16 -0
  110. package/dist/front-matter-u9H7VPAF.d.cts.map +1 -0
  111. package/dist/helpers/capnp.cjs +18 -276
  112. package/dist/helpers/capnp.d.cts +1 -86
  113. package/dist/helpers/capnp.d.mts +1 -86
  114. package/dist/helpers/capnp.mjs +1 -257
  115. package/dist/helpers/create-builtin.cjs +2 -18
  116. package/dist/helpers/create-builtin.d.cts +1 -14
  117. package/dist/helpers/create-builtin.d.mts +1 -14
  118. package/dist/helpers/create-builtin.mjs +1 -16
  119. package/dist/helpers/index.cjs +23 -23
  120. package/dist/helpers/index.d.cts +4 -4
  121. package/dist/helpers/index.d.mts +4 -4
  122. package/dist/helpers/index.mjs +4 -4
  123. package/dist/helpers/refkey.cjs +2 -15
  124. package/dist/helpers/refkey.d.cts +1 -12
  125. package/dist/helpers/refkey.d.mts +1 -12
  126. package/dist/helpers/refkey.mjs +1 -13
  127. package/dist/helpers/typescript.cjs +2 -45
  128. package/dist/helpers/typescript.d.cts +1 -24
  129. package/dist/helpers/typescript.d.mts +1 -24
  130. package/dist/helpers/typescript.mjs +1 -43
  131. package/dist/index-B-Y-ZG2x.d.mts +1 -0
  132. package/dist/index-BH1nuHdZ.d.cts +1 -0
  133. package/dist/index-BUYyA1Xh.d.cts +1 -0
  134. package/dist/index-C-lwXyQ6.d.mts +1 -0
  135. package/dist/index-C6HcjJiY.d.mts +1 -0
  136. package/dist/index-C6yvNuzO.d.cts +1 -0
  137. package/dist/index-CrhZaFgN.d.cts +1 -0
  138. package/dist/index-CzItj62a.d.mts +1 -0
  139. package/dist/index-DcDTDbdz.d.cts +1 -0
  140. package/dist/index-hcx6LMSC.d.mts +1 -0
  141. package/dist/index.cjs +8 -6
  142. package/dist/index.d.cts +3 -2
  143. package/dist/index.d.cts.map +1 -0
  144. package/dist/index.d.mts +3 -2
  145. package/dist/index.d.mts.map +1 -0
  146. package/dist/index.mjs +8 -5
  147. package/dist/index.mjs.map +1 -0
  148. package/dist/markdown/components/front-matter.cjs +2 -27
  149. package/dist/markdown/components/front-matter.d.cts +1 -14
  150. package/dist/markdown/components/front-matter.d.mts +1 -14
  151. package/dist/markdown/components/front-matter.mjs +1 -25
  152. package/dist/markdown/components/index.cjs +17 -9
  153. package/dist/markdown/components/index.d.cts +7 -3
  154. package/dist/markdown/components/index.d.mts +7 -3
  155. package/dist/markdown/components/index.mjs +11 -3
  156. package/dist/markdown/components/markdown-file.cjs +10 -130
  157. package/dist/markdown/components/markdown-file.d.cts +4 -27
  158. package/dist/markdown/components/markdown-file.d.mts +4 -27
  159. package/dist/markdown/components/markdown-file.mjs +8 -127
  160. package/dist/markdown/components/markdown-table.cjs +5 -100
  161. package/dist/markdown/components/markdown-table.d.cts +3 -26
  162. package/dist/markdown/components/markdown-table.d.mts +3 -26
  163. package/dist/markdown/components/markdown-table.mjs +2 -96
  164. package/dist/markdown/contexts/index.cjs +6 -5
  165. package/dist/markdown/contexts/index.d.cts +2 -1
  166. package/dist/markdown/contexts/index.d.mts +2 -1
  167. package/dist/markdown/contexts/index.mjs +2 -1
  168. package/dist/markdown/contexts/markdown-table.cjs +5 -36
  169. package/dist/markdown/contexts/markdown-table.d.cts +1 -36
  170. package/dist/markdown/contexts/markdown-table.d.mts +1 -36
  171. package/dist/markdown/contexts/markdown-table.mjs +1 -31
  172. package/dist/markdown/index.cjs +22 -16
  173. package/dist/markdown/index.d.cts +8 -6
  174. package/dist/markdown/index.d.mts +8 -6
  175. package/dist/markdown/index.mjs +12 -6
  176. package/dist/markdown-file-CAwtMwsl.cjs +141 -0
  177. package/dist/markdown-file-CIGTz9xQ.d.cts +29 -0
  178. package/dist/markdown-file-CIGTz9xQ.d.cts.map +1 -0
  179. package/dist/markdown-file-CxDM6MCV.d.cts +29 -0
  180. package/dist/markdown-file-CxDM6MCV.d.cts.map +1 -0
  181. package/dist/markdown-file-DIcSvowq.mjs +130 -0
  182. package/dist/markdown-file-DIcSvowq.mjs.map +1 -0
  183. package/dist/markdown-file-EtJaVhJ3.d.mts +29 -0
  184. package/dist/markdown-file-EtJaVhJ3.d.mts.map +1 -0
  185. package/dist/markdown-table-AoJIzA89.d.cts +28 -0
  186. package/dist/markdown-table-AoJIzA89.d.cts.map +1 -0
  187. package/dist/markdown-table-BWPm6GbJ.cjs +57 -0
  188. package/dist/markdown-table-Br2Ihl2z.d.cts +38 -0
  189. package/dist/markdown-table-Br2Ihl2z.d.cts.map +1 -0
  190. package/dist/markdown-table-CFL7L6rA.d.mts +38 -0
  191. package/dist/markdown-table-CFL7L6rA.d.mts.map +1 -0
  192. package/dist/markdown-table-ChvYobzz.d.mts +28 -0
  193. package/dist/markdown-table-ChvYobzz.d.mts.map +1 -0
  194. package/dist/markdown-table-D3DonpwR.mjs +99 -0
  195. package/dist/markdown-table-D3DonpwR.mjs.map +1 -0
  196. package/dist/markdown-table-DFSFKzCN.d.cts +28 -0
  197. package/dist/markdown-table-DFSFKzCN.d.cts.map +1 -0
  198. package/dist/markdown-table-eTnxxb46.cjs +116 -0
  199. package/dist/markdown-table-g6DeP10e.mjs +34 -0
  200. package/dist/markdown-table-g6DeP10e.mjs.map +1 -0
  201. package/dist/output-BnmXIAFP.d.cts +24 -0
  202. package/dist/output-BnmXIAFP.d.cts.map +1 -0
  203. package/dist/output-CMC94bm-.d.mts +24 -0
  204. package/dist/output-CMC94bm-.d.mts.map +1 -0
  205. package/dist/output-CQXrGP3y.cjs +38 -0
  206. package/dist/output-D3UQ5nZo.mjs +33 -0
  207. package/dist/output-D3UQ5nZo.mjs.map +1 -0
  208. package/dist/output-Dq1RRbJY.d.cts +24 -0
  209. package/dist/output-Dq1RRbJY.d.cts.map +1 -0
  210. package/dist/plugin-B8wUxSXi.cjs +0 -0
  211. package/dist/plugin-BmQ6pIes.mjs +1 -0
  212. package/dist/plugin-C6SupJ8C.d.cts +41 -0
  213. package/dist/plugin-C6SupJ8C.d.cts.map +1 -0
  214. package/dist/plugin-bEu9fq1G.d.mts +41 -0
  215. package/dist/plugin-bEu9fq1G.d.mts.map +1 -0
  216. package/dist/record-expression-6ElbFyR0.cjs +17 -0
  217. package/dist/record-expression-BjXMzi4r.mjs +12 -0
  218. package/dist/record-expression-BjXMzi4r.mjs.map +1 -0
  219. package/dist/record-expression-adlQJuNw.d.cts +13 -0
  220. package/dist/record-expression-adlQJuNw.d.cts.map +1 -0
  221. package/dist/record-expression-c9kQA93k.d.mts +13 -0
  222. package/dist/record-expression-c9kQA93k.d.mts.map +1 -0
  223. package/dist/refkey-Bf_2_U5t.d.cts +14 -0
  224. package/dist/refkey-Bf_2_U5t.d.cts.map +1 -0
  225. package/dist/refkey-C08kDOQ0.cjs +21 -0
  226. package/dist/refkey-CIFiGvgZ.mjs +16 -0
  227. package/dist/refkey-CIFiGvgZ.mjs.map +1 -0
  228. package/dist/refkey-CSZgFc0P.d.mts +14 -0
  229. package/dist/refkey-CSZgFc0P.d.mts.map +1 -0
  230. package/dist/reflection-B-NMNIoB.mjs +61 -0
  231. package/dist/reflection-B-NMNIoB.mjs.map +1 -0
  232. package/dist/reflection-CUo0047e.d.mts +53 -0
  233. package/dist/reflection-CUo0047e.d.mts.map +1 -0
  234. package/dist/reflection-DHpdhvwI.cjs +108 -0
  235. package/dist/reflection-xU09ifzp.d.cts +53 -0
  236. package/dist/reflection-xU09ifzp.d.cts.map +1 -0
  237. package/dist/single-line-comment-B258_x1B.d.cts +23 -0
  238. package/dist/single-line-comment-B258_x1B.d.cts.map +1 -0
  239. package/dist/single-line-comment-COZ9RWsm.cjs +27 -0
  240. package/dist/single-line-comment-D9dIL45u.d.cts +23 -0
  241. package/dist/single-line-comment-D9dIL45u.d.cts.map +1 -0
  242. package/dist/single-line-comment-PMv_zrfe.d.mts +23 -0
  243. package/dist/single-line-comment-PMv_zrfe.d.mts.map +1 -0
  244. package/dist/single-line-comment-mOQtfhWt.mjs +22 -0
  245. package/dist/single-line-comment-mOQtfhWt.mjs.map +1 -0
  246. package/dist/source-file-95cXzcLB.d.cts +33 -0
  247. package/dist/source-file-95cXzcLB.d.cts.map +1 -0
  248. package/dist/source-file-BAVTBVJy.cjs +68 -0
  249. package/dist/source-file-BTsyACav.d.cts +33 -0
  250. package/dist/source-file-BTsyACav.d.cts.map +1 -0
  251. package/dist/source-file-BiJK-nH_.mjs +62 -0
  252. package/dist/source-file-BiJK-nH_.mjs.map +1 -0
  253. package/dist/source-file-CQl0UCgf.d.mts +33 -0
  254. package/dist/source-file-CQl0UCgf.d.mts.map +1 -0
  255. package/dist/tsdoc-BId4fp5_.cjs +585 -0
  256. package/dist/tsdoc-CfvwK4Ml.d.cts +164 -0
  257. package/dist/tsdoc-CfvwK4Ml.d.cts.map +1 -0
  258. package/dist/tsdoc-Crv526i6.mjs +466 -0
  259. package/dist/tsdoc-Crv526i6.mjs.map +1 -0
  260. package/dist/tsdoc-OUuKjTbh.d.mts +164 -0
  261. package/dist/tsdoc-OUuKjTbh.d.mts.map +1 -0
  262. package/dist/tsdoc-reflection-B4bfElmj.d.cts +19 -0
  263. package/dist/tsdoc-reflection-B4bfElmj.d.cts.map +1 -0
  264. package/dist/tsdoc-reflection-BbjnIsUV.d.cts +19 -0
  265. package/dist/tsdoc-reflection-BbjnIsUV.d.cts.map +1 -0
  266. package/dist/tsdoc-reflection-D-eKs6S1.mjs +176 -0
  267. package/dist/tsdoc-reflection-D-eKs6S1.mjs.map +1 -0
  268. package/dist/tsdoc-reflection-IH-Mt2o_.cjs +193 -0
  269. package/dist/tsdoc-reflection-ulqYHfKL.d.mts +19 -0
  270. package/dist/tsdoc-reflection-ulqYHfKL.d.mts.map +1 -0
  271. package/dist/types/components.cjs +1 -0
  272. package/dist/types/components.d.cts +1 -141
  273. package/dist/types/components.d.mts +1 -141
  274. package/dist/types/components.mjs +2 -0
  275. package/dist/types/index.cjs +2 -0
  276. package/dist/types/index.d.cts +2 -2
  277. package/dist/types/index.d.mts +2 -2
  278. package/dist/types/index.mjs +3 -0
  279. package/dist/types/plugin.cjs +1 -0
  280. package/dist/types/plugin.d.cts +1 -39
  281. package/dist/types/plugin.d.mts +1 -39
  282. package/dist/types/plugin.mjs +2 -0
  283. package/dist/typescript/components/builtin-file.cjs +10 -61
  284. package/dist/typescript/components/builtin-file.d.cts +5 -33
  285. package/dist/typescript/components/builtin-file.d.mts +5 -33
  286. package/dist/typescript/components/builtin-file.mjs +9 -59
  287. package/dist/typescript/components/dynamic-import-statement.cjs +2 -24
  288. package/dist/typescript/components/dynamic-import-statement.d.cts +1 -31
  289. package/dist/typescript/components/dynamic-import-statement.d.mts +1 -31
  290. package/dist/typescript/components/dynamic-import-statement.mjs +1 -22
  291. package/dist/typescript/components/entry-file.cjs +9 -41
  292. package/dist/typescript/components/entry-file.d.cts +4 -26
  293. package/dist/typescript/components/entry-file.d.mts +4 -26
  294. package/dist/typescript/components/entry-file.mjs +8 -38
  295. package/dist/typescript/components/index.cjs +50 -43
  296. package/dist/typescript/components/index.d.cts +12 -9
  297. package/dist/typescript/components/index.d.mts +12 -9
  298. package/dist/typescript/components/index.mjs +16 -9
  299. package/dist/typescript/components/record-expression.cjs +2 -11
  300. package/dist/typescript/components/record-expression.d.cts +1 -11
  301. package/dist/typescript/components/record-expression.d.mts +1 -11
  302. package/dist/typescript/components/record-expression.mjs +1 -9
  303. package/dist/typescript/components/tsdoc-reflection.cjs +8 -177
  304. package/dist/typescript/components/tsdoc-reflection.d.cts +3 -17
  305. package/dist/typescript/components/tsdoc-reflection.d.mts +3 -17
  306. package/dist/typescript/components/tsdoc-reflection.mjs +5 -173
  307. package/dist/typescript/components/tsdoc.cjs +23 -484
  308. package/dist/typescript/components/tsdoc.d.cts +2 -162
  309. package/dist/typescript/components/tsdoc.d.mts +2 -162
  310. package/dist/typescript/components/tsdoc.mjs +3 -463
  311. package/dist/typescript/components/typescript-file.cjs +10 -215
  312. package/dist/typescript/components/typescript-file.d.cts +3 -48
  313. package/dist/typescript/components/typescript-file.d.mts +3 -48
  314. package/dist/typescript/components/typescript-file.mjs +7 -211
  315. package/dist/typescript/components/typescript-interface.cjs +8 -72
  316. package/dist/typescript/components/typescript-interface.d.cts +2 -24
  317. package/dist/typescript/components/typescript-interface.d.mts +2 -24
  318. package/dist/typescript/components/typescript-interface.mjs +6 -69
  319. package/dist/typescript/components/typescript-object.cjs +8 -124
  320. package/dist/typescript/components/typescript-object.d.cts +2 -28
  321. package/dist/typescript/components/typescript-object.d.mts +2 -28
  322. package/dist/typescript/components/typescript-object.mjs +6 -121
  323. package/dist/typescript/index.cjs +50 -44
  324. package/dist/typescript/index.d.cts +12 -10
  325. package/dist/typescript/index.d.mts +12 -10
  326. package/dist/typescript/index.mjs +16 -10
  327. package/dist/typescript-BCc7kwL_.mjs +46 -0
  328. package/dist/typescript-BCc7kwL_.mjs.map +1 -0
  329. package/dist/typescript-BbjCTT04.cjs +51 -0
  330. package/dist/typescript-DWzPF4n4.d.mts +26 -0
  331. package/dist/typescript-DWzPF4n4.d.mts.map +1 -0
  332. package/dist/typescript-file-BWaBMfMr.d.mts +50 -0
  333. package/dist/typescript-file-BWaBMfMr.d.mts.map +1 -0
  334. package/dist/typescript-file-BmLwVIQP.cjs +231 -0
  335. package/dist/typescript-file-C5NjN3H2.mjs +214 -0
  336. package/dist/typescript-file-C5NjN3H2.mjs.map +1 -0
  337. package/dist/typescript-file-MYxikvB6.d.cts +50 -0
  338. package/dist/typescript-file-MYxikvB6.d.cts.map +1 -0
  339. package/dist/typescript-file-fOVF6YF2.d.cts +50 -0
  340. package/dist/typescript-file-fOVF6YF2.d.cts.map +1 -0
  341. package/dist/typescript-interface-BNdWrKgb.cjs +83 -0
  342. package/dist/typescript-interface-D-d9A720.d.cts +26 -0
  343. package/dist/typescript-interface-D-d9A720.d.cts.map +1 -0
  344. package/dist/typescript-interface-LN3uCdA6.mjs +72 -0
  345. package/dist/typescript-interface-LN3uCdA6.mjs.map +1 -0
  346. package/dist/typescript-interface-MV4qwTHs.d.mts +26 -0
  347. package/dist/typescript-interface-MV4qwTHs.d.mts.map +1 -0
  348. package/dist/typescript-o4AsClkT.d.cts +26 -0
  349. package/dist/typescript-o4AsClkT.d.cts.map +1 -0
  350. package/dist/typescript-object-Bbza8TK7.d.cts +30 -0
  351. package/dist/typescript-object-Bbza8TK7.d.cts.map +1 -0
  352. package/dist/typescript-object-C7p9fJBF.d.mts +30 -0
  353. package/dist/typescript-object-C7p9fJBF.d.mts.map +1 -0
  354. package/dist/typescript-object-DIyR8xhW.mjs +124 -0
  355. package/dist/typescript-object-DIyR8xhW.mjs.map +1 -0
  356. package/dist/typescript-object-ENaG1YGI.cjs +135 -0
  357. package/dist/typescript-object-v1WiBD8W.d.cts +30 -0
  358. package/dist/typescript-object-v1WiBD8W.d.cts.map +1 -0
  359. package/dist/unctx-MFxscYXI.mjs +12 -0
  360. package/dist/unctx-MFxscYXI.mjs.map +1 -0
  361. package/dist/unctx-r7Vvh6XR.cjs +17 -0
  362. package/package.json +6 -6
  363. package/dist/internal/unctx.cjs +0 -8
  364. package/dist/internal/unctx.mjs +0 -7
@@ -1,25 +1,3 @@
1
- import { ComponentProps } from "../../types/components.mjs";
2
- import * as _alloy_js_core10 from "@alloy-js/core";
3
- import { ReflectionClass, ReflectionProperty } from "@powerlines/deepkit/vendor/type";
4
- import { InterfaceDeclarationProps, InterfaceMemberProps } from "@alloy-js/typescript";
5
-
6
- //#region src/typescript/components/typescript-interface.d.ts
7
- interface TypeScriptInterfaceProps<T extends Record<string, any> = Record<string, any>> extends InterfaceDeclarationProps, ComponentProps {
8
- reflection: ReflectionClass<T>;
9
- defaultValue?: Partial<T>;
10
- }
11
- interface TypescriptInterfacePropertyProps extends Omit<InterfaceMemberProps, "name">, ComponentProps {
12
- property: ReflectionProperty;
13
- }
14
- /**
15
- * Generates a TypeScript interface for the given reflection class.
16
- */
17
- declare function TypeScriptInterface<T extends Record<string, any> = Record<string, any>>(props: TypeScriptInterfaceProps<T>): _alloy_js_core10.Children;
18
- /**
19
- * Generates a TypeScript interface property for the given reflection class.
20
- */
21
- declare function TypescriptInterfaceProperty(props: TypescriptInterfacePropertyProps): _alloy_js_core10.Children;
22
- declare type __ΩTypeScriptInterfaceProps = any[];
23
- declare type __ΩTypescriptInterfacePropertyProps = any[];
24
- //#endregion
1
+ import "../../components-oHSM7vmp.mjs";
2
+ import { a as __ΩTypeScriptInterfaceProps, i as TypescriptInterfacePropertyProps, n as TypeScriptInterfaceProps, o as __ΩTypescriptInterfacePropertyProps, r as TypescriptInterfaceProperty, t as TypeScriptInterface } from "../../typescript-interface-MV4qwTHs.mjs";
25
3
  export { TypeScriptInterface, TypeScriptInterfaceProps, TypescriptInterfaceProperty, TypescriptInterfacePropertyProps, __ΩTypeScriptInterfaceProps, __ΩTypescriptInterfacePropertyProps };
@@ -1,71 +1,8 @@
1
- import { ReflectionClassContext, ReflectionPropertyContext } from "../../core/contexts/reflection.mjs";
2
- import { TSDocReflectionClass, TSDocReflectionProperty } from "./tsdoc-reflection.mjs";
3
- import { createComponent, mergeProps } from "@alloy-js/core/jsx-runtime";
4
- import { For, computed, splitProps } from "@alloy-js/core";
5
- import { stringifyType } from "@powerlines/deepkit/vendor/type";
6
- import { pascalCase } from "@stryke/string-format/pascal-case";
7
- import { isString } from "@stryke/type-checks/is-string";
8
- import { InterfaceDeclaration, InterfaceMember } from "@alloy-js/typescript";
1
+ import "../../unctx-MFxscYXI.mjs";
2
+ import "../../context-e2kZWEFW.mjs";
3
+ import "../../reflection-B-NMNIoB.mjs";
4
+ import "../../tsdoc-Crv526i6.mjs";
5
+ import "../../tsdoc-reflection-D-eKs6S1.mjs";
6
+ import { n as TypescriptInterfaceProperty, t as TypeScriptInterface } from "../../typescript-interface-LN3uCdA6.mjs";
9
7
 
10
- //#region src/typescript/components/typescript-interface.tsx
11
- /**
12
- * Generates a TypeScript interface for the given reflection class.
13
- */
14
- function TypeScriptInterface(props) {
15
- const [{ name, reflection, doc }, rest] = splitProps(props, [
16
- "name",
17
- "reflection",
18
- "doc"
19
- ]);
20
- const interfaceName = computed(() => pascalCase((isString(name) ? name : name.toString()) || reflection.getName()));
21
- const properties = reflection.getProperties().filter((item) => !item.isIgnored()).sort((a, b) => a.isReadonly() && b.isReadonly() || !a.isReadonly() && !b.isReadonly() ? a.getNameAsString().localeCompare(b.getNameAsString()) : a.isReadonly() ? 1 : -1);
22
- return createComponent(ReflectionClassContext.Provider, {
23
- value: { reflection },
24
- get children() {
25
- return [createComponent(TSDocReflectionClass, { heading: doc }), createComponent(InterfaceDeclaration, mergeProps({
26
- "export": true,
27
- get name() {
28
- return interfaceName.value;
29
- }
30
- }, rest, { get children() {
31
- return createComponent(For, {
32
- each: properties,
33
- doubleHardline: true,
34
- semicolon: true,
35
- children: (prop) => createComponent(TypescriptInterfaceProperty, { property: prop })
36
- });
37
- } }))];
38
- }
39
- });
40
- }
41
- /**
42
- * Generates a TypeScript interface property for the given reflection class.
43
- */
44
- function TypescriptInterfaceProperty(props) {
45
- const [{ property }, rest] = splitProps(props, ["property"]);
46
- return createComponent(ReflectionPropertyContext.Provider, {
47
- value: property,
48
- get children() {
49
- return [createComponent(TSDocReflectionProperty, {}), createComponent(InterfaceMember, mergeProps({
50
- get name() {
51
- return property.getNameAsString();
52
- },
53
- get readonly() {
54
- return property.isReadonly();
55
- },
56
- get optional() {
57
- return property.isOptional();
58
- },
59
- get nullish() {
60
- return property.isNullable();
61
- },
62
- get type() {
63
- return stringifyType(property.getType());
64
- }
65
- }, rest))];
66
- }
67
- });
68
- }
69
-
70
- //#endregion
71
8
  export { TypeScriptInterface, TypescriptInterfaceProperty };
@@ -1,125 +1,9 @@
1
- const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
2
- const require_core_contexts_reflection = require('../../core/contexts/reflection.cjs');
3
- const require_typescript_components_tsdoc_reflection = require('./tsdoc-reflection.cjs');
4
- let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
5
- let __alloy_js_core = require("@alloy-js/core");
6
- let __powerlines_deepkit_utilities = require("@powerlines/deepkit/utilities");
7
- let __stryke_string_format_camel_case = require("@stryke/string-format/camel-case");
8
- let __stryke_type_checks_is_undefined = require("@stryke/type-checks/is-undefined");
9
- let __stryke_string_format_pascal_case = require("@stryke/string-format/pascal-case");
10
- let __stryke_type_checks_is_string = require("@stryke/type-checks/is-string");
11
- let __alloy_js_typescript = require("@alloy-js/typescript");
1
+ require('../../unctx-r7Vvh6XR.cjs');
2
+ require('../../context--KBspFnw.cjs');
3
+ require('../../reflection-DHpdhvwI.cjs');
4
+ require('../../tsdoc-BId4fp5_.cjs');
5
+ require('../../tsdoc-reflection-IH-Mt2o_.cjs');
6
+ const require_typescript_object = require('../../typescript-object-ENaG1YGI.cjs');
12
7
 
13
- //#region src/typescript/components/typescript-object.tsx
14
- /**
15
- * Generates a TypeScript object for the given reflection class.
16
- */
17
- function TypescriptObject(props) {
18
- if (!props.reflection?.value) return null;
19
- const objectName = (0, __alloy_js_core.computed)(() => (0, __stryke_string_format_camel_case.camelCase)(((0, __stryke_type_checks_is_string.isString)(props.name) ? props.name : props.name.toString()) || props.reflection.value.getName()));
20
- const objectType = (0, __alloy_js_core.computed)(() => props.type || (0, __stryke_string_format_pascal_case.pascalCase)(props.reflection.value.getName()));
21
- const properties = (0, __alloy_js_core.computed)(() => props.reflection.value.getProperties().filter((item) => !item.isIgnored() && !(0, __stryke_type_checks_is_undefined.isUndefined)(props.defaultValue?.value?.[item.getNameAsString()] ?? item.getAlias().reduce((ret, alias) => {
22
- if ((0, __stryke_type_checks_is_undefined.isUndefined)(ret) && !(0, __stryke_type_checks_is_undefined.isUndefined)(props.defaultValue?.value?.[alias])) return props.defaultValue?.value?.[alias];
23
- return ret;
24
- }, void 0) ?? item.getDefaultValue())).sort((a, b) => a.isReadonly() && b.isReadonly() || !a.isReadonly() && !b.isReadonly() ? a.getNameAsString().localeCompare(b.getNameAsString()) : a.isReadonly() ? 1 : -1));
25
- const TypeSymbolSlot = (0, __alloy_js_core.createSymbolSlot)();
26
- const ValueTypeSymbolSlot = (0, __alloy_js_core.createSymbolSlot)();
27
- const sym = (0, __alloy_js_typescript.createValueSymbol)(props.name, {
28
- refkeys: props.refkey,
29
- default: props.default,
30
- export: props.export,
31
- metadata: props.metadata,
32
- tsFlags: props.nullish ? __alloy_js_typescript.TSSymbolFlags.Nullish : __alloy_js_typescript.TSSymbolFlags.None,
33
- type: props.type ? TypeSymbolSlot.firstSymbol : void 0,
34
- namePolicy: (0, __alloy_js_typescript.useTSNamePolicy)().for("variable")
35
- });
36
- if (!props.type) ValueTypeSymbolSlot.moveMembersTo(sym);
37
- const keyword = props.var ? "var" : props.let ? "let" : "const";
38
- const type = props.type ? (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_typescript.TypeRefContext, { get children() {
39
- return [": ", (0, __alloy_js_core_jsx_runtime.createComponent)(TypeSymbolSlot, { get children() {
40
- return props.type;
41
- } })];
42
- } }) : void 0;
43
- return (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
44
- get when() {
45
- return !!props.reflection.value;
46
- },
47
- get children() {
48
- return (0, __alloy_js_core_jsx_runtime.createComponent)(require_core_contexts_reflection.ReflectionClassContext.Provider, {
49
- get value() {
50
- return {
51
- reflection: props.reflection.value,
52
- override: {
53
- name: objectName.value,
54
- type: objectType.value,
55
- defaultValue: props.defaultValue?.value
56
- }
57
- };
58
- },
59
- get children() {
60
- return [(0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
61
- get when() {
62
- return !!objectName.value && !!objectType.value;
63
- },
64
- get children() {
65
- return [(0, __alloy_js_core_jsx_runtime.createComponent)(require_typescript_components_tsdoc_reflection.TSDocReflectionClass, {}), (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Declaration, {
66
- symbol: sym,
67
- get children() {
68
- return [
69
- (0, __alloy_js_core_jsx_runtime.memo)(() => props.export ? "export " : ""),
70
- (0, __alloy_js_core_jsx_runtime.memo)(() => props.default ? "default " : ""),
71
- keyword,
72
- " ",
73
- (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Name, {}),
74
- type,
75
- " =",
76
- " ",
77
- (0, __alloy_js_core_jsx_runtime.createComponent)(ValueTypeSymbolSlot, { get children() {
78
- return props.initializer ?? props.children ?? (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_typescript.ObjectExpression, { get children() {
79
- return (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.For, {
80
- get each() {
81
- return properties.value ?? [];
82
- },
83
- comma: true,
84
- doubleHardline: true,
85
- children: (prop) => (0, __alloy_js_core_jsx_runtime.createComponent)(TypescriptObjectProperty, { property: prop })
86
- });
87
- } });
88
- } })
89
- ];
90
- }
91
- })];
92
- }
93
- }), (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {})];
94
- }
95
- });
96
- }
97
- });
98
- }
99
- /**
100
- * Generates a TypeScript object property for the given reflection class.
101
- */
102
- function TypescriptObjectProperty(props) {
103
- const [{ property }] = (0, __alloy_js_core.splitProps)(props, ["property"]);
104
- return (0, __alloy_js_core_jsx_runtime.createComponent)(require_core_contexts_reflection.ReflectionPropertyContext.Provider, {
105
- value: property,
106
- get children() {
107
- return [
108
- (0, __alloy_js_core_jsx_runtime.createComponent)(require_typescript_components_tsdoc_reflection.TSDocReflectionProperty, {}),
109
- (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_typescript.ObjectProperty, {
110
- get name() {
111
- return property.getNameAsString();
112
- },
113
- get value() {
114
- return (0, __powerlines_deepkit_utilities.stringifyDefaultValue)(property);
115
- }
116
- }),
117
- (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {})
118
- ];
119
- }
120
- });
121
- }
122
-
123
- //#endregion
124
- exports.TypescriptObject = TypescriptObject;
125
- exports.TypescriptObjectProperty = TypescriptObjectProperty;
8
+ exports.TypescriptObject = require_typescript_object.TypescriptObject;
9
+ exports.TypescriptObjectProperty = require_typescript_object.TypescriptObjectProperty;
@@ -1,29 +1,3 @@
1
- import { ComponentProps } from "../../types/components.cjs";
2
- import * as _alloy_js_core16 from "@alloy-js/core";
3
- import { VarDeclarationProps } from "@alloy-js/typescript";
4
- import { ReflectionClass, ReflectionProperty } from "@powerlines/deepkit/vendor/type";
5
-
6
- //#region src/typescript/components/typescript-object.d.ts
7
- interface ComputedRef<T = any> {
8
- readonly value: T;
9
- }
10
- interface TypescriptObjectProps<T extends Record<string, any> = Record<string, any>> extends VarDeclarationProps {
11
- reflection?: ComputedRef<ReflectionClass<T>>;
12
- defaultValue?: ComputedRef<Partial<T> | undefined>;
13
- }
14
- interface TypescriptObjectPropertyProps extends ComponentProps {
15
- property: ReflectionProperty;
16
- }
17
- /**
18
- * Generates a TypeScript object for the given reflection class.
19
- */
20
- declare function TypescriptObject<T extends Record<string, any> = Record<string, any>>(props: TypescriptObjectProps<T>): _alloy_js_core16.Children;
21
- /**
22
- * Generates a TypeScript object property for the given reflection class.
23
- */
24
- declare function TypescriptObjectProperty(props: TypescriptObjectPropertyProps): _alloy_js_core16.Children;
25
- declare type __ΩComputedRef = any[];
26
- declare type __ΩTypescriptObjectProps = any[];
27
- declare type __ΩTypescriptObjectPropertyProps = any[];
28
- //#endregion
1
+ import "../../components-IRVnipN0.cjs";
2
+ import { a as TypescriptObjectProps, c as __ΩTypescriptObjectProps, i as TypescriptObjectPropertyProps, n as TypescriptObject, o as __ΩComputedRef, r as TypescriptObjectProperty, s as __ΩTypescriptObjectPropertyProps, t as ComputedRef } from "../../typescript-object-v1WiBD8W.cjs";
29
3
  export { ComputedRef, TypescriptObject, TypescriptObjectProperty, TypescriptObjectPropertyProps, TypescriptObjectProps, __ΩComputedRef, __ΩTypescriptObjectPropertyProps, __ΩTypescriptObjectProps };
@@ -1,29 +1,3 @@
1
- import { ComponentProps } from "../../types/components.mjs";
2
- import * as _alloy_js_core5 from "@alloy-js/core";
3
- import { ReflectionClass, ReflectionProperty } from "@powerlines/deepkit/vendor/type";
4
- import { VarDeclarationProps } from "@alloy-js/typescript";
5
-
6
- //#region src/typescript/components/typescript-object.d.ts
7
- interface ComputedRef<T = any> {
8
- readonly value: T;
9
- }
10
- interface TypescriptObjectProps<T extends Record<string, any> = Record<string, any>> extends VarDeclarationProps {
11
- reflection?: ComputedRef<ReflectionClass<T>>;
12
- defaultValue?: ComputedRef<Partial<T> | undefined>;
13
- }
14
- interface TypescriptObjectPropertyProps extends ComponentProps {
15
- property: ReflectionProperty;
16
- }
17
- /**
18
- * Generates a TypeScript object for the given reflection class.
19
- */
20
- declare function TypescriptObject<T extends Record<string, any> = Record<string, any>>(props: TypescriptObjectProps<T>): _alloy_js_core5.Children;
21
- /**
22
- * Generates a TypeScript object property for the given reflection class.
23
- */
24
- declare function TypescriptObjectProperty(props: TypescriptObjectPropertyProps): _alloy_js_core5.Children;
25
- declare type __ΩComputedRef = any[];
26
- declare type __ΩTypescriptObjectProps = any[];
27
- declare type __ΩTypescriptObjectPropertyProps = any[];
28
- //#endregion
1
+ import "../../components-oHSM7vmp.mjs";
2
+ import { a as TypescriptObjectProps, c as __ΩTypescriptObjectProps, i as TypescriptObjectPropertyProps, n as TypescriptObject, o as __ΩComputedRef, r as TypescriptObjectProperty, s as __ΩTypescriptObjectPropertyProps, t as ComputedRef } from "../../typescript-object-C7p9fJBF.mjs";
29
3
  export { ComputedRef, TypescriptObject, TypescriptObjectProperty, TypescriptObjectPropertyProps, TypescriptObjectProps, __ΩComputedRef, __ΩTypescriptObjectPropertyProps, __ΩTypescriptObjectProps };
@@ -1,123 +1,8 @@
1
- import { ReflectionClassContext, ReflectionPropertyContext } from "../../core/contexts/reflection.mjs";
2
- import { TSDocReflectionClass, TSDocReflectionProperty } from "./tsdoc-reflection.mjs";
3
- import { createComponent, createIntrinsic, memo } from "@alloy-js/core/jsx-runtime";
4
- import { Declaration, For, Name, Show, computed, createSymbolSlot, splitProps } from "@alloy-js/core";
5
- import { stringifyDefaultValue } from "@powerlines/deepkit/utilities";
6
- import { camelCase } from "@stryke/string-format/camel-case";
7
- import { isUndefined } from "@stryke/type-checks/is-undefined";
8
- import { pascalCase } from "@stryke/string-format/pascal-case";
9
- import { isString } from "@stryke/type-checks/is-string";
10
- import { ObjectExpression, ObjectProperty, TSSymbolFlags, TypeRefContext, createValueSymbol, useTSNamePolicy } from "@alloy-js/typescript";
1
+ import "../../unctx-MFxscYXI.mjs";
2
+ import "../../context-e2kZWEFW.mjs";
3
+ import "../../reflection-B-NMNIoB.mjs";
4
+ import "../../tsdoc-Crv526i6.mjs";
5
+ import "../../tsdoc-reflection-D-eKs6S1.mjs";
6
+ import { n as TypescriptObjectProperty, t as TypescriptObject } from "../../typescript-object-DIyR8xhW.mjs";
11
7
 
12
- //#region src/typescript/components/typescript-object.tsx
13
- /**
14
- * Generates a TypeScript object for the given reflection class.
15
- */
16
- function TypescriptObject(props) {
17
- if (!props.reflection?.value) return null;
18
- const objectName = computed(() => camelCase((isString(props.name) ? props.name : props.name.toString()) || props.reflection.value.getName()));
19
- const objectType = computed(() => props.type || pascalCase(props.reflection.value.getName()));
20
- const properties = computed(() => props.reflection.value.getProperties().filter((item) => !item.isIgnored() && !isUndefined(props.defaultValue?.value?.[item.getNameAsString()] ?? item.getAlias().reduce((ret, alias) => {
21
- if (isUndefined(ret) && !isUndefined(props.defaultValue?.value?.[alias])) return props.defaultValue?.value?.[alias];
22
- return ret;
23
- }, void 0) ?? item.getDefaultValue())).sort((a, b) => a.isReadonly() && b.isReadonly() || !a.isReadonly() && !b.isReadonly() ? a.getNameAsString().localeCompare(b.getNameAsString()) : a.isReadonly() ? 1 : -1));
24
- const TypeSymbolSlot = createSymbolSlot();
25
- const ValueTypeSymbolSlot = createSymbolSlot();
26
- const sym = createValueSymbol(props.name, {
27
- refkeys: props.refkey,
28
- default: props.default,
29
- export: props.export,
30
- metadata: props.metadata,
31
- tsFlags: props.nullish ? TSSymbolFlags.Nullish : TSSymbolFlags.None,
32
- type: props.type ? TypeSymbolSlot.firstSymbol : void 0,
33
- namePolicy: useTSNamePolicy().for("variable")
34
- });
35
- if (!props.type) ValueTypeSymbolSlot.moveMembersTo(sym);
36
- const keyword = props.var ? "var" : props.let ? "let" : "const";
37
- const type = props.type ? createComponent(TypeRefContext, { get children() {
38
- return [": ", createComponent(TypeSymbolSlot, { get children() {
39
- return props.type;
40
- } })];
41
- } }) : void 0;
42
- return createComponent(Show, {
43
- get when() {
44
- return !!props.reflection.value;
45
- },
46
- get children() {
47
- return createComponent(ReflectionClassContext.Provider, {
48
- get value() {
49
- return {
50
- reflection: props.reflection.value,
51
- override: {
52
- name: objectName.value,
53
- type: objectType.value,
54
- defaultValue: props.defaultValue?.value
55
- }
56
- };
57
- },
58
- get children() {
59
- return [createComponent(Show, {
60
- get when() {
61
- return !!objectName.value && !!objectType.value;
62
- },
63
- get children() {
64
- return [createComponent(TSDocReflectionClass, {}), createComponent(Declaration, {
65
- symbol: sym,
66
- get children() {
67
- return [
68
- memo(() => props.export ? "export " : ""),
69
- memo(() => props.default ? "default " : ""),
70
- keyword,
71
- " ",
72
- createComponent(Name, {}),
73
- type,
74
- " =",
75
- " ",
76
- createComponent(ValueTypeSymbolSlot, { get children() {
77
- return props.initializer ?? props.children ?? createComponent(ObjectExpression, { get children() {
78
- return createComponent(For, {
79
- get each() {
80
- return properties.value ?? [];
81
- },
82
- comma: true,
83
- doubleHardline: true,
84
- children: (prop) => createComponent(TypescriptObjectProperty, { property: prop })
85
- });
86
- } });
87
- } })
88
- ];
89
- }
90
- })];
91
- }
92
- }), createIntrinsic("hbr", {})];
93
- }
94
- });
95
- }
96
- });
97
- }
98
- /**
99
- * Generates a TypeScript object property for the given reflection class.
100
- */
101
- function TypescriptObjectProperty(props) {
102
- const [{ property }] = splitProps(props, ["property"]);
103
- return createComponent(ReflectionPropertyContext.Provider, {
104
- value: property,
105
- get children() {
106
- return [
107
- createComponent(TSDocReflectionProperty, {}),
108
- createComponent(ObjectProperty, {
109
- get name() {
110
- return property.getNameAsString();
111
- },
112
- get value() {
113
- return stringifyDefaultValue(property);
114
- }
115
- }),
116
- createIntrinsic("hbr", {})
117
- ];
118
- }
119
- });
120
- }
121
-
122
- //#endregion
123
8
  export { TypescriptObject, TypescriptObjectProperty };
@@ -1,45 +1,51 @@
1
- const require_typescript_components_tsdoc = require('./components/tsdoc.cjs');
2
- const require_typescript_components_typescript_file = require('./components/typescript-file.cjs');
3
- const require_typescript_components_builtin_file = require('./components/builtin-file.cjs');
4
- const require_typescript_components_dynamic_import_statement = require('./components/dynamic-import-statement.cjs');
5
- const require_typescript_components_entry_file = require('./components/entry-file.cjs');
6
- const require_typescript_components_record_expression = require('./components/record-expression.cjs');
7
- const require_typescript_components_tsdoc_reflection = require('./components/tsdoc-reflection.cjs');
8
- const require_typescript_components_typescript_interface = require('./components/typescript-interface.cjs');
9
- const require_typescript_components_typescript_object = require('./components/typescript-object.cjs');
10
- require('./components/index.cjs');
1
+ require('../unctx-r7Vvh6XR.cjs');
2
+ require('../single-line-comment-COZ9RWsm.cjs');
3
+ require('../context--KBspFnw.cjs');
4
+ require('../reflection-DHpdhvwI.cjs');
5
+ require('../contexts-DezKayEz.cjs');
6
+ require('../source-file-BAVTBVJy.cjs');
7
+ const require_tsdoc = require('../tsdoc-BId4fp5_.cjs');
8
+ const require_typescript_file = require('../typescript-file-BmLwVIQP.cjs');
9
+ const require_builtin_file = require('../builtin-file-0k9DccCv.cjs');
10
+ const require_dynamic_import_statement = require('../dynamic-import-statement-Dy_MY_Ua.cjs');
11
+ const require_entry_file = require('../entry-file-GR5Rsn25.cjs');
12
+ const require_record_expression = require('../record-expression-6ElbFyR0.cjs');
13
+ const require_tsdoc_reflection = require('../tsdoc-reflection-IH-Mt2o_.cjs');
14
+ const require_typescript_interface = require('../typescript-interface-BNdWrKgb.cjs');
15
+ const require_typescript_object = require('../typescript-object-ENaG1YGI.cjs');
16
+ require('../components-ISRFDWTF.cjs');
11
17
 
12
- exports.BuiltinFile = require_typescript_components_builtin_file.BuiltinFile;
13
- exports.DynamicImportStatement = require_typescript_components_dynamic_import_statement.DynamicImportStatement;
14
- exports.EntryFile = require_typescript_components_entry_file.EntryFile;
15
- exports.RecordExpression = require_typescript_components_record_expression.RecordExpression;
16
- exports.TSDoc = require_typescript_components_tsdoc.TSDoc;
17
- exports.TSDocAlias = require_typescript_components_tsdoc.TSDocAlias;
18
- exports.TSDocAttributesTags = require_typescript_components_tsdoc.TSDocAttributesTags;
19
- exports.TSDocDefaultValue = require_typescript_components_tsdoc.TSDocDefaultValue;
20
- exports.TSDocDomain = require_typescript_components_tsdoc.TSDocDomain;
21
- exports.TSDocExample = require_typescript_components_tsdoc.TSDocExample;
22
- exports.TSDocHidden = require_typescript_components_tsdoc.TSDocHidden;
23
- exports.TSDocIgnore = require_typescript_components_tsdoc.TSDocIgnore;
24
- exports.TSDocInternal = require_typescript_components_tsdoc.TSDocInternal;
25
- exports.TSDocLink = require_typescript_components_tsdoc.TSDocLink;
26
- exports.TSDocModule = require_typescript_components_tsdoc.TSDocModule;
27
- exports.TSDocParam = require_typescript_components_tsdoc.TSDocParam;
28
- exports.TSDocParams = require_typescript_components_tsdoc.TSDocParams;
29
- exports.TSDocPermission = require_typescript_components_tsdoc.TSDocPermission;
30
- exports.TSDocReadonly = require_typescript_components_tsdoc.TSDocReadonly;
31
- exports.TSDocReflectionClass = require_typescript_components_tsdoc_reflection.TSDocReflectionClass;
32
- exports.TSDocReflectionMethod = require_typescript_components_tsdoc_reflection.TSDocReflectionMethod;
33
- exports.TSDocReflectionProperty = require_typescript_components_tsdoc_reflection.TSDocReflectionProperty;
34
- exports.TSDocRemarks = require_typescript_components_tsdoc.TSDocRemarks;
35
- exports.TSDocReturns = require_typescript_components_tsdoc.TSDocReturns;
36
- exports.TSDocTag = require_typescript_components_tsdoc.TSDocTag;
37
- exports.TSDocThrows = require_typescript_components_tsdoc.TSDocThrows;
38
- exports.TSDocTitle = require_typescript_components_tsdoc.TSDocTitle;
39
- exports.TypeScriptInterface = require_typescript_components_typescript_interface.TypeScriptInterface;
40
- exports.TypescriptFile = require_typescript_components_typescript_file.TypescriptFile;
41
- exports.TypescriptFileHeader = require_typescript_components_typescript_file.TypescriptFileHeader;
42
- exports.TypescriptFileHeaderImports = require_typescript_components_typescript_file.TypescriptFileHeaderImports;
43
- exports.TypescriptInterfaceProperty = require_typescript_components_typescript_interface.TypescriptInterfaceProperty;
44
- exports.TypescriptObject = require_typescript_components_typescript_object.TypescriptObject;
45
- exports.TypescriptObjectProperty = require_typescript_components_typescript_object.TypescriptObjectProperty;
18
+ exports.BuiltinFile = require_builtin_file.BuiltinFile;
19
+ exports.DynamicImportStatement = require_dynamic_import_statement.DynamicImportStatement;
20
+ exports.EntryFile = require_entry_file.EntryFile;
21
+ exports.RecordExpression = require_record_expression.RecordExpression;
22
+ exports.TSDoc = require_tsdoc.TSDoc;
23
+ exports.TSDocAlias = require_tsdoc.TSDocAlias;
24
+ exports.TSDocAttributesTags = require_tsdoc.TSDocAttributesTags;
25
+ exports.TSDocDefaultValue = require_tsdoc.TSDocDefaultValue;
26
+ exports.TSDocDomain = require_tsdoc.TSDocDomain;
27
+ exports.TSDocExample = require_tsdoc.TSDocExample;
28
+ exports.TSDocHidden = require_tsdoc.TSDocHidden;
29
+ exports.TSDocIgnore = require_tsdoc.TSDocIgnore;
30
+ exports.TSDocInternal = require_tsdoc.TSDocInternal;
31
+ exports.TSDocLink = require_tsdoc.TSDocLink;
32
+ exports.TSDocModule = require_tsdoc.TSDocModule;
33
+ exports.TSDocParam = require_tsdoc.TSDocParam;
34
+ exports.TSDocParams = require_tsdoc.TSDocParams;
35
+ exports.TSDocPermission = require_tsdoc.TSDocPermission;
36
+ exports.TSDocReadonly = require_tsdoc.TSDocReadonly;
37
+ exports.TSDocReflectionClass = require_tsdoc_reflection.TSDocReflectionClass;
38
+ exports.TSDocReflectionMethod = require_tsdoc_reflection.TSDocReflectionMethod;
39
+ exports.TSDocReflectionProperty = require_tsdoc_reflection.TSDocReflectionProperty;
40
+ exports.TSDocRemarks = require_tsdoc.TSDocRemarks;
41
+ exports.TSDocReturns = require_tsdoc.TSDocReturns;
42
+ exports.TSDocTag = require_tsdoc.TSDocTag;
43
+ exports.TSDocThrows = require_tsdoc.TSDocThrows;
44
+ exports.TSDocTitle = require_tsdoc.TSDocTitle;
45
+ exports.TypeScriptInterface = require_typescript_interface.TypeScriptInterface;
46
+ exports.TypescriptFile = require_typescript_file.TypescriptFile;
47
+ exports.TypescriptFileHeader = require_typescript_file.TypescriptFileHeader;
48
+ exports.TypescriptFileHeaderImports = require_typescript_file.TypescriptFileHeaderImports;
49
+ exports.TypescriptInterfaceProperty = require_typescript_interface.TypescriptInterfaceProperty;
50
+ exports.TypescriptObject = require_typescript_object.TypescriptObject;
51
+ exports.TypescriptObjectProperty = require_typescript_object.TypescriptObjectProperty;
@@ -1,11 +1,13 @@
1
- import { TSDoc, TSDocAlias, TSDocAttributesTags, TSDocAttributesTagsProps, TSDocDefaultValue, TSDocDefaultValueProps, TSDocDomain, TSDocExample, TSDocExampleProps, TSDocHidden, TSDocIgnore, TSDocInternal, TSDocLink, TSDocModule, TSDocModuleProps, TSDocParam, TSDocParamProps, TSDocParams, TSDocParamsProps, TSDocPermission, TSDocProps, TSDocReadonly, TSDocRemarks, TSDocReturns, TSDocTag, TSDocTagProps, TSDocThrows, TSDocTitle, __ΩTSDocAttributesTagsProps, __ΩTSDocDefaultValueProps, __ΩTSDocExampleProps, __ΩTSDocModuleProps, __ΩTSDocParamProps, __ΩTSDocParamsProps, __ΩTSDocProps, __ΩTSDocTagProps } from "./components/tsdoc.cjs";
2
- import { TypescriptFile, TypescriptFileHeader, TypescriptFileHeaderImports, TypescriptFileHeaderImportsProps, TypescriptFileHeaderProps, TypescriptFileProps, __ΩTypescriptFileHeaderImportsProps, __ΩTypescriptFileHeaderProps, __ΩTypescriptFileProps } from "./components/typescript-file.cjs";
3
- import { BuiltinFile, BuiltinFileProps, __ΩBuiltinFileProps } from "./components/builtin-file.cjs";
4
- import { DynamicImportStatement, DynamicImportStatementProps, __ΩDynamicImportStatementProps } from "./components/dynamic-import-statement.cjs";
5
- import { EntryFile, EntryFileProps, __ΩEntryFileProps } from "./components/entry-file.cjs";
6
- import { RecordExpression, RecordExpressionProps, __ΩRecordExpressionProps } from "./components/record-expression.cjs";
7
- import { TSDocReflectionClass, TSDocReflectionMethod, TSDocReflectionProperty } from "./components/tsdoc-reflection.cjs";
8
- import { TypeScriptInterface, TypeScriptInterfaceProps, TypescriptInterfaceProperty, TypescriptInterfacePropertyProps, __ΩTypeScriptInterfaceProps, __ΩTypescriptInterfacePropertyProps } from "./components/typescript-interface.cjs";
9
- import { ComputedRef, TypescriptObject, TypescriptObjectProperty, TypescriptObjectPropertyProps, TypescriptObjectProps, __ΩComputedRef, __ΩTypescriptObjectPropertyProps, __ΩTypescriptObjectProps } from "./components/typescript-object.cjs";
10
- import "./components/index.cjs";
1
+ import "../components-IRVnipN0.cjs";
2
+ import "../source-file-BTsyACav.cjs";
3
+ import { A as __ΩTSDocDefaultValueProps, C as TSDocRemarks, D as TSDocThrows, E as TSDocTagProps, F as __ΩTSDocProps, I as __ΩTSDocTagProps, M as __ΩTSDocModuleProps, N as __ΩTSDocParamProps, O as TSDocTitle, P as __ΩTSDocParamsProps, S as TSDocReadonly, T as TSDocTag, _ as TSDocParamProps, a as TSDocDefaultValue, b as TSDocPermission, c as TSDocExample, d as TSDocIgnore, f as TSDocInternal, g as TSDocParam, h as TSDocModuleProps, i as TSDocAttributesTagsProps, j as __ΩTSDocExampleProps, k as __ΩTSDocAttributesTagsProps, l as TSDocExampleProps, m as TSDocModule, n as TSDocAlias, o as TSDocDefaultValueProps, p as TSDocLink, r as TSDocAttributesTags, s as TSDocDomain, t as TSDoc, u as TSDocHidden, v as TSDocParams, w as TSDocReturns, x as TSDocProps, y as TSDocParamsProps } from "../tsdoc-CfvwK4Ml.cjs";
4
+ import { a as TypescriptFileHeaderProps, c as __ΩTypescriptFileHeaderProps, i as TypescriptFileHeaderImportsProps, l as __ΩTypescriptFileProps, n as TypescriptFileHeader, o as TypescriptFileProps, r as TypescriptFileHeaderImports, s as __ΩTypescriptFileHeaderImportsProps, t as TypescriptFile } from "../typescript-file-fOVF6YF2.cjs";
5
+ import { n as BuiltinFileProps, r as __ΩBuiltinFileProps, t as BuiltinFile } from "../builtin-file-DtkZ-2Hs.cjs";
6
+ import { n as DynamicImportStatementProps, r as __ΩDynamicImportStatementProps, t as DynamicImportStatement } from "../dynamic-import-statement-DTSUoDt2.cjs";
7
+ import { n as EntryFileProps, r as __ΩEntryFileProps, t as EntryFile } from "../entry-file-CfMzpF03.cjs";
8
+ import { n as RecordExpressionProps, r as __ΩRecordExpressionProps, t as RecordExpression } from "../record-expression-adlQJuNw.cjs";
9
+ import { n as TSDocReflectionMethod, r as TSDocReflectionProperty, t as TSDocReflectionClass } from "../tsdoc-reflection-BbjnIsUV.cjs";
10
+ import { a as __ΩTypeScriptInterfaceProps, i as TypescriptInterfacePropertyProps, n as TypeScriptInterfaceProps, o as __ΩTypescriptInterfacePropertyProps, r as TypescriptInterfaceProperty, t as TypeScriptInterface } from "../typescript-interface-D-d9A720.cjs";
11
+ import { a as TypescriptObjectProps, c as __ΩTypescriptObjectProps, i as TypescriptObjectPropertyProps, n as TypescriptObject, o as __ΩComputedRef, r as TypescriptObjectProperty, s as __ΩTypescriptObjectPropertyProps, t as ComputedRef } from "../typescript-object-v1WiBD8W.cjs";
12
+ import "../index-BH1nuHdZ.cjs";
11
13
  export { BuiltinFile, BuiltinFileProps, ComputedRef, DynamicImportStatement, DynamicImportStatementProps, EntryFile, EntryFileProps, RecordExpression, RecordExpressionProps, TSDoc, TSDocAlias, TSDocAttributesTags, TSDocAttributesTagsProps, TSDocDefaultValue, TSDocDefaultValueProps, TSDocDomain, TSDocExample, TSDocExampleProps, TSDocHidden, TSDocIgnore, TSDocInternal, TSDocLink, TSDocModule, TSDocModuleProps, TSDocParam, TSDocParamProps, TSDocParams, TSDocParamsProps, TSDocPermission, TSDocProps, TSDocReadonly, TSDocReflectionClass, TSDocReflectionMethod, TSDocReflectionProperty, TSDocRemarks, TSDocReturns, TSDocTag, TSDocTagProps, TSDocThrows, TSDocTitle, TypeScriptInterface, TypeScriptInterfaceProps, TypescriptFile, TypescriptFileHeader, TypescriptFileHeaderImports, TypescriptFileHeaderImportsProps, TypescriptFileHeaderProps, TypescriptFileProps, TypescriptInterfaceProperty, TypescriptInterfacePropertyProps, TypescriptObject, TypescriptObjectProperty, TypescriptObjectPropertyProps, TypescriptObjectProps, __ΩBuiltinFileProps, __ΩComputedRef, __ΩDynamicImportStatementProps, __ΩEntryFileProps, __ΩRecordExpressionProps, __ΩTSDocAttributesTagsProps, __ΩTSDocDefaultValueProps, __ΩTSDocExampleProps, __ΩTSDocModuleProps, __ΩTSDocParamProps, __ΩTSDocParamsProps, __ΩTSDocProps, __ΩTSDocTagProps, __ΩTypeScriptInterfaceProps, __ΩTypescriptFileHeaderImportsProps, __ΩTypescriptFileHeaderProps, __ΩTypescriptFileProps, __ΩTypescriptInterfacePropertyProps, __ΩTypescriptObjectPropertyProps, __ΩTypescriptObjectProps };
@@ -1,11 +1,13 @@
1
- import { TSDoc, TSDocAlias, TSDocAttributesTags, TSDocAttributesTagsProps, TSDocDefaultValue, TSDocDefaultValueProps, TSDocDomain, TSDocExample, TSDocExampleProps, TSDocHidden, TSDocIgnore, TSDocInternal, TSDocLink, TSDocModule, TSDocModuleProps, TSDocParam, TSDocParamProps, TSDocParams, TSDocParamsProps, TSDocPermission, TSDocProps, TSDocReadonly, TSDocRemarks, TSDocReturns, TSDocTag, TSDocTagProps, TSDocThrows, TSDocTitle, __ΩTSDocAttributesTagsProps, __ΩTSDocDefaultValueProps, __ΩTSDocExampleProps, __ΩTSDocModuleProps, __ΩTSDocParamProps, __ΩTSDocParamsProps, __ΩTSDocProps, __ΩTSDocTagProps } from "./components/tsdoc.mjs";
2
- import { TypescriptFile, TypescriptFileHeader, TypescriptFileHeaderImports, TypescriptFileHeaderImportsProps, TypescriptFileHeaderProps, TypescriptFileProps, __ΩTypescriptFileHeaderImportsProps, __ΩTypescriptFileHeaderProps, __ΩTypescriptFileProps } from "./components/typescript-file.mjs";
3
- import { BuiltinFile, BuiltinFileProps, __ΩBuiltinFileProps } from "./components/builtin-file.mjs";
4
- import { DynamicImportStatement, DynamicImportStatementProps, __ΩDynamicImportStatementProps } from "./components/dynamic-import-statement.mjs";
5
- import { EntryFile, EntryFileProps, __ΩEntryFileProps } from "./components/entry-file.mjs";
6
- import { RecordExpression, RecordExpressionProps, __ΩRecordExpressionProps } from "./components/record-expression.mjs";
7
- import { TSDocReflectionClass, TSDocReflectionMethod, TSDocReflectionProperty } from "./components/tsdoc-reflection.mjs";
8
- import { TypeScriptInterface, TypeScriptInterfaceProps, TypescriptInterfaceProperty, TypescriptInterfacePropertyProps, __ΩTypeScriptInterfaceProps, __ΩTypescriptInterfacePropertyProps } from "./components/typescript-interface.mjs";
9
- import { ComputedRef, TypescriptObject, TypescriptObjectProperty, TypescriptObjectPropertyProps, TypescriptObjectProps, __ΩComputedRef, __ΩTypescriptObjectPropertyProps, __ΩTypescriptObjectProps } from "./components/typescript-object.mjs";
10
- import "./components/index.mjs";
1
+ import "../components-oHSM7vmp.mjs";
2
+ import "../source-file-CQl0UCgf.mjs";
3
+ import { A as __ΩTSDocDefaultValueProps, C as TSDocRemarks, D as TSDocThrows, E as TSDocTagProps, F as __ΩTSDocProps, I as __ΩTSDocTagProps, M as __ΩTSDocModuleProps, N as __ΩTSDocParamProps, O as TSDocTitle, P as __ΩTSDocParamsProps, S as TSDocReadonly, T as TSDocTag, _ as TSDocParamProps, a as TSDocDefaultValue, b as TSDocPermission, c as TSDocExample, d as TSDocIgnore, f as TSDocInternal, g as TSDocParam, h as TSDocModuleProps, i as TSDocAttributesTagsProps, j as __ΩTSDocExampleProps, k as __ΩTSDocAttributesTagsProps, l as TSDocExampleProps, m as TSDocModule, n as TSDocAlias, o as TSDocDefaultValueProps, p as TSDocLink, r as TSDocAttributesTags, s as TSDocDomain, t as TSDoc, u as TSDocHidden, v as TSDocParams, w as TSDocReturns, x as TSDocProps, y as TSDocParamsProps } from "../tsdoc-OUuKjTbh.mjs";
4
+ import { a as TypescriptFileHeaderProps, c as __ΩTypescriptFileHeaderProps, i as TypescriptFileHeaderImportsProps, l as __ΩTypescriptFileProps, n as TypescriptFileHeader, o as TypescriptFileProps, r as TypescriptFileHeaderImports, s as __ΩTypescriptFileHeaderImportsProps, t as TypescriptFile } from "../typescript-file-BWaBMfMr.mjs";
5
+ import { n as BuiltinFileProps, r as __ΩBuiltinFileProps, t as BuiltinFile } from "../builtin-file-RXdRpQs-.mjs";
6
+ import { n as DynamicImportStatementProps, r as __ΩDynamicImportStatementProps, t as DynamicImportStatement } from "../dynamic-import-statement-B5Pdwr4Z.mjs";
7
+ import { n as EntryFileProps, r as __ΩEntryFileProps, t as EntryFile } from "../entry-file-ayzYWEo5.mjs";
8
+ import { n as RecordExpressionProps, r as __ΩRecordExpressionProps, t as RecordExpression } from "../record-expression-c9kQA93k.mjs";
9
+ import { n as TSDocReflectionMethod, r as TSDocReflectionProperty, t as TSDocReflectionClass } from "../tsdoc-reflection-ulqYHfKL.mjs";
10
+ import { a as __ΩTypeScriptInterfaceProps, i as TypescriptInterfacePropertyProps, n as TypeScriptInterfaceProps, o as __ΩTypescriptInterfacePropertyProps, r as TypescriptInterfaceProperty, t as TypeScriptInterface } from "../typescript-interface-MV4qwTHs.mjs";
11
+ import { a as TypescriptObjectProps, c as __ΩTypescriptObjectProps, i as TypescriptObjectPropertyProps, n as TypescriptObject, o as __ΩComputedRef, r as TypescriptObjectProperty, s as __ΩTypescriptObjectPropertyProps, t as ComputedRef } from "../typescript-object-C7p9fJBF.mjs";
12
+ import "../index-C6HcjJiY.mjs";
11
13
  export { BuiltinFile, BuiltinFileProps, ComputedRef, DynamicImportStatement, DynamicImportStatementProps, EntryFile, EntryFileProps, RecordExpression, RecordExpressionProps, TSDoc, TSDocAlias, TSDocAttributesTags, TSDocAttributesTagsProps, TSDocDefaultValue, TSDocDefaultValueProps, TSDocDomain, TSDocExample, TSDocExampleProps, TSDocHidden, TSDocIgnore, TSDocInternal, TSDocLink, TSDocModule, TSDocModuleProps, TSDocParam, TSDocParamProps, TSDocParams, TSDocParamsProps, TSDocPermission, TSDocProps, TSDocReadonly, TSDocReflectionClass, TSDocReflectionMethod, TSDocReflectionProperty, TSDocRemarks, TSDocReturns, TSDocTag, TSDocTagProps, TSDocThrows, TSDocTitle, TypeScriptInterface, TypeScriptInterfaceProps, TypescriptFile, TypescriptFileHeader, TypescriptFileHeaderImports, TypescriptFileHeaderImportsProps, TypescriptFileHeaderProps, TypescriptFileProps, TypescriptInterfaceProperty, TypescriptInterfacePropertyProps, TypescriptObject, TypescriptObjectProperty, TypescriptObjectPropertyProps, TypescriptObjectProps, __ΩBuiltinFileProps, __ΩComputedRef, __ΩDynamicImportStatementProps, __ΩEntryFileProps, __ΩRecordExpressionProps, __ΩTSDocAttributesTagsProps, __ΩTSDocDefaultValueProps, __ΩTSDocExampleProps, __ΩTSDocModuleProps, __ΩTSDocParamProps, __ΩTSDocParamsProps, __ΩTSDocProps, __ΩTSDocTagProps, __ΩTypeScriptInterfaceProps, __ΩTypescriptFileHeaderImportsProps, __ΩTypescriptFileHeaderProps, __ΩTypescriptFileProps, __ΩTypescriptInterfacePropertyProps, __ΩTypescriptObjectPropertyProps, __ΩTypescriptObjectProps };