@powerlines/plugin-alloy 0.19.13 → 0.19.15
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-0k9DccCv.cjs +67 -0
- package/dist/builtin-file-DcLp9sck.d.mts +35 -0
- package/dist/builtin-file-DcLp9sck.d.mts.map +1 -0
- package/dist/builtin-file-DtkZ-2Hs.d.cts +35 -0
- package/dist/builtin-file-DtkZ-2Hs.d.cts.map +1 -0
- package/dist/builtin-file-Ie_jPokg.mjs +62 -0
- package/dist/builtin-file-Ie_jPokg.mjs.map +1 -0
- package/dist/builtin-file-MrUfX3YE.d.cts +35 -0
- package/dist/builtin-file-MrUfX3YE.d.cts.map +1 -0
- package/dist/builtin-file-RXdRpQs-.d.mts +35 -0
- package/dist/builtin-file-RXdRpQs-.d.mts.map +1 -0
- package/dist/capnp-CRMDa2Ok.d.mts +88 -0
- package/dist/capnp-CRMDa2Ok.d.mts.map +1 -0
- package/dist/capnp-ClfqI-5t.cjs +356 -0
- package/dist/capnp-CnQcwo0s.mjs +260 -0
- package/dist/capnp-CnQcwo0s.mjs.map +1 -0
- package/dist/capnp-YnGBPkLK.d.cts +88 -0
- package/dist/capnp-YnGBPkLK.d.cts.map +1 -0
- package/dist/{_virtual/rolldown_runtime.cjs → chunk-CbDLau6x.cjs} +6 -1
- package/dist/components-B0evB5xd.cjs +0 -0
- package/dist/components-BNK9p5AE.cjs +0 -0
- package/dist/components-C_Rnle_h.mjs +1 -0
- package/dist/components-CpjG2zC9.mjs +1 -0
- package/dist/components-CrWk5KiP.mjs +1 -0
- package/dist/components-CyQi7RHT.mjs +1 -0
- package/dist/components-DPKSrvP-.cjs +0 -0
- package/dist/components-IRVnipN0.d.cts +143 -0
- package/dist/components-IRVnipN0.d.cts.map +1 -0
- package/dist/components-ISRFDWTF.cjs +0 -0
- package/dist/components-oHSM7vmp.d.mts +143 -0
- package/dist/components-oHSM7vmp.d.mts.map +1 -0
- package/dist/context--KBspFnw.cjs +79 -0
- package/dist/context-Du_bVzRZ.d.mts +67 -0
- package/dist/context-Du_bVzRZ.d.mts.map +1 -0
- package/dist/context-Gqs3Ru42.d.cts +67 -0
- package/dist/context-Gqs3Ru42.d.cts.map +1 -0
- package/dist/context-e2kZWEFW.mjs +51 -0
- package/dist/context-e2kZWEFW.mjs.map +1 -0
- package/dist/contexts-DezKayEz.cjs +0 -0
- package/dist/contexts-J643Nrrt.cjs +0 -0
- package/dist/contexts-_jq-yJQG.mjs +1 -0
- package/dist/contexts-juWSyBfb.mjs +1 -0
- package/dist/core/components/index.cjs +11 -6
- package/dist/core/components/index.d.cts +6 -3
- package/dist/core/components/index.d.mts +6 -3
- package/dist/core/components/index.mjs +8 -3
- package/dist/core/components/output.cjs +2 -32
- package/dist/core/components/output.d.cts +2 -22
- package/dist/core/components/output.d.mts +2 -22
- package/dist/core/components/output.mjs +1 -30
- package/dist/core/components/single-line-comment.cjs +2 -21
- package/dist/core/components/single-line-comment.d.cts +2 -21
- package/dist/core/components/single-line-comment.d.mts +2 -21
- package/dist/core/components/single-line-comment.mjs +1 -19
- package/dist/core/components/source-file.cjs +6 -63
- package/dist/core/components/source-file.d.cts +2 -31
- package/dist/core/components/source-file.d.mts +2 -31
- package/dist/core/components/source-file.mjs +5 -60
- package/dist/core/contexts/context.cjs +7 -53
- package/dist/core/contexts/context.d.cts +1 -65
- package/dist/core/contexts/context.d.mts +1 -65
- package/dist/core/contexts/context.mjs +2 -48
- package/dist/core/contexts/index.cjs +17 -15
- package/dist/core/contexts/index.d.cts +4 -2
- package/dist/core/contexts/index.d.mts +4 -2
- package/dist/core/contexts/index.mjs +4 -2
- package/dist/core/contexts/reflection.cjs +9 -67
- package/dist/core/contexts/reflection.d.cts +2 -51
- package/dist/core/contexts/reflection.d.mts +2 -51
- package/dist/core/contexts/reflection.mjs +1 -58
- package/dist/core/index.cjs +24 -23
- package/dist/core/index.d.cts +8 -7
- package/dist/core/index.d.mts +8 -7
- package/dist/core/index.mjs +8 -7
- package/dist/create-builtin-BiKyN2s2.cjs +24 -0
- package/dist/create-builtin-DFiWd6Zc.d.cts +16 -0
- package/dist/create-builtin-DFiWd6Zc.d.cts.map +1 -0
- package/dist/create-builtin-DQuJyeZw.mjs +19 -0
- package/dist/create-builtin-DQuJyeZw.mjs.map +1 -0
- package/dist/create-builtin-FtQ6qKzX.d.mts +16 -0
- package/dist/create-builtin-FtQ6qKzX.d.mts.map +1 -0
- package/dist/dynamic-import-statement-B5Pdwr4Z.d.mts +33 -0
- package/dist/dynamic-import-statement-B5Pdwr4Z.d.mts.map +1 -0
- package/dist/dynamic-import-statement-BbNJchii.mjs +25 -0
- package/dist/dynamic-import-statement-BbNJchii.mjs.map +1 -0
- package/dist/dynamic-import-statement-DNJlI3ND.d.cts +33 -0
- package/dist/dynamic-import-statement-DNJlI3ND.d.cts.map +1 -0
- package/dist/dynamic-import-statement-DTSUoDt2.d.cts +33 -0
- package/dist/dynamic-import-statement-DTSUoDt2.d.cts.map +1 -0
- package/dist/dynamic-import-statement-Dy_MY_Ua.cjs +30 -0
- package/dist/entry-file-CfMzpF03.d.cts +28 -0
- package/dist/entry-file-CfMzpF03.d.cts.map +1 -0
- package/dist/entry-file-CnC6P3j6.d.mts +28 -0
- package/dist/entry-file-CnC6P3j6.d.mts.map +1 -0
- package/dist/entry-file-D64eurjX.mjs +41 -0
- package/dist/entry-file-D64eurjX.mjs.map +1 -0
- package/dist/entry-file-DVueLVSn.d.cts +28 -0
- package/dist/entry-file-DVueLVSn.d.cts.map +1 -0
- package/dist/entry-file-GR5Rsn25.cjs +47 -0
- package/dist/entry-file-ayzYWEo5.d.mts +28 -0
- package/dist/entry-file-ayzYWEo5.d.mts.map +1 -0
- package/dist/front-matter-2eGRXX11.mjs +28 -0
- package/dist/front-matter-2eGRXX11.mjs.map +1 -0
- package/dist/front-matter-DGpkM9OE.d.mts +16 -0
- package/dist/front-matter-DGpkM9OE.d.mts.map +1 -0
- package/dist/front-matter-DZ1tB-Uj.cjs +33 -0
- package/dist/front-matter-gcouRI-6.d.cts +16 -0
- package/dist/front-matter-gcouRI-6.d.cts.map +1 -0
- package/dist/front-matter-u9H7VPAF.d.cts +16 -0
- package/dist/front-matter-u9H7VPAF.d.cts.map +1 -0
- package/dist/helpers/capnp.cjs +18 -276
- package/dist/helpers/capnp.d.cts +1 -86
- package/dist/helpers/capnp.d.mts +1 -86
- package/dist/helpers/capnp.mjs +1 -257
- package/dist/helpers/create-builtin.cjs +2 -18
- package/dist/helpers/create-builtin.d.cts +1 -14
- package/dist/helpers/create-builtin.d.mts +1 -14
- package/dist/helpers/create-builtin.mjs +1 -16
- package/dist/helpers/index.cjs +23 -23
- package/dist/helpers/index.d.cts +4 -4
- package/dist/helpers/index.d.mts +4 -4
- package/dist/helpers/index.mjs +4 -4
- package/dist/helpers/refkey.cjs +2 -15
- package/dist/helpers/refkey.d.cts +1 -12
- package/dist/helpers/refkey.d.mts +1 -12
- package/dist/helpers/refkey.mjs +1 -13
- package/dist/helpers/typescript.cjs +2 -45
- package/dist/helpers/typescript.d.cts +1 -24
- package/dist/helpers/typescript.d.mts +1 -24
- package/dist/helpers/typescript.mjs +1 -43
- package/dist/index-B-Y-ZG2x.d.mts +1 -0
- package/dist/index-BH1nuHdZ.d.cts +1 -0
- package/dist/index-BUYyA1Xh.d.cts +1 -0
- package/dist/index-C-lwXyQ6.d.mts +1 -0
- package/dist/index-C6HcjJiY.d.mts +1 -0
- package/dist/index-C6yvNuzO.d.cts +1 -0
- package/dist/index-CrhZaFgN.d.cts +1 -0
- package/dist/index-CzItj62a.d.mts +1 -0
- package/dist/index-DcDTDbdz.d.cts +1 -0
- package/dist/index-hcx6LMSC.d.mts +1 -0
- package/dist/index.cjs +8 -6
- package/dist/index.d.cts +3 -2
- package/dist/index.d.cts.map +1 -0
- package/dist/index.d.mts +3 -2
- package/dist/index.d.mts.map +1 -0
- package/dist/index.mjs +8 -5
- package/dist/index.mjs.map +1 -0
- package/dist/markdown/components/front-matter.cjs +2 -27
- package/dist/markdown/components/front-matter.d.cts +1 -14
- package/dist/markdown/components/front-matter.d.mts +1 -14
- package/dist/markdown/components/front-matter.mjs +1 -25
- package/dist/markdown/components/index.cjs +17 -9
- package/dist/markdown/components/index.d.cts +7 -3
- package/dist/markdown/components/index.d.mts +7 -3
- package/dist/markdown/components/index.mjs +11 -3
- package/dist/markdown/components/markdown-file.cjs +10 -130
- package/dist/markdown/components/markdown-file.d.cts +4 -27
- package/dist/markdown/components/markdown-file.d.mts +4 -27
- package/dist/markdown/components/markdown-file.mjs +8 -127
- package/dist/markdown/components/markdown-table.cjs +5 -100
- package/dist/markdown/components/markdown-table.d.cts +3 -26
- package/dist/markdown/components/markdown-table.d.mts +3 -26
- package/dist/markdown/components/markdown-table.mjs +2 -96
- package/dist/markdown/contexts/index.cjs +6 -5
- package/dist/markdown/contexts/index.d.cts +2 -1
- package/dist/markdown/contexts/index.d.mts +2 -1
- package/dist/markdown/contexts/index.mjs +2 -1
- package/dist/markdown/contexts/markdown-table.cjs +5 -36
- package/dist/markdown/contexts/markdown-table.d.cts +1 -36
- package/dist/markdown/contexts/markdown-table.d.mts +1 -36
- package/dist/markdown/contexts/markdown-table.mjs +1 -31
- package/dist/markdown/index.cjs +22 -16
- package/dist/markdown/index.d.cts +8 -6
- package/dist/markdown/index.d.mts +8 -6
- package/dist/markdown/index.mjs +12 -6
- package/dist/markdown-file-CAwtMwsl.cjs +141 -0
- package/dist/markdown-file-CIGTz9xQ.d.cts +29 -0
- package/dist/markdown-file-CIGTz9xQ.d.cts.map +1 -0
- package/dist/markdown-file-CxDM6MCV.d.cts +29 -0
- package/dist/markdown-file-CxDM6MCV.d.cts.map +1 -0
- package/dist/markdown-file-DIcSvowq.mjs +130 -0
- package/dist/markdown-file-DIcSvowq.mjs.map +1 -0
- package/dist/markdown-file-EtJaVhJ3.d.mts +29 -0
- package/dist/markdown-file-EtJaVhJ3.d.mts.map +1 -0
- package/dist/markdown-table-AoJIzA89.d.cts +28 -0
- package/dist/markdown-table-AoJIzA89.d.cts.map +1 -0
- package/dist/markdown-table-BWPm6GbJ.cjs +57 -0
- package/dist/markdown-table-Br2Ihl2z.d.cts +38 -0
- package/dist/markdown-table-Br2Ihl2z.d.cts.map +1 -0
- package/dist/markdown-table-CFL7L6rA.d.mts +38 -0
- package/dist/markdown-table-CFL7L6rA.d.mts.map +1 -0
- package/dist/markdown-table-ChvYobzz.d.mts +28 -0
- package/dist/markdown-table-ChvYobzz.d.mts.map +1 -0
- package/dist/markdown-table-D3DonpwR.mjs +99 -0
- package/dist/markdown-table-D3DonpwR.mjs.map +1 -0
- package/dist/markdown-table-DFSFKzCN.d.cts +28 -0
- package/dist/markdown-table-DFSFKzCN.d.cts.map +1 -0
- package/dist/markdown-table-eTnxxb46.cjs +116 -0
- package/dist/markdown-table-g6DeP10e.mjs +34 -0
- package/dist/markdown-table-g6DeP10e.mjs.map +1 -0
- package/dist/output-BnmXIAFP.d.cts +24 -0
- package/dist/output-BnmXIAFP.d.cts.map +1 -0
- package/dist/output-CMC94bm-.d.mts +24 -0
- package/dist/output-CMC94bm-.d.mts.map +1 -0
- package/dist/output-CQXrGP3y.cjs +38 -0
- package/dist/output-D3UQ5nZo.mjs +33 -0
- package/dist/output-D3UQ5nZo.mjs.map +1 -0
- package/dist/output-Dq1RRbJY.d.cts +24 -0
- package/dist/output-Dq1RRbJY.d.cts.map +1 -0
- package/dist/plugin-B8wUxSXi.cjs +0 -0
- package/dist/plugin-BmQ6pIes.mjs +1 -0
- package/dist/plugin-C6SupJ8C.d.cts +41 -0
- package/dist/plugin-C6SupJ8C.d.cts.map +1 -0
- package/dist/plugin-bEu9fq1G.d.mts +41 -0
- package/dist/plugin-bEu9fq1G.d.mts.map +1 -0
- package/dist/record-expression-6ElbFyR0.cjs +17 -0
- package/dist/record-expression-BjXMzi4r.mjs +12 -0
- package/dist/record-expression-BjXMzi4r.mjs.map +1 -0
- package/dist/record-expression-adlQJuNw.d.cts +13 -0
- package/dist/record-expression-adlQJuNw.d.cts.map +1 -0
- package/dist/record-expression-c9kQA93k.d.mts +13 -0
- package/dist/record-expression-c9kQA93k.d.mts.map +1 -0
- package/dist/refkey-Bf_2_U5t.d.cts +14 -0
- package/dist/refkey-Bf_2_U5t.d.cts.map +1 -0
- package/dist/refkey-C08kDOQ0.cjs +21 -0
- package/dist/refkey-CIFiGvgZ.mjs +16 -0
- package/dist/refkey-CIFiGvgZ.mjs.map +1 -0
- package/dist/refkey-CSZgFc0P.d.mts +14 -0
- package/dist/refkey-CSZgFc0P.d.mts.map +1 -0
- package/dist/reflection-B-NMNIoB.mjs +61 -0
- package/dist/reflection-B-NMNIoB.mjs.map +1 -0
- package/dist/reflection-CUo0047e.d.mts +53 -0
- package/dist/reflection-CUo0047e.d.mts.map +1 -0
- package/dist/reflection-DHpdhvwI.cjs +108 -0
- package/dist/reflection-xU09ifzp.d.cts +53 -0
- package/dist/reflection-xU09ifzp.d.cts.map +1 -0
- package/dist/single-line-comment-B258_x1B.d.cts +23 -0
- package/dist/single-line-comment-B258_x1B.d.cts.map +1 -0
- package/dist/single-line-comment-COZ9RWsm.cjs +27 -0
- package/dist/single-line-comment-D9dIL45u.d.cts +23 -0
- package/dist/single-line-comment-D9dIL45u.d.cts.map +1 -0
- package/dist/single-line-comment-PMv_zrfe.d.mts +23 -0
- package/dist/single-line-comment-PMv_zrfe.d.mts.map +1 -0
- package/dist/single-line-comment-mOQtfhWt.mjs +22 -0
- package/dist/single-line-comment-mOQtfhWt.mjs.map +1 -0
- package/dist/source-file-95cXzcLB.d.cts +33 -0
- package/dist/source-file-95cXzcLB.d.cts.map +1 -0
- package/dist/source-file-BAVTBVJy.cjs +68 -0
- package/dist/source-file-BTsyACav.d.cts +33 -0
- package/dist/source-file-BTsyACav.d.cts.map +1 -0
- package/dist/source-file-BiJK-nH_.mjs +62 -0
- package/dist/source-file-BiJK-nH_.mjs.map +1 -0
- package/dist/source-file-CQl0UCgf.d.mts +33 -0
- package/dist/source-file-CQl0UCgf.d.mts.map +1 -0
- package/dist/tsdoc-BId4fp5_.cjs +585 -0
- package/dist/tsdoc-CfvwK4Ml.d.cts +164 -0
- package/dist/tsdoc-CfvwK4Ml.d.cts.map +1 -0
- package/dist/tsdoc-Crv526i6.mjs +466 -0
- package/dist/tsdoc-Crv526i6.mjs.map +1 -0
- package/dist/tsdoc-OUuKjTbh.d.mts +164 -0
- package/dist/tsdoc-OUuKjTbh.d.mts.map +1 -0
- package/dist/tsdoc-reflection-B4bfElmj.d.cts +19 -0
- package/dist/tsdoc-reflection-B4bfElmj.d.cts.map +1 -0
- package/dist/tsdoc-reflection-BbjnIsUV.d.cts +19 -0
- package/dist/tsdoc-reflection-BbjnIsUV.d.cts.map +1 -0
- package/dist/tsdoc-reflection-D-eKs6S1.mjs +176 -0
- package/dist/tsdoc-reflection-D-eKs6S1.mjs.map +1 -0
- package/dist/tsdoc-reflection-IH-Mt2o_.cjs +193 -0
- package/dist/tsdoc-reflection-ulqYHfKL.d.mts +19 -0
- package/dist/tsdoc-reflection-ulqYHfKL.d.mts.map +1 -0
- package/dist/types/components.cjs +1 -0
- package/dist/types/components.d.cts +1 -141
- package/dist/types/components.d.mts +1 -141
- package/dist/types/components.mjs +2 -0
- package/dist/types/index.cjs +2 -0
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.mts +2 -2
- package/dist/types/index.mjs +3 -0
- package/dist/types/plugin.cjs +1 -0
- package/dist/types/plugin.d.cts +1 -39
- package/dist/types/plugin.d.mts +1 -39
- package/dist/types/plugin.mjs +2 -0
- package/dist/typescript/components/builtin-file.cjs +10 -61
- package/dist/typescript/components/builtin-file.d.cts +5 -33
- package/dist/typescript/components/builtin-file.d.mts +5 -33
- package/dist/typescript/components/builtin-file.mjs +9 -59
- package/dist/typescript/components/dynamic-import-statement.cjs +2 -24
- package/dist/typescript/components/dynamic-import-statement.d.cts +1 -31
- package/dist/typescript/components/dynamic-import-statement.d.mts +1 -31
- package/dist/typescript/components/dynamic-import-statement.mjs +1 -22
- package/dist/typescript/components/entry-file.cjs +9 -41
- package/dist/typescript/components/entry-file.d.cts +4 -26
- package/dist/typescript/components/entry-file.d.mts +4 -26
- package/dist/typescript/components/entry-file.mjs +8 -38
- package/dist/typescript/components/index.cjs +50 -43
- package/dist/typescript/components/index.d.cts +12 -9
- package/dist/typescript/components/index.d.mts +12 -9
- package/dist/typescript/components/index.mjs +16 -9
- package/dist/typescript/components/record-expression.cjs +2 -11
- package/dist/typescript/components/record-expression.d.cts +1 -11
- package/dist/typescript/components/record-expression.d.mts +1 -11
- package/dist/typescript/components/record-expression.mjs +1 -9
- package/dist/typescript/components/tsdoc-reflection.cjs +8 -177
- package/dist/typescript/components/tsdoc-reflection.d.cts +3 -17
- package/dist/typescript/components/tsdoc-reflection.d.mts +3 -17
- package/dist/typescript/components/tsdoc-reflection.mjs +5 -173
- package/dist/typescript/components/tsdoc.cjs +23 -484
- package/dist/typescript/components/tsdoc.d.cts +2 -162
- package/dist/typescript/components/tsdoc.d.mts +2 -162
- package/dist/typescript/components/tsdoc.mjs +3 -463
- package/dist/typescript/components/typescript-file.cjs +10 -215
- package/dist/typescript/components/typescript-file.d.cts +3 -48
- package/dist/typescript/components/typescript-file.d.mts +3 -48
- package/dist/typescript/components/typescript-file.mjs +7 -211
- package/dist/typescript/components/typescript-interface.cjs +8 -72
- package/dist/typescript/components/typescript-interface.d.cts +2 -24
- package/dist/typescript/components/typescript-interface.d.mts +2 -24
- package/dist/typescript/components/typescript-interface.mjs +6 -69
- package/dist/typescript/components/typescript-object.cjs +8 -124
- package/dist/typescript/components/typescript-object.d.cts +2 -28
- package/dist/typescript/components/typescript-object.d.mts +2 -28
- package/dist/typescript/components/typescript-object.mjs +6 -121
- package/dist/typescript/index.cjs +50 -44
- package/dist/typescript/index.d.cts +12 -10
- package/dist/typescript/index.d.mts +12 -10
- package/dist/typescript/index.mjs +16 -10
- package/dist/typescript-BCc7kwL_.mjs +46 -0
- package/dist/typescript-BCc7kwL_.mjs.map +1 -0
- package/dist/typescript-BbjCTT04.cjs +51 -0
- package/dist/typescript-DWzPF4n4.d.mts +26 -0
- package/dist/typescript-DWzPF4n4.d.mts.map +1 -0
- package/dist/typescript-file-BWaBMfMr.d.mts +50 -0
- package/dist/typescript-file-BWaBMfMr.d.mts.map +1 -0
- package/dist/typescript-file-BmLwVIQP.cjs +231 -0
- package/dist/typescript-file-C5NjN3H2.mjs +214 -0
- package/dist/typescript-file-C5NjN3H2.mjs.map +1 -0
- package/dist/typescript-file-MYxikvB6.d.cts +50 -0
- package/dist/typescript-file-MYxikvB6.d.cts.map +1 -0
- package/dist/typescript-file-fOVF6YF2.d.cts +50 -0
- package/dist/typescript-file-fOVF6YF2.d.cts.map +1 -0
- package/dist/typescript-interface-BNdWrKgb.cjs +83 -0
- package/dist/typescript-interface-D-d9A720.d.cts +26 -0
- package/dist/typescript-interface-D-d9A720.d.cts.map +1 -0
- package/dist/typescript-interface-LN3uCdA6.mjs +72 -0
- package/dist/typescript-interface-LN3uCdA6.mjs.map +1 -0
- package/dist/typescript-interface-MV4qwTHs.d.mts +26 -0
- package/dist/typescript-interface-MV4qwTHs.d.mts.map +1 -0
- package/dist/typescript-o4AsClkT.d.cts +26 -0
- package/dist/typescript-o4AsClkT.d.cts.map +1 -0
- package/dist/typescript-object-Bbza8TK7.d.cts +30 -0
- package/dist/typescript-object-Bbza8TK7.d.cts.map +1 -0
- package/dist/typescript-object-C7p9fJBF.d.mts +30 -0
- package/dist/typescript-object-C7p9fJBF.d.mts.map +1 -0
- package/dist/typescript-object-DIyR8xhW.mjs +124 -0
- package/dist/typescript-object-DIyR8xhW.mjs.map +1 -0
- package/dist/typescript-object-ENaG1YGI.cjs +135 -0
- package/dist/typescript-object-v1WiBD8W.d.cts +30 -0
- package/dist/typescript-object-v1WiBD8W.d.cts.map +1 -0
- package/dist/unctx-MFxscYXI.mjs +12 -0
- package/dist/unctx-MFxscYXI.mjs.map +1 -0
- package/dist/unctx-r7Vvh6XR.cjs +17 -0
- package/package.json +6 -6
- package/dist/internal/unctx.cjs +0 -8
- package/dist/internal/unctx.mjs +0 -7
|
@@ -1,45 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { camelCase } from "@stryke/string-format/camel-case";
|
|
3
|
-
import { titleCase } from "@stryke/string-format/title-case";
|
|
4
|
-
import { isUndefined } from "@stryke/type-checks/is-undefined";
|
|
1
|
+
import { t as generateTypeScriptObject } from "../typescript-BCc7kwL_.mjs";
|
|
5
2
|
|
|
6
|
-
//#region src/helpers/typescript.ts
|
|
7
|
-
/**
|
|
8
|
-
* Generates a TypeScript object for the given reflection class.
|
|
9
|
-
*
|
|
10
|
-
* @param reflection - The reflection class to generate the object for.
|
|
11
|
-
* @param options - Options for generating the object.
|
|
12
|
-
* @returns A string containing the TypeScript object definition.
|
|
13
|
-
*/
|
|
14
|
-
function generateTypeScriptObject(reflection, options = {}) {
|
|
15
|
-
if (!reflection) return "";
|
|
16
|
-
return `
|
|
17
|
-
/**
|
|
18
|
-
* ${reflection.getDescription() || `${titleCase(options.overrideName || reflection.getClassName() || reflection.getName())} object instance`}.
|
|
19
|
-
*/
|
|
20
|
-
export const ${camelCase(options.overrideName || reflection.getName())}${options.overrideExtends !== false && (options.overrideExtends || reflection.getSuperReflectionClass()?.getName()) ? `: ${options.overrideExtends || reflection.getSuperReflectionClass()?.getName()}` : ""} = {
|
|
21
|
-
${reflection.getProperties().filter((item) => !item.isIgnored() && !isUndefined(options.defaultValues?.[item.getNameAsString()] ?? item.getAlias().reduce((ret, alias) => {
|
|
22
|
-
if (isUndefined(ret) && !isUndefined(options.defaultValues?.[alias])) return options.defaultValues?.[alias];
|
|
23
|
-
return ret;
|
|
24
|
-
}, void 0) ?? item.getDefaultValue())).sort((a, b) => a.isReadonly() && b.isReadonly() || !a.isReadonly() && !b.isReadonly() ? a.getNameAsString().localeCompare(b.getNameAsString()) : a.isReadonly() ? 1 : -1).map((item) => ` /**
|
|
25
|
-
* ${item.getDescription() || item.getTitle() || titleCase(item.getNameAsString())}
|
|
26
|
-
*
|
|
27
|
-
* @title ${item.getTitle() || titleCase(item.getNameAsString())}${item.getAlias().length ? `
|
|
28
|
-
${item.getAlias().map((alias) => ` * @alias ${alias}`).join("\n")}` : ""}${item.getDomain() ? `
|
|
29
|
-
* @domain ${item.getDomain()}` : ""}${item.getPermission().length ? `
|
|
30
|
-
${item.getPermission().map((permission) => ` * @permission ${permission}`).join("\n")}` : ""}${item.isInternal() ? `
|
|
31
|
-
* @internal` : ""}${item.isReadonly() ? `
|
|
32
|
-
* @readonly` : ""}${item.isIgnored() ? `
|
|
33
|
-
* @ignored` : ""}${item.isHidden() ? `
|
|
34
|
-
* @hidden` : ""}
|
|
35
|
-
*/
|
|
36
|
-
${item.getNameAsString()}: ${stringifyValue(item.getType(), options.defaultValues?.[item.getNameAsString()] ?? item.getAlias().reduce((ret, alias) => {
|
|
37
|
-
if (isUndefined(ret) && !isUndefined(options.defaultValues?.[alias])) return options.defaultValues?.[alias];
|
|
38
|
-
return ret;
|
|
39
|
-
}, void 0) ?? item.getDefaultValue())}`).join(", \n")}
|
|
40
|
-
};
|
|
41
|
-
`;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
//#endregion
|
|
45
3
|
export { generateTypeScriptObject };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
package/dist/index.cjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
|
-
const
|
|
3
|
-
const
|
|
4
|
-
const require_unctx = require('./
|
|
2
|
+
const require_chunk = require('./chunk-CbDLau6x.cjs');
|
|
3
|
+
const require_output = require('./output-CQXrGP3y.cjs');
|
|
4
|
+
const require_unctx = require('./unctx-r7Vvh6XR.cjs');
|
|
5
5
|
let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
|
|
6
6
|
let __alloy_js_core = require("@alloy-js/core");
|
|
7
7
|
let __alloy_js_rollup_plugin = require("@alloy-js/rollup-plugin");
|
|
8
|
-
__alloy_js_rollup_plugin =
|
|
8
|
+
__alloy_js_rollup_plugin = require_chunk.__toESM(__alloy_js_rollup_plugin);
|
|
9
9
|
let __stryke_json_storm_json = require("@stryke/json/storm-json");
|
|
10
10
|
let __stryke_path_file_path_fns = require("@stryke/path/file-path-fns");
|
|
11
11
|
|
|
@@ -55,14 +55,16 @@ const plugin = (options = {}) => {
|
|
|
55
55
|
meta
|
|
56
56
|
}, async () => {
|
|
57
57
|
const _self$ = this;
|
|
58
|
-
|
|
58
|
+
const output = await (0, __alloy_js_core.renderAsync)((0, __alloy_js_core_jsx_runtime.createComponent)(require_output.Output, {
|
|
59
59
|
context: _self$,
|
|
60
60
|
meta,
|
|
61
61
|
get basePath() {
|
|
62
62
|
return _self$.workspaceConfig.workspaceRoot;
|
|
63
63
|
},
|
|
64
64
|
children
|
|
65
|
-
}))
|
|
65
|
+
}));
|
|
66
|
+
this.debug("Processing rendered output from Alloy-js.");
|
|
67
|
+
await (0, __alloy_js_core.traverseOutput)(output, {
|
|
66
68
|
visitDirectory: (directory) => {
|
|
67
69
|
if (this.fs.existsSync(directory.path)) return;
|
|
68
70
|
this.fs.mkdirSync(directory.path);
|
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { n as AlloyPluginOptions, t as AlloyPluginContext } from "./plugin-C6SupJ8C.cjs";
|
|
2
2
|
import { Plugin } from "powerlines/types/plugin";
|
|
3
3
|
|
|
4
4
|
//#region src/index.d.ts
|
|
@@ -11,4 +11,5 @@ import { Plugin } from "powerlines/types/plugin";
|
|
|
11
11
|
*/
|
|
12
12
|
declare const plugin: <TContext extends AlloyPluginContext = AlloyPluginContext>(options?: AlloyPluginOptions) => Plugin<TContext>[];
|
|
13
13
|
//#endregion
|
|
14
|
-
export { plugin as default, plugin };
|
|
14
|
+
export { plugin as default, plugin };
|
|
15
|
+
//# sourceMappingURL=index.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.tsx"],"sourcesContent":[],"mappings":";;;;;;;AAmCA;;;;AAwHc,cAxHD,MAwHC,EAAA,CAAA,iBAvHK,kBAuHL,GAvH0B,kBAuH1B,CAAA,CAAA,OAAA,CAAA,EArHH,kBAqHG,EAAA,GAAP,MAAO,CAAA,QAAA,CAAA,EAAA"}
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { n as AlloyPluginOptions, t as AlloyPluginContext } from "./plugin-bEu9fq1G.mjs";
|
|
2
2
|
import { Plugin } from "powerlines/types/plugin";
|
|
3
3
|
|
|
4
4
|
//#region src/index.d.ts
|
|
@@ -11,4 +11,5 @@ import { Plugin } from "powerlines/types/plugin";
|
|
|
11
11
|
*/
|
|
12
12
|
declare const plugin: <TContext extends AlloyPluginContext = AlloyPluginContext>(options?: AlloyPluginOptions) => Plugin<TContext>[];
|
|
13
13
|
//#endregion
|
|
14
|
-
export { plugin as default, plugin };
|
|
14
|
+
export { plugin as default, plugin };
|
|
15
|
+
//# sourceMappingURL=index.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.tsx"],"sourcesContent":[],"mappings":";;;;;;;AAmCA;;;;AAwHc,cAxHD,MAwHC,EAAA,CAAA,iBAvHK,kBAuHL,GAvH0B,kBAuH1B,CAAA,CAAA,OAAA,CAAA,EArHH,kBAqHG,EAAA,GAAP,MAAO,CAAA,QAAA,CAAA,EAAA"}
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { unctx } from "./
|
|
1
|
+
import { t as Output$1 } from "./output-D3UQ5nZo.mjs";
|
|
2
|
+
import { t as unctx } from "./unctx-MFxscYXI.mjs";
|
|
3
3
|
import { createComponent } from "@alloy-js/core/jsx-runtime";
|
|
4
4
|
import { renderAsync, traverseOutput } from "@alloy-js/core";
|
|
5
5
|
import rollupPlugin from "@alloy-js/rollup-plugin";
|
|
@@ -52,14 +52,16 @@ const plugin = (options = {}) => {
|
|
|
52
52
|
meta
|
|
53
53
|
}, async () => {
|
|
54
54
|
const _self$ = this;
|
|
55
|
-
|
|
55
|
+
const output = await renderAsync(createComponent(Output$1, {
|
|
56
56
|
context: _self$,
|
|
57
57
|
meta,
|
|
58
58
|
get basePath() {
|
|
59
59
|
return _self$.workspaceConfig.workspaceRoot;
|
|
60
60
|
},
|
|
61
61
|
children
|
|
62
|
-
}))
|
|
62
|
+
}));
|
|
63
|
+
this.debug("Processing rendered output from Alloy-js.");
|
|
64
|
+
await traverseOutput(output, {
|
|
63
65
|
visitDirectory: (directory) => {
|
|
64
66
|
if (this.fs.existsSync(directory.path)) return;
|
|
65
67
|
this.fs.mkdirSync(directory.path);
|
|
@@ -92,4 +94,5 @@ const plugin = (options = {}) => {
|
|
|
92
94
|
var src_default = plugin;
|
|
93
95
|
|
|
94
96
|
//#endregion
|
|
95
|
-
export { src_default as default, plugin };
|
|
97
|
+
export { src_default as default, plugin };
|
|
98
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","names":["renderAsync","traverseOutput","rollupPlugin","StormJSON","findFileExtension","Output","unctx","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","children","meta","callAsync","value","_self$","output","_$createComponent","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 { MetaItem } from \"./core/contexts/context\";\nimport { unctx } from \"./internal/unctx\";\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 (children: Children) => {\n const meta = {} as Record<string, MetaItem>;\n\n await unctx.callAsync({ value: this, meta }, async () => {\n const output = await renderAsync(\n <Output<TContext>\n context={this}\n meta={meta}\n basePath={this.workspaceConfig.workspaceRoot}>\n {children}\n </Output>\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 }\n ] as Plugin<TContext>[];\n};\n\nexport default plugin;\n"],"mappings":""}
|
|
@@ -1,28 +1,3 @@
|
|
|
1
|
-
const
|
|
2
|
-
let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
|
|
3
|
-
let __alloy_js_core = require("@alloy-js/core");
|
|
1
|
+
const require_front_matter = require('../../front-matter-DZ1tB-Uj.cjs');
|
|
4
2
|
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* Renders YAML front matter for a markdown file.
|
|
8
|
-
*
|
|
9
|
-
* @see https://jekyllrb.com/docs/front-matter/
|
|
10
|
-
*/
|
|
11
|
-
function FrontMatter(props) {
|
|
12
|
-
return [
|
|
13
|
-
"---",
|
|
14
|
-
(0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
|
|
15
|
-
(0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.For, {
|
|
16
|
-
get each() {
|
|
17
|
-
return Object.entries(props.data);
|
|
18
|
-
},
|
|
19
|
-
hardline: true,
|
|
20
|
-
children: ([key, value]) => __alloy_js_core.code`${key}: ${JSON.stringify(value)}`
|
|
21
|
-
}),
|
|
22
|
-
"---",
|
|
23
|
-
(0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {})
|
|
24
|
-
];
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
//#endregion
|
|
28
|
-
exports.FrontMatter = FrontMatter;
|
|
3
|
+
exports.FrontMatter = require_front_matter.FrontMatter;
|
|
@@ -1,15 +1,2 @@
|
|
|
1
|
-
import
|
|
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_core0.Children;
|
|
13
|
-
declare type __ΩFrontMatterProps = any[];
|
|
14
|
-
//#endregion
|
|
1
|
+
import { n as FrontMatterProps, r as __ΩFrontMatterProps, t as FrontMatter } from "../../front-matter-u9H7VPAF.cjs";
|
|
15
2
|
export { FrontMatter, FrontMatterProps, __ΩFrontMatterProps };
|
|
@@ -1,15 +1,2 @@
|
|
|
1
|
-
import
|
|
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_core9.Children;
|
|
13
|
-
declare type __ΩFrontMatterProps = any[];
|
|
14
|
-
//#endregion
|
|
1
|
+
import { n as FrontMatterProps, r as __ΩFrontMatterProps, t as FrontMatter } from "../../front-matter-DGpkM9OE.mjs";
|
|
15
2
|
export { FrontMatter, FrontMatterProps, __ΩFrontMatterProps };
|
|
@@ -1,27 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { For, code } from "@alloy-js/core";
|
|
1
|
+
import { t as FrontMatter } from "../../front-matter-2eGRXX11.mjs";
|
|
3
2
|
|
|
4
|
-
//#region src/markdown/components/front-matter.tsx
|
|
5
|
-
/**
|
|
6
|
-
* Renders YAML front matter for a markdown file.
|
|
7
|
-
*
|
|
8
|
-
* @see https://jekyllrb.com/docs/front-matter/
|
|
9
|
-
*/
|
|
10
|
-
function FrontMatter(props) {
|
|
11
|
-
return [
|
|
12
|
-
"---",
|
|
13
|
-
createIntrinsic("hbr", {}),
|
|
14
|
-
createComponent(For, {
|
|
15
|
-
get each() {
|
|
16
|
-
return Object.entries(props.data);
|
|
17
|
-
},
|
|
18
|
-
hardline: true,
|
|
19
|
-
children: ([key, value]) => code`${key}: ${JSON.stringify(value)}`
|
|
20
|
-
}),
|
|
21
|
-
"---",
|
|
22
|
-
createIntrinsic("hbr", {})
|
|
23
|
-
];
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
//#endregion
|
|
27
3
|
export { FrontMatter };
|
|
@@ -1,10 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
require('../../unctx-r7Vvh6XR.cjs');
|
|
2
|
+
require('../../single-line-comment-COZ9RWsm.cjs');
|
|
3
|
+
require('../../context--KBspFnw.cjs');
|
|
4
|
+
require('../../reflection-DHpdhvwI.cjs');
|
|
5
|
+
require('../../contexts-DezKayEz.cjs');
|
|
6
|
+
require('../../source-file-BAVTBVJy.cjs');
|
|
7
|
+
const require_front_matter = require('../../front-matter-DZ1tB-Uj.cjs');
|
|
8
|
+
const require_markdown_file = require('../../markdown-file-CAwtMwsl.cjs');
|
|
9
|
+
require('../../markdown-table-BWPm6GbJ.cjs');
|
|
10
|
+
const require_markdown_table$1 = require('../../markdown-table-eTnxxb46.cjs');
|
|
11
|
+
require('../../components-DPKSrvP-.cjs');
|
|
4
12
|
|
|
5
|
-
exports.FrontMatter =
|
|
6
|
-
exports.MarkdownFile =
|
|
7
|
-
exports.MarkdownFileHeader =
|
|
8
|
-
exports.MarkdownTable =
|
|
9
|
-
exports.MarkdownTableColumn =
|
|
10
|
-
exports.MarkdownTableColumnHeader =
|
|
13
|
+
exports.FrontMatter = require_front_matter.FrontMatter;
|
|
14
|
+
exports.MarkdownFile = require_markdown_file.MarkdownFile;
|
|
15
|
+
exports.MarkdownFileHeader = require_markdown_file.MarkdownFileHeader;
|
|
16
|
+
exports.MarkdownTable = require_markdown_table$1.MarkdownTable;
|
|
17
|
+
exports.MarkdownTableColumn = require_markdown_table$1.MarkdownTableColumn;
|
|
18
|
+
exports.MarkdownTableColumnHeader = require_markdown_table$1.MarkdownTableColumnHeader;
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
1
|
+
import "../../components-IRVnipN0.cjs";
|
|
2
|
+
import "../../source-file-BTsyACav.cjs";
|
|
3
|
+
import { n as FrontMatterProps, r as __ΩFrontMatterProps, t as FrontMatter } from "../../front-matter-u9H7VPAF.cjs";
|
|
4
|
+
import { a as __ΩMarkdownFileHeaderProps, i as MarkdownFileProps, n as MarkdownFileHeader, o as __ΩMarkdownFileProps, r as MarkdownFileHeaderProps, t as MarkdownFile } from "../../markdown-file-CIGTz9xQ.cjs";
|
|
5
|
+
import "../../markdown-table-Br2Ihl2z.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-AoJIzA89.cjs";
|
|
7
|
+
import "../../index-CrhZaFgN.cjs";
|
|
4
8
|
export { FrontMatter, FrontMatterProps, MarkdownFile, MarkdownFileHeader, MarkdownFileHeaderProps, MarkdownFileProps, MarkdownTable, MarkdownTableColumn, MarkdownTableColumnHeader, MarkdownTableColumnProps, MarkdownTableProps, __ΩFrontMatterProps, __ΩMarkdownFileHeaderProps, __ΩMarkdownFileProps, __ΩMarkdownTableColumnProps, __ΩMarkdownTableProps };
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
1
|
+
import "../../components-oHSM7vmp.mjs";
|
|
2
|
+
import "../../source-file-CQl0UCgf.mjs";
|
|
3
|
+
import { n as FrontMatterProps, r as __ΩFrontMatterProps, t as FrontMatter } from "../../front-matter-DGpkM9OE.mjs";
|
|
4
|
+
import { a as __ΩMarkdownFileHeaderProps, i as MarkdownFileProps, n as MarkdownFileHeader, o as __ΩMarkdownFileProps, r as MarkdownFileHeaderProps, t as MarkdownFile } from "../../markdown-file-EtJaVhJ3.mjs";
|
|
5
|
+
import "../../markdown-table-CFL7L6rA.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-ChvYobzz.mjs";
|
|
7
|
+
import "../../index-B-Y-ZG2x.mjs";
|
|
4
8
|
export { FrontMatter, FrontMatterProps, MarkdownFile, MarkdownFileHeader, MarkdownFileHeaderProps, MarkdownFileProps, MarkdownTable, MarkdownTableColumn, MarkdownTableColumnHeader, MarkdownTableColumnProps, MarkdownTableProps, __ΩFrontMatterProps, __ΩMarkdownFileHeaderProps, __ΩMarkdownFileProps, __ΩMarkdownTableColumnProps, __ΩMarkdownTableProps };
|
|
@@ -1,5 +1,13 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import "../../unctx-MFxscYXI.mjs";
|
|
2
|
+
import "../../single-line-comment-mOQtfhWt.mjs";
|
|
3
|
+
import "../../context-e2kZWEFW.mjs";
|
|
4
|
+
import "../../reflection-B-NMNIoB.mjs";
|
|
5
|
+
import "../../contexts-juWSyBfb.mjs";
|
|
6
|
+
import "../../source-file-BiJK-nH_.mjs";
|
|
7
|
+
import { t as FrontMatter } from "../../front-matter-2eGRXX11.mjs";
|
|
8
|
+
import { n as MarkdownFileHeader, t as MarkdownFile } from "../../markdown-file-DIcSvowq.mjs";
|
|
9
|
+
import "../../markdown-table-g6DeP10e.mjs";
|
|
10
|
+
import { n as MarkdownTableColumn, r as MarkdownTableColumnHeader, t as MarkdownTable } from "../../markdown-table-D3DonpwR.mjs";
|
|
11
|
+
import "../../components-CpjG2zC9.mjs";
|
|
4
12
|
|
|
5
13
|
export { FrontMatter, MarkdownFile, MarkdownFileHeader, MarkdownTable, MarkdownTableColumn, MarkdownTableColumnHeader };
|
|
@@ -1,131 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
let __alloy_js_markdown = require("@alloy-js/markdown");
|
|
10
|
-
let __stryke_type_checks = require("@stryke/type-checks");
|
|
1
|
+
require('../../unctx-r7Vvh6XR.cjs');
|
|
2
|
+
require('../../single-line-comment-COZ9RWsm.cjs');
|
|
3
|
+
require('../../context--KBspFnw.cjs');
|
|
4
|
+
require('../../reflection-DHpdhvwI.cjs');
|
|
5
|
+
require('../../contexts-DezKayEz.cjs');
|
|
6
|
+
require('../../source-file-BAVTBVJy.cjs');
|
|
7
|
+
require('../../front-matter-DZ1tB-Uj.cjs');
|
|
8
|
+
const require_markdown_file = require('../../markdown-file-CAwtMwsl.cjs');
|
|
11
9
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
* A base component representing a Powerlines generated markdown source file.
|
|
15
|
-
*
|
|
16
|
-
* @param props - The properties for the source file.
|
|
17
|
-
* @returns The rendered source file component.
|
|
18
|
-
*/
|
|
19
|
-
function MarkdownFile(props) {
|
|
20
|
-
const [{ children, storage, frontMatter }, rest] = (0, __alloy_js_core.splitProps)(props, [
|
|
21
|
-
"children",
|
|
22
|
-
"storage",
|
|
23
|
-
"frontMatter"
|
|
24
|
-
]);
|
|
25
|
-
return (0, __alloy_js_core_jsx_runtime.createComponent)(require_core_components_source_file.SourceFile, (0, __alloy_js_core_jsx_runtime.mergeProps)({ get header() {
|
|
26
|
-
return (0, __alloy_js_core_jsx_runtime.createComponent)(MarkdownFileHeader, { frontMatter });
|
|
27
|
-
} }, rest, {
|
|
28
|
-
filetype: "md",
|
|
29
|
-
reference: __alloy_js_markdown.Link,
|
|
30
|
-
storage,
|
|
31
|
-
get children() {
|
|
32
|
-
return (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
|
|
33
|
-
get when() {
|
|
34
|
-
return Boolean(children);
|
|
35
|
-
},
|
|
36
|
-
children
|
|
37
|
-
});
|
|
38
|
-
}
|
|
39
|
-
}));
|
|
40
|
-
}
|
|
41
|
-
/**
|
|
42
|
-
* Renders the header for a Powerlines Typescript source file.
|
|
43
|
-
*
|
|
44
|
-
* @param props - The properties for the source file header.
|
|
45
|
-
* @returns The rendered source file header.
|
|
46
|
-
*/
|
|
47
|
-
function MarkdownFileHeader(props) {
|
|
48
|
-
const [{ children, disableEslint = true, disableBiome = true, disablePrettier = false, frontMatter }] = (0, __alloy_js_core.splitProps)(props, [
|
|
49
|
-
"children",
|
|
50
|
-
"disableEslint",
|
|
51
|
-
"disableBiome",
|
|
52
|
-
"disablePrettier",
|
|
53
|
-
"frontMatter"
|
|
54
|
-
]);
|
|
55
|
-
const context = require_core_contexts_context.usePowerlinesSafe();
|
|
56
|
-
return [
|
|
57
|
-
(0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
|
|
58
|
-
get when() {
|
|
59
|
-
return (0, __alloy_js_core_jsx_runtime.memo)(() => !!(0, __stryke_type_checks.isSetObject)(frontMatter))() && Object.keys(frontMatter).length > 0;
|
|
60
|
-
},
|
|
61
|
-
get children() {
|
|
62
|
-
return (0, __alloy_js_core_jsx_runtime.createComponent)(require_markdown_components_front_matter.FrontMatter, { data: frontMatter });
|
|
63
|
-
}
|
|
64
|
-
}),
|
|
65
|
-
(0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
|
|
66
|
-
get when() {
|
|
67
|
-
return Boolean(disableEslint);
|
|
68
|
-
},
|
|
69
|
-
get children() {
|
|
70
|
-
return [(0, __alloy_js_core_jsx_runtime.createComponent)(require_core_components_single_line_comment.SingleLineComment, {
|
|
71
|
-
variant: "markdown",
|
|
72
|
-
children: "eslint-disable"
|
|
73
|
-
}), (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {})];
|
|
74
|
-
}
|
|
75
|
-
}),
|
|
76
|
-
(0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
|
|
77
|
-
get when() {
|
|
78
|
-
return Boolean(disablePrettier);
|
|
79
|
-
},
|
|
80
|
-
get children() {
|
|
81
|
-
return [(0, __alloy_js_core_jsx_runtime.createComponent)(require_core_components_single_line_comment.SingleLineComment, {
|
|
82
|
-
variant: "markdown",
|
|
83
|
-
children: "prettier-ignore"
|
|
84
|
-
}), (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {})];
|
|
85
|
-
}
|
|
86
|
-
}),
|
|
87
|
-
(0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
|
|
88
|
-
get when() {
|
|
89
|
-
return Boolean(disableBiome);
|
|
90
|
-
},
|
|
91
|
-
get children() {
|
|
92
|
-
return [(0, __alloy_js_core_jsx_runtime.createComponent)(require_core_components_single_line_comment.SingleLineComment, {
|
|
93
|
-
variant: "markdown",
|
|
94
|
-
children: "biome-ignore lint: disable"
|
|
95
|
-
}), (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {})];
|
|
96
|
-
}
|
|
97
|
-
}),
|
|
98
|
-
(0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
|
|
99
|
-
get when() {
|
|
100
|
-
return Boolean(disableEslint) || Boolean(disablePrettier) || Boolean(disableBiome);
|
|
101
|
-
},
|
|
102
|
-
get children() {
|
|
103
|
-
return (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {});
|
|
104
|
-
}
|
|
105
|
-
}),
|
|
106
|
-
(0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
|
|
107
|
-
get when() {
|
|
108
|
-
return Boolean(children);
|
|
109
|
-
},
|
|
110
|
-
get children() {
|
|
111
|
-
return [children, (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {})];
|
|
112
|
-
}
|
|
113
|
-
}),
|
|
114
|
-
(0, __alloy_js_core_jsx_runtime.createComponent)(require_core_components_single_line_comment.SingleLineComment, {
|
|
115
|
-
variant: "markdown",
|
|
116
|
-
get children() {
|
|
117
|
-
return `Generated by ${(0, __stryke_string_format_title_case.titleCase)(context?.config?.framework) || "Powerlines"}`;
|
|
118
|
-
}
|
|
119
|
-
}),
|
|
120
|
-
(0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
|
|
121
|
-
(0, __alloy_js_core_jsx_runtime.createComponent)(require_core_components_single_line_comment.SingleLineComment, {
|
|
122
|
-
variant: "markdown",
|
|
123
|
-
children: __alloy_js_core.code`NOTE: Do not edit this file manually - it will be overwritten automatically`
|
|
124
|
-
}),
|
|
125
|
-
(0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {})
|
|
126
|
-
];
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
//#endregion
|
|
130
|
-
exports.MarkdownFile = MarkdownFile;
|
|
131
|
-
exports.MarkdownFileHeader = MarkdownFileHeader;
|
|
10
|
+
exports.MarkdownFile = require_markdown_file.MarkdownFile;
|
|
11
|
+
exports.MarkdownFileHeader = require_markdown_file.MarkdownFileHeader;
|
|
@@ -1,28 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
//#region src/markdown/components/markdown-file.d.ts
|
|
7
|
-
type MarkdownFileProps = Omit<SourceFileProps$1, "filetype"> & ComponentProps & MarkdownFileHeaderProps;
|
|
8
|
-
/**
|
|
9
|
-
* A base component representing a Powerlines generated markdown source file.
|
|
10
|
-
*
|
|
11
|
-
* @param props - The properties for the source file.
|
|
12
|
-
* @returns The rendered source file component.
|
|
13
|
-
*/
|
|
14
|
-
declare function MarkdownFile(props: MarkdownFileProps): _alloy_js_core8.Children;
|
|
15
|
-
type MarkdownFileHeaderProps = SourceFileHeaderProps & {
|
|
16
|
-
frontMatter?: FrontMatterProps["data"];
|
|
17
|
-
};
|
|
18
|
-
/**
|
|
19
|
-
* Renders the header for a Powerlines Typescript source file.
|
|
20
|
-
*
|
|
21
|
-
* @param props - The properties for the source file header.
|
|
22
|
-
* @returns The rendered source file header.
|
|
23
|
-
*/
|
|
24
|
-
declare function MarkdownFileHeader(props: MarkdownFileHeaderProps): _alloy_js_core8.Children;
|
|
25
|
-
declare type __ΩMarkdownFileProps = any[];
|
|
26
|
-
declare type __ΩMarkdownFileHeaderProps = any[];
|
|
27
|
-
//#endregion
|
|
1
|
+
import "../../components-IRVnipN0.cjs";
|
|
2
|
+
import "../../source-file-BTsyACav.cjs";
|
|
3
|
+
import "../../front-matter-u9H7VPAF.cjs";
|
|
4
|
+
import { a as __ΩMarkdownFileHeaderProps, i as MarkdownFileProps, n as MarkdownFileHeader, o as __ΩMarkdownFileProps, r as MarkdownFileHeaderProps, t as MarkdownFile } from "../../markdown-file-CIGTz9xQ.cjs";
|
|
28
5
|
export { MarkdownFile, MarkdownFileHeader, MarkdownFileHeaderProps, MarkdownFileProps, __ΩMarkdownFileHeaderProps, __ΩMarkdownFileProps };
|
|
@@ -1,28 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
//#region src/markdown/components/markdown-file.d.ts
|
|
7
|
-
type MarkdownFileProps = Omit<SourceFileProps$1, "filetype"> & ComponentProps & MarkdownFileHeaderProps;
|
|
8
|
-
/**
|
|
9
|
-
* A base component representing a Powerlines generated markdown source file.
|
|
10
|
-
*
|
|
11
|
-
* @param props - The properties for the source file.
|
|
12
|
-
* @returns The rendered source file component.
|
|
13
|
-
*/
|
|
14
|
-
declare function MarkdownFile(props: MarkdownFileProps): _alloy_js_core7.Children;
|
|
15
|
-
type MarkdownFileHeaderProps = SourceFileHeaderProps & {
|
|
16
|
-
frontMatter?: FrontMatterProps["data"];
|
|
17
|
-
};
|
|
18
|
-
/**
|
|
19
|
-
* Renders the header for a Powerlines Typescript source file.
|
|
20
|
-
*
|
|
21
|
-
* @param props - The properties for the source file header.
|
|
22
|
-
* @returns The rendered source file header.
|
|
23
|
-
*/
|
|
24
|
-
declare function MarkdownFileHeader(props: MarkdownFileHeaderProps): _alloy_js_core7.Children;
|
|
25
|
-
declare type __ΩMarkdownFileProps = any[];
|
|
26
|
-
declare type __ΩMarkdownFileHeaderProps = any[];
|
|
27
|
-
//#endregion
|
|
1
|
+
import "../../components-oHSM7vmp.mjs";
|
|
2
|
+
import "../../source-file-CQl0UCgf.mjs";
|
|
3
|
+
import "../../front-matter-DGpkM9OE.mjs";
|
|
4
|
+
import { a as __ΩMarkdownFileHeaderProps, i as MarkdownFileProps, n as MarkdownFileHeader, o as __ΩMarkdownFileProps, r as MarkdownFileHeaderProps, t as MarkdownFile } from "../../markdown-file-EtJaVhJ3.mjs";
|
|
28
5
|
export { MarkdownFile, MarkdownFileHeader, MarkdownFileHeaderProps, MarkdownFileProps, __ΩMarkdownFileHeaderProps, __ΩMarkdownFileProps };
|