2023-05-24 06:24:33 +00:00
|
|
|
<script>
|
|
|
|
import BaseComponent from 'primevue/basecomponent';
|
2023-10-02 10:46:09 +00:00
|
|
|
import TabPanelStyle from 'primevue/tabpanel/style';
|
2023-05-24 06:24:33 +00:00
|
|
|
|
|
|
|
export default {
|
|
|
|
name: 'BaseTabPanel',
|
|
|
|
extends: BaseComponent,
|
|
|
|
props: {
|
2024-04-19 13:51:57 +00:00
|
|
|
// in Tabs
|
|
|
|
value: {
|
|
|
|
type: String,
|
|
|
|
default: undefined
|
|
|
|
},
|
|
|
|
as: {
|
|
|
|
type: String,
|
|
|
|
default: 'DIV'
|
|
|
|
},
|
|
|
|
asChild: {
|
|
|
|
type: Boolean,
|
|
|
|
default: false
|
|
|
|
},
|
|
|
|
// in TabView
|
2023-05-24 06:24:33 +00:00
|
|
|
header: null,
|
|
|
|
headerStyle: null,
|
|
|
|
headerClass: null,
|
|
|
|
headerProps: null,
|
|
|
|
headerActionProps: null,
|
|
|
|
contentStyle: null,
|
|
|
|
contentClass: null,
|
|
|
|
contentProps: null,
|
|
|
|
disabled: Boolean
|
2023-10-02 10:46:09 +00:00
|
|
|
},
|
|
|
|
style: TabPanelStyle
|
2023-05-24 06:24:33 +00:00
|
|
|
};
|
|
|
|
</script>
|