Continue frontend building

This commit is contained in:
2025-07-13 12:03:43 +02:00
parent 6faed0dbd4
commit 746f809d28
44 changed files with 2057 additions and 632 deletions

View File

@ -0,0 +1,19 @@
<template>
<sl-drawer ref="drawerRef" :open="open" @sl-hide="handleHide" :label="label">
<slot />
</sl-drawer>
</template>
<script setup lang="ts">
import { ref } from 'vue'
import { useBubbleSafeHandler } from '@/composables/useBubbleSafeHandler'
const props = defineProps<{ label: string; open: boolean }>()
const emit = defineEmits<{ (e: 'hide'): void }>()
const drawerRef = ref<HTMLSlDrawerElement>()
const handleHide = useBubbleSafeHandler(drawerRef, () => {
emit('hide')
})
</script>