2023-05-29 18:41:50 +00:00
|
|
|
<script>
|
|
|
|
import BaseComponent from 'primevue/basecomponent';
|
2023-10-02 10:46:09 +00:00
|
|
|
import ConfirmPopupStyle from 'primevue/confirmpopup/style';
|
2023-05-29 18:41:50 +00:00
|
|
|
|
|
|
|
export default {
|
|
|
|
name: 'BaseConfirmPopup',
|
|
|
|
extends: BaseComponent,
|
|
|
|
props: {
|
2024-03-27 13:22:02 +00:00
|
|
|
group: String,
|
|
|
|
rejectButtonProps: {
|
|
|
|
type: Object,
|
|
|
|
default() {
|
|
|
|
return {
|
|
|
|
size: 'small',
|
|
|
|
text: true
|
|
|
|
};
|
|
|
|
}
|
|
|
|
},
|
|
|
|
acceptButtonProps: {
|
|
|
|
type: Object,
|
|
|
|
default() {
|
|
|
|
return {
|
|
|
|
size: 'small'
|
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
2023-05-29 18:41:50 +00:00
|
|
|
},
|
2023-10-02 10:46:09 +00:00
|
|
|
style: ConfirmPopupStyle,
|
2023-05-30 12:28:04 +00:00
|
|
|
provide() {
|
|
|
|
return {
|
|
|
|
$parentInstance: this
|
|
|
|
};
|
2023-05-29 18:41:50 +00:00
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|