2023-05-19 10:33:07 +00:00
|
|
|
<script>
|
|
|
|
import BaseComponent from 'primevue/basecomponent';
|
2023-10-02 10:46:09 +00:00
|
|
|
import PanelStyle from 'primevue/panel/style';
|
2023-05-19 10:33:07 +00:00
|
|
|
|
|
|
|
export default {
|
|
|
|
name: 'BasePanel',
|
|
|
|
extends: BaseComponent,
|
|
|
|
props: {
|
|
|
|
header: String,
|
|
|
|
toggleable: Boolean,
|
|
|
|
collapsed: Boolean,
|
|
|
|
toggleButtonProps: {
|
|
|
|
type: null,
|
|
|
|
default: null
|
|
|
|
}
|
|
|
|
},
|
2023-10-02 10:46:09 +00:00
|
|
|
style: PanelStyle,
|
2023-05-30 09:59:17 +00:00
|
|
|
provide() {
|
|
|
|
return {
|
|
|
|
$parentInstance: this
|
|
|
|
};
|
2023-05-19 10:33:07 +00:00
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|