20 lines
643 B
Vue
20 lines
643 B
Vue
<script setup>
|
|
/**
|
|
* ProcessingIndicator.vue
|
|
*
|
|
* Shows the simulated processing-phase text (with its animated ellipsis,
|
|
* see useProcessingPhases.js) next to the Extract button while a request
|
|
* is in flight. Purely presentational - takes isProcessing/phaseText as
|
|
* props rather than owning the timer itself, so it stays reusable
|
|
* wherever processing feedback is needed.
|
|
*/
|
|
defineProps({
|
|
isProcessing: { type: Boolean, required: true },
|
|
phaseText: { type: String, required: true },
|
|
})
|
|
</script>
|
|
|
|
<template>
|
|
<span v-if="isProcessing" class="spinner"><i class="fa-solid fa-spinner fa-spin"></i>{{ phaseText }}</span>
|
|
</template>
|