hongluan-ui
Version:
Hongluan Component Library for Vue 3
1 lines • 1.03 kB
Source Map (JSON)
{"version":3,"file":"sub-header.mjs","sources":["../../../../../../packages/components/layout/src/sub-header.vue"],"sourcesContent":["<template>\n <div :class=\"[namespace]\" :style=\"[height && '--layout-sub-header-height:' + height]\">\n <slot></slot>\n </div>\n</template>\n<script lang=\"ts\">\nimport { defineComponent } from 'vue'\nimport { useNamespace } from '@hongluan-ui/hooks'\n\nexport default defineComponent({\n name: 'SubHeader',\n props: {\n height: {\n type: String,\n },\n },\n setup() {\n const { namespace } = useNamespace('sub-header')\n return {\n namespace,\n }\n },\n})\n</script>\n"],"names":["_createElementBlock","_normalizeClass","_normalizeStyle","_renderSlot"],"mappings":";;;;;AASA,MAAK,YAAa,gBAAa;AAAA,EAC7B,MAAM;AAAA,EACN,OAAO;AAAA,IACL,QAAQ;AAAA,MACN,MAAM;AAAA;AACR;AACF,EACA,QAAQ;AACN,UAAM,EAAE,cAAc,aAAa,YAAY;AAC/C,WAAO;AAAA,MACL;AAAA;AACF;AAEJ,CAAC;;sBArBCA,mBAEM;AAAA,IAFA,OAAKC,gBAAG,cAAS;AAAA,IAAI,OAAKC,gBAAG,eAAM,gCAAoC,WAAM;AAAA;IACjFC,WAAa;AAAA;;;;;;"}