@powerlines/plugin-alloy 0.25.15 → 0.25.16

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 (261) hide show
  1. package/dist/core/components/output.mjs +1 -2
  2. package/dist/core/components/single-line-comment.mjs +1 -2
  3. package/dist/core/components/source-file.mjs +1 -2
  4. package/dist/core/components/spacing.mjs +1 -2
  5. package/dist/core/contexts/context.mjs +1 -2
  6. package/dist/core/contexts/meta.mjs +1 -2
  7. package/dist/core/contexts/reflection.mjs +1 -2
  8. package/dist/core/helpers/code.mjs +1 -2
  9. package/dist/helpers/capnp.mjs +1 -2
  10. package/dist/helpers/create-builtin.mjs +1 -2
  11. package/dist/helpers/refkey.mjs +1 -2
  12. package/dist/helpers/typescript.mjs +1 -2
  13. package/dist/index.mjs +1 -2
  14. package/dist/markdown/components/front-matter.mjs +1 -2
  15. package/dist/markdown/components/markdown-file.mjs +1 -2
  16. package/dist/markdown/components/markdown-table.mjs +1 -2
  17. package/dist/markdown/contexts/markdown-table.mjs +1 -2
  18. package/dist/render.mjs +1 -2
  19. package/dist/typescript/components/builtin-file.mjs +1 -2
  20. package/dist/typescript/components/class-declaration.mjs +1 -2
  21. package/dist/typescript/components/dynamic-import-statement.mjs +1 -2
  22. package/dist/typescript/components/entry-file.mjs +1 -2
  23. package/dist/typescript/components/infrastructure-file.mjs +1 -2
  24. package/dist/typescript/components/interface-declaration.mjs +1 -2
  25. package/dist/typescript/components/object-declaration.mjs +1 -2
  26. package/dist/typescript/components/property-name.mjs +1 -2
  27. package/dist/typescript/components/record-expression.mjs +1 -2
  28. package/dist/typescript/components/tsdoc-reflection.mjs +1 -2
  29. package/dist/typescript/components/tsdoc.mjs +1 -2
  30. package/dist/typescript/components/type-declaration.mjs +1 -2
  31. package/dist/typescript/components/type-parameters.mjs +1 -2
  32. package/dist/typescript/components/typescript-file.mjs +1 -2
  33. package/dist/typescript/contexts/lexical-scope.mjs +1 -2
  34. package/dist/typescript/contexts/member-scope.mjs +1 -2
  35. package/dist/typescript/helpers/get-call-signature-props.mjs +1 -2
  36. package/dist/typescript/helpers/utilities.mjs +1 -2
  37. package/dist/yaml/components/yaml-file.mjs +1 -2
  38. package/package.json +18 -18
  39. package/dist/core/components/index.d.cts +0 -5
  40. package/dist/core/components/index.d.mts +0 -5
  41. package/dist/core/components/output.d.cts +0 -25
  42. package/dist/core/components/output.d.cts.map +0 -1
  43. package/dist/core/components/output.d.mts +0 -25
  44. package/dist/core/components/output.d.mts.map +0 -1
  45. package/dist/core/components/output.mjs.map +0 -1
  46. package/dist/core/components/single-line-comment.d.cts +0 -23
  47. package/dist/core/components/single-line-comment.d.cts.map +0 -1
  48. package/dist/core/components/single-line-comment.d.mts +0 -23
  49. package/dist/core/components/single-line-comment.d.mts.map +0 -1
  50. package/dist/core/components/single-line-comment.mjs.map +0 -1
  51. package/dist/core/components/source-file.d.cts +0 -33
  52. package/dist/core/components/source-file.d.cts.map +0 -1
  53. package/dist/core/components/source-file.d.mts +0 -33
  54. package/dist/core/components/source-file.d.mts.map +0 -1
  55. package/dist/core/components/source-file.mjs.map +0 -1
  56. package/dist/core/components/spacing.d.cts +0 -24
  57. package/dist/core/components/spacing.d.cts.map +0 -1
  58. package/dist/core/components/spacing.d.mts +0 -24
  59. package/dist/core/components/spacing.d.mts.map +0 -1
  60. package/dist/core/components/spacing.mjs.map +0 -1
  61. package/dist/core/contexts/context.d.cts +0 -30
  62. package/dist/core/contexts/context.d.cts.map +0 -1
  63. package/dist/core/contexts/context.d.mts +0 -30
  64. package/dist/core/contexts/context.d.mts.map +0 -1
  65. package/dist/core/contexts/context.mjs.map +0 -1
  66. package/dist/core/contexts/index.d.cts +0 -4
  67. package/dist/core/contexts/index.d.mts +0 -4
  68. package/dist/core/contexts/meta.d.cts +0 -48
  69. package/dist/core/contexts/meta.d.cts.map +0 -1
  70. package/dist/core/contexts/meta.d.mts +0 -48
  71. package/dist/core/contexts/meta.d.mts.map +0 -1
  72. package/dist/core/contexts/meta.mjs.map +0 -1
  73. package/dist/core/contexts/reflection.d.cts +0 -53
  74. package/dist/core/contexts/reflection.d.cts.map +0 -1
  75. package/dist/core/contexts/reflection.d.mts +0 -53
  76. package/dist/core/contexts/reflection.d.mts.map +0 -1
  77. package/dist/core/contexts/reflection.mjs.map +0 -1
  78. package/dist/core/helpers/code.d.cts +0 -30
  79. package/dist/core/helpers/code.d.cts.map +0 -1
  80. package/dist/core/helpers/code.d.mts +0 -30
  81. package/dist/core/helpers/code.d.mts.map +0 -1
  82. package/dist/core/helpers/code.mjs.map +0 -1
  83. package/dist/core/helpers/index.d.cts +0 -2
  84. package/dist/core/helpers/index.d.mts +0 -2
  85. package/dist/core/index.d.cts +0 -12
  86. package/dist/core/index.d.mts +0 -12
  87. package/dist/helpers/capnp.d.cts +0 -88
  88. package/dist/helpers/capnp.d.cts.map +0 -1
  89. package/dist/helpers/capnp.d.mts +0 -88
  90. package/dist/helpers/capnp.d.mts.map +0 -1
  91. package/dist/helpers/capnp.mjs.map +0 -1
  92. package/dist/helpers/create-builtin.d.cts +0 -16
  93. package/dist/helpers/create-builtin.d.cts.map +0 -1
  94. package/dist/helpers/create-builtin.d.mts +0 -16
  95. package/dist/helpers/create-builtin.d.mts.map +0 -1
  96. package/dist/helpers/create-builtin.mjs.map +0 -1
  97. package/dist/helpers/index.d.cts +0 -5
  98. package/dist/helpers/index.d.mts +0 -5
  99. package/dist/helpers/refkey.d.cts +0 -14
  100. package/dist/helpers/refkey.d.cts.map +0 -1
  101. package/dist/helpers/refkey.d.mts +0 -14
  102. package/dist/helpers/refkey.d.mts.map +0 -1
  103. package/dist/helpers/refkey.mjs.map +0 -1
  104. package/dist/helpers/typescript.d.cts +0 -26
  105. package/dist/helpers/typescript.d.cts.map +0 -1
  106. package/dist/helpers/typescript.d.mts +0 -26
  107. package/dist/helpers/typescript.d.mts.map +0 -1
  108. package/dist/helpers/typescript.mjs.map +0 -1
  109. package/dist/index.d.cts +0 -19
  110. package/dist/index.d.cts.map +0 -1
  111. package/dist/index.d.mts +0 -19
  112. package/dist/index.d.mts.map +0 -1
  113. package/dist/index.mjs.map +0 -1
  114. package/dist/markdown/components/front-matter.d.cts +0 -16
  115. package/dist/markdown/components/front-matter.d.cts.map +0 -1
  116. package/dist/markdown/components/front-matter.d.mts +0 -16
  117. package/dist/markdown/components/front-matter.d.mts.map +0 -1
  118. package/dist/markdown/components/front-matter.mjs.map +0 -1
  119. package/dist/markdown/components/index.d.cts +0 -4
  120. package/dist/markdown/components/index.d.mts +0 -4
  121. package/dist/markdown/components/markdown-file.d.cts +0 -29
  122. package/dist/markdown/components/markdown-file.d.cts.map +0 -1
  123. package/dist/markdown/components/markdown-file.d.mts +0 -29
  124. package/dist/markdown/components/markdown-file.d.mts.map +0 -1
  125. package/dist/markdown/components/markdown-file.mjs.map +0 -1
  126. package/dist/markdown/components/markdown-table.d.cts +0 -28
  127. package/dist/markdown/components/markdown-table.d.cts.map +0 -1
  128. package/dist/markdown/components/markdown-table.d.mts +0 -28
  129. package/dist/markdown/components/markdown-table.d.mts.map +0 -1
  130. package/dist/markdown/components/markdown-table.mjs.map +0 -1
  131. package/dist/markdown/contexts/index.d.cts +0 -2
  132. package/dist/markdown/contexts/index.d.mts +0 -2
  133. package/dist/markdown/contexts/markdown-table.d.cts +0 -38
  134. package/dist/markdown/contexts/markdown-table.d.cts.map +0 -1
  135. package/dist/markdown/contexts/markdown-table.d.mts +0 -38
  136. package/dist/markdown/contexts/markdown-table.d.mts.map +0 -1
  137. package/dist/markdown/contexts/markdown-table.mjs.map +0 -1
  138. package/dist/markdown/index.d.cts +0 -7
  139. package/dist/markdown/index.d.mts +0 -7
  140. package/dist/render.d.cts +0 -39
  141. package/dist/render.d.cts.map +0 -1
  142. package/dist/render.d.mts +0 -39
  143. package/dist/render.d.mts.map +0 -1
  144. package/dist/render.mjs.map +0 -1
  145. package/dist/types/components.d.cts +0 -142
  146. package/dist/types/components.d.cts.map +0 -1
  147. package/dist/types/components.d.mts +0 -142
  148. package/dist/types/components.d.mts.map +0 -1
  149. package/dist/types/index.d.cts +0 -3
  150. package/dist/types/index.d.mts +0 -3
  151. package/dist/types/plugin.d.cts +0 -39
  152. package/dist/types/plugin.d.cts.map +0 -1
  153. package/dist/types/plugin.d.mts +0 -39
  154. package/dist/types/plugin.d.mts.map +0 -1
  155. package/dist/typescript/components/builtin-file.d.cts +0 -35
  156. package/dist/typescript/components/builtin-file.d.cts.map +0 -1
  157. package/dist/typescript/components/builtin-file.d.mts +0 -35
  158. package/dist/typescript/components/builtin-file.d.mts.map +0 -1
  159. package/dist/typescript/components/builtin-file.mjs.map +0 -1
  160. package/dist/typescript/components/class-declaration.d.cts +0 -145
  161. package/dist/typescript/components/class-declaration.d.cts.map +0 -1
  162. package/dist/typescript/components/class-declaration.d.mts +0 -145
  163. package/dist/typescript/components/class-declaration.d.mts.map +0 -1
  164. package/dist/typescript/components/class-declaration.mjs.map +0 -1
  165. package/dist/typescript/components/dynamic-import-statement.d.cts +0 -33
  166. package/dist/typescript/components/dynamic-import-statement.d.cts.map +0 -1
  167. package/dist/typescript/components/dynamic-import-statement.d.mts +0 -33
  168. package/dist/typescript/components/dynamic-import-statement.d.mts.map +0 -1
  169. package/dist/typescript/components/dynamic-import-statement.mjs.map +0 -1
  170. package/dist/typescript/components/entry-file.d.cts +0 -28
  171. package/dist/typescript/components/entry-file.d.cts.map +0 -1
  172. package/dist/typescript/components/entry-file.d.mts +0 -28
  173. package/dist/typescript/components/entry-file.d.mts.map +0 -1
  174. package/dist/typescript/components/entry-file.mjs.map +0 -1
  175. package/dist/typescript/components/index.d.cts +0 -15
  176. package/dist/typescript/components/index.d.mts +0 -15
  177. package/dist/typescript/components/infrastructure-file.d.cts +0 -21
  178. package/dist/typescript/components/infrastructure-file.d.cts.map +0 -1
  179. package/dist/typescript/components/infrastructure-file.d.mts +0 -21
  180. package/dist/typescript/components/infrastructure-file.d.mts.map +0 -1
  181. package/dist/typescript/components/infrastructure-file.mjs.map +0 -1
  182. package/dist/typescript/components/interface-declaration.d.cts +0 -86
  183. package/dist/typescript/components/interface-declaration.d.cts.map +0 -1
  184. package/dist/typescript/components/interface-declaration.d.mts +0 -86
  185. package/dist/typescript/components/interface-declaration.d.mts.map +0 -1
  186. package/dist/typescript/components/interface-declaration.mjs.map +0 -1
  187. package/dist/typescript/components/object-declaration.d.cts +0 -30
  188. package/dist/typescript/components/object-declaration.d.cts.map +0 -1
  189. package/dist/typescript/components/object-declaration.d.mts +0 -30
  190. package/dist/typescript/components/object-declaration.d.mts.map +0 -1
  191. package/dist/typescript/components/object-declaration.mjs.map +0 -1
  192. package/dist/typescript/components/property-name.d.cts +0 -24
  193. package/dist/typescript/components/property-name.d.cts.map +0 -1
  194. package/dist/typescript/components/property-name.d.mts +0 -24
  195. package/dist/typescript/components/property-name.d.mts.map +0 -1
  196. package/dist/typescript/components/property-name.mjs.map +0 -1
  197. package/dist/typescript/components/record-expression.d.cts +0 -13
  198. package/dist/typescript/components/record-expression.d.cts.map +0 -1
  199. package/dist/typescript/components/record-expression.d.mts +0 -13
  200. package/dist/typescript/components/record-expression.d.mts.map +0 -1
  201. package/dist/typescript/components/record-expression.mjs.map +0 -1
  202. package/dist/typescript/components/tsdoc-reflection.d.cts +0 -44
  203. package/dist/typescript/components/tsdoc-reflection.d.cts.map +0 -1
  204. package/dist/typescript/components/tsdoc-reflection.d.mts +0 -44
  205. package/dist/typescript/components/tsdoc-reflection.d.mts.map +0 -1
  206. package/dist/typescript/components/tsdoc-reflection.mjs.map +0 -1
  207. package/dist/typescript/components/tsdoc.d.cts +0 -164
  208. package/dist/typescript/components/tsdoc.d.cts.map +0 -1
  209. package/dist/typescript/components/tsdoc.d.mts +0 -164
  210. package/dist/typescript/components/tsdoc.d.mts.map +0 -1
  211. package/dist/typescript/components/tsdoc.mjs.map +0 -1
  212. package/dist/typescript/components/type-declaration.d.cts +0 -18
  213. package/dist/typescript/components/type-declaration.d.cts.map +0 -1
  214. package/dist/typescript/components/type-declaration.d.mts +0 -18
  215. package/dist/typescript/components/type-declaration.d.mts.map +0 -1
  216. package/dist/typescript/components/type-declaration.mjs.map +0 -1
  217. package/dist/typescript/components/type-parameters.d.cts +0 -24
  218. package/dist/typescript/components/type-parameters.d.cts.map +0 -1
  219. package/dist/typescript/components/type-parameters.d.mts +0 -24
  220. package/dist/typescript/components/type-parameters.d.mts.map +0 -1
  221. package/dist/typescript/components/type-parameters.mjs.map +0 -1
  222. package/dist/typescript/components/typescript-file.d.cts +0 -50
  223. package/dist/typescript/components/typescript-file.d.cts.map +0 -1
  224. package/dist/typescript/components/typescript-file.d.mts +0 -50
  225. package/dist/typescript/components/typescript-file.d.mts.map +0 -1
  226. package/dist/typescript/components/typescript-file.mjs.map +0 -1
  227. package/dist/typescript/contexts/index.d.cts +0 -2
  228. package/dist/typescript/contexts/index.d.mts +0 -2
  229. package/dist/typescript/contexts/lexical-scope.d.cts +0 -17
  230. package/dist/typescript/contexts/lexical-scope.d.cts.map +0 -1
  231. package/dist/typescript/contexts/lexical-scope.d.mts +0 -17
  232. package/dist/typescript/contexts/lexical-scope.d.mts.map +0 -1
  233. package/dist/typescript/contexts/lexical-scope.mjs.map +0 -1
  234. package/dist/typescript/contexts/member-scope.d.cts +0 -20
  235. package/dist/typescript/contexts/member-scope.d.cts.map +0 -1
  236. package/dist/typescript/contexts/member-scope.d.mts +0 -20
  237. package/dist/typescript/contexts/member-scope.d.mts.map +0 -1
  238. package/dist/typescript/contexts/member-scope.mjs.map +0 -1
  239. package/dist/typescript/helpers/get-call-signature-props.d.cts +0 -15
  240. package/dist/typescript/helpers/get-call-signature-props.d.cts.map +0 -1
  241. package/dist/typescript/helpers/get-call-signature-props.d.mts +0 -15
  242. package/dist/typescript/helpers/get-call-signature-props.d.mts.map +0 -1
  243. package/dist/typescript/helpers/get-call-signature-props.mjs.map +0 -1
  244. package/dist/typescript/helpers/index.d.cts +0 -3
  245. package/dist/typescript/helpers/index.d.mts +0 -3
  246. package/dist/typescript/helpers/utilities.d.cts +0 -11
  247. package/dist/typescript/helpers/utilities.d.cts.map +0 -1
  248. package/dist/typescript/helpers/utilities.d.mts +0 -11
  249. package/dist/typescript/helpers/utilities.d.mts.map +0 -1
  250. package/dist/typescript/helpers/utilities.mjs.map +0 -1
  251. package/dist/typescript/index.d.cts +0 -21
  252. package/dist/typescript/index.d.mts +0 -21
  253. package/dist/yaml/components/index.d.cts +0 -2
  254. package/dist/yaml/components/index.d.mts +0 -2
  255. package/dist/yaml/components/yaml-file.d.cts +0 -34
  256. package/dist/yaml/components/yaml-file.d.cts.map +0 -1
  257. package/dist/yaml/components/yaml-file.d.mts +0 -34
  258. package/dist/yaml/components/yaml-file.d.mts.map +0 -1
  259. package/dist/yaml/components/yaml-file.mjs.map +0 -1
  260. package/dist/yaml/index.d.cts +0 -3
  261. package/dist/yaml/index.d.mts +0 -3
@@ -36,5 +36,4 @@ function Output(props) {
36
36
  }
37
37
 
38
38
  //#endregion
39
- export { Output };
40
- //# sourceMappingURL=output.mjs.map
39
+ export { Output };
@@ -18,5 +18,4 @@ function SingleLineComment(props) {
18
18
  }
19
19
 
20
20
  //#endregion
21
- export { SingleLineComment };
22
- //# sourceMappingURL=single-line-comment.mjs.map
21
+ export { SingleLineComment };
@@ -58,5 +58,4 @@ function SourceFile(props) {
58
58
  }
59
59
 
60
60
  //#endregion
61
- export { SourceFile };
62
- //# sourceMappingURL=source-file.mjs.map
61
+ export { SourceFile };
@@ -15,5 +15,4 @@ function Spacing({ scale = 1 }) {
15
15
  }
16
16
 
17
17
  //#endregion
18
- export { Spacing };
19
- //# sourceMappingURL=spacing.mjs.map
18
+ export { Spacing };
@@ -33,5 +33,4 @@ function usePowerlines() {
33
33
  }
34
34
 
35
35
  //#endregion
36
- export { PowerlinesContext, usePowerlines, usePowerlinesContext, usePowerlinesSafe };
37
- //# sourceMappingURL=context.mjs.map
36
+ export { PowerlinesContext, usePowerlines, usePowerlinesContext, usePowerlinesSafe };
@@ -33,5 +33,4 @@ function useMeta() {
33
33
  }
34
34
 
35
35
  //#endregion
36
- export { MetaContext, useMeta, useMetaContext, useMetaSafe };
37
- //# sourceMappingURL=meta.mjs.map
36
+ export { MetaContext, useMeta, useMetaContext, useMetaSafe };
@@ -57,5 +57,4 @@ function useReflectionParameter() {
57
57
  }
58
58
 
59
59
  //#endregion
60
- export { ReflectionClassContext, ReflectionMethodContext, ReflectionParameterContext, ReflectionPropertyContext, useReflectionClass, useReflectionMethod, useReflectionParameter, useReflectionProperty };
61
- //# sourceMappingURL=reflection.mjs.map
60
+ export { ReflectionClassContext, ReflectionMethodContext, ReflectionParameterContext, ReflectionPropertyContext, useReflectionClass, useReflectionMethod, useReflectionParameter, useReflectionProperty };
@@ -29,5 +29,4 @@ function code(template, ...substitutions) {
29
29
  }
30
30
 
31
31
  //#endregion
32
- export { code };
33
- //# sourceMappingURL=code.mjs.map
32
+ export { code };
@@ -256,5 +256,4 @@ function generateCapnpPrimitive(type) {
256
256
  }
257
257
 
258
258
  //#endregion
259
- export { LARGE_BUFFER, compile, generateCapnp, generateCapnpEnumSchema, generateCapnpId, generateCapnpInterface, generateCapnpMethodSchema, generateCapnpPrimitive, generateCapnpSchema, generateCapnpStruct, getCapnpEnumTypes, getCapnpUnionTypes, isCapnpStringUnion, isVoidType, stringifyCapnpDefaultValue, stringifyCapnpValue };
260
- //# sourceMappingURL=capnp.mjs.map
259
+ export { LARGE_BUFFER, compile, generateCapnp, generateCapnpEnumSchema, generateCapnpId, generateCapnpInterface, generateCapnpMethodSchema, generateCapnpPrimitive, generateCapnpSchema, generateCapnpStruct, getCapnpEnumTypes, getCapnpUnionTypes, isCapnpStringUnion, isVoidType, stringifyCapnpDefaultValue, stringifyCapnpValue };
@@ -15,5 +15,4 @@ function createBuiltin(options) {
15
15
  }
16
16
 
17
17
  //#endregion
18
- export { createBuiltin };
19
- //# sourceMappingURL=create-builtin.mjs.map
18
+ export { createBuiltin };
@@ -12,5 +12,4 @@ function refkey(...args) {
12
12
  }
13
13
 
14
14
  //#endregion
15
- export { refkey };
16
- //# sourceMappingURL=refkey.mjs.map
15
+ export { refkey };
@@ -42,5 +42,4 @@ export const ${camelCase(options.overrideName || reflection.getName())}${options
42
42
  }
43
43
 
44
44
  //#endregion
45
- export { generateObjectDeclaration };
46
- //# sourceMappingURL=typescript.mjs.map
45
+ export { generateObjectDeclaration };
package/dist/index.mjs CHANGED
@@ -39,5 +39,4 @@ const plugin = (options = {}) => {
39
39
  var src_default = plugin;
40
40
 
41
41
  //#endregion
42
- export { src_default as default, plugin };
43
- //# sourceMappingURL=index.mjs.map
42
+ export { src_default as default, plugin };
@@ -24,5 +24,4 @@ function FrontMatter(props) {
24
24
  }
25
25
 
26
26
  //#endregion
27
- export { FrontMatter };
28
- //# sourceMappingURL=front-matter.mjs.map
27
+ export { FrontMatter };
@@ -129,5 +129,4 @@ function MarkdownFileHeader(props) {
129
129
  }
130
130
 
131
131
  //#endregion
132
- export { MarkdownFile, MarkdownFileHeader };
133
- //# sourceMappingURL=markdown-file.mjs.map
132
+ export { MarkdownFile, MarkdownFileHeader };
@@ -95,5 +95,4 @@ function MarkdownTableColumnHeader(props) {
95
95
  }
96
96
 
97
97
  //#endregion
98
- export { MarkdownTable, MarkdownTableColumn, MarkdownTableColumnHeader };
99
- //# sourceMappingURL=markdown-table.mjs.map
98
+ export { MarkdownTable, MarkdownTableColumn, MarkdownTableColumnHeader };
@@ -30,5 +30,4 @@ function useMarkdownTable() {
30
30
  }
31
31
 
32
32
  //#endregion
33
- export { MarkdownTableColumnContext, MarkdownTableContext, useMarkdownTable, useMarkdownTableColumn };
34
- //# sourceMappingURL=markdown-table.mjs.map
33
+ export { MarkdownTableColumnContext, MarkdownTableContext, useMarkdownTable, useMarkdownTableColumn };
package/dist/render.mjs CHANGED
@@ -85,5 +85,4 @@ function renderString(context, children, options) {
85
85
  }
86
86
 
87
87
  //#endregion
88
- export { render, renderString };
89
- //# sourceMappingURL=render.mjs.map
88
+ export { render, renderString };
@@ -58,5 +58,4 @@ function BuiltinFile(props) {
58
58
  }
59
59
 
60
60
  //#endregion
61
- export { BuiltinFile };
62
- //# sourceMappingURL=builtin-file.mjs.map
61
+ export { BuiltinFile };
@@ -296,5 +296,4 @@ function ClassMethod(props) {
296
296
  }
297
297
 
298
298
  //#endregion
299
- export { ClassDeclaration, ClassField, ClassMember, ClassMethod, ClassPropertyGet, ClassPropertySet };
300
- //# sourceMappingURL=class-declaration.mjs.map
299
+ export { ClassDeclaration, ClassField, ClassMember, ClassMethod, ClassPropertyGet, ClassPropertySet };
@@ -21,5 +21,4 @@ function DynamicImportStatement(props) {
21
21
  }
22
22
 
23
23
  //#endregion
24
- export { DynamicImportStatement };
25
- //# sourceMappingURL=dynamic-import-statement.mjs.map
24
+ export { DynamicImportStatement };
@@ -37,5 +37,4 @@ function EntryFile(props) {
37
37
  }
38
38
 
39
39
  //#endregion
40
- export { EntryFile };
41
- //# sourceMappingURL=entry-file.mjs.map
40
+ export { EntryFile };
@@ -34,5 +34,4 @@ function InfrastructureFile(props) {
34
34
  }
35
35
 
36
36
  //#endregion
37
- export { InfrastructureFile };
38
- //# sourceMappingURL=infrastructure-file.mjs.map
37
+ export { InfrastructureFile };
@@ -221,5 +221,4 @@ function InterfaceDeclarationProperty(props) {
221
221
  }
222
222
 
223
223
  //#endregion
224
- export { InterfaceDeclaration, InterfaceDeclarationProperty, InterfaceExpression, InterfaceMember };
225
- //# sourceMappingURL=interface-declaration.mjs.map
224
+ export { InterfaceDeclaration, InterfaceDeclarationProperty, InterfaceExpression, InterfaceMember };
@@ -122,5 +122,4 @@ function ObjectDeclarationProperty(props) {
122
122
  }
123
123
 
124
124
  //#endregion
125
- export { ObjectDeclaration, ObjectDeclarationProperty };
126
- //# sourceMappingURL=object-declaration.mjs.map
125
+ export { ObjectDeclaration, ObjectDeclarationProperty };
@@ -27,5 +27,4 @@ function quoteIfNeeded(name) {
27
27
  }
28
28
 
29
29
  //#endregion
30
- export { PropertyName };
31
- //# sourceMappingURL=property-name.mjs.map
30
+ export { PropertyName };
@@ -8,5 +8,4 @@ function RecordExpression({ elementType }) {
8
8
  }
9
9
 
10
10
  //#endregion
11
- export { RecordExpression };
12
- //# sourceMappingURL=record-expression.mjs.map
11
+ export { RecordExpression };
@@ -300,5 +300,4 @@ function TSDocContextMethod(props) {
300
300
  }
301
301
 
302
302
  //#endregion
303
- export { TSDocContextClass, TSDocContextMethod, TSDocContextProperty, TSDocReflectionClass, TSDocReflectionMethod, TSDocReflectionProperty };
304
- //# sourceMappingURL=tsdoc-reflection.mjs.map
303
+ export { TSDocContextClass, TSDocContextMethod, TSDocContextProperty, TSDocReflectionClass, TSDocReflectionMethod, TSDocReflectionProperty };
@@ -453,5 +453,4 @@ function TSDocModule(props) {
453
453
  }
454
454
 
455
455
  //#endregion
456
- export { TSDoc, TSDocAlias, TSDocAttributesTags, TSDocDefaultValue, TSDocDomain, TSDocExample, TSDocHidden, TSDocIgnore, TSDocInternal, TSDocLink, TSDocModule, TSDocParam, TSDocParams, TSDocPermission, TSDocReadonly, TSDocRemarks, TSDocReturns, TSDocTag, TSDocThrows, TSDocTitle };
457
- //# sourceMappingURL=tsdoc.mjs.map
456
+ export { TSDoc, TSDocAlias, TSDocAttributesTags, TSDocDefaultValue, TSDocDomain, TSDocExample, TSDocHidden, TSDocIgnore, TSDocInternal, TSDocLink, TSDocModule, TSDocParam, TSDocParams, TSDocPermission, TSDocReadonly, TSDocRemarks, TSDocReturns, TSDocTag, TSDocThrows, TSDocTitle };
@@ -34,5 +34,4 @@ const TypeDeclaration = ensureTypeRefContext(function TypeDeclaration$1(props) {
34
34
  });
35
35
 
36
36
  //#endregion
37
- export { TypeDeclaration };
38
- //# sourceMappingURL=type-declaration.mjs.map
37
+ export { TypeDeclaration };
@@ -78,5 +78,4 @@ function TypeParameters(props) {
78
78
  }
79
79
 
80
80
  //#endregion
81
- export { TypeParameters };
82
- //# sourceMappingURL=type-parameters.mjs.map
81
+ export { TypeParameters };
@@ -224,5 +224,4 @@ function TypescriptFileHeaderImports(props) {
224
224
  }
225
225
 
226
226
  //#endregion
227
- export { TypescriptFile, TypescriptFileHeader, TypescriptFileHeaderImports };
228
- //# sourceMappingURL=typescript-file.mjs.map
227
+ export { TypescriptFile, TypescriptFileHeader, TypescriptFileHeaderImports };
@@ -21,5 +21,4 @@ function LexicalScope(props) {
21
21
  }
22
22
 
23
23
  //#endregion
24
- export { LexicalScope };
25
- //# sourceMappingURL=lexical-scope.mjs.map
24
+ export { LexicalScope };
@@ -19,5 +19,4 @@ function MemberScope(props) {
19
19
  }
20
20
 
21
21
  //#endregion
22
- export { MemberScope };
23
- //# sourceMappingURL=member-scope.mjs.map
22
+ export { MemberScope };
@@ -21,5 +21,4 @@ function getCallSignatureProps(props, defaults) {
21
21
  }
22
22
 
23
23
  //#endregion
24
- export { getCallSignatureProps };
25
- //# sourceMappingURL=get-call-signature-props.mjs.map
24
+ export { getCallSignatureProps };
@@ -10,5 +10,4 @@ function isValidJSIdentifier(identifier) {
10
10
  }
11
11
 
12
12
  //#endregion
13
- export { isValidJSIdentifier };
14
- //# sourceMappingURL=utilities.mjs.map
13
+ export { isValidJSIdentifier };
@@ -143,5 +143,4 @@ function YamlFileHeader(props) {
143
143
  }
144
144
 
145
145
  //#endregion
146
- export { YamlFile, YamlFileHeader };
147
- //# sourceMappingURL=yaml-file.mjs.map
146
+ export { YamlFile, YamlFileHeader };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-alloy",
3
- "version": "0.25.15",
3
+ "version": "0.25.16",
4
4
  "type": "module",
5
5
  "description": "A package containing various Alloy framework components and helper utilities.",
6
6
  "repository": {
@@ -810,28 +810,28 @@
810
810
  "@alloy-js/markdown": "0.23.0-dev.1",
811
811
  "@alloy-js/rollup-plugin": "^0.1.0",
812
812
  "@alloy-js/typescript": "0.23.0-dev.4",
813
- "@powerlines/deepkit": "^0.6.110",
814
- "@powerlines/plugin-babel": "^0.12.336",
815
- "@storm-software/config-tools": "^1.189.21",
816
- "@stryke/capnp": "^0.12.80",
817
- "@stryke/convert": "^0.6.51",
818
- "@stryke/fs": "^0.33.55",
819
- "@stryke/helpers": "^0.10.1",
820
- "@stryke/json": "^0.14.5",
821
- "@stryke/path": "^0.26.17",
822
- "@stryke/string-format": "^0.17.1",
823
- "@stryke/type-checks": "^0.5.36",
824
- "@stryke/types": "^0.10.50",
825
- "@stryke/unique-id": "^0.3.66",
813
+ "@powerlines/deepkit": "^0.6.111",
814
+ "@powerlines/plugin-babel": "^0.12.337",
815
+ "@storm-software/config-tools": "^1.189.26",
816
+ "@stryke/capnp": "^0.12.82",
817
+ "@stryke/convert": "^0.6.52",
818
+ "@stryke/fs": "^0.33.56",
819
+ "@stryke/helpers": "^0.10.2",
820
+ "@stryke/json": "^0.14.6",
821
+ "@stryke/path": "^0.26.18",
822
+ "@stryke/string-format": "^0.17.2",
823
+ "@stryke/type-checks": "^0.5.37",
824
+ "@stryke/types": "^0.10.51",
825
+ "@stryke/unique-id": "^0.3.67",
826
826
  "defu": "^6.1.4",
827
- "powerlines": "^0.40.18",
827
+ "powerlines": "^0.40.19",
828
828
  "prettier": "^3.8.1",
829
829
  "unctx": "^2.5.0"
830
830
  },
831
831
  "devDependencies": {
832
- "@powerlines/plugin-plugin": "^0.12.282",
833
- "@types/node": "^25.3.5"
832
+ "@powerlines/plugin-plugin": "^0.12.283",
833
+ "@types/node": "^25.4.0"
834
834
  },
835
835
  "publishConfig": { "access": "public" },
836
- "gitHead": "7aff4b34ac598df76db48e9b713a2ff08ee85134"
836
+ "gitHead": "7496a546473274494be487ebc33cf267ed5cd1f0"
837
837
  }
@@ -1,5 +0,0 @@
1
- import { Output, OutputProps, __ΩOutputProps } from "./output.cjs";
2
- import { SingleLineComment, SingleLineCommentProps, SingleLineCommentVariant, __ΩSingleLineCommentProps, __ΩSingleLineCommentVariant } from "./single-line-comment.cjs";
3
- import { SourceFile, SourceFileProps, __ΩSourceFileProps } from "./source-file.cjs";
4
- import { Spacing, SpacingProps, __ΩSpacingProps } from "./spacing.cjs";
5
- export { Output, OutputProps, SingleLineComment, SingleLineCommentProps, SingleLineCommentVariant, SourceFile, SourceFileProps, Spacing, SpacingProps, __ΩOutputProps, __ΩSingleLineCommentProps, __ΩSingleLineCommentVariant, __ΩSourceFileProps, __ΩSpacingProps };
@@ -1,5 +0,0 @@
1
- import { Output, OutputProps, __ΩOutputProps } from "./output.mjs";
2
- import { SingleLineComment, SingleLineCommentProps, SingleLineCommentVariant, __ΩSingleLineCommentProps, __ΩSingleLineCommentVariant } from "./single-line-comment.mjs";
3
- import { SourceFile, SourceFileProps, __ΩSourceFileProps } from "./source-file.mjs";
4
- import { Spacing, SpacingProps, __ΩSpacingProps } from "./spacing.mjs";
5
- export { Output, OutputProps, SingleLineComment, SingleLineCommentProps, SingleLineCommentVariant, SourceFile, SourceFileProps, Spacing, SpacingProps, __ΩOutputProps, __ΩSingleLineCommentProps, __ΩSingleLineCommentVariant, __ΩSourceFileProps, __ΩSpacingProps };
@@ -1,25 +0,0 @@
1
- import { MetaItem } from "../contexts/meta.cjs";
2
- import "../contexts/index.cjs";
3
- import * as _alloy_js_core6 from "@alloy-js/core";
4
- import { OutputProps as OutputProps$1 } from "@alloy-js/core";
5
- import { PluginContext } from "@powerlines/core";
6
-
7
- //#region src/core/components/output.d.ts
8
- interface OutputProps<TContext extends PluginContext = PluginContext> extends Omit<OutputProps$1, "basePath"> {
9
- /**
10
- * The current Powerlines process context.
11
- */
12
- context: TContext;
13
- /**
14
- * The file metadata collected during rendering.
15
- */
16
- meta?: Record<string, MetaItem>;
17
- }
18
- /**
19
- * Output component for rendering the Powerlines plugin's output files via templates.
20
- */
21
- declare function Output<TContext extends PluginContext = PluginContext>(props: OutputProps<TContext>): _alloy_js_core6.Children;
22
- declare type __ΩOutputProps = any[];
23
- //#endregion
24
- export { Output, OutputProps, __ΩOutputProps };
25
- //# sourceMappingURL=output.d.cts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"output.d.cts","names":[],"sources":["../../../src/core/components/output.tsx"],"sourcesContent":[],"mappings":";;;;;;;UAwBiB,6BACE,gBAAgB,uBACzB,KAAK;;;;EAFE,OAAA,EAMN,QANiB;EACT;;;EAKR,IAAA,CAAA,EAKF,MALE,CAAA,MAAA,EAKa,QALb,CAAA;;;;;AAWK,iBAAA,MAAM,CAAA,iBAAkB,aAAlB,GAAkC,aAAlC,CAAA,CAAA,KAAA,EACb,WADa,CACD,QADC,CAAA,CAAA,EACF,eAAA,CAAU,QADR;AAAkB,8BAAA,GAAA,EAAA"}
@@ -1,25 +0,0 @@
1
- import { MetaItem } from "../contexts/meta.mjs";
2
- import "../contexts/index.mjs";
3
- import * as _alloy_js_core2 from "@alloy-js/core";
4
- import { OutputProps as OutputProps$1 } from "@alloy-js/core";
5
- import { PluginContext } from "@powerlines/core";
6
-
7
- //#region src/core/components/output.d.ts
8
- interface OutputProps<TContext extends PluginContext = PluginContext> extends Omit<OutputProps$1, "basePath"> {
9
- /**
10
- * The current Powerlines process context.
11
- */
12
- context: TContext;
13
- /**
14
- * The file metadata collected during rendering.
15
- */
16
- meta?: Record<string, MetaItem>;
17
- }
18
- /**
19
- * Output component for rendering the Powerlines plugin's output files via templates.
20
- */
21
- declare function Output<TContext extends PluginContext = PluginContext>(props: OutputProps<TContext>): _alloy_js_core2.Children;
22
- declare type __ΩOutputProps = any[];
23
- //#endregion
24
- export { Output, OutputProps, __ΩOutputProps };
25
- //# sourceMappingURL=output.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"output.d.mts","names":[],"sources":["../../../src/core/components/output.tsx"],"sourcesContent":[],"mappings":";;;;;;;UAwBiB,6BACE,gBAAgB,uBACzB,KAAK;;;;EAFE,OAAA,EAMN,QANiB;EACT;;;EAKR,IAAA,CAAA,EAKF,MALE,CAAA,MAAA,EAKa,QALb,CAAA;;;;;AAWK,iBAAA,MAAM,CAAA,iBAAkB,aAAlB,GAAkC,aAAlC,CAAA,CAAA,KAAA,EACb,WADa,CACD,QADC,CAAA,CAAA,EACF,eAAA,CAAU,QADR;AAAkB,8BAAA,GAAA,EAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"output.mjs","names":["computed","Output","OutputExternal","splitProps","MetaContext","PowerlinesContext","props","children","context","meta","rest","contextRef","_$createComponent","Provider","value","_$mergeProps","basePath","workspaceConfig","workspaceRoot"],"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 { computed, Output as OutputExternal, splitProps } from \"@alloy-js/core\";\nimport type { PluginContext } from \"@powerlines/core\";\nimport { MetaContext, MetaItem } from \"../contexts\";\nimport { PowerlinesContext } from \"../contexts/context\";\n\nexport interface OutputProps<\n TContext extends PluginContext = PluginContext\n> extends Omit<OutputPropsExternal, \"basePath\"> {\n /**\n * The current Powerlines process context.\n */\n context: TContext;\n\n /**\n * The file metadata collected during rendering.\n */\n meta?: Record<string, MetaItem>;\n}\n\n/**\n * Output component for rendering the Powerlines plugin's output files via templates.\n */\nexport function Output<TContext extends PluginContext = PluginContext>(\n props: OutputProps<TContext>\n) {\n const [{ children, context, meta = {} }, rest] = splitProps(props, [\n \"children\",\n \"context\",\n \"meta\"\n ]);\n\n const contextRef = computed(() => context);\n\n return (\n <MetaContext.Provider value={meta}>\n <PowerlinesContext.Provider value={contextRef.value}>\n <OutputExternal\n {...rest}\n basePath={contextRef.value.workspaceConfig.workspaceRoot}>\n {children}\n </OutputExternal>\n </PowerlinesContext.Provider>\n </MetaContext.Provider>\n );\n}\n"],"mappings":""}
@@ -1,23 +0,0 @@
1
- import { ComponentProps } from "../../types/components.cjs";
2
- import * as _alloy_js_core8 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" | "yaml";
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_core8.Children;
19
- declare type __ΩSingleLineCommentVariant = any[];
20
- declare type __ΩSingleLineCommentProps = any[];
21
- //#endregion
22
- export { SingleLineComment, SingleLineCommentProps, SingleLineCommentVariant, __ΩSingleLineCommentProps, __ΩSingleLineCommentVariant };
23
- //# sourceMappingURL=single-line-comment.d.cts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"single-line-comment.d.cts","names":[],"sources":["../../../src/core/components/single-line-comment.tsx"],"sourcesContent":[],"mappings":";;;;KAqBY,wBAAA;UAQK,sBAAA,SAA+B;;AARhD;AAQA;AAaA;;YAPY;;;;;;iBAOI,iBAAA,QAAyB,yBAAsB,eAAA,CAAA"}
@@ -1,23 +0,0 @@
1
- import { ComponentProps } from "../../types/components.mjs";
2
- import * as _alloy_js_core1 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" | "yaml";
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_core1.Children;
19
- declare type __ΩSingleLineCommentVariant = any[];
20
- declare type __ΩSingleLineCommentProps = any[];
21
- //#endregion
22
- export { SingleLineComment, SingleLineCommentProps, SingleLineCommentVariant, __ΩSingleLineCommentProps, __ΩSingleLineCommentVariant };
23
- //# sourceMappingURL=single-line-comment.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"single-line-comment.d.mts","names":[],"sources":["../../../src/core/components/single-line-comment.tsx"],"sourcesContent":[],"mappings":";;;;KAqBY,wBAAA;UAQK,sBAAA,SAA+B;;AARhD;AAQA;AAaA;;YAPY;;;;;;iBAOI,iBAAA,QAAyB,yBAAsB,eAAA,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"single-line-comment.mjs","names":["Prose","SingleLineComment","props","variant","children","commentStart","_$createIntrinsic","string","_$createComponent"],"sources":["../../../src/core/components/single-line-comment.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 { Prose } from \"@alloy-js/core\";\nimport { ComponentProps } from \"../../types/components\";\n\nexport type SingleLineCommentVariant =\n | \"double-slash\"\n | \"triple-slash\"\n | \"slash-star\"\n | \"slash-star-star\"\n | \"markdown\"\n | \"yaml\";\n\nexport interface SingleLineCommentProps extends ComponentProps {\n /**\n * The variant of the single line comment.\n *\n * @defaultValue \"double-slash\"\n */\n variant?: SingleLineCommentVariant;\n}\n\n/**\n * A single line comment block. The children are rendered as a prose element, which means that they\n * are broken into multiple lines\n */\nexport function SingleLineComment(props: SingleLineCommentProps) {\n const { variant = \"double-slash\", children } = props;\n\n const commentStart =\n variant === \"slash-star\"\n ? \"/* \"\n : variant === \"slash-star-star\"\n ? \"/** \"\n : variant === \"triple-slash\"\n ? \"/// \"\n : variant === \"markdown\"\n ? \"<!-- \"\n : variant === \"yaml\"\n ? \"# \"\n : \"// \";\n\n return (\n <>\n {commentStart}\n <align string={commentStart}>\n <Prose>{children}</Prose>\n\n {variant === \"slash-star\" || variant === \"slash-star-star\"\n ? \" */ \"\n : variant === \"markdown\"\n ? \" -->\"\n : \"\"}\n </align>\n </>\n );\n}\n"],"mappings":""}
@@ -1,33 +0,0 @@
1
- import { ComponentProps } from "../../types/components.cjs";
2
- import * as _alloy_js_core7 from "@alloy-js/core";
3
- import { SourceFileProps as SourceFileProps$1 } from "@alloy-js/core";
4
- import { StoragePreset } from "powerlines";
5
-
6
- //#region src/core/components/source-file.d.ts
7
- type SourceFileProps = SourceFileProps$1 & ComponentProps & {
8
- /**
9
- * The storage preset for the output files.
10
- *
11
- * @remarks
12
- * If not specified, the output mode will be determined by the provided `output.mode` value.
13
- */
14
- storage?: StoragePreset;
15
- /**
16
- * The metadata associated with the source file.
17
- *
18
- * @remarks
19
- * The values stored in the metadata will be available in the rendering context.
20
- */
21
- meta?: Record<string, any>;
22
- };
23
- /**
24
- * A base component representing a Powerlines generated source file.
25
- *
26
- * @param props - The properties for the source file.
27
- * @returns The rendered source file component.
28
- */
29
- declare function SourceFile(props: SourceFileProps): _alloy_js_core7.Children;
30
- declare type __ΩSourceFileProps = any[];
31
- //#endregion
32
- export { SourceFile, SourceFileProps, __ΩSourceFileProps };
33
- //# sourceMappingURL=source-file.d.cts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"source-file.d.cts","names":[],"sources":["../../../src/core/components/source-file.tsx"],"sourcesContent":[],"mappings":";;;;;;KAkCY,eAAA,GAAkB,oBAC5B;;;AADF;;;;EAgBW,OAAA,CAAA,EARG,aAQH;EAAM;AASjB;;;;;SATW;;;;;;;;iBASK,UAAA,QAAkB,kBAAe,eAAA,CAAA"}
@@ -1,33 +0,0 @@
1
- import { ComponentProps } from "../../types/components.mjs";
2
- import * as _alloy_js_core0 from "@alloy-js/core";
3
- import { SourceFileProps as SourceFileProps$1 } from "@alloy-js/core";
4
- import { StoragePreset } from "powerlines";
5
-
6
- //#region src/core/components/source-file.d.ts
7
- type SourceFileProps = SourceFileProps$1 & ComponentProps & {
8
- /**
9
- * The storage preset for the output files.
10
- *
11
- * @remarks
12
- * If not specified, the output mode will be determined by the provided `output.mode` value.
13
- */
14
- storage?: StoragePreset;
15
- /**
16
- * The metadata associated with the source file.
17
- *
18
- * @remarks
19
- * The values stored in the metadata will be available in the rendering context.
20
- */
21
- meta?: Record<string, any>;
22
- };
23
- /**
24
- * A base component representing a Powerlines generated source file.
25
- *
26
- * @param props - The properties for the source file.
27
- * @returns The rendered source file component.
28
- */
29
- declare function SourceFile(props: SourceFileProps): _alloy_js_core0.Children;
30
- declare type __ΩSourceFileProps = any[];
31
- //#endregion
32
- export { SourceFile, SourceFileProps, __ΩSourceFileProps };
33
- //# sourceMappingURL=source-file.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"source-file.d.mts","names":[],"sources":["../../../src/core/components/source-file.tsx"],"sourcesContent":[],"mappings":";;;;;;KAkCY,eAAA,GAAkB,oBAC5B;;;AADF;;;;EAgBW,OAAA,CAAA,EARG,aAQH;EAAM;AASjB;;;;;SATW;;;;;;;;iBASK,UAAA,QAAkB,kBAAe,eAAA,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"source-file.mjs","names":["getContext","Show","SourceDirectoryContext","SourceFileContext","splitProps","useContext","useFormatOptions","appendPath","defu","useMeta","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\";\nimport { ComponentProps } from \"../../types/components\";\nimport { useMeta } 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 = useMeta();\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,24 +0,0 @@
1
- import * as _alloy_js_core5 from "@alloy-js/core";
2
-
3
- //#region src/core/components/spacing.d.ts
4
- interface SpacingProps {
5
- /**
6
- * A scale factor that determines the amount of vertical space to be added.
7
- *
8
- * @remarks
9
- * The default value is 1, which corresponds to a standard spacing. A value of 2 would double the spacing, while a value of 0.5 would halve it.
10
- *
11
- * @defaultValue 1
12
- */
13
- scale?: number;
14
- }
15
- /**
16
- * A simple component that renders two horizontal breaks to create vertical spacing between elements.
17
- */
18
- declare function Spacing({
19
- scale
20
- }: SpacingProps): _alloy_js_core5.Children;
21
- declare type __ΩSpacingProps = any[];
22
- //#endregion
23
- export { Spacing, SpacingProps, __ΩSpacingProps };
24
- //# sourceMappingURL=spacing.d.cts.map