@powerlines/plugin-alloy 0.19.25 → 0.19.27
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-xc-QSTiJ.d.mts → builtin-file-B1gDGzgo.d.mts} +3 -3
- package/dist/{builtin-file-Bf0byhqY.d.cts.map → builtin-file-B1gDGzgo.d.mts.map} +1 -1
- package/dist/{builtin-file-Bf0byhqY.d.cts → builtin-file-BFR1F4LN.d.cts} +5 -5
- package/dist/{builtin-file-PDckmfzE.d.cts.map → builtin-file-BFR1F4LN.d.cts.map} +1 -1
- package/dist/{builtin-file-B8Y36s1a.mjs → builtin-file-BJwCniGZ.mjs} +4 -4
- package/dist/{builtin-file-B8Y36s1a.mjs.map → builtin-file-BJwCniGZ.mjs.map} +1 -1
- package/dist/{builtin-file-BDHvdI1i.d.mts → builtin-file-CzxGDjwC.d.mts} +3 -3
- package/dist/{builtin-file-xc-QSTiJ.d.mts.map → builtin-file-CzxGDjwC.d.mts.map} +1 -1
- package/dist/{builtin-file-PDckmfzE.d.cts → builtin-file-DdgGKu84.d.cts} +5 -5
- package/dist/{builtin-file-BDHvdI1i.d.mts.map → builtin-file-DdgGKu84.d.cts.map} +1 -1
- package/dist/{capnp-CLxcoMcG.d.mts → capnp-BfsEWHU2.d.cts} +2 -2
- package/dist/{capnp-CLxcoMcG.d.mts.map → capnp-BfsEWHU2.d.cts.map} +1 -1
- package/dist/{capnp-DbPtfpg2.d.cts → capnp-DcnwPttP.d.mts} +2 -2
- package/dist/{capnp-DbPtfpg2.d.cts.map → capnp-DcnwPttP.d.mts.map} +1 -1
- package/dist/{capnp-CPbob9Cm.mjs → capnp-XK1IvfIR.mjs} +1 -1
- package/dist/{capnp-CPbob9Cm.mjs.map → capnp-XK1IvfIR.mjs.map} +1 -1
- package/dist/{components-DqfyRVFO.d.cts → components-DPPi58b5.d.cts} +1 -1
- package/dist/{components-DqfyRVFO.d.cts.map → components-DPPi58b5.d.cts.map} +1 -1
- package/dist/{components-REdw2IIi.d.mts → components-oHSM7vmp.d.mts} +1 -1
- package/dist/{components-REdw2IIi.d.mts.map → components-oHSM7vmp.d.mts.map} +1 -1
- package/dist/{context-Cfj0Wk3u.d.cts → context-C-CzW-8C.d.mts} +1 -1
- package/dist/{context-Cfj0Wk3u.d.cts.map → context-C-CzW-8C.d.mts.map} +1 -1
- package/dist/{context-zWXy6keQ.d.mts → context-CiHsTXX7.d.cts} +1 -1
- package/dist/{context-zWXy6keQ.d.mts.map → context-CiHsTXX7.d.cts.map} +1 -1
- package/dist/{context-BaVJCPfX.mjs → context-DIUW4n33.mjs} +1 -1
- package/dist/{context-BaVJCPfX.mjs.map → context-DIUW4n33.mjs.map} +1 -1
- package/dist/core/components/index.d.cts +5 -5
- package/dist/core/components/index.d.mts +5 -5
- package/dist/core/components/index.mjs +6 -6
- package/dist/core/components/output.d.cts +1 -1
- package/dist/core/components/output.d.mts +1 -1
- package/dist/core/components/output.mjs +2 -2
- 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.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.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.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.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.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.d.cts +10 -9
- package/dist/core/index.d.mts +10 -9
- package/dist/core/index.mjs +8 -8
- package/dist/{create-builtin-Bpswa0ZT.d.cts → create-builtin-BvtcWfWV.d.mts} +1 -1
- package/dist/{create-builtin-Bpswa0ZT.d.cts.map → create-builtin-BvtcWfWV.d.mts.map} +1 -1
- package/dist/{create-builtin-Be3J_vqf.mjs → create-builtin-C4n9BYjY.mjs} +1 -1
- package/dist/{create-builtin-Be3J_vqf.mjs.map → create-builtin-C4n9BYjY.mjs.map} +1 -1
- package/dist/{create-builtin-CbEjJreB.d.mts → create-builtin-CI8g-abA.d.cts} +1 -1
- package/dist/{create-builtin-CbEjJreB.d.mts.map → create-builtin-CI8g-abA.d.cts.map} +1 -1
- package/dist/{dynamic-import-statement-B4Ov9C7y.mjs → dynamic-import-statement-BVggdOVL.mjs} +1 -1
- package/dist/{dynamic-import-statement-B4Ov9C7y.mjs.map → dynamic-import-statement-BVggdOVL.mjs.map} +1 -1
- package/dist/{dynamic-import-statement-BMF8UCoZ.d.cts → dynamic-import-statement-CS1htio2.d.cts} +3 -3
- package/dist/{dynamic-import-statement-BMF8UCoZ.d.cts.map → dynamic-import-statement-CS1htio2.d.cts.map} +1 -1
- package/dist/{dynamic-import-statement-C142NY9L.d.cts → dynamic-import-statement-D4OSoBmE.d.cts} +3 -3
- package/dist/{dynamic-import-statement-C142NY9L.d.cts.map → dynamic-import-statement-D4OSoBmE.d.cts.map} +1 -1
- package/dist/{dynamic-import-statement-DSNDMC9Y.d.mts → dynamic-import-statement-pdjThvwh.d.mts} +1 -1
- package/dist/{dynamic-import-statement-DSNDMC9Y.d.mts.map → dynamic-import-statement-pdjThvwh.d.mts.map} +1 -1
- package/dist/{entry-file-DlyBq92D.d.cts → entry-file-BzKcWfGp.d.cts} +4 -4
- package/dist/{entry-file-DlyBq92D.d.cts.map → entry-file-BzKcWfGp.d.cts.map} +1 -1
- package/dist/{entry-file-CHSinjc8.d.cts → entry-file-Ccq_SXmN.d.cts} +4 -4
- package/dist/{entry-file-CHSinjc8.d.cts.map → entry-file-Ccq_SXmN.d.cts.map} +1 -1
- package/dist/{entry-file-CmJcd0C4.d.mts → entry-file-DAQKjse0.d.mts} +2 -2
- package/dist/{entry-file-CmJcd0C4.d.mts.map → entry-file-DAQKjse0.d.mts.map} +1 -1
- package/dist/{entry-file-RCTtBe-Z.d.mts → entry-file-DUBROn1J.d.mts} +4 -4
- package/dist/{entry-file-RCTtBe-Z.d.mts.map → entry-file-DUBROn1J.d.mts.map} +1 -1
- package/dist/{entry-file-DzlSog-0.mjs → entry-file-P5n-ofhK.mjs} +3 -3
- package/dist/{entry-file-DzlSog-0.mjs.map → entry-file-P5n-ofhK.mjs.map} +1 -1
- package/dist/{front-matter-CXfCT8a8.d.mts → front-matter-BZuLGCXi.d.mts} +1 -1
- package/dist/{front-matter-BxgmGhju.d.cts.map → front-matter-BZuLGCXi.d.mts.map} +1 -1
- package/dist/{front-matter-BeTG0uJA.mjs → front-matter-Dzh6QhN-.mjs} +1 -1
- package/dist/{front-matter-BeTG0uJA.mjs.map → front-matter-Dzh6QhN-.mjs.map} +1 -1
- package/dist/{front-matter-BxgmGhju.d.cts → front-matter-tYvUQe2w.d.cts} +3 -3
- package/dist/{front-matter-CXfCT8a8.d.mts.map → front-matter-tYvUQe2w.d.cts.map} +1 -1
- 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-sViox9YW.d.mts +1 -0
- package/dist/index-uY8Qbwfx.d.mts +1 -0
- package/dist/index.cjs +31 -24
- 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 +32 -25
- 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.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.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.d.cts +8 -8
- package/dist/markdown/index.d.mts +8 -8
- package/dist/markdown/index.mjs +10 -10
- package/dist/{markdown-file-CwMc-alS.d.cts → markdown-file-BDq010LJ.d.mts} +4 -4
- package/dist/{markdown-file-C0tsAvPo.d.cts.map → markdown-file-BDq010LJ.d.mts.map} +1 -1
- package/dist/{markdown-file-DwxnA0FP.d.mts → markdown-file-DUOoBT0j.d.mts} +4 -4
- package/dist/{markdown-file-CwMc-alS.d.cts.map → markdown-file-DUOoBT0j.d.mts.map} +1 -1
- package/dist/{markdown-file-C0tsAvPo.d.cts → markdown-file-Daa2WXu5.d.cts} +4 -4
- package/dist/{markdown-file-DwxnA0FP.d.mts.map → markdown-file-Daa2WXu5.d.cts.map} +1 -1
- package/dist/{markdown-file-DLIS2yeG.mjs → markdown-file-DmarbNrj.mjs} +5 -5
- package/dist/{markdown-file-DLIS2yeG.mjs.map → markdown-file-DmarbNrj.mjs.map} +1 -1
- package/dist/{markdown-file-T8cRtyd8.d.mts → markdown-file-ltW4_Q0T.d.cts} +7 -7
- package/dist/markdown-file-ltW4_Q0T.d.cts.map +1 -0
- package/dist/{markdown-table-PT2TFFY3.mjs → markdown-table-BKaAfa6u.mjs} +1 -1
- package/dist/{markdown-table-PT2TFFY3.mjs.map → markdown-table-BKaAfa6u.mjs.map} +1 -1
- package/dist/{markdown-table-CnEur72Z.mjs → markdown-table-CRVCcmmS.mjs} +2 -2
- package/dist/{markdown-table-CnEur72Z.mjs.map → markdown-table-CRVCcmmS.mjs.map} +1 -1
- package/dist/{markdown-table-D2KgJkWx.d.cts → markdown-table-C_kG5G4f.d.cts} +3 -3
- package/dist/{markdown-table-Cv6HmRUB.d.cts.map → markdown-table-C_kG5G4f.d.cts.map} +1 -1
- package/dist/{markdown-table-CZMEY6IR.d.cts → markdown-table-DIfM03TF.d.mts} +1 -1
- package/dist/{markdown-table-CZMEY6IR.d.cts.map → markdown-table-DIfM03TF.d.mts.map} +1 -1
- package/dist/{markdown-table-t6Z-cmxX.d.mts → markdown-table-Dxxupt8O.d.cts} +1 -1
- package/dist/{markdown-table-t6Z-cmxX.d.mts.map → markdown-table-Dxxupt8O.d.cts.map} +1 -1
- package/dist/{markdown-table-DFbl_3T_.d.mts → markdown-table-Dynt50_5.d.mts} +3 -3
- package/dist/{markdown-table-D2KgJkWx.d.cts.map → markdown-table-Dynt50_5.d.mts.map} +1 -1
- package/dist/{markdown-table-FflgG7B5.d.mts → markdown-table-NL_Znt5-.d.cts} +7 -7
- package/dist/markdown-table-NL_Znt5-.d.cts.map +1 -0
- package/dist/{meta-DDwBNdE3.d.cts → meta-CyClLk1y.d.mts} +1 -1
- package/dist/{meta-DDwBNdE3.d.cts.map → meta-CyClLk1y.d.mts.map} +1 -1
- package/dist/{meta-BuwJuxY9.mjs → meta-vNWUnnLO.mjs} +1 -1
- package/dist/{meta-BuwJuxY9.mjs.map → meta-vNWUnnLO.mjs.map} +1 -1
- package/dist/{meta-RtOYCV7t.d.mts → meta-xgVuv08y.d.cts} +1 -1
- package/dist/{meta-RtOYCV7t.d.mts.map → meta-xgVuv08y.d.cts.map} +1 -1
- package/dist/{output-qne-NsTE.d.cts → output-BKTOo_-D.d.cts} +3 -3
- package/dist/{output-qne-NsTE.d.cts.map → output-BKTOo_-D.d.cts.map} +1 -1
- package/dist/{output-BehYSTRr.mjs → output-CUxfvVVp.mjs} +2 -2
- package/dist/{output-BehYSTRr.mjs.map → output-CUxfvVVp.mjs.map} +1 -1
- package/dist/{output-gLuHZTGo.d.mts → output-CqvSLPi0.d.mts} +1 -1
- package/dist/{output-Law_SUlM.d.mts.map → output-CqvSLPi0.d.mts.map} +1 -1
- package/dist/{output-Law_SUlM.d.mts → output-DIrAcd1E.d.mts} +1 -1
- package/dist/{output-gLuHZTGo.d.mts.map → output-DIrAcd1E.d.mts.map} +1 -1
- package/dist/{output-CIKSJjPS.d.cts → output-DM-QQQD2.d.cts} +3 -3
- package/dist/{output-CIKSJjPS.d.cts.map → output-DM-QQQD2.d.cts.map} +1 -1
- package/dist/{plugin-C-cbPXaG.d.cts → plugin-aN6BnM8T.d.cts} +1 -1
- package/dist/{plugin-C-cbPXaG.d.cts.map → plugin-aN6BnM8T.d.cts.map} +1 -1
- package/dist/{plugin-Dn0UNaQ3.d.mts → plugin-c-C_CW4P.d.mts} +1 -1
- package/dist/{plugin-Dn0UNaQ3.d.mts.map → plugin-c-C_CW4P.d.mts.map} +1 -1
- package/dist/{record-expression-ChoLAsVS.d.mts → record-expression-B4Wa9HOn.d.cts} +1 -1
- package/dist/{record-expression-ChoLAsVS.d.mts.map → record-expression-B4Wa9HOn.d.cts.map} +1 -1
- package/dist/{record-expression-D5W72rZN.mjs → record-expression-BHpXe3mY.mjs} +1 -1
- package/dist/{record-expression-D5W72rZN.mjs.map → record-expression-BHpXe3mY.mjs.map} +1 -1
- package/dist/{record-expression-Dwg_PZpg.d.cts → record-expression-DYCDlTyT.d.mts} +1 -1
- package/dist/{record-expression-Dwg_PZpg.d.cts.map → record-expression-DYCDlTyT.d.mts.map} +1 -1
- package/dist/{refkey-D6OjgKgS.d.mts → refkey-CqkD5Tjp.d.mts} +1 -1
- package/dist/refkey-CqkD5Tjp.d.mts.map +1 -0
- package/dist/{refkey-CQVHeuAq.mjs → refkey-CyhX8n2z.mjs} +1 -1
- package/dist/{refkey-CQVHeuAq.mjs.map → refkey-CyhX8n2z.mjs.map} +1 -1
- package/dist/{refkey-CP7MJMac.d.cts → refkey-DqDd2Fzs.d.cts} +1 -1
- package/dist/refkey-DqDd2Fzs.d.cts.map +1 -0
- package/dist/{reflection-BumisltV.d.mts → reflection-CAz7PWzK.d.mts} +2 -2
- package/dist/{reflection-BumisltV.d.mts.map → reflection-CAz7PWzK.d.mts.map} +1 -1
- package/dist/{reflection-Btb1NqwS.mjs → reflection-ExLWJ473.mjs} +1 -1
- package/dist/{reflection-Btb1NqwS.mjs.map → reflection-ExLWJ473.mjs.map} +1 -1
- package/dist/{reflection-I2Uewhuo.d.cts → reflection-JGVev2J6.d.cts} +2 -2
- package/dist/{reflection-I2Uewhuo.d.cts.map → reflection-JGVev2J6.d.cts.map} +1 -1
- package/dist/{single-line-comment-B35kAUee.d.mts → single-line-comment-BF8JT7na.d.cts} +4 -4
- package/dist/{single-line-comment-B35kAUee.d.mts.map → single-line-comment-BF8JT7na.d.cts.map} +1 -1
- package/dist/{single-line-comment-MRVbskt3.mjs → single-line-comment-CGkTdNez.mjs} +1 -1
- package/dist/{single-line-comment-MRVbskt3.mjs.map → single-line-comment-CGkTdNez.mjs.map} +1 -1
- package/dist/{single-line-comment-ceejgNfU.d.mts → single-line-comment-Fbi6KSVW.d.cts} +2 -2
- package/dist/{single-line-comment-DWXxACyy.d.cts.map → single-line-comment-Fbi6KSVW.d.cts.map} +1 -1
- package/dist/{single-line-comment-DWXxACyy.d.cts → single-line-comment-PMv_zrfe.d.mts} +2 -2
- package/dist/{single-line-comment-ceejgNfU.d.mts.map → single-line-comment-PMv_zrfe.d.mts.map} +1 -1
- package/dist/{source-file-ChbaAOt8.d.mts → source-file-Bfny_Zo3.d.mts} +4 -4
- package/dist/{source-file-BNYeD1w4.d.cts.map → source-file-Bfny_Zo3.d.mts.map} +1 -1
- package/dist/{source-file-B5FSrvOa.mjs → source-file-C2DlmRUm.mjs} +2 -2
- package/dist/{source-file-B5FSrvOa.mjs.map → source-file-C2DlmRUm.mjs.map} +1 -1
- package/dist/{source-file-BNYeD1w4.d.cts → source-file-CQl0UCgf.d.mts} +2 -2
- package/dist/{source-file-ChbaAOt8.d.mts.map → source-file-CQl0UCgf.d.mts.map} +1 -1
- package/dist/{source-file-BsjyDo3Z.d.cts → source-file-DJot_Dm_.d.cts} +4 -4
- package/dist/{source-file-BsjyDo3Z.d.cts.map → source-file-DJot_Dm_.d.cts.map} +1 -1
- package/dist/{source-file-YrHdUb8H.d.mts → source-file-Dx80HTDu.d.cts} +4 -4
- package/dist/{source-file-YrHdUb8H.d.mts.map → source-file-Dx80HTDu.d.cts.map} +1 -1
- package/dist/{tsdoc-BpOXtq0v.d.cts → tsdoc-BlBkyIWO.d.cts} +2 -2
- package/dist/tsdoc-BlBkyIWO.d.cts.map +1 -0
- package/dist/{tsdoc-prhuuYav.mjs → tsdoc-C9i5z6EE.mjs} +2 -2
- package/dist/{tsdoc-prhuuYav.mjs.map → tsdoc-C9i5z6EE.mjs.map} +1 -1
- package/dist/{tsdoc-CwqGhmLe.d.mts → tsdoc-cuL_4mkw.d.mts} +2 -2
- package/dist/{tsdoc-BpOXtq0v.d.cts.map → tsdoc-cuL_4mkw.d.mts.map} +1 -1
- package/dist/{tsdoc-reflection-CQX-iDtz.mjs → tsdoc-reflection-BFTBtjQ2.mjs} +3 -3
- package/dist/{tsdoc-reflection-CQX-iDtz.mjs.map → tsdoc-reflection-BFTBtjQ2.mjs.map} +1 -1
- package/dist/{tsdoc-reflection-DpF0t1Xj.d.cts → tsdoc-reflection-Bqatkzvb.d.cts} +6 -6
- package/dist/{tsdoc-reflection-BGmCcaYs.d.cts.map → tsdoc-reflection-Bqatkzvb.d.cts.map} +1 -1
- package/dist/{tsdoc-reflection-Cak-O_qk.d.mts → tsdoc-reflection-CBmIdCMR.d.mts} +2 -2
- package/dist/{tsdoc-reflection-Cak-O_qk.d.mts.map → tsdoc-reflection-CBmIdCMR.d.mts.map} +1 -1
- package/dist/{tsdoc-reflection-B_mvCfkF.d.mts → tsdoc-reflection-D6D_9W1j.d.cts} +2 -2
- package/dist/{tsdoc-reflection-B_mvCfkF.d.mts.map → tsdoc-reflection-D6D_9W1j.d.cts.map} +1 -1
- 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/internal.cjs +0 -0
- package/dist/types/internal.d.cts +47 -0
- package/dist/types/internal.d.cts.map +1 -0
- package/dist/types/internal.d.mts +47 -0
- package/dist/types/internal.d.mts.map +1 -0
- package/dist/types/internal.mjs +1 -0
- 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.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.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.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.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.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.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.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.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.d.cts +12 -12
- package/dist/typescript/index.d.mts +12 -12
- package/dist/typescript/index.mjs +15 -15
- package/dist/{typescript-CXP7Oa6_.d.cts → typescript-BpWiXYf3.d.mts} +1 -1
- package/dist/{typescript-CXP7Oa6_.d.cts.map → typescript-BpWiXYf3.d.mts.map} +1 -1
- package/dist/{typescript-DvynKONm.d.mts → typescript-CJjS7_9C.d.cts} +1 -1
- package/dist/{typescript-DvynKONm.d.mts.map → typescript-CJjS7_9C.d.cts.map} +1 -1
- package/dist/{typescript-BXhP0qIJ.mjs → typescript-CrVxDaSo.mjs} +1 -1
- package/dist/{typescript-BXhP0qIJ.mjs.map → typescript-CrVxDaSo.mjs.map} +1 -1
- package/dist/{typescript-file-BqamPJcI.d.cts → typescript-file-BPPaMWbi.d.cts} +3 -3
- package/dist/{typescript-file-BqamPJcI.d.cts.map → typescript-file-BPPaMWbi.d.cts.map} +1 -1
- package/dist/{typescript-file-C-JfXPBj.d.cts → typescript-file-CWoL1YfK.d.mts} +3 -3
- package/dist/{typescript-file-C-JfXPBj.d.cts.map → typescript-file-CWoL1YfK.d.mts.map} +1 -1
- package/dist/{typescript-file-CNCLRiyf.mjs → typescript-file-CZiIcJah.mjs} +4 -4
- package/dist/{typescript-file-CNCLRiyf.mjs.map → typescript-file-CZiIcJah.mjs.map} +1 -1
- package/dist/{typescript-file-dsHm_Y5Y.d.mts → typescript-file-CsvsUP0u.d.mts} +3 -3
- package/dist/{typescript-file-dsHm_Y5Y.d.mts.map → typescript-file-CsvsUP0u.d.mts.map} +1 -1
- package/dist/{typescript-file-uSWR-Uzq.d.mts → typescript-file-dA_jN-zS.d.cts} +3 -3
- package/dist/{typescript-file-uSWR-Uzq.d.mts.map → typescript-file-dA_jN-zS.d.cts.map} +1 -1
- package/dist/{typescript-interface-C1n8sI7E.d.mts → typescript-interface-B4TrVU5Q.d.mts} +5 -5
- package/dist/{typescript-interface-C1n8sI7E.d.mts.map → typescript-interface-B4TrVU5Q.d.mts.map} +1 -1
- package/dist/{typescript-interface-BnRXH_zM.mjs → typescript-interface-CDzEeHla.mjs} +3 -3
- package/dist/{typescript-interface-BnRXH_zM.mjs.map → typescript-interface-CDzEeHla.mjs.map} +1 -1
- package/dist/{typescript-interface-DX0WJLCa.d.mts → typescript-interface-D-9IsIBo.d.mts} +2 -2
- package/dist/{typescript-interface-C1lcUzTa.d.cts.map → typescript-interface-D-9IsIBo.d.mts.map} +1 -1
- package/dist/{typescript-interface-C1lcUzTa.d.cts → typescript-interface-D117ftmn.d.cts} +5 -5
- package/dist/{typescript-interface-DX0WJLCa.d.mts.map → typescript-interface-D117ftmn.d.cts.map} +1 -1
- package/dist/{typescript-interface-LTD6nhQZ.d.cts → typescript-interface-DK1Lw2QY.d.cts} +5 -5
- package/dist/{typescript-interface-LTD6nhQZ.d.cts.map → typescript-interface-DK1Lw2QY.d.cts.map} +1 -1
- package/dist/{typescript-object-BHwyh1vl.d.cts → typescript-object-BklBd_r3.d.cts} +2 -2
- package/dist/{typescript-object-BHwyh1vl.d.cts.map → typescript-object-BklBd_r3.d.cts.map} +1 -1
- package/dist/{typescript-object-zP6NWofT.d.mts → typescript-object-Cphz389O.d.mts} +5 -5
- package/dist/{typescript-object-DK3sl8cB.d.mts.map → typescript-object-Cphz389O.d.mts.map} +1 -1
- package/dist/{typescript-object-BeOv-T9D.d.cts → typescript-object-DjlOpuDJ.d.cts} +5 -5
- package/dist/{typescript-object-zP6NWofT.d.mts.map → typescript-object-DjlOpuDJ.d.cts.map} +1 -1
- package/dist/{typescript-object-Dhr7lMRV.mjs → typescript-object-FaGWSJWA.mjs} +3 -3
- package/dist/{typescript-object-Dhr7lMRV.mjs.map → typescript-object-FaGWSJWA.mjs.map} +1 -1
- package/dist/{typescript-object-DK3sl8cB.d.mts → typescript-object-WobVpqpw.d.mts} +2 -2
- package/dist/{typescript-object-BeOv-T9D.d.cts.map → typescript-object-WobVpqpw.d.mts.map} +1 -1
- package/package.json +20 -6
- package/dist/front-matter-DpKD40Zz.d.cts +0 -16
- package/dist/front-matter-DpKD40Zz.d.cts.map +0 -1
- package/dist/markdown-file-T8cRtyd8.d.mts.map +0 -1
- package/dist/markdown-table-Cv6HmRUB.d.cts +0 -28
- package/dist/markdown-table-DFbl_3T_.d.mts.map +0 -1
- package/dist/markdown-table-FflgG7B5.d.mts.map +0 -1
- package/dist/refkey-CP7MJMac.d.cts.map +0 -1
- package/dist/refkey-D6OjgKgS.d.mts.map +0 -1
- package/dist/single-line-comment-VsK5yZdC.d.cts +0 -23
- package/dist/single-line-comment-VsK5yZdC.d.cts.map +0 -1
- package/dist/tsdoc-CwqGhmLe.d.mts.map +0 -1
- package/dist/tsdoc-reflection-BGmCcaYs.d.cts +0 -19
- package/dist/tsdoc-reflection-DpF0t1Xj.d.cts.map +0 -1
- /package/dist/{components-ByryZacA.mjs → components-BHsPgUVD.mjs} +0 -0
- /package/dist/{components-C3qpgLKV.mjs → components-C4MWIzKk.mjs} +0 -0
- /package/dist/{components-NXgsRgB4.mjs → components-DTKCKgWS.mjs} +0 -0
- /package/dist/{components-pztyf7qk.mjs → components-bxkcKDVx.mjs} +0 -0
- /package/dist/{contexts-D-vYhGdM.mjs → contexts-D631HKlO.mjs} +0 -0
- /package/dist/{contexts-oubuaPo0.mjs → contexts-DppcDJxB.mjs} +0 -0
- /package/dist/{index-BJ8-FA6N.d.cts → index--p6oQT9I.d.mts} +0 -0
- /package/dist/{index-BXpMZvwA.d.cts → index-BUYyA1Xh.d.cts} +0 -0
- /package/dist/{index-BhY1qu3m.d.cts → index-CryTAIZM.d.mts} +0 -0
- /package/dist/{index-BjgW3E7y.d.mts → index-CyJfB4lt.d.cts} +0 -0
- /package/dist/{index-C3usUse7.d.mts → index-CzItj62a.d.mts} +0 -0
- /package/dist/{index-D13oYj4_.d.mts → index-D9IqtUDs.d.cts} +0 -0
- /package/dist/{index-DBGd4WeR.d.mts → index-Dt_vyhB_.d.cts} +0 -0
- /package/dist/{index-DdxxIAKU.d.cts → index-Iujpc9_6.d.mts} +0 -0
- /package/dist/{index-DpEKQcoR.d.cts → index-gxEAO6Ad.d.cts} +0 -0
- /package/dist/{index-gpCH5158.d.mts → index-qCd8f7Um.d.cts} +0 -0
- /package/dist/{plugin-BzF8Q2v1.mjs → plugin-DTwUbNHt.mjs} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"markdown-file-
|
|
1
|
+
{"version":3,"file":"markdown-file-DmarbNrj.mjs","names":["code","Show","splitProps","Link","titleCase","isSetObject","SingleLineComment","SourceFile","usePowerlinesSafe","FrontMatter","MarkdownFile","props","children","storage","frontMatter","rest","_$createComponent","_$mergeProps","header","MarkdownFileHeader","filetype","reference","when","Boolean","disableEslint","disableBiome","disablePrettier","context","_$memo","Object","keys","length","data","variant","_$createIntrinsic","config","framework"],"sources":["../src/markdown/components/markdown-file.tsx"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { code, Show, splitProps } from \"@alloy-js/core\";\nimport { Link } from \"@alloy-js/markdown\";\nimport { titleCase } from \"@stryke/string-format/title-case\";\nimport { isSetObject } from \"@stryke/type-checks\";\nimport { SingleLineComment } from \"../../core/components/single-line-comment\";\nimport { SourceFile, SourceFileProps } from \"../../core/components/source-file\";\nimport { usePowerlinesSafe } from \"../../core/contexts/context\";\nimport { ComponentProps, SourceFileHeaderProps } from \"../../types/components\";\nimport { FrontMatter, FrontMatterProps } from \"./front-matter\";\n\nexport type MarkdownFileProps = Omit<SourceFileProps, \"filetype\"> &\n ComponentProps &\n MarkdownFileHeaderProps;\n\n/**\n * A base component representing a Powerlines generated markdown source file.\n *\n * @param props - The properties for the source file.\n * @returns The rendered source file component.\n */\nexport function MarkdownFile(props: MarkdownFileProps) {\n const [{ children, storage, frontMatter }, rest] = splitProps(props, [\n \"children\",\n \"storage\",\n \"frontMatter\"\n ]);\n\n return (\n <SourceFile\n header={<MarkdownFileHeader frontMatter={frontMatter} />}\n {...rest}\n filetype=\"md\"\n reference={Link}\n storage={storage}>\n <Show when={Boolean(children)}>{children}</Show>\n </SourceFile>\n );\n}\n\nexport type MarkdownFileHeaderProps = SourceFileHeaderProps & {\n frontMatter?: FrontMatterProps[\"data\"];\n};\n\n/**\n * Renders the header for a Powerlines Typescript source file.\n *\n * @param props - The properties for the source file header.\n * @returns The rendered source file header.\n */\nexport function MarkdownFileHeader(props: MarkdownFileHeaderProps) {\n const [\n {\n children,\n disableEslint = true,\n disableBiome = true,\n disablePrettier = false,\n frontMatter\n }\n ] = splitProps(props, [\n \"children\",\n \"disableEslint\",\n \"disableBiome\",\n \"disablePrettier\",\n \"frontMatter\"\n ]);\n\n const context = usePowerlinesSafe();\n\n return (\n <>\n <Show\n when={isSetObject(frontMatter) && Object.keys(frontMatter).length > 0}>\n <FrontMatter data={frontMatter!} />\n </Show>\n <Show when={Boolean(disableEslint)}>\n <SingleLineComment variant=\"markdown\">\n {\"eslint-disable\"}\n </SingleLineComment>\n <hbr />\n </Show>\n <Show when={Boolean(disablePrettier)}>\n <SingleLineComment variant=\"markdown\">\n {\"prettier-ignore\"}\n </SingleLineComment>\n <hbr />\n </Show>\n <Show when={Boolean(disableBiome)}>\n <SingleLineComment variant=\"markdown\">\n {\"biome-ignore lint: disable\"}\n </SingleLineComment>\n <hbr />\n </Show>\n <Show\n when={\n Boolean(disableEslint) ||\n Boolean(disablePrettier) ||\n Boolean(disableBiome)\n }>\n <hbr />\n </Show>\n <Show when={Boolean(children)}>\n <>\n {children}\n <hbr />\n </>\n </Show>\n <SingleLineComment variant=\"markdown\">{`Generated by ${\n titleCase(context?.config?.framework) || \"Powerlines\"\n }`}</SingleLineComment>\n <hbr />\n <SingleLineComment variant=\"markdown\">\n {code`NOTE: Do not edit this file manually - it will be overwritten automatically`}\n </SingleLineComment>\n <hbr />\n </>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;SAoDgB,aAAA;CAAA,MAAA,CAAA,EAAA,UAAA,SAAA,eAAA,QAAA,WAAA,OAAA;EAAA;;;;AAAA,QAAA,gBAAA,YAAA,WAAA,EAAA,IAAA,SAAA;AAAA,SAAA,gBAAA,oBAAA,EAAA,aAAA,CAAA;IAAA,QAAA;EAAA,UAAA;EAAA,WAAA;EAAA;EAAA,IAAA,WAAA;AAAA,UAAA,sBAAA;IAAA,IAAA,OAAA;AAAA,YAAEuB,QAAQX,SAAS;;IAAA;IAAA,CAAA;;EAAA,CAAA,CAAA;;;;;;;;;yDA8CO,wBAAAI,wBACjCV,WAAAA,OAAAA;EAAAA;EAAAA;;;;GAAAA;OAAAA,UAAAA,mBAAAA;;kBAAAA,MAAAA;GAAAA,IAAkB2B,OAAAA;AAAAA,WAAAA,WAAAA,CAAAA,CAAAA,YAAAA,YAAAA,CAAAA,EAAAA,IAAAA,OAAAA,KAAAA,YAAAA,CAAAA,SAAAA;;GAAAA,IAAAA,WAAAA;AAAAA,WAAAA,gBAAAA,aAAAA,EAAAA,MAAAA,aAAAA,CAAAA;;GAAAA,CAAAA;EAAAA,gBAAAA,MAAAA;GAAAA,IAAAA,OAAAA;AAAAA,WAAAA,QAAAA,cAAAA;;GAAAA,IAAAA,WAAAA;AAAAA,WAAAA,CAAAA,gBAAAA,mBAAO;KAAA,SAAA;KAAA,UAAA;KAAA,CAAA,EAAA,gBAAA,OAAA,EAAA,CAAA,CAAA;;GAAA,CAAA;EAAA,gBAAA,MAAA;GAAA,IAAA,OAAA;AAAA,WAAA,QAAA,gBAAA;;GAAA,IAAA,WAAA;AAAA,WAAA,CAAA,gBAAA,mBAAA;KAAA,SAAA;KAAA,UAAA;KAAA,CAAA,EAAA,gBAAA,OAAA,EAAA,CAAA,CAAA;;GAAA,CAAA;EAAA,gBAKlB,MAAA;GAAA,IAAA,OAAA;AAAA,WAAA,QAAA,aAAA;;GAAA,IAAA,WAAA;AAAA,WAAA,CAAA,gBAAA,mBAAA;KAAA,SAAA;KAAA,UAAA;KAAA,CAAA,EAAA,gBAAA,OAAA,EAAA,CAAA,CAAA;;GAAA,CAAA;EAAA,sBAAA;GAAA,IAAA,OAAA;AAAA,WAAA,QAAA,cAAA,IAAA,QAAA,gBAAA,IAAA,QAAA,aAAA;;GAAA,IAAA,WAAA;AAAA,WAAA,gBAAA,OAAA,EAAA,CAAA;;GAAA,CAAA;EAAA,gBAAA,MAAA;GAAA,IAAA,OAAA;AAAA,WAAA,QAAA,SAAA;;GAAA,IAAA,WAAA;AAAA,WAAA,CAAA,UAAA,gBAAA,OAAA,EAAA,CAAA,CAAA;;GAAA,CAAA;EAAA,gBAAuB,mBAAA;GAAA,SAAA;GAAA,IAAA,WAAA;AAAA,WAAA,gBAAA,UAAA,SAAA,QAAA,UAAA,IAAA;;GAAA,CAAA;EAAA,gBAAA,OAAA,EAAA,CAAA;EAAA,gBAEAC,mBAAAA;GAAAA,SAAAA;GAAAA,UAAAA,IAAAA;GAAAA,CAAAA;EAAAA,gBAAAA,OAAAA,EAAAA,CAAAA;EAAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as ComponentProps, p as SourceFileHeaderProps } from "./components-
|
|
2
|
-
import { n as SourceFileProps$1 } from "./source-file-
|
|
3
|
-
import { n as FrontMatterProps } from "./front-matter-
|
|
4
|
-
import * as
|
|
1
|
+
import { n as ComponentProps, p as SourceFileHeaderProps } from "./components-DPPi58b5.cjs";
|
|
2
|
+
import { n as SourceFileProps$1 } from "./source-file-Dx80HTDu.cjs";
|
|
3
|
+
import { n as FrontMatterProps } from "./front-matter-tYvUQe2w.cjs";
|
|
4
|
+
import * as _alloy_js_core16 from "@alloy-js/core";
|
|
5
5
|
|
|
6
6
|
//#region src/markdown/components/markdown-file.d.ts
|
|
7
7
|
type MarkdownFileProps = Omit<SourceFileProps$1, "filetype"> & ComponentProps & MarkdownFileHeaderProps;
|
|
@@ -11,7 +11,7 @@ type MarkdownFileProps = Omit<SourceFileProps$1, "filetype"> & ComponentProps &
|
|
|
11
11
|
* @param props - The properties for the source file.
|
|
12
12
|
* @returns The rendered source file component.
|
|
13
13
|
*/
|
|
14
|
-
declare function MarkdownFile(props: MarkdownFileProps):
|
|
14
|
+
declare function MarkdownFile(props: MarkdownFileProps): _alloy_js_core16.Children;
|
|
15
15
|
type MarkdownFileHeaderProps = SourceFileHeaderProps & {
|
|
16
16
|
frontMatter?: FrontMatterProps["data"];
|
|
17
17
|
};
|
|
@@ -21,9 +21,9 @@ type MarkdownFileHeaderProps = SourceFileHeaderProps & {
|
|
|
21
21
|
* @param props - The properties for the source file header.
|
|
22
22
|
* @returns The rendered source file header.
|
|
23
23
|
*/
|
|
24
|
-
declare function MarkdownFileHeader(props: MarkdownFileHeaderProps):
|
|
24
|
+
declare function MarkdownFileHeader(props: MarkdownFileHeaderProps): _alloy_js_core16.Children;
|
|
25
25
|
declare type __ΩMarkdownFileProps = any[];
|
|
26
26
|
declare type __ΩMarkdownFileHeaderProps = any[];
|
|
27
27
|
//#endregion
|
|
28
28
|
export { __ΩMarkdownFileHeaderProps as a, MarkdownFileProps as i, MarkdownFileHeader as n, __ΩMarkdownFileProps as o, MarkdownFileHeaderProps as r, MarkdownFile as t };
|
|
29
|
-
//# sourceMappingURL=markdown-file-
|
|
29
|
+
//# sourceMappingURL=markdown-file-ltW4_Q0T.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"markdown-file-ltW4_Q0T.d.cts","names":[],"sources":["../src/markdown/components/markdown-file.tsx"],"sourcesContent":[],"mappings":";;;;;;KA4BY,iBAAA,GAAoB,KAAK,iCACnC,iBACA;;;AAFF;;;;AAEE,iBAQc,YAAA,CARd,KAAA,EAQkC,iBARlC,CAAA,EAQmD,gBAAA,CAAA,QARnD;AAAuB,KA2Bb,uBAAA,GAA0B,qBA3Bb,GAAA;EAQT,WAAA,CAAA,EAoBA,gBApBoB,CAAA,MAAA,CAAA;AAmBpC,CAAA;AAUA;;;;;;iBAAgB,kBAAA,QAA0B,0BAAuB,gBAAA,CAAA"}
|
|
@@ -31,4 +31,4 @@ function useMarkdownTable() {
|
|
|
31
31
|
|
|
32
32
|
//#endregion
|
|
33
33
|
export { useMarkdownTableColumn as i, MarkdownTableContext as n, useMarkdownTable as r, MarkdownTableColumnContext as t };
|
|
34
|
-
//# sourceMappingURL=markdown-table-
|
|
34
|
+
//# sourceMappingURL=markdown-table-BKaAfa6u.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"markdown-table-
|
|
1
|
+
{"version":3,"file":"markdown-table-BKaAfa6u.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":""}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as MarkdownTableContext, r as useMarkdownTable } from "./markdown-table-
|
|
1
|
+
import { n as MarkdownTableContext, r as useMarkdownTable } from "./markdown-table-BKaAfa6u.mjs";
|
|
2
2
|
import { createComponent, mergeProps } from "@alloy-js/core/jsx-runtime";
|
|
3
3
|
import { Prose, Show, code, computed, splitProps } from "@alloy-js/core";
|
|
4
4
|
import { titleCase } from "@stryke/string-format/title-case";
|
|
@@ -96,4 +96,4 @@ function MarkdownTableColumnHeader(props) {
|
|
|
96
96
|
|
|
97
97
|
//#endregion
|
|
98
98
|
export { MarkdownTableColumn as n, MarkdownTableColumnHeader as r, MarkdownTable as t };
|
|
99
|
-
//# sourceMappingURL=markdown-table-
|
|
99
|
+
//# sourceMappingURL=markdown-table-CRVCcmmS.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"markdown-table-
|
|
1
|
+
{"version":3,"file":"markdown-table-CRVCcmmS.mjs","names":["code","computed","Prose","Show","splitProps","titleCase","isUndefined","MarkdownTableContext","useMarkdownTable","MarkdownTable","props","children","data","columns","Object","keys","map","name","index","align","width","_$createComponent","Provider","value","when","Boolean","MarkdownTableColumn","tableContext","columnRef","find","c","indexRef","alignRef","widthRef","textLength","content","toString","length","repeat","MarkdownTableColumnHeader","rest","_$mergeProps","fallback","useDescriptions"],"sources":["../src/markdown/components/markdown-table.tsx"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { code, computed, Prose, Show, splitProps } from \"@alloy-js/core\";\nimport { titleCase } from \"@stryke/string-format/title-case\";\nimport { isUndefined } from \"@stryke/type-checks/is-undefined\";\nimport { ComponentProps } from \"../../types/components\";\nimport {\n MarkdownTableColumnContextInterface,\n MarkdownTableContext,\n useMarkdownTable\n} from \"../contexts/markdown-table\";\n\nexport interface MarkdownTableProps<\n T extends Record<string, any> = Record<string, any>\n> extends ComponentProps {\n data: T[];\n}\n\n/**\n * Component that provides a context for rendering markdown tables.\n */\nexport function MarkdownTable<\n T extends Record<string, any> = Record<string, any>\n>(props: MarkdownTableProps<T>) {\n const [{ children, data }] = splitProps(props, [\"children\", \"data\"]);\n\n const columns = computed(() =>\n Object.keys(data).map((name: string, index: number) => ({\n index,\n name,\n align: \"left\" as const,\n width: 20\n }))\n );\n\n return (\n <MarkdownTableContext.Provider value={{ columns: columns.value, data }}>\n <Show when={Boolean(children)}>{children}</Show>\n </MarkdownTableContext.Provider>\n );\n}\n\nexport type MarkdownTableColumnProps = ComponentProps &\n Partial<Pick<MarkdownTableColumnContextInterface, \"align\">> &\n Required<Pick<MarkdownTableColumnContextInterface, \"name\">> & {\n width?: number;\n };\n\n/**\n * Component that provides a context for rendering markdown tables.\n */\nexport function MarkdownTableColumn(props: MarkdownTableColumnProps) {\n const [{ children, width, align, name }] = splitProps(props, [\n \"children\",\n \"width\",\n \"align\",\n \"name\"\n ]);\n\n const tableContext = useMarkdownTable();\n const columnRef = computed(() =>\n tableContext?.columns.find(c => c.name === name)\n );\n\n const indexRef = computed(() => columnRef.value?.index ?? 0);\n const alignRef = computed(() => columnRef.value?.align ?? align ?? \"left\");\n const widthRef = computed(() => columnRef.value?.width ?? width ?? 20);\n\n const textLength = computed(() => {\n const content = children ? children.toString() : \"\";\n\n return content.length;\n });\n\n return (\n <Prose>\n <Show when={indexRef.value === 0}>{\"|\"}</Show>\n <Show when={Boolean(children)}>\n <Prose>{code`${\n alignRef.value === \"left\"\n ? \" \".repeat(widthRef.value - textLength.value - 1)\n : \" \"\n }${children}${\n alignRef.value === \"right\"\n ? \" \".repeat(widthRef.value - textLength.value - 1)\n : \" \"\n }`}</Prose>\n </Show>\n {\"|\"}\n </Prose>\n );\n}\n\n/**\n * Component that provides a context for rendering markdown tables.\n */\nexport function MarkdownTableColumnHeader(props: MarkdownTableColumnProps) {\n const [{ children, name }, rest] = splitProps(props, [\"children\", \"name\"]);\n\n return (\n <>\n <MarkdownTableColumn {...rest} name={name}>\n <Show\n fallback={titleCase(name, {\n useDescriptions: false\n })}\n when={!isUndefined(children)}>\n {children}\n </Show>\n </MarkdownTableColumn>\n </>\n );\n}\n"],"mappings":""}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as ComponentProps } from "./components-
|
|
2
|
-
import { n as MarkdownTableColumnContextInterface } from "./markdown-table-
|
|
1
|
+
import { n as ComponentProps } from "./components-DPPi58b5.cjs";
|
|
2
|
+
import { n as MarkdownTableColumnContextInterface } from "./markdown-table-Dxxupt8O.cjs";
|
|
3
3
|
import * as _alloy_js_core1 from "@alloy-js/core";
|
|
4
4
|
|
|
5
5
|
//#region src/markdown/components/markdown-table.d.ts
|
|
@@ -25,4 +25,4 @@ declare type __ΩMarkdownTableProps = any[];
|
|
|
25
25
|
declare type __ΩMarkdownTableColumnProps = any[];
|
|
26
26
|
//#endregion
|
|
27
27
|
export { MarkdownTableProps as a, MarkdownTableColumnProps as i, MarkdownTableColumn as n, __ΩMarkdownTableColumnProps as o, MarkdownTableColumnHeader as r, __ΩMarkdownTableProps as s, MarkdownTable as t };
|
|
28
|
-
//# sourceMappingURL=markdown-table-
|
|
28
|
+
//# sourceMappingURL=markdown-table-C_kG5G4f.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"markdown-table-
|
|
1
|
+
{"version":3,"file":"markdown-table-C_kG5G4f.d.cts","names":[],"sources":["../src/markdown/components/markdown-table.tsx"],"sourcesContent":[],"mappings":";;;;;UA4BiB,6BACL,sBAAsB,6BACxB;QACF;;AAHR;;;AAGQ,iBAMQ,aANR,CAAA,UAOI,MAPJ,CAAA,MAAA,EAAA,GAAA,CAAA,GAO0B,MAP1B,CAAA,MAAA,EAAA,GAAA,CAAA,CAAA,CAAA,KAAA,EAQC,kBARD,CAQoB,CARpB,CAAA,CAAA,EAQmB,eAAA,CAAG,QARtB;AADE,KA4BE,wBAAA,GAA2B,cA5B7B,GA6BR,OA7BQ,CA6BA,IA7BA,CA6BK,mCA7BL,EAAA,OAAA,CAAA,CAAA,GA8BR,QA9BQ,CA8BC,IA9BD,CA8BM,mCA9BN,EAAA,MAAA,CAAA,CAAA,GAAA;EAAc,KAAA,CAAA,EAAA,MAAA;AAOxB,CAAA;;;;AAES,iBA4BO,mBAAA,CA5BP,KAAA,EA4BkC,wBA5BlC,CAAA,EA4B0D,eAAA,CAAA,QA5B1D;;;AAmBT;AAAuC,iBAsDvB,yBAAA,CAtDuB,KAAA,EAsDU,wBAtDV,CAAA,EAsDkC,eAAA,CAAA,QAtDlC;AACxB,qCAAA,GAAA,EAAA;AAAL,2CAAA,GAAA,EAAA"}
|
|
@@ -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-DIfM03TF.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"markdown-table-
|
|
1
|
+
{"version":3,"file":"markdown-table-DIfM03TF.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"}
|
|
@@ -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-Dxxupt8O.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"markdown-table-
|
|
1
|
+
{"version":3,"file":"markdown-table-Dxxupt8O.d.cts","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,MAAA,EAAjB,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,5 +1,5 @@
|
|
|
1
|
-
import { n as ComponentProps } from "./components-
|
|
2
|
-
import { n as MarkdownTableColumnContextInterface } from "./markdown-table-
|
|
1
|
+
import { n as ComponentProps } from "./components-oHSM7vmp.mjs";
|
|
2
|
+
import { n as MarkdownTableColumnContextInterface } from "./markdown-table-DIfM03TF.mjs";
|
|
3
3
|
import * as _alloy_js_core2 from "@alloy-js/core";
|
|
4
4
|
|
|
5
5
|
//#region src/markdown/components/markdown-table.d.ts
|
|
@@ -25,4 +25,4 @@ declare type __ΩMarkdownTableProps = any[];
|
|
|
25
25
|
declare type __ΩMarkdownTableColumnProps = any[];
|
|
26
26
|
//#endregion
|
|
27
27
|
export { MarkdownTableProps as a, MarkdownTableColumnProps as i, MarkdownTableColumn as n, __ΩMarkdownTableColumnProps as o, MarkdownTableColumnHeader as r, __ΩMarkdownTableProps as s, MarkdownTable as t };
|
|
28
|
-
//# sourceMappingURL=markdown-table-
|
|
28
|
+
//# sourceMappingURL=markdown-table-Dynt50_5.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"markdown-table-
|
|
1
|
+
{"version":3,"file":"markdown-table-Dynt50_5.d.mts","names":[],"sources":["../src/markdown/components/markdown-table.tsx"],"sourcesContent":[],"mappings":";;;;;UA4BiB,6BACL,sBAAsB,6BACxB;QACF;;AAHR;;;AAGQ,iBAMQ,aANR,CAAA,UAOI,MAPJ,CAAA,MAAA,EAAA,GAAA,CAAA,GAO0B,MAP1B,CAAA,MAAA,EAAA,GAAA,CAAA,CAAA,CAAA,KAAA,EAQC,kBARD,CAQoB,CARpB,CAAA,CAAA,EAQmB,eAAA,CAAG,QARtB;AADE,KA4BE,wBAAA,GAA2B,cA5B7B,GA6BR,OA7BQ,CA6BA,IA7BA,CA6BK,mCA7BL,EAAA,OAAA,CAAA,CAAA,GA8BR,QA9BQ,CA8BC,IA9BD,CA8BM,mCA9BN,EAAA,MAAA,CAAA,CAAA,GAAA;EAAc,KAAA,CAAA,EAAA,MAAA;AAOxB,CAAA;;;;AAES,iBA4BO,mBAAA,CA5BP,KAAA,EA4BkC,wBA5BlC,CAAA,EA4B0D,eAAA,CAAA,QA5B1D;;;AAmBT;AAAuC,iBAsDvB,yBAAA,CAtDuB,KAAA,EAsDU,wBAtDV,CAAA,EAsDkC,eAAA,CAAA,QAtDlC;AACxB,qCAAA,GAAA,EAAA;AAAL,2CAAA,GAAA,EAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as ComponentProps } from "./components-
|
|
2
|
-
import { n as MarkdownTableColumnContextInterface } from "./markdown-table-
|
|
3
|
-
import * as
|
|
1
|
+
import { n as ComponentProps } from "./components-DPPi58b5.cjs";
|
|
2
|
+
import { n as MarkdownTableColumnContextInterface } from "./markdown-table-Dxxupt8O.cjs";
|
|
3
|
+
import * as _alloy_js_core13 from "@alloy-js/core";
|
|
4
4
|
|
|
5
5
|
//#region src/markdown/components/markdown-table.d.ts
|
|
6
6
|
interface MarkdownTableProps<T extends Record<string, any> = Record<string, any>> extends ComponentProps {
|
|
@@ -9,20 +9,20 @@ interface MarkdownTableProps<T extends Record<string, any> = Record<string, any>
|
|
|
9
9
|
/**
|
|
10
10
|
* Component that provides a context for rendering markdown tables.
|
|
11
11
|
*/
|
|
12
|
-
declare function MarkdownTable<T extends Record<string, any> = Record<string, any>>(props: MarkdownTableProps<T>):
|
|
12
|
+
declare function MarkdownTable<T extends Record<string, any> = Record<string, any>>(props: MarkdownTableProps<T>): _alloy_js_core13.Children;
|
|
13
13
|
type MarkdownTableColumnProps = ComponentProps & Partial<Pick<MarkdownTableColumnContextInterface, "align">> & Required<Pick<MarkdownTableColumnContextInterface, "name">> & {
|
|
14
14
|
width?: number;
|
|
15
15
|
};
|
|
16
16
|
/**
|
|
17
17
|
* Component that provides a context for rendering markdown tables.
|
|
18
18
|
*/
|
|
19
|
-
declare function MarkdownTableColumn(props: MarkdownTableColumnProps):
|
|
19
|
+
declare function MarkdownTableColumn(props: MarkdownTableColumnProps): _alloy_js_core13.Children;
|
|
20
20
|
/**
|
|
21
21
|
* Component that provides a context for rendering markdown tables.
|
|
22
22
|
*/
|
|
23
|
-
declare function MarkdownTableColumnHeader(props: MarkdownTableColumnProps):
|
|
23
|
+
declare function MarkdownTableColumnHeader(props: MarkdownTableColumnProps): _alloy_js_core13.Children;
|
|
24
24
|
declare type __ΩMarkdownTableProps = any[];
|
|
25
25
|
declare type __ΩMarkdownTableColumnProps = any[];
|
|
26
26
|
//#endregion
|
|
27
27
|
export { MarkdownTableProps as a, MarkdownTableColumnProps as i, MarkdownTableColumn as n, __ΩMarkdownTableColumnProps as o, MarkdownTableColumnHeader as r, __ΩMarkdownTableProps as s, MarkdownTable as t };
|
|
28
|
-
//# sourceMappingURL=markdown-table-
|
|
28
|
+
//# sourceMappingURL=markdown-table-NL_Znt5-.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"markdown-table-NL_Znt5-.d.cts","names":[],"sources":["../src/markdown/components/markdown-table.tsx"],"sourcesContent":[],"mappings":";;;;;UA4BiB,6BACL,sBAAsB,6BACxB;QACF;;AAHR;;;AAGQ,iBAMQ,aANR,CAAA,UAOI,MAPJ,CAAA,MAAA,EAAA,GAAA,CAAA,GAO0B,MAP1B,CAAA,MAAA,EAAA,GAAA,CAAA,CAAA,CAAA,KAAA,EAQC,kBARD,CAQoB,CARpB,CAAA,CAAA,EAQmB,gBAAA,CAAG,QARtB;AADE,KA4BE,wBAAA,GAA2B,cA5B7B,GA6BR,OA7BQ,CA6BA,IA7BA,CA6BK,mCA7BL,EAAA,OAAA,CAAA,CAAA,GA8BR,QA9BQ,CA8BC,IA9BD,CA8BM,mCA9BN,EAAA,MAAA,CAAA,CAAA,GAAA;EAAc,KAAA,CAAA,EAAA,MAAA;AAOxB,CAAA;;;;AAES,iBA4BO,mBAAA,CA5BP,KAAA,EA4BkC,wBA5BlC,CAAA,EA4B0D,gBAAA,CAAA,QA5B1D;;;AAmBT;AAAuC,iBAsDvB,yBAAA,CAtDuB,KAAA,EAsDU,wBAtDV,CAAA,EAsDkC,gBAAA,CAAA,QAtDlC;AACxB,qCAAA,GAAA,EAAA;AAAL,2CAAA,GAAA,EAAA"}
|
|
@@ -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-CyClLk1y.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"meta-
|
|
1
|
+
{"version":3,"file":"meta-CyClLk1y.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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"meta-
|
|
1
|
+
{"version":3,"file":"meta-vNWUnnLO.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-xgVuv08y.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"meta-
|
|
1
|
+
{"version":3,"file":"meta-xgVuv08y.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"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _alloy_js_core12 from "@alloy-js/core";
|
|
2
2
|
import { OutputProps } from "@alloy-js/core";
|
|
3
3
|
import { PluginContext } from "powerlines/types/context";
|
|
4
4
|
|
|
@@ -12,8 +12,8 @@ interface OutputProps$1<TContext extends PluginContext = PluginContext> extends
|
|
|
12
12
|
/**
|
|
13
13
|
* Output component for rendering the Powerlines plugin's output files via templates.
|
|
14
14
|
*/
|
|
15
|
-
declare function Output<TContext extends PluginContext = PluginContext>(props: OutputProps$1<TContext>):
|
|
15
|
+
declare function Output<TContext extends PluginContext = PluginContext>(props: OutputProps$1<TContext>): _alloy_js_core12.Children;
|
|
16
16
|
declare type __ΩOutputProps = any[];
|
|
17
17
|
//#endregion
|
|
18
18
|
export { OutputProps$1 as n, __ΩOutputProps as r, Output as t };
|
|
19
|
-
//# sourceMappingURL=output-
|
|
19
|
+
//# sourceMappingURL=output-BKTOo_-D.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"output-
|
|
1
|
+
{"version":3,"file":"output-BKTOo_-D.d.cts","names":[],"sources":["../src/core/components/output.tsx"],"sourcesContent":[],"mappings":";;;;;UAwBiB,+BACE,gBAAgB,uBACzB;;;AAFV;EACmB,OAAA,EAKR,QALQ;;;;;AAWH,iBAAA,MAAM,CAAA,iBAAkB,aAAlB,GAAkC,aAAlC,CAAA,CAAA,KAAA,EACb,aADa,CACD,QADC,CAAA,CAAA,EACF,gBAAA,CAAU,QADR;AAAkB,8BAAA,GAAA,EAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as PowerlinesContext } from "./context-
|
|
1
|
+
import { t as PowerlinesContext } from "./context-DIUW4n33.mjs";
|
|
2
2
|
import { createComponent, mergeProps } from "@alloy-js/core/jsx-runtime";
|
|
3
3
|
import { Output, computed, splitProps } from "@alloy-js/core";
|
|
4
4
|
import { replacePath } from "@stryke/path/replace";
|
|
@@ -32,4 +32,4 @@ function Output$1(props) {
|
|
|
32
32
|
|
|
33
33
|
//#endregion
|
|
34
34
|
export { Output$1 as t };
|
|
35
|
-
//# sourceMappingURL=output-
|
|
35
|
+
//# sourceMappingURL=output-CUxfvVVp.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"output-
|
|
1
|
+
{"version":3,"file":"output-CUxfvVVp.mjs","names":["computed","Output","OutputExternal","splitProps","replacePath","PowerlinesContext","props","children","context","basePath","rest","basePathRef","workspaceConfig","workspaceRoot","contextRef","_$createComponent","Provider","value","_$mergeProps"],"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 { replacePath } from \"@stryke/path/replace\";\nimport type { PluginContext } from \"powerlines/types/context\";\nimport { PowerlinesContext } from \"../contexts/context\";\n\nexport interface OutputProps<\n TContext extends PluginContext = PluginContext\n> extends OutputPropsExternal {\n /**\n * The current Powerlines process context.\n */\n context: TContext;\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, basePath }, rest] = splitProps(props, [\n \"children\",\n \"context\",\n \"basePath\"\n ]);\n\n const basePathRef = computed(() =>\n basePath\n ? replacePath(basePath, context.workspaceConfig.workspaceRoot)\n : context.workspaceConfig.workspaceRoot\n );\n const contextRef = computed(() => context);\n\n return (\n <PowerlinesContext.Provider value={contextRef.value}>\n <OutputExternal {...rest} basePath={basePathRef.value}>\n {children}\n </OutputExternal>\n </PowerlinesContext.Provider>\n );\n}\n"],"mappings":""}
|
|
@@ -16,4 +16,4 @@ declare function Output$1<TContext extends PluginContext = PluginContext>(props:
|
|
|
16
16
|
declare type __ΩOutputProps = any[];
|
|
17
17
|
//#endregion
|
|
18
18
|
export { OutputProps$1 as n, __ΩOutputProps as r, Output$1 as t };
|
|
19
|
-
//# sourceMappingURL=output-
|
|
19
|
+
//# sourceMappingURL=output-CqvSLPi0.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"output-
|
|
1
|
+
{"version":3,"file":"output-CqvSLPi0.d.mts","names":[],"sources":["../src/core/components/output.tsx"],"sourcesContent":[],"mappings":";;;;;UAwBiB,+BACE,gBAAgB,uBACzB;;;AAFV;EACmB,OAAA,EAKR,QALQ;;;;;AAWH,iBAAA,QAAM,CAAA,iBAAkB,aAAlB,GAAkC,aAAlC,CAAA,CAAA,KAAA,EACb,aADa,CACD,QADC,CAAA,CAAA,EACF,eAAA,CAAU,QADR;AAAkB,8BAAA,GAAA,EAAA"}
|
|
@@ -16,4 +16,4 @@ declare function Output$1<TContext extends PluginContext = PluginContext>(props:
|
|
|
16
16
|
declare type __ΩOutputProps = any[];
|
|
17
17
|
//#endregion
|
|
18
18
|
export { OutputProps$1 as n, __ΩOutputProps as r, Output$1 as t };
|
|
19
|
-
//# sourceMappingURL=output-
|
|
19
|
+
//# sourceMappingURL=output-DIrAcd1E.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"output-
|
|
1
|
+
{"version":3,"file":"output-DIrAcd1E.d.mts","names":[],"sources":["../src/core/components/output.tsx"],"sourcesContent":[],"mappings":";;;;;UAwBiB,+BACE,gBAAgB,uBACzB;;;AAFV;EACmB,OAAA,EAKR,QALQ;;;;;AAWH,iBAAA,QAAM,CAAA,iBAAkB,aAAlB,GAAkC,aAAlC,CAAA,CAAA,KAAA,EACb,aADa,CACD,QADC,CAAA,CAAA,EACF,eAAA,CAAU,QADR;AAAkB,8BAAA,GAAA,EAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _alloy_js_core8 from "@alloy-js/core";
|
|
2
2
|
import { OutputProps } from "@alloy-js/core";
|
|
3
3
|
import { PluginContext } from "powerlines/types/context";
|
|
4
4
|
|
|
@@ -12,8 +12,8 @@ interface OutputProps$1<TContext extends PluginContext = PluginContext> extends
|
|
|
12
12
|
/**
|
|
13
13
|
* Output component for rendering the Powerlines plugin's output files via templates.
|
|
14
14
|
*/
|
|
15
|
-
declare function Output<TContext extends PluginContext = PluginContext>(props: OutputProps$1<TContext>):
|
|
15
|
+
declare function Output<TContext extends PluginContext = PluginContext>(props: OutputProps$1<TContext>): _alloy_js_core8.Children;
|
|
16
16
|
declare type __ΩOutputProps = any[];
|
|
17
17
|
//#endregion
|
|
18
18
|
export { OutputProps$1 as n, __ΩOutputProps as r, Output as t };
|
|
19
|
-
//# sourceMappingURL=output-
|
|
19
|
+
//# sourceMappingURL=output-DM-QQQD2.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"output-
|
|
1
|
+
{"version":3,"file":"output-DM-QQQD2.d.cts","names":[],"sources":["../src/core/components/output.tsx"],"sourcesContent":[],"mappings":";;;;;UAwBiB,+BACE,gBAAgB,uBACzB;;;AAFV;EACmB,OAAA,EAKR,QALQ;;;;;AAWH,iBAAA,MAAM,CAAA,iBAAkB,aAAlB,GAAkC,aAAlC,CAAA,CAAA,KAAA,EACb,aADa,CACD,QADC,CAAA,CAAA,EACF,eAAA,CAAU,QADR;AAAkB,8BAAA,GAAA,EAAA"}
|
|
@@ -38,4 +38,4 @@ declare type __ΩAlloyPluginResolvedConfig = any[];
|
|
|
38
38
|
declare type __ΩAlloyPluginContext = any[];
|
|
39
39
|
//#endregion
|
|
40
40
|
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-
|
|
41
|
+
//# sourceMappingURL=plugin-aN6BnM8T.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin-
|
|
1
|
+
{"version":3,"file":"plugin-aN6BnM8T.d.cts","names":[],"sources":["../src/types/plugin.ts"],"sourcesContent":[],"mappings":";;;;;KAyBY,kBAAA,GAAqB,QAAQ;;AAAzC;AAuBA;AAIA;AAIA;EAC0B,UAAA,CAAA,EAAA,OAAA;EAA4B;;;;;EAEhB,IAAA,CAAA,EAAA,OAAA;;;;;;;;KAX1B,qBAAA,GAAwB;UAC1B;;KAGE,yBAAA,GAA4B;SAC/B;;KAGG,2CACc,4BAA4B,6BAClD,cAAc;kBACA,aAAa"}
|
|
@@ -38,4 +38,4 @@ declare type __ΩAlloyPluginResolvedConfig = any[];
|
|
|
38
38
|
declare type __ΩAlloyPluginContext = any[];
|
|
39
39
|
//#endregion
|
|
40
40
|
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-
|
|
41
|
+
//# sourceMappingURL=plugin-c-C_CW4P.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin-
|
|
1
|
+
{"version":3,"file":"plugin-c-C_CW4P.d.mts","names":[],"sources":["../src/types/plugin.ts"],"sourcesContent":[],"mappings":";;;;;KAyBY,kBAAA,GAAqB,QAAQ;;AAAzC;AAuBA;AAIA;AAIA;EAC0B,UAAA,CAAA,EAAA,OAAA;EAA4B;;;;;EAEhB,IAAA,CAAA,EAAA,OAAA;;;;;;;;KAX1B,qBAAA,GAAwB;UAC1B;;KAGE,yBAAA,GAA4B;SAC/B;;KAGG,2CACc,4BAA4B,6BAClD,cAAc;kBACA,aAAa"}
|
|
@@ -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-B4Wa9HOn.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"record-expression-
|
|
1
|
+
{"version":3,"file":"record-expression-B4Wa9HOn.d.cts","names":[],"sources":["../src/typescript/components/record-expression.tsx"],"sourcesContent":[],"mappings":";;;UAoBiB,qBAAA;eACF;AADf;AAIgB,iBAAA,gBAAA,CAAgB;EAAA;AAAA,CAAA,EAAkB,qBAAlB,CAAA,EAAuC,QAAvC;AAAG,wCAAA,GAAA,EAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"record-expression-
|
|
1
|
+
{"version":3,"file":"record-expression-BHpXe3mY.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-DYCDlTyT.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"record-expression-
|
|
1
|
+
{"version":3,"file":"record-expression-DYCDlTyT.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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"refkey-CqkD5Tjp.d.mts","names":[],"sources":["../src/helpers/refkey.ts"],"sourcesContent":[],"mappings":";;;;;;AA0BA;;;;iBAAgB,QAAA,sBAA4B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"refkey-
|
|
1
|
+
{"version":3,"file":"refkey-CyhX8n2z.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-DqDd2Fzs.d.cts","names":[],"sources":["../src/helpers/refkey.ts"],"sourcesContent":[],"mappings":";;;;;;AA0BA;;;;iBAAgB,MAAA,sBAA4B"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as ReflectionOverrideInterface } from "./components-
|
|
1
|
+
import { c as ReflectionOverrideInterface } from "./components-oHSM7vmp.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-CAz7PWzK.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reflection-
|
|
1
|
+
{"version":3,"file":"reflection-CAz7PWzK.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"}
|
|
@@ -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-ExLWJ473.mjs.map
|