feat(web): migrate CRM screens to Ant Design Vue with central theme

Adopt ant-design-vue and a shared antdTheme for leads, pipeline, invoices, and shared form controls under strict single-page governance.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-18 19:39:59 +03:30
co-authored by Cursor
parent ab538b8304
commit 4abab55a6b
40 changed files with 7529 additions and 11795 deletions
@@ -1,6 +1,6 @@
<script setup lang="ts">
import UiButton from '@/components/ui/UiButton.vue';
import UiIcon from '@/components/UiIcon.vue';
import { PlusOutlined } from '@ant-design/icons-vue';
import { Button as AButton } from 'ant-design-vue';
import type { PipelineAccent } from '@/lib/pipeline-board';
import { PIPELINE_ACCENT } from '@/lib/pipeline-board';
@@ -18,15 +18,14 @@ const emit = defineEmits<{
</script>
<template>
<UiButton
variant="dashed"
<a-button
type="dashed"
block
class="add-deal"
:style="{ color: PIPELINE_ACCENT[accent].text }"
:aria-label="label"
@click="emit('add')"
>
<UiIcon name="plus" :size="16" />
<template #icon><PlusOutlined /></template>
{{ label }}
</UiButton>
</a-button>
</template>