style(frontend): apply prettier --write — fix formatting drift

4 files reformatted (import list expansion, line-length wrapping).
Vitest 88/683+3sk green.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Дмитрий
2026-05-13 13:30:51 +03:00
parent 58986a2d74
commit e280edd431
4 changed files with 97 additions and 17 deletions
@@ -29,7 +29,11 @@ defineProps<{
<span class="ru">&nbsp;</span>
</div>
<div class="runway mt-3">
<div class="runway-bar" role="img" :aria-label="`Хватит на ${balance.runwayDays} дня из ${balance.runwayMax}`">
<div
class="runway-bar"
role="img"
:aria-label="`Хватит на ${balance.runwayDays} дня из ${balance.runwayMax}`"
>
<span
v-for="i in balance.runwayMax"
:key="i"
+88 -12
View File
@@ -4,18 +4,94 @@ import { h, type Component } from 'vue';
import { createVuetify } from 'vuetify';
import type { ThemeDefinition, IconSet, IconProps } from 'vuetify';
import {
Activity, AlertCircle, AlertTriangle, Archive, ArrowDown, ArrowLeft, ArrowRightLeft,
ArrowUp, Bell, BellOff, Calendar, CalendarDays, Camera, Check, CheckCircle, ChevronDown,
ChevronLeft, ChevronRight, ChevronsLeft, ChevronsRight, ChevronsUpDown, ChevronUp,
Circle, CircleDot, CircleStop, Clock, Code,
Columns3, Copy, CreditCard, Download, Eye, EyeOff, FilterX, FileText, FlaskConical,
Folder, Folders, Globe, HelpCircle, Info, Key, KeyRound, LayoutDashboard, List, LogOut, Mail,
Megaphone, Menu, MessageSquare, MessageSquareText, Minus, MoreVertical, Paperclip, Pause,
Pencil, Phone, Play, Plus,
PlusCircle, Puzzle, ReceiptText, RefreshCw, RotateCcw, RotateCw, RussianRuble, Save, Search,
Settings, Shield, ShieldCheck, ShieldOff, Square, SquareCheck, SquareMinus, Star, StarHalf,
Tag, Trash2, User, UserCheck, UserCog, UserPlus,
Users, Wallet, Webhook, X, XCircle,
Activity,
AlertCircle,
AlertTriangle,
Archive,
ArrowDown,
ArrowLeft,
ArrowRightLeft,
ArrowUp,
Bell,
BellOff,
Calendar,
CalendarDays,
Camera,
Check,
CheckCircle,
ChevronDown,
ChevronLeft,
ChevronRight,
ChevronsLeft,
ChevronsRight,
ChevronsUpDown,
ChevronUp,
Circle,
CircleDot,
CircleStop,
Clock,
Code,
Columns3,
Copy,
CreditCard,
Download,
Eye,
EyeOff,
FilterX,
FileText,
FlaskConical,
Folder,
Folders,
Globe,
HelpCircle,
Info,
Key,
KeyRound,
LayoutDashboard,
List,
LogOut,
Mail,
Megaphone,
Menu,
MessageSquare,
MessageSquareText,
Minus,
MoreVertical,
Paperclip,
Pause,
Pencil,
Phone,
Play,
Plus,
PlusCircle,
Puzzle,
ReceiptText,
RefreshCw,
RotateCcw,
RotateCw,
RussianRuble,
Save,
Search,
Settings,
Shield,
ShieldCheck,
ShieldOff,
Square,
SquareCheck,
SquareMinus,
Star,
StarHalf,
Tag,
Trash2,
User,
UserCheck,
UserCog,
UserPlus,
Users,
Wallet,
Webhook,
X,
XCircle,
} from 'lucide-vue-next';
/**
+1 -3
View File
@@ -93,9 +93,7 @@ describe('RecoveryCodesCard (Q.DEFER.003 sub-B)', () => {
});
it('confirmRegen() with invalid password sets error and keeps regenCodes empty', async () => {
(authApi.twoFactorRegenerateRecoveryCodes as ReturnType<typeof vi.fn>).mockRejectedValue(
new Error('401'),
);
(authApi.twoFactorRegenerateRecoveryCodes as ReturnType<typeof vi.fn>).mockRejectedValue(new Error('401'));
const wrapper = factory(true);
await flushPromises();
const vm = wrapper.vm as unknown as {
+3 -1
View File
@@ -159,7 +159,9 @@ describe('api/deals', () => {
it('listManagers() GET /api/managers + unwraps data.managers', async () => {
vi.mocked(apiClient.get).mockResolvedValue({
data: { managers: [{ id: 1, email: 'm@x.ru', first_name: 'M', last_name: 'X', name: 'M X', initials: 'MX' }] },
data: {
managers: [{ id: 1, email: 'm@x.ru', first_name: 'M', last_name: 'X', name: 'M X', initials: 'MX' }],
},
});
const r = await listManagers(1);
expect(apiClient.get).toHaveBeenCalledWith('/api/managers', { params: { tenant_id: 1 } });