@powerlines/plugin-alloy 0.19.23 → 0.19.25

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 (182) hide show
  1. package/dist/{builtin-file-uzudbU6M.mjs → builtin-file-B8Y36s1a.mjs} +4 -4
  2. package/dist/{builtin-file-uzudbU6M.mjs.map → builtin-file-B8Y36s1a.mjs.map} +1 -1
  3. package/dist/{builtin-file-DnSvcCYH.d.mts → builtin-file-BDHvdI1i.d.mts} +4 -4
  4. package/dist/{builtin-file-GdYKn4vl.d.cts.map → builtin-file-BDHvdI1i.d.mts.map} +1 -1
  5. package/dist/{builtin-file-DbWoV4fB.d.cts → builtin-file-Bf0byhqY.d.cts} +4 -4
  6. package/dist/{builtin-file-DbWoV4fB.d.cts.map → builtin-file-Bf0byhqY.d.cts.map} +1 -1
  7. package/dist/{builtin-file-GdYKn4vl.d.cts → builtin-file-PDckmfzE.d.cts} +2 -2
  8. package/dist/{builtin-file-DnSvcCYH.d.mts.map → builtin-file-PDckmfzE.d.cts.map} +1 -1
  9. package/dist/{builtin-file-V_vMh8s8.cjs → builtin-file-vG9RwKpd.cjs} +3 -3
  10. package/dist/{context-CdPajCh6.mjs → context-BaVJCPfX.mjs} +1 -1
  11. package/dist/{context-CdPajCh6.mjs.map → context-BaVJCPfX.mjs.map} +1 -1
  12. package/dist/core/components/index.cjs +4 -4
  13. package/dist/core/components/index.d.cts +3 -3
  14. package/dist/core/components/index.mjs +4 -4
  15. package/dist/core/components/output.cjs +2 -2
  16. package/dist/core/components/output.d.cts +1 -1
  17. package/dist/core/components/output.mjs +2 -2
  18. package/dist/core/components/single-line-comment.d.cts +1 -1
  19. package/dist/core/components/source-file.cjs +2 -2
  20. package/dist/core/components/source-file.d.cts +1 -1
  21. package/dist/core/components/source-file.mjs +2 -2
  22. package/dist/core/contexts/context.cjs +1 -1
  23. package/dist/core/contexts/context.mjs +1 -1
  24. package/dist/core/contexts/index.cjs +2 -2
  25. package/dist/core/contexts/index.mjs +2 -2
  26. package/dist/core/contexts/meta.cjs +1 -1
  27. package/dist/core/contexts/meta.mjs +1 -1
  28. package/dist/core/index.cjs +4 -4
  29. package/dist/core/index.d.cts +3 -3
  30. package/dist/core/index.mjs +4 -4
  31. package/dist/{dynamic-import-statement-CNsIFAva.d.cts → dynamic-import-statement-C142NY9L.d.cts} +3 -3
  32. package/dist/{dynamic-import-statement-C7f6CN_b.d.mts.map → dynamic-import-statement-C142NY9L.d.cts.map} +1 -1
  33. package/dist/{entry-file-Big6nfUK.cjs → entry-file-BF1TZjhp.cjs} +2 -2
  34. package/dist/{entry-file-DsLnlmMx.d.cts → entry-file-CHSinjc8.d.cts} +4 -4
  35. package/dist/{entry-file-Cu4-ISnT.d.mts.map → entry-file-CHSinjc8.d.cts.map} +1 -1
  36. package/dist/{entry-file-ZcGBmLac.d.cts → entry-file-DlyBq92D.d.cts} +4 -4
  37. package/dist/{entry-file-DsLnlmMx.d.cts.map → entry-file-DlyBq92D.d.cts.map} +1 -1
  38. package/dist/{entry-file-BwAnSku3.mjs → entry-file-DzlSog-0.mjs} +3 -3
  39. package/dist/{entry-file-BwAnSku3.mjs.map → entry-file-DzlSog-0.mjs.map} +1 -1
  40. package/dist/{entry-file-Cu4-ISnT.d.mts → entry-file-RCTtBe-Z.d.mts} +4 -4
  41. package/dist/{entry-file-ZcGBmLac.d.cts.map → entry-file-RCTtBe-Z.d.mts.map} +1 -1
  42. package/dist/{front-matter-DNU08CaL.d.mts → front-matter-BxgmGhju.d.cts} +3 -3
  43. package/dist/{front-matter-62K3eODK.d.cts.map → front-matter-BxgmGhju.d.cts.map} +1 -1
  44. package/dist/{front-matter-DTorR58b.d.cts → front-matter-DpKD40Zz.d.cts} +3 -3
  45. package/dist/{front-matter-DNU08CaL.d.mts.map → front-matter-DpKD40Zz.d.cts.map} +1 -1
  46. package/dist/index.cjs +2 -13
  47. package/dist/index.d.cts.map +1 -1
  48. package/dist/index.d.mts.map +1 -1
  49. package/dist/index.mjs +2 -13
  50. package/dist/index.mjs.map +1 -1
  51. package/dist/markdown/components/front-matter.d.cts +1 -1
  52. package/dist/markdown/components/index.cjs +4 -4
  53. package/dist/markdown/components/index.d.cts +4 -4
  54. package/dist/markdown/components/index.mjs +4 -4
  55. package/dist/markdown/components/markdown-file.cjs +4 -4
  56. package/dist/markdown/components/markdown-file.d.cts +3 -3
  57. package/dist/markdown/components/markdown-file.mjs +4 -4
  58. package/dist/markdown/components/markdown-table.d.cts +1 -1
  59. package/dist/markdown/index.cjs +4 -4
  60. package/dist/markdown/index.d.cts +4 -4
  61. package/dist/markdown/index.mjs +4 -4
  62. package/dist/{markdown-file-B6gbsDmK.cjs → markdown-file-BDzUAptw.cjs} +2 -2
  63. package/dist/{markdown-file-CVG729rs.d.cts → markdown-file-C0tsAvPo.d.cts} +6 -6
  64. package/dist/{markdown-file-CVG729rs.d.cts.map → markdown-file-C0tsAvPo.d.cts.map} +1 -1
  65. package/dist/{markdown-file-BEmEsfUy.d.cts → markdown-file-CwMc-alS.d.cts} +6 -6
  66. package/dist/{markdown-file-CVqSypqu.d.mts.map → markdown-file-CwMc-alS.d.cts.map} +1 -1
  67. package/dist/{markdown-file-k5ep-0VI.mjs → markdown-file-DLIS2yeG.mjs} +3 -3
  68. package/dist/{markdown-file-k5ep-0VI.mjs.map → markdown-file-DLIS2yeG.mjs.map} +1 -1
  69. package/dist/{markdown-file-CVqSypqu.d.mts → markdown-file-DwxnA0FP.d.mts} +6 -6
  70. package/dist/markdown-file-DwxnA0FP.d.mts.map +1 -0
  71. package/dist/markdown-table-CZMEY6IR.d.cts.map +1 -1
  72. package/dist/{markdown-table-CXHmy2hU.d.cts → markdown-table-Cv6HmRUB.d.cts} +5 -5
  73. package/dist/{markdown-table-CXHmy2hU.d.cts.map → markdown-table-Cv6HmRUB.d.cts.map} +1 -1
  74. package/dist/markdown-table-D2KgJkWx.d.cts +28 -0
  75. package/dist/{markdown-table-D5Tg3LLV.d.cts.map → markdown-table-D2KgJkWx.d.cts.map} +1 -1
  76. package/dist/{markdown-table-D5Tg3LLV.d.cts → markdown-table-FflgG7B5.d.mts} +3 -3
  77. package/dist/markdown-table-FflgG7B5.d.mts.map +1 -0
  78. package/dist/{meta-D0pfCtdR.mjs → meta-BuwJuxY9.mjs} +1 -1
  79. package/dist/{meta-D0pfCtdR.mjs.map → meta-BuwJuxY9.mjs.map} +1 -1
  80. package/dist/{output-CPbwcL2j.mjs → output-BehYSTRr.mjs} +2 -2
  81. package/dist/{output-CPbwcL2j.mjs.map → output-BehYSTRr.mjs.map} +1 -1
  82. package/dist/{output-zwpYyF-T.d.cts → output-CIKSJjPS.d.cts} +3 -3
  83. package/dist/{output-zwpYyF-T.d.cts.map → output-CIKSJjPS.d.cts.map} +1 -1
  84. package/dist/{output-B52VAyyC.cjs → output-Ck9L8v3E.cjs} +1 -1
  85. package/dist/{output-DKlrIKEg.d.cts → output-qne-NsTE.d.cts} +3 -3
  86. package/dist/{output-DKlrIKEg.d.cts.map → output-qne-NsTE.d.cts.map} +1 -1
  87. package/dist/single-line-comment-B35kAUee.d.mts +23 -0
  88. package/dist/single-line-comment-B35kAUee.d.mts.map +1 -0
  89. package/dist/{single-line-comment-Cc9yT69w.d.cts → single-line-comment-DWXxACyy.d.cts} +3 -3
  90. package/dist/single-line-comment-DWXxACyy.d.cts.map +1 -0
  91. package/dist/{single-line-comment-CBaZAKTr.d.cts → single-line-comment-VsK5yZdC.d.cts} +3 -3
  92. package/dist/{single-line-comment-CBaZAKTr.d.cts.map → single-line-comment-VsK5yZdC.d.cts.map} +1 -1
  93. package/dist/{source-file-MLTzYO0w.mjs → source-file-B5FSrvOa.mjs} +2 -2
  94. package/dist/{source-file-MLTzYO0w.mjs.map → source-file-B5FSrvOa.mjs.map} +1 -1
  95. package/dist/{source-file-BxaWuvsM.d.cts → source-file-BNYeD1w4.d.cts} +3 -3
  96. package/dist/{source-file-BxaWuvsM.d.cts.map → source-file-BNYeD1w4.d.cts.map} +1 -1
  97. package/dist/{source-file-BmRUb_Gl.d.cts → source-file-BsjyDo3Z.d.cts} +3 -3
  98. package/dist/{source-file-BmRUb_Gl.d.cts.map → source-file-BsjyDo3Z.d.cts.map} +1 -1
  99. package/dist/{source-file-BCcq9Me3.cjs → source-file-C8ntga6V.cjs} +1 -1
  100. package/dist/{source-file-Cw1cdlHb.d.mts → source-file-ChbaAOt8.d.mts} +3 -3
  101. package/dist/{source-file-Cw1cdlHb.d.mts.map → source-file-ChbaAOt8.d.mts.map} +1 -1
  102. package/dist/{tsdoc-BufL8muf.cjs → tsdoc-fSRc8v2O.cjs} +1 -1
  103. package/dist/{tsdoc-DB1Qzwsn.mjs → tsdoc-prhuuYav.mjs} +2 -2
  104. package/dist/{tsdoc-DB1Qzwsn.mjs.map → tsdoc-prhuuYav.mjs.map} +1 -1
  105. package/dist/tsdoc-reflection-B_mvCfkF.d.mts +19 -0
  106. package/dist/{tsdoc-reflection-D8Zr70Pj.d.cts.map → tsdoc-reflection-B_mvCfkF.d.mts.map} +1 -1
  107. package/dist/{tsdoc-reflection-Cov5Qh1c.cjs → tsdoc-reflection-BpkFCXw6.cjs} +1 -1
  108. package/dist/{tsdoc-reflection-BcTrWAwt.mjs → tsdoc-reflection-CQX-iDtz.mjs} +2 -2
  109. package/dist/{tsdoc-reflection-BcTrWAwt.mjs.map → tsdoc-reflection-CQX-iDtz.mjs.map} +1 -1
  110. package/dist/{tsdoc-reflection-D8Zr70Pj.d.cts → tsdoc-reflection-DpF0t1Xj.d.cts} +5 -5
  111. package/dist/tsdoc-reflection-DpF0t1Xj.d.cts.map +1 -0
  112. package/dist/typescript/components/builtin-file.cjs +6 -6
  113. package/dist/typescript/components/builtin-file.d.cts +3 -3
  114. package/dist/typescript/components/builtin-file.mjs +6 -6
  115. package/dist/typescript/components/dynamic-import-statement.d.cts +1 -1
  116. package/dist/typescript/components/entry-file.cjs +5 -5
  117. package/dist/typescript/components/entry-file.d.cts +3 -3
  118. package/dist/typescript/components/entry-file.mjs +5 -5
  119. package/dist/typescript/components/index.cjs +10 -10
  120. package/dist/typescript/components/index.d.cts +8 -8
  121. package/dist/typescript/components/index.d.mts +2 -2
  122. package/dist/typescript/components/index.mjs +10 -10
  123. package/dist/typescript/components/tsdoc-reflection.cjs +3 -3
  124. package/dist/typescript/components/tsdoc-reflection.d.cts +1 -1
  125. package/dist/typescript/components/tsdoc-reflection.mjs +3 -3
  126. package/dist/typescript/components/tsdoc.cjs +2 -2
  127. package/dist/typescript/components/tsdoc.mjs +2 -2
  128. package/dist/typescript/components/typescript-file.cjs +4 -4
  129. package/dist/typescript/components/typescript-file.d.cts +2 -2
  130. package/dist/typescript/components/typescript-file.mjs +4 -4
  131. package/dist/typescript/components/typescript-interface.cjs +4 -4
  132. package/dist/typescript/components/typescript-interface.d.cts +1 -1
  133. package/dist/typescript/components/typescript-interface.d.mts +1 -1
  134. package/dist/typescript/components/typescript-interface.mjs +4 -4
  135. package/dist/typescript/components/typescript-object.cjs +4 -4
  136. package/dist/typescript/components/typescript-object.d.cts +1 -1
  137. package/dist/typescript/components/typescript-object.d.mts +1 -1
  138. package/dist/typescript/components/typescript-object.mjs +4 -4
  139. package/dist/typescript/index.cjs +10 -10
  140. package/dist/typescript/index.d.cts +8 -8
  141. package/dist/typescript/index.d.mts +2 -2
  142. package/dist/typescript/index.mjs +10 -10
  143. package/dist/{typescript-file-VcbRuqFR.d.cts → typescript-file-BqamPJcI.d.cts} +2 -2
  144. package/dist/{typescript-file-BmK-emyx.d.cts.map → typescript-file-BqamPJcI.d.cts.map} +1 -1
  145. package/dist/{typescript-file-BmK-emyx.d.cts → typescript-file-C-JfXPBj.d.cts} +2 -2
  146. package/dist/{typescript-file-D-HdSyYk.d.mts.map → typescript-file-C-JfXPBj.d.cts.map} +1 -1
  147. package/dist/{typescript-file-DJy5gCL9.mjs → typescript-file-CNCLRiyf.mjs} +3 -3
  148. package/dist/{typescript-file-DJy5gCL9.mjs.map → typescript-file-CNCLRiyf.mjs.map} +1 -1
  149. package/dist/{typescript-file-D8ACLdIR.cjs → typescript-file-DKYD5v5W.cjs} +2 -2
  150. package/dist/{typescript-file-D-HdSyYk.d.mts → typescript-file-uSWR-Uzq.d.mts} +2 -2
  151. package/dist/{typescript-file-VcbRuqFR.d.cts.map → typescript-file-uSWR-Uzq.d.mts.map} +1 -1
  152. package/dist/{typescript-interface-CGQ0pwib.mjs → typescript-interface-BnRXH_zM.mjs} +2 -2
  153. package/dist/{typescript-interface-CGQ0pwib.mjs.map → typescript-interface-BnRXH_zM.mjs.map} +1 -1
  154. package/dist/{typescript-interface-Xgm71cgZ.d.cts → typescript-interface-C1lcUzTa.d.cts} +4 -4
  155. package/dist/{typescript-interface-Xgm71cgZ.d.cts.map → typescript-interface-C1lcUzTa.d.cts.map} +1 -1
  156. package/dist/{typescript-interface-CTyDcMdt.d.mts → typescript-interface-C1n8sI7E.d.mts} +4 -4
  157. package/dist/{typescript-interface-CTyDcMdt.d.mts.map → typescript-interface-C1n8sI7E.d.mts.map} +1 -1
  158. package/dist/{typescript-interface-Q4trMyzm.cjs → typescript-interface-DC2d5S0V.cjs} +1 -1
  159. package/dist/typescript-interface-DX0WJLCa.d.mts +26 -0
  160. package/dist/{typescript-interface-_Kb_nHxR.d.cts.map → typescript-interface-DX0WJLCa.d.mts.map} +1 -1
  161. package/dist/{typescript-interface-_Kb_nHxR.d.cts → typescript-interface-LTD6nhQZ.d.cts} +4 -4
  162. package/dist/typescript-interface-LTD6nhQZ.d.cts.map +1 -0
  163. package/dist/{typescript-object-DBPxpkoP.d.cts → typescript-object-BHwyh1vl.d.cts} +4 -4
  164. package/dist/{typescript-object-BBu0DpsG.d.cts.map → typescript-object-BHwyh1vl.d.cts.map} +1 -1
  165. package/dist/{typescript-object-BBu0DpsG.d.cts → typescript-object-BeOv-T9D.d.cts} +4 -4
  166. package/dist/{typescript-object-DBPxpkoP.d.cts.map → typescript-object-BeOv-T9D.d.cts.map} +1 -1
  167. package/dist/{typescript-object-DHFnCfRa.cjs → typescript-object-CGjPvsYM.cjs} +1 -1
  168. package/dist/{typescript-object-L2Zn4zbB.d.mts → typescript-object-DK3sl8cB.d.mts} +4 -4
  169. package/dist/{typescript-object-L2Zn4zbB.d.mts.map → typescript-object-DK3sl8cB.d.mts.map} +1 -1
  170. package/dist/{typescript-object-B0R92yL7.mjs → typescript-object-Dhr7lMRV.mjs} +2 -2
  171. package/dist/{typescript-object-B0R92yL7.mjs.map → typescript-object-Dhr7lMRV.mjs.map} +1 -1
  172. package/dist/typescript-object-zP6NWofT.d.mts +30 -0
  173. package/dist/typescript-object-zP6NWofT.d.mts.map +1 -0
  174. package/package.json +6 -6
  175. package/dist/dynamic-import-statement-C7f6CN_b.d.mts +0 -33
  176. package/dist/dynamic-import-statement-CNsIFAva.d.cts.map +0 -1
  177. package/dist/front-matter-62K3eODK.d.cts +0 -16
  178. package/dist/front-matter-DTorR58b.d.cts.map +0 -1
  179. package/dist/markdown-file-BEmEsfUy.d.cts.map +0 -1
  180. package/dist/single-line-comment-Cc9yT69w.d.cts.map +0 -1
  181. /package/dist/{context-DNdlL_gp.cjs → context-D-lZVHpZ.cjs} +0 -0
  182. /package/dist/{meta-BjTflizw.cjs → meta-CBKMGDr1.cjs} +0 -0
@@ -0,0 +1,23 @@
1
+ import { n as ComponentProps } from "./components-REdw2IIi.mjs";
2
+ import * as _alloy_js_core3 from "@alloy-js/core";
3
+
4
+ //#region src/core/components/single-line-comment.d.ts
5
+ type SingleLineCommentVariant = "double-slash" | "triple-slash" | "slash-star" | "slash-star-star" | "markdown";
6
+ interface SingleLineCommentProps extends ComponentProps {
7
+ /**
8
+ * The variant of the single line comment.
9
+ *
10
+ * @defaultValue "double-slash"
11
+ */
12
+ variant?: SingleLineCommentVariant;
13
+ }
14
+ /**
15
+ * A single line comment block. The children are rendered as a prose element, which means that they
16
+ * are broken into multiple lines
17
+ */
18
+ declare function SingleLineComment(props: SingleLineCommentProps): _alloy_js_core3.Children;
19
+ declare type __ΩSingleLineCommentVariant = any[];
20
+ declare type __ΩSingleLineCommentProps = any[];
21
+ //#endregion
22
+ export { __ΩSingleLineCommentVariant as a, __ΩSingleLineCommentProps as i, SingleLineCommentProps as n, SingleLineCommentVariant as r, SingleLineComment as t };
23
+ //# sourceMappingURL=single-line-comment-B35kAUee.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"single-line-comment-B35kAUee.d.mts","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,eAAA,CAAA"}
@@ -1,5 +1,5 @@
1
1
  import { n as ComponentProps } from "./components-DqfyRVFO.cjs";
2
- import * as _alloy_js_core17 from "@alloy-js/core";
2
+ import * as _alloy_js_core0 from "@alloy-js/core";
3
3
 
4
4
  //#region src/core/components/single-line-comment.d.ts
5
5
  type SingleLineCommentVariant = "double-slash" | "triple-slash" | "slash-star" | "slash-star-star" | "markdown";
@@ -15,9 +15,9 @@ interface SingleLineCommentProps extends ComponentProps {
15
15
  * A single line comment block. The children are rendered as a prose element, which means that they
16
16
  * are broken into multiple lines
17
17
  */
18
- declare function SingleLineComment(props: SingleLineCommentProps): _alloy_js_core17.Children;
18
+ declare function SingleLineComment(props: SingleLineCommentProps): _alloy_js_core0.Children;
19
19
  declare type __ΩSingleLineCommentVariant = any[];
20
20
  declare type __ΩSingleLineCommentProps = any[];
21
21
  //#endregion
22
22
  export { __ΩSingleLineCommentVariant as a, __ΩSingleLineCommentProps as i, SingleLineCommentProps as n, SingleLineCommentVariant as r, SingleLineComment as t };
23
- //# sourceMappingURL=single-line-comment-Cc9yT69w.d.cts.map
23
+ //# sourceMappingURL=single-line-comment-DWXxACyy.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"single-line-comment-DWXxACyy.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,eAAA,CAAA"}
@@ -1,5 +1,5 @@
1
1
  import { n as ComponentProps } from "./components-DqfyRVFO.cjs";
2
- import * as _alloy_js_core16 from "@alloy-js/core";
2
+ import * as _alloy_js_core11 from "@alloy-js/core";
3
3
 
4
4
  //#region src/core/components/single-line-comment.d.ts
5
5
  type SingleLineCommentVariant = "double-slash" | "triple-slash" | "slash-star" | "slash-star-star" | "markdown";
@@ -15,9 +15,9 @@ interface SingleLineCommentProps extends ComponentProps {
15
15
  * A single line comment block. The children are rendered as a prose element, which means that they
16
16
  * are broken into multiple lines
17
17
  */
18
- declare function SingleLineComment(props: SingleLineCommentProps): _alloy_js_core16.Children;
18
+ declare function SingleLineComment(props: SingleLineCommentProps): _alloy_js_core11.Children;
19
19
  declare type __ΩSingleLineCommentVariant = any[];
20
20
  declare type __ΩSingleLineCommentProps = any[];
21
21
  //#endregion
22
22
  export { __ΩSingleLineCommentVariant as a, __ΩSingleLineCommentProps as i, SingleLineCommentProps as n, SingleLineCommentVariant as r, SingleLineComment as t };
23
- //# sourceMappingURL=single-line-comment-CBaZAKTr.d.cts.map
23
+ //# sourceMappingURL=single-line-comment-VsK5yZdC.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"single-line-comment-CBaZAKTr.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
+ {"version":3,"file":"single-line-comment-VsK5yZdC.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,4 +1,4 @@
1
- import { i as useMetaSafe } from "./meta-D0pfCtdR.mjs";
1
+ import { i as useMetaSafe } from "./meta-BuwJuxY9.mjs";
2
2
  import { createComponent, createIntrinsic } from "@alloy-js/core/jsx-runtime";
3
3
  import { Show, SourceDirectoryContext, SourceFileContext, getContext, splitProps, useContext, useFormatOptions } from "@alloy-js/core";
4
4
  import { appendPath } from "@stryke/path/append";
@@ -59,4 +59,4 @@ function SourceFile(props) {
59
59
 
60
60
  //#endregion
61
61
  export { SourceFile as t };
62
- //# sourceMappingURL=source-file-MLTzYO0w.mjs.map
62
+ //# sourceMappingURL=source-file-B5FSrvOa.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"source-file-MLTzYO0w.mjs","names":["getContext","Show","SourceDirectoryContext","SourceFileContext","splitProps","useContext","useFormatOptions","appendPath","defu","useMetaSafe","SourceFile","props","children","meta","path","header","storage","filetype","reference","metadata","parentDirectory","sourceFile","addContent","printOptions","printWidth","tabWidth","useTabs","insertFinalNewLine","nodeContext","_$createComponent","Provider","value","when","undefined","_$createIntrinsic"],"sources":["../src/core/components/source-file.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 getContext,\n Show,\n SourceDirectoryContext,\n SourceFileContext,\n SourceFileProps as SourceFilePropsExternal,\n splitProps,\n useContext,\n useFormatOptions\n} from \"@alloy-js/core\";\nimport { appendPath } from \"@stryke/path/append\";\nimport defu from \"defu\";\nimport type { StoragePreset } from \"powerlines/types/fs\";\nimport { ComponentProps } from \"../../types/components\";\nimport { useMetaSafe } from \"../contexts/meta\";\n\nexport type SourceFileProps = SourceFilePropsExternal &\n ComponentProps & {\n /**\n * The storage preset 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;\n\n /**\n * The metadata associated with the source file.\n *\n * @remarks\n * The values stored in the metadata will be available in the rendering context.\n */\n meta?: Record<string, any>;\n };\n\n/**\n * A base component representing a Powerlines generated source file.\n *\n * @param props - The properties for the source file.\n * @returns The rendered source file component.\n */\nexport function SourceFile(props: SourceFileProps) {\n const [{ children, meta, path, header, storage, filetype, reference }] =\n splitProps(props, [\n \"children\",\n \"meta\",\n \"path\",\n \"header\",\n \"storage\",\n \"filetype\",\n \"reference\"\n ]);\n\n const metadata = useMetaSafe();\n const parentDirectory = useContext(SourceDirectoryContext)!;\n\n const sourceFile: SourceFileContext = {\n path: appendPath(path, parentDirectory.path),\n filetype,\n reference\n };\n parentDirectory?.addContent(sourceFile);\n\n const printOptions = useFormatOptions({\n printWidth: props.printWidth,\n tabWidth: props.tabWidth,\n useTabs: props.useTabs,\n insertFinalNewLine: props.insertFinalNewLine\n });\n\n const nodeContext = getContext()!;\n nodeContext.meta = defu(\n {\n sourceFile,\n printOptions\n },\n meta ?? {}\n );\n\n if (metadata) {\n metadata[sourceFile.path] = {\n storage,\n ...(meta ?? {})\n };\n }\n\n return (\n <SourceFileContext.Provider value={sourceFile}>\n <Show when={header !== undefined}>\n {header}\n <hbr />\n </Show>\n {children}\n </SourceFileContext.Provider>\n );\n}\n"],"mappings":""}
1
+ {"version":3,"file":"source-file-B5FSrvOa.mjs","names":["getContext","Show","SourceDirectoryContext","SourceFileContext","splitProps","useContext","useFormatOptions","appendPath","defu","useMetaSafe","SourceFile","props","children","meta","path","header","storage","filetype","reference","metadata","parentDirectory","sourceFile","addContent","printOptions","printWidth","tabWidth","useTabs","insertFinalNewLine","nodeContext","_$createComponent","Provider","value","when","undefined","_$createIntrinsic"],"sources":["../src/core/components/source-file.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 getContext,\n Show,\n SourceDirectoryContext,\n SourceFileContext,\n SourceFileProps as SourceFilePropsExternal,\n splitProps,\n useContext,\n useFormatOptions\n} from \"@alloy-js/core\";\nimport { appendPath } from \"@stryke/path/append\";\nimport defu from \"defu\";\nimport type { StoragePreset } from \"powerlines/types/fs\";\nimport { ComponentProps } from \"../../types/components\";\nimport { useMetaSafe } from \"../contexts/meta\";\n\nexport type SourceFileProps = SourceFilePropsExternal &\n ComponentProps & {\n /**\n * The storage preset 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;\n\n /**\n * The metadata associated with the source file.\n *\n * @remarks\n * The values stored in the metadata will be available in the rendering context.\n */\n meta?: Record<string, any>;\n };\n\n/**\n * A base component representing a Powerlines generated source file.\n *\n * @param props - The properties for the source file.\n * @returns The rendered source file component.\n */\nexport function SourceFile(props: SourceFileProps) {\n const [{ children, meta, path, header, storage, filetype, reference }] =\n splitProps(props, [\n \"children\",\n \"meta\",\n \"path\",\n \"header\",\n \"storage\",\n \"filetype\",\n \"reference\"\n ]);\n\n const metadata = useMetaSafe();\n const parentDirectory = useContext(SourceDirectoryContext)!;\n\n const sourceFile: SourceFileContext = {\n path: appendPath(path, parentDirectory.path),\n filetype,\n reference\n };\n parentDirectory?.addContent(sourceFile);\n\n const printOptions = useFormatOptions({\n printWidth: props.printWidth,\n tabWidth: props.tabWidth,\n useTabs: props.useTabs,\n insertFinalNewLine: props.insertFinalNewLine\n });\n\n const nodeContext = getContext()!;\n nodeContext.meta = defu(\n {\n sourceFile,\n printOptions\n },\n meta ?? {}\n );\n\n if (metadata) {\n metadata[sourceFile.path] = {\n storage,\n ...(meta ?? {})\n };\n }\n\n return (\n <SourceFileContext.Provider value={sourceFile}>\n <Show when={header !== undefined}>\n {header}\n <hbr />\n </Show>\n {children}\n </SourceFileContext.Provider>\n );\n}\n"],"mappings":""}
@@ -1,5 +1,5 @@
1
1
  import { n as ComponentProps } from "./components-DqfyRVFO.cjs";
2
- import * as _alloy_js_core5 from "@alloy-js/core";
2
+ import * as _alloy_js_core0 from "@alloy-js/core";
3
3
  import { SourceFileProps } from "@alloy-js/core";
4
4
  import { StoragePreset } from "powerlines/types/fs";
5
5
 
@@ -26,8 +26,8 @@ type SourceFileProps$1 = SourceFileProps & ComponentProps & {
26
26
  * @param props - The properties for the source file.
27
27
  * @returns The rendered source file component.
28
28
  */
29
- declare function SourceFile(props: SourceFileProps$1): _alloy_js_core5.Children;
29
+ declare function SourceFile(props: SourceFileProps$1): _alloy_js_core0.Children;
30
30
  declare type __ΩSourceFileProps = any[];
31
31
  //#endregion
32
32
  export { SourceFileProps$1 as n, __ΩSourceFileProps as r, SourceFile as t };
33
- //# sourceMappingURL=source-file-BxaWuvsM.d.cts.map
33
+ //# sourceMappingURL=source-file-BNYeD1w4.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"source-file-BxaWuvsM.d.cts","names":[],"sources":["../src/core/components/source-file.tsx"],"sourcesContent":[],"mappings":";;;;;;KAkCY,iBAAA,GAAkB,kBAC5B;;;AADF;;;;EAgBW,OAAA,CAAA,EARG,aAQH;EAAM;AASjB;;;;;SATW;;;;;;;;iBASK,UAAA,QAAkB,oBAAe,eAAA,CAAA"}
1
+ {"version":3,"file":"source-file-BNYeD1w4.d.cts","names":[],"sources":["../src/core/components/source-file.tsx"],"sourcesContent":[],"mappings":";;;;;;KAkCY,iBAAA,GAAkB,kBAC5B;;;AADF;;;;EAgBW,OAAA,CAAA,EARG,aAQH;EAAM;AASjB;;;;;SATW;;;;;;;;iBASK,UAAA,QAAkB,oBAAe,eAAA,CAAA"}
@@ -1,5 +1,5 @@
1
1
  import { n as ComponentProps } from "./components-DqfyRVFO.cjs";
2
- import * as _alloy_js_core13 from "@alloy-js/core";
2
+ import * as _alloy_js_core12 from "@alloy-js/core";
3
3
  import { SourceFileProps } from "@alloy-js/core";
4
4
  import { StoragePreset } from "powerlines/types/fs";
5
5
 
@@ -26,8 +26,8 @@ type SourceFileProps$1 = SourceFileProps & ComponentProps & {
26
26
  * @param props - The properties for the source file.
27
27
  * @returns The rendered source file component.
28
28
  */
29
- declare function SourceFile(props: SourceFileProps$1): _alloy_js_core13.Children;
29
+ declare function SourceFile(props: SourceFileProps$1): _alloy_js_core12.Children;
30
30
  declare type __ΩSourceFileProps = any[];
31
31
  //#endregion
32
32
  export { SourceFileProps$1 as n, __ΩSourceFileProps as r, SourceFile as t };
33
- //# sourceMappingURL=source-file-BmRUb_Gl.d.cts.map
33
+ //# sourceMappingURL=source-file-BsjyDo3Z.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"source-file-BmRUb_Gl.d.cts","names":[],"sources":["../src/core/components/source-file.tsx"],"sourcesContent":[],"mappings":";;;;;;KAkCY,iBAAA,GAAkB,kBAC5B;;;AADF;;;;EAgBW,OAAA,CAAA,EARG,aAQH;EAAM;AASjB;;;;;SATW;;;;;;;;iBASK,UAAA,QAAkB,oBAAe,gBAAA,CAAA"}
1
+ {"version":3,"file":"source-file-BsjyDo3Z.d.cts","names":[],"sources":["../src/core/components/source-file.tsx"],"sourcesContent":[],"mappings":";;;;;;KAkCY,iBAAA,GAAkB,kBAC5B;;;AADF;;;;EAgBW,OAAA,CAAA,EARG,aAQH;EAAM;AASjB;;;;;SATW;;;;;;;;iBASK,UAAA,QAAkB,oBAAe,gBAAA,CAAA"}
@@ -1,5 +1,5 @@
1
1
  const require_chunk = require('./chunk-CbDLau6x.cjs');
2
- const require_meta = require('./meta-BjTflizw.cjs');
2
+ const require_meta = require('./meta-CBKMGDr1.cjs');
3
3
  let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
4
4
  let __alloy_js_core = require("@alloy-js/core");
5
5
  let __stryke_path_append = require("@stryke/path/append");
@@ -1,5 +1,5 @@
1
1
  import { n as ComponentProps } from "./components-REdw2IIi.mjs";
2
- import * as _alloy_js_core1 from "@alloy-js/core";
2
+ import * as _alloy_js_core4 from "@alloy-js/core";
3
3
  import { SourceFileProps } from "@alloy-js/core";
4
4
  import { StoragePreset } from "powerlines/types/fs";
5
5
 
@@ -26,8 +26,8 @@ type SourceFileProps$1 = SourceFileProps & ComponentProps & {
26
26
  * @param props - The properties for the source file.
27
27
  * @returns The rendered source file component.
28
28
  */
29
- declare function SourceFile(props: SourceFileProps$1): _alloy_js_core1.Children;
29
+ declare function SourceFile(props: SourceFileProps$1): _alloy_js_core4.Children;
30
30
  declare type __ΩSourceFileProps = any[];
31
31
  //#endregion
32
32
  export { SourceFileProps$1 as n, __ΩSourceFileProps as r, SourceFile as t };
33
- //# sourceMappingURL=source-file-Cw1cdlHb.d.mts.map
33
+ //# sourceMappingURL=source-file-ChbaAOt8.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"source-file-Cw1cdlHb.d.mts","names":[],"sources":["../src/core/components/source-file.tsx"],"sourcesContent":[],"mappings":";;;;;;KAkCY,iBAAA,GAAkB,kBAC5B;;;AADF;;;;EAgBW,OAAA,CAAA,EARG,aAQH;EAAM;AASjB;;;;;SATW;;;;;;;;iBASK,UAAA,QAAkB,oBAAe,eAAA,CAAA"}
1
+ {"version":3,"file":"source-file-ChbaAOt8.d.mts","names":[],"sources":["../src/core/components/source-file.tsx"],"sourcesContent":[],"mappings":";;;;;;KAkCY,iBAAA,GAAkB,kBAC5B;;;AADF;;;;EAgBW,OAAA,CAAA,EARG,aAQH;EAAM;AASjB;;;;;SATW;;;;;;;;iBASK,UAAA,QAAkB,oBAAe,eAAA,CAAA"}
@@ -1,5 +1,5 @@
1
1
  const require_chunk = require('./chunk-CbDLau6x.cjs');
2
- const require_context = require('./context-DNdlL_gp.cjs');
2
+ const require_context = require('./context-D-lZVHpZ.cjs');
3
3
  let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
4
4
  let __alloy_js_core = require("@alloy-js/core");
5
5
  let __powerlines_deepkit_utilities = require("@powerlines/deepkit/utilities");
@@ -1,4 +1,4 @@
1
- import { i as usePowerlinesSafe } from "./context-CdPajCh6.mjs";
1
+ import { i as usePowerlinesSafe } from "./context-BaVJCPfX.mjs";
2
2
  import { createComponent, createIntrinsic, memo, mergeProps } from "@alloy-js/core/jsx-runtime";
3
3
  import { For, List, Prose, Show, childrenArray, splitProps } from "@alloy-js/core";
4
4
  import { stringifyDefaultValue } from "@powerlines/deepkit/utilities";
@@ -463,4 +463,4 @@ function TSDocModule(props) {
463
463
 
464
464
  //#endregion
465
465
  export { TSDocReturns as _, TSDocDomain as a, TSDocTitle as b, TSDocIgnore as c, TSDocModule as d, TSDocParam as f, TSDocRemarks as g, TSDocReadonly as h, TSDocDefaultValue as i, TSDocInternal as l, TSDocPermission as m, TSDocAlias as n, TSDocExample as o, TSDocParams as p, TSDocAttributesTags as r, TSDocHidden as s, TSDoc as t, TSDocLink as u, TSDocTag as v, TSDocThrows as y };
466
- //# sourceMappingURL=tsdoc-DB1Qzwsn.mjs.map
466
+ //# sourceMappingURL=tsdoc-prhuuYav.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"tsdoc-DB1Qzwsn.mjs","names":["childrenArray","For","List","Prose","Show","splitProps","stringifyDefaultValue","isSetString","isUndefined","usePowerlinesSafe","TSDoc","props","children","heading","_$createIntrinsic","string","_$createComponent","when","_$memo","length","TSDocTag","tag","Boolean","width","TSDocParams","parameters","normalizeParametersForDoc","each","param","TSDocParam","name","optional","doc","some","p","TSDocTitle","rest","_$mergeProps","TSDocDomain","TSDocAlias","TSDocPermission","TSDocDefaultValue","type","defaultValue","TSDocRemarks","hardline","TSDocLink","TSDocExample","tsx","fenced","language","TSDocReadonly","TSDocInternal","TSDocIgnore","TSDocHidden","TSDocAttributesTags","title","alias","permission","domain","readonly","internal","ignore","hidden","trim","a","filter","TSDocParamName","TSDocParamDescription","TSDocReturns","TSDocThrows","TSDocModule","prefix","context","config","framework"],"sources":["../src/typescript/components/tsdoc.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 Children,\n childrenArray,\n For,\n List,\n Prose,\n Show,\n splitProps\n} from \"@alloy-js/core\";\nimport { JSDocExampleProps, ParameterDescriptor } from \"@alloy-js/typescript\";\nimport { stringifyDefaultValue } from \"@powerlines/deepkit/utilities\";\nimport {\n ReflectionKind,\n ReflectionParameter,\n ReflectionProperty\n} from \"@powerlines/deepkit/vendor/type\";\nimport { isSetString } from \"@stryke/type-checks/is-set-string\";\nimport { isUndefined } from \"@stryke/type-checks/is-undefined\";\nimport { usePowerlinesSafe } from \"../../core/contexts/context\";\nimport { ComponentProps } from \"../../types/components\";\n\nexport interface TSDocProps extends ComponentProps {\n heading?: Children;\n}\n\n/**\n * Generates a TypeScript interface for the given reflection class.\n */\nexport function TSDoc(props: TSDocProps) {\n const [{ children, heading }] = splitProps(props, [\"children\", \"heading\"]);\n\n return (\n <>\n /**\n <align string=\" * \">\n <hbr />\n <Show when={!isUndefined(heading)}>\n {heading}\n <hbr />\n <Show\n when={\n !isUndefined(children) && childrenArray(() => children).length > 0\n }>\n <hbr />\n </Show>\n </Show>\n <Show\n when={\n !isUndefined(children) && childrenArray(() => children).length > 0\n }>\n <List>{childrenArray(() => children)}</List>\n </Show>\n </align>\n <hbr />\n {` */`}\n <hbr />\n </>\n );\n}\n\nexport interface TSDocTagProps extends ComponentProps {\n tag: string;\n}\n\n/**\n * Create a TSDoc `@<props.tag>` tag.\n */\nexport function TSDocTag(props: TSDocTagProps) {\n const [{ children, tag }] = splitProps(props, [\"children\", \"tag\"]);\n\n return (\n <>\n {`@${tag} `}\n <Show when={Boolean(children)}>\n <align width={2}>\n <Prose>{children}</Prose>\n </align>\n </Show>\n <hbr />\n </>\n );\n}\n\nexport interface TSDocParamsProps {\n parameters: ParameterDescriptor[] | string[];\n}\n\n/**\n * A component that creates a TSDoc block with `@param` tags for each parameter.\n */\nexport function TSDocParams(props: TSDocParamsProps) {\n const parameters = normalizeParametersForDoc(props.parameters);\n\n return (\n <For each={parameters}>\n {param => (\n <TSDocParam name={param.name} optional={param.optional}>\n {param.doc}\n </TSDocParam>\n )}\n </For>\n );\n}\n\nfunction normalizeParametersForDoc(\n parameters: ParameterDescriptor[] | string[]\n): ParameterDescriptor[] {\n if (parameters.some(p => typeof p === \"string\")) {\n return [];\n }\n\n return parameters as ParameterDescriptor[];\n}\n\n/**\n * Create a TSDoc `@title` tag.\n */\nexport function TSDocTitle(props: ComponentProps) {\n const [{ children }, rest] = splitProps(props, [\"children\"]);\n\n return (\n <TSDocTag {...rest} tag=\"title\">\n {children}\n </TSDocTag>\n );\n}\n\n/**\n * Create a TSDoc `@domain` tag.\n */\nexport function TSDocDomain(props: ComponentProps) {\n const [{ children }, rest] = splitProps(props, [\"children\"]);\n\n return (\n <TSDocTag {...rest} tag=\"domain\">\n {children}\n </TSDocTag>\n );\n}\n\n/**\n * Create a TSDoc `@alias` tag.\n */\nexport function TSDocAlias(props: ComponentProps) {\n const [{ children }, rest] = splitProps(props, [\"children\"]);\n\n return (\n <TSDocTag {...rest} tag=\"alias\">\n {children}\n </TSDocTag>\n );\n}\n\n/**\n * Create a TSDoc `@permission` tag.\n */\nexport function TSDocPermission(props: ComponentProps) {\n const [{ children }, rest] = splitProps(props, [\"children\"]);\n\n return (\n <TSDocTag {...rest} tag=\"permission\">\n {children}\n </TSDocTag>\n );\n}\n\nexport interface TSDocDefaultValueProps extends ComponentProps {\n type: ReflectionKind | ReflectionProperty | ReflectionParameter;\n defaultValue: any;\n}\n\n/**\n * Create a TSDoc `@defaultValue` tag.\n */\nexport function TSDocDefaultValue(props: TSDocDefaultValueProps) {\n const [{ type, defaultValue }] = splitProps(props, [\"type\", \"defaultValue\"]);\n\n return (\n <>\n {\"@defaultValue \"}\n <Show when={!isUndefined(defaultValue)}>\n <align width={2}>\n <Prose>{stringifyDefaultValue(type, defaultValue)}</Prose>\n </align>\n </Show>\n <hbr />\n </>\n );\n}\n\n/**\n * Create a TSDoc `@remarks` tag.\n */\nexport function TSDocRemarks(props: ComponentProps) {\n return (\n <>\n {\"@remarks \"}\n <hbr />\n <List hardline={true}>{childrenArray(() => props.children)}</List>\n </>\n );\n}\n\n/**\n * Create a TSDoc `@see` tag.\n */\nexport function TSDocLink(props: ComponentProps) {\n return <TSDocTag {...props} tag=\"see\" />;\n}\n\nexport interface TSDocExampleProps extends JSDocExampleProps {\n /**\n * Whether the file is a TSX file.\n *\n * @defaultValue false\n */\n tsx?: boolean;\n}\n\n/**\n * Create a TSDoc `@example` tag.\n */\nexport function TSDocExample(props: TSDocExampleProps) {\n const [{ tsx, fenced = true, language, children }] = splitProps(props, [\n \"tsx\",\n \"fenced\",\n \"language\",\n \"children\"\n ]);\n\n return (\n <>\n {\"@example \"}\n <hbr />\n <Show when={fenced}>\n ```{language || (tsx ? \"tsx\" : \"ts\")}\n <hbr />\n </Show>\n {children}\n <Show when={fenced}>\n <hbr />\n ```\n </Show>\n </>\n );\n}\n\n/**\n * Create a TSDoc `@readonly` tag.\n */\nexport function TSDocReadonly() {\n return <TSDocTag tag=\"readonly\" />;\n}\n\n/**\n * Create a TSDoc `@internal` tag.\n */\nexport function TSDocInternal() {\n return <TSDocTag tag=\"internal\" />;\n}\n\n/**\n * Create a TSDoc `@ignore` tag.\n */\nexport function TSDocIgnore() {\n return <TSDocTag tag=\"ignore\" />;\n}\n\n/**\n * Create a TSDoc `@hidden` tag.\n */\nexport function TSDocHidden() {\n return <TSDocTag tag=\"hidden\" />;\n}\n\nexport interface TSDocAttributesTagsProps {\n type?: ReflectionKind | ReflectionProperty | ReflectionParameter;\n title?: string;\n alias?: string[];\n permission?: string[];\n domain?: string;\n readonly?: boolean;\n internal?: boolean;\n ignore?: boolean;\n hidden?: boolean;\n defaultValue?: any;\n}\n\n/**\n * Generates a TypeScript interface property for the given reflection class.\n */\nexport function TSDocAttributesTags(props: TSDocAttributesTagsProps) {\n const [\n {\n type,\n title,\n alias,\n permission,\n domain,\n readonly,\n internal,\n ignore,\n hidden,\n defaultValue\n }\n ] = splitProps(props, [\n \"type\",\n \"title\",\n \"alias\",\n \"permission\",\n \"domain\",\n \"readonly\",\n \"internal\",\n \"ignore\",\n \"hidden\",\n \"defaultValue\"\n ]);\n\n return (\n <>\n <Show when={isSetString(title?.trim())}>\n <TSDocTitle>{title}</TSDocTitle>\n </Show>\n <Show\n when={\n !isUndefined(alias) &&\n alias.length > 0 &&\n alias.some(a => isSetString(a?.trim()))\n }>\n <For each={alias?.filter(a => isSetString(a?.trim())) ?? []}>\n {alias => <TSDocAlias>{alias}</TSDocAlias>}\n </For>\n </Show>\n <Show when={isSetString(domain?.trim())}>\n <TSDocDomain>{domain}</TSDocDomain>\n </Show>\n <Show\n when={\n !isUndefined(permission) &&\n permission.length > 0 &&\n permission.some(p => isSetString(p?.trim()))\n }>\n <For each={permission?.filter(p => isSetString(p?.trim())) ?? []}>\n {permission => <TSDocPermission>{permission}</TSDocPermission>}\n </For>\n </Show>\n <Show when={readonly === true}>\n <TSDocReadonly />\n </Show>\n <Show when={internal === true}>\n <TSDocInternal />\n </Show>\n <Show when={ignore === true}>\n <TSDocIgnore />\n </Show>\n <Show when={hidden === true}>\n <TSDocHidden />\n </Show>\n <Show when={!isUndefined(type) && !isUndefined(defaultValue)}>\n <TSDocDefaultValue\n type={\n type as ReflectionKind | ReflectionProperty | ReflectionParameter\n }\n defaultValue={defaultValue}\n />\n </Show>\n </>\n );\n}\n\nexport interface TSDocParamProps {\n name: Children;\n children?: Children;\n optional?: boolean;\n defaultValue?: Children;\n}\n\n/**\n * Create a TSDoc parameter set off with `@param`.\n */\nexport function TSDocParam(props: TSDocParamProps) {\n return (\n <>\n {\"@param \"}\n <TSDocParamName\n name={props.name}\n optional={props.optional}\n defaultValue={props.defaultValue}\n />\n <TSDocParamDescription children={props.children} />\n </>\n );\n}\n\ninterface TSDocParamNameProps {\n name: Children;\n optional?: boolean;\n defaultValue?: Children;\n}\n\nfunction TSDocParamName(props: TSDocParamNameProps) {\n return (\n <>\n <Show when={props.optional}>{\"[\"}</Show>\n {props.name}\n <Show when={Boolean(props.defaultValue)}>={props.defaultValue}</Show>\n <Show when={props.optional}>{\"]\"}</Show>\n </>\n );\n}\n\ninterface TSDocParamDescriptionProps {\n children?: Children;\n}\n\nfunction TSDocParamDescription(props: TSDocParamDescriptionProps) {\n return (\n <Show when={Boolean(props.children)}>\n {\" - \"}\n <align width={2}>\n <Prose>{props.children}</Prose>\n </align>\n </Show>\n );\n}\n\n/**\n * Create a TSDoc `@returns` tag.\n */\nexport function TSDocReturns(props: ComponentProps) {\n return <TSDocTag {...props} tag=\"returns\" />;\n}\n\n/**\n * Create a TSDoc `@throws` tag.\n */\nexport function TSDocThrows(props: ComponentProps) {\n return <TSDocTag {...props} tag=\"throws\" />;\n}\n\nexport interface TSDocModuleProps extends ComponentProps {\n /**\n * The prefix for the builtin module name\n *\n * @remarks\n * This value is populated from the Powerlines configuration output builtin prefix by default.\n *\n * @example\n * ```ts\n * /**\n * @module powerlines:my-module\n * \\/\n * ```\n */\n prefix?: string;\n\n /**\n * The name of the module\n *\n * @remarks\n * This will be used in the `@module` tag as well as the import path for the module, e.g. `storm:<name>`.\n *\n * @example\n * ```ts\n * import { MyModule } from \"powerlines:my-module\";\n * ```\n */\n name: Children;\n}\n\n/**\n * Generates a TSDoc `@module` tag for the given module name.\n */\nexport function TSDocModule(props: TSDocModuleProps) {\n const [{ children, name, prefix }] = splitProps(props, [\n \"children\",\n \"name\",\n \"prefix\"\n ]);\n\n const context = usePowerlinesSafe();\n\n return (\n <>\n /**\n <align string=\" * \">\n <hbr />\n <Show when={Boolean(children)}>\n <List hardline={true}>{childrenArray(() => children)}</List>\n <hbr />\n <hbr />\n </Show>\n {\"@module \"}\n {prefix || context?.config?.framework || \"powerlines\"}:{name}\n </align>\n <hbr />\n {` */`}\n </>\n );\n}\n"],"mappings":";;;;;;;;;;;SA+GE,MAAA,OAAA;UAAA,UAAA,aAAA,WAAA,OAAA,CAAA,YAAA,UAAA,CAAA;;;;;;;;;;mCAgBA;;MAAA,IAAA,WAAA;AAAA,cAAA;;QAAA,gBAAA,OAAA,EAAA,CAAA;QAAA,sBAAA;SAAA,IAAA,OAAA;AAAA,iBAAA,WAAA,CAAA,CAAA,CAAA,YAAA,SAAA,CAAA,EAAA,IAAA,oBAAA,SAAA,CAAA,SAAA;;SAAA,IAAA,WAAA;AAAA,iBAAA,gBAAA,OAAA,EAAA,CAAA;;SAAA,CAAA;QAAA;;MAAA,CAAA;KAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;SAiHc+C;;;;;;;;;;oBA6Bd/B,OAAAA;OAAAA,CAAAA,EAAAA,YAAAA,QAAAA,WAAAA,OAAAA,CAAAA,WAAAA,CAAAA;AAAAA,QAAAA;;;;;;;;gCAqBoB;OAAA,CAAA,EAAA,YAAA,QAAA,WAAA,OAAA,CAAA,WAAA,CAAA;wBAAA,UAAA,WAAA,MAAA;EAAA,KAAA;EAAA;EAAA,CAAA,CAAA;;;;;;;;;kBAgDsB,MAAA;GAAA,IAAA,OAAA;AAAA,WAAA,CAAA,YAAA,aAAA;;GAAA,IAAA,WAAA;AAAA,WAAA,gBAAA,SAAA;KAAA,OAAA;KAAA,IAAA,WAAA;AAAA,aAAA,gBAAA,OAAA,EAAA,IAAA,WAAA;AAAA,cAAA,sBAAA,MAAA,aAAA;SAAA,CAAA;;KAAA,CAAA;;GAAA,CAAA;EAAA,gBAAA,OAAA,EAAA,CAAA;EAAA;;;;;;;;;kBA6BjC,MAAA;GAAA,UAAA;GAAA,IAAA,WAAA;AAAA,WAAA,oBAAA,MAAA,SAAA;;GAAA,CAAA;EAAA;;;;;;;;;;;SA8BX,aAAA,OAAA;OAAA,CAAA,EAAA,KAAA,SAAA,MAAA,UAAA,cAAA,WAAA,OAAA;EAAA;;;;;;EAOgB;EAAA,gBAAA,OAAA,EAAA,CAAA;EAAA;;;;;;;;;;;kBAAQe,MAAAA;GAAAA,MAAAA;GAAAA,IAAAA,WAAAA;AAAAA,WAAAA,CAAAA,gBAAAA,OAAAA,EAAAA,CAAAA,EAAAA,MAAAA;;GAAAA,CAAAA;EAAAA;;;;;;;;;;;SAuBxB,gBAAA;wBAAA,UAAA,EAAA,KAAA,YAAA,CAAA;;;;;SAAA,cAAA;wBAAA,UAAA,EAAA,KAAA,UAAA,CAAA;;;;;;;;;;;SAmBA,oBAAA,OAAA;CAAA,MAAA,CAAA,EAAA,MAAA,OAAA,OAAA,oBAAA,UAAA,UAAA;;;;;;;;;EAMA;EAAA;;;;;;;;;;;;OAoCA,OAAA;AAAA,WAAA,WAAA,CAAA,EAAA,CAAA,YAAA"}
1
+ {"version":3,"file":"tsdoc-prhuuYav.mjs","names":["childrenArray","For","List","Prose","Show","splitProps","stringifyDefaultValue","isSetString","isUndefined","usePowerlinesSafe","TSDoc","props","children","heading","_$createIntrinsic","string","_$createComponent","when","_$memo","length","TSDocTag","tag","Boolean","width","TSDocParams","parameters","normalizeParametersForDoc","each","param","TSDocParam","name","optional","doc","some","p","TSDocTitle","rest","_$mergeProps","TSDocDomain","TSDocAlias","TSDocPermission","TSDocDefaultValue","type","defaultValue","TSDocRemarks","hardline","TSDocLink","TSDocExample","tsx","fenced","language","TSDocReadonly","TSDocInternal","TSDocIgnore","TSDocHidden","TSDocAttributesTags","title","alias","permission","domain","readonly","internal","ignore","hidden","trim","a","filter","TSDocParamName","TSDocParamDescription","TSDocReturns","TSDocThrows","TSDocModule","prefix","context","config","framework"],"sources":["../src/typescript/components/tsdoc.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 Children,\n childrenArray,\n For,\n List,\n Prose,\n Show,\n splitProps\n} from \"@alloy-js/core\";\nimport { JSDocExampleProps, ParameterDescriptor } from \"@alloy-js/typescript\";\nimport { stringifyDefaultValue } from \"@powerlines/deepkit/utilities\";\nimport {\n ReflectionKind,\n ReflectionParameter,\n ReflectionProperty\n} from \"@powerlines/deepkit/vendor/type\";\nimport { isSetString } from \"@stryke/type-checks/is-set-string\";\nimport { isUndefined } from \"@stryke/type-checks/is-undefined\";\nimport { usePowerlinesSafe } from \"../../core/contexts/context\";\nimport { ComponentProps } from \"../../types/components\";\n\nexport interface TSDocProps extends ComponentProps {\n heading?: Children;\n}\n\n/**\n * Generates a TypeScript interface for the given reflection class.\n */\nexport function TSDoc(props: TSDocProps) {\n const [{ children, heading }] = splitProps(props, [\"children\", \"heading\"]);\n\n return (\n <>\n /**\n <align string=\" * \">\n <hbr />\n <Show when={!isUndefined(heading)}>\n {heading}\n <hbr />\n <Show\n when={\n !isUndefined(children) && childrenArray(() => children).length > 0\n }>\n <hbr />\n </Show>\n </Show>\n <Show\n when={\n !isUndefined(children) && childrenArray(() => children).length > 0\n }>\n <List>{childrenArray(() => children)}</List>\n </Show>\n </align>\n <hbr />\n {` */`}\n <hbr />\n </>\n );\n}\n\nexport interface TSDocTagProps extends ComponentProps {\n tag: string;\n}\n\n/**\n * Create a TSDoc `@<props.tag>` tag.\n */\nexport function TSDocTag(props: TSDocTagProps) {\n const [{ children, tag }] = splitProps(props, [\"children\", \"tag\"]);\n\n return (\n <>\n {`@${tag} `}\n <Show when={Boolean(children)}>\n <align width={2}>\n <Prose>{children}</Prose>\n </align>\n </Show>\n <hbr />\n </>\n );\n}\n\nexport interface TSDocParamsProps {\n parameters: ParameterDescriptor[] | string[];\n}\n\n/**\n * A component that creates a TSDoc block with `@param` tags for each parameter.\n */\nexport function TSDocParams(props: TSDocParamsProps) {\n const parameters = normalizeParametersForDoc(props.parameters);\n\n return (\n <For each={parameters}>\n {param => (\n <TSDocParam name={param.name} optional={param.optional}>\n {param.doc}\n </TSDocParam>\n )}\n </For>\n );\n}\n\nfunction normalizeParametersForDoc(\n parameters: ParameterDescriptor[] | string[]\n): ParameterDescriptor[] {\n if (parameters.some(p => typeof p === \"string\")) {\n return [];\n }\n\n return parameters as ParameterDescriptor[];\n}\n\n/**\n * Create a TSDoc `@title` tag.\n */\nexport function TSDocTitle(props: ComponentProps) {\n const [{ children }, rest] = splitProps(props, [\"children\"]);\n\n return (\n <TSDocTag {...rest} tag=\"title\">\n {children}\n </TSDocTag>\n );\n}\n\n/**\n * Create a TSDoc `@domain` tag.\n */\nexport function TSDocDomain(props: ComponentProps) {\n const [{ children }, rest] = splitProps(props, [\"children\"]);\n\n return (\n <TSDocTag {...rest} tag=\"domain\">\n {children}\n </TSDocTag>\n );\n}\n\n/**\n * Create a TSDoc `@alias` tag.\n */\nexport function TSDocAlias(props: ComponentProps) {\n const [{ children }, rest] = splitProps(props, [\"children\"]);\n\n return (\n <TSDocTag {...rest} tag=\"alias\">\n {children}\n </TSDocTag>\n );\n}\n\n/**\n * Create a TSDoc `@permission` tag.\n */\nexport function TSDocPermission(props: ComponentProps) {\n const [{ children }, rest] = splitProps(props, [\"children\"]);\n\n return (\n <TSDocTag {...rest} tag=\"permission\">\n {children}\n </TSDocTag>\n );\n}\n\nexport interface TSDocDefaultValueProps extends ComponentProps {\n type: ReflectionKind | ReflectionProperty | ReflectionParameter;\n defaultValue: any;\n}\n\n/**\n * Create a TSDoc `@defaultValue` tag.\n */\nexport function TSDocDefaultValue(props: TSDocDefaultValueProps) {\n const [{ type, defaultValue }] = splitProps(props, [\"type\", \"defaultValue\"]);\n\n return (\n <>\n {\"@defaultValue \"}\n <Show when={!isUndefined(defaultValue)}>\n <align width={2}>\n <Prose>{stringifyDefaultValue(type, defaultValue)}</Prose>\n </align>\n </Show>\n <hbr />\n </>\n );\n}\n\n/**\n * Create a TSDoc `@remarks` tag.\n */\nexport function TSDocRemarks(props: ComponentProps) {\n return (\n <>\n {\"@remarks \"}\n <hbr />\n <List hardline={true}>{childrenArray(() => props.children)}</List>\n </>\n );\n}\n\n/**\n * Create a TSDoc `@see` tag.\n */\nexport function TSDocLink(props: ComponentProps) {\n return <TSDocTag {...props} tag=\"see\" />;\n}\n\nexport interface TSDocExampleProps extends JSDocExampleProps {\n /**\n * Whether the file is a TSX file.\n *\n * @defaultValue false\n */\n tsx?: boolean;\n}\n\n/**\n * Create a TSDoc `@example` tag.\n */\nexport function TSDocExample(props: TSDocExampleProps) {\n const [{ tsx, fenced = true, language, children }] = splitProps(props, [\n \"tsx\",\n \"fenced\",\n \"language\",\n \"children\"\n ]);\n\n return (\n <>\n {\"@example \"}\n <hbr />\n <Show when={fenced}>\n ```{language || (tsx ? \"tsx\" : \"ts\")}\n <hbr />\n </Show>\n {children}\n <Show when={fenced}>\n <hbr />\n ```\n </Show>\n </>\n );\n}\n\n/**\n * Create a TSDoc `@readonly` tag.\n */\nexport function TSDocReadonly() {\n return <TSDocTag tag=\"readonly\" />;\n}\n\n/**\n * Create a TSDoc `@internal` tag.\n */\nexport function TSDocInternal() {\n return <TSDocTag tag=\"internal\" />;\n}\n\n/**\n * Create a TSDoc `@ignore` tag.\n */\nexport function TSDocIgnore() {\n return <TSDocTag tag=\"ignore\" />;\n}\n\n/**\n * Create a TSDoc `@hidden` tag.\n */\nexport function TSDocHidden() {\n return <TSDocTag tag=\"hidden\" />;\n}\n\nexport interface TSDocAttributesTagsProps {\n type?: ReflectionKind | ReflectionProperty | ReflectionParameter;\n title?: string;\n alias?: string[];\n permission?: string[];\n domain?: string;\n readonly?: boolean;\n internal?: boolean;\n ignore?: boolean;\n hidden?: boolean;\n defaultValue?: any;\n}\n\n/**\n * Generates a TypeScript interface property for the given reflection class.\n */\nexport function TSDocAttributesTags(props: TSDocAttributesTagsProps) {\n const [\n {\n type,\n title,\n alias,\n permission,\n domain,\n readonly,\n internal,\n ignore,\n hidden,\n defaultValue\n }\n ] = splitProps(props, [\n \"type\",\n \"title\",\n \"alias\",\n \"permission\",\n \"domain\",\n \"readonly\",\n \"internal\",\n \"ignore\",\n \"hidden\",\n \"defaultValue\"\n ]);\n\n return (\n <>\n <Show when={isSetString(title?.trim())}>\n <TSDocTitle>{title}</TSDocTitle>\n </Show>\n <Show\n when={\n !isUndefined(alias) &&\n alias.length > 0 &&\n alias.some(a => isSetString(a?.trim()))\n }>\n <For each={alias?.filter(a => isSetString(a?.trim())) ?? []}>\n {alias => <TSDocAlias>{alias}</TSDocAlias>}\n </For>\n </Show>\n <Show when={isSetString(domain?.trim())}>\n <TSDocDomain>{domain}</TSDocDomain>\n </Show>\n <Show\n when={\n !isUndefined(permission) &&\n permission.length > 0 &&\n permission.some(p => isSetString(p?.trim()))\n }>\n <For each={permission?.filter(p => isSetString(p?.trim())) ?? []}>\n {permission => <TSDocPermission>{permission}</TSDocPermission>}\n </For>\n </Show>\n <Show when={readonly === true}>\n <TSDocReadonly />\n </Show>\n <Show when={internal === true}>\n <TSDocInternal />\n </Show>\n <Show when={ignore === true}>\n <TSDocIgnore />\n </Show>\n <Show when={hidden === true}>\n <TSDocHidden />\n </Show>\n <Show when={!isUndefined(type) && !isUndefined(defaultValue)}>\n <TSDocDefaultValue\n type={\n type as ReflectionKind | ReflectionProperty | ReflectionParameter\n }\n defaultValue={defaultValue}\n />\n </Show>\n </>\n );\n}\n\nexport interface TSDocParamProps {\n name: Children;\n children?: Children;\n optional?: boolean;\n defaultValue?: Children;\n}\n\n/**\n * Create a TSDoc parameter set off with `@param`.\n */\nexport function TSDocParam(props: TSDocParamProps) {\n return (\n <>\n {\"@param \"}\n <TSDocParamName\n name={props.name}\n optional={props.optional}\n defaultValue={props.defaultValue}\n />\n <TSDocParamDescription children={props.children} />\n </>\n );\n}\n\ninterface TSDocParamNameProps {\n name: Children;\n optional?: boolean;\n defaultValue?: Children;\n}\n\nfunction TSDocParamName(props: TSDocParamNameProps) {\n return (\n <>\n <Show when={props.optional}>{\"[\"}</Show>\n {props.name}\n <Show when={Boolean(props.defaultValue)}>={props.defaultValue}</Show>\n <Show when={props.optional}>{\"]\"}</Show>\n </>\n );\n}\n\ninterface TSDocParamDescriptionProps {\n children?: Children;\n}\n\nfunction TSDocParamDescription(props: TSDocParamDescriptionProps) {\n return (\n <Show when={Boolean(props.children)}>\n {\" - \"}\n <align width={2}>\n <Prose>{props.children}</Prose>\n </align>\n </Show>\n );\n}\n\n/**\n * Create a TSDoc `@returns` tag.\n */\nexport function TSDocReturns(props: ComponentProps) {\n return <TSDocTag {...props} tag=\"returns\" />;\n}\n\n/**\n * Create a TSDoc `@throws` tag.\n */\nexport function TSDocThrows(props: ComponentProps) {\n return <TSDocTag {...props} tag=\"throws\" />;\n}\n\nexport interface TSDocModuleProps extends ComponentProps {\n /**\n * The prefix for the builtin module name\n *\n * @remarks\n * This value is populated from the Powerlines configuration output builtin prefix by default.\n *\n * @example\n * ```ts\n * /**\n * @module powerlines:my-module\n * \\/\n * ```\n */\n prefix?: string;\n\n /**\n * The name of the module\n *\n * @remarks\n * This will be used in the `@module` tag as well as the import path for the module, e.g. `storm:<name>`.\n *\n * @example\n * ```ts\n * import { MyModule } from \"powerlines:my-module\";\n * ```\n */\n name: Children;\n}\n\n/**\n * Generates a TSDoc `@module` tag for the given module name.\n */\nexport function TSDocModule(props: TSDocModuleProps) {\n const [{ children, name, prefix }] = splitProps(props, [\n \"children\",\n \"name\",\n \"prefix\"\n ]);\n\n const context = usePowerlinesSafe();\n\n return (\n <>\n /**\n <align string=\" * \">\n <hbr />\n <Show when={Boolean(children)}>\n <List hardline={true}>{childrenArray(() => children)}</List>\n <hbr />\n <hbr />\n </Show>\n {\"@module \"}\n {prefix || context?.config?.framework || \"powerlines\"}:{name}\n </align>\n <hbr />\n {` */`}\n </>\n );\n}\n"],"mappings":";;;;;;;;;;;SA+GE,MAAA,OAAA;UAAA,UAAA,aAAA,WAAA,OAAA,CAAA,YAAA,UAAA,CAAA;;;;;;;;;;mCAgBA;;MAAA,IAAA,WAAA;AAAA,cAAA;;QAAA,gBAAA,OAAA,EAAA,CAAA;QAAA,sBAAA;SAAA,IAAA,OAAA;AAAA,iBAAA,WAAA,CAAA,CAAA,CAAA,YAAA,SAAA,CAAA,EAAA,IAAA,oBAAA,SAAA,CAAA,SAAA;;SAAA,IAAA,WAAA;AAAA,iBAAA,gBAAA,OAAA,EAAA,CAAA;;SAAA,CAAA;QAAA;;MAAA,CAAA;KAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;SAiHc+C;;;;;;;;;;oBA6Bd/B,OAAAA;OAAAA,CAAAA,EAAAA,YAAAA,QAAAA,WAAAA,OAAAA,CAAAA,WAAAA,CAAAA;AAAAA,QAAAA;;;;;;;;gCAqBoB;OAAA,CAAA,EAAA,YAAA,QAAA,WAAA,OAAA,CAAA,WAAA,CAAA;wBAAA,UAAA,WAAA,MAAA;EAAA,KAAA;EAAA;EAAA,CAAA,CAAA;;;;;;;;;kBAgDsB,MAAA;GAAA,IAAA,OAAA;AAAA,WAAA,CAAA,YAAA,aAAA;;GAAA,IAAA,WAAA;AAAA,WAAA,gBAAA,SAAA;KAAA,OAAA;KAAA,IAAA,WAAA;AAAA,aAAA,gBAAA,OAAA,EAAA,IAAA,WAAA;AAAA,cAAA,sBAAA,MAAA,aAAA;SAAA,CAAA;;KAAA,CAAA;;GAAA,CAAA;EAAA,gBAAA,OAAA,EAAA,CAAA;EAAA;;;;;;;;;kBA6BjC,MAAA;GAAA,UAAA;GAAA,IAAA,WAAA;AAAA,WAAA,oBAAA,MAAA,SAAA;;GAAA,CAAA;EAAA;;;;;;;;;;;SA8BX,aAAA,OAAA;OAAA,CAAA,EAAA,KAAA,SAAA,MAAA,UAAA,cAAA,WAAA,OAAA;EAAA;;;;;;EAOgB;EAAA,gBAAA,OAAA,EAAA,CAAA;EAAA;;;;;;;;;;;kBAAQe,MAAAA;GAAAA,MAAAA;GAAAA,IAAAA,WAAAA;AAAAA,WAAAA,CAAAA,gBAAAA,OAAAA,EAAAA,CAAAA,EAAAA,MAAAA;;GAAAA,CAAAA;EAAAA;;;;;;;;;;;SAuBxB,gBAAA;wBAAA,UAAA,EAAA,KAAA,YAAA,CAAA;;;;;SAAA,cAAA;wBAAA,UAAA,EAAA,KAAA,UAAA,CAAA;;;;;;;;;;;SAmBA,oBAAA,OAAA;CAAA,MAAA,CAAA,EAAA,MAAA,OAAA,OAAA,oBAAA,UAAA,UAAA;;;;;;;;;EAMA;EAAA;;;;;;;;;;;;OAoCA,OAAA;AAAA,WAAA,WAAA,CAAA,EAAA,CAAA,YAAA"}
@@ -0,0 +1,19 @@
1
+ import { x as TSDocProps } from "./tsdoc-CwqGhmLe.mjs";
2
+ import * as _alloy_js_core8 from "@alloy-js/core";
3
+
4
+ //#region src/typescript/components/tsdoc-reflection.d.ts
5
+ /**
6
+ * Generates a TypeScript interface property for the given reflection class.
7
+ */
8
+ declare function TSDocReflectionClass<T extends Record<string, any> = Record<string, any>>(props: TSDocProps): _alloy_js_core8.Children;
9
+ /**
10
+ * Generates a TypeScript interface property for the given reflection class.
11
+ */
12
+ declare function TSDocReflectionProperty(props: TSDocProps): _alloy_js_core8.Children;
13
+ /**
14
+ * Generates a TypeScript interface property for the given reflection class.
15
+ */
16
+ declare function TSDocReflectionMethod(props: TSDocProps): _alloy_js_core8.Children;
17
+ //#endregion
18
+ export { TSDocReflectionMethod as n, TSDocReflectionProperty as r, TSDocReflectionClass as t };
19
+ //# sourceMappingURL=tsdoc-reflection-B_mvCfkF.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tsdoc-reflection-D8Zr70Pj.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
+ {"version":3,"file":"tsdoc-reflection-B_mvCfkF.d.mts","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,6 +1,6 @@
1
1
  const require_chunk = require('./chunk-CbDLau6x.cjs');
2
2
  const require_reflection = require('./reflection-BSrdR0Qz.cjs');
3
- const require_tsdoc = require('./tsdoc-BufL8muf.cjs');
3
+ const require_tsdoc = require('./tsdoc-fSRc8v2O.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 __stryke_string_format_title_case = require("@stryke/string-format/title-case");
@@ -1,5 +1,5 @@
1
1
  import { a as useReflectionClass, c as useReflectionProperty, o as useReflectionMethod } from "./reflection-Btb1NqwS.mjs";
2
- import { r as TSDocAttributesTags, t as TSDoc } from "./tsdoc-DB1Qzwsn.mjs";
2
+ import { r as TSDocAttributesTags, t as TSDoc } from "./tsdoc-prhuuYav.mjs";
3
3
  import { createComponent, memo, mergeProps } from "@alloy-js/core/jsx-runtime";
4
4
  import { List, Show, childrenArray, code, computed, splitProps } from "@alloy-js/core";
5
5
  import { titleCase } from "@stryke/string-format/title-case";
@@ -173,4 +173,4 @@ function TSDocReflectionMethod(props) {
173
173
 
174
174
  //#endregion
175
175
  export { TSDocReflectionMethod as n, TSDocReflectionProperty as r, TSDocReflectionClass as t };
176
- //# sourceMappingURL=tsdoc-reflection-BcTrWAwt.mjs.map
176
+ //# sourceMappingURL=tsdoc-reflection-CQX-iDtz.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"tsdoc-reflection-BcTrWAwt.mjs","names":["childrenArray","code","computed","List","Show","splitProps","titleCase","isSetString","isString","isUndefined","useReflectionClass","useReflectionMethod","useReflectionProperty","TSDoc","TSDocAttributesTags","TSDocReflectionClass","props","children","heading","rest","reflectionClass","title","reflection","getTitle","getName","computedHeading","getDescription","value","alias","getAlias","domain","getDomain","permission","getPermission","readonly","isReadonly","internal","isInternal","ignore","isIgnored","hidden","isHidden","trim","_$createComponent","_$mergeProps","_$memo","when","length","Boolean","TSDocReflectionProperty","context","type","defaultValue","getDefaultValue","TSDocReflectionMethod","String","undefined"],"sources":["../src/typescript/components/tsdoc-reflection.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 childrenArray,\n code,\n computed,\n List,\n Show,\n splitProps\n} from \"@alloy-js/core\";\nimport { titleCase } from \"@stryke/string-format/title-case\";\nimport { isSetString } from \"@stryke/type-checks/is-set-string\";\nimport { isString } from \"@stryke/type-checks/is-string\";\nimport { isUndefined } from \"@stryke/type-checks/is-undefined\";\nimport {\n useReflectionClass,\n useReflectionMethod,\n useReflectionProperty\n} from \"../../core/contexts/reflection\";\nimport { TSDoc, TSDocAttributesTags, TSDocProps } from \"./tsdoc\";\n\n/**\n * Generates a TypeScript interface property for the given reflection class.\n */\nexport function TSDocReflectionClass<\n T extends Record<string, any> = Record<string, any>\n>(props: TSDocProps) {\n const [{ children, heading }, rest] = splitProps(props, [\n \"heading\",\n \"children\"\n ]);\n\n const reflectionClass = useReflectionClass<T>();\n\n const title = computed(\n () =>\n reflectionClass.reflection.getTitle() ||\n titleCase(reflectionClass.reflection.getName())\n );\n const computedHeading = computed(\n () => heading || reflectionClass.reflection.getDescription() || title.value\n );\n\n const alias = computed(() => reflectionClass.reflection.getAlias());\n const domain = computed(() => reflectionClass.reflection.getDomain());\n const permission = computed(() => reflectionClass.reflection.getPermission());\n const readonly = computed(() => reflectionClass.reflection.isReadonly());\n const internal = computed(() => reflectionClass.reflection.isInternal());\n const ignore = computed(() => reflectionClass.reflection.isIgnored());\n const hidden = computed(() => reflectionClass.reflection.isHidden());\n\n if (\n !computedHeading.value ||\n (isSetString(computedHeading.value) && computedHeading.value.trim() === \"\")\n ) {\n return null;\n }\n\n return (\n <TSDoc\n {...rest}\n heading={\n isSetString(computedHeading.value)\n ? computedHeading.value.trim()\n : computedHeading.value\n }>\n <Show\n when={\n isSetString(title.value) ||\n (!isUndefined(alias.value) && alias.value.length > 0) ||\n (!isUndefined(permission.value) && permission.value.length > 0) ||\n isSetString(domain.value) ||\n !isUndefined(readonly.value) ||\n !isUndefined(internal.value) ||\n !isUndefined(ignore.value) ||\n !isUndefined(hidden.value)\n }>\n <TSDocAttributesTags\n title={title.value}\n alias={alias.value}\n domain={domain.value}\n permission={permission.value}\n readonly={readonly.value}\n internal={internal.value}\n ignore={ignore.value}\n hidden={hidden.value}\n />\n </Show>\n <Show\n when={Boolean(children) && childrenArray(() => children).length > 0}>\n <List>{childrenArray(() => children)}</List>\n </Show>\n </TSDoc>\n );\n}\n\n/**\n * Generates a TypeScript interface property for the given reflection class.\n */\nexport function TSDocReflectionProperty(props: TSDocProps) {\n const [{ children }, rest] = splitProps(props, [\"children\"]);\n\n const context = useReflectionProperty();\n\n return (\n <TSDoc heading={context.getDescription()} {...rest}>\n <TSDocAttributesTags\n type={context}\n title={context.getTitle()}\n alias={context.getAlias()}\n domain={context.getDomain()}\n permission={context.getPermission()}\n readonly={context.isReadonly()}\n internal={context.isInternal()}\n ignore={context.isIgnored()}\n hidden={context.isHidden()}\n defaultValue={context.getDefaultValue()}\n />\n <Show\n when={Boolean(children) && childrenArray(() => children).length > 0}>\n <List>{childrenArray(() => children)}</List>\n </Show>\n </TSDoc>\n );\n}\n\n/**\n * Generates a TypeScript interface property for the given reflection class.\n */\nexport function TSDocReflectionMethod(props: TSDocProps) {\n const [{ children }, rest] = splitProps(props, [\"children\"]);\n\n const context = useReflectionMethod();\n\n return (\n <TSDoc\n heading={\n context.getDescription() ||\n (isString(context.getName())\n ? code`${String(context.getName())} method definition`\n : undefined)\n }\n {...rest}>\n <TSDocAttributesTags\n title={context.getTitle()}\n alias={context.getAlias()}\n domain={context.getDomain()}\n permission={context.getPermission()}\n readonly={context.isReadonly()}\n internal={context.isInternal()}\n ignore={context.isIgnored()}\n hidden={context.isHidden()}\n />\n <Show\n when={Boolean(children) && childrenArray(() => children).length > 0}>\n <List>{childrenArray(() => children)}</List>\n </Show>\n </TSDoc>\n );\n}\n"],"mappings":"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"}
1
+ {"version":3,"file":"tsdoc-reflection-CQX-iDtz.mjs","names":["childrenArray","code","computed","List","Show","splitProps","titleCase","isSetString","isString","isUndefined","useReflectionClass","useReflectionMethod","useReflectionProperty","TSDoc","TSDocAttributesTags","TSDocReflectionClass","props","children","heading","rest","reflectionClass","title","reflection","getTitle","getName","computedHeading","getDescription","value","alias","getAlias","domain","getDomain","permission","getPermission","readonly","isReadonly","internal","isInternal","ignore","isIgnored","hidden","isHidden","trim","_$createComponent","_$mergeProps","_$memo","when","length","Boolean","TSDocReflectionProperty","context","type","defaultValue","getDefaultValue","TSDocReflectionMethod","String","undefined"],"sources":["../src/typescript/components/tsdoc-reflection.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 childrenArray,\n code,\n computed,\n List,\n Show,\n splitProps\n} from \"@alloy-js/core\";\nimport { titleCase } from \"@stryke/string-format/title-case\";\nimport { isSetString } from \"@stryke/type-checks/is-set-string\";\nimport { isString } from \"@stryke/type-checks/is-string\";\nimport { isUndefined } from \"@stryke/type-checks/is-undefined\";\nimport {\n useReflectionClass,\n useReflectionMethod,\n useReflectionProperty\n} from \"../../core/contexts/reflection\";\nimport { TSDoc, TSDocAttributesTags, TSDocProps } from \"./tsdoc\";\n\n/**\n * Generates a TypeScript interface property for the given reflection class.\n */\nexport function TSDocReflectionClass<\n T extends Record<string, any> = Record<string, any>\n>(props: TSDocProps) {\n const [{ children, heading }, rest] = splitProps(props, [\n \"heading\",\n \"children\"\n ]);\n\n const reflectionClass = useReflectionClass<T>();\n\n const title = computed(\n () =>\n reflectionClass.reflection.getTitle() ||\n titleCase(reflectionClass.reflection.getName())\n );\n const computedHeading = computed(\n () => heading || reflectionClass.reflection.getDescription() || title.value\n );\n\n const alias = computed(() => reflectionClass.reflection.getAlias());\n const domain = computed(() => reflectionClass.reflection.getDomain());\n const permission = computed(() => reflectionClass.reflection.getPermission());\n const readonly = computed(() => reflectionClass.reflection.isReadonly());\n const internal = computed(() => reflectionClass.reflection.isInternal());\n const ignore = computed(() => reflectionClass.reflection.isIgnored());\n const hidden = computed(() => reflectionClass.reflection.isHidden());\n\n if (\n !computedHeading.value ||\n (isSetString(computedHeading.value) && computedHeading.value.trim() === \"\")\n ) {\n return null;\n }\n\n return (\n <TSDoc\n {...rest}\n heading={\n isSetString(computedHeading.value)\n ? computedHeading.value.trim()\n : computedHeading.value\n }>\n <Show\n when={\n isSetString(title.value) ||\n (!isUndefined(alias.value) && alias.value.length > 0) ||\n (!isUndefined(permission.value) && permission.value.length > 0) ||\n isSetString(domain.value) ||\n !isUndefined(readonly.value) ||\n !isUndefined(internal.value) ||\n !isUndefined(ignore.value) ||\n !isUndefined(hidden.value)\n }>\n <TSDocAttributesTags\n title={title.value}\n alias={alias.value}\n domain={domain.value}\n permission={permission.value}\n readonly={readonly.value}\n internal={internal.value}\n ignore={ignore.value}\n hidden={hidden.value}\n />\n </Show>\n <Show\n when={Boolean(children) && childrenArray(() => children).length > 0}>\n <List>{childrenArray(() => children)}</List>\n </Show>\n </TSDoc>\n );\n}\n\n/**\n * Generates a TypeScript interface property for the given reflection class.\n */\nexport function TSDocReflectionProperty(props: TSDocProps) {\n const [{ children }, rest] = splitProps(props, [\"children\"]);\n\n const context = useReflectionProperty();\n\n return (\n <TSDoc heading={context.getDescription()} {...rest}>\n <TSDocAttributesTags\n type={context}\n title={context.getTitle()}\n alias={context.getAlias()}\n domain={context.getDomain()}\n permission={context.getPermission()}\n readonly={context.isReadonly()}\n internal={context.isInternal()}\n ignore={context.isIgnored()}\n hidden={context.isHidden()}\n defaultValue={context.getDefaultValue()}\n />\n <Show\n when={Boolean(children) && childrenArray(() => children).length > 0}>\n <List>{childrenArray(() => children)}</List>\n </Show>\n </TSDoc>\n );\n}\n\n/**\n * Generates a TypeScript interface property for the given reflection class.\n */\nexport function TSDocReflectionMethod(props: TSDocProps) {\n const [{ children }, rest] = splitProps(props, [\"children\"]);\n\n const context = useReflectionMethod();\n\n return (\n <TSDoc\n heading={\n context.getDescription() ||\n (isString(context.getName())\n ? code`${String(context.getName())} method definition`\n : undefined)\n }\n {...rest}>\n <TSDocAttributesTags\n title={context.getTitle()}\n alias={context.getAlias()}\n domain={context.getDomain()}\n permission={context.getPermission()}\n readonly={context.isReadonly()}\n internal={context.isInternal()}\n ignore={context.isIgnored()}\n hidden={context.isHidden()}\n />\n <Show\n when={Boolean(children) && childrenArray(() => children).length > 0}>\n <List>{childrenArray(() => children)}</List>\n </Show>\n </TSDoc>\n );\n}\n"],"mappings":"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"}
@@ -1,19 +1,19 @@
1
1
  import { x as TSDocProps } from "./tsdoc-BpOXtq0v.cjs";
2
- import * as _alloy_js_core0 from "@alloy-js/core";
2
+ import * as _alloy_js_core15 from "@alloy-js/core";
3
3
 
4
4
  //#region src/typescript/components/tsdoc-reflection.d.ts
5
5
  /**
6
6
  * Generates a TypeScript interface property for the given reflection class.
7
7
  */
8
- declare function TSDocReflectionClass<T extends Record<string, any> = Record<string, any>>(props: TSDocProps): _alloy_js_core0.Children;
8
+ declare function TSDocReflectionClass<T extends Record<string, any> = Record<string, any>>(props: TSDocProps): _alloy_js_core15.Children;
9
9
  /**
10
10
  * Generates a TypeScript interface property for the given reflection class.
11
11
  */
12
- declare function TSDocReflectionProperty(props: TSDocProps): _alloy_js_core0.Children;
12
+ declare function TSDocReflectionProperty(props: TSDocProps): _alloy_js_core15.Children;
13
13
  /**
14
14
  * Generates a TypeScript interface property for the given reflection class.
15
15
  */
16
- declare function TSDocReflectionMethod(props: TSDocProps): _alloy_js_core0.Children;
16
+ declare function TSDocReflectionMethod(props: TSDocProps): _alloy_js_core15.Children;
17
17
  //#endregion
18
18
  export { TSDocReflectionMethod as n, TSDocReflectionProperty as r, TSDocReflectionClass as t };
19
- //# sourceMappingURL=tsdoc-reflection-D8Zr70Pj.d.cts.map
19
+ //# sourceMappingURL=tsdoc-reflection-DpF0t1Xj.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tsdoc-reflection-DpF0t1Xj.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,gBAAA,CAAA,QAFiB;;;;AAEjB,iBAyEH,uBAAA,CAzEG,KAAA,EAyE4B,UAzE5B,CAAA,EAyEsC,gBAAA,CAAA,QAzEtC;;AAyEnB;AA8BA;iBAAgB,qBAAA,QAA6B,aAAU,gBAAA,CAAA"}
@@ -1,9 +1,9 @@
1
- require('../../context-DNdlL_gp.cjs');
2
- require('../../meta-BjTflizw.cjs');
1
+ require('../../meta-CBKMGDr1.cjs');
2
+ require('../../context-D-lZVHpZ.cjs');
3
3
  require('../../single-line-comment-DvU69OGj.cjs');
4
- require('../../source-file-BCcq9Me3.cjs');
5
- require('../../tsdoc-BufL8muf.cjs');
6
- require('../../typescript-file-D8ACLdIR.cjs');
7
- const require_builtin_file = require('../../builtin-file-V_vMh8s8.cjs');
4
+ require('../../source-file-C8ntga6V.cjs');
5
+ require('../../tsdoc-fSRc8v2O.cjs');
6
+ require('../../typescript-file-DKYD5v5W.cjs');
7
+ const require_builtin_file = require('../../builtin-file-vG9RwKpd.cjs');
8
8
 
9
9
  exports.BuiltinFile = require_builtin_file.BuiltinFile;
@@ -1,6 +1,6 @@
1
1
  import "../../components-DqfyRVFO.cjs";
2
- import "../../source-file-BmRUb_Gl.cjs";
2
+ import "../../source-file-BNYeD1w4.cjs";
3
3
  import "../../tsdoc-BpOXtq0v.cjs";
4
- import "../../typescript-file-VcbRuqFR.cjs";
5
- import { n as BuiltinFileProps, r as __ΩBuiltinFileProps, t as BuiltinFile } from "../../builtin-file-GdYKn4vl.cjs";
4
+ import "../../typescript-file-BqamPJcI.cjs";
5
+ import { n as BuiltinFileProps, r as __ΩBuiltinFileProps, t as BuiltinFile } from "../../builtin-file-PDckmfzE.cjs";
6
6
  export { BuiltinFile, BuiltinFileProps, __ΩBuiltinFileProps };
@@ -1,9 +1,9 @@
1
- import "../../context-CdPajCh6.mjs";
2
- import "../../meta-D0pfCtdR.mjs";
1
+ import "../../meta-BuwJuxY9.mjs";
2
+ import "../../context-BaVJCPfX.mjs";
3
3
  import "../../single-line-comment-MRVbskt3.mjs";
4
- import "../../source-file-MLTzYO0w.mjs";
5
- import "../../tsdoc-DB1Qzwsn.mjs";
6
- import "../../typescript-file-DJy5gCL9.mjs";
7
- import { t as BuiltinFile } from "../../builtin-file-uzudbU6M.mjs";
4
+ import "../../source-file-B5FSrvOa.mjs";
5
+ import "../../tsdoc-prhuuYav.mjs";
6
+ import "../../typescript-file-CNCLRiyf.mjs";
7
+ import { t as BuiltinFile } from "../../builtin-file-B8Y36s1a.mjs";
8
8
 
9
9
  export { BuiltinFile };
@@ -1,2 +1,2 @@
1
- import { n as DynamicImportStatementProps, r as __ΩDynamicImportStatementProps, t as DynamicImportStatement } from "../../dynamic-import-statement-CNsIFAva.cjs";
1
+ import { n as DynamicImportStatementProps, r as __ΩDynamicImportStatementProps, t as DynamicImportStatement } from "../../dynamic-import-statement-BMF8UCoZ.cjs";
2
2
  export { DynamicImportStatement, DynamicImportStatementProps, __ΩDynamicImportStatementProps };
@@ -1,8 +1,8 @@
1
- require('../../context-DNdlL_gp.cjs');
2
- require('../../meta-BjTflizw.cjs');
1
+ require('../../meta-CBKMGDr1.cjs');
2
+ require('../../context-D-lZVHpZ.cjs');
3
3
  require('../../single-line-comment-DvU69OGj.cjs');
4
- require('../../source-file-BCcq9Me3.cjs');
5
- require('../../typescript-file-D8ACLdIR.cjs');
6
- const require_entry_file = require('../../entry-file-Big6nfUK.cjs');
4
+ require('../../source-file-C8ntga6V.cjs');
5
+ require('../../typescript-file-DKYD5v5W.cjs');
6
+ const require_entry_file = require('../../entry-file-BF1TZjhp.cjs');
7
7
 
8
8
  exports.EntryFile = require_entry_file.EntryFile;
@@ -1,5 +1,5 @@
1
1
  import "../../components-DqfyRVFO.cjs";
2
- import "../../source-file-BmRUb_Gl.cjs";
3
- import "../../typescript-file-VcbRuqFR.cjs";
4
- import { n as EntryFileProps, r as __ΩEntryFileProps, t as EntryFile } from "../../entry-file-ZcGBmLac.cjs";
2
+ import "../../source-file-BNYeD1w4.cjs";
3
+ import "../../typescript-file-BqamPJcI.cjs";
4
+ import { n as EntryFileProps, r as __ΩEntryFileProps, t as EntryFile } from "../../entry-file-CHSinjc8.cjs";
5
5
  export { EntryFile, EntryFileProps, __ΩEntryFileProps };
@@ -1,8 +1,8 @@
1
- import "../../context-CdPajCh6.mjs";
2
- import "../../meta-D0pfCtdR.mjs";
1
+ import "../../meta-BuwJuxY9.mjs";
2
+ import "../../context-BaVJCPfX.mjs";
3
3
  import "../../single-line-comment-MRVbskt3.mjs";
4
- import "../../source-file-MLTzYO0w.mjs";
5
- import "../../typescript-file-DJy5gCL9.mjs";
6
- import { t as EntryFile } from "../../entry-file-BwAnSku3.mjs";
4
+ import "../../source-file-B5FSrvOa.mjs";
5
+ import "../../typescript-file-CNCLRiyf.mjs";
6
+ import { t as EntryFile } from "../../entry-file-DzlSog-0.mjs";
7
7
 
8
8
  export { EntryFile };
@@ -1,17 +1,17 @@
1
- require('../../context-DNdlL_gp.cjs');
2
- require('../../meta-BjTflizw.cjs');
1
+ require('../../meta-CBKMGDr1.cjs');
2
+ require('../../context-D-lZVHpZ.cjs');
3
3
  require('../../single-line-comment-DvU69OGj.cjs');
4
- require('../../source-file-BCcq9Me3.cjs');
4
+ require('../../source-file-C8ntga6V.cjs');
5
5
  require('../../reflection-BSrdR0Qz.cjs');
6
- const require_tsdoc = require('../../tsdoc-BufL8muf.cjs');
7
- const require_typescript_file = require('../../typescript-file-D8ACLdIR.cjs');
8
- const require_builtin_file = require('../../builtin-file-V_vMh8s8.cjs');
6
+ const require_tsdoc = require('../../tsdoc-fSRc8v2O.cjs');
7
+ const require_typescript_file = require('../../typescript-file-DKYD5v5W.cjs');
8
+ const require_builtin_file = require('../../builtin-file-vG9RwKpd.cjs');
9
9
  const require_dynamic_import_statement = require('../../dynamic-import-statement-Dy_MY_Ua.cjs');
10
- const require_entry_file = require('../../entry-file-Big6nfUK.cjs');
10
+ const require_entry_file = require('../../entry-file-BF1TZjhp.cjs');
11
11
  const require_record_expression = require('../../record-expression-6ElbFyR0.cjs');
12
- const require_tsdoc_reflection = require('../../tsdoc-reflection-Cov5Qh1c.cjs');
13
- const require_typescript_interface = require('../../typescript-interface-Q4trMyzm.cjs');
14
- const require_typescript_object = require('../../typescript-object-DHFnCfRa.cjs');
12
+ const require_tsdoc_reflection = require('../../tsdoc-reflection-BpkFCXw6.cjs');
13
+ const require_typescript_interface = require('../../typescript-interface-DC2d5S0V.cjs');
14
+ const require_typescript_object = require('../../typescript-object-CGjPvsYM.cjs');
15
15
  require('../../components-ISRFDWTF.cjs');
16
16
 
17
17
  exports.BuiltinFile = require_builtin_file.BuiltinFile;
@@ -1,13 +1,13 @@
1
1
  import "../../components-DqfyRVFO.cjs";
2
- import "../../source-file-BmRUb_Gl.cjs";
2
+ import "../../source-file-BNYeD1w4.cjs";
3
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-BpOXtq0v.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-VcbRuqFR.cjs";
5
- import { n as BuiltinFileProps, r as __ΩBuiltinFileProps, t as BuiltinFile } from "../../builtin-file-GdYKn4vl.cjs";
6
- import { n as DynamicImportStatementProps, r as __ΩDynamicImportStatementProps, t as DynamicImportStatement } from "../../dynamic-import-statement-CNsIFAva.cjs";
7
- import { n as EntryFileProps, r as __ΩEntryFileProps, t as EntryFile } from "../../entry-file-ZcGBmLac.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-BqamPJcI.cjs";
5
+ import { n as BuiltinFileProps, r as __ΩBuiltinFileProps, t as BuiltinFile } from "../../builtin-file-PDckmfzE.cjs";
6
+ import { n as DynamicImportStatementProps, r as __ΩDynamicImportStatementProps, t as DynamicImportStatement } from "../../dynamic-import-statement-BMF8UCoZ.cjs";
7
+ import { n as EntryFileProps, r as __ΩEntryFileProps, t as EntryFile } from "../../entry-file-CHSinjc8.cjs";
8
8
  import { n as RecordExpressionProps, r as __ΩRecordExpressionProps, t as RecordExpression } from "../../record-expression-Dwg_PZpg.cjs";
9
- import { n as TSDocReflectionMethod, r as TSDocReflectionProperty, t as TSDocReflectionClass } from "../../tsdoc-reflection-D8Zr70Pj.cjs";
10
- import { a as __ΩTypeScriptInterfaceProps, i as TypescriptInterfacePropertyProps, n as TypeScriptInterfaceProps, o as __ΩTypescriptInterfacePropertyProps, r as TypescriptInterfaceProperty, t as TypeScriptInterface } from "../../typescript-interface-_Kb_nHxR.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-DBPxpkoP.cjs";
9
+ import { n as TSDocReflectionMethod, r as TSDocReflectionProperty, t as TSDocReflectionClass } from "../../tsdoc-reflection-BGmCcaYs.cjs";
10
+ import { a as __ΩTypeScriptInterfaceProps, i as TypescriptInterfacePropertyProps, n as TypeScriptInterfaceProps, o as __ΩTypescriptInterfacePropertyProps, r as TypescriptInterfaceProperty, t as TypeScriptInterface } from "../../typescript-interface-LTD6nhQZ.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-BeOv-T9D.cjs";
12
12
  import "../../index-BhY1qu3m.cjs";
13
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 };