@burdenoff/microfe-kadaikodi 2026.608.1 → 2026.625.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 +30 -28
  4. package/dist/kadaikodi/components/InvestmentCard.js.map +1 -1
  5. package/dist/kadaikodi/components/MetricsCard.js +18 -15
  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 +3 -3
  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 +89 -88
  14. package/dist/kadaikodi/pages/HomePage.js.map +1 -1
  15. package/dist/kadaikodi/pages/admin/AdminAnalyticsPage.js +88 -87
  16. package/dist/kadaikodi/pages/admin/AdminAnalyticsPage.js.map +1 -1
  17. package/dist/kadaikodi/pages/admin/AdminDashboard.js +174 -180
  18. package/dist/kadaikodi/pages/admin/AdminDashboard.js.map +1 -1
  19. package/dist/kadaikodi/pages/admin/AdminFinancialPage.js +48 -48
  20. package/dist/kadaikodi/pages/admin/AdminFinancialPage.js.map +1 -1
  21. package/dist/kadaikodi/pages/admin/AdminOrdersPage.js +95 -95
  22. package/dist/kadaikodi/pages/admin/AdminOrdersPage.js.map +1 -1
  23. package/dist/kadaikodi/pages/admin/AdminProfilePage.js +34 -34
  24. package/dist/kadaikodi/pages/admin/AdminProfilePage.js.map +1 -1
  25. package/dist/kadaikodi/pages/admin/AdminSettingsPage.js +40 -40
  26. package/dist/kadaikodi/pages/admin/AdminSettingsPage.js.map +1 -1
  27. package/dist/kadaikodi/pages/admin/CartManagementPage.js +103 -103
  28. package/dist/kadaikodi/pages/admin/CartManagementPage.js.map +1 -1
  29. package/dist/kadaikodi/pages/admin/UserManagementPage.js +98 -98
  30. package/dist/kadaikodi/pages/admin/UserManagementPage.js.map +1 -1
  31. package/dist/kadaikodi/pages/cart-owner/AnalyticsDashboard.js +117 -117
  32. package/dist/kadaikodi/pages/cart-owner/AnalyticsDashboard.js.map +1 -1
  33. package/dist/kadaikodi/pages/cart-owner/BusinessSettingsPage.js +33 -33
  34. package/dist/kadaikodi/pages/cart-owner/BusinessSettingsPage.js.map +1 -1
  35. package/dist/kadaikodi/pages/cart-owner/CartOwnerDashboard.js +109 -109
  36. package/dist/kadaikodi/pages/cart-owner/CartOwnerDashboard.js.map +1 -1
  37. package/dist/kadaikodi/pages/cart-owner/CartOwnerProfilePage.js +115 -115
  38. package/dist/kadaikodi/pages/cart-owner/CartOwnerProfilePage.js.map +1 -1
  39. package/dist/kadaikodi/pages/cart-owner/CartServiceConfigPage.js +84 -84
  40. package/dist/kadaikodi/pages/cart-owner/CartServiceConfigPage.js.map +1 -1
  41. package/dist/kadaikodi/pages/cart-owner/InventoryManagementPage.js +106 -106
  42. package/dist/kadaikodi/pages/cart-owner/InventoryManagementPage.js.map +1 -1
  43. package/dist/kadaikodi/pages/cart-owner/OrderManagementPage.js +88 -88
  44. package/dist/kadaikodi/pages/cart-owner/OrderManagementPage.js.map +1 -1
  45. package/dist/kadaikodi/pages/cart-owner/StaffManagementPage.js +94 -94
  46. package/dist/kadaikodi/pages/cart-owner/StaffManagementPage.js.map +1 -1
  47. package/dist/kadaikodi/pages/common/HelpSupportPage.js +138 -138
  48. package/dist/kadaikodi/pages/common/HelpSupportPage.js.map +1 -1
  49. package/dist/kadaikodi/pages/common/NotificationCenterPage.js +67 -66
  50. package/dist/kadaikodi/pages/common/NotificationCenterPage.js.map +1 -1
  51. package/dist/kadaikodi/pages/common/SettingsPage.js +115 -115
  52. package/dist/kadaikodi/pages/common/SettingsPage.js.map +1 -1
  53. package/dist/kadaikodi/pages/customer/BookingDetailsPage.js +72 -72
  54. package/dist/kadaikodi/pages/customer/BookingDetailsPage.js.map +1 -1
  55. package/dist/kadaikodi/pages/customer/CartDetailPage.js +85 -85
  56. package/dist/kadaikodi/pages/customer/CartDetailPage.js.map +1 -1
  57. package/dist/kadaikodi/pages/customer/CartDiscoveryPage.js +65 -64
  58. package/dist/kadaikodi/pages/customer/CartDiscoveryPage.js.map +1 -1
  59. package/dist/kadaikodi/pages/customer/CheckoutPage.js +80 -80
  60. package/dist/kadaikodi/pages/customer/CheckoutPage.js.map +1 -1
  61. package/dist/kadaikodi/pages/customer/CustomerDashboard.js +88 -88
  62. package/dist/kadaikodi/pages/customer/CustomerDashboard.js.map +1 -1
  63. package/dist/kadaikodi/pages/customer/CustomerProfilePage.js +84 -84
  64. package/dist/kadaikodi/pages/customer/CustomerProfilePage.js.map +1 -1
  65. package/dist/kadaikodi/pages/customer/DirectServiceBookingPage.js +91 -91
  66. package/dist/kadaikodi/pages/customer/DirectServiceBookingPage.js.map +1 -1
  67. package/dist/kadaikodi/pages/customer/FavoritesPage.js +34 -33
  68. package/dist/kadaikodi/pages/customer/FavoritesPage.js.map +1 -1
  69. package/dist/kadaikodi/pages/customer/OrderHistoryPage.js +43 -43
  70. package/dist/kadaikodi/pages/customer/OrderHistoryPage.js.map +1 -1
  71. package/dist/kadaikodi/pages/customer/OrderTrackingPage.js +60 -60
  72. package/dist/kadaikodi/pages/customer/OrderTrackingPage.js.map +1 -1
  73. package/dist/kadaikodi/pages/customer/PaymentMethodsPage.js +58 -57
  74. package/dist/kadaikodi/pages/customer/PaymentMethodsPage.js.map +1 -1
  75. package/dist/kadaikodi/pages/customer/ReviewsPage.js +47 -47
  76. package/dist/kadaikodi/pages/customer/ReviewsPage.js.map +1 -1
  77. package/dist/kadaikodi/pages/customer/SavedAddressesPage.js +46 -45
  78. package/dist/kadaikodi/pages/customer/SavedAddressesPage.js.map +1 -1
  79. package/dist/kadaikodi/pages/investor/InvestmentDetailsPage.js +128 -128
  80. package/dist/kadaikodi/pages/investor/InvestmentDetailsPage.js.map +1 -1
  81. package/dist/kadaikodi/pages/investor/InvestmentOpportunitiesPage.js +87 -87
  82. package/dist/kadaikodi/pages/investor/InvestmentOpportunitiesPage.js.map +1 -1
  83. package/dist/kadaikodi/pages/investor/InvestorAnalyticsPage.js +89 -88
  84. package/dist/kadaikodi/pages/investor/InvestorAnalyticsPage.js.map +1 -1
  85. package/dist/kadaikodi/pages/investor/InvestorDashboard.js +63 -62
  86. package/dist/kadaikodi/pages/investor/InvestorDashboard.js.map +1 -1
  87. package/dist/kadaikodi/pages/investor/InvestorInvestmentsPage.js +38 -38
  88. package/dist/kadaikodi/pages/investor/InvestorInvestmentsPage.js.map +1 -1
  89. package/dist/kadaikodi/pages/investor/InvestorPortfolioPage.js +66 -66
  90. package/dist/kadaikodi/pages/investor/InvestorPortfolioPage.js.map +1 -1
  91. package/dist/kadaikodi/pages/investor/InvestorProfilePage.js +153 -153
  92. package/dist/kadaikodi/pages/investor/InvestorProfilePage.js.map +1 -1
  93. package/dist/kadaikodi/pages/worker/TaskDetailsPage.js +79 -79
  94. package/dist/kadaikodi/pages/worker/TaskDetailsPage.js.map +1 -1
  95. package/dist/kadaikodi/pages/worker/WorkerDashboard.js +106 -106
  96. package/dist/kadaikodi/pages/worker/WorkerDashboard.js.map +1 -1
  97. package/dist/kadaikodi/pages/worker/WorkerOrdersPage.js +72 -72
  98. package/dist/kadaikodi/pages/worker/WorkerOrdersPage.js.map +1 -1
  99. package/dist/kadaikodi/pages/worker/WorkerProfilePage.js +107 -107
  100. package/dist/kadaikodi/pages/worker/WorkerProfilePage.js.map +1 -1
  101. package/dist/kadaikodi/pages/worker/WorkerSchedulePage.js +69 -69
  102. package/dist/kadaikodi/pages/worker/WorkerSchedulePage.js.map +1 -1
  103. package/package.json +2 -2
@@ -118,14 +118,14 @@ function v() {
118
118
  }, 800);
119
119
  return () => clearTimeout(e);
120
120
  }, [C]);
121
- let D = (e) => e >= 1e7 ? `₹${(e / 1e7).toFixed(1)}Cr` : e >= 1e5 ? `₹${(e / 1e5).toFixed(1)}L` : i(e, { minimumFractionDigits: 0 }), O = (e) => e === 0 ? /* @__PURE__ */ g(s, { className: "h-5 w-5 text-yellow-500" }) : e === 1 ? /* @__PURE__ */ g(s, { className: "h-5 w-5 text-gray-400" }) : e === 2 ? /* @__PURE__ */ g(s, { className: "h-5 w-5 text-amber-700" }) : /* @__PURE__ */ g(c, { className: "h-5 w-5 text-muted-foreground" });
121
+ let D = (e) => e >= 1e7 ? `₹${(e / 1e7).toFixed(1)}Cr` : e >= 1e5 ? `₹${(e / 1e5).toFixed(1)}L` : i(e, { minimumFractionDigits: 0 }), O = (e) => e === 0 ? /* @__PURE__ */ g(s, { className: "h-5 w-5 text-status-warning-text" }) : e === 1 ? /* @__PURE__ */ g(s, { className: "h-5 w-5 text-text-secondary" }) : e === 2 ? /* @__PURE__ */ g(s, { className: "h-5 w-5 text-status-warning-text" }) : /* @__PURE__ */ g(c, { className: "h-5 w-5 text-text-secondary" });
122
122
  if (x || !y) return /* @__PURE__ */ g(n, {
123
123
  title: "Platform Analytics",
124
124
  description: "Loading analytics...",
125
125
  children: /* @__PURE__ */ _("div", {
126
126
  className: "flex flex-col items-center justify-center py-20",
127
- children: [/* @__PURE__ */ g(u, { className: "h-10 w-10 animate-spin text-muted-foreground mb-4" }), /* @__PURE__ */ g("p", {
128
- className: "text-muted-foreground",
127
+ children: [/* @__PURE__ */ g(u, { className: "h-10 w-10 animate-spin text-text-secondary mb-4" }), /* @__PURE__ */ g("p", {
128
+ className: "text-text-secondary",
129
129
  children: "Loading analytics..."
130
130
  })]
131
131
  })
@@ -161,7 +161,7 @@ function v() {
161
161
  children: [/* @__PURE__ */ _("select", {
162
162
  value: C,
163
163
  onChange: (e) => w(e.target.value),
164
- className: "rounded-lg border border-border bg-card py-2 px-3 text-sm text-foreground focus:outline-none focus:ring-2 focus:ring-ring w-fit",
164
+ className: "rounded-lg border border-border-subtle bg-bg-surface py-2 px-3 text-sm text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)] w-fit",
165
165
  children: [
166
166
  /* @__PURE__ */ g("option", {
167
167
  value: "today",
@@ -185,7 +185,7 @@ function v() {
185
185
  })
186
186
  ]
187
187
  }), /* @__PURE__ */ _("span", {
188
- className: "text-sm text-muted-foreground",
188
+ className: "text-sm text-text-secondary",
189
189
  children: ["Last updated: ", (/* @__PURE__ */ new Date()).toLocaleString("en-IN")]
190
190
  })]
191
191
  }),
@@ -193,6 +193,7 @@ function v() {
193
193
  className: "grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4 mb-8",
194
194
  children: [
195
195
  /* @__PURE__ */ g(r, {
196
+ featured: !0,
196
197
  icon: /* @__PURE__ */ g(l, { className: "h-5 w-5" }),
197
198
  value: D(y.revenue.total),
198
199
  label: "Total Revenue",
@@ -222,9 +223,9 @@ function v() {
222
223
  ]
223
224
  }),
224
225
  /* @__PURE__ */ _("div", {
225
- className: "rounded-lg border border-border bg-card mb-8",
226
+ className: "rounded-lg border border-border-subtle bg-bg-surface mb-8",
226
227
  children: [/* @__PURE__ */ g("div", {
227
- className: "border-b border-border",
228
+ className: "border-b border-border-subtle",
228
229
  children: /* @__PURE__ */ g("nav", {
229
230
  className: "flex -mb-px overflow-x-auto",
230
231
  children: k.map((e) => {
@@ -232,7 +233,7 @@ function v() {
232
233
  return /* @__PURE__ */ _("button", {
233
234
  type: "button",
234
235
  onClick: () => E(e.key),
235
- className: t("flex items-center gap-2 py-3 px-4 sm:px-6 text-sm font-medium whitespace-nowrap border-b-2 transition-colors", T === e.key ? "border-primary text-primary" : "border-transparent text-muted-foreground hover:text-foreground"),
236
+ className: t("flex items-center gap-2 py-3 px-4 sm:px-6 text-sm font-medium whitespace-nowrap border-b-2 transition-colors", T === e.key ? "border-primary text-primary" : "border-transparent text-text-secondary hover:text-text-primary"),
236
237
  children: [/* @__PURE__ */ g(n, { className: "h-4 w-4" }), /* @__PURE__ */ g("span", {
237
238
  className: "hidden sm:inline",
238
239
  children: e.label
@@ -246,87 +247,87 @@ function v() {
246
247
  T === "overview" && /* @__PURE__ */ _("div", {
247
248
  className: "space-y-8",
248
249
  children: [/* @__PURE__ */ _("div", { children: [/* @__PURE__ */ g("h3", {
249
- className: "text-lg font-semibold text-foreground mb-4",
250
+ className: "text-lg font-semibold text-text-primary mb-4",
250
251
  children: "Order Status Distribution"
251
252
  }), /* @__PURE__ */ _("div", {
252
253
  className: "grid grid-cols-1 sm:grid-cols-3 gap-4",
253
254
  children: [
254
255
  /* @__PURE__ */ _("div", {
255
- className: "rounded-lg border border-green-500/30 bg-green-500/10 p-4",
256
+ className: "rounded-lg border border-status-success-text/30 bg-status-success-bg-subtle p-4",
256
257
  children: [
257
258
  /* @__PURE__ */ g("p", {
258
- className: "text-sm text-green-600 dark:text-green-400",
259
+ className: "text-sm text-status-success-text",
259
260
  children: "Completed Orders"
260
261
  }),
261
262
  /* @__PURE__ */ g("p", {
262
- className: "text-2xl font-bold text-green-700 dark:text-green-300",
263
+ className: "text-2xl font-bold text-status-success-text",
263
264
  children: y.orders.completed.toLocaleString("en-IN")
264
265
  }),
265
266
  /* @__PURE__ */ _("p", {
266
- className: "text-sm text-green-600/80 dark:text-green-400/80",
267
+ className: "text-sm text-status-success-text/80",
267
268
  children: [(y.orders.completed / y.orders.total * 100).toFixed(1), "% of total"]
268
269
  })
269
270
  ]
270
271
  }),
271
272
  /* @__PURE__ */ _("div", {
272
- className: "rounded-lg border border-yellow-500/30 bg-yellow-500/10 p-4",
273
+ className: "rounded-lg border border-status-warning-text/30 bg-status-warning-bg-subtle p-4",
273
274
  children: [
274
275
  /* @__PURE__ */ g("p", {
275
- className: "text-sm text-yellow-600 dark:text-yellow-400",
276
+ className: "text-sm text-status-warning-text",
276
277
  children: "Pending Orders"
277
278
  }),
278
279
  /* @__PURE__ */ g("p", {
279
- className: "text-2xl font-bold text-yellow-700 dark:text-yellow-300",
280
+ className: "text-2xl font-bold text-status-warning-text",
280
281
  children: y.orders.pending.toLocaleString("en-IN")
281
282
  }),
282
283
  /* @__PURE__ */ _("p", {
283
- className: "text-sm text-yellow-600/80 dark:text-yellow-400/80",
284
+ className: "text-sm text-status-warning-text/80",
284
285
  children: [(y.orders.pending / y.orders.total * 100).toFixed(1), "% of total"]
285
286
  })
286
287
  ]
287
288
  }),
288
289
  /* @__PURE__ */ _("div", {
289
- className: "rounded-lg border border-red-500/30 bg-red-500/10 p-4",
290
+ className: "rounded-lg border border-status-error-text/30 bg-status-error-bg-subtle p-4",
290
291
  children: [
291
292
  /* @__PURE__ */ g("p", {
292
- className: "text-sm text-red-600 dark:text-red-400",
293
+ className: "text-sm text-status-error-text",
293
294
  children: "Cancelled Orders"
294
295
  }),
295
296
  /* @__PURE__ */ g("p", {
296
- className: "text-2xl font-bold text-red-700 dark:text-red-300",
297
+ className: "text-2xl font-bold text-status-error-text",
297
298
  children: y.orders.cancelled.toLocaleString("en-IN")
298
299
  }),
299
300
  /* @__PURE__ */ _("p", {
300
- className: "text-sm text-red-600/80 dark:text-red-400/80",
301
+ className: "text-sm text-status-error-text/80",
301
302
  children: [(y.orders.cancelled / y.orders.total * 100).toFixed(1), "% of total"]
302
303
  })
303
304
  ]
304
305
  })
305
306
  ]
306
307
  })] }), /* @__PURE__ */ _("div", { children: [/* @__PURE__ */ g("h3", {
307
- className: "text-lg font-semibold text-foreground mb-4",
308
+ className: "text-lg font-semibold text-text-primary mb-4",
308
309
  children: "Top Performing Carts"
309
310
  }), /* @__PURE__ */ g("div", {
310
- className: "rounded-lg border border-border overflow-hidden",
311
+ className: "rounded-lg border border-border-subtle overflow-hidden",
311
312
  children: /* @__PURE__ */ _("table", {
312
313
  className: "w-full",
313
314
  children: [/* @__PURE__ */ g("thead", { children: /* @__PURE__ */ _("tr", {
314
- className: "border-b border-border bg-muted/50",
315
+ className: "border-b border-border-subtle bg-bg-sunken/50",
315
316
  children: [
316
317
  /* @__PURE__ */ g("th", {
317
- className: "px-4 py-3 text-left text-xs font-medium text-muted-foreground uppercase",
318
+ className: "px-4 py-3 text-left text-xs font-medium text-text-secondary uppercase",
318
319
  children: "Cart Name"
319
320
  }),
320
321
  /* @__PURE__ */ g("th", {
321
- className: "px-4 py-3 text-right text-xs font-medium text-muted-foreground uppercase",
322
+ className: "px-4 py-3 text-right text-xs font-medium text-text-secondary uppercase",
322
323
  children: "Revenue"
323
324
  }),
324
325
  /* @__PURE__ */ g("th", {
325
- className: "px-4 py-3 text-right text-xs font-medium text-muted-foreground uppercase",
326
+ className: "px-4 py-3 text-right text-xs font-medium text-text-secondary uppercase",
326
327
  children: "Orders"
327
328
  }),
328
329
  /* @__PURE__ */ g("th", {
329
- className: "px-4 py-3 text-right text-xs font-medium text-muted-foreground uppercase",
330
+ className: "px-4 py-3 text-right text-xs font-medium text-text-secondary uppercase",
330
331
  children: "Rating"
331
332
  })
332
333
  ]
@@ -340,24 +341,24 @@ function v() {
340
341
  children: /* @__PURE__ */ _("div", {
341
342
  className: "flex items-center gap-2",
342
343
  children: [O(t), /* @__PURE__ */ g("span", {
343
- className: "text-sm font-medium text-foreground",
344
+ className: "text-sm font-medium text-text-primary",
344
345
  children: e.name
345
346
  })]
346
347
  })
347
348
  }),
348
349
  /* @__PURE__ */ g("td", {
349
- className: "px-4 py-3 text-sm text-right font-medium text-foreground",
350
+ className: "px-4 py-3 text-sm text-right font-medium text-text-primary",
350
351
  children: D(e.revenue)
351
352
  }),
352
353
  /* @__PURE__ */ g("td", {
353
- className: "px-4 py-3 text-sm text-right text-foreground",
354
+ className: "px-4 py-3 text-sm text-right text-text-primary",
354
355
  children: e.orders.toLocaleString("en-IN")
355
356
  }),
356
357
  /* @__PURE__ */ g("td", {
357
- className: "px-4 py-3 text-sm text-right text-foreground",
358
+ className: "px-4 py-3 text-sm text-right text-text-primary",
358
359
  children: /* @__PURE__ */ _("span", {
359
360
  className: "flex items-center justify-end gap-1",
360
- children: [/* @__PURE__ */ g(f, { className: "h-3.5 w-3.5 fill-yellow-400 text-yellow-400" }), e.rating]
361
+ children: [/* @__PURE__ */ g(f, { className: "h-3.5 w-3.5 fill-status-warning-text text-status-warning-text" }), e.rating]
361
362
  })
362
363
  })
363
364
  ]
@@ -372,59 +373,59 @@ function v() {
372
373
  className: "grid grid-cols-1 md:grid-cols-3 gap-4",
373
374
  children: [
374
375
  /* @__PURE__ */ _("div", {
375
- className: "rounded-lg border border-blue-500/30 bg-blue-500/10 p-6",
376
+ className: "rounded-lg border border-border-focus/30 bg-[var(--color-accent-soft)] p-6",
376
377
  children: [/* @__PURE__ */ g("h4", {
377
- className: "text-sm font-medium text-blue-600 dark:text-blue-400 mb-2",
378
+ className: "text-sm font-medium text-text-primary mb-2",
378
379
  children: "This Month"
379
380
  }), /* @__PURE__ */ g("p", {
380
- className: "text-2xl font-bold text-blue-700 dark:text-blue-300",
381
+ className: "text-2xl font-bold text-text-primary",
381
382
  children: D(y.revenue.thisMonth)
382
383
  })]
383
384
  }),
384
385
  /* @__PURE__ */ _("div", {
385
- className: "rounded-lg border border-border bg-muted/30 p-6",
386
+ className: "rounded-lg border border-border-subtle bg-bg-sunken/30 p-6",
386
387
  children: [/* @__PURE__ */ g("h4", {
387
- className: "text-sm font-medium text-muted-foreground mb-2",
388
+ className: "text-sm font-medium text-text-secondary mb-2",
388
389
  children: "Last Month"
389
390
  }), /* @__PURE__ */ g("p", {
390
- className: "text-2xl font-bold text-foreground",
391
+ className: "text-2xl font-bold text-text-primary",
391
392
  children: D(y.revenue.lastMonth)
392
393
  })]
393
394
  }),
394
395
  /* @__PURE__ */ _("div", {
395
- className: "rounded-lg border border-green-500/30 bg-green-500/10 p-6",
396
+ className: "rounded-lg border border-status-success-text/30 bg-status-success-bg-subtle p-6",
396
397
  children: [/* @__PURE__ */ g("h4", {
397
- className: "text-sm font-medium text-green-600 dark:text-green-400 mb-2",
398
+ className: "text-sm font-medium text-status-success-text mb-2",
398
399
  children: "Average Order Value"
399
400
  }), /* @__PURE__ */ _("p", {
400
- className: "text-2xl font-bold text-green-700 dark:text-green-300",
401
+ className: "text-2xl font-bold text-status-success-text",
401
402
  children: ["₹", y.orders.averageOrderValue]
402
403
  })]
403
404
  })
404
405
  ]
405
406
  }), /* @__PURE__ */ _("div", { children: [/* @__PURE__ */ g("h3", {
406
- className: "text-lg font-semibold text-foreground mb-4",
407
+ className: "text-lg font-semibold text-text-primary mb-4",
407
408
  children: "Revenue by City"
408
409
  }), /* @__PURE__ */ g("div", {
409
410
  className: "space-y-3",
410
411
  children: y.geography.topCities.map((e, t) => /* @__PURE__ */ _("div", {
411
- className: "flex items-center justify-between p-4 rounded-lg border border-border bg-muted/30",
412
+ className: "flex items-center justify-between p-4 rounded-lg border border-border-subtle bg-bg-sunken/30",
412
413
  children: [/* @__PURE__ */ _("div", {
413
414
  className: "flex items-center gap-3",
414
415
  children: [O(t), /* @__PURE__ */ _("div", { children: [/* @__PURE__ */ g("p", {
415
- className: "font-medium text-foreground",
416
+ className: "font-medium text-text-primary",
416
417
  children: e.city
417
418
  }), /* @__PURE__ */ _("p", {
418
- className: "text-sm text-muted-foreground",
419
+ className: "text-sm text-text-secondary",
419
420
  children: [e.orders.toLocaleString("en-IN"), " orders"]
420
421
  })] })]
421
422
  }), /* @__PURE__ */ _("div", {
422
423
  className: "text-right",
423
424
  children: [/* @__PURE__ */ g("p", {
424
- className: "font-bold text-foreground",
425
+ className: "font-bold text-text-primary",
425
426
  children: D(e.revenue)
426
427
  }), /* @__PURE__ */ _("p", {
427
- className: "text-sm text-muted-foreground",
428
+ className: "text-sm text-text-secondary",
428
429
  children: [(e.revenue / y.revenue.total * 100).toFixed(1), "%"]
429
430
  })]
430
431
  })]
@@ -474,23 +475,23 @@ function v() {
474
475
  ]
475
476
  }, e.label))
476
477
  }), /* @__PURE__ */ _("div", {
477
- className: "rounded-lg border border-border bg-muted/20 p-6",
478
+ className: "rounded-lg border border-border-subtle bg-bg-sunken/20 p-6",
478
479
  children: [/* @__PURE__ */ g("h3", {
479
- className: "text-lg font-semibold text-foreground mb-4",
480
+ className: "text-lg font-semibold text-text-primary mb-4",
480
481
  children: "User Growth Insights"
481
482
  }), /* @__PURE__ */ _("div", {
482
483
  className: "grid grid-cols-1 md:grid-cols-2 gap-6",
483
484
  children: [/* @__PURE__ */ _("div", { children: [/* @__PURE__ */ g("p", {
484
- className: "text-sm text-muted-foreground mb-2",
485
+ className: "text-sm text-text-secondary mb-2",
485
486
  children: "New Users This Month"
486
487
  }), /* @__PURE__ */ g("p", {
487
- className: "text-3xl font-bold text-blue-600 dark:text-blue-400",
488
+ className: "text-3xl font-bold text-text-primary",
488
489
  children: y.users.newThisMonth
489
490
  })] }), /* @__PURE__ */ _("div", { children: [/* @__PURE__ */ g("p", {
490
- className: "text-sm text-muted-foreground mb-2",
491
+ className: "text-sm text-text-secondary mb-2",
491
492
  children: "Active Users Rate"
492
493
  }), /* @__PURE__ */ _("p", {
493
- className: "text-3xl font-bold text-green-600 dark:text-green-400",
494
+ className: "text-3xl font-bold text-status-success-text",
494
495
  children: [(y.users.active / y.users.total * 100).toFixed(1), "%"]
495
496
  })] })]
496
497
  })]
@@ -503,61 +504,61 @@ function v() {
503
504
  className: "grid grid-cols-1 md:grid-cols-3 gap-6",
504
505
  children: [
505
506
  /* @__PURE__ */ _("div", {
506
- className: "rounded-lg border border-border bg-card p-6",
507
+ className: "rounded-lg border border-border-subtle bg-bg-surface p-6",
507
508
  children: [
508
509
  /* @__PURE__ */ _("div", {
509
510
  className: "flex items-center gap-2 mb-2",
510
- children: [/* @__PURE__ */ g(p, { className: "h-4 w-4 text-muted-foreground" }), /* @__PURE__ */ g("h4", {
511
- className: "text-sm font-medium text-muted-foreground",
511
+ children: [/* @__PURE__ */ g(p, { className: "h-4 w-4 text-text-secondary" }), /* @__PURE__ */ g("h4", {
512
+ className: "text-sm font-medium text-text-secondary",
512
513
  children: "Avg Delivery Time"
513
514
  })]
514
515
  }),
515
516
  /* @__PURE__ */ _("p", {
516
- className: "text-3xl font-bold text-foreground",
517
+ className: "text-3xl font-bold text-text-primary",
517
518
  children: [y.performance.averageDeliveryTime, " min"]
518
519
  }),
519
520
  /* @__PURE__ */ g("p", {
520
- className: "text-sm text-muted-foreground mt-1",
521
+ className: "text-sm text-text-secondary mt-1",
521
522
  children: "Target: < 30 min"
522
523
  })
523
524
  ]
524
525
  }),
525
526
  /* @__PURE__ */ _("div", {
526
- className: "rounded-lg border border-border bg-card p-6",
527
+ className: "rounded-lg border border-border-subtle bg-bg-surface p-6",
527
528
  children: [
528
529
  /* @__PURE__ */ _("div", {
529
530
  className: "flex items-center gap-2 mb-2",
530
- children: [/* @__PURE__ */ g(f, { className: "h-4 w-4 text-muted-foreground" }), /* @__PURE__ */ g("h4", {
531
- className: "text-sm font-medium text-muted-foreground",
531
+ children: [/* @__PURE__ */ g(f, { className: "h-4 w-4 text-text-secondary" }), /* @__PURE__ */ g("h4", {
532
+ className: "text-sm font-medium text-text-secondary",
532
533
  children: "Customer Satisfaction"
533
534
  })]
534
535
  }),
535
536
  /* @__PURE__ */ _("p", {
536
- className: "text-3xl font-bold text-foreground flex items-center gap-1",
537
- children: [/* @__PURE__ */ g(f, { className: "h-6 w-6 fill-yellow-400 text-yellow-400" }), y.performance.customerSatisfaction]
537
+ className: "text-3xl font-bold text-text-primary flex items-center gap-1",
538
+ children: [/* @__PURE__ */ g(f, { className: "h-6 w-6 fill-status-warning-text text-status-warning-text" }), y.performance.customerSatisfaction]
538
539
  }),
539
540
  /* @__PURE__ */ g("p", {
540
- className: "text-sm text-muted-foreground mt-1",
541
+ className: "text-sm text-text-secondary mt-1",
541
542
  children: "Based on ratings"
542
543
  })
543
544
  ]
544
545
  }),
545
546
  /* @__PURE__ */ _("div", {
546
- className: "rounded-lg border border-border bg-card p-6",
547
+ className: "rounded-lg border border-border-subtle bg-bg-surface p-6",
547
548
  children: [
548
549
  /* @__PURE__ */ _("div", {
549
550
  className: "flex items-center gap-2 mb-2",
550
- children: [/* @__PURE__ */ g(l, { className: "h-4 w-4 text-muted-foreground" }), /* @__PURE__ */ g("h4", {
551
- className: "text-sm font-medium text-muted-foreground",
551
+ children: [/* @__PURE__ */ g(l, { className: "h-4 w-4 text-text-secondary" }), /* @__PURE__ */ g("h4", {
552
+ className: "text-sm font-medium text-text-secondary",
552
553
  children: "Platform Fee"
553
554
  })]
554
555
  }),
555
556
  /* @__PURE__ */ _("p", {
556
- className: "text-3xl font-bold text-foreground",
557
+ className: "text-3xl font-bold text-text-primary",
557
558
  children: [y.performance.platformFee, "%"]
558
559
  }),
559
560
  /* @__PURE__ */ g("p", {
560
- className: "text-sm text-muted-foreground mt-1",
561
+ className: "text-sm text-text-secondary mt-1",
561
562
  children: "Per transaction"
562
563
  })
563
564
  ]
@@ -565,68 +566,68 @@ function v() {
565
566
  ]
566
567
  }),
567
568
  /* @__PURE__ */ _("div", {
568
- className: "rounded-lg border border-border bg-muted/20 p-6",
569
+ className: "rounded-lg border border-border-subtle bg-bg-sunken/20 p-6",
569
570
  children: [
570
571
  /* @__PURE__ */ g("h3", {
571
- className: "text-lg font-semibold text-foreground mb-4",
572
+ className: "text-lg font-semibold text-text-primary mb-4",
572
573
  children: "Financial Performance"
573
574
  }),
574
575
  /* @__PURE__ */ _("div", {
575
576
  className: "grid grid-cols-1 md:grid-cols-3 gap-6",
576
577
  children: [
577
578
  /* @__PURE__ */ _("div", { children: [/* @__PURE__ */ g("p", {
578
- className: "text-sm text-muted-foreground mb-2",
579
+ className: "text-sm text-text-secondary mb-2",
579
580
  children: "Operating Costs"
580
581
  }), /* @__PURE__ */ g("p", {
581
- className: "text-2xl font-bold text-red-600 dark:text-red-400",
582
+ className: "text-2xl font-bold text-status-error-text",
582
583
  children: D(y.performance.operatingCosts)
583
584
  })] }),
584
585
  /* @__PURE__ */ _("div", { children: [/* @__PURE__ */ g("p", {
585
- className: "text-sm text-muted-foreground mb-2",
586
+ className: "text-sm text-text-secondary mb-2",
586
587
  children: "Total Revenue"
587
588
  }), /* @__PURE__ */ g("p", {
588
- className: "text-2xl font-bold text-blue-600 dark:text-blue-400",
589
+ className: "text-2xl font-bold text-text-primary",
589
590
  children: D(y.revenue.total)
590
591
  })] }),
591
592
  /* @__PURE__ */ _("div", { children: [/* @__PURE__ */ g("p", {
592
- className: "text-sm text-muted-foreground mb-2",
593
+ className: "text-sm text-text-secondary mb-2",
593
594
  children: "Net Profit"
594
595
  }), /* @__PURE__ */ g("p", {
595
- className: "text-2xl font-bold text-green-600 dark:text-green-400",
596
+ className: "text-2xl font-bold text-status-success-text",
596
597
  children: D(y.performance.netProfit)
597
598
  })] })
598
599
  ]
599
600
  }),
600
601
  /* @__PURE__ */ _("div", {
601
- className: "mt-4 rounded-lg border border-border bg-card p-4",
602
+ className: "mt-4 rounded-lg border border-border-subtle bg-bg-surface p-4",
602
603
  children: [/* @__PURE__ */ g("p", {
603
- className: "text-sm text-muted-foreground",
604
+ className: "text-sm text-text-secondary",
604
605
  children: "Profit Margin"
605
606
  }), /* @__PURE__ */ _("p", {
606
- className: "text-xl font-bold text-foreground",
607
+ className: "text-xl font-bold text-text-primary",
607
608
  children: [(y.performance.netProfit / y.revenue.total * 100).toFixed(1), "%"]
608
609
  })]
609
610
  })
610
611
  ]
611
612
  }),
612
613
  /* @__PURE__ */ _("div", {
613
- className: "rounded-lg border border-border bg-card p-6",
614
+ className: "rounded-lg border border-border-subtle bg-bg-surface p-6",
614
615
  children: [/* @__PURE__ */ g("h3", {
615
- className: "text-lg font-semibold text-foreground mb-4",
616
+ className: "text-lg font-semibold text-text-primary mb-4",
616
617
  children: "Today's Performance"
617
618
  }), /* @__PURE__ */ _("div", {
618
619
  className: "grid grid-cols-1 md:grid-cols-2 gap-6",
619
620
  children: [/* @__PURE__ */ _("div", { children: [/* @__PURE__ */ g("p", {
620
- className: "text-sm text-muted-foreground mb-2",
621
+ className: "text-sm text-text-secondary mb-2",
621
622
  children: "Orders Today"
622
623
  }), /* @__PURE__ */ g("p", {
623
- className: "text-3xl font-bold text-blue-600 dark:text-blue-400",
624
+ className: "text-3xl font-bold text-text-primary",
624
625
  children: y.orders.ordersToday
625
626
  })] }), /* @__PURE__ */ _("div", { children: [/* @__PURE__ */ g("p", {
626
- className: "text-sm text-muted-foreground mb-2",
627
+ className: "text-sm text-text-secondary mb-2",
627
628
  children: "Estimated Revenue"
628
629
  }), /* @__PURE__ */ g("p", {
629
- className: "text-3xl font-bold text-green-600 dark:text-green-400",
630
+ className: "text-3xl font-bold text-status-success-text",
630
631
  children: D(y.orders.ordersToday * y.orders.averageOrderValue)
631
632
  })] })]
632
633
  })]