2023-08-21 01:51:35 -04:00
|
|
|
<script setup lang="ts">
|
|
|
|
|
import { useStateStore } from "@/stores/StateStore";
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<template>
|
|
|
|
|
<v-snackbar
|
|
|
|
|
v-model="useStateStore().snackbarData.show"
|
2025-05-06 18:21:41 -04:00
|
|
|
location="top"
|
2025-08-04 01:15:33 -04:00
|
|
|
variant="elevated"
|
2023-08-21 01:51:35 -04:00
|
|
|
:color="useStateStore().snackbarData.color"
|
|
|
|
|
:timeout="useStateStore().snackbarData.timeout"
|
|
|
|
|
>
|
|
|
|
|
<p style="padding: 0; margin: 0; text-align: center">
|
|
|
|
|
{{ useStateStore().snackbarData.message }}
|
|
|
|
|
</p>
|
2025-11-01 20:56:12 -05:00
|
|
|
<v-progress-linear
|
|
|
|
|
v-if="useStateStore().snackbarData.progressBar != -1"
|
|
|
|
|
v-model="useStateStore().snackbarData.progressBar"
|
|
|
|
|
height="15"
|
|
|
|
|
:color="useStateStore().snackbarData.progressBarColor"
|
|
|
|
|
>
|
|
|
|
|
<template #default="{ value }">
|
|
|
|
|
<strong> {{ Math.ceil(value) }}% </strong>
|
|
|
|
|
</template>
|
|
|
|
|
</v-progress-linear>
|
2023-08-21 01:51:35 -04:00
|
|
|
</v-snackbar>
|
|
|
|
|
</template>
|