REFACTOR: Belonging → Property system migration + dashboard + map improvements

Property system:
- Add PropertyService.js and PropertyStatusService.js
- Add Property pages: CreateProperty.vue, ListProperties.vue, TransactionDialog.vue
- Remove legacy BelongingService.js and Belonging pages (CreateBelonging, ListBelongings, TransactionDialog)

Dashboard:
- Update RecentSalesWidget.vue
- Update RevenueStreamWidget.vue
- Update StatsWidget.vue

UI & config:
- Major MapComponent.vue improvements (extended functionality)
- Update ListCategories.vue
- Update ListTransactions.vue
- Update vite.config.mjs
This commit is contained in:
2026-08-11 20:36:02 +03:30
parent c01fed2622
commit 79da0d24ab
13 changed files with 1522 additions and 742 deletions
@@ -11,17 +11,17 @@ function setChartData() {
const documentStyle = getComputedStyle(document.documentElement);
return {
labels: ['زمین', 'ساختمان', 'خودرو', 'ارز'],
labels: ['زمین', 'ساختمان'],
datasets: [
{
type: 'bar',
label: 'تعداد دارایی ها',
label: 'تعداد املاک',
backgroundColor: documentStyle.getPropertyValue('--p-primary-400'),
font: {
family: 'Estedad', // Set custom font for y-axis labels
size: 14 // Set font size
family: 'Estedad',
size: 14
},
data: [18, 13, 5, 11],
data: [18, 13],
barThickness: 32
}
]
@@ -42,8 +42,8 @@ function setChartOptions() {
ticks: {
color: textMutedColor,
font: {
family: 'Estedad', // Set custom font for y-axis labels
size: 14 // Set font size
family: 'Estedad',
size: 14
}
},
grid: {
@@ -56,8 +56,8 @@ function setChartOptions() {
ticks: {
color: textMutedColor,
font: {
family: 'Estedad', // Set custom font for y-axis labels
size: 14 // Set font size
family: 'Estedad',
size: 14
}
},
grid: {
@@ -83,7 +83,7 @@ onMounted(() => {
<template>
<div class="card">
<div class="font-semibold text-xl mb-4">تقسیم بندی دارایی ها</div>
<div class="font-semibold text-xl mb-4">تقسیم بندی املاک</div>
<Chart type="bar" :data="chartData" :options="chartOptions" class="h-80" />
</div>
</template>