50 lines
1.0 KiB
Vue
50 lines
1.0 KiB
Vue
<script>
|
|
import BaseComponent from 'primevue/basecomponent';
|
|
import OverlayPanelStyle from 'primevue/overlaypanel/style';
|
|
|
|
export default {
|
|
name: 'BaseOverlayPanel',
|
|
extends: BaseComponent,
|
|
props: {
|
|
dismissable: {
|
|
type: Boolean,
|
|
default: true
|
|
},
|
|
showCloseIcon: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
appendTo: {
|
|
type: [String, Object],
|
|
default: 'body'
|
|
},
|
|
baseZIndex: {
|
|
type: Number,
|
|
default: 0
|
|
},
|
|
autoZIndex: {
|
|
type: Boolean,
|
|
default: true
|
|
},
|
|
breakpoints: {
|
|
type: Object,
|
|
default: null
|
|
},
|
|
closeIcon: {
|
|
type: String,
|
|
default: undefined
|
|
},
|
|
closeOnEscape: {
|
|
type: Boolean,
|
|
default: true
|
|
}
|
|
},
|
|
style: OverlayPanelStyle,
|
|
provide() {
|
|
return {
|
|
$parentInstance: this
|
|
};
|
|
}
|
|
};
|
|
</script>
|