{"version":3,"file":"panel2.mjs","sources":["../../../../../../../packages/components/panel/src/panel.vue"],"sourcesContent":["<template>\n  <div :class=\"ns\">\n    <div v-if=\"title || slots?.title\" :class=\"[_ns.e('title')]\">\n      <span v-if=\"!slots?.title\">{{ title }}</span>\n      <slot v-else name=\"title\" />\n    </div>\n    <slot />\n  </div>\n</template>\n<script lang=\"ts\" setup>\nimport { computed, useSlots } from 'vue'\nimport { useNamespace } from '@xzx-design/hooks'\nimport { panelProps } from './panel'\n\ndefineOptions({\n  name: 'XzxPanel',\n})\n\nconst props = defineProps(panelProps)\n\nconst slots = useSlots()\n\nconst _ns = useNamespace('panel')\n\nconst ns = computed(() => [\n  _ns.b(),\n  props.br && _ns.m('lg-br'),\n  props.margin && _ns.m('margin'),\n])\n// init here\n</script>\n"],"names":[],"mappings":";;;;;;mCAcc,CAAA;AAAA,EACZ,IAAM,EAAA,UAAA;AACR,CAAA,CAAA,CAAA;;;;;AAEA,IAAA,MAAM,KAAQ,GAAA,OAAA,CAAA;AAEd,IAAA,MAAM,QAAQ,QAAS,EAAA,CAAA;AAEjB,IAAA,MAAA,GAAA,GAAM,aAAa,OAAO,CAAA,CAAA;AAE1B,IAAA,MAAA,EAAA,GAAK,SAAS,MAAM;AAAA,MACxB,IAAI,CAAE,EAAA;AAAA,MACN,KAAM,CAAA,EAAA,IAAM,GAAI,CAAA,CAAA,CAAE,OAAO,CAAA;AAAA,MACzB,KAAM,CAAA,MAAA,IAAU,GAAI,CAAA,CAAA,CAAE,QAAQ,CAAA;AAAA,KAC/B,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}