2023-05-30 11:58:41 +00:00
|
|
|
<script>
|
|
|
|
import BaseComponent from 'primevue/basecomponent';
|
2023-10-02 10:46:09 +00:00
|
|
|
import StepsStyle from 'primevue/steps/style';
|
2023-05-30 11:58:41 +00:00
|
|
|
|
|
|
|
export default {
|
|
|
|
name: 'BaseSteps',
|
|
|
|
extends: BaseComponent,
|
|
|
|
props: {
|
|
|
|
id: {
|
|
|
|
type: String
|
|
|
|
},
|
|
|
|
model: {
|
|
|
|
type: Array,
|
|
|
|
default: null
|
|
|
|
},
|
|
|
|
readonly: {
|
|
|
|
type: Boolean,
|
|
|
|
default: true
|
|
|
|
},
|
2023-11-08 12:52:43 +00:00
|
|
|
activeStep: {
|
|
|
|
type: Number,
|
|
|
|
default: 0
|
2023-05-30 11:58:41 +00:00
|
|
|
}
|
|
|
|
},
|
2023-10-02 10:46:09 +00:00
|
|
|
style: StepsStyle,
|
2023-05-30 11:58:41 +00:00
|
|
|
provide() {
|
|
|
|
return {
|
2024-04-25 01:26:06 +00:00
|
|
|
$pcSteps: this,
|
2023-05-30 11:58:41 +00:00
|
|
|
$parentInstance: this
|
|
|
|
};
|
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|