@powerlines/plugin-alloy 0.15.0 → 0.15.2
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.
- package/dist/builtin-file-BDc5-4_L.mjs +43 -0
- package/dist/{builtin-file-C6O1_A2o.d.cts → builtin-file-CUUY0eVB.d.cts} +3 -3
- package/dist/{builtin-file-DLVCgiye.cjs → builtin-file-Cey2cJy9.cjs} +20 -14
- package/dist/{builtin-file-BAJFTpM1.d.mts → builtin-file-EfQHLZ8F.d.mts} +4 -4
- package/dist/{capnp-CbBwObRD.d.mts → capnp-DkidugOV.d.mts} +1 -1
- package/dist/{components-IB9A7YaB.d.mts → components-ixU_ICbr.d.mts} +5 -5
- package/dist/{context-D-UHaRnr.d.mts → context-BApo1nhP.d.mts} +1 -1
- package/dist/{context-0Spyyas6.d.mts → context-DXy7MPku.d.mts} +0 -2
- package/dist/core/components/index.cjs +3 -3
- package/dist/core/components/index.d.cts +3 -3
- package/dist/core/components/index.d.mts +5 -5
- package/dist/core/components/index.mjs +3 -3
- package/dist/core/components/output.cjs +1 -1
- package/dist/core/components/output.d.cts +1 -1
- package/dist/core/components/output.d.mts +2 -2
- package/dist/core/components/output.mjs +1 -1
- package/dist/core/components/single-line-comment.cjs +1 -1
- package/dist/core/components/single-line-comment.d.cts +1 -1
- package/dist/core/components/single-line-comment.d.mts +3 -3
- package/dist/core/components/single-line-comment.mjs +1 -1
- package/dist/core/components/source-file.cjs +1 -1
- package/dist/core/components/source-file.d.cts +1 -1
- package/dist/core/components/source-file.d.mts +3 -3
- package/dist/core/components/source-file.mjs +1 -1
- package/dist/core/contexts/context.d.mts +2 -2
- package/dist/core/contexts/index.d.mts +4 -4
- package/dist/core/contexts/reflection.d.mts +3 -3
- package/dist/core/index.cjs +3 -3
- package/dist/core/index.d.cts +3 -3
- package/dist/core/index.d.mts +7 -7
- package/dist/core/index.mjs +3 -3
- package/dist/{dynamic-import-statement-C13MnQgp.d.mts → dynamic-import-statement-BhY2a13r.d.cts} +2 -2
- package/dist/{dynamic-import-statement-DoTHSt57.mjs → dynamic-import-statement-CWK5I_yt.mjs} +2 -6
- package/dist/{dynamic-import-statement-Dk3bSR8x.d.cts → dynamic-import-statement-D6f1SnIf.d.mts} +2 -2
- package/dist/{dynamic-import-statement-JVLyMPXr.cjs → dynamic-import-statement-DVGp5Cvq.cjs} +2 -6
- package/dist/{entry-file-BgfBy5f5.d.mts → entry-file-B46yUHra.d.mts} +4 -4
- package/dist/{entry-file-ohVtSEuT.d.cts → entry-file-DSW6oClr.d.cts} +3 -3
- package/dist/{entry-file-BA75rAwb.cjs → entry-file-DijEelFv.cjs} +10 -7
- package/dist/{entry-file-Bw1mgMP3.mjs → entry-file-DtjJPVZY.mjs} +10 -7
- package/dist/helpers/capnp.d.mts +2 -2
- package/dist/helpers/index.d.mts +2 -2
- package/dist/index.cjs +61 -230
- package/dist/index.d.cts +12 -12
- package/dist/index.d.mts +19 -19
- package/dist/index.mjs +60 -224
- package/dist/markdown/components/index.cjs +4 -4
- package/dist/markdown/components/index.d.cts +3 -3
- package/dist/markdown/components/index.d.mts +5 -5
- package/dist/markdown/components/index.mjs +4 -4
- package/dist/markdown/components/markdown-file.cjs +3 -3
- package/dist/markdown/components/markdown-file.d.cts +2 -2
- package/dist/markdown/components/markdown-file.d.mts +4 -4
- package/dist/markdown/components/markdown-file.mjs +3 -3
- package/dist/markdown/components/markdown-table.cjs +1 -1
- package/dist/markdown/components/markdown-table.d.cts +1 -1
- package/dist/markdown/components/markdown-table.d.mts +3 -3
- package/dist/markdown/components/markdown-table.mjs +1 -1
- package/dist/markdown/index.cjs +4 -4
- package/dist/markdown/index.d.cts +3 -3
- package/dist/markdown/index.d.mts +5 -5
- package/dist/markdown/index.mjs +4 -4
- package/dist/markdown-file-BVSRcpXO.cjs +128 -0
- package/dist/{markdown-file-KpLxNKr5.d.cts → markdown-file-C72aDdPi.d.cts} +4 -4
- package/dist/markdown-file-Clh5iU1_.mjs +116 -0
- package/dist/{markdown-file-DJvf2bqR.d.mts → markdown-file-DIkSXG43.d.mts} +5 -5
- package/dist/{markdown-table-C2op3MrF.d.mts → markdown-table-3trTm6Ef.d.mts} +5 -5
- package/dist/{markdown-table-DFaNSBRn.cjs → markdown-table-B40X-Kp1.cjs} +49 -28
- package/dist/{markdown-table-BUxH6aRh.mjs → markdown-table-D-YnljE7.mjs} +49 -28
- package/dist/{markdown-table-Es5LOw2a.d.cts → markdown-table-ZiuZZY5T.d.cts} +4 -4
- package/dist/{output-Cos2Dz1j.d.mts → output-BKZklKl1.d.mts} +1 -1
- package/dist/{output-CnofBsl0.cjs → output-BlHZS50Y.cjs} +19 -12
- package/dist/{output-H0VYYc8s.d.cts → output-BmJnrELo.d.cts} +2 -2
- package/dist/{output-DEdXZ94G.mjs → output-CNnPjQlW.mjs} +19 -12
- package/dist/{plugin-DmLCIqx0.d.mts → plugin-LknisCLa.d.mts} +3 -3
- package/dist/{reflection-BiWgd3An.d.mts → reflection-DLJST1Z7.d.mts} +1 -1
- package/dist/{single-line-comment-C5CtHQhi.mjs → single-line-comment-Biwa95Py.mjs} +6 -4
- package/dist/{single-line-comment-BkcbxQk-.d.cts → single-line-comment-CYYKKXc2.d.cts} +2 -2
- package/dist/{single-line-comment-DFZNU5hP.d.mts → single-line-comment-DGby6ABI.d.mts} +3 -3
- package/dist/{single-line-comment-BMPq6OR0.cjs → single-line-comment-DvU69OGj.cjs} +6 -4
- package/dist/{source-file-DddsxT-0.d.mts → source-file-B2MkzzGR.d.mts} +4 -4
- package/dist/{source-file-F6Y5b57g.d.cts → source-file-BrxGhMOh.d.cts} +2 -2
- package/dist/{source-file-DTd1KgD5.cjs → source-file-DK_nFwAK.cjs} +10 -6
- package/dist/{source-file-CCYwl5pI.mjs → source-file-Dna2E0ro.mjs} +10 -6
- package/dist/tsdoc-B0TNs3dK.cjs +576 -0
- package/dist/{tsdoc-DzCqaUAX.d.mts → tsdoc-QH5nHvck.d.mts} +1 -1
- package/dist/tsdoc-XXdq_9iS.mjs +456 -0
- package/dist/{tsdoc-reflection-DllAx-qb.d.cts → tsdoc-reflection-BOvlOXzR.d.cts} +4 -4
- package/dist/{tsdoc-reflection-iM_fIiQz.d.mts → tsdoc-reflection-Bhk9KvVe.d.mts} +5 -5
- package/dist/tsdoc-reflection-BizVi_gn.cjs +188 -0
- package/dist/tsdoc-reflection-IWtPMJjw.mjs +170 -0
- package/dist/types/components.d.mts +2 -2
- package/dist/types/index.d.mts +3 -3
- package/dist/types/plugin.d.mts +2 -2
- package/dist/typescript/components/builtin-file.cjs +5 -5
- package/dist/typescript/components/builtin-file.d.cts +3 -3
- package/dist/typescript/components/builtin-file.d.mts +6 -6
- package/dist/typescript/components/builtin-file.mjs +5 -5
- package/dist/typescript/components/dynamic-import-statement.cjs +1 -1
- package/dist/typescript/components/dynamic-import-statement.d.cts +1 -1
- package/dist/typescript/components/dynamic-import-statement.d.mts +1 -1
- package/dist/typescript/components/dynamic-import-statement.mjs +1 -1
- package/dist/typescript/components/entry-file.cjs +4 -4
- package/dist/typescript/components/entry-file.d.cts +3 -3
- package/dist/typescript/components/entry-file.d.mts +5 -5
- package/dist/typescript/components/entry-file.mjs +4 -4
- package/dist/typescript/components/index.cjs +10 -10
- package/dist/typescript/components/index.d.cts +8 -8
- package/dist/typescript/components/index.d.mts +11 -11
- package/dist/typescript/components/index.mjs +10 -10
- package/dist/typescript/components/tsdoc-reflection.cjs +2 -2
- package/dist/typescript/components/tsdoc-reflection.d.cts +1 -1
- package/dist/typescript/components/tsdoc-reflection.d.mts +4 -4
- package/dist/typescript/components/tsdoc-reflection.mjs +2 -2
- package/dist/typescript/components/tsdoc.cjs +1 -1
- package/dist/typescript/components/tsdoc.d.mts +3 -3
- package/dist/typescript/components/tsdoc.mjs +1 -1
- package/dist/typescript/components/typescript-file.cjs +3 -3
- package/dist/typescript/components/typescript-file.d.cts +2 -2
- package/dist/typescript/components/typescript-file.d.mts +4 -4
- package/dist/typescript/components/typescript-file.mjs +3 -3
- package/dist/typescript/components/typescript-interface.cjs +3 -3
- package/dist/typescript/components/typescript-interface.d.cts +1 -1
- package/dist/typescript/components/typescript-interface.d.mts +3 -3
- package/dist/typescript/components/typescript-interface.mjs +3 -3
- package/dist/typescript/components/typescript-object.cjs +3 -3
- package/dist/typescript/components/typescript-object.d.cts +1 -1
- package/dist/typescript/components/typescript-object.d.mts +3 -3
- package/dist/typescript/components/typescript-object.mjs +3 -3
- package/dist/typescript/index.cjs +10 -10
- package/dist/typescript/index.d.cts +8 -8
- package/dist/typescript/index.d.mts +11 -11
- package/dist/typescript/index.mjs +10 -10
- package/dist/{typescript-file-ocXl9a61.d.cts → typescript-file-BK8Ohw9s.d.cts} +1 -1
- package/dist/{typescript-file-D4rnAsBm.d.mts → typescript-file-CFNjXsdz.d.mts} +2 -2
- package/dist/typescript-file-CLL-ELi0.mjs +190 -0
- package/dist/typescript-file-HsAUWnQY.cjs +208 -0
- package/dist/{typescript-interface-DzvRyYXT.d.mts → typescript-interface-CVB4juPk.d.cts} +2 -2
- package/dist/{typescript-interface-Codd49Sl.cjs → typescript-interface-DwHJ9in_.cjs} +38 -23
- package/dist/{typescript-interface-AydoCmGY.mjs → typescript-interface-FVDsEsu0.mjs} +38 -23
- package/dist/{typescript-interface-4JyWA4LS.d.cts → typescript-interface-XIwwFVdf.d.mts} +5 -5
- package/dist/{typescript-object-IfL-BYqv.d.cts → typescript-object-BPZlvCrZ.d.cts} +3 -3
- package/dist/{typescript-object-DDunmVmx.d.mts → typescript-object-BTawaBJa.d.mts} +4 -4
- package/dist/{typescript-object-DOrJkpcM.cjs → typescript-object-D8MHeFId.cjs} +75 -45
- package/dist/{typescript-object-C-BmpHfk.mjs → typescript-object-Ju07nQg9.mjs} +75 -45
- package/package.json +11 -11
- package/dist/builtin-file-CkwxD4el.mjs +0 -37
- package/dist/markdown-file-BFbbzD59.mjs +0 -90
- package/dist/markdown-file-CzGNj_Ex.cjs +0 -102
- package/dist/tsdoc-BFPYF-Fh.cjs +0 -487
- package/dist/tsdoc-BmyOQBxT.mjs +0 -367
- package/dist/tsdoc-reflection-3hSdGY1e.mjs +0 -97
- package/dist/tsdoc-reflection-BQN8iUG1.cjs +0 -115
- package/dist/typescript-file-6Y81yLyB.cjs +0 -157
- package/dist/typescript-file-y6oF016h.mjs +0 -139
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { d as TSDocModule } from "./tsdoc-XXdq_9iS.mjs";
|
|
2
|
+
import { n as TypescriptFileHeader, r as TypescriptFileHeaderImports, t as TypescriptFile } from "./typescript-file-CLL-ELi0.mjs";
|
|
3
|
+
import { createComponent, mergeProps } from "@alloy-js/core/jsx-runtime";
|
|
4
|
+
import { splitProps } from "@alloy-js/core";
|
|
5
|
+
|
|
6
|
+
//#region src/typescript/components/builtin-file.tsx
|
|
7
|
+
/**
|
|
8
|
+
* A base component representing a Powerlines generated Typescript source file.
|
|
9
|
+
*
|
|
10
|
+
* @param props - The properties for the source file.
|
|
11
|
+
* @returns The rendered source file component.
|
|
12
|
+
*/
|
|
13
|
+
function BuiltinFile(props) {
|
|
14
|
+
const [{ children, imports, id, description, tsx }, rest] = splitProps(props, [
|
|
15
|
+
"children",
|
|
16
|
+
"imports",
|
|
17
|
+
"id",
|
|
18
|
+
"description",
|
|
19
|
+
"tsx"
|
|
20
|
+
]);
|
|
21
|
+
return createComponent(TypescriptFile, mergeProps({
|
|
22
|
+
get header() {
|
|
23
|
+
return createComponent(TypescriptFileHeader, {
|
|
24
|
+
get header() {
|
|
25
|
+
return createComponent(TSDocModule, {
|
|
26
|
+
name: id,
|
|
27
|
+
children: description
|
|
28
|
+
});
|
|
29
|
+
},
|
|
30
|
+
get children() {
|
|
31
|
+
return createComponent(TypescriptFileHeaderImports, { imports });
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
},
|
|
35
|
+
meta: { builtin: { id } }
|
|
36
|
+
}, rest, {
|
|
37
|
+
path: `${id}${tsx ? ".tsx" : ".ts"}`,
|
|
38
|
+
children
|
|
39
|
+
}));
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
//#endregion
|
|
43
|
+
export { BuiltinFile as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h as TSDocModuleProps } from "./tsdoc-CK6J_ap5.cjs";
|
|
2
|
-
import { o as TypescriptFileProps } from "./typescript-file-
|
|
3
|
-
import * as
|
|
2
|
+
import { o as TypescriptFileProps } from "./typescript-file-BK8Ohw9s.cjs";
|
|
3
|
+
import * as _alloy_js_core16 from "@alloy-js/core";
|
|
4
4
|
|
|
5
5
|
//#region src/typescript/components/builtin-file.d.ts
|
|
6
6
|
type BuiltinFileProps = Omit<TypescriptFileProps, "path"> & Omit<TSDocModuleProps, "name"> & {
|
|
@@ -28,7 +28,7 @@ type BuiltinFileProps = Omit<TypescriptFileProps, "path"> & Omit<TSDocModuleProp
|
|
|
28
28
|
* @param props - The properties for the source file.
|
|
29
29
|
* @returns The rendered source file component.
|
|
30
30
|
*/
|
|
31
|
-
declare function BuiltinFile(props: BuiltinFileProps):
|
|
31
|
+
declare function BuiltinFile(props: BuiltinFileProps): _alloy_js_core16.Children;
|
|
32
32
|
declare type __ΩBuiltinFileProps = any[];
|
|
33
33
|
//#endregion
|
|
34
34
|
export { BuiltinFileProps as n, __ΩBuiltinFileProps as r, BuiltinFile as t };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-CbDLau6x.cjs');
|
|
2
|
-
const require_tsdoc = require('./tsdoc-
|
|
3
|
-
const require_typescript_file = require('./typescript-file-
|
|
4
|
-
let __alloy_js_core = require("@alloy-js/core");
|
|
2
|
+
const require_tsdoc = require('./tsdoc-B0TNs3dK.cjs');
|
|
3
|
+
const require_typescript_file = require('./typescript-file-HsAUWnQY.cjs');
|
|
5
4
|
let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
|
|
5
|
+
let __alloy_js_core = require("@alloy-js/core");
|
|
6
6
|
|
|
7
7
|
//#region src/typescript/components/builtin-file.tsx
|
|
8
8
|
/**
|
|
@@ -19,19 +19,25 @@ function BuiltinFile(props) {
|
|
|
19
19
|
"description",
|
|
20
20
|
"tsx"
|
|
21
21
|
]);
|
|
22
|
-
return
|
|
23
|
-
header
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
22
|
+
return (0, __alloy_js_core_jsx_runtime.createComponent)(require_typescript_file.TypescriptFile, (0, __alloy_js_core_jsx_runtime.mergeProps)({
|
|
23
|
+
get header() {
|
|
24
|
+
return (0, __alloy_js_core_jsx_runtime.createComponent)(require_typescript_file.TypescriptFileHeader, {
|
|
25
|
+
get header() {
|
|
26
|
+
return (0, __alloy_js_core_jsx_runtime.createComponent)(require_tsdoc.TSDocModule, {
|
|
27
|
+
name: id,
|
|
28
|
+
children: description
|
|
29
|
+
});
|
|
30
|
+
},
|
|
31
|
+
get children() {
|
|
32
|
+
return (0, __alloy_js_core_jsx_runtime.createComponent)(require_typescript_file.TypescriptFileHeaderImports, { imports });
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
},
|
|
36
|
+
meta: { builtin: { id } }
|
|
37
|
+
}, rest, {
|
|
32
38
|
path: `${id}${tsx ? ".tsx" : ".ts"}`,
|
|
33
39
|
children
|
|
34
|
-
});
|
|
40
|
+
}));
|
|
35
41
|
}
|
|
36
42
|
|
|
37
43
|
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { h as TSDocModuleProps } from "./tsdoc-
|
|
2
|
-
import { o as TypescriptFileProps } from "./typescript-file-
|
|
3
|
-
import * as
|
|
1
|
+
import { h as TSDocModuleProps } from "./tsdoc-QH5nHvck.mjs";
|
|
2
|
+
import { o as TypescriptFileProps } from "./typescript-file-CFNjXsdz.mjs";
|
|
3
|
+
import * as _alloy_js_core8 from "@alloy-js/core";
|
|
4
4
|
|
|
5
5
|
//#region src/typescript/components/builtin-file.d.ts
|
|
6
6
|
type BuiltinFileProps = Omit<TypescriptFileProps, "path"> & Omit<TSDocModuleProps, "name"> & {
|
|
@@ -28,7 +28,7 @@ type BuiltinFileProps = Omit<TypescriptFileProps, "path"> & Omit<TSDocModuleProp
|
|
|
28
28
|
* @param props - The properties for the source file.
|
|
29
29
|
* @returns The rendered source file component.
|
|
30
30
|
*/
|
|
31
|
-
declare function BuiltinFile(props: BuiltinFileProps):
|
|
31
|
+
declare function BuiltinFile(props: BuiltinFileProps): _alloy_js_core8.Children;
|
|
32
32
|
declare type __ΩBuiltinFileProps = any[];
|
|
33
33
|
//#endregion
|
|
34
34
|
export { BuiltinFileProps as n, __ΩBuiltinFileProps as r, BuiltinFile as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as PluginContext, t as Context } from "./context-
|
|
1
|
+
import { n as PluginContext, t as Context } from "./context-DXy7MPku.mjs";
|
|
2
2
|
import { ReflectionClass, ReflectionMethod, ReflectionParameter, ReflectionProperty, Type, TypeEnum, TypeUnion } from "@powerlines/deepkit/vendor/type";
|
|
3
3
|
import { CapnpcOptions, CapnpcResult } from "@stryke/capnp/types";
|
|
4
4
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { o as ResolvedEntryTypeDefinition, s as StoragePreset } from "./context-
|
|
1
|
+
import { o as ResolvedEntryTypeDefinition, s as StoragePreset } from "./context-DXy7MPku.mjs";
|
|
2
|
+
import { Children } from "@alloy-js/core/jsx-runtime";
|
|
2
3
|
import { Context } from "@alloy-js/core";
|
|
3
|
-
import { Children as Children$1 } from "@alloy-js/core/jsx-runtime";
|
|
4
4
|
import { SourceFileContext as SourceFileContext$1 } from "@alloy-js/typescript";
|
|
5
5
|
|
|
6
6
|
//#region src/types/components.d.ts
|
|
@@ -77,7 +77,7 @@ interface RenderContext extends Context {
|
|
|
77
77
|
* A type that represents the props of a component that can have children.
|
|
78
78
|
*/
|
|
79
79
|
interface ComponentProps {
|
|
80
|
-
children?: Children
|
|
80
|
+
children?: Children;
|
|
81
81
|
}
|
|
82
82
|
/**
|
|
83
83
|
* A type that requires the `children` prop in a component.
|
|
@@ -90,8 +90,8 @@ interface BuiltinSourceFileContext extends SourceFileContext$1 {
|
|
|
90
90
|
id: string;
|
|
91
91
|
}
|
|
92
92
|
interface ReflectionOverrideInterface<T> {
|
|
93
|
-
name?: string | Children
|
|
94
|
-
type?: string | Children
|
|
93
|
+
name?: string | Children;
|
|
94
|
+
type?: string | Children;
|
|
95
95
|
extends?: string | false;
|
|
96
96
|
defaultValue?: Partial<T>;
|
|
97
97
|
}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import { transformAsync } from "@babel/core";
|
|
2
1
|
import { LogLevelLabel } from "@storm-software/config-tools/types";
|
|
3
|
-
import "@babel/helper-plugin-utils";
|
|
4
2
|
import { EnvPaths } from "@stryke/env/get-env-paths";
|
|
5
3
|
import { FetchRequestOptions } from "@stryke/http/fetch";
|
|
6
4
|
import { FunctionLike, MaybePromise, NonUndefined } from "@stryke/types/base";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
require('../../context-BIduC1bB.cjs');
|
|
2
|
-
const require_single_line_comment = require('../../single-line-comment-
|
|
3
|
-
const require_source_file = require('../../source-file-
|
|
4
|
-
const require_output = require('../../output-
|
|
2
|
+
const require_single_line_comment = require('../../single-line-comment-DvU69OGj.cjs');
|
|
3
|
+
const require_source_file = require('../../source-file-DK_nFwAK.cjs');
|
|
4
|
+
const require_output = require('../../output-BlHZS50Y.cjs');
|
|
5
5
|
require('../../components-Cj5gaIV0.cjs');
|
|
6
6
|
|
|
7
7
|
exports.Output = require_output.Output;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../context-BsDdxy5g.cjs";
|
|
2
|
-
import { n as OutputProps, r as __ΩOutputProps, t as Output } from "../../output-
|
|
2
|
+
import { n as OutputProps, r as __ΩOutputProps, t as Output } from "../../output-BmJnrELo.cjs";
|
|
3
3
|
import "../../components-C8Qs2PB0.cjs";
|
|
4
|
-
import { a as __ΩSingleLineCommentVariant, i as __ΩSingleLineCommentProps, n as SingleLineCommentProps, r as SingleLineCommentVariant, t as SingleLineComment } from "../../single-line-comment-
|
|
5
|
-
import { n as SourceFileProps, r as __ΩSourceFileProps, t as SourceFile } from "../../source-file-
|
|
4
|
+
import { a as __ΩSingleLineCommentVariant, i as __ΩSingleLineCommentProps, n as SingleLineCommentProps, r as SingleLineCommentVariant, t as SingleLineComment } from "../../single-line-comment-CYYKKXc2.cjs";
|
|
5
|
+
import { n as SourceFileProps, r as __ΩSourceFileProps, t as SourceFile } from "../../source-file-BrxGhMOh.cjs";
|
|
6
6
|
import "../../index-DdxxIAKU.cjs";
|
|
7
7
|
export { Output, OutputProps, SingleLineComment, SingleLineCommentProps, SingleLineCommentVariant, SourceFile, SourceFileProps, __ΩOutputProps, __ΩSingleLineCommentProps, __ΩSingleLineCommentVariant, __ΩSourceFileProps };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "../../context-
|
|
2
|
-
import { n as OutputProps, r as __ΩOutputProps, t as Output } from "../../output-
|
|
3
|
-
import "../../components-
|
|
4
|
-
import { a as __ΩSingleLineCommentVariant, i as __ΩSingleLineCommentProps, n as SingleLineCommentProps, r as SingleLineCommentVariant, t as SingleLineComment } from "../../single-line-comment-
|
|
5
|
-
import { n as SourceFileProps, r as __ΩSourceFileProps, t as SourceFile } from "../../source-file-
|
|
1
|
+
import "../../context-DXy7MPku.mjs";
|
|
2
|
+
import { n as OutputProps, r as __ΩOutputProps, t as Output } from "../../output-BKZklKl1.mjs";
|
|
3
|
+
import "../../components-ixU_ICbr.mjs";
|
|
4
|
+
import { a as __ΩSingleLineCommentVariant, i as __ΩSingleLineCommentProps, n as SingleLineCommentProps, r as SingleLineCommentVariant, t as SingleLineComment } from "../../single-line-comment-DGby6ABI.mjs";
|
|
5
|
+
import { n as SourceFileProps, r as __ΩSourceFileProps, t as SourceFile } from "../../source-file-B2MkzzGR.mjs";
|
|
6
6
|
import "../../index-DBGd4WeR.mjs";
|
|
7
7
|
export { Output, OutputProps, SingleLineComment, SingleLineCommentProps, SingleLineCommentVariant, SourceFile, SourceFileProps, __ΩOutputProps, __ΩSingleLineCommentProps, __ΩSingleLineCommentVariant, __ΩSourceFileProps };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../context-Cx38_mgI.mjs";
|
|
2
|
-
import { t as SingleLineComment } from "../../single-line-comment-
|
|
3
|
-
import { t as SourceFile } from "../../source-file-
|
|
4
|
-
import { t as Output } from "../../output-
|
|
2
|
+
import { t as SingleLineComment } from "../../single-line-comment-Biwa95Py.mjs";
|
|
3
|
+
import { t as SourceFile } from "../../source-file-Dna2E0ro.mjs";
|
|
4
|
+
import { t as Output } from "../../output-CNnPjQlW.mjs";
|
|
5
5
|
import "../../components-HMVhsFQl.mjs";
|
|
6
6
|
|
|
7
7
|
export { Output, SingleLineComment, SourceFile };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import "../../context-BsDdxy5g.cjs";
|
|
2
|
-
import { n as OutputProps, r as __ΩOutputProps, t as Output } from "../../output-
|
|
2
|
+
import { n as OutputProps, r as __ΩOutputProps, t as Output } from "../../output-BmJnrELo.cjs";
|
|
3
3
|
export { Output, OutputProps, __ΩOutputProps };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "../../context-
|
|
2
|
-
import { n as OutputProps, r as __ΩOutputProps, t as Output } from "../../output-
|
|
1
|
+
import "../../context-DXy7MPku.mjs";
|
|
2
|
+
import { n as OutputProps, r as __ΩOutputProps, t as Output } from "../../output-BKZklKl1.mjs";
|
|
3
3
|
export { Output, OutputProps, __ΩOutputProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "../../context-BsDdxy5g.cjs";
|
|
2
2
|
import "../../components-C8Qs2PB0.cjs";
|
|
3
|
-
import { a as __ΩSingleLineCommentVariant, i as __ΩSingleLineCommentProps, n as SingleLineCommentProps, r as SingleLineCommentVariant, t as SingleLineComment } from "../../single-line-comment-
|
|
3
|
+
import { a as __ΩSingleLineCommentVariant, i as __ΩSingleLineCommentProps, n as SingleLineCommentProps, r as SingleLineCommentVariant, t as SingleLineComment } from "../../single-line-comment-CYYKKXc2.cjs";
|
|
4
4
|
export { SingleLineComment, SingleLineCommentProps, SingleLineCommentVariant, __ΩSingleLineCommentProps, __ΩSingleLineCommentVariant };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../context-
|
|
2
|
-
import "../../components-
|
|
3
|
-
import { a as __ΩSingleLineCommentVariant, i as __ΩSingleLineCommentProps, n as SingleLineCommentProps, r as SingleLineCommentVariant, t as SingleLineComment } from "../../single-line-comment-
|
|
1
|
+
import "../../context-DXy7MPku.mjs";
|
|
2
|
+
import "../../components-ixU_ICbr.mjs";
|
|
3
|
+
import { a as __ΩSingleLineCommentVariant, i as __ΩSingleLineCommentProps, n as SingleLineCommentProps, r as SingleLineCommentVariant, t as SingleLineComment } from "../../single-line-comment-DGby6ABI.mjs";
|
|
4
4
|
export { SingleLineComment, SingleLineCommentProps, SingleLineCommentVariant, __ΩSingleLineCommentProps, __ΩSingleLineCommentVariant };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "../../context-BsDdxy5g.cjs";
|
|
2
2
|
import "../../components-C8Qs2PB0.cjs";
|
|
3
|
-
import { n as SourceFileProps, r as __ΩSourceFileProps, t as SourceFile } from "../../source-file-
|
|
3
|
+
import { n as SourceFileProps, r as __ΩSourceFileProps, t as SourceFile } from "../../source-file-BrxGhMOh.cjs";
|
|
4
4
|
export { SourceFile, SourceFileProps, __ΩSourceFileProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../context-
|
|
2
|
-
import "../../components-
|
|
3
|
-
import { n as SourceFileProps, r as __ΩSourceFileProps, t as SourceFile } from "../../source-file-
|
|
1
|
+
import "../../context-DXy7MPku.mjs";
|
|
2
|
+
import "../../components-ixU_ICbr.mjs";
|
|
3
|
+
import { n as SourceFileProps, r as __ΩSourceFileProps, t as SourceFile } from "../../source-file-B2MkzzGR.mjs";
|
|
4
4
|
export { SourceFile, SourceFileProps, __ΩSourceFileProps };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "../../context-
|
|
2
|
-
import { a as usePowerlinesContext, i as usePowerlines, n as PowerlinesContextInterface, r as __ΩPowerlinesContextInterface, t as PowerlinesContext } from "../../context-
|
|
1
|
+
import "../../context-DXy7MPku.mjs";
|
|
2
|
+
import { a as usePowerlinesContext, i as usePowerlines, n as PowerlinesContextInterface, r as __ΩPowerlinesContextInterface, t as PowerlinesContext } from "../../context-BApo1nhP.mjs";
|
|
3
3
|
export { PowerlinesContext, PowerlinesContextInterface, __ΩPowerlinesContextInterface, usePowerlines, usePowerlinesContext };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "../../context-
|
|
2
|
-
import "../../components-
|
|
3
|
-
import { a as usePowerlinesContext, i as usePowerlines, n as PowerlinesContextInterface, r as __ΩPowerlinesContextInterface, t as PowerlinesContext } from "../../context-
|
|
4
|
-
import { a as ReflectionPropertyContext, c as useReflectionMethod, i as ReflectionParameterContext, l as useReflectionParameter, n as ReflectionClassContextInterface, o as __ΩReflectionClassContextInterface, r as ReflectionMethodContext, s as useReflectionClass, t as ReflectionClassContext, u as useReflectionProperty } from "../../reflection-
|
|
1
|
+
import "../../context-DXy7MPku.mjs";
|
|
2
|
+
import "../../components-ixU_ICbr.mjs";
|
|
3
|
+
import { a as usePowerlinesContext, i as usePowerlines, n as PowerlinesContextInterface, r as __ΩPowerlinesContextInterface, t as PowerlinesContext } from "../../context-BApo1nhP.mjs";
|
|
4
|
+
import { a as ReflectionPropertyContext, c as useReflectionMethod, i as ReflectionParameterContext, l as useReflectionParameter, n as ReflectionClassContextInterface, o as __ΩReflectionClassContextInterface, r as ReflectionMethodContext, s as useReflectionClass, t as ReflectionClassContext, u as useReflectionProperty } from "../../reflection-DLJST1Z7.mjs";
|
|
5
5
|
import "../../index-BINnViIh.mjs";
|
|
6
6
|
export { PowerlinesContext, PowerlinesContextInterface, ReflectionClassContext, ReflectionClassContextInterface, ReflectionMethodContext, ReflectionParameterContext, ReflectionPropertyContext, __ΩPowerlinesContextInterface, __ΩReflectionClassContextInterface, usePowerlines, usePowerlinesContext, useReflectionClass, useReflectionMethod, useReflectionParameter, useReflectionProperty };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../context-
|
|
2
|
-
import "../../components-
|
|
3
|
-
import { a as ReflectionPropertyContext, c as useReflectionMethod, i as ReflectionParameterContext, l as useReflectionParameter, n as ReflectionClassContextInterface, o as __ΩReflectionClassContextInterface, r as ReflectionMethodContext, s as useReflectionClass, t as ReflectionClassContext, u as useReflectionProperty } from "../../reflection-
|
|
1
|
+
import "../../context-DXy7MPku.mjs";
|
|
2
|
+
import "../../components-ixU_ICbr.mjs";
|
|
3
|
+
import { a as ReflectionPropertyContext, c as useReflectionMethod, i as ReflectionParameterContext, l as useReflectionParameter, n as ReflectionClassContextInterface, o as __ΩReflectionClassContextInterface, r as ReflectionMethodContext, s as useReflectionClass, t as ReflectionClassContext, u as useReflectionProperty } from "../../reflection-DLJST1Z7.mjs";
|
|
4
4
|
export { ReflectionClassContext, ReflectionClassContextInterface, ReflectionMethodContext, ReflectionParameterContext, ReflectionPropertyContext, __ΩReflectionClassContextInterface, useReflectionClass, useReflectionMethod, useReflectionParameter, useReflectionProperty };
|
package/dist/core/index.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
const require_context = require('../context-BIduC1bB.cjs');
|
|
2
|
-
const require_single_line_comment = require('../single-line-comment-
|
|
3
|
-
const require_source_file = require('../source-file-
|
|
2
|
+
const require_single_line_comment = require('../single-line-comment-DvU69OGj.cjs');
|
|
3
|
+
const require_source_file = require('../source-file-DK_nFwAK.cjs');
|
|
4
4
|
const require_reflection = require('../reflection-BSbFFYZO.cjs');
|
|
5
|
-
const require_output = require('../output-
|
|
5
|
+
const require_output = require('../output-BlHZS50Y.cjs');
|
|
6
6
|
require('../components-Cj5gaIV0.cjs');
|
|
7
7
|
require('../contexts-uXFW3CIa.cjs');
|
|
8
8
|
require('../core-DzEmU6tL.cjs');
|
package/dist/core/index.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "../context-BsDdxy5g.cjs";
|
|
2
|
-
import { n as OutputProps, r as __ΩOutputProps, t as Output } from "../output-
|
|
2
|
+
import { n as OutputProps, r as __ΩOutputProps, t as Output } from "../output-BmJnrELo.cjs";
|
|
3
3
|
import "../components-C8Qs2PB0.cjs";
|
|
4
|
-
import { a as __ΩSingleLineCommentVariant, i as __ΩSingleLineCommentProps, n as SingleLineCommentProps, r as SingleLineCommentVariant, t as SingleLineComment } from "../single-line-comment-
|
|
5
|
-
import { n as SourceFileProps, r as __ΩSourceFileProps, t as SourceFile } from "../source-file-
|
|
4
|
+
import { a as __ΩSingleLineCommentVariant, i as __ΩSingleLineCommentProps, n as SingleLineCommentProps, r as SingleLineCommentVariant, t as SingleLineComment } from "../single-line-comment-CYYKKXc2.cjs";
|
|
5
|
+
import { n as SourceFileProps, r as __ΩSourceFileProps, t as SourceFile } from "../source-file-BrxGhMOh.cjs";
|
|
6
6
|
import "../index-DdxxIAKU.cjs";
|
|
7
7
|
import { a as usePowerlinesContext, i as usePowerlines, n as PowerlinesContextInterface, r as __ΩPowerlinesContextInterface, t as PowerlinesContext } from "../context-BDGjT3c-.cjs";
|
|
8
8
|
import { a as ReflectionPropertyContext, c as useReflectionMethod, i as ReflectionParameterContext, l as useReflectionParameter, n as ReflectionClassContextInterface, o as __ΩReflectionClassContextInterface, r as ReflectionMethodContext, s as useReflectionClass, t as ReflectionClassContext, u as useReflectionProperty } from "../reflection-CL_Lrq2o.cjs";
|
package/dist/core/index.d.mts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import "../context-
|
|
2
|
-
import { n as OutputProps, r as __ΩOutputProps, t as Output } from "../output-
|
|
3
|
-
import "../components-
|
|
4
|
-
import { a as __ΩSingleLineCommentVariant, i as __ΩSingleLineCommentProps, n as SingleLineCommentProps, r as SingleLineCommentVariant, t as SingleLineComment } from "../single-line-comment-
|
|
5
|
-
import { n as SourceFileProps, r as __ΩSourceFileProps, t as SourceFile } from "../source-file-
|
|
1
|
+
import "../context-DXy7MPku.mjs";
|
|
2
|
+
import { n as OutputProps, r as __ΩOutputProps, t as Output } from "../output-BKZklKl1.mjs";
|
|
3
|
+
import "../components-ixU_ICbr.mjs";
|
|
4
|
+
import { a as __ΩSingleLineCommentVariant, i as __ΩSingleLineCommentProps, n as SingleLineCommentProps, r as SingleLineCommentVariant, t as SingleLineComment } from "../single-line-comment-DGby6ABI.mjs";
|
|
5
|
+
import { n as SourceFileProps, r as __ΩSourceFileProps, t as SourceFile } from "../source-file-B2MkzzGR.mjs";
|
|
6
6
|
import "../index-DBGd4WeR.mjs";
|
|
7
|
-
import { a as usePowerlinesContext, i as usePowerlines, n as PowerlinesContextInterface, r as __ΩPowerlinesContextInterface, t as PowerlinesContext } from "../context-
|
|
8
|
-
import { a as ReflectionPropertyContext, c as useReflectionMethod, i as ReflectionParameterContext, l as useReflectionParameter, n as ReflectionClassContextInterface, o as __ΩReflectionClassContextInterface, r as ReflectionMethodContext, s as useReflectionClass, t as ReflectionClassContext, u as useReflectionProperty } from "../reflection-
|
|
7
|
+
import { a as usePowerlinesContext, i as usePowerlines, n as PowerlinesContextInterface, r as __ΩPowerlinesContextInterface, t as PowerlinesContext } from "../context-BApo1nhP.mjs";
|
|
8
|
+
import { a as ReflectionPropertyContext, c as useReflectionMethod, i as ReflectionParameterContext, l as useReflectionParameter, n as ReflectionClassContextInterface, o as __ΩReflectionClassContextInterface, r as ReflectionMethodContext, s as useReflectionClass, t as ReflectionClassContext, u as useReflectionProperty } from "../reflection-DLJST1Z7.mjs";
|
|
9
9
|
import "../index-BINnViIh.mjs";
|
|
10
10
|
import "../index-lIMqGGJz.mjs";
|
|
11
11
|
export { Output, OutputProps, PowerlinesContext, PowerlinesContextInterface, ReflectionClassContext, ReflectionClassContextInterface, ReflectionMethodContext, ReflectionParameterContext, ReflectionPropertyContext, SingleLineComment, SingleLineCommentProps, SingleLineCommentVariant, SourceFile, SourceFileProps, __ΩOutputProps, __ΩPowerlinesContextInterface, __ΩReflectionClassContextInterface, __ΩSingleLineCommentProps, __ΩSingleLineCommentVariant, __ΩSourceFileProps, usePowerlines, usePowerlinesContext, useReflectionClass, useReflectionMethod, useReflectionParameter, useReflectionProperty };
|
package/dist/core/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as usePowerlines, r as usePowerlinesContext, t as PowerlinesContext } from "../context-Cx38_mgI.mjs";
|
|
2
|
-
import { t as SingleLineComment } from "../single-line-comment-
|
|
3
|
-
import { t as SourceFile } from "../source-file-
|
|
2
|
+
import { t as SingleLineComment } from "../single-line-comment-Biwa95Py.mjs";
|
|
3
|
+
import { t as SourceFile } from "../source-file-Dna2E0ro.mjs";
|
|
4
4
|
import { a as useReflectionClass, c as useReflectionProperty, i as ReflectionPropertyContext, n as ReflectionMethodContext, o as useReflectionMethod, r as ReflectionParameterContext, s as useReflectionParameter, t as ReflectionClassContext } from "../reflection-CBMQ1FQo.mjs";
|
|
5
|
-
import { t as Output } from "../output-
|
|
5
|
+
import { t as Output } from "../output-CNnPjQlW.mjs";
|
|
6
6
|
import "../components-HMVhsFQl.mjs";
|
|
7
7
|
import "../contexts-XuEdvZdE.mjs";
|
|
8
8
|
import "../core-B57eQAue.mjs";
|
package/dist/{dynamic-import-statement-C13MnQgp.d.mts → dynamic-import-statement-BhY2a13r.d.cts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _alloy_js_core7 from "@alloy-js/core";
|
|
2
2
|
import { VarDeclarationProps } from "@alloy-js/typescript";
|
|
3
3
|
|
|
4
4
|
//#region src/typescript/components/dynamic-import-statement.d.ts
|
|
@@ -26,7 +26,7 @@ interface DynamicImportStatementProps extends Omit<VarDeclarationProps, "initial
|
|
|
26
26
|
* @param props - The properties for the dynamic import statement.
|
|
27
27
|
* @returns A `VarDeclaration` component representing the dynamic import statement.
|
|
28
28
|
*/
|
|
29
|
-
declare function DynamicImportStatement(props: DynamicImportStatementProps):
|
|
29
|
+
declare function DynamicImportStatement(props: DynamicImportStatementProps): _alloy_js_core7.Children;
|
|
30
30
|
declare type __ΩDynamicImportStatementProps = any[];
|
|
31
31
|
//#endregion
|
|
32
32
|
export { DynamicImportStatementProps as n, __ΩDynamicImportStatementProps as r, DynamicImportStatement as t };
|
package/dist/{dynamic-import-statement-DoTHSt57.mjs → dynamic-import-statement-CWK5I_yt.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { createComponent, mergeProps } from "@alloy-js/core/jsx-runtime";
|
|
1
2
|
import { code } from "@alloy-js/core";
|
|
2
|
-
import { jsx } from "@alloy-js/core/jsx-runtime";
|
|
3
3
|
import { VarDeclaration } from "@alloy-js/typescript";
|
|
4
4
|
|
|
5
5
|
//#region src/typescript/components/dynamic-import-statement.tsx
|
|
@@ -17,11 +17,7 @@ import { VarDeclaration } from "@alloy-js/typescript";
|
|
|
17
17
|
*/
|
|
18
18
|
function DynamicImportStatement(props) {
|
|
19
19
|
const { importPath, exportName = "default", const: isConst = true, ...rest } = props;
|
|
20
|
-
return
|
|
21
|
-
const: isConst,
|
|
22
|
-
...rest,
|
|
23
|
-
initializer: code`await import("${importPath}").then(m => m.${exportName});`
|
|
24
|
-
});
|
|
20
|
+
return createComponent(VarDeclaration, mergeProps({ "const": isConst }, rest, { initializer: code`await import("${importPath}").then(m => m.${exportName});` }));
|
|
25
21
|
}
|
|
26
22
|
|
|
27
23
|
//#endregion
|
package/dist/{dynamic-import-statement-Dk3bSR8x.d.cts → dynamic-import-statement-D6f1SnIf.d.mts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _alloy_js_core7 from "@alloy-js/core";
|
|
2
2
|
import { VarDeclarationProps } from "@alloy-js/typescript";
|
|
3
3
|
|
|
4
4
|
//#region src/typescript/components/dynamic-import-statement.d.ts
|
|
@@ -26,7 +26,7 @@ interface DynamicImportStatementProps extends Omit<VarDeclarationProps, "initial
|
|
|
26
26
|
* @param props - The properties for the dynamic import statement.
|
|
27
27
|
* @returns A `VarDeclaration` component representing the dynamic import statement.
|
|
28
28
|
*/
|
|
29
|
-
declare function DynamicImportStatement(props: DynamicImportStatementProps):
|
|
29
|
+
declare function DynamicImportStatement(props: DynamicImportStatementProps): _alloy_js_core7.Children;
|
|
30
30
|
declare type __ΩDynamicImportStatementProps = any[];
|
|
31
31
|
//#endregion
|
|
32
32
|
export { DynamicImportStatementProps as n, __ΩDynamicImportStatementProps as r, DynamicImportStatement as t };
|
package/dist/{dynamic-import-statement-JVLyMPXr.cjs → dynamic-import-statement-DVGp5Cvq.cjs}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-CbDLau6x.cjs');
|
|
2
|
-
let __alloy_js_core = require("@alloy-js/core");
|
|
3
2
|
let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
|
|
3
|
+
let __alloy_js_core = require("@alloy-js/core");
|
|
4
4
|
let __alloy_js_typescript = require("@alloy-js/typescript");
|
|
5
5
|
|
|
6
6
|
//#region src/typescript/components/dynamic-import-statement.tsx
|
|
@@ -18,11 +18,7 @@ let __alloy_js_typescript = require("@alloy-js/typescript");
|
|
|
18
18
|
*/
|
|
19
19
|
function DynamicImportStatement(props) {
|
|
20
20
|
const { importPath, exportName = "default", const: isConst = true, ...rest } = props;
|
|
21
|
-
return
|
|
22
|
-
const: isConst,
|
|
23
|
-
...rest,
|
|
24
|
-
initializer: __alloy_js_core.code`await import("${importPath}").then(m => m.${exportName});`
|
|
25
|
-
});
|
|
21
|
+
return (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_typescript.VarDeclaration, (0, __alloy_js_core_jsx_runtime.mergeProps)({ "const": isConst }, rest, { initializer: __alloy_js_core.code`await import("${importPath}").then(m => m.${exportName});` }));
|
|
26
22
|
}
|
|
27
23
|
|
|
28
24
|
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { o as ResolvedEntryTypeDefinition } from "./context-
|
|
2
|
-
import { o as TypescriptFileProps } from "./typescript-file-
|
|
3
|
-
import * as
|
|
1
|
+
import { o as ResolvedEntryTypeDefinition } from "./context-DXy7MPku.mjs";
|
|
2
|
+
import { o as TypescriptFileProps } from "./typescript-file-CFNjXsdz.mjs";
|
|
3
|
+
import * as _alloy_js_core6 from "@alloy-js/core";
|
|
4
4
|
|
|
5
5
|
//#region src/typescript/components/entry-file.d.ts
|
|
6
6
|
type EntryFileProps = TypescriptFileProps & {
|
|
@@ -21,7 +21,7 @@ type EntryFileProps = TypescriptFileProps & {
|
|
|
21
21
|
* @param props - The properties for the source file.
|
|
22
22
|
* @returns The rendered source file component.
|
|
23
23
|
*/
|
|
24
|
-
declare function EntryFile(props: EntryFileProps):
|
|
24
|
+
declare function EntryFile(props: EntryFileProps): _alloy_js_core6.Children;
|
|
25
25
|
declare type __ΩEntryFileProps = any[];
|
|
26
26
|
//#endregion
|
|
27
27
|
export { EntryFileProps as n, __ΩEntryFileProps as r, EntryFile as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { o as ResolvedEntryTypeDefinition } from "./context-BsDdxy5g.cjs";
|
|
2
|
-
import { o as TypescriptFileProps } from "./typescript-file-
|
|
3
|
-
import * as
|
|
2
|
+
import { o as TypescriptFileProps } from "./typescript-file-BK8Ohw9s.cjs";
|
|
3
|
+
import * as _alloy_js_core8 from "@alloy-js/core";
|
|
4
4
|
|
|
5
5
|
//#region src/typescript/components/entry-file.d.ts
|
|
6
6
|
type EntryFileProps = TypescriptFileProps & {
|
|
@@ -21,7 +21,7 @@ type EntryFileProps = TypescriptFileProps & {
|
|
|
21
21
|
* @param props - The properties for the source file.
|
|
22
22
|
* @returns The rendered source file component.
|
|
23
23
|
*/
|
|
24
|
-
declare function EntryFile(props: EntryFileProps):
|
|
24
|
+
declare function EntryFile(props: EntryFileProps): _alloy_js_core8.Children;
|
|
25
25
|
declare type __ΩEntryFileProps = any[];
|
|
26
26
|
//#endregion
|
|
27
27
|
export { EntryFileProps as n, __ΩEntryFileProps as r, EntryFile as t };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-CbDLau6x.cjs');
|
|
2
2
|
const require_context = require('./context-BIduC1bB.cjs');
|
|
3
|
-
const require_typescript_file = require('./typescript-file-
|
|
4
|
-
let __alloy_js_core = require("@alloy-js/core");
|
|
3
|
+
const require_typescript_file = require('./typescript-file-HsAUWnQY.cjs');
|
|
5
4
|
let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
|
|
5
|
+
let __alloy_js_core = require("@alloy-js/core");
|
|
6
6
|
let defu = require("defu");
|
|
7
7
|
defu = require_chunk.__toESM(defu);
|
|
8
8
|
let __stryke_path_join_paths = require("@stryke/path/join-paths");
|
|
@@ -24,12 +24,15 @@ function EntryFile(props) {
|
|
|
24
24
|
]);
|
|
25
25
|
const context = require_context.usePowerlines();
|
|
26
26
|
const fullPath = (0, __alloy_js_core.computed)(() => (0, __stryke_path_join_paths.joinPaths)(context?.entryPath || "./", `${path}${tsx ? ".tsx" : ".ts"}`));
|
|
27
|
-
return
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
27
|
+
return (0, __alloy_js_core_jsx_runtime.createComponent)(require_typescript_file.TypescriptFile, (0, __alloy_js_core_jsx_runtime.mergeProps)(rest, {
|
|
28
|
+
get path() {
|
|
29
|
+
return fullPath.value;
|
|
30
|
+
},
|
|
31
|
+
get meta() {
|
|
32
|
+
return (0, defu.default)(meta ?? {}, { entry: { typeDefinition } });
|
|
33
|
+
},
|
|
31
34
|
children
|
|
32
|
-
});
|
|
35
|
+
}));
|
|
33
36
|
}
|
|
34
37
|
|
|
35
38
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as usePowerlines } from "./context-Cx38_mgI.mjs";
|
|
2
|
-
import { t as TypescriptFile } from "./typescript-file-
|
|
2
|
+
import { t as TypescriptFile } from "./typescript-file-CLL-ELi0.mjs";
|
|
3
|
+
import { createComponent, mergeProps } from "@alloy-js/core/jsx-runtime";
|
|
3
4
|
import { computed, splitProps } from "@alloy-js/core";
|
|
4
|
-
import { jsx } from "@alloy-js/core/jsx-runtime";
|
|
5
5
|
import defu from "defu";
|
|
6
6
|
import { joinPaths } from "@stryke/path/join-paths";
|
|
7
7
|
|
|
@@ -22,12 +22,15 @@ function EntryFile(props) {
|
|
|
22
22
|
]);
|
|
23
23
|
const context = usePowerlines();
|
|
24
24
|
const fullPath = computed(() => joinPaths(context?.entryPath || "./", `${path}${tsx ? ".tsx" : ".ts"}`));
|
|
25
|
-
return
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
25
|
+
return createComponent(TypescriptFile, mergeProps(rest, {
|
|
26
|
+
get path() {
|
|
27
|
+
return fullPath.value;
|
|
28
|
+
},
|
|
29
|
+
get meta() {
|
|
30
|
+
return defu(meta ?? {}, { entry: { typeDefinition } });
|
|
31
|
+
},
|
|
29
32
|
children
|
|
30
|
-
});
|
|
33
|
+
}));
|
|
31
34
|
}
|
|
32
35
|
|
|
33
36
|
//#endregion
|
package/dist/helpers/capnp.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "../context-
|
|
2
|
-
import { C as stringifyCapnpDefaultValue, S as isVoidType, _ as generateCapnpSchema, a as StdioOptions, b as getCapnpUnionTypes, c as __ΩIOType, d as generateCapnp, f as generateCapnpEnumSchema, g as generateCapnpPrimitive, h as generateCapnpMethodSchema, i as LARGE_BUFFER, l as __ΩStdioOptions, m as generateCapnpInterface, n as GenerateCapnpStructOptions, o as __ΩGenerateCapnpOptions, p as generateCapnpId, r as IOType, s as __ΩGenerateCapnpStructOptions, t as GenerateCapnpOptions, u as compile, v as generateCapnpStruct, w as stringifyCapnpValue, x as isCapnpStringUnion, y as getCapnpEnumTypes } from "../capnp-
|
|
1
|
+
import "../context-DXy7MPku.mjs";
|
|
2
|
+
import { C as stringifyCapnpDefaultValue, S as isVoidType, _ as generateCapnpSchema, a as StdioOptions, b as getCapnpUnionTypes, c as __ΩIOType, d as generateCapnp, f as generateCapnpEnumSchema, g as generateCapnpPrimitive, h as generateCapnpMethodSchema, i as LARGE_BUFFER, l as __ΩStdioOptions, m as generateCapnpInterface, n as GenerateCapnpStructOptions, o as __ΩGenerateCapnpOptions, p as generateCapnpId, r as IOType, s as __ΩGenerateCapnpStructOptions, t as GenerateCapnpOptions, u as compile, v as generateCapnpStruct, w as stringifyCapnpValue, x as isCapnpStringUnion, y as getCapnpEnumTypes } from "../capnp-DkidugOV.mjs";
|
|
3
3
|
export { GenerateCapnpOptions, GenerateCapnpStructOptions, IOType, LARGE_BUFFER, StdioOptions, __ΩGenerateCapnpOptions, __ΩGenerateCapnpStructOptions, __ΩIOType, __ΩStdioOptions, compile, generateCapnp, generateCapnpEnumSchema, generateCapnpId, generateCapnpInterface, generateCapnpMethodSchema, generateCapnpPrimitive, generateCapnpSchema, generateCapnpStruct, getCapnpEnumTypes, getCapnpUnionTypes, isCapnpStringUnion, isVoidType, stringifyCapnpDefaultValue, stringifyCapnpValue };
|