2023-06-01 12:14:49 +00:00
|
|
|
<script>
|
|
|
|
import BaseComponent from 'primevue/basecomponent';
|
2023-10-02 10:46:09 +00:00
|
|
|
import TimelineStyle from 'primevue/timeline/style';
|
2023-06-01 12:14:49 +00:00
|
|
|
|
|
|
|
export default {
|
|
|
|
name: 'BaseTimeline',
|
|
|
|
extends: BaseComponent,
|
|
|
|
props: {
|
|
|
|
value: null,
|
|
|
|
align: {
|
|
|
|
mode: String,
|
|
|
|
default: 'left'
|
|
|
|
},
|
|
|
|
layout: {
|
|
|
|
mode: String,
|
|
|
|
default: 'vertical'
|
|
|
|
},
|
|
|
|
dataKey: null
|
|
|
|
},
|
2023-10-02 10:46:09 +00:00
|
|
|
style: TimelineStyle,
|
2023-06-01 12:14:49 +00:00
|
|
|
provide() {
|
|
|
|
return {
|
|
|
|
$parentInstance: this
|
|
|
|
};
|
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|