2023-05-23 23:40:14 +00:00
|
|
|
<script>
|
2023-10-02 10:46:09 +00:00
|
|
|
import AccordionTabStyle from 'primevue/accordiontab/style';
|
2023-05-23 23:40:14 +00:00
|
|
|
import BaseComponent from 'primevue/basecomponent';
|
|
|
|
|
|
|
|
export default {
|
|
|
|
name: 'BaseAccordionTab',
|
|
|
|
extends: BaseComponent,
|
|
|
|
props: {
|
|
|
|
header: null,
|
|
|
|
headerStyle: null,
|
|
|
|
headerClass: null,
|
|
|
|
headerProps: null,
|
|
|
|
headerActionProps: null,
|
|
|
|
contentStyle: null,
|
|
|
|
contentClass: null,
|
|
|
|
contentProps: null,
|
|
|
|
disabled: Boolean
|
2023-05-30 11:03:42 +00:00
|
|
|
},
|
2023-10-02 10:46:09 +00:00
|
|
|
style: AccordionTabStyle,
|
2023-05-30 11:03:42 +00:00
|
|
|
provide() {
|
|
|
|
return {
|
2024-04-25 01:26:06 +00:00
|
|
|
$pcAccordionTab: this,
|
2023-05-30 11:03:42 +00:00
|
|
|
$parentInstance: this
|
|
|
|
};
|
2023-05-23 23:40:14 +00:00
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|