| Server IP : 34.87.99.72 / Your IP : 216.73.217.31 Web Server : Apache/2.4.46 (Unix) OpenSSL/1.1.1n System : Linux zlock-bitnami-lamp-prod-v2-vm 4.19.0-16-cloud-amd64 #1 SMP Debian 4.19.181-1 (2021-03-19) x86_64 User : bitnami ( 1000) PHP Version : 7.4.18 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /home/bitnami/htdocs/app/node_modules/vuetify-dialog/src/components/ |
Upload File : |
<template>
<v-card tile>
<v-toolbar
v-if="title"
:dark="Boolean(getColor)"
:color="getColor"
dense
flat
>
<v-icon
v-if="Boolean(getIcon)"
left
>
{{ getIcon }}
</v-icon>
<v-toolbar-title class="">
{{ title }}
</v-toolbar-title>
</v-toolbar>
<v-card-text
class="body-1 py-2"
:class="{ 'pt-4': !title }"
v-html="text"
/>
<DialogActions
:actions="actions"
v-bind="actionOptions"
/>
</v-card>
</template>
<script>
import Confirmable from 'vuedl/src/mixins/confirmable'
import Colorable from '../mixins/colorable'
import Iconable from '../mixins/iconable'
import DialogActions from './DialogActions.vue'
import { VCard, VCardText, VToolbar, VToolbarTitle, VIcon } from 'vuetify/lib'
export default {
components: {
DialogActions,
VCard,
VCardText,
VToolbar,
VToolbarTitle,
VIcon
},
layout: ['default', { width: 450 }],
mixins: [Iconable, Confirmable, Colorable],
props: {
actionOptions: Object,
text: {
type: [String, Function],
required: true,
default: ''
}
},
computed: {
getText () {
return typeof this.text === 'function' ? this.text() : this.text
}
}
}
</script>