@powerlines/plugin-env 0.15.122 → 0.15.124
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/babel/plugin.cjs +11 -11
- package/dist/babel/plugin.d.cts +2 -2
- package/dist/babel/plugin.d.mts +2 -3
- package/dist/babel/plugin.mjs +5 -5
- package/dist/components/docs.cjs +6 -6
- package/dist/components/docs.d.cts +1 -1
- package/dist/components/docs.d.mts +1 -1
- package/dist/components/docs.mjs +3 -3
- package/dist/components/env.cjs +40 -40
- package/dist/components/env.d.cts +2 -2
- package/dist/components/env.d.mts +2 -2
- package/dist/components/env.mjs +11 -11
- package/dist/helpers/automd-generator.cjs +2 -2
- package/dist/helpers/automd-generator.d.cts +1 -1
- package/dist/helpers/automd-generator.d.mts +1 -1
- package/dist/helpers/automd-generator.mjs +1 -1
- package/dist/helpers/load.cjs +7 -7
- package/dist/helpers/load.mjs +8 -8
- package/dist/helpers/persistence.cjs +23 -23
- package/dist/helpers/persistence.d.cts +1 -1
- package/dist/helpers/persistence.d.mts +1 -1
- package/dist/helpers/persistence.mjs +5 -5
- package/dist/helpers/reflect.cjs +5 -5
- package/dist/helpers/reflect.mjs +1 -1
- package/dist/helpers/source-file-env.cjs +1 -1
- package/dist/helpers/source-file-env.mjs +1 -1
- package/dist/index.cjs +13 -10
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +12 -12
- package/dist/types/plugin.cjs +19 -18
- package/dist/types/plugin.d.cts +5 -6
- package/dist/types/plugin.d.mts +4 -6
- package/dist/types/plugin.mjs +4 -4
- package/package.json +7 -7
- package/dist/deepkit/schemas/reflection.cjs +0 -5426
- package/dist/deepkit/schemas/reflection.d.cts +0 -1560
- package/dist/deepkit/schemas/reflection.d.mts +0 -1560
- package/dist/deepkit/schemas/reflection.mjs +0 -5423
- package/dist/deepkit/schemas/reflection2.cjs +0 -4112
- package/dist/deepkit/schemas/reflection2.mjs +0 -4110
- package/dist/deepkit/src/capnp.cjs +0 -1692
- package/dist/deepkit/src/capnp.mjs +0 -1690
- package/dist/deepkit/src/esbuild-plugin.cjs +0 -99
- package/dist/deepkit/src/esbuild-plugin.mjs +0 -98
- package/dist/deepkit/src/reflect-type.cjs +0 -40
- package/dist/deepkit/src/reflect-type.mjs +0 -38
- package/dist/deepkit/src/resolve-reflections.cjs +0 -23
- package/dist/deepkit/src/resolve-reflections.mjs +0 -22
- package/dist/deepkit/src/transformer.cjs +0 -92
- package/dist/deepkit/src/transformer.mjs +0 -89
- package/dist/deepkit/src/transpile.cjs +0 -39
- package/dist/deepkit/src/transpile.mjs +0 -37
- package/dist/deepkit/src/types.cjs +0 -22
- package/dist/deepkit/src/types.d.cts +0 -10
- package/dist/deepkit/src/types.d.mts +0 -10
- package/dist/deepkit/src/types.mjs +0 -21
- package/dist/deepkit/src/utilities.cjs +0 -184
- package/dist/deepkit/src/utilities.mjs +0 -183
- package/dist/plugin-alloy/src/core/components/output.cjs +0 -43
- package/dist/plugin-alloy/src/core/components/output.mjs +0 -42
- package/dist/plugin-alloy/src/core/components/single-line-comment.cjs +0 -22
- package/dist/plugin-alloy/src/core/components/single-line-comment.mjs +0 -21
- package/dist/plugin-alloy/src/core/components/source-file.cjs +0 -64
- package/dist/plugin-alloy/src/core/components/source-file.d.cts +0 -23
- package/dist/plugin-alloy/src/core/components/source-file.d.mts +0 -23
- package/dist/plugin-alloy/src/core/components/source-file.mjs +0 -62
- package/dist/plugin-alloy/src/core/contexts/context.cjs +0 -134
- package/dist/plugin-alloy/src/core/contexts/context.mjs +0 -126
- package/dist/plugin-alloy/src/core/contexts/index.cjs +0 -2
- package/dist/plugin-alloy/src/core/contexts/index.mjs +0 -4
- package/dist/plugin-alloy/src/core/contexts/reflection.cjs +0 -110
- package/dist/plugin-alloy/src/core/contexts/reflection.mjs +0 -101
- package/dist/plugin-alloy/src/helpers/refkey.cjs +0 -23
- package/dist/plugin-alloy/src/helpers/refkey.mjs +0 -22
- package/dist/plugin-alloy/src/index.cjs +0 -105
- package/dist/plugin-alloy/src/index.mjs +0 -103
- package/dist/plugin-alloy/src/markdown/components/markdown-file.cjs +0 -115
- package/dist/plugin-alloy/src/markdown/components/markdown-file.d.cts +0 -8
- package/dist/plugin-alloy/src/markdown/components/markdown-file.d.mts +0 -8
- package/dist/plugin-alloy/src/markdown/components/markdown-file.mjs +0 -114
- package/dist/plugin-alloy/src/markdown/components/markdown-table.cjs +0 -39
- package/dist/plugin-alloy/src/markdown/components/markdown-table.mjs +0 -38
- package/dist/plugin-alloy/src/markdown/contexts/markdown-table.cjs +0 -72
- package/dist/plugin-alloy/src/markdown/contexts/markdown-table.mjs +0 -71
- package/dist/plugin-alloy/src/types/components.cjs +0 -22
- package/dist/plugin-alloy/src/types/components.d.cts +0 -20
- package/dist/plugin-alloy/src/types/components.d.mts +0 -21
- package/dist/plugin-alloy/src/types/components.mjs +0 -21
- package/dist/plugin-alloy/src/types/index.d.cts +0 -2
- package/dist/plugin-alloy/src/types/index.d.mts +0 -2
- package/dist/plugin-alloy/src/types/plugin.cjs +0 -53
- package/dist/plugin-alloy/src/types/plugin.d.cts +0 -36
- package/dist/plugin-alloy/src/types/plugin.d.mts +0 -36
- package/dist/plugin-alloy/src/types/plugin.mjs +0 -50
- package/dist/plugin-alloy/src/typescript/components/builtin-file.cjs +0 -62
- package/dist/plugin-alloy/src/typescript/components/builtin-file.d.cts +0 -26
- package/dist/plugin-alloy/src/typescript/components/builtin-file.d.mts +0 -26
- package/dist/plugin-alloy/src/typescript/components/builtin-file.mjs +0 -61
- package/dist/plugin-alloy/src/typescript/components/tsdoc-reflection.cjs +0 -131
- package/dist/plugin-alloy/src/typescript/components/tsdoc-reflection.mjs +0 -129
- package/dist/plugin-alloy/src/typescript/components/tsdoc.cjs +0 -451
- package/dist/plugin-alloy/src/typescript/components/tsdoc.d.cts +0 -37
- package/dist/plugin-alloy/src/typescript/components/tsdoc.d.mts +0 -37
- package/dist/plugin-alloy/src/typescript/components/tsdoc.mjs +0 -442
- package/dist/plugin-alloy/src/typescript/components/typescript-file.cjs +0 -216
- package/dist/plugin-alloy/src/typescript/components/typescript-file.d.cts +0 -16
- package/dist/plugin-alloy/src/typescript/components/typescript-file.d.mts +0 -16
- package/dist/plugin-alloy/src/typescript/components/typescript-file.mjs +0 -213
- package/dist/plugin-alloy/src/typescript/components/typescript-interface.cjs +0 -72
- package/dist/plugin-alloy/src/typescript/components/typescript-interface.d.cts +0 -12
- package/dist/plugin-alloy/src/typescript/components/typescript-interface.d.mts +0 -12
- package/dist/plugin-alloy/src/typescript/components/typescript-interface.mjs +0 -71
- package/dist/plugin-alloy/src/typescript/components/typescript-object.cjs +0 -124
- package/dist/plugin-alloy/src/typescript/components/typescript-object.mjs +0 -123
- package/dist/plugin-automd/src/index.cjs +0 -127
- package/dist/plugin-automd/src/index.mjs +0 -124
- package/dist/plugin-automd/src/types/plugin.cjs +0 -47
- package/dist/plugin-automd/src/types/plugin.d.cts +0 -38
- package/dist/plugin-automd/src/types/plugin.d.mts +0 -40
- package/dist/plugin-automd/src/types/plugin.mjs +0 -47
- package/dist/plugin-automd/src/types/toc.cjs +0 -26
- package/dist/plugin-automd/src/types/toc.d.cts +0 -33
- package/dist/plugin-automd/src/types/toc.d.mts +0 -33
- package/dist/plugin-automd/src/types/toc.mjs +0 -25
- package/dist/plugin-babel/src/helpers/ast-utils.cjs +0 -74
- package/dist/plugin-babel/src/helpers/ast-utils.mjs +0 -70
- package/dist/plugin-babel/src/helpers/create-plugin.cjs +0 -71
- package/dist/plugin-babel/src/helpers/create-plugin.mjs +0 -69
- package/dist/plugin-babel/src/helpers/filters.cjs +0 -158
- package/dist/plugin-babel/src/helpers/filters.mjs +0 -154
- package/dist/plugin-babel/src/helpers/index.cjs +0 -5
- package/dist/plugin-babel/src/helpers/index.mjs +0 -7
- package/dist/plugin-babel/src/helpers/module-helpers.cjs +0 -200
- package/dist/plugin-babel/src/helpers/module-helpers.mjs +0 -192
- package/dist/plugin-babel/src/helpers/options.cjs +0 -73
- package/dist/plugin-babel/src/helpers/options.mjs +0 -70
- package/dist/plugin-babel/src/index.cjs +0 -125
- package/dist/plugin-babel/src/index.mjs +0 -123
- package/dist/plugin-babel/src/types/index.d.mts +0 -1
- package/dist/plugin-babel/src/types/plugin.cjs +0 -42
- package/dist/plugin-babel/src/types/plugin.d.cts +0 -15
- package/dist/plugin-babel/src/types/plugin.d.mts +0 -15
- package/dist/plugin-babel/src/types/plugin.mjs +0 -39
- package/dist/powerlines/src/internal/helpers/hooks.cjs +0 -136
- package/dist/powerlines/src/internal/helpers/hooks.d.cts +0 -47
- package/dist/powerlines/src/internal/helpers/hooks.d.mts +0 -49
- package/dist/powerlines/src/internal/helpers/hooks.mjs +0 -134
- package/dist/powerlines/src/lib/build/esbuild.cjs +0 -142
- package/dist/powerlines/src/lib/build/esbuild.mjs +0 -140
- package/dist/powerlines/src/lib/constants/environments.cjs +0 -6
- package/dist/powerlines/src/lib/constants/environments.mjs +0 -5
- package/dist/powerlines/src/lib/entry.cjs +0 -195
- package/dist/powerlines/src/lib/entry.mjs +0 -194
- package/dist/powerlines/src/lib/logger.cjs +0 -108
- package/dist/powerlines/src/lib/logger.mjs +0 -106
- package/dist/powerlines/src/lib/unplugin/helpers.cjs +0 -41
- package/dist/powerlines/src/lib/unplugin/helpers.mjs +0 -40
- package/dist/powerlines/src/lib/unplugin/module-resolution.cjs +0 -98
- package/dist/powerlines/src/lib/unplugin/module-resolution.mjs +0 -97
- package/dist/powerlines/src/lib/unplugin/plugin.cjs +0 -139
- package/dist/powerlines/src/lib/unplugin/plugin.mjs +0 -138
- package/dist/powerlines/src/lib/utilities/bundle.cjs +0 -74
- package/dist/powerlines/src/lib/utilities/bundle.mjs +0 -72
- package/dist/powerlines/src/lib/utilities/resolve.cjs +0 -69
- package/dist/powerlines/src/lib/utilities/resolve.mjs +0 -68
- package/dist/powerlines/src/lib/utilities/source-file.cjs +0 -68
- package/dist/powerlines/src/lib/utilities/source-file.mjs +0 -66
- package/dist/powerlines/src/plugin-utils/paths.cjs +0 -46
- package/dist/powerlines/src/plugin-utils/paths.mjs +0 -45
- package/dist/powerlines/src/types/api.cjs +0 -62
- package/dist/powerlines/src/types/api.d.cts +0 -104
- package/dist/powerlines/src/types/api.d.mts +0 -104
- package/dist/powerlines/src/types/api.mjs +0 -62
- package/dist/powerlines/src/types/babel.cjs +0 -156
- package/dist/powerlines/src/types/babel.d.cts +0 -23
- package/dist/powerlines/src/types/babel.d.mts +0 -23
- package/dist/powerlines/src/types/babel.mjs +0 -147
- package/dist/powerlines/src/types/build.cjs +0 -127
- package/dist/powerlines/src/types/build.d.cts +0 -185
- package/dist/powerlines/src/types/build.d.mts +0 -185
- package/dist/powerlines/src/types/build.mjs +0 -121
- package/dist/powerlines/src/types/commands.cjs +0 -16
- package/dist/powerlines/src/types/commands.d.cts +0 -8
- package/dist/powerlines/src/types/commands.d.mts +0 -9
- package/dist/powerlines/src/types/commands.mjs +0 -15
- package/dist/powerlines/src/types/config.cjs +0 -420
- package/dist/powerlines/src/types/config.d.cts +0 -435
- package/dist/powerlines/src/types/config.d.mts +0 -436
- package/dist/powerlines/src/types/config.mjs +0 -397
- package/dist/powerlines/src/types/context.cjs +0 -388
- package/dist/powerlines/src/types/context.d.cts +0 -514
- package/dist/powerlines/src/types/context.d.mts +0 -514
- package/dist/powerlines/src/types/context.mjs +0 -371
- package/dist/powerlines/src/types/fs.cjs +0 -78
- package/dist/powerlines/src/types/fs.d.cts +0 -486
- package/dist/powerlines/src/types/fs.d.mts +0 -486
- package/dist/powerlines/src/types/fs.mjs +0 -75
- package/dist/powerlines/src/types/hooks.cjs +0 -71
- package/dist/powerlines/src/types/hooks.d.cts +0 -32
- package/dist/powerlines/src/types/hooks.d.mts +0 -32
- package/dist/powerlines/src/types/hooks.mjs +0 -68
- package/dist/powerlines/src/types/index.cjs +0 -11
- package/dist/powerlines/src/types/index.d.mts +0 -12
- package/dist/powerlines/src/types/index.mjs +0 -13
- package/dist/powerlines/src/types/plugin.cjs +0 -184
- package/dist/powerlines/src/types/plugin.d.cts +0 -205
- package/dist/powerlines/src/types/plugin.d.mts +0 -205
- package/dist/powerlines/src/types/plugin.mjs +0 -178
- package/dist/powerlines/src/types/resolved.cjs +0 -149
- package/dist/powerlines/src/types/resolved.d.cts +0 -94
- package/dist/powerlines/src/types/resolved.d.mts +0 -94
- package/dist/powerlines/src/types/resolved.mjs +0 -144
- package/dist/powerlines/src/types/tsconfig.d.cts +0 -69
- package/dist/powerlines/src/types/tsconfig.d.mts +0 -69
- package/dist/powerlines/src/types/unplugin.cjs +0 -64
- package/dist/powerlines/src/types/unplugin.d.cts +0 -22
- package/dist/powerlines/src/types/unplugin.d.mts +0 -23
- package/dist/powerlines/src/types/unplugin.mjs +0 -62
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
//#region ../plugin-alloy/src/types/components.ts
|
|
3
|
-
const __ΩPartial = [
|
|
4
|
-
"T",
|
|
5
|
-
"Partial",
|
|
6
|
-
"l+e#!e\"!fRb!Pde\"!gN#\"w\"y"
|
|
7
|
-
];
|
|
8
|
-
const __ΩReflectionOverrideInterface = [
|
|
9
|
-
"T",
|
|
10
|
-
"Children",
|
|
11
|
-
"name",
|
|
12
|
-
"type",
|
|
13
|
-
false,
|
|
14
|
-
"extends",
|
|
15
|
-
() => __ΩPartial,
|
|
16
|
-
"defaultValue",
|
|
17
|
-
"ReflectionOverrideInterface",
|
|
18
|
-
"b!PP&\"w\"J4#8P&\"w\"J4$8P&.%J4&8e\"!o'\"4(8Mw)y"
|
|
19
|
-
];
|
|
20
|
-
|
|
21
|
-
//#endregion
|
|
22
|
-
exports.__ΩReflectionOverrideInterface = __ΩReflectionOverrideInterface;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { Children } from "@alloy-js/core";
|
|
2
|
-
import "@alloy-js/typescript";
|
|
3
|
-
|
|
4
|
-
//#region ../plugin-alloy/src/types/components.d.ts
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* A type that represents the props of a component that can have children.
|
|
8
|
-
*/
|
|
9
|
-
interface ComponentProps {
|
|
10
|
-
children?: Children;
|
|
11
|
-
}
|
|
12
|
-
interface TypescriptFileImportItem {
|
|
13
|
-
name: string;
|
|
14
|
-
default?: boolean;
|
|
15
|
-
alias?: string;
|
|
16
|
-
type?: boolean;
|
|
17
|
-
}
|
|
18
|
-
type TypescriptFileImports = Record<string, null | string | Array<TypescriptFileImportItem | string>>;
|
|
19
|
-
//#endregion
|
|
20
|
-
export { ComponentProps, TypescriptFileImportItem, TypescriptFileImports };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import "../../../powerlines/src/types/resolved.mjs";
|
|
2
|
-
import { Children } from "@alloy-js/core";
|
|
3
|
-
import { SourceFileContext as SourceFileContext$1 } from "@alloy-js/typescript";
|
|
4
|
-
|
|
5
|
-
//#region ../plugin-alloy/src/types/components.d.ts
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* A type that represents the props of a component that can have children.
|
|
9
|
-
*/
|
|
10
|
-
interface ComponentProps {
|
|
11
|
-
children?: Children;
|
|
12
|
-
}
|
|
13
|
-
interface TypescriptFileImportItem {
|
|
14
|
-
name: string;
|
|
15
|
-
default?: boolean;
|
|
16
|
-
alias?: string;
|
|
17
|
-
type?: boolean;
|
|
18
|
-
}
|
|
19
|
-
type TypescriptFileImports = Record<string, null | string | Array<TypescriptFileImportItem | string>>;
|
|
20
|
-
//#endregion
|
|
21
|
-
export { ComponentProps, TypescriptFileImportItem, TypescriptFileImports };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
//#region ../plugin-alloy/src/types/components.ts
|
|
2
|
-
const __ΩPartial = [
|
|
3
|
-
"T",
|
|
4
|
-
"Partial",
|
|
5
|
-
"l+e#!e\"!fRb!Pde\"!gN#\"w\"y"
|
|
6
|
-
];
|
|
7
|
-
const __ΩReflectionOverrideInterface = [
|
|
8
|
-
"T",
|
|
9
|
-
"Children",
|
|
10
|
-
"name",
|
|
11
|
-
"type",
|
|
12
|
-
false,
|
|
13
|
-
"extends",
|
|
14
|
-
() => __ΩPartial,
|
|
15
|
-
"defaultValue",
|
|
16
|
-
"ReflectionOverrideInterface",
|
|
17
|
-
"b!PP&\"w\"J4#8P&\"w\"J4$8P&.%J4&8e\"!o'\"4(8Mw)y"
|
|
18
|
-
];
|
|
19
|
-
|
|
20
|
-
//#endregion
|
|
21
|
-
export { __ΩReflectionOverrideInterface };
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
const require_context = require('../../../powerlines/src/types/context.cjs');
|
|
2
|
-
const require_plugin = require('../../../plugin-babel/src/types/plugin.cjs');
|
|
3
|
-
|
|
4
|
-
//#region ../plugin-alloy/src/types/plugin.ts
|
|
5
|
-
const __ΩPartial = [
|
|
6
|
-
"T",
|
|
7
|
-
"Partial",
|
|
8
|
-
"l+e#!e\"!fRb!Pde\"!gN#\"w\"y"
|
|
9
|
-
];
|
|
10
|
-
const __ΩAlloyPluginOptions = [
|
|
11
|
-
() => __ΩPartial,
|
|
12
|
-
"PrintTreeOptions",
|
|
13
|
-
"typescript",
|
|
14
|
-
true,
|
|
15
|
-
"If true, the Alloy framework is used to generate Typescript output files.",
|
|
16
|
-
"json",
|
|
17
|
-
"If true, the Alloy framework is used to generate JSON output files.",
|
|
18
|
-
"markdown",
|
|
19
|
-
"If true, the Alloy framework is used to generate Markdown output files.",
|
|
20
|
-
"AlloyPluginOptions",
|
|
21
|
-
"P\"w\"o!\"P)4#8>$?%)4&8>$?')4(8>$?)MKw*y"
|
|
22
|
-
];
|
|
23
|
-
const __ΩAlloyPluginUserConfig = [
|
|
24
|
-
() => require_plugin.__ΩBabelPluginUserConfig,
|
|
25
|
-
() => __ΩAlloyPluginOptions,
|
|
26
|
-
"alloy",
|
|
27
|
-
"AlloyPluginUserConfig",
|
|
28
|
-
"Pn!Pn\"4#8MKw$y"
|
|
29
|
-
];
|
|
30
|
-
const __ΩAlloyPluginResolvedConfig = [
|
|
31
|
-
() => require_plugin.__ΩBabelPluginResolvedConfig,
|
|
32
|
-
() => __ΩAlloyPluginOptions,
|
|
33
|
-
"alloy",
|
|
34
|
-
"AlloyPluginResolvedConfig",
|
|
35
|
-
"Pn!Pn\"4#MKw$y"
|
|
36
|
-
];
|
|
37
|
-
const __ΩAlloyPluginContext = [
|
|
38
|
-
() => __ΩAlloyPluginResolvedConfig,
|
|
39
|
-
"TResolvedConfig",
|
|
40
|
-
() => require_context.__ΩPluginContext,
|
|
41
|
-
"Children",
|
|
42
|
-
"children",
|
|
43
|
-
"",
|
|
44
|
-
"render",
|
|
45
|
-
"AlloyPluginContext",
|
|
46
|
-
"n!c\"Pe\"!o#\"PP\"w$2%$`/&4'MKw(y"
|
|
47
|
-
];
|
|
48
|
-
|
|
49
|
-
//#endregion
|
|
50
|
-
exports.__ΩAlloyPluginContext = __ΩAlloyPluginContext;
|
|
51
|
-
exports.__ΩAlloyPluginOptions = __ΩAlloyPluginOptions;
|
|
52
|
-
exports.__ΩAlloyPluginResolvedConfig = __ΩAlloyPluginResolvedConfig;
|
|
53
|
-
exports.__ΩAlloyPluginUserConfig = __ΩAlloyPluginUserConfig;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { PluginContext } from "../../../powerlines/src/types/context.cjs";
|
|
2
|
-
import { BabelPluginResolvedConfig, BabelPluginUserConfig } from "../../../plugin-babel/src/types/plugin.cjs";
|
|
3
|
-
import { Children, PrintTreeOptions } from "@alloy-js/core";
|
|
4
|
-
|
|
5
|
-
//#region ../plugin-alloy/src/types/plugin.d.ts
|
|
6
|
-
type AlloyPluginOptions = Partial<PrintTreeOptions> & {
|
|
7
|
-
/**
|
|
8
|
-
* If true, the Alloy framework is used to generate Typescript output files.
|
|
9
|
-
*
|
|
10
|
-
* @defaultValue true
|
|
11
|
-
*/
|
|
12
|
-
typescript?: boolean;
|
|
13
|
-
/**
|
|
14
|
-
* If true, the Alloy framework is used to generate JSON output files.
|
|
15
|
-
*
|
|
16
|
-
* @defaultValue false
|
|
17
|
-
*/
|
|
18
|
-
json?: boolean;
|
|
19
|
-
/**
|
|
20
|
-
* If true, the Alloy framework is used to generate Markdown output files.
|
|
21
|
-
*
|
|
22
|
-
* @defaultValue false
|
|
23
|
-
*/
|
|
24
|
-
markdown?: boolean;
|
|
25
|
-
};
|
|
26
|
-
type AlloyPluginUserConfig = BabelPluginUserConfig & {
|
|
27
|
-
alloy?: AlloyPluginOptions;
|
|
28
|
-
};
|
|
29
|
-
type AlloyPluginResolvedConfig = BabelPluginResolvedConfig & {
|
|
30
|
-
alloy: AlloyPluginOptions;
|
|
31
|
-
};
|
|
32
|
-
type AlloyPluginContext<TResolvedConfig extends AlloyPluginResolvedConfig = AlloyPluginResolvedConfig> = PluginContext<TResolvedConfig> & {
|
|
33
|
-
render: (children: Children) => Promise<void>;
|
|
34
|
-
};
|
|
35
|
-
//#endregion
|
|
36
|
-
export { AlloyPluginContext, AlloyPluginOptions, AlloyPluginResolvedConfig, AlloyPluginUserConfig };
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { PluginContext } from "../../../powerlines/src/types/context.mjs";
|
|
2
|
-
import { BabelPluginResolvedConfig, BabelPluginUserConfig } from "../../../plugin-babel/src/types/plugin.mjs";
|
|
3
|
-
import { Children, PrintTreeOptions } from "@alloy-js/core";
|
|
4
|
-
|
|
5
|
-
//#region ../plugin-alloy/src/types/plugin.d.ts
|
|
6
|
-
type AlloyPluginOptions = Partial<PrintTreeOptions> & {
|
|
7
|
-
/**
|
|
8
|
-
* If true, the Alloy framework is used to generate Typescript output files.
|
|
9
|
-
*
|
|
10
|
-
* @defaultValue true
|
|
11
|
-
*/
|
|
12
|
-
typescript?: boolean;
|
|
13
|
-
/**
|
|
14
|
-
* If true, the Alloy framework is used to generate JSON output files.
|
|
15
|
-
*
|
|
16
|
-
* @defaultValue false
|
|
17
|
-
*/
|
|
18
|
-
json?: boolean;
|
|
19
|
-
/**
|
|
20
|
-
* If true, the Alloy framework is used to generate Markdown output files.
|
|
21
|
-
*
|
|
22
|
-
* @defaultValue false
|
|
23
|
-
*/
|
|
24
|
-
markdown?: boolean;
|
|
25
|
-
};
|
|
26
|
-
type AlloyPluginUserConfig = BabelPluginUserConfig & {
|
|
27
|
-
alloy?: AlloyPluginOptions;
|
|
28
|
-
};
|
|
29
|
-
type AlloyPluginResolvedConfig = BabelPluginResolvedConfig & {
|
|
30
|
-
alloy: AlloyPluginOptions;
|
|
31
|
-
};
|
|
32
|
-
type AlloyPluginContext<TResolvedConfig extends AlloyPluginResolvedConfig = AlloyPluginResolvedConfig> = PluginContext<TResolvedConfig> & {
|
|
33
|
-
render: (children: Children) => Promise<void>;
|
|
34
|
-
};
|
|
35
|
-
//#endregion
|
|
36
|
-
export { AlloyPluginContext, AlloyPluginOptions, AlloyPluginResolvedConfig, AlloyPluginUserConfig };
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { __ΩPluginContext } from "../../../powerlines/src/types/context.mjs";
|
|
2
|
-
import { __ΩBabelPluginResolvedConfig, __ΩBabelPluginUserConfig } from "../../../plugin-babel/src/types/plugin.mjs";
|
|
3
|
-
|
|
4
|
-
//#region ../plugin-alloy/src/types/plugin.ts
|
|
5
|
-
const __ΩPartial = [
|
|
6
|
-
"T",
|
|
7
|
-
"Partial",
|
|
8
|
-
"l+e#!e\"!fRb!Pde\"!gN#\"w\"y"
|
|
9
|
-
];
|
|
10
|
-
const __ΩAlloyPluginOptions = [
|
|
11
|
-
() => __ΩPartial,
|
|
12
|
-
"PrintTreeOptions",
|
|
13
|
-
"typescript",
|
|
14
|
-
true,
|
|
15
|
-
"If true, the Alloy framework is used to generate Typescript output files.",
|
|
16
|
-
"json",
|
|
17
|
-
"If true, the Alloy framework is used to generate JSON output files.",
|
|
18
|
-
"markdown",
|
|
19
|
-
"If true, the Alloy framework is used to generate Markdown output files.",
|
|
20
|
-
"AlloyPluginOptions",
|
|
21
|
-
"P\"w\"o!\"P)4#8>$?%)4&8>$?')4(8>$?)MKw*y"
|
|
22
|
-
];
|
|
23
|
-
const __ΩAlloyPluginUserConfig = [
|
|
24
|
-
() => __ΩBabelPluginUserConfig,
|
|
25
|
-
() => __ΩAlloyPluginOptions,
|
|
26
|
-
"alloy",
|
|
27
|
-
"AlloyPluginUserConfig",
|
|
28
|
-
"Pn!Pn\"4#8MKw$y"
|
|
29
|
-
];
|
|
30
|
-
const __ΩAlloyPluginResolvedConfig = [
|
|
31
|
-
() => __ΩBabelPluginResolvedConfig,
|
|
32
|
-
() => __ΩAlloyPluginOptions,
|
|
33
|
-
"alloy",
|
|
34
|
-
"AlloyPluginResolvedConfig",
|
|
35
|
-
"Pn!Pn\"4#MKw$y"
|
|
36
|
-
];
|
|
37
|
-
const __ΩAlloyPluginContext = [
|
|
38
|
-
() => __ΩAlloyPluginResolvedConfig,
|
|
39
|
-
"TResolvedConfig",
|
|
40
|
-
() => __ΩPluginContext,
|
|
41
|
-
"Children",
|
|
42
|
-
"children",
|
|
43
|
-
"",
|
|
44
|
-
"render",
|
|
45
|
-
"AlloyPluginContext",
|
|
46
|
-
"n!c\"Pe\"!o#\"PP\"w$2%$`/&4'MKw(y"
|
|
47
|
-
];
|
|
48
|
-
|
|
49
|
-
//#endregion
|
|
50
|
-
export { __ΩAlloyPluginContext, __ΩAlloyPluginOptions, __ΩAlloyPluginResolvedConfig, __ΩAlloyPluginUserConfig };
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
const require_rolldown_runtime = require('../../../../_virtual/rolldown_runtime.cjs');
|
|
2
|
-
const require_context = require('../../core/contexts/context.cjs');
|
|
3
|
-
const require_tsdoc = require('./tsdoc.cjs');
|
|
4
|
-
const require_typescript_file = require('./typescript-file.cjs');
|
|
5
|
-
let __stryke_path_file_path_fns = require("@stryke/path/file-path-fns");
|
|
6
|
-
let __stryke_path_replace = require("@stryke/path/replace");
|
|
7
|
-
let __stryke_type_checks_is_set = require("@stryke/type-checks/is-set");
|
|
8
|
-
let __alloy_js_core = require("@alloy-js/core");
|
|
9
|
-
let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
|
|
10
|
-
|
|
11
|
-
//#region ../plugin-alloy/src/typescript/components/builtin-file.tsx
|
|
12
|
-
/**
|
|
13
|
-
* A base component representing a Powerlines generated Typescript source file.
|
|
14
|
-
*
|
|
15
|
-
* @param props - The properties for the source file.
|
|
16
|
-
* @returns The rendered source file component.
|
|
17
|
-
*/
|
|
18
|
-
function BuiltinFile(props) {
|
|
19
|
-
const [{ children, imports, builtinImports, id, description, tsx }, rest] = (0, __alloy_js_core.splitProps)(props, [
|
|
20
|
-
"children",
|
|
21
|
-
"imports",
|
|
22
|
-
"builtinImports",
|
|
23
|
-
"id",
|
|
24
|
-
"description",
|
|
25
|
-
"tsx"
|
|
26
|
-
]);
|
|
27
|
-
const context = require_context.usePowerlinesSafe();
|
|
28
|
-
const path = (0, __alloy_js_core.computed)(() => (0, __stryke_path_replace.replacePath)(`${!(0, __stryke_type_checks_is_set.isSet)(tsx) ? id : (0, __stryke_path_replace.replaceExtension)(id)}${(0, __stryke_path_file_path_fns.hasFileExtension)(id) && !(0, __stryke_type_checks_is_set.isSet)(tsx) ? "" : tsx ? ".tsx" : ".ts"}`, context?.builtinsPath));
|
|
29
|
-
return (0, __alloy_js_core_jsx_runtime.createComponent)(require_typescript_file.TypescriptFile, (0, __alloy_js_core_jsx_runtime.mergeProps)({
|
|
30
|
-
get header() {
|
|
31
|
-
return (0, __alloy_js_core_jsx_runtime.createComponent)(require_typescript_file.TypescriptFileHeader, {
|
|
32
|
-
get header() {
|
|
33
|
-
return (0, __alloy_js_core_jsx_runtime.createComponent)(require_tsdoc.TSDocModule, {
|
|
34
|
-
name: id,
|
|
35
|
-
children: description
|
|
36
|
-
});
|
|
37
|
-
},
|
|
38
|
-
get children() {
|
|
39
|
-
return (0, __alloy_js_core_jsx_runtime.createComponent)(require_typescript_file.TypescriptFileHeaderImports, {
|
|
40
|
-
imports,
|
|
41
|
-
builtinImports
|
|
42
|
-
});
|
|
43
|
-
}
|
|
44
|
-
});
|
|
45
|
-
},
|
|
46
|
-
get meta() {
|
|
47
|
-
return {
|
|
48
|
-
kind: "builtin",
|
|
49
|
-
extension: tsx ? "tsx" : "ts",
|
|
50
|
-
id: (0, __stryke_path_replace.replaceExtension)(id)
|
|
51
|
-
};
|
|
52
|
-
}
|
|
53
|
-
}, rest, {
|
|
54
|
-
get path() {
|
|
55
|
-
return path.value;
|
|
56
|
-
},
|
|
57
|
-
children
|
|
58
|
-
}));
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
//#endregion
|
|
62
|
-
exports.BuiltinFile = BuiltinFile;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { TSDocModuleProps } from "./tsdoc.cjs";
|
|
2
|
-
import { TypescriptFileProps } from "./typescript-file.cjs";
|
|
3
|
-
import "@alloy-js/core";
|
|
4
|
-
|
|
5
|
-
//#region ../plugin-alloy/src/typescript/components/builtin-file.d.ts
|
|
6
|
-
type BuiltinFileProps = Omit<TypescriptFileProps, "path"> & Omit<TSDocModuleProps, "name"> & {
|
|
7
|
-
/**
|
|
8
|
-
* The runtime module identifier.
|
|
9
|
-
*
|
|
10
|
-
* @remarks
|
|
11
|
-
* This value will be included after the \`storm:\` prefix in the import statement.
|
|
12
|
-
*/
|
|
13
|
-
id: string;
|
|
14
|
-
/**
|
|
15
|
-
* The description for the builtin module.
|
|
16
|
-
*/
|
|
17
|
-
description?: string;
|
|
18
|
-
/**
|
|
19
|
-
* Whether the file is a TSX file.
|
|
20
|
-
*
|
|
21
|
-
* @defaultValue false
|
|
22
|
-
*/
|
|
23
|
-
tsx?: boolean;
|
|
24
|
-
};
|
|
25
|
-
//#endregion
|
|
26
|
-
export { BuiltinFileProps };
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { TSDocModuleProps } from "./tsdoc.mjs";
|
|
2
|
-
import { TypescriptFileProps } from "./typescript-file.mjs";
|
|
3
|
-
import "@alloy-js/core";
|
|
4
|
-
|
|
5
|
-
//#region ../plugin-alloy/src/typescript/components/builtin-file.d.ts
|
|
6
|
-
type BuiltinFileProps = Omit<TypescriptFileProps, "path"> & Omit<TSDocModuleProps, "name"> & {
|
|
7
|
-
/**
|
|
8
|
-
* The runtime module identifier.
|
|
9
|
-
*
|
|
10
|
-
* @remarks
|
|
11
|
-
* This value will be included after the \`storm:\` prefix in the import statement.
|
|
12
|
-
*/
|
|
13
|
-
id: string;
|
|
14
|
-
/**
|
|
15
|
-
* The description for the builtin module.
|
|
16
|
-
*/
|
|
17
|
-
description?: string;
|
|
18
|
-
/**
|
|
19
|
-
* Whether the file is a TSX file.
|
|
20
|
-
*
|
|
21
|
-
* @defaultValue false
|
|
22
|
-
*/
|
|
23
|
-
tsx?: boolean;
|
|
24
|
-
};
|
|
25
|
-
//#endregion
|
|
26
|
-
export { BuiltinFileProps };
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { usePowerlinesSafe } from "../../core/contexts/context.mjs";
|
|
2
|
-
import { TSDocModule } from "./tsdoc.mjs";
|
|
3
|
-
import { TypescriptFile, TypescriptFileHeader, TypescriptFileHeaderImports } from "./typescript-file.mjs";
|
|
4
|
-
import { hasFileExtension } from "@stryke/path/file-path-fns";
|
|
5
|
-
import { replaceExtension, replacePath } from "@stryke/path/replace";
|
|
6
|
-
import { isSet } from "@stryke/type-checks/is-set";
|
|
7
|
-
import { computed, splitProps } from "@alloy-js/core";
|
|
8
|
-
import { createComponent, mergeProps } from "@alloy-js/core/jsx-runtime";
|
|
9
|
-
|
|
10
|
-
//#region ../plugin-alloy/src/typescript/components/builtin-file.tsx
|
|
11
|
-
/**
|
|
12
|
-
* A base component representing a Powerlines generated Typescript source file.
|
|
13
|
-
*
|
|
14
|
-
* @param props - The properties for the source file.
|
|
15
|
-
* @returns The rendered source file component.
|
|
16
|
-
*/
|
|
17
|
-
function BuiltinFile(props) {
|
|
18
|
-
const [{ children, imports, builtinImports, id, description, tsx }, rest] = splitProps(props, [
|
|
19
|
-
"children",
|
|
20
|
-
"imports",
|
|
21
|
-
"builtinImports",
|
|
22
|
-
"id",
|
|
23
|
-
"description",
|
|
24
|
-
"tsx"
|
|
25
|
-
]);
|
|
26
|
-
const context = usePowerlinesSafe();
|
|
27
|
-
const path = computed(() => replacePath(`${!isSet(tsx) ? id : replaceExtension(id)}${hasFileExtension(id) && !isSet(tsx) ? "" : tsx ? ".tsx" : ".ts"}`, context?.builtinsPath));
|
|
28
|
-
return createComponent(TypescriptFile, mergeProps({
|
|
29
|
-
get header() {
|
|
30
|
-
return createComponent(TypescriptFileHeader, {
|
|
31
|
-
get header() {
|
|
32
|
-
return createComponent(TSDocModule, {
|
|
33
|
-
name: id,
|
|
34
|
-
children: description
|
|
35
|
-
});
|
|
36
|
-
},
|
|
37
|
-
get children() {
|
|
38
|
-
return createComponent(TypescriptFileHeaderImports, {
|
|
39
|
-
imports,
|
|
40
|
-
builtinImports
|
|
41
|
-
});
|
|
42
|
-
}
|
|
43
|
-
});
|
|
44
|
-
},
|
|
45
|
-
get meta() {
|
|
46
|
-
return {
|
|
47
|
-
kind: "builtin",
|
|
48
|
-
extension: tsx ? "tsx" : "ts",
|
|
49
|
-
id: replaceExtension(id)
|
|
50
|
-
};
|
|
51
|
-
}
|
|
52
|
-
}, rest, {
|
|
53
|
-
get path() {
|
|
54
|
-
return path.value;
|
|
55
|
-
},
|
|
56
|
-
children
|
|
57
|
-
}));
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
//#endregion
|
|
61
|
-
export { BuiltinFile };
|
|
@@ -1,131 +0,0 @@
|
|
|
1
|
-
const require_rolldown_runtime = require('../../../../_virtual/rolldown_runtime.cjs');
|
|
2
|
-
const require_reflection = require('../../core/contexts/reflection.cjs');
|
|
3
|
-
const require_tsdoc = require('./tsdoc.cjs');
|
|
4
|
-
let __stryke_string_format_title_case = require("@stryke/string-format/title-case");
|
|
5
|
-
let __stryke_type_checks_is_set_string = require("@stryke/type-checks/is-set-string");
|
|
6
|
-
let __stryke_type_checks_is_string = require("@stryke/type-checks/is-string");
|
|
7
|
-
let __alloy_js_core = require("@alloy-js/core");
|
|
8
|
-
let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
|
|
9
|
-
let __stryke_type_checks_is_undefined = require("@stryke/type-checks/is-undefined");
|
|
10
|
-
|
|
11
|
-
//#region ../plugin-alloy/src/typescript/components/tsdoc-reflection.tsx
|
|
12
|
-
/**
|
|
13
|
-
* Generates a TypeScript interface property for the given reflection class.
|
|
14
|
-
*/
|
|
15
|
-
function TSDocReflectionClass(props) {
|
|
16
|
-
const [{ children, heading }, rest] = (0, __alloy_js_core.splitProps)(props, ["heading", "children"]);
|
|
17
|
-
const reflectionClass = require_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 computedHeading = (0, __alloy_js_core.computed)(() => heading || reflectionClass.reflection.getDescription() || title.value);
|
|
20
|
-
const alias = (0, __alloy_js_core.computed)(() => reflectionClass.reflection.getAlias());
|
|
21
|
-
const domain = (0, __alloy_js_core.computed)(() => reflectionClass.reflection.getDomain());
|
|
22
|
-
const permission = (0, __alloy_js_core.computed)(() => reflectionClass.reflection.getPermission());
|
|
23
|
-
const readonly = (0, __alloy_js_core.computed)(() => reflectionClass.reflection.isReadonly());
|
|
24
|
-
const internal = (0, __alloy_js_core.computed)(() => reflectionClass.reflection.isInternal());
|
|
25
|
-
const ignore = (0, __alloy_js_core.computed)(() => reflectionClass.reflection.isIgnored());
|
|
26
|
-
const hidden = (0, __alloy_js_core.computed)(() => reflectionClass.reflection.isHidden());
|
|
27
|
-
if (!computedHeading.value || (0, __stryke_type_checks_is_set_string.isSetString)(computedHeading.value) && computedHeading.value.trim() === "") return null;
|
|
28
|
-
return (0, __alloy_js_core_jsx_runtime.createComponent)(require_tsdoc.TSDoc, (0, __alloy_js_core_jsx_runtime.mergeProps)(rest, {
|
|
29
|
-
get heading() {
|
|
30
|
-
return (0, __alloy_js_core_jsx_runtime.memo)(() => !!(0, __stryke_type_checks_is_set_string.isSetString)(computedHeading.value))() ? computedHeading.value.trim() : computedHeading.value;
|
|
31
|
-
},
|
|
32
|
-
get children() {
|
|
33
|
-
return [(0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
|
|
34
|
-
get when() {
|
|
35
|
-
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);
|
|
36
|
-
},
|
|
37
|
-
get children() {
|
|
38
|
-
return (0, __alloy_js_core_jsx_runtime.createComponent)(require_tsdoc.TSDocAttributesTags, {
|
|
39
|
-
get title() {
|
|
40
|
-
return title.value;
|
|
41
|
-
},
|
|
42
|
-
get alias() {
|
|
43
|
-
return alias.value;
|
|
44
|
-
},
|
|
45
|
-
get domain() {
|
|
46
|
-
return domain.value;
|
|
47
|
-
},
|
|
48
|
-
get permission() {
|
|
49
|
-
return permission.value;
|
|
50
|
-
},
|
|
51
|
-
get readonly() {
|
|
52
|
-
return readonly.value;
|
|
53
|
-
},
|
|
54
|
-
get internal() {
|
|
55
|
-
return internal.value;
|
|
56
|
-
},
|
|
57
|
-
get ignore() {
|
|
58
|
-
return ignore.value;
|
|
59
|
-
},
|
|
60
|
-
get hidden() {
|
|
61
|
-
return hidden.value;
|
|
62
|
-
}
|
|
63
|
-
});
|
|
64
|
-
}
|
|
65
|
-
}), (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
|
|
66
|
-
get when() {
|
|
67
|
-
return (0, __alloy_js_core_jsx_runtime.memo)(() => !!Boolean(children))() && (0, __alloy_js_core.childrenArray)(() => children).length > 0;
|
|
68
|
-
},
|
|
69
|
-
get children() {
|
|
70
|
-
return (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.List, { get children() {
|
|
71
|
-
return (0, __alloy_js_core.childrenArray)(() => children);
|
|
72
|
-
} });
|
|
73
|
-
}
|
|
74
|
-
})];
|
|
75
|
-
}
|
|
76
|
-
}));
|
|
77
|
-
}
|
|
78
|
-
/**
|
|
79
|
-
* Generates a TypeScript interface property for the given reflection class.
|
|
80
|
-
*/
|
|
81
|
-
function TSDocReflectionProperty(props) {
|
|
82
|
-
const [{ children }, rest] = (0, __alloy_js_core.splitProps)(props, ["children"]);
|
|
83
|
-
const context = require_reflection.useReflectionProperty();
|
|
84
|
-
return (0, __alloy_js_core_jsx_runtime.createComponent)(require_tsdoc.TSDoc, (0, __alloy_js_core_jsx_runtime.mergeProps)({ get heading() {
|
|
85
|
-
return context.getDescription();
|
|
86
|
-
} }, rest, { get children() {
|
|
87
|
-
return [(0, __alloy_js_core_jsx_runtime.createComponent)(require_tsdoc.TSDocAttributesTags, {
|
|
88
|
-
type: context,
|
|
89
|
-
get title() {
|
|
90
|
-
return context.getTitle();
|
|
91
|
-
},
|
|
92
|
-
get alias() {
|
|
93
|
-
return context.getAlias();
|
|
94
|
-
},
|
|
95
|
-
get domain() {
|
|
96
|
-
return context.getDomain();
|
|
97
|
-
},
|
|
98
|
-
get permission() {
|
|
99
|
-
return context.getPermission();
|
|
100
|
-
},
|
|
101
|
-
get readonly() {
|
|
102
|
-
return context.isReadonly();
|
|
103
|
-
},
|
|
104
|
-
get internal() {
|
|
105
|
-
return context.isInternal();
|
|
106
|
-
},
|
|
107
|
-
get ignore() {
|
|
108
|
-
return context.isIgnored();
|
|
109
|
-
},
|
|
110
|
-
get hidden() {
|
|
111
|
-
return context.isHidden();
|
|
112
|
-
},
|
|
113
|
-
get defaultValue() {
|
|
114
|
-
return context.getDefaultValue();
|
|
115
|
-
}
|
|
116
|
-
}), (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
|
|
117
|
-
get when() {
|
|
118
|
-
return (0, __alloy_js_core_jsx_runtime.memo)(() => !!Boolean(children))() && (0, __alloy_js_core.childrenArray)(() => children).length > 0;
|
|
119
|
-
},
|
|
120
|
-
get children() {
|
|
121
|
-
return (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.List, { get children() {
|
|
122
|
-
return (0, __alloy_js_core.childrenArray)(() => children);
|
|
123
|
-
} });
|
|
124
|
-
}
|
|
125
|
-
})];
|
|
126
|
-
} }));
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
//#endregion
|
|
130
|
-
exports.TSDocReflectionClass = TSDocReflectionClass;
|
|
131
|
-
exports.TSDocReflectionProperty = TSDocReflectionProperty;
|