@powerlines/plugin-alloy 0.19.33 → 0.19.34
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/{chunk-CbDLau6x.cjs → _virtual/rolldown_runtime.cjs} +1 -6
- package/dist/core/components/index.cjs +6 -11
- package/dist/core/components/index.d.cts +3 -9
- package/dist/core/components/index.d.mts +3 -9
- package/dist/core/components/index.mjs +3 -8
- package/dist/core/components/output.cjs +39 -6
- package/dist/core/components/output.d.cts +25 -7
- package/dist/core/components/output.d.cts.map +1 -0
- package/dist/core/components/output.d.mts +25 -7
- package/dist/core/components/output.d.mts.map +1 -0
- package/dist/core/components/output.mjs +39 -6
- package/dist/core/components/output.mjs.map +1 -0
- package/dist/core/components/single-line-comment.cjs +21 -2
- package/dist/core/components/single-line-comment.d.cts +23 -3
- package/dist/core/components/single-line-comment.d.cts.map +1 -0
- package/dist/core/components/single-line-comment.d.mts +23 -3
- package/dist/core/components/single-line-comment.d.mts.map +1 -0
- package/dist/core/components/single-line-comment.mjs +21 -2
- package/dist/core/components/single-line-comment.mjs.map +1 -0
- package/dist/core/components/source-file.cjs +62 -3
- package/dist/core/components/source-file.d.cts +33 -3
- package/dist/core/components/source-file.d.cts.map +1 -0
- package/dist/core/components/source-file.d.mts +33 -3
- package/dist/core/components/source-file.d.mts.map +1 -0
- package/dist/core/components/source-file.mjs +61 -3
- package/dist/core/components/source-file.mjs.map +1 -0
- package/dist/core/contexts/context.cjs +39 -5
- package/dist/core/contexts/context.d.cts +30 -2
- package/dist/core/contexts/context.d.cts.map +1 -0
- package/dist/core/contexts/context.d.mts +30 -2
- package/dist/core/contexts/context.d.mts.map +1 -0
- package/dist/core/contexts/context.mjs +36 -2
- package/dist/core/contexts/context.mjs.map +1 -0
- package/dist/core/contexts/index.cjs +19 -20
- package/dist/core/contexts/index.d.cts +3 -5
- package/dist/core/contexts/index.d.mts +3 -5
- package/dist/core/contexts/index.mjs +3 -4
- package/dist/core/contexts/meta.cjs +39 -5
- package/dist/core/contexts/meta.d.cts +48 -2
- package/dist/core/contexts/meta.d.cts.map +1 -0
- package/dist/core/contexts/meta.d.mts +48 -2
- package/dist/core/contexts/meta.d.mts.map +1 -0
- package/dist/core/contexts/meta.mjs +36 -2
- package/dist/core/contexts/meta.mjs.map +1 -0
- package/dist/core/contexts/reflection.cjs +67 -9
- package/dist/core/contexts/reflection.d.cts +53 -3
- package/dist/core/contexts/reflection.d.cts.map +1 -0
- package/dist/core/contexts/reflection.d.mts +53 -3
- package/dist/core/contexts/reflection.d.mts.map +1 -0
- package/dist/core/contexts/reflection.mjs +60 -2
- package/dist/core/contexts/reflection.mjs.map +1 -0
- package/dist/core/index.cjs +27 -27
- package/dist/core/index.d.cts +8 -9
- package/dist/core/index.d.mts +8 -9
- package/dist/core/index.mjs +8 -8
- package/dist/helpers/capnp.cjs +276 -18
- package/dist/helpers/capnp.d.cts +88 -2
- package/dist/helpers/capnp.d.cts.map +1 -0
- package/dist/helpers/capnp.d.mts +88 -2
- package/dist/helpers/capnp.d.mts.map +1 -0
- package/dist/helpers/capnp.mjs +259 -2
- package/dist/helpers/capnp.mjs.map +1 -0
- package/dist/helpers/create-builtin.cjs +18 -2
- package/dist/helpers/create-builtin.d.cts +16 -2
- package/dist/helpers/create-builtin.d.cts.map +1 -0
- package/dist/helpers/create-builtin.d.mts +16 -2
- package/dist/helpers/create-builtin.d.mts.map +1 -0
- package/dist/helpers/create-builtin.mjs +18 -2
- package/dist/helpers/create-builtin.mjs.map +1 -0
- 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 +15 -2
- package/dist/helpers/refkey.d.cts +14 -2
- package/dist/helpers/refkey.d.cts.map +1 -0
- package/dist/helpers/refkey.d.mts +14 -2
- package/dist/helpers/refkey.d.mts.map +1 -0
- package/dist/helpers/refkey.mjs +15 -2
- package/dist/helpers/refkey.mjs.map +1 -0
- package/dist/helpers/typescript.cjs +45 -2
- package/dist/helpers/typescript.d.cts +26 -2
- package/dist/helpers/typescript.d.cts.map +1 -0
- package/dist/helpers/typescript.d.mts +26 -2
- package/dist/helpers/typescript.d.mts.map +1 -0
- package/dist/helpers/typescript.mjs +45 -2
- package/dist/helpers/typescript.mjs.map +1 -0
- package/dist/index.cjs +2 -2
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/markdown/components/front-matter.cjs +27 -2
- package/dist/markdown/components/front-matter.d.cts +16 -2
- package/dist/markdown/components/front-matter.d.cts.map +1 -0
- package/dist/markdown/components/front-matter.d.mts +16 -2
- package/dist/markdown/components/front-matter.d.mts.map +1 -0
- package/dist/markdown/components/front-matter.mjs +27 -2
- package/dist/markdown/components/front-matter.mjs.map +1 -0
- package/dist/markdown/components/index.cjs +9 -15
- package/dist/markdown/components/index.d.cts +3 -7
- package/dist/markdown/components/index.d.mts +3 -7
- package/dist/markdown/components/index.mjs +3 -9
- package/dist/markdown/components/markdown-file.cjs +130 -8
- package/dist/markdown/components/markdown-file.d.cts +29 -5
- package/dist/markdown/components/markdown-file.d.cts.map +1 -0
- package/dist/markdown/components/markdown-file.d.mts +29 -5
- package/dist/markdown/components/markdown-file.d.mts.map +1 -0
- package/dist/markdown/components/markdown-file.mjs +129 -7
- package/dist/markdown/components/markdown-file.mjs.map +1 -0
- package/dist/markdown/components/markdown-table.cjs +100 -5
- package/dist/markdown/components/markdown-table.d.cts +28 -4
- package/dist/markdown/components/markdown-table.d.cts.map +1 -0
- package/dist/markdown/components/markdown-table.d.mts +28 -4
- package/dist/markdown/components/markdown-table.d.mts.map +1 -0
- package/dist/markdown/components/markdown-table.mjs +98 -3
- package/dist/markdown/components/markdown-table.mjs.map +1 -0
- package/dist/markdown/contexts/index.cjs +5 -6
- package/dist/markdown/contexts/index.d.cts +1 -2
- package/dist/markdown/contexts/index.d.mts +1 -2
- package/dist/markdown/contexts/index.mjs +1 -2
- package/dist/markdown/contexts/markdown-table.cjs +36 -5
- package/dist/markdown/contexts/markdown-table.d.cts +38 -2
- package/dist/markdown/contexts/markdown-table.d.cts.map +1 -0
- package/dist/markdown/contexts/markdown-table.d.mts +38 -2
- package/dist/markdown/contexts/markdown-table.d.mts.map +1 -0
- package/dist/markdown/contexts/markdown-table.mjs +33 -2
- package/dist/markdown/contexts/markdown-table.mjs.map +1 -0
- package/dist/markdown/index.cjs +16 -20
- package/dist/markdown/index.d.cts +6 -8
- package/dist/markdown/index.d.mts +6 -8
- package/dist/markdown/index.mjs +6 -10
- package/dist/render.cjs +1 -1
- package/dist/types/components.cjs +0 -1
- package/dist/types/components.d.cts +143 -2
- package/dist/types/components.d.cts.map +1 -0
- package/dist/types/components.d.mts +143 -2
- package/dist/types/components.d.mts.map +1 -0
- package/dist/types/components.mjs +0 -2
- package/dist/types/index.cjs +0 -2
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.mts +2 -2
- package/dist/types/index.mjs +0 -3
- package/dist/types/plugin.cjs +0 -1
- package/dist/types/plugin.d.cts +39 -2
- package/dist/types/plugin.d.cts.map +1 -0
- package/dist/types/plugin.d.mts +39 -2
- package/dist/types/plugin.d.mts.map +1 -0
- package/dist/types/plugin.mjs +0 -2
- package/dist/typescript/components/builtin-file.cjs +61 -8
- package/dist/typescript/components/builtin-file.d.cts +35 -6
- package/dist/typescript/components/builtin-file.d.cts.map +1 -0
- package/dist/typescript/components/builtin-file.d.mts +35 -6
- package/dist/typescript/components/builtin-file.d.mts.map +1 -0
- package/dist/typescript/components/builtin-file.mjs +61 -8
- package/dist/typescript/components/builtin-file.mjs.map +1 -0
- package/dist/typescript/components/dynamic-import-statement.cjs +24 -2
- package/dist/typescript/components/dynamic-import-statement.d.cts +33 -2
- package/dist/typescript/components/dynamic-import-statement.d.cts.map +1 -0
- package/dist/typescript/components/dynamic-import-statement.d.mts +33 -2
- package/dist/typescript/components/dynamic-import-statement.d.mts.map +1 -0
- package/dist/typescript/components/dynamic-import-statement.mjs +24 -2
- package/dist/typescript/components/dynamic-import-statement.mjs.map +1 -0
- package/dist/typescript/components/entry-file.cjs +41 -7
- package/dist/typescript/components/entry-file.d.cts +28 -5
- package/dist/typescript/components/entry-file.d.cts.map +1 -0
- package/dist/typescript/components/entry-file.d.mts +28 -5
- package/dist/typescript/components/entry-file.d.mts.map +1 -0
- package/dist/typescript/components/entry-file.mjs +40 -7
- package/dist/typescript/components/entry-file.mjs.map +1 -0
- package/dist/typescript/components/index.cjs +43 -49
- package/dist/typescript/components/index.d.cts +9 -12
- package/dist/typescript/components/index.d.mts +9 -12
- package/dist/typescript/components/index.mjs +9 -15
- package/dist/typescript/components/record-expression.cjs +11 -2
- package/dist/typescript/components/record-expression.d.cts +13 -2
- package/dist/typescript/components/record-expression.d.cts.map +1 -0
- package/dist/typescript/components/record-expression.d.mts +13 -2
- package/dist/typescript/components/record-expression.d.mts.map +1 -0
- package/dist/typescript/components/record-expression.mjs +11 -2
- package/dist/typescript/components/record-expression.mjs.map +1 -0
- package/dist/typescript/components/tsdoc-reflection.cjs +177 -7
- package/dist/typescript/components/tsdoc-reflection.d.cts +19 -4
- package/dist/typescript/components/tsdoc-reflection.d.cts.map +1 -0
- package/dist/typescript/components/tsdoc-reflection.d.mts +19 -4
- package/dist/typescript/components/tsdoc-reflection.d.mts.map +1 -0
- package/dist/typescript/components/tsdoc-reflection.mjs +175 -5
- package/dist/typescript/components/tsdoc-reflection.mjs.map +1 -0
- package/dist/typescript/components/tsdoc.cjs +484 -22
- package/dist/typescript/components/tsdoc.d.cts +164 -3
- package/dist/typescript/components/tsdoc.d.cts.map +1 -0
- package/dist/typescript/components/tsdoc.d.mts +164 -3
- package/dist/typescript/components/tsdoc.d.mts.map +1 -0
- package/dist/typescript/components/tsdoc.mjs +465 -3
- package/dist/typescript/components/tsdoc.mjs.map +1 -0
- package/dist/typescript/components/typescript-file.cjs +215 -8
- package/dist/typescript/components/typescript-file.d.cts +50 -4
- package/dist/typescript/components/typescript-file.d.cts.map +1 -0
- package/dist/typescript/components/typescript-file.d.mts +50 -4
- package/dist/typescript/components/typescript-file.d.mts.map +1 -0
- package/dist/typescript/components/typescript-file.mjs +213 -6
- package/dist/typescript/components/typescript-file.mjs.map +1 -0
- package/dist/typescript/components/typescript-interface.cjs +72 -7
- package/dist/typescript/components/typescript-interface.d.cts +26 -3
- package/dist/typescript/components/typescript-interface.d.cts.map +1 -0
- package/dist/typescript/components/typescript-interface.d.mts +26 -3
- package/dist/typescript/components/typescript-interface.d.mts.map +1 -0
- package/dist/typescript/components/typescript-interface.mjs +71 -6
- package/dist/typescript/components/typescript-interface.mjs.map +1 -0
- package/dist/typescript/components/typescript-object.cjs +124 -7
- package/dist/typescript/components/typescript-object.d.cts +30 -3
- package/dist/typescript/components/typescript-object.d.cts.map +1 -0
- package/dist/typescript/components/typescript-object.d.mts +30 -3
- package/dist/typescript/components/typescript-object.d.mts.map +1 -0
- package/dist/typescript/components/typescript-object.mjs +123 -6
- package/dist/typescript/components/typescript-object.mjs.map +1 -0
- package/dist/typescript/index.cjs +44 -49
- package/dist/typescript/index.d.cts +10 -12
- package/dist/typescript/index.d.mts +10 -12
- package/dist/typescript/index.mjs +10 -15
- package/package.json +6 -6
- package/dist/builtin-file-BdkkDbuv.mjs +0 -62
- package/dist/builtin-file-BdkkDbuv.mjs.map +0 -1
- package/dist/builtin-file-CQAeHqiO.cjs +0 -67
- package/dist/builtin-file-CiMiD-Yn.d.mts +0 -35
- package/dist/builtin-file-CiMiD-Yn.d.mts.map +0 -1
- package/dist/builtin-file-GmfaWXJY.d.cts +0 -35
- package/dist/builtin-file-GmfaWXJY.d.cts.map +0 -1
- package/dist/capnp-BN8Yh6nt.d.mts +0 -88
- package/dist/capnp-BN8Yh6nt.d.mts.map +0 -1
- package/dist/capnp-Bn9LSaf5.d.cts +0 -88
- package/dist/capnp-Bn9LSaf5.d.cts.map +0 -1
- package/dist/capnp-ClfqI-5t.cjs +0 -356
- package/dist/capnp-XK1IvfIR.mjs +0 -260
- package/dist/capnp-XK1IvfIR.mjs.map +0 -1
- package/dist/components-B0evB5xd.cjs +0 -0
- package/dist/components-BHsPgUVD.mjs +0 -1
- package/dist/components-BNK9p5AE.cjs +0 -0
- package/dist/components-C4MWIzKk.mjs +0 -1
- package/dist/components-CpcNHd1P.d.mts +0 -143
- package/dist/components-CpcNHd1P.d.mts.map +0 -1
- package/dist/components-DPKSrvP-.cjs +0 -0
- package/dist/components-Das8TEFO.mjs +0 -1
- package/dist/components-IK2mq84Q.d.cts +0 -143
- package/dist/components-IK2mq84Q.d.cts.map +0 -1
- package/dist/components-ISRFDWTF.cjs +0 -0
- package/dist/components-bxkcKDVx.mjs +0 -1
- package/dist/context-7oUaz8OU.d.cts +0 -30
- package/dist/context-7oUaz8OU.d.cts.map +0 -1
- package/dist/context-BAEo3418.d.mts +0 -30
- package/dist/context-BAEo3418.d.mts.map +0 -1
- package/dist/context-CKFN898c.mjs +0 -37
- package/dist/context-CKFN898c.mjs.map +0 -1
- package/dist/context-DNdlL_gp.cjs +0 -60
- package/dist/contexts-DWGMeWga.cjs +0 -0
- package/dist/contexts-DppcDJxB.mjs +0 -1
- package/dist/contexts-J643Nrrt.cjs +0 -0
- package/dist/contexts-d0vn6-x6.mjs +0 -1
- package/dist/create-builtin-BTtoNoeS.d.mts +0 -16
- package/dist/create-builtin-BTtoNoeS.d.mts.map +0 -1
- package/dist/create-builtin-BiKyN2s2.cjs +0 -24
- package/dist/create-builtin-C4n9BYjY.mjs +0 -19
- package/dist/create-builtin-C4n9BYjY.mjs.map +0 -1
- package/dist/create-builtin-DvcoEGqh.d.cts +0 -16
- package/dist/create-builtin-DvcoEGqh.d.cts.map +0 -1
- package/dist/dynamic-import-statement-BVggdOVL.mjs +0 -25
- package/dist/dynamic-import-statement-BVggdOVL.mjs.map +0 -1
- package/dist/dynamic-import-statement-CNkFdigQ.d.mts +0 -33
- package/dist/dynamic-import-statement-CNkFdigQ.d.mts.map +0 -1
- package/dist/dynamic-import-statement-CmMuHy6m.d.cts +0 -33
- package/dist/dynamic-import-statement-CmMuHy6m.d.cts.map +0 -1
- package/dist/dynamic-import-statement-Dy_MY_Ua.cjs +0 -30
- package/dist/entry-file-D5u7AjDL.cjs +0 -47
- package/dist/entry-file-DVYjczbC.d.mts +0 -28
- package/dist/entry-file-DVYjczbC.d.mts.map +0 -1
- package/dist/entry-file-Fw7DyszP.mjs +0 -41
- package/dist/entry-file-Fw7DyszP.mjs.map +0 -1
- package/dist/entry-file-xdUfTbOs.d.cts +0 -28
- package/dist/entry-file-xdUfTbOs.d.cts.map +0 -1
- package/dist/front-matter-DZ1tB-Uj.cjs +0 -33
- package/dist/front-matter-Dh3d0_QX.d.cts +0 -16
- package/dist/front-matter-Dh3d0_QX.d.cts.map +0 -1
- package/dist/front-matter-DpcRWZVa.d.mts +0 -16
- package/dist/front-matter-DpcRWZVa.d.mts.map +0 -1
- package/dist/front-matter-Dzh6QhN-.mjs +0 -28
- package/dist/front-matter-Dzh6QhN-.mjs.map +0 -1
- package/dist/index-BUYyA1Xh.d.cts +0 -1
- package/dist/index-B_BBnMou.d.mts +0 -1
- package/dist/index-Ch3mSML4.d.cts +0 -1
- package/dist/index-CzItj62a.d.mts +0 -1
- package/dist/index-DHFfG4yr.d.cts +0 -1
- package/dist/index-DgJfEygr.d.mts +0 -1
- package/dist/index-Dt_vyhB_.d.cts +0 -1
- package/dist/index-Iujpc9_6.d.mts +0 -1
- package/dist/index-qCd8f7Um.d.cts +0 -1
- package/dist/index-uY8Qbwfx.d.mts +0 -1
- package/dist/markdown-file-CFt8hI37.cjs +0 -141
- package/dist/markdown-file-Dw1Vv4af.d.mts +0 -29
- package/dist/markdown-file-Dw1Vv4af.d.mts.map +0 -1
- package/dist/markdown-file-fsUT-8rA.d.cts +0 -29
- package/dist/markdown-file-fsUT-8rA.d.cts.map +0 -1
- package/dist/markdown-file-k2M9ZbM0.mjs +0 -130
- package/dist/markdown-file-k2M9ZbM0.mjs.map +0 -1
- package/dist/markdown-table-BKaAfa6u.mjs +0 -34
- package/dist/markdown-table-BKaAfa6u.mjs.map +0 -1
- package/dist/markdown-table-BWPm6GbJ.cjs +0 -57
- package/dist/markdown-table-Ba6OVv17.d.cts +0 -38
- package/dist/markdown-table-Ba6OVv17.d.cts.map +0 -1
- package/dist/markdown-table-C3pW_3Ss.d.mts +0 -38
- package/dist/markdown-table-C3pW_3Ss.d.mts.map +0 -1
- package/dist/markdown-table-CRVCcmmS.mjs +0 -99
- package/dist/markdown-table-CRVCcmmS.mjs.map +0 -1
- package/dist/markdown-table-DAYxgSQH.d.mts +0 -28
- package/dist/markdown-table-DAYxgSQH.d.mts.map +0 -1
- package/dist/markdown-table-Dcee_Q7w.d.cts +0 -28
- package/dist/markdown-table-Dcee_Q7w.d.cts.map +0 -1
- package/dist/markdown-table-eTnxxb46.cjs +0 -116
- package/dist/meta-B8vjGEJI.d.cts +0 -48
- package/dist/meta-B8vjGEJI.d.cts.map +0 -1
- package/dist/meta-BVJcyXVs.cjs +0 -60
- package/dist/meta-D2yuTClk.d.mts +0 -48
- package/dist/meta-D2yuTClk.d.mts.map +0 -1
- package/dist/meta-YszNJizK.mjs +0 -37
- package/dist/meta-YszNJizK.mjs.map +0 -1
- package/dist/output-B5O_qz0i.cjs +0 -44
- package/dist/output-B5v8eGOS.d.cts +0 -24
- package/dist/output-B5v8eGOS.d.cts.map +0 -1
- package/dist/output-BvLp1fyI.mjs +0 -39
- package/dist/output-BvLp1fyI.mjs.map +0 -1
- package/dist/output-QwbsV2bO.d.mts +0 -24
- package/dist/output-QwbsV2bO.d.mts.map +0 -1
- package/dist/plugin--P3zPhDL.d.cts +0 -39
- package/dist/plugin--P3zPhDL.d.cts.map +0 -1
- package/dist/plugin-B8wUxSXi.cjs +0 -0
- package/dist/plugin-DTwUbNHt.mjs +0 -1
- package/dist/plugin-IvNRWrk4.d.mts +0 -39
- package/dist/plugin-IvNRWrk4.d.mts.map +0 -1
- package/dist/record-expression-6ElbFyR0.cjs +0 -17
- package/dist/record-expression-BHpXe3mY.mjs +0 -12
- package/dist/record-expression-BHpXe3mY.mjs.map +0 -1
- package/dist/record-expression-CJcabN6g.d.cts +0 -13
- package/dist/record-expression-CJcabN6g.d.cts.map +0 -1
- package/dist/record-expression-DlAsQ3Xo.d.mts +0 -13
- package/dist/record-expression-DlAsQ3Xo.d.mts.map +0 -1
- package/dist/refkey-BUCGYKFp.d.cts +0 -14
- package/dist/refkey-BUCGYKFp.d.cts.map +0 -1
- package/dist/refkey-BYkTQR2j.d.mts +0 -14
- package/dist/refkey-BYkTQR2j.d.mts.map +0 -1
- package/dist/refkey-C08kDOQ0.cjs +0 -21
- package/dist/refkey-CyhX8n2z.mjs +0 -16
- package/dist/refkey-CyhX8n2z.mjs.map +0 -1
- package/dist/reflection-BktS88RM.cjs +0 -108
- package/dist/reflection-CDRGf-os.mjs +0 -61
- package/dist/reflection-CDRGf-os.mjs.map +0 -1
- package/dist/reflection-DoDf7d2P.d.mts +0 -53
- package/dist/reflection-DoDf7d2P.d.mts.map +0 -1
- package/dist/reflection-DroaluKV.d.cts +0 -53
- package/dist/reflection-DroaluKV.d.cts.map +0 -1
- package/dist/single-line-comment-BmjvZ7BN.mjs +0 -22
- package/dist/single-line-comment-BmjvZ7BN.mjs.map +0 -1
- package/dist/single-line-comment-DvzkrIEt.d.mts +0 -23
- package/dist/single-line-comment-DvzkrIEt.d.mts.map +0 -1
- package/dist/single-line-comment-iSGJc1nT.d.cts +0 -23
- package/dist/single-line-comment-iSGJc1nT.d.cts.map +0 -1
- package/dist/single-line-comment-tAWBgL9v.cjs +0 -27
- package/dist/source-file-6kJUbZIx.mjs +0 -62
- package/dist/source-file-6kJUbZIx.mjs.map +0 -1
- package/dist/source-file-D4aKewY_.d.mts +0 -33
- package/dist/source-file-D4aKewY_.d.mts.map +0 -1
- package/dist/source-file-DnqaQY90.cjs +0 -68
- package/dist/source-file-WIVLLeIQ.d.cts +0 -33
- package/dist/source-file-WIVLLeIQ.d.cts.map +0 -1
- package/dist/tsdoc-5v2GSY2e.d.cts +0 -164
- package/dist/tsdoc-5v2GSY2e.d.cts.map +0 -1
- package/dist/tsdoc-B1aBsj0L.mjs +0 -466
- package/dist/tsdoc-B1aBsj0L.mjs.map +0 -1
- package/dist/tsdoc-BsZk3Mo6.d.mts +0 -164
- package/dist/tsdoc-BsZk3Mo6.d.mts.map +0 -1
- package/dist/tsdoc-BufL8muf.cjs +0 -585
- package/dist/tsdoc-reflection-B5-J4ia-.cjs +0 -193
- package/dist/tsdoc-reflection-BAiGJzrO.d.cts +0 -19
- package/dist/tsdoc-reflection-BAiGJzrO.d.cts.map +0 -1
- package/dist/tsdoc-reflection-DeP-cV94.d.mts +0 -19
- package/dist/tsdoc-reflection-DeP-cV94.d.mts.map +0 -1
- package/dist/tsdoc-reflection-g4nQJV4z.mjs +0 -176
- package/dist/tsdoc-reflection-g4nQJV4z.mjs.map +0 -1
- package/dist/typescript-BbjCTT04.cjs +0 -51
- package/dist/typescript-CrVxDaSo.mjs +0 -46
- package/dist/typescript-CrVxDaSo.mjs.map +0 -1
- package/dist/typescript-D2NuvKuU.d.cts +0 -26
- package/dist/typescript-D2NuvKuU.d.cts.map +0 -1
- package/dist/typescript-ImCZ_9UC.d.mts +0 -26
- package/dist/typescript-ImCZ_9UC.d.mts.map +0 -1
- package/dist/typescript-file-4oY1sIRB.cjs +0 -231
- package/dist/typescript-file-Bo3KHWdR.mjs +0 -214
- package/dist/typescript-file-Bo3KHWdR.mjs.map +0 -1
- package/dist/typescript-file-BzXivK-j.d.cts +0 -50
- package/dist/typescript-file-BzXivK-j.d.cts.map +0 -1
- package/dist/typescript-file-DLBBHHWY.d.mts +0 -50
- package/dist/typescript-file-DLBBHHWY.d.mts.map +0 -1
- package/dist/typescript-interface-B0AoZx3f.cjs +0 -83
- package/dist/typescript-interface-CBaHBdis.mjs +0 -72
- package/dist/typescript-interface-CBaHBdis.mjs.map +0 -1
- package/dist/typescript-interface-DYG0IOR-.d.mts +0 -26
- package/dist/typescript-interface-DYG0IOR-.d.mts.map +0 -1
- package/dist/typescript-interface-WKTnM5vn.d.cts +0 -26
- package/dist/typescript-interface-WKTnM5vn.d.cts.map +0 -1
- package/dist/typescript-object-C4d4fThY.cjs +0 -135
- package/dist/typescript-object-Cun6srBu.d.cts +0 -30
- package/dist/typescript-object-Cun6srBu.d.cts.map +0 -1
- package/dist/typescript-object-DDrR7gcH.d.mts +0 -30
- package/dist/typescript-object-DDrR7gcH.d.mts.map +0 -1
- package/dist/typescript-object-DrsEti-t.mjs +0 -124
- package/dist/typescript-object-DrsEti-t.mjs.map +0 -1
|
@@ -1,12 +1,7 @@
|
|
|
1
|
-
require('
|
|
2
|
-
require('
|
|
3
|
-
require('
|
|
4
|
-
require('../../contexts-DWGMeWga.cjs');
|
|
5
|
-
const require_output = require('../../output-B5O_qz0i.cjs');
|
|
6
|
-
const require_single_line_comment = require('../../single-line-comment-tAWBgL9v.cjs');
|
|
7
|
-
const require_source_file = require('../../source-file-DnqaQY90.cjs');
|
|
8
|
-
require('../../components-B0evB5xd.cjs');
|
|
1
|
+
const require_core_components_output = require('./output.cjs');
|
|
2
|
+
const require_core_components_single_line_comment = require('./single-line-comment.cjs');
|
|
3
|
+
const require_core_components_source_file = require('./source-file.cjs');
|
|
9
4
|
|
|
10
|
-
exports.Output =
|
|
11
|
-
exports.SingleLineComment =
|
|
12
|
-
exports.SourceFile =
|
|
5
|
+
exports.Output = require_core_components_output.Output;
|
|
6
|
+
exports.SingleLineComment = require_core_components_single_line_comment.SingleLineComment;
|
|
7
|
+
exports.SourceFile = require_core_components_source_file.SourceFile;
|
|
@@ -1,10 +1,4 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import "
|
|
3
|
-
import "
|
|
4
|
-
import "../../reflection-DroaluKV.cjs";
|
|
5
|
-
import "../../index-BUYyA1Xh.cjs";
|
|
6
|
-
import { n as OutputProps, r as __ΩOutputProps, t as Output } from "../../output-B5v8eGOS.cjs";
|
|
7
|
-
import { a as __ΩSingleLineCommentVariant, i as __ΩSingleLineCommentProps, n as SingleLineCommentProps, r as SingleLineCommentVariant, t as SingleLineComment } from "../../single-line-comment-iSGJc1nT.cjs";
|
|
8
|
-
import { n as SourceFileProps, r as __ΩSourceFileProps, t as SourceFile } from "../../source-file-WIVLLeIQ.cjs";
|
|
9
|
-
import "../../index-qCd8f7Um.cjs";
|
|
1
|
+
import { Output, OutputProps, __ΩOutputProps } from "./output.cjs";
|
|
2
|
+
import { SingleLineComment, SingleLineCommentProps, SingleLineCommentVariant, __ΩSingleLineCommentProps, __ΩSingleLineCommentVariant } from "./single-line-comment.cjs";
|
|
3
|
+
import { SourceFile, SourceFileProps, __ΩSourceFileProps } from "./source-file.cjs";
|
|
10
4
|
export { Output, OutputProps, SingleLineComment, SingleLineCommentProps, SingleLineCommentVariant, SourceFile, SourceFileProps, __ΩOutputProps, __ΩSingleLineCommentProps, __ΩSingleLineCommentVariant, __ΩSourceFileProps };
|
|
@@ -1,10 +1,4 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import "
|
|
3
|
-
import "
|
|
4
|
-
import "../../reflection-DoDf7d2P.mjs";
|
|
5
|
-
import "../../index-CzItj62a.mjs";
|
|
6
|
-
import { n as OutputProps, r as __ΩOutputProps, t as Output } from "../../output-QwbsV2bO.mjs";
|
|
7
|
-
import { a as __ΩSingleLineCommentVariant, i as __ΩSingleLineCommentProps, n as SingleLineCommentProps, r as SingleLineCommentVariant, t as SingleLineComment } from "../../single-line-comment-DvzkrIEt.mjs";
|
|
8
|
-
import { n as SourceFileProps, r as __ΩSourceFileProps, t as SourceFile } from "../../source-file-D4aKewY_.mjs";
|
|
9
|
-
import "../../index-Iujpc9_6.mjs";
|
|
1
|
+
import { Output, OutputProps, __ΩOutputProps } from "./output.mjs";
|
|
2
|
+
import { SingleLineComment, SingleLineCommentProps, SingleLineCommentVariant, __ΩSingleLineCommentProps, __ΩSingleLineCommentVariant } from "./single-line-comment.mjs";
|
|
3
|
+
import { SourceFile, SourceFileProps, __ΩSourceFileProps } from "./source-file.mjs";
|
|
10
4
|
export { Output, OutputProps, SingleLineComment, SingleLineCommentProps, SingleLineCommentVariant, SourceFile, SourceFileProps, __ΩOutputProps, __ΩSingleLineCommentProps, __ΩSingleLineCommentVariant, __ΩSourceFileProps };
|
|
@@ -1,10 +1,5 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import "
|
|
3
|
-
import "
|
|
4
|
-
import "../../contexts-d0vn6-x6.mjs";
|
|
5
|
-
import { t as Output } from "../../output-BvLp1fyI.mjs";
|
|
6
|
-
import { t as SingleLineComment } from "../../single-line-comment-BmjvZ7BN.mjs";
|
|
7
|
-
import { t as SourceFile } from "../../source-file-6kJUbZIx.mjs";
|
|
8
|
-
import "../../components-Das8TEFO.mjs";
|
|
1
|
+
import { Output } from "./output.mjs";
|
|
2
|
+
import { SingleLineComment } from "./single-line-comment.mjs";
|
|
3
|
+
import { SourceFile } from "./source-file.mjs";
|
|
9
4
|
|
|
10
5
|
export { Output, SingleLineComment, SourceFile };
|
|
@@ -1,7 +1,40 @@
|
|
|
1
|
-
require('../../
|
|
2
|
-
require('
|
|
3
|
-
require('
|
|
4
|
-
require('
|
|
5
|
-
|
|
1
|
+
const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
|
|
2
|
+
const require_core_contexts_context = require('../contexts/context.cjs');
|
|
3
|
+
const require_core_contexts_meta = require('../contexts/meta.cjs');
|
|
4
|
+
require('../contexts/index.cjs');
|
|
5
|
+
let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
|
|
6
|
+
let __alloy_js_core = require("@alloy-js/core");
|
|
6
7
|
|
|
7
|
-
|
|
8
|
+
//#region src/core/components/output.tsx
|
|
9
|
+
/**
|
|
10
|
+
* Output component for rendering the Powerlines plugin's output files via templates.
|
|
11
|
+
*/
|
|
12
|
+
function Output(props) {
|
|
13
|
+
const [{ children, context, meta }, rest] = (0, __alloy_js_core.splitProps)(props, [
|
|
14
|
+
"children",
|
|
15
|
+
"context",
|
|
16
|
+
"meta"
|
|
17
|
+
]);
|
|
18
|
+
const contextRef = (0, __alloy_js_core.computed)(() => context);
|
|
19
|
+
return (0, __alloy_js_core_jsx_runtime.createComponent)(require_core_contexts_meta.MetaContext.Provider, {
|
|
20
|
+
value: meta,
|
|
21
|
+
get children() {
|
|
22
|
+
return (0, __alloy_js_core_jsx_runtime.createComponent)(require_core_contexts_context.PowerlinesContext.Provider, {
|
|
23
|
+
get value() {
|
|
24
|
+
return contextRef.value;
|
|
25
|
+
},
|
|
26
|
+
get children() {
|
|
27
|
+
return (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Output, (0, __alloy_js_core_jsx_runtime.mergeProps)(rest, {
|
|
28
|
+
get basePath() {
|
|
29
|
+
return contextRef.value.workspaceConfig.workspaceRoot;
|
|
30
|
+
},
|
|
31
|
+
children
|
|
32
|
+
}));
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
//#endregion
|
|
40
|
+
exports.Output = Output;
|
|
@@ -1,7 +1,25 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import "
|
|
3
|
-
import "
|
|
4
|
-
import "
|
|
5
|
-
import "
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { MetaItem } from "../contexts/meta.cjs";
|
|
2
|
+
import "../contexts/index.cjs";
|
|
3
|
+
import * as _alloy_js_core17 from "@alloy-js/core";
|
|
4
|
+
import { OutputProps as OutputProps$1 } from "@alloy-js/core";
|
|
5
|
+
import { PluginContext } from "powerlines/types/context";
|
|
6
|
+
|
|
7
|
+
//#region src/core/components/output.d.ts
|
|
8
|
+
interface OutputProps<TContext extends PluginContext = PluginContext> extends Omit<OutputProps$1, "basePath"> {
|
|
9
|
+
/**
|
|
10
|
+
* The current Powerlines process context.
|
|
11
|
+
*/
|
|
12
|
+
context: TContext;
|
|
13
|
+
/**
|
|
14
|
+
* The file metadata collected during rendering.
|
|
15
|
+
*/
|
|
16
|
+
meta: Record<string, MetaItem>;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Output component for rendering the Powerlines plugin's output files via templates.
|
|
20
|
+
*/
|
|
21
|
+
declare function Output<TContext extends PluginContext = PluginContext>(props: OutputProps<TContext>): _alloy_js_core17.Children;
|
|
22
|
+
declare type __ΩOutputProps = any[];
|
|
23
|
+
//#endregion
|
|
24
|
+
export { Output, OutputProps, __ΩOutputProps };
|
|
25
|
+
//# sourceMappingURL=output.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"output.d.cts","names":[],"sources":["../../../src/core/components/output.tsx"],"sourcesContent":[],"mappings":";;;;;;;UAwBiB,6BACE,gBAAgB,uBACzB,KAAK;;;;EAFE,OAAA,EAMN,QANiB;EACT;;;EAKR,IAAA,EAKH,MALG,CAAA,MAAA,EAKY,QALZ,CAAA;;;;;AAWK,iBAAA,MAAM,CAAA,iBAAkB,aAAlB,GAAkC,aAAlC,CAAA,CAAA,KAAA,EACb,WADa,CACD,QADC,CAAA,CAAA,EACF,gBAAA,CAAU,QADR;AAAkB,8BAAA,GAAA,EAAA"}
|
|
@@ -1,7 +1,25 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import "
|
|
3
|
-
import "
|
|
4
|
-
import "
|
|
5
|
-
import "
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { MetaItem } from "../contexts/meta.mjs";
|
|
2
|
+
import "../contexts/index.mjs";
|
|
3
|
+
import * as _alloy_js_core0 from "@alloy-js/core";
|
|
4
|
+
import { OutputProps as OutputProps$1 } from "@alloy-js/core";
|
|
5
|
+
import { PluginContext } from "powerlines/types/context";
|
|
6
|
+
|
|
7
|
+
//#region src/core/components/output.d.ts
|
|
8
|
+
interface OutputProps<TContext extends PluginContext = PluginContext> extends Omit<OutputProps$1, "basePath"> {
|
|
9
|
+
/**
|
|
10
|
+
* The current Powerlines process context.
|
|
11
|
+
*/
|
|
12
|
+
context: TContext;
|
|
13
|
+
/**
|
|
14
|
+
* The file metadata collected during rendering.
|
|
15
|
+
*/
|
|
16
|
+
meta: Record<string, MetaItem>;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Output component for rendering the Powerlines plugin's output files via templates.
|
|
20
|
+
*/
|
|
21
|
+
declare function Output<TContext extends PluginContext = PluginContext>(props: OutputProps<TContext>): _alloy_js_core0.Children;
|
|
22
|
+
declare type __ΩOutputProps = any[];
|
|
23
|
+
//#endregion
|
|
24
|
+
export { Output, OutputProps, __ΩOutputProps };
|
|
25
|
+
//# sourceMappingURL=output.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"output.d.mts","names":[],"sources":["../../../src/core/components/output.tsx"],"sourcesContent":[],"mappings":";;;;;;;UAwBiB,6BACE,gBAAgB,uBACzB,KAAK;;;;EAFE,OAAA,EAMN,QANiB;EACT;;;EAKR,IAAA,EAKH,MALG,CAAA,MAAA,EAKY,QALZ,CAAA;;;;;AAWK,iBAAA,MAAM,CAAA,iBAAkB,aAAlB,GAAkC,aAAlC,CAAA,CAAA,KAAA,EACb,WADa,CACD,QADC,CAAA,CAAA,EACF,eAAA,CAAU,QADR;AAAkB,8BAAA,GAAA,EAAA"}
|
|
@@ -1,7 +1,40 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import "
|
|
3
|
-
import "
|
|
4
|
-
import "
|
|
5
|
-
import {
|
|
1
|
+
import { PowerlinesContext } from "../contexts/context.mjs";
|
|
2
|
+
import { MetaContext } from "../contexts/meta.mjs";
|
|
3
|
+
import "../contexts/index.mjs";
|
|
4
|
+
import { createComponent, mergeProps } from "@alloy-js/core/jsx-runtime";
|
|
5
|
+
import { Output as Output$1, computed, splitProps } from "@alloy-js/core";
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
//#region src/core/components/output.tsx
|
|
8
|
+
/**
|
|
9
|
+
* Output component for rendering the Powerlines plugin's output files via templates.
|
|
10
|
+
*/
|
|
11
|
+
function Output(props) {
|
|
12
|
+
const [{ children, context, meta }, rest] = splitProps(props, [
|
|
13
|
+
"children",
|
|
14
|
+
"context",
|
|
15
|
+
"meta"
|
|
16
|
+
]);
|
|
17
|
+
const contextRef = computed(() => context);
|
|
18
|
+
return createComponent(MetaContext.Provider, {
|
|
19
|
+
value: meta,
|
|
20
|
+
get children() {
|
|
21
|
+
return createComponent(PowerlinesContext.Provider, {
|
|
22
|
+
get value() {
|
|
23
|
+
return contextRef.value;
|
|
24
|
+
},
|
|
25
|
+
get children() {
|
|
26
|
+
return createComponent(Output$1, mergeProps(rest, {
|
|
27
|
+
get basePath() {
|
|
28
|
+
return contextRef.value.workspaceConfig.workspaceRoot;
|
|
29
|
+
},
|
|
30
|
+
children
|
|
31
|
+
}));
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
//#endregion
|
|
39
|
+
export { Output };
|
|
40
|
+
//# sourceMappingURL=output.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"output.mjs","names":["computed","Output","OutputExternal","splitProps","MetaContext","PowerlinesContext","props","children","context","meta","rest","contextRef","_$createComponent","Provider","value","_$mergeProps","basePath","workspaceConfig","workspaceRoot"],"sources":["../../../src/core/components/output.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 { OutputProps as OutputPropsExternal } from \"@alloy-js/core\";\nimport { computed, Output as OutputExternal, splitProps } from \"@alloy-js/core\";\nimport type { PluginContext } from \"powerlines/types/context\";\nimport { MetaContext, MetaItem } from \"../contexts\";\nimport { PowerlinesContext } from \"../contexts/context\";\n\nexport interface OutputProps<\n TContext extends PluginContext = PluginContext\n> extends Omit<OutputPropsExternal, \"basePath\"> {\n /**\n * The current Powerlines process context.\n */\n context: TContext;\n\n /**\n * The file metadata collected during rendering.\n */\n meta: Record<string, MetaItem>;\n}\n\n/**\n * Output component for rendering the Powerlines plugin's output files via templates.\n */\nexport function Output<TContext extends PluginContext = PluginContext>(\n props: OutputProps<TContext>\n) {\n const [{ children, context, meta }, rest] = splitProps(props, [\n \"children\",\n \"context\",\n \"meta\"\n ]);\n\n const contextRef = computed(() => context);\n\n return (\n <MetaContext.Provider value={meta}>\n <PowerlinesContext.Provider value={contextRef.value}>\n <OutputExternal\n {...rest}\n basePath={contextRef.value.workspaceConfig.workspaceRoot}>\n {children}\n </OutputExternal>\n </PowerlinesContext.Provider>\n </MetaContext.Provider>\n );\n}\n"],"mappings":""}
|
|
@@ -1,3 +1,22 @@
|
|
|
1
|
-
const
|
|
1
|
+
const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
|
|
2
|
+
let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
|
|
3
|
+
let __alloy_js_core = require("@alloy-js/core");
|
|
2
4
|
|
|
3
|
-
|
|
5
|
+
//#region src/core/components/single-line-comment.tsx
|
|
6
|
+
/**
|
|
7
|
+
* A single line comment block. The children are rendered as a prose element, which means that they
|
|
8
|
+
* are broken into multiple lines
|
|
9
|
+
*/
|
|
10
|
+
function SingleLineComment(props) {
|
|
11
|
+
const { variant = "double-slash", children } = props;
|
|
12
|
+
const commentStart = variant === "slash-star" ? "/* " : variant === "slash-star-star" ? "/** " : variant === "triple-slash" ? "/// " : variant === "markdown" ? "<!-- " : "// ";
|
|
13
|
+
return [commentStart, (0, __alloy_js_core_jsx_runtime.createIntrinsic)("align", {
|
|
14
|
+
string: commentStart,
|
|
15
|
+
get children() {
|
|
16
|
+
return [(0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Prose, { children }), variant === "slash-star" || variant === "slash-star-star" ? " */ " : variant === "markdown" ? " -->" : ""];
|
|
17
|
+
}
|
|
18
|
+
})];
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
//#endregion
|
|
22
|
+
exports.SingleLineComment = SingleLineComment;
|
|
@@ -1,3 +1,23 @@
|
|
|
1
|
-
import "../../components
|
|
2
|
-
import
|
|
3
|
-
|
|
1
|
+
import { ComponentProps } from "../../types/components.cjs";
|
|
2
|
+
import * as _alloy_js_core0 from "@alloy-js/core";
|
|
3
|
+
|
|
4
|
+
//#region src/core/components/single-line-comment.d.ts
|
|
5
|
+
type SingleLineCommentVariant = "double-slash" | "triple-slash" | "slash-star" | "slash-star-star" | "markdown";
|
|
6
|
+
interface SingleLineCommentProps extends ComponentProps {
|
|
7
|
+
/**
|
|
8
|
+
* The variant of the single line comment.
|
|
9
|
+
*
|
|
10
|
+
* @defaultValue "double-slash"
|
|
11
|
+
*/
|
|
12
|
+
variant?: SingleLineCommentVariant;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* A single line comment block. The children are rendered as a prose element, which means that they
|
|
16
|
+
* are broken into multiple lines
|
|
17
|
+
*/
|
|
18
|
+
declare function SingleLineComment(props: SingleLineCommentProps): _alloy_js_core0.Children;
|
|
19
|
+
declare type __ΩSingleLineCommentVariant = any[];
|
|
20
|
+
declare type __ΩSingleLineCommentProps = any[];
|
|
21
|
+
//#endregion
|
|
22
|
+
export { SingleLineComment, SingleLineCommentProps, SingleLineCommentVariant, __ΩSingleLineCommentProps, __ΩSingleLineCommentVariant };
|
|
23
|
+
//# sourceMappingURL=single-line-comment.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"single-line-comment.d.cts","names":[],"sources":["../../../src/core/components/single-line-comment.tsx"],"sourcesContent":[],"mappings":";;;;KAqBY,wBAAA;UAOK,sBAAA,SAA+B;;AAPhD;AAOA;AAaA;;YAPY;;;;;;iBAOI,iBAAA,QAAyB,yBAAsB,eAAA,CAAA"}
|
|
@@ -1,3 +1,23 @@
|
|
|
1
|
-
import "../../components
|
|
2
|
-
import
|
|
3
|
-
|
|
1
|
+
import { ComponentProps } from "../../types/components.mjs";
|
|
2
|
+
import * as _alloy_js_core0 from "@alloy-js/core";
|
|
3
|
+
|
|
4
|
+
//#region src/core/components/single-line-comment.d.ts
|
|
5
|
+
type SingleLineCommentVariant = "double-slash" | "triple-slash" | "slash-star" | "slash-star-star" | "markdown";
|
|
6
|
+
interface SingleLineCommentProps extends ComponentProps {
|
|
7
|
+
/**
|
|
8
|
+
* The variant of the single line comment.
|
|
9
|
+
*
|
|
10
|
+
* @defaultValue "double-slash"
|
|
11
|
+
*/
|
|
12
|
+
variant?: SingleLineCommentVariant;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* A single line comment block. The children are rendered as a prose element, which means that they
|
|
16
|
+
* are broken into multiple lines
|
|
17
|
+
*/
|
|
18
|
+
declare function SingleLineComment(props: SingleLineCommentProps): _alloy_js_core0.Children;
|
|
19
|
+
declare type __ΩSingleLineCommentVariant = any[];
|
|
20
|
+
declare type __ΩSingleLineCommentProps = any[];
|
|
21
|
+
//#endregion
|
|
22
|
+
export { SingleLineComment, SingleLineCommentProps, SingleLineCommentVariant, __ΩSingleLineCommentProps, __ΩSingleLineCommentVariant };
|
|
23
|
+
//# sourceMappingURL=single-line-comment.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"single-line-comment.d.mts","names":[],"sources":["../../../src/core/components/single-line-comment.tsx"],"sourcesContent":[],"mappings":";;;;KAqBY,wBAAA;UAOK,sBAAA,SAA+B;;AAPhD;AAOA;AAaA;;YAPY;;;;;;iBAOI,iBAAA,QAAyB,yBAAsB,eAAA,CAAA"}
|
|
@@ -1,3 +1,22 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { createComponent, createIntrinsic } from "@alloy-js/core/jsx-runtime";
|
|
2
|
+
import { Prose } from "@alloy-js/core";
|
|
2
3
|
|
|
3
|
-
|
|
4
|
+
//#region src/core/components/single-line-comment.tsx
|
|
5
|
+
/**
|
|
6
|
+
* A single line comment block. The children are rendered as a prose element, which means that they
|
|
7
|
+
* are broken into multiple lines
|
|
8
|
+
*/
|
|
9
|
+
function SingleLineComment(props) {
|
|
10
|
+
const { variant = "double-slash", children } = props;
|
|
11
|
+
const commentStart = variant === "slash-star" ? "/* " : variant === "slash-star-star" ? "/** " : variant === "triple-slash" ? "/// " : variant === "markdown" ? "<!-- " : "// ";
|
|
12
|
+
return [commentStart, createIntrinsic("align", {
|
|
13
|
+
string: commentStart,
|
|
14
|
+
get children() {
|
|
15
|
+
return [createComponent(Prose, { children }), variant === "slash-star" || variant === "slash-star-star" ? " */ " : variant === "markdown" ? " -->" : ""];
|
|
16
|
+
}
|
|
17
|
+
})];
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
//#endregion
|
|
21
|
+
export { SingleLineComment };
|
|
22
|
+
//# sourceMappingURL=single-line-comment.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"single-line-comment.mjs","names":["Prose","SingleLineComment","props","variant","children","commentStart","_$createIntrinsic","string","_$createComponent"],"sources":["../../../src/core/components/single-line-comment.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 { Prose } from \"@alloy-js/core\";\nimport { ComponentProps } from \"../../types/components\";\n\nexport type SingleLineCommentVariant =\n | \"double-slash\"\n | \"triple-slash\"\n | \"slash-star\"\n | \"slash-star-star\"\n | \"markdown\";\n\nexport interface SingleLineCommentProps extends ComponentProps {\n /**\n * The variant of the single line comment.\n *\n * @defaultValue \"double-slash\"\n */\n variant?: SingleLineCommentVariant;\n}\n\n/**\n * A single line comment block. The children are rendered as a prose element, which means that they\n * are broken into multiple lines\n */\nexport function SingleLineComment(props: SingleLineCommentProps) {\n const { variant = \"double-slash\", children } = props;\n\n const commentStart =\n variant === \"slash-star\"\n ? \"/* \"\n : variant === \"slash-star-star\"\n ? \"/** \"\n : variant === \"triple-slash\"\n ? \"/// \"\n : variant === \"markdown\"\n ? \"<!-- \"\n : \"// \";\n\n return (\n <>\n {commentStart}\n <align string={commentStart}>\n <Prose>{children}</Prose>\n\n {variant === \"slash-star\" || variant === \"slash-star-star\"\n ? \" */ \"\n : variant === \"markdown\"\n ? \" -->\"\n : \"\"}\n </align>\n </>\n );\n}\n"],"mappings":""}
|
|
@@ -1,4 +1,63 @@
|
|
|
1
|
-
require('../../
|
|
2
|
-
const
|
|
1
|
+
const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
|
|
2
|
+
const require_core_contexts_meta = require('../contexts/meta.cjs');
|
|
3
|
+
let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
|
|
4
|
+
let __alloy_js_core = require("@alloy-js/core");
|
|
5
|
+
let __stryke_path_append = require("@stryke/path/append");
|
|
6
|
+
let defu = require("defu");
|
|
7
|
+
defu = require_rolldown_runtime.__toESM(defu);
|
|
3
8
|
|
|
4
|
-
|
|
9
|
+
//#region src/core/components/source-file.tsx
|
|
10
|
+
/**
|
|
11
|
+
* A base component representing a Powerlines generated source file.
|
|
12
|
+
*
|
|
13
|
+
* @param props - The properties for the source file.
|
|
14
|
+
* @returns The rendered source file component.
|
|
15
|
+
*/
|
|
16
|
+
function SourceFile(props) {
|
|
17
|
+
const [{ children, meta, path, header, storage, filetype, reference }] = (0, __alloy_js_core.splitProps)(props, [
|
|
18
|
+
"children",
|
|
19
|
+
"meta",
|
|
20
|
+
"path",
|
|
21
|
+
"header",
|
|
22
|
+
"storage",
|
|
23
|
+
"filetype",
|
|
24
|
+
"reference"
|
|
25
|
+
]);
|
|
26
|
+
const metadata = require_core_contexts_meta.useMetaSafe();
|
|
27
|
+
const parentDirectory = (0, __alloy_js_core.useContext)(__alloy_js_core.SourceDirectoryContext);
|
|
28
|
+
const sourceFile = {
|
|
29
|
+
path: (0, __stryke_path_append.appendPath)(path, parentDirectory.path),
|
|
30
|
+
filetype,
|
|
31
|
+
reference
|
|
32
|
+
};
|
|
33
|
+
parentDirectory?.addContent(sourceFile);
|
|
34
|
+
const printOptions = (0, __alloy_js_core.useFormatOptions)({
|
|
35
|
+
printWidth: props.printWidth,
|
|
36
|
+
tabWidth: props.tabWidth,
|
|
37
|
+
useTabs: props.useTabs,
|
|
38
|
+
insertFinalNewLine: props.insertFinalNewLine
|
|
39
|
+
});
|
|
40
|
+
const nodeContext = (0, __alloy_js_core.getContext)();
|
|
41
|
+
nodeContext.meta = (0, defu.default)({
|
|
42
|
+
sourceFile,
|
|
43
|
+
printOptions
|
|
44
|
+
}, meta ?? {});
|
|
45
|
+
if (metadata) metadata[sourceFile.path] = {
|
|
46
|
+
storage,
|
|
47
|
+
...meta ?? {}
|
|
48
|
+
};
|
|
49
|
+
return (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.SourceFileContext.Provider, {
|
|
50
|
+
value: sourceFile,
|
|
51
|
+
get children() {
|
|
52
|
+
return [(0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
|
|
53
|
+
when: header !== void 0,
|
|
54
|
+
get children() {
|
|
55
|
+
return [header, (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {})];
|
|
56
|
+
}
|
|
57
|
+
}), children];
|
|
58
|
+
}
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
//#endregion
|
|
63
|
+
exports.SourceFile = SourceFile;
|
|
@@ -1,3 +1,33 @@
|
|
|
1
|
-
import "../../components
|
|
2
|
-
import
|
|
3
|
-
|
|
1
|
+
import { ComponentProps } from "../../types/components.cjs";
|
|
2
|
+
import * as _alloy_js_core0 from "@alloy-js/core";
|
|
3
|
+
import { SourceFileProps as SourceFileProps$1 } from "@alloy-js/core";
|
|
4
|
+
import { StoragePreset } from "powerlines/types/fs";
|
|
5
|
+
|
|
6
|
+
//#region src/core/components/source-file.d.ts
|
|
7
|
+
type SourceFileProps = SourceFileProps$1 & ComponentProps & {
|
|
8
|
+
/**
|
|
9
|
+
* The storage preset for the output files.
|
|
10
|
+
*
|
|
11
|
+
* @remarks
|
|
12
|
+
* If not specified, the output mode will be determined by the provided `output.mode` value.
|
|
13
|
+
*/
|
|
14
|
+
storage?: StoragePreset;
|
|
15
|
+
/**
|
|
16
|
+
* The metadata associated with the source file.
|
|
17
|
+
*
|
|
18
|
+
* @remarks
|
|
19
|
+
* The values stored in the metadata will be available in the rendering context.
|
|
20
|
+
*/
|
|
21
|
+
meta?: Record<string, any>;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* A base component representing a Powerlines generated source file.
|
|
25
|
+
*
|
|
26
|
+
* @param props - The properties for the source file.
|
|
27
|
+
* @returns The rendered source file component.
|
|
28
|
+
*/
|
|
29
|
+
declare function SourceFile(props: SourceFileProps): _alloy_js_core0.Children;
|
|
30
|
+
declare type __ΩSourceFileProps = any[];
|
|
31
|
+
//#endregion
|
|
32
|
+
export { SourceFile, SourceFileProps, __ΩSourceFileProps };
|
|
33
|
+
//# sourceMappingURL=source-file.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"source-file.d.cts","names":[],"sources":["../../../src/core/components/source-file.tsx"],"sourcesContent":[],"mappings":";;;;;;KAkCY,eAAA,GAAkB,oBAC5B;;;AADF;;;;EAgBW,OAAA,CAAA,EARG,aAQH;EAAM;AASjB;;;;;SATW;;;;;;;;iBASK,UAAA,QAAkB,kBAAe,eAAA,CAAA"}
|
|
@@ -1,3 +1,33 @@
|
|
|
1
|
-
import "../../components
|
|
2
|
-
import
|
|
3
|
-
|
|
1
|
+
import { ComponentProps } from "../../types/components.mjs";
|
|
2
|
+
import * as _alloy_js_core1 from "@alloy-js/core";
|
|
3
|
+
import { SourceFileProps as SourceFileProps$1 } from "@alloy-js/core";
|
|
4
|
+
import { StoragePreset } from "powerlines/types/fs";
|
|
5
|
+
|
|
6
|
+
//#region src/core/components/source-file.d.ts
|
|
7
|
+
type SourceFileProps = SourceFileProps$1 & ComponentProps & {
|
|
8
|
+
/**
|
|
9
|
+
* The storage preset for the output files.
|
|
10
|
+
*
|
|
11
|
+
* @remarks
|
|
12
|
+
* If not specified, the output mode will be determined by the provided `output.mode` value.
|
|
13
|
+
*/
|
|
14
|
+
storage?: StoragePreset;
|
|
15
|
+
/**
|
|
16
|
+
* The metadata associated with the source file.
|
|
17
|
+
*
|
|
18
|
+
* @remarks
|
|
19
|
+
* The values stored in the metadata will be available in the rendering context.
|
|
20
|
+
*/
|
|
21
|
+
meta?: Record<string, any>;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* A base component representing a Powerlines generated source file.
|
|
25
|
+
*
|
|
26
|
+
* @param props - The properties for the source file.
|
|
27
|
+
* @returns The rendered source file component.
|
|
28
|
+
*/
|
|
29
|
+
declare function SourceFile(props: SourceFileProps): _alloy_js_core1.Children;
|
|
30
|
+
declare type __ΩSourceFileProps = any[];
|
|
31
|
+
//#endregion
|
|
32
|
+
export { SourceFile, SourceFileProps, __ΩSourceFileProps };
|
|
33
|
+
//# sourceMappingURL=source-file.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"source-file.d.mts","names":[],"sources":["../../../src/core/components/source-file.tsx"],"sourcesContent":[],"mappings":";;;;;;KAkCY,eAAA,GAAkB,oBAC5B;;;AADF;;;;EAgBW,OAAA,CAAA,EARG,aAQH;EAAM;AASjB;;;;;SATW;;;;;;;;iBASK,UAAA,QAAkB,kBAAe,eAAA,CAAA"}
|
|
@@ -1,4 +1,62 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import {
|
|
1
|
+
import { useMetaSafe } from "../contexts/meta.mjs";
|
|
2
|
+
import { createComponent, createIntrinsic } from "@alloy-js/core/jsx-runtime";
|
|
3
|
+
import { Show, SourceDirectoryContext, SourceFileContext, getContext, splitProps, useContext, useFormatOptions } from "@alloy-js/core";
|
|
4
|
+
import { appendPath } from "@stryke/path/append";
|
|
5
|
+
import defu from "defu";
|
|
3
6
|
|
|
4
|
-
|
|
7
|
+
//#region src/core/components/source-file.tsx
|
|
8
|
+
/**
|
|
9
|
+
* A base component representing a Powerlines generated source file.
|
|
10
|
+
*
|
|
11
|
+
* @param props - The properties for the source file.
|
|
12
|
+
* @returns The rendered source file component.
|
|
13
|
+
*/
|
|
14
|
+
function SourceFile(props) {
|
|
15
|
+
const [{ children, meta, path, header, storage, filetype, reference }] = splitProps(props, [
|
|
16
|
+
"children",
|
|
17
|
+
"meta",
|
|
18
|
+
"path",
|
|
19
|
+
"header",
|
|
20
|
+
"storage",
|
|
21
|
+
"filetype",
|
|
22
|
+
"reference"
|
|
23
|
+
]);
|
|
24
|
+
const metadata = useMetaSafe();
|
|
25
|
+
const parentDirectory = useContext(SourceDirectoryContext);
|
|
26
|
+
const sourceFile = {
|
|
27
|
+
path: appendPath(path, parentDirectory.path),
|
|
28
|
+
filetype,
|
|
29
|
+
reference
|
|
30
|
+
};
|
|
31
|
+
parentDirectory?.addContent(sourceFile);
|
|
32
|
+
const printOptions = useFormatOptions({
|
|
33
|
+
printWidth: props.printWidth,
|
|
34
|
+
tabWidth: props.tabWidth,
|
|
35
|
+
useTabs: props.useTabs,
|
|
36
|
+
insertFinalNewLine: props.insertFinalNewLine
|
|
37
|
+
});
|
|
38
|
+
const nodeContext = getContext();
|
|
39
|
+
nodeContext.meta = defu({
|
|
40
|
+
sourceFile,
|
|
41
|
+
printOptions
|
|
42
|
+
}, meta ?? {});
|
|
43
|
+
if (metadata) metadata[sourceFile.path] = {
|
|
44
|
+
storage,
|
|
45
|
+
...meta ?? {}
|
|
46
|
+
};
|
|
47
|
+
return createComponent(SourceFileContext.Provider, {
|
|
48
|
+
value: sourceFile,
|
|
49
|
+
get children() {
|
|
50
|
+
return [createComponent(Show, {
|
|
51
|
+
when: header !== void 0,
|
|
52
|
+
get children() {
|
|
53
|
+
return [header, createIntrinsic("hbr", {})];
|
|
54
|
+
}
|
|
55
|
+
}), children];
|
|
56
|
+
}
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
//#endregion
|
|
61
|
+
export { SourceFile };
|
|
62
|
+
//# sourceMappingURL=source-file.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"source-file.mjs","names":["getContext","Show","SourceDirectoryContext","SourceFileContext","splitProps","useContext","useFormatOptions","appendPath","defu","useMetaSafe","SourceFile","props","children","meta","path","header","storage","filetype","reference","metadata","parentDirectory","sourceFile","addContent","printOptions","printWidth","tabWidth","useTabs","insertFinalNewLine","nodeContext","_$createComponent","Provider","value","when","undefined","_$createIntrinsic"],"sources":["../../../src/core/components/source-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 {\n getContext,\n Show,\n SourceDirectoryContext,\n SourceFileContext,\n SourceFileProps as SourceFilePropsExternal,\n splitProps,\n useContext,\n useFormatOptions\n} from \"@alloy-js/core\";\nimport { appendPath } from \"@stryke/path/append\";\nimport defu from \"defu\";\nimport type { StoragePreset } from \"powerlines/types/fs\";\nimport { ComponentProps } from \"../../types/components\";\nimport { useMetaSafe } from \"../contexts/meta\";\n\nexport type SourceFileProps = SourceFilePropsExternal &\n ComponentProps & {\n /**\n * The storage preset for the output files.\n *\n * @remarks\n * If not specified, the output mode will be determined by the provided `output.mode` value.\n */\n storage?: StoragePreset;\n\n /**\n * The metadata associated with the source file.\n *\n * @remarks\n * The values stored in the metadata will be available in the rendering context.\n */\n meta?: Record<string, any>;\n };\n\n/**\n * A base component representing a Powerlines generated source file.\n *\n * @param props - The properties for the source file.\n * @returns The rendered source file component.\n */\nexport function SourceFile(props: SourceFileProps) {\n const [{ children, meta, path, header, storage, filetype, reference }] =\n splitProps(props, [\n \"children\",\n \"meta\",\n \"path\",\n \"header\",\n \"storage\",\n \"filetype\",\n \"reference\"\n ]);\n\n const metadata = useMetaSafe();\n const parentDirectory = useContext(SourceDirectoryContext)!;\n\n const sourceFile: SourceFileContext = {\n path: appendPath(path, parentDirectory.path),\n filetype,\n reference\n };\n parentDirectory?.addContent(sourceFile);\n\n const printOptions = useFormatOptions({\n printWidth: props.printWidth,\n tabWidth: props.tabWidth,\n useTabs: props.useTabs,\n insertFinalNewLine: props.insertFinalNewLine\n });\n\n const nodeContext = getContext()!;\n nodeContext.meta = defu(\n {\n sourceFile,\n printOptions\n },\n meta ?? {}\n );\n\n if (metadata) {\n metadata[sourceFile.path] = {\n storage,\n ...(meta ?? {})\n };\n }\n\n return (\n <SourceFileContext.Provider value={sourceFile}>\n <Show when={header !== undefined}>\n {header}\n <hbr />\n </Show>\n {children}\n </SourceFileContext.Provider>\n );\n}\n"],"mappings":""}
|