42 lines
849 B
Vue
42 lines
849 B
Vue
<script>
|
|
import BaseComponent from 'primevue/basecomponent';
|
|
import PopoverStyle from 'primevue/popover/style';
|
|
|
|
export default {
|
|
name: 'BasePopover',
|
|
extends: BaseComponent,
|
|
props: {
|
|
dismissable: {
|
|
type: Boolean,
|
|
default: true
|
|
},
|
|
appendTo: {
|
|
type: [String, Object],
|
|
default: 'body'
|
|
},
|
|
baseZIndex: {
|
|
type: Number,
|
|
default: 0
|
|
},
|
|
autoZIndex: {
|
|
type: Boolean,
|
|
default: true
|
|
},
|
|
breakpoints: {
|
|
type: Object,
|
|
default: null
|
|
},
|
|
closeOnEscape: {
|
|
type: Boolean,
|
|
default: true
|
|
}
|
|
},
|
|
style: PopoverStyle,
|
|
provide() {
|
|
return {
|
|
$parentInstance: this
|
|
};
|
|
}
|
|
};
|
|
</script>
|