@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,2 +1,33 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import * as _alloy_js_core17 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_core17.Children;
|
|
30
|
+
declare type __ΩDynamicImportStatementProps = any[];
|
|
31
|
+
//#endregion
|
|
32
|
+
export { DynamicImportStatement, DynamicImportStatementProps, __ΩDynamicImportStatementProps };
|
|
33
|
+
//# sourceMappingURL=dynamic-import-statement.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dynamic-import-statement.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,3 +1,25 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { createComponent, mergeProps } from "@alloy-js/core/jsx-runtime";
|
|
2
|
+
import { code } from "@alloy-js/core";
|
|
3
|
+
import { VarDeclaration } from "@alloy-js/typescript";
|
|
2
4
|
|
|
3
|
-
|
|
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 };
|
|
25
|
+
//# sourceMappingURL=dynamic-import-statement.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dynamic-import-statement.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,8 +1,42 @@
|
|
|
1
|
-
require('../../
|
|
2
|
-
require('../../
|
|
3
|
-
require('
|
|
4
|
-
require(
|
|
5
|
-
require(
|
|
6
|
-
|
|
1
|
+
const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
|
|
2
|
+
const require_core_contexts_context = require('../../core/contexts/context.cjs');
|
|
3
|
+
const require_typescript_components_typescript_file = require('./typescript-file.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_rolldown_runtime.__toESM(defu);
|
|
10
|
+
let __stryke_path_replace = require("@stryke/path/replace");
|
|
11
|
+
let __stryke_type_checks_is_set = require("@stryke/type-checks/is-set");
|
|
7
12
|
|
|
8
|
-
|
|
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_core_contexts_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_components_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
|
+
exports.EntryFile = EntryFile;
|
|
@@ -1,5 +1,28 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import "
|
|
3
|
-
import "
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { TypescriptFileProps } from "./typescript-file.cjs";
|
|
2
|
+
import * as _alloy_js_core6 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_core6.Children;
|
|
25
|
+
declare type __ΩEntryFileProps = any[];
|
|
26
|
+
//#endregion
|
|
27
|
+
export { EntryFile, EntryFileProps, __ΩEntryFileProps };
|
|
28
|
+
//# sourceMappingURL=entry-file.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entry-file.d.cts","names":[],"sources":["../../../src/typescript/components/entry-file.tsx"],"sourcesContent":[],"mappings":";;;;;KA4BY,cAAA,GAAiB;;;AAA7B;AAoBA;;;;;;mBATmB;;;;;;;;iBASH,SAAA,QAAiB,iBAAc,eAAA,CAAA"}
|
|
@@ -1,5 +1,28 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import "
|
|
3
|
-
import "
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { TypescriptFileProps } from "./typescript-file.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 { EntryFile, EntryFileProps, __ΩEntryFileProps };
|
|
28
|
+
//# sourceMappingURL=entry-file.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entry-file.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,8 +1,41 @@
|
|
|
1
|
-
import "../../context
|
|
2
|
-
import "
|
|
3
|
-
import "
|
|
4
|
-
import "
|
|
5
|
-
import "
|
|
6
|
-
import {
|
|
1
|
+
import { usePowerlinesSafe } from "../../core/contexts/context.mjs";
|
|
2
|
+
import { TypescriptFile } from "./typescript-file.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";
|
|
7
10
|
|
|
8
|
-
|
|
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 };
|
|
41
|
+
//# sourceMappingURL=entry-file.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entry-file.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,50 +1,44 @@
|
|
|
1
|
-
require('
|
|
2
|
-
require('
|
|
3
|
-
require('
|
|
4
|
-
require('
|
|
5
|
-
require('
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
const
|
|
10
|
-
const require_entry_file = require('../../entry-file-D5u7AjDL.cjs');
|
|
11
|
-
const require_record_expression = require('../../record-expression-6ElbFyR0.cjs');
|
|
12
|
-
const require_tsdoc_reflection = require('../../tsdoc-reflection-B5-J4ia-.cjs');
|
|
13
|
-
const require_typescript_interface = require('../../typescript-interface-B0AoZx3f.cjs');
|
|
14
|
-
const require_typescript_object = require('../../typescript-object-C4d4fThY.cjs');
|
|
15
|
-
require('../../components-ISRFDWTF.cjs');
|
|
1
|
+
const require_typescript_components_tsdoc = require('./tsdoc.cjs');
|
|
2
|
+
const require_typescript_components_typescript_file = require('./typescript-file.cjs');
|
|
3
|
+
const require_typescript_components_builtin_file = require('./builtin-file.cjs');
|
|
4
|
+
const require_typescript_components_dynamic_import_statement = require('./dynamic-import-statement.cjs');
|
|
5
|
+
const require_typescript_components_entry_file = require('./entry-file.cjs');
|
|
6
|
+
const require_typescript_components_record_expression = require('./record-expression.cjs');
|
|
7
|
+
const require_typescript_components_tsdoc_reflection = require('./tsdoc-reflection.cjs');
|
|
8
|
+
const require_typescript_components_typescript_interface = require('./typescript-interface.cjs');
|
|
9
|
+
const require_typescript_components_typescript_object = require('./typescript-object.cjs');
|
|
16
10
|
|
|
17
|
-
exports.BuiltinFile =
|
|
18
|
-
exports.DynamicImportStatement =
|
|
19
|
-
exports.EntryFile =
|
|
20
|
-
exports.RecordExpression =
|
|
21
|
-
exports.TSDoc =
|
|
22
|
-
exports.TSDocAlias =
|
|
23
|
-
exports.TSDocAttributesTags =
|
|
24
|
-
exports.TSDocDefaultValue =
|
|
25
|
-
exports.TSDocDomain =
|
|
26
|
-
exports.TSDocExample =
|
|
27
|
-
exports.TSDocHidden =
|
|
28
|
-
exports.TSDocIgnore =
|
|
29
|
-
exports.TSDocInternal =
|
|
30
|
-
exports.TSDocLink =
|
|
31
|
-
exports.TSDocModule =
|
|
32
|
-
exports.TSDocParam =
|
|
33
|
-
exports.TSDocParams =
|
|
34
|
-
exports.TSDocPermission =
|
|
35
|
-
exports.TSDocReadonly =
|
|
36
|
-
exports.TSDocReflectionClass =
|
|
37
|
-
exports.TSDocReflectionMethod =
|
|
38
|
-
exports.TSDocReflectionProperty =
|
|
39
|
-
exports.TSDocRemarks =
|
|
40
|
-
exports.TSDocReturns =
|
|
41
|
-
exports.TSDocTag =
|
|
42
|
-
exports.TSDocThrows =
|
|
43
|
-
exports.TSDocTitle =
|
|
44
|
-
exports.TypeScriptInterface =
|
|
45
|
-
exports.TypescriptFile =
|
|
46
|
-
exports.TypescriptFileHeader =
|
|
47
|
-
exports.TypescriptFileHeaderImports =
|
|
48
|
-
exports.TypescriptInterfaceProperty =
|
|
49
|
-
exports.TypescriptObject =
|
|
50
|
-
exports.TypescriptObjectProperty =
|
|
11
|
+
exports.BuiltinFile = require_typescript_components_builtin_file.BuiltinFile;
|
|
12
|
+
exports.DynamicImportStatement = require_typescript_components_dynamic_import_statement.DynamicImportStatement;
|
|
13
|
+
exports.EntryFile = require_typescript_components_entry_file.EntryFile;
|
|
14
|
+
exports.RecordExpression = require_typescript_components_record_expression.RecordExpression;
|
|
15
|
+
exports.TSDoc = require_typescript_components_tsdoc.TSDoc;
|
|
16
|
+
exports.TSDocAlias = require_typescript_components_tsdoc.TSDocAlias;
|
|
17
|
+
exports.TSDocAttributesTags = require_typescript_components_tsdoc.TSDocAttributesTags;
|
|
18
|
+
exports.TSDocDefaultValue = require_typescript_components_tsdoc.TSDocDefaultValue;
|
|
19
|
+
exports.TSDocDomain = require_typescript_components_tsdoc.TSDocDomain;
|
|
20
|
+
exports.TSDocExample = require_typescript_components_tsdoc.TSDocExample;
|
|
21
|
+
exports.TSDocHidden = require_typescript_components_tsdoc.TSDocHidden;
|
|
22
|
+
exports.TSDocIgnore = require_typescript_components_tsdoc.TSDocIgnore;
|
|
23
|
+
exports.TSDocInternal = require_typescript_components_tsdoc.TSDocInternal;
|
|
24
|
+
exports.TSDocLink = require_typescript_components_tsdoc.TSDocLink;
|
|
25
|
+
exports.TSDocModule = require_typescript_components_tsdoc.TSDocModule;
|
|
26
|
+
exports.TSDocParam = require_typescript_components_tsdoc.TSDocParam;
|
|
27
|
+
exports.TSDocParams = require_typescript_components_tsdoc.TSDocParams;
|
|
28
|
+
exports.TSDocPermission = require_typescript_components_tsdoc.TSDocPermission;
|
|
29
|
+
exports.TSDocReadonly = require_typescript_components_tsdoc.TSDocReadonly;
|
|
30
|
+
exports.TSDocReflectionClass = require_typescript_components_tsdoc_reflection.TSDocReflectionClass;
|
|
31
|
+
exports.TSDocReflectionMethod = require_typescript_components_tsdoc_reflection.TSDocReflectionMethod;
|
|
32
|
+
exports.TSDocReflectionProperty = require_typescript_components_tsdoc_reflection.TSDocReflectionProperty;
|
|
33
|
+
exports.TSDocRemarks = require_typescript_components_tsdoc.TSDocRemarks;
|
|
34
|
+
exports.TSDocReturns = require_typescript_components_tsdoc.TSDocReturns;
|
|
35
|
+
exports.TSDocTag = require_typescript_components_tsdoc.TSDocTag;
|
|
36
|
+
exports.TSDocThrows = require_typescript_components_tsdoc.TSDocThrows;
|
|
37
|
+
exports.TSDocTitle = require_typescript_components_tsdoc.TSDocTitle;
|
|
38
|
+
exports.TypeScriptInterface = require_typescript_components_typescript_interface.TypeScriptInterface;
|
|
39
|
+
exports.TypescriptFile = require_typescript_components_typescript_file.TypescriptFile;
|
|
40
|
+
exports.TypescriptFileHeader = require_typescript_components_typescript_file.TypescriptFileHeader;
|
|
41
|
+
exports.TypescriptFileHeaderImports = require_typescript_components_typescript_file.TypescriptFileHeaderImports;
|
|
42
|
+
exports.TypescriptInterfaceProperty = require_typescript_components_typescript_interface.TypescriptInterfaceProperty;
|
|
43
|
+
exports.TypescriptObject = require_typescript_components_typescript_object.TypescriptObject;
|
|
44
|
+
exports.TypescriptObjectProperty = require_typescript_components_typescript_object.TypescriptObjectProperty;
|
|
@@ -1,13 +1,10 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import "
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { a as __ΩTypeScriptInterfaceProps, i as TypescriptInterfacePropertyProps, n as TypeScriptInterfaceProps, o as __ΩTypescriptInterfacePropertyProps, r as TypescriptInterfaceProperty, t as TypeScriptInterface } from "../../typescript-interface-WKTnM5vn.cjs";
|
|
11
|
-
import { a as TypescriptObjectProps, c as __ΩTypescriptObjectProps, i as TypescriptObjectPropertyProps, n as TypescriptObject, o as __ΩComputedRef, r as TypescriptObjectProperty, s as __ΩTypescriptObjectPropertyProps, t as ComputedRef } from "../../typescript-object-Cun6srBu.cjs";
|
|
12
|
-
import "../../index-DHFfG4yr.cjs";
|
|
1
|
+
import { TSDoc, TSDocAlias, TSDocAttributesTags, TSDocAttributesTagsProps, TSDocDefaultValue, TSDocDefaultValueProps, TSDocDomain, TSDocExample, TSDocExampleProps, TSDocHidden, TSDocIgnore, TSDocInternal, TSDocLink, TSDocModule, TSDocModuleProps, TSDocParam, TSDocParamProps, TSDocParams, TSDocParamsProps, TSDocPermission, TSDocProps, TSDocReadonly, TSDocRemarks, TSDocReturns, TSDocTag, TSDocTagProps, TSDocThrows, TSDocTitle, __ΩTSDocAttributesTagsProps, __ΩTSDocDefaultValueProps, __ΩTSDocExampleProps, __ΩTSDocModuleProps, __ΩTSDocParamProps, __ΩTSDocParamsProps, __ΩTSDocProps, __ΩTSDocTagProps } from "./tsdoc.cjs";
|
|
2
|
+
import { TypescriptFile, TypescriptFileHeader, TypescriptFileHeaderImports, TypescriptFileHeaderImportsProps, TypescriptFileHeaderProps, TypescriptFileProps, __ΩTypescriptFileHeaderImportsProps, __ΩTypescriptFileHeaderProps, __ΩTypescriptFileProps } from "./typescript-file.cjs";
|
|
3
|
+
import { BuiltinFile, BuiltinFileProps, __ΩBuiltinFileProps } from "./builtin-file.cjs";
|
|
4
|
+
import { DynamicImportStatement, DynamicImportStatementProps, __ΩDynamicImportStatementProps } from "./dynamic-import-statement.cjs";
|
|
5
|
+
import { EntryFile, EntryFileProps, __ΩEntryFileProps } from "./entry-file.cjs";
|
|
6
|
+
import { RecordExpression, RecordExpressionProps, __ΩRecordExpressionProps } from "./record-expression.cjs";
|
|
7
|
+
import { TSDocReflectionClass, TSDocReflectionMethod, TSDocReflectionProperty } from "./tsdoc-reflection.cjs";
|
|
8
|
+
import { TypeScriptInterface, TypeScriptInterfaceProps, TypescriptInterfaceProperty, TypescriptInterfacePropertyProps, __ΩTypeScriptInterfaceProps, __ΩTypescriptInterfacePropertyProps } from "./typescript-interface.cjs";
|
|
9
|
+
import { ComputedRef, TypescriptObject, TypescriptObjectProperty, TypescriptObjectPropertyProps, TypescriptObjectProps, __ΩComputedRef, __ΩTypescriptObjectPropertyProps, __ΩTypescriptObjectProps } from "./typescript-object.cjs";
|
|
13
10
|
export { BuiltinFile, BuiltinFileProps, ComputedRef, DynamicImportStatement, DynamicImportStatementProps, EntryFile, EntryFileProps, RecordExpression, RecordExpressionProps, TSDoc, TSDocAlias, TSDocAttributesTags, TSDocAttributesTagsProps, TSDocDefaultValue, TSDocDefaultValueProps, TSDocDomain, TSDocExample, TSDocExampleProps, TSDocHidden, TSDocIgnore, TSDocInternal, TSDocLink, TSDocModule, TSDocModuleProps, TSDocParam, TSDocParamProps, TSDocParams, TSDocParamsProps, TSDocPermission, TSDocProps, TSDocReadonly, TSDocReflectionClass, TSDocReflectionMethod, TSDocReflectionProperty, TSDocRemarks, TSDocReturns, TSDocTag, TSDocTagProps, TSDocThrows, TSDocTitle, TypeScriptInterface, TypeScriptInterfaceProps, TypescriptFile, TypescriptFileHeader, TypescriptFileHeaderImports, TypescriptFileHeaderImportsProps, TypescriptFileHeaderProps, TypescriptFileProps, TypescriptInterfaceProperty, TypescriptInterfacePropertyProps, TypescriptObject, TypescriptObjectProperty, TypescriptObjectPropertyProps, TypescriptObjectProps, __ΩBuiltinFileProps, __ΩComputedRef, __ΩDynamicImportStatementProps, __ΩEntryFileProps, __ΩRecordExpressionProps, __ΩTSDocAttributesTagsProps, __ΩTSDocDefaultValueProps, __ΩTSDocExampleProps, __ΩTSDocModuleProps, __ΩTSDocParamProps, __ΩTSDocParamsProps, __ΩTSDocProps, __ΩTSDocTagProps, __ΩTypeScriptInterfaceProps, __ΩTypescriptFileHeaderImportsProps, __ΩTypescriptFileHeaderProps, __ΩTypescriptFileProps, __ΩTypescriptInterfacePropertyProps, __ΩTypescriptObjectPropertyProps, __ΩTypescriptObjectProps };
|
|
@@ -1,13 +1,10 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import "
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { a as __ΩTypeScriptInterfaceProps, i as TypescriptInterfacePropertyProps, n as TypeScriptInterfaceProps, o as __ΩTypescriptInterfacePropertyProps, r as TypescriptInterfaceProperty, t as TypeScriptInterface } from "../../typescript-interface-DYG0IOR-.mjs";
|
|
11
|
-
import { a as TypescriptObjectProps, c as __ΩTypescriptObjectProps, i as TypescriptObjectPropertyProps, n as TypescriptObject, o as __ΩComputedRef, r as TypescriptObjectProperty, s as __ΩTypescriptObjectPropertyProps, t as ComputedRef } from "../../typescript-object-DDrR7gcH.mjs";
|
|
12
|
-
import "../../index-DgJfEygr.mjs";
|
|
1
|
+
import { TSDoc, TSDocAlias, TSDocAttributesTags, TSDocAttributesTagsProps, TSDocDefaultValue, TSDocDefaultValueProps, TSDocDomain, TSDocExample, TSDocExampleProps, TSDocHidden, TSDocIgnore, TSDocInternal, TSDocLink, TSDocModule, TSDocModuleProps, TSDocParam, TSDocParamProps, TSDocParams, TSDocParamsProps, TSDocPermission, TSDocProps, TSDocReadonly, TSDocRemarks, TSDocReturns, TSDocTag, TSDocTagProps, TSDocThrows, TSDocTitle, __ΩTSDocAttributesTagsProps, __ΩTSDocDefaultValueProps, __ΩTSDocExampleProps, __ΩTSDocModuleProps, __ΩTSDocParamProps, __ΩTSDocParamsProps, __ΩTSDocProps, __ΩTSDocTagProps } from "./tsdoc.mjs";
|
|
2
|
+
import { TypescriptFile, TypescriptFileHeader, TypescriptFileHeaderImports, TypescriptFileHeaderImportsProps, TypescriptFileHeaderProps, TypescriptFileProps, __ΩTypescriptFileHeaderImportsProps, __ΩTypescriptFileHeaderProps, __ΩTypescriptFileProps } from "./typescript-file.mjs";
|
|
3
|
+
import { BuiltinFile, BuiltinFileProps, __ΩBuiltinFileProps } from "./builtin-file.mjs";
|
|
4
|
+
import { DynamicImportStatement, DynamicImportStatementProps, __ΩDynamicImportStatementProps } from "./dynamic-import-statement.mjs";
|
|
5
|
+
import { EntryFile, EntryFileProps, __ΩEntryFileProps } from "./entry-file.mjs";
|
|
6
|
+
import { RecordExpression, RecordExpressionProps, __ΩRecordExpressionProps } from "./record-expression.mjs";
|
|
7
|
+
import { TSDocReflectionClass, TSDocReflectionMethod, TSDocReflectionProperty } from "./tsdoc-reflection.mjs";
|
|
8
|
+
import { TypeScriptInterface, TypeScriptInterfaceProps, TypescriptInterfaceProperty, TypescriptInterfacePropertyProps, __ΩTypeScriptInterfaceProps, __ΩTypescriptInterfacePropertyProps } from "./typescript-interface.mjs";
|
|
9
|
+
import { ComputedRef, TypescriptObject, TypescriptObjectProperty, TypescriptObjectPropertyProps, TypescriptObjectProps, __ΩComputedRef, __ΩTypescriptObjectPropertyProps, __ΩTypescriptObjectProps } from "./typescript-object.mjs";
|
|
13
10
|
export { BuiltinFile, BuiltinFileProps, ComputedRef, DynamicImportStatement, DynamicImportStatementProps, EntryFile, EntryFileProps, RecordExpression, RecordExpressionProps, TSDoc, TSDocAlias, TSDocAttributesTags, TSDocAttributesTagsProps, TSDocDefaultValue, TSDocDefaultValueProps, TSDocDomain, TSDocExample, TSDocExampleProps, TSDocHidden, TSDocIgnore, TSDocInternal, TSDocLink, TSDocModule, TSDocModuleProps, TSDocParam, TSDocParamProps, TSDocParams, TSDocParamsProps, TSDocPermission, TSDocProps, TSDocReadonly, TSDocReflectionClass, TSDocReflectionMethod, TSDocReflectionProperty, TSDocRemarks, TSDocReturns, TSDocTag, TSDocTagProps, TSDocThrows, TSDocTitle, TypeScriptInterface, TypeScriptInterfaceProps, TypescriptFile, TypescriptFileHeader, TypescriptFileHeaderImports, TypescriptFileHeaderImportsProps, TypescriptFileHeaderProps, TypescriptFileProps, TypescriptInterfaceProperty, TypescriptInterfacePropertyProps, TypescriptObject, TypescriptObjectProperty, TypescriptObjectPropertyProps, TypescriptObjectProps, __ΩBuiltinFileProps, __ΩComputedRef, __ΩDynamicImportStatementProps, __ΩEntryFileProps, __ΩRecordExpressionProps, __ΩTSDocAttributesTagsProps, __ΩTSDocDefaultValueProps, __ΩTSDocExampleProps, __ΩTSDocModuleProps, __ΩTSDocParamProps, __ΩTSDocParamsProps, __ΩTSDocProps, __ΩTSDocTagProps, __ΩTypeScriptInterfaceProps, __ΩTypescriptFileHeaderImportsProps, __ΩTypescriptFileHeaderProps, __ΩTypescriptFileProps, __ΩTypescriptInterfacePropertyProps, __ΩTypescriptObjectPropertyProps, __ΩTypescriptObjectProps };
|
|
@@ -1,17 +1,11 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import "
|
|
3
|
-
import "
|
|
4
|
-
import "
|
|
5
|
-
import "
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { t as EntryFile } from "../../entry-file-Fw7DyszP.mjs";
|
|
11
|
-
import { t as RecordExpression } from "../../record-expression-BHpXe3mY.mjs";
|
|
12
|
-
import { n as TSDocReflectionMethod, r as TSDocReflectionProperty, t as TSDocReflectionClass } from "../../tsdoc-reflection-g4nQJV4z.mjs";
|
|
13
|
-
import { n as TypescriptInterfaceProperty, t as TypeScriptInterface } from "../../typescript-interface-CBaHBdis.mjs";
|
|
14
|
-
import { n as TypescriptObjectProperty, t as TypescriptObject } from "../../typescript-object-DrsEti-t.mjs";
|
|
15
|
-
import "../../components-C4MWIzKk.mjs";
|
|
1
|
+
import { TSDoc, TSDocAlias, TSDocAttributesTags, TSDocDefaultValue, TSDocDomain, TSDocExample, TSDocHidden, TSDocIgnore, TSDocInternal, TSDocLink, TSDocModule, TSDocParam, TSDocParams, TSDocPermission, TSDocReadonly, TSDocRemarks, TSDocReturns, TSDocTag, TSDocThrows, TSDocTitle } from "./tsdoc.mjs";
|
|
2
|
+
import { TypescriptFile, TypescriptFileHeader, TypescriptFileHeaderImports } from "./typescript-file.mjs";
|
|
3
|
+
import { BuiltinFile } from "./builtin-file.mjs";
|
|
4
|
+
import { DynamicImportStatement } from "./dynamic-import-statement.mjs";
|
|
5
|
+
import { EntryFile } from "./entry-file.mjs";
|
|
6
|
+
import { RecordExpression } from "./record-expression.mjs";
|
|
7
|
+
import { TSDocReflectionClass, TSDocReflectionMethod, TSDocReflectionProperty } from "./tsdoc-reflection.mjs";
|
|
8
|
+
import { TypeScriptInterface, TypescriptInterfaceProperty } from "./typescript-interface.mjs";
|
|
9
|
+
import { TypescriptObject, TypescriptObjectProperty } from "./typescript-object.mjs";
|
|
16
10
|
|
|
17
11
|
export { BuiltinFile, DynamicImportStatement, EntryFile, RecordExpression, TSDoc, TSDocAlias, TSDocAttributesTags, TSDocDefaultValue, TSDocDomain, TSDocExample, TSDocHidden, TSDocIgnore, TSDocInternal, TSDocLink, TSDocModule, TSDocParam, TSDocParams, TSDocPermission, TSDocReadonly, TSDocReflectionClass, TSDocReflectionMethod, TSDocReflectionProperty, TSDocRemarks, TSDocReturns, TSDocTag, TSDocThrows, TSDocTitle, TypeScriptInterface, TypescriptFile, TypescriptFileHeader, TypescriptFileHeaderImports, TypescriptInterfaceProperty, TypescriptObject, TypescriptObjectProperty };
|
|
@@ -1,3 +1,12 @@
|
|
|
1
|
-
const
|
|
1
|
+
const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
|
|
2
|
+
let __alloy_js_core = require("@alloy-js/core");
|
|
2
3
|
|
|
3
|
-
|
|
4
|
+
//#region src/typescript/components/record-expression.tsx
|
|
5
|
+
function RecordExpression({ elementType }) {
|
|
6
|
+
return __alloy_js_core.code`
|
|
7
|
+
Record<string, ${elementType}>
|
|
8
|
+
`;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
//#endregion
|
|
12
|
+
exports.RecordExpression = RecordExpression;
|
|
@@ -1,2 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { Children } from "@alloy-js/core";
|
|
2
|
+
|
|
3
|
+
//#region src/typescript/components/record-expression.d.ts
|
|
4
|
+
interface RecordExpressionProps {
|
|
5
|
+
elementType: Children;
|
|
6
|
+
}
|
|
7
|
+
declare function RecordExpression({
|
|
8
|
+
elementType
|
|
9
|
+
}: RecordExpressionProps): Children;
|
|
10
|
+
declare type __ΩRecordExpressionProps = any[];
|
|
11
|
+
//#endregion
|
|
12
|
+
export { RecordExpression, RecordExpressionProps, __ΩRecordExpressionProps };
|
|
13
|
+
//# sourceMappingURL=record-expression.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"record-expression.d.cts","names":[],"sources":["../../../src/typescript/components/record-expression.tsx"],"sourcesContent":[],"mappings":";;;UAoBiB,qBAAA;eACF;AADf;AAIgB,iBAAA,gBAAA,CAAgB;EAAA;AAAA,CAAA,EAAkB,qBAAlB,CAAA,EAAuC,QAAvC;AAAG,wCAAA,GAAA,EAAA"}
|
|
@@ -1,2 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { Children } from "@alloy-js/core";
|
|
2
|
+
|
|
3
|
+
//#region src/typescript/components/record-expression.d.ts
|
|
4
|
+
interface RecordExpressionProps {
|
|
5
|
+
elementType: Children;
|
|
6
|
+
}
|
|
7
|
+
declare function RecordExpression({
|
|
8
|
+
elementType
|
|
9
|
+
}: RecordExpressionProps): Children;
|
|
10
|
+
declare type __ΩRecordExpressionProps = any[];
|
|
11
|
+
//#endregion
|
|
12
|
+
export { RecordExpression, RecordExpressionProps, __ΩRecordExpressionProps };
|
|
13
|
+
//# sourceMappingURL=record-expression.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"record-expression.d.mts","names":[],"sources":["../../../src/typescript/components/record-expression.tsx"],"sourcesContent":[],"mappings":";;;UAoBiB,qBAAA;eACF;AADf;AAIgB,iBAAA,gBAAA,CAAgB;EAAA;AAAA,CAAA,EAAkB,qBAAlB,CAAA,EAAuC,QAAvC;AAAG,wCAAA,GAAA,EAAA"}
|
|
@@ -1,3 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { code } from "@alloy-js/core";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
//#region src/typescript/components/record-expression.tsx
|
|
4
|
+
function RecordExpression({ elementType }) {
|
|
5
|
+
return code`
|
|
6
|
+
Record<string, ${elementType}>
|
|
7
|
+
`;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
//#endregion
|
|
11
|
+
export { RecordExpression };
|
|
12
|
+
//# sourceMappingURL=record-expression.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"record-expression.mjs","names":["code","RecordExpression","elementType"],"sources":["../../../src/typescript/components/record-expression.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 { Children, code } from \"@alloy-js/core\";\n\nexport interface RecordExpressionProps {\n elementType: Children;\n}\n\nexport function RecordExpression({ elementType }: RecordExpressionProps) {\n return code`\n Record<string, ${elementType}>\n `;\n}\n"],"mappings":""}
|