@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
package/dist/tsdoc-BufL8muf.cjs
DELETED
|
@@ -1,585 +0,0 @@
|
|
|
1
|
-
const require_chunk = require('./chunk-CbDLau6x.cjs');
|
|
2
|
-
const require_context = require('./context-DNdlL_gp.cjs');
|
|
3
|
-
let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
|
|
4
|
-
let __alloy_js_core = require("@alloy-js/core");
|
|
5
|
-
let __powerlines_deepkit_utilities = require("@powerlines/deepkit/utilities");
|
|
6
|
-
let __stryke_type_checks_is_undefined = require("@stryke/type-checks/is-undefined");
|
|
7
|
-
let __stryke_type_checks_is_set_string = require("@stryke/type-checks/is-set-string");
|
|
8
|
-
|
|
9
|
-
//#region src/typescript/components/tsdoc.tsx
|
|
10
|
-
/**
|
|
11
|
-
* Generates a TypeScript interface for the given reflection class.
|
|
12
|
-
*/
|
|
13
|
-
function TSDoc(props) {
|
|
14
|
-
const [{ children, heading }] = (0, __alloy_js_core.splitProps)(props, ["children", "heading"]);
|
|
15
|
-
return [
|
|
16
|
-
"/**",
|
|
17
|
-
(0, __alloy_js_core_jsx_runtime.createIntrinsic)("align", {
|
|
18
|
-
string: " * ",
|
|
19
|
-
get children() {
|
|
20
|
-
return [
|
|
21
|
-
(0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
|
|
22
|
-
(0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
|
|
23
|
-
get when() {
|
|
24
|
-
return !(0, __stryke_type_checks_is_undefined.isUndefined)(heading);
|
|
25
|
-
},
|
|
26
|
-
get children() {
|
|
27
|
-
return [
|
|
28
|
-
heading,
|
|
29
|
-
(0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
|
|
30
|
-
(0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
|
|
31
|
-
get when() {
|
|
32
|
-
return (0, __alloy_js_core_jsx_runtime.memo)(() => !!!(0, __stryke_type_checks_is_undefined.isUndefined)(children))() && (0, __alloy_js_core.childrenArray)(() => children).length > 0;
|
|
33
|
-
},
|
|
34
|
-
get children() {
|
|
35
|
-
return (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {});
|
|
36
|
-
}
|
|
37
|
-
})
|
|
38
|
-
];
|
|
39
|
-
}
|
|
40
|
-
}),
|
|
41
|
-
(0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
|
|
42
|
-
get when() {
|
|
43
|
-
return (0, __alloy_js_core_jsx_runtime.memo)(() => !!!(0, __stryke_type_checks_is_undefined.isUndefined)(children))() && (0, __alloy_js_core.childrenArray)(() => children).length > 0;
|
|
44
|
-
},
|
|
45
|
-
get children() {
|
|
46
|
-
return (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.List, { get children() {
|
|
47
|
-
return (0, __alloy_js_core.childrenArray)(() => children);
|
|
48
|
-
} });
|
|
49
|
-
}
|
|
50
|
-
})
|
|
51
|
-
];
|
|
52
|
-
}
|
|
53
|
-
}),
|
|
54
|
-
(0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
|
|
55
|
-
` */`,
|
|
56
|
-
(0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {})
|
|
57
|
-
];
|
|
58
|
-
}
|
|
59
|
-
/**
|
|
60
|
-
* Create a TSDoc `@<props.tag>` tag.
|
|
61
|
-
*/
|
|
62
|
-
function TSDocTag(props) {
|
|
63
|
-
const [{ children, tag }] = (0, __alloy_js_core.splitProps)(props, ["children", "tag"]);
|
|
64
|
-
return [
|
|
65
|
-
`@${tag} `,
|
|
66
|
-
(0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
|
|
67
|
-
get when() {
|
|
68
|
-
return Boolean(children);
|
|
69
|
-
},
|
|
70
|
-
get children() {
|
|
71
|
-
return (0, __alloy_js_core_jsx_runtime.createIntrinsic)("align", {
|
|
72
|
-
width: 2,
|
|
73
|
-
get children() {
|
|
74
|
-
return (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Prose, { children });
|
|
75
|
-
}
|
|
76
|
-
});
|
|
77
|
-
}
|
|
78
|
-
}),
|
|
79
|
-
(0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {})
|
|
80
|
-
];
|
|
81
|
-
}
|
|
82
|
-
/**
|
|
83
|
-
* A component that creates a TSDoc block with `@param` tags for each parameter.
|
|
84
|
-
*/
|
|
85
|
-
function TSDocParams(props) {
|
|
86
|
-
return (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.For, {
|
|
87
|
-
each: normalizeParametersForDoc(props.parameters),
|
|
88
|
-
children: (param) => (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocParam, {
|
|
89
|
-
get name() {
|
|
90
|
-
return param.name;
|
|
91
|
-
},
|
|
92
|
-
get optional() {
|
|
93
|
-
return param.optional;
|
|
94
|
-
},
|
|
95
|
-
get children() {
|
|
96
|
-
return param.doc;
|
|
97
|
-
}
|
|
98
|
-
})
|
|
99
|
-
});
|
|
100
|
-
}
|
|
101
|
-
function normalizeParametersForDoc(parameters) {
|
|
102
|
-
if (parameters.some((p) => typeof p === "string")) return [];
|
|
103
|
-
return parameters;
|
|
104
|
-
}
|
|
105
|
-
/**
|
|
106
|
-
* Create a TSDoc `@title` tag.
|
|
107
|
-
*/
|
|
108
|
-
function TSDocTitle(props) {
|
|
109
|
-
const [{ children }, rest] = (0, __alloy_js_core.splitProps)(props, ["children"]);
|
|
110
|
-
return (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocTag, (0, __alloy_js_core_jsx_runtime.mergeProps)(rest, {
|
|
111
|
-
tag: "title",
|
|
112
|
-
children
|
|
113
|
-
}));
|
|
114
|
-
}
|
|
115
|
-
/**
|
|
116
|
-
* Create a TSDoc `@domain` tag.
|
|
117
|
-
*/
|
|
118
|
-
function TSDocDomain(props) {
|
|
119
|
-
const [{ children }, rest] = (0, __alloy_js_core.splitProps)(props, ["children"]);
|
|
120
|
-
return (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocTag, (0, __alloy_js_core_jsx_runtime.mergeProps)(rest, {
|
|
121
|
-
tag: "domain",
|
|
122
|
-
children
|
|
123
|
-
}));
|
|
124
|
-
}
|
|
125
|
-
/**
|
|
126
|
-
* Create a TSDoc `@alias` tag.
|
|
127
|
-
*/
|
|
128
|
-
function TSDocAlias(props) {
|
|
129
|
-
const [{ children }, rest] = (0, __alloy_js_core.splitProps)(props, ["children"]);
|
|
130
|
-
return (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocTag, (0, __alloy_js_core_jsx_runtime.mergeProps)(rest, {
|
|
131
|
-
tag: "alias",
|
|
132
|
-
children
|
|
133
|
-
}));
|
|
134
|
-
}
|
|
135
|
-
/**
|
|
136
|
-
* Create a TSDoc `@permission` tag.
|
|
137
|
-
*/
|
|
138
|
-
function TSDocPermission(props) {
|
|
139
|
-
const [{ children }, rest] = (0, __alloy_js_core.splitProps)(props, ["children"]);
|
|
140
|
-
return (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocTag, (0, __alloy_js_core_jsx_runtime.mergeProps)(rest, {
|
|
141
|
-
tag: "permission",
|
|
142
|
-
children
|
|
143
|
-
}));
|
|
144
|
-
}
|
|
145
|
-
/**
|
|
146
|
-
* Create a TSDoc `@defaultValue` tag.
|
|
147
|
-
*/
|
|
148
|
-
function TSDocDefaultValue(props) {
|
|
149
|
-
const [{ type, defaultValue }] = (0, __alloy_js_core.splitProps)(props, ["type", "defaultValue"]);
|
|
150
|
-
return [
|
|
151
|
-
"@defaultValue ",
|
|
152
|
-
(0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
|
|
153
|
-
get when() {
|
|
154
|
-
return !(0, __stryke_type_checks_is_undefined.isUndefined)(defaultValue);
|
|
155
|
-
},
|
|
156
|
-
get children() {
|
|
157
|
-
return (0, __alloy_js_core_jsx_runtime.createIntrinsic)("align", {
|
|
158
|
-
width: 2,
|
|
159
|
-
get children() {
|
|
160
|
-
return (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Prose, { get children() {
|
|
161
|
-
return (0, __powerlines_deepkit_utilities.stringifyDefaultValue)(type, defaultValue);
|
|
162
|
-
} });
|
|
163
|
-
}
|
|
164
|
-
});
|
|
165
|
-
}
|
|
166
|
-
}),
|
|
167
|
-
(0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {})
|
|
168
|
-
];
|
|
169
|
-
}
|
|
170
|
-
/**
|
|
171
|
-
* Create a TSDoc `@remarks` tag.
|
|
172
|
-
*/
|
|
173
|
-
function TSDocRemarks(props) {
|
|
174
|
-
return [
|
|
175
|
-
"@remarks ",
|
|
176
|
-
(0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
|
|
177
|
-
(0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.List, {
|
|
178
|
-
hardline: true,
|
|
179
|
-
get children() {
|
|
180
|
-
return (0, __alloy_js_core.childrenArray)(() => props.children);
|
|
181
|
-
}
|
|
182
|
-
})
|
|
183
|
-
];
|
|
184
|
-
}
|
|
185
|
-
/**
|
|
186
|
-
* Create a TSDoc `@see` tag.
|
|
187
|
-
*/
|
|
188
|
-
function TSDocLink(props) {
|
|
189
|
-
return (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocTag, (0, __alloy_js_core_jsx_runtime.mergeProps)(props, { tag: "see" }));
|
|
190
|
-
}
|
|
191
|
-
/**
|
|
192
|
-
* Create a TSDoc `@example` tag.
|
|
193
|
-
*/
|
|
194
|
-
function TSDocExample(props) {
|
|
195
|
-
const [{ tsx, fenced = true, language, children }] = (0, __alloy_js_core.splitProps)(props, [
|
|
196
|
-
"tsx",
|
|
197
|
-
"fenced",
|
|
198
|
-
"language",
|
|
199
|
-
"children"
|
|
200
|
-
]);
|
|
201
|
-
return [
|
|
202
|
-
"@example ",
|
|
203
|
-
(0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
|
|
204
|
-
(0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
|
|
205
|
-
when: fenced,
|
|
206
|
-
get children() {
|
|
207
|
-
return [
|
|
208
|
-
"```",
|
|
209
|
-
language || (tsx ? "tsx" : "ts"),
|
|
210
|
-
(0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {})
|
|
211
|
-
];
|
|
212
|
-
}
|
|
213
|
-
}),
|
|
214
|
-
children,
|
|
215
|
-
(0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
|
|
216
|
-
when: fenced,
|
|
217
|
-
get children() {
|
|
218
|
-
return [(0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}), "```"];
|
|
219
|
-
}
|
|
220
|
-
})
|
|
221
|
-
];
|
|
222
|
-
}
|
|
223
|
-
/**
|
|
224
|
-
* Create a TSDoc `@readonly` tag.
|
|
225
|
-
*/
|
|
226
|
-
function TSDocReadonly() {
|
|
227
|
-
return (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocTag, { tag: "readonly" });
|
|
228
|
-
}
|
|
229
|
-
/**
|
|
230
|
-
* Create a TSDoc `@internal` tag.
|
|
231
|
-
*/
|
|
232
|
-
function TSDocInternal() {
|
|
233
|
-
return (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocTag, { tag: "internal" });
|
|
234
|
-
}
|
|
235
|
-
/**
|
|
236
|
-
* Create a TSDoc `@ignore` tag.
|
|
237
|
-
*/
|
|
238
|
-
function TSDocIgnore() {
|
|
239
|
-
return (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocTag, { tag: "ignore" });
|
|
240
|
-
}
|
|
241
|
-
/**
|
|
242
|
-
* Create a TSDoc `@hidden` tag.
|
|
243
|
-
*/
|
|
244
|
-
function TSDocHidden() {
|
|
245
|
-
return (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocTag, { tag: "hidden" });
|
|
246
|
-
}
|
|
247
|
-
/**
|
|
248
|
-
* Generates a TypeScript interface property for the given reflection class.
|
|
249
|
-
*/
|
|
250
|
-
function TSDocAttributesTags(props) {
|
|
251
|
-
const [{ type, title, alias, permission, domain, readonly, internal, ignore, hidden, defaultValue }] = (0, __alloy_js_core.splitProps)(props, [
|
|
252
|
-
"type",
|
|
253
|
-
"title",
|
|
254
|
-
"alias",
|
|
255
|
-
"permission",
|
|
256
|
-
"domain",
|
|
257
|
-
"readonly",
|
|
258
|
-
"internal",
|
|
259
|
-
"ignore",
|
|
260
|
-
"hidden",
|
|
261
|
-
"defaultValue"
|
|
262
|
-
]);
|
|
263
|
-
return [
|
|
264
|
-
(0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
|
|
265
|
-
get when() {
|
|
266
|
-
return (0, __stryke_type_checks_is_set_string.isSetString)(title?.trim());
|
|
267
|
-
},
|
|
268
|
-
get children() {
|
|
269
|
-
return (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocTitle, { children: title });
|
|
270
|
-
}
|
|
271
|
-
}),
|
|
272
|
-
(0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
|
|
273
|
-
get when() {
|
|
274
|
-
return (0, __alloy_js_core_jsx_runtime.memo)(() => !!(!(0, __stryke_type_checks_is_undefined.isUndefined)(alias) && alias.length > 0))() && alias.some((a) => (0, __stryke_type_checks_is_set_string.isSetString)(a?.trim()));
|
|
275
|
-
},
|
|
276
|
-
get children() {
|
|
277
|
-
return (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.For, {
|
|
278
|
-
get each() {
|
|
279
|
-
return alias?.filter((a) => (0, __stryke_type_checks_is_set_string.isSetString)(a?.trim())) ?? [];
|
|
280
|
-
},
|
|
281
|
-
children: (alias$1) => (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocAlias, { children: alias$1 })
|
|
282
|
-
});
|
|
283
|
-
}
|
|
284
|
-
}),
|
|
285
|
-
(0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
|
|
286
|
-
get when() {
|
|
287
|
-
return (0, __stryke_type_checks_is_set_string.isSetString)(domain?.trim());
|
|
288
|
-
},
|
|
289
|
-
get children() {
|
|
290
|
-
return (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocDomain, { children: domain });
|
|
291
|
-
}
|
|
292
|
-
}),
|
|
293
|
-
(0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
|
|
294
|
-
get when() {
|
|
295
|
-
return (0, __alloy_js_core_jsx_runtime.memo)(() => !!(!(0, __stryke_type_checks_is_undefined.isUndefined)(permission) && permission.length > 0))() && permission.some((p) => (0, __stryke_type_checks_is_set_string.isSetString)(p?.trim()));
|
|
296
|
-
},
|
|
297
|
-
get children() {
|
|
298
|
-
return (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.For, {
|
|
299
|
-
get each() {
|
|
300
|
-
return permission?.filter((p) => (0, __stryke_type_checks_is_set_string.isSetString)(p?.trim())) ?? [];
|
|
301
|
-
},
|
|
302
|
-
children: (permission$1) => (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocPermission, { children: permission$1 })
|
|
303
|
-
});
|
|
304
|
-
}
|
|
305
|
-
}),
|
|
306
|
-
(0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
|
|
307
|
-
when: readonly === true,
|
|
308
|
-
get children() {
|
|
309
|
-
return (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocReadonly, {});
|
|
310
|
-
}
|
|
311
|
-
}),
|
|
312
|
-
(0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
|
|
313
|
-
when: internal === true,
|
|
314
|
-
get children() {
|
|
315
|
-
return (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocInternal, {});
|
|
316
|
-
}
|
|
317
|
-
}),
|
|
318
|
-
(0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
|
|
319
|
-
when: ignore === true,
|
|
320
|
-
get children() {
|
|
321
|
-
return (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocIgnore, {});
|
|
322
|
-
}
|
|
323
|
-
}),
|
|
324
|
-
(0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
|
|
325
|
-
when: hidden === true,
|
|
326
|
-
get children() {
|
|
327
|
-
return (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocHidden, {});
|
|
328
|
-
}
|
|
329
|
-
}),
|
|
330
|
-
(0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
|
|
331
|
-
get when() {
|
|
332
|
-
return (0, __alloy_js_core_jsx_runtime.memo)(() => !!!(0, __stryke_type_checks_is_undefined.isUndefined)(type))() && !(0, __stryke_type_checks_is_undefined.isUndefined)(defaultValue);
|
|
333
|
-
},
|
|
334
|
-
get children() {
|
|
335
|
-
return (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocDefaultValue, {
|
|
336
|
-
type,
|
|
337
|
-
defaultValue
|
|
338
|
-
});
|
|
339
|
-
}
|
|
340
|
-
})
|
|
341
|
-
];
|
|
342
|
-
}
|
|
343
|
-
/**
|
|
344
|
-
* Create a TSDoc parameter set off with `@param`.
|
|
345
|
-
*/
|
|
346
|
-
function TSDocParam(props) {
|
|
347
|
-
return [
|
|
348
|
-
"@param ",
|
|
349
|
-
(0, __alloy_js_core_jsx_runtime.createComponent)(TSDocParamName, {
|
|
350
|
-
get name() {
|
|
351
|
-
return props.name;
|
|
352
|
-
},
|
|
353
|
-
get optional() {
|
|
354
|
-
return props.optional;
|
|
355
|
-
},
|
|
356
|
-
get defaultValue() {
|
|
357
|
-
return props.defaultValue;
|
|
358
|
-
}
|
|
359
|
-
}),
|
|
360
|
-
(0, __alloy_js_core_jsx_runtime.createComponent)(TSDocParamDescription, { get children() {
|
|
361
|
-
return props.children;
|
|
362
|
-
} })
|
|
363
|
-
];
|
|
364
|
-
}
|
|
365
|
-
function TSDocParamName(props) {
|
|
366
|
-
return [
|
|
367
|
-
(0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
|
|
368
|
-
get when() {
|
|
369
|
-
return props.optional;
|
|
370
|
-
},
|
|
371
|
-
children: "["
|
|
372
|
-
}),
|
|
373
|
-
(0, __alloy_js_core_jsx_runtime.memo)(() => props.name),
|
|
374
|
-
(0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
|
|
375
|
-
get when() {
|
|
376
|
-
return Boolean(props.defaultValue);
|
|
377
|
-
},
|
|
378
|
-
get children() {
|
|
379
|
-
return ["=", (0, __alloy_js_core_jsx_runtime.memo)(() => props.defaultValue)];
|
|
380
|
-
}
|
|
381
|
-
}),
|
|
382
|
-
(0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
|
|
383
|
-
get when() {
|
|
384
|
-
return props.optional;
|
|
385
|
-
},
|
|
386
|
-
children: "]"
|
|
387
|
-
})
|
|
388
|
-
];
|
|
389
|
-
}
|
|
390
|
-
function TSDocParamDescription(props) {
|
|
391
|
-
return (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
|
|
392
|
-
get when() {
|
|
393
|
-
return Boolean(props.children);
|
|
394
|
-
},
|
|
395
|
-
get children() {
|
|
396
|
-
return [" - ", (0, __alloy_js_core_jsx_runtime.createIntrinsic)("align", {
|
|
397
|
-
width: 2,
|
|
398
|
-
get children() {
|
|
399
|
-
return (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Prose, { get children() {
|
|
400
|
-
return props.children;
|
|
401
|
-
} });
|
|
402
|
-
}
|
|
403
|
-
})];
|
|
404
|
-
}
|
|
405
|
-
});
|
|
406
|
-
}
|
|
407
|
-
/**
|
|
408
|
-
* Create a TSDoc `@returns` tag.
|
|
409
|
-
*/
|
|
410
|
-
function TSDocReturns(props) {
|
|
411
|
-
return (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocTag, (0, __alloy_js_core_jsx_runtime.mergeProps)(props, { tag: "returns" }));
|
|
412
|
-
}
|
|
413
|
-
/**
|
|
414
|
-
* Create a TSDoc `@throws` tag.
|
|
415
|
-
*/
|
|
416
|
-
function TSDocThrows(props) {
|
|
417
|
-
return (0, __alloy_js_core_jsx_runtime.createComponent)(TSDocTag, (0, __alloy_js_core_jsx_runtime.mergeProps)(props, { tag: "throws" }));
|
|
418
|
-
}
|
|
419
|
-
/**
|
|
420
|
-
* Generates a TSDoc `@module` tag for the given module name.
|
|
421
|
-
*/
|
|
422
|
-
function TSDocModule(props) {
|
|
423
|
-
const [{ children, name, prefix }] = (0, __alloy_js_core.splitProps)(props, [
|
|
424
|
-
"children",
|
|
425
|
-
"name",
|
|
426
|
-
"prefix"
|
|
427
|
-
]);
|
|
428
|
-
const context = require_context.usePowerlinesSafe();
|
|
429
|
-
return [
|
|
430
|
-
"/**",
|
|
431
|
-
(0, __alloy_js_core_jsx_runtime.createIntrinsic)("align", {
|
|
432
|
-
string: " * ",
|
|
433
|
-
get children() {
|
|
434
|
-
return [
|
|
435
|
-
(0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
|
|
436
|
-
(0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
|
|
437
|
-
get when() {
|
|
438
|
-
return Boolean(children);
|
|
439
|
-
},
|
|
440
|
-
get children() {
|
|
441
|
-
return [
|
|
442
|
-
(0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.List, {
|
|
443
|
-
hardline: true,
|
|
444
|
-
get children() {
|
|
445
|
-
return (0, __alloy_js_core.childrenArray)(() => children);
|
|
446
|
-
}
|
|
447
|
-
}),
|
|
448
|
-
(0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
|
|
449
|
-
(0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {})
|
|
450
|
-
];
|
|
451
|
-
}
|
|
452
|
-
}),
|
|
453
|
-
"@module ",
|
|
454
|
-
(0, __alloy_js_core_jsx_runtime.memo)(() => prefix || context?.config?.framework || "powerlines"),
|
|
455
|
-
":",
|
|
456
|
-
name
|
|
457
|
-
];
|
|
458
|
-
}
|
|
459
|
-
}),
|
|
460
|
-
(0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
|
|
461
|
-
` */`
|
|
462
|
-
];
|
|
463
|
-
}
|
|
464
|
-
|
|
465
|
-
//#endregion
|
|
466
|
-
Object.defineProperty(exports, 'TSDoc', {
|
|
467
|
-
enumerable: true,
|
|
468
|
-
get: function () {
|
|
469
|
-
return TSDoc;
|
|
470
|
-
}
|
|
471
|
-
});
|
|
472
|
-
Object.defineProperty(exports, 'TSDocAlias', {
|
|
473
|
-
enumerable: true,
|
|
474
|
-
get: function () {
|
|
475
|
-
return TSDocAlias;
|
|
476
|
-
}
|
|
477
|
-
});
|
|
478
|
-
Object.defineProperty(exports, 'TSDocAttributesTags', {
|
|
479
|
-
enumerable: true,
|
|
480
|
-
get: function () {
|
|
481
|
-
return TSDocAttributesTags;
|
|
482
|
-
}
|
|
483
|
-
});
|
|
484
|
-
Object.defineProperty(exports, 'TSDocDefaultValue', {
|
|
485
|
-
enumerable: true,
|
|
486
|
-
get: function () {
|
|
487
|
-
return TSDocDefaultValue;
|
|
488
|
-
}
|
|
489
|
-
});
|
|
490
|
-
Object.defineProperty(exports, 'TSDocDomain', {
|
|
491
|
-
enumerable: true,
|
|
492
|
-
get: function () {
|
|
493
|
-
return TSDocDomain;
|
|
494
|
-
}
|
|
495
|
-
});
|
|
496
|
-
Object.defineProperty(exports, 'TSDocExample', {
|
|
497
|
-
enumerable: true,
|
|
498
|
-
get: function () {
|
|
499
|
-
return TSDocExample;
|
|
500
|
-
}
|
|
501
|
-
});
|
|
502
|
-
Object.defineProperty(exports, 'TSDocHidden', {
|
|
503
|
-
enumerable: true,
|
|
504
|
-
get: function () {
|
|
505
|
-
return TSDocHidden;
|
|
506
|
-
}
|
|
507
|
-
});
|
|
508
|
-
Object.defineProperty(exports, 'TSDocIgnore', {
|
|
509
|
-
enumerable: true,
|
|
510
|
-
get: function () {
|
|
511
|
-
return TSDocIgnore;
|
|
512
|
-
}
|
|
513
|
-
});
|
|
514
|
-
Object.defineProperty(exports, 'TSDocInternal', {
|
|
515
|
-
enumerable: true,
|
|
516
|
-
get: function () {
|
|
517
|
-
return TSDocInternal;
|
|
518
|
-
}
|
|
519
|
-
});
|
|
520
|
-
Object.defineProperty(exports, 'TSDocLink', {
|
|
521
|
-
enumerable: true,
|
|
522
|
-
get: function () {
|
|
523
|
-
return TSDocLink;
|
|
524
|
-
}
|
|
525
|
-
});
|
|
526
|
-
Object.defineProperty(exports, 'TSDocModule', {
|
|
527
|
-
enumerable: true,
|
|
528
|
-
get: function () {
|
|
529
|
-
return TSDocModule;
|
|
530
|
-
}
|
|
531
|
-
});
|
|
532
|
-
Object.defineProperty(exports, 'TSDocParam', {
|
|
533
|
-
enumerable: true,
|
|
534
|
-
get: function () {
|
|
535
|
-
return TSDocParam;
|
|
536
|
-
}
|
|
537
|
-
});
|
|
538
|
-
Object.defineProperty(exports, 'TSDocParams', {
|
|
539
|
-
enumerable: true,
|
|
540
|
-
get: function () {
|
|
541
|
-
return TSDocParams;
|
|
542
|
-
}
|
|
543
|
-
});
|
|
544
|
-
Object.defineProperty(exports, 'TSDocPermission', {
|
|
545
|
-
enumerable: true,
|
|
546
|
-
get: function () {
|
|
547
|
-
return TSDocPermission;
|
|
548
|
-
}
|
|
549
|
-
});
|
|
550
|
-
Object.defineProperty(exports, 'TSDocReadonly', {
|
|
551
|
-
enumerable: true,
|
|
552
|
-
get: function () {
|
|
553
|
-
return TSDocReadonly;
|
|
554
|
-
}
|
|
555
|
-
});
|
|
556
|
-
Object.defineProperty(exports, 'TSDocRemarks', {
|
|
557
|
-
enumerable: true,
|
|
558
|
-
get: function () {
|
|
559
|
-
return TSDocRemarks;
|
|
560
|
-
}
|
|
561
|
-
});
|
|
562
|
-
Object.defineProperty(exports, 'TSDocReturns', {
|
|
563
|
-
enumerable: true,
|
|
564
|
-
get: function () {
|
|
565
|
-
return TSDocReturns;
|
|
566
|
-
}
|
|
567
|
-
});
|
|
568
|
-
Object.defineProperty(exports, 'TSDocTag', {
|
|
569
|
-
enumerable: true,
|
|
570
|
-
get: function () {
|
|
571
|
-
return TSDocTag;
|
|
572
|
-
}
|
|
573
|
-
});
|
|
574
|
-
Object.defineProperty(exports, 'TSDocThrows', {
|
|
575
|
-
enumerable: true,
|
|
576
|
-
get: function () {
|
|
577
|
-
return TSDocThrows;
|
|
578
|
-
}
|
|
579
|
-
});
|
|
580
|
-
Object.defineProperty(exports, 'TSDocTitle', {
|
|
581
|
-
enumerable: true,
|
|
582
|
-
get: function () {
|
|
583
|
-
return TSDocTitle;
|
|
584
|
-
}
|
|
585
|
-
});
|