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