2023-05-25 16:32:25 +00:00
|
|
|
<script>
|
|
|
|
import BaseComponent from 'primevue/basecomponent';
|
2023-10-02 10:46:09 +00:00
|
|
|
import ProgressBarStyle from 'primevue/progressbar/style';
|
2023-05-25 16:32:25 +00:00
|
|
|
|
|
|
|
export default {
|
|
|
|
name: 'BaseProgressBar',
|
|
|
|
extends: BaseComponent,
|
|
|
|
props: {
|
|
|
|
value: {
|
|
|
|
type: Number,
|
|
|
|
default: null
|
|
|
|
},
|
|
|
|
mode: {
|
|
|
|
type: String,
|
|
|
|
default: 'determinate'
|
|
|
|
},
|
|
|
|
showValue: {
|
|
|
|
type: Boolean,
|
|
|
|
default: true
|
|
|
|
}
|
|
|
|
},
|
2023-10-02 10:46:09 +00:00
|
|
|
style: ProgressBarStyle,
|
2023-05-30 12:28:04 +00:00
|
|
|
provide() {
|
|
|
|
return {
|
|
|
|
$parentInstance: this
|
|
|
|
};
|
2023-05-25 16:32:25 +00:00
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|