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