@powerlines/plugin-alloy 0.19.13 → 0.19.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/builtin-file-0k9DccCv.cjs +67 -0
- package/dist/builtin-file-DcLp9sck.d.mts +35 -0
- package/dist/builtin-file-DcLp9sck.d.mts.map +1 -0
- package/dist/builtin-file-DtkZ-2Hs.d.cts +35 -0
- package/dist/builtin-file-DtkZ-2Hs.d.cts.map +1 -0
- package/dist/builtin-file-Ie_jPokg.mjs +62 -0
- package/dist/builtin-file-Ie_jPokg.mjs.map +1 -0
- package/dist/builtin-file-MrUfX3YE.d.cts +35 -0
- package/dist/builtin-file-MrUfX3YE.d.cts.map +1 -0
- package/dist/builtin-file-RXdRpQs-.d.mts +35 -0
- package/dist/builtin-file-RXdRpQs-.d.mts.map +1 -0
- package/dist/capnp-CRMDa2Ok.d.mts +88 -0
- package/dist/capnp-CRMDa2Ok.d.mts.map +1 -0
- package/dist/capnp-ClfqI-5t.cjs +356 -0
- package/dist/capnp-CnQcwo0s.mjs +260 -0
- package/dist/capnp-CnQcwo0s.mjs.map +1 -0
- package/dist/capnp-YnGBPkLK.d.cts +88 -0
- package/dist/capnp-YnGBPkLK.d.cts.map +1 -0
- package/dist/{_virtual/rolldown_runtime.cjs → chunk-CbDLau6x.cjs} +6 -1
- package/dist/components-B0evB5xd.cjs +0 -0
- package/dist/components-BNK9p5AE.cjs +0 -0
- package/dist/components-C_Rnle_h.mjs +1 -0
- package/dist/components-CpjG2zC9.mjs +1 -0
- package/dist/components-CrWk5KiP.mjs +1 -0
- package/dist/components-CyQi7RHT.mjs +1 -0
- package/dist/components-DPKSrvP-.cjs +0 -0
- package/dist/components-IRVnipN0.d.cts +143 -0
- package/dist/components-IRVnipN0.d.cts.map +1 -0
- package/dist/components-ISRFDWTF.cjs +0 -0
- package/dist/components-oHSM7vmp.d.mts +143 -0
- package/dist/components-oHSM7vmp.d.mts.map +1 -0
- package/dist/context--KBspFnw.cjs +79 -0
- package/dist/context-Du_bVzRZ.d.mts +67 -0
- package/dist/context-Du_bVzRZ.d.mts.map +1 -0
- package/dist/context-Gqs3Ru42.d.cts +67 -0
- package/dist/context-Gqs3Ru42.d.cts.map +1 -0
- package/dist/context-e2kZWEFW.mjs +51 -0
- package/dist/context-e2kZWEFW.mjs.map +1 -0
- package/dist/contexts-DezKayEz.cjs +0 -0
- package/dist/contexts-J643Nrrt.cjs +0 -0
- package/dist/contexts-_jq-yJQG.mjs +1 -0
- package/dist/contexts-juWSyBfb.mjs +1 -0
- package/dist/core/components/index.cjs +11 -6
- package/dist/core/components/index.d.cts +6 -3
- package/dist/core/components/index.d.mts +6 -3
- package/dist/core/components/index.mjs +8 -3
- package/dist/core/components/output.cjs +2 -32
- package/dist/core/components/output.d.cts +2 -22
- package/dist/core/components/output.d.mts +2 -22
- package/dist/core/components/output.mjs +1 -30
- package/dist/core/components/single-line-comment.cjs +2 -21
- package/dist/core/components/single-line-comment.d.cts +2 -21
- package/dist/core/components/single-line-comment.d.mts +2 -21
- package/dist/core/components/single-line-comment.mjs +1 -19
- package/dist/core/components/source-file.cjs +6 -63
- package/dist/core/components/source-file.d.cts +2 -31
- package/dist/core/components/source-file.d.mts +2 -31
- package/dist/core/components/source-file.mjs +5 -60
- package/dist/core/contexts/context.cjs +7 -53
- package/dist/core/contexts/context.d.cts +1 -65
- package/dist/core/contexts/context.d.mts +1 -65
- package/dist/core/contexts/context.mjs +2 -48
- package/dist/core/contexts/index.cjs +17 -15
- package/dist/core/contexts/index.d.cts +4 -2
- package/dist/core/contexts/index.d.mts +4 -2
- package/dist/core/contexts/index.mjs +4 -2
- package/dist/core/contexts/reflection.cjs +9 -67
- package/dist/core/contexts/reflection.d.cts +2 -51
- package/dist/core/contexts/reflection.d.mts +2 -51
- package/dist/core/contexts/reflection.mjs +1 -58
- package/dist/core/index.cjs +24 -23
- package/dist/core/index.d.cts +8 -7
- package/dist/core/index.d.mts +8 -7
- package/dist/core/index.mjs +8 -7
- package/dist/create-builtin-BiKyN2s2.cjs +24 -0
- package/dist/create-builtin-DFiWd6Zc.d.cts +16 -0
- package/dist/create-builtin-DFiWd6Zc.d.cts.map +1 -0
- package/dist/create-builtin-DQuJyeZw.mjs +19 -0
- package/dist/create-builtin-DQuJyeZw.mjs.map +1 -0
- package/dist/create-builtin-FtQ6qKzX.d.mts +16 -0
- package/dist/create-builtin-FtQ6qKzX.d.mts.map +1 -0
- package/dist/dynamic-import-statement-B5Pdwr4Z.d.mts +33 -0
- package/dist/dynamic-import-statement-B5Pdwr4Z.d.mts.map +1 -0
- package/dist/dynamic-import-statement-BbNJchii.mjs +25 -0
- package/dist/dynamic-import-statement-BbNJchii.mjs.map +1 -0
- package/dist/dynamic-import-statement-DNJlI3ND.d.cts +33 -0
- package/dist/dynamic-import-statement-DNJlI3ND.d.cts.map +1 -0
- package/dist/dynamic-import-statement-DTSUoDt2.d.cts +33 -0
- package/dist/dynamic-import-statement-DTSUoDt2.d.cts.map +1 -0
- package/dist/dynamic-import-statement-Dy_MY_Ua.cjs +30 -0
- package/dist/entry-file-CfMzpF03.d.cts +28 -0
- package/dist/entry-file-CfMzpF03.d.cts.map +1 -0
- package/dist/entry-file-CnC6P3j6.d.mts +28 -0
- package/dist/entry-file-CnC6P3j6.d.mts.map +1 -0
- package/dist/entry-file-D64eurjX.mjs +41 -0
- package/dist/entry-file-D64eurjX.mjs.map +1 -0
- package/dist/entry-file-DVueLVSn.d.cts +28 -0
- package/dist/entry-file-DVueLVSn.d.cts.map +1 -0
- package/dist/entry-file-GR5Rsn25.cjs +47 -0
- package/dist/entry-file-ayzYWEo5.d.mts +28 -0
- package/dist/entry-file-ayzYWEo5.d.mts.map +1 -0
- package/dist/front-matter-2eGRXX11.mjs +28 -0
- package/dist/front-matter-2eGRXX11.mjs.map +1 -0
- package/dist/front-matter-DGpkM9OE.d.mts +16 -0
- package/dist/front-matter-DGpkM9OE.d.mts.map +1 -0
- package/dist/front-matter-DZ1tB-Uj.cjs +33 -0
- package/dist/front-matter-gcouRI-6.d.cts +16 -0
- package/dist/front-matter-gcouRI-6.d.cts.map +1 -0
- package/dist/front-matter-u9H7VPAF.d.cts +16 -0
- package/dist/front-matter-u9H7VPAF.d.cts.map +1 -0
- package/dist/helpers/capnp.cjs +18 -276
- package/dist/helpers/capnp.d.cts +1 -86
- package/dist/helpers/capnp.d.mts +1 -86
- package/dist/helpers/capnp.mjs +1 -257
- package/dist/helpers/create-builtin.cjs +2 -18
- package/dist/helpers/create-builtin.d.cts +1 -14
- package/dist/helpers/create-builtin.d.mts +1 -14
- package/dist/helpers/create-builtin.mjs +1 -16
- package/dist/helpers/index.cjs +23 -23
- package/dist/helpers/index.d.cts +4 -4
- package/dist/helpers/index.d.mts +4 -4
- package/dist/helpers/index.mjs +4 -4
- package/dist/helpers/refkey.cjs +2 -15
- package/dist/helpers/refkey.d.cts +1 -12
- package/dist/helpers/refkey.d.mts +1 -12
- package/dist/helpers/refkey.mjs +1 -13
- package/dist/helpers/typescript.cjs +2 -45
- package/dist/helpers/typescript.d.cts +1 -24
- package/dist/helpers/typescript.d.mts +1 -24
- package/dist/helpers/typescript.mjs +1 -43
- package/dist/index-B-Y-ZG2x.d.mts +1 -0
- package/dist/index-BH1nuHdZ.d.cts +1 -0
- package/dist/index-BUYyA1Xh.d.cts +1 -0
- package/dist/index-C-lwXyQ6.d.mts +1 -0
- package/dist/index-C6HcjJiY.d.mts +1 -0
- package/dist/index-C6yvNuzO.d.cts +1 -0
- package/dist/index-CrhZaFgN.d.cts +1 -0
- package/dist/index-CzItj62a.d.mts +1 -0
- package/dist/index-DcDTDbdz.d.cts +1 -0
- package/dist/index-hcx6LMSC.d.mts +1 -0
- package/dist/index.cjs +8 -6
- package/dist/index.d.cts +3 -2
- package/dist/index.d.cts.map +1 -0
- package/dist/index.d.mts +3 -2
- package/dist/index.d.mts.map +1 -0
- package/dist/index.mjs +8 -5
- package/dist/index.mjs.map +1 -0
- package/dist/markdown/components/front-matter.cjs +2 -27
- package/dist/markdown/components/front-matter.d.cts +1 -14
- package/dist/markdown/components/front-matter.d.mts +1 -14
- package/dist/markdown/components/front-matter.mjs +1 -25
- package/dist/markdown/components/index.cjs +17 -9
- package/dist/markdown/components/index.d.cts +7 -3
- package/dist/markdown/components/index.d.mts +7 -3
- package/dist/markdown/components/index.mjs +11 -3
- package/dist/markdown/components/markdown-file.cjs +10 -130
- package/dist/markdown/components/markdown-file.d.cts +4 -27
- package/dist/markdown/components/markdown-file.d.mts +4 -27
- package/dist/markdown/components/markdown-file.mjs +8 -127
- package/dist/markdown/components/markdown-table.cjs +5 -100
- package/dist/markdown/components/markdown-table.d.cts +3 -26
- package/dist/markdown/components/markdown-table.d.mts +3 -26
- package/dist/markdown/components/markdown-table.mjs +2 -96
- package/dist/markdown/contexts/index.cjs +6 -5
- package/dist/markdown/contexts/index.d.cts +2 -1
- package/dist/markdown/contexts/index.d.mts +2 -1
- package/dist/markdown/contexts/index.mjs +2 -1
- package/dist/markdown/contexts/markdown-table.cjs +5 -36
- package/dist/markdown/contexts/markdown-table.d.cts +1 -36
- package/dist/markdown/contexts/markdown-table.d.mts +1 -36
- package/dist/markdown/contexts/markdown-table.mjs +1 -31
- package/dist/markdown/index.cjs +22 -16
- package/dist/markdown/index.d.cts +8 -6
- package/dist/markdown/index.d.mts +8 -6
- package/dist/markdown/index.mjs +12 -6
- package/dist/markdown-file-CAwtMwsl.cjs +141 -0
- package/dist/markdown-file-CIGTz9xQ.d.cts +29 -0
- package/dist/markdown-file-CIGTz9xQ.d.cts.map +1 -0
- package/dist/markdown-file-CxDM6MCV.d.cts +29 -0
- package/dist/markdown-file-CxDM6MCV.d.cts.map +1 -0
- package/dist/markdown-file-DIcSvowq.mjs +130 -0
- package/dist/markdown-file-DIcSvowq.mjs.map +1 -0
- package/dist/markdown-file-EtJaVhJ3.d.mts +29 -0
- package/dist/markdown-file-EtJaVhJ3.d.mts.map +1 -0
- package/dist/markdown-table-AoJIzA89.d.cts +28 -0
- package/dist/markdown-table-AoJIzA89.d.cts.map +1 -0
- package/dist/markdown-table-BWPm6GbJ.cjs +57 -0
- package/dist/markdown-table-Br2Ihl2z.d.cts +38 -0
- package/dist/markdown-table-Br2Ihl2z.d.cts.map +1 -0
- package/dist/markdown-table-CFL7L6rA.d.mts +38 -0
- package/dist/markdown-table-CFL7L6rA.d.mts.map +1 -0
- package/dist/markdown-table-ChvYobzz.d.mts +28 -0
- package/dist/markdown-table-ChvYobzz.d.mts.map +1 -0
- package/dist/markdown-table-D3DonpwR.mjs +99 -0
- package/dist/markdown-table-D3DonpwR.mjs.map +1 -0
- package/dist/markdown-table-DFSFKzCN.d.cts +28 -0
- package/dist/markdown-table-DFSFKzCN.d.cts.map +1 -0
- package/dist/markdown-table-eTnxxb46.cjs +116 -0
- package/dist/markdown-table-g6DeP10e.mjs +34 -0
- package/dist/markdown-table-g6DeP10e.mjs.map +1 -0
- package/dist/output-BnmXIAFP.d.cts +24 -0
- package/dist/output-BnmXIAFP.d.cts.map +1 -0
- package/dist/output-CMC94bm-.d.mts +24 -0
- package/dist/output-CMC94bm-.d.mts.map +1 -0
- package/dist/output-CQXrGP3y.cjs +38 -0
- package/dist/output-D3UQ5nZo.mjs +33 -0
- package/dist/output-D3UQ5nZo.mjs.map +1 -0
- package/dist/output-Dq1RRbJY.d.cts +24 -0
- package/dist/output-Dq1RRbJY.d.cts.map +1 -0
- package/dist/plugin-B8wUxSXi.cjs +0 -0
- package/dist/plugin-BmQ6pIes.mjs +1 -0
- package/dist/plugin-C6SupJ8C.d.cts +41 -0
- package/dist/plugin-C6SupJ8C.d.cts.map +1 -0
- package/dist/plugin-bEu9fq1G.d.mts +41 -0
- package/dist/plugin-bEu9fq1G.d.mts.map +1 -0
- package/dist/record-expression-6ElbFyR0.cjs +17 -0
- package/dist/record-expression-BjXMzi4r.mjs +12 -0
- package/dist/record-expression-BjXMzi4r.mjs.map +1 -0
- package/dist/record-expression-adlQJuNw.d.cts +13 -0
- package/dist/record-expression-adlQJuNw.d.cts.map +1 -0
- package/dist/record-expression-c9kQA93k.d.mts +13 -0
- package/dist/record-expression-c9kQA93k.d.mts.map +1 -0
- package/dist/refkey-Bf_2_U5t.d.cts +14 -0
- package/dist/refkey-Bf_2_U5t.d.cts.map +1 -0
- package/dist/refkey-C08kDOQ0.cjs +21 -0
- package/dist/refkey-CIFiGvgZ.mjs +16 -0
- package/dist/refkey-CIFiGvgZ.mjs.map +1 -0
- package/dist/refkey-CSZgFc0P.d.mts +14 -0
- package/dist/refkey-CSZgFc0P.d.mts.map +1 -0
- package/dist/reflection-B-NMNIoB.mjs +61 -0
- package/dist/reflection-B-NMNIoB.mjs.map +1 -0
- package/dist/reflection-CUo0047e.d.mts +53 -0
- package/dist/reflection-CUo0047e.d.mts.map +1 -0
- package/dist/reflection-DHpdhvwI.cjs +108 -0
- package/dist/reflection-xU09ifzp.d.cts +53 -0
- package/dist/reflection-xU09ifzp.d.cts.map +1 -0
- package/dist/single-line-comment-B258_x1B.d.cts +23 -0
- package/dist/single-line-comment-B258_x1B.d.cts.map +1 -0
- package/dist/single-line-comment-COZ9RWsm.cjs +27 -0
- package/dist/single-line-comment-D9dIL45u.d.cts +23 -0
- package/dist/single-line-comment-D9dIL45u.d.cts.map +1 -0
- package/dist/single-line-comment-PMv_zrfe.d.mts +23 -0
- package/dist/single-line-comment-PMv_zrfe.d.mts.map +1 -0
- package/dist/single-line-comment-mOQtfhWt.mjs +22 -0
- package/dist/single-line-comment-mOQtfhWt.mjs.map +1 -0
- package/dist/source-file-95cXzcLB.d.cts +33 -0
- package/dist/source-file-95cXzcLB.d.cts.map +1 -0
- package/dist/source-file-BAVTBVJy.cjs +68 -0
- package/dist/source-file-BTsyACav.d.cts +33 -0
- package/dist/source-file-BTsyACav.d.cts.map +1 -0
- package/dist/source-file-BiJK-nH_.mjs +62 -0
- package/dist/source-file-BiJK-nH_.mjs.map +1 -0
- package/dist/source-file-CQl0UCgf.d.mts +33 -0
- package/dist/source-file-CQl0UCgf.d.mts.map +1 -0
- package/dist/tsdoc-BId4fp5_.cjs +585 -0
- package/dist/tsdoc-CfvwK4Ml.d.cts +164 -0
- package/dist/tsdoc-CfvwK4Ml.d.cts.map +1 -0
- package/dist/tsdoc-Crv526i6.mjs +466 -0
- package/dist/tsdoc-Crv526i6.mjs.map +1 -0
- package/dist/tsdoc-OUuKjTbh.d.mts +164 -0
- package/dist/tsdoc-OUuKjTbh.d.mts.map +1 -0
- package/dist/tsdoc-reflection-B4bfElmj.d.cts +19 -0
- package/dist/tsdoc-reflection-B4bfElmj.d.cts.map +1 -0
- package/dist/tsdoc-reflection-BbjnIsUV.d.cts +19 -0
- package/dist/tsdoc-reflection-BbjnIsUV.d.cts.map +1 -0
- package/dist/tsdoc-reflection-D-eKs6S1.mjs +176 -0
- package/dist/tsdoc-reflection-D-eKs6S1.mjs.map +1 -0
- package/dist/tsdoc-reflection-IH-Mt2o_.cjs +193 -0
- package/dist/tsdoc-reflection-ulqYHfKL.d.mts +19 -0
- package/dist/tsdoc-reflection-ulqYHfKL.d.mts.map +1 -0
- package/dist/types/components.cjs +1 -0
- package/dist/types/components.d.cts +1 -141
- package/dist/types/components.d.mts +1 -141
- package/dist/types/components.mjs +2 -0
- package/dist/types/index.cjs +2 -0
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.mts +2 -2
- package/dist/types/index.mjs +3 -0
- package/dist/types/plugin.cjs +1 -0
- package/dist/types/plugin.d.cts +1 -39
- package/dist/types/plugin.d.mts +1 -39
- package/dist/types/plugin.mjs +2 -0
- package/dist/typescript/components/builtin-file.cjs +10 -61
- package/dist/typescript/components/builtin-file.d.cts +5 -33
- package/dist/typescript/components/builtin-file.d.mts +5 -33
- package/dist/typescript/components/builtin-file.mjs +9 -59
- package/dist/typescript/components/dynamic-import-statement.cjs +2 -24
- package/dist/typescript/components/dynamic-import-statement.d.cts +1 -31
- package/dist/typescript/components/dynamic-import-statement.d.mts +1 -31
- package/dist/typescript/components/dynamic-import-statement.mjs +1 -22
- package/dist/typescript/components/entry-file.cjs +9 -41
- package/dist/typescript/components/entry-file.d.cts +4 -26
- package/dist/typescript/components/entry-file.d.mts +4 -26
- package/dist/typescript/components/entry-file.mjs +8 -38
- package/dist/typescript/components/index.cjs +50 -43
- package/dist/typescript/components/index.d.cts +12 -9
- package/dist/typescript/components/index.d.mts +12 -9
- package/dist/typescript/components/index.mjs +16 -9
- package/dist/typescript/components/record-expression.cjs +2 -11
- package/dist/typescript/components/record-expression.d.cts +1 -11
- package/dist/typescript/components/record-expression.d.mts +1 -11
- package/dist/typescript/components/record-expression.mjs +1 -9
- package/dist/typescript/components/tsdoc-reflection.cjs +8 -177
- package/dist/typescript/components/tsdoc-reflection.d.cts +3 -17
- package/dist/typescript/components/tsdoc-reflection.d.mts +3 -17
- package/dist/typescript/components/tsdoc-reflection.mjs +5 -173
- package/dist/typescript/components/tsdoc.cjs +23 -484
- package/dist/typescript/components/tsdoc.d.cts +2 -162
- package/dist/typescript/components/tsdoc.d.mts +2 -162
- package/dist/typescript/components/tsdoc.mjs +3 -463
- package/dist/typescript/components/typescript-file.cjs +10 -215
- package/dist/typescript/components/typescript-file.d.cts +3 -48
- package/dist/typescript/components/typescript-file.d.mts +3 -48
- package/dist/typescript/components/typescript-file.mjs +7 -211
- package/dist/typescript/components/typescript-interface.cjs +8 -72
- package/dist/typescript/components/typescript-interface.d.cts +2 -24
- package/dist/typescript/components/typescript-interface.d.mts +2 -24
- package/dist/typescript/components/typescript-interface.mjs +6 -69
- package/dist/typescript/components/typescript-object.cjs +8 -124
- package/dist/typescript/components/typescript-object.d.cts +2 -28
- package/dist/typescript/components/typescript-object.d.mts +2 -28
- package/dist/typescript/components/typescript-object.mjs +6 -121
- package/dist/typescript/index.cjs +50 -44
- package/dist/typescript/index.d.cts +12 -10
- package/dist/typescript/index.d.mts +12 -10
- package/dist/typescript/index.mjs +16 -10
- package/dist/typescript-BCc7kwL_.mjs +46 -0
- package/dist/typescript-BCc7kwL_.mjs.map +1 -0
- package/dist/typescript-BbjCTT04.cjs +51 -0
- package/dist/typescript-DWzPF4n4.d.mts +26 -0
- package/dist/typescript-DWzPF4n4.d.mts.map +1 -0
- package/dist/typescript-file-BWaBMfMr.d.mts +50 -0
- package/dist/typescript-file-BWaBMfMr.d.mts.map +1 -0
- package/dist/typescript-file-BmLwVIQP.cjs +231 -0
- package/dist/typescript-file-C5NjN3H2.mjs +214 -0
- package/dist/typescript-file-C5NjN3H2.mjs.map +1 -0
- package/dist/typescript-file-MYxikvB6.d.cts +50 -0
- package/dist/typescript-file-MYxikvB6.d.cts.map +1 -0
- package/dist/typescript-file-fOVF6YF2.d.cts +50 -0
- package/dist/typescript-file-fOVF6YF2.d.cts.map +1 -0
- package/dist/typescript-interface-BNdWrKgb.cjs +83 -0
- package/dist/typescript-interface-D-d9A720.d.cts +26 -0
- package/dist/typescript-interface-D-d9A720.d.cts.map +1 -0
- package/dist/typescript-interface-LN3uCdA6.mjs +72 -0
- package/dist/typescript-interface-LN3uCdA6.mjs.map +1 -0
- package/dist/typescript-interface-MV4qwTHs.d.mts +26 -0
- package/dist/typescript-interface-MV4qwTHs.d.mts.map +1 -0
- package/dist/typescript-o4AsClkT.d.cts +26 -0
- package/dist/typescript-o4AsClkT.d.cts.map +1 -0
- package/dist/typescript-object-Bbza8TK7.d.cts +30 -0
- package/dist/typescript-object-Bbza8TK7.d.cts.map +1 -0
- package/dist/typescript-object-C7p9fJBF.d.mts +30 -0
- package/dist/typescript-object-C7p9fJBF.d.mts.map +1 -0
- package/dist/typescript-object-DIyR8xhW.mjs +124 -0
- package/dist/typescript-object-DIyR8xhW.mjs.map +1 -0
- package/dist/typescript-object-ENaG1YGI.cjs +135 -0
- package/dist/typescript-object-v1WiBD8W.d.cts +30 -0
- package/dist/typescript-object-v1WiBD8W.d.cts.map +1 -0
- package/dist/unctx-MFxscYXI.mjs +12 -0
- package/dist/unctx-MFxscYXI.mjs.map +1 -0
- package/dist/unctx-r7Vvh6XR.cjs +17 -0
- package/package.json +6 -6
- package/dist/internal/unctx.cjs +0 -8
- package/dist/internal/unctx.mjs +0 -7
|
@@ -0,0 +1,585 @@
|
|
|
1
|
+
const require_chunk = require('./chunk-CbDLau6x.cjs');
|
|
2
|
+
const require_context = require('./context--KBspFnw.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
|
+
});
|