@powerlines/plugin-alloy 0.19.26 → 0.19.28
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-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-xc-QSTiJ.d.mts → builtin-file-CzxGDjwC.d.mts} +3 -3
- package/dist/{builtin-file-PDckmfzE.d.cts.map → builtin-file-CzxGDjwC.d.mts.map} +1 -1
- package/dist/{builtin-file-PDckmfzE.d.cts → builtin-file-RIBYvoCN.d.cts} +3 -3
- package/dist/{builtin-file-q7bTHn0Z.d.mts.map → builtin-file-RIBYvoCN.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-BgLOAe4B.d.cts → dynamic-import-statement-0zTc2EEO.d.cts} +3 -3
- package/dist/{dynamic-import-statement-BgLOAe4B.d.cts.map → dynamic-import-statement-0zTc2EEO.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-DSNDMC9Y.d.mts → dynamic-import-statement-pdjThvwh.d.mts} +1 -1
- package/dist/{dynamic-import-statement-C7f6CN_b.d.mts.map → dynamic-import-statement-pdjThvwh.d.mts.map} +1 -1
- package/dist/{entry-file-CmJcd0C4.d.mts → entry-file-BW-opsS0.d.mts} +4 -4
- package/dist/{entry-file-CmJcd0C4.d.mts.map → entry-file-BW-opsS0.d.mts.map} +1 -1
- package/dist/{entry-file-DVU9IAeI.d.cts → entry-file-Dsx2DfkL.d.cts} +4 -4
- package/dist/{entry-file-DVU9IAeI.d.cts.map → entry-file-Dsx2DfkL.d.cts.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-CXfCT8a8.d.mts.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-DpKD40Zz.d.cts → front-matter-tYvUQe2w.d.cts} +3 -3
- package/dist/{front-matter-DpKD40Zz.d.cts.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-B1dmnZ6l.d.mts.map → markdown-file-BDq010LJ.d.mts.map} +1 -1
- package/dist/{markdown-file-B1dmnZ6l.d.mts → markdown-file-Cne2IAsX.d.cts} +4 -4
- package/dist/{markdown-file-BdgX4c0b.d.cts.map → markdown-file-Cne2IAsX.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-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-t6Z-cmxX.d.mts → 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-CZMEY6IR.d.cts → 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-Cv6HmRUB.d.cts → markdown-table-Dynt50_5.d.mts} +3 -3
- package/dist/{markdown-table-BVtAeDoa.d.mts.map → markdown-table-Dynt50_5.d.mts.map} +1 -1
- package/dist/{markdown-table-D5Tg3LLV.d.cts → markdown-table-xZyyTn4L.d.cts} +7 -7
- package/dist/{markdown-table-Cv6HmRUB.d.cts.map → markdown-table-xZyyTn4L.d.cts.map} +1 -1
- 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-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-CIKSJjPS.d.cts → output-t88bpsXq.d.cts} +3 -3
- package/dist/{output-CGYPi1rL.d.cts.map → output-t88bpsXq.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-I2Uewhuo.d.cts.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-BumisltV.d.mts.map → reflection-JGVev2J6.d.cts.map} +1 -1
- package/dist/{single-line-comment-C4oS5eSd.d.mts → single-line-comment-B0sVqs7Q.d.cts} +2 -2
- package/dist/{single-line-comment-C4oS5eSd.d.mts.map → single-line-comment-B0sVqs7Q.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-DWXxACyy.d.cts → single-line-comment-PMv_zrfe.d.mts} +2 -2
- package/dist/{single-line-comment-DWXxACyy.d.cts.map → single-line-comment-PMv_zrfe.d.mts.map} +1 -1
- package/dist/{source-file-YrHdUb8H.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-BNYeD1w4.d.cts → source-file-Bhx5nuCf.d.cts} +2 -2
- package/dist/{source-file-YrHdUb8H.d.mts.map → source-file-Bhx5nuCf.d.cts.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/{tsdoc-BpOXtq0v.d.cts → tsdoc-BlBkyIWO.d.cts} +2 -2
- package/dist/{tsdoc-BpOXtq0v.d.cts.map → tsdoc-BlBkyIWO.d.cts.map} +1 -1
- 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-CwqGhmLe.d.mts.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-hz0WQ70o.d.cts → tsdoc-reflection-nKQBTaXx.d.mts} +6 -6
- package/dist/{tsdoc-reflection-Cak-O_qk.d.mts.map → tsdoc-reflection-nKQBTaXx.d.mts.map} +1 -1
- package/dist/{tsdoc-reflection-ycF-PiB9.d.cts → tsdoc-reflection-veFRE4YR.d.cts} +6 -6
- package/dist/{tsdoc-reflection-hz0WQ70o.d.cts.map → tsdoc-reflection-veFRE4YR.d.cts.map} +1 -1
- 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/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.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-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--NT6aFEW.d.cts → typescript-file-CsvsUP0u.d.mts} +3 -3
- package/dist/{typescript-file--NT6aFEW.d.cts.map → typescript-file-CsvsUP0u.d.mts.map} +1 -1
- package/dist/{typescript-file-BqamPJcI.d.cts → typescript-file-Fc4x93jB.d.cts} +3 -3
- package/dist/{typescript-file-BqamPJcI.d.cts.map → typescript-file-Fc4x93jB.d.cts.map} +1 -1
- package/dist/{typescript-interface-DX0WJLCa.d.mts → typescript-interface-BQpgao-e.d.mts} +5 -5
- package/dist/{typescript-interface-CTyDcMdt.d.mts.map → typescript-interface-BQpgao-e.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-LTD6nhQZ.d.cts → typescript-interface-CcxpE00-.d.cts} +5 -5
- package/dist/{typescript-interface-DX0WJLCa.d.mts.map → typescript-interface-CcxpE00-.d.cts.map} +1 -1
- package/dist/{typescript-object-L2Zn4zbB.d.mts → typescript-object-CQqNBUGE.d.cts} +3 -3
- package/dist/{typescript-object-DAZ_s-da.d.cts.map → typescript-object-CQqNBUGE.d.cts.map} +1 -1
- package/dist/{typescript-object-DAZ_s-da.d.cts → typescript-object-Cphz389O.d.mts} +6 -6
- package/dist/{typescript-object-L2Zn4zbB.d.mts.map → typescript-object-Cphz389O.d.mts.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/package.json +20 -6
- package/dist/builtin-file-BvEeitxx.d.cts +0 -35
- package/dist/builtin-file-BvEeitxx.d.cts.map +0 -1
- package/dist/builtin-file-q7bTHn0Z.d.mts +0 -35
- package/dist/builtin-file-xc-QSTiJ.d.mts.map +0 -1
- package/dist/dynamic-import-statement-C7f6CN_b.d.mts +0 -33
- package/dist/dynamic-import-statement-DSNDMC9Y.d.mts.map +0 -1
- package/dist/dynamic-import-statement-kxVxtCBQ.d.cts +0 -33
- package/dist/dynamic-import-statement-kxVxtCBQ.d.cts.map +0 -1
- package/dist/entry-file-Dbo9mrsH.d.cts +0 -28
- package/dist/entry-file-Dbo9mrsH.d.cts.map +0 -1
- package/dist/front-matter-s2lylY4i.d.cts +0 -16
- package/dist/front-matter-s2lylY4i.d.cts.map +0 -1
- package/dist/markdown-file-BdgX4c0b.d.cts +0 -29
- package/dist/markdown-file-CwMc-alS.d.cts.map +0 -1
- package/dist/markdown-file-T8cRtyd8.d.mts +0 -29
- package/dist/markdown-file-T8cRtyd8.d.mts.map +0 -1
- package/dist/markdown-table-BVtAeDoa.d.mts +0 -28
- package/dist/markdown-table-D5Tg3LLV.d.cts.map +0 -1
- package/dist/markdown-table-DFbl_3T_.d.mts +0 -28
- package/dist/markdown-table-DFbl_3T_.d.mts.map +0 -1
- package/dist/output-CGYPi1rL.d.cts +0 -19
- package/dist/output-CIKSJjPS.d.cts.map +0 -1
- package/dist/output-Law_SUlM.d.mts +0 -19
- package/dist/output-gLuHZTGo.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-CBaZAKTr.d.cts +0 -23
- package/dist/single-line-comment-CBaZAKTr.d.cts.map +0 -1
- package/dist/single-line-comment-ceejgNfU.d.mts +0 -23
- package/dist/single-line-comment-ceejgNfU.d.mts.map +0 -1
- package/dist/source-file-OtWS66Kr.d.cts +0 -33
- package/dist/source-file-OtWS66Kr.d.cts.map +0 -1
- package/dist/tsdoc-reflection-Cak-O_qk.d.mts +0 -19
- package/dist/tsdoc-reflection-ycF-PiB9.d.cts.map +0 -1
- package/dist/typescript-file-dsHm_Y5Y.d.mts +0 -50
- package/dist/typescript-file-dsHm_Y5Y.d.mts.map +0 -1
- package/dist/typescript-interface-CTyDcMdt.d.mts +0 -26
- package/dist/typescript-interface-LTD6nhQZ.d.cts.map +0 -1
- package/dist/typescript-object-B7G5A4j-.d.cts +0 -30
- package/dist/typescript-object-B7G5A4j-.d.cts.map +0 -1
- package/dist/typescript-object-DK3sl8cB.d.mts +0 -30
- package/dist/typescript-object-DK3sl8cB.d.mts.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
package/dist/core/index.d.cts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { n as OutputProps, r as __ΩOutputProps, t as Output } from "../output-
|
|
2
|
-
import "../components-
|
|
3
|
-
import { a as __ΩSingleLineCommentVariant, i as __ΩSingleLineCommentProps, n as SingleLineCommentProps, r as SingleLineCommentVariant, t as SingleLineComment } from "../single-line-comment-
|
|
4
|
-
import { n as SourceFileProps, r as __ΩSourceFileProps, t as SourceFile } from "../source-file-
|
|
5
|
-
import "../index-
|
|
6
|
-
import { i as usePowerlinesSafe, n as usePowerlines, r as usePowerlinesContext, t as PowerlinesContext } from "../context-
|
|
7
|
-
import { a as useMetaContext, i as useMeta, n as MetaItem, o as useMetaSafe, r as __ΩMetaItem, t as MetaContext } from "../meta-
|
|
8
|
-
import { a as ReflectionPropertyContext, c as useReflectionMethod, i as ReflectionParameterContext, l as useReflectionParameter, n as ReflectionClassContextInterface, o as __ΩReflectionClassContextInterface, r as ReflectionMethodContext, s as useReflectionClass, t as ReflectionClassContext, u as useReflectionProperty } from "../reflection-
|
|
9
|
-
import "../index-
|
|
1
|
+
import { n as OutputProps, r as __ΩOutputProps, t as Output } from "../output-t88bpsXq.cjs";
|
|
2
|
+
import "../components-DPPi58b5.cjs";
|
|
3
|
+
import { a as __ΩSingleLineCommentVariant, i as __ΩSingleLineCommentProps, n as SingleLineCommentProps, r as SingleLineCommentVariant, t as SingleLineComment } from "../single-line-comment-B0sVqs7Q.cjs";
|
|
4
|
+
import { n as SourceFileProps, r as __ΩSourceFileProps, t as SourceFile } from "../source-file-Bhx5nuCf.cjs";
|
|
5
|
+
import "../index-BUYyA1Xh.cjs";
|
|
6
|
+
import { i as usePowerlinesSafe, n as usePowerlines, r as usePowerlinesContext, t as PowerlinesContext } from "../context-CiHsTXX7.cjs";
|
|
7
|
+
import { a as useMetaContext, i as useMeta, n as MetaItem, o as useMetaSafe, r as __ΩMetaItem, t as MetaContext } from "../meta-xgVuv08y.cjs";
|
|
8
|
+
import { a as ReflectionPropertyContext, c as useReflectionMethod, i as ReflectionParameterContext, l as useReflectionParameter, n as ReflectionClassContextInterface, o as __ΩReflectionClassContextInterface, r as ReflectionMethodContext, s as useReflectionClass, t as ReflectionClassContext, u as useReflectionProperty } from "../reflection-JGVev2J6.cjs";
|
|
9
|
+
import "../index-qCd8f7Um.cjs";
|
|
10
|
+
import "../index-gxEAO6Ad.cjs";
|
|
10
11
|
export { MetaContext, MetaItem, Output, OutputProps, PowerlinesContext, ReflectionClassContext, ReflectionClassContextInterface, ReflectionMethodContext, ReflectionParameterContext, ReflectionPropertyContext, SingleLineComment, SingleLineCommentProps, SingleLineCommentVariant, SourceFile, SourceFileProps, __ΩMetaItem, __ΩOutputProps, __ΩReflectionClassContextInterface, __ΩSingleLineCommentProps, __ΩSingleLineCommentVariant, __ΩSourceFileProps, useMeta, useMetaContext, useMetaSafe, usePowerlines, usePowerlinesContext, usePowerlinesSafe, useReflectionClass, useReflectionMethod, useReflectionParameter, useReflectionProperty };
|
package/dist/core/index.d.mts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { n as OutputProps, r as __ΩOutputProps, t as Output } from "../output-
|
|
2
|
-
import "../components-
|
|
3
|
-
import { a as __ΩSingleLineCommentVariant, i as __ΩSingleLineCommentProps, n as SingleLineCommentProps, r as SingleLineCommentVariant, t as SingleLineComment } from "../single-line-comment-
|
|
4
|
-
import { n as SourceFileProps, r as __ΩSourceFileProps, t as SourceFile } from "../source-file-
|
|
5
|
-
import "../index-
|
|
6
|
-
import { i as usePowerlinesSafe, n as usePowerlines, r as usePowerlinesContext, t as PowerlinesContext } from "../context-
|
|
7
|
-
import { a as useMetaContext, i as useMeta, n as MetaItem, o as useMetaSafe, r as __ΩMetaItem, t as MetaContext } from "../meta-
|
|
8
|
-
import { a as ReflectionPropertyContext, c as useReflectionMethod, i as ReflectionParameterContext, l as useReflectionParameter, n as ReflectionClassContextInterface, o as __ΩReflectionClassContextInterface, r as ReflectionMethodContext, s as useReflectionClass, t as ReflectionClassContext, u as useReflectionProperty } from "../reflection-
|
|
9
|
-
import "../index-
|
|
1
|
+
import { n as OutputProps, r as __ΩOutputProps, t as Output } from "../output-CqvSLPi0.mjs";
|
|
2
|
+
import "../components-oHSM7vmp.mjs";
|
|
3
|
+
import { a as __ΩSingleLineCommentVariant, i as __ΩSingleLineCommentProps, n as SingleLineCommentProps, r as SingleLineCommentVariant, t as SingleLineComment } from "../single-line-comment-PMv_zrfe.mjs";
|
|
4
|
+
import { n as SourceFileProps, r as __ΩSourceFileProps, t as SourceFile } from "../source-file-Bfny_Zo3.mjs";
|
|
5
|
+
import "../index-CzItj62a.mjs";
|
|
6
|
+
import { i as usePowerlinesSafe, n as usePowerlines, r as usePowerlinesContext, t as PowerlinesContext } from "../context-C-CzW-8C.mjs";
|
|
7
|
+
import { a as useMetaContext, i as useMeta, n as MetaItem, o as useMetaSafe, r as __ΩMetaItem, t as MetaContext } from "../meta-CyClLk1y.mjs";
|
|
8
|
+
import { a as ReflectionPropertyContext, c as useReflectionMethod, i as ReflectionParameterContext, l as useReflectionParameter, n as ReflectionClassContextInterface, o as __ΩReflectionClassContextInterface, r as ReflectionMethodContext, s as useReflectionClass, t as ReflectionClassContext, u as useReflectionProperty } from "../reflection-CAz7PWzK.mjs";
|
|
9
|
+
import "../index-Iujpc9_6.mjs";
|
|
10
|
+
import "../index-sViox9YW.mjs";
|
|
10
11
|
export { MetaContext, MetaItem, Output, OutputProps, PowerlinesContext, ReflectionClassContext, ReflectionClassContextInterface, ReflectionMethodContext, ReflectionParameterContext, ReflectionPropertyContext, SingleLineComment, SingleLineCommentProps, SingleLineCommentVariant, SourceFile, SourceFileProps, __ΩMetaItem, __ΩOutputProps, __ΩReflectionClassContextInterface, __ΩSingleLineCommentProps, __ΩSingleLineCommentVariant, __ΩSourceFileProps, useMeta, useMetaContext, useMetaSafe, usePowerlines, usePowerlinesContext, usePowerlinesSafe, useReflectionClass, useReflectionMethod, useReflectionParameter, useReflectionProperty };
|
package/dist/core/index.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { i as useMetaSafe, n as useMeta, r as useMetaContext, t as MetaContext } from "../meta-
|
|
2
|
-
import { i as usePowerlinesSafe, n as usePowerlines, r as usePowerlinesContext, t as PowerlinesContext } from "../context-
|
|
3
|
-
import { t as Output } from "../output-
|
|
4
|
-
import { t as SingleLineComment } from "../single-line-comment-
|
|
5
|
-
import { t as SourceFile } from "../source-file-
|
|
6
|
-
import "../components-
|
|
7
|
-
import { a as useReflectionClass, c as useReflectionProperty, i as ReflectionPropertyContext, n as ReflectionMethodContext, o as useReflectionMethod, r as ReflectionParameterContext, s as useReflectionParameter, t as ReflectionClassContext } from "../reflection-
|
|
8
|
-
import "../contexts-
|
|
1
|
+
import { i as useMetaSafe, n as useMeta, r as useMetaContext, t as MetaContext } from "../meta-vNWUnnLO.mjs";
|
|
2
|
+
import { i as usePowerlinesSafe, n as usePowerlines, r as usePowerlinesContext, t as PowerlinesContext } from "../context-DIUW4n33.mjs";
|
|
3
|
+
import { t as Output } from "../output-CUxfvVVp.mjs";
|
|
4
|
+
import { t as SingleLineComment } from "../single-line-comment-CGkTdNez.mjs";
|
|
5
|
+
import { t as SourceFile } from "../source-file-C2DlmRUm.mjs";
|
|
6
|
+
import "../components-DTKCKgWS.mjs";
|
|
7
|
+
import { a as useReflectionClass, c as useReflectionProperty, i as ReflectionPropertyContext, n as ReflectionMethodContext, o as useReflectionMethod, r as ReflectionParameterContext, s as useReflectionParameter, t as ReflectionClassContext } from "../reflection-ExLWJ473.mjs";
|
|
8
|
+
import "../contexts-D631HKlO.mjs";
|
|
9
9
|
|
|
10
10
|
export { MetaContext, Output, PowerlinesContext, ReflectionClassContext, ReflectionMethodContext, ReflectionParameterContext, ReflectionPropertyContext, SingleLineComment, SourceFile, useMeta, useMetaContext, useMetaSafe, usePowerlines, usePowerlinesContext, usePowerlinesSafe, useReflectionClass, useReflectionMethod, useReflectionParameter, useReflectionProperty };
|
|
@@ -13,4 +13,4 @@ declare function createBuiltin<const T extends PackageDescriptor>(options: Creat
|
|
|
13
13
|
declare type __ΩCreateBuiltinOptions = any[];
|
|
14
14
|
//#endregion
|
|
15
15
|
export { __ΩCreateBuiltinOptions as n, createBuiltin as r, CreateBuiltinOptions as t };
|
|
16
|
-
//# sourceMappingURL=create-builtin-
|
|
16
|
+
//# sourceMappingURL=create-builtin-BvtcWfWV.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-builtin-
|
|
1
|
+
{"version":3,"file":"create-builtin-BvtcWfWV.d.mts","names":[],"sources":["../src/helpers/create-builtin.ts"],"sourcesContent":[],"mappings":";;;;KA0BY,+BAA+B,qBAAqB,KAC9D,mBAAmB;;AADrB;;;;;AAAoE,iBAWpD,aAXoD,CAAA,gBAWtB,iBAXsB,CAAA,CAAA,OAAA,EAYzD,oBAZyD,CAYpC,CAZoC,CAAA,CAAA,EAajE,cAbiE,CAalD,CAbkD,CAAA,GAa7C,aAb6C;AAWpD,uCAAa,GAAA,EAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-builtin-
|
|
1
|
+
{"version":3,"file":"create-builtin-C4n9BYjY.mjs","names":["createPackage","createBuiltin","options","builtin"],"sources":["../src/helpers/create-builtin.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 { SymbolCreator } from \"@alloy-js/core\";\nimport {\n createPackage,\n CreatePackageProps,\n PackageDescriptor,\n PackageRefkeys\n} from \"@alloy-js/typescript\";\n\nexport type CreateBuiltinOptions<T extends PackageDescriptor> = Omit<\n CreatePackageProps<T>,\n \"builtin\"\n>;\n\n/**\n * Creates a built-in representation of a package based on the provided descriptor.\n *\n * @param options - Properties to define the package, excluding the 'builtin' flag which is set to true.\n * @returns An object containing reference keys for the package and a symbol creator function.\n */\nexport function createBuiltin<const T extends PackageDescriptor>(\n options: CreateBuiltinOptions<T>\n): PackageRefkeys<T> & SymbolCreator {\n // const refkeys: any = {\n // [getSymbolCreatorSymbol()](binder: Binder) {\n // createSymbols(binder, props, refkeys);\n // }\n // };\n\n // for (const [path, symbols] of Object.entries(props.descriptor)) {\n // const keys = path === \".\" ? refkeys : (refkeys[path] = {});\n\n // if (symbols.default) {\n // keys.default = refkey(props.descriptor, path, \"default\");\n // }\n\n // for (const named of symbols.named ?? []) {\n // const namedObj = typeof named === \"string\" ? { name: named } : named;\n // keys[namedObj.name] = refkey();\n\n // if (namedObj.staticMembers?.length) {\n // createRefkeysForMembers(\n // namedObj.staticMembers,\n // keys[namedObj.name],\n // \"static\"\n // );\n // }\n\n // if (namedObj.instanceMembers?.length) {\n // createRefkeysForMembers(\n // namedObj.instanceMembers,\n // keys[namedObj.name],\n // \"instance\"\n // );\n // }\n\n // keys[namedObj.name][getSymbolCreatorSymbol()] = (\n // binder: Binder,\n // parentSym: TSOutputSymbol\n // ) => {\n // if (namedObj.staticMembers?.length) {\n // assignMembers(\n // binder,\n // parentSym,\n // namedObj.staticMembers,\n // keys[namedObj.name],\n // true\n // );\n // }\n // if (namedObj.instanceMembers?.length) {\n // assignMembers(\n // binder,\n // parentSym,\n // namedObj.instanceMembers,\n // keys[namedObj.name],\n // false\n // );\n // }\n // };\n // }\n // }\n\n // return refkeys;\n\n return createPackage({ ...options, builtin: true });\n}\n"],"mappings":""}
|
|
@@ -13,4 +13,4 @@ declare function createBuiltin<const T extends PackageDescriptor>(options: Creat
|
|
|
13
13
|
declare type __ΩCreateBuiltinOptions = any[];
|
|
14
14
|
//#endregion
|
|
15
15
|
export { __ΩCreateBuiltinOptions as n, createBuiltin as r, CreateBuiltinOptions as t };
|
|
16
|
-
//# sourceMappingURL=create-builtin-
|
|
16
|
+
//# sourceMappingURL=create-builtin-CI8g-abA.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-builtin-
|
|
1
|
+
{"version":3,"file":"create-builtin-CI8g-abA.d.cts","names":[],"sources":["../src/helpers/create-builtin.ts"],"sourcesContent":[],"mappings":";;;;KA0BY,+BAA+B,qBAAqB,KAC9D,mBAAmB;;AADrB;;;;;AAAoE,iBAWpD,aAXoD,CAAA,gBAWtB,iBAXsB,CAAA,CAAA,OAAA,EAYzD,oBAZyD,CAYpC,CAZoC,CAAA,CAAA,EAajE,cAbiE,CAalD,CAbkD,CAAA,GAa7C,aAb6C;AAWpD,uCAAa,GAAA,EAAA"}
|
package/dist/{dynamic-import-statement-BgLOAe4B.d.cts → dynamic-import-statement-0zTc2EEO.d.cts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _alloy_js_core13 from "@alloy-js/core";
|
|
2
2
|
import { VarDeclarationProps } from "@alloy-js/typescript";
|
|
3
3
|
|
|
4
4
|
//#region src/typescript/components/dynamic-import-statement.d.ts
|
|
@@ -26,8 +26,8 @@ interface DynamicImportStatementProps extends Omit<VarDeclarationProps, "initial
|
|
|
26
26
|
* @param props - The properties for the dynamic import statement.
|
|
27
27
|
* @returns A `VarDeclaration` component representing the dynamic import statement.
|
|
28
28
|
*/
|
|
29
|
-
declare function DynamicImportStatement(props: DynamicImportStatementProps):
|
|
29
|
+
declare function DynamicImportStatement(props: DynamicImportStatementProps): _alloy_js_core13.Children;
|
|
30
30
|
declare type __ΩDynamicImportStatementProps = any[];
|
|
31
31
|
//#endregion
|
|
32
32
|
export { DynamicImportStatementProps as n, __ΩDynamicImportStatementProps as r, DynamicImportStatement as t };
|
|
33
|
-
//# sourceMappingURL=dynamic-import-statement-
|
|
33
|
+
//# sourceMappingURL=dynamic-import-statement-0zTc2EEO.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dynamic-import-statement-
|
|
1
|
+
{"version":3,"file":"dynamic-import-statement-0zTc2EEO.d.cts","names":[],"sources":["../src/typescript/components/dynamic-import-statement.tsx"],"sourcesContent":[],"mappings":";;;;UAqBiB,2BAAA,SAAoC,KACnD;;;AADF;EA6BgB,UAAA,EAAA,MAAA;;;;;;;;;;;;;;;;;;;;iBAAA,sBAAA,QAA8B,8BAA2B,gBAAA,CAAA"}
|
package/dist/{dynamic-import-statement-B4Ov9C7y.mjs.map → dynamic-import-statement-BVggdOVL.mjs.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dynamic-import-statement-
|
|
1
|
+
{"version":3,"file":"dynamic-import-statement-BVggdOVL.mjs","names":["code","VarDeclaration","DynamicImportStatement","props","importPath","exportName","const","isConst","rest","_$createComponent","_$mergeProps","initializer"],"sources":["../src/typescript/components/dynamic-import-statement.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 } from \"@alloy-js/core\";\nimport { VarDeclaration, VarDeclarationProps } from \"@alloy-js/typescript\";\n\nexport interface DynamicImportStatementProps extends Omit<\n VarDeclarationProps,\n \"initializer\"\n> {\n /**\n * The path of the module to import.\n */\n importPath: string;\n\n /**\n * The name of the export to import from the module.\n *\n * @defaultValue \"default\"\n */\n exportName?: string;\n}\n\n/**\n * Generates a dynamic import statement for a given module path and export name.\n *\n * @example\n * ```tsx\n * <DynamicImportStatement importPath=\"./my-module\" exportName=\"myExport\" const={true} name=\"myVar\" />\n * // const myVar = await import(\"./my-module\").then(m => m.myExport);\n * ```\n *\n * @param props - The properties for the dynamic import statement.\n * @returns A `VarDeclaration` component representing the dynamic import statement.\n */\nexport function DynamicImportStatement(props: DynamicImportStatementProps) {\n const {\n importPath,\n exportName = \"default\",\n const: isConst = true,\n ...rest\n } = props;\n\n return (\n <VarDeclaration\n const={isConst}\n {...rest}\n initializer={code`await import(\"${importPath}\").then(m => m.${exportName});`}></VarDeclaration>\n );\n}\n"],"mappings":""}
|
package/dist/{dynamic-import-statement-DSNDMC9Y.d.mts → dynamic-import-statement-pdjThvwh.d.mts}
RENAMED
|
@@ -30,4 +30,4 @@ declare function DynamicImportStatement(props: DynamicImportStatementProps): _al
|
|
|
30
30
|
declare type __ΩDynamicImportStatementProps = any[];
|
|
31
31
|
//#endregion
|
|
32
32
|
export { DynamicImportStatementProps as n, __ΩDynamicImportStatementProps as r, DynamicImportStatement as t };
|
|
33
|
-
//# sourceMappingURL=dynamic-import-statement-
|
|
33
|
+
//# sourceMappingURL=dynamic-import-statement-pdjThvwh.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dynamic-import-statement-
|
|
1
|
+
{"version":3,"file":"dynamic-import-statement-pdjThvwh.d.mts","names":[],"sources":["../src/typescript/components/dynamic-import-statement.tsx"],"sourcesContent":[],"mappings":";;;;UAqBiB,2BAAA,SAAoC,KACnD;;;AADF;EA6BgB,UAAA,EAAA,MAAA;;;;;;;;;;;;;;;;;;;;iBAAA,sBAAA,QAA8B,8BAA2B,gBAAA,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { o as TypescriptFileProps } from "./typescript-file-
|
|
2
|
-
import * as
|
|
1
|
+
import { o as TypescriptFileProps } from "./typescript-file-CsvsUP0u.mjs";
|
|
2
|
+
import * as _alloy_js_core13 from "@alloy-js/core";
|
|
3
3
|
import { ResolvedEntryTypeDefinition } from "powerlines/types/resolved";
|
|
4
4
|
|
|
5
5
|
//#region src/typescript/components/entry-file.d.ts
|
|
@@ -21,8 +21,8 @@ type EntryFileProps = TypescriptFileProps & {
|
|
|
21
21
|
* @param props - The properties for the source file.
|
|
22
22
|
* @returns The rendered source file component.
|
|
23
23
|
*/
|
|
24
|
-
declare function EntryFile(props: EntryFileProps):
|
|
24
|
+
declare function EntryFile(props: EntryFileProps): _alloy_js_core13.Children;
|
|
25
25
|
declare type __ΩEntryFileProps = any[];
|
|
26
26
|
//#endregion
|
|
27
27
|
export { EntryFileProps as n, __ΩEntryFileProps as r, EntryFile as t };
|
|
28
|
-
//# sourceMappingURL=entry-file-
|
|
28
|
+
//# sourceMappingURL=entry-file-BW-opsS0.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entry-file-
|
|
1
|
+
{"version":3,"file":"entry-file-BW-opsS0.d.mts","names":[],"sources":["../src/typescript/components/entry-file.tsx"],"sourcesContent":[],"mappings":";;;;;KA4BY,cAAA,GAAiB;;;AAA7B;AAoBA;;;;;;mBATmB;;;;;;;;iBASH,SAAA,QAAiB,iBAAc,gBAAA,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { o as TypescriptFileProps } from "./typescript-file
|
|
2
|
-
import * as
|
|
1
|
+
import { o as TypescriptFileProps } from "./typescript-file-Fc4x93jB.cjs";
|
|
2
|
+
import * as _alloy_js_core16 from "@alloy-js/core";
|
|
3
3
|
import { ResolvedEntryTypeDefinition } from "powerlines/types/resolved";
|
|
4
4
|
|
|
5
5
|
//#region src/typescript/components/entry-file.d.ts
|
|
@@ -21,8 +21,8 @@ type EntryFileProps = TypescriptFileProps & {
|
|
|
21
21
|
* @param props - The properties for the source file.
|
|
22
22
|
* @returns The rendered source file component.
|
|
23
23
|
*/
|
|
24
|
-
declare function EntryFile(props: EntryFileProps):
|
|
24
|
+
declare function EntryFile(props: EntryFileProps): _alloy_js_core16.Children;
|
|
25
25
|
declare type __ΩEntryFileProps = any[];
|
|
26
26
|
//#endregion
|
|
27
27
|
export { EntryFileProps as n, __ΩEntryFileProps as r, EntryFile as t };
|
|
28
|
-
//# sourceMappingURL=entry-file-
|
|
28
|
+
//# sourceMappingURL=entry-file-Dsx2DfkL.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entry-file-
|
|
1
|
+
{"version":3,"file":"entry-file-Dsx2DfkL.d.cts","names":[],"sources":["../src/typescript/components/entry-file.tsx"],"sourcesContent":[],"mappings":";;;;;KA4BY,cAAA,GAAiB;;;AAA7B;AAoBA;;;;;;mBATmB;;;;;;;;iBASH,SAAA,QAAiB,iBAAc,gBAAA,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as usePowerlinesSafe } from "./context-
|
|
2
|
-
import { t as TypescriptFile } from "./typescript-file-
|
|
1
|
+
import { i as usePowerlinesSafe } from "./context-DIUW4n33.mjs";
|
|
2
|
+
import { t as TypescriptFile } from "./typescript-file-CZiIcJah.mjs";
|
|
3
3
|
import { createComponent, mergeProps } from "@alloy-js/core/jsx-runtime";
|
|
4
4
|
import { computed, splitProps } from "@alloy-js/core";
|
|
5
5
|
import { hasFileExtension } from "@stryke/path/file-path-fns";
|
|
@@ -38,4 +38,4 @@ function EntryFile(props) {
|
|
|
38
38
|
|
|
39
39
|
//#endregion
|
|
40
40
|
export { EntryFile as t };
|
|
41
|
-
//# sourceMappingURL=entry-file-
|
|
41
|
+
//# sourceMappingURL=entry-file-P5n-ofhK.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entry-file-
|
|
1
|
+
{"version":3,"file":"entry-file-P5n-ofhK.mjs","names":["computed","splitProps","appendPath","hasFileExtension","replaceExtension","replacePath","isSet","defu","usePowerlinesSafe","TypescriptFile","EntryFile","props","children","meta","tsx","path","typeDefinition","rest","context","fullPath","entryPath","workspaceConfig","workspaceRoot","_$createComponent","_$mergeProps","value","kind"],"sources":["../src/typescript/components/entry-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 { computed, splitProps } from \"@alloy-js/core\";\nimport { appendPath } from \"@stryke/path/append\";\nimport { hasFileExtension } from \"@stryke/path/file-path-fns\";\nimport { replaceExtension, replacePath } from \"@stryke/path/replace\";\nimport { isSet } from \"@stryke/type-checks/is-set\";\nimport defu from \"defu\";\nimport { ResolvedEntryTypeDefinition } from \"powerlines/types/resolved\";\nimport { usePowerlinesSafe } from \"../../core/contexts/context\";\nimport { TypescriptFile, TypescriptFileProps } from \"./typescript-file\";\n\nexport type EntryFileProps = TypescriptFileProps & {\n /**\n * Whether the file is a TSX file.\n *\n * @defaultValue false\n */\n tsx?: boolean;\n\n /**\n * Render metadata information about the entrypoint\n */\n typeDefinition?: ResolvedEntryTypeDefinition;\n};\n\n/**\n * A base component representing a Powerlines generated Typescript source file.\n *\n * @param props - The properties for the source file.\n * @returns The rendered source file component.\n */\nexport function EntryFile(props: EntryFileProps) {\n const [{ children, meta, tsx, path, typeDefinition }, rest] = splitProps(\n props,\n [\"children\", \"meta\", \"tsx\", \"path\", \"typeDefinition\"]\n );\n\n const context = usePowerlinesSafe();\n const fullPath = computed(() =>\n context\n ? appendPath(\n `${\n !isSet(tsx) ? path : replaceExtension(path)\n }${tsx ? \".tsx\" : hasFileExtension(path) ? \"\" : \".ts\"}`,\n replacePath(context.entryPath, context.workspaceConfig.workspaceRoot)\n )\n : path\n );\n\n return (\n <TypescriptFile\n {...rest}\n path={fullPath.value}\n meta={defu(\n {\n kind: \"entry\"\n },\n meta ?? {},\n {\n typeDefinition\n }\n )}>\n {children}\n </TypescriptFile>\n );\n}\n"],"mappings":""}
|
|
@@ -13,4 +13,4 @@ declare function FrontMatter(props: FrontMatterProps): _alloy_js_core7.Children;
|
|
|
13
13
|
declare type __ΩFrontMatterProps = any[];
|
|
14
14
|
//#endregion
|
|
15
15
|
export { FrontMatterProps as n, __ΩFrontMatterProps as r, FrontMatter as t };
|
|
16
|
-
//# sourceMappingURL=front-matter-
|
|
16
|
+
//# sourceMappingURL=front-matter-BZuLGCXi.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"front-matter-
|
|
1
|
+
{"version":3,"file":"front-matter-BZuLGCXi.d.mts","names":[],"sources":["../src/markdown/components/front-matter.tsx"],"sourcesContent":[],"mappings":";;;UAoBiB,gBAAA;QACT;;AADR;AASA;;;;iBAAgB,WAAA,QAAmB,mBAAgB,eAAA,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"front-matter-
|
|
1
|
+
{"version":3,"file":"front-matter-Dzh6QhN-.mjs","names":["code","For","FrontMatter","props","_$createIntrinsic","_$createComponent","each","Object","entries","data","hardline","children","key","value","JSON","stringify"],"sources":["../src/markdown/components/front-matter.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, For } from \"@alloy-js/core\";\n\nexport interface FrontMatterProps {\n data: Record<string, any>;\n}\n\n/**\n * Renders YAML front matter for a markdown file.\n *\n * @see https://jekyllrb.com/docs/front-matter/\n */\nexport function FrontMatter(props: FrontMatterProps) {\n return (\n <>\n {\"---\"}\n <hbr />\n <For each={Object.entries(props.data)} hardline>\n {([key, value]) => code`${key}: ${JSON.stringify(value)}`}\n </For>\n {\"---\"}\n <hbr />\n </>\n );\n}\n"],"mappings":""}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _alloy_js_core0 from "@alloy-js/core";
|
|
2
2
|
|
|
3
3
|
//#region src/markdown/components/front-matter.d.ts
|
|
4
4
|
interface FrontMatterProps {
|
|
@@ -9,8 +9,8 @@ interface FrontMatterProps {
|
|
|
9
9
|
*
|
|
10
10
|
* @see https://jekyllrb.com/docs/front-matter/
|
|
11
11
|
*/
|
|
12
|
-
declare function FrontMatter(props: FrontMatterProps):
|
|
12
|
+
declare function FrontMatter(props: FrontMatterProps): _alloy_js_core0.Children;
|
|
13
13
|
declare type __ΩFrontMatterProps = any[];
|
|
14
14
|
//#endregion
|
|
15
15
|
export { FrontMatterProps as n, __ΩFrontMatterProps as r, FrontMatter as t };
|
|
16
|
-
//# sourceMappingURL=front-matter-
|
|
16
|
+
//# sourceMappingURL=front-matter-tYvUQe2w.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"front-matter-
|
|
1
|
+
{"version":3,"file":"front-matter-tYvUQe2w.d.cts","names":[],"sources":["../src/markdown/components/front-matter.tsx"],"sourcesContent":[],"mappings":";;;UAoBiB,gBAAA;QACT;;AADR;AASA;;;;iBAAgB,WAAA,QAAmB,mBAAgB,eAAA,CAAA"}
|
package/dist/helpers/capnp.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as stringifyCapnpDefaultValue, S as isVoidType, _ as generateCapnpSchema, a as StdioOptions, b as getCapnpUnionTypes, c as __ΩIOType, d as generateCapnp, f as generateCapnpEnumSchema, g as generateCapnpPrimitive, h as generateCapnpMethodSchema, i as LARGE_BUFFER, l as __ΩStdioOptions, m as generateCapnpInterface, n as GenerateCapnpStructOptions, o as __ΩGenerateCapnpOptions, p as generateCapnpId, r as IOType, s as __ΩGenerateCapnpStructOptions, t as GenerateCapnpOptions, u as compile, v as generateCapnpStruct, w as stringifyCapnpValue, x as isCapnpStringUnion, y as getCapnpEnumTypes } from "../capnp-
|
|
1
|
+
import { C as stringifyCapnpDefaultValue, S as isVoidType, _ as generateCapnpSchema, a as StdioOptions, b as getCapnpUnionTypes, c as __ΩIOType, d as generateCapnp, f as generateCapnpEnumSchema, g as generateCapnpPrimitive, h as generateCapnpMethodSchema, i as LARGE_BUFFER, l as __ΩStdioOptions, m as generateCapnpInterface, n as GenerateCapnpStructOptions, o as __ΩGenerateCapnpOptions, p as generateCapnpId, r as IOType, s as __ΩGenerateCapnpStructOptions, t as GenerateCapnpOptions, u as compile, v as generateCapnpStruct, w as stringifyCapnpValue, x as isCapnpStringUnion, y as getCapnpEnumTypes } from "../capnp-BfsEWHU2.cjs";
|
|
2
2
|
export { GenerateCapnpOptions, GenerateCapnpStructOptions, IOType, LARGE_BUFFER, StdioOptions, __ΩGenerateCapnpOptions, __ΩGenerateCapnpStructOptions, __ΩIOType, __ΩStdioOptions, compile, generateCapnp, generateCapnpEnumSchema, generateCapnpId, generateCapnpInterface, generateCapnpMethodSchema, generateCapnpPrimitive, generateCapnpSchema, generateCapnpStruct, getCapnpEnumTypes, getCapnpUnionTypes, isCapnpStringUnion, isVoidType, stringifyCapnpDefaultValue, stringifyCapnpValue };
|
package/dist/helpers/capnp.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as stringifyCapnpDefaultValue, S as isVoidType, _ as generateCapnpSchema, a as StdioOptions, b as getCapnpUnionTypes, c as __ΩIOType, d as generateCapnp, f as generateCapnpEnumSchema, g as generateCapnpPrimitive, h as generateCapnpMethodSchema, i as LARGE_BUFFER, l as __ΩStdioOptions, m as generateCapnpInterface, n as GenerateCapnpStructOptions, o as __ΩGenerateCapnpOptions, p as generateCapnpId, r as IOType, s as __ΩGenerateCapnpStructOptions, t as GenerateCapnpOptions, u as compile, v as generateCapnpStruct, w as stringifyCapnpValue, x as isCapnpStringUnion, y as getCapnpEnumTypes } from "../capnp-
|
|
1
|
+
import { C as stringifyCapnpDefaultValue, S as isVoidType, _ as generateCapnpSchema, a as StdioOptions, b as getCapnpUnionTypes, c as __ΩIOType, d as generateCapnp, f as generateCapnpEnumSchema, g as generateCapnpPrimitive, h as generateCapnpMethodSchema, i as LARGE_BUFFER, l as __ΩStdioOptions, m as generateCapnpInterface, n as GenerateCapnpStructOptions, o as __ΩGenerateCapnpOptions, p as generateCapnpId, r as IOType, s as __ΩGenerateCapnpStructOptions, t as GenerateCapnpOptions, u as compile, v as generateCapnpStruct, w as stringifyCapnpValue, x as isCapnpStringUnion, y as getCapnpEnumTypes } from "../capnp-DcnwPttP.mjs";
|
|
2
2
|
export { GenerateCapnpOptions, GenerateCapnpStructOptions, IOType, LARGE_BUFFER, StdioOptions, __ΩGenerateCapnpOptions, __ΩGenerateCapnpStructOptions, __ΩIOType, __ΩStdioOptions, compile, generateCapnp, generateCapnpEnumSchema, generateCapnpId, generateCapnpInterface, generateCapnpMethodSchema, generateCapnpPrimitive, generateCapnpSchema, generateCapnpStruct, getCapnpEnumTypes, getCapnpUnionTypes, isCapnpStringUnion, isVoidType, stringifyCapnpDefaultValue, stringifyCapnpValue };
|
package/dist/helpers/capnp.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as generateCapnpId, c as generateCapnpPrimitive, d as getCapnpEnumTypes, f as getCapnpUnionTypes, g as stringifyCapnpValue, h as stringifyCapnpDefaultValue, i as generateCapnpEnumSchema, l as generateCapnpSchema, m as isVoidType, n as compile, o as generateCapnpInterface, p as isCapnpStringUnion, r as generateCapnp, s as generateCapnpMethodSchema, t as LARGE_BUFFER, u as generateCapnpStruct } from "../capnp-
|
|
1
|
+
import { a as generateCapnpId, c as generateCapnpPrimitive, d as getCapnpEnumTypes, f as getCapnpUnionTypes, g as stringifyCapnpValue, h as stringifyCapnpDefaultValue, i as generateCapnpEnumSchema, l as generateCapnpSchema, m as isVoidType, n as compile, o as generateCapnpInterface, p as isCapnpStringUnion, r as generateCapnp, s as generateCapnpMethodSchema, t as LARGE_BUFFER, u as generateCapnpStruct } from "../capnp-XK1IvfIR.mjs";
|
|
2
2
|
|
|
3
3
|
export { LARGE_BUFFER, compile, generateCapnp, generateCapnpEnumSchema, generateCapnpId, generateCapnpInterface, generateCapnpMethodSchema, generateCapnpPrimitive, generateCapnpSchema, generateCapnpStruct, getCapnpEnumTypes, getCapnpUnionTypes, isCapnpStringUnion, isVoidType, stringifyCapnpDefaultValue, stringifyCapnpValue };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as __ΩCreateBuiltinOptions, r as createBuiltin, t as CreateBuiltinOptions } from "../create-builtin-
|
|
1
|
+
import { n as __ΩCreateBuiltinOptions, r as createBuiltin, t as CreateBuiltinOptions } from "../create-builtin-CI8g-abA.cjs";
|
|
2
2
|
export { CreateBuiltinOptions, __ΩCreateBuiltinOptions, createBuiltin };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as __ΩCreateBuiltinOptions, r as createBuiltin, t as CreateBuiltinOptions } from "../create-builtin-
|
|
1
|
+
import { n as __ΩCreateBuiltinOptions, r as createBuiltin, t as CreateBuiltinOptions } from "../create-builtin-BvtcWfWV.mjs";
|
|
2
2
|
export { CreateBuiltinOptions, __ΩCreateBuiltinOptions, createBuiltin };
|
package/dist/helpers/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as stringifyCapnpDefaultValue, S as isVoidType, _ as generateCapnpSchema, a as StdioOptions, b as getCapnpUnionTypes, c as __ΩIOType, d as generateCapnp, f as generateCapnpEnumSchema, g as generateCapnpPrimitive, h as generateCapnpMethodSchema, i as LARGE_BUFFER, l as __ΩStdioOptions, m as generateCapnpInterface, n as GenerateCapnpStructOptions, o as __ΩGenerateCapnpOptions, p as generateCapnpId, r as IOType, s as __ΩGenerateCapnpStructOptions, t as GenerateCapnpOptions, u as compile, v as generateCapnpStruct, w as stringifyCapnpValue, x as isCapnpStringUnion, y as getCapnpEnumTypes } from "../capnp-
|
|
2
|
-
import { n as __ΩCreateBuiltinOptions, r as createBuiltin, t as CreateBuiltinOptions } from "../create-builtin-
|
|
3
|
-
import { t as refkey } from "../refkey-
|
|
4
|
-
import { a as generateTypeScriptObject, i as __ΩGenerateTypeScriptObjectOptions, n as GenerateTypeScriptObjectOptions, r as __ΩGenerateTypeScriptInterfaceOptions, t as GenerateTypeScriptInterfaceOptions } from "../typescript-
|
|
1
|
+
import { C as stringifyCapnpDefaultValue, S as isVoidType, _ as generateCapnpSchema, a as StdioOptions, b as getCapnpUnionTypes, c as __ΩIOType, d as generateCapnp, f as generateCapnpEnumSchema, g as generateCapnpPrimitive, h as generateCapnpMethodSchema, i as LARGE_BUFFER, l as __ΩStdioOptions, m as generateCapnpInterface, n as GenerateCapnpStructOptions, o as __ΩGenerateCapnpOptions, p as generateCapnpId, r as IOType, s as __ΩGenerateCapnpStructOptions, t as GenerateCapnpOptions, u as compile, v as generateCapnpStruct, w as stringifyCapnpValue, x as isCapnpStringUnion, y as getCapnpEnumTypes } from "../capnp-BfsEWHU2.cjs";
|
|
2
|
+
import { n as __ΩCreateBuiltinOptions, r as createBuiltin, t as CreateBuiltinOptions } from "../create-builtin-CI8g-abA.cjs";
|
|
3
|
+
import { t as refkey } from "../refkey-DqDd2Fzs.cjs";
|
|
4
|
+
import { a as generateTypeScriptObject, i as __ΩGenerateTypeScriptObjectOptions, n as GenerateTypeScriptObjectOptions, r as __ΩGenerateTypeScriptInterfaceOptions, t as GenerateTypeScriptInterfaceOptions } from "../typescript-CJjS7_9C.cjs";
|
|
5
5
|
export { CreateBuiltinOptions, GenerateCapnpOptions, GenerateCapnpStructOptions, GenerateTypeScriptInterfaceOptions, GenerateTypeScriptObjectOptions, IOType, LARGE_BUFFER, StdioOptions, __ΩCreateBuiltinOptions, __ΩGenerateCapnpOptions, __ΩGenerateCapnpStructOptions, __ΩGenerateTypeScriptInterfaceOptions, __ΩGenerateTypeScriptObjectOptions, __ΩIOType, __ΩStdioOptions, compile, createBuiltin, generateCapnp, generateCapnpEnumSchema, generateCapnpId, generateCapnpInterface, generateCapnpMethodSchema, generateCapnpPrimitive, generateCapnpSchema, generateCapnpStruct, generateTypeScriptObject, getCapnpEnumTypes, getCapnpUnionTypes, isCapnpStringUnion, isVoidType, refkey, stringifyCapnpDefaultValue, stringifyCapnpValue };
|
package/dist/helpers/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as stringifyCapnpDefaultValue, S as isVoidType, _ as generateCapnpSchema, a as StdioOptions, b as getCapnpUnionTypes, c as __ΩIOType, d as generateCapnp, f as generateCapnpEnumSchema, g as generateCapnpPrimitive, h as generateCapnpMethodSchema, i as LARGE_BUFFER, l as __ΩStdioOptions, m as generateCapnpInterface, n as GenerateCapnpStructOptions, o as __ΩGenerateCapnpOptions, p as generateCapnpId, r as IOType, s as __ΩGenerateCapnpStructOptions, t as GenerateCapnpOptions, u as compile, v as generateCapnpStruct, w as stringifyCapnpValue, x as isCapnpStringUnion, y as getCapnpEnumTypes } from "../capnp-
|
|
2
|
-
import { n as __ΩCreateBuiltinOptions, r as createBuiltin, t as CreateBuiltinOptions } from "../create-builtin-
|
|
3
|
-
import { t as refkey } from "../refkey-
|
|
4
|
-
import { a as generateTypeScriptObject, i as __ΩGenerateTypeScriptObjectOptions, n as GenerateTypeScriptObjectOptions, r as __ΩGenerateTypeScriptInterfaceOptions, t as GenerateTypeScriptInterfaceOptions } from "../typescript-
|
|
1
|
+
import { C as stringifyCapnpDefaultValue, S as isVoidType, _ as generateCapnpSchema, a as StdioOptions, b as getCapnpUnionTypes, c as __ΩIOType, d as generateCapnp, f as generateCapnpEnumSchema, g as generateCapnpPrimitive, h as generateCapnpMethodSchema, i as LARGE_BUFFER, l as __ΩStdioOptions, m as generateCapnpInterface, n as GenerateCapnpStructOptions, o as __ΩGenerateCapnpOptions, p as generateCapnpId, r as IOType, s as __ΩGenerateCapnpStructOptions, t as GenerateCapnpOptions, u as compile, v as generateCapnpStruct, w as stringifyCapnpValue, x as isCapnpStringUnion, y as getCapnpEnumTypes } from "../capnp-DcnwPttP.mjs";
|
|
2
|
+
import { n as __ΩCreateBuiltinOptions, r as createBuiltin, t as CreateBuiltinOptions } from "../create-builtin-BvtcWfWV.mjs";
|
|
3
|
+
import { t as refkey } from "../refkey-CqkD5Tjp.mjs";
|
|
4
|
+
import { a as generateTypeScriptObject, i as __ΩGenerateTypeScriptObjectOptions, n as GenerateTypeScriptObjectOptions, r as __ΩGenerateTypeScriptInterfaceOptions, t as GenerateTypeScriptInterfaceOptions } from "../typescript-BpWiXYf3.mjs";
|
|
5
5
|
export { CreateBuiltinOptions, GenerateCapnpOptions, GenerateCapnpStructOptions, GenerateTypeScriptInterfaceOptions, GenerateTypeScriptObjectOptions, IOType, LARGE_BUFFER, StdioOptions, __ΩCreateBuiltinOptions, __ΩGenerateCapnpOptions, __ΩGenerateCapnpStructOptions, __ΩGenerateTypeScriptInterfaceOptions, __ΩGenerateTypeScriptObjectOptions, __ΩIOType, __ΩStdioOptions, compile, createBuiltin, generateCapnp, generateCapnpEnumSchema, generateCapnpId, generateCapnpInterface, generateCapnpMethodSchema, generateCapnpPrimitive, generateCapnpSchema, generateCapnpStruct, generateTypeScriptObject, getCapnpEnumTypes, getCapnpUnionTypes, isCapnpStringUnion, isVoidType, refkey, stringifyCapnpDefaultValue, stringifyCapnpValue };
|
package/dist/helpers/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as generateTypeScriptObject } from "../typescript-
|
|
2
|
-
import { t as refkey } from "../refkey-
|
|
3
|
-
import { a as generateCapnpId, c as generateCapnpPrimitive, d as getCapnpEnumTypes, f as getCapnpUnionTypes, g as stringifyCapnpValue, h as stringifyCapnpDefaultValue, i as generateCapnpEnumSchema, l as generateCapnpSchema, m as isVoidType, n as compile, o as generateCapnpInterface, p as isCapnpStringUnion, r as generateCapnp, s as generateCapnpMethodSchema, t as LARGE_BUFFER, u as generateCapnpStruct } from "../capnp-
|
|
4
|
-
import { t as createBuiltin } from "../create-builtin-
|
|
1
|
+
import { t as generateTypeScriptObject } from "../typescript-CrVxDaSo.mjs";
|
|
2
|
+
import { t as refkey } from "../refkey-CyhX8n2z.mjs";
|
|
3
|
+
import { a as generateCapnpId, c as generateCapnpPrimitive, d as getCapnpEnumTypes, f as getCapnpUnionTypes, g as stringifyCapnpValue, h as stringifyCapnpDefaultValue, i as generateCapnpEnumSchema, l as generateCapnpSchema, m as isVoidType, n as compile, o as generateCapnpInterface, p as isCapnpStringUnion, r as generateCapnp, s as generateCapnpMethodSchema, t as LARGE_BUFFER, u as generateCapnpStruct } from "../capnp-XK1IvfIR.mjs";
|
|
4
|
+
import { t as createBuiltin } from "../create-builtin-C4n9BYjY.mjs";
|
|
5
5
|
|
|
6
6
|
export { LARGE_BUFFER, compile, createBuiltin, generateCapnp, generateCapnpEnumSchema, generateCapnpId, generateCapnpInterface, generateCapnpMethodSchema, generateCapnpPrimitive, generateCapnpSchema, generateCapnpStruct, generateTypeScriptObject, getCapnpEnumTypes, getCapnpUnionTypes, isCapnpStringUnion, isVoidType, refkey, stringifyCapnpDefaultValue, stringifyCapnpValue };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as refkey } from "../refkey-
|
|
1
|
+
import { t as refkey } from "../refkey-DqDd2Fzs.cjs";
|
|
2
2
|
export { refkey };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as refkey } from "../refkey-
|
|
1
|
+
import { t as refkey } from "../refkey-CqkD5Tjp.mjs";
|
|
2
2
|
export { refkey };
|
package/dist/helpers/refkey.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as generateTypeScriptObject, i as __ΩGenerateTypeScriptObjectOptions, n as GenerateTypeScriptObjectOptions, r as __ΩGenerateTypeScriptInterfaceOptions, t as GenerateTypeScriptInterfaceOptions } from "../typescript-
|
|
1
|
+
import { a as generateTypeScriptObject, i as __ΩGenerateTypeScriptObjectOptions, n as GenerateTypeScriptObjectOptions, r as __ΩGenerateTypeScriptInterfaceOptions, t as GenerateTypeScriptInterfaceOptions } from "../typescript-CJjS7_9C.cjs";
|
|
2
2
|
export { GenerateTypeScriptInterfaceOptions, GenerateTypeScriptObjectOptions, __ΩGenerateTypeScriptInterfaceOptions, __ΩGenerateTypeScriptObjectOptions, generateTypeScriptObject };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as generateTypeScriptObject, i as __ΩGenerateTypeScriptObjectOptions, n as GenerateTypeScriptObjectOptions, r as __ΩGenerateTypeScriptInterfaceOptions, t as GenerateTypeScriptInterfaceOptions } from "../typescript-
|
|
1
|
+
import { a as generateTypeScriptObject, i as __ΩGenerateTypeScriptObjectOptions, n as GenerateTypeScriptObjectOptions, r as __ΩGenerateTypeScriptInterfaceOptions, t as GenerateTypeScriptInterfaceOptions } from "../typescript-BpWiXYf3.mjs";
|
|
2
2
|
export { GenerateTypeScriptInterfaceOptions, GenerateTypeScriptObjectOptions, __ΩGenerateTypeScriptInterfaceOptions, __ΩGenerateTypeScriptObjectOptions, generateTypeScriptObject };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
package/dist/index.cjs
CHANGED
|
@@ -47,37 +47,44 @@ const plugin = (options = {}) => {
|
|
|
47
47
|
order: "pre",
|
|
48
48
|
async handler() {
|
|
49
49
|
this.debug("Attaching the `render` method to the context object.");
|
|
50
|
+
const context = this;
|
|
51
|
+
context.$$internal ??= {};
|
|
52
|
+
context.$$internal.alloy ??= { meta: {} };
|
|
50
53
|
this.render = async (child) => {
|
|
51
|
-
const meta = {};
|
|
52
54
|
const output = await (0, __alloy_js_core.renderAsync)((0, __alloy_js_core_jsx_runtime.createComponent)(require_meta.MetaContext.Provider, {
|
|
53
|
-
value
|
|
55
|
+
get value() {
|
|
56
|
+
return context.$$internal.alloy.meta;
|
|
57
|
+
},
|
|
54
58
|
children: child
|
|
55
59
|
}));
|
|
56
|
-
this.debug("
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
if (
|
|
66
|
-
|
|
67
|
-
|
|
60
|
+
if (!Object.keys(output).length) this.debug("No output files were rendered by Alloy-js templates.");
|
|
61
|
+
else {
|
|
62
|
+
this.debug(`Processing ${Object.keys(output).length} rendered output files from Alloy-js templates.`);
|
|
63
|
+
await (0, __alloy_js_core.traverseOutput)(output, {
|
|
64
|
+
visitDirectory: (directory) => {
|
|
65
|
+
if (this.fs.existsSync(directory.path)) return;
|
|
66
|
+
this.fs.mkdirSync(directory.path);
|
|
67
|
+
},
|
|
68
|
+
visitFile: (file) => {
|
|
69
|
+
if ("contents" in file) {
|
|
70
|
+
const metadata = context.$$internal.alloy.meta[file.path] ?? {};
|
|
71
|
+
if (metadata.kind === "builtin") {
|
|
72
|
+
if (!metadata.id) throw new Error(`Built-in file "${file.path}" is missing its ID in the render metadata.`);
|
|
73
|
+
this.emitBuiltinSync(file.contents, metadata.id, {
|
|
74
|
+
skipFormat: metadata.skipFormat,
|
|
75
|
+
storage: metadata.storage,
|
|
76
|
+
extension: (0, __stryke_path_file_path_fns.findFileExtension)(file.path)
|
|
77
|
+
});
|
|
78
|
+
} else if (metadata.kind === "entry") this.emitEntrySync(file.contents, file.path, {
|
|
68
79
|
skipFormat: metadata.skipFormat,
|
|
69
80
|
storage: metadata.storage,
|
|
70
|
-
|
|
81
|
+
...metadata.typeDefinition ?? {}
|
|
71
82
|
});
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
else this.emitSync(file.contents, file.path, metadata);
|
|
78
|
-
} else this.fs.copySync(file.sourcePath, file.path);
|
|
79
|
-
}
|
|
80
|
-
});
|
|
83
|
+
else this.emitSync(file.contents, file.path, metadata);
|
|
84
|
+
} else this.fs.copySync(file.sourcePath, file.path);
|
|
85
|
+
}
|
|
86
|
+
});
|
|
87
|
+
}
|
|
81
88
|
};
|
|
82
89
|
}
|
|
83
90
|
}
|
package/dist/index.d.cts
CHANGED
package/dist/index.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.tsx"],"sourcesContent":[],"mappings":";;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.tsx"],"sourcesContent":[],"mappings":";;;;;;;AAqCA;;;;AAmIc,cAnID,MAmIC,EAAA,CAAA,iBAlIK,kBAkIL,GAlI0B,kBAkI1B,CAAA,CAAA,OAAA,CAAA,EAhIH,kBAgIG,EAAA,GAAP,MAAO,CAAA,QAAA,CAAA,EAAA"}
|
package/dist/index.d.mts
CHANGED
package/dist/index.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.tsx"],"sourcesContent":[],"mappings":";;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.tsx"],"sourcesContent":[],"mappings":";;;;;;;AAqCA;;;;AAmIc,cAnID,MAmIC,EAAA,CAAA,iBAlIK,kBAkIL,GAlI0B,kBAkI1B,CAAA,CAAA,OAAA,CAAA,EAhIH,kBAgIG,EAAA,GAAP,MAAO,CAAA,QAAA,CAAA,EAAA"}
|