Files
CRM_Montzar/apps/web/src/components/UiIcon.vue
T

100 lines
1.6 KiB
Vue
Raw Normal View History

<script setup lang="ts">
/**
* آیکون‌های legacy — حالا از پک vuesax-linear رندر می‌شوند.
* API نام‌ها برای سازگاری با صفحات قدیمی حفظ شده.
*/
import VsIcon from '@/components/VsIcon.vue';
defineProps<{
name:
| 'home'
| 'users'
| 'briefcase'
| 'check'
| 'box'
| 'chart'
| 'settings'
| 'search'
| 'sparkle'
| 'bell'
| 'calendar'
| 'calendar-plus'
| 'mail'
| 'megaphone'
| 'send'
| 'fire'
| 'warning'
| 'trend'
| 'phone'
| 'trophy'
| 'chat'
| 'dots'
| 'dots-v'
| 'document'
| 'bag'
| 'clock'
| 'user-plus'
| 'plus'
| 'chevron'
| 'star'
| 'pin'
| 'filter'
2026-09-14 16:49:43 +03:30
| 'funnel'
| 'lightbulb'
| 'building'
| 'user'
| 'flag'
| 'refresh'
| 'x'
2026-09-15 14:10:52 +03:30
| 'x-circle'
| 'mic'
| 'trash'
| 'stop'
| 'check-plain'
| 'calendar-sun'
| 'calendar-edit'
| 'minus'
| 'dollar'
| 'layers'
| 'target'
| 'pencil'
2026-09-15 14:10:52 +03:30
| 'edit'
| 'grid'
| 'list'
| 'eye'
2026-09-19 13:57:15 +03:30
| 'eye-off'
| 'lock'
| 'truck'
| 'grip'
| 'apps-plus'
| 'crown'
| 'gift'
| 'medal'
2026-09-14 16:49:43 +03:30
| 'logout'
| 'pulse'
2026-09-15 14:10:52 +03:30
| 'sliders'
| 'camera'
| 'clip'
| 'download'
| 'upload'
| 'arrow-right'
| 'arrow-left'
| 'chevron-right'
| 'chevron-left'
| 'chevrons-right'
| 'chevrons-left';
size?: number;
}>();
</script>
<template>
<VsIcon class="ico" :name="name" map="ui" :size="size ?? 20" />
</template>
<style scoped>
.ico {
display: block;
flex-shrink: 0;
}
</style>