import { openCopperConvert } from '@/composables/useCopperConvertModal' import { getBoursecuActionIconSrc } from '@/utils/config' import type { HomeQuickActionItem } from '../types' export const boursecuQuickActions: HomeQuickActionItem[] = [ { id: 'buySell', label: 'خرید و فروش', icon: 'vuesax-linear:money-receive', iconSrc: getBoursecuActionIconSrc('buySell'), route: { name: 'buyProduct' }, }, { id: 'wallet', label: 'واریز و برداشت', icon: 'vuesax-linear:wallet-1', iconSrc: getBoursecuActionIconSrc('wallet'), route: { name: 'wallet' }, }, { id: 'assets', label: 'دارایی ها', icon: 'vuesax-linear:cup', iconSrc: getBoursecuActionIconSrc('assets'), // شیت موجودی‌ها — نه مسیر fund (با enable_product_funds=false گارد بی‌صدا برمی‌گرداند) }, { id: 'transactions', label: 'تراکنش ها', icon: 'vuesax-linear:receipt-item', iconSrc: getBoursecuActionIconSrc('transactions'), route: { name: 'transactions' }, }, { id: 'physicalReceive', label: 'تحویل فیزیکی', icon: 'vuesax-linear:direct-inbox', iconSrc: getBoursecuActionIconSrc('physicalReceive'), route: { name: 'physicalReceive' }, }, { id: 'convert', label: 'تبدیل', icon: 'vuesax-linear:refresh-circle', iconSrc: getBoursecuActionIconSrc('convert'), handler: () => openCopperConvert(), }, ]