mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-05-15 20:39:34 +08:00
22 lines
549 B
Vue
22 lines
549 B
Vue
<script setup lang="ts">
|
|
import { useI18n } from 'vue-i18n'
|
|
|
|
const { t } = useI18n()
|
|
|
|
const props = defineProps({
|
|
value: Number,
|
|
text: String,
|
|
})
|
|
</script>
|
|
<template>
|
|
<!-- Progress Dialog -->
|
|
<DialogWrapper :scrim="false" width="25rem">
|
|
<VCard elevation="3" color="primary">
|
|
<VCardText class="text-center">
|
|
{{ props.text || t('dialog.progress.processing') }}
|
|
<VProgressLinear color="white" class="mb-0 mt-1" :model-value="props.value" indeterminate />
|
|
</VCardText>
|
|
</VCard>
|
|
</DialogWrapper>
|
|
</template>
|