@powerlines/plugin-alloy 0.15.6 → 0.15.8

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 (92) hide show
  1. package/dist/_virtual/rolldown_runtime.cjs +8 -0
  2. package/dist/_virtual/rolldown_runtime.mjs +29 -0
  3. package/dist/core/components/output.cjs +6 -6
  4. package/dist/core/components/output.d.cts +3 -3
  5. package/dist/core/components/output.d.mts +3 -3
  6. package/dist/core/components/output.mjs +1 -1
  7. package/dist/core/components/single-line-comment.cjs +2 -2
  8. package/dist/core/components/single-line-comment.d.cts +2 -2
  9. package/dist/core/components/single-line-comment.d.mts +2 -2
  10. package/dist/core/components/single-line-comment.mjs +1 -1
  11. package/dist/core/components/source-file.cjs +7 -7
  12. package/dist/core/components/source-file.d.cts +3 -3
  13. package/dist/core/components/source-file.d.mts +3 -3
  14. package/dist/core/components/source-file.mjs +1 -1
  15. package/dist/core/contexts/context.cjs +3 -3
  16. package/dist/core/contexts/context.d.cts +1 -1
  17. package/dist/core/contexts/context.d.mts +1 -1
  18. package/dist/core/contexts/context.mjs +1 -1
  19. package/dist/core/contexts/reflection.cjs +9 -9
  20. package/dist/core/contexts/reflection.d.cts +1 -1
  21. package/dist/core/contexts/reflection.d.mts +1 -1
  22. package/dist/core/contexts/reflection.mjs +1 -1
  23. package/dist/core/index.d.cts +2 -0
  24. package/dist/helpers/capnp.cjs +2 -2
  25. package/dist/helpers/capnp.mjs +2 -2
  26. package/dist/helpers/create-builtin.d.cts +1 -1
  27. package/dist/helpers/create-builtin.d.mts +1 -1
  28. package/dist/helpers/index.cjs +2 -2
  29. package/dist/helpers/index.mjs +2 -2
  30. package/dist/helpers/refkey.cjs +2 -2
  31. package/dist/helpers/refkey.d.cts +1 -1
  32. package/dist/helpers/refkey.d.mts +1 -1
  33. package/dist/helpers/refkey.mjs +1 -1
  34. package/dist/index.cjs +15 -114
  35. package/dist/index.d.cts +3 -24
  36. package/dist/index.d.mts +3 -29
  37. package/dist/index.mjs +15 -38
  38. package/dist/markdown/components/markdown-file.cjs +12 -12
  39. package/dist/markdown/components/markdown-file.d.cts +5 -5
  40. package/dist/markdown/components/markdown-file.d.mts +5 -5
  41. package/dist/markdown/components/markdown-file.mjs +1 -1
  42. package/dist/markdown/components/markdown-table.cjs +17 -17
  43. package/dist/markdown/components/markdown-table.d.cts +4 -4
  44. package/dist/markdown/components/markdown-table.d.mts +4 -4
  45. package/dist/markdown/components/markdown-table.mjs +1 -1
  46. package/dist/markdown/contexts/markdown-table.cjs +5 -5
  47. package/dist/markdown/contexts/markdown-table.d.cts +1 -1
  48. package/dist/markdown/contexts/markdown-table.d.mts +1 -1
  49. package/dist/markdown/contexts/markdown-table.mjs +1 -1
  50. package/dist/markdown/index.d.cts +2 -0
  51. package/dist/types/components.d.cts +4 -5
  52. package/dist/types/components.d.mts +1 -2
  53. package/dist/types/plugin.d.cts +2 -3
  54. package/dist/types/plugin.d.mts +1 -2
  55. package/dist/typescript/components/builtin-file.cjs +2 -2
  56. package/dist/typescript/components/builtin-file.d.cts +2 -2
  57. package/dist/typescript/components/builtin-file.mjs +1 -1
  58. package/dist/typescript/components/dynamic-import-statement.cjs +2 -2
  59. package/dist/typescript/components/dynamic-import-statement.d.cts +2 -2
  60. package/dist/typescript/components/dynamic-import-statement.d.mts +2 -2
  61. package/dist/typescript/components/dynamic-import-statement.mjs +1 -1
  62. package/dist/typescript/components/entry-file.cjs +3 -3
  63. package/dist/typescript/components/entry-file.d.cts +2 -2
  64. package/dist/typescript/components/entry-file.d.mts +2 -2
  65. package/dist/typescript/components/entry-file.mjs +1 -1
  66. package/dist/typescript/components/record-expression.cjs +2 -2
  67. package/dist/typescript/components/record-expression.d.cts +1 -1
  68. package/dist/typescript/components/record-expression.d.mts +1 -1
  69. package/dist/typescript/components/record-expression.mjs +1 -1
  70. package/dist/typescript/components/tsdoc-reflection.cjs +26 -26
  71. package/dist/typescript/components/tsdoc-reflection.d.cts +4 -4
  72. package/dist/typescript/components/tsdoc-reflection.d.mts +4 -4
  73. package/dist/typescript/components/tsdoc-reflection.mjs +1 -1
  74. package/dist/typescript/components/tsdoc.cjs +45 -45
  75. package/dist/typescript/components/tsdoc.d.cts +1 -1
  76. package/dist/typescript/components/tsdoc.d.mts +1 -1
  77. package/dist/typescript/components/tsdoc.mjs +1 -1
  78. package/dist/typescript/components/typescript-file.cjs +20 -20
  79. package/dist/typescript/components/typescript-file.d.cts +1 -1
  80. package/dist/typescript/components/typescript-file.d.mts +1 -1
  81. package/dist/typescript/components/typescript-file.mjs +1 -1
  82. package/dist/typescript/components/typescript-interface.cjs +5 -5
  83. package/dist/typescript/components/typescript-interface.mjs +1 -1
  84. package/dist/typescript/components/typescript-object.cjs +12 -12
  85. package/dist/typescript/components/typescript-object.d.cts +3 -3
  86. package/dist/typescript/components/typescript-object.d.mts +3 -3
  87. package/dist/typescript/components/typescript-object.mjs +1 -1
  88. package/dist/typescript/index.d.cts +1 -0
  89. package/dist/vendor.cjs +14 -12588
  90. package/dist/vendor.js +99 -103
  91. package/dist/vendor.mjs +11 -0
  92. package/package.json +7 -23
@@ -2,8 +2,8 @@ const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
2
2
  const require_core_contexts_reflection = require('../../core/contexts/reflection.cjs');
3
3
  const require_typescript_components_tsdoc = require('./tsdoc.cjs');
4
4
  let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
5
- let __alloy_js_core = require("@alloy-js/core");
6
5
  let __stryke_type_checks_is_set_string = require("@stryke/type-checks/is-set-string");
6
+ let __powerlines_plugin_alloy_vendor = require("@powerlines/plugin-alloy/vendor");
7
7
  let __stryke_type_checks_is_string = require("@stryke/type-checks/is-string");
8
8
  let __stryke_type_checks_is_undefined = require("@stryke/type-checks/is-undefined");
9
9
  let __stryke_string_format_title_case = require("@stryke/string-format/title-case");
@@ -13,23 +13,23 @@ let __stryke_string_format_title_case = require("@stryke/string-format/title-cas
13
13
  * Generates a TypeScript interface property for the given reflection class.
14
14
  */
15
15
  function TSDocReflectionClass(props) {
16
- const [{ children }, rest] = (0, __alloy_js_core.splitProps)(props, ["children"]);
16
+ const [{ children }, rest] = (0, __powerlines_plugin_alloy_vendor.splitProps)(props, ["children"]);
17
17
  const reflectionClass = require_core_contexts_reflection.useReflectionClass();
18
- const title = (0, __alloy_js_core.computed)(() => reflectionClass.reflection.getTitle() || (0, __stryke_string_format_title_case.titleCase)(reflectionClass.reflection.getName()));
19
- const alias = (0, __alloy_js_core.computed)(() => reflectionClass.reflection.getAlias());
20
- const domain = (0, __alloy_js_core.computed)(() => reflectionClass.reflection.getDomain());
21
- const permission = (0, __alloy_js_core.computed)(() => reflectionClass.reflection.getPermission());
22
- const readonly = (0, __alloy_js_core.computed)(() => reflectionClass.reflection.isReadonly());
23
- const internal = (0, __alloy_js_core.computed)(() => reflectionClass.reflection.isInternal());
24
- const ignore = (0, __alloy_js_core.computed)(() => reflectionClass.reflection.isIgnored());
25
- const hidden = (0, __alloy_js_core.computed)(() => reflectionClass.reflection.isHidden());
18
+ const title = (0, __powerlines_plugin_alloy_vendor.computed)(() => reflectionClass.reflection.getTitle() || (0, __stryke_string_format_title_case.titleCase)(reflectionClass.reflection.getName()));
19
+ const alias = (0, __powerlines_plugin_alloy_vendor.computed)(() => reflectionClass.reflection.getAlias());
20
+ const domain = (0, __powerlines_plugin_alloy_vendor.computed)(() => reflectionClass.reflection.getDomain());
21
+ const permission = (0, __powerlines_plugin_alloy_vendor.computed)(() => reflectionClass.reflection.getPermission());
22
+ const readonly = (0, __powerlines_plugin_alloy_vendor.computed)(() => reflectionClass.reflection.isReadonly());
23
+ const internal = (0, __powerlines_plugin_alloy_vendor.computed)(() => reflectionClass.reflection.isInternal());
24
+ const ignore = (0, __powerlines_plugin_alloy_vendor.computed)(() => reflectionClass.reflection.isIgnored());
25
+ const hidden = (0, __powerlines_plugin_alloy_vendor.computed)(() => reflectionClass.reflection.isHidden());
26
26
  if (!reflectionClass.reflection.getName()) return null;
27
27
  return (0, __alloy_js_core_jsx_runtime.createComponent)(require_typescript_components_tsdoc.TSDoc, (0, __alloy_js_core_jsx_runtime.mergeProps)(rest, {
28
28
  get heading() {
29
29
  return reflectionClass.reflection.getDescription();
30
30
  },
31
31
  get children() {
32
- return [(0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
32
+ return [(0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_vendor.Show, {
33
33
  get when() {
34
34
  return (0, __stryke_type_checks_is_set_string.isSetString)(title.value) || !(0, __stryke_type_checks_is_undefined.isUndefined)(alias.value) && alias.value.length > 0 || !(0, __stryke_type_checks_is_undefined.isUndefined)(permission.value) && permission.value.length > 0 || (0, __stryke_type_checks_is_set_string.isSetString)(domain.value) || !(0, __stryke_type_checks_is_undefined.isUndefined)(readonly.value) || !(0, __stryke_type_checks_is_undefined.isUndefined)(internal.value) || !(0, __stryke_type_checks_is_undefined.isUndefined)(ignore.value) || !(0, __stryke_type_checks_is_undefined.isUndefined)(hidden.value);
35
35
  },
@@ -61,13 +61,13 @@ function TSDocReflectionClass(props) {
61
61
  }
62
62
  });
63
63
  }
64
- }), (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
64
+ }), (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_vendor.Show, {
65
65
  get when() {
66
- return (0, __alloy_js_core_jsx_runtime.memo)(() => !!Boolean(children))() && (0, __alloy_js_core.childrenArray)(() => children).length > 0;
66
+ return (0, __alloy_js_core_jsx_runtime.memo)(() => !!Boolean(children))() && (0, __powerlines_plugin_alloy_vendor.childrenArray)(() => children).length > 0;
67
67
  },
68
68
  get children() {
69
- return (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.List, { get children() {
70
- return (0, __alloy_js_core.childrenArray)(() => children);
69
+ return (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_vendor.List, { get children() {
70
+ return (0, __powerlines_plugin_alloy_vendor.childrenArray)(() => children);
71
71
  } });
72
72
  }
73
73
  })];
@@ -78,7 +78,7 @@ function TSDocReflectionClass(props) {
78
78
  * Generates a TypeScript interface property for the given reflection class.
79
79
  */
80
80
  function TSDocReflectionProperty(props) {
81
- const [{ children }, rest] = (0, __alloy_js_core.splitProps)(props, ["children"]);
81
+ const [{ children }, rest] = (0, __powerlines_plugin_alloy_vendor.splitProps)(props, ["children"]);
82
82
  const context = require_core_contexts_reflection.useReflectionProperty();
83
83
  return (0, __alloy_js_core_jsx_runtime.createComponent)(require_typescript_components_tsdoc.TSDoc, (0, __alloy_js_core_jsx_runtime.mergeProps)({ get heading() {
84
84
  return context.getDescription();
@@ -108,13 +108,13 @@ function TSDocReflectionProperty(props) {
108
108
  get hidden() {
109
109
  return context.isHidden();
110
110
  }
111
- }), (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
111
+ }), (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_vendor.Show, {
112
112
  get when() {
113
- return (0, __alloy_js_core_jsx_runtime.memo)(() => !!Boolean(children))() && (0, __alloy_js_core.childrenArray)(() => children).length > 0;
113
+ return (0, __alloy_js_core_jsx_runtime.memo)(() => !!Boolean(children))() && (0, __powerlines_plugin_alloy_vendor.childrenArray)(() => children).length > 0;
114
114
  },
115
115
  get children() {
116
- return (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.List, { get children() {
117
- return (0, __alloy_js_core.childrenArray)(() => children);
116
+ return (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_vendor.List, { get children() {
117
+ return (0, __powerlines_plugin_alloy_vendor.childrenArray)(() => children);
118
118
  } });
119
119
  }
120
120
  })];
@@ -124,10 +124,10 @@ function TSDocReflectionProperty(props) {
124
124
  * Generates a TypeScript interface property for the given reflection class.
125
125
  */
126
126
  function TSDocReflectionMethod(props) {
127
- const [{ children }, rest] = (0, __alloy_js_core.splitProps)(props, ["children"]);
127
+ const [{ children }, rest] = (0, __powerlines_plugin_alloy_vendor.splitProps)(props, ["children"]);
128
128
  const context = require_core_contexts_reflection.useReflectionMethod();
129
129
  return (0, __alloy_js_core_jsx_runtime.createComponent)(require_typescript_components_tsdoc.TSDoc, (0, __alloy_js_core_jsx_runtime.mergeProps)({ get heading() {
130
- return context.getDescription() || ((0, __stryke_type_checks_is_string.isString)(context.getName()) ? __alloy_js_core.code`${String(context.getName())} method definition` : void 0);
130
+ return context.getDescription() || ((0, __stryke_type_checks_is_string.isString)(context.getName()) ? __powerlines_plugin_alloy_vendor.code`${String(context.getName())} method definition` : void 0);
131
131
  } }, rest, { get children() {
132
132
  return [(0, __alloy_js_core_jsx_runtime.createComponent)(require_typescript_components_tsdoc.TSDocAttributesTags, {
133
133
  get title() {
@@ -154,13 +154,13 @@ function TSDocReflectionMethod(props) {
154
154
  get hidden() {
155
155
  return context.isHidden();
156
156
  }
157
- }), (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
157
+ }), (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_vendor.Show, {
158
158
  get when() {
159
- return (0, __alloy_js_core_jsx_runtime.memo)(() => !!Boolean(children))() && (0, __alloy_js_core.childrenArray)(() => children).length > 0;
159
+ return (0, __alloy_js_core_jsx_runtime.memo)(() => !!Boolean(children))() && (0, __powerlines_plugin_alloy_vendor.childrenArray)(() => children).length > 0;
160
160
  },
161
161
  get children() {
162
- return (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.List, { get children() {
163
- return (0, __alloy_js_core.childrenArray)(() => children);
162
+ return (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_vendor.List, { get children() {
163
+ return (0, __powerlines_plugin_alloy_vendor.childrenArray)(() => children);
164
164
  } });
165
165
  }
166
166
  })];
@@ -1,18 +1,18 @@
1
1
  import { TSDocProps } from "./tsdoc.cjs";
2
- import * as _alloy_js_core9 from "@alloy-js/core";
2
+ import * as _alloy_js_core12 from "@alloy-js/core";
3
3
 
4
4
  //#region src/typescript/components/tsdoc-reflection.d.ts
5
5
  /**
6
6
  * Generates a TypeScript interface property for the given reflection class.
7
7
  */
8
- declare function TSDocReflectionClass<T extends Record<string, any> = Record<string, any>>(props: TSDocProps): _alloy_js_core9.Children;
8
+ declare function TSDocReflectionClass<T extends Record<string, any> = Record<string, any>>(props: TSDocProps): _alloy_js_core12.Children;
9
9
  /**
10
10
  * Generates a TypeScript interface property for the given reflection class.
11
11
  */
12
- declare function TSDocReflectionProperty(props: TSDocProps): _alloy_js_core9.Children;
12
+ declare function TSDocReflectionProperty(props: TSDocProps): _alloy_js_core12.Children;
13
13
  /**
14
14
  * Generates a TypeScript interface property for the given reflection class.
15
15
  */
16
- declare function TSDocReflectionMethod(props: TSDocProps): _alloy_js_core9.Children;
16
+ declare function TSDocReflectionMethod(props: TSDocProps): _alloy_js_core12.Children;
17
17
  //#endregion
18
18
  export { TSDocReflectionClass, TSDocReflectionMethod, TSDocReflectionProperty };
@@ -1,18 +1,18 @@
1
1
  import { TSDocProps } from "./tsdoc.mjs";
2
- import * as _alloy_js_core11 from "@alloy-js/core";
2
+ import * as _alloy_js_core12 from "@alloy-js/core";
3
3
 
4
4
  //#region src/typescript/components/tsdoc-reflection.d.ts
5
5
  /**
6
6
  * Generates a TypeScript interface property for the given reflection class.
7
7
  */
8
- declare function TSDocReflectionClass<T extends Record<string, any> = Record<string, any>>(props: TSDocProps): _alloy_js_core11.Children;
8
+ declare function TSDocReflectionClass<T extends Record<string, any> = Record<string, any>>(props: TSDocProps): _alloy_js_core12.Children;
9
9
  /**
10
10
  * Generates a TypeScript interface property for the given reflection class.
11
11
  */
12
- declare function TSDocReflectionProperty(props: TSDocProps): _alloy_js_core11.Children;
12
+ declare function TSDocReflectionProperty(props: TSDocProps): _alloy_js_core12.Children;
13
13
  /**
14
14
  * Generates a TypeScript interface property for the given reflection class.
15
15
  */
16
- declare function TSDocReflectionMethod(props: TSDocProps): _alloy_js_core11.Children;
16
+ declare function TSDocReflectionMethod(props: TSDocProps): _alloy_js_core12.Children;
17
17
  //#endregion
18
18
  export { TSDocReflectionClass, TSDocReflectionMethod, TSDocReflectionProperty };
@@ -1,8 +1,8 @@
1
1
  import { useReflectionClass, useReflectionMethod, useReflectionProperty } from "../../core/contexts/reflection.mjs";
2
2
  import { TSDoc, TSDocAttributesTags } from "./tsdoc.mjs";
3
3
  import { createComponent, memo, mergeProps } from "@alloy-js/core/jsx-runtime";
4
- import { List, Show, childrenArray, code, computed, splitProps } from "@alloy-js/core";
5
4
  import { isSetString } from "@stryke/type-checks/is-set-string";
5
+ import { List, Show, childrenArray, code, computed, splitProps } from "@powerlines/plugin-alloy/vendor";
6
6
  import { isString } from "@stryke/type-checks/is-string";
7
7
  import { isUndefined } from "@stryke/type-checks/is-undefined";
8
8
  import { titleCase } from "@stryke/string-format/title-case";
@@ -2,8 +2,8 @@ const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
2
2
  const require_core_contexts_context = require('../../core/contexts/context.cjs');
3
3
  const require_utilities = require('../../deepkit/src/utilities.cjs');
4
4
  let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
5
- let __alloy_js_core = require("@alloy-js/core");
6
5
  let __stryke_type_checks_is_set_string = require("@stryke/type-checks/is-set-string");
6
+ let __powerlines_plugin_alloy_vendor = require("@powerlines/plugin-alloy/vendor");
7
7
  let __stryke_type_checks_is_undefined = require("@stryke/type-checks/is-undefined");
8
8
 
9
9
  //#region src/typescript/components/tsdoc.tsx
@@ -11,7 +11,7 @@ let __stryke_type_checks_is_undefined = require("@stryke/type-checks/is-undefine
11
11
  * Generates a TypeScript interface for the given reflection class.
12
12
  */
13
13
  function TSDoc(props) {
14
- const [{ children, heading }] = (0, __alloy_js_core.splitProps)(props, ["children", "heading"]);
14
+ const [{ children, heading }] = (0, __powerlines_plugin_alloy_vendor.splitProps)(props, ["children", "heading"]);
15
15
  return [
16
16
  "/**",
17
17
  (0, __alloy_js_core_jsx_runtime.createIntrinsic)("align", {
@@ -19,7 +19,7 @@ function TSDoc(props) {
19
19
  get children() {
20
20
  return [
21
21
  (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
22
- (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
22
+ (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_vendor.Show, {
23
23
  get when() {
24
24
  return !(0, __stryke_type_checks_is_undefined.isUndefined)(heading);
25
25
  },
@@ -27,9 +27,9 @@ function TSDoc(props) {
27
27
  return [
28
28
  heading,
29
29
  (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
30
- (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
30
+ (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_vendor.Show, {
31
31
  get when() {
32
- return (0, __alloy_js_core_jsx_runtime.memo)(() => !!!(0, __stryke_type_checks_is_undefined.isUndefined)(children))() && (0, __alloy_js_core.childrenArray)(() => children).length > 0;
32
+ return (0, __alloy_js_core_jsx_runtime.memo)(() => !!!(0, __stryke_type_checks_is_undefined.isUndefined)(children))() && (0, __powerlines_plugin_alloy_vendor.childrenArray)(() => children).length > 0;
33
33
  },
34
34
  get children() {
35
35
  return (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {});
@@ -38,13 +38,13 @@ function TSDoc(props) {
38
38
  ];
39
39
  }
40
40
  }),
41
- (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
41
+ (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_vendor.Show, {
42
42
  get when() {
43
- return (0, __alloy_js_core_jsx_runtime.memo)(() => !!!(0, __stryke_type_checks_is_undefined.isUndefined)(children))() && (0, __alloy_js_core.childrenArray)(() => children).length > 0;
43
+ return (0, __alloy_js_core_jsx_runtime.memo)(() => !!!(0, __stryke_type_checks_is_undefined.isUndefined)(children))() && (0, __powerlines_plugin_alloy_vendor.childrenArray)(() => children).length > 0;
44
44
  },
45
45
  get children() {
46
- return (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.List, { get children() {
47
- return (0, __alloy_js_core.childrenArray)(() => children);
46
+ return (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_vendor.List, { get children() {
47
+ return (0, __powerlines_plugin_alloy_vendor.childrenArray)(() => children);
48
48
  } });
49
49
  }
50
50
  })
@@ -60,10 +60,10 @@ function TSDoc(props) {
60
60
  * Create a TSDoc `@<props.tag>` tag.
61
61
  */
62
62
  function TSDocTag(props) {
63
- const [{ children, tag }] = (0, __alloy_js_core.splitProps)(props, ["children", "tag"]);
63
+ const [{ children, tag }] = (0, __powerlines_plugin_alloy_vendor.splitProps)(props, ["children", "tag"]);
64
64
  return [
65
65
  `@${tag} `,
66
- (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
66
+ (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_vendor.Show, {
67
67
  get when() {
68
68
  return Boolean(children);
69
69
  },
@@ -71,7 +71,7 @@ function TSDocTag(props) {
71
71
  return (0, __alloy_js_core_jsx_runtime.createIntrinsic)("align", {
72
72
  width: 2,
73
73
  get children() {
74
- return (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Prose, { children });
74
+ return (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_vendor.Prose, { children });
75
75
  }
76
76
  });
77
77
  }
@@ -83,7 +83,7 @@ function TSDocTag(props) {
83
83
  * A component that creates a TSDoc block with `@param` tags for each parameter.
84
84
  */
85
85
  function TSDocParams(props) {
86
- return (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.For, {
86
+ return (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_vendor.For, {
87
87
  each: normalizeParametersForDoc(props.parameters),
88
88
  children: (param) => (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocParam, {
89
89
  get name() {
@@ -106,7 +106,7 @@ function normalizeParametersForDoc(parameters) {
106
106
  * Create a TSDoc `@title` tag.
107
107
  */
108
108
  function TSDocTitle(props) {
109
- const [{ children }, rest] = (0, __alloy_js_core.splitProps)(props, ["children"]);
109
+ const [{ children }, rest] = (0, __powerlines_plugin_alloy_vendor.splitProps)(props, ["children"]);
110
110
  return (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocTag, (0, __alloy_js_core_jsx_runtime.mergeProps)(rest, {
111
111
  tag: "title",
112
112
  children
@@ -116,7 +116,7 @@ function TSDocTitle(props) {
116
116
  * Create a TSDoc `@domain` tag.
117
117
  */
118
118
  function TSDocDomain(props) {
119
- const [{ children }, rest] = (0, __alloy_js_core.splitProps)(props, ["children"]);
119
+ const [{ children }, rest] = (0, __powerlines_plugin_alloy_vendor.splitProps)(props, ["children"]);
120
120
  return (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocTag, (0, __alloy_js_core_jsx_runtime.mergeProps)(rest, {
121
121
  tag: "domain",
122
122
  children
@@ -126,7 +126,7 @@ function TSDocDomain(props) {
126
126
  * Create a TSDoc `@alias` tag.
127
127
  */
128
128
  function TSDocAlias(props) {
129
- const [{ children }, rest] = (0, __alloy_js_core.splitProps)(props, ["children"]);
129
+ const [{ children }, rest] = (0, __powerlines_plugin_alloy_vendor.splitProps)(props, ["children"]);
130
130
  return (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocTag, (0, __alloy_js_core_jsx_runtime.mergeProps)(rest, {
131
131
  tag: "alias",
132
132
  children
@@ -136,7 +136,7 @@ function TSDocAlias(props) {
136
136
  * Create a TSDoc `@permission` tag.
137
137
  */
138
138
  function TSDocPermission(props) {
139
- const [{ children }, rest] = (0, __alloy_js_core.splitProps)(props, ["children"]);
139
+ const [{ children }, rest] = (0, __powerlines_plugin_alloy_vendor.splitProps)(props, ["children"]);
140
140
  return (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocTag, (0, __alloy_js_core_jsx_runtime.mergeProps)(rest, {
141
141
  tag: "permission",
142
142
  children
@@ -148,7 +148,7 @@ function TSDocPermission(props) {
148
148
  function TSDocDefaultValue(props) {
149
149
  return [
150
150
  "@defaultValue ",
151
- (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
151
+ (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_vendor.Show, {
152
152
  get when() {
153
153
  return !(0, __stryke_type_checks_is_undefined.isUndefined)(props.value);
154
154
  },
@@ -156,7 +156,7 @@ function TSDocDefaultValue(props) {
156
156
  return (0, __alloy_js_core_jsx_runtime.createIntrinsic)("align", {
157
157
  width: 2,
158
158
  get children() {
159
- return (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Prose, { get children() {
159
+ return (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_vendor.Prose, { get children() {
160
160
  return require_utilities.stringifyDefaultValue(props.value);
161
161
  } });
162
162
  }
@@ -173,10 +173,10 @@ function TSDocRemarks(props) {
173
173
  return [
174
174
  "@remarks ",
175
175
  (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
176
- (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.List, {
176
+ (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_vendor.List, {
177
177
  hardline: true,
178
178
  get children() {
179
- return (0, __alloy_js_core.childrenArray)(() => props.children);
179
+ return (0, __powerlines_plugin_alloy_vendor.childrenArray)(() => props.children);
180
180
  }
181
181
  })
182
182
  ];
@@ -191,7 +191,7 @@ function TSDocLink(props) {
191
191
  * Create a TSDoc `@example` tag.
192
192
  */
193
193
  function TSDocExample(props) {
194
- const [{ tsx, fenced = true, language, children }] = (0, __alloy_js_core.splitProps)(props, [
194
+ const [{ tsx, fenced = true, language, children }] = (0, __powerlines_plugin_alloy_vendor.splitProps)(props, [
195
195
  "tsx",
196
196
  "fenced",
197
197
  "language",
@@ -200,7 +200,7 @@ function TSDocExample(props) {
200
200
  return [
201
201
  "@example ",
202
202
  (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
203
- (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
203
+ (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_vendor.Show, {
204
204
  when: fenced,
205
205
  get children() {
206
206
  return [
@@ -211,7 +211,7 @@ function TSDocExample(props) {
211
211
  }
212
212
  }),
213
213
  children,
214
- (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
214
+ (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_vendor.Show, {
215
215
  when: fenced,
216
216
  get children() {
217
217
  return [(0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}), "```"];
@@ -247,7 +247,7 @@ function TSDocHidden() {
247
247
  * Generates a TypeScript interface property for the given reflection class.
248
248
  */
249
249
  function TSDocAttributesTags(props) {
250
- const [{ title, alias, permission, domain, readonly, internal, ignore, hidden, defaultValue }] = (0, __alloy_js_core.splitProps)(props, [
250
+ const [{ title, alias, permission, domain, readonly, internal, ignore, hidden, defaultValue }] = (0, __powerlines_plugin_alloy_vendor.splitProps)(props, [
251
251
  "title",
252
252
  "alias",
253
253
  "permission",
@@ -259,7 +259,7 @@ function TSDocAttributesTags(props) {
259
259
  "defaultValue"
260
260
  ]);
261
261
  return [
262
- (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
262
+ (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_vendor.Show, {
263
263
  get when() {
264
264
  return (0, __stryke_type_checks_is_set_string.isSetString)(title);
265
265
  },
@@ -267,18 +267,18 @@ function TSDocAttributesTags(props) {
267
267
  return (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocTitle, { children: title });
268
268
  }
269
269
  }),
270
- (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
270
+ (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_vendor.Show, {
271
271
  get when() {
272
272
  return !(0, __stryke_type_checks_is_undefined.isUndefined)(alias) && alias.length > 0;
273
273
  },
274
274
  get children() {
275
- return (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.For, {
275
+ return (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_vendor.For, {
276
276
  each: alias ?? [],
277
277
  children: (alias$1) => (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocAlias, { children: alias$1 })
278
278
  });
279
279
  }
280
280
  }),
281
- (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
281
+ (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_vendor.Show, {
282
282
  get when() {
283
283
  return (0, __stryke_type_checks_is_set_string.isSetString)(domain);
284
284
  },
@@ -286,42 +286,42 @@ function TSDocAttributesTags(props) {
286
286
  return (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocDomain, { children: domain });
287
287
  }
288
288
  }),
289
- (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
289
+ (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_vendor.Show, {
290
290
  get when() {
291
291
  return !(0, __stryke_type_checks_is_undefined.isUndefined)(permission) && permission.length > 0;
292
292
  },
293
293
  get children() {
294
- return (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.For, {
294
+ return (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_vendor.For, {
295
295
  each: permission ?? [],
296
296
  children: (permission$1) => (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocPermission, { children: permission$1 })
297
297
  });
298
298
  }
299
299
  }),
300
- (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
300
+ (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_vendor.Show, {
301
301
  when: readonly === true,
302
302
  get children() {
303
303
  return (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocReadonly, {});
304
304
  }
305
305
  }),
306
- (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
306
+ (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_vendor.Show, {
307
307
  when: internal === true,
308
308
  get children() {
309
309
  return (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocInternal, {});
310
310
  }
311
311
  }),
312
- (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
312
+ (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_vendor.Show, {
313
313
  when: ignore === true,
314
314
  get children() {
315
315
  return (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocIgnore, {});
316
316
  }
317
317
  }),
318
- (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
318
+ (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_vendor.Show, {
319
319
  when: hidden === true,
320
320
  get children() {
321
321
  return (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocHidden, {});
322
322
  }
323
323
  }),
324
- (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
324
+ (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_vendor.Show, {
325
325
  get when() {
326
326
  return !(0, __stryke_type_checks_is_undefined.isUndefined)(defaultValue);
327
327
  },
@@ -355,14 +355,14 @@ function TSDocParam(props) {
355
355
  }
356
356
  function TSDocParamName(props) {
357
357
  return [
358
- (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
358
+ (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_vendor.Show, {
359
359
  get when() {
360
360
  return props.optional;
361
361
  },
362
362
  children: "["
363
363
  }),
364
364
  (0, __alloy_js_core_jsx_runtime.memo)(() => props.name),
365
- (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
365
+ (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_vendor.Show, {
366
366
  get when() {
367
367
  return Boolean(props.defaultValue);
368
368
  },
@@ -370,7 +370,7 @@ function TSDocParamName(props) {
370
370
  return ["=", (0, __alloy_js_core_jsx_runtime.memo)(() => props.defaultValue)];
371
371
  }
372
372
  }),
373
- (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
373
+ (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_vendor.Show, {
374
374
  get when() {
375
375
  return props.optional;
376
376
  },
@@ -379,7 +379,7 @@ function TSDocParamName(props) {
379
379
  ];
380
380
  }
381
381
  function TSDocParamDescription(props) {
382
- return (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
382
+ return (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_vendor.Show, {
383
383
  get when() {
384
384
  return Boolean(props.children);
385
385
  },
@@ -387,7 +387,7 @@ function TSDocParamDescription(props) {
387
387
  return [" - ", (0, __alloy_js_core_jsx_runtime.createIntrinsic)("align", {
388
388
  width: 2,
389
389
  get children() {
390
- return (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Prose, { get children() {
390
+ return (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_vendor.Prose, { get children() {
391
391
  return props.children;
392
392
  } });
393
393
  }
@@ -411,7 +411,7 @@ function TSDocThrows(props) {
411
411
  * Generates a TSDoc `@module` tag for the given module name.
412
412
  */
413
413
  function TSDocModule(props) {
414
- const [{ children, name, prefix }] = (0, __alloy_js_core.splitProps)(props, [
414
+ const [{ children, name, prefix }] = (0, __powerlines_plugin_alloy_vendor.splitProps)(props, [
415
415
  "children",
416
416
  "name",
417
417
  "prefix"
@@ -424,16 +424,16 @@ function TSDocModule(props) {
424
424
  get children() {
425
425
  return [
426
426
  (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
427
- (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
427
+ (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_vendor.Show, {
428
428
  get when() {
429
429
  return Boolean(children);
430
430
  },
431
431
  get children() {
432
432
  return [
433
- (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.List, {
433
+ (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_vendor.List, {
434
434
  hardline: true,
435
435
  get children() {
436
- return (0, __alloy_js_core.childrenArray)(() => children);
436
+ return (0, __powerlines_plugin_alloy_vendor.childrenArray)(() => children);
437
437
  }
438
438
  }),
439
439
  (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from "../../types/components.cjs";
2
- import { Children } from "@alloy-js/core";
2
+ import { Children } from "@powerlines/plugin-alloy/vendor";
3
3
  import { JSDocExampleProps, ParameterDescriptor } from "@alloy-js/typescript";
4
4
 
5
5
  //#region src/typescript/components/tsdoc.d.ts
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from "../../types/components.mjs";
2
- import { Children } from "@alloy-js/core";
2
+ import { Children } from "@powerlines/plugin-alloy/vendor";
3
3
  import { JSDocExampleProps, ParameterDescriptor } from "@alloy-js/typescript";
4
4
 
5
5
  //#region src/typescript/components/tsdoc.d.ts
@@ -1,8 +1,8 @@
1
1
  import { usePowerlines } from "../../core/contexts/context.mjs";
2
2
  import { stringifyDefaultValue } from "../../deepkit/src/utilities.mjs";
3
3
  import { createComponent, createIntrinsic, memo, mergeProps } from "@alloy-js/core/jsx-runtime";
4
- import { For, List, Prose, Show, childrenArray, splitProps } from "@alloy-js/core";
5
4
  import { isSetString } from "@stryke/type-checks/is-set-string";
5
+ import { For, List, Prose, Show, childrenArray, splitProps } from "@powerlines/plugin-alloy/vendor";
6
6
  import { isUndefined } from "@stryke/type-checks/is-undefined";
7
7
 
8
8
  //#region src/typescript/components/tsdoc.tsx