@powerlines/plugin-alloy 0.25.69 → 0.26.0
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/README.md +1 -1
- package/dist/core/components/index.cjs +3 -1
- package/dist/core/components/index.d.cts +3 -2
- package/dist/core/components/index.d.mts +3 -2
- package/dist/core/components/index.mjs +3 -2
- package/dist/core/components/infrastructure-file.cjs +48 -0
- package/dist/core/components/infrastructure-file.d.cts +28 -0
- package/dist/core/components/infrastructure-file.d.cts.map +1 -0
- package/dist/core/components/infrastructure-file.d.mts +28 -0
- package/dist/core/components/infrastructure-file.d.mts.map +1 -0
- package/dist/core/components/infrastructure-file.mjs +46 -0
- package/dist/core/components/infrastructure-file.mjs.map +1 -0
- package/dist/core/components/output.d.cts +2 -2
- package/dist/core/components/output.d.cts.map +1 -1
- package/dist/core/components/output.d.mts +2 -2
- package/dist/core/components/output.d.mts.map +1 -1
- package/dist/core/components/single-line-comment.cjs +1 -1
- package/dist/core/components/single-line-comment.d.cts +3 -3
- package/dist/core/components/single-line-comment.d.cts.map +1 -1
- package/dist/core/components/single-line-comment.d.mts +3 -3
- package/dist/core/components/single-line-comment.d.mts.map +1 -1
- package/dist/core/components/single-line-comment.mjs +1 -1
- package/dist/core/components/single-line-comment.mjs.map +1 -1
- package/dist/core/components/source-file.d.cts +2 -2
- package/dist/core/components/source-file.d.cts.map +1 -1
- package/dist/core/components/source-file.d.mts +2 -2
- package/dist/core/components/source-file.d.mts.map +1 -1
- package/dist/core/components/spacing.d.cts +2 -2
- package/dist/core/components/spacing.d.cts.map +1 -1
- package/dist/core/components/spacing.d.mts +2 -2
- package/dist/core/components/spacing.d.mts.map +1 -1
- package/dist/core/contexts/index.cjs +2 -1
- package/dist/core/contexts/index.d.cts +2 -2
- package/dist/core/contexts/index.d.mts +2 -2
- package/dist/core/contexts/index.mjs +2 -2
- package/dist/core/contexts/reflection.cjs +13 -2
- package/dist/core/contexts/reflection.d.cts +14 -3
- package/dist/core/contexts/reflection.d.cts.map +1 -1
- package/dist/core/contexts/reflection.d.mts +14 -3
- package/dist/core/contexts/reflection.d.mts.map +1 -1
- package/dist/core/contexts/reflection.mjs +12 -2
- package/dist/core/contexts/reflection.mjs.map +1 -1
- package/dist/core/index.cjs +5 -2
- package/dist/core/index.d.cts +4 -3
- package/dist/core/index.d.mts +4 -3
- package/dist/core/index.mjs +4 -3
- package/dist/hcl/components/block-declaration.cjs +34 -0
- package/dist/hcl/components/block-declaration.d.cts +22 -0
- package/dist/hcl/components/block-declaration.d.cts.map +1 -0
- package/dist/hcl/components/block-declaration.d.mts +22 -0
- package/dist/hcl/components/block-declaration.d.mts.map +1 -0
- package/dist/hcl/components/block-declaration.mjs +33 -0
- package/dist/hcl/components/block-declaration.mjs.map +1 -0
- package/dist/hcl/components/hcl-file.cjs +83 -0
- package/dist/hcl/components/hcl-file.d.cts +27 -0
- package/dist/hcl/components/hcl-file.d.cts.map +1 -0
- package/dist/hcl/components/hcl-file.d.mts +27 -0
- package/dist/hcl/components/hcl-file.d.mts.map +1 -0
- package/dist/hcl/components/hcl-file.mjs +81 -0
- package/dist/hcl/components/hcl-file.mjs.map +1 -0
- package/dist/hcl/components/index.cjs +11 -0
- package/dist/hcl/components/index.d.cts +5 -0
- package/dist/hcl/components/index.d.mts +5 -0
- package/dist/hcl/components/index.mjs +6 -0
- package/dist/hcl/components/packer-file.cjs +29 -0
- package/dist/hcl/components/packer-file.d.cts +19 -0
- package/dist/hcl/components/packer-file.d.cts.map +1 -0
- package/dist/hcl/components/packer-file.d.mts +19 -0
- package/dist/hcl/components/packer-file.d.mts.map +1 -0
- package/dist/hcl/components/packer-file.mjs +28 -0
- package/dist/hcl/components/packer-file.mjs.map +1 -0
- package/dist/hcl/components/terraform-file.cjs +30 -0
- package/dist/hcl/components/terraform-file.d.cts +20 -0
- package/dist/hcl/components/terraform-file.d.cts.map +1 -0
- package/dist/hcl/components/terraform-file.d.mts +20 -0
- package/dist/hcl/components/terraform-file.d.mts.map +1 -0
- package/dist/hcl/components/terraform-file.mjs +29 -0
- package/dist/hcl/components/terraform-file.mjs.map +1 -0
- package/dist/hcl/index.cjs +12 -0
- package/dist/hcl/index.d.cts +5 -0
- package/dist/hcl/index.d.mts +5 -0
- package/dist/hcl/index.mjs +7 -0
- package/dist/helpers/capnp.cjs +2 -2
- package/dist/helpers/capnp.mjs +2 -2
- package/dist/helpers/typescript.cjs +1 -1
- package/dist/helpers/typescript.mjs +1 -1
- package/dist/markdown/components/front-matter.d.cts +2 -2
- package/dist/markdown/components/front-matter.d.cts.map +1 -1
- package/dist/markdown/components/front-matter.d.mts +2 -2
- package/dist/markdown/components/front-matter.d.mts.map +1 -1
- package/dist/markdown/components/markdown-file.cjs +1 -1
- package/dist/markdown/components/markdown-file.d.cts +3 -3
- package/dist/markdown/components/markdown-file.d.cts.map +1 -1
- package/dist/markdown/components/markdown-file.d.mts +3 -3
- package/dist/markdown/components/markdown-file.d.mts.map +1 -1
- package/dist/markdown/components/markdown-file.mjs +1 -1
- package/dist/markdown/components/markdown-table.d.cts +4 -4
- package/dist/markdown/components/markdown-table.d.cts.map +1 -1
- package/dist/markdown/components/markdown-table.d.mts +4 -4
- package/dist/markdown/components/markdown-table.d.mts.map +1 -1
- package/dist/typescript/components/builtin-file.d.cts +2 -2
- package/dist/typescript/components/builtin-file.d.cts.map +1 -1
- package/dist/typescript/components/builtin-file.d.mts +2 -2
- package/dist/typescript/components/builtin-file.d.mts.map +1 -1
- package/dist/typescript/components/dynamic-import-statement.d.cts +2 -2
- package/dist/typescript/components/dynamic-import-statement.d.cts.map +1 -1
- package/dist/typescript/components/dynamic-import-statement.d.mts +2 -2
- package/dist/typescript/components/dynamic-import-statement.d.mts.map +1 -1
- package/dist/typescript/components/entry-file.cjs +1 -1
- package/dist/typescript/components/entry-file.d.cts +2 -2
- package/dist/typescript/components/entry-file.d.cts.map +1 -1
- package/dist/typescript/components/entry-file.d.mts +2 -2
- package/dist/typescript/components/entry-file.d.mts.map +1 -1
- package/dist/typescript/components/entry-file.mjs +1 -1
- package/dist/typescript/components/index.cjs +0 -2
- package/dist/typescript/components/index.d.cts +1 -2
- package/dist/typescript/components/index.d.mts +1 -2
- package/dist/typescript/components/index.mjs +1 -2
- package/dist/typescript/components/interface-declaration.cjs +16 -6
- package/dist/typescript/components/interface-declaration.d.cts +6 -5
- package/dist/typescript/components/interface-declaration.d.cts.map +1 -1
- package/dist/typescript/components/interface-declaration.d.mts +5 -4
- package/dist/typescript/components/interface-declaration.d.mts.map +1 -1
- package/dist/typescript/components/interface-declaration.mjs +16 -6
- package/dist/typescript/components/interface-declaration.mjs.map +1 -1
- package/dist/typescript/components/object-declaration.cjs +8 -2
- package/dist/typescript/components/object-declaration.d.cts +7 -7
- package/dist/typescript/components/object-declaration.d.cts.map +1 -1
- package/dist/typescript/components/object-declaration.d.mts +6 -6
- package/dist/typescript/components/object-declaration.d.mts.map +1 -1
- package/dist/typescript/components/object-declaration.mjs +8 -2
- package/dist/typescript/components/object-declaration.mjs.map +1 -1
- package/dist/typescript/components/property-name.d.cts +2 -2
- package/dist/typescript/components/property-name.d.cts.map +1 -1
- package/dist/typescript/components/property-name.d.mts +2 -2
- package/dist/typescript/components/property-name.d.mts.map +1 -1
- package/dist/typescript/components/tsdoc-reflection.cjs +15 -4
- package/dist/typescript/components/tsdoc-reflection.d.cts +8 -7
- package/dist/typescript/components/tsdoc-reflection.d.cts.map +1 -1
- package/dist/typescript/components/tsdoc-reflection.d.mts +8 -7
- package/dist/typescript/components/tsdoc-reflection.d.mts.map +1 -1
- package/dist/typescript/components/tsdoc-reflection.mjs +16 -5
- package/dist/typescript/components/tsdoc-reflection.mjs.map +1 -1
- package/dist/typescript/components/tsdoc.d.cts +1 -1
- package/dist/typescript/components/type-declaration.d.cts +2 -2
- package/dist/typescript/components/type-declaration.d.cts.map +1 -1
- package/dist/typescript/components/type-declaration.d.mts +2 -2
- package/dist/typescript/components/type-declaration.d.mts.map +1 -1
- package/dist/typescript/components/typescript-file.cjs +2 -2
- package/dist/typescript/components/typescript-file.mjs +2 -2
- package/dist/typescript/contexts/lexical-scope.d.cts +2 -2
- package/dist/typescript/contexts/lexical-scope.d.cts.map +1 -1
- package/dist/typescript/contexts/lexical-scope.d.mts +2 -2
- package/dist/typescript/contexts/lexical-scope.d.mts.map +1 -1
- package/dist/typescript/index.cjs +0 -2
- package/dist/typescript/index.d.cts +1 -2
- package/dist/typescript/index.d.mts +1 -2
- package/dist/typescript/index.mjs +1 -2
- package/dist/yaml/components/yaml-file.cjs +1 -1
- package/dist/yaml/components/yaml-file.mjs +1 -1
- package/package.json +104 -20
- package/dist/typescript/components/infrastructure-file.cjs +0 -40
- package/dist/typescript/components/infrastructure-file.d.cts +0 -21
- package/dist/typescript/components/infrastructure-file.d.cts.map +0 -1
- package/dist/typescript/components/infrastructure-file.d.mts +0 -21
- package/dist/typescript/components/infrastructure-file.d.mts.map +0 -1
- package/dist/typescript/components/infrastructure-file.mjs +0 -38
- package/dist/typescript/components/infrastructure-file.mjs.map +0 -1
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { HCLFileProps } from "./hcl-file.cjs";
|
|
2
|
+
import * as _$_alloy_js_core0 from "@alloy-js/core";
|
|
3
|
+
import { PartialKeys } from "@stryke/types/base";
|
|
4
|
+
|
|
5
|
+
//#region src/hcl/components/packer-file.d.ts
|
|
6
|
+
type PackerFileProps = PartialKeys<HCLFileProps, "filetype">;
|
|
7
|
+
/**
|
|
8
|
+
* A base component representing a Powerlines generated [Packer](https://developer.hashicorp.com/packer/docs/templates/hcl_templates) source file.
|
|
9
|
+
*
|
|
10
|
+
* @see https://developer.hashicorp.com/packer
|
|
11
|
+
*
|
|
12
|
+
* @param props - The properties for the source file.
|
|
13
|
+
* @returns The rendered source file component.
|
|
14
|
+
*/
|
|
15
|
+
declare function PackerFile(props: PackerFileProps): _$_alloy_js_core0.Children;
|
|
16
|
+
declare type __ΩPackerFileProps = any[];
|
|
17
|
+
//#endregion
|
|
18
|
+
export { PackerFile, PackerFileProps, __ΩPackerFileProps };
|
|
19
|
+
//# sourceMappingURL=packer-file.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"packer-file.d.cts","names":[],"sources":["../../../src/hcl/components/packer-file.tsx"],"mappings":";;;;;KAsBY,eAAA,GAAkB,WAAA,CAAY,YAAA;;;AAA1C;;;;;AAUA;iBAAgB,UAAA,CAAW,KAAA,EAAO,eAAA,GAAe,iBAAA,CAAA,QAAA;AAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { HCLFileProps } from "./hcl-file.mjs";
|
|
2
|
+
import * as _$_alloy_js_core0 from "@alloy-js/core";
|
|
3
|
+
import { PartialKeys } from "@stryke/types/base";
|
|
4
|
+
|
|
5
|
+
//#region src/hcl/components/packer-file.d.ts
|
|
6
|
+
type PackerFileProps = PartialKeys<HCLFileProps, "filetype">;
|
|
7
|
+
/**
|
|
8
|
+
* A base component representing a Powerlines generated [Packer](https://developer.hashicorp.com/packer/docs/templates/hcl_templates) source file.
|
|
9
|
+
*
|
|
10
|
+
* @see https://developer.hashicorp.com/packer
|
|
11
|
+
*
|
|
12
|
+
* @param props - The properties for the source file.
|
|
13
|
+
* @returns The rendered source file component.
|
|
14
|
+
*/
|
|
15
|
+
declare function PackerFile(props: PackerFileProps): _$_alloy_js_core0.Children;
|
|
16
|
+
declare type __ΩPackerFileProps = any[];
|
|
17
|
+
//#endregion
|
|
18
|
+
export { PackerFile, PackerFileProps, __ΩPackerFileProps };
|
|
19
|
+
//# sourceMappingURL=packer-file.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"packer-file.d.mts","names":[],"sources":["../../../src/hcl/components/packer-file.tsx"],"mappings":";;;;;KAsBY,eAAA,GAAkB,WAAA,CAAY,YAAA;;;AAA1C;;;;;AAUA;iBAAgB,UAAA,CAAW,KAAA,EAAO,eAAA,GAAe,iBAAA,CAAA,QAAA;AAAA"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { HCLFile } from "./hcl-file.mjs";
|
|
2
|
+
import { createComponent, mergeProps } from "@alloy-js/core/jsx-runtime";
|
|
3
|
+
import { Show, splitProps } from "@alloy-js/core";
|
|
4
|
+
|
|
5
|
+
//#region src/hcl/components/packer-file.tsx
|
|
6
|
+
/**
|
|
7
|
+
* A base component representing a Powerlines generated [Packer](https://developer.hashicorp.com/packer/docs/templates/hcl_templates) source file.
|
|
8
|
+
*
|
|
9
|
+
* @see https://developer.hashicorp.com/packer
|
|
10
|
+
*
|
|
11
|
+
* @param props - The properties for the source file.
|
|
12
|
+
* @returns The rendered source file component.
|
|
13
|
+
*/
|
|
14
|
+
function PackerFile(props) {
|
|
15
|
+
const [{ children }, rest] = splitProps(props, ["children"]);
|
|
16
|
+
return createComponent(HCLFile, mergeProps({ filetype: "pkr.hcl" }, rest, { get children() {
|
|
17
|
+
return createComponent(Show, {
|
|
18
|
+
get when() {
|
|
19
|
+
return Boolean(children);
|
|
20
|
+
},
|
|
21
|
+
children
|
|
22
|
+
});
|
|
23
|
+
} }));
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
//#endregion
|
|
27
|
+
export { PackerFile };
|
|
28
|
+
//# sourceMappingURL=packer-file.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"packer-file.mjs","names":[],"sources":["../../../src/hcl/components/packer-file.tsx"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { Show, splitProps } from \"@alloy-js/core\";\nimport { PartialKeys } from \"@stryke/types/base\";\nimport { HCLFile, HCLFileProps } from \"./hcl-file\";\n\nexport type PackerFileProps = PartialKeys<HCLFileProps, \"filetype\">;\n\n/**\n * A base component representing a Powerlines generated [Packer](https://developer.hashicorp.com/packer/docs/templates/hcl_templates) source file.\n *\n * @see https://developer.hashicorp.com/packer\n *\n * @param props - The properties for the source file.\n * @returns The rendered source file component.\n */\nexport function PackerFile(props: PackerFileProps) {\n const [{ children }, rest] = splitProps(props, [\"children\"]);\n\n return (\n <HCLFile filetype=\"pkr.hcl\" {...rest}>\n <Show when={Boolean(children)}>{children}</Show>\n </HCLFile>\n );\n}\n"],"mappings":";;;;;;;;;;;;;AAgCA,SAAgB,WAAW,OAAwB;CACjD,MAAM,CAAC,cAEP,QAAO,WAAA,OAAA,CAAA,WAAA,CAAA;AACP,QAAG,gBAAsB,SAAS,WAAK,EACrC,UAAQ,WACT,EAAE,MAAC,EACH,IAAA,WAAA;AACH,SAAA,gBAAA,MAAA"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
+
const require_runtime = require('../../_virtual/_rolldown/runtime.cjs');
|
|
3
|
+
const require_hcl_components_hcl_file = require('./hcl-file.cjs');
|
|
4
|
+
let _alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
|
|
5
|
+
let _alloy_js_core = require("@alloy-js/core");
|
|
6
|
+
|
|
7
|
+
//#region src/hcl/components/terraform-file.tsx
|
|
8
|
+
/**
|
|
9
|
+
* A base component representing a Powerlines generated [Terraform](https://developer.hashicorp.com/terraform/language) or [OpenTofu](https://opentofu.org/docs/language/) source file.
|
|
10
|
+
*
|
|
11
|
+
* @see https://developer.hashicorp.com/terraform
|
|
12
|
+
* @see https://opentofu.org
|
|
13
|
+
*
|
|
14
|
+
* @param props - The properties for the source file.
|
|
15
|
+
* @returns The rendered source file component.
|
|
16
|
+
*/
|
|
17
|
+
function TerraformFile(props) {
|
|
18
|
+
const [{ children }, rest] = (0, _alloy_js_core.splitProps)(props, ["children"]);
|
|
19
|
+
return (0, _alloy_js_core_jsx_runtime.createComponent)(require_hcl_components_hcl_file.HCLFile, (0, _alloy_js_core_jsx_runtime.mergeProps)({ filetype: "tf" }, rest, { get children() {
|
|
20
|
+
return (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
|
|
21
|
+
get when() {
|
|
22
|
+
return Boolean(children);
|
|
23
|
+
},
|
|
24
|
+
children
|
|
25
|
+
});
|
|
26
|
+
} }));
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
//#endregion
|
|
30
|
+
exports.TerraformFile = TerraformFile;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { HCLFileProps } from "./hcl-file.cjs";
|
|
2
|
+
import * as _$_alloy_js_core0 from "@alloy-js/core";
|
|
3
|
+
import { PartialKeys } from "@stryke/types/base";
|
|
4
|
+
|
|
5
|
+
//#region src/hcl/components/terraform-file.d.ts
|
|
6
|
+
type TerraformFileProps = PartialKeys<HCLFileProps, "filetype">;
|
|
7
|
+
/**
|
|
8
|
+
* A base component representing a Powerlines generated [Terraform](https://developer.hashicorp.com/terraform/language) or [OpenTofu](https://opentofu.org/docs/language/) source file.
|
|
9
|
+
*
|
|
10
|
+
* @see https://developer.hashicorp.com/terraform
|
|
11
|
+
* @see https://opentofu.org
|
|
12
|
+
*
|
|
13
|
+
* @param props - The properties for the source file.
|
|
14
|
+
* @returns The rendered source file component.
|
|
15
|
+
*/
|
|
16
|
+
declare function TerraformFile(props: TerraformFileProps): _$_alloy_js_core0.Children;
|
|
17
|
+
declare type __ΩTerraformFileProps = any[];
|
|
18
|
+
//#endregion
|
|
19
|
+
export { TerraformFile, TerraformFileProps, __ΩTerraformFileProps };
|
|
20
|
+
//# sourceMappingURL=terraform-file.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"terraform-file.d.cts","names":[],"sources":["../../../src/hcl/components/terraform-file.tsx"],"mappings":";;;;;KAsBY,kBAAA,GAAqB,WAAA,CAAY,YAAA;;;AAA7C;;;;;AAWA;;iBAAgB,aAAA,CAAc,KAAA,EAAO,kBAAA,GAAkB,iBAAA,CAAA,QAAA;AAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { HCLFileProps } from "./hcl-file.mjs";
|
|
2
|
+
import * as _$_alloy_js_core0 from "@alloy-js/core";
|
|
3
|
+
import { PartialKeys } from "@stryke/types/base";
|
|
4
|
+
|
|
5
|
+
//#region src/hcl/components/terraform-file.d.ts
|
|
6
|
+
type TerraformFileProps = PartialKeys<HCLFileProps, "filetype">;
|
|
7
|
+
/**
|
|
8
|
+
* A base component representing a Powerlines generated [Terraform](https://developer.hashicorp.com/terraform/language) or [OpenTofu](https://opentofu.org/docs/language/) source file.
|
|
9
|
+
*
|
|
10
|
+
* @see https://developer.hashicorp.com/terraform
|
|
11
|
+
* @see https://opentofu.org
|
|
12
|
+
*
|
|
13
|
+
* @param props - The properties for the source file.
|
|
14
|
+
* @returns The rendered source file component.
|
|
15
|
+
*/
|
|
16
|
+
declare function TerraformFile(props: TerraformFileProps): _$_alloy_js_core0.Children;
|
|
17
|
+
declare type __ΩTerraformFileProps = any[];
|
|
18
|
+
//#endregion
|
|
19
|
+
export { TerraformFile, TerraformFileProps, __ΩTerraformFileProps };
|
|
20
|
+
//# sourceMappingURL=terraform-file.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"terraform-file.d.mts","names":[],"sources":["../../../src/hcl/components/terraform-file.tsx"],"mappings":";;;;;KAsBY,kBAAA,GAAqB,WAAA,CAAY,YAAA;;;AAA7C;;;;;AAWA;;iBAAgB,aAAA,CAAc,KAAA,EAAO,kBAAA,GAAkB,iBAAA,CAAA,QAAA;AAAA"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { HCLFile } from "./hcl-file.mjs";
|
|
2
|
+
import { createComponent, mergeProps } from "@alloy-js/core/jsx-runtime";
|
|
3
|
+
import { Show, splitProps } from "@alloy-js/core";
|
|
4
|
+
|
|
5
|
+
//#region src/hcl/components/terraform-file.tsx
|
|
6
|
+
/**
|
|
7
|
+
* A base component representing a Powerlines generated [Terraform](https://developer.hashicorp.com/terraform/language) or [OpenTofu](https://opentofu.org/docs/language/) source file.
|
|
8
|
+
*
|
|
9
|
+
* @see https://developer.hashicorp.com/terraform
|
|
10
|
+
* @see https://opentofu.org
|
|
11
|
+
*
|
|
12
|
+
* @param props - The properties for the source file.
|
|
13
|
+
* @returns The rendered source file component.
|
|
14
|
+
*/
|
|
15
|
+
function TerraformFile(props) {
|
|
16
|
+
const [{ children }, rest] = splitProps(props, ["children"]);
|
|
17
|
+
return createComponent(HCLFile, mergeProps({ filetype: "tf" }, rest, { get children() {
|
|
18
|
+
return createComponent(Show, {
|
|
19
|
+
get when() {
|
|
20
|
+
return Boolean(children);
|
|
21
|
+
},
|
|
22
|
+
children
|
|
23
|
+
});
|
|
24
|
+
} }));
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
//#endregion
|
|
28
|
+
export { TerraformFile };
|
|
29
|
+
//# sourceMappingURL=terraform-file.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"terraform-file.mjs","names":[],"sources":["../../../src/hcl/components/terraform-file.tsx"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { Show, splitProps } from \"@alloy-js/core\";\nimport { PartialKeys } from \"@stryke/types/base\";\nimport { HCLFile, HCLFileProps } from \"./hcl-file\";\n\nexport type TerraformFileProps = PartialKeys<HCLFileProps, \"filetype\">;\n\n/**\n * A base component representing a Powerlines generated [Terraform](https://developer.hashicorp.com/terraform/language) or [OpenTofu](https://opentofu.org/docs/language/) source file.\n *\n * @see https://developer.hashicorp.com/terraform\n * @see https://opentofu.org\n *\n * @param props - The properties for the source file.\n * @returns The rendered source file component.\n */\nexport function TerraformFile(props: TerraformFileProps) {\n const [{ children }, rest] = splitProps(props, [\"children\"]);\n\n return (\n <HCLFile filetype=\"tf\" {...rest}>\n <Show when={Boolean(children)}>{children}</Show>\n </HCLFile>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;AAiCA,SAAgB,cAAc,OAA2B;CACvD,MAAM,CAAC,cAEP,QAAO,WAAA,OAAA,CAAA,WAAA,CAAA;AACP,QAAG,gBAAsB,SAAS,WAAA,EAChC,UAAQ,MACT,EAAE,MAAC,EACH,IAAA,WAAA;AACH,SAAA,gBAAA,MAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
+
const require_hcl_components_block_declaration = require('./components/block-declaration.cjs');
|
|
3
|
+
const require_hcl_components_hcl_file = require('./components/hcl-file.cjs');
|
|
4
|
+
const require_hcl_components_packer_file = require('./components/packer-file.cjs');
|
|
5
|
+
const require_hcl_components_terraform_file = require('./components/terraform-file.cjs');
|
|
6
|
+
require('./components/index.cjs');
|
|
7
|
+
|
|
8
|
+
exports.BlockDeclaration = require_hcl_components_block_declaration.BlockDeclaration;
|
|
9
|
+
exports.HCLFile = require_hcl_components_hcl_file.HCLFile;
|
|
10
|
+
exports.HCLFileHeader = require_hcl_components_hcl_file.HCLFileHeader;
|
|
11
|
+
exports.PackerFile = require_hcl_components_packer_file.PackerFile;
|
|
12
|
+
exports.TerraformFile = require_hcl_components_terraform_file.TerraformFile;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { BlockDeclaration, BlockDeclarationProps, __ΩBlockDeclarationProps } from "./components/block-declaration.cjs";
|
|
2
|
+
import { HCLFile, HCLFileHeader, HCLFileProps, __ΩHCLFileProps } from "./components/hcl-file.cjs";
|
|
3
|
+
import { PackerFile, PackerFileProps, __ΩPackerFileProps } from "./components/packer-file.cjs";
|
|
4
|
+
import { TerraformFile, TerraformFileProps, __ΩTerraformFileProps } from "./components/terraform-file.cjs";
|
|
5
|
+
export { BlockDeclaration, BlockDeclarationProps, HCLFile, HCLFileHeader, HCLFileProps, PackerFile, PackerFileProps, TerraformFile, TerraformFileProps, __ΩBlockDeclarationProps, __ΩHCLFileProps, __ΩPackerFileProps, __ΩTerraformFileProps };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { BlockDeclaration, BlockDeclarationProps, __ΩBlockDeclarationProps } from "./components/block-declaration.mjs";
|
|
2
|
+
import { HCLFile, HCLFileHeader, HCLFileProps, __ΩHCLFileProps } from "./components/hcl-file.mjs";
|
|
3
|
+
import { PackerFile, PackerFileProps, __ΩPackerFileProps } from "./components/packer-file.mjs";
|
|
4
|
+
import { TerraformFile, TerraformFileProps, __ΩTerraformFileProps } from "./components/terraform-file.mjs";
|
|
5
|
+
export { BlockDeclaration, BlockDeclarationProps, HCLFile, HCLFileHeader, HCLFileProps, PackerFile, PackerFileProps, TerraformFile, TerraformFileProps, __ΩBlockDeclarationProps, __ΩHCLFileProps, __ΩPackerFileProps, __ΩTerraformFileProps };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { BlockDeclaration } from "./components/block-declaration.mjs";
|
|
2
|
+
import { HCLFile, HCLFileHeader } from "./components/hcl-file.mjs";
|
|
3
|
+
import { PackerFile } from "./components/packer-file.mjs";
|
|
4
|
+
import { TerraformFile } from "./components/terraform-file.mjs";
|
|
5
|
+
import "./components/index.mjs";
|
|
6
|
+
|
|
7
|
+
export { BlockDeclaration, HCLFile, HCLFileHeader, PackerFile, TerraformFile };
|
package/dist/helpers/capnp.cjs
CHANGED
|
@@ -2,9 +2,10 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
2
2
|
const require_runtime = require('../_virtual/_rolldown/runtime.cjs');
|
|
3
3
|
let defu = require("defu");
|
|
4
4
|
defu = require_runtime.__toESM(defu);
|
|
5
|
+
let _stryke_string_format_title_case = require("@stryke/string-format/title-case");
|
|
6
|
+
let powerlines_utils = require("powerlines/utils");
|
|
5
7
|
let _powerlines_deepkit_utilities = require("@powerlines/deepkit/utilities");
|
|
6
8
|
let _stryke_string_format_camel_case = require("@stryke/string-format/camel-case");
|
|
7
|
-
let _stryke_string_format_title_case = require("@stryke/string-format/title-case");
|
|
8
9
|
let _stryke_type_checks_is_undefined = require("@stryke/type-checks/is-undefined");
|
|
9
10
|
let _powerlines_deepkit_vendor_core = require("@powerlines/deepkit/vendor/core");
|
|
10
11
|
let _powerlines_deepkit_vendor_type = require("@powerlines/deepkit/vendor/type");
|
|
@@ -23,7 +24,6 @@ let _stryke_type_checks_is_string = require("@stryke/type-checks/is-string");
|
|
|
23
24
|
let node_buffer = require("node:buffer");
|
|
24
25
|
let node_child_process = require("node:child_process");
|
|
25
26
|
let node_util = require("node:util");
|
|
26
|
-
let powerlines_utils = require("powerlines/utils");
|
|
27
27
|
|
|
28
28
|
//#region src/helpers/capnp.ts
|
|
29
29
|
/**
|
package/dist/helpers/capnp.mjs
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import defu from "defu";
|
|
2
|
+
import { titleCase } from "@stryke/string-format/title-case";
|
|
3
|
+
import { getFileHeader } from "powerlines/utils";
|
|
2
4
|
import { getUnionTypes, kindToName } from "@powerlines/deepkit/utilities";
|
|
3
5
|
import { camelCase } from "@stryke/string-format/camel-case";
|
|
4
|
-
import { titleCase } from "@stryke/string-format/title-case";
|
|
5
6
|
import { isUndefined } from "@stryke/type-checks/is-undefined";
|
|
6
7
|
import { getClassName } from "@powerlines/deepkit/vendor/core";
|
|
7
8
|
import { ReflectionKind, memberNameToString } from "@powerlines/deepkit/vendor/type";
|
|
@@ -20,7 +21,6 @@ import { isString } from "@stryke/type-checks/is-string";
|
|
|
20
21
|
import { Buffer } from "node:buffer";
|
|
21
22
|
import { exec } from "node:child_process";
|
|
22
23
|
import { promisify } from "node:util";
|
|
23
|
-
import { getFileHeader } from "powerlines/utils";
|
|
24
24
|
|
|
25
25
|
//#region src/helpers/capnp.ts
|
|
26
26
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
2
|
const require_runtime = require('../_virtual/_rolldown/runtime.cjs');
|
|
3
|
+
let _stryke_string_format_title_case = require("@stryke/string-format/title-case");
|
|
3
4
|
let _powerlines_deepkit_utilities = require("@powerlines/deepkit/utilities");
|
|
4
5
|
let _stryke_string_format_camel_case = require("@stryke/string-format/camel-case");
|
|
5
|
-
let _stryke_string_format_title_case = require("@stryke/string-format/title-case");
|
|
6
6
|
let _stryke_type_checks_is_undefined = require("@stryke/type-checks/is-undefined");
|
|
7
7
|
|
|
8
8
|
//#region src/helpers/typescript.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { titleCase } from "@stryke/string-format/title-case";
|
|
1
2
|
import { stringifyValue } from "@powerlines/deepkit/utilities";
|
|
2
3
|
import { camelCase } from "@stryke/string-format/camel-case";
|
|
3
|
-
import { titleCase } from "@stryke/string-format/title-case";
|
|
4
4
|
import { isUndefined } from "@stryke/type-checks/is-undefined";
|
|
5
5
|
|
|
6
6
|
//#region src/helpers/typescript.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as _alloy_js_core0 from "@alloy-js/core";
|
|
1
|
+
import * as _$_alloy_js_core0 from "@alloy-js/core";
|
|
2
2
|
|
|
3
3
|
//#region src/markdown/components/front-matter.d.ts
|
|
4
4
|
interface FrontMatterProps {
|
|
@@ -9,7 +9,7 @@ interface FrontMatterProps {
|
|
|
9
9
|
*
|
|
10
10
|
* @see https://jekyllrb.com/docs/front-matter/
|
|
11
11
|
*/
|
|
12
|
-
declare function FrontMatter(props: FrontMatterProps): _alloy_js_core0.Children;
|
|
12
|
+
declare function FrontMatter(props: FrontMatterProps): _$_alloy_js_core0.Children;
|
|
13
13
|
declare type __ΩFrontMatterProps = any[];
|
|
14
14
|
//#endregion
|
|
15
15
|
export { FrontMatter, FrontMatterProps, __ΩFrontMatterProps };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"front-matter.d.cts","names":[],"sources":["../../../src/markdown/components/front-matter.tsx"],"mappings":";;;UAoBiB,gBAAA;EACf,IAAA,EAAM,MAAA;AAAA;AADR;;;;;AAAA,iBASgB,WAAA,CAAY,KAAA,EAAO,gBAAA,GAAgB,
|
|
1
|
+
{"version":3,"file":"front-matter.d.cts","names":[],"sources":["../../../src/markdown/components/front-matter.tsx"],"mappings":";;;UAoBiB,gBAAA;EACf,IAAA,EAAM,MAAA;AAAA;AADR;;;;;AAAA,iBASgB,WAAA,CAAY,KAAA,EAAO,gBAAA,GAAgB,iBAAA,CAAA,QAAA;AAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as _alloy_js_core0 from "@alloy-js/core";
|
|
1
|
+
import * as _$_alloy_js_core0 from "@alloy-js/core";
|
|
2
2
|
|
|
3
3
|
//#region src/markdown/components/front-matter.d.ts
|
|
4
4
|
interface FrontMatterProps {
|
|
@@ -9,7 +9,7 @@ interface FrontMatterProps {
|
|
|
9
9
|
*
|
|
10
10
|
* @see https://jekyllrb.com/docs/front-matter/
|
|
11
11
|
*/
|
|
12
|
-
declare function FrontMatter(props: FrontMatterProps): _alloy_js_core0.Children;
|
|
12
|
+
declare function FrontMatter(props: FrontMatterProps): _$_alloy_js_core0.Children;
|
|
13
13
|
declare type __ΩFrontMatterProps = any[];
|
|
14
14
|
//#endregion
|
|
15
15
|
export { FrontMatter, FrontMatterProps, __ΩFrontMatterProps };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"front-matter.d.mts","names":[],"sources":["../../../src/markdown/components/front-matter.tsx"],"mappings":";;;UAoBiB,gBAAA;EACf,IAAA,EAAM,MAAA;AAAA;AADR;;;;;AAAA,iBASgB,WAAA,CAAY,KAAA,EAAO,gBAAA,GAAgB,
|
|
1
|
+
{"version":3,"file":"front-matter.d.mts","names":[],"sources":["../../../src/markdown/components/front-matter.tsx"],"mappings":";;;UAoBiB,gBAAA;EACf,IAAA,EAAM,MAAA;AAAA;AADR;;;;;AAAA,iBASgB,WAAA,CAAY,KAAA,EAAO,gBAAA,GAAgB,iBAAA,CAAA,QAAA;AAAA"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
2
|
const require_runtime = require('../../_virtual/_rolldown/runtime.cjs');
|
|
3
3
|
const require_core_contexts_context = require('../../core/contexts/context.cjs');
|
|
4
|
-
const require_core_components_single_line_comment = require('../../core/components/single-line-comment.cjs');
|
|
5
4
|
const require_core_components_source_file = require('../../core/components/source-file.cjs');
|
|
5
|
+
const require_core_components_single_line_comment = require('../../core/components/single-line-comment.cjs');
|
|
6
6
|
const require_markdown_components_front_matter = require('./front-matter.cjs');
|
|
7
7
|
let _alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
|
|
8
8
|
let _alloy_js_core = require("@alloy-js/core");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComponentProps, SourceFileHeaderProps } from "../../types/components.cjs";
|
|
2
2
|
import { SourceFileProps as SourceFileProps$1 } from "../../core/components/source-file.cjs";
|
|
3
3
|
import { FrontMatterProps } from "./front-matter.cjs";
|
|
4
|
-
import * as _alloy_js_core0 from "@alloy-js/core";
|
|
4
|
+
import * as _$_alloy_js_core0 from "@alloy-js/core";
|
|
5
5
|
|
|
6
6
|
//#region src/markdown/components/markdown-file.d.ts
|
|
7
7
|
type MarkdownFileProps = Omit<SourceFileProps$1, "filetype"> & ComponentProps & MarkdownFileHeaderProps;
|
|
@@ -11,7 +11,7 @@ type MarkdownFileProps = Omit<SourceFileProps$1, "filetype"> & ComponentProps &
|
|
|
11
11
|
* @param props - The properties for the source file.
|
|
12
12
|
* @returns The rendered source file component.
|
|
13
13
|
*/
|
|
14
|
-
declare function MarkdownFile(props: MarkdownFileProps): _alloy_js_core0.Children;
|
|
14
|
+
declare function MarkdownFile(props: MarkdownFileProps): _$_alloy_js_core0.Children;
|
|
15
15
|
type MarkdownFileHeaderProps = SourceFileHeaderProps & {
|
|
16
16
|
frontMatter?: FrontMatterProps["data"];
|
|
17
17
|
};
|
|
@@ -21,7 +21,7 @@ type MarkdownFileHeaderProps = SourceFileHeaderProps & {
|
|
|
21
21
|
* @param props - The properties for the source file header.
|
|
22
22
|
* @returns The rendered source file header.
|
|
23
23
|
*/
|
|
24
|
-
declare function MarkdownFileHeader(props: MarkdownFileHeaderProps): _alloy_js_core0.Children;
|
|
24
|
+
declare function MarkdownFileHeader(props: MarkdownFileHeaderProps): _$_alloy_js_core0.Children;
|
|
25
25
|
declare type __ΩMarkdownFileProps = any[];
|
|
26
26
|
declare type __ΩMarkdownFileHeaderProps = any[];
|
|
27
27
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"markdown-file.d.cts","names":[],"sources":["../../../src/markdown/components/markdown-file.tsx"],"mappings":";;;;;;KA6BY,iBAAA,GAAoB,IAAA,CAAK,iBAAA,gBACnC,cAAA,GACA,uBAAA;;;AAFF;;;;iBAUgB,YAAA,CAAa,KAAA,EAAO,iBAAA,GAAiB,
|
|
1
|
+
{"version":3,"file":"markdown-file.d.cts","names":[],"sources":["../../../src/markdown/components/markdown-file.tsx"],"mappings":";;;;;;KA6BY,iBAAA,GAAoB,IAAA,CAAK,iBAAA,gBACnC,cAAA,GACA,uBAAA;;;AAFF;;;;iBAUgB,YAAA,CAAa,KAAA,EAAO,iBAAA,GAAiB,iBAAA,CAAA,QAAA;AAAA,KAmBzC,uBAAA,GAA0B,qBAAA;EACpC,WAAA,GAAc,gBAAA;AAAA;;;;;;;iBASA,kBAAA,CAAmB,KAAA,EAAO,uBAAA,GAAuB,iBAAA,CAAA,QAAA;AAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComponentProps, SourceFileHeaderProps } from "../../types/components.mjs";
|
|
2
2
|
import { SourceFileProps as SourceFileProps$1 } from "../../core/components/source-file.mjs";
|
|
3
3
|
import { FrontMatterProps } from "./front-matter.mjs";
|
|
4
|
-
import * as _alloy_js_core0 from "@alloy-js/core";
|
|
4
|
+
import * as _$_alloy_js_core0 from "@alloy-js/core";
|
|
5
5
|
|
|
6
6
|
//#region src/markdown/components/markdown-file.d.ts
|
|
7
7
|
type MarkdownFileProps = Omit<SourceFileProps$1, "filetype"> & ComponentProps & MarkdownFileHeaderProps;
|
|
@@ -11,7 +11,7 @@ type MarkdownFileProps = Omit<SourceFileProps$1, "filetype"> & ComponentProps &
|
|
|
11
11
|
* @param props - The properties for the source file.
|
|
12
12
|
* @returns The rendered source file component.
|
|
13
13
|
*/
|
|
14
|
-
declare function MarkdownFile(props: MarkdownFileProps): _alloy_js_core0.Children;
|
|
14
|
+
declare function MarkdownFile(props: MarkdownFileProps): _$_alloy_js_core0.Children;
|
|
15
15
|
type MarkdownFileHeaderProps = SourceFileHeaderProps & {
|
|
16
16
|
frontMatter?: FrontMatterProps["data"];
|
|
17
17
|
};
|
|
@@ -21,7 +21,7 @@ type MarkdownFileHeaderProps = SourceFileHeaderProps & {
|
|
|
21
21
|
* @param props - The properties for the source file header.
|
|
22
22
|
* @returns The rendered source file header.
|
|
23
23
|
*/
|
|
24
|
-
declare function MarkdownFileHeader(props: MarkdownFileHeaderProps): _alloy_js_core0.Children;
|
|
24
|
+
declare function MarkdownFileHeader(props: MarkdownFileHeaderProps): _$_alloy_js_core0.Children;
|
|
25
25
|
declare type __ΩMarkdownFileProps = any[];
|
|
26
26
|
declare type __ΩMarkdownFileHeaderProps = any[];
|
|
27
27
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"markdown-file.d.mts","names":[],"sources":["../../../src/markdown/components/markdown-file.tsx"],"mappings":";;;;;;KA6BY,iBAAA,GAAoB,IAAA,CAAK,iBAAA,gBACnC,cAAA,GACA,uBAAA;;;AAFF;;;;iBAUgB,YAAA,CAAa,KAAA,EAAO,iBAAA,GAAiB,
|
|
1
|
+
{"version":3,"file":"markdown-file.d.mts","names":[],"sources":["../../../src/markdown/components/markdown-file.tsx"],"mappings":";;;;;;KA6BY,iBAAA,GAAoB,IAAA,CAAK,iBAAA,gBACnC,cAAA,GACA,uBAAA;;;AAFF;;;;iBAUgB,YAAA,CAAa,KAAA,EAAO,iBAAA,GAAiB,iBAAA,CAAA,QAAA;AAAA,KAmBzC,uBAAA,GAA0B,qBAAA;EACpC,WAAA,GAAc,gBAAA;AAAA;;;;;;;iBASA,kBAAA,CAAmB,KAAA,EAAO,uBAAA,GAAuB,iBAAA,CAAA,QAAA;AAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { usePowerlinesSafe } from "../../core/contexts/context.mjs";
|
|
2
|
-
import { SingleLineComment } from "../../core/components/single-line-comment.mjs";
|
|
3
2
|
import { SourceFile } from "../../core/components/source-file.mjs";
|
|
3
|
+
import { SingleLineComment } from "../../core/components/single-line-comment.mjs";
|
|
4
4
|
import { FrontMatter } from "./front-matter.mjs";
|
|
5
5
|
import { createComponent, createIntrinsic, memo, mergeProps } from "@alloy-js/core/jsx-runtime";
|
|
6
6
|
import { Show, splitProps } from "@alloy-js/core";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentProps } from "../../types/components.cjs";
|
|
2
2
|
import { MarkdownTableColumnContextInterface } from "../contexts/markdown-table.cjs";
|
|
3
|
-
import * as _alloy_js_core0 from "@alloy-js/core";
|
|
3
|
+
import * as _$_alloy_js_core0 from "@alloy-js/core";
|
|
4
4
|
|
|
5
5
|
//#region src/markdown/components/markdown-table.d.ts
|
|
6
6
|
interface MarkdownTableProps<T extends Record<string, any> = Record<string, any>> extends ComponentProps {
|
|
@@ -9,18 +9,18 @@ interface MarkdownTableProps<T extends Record<string, any> = Record<string, any>
|
|
|
9
9
|
/**
|
|
10
10
|
* Component that provides a context for rendering markdown tables.
|
|
11
11
|
*/
|
|
12
|
-
declare function MarkdownTable<T extends Record<string, any> = Record<string, any>>(props: MarkdownTableProps<T>): _alloy_js_core0.Children;
|
|
12
|
+
declare function MarkdownTable<T extends Record<string, any> = Record<string, any>>(props: MarkdownTableProps<T>): _$_alloy_js_core0.Children;
|
|
13
13
|
type MarkdownTableColumnProps = ComponentProps & Partial<Pick<MarkdownTableColumnContextInterface, "align">> & Required<Pick<MarkdownTableColumnContextInterface, "name">> & {
|
|
14
14
|
width?: number;
|
|
15
15
|
};
|
|
16
16
|
/**
|
|
17
17
|
* Component that provides a context for rendering markdown tables.
|
|
18
18
|
*/
|
|
19
|
-
declare function MarkdownTableColumn(props: MarkdownTableColumnProps): _alloy_js_core0.Children;
|
|
19
|
+
declare function MarkdownTableColumn(props: MarkdownTableColumnProps): _$_alloy_js_core0.Children;
|
|
20
20
|
/**
|
|
21
21
|
* Component that provides a context for rendering markdown tables.
|
|
22
22
|
*/
|
|
23
|
-
declare function MarkdownTableColumnHeader(props: MarkdownTableColumnProps): _alloy_js_core0.Children;
|
|
23
|
+
declare function MarkdownTableColumnHeader(props: MarkdownTableColumnProps): _$_alloy_js_core0.Children;
|
|
24
24
|
declare type __ΩMarkdownTableProps = any[];
|
|
25
25
|
declare type __ΩMarkdownTableColumnProps = any[];
|
|
26
26
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"markdown-table.d.cts","names":[],"sources":["../../../src/markdown/components/markdown-table.tsx"],"mappings":";;;;;UA4BiB,kBAAA,WACL,MAAA,gBAAsB,MAAA,uBACxB,cAAA;EACR,IAAA,EAAM,CAAA;AAAA;AAHR;;;AAAA,iBASgB,aAAA,WACJ,MAAA,gBAAsB,MAAA,cAAA,CAChC,KAAA,EAAO,kBAAA,CAAmB,CAAA,IAAD,
|
|
1
|
+
{"version":3,"file":"markdown-table.d.cts","names":[],"sources":["../../../src/markdown/components/markdown-table.tsx"],"mappings":";;;;;UA4BiB,kBAAA,WACL,MAAA,gBAAsB,MAAA,uBACxB,cAAA;EACR,IAAA,EAAM,CAAA;AAAA;AAHR;;;AAAA,iBASgB,aAAA,WACJ,MAAA,gBAAsB,MAAA,cAAA,CAChC,KAAA,EAAO,kBAAA,CAAmB,CAAA,IAAD,iBAAA,CAAG,QAAA;AAAA,KAmBlB,wBAAA,GAA2B,cAAA,GACrC,OAAA,CAAQ,IAAA,CAAK,mCAAA,cACb,QAAA,CAAS,IAAA,CAAK,mCAAA;EACZ,KAAA;AAAA;;;;iBAMY,mBAAA,CAAoB,KAAA,EAAO,wBAAA,GAAwB,iBAAA,CAAA,QAAA;;;;iBA6CnD,yBAAA,CAA0B,KAAA,EAAO,wBAAA,GAAwB,iBAAA,CAAA,QAAA;AAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentProps } from "../../types/components.mjs";
|
|
2
2
|
import { MarkdownTableColumnContextInterface } from "../contexts/markdown-table.mjs";
|
|
3
|
-
import * as _alloy_js_core0 from "@alloy-js/core";
|
|
3
|
+
import * as _$_alloy_js_core0 from "@alloy-js/core";
|
|
4
4
|
|
|
5
5
|
//#region src/markdown/components/markdown-table.d.ts
|
|
6
6
|
interface MarkdownTableProps<T extends Record<string, any> = Record<string, any>> extends ComponentProps {
|
|
@@ -9,18 +9,18 @@ interface MarkdownTableProps<T extends Record<string, any> = Record<string, any>
|
|
|
9
9
|
/**
|
|
10
10
|
* Component that provides a context for rendering markdown tables.
|
|
11
11
|
*/
|
|
12
|
-
declare function MarkdownTable<T extends Record<string, any> = Record<string, any>>(props: MarkdownTableProps<T>): _alloy_js_core0.Children;
|
|
12
|
+
declare function MarkdownTable<T extends Record<string, any> = Record<string, any>>(props: MarkdownTableProps<T>): _$_alloy_js_core0.Children;
|
|
13
13
|
type MarkdownTableColumnProps = ComponentProps & Partial<Pick<MarkdownTableColumnContextInterface, "align">> & Required<Pick<MarkdownTableColumnContextInterface, "name">> & {
|
|
14
14
|
width?: number;
|
|
15
15
|
};
|
|
16
16
|
/**
|
|
17
17
|
* Component that provides a context for rendering markdown tables.
|
|
18
18
|
*/
|
|
19
|
-
declare function MarkdownTableColumn(props: MarkdownTableColumnProps): _alloy_js_core0.Children;
|
|
19
|
+
declare function MarkdownTableColumn(props: MarkdownTableColumnProps): _$_alloy_js_core0.Children;
|
|
20
20
|
/**
|
|
21
21
|
* Component that provides a context for rendering markdown tables.
|
|
22
22
|
*/
|
|
23
|
-
declare function MarkdownTableColumnHeader(props: MarkdownTableColumnProps): _alloy_js_core0.Children;
|
|
23
|
+
declare function MarkdownTableColumnHeader(props: MarkdownTableColumnProps): _$_alloy_js_core0.Children;
|
|
24
24
|
declare type __ΩMarkdownTableProps = any[];
|
|
25
25
|
declare type __ΩMarkdownTableColumnProps = any[];
|
|
26
26
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"markdown-table.d.mts","names":[],"sources":["../../../src/markdown/components/markdown-table.tsx"],"mappings":";;;;;UA4BiB,kBAAA,WACL,MAAA,gBAAsB,MAAA,uBACxB,cAAA;EACR,IAAA,EAAM,CAAA;AAAA;AAHR;;;AAAA,iBASgB,aAAA,WACJ,MAAA,gBAAsB,MAAA,cAAA,CAChC,KAAA,EAAO,kBAAA,CAAmB,CAAA,IAAD,
|
|
1
|
+
{"version":3,"file":"markdown-table.d.mts","names":[],"sources":["../../../src/markdown/components/markdown-table.tsx"],"mappings":";;;;;UA4BiB,kBAAA,WACL,MAAA,gBAAsB,MAAA,uBACxB,cAAA;EACR,IAAA,EAAM,CAAA;AAAA;AAHR;;;AAAA,iBASgB,aAAA,WACJ,MAAA,gBAAsB,MAAA,cAAA,CAChC,KAAA,EAAO,kBAAA,CAAmB,CAAA,IAAD,iBAAA,CAAG,QAAA;AAAA,KAmBlB,wBAAA,GAA2B,cAAA,GACrC,OAAA,CAAQ,IAAA,CAAK,mCAAA,cACb,QAAA,CAAS,IAAA,CAAK,mCAAA;EACZ,KAAA;AAAA;;;;iBAMY,mBAAA,CAAoB,KAAA,EAAO,wBAAA,GAAwB,iBAAA,CAAA,QAAA;;;;iBA6CnD,yBAAA,CAA0B,KAAA,EAAO,wBAAA,GAAwB,iBAAA,CAAA,QAAA;AAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TSDocModuleProps } from "./tsdoc.cjs";
|
|
2
2
|
import { TypescriptFileProps } from "./typescript-file.cjs";
|
|
3
|
-
import * as _alloy_js_core0 from "@alloy-js/core";
|
|
3
|
+
import * as _$_alloy_js_core0 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): _alloy_js_core0.Children;
|
|
31
|
+
declare function BuiltinFile(props: BuiltinFileProps): _$_alloy_js_core0.Children;
|
|
32
32
|
declare type __ΩBuiltinFileProps = any[];
|
|
33
33
|
//#endregion
|
|
34
34
|
export { BuiltinFile, BuiltinFileProps, __ΩBuiltinFileProps };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"builtin-file.d.cts","names":[],"sources":["../../../src/typescript/components/builtin-file.tsx"],"mappings":";;;;;KAgCY,gBAAA,GAAmB,IAAA,CAAK,mBAAA,YAClC,IAAA,CAAK,gBAAA;;;AADP;;;;EAQI,EAAA;EAPG;;;EAYH,WAAA;EAb2B;;;;;EAoB3B,GAAA;AAAA;;;AASJ;;;;iBAAgB,WAAA,CAAY,KAAA,EAAO,gBAAA,GAAgB,
|
|
1
|
+
{"version":3,"file":"builtin-file.d.cts","names":[],"sources":["../../../src/typescript/components/builtin-file.tsx"],"mappings":";;;;;KAgCY,gBAAA,GAAmB,IAAA,CAAK,mBAAA,YAClC,IAAA,CAAK,gBAAA;;;AADP;;;;EAQI,EAAA;EAPG;;;EAYH,WAAA;EAb2B;;;;;EAoB3B,GAAA;AAAA;;;AASJ;;;;iBAAgB,WAAA,CAAY,KAAA,EAAO,gBAAA,GAAgB,iBAAA,CAAA,QAAA;AAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TSDocModuleProps } from "./tsdoc.mjs";
|
|
2
2
|
import { TypescriptFileProps } from "./typescript-file.mjs";
|
|
3
|
-
import * as _alloy_js_core0 from "@alloy-js/core";
|
|
3
|
+
import * as _$_alloy_js_core0 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): _alloy_js_core0.Children;
|
|
31
|
+
declare function BuiltinFile(props: BuiltinFileProps): _$_alloy_js_core0.Children;
|
|
32
32
|
declare type __ΩBuiltinFileProps = any[];
|
|
33
33
|
//#endregion
|
|
34
34
|
export { BuiltinFile, BuiltinFileProps, __ΩBuiltinFileProps };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"builtin-file.d.mts","names":[],"sources":["../../../src/typescript/components/builtin-file.tsx"],"mappings":";;;;;KAgCY,gBAAA,GAAmB,IAAA,CAAK,mBAAA,YAClC,IAAA,CAAK,gBAAA;;;AADP;;;;EAQI,EAAA;EAPG;;;EAYH,WAAA;EAb2B;;;;;EAoB3B,GAAA;AAAA;;;AASJ;;;;iBAAgB,WAAA,CAAY,KAAA,EAAO,gBAAA,GAAgB,
|
|
1
|
+
{"version":3,"file":"builtin-file.d.mts","names":[],"sources":["../../../src/typescript/components/builtin-file.tsx"],"mappings":";;;;;KAgCY,gBAAA,GAAmB,IAAA,CAAK,mBAAA,YAClC,IAAA,CAAK,gBAAA;;;AADP;;;;EAQI,EAAA;EAPG;;;EAYH,WAAA;EAb2B;;;;;EAoB3B,GAAA;AAAA;;;AASJ;;;;iBAAgB,WAAA,CAAY,KAAA,EAAO,gBAAA,GAAgB,iBAAA,CAAA,QAAA;AAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as _alloy_js_core0 from "@alloy-js/core";
|
|
1
|
+
import * as _$_alloy_js_core0 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): _alloy_js_core0.Children;
|
|
29
|
+
declare function DynamicImportStatement(props: DynamicImportStatementProps): _$_alloy_js_core0.Children;
|
|
30
30
|
declare type __ΩDynamicImportStatementProps = any[];
|
|
31
31
|
//#endregion
|
|
32
32
|
export { DynamicImportStatement, DynamicImportStatementProps, __ΩDynamicImportStatementProps };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dynamic-import-statement.d.cts","names":[],"sources":["../../../src/typescript/components/dynamic-import-statement.tsx"],"mappings":";;;;UAqBiB,2BAAA,SAAoC,IAAA,CACnD,mBAAA;;;AADF;EAOE,UAAA;;;;;;EAOA,UAAA;AAAA;;AAeF;;;;;;;;;;;iBAAgB,sBAAA,CAAuB,KAAA,EAAO,2BAAA,GAA2B,
|
|
1
|
+
{"version":3,"file":"dynamic-import-statement.d.cts","names":[],"sources":["../../../src/typescript/components/dynamic-import-statement.tsx"],"mappings":";;;;UAqBiB,2BAAA,SAAoC,IAAA,CACnD,mBAAA;;;AADF;EAOE,UAAA;;;;;;EAOA,UAAA;AAAA;;AAeF;;;;;;;;;;;iBAAgB,sBAAA,CAAuB,KAAA,EAAO,2BAAA,GAA2B,iBAAA,CAAA,QAAA;AAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as _alloy_js_core0 from "@alloy-js/core";
|
|
1
|
+
import * as _$_alloy_js_core0 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): _alloy_js_core0.Children;
|
|
29
|
+
declare function DynamicImportStatement(props: DynamicImportStatementProps): _$_alloy_js_core0.Children;
|
|
30
30
|
declare type __ΩDynamicImportStatementProps = any[];
|
|
31
31
|
//#endregion
|
|
32
32
|
export { DynamicImportStatement, DynamicImportStatementProps, __ΩDynamicImportStatementProps };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dynamic-import-statement.d.mts","names":[],"sources":["../../../src/typescript/components/dynamic-import-statement.tsx"],"mappings":";;;;UAqBiB,2BAAA,SAAoC,IAAA,CACnD,mBAAA;;;AADF;EAOE,UAAA;;;;;;EAOA,UAAA;AAAA;;AAeF;;;;;;;;;;;iBAAgB,sBAAA,CAAuB,KAAA,EAAO,2BAAA,GAA2B,
|
|
1
|
+
{"version":3,"file":"dynamic-import-statement.d.mts","names":[],"sources":["../../../src/typescript/components/dynamic-import-statement.tsx"],"mappings":";;;;UAqBiB,2BAAA,SAAoC,IAAA,CACnD,mBAAA;;;AADF;EAOE,UAAA;;;;;;EAOA,UAAA;AAAA;;AAeF;;;;;;;;;;;iBAAgB,sBAAA,CAAuB,KAAA,EAAO,2BAAA,GAA2B,iBAAA,CAAA,QAAA;AAAA"}
|
|
@@ -6,9 +6,9 @@ let _stryke_path_file_path_fns = require("@stryke/path/file-path-fns");
|
|
|
6
6
|
let _alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
|
|
7
7
|
let _alloy_js_core = require("@alloy-js/core");
|
|
8
8
|
let _stryke_path_append = require("@stryke/path/append");
|
|
9
|
+
let _stryke_path_replace = require("@stryke/path/replace");
|
|
9
10
|
let defu = require("defu");
|
|
10
11
|
defu = require_runtime.__toESM(defu);
|
|
11
|
-
let _stryke_path_replace = require("@stryke/path/replace");
|
|
12
12
|
let _stryke_type_checks_is_set = require("@stryke/type-checks/is-set");
|
|
13
13
|
|
|
14
14
|
//#region src/typescript/components/entry-file.tsx
|