@powerlines/plugin-alloy 0.25.24 → 0.25.26

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 (190) hide show
  1. package/README.md +14 -16
  2. package/dist/_virtual/{rolldown_runtime.cjs → _rolldown/runtime.cjs} +1 -1
  3. package/dist/_virtual/_rolldown/runtime.mjs +3 -0
  4. package/dist/core/components/index.cjs +1 -0
  5. package/dist/core/components/output.cjs +9 -8
  6. package/dist/core/components/output.d.cts +2 -3
  7. package/dist/core/components/output.d.cts.map +1 -1
  8. package/dist/core/components/output.d.mts +2 -3
  9. package/dist/core/components/output.d.mts.map +1 -1
  10. package/dist/core/components/single-line-comment.cjs +6 -5
  11. package/dist/core/components/single-line-comment.d.cts +2 -2
  12. package/dist/core/components/single-line-comment.d.cts.map +1 -1
  13. package/dist/core/components/single-line-comment.d.mts +2 -2
  14. package/dist/core/components/single-line-comment.d.mts.map +1 -1
  15. package/dist/core/components/source-file.cjs +14 -13
  16. package/dist/core/components/source-file.d.cts.map +1 -1
  17. package/dist/core/components/source-file.d.mts +2 -2
  18. package/dist/core/components/source-file.d.mts.map +1 -1
  19. package/dist/core/components/spacing.cjs +6 -5
  20. package/dist/core/components/spacing.d.cts.map +1 -1
  21. package/dist/core/components/spacing.d.mts +2 -2
  22. package/dist/core/components/spacing.d.mts.map +1 -1
  23. package/dist/core/contexts/context.cjs +5 -4
  24. package/dist/core/contexts/context.d.cts +0 -1
  25. package/dist/core/contexts/context.d.cts.map +1 -1
  26. package/dist/core/contexts/context.d.mts +0 -1
  27. package/dist/core/contexts/context.d.mts.map +1 -1
  28. package/dist/core/contexts/index.cjs +1 -0
  29. package/dist/core/contexts/meta.cjs +5 -4
  30. package/dist/core/contexts/meta.d.cts.map +1 -1
  31. package/dist/core/contexts/meta.d.mts.map +1 -1
  32. package/dist/core/contexts/reflection.cjs +11 -10
  33. package/dist/core/contexts/reflection.d.cts.map +1 -1
  34. package/dist/core/contexts/reflection.d.mts.map +1 -1
  35. package/dist/core/helpers/code.cjs +4 -3
  36. package/dist/core/helpers/code.d.cts +0 -1
  37. package/dist/core/helpers/code.d.cts.map +1 -1
  38. package/dist/core/helpers/code.d.mts +0 -1
  39. package/dist/core/helpers/code.d.mts.map +1 -1
  40. package/dist/core/helpers/index.cjs +1 -0
  41. package/dist/core/index.cjs +1 -0
  42. package/dist/core/index.d.cts +0 -3
  43. package/dist/core/index.d.mts +0 -3
  44. package/dist/helpers/capnp.cjs +65 -64
  45. package/dist/helpers/capnp.d.cts +0 -1
  46. package/dist/helpers/capnp.d.cts.map +1 -1
  47. package/dist/helpers/capnp.d.mts +0 -1
  48. package/dist/helpers/capnp.d.mts.map +1 -1
  49. package/dist/helpers/capnp.mjs +3 -3
  50. package/dist/helpers/create-builtin.cjs +4 -3
  51. package/dist/helpers/create-builtin.d.cts.map +1 -1
  52. package/dist/helpers/create-builtin.d.mts.map +1 -1
  53. package/dist/helpers/index.cjs +1 -0
  54. package/dist/helpers/refkey.cjs +4 -3
  55. package/dist/helpers/refkey.d.cts +0 -1
  56. package/dist/helpers/refkey.d.cts.map +1 -1
  57. package/dist/helpers/refkey.d.mts +0 -1
  58. package/dist/helpers/refkey.d.mts.map +1 -1
  59. package/dist/helpers/typescript.cjs +14 -13
  60. package/dist/helpers/typescript.d.cts.map +1 -1
  61. package/dist/helpers/typescript.d.mts.map +1 -1
  62. package/dist/index.cjs +8 -9
  63. package/dist/index.d.cts.map +1 -1
  64. package/dist/index.d.mts.map +1 -1
  65. package/dist/index.mjs +1 -2
  66. package/dist/markdown/components/front-matter.cjs +8 -7
  67. package/dist/markdown/components/front-matter.d.cts +2 -2
  68. package/dist/markdown/components/front-matter.d.cts.map +1 -1
  69. package/dist/markdown/components/front-matter.d.mts +2 -2
  70. package/dist/markdown/components/front-matter.d.mts.map +1 -1
  71. package/dist/markdown/components/index.cjs +1 -0
  72. package/dist/markdown/components/markdown-file.cjs +34 -33
  73. package/dist/markdown/components/markdown-file.d.cts +3 -3
  74. package/dist/markdown/components/markdown-file.d.cts.map +1 -1
  75. package/dist/markdown/components/markdown-file.d.mts +3 -3
  76. package/dist/markdown/components/markdown-file.d.mts.map +1 -1
  77. package/dist/markdown/components/markdown-table.cjs +26 -25
  78. package/dist/markdown/components/markdown-table.d.cts +4 -4
  79. package/dist/markdown/components/markdown-table.d.cts.map +1 -1
  80. package/dist/markdown/components/markdown-table.d.mts.map +1 -1
  81. package/dist/markdown/contexts/index.cjs +1 -0
  82. package/dist/markdown/contexts/markdown-table.cjs +7 -6
  83. package/dist/markdown/contexts/markdown-table.d.cts.map +1 -1
  84. package/dist/markdown/contexts/markdown-table.d.mts.map +1 -1
  85. package/dist/markdown/index.cjs +1 -0
  86. package/dist/markdown/index.d.cts +0 -2
  87. package/dist/markdown/index.d.mts +0 -2
  88. package/dist/render.cjs +10 -9
  89. package/dist/render.d.cts +0 -1
  90. package/dist/render.d.cts.map +1 -1
  91. package/dist/render.d.mts +0 -1
  92. package/dist/render.d.mts.map +1 -1
  93. package/dist/types/components.d.cts.map +1 -1
  94. package/dist/types/components.d.mts.map +1 -1
  95. package/dist/types/plugin.d.cts.map +1 -1
  96. package/dist/types/plugin.d.mts.map +1 -1
  97. package/dist/typescript/components/builtin-file.cjs +14 -13
  98. package/dist/typescript/components/builtin-file.d.cts +2 -2
  99. package/dist/typescript/components/builtin-file.d.cts.map +1 -1
  100. package/dist/typescript/components/builtin-file.d.mts +2 -2
  101. package/dist/typescript/components/builtin-file.d.mts.map +1 -1
  102. package/dist/typescript/components/class-declaration.cjs +57 -56
  103. package/dist/typescript/components/class-declaration.d.cts.map +1 -1
  104. package/dist/typescript/components/class-declaration.d.mts.map +1 -1
  105. package/dist/typescript/components/dynamic-import-statement.cjs +6 -5
  106. package/dist/typescript/components/dynamic-import-statement.d.cts +2 -2
  107. package/dist/typescript/components/dynamic-import-statement.d.cts.map +1 -1
  108. package/dist/typescript/components/dynamic-import-statement.d.mts +2 -2
  109. package/dist/typescript/components/dynamic-import-statement.d.mts.map +1 -1
  110. package/dist/typescript/components/entry-file.cjs +12 -11
  111. package/dist/typescript/components/entry-file.d.cts +2 -2
  112. package/dist/typescript/components/entry-file.d.cts.map +1 -1
  113. package/dist/typescript/components/entry-file.d.mts +2 -2
  114. package/dist/typescript/components/entry-file.d.mts.map +1 -1
  115. package/dist/typescript/components/index.cjs +1 -0
  116. package/dist/typescript/components/infrastructure-file.cjs +11 -10
  117. package/dist/typescript/components/infrastructure-file.d.cts +2 -2
  118. package/dist/typescript/components/infrastructure-file.d.cts.map +1 -1
  119. package/dist/typescript/components/infrastructure-file.d.mts +2 -2
  120. package/dist/typescript/components/infrastructure-file.d.mts.map +1 -1
  121. package/dist/typescript/components/interface-declaration.cjs +59 -58
  122. package/dist/typescript/components/interface-declaration.d.cts +2 -2
  123. package/dist/typescript/components/interface-declaration.d.cts.map +1 -1
  124. package/dist/typescript/components/interface-declaration.d.mts +2 -2
  125. package/dist/typescript/components/interface-declaration.d.mts.map +1 -1
  126. package/dist/typescript/components/interface-declaration.mjs +2 -2
  127. package/dist/typescript/components/object-declaration.cjs +40 -39
  128. package/dist/typescript/components/object-declaration.d.cts +3 -3
  129. package/dist/typescript/components/object-declaration.d.cts.map +1 -1
  130. package/dist/typescript/components/object-declaration.d.mts +3 -3
  131. package/dist/typescript/components/object-declaration.d.mts.map +1 -1
  132. package/dist/typescript/components/property-name.cjs +8 -7
  133. package/dist/typescript/components/property-name.d.cts +2 -2
  134. package/dist/typescript/components/property-name.d.cts.map +1 -1
  135. package/dist/typescript/components/property-name.d.mts +2 -2
  136. package/dist/typescript/components/property-name.d.mts.map +1 -1
  137. package/dist/typescript/components/record-expression.cjs +4 -3
  138. package/dist/typescript/components/record-expression.d.cts.map +1 -1
  139. package/dist/typescript/components/record-expression.d.mts.map +1 -1
  140. package/dist/typescript/components/tsdoc-reflection.cjs +74 -73
  141. package/dist/typescript/components/tsdoc-reflection.d.cts +7 -7
  142. package/dist/typescript/components/tsdoc-reflection.d.cts.map +1 -1
  143. package/dist/typescript/components/tsdoc-reflection.d.mts +7 -7
  144. package/dist/typescript/components/tsdoc-reflection.d.mts.map +1 -1
  145. package/dist/typescript/components/tsdoc.cjs +107 -106
  146. package/dist/typescript/components/tsdoc.d.cts.map +1 -1
  147. package/dist/typescript/components/tsdoc.d.mts.map +1 -1
  148. package/dist/typescript/components/tsdoc.mjs +2 -2
  149. package/dist/typescript/components/tsdoc.mjs.map +1 -1
  150. package/dist/typescript/components/type-declaration.cjs +11 -10
  151. package/dist/typescript/components/type-declaration.d.cts +2 -2
  152. package/dist/typescript/components/type-declaration.d.cts.map +1 -1
  153. package/dist/typescript/components/type-declaration.d.mts +2 -2
  154. package/dist/typescript/components/type-declaration.d.mts.map +1 -1
  155. package/dist/typescript/components/type-declaration.mjs +1 -1
  156. package/dist/typescript/components/type-parameters.cjs +17 -16
  157. package/dist/typescript/components/type-parameters.d.cts.map +1 -1
  158. package/dist/typescript/components/type-parameters.d.mts.map +1 -1
  159. package/dist/typescript/components/typescript-file.cjs +63 -62
  160. package/dist/typescript/components/typescript-file.d.cts.map +1 -1
  161. package/dist/typescript/components/typescript-file.d.mts.map +1 -1
  162. package/dist/typescript/contexts/index.cjs +1 -0
  163. package/dist/typescript/contexts/lexical-scope.cjs +8 -7
  164. package/dist/typescript/contexts/lexical-scope.d.cts +2 -2
  165. package/dist/typescript/contexts/lexical-scope.d.cts.map +1 -1
  166. package/dist/typescript/contexts/lexical-scope.d.mts +2 -2
  167. package/dist/typescript/contexts/lexical-scope.d.mts.map +1 -1
  168. package/dist/typescript/contexts/member-scope.cjs +8 -7
  169. package/dist/typescript/contexts/member-scope.d.cts.map +1 -1
  170. package/dist/typescript/contexts/member-scope.d.mts.map +1 -1
  171. package/dist/typescript/helpers/get-call-signature-props.cjs +5 -4
  172. package/dist/typescript/helpers/get-call-signature-props.d.cts +0 -1
  173. package/dist/typescript/helpers/get-call-signature-props.d.cts.map +1 -1
  174. package/dist/typescript/helpers/get-call-signature-props.d.mts +0 -1
  175. package/dist/typescript/helpers/get-call-signature-props.d.mts.map +1 -1
  176. package/dist/typescript/helpers/index.cjs +1 -0
  177. package/dist/typescript/helpers/utilities.cjs +1 -0
  178. package/dist/typescript/helpers/utilities.d.cts.map +1 -1
  179. package/dist/typescript/helpers/utilities.d.mts.map +1 -1
  180. package/dist/typescript/index.cjs +1 -0
  181. package/dist/typescript/index.d.cts +0 -3
  182. package/dist/typescript/index.d.mts +0 -3
  183. package/dist/yaml/components/index.cjs +1 -0
  184. package/dist/yaml/components/yaml-file.cjs +34 -33
  185. package/dist/yaml/components/yaml-file.d.cts.map +1 -1
  186. package/dist/yaml/components/yaml-file.d.mts.map +1 -1
  187. package/dist/yaml/index.cjs +1 -0
  188. package/dist/yaml/index.d.cts +0 -1
  189. package/dist/yaml/index.d.mts +0 -1
  190. package/package.json +8 -8
package/README.md CHANGED
@@ -27,7 +27,7 @@ This package is part of the <b>🔌 Powerlines</b> monorepo. Powerlines is the "
27
27
 
28
28
  <h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
29
29
 
30
- [![Version](https://img.shields.io/badge/version-0.25.18-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://stormsoftware.com/projects/powerlines)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/powerlines/release.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
30
+ [![Version](https://img.shields.io/badge/version-0.25.25-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://stormsoftware.com/projects/powerlines)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/powerlines/release.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
31
31
 
32
32
  <!-- prettier-ignore-start -->
33
33
  <!-- markdownlint-disable -->
@@ -58,21 +58,19 @@ A package containing various Alloy framework components and helper utilities.
58
58
 
59
59
  ## Table of Contents
60
60
 
61
- - [Powerlines - Alloy Framework Plugin](#powerlines---alloy-framework-plugin)
62
- - [Table of Contents](#table-of-contents)
63
- - [Installing](#installing)
64
- - [Reduced Package Size](#reduced-package-size)
65
- - [Development](#development)
66
- - [Building](#building)
67
- - [Running unit tests](#running-unit-tests)
68
- - [Linting](#linting)
69
- - [Storm Workspaces](#storm-workspaces)
70
- - [Roadmap](#roadmap)
71
- - [Support](#support)
72
- - [License](#license)
73
- - [Changelog](#changelog)
74
- - [Contributing](#contributing)
75
- - [Contributors](#contributors)
61
+ - [Installing](#installing)
62
+ - [Reduced Package Size](#reduced-package-size)
63
+ - [Development](#development)
64
+ - [Building](#building)
65
+ - [Running unit tests](#running-unit-tests)
66
+ - [Linting](#linting)
67
+ - [Storm Workspaces](#storm-workspaces)
68
+ - [Roadmap](#roadmap)
69
+ - [Support](#support)
70
+ - [License](#license)
71
+ - [Changelog](#changelog)
72
+ - [Contributing](#contributing)
73
+ - [Contributors](#contributors)
76
74
 
77
75
  <!-- END doctoc -->
78
76
 
@@ -1,4 +1,4 @@
1
- //#region rolldown:runtime
1
+ //#region \0rolldown/runtime.js
2
2
  var __create = Object.create;
3
3
  var __defProp = Object.defineProperty;
4
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -0,0 +1,3 @@
1
+ import "node:module";
2
+
3
+ export { };
@@ -1,3 +1,4 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
1
2
  const require_core_components_output = require('./output.cjs');
2
3
  const require_core_components_single_line_comment = require('./single-line-comment.cjs');
3
4
  const require_core_components_source_file = require('./source-file.cjs');
@@ -1,30 +1,31 @@
1
- const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
+ const require_runtime = require('../../_virtual/_rolldown/runtime.cjs');
2
3
  const require_core_contexts_context = require('../contexts/context.cjs');
3
4
  const require_core_contexts_meta = require('../contexts/meta.cjs');
4
5
  require('../contexts/index.cjs');
5
- let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
6
- let __alloy_js_core = require("@alloy-js/core");
6
+ let _alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
7
+ let _alloy_js_core = require("@alloy-js/core");
7
8
 
8
9
  //#region src/core/components/output.tsx
9
10
  /**
10
11
  * Output component for rendering the Powerlines plugin's output files via templates.
11
12
  */
12
13
  function Output(props) {
13
- const [{ children, context, meta = {} }, rest] = (0, __alloy_js_core.splitProps)(props, [
14
+ const [{ children, context, meta = {} }, rest] = (0, _alloy_js_core.splitProps)(props, [
14
15
  "children",
15
16
  "context",
16
17
  "meta"
17
18
  ]);
18
- const contextRef = (0, __alloy_js_core.computed)(() => context);
19
- return (0, __alloy_js_core_jsx_runtime.createComponent)(require_core_contexts_meta.MetaContext.Provider, {
19
+ const contextRef = (0, _alloy_js_core.computed)(() => context);
20
+ return (0, _alloy_js_core_jsx_runtime.createComponent)(require_core_contexts_meta.MetaContext.Provider, {
20
21
  value: meta,
21
22
  get children() {
22
- return (0, __alloy_js_core_jsx_runtime.createComponent)(require_core_contexts_context.PowerlinesContext.Provider, {
23
+ return (0, _alloy_js_core_jsx_runtime.createComponent)(require_core_contexts_context.PowerlinesContext.Provider, {
23
24
  get value() {
24
25
  return contextRef.value;
25
26
  },
26
27
  get children() {
27
- return (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Output, (0, __alloy_js_core_jsx_runtime.mergeProps)(rest, {
28
+ return (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Output, (0, _alloy_js_core_jsx_runtime.mergeProps)(rest, {
28
29
  get basePath() {
29
30
  return contextRef.value.workspaceConfig.workspaceRoot;
30
31
  },
@@ -1,6 +1,5 @@
1
1
  import { MetaItem } from "../contexts/meta.cjs";
2
- import "../contexts/index.cjs";
3
- import * as _alloy_js_core2 from "@alloy-js/core";
2
+ import * as _alloy_js_core0 from "@alloy-js/core";
4
3
  import { OutputProps as OutputProps$1 } from "@alloy-js/core";
5
4
  import { PluginContext } from "@powerlines/core";
6
5
 
@@ -18,7 +17,7 @@ interface OutputProps<TContext extends PluginContext = PluginContext> extends Om
18
17
  /**
19
18
  * Output component for rendering the Powerlines plugin's output files via templates.
20
19
  */
21
- declare function Output<TContext extends PluginContext = PluginContext>(props: OutputProps<TContext>): _alloy_js_core2.Children;
20
+ declare function Output<TContext extends PluginContext = PluginContext>(props: OutputProps<TContext>): _alloy_js_core0.Children;
22
21
  declare type __ΩOutputProps = any[];
23
22
  //#endregion
24
23
  export { Output, OutputProps, __ΩOutputProps };
@@ -1 +1 @@
1
- {"version":3,"file":"output.d.cts","names":[],"sources":["../../../src/core/components/output.tsx"],"sourcesContent":[],"mappings":";;;;;;;UAwBiB,6BACE,gBAAgB,uBACzB,KAAK;;;;EAFE,OAAA,EAMN,QANiB;EACT;;;EAKR,IAAA,CAAA,EAKF,MALE,CAAA,MAAA,EAKa,QALb,CAAA;;;;;AAWK,iBAAA,MAAM,CAAA,iBAAkB,aAAlB,GAAkC,aAAlC,CAAA,CAAA,KAAA,EACb,WADa,CACD,QADC,CAAA,CAAA,EACF,eAAA,CAAU,QADR;AAAkB,8BAAA,GAAA,EAAA"}
1
+ {"version":3,"file":"output.d.cts","names":[],"sources":["../../../src/core/components/output.tsx"],"mappings":";;;;;;UAwBiB,WAAA,kBACE,aAAA,GAAgB,aAAA,UACzB,IAAA,CAAK,aAAA;;;;EAIb,OAAA,EAAS,QAAA;EANiB;;;EAW1B,IAAA,GAAO,MAAA,SAAe,QAAA;AAAA;;;;iBAMR,MAAA,kBAAwB,aAAA,GAAgB,aAAA,CAAA,CACtD,KAAA,EAAO,WAAA,CAAY,QAAA,IAAD,eAAA,CAAU,QAAA;AAAA"}
@@ -1,6 +1,5 @@
1
1
  import { MetaItem } from "../contexts/meta.mjs";
2
- import "../contexts/index.mjs";
3
- import * as _alloy_js_core5 from "@alloy-js/core";
2
+ import * as _alloy_js_core0 from "@alloy-js/core";
4
3
  import { OutputProps as OutputProps$1 } from "@alloy-js/core";
5
4
  import { PluginContext } from "@powerlines/core";
6
5
 
@@ -18,7 +17,7 @@ interface OutputProps<TContext extends PluginContext = PluginContext> extends Om
18
17
  /**
19
18
  * Output component for rendering the Powerlines plugin's output files via templates.
20
19
  */
21
- declare function Output<TContext extends PluginContext = PluginContext>(props: OutputProps<TContext>): _alloy_js_core5.Children;
20
+ declare function Output<TContext extends PluginContext = PluginContext>(props: OutputProps<TContext>): _alloy_js_core0.Children;
22
21
  declare type __ΩOutputProps = any[];
23
22
  //#endregion
24
23
  export { Output, OutputProps, __ΩOutputProps };
@@ -1 +1 @@
1
- {"version":3,"file":"output.d.mts","names":[],"sources":["../../../src/core/components/output.tsx"],"sourcesContent":[],"mappings":";;;;;;;UAwBiB,6BACE,gBAAgB,uBACzB,KAAK;;;;EAFE,OAAA,EAMN,QANiB;EACT;;;EAKR,IAAA,CAAA,EAKF,MALE,CAAA,MAAA,EAKa,QALb,CAAA;;;;;AAWK,iBAAA,MAAM,CAAA,iBAAkB,aAAlB,GAAkC,aAAlC,CAAA,CAAA,KAAA,EACb,WADa,CACD,QADC,CAAA,CAAA,EACF,eAAA,CAAU,QADR;AAAkB,8BAAA,GAAA,EAAA"}
1
+ {"version":3,"file":"output.d.mts","names":[],"sources":["../../../src/core/components/output.tsx"],"mappings":";;;;;;UAwBiB,WAAA,kBACE,aAAA,GAAgB,aAAA,UACzB,IAAA,CAAK,aAAA;;;;EAIb,OAAA,EAAS,QAAA;EANiB;;;EAW1B,IAAA,GAAO,MAAA,SAAe,QAAA;AAAA;;;;iBAMR,MAAA,kBAAwB,aAAA,GAAgB,aAAA,CAAA,CACtD,KAAA,EAAO,WAAA,CAAY,QAAA,IAAD,eAAA,CAAU,QAAA;AAAA"}
@@ -1,6 +1,7 @@
1
- const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
2
- let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
3
- let __alloy_js_core = require("@alloy-js/core");
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
+ const require_runtime = require('../../_virtual/_rolldown/runtime.cjs');
3
+ let _alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
4
+ let _alloy_js_core = require("@alloy-js/core");
4
5
 
5
6
  //#region src/core/components/single-line-comment.tsx
6
7
  /**
@@ -10,10 +11,10 @@ let __alloy_js_core = require("@alloy-js/core");
10
11
  function SingleLineComment(props) {
11
12
  const { variant = "double-slash", children } = props;
12
13
  const commentStart = variant === "slash-star" ? "/* " : variant === "slash-star-star" ? "/** " : variant === "triple-slash" ? "/// " : variant === "markdown" ? "<!-- " : variant === "yaml" ? "# " : "// ";
13
- return [commentStart, (0, __alloy_js_core_jsx_runtime.createIntrinsic)("align", {
14
+ return [commentStart, (0, _alloy_js_core_jsx_runtime.createIntrinsic)("align", {
14
15
  string: commentStart,
15
16
  get children() {
16
- return [(0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Prose, { children }), variant === "slash-star" || variant === "slash-star-star" ? " */ " : variant === "markdown" ? " -->" : ""];
17
+ return [(0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Prose, { children }), variant === "slash-star" || variant === "slash-star-star" ? " */ " : variant === "markdown" ? " -->" : ""];
17
18
  }
18
19
  })];
19
20
  }
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from "../../types/components.cjs";
2
- import * as _alloy_js_core1 from "@alloy-js/core";
2
+ import * as _alloy_js_core0 from "@alloy-js/core";
3
3
 
4
4
  //#region src/core/components/single-line-comment.d.ts
5
5
  type SingleLineCommentVariant = "double-slash" | "triple-slash" | "slash-star" | "slash-star-star" | "markdown" | "yaml";
@@ -15,7 +15,7 @@ interface SingleLineCommentProps extends ComponentProps {
15
15
  * A single line comment block. The children are rendered as a prose element, which means that they
16
16
  * are broken into multiple lines
17
17
  */
18
- declare function SingleLineComment(props: SingleLineCommentProps): _alloy_js_core1.Children;
18
+ declare function SingleLineComment(props: SingleLineCommentProps): _alloy_js_core0.Children;
19
19
  declare type __ΩSingleLineCommentVariant = any[];
20
20
  declare type __ΩSingleLineCommentProps = any[];
21
21
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"single-line-comment.d.cts","names":[],"sources":["../../../src/core/components/single-line-comment.tsx"],"sourcesContent":[],"mappings":";;;;KAqBY,wBAAA;UAQK,sBAAA,SAA+B;;AARhD;AAQA;AAaA;;YAPY;;;;;;iBAOI,iBAAA,QAAyB,yBAAsB,eAAA,CAAA"}
1
+ {"version":3,"file":"single-line-comment.d.cts","names":[],"sources":["../../../src/core/components/single-line-comment.tsx"],"mappings":";;;;KAqBY,wBAAA;AAAA,UAQK,sBAAA,SAA+B,cAAA;;AARhD;;;;EAcE,OAAA,GAAU,wBAAA;AAAA;;;;;iBAOI,iBAAA,CAAkB,KAAA,EAAO,sBAAA,GAAsB,eAAA,CAAA,QAAA;AAAA"}
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from "../../types/components.mjs";
2
- import * as _alloy_js_core8 from "@alloy-js/core";
2
+ import * as _alloy_js_core0 from "@alloy-js/core";
3
3
 
4
4
  //#region src/core/components/single-line-comment.d.ts
5
5
  type SingleLineCommentVariant = "double-slash" | "triple-slash" | "slash-star" | "slash-star-star" | "markdown" | "yaml";
@@ -15,7 +15,7 @@ interface SingleLineCommentProps extends ComponentProps {
15
15
  * A single line comment block. The children are rendered as a prose element, which means that they
16
16
  * are broken into multiple lines
17
17
  */
18
- declare function SingleLineComment(props: SingleLineCommentProps): _alloy_js_core8.Children;
18
+ declare function SingleLineComment(props: SingleLineCommentProps): _alloy_js_core0.Children;
19
19
  declare type __ΩSingleLineCommentVariant = any[];
20
20
  declare type __ΩSingleLineCommentProps = any[];
21
21
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"single-line-comment.d.mts","names":[],"sources":["../../../src/core/components/single-line-comment.tsx"],"sourcesContent":[],"mappings":";;;;KAqBY,wBAAA;UAQK,sBAAA,SAA+B;;AARhD;AAQA;AAaA;;YAPY;;;;;;iBAOI,iBAAA,QAAyB,yBAAsB,eAAA,CAAA"}
1
+ {"version":3,"file":"single-line-comment.d.mts","names":[],"sources":["../../../src/core/components/single-line-comment.tsx"],"mappings":";;;;KAqBY,wBAAA;AAAA,UAQK,sBAAA,SAA+B,cAAA;;AARhD;;;;EAcE,OAAA,GAAU,wBAAA;AAAA;;;;;iBAOI,iBAAA,CAAkB,KAAA,EAAO,sBAAA,GAAsB,eAAA,CAAA,QAAA;AAAA"}
@@ -1,10 +1,11 @@
1
- const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
+ const require_runtime = require('../../_virtual/_rolldown/runtime.cjs');
2
3
  const require_core_contexts_meta = require('../contexts/meta.cjs');
3
- let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
4
- let __alloy_js_core = require("@alloy-js/core");
5
- let __stryke_path_append = require("@stryke/path/append");
4
+ let _alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
5
+ let _alloy_js_core = require("@alloy-js/core");
6
+ let _stryke_path_append = require("@stryke/path/append");
6
7
  let defu = require("defu");
7
- defu = require_rolldown_runtime.__toESM(defu);
8
+ defu = require_runtime.__toESM(defu);
8
9
 
9
10
  //#region src/core/components/source-file.tsx
10
11
  /**
@@ -14,7 +15,7 @@ defu = require_rolldown_runtime.__toESM(defu);
14
15
  * @returns The rendered source file component.
15
16
  */
16
17
  function SourceFile(props) {
17
- const [{ children, meta, path, header, storage, filetype, reference }] = (0, __alloy_js_core.splitProps)(props, [
18
+ const [{ children, meta, path, header, storage, filetype, reference }] = (0, _alloy_js_core.splitProps)(props, [
18
19
  "children",
19
20
  "meta",
20
21
  "path",
@@ -24,20 +25,20 @@ function SourceFile(props) {
24
25
  "reference"
25
26
  ]);
26
27
  const metadata = require_core_contexts_meta.useMeta();
27
- const parentDirectory = (0, __alloy_js_core.useContext)(__alloy_js_core.SourceDirectoryContext);
28
+ const parentDirectory = (0, _alloy_js_core.useContext)(_alloy_js_core.SourceDirectoryContext);
28
29
  const sourceFile = {
29
- path: (0, __stryke_path_append.appendPath)(path, parentDirectory.path),
30
+ path: (0, _stryke_path_append.appendPath)(path, parentDirectory.path),
30
31
  filetype,
31
32
  reference
32
33
  };
33
34
  parentDirectory?.addContent(sourceFile);
34
- const printOptions = (0, __alloy_js_core.useFormatOptions)({
35
+ const printOptions = (0, _alloy_js_core.useFormatOptions)({
35
36
  printWidth: props.printWidth,
36
37
  tabWidth: props.tabWidth,
37
38
  useTabs: props.useTabs,
38
39
  insertFinalNewLine: props.insertFinalNewLine
39
40
  });
40
- const nodeContext = (0, __alloy_js_core.getContext)();
41
+ const nodeContext = (0, _alloy_js_core.getContext)();
41
42
  nodeContext.meta = (0, defu.default)({
42
43
  sourceFile,
43
44
  printOptions
@@ -46,13 +47,13 @@ function SourceFile(props) {
46
47
  storage,
47
48
  ...meta ?? {}
48
49
  };
49
- return (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.SourceFileContext.Provider, {
50
+ return (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.SourceFileContext.Provider, {
50
51
  value: sourceFile,
51
52
  get children() {
52
- return [(0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
53
+ return [(0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
53
54
  when: header !== void 0,
54
55
  get children() {
55
- return [header, (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {})];
56
+ return [header, (0, _alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {})];
56
57
  }
57
58
  }), children];
58
59
  }
@@ -1 +1 @@
1
- {"version":3,"file":"source-file.d.cts","names":[],"sources":["../../../src/core/components/source-file.tsx"],"sourcesContent":[],"mappings":";;;;;;KAkCY,eAAA,GAAkB,oBAC5B;;;AADF;;;;EAgBW,OAAA,CAAA,EARG,aAQH;EAAM;AASjB;;;;;SATW;;;;;;;;iBASK,UAAA,QAAkB,kBAAe,eAAA,CAAA"}
1
+ {"version":3,"file":"source-file.d.cts","names":[],"sources":["../../../src/core/components/source-file.tsx"],"mappings":";;;;;;KAkCY,eAAA,GAAkB,iBAAA,GAC5B,cAAA;;;AADF;;;;EAQI,OAAA,GAAU,aAAA;EAAA;;;;;;EAQV,IAAA,GAAO,MAAA;AAAA;;;;;AASX;;iBAAgB,UAAA,CAAW,KAAA,EAAO,eAAA,GAAe,eAAA,CAAA,QAAA;AAAA"}
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from "../../types/components.mjs";
2
- import * as _alloy_js_core7 from "@alloy-js/core";
2
+ import * as _alloy_js_core0 from "@alloy-js/core";
3
3
  import { SourceFileProps as SourceFileProps$1 } from "@alloy-js/core";
4
4
  import { StoragePreset } from "powerlines";
5
5
 
@@ -26,7 +26,7 @@ type SourceFileProps = SourceFileProps$1 & ComponentProps & {
26
26
  * @param props - The properties for the source file.
27
27
  * @returns The rendered source file component.
28
28
  */
29
- declare function SourceFile(props: SourceFileProps): _alloy_js_core7.Children;
29
+ declare function SourceFile(props: SourceFileProps): _alloy_js_core0.Children;
30
30
  declare type __ΩSourceFileProps = any[];
31
31
  //#endregion
32
32
  export { SourceFile, SourceFileProps, __ΩSourceFileProps };
@@ -1 +1 @@
1
- {"version":3,"file":"source-file.d.mts","names":[],"sources":["../../../src/core/components/source-file.tsx"],"sourcesContent":[],"mappings":";;;;;;KAkCY,eAAA,GAAkB,oBAC5B;;;AADF;;;;EAgBW,OAAA,CAAA,EARG,aAQH;EAAM;AASjB;;;;;SATW;;;;;;;;iBASK,UAAA,QAAkB,kBAAe,eAAA,CAAA"}
1
+ {"version":3,"file":"source-file.d.mts","names":[],"sources":["../../../src/core/components/source-file.tsx"],"mappings":";;;;;;KAkCY,eAAA,GAAkB,iBAAA,GAC5B,cAAA;;;AADF;;;;EAQI,OAAA,GAAU,aAAA;EAAA;;;;;;EAQV,IAAA,GAAO,MAAA;AAAA;;;;;AASX;;iBAAgB,UAAA,CAAW,KAAA,EAAO,eAAA,GAAe,eAAA,CAAA,QAAA;AAAA"}
@@ -1,17 +1,18 @@
1
- const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
2
- let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
3
- let __alloy_js_core = require("@alloy-js/core");
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
+ const require_runtime = require('../../_virtual/_rolldown/runtime.cjs');
3
+ let _alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
4
+ let _alloy_js_core = require("@alloy-js/core");
4
5
 
5
6
  //#region src/core/components/spacing.tsx
6
7
  /**
7
8
  * A simple component that renders two horizontal breaks to create vertical spacing between elements.
8
9
  */
9
10
  function Spacing({ scale = 1 }) {
10
- return (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.For, {
11
+ return (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.For, {
11
12
  get each() {
12
13
  return Array.from({ length: scale });
13
14
  },
14
- children: (_) => [(0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}), (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {})]
15
+ children: (_) => [(0, _alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}), (0, _alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {})]
15
16
  });
16
17
  }
17
18
 
@@ -1 +1 @@
1
- {"version":3,"file":"spacing.d.cts","names":[],"sources":["../../../src/core/components/spacing.tsx"],"sourcesContent":[],"mappings":";;;UAoBiB,YAAA;;;AAAjB;AAeA;;;;;;;;;;iBAAgB,OAAA;;GAAuB,eAAY,eAAA,CAAA"}
1
+ {"version":3,"file":"spacing.d.cts","names":[],"sources":["../../../src/core/components/spacing.tsx"],"mappings":";;;UAoBiB,YAAA;;;AAAjB;;;;;AAeA;EANE,KAAA;AAAA;;;;iBAMc,OAAA,CAAA;EAAU;AAAA,GAAa,YAAA,GAAY,eAAA,CAAA,QAAA;AAAA"}
@@ -1,4 +1,4 @@
1
- import * as _alloy_js_core6 from "@alloy-js/core";
1
+ import * as _alloy_js_core0 from "@alloy-js/core";
2
2
 
3
3
  //#region src/core/components/spacing.d.ts
4
4
  interface SpacingProps {
@@ -17,7 +17,7 @@ interface SpacingProps {
17
17
  */
18
18
  declare function Spacing({
19
19
  scale
20
- }: SpacingProps): _alloy_js_core6.Children;
20
+ }: SpacingProps): _alloy_js_core0.Children;
21
21
  declare type __ΩSpacingProps = any[];
22
22
  //#endregion
23
23
  export { Spacing, SpacingProps, __ΩSpacingProps };
@@ -1 +1 @@
1
- {"version":3,"file":"spacing.d.mts","names":[],"sources":["../../../src/core/components/spacing.tsx"],"sourcesContent":[],"mappings":";;;UAoBiB,YAAA;;;AAAjB;AAeA;;;;;;;;;;iBAAgB,OAAA;;GAAuB,eAAY,eAAA,CAAA"}
1
+ {"version":3,"file":"spacing.d.mts","names":[],"sources":["../../../src/core/components/spacing.tsx"],"mappings":";;;UAoBiB,YAAA;;;AAAjB;;;;;AAeA;EANE,KAAA;AAAA;;;;iBAMc,OAAA,CAAA;EAAU;AAAA,GAAa,YAAA,GAAY,eAAA,CAAA,QAAA;AAAA"}
@@ -1,18 +1,19 @@
1
- const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
2
- let __alloy_js_core = require("@alloy-js/core");
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
+ const require_runtime = require('../../_virtual/_rolldown/runtime.cjs');
3
+ let _alloy_js_core = require("@alloy-js/core");
3
4
 
4
5
  //#region src/core/contexts/context.ts
5
6
  /**
6
7
  * The Powerlines context used in template rendering.
7
8
  */
8
- const PowerlinesContext = (0, __alloy_js_core.createNamedContext)("Powerlines");
9
+ const PowerlinesContext = (0, _alloy_js_core.createNamedContext)("Powerlines");
9
10
  /**
10
11
  * Hook to access the Powerlines Context.
11
12
  *
12
13
  * @returns The Context.
13
14
  */
14
15
  function usePowerlinesContext() {
15
- return (0, __alloy_js_core.useContext)(PowerlinesContext);
16
+ return (0, _alloy_js_core.useContext)(PowerlinesContext);
16
17
  }
17
18
  /**
18
19
  * Hook to safely access the {@link PluginContext | Powerlines context}.
@@ -2,7 +2,6 @@ import { ComponentContext } from "@alloy-js/core";
2
2
  import { PluginContext } from "powerlines";
3
3
 
4
4
  //#region src/core/contexts/context.d.ts
5
-
6
5
  /**
7
6
  * The Powerlines context used in template rendering.
8
7
  */
@@ -1 +1 @@
1
- {"version":3,"file":"context.d.cts","names":[],"sources":["../../../src/core/contexts/context.ts"],"sourcesContent":[],"mappings":";;;;;;;AA4BA;AAQgB,cARH,iBAQuB,EARJ,gBAQI,CARa,aAQb,CAAA;;;;;AAWpC;AACmB,iBAZH,oBAYG,CAAA,iBAXA,aAWA,GAXgB,aAWhB,CAAA,CAAA,CAAA,EAVd,QAUc,GAAA,SAAA;;;;AAYnB;;AACmC,iBAdnB,iBAcmB,CAAA,iBAbhB,aAagB,GAbA,aAaA,CAAA,CAAA,CAAA,EAZ9B,QAY8B,GAAA,SAAA;;;;;;iBADnB,+BACG,gBAAgB,kBAC9B"}
1
+ {"version":3,"file":"context.d.cts","names":[],"sources":["../../../src/core/contexts/context.ts"],"mappings":";;;;;;AA4BA;cAAa,iBAAA,EAAmB,gBAAA,CAAiB,aAAA;;;;AAQjD;;iBAAgB,oBAAA,kBACG,aAAA,GAAgB,aAAA,CAAA,CAAA,GAC9B,QAAA;;;;;;iBASW,iBAAA,kBACG,aAAA,GAAgB,aAAA,CAAA,CAAA,GAC9B,QAAA;;;;;;iBAWW,aAAA,kBACG,aAAA,GAAgB,aAAA,CAAA,CAAA,GAC9B,QAAA"}
@@ -2,7 +2,6 @@ import { ComponentContext } from "@alloy-js/core";
2
2
  import { PluginContext } from "powerlines";
3
3
 
4
4
  //#region src/core/contexts/context.d.ts
5
-
6
5
  /**
7
6
  * The Powerlines context used in template rendering.
8
7
  */
@@ -1 +1 @@
1
- {"version":3,"file":"context.d.mts","names":[],"sources":["../../../src/core/contexts/context.ts"],"sourcesContent":[],"mappings":";;;;;;;AA4BA;AAQgB,cARH,iBAQuB,EARJ,gBAQI,CARa,aAQb,CAAA;;;;;AAWpC;AACmB,iBAZH,oBAYG,CAAA,iBAXA,aAWA,GAXgB,aAWhB,CAAA,CAAA,CAAA,EAVd,QAUc,GAAA,SAAA;;;;AAYnB;;AACmC,iBAdnB,iBAcmB,CAAA,iBAbhB,aAagB,GAbA,aAaA,CAAA,CAAA,CAAA,EAZ9B,QAY8B,GAAA,SAAA;;;;;;iBADnB,+BACG,gBAAgB,kBAC9B"}
1
+ {"version":3,"file":"context.d.mts","names":[],"sources":["../../../src/core/contexts/context.ts"],"mappings":";;;;;;AA4BA;cAAa,iBAAA,EAAmB,gBAAA,CAAiB,aAAA;;;;AAQjD;;iBAAgB,oBAAA,kBACG,aAAA,GAAgB,aAAA,CAAA,CAAA,GAC9B,QAAA;;;;;;iBASW,iBAAA,kBACG,aAAA,GAAgB,aAAA,CAAA,CAAA,GAC9B,QAAA;;;;;;iBAWW,aAAA,kBACG,aAAA,GAAgB,aAAA,CAAA,CAAA,GAC9B,QAAA"}
@@ -1,3 +1,4 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
1
2
  const require_core_contexts_context = require('./context.cjs');
2
3
  const require_core_contexts_meta = require('./meta.cjs');
3
4
  const require_core_contexts_reflection = require('./reflection.cjs');
@@ -1,18 +1,19 @@
1
- const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
2
- let __alloy_js_core = require("@alloy-js/core");
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
+ const require_runtime = require('../../_virtual/_rolldown/runtime.cjs');
3
+ let _alloy_js_core = require("@alloy-js/core");
3
4
 
4
5
  //#region src/core/contexts/meta.ts
5
6
  /**
6
7
  * The Powerlines meta context used to determine metadata of files generated during rendering.
7
8
  */
8
- const MetaContext = (0, __alloy_js_core.createNamedContext)("Meta");
9
+ const MetaContext = (0, _alloy_js_core.createNamedContext)("Meta");
9
10
  /**
10
11
  * Hook to access the Powerlines Context.
11
12
  *
12
13
  * @returns The Context.
13
14
  */
14
15
  function useMetaContext() {
15
- return (0, __alloy_js_core.useContext)(MetaContext);
16
+ return (0, _alloy_js_core.useContext)(MetaContext);
16
17
  }
17
18
  /**
18
19
  * Hook to safely access the render context's metadata.
@@ -1 +1 @@
1
- {"version":3,"file":"meta.d.cts","names":[],"sources":["../../../src/core/contexts/meta.ts"],"sourcesContent":[],"mappings":";;;;UAyBiB,QAAA;;AAAjB;AAyBA;EAA0D,IAAA,CAAA,EAAA,SAAA,GAAA,OAAA,GAAA,MAAA;EAAf;;;EAQ3B,UAAA,CAAA,EAAA,OAAc;EASd;AAWhB;;;;;YApCY;;;;;;cAQC,aAAa,iBAAiB,eAAe;;;;;;iBAQ1C,cAAA,CAAA,GAAkB,eAAe;;;;;;iBASjC,WAAA,CAAA,GAAe,eAAe;;;;;;iBAW9B,OAAA,CAAA,GAAW,eAAe"}
1
+ {"version":3,"file":"meta.d.cts","names":[],"sources":["../../../src/core/contexts/meta.ts"],"mappings":";;;;UAyBiB,QAAA;;AAAjB;;EAIE,IAAA;EAauB;;;EARvB,UAAA;EAQU;;;;AAQZ;;EARE,OAAA,GAAU,aAAA;EAAA,CAET,GAAA;AAAA;;;;cAMU,WAAA,EAAa,gBAAA,CAAiB,MAAA,SAAe,QAAA;;;;;AAQ1D;iBAAgB,cAAA,CAAA,GAAkB,MAAA,SAAe,QAAA;;;;AASjD;;iBAAgB,WAAA,CAAA,GAAe,MAAA,SAAe,QAAA;;;AAW9C;;;iBAAgB,OAAA,CAAA,GAAW,MAAA,SAAe,QAAA;AAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"meta.d.mts","names":[],"sources":["../../../src/core/contexts/meta.ts"],"sourcesContent":[],"mappings":";;;;UAyBiB,QAAA;;AAAjB;AAyBA;EAA0D,IAAA,CAAA,EAAA,SAAA,GAAA,OAAA,GAAA,MAAA;EAAf;;;EAQ3B,UAAA,CAAA,EAAA,OAAc;EASd;AAWhB;;;;;YApCY;;;;;;cAQC,aAAa,iBAAiB,eAAe;;;;;;iBAQ1C,cAAA,CAAA,GAAkB,eAAe;;;;;;iBASjC,WAAA,CAAA,GAAe,eAAe;;;;;;iBAW9B,OAAA,CAAA,GAAW,eAAe"}
1
+ {"version":3,"file":"meta.d.mts","names":[],"sources":["../../../src/core/contexts/meta.ts"],"mappings":";;;;UAyBiB,QAAA;;AAAjB;;EAIE,IAAA;EAauB;;;EARvB,UAAA;EAQU;;;;AAQZ;;EARE,OAAA,GAAU,aAAA;EAAA,CAET,GAAA;AAAA;;;;cAMU,WAAA,EAAa,gBAAA,CAAiB,MAAA,SAAe,QAAA;;;;;AAQ1D;iBAAgB,cAAA,CAAA,GAAkB,MAAA,SAAe,QAAA;;;;AASjD;;iBAAgB,WAAA,CAAA,GAAe,MAAA,SAAe,QAAA;;;AAW9C;;;iBAAgB,OAAA,CAAA,GAAW,MAAA,SAAe,QAAA;AAAA"}
@@ -1,60 +1,61 @@
1
- const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
2
- let __alloy_js_core = require("@alloy-js/core");
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
+ const require_runtime = require('../../_virtual/_rolldown/runtime.cjs');
3
+ let _alloy_js_core = require("@alloy-js/core");
3
4
 
4
5
  //#region src/core/contexts/reflection.ts
5
6
  /**
6
7
  * The reflection class context used in template rendering.
7
8
  */
8
- const ReflectionClassContext = (0, __alloy_js_core.createContext)();
9
+ const ReflectionClassContext = (0, _alloy_js_core.createContext)();
9
10
  /**
10
11
  * Hook to access the Reflection context.
11
12
  *
12
13
  * @returns A reactive version of the current reflection.
13
14
  */
14
15
  function useReflectionClass() {
15
- const context = (0, __alloy_js_core.useContext)(ReflectionClassContext);
16
+ const context = (0, _alloy_js_core.useContext)(ReflectionClassContext);
16
17
  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`.");
17
18
  return context;
18
19
  }
19
20
  /**
20
21
  * The reflection property context used in template rendering.
21
22
  */
22
- const ReflectionPropertyContext = (0, __alloy_js_core.createNamedContext)("ReflectionProperty");
23
+ const ReflectionPropertyContext = (0, _alloy_js_core.createNamedContext)("ReflectionProperty");
23
24
  /**
24
25
  * Hook to access the Reflection Property context.
25
26
  *
26
27
  * @returns A reactive version of the current reflection.
27
28
  */
28
29
  function useReflectionProperty() {
29
- const context = (0, __alloy_js_core.useContext)(ReflectionPropertyContext);
30
+ const context = (0, _alloy_js_core.useContext)(ReflectionPropertyContext);
30
31
  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`.");
31
32
  return context;
32
33
  }
33
34
  /**
34
35
  * The reflection method context used in template rendering.
35
36
  */
36
- const ReflectionMethodContext = (0, __alloy_js_core.createNamedContext)("ReflectionMethod");
37
+ const ReflectionMethodContext = (0, _alloy_js_core.createNamedContext)("ReflectionMethod");
37
38
  /**
38
39
  * Hook to access the Reflection Method context.
39
40
  *
40
41
  * @returns A reactive version of the current reflection.
41
42
  */
42
43
  function useReflectionMethod() {
43
- const context = (0, __alloy_js_core.useContext)(ReflectionMethodContext);
44
+ const context = (0, _alloy_js_core.useContext)(ReflectionMethodContext);
44
45
  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`.");
45
46
  return context;
46
47
  }
47
48
  /**
48
49
  * The reflection parameter context used in template rendering.
49
50
  */
50
- const ReflectionParameterContext = (0, __alloy_js_core.createNamedContext)("ReflectionParameter");
51
+ const ReflectionParameterContext = (0, _alloy_js_core.createNamedContext)("ReflectionParameter");
51
52
  /**
52
53
  * Hook to access the Reflection Parameter context.
53
54
  *
54
55
  * @returns A reactive version of the current reflection.
55
56
  */
56
57
  function useReflectionParameter() {
57
- return (0, __alloy_js_core.useContext)(ReflectionParameterContext);
58
+ return (0, _alloy_js_core.useContext)(ReflectionParameterContext);
58
59
  }
59
60
 
60
61
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"reflection.d.cts","names":[],"sources":["../../../src/core/contexts/reflection.ts"],"sourcesContent":[],"mappings":";;;;;UA4BiB,0CACL,sBAAsB;cAEpB,gBAAgB;EAHb,QAAA,CAAA,EAIJ,2BAJmC,CAIP,CAJO,CAAA;;;;;AAIP,cAM5B,sBAN4B,EAMJ,gBANI,CAOvC,+BAPuC,CAAA,GAAA,CAAA,CAAA;;;AAMzC;AASA;;AACkC,iBADlB,kBACkB,CAAA,UAAtB,MAAsB,CAAA,MAAA,EAAA,GAAA,CAAA,GAAA,MAAA,CAAA,MAAA,EAAA,GAAA,CAAA,CAAA,CAAA,CAAA,EAAmB,+BAAnB,CAAmB,CAAnB,CAAA;;;;AAkBrB,cAAA,yBAA4C,EAAjB,gBAAiB,CAAA,kBAAD,CAAA;AAQxD;AAeA;AAQA;AAeA;AAQA;iBA9CgB,qBAAA,CAAA,GAAqB;;;;cAexB,yBAAyB,iBAAiB;;;;;;iBAQvC,mBAAA,CAAA,GAAmB;;;;cAetB,4BAA4B,iBAAiB;;;;;;iBAQ1C,sBAAA,CAAA,GAAsB"}
1
+ {"version":3,"file":"reflection.d.cts","names":[],"sources":["../../../src/core/contexts/reflection.ts"],"mappings":";;;;;UA4BiB,+BAAA,WACL,MAAA,gBAAsB,MAAA;EAEhC,UAAA,EAAY,eAAA,CAAgB,CAAA;EAC5B,QAAA,GAAW,2BAAA,CAA4B,CAAA;AAAA;;;;cAM5B,sBAAA,EAAwB,gBAAA,CACnC,+BAAA;;;;;;iBAQc,kBAAA,WACJ,MAAA,gBAAsB,MAAA,cAAA,CAAA,GAAmB,+BAAA,CAAA,CAAA;;;;cAkBxC,yBAAA,EAA2B,gBAAA,CAAiB,kBAAA;;;;;;iBAQzC,qBAAA,CAAA,GAAqB,kBAAA;AApCrC;;;AAAA,cAmDa,uBAAA,EAAyB,gBAAA,CAAiB,gBAAA;;AA1CvD;;;;iBAkDgB,mBAAA,CAAA,GAAmB,gBAAA;;;;cAetB,0BAAA,EAA4B,gBAAA,CAAiB,mBAAA;;;;;;iBAQ1C,sBAAA,CAAA,GAAsB,mBAAA;AAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"reflection.d.mts","names":[],"sources":["../../../src/core/contexts/reflection.ts"],"sourcesContent":[],"mappings":";;;;;UA4BiB,0CACL,sBAAsB;cAEpB,gBAAgB;EAHb,QAAA,CAAA,EAIJ,2BAJmC,CAIP,CAJO,CAAA;;;;;AAIP,cAM5B,sBAN4B,EAMJ,gBANI,CAOvC,+BAPuC,CAAA,GAAA,CAAA,CAAA;;;AAMzC;AASA;;AACkC,iBADlB,kBACkB,CAAA,UAAtB,MAAsB,CAAA,MAAA,EAAA,GAAA,CAAA,GAAA,MAAA,CAAA,MAAA,EAAA,GAAA,CAAA,CAAA,CAAA,CAAA,EAAmB,+BAAnB,CAAmB,CAAnB,CAAA;;;;AAkBrB,cAAA,yBAA4C,EAAjB,gBAAA,CAAiB,kBAAD,CAAA;AAQxD;AAeA;AAQA;AAeA;AAQA;iBA9CgB,qBAAA,CAAA,GAAqB;;;;cAexB,yBAAyB,iBAAiB;;;;;;iBAQvC,mBAAA,CAAA,GAAmB;;;;cAetB,4BAA4B,iBAAiB;;;;;;iBAQ1C,sBAAA,CAAA,GAAsB"}
1
+ {"version":3,"file":"reflection.d.mts","names":[],"sources":["../../../src/core/contexts/reflection.ts"],"mappings":";;;;;UA4BiB,+BAAA,WACL,MAAA,gBAAsB,MAAA;EAEhC,UAAA,EAAY,eAAA,CAAgB,CAAA;EAC5B,QAAA,GAAW,2BAAA,CAA4B,CAAA;AAAA;;;;cAM5B,sBAAA,EAAwB,gBAAA,CACnC,+BAAA;;;;;;iBAQc,kBAAA,WACJ,MAAA,gBAAsB,MAAA,cAAA,CAAA,GAAmB,+BAAA,CAAA,CAAA;;;;cAkBxC,yBAAA,EAA2B,gBAAA,CAAiB,kBAAA;;;;;;iBAQzC,qBAAA,CAAA,GAAqB,kBAAA;AApCrC;;;AAAA,cAmDa,uBAAA,EAAyB,gBAAA,CAAiB,gBAAA;;AA1CvD;;;;iBAkDgB,mBAAA,CAAA,GAAmB,gBAAA;;;;cAetB,0BAAA,EAA4B,gBAAA,CAAiB,mBAAA;;;;;;iBAQ1C,sBAAA,CAAA,GAAsB,mBAAA;AAAA"}
@@ -1,5 +1,6 @@
1
- const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
2
- let __alloy_js_core = require("@alloy-js/core");
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
+ const require_runtime = require('../../_virtual/_rolldown/runtime.cjs');
3
+ let _alloy_js_core = require("@alloy-js/core");
3
4
 
4
5
  //#region src/core/helpers/code.ts
5
6
  /**
@@ -26,7 +27,7 @@ let __alloy_js_core = require("@alloy-js/core");
26
27
  */
27
28
  function code(template, ...substitutions) {
28
29
  if (template.filter((seg) => seg.trim()).length === 0 && substitutions.length === 0) throw new Error("The `code` function cannot be used with a template that contains only whitespace. Please provide a non-empty template.");
29
- return (0, __alloy_js_core.code)(template, ...substitutions);
30
+ return (0, _alloy_js_core.code)(template, ...substitutions);
30
31
  }
31
32
 
32
33
  //#endregion
@@ -1,7 +1,6 @@
1
1
  import { Children } from "@alloy-js/core";
2
2
 
3
3
  //#region src/core/helpers/code.d.ts
4
-
5
4
  /**
6
5
  * Turn the provided string template into Children by replacing literal line
7
6
  * breaks with hardlines and automatically indenting indented content. Similar
@@ -1 +1 @@
1
- {"version":3,"file":"code.d.cts","names":[],"sources":["../../../src/core/helpers/code.ts"],"sourcesContent":[],"mappings":";;;;;;AA0CA;;;;;;;;;;;;;;;;;;;;iBAAgB,IAAA,WACJ,wCACQ,aACjB"}
1
+ {"version":3,"file":"code.d.cts","names":[],"sources":["../../../src/core/helpers/code.ts"],"mappings":";;;;;AA0CA;;;;;;;;;;;;;;;;;;;;iBAAgB,IAAA,CACd,QAAA,EAAU,oBAAA,KACP,aAAA,EAAe,QAAA,KACjB,QAAA"}
@@ -1,7 +1,6 @@
1
1
  import { Children } from "@alloy-js/core";
2
2
 
3
3
  //#region src/core/helpers/code.d.ts
4
-
5
4
  /**
6
5
  * Turn the provided string template into Children by replacing literal line
7
6
  * breaks with hardlines and automatically indenting indented content. Similar