@powerlines/plugin-alloy 0.25.48 → 0.25.49

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 (334) hide show
  1. package/package.json +6 -6
  2. package/dist/_virtual/_rolldown/runtime.cjs +0 -29
  3. package/dist/_virtual/_rolldown/runtime.mjs +0 -3
  4. package/dist/core/components/index.cjs +0 -10
  5. package/dist/core/components/index.d.cts +0 -5
  6. package/dist/core/components/index.d.mts +0 -5
  7. package/dist/core/components/index.mjs +0 -6
  8. package/dist/core/components/output.cjs +0 -41
  9. package/dist/core/components/output.d.cts +0 -24
  10. package/dist/core/components/output.d.cts.map +0 -1
  11. package/dist/core/components/output.d.mts +0 -24
  12. package/dist/core/components/output.d.mts.map +0 -1
  13. package/dist/core/components/output.mjs +0 -40
  14. package/dist/core/components/output.mjs.map +0 -1
  15. package/dist/core/components/single-line-comment.cjs +0 -23
  16. package/dist/core/components/single-line-comment.d.cts +0 -23
  17. package/dist/core/components/single-line-comment.d.cts.map +0 -1
  18. package/dist/core/components/single-line-comment.d.mts +0 -23
  19. package/dist/core/components/single-line-comment.d.mts.map +0 -1
  20. package/dist/core/components/single-line-comment.mjs +0 -22
  21. package/dist/core/components/single-line-comment.mjs.map +0 -1
  22. package/dist/core/components/source-file.cjs +0 -64
  23. package/dist/core/components/source-file.d.cts +0 -33
  24. package/dist/core/components/source-file.d.cts.map +0 -1
  25. package/dist/core/components/source-file.d.mts +0 -33
  26. package/dist/core/components/source-file.d.mts.map +0 -1
  27. package/dist/core/components/source-file.mjs +0 -62
  28. package/dist/core/components/source-file.mjs.map +0 -1
  29. package/dist/core/components/spacing.cjs +0 -20
  30. package/dist/core/components/spacing.d.cts +0 -24
  31. package/dist/core/components/spacing.d.cts.map +0 -1
  32. package/dist/core/components/spacing.d.mts +0 -24
  33. package/dist/core/components/spacing.d.mts.map +0 -1
  34. package/dist/core/components/spacing.mjs +0 -19
  35. package/dist/core/components/spacing.mjs.map +0 -1
  36. package/dist/core/contexts/context.cjs +0 -41
  37. package/dist/core/contexts/context.d.cts +0 -29
  38. package/dist/core/contexts/context.d.cts.map +0 -1
  39. package/dist/core/contexts/context.d.mts +0 -29
  40. package/dist/core/contexts/context.d.mts.map +0 -1
  41. package/dist/core/contexts/context.mjs +0 -37
  42. package/dist/core/contexts/context.mjs.map +0 -1
  43. package/dist/core/contexts/index.cjs +0 -21
  44. package/dist/core/contexts/index.d.cts +0 -4
  45. package/dist/core/contexts/index.d.mts +0 -4
  46. package/dist/core/contexts/index.mjs +0 -5
  47. package/dist/core/contexts/meta.cjs +0 -41
  48. package/dist/core/contexts/meta.d.cts +0 -48
  49. package/dist/core/contexts/meta.d.cts.map +0 -1
  50. package/dist/core/contexts/meta.d.mts +0 -48
  51. package/dist/core/contexts/meta.d.mts.map +0 -1
  52. package/dist/core/contexts/meta.mjs +0 -37
  53. package/dist/core/contexts/meta.mjs.map +0 -1
  54. package/dist/core/contexts/reflection.cjs +0 -69
  55. package/dist/core/contexts/reflection.d.cts +0 -53
  56. package/dist/core/contexts/reflection.d.cts.map +0 -1
  57. package/dist/core/contexts/reflection.d.mts +0 -53
  58. package/dist/core/contexts/reflection.d.mts.map +0 -1
  59. package/dist/core/contexts/reflection.mjs +0 -61
  60. package/dist/core/contexts/reflection.mjs.map +0 -1
  61. package/dist/core/helpers/code.cjs +0 -34
  62. package/dist/core/helpers/code.d.cts +0 -29
  63. package/dist/core/helpers/code.d.cts.map +0 -1
  64. package/dist/core/helpers/code.d.mts +0 -29
  65. package/dist/core/helpers/code.d.mts.map +0 -1
  66. package/dist/core/helpers/code.mjs +0 -33
  67. package/dist/core/helpers/code.mjs.map +0 -1
  68. package/dist/core/helpers/index.cjs +0 -4
  69. package/dist/core/helpers/index.d.cts +0 -2
  70. package/dist/core/helpers/index.d.mts +0 -2
  71. package/dist/core/helpers/index.mjs +0 -3
  72. package/dist/core/index.cjs +0 -34
  73. package/dist/core/index.d.cts +0 -9
  74. package/dist/core/index.d.mts +0 -9
  75. package/dist/core/index.mjs +0 -13
  76. package/dist/helpers/capnp.cjs +0 -277
  77. package/dist/helpers/capnp.d.cts +0 -87
  78. package/dist/helpers/capnp.d.cts.map +0 -1
  79. package/dist/helpers/capnp.d.mts +0 -87
  80. package/dist/helpers/capnp.d.mts.map +0 -1
  81. package/dist/helpers/capnp.mjs +0 -260
  82. package/dist/helpers/capnp.mjs.map +0 -1
  83. package/dist/helpers/create-builtin.cjs +0 -20
  84. package/dist/helpers/create-builtin.d.cts +0 -16
  85. package/dist/helpers/create-builtin.d.cts.map +0 -1
  86. package/dist/helpers/create-builtin.d.mts +0 -16
  87. package/dist/helpers/create-builtin.d.mts.map +0 -1
  88. package/dist/helpers/create-builtin.mjs +0 -19
  89. package/dist/helpers/create-builtin.mjs.map +0 -1
  90. package/dist/helpers/index.cjs +0 -25
  91. package/dist/helpers/index.d.cts +0 -5
  92. package/dist/helpers/index.d.mts +0 -5
  93. package/dist/helpers/index.mjs +0 -6
  94. package/dist/helpers/refkey.cjs +0 -17
  95. package/dist/helpers/refkey.d.cts +0 -13
  96. package/dist/helpers/refkey.d.cts.map +0 -1
  97. package/dist/helpers/refkey.d.mts +0 -13
  98. package/dist/helpers/refkey.d.mts.map +0 -1
  99. package/dist/helpers/refkey.mjs +0 -16
  100. package/dist/helpers/refkey.mjs.map +0 -1
  101. package/dist/helpers/typescript.cjs +0 -47
  102. package/dist/helpers/typescript.d.cts +0 -26
  103. package/dist/helpers/typescript.d.cts.map +0 -1
  104. package/dist/helpers/typescript.d.mts +0 -26
  105. package/dist/helpers/typescript.d.mts.map +0 -1
  106. package/dist/helpers/typescript.mjs +0 -46
  107. package/dist/helpers/typescript.mjs.map +0 -1
  108. package/dist/index.cjs +0 -48
  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 +0 -45
  114. package/dist/index.mjs.map +0 -1
  115. package/dist/markdown/components/front-matter.cjs +0 -29
  116. package/dist/markdown/components/front-matter.d.cts +0 -16
  117. package/dist/markdown/components/front-matter.d.cts.map +0 -1
  118. package/dist/markdown/components/front-matter.d.mts +0 -16
  119. package/dist/markdown/components/front-matter.d.mts.map +0 -1
  120. package/dist/markdown/components/front-matter.mjs +0 -28
  121. package/dist/markdown/components/front-matter.mjs.map +0 -1
  122. package/dist/markdown/components/index.cjs +0 -11
  123. package/dist/markdown/components/index.d.cts +0 -4
  124. package/dist/markdown/components/index.d.mts +0 -4
  125. package/dist/markdown/components/index.mjs +0 -5
  126. package/dist/markdown/components/markdown-file.cjs +0 -135
  127. package/dist/markdown/components/markdown-file.d.cts +0 -29
  128. package/dist/markdown/components/markdown-file.d.cts.map +0 -1
  129. package/dist/markdown/components/markdown-file.d.mts +0 -29
  130. package/dist/markdown/components/markdown-file.d.mts.map +0 -1
  131. package/dist/markdown/components/markdown-file.mjs +0 -133
  132. package/dist/markdown/components/markdown-file.mjs.map +0 -1
  133. package/dist/markdown/components/markdown-table.cjs +0 -102
  134. package/dist/markdown/components/markdown-table.d.cts +0 -28
  135. package/dist/markdown/components/markdown-table.d.cts.map +0 -1
  136. package/dist/markdown/components/markdown-table.d.mts +0 -28
  137. package/dist/markdown/components/markdown-table.d.mts.map +0 -1
  138. package/dist/markdown/components/markdown-table.mjs +0 -99
  139. package/dist/markdown/components/markdown-table.mjs.map +0 -1
  140. package/dist/markdown/contexts/index.cjs +0 -7
  141. package/dist/markdown/contexts/index.d.cts +0 -2
  142. package/dist/markdown/contexts/index.d.mts +0 -2
  143. package/dist/markdown/contexts/index.mjs +0 -3
  144. package/dist/markdown/contexts/markdown-table.cjs +0 -38
  145. package/dist/markdown/contexts/markdown-table.d.cts +0 -38
  146. package/dist/markdown/contexts/markdown-table.d.cts.map +0 -1
  147. package/dist/markdown/contexts/markdown-table.d.mts +0 -38
  148. package/dist/markdown/contexts/markdown-table.d.mts.map +0 -1
  149. package/dist/markdown/contexts/markdown-table.mjs +0 -34
  150. package/dist/markdown/contexts/markdown-table.mjs.map +0 -1
  151. package/dist/markdown/index.cjs +0 -18
  152. package/dist/markdown/index.d.cts +0 -5
  153. package/dist/markdown/index.d.mts +0 -5
  154. package/dist/markdown/index.mjs +0 -8
  155. package/dist/render.cjs +0 -91
  156. package/dist/render.d.cts +0 -38
  157. package/dist/render.d.cts.map +0 -1
  158. package/dist/render.d.mts +0 -38
  159. package/dist/render.d.mts.map +0 -1
  160. package/dist/render.mjs +0 -89
  161. package/dist/render.mjs.map +0 -1
  162. package/dist/types/components.cjs +0 -0
  163. package/dist/types/components.d.cts +0 -142
  164. package/dist/types/components.d.cts.map +0 -1
  165. package/dist/types/components.d.mts +0 -142
  166. package/dist/types/components.d.mts.map +0 -1
  167. package/dist/types/components.mjs +0 -1
  168. package/dist/types/index.cjs +0 -0
  169. package/dist/types/index.d.cts +0 -3
  170. package/dist/types/index.d.mts +0 -3
  171. package/dist/types/index.mjs +0 -1
  172. package/dist/types/plugin.cjs +0 -0
  173. package/dist/types/plugin.d.cts +0 -39
  174. package/dist/types/plugin.d.cts.map +0 -1
  175. package/dist/types/plugin.d.mts +0 -39
  176. package/dist/types/plugin.d.mts.map +0 -1
  177. package/dist/types/plugin.mjs +0 -1
  178. package/dist/typescript/components/builtin-file.cjs +0 -63
  179. package/dist/typescript/components/builtin-file.d.cts +0 -35
  180. package/dist/typescript/components/builtin-file.d.cts.map +0 -1
  181. package/dist/typescript/components/builtin-file.d.mts +0 -35
  182. package/dist/typescript/components/builtin-file.d.mts.map +0 -1
  183. package/dist/typescript/components/builtin-file.mjs +0 -62
  184. package/dist/typescript/components/builtin-file.mjs.map +0 -1
  185. package/dist/typescript/components/class-declaration.cjs +0 -291
  186. package/dist/typescript/components/class-declaration.d.cts +0 -145
  187. package/dist/typescript/components/class-declaration.d.cts.map +0 -1
  188. package/dist/typescript/components/class-declaration.d.mts +0 -145
  189. package/dist/typescript/components/class-declaration.d.mts.map +0 -1
  190. package/dist/typescript/components/class-declaration.mjs +0 -285
  191. package/dist/typescript/components/class-declaration.mjs.map +0 -1
  192. package/dist/typescript/components/dynamic-import-statement.cjs +0 -26
  193. package/dist/typescript/components/dynamic-import-statement.d.cts +0 -33
  194. package/dist/typescript/components/dynamic-import-statement.d.cts.map +0 -1
  195. package/dist/typescript/components/dynamic-import-statement.d.mts +0 -33
  196. package/dist/typescript/components/dynamic-import-statement.d.mts.map +0 -1
  197. package/dist/typescript/components/dynamic-import-statement.mjs +0 -25
  198. package/dist/typescript/components/dynamic-import-statement.mjs.map +0 -1
  199. package/dist/typescript/components/entry-file.cjs +0 -43
  200. package/dist/typescript/components/entry-file.d.cts +0 -28
  201. package/dist/typescript/components/entry-file.d.cts.map +0 -1
  202. package/dist/typescript/components/entry-file.d.mts +0 -28
  203. package/dist/typescript/components/entry-file.d.mts.map +0 -1
  204. package/dist/typescript/components/entry-file.mjs +0 -41
  205. package/dist/typescript/components/entry-file.mjs.map +0 -1
  206. package/dist/typescript/components/index.cjs +0 -65
  207. package/dist/typescript/components/index.d.cts +0 -15
  208. package/dist/typescript/components/index.d.mts +0 -15
  209. package/dist/typescript/components/index.mjs +0 -16
  210. package/dist/typescript/components/infrastructure-file.cjs +0 -40
  211. package/dist/typescript/components/infrastructure-file.d.cts +0 -21
  212. package/dist/typescript/components/infrastructure-file.d.cts.map +0 -1
  213. package/dist/typescript/components/infrastructure-file.d.mts +0 -21
  214. package/dist/typescript/components/infrastructure-file.d.mts.map +0 -1
  215. package/dist/typescript/components/infrastructure-file.mjs +0 -38
  216. package/dist/typescript/components/infrastructure-file.mjs.map +0 -1
  217. package/dist/typescript/components/interface-declaration.cjs +0 -229
  218. package/dist/typescript/components/interface-declaration.d.cts +0 -86
  219. package/dist/typescript/components/interface-declaration.d.cts.map +0 -1
  220. package/dist/typescript/components/interface-declaration.d.mts +0 -86
  221. package/dist/typescript/components/interface-declaration.d.mts.map +0 -1
  222. package/dist/typescript/components/interface-declaration.mjs +0 -225
  223. package/dist/typescript/components/interface-declaration.mjs.map +0 -1
  224. package/dist/typescript/components/object-declaration.cjs +0 -128
  225. package/dist/typescript/components/object-declaration.d.cts +0 -30
  226. package/dist/typescript/components/object-declaration.d.cts.map +0 -1
  227. package/dist/typescript/components/object-declaration.d.mts +0 -30
  228. package/dist/typescript/components/object-declaration.d.mts.map +0 -1
  229. package/dist/typescript/components/object-declaration.mjs +0 -126
  230. package/dist/typescript/components/object-declaration.mjs.map +0 -1
  231. package/dist/typescript/components/property-name.cjs +0 -32
  232. package/dist/typescript/components/property-name.d.cts +0 -24
  233. package/dist/typescript/components/property-name.d.cts.map +0 -1
  234. package/dist/typescript/components/property-name.d.mts +0 -24
  235. package/dist/typescript/components/property-name.d.mts.map +0 -1
  236. package/dist/typescript/components/property-name.mjs +0 -31
  237. package/dist/typescript/components/property-name.mjs.map +0 -1
  238. package/dist/typescript/components/record-expression.cjs +0 -13
  239. package/dist/typescript/components/record-expression.d.cts +0 -13
  240. package/dist/typescript/components/record-expression.d.cts.map +0 -1
  241. package/dist/typescript/components/record-expression.d.mts +0 -13
  242. package/dist/typescript/components/record-expression.d.mts.map +0 -1
  243. package/dist/typescript/components/record-expression.mjs +0 -12
  244. package/dist/typescript/components/record-expression.mjs.map +0 -1
  245. package/dist/typescript/components/tsdoc-reflection.cjs +0 -310
  246. package/dist/typescript/components/tsdoc-reflection.d.cts +0 -44
  247. package/dist/typescript/components/tsdoc-reflection.d.cts.map +0 -1
  248. package/dist/typescript/components/tsdoc-reflection.d.mts +0 -44
  249. package/dist/typescript/components/tsdoc-reflection.d.mts.map +0 -1
  250. package/dist/typescript/components/tsdoc-reflection.mjs +0 -304
  251. package/dist/typescript/components/tsdoc-reflection.mjs.map +0 -1
  252. package/dist/typescript/components/tsdoc.cjs +0 -477
  253. package/dist/typescript/components/tsdoc.d.cts +0 -164
  254. package/dist/typescript/components/tsdoc.d.cts.map +0 -1
  255. package/dist/typescript/components/tsdoc.d.mts +0 -164
  256. package/dist/typescript/components/tsdoc.d.mts.map +0 -1
  257. package/dist/typescript/components/tsdoc.mjs +0 -457
  258. package/dist/typescript/components/tsdoc.mjs.map +0 -1
  259. package/dist/typescript/components/type-declaration.cjs +0 -39
  260. package/dist/typescript/components/type-declaration.d.cts +0 -18
  261. package/dist/typescript/components/type-declaration.d.cts.map +0 -1
  262. package/dist/typescript/components/type-declaration.d.mts +0 -18
  263. package/dist/typescript/components/type-declaration.d.mts.map +0 -1
  264. package/dist/typescript/components/type-declaration.mjs +0 -38
  265. package/dist/typescript/components/type-declaration.mjs.map +0 -1
  266. package/dist/typescript/components/type-parameters.cjs +0 -82
  267. package/dist/typescript/components/type-parameters.d.cts +0 -24
  268. package/dist/typescript/components/type-parameters.d.cts.map +0 -1
  269. package/dist/typescript/components/type-parameters.d.mts +0 -24
  270. package/dist/typescript/components/type-parameters.d.mts.map +0 -1
  271. package/dist/typescript/components/type-parameters.mjs +0 -81
  272. package/dist/typescript/components/type-parameters.mjs.map +0 -1
  273. package/dist/typescript/components/typescript-file.cjs +0 -221
  274. package/dist/typescript/components/typescript-file.d.cts +0 -50
  275. package/dist/typescript/components/typescript-file.d.cts.map +0 -1
  276. package/dist/typescript/components/typescript-file.d.mts +0 -50
  277. package/dist/typescript/components/typescript-file.d.mts.map +0 -1
  278. package/dist/typescript/components/typescript-file.mjs +0 -218
  279. package/dist/typescript/components/typescript-file.mjs.map +0 -1
  280. package/dist/typescript/contexts/index.cjs +0 -4
  281. package/dist/typescript/contexts/index.d.cts +0 -2
  282. package/dist/typescript/contexts/index.d.mts +0 -2
  283. package/dist/typescript/contexts/index.mjs +0 -3
  284. package/dist/typescript/contexts/lexical-scope.cjs +0 -26
  285. package/dist/typescript/contexts/lexical-scope.d.cts +0 -17
  286. package/dist/typescript/contexts/lexical-scope.d.cts.map +0 -1
  287. package/dist/typescript/contexts/lexical-scope.d.mts +0 -17
  288. package/dist/typescript/contexts/lexical-scope.d.mts.map +0 -1
  289. package/dist/typescript/contexts/lexical-scope.mjs +0 -25
  290. package/dist/typescript/contexts/lexical-scope.mjs.map +0 -1
  291. package/dist/typescript/contexts/member-scope.cjs +0 -24
  292. package/dist/typescript/contexts/member-scope.d.cts +0 -20
  293. package/dist/typescript/contexts/member-scope.d.cts.map +0 -1
  294. package/dist/typescript/contexts/member-scope.d.mts +0 -20
  295. package/dist/typescript/contexts/member-scope.d.mts.map +0 -1
  296. package/dist/typescript/contexts/member-scope.mjs +0 -23
  297. package/dist/typescript/contexts/member-scope.mjs.map +0 -1
  298. package/dist/typescript/helpers/get-call-signature-props.cjs +0 -26
  299. package/dist/typescript/helpers/get-call-signature-props.d.cts +0 -14
  300. package/dist/typescript/helpers/get-call-signature-props.d.cts.map +0 -1
  301. package/dist/typescript/helpers/get-call-signature-props.d.mts +0 -14
  302. package/dist/typescript/helpers/get-call-signature-props.d.mts.map +0 -1
  303. package/dist/typescript/helpers/get-call-signature-props.mjs +0 -25
  304. package/dist/typescript/helpers/get-call-signature-props.mjs.map +0 -1
  305. package/dist/typescript/helpers/index.cjs +0 -6
  306. package/dist/typescript/helpers/index.d.cts +0 -3
  307. package/dist/typescript/helpers/index.d.mts +0 -3
  308. package/dist/typescript/helpers/index.mjs +0 -4
  309. package/dist/typescript/helpers/utilities.cjs +0 -15
  310. package/dist/typescript/helpers/utilities.d.cts +0 -11
  311. package/dist/typescript/helpers/utilities.d.cts.map +0 -1
  312. package/dist/typescript/helpers/utilities.d.mts +0 -11
  313. package/dist/typescript/helpers/utilities.d.mts.map +0 -1
  314. package/dist/typescript/helpers/utilities.mjs +0 -14
  315. package/dist/typescript/helpers/utilities.mjs.map +0 -1
  316. package/dist/typescript/index.cjs +0 -74
  317. package/dist/typescript/index.d.cts +0 -18
  318. package/dist/typescript/index.d.mts +0 -18
  319. package/dist/typescript/index.mjs +0 -22
  320. package/dist/yaml/components/index.cjs +0 -5
  321. package/dist/yaml/components/index.d.cts +0 -2
  322. package/dist/yaml/components/index.d.mts +0 -2
  323. package/dist/yaml/components/index.mjs +0 -3
  324. package/dist/yaml/components/yaml-file.cjs +0 -149
  325. package/dist/yaml/components/yaml-file.d.cts +0 -34
  326. package/dist/yaml/components/yaml-file.d.cts.map +0 -1
  327. package/dist/yaml/components/yaml-file.d.mts +0 -34
  328. package/dist/yaml/components/yaml-file.d.mts.map +0 -1
  329. package/dist/yaml/components/yaml-file.mjs +0 -147
  330. package/dist/yaml/components/yaml-file.mjs.map +0 -1
  331. package/dist/yaml/index.cjs +0 -6
  332. package/dist/yaml/index.d.cts +0 -2
  333. package/dist/yaml/index.d.mts +0 -2
  334. package/dist/yaml/index.mjs +0 -4
@@ -1 +0,0 @@
1
- {"version":3,"file":"get-call-signature-props.mjs","names":[],"sources":["../../../src/typescript/helpers/get-call-signature-props.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { defaultProps, splitProps } from \"@alloy-js/core\";\nimport { CallSignatureProps } from \"@alloy-js/typescript\";\n\n/**\n * Get the properties for a call signature, applying any defaults as necessary.\n *\n * @param props - The properties for the call signature.\n * @param defaults - Optional default properties to apply to the call signature.\n * @returns The properties for the call signature, with defaults applied as necessary.\n */\nexport function getCallSignatureProps(\n props: CallSignatureProps,\n defaults?: Partial<CallSignatureProps>\n) {\n const [callSignatureProps] = splitProps(props, [\n \"parameters\",\n \"parametersChildren\",\n \"typeParameters\",\n \"typeParametersChildren\",\n \"returnType\"\n ]);\n\n if (!defaults) {\n return callSignatureProps;\n }\n\n return defaultProps(callSignatureProps, defaults);\n}\n"],"mappings":";;;;;;;;;;AA4BA,SAAgB,sBACd,OACA,UACA;CACA,MAAM,CAAC,sBAAsB,WAAW,OAAO;EAC7C;EACA;EACA;EACA;EACA;EACD,CAAC;AAEF,KAAI,CAAC,SACH,QAAO;AAGT,QAAO,aAAa,oBAAoB,SAAS"}
@@ -1,6 +0,0 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- const require_typescript_helpers_get_call_signature_props = require('./get-call-signature-props.cjs');
3
- const require_typescript_helpers_utilities = require('./utilities.cjs');
4
-
5
- exports.getCallSignatureProps = require_typescript_helpers_get_call_signature_props.getCallSignatureProps;
6
- exports.isValidJSIdentifier = require_typescript_helpers_utilities.isValidJSIdentifier;
@@ -1,3 +0,0 @@
1
- import { getCallSignatureProps } from "./get-call-signature-props.cjs";
2
- import { isValidJSIdentifier } from "./utilities.cjs";
3
- export { getCallSignatureProps, isValidJSIdentifier };
@@ -1,3 +0,0 @@
1
- import { getCallSignatureProps } from "./get-call-signature-props.mjs";
2
- import { isValidJSIdentifier } from "./utilities.mjs";
3
- export { getCallSignatureProps, isValidJSIdentifier };
@@ -1,4 +0,0 @@
1
- import { getCallSignatureProps } from "./get-call-signature-props.mjs";
2
- import { isValidJSIdentifier } from "./utilities.mjs";
3
-
4
- export { getCallSignatureProps, isValidJSIdentifier };
@@ -1,15 +0,0 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
-
3
- //#region src/typescript/helpers/utilities.ts
4
- /**
5
- * Check if a string is a valid JavaScript identifier.
6
- *
7
- * @param identifier - The string to check.
8
- * @returns `true` if the string is a valid JavaScript identifier, `false` otherwise.
9
- */
10
- function isValidJSIdentifier(identifier) {
11
- return /^[\p{ID_Start}$_][\p{ID_Continue}$\u200C\u200D]*$/u.test(identifier);
12
- }
13
-
14
- //#endregion
15
- exports.isValidJSIdentifier = isValidJSIdentifier;
@@ -1,11 +0,0 @@
1
- //#region src/typescript/helpers/utilities.d.ts
2
- /**
3
- * Check if a string is a valid JavaScript identifier.
4
- *
5
- * @param identifier - The string to check.
6
- * @returns `true` if the string is a valid JavaScript identifier, `false` otherwise.
7
- */
8
- declare function isValidJSIdentifier(identifier: string): boolean;
9
- //#endregion
10
- export { isValidJSIdentifier };
11
- //# sourceMappingURL=utilities.d.cts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"utilities.d.cts","names":[],"sources":["../../../src/typescript/helpers/utilities.ts"],"mappings":";;AAwBA;;;;;iBAAgB,mBAAA,CAAoB,UAAA"}
@@ -1,11 +0,0 @@
1
- //#region src/typescript/helpers/utilities.d.ts
2
- /**
3
- * Check if a string is a valid JavaScript identifier.
4
- *
5
- * @param identifier - The string to check.
6
- * @returns `true` if the string is a valid JavaScript identifier, `false` otherwise.
7
- */
8
- declare function isValidJSIdentifier(identifier: string): boolean;
9
- //#endregion
10
- export { isValidJSIdentifier };
11
- //# sourceMappingURL=utilities.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"utilities.d.mts","names":[],"sources":["../../../src/typescript/helpers/utilities.ts"],"mappings":";;AAwBA;;;;;iBAAgB,mBAAA,CAAoB,UAAA"}
@@ -1,14 +0,0 @@
1
- //#region src/typescript/helpers/utilities.ts
2
- /**
3
- * Check if a string is a valid JavaScript identifier.
4
- *
5
- * @param identifier - The string to check.
6
- * @returns `true` if the string is a valid JavaScript identifier, `false` otherwise.
7
- */
8
- function isValidJSIdentifier(identifier) {
9
- return /^[\p{ID_Start}$_][\p{ID_Continue}$\u200C\u200D]*$/u.test(identifier);
10
- }
11
-
12
- //#endregion
13
- export { isValidJSIdentifier };
14
- //# sourceMappingURL=utilities.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"utilities.mjs","names":[],"sources":["../../../src/typescript/helpers/utilities.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\n/**\n * Check if a string is a valid JavaScript identifier.\n *\n * @param identifier - The string to check.\n * @returns `true` if the string is a valid JavaScript identifier, `false` otherwise.\n */\nexport function isValidJSIdentifier(identifier: string) {\n return /^[\\p{ID_Start}$_][\\p{ID_Continue}$\\u200C\\u200D]*$/u.test(identifier);\n}\n"],"mappings":";;;;;;;AAwBA,SAAgB,oBAAoB,YAAoB;AACtD,QAAO,qDAAqD,KAAK,WAAW"}
@@ -1,74 +0,0 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- const require_typescript_components_tsdoc = require('./components/tsdoc.cjs');
3
- const require_typescript_components_typescript_file = require('./components/typescript-file.cjs');
4
- const require_typescript_components_builtin_file = require('./components/builtin-file.cjs');
5
- const require_typescript_contexts_lexical_scope = require('./contexts/lexical-scope.cjs');
6
- require('./contexts/index.cjs');
7
- const require_typescript_helpers_get_call_signature_props = require('./helpers/get-call-signature-props.cjs');
8
- const require_typescript_helpers_utilities = require('./helpers/utilities.cjs');
9
- require('./helpers/index.cjs');
10
- const require_typescript_components_property_name = require('./components/property-name.cjs');
11
- const require_typescript_components_type_parameters = require('./components/type-parameters.cjs');
12
- const require_typescript_components_class_declaration = require('./components/class-declaration.cjs');
13
- const require_typescript_components_dynamic_import_statement = require('./components/dynamic-import-statement.cjs');
14
- const require_typescript_components_entry_file = require('./components/entry-file.cjs');
15
- const require_typescript_components_infrastructure_file = require('./components/infrastructure-file.cjs');
16
- const require_typescript_components_tsdoc_reflection = require('./components/tsdoc-reflection.cjs');
17
- const require_typescript_components_interface_declaration = require('./components/interface-declaration.cjs');
18
- const require_typescript_components_object_declaration = require('./components/object-declaration.cjs');
19
- const require_typescript_components_record_expression = require('./components/record-expression.cjs');
20
- const require_typescript_components_type_declaration = require('./components/type-declaration.cjs');
21
- require('./components/index.cjs');
22
-
23
- exports.BuiltinFile = require_typescript_components_builtin_file.BuiltinFile;
24
- exports.ClassDeclaration = require_typescript_components_class_declaration.ClassDeclaration;
25
- exports.ClassField = require_typescript_components_class_declaration.ClassField;
26
- exports.ClassMember = require_typescript_components_class_declaration.ClassMember;
27
- exports.ClassMethod = require_typescript_components_class_declaration.ClassMethod;
28
- exports.ClassPropertyGet = require_typescript_components_class_declaration.ClassPropertyGet;
29
- exports.ClassPropertySet = require_typescript_components_class_declaration.ClassPropertySet;
30
- exports.DynamicImportStatement = require_typescript_components_dynamic_import_statement.DynamicImportStatement;
31
- exports.EntryFile = require_typescript_components_entry_file.EntryFile;
32
- exports.InfrastructureFile = require_typescript_components_infrastructure_file.InfrastructureFile;
33
- exports.InterfaceDeclaration = require_typescript_components_interface_declaration.InterfaceDeclaration;
34
- exports.InterfaceDeclarationProperty = require_typescript_components_interface_declaration.InterfaceDeclarationProperty;
35
- exports.InterfaceExpression = require_typescript_components_interface_declaration.InterfaceExpression;
36
- exports.InterfaceMember = require_typescript_components_interface_declaration.InterfaceMember;
37
- exports.LexicalScope = require_typescript_contexts_lexical_scope.LexicalScope;
38
- exports.ObjectDeclaration = require_typescript_components_object_declaration.ObjectDeclaration;
39
- exports.ObjectDeclarationProperty = require_typescript_components_object_declaration.ObjectDeclarationProperty;
40
- exports.PropertyName = require_typescript_components_property_name.PropertyName;
41
- exports.RecordExpression = require_typescript_components_record_expression.RecordExpression;
42
- exports.TSDoc = require_typescript_components_tsdoc.TSDoc;
43
- exports.TSDocAlias = require_typescript_components_tsdoc.TSDocAlias;
44
- exports.TSDocAttributesTags = require_typescript_components_tsdoc.TSDocAttributesTags;
45
- exports.TSDocContextClass = require_typescript_components_tsdoc_reflection.TSDocContextClass;
46
- exports.TSDocContextMethod = require_typescript_components_tsdoc_reflection.TSDocContextMethod;
47
- exports.TSDocContextProperty = require_typescript_components_tsdoc_reflection.TSDocContextProperty;
48
- exports.TSDocDefaultValue = require_typescript_components_tsdoc.TSDocDefaultValue;
49
- exports.TSDocDomain = require_typescript_components_tsdoc.TSDocDomain;
50
- exports.TSDocExample = require_typescript_components_tsdoc.TSDocExample;
51
- exports.TSDocHidden = require_typescript_components_tsdoc.TSDocHidden;
52
- exports.TSDocIgnore = require_typescript_components_tsdoc.TSDocIgnore;
53
- exports.TSDocInternal = require_typescript_components_tsdoc.TSDocInternal;
54
- exports.TSDocLink = require_typescript_components_tsdoc.TSDocLink;
55
- exports.TSDocModule = require_typescript_components_tsdoc.TSDocModule;
56
- exports.TSDocParam = require_typescript_components_tsdoc.TSDocParam;
57
- exports.TSDocParams = require_typescript_components_tsdoc.TSDocParams;
58
- exports.TSDocPermission = require_typescript_components_tsdoc.TSDocPermission;
59
- exports.TSDocReadonly = require_typescript_components_tsdoc.TSDocReadonly;
60
- exports.TSDocReflectionClass = require_typescript_components_tsdoc_reflection.TSDocReflectionClass;
61
- exports.TSDocReflectionMethod = require_typescript_components_tsdoc_reflection.TSDocReflectionMethod;
62
- exports.TSDocReflectionProperty = require_typescript_components_tsdoc_reflection.TSDocReflectionProperty;
63
- exports.TSDocRemarks = require_typescript_components_tsdoc.TSDocRemarks;
64
- exports.TSDocReturns = require_typescript_components_tsdoc.TSDocReturns;
65
- exports.TSDocTag = require_typescript_components_tsdoc.TSDocTag;
66
- exports.TSDocThrows = require_typescript_components_tsdoc.TSDocThrows;
67
- exports.TSDocTitle = require_typescript_components_tsdoc.TSDocTitle;
68
- exports.TypeDeclaration = require_typescript_components_type_declaration.TypeDeclaration;
69
- exports.TypeParameters = require_typescript_components_type_parameters.TypeParameters;
70
- exports.TypescriptFile = require_typescript_components_typescript_file.TypescriptFile;
71
- exports.TypescriptFileHeader = require_typescript_components_typescript_file.TypescriptFileHeader;
72
- exports.TypescriptFileHeaderImports = require_typescript_components_typescript_file.TypescriptFileHeaderImports;
73
- exports.getCallSignatureProps = require_typescript_helpers_get_call_signature_props.getCallSignatureProps;
74
- exports.isValidJSIdentifier = require_typescript_helpers_utilities.isValidJSIdentifier;
@@ -1,18 +0,0 @@
1
- import { TSDoc, TSDocAlias, TSDocAttributesTags, TSDocAttributesTagsProps, TSDocDefaultValue, TSDocDefaultValueProps, TSDocDomain, TSDocExample, TSDocExampleProps, TSDocHidden, TSDocIgnore, TSDocInternal, TSDocLink, TSDocModule, TSDocModuleProps, TSDocParam, TSDocParamProps, TSDocParams, TSDocParamsProps, TSDocPermission, TSDocProps, TSDocReadonly, TSDocRemarks, TSDocReturns, TSDocTag, TSDocTagProps, TSDocThrows, TSDocTitle, __ΩTSDocAttributesTagsProps, __ΩTSDocDefaultValueProps, __ΩTSDocExampleProps, __ΩTSDocModuleProps, __ΩTSDocParamProps, __ΩTSDocParamsProps, __ΩTSDocProps, __ΩTSDocTagProps } from "./components/tsdoc.cjs";
2
- import { TypescriptFile, TypescriptFileHeader, TypescriptFileHeaderImports, TypescriptFileHeaderImportsProps, TypescriptFileHeaderProps, TypescriptFileProps, __ΩTypescriptFileHeaderImportsProps, __ΩTypescriptFileHeaderProps, __ΩTypescriptFileProps } from "./components/typescript-file.cjs";
3
- import { BuiltinFile, BuiltinFileProps, __ΩBuiltinFileProps } from "./components/builtin-file.cjs";
4
- import { TypeParameters, TypeParametersProps, __ΩTypeParametersProps } from "./components/type-parameters.cjs";
5
- import { ClassDeclaration, ClassDeclarationProps, ClassField, ClassFieldProps, ClassMember, ClassMemberProps, ClassMethod, ClassMethodProps, ClassPropertyGet, ClassPropertyProps, ClassPropertySet, __ΩClassDeclarationProps, __ΩClassFieldProps, __ΩClassMemberProps, __ΩClassMethodProps, __ΩClassPropertyProps } from "./components/class-declaration.cjs";
6
- import { DynamicImportStatement, DynamicImportStatementProps, __ΩDynamicImportStatementProps } from "./components/dynamic-import-statement.cjs";
7
- import { EntryFile, EntryFileProps, __ΩEntryFileProps } from "./components/entry-file.cjs";
8
- import { InfrastructureFile, InfrastructureFileProps, __ΩInfrastructureFileProps } from "./components/infrastructure-file.cjs";
9
- import { InterfaceDeclaration, InterfaceDeclarationProperty, InterfaceDeclarationPropertyProps, InterfaceDeclarationProps, InterfaceExpression, InterfaceExpressionProps, InterfaceIndexerMemberProps, InterfaceMember, InterfaceMemberProps, InterfaceMemberPropsBase, InterfacePropertyMemberProps, __ΩInterfaceDeclarationPropertyProps, __ΩInterfaceDeclarationProps, __ΩInterfaceExpressionProps, __ΩInterfaceIndexerMemberProps, __ΩInterfaceMemberProps, __ΩInterfaceMemberPropsBase, __ΩInterfacePropertyMemberProps } from "./components/interface-declaration.cjs";
10
- import { ComputedRef, ObjectDeclaration, ObjectDeclarationProperty, ObjectDeclarationPropertyProps, ObjectDeclarationProps, __ΩComputedRef, __ΩObjectDeclarationPropertyProps, __ΩObjectDeclarationProps } from "./components/object-declaration.cjs";
11
- import { PropertyName, PropertyNameProps, __ΩPropertyNameProps } from "./components/property-name.cjs";
12
- import { RecordExpression, RecordExpressionProps, __ΩRecordExpressionProps } from "./components/record-expression.cjs";
13
- import { TSDocContextClass, TSDocContextMethod, TSDocContextProperty, TSDocReflectionClass, TSDocReflectionClassProps, TSDocReflectionMethod, TSDocReflectionMethodProps, TSDocReflectionProperty, TSDocReflectionPropertyProps, __ΩTSDocReflectionClassProps, __ΩTSDocReflectionMethodProps, __ΩTSDocReflectionPropertyProps } from "./components/tsdoc-reflection.cjs";
14
- import { TypeDeclaration, TypeDeclarationProps, __ΩTypeDeclarationProps } from "./components/type-declaration.cjs";
15
- import { LexicalScope, LexicalScopeProps, LexicalScopePropsWithScopeInfo, LexicalScopePropsWithScopeValue, __ΩLexicalScopeProps, __ΩLexicalScopePropsWithScopeInfo, __ΩLexicalScopePropsWithScopeValue } from "./contexts/lexical-scope.cjs";
16
- import { getCallSignatureProps } from "./helpers/get-call-signature-props.cjs";
17
- import { isValidJSIdentifier } from "./helpers/utilities.cjs";
18
- export { BuiltinFile, BuiltinFileProps, ClassDeclaration, ClassDeclarationProps, ClassField, ClassFieldProps, ClassMember, ClassMemberProps, ClassMethod, ClassMethodProps, ClassPropertyGet, ClassPropertyProps, ClassPropertySet, ComputedRef, DynamicImportStatement, DynamicImportStatementProps, EntryFile, EntryFileProps, InfrastructureFile, InfrastructureFileProps, InterfaceDeclaration, InterfaceDeclarationProperty, InterfaceDeclarationPropertyProps, InterfaceDeclarationProps, InterfaceExpression, InterfaceExpressionProps, InterfaceIndexerMemberProps, InterfaceMember, InterfaceMemberProps, InterfaceMemberPropsBase, InterfacePropertyMemberProps, LexicalScope, LexicalScopeProps, LexicalScopePropsWithScopeInfo, LexicalScopePropsWithScopeValue, ObjectDeclaration, ObjectDeclarationProperty, ObjectDeclarationPropertyProps, ObjectDeclarationProps, PropertyName, PropertyNameProps, RecordExpression, RecordExpressionProps, TSDoc, TSDocAlias, TSDocAttributesTags, TSDocAttributesTagsProps, TSDocContextClass, TSDocContextMethod, TSDocContextProperty, TSDocDefaultValue, TSDocDefaultValueProps, TSDocDomain, TSDocExample, TSDocExampleProps, TSDocHidden, TSDocIgnore, TSDocInternal, TSDocLink, TSDocModule, TSDocModuleProps, TSDocParam, TSDocParamProps, TSDocParams, TSDocParamsProps, TSDocPermission, TSDocProps, TSDocReadonly, TSDocReflectionClass, TSDocReflectionClassProps, TSDocReflectionMethod, TSDocReflectionMethodProps, TSDocReflectionProperty, TSDocReflectionPropertyProps, TSDocRemarks, TSDocReturns, TSDocTag, TSDocTagProps, TSDocThrows, TSDocTitle, TypeDeclaration, TypeDeclarationProps, TypeParameters, TypeParametersProps, TypescriptFile, TypescriptFileHeader, TypescriptFileHeaderImports, TypescriptFileHeaderImportsProps, TypescriptFileHeaderProps, TypescriptFileProps, __ΩBuiltinFileProps, __ΩClassDeclarationProps, __ΩClassFieldProps, __ΩClassMemberProps, __ΩClassMethodProps, __ΩClassPropertyProps, __ΩComputedRef, __ΩDynamicImportStatementProps, __ΩEntryFileProps, __ΩInfrastructureFileProps, __ΩInterfaceDeclarationPropertyProps, __ΩInterfaceDeclarationProps, __ΩInterfaceExpressionProps, __ΩInterfaceIndexerMemberProps, __ΩInterfaceMemberProps, __ΩInterfaceMemberPropsBase, __ΩInterfacePropertyMemberProps, __ΩLexicalScopeProps, __ΩLexicalScopePropsWithScopeInfo, __ΩLexicalScopePropsWithScopeValue, __ΩObjectDeclarationPropertyProps, __ΩObjectDeclarationProps, __ΩPropertyNameProps, __ΩRecordExpressionProps, __ΩTSDocAttributesTagsProps, __ΩTSDocDefaultValueProps, __ΩTSDocExampleProps, __ΩTSDocModuleProps, __ΩTSDocParamProps, __ΩTSDocParamsProps, __ΩTSDocProps, __ΩTSDocReflectionClassProps, __ΩTSDocReflectionMethodProps, __ΩTSDocReflectionPropertyProps, __ΩTSDocTagProps, __ΩTypeDeclarationProps, __ΩTypeParametersProps, __ΩTypescriptFileHeaderImportsProps, __ΩTypescriptFileHeaderProps, __ΩTypescriptFileProps, getCallSignatureProps, isValidJSIdentifier };
@@ -1,18 +0,0 @@
1
- import { TSDoc, TSDocAlias, TSDocAttributesTags, TSDocAttributesTagsProps, TSDocDefaultValue, TSDocDefaultValueProps, TSDocDomain, TSDocExample, TSDocExampleProps, TSDocHidden, TSDocIgnore, TSDocInternal, TSDocLink, TSDocModule, TSDocModuleProps, TSDocParam, TSDocParamProps, TSDocParams, TSDocParamsProps, TSDocPermission, TSDocProps, TSDocReadonly, TSDocRemarks, TSDocReturns, TSDocTag, TSDocTagProps, TSDocThrows, TSDocTitle, __ΩTSDocAttributesTagsProps, __ΩTSDocDefaultValueProps, __ΩTSDocExampleProps, __ΩTSDocModuleProps, __ΩTSDocParamProps, __ΩTSDocParamsProps, __ΩTSDocProps, __ΩTSDocTagProps } from "./components/tsdoc.mjs";
2
- import { TypescriptFile, TypescriptFileHeader, TypescriptFileHeaderImports, TypescriptFileHeaderImportsProps, TypescriptFileHeaderProps, TypescriptFileProps, __ΩTypescriptFileHeaderImportsProps, __ΩTypescriptFileHeaderProps, __ΩTypescriptFileProps } from "./components/typescript-file.mjs";
3
- import { BuiltinFile, BuiltinFileProps, __ΩBuiltinFileProps } from "./components/builtin-file.mjs";
4
- import { TypeParameters, TypeParametersProps, __ΩTypeParametersProps } from "./components/type-parameters.mjs";
5
- import { ClassDeclaration, ClassDeclarationProps, ClassField, ClassFieldProps, ClassMember, ClassMemberProps, ClassMethod, ClassMethodProps, ClassPropertyGet, ClassPropertyProps, ClassPropertySet, __ΩClassDeclarationProps, __ΩClassFieldProps, __ΩClassMemberProps, __ΩClassMethodProps, __ΩClassPropertyProps } from "./components/class-declaration.mjs";
6
- import { DynamicImportStatement, DynamicImportStatementProps, __ΩDynamicImportStatementProps } from "./components/dynamic-import-statement.mjs";
7
- import { EntryFile, EntryFileProps, __ΩEntryFileProps } from "./components/entry-file.mjs";
8
- import { InfrastructureFile, InfrastructureFileProps, __ΩInfrastructureFileProps } from "./components/infrastructure-file.mjs";
9
- import { InterfaceDeclaration, InterfaceDeclarationProperty, InterfaceDeclarationPropertyProps, InterfaceDeclarationProps, InterfaceExpression, InterfaceExpressionProps, InterfaceIndexerMemberProps, InterfaceMember, InterfaceMemberProps, InterfaceMemberPropsBase, InterfacePropertyMemberProps, __ΩInterfaceDeclarationPropertyProps, __ΩInterfaceDeclarationProps, __ΩInterfaceExpressionProps, __ΩInterfaceIndexerMemberProps, __ΩInterfaceMemberProps, __ΩInterfaceMemberPropsBase, __ΩInterfacePropertyMemberProps } from "./components/interface-declaration.mjs";
10
- import { ComputedRef, ObjectDeclaration, ObjectDeclarationProperty, ObjectDeclarationPropertyProps, ObjectDeclarationProps, __ΩComputedRef, __ΩObjectDeclarationPropertyProps, __ΩObjectDeclarationProps } from "./components/object-declaration.mjs";
11
- import { PropertyName, PropertyNameProps, __ΩPropertyNameProps } from "./components/property-name.mjs";
12
- import { RecordExpression, RecordExpressionProps, __ΩRecordExpressionProps } from "./components/record-expression.mjs";
13
- import { TSDocContextClass, TSDocContextMethod, TSDocContextProperty, TSDocReflectionClass, TSDocReflectionClassProps, TSDocReflectionMethod, TSDocReflectionMethodProps, TSDocReflectionProperty, TSDocReflectionPropertyProps, __ΩTSDocReflectionClassProps, __ΩTSDocReflectionMethodProps, __ΩTSDocReflectionPropertyProps } from "./components/tsdoc-reflection.mjs";
14
- import { TypeDeclaration, TypeDeclarationProps, __ΩTypeDeclarationProps } from "./components/type-declaration.mjs";
15
- import { LexicalScope, LexicalScopeProps, LexicalScopePropsWithScopeInfo, LexicalScopePropsWithScopeValue, __ΩLexicalScopeProps, __ΩLexicalScopePropsWithScopeInfo, __ΩLexicalScopePropsWithScopeValue } from "./contexts/lexical-scope.mjs";
16
- import { getCallSignatureProps } from "./helpers/get-call-signature-props.mjs";
17
- import { isValidJSIdentifier } from "./helpers/utilities.mjs";
18
- export { BuiltinFile, BuiltinFileProps, ClassDeclaration, ClassDeclarationProps, ClassField, ClassFieldProps, ClassMember, ClassMemberProps, ClassMethod, ClassMethodProps, ClassPropertyGet, ClassPropertyProps, ClassPropertySet, ComputedRef, DynamicImportStatement, DynamicImportStatementProps, EntryFile, EntryFileProps, InfrastructureFile, InfrastructureFileProps, InterfaceDeclaration, InterfaceDeclarationProperty, InterfaceDeclarationPropertyProps, InterfaceDeclarationProps, InterfaceExpression, InterfaceExpressionProps, InterfaceIndexerMemberProps, InterfaceMember, InterfaceMemberProps, InterfaceMemberPropsBase, InterfacePropertyMemberProps, LexicalScope, LexicalScopeProps, LexicalScopePropsWithScopeInfo, LexicalScopePropsWithScopeValue, ObjectDeclaration, ObjectDeclarationProperty, ObjectDeclarationPropertyProps, ObjectDeclarationProps, PropertyName, PropertyNameProps, RecordExpression, RecordExpressionProps, TSDoc, TSDocAlias, TSDocAttributesTags, TSDocAttributesTagsProps, TSDocContextClass, TSDocContextMethod, TSDocContextProperty, TSDocDefaultValue, TSDocDefaultValueProps, TSDocDomain, TSDocExample, TSDocExampleProps, TSDocHidden, TSDocIgnore, TSDocInternal, TSDocLink, TSDocModule, TSDocModuleProps, TSDocParam, TSDocParamProps, TSDocParams, TSDocParamsProps, TSDocPermission, TSDocProps, TSDocReadonly, TSDocReflectionClass, TSDocReflectionClassProps, TSDocReflectionMethod, TSDocReflectionMethodProps, TSDocReflectionProperty, TSDocReflectionPropertyProps, TSDocRemarks, TSDocReturns, TSDocTag, TSDocTagProps, TSDocThrows, TSDocTitle, TypeDeclaration, TypeDeclarationProps, TypeParameters, TypeParametersProps, TypescriptFile, TypescriptFileHeader, TypescriptFileHeaderImports, TypescriptFileHeaderImportsProps, TypescriptFileHeaderProps, TypescriptFileProps, __ΩBuiltinFileProps, __ΩClassDeclarationProps, __ΩClassFieldProps, __ΩClassMemberProps, __ΩClassMethodProps, __ΩClassPropertyProps, __ΩComputedRef, __ΩDynamicImportStatementProps, __ΩEntryFileProps, __ΩInfrastructureFileProps, __ΩInterfaceDeclarationPropertyProps, __ΩInterfaceDeclarationProps, __ΩInterfaceExpressionProps, __ΩInterfaceIndexerMemberProps, __ΩInterfaceMemberProps, __ΩInterfaceMemberPropsBase, __ΩInterfacePropertyMemberProps, __ΩLexicalScopeProps, __ΩLexicalScopePropsWithScopeInfo, __ΩLexicalScopePropsWithScopeValue, __ΩObjectDeclarationPropertyProps, __ΩObjectDeclarationProps, __ΩPropertyNameProps, __ΩRecordExpressionProps, __ΩTSDocAttributesTagsProps, __ΩTSDocDefaultValueProps, __ΩTSDocExampleProps, __ΩTSDocModuleProps, __ΩTSDocParamProps, __ΩTSDocParamsProps, __ΩTSDocProps, __ΩTSDocReflectionClassProps, __ΩTSDocReflectionMethodProps, __ΩTSDocReflectionPropertyProps, __ΩTSDocTagProps, __ΩTypeDeclarationProps, __ΩTypeParametersProps, __ΩTypescriptFileHeaderImportsProps, __ΩTypescriptFileHeaderProps, __ΩTypescriptFileProps, getCallSignatureProps, isValidJSIdentifier };
@@ -1,22 +0,0 @@
1
- import { TSDoc, TSDocAlias, TSDocAttributesTags, TSDocDefaultValue, TSDocDomain, TSDocExample, TSDocHidden, TSDocIgnore, TSDocInternal, TSDocLink, TSDocModule, TSDocParam, TSDocParams, TSDocPermission, TSDocReadonly, TSDocRemarks, TSDocReturns, TSDocTag, TSDocThrows, TSDocTitle } from "./components/tsdoc.mjs";
2
- import { TypescriptFile, TypescriptFileHeader, TypescriptFileHeaderImports } from "./components/typescript-file.mjs";
3
- import { BuiltinFile } from "./components/builtin-file.mjs";
4
- import { LexicalScope } from "./contexts/lexical-scope.mjs";
5
- import "./contexts/index.mjs";
6
- import { getCallSignatureProps } from "./helpers/get-call-signature-props.mjs";
7
- import { isValidJSIdentifier } from "./helpers/utilities.mjs";
8
- import "./helpers/index.mjs";
9
- import { PropertyName } from "./components/property-name.mjs";
10
- import { TypeParameters } from "./components/type-parameters.mjs";
11
- import { ClassDeclaration, ClassField, ClassMember, ClassMethod, ClassPropertyGet, ClassPropertySet } from "./components/class-declaration.mjs";
12
- import { DynamicImportStatement } from "./components/dynamic-import-statement.mjs";
13
- import { EntryFile } from "./components/entry-file.mjs";
14
- import { InfrastructureFile } from "./components/infrastructure-file.mjs";
15
- import { TSDocContextClass, TSDocContextMethod, TSDocContextProperty, TSDocReflectionClass, TSDocReflectionMethod, TSDocReflectionProperty } from "./components/tsdoc-reflection.mjs";
16
- import { InterfaceDeclaration, InterfaceDeclarationProperty, InterfaceExpression, InterfaceMember } from "./components/interface-declaration.mjs";
17
- import { ObjectDeclaration, ObjectDeclarationProperty } from "./components/object-declaration.mjs";
18
- import { RecordExpression } from "./components/record-expression.mjs";
19
- import { TypeDeclaration } from "./components/type-declaration.mjs";
20
- import "./components/index.mjs";
21
-
22
- export { BuiltinFile, ClassDeclaration, ClassField, ClassMember, ClassMethod, ClassPropertyGet, ClassPropertySet, DynamicImportStatement, EntryFile, InfrastructureFile, InterfaceDeclaration, InterfaceDeclarationProperty, InterfaceExpression, InterfaceMember, LexicalScope, ObjectDeclaration, ObjectDeclarationProperty, PropertyName, RecordExpression, TSDoc, TSDocAlias, TSDocAttributesTags, TSDocContextClass, TSDocContextMethod, TSDocContextProperty, TSDocDefaultValue, TSDocDomain, TSDocExample, TSDocHidden, TSDocIgnore, TSDocInternal, TSDocLink, TSDocModule, TSDocParam, TSDocParams, TSDocPermission, TSDocReadonly, TSDocReflectionClass, TSDocReflectionMethod, TSDocReflectionProperty, TSDocRemarks, TSDocReturns, TSDocTag, TSDocThrows, TSDocTitle, TypeDeclaration, TypeParameters, TypescriptFile, TypescriptFileHeader, TypescriptFileHeaderImports, getCallSignatureProps, isValidJSIdentifier };
@@ -1,5 +0,0 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- const require_yaml_components_yaml_file = require('./yaml-file.cjs');
3
-
4
- exports.YamlFile = require_yaml_components_yaml_file.YamlFile;
5
- exports.YamlFileHeader = require_yaml_components_yaml_file.YamlFileHeader;
@@ -1,2 +0,0 @@
1
- import { YamlData, YamlFile, YamlFileHeader, YamlFileProps, __ΩYamlData, __ΩYamlFileProps } from "./yaml-file.cjs";
2
- export { YamlData, YamlFile, YamlFileHeader, YamlFileProps, __ΩYamlData, __ΩYamlFileProps };
@@ -1,2 +0,0 @@
1
- import { YamlData, YamlFile, YamlFileHeader, YamlFileProps, __ΩYamlData, __ΩYamlFileProps } from "./yaml-file.mjs";
2
- export { YamlData, YamlFile, YamlFileHeader, YamlFileProps, __ΩYamlData, __ΩYamlFileProps };
@@ -1,3 +0,0 @@
1
- import { YamlFile, YamlFileHeader } from "./yaml-file.mjs";
2
-
3
- export { YamlFile, YamlFileHeader };
@@ -1,149 +0,0 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- const require_runtime = require('../../_virtual/_rolldown/runtime.cjs');
3
- const require_core_contexts_context = require('../../core/contexts/context.cjs');
4
- const require_core_components_single_line_comment = require('../../core/components/single-line-comment.cjs');
5
- const require_core_components_source_file = require('../../core/components/source-file.cjs');
6
- let _alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
7
- let _alloy_js_core = require("@alloy-js/core");
8
- let _stryke_string_format_title_case = require("@stryke/string-format/title-case");
9
- let powerlines_utils = require("powerlines/utils");
10
- let _stryke_type_checks = require("@stryke/type-checks");
11
-
12
- //#region src/yaml/components/yaml-file.tsx
13
- function YamlFileDataItem({ key, value }) {
14
- return [
15
- (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
16
- get when() {
17
- return Boolean(key);
18
- },
19
- children: _alloy_js_core.code`${key}:`
20
- }),
21
- (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
22
- when: typeof value === "string" || typeof value === "number" || typeof value === "boolean",
23
- get children() {
24
- return _alloy_js_core.code` ${String(value)}`;
25
- }
26
- }),
27
- (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
28
- get when() {
29
- return (0, _alloy_js_core_jsx_runtime.memo)(() => !!(0, _stryke_type_checks.isSetObject)(value))() && !Array.isArray(value);
30
- },
31
- get children() {
32
- return (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.For, {
33
- get each() {
34
- return Object.entries(value);
35
- },
36
- children: ([nestedKey, nestedValue]) => (0, _alloy_js_core_jsx_runtime.createComponent)(YamlFileDataItem, {
37
- key: nestedKey,
38
- value: nestedValue
39
- })
40
- });
41
- }
42
- }),
43
- (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
44
- get when() {
45
- return Array.isArray(value);
46
- },
47
- get children() {
48
- return (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.For, {
49
- each: value,
50
- children: (item) => (0, _alloy_js_core_jsx_runtime.createComponent)(YamlFileDataItem, { value: item })
51
- });
52
- }
53
- })
54
- ];
55
- }
56
- function YamlFileData({ data }) {
57
- return [(0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
58
- get when() {
59
- return Boolean(data);
60
- },
61
- get children() {
62
- return (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.For, {
63
- get each() {
64
- return Object.entries(data ?? {});
65
- },
66
- children: ([key, value]) => (0, _alloy_js_core_jsx_runtime.createComponent)(YamlFileDataItem, {
67
- key,
68
- value
69
- })
70
- });
71
- }
72
- })];
73
- }
74
- /**
75
- * A base component representing a Powerlines generated YAML source file.
76
- *
77
- * @remarks
78
- * The file content can be provided either through the `data` prop, which accepts a nested object representing the YAML structure, or through the `children` prop, which allows for custom YAML content to be rendered. The `header` prop can be used to provide custom header content for the YAML file, which is rendered above the generated file header warning and generation comment.
79
- *
80
- * @param props - The properties for the source file.
81
- * @returns The rendered source file component.
82
- */
83
- function YamlFile(props) {
84
- const [{ children, path, data, header }, rest] = (0, _alloy_js_core.splitProps)(props, [
85
- "children",
86
- "path",
87
- "data",
88
- "header"
89
- ]);
90
- return (0, _alloy_js_core_jsx_runtime.createComponent)(require_core_components_source_file.SourceFile, (0, _alloy_js_core_jsx_runtime.mergeProps)(rest, {
91
- path,
92
- get header() {
93
- return (0, _alloy_js_core_jsx_runtime.createComponent)(YamlFileHeader, { children: header });
94
- },
95
- filetype: "yaml",
96
- get children() {
97
- return [(0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
98
- get when() {
99
- return Boolean(data);
100
- },
101
- get children() {
102
- return (0, _alloy_js_core_jsx_runtime.createComponent)(YamlFileData, { data });
103
- }
104
- }), (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
105
- get when() {
106
- return Boolean(children);
107
- },
108
- get children() {
109
- return [children, (0, _alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {})];
110
- }
111
- })];
112
- }
113
- }));
114
- }
115
- /**
116
- * Renders the header for a Powerlines YAML source file.
117
- *
118
- * @param props - The properties for the source file header.
119
- * @returns The rendered source file header.
120
- */
121
- function YamlFileHeader(props) {
122
- const { children } = props;
123
- const context = require_core_contexts_context.usePowerlinesSafe();
124
- return [
125
- (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
126
- get when() {
127
- return Boolean(children);
128
- },
129
- get children() {
130
- return [children, (0, _alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {})];
131
- }
132
- }),
133
- (0, _alloy_js_core_jsx_runtime.createComponent)(require_core_components_single_line_comment.SingleLineComment, { get children() {
134
- return `Generated by ${(0, _stryke_string_format_title_case.titleCase)(context?.config?.framework) || "Powerlines"}`;
135
- } }),
136
- (0, _alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
137
- (0, _alloy_js_core_jsx_runtime.createComponent)(require_core_components_single_line_comment.SingleLineComment, {
138
- variant: "yaml",
139
- get children() {
140
- return (0, powerlines_utils.getFileHeaderWarning)(context);
141
- }
142
- }),
143
- (0, _alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {})
144
- ];
145
- }
146
-
147
- //#endregion
148
- exports.YamlFile = YamlFile;
149
- exports.YamlFileHeader = YamlFileHeader;
@@ -1,34 +0,0 @@
1
- import { ComponentProps, SourceFileHeaderProps } from "../../types/components.cjs";
2
- import { SourceFileProps as SourceFileProps$1 } from "../../core/components/source-file.cjs";
3
- import { Children } from "@alloy-js/core";
4
-
5
- //#region src/yaml/components/yaml-file.d.ts
6
- interface YamlData {
7
- [key: string]: string | number | boolean | YamlData | YamlData[];
8
- }
9
- type YamlFileProps = Omit<SourceFileProps$1, "filetype"> & ComponentProps & {
10
- header?: Children;
11
- data?: YamlData;
12
- };
13
- /**
14
- * A base component representing a Powerlines generated YAML source file.
15
- *
16
- * @remarks
17
- * The file content can be provided either through the `data` prop, which accepts a nested object representing the YAML structure, or through the `children` prop, which allows for custom YAML content to be rendered. The `header` prop can be used to provide custom header content for the YAML file, which is rendered above the generated file header warning and generation comment.
18
- *
19
- * @param props - The properties for the source file.
20
- * @returns The rendered source file component.
21
- */
22
- declare function YamlFile(props: YamlFileProps): Children;
23
- /**
24
- * Renders the header for a Powerlines YAML source file.
25
- *
26
- * @param props - The properties for the source file header.
27
- * @returns The rendered source file header.
28
- */
29
- declare function YamlFileHeader(props: SourceFileHeaderProps): Children;
30
- declare type __ΩYamlData = any[];
31
- declare type __ΩYamlFileProps = any[];
32
- //#endregion
33
- export { YamlData, YamlFile, YamlFileHeader, YamlFileProps, __ΩYamlData, __ΩYamlFileProps };
34
- //# sourceMappingURL=yaml-file.d.cts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"yaml-file.d.cts","names":[],"sources":["../../../src/yaml/components/yaml-file.tsx"],"mappings":";;;;;UA4BiB,QAAA;EAAA,CACd,GAAA,uCAA0C,QAAA,GAAW,QAAA;AAAA;AAAA,KAoD5C,aAAA,GAAgB,IAAA,CAAK,iBAAA,gBAC/B,cAAA;EACE,MAAA,GAAS,QAAA;EACT,IAAA,GAAO,QAAA;AAAA;;;;;AAHX;;;;;iBAegB,QAAA,CAAS,KAAA,EAAO,aAAA,GAAa,QAAA;;;;;;;iBAiC7B,cAAA,CAAe,KAAA,EAAO,qBAAA,GAAqB,QAAA;AAAA"}
@@ -1,34 +0,0 @@
1
- import { ComponentProps, SourceFileHeaderProps } from "../../types/components.mjs";
2
- import { SourceFileProps as SourceFileProps$1 } from "../../core/components/source-file.mjs";
3
- import { Children } from "@alloy-js/core";
4
-
5
- //#region src/yaml/components/yaml-file.d.ts
6
- interface YamlData {
7
- [key: string]: string | number | boolean | YamlData | YamlData[];
8
- }
9
- type YamlFileProps = Omit<SourceFileProps$1, "filetype"> & ComponentProps & {
10
- header?: Children;
11
- data?: YamlData;
12
- };
13
- /**
14
- * A base component representing a Powerlines generated YAML source file.
15
- *
16
- * @remarks
17
- * The file content can be provided either through the `data` prop, which accepts a nested object representing the YAML structure, or through the `children` prop, which allows for custom YAML content to be rendered. The `header` prop can be used to provide custom header content for the YAML file, which is rendered above the generated file header warning and generation comment.
18
- *
19
- * @param props - The properties for the source file.
20
- * @returns The rendered source file component.
21
- */
22
- declare function YamlFile(props: YamlFileProps): Children;
23
- /**
24
- * Renders the header for a Powerlines YAML source file.
25
- *
26
- * @param props - The properties for the source file header.
27
- * @returns The rendered source file header.
28
- */
29
- declare function YamlFileHeader(props: SourceFileHeaderProps): Children;
30
- declare type __ΩYamlData = any[];
31
- declare type __ΩYamlFileProps = any[];
32
- //#endregion
33
- export { YamlData, YamlFile, YamlFileHeader, YamlFileProps, __ΩYamlData, __ΩYamlFileProps };
34
- //# sourceMappingURL=yaml-file.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"yaml-file.d.mts","names":[],"sources":["../../../src/yaml/components/yaml-file.tsx"],"mappings":";;;;;UA4BiB,QAAA;EAAA,CACd,GAAA,uCAA0C,QAAA,GAAW,QAAA;AAAA;AAAA,KAoD5C,aAAA,GAAgB,IAAA,CAAK,iBAAA,gBAC/B,cAAA;EACE,MAAA,GAAS,QAAA;EACT,IAAA,GAAO,QAAA;AAAA;;;;;AAHX;;;;;iBAegB,QAAA,CAAS,KAAA,EAAO,aAAA,GAAa,QAAA;;;;;;;iBAiC7B,cAAA,CAAe,KAAA,EAAO,qBAAA,GAAqB,QAAA;AAAA"}