mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-03 12:37:56 +00:00
32 lines
938 B
Vue
32 lines
938 B
Vue
<script setup>
|
|
import Icon from 'next/icon/Icon.vue';
|
|
import { useI18n } from 'vue-i18n';
|
|
|
|
defineProps({
|
|
error: { type: String, required: true },
|
|
});
|
|
|
|
const { t } = useI18n();
|
|
</script>
|
|
|
|
<template>
|
|
<div class="text-xs text-n-ruby-11 flex items-center gap-1.5">
|
|
<span>{{ t('CHAT_LIST.FAILED_TO_SEND') }}</span>
|
|
<div class="relative group">
|
|
<div
|
|
class="bg-n-alpha-2 rounded-md size-5 grid place-content-center cursor-pointer"
|
|
>
|
|
<Icon
|
|
icon="i-lucide-alert-triangle"
|
|
class="text-n-ruby-11 size-[14px]"
|
|
/>
|
|
</div>
|
|
<div
|
|
class="absolute bg-n-alpha-3 px-4 py-3 border rounded-xl border-n-strong text-n-slate-12 bottom-6 w-52 right-0 text-xs backdrop-blur-[100px] shadow-[0px_0px_24px_0px_rgba(0,0,0,0.12)] opacity-0 invisible group-hover:opacity-100 group-hover:visible transition-all"
|
|
>
|
|
{{ error }}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|