@powerlines/plugin-alloy 0.19.33 → 0.19.35
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,30 +0,0 @@
|
|
|
1
|
-
import { ComponentContext } from "@alloy-js/core";
|
|
2
|
-
import { PluginContext } from "powerlines/types/context";
|
|
3
|
-
|
|
4
|
-
//#region src/core/contexts/context.d.ts
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* The Powerlines context used in template rendering.
|
|
8
|
-
*/
|
|
9
|
-
declare const PowerlinesContext: ComponentContext<PluginContext>;
|
|
10
|
-
/**
|
|
11
|
-
* Hook to access the Powerlines Context.
|
|
12
|
-
*
|
|
13
|
-
* @returns The Context.
|
|
14
|
-
*/
|
|
15
|
-
declare function usePowerlinesContext<TContext extends PluginContext = PluginContext>(): TContext | undefined;
|
|
16
|
-
/**
|
|
17
|
-
* Hook to safely access the {@link PluginContext | Powerlines context}.
|
|
18
|
-
*
|
|
19
|
-
* @returns The Powerlines context or undefined if not set.
|
|
20
|
-
*/
|
|
21
|
-
declare function usePowerlinesSafe<TContext extends PluginContext = PluginContext>(): TContext | undefined;
|
|
22
|
-
/**
|
|
23
|
-
* Hook to access the {@link PluginContext | Powerlines context}.
|
|
24
|
-
*
|
|
25
|
-
* @returns The Powerlines context.
|
|
26
|
-
*/
|
|
27
|
-
declare function usePowerlines<TContext extends PluginContext = PluginContext>(): TContext;
|
|
28
|
-
//#endregion
|
|
29
|
-
export { usePowerlinesSafe as i, usePowerlines as n, usePowerlinesContext as r, PowerlinesContext as t };
|
|
30
|
-
//# sourceMappingURL=context-7oUaz8OU.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"context-7oUaz8OU.d.cts","names":[],"sources":["../src/core/contexts/context.ts"],"sourcesContent":[],"mappings":";;;;;;;AA4BA;AAQgB,cARH,iBAQuB,EARJ,gBAQI,CARa,aAQb,CAAA;;;;;AAWpC;AACmB,iBAZH,oBAYG,CAAA,iBAXA,aAWA,GAXgB,aAWhB,CAAA,CAAA,CAAA,EAVd,QAUc,GAAA,SAAA;;;;AAYnB;;AACmC,iBAdnB,iBAcmB,CAAA,iBAbhB,aAagB,GAbA,aAaA,CAAA,CAAA,CAAA,EAZ9B,QAY8B,GAAA,SAAA;;;;;;iBADnB,+BACG,gBAAgB,kBAC9B"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { ComponentContext } from "@alloy-js/core";
|
|
2
|
-
import { PluginContext } from "powerlines/types/context";
|
|
3
|
-
|
|
4
|
-
//#region src/core/contexts/context.d.ts
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* The Powerlines context used in template rendering.
|
|
8
|
-
*/
|
|
9
|
-
declare const PowerlinesContext: ComponentContext<PluginContext>;
|
|
10
|
-
/**
|
|
11
|
-
* Hook to access the Powerlines Context.
|
|
12
|
-
*
|
|
13
|
-
* @returns The Context.
|
|
14
|
-
*/
|
|
15
|
-
declare function usePowerlinesContext<TContext extends PluginContext = PluginContext>(): TContext | undefined;
|
|
16
|
-
/**
|
|
17
|
-
* Hook to safely access the {@link PluginContext | Powerlines context}.
|
|
18
|
-
*
|
|
19
|
-
* @returns The Powerlines context or undefined if not set.
|
|
20
|
-
*/
|
|
21
|
-
declare function usePowerlinesSafe<TContext extends PluginContext = PluginContext>(): TContext | undefined;
|
|
22
|
-
/**
|
|
23
|
-
* Hook to access the {@link PluginContext | Powerlines context}.
|
|
24
|
-
*
|
|
25
|
-
* @returns The Powerlines context.
|
|
26
|
-
*/
|
|
27
|
-
declare function usePowerlines<TContext extends PluginContext = PluginContext>(): TContext;
|
|
28
|
-
//#endregion
|
|
29
|
-
export { usePowerlinesSafe as i, usePowerlines as n, usePowerlinesContext as r, PowerlinesContext as t };
|
|
30
|
-
//# sourceMappingURL=context-BAEo3418.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"context-BAEo3418.d.mts","names":[],"sources":["../src/core/contexts/context.ts"],"sourcesContent":[],"mappings":";;;;;;;AA4BA;AAQgB,cARH,iBAQuB,EARJ,gBAQI,CARa,aAQb,CAAA;;;;;AAWpC;AACmB,iBAZH,oBAYG,CAAA,iBAXA,aAWA,GAXgB,aAWhB,CAAA,CAAA,CAAA,EAVd,QAUc,GAAA,SAAA;;;;AAYnB;;AACmC,iBAdnB,iBAcmB,CAAA,iBAbhB,aAagB,GAbA,aAaA,CAAA,CAAA,CAAA,EAZ9B,QAY8B,GAAA,SAAA;;;;;;iBADnB,+BACG,gBAAgB,kBAC9B"}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { createNamedContext, useContext } from "@alloy-js/core";
|
|
2
|
-
|
|
3
|
-
//#region src/core/contexts/context.ts
|
|
4
|
-
/**
|
|
5
|
-
* The Powerlines context used in template rendering.
|
|
6
|
-
*/
|
|
7
|
-
const PowerlinesContext = createNamedContext("Powerlines");
|
|
8
|
-
/**
|
|
9
|
-
* Hook to access the Powerlines Context.
|
|
10
|
-
*
|
|
11
|
-
* @returns The Context.
|
|
12
|
-
*/
|
|
13
|
-
function usePowerlinesContext() {
|
|
14
|
-
return useContext(PowerlinesContext);
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* Hook to safely access the {@link PluginContext | Powerlines context}.
|
|
18
|
-
*
|
|
19
|
-
* @returns The Powerlines context or undefined if not set.
|
|
20
|
-
*/
|
|
21
|
-
function usePowerlinesSafe() {
|
|
22
|
-
return usePowerlinesContext() ?? void 0;
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* Hook to access the {@link PluginContext | Powerlines context}.
|
|
26
|
-
*
|
|
27
|
-
* @returns The Powerlines context.
|
|
28
|
-
*/
|
|
29
|
-
function usePowerlines() {
|
|
30
|
-
const powerlines = usePowerlinesSafe();
|
|
31
|
-
if (!powerlines) throw new Error("Powerlines - Context is not set. Please make sure the Alloy components are being provided to an invocation of the `render` function added to plugins by `@powerlines/plugin-alloy`.");
|
|
32
|
-
return powerlines;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
//#endregion
|
|
36
|
-
export { usePowerlinesSafe as i, usePowerlines as n, usePowerlinesContext as r, PowerlinesContext as t };
|
|
37
|
-
//# sourceMappingURL=context-CKFN898c.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"context-CKFN898c.mjs","names":["createNamedContext","useContext","PowerlinesContext","usePowerlinesContext","usePowerlinesSafe","powerlines","undefined","usePowerlines","Error"],"sources":["../src/core/contexts/context.ts"],"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 ComponentContext,\n createNamedContext,\n useContext\n} from \"@alloy-js/core\";\nimport type { PluginContext } from \"powerlines/types/context\";\n\n/**\n * The Powerlines context used in template rendering.\n */\nexport const PowerlinesContext: ComponentContext<PluginContext> =\n createNamedContext<PluginContext>(\"Powerlines\");\n\n/**\n * Hook to access the Powerlines Context.\n *\n * @returns The Context.\n */\nexport function usePowerlinesContext<\n TContext extends PluginContext = PluginContext\n>(): TContext | undefined {\n return useContext(PowerlinesContext) as TContext | undefined;\n}\n\n/**\n * Hook to safely access the {@link PluginContext | Powerlines context}.\n *\n * @returns The Powerlines context or undefined if not set.\n */\nexport function usePowerlinesSafe<\n TContext extends PluginContext = PluginContext\n>(): TContext | undefined {\n const powerlines = usePowerlinesContext<TContext>();\n\n return powerlines ?? undefined;\n}\n\n/**\n * Hook to access the {@link PluginContext | Powerlines context}.\n *\n * @returns The Powerlines context.\n */\nexport function usePowerlines<\n TContext extends PluginContext = PluginContext\n>(): TContext {\n const powerlines = usePowerlinesSafe<TContext>();\n if (!powerlines) {\n throw new Error(\n \"Powerlines - Context is not set. Please make sure the Alloy components are being provided to an invocation of the `render` function added to plugins by `@powerlines/plugin-alloy`.\"\n );\n }\n\n return powerlines;\n}\n"],"mappings":""}
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
const require_chunk = require('./chunk-CbDLau6x.cjs');
|
|
2
|
-
let __alloy_js_core = require("@alloy-js/core");
|
|
3
|
-
|
|
4
|
-
//#region src/core/contexts/context.ts
|
|
5
|
-
/**
|
|
6
|
-
* The Powerlines context used in template rendering.
|
|
7
|
-
*/
|
|
8
|
-
const PowerlinesContext = (0, __alloy_js_core.createNamedContext)("Powerlines");
|
|
9
|
-
/**
|
|
10
|
-
* Hook to access the Powerlines Context.
|
|
11
|
-
*
|
|
12
|
-
* @returns The Context.
|
|
13
|
-
*/
|
|
14
|
-
function usePowerlinesContext() {
|
|
15
|
-
return (0, __alloy_js_core.useContext)(PowerlinesContext);
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* Hook to safely access the {@link PluginContext | Powerlines context}.
|
|
19
|
-
*
|
|
20
|
-
* @returns The Powerlines context or undefined if not set.
|
|
21
|
-
*/
|
|
22
|
-
function usePowerlinesSafe() {
|
|
23
|
-
return usePowerlinesContext() ?? void 0;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Hook to access the {@link PluginContext | Powerlines context}.
|
|
27
|
-
*
|
|
28
|
-
* @returns The Powerlines context.
|
|
29
|
-
*/
|
|
30
|
-
function usePowerlines() {
|
|
31
|
-
const powerlines = usePowerlinesSafe();
|
|
32
|
-
if (!powerlines) throw new Error("Powerlines - Context is not set. Please make sure the Alloy components are being provided to an invocation of the `render` function added to plugins by `@powerlines/plugin-alloy`.");
|
|
33
|
-
return powerlines;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
//#endregion
|
|
37
|
-
Object.defineProperty(exports, 'PowerlinesContext', {
|
|
38
|
-
enumerable: true,
|
|
39
|
-
get: function () {
|
|
40
|
-
return PowerlinesContext;
|
|
41
|
-
}
|
|
42
|
-
});
|
|
43
|
-
Object.defineProperty(exports, 'usePowerlines', {
|
|
44
|
-
enumerable: true,
|
|
45
|
-
get: function () {
|
|
46
|
-
return usePowerlines;
|
|
47
|
-
}
|
|
48
|
-
});
|
|
49
|
-
Object.defineProperty(exports, 'usePowerlinesContext', {
|
|
50
|
-
enumerable: true,
|
|
51
|
-
get: function () {
|
|
52
|
-
return usePowerlinesContext;
|
|
53
|
-
}
|
|
54
|
-
});
|
|
55
|
-
Object.defineProperty(exports, 'usePowerlinesSafe', {
|
|
56
|
-
enumerable: true,
|
|
57
|
-
get: function () {
|
|
58
|
-
return usePowerlinesSafe;
|
|
59
|
-
}
|
|
60
|
-
});
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { };
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { };
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { SymbolCreator } from "@alloy-js/core";
|
|
2
|
-
import { CreatePackageProps, PackageDescriptor, PackageRefkeys } from "@alloy-js/typescript";
|
|
3
|
-
|
|
4
|
-
//#region src/helpers/create-builtin.d.ts
|
|
5
|
-
type CreateBuiltinOptions<T extends PackageDescriptor> = Omit<CreatePackageProps<T>, "builtin">;
|
|
6
|
-
/**
|
|
7
|
-
* Creates a built-in representation of a package based on the provided descriptor.
|
|
8
|
-
*
|
|
9
|
-
* @param options - Properties to define the package, excluding the 'builtin' flag which is set to true.
|
|
10
|
-
* @returns An object containing reference keys for the package and a symbol creator function.
|
|
11
|
-
*/
|
|
12
|
-
declare function createBuiltin<const T extends PackageDescriptor>(options: CreateBuiltinOptions<T>): PackageRefkeys<T> & SymbolCreator;
|
|
13
|
-
declare type __ΩCreateBuiltinOptions = any[];
|
|
14
|
-
//#endregion
|
|
15
|
-
export { __ΩCreateBuiltinOptions as n, createBuiltin as r, CreateBuiltinOptions as t };
|
|
16
|
-
//# sourceMappingURL=create-builtin-BTtoNoeS.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"create-builtin-BTtoNoeS.d.mts","names":[],"sources":["../src/helpers/create-builtin.ts"],"sourcesContent":[],"mappings":";;;;KA0BY,+BAA+B,qBAAqB,KAC9D,mBAAmB;;AADrB;;;;;AAAoE,iBAWpD,aAXoD,CAAA,gBAWtB,iBAXsB,CAAA,CAAA,OAAA,EAYzD,oBAZyD,CAYpC,CAZoC,CAAA,CAAA,EAajE,cAbiE,CAalD,CAbkD,CAAA,GAa7C,aAb6C;AAWpD,uCAAa,GAAA,EAAA"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
const require_chunk = require('./chunk-CbDLau6x.cjs');
|
|
2
|
-
let __alloy_js_typescript = require("@alloy-js/typescript");
|
|
3
|
-
|
|
4
|
-
//#region src/helpers/create-builtin.ts
|
|
5
|
-
/**
|
|
6
|
-
* Creates a built-in representation of a package based on the provided descriptor.
|
|
7
|
-
*
|
|
8
|
-
* @param options - Properties to define the package, excluding the 'builtin' flag which is set to true.
|
|
9
|
-
* @returns An object containing reference keys for the package and a symbol creator function.
|
|
10
|
-
*/
|
|
11
|
-
function createBuiltin(options) {
|
|
12
|
-
return (0, __alloy_js_typescript.createPackage)({
|
|
13
|
-
...options,
|
|
14
|
-
builtin: true
|
|
15
|
-
});
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
//#endregion
|
|
19
|
-
Object.defineProperty(exports, 'createBuiltin', {
|
|
20
|
-
enumerable: true,
|
|
21
|
-
get: function () {
|
|
22
|
-
return createBuiltin;
|
|
23
|
-
}
|
|
24
|
-
});
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { createPackage } from "@alloy-js/typescript";
|
|
2
|
-
|
|
3
|
-
//#region src/helpers/create-builtin.ts
|
|
4
|
-
/**
|
|
5
|
-
* Creates a built-in representation of a package based on the provided descriptor.
|
|
6
|
-
*
|
|
7
|
-
* @param options - Properties to define the package, excluding the 'builtin' flag which is set to true.
|
|
8
|
-
* @returns An object containing reference keys for the package and a symbol creator function.
|
|
9
|
-
*/
|
|
10
|
-
function createBuiltin(options) {
|
|
11
|
-
return createPackage({
|
|
12
|
-
...options,
|
|
13
|
-
builtin: true
|
|
14
|
-
});
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
//#endregion
|
|
18
|
-
export { createBuiltin as t };
|
|
19
|
-
//# sourceMappingURL=create-builtin-C4n9BYjY.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"create-builtin-C4n9BYjY.mjs","names":["createPackage","createBuiltin","options","builtin"],"sources":["../src/helpers/create-builtin.ts"],"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 { SymbolCreator } from \"@alloy-js/core\";\nimport {\n createPackage,\n CreatePackageProps,\n PackageDescriptor,\n PackageRefkeys\n} from \"@alloy-js/typescript\";\n\nexport type CreateBuiltinOptions<T extends PackageDescriptor> = Omit<\n CreatePackageProps<T>,\n \"builtin\"\n>;\n\n/**\n * Creates a built-in representation of a package based on the provided descriptor.\n *\n * @param options - Properties to define the package, excluding the 'builtin' flag which is set to true.\n * @returns An object containing reference keys for the package and a symbol creator function.\n */\nexport function createBuiltin<const T extends PackageDescriptor>(\n options: CreateBuiltinOptions<T>\n): PackageRefkeys<T> & SymbolCreator {\n // const refkeys: any = {\n // [getSymbolCreatorSymbol()](binder: Binder) {\n // createSymbols(binder, props, refkeys);\n // }\n // };\n\n // for (const [path, symbols] of Object.entries(props.descriptor)) {\n // const keys = path === \".\" ? refkeys : (refkeys[path] = {});\n\n // if (symbols.default) {\n // keys.default = refkey(props.descriptor, path, \"default\");\n // }\n\n // for (const named of symbols.named ?? []) {\n // const namedObj = typeof named === \"string\" ? { name: named } : named;\n // keys[namedObj.name] = refkey();\n\n // if (namedObj.staticMembers?.length) {\n // createRefkeysForMembers(\n // namedObj.staticMembers,\n // keys[namedObj.name],\n // \"static\"\n // );\n // }\n\n // if (namedObj.instanceMembers?.length) {\n // createRefkeysForMembers(\n // namedObj.instanceMembers,\n // keys[namedObj.name],\n // \"instance\"\n // );\n // }\n\n // keys[namedObj.name][getSymbolCreatorSymbol()] = (\n // binder: Binder,\n // parentSym: TSOutputSymbol\n // ) => {\n // if (namedObj.staticMembers?.length) {\n // assignMembers(\n // binder,\n // parentSym,\n // namedObj.staticMembers,\n // keys[namedObj.name],\n // true\n // );\n // }\n // if (namedObj.instanceMembers?.length) {\n // assignMembers(\n // binder,\n // parentSym,\n // namedObj.instanceMembers,\n // keys[namedObj.name],\n // false\n // );\n // }\n // };\n // }\n // }\n\n // return refkeys;\n\n return createPackage({ ...options, builtin: true });\n}\n"],"mappings":""}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { SymbolCreator } from "@alloy-js/core";
|
|
2
|
-
import { CreatePackageProps, PackageDescriptor, PackageRefkeys } from "@alloy-js/typescript";
|
|
3
|
-
|
|
4
|
-
//#region src/helpers/create-builtin.d.ts
|
|
5
|
-
type CreateBuiltinOptions<T extends PackageDescriptor> = Omit<CreatePackageProps<T>, "builtin">;
|
|
6
|
-
/**
|
|
7
|
-
* Creates a built-in representation of a package based on the provided descriptor.
|
|
8
|
-
*
|
|
9
|
-
* @param options - Properties to define the package, excluding the 'builtin' flag which is set to true.
|
|
10
|
-
* @returns An object containing reference keys for the package and a symbol creator function.
|
|
11
|
-
*/
|
|
12
|
-
declare function createBuiltin<const T extends PackageDescriptor>(options: CreateBuiltinOptions<T>): PackageRefkeys<T> & SymbolCreator;
|
|
13
|
-
declare type __ΩCreateBuiltinOptions = any[];
|
|
14
|
-
//#endregion
|
|
15
|
-
export { __ΩCreateBuiltinOptions as n, createBuiltin as r, CreateBuiltinOptions as t };
|
|
16
|
-
//# sourceMappingURL=create-builtin-DvcoEGqh.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"create-builtin-DvcoEGqh.d.cts","names":[],"sources":["../src/helpers/create-builtin.ts"],"sourcesContent":[],"mappings":";;;;KA0BY,+BAA+B,qBAAqB,KAC9D,mBAAmB;;AADrB;;;;;AAAoE,iBAWpD,aAXoD,CAAA,gBAWtB,iBAXsB,CAAA,CAAA,OAAA,EAYzD,oBAZyD,CAYpC,CAZoC,CAAA,CAAA,EAajE,cAbiE,CAalD,CAbkD,CAAA,GAa7C,aAb6C;AAWpD,uCAAa,GAAA,EAAA"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { createComponent, mergeProps } from "@alloy-js/core/jsx-runtime";
|
|
2
|
-
import { code } from "@alloy-js/core";
|
|
3
|
-
import { VarDeclaration } from "@alloy-js/typescript";
|
|
4
|
-
|
|
5
|
-
//#region src/typescript/components/dynamic-import-statement.tsx
|
|
6
|
-
/**
|
|
7
|
-
* Generates a dynamic import statement for a given module path and export name.
|
|
8
|
-
*
|
|
9
|
-
* @example
|
|
10
|
-
* ```tsx
|
|
11
|
-
* <DynamicImportStatement importPath="./my-module" exportName="myExport" const={true} name="myVar" />
|
|
12
|
-
* // const myVar = await import("./my-module").then(m => m.myExport);
|
|
13
|
-
* ```
|
|
14
|
-
*
|
|
15
|
-
* @param props - The properties for the dynamic import statement.
|
|
16
|
-
* @returns A `VarDeclaration` component representing the dynamic import statement.
|
|
17
|
-
*/
|
|
18
|
-
function DynamicImportStatement(props) {
|
|
19
|
-
const { importPath, exportName = "default", const: isConst = true, ...rest } = props;
|
|
20
|
-
return createComponent(VarDeclaration, mergeProps({ "const": isConst }, rest, { initializer: code`await import("${importPath}").then(m => m.${exportName});` }));
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
//#endregion
|
|
24
|
-
export { DynamicImportStatement as t };
|
|
25
|
-
//# sourceMappingURL=dynamic-import-statement-BVggdOVL.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dynamic-import-statement-BVggdOVL.mjs","names":["code","VarDeclaration","DynamicImportStatement","props","importPath","exportName","const","isConst","rest","_$createComponent","_$mergeProps","initializer"],"sources":["../src/typescript/components/dynamic-import-statement.tsx"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { code } from \"@alloy-js/core\";\nimport { VarDeclaration, VarDeclarationProps } from \"@alloy-js/typescript\";\n\nexport interface DynamicImportStatementProps extends Omit<\n VarDeclarationProps,\n \"initializer\"\n> {\n /**\n * The path of the module to import.\n */\n importPath: string;\n\n /**\n * The name of the export to import from the module.\n *\n * @defaultValue \"default\"\n */\n exportName?: string;\n}\n\n/**\n * Generates a dynamic import statement for a given module path and export name.\n *\n * @example\n * ```tsx\n * <DynamicImportStatement importPath=\"./my-module\" exportName=\"myExport\" const={true} name=\"myVar\" />\n * // const myVar = await import(\"./my-module\").then(m => m.myExport);\n * ```\n *\n * @param props - The properties for the dynamic import statement.\n * @returns A `VarDeclaration` component representing the dynamic import statement.\n */\nexport function DynamicImportStatement(props: DynamicImportStatementProps) {\n const {\n importPath,\n exportName = \"default\",\n const: isConst = true,\n ...rest\n } = props;\n\n return (\n <VarDeclaration\n const={isConst}\n {...rest}\n initializer={code`await import(\"${importPath}\").then(m => m.${exportName});`}></VarDeclaration>\n );\n}\n"],"mappings":""}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import * as _alloy_js_core15 from "@alloy-js/core";
|
|
2
|
-
import { VarDeclarationProps } from "@alloy-js/typescript";
|
|
3
|
-
|
|
4
|
-
//#region src/typescript/components/dynamic-import-statement.d.ts
|
|
5
|
-
interface DynamicImportStatementProps extends Omit<VarDeclarationProps, "initializer"> {
|
|
6
|
-
/**
|
|
7
|
-
* The path of the module to import.
|
|
8
|
-
*/
|
|
9
|
-
importPath: string;
|
|
10
|
-
/**
|
|
11
|
-
* The name of the export to import from the module.
|
|
12
|
-
*
|
|
13
|
-
* @defaultValue "default"
|
|
14
|
-
*/
|
|
15
|
-
exportName?: string;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* Generates a dynamic import statement for a given module path and export name.
|
|
19
|
-
*
|
|
20
|
-
* @example
|
|
21
|
-
* ```tsx
|
|
22
|
-
* <DynamicImportStatement importPath="./my-module" exportName="myExport" const={true} name="myVar" />
|
|
23
|
-
* // const myVar = await import("./my-module").then(m => m.myExport);
|
|
24
|
-
* ```
|
|
25
|
-
*
|
|
26
|
-
* @param props - The properties for the dynamic import statement.
|
|
27
|
-
* @returns A `VarDeclaration` component representing the dynamic import statement.
|
|
28
|
-
*/
|
|
29
|
-
declare function DynamicImportStatement(props: DynamicImportStatementProps): _alloy_js_core15.Children;
|
|
30
|
-
declare type __ΩDynamicImportStatementProps = any[];
|
|
31
|
-
//#endregion
|
|
32
|
-
export { DynamicImportStatementProps as n, __ΩDynamicImportStatementProps as r, DynamicImportStatement as t };
|
|
33
|
-
//# sourceMappingURL=dynamic-import-statement-CNkFdigQ.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dynamic-import-statement-CNkFdigQ.d.mts","names":[],"sources":["../src/typescript/components/dynamic-import-statement.tsx"],"sourcesContent":[],"mappings":";;;;UAqBiB,2BAAA,SAAoC,KACnD;;;AADF;EA6BgB,UAAA,EAAA,MAAA;;;;;;;;;;;;;;;;;;;;iBAAA,sBAAA,QAA8B,8BAA2B,gBAAA,CAAA"}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import * as _alloy_js_core8 from "@alloy-js/core";
|
|
2
|
-
import { VarDeclarationProps } from "@alloy-js/typescript";
|
|
3
|
-
|
|
4
|
-
//#region src/typescript/components/dynamic-import-statement.d.ts
|
|
5
|
-
interface DynamicImportStatementProps extends Omit<VarDeclarationProps, "initializer"> {
|
|
6
|
-
/**
|
|
7
|
-
* The path of the module to import.
|
|
8
|
-
*/
|
|
9
|
-
importPath: string;
|
|
10
|
-
/**
|
|
11
|
-
* The name of the export to import from the module.
|
|
12
|
-
*
|
|
13
|
-
* @defaultValue "default"
|
|
14
|
-
*/
|
|
15
|
-
exportName?: string;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* Generates a dynamic import statement for a given module path and export name.
|
|
19
|
-
*
|
|
20
|
-
* @example
|
|
21
|
-
* ```tsx
|
|
22
|
-
* <DynamicImportStatement importPath="./my-module" exportName="myExport" const={true} name="myVar" />
|
|
23
|
-
* // const myVar = await import("./my-module").then(m => m.myExport);
|
|
24
|
-
* ```
|
|
25
|
-
*
|
|
26
|
-
* @param props - The properties for the dynamic import statement.
|
|
27
|
-
* @returns A `VarDeclaration` component representing the dynamic import statement.
|
|
28
|
-
*/
|
|
29
|
-
declare function DynamicImportStatement(props: DynamicImportStatementProps): _alloy_js_core8.Children;
|
|
30
|
-
declare type __ΩDynamicImportStatementProps = any[];
|
|
31
|
-
//#endregion
|
|
32
|
-
export { DynamicImportStatementProps as n, __ΩDynamicImportStatementProps as r, DynamicImportStatement as t };
|
|
33
|
-
//# sourceMappingURL=dynamic-import-statement-CmMuHy6m.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dynamic-import-statement-CmMuHy6m.d.cts","names":[],"sources":["../src/typescript/components/dynamic-import-statement.tsx"],"sourcesContent":[],"mappings":";;;;UAqBiB,2BAAA,SAAoC,KACnD;;;AADF;EA6BgB,UAAA,EAAA,MAAA;;;;;;;;;;;;;;;;;;;;iBAAA,sBAAA,QAA8B,8BAA2B,eAAA,CAAA"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
const require_chunk = require('./chunk-CbDLau6x.cjs');
|
|
2
|
-
let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
|
|
3
|
-
let __alloy_js_core = require("@alloy-js/core");
|
|
4
|
-
let __alloy_js_typescript = require("@alloy-js/typescript");
|
|
5
|
-
|
|
6
|
-
//#region src/typescript/components/dynamic-import-statement.tsx
|
|
7
|
-
/**
|
|
8
|
-
* Generates a dynamic import statement for a given module path and export name.
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* ```tsx
|
|
12
|
-
* <DynamicImportStatement importPath="./my-module" exportName="myExport" const={true} name="myVar" />
|
|
13
|
-
* // const myVar = await import("./my-module").then(m => m.myExport);
|
|
14
|
-
* ```
|
|
15
|
-
*
|
|
16
|
-
* @param props - The properties for the dynamic import statement.
|
|
17
|
-
* @returns A `VarDeclaration` component representing the dynamic import statement.
|
|
18
|
-
*/
|
|
19
|
-
function DynamicImportStatement(props) {
|
|
20
|
-
const { importPath, exportName = "default", const: isConst = true, ...rest } = props;
|
|
21
|
-
return (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_typescript.VarDeclaration, (0, __alloy_js_core_jsx_runtime.mergeProps)({ "const": isConst }, rest, { initializer: __alloy_js_core.code`await import("${importPath}").then(m => m.${exportName});` }));
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
//#endregion
|
|
25
|
-
Object.defineProperty(exports, 'DynamicImportStatement', {
|
|
26
|
-
enumerable: true,
|
|
27
|
-
get: function () {
|
|
28
|
-
return DynamicImportStatement;
|
|
29
|
-
}
|
|
30
|
-
});
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
const require_chunk = require('./chunk-CbDLau6x.cjs');
|
|
2
|
-
const require_context = require('./context-DNdlL_gp.cjs');
|
|
3
|
-
const require_typescript_file = require('./typescript-file-4oY1sIRB.cjs');
|
|
4
|
-
let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
|
|
5
|
-
let __alloy_js_core = require("@alloy-js/core");
|
|
6
|
-
let __stryke_path_file_path_fns = require("@stryke/path/file-path-fns");
|
|
7
|
-
let __stryke_path_append = require("@stryke/path/append");
|
|
8
|
-
let defu = require("defu");
|
|
9
|
-
defu = require_chunk.__toESM(defu);
|
|
10
|
-
let __stryke_path_replace = require("@stryke/path/replace");
|
|
11
|
-
let __stryke_type_checks_is_set = require("@stryke/type-checks/is-set");
|
|
12
|
-
|
|
13
|
-
//#region src/typescript/components/entry-file.tsx
|
|
14
|
-
/**
|
|
15
|
-
* A base component representing a Powerlines generated Typescript source file.
|
|
16
|
-
*
|
|
17
|
-
* @param props - The properties for the source file.
|
|
18
|
-
* @returns The rendered source file component.
|
|
19
|
-
*/
|
|
20
|
-
function EntryFile(props) {
|
|
21
|
-
const [{ children, meta, tsx, path, typeDefinition }, rest] = (0, __alloy_js_core.splitProps)(props, [
|
|
22
|
-
"children",
|
|
23
|
-
"meta",
|
|
24
|
-
"tsx",
|
|
25
|
-
"path",
|
|
26
|
-
"typeDefinition"
|
|
27
|
-
]);
|
|
28
|
-
const context = require_context.usePowerlinesSafe();
|
|
29
|
-
const fullPath = (0, __alloy_js_core.computed)(() => context ? (0, __stryke_path_append.appendPath)(`${!(0, __stryke_type_checks_is_set.isSet)(tsx) ? path : (0, __stryke_path_replace.replaceExtension)(path)}${tsx ? ".tsx" : (0, __stryke_path_file_path_fns.hasFileExtension)(path) ? "" : ".ts"}`, (0, __stryke_path_replace.replacePath)(context.entryPath, context.workspaceConfig.workspaceRoot)) : path);
|
|
30
|
-
return (0, __alloy_js_core_jsx_runtime.createComponent)(require_typescript_file.TypescriptFile, (0, __alloy_js_core_jsx_runtime.mergeProps)(rest, {
|
|
31
|
-
get path() {
|
|
32
|
-
return fullPath.value;
|
|
33
|
-
},
|
|
34
|
-
get meta() {
|
|
35
|
-
return (0, defu.default)({ kind: "entry" }, meta ?? {}, { typeDefinition });
|
|
36
|
-
},
|
|
37
|
-
children
|
|
38
|
-
}));
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
//#endregion
|
|
42
|
-
Object.defineProperty(exports, 'EntryFile', {
|
|
43
|
-
enumerable: true,
|
|
44
|
-
get: function () {
|
|
45
|
-
return EntryFile;
|
|
46
|
-
}
|
|
47
|
-
});
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { o as TypescriptFileProps } from "./typescript-file-DLBBHHWY.mjs";
|
|
2
|
-
import * as _alloy_js_core16 from "@alloy-js/core";
|
|
3
|
-
import { ResolvedEntryTypeDefinition } from "powerlines/types/resolved";
|
|
4
|
-
|
|
5
|
-
//#region src/typescript/components/entry-file.d.ts
|
|
6
|
-
type EntryFileProps = TypescriptFileProps & {
|
|
7
|
-
/**
|
|
8
|
-
* Whether the file is a TSX file.
|
|
9
|
-
*
|
|
10
|
-
* @defaultValue false
|
|
11
|
-
*/
|
|
12
|
-
tsx?: boolean;
|
|
13
|
-
/**
|
|
14
|
-
* Render metadata information about the entrypoint
|
|
15
|
-
*/
|
|
16
|
-
typeDefinition?: ResolvedEntryTypeDefinition;
|
|
17
|
-
};
|
|
18
|
-
/**
|
|
19
|
-
* A base component representing a Powerlines generated Typescript source file.
|
|
20
|
-
*
|
|
21
|
-
* @param props - The properties for the source file.
|
|
22
|
-
* @returns The rendered source file component.
|
|
23
|
-
*/
|
|
24
|
-
declare function EntryFile(props: EntryFileProps): _alloy_js_core16.Children;
|
|
25
|
-
declare type __ΩEntryFileProps = any[];
|
|
26
|
-
//#endregion
|
|
27
|
-
export { EntryFileProps as n, __ΩEntryFileProps as r, EntryFile as t };
|
|
28
|
-
//# sourceMappingURL=entry-file-DVYjczbC.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"entry-file-DVYjczbC.d.mts","names":[],"sources":["../src/typescript/components/entry-file.tsx"],"sourcesContent":[],"mappings":";;;;;KA4BY,cAAA,GAAiB;;;AAA7B;AAoBA;;;;;;mBATmB;;;;;;;;iBASH,SAAA,QAAiB,iBAAc,gBAAA,CAAA"}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { i as usePowerlinesSafe } from "./context-CKFN898c.mjs";
|
|
2
|
-
import { t as TypescriptFile } from "./typescript-file-Bo3KHWdR.mjs";
|
|
3
|
-
import { createComponent, mergeProps } from "@alloy-js/core/jsx-runtime";
|
|
4
|
-
import { computed, splitProps } from "@alloy-js/core";
|
|
5
|
-
import { hasFileExtension } from "@stryke/path/file-path-fns";
|
|
6
|
-
import { appendPath } from "@stryke/path/append";
|
|
7
|
-
import defu from "defu";
|
|
8
|
-
import { replaceExtension, replacePath } from "@stryke/path/replace";
|
|
9
|
-
import { isSet } from "@stryke/type-checks/is-set";
|
|
10
|
-
|
|
11
|
-
//#region src/typescript/components/entry-file.tsx
|
|
12
|
-
/**
|
|
13
|
-
* A base component representing a Powerlines generated Typescript source file.
|
|
14
|
-
*
|
|
15
|
-
* @param props - The properties for the source file.
|
|
16
|
-
* @returns The rendered source file component.
|
|
17
|
-
*/
|
|
18
|
-
function EntryFile(props) {
|
|
19
|
-
const [{ children, meta, tsx, path, typeDefinition }, rest] = splitProps(props, [
|
|
20
|
-
"children",
|
|
21
|
-
"meta",
|
|
22
|
-
"tsx",
|
|
23
|
-
"path",
|
|
24
|
-
"typeDefinition"
|
|
25
|
-
]);
|
|
26
|
-
const context = usePowerlinesSafe();
|
|
27
|
-
const fullPath = computed(() => context ? appendPath(`${!isSet(tsx) ? path : replaceExtension(path)}${tsx ? ".tsx" : hasFileExtension(path) ? "" : ".ts"}`, replacePath(context.entryPath, context.workspaceConfig.workspaceRoot)) : path);
|
|
28
|
-
return createComponent(TypescriptFile, mergeProps(rest, {
|
|
29
|
-
get path() {
|
|
30
|
-
return fullPath.value;
|
|
31
|
-
},
|
|
32
|
-
get meta() {
|
|
33
|
-
return defu({ kind: "entry" }, meta ?? {}, { typeDefinition });
|
|
34
|
-
},
|
|
35
|
-
children
|
|
36
|
-
}));
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
//#endregion
|
|
40
|
-
export { EntryFile as t };
|
|
41
|
-
//# sourceMappingURL=entry-file-Fw7DyszP.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"entry-file-Fw7DyszP.mjs","names":["computed","splitProps","appendPath","hasFileExtension","replaceExtension","replacePath","isSet","defu","usePowerlinesSafe","TypescriptFile","EntryFile","props","children","meta","tsx","path","typeDefinition","rest","context","fullPath","entryPath","workspaceConfig","workspaceRoot","_$createComponent","_$mergeProps","value","kind"],"sources":["../src/typescript/components/entry-file.tsx"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { computed, splitProps } from \"@alloy-js/core\";\nimport { appendPath } from \"@stryke/path/append\";\nimport { hasFileExtension } from \"@stryke/path/file-path-fns\";\nimport { replaceExtension, replacePath } from \"@stryke/path/replace\";\nimport { isSet } from \"@stryke/type-checks/is-set\";\nimport defu from \"defu\";\nimport { ResolvedEntryTypeDefinition } from \"powerlines/types/resolved\";\nimport { usePowerlinesSafe } from \"../../core/contexts/context\";\nimport { TypescriptFile, TypescriptFileProps } from \"./typescript-file\";\n\nexport type EntryFileProps = TypescriptFileProps & {\n /**\n * Whether the file is a TSX file.\n *\n * @defaultValue false\n */\n tsx?: boolean;\n\n /**\n * Render metadata information about the entrypoint\n */\n typeDefinition?: ResolvedEntryTypeDefinition;\n};\n\n/**\n * A base component representing a Powerlines generated Typescript source file.\n *\n * @param props - The properties for the source file.\n * @returns The rendered source file component.\n */\nexport function EntryFile(props: EntryFileProps) {\n const [{ children, meta, tsx, path, typeDefinition }, rest] = splitProps(\n props,\n [\"children\", \"meta\", \"tsx\", \"path\", \"typeDefinition\"]\n );\n\n const context = usePowerlinesSafe();\n const fullPath = computed(() =>\n context\n ? appendPath(\n `${\n !isSet(tsx) ? path : replaceExtension(path)\n }${tsx ? \".tsx\" : hasFileExtension(path) ? \"\" : \".ts\"}`,\n replacePath(context.entryPath, context.workspaceConfig.workspaceRoot)\n )\n : path\n );\n\n return (\n <TypescriptFile\n {...rest}\n path={fullPath.value}\n meta={defu(\n {\n kind: \"entry\"\n },\n meta ?? {},\n {\n typeDefinition\n }\n )}>\n {children}\n </TypescriptFile>\n );\n}\n"],"mappings":""}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { o as TypescriptFileProps } from "./typescript-file-BzXivK-j.cjs";
|
|
2
|
-
import * as _alloy_js_core12 from "@alloy-js/core";
|
|
3
|
-
import { ResolvedEntryTypeDefinition } from "powerlines/types/resolved";
|
|
4
|
-
|
|
5
|
-
//#region src/typescript/components/entry-file.d.ts
|
|
6
|
-
type EntryFileProps = TypescriptFileProps & {
|
|
7
|
-
/**
|
|
8
|
-
* Whether the file is a TSX file.
|
|
9
|
-
*
|
|
10
|
-
* @defaultValue false
|
|
11
|
-
*/
|
|
12
|
-
tsx?: boolean;
|
|
13
|
-
/**
|
|
14
|
-
* Render metadata information about the entrypoint
|
|
15
|
-
*/
|
|
16
|
-
typeDefinition?: ResolvedEntryTypeDefinition;
|
|
17
|
-
};
|
|
18
|
-
/**
|
|
19
|
-
* A base component representing a Powerlines generated Typescript source file.
|
|
20
|
-
*
|
|
21
|
-
* @param props - The properties for the source file.
|
|
22
|
-
* @returns The rendered source file component.
|
|
23
|
-
*/
|
|
24
|
-
declare function EntryFile(props: EntryFileProps): _alloy_js_core12.Children;
|
|
25
|
-
declare type __ΩEntryFileProps = any[];
|
|
26
|
-
//#endregion
|
|
27
|
-
export { EntryFileProps as n, __ΩEntryFileProps as r, EntryFile as t };
|
|
28
|
-
//# sourceMappingURL=entry-file-xdUfTbOs.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"entry-file-xdUfTbOs.d.cts","names":[],"sources":["../src/typescript/components/entry-file.tsx"],"sourcesContent":[],"mappings":";;;;;KA4BY,cAAA,GAAiB;;;AAA7B;AAoBA;;;;;;mBATmB;;;;;;;;iBASH,SAAA,QAAiB,iBAAc,gBAAA,CAAA"}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
const require_chunk = require('./chunk-CbDLau6x.cjs');
|
|
2
|
-
let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
|
|
3
|
-
let __alloy_js_core = require("@alloy-js/core");
|
|
4
|
-
|
|
5
|
-
//#region src/markdown/components/front-matter.tsx
|
|
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
|
-
Object.defineProperty(exports, 'FrontMatter', {
|
|
29
|
-
enumerable: true,
|
|
30
|
-
get: function () {
|
|
31
|
-
return FrontMatter;
|
|
32
|
-
}
|
|
33
|
-
});
|