You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
538 B
33 lines
538 B
<template>
|
|
<Dialog
|
|
:header="title"
|
|
:modal="true"
|
|
:style="{width: '450px'}"
|
|
:visible="isVisible"
|
|
class="p-fluid"
|
|
@update:visible="$emit('update:isVisible', $event)"
|
|
>
|
|
<slot></slot>
|
|
<template #footer>
|
|
<slot name="footer"></slot>
|
|
</template>
|
|
</Dialog>
|
|
</template>
|
|
|
|
<script setup>
|
|
import Dialog from 'primevue/dialog'
|
|
|
|
defineProps({
|
|
title: {
|
|
type: String,
|
|
required: true,
|
|
},
|
|
isVisible: {
|
|
type: Boolean,
|
|
required: true,
|
|
}
|
|
})
|
|
|
|
defineEmits(['update:isVisible'])
|
|
|
|
</script>
|
|
|