30 lines
593 B
Vue
30 lines
593 B
Vue
<script>
|
|
import BaseComponent from 'primevue/basecomponent';
|
|
import ProgressBarStyle from 'primevue/progressbar/style';
|
|
|
|
export default {
|
|
name: 'BaseProgressBar',
|
|
extends: BaseComponent,
|
|
props: {
|
|
value: {
|
|
type: Number,
|
|
default: null
|
|
},
|
|
mode: {
|
|
type: String,
|
|
default: 'determinate'
|
|
},
|
|
showValue: {
|
|
type: Boolean,
|
|
default: true
|
|
}
|
|
},
|
|
style: ProgressBarStyle,
|
|
provide() {
|
|
return {
|
|
$parentInstance: this
|
|
};
|
|
}
|
|
};
|
|
</script>
|