33 lines
611 B
Vue
33 lines
611 B
Vue
<script>
|
|
import BaseComponent from 'primevue/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 {
|
|
$parentInstance: this
|
|
};
|
|
}
|
|
};
|
|
</script>
|