34 lines
645 B
Vue
34 lines
645 B
Vue
<script>
|
|
import BaseComponent from '@primevue/core/basecomponent';
|
|
import StepsStyle from 'primevue/steps/style';
|
|
|
|
export default {
|
|
name: 'BaseSteps',
|
|
extends: BaseComponent,
|
|
props: {
|
|
id: {
|
|
type: String
|
|
},
|
|
model: {
|
|
type: Array,
|
|
default: null
|
|
},
|
|
readonly: {
|
|
type: Boolean,
|
|
default: true
|
|
},
|
|
activeStep: {
|
|
type: Number,
|
|
default: 0
|
|
}
|
|
},
|
|
style: StepsStyle,
|
|
provide() {
|
|
return {
|
|
$pcSteps: this,
|
|
$parentInstance: this
|
|
};
|
|
}
|
|
};
|
|
</script>
|