@powerlines/plugin-alloy 0.19.13 → 0.19.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/builtin-file-0k9DccCv.cjs +67 -0
- package/dist/builtin-file-DcLp9sck.d.mts +35 -0
- package/dist/builtin-file-DcLp9sck.d.mts.map +1 -0
- package/dist/builtin-file-DtkZ-2Hs.d.cts +35 -0
- package/dist/builtin-file-DtkZ-2Hs.d.cts.map +1 -0
- package/dist/builtin-file-Ie_jPokg.mjs +62 -0
- package/dist/builtin-file-Ie_jPokg.mjs.map +1 -0
- package/dist/builtin-file-MrUfX3YE.d.cts +35 -0
- package/dist/builtin-file-MrUfX3YE.d.cts.map +1 -0
- package/dist/builtin-file-RXdRpQs-.d.mts +35 -0
- package/dist/builtin-file-RXdRpQs-.d.mts.map +1 -0
- package/dist/capnp-CRMDa2Ok.d.mts +88 -0
- package/dist/capnp-CRMDa2Ok.d.mts.map +1 -0
- package/dist/capnp-ClfqI-5t.cjs +356 -0
- package/dist/capnp-CnQcwo0s.mjs +260 -0
- package/dist/capnp-CnQcwo0s.mjs.map +1 -0
- package/dist/capnp-YnGBPkLK.d.cts +88 -0
- package/dist/capnp-YnGBPkLK.d.cts.map +1 -0
- package/dist/{_virtual/rolldown_runtime.cjs → chunk-CbDLau6x.cjs} +6 -1
- package/dist/components-B0evB5xd.cjs +0 -0
- package/dist/components-BNK9p5AE.cjs +0 -0
- package/dist/components-C_Rnle_h.mjs +1 -0
- package/dist/components-CpjG2zC9.mjs +1 -0
- package/dist/components-CrWk5KiP.mjs +1 -0
- package/dist/components-CyQi7RHT.mjs +1 -0
- package/dist/components-DPKSrvP-.cjs +0 -0
- package/dist/components-IRVnipN0.d.cts +143 -0
- package/dist/components-IRVnipN0.d.cts.map +1 -0
- package/dist/components-ISRFDWTF.cjs +0 -0
- package/dist/components-oHSM7vmp.d.mts +143 -0
- package/dist/components-oHSM7vmp.d.mts.map +1 -0
- package/dist/context--KBspFnw.cjs +79 -0
- package/dist/context-Du_bVzRZ.d.mts +67 -0
- package/dist/context-Du_bVzRZ.d.mts.map +1 -0
- package/dist/context-Gqs3Ru42.d.cts +67 -0
- package/dist/context-Gqs3Ru42.d.cts.map +1 -0
- package/dist/context-e2kZWEFW.mjs +51 -0
- package/dist/context-e2kZWEFW.mjs.map +1 -0
- package/dist/contexts-DezKayEz.cjs +0 -0
- package/dist/contexts-J643Nrrt.cjs +0 -0
- package/dist/contexts-_jq-yJQG.mjs +1 -0
- package/dist/contexts-juWSyBfb.mjs +1 -0
- package/dist/core/components/index.cjs +11 -6
- package/dist/core/components/index.d.cts +6 -3
- package/dist/core/components/index.d.mts +6 -3
- package/dist/core/components/index.mjs +8 -3
- package/dist/core/components/output.cjs +2 -32
- package/dist/core/components/output.d.cts +2 -22
- package/dist/core/components/output.d.mts +2 -22
- package/dist/core/components/output.mjs +1 -30
- package/dist/core/components/single-line-comment.cjs +2 -21
- package/dist/core/components/single-line-comment.d.cts +2 -21
- package/dist/core/components/single-line-comment.d.mts +2 -21
- package/dist/core/components/single-line-comment.mjs +1 -19
- package/dist/core/components/source-file.cjs +6 -63
- package/dist/core/components/source-file.d.cts +2 -31
- package/dist/core/components/source-file.d.mts +2 -31
- package/dist/core/components/source-file.mjs +5 -60
- package/dist/core/contexts/context.cjs +7 -53
- package/dist/core/contexts/context.d.cts +1 -65
- package/dist/core/contexts/context.d.mts +1 -65
- package/dist/core/contexts/context.mjs +2 -48
- package/dist/core/contexts/index.cjs +17 -15
- package/dist/core/contexts/index.d.cts +4 -2
- package/dist/core/contexts/index.d.mts +4 -2
- package/dist/core/contexts/index.mjs +4 -2
- package/dist/core/contexts/reflection.cjs +9 -67
- package/dist/core/contexts/reflection.d.cts +2 -51
- package/dist/core/contexts/reflection.d.mts +2 -51
- package/dist/core/contexts/reflection.mjs +1 -58
- package/dist/core/index.cjs +24 -23
- package/dist/core/index.d.cts +8 -7
- package/dist/core/index.d.mts +8 -7
- package/dist/core/index.mjs +8 -7
- package/dist/create-builtin-BiKyN2s2.cjs +24 -0
- package/dist/create-builtin-DFiWd6Zc.d.cts +16 -0
- package/dist/create-builtin-DFiWd6Zc.d.cts.map +1 -0
- package/dist/create-builtin-DQuJyeZw.mjs +19 -0
- package/dist/create-builtin-DQuJyeZw.mjs.map +1 -0
- package/dist/create-builtin-FtQ6qKzX.d.mts +16 -0
- package/dist/create-builtin-FtQ6qKzX.d.mts.map +1 -0
- package/dist/dynamic-import-statement-B5Pdwr4Z.d.mts +33 -0
- package/dist/dynamic-import-statement-B5Pdwr4Z.d.mts.map +1 -0
- package/dist/dynamic-import-statement-BbNJchii.mjs +25 -0
- package/dist/dynamic-import-statement-BbNJchii.mjs.map +1 -0
- package/dist/dynamic-import-statement-DNJlI3ND.d.cts +33 -0
- package/dist/dynamic-import-statement-DNJlI3ND.d.cts.map +1 -0
- package/dist/dynamic-import-statement-DTSUoDt2.d.cts +33 -0
- package/dist/dynamic-import-statement-DTSUoDt2.d.cts.map +1 -0
- package/dist/dynamic-import-statement-Dy_MY_Ua.cjs +30 -0
- package/dist/entry-file-CfMzpF03.d.cts +28 -0
- package/dist/entry-file-CfMzpF03.d.cts.map +1 -0
- package/dist/entry-file-CnC6P3j6.d.mts +28 -0
- package/dist/entry-file-CnC6P3j6.d.mts.map +1 -0
- package/dist/entry-file-D64eurjX.mjs +41 -0
- package/dist/entry-file-D64eurjX.mjs.map +1 -0
- package/dist/entry-file-DVueLVSn.d.cts +28 -0
- package/dist/entry-file-DVueLVSn.d.cts.map +1 -0
- package/dist/entry-file-GR5Rsn25.cjs +47 -0
- package/dist/entry-file-ayzYWEo5.d.mts +28 -0
- package/dist/entry-file-ayzYWEo5.d.mts.map +1 -0
- package/dist/front-matter-2eGRXX11.mjs +28 -0
- package/dist/front-matter-2eGRXX11.mjs.map +1 -0
- package/dist/front-matter-DGpkM9OE.d.mts +16 -0
- package/dist/front-matter-DGpkM9OE.d.mts.map +1 -0
- package/dist/front-matter-DZ1tB-Uj.cjs +33 -0
- package/dist/front-matter-gcouRI-6.d.cts +16 -0
- package/dist/front-matter-gcouRI-6.d.cts.map +1 -0
- package/dist/front-matter-u9H7VPAF.d.cts +16 -0
- package/dist/front-matter-u9H7VPAF.d.cts.map +1 -0
- package/dist/helpers/capnp.cjs +18 -276
- package/dist/helpers/capnp.d.cts +1 -86
- package/dist/helpers/capnp.d.mts +1 -86
- package/dist/helpers/capnp.mjs +1 -257
- package/dist/helpers/create-builtin.cjs +2 -18
- package/dist/helpers/create-builtin.d.cts +1 -14
- package/dist/helpers/create-builtin.d.mts +1 -14
- package/dist/helpers/create-builtin.mjs +1 -16
- package/dist/helpers/index.cjs +23 -23
- package/dist/helpers/index.d.cts +4 -4
- package/dist/helpers/index.d.mts +4 -4
- package/dist/helpers/index.mjs +4 -4
- package/dist/helpers/refkey.cjs +2 -15
- package/dist/helpers/refkey.d.cts +1 -12
- package/dist/helpers/refkey.d.mts +1 -12
- package/dist/helpers/refkey.mjs +1 -13
- package/dist/helpers/typescript.cjs +2 -45
- package/dist/helpers/typescript.d.cts +1 -24
- package/dist/helpers/typescript.d.mts +1 -24
- package/dist/helpers/typescript.mjs +1 -43
- package/dist/index-B-Y-ZG2x.d.mts +1 -0
- package/dist/index-BH1nuHdZ.d.cts +1 -0
- package/dist/index-BUYyA1Xh.d.cts +1 -0
- package/dist/index-C-lwXyQ6.d.mts +1 -0
- package/dist/index-C6HcjJiY.d.mts +1 -0
- package/dist/index-C6yvNuzO.d.cts +1 -0
- package/dist/index-CrhZaFgN.d.cts +1 -0
- package/dist/index-CzItj62a.d.mts +1 -0
- package/dist/index-DcDTDbdz.d.cts +1 -0
- package/dist/index-hcx6LMSC.d.mts +1 -0
- package/dist/index.cjs +8 -6
- package/dist/index.d.cts +3 -2
- package/dist/index.d.cts.map +1 -0
- package/dist/index.d.mts +3 -2
- package/dist/index.d.mts.map +1 -0
- package/dist/index.mjs +8 -5
- package/dist/index.mjs.map +1 -0
- package/dist/markdown/components/front-matter.cjs +2 -27
- package/dist/markdown/components/front-matter.d.cts +1 -14
- package/dist/markdown/components/front-matter.d.mts +1 -14
- package/dist/markdown/components/front-matter.mjs +1 -25
- package/dist/markdown/components/index.cjs +17 -9
- package/dist/markdown/components/index.d.cts +7 -3
- package/dist/markdown/components/index.d.mts +7 -3
- package/dist/markdown/components/index.mjs +11 -3
- package/dist/markdown/components/markdown-file.cjs +10 -130
- package/dist/markdown/components/markdown-file.d.cts +4 -27
- package/dist/markdown/components/markdown-file.d.mts +4 -27
- package/dist/markdown/components/markdown-file.mjs +8 -127
- package/dist/markdown/components/markdown-table.cjs +5 -100
- package/dist/markdown/components/markdown-table.d.cts +3 -26
- package/dist/markdown/components/markdown-table.d.mts +3 -26
- package/dist/markdown/components/markdown-table.mjs +2 -96
- package/dist/markdown/contexts/index.cjs +6 -5
- package/dist/markdown/contexts/index.d.cts +2 -1
- package/dist/markdown/contexts/index.d.mts +2 -1
- package/dist/markdown/contexts/index.mjs +2 -1
- package/dist/markdown/contexts/markdown-table.cjs +5 -36
- package/dist/markdown/contexts/markdown-table.d.cts +1 -36
- package/dist/markdown/contexts/markdown-table.d.mts +1 -36
- package/dist/markdown/contexts/markdown-table.mjs +1 -31
- package/dist/markdown/index.cjs +22 -16
- package/dist/markdown/index.d.cts +8 -6
- package/dist/markdown/index.d.mts +8 -6
- package/dist/markdown/index.mjs +12 -6
- package/dist/markdown-file-CAwtMwsl.cjs +141 -0
- package/dist/markdown-file-CIGTz9xQ.d.cts +29 -0
- package/dist/markdown-file-CIGTz9xQ.d.cts.map +1 -0
- package/dist/markdown-file-CxDM6MCV.d.cts +29 -0
- package/dist/markdown-file-CxDM6MCV.d.cts.map +1 -0
- package/dist/markdown-file-DIcSvowq.mjs +130 -0
- package/dist/markdown-file-DIcSvowq.mjs.map +1 -0
- package/dist/markdown-file-EtJaVhJ3.d.mts +29 -0
- package/dist/markdown-file-EtJaVhJ3.d.mts.map +1 -0
- package/dist/markdown-table-AoJIzA89.d.cts +28 -0
- package/dist/markdown-table-AoJIzA89.d.cts.map +1 -0
- package/dist/markdown-table-BWPm6GbJ.cjs +57 -0
- package/dist/markdown-table-Br2Ihl2z.d.cts +38 -0
- package/dist/markdown-table-Br2Ihl2z.d.cts.map +1 -0
- package/dist/markdown-table-CFL7L6rA.d.mts +38 -0
- package/dist/markdown-table-CFL7L6rA.d.mts.map +1 -0
- package/dist/markdown-table-ChvYobzz.d.mts +28 -0
- package/dist/markdown-table-ChvYobzz.d.mts.map +1 -0
- package/dist/markdown-table-D3DonpwR.mjs +99 -0
- package/dist/markdown-table-D3DonpwR.mjs.map +1 -0
- package/dist/markdown-table-DFSFKzCN.d.cts +28 -0
- package/dist/markdown-table-DFSFKzCN.d.cts.map +1 -0
- package/dist/markdown-table-eTnxxb46.cjs +116 -0
- package/dist/markdown-table-g6DeP10e.mjs +34 -0
- package/dist/markdown-table-g6DeP10e.mjs.map +1 -0
- package/dist/output-BnmXIAFP.d.cts +24 -0
- package/dist/output-BnmXIAFP.d.cts.map +1 -0
- package/dist/output-CMC94bm-.d.mts +24 -0
- package/dist/output-CMC94bm-.d.mts.map +1 -0
- package/dist/output-CQXrGP3y.cjs +38 -0
- package/dist/output-D3UQ5nZo.mjs +33 -0
- package/dist/output-D3UQ5nZo.mjs.map +1 -0
- package/dist/output-Dq1RRbJY.d.cts +24 -0
- package/dist/output-Dq1RRbJY.d.cts.map +1 -0
- package/dist/plugin-B8wUxSXi.cjs +0 -0
- package/dist/plugin-BmQ6pIes.mjs +1 -0
- package/dist/plugin-C6SupJ8C.d.cts +41 -0
- package/dist/plugin-C6SupJ8C.d.cts.map +1 -0
- package/dist/plugin-bEu9fq1G.d.mts +41 -0
- package/dist/plugin-bEu9fq1G.d.mts.map +1 -0
- package/dist/record-expression-6ElbFyR0.cjs +17 -0
- package/dist/record-expression-BjXMzi4r.mjs +12 -0
- package/dist/record-expression-BjXMzi4r.mjs.map +1 -0
- package/dist/record-expression-adlQJuNw.d.cts +13 -0
- package/dist/record-expression-adlQJuNw.d.cts.map +1 -0
- package/dist/record-expression-c9kQA93k.d.mts +13 -0
- package/dist/record-expression-c9kQA93k.d.mts.map +1 -0
- package/dist/refkey-Bf_2_U5t.d.cts +14 -0
- package/dist/refkey-Bf_2_U5t.d.cts.map +1 -0
- package/dist/refkey-C08kDOQ0.cjs +21 -0
- package/dist/refkey-CIFiGvgZ.mjs +16 -0
- package/dist/refkey-CIFiGvgZ.mjs.map +1 -0
- package/dist/refkey-CSZgFc0P.d.mts +14 -0
- package/dist/refkey-CSZgFc0P.d.mts.map +1 -0
- package/dist/reflection-B-NMNIoB.mjs +61 -0
- package/dist/reflection-B-NMNIoB.mjs.map +1 -0
- package/dist/reflection-CUo0047e.d.mts +53 -0
- package/dist/reflection-CUo0047e.d.mts.map +1 -0
- package/dist/reflection-DHpdhvwI.cjs +108 -0
- package/dist/reflection-xU09ifzp.d.cts +53 -0
- package/dist/reflection-xU09ifzp.d.cts.map +1 -0
- package/dist/single-line-comment-B258_x1B.d.cts +23 -0
- package/dist/single-line-comment-B258_x1B.d.cts.map +1 -0
- package/dist/single-line-comment-COZ9RWsm.cjs +27 -0
- package/dist/single-line-comment-D9dIL45u.d.cts +23 -0
- package/dist/single-line-comment-D9dIL45u.d.cts.map +1 -0
- package/dist/single-line-comment-PMv_zrfe.d.mts +23 -0
- package/dist/single-line-comment-PMv_zrfe.d.mts.map +1 -0
- package/dist/single-line-comment-mOQtfhWt.mjs +22 -0
- package/dist/single-line-comment-mOQtfhWt.mjs.map +1 -0
- package/dist/source-file-95cXzcLB.d.cts +33 -0
- package/dist/source-file-95cXzcLB.d.cts.map +1 -0
- package/dist/source-file-BAVTBVJy.cjs +68 -0
- package/dist/source-file-BTsyACav.d.cts +33 -0
- package/dist/source-file-BTsyACav.d.cts.map +1 -0
- package/dist/source-file-BiJK-nH_.mjs +62 -0
- package/dist/source-file-BiJK-nH_.mjs.map +1 -0
- package/dist/source-file-CQl0UCgf.d.mts +33 -0
- package/dist/source-file-CQl0UCgf.d.mts.map +1 -0
- package/dist/tsdoc-BId4fp5_.cjs +585 -0
- package/dist/tsdoc-CfvwK4Ml.d.cts +164 -0
- package/dist/tsdoc-CfvwK4Ml.d.cts.map +1 -0
- package/dist/tsdoc-Crv526i6.mjs +466 -0
- package/dist/tsdoc-Crv526i6.mjs.map +1 -0
- package/dist/tsdoc-OUuKjTbh.d.mts +164 -0
- package/dist/tsdoc-OUuKjTbh.d.mts.map +1 -0
- package/dist/tsdoc-reflection-B4bfElmj.d.cts +19 -0
- package/dist/tsdoc-reflection-B4bfElmj.d.cts.map +1 -0
- package/dist/tsdoc-reflection-BbjnIsUV.d.cts +19 -0
- package/dist/tsdoc-reflection-BbjnIsUV.d.cts.map +1 -0
- package/dist/tsdoc-reflection-D-eKs6S1.mjs +176 -0
- package/dist/tsdoc-reflection-D-eKs6S1.mjs.map +1 -0
- package/dist/tsdoc-reflection-IH-Mt2o_.cjs +193 -0
- package/dist/tsdoc-reflection-ulqYHfKL.d.mts +19 -0
- package/dist/tsdoc-reflection-ulqYHfKL.d.mts.map +1 -0
- package/dist/types/components.cjs +1 -0
- package/dist/types/components.d.cts +1 -141
- package/dist/types/components.d.mts +1 -141
- package/dist/types/components.mjs +2 -0
- package/dist/types/index.cjs +2 -0
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.mts +2 -2
- package/dist/types/index.mjs +3 -0
- package/dist/types/plugin.cjs +1 -0
- package/dist/types/plugin.d.cts +1 -39
- package/dist/types/plugin.d.mts +1 -39
- package/dist/types/plugin.mjs +2 -0
- package/dist/typescript/components/builtin-file.cjs +10 -61
- package/dist/typescript/components/builtin-file.d.cts +5 -33
- package/dist/typescript/components/builtin-file.d.mts +5 -33
- package/dist/typescript/components/builtin-file.mjs +9 -59
- package/dist/typescript/components/dynamic-import-statement.cjs +2 -24
- package/dist/typescript/components/dynamic-import-statement.d.cts +1 -31
- package/dist/typescript/components/dynamic-import-statement.d.mts +1 -31
- package/dist/typescript/components/dynamic-import-statement.mjs +1 -22
- package/dist/typescript/components/entry-file.cjs +9 -41
- package/dist/typescript/components/entry-file.d.cts +4 -26
- package/dist/typescript/components/entry-file.d.mts +4 -26
- package/dist/typescript/components/entry-file.mjs +8 -38
- package/dist/typescript/components/index.cjs +50 -43
- package/dist/typescript/components/index.d.cts +12 -9
- package/dist/typescript/components/index.d.mts +12 -9
- package/dist/typescript/components/index.mjs +16 -9
- package/dist/typescript/components/record-expression.cjs +2 -11
- package/dist/typescript/components/record-expression.d.cts +1 -11
- package/dist/typescript/components/record-expression.d.mts +1 -11
- package/dist/typescript/components/record-expression.mjs +1 -9
- package/dist/typescript/components/tsdoc-reflection.cjs +8 -177
- package/dist/typescript/components/tsdoc-reflection.d.cts +3 -17
- package/dist/typescript/components/tsdoc-reflection.d.mts +3 -17
- package/dist/typescript/components/tsdoc-reflection.mjs +5 -173
- package/dist/typescript/components/tsdoc.cjs +23 -484
- package/dist/typescript/components/tsdoc.d.cts +2 -162
- package/dist/typescript/components/tsdoc.d.mts +2 -162
- package/dist/typescript/components/tsdoc.mjs +3 -463
- package/dist/typescript/components/typescript-file.cjs +10 -215
- package/dist/typescript/components/typescript-file.d.cts +3 -48
- package/dist/typescript/components/typescript-file.d.mts +3 -48
- package/dist/typescript/components/typescript-file.mjs +7 -211
- package/dist/typescript/components/typescript-interface.cjs +8 -72
- package/dist/typescript/components/typescript-interface.d.cts +2 -24
- package/dist/typescript/components/typescript-interface.d.mts +2 -24
- package/dist/typescript/components/typescript-interface.mjs +6 -69
- package/dist/typescript/components/typescript-object.cjs +8 -124
- package/dist/typescript/components/typescript-object.d.cts +2 -28
- package/dist/typescript/components/typescript-object.d.mts +2 -28
- package/dist/typescript/components/typescript-object.mjs +6 -121
- package/dist/typescript/index.cjs +50 -44
- package/dist/typescript/index.d.cts +12 -10
- package/dist/typescript/index.d.mts +12 -10
- package/dist/typescript/index.mjs +16 -10
- package/dist/typescript-BCc7kwL_.mjs +46 -0
- package/dist/typescript-BCc7kwL_.mjs.map +1 -0
- package/dist/typescript-BbjCTT04.cjs +51 -0
- package/dist/typescript-DWzPF4n4.d.mts +26 -0
- package/dist/typescript-DWzPF4n4.d.mts.map +1 -0
- package/dist/typescript-file-BWaBMfMr.d.mts +50 -0
- package/dist/typescript-file-BWaBMfMr.d.mts.map +1 -0
- package/dist/typescript-file-BmLwVIQP.cjs +231 -0
- package/dist/typescript-file-C5NjN3H2.mjs +214 -0
- package/dist/typescript-file-C5NjN3H2.mjs.map +1 -0
- package/dist/typescript-file-MYxikvB6.d.cts +50 -0
- package/dist/typescript-file-MYxikvB6.d.cts.map +1 -0
- package/dist/typescript-file-fOVF6YF2.d.cts +50 -0
- package/dist/typescript-file-fOVF6YF2.d.cts.map +1 -0
- package/dist/typescript-interface-BNdWrKgb.cjs +83 -0
- package/dist/typescript-interface-D-d9A720.d.cts +26 -0
- package/dist/typescript-interface-D-d9A720.d.cts.map +1 -0
- package/dist/typescript-interface-LN3uCdA6.mjs +72 -0
- package/dist/typescript-interface-LN3uCdA6.mjs.map +1 -0
- package/dist/typescript-interface-MV4qwTHs.d.mts +26 -0
- package/dist/typescript-interface-MV4qwTHs.d.mts.map +1 -0
- package/dist/typescript-o4AsClkT.d.cts +26 -0
- package/dist/typescript-o4AsClkT.d.cts.map +1 -0
- package/dist/typescript-object-Bbza8TK7.d.cts +30 -0
- package/dist/typescript-object-Bbza8TK7.d.cts.map +1 -0
- package/dist/typescript-object-C7p9fJBF.d.mts +30 -0
- package/dist/typescript-object-C7p9fJBF.d.mts.map +1 -0
- package/dist/typescript-object-DIyR8xhW.mjs +124 -0
- package/dist/typescript-object-DIyR8xhW.mjs.map +1 -0
- package/dist/typescript-object-ENaG1YGI.cjs +135 -0
- package/dist/typescript-object-v1WiBD8W.d.cts +30 -0
- package/dist/typescript-object-v1WiBD8W.d.cts.map +1 -0
- package/dist/unctx-MFxscYXI.mjs +12 -0
- package/dist/unctx-MFxscYXI.mjs.map +1 -0
- package/dist/unctx-r7Vvh6XR.cjs +17 -0
- package/package.json +6 -6
- package/dist/internal/unctx.cjs +0 -8
- package/dist/internal/unctx.mjs +0 -7
|
@@ -1,54 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
require('../../unctx-r7Vvh6XR.cjs');
|
|
2
|
+
const require_context = require('../../context--KBspFnw.cjs');
|
|
2
3
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
*/
|
|
9
|
-
function usePowerlinesContext() {
|
|
10
|
-
return require_unctx.unctx.tryUse();
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* Hook to safely access the {@link PluginContext | Powerlines context}.
|
|
14
|
-
*
|
|
15
|
-
* @returns The Powerlines context or null if not set.
|
|
16
|
-
*/
|
|
17
|
-
function usePowerlinesSafe() {
|
|
18
|
-
return usePowerlinesContext()?.value ?? null;
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* Hook to access the {@link PluginContext | Powerlines context}.
|
|
22
|
-
*
|
|
23
|
-
* @returns The Powerlines context.
|
|
24
|
-
*/
|
|
25
|
-
function usePowerlines() {
|
|
26
|
-
const powerlines = usePowerlinesSafe();
|
|
27
|
-
if (!powerlines) throw new Error("Powerlines - Context is not set. Please make sure the Alloy components are being provided to an invocation of the `render` function added to plugins by `@powerlines/plugin-alloy`.");
|
|
28
|
-
return powerlines;
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* Hook to safely access the render context's metadata.
|
|
32
|
-
*
|
|
33
|
-
* @returns The Powerlines context or null if not set.
|
|
34
|
-
*/
|
|
35
|
-
function useMetaSafe() {
|
|
36
|
-
return usePowerlinesContext()?.meta ?? null;
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* Hook to access the render context's metadata.
|
|
40
|
-
*
|
|
41
|
-
* @returns The Powerlines context.
|
|
42
|
-
*/
|
|
43
|
-
function useMeta() {
|
|
44
|
-
const meta = useMetaSafe();
|
|
45
|
-
if (!meta) throw new Error("Powerlines metadata is not available in the rendering context. Please make sure the Alloy components are being provided to an invocation of the `render` function added to plugins by `@powerlines/plugin-alloy`.");
|
|
46
|
-
return meta;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
//#endregion
|
|
50
|
-
exports.useMeta = useMeta;
|
|
51
|
-
exports.useMetaSafe = useMetaSafe;
|
|
52
|
-
exports.usePowerlines = usePowerlines;
|
|
53
|
-
exports.usePowerlinesContext = usePowerlinesContext;
|
|
54
|
-
exports.usePowerlinesSafe = usePowerlinesSafe;
|
|
4
|
+
exports.useMeta = require_context.useMeta;
|
|
5
|
+
exports.useMetaSafe = require_context.useMetaSafe;
|
|
6
|
+
exports.usePowerlines = require_context.usePowerlines;
|
|
7
|
+
exports.usePowerlinesContext = require_context.usePowerlinesContext;
|
|
8
|
+
exports.usePowerlinesSafe = require_context.usePowerlinesSafe;
|
|
@@ -1,66 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { StoragePreset } from "powerlines/types/fs";
|
|
3
|
-
|
|
4
|
-
//#region src/core/contexts/context.d.ts
|
|
5
|
-
interface MetaItem {
|
|
6
|
-
/**
|
|
7
|
-
* The kind of metadata item.
|
|
8
|
-
*/
|
|
9
|
-
kind?: "builtin" | "entry" | string;
|
|
10
|
-
/**
|
|
11
|
-
* Whether to skip formatting for this output.
|
|
12
|
-
*/
|
|
13
|
-
skipFormat?: boolean;
|
|
14
|
-
/**
|
|
15
|
-
* The storage preset or adapter name for the output files.
|
|
16
|
-
*
|
|
17
|
-
* @remarks
|
|
18
|
-
* If not specified, the output mode will be determined by the provided `output.mode` value.
|
|
19
|
-
*/
|
|
20
|
-
storage?: StoragePreset | string;
|
|
21
|
-
[key: string]: any;
|
|
22
|
-
}
|
|
23
|
-
interface PowerlinesContextInterface<TContext extends PluginContext = PluginContext, TMeta extends Record<string, MetaItem> = Record<string, MetaItem>> {
|
|
24
|
-
/**
|
|
25
|
-
* The current Powerlines context.
|
|
26
|
-
*/
|
|
27
|
-
value: TContext;
|
|
28
|
-
/**
|
|
29
|
-
* The current render metadata.
|
|
30
|
-
*/
|
|
31
|
-
meta: TMeta;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* Hook to access the Powerlines Context.
|
|
35
|
-
*
|
|
36
|
-
* @returns The Context.
|
|
37
|
-
*/
|
|
38
|
-
declare function usePowerlinesContext<TContext extends PluginContext = PluginContext, TMeta extends Record<string, MetaItem> = Record<string, MetaItem>>(): PowerlinesContextInterface<TContext, TMeta> | null;
|
|
39
|
-
/**
|
|
40
|
-
* Hook to safely access the {@link PluginContext | Powerlines context}.
|
|
41
|
-
*
|
|
42
|
-
* @returns The Powerlines context or null if not set.
|
|
43
|
-
*/
|
|
44
|
-
declare function usePowerlinesSafe<TContext extends PluginContext = PluginContext>(): TContext | null;
|
|
45
|
-
/**
|
|
46
|
-
* Hook to access the {@link PluginContext | Powerlines context}.
|
|
47
|
-
*
|
|
48
|
-
* @returns The Powerlines context.
|
|
49
|
-
*/
|
|
50
|
-
declare function usePowerlines<TContext extends PluginContext = PluginContext>(): TContext;
|
|
51
|
-
/**
|
|
52
|
-
* Hook to safely access the render context's metadata.
|
|
53
|
-
*
|
|
54
|
-
* @returns The Powerlines context or null if not set.
|
|
55
|
-
*/
|
|
56
|
-
declare function useMetaSafe<TMeta extends Record<string, MetaItem> = Record<string, MetaItem>>(): TMeta | null;
|
|
57
|
-
/**
|
|
58
|
-
* Hook to access the render context's metadata.
|
|
59
|
-
*
|
|
60
|
-
* @returns The Powerlines context.
|
|
61
|
-
*/
|
|
62
|
-
declare function useMeta<TMeta extends Record<string, MetaItem> = Record<string, MetaItem>>(): TMeta;
|
|
63
|
-
declare type __ΩMetaItem = any[];
|
|
64
|
-
declare type __ΩPowerlinesContextInterface = any[];
|
|
65
|
-
//#endregion
|
|
1
|
+
import { a as useMeta, c as usePowerlinesContext, i as __ΩPowerlinesContextInterface, l as usePowerlinesSafe, n as PowerlinesContextInterface, o as useMetaSafe, r as __ΩMetaItem, s as usePowerlines, t as MetaItem } from "../../context-Gqs3Ru42.cjs";
|
|
66
2
|
export { MetaItem, PowerlinesContextInterface, __ΩMetaItem, __ΩPowerlinesContextInterface, useMeta, useMetaSafe, usePowerlines, usePowerlinesContext, usePowerlinesSafe };
|
|
@@ -1,66 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { StoragePreset } from "powerlines/types/fs";
|
|
3
|
-
|
|
4
|
-
//#region src/core/contexts/context.d.ts
|
|
5
|
-
interface MetaItem {
|
|
6
|
-
/**
|
|
7
|
-
* The kind of metadata item.
|
|
8
|
-
*/
|
|
9
|
-
kind?: "builtin" | "entry" | string;
|
|
10
|
-
/**
|
|
11
|
-
* Whether to skip formatting for this output.
|
|
12
|
-
*/
|
|
13
|
-
skipFormat?: boolean;
|
|
14
|
-
/**
|
|
15
|
-
* The storage preset or adapter name for the output files.
|
|
16
|
-
*
|
|
17
|
-
* @remarks
|
|
18
|
-
* If not specified, the output mode will be determined by the provided `output.mode` value.
|
|
19
|
-
*/
|
|
20
|
-
storage?: StoragePreset | string;
|
|
21
|
-
[key: string]: any;
|
|
22
|
-
}
|
|
23
|
-
interface PowerlinesContextInterface<TContext extends PluginContext = PluginContext, TMeta extends Record<string, MetaItem> = Record<string, MetaItem>> {
|
|
24
|
-
/**
|
|
25
|
-
* The current Powerlines context.
|
|
26
|
-
*/
|
|
27
|
-
value: TContext;
|
|
28
|
-
/**
|
|
29
|
-
* The current render metadata.
|
|
30
|
-
*/
|
|
31
|
-
meta: TMeta;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* Hook to access the Powerlines Context.
|
|
35
|
-
*
|
|
36
|
-
* @returns The Context.
|
|
37
|
-
*/
|
|
38
|
-
declare function usePowerlinesContext<TContext extends PluginContext = PluginContext, TMeta extends Record<string, MetaItem> = Record<string, MetaItem>>(): PowerlinesContextInterface<TContext, TMeta> | null;
|
|
39
|
-
/**
|
|
40
|
-
* Hook to safely access the {@link PluginContext | Powerlines context}.
|
|
41
|
-
*
|
|
42
|
-
* @returns The Powerlines context or null if not set.
|
|
43
|
-
*/
|
|
44
|
-
declare function usePowerlinesSafe<TContext extends PluginContext = PluginContext>(): TContext | null;
|
|
45
|
-
/**
|
|
46
|
-
* Hook to access the {@link PluginContext | Powerlines context}.
|
|
47
|
-
*
|
|
48
|
-
* @returns The Powerlines context.
|
|
49
|
-
*/
|
|
50
|
-
declare function usePowerlines<TContext extends PluginContext = PluginContext>(): TContext;
|
|
51
|
-
/**
|
|
52
|
-
* Hook to safely access the render context's metadata.
|
|
53
|
-
*
|
|
54
|
-
* @returns The Powerlines context or null if not set.
|
|
55
|
-
*/
|
|
56
|
-
declare function useMetaSafe<TMeta extends Record<string, MetaItem> = Record<string, MetaItem>>(): TMeta | null;
|
|
57
|
-
/**
|
|
58
|
-
* Hook to access the render context's metadata.
|
|
59
|
-
*
|
|
60
|
-
* @returns The Powerlines context.
|
|
61
|
-
*/
|
|
62
|
-
declare function useMeta<TMeta extends Record<string, MetaItem> = Record<string, MetaItem>>(): TMeta;
|
|
63
|
-
declare type __ΩMetaItem = any[];
|
|
64
|
-
declare type __ΩPowerlinesContextInterface = any[];
|
|
65
|
-
//#endregion
|
|
1
|
+
import { a as useMeta, c as usePowerlinesContext, i as __ΩPowerlinesContextInterface, l as usePowerlinesSafe, n as PowerlinesContextInterface, o as useMetaSafe, r as __ΩMetaItem, s as usePowerlines, t as MetaItem } from "../../context-Du_bVzRZ.mjs";
|
|
66
2
|
export { MetaItem, PowerlinesContextInterface, __ΩMetaItem, __ΩPowerlinesContextInterface, useMeta, useMetaSafe, usePowerlines, usePowerlinesContext, usePowerlinesSafe };
|
|
@@ -1,50 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import "../../unctx-MFxscYXI.mjs";
|
|
2
|
+
import { a as usePowerlinesSafe, i as usePowerlinesContext, n as useMetaSafe, r as usePowerlines, t as useMeta } from "../../context-e2kZWEFW.mjs";
|
|
2
3
|
|
|
3
|
-
//#region src/core/contexts/context.ts
|
|
4
|
-
/**
|
|
5
|
-
* Hook to access the Powerlines Context.
|
|
6
|
-
*
|
|
7
|
-
* @returns The Context.
|
|
8
|
-
*/
|
|
9
|
-
function usePowerlinesContext() {
|
|
10
|
-
return unctx.tryUse();
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* Hook to safely access the {@link PluginContext | Powerlines context}.
|
|
14
|
-
*
|
|
15
|
-
* @returns The Powerlines context or null if not set.
|
|
16
|
-
*/
|
|
17
|
-
function usePowerlinesSafe() {
|
|
18
|
-
return usePowerlinesContext()?.value ?? null;
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* Hook to access the {@link PluginContext | Powerlines context}.
|
|
22
|
-
*
|
|
23
|
-
* @returns The Powerlines context.
|
|
24
|
-
*/
|
|
25
|
-
function usePowerlines() {
|
|
26
|
-
const powerlines = usePowerlinesSafe();
|
|
27
|
-
if (!powerlines) throw new Error("Powerlines - Context is not set. Please make sure the Alloy components are being provided to an invocation of the `render` function added to plugins by `@powerlines/plugin-alloy`.");
|
|
28
|
-
return powerlines;
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* Hook to safely access the render context's metadata.
|
|
32
|
-
*
|
|
33
|
-
* @returns The Powerlines context or null if not set.
|
|
34
|
-
*/
|
|
35
|
-
function useMetaSafe() {
|
|
36
|
-
return usePowerlinesContext()?.meta ?? null;
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* Hook to access the render context's metadata.
|
|
40
|
-
*
|
|
41
|
-
* @returns The Powerlines context.
|
|
42
|
-
*/
|
|
43
|
-
function useMeta() {
|
|
44
|
-
const meta = useMetaSafe();
|
|
45
|
-
if (!meta) throw new Error("Powerlines metadata is not available in the rendering context. Please make sure the Alloy components are being provided to an invocation of the `render` function added to plugins by `@powerlines/plugin-alloy`.");
|
|
46
|
-
return meta;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
//#endregion
|
|
50
4
|
export { useMeta, useMetaSafe, usePowerlines, usePowerlinesContext, usePowerlinesSafe };
|
|
@@ -1,16 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
const
|
|
1
|
+
require('../../unctx-r7Vvh6XR.cjs');
|
|
2
|
+
const require_context = require('../../context--KBspFnw.cjs');
|
|
3
|
+
const require_reflection = require('../../reflection-DHpdhvwI.cjs');
|
|
4
|
+
require('../../contexts-DezKayEz.cjs');
|
|
3
5
|
|
|
4
|
-
exports.ReflectionClassContext =
|
|
5
|
-
exports.ReflectionMethodContext =
|
|
6
|
-
exports.ReflectionParameterContext =
|
|
7
|
-
exports.ReflectionPropertyContext =
|
|
8
|
-
exports.useMeta =
|
|
9
|
-
exports.useMetaSafe =
|
|
10
|
-
exports.usePowerlines =
|
|
11
|
-
exports.usePowerlinesContext =
|
|
12
|
-
exports.usePowerlinesSafe =
|
|
13
|
-
exports.useReflectionClass =
|
|
14
|
-
exports.useReflectionMethod =
|
|
15
|
-
exports.useReflectionParameter =
|
|
16
|
-
exports.useReflectionProperty =
|
|
6
|
+
exports.ReflectionClassContext = require_reflection.ReflectionClassContext;
|
|
7
|
+
exports.ReflectionMethodContext = require_reflection.ReflectionMethodContext;
|
|
8
|
+
exports.ReflectionParameterContext = require_reflection.ReflectionParameterContext;
|
|
9
|
+
exports.ReflectionPropertyContext = require_reflection.ReflectionPropertyContext;
|
|
10
|
+
exports.useMeta = require_context.useMeta;
|
|
11
|
+
exports.useMetaSafe = require_context.useMetaSafe;
|
|
12
|
+
exports.usePowerlines = require_context.usePowerlines;
|
|
13
|
+
exports.usePowerlinesContext = require_context.usePowerlinesContext;
|
|
14
|
+
exports.usePowerlinesSafe = require_context.usePowerlinesSafe;
|
|
15
|
+
exports.useReflectionClass = require_reflection.useReflectionClass;
|
|
16
|
+
exports.useReflectionMethod = require_reflection.useReflectionMethod;
|
|
17
|
+
exports.useReflectionParameter = require_reflection.useReflectionParameter;
|
|
18
|
+
exports.useReflectionProperty = require_reflection.useReflectionProperty;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
1
|
+
import { a as useMeta, c as usePowerlinesContext, i as __ΩPowerlinesContextInterface, l as usePowerlinesSafe, n as PowerlinesContextInterface, o as useMetaSafe, r as __ΩMetaItem, s as usePowerlines, t as MetaItem } from "../../context-Gqs3Ru42.cjs";
|
|
2
|
+
import "../../components-IRVnipN0.cjs";
|
|
3
|
+
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-xU09ifzp.cjs";
|
|
4
|
+
import "../../index-C6yvNuzO.cjs";
|
|
3
5
|
export { MetaItem, PowerlinesContextInterface, ReflectionClassContext, ReflectionClassContextInterface, ReflectionMethodContext, ReflectionParameterContext, ReflectionPropertyContext, __ΩMetaItem, __ΩPowerlinesContextInterface, __ΩReflectionClassContextInterface, useMeta, useMetaSafe, usePowerlines, usePowerlinesContext, usePowerlinesSafe, useReflectionClass, useReflectionMethod, useReflectionParameter, useReflectionProperty };
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
1
|
+
import { a as useMeta, c as usePowerlinesContext, i as __ΩPowerlinesContextInterface, l as usePowerlinesSafe, n as PowerlinesContextInterface, o as useMetaSafe, r as __ΩMetaItem, s as usePowerlines, t as MetaItem } from "../../context-Du_bVzRZ.mjs";
|
|
2
|
+
import "../../components-oHSM7vmp.mjs";
|
|
3
|
+
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-CUo0047e.mjs";
|
|
4
|
+
import "../../index-C-lwXyQ6.mjs";
|
|
3
5
|
export { MetaItem, PowerlinesContextInterface, ReflectionClassContext, ReflectionClassContextInterface, ReflectionMethodContext, ReflectionParameterContext, ReflectionPropertyContext, __ΩMetaItem, __ΩPowerlinesContextInterface, __ΩReflectionClassContextInterface, useMeta, useMetaSafe, usePowerlines, usePowerlinesContext, usePowerlinesSafe, useReflectionClass, useReflectionMethod, useReflectionParameter, useReflectionProperty };
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
1
|
+
import "../../unctx-MFxscYXI.mjs";
|
|
2
|
+
import { a as usePowerlinesSafe, i as usePowerlinesContext, n as useMetaSafe, r as usePowerlines, t as useMeta } from "../../context-e2kZWEFW.mjs";
|
|
3
|
+
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-B-NMNIoB.mjs";
|
|
4
|
+
import "../../contexts-juWSyBfb.mjs";
|
|
3
5
|
|
|
4
6
|
export { ReflectionClassContext, ReflectionMethodContext, ReflectionParameterContext, ReflectionPropertyContext, useMeta, useMetaSafe, usePowerlines, usePowerlinesContext, usePowerlinesSafe, useReflectionClass, useReflectionMethod, useReflectionParameter, useReflectionProperty };
|
|
@@ -1,68 +1,10 @@
|
|
|
1
|
-
const
|
|
2
|
-
let __alloy_js_core = require("@alloy-js/core");
|
|
1
|
+
const require_reflection = require('../../reflection-DHpdhvwI.cjs');
|
|
3
2
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
* @returns A reactive version of the current reflection.
|
|
13
|
-
*/
|
|
14
|
-
function useReflectionClass() {
|
|
15
|
-
const context = (0, __alloy_js_core.useContext)(ReflectionClassContext);
|
|
16
|
-
if (!context) throw new Error("Powerlines - ReflectionClass Context is not set. Please make sure the Alloy components are being provided to an invocation of the `render` function added to plugins by `@powerlines/plugin-alloy`.");
|
|
17
|
-
return context;
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* The reflection property context used in template rendering.
|
|
21
|
-
*/
|
|
22
|
-
const ReflectionPropertyContext = (0, __alloy_js_core.createNamedContext)("ReflectionProperty");
|
|
23
|
-
/**
|
|
24
|
-
* Hook to access the Reflection Property context.
|
|
25
|
-
*
|
|
26
|
-
* @returns A reactive version of the current reflection.
|
|
27
|
-
*/
|
|
28
|
-
function useReflectionProperty() {
|
|
29
|
-
const context = (0, __alloy_js_core.useContext)(ReflectionPropertyContext);
|
|
30
|
-
if (!context) throw new Error("Powerlines - Reflection Property Context is not set. Please make sure the Alloy components are being provided to an invocation of the `render` function added to plugins by `@powerlines/plugin-alloy`.");
|
|
31
|
-
return context;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* The reflection method context used in template rendering.
|
|
35
|
-
*/
|
|
36
|
-
const ReflectionMethodContext = (0, __alloy_js_core.createNamedContext)("ReflectionMethod");
|
|
37
|
-
/**
|
|
38
|
-
* Hook to access the Reflection Method context.
|
|
39
|
-
*
|
|
40
|
-
* @returns A reactive version of the current reflection.
|
|
41
|
-
*/
|
|
42
|
-
function useReflectionMethod() {
|
|
43
|
-
const context = (0, __alloy_js_core.useContext)(ReflectionMethodContext);
|
|
44
|
-
if (!context) throw new Error("Powerlines - Reflection Method Context is not set. Please make sure the Alloy components are being provided to an invocation of the `render` function added to plugins by `@powerlines/plugin-alloy`.");
|
|
45
|
-
return context;
|
|
46
|
-
}
|
|
47
|
-
/**
|
|
48
|
-
* The reflection parameter context used in template rendering.
|
|
49
|
-
*/
|
|
50
|
-
const ReflectionParameterContext = (0, __alloy_js_core.createNamedContext)("ReflectionParameter");
|
|
51
|
-
/**
|
|
52
|
-
* Hook to access the Reflection Parameter context.
|
|
53
|
-
*
|
|
54
|
-
* @returns A reactive version of the current reflection.
|
|
55
|
-
*/
|
|
56
|
-
function useReflectionParameter() {
|
|
57
|
-
return (0, __alloy_js_core.useContext)(ReflectionParameterContext);
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
//#endregion
|
|
61
|
-
exports.ReflectionClassContext = ReflectionClassContext;
|
|
62
|
-
exports.ReflectionMethodContext = ReflectionMethodContext;
|
|
63
|
-
exports.ReflectionParameterContext = ReflectionParameterContext;
|
|
64
|
-
exports.ReflectionPropertyContext = ReflectionPropertyContext;
|
|
65
|
-
exports.useReflectionClass = useReflectionClass;
|
|
66
|
-
exports.useReflectionMethod = useReflectionMethod;
|
|
67
|
-
exports.useReflectionParameter = useReflectionParameter;
|
|
68
|
-
exports.useReflectionProperty = useReflectionProperty;
|
|
3
|
+
exports.ReflectionClassContext = require_reflection.ReflectionClassContext;
|
|
4
|
+
exports.ReflectionMethodContext = require_reflection.ReflectionMethodContext;
|
|
5
|
+
exports.ReflectionParameterContext = require_reflection.ReflectionParameterContext;
|
|
6
|
+
exports.ReflectionPropertyContext = require_reflection.ReflectionPropertyContext;
|
|
7
|
+
exports.useReflectionClass = require_reflection.useReflectionClass;
|
|
8
|
+
exports.useReflectionMethod = require_reflection.useReflectionMethod;
|
|
9
|
+
exports.useReflectionParameter = require_reflection.useReflectionParameter;
|
|
10
|
+
exports.useReflectionProperty = require_reflection.useReflectionProperty;
|
|
@@ -1,52 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import { ReflectionClass, ReflectionMethod, ReflectionParameter, ReflectionProperty } from "@powerlines/deepkit/vendor/type";
|
|
4
|
-
|
|
5
|
-
//#region src/core/contexts/reflection.d.ts
|
|
6
|
-
interface ReflectionClassContextInterface<T extends Record<string, any> = Record<string, any>> {
|
|
7
|
-
reflection: ReflectionClass<T>;
|
|
8
|
-
override?: ReflectionOverrideInterface<T>;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* The reflection class context used in template rendering.
|
|
12
|
-
*/
|
|
13
|
-
declare const ReflectionClassContext: ComponentContext<ReflectionClassContextInterface<any>>;
|
|
14
|
-
/**
|
|
15
|
-
* Hook to access the Reflection context.
|
|
16
|
-
*
|
|
17
|
-
* @returns A reactive version of the current reflection.
|
|
18
|
-
*/
|
|
19
|
-
declare function useReflectionClass<T extends Record<string, any> = Record<string, any>>(): ReflectionClassContextInterface<T>;
|
|
20
|
-
/**
|
|
21
|
-
* The reflection property context used in template rendering.
|
|
22
|
-
*/
|
|
23
|
-
declare const ReflectionPropertyContext: ComponentContext<ReflectionProperty>;
|
|
24
|
-
/**
|
|
25
|
-
* Hook to access the Reflection Property context.
|
|
26
|
-
*
|
|
27
|
-
* @returns A reactive version of the current reflection.
|
|
28
|
-
*/
|
|
29
|
-
declare function useReflectionProperty(): ReflectionProperty;
|
|
30
|
-
/**
|
|
31
|
-
* The reflection method context used in template rendering.
|
|
32
|
-
*/
|
|
33
|
-
declare const ReflectionMethodContext: ComponentContext<ReflectionMethod>;
|
|
34
|
-
/**
|
|
35
|
-
* Hook to access the Reflection Method context.
|
|
36
|
-
*
|
|
37
|
-
* @returns A reactive version of the current reflection.
|
|
38
|
-
*/
|
|
39
|
-
declare function useReflectionMethod(): ReflectionMethod;
|
|
40
|
-
/**
|
|
41
|
-
* The reflection parameter context used in template rendering.
|
|
42
|
-
*/
|
|
43
|
-
declare const ReflectionParameterContext: ComponentContext<ReflectionParameter>;
|
|
44
|
-
/**
|
|
45
|
-
* Hook to access the Reflection Parameter context.
|
|
46
|
-
*
|
|
47
|
-
* @returns A reactive version of the current reflection.
|
|
48
|
-
*/
|
|
49
|
-
declare function useReflectionParameter(): ReflectionParameter;
|
|
50
|
-
declare type __ΩReflectionClassContextInterface = any[];
|
|
51
|
-
//#endregion
|
|
1
|
+
import "../../components-IRVnipN0.cjs";
|
|
2
|
+
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-xU09ifzp.cjs";
|
|
52
3
|
export { ReflectionClassContext, ReflectionClassContextInterface, ReflectionMethodContext, ReflectionParameterContext, ReflectionPropertyContext, __ΩReflectionClassContextInterface, useReflectionClass, useReflectionMethod, useReflectionParameter, useReflectionProperty };
|
|
@@ -1,52 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import { ReflectionClass, ReflectionMethod, ReflectionParameter, ReflectionProperty } from "@powerlines/deepkit/vendor/type";
|
|
4
|
-
|
|
5
|
-
//#region src/core/contexts/reflection.d.ts
|
|
6
|
-
interface ReflectionClassContextInterface<T extends Record<string, any> = Record<string, any>> {
|
|
7
|
-
reflection: ReflectionClass<T>;
|
|
8
|
-
override?: ReflectionOverrideInterface<T>;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* The reflection class context used in template rendering.
|
|
12
|
-
*/
|
|
13
|
-
declare const ReflectionClassContext: ComponentContext<ReflectionClassContextInterface<any>>;
|
|
14
|
-
/**
|
|
15
|
-
* Hook to access the Reflection context.
|
|
16
|
-
*
|
|
17
|
-
* @returns A reactive version of the current reflection.
|
|
18
|
-
*/
|
|
19
|
-
declare function useReflectionClass<T extends Record<string, any> = Record<string, any>>(): ReflectionClassContextInterface<T>;
|
|
20
|
-
/**
|
|
21
|
-
* The reflection property context used in template rendering.
|
|
22
|
-
*/
|
|
23
|
-
declare const ReflectionPropertyContext: ComponentContext<ReflectionProperty>;
|
|
24
|
-
/**
|
|
25
|
-
* Hook to access the Reflection Property context.
|
|
26
|
-
*
|
|
27
|
-
* @returns A reactive version of the current reflection.
|
|
28
|
-
*/
|
|
29
|
-
declare function useReflectionProperty(): ReflectionProperty;
|
|
30
|
-
/**
|
|
31
|
-
* The reflection method context used in template rendering.
|
|
32
|
-
*/
|
|
33
|
-
declare const ReflectionMethodContext: ComponentContext<ReflectionMethod>;
|
|
34
|
-
/**
|
|
35
|
-
* Hook to access the Reflection Method context.
|
|
36
|
-
*
|
|
37
|
-
* @returns A reactive version of the current reflection.
|
|
38
|
-
*/
|
|
39
|
-
declare function useReflectionMethod(): ReflectionMethod;
|
|
40
|
-
/**
|
|
41
|
-
* The reflection parameter context used in template rendering.
|
|
42
|
-
*/
|
|
43
|
-
declare const ReflectionParameterContext: ComponentContext<ReflectionParameter>;
|
|
44
|
-
/**
|
|
45
|
-
* Hook to access the Reflection Parameter context.
|
|
46
|
-
*
|
|
47
|
-
* @returns A reactive version of the current reflection.
|
|
48
|
-
*/
|
|
49
|
-
declare function useReflectionParameter(): ReflectionParameter;
|
|
50
|
-
declare type __ΩReflectionClassContextInterface = any[];
|
|
51
|
-
//#endregion
|
|
1
|
+
import "../../components-oHSM7vmp.mjs";
|
|
2
|
+
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-CUo0047e.mjs";
|
|
52
3
|
export { ReflectionClassContext, ReflectionClassContextInterface, ReflectionMethodContext, ReflectionParameterContext, ReflectionPropertyContext, __ΩReflectionClassContextInterface, useReflectionClass, useReflectionMethod, useReflectionParameter, useReflectionProperty };
|
|
@@ -1,60 +1,3 @@
|
|
|
1
|
-
import {
|
|
1
|
+
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-B-NMNIoB.mjs";
|
|
2
2
|
|
|
3
|
-
//#region src/core/contexts/reflection.ts
|
|
4
|
-
/**
|
|
5
|
-
* The reflection class context used in template rendering.
|
|
6
|
-
*/
|
|
7
|
-
const ReflectionClassContext = createContext();
|
|
8
|
-
/**
|
|
9
|
-
* Hook to access the Reflection context.
|
|
10
|
-
*
|
|
11
|
-
* @returns A reactive version of the current reflection.
|
|
12
|
-
*/
|
|
13
|
-
function useReflectionClass() {
|
|
14
|
-
const context = useContext(ReflectionClassContext);
|
|
15
|
-
if (!context) throw new Error("Powerlines - ReflectionClass Context is not set. Please make sure the Alloy components are being provided to an invocation of the `render` function added to plugins by `@powerlines/plugin-alloy`.");
|
|
16
|
-
return context;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* The reflection property context used in template rendering.
|
|
20
|
-
*/
|
|
21
|
-
const ReflectionPropertyContext = createNamedContext("ReflectionProperty");
|
|
22
|
-
/**
|
|
23
|
-
* Hook to access the Reflection Property context.
|
|
24
|
-
*
|
|
25
|
-
* @returns A reactive version of the current reflection.
|
|
26
|
-
*/
|
|
27
|
-
function useReflectionProperty() {
|
|
28
|
-
const context = useContext(ReflectionPropertyContext);
|
|
29
|
-
if (!context) throw new Error("Powerlines - Reflection Property Context is not set. Please make sure the Alloy components are being provided to an invocation of the `render` function added to plugins by `@powerlines/plugin-alloy`.");
|
|
30
|
-
return context;
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* The reflection method context used in template rendering.
|
|
34
|
-
*/
|
|
35
|
-
const ReflectionMethodContext = createNamedContext("ReflectionMethod");
|
|
36
|
-
/**
|
|
37
|
-
* Hook to access the Reflection Method context.
|
|
38
|
-
*
|
|
39
|
-
* @returns A reactive version of the current reflection.
|
|
40
|
-
*/
|
|
41
|
-
function useReflectionMethod() {
|
|
42
|
-
const context = useContext(ReflectionMethodContext);
|
|
43
|
-
if (!context) throw new Error("Powerlines - Reflection Method Context is not set. Please make sure the Alloy components are being provided to an invocation of the `render` function added to plugins by `@powerlines/plugin-alloy`.");
|
|
44
|
-
return context;
|
|
45
|
-
}
|
|
46
|
-
/**
|
|
47
|
-
* The reflection parameter context used in template rendering.
|
|
48
|
-
*/
|
|
49
|
-
const ReflectionParameterContext = createNamedContext("ReflectionParameter");
|
|
50
|
-
/**
|
|
51
|
-
* Hook to access the Reflection Parameter context.
|
|
52
|
-
*
|
|
53
|
-
* @returns A reactive version of the current reflection.
|
|
54
|
-
*/
|
|
55
|
-
function useReflectionParameter() {
|
|
56
|
-
return useContext(ReflectionParameterContext);
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
//#endregion
|
|
60
3
|
export { ReflectionClassContext, ReflectionMethodContext, ReflectionParameterContext, ReflectionPropertyContext, useReflectionClass, useReflectionMethod, useReflectionParameter, useReflectionProperty };
|
package/dist/core/index.cjs
CHANGED
|
@@ -1,24 +1,25 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
require('
|
|
6
|
-
|
|
7
|
-
require('
|
|
1
|
+
const require_output = require('../output-CQXrGP3y.cjs');
|
|
2
|
+
require('../unctx-r7Vvh6XR.cjs');
|
|
3
|
+
const require_single_line_comment = require('../single-line-comment-COZ9RWsm.cjs');
|
|
4
|
+
const require_context = require('../context--KBspFnw.cjs');
|
|
5
|
+
const require_reflection = require('../reflection-DHpdhvwI.cjs');
|
|
6
|
+
require('../contexts-DezKayEz.cjs');
|
|
7
|
+
const require_source_file = require('../source-file-BAVTBVJy.cjs');
|
|
8
|
+
require('../components-B0evB5xd.cjs');
|
|
8
9
|
|
|
9
|
-
exports.Output =
|
|
10
|
-
exports.ReflectionClassContext =
|
|
11
|
-
exports.ReflectionMethodContext =
|
|
12
|
-
exports.ReflectionParameterContext =
|
|
13
|
-
exports.ReflectionPropertyContext =
|
|
14
|
-
exports.SingleLineComment =
|
|
15
|
-
exports.SourceFile =
|
|
16
|
-
exports.useMeta =
|
|
17
|
-
exports.useMetaSafe =
|
|
18
|
-
exports.usePowerlines =
|
|
19
|
-
exports.usePowerlinesContext =
|
|
20
|
-
exports.usePowerlinesSafe =
|
|
21
|
-
exports.useReflectionClass =
|
|
22
|
-
exports.useReflectionMethod =
|
|
23
|
-
exports.useReflectionParameter =
|
|
24
|
-
exports.useReflectionProperty =
|
|
10
|
+
exports.Output = require_output.Output;
|
|
11
|
+
exports.ReflectionClassContext = require_reflection.ReflectionClassContext;
|
|
12
|
+
exports.ReflectionMethodContext = require_reflection.ReflectionMethodContext;
|
|
13
|
+
exports.ReflectionParameterContext = require_reflection.ReflectionParameterContext;
|
|
14
|
+
exports.ReflectionPropertyContext = require_reflection.ReflectionPropertyContext;
|
|
15
|
+
exports.SingleLineComment = require_single_line_comment.SingleLineComment;
|
|
16
|
+
exports.SourceFile = require_source_file.SourceFile;
|
|
17
|
+
exports.useMeta = require_context.useMeta;
|
|
18
|
+
exports.useMetaSafe = require_context.useMetaSafe;
|
|
19
|
+
exports.usePowerlines = require_context.usePowerlines;
|
|
20
|
+
exports.usePowerlinesContext = require_context.usePowerlinesContext;
|
|
21
|
+
exports.usePowerlinesSafe = require_context.usePowerlinesSafe;
|
|
22
|
+
exports.useReflectionClass = require_reflection.useReflectionClass;
|
|
23
|
+
exports.useReflectionMethod = require_reflection.useReflectionMethod;
|
|
24
|
+
exports.useReflectionParameter = require_reflection.useReflectionParameter;
|
|
25
|
+
exports.useReflectionProperty = require_reflection.useReflectionProperty;
|
package/dist/core/index.d.cts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import "
|
|
6
|
-
import
|
|
7
|
-
import "
|
|
1
|
+
import { a as useMeta, c as usePowerlinesContext, i as __ΩPowerlinesContextInterface, l as usePowerlinesSafe, n as PowerlinesContextInterface, o as useMetaSafe, r as __ΩMetaItem, s as usePowerlines, t as MetaItem } from "../context-Gqs3Ru42.cjs";
|
|
2
|
+
import { n as OutputProps, r as __ΩOutputProps, t as Output } from "../output-BnmXIAFP.cjs";
|
|
3
|
+
import "../components-IRVnipN0.cjs";
|
|
4
|
+
import { a as __ΩSingleLineCommentVariant, i as __ΩSingleLineCommentProps, n as SingleLineCommentProps, r as SingleLineCommentVariant, t as SingleLineComment } from "../single-line-comment-B258_x1B.cjs";
|
|
5
|
+
import { n as SourceFileProps, r as __ΩSourceFileProps, t as SourceFile } from "../source-file-BTsyACav.cjs";
|
|
6
|
+
import "../index-BUYyA1Xh.cjs";
|
|
7
|
+
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-xU09ifzp.cjs";
|
|
8
|
+
import "../index-C6yvNuzO.cjs";
|
|
8
9
|
export { MetaItem, Output, OutputProps, PowerlinesContextInterface, ReflectionClassContext, ReflectionClassContextInterface, ReflectionMethodContext, ReflectionParameterContext, ReflectionPropertyContext, SingleLineComment, SingleLineCommentProps, SingleLineCommentVariant, SourceFile, SourceFileProps, __ΩMetaItem, __ΩOutputProps, __ΩPowerlinesContextInterface, __ΩReflectionClassContextInterface, __ΩSingleLineCommentProps, __ΩSingleLineCommentVariant, __ΩSourceFileProps, useMeta, useMetaSafe, usePowerlines, usePowerlinesContext, usePowerlinesSafe, useReflectionClass, useReflectionMethod, useReflectionParameter, useReflectionProperty };
|