2022-02-09 21:50:25 +01:00
|
|
|
<template>
|
|
|
|
<dialog-modal
|
2022-04-10 05:11:19 +02:00
|
|
|
v-body-scroll-lock="true"
|
2022-02-09 22:51:13 +01:00
|
|
|
class="confirm-modal"
|
2022-02-09 23:03:17 +01:00
|
|
|
:on-cancel="onCancel"
|
2022-02-09 21:50:25 +01:00
|
|
|
>
|
2022-08-01 17:02:21 +02:00
|
|
|
<template #header>
|
2022-02-09 23:03:17 +01:00
|
|
|
<span v-text="title" />
|
2022-02-09 21:50:25 +01:00
|
|
|
</template>
|
|
|
|
|
2022-02-09 23:03:17 +01:00
|
|
|
<slot />
|
2022-02-09 21:50:25 +01:00
|
|
|
|
2022-08-01 17:02:21 +02:00
|
|
|
<template #footer>
|
2022-02-09 21:50:25 +01:00
|
|
|
<button
|
|
|
|
class="btn button-default"
|
|
|
|
@click.prevent="onAccept"
|
2022-02-09 23:03:17 +01:00
|
|
|
v-text="confirmText"
|
|
|
|
/>
|
2022-02-09 21:50:25 +01:00
|
|
|
|
|
|
|
<button
|
|
|
|
class="btn button-default"
|
|
|
|
@click.prevent="onCancel"
|
2022-02-09 23:03:17 +01:00
|
|
|
v-text="cancelText"
|
|
|
|
/>
|
2022-02-09 21:50:25 +01:00
|
|
|
</template>
|
|
|
|
</dialog-modal>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script src="./confirm_modal.js"></script>
|