@powerlines/plugin-alloy 0.19.17 → 0.19.19

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 (333) hide show
  1. package/dist/{builtin-file-BnS5AN_d.d.mts → builtin-file-B8yP216k.d.mts} +5 -5
  2. package/dist/{builtin-file-D_gnbtQT.d.cts.map → builtin-file-B8yP216k.d.mts.map} +1 -1
  3. package/dist/{builtin-file-RXdRpQs-.d.mts → builtin-file-Bm7WMBBk.d.mts} +3 -3
  4. package/dist/{builtin-file-BnS5AN_d.d.mts.map → builtin-file-Bm7WMBBk.d.mts.map} +1 -1
  5. package/dist/{builtin-file-D_gnbtQT.d.cts → builtin-file-Pnvf0Mjt.d.cts} +4 -4
  6. package/dist/{builtin-file-RXdRpQs-.d.mts.map → builtin-file-Pnvf0Mjt.d.cts.map} +1 -1
  7. package/dist/{builtin-file-CzJSZqfR.d.cts → builtin-file-TfCniW_K.d.cts} +4 -4
  8. package/dist/{builtin-file-CzJSZqfR.d.cts.map → builtin-file-TfCniW_K.d.cts.map} +1 -1
  9. package/dist/{builtin-file-0k9DccCv.cjs → builtin-file-gr-ZQMIl.cjs} +3 -3
  10. package/dist/{builtin-file-Ie_jPokg.mjs → builtin-file-sJXTCC_u.mjs} +4 -4
  11. package/dist/{builtin-file-Ie_jPokg.mjs.map → builtin-file-sJXTCC_u.mjs.map} +1 -1
  12. package/dist/{capnp-CRMDa2Ok.d.mts → capnp-Bs3Ikfuw.d.mts} +1 -1
  13. package/dist/{capnp-CRMDa2Ok.d.mts.map → capnp-Bs3Ikfuw.d.mts.map} +1 -1
  14. package/dist/{capnp-CnQcwo0s.mjs → capnp-idxO5voI.mjs} +1 -1
  15. package/dist/{capnp-CnQcwo0s.mjs.map → capnp-idxO5voI.mjs.map} +1 -1
  16. package/dist/{components-oHSM7vmp.d.mts → components-BVhJ5G56.d.mts} +1 -1
  17. package/dist/{components-oHSM7vmp.d.mts.map → components-BVhJ5G56.d.mts.map} +1 -1
  18. package/dist/{context-Gqs3Ru42.d.cts → context-CdtkDo_j.d.cts} +12 -7
  19. package/dist/context-CdtkDo_j.d.cts.map +1 -0
  20. package/dist/{context--KBspFnw.cjs → context-CowAmU8m.cjs} +17 -6
  21. package/dist/{context-e2kZWEFW.mjs → context-DAfWJCa9.mjs} +12 -8
  22. package/dist/context-DAfWJCa9.mjs.map +1 -0
  23. package/dist/{context-Du_bVzRZ.d.mts → context-uUfYcg-_.d.mts} +12 -7
  24. package/dist/context-uUfYcg-_.d.mts.map +1 -0
  25. package/dist/core/components/index.cjs +6 -7
  26. package/dist/core/components/index.d.cts +4 -4
  27. package/dist/core/components/index.d.mts +6 -6
  28. package/dist/core/components/index.mjs +6 -7
  29. package/dist/core/components/output.cjs +2 -1
  30. package/dist/core/components/output.d.cts +2 -2
  31. package/dist/core/components/output.d.mts +2 -2
  32. package/dist/core/components/output.mjs +2 -1
  33. package/dist/core/components/single-line-comment.d.cts +1 -1
  34. package/dist/core/components/single-line-comment.d.mts +2 -2
  35. package/dist/core/components/source-file.cjs +4 -5
  36. package/dist/core/components/source-file.d.cts +1 -1
  37. package/dist/core/components/source-file.d.mts +2 -2
  38. package/dist/core/components/source-file.mjs +4 -5
  39. package/dist/core/contexts/context.cjs +2 -2
  40. package/dist/core/contexts/context.d.cts +2 -2
  41. package/dist/core/contexts/context.d.mts +2 -2
  42. package/dist/core/contexts/context.mjs +2 -3
  43. package/dist/core/contexts/index.cjs +4 -4
  44. package/dist/core/contexts/index.d.cts +2 -2
  45. package/dist/core/contexts/index.d.mts +5 -5
  46. package/dist/core/contexts/index.mjs +4 -5
  47. package/dist/core/contexts/reflection.cjs +1 -1
  48. package/dist/core/contexts/reflection.d.mts +2 -2
  49. package/dist/core/contexts/reflection.mjs +1 -1
  50. package/dist/core/index.cjs +7 -7
  51. package/dist/core/index.d.cts +5 -5
  52. package/dist/core/index.d.mts +9 -9
  53. package/dist/core/index.mjs +7 -8
  54. package/dist/{create-builtin-FtQ6qKzX.d.mts → create-builtin-B6fXqb8U.d.mts} +1 -1
  55. package/dist/{create-builtin-FtQ6qKzX.d.mts.map → create-builtin-B6fXqb8U.d.mts.map} +1 -1
  56. package/dist/{create-builtin-DQuJyeZw.mjs → create-builtin-m17qlyC1.mjs} +1 -1
  57. package/dist/{create-builtin-DQuJyeZw.mjs.map → create-builtin-m17qlyC1.mjs.map} +1 -1
  58. package/dist/{dynamic-import-statement-BCDoj7u0.d.cts → dynamic-import-statement-C5uIfUk9.d.cts} +3 -3
  59. package/dist/{dynamic-import-statement-BCDoj7u0.d.cts.map → dynamic-import-statement-C5uIfUk9.d.cts.map} +1 -1
  60. package/dist/{dynamic-import-statement-BbNJchii.mjs → dynamic-import-statement-Cxe-I3B0.mjs} +1 -1
  61. package/dist/{dynamic-import-statement-BbNJchii.mjs.map → dynamic-import-statement-Cxe-I3B0.mjs.map} +1 -1
  62. package/dist/{dynamic-import-statement-B5Pdwr4Z.d.mts → dynamic-import-statement-DNJlI3ND.d.cts} +1 -1
  63. package/dist/{dynamic-import-statement-B5Pdwr4Z.d.mts.map → dynamic-import-statement-DNJlI3ND.d.cts.map} +1 -1
  64. package/dist/{dynamic-import-statement-ago7sgeL.d.mts → dynamic-import-statement-O1WueHgS.d.mts} +3 -3
  65. package/dist/{dynamic-import-statement-F_9kYZdV.d.cts.map → dynamic-import-statement-O1WueHgS.d.mts.map} +1 -1
  66. package/dist/{dynamic-import-statement-F_9kYZdV.d.cts → dynamic-import-statement-SPYQPFtB.d.mts} +3 -3
  67. package/dist/{dynamic-import-statement-ago7sgeL.d.mts.map → dynamic-import-statement-SPYQPFtB.d.mts.map} +1 -1
  68. package/dist/{entry-file-9UEfgLDn.d.cts → entry-file-BRFvWEkh.d.cts} +4 -4
  69. package/dist/{entry-file-9UEfgLDn.d.cts.map → entry-file-BRFvWEkh.d.cts.map} +1 -1
  70. package/dist/{entry-file-D64eurjX.mjs → entry-file-BZe47LcB.mjs} +3 -3
  71. package/dist/{entry-file-D64eurjX.mjs.map → entry-file-BZe47LcB.mjs.map} +1 -1
  72. package/dist/{entry-file-pwAplT7y.d.cts → entry-file-BiYORvQI.d.mts} +4 -4
  73. package/dist/{entry-file-ayzYWEo5.d.mts.map → entry-file-BiYORvQI.d.mts.map} +1 -1
  74. package/dist/{entry-file-ayzYWEo5.d.mts → entry-file-DYSbQFCX.d.cts} +2 -2
  75. package/dist/{entry-file-pwAplT7y.d.cts.map → entry-file-DYSbQFCX.d.cts.map} +1 -1
  76. package/dist/entry-file-DyS8FA-U.d.mts +28 -0
  77. package/dist/entry-file-DyS8FA-U.d.mts.map +1 -0
  78. package/dist/{entry-file-GR5Rsn25.cjs → entry-file-PWCdJV12.cjs} +2 -2
  79. package/dist/{front-matter-C5Y0CcAP.d.cts → front-matter-BGxm_xQp.d.mts} +3 -3
  80. package/dist/{front-matter-C5Y0CcAP.d.cts.map → front-matter-BGxm_xQp.d.mts.map} +1 -1
  81. package/dist/{front-matter-DGpkM9OE.d.mts → front-matter-BR4T3xIc.d.mts} +1 -1
  82. package/dist/{front-matter-DGpkM9OE.d.mts.map → front-matter-BR4T3xIc.d.mts.map} +1 -1
  83. package/dist/{front-matter-2eGRXX11.mjs → front-matter-TJ3qlKJo.mjs} +1 -1
  84. package/dist/{front-matter-2eGRXX11.mjs.map → front-matter-TJ3qlKJo.mjs.map} +1 -1
  85. package/dist/front-matter-u9H7VPAF.d.cts +16 -0
  86. package/dist/front-matter-u9H7VPAF.d.cts.map +1 -0
  87. package/dist/helpers/capnp.cjs +1 -1
  88. package/dist/helpers/capnp.d.mts +1 -1
  89. package/dist/helpers/capnp.mjs +1 -1
  90. package/dist/helpers/create-builtin.cjs +1 -1
  91. package/dist/helpers/create-builtin.d.mts +1 -1
  92. package/dist/helpers/create-builtin.mjs +1 -1
  93. package/dist/helpers/index.cjs +4 -4
  94. package/dist/helpers/index.d.mts +4 -4
  95. package/dist/helpers/index.mjs +4 -4
  96. package/dist/helpers/refkey.cjs +1 -1
  97. package/dist/helpers/refkey.d.mts +1 -1
  98. package/dist/helpers/refkey.mjs +1 -1
  99. package/dist/helpers/typescript.cjs +1 -1
  100. package/dist/helpers/typescript.d.mts +1 -1
  101. package/dist/helpers/typescript.mjs +1 -1
  102. package/dist/index.cjs +12 -3
  103. package/dist/index.d.mts +1 -1
  104. package/dist/index.mjs +11 -2
  105. package/dist/index.mjs.map +1 -1
  106. package/dist/markdown/components/front-matter.cjs +1 -1
  107. package/dist/markdown/components/front-matter.d.cts +1 -1
  108. package/dist/markdown/components/front-matter.d.mts +1 -1
  109. package/dist/markdown/components/front-matter.mjs +1 -1
  110. package/dist/markdown/components/index.cjs +9 -10
  111. package/dist/markdown/components/index.d.cts +4 -4
  112. package/dist/markdown/components/index.d.mts +7 -7
  113. package/dist/markdown/components/index.mjs +9 -10
  114. package/dist/markdown/components/markdown-file.cjs +6 -7
  115. package/dist/markdown/components/markdown-file.d.cts +3 -3
  116. package/dist/markdown/components/markdown-file.d.mts +4 -4
  117. package/dist/markdown/components/markdown-file.mjs +6 -7
  118. package/dist/markdown/components/markdown-table.cjs +2 -2
  119. package/dist/markdown/components/markdown-table.d.cts +1 -1
  120. package/dist/markdown/components/markdown-table.d.mts +3 -3
  121. package/dist/markdown/components/markdown-table.mjs +2 -2
  122. package/dist/markdown/contexts/index.cjs +2 -2
  123. package/dist/markdown/contexts/index.d.mts +2 -2
  124. package/dist/markdown/contexts/index.mjs +2 -2
  125. package/dist/markdown/contexts/markdown-table.cjs +1 -1
  126. package/dist/markdown/contexts/markdown-table.d.mts +1 -1
  127. package/dist/markdown/contexts/markdown-table.mjs +1 -1
  128. package/dist/markdown/index.cjs +10 -11
  129. package/dist/markdown/index.d.cts +4 -4
  130. package/dist/markdown/index.d.mts +7 -7
  131. package/dist/markdown/index.mjs +10 -11
  132. package/dist/{markdown-file-CAwtMwsl.cjs → markdown-file-B3gexrDd.cjs} +3 -3
  133. package/dist/{markdown-file-EtJaVhJ3.d.mts → markdown-file-B5GGuGIb.d.cts} +4 -4
  134. package/dist/{markdown-file-BMhHBonT.d.cts.map → markdown-file-B5GGuGIb.d.cts.map} +1 -1
  135. package/dist/{markdown-file-Dupf2o3f.d.mts → markdown-file-BwL6ZG4f.d.mts} +7 -7
  136. package/dist/{markdown-file-Dupf2o3f.d.mts.map → markdown-file-BwL6ZG4f.d.mts.map} +1 -1
  137. package/dist/{markdown-file-DIcSvowq.mjs → markdown-file-CRZN4frR.mjs} +4 -4
  138. package/dist/{markdown-file-DIcSvowq.mjs.map → markdown-file-CRZN4frR.mjs.map} +1 -1
  139. package/dist/{markdown-file-BMhHBonT.d.cts → markdown-file-CfI5rBqC.d.cts} +5 -5
  140. package/dist/{markdown-file-NnCMo-5u.d.cts.map → markdown-file-CfI5rBqC.d.cts.map} +1 -1
  141. package/dist/{markdown-file-NnCMo-5u.d.cts → markdown-file-K4zYXgeA.d.mts} +7 -7
  142. package/dist/{markdown-file-EtJaVhJ3.d.mts.map → markdown-file-K4zYXgeA.d.mts.map} +1 -1
  143. package/dist/{markdown-table-ChvYobzz.d.mts → markdown-table-AoJIzA89.d.cts} +3 -3
  144. package/dist/{markdown-table-ChvYobzz.d.mts.map → markdown-table-AoJIzA89.d.cts.map} +1 -1
  145. package/dist/{markdown-table-CFL7L6rA.d.mts → markdown-table-BpB5iT2V.d.mts} +1 -1
  146. package/dist/{markdown-table-CFL7L6rA.d.mts.map → markdown-table-BpB5iT2V.d.mts.map} +1 -1
  147. package/dist/markdown-table-Br2Ihl2z.d.cts.map +1 -1
  148. package/dist/{markdown-table-D0_pEbQN.d.mts → markdown-table-ChP2BUmY.d.mts} +7 -7
  149. package/dist/{markdown-table-D0_pEbQN.d.mts.map → markdown-table-ChP2BUmY.d.mts.map} +1 -1
  150. package/dist/{markdown-table-D3DonpwR.mjs → markdown-table-D5jCVYaK.mjs} +2 -2
  151. package/dist/{markdown-table-D3DonpwR.mjs.map → markdown-table-D5jCVYaK.mjs.map} +1 -1
  152. package/dist/{markdown-table-eTnxxb46.cjs → markdown-table-DTeEqR3P.cjs} +1 -1
  153. package/dist/{markdown-table-g6DeP10e.mjs → markdown-table-Dsvn4SmP.mjs} +1 -1
  154. package/dist/{markdown-table-g6DeP10e.mjs.map → markdown-table-Dsvn4SmP.mjs.map} +1 -1
  155. package/dist/{markdown-table-DhX1XJ8b.d.cts → markdown-table-O1wIj_h2.d.cts} +5 -5
  156. package/dist/markdown-table-O1wIj_h2.d.cts.map +1 -0
  157. package/dist/{markdown-table-huGkudWV.d.cts → markdown-table-xO7WrAmK.d.mts} +7 -7
  158. package/dist/markdown-table-xO7WrAmK.d.mts.map +1 -0
  159. package/dist/{output-CMC94bm-.d.mts → output-7KuLjL1Z.d.mts} +2 -2
  160. package/dist/{output-CMC94bm-.d.mts.map → output-7KuLjL1Z.d.mts.map} +1 -1
  161. package/dist/{output-D3UQ5nZo.mjs → output-C_XWpqr8.mjs} +16 -6
  162. package/dist/output-C_XWpqr8.mjs.map +1 -0
  163. package/dist/{output-CO0gJy7p.d.cts → output-DWAO1J8V.d.cts} +4 -4
  164. package/dist/{output-CO0gJy7p.d.cts.map → output-DWAO1J8V.d.cts.map} +1 -1
  165. package/dist/{output-CQXrGP3y.cjs → output-D_l1fJEz.cjs} +15 -5
  166. package/dist/{output-5I2tFjcq.d.cts → output-cm5u8ERz.d.mts} +5 -5
  167. package/dist/{output-5I2tFjcq.d.cts.map → output-cm5u8ERz.d.mts.map} +1 -1
  168. package/dist/{plugin-bEu9fq1G.d.mts → plugin-BMHB2KnC.d.mts} +1 -1
  169. package/dist/{plugin-bEu9fq1G.d.mts.map → plugin-BMHB2KnC.d.mts.map} +1 -1
  170. package/dist/{record-expression-c9kQA93k.d.mts → record-expression-DGPYqLRm.d.mts} +1 -1
  171. package/dist/{record-expression-c9kQA93k.d.mts.map → record-expression-DGPYqLRm.d.mts.map} +1 -1
  172. package/dist/{record-expression-BjXMzi4r.mjs → record-expression-DnhWJ5_U.mjs} +1 -1
  173. package/dist/{record-expression-BjXMzi4r.mjs.map → record-expression-DnhWJ5_U.mjs.map} +1 -1
  174. package/dist/{refkey-CSZgFc0P.d.mts → refkey-Cebk8ksG.d.mts} +1 -1
  175. package/dist/refkey-Cebk8ksG.d.mts.map +1 -0
  176. package/dist/{refkey-CIFiGvgZ.mjs → refkey-t79_78kW.mjs} +1 -1
  177. package/dist/{refkey-CIFiGvgZ.mjs.map → refkey-t79_78kW.mjs.map} +1 -1
  178. package/dist/{reflection-B-NMNIoB.mjs → reflection-CDRGf-os.mjs} +1 -1
  179. package/dist/{reflection-B-NMNIoB.mjs.map → reflection-CDRGf-os.mjs.map} +1 -1
  180. package/dist/{reflection-CUo0047e.d.mts → reflection-caOQdoZ6.d.mts} +2 -2
  181. package/dist/{reflection-CUo0047e.d.mts.map → reflection-caOQdoZ6.d.mts.map} +1 -1
  182. package/dist/reflection-xU09ifzp.d.cts.map +1 -1
  183. package/dist/{single-line-comment-PMv_zrfe.d.mts → single-line-comment-B258_x1B.d.cts} +2 -2
  184. package/dist/{single-line-comment-Df1tWpAq.d.cts.map → single-line-comment-B258_x1B.d.cts.map} +1 -1
  185. package/dist/{single-line-comment-Df1tWpAq.d.cts → single-line-comment-cunvfPOw.d.mts} +4 -4
  186. package/dist/{single-line-comment-PMv_zrfe.d.mts.map → single-line-comment-cunvfPOw.d.mts.map} +1 -1
  187. package/dist/{single-line-comment-B28oTJti.d.cts → single-line-comment-i_GFqXcl.d.mts} +4 -4
  188. package/dist/single-line-comment-i_GFqXcl.d.mts.map +1 -0
  189. package/dist/{source-file-BTsyACav.d.cts → source-file-BCwSF5Yh.d.mts} +2 -2
  190. package/dist/{source-file-8vpmBt0q.d.cts.map → source-file-BCwSF5Yh.d.mts.map} +1 -1
  191. package/dist/{source-file-CQl0UCgf.d.mts → source-file-CE5xdm7N.d.cts} +4 -4
  192. package/dist/{source-file-BTsyACav.d.cts.map → source-file-CE5xdm7N.d.cts.map} +1 -1
  193. package/dist/{source-file-8vpmBt0q.d.cts → source-file-DCop3D-p.d.mts} +2 -2
  194. package/dist/{source-file-CQl0UCgf.d.mts.map → source-file-DCop3D-p.d.mts.map} +1 -1
  195. package/dist/{source-file-BiJK-nH_.mjs → source-file-DwSKCa6M.mjs} +2 -2
  196. package/dist/{source-file-BiJK-nH_.mjs.map → source-file-DwSKCa6M.mjs.map} +1 -1
  197. package/dist/{source-file-BAVTBVJy.cjs → source-file-LHxAz2P7.cjs} +1 -1
  198. package/dist/{tsdoc-OUuKjTbh.d.mts → tsdoc-B2PbOibk.d.mts} +2 -2
  199. package/dist/{tsdoc-OUuKjTbh.d.mts.map → tsdoc-B2PbOibk.d.mts.map} +1 -1
  200. package/dist/{tsdoc-BId4fp5_.cjs → tsdoc-DVOH9B7-.cjs} +1 -1
  201. package/dist/{tsdoc-Crv526i6.mjs → tsdoc-Ios5W2gJ.mjs} +2 -2
  202. package/dist/{tsdoc-Crv526i6.mjs.map → tsdoc-Ios5W2gJ.mjs.map} +1 -1
  203. package/dist/{tsdoc-reflection-ulqYHfKL.d.mts → tsdoc-reflection-B4bfElmj.d.cts} +2 -2
  204. package/dist/{tsdoc-reflection-ulqYHfKL.d.mts.map → tsdoc-reflection-B4bfElmj.d.cts.map} +1 -1
  205. package/dist/{tsdoc-reflection-DYIdgM1k.d.cts → tsdoc-reflection-ByWPfzv2.d.mts} +6 -6
  206. package/dist/tsdoc-reflection-ByWPfzv2.d.mts.map +1 -0
  207. package/dist/{tsdoc-reflection-IH-Mt2o_.cjs → tsdoc-reflection-CQ4ITnvE.cjs} +2 -2
  208. package/dist/{tsdoc-reflection-D-eKs6S1.mjs → tsdoc-reflection-p4yqKTXi.mjs} +3 -3
  209. package/dist/{tsdoc-reflection-D-eKs6S1.mjs.map → tsdoc-reflection-p4yqKTXi.mjs.map} +1 -1
  210. package/dist/types/components.cjs +1 -1
  211. package/dist/types/components.d.mts +1 -1
  212. package/dist/types/components.mjs +1 -1
  213. package/dist/types/index.cjs +2 -2
  214. package/dist/types/index.d.mts +2 -2
  215. package/dist/types/index.mjs +2 -2
  216. package/dist/types/plugin.cjs +1 -1
  217. package/dist/types/plugin.d.mts +1 -1
  218. package/dist/types/plugin.mjs +1 -1
  219. package/dist/typescript/components/builtin-file.cjs +7 -8
  220. package/dist/typescript/components/builtin-file.d.cts +3 -3
  221. package/dist/typescript/components/builtin-file.d.mts +5 -5
  222. package/dist/typescript/components/builtin-file.mjs +7 -8
  223. package/dist/typescript/components/dynamic-import-statement.cjs +1 -1
  224. package/dist/typescript/components/dynamic-import-statement.d.cts +1 -1
  225. package/dist/typescript/components/dynamic-import-statement.d.mts +1 -1
  226. package/dist/typescript/components/dynamic-import-statement.mjs +1 -1
  227. package/dist/typescript/components/entry-file.cjs +6 -7
  228. package/dist/typescript/components/entry-file.d.cts +3 -3
  229. package/dist/typescript/components/entry-file.d.mts +4 -4
  230. package/dist/typescript/components/entry-file.mjs +6 -7
  231. package/dist/typescript/components/index.cjs +14 -15
  232. package/dist/typescript/components/index.d.cts +8 -8
  233. package/dist/typescript/components/index.d.mts +12 -12
  234. package/dist/typescript/components/index.mjs +14 -15
  235. package/dist/typescript/components/record-expression.cjs +1 -1
  236. package/dist/typescript/components/record-expression.d.mts +1 -1
  237. package/dist/typescript/components/record-expression.mjs +1 -1
  238. package/dist/typescript/components/tsdoc-reflection.cjs +4 -5
  239. package/dist/typescript/components/tsdoc-reflection.d.cts +1 -1
  240. package/dist/typescript/components/tsdoc-reflection.d.mts +3 -3
  241. package/dist/typescript/components/tsdoc-reflection.mjs +4 -5
  242. package/dist/typescript/components/tsdoc.cjs +2 -3
  243. package/dist/typescript/components/tsdoc.d.mts +2 -2
  244. package/dist/typescript/components/tsdoc.mjs +2 -3
  245. package/dist/typescript/components/typescript-file.cjs +5 -6
  246. package/dist/typescript/components/typescript-file.d.cts +2 -2
  247. package/dist/typescript/components/typescript-file.d.mts +3 -3
  248. package/dist/typescript/components/typescript-file.mjs +5 -6
  249. package/dist/typescript/components/typescript-interface.cjs +5 -6
  250. package/dist/typescript/components/typescript-interface.d.cts +1 -1
  251. package/dist/typescript/components/typescript-interface.d.mts +2 -2
  252. package/dist/typescript/components/typescript-interface.mjs +5 -6
  253. package/dist/typescript/components/typescript-object.cjs +5 -6
  254. package/dist/typescript/components/typescript-object.d.cts +1 -1
  255. package/dist/typescript/components/typescript-object.d.mts +2 -2
  256. package/dist/typescript/components/typescript-object.mjs +5 -6
  257. package/dist/typescript/index.cjs +14 -15
  258. package/dist/typescript/index.d.cts +8 -8
  259. package/dist/typescript/index.d.mts +12 -12
  260. package/dist/typescript/index.mjs +14 -15
  261. package/dist/{typescript-DWzPF4n4.d.mts → typescript-B97ccQh-.d.mts} +1 -1
  262. package/dist/{typescript-DWzPF4n4.d.mts.map → typescript-B97ccQh-.d.mts.map} +1 -1
  263. package/dist/{typescript-BCc7kwL_.mjs → typescript-CllZf0xN.mjs} +1 -1
  264. package/dist/{typescript-BCc7kwL_.mjs.map → typescript-CllZf0xN.mjs.map} +1 -1
  265. package/dist/{typescript-file-BWaBMfMr.d.mts → typescript-file-0czkIl79.d.mts} +3 -3
  266. package/dist/{typescript-file-BWaBMfMr.d.mts.map → typescript-file-0czkIl79.d.mts.map} +1 -1
  267. package/dist/{typescript-file-C5NjN3H2.mjs → typescript-file-Bzq0aO_g.mjs} +3 -3
  268. package/dist/{typescript-file-C5NjN3H2.mjs.map → typescript-file-Bzq0aO_g.mjs.map} +1 -1
  269. package/dist/{typescript-file-DYtGyXiN.d.cts → typescript-file-C-RWh7Rs.d.cts} +2 -2
  270. package/dist/{typescript-file-DYtGyXiN.d.cts.map → typescript-file-C-RWh7Rs.d.cts.map} +1 -1
  271. package/dist/{typescript-file-fOVF6YF2.d.cts → typescript-file-DiviCaz7.d.mts} +3 -3
  272. package/dist/{typescript-file-fOVF6YF2.d.cts.map → typescript-file-DiviCaz7.d.mts.map} +1 -1
  273. package/dist/{typescript-file-BmLwVIQP.cjs → typescript-file-odbZ3nmj.cjs} +2 -2
  274. package/dist/{typescript-interface-LN3uCdA6.mjs → typescript-interface-B2rJA0gm.mjs} +3 -3
  275. package/dist/{typescript-interface-LN3uCdA6.mjs.map → typescript-interface-B2rJA0gm.mjs.map} +1 -1
  276. package/dist/{typescript-interface-BNdWrKgb.cjs → typescript-interface-B9-Hgjyf.cjs} +2 -2
  277. package/dist/{typescript-interface-MV4qwTHs.d.mts → typescript-interface-D-d9A720.d.cts} +3 -3
  278. package/dist/{typescript-interface-MV4qwTHs.d.mts.map → typescript-interface-D-d9A720.d.cts.map} +1 -1
  279. package/dist/{typescript-interface-2m8tByOO.d.cts → typescript-interface-Dw6ipytu.d.mts} +6 -6
  280. package/dist/{typescript-interface-2m8tByOO.d.cts.map → typescript-interface-Dw6ipytu.d.mts.map} +1 -1
  281. package/dist/typescript-interface-u4YOLTZc.d.mts +26 -0
  282. package/dist/typescript-interface-u4YOLTZc.d.mts.map +1 -0
  283. package/dist/{typescript-object-C7p9fJBF.d.mts → typescript-object-BTbZzEqH.d.mts} +2 -2
  284. package/dist/{typescript-object-BM6loB13.d.cts.map → typescript-object-BTbZzEqH.d.mts.map} +1 -1
  285. package/dist/{typescript-object-ENaG1YGI.cjs → typescript-object-BVzjq01J.cjs} +2 -2
  286. package/dist/{typescript-object-BM6loB13.d.cts → typescript-object-BeOdGrgq.d.cts} +4 -4
  287. package/dist/{typescript-object-C7p9fJBF.d.mts.map → typescript-object-BeOdGrgq.d.cts.map} +1 -1
  288. package/dist/typescript-object-CSlztYKM.d.mts +30 -0
  289. package/dist/typescript-object-CSlztYKM.d.mts.map +1 -0
  290. package/dist/{typescript-object-DIyR8xhW.mjs → typescript-object-CjpLosiL.mjs} +3 -3
  291. package/dist/{typescript-object-DIyR8xhW.mjs.map → typescript-object-CjpLosiL.mjs.map} +1 -1
  292. package/dist/{typescript-object-BYobbKlR.d.cts → typescript-object-v1WiBD8W.d.cts} +4 -4
  293. package/dist/{typescript-object-BYobbKlR.d.cts.map → typescript-object-v1WiBD8W.d.cts.map} +1 -1
  294. package/package.json +6 -6
  295. package/dist/context-Du_bVzRZ.d.mts.map +0 -1
  296. package/dist/context-Gqs3Ru42.d.cts.map +0 -1
  297. package/dist/context-e2kZWEFW.mjs.map +0 -1
  298. package/dist/markdown-table-DhX1XJ8b.d.cts.map +0 -1
  299. package/dist/markdown-table-huGkudWV.d.cts.map +0 -1
  300. package/dist/output-D3UQ5nZo.mjs.map +0 -1
  301. package/dist/refkey-CSZgFc0P.d.mts.map +0 -1
  302. package/dist/single-line-comment-B28oTJti.d.cts.map +0 -1
  303. package/dist/tsdoc-reflection-DYIdgM1k.d.cts.map +0 -1
  304. package/dist/unctx-MFxscYXI.mjs +0 -12
  305. package/dist/unctx-MFxscYXI.mjs.map +0 -1
  306. package/dist/unctx-r7Vvh6XR.cjs +0 -17
  307. /package/dist/{capnp-ClfqI-5t.cjs → capnp-DuTkJ3G2.cjs} +0 -0
  308. /package/dist/{components-C_Rnle_h.mjs → components-0Z89eZqr.mjs} +0 -0
  309. /package/dist/{components-CpjG2zC9.mjs → components-5QUrDl5Y.mjs} +0 -0
  310. /package/dist/{components-CrWk5KiP.mjs → components-Ch_xVY03.mjs} +0 -0
  311. /package/dist/{components-B0evB5xd.cjs → components-Cvpo9IEL.cjs} +0 -0
  312. /package/dist/{components-BNK9p5AE.cjs → components-Cx5QvLGH.cjs} +0 -0
  313. /package/dist/{components-DPKSrvP-.cjs → components-DJIkeVYh.cjs} +0 -0
  314. /package/dist/{components-CyQi7RHT.mjs → components-DTKCKgWS.mjs} +0 -0
  315. /package/dist/{components-ISRFDWTF.cjs → components-Gg416Czx.cjs} +0 -0
  316. /package/dist/{contexts-DezKayEz.cjs → contexts-B4a3JUTV.cjs} +0 -0
  317. /package/dist/{contexts-_jq-yJQG.mjs → contexts-CQodwyrp.mjs} +0 -0
  318. /package/dist/{contexts-J643Nrrt.cjs → contexts-DzdhIC7G.cjs} +0 -0
  319. /package/dist/{contexts-juWSyBfb.mjs → contexts-d0vn6-x6.mjs} +0 -0
  320. /package/dist/{create-builtin-BiKyN2s2.cjs → create-builtin-Cod_Sqfx.cjs} +0 -0
  321. /package/dist/{dynamic-import-statement-Dy_MY_Ua.cjs → dynamic-import-statement-BVoYkTzN.cjs} +0 -0
  322. /package/dist/{front-matter-DZ1tB-Uj.cjs → front-matter-BlhvOTm6.cjs} +0 -0
  323. /package/dist/{index-C-lwXyQ6.d.mts → index-0-W_aPej.d.mts} +0 -0
  324. /package/dist/{index-C6HcjJiY.d.mts → index-CTHojwxd.d.mts} +0 -0
  325. /package/dist/{index-CzItj62a.d.mts → index-CjDodOH2.d.mts} +0 -0
  326. /package/dist/{index-hcx6LMSC.d.mts → index-Jh0C5PIG.d.mts} +0 -0
  327. /package/dist/{markdown-table-BWPm6GbJ.cjs → markdown-table-DWfdg1my.cjs} +0 -0
  328. /package/dist/{plugin-B8wUxSXi.cjs → plugin--l4YoZkf.cjs} +0 -0
  329. /package/dist/{plugin-BmQ6pIes.mjs → plugin-BHyL2r7r.mjs} +0 -0
  330. /package/dist/{record-expression-6ElbFyR0.cjs → record-expression-CC24cKiY.cjs} +0 -0
  331. /package/dist/{refkey-C08kDOQ0.cjs → refkey-BLL_fer8.cjs} +0 -0
  332. /package/dist/{reflection-DHpdhvwI.cjs → reflection-DX-QT0Nx.cjs} +0 -0
  333. /package/dist/{typescript-BbjCTT04.cjs → typescript-BzIvz7Cp.cjs} +0 -0
@@ -1,5 +1,5 @@
1
- import { h as TypescriptFileImports, n as ComponentProps, p as SourceFileHeaderProps } from "./components-IRVnipN0.cjs";
2
- import { n as SourceFileProps$1 } from "./source-file-BTsyACav.cjs";
1
+ import { h as TypescriptFileImports, n as ComponentProps, p as SourceFileHeaderProps } from "./components-BVhJ5G56.mjs";
2
+ import { n as SourceFileProps$1 } from "./source-file-BCwSF5Yh.mjs";
3
3
  import { Children } from "@alloy-js/core";
4
4
  import { TSModuleScope } from "@alloy-js/typescript";
5
5
 
@@ -47,4 +47,4 @@ declare type __ΩTypescriptFileHeaderProps = any[];
47
47
  declare type __ΩTypescriptFileHeaderImportsProps = any[];
48
48
  //#endregion
49
49
  export { TypescriptFileHeaderProps as a, __ΩTypescriptFileHeaderProps as c, TypescriptFileHeaderImportsProps as i, __ΩTypescriptFileProps as l, TypescriptFileHeader as n, TypescriptFileProps as o, TypescriptFileHeaderImports as r, __ΩTypescriptFileHeaderImportsProps as s, TypescriptFile as t };
50
- //# sourceMappingURL=typescript-file-fOVF6YF2.d.cts.map
50
+ //# sourceMappingURL=typescript-file-DiviCaz7.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"typescript-file-fOVF6YF2.d.cts","names":[],"sources":["../src/typescript/components/typescript-file.tsx"],"sourcesContent":[],"mappings":";;;;;;KAmDY,mBAAA,GAAsB,KAAK,iCACrC;aACa;EAFH,MAAA,CAAA,EAGC,QAHD;EAA2B,OAAA,CAAA,EAIzB,qBAJyB;EAAL,cAAA,CAAA,EAKb,qBALa;EAChC,MAAA,CAAA,EAAA,OAAA,GAAA,MAAA;EACa,GAAA,CAAA,EAAA,OAAA;CACF;;;;AAab;AAgEA;;AAEa,iBAlEG,cAAA,CAkEH,KAAA,EAlEyB,mBAkEzB,CAAA,EAlE4C,QAkE5C;AAFsC,UAAlC,yBAAA,SAAkC,qBAAA,CAAA;EAAqB,MAAA,CAAA,EAC7D,QAD6D;EAWxD,QAAA,CAAA,EATH,QASG,GAAA,IAAoB;AAuEpC;;;;;;AAYA;iBAnFgB,oBAAA,QAA4B,4BAAyB;UAuEpD,gCAAA,SAAyC;YAC9C;mBACO;UACT;;;;;;;;iBASM,2BAAA,QACP,mCAAgC"}
1
+ {"version":3,"file":"typescript-file-DiviCaz7.d.mts","names":[],"sources":["../src/typescript/components/typescript-file.tsx"],"sourcesContent":[],"mappings":";;;;;;KAmDY,mBAAA,GAAsB,KAAK,iCACrC;aACa;EAFH,MAAA,CAAA,EAGC,QAHD;EAA2B,OAAA,CAAA,EAIzB,qBAJyB;EAAL,cAAA,CAAA,EAKb,qBALa;EAChC,MAAA,CAAA,EAAA,OAAA,GAAA,MAAA;EACa,GAAA,CAAA,EAAA,OAAA;CACF;;;;AAab;AAgEA;;AAEa,iBAlEG,cAAA,CAkEH,KAAA,EAlEyB,mBAkEzB,CAAA,EAlE4C,QAkE5C;AAFsC,UAAlC,yBAAA,SAAkC,qBAAA,CAAA;EAAqB,MAAA,CAAA,EAC7D,QAD6D;EAWxD,QAAA,CAAA,EATH,QASG,GAAA,IAAoB;AAuEpC;;;;;;AAYA;iBAnFgB,oBAAA,QAA4B,4BAAyB;UAuEpD,gCAAA,SAAyC;YAC9C;mBACO;UACT;;;;;;;;iBASM,2BAAA,QACP,mCAAgC"}
@@ -1,7 +1,7 @@
1
1
  const require_chunk = require('./chunk-CbDLau6x.cjs');
2
+ const require_context = require('./context-CowAmU8m.cjs');
2
3
  const require_single_line_comment = require('./single-line-comment-COZ9RWsm.cjs');
3
- const require_context = require('./context--KBspFnw.cjs');
4
- const require_source_file = require('./source-file-BAVTBVJy.cjs');
4
+ const require_source_file = require('./source-file-LHxAz2P7.cjs');
5
5
  let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
6
6
  let __alloy_js_core = require("@alloy-js/core");
7
7
  let __stryke_path_append = require("@stryke/path/append");
@@ -1,5 +1,5 @@
1
- import { i as ReflectionPropertyContext, t as ReflectionClassContext } from "./reflection-B-NMNIoB.mjs";
2
- import { r as TSDocReflectionProperty, t as TSDocReflectionClass } from "./tsdoc-reflection-D-eKs6S1.mjs";
1
+ import { i as ReflectionPropertyContext, t as ReflectionClassContext } from "./reflection-CDRGf-os.mjs";
2
+ import { r as TSDocReflectionProperty, t as TSDocReflectionClass } from "./tsdoc-reflection-p4yqKTXi.mjs";
3
3
  import { createComponent, mergeProps } from "@alloy-js/core/jsx-runtime";
4
4
  import { For, computed, splitProps } from "@alloy-js/core";
5
5
  import { stringifyType } from "@powerlines/deepkit/vendor/type";
@@ -69,4 +69,4 @@ function TypescriptInterfaceProperty(props) {
69
69
 
70
70
  //#endregion
71
71
  export { TypescriptInterfaceProperty as n, TypeScriptInterface as t };
72
- //# sourceMappingURL=typescript-interface-LN3uCdA6.mjs.map
72
+ //# sourceMappingURL=typescript-interface-B2rJA0gm.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"typescript-interface-LN3uCdA6.mjs","names":["computed","For","splitProps","InterfaceDeclaration","InterfaceMember","stringifyType","pascalCase","isString","ReflectionClassContext","ReflectionPropertyContext","TSDocReflectionClass","TSDocReflectionProperty","TypeScriptInterface","props","name","reflection","doc","rest","interfaceName","toString","getName","properties","getProperties","filter","item","isIgnored","sort","a","b","isReadonly","getNameAsString","localeCompare","_$createComponent","Provider","value","children","heading","_$mergeProps","each","doubleHardline","semicolon","prop","TypescriptInterfaceProperty","property","readonly","optional","isOptional","nullish","isNullable","type","getType"],"sources":["../src/typescript/components/typescript-interface.tsx"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { computed, For, splitProps } from \"@alloy-js/core\";\nimport {\n InterfaceDeclaration,\n InterfaceDeclarationProps,\n InterfaceMember,\n InterfaceMemberProps\n} from \"@alloy-js/typescript\";\nimport {\n ReflectionClass,\n ReflectionProperty,\n stringifyType\n} from \"@powerlines/deepkit/vendor/type\";\nimport { pascalCase } from \"@stryke/string-format/pascal-case\";\nimport { isString } from \"@stryke/type-checks/is-string\";\nimport {\n ReflectionClassContext,\n ReflectionPropertyContext\n} from \"../../core/contexts/reflection\";\nimport { ComponentProps } from \"../../types/components\";\nimport {\n TSDocReflectionClass,\n TSDocReflectionProperty\n} from \"./tsdoc-reflection\";\n\nexport interface TypeScriptInterfaceProps<\n T extends Record<string, any> = Record<string, any>\n>\n extends InterfaceDeclarationProps, ComponentProps {\n reflection: ReflectionClass<T>;\n defaultValue?: Partial<T>;\n}\n\nexport interface TypescriptInterfacePropertyProps\n extends Omit<InterfaceMemberProps, \"name\">, ComponentProps {\n property: ReflectionProperty;\n}\n\n/**\n * Generates a TypeScript interface for the given reflection class.\n */\nexport function TypeScriptInterface<\n T extends Record<string, any> = Record<string, any>\n>(props: TypeScriptInterfaceProps<T>) {\n const [{ name, reflection, doc }, rest] = splitProps(props, [\n \"name\",\n \"reflection\",\n \"doc\"\n ]);\n\n const interfaceName = computed(() =>\n pascalCase(\n (isString(name) ? name : name.toString()) || reflection.getName()\n )\n );\n\n const properties = reflection\n .getProperties()\n .filter(item => !item.isIgnored())\n .sort((a, b) =>\n (a.isReadonly() && b.isReadonly()) || (!a.isReadonly() && !b.isReadonly())\n ? a.getNameAsString().localeCompare(b.getNameAsString())\n : a.isReadonly()\n ? 1\n : -1\n );\n\n return (\n <ReflectionClassContext.Provider\n value={{\n reflection\n }}>\n <TSDocReflectionClass heading={doc} />\n <InterfaceDeclaration export={true} name={interfaceName.value} {...rest}>\n <For each={properties} doubleHardline={true} semicolon={true}>\n {prop => <TypescriptInterfaceProperty property={prop} />}\n </For>\n </InterfaceDeclaration>\n </ReflectionClassContext.Provider>\n );\n}\n\n/**\n * Generates a TypeScript interface property for the given reflection class.\n */\nexport function TypescriptInterfaceProperty(\n props: TypescriptInterfacePropertyProps\n) {\n const [{ property }, rest] = splitProps(props, [\"property\"]);\n\n return (\n <ReflectionPropertyContext.Provider value={property}>\n <TSDocReflectionProperty />\n <InterfaceMember\n name={property.getNameAsString()}\n readonly={property.isReadonly()}\n optional={property.isOptional()}\n nullish={property.isNullable()}\n type={stringifyType(property.getType())}\n {...rest}\n />\n </ReflectionPropertyContext.Provider>\n );\n}\n"],"mappings":""}
1
+ {"version":3,"file":"typescript-interface-B2rJA0gm.mjs","names":["computed","For","splitProps","InterfaceDeclaration","InterfaceMember","stringifyType","pascalCase","isString","ReflectionClassContext","ReflectionPropertyContext","TSDocReflectionClass","TSDocReflectionProperty","TypeScriptInterface","props","name","reflection","doc","rest","interfaceName","toString","getName","properties","getProperties","filter","item","isIgnored","sort","a","b","isReadonly","getNameAsString","localeCompare","_$createComponent","Provider","value","children","heading","_$mergeProps","each","doubleHardline","semicolon","prop","TypescriptInterfaceProperty","property","readonly","optional","isOptional","nullish","isNullable","type","getType"],"sources":["../src/typescript/components/typescript-interface.tsx"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { computed, For, splitProps } from \"@alloy-js/core\";\nimport {\n InterfaceDeclaration,\n InterfaceDeclarationProps,\n InterfaceMember,\n InterfaceMemberProps\n} from \"@alloy-js/typescript\";\nimport {\n ReflectionClass,\n ReflectionProperty,\n stringifyType\n} from \"@powerlines/deepkit/vendor/type\";\nimport { pascalCase } from \"@stryke/string-format/pascal-case\";\nimport { isString } from \"@stryke/type-checks/is-string\";\nimport {\n ReflectionClassContext,\n ReflectionPropertyContext\n} from \"../../core/contexts/reflection\";\nimport { ComponentProps } from \"../../types/components\";\nimport {\n TSDocReflectionClass,\n TSDocReflectionProperty\n} from \"./tsdoc-reflection\";\n\nexport interface TypeScriptInterfaceProps<\n T extends Record<string, any> = Record<string, any>\n>\n extends InterfaceDeclarationProps, ComponentProps {\n reflection: ReflectionClass<T>;\n defaultValue?: Partial<T>;\n}\n\nexport interface TypescriptInterfacePropertyProps\n extends Omit<InterfaceMemberProps, \"name\">, ComponentProps {\n property: ReflectionProperty;\n}\n\n/**\n * Generates a TypeScript interface for the given reflection class.\n */\nexport function TypeScriptInterface<\n T extends Record<string, any> = Record<string, any>\n>(props: TypeScriptInterfaceProps<T>) {\n const [{ name, reflection, doc }, rest] = splitProps(props, [\n \"name\",\n \"reflection\",\n \"doc\"\n ]);\n\n const interfaceName = computed(() =>\n pascalCase(\n (isString(name) ? name : name.toString()) || reflection.getName()\n )\n );\n\n const properties = reflection\n .getProperties()\n .filter(item => !item.isIgnored())\n .sort((a, b) =>\n (a.isReadonly() && b.isReadonly()) || (!a.isReadonly() && !b.isReadonly())\n ? a.getNameAsString().localeCompare(b.getNameAsString())\n : a.isReadonly()\n ? 1\n : -1\n );\n\n return (\n <ReflectionClassContext.Provider\n value={{\n reflection\n }}>\n <TSDocReflectionClass heading={doc} />\n <InterfaceDeclaration export={true} name={interfaceName.value} {...rest}>\n <For each={properties} doubleHardline={true} semicolon={true}>\n {prop => <TypescriptInterfaceProperty property={prop} />}\n </For>\n </InterfaceDeclaration>\n </ReflectionClassContext.Provider>\n );\n}\n\n/**\n * Generates a TypeScript interface property for the given reflection class.\n */\nexport function TypescriptInterfaceProperty(\n props: TypescriptInterfacePropertyProps\n) {\n const [{ property }, rest] = splitProps(props, [\"property\"]);\n\n return (\n <ReflectionPropertyContext.Provider value={property}>\n <TSDocReflectionProperty />\n <InterfaceMember\n name={property.getNameAsString()}\n readonly={property.isReadonly()}\n optional={property.isOptional()}\n nullish={property.isNullable()}\n type={stringifyType(property.getType())}\n {...rest}\n />\n </ReflectionPropertyContext.Provider>\n );\n}\n"],"mappings":""}
@@ -1,6 +1,6 @@
1
1
  const require_chunk = require('./chunk-CbDLau6x.cjs');
2
- const require_reflection = require('./reflection-DHpdhvwI.cjs');
3
- const require_tsdoc_reflection = require('./tsdoc-reflection-IH-Mt2o_.cjs');
2
+ const require_reflection = require('./reflection-DX-QT0Nx.cjs');
3
+ const require_tsdoc_reflection = require('./tsdoc-reflection-CQ4ITnvE.cjs');
4
4
  let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
5
5
  let __alloy_js_core = require("@alloy-js/core");
6
6
  let __powerlines_deepkit_vendor_type = require("@powerlines/deepkit/vendor/type");
@@ -1,7 +1,7 @@
1
- import { n as ComponentProps } from "./components-oHSM7vmp.mjs";
1
+ import { n as ComponentProps } from "./components-IRVnipN0.cjs";
2
2
  import * as _alloy_js_core10 from "@alloy-js/core";
3
- import { ReflectionClass, ReflectionProperty } from "@powerlines/deepkit/vendor/type";
4
3
  import { InterfaceDeclarationProps, InterfaceMemberProps } from "@alloy-js/typescript";
4
+ import { ReflectionClass, ReflectionProperty } from "@powerlines/deepkit/vendor/type";
5
5
 
6
6
  //#region src/typescript/components/typescript-interface.d.ts
7
7
  interface TypeScriptInterfaceProps<T extends Record<string, any> = Record<string, any>> extends InterfaceDeclarationProps, ComponentProps {
@@ -23,4 +23,4 @@ declare type __ΩTypeScriptInterfaceProps = any[];
23
23
  declare type __ΩTypescriptInterfacePropertyProps = any[];
24
24
  //#endregion
25
25
  export { __ΩTypeScriptInterfaceProps as a, TypescriptInterfacePropertyProps as i, TypeScriptInterfaceProps as n, __ΩTypescriptInterfacePropertyProps as o, TypescriptInterfaceProperty as r, TypeScriptInterface as t };
26
- //# sourceMappingURL=typescript-interface-MV4qwTHs.d.mts.map
26
+ //# sourceMappingURL=typescript-interface-D-d9A720.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"typescript-interface-MV4qwTHs.d.mts","names":[],"sources":["../src/typescript/components/typescript-interface.tsx"],"sourcesContent":[],"mappings":";;;;;;UA0CiB,mCACL,sBAAsB,6BAExB,2BAA2B;cACvB,gBAAgB;iBACb,QAAQ;AALzB;AACY,UAOK,gCAAA,SACP,IARE,CAQG,oBARH,EAAA,MAAA,CAAA,EAQkC,cARlC,CAAA;EAAsB,QAAA,EAStB,kBATsB;;;;;AAExB,iBAaM,mBAbN,CAAA,UAcE,MAdF,CAAA,MAAA,EAAA,GAAA,CAAA,GAcwB,MAdxB,CAAA,MAAA,EAAA,GAAA,CAAA,CAAA,CAAA,KAAA,EAeD,wBAfC,CAewB,CAfxB,CAAA,CAAA,EAeuB,gBAAA,CAAG,QAf1B;;;AAKV;AACe,iBAmDC,2BAAA,CAnDD,KAAA,EAoDN,gCApDM,CAAA,EAoD0B,gBAAA,CAAA,QApD1B;AACH,2CAAA,GAAA,EAAA;AADF,mDAAA,GAAA,EAAA"}
1
+ {"version":3,"file":"typescript-interface-D-d9A720.d.cts","names":[],"sources":["../src/typescript/components/typescript-interface.tsx"],"sourcesContent":[],"mappings":";;;;;;UA0CiB,mCACL,sBAAsB,6BAExB,2BAA2B;cACvB,gBAAgB;iBACb,QAAQ;AALzB;AACY,UAOK,gCAAA,SACP,IARE,CAQG,oBARH,EAAA,MAAA,CAAA,EAQkC,cARlC,CAAA;EAAsB,QAAA,EAStB,kBATsB;;;;;AAExB,iBAaM,mBAbN,CAAA,UAcE,MAdF,CAAA,MAAA,EAAA,GAAA,CAAA,GAcwB,MAdxB,CAAA,MAAA,EAAA,GAAA,CAAA,CAAA,CAAA,KAAA,EAeD,wBAfC,CAewB,CAfxB,CAAA,CAAA,EAeuB,gBAAA,CAAG,QAf1B;;;AAKV;AACe,iBAmDC,2BAAA,CAnDD,KAAA,EAoDN,gCApDM,CAAA,EAoD0B,gBAAA,CAAA,QApD1B;AACH,2CAAA,GAAA,EAAA;AADF,mDAAA,GAAA,EAAA"}
@@ -1,7 +1,7 @@
1
- import { n as ComponentProps } from "./components-IRVnipN0.cjs";
2
- import * as _alloy_js_core0 from "@alloy-js/core";
3
- import { InterfaceDeclarationProps, InterfaceMemberProps } from "@alloy-js/typescript";
1
+ import { n as ComponentProps } from "./components-BVhJ5G56.mjs";
2
+ import * as _alloy_js_core5 from "@alloy-js/core";
4
3
  import { ReflectionClass, ReflectionProperty } from "@powerlines/deepkit/vendor/type";
4
+ import { InterfaceDeclarationProps, InterfaceMemberProps } from "@alloy-js/typescript";
5
5
 
6
6
  //#region src/typescript/components/typescript-interface.d.ts
7
7
  interface TypeScriptInterfaceProps<T extends Record<string, any> = Record<string, any>> extends InterfaceDeclarationProps, ComponentProps {
@@ -14,13 +14,13 @@ interface TypescriptInterfacePropertyProps extends Omit<InterfaceMemberProps, "n
14
14
  /**
15
15
  * Generates a TypeScript interface for the given reflection class.
16
16
  */
17
- declare function TypeScriptInterface<T extends Record<string, any> = Record<string, any>>(props: TypeScriptInterfaceProps<T>): _alloy_js_core0.Children;
17
+ declare function TypeScriptInterface<T extends Record<string, any> = Record<string, any>>(props: TypeScriptInterfaceProps<T>): _alloy_js_core5.Children;
18
18
  /**
19
19
  * Generates a TypeScript interface property for the given reflection class.
20
20
  */
21
- declare function TypescriptInterfaceProperty(props: TypescriptInterfacePropertyProps): _alloy_js_core0.Children;
21
+ declare function TypescriptInterfaceProperty(props: TypescriptInterfacePropertyProps): _alloy_js_core5.Children;
22
22
  declare type __ΩTypeScriptInterfaceProps = any[];
23
23
  declare type __ΩTypescriptInterfacePropertyProps = any[];
24
24
  //#endregion
25
25
  export { __ΩTypeScriptInterfaceProps as a, TypescriptInterfacePropertyProps as i, TypeScriptInterfaceProps as n, __ΩTypescriptInterfacePropertyProps as o, TypescriptInterfaceProperty as r, TypeScriptInterface as t };
26
- //# sourceMappingURL=typescript-interface-2m8tByOO.d.cts.map
26
+ //# sourceMappingURL=typescript-interface-Dw6ipytu.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"typescript-interface-2m8tByOO.d.cts","names":[],"sources":["../src/typescript/components/typescript-interface.tsx"],"sourcesContent":[],"mappings":";;;;;;UA0CiB,mCACL,sBAAsB,6BAExB,2BAA2B;cACvB,gBAAgB;iBACb,QAAQ;AALzB;AACY,UAOK,gCAAA,SACP,IARE,CAQG,oBARH,EAAA,MAAA,CAAA,EAQkC,cARlC,CAAA;EAAsB,QAAA,EAStB,kBATsB;;;;;AAExB,iBAaM,mBAbN,CAAA,UAcE,MAdF,CAAA,MAAA,EAAA,GAAA,CAAA,GAcwB,MAdxB,CAAA,MAAA,EAAA,GAAA,CAAA,CAAA,CAAA,KAAA,EAeD,wBAfC,CAewB,CAfxB,CAAA,CAAA,EAeuB,eAAA,CAAG,QAf1B;;;AAKV;AACe,iBAmDC,2BAAA,CAnDD,KAAA,EAoDN,gCApDM,CAAA,EAoD0B,eAAA,CAAA,QApD1B;AACH,2CAAA,GAAA,EAAA;AADF,mDAAA,GAAA,EAAA"}
1
+ {"version":3,"file":"typescript-interface-Dw6ipytu.d.mts","names":[],"sources":["../src/typescript/components/typescript-interface.tsx"],"sourcesContent":[],"mappings":";;;;;;UA0CiB,mCACL,sBAAsB,6BAExB,2BAA2B;cACvB,gBAAgB;iBACb,QAAQ;AALzB;AACY,UAOK,gCAAA,SACP,IARE,CAQG,oBARH,EAAA,MAAA,CAAA,EAQkC,cARlC,CAAA;EAAsB,QAAA,EAStB,kBATsB;;;;;AAExB,iBAaM,mBAbN,CAAA,UAcE,MAdF,CAAA,MAAA,EAAA,GAAA,CAAA,GAcwB,MAdxB,CAAA,MAAA,EAAA,GAAA,CAAA,CAAA,CAAA,KAAA,EAeD,wBAfC,CAewB,CAfxB,CAAA,CAAA,EAeuB,eAAA,CAAG,QAf1B;;;AAKV;AACe,iBAmDC,2BAAA,CAnDD,KAAA,EAoDN,gCApDM,CAAA,EAoD0B,eAAA,CAAA,QApD1B;AACH,2CAAA,GAAA,EAAA;AADF,mDAAA,GAAA,EAAA"}
@@ -0,0 +1,26 @@
1
+ import { n as ComponentProps } from "./components-BVhJ5G56.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
25
+ export { __ΩTypeScriptInterfaceProps as a, TypescriptInterfacePropertyProps as i, TypeScriptInterfaceProps as n, __ΩTypescriptInterfacePropertyProps as o, TypescriptInterfaceProperty as r, TypeScriptInterface as t };
26
+ //# sourceMappingURL=typescript-interface-u4YOLTZc.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"typescript-interface-u4YOLTZc.d.mts","names":[],"sources":["../src/typescript/components/typescript-interface.tsx"],"sourcesContent":[],"mappings":";;;;;;UA0CiB,mCACL,sBAAsB,6BAExB,2BAA2B;cACvB,gBAAgB;iBACb,QAAQ;AALzB;AACY,UAOK,gCAAA,SACP,IARE,CAQG,oBARH,EAAA,MAAA,CAAA,EAQkC,cARlC,CAAA;EAAsB,QAAA,EAStB,kBATsB;;;;;AAExB,iBAaM,mBAbN,CAAA,UAcE,MAdF,CAAA,MAAA,EAAA,GAAA,CAAA,GAcwB,MAdxB,CAAA,MAAA,EAAA,GAAA,CAAA,CAAA,CAAA,KAAA,EAeD,wBAfC,CAewB,CAfxB,CAAA,CAAA,EAeuB,gBAAA,CAAG,QAf1B;;;AAKV;AACe,iBAmDC,2BAAA,CAnDD,KAAA,EAoDN,gCApDM,CAAA,EAoD0B,gBAAA,CAAA,QApD1B;AACH,2CAAA,GAAA,EAAA;AADF,mDAAA,GAAA,EAAA"}
@@ -1,4 +1,4 @@
1
- import { n as ComponentProps } from "./components-oHSM7vmp.mjs";
1
+ import { n as ComponentProps } from "./components-BVhJ5G56.mjs";
2
2
  import * as _alloy_js_core8 from "@alloy-js/core";
3
3
  import { ReflectionClass, ReflectionProperty } from "@powerlines/deepkit/vendor/type";
4
4
  import { VarDeclarationProps } from "@alloy-js/typescript";
@@ -27,4 +27,4 @@ declare type __ΩTypescriptObjectProps = any[];
27
27
  declare type __ΩTypescriptObjectPropertyProps = any[];
28
28
  //#endregion
29
29
  export { TypescriptObjectProps as a, __ΩTypescriptObjectProps as c, TypescriptObjectPropertyProps as i, TypescriptObject as n, __ΩComputedRef as o, TypescriptObjectProperty as r, __ΩTypescriptObjectPropertyProps as s, ComputedRef as t };
30
- //# sourceMappingURL=typescript-object-C7p9fJBF.d.mts.map
30
+ //# sourceMappingURL=typescript-object-BTbZzEqH.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"typescript-object-BM6loB13.d.cts","names":[],"sources":["../src/typescript/components/typescript-object.tsx"],"sourcesContent":[],"mappings":";;;;;;UAuDiB;kBACC;;AADD,UAIA,qBAHE,CAAA,UAIP,MAJO,CAAA,MAAA,EAAA,GAAA,CAAA,GAIe,MAJf,CAAA,MAAA,EAAA,GAAA,CAAA,CAAA,SAKT,mBALS,CAAA;EAGF,UAAA,CAAA,EAGF,WAHuB,CAGX,eAHW,CAGK,CAHL,CAAA,CAAA;EAC1B,YAAA,CAAA,EAGK,WAHL,CAGiB,OAHjB,CAGyB,CAHzB,CAAA,GAAA,SAAA,CAAA;;AAE+B,UAI1B,6BAAA,SAAsC,cAJZ,CAAA;EAAhB,QAAA,EAKf,kBALe;;;;;AADjB,iBAYM,gBAZN,CAAA,UAaE,MAbF,CAAA,MAAA,EAAA,GAAA,CAAA,GAawB,MAbxB,CAAA,MAAA,EAAA,GAAA,CAAA,CAAA,CAAA,KAAA,EAcD,qBAdC,CAcqB,CAdrB,CAAA,CAAA,EAcoB,eAAA,CAAG,QAdvB;;AAKV;AAOA;AACY,iBAkHI,wBAAA,CAlHJ,KAAA,EAkHoC,6BAlHpC,CAAA,EAkHiE,eAAA,CAAA,QAlHjE;AAAsB,8BAAA,GAAA,EAAA;AACH,wCAAA,GAAA,EAAA;AAAtB,gDAAA,GAAA,EAAA"}
1
+ {"version":3,"file":"typescript-object-BTbZzEqH.d.mts","names":[],"sources":["../src/typescript/components/typescript-object.tsx"],"sourcesContent":[],"mappings":";;;;;;UAuDiB;kBACC;;AADD,UAIA,qBAHE,CAAA,UAIP,MAJO,CAAA,MAAA,EAAA,GAAA,CAAA,GAIe,MAJf,CAAA,MAAA,EAAA,GAAA,CAAA,CAAA,SAKT,mBALS,CAAA;EAGF,UAAA,CAAA,EAGF,WAHuB,CAGX,eAHW,CAGK,CAHL,CAAA,CAAA;EAC1B,YAAA,CAAA,EAGK,WAHL,CAGiB,OAHjB,CAGyB,CAHzB,CAAA,GAAA,SAAA,CAAA;;AAE+B,UAI1B,6BAAA,SAAsC,cAJZ,CAAA;EAAhB,QAAA,EAKf,kBALe;;;;;AADjB,iBAYM,gBAZN,CAAA,UAaE,MAbF,CAAA,MAAA,EAAA,GAAA,CAAA,GAawB,MAbxB,CAAA,MAAA,EAAA,GAAA,CAAA,CAAA,CAAA,KAAA,EAcD,qBAdC,CAcqB,CAdrB,CAAA,CAAA,EAcoB,eAAA,CAAG,QAdvB;;AAKV;AAOA;AACY,iBAkHI,wBAAA,CAlHJ,KAAA,EAkHoC,6BAlHpC,CAAA,EAkHiE,eAAA,CAAA,QAlHjE;AAAsB,8BAAA,GAAA,EAAA;AACH,wCAAA,GAAA,EAAA;AAAtB,gDAAA,GAAA,EAAA"}
@@ -1,6 +1,6 @@
1
1
  const require_chunk = require('./chunk-CbDLau6x.cjs');
2
- const require_reflection = require('./reflection-DHpdhvwI.cjs');
3
- const require_tsdoc_reflection = require('./tsdoc-reflection-IH-Mt2o_.cjs');
2
+ const require_reflection = require('./reflection-DX-QT0Nx.cjs');
3
+ const require_tsdoc_reflection = require('./tsdoc-reflection-CQ4ITnvE.cjs');
4
4
  let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
5
5
  let __alloy_js_core = require("@alloy-js/core");
6
6
  let __powerlines_deepkit_utilities = require("@powerlines/deepkit/utilities");
@@ -1,5 +1,5 @@
1
1
  import { n as ComponentProps } from "./components-IRVnipN0.cjs";
2
- import * as _alloy_js_core2 from "@alloy-js/core";
2
+ import * as _alloy_js_core10 from "@alloy-js/core";
3
3
  import { VarDeclarationProps } from "@alloy-js/typescript";
4
4
  import { ReflectionClass, ReflectionProperty } from "@powerlines/deepkit/vendor/type";
5
5
 
@@ -17,14 +17,14 @@ interface TypescriptObjectPropertyProps extends ComponentProps {
17
17
  /**
18
18
  * Generates a TypeScript object for the given reflection class.
19
19
  */
20
- declare function TypescriptObject<T extends Record<string, any> = Record<string, any>>(props: TypescriptObjectProps<T>): _alloy_js_core2.Children;
20
+ declare function TypescriptObject<T extends Record<string, any> = Record<string, any>>(props: TypescriptObjectProps<T>): _alloy_js_core10.Children;
21
21
  /**
22
22
  * Generates a TypeScript object property for the given reflection class.
23
23
  */
24
- declare function TypescriptObjectProperty(props: TypescriptObjectPropertyProps): _alloy_js_core2.Children;
24
+ declare function TypescriptObjectProperty(props: TypescriptObjectPropertyProps): _alloy_js_core10.Children;
25
25
  declare type __ΩComputedRef = any[];
26
26
  declare type __ΩTypescriptObjectProps = any[];
27
27
  declare type __ΩTypescriptObjectPropertyProps = any[];
28
28
  //#endregion
29
29
  export { TypescriptObjectProps as a, __ΩTypescriptObjectProps as c, TypescriptObjectPropertyProps as i, TypescriptObject as n, __ΩComputedRef as o, TypescriptObjectProperty as r, __ΩTypescriptObjectPropertyProps as s, ComputedRef as t };
30
- //# sourceMappingURL=typescript-object-BM6loB13.d.cts.map
30
+ //# sourceMappingURL=typescript-object-BeOdGrgq.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"typescript-object-C7p9fJBF.d.mts","names":[],"sources":["../src/typescript/components/typescript-object.tsx"],"sourcesContent":[],"mappings":";;;;;;UAuDiB;kBACC;;AADD,UAIA,qBAHE,CAAA,UAIP,MAJO,CAAA,MAAA,EAAA,GAAA,CAAA,GAIe,MAJf,CAAA,MAAA,EAAA,GAAA,CAAA,CAAA,SAKT,mBALS,CAAA;EAGF,UAAA,CAAA,EAGF,WAHuB,CAGX,eAHW,CAGK,CAHL,CAAA,CAAA;EAC1B,YAAA,CAAA,EAGK,WAHL,CAGiB,OAHjB,CAGyB,CAHzB,CAAA,GAAA,SAAA,CAAA;;AAE+B,UAI1B,6BAAA,SAAsC,cAJZ,CAAA;EAAhB,QAAA,EAKf,kBALe;;;;;AADjB,iBAYM,gBAZN,CAAA,UAaE,MAbF,CAAA,MAAA,EAAA,GAAA,CAAA,GAawB,MAbxB,CAAA,MAAA,EAAA,GAAA,CAAA,CAAA,CAAA,KAAA,EAcD,qBAdC,CAcqB,CAdrB,CAAA,CAAA,EAcoB,eAAA,CAAG,QAdvB;;AAKV;AAOA;AACY,iBAkHI,wBAAA,CAlHJ,KAAA,EAkHoC,6BAlHpC,CAAA,EAkHiE,eAAA,CAAA,QAlHjE;AAAsB,8BAAA,GAAA,EAAA;AACH,wCAAA,GAAA,EAAA;AAAtB,gDAAA,GAAA,EAAA"}
1
+ {"version":3,"file":"typescript-object-BeOdGrgq.d.cts","names":[],"sources":["../src/typescript/components/typescript-object.tsx"],"sourcesContent":[],"mappings":";;;;;;UAuDiB;kBACC;;AADD,UAIA,qBAHE,CAAA,UAIP,MAJO,CAAA,MAAA,EAAA,GAAA,CAAA,GAIe,MAJf,CAAA,MAAA,EAAA,GAAA,CAAA,CAAA,SAKT,mBALS,CAAA;EAGF,UAAA,CAAA,EAGF,WAHuB,CAGX,eAHW,CAGK,CAHL,CAAA,CAAA;EAC1B,YAAA,CAAA,EAGK,WAHL,CAGiB,OAHjB,CAGyB,CAHzB,CAAA,GAAA,SAAA,CAAA;;AAE+B,UAI1B,6BAAA,SAAsC,cAJZ,CAAA;EAAhB,QAAA,EAKf,kBALe;;;;;AADjB,iBAYM,gBAZN,CAAA,UAaE,MAbF,CAAA,MAAA,EAAA,GAAA,CAAA,GAawB,MAbxB,CAAA,MAAA,EAAA,GAAA,CAAA,CAAA,CAAA,KAAA,EAcD,qBAdC,CAcqB,CAdrB,CAAA,CAAA,EAcoB,gBAAA,CAAG,QAdvB;;AAKV;AAOA;AACY,iBAkHI,wBAAA,CAlHJ,KAAA,EAkHoC,6BAlHpC,CAAA,EAkHiE,gBAAA,CAAA,QAlHjE;AAAsB,8BAAA,GAAA,EAAA;AACH,wCAAA,GAAA,EAAA;AAAtB,gDAAA,GAAA,EAAA"}
@@ -0,0 +1,30 @@
1
+ import { n as ComponentProps } from "./components-BVhJ5G56.mjs";
2
+ import * as _alloy_js_core10 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_core10.Children;
21
+ /**
22
+ * Generates a TypeScript object property for the given reflection class.
23
+ */
24
+ declare function TypescriptObjectProperty(props: TypescriptObjectPropertyProps): _alloy_js_core10.Children;
25
+ declare type __ΩComputedRef = any[];
26
+ declare type __ΩTypescriptObjectProps = any[];
27
+ declare type __ΩTypescriptObjectPropertyProps = any[];
28
+ //#endregion
29
+ export { TypescriptObjectProps as a, __ΩTypescriptObjectProps as c, TypescriptObjectPropertyProps as i, TypescriptObject as n, __ΩComputedRef as o, TypescriptObjectProperty as r, __ΩTypescriptObjectPropertyProps as s, ComputedRef as t };
30
+ //# sourceMappingURL=typescript-object-CSlztYKM.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"typescript-object-CSlztYKM.d.mts","names":[],"sources":["../src/typescript/components/typescript-object.tsx"],"sourcesContent":[],"mappings":";;;;;;UAuDiB;kBACC;;AADD,UAIA,qBAHE,CAAA,UAIP,MAJO,CAAA,MAAA,EAAA,GAAA,CAAA,GAIe,MAJf,CAAA,MAAA,EAAA,GAAA,CAAA,CAAA,SAKT,mBALS,CAAA;EAGF,UAAA,CAAA,EAGF,WAHuB,CAGX,eAHW,CAGK,CAHL,CAAA,CAAA;EAC1B,YAAA,CAAA,EAGK,WAHL,CAGiB,OAHjB,CAGyB,CAHzB,CAAA,GAAA,SAAA,CAAA;;AAE+B,UAI1B,6BAAA,SAAsC,cAJZ,CAAA;EAAhB,QAAA,EAKf,kBALe;;;;;AADjB,iBAYM,gBAZN,CAAA,UAaE,MAbF,CAAA,MAAA,EAAA,GAAA,CAAA,GAawB,MAbxB,CAAA,MAAA,EAAA,GAAA,CAAA,CAAA,CAAA,KAAA,EAcD,qBAdC,CAcqB,CAdrB,CAAA,CAAA,EAcoB,gBAAA,CAAG,QAdvB;;AAKV;AAOA;AACY,iBAkHI,wBAAA,CAlHJ,KAAA,EAkHoC,6BAlHpC,CAAA,EAkHiE,gBAAA,CAAA,QAlHjE;AAAsB,8BAAA,GAAA,EAAA;AACH,wCAAA,GAAA,EAAA;AAAtB,gDAAA,GAAA,EAAA"}
@@ -1,5 +1,5 @@
1
- import { i as ReflectionPropertyContext, t as ReflectionClassContext } from "./reflection-B-NMNIoB.mjs";
2
- import { r as TSDocReflectionProperty, t as TSDocReflectionClass } from "./tsdoc-reflection-D-eKs6S1.mjs";
1
+ import { i as ReflectionPropertyContext, t as ReflectionClassContext } from "./reflection-CDRGf-os.mjs";
2
+ import { r as TSDocReflectionProperty, t as TSDocReflectionClass } from "./tsdoc-reflection-p4yqKTXi.mjs";
3
3
  import { createComponent, createIntrinsic, memo } from "@alloy-js/core/jsx-runtime";
4
4
  import { Declaration, For, Name, Show, computed, createSymbolSlot, splitProps } from "@alloy-js/core";
5
5
  import { stringifyDefaultValue } from "@powerlines/deepkit/utilities";
@@ -121,4 +121,4 @@ function TypescriptObjectProperty(props) {
121
121
 
122
122
  //#endregion
123
123
  export { TypescriptObjectProperty as n, TypescriptObject as t };
124
- //# sourceMappingURL=typescript-object-DIyR8xhW.mjs.map
124
+ //# sourceMappingURL=typescript-object-CjpLosiL.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"typescript-object-DIyR8xhW.mjs","names":["computed","Declaration","CoreDeclaration","createSymbolSlot","For","Name","Show","splitProps","createValueSymbol","ObjectExpression","ObjectProperty","TSSymbolFlags","TypeRefContext","useTSNamePolicy","stringifyDefaultValue","camelCase","pascalCase","isString","isUndefined","ReflectionClassContext","ReflectionPropertyContext","TSDocReflectionClass","TSDocReflectionProperty","TypescriptObject","props","reflection","value","objectName","name","toString","getName","objectType","type","properties","getProperties","filter","item","isIgnored","defaultValue","getNameAsString","getAlias","reduce","ret","alias","undefined","getDefaultValue","sort","a","b","isReadonly","localeCompare","TypeSymbolSlot","ValueTypeSymbolSlot","sym","refkeys","refkey","default","export","metadata","tsFlags","nullish","Nullish","None","firstSymbol","namePolicy","for","moveMembersTo","keyword","var","let","_$createComponent","children","when","Provider","override","symbol","_$memo","initializer","each","comma","doubleHardline","prop","TypescriptObjectProperty","property","_$createIntrinsic"],"sources":["../src/typescript/components/typescript-object.tsx"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport {\n computed,\n Declaration as CoreDeclaration,\n createSymbolSlot,\n For,\n Name,\n Show,\n splitProps\n} from \"@alloy-js/core\";\nimport {\n createValueSymbol,\n ObjectExpression,\n ObjectProperty,\n TSSymbolFlags,\n TypeRefContext,\n useTSNamePolicy,\n VarDeclarationProps\n} from \"@alloy-js/typescript\";\nimport { stringifyDefaultValue } from \"@powerlines/deepkit/utilities\";\nimport type {\n ReflectionClass,\n ReflectionProperty\n} from \"@powerlines/deepkit/vendor/type\";\nimport { camelCase } from \"@stryke/string-format/camel-case\";\nimport { pascalCase } from \"@stryke/string-format/pascal-case\";\nimport { isString } from \"@stryke/type-checks/is-string\";\nimport { isUndefined } from \"@stryke/type-checks/is-undefined\";\nimport {\n ReflectionClassContext,\n ReflectionPropertyContext\n} from \"../../core/contexts/reflection\";\nimport { ComponentProps } from \"../../types/components\";\nimport {\n TSDocReflectionClass,\n TSDocReflectionProperty\n} from \"./tsdoc-reflection\";\n\nexport interface ComputedRef<T = any> {\n readonly value: T;\n}\n\nexport interface TypescriptObjectProps<\n T extends Record<string, any> = Record<string, any>\n> extends VarDeclarationProps {\n reflection?: ComputedRef<ReflectionClass<T>>;\n defaultValue?: ComputedRef<Partial<T> | undefined>;\n}\n\nexport interface TypescriptObjectPropertyProps extends ComponentProps {\n property: ReflectionProperty;\n}\n\n/**\n * Generates a TypeScript object for the given reflection class.\n */\nexport function TypescriptObject<\n T extends Record<string, any> = Record<string, any>\n>(props: TypescriptObjectProps<T>) {\n if (!props.reflection?.value) {\n return null;\n }\n\n const objectName = computed(() =>\n camelCase(\n (isString(props.name) ? props.name : props.name.toString()) ||\n props.reflection!.value.getName()\n )\n );\n const objectType = computed(\n () => props.type || pascalCase(props.reflection!.value.getName())\n );\n const properties = computed(() =>\n props\n .reflection!.value.getProperties()\n .filter(\n item =>\n !item.isIgnored() &&\n !isUndefined(\n props.defaultValue?.value?.[item.getNameAsString()] ??\n item.getAlias().reduce((ret, alias) => {\n if (\n isUndefined(ret) &&\n !isUndefined(\n (props.defaultValue as Record<string, any>)?.value?.[alias]\n )\n ) {\n return (props.defaultValue as Record<string, any>)?.value?.[\n alias\n ];\n }\n\n return ret;\n }, undefined) ??\n item.getDefaultValue()\n )\n )\n .sort((a, b) =>\n (a.isReadonly() && b.isReadonly()) ||\n (!a.isReadonly() && !b.isReadonly())\n ? a.getNameAsString().localeCompare(b.getNameAsString())\n : a.isReadonly()\n ? 1\n : -1\n )\n );\n\n const TypeSymbolSlot = createSymbolSlot();\n const ValueTypeSymbolSlot = createSymbolSlot();\n const sym = createValueSymbol(props.name, {\n refkeys: props.refkey,\n default: props.default,\n export: props.export,\n metadata: props.metadata,\n tsFlags: props.nullish ? TSSymbolFlags.Nullish : TSSymbolFlags.None,\n type: props.type ? TypeSymbolSlot.firstSymbol : undefined,\n namePolicy: useTSNamePolicy().for(\"variable\")\n });\n\n if (!props.type) {\n ValueTypeSymbolSlot.moveMembersTo(sym);\n }\n\n const keyword = props.var ? \"var\" : props.let ? \"let\" : \"const\";\n const type = props.type ? (\n <TypeRefContext>\n : <TypeSymbolSlot>{props.type}</TypeSymbolSlot>\n </TypeRefContext>\n ) : undefined;\n\n return (\n <Show when={!!props.reflection.value}>\n <ReflectionClassContext.Provider\n value={{\n reflection: props.reflection.value as ReflectionClass<any>,\n override: {\n name: objectName.value,\n type: objectType.value,\n defaultValue: props.defaultValue?.value\n }\n }}>\n <Show when={!!objectName.value && !!objectType.value}>\n <TSDocReflectionClass />\n <CoreDeclaration symbol={sym}>\n {props.export ? \"export \" : \"\"}\n {props.default ? \"default \" : \"\"}\n {keyword} <Name />\n {type} ={\" \"}\n <ValueTypeSymbolSlot>\n {props.initializer ?? props.children ?? (\n <ObjectExpression>\n <For\n each={properties.value ?? []}\n comma={true}\n doubleHardline={true}>\n {prop => <TypescriptObjectProperty property={prop} />}\n </For>\n </ObjectExpression>\n )}\n </ValueTypeSymbolSlot>\n </CoreDeclaration>\n </Show>\n <hbr />\n </ReflectionClassContext.Provider>\n </Show>\n );\n}\n\n/**\n * Generates a TypeScript object property for the given reflection class.\n */\nexport function TypescriptObjectProperty(props: TypescriptObjectPropertyProps) {\n const [{ property }] = splitProps(props, [\"property\"]);\n\n return (\n <ReflectionPropertyContext.Provider value={property}>\n <TSDocReflectionProperty />\n <ObjectProperty\n name={property.getNameAsString()}\n value={stringifyDefaultValue(property)}\n />\n <hbr />\n </ReflectionPropertyContext.Provider>\n );\n}\n"],"mappings":""}
1
+ {"version":3,"file":"typescript-object-CjpLosiL.mjs","names":["computed","Declaration","CoreDeclaration","createSymbolSlot","For","Name","Show","splitProps","createValueSymbol","ObjectExpression","ObjectProperty","TSSymbolFlags","TypeRefContext","useTSNamePolicy","stringifyDefaultValue","camelCase","pascalCase","isString","isUndefined","ReflectionClassContext","ReflectionPropertyContext","TSDocReflectionClass","TSDocReflectionProperty","TypescriptObject","props","reflection","value","objectName","name","toString","getName","objectType","type","properties","getProperties","filter","item","isIgnored","defaultValue","getNameAsString","getAlias","reduce","ret","alias","undefined","getDefaultValue","sort","a","b","isReadonly","localeCompare","TypeSymbolSlot","ValueTypeSymbolSlot","sym","refkeys","refkey","default","export","metadata","tsFlags","nullish","Nullish","None","firstSymbol","namePolicy","for","moveMembersTo","keyword","var","let","_$createComponent","children","when","Provider","override","symbol","_$memo","initializer","each","comma","doubleHardline","prop","TypescriptObjectProperty","property","_$createIntrinsic"],"sources":["../src/typescript/components/typescript-object.tsx"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport {\n computed,\n Declaration as CoreDeclaration,\n createSymbolSlot,\n For,\n Name,\n Show,\n splitProps\n} from \"@alloy-js/core\";\nimport {\n createValueSymbol,\n ObjectExpression,\n ObjectProperty,\n TSSymbolFlags,\n TypeRefContext,\n useTSNamePolicy,\n VarDeclarationProps\n} from \"@alloy-js/typescript\";\nimport { stringifyDefaultValue } from \"@powerlines/deepkit/utilities\";\nimport type {\n ReflectionClass,\n ReflectionProperty\n} from \"@powerlines/deepkit/vendor/type\";\nimport { camelCase } from \"@stryke/string-format/camel-case\";\nimport { pascalCase } from \"@stryke/string-format/pascal-case\";\nimport { isString } from \"@stryke/type-checks/is-string\";\nimport { isUndefined } from \"@stryke/type-checks/is-undefined\";\nimport {\n ReflectionClassContext,\n ReflectionPropertyContext\n} from \"../../core/contexts/reflection\";\nimport { ComponentProps } from \"../../types/components\";\nimport {\n TSDocReflectionClass,\n TSDocReflectionProperty\n} from \"./tsdoc-reflection\";\n\nexport interface ComputedRef<T = any> {\n readonly value: T;\n}\n\nexport interface TypescriptObjectProps<\n T extends Record<string, any> = Record<string, any>\n> extends VarDeclarationProps {\n reflection?: ComputedRef<ReflectionClass<T>>;\n defaultValue?: ComputedRef<Partial<T> | undefined>;\n}\n\nexport interface TypescriptObjectPropertyProps extends ComponentProps {\n property: ReflectionProperty;\n}\n\n/**\n * Generates a TypeScript object for the given reflection class.\n */\nexport function TypescriptObject<\n T extends Record<string, any> = Record<string, any>\n>(props: TypescriptObjectProps<T>) {\n if (!props.reflection?.value) {\n return null;\n }\n\n const objectName = computed(() =>\n camelCase(\n (isString(props.name) ? props.name : props.name.toString()) ||\n props.reflection!.value.getName()\n )\n );\n const objectType = computed(\n () => props.type || pascalCase(props.reflection!.value.getName())\n );\n const properties = computed(() =>\n props\n .reflection!.value.getProperties()\n .filter(\n item =>\n !item.isIgnored() &&\n !isUndefined(\n props.defaultValue?.value?.[item.getNameAsString()] ??\n item.getAlias().reduce((ret, alias) => {\n if (\n isUndefined(ret) &&\n !isUndefined(\n (props.defaultValue as Record<string, any>)?.value?.[alias]\n )\n ) {\n return (props.defaultValue as Record<string, any>)?.value?.[\n alias\n ];\n }\n\n return ret;\n }, undefined) ??\n item.getDefaultValue()\n )\n )\n .sort((a, b) =>\n (a.isReadonly() && b.isReadonly()) ||\n (!a.isReadonly() && !b.isReadonly())\n ? a.getNameAsString().localeCompare(b.getNameAsString())\n : a.isReadonly()\n ? 1\n : -1\n )\n );\n\n const TypeSymbolSlot = createSymbolSlot();\n const ValueTypeSymbolSlot = createSymbolSlot();\n const sym = createValueSymbol(props.name, {\n refkeys: props.refkey,\n default: props.default,\n export: props.export,\n metadata: props.metadata,\n tsFlags: props.nullish ? TSSymbolFlags.Nullish : TSSymbolFlags.None,\n type: props.type ? TypeSymbolSlot.firstSymbol : undefined,\n namePolicy: useTSNamePolicy().for(\"variable\")\n });\n\n if (!props.type) {\n ValueTypeSymbolSlot.moveMembersTo(sym);\n }\n\n const keyword = props.var ? \"var\" : props.let ? \"let\" : \"const\";\n const type = props.type ? (\n <TypeRefContext>\n : <TypeSymbolSlot>{props.type}</TypeSymbolSlot>\n </TypeRefContext>\n ) : undefined;\n\n return (\n <Show when={!!props.reflection.value}>\n <ReflectionClassContext.Provider\n value={{\n reflection: props.reflection.value as ReflectionClass<any>,\n override: {\n name: objectName.value,\n type: objectType.value,\n defaultValue: props.defaultValue?.value\n }\n }}>\n <Show when={!!objectName.value && !!objectType.value}>\n <TSDocReflectionClass />\n <CoreDeclaration symbol={sym}>\n {props.export ? \"export \" : \"\"}\n {props.default ? \"default \" : \"\"}\n {keyword} <Name />\n {type} ={\" \"}\n <ValueTypeSymbolSlot>\n {props.initializer ?? props.children ?? (\n <ObjectExpression>\n <For\n each={properties.value ?? []}\n comma={true}\n doubleHardline={true}>\n {prop => <TypescriptObjectProperty property={prop} />}\n </For>\n </ObjectExpression>\n )}\n </ValueTypeSymbolSlot>\n </CoreDeclaration>\n </Show>\n <hbr />\n </ReflectionClassContext.Provider>\n </Show>\n );\n}\n\n/**\n * Generates a TypeScript object property for the given reflection class.\n */\nexport function TypescriptObjectProperty(props: TypescriptObjectPropertyProps) {\n const [{ property }] = splitProps(props, [\"property\"]);\n\n return (\n <ReflectionPropertyContext.Provider value={property}>\n <TSDocReflectionProperty />\n <ObjectProperty\n name={property.getNameAsString()}\n value={stringifyDefaultValue(property)}\n />\n <hbr />\n </ReflectionPropertyContext.Provider>\n );\n}\n"],"mappings":""}
@@ -1,5 +1,5 @@
1
1
  import { n as ComponentProps } from "./components-IRVnipN0.cjs";
2
- import * as _alloy_js_core0 from "@alloy-js/core";
2
+ import * as _alloy_js_core8 from "@alloy-js/core";
3
3
  import { VarDeclarationProps } from "@alloy-js/typescript";
4
4
  import { ReflectionClass, ReflectionProperty } from "@powerlines/deepkit/vendor/type";
5
5
 
@@ -17,14 +17,14 @@ interface TypescriptObjectPropertyProps extends ComponentProps {
17
17
  /**
18
18
  * Generates a TypeScript object for the given reflection class.
19
19
  */
20
- declare function TypescriptObject<T extends Record<string, any> = Record<string, any>>(props: TypescriptObjectProps<T>): _alloy_js_core0.Children;
20
+ declare function TypescriptObject<T extends Record<string, any> = Record<string, any>>(props: TypescriptObjectProps<T>): _alloy_js_core8.Children;
21
21
  /**
22
22
  * Generates a TypeScript object property for the given reflection class.
23
23
  */
24
- declare function TypescriptObjectProperty(props: TypescriptObjectPropertyProps): _alloy_js_core0.Children;
24
+ declare function TypescriptObjectProperty(props: TypescriptObjectPropertyProps): _alloy_js_core8.Children;
25
25
  declare type __ΩComputedRef = any[];
26
26
  declare type __ΩTypescriptObjectProps = any[];
27
27
  declare type __ΩTypescriptObjectPropertyProps = any[];
28
28
  //#endregion
29
29
  export { TypescriptObjectProps as a, __ΩTypescriptObjectProps as c, TypescriptObjectPropertyProps as i, TypescriptObject as n, __ΩComputedRef as o, TypescriptObjectProperty as r, __ΩTypescriptObjectPropertyProps as s, ComputedRef as t };
30
- //# sourceMappingURL=typescript-object-BYobbKlR.d.cts.map
30
+ //# sourceMappingURL=typescript-object-v1WiBD8W.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"typescript-object-BYobbKlR.d.cts","names":[],"sources":["../src/typescript/components/typescript-object.tsx"],"sourcesContent":[],"mappings":";;;;;;UAuDiB;kBACC;;AADD,UAIA,qBAHE,CAAA,UAIP,MAJO,CAAA,MAAA,EAAA,GAAA,CAAA,GAIe,MAJf,CAAA,MAAA,EAAA,GAAA,CAAA,CAAA,SAKT,mBALS,CAAA;EAGF,UAAA,CAAA,EAGF,WAHuB,CAGX,eAHW,CAGK,CAHL,CAAA,CAAA;EAC1B,YAAA,CAAA,EAGK,WAHL,CAGiB,OAHjB,CAGyB,CAHzB,CAAA,GAAA,SAAA,CAAA;;AAE+B,UAI1B,6BAAA,SAAsC,cAJZ,CAAA;EAAhB,QAAA,EAKf,kBALe;;;;;AADjB,iBAYM,gBAZN,CAAA,UAaE,MAbF,CAAA,MAAA,EAAA,GAAA,CAAA,GAawB,MAbxB,CAAA,MAAA,EAAA,GAAA,CAAA,CAAA,CAAA,KAAA,EAcD,qBAdC,CAcqB,CAdrB,CAAA,CAAA,EAcoB,eAAA,CAAG,QAdvB;;AAKV;AAOA;AACY,iBAkHI,wBAAA,CAlHJ,KAAA,EAkHoC,6BAlHpC,CAAA,EAkHiE,eAAA,CAAA,QAlHjE;AAAsB,8BAAA,GAAA,EAAA;AACH,wCAAA,GAAA,EAAA;AAAtB,gDAAA,GAAA,EAAA"}
1
+ {"version":3,"file":"typescript-object-v1WiBD8W.d.cts","names":[],"sources":["../src/typescript/components/typescript-object.tsx"],"sourcesContent":[],"mappings":";;;;;;UAuDiB;kBACC;;AADD,UAIA,qBAHE,CAAA,UAIP,MAJO,CAAA,MAAA,EAAA,GAAA,CAAA,GAIe,MAJf,CAAA,MAAA,EAAA,GAAA,CAAA,CAAA,SAKT,mBALS,CAAA;EAGF,UAAA,CAAA,EAGF,WAHuB,CAGX,eAHW,CAGK,CAHL,CAAA,CAAA;EAC1B,YAAA,CAAA,EAGK,WAHL,CAGiB,OAHjB,CAGyB,CAHzB,CAAA,GAAA,SAAA,CAAA;;AAE+B,UAI1B,6BAAA,SAAsC,cAJZ,CAAA;EAAhB,QAAA,EAKf,kBALe;;;;;AADjB,iBAYM,gBAZN,CAAA,UAaE,MAbF,CAAA,MAAA,EAAA,GAAA,CAAA,GAawB,MAbxB,CAAA,MAAA,EAAA,GAAA,CAAA,CAAA,CAAA,KAAA,EAcD,qBAdC,CAcqB,CAdrB,CAAA,CAAA,EAcoB,eAAA,CAAG,QAdvB;;AAKV;AAOA;AACY,iBAkHI,wBAAA,CAlHJ,KAAA,EAkHoC,6BAlHpC,CAAA,EAkHiE,eAAA,CAAA,QAlHjE;AAAsB,8BAAA,GAAA,EAAA;AACH,wCAAA,GAAA,EAAA;AAAtB,gDAAA,GAAA,EAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-alloy",
3
- "version": "0.19.17",
3
+ "version": "0.19.19",
4
4
  "type": "module",
5
5
  "description": "A package containing various Alloy framework components and helper utilities.",
6
6
  "repository": {
@@ -544,8 +544,8 @@
544
544
  "@alloy-js/markdown": "^0.22.0",
545
545
  "@alloy-js/rollup-plugin": "^0.1.0",
546
546
  "@alloy-js/typescript": "^0.22.0",
547
- "@powerlines/deepkit": "^0.6.22",
548
- "@powerlines/plugin-babel": "^0.12.251",
547
+ "@powerlines/deepkit": "^0.6.24",
548
+ "@powerlines/plugin-babel": "^0.12.253",
549
549
  "@storm-software/config-tools": "^1.189.0",
550
550
  "@stryke/capnp": "^0.12.64",
551
551
  "@stryke/convert": "^0.6.37",
@@ -558,14 +558,14 @@
558
558
  "@stryke/types": "^0.10.36",
559
559
  "@stryke/unique-id": "^0.3.50",
560
560
  "defu": "^6.1.4",
561
- "powerlines": "^0.38.9",
561
+ "powerlines": "^0.38.11",
562
562
  "prettier": "^3.8.1",
563
563
  "unctx": "^2.5.0"
564
564
  },
565
565
  "devDependencies": {
566
- "@powerlines/plugin-plugin": "^0.12.193",
566
+ "@powerlines/plugin-plugin": "^0.12.195",
567
567
  "@types/node": "^24.10.9"
568
568
  },
569
569
  "publishConfig": { "access": "public" },
570
- "gitHead": "645a6b28d6331e68c666e715a892b08c24da9cf7"
570
+ "gitHead": "f38aa788861cbadf0aca9372e67c7a2bf58201ba"
571
571
  }
@@ -1 +0,0 @@
1
- {"version":3,"file":"context-Du_bVzRZ.d.mts","names":[],"sources":["../src/core/contexts/context.ts"],"sourcesContent":[],"mappings":";;;;UAsBiB,QAAA;;AAAjB;AAsBA;EACmB,IAAA,CAAA,EAAA,SAAA,GAAA,OAAA,GAAA,MAAA;EAAgB;;;EACuB,UAAA,CAAA,EAAA,OAAA;EAAf;;;;AAkB3C;;EACmC,OAAA,CAAA,EA1BvB,aA0BuB,GAAA,MAAA;EACJ,CAAA,GAAA,EAAA,MAAA,CAAA,EAAA,GAAA;;AAA2B,UAtBzC,0BAsByC,CAAA,iBArBvC,aAqBuC,GArBvB,aAqBuB,EAAA,cApB1C,MAoB0C,CAAA,MAAA,EApB3B,QAoB2B,CAAA,GApBf,MAoBe,CAAA,MAAA,EApBA,QAoBA,CAAA,CAAA,CAAA;EAAf;;;EACtC,KAAA,EAhBI,QAgBJ;EAA0B;AAS/B;;EACmC,IAAA,EArB3B,KAqB2B;;;AAYnC;;;;AAEa,iBA3BG,oBA2BH,CAAA,iBA1BM,aA0BN,GA1BsB,aA0BtB,EAAA,cAzBG,MAyBH,CAAA,MAAA,EAzBkB,QAyBlB,CAAA,GAzB8B,MAyB9B,CAAA,MAAA,EAzB6C,QAyB7C,CAAA,CAAA,CAAA,CAAA,EAxBR,0BAwBQ,CAxBmB,QAwBnB,EAxB6B,KAwB7B,CAAA,GAAA,IAAA;AAgBb;;;;;AAEK,iBAjCW,iBAiCX,CAAA,iBAhCc,aAgCd,GAhC8B,aAgC9B,CAAA,CAAA,CAAA,EA/BA,QA+BA,GAAA,IAAA;;AAWL;;;;AAC2C,iBAhC3B,aAgC2B,CAAA,iBA/BxB,aA+BwB,GA/BR,aA+BQ,CAAA,CAAA,CAAA,EA9BtC,QA8BsC;;;;;;iBAd3B,0BACA,eAAe,YAAY,eAAe,cACrD;;;;;;iBAWW,sBACA,eAAe,YAAY,eAAe,cACrD"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"context-Gqs3Ru42.d.cts","names":[],"sources":["../src/core/contexts/context.ts"],"sourcesContent":[],"mappings":";;;;UAsBiB,QAAA;;AAAjB;AAsBA;EACmB,IAAA,CAAA,EAAA,SAAA,GAAA,OAAA,GAAA,MAAA;EAAgB;;;EACuB,UAAA,CAAA,EAAA,OAAA;EAAf;;;;AAkB3C;;EACmC,OAAA,CAAA,EA1BvB,aA0BuB,GAAA,MAAA;EACJ,CAAA,GAAA,EAAA,MAAA,CAAA,EAAA,GAAA;;AAA2B,UAtBzC,0BAsByC,CAAA,iBArBvC,aAqBuC,GArBvB,aAqBuB,EAAA,cApB1C,MAoB0C,CAAA,MAAA,EApB3B,QAoB2B,CAAA,GApBf,MAoBe,CAAA,MAAA,EApBA,QAoBA,CAAA,CAAA,CAAA;EAAf;;;EACtC,KAAA,EAhBI,QAgBJ;EAA0B;AAS/B;;EACmC,IAAA,EArB3B,KAqB2B;;;AAYnC;;;;AAEa,iBA3BG,oBA2BH,CAAA,iBA1BM,aA0BN,GA1BsB,aA0BtB,EAAA,cAzBG,MAyBH,CAAA,MAAA,EAzBkB,QAyBlB,CAAA,GAzB8B,MAyB9B,CAAA,MAAA,EAzB6C,QAyB7C,CAAA,CAAA,CAAA,CAAA,EAxBR,0BAwBQ,CAxBmB,QAwBnB,EAxB6B,KAwB7B,CAAA,GAAA,IAAA;AAgBb;;;;;AAEK,iBAjCW,iBAiCX,CAAA,iBAhCc,aAgCd,GAhC8B,aAgC9B,CAAA,CAAA,CAAA,EA/BA,QA+BA,GAAA,IAAA;;AAWL;;;;AAC2C,iBAhC3B,aAgC2B,CAAA,iBA/BxB,aA+BwB,GA/BR,aA+BQ,CAAA,CAAA,CAAA,EA9BtC,QA8BsC;;;;;;iBAd3B,0BACA,eAAe,YAAY,eAAe,cACrD;;;;;;iBAWW,sBACA,eAAe,YAAY,eAAe,cACrD"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"context-e2kZWEFW.mjs","names":["unctx","usePowerlinesContext","tryUse","usePowerlinesSafe","powerlines","value","usePowerlines","Error","useMetaSafe","meta","useMeta"],"sources":["../src/core/contexts/context.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport type { PluginContext } from \"powerlines/types/context\";\nimport type { StoragePreset } from \"powerlines/types/fs\";\nimport { unctx } from \"../../internal/unctx\";\n\nexport interface MetaItem {\n /**\n * The kind of metadata item.\n */\n kind?: \"builtin\" | \"entry\" | string;\n\n /**\n * Whether to skip formatting for this output.\n */\n skipFormat?: boolean;\n\n /**\n * The storage preset or adapter name for the output files.\n *\n * @remarks\n * If not specified, the output mode will be determined by the provided `output.mode` value.\n */\n storage?: StoragePreset | string;\n\n [key: string]: any;\n}\n\nexport interface PowerlinesContextInterface<\n TContext extends PluginContext = PluginContext,\n TMeta extends Record<string, MetaItem> = Record<string, MetaItem>\n> {\n /**\n * The current Powerlines context.\n */\n value: TContext;\n\n /**\n * The current render metadata.\n */\n meta: TMeta;\n}\n\n/**\n * Hook to access the Powerlines Context.\n *\n * @returns The Context.\n */\nexport function usePowerlinesContext<\n TContext extends PluginContext = PluginContext,\n TMeta extends Record<string, MetaItem> = Record<string, MetaItem>\n>(): PowerlinesContextInterface<TContext, TMeta> | null {\n return unctx.tryUse();\n}\n\n/**\n * Hook to safely access the {@link PluginContext | Powerlines context}.\n *\n * @returns The Powerlines context or null if not set.\n */\nexport function usePowerlinesSafe<\n TContext extends PluginContext = PluginContext\n>(): TContext | null {\n const powerlines = usePowerlinesContext<TContext>();\n\n return powerlines?.value ?? null;\n}\n\n/**\n * Hook to access the {@link PluginContext | Powerlines context}.\n *\n * @returns The Powerlines context.\n */\nexport function usePowerlines<\n TContext extends PluginContext = PluginContext\n>(): TContext {\n const powerlines = usePowerlinesSafe<TContext>();\n if (!powerlines) {\n throw new Error(\n \"Powerlines - Context is not set. Please make sure the Alloy components are being provided to an invocation of the `render` function added to plugins by `@powerlines/plugin-alloy`.\"\n );\n }\n\n return powerlines;\n}\n\n/**\n * Hook to safely access the render context's metadata.\n *\n * @returns The Powerlines context or null if not set.\n */\nexport function useMetaSafe<\n TMeta extends Record<string, MetaItem> = Record<string, MetaItem>\n>(): TMeta | null {\n const powerlines = usePowerlinesContext<PluginContext, TMeta>();\n\n return powerlines?.meta ?? null;\n}\n\n/**\n * Hook to access the render context's metadata.\n *\n * @returns The Powerlines context.\n */\nexport function useMeta<\n TMeta extends Record<string, MetaItem> = Record<string, MetaItem>\n>(): TMeta {\n const meta = useMetaSafe<TMeta>();\n if (!meta) {\n throw new Error(\n \"Powerlines metadata is not available in the rendering context. Please make sure the Alloy components are being provided to an invocation of the `render` function added to plugins by `@powerlines/plugin-alloy`.\"\n );\n }\n\n return meta;\n}\n"],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"markdown-table-DhX1XJ8b.d.cts","names":[],"sources":["../src/markdown/components/markdown-table.tsx"],"sourcesContent":[],"mappings":";;;;;UA4BiB,6BACL,sBAAsB,6BACxB;QACF;;AAHR;;;AAGQ,iBAMQ,aANR,CAAA,UAOI,MAPJ,CAAA,MAAA,EAAA,GAAA,CAAA,GAO0B,MAP1B,CAAA,MAAA,EAAA,GAAA,CAAA,CAAA,CAAA,KAAA,EAQC,kBARD,CAQoB,CARpB,CAAA,CAAA,EAQmB,gBAAA,CAAG,QARtB;AADE,KA4BE,wBAAA,GAA2B,cA5B7B,GA6BR,OA7BQ,CA6BA,IA7BA,CA6BK,mCA7BL,EAAA,OAAA,CAAA,CAAA,GA8BR,QA9BQ,CA8BC,IA9BD,CA8BM,mCA9BN,EAAA,MAAA,CAAA,CAAA,GAAA;EAAc,KAAA,CAAA,EAAA,MAAA;AAOxB,CAAA;;;;AAES,iBA4BO,mBAAA,CA5BP,KAAA,EA4BkC,wBA5BlC,CAAA,EA4B0D,gBAAA,CAAA,QA5B1D;;;AAmBT;AAAuC,iBAsDvB,yBAAA,CAtDuB,KAAA,EAsDU,wBAtDV,CAAA,EAsDkC,gBAAA,CAAA,QAtDlC;AACxB,qCAAA,GAAA,EAAA;AAAL,2CAAA,GAAA,EAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"markdown-table-huGkudWV.d.cts","names":[],"sources":["../src/markdown/components/markdown-table.tsx"],"sourcesContent":[],"mappings":";;;;;UA4BiB,6BACL,sBAAsB,6BACxB;QACF;;AAHR;;;AAGQ,iBAMQ,aANR,CAAA,UAOI,MAPJ,CAAA,MAAA,EAAA,GAAA,CAAA,GAO0B,MAP1B,CAAA,MAAA,EAAA,GAAA,CAAA,CAAA,CAAA,KAAA,EAQC,kBARD,CAQoB,CARpB,CAAA,CAAA,EAQmB,gBAAA,CAAG,QARtB;AADE,KA4BE,wBAAA,GAA2B,cA5B7B,GA6BR,OA7BQ,CA6BA,IA7BA,CA6BK,mCA7BL,EAAA,OAAA,CAAA,CAAA,GA8BR,QA9BQ,CA8BC,IA9BD,CA8BM,mCA9BN,EAAA,MAAA,CAAA,CAAA,GAAA;EAAc,KAAA,CAAA,EAAA,MAAA;AAOxB,CAAA;;;;AAES,iBA4BO,mBAAA,CA5BP,KAAA,EA4BkC,wBA5BlC,CAAA,EA4B0D,gBAAA,CAAA,QA5B1D;;;AAmBT;AAAuC,iBAsDvB,yBAAA,CAtDuB,KAAA,EAsDU,wBAtDV,CAAA,EAsDkC,gBAAA,CAAA,QAtDlC;AACxB,qCAAA,GAAA,EAAA;AAAL,2CAAA,GAAA,EAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"output-D3UQ5nZo.mjs","names":["computed","Output","OutputExternal","Show","splitProps","replacePath","props","children","context","basePath","rest","basePathRef","workspaceConfig","workspaceRoot","_$createComponent","_$mergeProps","value","when","Boolean"],"sources":["../src/core/components/output.tsx"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport type { OutputProps as OutputPropsExternal } from \"@alloy-js/core\";\nimport {\n computed,\n Output as OutputExternal,\n Show,\n splitProps\n} from \"@alloy-js/core\";\nimport { replacePath } from \"@stryke/path/replace\";\nimport type { PluginContext } from \"powerlines/types/context\";\nimport { MetaItem } from \"../contexts/context\";\n\nexport interface OutputProps<\n TContext extends PluginContext = PluginContext,\n TMeta extends Record<string, MetaItem> = Record<string, MetaItem>\n> extends OutputPropsExternal {\n /**\n * The current Powerlines process context.\n */\n context: TContext;\n\n /**\n * Metadata for the current render.\n */\n meta?: TMeta;\n}\n\n/**\n * Output component for rendering the Powerlines plugin's output files via templates.\n */\nexport function Output<\n TContext extends PluginContext = PluginContext,\n TMeta extends Record<string, MetaItem> = Record<string, MetaItem>\n>(props: OutputProps<TContext, TMeta>) {\n const [{ children, context, basePath }, rest] = splitProps(props, [\n \"children\",\n \"context\",\n \"basePath\"\n ]);\n\n const basePathRef = computed(() =>\n basePath\n ? replacePath(basePath, context.workspaceConfig.workspaceRoot)\n : context.workspaceConfig.workspaceRoot\n );\n\n return (\n <OutputExternal {...rest} basePath={basePathRef.value}>\n <Show when={Boolean(context)}>{children}</Show>\n </OutputExternal>\n );\n}\n"],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"refkey-CSZgFc0P.d.mts","names":[],"sources":["../src/helpers/refkey.ts"],"sourcesContent":[],"mappings":";;;;;;AA0BA;;;;iBAAgB,QAAA,sBAA4B"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"single-line-comment-B28oTJti.d.cts","names":[],"sources":["../src/core/components/single-line-comment.tsx"],"sourcesContent":[],"mappings":";;;;KAqBY,wBAAA;UAOK,sBAAA,SAA+B;;AAPhD;AAOA;AAaA;;YAPY;;;;;;iBAOI,iBAAA,QAAyB,yBAAsB,gBAAA,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"tsdoc-reflection-DYIdgM1k.d.cts","names":[],"sources":["../src/typescript/components/tsdoc-reflection.tsx"],"sourcesContent":[],"mappings":";;;;;;;AAwCgB,iBAAA,oBAAoB,CAAA,UACxB,MADwB,CAAA,MAAA,EAAA,GAAA,CAAA,GACF,MADE,CAAA,MAAA,EAAA,GAAA,CAAA,CAAA,CAAA,KAAA,EAE3B,UAF2B,CAAA,EAEjB,eAAA,CAAA,QAFiB;;;;AAEjB,iBAyEH,uBAAA,CAzEG,KAAA,EAyE4B,UAzE5B,CAAA,EAyEsC,eAAA,CAAA,QAzEtC;;AAyEnB;AA8BA;iBAAgB,qBAAA,QAA6B,aAAU,eAAA,CAAA"}
@@ -1,12 +0,0 @@
1
- import { AsyncLocalStorage } from "node:async_hooks";
2
- import { createContext } from "unctx";
3
-
4
- //#region src/internal/unctx.ts
5
- const unctx = createContext({
6
- asyncContext: true,
7
- AsyncLocalStorage
8
- });
9
-
10
- //#endregion
11
- export { unctx as t };
12
- //# sourceMappingURL=unctx-MFxscYXI.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"unctx-MFxscYXI.mjs","names":["AsyncLocalStorage","createContext","unctx","asyncContext"],"sources":["../src/internal/unctx.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { AsyncLocalStorage } from \"node:async_hooks\";\nimport { createContext } from \"unctx\";\nimport { PowerlinesContextInterface } from \"../core/contexts/context\";\n\nexport const unctx = createContext<PowerlinesContextInterface<any, any>>({\n asyncContext: true,\n AsyncLocalStorage\n});\n"],"mappings":""}
@@ -1,17 +0,0 @@
1
- const require_chunk = require('./chunk-CbDLau6x.cjs');
2
- let node_async_hooks = require("node:async_hooks");
3
- let unctx = require("unctx");
4
-
5
- //#region src/internal/unctx.ts
6
- const unctx$1 = (0, unctx.createContext)({
7
- asyncContext: true,
8
- AsyncLocalStorage: node_async_hooks.AsyncLocalStorage
9
- });
10
-
11
- //#endregion
12
- Object.defineProperty(exports, 'unctx', {
13
- enumerable: true,
14
- get: function () {
15
- return unctx$1;
16
- }
17
- });
File without changes