2023-05-24 11:44:15 +00:00
|
|
|
<script>
|
|
|
|
import BaseComponent from 'primevue/basecomponent';
|
2023-10-02 10:46:09 +00:00
|
|
|
import ProgressSpinnerStyle from 'primevue/progressspinner/style';
|
2023-05-24 11:44:15 +00:00
|
|
|
|
|
|
|
export default {
|
|
|
|
name: 'BaseProgressSpinner',
|
|
|
|
extends: BaseComponent,
|
|
|
|
props: {
|
|
|
|
strokeWidth: {
|
|
|
|
type: String,
|
|
|
|
default: '2'
|
|
|
|
},
|
|
|
|
fill: {
|
|
|
|
type: String,
|
|
|
|
default: 'none'
|
|
|
|
},
|
|
|
|
animationDuration: {
|
|
|
|
type: String,
|
|
|
|
default: '2s'
|
|
|
|
}
|
|
|
|
},
|
2023-10-02 10:46:09 +00:00
|
|
|
style: ProgressSpinnerStyle,
|
2023-05-30 12:28:04 +00:00
|
|
|
provide() {
|
|
|
|
return {
|
2024-04-25 01:26:06 +00:00
|
|
|
$pcProgressSpinner: this,
|
2023-05-30 12:28:04 +00:00
|
|
|
$parentInstance: this
|
|
|
|
};
|
2023-05-24 11:44:15 +00:00
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|