|
2 | 2 | <app-sheet title="Dashboard" class="mb-0">
|
3 | 3 | <v-row no-gutters>
|
4 | 4 | <v-col cols="12" sm="6" lg="3">
|
5 |
| - <app-dashboard-widgets-stat |
| 5 | + <widgets-stat |
6 | 6 | title="Today Orders"
|
7 | 7 | value="1,900"
|
8 | 8 | percentage="25.47%"
|
|
14 | 14 | <v-divider vertical />
|
15 | 15 |
|
16 | 16 | <v-col cols="12" sm="6" lg="3">
|
17 |
| - <app-dashboard-widgets-stat |
18 |
| - title="Today Orders" |
19 |
| - value="2,500" |
20 |
| - percentage="5.64%" |
21 |
| - class="px-5 py-0" |
22 |
| - /> |
| 17 | + <widgets-stat title="Today Orders" value="2,500" percentage="5.64%" class="px-5 py-0" /> |
23 | 18 | </v-col>
|
24 | 19 |
|
25 | 20 | <v-divider vertical />
|
26 | 21 |
|
27 | 22 | <v-col cols="12" sm="6" lg="3">
|
28 |
| - <app-dashboard-widgets-stat |
| 23 | + <widgets-stat |
29 | 24 | title="Today Orders"
|
30 | 25 | value="564"
|
31 | 26 | percentage="14.47%"
|
|
37 | 32 | <v-divider vertical />
|
38 | 33 |
|
39 | 34 | <v-col cols="12" sm="6" lg="3">
|
40 |
| - <app-dashboard-widgets-stat |
| 35 | + <widgets-stat |
41 | 36 | title="Today Orders"
|
42 | 37 | value="1,000"
|
43 | 38 | percentage="9.14%"
|
|
130 | 125 | <v-col cols="16" lg="6">
|
131 | 126 | <v-row>
|
132 | 127 | <v-col cols="12">
|
133 |
| - <app-dashboard-widgets-sales-revenue /> |
| 128 | + <widgets-sales-revenue /> |
134 | 129 | </v-col>
|
135 | 130 |
|
136 | 131 | <!-- Second widget -->
|
137 | 132 | <v-col cols="12" lg="6">
|
138 |
| - <app-dashboard-widgets-bar-simple |
139 |
| - title="Active Subscriptions" |
140 |
| - value="1.1K" |
141 |
| - percentage="25.47%" |
142 |
| - /> |
| 133 | + <widgets-bar-simple title="Active Subscriptions" value="1.1K" percentage="25.47%" /> |
143 | 134 | </v-col>
|
144 | 135 |
|
145 | 136 | <!-- Third widget -->
|
146 | 137 | <v-col cols="12" lg="6">
|
147 |
| - <app-dashboard-widgets-bar-simple |
148 |
| - title="AVG Subscriptions" |
149 |
| - value="341.2" |
150 |
| - percentage="10%" |
151 |
| - /> |
| 138 | + <widgets-bar-simple title="AVG Subscriptions" value="341.2" percentage="10%" /> |
152 | 139 | </v-col>
|
153 | 140 |
|
154 | 141 | <v-col cols="6">
|
155 |
| - <app-dashboard-widgets-website-performance /> |
| 142 | + <widgets-website-performance /> |
156 | 143 | </v-col>
|
157 | 144 |
|
158 | 145 | <v-col cols="6">
|
159 |
| - <app-dashboard-widgets-pie /> |
| 146 | + <widgets-pie /> |
160 | 147 | </v-col>
|
161 | 148 |
|
162 | 149 | <!-- Fourth widget -->
|
@@ -264,11 +251,11 @@ import { LineChart, useLineChart } from 'vue-chart-3'
|
264 | 251 | import { useUser } from '@/composables/useUser'
|
265 | 252 | import { useLoader } from '@/composables/useLoader'
|
266 | 253 | import { months, numbers, createGradient } from '@/assets/js/charts/utils'
|
267 |
| -import AppDashboardWidgetsSalesRevenue from '@/components/dashboard/widgets/SalesRevenue.vue' |
268 |
| -import AppDashboardWidgetsBarSimple from '@/components/dashboard/widgets/BarSimple.vue' |
269 |
| -import AppDashboardWidgetsWebsitePerformance from '@/components/dashboard/widgets/WebsitePerformance.vue' |
270 |
| -import AppDashboardWidgetsStat from '@/components/dashboard/widgets/Stat.vue' |
271 |
| -import AppDashboardWidgetsPie from '@/components/dashboard/widgets/Pie.vue' |
| 254 | +import WidgetsSalesRevenue from '@/components/dashboard/widgets/SalesRevenue.vue' |
| 255 | +import WidgetsBarSimple from '@/components/dashboard/widgets/BarSimple.vue' |
| 256 | +import WidgetsWebsitePerformance from '@/components/dashboard/widgets/WebsitePerformance.vue' |
| 257 | +import WidgetsStat from '@/components/dashboard/widgets/Stat.vue' |
| 258 | +import WidgetsPie from '@/components/dashboard/widgets/Pie.vue' |
272 | 259 |
|
273 | 260 | Chart.register(...registerables)
|
274 | 261 |
|
|
0 commit comments