2023-05-29 07:05:29 +00:00
|
|
|
<script>
|
|
|
|
import BaseComponent from 'primevue/basecomponent';
|
2023-10-02 10:46:09 +00:00
|
|
|
import BreadcrumbStyle from 'primevue/breadcrumb/style';
|
2023-05-29 07:05:29 +00:00
|
|
|
|
|
|
|
export default {
|
|
|
|
name: 'BaseBreadcrumb',
|
|
|
|
extends: BaseComponent,
|
|
|
|
props: {
|
|
|
|
model: {
|
|
|
|
type: Array,
|
|
|
|
default: null
|
|
|
|
},
|
|
|
|
home: {
|
|
|
|
type: null,
|
|
|
|
default: null
|
|
|
|
}
|
|
|
|
},
|
2023-10-02 10:46:09 +00:00
|
|
|
style: BreadcrumbStyle,
|
2023-05-30 09:59:17 +00:00
|
|
|
provide() {
|
|
|
|
return {
|
2024-04-25 01:26:06 +00:00
|
|
|
$pcBreadcrumb: this,
|
2023-05-30 09:59:17 +00:00
|
|
|
$parentInstance: this
|
|
|
|
};
|
2023-05-29 07:05:29 +00:00
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|