@powerlines/plugin-env 0.15.121 → 0.15.122

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 (277) hide show
  1. package/dist/_virtual/rolldown_runtime.cjs +0 -4
  2. package/dist/babel/plugin.cjs +11 -11
  3. package/dist/babel/plugin.d.mts +2 -2
  4. package/dist/babel/plugin.mjs +5 -5
  5. package/dist/components/docs.cjs +8 -8
  6. package/dist/components/docs.d.mts +1 -1
  7. package/dist/components/docs.mjs +4 -4
  8. package/dist/components/env.cjs +43 -42
  9. package/dist/components/env.d.mts +2 -2
  10. package/dist/components/env.mjs +11 -11
  11. package/dist/deepkit/schemas/reflection.cjs +5426 -0
  12. package/dist/deepkit/schemas/reflection.mjs +5423 -0
  13. package/dist/deepkit/schemas/reflection2.cjs +4112 -0
  14. package/dist/deepkit/schemas/reflection2.mjs +4110 -0
  15. package/dist/deepkit/src/capnp.cjs +1692 -0
  16. package/dist/deepkit/src/capnp.mjs +1690 -0
  17. package/dist/deepkit/src/esbuild-plugin.cjs +99 -0
  18. package/dist/deepkit/src/esbuild-plugin.mjs +98 -0
  19. package/dist/deepkit/src/reflect-type.cjs +40 -0
  20. package/dist/deepkit/src/reflect-type.mjs +38 -0
  21. package/dist/deepkit/src/resolve-reflections.cjs +23 -0
  22. package/dist/deepkit/src/resolve-reflections.mjs +22 -0
  23. package/dist/deepkit/src/transformer.cjs +92 -0
  24. package/dist/deepkit/src/transformer.mjs +89 -0
  25. package/dist/deepkit/src/transpile.cjs +39 -0
  26. package/dist/deepkit/src/transpile.mjs +37 -0
  27. package/dist/deepkit/src/types.cjs +22 -0
  28. package/dist/deepkit/src/types.mjs +21 -0
  29. package/dist/deepkit/src/utilities.cjs +184 -0
  30. package/dist/deepkit/src/utilities.mjs +183 -0
  31. package/dist/helpers/automd-generator.cjs +4 -4
  32. package/dist/helpers/automd-generator.d.mts +1 -1
  33. package/dist/helpers/automd-generator.mjs +2 -2
  34. package/dist/helpers/docs-helper.cjs +3 -2
  35. package/dist/helpers/docs-helper.mjs +1 -1
  36. package/dist/helpers/load.cjs +15 -14
  37. package/dist/helpers/load.mjs +10 -10
  38. package/dist/helpers/persistence.cjs +23 -23
  39. package/dist/helpers/persistence.d.mts +1 -1
  40. package/dist/helpers/persistence.mjs +5 -5
  41. package/dist/helpers/reflect.cjs +9 -9
  42. package/dist/helpers/reflect.mjs +3 -3
  43. package/dist/helpers/source-file-env.cjs +1 -1
  44. package/dist/helpers/source-file-env.mjs +1 -1
  45. package/dist/index.cjs +24 -26
  46. package/dist/index.d.mts +1 -1
  47. package/dist/index.mjs +14 -14
  48. package/dist/plugin-alloy/src/core/components/output.cjs +43 -0
  49. package/dist/plugin-alloy/src/core/components/output.mjs +42 -0
  50. package/dist/plugin-alloy/src/core/components/single-line-comment.cjs +22 -0
  51. package/dist/plugin-alloy/src/core/components/single-line-comment.mjs +21 -0
  52. package/dist/plugin-alloy/src/core/components/source-file.cjs +64 -0
  53. package/dist/plugin-alloy/src/core/components/source-file.mjs +62 -0
  54. package/dist/plugin-alloy/src/core/contexts/context.cjs +134 -0
  55. package/dist/plugin-alloy/src/core/contexts/context.mjs +126 -0
  56. package/dist/plugin-alloy/src/core/contexts/index.cjs +2 -0
  57. package/dist/plugin-alloy/src/core/contexts/index.mjs +4 -0
  58. package/dist/plugin-alloy/src/core/contexts/reflection.cjs +110 -0
  59. package/dist/plugin-alloy/src/core/contexts/reflection.mjs +101 -0
  60. package/dist/plugin-alloy/src/helpers/refkey.cjs +23 -0
  61. package/dist/plugin-alloy/src/helpers/refkey.mjs +22 -0
  62. package/dist/plugin-alloy/src/index.cjs +105 -0
  63. package/dist/plugin-alloy/src/index.mjs +103 -0
  64. package/dist/plugin-alloy/src/markdown/components/markdown-file.cjs +115 -0
  65. package/dist/plugin-alloy/src/markdown/components/markdown-file.mjs +114 -0
  66. package/dist/plugin-alloy/src/markdown/components/markdown-table.cjs +39 -0
  67. package/dist/plugin-alloy/src/markdown/components/markdown-table.mjs +38 -0
  68. package/dist/plugin-alloy/src/markdown/contexts/markdown-table.cjs +72 -0
  69. package/dist/plugin-alloy/src/markdown/contexts/markdown-table.mjs +71 -0
  70. package/dist/plugin-alloy/src/types/components.cjs +22 -0
  71. package/dist/{packages/plugin-alloy → plugin-alloy}/src/types/components.d.mts +1 -1
  72. package/dist/plugin-alloy/src/types/components.mjs +21 -0
  73. package/dist/plugin-alloy/src/types/plugin.cjs +53 -0
  74. package/dist/plugin-alloy/src/types/plugin.mjs +50 -0
  75. package/dist/plugin-alloy/src/typescript/components/builtin-file.cjs +62 -0
  76. package/dist/plugin-alloy/src/typescript/components/builtin-file.mjs +61 -0
  77. package/dist/plugin-alloy/src/typescript/components/tsdoc-reflection.cjs +131 -0
  78. package/dist/plugin-alloy/src/typescript/components/tsdoc-reflection.mjs +129 -0
  79. package/dist/plugin-alloy/src/typescript/components/tsdoc.cjs +451 -0
  80. package/dist/{packages/plugin-alloy → plugin-alloy}/src/typescript/components/tsdoc.d.mts +1 -1
  81. package/dist/plugin-alloy/src/typescript/components/tsdoc.mjs +442 -0
  82. package/dist/plugin-alloy/src/typescript/components/typescript-file.cjs +216 -0
  83. package/dist/{packages/plugin-alloy → plugin-alloy}/src/typescript/components/typescript-file.d.mts +1 -1
  84. package/dist/plugin-alloy/src/typescript/components/typescript-file.mjs +213 -0
  85. package/dist/plugin-alloy/src/typescript/components/typescript-interface.cjs +72 -0
  86. package/dist/{packages/plugin-alloy → plugin-alloy}/src/typescript/components/typescript-interface.d.mts +1 -1
  87. package/dist/plugin-alloy/src/typescript/components/typescript-interface.mjs +71 -0
  88. package/dist/plugin-alloy/src/typescript/components/typescript-object.cjs +124 -0
  89. package/dist/plugin-alloy/src/typescript/components/typescript-object.mjs +123 -0
  90. package/dist/plugin-automd/src/index.cjs +127 -0
  91. package/dist/plugin-automd/src/index.mjs +124 -0
  92. package/dist/plugin-automd/src/types/plugin.cjs +47 -0
  93. package/dist/plugin-automd/src/types/plugin.mjs +47 -0
  94. package/dist/plugin-automd/src/types/toc.cjs +26 -0
  95. package/dist/plugin-automd/src/types/toc.mjs +25 -0
  96. package/dist/plugin-babel/src/helpers/ast-utils.cjs +74 -0
  97. package/dist/plugin-babel/src/helpers/ast-utils.mjs +70 -0
  98. package/dist/plugin-babel/src/helpers/create-plugin.cjs +71 -0
  99. package/dist/plugin-babel/src/helpers/create-plugin.mjs +69 -0
  100. package/dist/plugin-babel/src/helpers/filters.cjs +158 -0
  101. package/dist/plugin-babel/src/helpers/filters.mjs +154 -0
  102. package/dist/plugin-babel/src/helpers/index.cjs +5 -0
  103. package/dist/plugin-babel/src/helpers/index.mjs +7 -0
  104. package/dist/plugin-babel/src/helpers/module-helpers.cjs +200 -0
  105. package/dist/plugin-babel/src/helpers/module-helpers.mjs +192 -0
  106. package/dist/plugin-babel/src/helpers/options.cjs +73 -0
  107. package/dist/plugin-babel/src/helpers/options.mjs +70 -0
  108. package/dist/plugin-babel/src/index.cjs +125 -0
  109. package/dist/plugin-babel/src/index.mjs +123 -0
  110. package/dist/plugin-babel/src/types/plugin.cjs +42 -0
  111. package/dist/plugin-babel/src/types/plugin.mjs +39 -0
  112. package/dist/powerlines/src/internal/helpers/hooks.cjs +136 -0
  113. package/dist/powerlines/src/internal/helpers/hooks.mjs +134 -0
  114. package/dist/powerlines/src/lib/build/esbuild.cjs +142 -0
  115. package/dist/powerlines/src/lib/build/esbuild.mjs +140 -0
  116. package/dist/powerlines/src/lib/constants/environments.cjs +6 -0
  117. package/dist/powerlines/src/lib/constants/environments.mjs +5 -0
  118. package/dist/powerlines/src/lib/entry.cjs +195 -0
  119. package/dist/powerlines/src/lib/entry.mjs +194 -0
  120. package/dist/powerlines/src/lib/logger.cjs +108 -0
  121. package/dist/powerlines/src/lib/logger.mjs +106 -0
  122. package/dist/powerlines/src/lib/unplugin/helpers.cjs +41 -0
  123. package/dist/powerlines/src/lib/unplugin/helpers.mjs +40 -0
  124. package/dist/powerlines/src/lib/unplugin/module-resolution.cjs +98 -0
  125. package/dist/powerlines/src/lib/unplugin/module-resolution.mjs +97 -0
  126. package/dist/powerlines/src/lib/unplugin/plugin.cjs +139 -0
  127. package/dist/powerlines/src/lib/unplugin/plugin.mjs +138 -0
  128. package/dist/powerlines/src/lib/utilities/bundle.cjs +74 -0
  129. package/dist/powerlines/src/lib/utilities/bundle.mjs +72 -0
  130. package/dist/powerlines/src/lib/utilities/resolve.cjs +69 -0
  131. package/dist/powerlines/src/lib/utilities/resolve.mjs +68 -0
  132. package/dist/powerlines/src/lib/utilities/source-file.cjs +68 -0
  133. package/dist/powerlines/src/lib/utilities/source-file.mjs +66 -0
  134. package/dist/powerlines/src/plugin-utils/paths.cjs +46 -0
  135. package/dist/powerlines/src/plugin-utils/paths.mjs +45 -0
  136. package/dist/powerlines/src/types/api.cjs +62 -0
  137. package/dist/powerlines/src/types/api.mjs +62 -0
  138. package/dist/powerlines/src/types/babel.cjs +156 -0
  139. package/dist/powerlines/src/types/babel.mjs +147 -0
  140. package/dist/powerlines/src/types/build.cjs +127 -0
  141. package/dist/{packages/powerlines → powerlines}/src/types/build.d.mts +6 -6
  142. package/dist/powerlines/src/types/build.mjs +121 -0
  143. package/dist/powerlines/src/types/commands.cjs +16 -0
  144. package/dist/powerlines/src/types/commands.mjs +15 -0
  145. package/dist/powerlines/src/types/config.cjs +420 -0
  146. package/dist/{packages/powerlines → powerlines}/src/types/config.d.mts +2 -1
  147. package/dist/powerlines/src/types/config.mjs +397 -0
  148. package/dist/powerlines/src/types/context.cjs +388 -0
  149. package/dist/{packages/powerlines → powerlines}/src/types/context.d.mts +2 -2
  150. package/dist/powerlines/src/types/context.mjs +371 -0
  151. package/dist/powerlines/src/types/fs.cjs +78 -0
  152. package/dist/powerlines/src/types/fs.mjs +75 -0
  153. package/dist/powerlines/src/types/hooks.cjs +71 -0
  154. package/dist/powerlines/src/types/hooks.mjs +68 -0
  155. package/dist/powerlines/src/types/index.cjs +11 -0
  156. package/dist/powerlines/src/types/index.mjs +13 -0
  157. package/dist/powerlines/src/types/plugin.cjs +184 -0
  158. package/dist/{packages/powerlines → powerlines}/src/types/plugin.d.mts +1 -1
  159. package/dist/powerlines/src/types/plugin.mjs +178 -0
  160. package/dist/powerlines/src/types/resolved.cjs +149 -0
  161. package/dist/powerlines/src/types/resolved.mjs +144 -0
  162. package/dist/{packages/powerlines → powerlines}/src/types/tsconfig.d.mts +1 -1
  163. package/dist/powerlines/src/types/unplugin.cjs +64 -0
  164. package/dist/{packages/powerlines → powerlines}/src/types/unplugin.d.mts +1 -1
  165. package/dist/powerlines/src/types/unplugin.mjs +62 -0
  166. package/dist/types/plugin.cjs +18 -19
  167. package/dist/types/plugin.d.mts +6 -6
  168. package/dist/types/plugin.mjs +4 -4
  169. package/package.json +7 -7
  170. package/dist/_virtual/rolldown_runtime.mjs +0 -33
  171. package/dist/node_modules/.pnpm/@stryke_convert@0.6.35/node_modules/@stryke/convert/dist/parse-type-definition.cjs +0 -37
  172. package/dist/node_modules/.pnpm/@stryke_convert@0.6.35/node_modules/@stryke/convert/dist/parse-type-definition.mjs +0 -37
  173. package/dist/node_modules/.pnpm/@stryke_convert@0.6.35/node_modules/@stryke/convert/dist/to-array.cjs +0 -15
  174. package/dist/node_modules/.pnpm/@stryke_convert@0.6.35/node_modules/@stryke/convert/dist/to-array.mjs +0 -14
  175. package/dist/node_modules/.pnpm/@stryke_convert@0.6.35/node_modules/@stryke/convert/dist/type-checks/src/get-object-tag.cjs +0 -15
  176. package/dist/node_modules/.pnpm/@stryke_convert@0.6.35/node_modules/@stryke/convert/dist/type-checks/src/get-object-tag.mjs +0 -14
  177. package/dist/node_modules/.pnpm/@stryke_convert@0.6.35/node_modules/@stryke/convert/dist/type-checks/src/index.cjs +0 -3
  178. package/dist/node_modules/.pnpm/@stryke_convert@0.6.35/node_modules/@stryke/convert/dist/type-checks/src/index.mjs +0 -5
  179. package/dist/node_modules/.pnpm/@stryke_convert@0.6.35/node_modules/@stryke/convert/dist/type-checks/src/is-buffer.cjs +0 -6
  180. package/dist/node_modules/.pnpm/@stryke_convert@0.6.35/node_modules/@stryke/convert/dist/type-checks/src/is-buffer.mjs +0 -6
  181. package/dist/node_modules/.pnpm/@stryke_convert@0.6.35/node_modules/@stryke/convert/dist/type-checks/src/is-collection.cjs +0 -1
  182. package/dist/node_modules/.pnpm/@stryke_convert@0.6.35/node_modules/@stryke/convert/dist/type-checks/src/is-collection.mjs +0 -3
  183. package/dist/node_modules/.pnpm/@stryke_convert@0.6.35/node_modules/@stryke/convert/dist/type-checks/src/is-object.cjs +0 -19
  184. package/dist/node_modules/.pnpm/@stryke_convert@0.6.35/node_modules/@stryke/convert/dist/type-checks/src/is-object.mjs +0 -19
  185. package/dist/node_modules/.pnpm/@stryke_convert@0.6.35/node_modules/@stryke/convert/dist/type-checks/src/is-plain-object.cjs +0 -63
  186. package/dist/node_modules/.pnpm/@stryke_convert@0.6.35/node_modules/@stryke/convert/dist/type-checks/src/is-plain-object.mjs +0 -63
  187. package/dist/node_modules/.pnpm/@stryke_convert@0.6.35/node_modules/@stryke/convert/dist/type-checks/src/is-string.cjs +0 -12
  188. package/dist/node_modules/.pnpm/@stryke_convert@0.6.35/node_modules/@stryke/convert/dist/type-checks/src/is-string.mjs +0 -11
  189. package/dist/node_modules/.pnpm/@stryke_convert@0.6.35/node_modules/@stryke/convert/dist/type-checks/src/type-detect.cjs +0 -15
  190. package/dist/node_modules/.pnpm/@stryke_convert@0.6.35/node_modules/@stryke/convert/dist/type-checks/src/type-detect.mjs +0 -16
  191. package/dist/node_modules/.pnpm/@stryke_path@0.26.0/node_modules/@stryke/path/dist/is-parent-path.cjs +0 -32
  192. package/dist/node_modules/.pnpm/@stryke_path@0.26.0/node_modules/@stryke/path/dist/is-parent-path.mjs +0 -32
  193. package/dist/node_modules/.pnpm/@stryke_path@0.26.0/node_modules/@stryke/path/dist/is-type.cjs +0 -28
  194. package/dist/node_modules/.pnpm/@stryke_path@0.26.0/node_modules/@stryke/path/dist/is-type.mjs +0 -28
  195. package/dist/node_modules/.pnpm/@stryke_path@0.26.0/node_modules/@stryke/path/dist/join-paths.cjs +0 -106
  196. package/dist/node_modules/.pnpm/@stryke_path@0.26.0/node_modules/@stryke/path/dist/join-paths.mjs +0 -106
  197. package/dist/node_modules/.pnpm/@stryke_path@0.26.0/node_modules/@stryke/path/dist/regex.cjs +0 -12
  198. package/dist/node_modules/.pnpm/@stryke_path@0.26.0/node_modules/@stryke/path/dist/regex.mjs +0 -8
  199. package/dist/node_modules/.pnpm/@stryke_path@0.26.0/node_modules/@stryke/path/dist/slash.cjs +0 -15
  200. package/dist/node_modules/.pnpm/@stryke_path@0.26.0/node_modules/@stryke/path/dist/slash.mjs +0 -14
  201. package/dist/node_modules/.pnpm/c12@3.3.3_magicast@0.5.1/node_modules/c12/dist/index.cjs +0 -346
  202. package/dist/node_modules/.pnpm/c12@3.3.3_magicast@0.5.1/node_modules/c12/dist/index.mjs +0 -346
  203. package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/json5.cjs +0 -786
  204. package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/json5.mjs +0 -786
  205. package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/jsonc.cjs +0 -3
  206. package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/jsonc.mjs +0 -3
  207. package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/shared/confbox.DA7CpUDY.cjs +0 -23
  208. package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/shared/confbox.DA7CpUDY.mjs +0 -22
  209. package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/shared/confbox.DnMsyigM.cjs +0 -405
  210. package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/shared/confbox.DnMsyigM.mjs +0 -404
  211. package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/toml.cjs +0 -657
  212. package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/toml.mjs +0 -657
  213. package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/yaml.cjs +0 -1054
  214. package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/yaml.mjs +0 -1054
  215. package/dist/node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.cjs +0 -43
  216. package/dist/node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.mjs +0 -42
  217. package/dist/node_modules/.pnpm/destr@2.0.5/node_modules/destr/dist/index.cjs +0 -46
  218. package/dist/node_modules/.pnpm/destr@2.0.5/node_modules/destr/dist/index.mjs +0 -45
  219. package/dist/node_modules/.pnpm/dotenv@17.2.3/node_modules/dotenv/lib/main.cjs +0 -288
  220. package/dist/node_modules/.pnpm/dotenv@17.2.3/node_modules/dotenv/lib/main.mjs +0 -285
  221. package/dist/node_modules/.pnpm/dotenv@17.2.3/node_modules/dotenv/package.cjs +0 -71
  222. package/dist/node_modules/.pnpm/dotenv@17.2.3/node_modules/dotenv/package.mjs +0 -68
  223. package/dist/node_modules/.pnpm/exsolve@1.0.8/node_modules/exsolve/dist/index.cjs +0 -1013
  224. package/dist/node_modules/.pnpm/exsolve@1.0.8/node_modules/exsolve/dist/index.mjs +0 -1007
  225. package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/index.cjs +0 -23
  226. package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/index.mjs +0 -13
  227. package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/shared/giget.OCaTp9b-.cjs +0 -2698
  228. package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/shared/giget.OCaTp9b-.mjs +0 -2685
  229. package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/dist/jiti.cjs +0 -4457
  230. package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/dist/jiti.mjs +0 -4454
  231. package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/lib/jiti.cjs +0 -29
  232. package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/lib/jiti.mjs +0 -29
  233. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/chunks/multipart-parser.cjs +0 -181
  234. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/chunks/multipart-parser.mjs +0 -176
  235. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/index.cjs +0 -22
  236. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/index.mjs +0 -17
  237. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/node.cjs +0 -3967
  238. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/node.mjs +0 -3962
  239. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/proxy.cjs +0 -11768
  240. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/proxy.mjs +0 -11763
  241. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/shared/node-fetch-native.DhEqb06g.cjs +0 -25
  242. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/shared/node-fetch-native.DhEqb06g.mjs +0 -20
  243. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/lib/index.cjs +0 -20
  244. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/lib/index.mjs +0 -17
  245. package/dist/node_modules/.pnpm/nypm@0.6.4/node_modules/nypm/dist/index.cjs +0 -194
  246. package/dist/node_modules/.pnpm/nypm@0.6.4/node_modules/nypm/dist/index.mjs +0 -191
  247. package/dist/node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/crypto/node/index.cjs +0 -13
  248. package/dist/node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/crypto/node/index.mjs +0 -12
  249. package/dist/node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/index.cjs +0 -3
  250. package/dist/node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/index.mjs +0 -3
  251. package/dist/node_modules/.pnpm/pathe@2.0.3/node_modules/pathe/dist/shared/pathe.M-eThtNZ.cjs +0 -145
  252. package/dist/node_modules/.pnpm/pathe@2.0.3/node_modules/pathe/dist/shared/pathe.M-eThtNZ.mjs +0 -138
  253. package/dist/node_modules/.pnpm/pkg-types@2.3.0/node_modules/pkg-types/dist/index.cjs +0 -127
  254. package/dist/node_modules/.pnpm/pkg-types@2.3.0/node_modules/pkg-types/dist/index.mjs +0 -125
  255. package/dist/node_modules/.pnpm/rc9@2.1.2/node_modules/rc9/dist/index.cjs +0 -138
  256. package/dist/node_modules/.pnpm/rc9@2.1.2/node_modules/rc9/dist/index.mjs +0 -136
  257. package/dist/node_modules/.pnpm/tinyexec@1.0.2/node_modules/tinyexec/dist/main.cjs +0 -629
  258. package/dist/node_modules/.pnpm/tinyexec@1.0.2/node_modules/tinyexec/dist/main.mjs +0 -627
  259. /package/dist/{packages/deepkit → deepkit}/schemas/reflection.d.mts +0 -0
  260. /package/dist/{packages/deepkit → deepkit}/src/types.d.mts +0 -0
  261. /package/dist/{packages/plugin-alloy → plugin-alloy}/src/core/components/source-file.d.mts +0 -0
  262. /package/dist/{packages/plugin-alloy → plugin-alloy}/src/markdown/components/markdown-file.d.mts +0 -0
  263. /package/dist/{packages/plugin-alloy → plugin-alloy}/src/types/index.d.mts +0 -0
  264. /package/dist/{packages/plugin-alloy → plugin-alloy}/src/types/plugin.d.mts +0 -0
  265. /package/dist/{packages/plugin-alloy → plugin-alloy}/src/typescript/components/builtin-file.d.mts +0 -0
  266. /package/dist/{packages/plugin-automd → plugin-automd}/src/types/plugin.d.mts +0 -0
  267. /package/dist/{packages/plugin-automd → plugin-automd}/src/types/toc.d.mts +0 -0
  268. /package/dist/{packages/plugin-babel → plugin-babel}/src/types/index.d.mts +0 -0
  269. /package/dist/{packages/plugin-babel → plugin-babel}/src/types/plugin.d.mts +0 -0
  270. /package/dist/{packages/powerlines → powerlines}/src/internal/helpers/hooks.d.mts +0 -0
  271. /package/dist/{packages/powerlines → powerlines}/src/types/api.d.mts +0 -0
  272. /package/dist/{packages/powerlines → powerlines}/src/types/babel.d.mts +0 -0
  273. /package/dist/{packages/powerlines → powerlines}/src/types/commands.d.mts +0 -0
  274. /package/dist/{packages/powerlines → powerlines}/src/types/fs.d.mts +0 -0
  275. /package/dist/{packages/powerlines → powerlines}/src/types/hooks.d.mts +0 -0
  276. /package/dist/{packages/powerlines → powerlines}/src/types/index.d.mts +0 -0
  277. /package/dist/{packages/powerlines → powerlines}/src/types/resolved.d.mts +0 -0
@@ -0,0 +1,64 @@
1
+ const require_rolldown_runtime = require('../../../../_virtual/rolldown_runtime.cjs');
2
+ const require_context = require('../contexts/context.cjs');
3
+ require('../contexts/index.cjs');
4
+ let defu = require("defu");
5
+ defu = require_rolldown_runtime.__toESM(defu);
6
+ let __stryke_path_append = require("@stryke/path/append");
7
+ let __alloy_js_core = require("@alloy-js/core");
8
+ let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
9
+
10
+ //#region ../plugin-alloy/src/core/components/source-file.tsx
11
+ /**
12
+ * A base component representing a Powerlines generated source file.
13
+ *
14
+ * @param props - The properties for the source file.
15
+ * @returns The rendered source file component.
16
+ */
17
+ function SourceFile(props) {
18
+ const [{ children, meta, path, header, storage, filetype, reference }] = (0, __alloy_js_core.splitProps)(props, [
19
+ "children",
20
+ "meta",
21
+ "path",
22
+ "header",
23
+ "storage",
24
+ "filetype",
25
+ "reference"
26
+ ]);
27
+ const metadata = require_context.useMetaSafe();
28
+ const parentDirectory = (0, __alloy_js_core.useContext)(__alloy_js_core.SourceDirectoryContext);
29
+ const sourceFile = {
30
+ path: (0, __stryke_path_append.appendPath)(path, parentDirectory.path),
31
+ filetype,
32
+ reference
33
+ };
34
+ parentDirectory?.addContent(sourceFile);
35
+ const printOptions = (0, __alloy_js_core.useFormatOptions)({
36
+ printWidth: props.printWidth,
37
+ tabWidth: props.tabWidth,
38
+ useTabs: props.useTabs,
39
+ insertFinalNewLine: props.insertFinalNewLine
40
+ });
41
+ const nodeContext = (0, __alloy_js_core.getContext)();
42
+ nodeContext.meta = (0, defu.default)({
43
+ sourceFile,
44
+ printOptions
45
+ }, meta ?? {});
46
+ if (metadata) metadata[sourceFile.path] = {
47
+ storage,
48
+ ...meta ?? {}
49
+ };
50
+ return (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.SourceFileContext.Provider, {
51
+ value: sourceFile,
52
+ get children() {
53
+ return [(0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
54
+ when: header !== void 0,
55
+ get children() {
56
+ return [header, (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {})];
57
+ }
58
+ }), children];
59
+ }
60
+ });
61
+ }
62
+
63
+ //#endregion
64
+ exports.SourceFile = SourceFile;
@@ -0,0 +1,62 @@
1
+ import { useMetaSafe } from "../contexts/context.mjs";
2
+ import "../contexts/index.mjs";
3
+ import defu$1 from "defu";
4
+ import { appendPath } from "@stryke/path/append";
5
+ import { Show, SourceDirectoryContext, SourceFileContext, getContext, splitProps, useContext, useFormatOptions } from "@alloy-js/core";
6
+ import { createComponent, createIntrinsic } from "@alloy-js/core/jsx-runtime";
7
+
8
+ //#region ../plugin-alloy/src/core/components/source-file.tsx
9
+ /**
10
+ * A base component representing a Powerlines generated source file.
11
+ *
12
+ * @param props - The properties for the source file.
13
+ * @returns The rendered source file component.
14
+ */
15
+ function SourceFile(props) {
16
+ const [{ children, meta, path, header, storage, filetype, reference }] = splitProps(props, [
17
+ "children",
18
+ "meta",
19
+ "path",
20
+ "header",
21
+ "storage",
22
+ "filetype",
23
+ "reference"
24
+ ]);
25
+ const metadata = useMetaSafe();
26
+ const parentDirectory = useContext(SourceDirectoryContext);
27
+ const sourceFile = {
28
+ path: appendPath(path, parentDirectory.path),
29
+ filetype,
30
+ reference
31
+ };
32
+ parentDirectory?.addContent(sourceFile);
33
+ const printOptions = useFormatOptions({
34
+ printWidth: props.printWidth,
35
+ tabWidth: props.tabWidth,
36
+ useTabs: props.useTabs,
37
+ insertFinalNewLine: props.insertFinalNewLine
38
+ });
39
+ const nodeContext = getContext();
40
+ nodeContext.meta = defu$1({
41
+ sourceFile,
42
+ printOptions
43
+ }, meta ?? {});
44
+ if (metadata) metadata[sourceFile.path] = {
45
+ storage,
46
+ ...meta ?? {}
47
+ };
48
+ return createComponent(SourceFileContext.Provider, {
49
+ value: sourceFile,
50
+ get children() {
51
+ return [createComponent(Show, {
52
+ when: header !== void 0,
53
+ get children() {
54
+ return [header, createIntrinsic("hbr", {})];
55
+ }
56
+ }), children];
57
+ }
58
+ });
59
+ }
60
+
61
+ //#endregion
62
+ export { SourceFile };
@@ -0,0 +1,134 @@
1
+ const require_rolldown_runtime = require('../../../../_virtual/rolldown_runtime.cjs');
2
+ let __alloy_js_core = require("@alloy-js/core");
3
+
4
+ //#region ../plugin-alloy/src/core/contexts/context.ts
5
+ const __ΩRecord = [
6
+ "K",
7
+ "T",
8
+ "Record",
9
+ "l'e#\"Rb!b\"Pde\"!N#!w#y"
10
+ ];
11
+ const __ΩMetaItem = [
12
+ "builtin",
13
+ "entry",
14
+ "kind",
15
+ "The kind of metadata item.",
16
+ "skipFormat",
17
+ "Whether to skip formatting for this output.",
18
+ "StoragePreset",
19
+ "storage",
20
+ "The storage preset or adapter name for the output files.",
21
+ "MetaItem",
22
+ "PP.!.\"&J4#8?$)4%8?&P\"w'&J4(8?)&\"LMw*y"
23
+ ];
24
+ const __ΩPowerlinesContextInterface = [
25
+ "PluginContext",
26
+ "TContext",
27
+ () => __ΩRecord,
28
+ () => __ΩMetaItem,
29
+ "TMeta",
30
+ "value",
31
+ "The current Powerlines context.",
32
+ "meta",
33
+ "The current render metadata.",
34
+ "PowerlinesContextInterface",
35
+ "\"w!c\"&n$o##c%Pe\"!4&?'e\"\"4(?)Mw*y"
36
+ ];
37
+ /**
38
+ * The Powerlines context used in template rendering.
39
+ */
40
+ const PowerlinesContext = (__alloy_js_core.createNamedContext.Ω = [[() => __ΩPowerlinesContextInterface, "\"\"o!#"]], (0, __alloy_js_core.createNamedContext)("powerlines"));
41
+ /**
42
+ * Hook to access the Powerlines Context.
43
+ *
44
+ * @returns The Context.
45
+ */
46
+ function usePowerlinesContext() {
47
+ return __alloy_js_core.useContext.Ω = [[
48
+ () => __ΩPowerlinesContextInterface,
49
+ "PluginContext",
50
+ () => __ΩRecord,
51
+ () => __ΩMetaItem,
52
+ "\"w\"&n$o##o!#"
53
+ ]], (0, __alloy_js_core.useContext)(PowerlinesContext);
54
+ }
55
+ usePowerlinesContext.__type = [
56
+ () => __ΩPowerlinesContextInterface,
57
+ "usePowerlinesContext",
58
+ "Hook to access the Powerlines Context.",
59
+ "PP\"\"o!#-J/\"?#"
60
+ ];
61
+ /**
62
+ * Hook to safely access the {@link PluginContext | Powerlines context}.
63
+ *
64
+ * @returns The Powerlines context or undefined if not set.
65
+ */
66
+ function usePowerlinesSafe() {
67
+ return (usePowerlinesContext.Ω = [["PluginContext", "\"w!"]], usePowerlinesContext())?.value;
68
+ }
69
+ usePowerlinesSafe.__type = [
70
+ "usePowerlinesSafe",
71
+ "Hook to safely access the {@link PluginContext | Powerlines context}.",
72
+ "PP\"-J/!?\""
73
+ ];
74
+ /**
75
+ * Hook to access the {@link PluginContext | Powerlines context}.
76
+ *
77
+ * @returns The Powerlines context.
78
+ */
79
+ function usePowerlines() {
80
+ const powerlines = (usePowerlinesSafe.Ω = [["PluginContext", "\"w!"]], usePowerlinesSafe());
81
+ if (!powerlines) throw new Error("Powerlines - Context is not set. Please make sure the Alloy components are being provided to an invocation of the `render` function added to plugins by `@powerlines/plugin-alloy`.");
82
+ return powerlines;
83
+ }
84
+ usePowerlines.__type = [
85
+ "usePowerlines",
86
+ "Hook to access the {@link PluginContext | Powerlines context}.",
87
+ "P\"/!?\""
88
+ ];
89
+ /**
90
+ * Hook to safely access the render context's metadata.
91
+ *
92
+ * @returns The Powerlines context or undefined if not set.
93
+ */
94
+ function useMetaSafe() {
95
+ return (usePowerlinesContext.Ω = [["PluginContext", "\"w!"], [
96
+ () => __ΩRecord,
97
+ () => __ΩMetaItem,
98
+ "&n\"o!#"
99
+ ]], usePowerlinesContext())?.meta;
100
+ }
101
+ useMetaSafe.__type = [
102
+ "useMetaSafe",
103
+ "Hook to safely access the render context's metadata.",
104
+ "PP\"-J/!?\""
105
+ ];
106
+ /**
107
+ * Hook to access the render context's metadata.
108
+ *
109
+ * @returns The Powerlines context.
110
+ */
111
+ function useMeta() {
112
+ const meta = (useMetaSafe.Ω = [[
113
+ () => __ΩRecord,
114
+ () => __ΩMetaItem,
115
+ "&n\"o!#"
116
+ ]], useMetaSafe());
117
+ if (!meta) throw new Error("Powerlines metadata is not available in the rendering context. Please make sure the Alloy components are being provided to an invocation of the `render` function added to plugins by `@powerlines/plugin-alloy`.");
118
+ return meta;
119
+ }
120
+ useMeta.__type = [
121
+ "useMeta",
122
+ "Hook to access the render context's metadata.",
123
+ "P\"/!?\""
124
+ ];
125
+
126
+ //#endregion
127
+ exports.PowerlinesContext = PowerlinesContext;
128
+ exports.__ΩMetaItem = __ΩMetaItem;
129
+ exports.__ΩPowerlinesContextInterface = __ΩPowerlinesContextInterface;
130
+ exports.useMeta = useMeta;
131
+ exports.useMetaSafe = useMetaSafe;
132
+ exports.usePowerlines = usePowerlines;
133
+ exports.usePowerlinesContext = usePowerlinesContext;
134
+ exports.usePowerlinesSafe = usePowerlinesSafe;
@@ -0,0 +1,126 @@
1
+ import { createNamedContext, useContext } from "@alloy-js/core";
2
+
3
+ //#region ../plugin-alloy/src/core/contexts/context.ts
4
+ const __ΩRecord = [
5
+ "K",
6
+ "T",
7
+ "Record",
8
+ "l'e#\"Rb!b\"Pde\"!N#!w#y"
9
+ ];
10
+ const __ΩMetaItem = [
11
+ "builtin",
12
+ "entry",
13
+ "kind",
14
+ "The kind of metadata item.",
15
+ "skipFormat",
16
+ "Whether to skip formatting for this output.",
17
+ "StoragePreset",
18
+ "storage",
19
+ "The storage preset or adapter name for the output files.",
20
+ "MetaItem",
21
+ "PP.!.\"&J4#8?$)4%8?&P\"w'&J4(8?)&\"LMw*y"
22
+ ];
23
+ const __ΩPowerlinesContextInterface = [
24
+ "PluginContext",
25
+ "TContext",
26
+ () => __ΩRecord,
27
+ () => __ΩMetaItem,
28
+ "TMeta",
29
+ "value",
30
+ "The current Powerlines context.",
31
+ "meta",
32
+ "The current render metadata.",
33
+ "PowerlinesContextInterface",
34
+ "\"w!c\"&n$o##c%Pe\"!4&?'e\"\"4(?)Mw*y"
35
+ ];
36
+ /**
37
+ * The Powerlines context used in template rendering.
38
+ */
39
+ const PowerlinesContext = (createNamedContext.Ω = [[() => __ΩPowerlinesContextInterface, "\"\"o!#"]], createNamedContext("powerlines"));
40
+ /**
41
+ * Hook to access the Powerlines Context.
42
+ *
43
+ * @returns The Context.
44
+ */
45
+ function usePowerlinesContext() {
46
+ return useContext.Ω = [[
47
+ () => __ΩPowerlinesContextInterface,
48
+ "PluginContext",
49
+ () => __ΩRecord,
50
+ () => __ΩMetaItem,
51
+ "\"w\"&n$o##o!#"
52
+ ]], useContext(PowerlinesContext);
53
+ }
54
+ usePowerlinesContext.__type = [
55
+ () => __ΩPowerlinesContextInterface,
56
+ "usePowerlinesContext",
57
+ "Hook to access the Powerlines Context.",
58
+ "PP\"\"o!#-J/\"?#"
59
+ ];
60
+ /**
61
+ * Hook to safely access the {@link PluginContext | Powerlines context}.
62
+ *
63
+ * @returns The Powerlines context or undefined if not set.
64
+ */
65
+ function usePowerlinesSafe() {
66
+ return (usePowerlinesContext.Ω = [["PluginContext", "\"w!"]], usePowerlinesContext())?.value;
67
+ }
68
+ usePowerlinesSafe.__type = [
69
+ "usePowerlinesSafe",
70
+ "Hook to safely access the {@link PluginContext | Powerlines context}.",
71
+ "PP\"-J/!?\""
72
+ ];
73
+ /**
74
+ * Hook to access the {@link PluginContext | Powerlines context}.
75
+ *
76
+ * @returns The Powerlines context.
77
+ */
78
+ function usePowerlines() {
79
+ const powerlines = (usePowerlinesSafe.Ω = [["PluginContext", "\"w!"]], usePowerlinesSafe());
80
+ if (!powerlines) throw new Error("Powerlines - Context is not set. Please make sure the Alloy components are being provided to an invocation of the `render` function added to plugins by `@powerlines/plugin-alloy`.");
81
+ return powerlines;
82
+ }
83
+ usePowerlines.__type = [
84
+ "usePowerlines",
85
+ "Hook to access the {@link PluginContext | Powerlines context}.",
86
+ "P\"/!?\""
87
+ ];
88
+ /**
89
+ * Hook to safely access the render context's metadata.
90
+ *
91
+ * @returns The Powerlines context or undefined if not set.
92
+ */
93
+ function useMetaSafe() {
94
+ return (usePowerlinesContext.Ω = [["PluginContext", "\"w!"], [
95
+ () => __ΩRecord,
96
+ () => __ΩMetaItem,
97
+ "&n\"o!#"
98
+ ]], usePowerlinesContext())?.meta;
99
+ }
100
+ useMetaSafe.__type = [
101
+ "useMetaSafe",
102
+ "Hook to safely access the render context's metadata.",
103
+ "PP\"-J/!?\""
104
+ ];
105
+ /**
106
+ * Hook to access the render context's metadata.
107
+ *
108
+ * @returns The Powerlines context.
109
+ */
110
+ function useMeta() {
111
+ const meta = (useMetaSafe.Ω = [[
112
+ () => __ΩRecord,
113
+ () => __ΩMetaItem,
114
+ "&n\"o!#"
115
+ ]], useMetaSafe());
116
+ if (!meta) throw new Error("Powerlines metadata is not available in the rendering context. Please make sure the Alloy components are being provided to an invocation of the `render` function added to plugins by `@powerlines/plugin-alloy`.");
117
+ return meta;
118
+ }
119
+ useMeta.__type = [
120
+ "useMeta",
121
+ "Hook to access the render context's metadata.",
122
+ "P\"/!?\""
123
+ ];
124
+
125
+ //#endregion
126
+ export { PowerlinesContext, __ΩMetaItem, __ΩPowerlinesContextInterface, useMeta, useMetaSafe, usePowerlines, usePowerlinesContext, usePowerlinesSafe };
@@ -0,0 +1,2 @@
1
+ const require_context = require('./context.cjs');
2
+ const require_reflection = require('./reflection.cjs');
@@ -0,0 +1,4 @@
1
+ import { PowerlinesContext, __ΩMetaItem, __ΩPowerlinesContextInterface, useMeta, useMetaSafe, usePowerlines, usePowerlinesContext, usePowerlinesSafe } from "./context.mjs";
2
+ import { ReflectionClassContext, ReflectionMethodContext, ReflectionParameterContext, ReflectionPropertyContext, __ΩReflectionClassContextInterface, useReflectionClass, useReflectionMethod, useReflectionParameter, useReflectionProperty } from "./reflection.mjs";
3
+
4
+ export { };
@@ -0,0 +1,110 @@
1
+ const require_rolldown_runtime = require('../../../../_virtual/rolldown_runtime.cjs');
2
+ const require_components = require('../../types/components.cjs');
3
+ let __alloy_js_core = require("@alloy-js/core");
4
+
5
+ //#region ../plugin-alloy/src/core/contexts/reflection.ts
6
+ const __ΩRecord = [
7
+ "K",
8
+ "T",
9
+ "Record",
10
+ "l'e#\"Rb!b\"Pde\"!N#!w#y"
11
+ ];
12
+ const __ΩReflectionClassContextInterface = [
13
+ () => __ΩRecord,
14
+ "T",
15
+ "ReflectionClass",
16
+ "reflection",
17
+ () => require_components.__ΩReflectionOverrideInterface,
18
+ "override",
19
+ "ReflectionClassContextInterface",
20
+ "&\"o!#c\"P\"w#4$e\"!o%\"4&8Mw'y"
21
+ ];
22
+ /**
23
+ * The reflection class context used in template rendering.
24
+ */
25
+ const ReflectionClassContext = (__alloy_js_core.createContext.Ω = [[() => __ΩReflectionClassContextInterface, "\"o!\""]], (0, __alloy_js_core.createContext)());
26
+ /**
27
+ * Hook to access the Reflection context.
28
+ *
29
+ * @returns A reactive version of the current reflection.
30
+ */
31
+ function useReflectionClass() {
32
+ const context = (__alloy_js_core.useContext.Ω = [[
33
+ () => __ΩReflectionClassContextInterface,
34
+ () => __ΩRecord,
35
+ "&\"o\"#o!\""
36
+ ]], (0, __alloy_js_core.useContext)(ReflectionClassContext));
37
+ if (!context) throw new Error("Powerlines - ReflectionClass Context is not set. Please make sure the Alloy components are being provided to an invocation of the `render` function added to plugins by `@powerlines/plugin-alloy`.");
38
+ return context;
39
+ }
40
+ useReflectionClass.__type = [
41
+ "useReflectionClass",
42
+ "Hook to access the Reflection context.",
43
+ "P\"/!?\""
44
+ ];
45
+ /**
46
+ * The reflection property context used in template rendering.
47
+ */
48
+ const ReflectionPropertyContext = (__alloy_js_core.createNamedContext.Ω = [["ReflectionProperty", "\"w!"]], (0, __alloy_js_core.createNamedContext)("reflection-property"));
49
+ /**
50
+ * Hook to access the Reflection Property context.
51
+ *
52
+ * @returns A reactive version of the current reflection.
53
+ */
54
+ function useReflectionProperty() {
55
+ const context = (__alloy_js_core.useContext.Ω = [["ReflectionProperty", "\"w!"]], (0, __alloy_js_core.useContext)(ReflectionPropertyContext));
56
+ if (!context) throw new Error("Powerlines - Reflection Property Context is not set. Please make sure the Alloy components are being provided to an invocation of the `render` function added to plugins by `@powerlines/plugin-alloy`.");
57
+ return context;
58
+ }
59
+ useReflectionProperty.__type = [
60
+ "useReflectionProperty",
61
+ "Hook to access the Reflection Property context.",
62
+ "P\"/!?\""
63
+ ];
64
+ /**
65
+ * The reflection method context used in template rendering.
66
+ */
67
+ const ReflectionMethodContext = (__alloy_js_core.createNamedContext.Ω = [["ReflectionMethod", "\"w!"]], (0, __alloy_js_core.createNamedContext)("reflection-method"));
68
+ /**
69
+ * Hook to access the Reflection Method context.
70
+ *
71
+ * @returns A reactive version of the current reflection.
72
+ */
73
+ function useReflectionMethod() {
74
+ const context = (__alloy_js_core.useContext.Ω = [["ReflectionMethod", "\"w!"]], (0, __alloy_js_core.useContext)(ReflectionMethodContext));
75
+ if (!context) throw new Error("Powerlines - Reflection Method Context is not set. Please make sure the Alloy components are being provided to an invocation of the `render` function added to plugins by `@powerlines/plugin-alloy`.");
76
+ return context;
77
+ }
78
+ useReflectionMethod.__type = [
79
+ "useReflectionMethod",
80
+ "Hook to access the Reflection Method context.",
81
+ "P\"/!?\""
82
+ ];
83
+ /**
84
+ * The reflection parameter context used in template rendering.
85
+ */
86
+ const ReflectionParameterContext = (__alloy_js_core.createNamedContext.Ω = [["ReflectionParameter", "\"w!"]], (0, __alloy_js_core.createNamedContext)("reflection-parameter"));
87
+ /**
88
+ * Hook to access the Reflection Parameter context.
89
+ *
90
+ * @returns A reactive version of the current reflection.
91
+ */
92
+ function useReflectionParameter() {
93
+ return __alloy_js_core.useContext.Ω = [["ReflectionParameter", "\"w!"]], (0, __alloy_js_core.useContext)(ReflectionParameterContext);
94
+ }
95
+ useReflectionParameter.__type = [
96
+ "useReflectionParameter",
97
+ "Hook to access the Reflection Parameter context.",
98
+ "P\"/!?\""
99
+ ];
100
+
101
+ //#endregion
102
+ exports.ReflectionClassContext = ReflectionClassContext;
103
+ exports.ReflectionMethodContext = ReflectionMethodContext;
104
+ exports.ReflectionParameterContext = ReflectionParameterContext;
105
+ exports.ReflectionPropertyContext = ReflectionPropertyContext;
106
+ exports.__ΩReflectionClassContextInterface = __ΩReflectionClassContextInterface;
107
+ exports.useReflectionClass = useReflectionClass;
108
+ exports.useReflectionMethod = useReflectionMethod;
109
+ exports.useReflectionParameter = useReflectionParameter;
110
+ exports.useReflectionProperty = useReflectionProperty;
@@ -0,0 +1,101 @@
1
+ import { __ΩReflectionOverrideInterface } from "../../types/components.mjs";
2
+ import { createContext, createNamedContext, useContext } from "@alloy-js/core";
3
+
4
+ //#region ../plugin-alloy/src/core/contexts/reflection.ts
5
+ const __ΩRecord = [
6
+ "K",
7
+ "T",
8
+ "Record",
9
+ "l'e#\"Rb!b\"Pde\"!N#!w#y"
10
+ ];
11
+ const __ΩReflectionClassContextInterface = [
12
+ () => __ΩRecord,
13
+ "T",
14
+ "ReflectionClass",
15
+ "reflection",
16
+ () => __ΩReflectionOverrideInterface,
17
+ "override",
18
+ "ReflectionClassContextInterface",
19
+ "&\"o!#c\"P\"w#4$e\"!o%\"4&8Mw'y"
20
+ ];
21
+ /**
22
+ * The reflection class context used in template rendering.
23
+ */
24
+ const ReflectionClassContext = (createContext.Ω = [[() => __ΩReflectionClassContextInterface, "\"o!\""]], createContext());
25
+ /**
26
+ * Hook to access the Reflection context.
27
+ *
28
+ * @returns A reactive version of the current reflection.
29
+ */
30
+ function useReflectionClass() {
31
+ const context = (useContext.Ω = [[
32
+ () => __ΩReflectionClassContextInterface,
33
+ () => __ΩRecord,
34
+ "&\"o\"#o!\""
35
+ ]], useContext(ReflectionClassContext));
36
+ if (!context) throw new Error("Powerlines - ReflectionClass Context is not set. Please make sure the Alloy components are being provided to an invocation of the `render` function added to plugins by `@powerlines/plugin-alloy`.");
37
+ return context;
38
+ }
39
+ useReflectionClass.__type = [
40
+ "useReflectionClass",
41
+ "Hook to access the Reflection context.",
42
+ "P\"/!?\""
43
+ ];
44
+ /**
45
+ * The reflection property context used in template rendering.
46
+ */
47
+ const ReflectionPropertyContext = (createNamedContext.Ω = [["ReflectionProperty", "\"w!"]], createNamedContext("reflection-property"));
48
+ /**
49
+ * Hook to access the Reflection Property context.
50
+ *
51
+ * @returns A reactive version of the current reflection.
52
+ */
53
+ function useReflectionProperty() {
54
+ const context = (useContext.Ω = [["ReflectionProperty", "\"w!"]], useContext(ReflectionPropertyContext));
55
+ if (!context) throw new Error("Powerlines - Reflection Property Context is not set. Please make sure the Alloy components are being provided to an invocation of the `render` function added to plugins by `@powerlines/plugin-alloy`.");
56
+ return context;
57
+ }
58
+ useReflectionProperty.__type = [
59
+ "useReflectionProperty",
60
+ "Hook to access the Reflection Property context.",
61
+ "P\"/!?\""
62
+ ];
63
+ /**
64
+ * The reflection method context used in template rendering.
65
+ */
66
+ const ReflectionMethodContext = (createNamedContext.Ω = [["ReflectionMethod", "\"w!"]], createNamedContext("reflection-method"));
67
+ /**
68
+ * Hook to access the Reflection Method context.
69
+ *
70
+ * @returns A reactive version of the current reflection.
71
+ */
72
+ function useReflectionMethod() {
73
+ const context = (useContext.Ω = [["ReflectionMethod", "\"w!"]], useContext(ReflectionMethodContext));
74
+ if (!context) throw new Error("Powerlines - Reflection Method Context is not set. Please make sure the Alloy components are being provided to an invocation of the `render` function added to plugins by `@powerlines/plugin-alloy`.");
75
+ return context;
76
+ }
77
+ useReflectionMethod.__type = [
78
+ "useReflectionMethod",
79
+ "Hook to access the Reflection Method context.",
80
+ "P\"/!?\""
81
+ ];
82
+ /**
83
+ * The reflection parameter context used in template rendering.
84
+ */
85
+ const ReflectionParameterContext = (createNamedContext.Ω = [["ReflectionParameter", "\"w!"]], createNamedContext("reflection-parameter"));
86
+ /**
87
+ * Hook to access the Reflection Parameter context.
88
+ *
89
+ * @returns A reactive version of the current reflection.
90
+ */
91
+ function useReflectionParameter() {
92
+ return useContext.Ω = [["ReflectionParameter", "\"w!"]], useContext(ReflectionParameterContext);
93
+ }
94
+ useReflectionParameter.__type = [
95
+ "useReflectionParameter",
96
+ "Hook to access the Reflection Parameter context.",
97
+ "P\"/!?\""
98
+ ];
99
+
100
+ //#endregion
101
+ export { ReflectionClassContext, ReflectionMethodContext, ReflectionParameterContext, ReflectionPropertyContext, __ΩReflectionClassContextInterface, useReflectionClass, useReflectionMethod, useReflectionParameter, useReflectionProperty };
@@ -0,0 +1,23 @@
1
+ const require_rolldown_runtime = require('../../../_virtual/rolldown_runtime.cjs');
2
+ let __alloy_js_core = require("@alloy-js/core");
3
+
4
+ //#region ../plugin-alloy/src/helpers/refkey.ts
5
+ /**
6
+ * Create a refkey for the provided arguments. Passing no arguments returns a fresh refkey that is guaranteed to be unique. Otherwise, the arguments passed will be used to create a refkey for those values. Providing the same arguments will always return the same refkey.
7
+ *
8
+ * @remarks
9
+ * Values are compared using the SameValueZero algorithm, which considers objects the same if they are reference identical, and primitives the same if they are the same value, with the exception of `NaN`, which is always considered equal to other `NaN` values, and `-0`, which is considered identical to `+0`
10
+ */
11
+ function refkey(...args) {
12
+ return (0, __alloy_js_core.refkey)("powerlines", ...args);
13
+ }
14
+ refkey.__type = [
15
+ "args",
16
+ "Refkey",
17
+ "refkey",
18
+ "Create a refkey for the provided arguments. Passing no arguments returns a fresh refkey that is guaranteed to be unique. Otherwise, the arguments passed will be used to create a refkey for those values. Providing the same arguments will always return the same refkey.",
19
+ "P#@2!\"w\"/#?$"
20
+ ];
21
+
22
+ //#endregion
23
+ exports.refkey = refkey;
@@ -0,0 +1,22 @@
1
+ import { refkey } from "@alloy-js/core";
2
+
3
+ //#region ../plugin-alloy/src/helpers/refkey.ts
4
+ /**
5
+ * Create a refkey for the provided arguments. Passing no arguments returns a fresh refkey that is guaranteed to be unique. Otherwise, the arguments passed will be used to create a refkey for those values. Providing the same arguments will always return the same refkey.
6
+ *
7
+ * @remarks
8
+ * Values are compared using the SameValueZero algorithm, which considers objects the same if they are reference identical, and primitives the same if they are the same value, with the exception of `NaN`, which is always considered equal to other `NaN` values, and `-0`, which is considered identical to `+0`
9
+ */
10
+ function refkey$1(...args) {
11
+ return refkey("powerlines", ...args);
12
+ }
13
+ refkey$1.__type = [
14
+ "args",
15
+ "Refkey",
16
+ "refkey",
17
+ "Create a refkey for the provided arguments. Passing no arguments returns a fresh refkey that is guaranteed to be unique. Otherwise, the arguments passed will be used to create a refkey for those values. Providing the same arguments will always return the same refkey.",
18
+ "P#@2!\"w\"/#?$"
19
+ ];
20
+
21
+ //#endregion
22
+ export { refkey$1 as refkey };