@powerlines/plugin-alloy 0.19.29 → 0.19.31
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-BJwCniGZ.mjs → builtin-file-Bw1bYOCQ.mjs} +5 -5
- package/dist/{builtin-file-BJwCniGZ.mjs.map → builtin-file-Bw1bYOCQ.mjs.map} +1 -1
- package/dist/{builtin-file-BFR1F4LN.d.cts → builtin-file-DBVEIrzq.d.cts} +4 -4
- package/dist/{builtin-file-B1gDGzgo.d.mts.map → builtin-file-DBVEIrzq.d.cts.map} +1 -1
- package/dist/{builtin-file-vG9RwKpd.cjs → builtin-file-DWgYSvGi.cjs} +4 -4
- package/dist/{builtin-file-B1gDGzgo.d.mts → builtin-file-K7Mjsnci.d.mts} +3 -3
- package/dist/{builtin-file-BFR1F4LN.d.cts.map → builtin-file-K7Mjsnci.d.mts.map} +1 -1
- package/dist/{context-DIUW4n33.mjs → context-CKFN898c.mjs} +1 -1
- package/dist/{context-DIUW4n33.mjs.map → context-CKFN898c.mjs.map} +1 -1
- package/dist/core/components/index.cjs +5 -5
- package/dist/core/components/index.d.cts +3 -3
- package/dist/core/components/index.mjs +5 -5
- package/dist/core/components/output.cjs +2 -2
- package/dist/core/components/output.d.cts +1 -1
- package/dist/core/components/output.mjs +2 -2
- package/dist/core/components/single-line-comment.cjs +1 -1
- package/dist/core/components/single-line-comment.d.cts +1 -1
- package/dist/core/components/single-line-comment.mjs +1 -1
- package/dist/core/components/source-file.cjs +3 -2
- package/dist/core/components/source-file.d.cts +1 -1
- package/dist/core/components/source-file.mjs +3 -2
- package/dist/core/contexts/context.cjs +1 -1
- package/dist/core/contexts/context.mjs +1 -1
- package/dist/core/contexts/index.cjs +2 -4
- package/dist/core/contexts/index.d.cts +2 -2
- package/dist/core/contexts/index.d.mts +2 -2
- package/dist/core/contexts/index.mjs +3 -3
- package/dist/core/contexts/meta.cjs +2 -3
- package/dist/core/contexts/meta.d.cts +2 -2
- package/dist/core/contexts/meta.d.mts +2 -2
- package/dist/core/contexts/meta.mjs +3 -2
- package/dist/core/index.cjs +5 -7
- package/dist/core/index.d.cts +5 -5
- package/dist/core/index.d.mts +2 -2
- package/dist/core/index.mjs +6 -6
- package/dist/{dynamic-import-statement-BVggdOVL.mjs → dynamic-import-statement-Bqjroltk.mjs} +2 -2
- package/dist/{dynamic-import-statement-BVggdOVL.mjs.map → dynamic-import-statement-Bqjroltk.mjs.map} +1 -1
- package/dist/{dynamic-import-statement-Dy_MY_Ua.cjs → dynamic-import-statement-CQrBX87Z.cjs} +1 -1
- package/dist/{dynamic-import-statement-DpIb2rdD.d.mts → dynamic-import-statement-DAmCRVet.d.cts} +3 -3
- package/dist/{dynamic-import-statement-B-Nha_cc.d.cts.map → dynamic-import-statement-DAmCRVet.d.cts.map} +1 -1
- package/dist/{dynamic-import-statement-B-Nha_cc.d.cts → dynamic-import-statement-HRfx1nlm.d.mts} +3 -3
- package/dist/{dynamic-import-statement-DpIb2rdD.d.mts.map → dynamic-import-statement-HRfx1nlm.d.mts.map} +1 -1
- package/dist/{entry-file-GAvXcS_u.d.cts → entry-file-C8P-fdd8.d.cts} +4 -4
- package/dist/{entry-file-CsTJD3pD.d.mts.map → entry-file-C8P-fdd8.d.cts.map} +1 -1
- package/dist/{entry-file-CsTJD3pD.d.mts → entry-file-CEFpERUV.d.mts} +3 -3
- package/dist/{entry-file-GAvXcS_u.d.cts.map → entry-file-CEFpERUV.d.mts.map} +1 -1
- package/dist/{entry-file-BF1TZjhp.cjs → entry-file-CO-bFg_2.cjs} +3 -3
- package/dist/{entry-file-P5n-ofhK.mjs → entry-file-CadgbWeB.mjs} +4 -4
- package/dist/{entry-file-P5n-ofhK.mjs.map → entry-file-CadgbWeB.mjs.map} +1 -1
- package/dist/{front-matter-DKelVNPc.d.cts → front-matter-BZuLGCXi.d.mts} +3 -3
- package/dist/{front-matter-DJg5sQXt.d.mts.map → front-matter-BZuLGCXi.d.mts.map} +1 -1
- package/dist/{front-matter-Dzh6QhN-.mjs → front-matter-CEkoeaky.mjs} +2 -2
- package/dist/{front-matter-Dzh6QhN-.mjs.map → front-matter-CEkoeaky.mjs.map} +1 -1
- package/dist/{front-matter-DZ1tB-Uj.cjs → front-matter-CHooHk9R.cjs} +1 -1
- package/dist/{front-matter-DJg5sQXt.d.mts → front-matter-tYvUQe2w.d.cts} +3 -3
- package/dist/{front-matter-DKelVNPc.d.cts.map → front-matter-tYvUQe2w.d.cts.map} +1 -1
- package/dist/index.cjs +6 -13
- package/dist/index.d.cts +1 -1
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +6 -13
- package/dist/index.mjs.map +1 -1
- package/dist/markdown/components/front-matter.cjs +1 -1
- package/dist/markdown/components/front-matter.d.cts +1 -1
- package/dist/markdown/components/front-matter.d.mts +1 -1
- package/dist/markdown/components/front-matter.mjs +1 -1
- package/dist/markdown/components/index.cjs +7 -7
- package/dist/markdown/components/index.d.cts +4 -4
- package/dist/markdown/components/index.d.mts +3 -3
- package/dist/markdown/components/index.mjs +7 -7
- package/dist/markdown/components/markdown-file.cjs +6 -6
- package/dist/markdown/components/markdown-file.d.cts +3 -3
- package/dist/markdown/components/markdown-file.d.mts +2 -2
- package/dist/markdown/components/markdown-file.mjs +6 -6
- package/dist/markdown/components/markdown-table.cjs +1 -1
- package/dist/markdown/components/markdown-table.d.cts +1 -1
- package/dist/markdown/components/markdown-table.d.mts +1 -1
- package/dist/markdown/components/markdown-table.mjs +1 -1
- package/dist/markdown/index.cjs +7 -7
- package/dist/markdown/index.d.cts +4 -4
- package/dist/markdown/index.d.mts +3 -3
- package/dist/markdown/index.mjs +7 -7
- package/dist/{markdown-file-DWeJtKKH.d.mts → markdown-file-BEUAWPHg.d.mts} +5 -5
- package/dist/{markdown-file-C73TqB1_.d.cts.map → markdown-file-BEUAWPHg.d.mts.map} +1 -1
- package/dist/{markdown-file-C73TqB1_.d.cts → markdown-file-C-b4PJoF.d.cts} +6 -6
- package/dist/{markdown-file-DWeJtKKH.d.mts.map → markdown-file-C-b4PJoF.d.cts.map} +1 -1
- package/dist/{markdown-file-DmarbNrj.mjs → markdown-file-RKe2FbuF.mjs} +6 -6
- package/dist/{markdown-file-DmarbNrj.mjs.map → markdown-file-RKe2FbuF.mjs.map} +1 -1
- package/dist/{markdown-file-BDzUAptw.cjs → markdown-file-ea7OzK-k.cjs} +5 -5
- package/dist/{markdown-table-C6oF18GU.d.mts → markdown-table-75TAAul6.d.mts} +5 -5
- package/dist/{markdown-table-C6oF18GU.d.mts.map → markdown-table-75TAAul6.d.mts.map} +1 -1
- package/dist/{markdown-table-C_kG5G4f.d.cts → markdown-table-Bq35u0iA.d.cts} +5 -5
- package/dist/{markdown-table-C_kG5G4f.d.cts.map → markdown-table-Bq35u0iA.d.cts.map} +1 -1
- package/dist/{markdown-table-CRVCcmmS.mjs → markdown-table-C_Hf6eBe.mjs} +2 -2
- package/dist/{markdown-table-CRVCcmmS.mjs.map → markdown-table-C_Hf6eBe.mjs.map} +1 -1
- package/dist/{markdown-table-eTnxxb46.cjs → markdown-table-Cgk4CzYe.cjs} +1 -1
- package/dist/{meta-vNWUnnLO.mjs → meta-B_DjEFR_.cjs} +14 -16
- package/dist/{meta-CyClLk1y.d.mts → meta-CW_VzTrH.d.cts} +2 -13
- package/dist/meta-CW_VzTrH.d.cts.map +1 -0
- package/dist/{meta-xgVuv08y.d.cts → meta-Cx5Eo5XM.d.mts} +2 -13
- package/dist/meta-Cx5Eo5XM.d.mts.map +1 -0
- package/dist/meta-nicfM4rP.mjs +25 -0
- package/dist/meta-nicfM4rP.mjs.map +1 -0
- package/dist/{output-CUxfvVVp.mjs → output-BfyCbY3q.mjs} +3 -3
- package/dist/{output-CUxfvVVp.mjs.map → output-BfyCbY3q.mjs.map} +1 -1
- package/dist/{output-aBu35Yi8.d.cts → output-D2_r5fQS.d.cts} +3 -3
- package/dist/{output-aBu35Yi8.d.cts.map → output-D2_r5fQS.d.cts.map} +1 -1
- package/dist/{output-Ck9L8v3E.cjs → output-Do5udygo.cjs} +2 -2
- package/dist/{plugin-aN6BnM8T.d.cts → plugin-CPRkKBy2.d.cts} +33 -2
- package/dist/plugin-CPRkKBy2.d.cts.map +1 -0
- package/dist/{plugin-c-C_CW4P.d.mts → plugin-D459iJ5d.d.mts} +33 -2
- package/dist/plugin-D459iJ5d.d.mts.map +1 -0
- package/dist/reflection-CAz7PWzK.d.mts.map +1 -1
- package/dist/{single-line-comment-Fbi6KSVW.d.cts → single-line-comment-B0sVqs7Q.d.cts} +3 -3
- package/dist/{single-line-comment-Fbi6KSVW.d.cts.map → single-line-comment-B0sVqs7Q.d.cts.map} +1 -1
- package/dist/{single-line-comment-CGkTdNez.mjs → single-line-comment-BrU33od6.mjs} +2 -2
- package/dist/{single-line-comment-CGkTdNez.mjs.map → single-line-comment-BrU33od6.mjs.map} +1 -1
- package/dist/{single-line-comment-DvU69OGj.cjs → single-line-comment-Ch8k9S0E.cjs} +1 -1
- package/dist/{source-file-C8ntga6V.cjs → source-file-BVPcj5P1.cjs} +2 -2
- package/dist/{source-file-DJot_Dm_.d.cts → source-file-Bhx5nuCf.d.cts} +3 -3
- package/dist/{source-file-DJot_Dm_.d.cts.map → source-file-Bhx5nuCf.d.cts.map} +1 -1
- package/dist/{source-file-C2DlmRUm.mjs → source-file-xG4WodHS.mjs} +3 -3
- package/dist/{source-file-C2DlmRUm.mjs.map → source-file-xG4WodHS.mjs.map} +1 -1
- package/dist/{tsdoc-C9i5z6EE.mjs → tsdoc-AFK8LOIR.mjs} +3 -3
- package/dist/{tsdoc-C9i5z6EE.mjs.map → tsdoc-AFK8LOIR.mjs.map} +1 -1
- package/dist/{tsdoc-fSRc8v2O.cjs → tsdoc-BCx8RAZm.cjs} +2 -2
- package/dist/tsdoc-BlBkyIWO.d.cts.map +1 -1
- package/dist/{tsdoc-reflection-CBmIdCMR.d.mts → tsdoc-reflection-CsSzmNvA.d.mts} +5 -5
- package/dist/{tsdoc-reflection-Bqatkzvb.d.cts.map → tsdoc-reflection-CsSzmNvA.d.mts.map} +1 -1
- package/dist/{tsdoc-reflection-Bqatkzvb.d.cts → tsdoc-reflection-D6D_9W1j.d.cts} +5 -5
- package/dist/tsdoc-reflection-D6D_9W1j.d.cts.map +1 -0
- package/dist/{tsdoc-reflection-BpkFCXw6.cjs → tsdoc-reflection-DunqwDOh.cjs} +2 -2
- package/dist/{tsdoc-reflection-BFTBtjQ2.mjs → tsdoc-reflection-cx_-R04W.mjs} +3 -3
- package/dist/{tsdoc-reflection-BFTBtjQ2.mjs.map → tsdoc-reflection-cx_-R04W.mjs.map} +1 -1
- package/dist/types/_internal.d.cts +5 -5
- package/dist/types/_internal.d.mts +2 -2
- 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.cjs +7 -7
- package/dist/typescript/components/builtin-file.d.cts +3 -3
- package/dist/typescript/components/builtin-file.d.mts +1 -1
- package/dist/typescript/components/builtin-file.mjs +7 -7
- package/dist/typescript/components/dynamic-import-statement.cjs +1 -1
- package/dist/typescript/components/dynamic-import-statement.d.cts +1 -1
- package/dist/typescript/components/dynamic-import-statement.d.mts +1 -1
- package/dist/typescript/components/dynamic-import-statement.mjs +1 -1
- package/dist/typescript/components/entry-file.cjs +6 -6
- package/dist/typescript/components/entry-file.d.cts +3 -3
- package/dist/typescript/components/entry-file.d.mts +1 -1
- package/dist/typescript/components/entry-file.mjs +6 -6
- package/dist/typescript/components/index.cjs +12 -12
- package/dist/typescript/components/index.d.cts +8 -8
- package/dist/typescript/components/index.d.mts +4 -4
- package/dist/typescript/components/index.mjs +12 -12
- package/dist/typescript/components/tsdoc-reflection.cjs +3 -3
- package/dist/typescript/components/tsdoc-reflection.d.cts +1 -1
- package/dist/typescript/components/tsdoc-reflection.d.mts +1 -1
- package/dist/typescript/components/tsdoc-reflection.mjs +3 -3
- package/dist/typescript/components/tsdoc.cjs +2 -2
- package/dist/typescript/components/tsdoc.mjs +2 -2
- package/dist/typescript/components/typescript-file.cjs +5 -5
- package/dist/typescript/components/typescript-file.d.cts +2 -2
- package/dist/typescript/components/typescript-file.mjs +5 -5
- package/dist/typescript/components/typescript-interface.cjs +4 -4
- package/dist/typescript/components/typescript-interface.d.cts +1 -1
- package/dist/typescript/components/typescript-interface.mjs +4 -4
- package/dist/typescript/components/typescript-object.cjs +4 -4
- package/dist/typescript/components/typescript-object.d.cts +1 -1
- package/dist/typescript/components/typescript-object.mjs +4 -4
- package/dist/typescript/index.cjs +12 -12
- package/dist/typescript/index.d.cts +8 -8
- package/dist/typescript/index.d.mts +4 -4
- package/dist/typescript/index.mjs +12 -12
- package/dist/{typescript-file-CZiIcJah.mjs → typescript-file-Bi1qvGaE.mjs} +5 -5
- package/dist/{typescript-file-CZiIcJah.mjs.map → typescript-file-Bi1qvGaE.mjs.map} +1 -1
- package/dist/{typescript-file-DKYD5v5W.cjs → typescript-file-DyHjzkBn.cjs} +4 -4
- package/dist/{typescript-file-BPPaMWbi.d.cts → typescript-file-Fc4x93jB.d.cts} +2 -2
- package/dist/{typescript-file-BPPaMWbi.d.cts.map → typescript-file-Fc4x93jB.d.cts.map} +1 -1
- package/dist/{typescript-interface-CbX3Mosw.d.cts → typescript-interface-BleA7_Sa.d.cts} +4 -4
- package/dist/{typescript-interface-CbX3Mosw.d.cts.map → typescript-interface-BleA7_Sa.d.cts.map} +1 -1
- package/dist/{typescript-interface-DC2d5S0V.cjs → typescript-interface-DT_7W_xl.cjs} +2 -2
- package/dist/{typescript-interface-CDzEeHla.mjs → typescript-interface-Dv60KOOZ.mjs} +3 -3
- package/dist/{typescript-interface-CDzEeHla.mjs.map → typescript-interface-Dv60KOOZ.mjs.map} +1 -1
- package/dist/{typescript-object-B5sYkPt-.d.cts → typescript-object-CTkohEIG.d.cts} +4 -4
- package/dist/{typescript-object-B5sYkPt-.d.cts.map → typescript-object-CTkohEIG.d.cts.map} +1 -1
- package/dist/{typescript-object-CGjPvsYM.cjs → typescript-object-D3RQtfqC.cjs} +2 -2
- package/dist/{typescript-object-FaGWSJWA.mjs → typescript-object-Dz6RCmCZ.mjs} +3 -3
- package/dist/{typescript-object-FaGWSJWA.mjs.map → typescript-object-Dz6RCmCZ.mjs.map} +1 -1
- package/package.json +16 -16
- package/dist/meta-CBKMGDr1.cjs +0 -60
- package/dist/meta-CyClLk1y.d.mts.map +0 -1
- package/dist/meta-vNWUnnLO.mjs.map +0 -1
- package/dist/meta-xgVuv08y.d.cts.map +0 -1
- package/dist/plugin-aN6BnM8T.d.cts.map +0 -1
- package/dist/plugin-c-C_CW4P.d.mts.map +0 -1
- package/dist/tsdoc-reflection-CBmIdCMR.d.mts.map +0 -1
- /package/dist/{context-D-lZVHpZ.cjs → context-DNdlL_gp.cjs} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { i as usePowerlinesSafe } from "./context-
|
|
2
|
-
import { t as TypescriptFile } from "./typescript-file-
|
|
3
|
-
import { createComponent, mergeProps } from "@alloy-js/core/jsx-runtime";
|
|
1
|
+
import { i as usePowerlinesSafe } from "./context-CKFN898c.mjs";
|
|
2
|
+
import { t as TypescriptFile } from "./typescript-file-Bi1qvGaE.mjs";
|
|
4
3
|
import { computed, splitProps } from "@alloy-js/core";
|
|
5
4
|
import { hasFileExtension } from "@stryke/path/file-path-fns";
|
|
5
|
+
import { createComponent, mergeProps } from "@alloy-js/core/jsx-runtime";
|
|
6
6
|
import { replaceExtension, replacePath } from "@stryke/path/replace";
|
|
7
7
|
import { appendPath } from "@stryke/path/append";
|
|
8
8
|
import defu from "defu";
|
|
@@ -38,4 +38,4 @@ function EntryFile(props) {
|
|
|
38
38
|
|
|
39
39
|
//#endregion
|
|
40
40
|
export { EntryFile as t };
|
|
41
|
-
//# sourceMappingURL=entry-file-
|
|
41
|
+
//# sourceMappingURL=entry-file-CadgbWeB.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entry-file-
|
|
1
|
+
{"version":3,"file":"entry-file-CadgbWeB.mjs","names":["computed","splitProps","appendPath","hasFileExtension","replaceExtension","replacePath","isSet","defu","usePowerlinesSafe","TypescriptFile","EntryFile","props","children","meta","tsx","path","typeDefinition","rest","context","fullPath","entryPath","workspaceConfig","workspaceRoot","_$createComponent","_$mergeProps","value","kind"],"sources":["../src/typescript/components/entry-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 { computed, splitProps } from \"@alloy-js/core\";\nimport { appendPath } from \"@stryke/path/append\";\nimport { hasFileExtension } from \"@stryke/path/file-path-fns\";\nimport { replaceExtension, replacePath } from \"@stryke/path/replace\";\nimport { isSet } from \"@stryke/type-checks/is-set\";\nimport defu from \"defu\";\nimport { ResolvedEntryTypeDefinition } from \"powerlines/types/resolved\";\nimport { usePowerlinesSafe } from \"../../core/contexts/context\";\nimport { TypescriptFile, TypescriptFileProps } from \"./typescript-file\";\n\nexport type EntryFileProps = TypescriptFileProps & {\n /**\n * Whether the file is a TSX file.\n *\n * @defaultValue false\n */\n tsx?: boolean;\n\n /**\n * Render metadata information about the entrypoint\n */\n typeDefinition?: ResolvedEntryTypeDefinition;\n};\n\n/**\n * A base component representing a Powerlines generated Typescript source file.\n *\n * @param props - The properties for the source file.\n * @returns The rendered source file component.\n */\nexport function EntryFile(props: EntryFileProps) {\n const [{ children, meta, tsx, path, typeDefinition }, rest] = splitProps(\n props,\n [\"children\", \"meta\", \"tsx\", \"path\", \"typeDefinition\"]\n );\n\n const context = usePowerlinesSafe();\n const fullPath = computed(() =>\n context\n ? appendPath(\n `${\n !isSet(tsx) ? path : replaceExtension(path)\n }${tsx ? \".tsx\" : hasFileExtension(path) ? \"\" : \".ts\"}`,\n replacePath(context.entryPath, context.workspaceConfig.workspaceRoot)\n )\n : path\n );\n\n return (\n <TypescriptFile\n {...rest}\n path={fullPath.value}\n meta={defu(\n {\n kind: \"entry\"\n },\n meta ?? {},\n {\n typeDefinition\n }\n )}>\n {children}\n </TypescriptFile>\n );\n}\n"],"mappings":""}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _alloy_js_core7 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_core7.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-BZuLGCXi.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"front-matter-
|
|
1
|
+
{"version":3,"file":"front-matter-BZuLGCXi.d.mts","names":[],"sources":["../src/markdown/components/front-matter.tsx"],"sourcesContent":[],"mappings":";;;UAoBiB,gBAAA;QACT;;AADR;AASA;;;;iBAAgB,WAAA,QAAmB,mBAAgB,eAAA,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { createComponent, createIntrinsic } from "@alloy-js/core/jsx-runtime";
|
|
2
1
|
import { For, code } from "@alloy-js/core";
|
|
2
|
+
import { createComponent, createIntrinsic } from "@alloy-js/core/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/markdown/components/front-matter.tsx
|
|
5
5
|
/**
|
|
@@ -25,4 +25,4 @@ function FrontMatter(props) {
|
|
|
25
25
|
|
|
26
26
|
//#endregion
|
|
27
27
|
export { FrontMatter as t };
|
|
28
|
-
//# sourceMappingURL=front-matter-
|
|
28
|
+
//# sourceMappingURL=front-matter-CEkoeaky.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"front-matter-
|
|
1
|
+
{"version":3,"file":"front-matter-CEkoeaky.mjs","names":["code","For","FrontMatter","props","_$createIntrinsic","_$createComponent","each","Object","entries","data","hardline","children","key","value","JSON","stringify"],"sources":["../src/markdown/components/front-matter.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 { code, For } from \"@alloy-js/core\";\n\nexport interface FrontMatterProps {\n data: Record<string, any>;\n}\n\n/**\n * Renders YAML front matter for a markdown file.\n *\n * @see https://jekyllrb.com/docs/front-matter/\n */\nexport function FrontMatter(props: FrontMatterProps) {\n return (\n <>\n {\"---\"}\n <hbr />\n <For each={Object.entries(props.data)} hardline>\n {([key, value]) => code`${key}: ${JSON.stringify(value)}`}\n </For>\n {\"---\"}\n <hbr />\n </>\n );\n}\n"],"mappings":""}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-CbDLau6x.cjs');
|
|
2
|
-
let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
|
|
3
2
|
let __alloy_js_core = require("@alloy-js/core");
|
|
3
|
+
let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
|
|
4
4
|
|
|
5
5
|
//#region src/markdown/components/front-matter.tsx
|
|
6
6
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
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,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_core0.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-tYvUQe2w.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"front-matter-
|
|
1
|
+
{"version":3,"file":"front-matter-tYvUQe2w.d.cts","names":[],"sources":["../src/markdown/components/front-matter.tsx"],"sourcesContent":[],"mappings":";;;UAoBiB,gBAAA;QACT;;AADR;AASA;;;;iBAAgB,WAAA,QAAmB,mBAAgB,eAAA,CAAA"}
|
package/dist/index.cjs
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
2
|
const require_chunk = require('./chunk-CbDLau6x.cjs');
|
|
3
|
-
const require_meta = require('./meta-CBKMGDr1.cjs');
|
|
4
|
-
let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
|
|
5
3
|
let __alloy_js_core = require("@alloy-js/core");
|
|
6
4
|
let __alloy_js_rollup_plugin = require("@alloy-js/rollup-plugin");
|
|
7
5
|
__alloy_js_rollup_plugin = require_chunk.__toESM(__alloy_js_rollup_plugin);
|
|
@@ -48,17 +46,12 @@ const plugin = (options = {}) => {
|
|
|
48
46
|
async handler() {
|
|
49
47
|
this.debug("Attaching the `render` method to the context object.");
|
|
50
48
|
const context = this;
|
|
51
|
-
context.$$internal.meta.alloy
|
|
52
|
-
this.render = async (
|
|
53
|
-
const output = await (0, __alloy_js_core.renderAsync)(
|
|
54
|
-
|
|
55
|
-
return context.$$internal.meta.alloy;
|
|
56
|
-
},
|
|
57
|
-
children: child
|
|
58
|
-
}));
|
|
59
|
-
if (!Object.keys(output).length) this.debug("No output files were rendered by Alloy-js templates.");
|
|
49
|
+
context.$$internal.meta.alloy ??= {};
|
|
50
|
+
this.render = async (children) => {
|
|
51
|
+
const output = await (0, __alloy_js_core.renderAsync)(children);
|
|
52
|
+
if (!Object.keys(output).length) this.debug("No output files were rendered by Alloy-js component templates.");
|
|
60
53
|
else {
|
|
61
|
-
this.debug(`Processing ${Object.keys(output).length} rendered output files from Alloy-js templates.`);
|
|
54
|
+
this.debug(`Processing ${Object.keys(output).length} rendered output files from Alloy-js component templates.`);
|
|
62
55
|
await (0, __alloy_js_core.traverseOutput)(output, {
|
|
63
56
|
visitDirectory: (directory) => {
|
|
64
57
|
if (this.fs.existsSync(directory.path)) return;
|
|
@@ -66,7 +59,7 @@ const plugin = (options = {}) => {
|
|
|
66
59
|
},
|
|
67
60
|
visitFile: (file) => {
|
|
68
61
|
if ("contents" in file) {
|
|
69
|
-
const metadata =
|
|
62
|
+
const metadata = this.$$internal.meta.alloy[file.path] ?? {};
|
|
70
63
|
if (metadata.kind === "builtin") {
|
|
71
64
|
if (!metadata.id) throw new Error(`Built-in file "${file.path}" is missing its ID in the render metadata.`);
|
|
72
65
|
this.emitBuiltinSync(file.contents, metadata.id, {
|
package/dist/index.d.cts
CHANGED
package/dist/index.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.tsx"],"sourcesContent":[],"mappings":";;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.tsx"],"sourcesContent":[],"mappings":";;;;;;;AAiCA;;;;AA+Hc,cA/HD,MA+HC,EAAA,CAAA,iBA9HK,kBA8HL,GA9H0B,kBA8H1B,CAAA,CAAA,OAAA,CAAA,EA5HH,kBA4HG,EAAA,GAAP,MAAO,CAAA,QAAA,CAAA,EAAA"}
|
package/dist/index.d.mts
CHANGED
package/dist/index.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.tsx"],"sourcesContent":[],"mappings":";;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.tsx"],"sourcesContent":[],"mappings":";;;;;;;AAiCA;;;;AA+Hc,cA/HD,MA+HC,EAAA,CAAA,iBA9HK,kBA8HL,GA9H0B,kBA8H1B,CAAA,CAAA,OAAA,CAAA,EA5HH,kBA4HG,EAAA,GAAP,MAAO,CAAA,QAAA,CAAA,EAAA"}
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { t as MetaContext } from "./meta-vNWUnnLO.mjs";
|
|
2
|
-
import { createComponent } from "@alloy-js/core/jsx-runtime";
|
|
3
1
|
import { renderAsync, traverseOutput } from "@alloy-js/core";
|
|
4
2
|
import rollupPlugin from "@alloy-js/rollup-plugin";
|
|
5
3
|
import { StormJSON } from "@stryke/json/storm-json";
|
|
@@ -45,17 +43,12 @@ const plugin = (options = {}) => {
|
|
|
45
43
|
async handler() {
|
|
46
44
|
this.debug("Attaching the `render` method to the context object.");
|
|
47
45
|
const context = this;
|
|
48
|
-
context.$$internal.meta.alloy
|
|
49
|
-
this.render = async (
|
|
50
|
-
const output = await renderAsync(
|
|
51
|
-
|
|
52
|
-
return context.$$internal.meta.alloy;
|
|
53
|
-
},
|
|
54
|
-
children: child
|
|
55
|
-
}));
|
|
56
|
-
if (!Object.keys(output).length) this.debug("No output files were rendered by Alloy-js templates.");
|
|
46
|
+
context.$$internal.meta.alloy ??= {};
|
|
47
|
+
this.render = async (children) => {
|
|
48
|
+
const output = await renderAsync(children);
|
|
49
|
+
if (!Object.keys(output).length) this.debug("No output files were rendered by Alloy-js component templates.");
|
|
57
50
|
else {
|
|
58
|
-
this.debug(`Processing ${Object.keys(output).length} rendered output files from Alloy-js templates.`);
|
|
51
|
+
this.debug(`Processing ${Object.keys(output).length} rendered output files from Alloy-js component templates.`);
|
|
59
52
|
await traverseOutput(output, {
|
|
60
53
|
visitDirectory: (directory) => {
|
|
61
54
|
if (this.fs.existsSync(directory.path)) return;
|
|
@@ -63,7 +56,7 @@ const plugin = (options = {}) => {
|
|
|
63
56
|
},
|
|
64
57
|
visitFile: (file) => {
|
|
65
58
|
if ("contents" in file) {
|
|
66
|
-
const metadata =
|
|
59
|
+
const metadata = this.$$internal.meta.alloy[file.path] ?? {};
|
|
67
60
|
if (metadata.kind === "builtin") {
|
|
68
61
|
if (!metadata.id) throw new Error(`Built-in file "${file.path}" is missing its ID in the render metadata.`);
|
|
69
62
|
this.emitBuiltinSync(file.contents, metadata.id, {
|
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","names":["renderAsync","traverseOutput","rollupPlugin","StormJSON","findFileExtension","
|
|
1
|
+
{"version":3,"file":"index.mjs","names":["renderAsync","traverseOutput","rollupPlugin","StormJSON","findFileExtension","plugin","options","name","config","debug","alloy","typescript","build","inputOptions","transform","jsx","plugins","external","configResolved","tsconfig","tsconfigJson","compilerOptions","jsxImportSource","fs","write","tsconfigFilePath","stringify","order","handler","context","$$internal","meta","render","children","output","Object","keys","length","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 { UNSAFE_AlloyPluginContext } from \"./types/_internal\";\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 const context = this as unknown as UNSAFE_AlloyPluginContext;\n context.$$internal.meta.alloy ??= {};\n\n this.render = async (children: Children) => {\n const output = await renderAsync(children);\n\n if (!Object.keys(output).length) {\n this.debug(\n \"No output files were rendered by Alloy-js component templates.\"\n );\n } else {\n this.debug(\n `Processing ${\n Object.keys(output).length\n } rendered output files from Alloy-js component templates.`\n );\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 =\n (this as unknown as UNSAFE_AlloyPluginContext).$$internal\n .meta.alloy[file.path] ?? {};\n if (metadata.kind === \"builtin\") {\n if (!metadata.id) {\n throw new Error(\n `Built-in file \"${\n file.path\n }\" 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 }\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-tYvUQe2w.cjs";
|
|
2
2
|
export { FrontMatter, FrontMatterProps, __ΩFrontMatterProps };
|
|
@@ -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-BZuLGCXi.mjs";
|
|
2
2
|
export { FrontMatter, FrontMatterProps, __ΩFrontMatterProps };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
require('../../
|
|
2
|
-
require('../../
|
|
3
|
-
require('../../
|
|
4
|
-
require('../../source-file-
|
|
5
|
-
const require_front_matter = require('../../front-matter-
|
|
6
|
-
const require_markdown_file = require('../../markdown-file-
|
|
1
|
+
require('../../context-DNdlL_gp.cjs');
|
|
2
|
+
require('../../single-line-comment-Ch8k9S0E.cjs');
|
|
3
|
+
require('../../meta-B_DjEFR_.cjs');
|
|
4
|
+
require('../../source-file-BVPcj5P1.cjs');
|
|
5
|
+
const require_front_matter = require('../../front-matter-CHooHk9R.cjs');
|
|
6
|
+
const require_markdown_file = require('../../markdown-file-ea7OzK-k.cjs');
|
|
7
7
|
require('../../markdown-table-BWPm6GbJ.cjs');
|
|
8
|
-
const require_markdown_table$1 = require('../../markdown-table-
|
|
8
|
+
const require_markdown_table$1 = require('../../markdown-table-Cgk4CzYe.cjs');
|
|
9
9
|
require('../../components-DPKSrvP-.cjs');
|
|
10
10
|
|
|
11
11
|
exports.FrontMatter = require_front_matter.FrontMatter;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "../../components-DPPi58b5.cjs";
|
|
2
|
-
import "../../source-file-
|
|
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-
|
|
2
|
+
import "../../source-file-Bhx5nuCf.cjs";
|
|
3
|
+
import { n as FrontMatterProps, r as __ΩFrontMatterProps, t as FrontMatter } from "../../front-matter-tYvUQe2w.cjs";
|
|
4
|
+
import { a as __ΩMarkdownFileHeaderProps, i as MarkdownFileProps, n as MarkdownFileHeader, o as __ΩMarkdownFileProps, r as MarkdownFileHeaderProps, t as MarkdownFile } from "../../markdown-file-C-b4PJoF.cjs";
|
|
5
5
|
import "../../markdown-table-Dxxupt8O.cjs";
|
|
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-
|
|
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-Bq35u0iA.cjs";
|
|
7
7
|
import "../../index-Dt_vyhB_.cjs";
|
|
8
8
|
export { FrontMatter, FrontMatterProps, MarkdownFile, MarkdownFileHeader, MarkdownFileHeaderProps, MarkdownFileProps, MarkdownTable, MarkdownTableColumn, MarkdownTableColumnHeader, MarkdownTableColumnProps, MarkdownTableProps, __ΩFrontMatterProps, __ΩMarkdownFileHeaderProps, __ΩMarkdownFileProps, __ΩMarkdownTableColumnProps, __ΩMarkdownTableProps };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "../../components-oHSM7vmp.mjs";
|
|
2
2
|
import "../../source-file-CQl0UCgf.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-BZuLGCXi.mjs";
|
|
4
|
+
import { a as __ΩMarkdownFileHeaderProps, i as MarkdownFileProps, n as MarkdownFileHeader, o as __ΩMarkdownFileProps, r as MarkdownFileHeaderProps, t as MarkdownFile } from "../../markdown-file-BEUAWPHg.mjs";
|
|
5
5
|
import "../../markdown-table-DIfM03TF.mjs";
|
|
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-
|
|
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-75TAAul6.mjs";
|
|
7
7
|
import "../../index-uY8Qbwfx.mjs";
|
|
8
8
|
export { FrontMatter, FrontMatterProps, MarkdownFile, MarkdownFileHeader, MarkdownFileHeaderProps, MarkdownFileProps, MarkdownTable, MarkdownTableColumn, MarkdownTableColumnHeader, MarkdownTableColumnProps, MarkdownTableProps, __ΩFrontMatterProps, __ΩMarkdownFileHeaderProps, __ΩMarkdownFileProps, __ΩMarkdownTableColumnProps, __ΩMarkdownTableProps };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import "../../
|
|
2
|
-
import "../../
|
|
3
|
-
import "../../
|
|
4
|
-
import "../../source-file-
|
|
5
|
-
import { t as FrontMatter } from "../../front-matter-
|
|
6
|
-
import { n as MarkdownFileHeader, t as MarkdownFile } from "../../markdown-file-
|
|
1
|
+
import "../../context-CKFN898c.mjs";
|
|
2
|
+
import "../../single-line-comment-BrU33od6.mjs";
|
|
3
|
+
import "../../meta-nicfM4rP.mjs";
|
|
4
|
+
import "../../source-file-xG4WodHS.mjs";
|
|
5
|
+
import { t as FrontMatter } from "../../front-matter-CEkoeaky.mjs";
|
|
6
|
+
import { n as MarkdownFileHeader, t as MarkdownFile } from "../../markdown-file-RKe2FbuF.mjs";
|
|
7
7
|
import "../../markdown-table-BKaAfa6u.mjs";
|
|
8
|
-
import { n as MarkdownTableColumn, r as MarkdownTableColumnHeader, t as MarkdownTable } from "../../markdown-table-
|
|
8
|
+
import { n as MarkdownTableColumn, r as MarkdownTableColumnHeader, t as MarkdownTable } from "../../markdown-table-C_Hf6eBe.mjs";
|
|
9
9
|
import "../../components-BHsPgUVD.mjs";
|
|
10
10
|
|
|
11
11
|
export { FrontMatter, MarkdownFile, MarkdownFileHeader, MarkdownTable, MarkdownTableColumn, MarkdownTableColumnHeader };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
require('../../
|
|
2
|
-
require('../../
|
|
3
|
-
require('../../
|
|
4
|
-
require('../../source-file-
|
|
5
|
-
require('../../front-matter-
|
|
6
|
-
const require_markdown_file = require('../../markdown-file-
|
|
1
|
+
require('../../context-DNdlL_gp.cjs');
|
|
2
|
+
require('../../single-line-comment-Ch8k9S0E.cjs');
|
|
3
|
+
require('../../meta-B_DjEFR_.cjs');
|
|
4
|
+
require('../../source-file-BVPcj5P1.cjs');
|
|
5
|
+
require('../../front-matter-CHooHk9R.cjs');
|
|
6
|
+
const require_markdown_file = require('../../markdown-file-ea7OzK-k.cjs');
|
|
7
7
|
|
|
8
8
|
exports.MarkdownFile = require_markdown_file.MarkdownFile;
|
|
9
9
|
exports.MarkdownFileHeader = require_markdown_file.MarkdownFileHeader;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../../components-DPPi58b5.cjs";
|
|
2
|
-
import "../../source-file-
|
|
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-
|
|
2
|
+
import "../../source-file-Bhx5nuCf.cjs";
|
|
3
|
+
import "../../front-matter-tYvUQe2w.cjs";
|
|
4
|
+
import { a as __ΩMarkdownFileHeaderProps, i as MarkdownFileProps, n as MarkdownFileHeader, o as __ΩMarkdownFileProps, r as MarkdownFileHeaderProps, t as MarkdownFile } from "../../markdown-file-C-b4PJoF.cjs";
|
|
5
5
|
export { MarkdownFile, MarkdownFileHeader, MarkdownFileHeaderProps, MarkdownFileProps, __ΩMarkdownFileHeaderProps, __ΩMarkdownFileProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../../components-oHSM7vmp.mjs";
|
|
2
2
|
import "../../source-file-CQl0UCgf.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-BZuLGCXi.mjs";
|
|
4
|
+
import { a as __ΩMarkdownFileHeaderProps, i as MarkdownFileProps, n as MarkdownFileHeader, o as __ΩMarkdownFileProps, r as MarkdownFileHeaderProps, t as MarkdownFile } from "../../markdown-file-BEUAWPHg.mjs";
|
|
5
5
|
export { MarkdownFile, MarkdownFileHeader, MarkdownFileHeaderProps, MarkdownFileProps, __ΩMarkdownFileHeaderProps, __ΩMarkdownFileProps };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "../../
|
|
2
|
-
import "../../
|
|
3
|
-
import "../../
|
|
4
|
-
import "../../source-file-
|
|
5
|
-
import "../../front-matter-
|
|
6
|
-
import { n as MarkdownFileHeader, t as MarkdownFile } from "../../markdown-file-
|
|
1
|
+
import "../../context-CKFN898c.mjs";
|
|
2
|
+
import "../../single-line-comment-BrU33od6.mjs";
|
|
3
|
+
import "../../meta-nicfM4rP.mjs";
|
|
4
|
+
import "../../source-file-xG4WodHS.mjs";
|
|
5
|
+
import "../../front-matter-CEkoeaky.mjs";
|
|
6
|
+
import { n as MarkdownFileHeader, t as MarkdownFile } from "../../markdown-file-RKe2FbuF.mjs";
|
|
7
7
|
|
|
8
8
|
export { MarkdownFile, MarkdownFileHeader };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
require('../../markdown-table-BWPm6GbJ.cjs');
|
|
2
|
-
const require_markdown_table$1 = require('../../markdown-table-
|
|
2
|
+
const require_markdown_table$1 = require('../../markdown-table-Cgk4CzYe.cjs');
|
|
3
3
|
|
|
4
4
|
exports.MarkdownTable = require_markdown_table$1.MarkdownTable;
|
|
5
5
|
exports.MarkdownTableColumn = require_markdown_table$1.MarkdownTableColumn;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "../../components-DPPi58b5.cjs";
|
|
2
2
|
import "../../markdown-table-Dxxupt8O.cjs";
|
|
3
|
-
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-
|
|
3
|
+
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-Bq35u0iA.cjs";
|
|
4
4
|
export { MarkdownTable, MarkdownTableColumn, MarkdownTableColumnHeader, MarkdownTableColumnProps, MarkdownTableProps, __ΩMarkdownTableColumnProps, __ΩMarkdownTableProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "../../components-oHSM7vmp.mjs";
|
|
2
2
|
import "../../markdown-table-DIfM03TF.mjs";
|
|
3
|
-
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-
|
|
3
|
+
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-75TAAul6.mjs";
|
|
4
4
|
export { MarkdownTable, MarkdownTableColumn, MarkdownTableColumnHeader, MarkdownTableColumnProps, MarkdownTableProps, __ΩMarkdownTableColumnProps, __ΩMarkdownTableProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "../../markdown-table-BKaAfa6u.mjs";
|
|
2
|
-
import { n as MarkdownTableColumn, r as MarkdownTableColumnHeader, t as MarkdownTable } from "../../markdown-table-
|
|
2
|
+
import { n as MarkdownTableColumn, r as MarkdownTableColumnHeader, t as MarkdownTable } from "../../markdown-table-C_Hf6eBe.mjs";
|
|
3
3
|
|
|
4
4
|
export { MarkdownTable, MarkdownTableColumn, MarkdownTableColumnHeader };
|
package/dist/markdown/index.cjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
require('../
|
|
2
|
-
require('../
|
|
3
|
-
require('../
|
|
4
|
-
require('../source-file-
|
|
5
|
-
const require_front_matter = require('../front-matter-
|
|
6
|
-
const require_markdown_file = require('../markdown-file-
|
|
1
|
+
require('../context-DNdlL_gp.cjs');
|
|
2
|
+
require('../single-line-comment-Ch8k9S0E.cjs');
|
|
3
|
+
require('../meta-B_DjEFR_.cjs');
|
|
4
|
+
require('../source-file-BVPcj5P1.cjs');
|
|
5
|
+
const require_front_matter = require('../front-matter-CHooHk9R.cjs');
|
|
6
|
+
const require_markdown_file = require('../markdown-file-ea7OzK-k.cjs');
|
|
7
7
|
const require_markdown_table = require('../markdown-table-BWPm6GbJ.cjs');
|
|
8
|
-
const require_markdown_table$1 = require('../markdown-table-
|
|
8
|
+
const require_markdown_table$1 = require('../markdown-table-Cgk4CzYe.cjs');
|
|
9
9
|
require('../components-DPKSrvP-.cjs');
|
|
10
10
|
require('../contexts-J643Nrrt.cjs');
|
|
11
11
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "../components-DPPi58b5.cjs";
|
|
2
|
-
import "../source-file-
|
|
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-
|
|
2
|
+
import "../source-file-Bhx5nuCf.cjs";
|
|
3
|
+
import { n as FrontMatterProps, r as __ΩFrontMatterProps, t as FrontMatter } from "../front-matter-tYvUQe2w.cjs";
|
|
4
|
+
import { a as __ΩMarkdownFileHeaderProps, i as MarkdownFileProps, n as MarkdownFileHeader, o as __ΩMarkdownFileProps, r as MarkdownFileHeaderProps, t as MarkdownFile } from "../markdown-file-C-b4PJoF.cjs";
|
|
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-Dxxupt8O.cjs";
|
|
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-
|
|
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-Bq35u0iA.cjs";
|
|
7
7
|
import "../index-Dt_vyhB_.cjs";
|
|
8
8
|
import "../index-D9IqtUDs.cjs";
|
|
9
9
|
export { FrontMatter, FrontMatterProps, MarkdownFile, MarkdownFileHeader, MarkdownFileHeaderProps, MarkdownFileProps, MarkdownTable, MarkdownTableColumn, MarkdownTableColumnContext, MarkdownTableColumnContextInterface, MarkdownTableColumnHeader, MarkdownTableColumnProps, MarkdownTableContext, MarkdownTableContextInterface, MarkdownTableProps, __ΩFrontMatterProps, __ΩMarkdownFileHeaderProps, __ΩMarkdownFileProps, __ΩMarkdownTableColumnContextInterface, __ΩMarkdownTableColumnProps, __ΩMarkdownTableContextInterface, __ΩMarkdownTableProps, useMarkdownTable, useMarkdownTableColumn };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "../components-oHSM7vmp.mjs";
|
|
2
2
|
import "../source-file-CQl0UCgf.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-BZuLGCXi.mjs";
|
|
4
|
+
import { a as __ΩMarkdownFileHeaderProps, i as MarkdownFileProps, n as MarkdownFileHeader, o as __ΩMarkdownFileProps, r as MarkdownFileHeaderProps, t as MarkdownFile } from "../markdown-file-BEUAWPHg.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-DIfM03TF.mjs";
|
|
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-
|
|
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-75TAAul6.mjs";
|
|
7
7
|
import "../index-uY8Qbwfx.mjs";
|
|
8
8
|
import "../index--p6oQT9I.mjs";
|
|
9
9
|
export { FrontMatter, FrontMatterProps, MarkdownFile, MarkdownFileHeader, MarkdownFileHeaderProps, MarkdownFileProps, MarkdownTable, MarkdownTableColumn, MarkdownTableColumnContext, MarkdownTableColumnContextInterface, MarkdownTableColumnHeader, MarkdownTableColumnProps, MarkdownTableContext, MarkdownTableContextInterface, MarkdownTableProps, __ΩFrontMatterProps, __ΩMarkdownFileHeaderProps, __ΩMarkdownFileProps, __ΩMarkdownTableColumnContextInterface, __ΩMarkdownTableColumnProps, __ΩMarkdownTableContextInterface, __ΩMarkdownTableProps, useMarkdownTable, useMarkdownTableColumn };
|
package/dist/markdown/index.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import "../
|
|
2
|
-
import "../
|
|
3
|
-
import "../
|
|
4
|
-
import "../source-file-
|
|
5
|
-
import { t as FrontMatter } from "../front-matter-
|
|
6
|
-
import { n as MarkdownFileHeader, t as MarkdownFile } from "../markdown-file-
|
|
1
|
+
import "../context-CKFN898c.mjs";
|
|
2
|
+
import "../single-line-comment-BrU33od6.mjs";
|
|
3
|
+
import "../meta-nicfM4rP.mjs";
|
|
4
|
+
import "../source-file-xG4WodHS.mjs";
|
|
5
|
+
import { t as FrontMatter } from "../front-matter-CEkoeaky.mjs";
|
|
6
|
+
import { n as MarkdownFileHeader, t as MarkdownFile } from "../markdown-file-RKe2FbuF.mjs";
|
|
7
7
|
import { i as useMarkdownTableColumn, n as MarkdownTableContext, r as useMarkdownTable, t as MarkdownTableColumnContext } from "../markdown-table-BKaAfa6u.mjs";
|
|
8
|
-
import { n as MarkdownTableColumn, r as MarkdownTableColumnHeader, t as MarkdownTable } from "../markdown-table-
|
|
8
|
+
import { n as MarkdownTableColumn, r as MarkdownTableColumnHeader, t as MarkdownTable } from "../markdown-table-C_Hf6eBe.mjs";
|
|
9
9
|
import "../components-BHsPgUVD.mjs";
|
|
10
10
|
import "../contexts-DppcDJxB.mjs";
|
|
11
11
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as ComponentProps, p as SourceFileHeaderProps } from "./components-oHSM7vmp.mjs";
|
|
2
2
|
import { n as SourceFileProps$1 } from "./source-file-CQl0UCgf.mjs";
|
|
3
|
-
import { n as FrontMatterProps } from "./front-matter-
|
|
4
|
-
import * as
|
|
3
|
+
import { n as FrontMatterProps } from "./front-matter-BZuLGCXi.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-BEUAWPHg.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"markdown-file-
|
|
1
|
+
{"version":3,"file":"markdown-file-BEUAWPHg.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,7 +1,7 @@
|
|
|
1
1
|
import { n as ComponentProps, p as SourceFileHeaderProps } from "./components-DPPi58b5.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-Bhx5nuCf.cjs";
|
|
3
|
+
import { n as FrontMatterProps } from "./front-matter-tYvUQe2w.cjs";
|
|
4
|
+
import * as _alloy_js_core6 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_core6.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_core6.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-C-b4PJoF.d.cts.map
|