element-plus
Version:
A Component Library for Vue 3
1 lines • 1.39 kB
Source Map (JSON)
{"version":3,"file":"footer.mjs","sources":["../../../../../../packages/components/container/src/footer.vue"],"sourcesContent":["<template>\n <footer :class=\"ns.b()\" :style=\"style\">\n <slot />\n </footer>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed } from 'vue'\nimport { useNamespace } from '@element-plus/hooks'\n\nimport type { CSSProperties } from 'vue'\n\ndefineOptions({\n name: 'ElFooter',\n})\nconst props = defineProps({\n /**\n * @description height of the footer\n */\n height: {\n type: String,\n default: null,\n },\n})\n\nconst ns = useNamespace('footer')\n\nconst style = computed(\n () =>\n (props.height\n ? ns.cssVarBlock({ height: props.height })\n : {}) as CSSProperties\n)\n</script>\n"],"names":["_openBlock","_createElementBlock","_normalizeClass","_unref","_normalizeStyle","_renderSlot"],"mappings":";;;;;;;;;;;;;;;;AAeA,IAAA,MAAM,KAAQ,GAAA,OAAA,CAAA;AAUR,IAAA,MAAA,EAAA,GAAK,aAAa,QAAQ,CAAA,CAAA;AAEhC,IAAA,MAAM,KAAQ,GAAA,QAAA;AAAA,MACZ,MACG,KAAM,CAAA,MAAA,GACH,EAAG,CAAA,WAAA,CAAY,EAAE,MAAA,EAAQ,KAAM,CAAA,MAAA,EAAQ,CAAA,GACvC,EAAC;AAAA,KACT,CAAA;;AA/BE,MAAA,OAAAA,WAAA,EAAAC,kBAAA;AAAA,QAES,QAAA;AAAA,QAAA;AAAA,UAFA,OAAKC,cAAE,CAAAC,KAAA,CAAA,EAAA,CAAA,CAAG,GAAC,CAAA;AAAA,UAAK,KAAA,EAAKC,cAAE,CAAA,KAAA,CAAK,KAAA,CAAA;AAAA,SAAA;AAAA;UACnCC,UAAA,CAAQ,IAAA,CAAA,MAAA,EAAA,SAAA,CAAA;AAAA,SAAA;AAAA;;;;;;;;;"}