@powerlines/plugin-alloy 0.19.30 → 0.19.32
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-BJwCniGZ.mjs → builtin-file-BNp7C-BU.mjs} +4 -4
- package/dist/{builtin-file-BJwCniGZ.mjs.map → builtin-file-BNp7C-BU.mjs.map} +1 -1
- package/dist/{builtin-file-B1gDGzgo.d.mts → builtin-file-C-TpxdCP.d.mts} +3 -3
- package/dist/{builtin-file-CNpjVVjD.d.cts.map → builtin-file-C-TpxdCP.d.mts.map} +1 -1
- package/dist/{builtin-file-CNpjVVjD.d.cts → builtin-file-CDLuGDg7.d.cts} +5 -5
- package/dist/{builtin-file-B1gDGzgo.d.mts.map → builtin-file-CDLuGDg7.d.cts.map} +1 -1
- package/dist/{builtin-file-vG9RwKpd.cjs → builtin-file-CQAeHqiO.cjs} +3 -3
- package/dist/builtin-file-DWcpFOVB.d.mts +35 -0
- package/dist/builtin-file-DWcpFOVB.d.mts.map +1 -0
- package/dist/builtin-file-I0ejC9w0.d.cts +35 -0
- package/dist/builtin-file-I0ejC9w0.d.cts.map +1 -0
- package/dist/{capnp-BfsEWHU2.d.cts → capnp-CLxcoMcG.d.mts} +2 -2
- package/dist/{capnp-BfsEWHU2.d.cts.map → capnp-CLxcoMcG.d.mts.map} +1 -1
- package/dist/{capnp-XK1IvfIR.mjs → capnp-CPbob9Cm.mjs} +1 -1
- package/dist/{capnp-XK1IvfIR.mjs.map → capnp-CPbob9Cm.mjs.map} +1 -1
- package/dist/{capnp-DcnwPttP.d.mts → capnp-DbPtfpg2.d.cts} +2 -2
- package/dist/{capnp-DcnwPttP.d.mts.map → capnp-DbPtfpg2.d.cts.map} +1 -1
- package/dist/{components-DPPi58b5.d.cts → components-CvqTz7Q9.d.cts} +2 -2
- package/dist/{components-DPPi58b5.d.cts.map → components-CvqTz7Q9.d.cts.map} +1 -1
- package/dist/{components-oHSM7vmp.d.mts → components-_4e2YMfT.d.mts} +1 -1
- package/dist/{components-oHSM7vmp.d.mts.map → components-_4e2YMfT.d.mts.map} +1 -1
- package/dist/{context-CiHsTXX7.d.cts → context-C7gW4eqa.d.cts} +1 -1
- package/dist/{context-C-CzW-8C.d.mts.map → context-C7gW4eqa.d.cts.map} +1 -1
- package/dist/{context-DIUW4n33.mjs → context-CdPajCh6.mjs} +1 -1
- package/dist/{context-DIUW4n33.mjs.map → context-CdPajCh6.mjs.map} +1 -1
- package/dist/{context-C-CzW-8C.d.mts → context-D5pAjVbn.d.mts} +1 -1
- package/dist/{context-CiHsTXX7.d.cts.map → context-D5pAjVbn.d.mts.map} +1 -1
- package/dist/core/components/index.cjs +8 -6
- package/dist/core/components/index.d.cts +9 -5
- package/dist/core/components/index.d.mts +9 -5
- package/dist/core/components/index.mjs +8 -6
- package/dist/core/components/output.cjs +5 -2
- package/dist/core/components/output.d.cts +6 -1
- package/dist/core/components/output.d.mts +6 -1
- package/dist/core/components/output.mjs +5 -2
- package/dist/core/components/single-line-comment.cjs +1 -1
- package/dist/core/components/single-line-comment.d.cts +2 -2
- package/dist/core/components/single-line-comment.d.mts +2 -2
- package/dist/core/components/single-line-comment.mjs +1 -1
- package/dist/core/components/source-file.cjs +2 -2
- package/dist/core/components/source-file.d.cts +2 -2
- package/dist/core/components/source-file.d.mts +2 -2
- package/dist/core/components/source-file.mjs +2 -2
- package/dist/core/contexts/context.cjs +1 -1
- package/dist/core/contexts/context.d.cts +1 -1
- package/dist/core/contexts/context.d.mts +1 -1
- package/dist/core/contexts/context.mjs +1 -1
- package/dist/core/contexts/index.cjs +4 -4
- package/dist/core/contexts/index.d.cts +5 -5
- package/dist/core/contexts/index.d.mts +5 -5
- package/dist/core/contexts/index.mjs +4 -4
- package/dist/core/contexts/meta.cjs +1 -1
- package/dist/core/contexts/meta.d.cts +1 -1
- package/dist/core/contexts/meta.d.mts +1 -1
- package/dist/core/contexts/meta.mjs +1 -1
- package/dist/core/contexts/reflection.cjs +1 -1
- package/dist/core/contexts/reflection.d.cts +2 -2
- package/dist/core/contexts/reflection.d.mts +2 -2
- package/dist/core/contexts/reflection.mjs +1 -1
- package/dist/core/index.cjs +8 -8
- package/dist/core/index.d.cts +9 -10
- package/dist/core/index.d.mts +9 -10
- package/dist/core/index.mjs +8 -8
- package/dist/{create-builtin-C4n9BYjY.mjs → create-builtin-Be3J_vqf.mjs} +1 -1
- package/dist/{create-builtin-C4n9BYjY.mjs.map → create-builtin-Be3J_vqf.mjs.map} +1 -1
- package/dist/{create-builtin-BvtcWfWV.d.mts → create-builtin-Bpswa0ZT.d.cts} +1 -1
- package/dist/{create-builtin-BvtcWfWV.d.mts.map → create-builtin-Bpswa0ZT.d.cts.map} +1 -1
- package/dist/{create-builtin-CI8g-abA.d.cts → create-builtin-CbEjJreB.d.mts} +1 -1
- package/dist/{create-builtin-CI8g-abA.d.cts.map → create-builtin-CbEjJreB.d.mts.map} +1 -1
- package/dist/{dynamic-import-statement-BVggdOVL.mjs → dynamic-import-statement-B4Ov9C7y.mjs} +1 -1
- package/dist/{dynamic-import-statement-BVggdOVL.mjs.map → dynamic-import-statement-B4Ov9C7y.mjs.map} +1 -1
- package/dist/dynamic-import-statement-CNsIFAva.d.cts +33 -0
- package/dist/{dynamic-import-statement-pdjThvwh.d.mts.map → dynamic-import-statement-CNsIFAva.d.cts.map} +1 -1
- package/dist/dynamic-import-statement-CVIYwXyi.d.mts +33 -0
- package/dist/dynamic-import-statement-CVIYwXyi.d.mts.map +1 -0
- package/dist/{dynamic-import-statement-D4OSoBmE.d.cts → dynamic-import-statement-DDEpZVlQ.d.cts} +3 -3
- package/dist/{dynamic-import-statement-D4OSoBmE.d.cts.map → dynamic-import-statement-DDEpZVlQ.d.cts.map} +1 -1
- package/dist/{dynamic-import-statement-pdjThvwh.d.mts → dynamic-import-statement-DSNDMC9Y.d.mts} +1 -1
- package/dist/dynamic-import-statement-DSNDMC9Y.d.mts.map +1 -0
- package/dist/{entry-file-BF1TZjhp.cjs → entry-file-CYPWFUfe.cjs} +4 -4
- package/dist/{entry-file-P5n-ofhK.mjs → entry-file-CrZ-k87r.mjs} +5 -5
- package/dist/{entry-file-P5n-ofhK.mjs.map → entry-file-CrZ-k87r.mjs.map} +1 -1
- package/dist/{entry-file-DUBROn1J.d.mts → entry-file-DOcjyCDG.d.mts} +2 -2
- package/dist/{entry-file-DUBROn1J.d.mts.map → entry-file-DOcjyCDG.d.mts.map} +1 -1
- package/dist/{entry-file-GKgTr4Su.d.cts → entry-file-DVf4SGx4.d.cts} +4 -4
- package/dist/{entry-file-GKgTr4Su.d.cts.map → entry-file-DVf4SGx4.d.cts.map} +1 -1
- package/dist/entry-file-DXv3HtYV.d.mts +28 -0
- package/dist/entry-file-DXv3HtYV.d.mts.map +1 -0
- package/dist/entry-file-y0caTLfc.d.cts +28 -0
- package/dist/entry-file-y0caTLfc.d.cts.map +1 -0
- package/dist/{front-matter-Dzh6QhN-.mjs → front-matter-BeTG0uJA.mjs} +1 -1
- package/dist/{front-matter-Dzh6QhN-.mjs.map → front-matter-BeTG0uJA.mjs.map} +1 -1
- package/dist/{front-matter-DmO4uu91.d.cts → front-matter-CXfCT8a8.d.mts} +3 -3
- package/dist/{front-matter-DJg5sQXt.d.mts.map → front-matter-CXfCT8a8.d.mts.map} +1 -1
- package/dist/front-matter-DTorR58b.d.cts +16 -0
- package/dist/{front-matter-DmO4uu91.d.cts.map → front-matter-DTorR58b.d.cts.map} +1 -1
- package/dist/{front-matter-DJg5sQXt.d.mts → front-matter-DySGMCRE.d.cts} +1 -1
- package/dist/front-matter-DySGMCRE.d.cts.map +1 -0
- package/dist/helpers/capnp.d.cts +1 -1
- package/dist/helpers/capnp.d.mts +1 -1
- package/dist/helpers/capnp.mjs +1 -1
- package/dist/helpers/create-builtin.d.cts +1 -1
- package/dist/helpers/create-builtin.d.mts +1 -1
- package/dist/helpers/create-builtin.mjs +1 -1
- 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.d.cts +1 -1
- package/dist/helpers/refkey.d.mts +1 -1
- package/dist/helpers/refkey.mjs +1 -1
- package/dist/helpers/typescript.d.cts +1 -1
- package/dist/helpers/typescript.d.mts +1 -1
- package/dist/helpers/typescript.mjs +1 -1
- package/dist/index.cjs +1 -51
- package/dist/index.d.cts +1 -1
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +1 -51
- package/dist/index.mjs.map +1 -1
- package/dist/markdown/components/front-matter.d.cts +1 -1
- package/dist/markdown/components/front-matter.d.mts +1 -1
- package/dist/markdown/components/front-matter.mjs +1 -1
- package/dist/markdown/components/index.cjs +5 -5
- package/dist/markdown/components/index.d.cts +7 -7
- package/dist/markdown/components/index.d.mts +7 -7
- package/dist/markdown/components/index.mjs +9 -9
- package/dist/markdown/components/markdown-file.cjs +5 -5
- package/dist/markdown/components/markdown-file.d.cts +4 -4
- package/dist/markdown/components/markdown-file.d.mts +4 -4
- package/dist/markdown/components/markdown-file.mjs +6 -6
- package/dist/markdown/components/markdown-table.d.cts +3 -3
- package/dist/markdown/components/markdown-table.d.mts +3 -3
- package/dist/markdown/components/markdown-table.mjs +2 -2
- package/dist/markdown/contexts/index.d.cts +2 -2
- package/dist/markdown/contexts/index.d.mts +2 -2
- package/dist/markdown/contexts/index.mjs +2 -2
- package/dist/markdown/contexts/markdown-table.d.cts +1 -1
- package/dist/markdown/contexts/markdown-table.d.mts +1 -1
- package/dist/markdown/contexts/markdown-table.mjs +1 -1
- package/dist/markdown/index.cjs +5 -5
- package/dist/markdown/index.d.cts +8 -8
- package/dist/markdown/index.d.mts +8 -8
- package/dist/markdown/index.mjs +10 -10
- package/dist/markdown-file-BkmvexMF.d.cts +29 -0
- package/dist/markdown-file-BkmvexMF.d.cts.map +1 -0
- package/dist/{markdown-file-DR8AzoU8.d.mts → markdown-file-C7o9bn--.d.mts} +7 -7
- package/dist/{markdown-file-CBuFHs8q.d.cts.map → markdown-file-C7o9bn--.d.mts.map} +1 -1
- package/dist/{markdown-file-BDzUAptw.cjs → markdown-file-CFt8hI37.cjs} +3 -3
- package/dist/{markdown-file-DmarbNrj.mjs → markdown-file-CX8auFpl.mjs} +5 -5
- package/dist/{markdown-file-DmarbNrj.mjs.map → markdown-file-CX8auFpl.mjs.map} +1 -1
- package/dist/markdown-file-CbVNKFje.d.cts +29 -0
- package/dist/{markdown-file-DR8AzoU8.d.mts.map → markdown-file-CbVNKFje.d.cts.map} +1 -1
- package/dist/{markdown-file-CBuFHs8q.d.cts → markdown-file-DMrhFhUU.d.mts} +4 -4
- package/dist/markdown-file-DMrhFhUU.d.mts.map +1 -0
- package/dist/{markdown-table-Dt4BocWh.d.mts → markdown-table-B7EUUNbl.d.mts} +7 -7
- package/dist/{markdown-table-Dt4BocWh.d.mts.map → markdown-table-B7EUUNbl.d.mts.map} +1 -1
- package/dist/markdown-table-CGXp5JbS.d.mts +28 -0
- package/dist/{markdown-table-lHHt0yAj.d.cts.map → markdown-table-CGXp5JbS.d.mts.map} +1 -1
- package/dist/markdown-table-CKMEMcyb.d.cts +28 -0
- package/dist/markdown-table-CKMEMcyb.d.cts.map +1 -0
- package/dist/{markdown-table-DIfM03TF.d.mts → markdown-table-CZMEY6IR.d.cts} +1 -1
- package/dist/{markdown-table-Dxxupt8O.d.cts.map → markdown-table-CZMEY6IR.d.cts.map} +1 -1
- package/dist/{markdown-table-CRVCcmmS.mjs → markdown-table-CnEur72Z.mjs} +2 -2
- package/dist/{markdown-table-CRVCcmmS.mjs.map → markdown-table-CnEur72Z.mjs.map} +1 -1
- package/dist/{markdown-table-lHHt0yAj.d.cts → markdown-table-Cv3P72sN.d.cts} +3 -3
- package/dist/markdown-table-Cv3P72sN.d.cts.map +1 -0
- package/dist/{markdown-table-BKaAfa6u.mjs → markdown-table-PT2TFFY3.mjs} +1 -1
- package/dist/{markdown-table-BKaAfa6u.mjs.map → markdown-table-PT2TFFY3.mjs.map} +1 -1
- package/dist/{markdown-table-Dxxupt8O.d.cts → markdown-table-t6Z-cmxX.d.mts} +1 -1
- package/dist/{markdown-table-DIfM03TF.d.mts.map → markdown-table-t6Z-cmxX.d.mts.map} +1 -1
- package/dist/{meta-vNWUnnLO.mjs → meta-BEeFPjoM.mjs} +1 -1
- package/dist/{meta-vNWUnnLO.mjs.map → meta-BEeFPjoM.mjs.map} +1 -1
- package/dist/{meta-CyClLk1y.d.mts → meta-D0y5uZo4.d.cts} +1 -1
- package/dist/{meta-CyClLk1y.d.mts.map → meta-D0y5uZo4.d.cts.map} +1 -1
- package/dist/{meta-xgVuv08y.d.cts → meta-DJqWxY95.d.mts} +1 -1
- package/dist/{meta-xgVuv08y.d.cts.map → meta-DJqWxY95.d.mts.map} +1 -1
- package/dist/output-B5O_qz0i.cjs +44 -0
- package/dist/{output-DrYA3tAH.d.cts → output-C5BkcdCd.d.cts} +9 -4
- package/dist/output-C5BkcdCd.d.cts.map +1 -0
- package/dist/{output-DIrAcd1E.d.mts → output-C7mlHz0P.d.mts} +9 -4
- package/dist/output-C7mlHz0P.d.mts.map +1 -0
- package/dist/output-DcuryjuV.mjs +39 -0
- package/dist/output-DcuryjuV.mjs.map +1 -0
- package/dist/output-XvUhyMSi.d.cts +24 -0
- package/dist/output-XvUhyMSi.d.cts.map +1 -0
- package/dist/{plugin-aN6BnM8T.d.cts → plugin-CyBCpZyU.d.mts} +3 -5
- package/dist/plugin-CyBCpZyU.d.mts.map +1 -0
- package/dist/{plugin-c-C_CW4P.d.mts → plugin-DIlnN1SV.d.cts} +3 -5
- package/dist/plugin-DIlnN1SV.d.cts.map +1 -0
- package/dist/{record-expression-DYCDlTyT.d.mts → record-expression-ChoLAsVS.d.mts} +1 -1
- package/dist/{record-expression-B4Wa9HOn.d.cts.map → record-expression-ChoLAsVS.d.mts.map} +1 -1
- package/dist/{record-expression-BHpXe3mY.mjs → record-expression-D5W72rZN.mjs} +1 -1
- package/dist/{record-expression-BHpXe3mY.mjs.map → record-expression-D5W72rZN.mjs.map} +1 -1
- package/dist/{record-expression-B4Wa9HOn.d.cts → record-expression-Dwg_PZpg.d.cts} +1 -1
- package/dist/{record-expression-DYCDlTyT.d.mts.map → record-expression-Dwg_PZpg.d.cts.map} +1 -1
- package/dist/{refkey-DqDd2Fzs.d.cts → refkey-CP7MJMac.d.cts} +1 -1
- package/dist/refkey-CP7MJMac.d.cts.map +1 -0
- package/dist/{refkey-CyhX8n2z.mjs → refkey-CQVHeuAq.mjs} +1 -1
- package/dist/{refkey-CyhX8n2z.mjs.map → refkey-CQVHeuAq.mjs.map} +1 -1
- package/dist/{refkey-CqkD5Tjp.d.mts → refkey-D6OjgKgS.d.mts} +1 -1
- package/dist/refkey-D6OjgKgS.d.mts.map +1 -0
- package/dist/{reflection-CAz7PWzK.d.mts → reflection-CfOmSgDn.d.mts} +2 -2
- package/dist/{reflection-CAz7PWzK.d.mts.map → reflection-CfOmSgDn.d.mts.map} +1 -1
- package/dist/{reflection-JGVev2J6.d.cts → reflection-Q87E_-w_.d.cts} +2 -2
- package/dist/{reflection-JGVev2J6.d.cts.map → reflection-Q87E_-w_.d.cts.map} +1 -1
- package/dist/{reflection-ExLWJ473.mjs → reflection-TXYxCAwV.mjs} +1 -1
- package/dist/{reflection-ExLWJ473.mjs.map → reflection-TXYxCAwV.mjs.map} +1 -1
- package/dist/{single-line-comment-PMv_zrfe.d.mts → single-line-comment-BKFqKn-D.d.mts} +2 -2
- package/dist/{single-line-comment-PMv_zrfe.d.mts.map → single-line-comment-BKFqKn-D.d.mts.map} +1 -1
- package/dist/single-line-comment-Ct_putR7.d.mts +23 -0
- package/dist/single-line-comment-Ct_putR7.d.mts.map +1 -0
- package/dist/{single-line-comment-DWF0HxhM.d.cts → single-line-comment-D2y_A8e1.d.cts} +2 -2
- package/dist/{single-line-comment-DWF0HxhM.d.cts.map → single-line-comment-D2y_A8e1.d.cts.map} +1 -1
- package/dist/{single-line-comment-CGkTdNez.mjs → single-line-comment-DW0LUIQ2.mjs} +1 -1
- package/dist/{single-line-comment-CGkTdNez.mjs.map → single-line-comment-DW0LUIQ2.mjs.map} +1 -1
- package/dist/single-line-comment-DWQy5rrk.d.cts +23 -0
- package/dist/single-line-comment-DWQy5rrk.d.cts.map +1 -0
- package/dist/source-file-B51pGSXX.d.mts +33 -0
- package/dist/{source-file-CQl0UCgf.d.mts.map → source-file-B51pGSXX.d.mts.map} +1 -1
- package/dist/{source-file-CQl0UCgf.d.mts → source-file-BhqYj8m-.d.mts} +2 -2
- package/dist/{source-file-K-TgMOts.d.cts.map → source-file-BhqYj8m-.d.mts.map} +1 -1
- package/dist/{source-file-C2DlmRUm.mjs → source-file-Bl7eV0Li.mjs} +2 -2
- package/dist/{source-file-C2DlmRUm.mjs.map → source-file-Bl7eV0Li.mjs.map} +1 -1
- package/dist/source-file-DiisOeS2.d.cts +33 -0
- package/dist/source-file-DiisOeS2.d.cts.map +1 -0
- package/dist/{source-file-C8ntga6V.cjs → source-file-DnqaQY90.cjs} +1 -1
- package/dist/{source-file-K-TgMOts.d.cts → source-file-gMJwiJAw.d.cts} +2 -2
- package/dist/source-file-gMJwiJAw.d.cts.map +1 -0
- package/dist/{tsdoc-fSRc8v2O.cjs → tsdoc-BufL8muf.cjs} +1 -1
- package/dist/{tsdoc-C9i5z6EE.mjs → tsdoc-DB1Qzwsn.mjs} +2 -2
- package/dist/{tsdoc-C9i5z6EE.mjs.map → tsdoc-DB1Qzwsn.mjs.map} +1 -1
- package/dist/{tsdoc-BlBkyIWO.d.cts → tsdoc-DiBR7m1J.d.cts} +3 -3
- package/dist/{tsdoc-BlBkyIWO.d.cts.map → tsdoc-DiBR7m1J.d.cts.map} +1 -1
- package/dist/{tsdoc-cuL_4mkw.d.mts → tsdoc-KHfXy9HE.d.mts} +2 -2
- package/dist/{tsdoc-cuL_4mkw.d.mts.map → tsdoc-KHfXy9HE.d.mts.map} +1 -1
- package/dist/{tsdoc-reflection-BpkFCXw6.cjs → tsdoc-reflection-B5-J4ia-.cjs} +2 -2
- package/dist/{tsdoc-reflection-BFTBtjQ2.mjs → tsdoc-reflection-BGPyymTb.mjs} +3 -3
- package/dist/{tsdoc-reflection-BFTBtjQ2.mjs.map → tsdoc-reflection-BGPyymTb.mjs.map} +1 -1
- package/dist/{tsdoc-reflection-nKQBTaXx.d.mts → tsdoc-reflection-CYz5udTh.d.mts} +6 -6
- package/dist/{tsdoc-reflection-nKQBTaXx.d.mts.map → tsdoc-reflection-CYz5udTh.d.mts.map} +1 -1
- package/dist/{tsdoc-reflection-BIQsHdDs.d.cts → tsdoc-reflection-DTYkFxKy.d.cts} +6 -6
- package/dist/{tsdoc-reflection-BIQsHdDs.d.cts.map → tsdoc-reflection-DTYkFxKy.d.cts.map} +1 -1
- package/dist/tsdoc-reflection-cRd43W18.d.cts +19 -0
- package/dist/tsdoc-reflection-cRd43W18.d.cts.map +1 -0
- package/dist/types/components.d.cts +1 -1
- package/dist/types/components.d.mts +1 -1
- package/dist/types/components.mjs +1 -1
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.mts +2 -2
- package/dist/types/index.mjs +2 -2
- package/dist/types/plugin.d.cts +1 -1
- package/dist/types/plugin.d.mts +1 -1
- package/dist/types/plugin.mjs +1 -1
- package/dist/typescript/components/builtin-file.cjs +7 -7
- package/dist/typescript/components/builtin-file.d.cts +5 -5
- package/dist/typescript/components/builtin-file.d.mts +5 -5
- package/dist/typescript/components/builtin-file.mjs +7 -7
- package/dist/typescript/components/dynamic-import-statement.d.cts +1 -1
- package/dist/typescript/components/dynamic-import-statement.d.mts +1 -1
- package/dist/typescript/components/dynamic-import-statement.mjs +1 -1
- package/dist/typescript/components/entry-file.cjs +6 -6
- package/dist/typescript/components/entry-file.d.cts +4 -4
- package/dist/typescript/components/entry-file.d.mts +4 -4
- package/dist/typescript/components/entry-file.mjs +6 -6
- package/dist/typescript/components/index.cjs +12 -12
- package/dist/typescript/components/index.d.cts +12 -12
- package/dist/typescript/components/index.d.mts +12 -12
- package/dist/typescript/components/index.mjs +15 -15
- package/dist/typescript/components/record-expression.d.cts +1 -1
- package/dist/typescript/components/record-expression.d.mts +1 -1
- package/dist/typescript/components/record-expression.mjs +1 -1
- package/dist/typescript/components/tsdoc-reflection.cjs +4 -4
- package/dist/typescript/components/tsdoc-reflection.d.cts +3 -3
- package/dist/typescript/components/tsdoc-reflection.d.mts +3 -3
- package/dist/typescript/components/tsdoc-reflection.mjs +4 -4
- package/dist/typescript/components/tsdoc.cjs +2 -2
- package/dist/typescript/components/tsdoc.d.cts +2 -2
- package/dist/typescript/components/tsdoc.d.mts +2 -2
- package/dist/typescript/components/tsdoc.mjs +2 -2
- package/dist/typescript/components/typescript-file.cjs +5 -5
- package/dist/typescript/components/typescript-file.d.cts +3 -3
- package/dist/typescript/components/typescript-file.d.mts +3 -3
- package/dist/typescript/components/typescript-file.mjs +5 -5
- package/dist/typescript/components/typescript-interface.cjs +5 -5
- package/dist/typescript/components/typescript-interface.d.cts +2 -2
- package/dist/typescript/components/typescript-interface.d.mts +2 -2
- package/dist/typescript/components/typescript-interface.mjs +5 -5
- package/dist/typescript/components/typescript-object.cjs +5 -5
- package/dist/typescript/components/typescript-object.d.cts +2 -2
- package/dist/typescript/components/typescript-object.d.mts +2 -2
- package/dist/typescript/components/typescript-object.mjs +5 -5
- package/dist/typescript/index.cjs +12 -12
- package/dist/typescript/index.d.cts +12 -12
- package/dist/typescript/index.d.mts +12 -12
- package/dist/typescript/index.mjs +15 -15
- package/dist/{typescript-CrVxDaSo.mjs → typescript-BXhP0qIJ.mjs} +1 -1
- package/dist/{typescript-CrVxDaSo.mjs.map → typescript-BXhP0qIJ.mjs.map} +1 -1
- package/dist/{typescript-BpWiXYf3.d.mts → typescript-CXP7Oa6_.d.cts} +1 -1
- package/dist/{typescript-BpWiXYf3.d.mts.map → typescript-CXP7Oa6_.d.cts.map} +1 -1
- package/dist/{typescript-CJjS7_9C.d.cts → typescript-DvynKONm.d.mts} +1 -1
- package/dist/{typescript-CJjS7_9C.d.cts.map → typescript-DvynKONm.d.mts.map} +1 -1
- package/dist/{typescript-file-DKYD5v5W.cjs → typescript-file-4oY1sIRB.cjs} +3 -3
- package/dist/{typescript-file-BPQyRh10.d.cts → typescript-file-C9TPcvPm.d.mts} +3 -3
- package/dist/{typescript-file-BPQyRh10.d.cts.map → typescript-file-C9TPcvPm.d.mts.map} +1 -1
- package/dist/{typescript-file-CWoL1YfK.d.mts → typescript-file-CJxOp_Xl.d.cts} +3 -3
- package/dist/{typescript-file-CWoL1YfK.d.mts.map → typescript-file-CJxOp_Xl.d.cts.map} +1 -1
- package/dist/typescript-file-CY0SmW6n.d.mts +50 -0
- package/dist/typescript-file-CY0SmW6n.d.mts.map +1 -0
- package/dist/typescript-file-DWYfy1-C.d.cts +50 -0
- package/dist/typescript-file-DWYfy1-C.d.cts.map +1 -0
- package/dist/{typescript-file-CZiIcJah.mjs → typescript-file-iXGdOTZv.mjs} +4 -4
- package/dist/{typescript-file-CZiIcJah.mjs.map → typescript-file-iXGdOTZv.mjs.map} +1 -1
- package/dist/{typescript-interface-BleA7_Sa.d.cts → typescript-interface-4Kxgaglq.d.mts} +6 -6
- package/dist/{typescript-interface-BleA7_Sa.d.cts.map → typescript-interface-4Kxgaglq.d.mts.map} +1 -1
- package/dist/{typescript-interface-DC2d5S0V.cjs → typescript-interface-B0AoZx3f.cjs} +2 -2
- package/dist/{typescript-interface-DkVOFLEt.d.mts → typescript-interface-B1mhCCoV.d.cts} +5 -5
- package/dist/{typescript-interface-DkVOFLEt.d.mts.map → typescript-interface-B1mhCCoV.d.cts.map} +1 -1
- package/dist/typescript-interface-C0mgTtdj.d.cts +26 -0
- package/dist/typescript-interface-C0mgTtdj.d.cts.map +1 -0
- package/dist/{typescript-interface-CDzEeHla.mjs → typescript-interface-DoEGxV_8.mjs} +3 -3
- package/dist/{typescript-interface-CDzEeHla.mjs.map → typescript-interface-DoEGxV_8.mjs.map} +1 -1
- package/dist/{typescript-object-CGjPvsYM.cjs → typescript-object-C4d4fThY.cjs} +2 -2
- package/dist/{typescript-object-FaGWSJWA.mjs → typescript-object-C5oh925V.mjs} +3 -3
- package/dist/{typescript-object-FaGWSJWA.mjs.map → typescript-object-C5oh925V.mjs.map} +1 -1
- package/dist/{typescript-object-B4V9RkaE.d.cts → typescript-object-DAepqTrw.d.cts} +6 -6
- package/dist/{typescript-object-Cphz389O.d.mts.map → typescript-object-DAepqTrw.d.cts.map} +1 -1
- package/dist/typescript-object-DUivJKpz.d.cts +30 -0
- package/dist/{typescript-object-B4V9RkaE.d.cts.map → typescript-object-DUivJKpz.d.cts.map} +1 -1
- package/dist/{typescript-object-Cphz389O.d.mts → typescript-object-TlHt1hQc.d.mts} +2 -2
- package/dist/typescript-object-TlHt1hQc.d.mts.map +1 -0
- package/package.json +16 -30
- package/dist/index-sViox9YW.d.mts +0 -1
- package/dist/index-uY8Qbwfx.d.mts +0 -1
- package/dist/output-CUxfvVVp.mjs +0 -35
- package/dist/output-CUxfvVVp.mjs.map +0 -1
- package/dist/output-Ck9L8v3E.cjs +0 -40
- package/dist/output-DIrAcd1E.d.mts.map +0 -1
- package/dist/output-DrYA3tAH.d.cts.map +0 -1
- package/dist/plugin-aN6BnM8T.d.cts.map +0 -1
- package/dist/plugin-c-C_CW4P.d.mts.map +0 -1
- package/dist/refkey-CqkD5Tjp.d.mts.map +0 -1
- package/dist/refkey-DqDd2Fzs.d.cts.map +0 -1
- package/dist/types/_internal.cjs +0 -0
- package/dist/types/_internal.d.cts +0 -42
- package/dist/types/_internal.d.cts.map +0 -1
- package/dist/types/_internal.d.mts +0 -42
- package/dist/types/_internal.d.mts.map +0 -1
- package/dist/types/_internal.mjs +0 -1
- /package/dist/{components-BYyc8-6U.cjs → components-B0evB5xd.cjs} +0 -0
- /package/dist/{components-BHsPgUVD.mjs → components-ByryZacA.mjs} +0 -0
- /package/dist/{components-C4MWIzKk.mjs → components-C3qpgLKV.mjs} +0 -0
- /package/dist/{components-DTKCKgWS.mjs → components-Cr-i-ofB.mjs} +0 -0
- /package/dist/{components-bxkcKDVx.mjs → components-NXgsRgB4.mjs} +0 -0
- /package/dist/{context-D-lZVHpZ.cjs → context-DNdlL_gp.cjs} +0 -0
- /package/dist/{contexts-D631HKlO.mjs → contexts-BqTplHQH.mjs} +0 -0
- /package/dist/{contexts-DppcDJxB.mjs → contexts-D-vYhGdM.mjs} +0 -0
- /package/dist/{contexts-Do5bLA7f.cjs → contexts-DWGMeWga.cjs} +0 -0
- /package/dist/{index--p6oQT9I.d.mts → index-BJ8-FA6N.d.cts} +0 -0
- /package/dist/{index-BUYyA1Xh.d.cts → index-BXpMZvwA.d.cts} +0 -0
- /package/dist/{index-CryTAIZM.d.mts → index-BhY1qu3m.d.cts} +0 -0
- /package/dist/{index-CyJfB4lt.d.cts → index-BjgW3E7y.d.mts} +0 -0
- /package/dist/{index-CzItj62a.d.mts → index-C3usUse7.d.mts} +0 -0
- /package/dist/{index-D9IqtUDs.d.cts → index-D13oYj4_.d.mts} +0 -0
- /package/dist/{index-Dt_vyhB_.d.cts → index-DBGd4WeR.d.mts} +0 -0
- /package/dist/{index-Iujpc9_6.d.mts → index-DdxxIAKU.d.cts} +0 -0
- /package/dist/{index-gxEAO6Ad.d.cts → index-DpEKQcoR.d.cts} +0 -0
- /package/dist/{index-qCd8f7Um.d.cts → index-gpCH5158.d.mts} +0 -0
- /package/dist/{meta-CBKMGDr1.cjs → meta-BVJcyXVs.cjs} +0 -0
- /package/dist/{plugin-DTwUbNHt.mjs → plugin-BzF8Q2v1.mjs} +0 -0
- /package/dist/{reflection-BSrdR0Qz.cjs → reflection-BktS88RM.cjs} +0 -0
- /package/dist/{single-line-comment-DvU69OGj.cjs → single-line-comment-tAWBgL9v.cjs} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"markdown-table-
|
|
1
|
+
{"version":3,"file":"markdown-table-PT2TFFY3.mjs","names":["createContext","createNamedContext","useContext","MarkdownTableColumnContext","useMarkdownTableColumn","MarkdownTableContext","columns","data","useMarkdownTable"],"sources":["../src/markdown/contexts/markdown-table.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 type { ComponentContext } from \"@alloy-js/core\";\nimport { createContext, createNamedContext, useContext } from \"@alloy-js/core\";\n\nexport interface MarkdownTableColumnContextInterface<\n T extends Record<string, any> = Record<string, any>\n> {\n index: number;\n name: keyof T;\n align: \"left\" | \"right\" | \"center\";\n width: number;\n}\n\n/**\n * The Powerlines context used in template rendering.\n */\nexport const MarkdownTableColumnContext: ComponentContext<MarkdownTableColumnContextInterface> =\n createNamedContext<MarkdownTableColumnContextInterface>(\n \"MarkdownTableColumn\",\n {} as MarkdownTableColumnContextInterface\n );\n\n/**\n * Hook to access the Powerlines Context.\n *\n * @returns The Context.\n */\nexport function useMarkdownTableColumn() {\n return useContext<MarkdownTableColumnContextInterface>(\n MarkdownTableColumnContext\n );\n}\n\nexport interface MarkdownTableContextInterface<\n T extends Record<string, any> = Record<string, any>\n> {\n columns: MarkdownTableColumnContextInterface<T>[];\n data: T[];\n}\n\n/**\n * The Powerlines context used in template rendering.\n */\nexport const MarkdownTableContext: ComponentContext<MarkdownTableContextInterface> =\n createContext<MarkdownTableContextInterface>({\n columns: [],\n data: []\n } as MarkdownTableContextInterface);\n\n/**\n * Hook to access the Powerlines Context.\n *\n * @returns The Context.\n */\nexport function useMarkdownTable() {\n return useContext<MarkdownTableContextInterface>(MarkdownTableContext);\n}\n"],"mappings":""}
|
|
@@ -35,4 +35,4 @@ declare type __ΩMarkdownTableColumnContextInterface = any[];
|
|
|
35
35
|
declare type __ΩMarkdownTableContextInterface = any[];
|
|
36
36
|
//#endregion
|
|
37
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-
|
|
38
|
+
//# sourceMappingURL=markdown-table-t6Z-cmxX.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"markdown-table-
|
|
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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"meta-
|
|
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":""}
|
|
@@ -45,4 +45,4 @@ declare function useMeta(): Record<string, MetaItem>;
|
|
|
45
45
|
declare type __ΩMetaItem = any[];
|
|
46
46
|
//#endregion
|
|
47
47
|
export { useMetaContext as a, useMeta as i, MetaItem as n, useMetaSafe as o, __ΩMetaItem as r, MetaContext as t };
|
|
48
|
-
//# sourceMappingURL=meta-
|
|
48
|
+
//# sourceMappingURL=meta-D0y5uZo4.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"meta-
|
|
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"}
|
|
@@ -45,4 +45,4 @@ declare function useMeta(): Record<string, MetaItem>;
|
|
|
45
45
|
declare type __ΩMetaItem = any[];
|
|
46
46
|
//#endregion
|
|
47
47
|
export { useMetaContext as a, useMeta as i, MetaItem as n, useMetaSafe as o, __ΩMetaItem as r, MetaContext as t };
|
|
48
|
-
//# sourceMappingURL=meta-
|
|
48
|
+
//# sourceMappingURL=meta-DJqWxY95.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"meta-
|
|
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"}
|
|
@@ -0,0 +1,44 @@
|
|
|
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,19 +1,24 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { n as MetaItem } from "./meta-D0y5uZo4.cjs";
|
|
2
|
+
import * as _alloy_js_core12 from "@alloy-js/core";
|
|
2
3
|
import { OutputProps } from "@alloy-js/core";
|
|
3
4
|
import { PluginContext } from "powerlines/types/context";
|
|
4
5
|
|
|
5
6
|
//#region src/core/components/output.d.ts
|
|
6
|
-
interface OutputProps$1<TContext extends PluginContext = PluginContext> extends OutputProps {
|
|
7
|
+
interface OutputProps$1<TContext extends PluginContext = PluginContext> extends Omit<OutputProps, "basePath"> {
|
|
7
8
|
/**
|
|
8
9
|
* The current Powerlines process context.
|
|
9
10
|
*/
|
|
10
11
|
context: TContext;
|
|
12
|
+
/**
|
|
13
|
+
* The file metadata collected during rendering.
|
|
14
|
+
*/
|
|
15
|
+
meta: Record<string, MetaItem>;
|
|
11
16
|
}
|
|
12
17
|
/**
|
|
13
18
|
* Output component for rendering the Powerlines plugin's output files via templates.
|
|
14
19
|
*/
|
|
15
|
-
declare function Output<TContext extends PluginContext = PluginContext>(props: OutputProps$1<TContext>):
|
|
20
|
+
declare function Output<TContext extends PluginContext = PluginContext>(props: OutputProps$1<TContext>): _alloy_js_core12.Children;
|
|
16
21
|
declare type __ΩOutputProps = any[];
|
|
17
22
|
//#endregion
|
|
18
23
|
export { OutputProps$1 as n, __ΩOutputProps as r, Output as t };
|
|
19
|
-
//# sourceMappingURL=output-
|
|
24
|
+
//# sourceMappingURL=output-C5BkcdCd.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
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,19 +1,24 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { n as MetaItem } from "./meta-DJqWxY95.mjs";
|
|
2
|
+
import * as _alloy_js_core0 from "@alloy-js/core";
|
|
2
3
|
import { OutputProps } from "@alloy-js/core";
|
|
3
4
|
import { PluginContext } from "powerlines/types/context";
|
|
4
5
|
|
|
5
6
|
//#region src/core/components/output.d.ts
|
|
6
|
-
interface OutputProps$1<TContext extends PluginContext = PluginContext> extends OutputProps {
|
|
7
|
+
interface OutputProps$1<TContext extends PluginContext = PluginContext> extends Omit<OutputProps, "basePath"> {
|
|
7
8
|
/**
|
|
8
9
|
* The current Powerlines process context.
|
|
9
10
|
*/
|
|
10
11
|
context: TContext;
|
|
12
|
+
/**
|
|
13
|
+
* The file metadata collected during rendering.
|
|
14
|
+
*/
|
|
15
|
+
meta: Record<string, MetaItem>;
|
|
11
16
|
}
|
|
12
17
|
/**
|
|
13
18
|
* Output component for rendering the Powerlines plugin's output files via templates.
|
|
14
19
|
*/
|
|
15
|
-
declare function Output$1<TContext extends PluginContext = PluginContext>(props: OutputProps$1<TContext>):
|
|
20
|
+
declare function Output$1<TContext extends PluginContext = PluginContext>(props: OutputProps$1<TContext>): _alloy_js_core0.Children;
|
|
16
21
|
declare type __ΩOutputProps = any[];
|
|
17
22
|
//#endregion
|
|
18
23
|
export { OutputProps$1 as n, __ΩOutputProps as r, Output$1 as t };
|
|
19
|
-
//# sourceMappingURL=output-
|
|
24
|
+
//# sourceMappingURL=output-C7mlHz0P.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,39 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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":""}
|
|
@@ -0,0 +1,24 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PrintTreeOptions } from "@alloy-js/core";
|
|
2
2
|
import { PluginContext } from "powerlines/types/context";
|
|
3
3
|
import { BabelPluginResolvedConfig, BabelPluginUserConfig } from "@powerlines/plugin-babel/types/plugin";
|
|
4
4
|
|
|
@@ -29,13 +29,11 @@ type AlloyPluginUserConfig = BabelPluginUserConfig & {
|
|
|
29
29
|
type AlloyPluginResolvedConfig = BabelPluginResolvedConfig & {
|
|
30
30
|
alloy: AlloyPluginOptions;
|
|
31
31
|
};
|
|
32
|
-
type AlloyPluginContext<TResolvedConfig extends AlloyPluginResolvedConfig = AlloyPluginResolvedConfig> = PluginContext<TResolvedConfig
|
|
33
|
-
render: (child: Children) => Promise<void>;
|
|
34
|
-
};
|
|
32
|
+
type AlloyPluginContext<TResolvedConfig extends AlloyPluginResolvedConfig = AlloyPluginResolvedConfig> = PluginContext<TResolvedConfig>;
|
|
35
33
|
declare type __ΩAlloyPluginOptions = any[];
|
|
36
34
|
declare type __ΩAlloyPluginUserConfig = any[];
|
|
37
35
|
declare type __ΩAlloyPluginResolvedConfig = any[];
|
|
38
36
|
declare type __ΩAlloyPluginContext = any[];
|
|
39
37
|
//#endregion
|
|
40
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 };
|
|
41
|
-
//# sourceMappingURL=plugin-
|
|
39
|
+
//# sourceMappingURL=plugin-CyBCpZyU.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
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,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PrintTreeOptions } from "@alloy-js/core";
|
|
2
2
|
import { PluginContext } from "powerlines/types/context";
|
|
3
3
|
import { BabelPluginResolvedConfig, BabelPluginUserConfig } from "@powerlines/plugin-babel/types/plugin";
|
|
4
4
|
|
|
@@ -29,13 +29,11 @@ type AlloyPluginUserConfig = BabelPluginUserConfig & {
|
|
|
29
29
|
type AlloyPluginResolvedConfig = BabelPluginResolvedConfig & {
|
|
30
30
|
alloy: AlloyPluginOptions;
|
|
31
31
|
};
|
|
32
|
-
type AlloyPluginContext<TResolvedConfig extends AlloyPluginResolvedConfig = AlloyPluginResolvedConfig> = PluginContext<TResolvedConfig
|
|
33
|
-
render: (child: Children) => Promise<void>;
|
|
34
|
-
};
|
|
32
|
+
type AlloyPluginContext<TResolvedConfig extends AlloyPluginResolvedConfig = AlloyPluginResolvedConfig> = PluginContext<TResolvedConfig>;
|
|
35
33
|
declare type __ΩAlloyPluginOptions = any[];
|
|
36
34
|
declare type __ΩAlloyPluginUserConfig = any[];
|
|
37
35
|
declare type __ΩAlloyPluginResolvedConfig = any[];
|
|
38
36
|
declare type __ΩAlloyPluginContext = any[];
|
|
39
37
|
//#endregion
|
|
40
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 };
|
|
41
|
-
//# sourceMappingURL=plugin-
|
|
39
|
+
//# sourceMappingURL=plugin-DIlnN1SV.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -10,4 +10,4 @@ declare function RecordExpression({
|
|
|
10
10
|
declare type __ΩRecordExpressionProps = any[];
|
|
11
11
|
//#endregion
|
|
12
12
|
export { RecordExpressionProps as n, __ΩRecordExpressionProps as r, RecordExpression as t };
|
|
13
|
-
//# sourceMappingURL=record-expression-
|
|
13
|
+
//# sourceMappingURL=record-expression-ChoLAsVS.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"record-expression-
|
|
1
|
+
{"version":3,"file":"record-expression-ChoLAsVS.d.mts","names":[],"sources":["../src/typescript/components/record-expression.tsx"],"sourcesContent":[],"mappings":";;;UAoBiB,qBAAA;eACF;AADf;AAIgB,iBAAA,gBAAA,CAAgB;EAAA;AAAA,CAAA,EAAkB,qBAAlB,CAAA,EAAuC,QAAvC;AAAG,wCAAA,GAAA,EAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"record-expression-
|
|
1
|
+
{"version":3,"file":"record-expression-D5W72rZN.mjs","names":["code","RecordExpression","elementType"],"sources":["../src/typescript/components/record-expression.tsx"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { Children, code } from \"@alloy-js/core\";\n\nexport interface RecordExpressionProps {\n elementType: Children;\n}\n\nexport function RecordExpression({ elementType }: RecordExpressionProps) {\n return code`\n Record<string, ${elementType}>\n `;\n}\n"],"mappings":""}
|
|
@@ -10,4 +10,4 @@ declare function RecordExpression({
|
|
|
10
10
|
declare type __ΩRecordExpressionProps = any[];
|
|
11
11
|
//#endregion
|
|
12
12
|
export { RecordExpressionProps as n, __ΩRecordExpressionProps as r, RecordExpression as t };
|
|
13
|
-
//# sourceMappingURL=record-expression-
|
|
13
|
+
//# sourceMappingURL=record-expression-Dwg_PZpg.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"record-expression-
|
|
1
|
+
{"version":3,"file":"record-expression-Dwg_PZpg.d.cts","names":[],"sources":["../src/typescript/components/record-expression.tsx"],"sourcesContent":[],"mappings":";;;UAoBiB,qBAAA;eACF;AADf;AAIgB,iBAAA,gBAAA,CAAgB;EAAA;AAAA,CAAA,EAAkB,qBAAlB,CAAA,EAAuC,QAAvC;AAAG,wCAAA,GAAA,EAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"refkey-CP7MJMac.d.cts","names":[],"sources":["../src/helpers/refkey.ts"],"sourcesContent":[],"mappings":";;;;;;AA0BA;;;;iBAAgB,MAAA,sBAA4B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"refkey-
|
|
1
|
+
{"version":3,"file":"refkey-CQVHeuAq.mjs","names":["refkey","refkeyExternal","args"],"sources":["../src/helpers/refkey.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 { Refkey, refkey as refkeyExternal } from \"@alloy-js/core\";\n\n/**\n * Create a refkey for the provided arguments. Passing no arguments returns a fresh refkey that is guaranteed to be unique. Otherwise, the arguments passed will be used to create a refkey for those values. Providing the same arguments will always return the same refkey.\n *\n * @remarks\n * Values are compared using the SameValueZero algorithm, which considers objects the same if they are reference identical, and primitives the same if they are the same value, with the exception of `NaN`, which is always considered equal to other `NaN` values, and `-0`, which is considered identical to `+0`\n */\nexport function refkey(...args: unknown[]): Refkey {\n return refkeyExternal(\"powerlines\", ...args);\n}\n"],"mappings":";;;;;;;;;AA0BA,SAAgBA,SAAO,GAAGE,MAAyB;AACjD,QAAOD,OAAe,cAAc,GAAGC,KAAK"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"refkey-D6OjgKgS.d.mts","names":[],"sources":["../src/helpers/refkey.ts"],"sourcesContent":[],"mappings":";;;;;;AA0BA;;;;iBAAgB,QAAA,sBAA4B"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as ReflectionOverrideInterface } from "./components-
|
|
1
|
+
import { c as ReflectionOverrideInterface } from "./components-_4e2YMfT.mjs";
|
|
2
2
|
import { ComponentContext } from "@alloy-js/core";
|
|
3
3
|
import { ReflectionClass, ReflectionMethod, ReflectionParameter, ReflectionProperty } from "@powerlines/deepkit/vendor/type";
|
|
4
4
|
|
|
@@ -50,4 +50,4 @@ declare function useReflectionParameter(): ReflectionParameter;
|
|
|
50
50
|
declare type __ΩReflectionClassContextInterface = any[];
|
|
51
51
|
//#endregion
|
|
52
52
|
export { ReflectionPropertyContext as a, useReflectionMethod as c, ReflectionParameterContext as i, useReflectionParameter as l, ReflectionClassContextInterface as n, __ΩReflectionClassContextInterface as o, ReflectionMethodContext as r, useReflectionClass as s, ReflectionClassContext as t, useReflectionProperty as u };
|
|
53
|
-
//# sourceMappingURL=reflection-
|
|
53
|
+
//# sourceMappingURL=reflection-CfOmSgDn.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reflection-
|
|
1
|
+
{"version":3,"file":"reflection-CfOmSgDn.d.mts","names":[],"sources":["../src/core/contexts/reflection.ts"],"sourcesContent":[],"mappings":";;;;;UA4BiB,0CACL,sBAAsB;cAEpB,gBAAgB;EAHb,QAAA,CAAA,EAIJ,2BAJmC,CAIP,CAJO,CAAA;;;;;AAIP,cAM5B,sBAN4B,EAMJ,gBANI,CAOvC,+BAPuC,CAAA,GAAA,CAAA,CAAA;;;AAMzC;AASA;;AACkC,iBADlB,kBACkB,CAAA,UAAtB,MAAsB,CAAA,MAAA,EAAA,GAAA,CAAA,GAAA,MAAA,CAAA,MAAA,EAAA,GAAA,CAAA,CAAA,CAAA,CAAA,EAAmB,+BAAnB,CAAmB,CAAnB,CAAA;;;;AAkBrB,cAAA,yBAA4C,EAAjB,gBAAA,CAAiB,kBAAD,CAAA;AAQxD;AAeA;AAQA;AAeA;AAQA;iBA9CgB,qBAAA,CAAA,GAAqB;;;;cAexB,yBAAyB,iBAAiB;;;;;;iBAQvC,mBAAA,CAAA,GAAmB;;;;cAetB,4BAA4B,iBAAiB;;;;;;iBAQ1C,sBAAA,CAAA,GAAsB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as ReflectionOverrideInterface } from "./components-
|
|
1
|
+
import { c as ReflectionOverrideInterface } from "./components-CvqTz7Q9.cjs";
|
|
2
2
|
import { ComponentContext } from "@alloy-js/core";
|
|
3
3
|
import { ReflectionClass, ReflectionMethod, ReflectionParameter, ReflectionProperty } from "@powerlines/deepkit/vendor/type";
|
|
4
4
|
|
|
@@ -50,4 +50,4 @@ declare function useReflectionParameter(): ReflectionParameter;
|
|
|
50
50
|
declare type __ΩReflectionClassContextInterface = any[];
|
|
51
51
|
//#endregion
|
|
52
52
|
export { ReflectionPropertyContext as a, useReflectionMethod as c, ReflectionParameterContext as i, useReflectionParameter as l, ReflectionClassContextInterface as n, __ΩReflectionClassContextInterface as o, ReflectionMethodContext as r, useReflectionClass as s, ReflectionClassContext as t, useReflectionProperty as u };
|
|
53
|
-
//# sourceMappingURL=reflection-
|
|
53
|
+
//# sourceMappingURL=reflection-Q87E_-w_.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reflection-
|
|
1
|
+
{"version":3,"file":"reflection-Q87E_-w_.d.cts","names":[],"sources":["../src/core/contexts/reflection.ts"],"sourcesContent":[],"mappings":";;;;;UA4BiB,0CACL,sBAAsB;cAEpB,gBAAgB;EAHb,QAAA,CAAA,EAIJ,2BAJmC,CAIP,CAJO,CAAA;;;;;AAIP,cAM5B,sBAN4B,EAMJ,gBANI,CAOvC,+BAPuC,CAAA,GAAA,CAAA,CAAA;;;AAMzC;AASA;;AACkC,iBADlB,kBACkB,CAAA,UAAtB,MAAsB,CAAA,MAAA,EAAA,GAAA,CAAA,GAAA,MAAA,CAAA,MAAA,EAAA,GAAA,CAAA,CAAA,CAAA,CAAA,EAAmB,+BAAnB,CAAmB,CAAnB,CAAA;;;;AAkBrB,cAAA,yBAA4C,EAAjB,gBAAA,CAAiB,kBAAD,CAAA;AAQxD;AAeA;AAQA;AAeA;AAQA;iBA9CgB,qBAAA,CAAA,GAAqB;;;;cAexB,yBAAyB,iBAAiB;;;;;;iBAQvC,mBAAA,CAAA,GAAmB;;;;cAetB,4BAA4B,iBAAiB;;;;;;iBAQ1C,sBAAA,CAAA,GAAsB"}
|
|
@@ -58,4 +58,4 @@ function useReflectionParameter() {
|
|
|
58
58
|
|
|
59
59
|
//#endregion
|
|
60
60
|
export { useReflectionClass as a, useReflectionProperty as c, ReflectionPropertyContext as i, ReflectionMethodContext as n, useReflectionMethod as o, ReflectionParameterContext as r, useReflectionParameter as s, ReflectionClassContext as t };
|
|
61
|
-
//# sourceMappingURL=reflection-
|
|
61
|
+
//# sourceMappingURL=reflection-TXYxCAwV.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reflection-
|
|
1
|
+
{"version":3,"file":"reflection-TXYxCAwV.mjs","names":["createContext","createNamedContext","useContext","ReflectionClassContext","useReflectionClass","context","Error","ReflectionPropertyContext","useReflectionProperty","ReflectionMethodContext","useReflectionMethod","ReflectionParameterContext","useReflectionParameter"],"sources":["../src/core/contexts/reflection.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 type { ComponentContext } from \"@alloy-js/core\";\nimport { createContext, createNamedContext, useContext } from \"@alloy-js/core\";\nimport type {\n ReflectionClass,\n ReflectionMethod,\n ReflectionParameter,\n ReflectionProperty\n} from \"@powerlines/deepkit/vendor/type\";\nimport { ReflectionOverrideInterface } from \"../../types/components\";\n\nexport interface ReflectionClassContextInterface<\n T extends Record<string, any> = Record<string, any>\n> {\n reflection: ReflectionClass<T>;\n override?: ReflectionOverrideInterface<T>;\n}\n\n/**\n * The reflection class context used in template rendering.\n */\nexport const ReflectionClassContext: ComponentContext<\n ReflectionClassContextInterface<any>\n> = createContext<ReflectionClassContextInterface<any>>();\n\n/**\n * Hook to access the Reflection context.\n *\n * @returns A reactive version of the current reflection.\n */\nexport function useReflectionClass<\n T extends Record<string, any> = Record<string, any>\n>() {\n const context = useContext<ReflectionClassContextInterface<T>>(\n ReflectionClassContext\n )!;\n\n if (!context) {\n throw new Error(\n \"Powerlines - ReflectionClass Context is not set. Please make sure the Alloy components are being provided to an invocation of the `render` function added to plugins by `@powerlines/plugin-alloy`.\"\n );\n }\n\n return context;\n}\n\n/**\n * The reflection property context used in template rendering.\n */\nexport const ReflectionPropertyContext: ComponentContext<ReflectionProperty> =\n createNamedContext<ReflectionProperty>(\"ReflectionProperty\");\n\n/**\n * Hook to access the Reflection Property context.\n *\n * @returns A reactive version of the current reflection.\n */\nexport function useReflectionProperty() {\n const context = useContext<ReflectionProperty>(ReflectionPropertyContext)!;\n\n if (!context) {\n throw new Error(\n \"Powerlines - Reflection Property Context is not set. Please make sure the Alloy components are being provided to an invocation of the `render` function added to plugins by `@powerlines/plugin-alloy`.\"\n );\n }\n\n return context;\n}\n\n/**\n * The reflection method context used in template rendering.\n */\nexport const ReflectionMethodContext: ComponentContext<ReflectionMethod> =\n createNamedContext<ReflectionMethod>(\"ReflectionMethod\");\n\n/**\n * Hook to access the Reflection Method context.\n *\n * @returns A reactive version of the current reflection.\n */\nexport function useReflectionMethod() {\n const context = useContext<ReflectionMethod>(ReflectionMethodContext)!;\n\n if (!context) {\n throw new Error(\n \"Powerlines - Reflection Method Context is not set. Please make sure the Alloy components are being provided to an invocation of the `render` function added to plugins by `@powerlines/plugin-alloy`.\"\n );\n }\n\n return context;\n}\n\n/**\n * The reflection parameter context used in template rendering.\n */\nexport const ReflectionParameterContext: ComponentContext<ReflectionParameter> =\n createNamedContext<ReflectionParameter>(\"ReflectionParameter\");\n\n/**\n * Hook to access the Reflection Parameter context.\n *\n * @returns A reactive version of the current reflection.\n */\nexport function useReflectionParameter() {\n return useContext<ReflectionParameter>(ReflectionParameterContext)!;\n}\n"],"mappings":""}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as ComponentProps } from "./components-
|
|
1
|
+
import { n as ComponentProps } from "./components-_4e2YMfT.mjs";
|
|
2
2
|
import * as _alloy_js_core0 from "@alloy-js/core";
|
|
3
3
|
|
|
4
4
|
//#region src/core/components/single-line-comment.d.ts
|
|
@@ -20,4 +20,4 @@ declare type __ΩSingleLineCommentVariant = any[];
|
|
|
20
20
|
declare type __ΩSingleLineCommentProps = any[];
|
|
21
21
|
//#endregion
|
|
22
22
|
export { __ΩSingleLineCommentVariant as a, __ΩSingleLineCommentProps as i, SingleLineCommentProps as n, SingleLineCommentVariant as r, SingleLineComment as t };
|
|
23
|
-
//# sourceMappingURL=single-line-comment-
|
|
23
|
+
//# sourceMappingURL=single-line-comment-BKFqKn-D.d.mts.map
|
package/dist/{single-line-comment-PMv_zrfe.d.mts.map → single-line-comment-BKFqKn-D.d.mts.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"single-line-comment-
|
|
1
|
+
{"version":3,"file":"single-line-comment-BKFqKn-D.d.mts","names":[],"sources":["../src/core/components/single-line-comment.tsx"],"sourcesContent":[],"mappings":";;;;KAqBY,wBAAA;UAOK,sBAAA,SAA+B;;AAPhD;AAOA;AAaA;;YAPY;;;;;;iBAOI,iBAAA,QAAyB,yBAAsB,eAAA,CAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { n as ComponentProps } from "./components-_4e2YMfT.mjs";
|
|
2
|
+
import * as _alloy_js_core1 from "@alloy-js/core";
|
|
3
|
+
|
|
4
|
+
//#region src/core/components/single-line-comment.d.ts
|
|
5
|
+
type SingleLineCommentVariant = "double-slash" | "triple-slash" | "slash-star" | "slash-star-star" | "markdown";
|
|
6
|
+
interface SingleLineCommentProps extends ComponentProps {
|
|
7
|
+
/**
|
|
8
|
+
* The variant of the single line comment.
|
|
9
|
+
*
|
|
10
|
+
* @defaultValue "double-slash"
|
|
11
|
+
*/
|
|
12
|
+
variant?: SingleLineCommentVariant;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* A single line comment block. The children are rendered as a prose element, which means that they
|
|
16
|
+
* are broken into multiple lines
|
|
17
|
+
*/
|
|
18
|
+
declare function SingleLineComment(props: SingleLineCommentProps): _alloy_js_core1.Children;
|
|
19
|
+
declare type __ΩSingleLineCommentVariant = any[];
|
|
20
|
+
declare type __ΩSingleLineCommentProps = any[];
|
|
21
|
+
//#endregion
|
|
22
|
+
export { __ΩSingleLineCommentVariant as a, __ΩSingleLineCommentProps as i, SingleLineCommentProps as n, SingleLineCommentVariant as r, SingleLineComment as t };
|
|
23
|
+
//# sourceMappingURL=single-line-comment-Ct_putR7.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"single-line-comment-Ct_putR7.d.mts","names":[],"sources":["../src/core/components/single-line-comment.tsx"],"sourcesContent":[],"mappings":";;;;KAqBY,wBAAA;UAOK,sBAAA,SAA+B;;AAPhD;AAOA;AAaA;;YAPY;;;;;;iBAOI,iBAAA,QAAyB,yBAAsB,eAAA,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as ComponentProps } from "./components-
|
|
1
|
+
import { n as ComponentProps } from "./components-CvqTz7Q9.cjs";
|
|
2
2
|
import * as _alloy_js_core13 from "@alloy-js/core";
|
|
3
3
|
|
|
4
4
|
//#region src/core/components/single-line-comment.d.ts
|
|
@@ -20,4 +20,4 @@ declare type __ΩSingleLineCommentVariant = any[];
|
|
|
20
20
|
declare type __ΩSingleLineCommentProps = any[];
|
|
21
21
|
//#endregion
|
|
22
22
|
export { __ΩSingleLineCommentVariant as a, __ΩSingleLineCommentProps as i, SingleLineCommentProps as n, SingleLineCommentVariant as r, SingleLineComment as t };
|
|
23
|
-
//# sourceMappingURL=single-line-comment-
|
|
23
|
+
//# sourceMappingURL=single-line-comment-D2y_A8e1.d.cts.map
|
package/dist/{single-line-comment-DWF0HxhM.d.cts.map → single-line-comment-D2y_A8e1.d.cts.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"single-line-comment-
|
|
1
|
+
{"version":3,"file":"single-line-comment-D2y_A8e1.d.cts","names":[],"sources":["../src/core/components/single-line-comment.tsx"],"sourcesContent":[],"mappings":";;;;KAqBY,wBAAA;UAOK,sBAAA,SAA+B;;AAPhD;AAOA;AAaA;;YAPY;;;;;;iBAOI,iBAAA,QAAyB,yBAAsB,gBAAA,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"single-line-comment-
|
|
1
|
+
{"version":3,"file":"single-line-comment-DW0LUIQ2.mjs","names":["Prose","SingleLineComment","props","variant","children","commentStart","_$createIntrinsic","string","_$createComponent"],"sources":["../src/core/components/single-line-comment.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 { Prose } from \"@alloy-js/core\";\nimport { ComponentProps } from \"../../types/components\";\n\nexport type SingleLineCommentVariant =\n | \"double-slash\"\n | \"triple-slash\"\n | \"slash-star\"\n | \"slash-star-star\"\n | \"markdown\";\n\nexport interface SingleLineCommentProps extends ComponentProps {\n /**\n * The variant of the single line comment.\n *\n * @defaultValue \"double-slash\"\n */\n variant?: SingleLineCommentVariant;\n}\n\n/**\n * A single line comment block. The children are rendered as a prose element, which means that they\n * are broken into multiple lines\n */\nexport function SingleLineComment(props: SingleLineCommentProps) {\n const { variant = \"double-slash\", children } = props;\n\n const commentStart =\n variant === \"slash-star\"\n ? \"/* \"\n : variant === \"slash-star-star\"\n ? \"/** \"\n : variant === \"triple-slash\"\n ? \"/// \"\n : variant === \"markdown\"\n ? \"<!-- \"\n : \"// \";\n\n return (\n <>\n {commentStart}\n <align string={commentStart}>\n <Prose>{children}</Prose>\n\n {variant === \"slash-star\" || variant === \"slash-star-star\"\n ? \" */ \"\n : variant === \"markdown\"\n ? \" -->\"\n : \"\"}\n </align>\n </>\n );\n}\n"],"mappings":""}
|