mirror of
				https://github.com/lingble/chatwoot.git
				synced 2025-11-04 04:57:51 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			25 lines
		
	
	
		
			511 B
		
	
	
	
		
			Vue
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			511 B
		
	
	
	
		
			Vue
		
	
	
	
	
	
<script setup>
 | 
						|
import { useMapGetter } from 'dashboard/composables/store';
 | 
						|
 | 
						|
defineProps({
 | 
						|
  content: {
 | 
						|
    type: String,
 | 
						|
    default: '',
 | 
						|
  },
 | 
						|
});
 | 
						|
 | 
						|
const isRTL = useMapGetter('accounts/isRTL');
 | 
						|
</script>
 | 
						|
 | 
						|
<template>
 | 
						|
  <div
 | 
						|
    class="overflow-hidden whitespace-nowrap text-ellipsis"
 | 
						|
    :class="{ 'text-right': isRTL }"
 | 
						|
  >
 | 
						|
    <slot v-if="$slots.default || content">
 | 
						|
      <template v-if="content">{{ content }}</template>
 | 
						|
    </slot>
 | 
						|
    <span v-else class="text-n-slate-10"> --- </span>
 | 
						|
  </div>
 | 
						|
</template>
 |