2023-05-30 13:02:20 +00:00
|
|
|
<template>
|
|
|
|
<ModalComponent @close="$emit('close')">
|
|
|
|
<div>
|
|
|
|
<h3 class="text-xl" v-text="message" />
|
2023-08-13 17:31:57 +00:00
|
|
|
<div class="ml-auto mt-8 w-min flex gap-2">
|
2023-07-27 11:46:05 +00:00
|
|
|
<button v-t="'actions.cancel'" class="btn" @click="$emit('close')" />
|
|
|
|
<button v-t="'actions.okay'" class="btn" @click="$emit('confirm')" />
|
2023-05-30 13:02:20 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</ModalComponent>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
import ModalComponent from "./ModalComponent.vue";
|
|
|
|
|
|
|
|
export default {
|
|
|
|
components: {
|
|
|
|
ModalComponent,
|
|
|
|
},
|
|
|
|
props: {
|
2023-07-27 11:46:05 +00:00
|
|
|
message: {
|
|
|
|
type: String,
|
|
|
|
required: true,
|
|
|
|
},
|
2023-05-30 13:02:20 +00:00
|
|
|
},
|
|
|
|
emits: ["close", "confirm"],
|
|
|
|
};
|
|
|
|
</script>
|