@powerlines/plugin-alloy 0.19.32 → 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 +60 -0
- package/dist/render.d.cts +23 -0
- package/dist/render.d.cts.map +1 -0
- package/dist/render.d.mts +23 -0
- package/dist/render.d.mts.map +1 -0
- package/dist/render.mjs +60 -0
- package/dist/render.mjs.map +1 -0
- 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 +20 -6
- package/dist/builtin-file-BNp7C-BU.mjs +0 -62
- package/dist/builtin-file-BNp7C-BU.mjs.map +0 -1
- package/dist/builtin-file-C-TpxdCP.d.mts +0 -35
- package/dist/builtin-file-C-TpxdCP.d.mts.map +0 -1
- package/dist/builtin-file-CDLuGDg7.d.cts +0 -35
- package/dist/builtin-file-CDLuGDg7.d.cts.map +0 -1
- package/dist/builtin-file-CQAeHqiO.cjs +0 -67
- package/dist/builtin-file-DWcpFOVB.d.mts +0 -35
- package/dist/builtin-file-DWcpFOVB.d.mts.map +0 -1
- package/dist/builtin-file-I0ejC9w0.d.cts +0 -35
- package/dist/builtin-file-I0ejC9w0.d.cts.map +0 -1
- package/dist/capnp-CLxcoMcG.d.mts +0 -88
- package/dist/capnp-CLxcoMcG.d.mts.map +0 -1
- package/dist/capnp-CPbob9Cm.mjs +0 -260
- package/dist/capnp-CPbob9Cm.mjs.map +0 -1
- package/dist/capnp-ClfqI-5t.cjs +0 -356
- package/dist/capnp-DbPtfpg2.d.cts +0 -88
- package/dist/capnp-DbPtfpg2.d.cts.map +0 -1
- package/dist/components-B0evB5xd.cjs +0 -0
- package/dist/components-BNK9p5AE.cjs +0 -0
- package/dist/components-ByryZacA.mjs +0 -1
- package/dist/components-C3qpgLKV.mjs +0 -1
- package/dist/components-Cr-i-ofB.mjs +0 -1
- package/dist/components-CvqTz7Q9.d.cts +0 -143
- package/dist/components-CvqTz7Q9.d.cts.map +0 -1
- package/dist/components-DPKSrvP-.cjs +0 -0
- package/dist/components-ISRFDWTF.cjs +0 -0
- package/dist/components-NXgsRgB4.mjs +0 -1
- package/dist/components-_4e2YMfT.d.mts +0 -143
- package/dist/components-_4e2YMfT.d.mts.map +0 -1
- package/dist/context-C7gW4eqa.d.cts +0 -30
- package/dist/context-C7gW4eqa.d.cts.map +0 -1
- package/dist/context-CdPajCh6.mjs +0 -37
- package/dist/context-CdPajCh6.mjs.map +0 -1
- package/dist/context-D5pAjVbn.d.mts +0 -30
- package/dist/context-D5pAjVbn.d.mts.map +0 -1
- package/dist/context-DNdlL_gp.cjs +0 -60
- package/dist/contexts-BqTplHQH.mjs +0 -1
- package/dist/contexts-D-vYhGdM.mjs +0 -1
- package/dist/contexts-DWGMeWga.cjs +0 -0
- package/dist/contexts-J643Nrrt.cjs +0 -0
- package/dist/create-builtin-Be3J_vqf.mjs +0 -19
- package/dist/create-builtin-Be3J_vqf.mjs.map +0 -1
- package/dist/create-builtin-BiKyN2s2.cjs +0 -24
- package/dist/create-builtin-Bpswa0ZT.d.cts +0 -16
- package/dist/create-builtin-Bpswa0ZT.d.cts.map +0 -1
- package/dist/create-builtin-CbEjJreB.d.mts +0 -16
- package/dist/create-builtin-CbEjJreB.d.mts.map +0 -1
- package/dist/dynamic-import-statement-B4Ov9C7y.mjs +0 -25
- package/dist/dynamic-import-statement-B4Ov9C7y.mjs.map +0 -1
- package/dist/dynamic-import-statement-CNsIFAva.d.cts +0 -33
- package/dist/dynamic-import-statement-CNsIFAva.d.cts.map +0 -1
- package/dist/dynamic-import-statement-CVIYwXyi.d.mts +0 -33
- package/dist/dynamic-import-statement-CVIYwXyi.d.mts.map +0 -1
- package/dist/dynamic-import-statement-DDEpZVlQ.d.cts +0 -33
- package/dist/dynamic-import-statement-DDEpZVlQ.d.cts.map +0 -1
- package/dist/dynamic-import-statement-DSNDMC9Y.d.mts +0 -33
- package/dist/dynamic-import-statement-DSNDMC9Y.d.mts.map +0 -1
- package/dist/dynamic-import-statement-Dy_MY_Ua.cjs +0 -30
- package/dist/entry-file-CYPWFUfe.cjs +0 -47
- package/dist/entry-file-CrZ-k87r.mjs +0 -41
- package/dist/entry-file-CrZ-k87r.mjs.map +0 -1
- package/dist/entry-file-DOcjyCDG.d.mts +0 -28
- package/dist/entry-file-DOcjyCDG.d.mts.map +0 -1
- package/dist/entry-file-DVf4SGx4.d.cts +0 -28
- package/dist/entry-file-DVf4SGx4.d.cts.map +0 -1
- package/dist/entry-file-DXv3HtYV.d.mts +0 -28
- package/dist/entry-file-DXv3HtYV.d.mts.map +0 -1
- package/dist/entry-file-y0caTLfc.d.cts +0 -28
- package/dist/entry-file-y0caTLfc.d.cts.map +0 -1
- package/dist/front-matter-BeTG0uJA.mjs +0 -28
- package/dist/front-matter-BeTG0uJA.mjs.map +0 -1
- package/dist/front-matter-CXfCT8a8.d.mts +0 -16
- package/dist/front-matter-CXfCT8a8.d.mts.map +0 -1
- package/dist/front-matter-DTorR58b.d.cts +0 -16
- package/dist/front-matter-DTorR58b.d.cts.map +0 -1
- package/dist/front-matter-DZ1tB-Uj.cjs +0 -33
- package/dist/front-matter-DySGMCRE.d.cts +0 -16
- package/dist/front-matter-DySGMCRE.d.cts.map +0 -1
- package/dist/index-BJ8-FA6N.d.cts +0 -1
- package/dist/index-BXpMZvwA.d.cts +0 -1
- package/dist/index-BhY1qu3m.d.cts +0 -1
- package/dist/index-BjgW3E7y.d.mts +0 -1
- package/dist/index-C3usUse7.d.mts +0 -1
- package/dist/index-D13oYj4_.d.mts +0 -1
- package/dist/index-DBGd4WeR.d.mts +0 -1
- package/dist/index-DdxxIAKU.d.cts +0 -1
- package/dist/index-DpEKQcoR.d.cts +0 -1
- package/dist/index-gpCH5158.d.mts +0 -1
- package/dist/markdown-file-BkmvexMF.d.cts +0 -29
- package/dist/markdown-file-BkmvexMF.d.cts.map +0 -1
- package/dist/markdown-file-C7o9bn--.d.mts +0 -29
- package/dist/markdown-file-C7o9bn--.d.mts.map +0 -1
- package/dist/markdown-file-CFt8hI37.cjs +0 -141
- package/dist/markdown-file-CX8auFpl.mjs +0 -130
- package/dist/markdown-file-CX8auFpl.mjs.map +0 -1
- package/dist/markdown-file-CbVNKFje.d.cts +0 -29
- package/dist/markdown-file-CbVNKFje.d.cts.map +0 -1
- package/dist/markdown-file-DMrhFhUU.d.mts +0 -29
- package/dist/markdown-file-DMrhFhUU.d.mts.map +0 -1
- package/dist/markdown-table-B7EUUNbl.d.mts +0 -28
- package/dist/markdown-table-B7EUUNbl.d.mts.map +0 -1
- package/dist/markdown-table-BWPm6GbJ.cjs +0 -57
- package/dist/markdown-table-CGXp5JbS.d.mts +0 -28
- package/dist/markdown-table-CGXp5JbS.d.mts.map +0 -1
- package/dist/markdown-table-CKMEMcyb.d.cts +0 -28
- package/dist/markdown-table-CKMEMcyb.d.cts.map +0 -1
- package/dist/markdown-table-CZMEY6IR.d.cts +0 -38
- package/dist/markdown-table-CZMEY6IR.d.cts.map +0 -1
- package/dist/markdown-table-CnEur72Z.mjs +0 -99
- package/dist/markdown-table-CnEur72Z.mjs.map +0 -1
- package/dist/markdown-table-Cv3P72sN.d.cts +0 -28
- package/dist/markdown-table-Cv3P72sN.d.cts.map +0 -1
- package/dist/markdown-table-PT2TFFY3.mjs +0 -34
- package/dist/markdown-table-PT2TFFY3.mjs.map +0 -1
- package/dist/markdown-table-eTnxxb46.cjs +0 -116
- package/dist/markdown-table-t6Z-cmxX.d.mts +0 -38
- package/dist/markdown-table-t6Z-cmxX.d.mts.map +0 -1
- package/dist/meta-BEeFPjoM.mjs +0 -37
- package/dist/meta-BEeFPjoM.mjs.map +0 -1
- package/dist/meta-BVJcyXVs.cjs +0 -60
- package/dist/meta-D0y5uZo4.d.cts +0 -48
- package/dist/meta-D0y5uZo4.d.cts.map +0 -1
- package/dist/meta-DJqWxY95.d.mts +0 -48
- package/dist/meta-DJqWxY95.d.mts.map +0 -1
- package/dist/output-B5O_qz0i.cjs +0 -44
- package/dist/output-C5BkcdCd.d.cts +0 -24
- package/dist/output-C5BkcdCd.d.cts.map +0 -1
- package/dist/output-C7mlHz0P.d.mts +0 -24
- package/dist/output-C7mlHz0P.d.mts.map +0 -1
- package/dist/output-DcuryjuV.mjs +0 -39
- package/dist/output-DcuryjuV.mjs.map +0 -1
- package/dist/output-XvUhyMSi.d.cts +0 -24
- package/dist/output-XvUhyMSi.d.cts.map +0 -1
- package/dist/plugin-B8wUxSXi.cjs +0 -0
- package/dist/plugin-BzF8Q2v1.mjs +0 -1
- package/dist/plugin-CyBCpZyU.d.mts +0 -39
- package/dist/plugin-CyBCpZyU.d.mts.map +0 -1
- package/dist/plugin-DIlnN1SV.d.cts +0 -39
- package/dist/plugin-DIlnN1SV.d.cts.map +0 -1
- package/dist/record-expression-6ElbFyR0.cjs +0 -17
- package/dist/record-expression-ChoLAsVS.d.mts +0 -13
- package/dist/record-expression-ChoLAsVS.d.mts.map +0 -1
- package/dist/record-expression-D5W72rZN.mjs +0 -12
- package/dist/record-expression-D5W72rZN.mjs.map +0 -1
- package/dist/record-expression-Dwg_PZpg.d.cts +0 -13
- package/dist/record-expression-Dwg_PZpg.d.cts.map +0 -1
- package/dist/refkey-C08kDOQ0.cjs +0 -21
- package/dist/refkey-CP7MJMac.d.cts +0 -14
- package/dist/refkey-CP7MJMac.d.cts.map +0 -1
- package/dist/refkey-CQVHeuAq.mjs +0 -16
- package/dist/refkey-CQVHeuAq.mjs.map +0 -1
- package/dist/refkey-D6OjgKgS.d.mts +0 -14
- package/dist/refkey-D6OjgKgS.d.mts.map +0 -1
- package/dist/reflection-BktS88RM.cjs +0 -108
- package/dist/reflection-CfOmSgDn.d.mts +0 -53
- package/dist/reflection-CfOmSgDn.d.mts.map +0 -1
- package/dist/reflection-Q87E_-w_.d.cts +0 -53
- package/dist/reflection-Q87E_-w_.d.cts.map +0 -1
- package/dist/reflection-TXYxCAwV.mjs +0 -61
- package/dist/reflection-TXYxCAwV.mjs.map +0 -1
- package/dist/single-line-comment-BKFqKn-D.d.mts +0 -23
- package/dist/single-line-comment-BKFqKn-D.d.mts.map +0 -1
- package/dist/single-line-comment-Ct_putR7.d.mts +0 -23
- package/dist/single-line-comment-Ct_putR7.d.mts.map +0 -1
- package/dist/single-line-comment-D2y_A8e1.d.cts +0 -23
- package/dist/single-line-comment-D2y_A8e1.d.cts.map +0 -1
- package/dist/single-line-comment-DW0LUIQ2.mjs +0 -22
- package/dist/single-line-comment-DW0LUIQ2.mjs.map +0 -1
- package/dist/single-line-comment-DWQy5rrk.d.cts +0 -23
- package/dist/single-line-comment-DWQy5rrk.d.cts.map +0 -1
- package/dist/single-line-comment-tAWBgL9v.cjs +0 -27
- package/dist/source-file-B51pGSXX.d.mts +0 -33
- package/dist/source-file-B51pGSXX.d.mts.map +0 -1
- package/dist/source-file-BhqYj8m-.d.mts +0 -33
- package/dist/source-file-BhqYj8m-.d.mts.map +0 -1
- package/dist/source-file-Bl7eV0Li.mjs +0 -62
- package/dist/source-file-Bl7eV0Li.mjs.map +0 -1
- package/dist/source-file-DiisOeS2.d.cts +0 -33
- package/dist/source-file-DiisOeS2.d.cts.map +0 -1
- package/dist/source-file-DnqaQY90.cjs +0 -68
- package/dist/source-file-gMJwiJAw.d.cts +0 -33
- package/dist/source-file-gMJwiJAw.d.cts.map +0 -1
- package/dist/tsdoc-BufL8muf.cjs +0 -585
- package/dist/tsdoc-DB1Qzwsn.mjs +0 -466
- package/dist/tsdoc-DB1Qzwsn.mjs.map +0 -1
- package/dist/tsdoc-DiBR7m1J.d.cts +0 -164
- package/dist/tsdoc-DiBR7m1J.d.cts.map +0 -1
- package/dist/tsdoc-KHfXy9HE.d.mts +0 -164
- package/dist/tsdoc-KHfXy9HE.d.mts.map +0 -1
- package/dist/tsdoc-reflection-B5-J4ia-.cjs +0 -193
- package/dist/tsdoc-reflection-BGPyymTb.mjs +0 -176
- package/dist/tsdoc-reflection-BGPyymTb.mjs.map +0 -1
- package/dist/tsdoc-reflection-CYz5udTh.d.mts +0 -19
- package/dist/tsdoc-reflection-CYz5udTh.d.mts.map +0 -1
- package/dist/tsdoc-reflection-DTYkFxKy.d.cts +0 -19
- package/dist/tsdoc-reflection-DTYkFxKy.d.cts.map +0 -1
- package/dist/tsdoc-reflection-cRd43W18.d.cts +0 -19
- package/dist/tsdoc-reflection-cRd43W18.d.cts.map +0 -1
- package/dist/typescript-BXhP0qIJ.mjs +0 -46
- package/dist/typescript-BXhP0qIJ.mjs.map +0 -1
- package/dist/typescript-BbjCTT04.cjs +0 -51
- package/dist/typescript-CXP7Oa6_.d.cts +0 -26
- package/dist/typescript-CXP7Oa6_.d.cts.map +0 -1
- package/dist/typescript-DvynKONm.d.mts +0 -26
- package/dist/typescript-DvynKONm.d.mts.map +0 -1
- package/dist/typescript-file-4oY1sIRB.cjs +0 -231
- package/dist/typescript-file-C9TPcvPm.d.mts +0 -50
- package/dist/typescript-file-C9TPcvPm.d.mts.map +0 -1
- package/dist/typescript-file-CJxOp_Xl.d.cts +0 -50
- package/dist/typescript-file-CJxOp_Xl.d.cts.map +0 -1
- package/dist/typescript-file-CY0SmW6n.d.mts +0 -50
- package/dist/typescript-file-CY0SmW6n.d.mts.map +0 -1
- package/dist/typescript-file-DWYfy1-C.d.cts +0 -50
- package/dist/typescript-file-DWYfy1-C.d.cts.map +0 -1
- package/dist/typescript-file-iXGdOTZv.mjs +0 -214
- package/dist/typescript-file-iXGdOTZv.mjs.map +0 -1
- package/dist/typescript-interface-4Kxgaglq.d.mts +0 -26
- package/dist/typescript-interface-4Kxgaglq.d.mts.map +0 -1
- package/dist/typescript-interface-B0AoZx3f.cjs +0 -83
- package/dist/typescript-interface-B1mhCCoV.d.cts +0 -26
- package/dist/typescript-interface-B1mhCCoV.d.cts.map +0 -1
- package/dist/typescript-interface-C0mgTtdj.d.cts +0 -26
- package/dist/typescript-interface-C0mgTtdj.d.cts.map +0 -1
- package/dist/typescript-interface-DoEGxV_8.mjs +0 -72
- package/dist/typescript-interface-DoEGxV_8.mjs.map +0 -1
- package/dist/typescript-object-C4d4fThY.cjs +0 -135
- package/dist/typescript-object-C5oh925V.mjs +0 -124
- package/dist/typescript-object-C5oh925V.mjs.map +0 -1
- package/dist/typescript-object-DAepqTrw.d.cts +0 -30
- package/dist/typescript-object-DAepqTrw.d.cts.map +0 -1
- package/dist/typescript-object-DUivJKpz.d.cts +0 -30
- package/dist/typescript-object-DUivJKpz.d.cts.map +0 -1
- package/dist/typescript-object-TlHt1hQc.d.mts +0 -30
- package/dist/typescript-object-TlHt1hQc.d.mts.map +0 -1
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
const require_chunk = require('./chunk-CbDLau6x.cjs');
|
|
2
|
-
const require_markdown_table = require('./markdown-table-BWPm6GbJ.cjs');
|
|
3
|
-
let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
|
|
4
|
-
let __alloy_js_core = require("@alloy-js/core");
|
|
5
|
-
let __stryke_string_format_title_case = require("@stryke/string-format/title-case");
|
|
6
|
-
let __stryke_type_checks_is_undefined = require("@stryke/type-checks/is-undefined");
|
|
7
|
-
|
|
8
|
-
//#region src/markdown/components/markdown-table.tsx
|
|
9
|
-
/**
|
|
10
|
-
* Component that provides a context for rendering markdown tables.
|
|
11
|
-
*/
|
|
12
|
-
function MarkdownTable(props) {
|
|
13
|
-
const [{ children, data }] = (0, __alloy_js_core.splitProps)(props, ["children", "data"]);
|
|
14
|
-
const columns = (0, __alloy_js_core.computed)(() => Object.keys(data).map((name, index) => ({
|
|
15
|
-
index,
|
|
16
|
-
name,
|
|
17
|
-
align: "left",
|
|
18
|
-
width: 20
|
|
19
|
-
})));
|
|
20
|
-
return (0, __alloy_js_core_jsx_runtime.createComponent)(require_markdown_table.MarkdownTableContext.Provider, {
|
|
21
|
-
get value() {
|
|
22
|
-
return {
|
|
23
|
-
columns: columns.value,
|
|
24
|
-
data
|
|
25
|
-
};
|
|
26
|
-
},
|
|
27
|
-
get children() {
|
|
28
|
-
return (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
|
|
29
|
-
get when() {
|
|
30
|
-
return Boolean(children);
|
|
31
|
-
},
|
|
32
|
-
children
|
|
33
|
-
});
|
|
34
|
-
}
|
|
35
|
-
});
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Component that provides a context for rendering markdown tables.
|
|
39
|
-
*/
|
|
40
|
-
function MarkdownTableColumn(props) {
|
|
41
|
-
const [{ children, width, align, name }] = (0, __alloy_js_core.splitProps)(props, [
|
|
42
|
-
"children",
|
|
43
|
-
"width",
|
|
44
|
-
"align",
|
|
45
|
-
"name"
|
|
46
|
-
]);
|
|
47
|
-
const tableContext = require_markdown_table.useMarkdownTable();
|
|
48
|
-
const columnRef = (0, __alloy_js_core.computed)(() => tableContext?.columns.find((c) => c.name === name));
|
|
49
|
-
const indexRef = (0, __alloy_js_core.computed)(() => columnRef.value?.index ?? 0);
|
|
50
|
-
const alignRef = (0, __alloy_js_core.computed)(() => columnRef.value?.align ?? align ?? "left");
|
|
51
|
-
const widthRef = (0, __alloy_js_core.computed)(() => columnRef.value?.width ?? width ?? 20);
|
|
52
|
-
const textLength = (0, __alloy_js_core.computed)(() => {
|
|
53
|
-
return (children ? children.toString() : "").length;
|
|
54
|
-
});
|
|
55
|
-
return (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Prose, { get children() {
|
|
56
|
-
return [
|
|
57
|
-
(0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
|
|
58
|
-
get when() {
|
|
59
|
-
return indexRef.value === 0;
|
|
60
|
-
},
|
|
61
|
-
children: "|"
|
|
62
|
-
}),
|
|
63
|
-
(0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
|
|
64
|
-
get when() {
|
|
65
|
-
return Boolean(children);
|
|
66
|
-
},
|
|
67
|
-
get children() {
|
|
68
|
-
return (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Prose, { get children() {
|
|
69
|
-
return __alloy_js_core.code`${alignRef.value === "left" ? " ".repeat(widthRef.value - textLength.value - 1) : " "}${children}${alignRef.value === "right" ? " ".repeat(widthRef.value - textLength.value - 1) : " "}`;
|
|
70
|
-
} });
|
|
71
|
-
}
|
|
72
|
-
}),
|
|
73
|
-
"|"
|
|
74
|
-
];
|
|
75
|
-
} });
|
|
76
|
-
}
|
|
77
|
-
/**
|
|
78
|
-
* Component that provides a context for rendering markdown tables.
|
|
79
|
-
*/
|
|
80
|
-
function MarkdownTableColumnHeader(props) {
|
|
81
|
-
const [{ children, name }, rest] = (0, __alloy_js_core.splitProps)(props, ["children", "name"]);
|
|
82
|
-
return [(0, __alloy_js_core_jsx_runtime.createComponent)(MarkdownTableColumn, (0, __alloy_js_core_jsx_runtime.mergeProps)(rest, {
|
|
83
|
-
name,
|
|
84
|
-
get children() {
|
|
85
|
-
return (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
|
|
86
|
-
get fallback() {
|
|
87
|
-
return (0, __stryke_string_format_title_case.titleCase)(name, { useDescriptions: false });
|
|
88
|
-
},
|
|
89
|
-
get when() {
|
|
90
|
-
return !(0, __stryke_type_checks_is_undefined.isUndefined)(children);
|
|
91
|
-
},
|
|
92
|
-
children
|
|
93
|
-
});
|
|
94
|
-
}
|
|
95
|
-
}))];
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
//#endregion
|
|
99
|
-
Object.defineProperty(exports, 'MarkdownTable', {
|
|
100
|
-
enumerable: true,
|
|
101
|
-
get: function () {
|
|
102
|
-
return MarkdownTable;
|
|
103
|
-
}
|
|
104
|
-
});
|
|
105
|
-
Object.defineProperty(exports, 'MarkdownTableColumn', {
|
|
106
|
-
enumerable: true,
|
|
107
|
-
get: function () {
|
|
108
|
-
return MarkdownTableColumn;
|
|
109
|
-
}
|
|
110
|
-
});
|
|
111
|
-
Object.defineProperty(exports, 'MarkdownTableColumnHeader', {
|
|
112
|
-
enumerable: true,
|
|
113
|
-
get: function () {
|
|
114
|
-
return MarkdownTableColumnHeader;
|
|
115
|
-
}
|
|
116
|
-
});
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { ComponentContext } from "@alloy-js/core";
|
|
2
|
-
|
|
3
|
-
//#region src/markdown/contexts/markdown-table.d.ts
|
|
4
|
-
interface MarkdownTableColumnContextInterface<T extends Record<string, any> = Record<string, any>> {
|
|
5
|
-
index: number;
|
|
6
|
-
name: keyof T;
|
|
7
|
-
align: "left" | "right" | "center";
|
|
8
|
-
width: number;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* The Powerlines context used in template rendering.
|
|
12
|
-
*/
|
|
13
|
-
declare const MarkdownTableColumnContext: ComponentContext<MarkdownTableColumnContextInterface>;
|
|
14
|
-
/**
|
|
15
|
-
* Hook to access the Powerlines Context.
|
|
16
|
-
*
|
|
17
|
-
* @returns The Context.
|
|
18
|
-
*/
|
|
19
|
-
declare function useMarkdownTableColumn(): MarkdownTableColumnContextInterface<Record<string, any>> | undefined;
|
|
20
|
-
interface MarkdownTableContextInterface<T extends Record<string, any> = Record<string, any>> {
|
|
21
|
-
columns: MarkdownTableColumnContextInterface<T>[];
|
|
22
|
-
data: T[];
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* The Powerlines context used in template rendering.
|
|
26
|
-
*/
|
|
27
|
-
declare const MarkdownTableContext: ComponentContext<MarkdownTableContextInterface>;
|
|
28
|
-
/**
|
|
29
|
-
* Hook to access the Powerlines Context.
|
|
30
|
-
*
|
|
31
|
-
* @returns The Context.
|
|
32
|
-
*/
|
|
33
|
-
declare function useMarkdownTable(): MarkdownTableContextInterface<Record<string, any>> | undefined;
|
|
34
|
-
declare type __ΩMarkdownTableColumnContextInterface = any[];
|
|
35
|
-
declare type __ΩMarkdownTableContextInterface = any[];
|
|
36
|
-
//#endregion
|
|
37
|
-
export { __ΩMarkdownTableColumnContextInterface as a, useMarkdownTableColumn as c, MarkdownTableContextInterface as i, MarkdownTableColumnContextInterface as n, __ΩMarkdownTableContextInterface as o, MarkdownTableContext as r, useMarkdownTable as s, MarkdownTableColumnContext as t };
|
|
38
|
-
//# sourceMappingURL=markdown-table-t6Z-cmxX.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"markdown-table-t6Z-cmxX.d.mts","names":[],"sources":["../src/markdown/contexts/markdown-table.ts"],"sourcesContent":[],"mappings":";;;UAqBiB,8CACL,sBAAsB;;EADjB,IAAA,EAAA,MAIH,CAJG;EACL,KAAA,EAAA,MAAA,GAAA,OAAA,GAAA,QAAA;EAAsB,KAAA,EAAA,MAAA;;;AAWlC;AAWA;AAMiB,cAjBJ,0BAiBiC,EAjBL,gBAiBK,CAjBY,mCAiBZ,CAAA;;;;;;AAIrC,iBAVO,sBAAA,CAAA,CAUP,EAV6B,mCAU7B,CAV6B,MAU7B,CAAA,MAAA,EAAA,GAAA,CAAA,CAAA,GAAA,SAAA;AAMI,UAVI,6BAUmC,CAAA,UATxC,MASwC,CAAA,MAAjB,EAAA,GAAA,CAAA,GATD,MASC,CAAA,MAAgB,EAAA,GAAA,CAAA,CAAA,CAAA;EAWnC,OAAA,EAlBL,mCAkBqB,CAlBe,CAkBf,CAAA,EAAA;QAjBxB;;;;;cAMK,sBAAsB,iBAAiB;;;;;;iBAWpC,gBAAA,CAAA,GAAgB,8BAAA"}
|
package/dist/meta-BEeFPjoM.mjs
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { createNamedContext, useContext } from "@alloy-js/core";
|
|
2
|
-
|
|
3
|
-
//#region src/core/contexts/meta.ts
|
|
4
|
-
/**
|
|
5
|
-
* The Powerlines meta context used to determine metadata of files generated during rendering.
|
|
6
|
-
*/
|
|
7
|
-
const MetaContext = createNamedContext("Meta");
|
|
8
|
-
/**
|
|
9
|
-
* Hook to access the Powerlines Context.
|
|
10
|
-
*
|
|
11
|
-
* @returns The Context.
|
|
12
|
-
*/
|
|
13
|
-
function useMetaContext() {
|
|
14
|
-
return useContext(MetaContext);
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* Hook to safely access the render context's metadata.
|
|
18
|
-
*
|
|
19
|
-
* @returns The Powerlines context or undefined if not set.
|
|
20
|
-
*/
|
|
21
|
-
function useMetaSafe() {
|
|
22
|
-
return useMetaContext() ?? void 0;
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* Hook to access the render context's metadata.
|
|
26
|
-
*
|
|
27
|
-
* @returns The Powerlines context.
|
|
28
|
-
*/
|
|
29
|
-
function useMeta() {
|
|
30
|
-
const meta = useMetaSafe();
|
|
31
|
-
if (!meta) throw new Error("Powerlines metadata is not available in the rendering context. Please make sure the Alloy components are being provided to an invocation of the `render` function added to plugins by `@powerlines/plugin-alloy`.");
|
|
32
|
-
return meta;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
//#endregion
|
|
36
|
-
export { useMetaSafe as i, useMeta as n, useMetaContext as r, MetaContext as t };
|
|
37
|
-
//# sourceMappingURL=meta-BEeFPjoM.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"meta-BEeFPjoM.mjs","names":["createNamedContext","useContext","MetaContext","useMetaContext","useMetaSafe","meta","undefined","useMeta","Error"],"sources":["../src/core/contexts/meta.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport {\n ComponentContext,\n createNamedContext,\n useContext\n} from \"@alloy-js/core\";\nimport type { StoragePreset } from \"powerlines/types/fs\";\n\nexport interface MetaItem {\n /**\n * The kind of metadata item.\n */\n kind?: \"builtin\" | \"entry\" | string;\n\n /**\n * Whether to skip formatting for this output.\n */\n skipFormat?: boolean;\n\n /**\n * The storage preset or adapter name for the output files.\n *\n * @remarks\n * If not specified, the output mode will be determined by the provided `output.mode` value.\n */\n storage?: StoragePreset | string;\n\n [key: string]: any;\n}\n\n/**\n * The Powerlines meta context used to determine metadata of files generated during rendering.\n */\nexport const MetaContext: ComponentContext<Record<string, MetaItem>> =\n createNamedContext<Record<string, MetaItem>>(\"Meta\");\n\n/**\n * Hook to access the Powerlines Context.\n *\n * @returns The Context.\n */\nexport function useMetaContext(): Record<string, MetaItem> | undefined {\n return useContext(MetaContext);\n}\n\n/**\n * Hook to safely access the render context's metadata.\n *\n * @returns The Powerlines context or undefined if not set.\n */\nexport function useMetaSafe(): Record<string, MetaItem> | undefined {\n const meta = useMetaContext();\n\n return meta ?? undefined;\n}\n\n/**\n * Hook to access the render context's metadata.\n *\n * @returns The Powerlines context.\n */\nexport function useMeta(): Record<string, MetaItem> {\n const meta = useMetaSafe();\n if (!meta) {\n throw new Error(\n \"Powerlines metadata is not available in the rendering context. Please make sure the Alloy components are being provided to an invocation of the `render` function added to plugins by `@powerlines/plugin-alloy`.\"\n );\n }\n\n return meta;\n}\n"],"mappings":""}
|
package/dist/meta-BVJcyXVs.cjs
DELETED
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
const require_chunk = require('./chunk-CbDLau6x.cjs');
|
|
2
|
-
let __alloy_js_core = require("@alloy-js/core");
|
|
3
|
-
|
|
4
|
-
//#region src/core/contexts/meta.ts
|
|
5
|
-
/**
|
|
6
|
-
* The Powerlines meta context used to determine metadata of files generated during rendering.
|
|
7
|
-
*/
|
|
8
|
-
const MetaContext = (0, __alloy_js_core.createNamedContext)("Meta");
|
|
9
|
-
/**
|
|
10
|
-
* Hook to access the Powerlines Context.
|
|
11
|
-
*
|
|
12
|
-
* @returns The Context.
|
|
13
|
-
*/
|
|
14
|
-
function useMetaContext() {
|
|
15
|
-
return (0, __alloy_js_core.useContext)(MetaContext);
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* Hook to safely access the render context's metadata.
|
|
19
|
-
*
|
|
20
|
-
* @returns The Powerlines context or undefined if not set.
|
|
21
|
-
*/
|
|
22
|
-
function useMetaSafe() {
|
|
23
|
-
return useMetaContext() ?? void 0;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Hook to access the render context's metadata.
|
|
27
|
-
*
|
|
28
|
-
* @returns The Powerlines context.
|
|
29
|
-
*/
|
|
30
|
-
function useMeta() {
|
|
31
|
-
const meta = useMetaSafe();
|
|
32
|
-
if (!meta) throw new Error("Powerlines metadata is not available in the rendering context. Please make sure the Alloy components are being provided to an invocation of the `render` function added to plugins by `@powerlines/plugin-alloy`.");
|
|
33
|
-
return meta;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
//#endregion
|
|
37
|
-
Object.defineProperty(exports, 'MetaContext', {
|
|
38
|
-
enumerable: true,
|
|
39
|
-
get: function () {
|
|
40
|
-
return MetaContext;
|
|
41
|
-
}
|
|
42
|
-
});
|
|
43
|
-
Object.defineProperty(exports, 'useMeta', {
|
|
44
|
-
enumerable: true,
|
|
45
|
-
get: function () {
|
|
46
|
-
return useMeta;
|
|
47
|
-
}
|
|
48
|
-
});
|
|
49
|
-
Object.defineProperty(exports, 'useMetaContext', {
|
|
50
|
-
enumerable: true,
|
|
51
|
-
get: function () {
|
|
52
|
-
return useMetaContext;
|
|
53
|
-
}
|
|
54
|
-
});
|
|
55
|
-
Object.defineProperty(exports, 'useMetaSafe', {
|
|
56
|
-
enumerable: true,
|
|
57
|
-
get: function () {
|
|
58
|
-
return useMetaSafe;
|
|
59
|
-
}
|
|
60
|
-
});
|
package/dist/meta-D0y5uZo4.d.cts
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { ComponentContext } from "@alloy-js/core";
|
|
2
|
-
import { StoragePreset } from "powerlines/types/fs";
|
|
3
|
-
|
|
4
|
-
//#region src/core/contexts/meta.d.ts
|
|
5
|
-
interface MetaItem {
|
|
6
|
-
/**
|
|
7
|
-
* The kind of metadata item.
|
|
8
|
-
*/
|
|
9
|
-
kind?: "builtin" | "entry" | string;
|
|
10
|
-
/**
|
|
11
|
-
* Whether to skip formatting for this output.
|
|
12
|
-
*/
|
|
13
|
-
skipFormat?: boolean;
|
|
14
|
-
/**
|
|
15
|
-
* The storage preset or adapter name for the output files.
|
|
16
|
-
*
|
|
17
|
-
* @remarks
|
|
18
|
-
* If not specified, the output mode will be determined by the provided `output.mode` value.
|
|
19
|
-
*/
|
|
20
|
-
storage?: StoragePreset | string;
|
|
21
|
-
[key: string]: any;
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* The Powerlines meta context used to determine metadata of files generated during rendering.
|
|
25
|
-
*/
|
|
26
|
-
declare const MetaContext: ComponentContext<Record<string, MetaItem>>;
|
|
27
|
-
/**
|
|
28
|
-
* Hook to access the Powerlines Context.
|
|
29
|
-
*
|
|
30
|
-
* @returns The Context.
|
|
31
|
-
*/
|
|
32
|
-
declare function useMetaContext(): Record<string, MetaItem> | undefined;
|
|
33
|
-
/**
|
|
34
|
-
* Hook to safely access the render context's metadata.
|
|
35
|
-
*
|
|
36
|
-
* @returns The Powerlines context or undefined if not set.
|
|
37
|
-
*/
|
|
38
|
-
declare function useMetaSafe(): Record<string, MetaItem> | undefined;
|
|
39
|
-
/**
|
|
40
|
-
* Hook to access the render context's metadata.
|
|
41
|
-
*
|
|
42
|
-
* @returns The Powerlines context.
|
|
43
|
-
*/
|
|
44
|
-
declare function useMeta(): Record<string, MetaItem>;
|
|
45
|
-
declare type __ΩMetaItem = any[];
|
|
46
|
-
//#endregion
|
|
47
|
-
export { useMetaContext as a, useMeta as i, MetaItem as n, useMetaSafe as o, __ΩMetaItem as r, MetaContext as t };
|
|
48
|
-
//# sourceMappingURL=meta-D0y5uZo4.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"meta-D0y5uZo4.d.cts","names":[],"sources":["../src/core/contexts/meta.ts"],"sourcesContent":[],"mappings":";;;;UAyBiB,QAAA;;AAAjB;AAyBA;EAA0D,IAAA,CAAA,EAAA,SAAA,GAAA,OAAA,GAAA,MAAA;EAAf;;;EAQ3B,UAAA,CAAA,EAAA,OAAc;EASd;AAWhB;;;;;YApCY;;;;;;cAQC,aAAa,iBAAiB,eAAe;;;;;;iBAQ1C,cAAA,CAAA,GAAkB,eAAe;;;;;;iBASjC,WAAA,CAAA,GAAe,eAAe;;;;;;iBAW9B,OAAA,CAAA,GAAW,eAAe"}
|
package/dist/meta-DJqWxY95.d.mts
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { ComponentContext } from "@alloy-js/core";
|
|
2
|
-
import { StoragePreset } from "powerlines/types/fs";
|
|
3
|
-
|
|
4
|
-
//#region src/core/contexts/meta.d.ts
|
|
5
|
-
interface MetaItem {
|
|
6
|
-
/**
|
|
7
|
-
* The kind of metadata item.
|
|
8
|
-
*/
|
|
9
|
-
kind?: "builtin" | "entry" | string;
|
|
10
|
-
/**
|
|
11
|
-
* Whether to skip formatting for this output.
|
|
12
|
-
*/
|
|
13
|
-
skipFormat?: boolean;
|
|
14
|
-
/**
|
|
15
|
-
* The storage preset or adapter name for the output files.
|
|
16
|
-
*
|
|
17
|
-
* @remarks
|
|
18
|
-
* If not specified, the output mode will be determined by the provided `output.mode` value.
|
|
19
|
-
*/
|
|
20
|
-
storage?: StoragePreset | string;
|
|
21
|
-
[key: string]: any;
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* The Powerlines meta context used to determine metadata of files generated during rendering.
|
|
25
|
-
*/
|
|
26
|
-
declare const MetaContext: ComponentContext<Record<string, MetaItem>>;
|
|
27
|
-
/**
|
|
28
|
-
* Hook to access the Powerlines Context.
|
|
29
|
-
*
|
|
30
|
-
* @returns The Context.
|
|
31
|
-
*/
|
|
32
|
-
declare function useMetaContext(): Record<string, MetaItem> | undefined;
|
|
33
|
-
/**
|
|
34
|
-
* Hook to safely access the render context's metadata.
|
|
35
|
-
*
|
|
36
|
-
* @returns The Powerlines context or undefined if not set.
|
|
37
|
-
*/
|
|
38
|
-
declare function useMetaSafe(): Record<string, MetaItem> | undefined;
|
|
39
|
-
/**
|
|
40
|
-
* Hook to access the render context's metadata.
|
|
41
|
-
*
|
|
42
|
-
* @returns The Powerlines context.
|
|
43
|
-
*/
|
|
44
|
-
declare function useMeta(): Record<string, MetaItem>;
|
|
45
|
-
declare type __ΩMetaItem = any[];
|
|
46
|
-
//#endregion
|
|
47
|
-
export { useMetaContext as a, useMeta as i, MetaItem as n, useMetaSafe as o, __ΩMetaItem as r, MetaContext as t };
|
|
48
|
-
//# sourceMappingURL=meta-DJqWxY95.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"meta-DJqWxY95.d.mts","names":[],"sources":["../src/core/contexts/meta.ts"],"sourcesContent":[],"mappings":";;;;UAyBiB,QAAA;;AAAjB;AAyBA;EAA0D,IAAA,CAAA,EAAA,SAAA,GAAA,OAAA,GAAA,MAAA;EAAf;;;EAQ3B,UAAA,CAAA,EAAA,OAAc;EASd;AAWhB;;;;;YApCY;;;;;;cAQC,aAAa,iBAAiB,eAAe;;;;;;iBAQ1C,cAAA,CAAA,GAAkB,eAAe;;;;;;iBASjC,WAAA,CAAA,GAAe,eAAe;;;;;;iBAW9B,OAAA,CAAA,GAAW,eAAe"}
|
package/dist/output-B5O_qz0i.cjs
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
const require_chunk = require('./chunk-CbDLau6x.cjs');
|
|
2
|
-
const require_context = require('./context-DNdlL_gp.cjs');
|
|
3
|
-
const require_meta = require('./meta-BVJcyXVs.cjs');
|
|
4
|
-
let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
|
|
5
|
-
let __alloy_js_core = require("@alloy-js/core");
|
|
6
|
-
|
|
7
|
-
//#region src/core/components/output.tsx
|
|
8
|
-
/**
|
|
9
|
-
* Output component for rendering the Powerlines plugin's output files via templates.
|
|
10
|
-
*/
|
|
11
|
-
function Output(props) {
|
|
12
|
-
const [{ children, context, meta }, rest] = (0, __alloy_js_core.splitProps)(props, [
|
|
13
|
-
"children",
|
|
14
|
-
"context",
|
|
15
|
-
"meta"
|
|
16
|
-
]);
|
|
17
|
-
const contextRef = (0, __alloy_js_core.computed)(() => context);
|
|
18
|
-
return (0, __alloy_js_core_jsx_runtime.createComponent)(require_meta.MetaContext.Provider, {
|
|
19
|
-
value: meta,
|
|
20
|
-
get children() {
|
|
21
|
-
return (0, __alloy_js_core_jsx_runtime.createComponent)(require_context.PowerlinesContext.Provider, {
|
|
22
|
-
get value() {
|
|
23
|
-
return contextRef.value;
|
|
24
|
-
},
|
|
25
|
-
get children() {
|
|
26
|
-
return (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Output, (0, __alloy_js_core_jsx_runtime.mergeProps)(rest, {
|
|
27
|
-
get basePath() {
|
|
28
|
-
return contextRef.value.workspaceConfig.workspaceRoot;
|
|
29
|
-
},
|
|
30
|
-
children
|
|
31
|
-
}));
|
|
32
|
-
}
|
|
33
|
-
});
|
|
34
|
-
}
|
|
35
|
-
});
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
//#endregion
|
|
39
|
-
Object.defineProperty(exports, 'Output', {
|
|
40
|
-
enumerable: true,
|
|
41
|
-
get: function () {
|
|
42
|
-
return Output;
|
|
43
|
-
}
|
|
44
|
-
});
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { n as MetaItem } from "./meta-D0y5uZo4.cjs";
|
|
2
|
-
import * as _alloy_js_core12 from "@alloy-js/core";
|
|
3
|
-
import { OutputProps } from "@alloy-js/core";
|
|
4
|
-
import { PluginContext } from "powerlines/types/context";
|
|
5
|
-
|
|
6
|
-
//#region src/core/components/output.d.ts
|
|
7
|
-
interface OutputProps$1<TContext extends PluginContext = PluginContext> extends Omit<OutputProps, "basePath"> {
|
|
8
|
-
/**
|
|
9
|
-
* The current Powerlines process context.
|
|
10
|
-
*/
|
|
11
|
-
context: TContext;
|
|
12
|
-
/**
|
|
13
|
-
* The file metadata collected during rendering.
|
|
14
|
-
*/
|
|
15
|
-
meta: Record<string, MetaItem>;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* Output component for rendering the Powerlines plugin's output files via templates.
|
|
19
|
-
*/
|
|
20
|
-
declare function Output<TContext extends PluginContext = PluginContext>(props: OutputProps$1<TContext>): _alloy_js_core12.Children;
|
|
21
|
-
declare type __ΩOutputProps = any[];
|
|
22
|
-
//#endregion
|
|
23
|
-
export { OutputProps$1 as n, __ΩOutputProps as r, Output as t };
|
|
24
|
-
//# sourceMappingURL=output-C5BkcdCd.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"output-C5BkcdCd.d.cts","names":[],"sources":["../src/core/components/output.tsx"],"sourcesContent":[],"mappings":";;;;;;UAwBiB,+BACE,gBAAgB,uBACzB,KAAK;;;AAFf;EACmB,OAAA,EAKR,QALQ;EAAgB;;;EAUZ,IAAA,EAAf,MAAe,CAAA,MAAA,EAAA,QAAA,CAAA;;;;AAMvB;AAAwC,iBAAxB,MAAwB,CAAA,iBAAA,aAAA,GAAgB,aAAhB,CAAA,CAAA,KAAA,EAC/B,aAD+B,CACnB,QADmB,CAAA,CAAA,EACpB,gBAAA,CAAU,QADU;AAAgB,8BAAA,GAAA,EAAA"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { n as MetaItem } from "./meta-DJqWxY95.mjs";
|
|
2
|
-
import * as _alloy_js_core0 from "@alloy-js/core";
|
|
3
|
-
import { OutputProps } from "@alloy-js/core";
|
|
4
|
-
import { PluginContext } from "powerlines/types/context";
|
|
5
|
-
|
|
6
|
-
//#region src/core/components/output.d.ts
|
|
7
|
-
interface OutputProps$1<TContext extends PluginContext = PluginContext> extends Omit<OutputProps, "basePath"> {
|
|
8
|
-
/**
|
|
9
|
-
* The current Powerlines process context.
|
|
10
|
-
*/
|
|
11
|
-
context: TContext;
|
|
12
|
-
/**
|
|
13
|
-
* The file metadata collected during rendering.
|
|
14
|
-
*/
|
|
15
|
-
meta: Record<string, MetaItem>;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* Output component for rendering the Powerlines plugin's output files via templates.
|
|
19
|
-
*/
|
|
20
|
-
declare function Output$1<TContext extends PluginContext = PluginContext>(props: OutputProps$1<TContext>): _alloy_js_core0.Children;
|
|
21
|
-
declare type __ΩOutputProps = any[];
|
|
22
|
-
//#endregion
|
|
23
|
-
export { OutputProps$1 as n, __ΩOutputProps as r, Output$1 as t };
|
|
24
|
-
//# sourceMappingURL=output-C7mlHz0P.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"output-C7mlHz0P.d.mts","names":[],"sources":["../src/core/components/output.tsx"],"sourcesContent":[],"mappings":";;;;;;UAwBiB,+BACE,gBAAgB,uBACzB,KAAK;;;AAFf;EACmB,OAAA,EAKR,QALQ;EAAgB;;;EAUZ,IAAA,EAAf,MAAe,CAAA,MAAA,EAAA,QAAA,CAAA;;;;AAMvB;AAAwC,iBAAxB,QAAwB,CAAA,iBAAA,aAAA,GAAgB,aAAhB,CAAA,CAAA,KAAA,EAC/B,aAD+B,CACnB,QADmB,CAAA,CAAA,EACpB,eAAA,CAAU,QADU;AAAgB,8BAAA,GAAA,EAAA"}
|
package/dist/output-DcuryjuV.mjs
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { t as PowerlinesContext } from "./context-CdPajCh6.mjs";
|
|
2
|
-
import { t as MetaContext } from "./meta-BEeFPjoM.mjs";
|
|
3
|
-
import { createComponent, mergeProps } from "@alloy-js/core/jsx-runtime";
|
|
4
|
-
import { Output, computed, splitProps } from "@alloy-js/core";
|
|
5
|
-
|
|
6
|
-
//#region src/core/components/output.tsx
|
|
7
|
-
/**
|
|
8
|
-
* Output component for rendering the Powerlines plugin's output files via templates.
|
|
9
|
-
*/
|
|
10
|
-
function Output$1(props) {
|
|
11
|
-
const [{ children, context, meta }, rest] = splitProps(props, [
|
|
12
|
-
"children",
|
|
13
|
-
"context",
|
|
14
|
-
"meta"
|
|
15
|
-
]);
|
|
16
|
-
const contextRef = computed(() => context);
|
|
17
|
-
return createComponent(MetaContext.Provider, {
|
|
18
|
-
value: meta,
|
|
19
|
-
get children() {
|
|
20
|
-
return createComponent(PowerlinesContext.Provider, {
|
|
21
|
-
get value() {
|
|
22
|
-
return contextRef.value;
|
|
23
|
-
},
|
|
24
|
-
get children() {
|
|
25
|
-
return createComponent(Output, mergeProps(rest, {
|
|
26
|
-
get basePath() {
|
|
27
|
-
return contextRef.value.workspaceConfig.workspaceRoot;
|
|
28
|
-
},
|
|
29
|
-
children
|
|
30
|
-
}));
|
|
31
|
-
}
|
|
32
|
-
});
|
|
33
|
-
}
|
|
34
|
-
});
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
//#endregion
|
|
38
|
-
export { Output$1 as t };
|
|
39
|
-
//# sourceMappingURL=output-DcuryjuV.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"output-DcuryjuV.mjs","names":["computed","Output","OutputExternal","splitProps","MetaContext","PowerlinesContext","props","children","context","meta","rest","contextRef","_$createComponent","Provider","value","_$mergeProps","basePath","workspaceConfig","workspaceRoot"],"sources":["../src/core/components/output.tsx"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport type { OutputProps as OutputPropsExternal } from \"@alloy-js/core\";\nimport { computed, Output as OutputExternal, splitProps } from \"@alloy-js/core\";\nimport type { PluginContext } from \"powerlines/types/context\";\nimport { MetaContext, MetaItem } from \"../contexts\";\nimport { PowerlinesContext } from \"../contexts/context\";\n\nexport interface OutputProps<\n TContext extends PluginContext = PluginContext\n> extends Omit<OutputPropsExternal, \"basePath\"> {\n /**\n * The current Powerlines process context.\n */\n context: TContext;\n\n /**\n * The file metadata collected during rendering.\n */\n meta: Record<string, MetaItem>;\n}\n\n/**\n * Output component for rendering the Powerlines plugin's output files via templates.\n */\nexport function Output<TContext extends PluginContext = PluginContext>(\n props: OutputProps<TContext>\n) {\n const [{ children, context, meta }, rest] = splitProps(props, [\n \"children\",\n \"context\",\n \"meta\"\n ]);\n\n const contextRef = computed(() => context);\n\n return (\n <MetaContext.Provider value={meta}>\n <PowerlinesContext.Provider value={contextRef.value}>\n <OutputExternal\n {...rest}\n basePath={contextRef.value.workspaceConfig.workspaceRoot}>\n {children}\n </OutputExternal>\n </PowerlinesContext.Provider>\n </MetaContext.Provider>\n );\n}\n"],"mappings":""}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { n as MetaItem } from "./meta-D0y5uZo4.cjs";
|
|
2
|
-
import * as _alloy_js_core5 from "@alloy-js/core";
|
|
3
|
-
import { OutputProps } from "@alloy-js/core";
|
|
4
|
-
import { PluginContext } from "powerlines/types/context";
|
|
5
|
-
|
|
6
|
-
//#region src/core/components/output.d.ts
|
|
7
|
-
interface OutputProps$1<TContext extends PluginContext = PluginContext> extends Omit<OutputProps, "basePath"> {
|
|
8
|
-
/**
|
|
9
|
-
* The current Powerlines process context.
|
|
10
|
-
*/
|
|
11
|
-
context: TContext;
|
|
12
|
-
/**
|
|
13
|
-
* The file metadata collected during rendering.
|
|
14
|
-
*/
|
|
15
|
-
meta: Record<string, MetaItem>;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* Output component for rendering the Powerlines plugin's output files via templates.
|
|
19
|
-
*/
|
|
20
|
-
declare function Output<TContext extends PluginContext = PluginContext>(props: OutputProps$1<TContext>): _alloy_js_core5.Children;
|
|
21
|
-
declare type __ΩOutputProps = any[];
|
|
22
|
-
//#endregion
|
|
23
|
-
export { OutputProps$1 as n, __ΩOutputProps as r, Output as t };
|
|
24
|
-
//# sourceMappingURL=output-XvUhyMSi.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"output-XvUhyMSi.d.cts","names":[],"sources":["../src/core/components/output.tsx"],"sourcesContent":[],"mappings":";;;;;;UAwBiB,+BACE,gBAAgB,uBACzB,KAAK;;;AAFf;EACmB,OAAA,EAKR,QALQ;EAAgB;;;EAUZ,IAAA,EAAf,MAAe,CAAA,MAAA,EAAA,QAAA,CAAA;;;;AAMvB;AAAwC,iBAAxB,MAAwB,CAAA,iBAAA,aAAA,GAAgB,aAAhB,CAAA,CAAA,KAAA,EAC/B,aAD+B,CACnB,QADmB,CAAA,CAAA,EACpB,eAAA,CAAU,QADU;AAAgB,8BAAA,GAAA,EAAA"}
|
package/dist/plugin-B8wUxSXi.cjs
DELETED
|
File without changes
|
package/dist/plugin-BzF8Q2v1.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { };
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { PrintTreeOptions } from "@alloy-js/core";
|
|
2
|
-
import { PluginContext } from "powerlines/types/context";
|
|
3
|
-
import { BabelPluginResolvedConfig, BabelPluginUserConfig } from "@powerlines/plugin-babel/types/plugin";
|
|
4
|
-
|
|
5
|
-
//#region src/types/plugin.d.ts
|
|
6
|
-
type AlloyPluginOptions = Partial<PrintTreeOptions> & {
|
|
7
|
-
/**
|
|
8
|
-
* If true, the Alloy framework is used to generate Typescript output files.
|
|
9
|
-
*
|
|
10
|
-
* @defaultValue true
|
|
11
|
-
*/
|
|
12
|
-
typescript?: boolean;
|
|
13
|
-
/**
|
|
14
|
-
* If true, the Alloy framework is used to generate JSON output files.
|
|
15
|
-
*
|
|
16
|
-
* @defaultValue false
|
|
17
|
-
*/
|
|
18
|
-
json?: boolean;
|
|
19
|
-
/**
|
|
20
|
-
* If true, the Alloy framework is used to generate Markdown output files.
|
|
21
|
-
*
|
|
22
|
-
* @defaultValue false
|
|
23
|
-
*/
|
|
24
|
-
markdown?: boolean;
|
|
25
|
-
};
|
|
26
|
-
type AlloyPluginUserConfig = BabelPluginUserConfig & {
|
|
27
|
-
alloy?: AlloyPluginOptions;
|
|
28
|
-
};
|
|
29
|
-
type AlloyPluginResolvedConfig = BabelPluginResolvedConfig & {
|
|
30
|
-
alloy: AlloyPluginOptions;
|
|
31
|
-
};
|
|
32
|
-
type AlloyPluginContext<TResolvedConfig extends AlloyPluginResolvedConfig = AlloyPluginResolvedConfig> = PluginContext<TResolvedConfig>;
|
|
33
|
-
declare type __ΩAlloyPluginOptions = any[];
|
|
34
|
-
declare type __ΩAlloyPluginUserConfig = any[];
|
|
35
|
-
declare type __ΩAlloyPluginResolvedConfig = any[];
|
|
36
|
-
declare type __ΩAlloyPluginContext = any[];
|
|
37
|
-
//#endregion
|
|
38
|
-
export { __ΩAlloyPluginContext as a, __ΩAlloyPluginUserConfig as c, AlloyPluginUserConfig as i, AlloyPluginOptions as n, __ΩAlloyPluginOptions as o, AlloyPluginResolvedConfig as r, __ΩAlloyPluginResolvedConfig as s, AlloyPluginContext as t };
|
|
39
|
-
//# sourceMappingURL=plugin-CyBCpZyU.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"plugin-CyBCpZyU.d.mts","names":[],"sources":["../src/types/plugin.ts"],"sourcesContent":[],"mappings":";;;;;KAyBY,kBAAA,GAAqB,QAAQ;;AAAzC;AAuBA;AAIA;AAIA;EAC0B,UAAA,CAAA,EAAA,OAAA;EAA4B;;;;;;;;;;;;;KAT1C,qBAAA,GAAwB;UAC1B;;KAGE,yBAAA,GAA4B;SAC/B;;KAGG,2CACc,4BAA4B,6BAClD,cAAc"}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { PrintTreeOptions } from "@alloy-js/core";
|
|
2
|
-
import { PluginContext } from "powerlines/types/context";
|
|
3
|
-
import { BabelPluginResolvedConfig, BabelPluginUserConfig } from "@powerlines/plugin-babel/types/plugin";
|
|
4
|
-
|
|
5
|
-
//#region src/types/plugin.d.ts
|
|
6
|
-
type AlloyPluginOptions = Partial<PrintTreeOptions> & {
|
|
7
|
-
/**
|
|
8
|
-
* If true, the Alloy framework is used to generate Typescript output files.
|
|
9
|
-
*
|
|
10
|
-
* @defaultValue true
|
|
11
|
-
*/
|
|
12
|
-
typescript?: boolean;
|
|
13
|
-
/**
|
|
14
|
-
* If true, the Alloy framework is used to generate JSON output files.
|
|
15
|
-
*
|
|
16
|
-
* @defaultValue false
|
|
17
|
-
*/
|
|
18
|
-
json?: boolean;
|
|
19
|
-
/**
|
|
20
|
-
* If true, the Alloy framework is used to generate Markdown output files.
|
|
21
|
-
*
|
|
22
|
-
* @defaultValue false
|
|
23
|
-
*/
|
|
24
|
-
markdown?: boolean;
|
|
25
|
-
};
|
|
26
|
-
type AlloyPluginUserConfig = BabelPluginUserConfig & {
|
|
27
|
-
alloy?: AlloyPluginOptions;
|
|
28
|
-
};
|
|
29
|
-
type AlloyPluginResolvedConfig = BabelPluginResolvedConfig & {
|
|
30
|
-
alloy: AlloyPluginOptions;
|
|
31
|
-
};
|
|
32
|
-
type AlloyPluginContext<TResolvedConfig extends AlloyPluginResolvedConfig = AlloyPluginResolvedConfig> = PluginContext<TResolvedConfig>;
|
|
33
|
-
declare type __ΩAlloyPluginOptions = any[];
|
|
34
|
-
declare type __ΩAlloyPluginUserConfig = any[];
|
|
35
|
-
declare type __ΩAlloyPluginResolvedConfig = any[];
|
|
36
|
-
declare type __ΩAlloyPluginContext = any[];
|
|
37
|
-
//#endregion
|
|
38
|
-
export { __ΩAlloyPluginContext as a, __ΩAlloyPluginUserConfig as c, AlloyPluginUserConfig as i, AlloyPluginOptions as n, __ΩAlloyPluginOptions as o, AlloyPluginResolvedConfig as r, __ΩAlloyPluginResolvedConfig as s, AlloyPluginContext as t };
|
|
39
|
-
//# sourceMappingURL=plugin-DIlnN1SV.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"plugin-DIlnN1SV.d.cts","names":[],"sources":["../src/types/plugin.ts"],"sourcesContent":[],"mappings":";;;;;KAyBY,kBAAA,GAAqB,QAAQ;;AAAzC;AAuBA;AAIA;AAIA;EAC0B,UAAA,CAAA,EAAA,OAAA;EAA4B;;;;;;;;;;;;;KAT1C,qBAAA,GAAwB;UAC1B;;KAGE,yBAAA,GAA4B;SAC/B;;KAGG,2CACc,4BAA4B,6BAClD,cAAc"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
const require_chunk = require('./chunk-CbDLau6x.cjs');
|
|
2
|
-
let __alloy_js_core = require("@alloy-js/core");
|
|
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
|
-
Object.defineProperty(exports, 'RecordExpression', {
|
|
13
|
-
enumerable: true,
|
|
14
|
-
get: function () {
|
|
15
|
-
return RecordExpression;
|
|
16
|
-
}
|
|
17
|
-
});
|