@power-plant/alloy-js 0.0.6 → 0.0.8
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/README.md +1 -1
- package/dist/alert-BZRTtU1X.d.cts +52 -0
- package/dist/alert-BZRTtU1X.d.cts.map +1 -0
- package/dist/alert-BZRTtU1X.d.mts +52 -0
- package/dist/alert-BZRTtU1X.d.mts.map +1 -0
- package/dist/block-declaration-DbMuMxXx.d.cts +19 -0
- package/dist/block-declaration-DbMuMxXx.d.cts.map +1 -0
- package/dist/block-declaration-Yq4hWFFT.d.mts +19 -0
- package/dist/block-declaration-Yq4hWFFT.d.mts.map +1 -0
- package/dist/class-declaration-CL5quGqz.d.mts +139 -0
- package/dist/class-declaration-CL5quGqz.d.mts.map +1 -0
- package/dist/class-declaration-G7ncTlSj.d.cts +139 -0
- package/dist/class-declaration-G7ncTlSj.d.cts.map +1 -0
- package/dist/components-D8UkrP5Q.d.cts +11 -0
- package/dist/components-D8UkrP5Q.d.cts.map +1 -0
- package/dist/components-D8UkrP5Q.d.mts +11 -0
- package/dist/components-D8UkrP5Q.d.mts.map +1 -0
- package/dist/core/components/index.cjs +1 -1
- package/dist/core/components/index.d.cts +1 -1
- package/dist/core/components/index.d.mts +1 -1
- package/dist/core/components/index.mjs +1 -1
- package/dist/core/components/source-file.cjs +1 -1
- package/dist/core/components/source-file.d.cts +1 -1
- package/dist/core/components/source-file.d.mts +1 -1
- package/dist/core/components/source-file.mjs +2 -1
- package/dist/core/components/source-file.mjs.map +1 -0
- package/dist/core/contexts/execution.cjs +1 -1
- package/dist/core/contexts/execution.mjs +1 -1
- package/dist/core/contexts/index.cjs +1 -1
- package/dist/core/contexts/index.d.cts +2 -2
- package/dist/core/contexts/index.d.mts +2 -2
- package/dist/core/contexts/index.mjs +1 -1
- package/dist/core/contexts/meta.cjs +1 -1
- package/dist/core/contexts/meta.mjs +1 -1
- package/dist/core/contexts/schema.cjs +1 -1
- package/dist/core/contexts/schema.mjs +1 -1
- package/dist/core/contexts/session.cjs +1 -1
- package/dist/core/contexts/session.d.cts +2 -2
- package/dist/core/contexts/session.d.mts +2 -2
- package/dist/core/contexts/session.mjs +1 -1
- package/dist/core/contexts/spec.cjs +1 -1
- package/dist/core/contexts/spec.mjs +1 -1
- package/dist/core/helpers/header-constants.cjs +1 -0
- package/dist/core/helpers/header-constants.d.cts +12 -0
- package/dist/core/helpers/header-constants.d.cts.map +1 -0
- package/dist/core/helpers/header-constants.d.mts +12 -0
- package/dist/core/helpers/header-constants.d.mts.map +1 -0
- package/dist/core/helpers/header-constants.mjs +2 -0
- package/dist/core/helpers/header-constants.mjs.map +1 -0
- package/dist/core/index.cjs +1 -1
- package/dist/core/index.d.cts +3 -3
- package/dist/core/index.d.mts +3 -3
- package/dist/core/index.mjs +1 -1
- package/dist/dynamic-import-statement--GIybIf5.d.cts +30 -0
- package/dist/dynamic-import-statement--GIybIf5.d.cts.map +1 -0
- package/dist/dynamic-import-statement--GIybIf5.d.mts +30 -0
- package/dist/dynamic-import-statement--GIybIf5.d.mts.map +1 -0
- package/dist/front-matter-N6kiCG9y.d.cts +13 -0
- package/dist/front-matter-N6kiCG9y.d.cts.map +1 -0
- package/dist/front-matter-N6kiCG9y.d.mts +13 -0
- package/dist/front-matter-N6kiCG9y.d.mts.map +1 -0
- package/dist/get-call-signature-props-B1NHhswg.d.cts +13 -0
- package/dist/get-call-signature-props-B1NHhswg.d.cts.map +1 -0
- package/dist/get-call-signature-props-B1NHhswg.d.mts +13 -0
- package/dist/get-call-signature-props-B1NHhswg.d.mts.map +1 -0
- package/dist/hcl/components/block-declaration.cjs +1 -0
- package/dist/hcl/components/block-declaration.d.cts +2 -0
- package/dist/hcl/components/block-declaration.d.mts +2 -0
- package/dist/hcl/components/block-declaration.mjs +2 -0
- package/dist/hcl/components/block-declaration.mjs.map +1 -0
- package/dist/hcl/components/hcl-file.cjs +1 -0
- package/dist/hcl/components/hcl-file.d.cts +2 -0
- package/dist/hcl/components/hcl-file.d.mts +2 -0
- package/dist/hcl/components/hcl-file.mjs +2 -0
- package/dist/hcl/components/hcl-file.mjs.map +1 -0
- package/dist/hcl/components/index.cjs +1 -0
- package/dist/hcl/components/index.d.cts +5 -0
- package/dist/hcl/components/index.d.mts +5 -0
- package/dist/hcl/components/index.mjs +1 -0
- package/dist/hcl/components/packer-file.cjs +1 -0
- package/dist/hcl/components/packer-file.d.cts +2 -0
- package/dist/hcl/components/packer-file.d.mts +2 -0
- package/dist/hcl/components/packer-file.mjs +2 -0
- package/dist/hcl/components/packer-file.mjs.map +1 -0
- package/dist/hcl/components/terraform-file.cjs +1 -0
- package/dist/hcl/components/terraform-file.d.cts +2 -0
- package/dist/hcl/components/terraform-file.d.mts +2 -0
- package/dist/hcl/components/terraform-file.mjs +2 -0
- package/dist/hcl/components/terraform-file.mjs.map +1 -0
- package/dist/hcl/index.cjs +1 -0
- package/dist/hcl/index.d.cts +6 -0
- package/dist/hcl/index.d.mts +6 -0
- package/dist/hcl/index.mjs +1 -0
- package/dist/hcl-file-CDeOXiO0.d.mts +25 -0
- package/dist/hcl-file-CDeOXiO0.d.mts.map +1 -0
- package/dist/hcl-file-CxR4hw4B.d.cts +25 -0
- package/dist/hcl-file-CxR4hw4B.d.cts.map +1 -0
- package/dist/heading-CG6LmaB5.d.cts +17 -0
- package/dist/heading-CG6LmaB5.d.cts.map +1 -0
- package/dist/heading-D0he7iDI.d.mts +17 -0
- package/dist/heading-D0he7iDI.d.mts.map +1 -0
- package/dist/index.cjs +1 -47
- package/dist/index.d.cts.map +1 -1
- package/dist/index.mjs +1 -47
- package/dist/interface-declaration-BSo-U6IN.d.cts +78 -0
- package/dist/interface-declaration-BSo-U6IN.d.cts.map +1 -0
- package/dist/interface-declaration-DYLPeJH1.d.mts +78 -0
- package/dist/interface-declaration-DYLPeJH1.d.mts.map +1 -0
- package/dist/lexical-scope-DghPwq5Q.d.cts +12 -0
- package/dist/lexical-scope-DghPwq5Q.d.cts.map +1 -0
- package/dist/lexical-scope-DghPwq5Q.d.mts +12 -0
- package/dist/lexical-scope-DghPwq5Q.d.mts.map +1 -0
- package/dist/markdown/components/alert.cjs +1 -0
- package/dist/markdown/components/alert.d.cts +2 -0
- package/dist/markdown/components/alert.d.mts +2 -0
- package/dist/markdown/components/alert.mjs +2 -0
- package/dist/markdown/components/alert.mjs.map +1 -0
- package/dist/markdown/components/front-matter.cjs +1 -0
- package/dist/markdown/components/front-matter.d.cts +2 -0
- package/dist/markdown/components/front-matter.d.mts +2 -0
- package/dist/markdown/components/front-matter.mjs +2 -0
- package/dist/markdown/components/front-matter.mjs.map +1 -0
- package/dist/markdown/components/heading.cjs +1 -0
- package/dist/markdown/components/heading.d.cts +2 -0
- package/dist/markdown/components/heading.d.mts +2 -0
- package/dist/markdown/components/heading.mjs +2 -0
- package/dist/markdown/components/heading.mjs.map +1 -0
- package/dist/markdown/components/index.cjs +1 -0
- package/dist/markdown/components/index.d.cts +6 -0
- package/dist/markdown/components/index.d.mts +6 -0
- package/dist/markdown/components/index.mjs +1 -0
- package/dist/markdown/components/markdown-file.cjs +1 -0
- package/dist/markdown/components/markdown-file.d.cts +2 -0
- package/dist/markdown/components/markdown-file.d.mts +2 -0
- package/dist/markdown/components/markdown-file.mjs +2 -0
- package/dist/markdown/components/markdown-file.mjs.map +1 -0
- package/dist/markdown/components/markdown-table.cjs +1 -0
- package/dist/markdown/components/markdown-table.d.cts +2 -0
- package/dist/markdown/components/markdown-table.d.mts +2 -0
- package/dist/markdown/components/markdown-table.mjs +2 -0
- package/dist/markdown/components/markdown-table.mjs.map +1 -0
- package/dist/markdown/contexts/index.cjs +1 -0
- package/dist/markdown/contexts/index.d.cts +2 -0
- package/dist/markdown/contexts/index.d.mts +2 -0
- package/dist/markdown/contexts/index.mjs +1 -0
- package/dist/markdown/contexts/markdown-table.cjs +1 -0
- package/dist/markdown/contexts/markdown-table.d.cts +2 -0
- package/dist/markdown/contexts/markdown-table.d.mts +2 -0
- package/dist/markdown/contexts/markdown-table.mjs +2 -0
- package/dist/markdown/contexts/markdown-table.mjs.map +1 -0
- package/dist/markdown/index.cjs +1 -0
- package/dist/markdown/index.d.cts +9 -0
- package/dist/markdown/index.d.mts +9 -0
- package/dist/markdown/index.mjs +1 -0
- package/dist/markdown-file-BsiASIVZ.d.cts +25 -0
- package/dist/markdown-file-BsiASIVZ.d.cts.map +1 -0
- package/dist/markdown-file-CG6y_nCf.d.mts +25 -0
- package/dist/markdown-file-CG6y_nCf.d.mts.map +1 -0
- package/dist/markdown-table-BxfTr3lV.d.cts +35 -0
- package/dist/markdown-table-BxfTr3lV.d.cts.map +1 -0
- package/dist/markdown-table-BxfTr3lV.d.mts +35 -0
- package/dist/markdown-table-BxfTr3lV.d.mts.map +1 -0
- package/dist/markdown-table-H4veEJCn.d.mts +37 -0
- package/dist/markdown-table-H4veEJCn.d.mts.map +1 -0
- package/dist/markdown-table-P04wFKse.d.cts +37 -0
- package/dist/markdown-table-P04wFKse.d.cts.map +1 -0
- package/dist/object-declaration-BWJ8zDKp.d.cts +24 -0
- package/dist/object-declaration-BWJ8zDKp.d.cts.map +1 -0
- package/dist/object-declaration-DQQhQypx.d.mts +24 -0
- package/dist/object-declaration-DQQhQypx.d.mts.map +1 -0
- package/dist/packer-file-DVdUCeHH.d.cts +16 -0
- package/dist/packer-file-DVdUCeHH.d.cts.map +1 -0
- package/dist/packer-file-DeJWrlcR.d.mts +16 -0
- package/dist/packer-file-DeJWrlcR.d.mts.map +1 -0
- package/dist/property-name-bQ4hrXmQ.d.cts +21 -0
- package/dist/property-name-bQ4hrXmQ.d.cts.map +1 -0
- package/dist/property-name-bQ4hrXmQ.d.mts +21 -0
- package/dist/property-name-bQ4hrXmQ.d.mts.map +1 -0
- package/dist/record-expression-CECGDPCk.d.cts +9 -0
- package/dist/record-expression-CECGDPCk.d.cts.map +1 -0
- package/dist/record-expression-CECGDPCk.d.mts +9 -0
- package/dist/record-expression-CECGDPCk.d.mts.map +1 -0
- package/dist/render.cjs +1 -1
- package/dist/render.d.cts.map +1 -1
- package/dist/render.mjs +2 -1
- package/dist/render.mjs.map +1 -0
- package/dist/rolldown-runtime-CMqjfN_6.cjs +1 -0
- package/dist/session-C2p15ap9.d.cts +23 -0
- package/dist/session-C2p15ap9.d.cts.map +1 -0
- package/dist/session-C2p15ap9.d.mts +23 -0
- package/dist/session-C2p15ap9.d.mts.map +1 -0
- package/dist/{source-file-DVILH8rC.d.mts → source-file-BiWHfxCC.d.mts} +5 -5
- package/dist/source-file-BiWHfxCC.d.mts.map +1 -0
- package/dist/{source-file-CPJOENVo.d.cts → source-file-DfP35Z8l.d.cts} +4 -4
- package/dist/source-file-DfP35Z8l.d.cts.map +1 -0
- package/dist/terraform-file-DS0uAb5z.d.mts +17 -0
- package/dist/terraform-file-DS0uAb5z.d.mts.map +1 -0
- package/dist/terraform-file-gr1_jJWO.d.cts +17 -0
- package/dist/terraform-file-gr1_jJWO.d.cts.map +1 -0
- package/dist/tsdoc-B6Hw9jOF.d.cts +163 -0
- package/dist/tsdoc-B6Hw9jOF.d.cts.map +1 -0
- package/dist/tsdoc-CFdZtTw6.d.mts +163 -0
- package/dist/tsdoc-CFdZtTw6.d.mts.map +1 -0
- package/dist/tsdoc-schema-B4yKswI-.d.mts +21 -0
- package/dist/tsdoc-schema-B4yKswI-.d.mts.map +1 -0
- package/dist/tsdoc-schema-DJ_3JLuh.d.cts +21 -0
- package/dist/tsdoc-schema-DJ_3JLuh.d.cts.map +1 -0
- package/dist/type-declaration-BLvkozNR.d.cts +15 -0
- package/dist/type-declaration-BLvkozNR.d.cts.map +1 -0
- package/dist/type-declaration-BLvkozNR.d.mts +15 -0
- package/dist/type-declaration-BLvkozNR.d.mts.map +1 -0
- package/dist/type-parameters-BzCDG9lT.d.cts +22 -0
- package/dist/type-parameters-BzCDG9lT.d.cts.map +1 -0
- package/dist/type-parameters-BzCDG9lT.d.mts +22 -0
- package/dist/type-parameters-BzCDG9lT.d.mts.map +1 -0
- package/dist/typescript/components/class-declaration.cjs +1 -0
- package/dist/typescript/components/class-declaration.d.cts +2 -0
- package/dist/typescript/components/class-declaration.d.mts +2 -0
- package/dist/typescript/components/class-declaration.mjs +2 -0
- package/dist/typescript/components/class-declaration.mjs.map +1 -0
- package/dist/typescript/components/dynamic-import-statement.cjs +1 -0
- package/dist/typescript/components/dynamic-import-statement.d.cts +2 -0
- package/dist/typescript/components/dynamic-import-statement.d.mts +2 -0
- package/dist/typescript/components/dynamic-import-statement.mjs +2 -0
- package/dist/typescript/components/dynamic-import-statement.mjs.map +1 -0
- package/dist/typescript/components/index.cjs +1 -0
- package/dist/typescript/components/index.d.cts +12 -0
- package/dist/typescript/components/index.d.mts +12 -0
- package/dist/typescript/components/index.mjs +1 -0
- package/dist/typescript/components/interface-declaration.cjs +1 -0
- package/dist/typescript/components/interface-declaration.d.cts +2 -0
- package/dist/typescript/components/interface-declaration.d.mts +2 -0
- package/dist/typescript/components/interface-declaration.mjs +2 -0
- package/dist/typescript/components/interface-declaration.mjs.map +1 -0
- package/dist/typescript/components/object-declaration.cjs +1 -0
- package/dist/typescript/components/object-declaration.d.cts +2 -0
- package/dist/typescript/components/object-declaration.d.mts +2 -0
- package/dist/typescript/components/object-declaration.mjs +2 -0
- package/dist/typescript/components/object-declaration.mjs.map +1 -0
- package/dist/typescript/components/property-name.cjs +1 -0
- package/dist/typescript/components/property-name.d.cts +2 -0
- package/dist/typescript/components/property-name.d.mts +2 -0
- package/dist/typescript/components/property-name.mjs +2 -0
- package/dist/typescript/components/property-name.mjs.map +1 -0
- package/dist/typescript/components/record-expression.cjs +3 -0
- package/dist/typescript/components/record-expression.d.cts +2 -0
- package/dist/typescript/components/record-expression.d.mts +2 -0
- package/dist/typescript/components/record-expression.mjs +4 -0
- package/dist/typescript/components/record-expression.mjs.map +1 -0
- package/dist/typescript/components/tsdoc-schema.cjs +1 -0
- package/dist/typescript/components/tsdoc-schema.d.cts +2 -0
- package/dist/typescript/components/tsdoc-schema.d.mts +2 -0
- package/dist/typescript/components/tsdoc-schema.mjs +2 -0
- package/dist/typescript/components/tsdoc-schema.mjs.map +1 -0
- package/dist/typescript/components/tsdoc.cjs +1 -0
- package/dist/typescript/components/tsdoc.d.cts +2 -0
- package/dist/typescript/components/tsdoc.d.mts +2 -0
- package/dist/typescript/components/tsdoc.mjs +2 -0
- package/dist/typescript/components/tsdoc.mjs.map +1 -0
- package/dist/typescript/components/type-declaration.cjs +1 -0
- package/dist/typescript/components/type-declaration.d.cts +2 -0
- package/dist/typescript/components/type-declaration.d.mts +2 -0
- package/dist/typescript/components/type-declaration.mjs +2 -0
- package/dist/typescript/components/type-declaration.mjs.map +1 -0
- package/dist/typescript/components/type-parameters.cjs +1 -0
- package/dist/typescript/components/type-parameters.d.cts +2 -0
- package/dist/typescript/components/type-parameters.d.mts +2 -0
- package/dist/typescript/components/type-parameters.mjs +2 -0
- package/dist/typescript/components/type-parameters.mjs.map +1 -0
- package/dist/typescript/components/typescript-file.cjs +1 -0
- package/dist/typescript/components/typescript-file.d.cts +2 -0
- package/dist/typescript/components/typescript-file.d.mts +2 -0
- package/dist/typescript/components/typescript-file.mjs +2 -0
- package/dist/typescript/components/typescript-file.mjs.map +1 -0
- package/dist/typescript/contexts/index.cjs +1 -0
- package/dist/typescript/contexts/index.d.cts +2 -0
- package/dist/typescript/contexts/index.d.mts +2 -0
- package/dist/typescript/contexts/index.mjs +1 -0
- package/dist/typescript/contexts/lexical-scope.cjs +1 -0
- package/dist/typescript/contexts/lexical-scope.d.cts +2 -0
- package/dist/typescript/contexts/lexical-scope.d.mts +2 -0
- package/dist/typescript/contexts/lexical-scope.mjs +2 -0
- package/dist/typescript/contexts/lexical-scope.mjs.map +1 -0
- package/dist/typescript/contexts/member-scope.cjs +1 -0
- package/dist/typescript/contexts/member-scope.d.cts +18 -0
- package/dist/typescript/contexts/member-scope.d.cts.map +1 -0
- package/dist/typescript/contexts/member-scope.d.mts +18 -0
- package/dist/typescript/contexts/member-scope.d.mts.map +1 -0
- package/dist/typescript/contexts/member-scope.mjs +2 -0
- package/dist/typescript/contexts/member-scope.mjs.map +1 -0
- package/dist/typescript/helpers/get-call-signature-props.cjs +1 -0
- package/dist/typescript/helpers/get-call-signature-props.d.cts +2 -0
- package/dist/typescript/helpers/get-call-signature-props.d.mts +2 -0
- package/dist/typescript/helpers/get-call-signature-props.mjs +2 -0
- package/dist/typescript/helpers/get-call-signature-props.mjs.map +1 -0
- package/dist/typescript/helpers/index.cjs +1 -0
- package/dist/typescript/helpers/index.d.cts +3 -0
- package/dist/typescript/helpers/index.d.mts +3 -0
- package/dist/typescript/helpers/index.mjs +1 -0
- package/dist/typescript/helpers/utilities.cjs +1 -0
- package/dist/typescript/helpers/utilities.d.cts +2 -0
- package/dist/typescript/helpers/utilities.d.mts +2 -0
- package/dist/typescript/helpers/utilities.mjs +2 -0
- package/dist/typescript/helpers/utilities.mjs.map +1 -0
- package/dist/typescript/index.cjs +1 -0
- package/dist/typescript/index.d.cts +19 -0
- package/dist/typescript/index.d.mts +19 -0
- package/dist/typescript/index.mjs +1 -0
- package/dist/typescript/types/components.cjs +0 -0
- package/dist/typescript/types/components.d.cts +2 -0
- package/dist/typescript/types/components.d.mts +2 -0
- package/dist/typescript/types/components.mjs +0 -0
- package/dist/typescript/types/index.cjs +0 -0
- package/dist/typescript/types/index.d.cts +2 -0
- package/dist/typescript/types/index.d.mts +2 -0
- package/dist/typescript/types/index.mjs +0 -0
- package/dist/typescript-file-C0GR7QWh.d.cts +49 -0
- package/dist/typescript-file-C0GR7QWh.d.cts.map +1 -0
- package/dist/typescript-file-YdpvA2Y-.d.mts +49 -0
- package/dist/typescript-file-YdpvA2Y-.d.mts.map +1 -0
- package/dist/utilities-BtXOWwjJ.d.cts +11 -0
- package/dist/utilities-BtXOWwjJ.d.cts.map +1 -0
- package/dist/utilities-BtXOWwjJ.d.mts +11 -0
- package/dist/utilities-BtXOWwjJ.d.mts.map +1 -0
- package/dist/yaml/components/index.cjs +1 -0
- package/dist/yaml/components/index.d.cts +2 -0
- package/dist/yaml/components/index.d.mts +2 -0
- package/dist/yaml/components/index.mjs +1 -0
- package/dist/yaml/components/yaml-file.cjs +1 -0
- package/dist/yaml/components/yaml-file.d.cts +2 -0
- package/dist/yaml/components/yaml-file.d.mts +2 -0
- package/dist/yaml/components/yaml-file.mjs +2 -0
- package/dist/yaml/components/yaml-file.mjs.map +1 -0
- package/dist/yaml/index.cjs +1 -0
- package/dist/yaml/index.d.cts +3 -0
- package/dist/yaml/index.d.mts +3 -0
- package/dist/yaml/index.mjs +1 -0
- package/dist/yaml-file-BBXSkeRl.d.cts +31 -0
- package/dist/yaml-file-BBXSkeRl.d.cts.map +1 -0
- package/dist/yaml-file-BRSIxFdU.d.mts +31 -0
- package/dist/yaml-file-BRSIxFdU.d.mts.map +1 -0
- package/package.json +570 -11
- package/dist/render-Bh6nE1bo.cjs +0 -1
- package/dist/render-UH3hN5fr.mjs +0 -2
- package/dist/render-UH3hN5fr.mjs.map +0 -1
- package/dist/session-CFnVWg4N.d.cts +0 -62
- package/dist/session-CFnVWg4N.d.cts.map +0 -1
- package/dist/session-CFnVWg4N.d.mts +0 -62
- package/dist/session-CFnVWg4N.d.mts.map +0 -1
- package/dist/source-file-CPJOENVo.d.cts.map +0 -1
- package/dist/source-file-DVILH8rC.d.mts.map +0 -1
- package/dist/source-file-K_2P7eFP.cjs +0 -1
- package/dist/source-file-t3itBybg.mjs +0 -2
- package/dist/source-file-t3itBybg.mjs.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});let e=require("@alloy-js/core");const t=(0,e.createNamedContext)(`Session`);function n(){let n=(0,e.useContext)(t);if(!n)throw Error("Session 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 `@
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});let e=require("@alloy-js/core");const t=(0,e.createNamedContext)(`Session`);function n(){let n=(0,e.useContext)(t);if(!n)throw Error("Session 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 `@power-plant/alloy-js`.");return n}function r(){return(0,e.useContext)(t)}exports.SessionContext=t,exports.useSession=n,exports.useSessionSafe=r;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { SessionContext,
|
|
1
|
+
import { n as useSession, r as useSessionSafe, t as SessionContext } from "../../session-C2p15ap9.cjs";
|
|
2
|
+
export { SessionContext, useSession, useSessionSafe };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { SessionContext,
|
|
1
|
+
import { n as useSession, r as useSessionSafe, t as SessionContext } from "../../session-C2p15ap9.mjs";
|
|
2
|
+
export { SessionContext, useSession, useSessionSafe };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{createNamedContext as e,useContext as t}from"@alloy-js/core";const n=e(`Session`);function r(){let e=t(n);if(!e)throw Error("Session 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 `@
|
|
1
|
+
import{createNamedContext as e,useContext as t}from"@alloy-js/core";const n=e(`Session`);function r(){let e=t(n);if(!e)throw Error("Session 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 `@power-plant/alloy-js`.");return e}function i(){return t(n)}export{n as SessionContext,r as useSession,i as useSessionSafe};
|
|
2
2
|
//# sourceMappingURL=session.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});let e=require("@alloy-js/core");const t=(0,e.createNamedContext)(`SpecContext`);function n(){let n=(0,e.useContext)(t);if(!n)throw Error("Specification context 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 `@
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});let e=require("@alloy-js/core");const t=(0,e.createNamedContext)(`SpecContext`);function n(){let n=(0,e.useContext)(t);if(!n)throw Error("Specification context 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 `@power-plant/alloy-js`.");return n}function r(){return(0,e.useContext)(t)}exports.SpecContext=t,exports.useSpec=n,exports.useSpecSafe=r;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{createNamedContext as e,useContext as t}from"@alloy-js/core";const n=e(`SpecContext`);function r(){let e=t(n);if(!e)throw Error("Specification context 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 `@
|
|
1
|
+
import{createNamedContext as e,useContext as t}from"@alloy-js/core";const n=e(`SpecContext`);function r(){let e=t(n);if(!e)throw Error("Specification context 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 `@power-plant/alloy-js`.");return e}function i(){return t(n)}export{n as SpecContext,r as useSpec,i as useSpecSafe};
|
|
2
2
|
//# sourceMappingURL=spec.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),exports.HEADER_TEXT_LINE_1=`Generated by Power Plant`,exports.HEADER_TEXT_LINE_2=`Please do not edit this file manually - it will be automatically overwritten the next time the generator is run.`;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
//#region src/core/helpers/header-constants.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* The first line of the header text.
|
|
4
|
+
*/
|
|
5
|
+
declare const HEADER_TEXT_LINE_1 = "Generated by Power Plant";
|
|
6
|
+
/**
|
|
7
|
+
* The second line of the header text.
|
|
8
|
+
*/
|
|
9
|
+
declare const HEADER_TEXT_LINE_2 = "Please do not edit this file manually - it will be automatically overwritten the next time the generator is run.";
|
|
10
|
+
//#endregion
|
|
11
|
+
export { HEADER_TEXT_LINE_1, HEADER_TEXT_LINE_2 };
|
|
12
|
+
//# sourceMappingURL=header-constants.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"header-constants.d.cts","names":[],"sources":["../../../src/core/helpers/header-constants.ts"],"mappings":";;;;cAqBa;;;;cAKA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
//#region src/core/helpers/header-constants.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* The first line of the header text.
|
|
4
|
+
*/
|
|
5
|
+
declare const HEADER_TEXT_LINE_1 = "Generated by Power Plant";
|
|
6
|
+
/**
|
|
7
|
+
* The second line of the header text.
|
|
8
|
+
*/
|
|
9
|
+
declare const HEADER_TEXT_LINE_2 = "Please do not edit this file manually - it will be automatically overwritten the next time the generator is run.";
|
|
10
|
+
//#endregion
|
|
11
|
+
export { HEADER_TEXT_LINE_1, HEADER_TEXT_LINE_2 };
|
|
12
|
+
//# sourceMappingURL=header-constants.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"header-constants.d.mts","names":[],"sources":["../../../src/core/helpers/header-constants.ts"],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"header-constants.mjs","names":[],"sources":[],"mappings":""}
|
package/dist/core/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./contexts/execution.cjs"),t=require("./contexts/meta.cjs"),n=require("./components/output.cjs"),r=require("./components/single-line-comment.cjs"),i=require("./components/source-file.cjs"),a=require("./components/spacing.cjs");require("./components/index.cjs");const o=require("./contexts/schema.cjs"),s=require("./contexts/session.cjs");require("./contexts/index.cjs");const c=require("./helpers/code.cjs");require("./helpers/index.cjs"),exports.ExecutionContext=e.ExecutionContext,exports.MetaContext=t.MetaContext,exports.Output=n.Output,exports.SchemaContext=o.SchemaContext,exports.SchemaPropertyContext=o.SchemaPropertyContext,exports.SessionContext=s.SessionContext,exports.SingleLineComment=r.SingleLineComment,exports.SourceFile=i.SourceFile,exports.Spacing=a.Spacing,exports.code=c.code,exports.useExecution=e.useExecution,exports.useExecutionSafe=e.useExecutionSafe,exports.useMeta=t.useMeta,exports.useMetaSafe=t.useMetaSafe,exports.useSchema=o.useSchema,exports.useSchemaProperty=o.useSchemaProperty,exports.useSchemaPropertySafe=o.useSchemaPropertySafe,exports.useSchemaSafe=o.useSchemaSafe,exports.useSession=s.useSession,exports.useSessionSafe=s.useSessionSafe;
|
package/dist/core/index.d.cts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { n as OutputProps, t as Output } from "../output-BFL54LWl.cjs";
|
|
2
2
|
import { n as SingleLineCommentProps, r as SingleLineCommentVariant, t as SingleLineComment } from "../single-line-comment-BbbyteDv.cjs";
|
|
3
|
-
import { n as SourceFileProps, t as SourceFile } from "../source-file-
|
|
3
|
+
import { n as SourceFileProps, t as SourceFile } from "../source-file-DfP35Z8l.cjs";
|
|
4
4
|
import { n as SpacingProps, t as Spacing } from "../spacing-HIHoQdxS.cjs";
|
|
5
5
|
import "./components/index.cjs";
|
|
6
6
|
import { n as useExecution, r as useExecutionSafe, t as ExecutionContext } from "../execution-BGY24cO8.cjs";
|
|
7
7
|
import { n as useMeta, r as useMetaSafe, t as MetaContext } from "../meta-ClbpDxeS.cjs";
|
|
8
8
|
import { a as useSchemaPropertySafe, i as useSchemaProperty, n as SchemaPropertyContext, o as useSchemaSafe, r as useSchema, t as SchemaContext } from "../schema-CkCXkDzU.cjs";
|
|
9
|
-
import {
|
|
9
|
+
import { n as useSession, r as useSessionSafe, t as SessionContext } from "../session-C2p15ap9.cjs";
|
|
10
10
|
import "./contexts/index.cjs";
|
|
11
11
|
import { t as code } from "../code-DJUGcivU.cjs";
|
|
12
12
|
import "./helpers/index.cjs";
|
|
13
|
-
export { ExecutionContext, MetaContext, Output, OutputProps, SchemaContext, SchemaPropertyContext, SessionContext, SingleLineComment, SingleLineCommentProps, SingleLineCommentVariant, SourceFile, SourceFileProps, Spacing, SpacingProps, code,
|
|
13
|
+
export { ExecutionContext, MetaContext, Output, OutputProps, SchemaContext, SchemaPropertyContext, SessionContext, SingleLineComment, SingleLineCommentProps, SingleLineCommentVariant, SourceFile, SourceFileProps, Spacing, SpacingProps, code, useExecution, useExecutionSafe, useMeta, useMetaSafe, useSchema, useSchemaProperty, useSchemaPropertySafe, useSchemaSafe, useSession, useSessionSafe };
|
package/dist/core/index.d.mts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { n as OutputProps, t as Output } from "../output-CIbYv2pQ.mjs";
|
|
2
2
|
import { n as SingleLineCommentProps, r as SingleLineCommentVariant, t as SingleLineComment } from "../single-line-comment-DB4XWAmh.mjs";
|
|
3
|
-
import { n as SourceFileProps, t as SourceFile } from "../source-file-
|
|
3
|
+
import { n as SourceFileProps, t as SourceFile } from "../source-file-BiWHfxCC.mjs";
|
|
4
4
|
import { n as SpacingProps, t as Spacing } from "../spacing-HIHoQdxS.mjs";
|
|
5
5
|
import "./components/index.mjs";
|
|
6
6
|
import { n as useExecution, r as useExecutionSafe, t as ExecutionContext } from "../execution-BGY24cO8.mjs";
|
|
7
7
|
import { n as useMeta, r as useMetaSafe, t as MetaContext } from "../meta-ClbpDxeS.mjs";
|
|
8
8
|
import { a as useSchemaPropertySafe, i as useSchemaProperty, n as SchemaPropertyContext, o as useSchemaSafe, r as useSchema, t as SchemaContext } from "../schema-CkCXkDzU.mjs";
|
|
9
|
-
import {
|
|
9
|
+
import { n as useSession, r as useSessionSafe, t as SessionContext } from "../session-C2p15ap9.mjs";
|
|
10
10
|
import "./contexts/index.mjs";
|
|
11
11
|
import { t as code } from "../code-tudxNOH1.mjs";
|
|
12
12
|
import "./helpers/index.mjs";
|
|
13
|
-
export { ExecutionContext, MetaContext, Output, OutputProps, SchemaContext, SchemaPropertyContext, SessionContext, SingleLineComment, SingleLineCommentProps, SingleLineCommentVariant, SourceFile, SourceFileProps, Spacing, SpacingProps, code,
|
|
13
|
+
export { ExecutionContext, MetaContext, Output, OutputProps, SchemaContext, SchemaPropertyContext, SessionContext, SingleLineComment, SingleLineCommentProps, SingleLineCommentVariant, SourceFile, SourceFileProps, Spacing, SpacingProps, code, useExecution, useExecutionSafe, useMeta, useMetaSafe, useSchema, useSchemaProperty, useSchemaPropertySafe, useSchemaSafe, useSession, useSessionSafe };
|
package/dist/core/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{ExecutionContext as e,useExecution as t,useExecutionSafe as n}from"./contexts/execution.mjs";import{MetaContext as r,useMeta as i,useMetaSafe as a}from"./contexts/meta.mjs";import{Output as o}from"./components/output.mjs";import{SingleLineComment as s}from"./components/single-line-comment.mjs";import{SourceFile as c}from"./components/source-file.mjs";import{Spacing as l}from"./components/spacing.mjs";import"./components/index.mjs";import{SchemaContext as u,SchemaPropertyContext as d,useSchema as f,useSchemaProperty as p,useSchemaPropertySafe as m,useSchemaSafe as h}from"./contexts/schema.mjs";import{SessionContext as g,useSession as _,useSessionSafe as v}from"./contexts/session.mjs";import"./contexts/index.mjs";import{code as y}from"./helpers/code.mjs";import"./helpers/index.mjs";export{e as ExecutionContext,r as MetaContext,o as Output,u as SchemaContext,d as SchemaPropertyContext,g as SessionContext,s as SingleLineComment,c as SourceFile,l as Spacing,y as code,t as useExecution,n as useExecutionSafe,i as useMeta,a as useMetaSafe,f as useSchema,p as useSchemaProperty,m as useSchemaPropertySafe,h as useSchemaSafe,_ as useSession,v as useSessionSafe};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { VarDeclarationProps } from "@alloy-js/typescript";
|
|
2
|
+
//#region src/typescript/components/dynamic-import-statement.d.ts
|
|
3
|
+
interface DynamicImportStatementProps extends Omit<VarDeclarationProps, "initializer"> {
|
|
4
|
+
/**
|
|
5
|
+
* The path of the module to import.
|
|
6
|
+
*/
|
|
7
|
+
importPath: string;
|
|
8
|
+
/**
|
|
9
|
+
* The name of the export to import from the module.
|
|
10
|
+
*
|
|
11
|
+
* @defaultValue "default"
|
|
12
|
+
*/
|
|
13
|
+
exportName?: string;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Generates a dynamic import statement for a given module path and export name.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* ```tsx
|
|
20
|
+
* <DynamicImportStatement importPath="./my-module" exportName="myExport" const={true} name="myVar" />
|
|
21
|
+
* // const myVar = await import("./my-module").then(m => m.myExport);
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* @param props - The properties for the dynamic import statement.
|
|
25
|
+
* @returns A `VarDeclaration` component representing the dynamic import statement.
|
|
26
|
+
*/
|
|
27
|
+
declare function DynamicImportStatement(props: DynamicImportStatementProps): import("@alloy-js/core").Children;
|
|
28
|
+
//#endregion
|
|
29
|
+
export { DynamicImportStatementProps as n, DynamicImportStatement as t };
|
|
30
|
+
//# sourceMappingURL=dynamic-import-statement--GIybIf5.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dynamic-import-statement--GIybIf5.d.cts","names":[],"sources":["../src/typescript/components/dynamic-import-statement.tsx"],"mappings":";;UAsBiB,oCAAoC,KACnD;;;;EAMA;;;;;;EAOA;;;;;;;;;;;;;;iBAec,uBAAuB,OAAO,uDAA2B"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { VarDeclarationProps } from "@alloy-js/typescript";
|
|
2
|
+
//#region src/typescript/components/dynamic-import-statement.d.ts
|
|
3
|
+
interface DynamicImportStatementProps extends Omit<VarDeclarationProps, "initializer"> {
|
|
4
|
+
/**
|
|
5
|
+
* The path of the module to import.
|
|
6
|
+
*/
|
|
7
|
+
importPath: string;
|
|
8
|
+
/**
|
|
9
|
+
* The name of the export to import from the module.
|
|
10
|
+
*
|
|
11
|
+
* @defaultValue "default"
|
|
12
|
+
*/
|
|
13
|
+
exportName?: string;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Generates a dynamic import statement for a given module path and export name.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* ```tsx
|
|
20
|
+
* <DynamicImportStatement importPath="./my-module" exportName="myExport" const={true} name="myVar" />
|
|
21
|
+
* // const myVar = await import("./my-module").then(m => m.myExport);
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* @param props - The properties for the dynamic import statement.
|
|
25
|
+
* @returns A `VarDeclaration` component representing the dynamic import statement.
|
|
26
|
+
*/
|
|
27
|
+
declare function DynamicImportStatement(props: DynamicImportStatementProps): import("@alloy-js/core").Children;
|
|
28
|
+
//#endregion
|
|
29
|
+
export { DynamicImportStatementProps as n, DynamicImportStatement as t };
|
|
30
|
+
//# sourceMappingURL=dynamic-import-statement--GIybIf5.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dynamic-import-statement--GIybIf5.d.mts","names":[],"sources":["../src/typescript/components/dynamic-import-statement.tsx"],"mappings":""}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
//#region src/markdown/components/front-matter.d.ts
|
|
2
|
+
interface FrontMatterProps {
|
|
3
|
+
data: Record<string, any>;
|
|
4
|
+
}
|
|
5
|
+
/**
|
|
6
|
+
* Renders YAML front matter for a markdown file.
|
|
7
|
+
*
|
|
8
|
+
* @see https://jekyllrb.com/docs/front-matter/
|
|
9
|
+
*/
|
|
10
|
+
declare function FrontMatter(props: FrontMatterProps): import("@alloy-js/core").Children;
|
|
11
|
+
//#endregion
|
|
12
|
+
export { FrontMatterProps as n, FrontMatter as t };
|
|
13
|
+
//# sourceMappingURL=front-matter-N6kiCG9y.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"front-matter-N6kiCG9y.d.cts","names":[],"sources":["../src/markdown/components/front-matter.tsx"],"mappings":";UAqBiB;EACf,MAAM;;;;;;;iBAQQ,YAAY,OAAO,4CAAgB"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
//#region src/markdown/components/front-matter.d.ts
|
|
2
|
+
interface FrontMatterProps {
|
|
3
|
+
data: Record<string, any>;
|
|
4
|
+
}
|
|
5
|
+
/**
|
|
6
|
+
* Renders YAML front matter for a markdown file.
|
|
7
|
+
*
|
|
8
|
+
* @see https://jekyllrb.com/docs/front-matter/
|
|
9
|
+
*/
|
|
10
|
+
declare function FrontMatter(props: FrontMatterProps): import("@alloy-js/core").Children;
|
|
11
|
+
//#endregion
|
|
12
|
+
export { FrontMatterProps as n, FrontMatter as t };
|
|
13
|
+
//# sourceMappingURL=front-matter-N6kiCG9y.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"front-matter-N6kiCG9y.d.mts","names":[],"sources":["../src/markdown/components/front-matter.tsx"],"mappings":""}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { CallSignatureProps } from "@alloy-js/typescript";
|
|
2
|
+
//#region src/typescript/helpers/get-call-signature-props.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* Get the properties for a call signature, applying any defaults as necessary.
|
|
5
|
+
*
|
|
6
|
+
* @param props - The properties for the call signature.
|
|
7
|
+
* @param defaults - Optional default properties to apply to the call signature.
|
|
8
|
+
* @returns The properties for the call signature, with defaults applied as necessary.
|
|
9
|
+
*/
|
|
10
|
+
declare function getCallSignatureProps(props: CallSignatureProps, defaults?: Partial<CallSignatureProps>): CallSignatureProps;
|
|
11
|
+
//#endregion
|
|
12
|
+
export { getCallSignatureProps as t };
|
|
13
|
+
//# sourceMappingURL=get-call-signature-props-B1NHhswg.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-call-signature-props-B1NHhswg.d.cts","names":[],"sources":["../src/typescript/helpers/get-call-signature-props.ts"],"mappings":";;;;;;;;;iBA4BgB,sBACd,OAAO,oBACP,WAAW,QAAQ,sBAAmB"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { CallSignatureProps } from "@alloy-js/typescript";
|
|
2
|
+
//#region src/typescript/helpers/get-call-signature-props.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* Get the properties for a call signature, applying any defaults as necessary.
|
|
5
|
+
*
|
|
6
|
+
* @param props - The properties for the call signature.
|
|
7
|
+
* @param defaults - Optional default properties to apply to the call signature.
|
|
8
|
+
* @returns The properties for the call signature, with defaults applied as necessary.
|
|
9
|
+
*/
|
|
10
|
+
declare function getCallSignatureProps(props: CallSignatureProps, defaults?: Partial<CallSignatureProps>): CallSignatureProps;
|
|
11
|
+
//#endregion
|
|
12
|
+
export { getCallSignatureProps as t };
|
|
13
|
+
//# sourceMappingURL=get-call-signature-props-B1NHhswg.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-call-signature-props-B1NHhswg.d.mts","names":[],"sources":["../src/typescript/helpers/get-call-signature-props.ts"],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../../core/helpers/code.cjs");let t=require("@alloy-js/core/jsx-runtime"),n=require("@alloy-js/core");function r(r){let{children:i,type:a,label:o}=r;return[(0,t.memo)(()=>e.code`${a} ${Array.isArray(o)?o.join(` `):o} {`),(0,t.createComponent)(n.Prose,{get children(){return(0,t.createComponent)(n.Show,{get when(){return!!i},children:i})}}),e.code`} `]}exports.BlockDeclaration=r;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{code as e}from"../../core/helpers/code.mjs";import{createComponent as t,memo as n}from"@alloy-js/core/jsx-runtime";import{Prose as r,Show as i}from"@alloy-js/core";function a(a){let{children:o,type:s,label:c}=a;return[n(()=>e`${s} ${Array.isArray(c)?c.join(` `):c} {`),t(r,{get children(){return t(i,{get when(){return!!o},children:o})}}),e`} `]}export{a as BlockDeclaration};
|
|
2
|
+
//# sourceMappingURL=block-declaration.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"block-declaration.mjs","names":[],"sources":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../../core/components/single-line-comment.cjs"),t=require("../../core/helpers/header-constants.cjs");let n=require("@alloy-js/core/jsx-runtime"),r=require("@alloy-js/core");function i(e){let[{children:t,header:i,filetype:o},s]=(0,r.splitProps)(e,[`children`,`header`,`filetype`]),c=(0,r.computed)(()=>o||`hcl`);return(0,n.createComponent)(r.SourceFile,(0,n.mergeProps)({get header(){return(0,n.createComponent)(a,{children:i})}},s,{get filetype(){return c.value},get children(){return(0,n.createComponent)(r.Show,{get when(){return!!t},children:t})}}))}function a(i){let[{children:a}]=(0,r.splitProps)(i,[`children`]);return[(0,n.createComponent)(r.Show,{get when(){return!!a},get children(){return[a,(0,n.createIntrinsic)(`hbr`,{})]}}),(0,n.createComponent)(e.SingleLineComment,{variant:`hcl`,children:t.HEADER_TEXT_LINE_1}),(0,n.createIntrinsic)(`hbr`,{}),(0,n.createComponent)(e.SingleLineComment,{variant:`hcl`,children:t.HEADER_TEXT_LINE_2}),(0,n.createIntrinsic)(`hbr`,{})]}exports.HCLFile=i,exports.HCLFileHeader=a;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{SingleLineComment as e}from"../../core/components/single-line-comment.mjs";import{HEADER_TEXT_LINE_1 as t,HEADER_TEXT_LINE_2 as n}from"../../core/helpers/header-constants.mjs";import{createComponent as r,createIntrinsic as i,mergeProps as a}from"@alloy-js/core/jsx-runtime";import{Show as o,SourceFile as s,computed as c,splitProps as l}from"@alloy-js/core";function u(e){let[{children:t,header:n,filetype:i},u]=l(e,[`children`,`header`,`filetype`]),f=c(()=>i||`hcl`);return r(s,a({get header(){return r(d,{children:n})}},u,{get filetype(){return f.value},get children(){return r(o,{get when(){return!!t},children:t})}}))}function d(a){let[{children:s}]=l(a,[`children`]);return[r(o,{get when(){return!!s},get children(){return[s,i(`hbr`,{})]}}),r(e,{variant:`hcl`,children:t}),i(`hbr`,{}),r(e,{variant:`hcl`,children:n}),i(`hbr`,{})]}export{u as HCLFile,d as HCLFileHeader};
|
|
2
|
+
//# sourceMappingURL=hcl-file.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hcl-file.mjs","names":[],"sources":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./block-declaration.cjs"),t=require("./hcl-file.cjs"),n=require("./packer-file.cjs"),r=require("./terraform-file.cjs");exports.BlockDeclaration=e.BlockDeclaration,exports.HCLFile=t.HCLFile,exports.HCLFileHeader=t.HCLFileHeader,exports.PackerFile=n.PackerFile,exports.TerraformFile=r.TerraformFile;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { n as BlockDeclarationProps, t as BlockDeclaration } from "../../block-declaration-DbMuMxXx.cjs";
|
|
2
|
+
import { n as HCLFileHeader, r as HCLFileProps, t as HCLFile } from "../../hcl-file-CxR4hw4B.cjs";
|
|
3
|
+
import { n as PackerFileProps, t as PackerFile } from "../../packer-file-DVdUCeHH.cjs";
|
|
4
|
+
import { n as TerraformFileProps, t as TerraformFile } from "../../terraform-file-gr1_jJWO.cjs";
|
|
5
|
+
export { BlockDeclaration, BlockDeclarationProps, HCLFile, HCLFileHeader, HCLFileProps, PackerFile, PackerFileProps, TerraformFile, TerraformFileProps };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { n as BlockDeclarationProps, t as BlockDeclaration } from "../../block-declaration-Yq4hWFFT.mjs";
|
|
2
|
+
import { n as HCLFileHeader, r as HCLFileProps, t as HCLFile } from "../../hcl-file-CDeOXiO0.mjs";
|
|
3
|
+
import { n as PackerFileProps, t as PackerFile } from "../../packer-file-DeJWrlcR.mjs";
|
|
4
|
+
import { n as TerraformFileProps, t as TerraformFile } from "../../terraform-file-DS0uAb5z.mjs";
|
|
5
|
+
export { BlockDeclaration, BlockDeclarationProps, HCLFile, HCLFileHeader, HCLFileProps, PackerFile, PackerFileProps, TerraformFile, TerraformFileProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{BlockDeclaration as e}from"./block-declaration.mjs";import{HCLFile as t,HCLFileHeader as n}from"./hcl-file.mjs";import{PackerFile as r}from"./packer-file.mjs";import{TerraformFile as i}from"./terraform-file.mjs";export{e as BlockDeclaration,t as HCLFile,n as HCLFileHeader,r as PackerFile,i as TerraformFile};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./hcl-file.cjs");let t=require("@alloy-js/core/jsx-runtime"),n=require("@alloy-js/core");function r(r){let[{children:i},a]=(0,n.splitProps)(r,[`children`]);return(0,t.createComponent)(e.HCLFile,(0,t.mergeProps)({filetype:`pkr.hcl`},a,{get children(){return(0,t.createComponent)(n.Show,{get when(){return!!i},children:i})}}))}exports.PackerFile=r;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{HCLFile as e}from"./hcl-file.mjs";import{createComponent as t,mergeProps as n}from"@alloy-js/core/jsx-runtime";import{Show as r,splitProps as i}from"@alloy-js/core";function a(a){let[{children:o},s]=i(a,[`children`]);return t(e,n({filetype:`pkr.hcl`},s,{get children(){return t(r,{get when(){return!!o},children:o})}}))}export{a as PackerFile};
|
|
2
|
+
//# sourceMappingURL=packer-file.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"packer-file.mjs","names":[],"sources":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./hcl-file.cjs");let t=require("@alloy-js/core/jsx-runtime"),n=require("@alloy-js/core");function r(r){let[{children:i},a]=(0,n.splitProps)(r,[`children`]);return(0,t.createComponent)(e.HCLFile,(0,t.mergeProps)({filetype:`tf`},a,{get children(){return(0,t.createComponent)(n.Show,{get when(){return!!i},children:i})}}))}exports.TerraformFile=r;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{HCLFile as e}from"./hcl-file.mjs";import{createComponent as t,mergeProps as n}from"@alloy-js/core/jsx-runtime";import{Show as r,splitProps as i}from"@alloy-js/core";function a(a){let[{children:o},s]=i(a,[`children`]);return t(e,n({filetype:`tf`},s,{get children(){return t(r,{get when(){return!!o},children:o})}}))}export{a as TerraformFile};
|
|
2
|
+
//# sourceMappingURL=terraform-file.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"terraform-file.mjs","names":[],"sources":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./components/block-declaration.cjs"),t=require("./components/hcl-file.cjs"),n=require("./components/packer-file.cjs"),r=require("./components/terraform-file.cjs");require("./components/index.cjs"),exports.BlockDeclaration=e.BlockDeclaration,exports.HCLFile=t.HCLFile,exports.HCLFileHeader=t.HCLFileHeader,exports.PackerFile=n.PackerFile,exports.TerraformFile=r.TerraformFile;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { n as BlockDeclarationProps, t as BlockDeclaration } from "../block-declaration-DbMuMxXx.cjs";
|
|
2
|
+
import { n as HCLFileHeader, r as HCLFileProps, t as HCLFile } from "../hcl-file-CxR4hw4B.cjs";
|
|
3
|
+
import { n as PackerFileProps, t as PackerFile } from "../packer-file-DVdUCeHH.cjs";
|
|
4
|
+
import { n as TerraformFileProps, t as TerraformFile } from "../terraform-file-gr1_jJWO.cjs";
|
|
5
|
+
import "./components/index.cjs";
|
|
6
|
+
export { BlockDeclaration, BlockDeclarationProps, HCLFile, HCLFileHeader, HCLFileProps, PackerFile, PackerFileProps, TerraformFile, TerraformFileProps };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { n as BlockDeclarationProps, t as BlockDeclaration } from "../block-declaration-Yq4hWFFT.mjs";
|
|
2
|
+
import { n as HCLFileHeader, r as HCLFileProps, t as HCLFile } from "../hcl-file-CDeOXiO0.mjs";
|
|
3
|
+
import { n as PackerFileProps, t as PackerFile } from "../packer-file-DeJWrlcR.mjs";
|
|
4
|
+
import { n as TerraformFileProps, t as TerraformFile } from "../terraform-file-DS0uAb5z.mjs";
|
|
5
|
+
import "./components/index.mjs";
|
|
6
|
+
export { BlockDeclaration, BlockDeclarationProps, HCLFile, HCLFileHeader, HCLFileProps, PackerFile, PackerFileProps, TerraformFile, TerraformFileProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{BlockDeclaration as e}from"./components/block-declaration.mjs";import{HCLFile as t,HCLFileHeader as n}from"./components/hcl-file.mjs";import{PackerFile as r}from"./components/packer-file.mjs";import{TerraformFile as i}from"./components/terraform-file.mjs";import"./components/index.mjs";export{e as BlockDeclaration,t as HCLFile,n as HCLFileHeader,r as PackerFile,i as TerraformFile};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { t as ComponentProps } from "./components-vJaCHt1A.mjs";
|
|
2
|
+
import { n as SourceFileProps$1 } from "./source-file-BiWHfxCC.mjs";
|
|
3
|
+
import { Children } from "@alloy-js/core";
|
|
4
|
+
//#region src/hcl/components/hcl-file.d.ts
|
|
5
|
+
type HCLFileProps = Omit<SourceFileProps$1, "header" | "filetype"> & ComponentProps & {
|
|
6
|
+
header?: Children;
|
|
7
|
+
filetype?: "hcl" | "tf" | `${string}.hcl` | `${string}.tf`;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* A base component representing a Powerlines generated HCL source file.
|
|
11
|
+
*
|
|
12
|
+
* @param props - The properties for the source file.
|
|
13
|
+
* @returns The rendered source file component.
|
|
14
|
+
*/
|
|
15
|
+
declare function HCLFile(props: HCLFileProps): Children;
|
|
16
|
+
/**
|
|
17
|
+
* Renders the header for a Powerlines HCL source file.
|
|
18
|
+
*
|
|
19
|
+
* @param props - The properties for the source file header.
|
|
20
|
+
* @returns The rendered source file header.
|
|
21
|
+
*/
|
|
22
|
+
declare function HCLFileHeader(props: ComponentProps): Children;
|
|
23
|
+
//#endregion
|
|
24
|
+
export { HCLFileHeader as n, HCLFileProps as r, HCLFile as t };
|
|
25
|
+
//# sourceMappingURL=hcl-file-CDeOXiO0.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hcl-file-CDeOXiO0.d.mts","names":[],"sources":["../src/hcl/components/hcl-file.tsx"],"mappings":""}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { t as ComponentProps } from "./components-vJaCHt1A.cjs";
|
|
2
|
+
import { n as SourceFileProps$1 } from "./source-file-DfP35Z8l.cjs";
|
|
3
|
+
import { Children } from "@alloy-js/core";
|
|
4
|
+
//#region src/hcl/components/hcl-file.d.ts
|
|
5
|
+
type HCLFileProps = Omit<SourceFileProps$1, "header" | "filetype"> & ComponentProps & {
|
|
6
|
+
header?: Children;
|
|
7
|
+
filetype?: "hcl" | "tf" | `${string}.hcl` | `${string}.tf`;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* A base component representing a Powerlines generated HCL source file.
|
|
11
|
+
*
|
|
12
|
+
* @param props - The properties for the source file.
|
|
13
|
+
* @returns The rendered source file component.
|
|
14
|
+
*/
|
|
15
|
+
declare function HCLFile(props: HCLFileProps): Children;
|
|
16
|
+
/**
|
|
17
|
+
* Renders the header for a Powerlines HCL source file.
|
|
18
|
+
*
|
|
19
|
+
* @param props - The properties for the source file header.
|
|
20
|
+
* @returns The rendered source file header.
|
|
21
|
+
*/
|
|
22
|
+
declare function HCLFileHeader(props: ComponentProps): Children;
|
|
23
|
+
//#endregion
|
|
24
|
+
export { HCLFileHeader as n, HCLFileProps as r, HCLFile as t };
|
|
25
|
+
//# sourceMappingURL=hcl-file-CxR4hw4B.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hcl-file-CxR4hw4B.d.cts","names":[],"sources":["../src/hcl/components/hcl-file.tsx"],"mappings":";;;;KA4BY,eAAe,KAAK,4CAC9B;EACE,SAAS;EACT;;;;;;;;iBASY,QAAQ,OAAO,eAAY;;;;;;;iBAyB3B,cAAc,OAAO,iBAAc"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { HeadingProps } from "@alloy-js/markdown";
|
|
2
|
+
//#region src/markdown/components/heading.d.ts
|
|
3
|
+
interface HeadingProps$1 extends HeadingProps {}
|
|
4
|
+
/**
|
|
5
|
+
* Renders a heading for a markdown file.
|
|
6
|
+
*
|
|
7
|
+
* @see https://www.markdownguide.org/basic-syntax/#headings
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```tsx
|
|
11
|
+
* <Heading level={1}>This is a heading</Heading>
|
|
12
|
+
* ```
|
|
13
|
+
*/
|
|
14
|
+
declare function Heading(props: HeadingProps$1): import("@alloy-js/core").Children;
|
|
15
|
+
//#endregion
|
|
16
|
+
export { HeadingProps$1 as n, Heading as t };
|
|
17
|
+
//# sourceMappingURL=heading-CG6LmaB5.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"heading-CG6LmaB5.d.cts","names":[],"sources":["../src/markdown/components/heading.tsx"],"mappings":";;UAsBiB,uBAAqB;;;;;;;;;;;iBAYtB,QAAQ,OAAO,0CAAY"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { HeadingProps } from "@alloy-js/markdown";
|
|
2
|
+
//#region src/markdown/components/heading.d.ts
|
|
3
|
+
interface HeadingProps$1 extends HeadingProps {}
|
|
4
|
+
/**
|
|
5
|
+
* Renders a heading for a markdown file.
|
|
6
|
+
*
|
|
7
|
+
* @see https://www.markdownguide.org/basic-syntax/#headings
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```tsx
|
|
11
|
+
* <Heading level={1}>This is a heading</Heading>
|
|
12
|
+
* ```
|
|
13
|
+
*/
|
|
14
|
+
declare function Heading$1(props: HeadingProps$1): import("@alloy-js/core").Children;
|
|
15
|
+
//#endregion
|
|
16
|
+
export { HeadingProps$1 as n, Heading$1 as t };
|
|
17
|
+
//# sourceMappingURL=heading-D0he7iDI.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"heading-D0he7iDI.d.mts","names":[],"sources":["../src/markdown/components/heading.tsx"],"mappings":""}
|