Reinstate welcome pane in refactored wizard.

This commit is contained in:
Julian Stirling 2025-10-22 21:49:12 +01:00
parent 00f0fe664c
commit 8f1253ec02
5 changed files with 107 additions and 12 deletions

View file

@ -0,0 +1,47 @@
<template>
<calibrationWizardTask
:first="first"
:final="final"
:startOnLast="startOnLast"
:steps="steps"
@next="$emit('next')"
@back="$emit('back')"
/>
</template>
<script>
import calibrationWizardTask from "./calibrationWizardTask.vue";
export default {
name: "singleStepTask",
components: {calibrationWizardTask},
props: {
// This must be sent
stepComponent: Object,
// This is optional.
stepProps: {
type: Object,
default: () => ({})
},
// Standard calibrationWizardTask props below:
first: Boolean,
final: Boolean,
startOnLast: {
type: Boolean,
default: false
},
},
data: function() {
return {
steps: [
{component: this.stepComponent, props: this.stepProps}
]
};
},
mounted(){
console.log(this.stepComponent);
}
}
</script>