{"version":3,"file":"header.mjs","sources":["../../src/layout/header.tsx"],"sourcesContent":["import { defineComponent } from 'vue';\nimport props from './header-props';\n\nimport { useTNodeJSX } from '../hooks/tnode';\nimport { usePrefixClass } from '../hooks/useConfig';\n\nexport default defineComponent({\n  name: 'XHeader',\n\n  props,\n\n  setup(props) {\n    const COMPONENT_NAME = usePrefixClass('layout__header');\n    const renderTNodeJSX = useTNodeJSX();\n    return () => (\n      <header class={COMPONENT_NAME.value} style={props.height ? { height: props.height } : {}}>\n        {renderTNodeJSX('default')}\n      </header>\n    );\n  },\n});\n"],"names":["name","props","_createVNode"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,cAAA,eAAA,CAAA;AACEA,EAAAA,IAAAA,EAAAA,SAAAA;AAEAC,EAAAA,KAAAA,EAAAA,KAAAA;;AAGQ,IAAA,IAAA,cAAA,GAAA,cAAA,CAAA,gBAAA,CAAA,CAAA;AACN,IAAA,IAAA,cAAA,GAAA,WAAA,EAAA,CAAA;;AACO,MAAA,OAAAC,WAAA,CAAA,QAAA,EAAA;;;;AAC6E,SAAA,GAAA,EAAA;;;AAItF,GAAA;AACF,CAAA,CAAA;;;;"}