2023-01-07 16:53:09 +03:00
|
|
|
<script setup lang="ts">
|
|
|
|
defineProps<{
|
|
|
|
showLabel?: boolean
|
|
|
|
}>()
|
|
|
|
</script>
|
|
|
|
|
2022-12-11 18:43:23 +03:00
|
|
|
<template>
|
2023-01-07 16:53:09 +03:00
|
|
|
<div
|
|
|
|
flex="~ gap1" items-center
|
|
|
|
:class="{ 'border border-base rounded-md px-1': showLabel }"
|
2023-01-08 17:08:11 +03:00
|
|
|
text-secondary-light
|
2023-01-07 16:53:09 +03:00
|
|
|
>
|
2023-01-08 17:08:11 +03:00
|
|
|
<slot name="prepend" />
|
2023-01-07 16:53:09 +03:00
|
|
|
<CommonTooltip :content="$t('account.bot')" :disabled="showLabel">
|
2023-02-03 15:12:16 +03:00
|
|
|
<div i-mdi:robot-outline />
|
2023-01-07 16:53:09 +03:00
|
|
|
</CommonTooltip>
|
|
|
|
<div v-if="showLabel">
|
|
|
|
{{ $t('account.bot') }}
|
|
|
|
</div>
|
2022-12-11 18:43:23 +03:00
|
|
|
</div>
|
|
|
|
</template>
|