2019-02-18 15:43:41 -08:00
|
|
|
<GenericConfirmationDialog
|
|
|
|
{id}
|
|
|
|
{label}
|
|
|
|
{title}
|
|
|
|
{positiveText}
|
|
|
|
{negativeText}
|
|
|
|
on:positive
|
|
|
|
on:negative>
|
|
|
|
<p>{text}</p>
|
|
|
|
</GenericConfirmationDialog>
|
|
|
|
<style>
|
|
|
|
p {
|
|
|
|
font-size: 1.3em;
|
|
|
|
padding: 40px 20px;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
<script>
|
|
|
|
import GenericConfirmationDialog from './GenericConfirmationDialog.html'
|
|
|
|
import { show } from '../helpers/showDialog'
|
|
|
|
import { close } from '../helpers/closeDialog'
|
|
|
|
import { oncreate } from '../helpers/onCreateDialog'
|
|
|
|
|
|
|
|
export default {
|
|
|
|
oncreate,
|
|
|
|
data: () => ({
|
2019-08-19 19:08:59 -07:00
|
|
|
title: undefined,
|
|
|
|
positiveText: undefined,
|
|
|
|
negativeText: undefined
|
2019-02-18 15:43:41 -08:00
|
|
|
}),
|
|
|
|
methods: {
|
|
|
|
show,
|
|
|
|
close
|
|
|
|
},
|
|
|
|
components: {
|
|
|
|
GenericConfirmationDialog
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|