39 lines
830 B
Vue
39 lines
830 B
Vue
<script>
|
|
import BaseComponent from 'primevue/basecomponent';
|
|
import OrganizationChartStyle from 'primevue/organizationchart/style';
|
|
|
|
export default {
|
|
name: 'BaseOrganizationChart',
|
|
extends: BaseComponent,
|
|
props: {
|
|
value: {
|
|
type: null,
|
|
default: null
|
|
},
|
|
selectionKeys: {
|
|
type: null,
|
|
default: null
|
|
},
|
|
selectionMode: {
|
|
type: String,
|
|
default: null
|
|
},
|
|
collapsible: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
collapsedKeys: {
|
|
type: null,
|
|
default: null
|
|
}
|
|
},
|
|
style: OrganizationChartStyle,
|
|
provide() {
|
|
return {
|
|
$pcOrganizationChart: this,
|
|
$parentInstance: this
|
|
};
|
|
}
|
|
};
|
|
</script>
|