31 lines
621 B
Vue
31 lines
621 B
Vue
|
<script>
|
||
|
import BaseComponent from 'primevue/basecomponent';
|
||
|
import StepPanelStyle from 'primevue/steppanel/style';
|
||
|
|
||
|
export default {
|
||
|
name: 'BaseStepPanel',
|
||
|
extends: BaseComponent,
|
||
|
props: {
|
||
|
value: {
|
||
|
type: [String, Number],
|
||
|
default: undefined
|
||
|
},
|
||
|
asChild: {
|
||
|
type: Boolean,
|
||
|
default: false
|
||
|
},
|
||
|
as: {
|
||
|
type: String,
|
||
|
default: 'DIV'
|
||
|
}
|
||
|
},
|
||
|
style: StepPanelStyle,
|
||
|
provide() {
|
||
|
return {
|
||
|
$pcStepPanel: this,
|
||
|
$parentInstance: this
|
||
|
};
|
||
|
}
|
||
|
};
|
||
|
</script>
|