@burdenoff/microfe-kadaikodi 2026.624.1 → 2026.626.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (103) hide show
  1. package/dist/kadaikodi/components/EmptyState.js +8 -21
  2. package/dist/kadaikodi/components/EmptyState.js.map +1 -1
  3. package/dist/kadaikodi/components/InvestmentCard.js +24 -22
  4. package/dist/kadaikodi/components/InvestmentCard.js.map +1 -1
  5. package/dist/kadaikodi/components/MetricsCard.js +16 -13
  6. package/dist/kadaikodi/components/MetricsCard.js.map +1 -1
  7. package/dist/kadaikodi/components/PageLayout.js +29 -19
  8. package/dist/kadaikodi/components/PageLayout.js.map +1 -1
  9. package/dist/kadaikodi/components/RatingDisplay.js +1 -1
  10. package/dist/kadaikodi/components/RatingDisplay.js.map +1 -1
  11. package/dist/kadaikodi/components/StatusBadge.js +28 -15
  12. package/dist/kadaikodi/components/StatusBadge.js.map +1 -1
  13. package/dist/kadaikodi/pages/HomePage.js +54 -48
  14. package/dist/kadaikodi/pages/HomePage.js.map +1 -1
  15. package/dist/kadaikodi/pages/admin/AdminAnalyticsPage.js +144 -108
  16. package/dist/kadaikodi/pages/admin/AdminAnalyticsPage.js.map +1 -1
  17. package/dist/kadaikodi/pages/admin/AdminDashboard.js +143 -120
  18. package/dist/kadaikodi/pages/admin/AdminDashboard.js.map +1 -1
  19. package/dist/kadaikodi/pages/admin/AdminFinancialPage.js +146 -130
  20. package/dist/kadaikodi/pages/admin/AdminFinancialPage.js.map +1 -1
  21. package/dist/kadaikodi/pages/admin/AdminOrdersPage.js +261 -243
  22. package/dist/kadaikodi/pages/admin/AdminOrdersPage.js.map +1 -1
  23. package/dist/kadaikodi/pages/admin/AdminProfilePage.js +129 -128
  24. package/dist/kadaikodi/pages/admin/AdminProfilePage.js.map +1 -1
  25. package/dist/kadaikodi/pages/admin/AdminSettingsPage.js +178 -150
  26. package/dist/kadaikodi/pages/admin/AdminSettingsPage.js.map +1 -1
  27. package/dist/kadaikodi/pages/admin/CartManagementPage.js +200 -177
  28. package/dist/kadaikodi/pages/admin/CartManagementPage.js.map +1 -1
  29. package/dist/kadaikodi/pages/admin/UserManagementPage.js +340 -318
  30. package/dist/kadaikodi/pages/admin/UserManagementPage.js.map +1 -1
  31. package/dist/kadaikodi/pages/cart-owner/AnalyticsDashboard.js +502 -471
  32. package/dist/kadaikodi/pages/cart-owner/AnalyticsDashboard.js.map +1 -1
  33. package/dist/kadaikodi/pages/cart-owner/BusinessSettingsPage.js +536 -505
  34. package/dist/kadaikodi/pages/cart-owner/BusinessSettingsPage.js.map +1 -1
  35. package/dist/kadaikodi/pages/cart-owner/CartOwnerDashboard.js +97 -72
  36. package/dist/kadaikodi/pages/cart-owner/CartOwnerDashboard.js.map +1 -1
  37. package/dist/kadaikodi/pages/cart-owner/CartOwnerProfilePage.js +114 -107
  38. package/dist/kadaikodi/pages/cart-owner/CartOwnerProfilePage.js.map +1 -1
  39. package/dist/kadaikodi/pages/cart-owner/CartServiceConfigPage.js +143 -142
  40. package/dist/kadaikodi/pages/cart-owner/CartServiceConfigPage.js.map +1 -1
  41. package/dist/kadaikodi/pages/cart-owner/InventoryManagementPage.js +677 -674
  42. package/dist/kadaikodi/pages/cart-owner/InventoryManagementPage.js.map +1 -1
  43. package/dist/kadaikodi/pages/cart-owner/OrderManagementPage.js +527 -524
  44. package/dist/kadaikodi/pages/cart-owner/OrderManagementPage.js.map +1 -1
  45. package/dist/kadaikodi/pages/cart-owner/StaffManagementPage.js +155 -140
  46. package/dist/kadaikodi/pages/cart-owner/StaffManagementPage.js.map +1 -1
  47. package/dist/kadaikodi/pages/common/HelpSupportPage.js +334 -343
  48. package/dist/kadaikodi/pages/common/HelpSupportPage.js.map +1 -1
  49. package/dist/kadaikodi/pages/common/NotificationCenterPage.js +126 -114
  50. package/dist/kadaikodi/pages/common/NotificationCenterPage.js.map +1 -1
  51. package/dist/kadaikodi/pages/common/SettingsPage.js +766 -734
  52. package/dist/kadaikodi/pages/common/SettingsPage.js.map +1 -1
  53. package/dist/kadaikodi/pages/customer/BookingDetailsPage.js +366 -356
  54. package/dist/kadaikodi/pages/customer/BookingDetailsPage.js.map +1 -1
  55. package/dist/kadaikodi/pages/customer/CartDetailPage.js +250 -220
  56. package/dist/kadaikodi/pages/customer/CartDetailPage.js.map +1 -1
  57. package/dist/kadaikodi/pages/customer/CartDiscoveryPage.js +208 -202
  58. package/dist/kadaikodi/pages/customer/CartDiscoveryPage.js.map +1 -1
  59. package/dist/kadaikodi/pages/customer/CheckoutPage.js +100 -94
  60. package/dist/kadaikodi/pages/customer/CheckoutPage.js.map +1 -1
  61. package/dist/kadaikodi/pages/customer/CustomerDashboard.js +438 -395
  62. package/dist/kadaikodi/pages/customer/CustomerDashboard.js.map +1 -1
  63. package/dist/kadaikodi/pages/customer/CustomerProfilePage.js +488 -478
  64. package/dist/kadaikodi/pages/customer/CustomerProfilePage.js.map +1 -1
  65. package/dist/kadaikodi/pages/customer/DirectServiceBookingPage.js +523 -512
  66. package/dist/kadaikodi/pages/customer/DirectServiceBookingPage.js.map +1 -1
  67. package/dist/kadaikodi/pages/customer/FavoritesPage.js +90 -81
  68. package/dist/kadaikodi/pages/customer/FavoritesPage.js.map +1 -1
  69. package/dist/kadaikodi/pages/customer/OrderHistoryPage.js +118 -110
  70. package/dist/kadaikodi/pages/customer/OrderHistoryPage.js.map +1 -1
  71. package/dist/kadaikodi/pages/customer/OrderTrackingPage.js +72 -66
  72. package/dist/kadaikodi/pages/customer/OrderTrackingPage.js.map +1 -1
  73. package/dist/kadaikodi/pages/customer/PaymentMethodsPage.js +97 -79
  74. package/dist/kadaikodi/pages/customer/PaymentMethodsPage.js.map +1 -1
  75. package/dist/kadaikodi/pages/customer/ReviewsPage.js +95 -87
  76. package/dist/kadaikodi/pages/customer/ReviewsPage.js.map +1 -1
  77. package/dist/kadaikodi/pages/customer/SavedAddressesPage.js +83 -65
  78. package/dist/kadaikodi/pages/customer/SavedAddressesPage.js.map +1 -1
  79. package/dist/kadaikodi/pages/investor/InvestmentDetailsPage.js +302 -268
  80. package/dist/kadaikodi/pages/investor/InvestmentDetailsPage.js.map +1 -1
  81. package/dist/kadaikodi/pages/investor/InvestmentOpportunitiesPage.js +103 -95
  82. package/dist/kadaikodi/pages/investor/InvestmentOpportunitiesPage.js.map +1 -1
  83. package/dist/kadaikodi/pages/investor/InvestorAnalyticsPage.js +86 -77
  84. package/dist/kadaikodi/pages/investor/InvestorAnalyticsPage.js.map +1 -1
  85. package/dist/kadaikodi/pages/investor/InvestorDashboard.js +342 -313
  86. package/dist/kadaikodi/pages/investor/InvestorDashboard.js.map +1 -1
  87. package/dist/kadaikodi/pages/investor/InvestorInvestmentsPage.js +46 -38
  88. package/dist/kadaikodi/pages/investor/InvestorInvestmentsPage.js.map +1 -1
  89. package/dist/kadaikodi/pages/investor/InvestorPortfolioPage.js +183 -159
  90. package/dist/kadaikodi/pages/investor/InvestorPortfolioPage.js.map +1 -1
  91. package/dist/kadaikodi/pages/investor/InvestorProfilePage.js +394 -390
  92. package/dist/kadaikodi/pages/investor/InvestorProfilePage.js.map +1 -1
  93. package/dist/kadaikodi/pages/worker/TaskDetailsPage.js +309 -280
  94. package/dist/kadaikodi/pages/worker/TaskDetailsPage.js.map +1 -1
  95. package/dist/kadaikodi/pages/worker/WorkerDashboard.js +115 -87
  96. package/dist/kadaikodi/pages/worker/WorkerDashboard.js.map +1 -1
  97. package/dist/kadaikodi/pages/worker/WorkerOrdersPage.js +108 -101
  98. package/dist/kadaikodi/pages/worker/WorkerOrdersPage.js.map +1 -1
  99. package/dist/kadaikodi/pages/worker/WorkerProfilePage.js +113 -109
  100. package/dist/kadaikodi/pages/worker/WorkerProfilePage.js.map +1 -1
  101. package/dist/kadaikodi/pages/worker/WorkerSchedulePage.js +96 -89
  102. package/dist/kadaikodi/pages/worker/WorkerSchedulePage.js.map +1 -1
  103. package/package.json +2 -2
@@ -10,29 +10,30 @@ import { useCallback as u, useMemo as d, useState as f } from "react";
10
10
  import { useI18n as p } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
11
11
  import { Activity as m, AlertCircle as h, ArrowRight as g, BadgeCheck as _, BarChart3 as v, CheckCircle2 as y, ChefHat as b, ClipboardList as x, Clock as S, FileText as C, GraduationCap as w, HandCoins as T, Heart as E, Home as D, IndianRupee as O, LayoutDashboard as k, Loader2 as A, MapPin as j, Package as M, Scissors as N, Search as P, Settings as F, Shirt as I, ShoppingBag as L, ShoppingCart as R, Sparkles as z, Star as B, Store as V, TrendingUp as H, Truck as U, Users as W, Wallet as G, Wrench as K } from "lucide-react";
12
12
  import { jsx as q, jsxs as J } from "react/jsx-runtime";
13
+ import { EmphasisPanel as Y, PagePurpose as X } from "@burdenoff/fe-libs/ui";
13
14
  //#region src/kadaikodi/pages/HomePage.tsx
14
- var Y = {
15
+ var Z = {
15
16
  customer: [
16
17
  {
17
18
  label: "Discover Services",
18
19
  description: "Browse carts near you",
19
20
  icon: /* @__PURE__ */ q(P, { className: "h-5 w-5" }),
20
21
  path: "/customer/carts",
21
- color: "bg-blue-500/10 text-blue-600 dark:text-blue-400"
22
+ color: "bg-[var(--color-accent-soft)] text-text-primary"
22
23
  },
23
24
  {
24
25
  label: "My Orders",
25
26
  description: "Track your orders",
26
27
  icon: /* @__PURE__ */ q(L, { className: "h-5 w-5" }),
27
28
  path: "/customer/orders",
28
- color: "bg-green-500/10 text-green-600 dark:text-green-400"
29
+ color: "bg-status-success-bg-subtle text-status-success-text"
29
30
  },
30
31
  {
31
32
  label: "Favorites",
32
33
  description: "Your saved carts",
33
34
  icon: /* @__PURE__ */ q(E, { className: "h-5 w-5" }),
34
35
  path: "/customer/favorites",
35
- color: "bg-pink-500/10 text-pink-600 dark:text-pink-400"
36
+ color: "bg-accent-purple-subtle text-text-primary"
36
37
  },
37
38
  {
38
39
  label: "Settings",
@@ -48,28 +49,28 @@ var Y = {
48
49
  description: "Manage your cart",
49
50
  icon: /* @__PURE__ */ q(V, { className: "h-5 w-5" }),
50
51
  path: "/owner/dashboard",
51
- color: "bg-purple-500/10 text-purple-600 dark:text-purple-400"
52
+ color: "bg-accent-purple-subtle text-text-primary"
52
53
  },
53
54
  {
54
55
  label: "Orders",
55
56
  description: "Incoming orders",
56
57
  icon: /* @__PURE__ */ q(L, { className: "h-5 w-5" }),
57
58
  path: "/owner/orders",
58
- color: "bg-blue-500/10 text-blue-600 dark:text-blue-400"
59
+ color: "bg-[var(--color-accent-soft)] text-text-primary"
59
60
  },
60
61
  {
61
62
  label: "Analytics",
62
63
  description: "Revenue & insights",
63
64
  icon: /* @__PURE__ */ q(v, { className: "h-5 w-5" }),
64
65
  path: "/owner/analytics",
65
- color: "bg-emerald-500/10 text-emerald-600 dark:text-emerald-400"
66
+ color: "bg-status-success-bg-subtle text-status-success-text"
66
67
  },
67
68
  {
68
69
  label: "Staff",
69
70
  description: "Manage workers",
70
71
  icon: /* @__PURE__ */ q(W, { className: "h-5 w-5" }),
71
72
  path: "/owner/staff",
72
- color: "bg-orange-500/10 text-orange-600 dark:text-orange-400"
73
+ color: "bg-status-warning-bg-subtle text-status-warning-text"
73
74
  }
74
75
  ],
75
76
  worker: [
@@ -78,28 +79,28 @@ var Y = {
78
79
  description: "View assigned tasks",
79
80
  icon: /* @__PURE__ */ q(x, { className: "h-5 w-5" }),
80
81
  path: "/worker/dashboard",
81
- color: "bg-orange-500/10 text-orange-600 dark:text-orange-400"
82
+ color: "bg-status-warning-bg-subtle text-status-warning-text"
82
83
  },
83
84
  {
84
85
  label: "Schedule",
85
86
  description: "View shifts",
86
87
  icon: /* @__PURE__ */ q(S, { className: "h-5 w-5" }),
87
88
  path: "/worker/schedule",
88
- color: "bg-blue-500/10 text-blue-600 dark:text-blue-400"
89
+ color: "bg-[var(--color-accent-soft)] text-text-primary"
89
90
  },
90
91
  {
91
92
  label: "Earnings",
92
93
  description: "Track pay",
93
94
  icon: /* @__PURE__ */ q(G, { className: "h-5 w-5" }),
94
95
  path: "/worker/earnings",
95
- color: "bg-green-500/10 text-green-600 dark:text-green-400"
96
+ color: "bg-status-success-bg-subtle text-status-success-text"
96
97
  },
97
98
  {
98
99
  label: "Performance",
99
100
  description: "Ratings & stats",
100
101
  icon: /* @__PURE__ */ q(B, { className: "h-5 w-5" }),
101
102
  path: "/worker/performance",
102
- color: "bg-yellow-500/10 text-yellow-600 dark:text-yellow-400"
103
+ color: "bg-status-warning-bg-subtle text-status-warning-text"
103
104
  }
104
105
  ],
105
106
  investor: [
@@ -108,28 +109,28 @@ var Y = {
108
109
  description: "Your investments",
109
110
  icon: /* @__PURE__ */ q(H, { className: "h-5 w-5" }),
110
111
  path: "/investor/dashboard",
111
- color: "bg-emerald-500/10 text-emerald-600 dark:text-emerald-400"
112
+ color: "bg-status-success-bg-subtle text-status-success-text"
112
113
  },
113
114
  {
114
115
  label: "Opportunities",
115
116
  description: "New investments",
116
117
  icon: /* @__PURE__ */ q(T, { className: "h-5 w-5" }),
117
118
  path: "/investor/opportunities",
118
- color: "bg-blue-500/10 text-blue-600 dark:text-blue-400"
119
+ color: "bg-[var(--color-accent-soft)] text-text-primary"
119
120
  },
120
121
  {
121
122
  label: "Returns",
122
123
  description: "Earnings history",
123
124
  icon: /* @__PURE__ */ q(O, { className: "h-5 w-5" }),
124
125
  path: "/investor/returns",
125
- color: "bg-green-500/10 text-green-600 dark:text-green-400"
126
+ color: "bg-status-success-bg-subtle text-status-success-text"
126
127
  },
127
128
  {
128
129
  label: "Reports",
129
130
  description: "Performance reports",
130
131
  icon: /* @__PURE__ */ q(C, { className: "h-5 w-5" }),
131
132
  path: "/investor/reports",
132
- color: "bg-purple-500/10 text-purple-600 dark:text-purple-400"
133
+ color: "bg-accent-purple-subtle text-text-primary"
133
134
  }
134
135
  ],
135
136
  admin: [
@@ -138,32 +139,32 @@ var Y = {
138
139
  description: "Platform overview",
139
140
  icon: /* @__PURE__ */ q(k, { className: "h-5 w-5" }),
140
141
  path: "/admin/dashboard",
141
- color: "bg-red-500/10 text-red-600 dark:text-red-400"
142
+ color: "bg-status-error-bg-subtle text-status-error-text"
142
143
  },
143
144
  {
144
145
  label: "Users",
145
146
  description: "Manage accounts",
146
147
  icon: /* @__PURE__ */ q(W, { className: "h-5 w-5" }),
147
148
  path: "/admin/users",
148
- color: "bg-blue-500/10 text-blue-600 dark:text-blue-400"
149
+ color: "bg-[var(--color-accent-soft)] text-text-primary"
149
150
  },
150
151
  {
151
152
  label: "Carts",
152
153
  description: "Approve & manage",
153
154
  icon: /* @__PURE__ */ q(V, { className: "h-5 w-5" }),
154
155
  path: "/admin/carts",
155
- color: "bg-purple-500/10 text-purple-600 dark:text-purple-400"
156
+ color: "bg-accent-purple-subtle text-text-primary"
156
157
  },
157
158
  {
158
159
  label: "Analytics",
159
160
  description: "Revenue reports",
160
161
  icon: /* @__PURE__ */ q(v, { className: "h-5 w-5" }),
161
162
  path: "/admin/analytics",
162
- color: "bg-emerald-500/10 text-emerald-600 dark:text-emerald-400"
163
+ color: "bg-status-success-bg-subtle text-status-success-text"
163
164
  }
164
165
  ]
165
166
  };
166
- function X(e, t, n) {
167
+ function Q(e, t, n) {
167
168
  switch (e) {
168
169
  case "customer": return [
169
170
  {
@@ -317,53 +318,53 @@ function X(e, t, n) {
317
318
  ];
318
319
  }
319
320
  }
320
- var Z = [
321
+ var $ = [
321
322
  {
322
323
  label: "Food & Beverage",
323
324
  icon: /* @__PURE__ */ q(b, { className: "h-6 w-6" }),
324
- color: "bg-orange-500/10 text-orange-600 dark:text-orange-400"
325
+ color: "bg-status-warning-bg-subtle text-status-warning-text"
325
326
  },
326
327
  {
327
328
  label: "Personal Care & Beauty",
328
329
  icon: /* @__PURE__ */ q(N, { className: "h-6 w-6" }),
329
- color: "bg-pink-500/10 text-pink-600 dark:text-pink-400"
330
+ color: "bg-accent-purple-subtle text-text-primary"
330
331
  },
331
332
  {
332
333
  label: "Repair & Maintenance",
333
334
  icon: /* @__PURE__ */ q(K, { className: "h-6 w-6" }),
334
- color: "bg-blue-500/10 text-blue-600 dark:text-blue-400"
335
+ color: "bg-[var(--color-accent-soft)] text-text-primary"
335
336
  },
336
337
  {
337
338
  label: "Home Services",
338
339
  icon: /* @__PURE__ */ q(D, { className: "h-6 w-6" }),
339
- color: "bg-emerald-500/10 text-emerald-600 dark:text-emerald-400"
340
+ color: "bg-status-success-bg-subtle text-status-success-text"
340
341
  },
341
342
  {
342
343
  label: "Clothing & Fashion",
343
344
  icon: /* @__PURE__ */ q(I, { className: "h-6 w-6" }),
344
- color: "bg-purple-500/10 text-purple-600 dark:text-purple-400"
345
+ color: "bg-accent-purple-subtle text-text-primary"
345
346
  },
346
347
  {
347
348
  label: "Health & Wellness",
348
349
  icon: /* @__PURE__ */ q(E, { className: "h-6 w-6" }),
349
- color: "bg-red-500/10 text-red-600 dark:text-red-400"
350
+ color: "bg-status-error-bg-subtle text-status-error-text"
350
351
  },
351
352
  {
352
353
  label: "Education & Skills",
353
354
  icon: /* @__PURE__ */ q(w, { className: "h-6 w-6" }),
354
- color: "bg-yellow-500/10 text-yellow-600 dark:text-yellow-400"
355
+ color: "bg-status-warning-bg-subtle text-status-warning-text"
355
356
  },
356
357
  {
357
358
  label: "Retail & Merchandise",
358
359
  icon: /* @__PURE__ */ q(M, { className: "h-6 w-6" }),
359
- color: "bg-indigo-500/10 text-indigo-600 dark:text-indigo-400"
360
+ color: "bg-[var(--color-accent-soft)] text-text-primary"
360
361
  },
361
362
  {
362
363
  label: "Grocery & Essentials",
363
364
  icon: /* @__PURE__ */ q(R, { className: "h-6 w-6" }),
364
- color: "bg-green-500/10 text-green-600 dark:text-green-400"
365
+ color: "bg-status-success-bg-subtle text-status-success-text"
365
366
  }
366
- ], Q = [
367
+ ], ee = [
367
368
  {
368
369
  step: 1,
369
370
  title: "Browse Services",
@@ -388,7 +389,7 @@ var Z = [
388
389
  description: "Share your experience and help others find great services.",
389
390
  icon: /* @__PURE__ */ q(B, { className: "h-6 w-6" })
390
391
  }
391
- ], $ = [
392
+ ], te = [
392
393
  {
393
394
  id: "ha-1",
394
395
  description: "New order placed at Dosa Express",
@@ -419,7 +420,7 @@ var Z = [
419
420
  time: "5 hours ago",
420
421
  type: "order"
421
422
  }
422
- ], ee = [
423
+ ], ne = [
423
424
  {
424
425
  label: "Service Providers",
425
426
  value: "21+",
@@ -441,7 +442,7 @@ var Z = [
441
442
  icon: /* @__PURE__ */ q(y, { className: "h-5 w-5" })
442
443
  }
443
444
  ];
444
- function te() {
445
+ function re() {
445
446
  let { navigateTo: v, currentUser: y } = e(), { t: b } = p(), [x, C] = f(""), { providers: w, orders: T, dashboardStats: E } = o(), D = u((e, t) => {
446
447
  let n = b(e);
447
448
  return n === e ? t : n;
@@ -457,7 +458,7 @@ function te() {
457
458
  worker: D("kadaikodi.home.greeting.worker", "Check your tasks and earnings"),
458
459
  investor: D("kadaikodi.home.greeting.investor", "Track your investments and returns"),
459
460
  admin: D("kadaikodi.home.greeting.admin", "Monitor and manage the platform")
460
- }, I = Y[M] ?? Y.customer, L = X(M, T.data ?? [], E.data), R = d(() => {
461
+ }, I = Z[M] ?? Z.customer, L = Q(M, T.data ?? [], E.data), R = d(() => {
461
462
  let e = (w.data ?? []).filter((e) => e.isOpen);
462
463
  if (x) {
463
464
  let t = x.toLowerCase();
@@ -465,10 +466,10 @@ function te() {
465
466
  }
466
467
  return e.sort((e, t) => t.rating - e.rating).slice(0, 6);
467
468
  }, [w.data, x]), V = d(() => [...T.data ?? []].sort((e, t) => new Date(t.orderDate).getTime() - new Date(e.orderDate).getTime()).slice(0, 3), [T.data]), H = {
468
- order: "text-blue-600 dark:text-blue-400",
469
- review: "text-yellow-600 dark:text-yellow-400",
470
- investment: "text-green-600 dark:text-green-400",
471
- cart: "text-purple-600 dark:text-purple-400"
469
+ order: "text-text-primary",
470
+ review: "text-status-warning-text",
471
+ investment: "text-status-success-text",
472
+ cart: "text-text-primary"
472
473
  }, U = (T.data ?? []).length === 0 && !T.isLoading, W = w.isLoading || T.isLoading || E.isLoading, G = w.isError || T.isError || E.isError;
473
474
  return W ? /* @__PURE__ */ q(n, {
474
475
  title: D("kadaikodi.common.loading", "Loading..."),
@@ -496,6 +497,10 @@ function te() {
496
497
  title: `${D("kadaikodi.home.hello", "Hello")}, ${k}!`,
497
498
  description: F[M],
498
499
  children: [
500
+ /* @__PURE__ */ q(X, {
501
+ className: "mb-6",
502
+ children: D("kadaikodi.home.purpose", "Kadaikodi is your local services marketplace — a single place to find mobile carts and service providers near you, place and track orders, and (for owners, workers and investors) run the business side. This home page is your launch pad: jump to what matters for your role, browse what is open nearby, and pick up where you left off.")
503
+ }),
499
504
  U && /* @__PURE__ */ q("section", {
500
505
  className: "mb-6 rounded-xl border border-border-subtle bg-gradient-to-r from-primary/5 via-primary/10 to-primary/5 p-6",
501
506
  children: /* @__PURE__ */ J("div", {
@@ -562,7 +567,7 @@ function te() {
562
567
  })]
563
568
  })
564
569
  }),
565
- /* @__PURE__ */ J("section", {
570
+ /* @__PURE__ */ J(Y, {
566
571
  className: "mb-8",
567
572
  children: [/* @__PURE__ */ q("h2", {
568
573
  className: "text-lg font-semibold text-text-primary mb-4",
@@ -627,6 +632,7 @@ function te() {
627
632
  ]
628
633
  })]
629
634
  }), R.length === 0 ? /* @__PURE__ */ q(a, {
635
+ illustration: "empty-search",
630
636
  icon: /* @__PURE__ */ q(P, { className: "h-10 w-10" }),
631
637
  title: D("kadaikodi.home.noCartsFound", "No carts found"),
632
638
  description: D("kadaikodi.home.noCartsDescription", "Try adjusting your search or browse all categories"),
@@ -662,7 +668,7 @@ function te() {
662
668
  e.isVerified && /* @__PURE__ */ q("div", {
663
669
  className: "absolute top-2 left-2",
664
670
  children: /* @__PURE__ */ J("span", {
665
- className: "inline-flex items-center gap-1 rounded-full bg-blue-500/90 px-2 py-0.5 text-xs font-medium text-white backdrop-blur-sm",
671
+ className: "inline-flex items-center gap-1 rounded-full bg-[var(--color-accent-soft)] px-2 py-0.5 text-xs font-medium text-white backdrop-blur-sm",
666
672
  children: [
667
673
  /* @__PURE__ */ q(_, { className: "h-3 w-3" }),
668
674
  " ",
@@ -698,7 +704,7 @@ function te() {
698
704
  children: e.category
699
705
  })]
700
706
  }), /* @__PURE__ */ J("div", {
701
- className: "flex items-center gap-1 rounded bg-green-600 px-1.5 py-0.5 ml-2 shrink-0",
707
+ className: "flex items-center gap-1 rounded bg-status-success-text px-1.5 py-0.5 ml-2 shrink-0",
702
708
  children: [/* @__PURE__ */ q(B, { className: "h-3 w-3 fill-white text-white" }), /* @__PURE__ */ q("span", {
703
709
  className: "text-xs font-bold text-white",
704
710
  children: e.rating
@@ -817,7 +823,7 @@ function te() {
817
823
  children: D("kadaikodi.home.howItWorks", "How It Works")
818
824
  }), /* @__PURE__ */ q("div", {
819
825
  className: "grid grid-cols-2 gap-4 lg:grid-cols-4",
820
- children: Q.map((e) => /* @__PURE__ */ J("div", {
826
+ children: ee.map((e) => /* @__PURE__ */ J("div", {
821
827
  className: "relative rounded-lg border border-border-subtle bg-bg-surface p-5 text-center",
822
828
  children: [
823
829
  /* @__PURE__ */ q("div", {
@@ -850,7 +856,7 @@ function te() {
850
856
  children: D("kadaikodi.home.browseByCategory", "Browse by Category")
851
857
  }), /* @__PURE__ */ q("div", {
852
858
  className: "grid grid-cols-3 gap-3 sm:grid-cols-4 lg:grid-cols-5",
853
- children: Z.map((e) => /* @__PURE__ */ J("button", {
859
+ children: $.map((e) => /* @__PURE__ */ J("button", {
854
860
  type: "button",
855
861
  onClick: () => v(`/customer/carts?category=${encodeURIComponent(e.label)}`),
856
862
  className: "flex flex-col items-center gap-2 rounded-lg border border-border-subtle bg-bg-surface p-4 text-center hover:shadow-sm hover:border-accent-foreground/20 transition-all",
@@ -871,7 +877,7 @@ function te() {
871
877
  children: D("kadaikodi.home.platformStats", "Platform Stats")
872
878
  }), /* @__PURE__ */ q("div", {
873
879
  className: "grid grid-cols-2 gap-4 lg:grid-cols-4",
874
- children: ee.map((e) => /* @__PURE__ */ J("div", {
880
+ children: ne.map((e) => /* @__PURE__ */ J("div", {
875
881
  className: "flex items-center gap-3 rounded-lg border border-border-subtle bg-bg-surface p-4",
876
882
  children: [/* @__PURE__ */ q("div", {
877
883
  className: "flex h-10 w-10 items-center justify-center rounded-full bg-action-primary-bg/10 text-primary shrink-0",
@@ -891,7 +897,7 @@ function te() {
891
897
  children: D("kadaikodi.home.recentActivity", "Recent Activity")
892
898
  }), /* @__PURE__ */ q("div", {
893
899
  className: "rounded-lg border border-border-subtle bg-bg-surface divide-y divide-border",
894
- children: $.map((e) => /* @__PURE__ */ J("div", {
900
+ children: te.map((e) => /* @__PURE__ */ J("div", {
895
901
  className: "flex items-center gap-3 px-4 py-3",
896
902
  children: [
897
903
  /* @__PURE__ */ q("div", {
@@ -916,6 +922,6 @@ function te() {
916
922
  });
917
923
  }
918
924
  //#endregion
919
- export { te as HomePage };
925
+ export { re as HomePage };
920
926
 
921
927
  //# sourceMappingURL=HomePage.js.map