2023-05-24 14:56:02 +00:00
|
|
|
<script>
|
|
|
|
import BaseComponent from 'primevue/basecomponent';
|
2023-10-02 10:46:09 +00:00
|
|
|
import BlockUIStyle from 'primevue/blockui/style';
|
2023-05-24 14:56:02 +00:00
|
|
|
|
|
|
|
export default {
|
2023-06-09 08:30:38 +00:00
|
|
|
name: 'BaseBlockUI',
|
2023-05-24 14:56:02 +00:00
|
|
|
extends: BaseComponent,
|
|
|
|
props: {
|
|
|
|
blocked: {
|
|
|
|
type: Boolean,
|
|
|
|
default: false
|
|
|
|
},
|
|
|
|
fullScreen: {
|
|
|
|
type: Boolean,
|
|
|
|
default: false
|
|
|
|
},
|
|
|
|
baseZIndex: {
|
|
|
|
type: Number,
|
|
|
|
default: 0
|
|
|
|
},
|
|
|
|
autoZIndex: {
|
|
|
|
type: Boolean,
|
|
|
|
default: true
|
|
|
|
}
|
|
|
|
},
|
2023-10-02 10:46:09 +00:00
|
|
|
style: BlockUIStyle,
|
2023-05-30 12:28:04 +00:00
|
|
|
provide() {
|
|
|
|
return {
|
2024-04-25 01:26:06 +00:00
|
|
|
$pcBlockUI: this,
|
2023-05-30 12:28:04 +00:00
|
|
|
$parentInstance: this
|
|
|
|
};
|
2023-05-24 14:56:02 +00:00
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|