@powerlines/plugin-alloy 0.19.21 → 0.19.22
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-CnpVr7_0.d.cts → builtin-file-BEI8BoX1.d.cts} +4 -4
- package/dist/{builtin-file-xc-QSTiJ.d.mts.map → builtin-file-BEI8BoX1.d.cts.map} +1 -1
- package/dist/{builtin-file-PDckmfzE.d.cts → builtin-file-BT9X6yL5.d.cts} +3 -3
- package/dist/{builtin-file-CnpVr7_0.d.cts.map → builtin-file-BT9X6yL5.d.cts.map} +1 -1
- package/dist/{builtin-file-xc-QSTiJ.d.mts → builtin-file-q7bTHn0Z.d.mts} +3 -3
- package/dist/{builtin-file-PDckmfzE.d.cts.map → builtin-file-q7bTHn0Z.d.mts.map} +1 -1
- package/dist/{dynamic-import-statement-kxVxtCBQ.d.cts → dynamic-import-statement-BgLOAe4B.d.cts} +3 -3
- package/dist/{dynamic-import-statement-DSNDMC9Y.d.mts.map → dynamic-import-statement-BgLOAe4B.d.cts.map} +1 -1
- package/dist/{dynamic-import-statement-DSNDMC9Y.d.mts → dynamic-import-statement-CVIYwXyi.d.mts} +3 -3
- package/dist/{dynamic-import-statement-kxVxtCBQ.d.cts.map → dynamic-import-statement-CVIYwXyi.d.mts.map} +1 -1
- package/dist/dynamic-import-statement-DY4P85VU.d.cts +33 -0
- package/dist/dynamic-import-statement-DY4P85VU.d.cts.map +1 -0
- package/dist/{entry-file-1NnKc2YT.d.cts → entry-file-BSeZ8v1a.d.cts} +3 -3
- package/dist/{entry-file-1NnKc2YT.d.cts.map → entry-file-BSeZ8v1a.d.cts.map} +1 -1
- package/dist/{entry-file-CmJcd0C4.d.mts → entry-file-DX0kQrYj.d.mts} +3 -3
- package/dist/{entry-file-CmJcd0C4.d.mts.map → entry-file-DX0kQrYj.d.mts.map} +1 -1
- package/dist/{entry-file-D5chvp2V.d.cts → entry-file-DxkNlpQK.d.cts} +4 -4
- package/dist/{entry-file-Cu4-ISnT.d.mts.map → entry-file-DxkNlpQK.d.cts.map} +1 -1
- package/dist/{entry-file-Cu4-ISnT.d.mts → entry-file-MuGUgxSQ.d.mts} +3 -3
- package/dist/{entry-file-D5chvp2V.d.cts.map → entry-file-MuGUgxSQ.d.mts.map} +1 -1
- package/dist/{front-matter-CXfCT8a8.d.mts → front-matter-C2cMS2sE.d.cts} +3 -3
- package/dist/{front-matter-CXfCT8a8.d.mts.map → front-matter-C2cMS2sE.d.cts.map} +1 -1
- package/dist/{front-matter-DTorR58b.d.cts → front-matter-C6N64d5-.d.mts} +3 -3
- package/dist/{front-matter-DTorR58b.d.cts.map → front-matter-C6N64d5-.d.mts.map} +1 -1
- package/dist/front-matter-UYbPe74h.d.mts +16 -0
- package/dist/front-matter-UYbPe74h.d.mts.map +1 -0
- package/dist/index.cjs +2 -4
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +2 -4
- package/dist/index.mjs.map +1 -1
- package/dist/markdown/components/front-matter.d.mts +1 -1
- package/dist/markdown/components/index.d.mts +2 -2
- package/dist/markdown/components/markdown-file.d.mts +2 -2
- package/dist/markdown/index.d.mts +2 -2
- package/dist/{markdown-file-DIzN9Gvv.d.cts → markdown-file-C3CmylQL.d.cts} +6 -6
- package/dist/{markdown-file-BlCHLUUm.d.mts.map → markdown-file-C3CmylQL.d.cts.map} +1 -1
- package/dist/{markdown-file-BlCHLUUm.d.mts → markdown-file-CDmAJ44K.d.mts} +5 -5
- package/dist/{markdown-file-DIzN9Gvv.d.cts.map → markdown-file-CDmAJ44K.d.mts.map} +1 -1
- package/dist/{markdown-file-T8cRtyd8.d.mts → markdown-file-xY2HcIWY.d.mts} +2 -2
- package/dist/{markdown-file-T8cRtyd8.d.mts.map → markdown-file-xY2HcIWY.d.mts.map} +1 -1
- package/dist/{markdown-table-Bc1owEry.d.cts → markdown-table-BVtAeDoa.d.mts} +3 -3
- package/dist/{markdown-table-Bc1owEry.d.cts.map → markdown-table-BVtAeDoa.d.mts.map} +1 -1
- package/dist/markdown-table-Dx1oH0jF.d.cts +28 -0
- package/dist/markdown-table-Dx1oH0jF.d.cts.map +1 -0
- package/dist/{output-BDtHu7ey.d.cts → output-BpavliF2.d.cts} +3 -3
- package/dist/{output-BDtHu7ey.d.cts.map → output-BpavliF2.d.cts.map} +1 -1
- package/dist/{plugin-D3ENcdlL.d.mts → plugin-C-cbPXaG.d.cts} +2 -2
- package/dist/plugin-C-cbPXaG.d.cts.map +1 -0
- package/dist/{plugin-BxSt55Oo.d.cts → plugin-Dn0UNaQ3.d.mts} +2 -2
- package/dist/plugin-Dn0UNaQ3.d.mts.map +1 -0
- package/dist/single-line-comment-Cc9yT69w.d.cts +23 -0
- package/dist/single-line-comment-Cc9yT69w.d.cts.map +1 -0
- package/dist/{source-file-OtWS66Kr.d.cts → source-file-BQLMUvbX.d.cts} +3 -3
- package/dist/{source-file-OtWS66Kr.d.cts.map → source-file-BQLMUvbX.d.cts.map} +1 -1
- package/dist/{tsdoc-reflection-D_3kwA_m.d.cts → tsdoc-reflection-BGmCcaYs.d.cts} +5 -5
- package/dist/{tsdoc-reflection-Cak-O_qk.d.mts.map → tsdoc-reflection-BGmCcaYs.d.cts.map} +1 -1
- package/dist/{tsdoc-reflection-hz0WQ70o.d.cts → tsdoc-reflection-BY7lTu6v.d.mts} +2 -2
- package/dist/{tsdoc-reflection-D_3kwA_m.d.cts.map → tsdoc-reflection-BY7lTu6v.d.mts.map} +1 -1
- package/dist/{tsdoc-reflection-Cak-O_qk.d.mts → tsdoc-reflection-CY74veLL.d.mts} +5 -5
- package/dist/{tsdoc-reflection-hz0WQ70o.d.cts.map → tsdoc-reflection-CY74veLL.d.mts.map} +1 -1
- package/dist/tsdoc-reflection-DpF0t1Xj.d.cts +19 -0
- package/dist/tsdoc-reflection-DpF0t1Xj.d.cts.map +1 -0
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.mts +1 -1
- package/dist/types/plugin.d.cts +1 -1
- package/dist/types/plugin.d.mts +1 -1
- package/dist/typescript/components/builtin-file.d.cts +1 -1
- package/dist/typescript/components/builtin-file.d.mts +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/entry-file.d.cts +1 -1
- package/dist/typescript/components/entry-file.d.mts +1 -1
- package/dist/typescript/components/index.d.cts +4 -4
- package/dist/typescript/components/index.d.mts +6 -6
- package/dist/typescript/components/tsdoc-reflection.d.cts +1 -1
- package/dist/typescript/components/tsdoc-reflection.d.mts +1 -1
- package/dist/typescript/components/typescript-interface.d.mts +1 -1
- package/dist/typescript/components/typescript-object.d.mts +1 -1
- package/dist/typescript/index.d.cts +4 -4
- package/dist/typescript/index.d.mts +6 -6
- package/dist/{typescript-file--NT6aFEW.d.cts → typescript-file-CIErllnE.d.cts} +2 -2
- package/dist/{typescript-file--NT6aFEW.d.cts.map → typescript-file-CIErllnE.d.cts.map} +1 -1
- package/dist/{typescript-interface-CTyDcMdt.d.mts → typescript-interface-BLIUo1oa.d.mts} +4 -4
- package/dist/{typescript-interface-CTyDcMdt.d.mts.map → typescript-interface-BLIUo1oa.d.mts.map} +1 -1
- package/dist/{typescript-interface-BowohfN5.d.cts → typescript-interface-ByzRVWAD.d.mts} +3 -3
- package/dist/{typescript-interface-BowohfN5.d.cts.map → typescript-interface-ByzRVWAD.d.mts.map} +1 -1
- package/dist/{typescript-interface-DX0WJLCa.d.mts → typescript-interface-LTD6nhQZ.d.cts} +3 -3
- package/dist/{typescript-interface-DX0WJLCa.d.mts.map → typescript-interface-LTD6nhQZ.d.cts.map} +1 -1
- package/dist/{typescript-object-L2Zn4zbB.d.mts → typescript-object-DBPxpkoP.d.cts} +6 -6
- package/dist/{typescript-object-D3gccyfV.d.cts.map → typescript-object-DBPxpkoP.d.cts.map} +1 -1
- package/dist/{typescript-object-D3gccyfV.d.cts → typescript-object-DvOxbo55.d.mts} +3 -3
- package/dist/{typescript-object-L2Zn4zbB.d.mts.map → typescript-object-DvOxbo55.d.mts.map} +1 -1
- package/package.json +6 -6
- package/dist/plugin-BxSt55Oo.d.cts.map +0 -1
- package/dist/plugin-D3ENcdlL.d.mts.map +0 -1
- package/dist/typescript-object-DK3sl8cB.d.mts +0 -30
- package/dist/typescript-object-DK3sl8cB.d.mts.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h as TSDocModuleProps } from "./tsdoc-BpOXtq0v.cjs";
|
|
2
|
-
import { o as TypescriptFileProps } from "./typescript-file
|
|
3
|
-
import * as
|
|
2
|
+
import { o as TypescriptFileProps } from "./typescript-file-CIErllnE.cjs";
|
|
3
|
+
import * as _alloy_js_core14 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,8 +28,8 @@ 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_core14.Children;
|
|
32
32
|
declare type __ΩBuiltinFileProps = any[];
|
|
33
33
|
//#endregion
|
|
34
34
|
export { BuiltinFileProps as n, __ΩBuiltinFileProps as r, BuiltinFile as t };
|
|
35
|
-
//# sourceMappingURL=builtin-file-
|
|
35
|
+
//# sourceMappingURL=builtin-file-BEI8BoX1.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"builtin-file-
|
|
1
|
+
{"version":3,"file":"builtin-file-BEI8BoX1.d.cts","names":[],"sources":["../src/typescript/components/builtin-file.tsx"],"sourcesContent":[],"mappings":";;;;;KAgCY,gBAAA,GAAmB,KAAK,+BAClC,KAAK;;;AADP;;;;EACE,EAAA,EAAA,MAAA;EAAI;AA4BN;;;;;;;;;;;;;;;;iBAAgB,WAAA,QAAmB,mBAAgB,gBAAA,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h as TSDocModuleProps } from "./tsdoc-BpOXtq0v.cjs";
|
|
2
2
|
import { o as TypescriptFileProps } from "./typescript-file-BqamPJcI.cjs";
|
|
3
|
-
import * as
|
|
3
|
+
import * as _alloy_js_core14 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,8 +28,8 @@ 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_core14.Children;
|
|
32
32
|
declare type __ΩBuiltinFileProps = any[];
|
|
33
33
|
//#endregion
|
|
34
34
|
export { BuiltinFileProps as n, __ΩBuiltinFileProps as r, BuiltinFile as t };
|
|
35
|
-
//# sourceMappingURL=builtin-file-
|
|
35
|
+
//# sourceMappingURL=builtin-file-BT9X6yL5.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"builtin-file-
|
|
1
|
+
{"version":3,"file":"builtin-file-BT9X6yL5.d.cts","names":[],"sources":["../src/typescript/components/builtin-file.tsx"],"sourcesContent":[],"mappings":";;;;;KAgCY,gBAAA,GAAmB,KAAK,+BAClC,KAAK;;;AADP;;;;EACE,EAAA,EAAA,MAAA;EAAI;AA4BN;;;;;;;;;;;;;;;;iBAAgB,WAAA,QAAmB,mBAAgB,gBAAA,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h as TSDocModuleProps } from "./tsdoc-CwqGhmLe.mjs";
|
|
2
2
|
import { o as TypescriptFileProps } from "./typescript-file-dsHm_Y5Y.mjs";
|
|
3
|
-
import * as
|
|
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,8 +28,8 @@ 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 };
|
|
35
|
-
//# sourceMappingURL=builtin-file-
|
|
35
|
+
//# sourceMappingURL=builtin-file-q7bTHn0Z.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"builtin-file-
|
|
1
|
+
{"version":3,"file":"builtin-file-q7bTHn0Z.d.mts","names":[],"sources":["../src/typescript/components/builtin-file.tsx"],"sourcesContent":[],"mappings":";;;;;KAgCY,gBAAA,GAAmB,KAAK,+BAClC,KAAK;;;AADP;;;;EACE,EAAA,EAAA,MAAA;EAAI;AA4BN;;;;;;;;;;;;;;;;iBAAgB,WAAA,QAAmB,mBAAgB,gBAAA,CAAA"}
|
package/dist/{dynamic-import-statement-kxVxtCBQ.d.cts → dynamic-import-statement-BgLOAe4B.d.cts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _alloy_js_core15 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,8 +26,8 @@ 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_core15.Children;
|
|
30
30
|
declare type __ΩDynamicImportStatementProps = any[];
|
|
31
31
|
//#endregion
|
|
32
32
|
export { DynamicImportStatementProps as n, __ΩDynamicImportStatementProps as r, DynamicImportStatement as t };
|
|
33
|
-
//# sourceMappingURL=dynamic-import-statement-
|
|
33
|
+
//# sourceMappingURL=dynamic-import-statement-BgLOAe4B.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dynamic-import-statement-
|
|
1
|
+
{"version":3,"file":"dynamic-import-statement-BgLOAe4B.d.cts","names":[],"sources":["../src/typescript/components/dynamic-import-statement.tsx"],"sourcesContent":[],"mappings":";;;;UAqBiB,2BAAA,SAAoC,KACnD;;;AADF;EA6BgB,UAAA,EAAA,MAAA;;;;;;;;;;;;;;;;;;;;iBAAA,sBAAA,QAA8B,8BAA2B,gBAAA,CAAA"}
|
package/dist/{dynamic-import-statement-DSNDMC9Y.d.mts → dynamic-import-statement-CVIYwXyi.d.mts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _alloy_js_core15 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,8 +26,8 @@ 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_core15.Children;
|
|
30
30
|
declare type __ΩDynamicImportStatementProps = any[];
|
|
31
31
|
//#endregion
|
|
32
32
|
export { DynamicImportStatementProps as n, __ΩDynamicImportStatementProps as r, DynamicImportStatement as t };
|
|
33
|
-
//# sourceMappingURL=dynamic-import-statement-
|
|
33
|
+
//# sourceMappingURL=dynamic-import-statement-CVIYwXyi.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dynamic-import-statement-
|
|
1
|
+
{"version":3,"file":"dynamic-import-statement-CVIYwXyi.d.mts","names":[],"sources":["../src/typescript/components/dynamic-import-statement.tsx"],"sourcesContent":[],"mappings":";;;;UAqBiB,2BAAA,SAAoC,KACnD;;;AADF;EA6BgB,UAAA,EAAA,MAAA;;;;;;;;;;;;;;;;;;;;iBAAA,sBAAA,QAA8B,8BAA2B,gBAAA,CAAA"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import * as _alloy_js_core12 from "@alloy-js/core";
|
|
2
|
+
import { VarDeclarationProps } from "@alloy-js/typescript";
|
|
3
|
+
|
|
4
|
+
//#region src/typescript/components/dynamic-import-statement.d.ts
|
|
5
|
+
interface DynamicImportStatementProps extends Omit<VarDeclarationProps, "initializer"> {
|
|
6
|
+
/**
|
|
7
|
+
* The path of the module to import.
|
|
8
|
+
*/
|
|
9
|
+
importPath: string;
|
|
10
|
+
/**
|
|
11
|
+
* The name of the export to import from the module.
|
|
12
|
+
*
|
|
13
|
+
* @defaultValue "default"
|
|
14
|
+
*/
|
|
15
|
+
exportName?: string;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Generates a dynamic import statement for a given module path and export name.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* ```tsx
|
|
22
|
+
* <DynamicImportStatement importPath="./my-module" exportName="myExport" const={true} name="myVar" />
|
|
23
|
+
* // const myVar = await import("./my-module").then(m => m.myExport);
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* @param props - The properties for the dynamic import statement.
|
|
27
|
+
* @returns A `VarDeclaration` component representing the dynamic import statement.
|
|
28
|
+
*/
|
|
29
|
+
declare function DynamicImportStatement(props: DynamicImportStatementProps): _alloy_js_core12.Children;
|
|
30
|
+
declare type __ΩDynamicImportStatementProps = any[];
|
|
31
|
+
//#endregion
|
|
32
|
+
export { DynamicImportStatementProps as n, __ΩDynamicImportStatementProps as r, DynamicImportStatement as t };
|
|
33
|
+
//# sourceMappingURL=dynamic-import-statement-DY4P85VU.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dynamic-import-statement-DY4P85VU.d.cts","names":[],"sources":["../src/typescript/components/dynamic-import-statement.tsx"],"sourcesContent":[],"mappings":";;;;UAqBiB,2BAAA,SAAoC,KACnD;;;AADF;EA6BgB,UAAA,EAAA,MAAA;;;;;;;;;;;;;;;;;;;;iBAAA,sBAAA,QAA8B,8BAA2B,gBAAA,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { o as TypescriptFileProps } from "./typescript-file-BqamPJcI.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _alloy_js_core13 from "@alloy-js/core";
|
|
3
3
|
import { ResolvedEntryTypeDefinition } from "powerlines/types/resolved";
|
|
4
4
|
|
|
5
5
|
//#region src/typescript/components/entry-file.d.ts
|
|
@@ -21,8 +21,8 @@ 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_core13.Children;
|
|
25
25
|
declare type __ΩEntryFileProps = any[];
|
|
26
26
|
//#endregion
|
|
27
27
|
export { EntryFileProps as n, __ΩEntryFileProps as r, EntryFile as t };
|
|
28
|
-
//# sourceMappingURL=entry-file-
|
|
28
|
+
//# sourceMappingURL=entry-file-BSeZ8v1a.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entry-file-
|
|
1
|
+
{"version":3,"file":"entry-file-BSeZ8v1a.d.cts","names":[],"sources":["../src/typescript/components/entry-file.tsx"],"sourcesContent":[],"mappings":";;;;;KA4BY,cAAA,GAAiB;;;AAA7B;AAoBA;;;;;;mBATmB;;;;;;;;iBASH,SAAA,QAAiB,iBAAc,gBAAA,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { o as TypescriptFileProps } from "./typescript-file-dsHm_Y5Y.mjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _alloy_js_core14 from "@alloy-js/core";
|
|
3
3
|
import { ResolvedEntryTypeDefinition } from "powerlines/types/resolved";
|
|
4
4
|
|
|
5
5
|
//#region src/typescript/components/entry-file.d.ts
|
|
@@ -21,8 +21,8 @@ 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_core14.Children;
|
|
25
25
|
declare type __ΩEntryFileProps = any[];
|
|
26
26
|
//#endregion
|
|
27
27
|
export { EntryFileProps as n, __ΩEntryFileProps as r, EntryFile as t };
|
|
28
|
-
//# sourceMappingURL=entry-file-
|
|
28
|
+
//# sourceMappingURL=entry-file-DX0kQrYj.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entry-file-
|
|
1
|
+
{"version":3,"file":"entry-file-DX0kQrYj.d.mts","names":[],"sources":["../src/typescript/components/entry-file.tsx"],"sourcesContent":[],"mappings":";;;;;KA4BY,cAAA,GAAiB;;;AAA7B;AAoBA;;;;;;mBATmB;;;;;;;;iBASH,SAAA,QAAiB,iBAAc,gBAAA,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { o as TypescriptFileProps } from "./typescript-file
|
|
2
|
-
import * as
|
|
1
|
+
import { o as TypescriptFileProps } from "./typescript-file-CIErllnE.cjs";
|
|
2
|
+
import * as _alloy_js_core13 from "@alloy-js/core";
|
|
3
3
|
import { ResolvedEntryTypeDefinition } from "powerlines/types/resolved";
|
|
4
4
|
|
|
5
5
|
//#region src/typescript/components/entry-file.d.ts
|
|
@@ -21,8 +21,8 @@ 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_core13.Children;
|
|
25
25
|
declare type __ΩEntryFileProps = any[];
|
|
26
26
|
//#endregion
|
|
27
27
|
export { EntryFileProps as n, __ΩEntryFileProps as r, EntryFile as t };
|
|
28
|
-
//# sourceMappingURL=entry-file-
|
|
28
|
+
//# sourceMappingURL=entry-file-DxkNlpQK.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entry-file-
|
|
1
|
+
{"version":3,"file":"entry-file-DxkNlpQK.d.cts","names":[],"sources":["../src/typescript/components/entry-file.tsx"],"sourcesContent":[],"mappings":";;;;;KA4BY,cAAA,GAAiB;;;AAA7B;AAoBA;;;;;;mBATmB;;;;;;;;iBASH,SAAA,QAAiB,iBAAc,gBAAA,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { o as TypescriptFileProps } from "./typescript-file-D-HdSyYk.mjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _alloy_js_core16 from "@alloy-js/core";
|
|
3
3
|
import { ResolvedEntryTypeDefinition } from "powerlines/types/resolved";
|
|
4
4
|
|
|
5
5
|
//#region src/typescript/components/entry-file.d.ts
|
|
@@ -21,8 +21,8 @@ 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_core16.Children;
|
|
25
25
|
declare type __ΩEntryFileProps = any[];
|
|
26
26
|
//#endregion
|
|
27
27
|
export { EntryFileProps as n, __ΩEntryFileProps as r, EntryFile as t };
|
|
28
|
-
//# sourceMappingURL=entry-file-
|
|
28
|
+
//# sourceMappingURL=entry-file-MuGUgxSQ.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entry-file-
|
|
1
|
+
{"version":3,"file":"entry-file-MuGUgxSQ.d.mts","names":[],"sources":["../src/typescript/components/entry-file.tsx"],"sourcesContent":[],"mappings":";;;;;KA4BY,cAAA,GAAiB;;;AAA7B;AAoBA;;;;;;mBATmB;;;;;;;;iBASH,SAAA,QAAiB,iBAAc,gBAAA,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _alloy_js_core1 from "@alloy-js/core";
|
|
2
2
|
|
|
3
3
|
//#region src/markdown/components/front-matter.d.ts
|
|
4
4
|
interface FrontMatterProps {
|
|
@@ -9,8 +9,8 @@ interface FrontMatterProps {
|
|
|
9
9
|
*
|
|
10
10
|
* @see https://jekyllrb.com/docs/front-matter/
|
|
11
11
|
*/
|
|
12
|
-
declare function FrontMatter(props: FrontMatterProps):
|
|
12
|
+
declare function FrontMatter(props: FrontMatterProps): _alloy_js_core1.Children;
|
|
13
13
|
declare type __ΩFrontMatterProps = any[];
|
|
14
14
|
//#endregion
|
|
15
15
|
export { FrontMatterProps as n, __ΩFrontMatterProps as r, FrontMatter as t };
|
|
16
|
-
//# sourceMappingURL=front-matter-
|
|
16
|
+
//# sourceMappingURL=front-matter-C2cMS2sE.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"front-matter-
|
|
1
|
+
{"version":3,"file":"front-matter-C2cMS2sE.d.cts","names":[],"sources":["../src/markdown/components/front-matter.tsx"],"sourcesContent":[],"mappings":";;;UAoBiB,gBAAA;QACT;;AADR;AASA;;;;iBAAgB,WAAA,QAAmB,mBAAgB,eAAA,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _alloy_js_core9 from "@alloy-js/core";
|
|
2
2
|
|
|
3
3
|
//#region src/markdown/components/front-matter.d.ts
|
|
4
4
|
interface FrontMatterProps {
|
|
@@ -9,8 +9,8 @@ interface FrontMatterProps {
|
|
|
9
9
|
*
|
|
10
10
|
* @see https://jekyllrb.com/docs/front-matter/
|
|
11
11
|
*/
|
|
12
|
-
declare function FrontMatter(props: FrontMatterProps):
|
|
12
|
+
declare function FrontMatter(props: FrontMatterProps): _alloy_js_core9.Children;
|
|
13
13
|
declare type __ΩFrontMatterProps = any[];
|
|
14
14
|
//#endregion
|
|
15
15
|
export { FrontMatterProps as n, __ΩFrontMatterProps as r, FrontMatter as t };
|
|
16
|
-
//# sourceMappingURL=front-matter-
|
|
16
|
+
//# sourceMappingURL=front-matter-C6N64d5-.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"front-matter-
|
|
1
|
+
{"version":3,"file":"front-matter-C6N64d5-.d.mts","names":[],"sources":["../src/markdown/components/front-matter.tsx"],"sourcesContent":[],"mappings":";;;UAoBiB,gBAAA;QACT;;AADR;AASA;;;;iBAAgB,WAAA,QAAmB,mBAAgB,eAAA,CAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as _alloy_js_core17 from "@alloy-js/core";
|
|
2
|
+
|
|
3
|
+
//#region src/markdown/components/front-matter.d.ts
|
|
4
|
+
interface FrontMatterProps {
|
|
5
|
+
data: Record<string, any>;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Renders YAML front matter for a markdown file.
|
|
9
|
+
*
|
|
10
|
+
* @see https://jekyllrb.com/docs/front-matter/
|
|
11
|
+
*/
|
|
12
|
+
declare function FrontMatter(props: FrontMatterProps): _alloy_js_core17.Children;
|
|
13
|
+
declare type __ΩFrontMatterProps = any[];
|
|
14
|
+
//#endregion
|
|
15
|
+
export { FrontMatterProps as n, __ΩFrontMatterProps as r, FrontMatter as t };
|
|
16
|
+
//# sourceMappingURL=front-matter-UYbPe74h.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"front-matter-UYbPe74h.d.mts","names":[],"sources":["../src/markdown/components/front-matter.tsx"],"sourcesContent":[],"mappings":";;;UAoBiB,gBAAA;QACT;;AADR;AASA;;;;iBAAgB,WAAA,QAAmB,mBAAgB,gBAAA,CAAA"}
|
package/dist/index.cjs
CHANGED
|
@@ -49,7 +49,7 @@ const plugin = (options = {}) => {
|
|
|
49
49
|
order: "pre",
|
|
50
50
|
async handler() {
|
|
51
51
|
this.debug("Attaching the `render` method to the context object.");
|
|
52
|
-
this.render = async (
|
|
52
|
+
this.render = async (child) => {
|
|
53
53
|
const _self$ = this;
|
|
54
54
|
const meta = {};
|
|
55
55
|
const output = await (0, __alloy_js_core.renderAsync)((0, __alloy_js_core_jsx_runtime.createComponent)(require_meta.MetaContext.Provider, {
|
|
@@ -60,9 +60,7 @@ const plugin = (options = {}) => {
|
|
|
60
60
|
get basePath() {
|
|
61
61
|
return _self$.workspaceConfig.workspaceRoot;
|
|
62
62
|
},
|
|
63
|
-
|
|
64
|
-
return renderCallback();
|
|
65
|
-
}
|
|
63
|
+
children: child
|
|
66
64
|
});
|
|
67
65
|
}
|
|
68
66
|
}));
|
package/dist/index.d.cts
CHANGED
package/dist/index.d.mts
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -46,7 +46,7 @@ const plugin = (options = {}) => {
|
|
|
46
46
|
order: "pre",
|
|
47
47
|
async handler() {
|
|
48
48
|
this.debug("Attaching the `render` method to the context object.");
|
|
49
|
-
this.render = async (
|
|
49
|
+
this.render = async (child) => {
|
|
50
50
|
const _self$ = this;
|
|
51
51
|
const meta = {};
|
|
52
52
|
const output = await renderAsync(createComponent(MetaContext.Provider, {
|
|
@@ -57,9 +57,7 @@ const plugin = (options = {}) => {
|
|
|
57
57
|
get basePath() {
|
|
58
58
|
return _self$.workspaceConfig.workspaceRoot;
|
|
59
59
|
},
|
|
60
|
-
|
|
61
|
-
return renderCallback();
|
|
62
|
-
}
|
|
60
|
+
children: child
|
|
63
61
|
});
|
|
64
62
|
}
|
|
65
63
|
}));
|
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","names":["renderAsync","traverseOutput","rollupPlugin","StormJSON","findFileExtension","Output","MetaContext","plugin","options","name","config","debug","alloy","typescript","build","inputOptions","transform","jsx","plugins","external","configResolved","tsconfig","tsconfigJson","compilerOptions","jsxImportSource","fs","write","tsconfigFilePath","stringify","order","handler","render","
|
|
1
|
+
{"version":3,"file":"index.mjs","names":["renderAsync","traverseOutput","rollupPlugin","StormJSON","findFileExtension","Output","MetaContext","plugin","options","name","config","debug","alloy","typescript","build","inputOptions","transform","jsx","plugins","external","configResolved","tsconfig","tsconfigJson","compilerOptions","jsxImportSource","fs","write","tsconfigFilePath","stringify","order","handler","render","child","_self$","meta","output","_$createComponent","Provider","value","children","context","basePath","workspaceConfig","workspaceRoot","visitDirectory","directory","existsSync","path","mkdirSync","visitFile","file","metadata","kind","id","Error","emitBuiltinSync","contents","skipFormat","storage","extension","emitEntrySync","typeDefinition","emitSync","copySync","sourcePath"],"sources":["../src/index.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 type { Children } from \"@alloy-js/core\";\nimport { renderAsync, traverseOutput } from \"@alloy-js/core\";\nimport rollupPlugin from \"@alloy-js/rollup-plugin\";\nimport { StormJSON } from \"@stryke/json/storm-json\";\nimport { findFileExtension } from \"@stryke/path/file-path-fns\";\nimport { Plugin } from \"powerlines/types/plugin\";\nimport { Output } from \"./core/components/output\";\nimport { MetaContext, MetaItem } from \"./core/contexts/meta\";\nimport { AlloyPluginContext, AlloyPluginOptions } from \"./types/plugin\";\n\n/**\n * Alloy-js plugin for Powerlines.\n *\n * @param options - The Alloy-js plugin user configuration options.\n * @returns A Powerlines plugin that integrates Alloy-js transformations.\n */\nexport const plugin = <\n TContext extends AlloyPluginContext = AlloyPluginContext\n>(\n options: AlloyPluginOptions = {}\n) => {\n return [\n {\n name: \"alloy:config\",\n config() {\n this.debug(\n \"Updating configuration options to support Alloy-js builds.\"\n );\n\n return {\n alloy: {\n typescript: true,\n ...options\n },\n build: {\n inputOptions: {\n transform: {\n jsx: \"preserve\"\n }\n },\n plugins: [rollupPlugin()],\n external: [/^@alloy-js\\//]\n }\n };\n },\n async configResolved() {\n this.debug(\"Ensuring TypeScript configuration is set up for Alloy-js.\");\n if (\n this.tsconfig.tsconfigJson.compilerOptions?.jsx !== \"preserve\" ||\n this.tsconfig.tsconfigJson.compilerOptions?.jsxImportSource !==\n \"@alloy-js/core\"\n ) {\n this.tsconfig.tsconfigJson.compilerOptions ??= {};\n\n if (this.tsconfig.tsconfigJson.compilerOptions.jsx !== \"preserve\") {\n this.tsconfig.tsconfigJson.compilerOptions.jsx = \"preserve\";\n }\n\n if (\n this.tsconfig.tsconfigJson.compilerOptions.jsxImportSource !==\n \"@alloy-js/core\"\n ) {\n this.tsconfig.tsconfigJson.compilerOptions.jsxImportSource =\n \"@alloy-js/core\";\n }\n\n await this.fs.write(\n this.tsconfig.tsconfigFilePath,\n StormJSON.stringify(this.tsconfig.tsconfigJson)\n );\n }\n }\n },\n {\n name: \"alloy:attach-render\",\n configResolved: {\n order: \"pre\",\n async handler() {\n this.debug(\"Attaching the `render` method to the context object.\");\n\n this.render = async (child: Children) => {\n const meta = {} as Record<string, MetaItem>;\n\n const output = await renderAsync(\n <MetaContext.Provider value={meta}>\n <Output<TContext>\n context={this}\n basePath={this.workspaceConfig.workspaceRoot}>\n {child}\n </Output>\n </MetaContext.Provider>\n );\n\n this.debug(\"Processing rendered output from Alloy-js.\");\n\n await traverseOutput(output, {\n visitDirectory: directory => {\n if (this.fs.existsSync(directory.path)) {\n return;\n }\n\n this.fs.mkdirSync(directory.path);\n },\n visitFile: file => {\n if (\"contents\" in file) {\n const metadata = meta[file.path] ?? {};\n if (metadata.kind === \"builtin\") {\n if (!metadata.id) {\n throw new Error(\n `Built-in file \"${file.path}\" is missing its ID in the render metadata.`\n );\n }\n\n this.emitBuiltinSync(file.contents, metadata.id, {\n skipFormat: metadata.skipFormat,\n storage: metadata.storage,\n extension: findFileExtension(file.path)\n });\n } else if (metadata.kind === \"entry\") {\n this.emitEntrySync(file.contents, file.path, {\n skipFormat: metadata.skipFormat,\n storage: metadata.storage,\n ...(metadata.typeDefinition ?? {})\n });\n } else {\n this.emitSync(file.contents, file.path, metadata);\n }\n } else {\n this.fs.copySync(file.sourcePath, file.path);\n }\n }\n });\n };\n }\n }\n }\n ] as Plugin<TContext>[];\n};\n\nexport default plugin;\n"],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as FrontMatterProps, r as __ΩFrontMatterProps, t as FrontMatter } from "../../front-matter-
|
|
1
|
+
import { n as FrontMatterProps, r as __ΩFrontMatterProps, t as FrontMatter } from "../../front-matter-UYbPe74h.mjs";
|
|
2
2
|
export { FrontMatter, FrontMatterProps, __ΩFrontMatterProps };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../components-REdw2IIi.mjs";
|
|
2
2
|
import "../../source-file-YrHdUb8H.mjs";
|
|
3
|
-
import { n as FrontMatterProps, r as __ΩFrontMatterProps, t as FrontMatter } from "../../front-matter-
|
|
4
|
-
import { a as __ΩMarkdownFileHeaderProps, i as MarkdownFileProps, n as MarkdownFileHeader, o as __ΩMarkdownFileProps, r as MarkdownFileHeaderProps, t as MarkdownFile } from "../../markdown-file-
|
|
3
|
+
import { n as FrontMatterProps, r as __ΩFrontMatterProps, t as FrontMatter } from "../../front-matter-UYbPe74h.mjs";
|
|
4
|
+
import { a as __ΩMarkdownFileHeaderProps, i as MarkdownFileProps, n as MarkdownFileHeader, o as __ΩMarkdownFileProps, r as MarkdownFileHeaderProps, t as MarkdownFile } from "../../markdown-file-xY2HcIWY.mjs";
|
|
5
5
|
import "../../markdown-table-t6Z-cmxX.mjs";
|
|
6
6
|
import { a as MarkdownTableProps, i as MarkdownTableColumnProps, n as MarkdownTableColumn, o as __ΩMarkdownTableColumnProps, r as MarkdownTableColumnHeader, s as __ΩMarkdownTableProps, t as MarkdownTable } from "../../markdown-table-DFbl_3T_.mjs";
|
|
7
7
|
import "../../index-D13oYj4_.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../../components-REdw2IIi.mjs";
|
|
2
2
|
import "../../source-file-YrHdUb8H.mjs";
|
|
3
|
-
import "../../front-matter-
|
|
4
|
-
import { a as __ΩMarkdownFileHeaderProps, i as MarkdownFileProps, n as MarkdownFileHeader, o as __ΩMarkdownFileProps, r as MarkdownFileHeaderProps, t as MarkdownFile } from "../../markdown-file-
|
|
3
|
+
import "../../front-matter-UYbPe74h.mjs";
|
|
4
|
+
import { a as __ΩMarkdownFileHeaderProps, i as MarkdownFileProps, n as MarkdownFileHeader, o as __ΩMarkdownFileProps, r as MarkdownFileHeaderProps, t as MarkdownFile } from "../../markdown-file-xY2HcIWY.mjs";
|
|
5
5
|
export { MarkdownFile, MarkdownFileHeader, MarkdownFileHeaderProps, MarkdownFileProps, __ΩMarkdownFileHeaderProps, __ΩMarkdownFileProps };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../components-REdw2IIi.mjs";
|
|
2
2
|
import "../source-file-YrHdUb8H.mjs";
|
|
3
|
-
import { n as FrontMatterProps, r as __ΩFrontMatterProps, t as FrontMatter } from "../front-matter-
|
|
4
|
-
import { a as __ΩMarkdownFileHeaderProps, i as MarkdownFileProps, n as MarkdownFileHeader, o as __ΩMarkdownFileProps, r as MarkdownFileHeaderProps, t as MarkdownFile } from "../markdown-file-
|
|
3
|
+
import { n as FrontMatterProps, r as __ΩFrontMatterProps, t as FrontMatter } from "../front-matter-UYbPe74h.mjs";
|
|
4
|
+
import { a as __ΩMarkdownFileHeaderProps, i as MarkdownFileProps, n as MarkdownFileHeader, o as __ΩMarkdownFileProps, r as MarkdownFileHeaderProps, t as MarkdownFile } from "../markdown-file-xY2HcIWY.mjs";
|
|
5
5
|
import { a as __ΩMarkdownTableColumnContextInterface, c as useMarkdownTableColumn, i as MarkdownTableContextInterface, n as MarkdownTableColumnContextInterface, o as __ΩMarkdownTableContextInterface, r as MarkdownTableContext, s as useMarkdownTable, t as MarkdownTableColumnContext } from "../markdown-table-t6Z-cmxX.mjs";
|
|
6
6
|
import { a as MarkdownTableProps, i as MarkdownTableColumnProps, n as MarkdownTableColumn, o as __ΩMarkdownTableColumnProps, r as MarkdownTableColumnHeader, s as __ΩMarkdownTableProps, t as MarkdownTable } from "../markdown-table-DFbl_3T_.mjs";
|
|
7
7
|
import "../index-D13oYj4_.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as ComponentProps, p as SourceFileHeaderProps } from "./components-DqfyRVFO.cjs";
|
|
2
|
-
import { n as SourceFileProps$1 } from "./source-file-
|
|
3
|
-
import { n as FrontMatterProps } from "./front-matter-
|
|
4
|
-
import * as
|
|
2
|
+
import { n as SourceFileProps$1 } from "./source-file-BQLMUvbX.cjs";
|
|
3
|
+
import { n as FrontMatterProps } from "./front-matter-C2cMS2sE.cjs";
|
|
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):
|
|
14
|
+
declare function MarkdownFile(props: MarkdownFileProps): _alloy_js_core0.Children;
|
|
15
15
|
type MarkdownFileHeaderProps = SourceFileHeaderProps & {
|
|
16
16
|
frontMatter?: FrontMatterProps["data"];
|
|
17
17
|
};
|
|
@@ -21,9 +21,9 @@ 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):
|
|
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
|
|
28
28
|
export { __ΩMarkdownFileHeaderProps as a, MarkdownFileProps as i, MarkdownFileHeader as n, __ΩMarkdownFileProps as o, MarkdownFileHeaderProps as r, MarkdownFile as t };
|
|
29
|
-
//# sourceMappingURL=markdown-file-
|
|
29
|
+
//# sourceMappingURL=markdown-file-C3CmylQL.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"markdown-file-
|
|
1
|
+
{"version":3,"file":"markdown-file-C3CmylQL.d.cts","names":[],"sources":["../src/markdown/components/markdown-file.tsx"],"sourcesContent":[],"mappings":";;;;;;KA4BY,iBAAA,GAAoB,KAAK,iCACnC,iBACA;;;AAFF;;;;AAEE,iBAQc,YAAA,CARd,KAAA,EAQkC,iBARlC,CAAA,EAQmD,eAAA,CAAA,QARnD;AAAuB,KA2Bb,uBAAA,GAA0B,qBA3Bb,GAAA;EAQT,WAAA,CAAA,EAoBA,gBApBoB,CAAA,MAAA,CAAA;AAmBpC,CAAA;AAUA;;;;;;iBAAgB,kBAAA,QAA0B,0BAAuB,eAAA,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as ComponentProps, p as SourceFileHeaderProps } from "./components-REdw2IIi.mjs";
|
|
2
2
|
import { n as SourceFileProps$1 } from "./source-file-Cw1cdlHb.mjs";
|
|
3
|
-
import { n as FrontMatterProps } from "./front-matter-
|
|
4
|
-
import * as
|
|
3
|
+
import { n as FrontMatterProps } from "./front-matter-C6N64d5-.mjs";
|
|
4
|
+
import * as _alloy_js_core2 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):
|
|
14
|
+
declare function MarkdownFile(props: MarkdownFileProps): _alloy_js_core2.Children;
|
|
15
15
|
type MarkdownFileHeaderProps = SourceFileHeaderProps & {
|
|
16
16
|
frontMatter?: FrontMatterProps["data"];
|
|
17
17
|
};
|
|
@@ -21,9 +21,9 @@ 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):
|
|
24
|
+
declare function MarkdownFileHeader(props: MarkdownFileHeaderProps): _alloy_js_core2.Children;
|
|
25
25
|
declare type __ΩMarkdownFileProps = any[];
|
|
26
26
|
declare type __ΩMarkdownFileHeaderProps = any[];
|
|
27
27
|
//#endregion
|
|
28
28
|
export { __ΩMarkdownFileHeaderProps as a, MarkdownFileProps as i, MarkdownFileHeader as n, __ΩMarkdownFileProps as o, MarkdownFileHeaderProps as r, MarkdownFile as t };
|
|
29
|
-
//# sourceMappingURL=markdown-file-
|
|
29
|
+
//# sourceMappingURL=markdown-file-CDmAJ44K.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"markdown-file-
|
|
1
|
+
{"version":3,"file":"markdown-file-CDmAJ44K.d.mts","names":[],"sources":["../src/markdown/components/markdown-file.tsx"],"sourcesContent":[],"mappings":";;;;;;KA4BY,iBAAA,GAAoB,KAAK,iCACnC,iBACA;;;AAFF;;;;AAEE,iBAQc,YAAA,CARd,KAAA,EAQkC,iBARlC,CAAA,EAQmD,eAAA,CAAA,QARnD;AAAuB,KA2Bb,uBAAA,GAA0B,qBA3Bb,GAAA;EAQT,WAAA,CAAA,EAoBA,gBApBoB,CAAA,MAAA,CAAA;AAmBpC,CAAA;AAUA;;;;;;iBAAgB,kBAAA,QAA0B,0BAAuB,eAAA,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as ComponentProps, p as SourceFileHeaderProps } from "./components-REdw2IIi.mjs";
|
|
2
2
|
import { n as SourceFileProps$1 } from "./source-file-YrHdUb8H.mjs";
|
|
3
|
-
import { n as FrontMatterProps } from "./front-matter-
|
|
3
|
+
import { n as FrontMatterProps } from "./front-matter-UYbPe74h.mjs";
|
|
4
4
|
import * as _alloy_js_core5 from "@alloy-js/core";
|
|
5
5
|
|
|
6
6
|
//#region src/markdown/components/markdown-file.d.ts
|
|
@@ -26,4 +26,4 @@ declare type __ΩMarkdownFileProps = any[];
|
|
|
26
26
|
declare type __ΩMarkdownFileHeaderProps = any[];
|
|
27
27
|
//#endregion
|
|
28
28
|
export { __ΩMarkdownFileHeaderProps as a, MarkdownFileProps as i, MarkdownFileHeader as n, __ΩMarkdownFileProps as o, MarkdownFileHeaderProps as r, MarkdownFile as t };
|
|
29
|
-
//# sourceMappingURL=markdown-file-
|
|
29
|
+
//# sourceMappingURL=markdown-file-xY2HcIWY.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"markdown-file-
|
|
1
|
+
{"version":3,"file":"markdown-file-xY2HcIWY.d.mts","names":[],"sources":["../src/markdown/components/markdown-file.tsx"],"sourcesContent":[],"mappings":";;;;;;KA4BY,iBAAA,GAAoB,KAAK,iCACnC,iBACA;;;AAFF;;;;AAEE,iBAQc,YAAA,CARd,KAAA,EAQkC,iBARlC,CAAA,EAQmD,eAAA,CAAA,QARnD;AAAuB,KA2Bb,uBAAA,GAA0B,qBA3Bb,GAAA;EAQT,WAAA,CAAA,EAoBA,gBApBoB,CAAA,MAAA,CAAA;AAmBpC,CAAA;AAUA;;;;;;iBAAgB,kBAAA,QAA0B,0BAAuB,eAAA,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as ComponentProps } from "./components-
|
|
2
|
-
import { n as MarkdownTableColumnContextInterface } from "./markdown-table-
|
|
1
|
+
import { n as ComponentProps } from "./components-REdw2IIi.mjs";
|
|
2
|
+
import { n as MarkdownTableColumnContextInterface } from "./markdown-table-t6Z-cmxX.mjs";
|
|
3
3
|
import * as _alloy_js_core4 from "@alloy-js/core";
|
|
4
4
|
|
|
5
5
|
//#region src/markdown/components/markdown-table.d.ts
|
|
@@ -25,4 +25,4 @@ declare type __ΩMarkdownTableProps = any[];
|
|
|
25
25
|
declare type __ΩMarkdownTableColumnProps = any[];
|
|
26
26
|
//#endregion
|
|
27
27
|
export { MarkdownTableProps as a, MarkdownTableColumnProps as i, MarkdownTableColumn as n, __ΩMarkdownTableColumnProps as o, MarkdownTableColumnHeader as r, __ΩMarkdownTableProps as s, MarkdownTable as t };
|
|
28
|
-
//# sourceMappingURL=markdown-table-
|
|
28
|
+
//# sourceMappingURL=markdown-table-BVtAeDoa.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"markdown-table-
|
|
1
|
+
{"version":3,"file":"markdown-table-BVtAeDoa.d.mts","names":[],"sources":["../src/markdown/components/markdown-table.tsx"],"sourcesContent":[],"mappings":";;;;;UA4BiB,6BACL,sBAAsB,6BACxB;QACF;;AAHR;;;AAGQ,iBAMQ,aANR,CAAA,UAOI,MAPJ,CAAA,MAAA,EAAA,GAAA,CAAA,GAO0B,MAP1B,CAAA,MAAA,EAAA,GAAA,CAAA,CAAA,CAAA,KAAA,EAQC,kBARD,CAQoB,CARpB,CAAA,CAAA,EAQmB,eAAA,CAAG,QARtB;AADE,KA4BE,wBAAA,GAA2B,cA5B7B,GA6BR,OA7BQ,CA6BA,IA7BA,CA6BK,mCA7BL,EAAA,OAAA,CAAA,CAAA,GA8BR,QA9BQ,CA8BC,IA9BD,CA8BM,mCA9BN,EAAA,MAAA,CAAA,CAAA,GAAA;EAAc,KAAA,CAAA,EAAA,MAAA;AAOxB,CAAA;;;;AAES,iBA4BO,mBAAA,CA5BP,KAAA,EA4BkC,wBA5BlC,CAAA,EA4B0D,eAAA,CAAA,QA5B1D;;;AAmBT;AAAuC,iBAsDvB,yBAAA,CAtDuB,KAAA,EAsDU,wBAtDV,CAAA,EAsDkC,eAAA,CAAA,QAtDlC;AACxB,qCAAA,GAAA,EAAA;AAAL,2CAAA,GAAA,EAAA"}
|