@burdenoff/microfe-coolandlovely 2026.624.1 → 2026.625.2

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/coolandlovely/components/EmptyState.js +17 -21
  2. package/dist/coolandlovely/components/EmptyState.js.map +1 -1
  3. package/dist/coolandlovely/components/InvestmentCard.js +25 -23
  4. package/dist/coolandlovely/components/InvestmentCard.js.map +1 -1
  5. package/dist/coolandlovely/components/MetricsCard.js +18 -12
  6. package/dist/coolandlovely/components/MetricsCard.js.map +1 -1
  7. package/dist/coolandlovely/components/PageLayout.js +38 -19
  8. package/dist/coolandlovely/components/PageLayout.js.map +1 -1
  9. package/dist/coolandlovely/components/RatingDisplay.js +3 -3
  10. package/dist/coolandlovely/components/RatingDisplay.js.map +1 -1
  11. package/dist/coolandlovely/components/StatusBadge.js +36 -16
  12. package/dist/coolandlovely/components/StatusBadge.js.map +1 -1
  13. package/dist/coolandlovely/pages/HomePage.js +219 -204
  14. package/dist/coolandlovely/pages/HomePage.js.map +1 -1
  15. package/dist/coolandlovely/pages/admin/AdminAnalyticsPage.js +98 -92
  16. package/dist/coolandlovely/pages/admin/AdminAnalyticsPage.js.map +1 -1
  17. package/dist/coolandlovely/pages/admin/AdminDashboard.js +111 -77
  18. package/dist/coolandlovely/pages/admin/AdminDashboard.js.map +1 -1
  19. package/dist/coolandlovely/pages/admin/AdminFinancialPage.js +49 -43
  20. package/dist/coolandlovely/pages/admin/AdminFinancialPage.js.map +1 -1
  21. package/dist/coolandlovely/pages/admin/AdminOrdersPage.js +234 -229
  22. package/dist/coolandlovely/pages/admin/AdminOrdersPage.js.map +1 -1
  23. package/dist/coolandlovely/pages/admin/AdminProfilePage.js +67 -62
  24. package/dist/coolandlovely/pages/admin/AdminProfilePage.js.map +1 -1
  25. package/dist/coolandlovely/pages/admin/AdminSettingsPage.js +235 -230
  26. package/dist/coolandlovely/pages/admin/AdminSettingsPage.js.map +1 -1
  27. package/dist/coolandlovely/pages/admin/CartManagementPage.js +291 -286
  28. package/dist/coolandlovely/pages/admin/CartManagementPage.js.map +1 -1
  29. package/dist/coolandlovely/pages/admin/UserManagementPage.js +287 -282
  30. package/dist/coolandlovely/pages/admin/UserManagementPage.js.map +1 -1
  31. package/dist/coolandlovely/pages/cart-owner/AnalyticsDashboard.js +108 -100
  32. package/dist/coolandlovely/pages/cart-owner/AnalyticsDashboard.js.map +1 -1
  33. package/dist/coolandlovely/pages/cart-owner/BusinessSettingsPage.js +260 -255
  34. package/dist/coolandlovely/pages/cart-owner/BusinessSettingsPage.js.map +1 -1
  35. package/dist/coolandlovely/pages/cart-owner/CartOwnerDashboard.js +596 -554
  36. package/dist/coolandlovely/pages/cart-owner/CartOwnerDashboard.js.map +1 -1
  37. package/dist/coolandlovely/pages/cart-owner/CartOwnerProfilePage.js +187 -182
  38. package/dist/coolandlovely/pages/cart-owner/CartOwnerProfilePage.js.map +1 -1
  39. package/dist/coolandlovely/pages/cart-owner/CartServiceConfigPage.js +229 -221
  40. package/dist/coolandlovely/pages/cart-owner/CartServiceConfigPage.js.map +1 -1
  41. package/dist/coolandlovely/pages/cart-owner/InventoryManagementPage.js +675 -674
  42. package/dist/coolandlovely/pages/cart-owner/InventoryManagementPage.js.map +1 -1
  43. package/dist/coolandlovely/pages/cart-owner/OrderManagementPage.js +525 -524
  44. package/dist/coolandlovely/pages/cart-owner/OrderManagementPage.js.map +1 -1
  45. package/dist/coolandlovely/pages/cart-owner/StaffManagementPage.js +264 -266
  46. package/dist/coolandlovely/pages/cart-owner/StaffManagementPage.js.map +1 -1
  47. package/dist/coolandlovely/pages/common/HelpSupportPage.js +137 -137
  48. package/dist/coolandlovely/pages/common/HelpSupportPage.js.map +1 -1
  49. package/dist/coolandlovely/pages/common/NotificationCenterPage.js +81 -75
  50. package/dist/coolandlovely/pages/common/NotificationCenterPage.js.map +1 -1
  51. package/dist/coolandlovely/pages/common/SettingsPage.js +745 -736
  52. package/dist/coolandlovely/pages/common/SettingsPage.js.map +1 -1
  53. package/dist/coolandlovely/pages/customer/BookingDetailsPage.js +394 -357
  54. package/dist/coolandlovely/pages/customer/BookingDetailsPage.js.map +1 -1
  55. package/dist/coolandlovely/pages/customer/CartDetailPage.js +189 -186
  56. package/dist/coolandlovely/pages/customer/CartDetailPage.js.map +1 -1
  57. package/dist/coolandlovely/pages/customer/CartDiscoveryPage.js +222 -211
  58. package/dist/coolandlovely/pages/customer/CartDiscoveryPage.js.map +1 -1
  59. package/dist/coolandlovely/pages/customer/CheckoutPage.js +219 -222
  60. package/dist/coolandlovely/pages/customer/CheckoutPage.js.map +1 -1
  61. package/dist/coolandlovely/pages/customer/CustomerDashboard.js +446 -404
  62. package/dist/coolandlovely/pages/customer/CustomerDashboard.js.map +1 -1
  63. package/dist/coolandlovely/pages/customer/CustomerProfilePage.js +525 -488
  64. package/dist/coolandlovely/pages/customer/CustomerProfilePage.js.map +1 -1
  65. package/dist/coolandlovely/pages/customer/DirectServiceBookingPage.js +522 -513
  66. package/dist/coolandlovely/pages/customer/DirectServiceBookingPage.js.map +1 -1
  67. package/dist/coolandlovely/pages/customer/FavoritesPage.js +94 -84
  68. package/dist/coolandlovely/pages/customer/FavoritesPage.js.map +1 -1
  69. package/dist/coolandlovely/pages/customer/OrderHistoryPage.js +121 -112
  70. package/dist/coolandlovely/pages/customer/OrderHistoryPage.js.map +1 -1
  71. package/dist/coolandlovely/pages/customer/OrderTrackingPage.js +312 -275
  72. package/dist/coolandlovely/pages/customer/OrderTrackingPage.js.map +1 -1
  73. package/dist/coolandlovely/pages/customer/PaymentMethodsPage.js +90 -84
  74. package/dist/coolandlovely/pages/customer/PaymentMethodsPage.js.map +1 -1
  75. package/dist/coolandlovely/pages/customer/ReviewsPage.js +99 -89
  76. package/dist/coolandlovely/pages/customer/ReviewsPage.js.map +1 -1
  77. package/dist/coolandlovely/pages/customer/SavedAddressesPage.js +74 -68
  78. package/dist/coolandlovely/pages/customer/SavedAddressesPage.js.map +1 -1
  79. package/dist/coolandlovely/pages/investor/InvestmentDetailsPage.js +317 -279
  80. package/dist/coolandlovely/pages/investor/InvestmentDetailsPage.js.map +1 -1
  81. package/dist/coolandlovely/pages/investor/InvestmentOpportunitiesPage.js +249 -243
  82. package/dist/coolandlovely/pages/investor/InvestmentOpportunitiesPage.js.map +1 -1
  83. package/dist/coolandlovely/pages/investor/InvestorAnalyticsPage.js +87 -81
  84. package/dist/coolandlovely/pages/investor/InvestorAnalyticsPage.js.map +1 -1
  85. package/dist/coolandlovely/pages/investor/InvestorDashboard.js +359 -323
  86. package/dist/coolandlovely/pages/investor/InvestorDashboard.js.map +1 -1
  87. package/dist/coolandlovely/pages/investor/InvestorInvestmentsPage.js +115 -109
  88. package/dist/coolandlovely/pages/investor/InvestorInvestmentsPage.js.map +1 -1
  89. package/dist/coolandlovely/pages/investor/InvestorPortfolioPage.js +179 -146
  90. package/dist/coolandlovely/pages/investor/InvestorPortfolioPage.js.map +1 -1
  91. package/dist/coolandlovely/pages/investor/InvestorProfilePage.js +397 -392
  92. package/dist/coolandlovely/pages/investor/InvestorProfilePage.js.map +1 -1
  93. package/dist/coolandlovely/pages/worker/TaskDetailsPage.js +364 -327
  94. package/dist/coolandlovely/pages/worker/TaskDetailsPage.js.map +1 -1
  95. package/dist/coolandlovely/pages/worker/WorkerDashboard.js +580 -543
  96. package/dist/coolandlovely/pages/worker/WorkerDashboard.js.map +1 -1
  97. package/dist/coolandlovely/pages/worker/WorkerOrdersPage.js +114 -109
  98. package/dist/coolandlovely/pages/worker/WorkerOrdersPage.js.map +1 -1
  99. package/dist/coolandlovely/pages/worker/WorkerProfilePage.js +115 -110
  100. package/dist/coolandlovely/pages/worker/WorkerProfilePage.js.map +1 -1
  101. package/dist/coolandlovely/pages/worker/WorkerSchedulePage.js +100 -95
  102. package/dist/coolandlovely/pages/worker/WorkerSchedulePage.js.map +1 -1
  103. package/package.json +3 -3
@@ -6,8 +6,9 @@ import { mockAdminAnalytics as i } from "../../mocks/data.js";
6
6
  import { useState as a } from "react";
7
7
  import { ArrowDownRight as o, ArrowUpRight as s, BarChart3 as c, CalendarDays as l, Clock as u, Download as d, IndianRupee as f, Percent as p, ShoppingCart as m, Star as h, Target as g, ThumbsUp as _, TrendingUp as v, Users as y } from "lucide-react";
8
8
  import { Fragment as b, jsx as x, jsxs as S } from "react/jsx-runtime";
9
+ import { EmphasisPanel as C, PagePurpose as w } from "@burdenoff/fe-libs/ui";
9
10
  //#region src/coolandlovely/pages/cart-owner/AnalyticsDashboard.tsx
10
- var C = {
11
+ var T = {
11
12
  revenue: {
12
13
  today: 12450,
13
14
  week: 87150,
@@ -249,16 +250,16 @@ var C = {
249
250
  }
250
251
  ]
251
252
  }
252
- }, w = () => {
253
- let { navigateTo: w } = e(), [T, E] = a("week"), D = Math.max(...C.orders.popularTimes.map((e) => e.orders)), O = Math.max(...C.offerings.categories.map((e) => e.revenue)), k = Math.max(...C.performance.peakHours.map((e) => e.orders)), A = Math.max(...C.performance.peakDays.map((e) => e.orders)), j = (e) => `${e > 0 ? "+" : ""}${e}%`;
254
- return /* @__PURE__ */ x(n, {
253
+ }, E = () => {
254
+ let { navigateTo: E } = e(), [D, O] = a("week"), k = Math.max(...T.orders.popularTimes.map((e) => e.orders)), A = Math.max(...T.offerings.categories.map((e) => e.revenue)), j = Math.max(...T.performance.peakHours.map((e) => e.orders)), M = Math.max(...T.performance.peakDays.map((e) => e.orders)), N = (e) => `${e > 0 ? "+" : ""}${e}%`;
255
+ return /* @__PURE__ */ S(n, {
255
256
  title: "Analytics Dashboard",
256
257
  description: "Business performance insights and data",
257
258
  actions: /* @__PURE__ */ S("div", {
258
259
  className: "flex items-center gap-2",
259
260
  children: [/* @__PURE__ */ S("select", {
260
- value: T,
261
- onChange: (e) => E(e.target.value),
261
+ value: D,
262
+ onChange: (e) => O(e.target.value),
262
263
  className: "rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary",
263
264
  children: [
264
265
  /* @__PURE__ */ x("option", {
@@ -285,59 +286,66 @@ var C = {
285
286
  children: [/* @__PURE__ */ x(d, { className: "h-4 w-4" }), "Export"]
286
287
  })]
287
288
  }),
288
- children: /* @__PURE__ */ S("div", {
289
+ children: [/* @__PURE__ */ x(w, {
290
+ className: "mb-6",
291
+ icon: /* @__PURE__ */ x(c, { className: "h-4 w-4" }),
292
+ children: "See how your business is actually doing. Track revenue across day, week, month and year, understand your order patterns and busiest times, and export the numbers — turning raw sales into decisions about staffing, stock and hours."
293
+ }), /* @__PURE__ */ S("div", {
289
294
  className: "space-y-6",
290
295
  children: [
291
- /* @__PURE__ */ S("section", { children: [/* @__PURE__ */ x("h2", {
292
- className: "text-base font-semibold text-text-primary mb-3",
293
- children: "Revenue Overview"
294
- }), /* @__PURE__ */ x("div", {
295
- className: "grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4",
296
- children: [
297
- {
298
- label: "Today's Revenue",
299
- value: C.revenue.today,
300
- growth: C.revenue.growth.daily
301
- },
302
- {
303
- label: "This Week",
304
- value: C.revenue.week,
305
- growth: C.revenue.growth.weekly
306
- },
307
- {
308
- label: "This Month",
309
- value: C.revenue.month,
310
- growth: C.revenue.growth.monthly
311
- },
312
- {
313
- label: "This Year",
314
- value: C.revenue.year,
315
- growth: null
316
- }
317
- ].map((e) => /* @__PURE__ */ S("div", {
318
- className: "rounded-lg border border-border-subtle bg-bg-surface p-5 shadow-sm",
296
+ /* @__PURE__ */ S(C, {
297
+ className: "p-5",
298
+ children: [/* @__PURE__ */ x("h2", {
299
+ className: "text-base font-semibold text-text-primary mb-3",
300
+ children: "Revenue Overview"
301
+ }), /* @__PURE__ */ x("div", {
302
+ className: "grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4",
319
303
  children: [
320
- /* @__PURE__ */ S("div", {
321
- className: "flex items-center justify-between",
322
- children: [/* @__PURE__ */ x("div", {
323
- className: "rounded-md bg-accent p-2",
324
- children: /* @__PURE__ */ x(f, { className: "h-5 w-5 text-text-secondary" })
325
- }), e.growth !== null && /* @__PURE__ */ S("div", {
326
- className: t("flex items-center gap-1 text-xs font-medium", e.growth >= 0 ? "text-green-600 dark:text-green-400" : "text-red-600 dark:text-red-400"),
327
- children: [e.growth >= 0 ? /* @__PURE__ */ x(s, { className: "h-3.5 w-3.5" }) : /* @__PURE__ */ x(o, { className: "h-3.5 w-3.5" }), j(e.growth)]
328
- })]
329
- }),
330
- /* @__PURE__ */ x("p", {
331
- className: "mt-3 text-2xl font-bold text-text-primary",
332
- children: r(e.value, { minimumFractionDigits: 0 })
333
- }),
334
- /* @__PURE__ */ x("p", {
335
- className: "mt-1 text-sm text-text-secondary",
336
- children: e.label
337
- })
338
- ]
339
- }, e.label))
340
- })] }),
304
+ {
305
+ label: "Today's Revenue",
306
+ value: T.revenue.today,
307
+ growth: T.revenue.growth.daily
308
+ },
309
+ {
310
+ label: "This Week",
311
+ value: T.revenue.week,
312
+ growth: T.revenue.growth.weekly
313
+ },
314
+ {
315
+ label: "This Month",
316
+ value: T.revenue.month,
317
+ growth: T.revenue.growth.monthly
318
+ },
319
+ {
320
+ label: "This Year",
321
+ value: T.revenue.year,
322
+ growth: null
323
+ }
324
+ ].map((e) => /* @__PURE__ */ S("div", {
325
+ className: "rounded-lg border border-border-seam bg-bg-surface p-5 bg-gloss-card shadow-pop",
326
+ children: [
327
+ /* @__PURE__ */ S("div", {
328
+ className: "flex items-center justify-between",
329
+ children: [/* @__PURE__ */ x("div", {
330
+ className: "rounded-md bg-accent p-2",
331
+ children: /* @__PURE__ */ x(f, { className: "h-5 w-5 text-text-secondary" })
332
+ }), e.growth !== null && /* @__PURE__ */ S("div", {
333
+ className: t("flex items-center gap-1 text-xs font-medium", e.growth >= 0 ? "text-status-success-text" : "text-status-error-text"),
334
+ children: [e.growth >= 0 ? /* @__PURE__ */ x(s, { className: "h-3.5 w-3.5" }) : /* @__PURE__ */ x(o, { className: "h-3.5 w-3.5" }), N(e.growth)]
335
+ })]
336
+ }),
337
+ /* @__PURE__ */ x("p", {
338
+ className: "mt-3 text-2xl font-bold text-text-primary",
339
+ children: r(e.value, { minimumFractionDigits: 0 })
340
+ }),
341
+ /* @__PURE__ */ x("p", {
342
+ className: "mt-1 text-sm text-text-secondary",
343
+ children: e.label
344
+ })
345
+ ]
346
+ }, e.label))
347
+ })]
348
+ }),
341
349
  /* @__PURE__ */ S("div", {
342
350
  className: "grid grid-cols-1 lg:grid-cols-2 gap-6",
343
351
  children: [/* @__PURE__ */ S("div", {
@@ -358,28 +366,28 @@ var C = {
358
366
  children: "Total Orders"
359
367
  }), /* @__PURE__ */ x("p", {
360
368
  className: "text-2xl font-bold text-text-primary",
361
- children: C.orders.total
369
+ children: T.orders.total
362
370
  })] }),
363
371
  /* @__PURE__ */ S("div", { children: [/* @__PURE__ */ x("p", {
364
372
  className: "text-xs text-text-secondary",
365
373
  children: "Avg. Order Value"
366
374
  }), /* @__PURE__ */ x("p", {
367
375
  className: "text-2xl font-bold text-text-primary",
368
- children: r(C.orders.averageValue, { minimumFractionDigits: 0 })
376
+ children: r(T.orders.averageValue, { minimumFractionDigits: 0 })
369
377
  })] }),
370
378
  /* @__PURE__ */ S("div", { children: [/* @__PURE__ */ x("p", {
371
379
  className: "text-xs text-text-secondary",
372
380
  children: "Completed"
373
381
  }), /* @__PURE__ */ x("p", {
374
- className: "text-xl font-bold text-green-600 dark:text-green-400",
375
- children: C.orders.completed
382
+ className: "text-xl font-bold text-status-success-text",
383
+ children: T.orders.completed
376
384
  })] }),
377
385
  /* @__PURE__ */ S("div", { children: [/* @__PURE__ */ x("p", {
378
386
  className: "text-xs text-text-secondary",
379
387
  children: "Cancelled"
380
388
  }), /* @__PURE__ */ x("p", {
381
- className: "text-xl font-bold text-red-600 dark:text-red-400",
382
- children: C.orders.cancelled
389
+ className: "text-xl font-bold text-status-error-text",
390
+ children: T.orders.cancelled
383
391
  })] })
384
392
  ]
385
393
  }), /* @__PURE__ */ S("div", { children: [/* @__PURE__ */ x("p", {
@@ -387,7 +395,7 @@ var C = {
387
395
  children: "Avg. Preparation Time"
388
396
  }), /* @__PURE__ */ S("p", {
389
397
  className: "text-sm font-medium text-text-primary",
390
- children: [C.orders.averagePreparationTime, " minutes"]
398
+ children: [T.orders.averagePreparationTime, " minutes"]
391
399
  })] })]
392
400
  })]
393
401
  }), /* @__PURE__ */ S("div", {
@@ -400,8 +408,8 @@ var C = {
400
408
  })
401
409
  }), /* @__PURE__ */ x("div", {
402
410
  className: "p-5 space-y-2",
403
- children: C.orders.popularTimes.map((e) => {
404
- let n = e.orders / D * 100;
411
+ children: T.orders.popularTimes.map((e) => {
412
+ let n = e.orders / k * 100;
405
413
  return /* @__PURE__ */ S("div", { children: [/* @__PURE__ */ S("div", {
406
414
  className: "flex items-center justify-between text-xs mb-0.5",
407
415
  children: [/* @__PURE__ */ x("span", {
@@ -414,7 +422,7 @@ var C = {
414
422
  }), /* @__PURE__ */ x("div", {
415
423
  className: "h-2 rounded-full bg-bg-sunken overflow-hidden",
416
424
  children: /* @__PURE__ */ x("div", {
417
- className: t("h-full rounded-full transition-all", e.orders > 25 ? "bg-red-500/60" : e.orders > 18 ? "bg-yellow-500/60" : "bg-green-500/60"),
425
+ className: t("h-full rounded-full transition-all", e.orders > 25 ? "bg-status-error-bg-subtle/60" : e.orders > 18 ? "bg-status-warning-bg-subtle/60" : "bg-status-success-bg-subtle/60"),
418
426
  style: { width: `${n}%` }
419
427
  })
420
428
  })] }, e.hour);
@@ -430,32 +438,32 @@ var C = {
430
438
  children: [
431
439
  {
432
440
  label: "Acceptance Rate",
433
- value: `${C.performance.acceptanceRate}%`,
441
+ value: `${T.performance.acceptanceRate}%`,
434
442
  icon: g,
435
- color: "text-green-600 dark:text-green-400"
443
+ color: "text-status-success-text"
436
444
  },
437
445
  {
438
446
  label: "Cancellation Rate",
439
- value: `${C.performance.cancellationRate}%`,
447
+ value: `${T.performance.cancellationRate}%`,
440
448
  icon: p,
441
- color: "text-red-600 dark:text-red-400"
449
+ color: "text-status-error-text"
442
450
  },
443
451
  {
444
452
  label: "On-Time Delivery",
445
- value: `${C.performance.onTimeDeliveryRate}%`,
453
+ value: `${T.performance.onTimeDeliveryRate}%`,
446
454
  icon: u,
447
- color: "text-blue-600 dark:text-blue-400"
455
+ color: "text-accent-blue"
448
456
  },
449
457
  {
450
458
  label: "Average Rating",
451
- value: `${C.performance.averageRating}`,
459
+ value: `${T.performance.averageRating}`,
452
460
  icon: h,
453
- color: "text-yellow-600 dark:text-yellow-400"
461
+ color: "text-status-warning-text"
454
462
  }
455
463
  ].map((e) => {
456
464
  let n = e.icon;
457
465
  return /* @__PURE__ */ S("div", {
458
- className: "rounded-lg border border-border-subtle bg-bg-surface p-5 shadow-sm",
466
+ className: "rounded-lg border border-border-seam bg-bg-surface p-5 bg-gloss-card shadow-pop",
459
467
  children: [/* @__PURE__ */ S("div", {
460
468
  className: "flex items-center gap-2 mb-2",
461
469
  children: [/* @__PURE__ */ x(n, { className: t("h-5 w-5", e.color) }), /* @__PURE__ */ x("span", {
@@ -483,7 +491,7 @@ var C = {
483
491
  }),
484
492
  /* @__PURE__ */ x("div", {
485
493
  className: "divide-y divide-border",
486
- children: C.offerings.topSelling.map((e, t) => /* @__PURE__ */ S("div", {
494
+ children: T.offerings.topSelling.map((e, t) => /* @__PURE__ */ S("div", {
487
495
  className: "flex items-center justify-between px-5 py-3",
488
496
  children: [/* @__PURE__ */ S("div", {
489
497
  className: "flex items-center gap-3",
@@ -513,7 +521,7 @@ var C = {
513
521
  children: [/* @__PURE__ */ x("p", {
514
522
  className: "text-xs font-medium text-text-secondary mb-2",
515
523
  children: "Least Selling"
516
- }), C.offerings.leastSelling.map((e) => /* @__PURE__ */ S("div", {
524
+ }), T.offerings.leastSelling.map((e) => /* @__PURE__ */ S("div", {
517
525
  className: "flex items-center justify-between py-1.5",
518
526
  children: [/* @__PURE__ */ x("span", {
519
527
  className: "text-xs text-text-secondary",
@@ -540,8 +548,8 @@ var C = {
540
548
  })
541
549
  }), /* @__PURE__ */ x("div", {
542
550
  className: "p-5 space-y-4",
543
- children: C.offerings.categories.map((e) => {
544
- let t = e.revenue / O * 100;
551
+ children: T.offerings.categories.map((e) => {
552
+ let t = e.revenue / A * 100;
545
553
  return /* @__PURE__ */ S("div", { children: [/* @__PURE__ */ S("div", {
546
554
  className: "flex items-center justify-between text-sm mb-1",
547
555
  children: [/* @__PURE__ */ x("span", {
@@ -560,7 +568,7 @@ var C = {
560
568
  }), /* @__PURE__ */ x("div", {
561
569
  className: "h-2.5 rounded-full bg-bg-sunken overflow-hidden",
562
570
  children: /* @__PURE__ */ x("div", {
563
- className: "h-full rounded-full bg-blue-500/60",
571
+ className: "h-full rounded-full bg-accent-blue-subtle/60",
564
572
  style: { width: `${t}%` }
565
573
  })
566
574
  })] }, e.category);
@@ -589,28 +597,28 @@ var C = {
589
597
  children: "Total Customers"
590
598
  }), /* @__PURE__ */ x("p", {
591
599
  className: "text-xl font-bold text-text-primary",
592
- children: C.customers.total
600
+ children: T.customers.total
593
601
  })] }),
594
602
  /* @__PURE__ */ S("div", { children: [/* @__PURE__ */ x("p", {
595
603
  className: "text-xs text-text-secondary",
596
604
  children: "New This Month"
597
605
  }), /* @__PURE__ */ x("p", {
598
- className: "text-xl font-bold text-blue-600 dark:text-blue-400",
599
- children: C.customers.new
606
+ className: "text-xl font-bold text-accent-blue",
607
+ children: T.customers.new
600
608
  })] }),
601
609
  /* @__PURE__ */ S("div", { children: [/* @__PURE__ */ x("p", {
602
610
  className: "text-xs text-text-secondary",
603
611
  children: "Returning"
604
612
  }), /* @__PURE__ */ x("p", {
605
- className: "text-xl font-bold text-green-600 dark:text-green-400",
606
- children: C.customers.returning
613
+ className: "text-xl font-bold text-status-success-text",
614
+ children: T.customers.returning
607
615
  })] }),
608
616
  /* @__PURE__ */ S("div", { children: [/* @__PURE__ */ x("p", {
609
617
  className: "text-xs text-text-secondary",
610
618
  children: "Satisfaction"
611
619
  }), /* @__PURE__ */ S("p", {
612
- className: "text-xl font-bold text-yellow-600 dark:text-yellow-400 flex items-center gap-1",
613
- children: [/* @__PURE__ */ x(h, { className: "h-4 w-4 fill-yellow-400 text-yellow-400" }), C.customers.satisfaction.rating]
620
+ className: "text-xl font-bold text-status-warning-text flex items-center gap-1",
621
+ children: [/* @__PURE__ */ x(h, { className: "h-4 w-4 fill-status-warning-text text-status-warning-text" }), T.customers.satisfaction.rating]
614
622
  })] })
615
623
  ]
616
624
  }),
@@ -642,7 +650,7 @@ var C = {
642
650
  children: "Total Spent"
643
651
  })
644
652
  ]
645
- }) }), /* @__PURE__ */ x("tbody", { children: C.customers.topCustomers.map((e, t) => /* @__PURE__ */ S("tr", {
653
+ }) }), /* @__PURE__ */ x("tbody", { children: T.customers.topCustomers.map((e, t) => /* @__PURE__ */ S("tr", {
646
654
  className: "border-b border-border-subtle last:border-0",
647
655
  children: [
648
656
  /* @__PURE__ */ x("td", {
@@ -669,12 +677,12 @@ var C = {
669
677
  className: "mt-4 flex items-center gap-4 text-sm",
670
678
  children: /* @__PURE__ */ S("div", {
671
679
  className: "flex items-center gap-1.5",
672
- children: [/* @__PURE__ */ x(_, { className: "h-4 w-4 text-green-600 dark:text-green-400" }), /* @__PURE__ */ S("span", {
680
+ children: [/* @__PURE__ */ x(_, { className: "h-4 w-4 text-status-success-text" }), /* @__PURE__ */ S("span", {
673
681
  className: "text-text-secondary",
674
682
  children: [
675
- C.customers.satisfaction.positiveReviews,
683
+ T.customers.satisfaction.positiveReviews,
676
684
  "/",
677
- C.customers.satisfaction.reviews,
685
+ T.customers.satisfaction.reviews,
678
686
  " positive reviews"
679
687
  ]
680
688
  })]
@@ -694,8 +702,8 @@ var C = {
694
702
  })
695
703
  }), /* @__PURE__ */ x("div", {
696
704
  className: "p-5 space-y-3",
697
- children: C.performance.peakHours.map((e) => {
698
- let n = e.orders / k * 100;
705
+ children: T.performance.peakHours.map((e) => {
706
+ let n = e.orders / j * 100;
699
707
  return /* @__PURE__ */ S("div", { children: [/* @__PURE__ */ S("div", {
700
708
  className: "flex items-center justify-between text-xs mb-1",
701
709
  children: [/* @__PURE__ */ x("span", {
@@ -708,7 +716,7 @@ var C = {
708
716
  }), /* @__PURE__ */ x("div", {
709
717
  className: "h-2 rounded-full bg-bg-sunken overflow-hidden",
710
718
  children: /* @__PURE__ */ x("div", {
711
- className: t("h-full rounded-full", e.orders > 28 ? "bg-red-500/60" : e.orders > 22 ? "bg-yellow-500/60" : "bg-green-500/60"),
719
+ className: t("h-full rounded-full", e.orders > 28 ? "bg-status-error-bg-subtle/60" : e.orders > 22 ? "bg-status-warning-bg-subtle/60" : "bg-status-success-bg-subtle/60"),
712
720
  style: { width: `${n}%` }
713
721
  })
714
722
  })] }, e.hour);
@@ -724,8 +732,8 @@ var C = {
724
732
  })
725
733
  }), /* @__PURE__ */ x("div", {
726
734
  className: "p-5 space-y-3",
727
- children: C.performance.peakDays.map((e) => {
728
- let t = e.orders / A * 100;
735
+ children: T.performance.peakDays.map((e) => {
736
+ let t = e.orders / M * 100;
729
737
  return /* @__PURE__ */ S("div", { children: [/* @__PURE__ */ S("div", {
730
738
  className: "flex items-center justify-between text-xs mb-1",
731
739
  children: [/* @__PURE__ */ x("span", {
@@ -738,7 +746,7 @@ var C = {
738
746
  }), /* @__PURE__ */ x("div", {
739
747
  className: "h-2 rounded-full bg-bg-sunken overflow-hidden",
740
748
  children: /* @__PURE__ */ x("div", {
741
- className: "h-full rounded-full bg-blue-500/60",
749
+ className: "h-full rounded-full bg-accent-blue-subtle/60",
742
750
  style: { width: `${t}%` }
743
751
  })
744
752
  })] }, e.day);
@@ -813,7 +821,7 @@ var C = {
813
821
  children: i.customerGrowth.map((e) => {
814
822
  let t = Math.max(...i.customerGrowth.map((e) => e.newCustomers));
815
823
  return /* @__PURE__ */ x("div", {
816
- className: "flex-1 rounded-t bg-blue-500/40 hover:bg-blue-500/60 transition-colors cursor-default",
824
+ className: "flex-1 rounded-t bg-accent-blue-subtle/40 hover:bg-accent-blue-subtle/60 transition-colors cursor-default",
817
825
  style: { height: `${e.newCustomers / t * 100}%` },
818
826
  title: `${e.month}: ${e.newCustomers} new customers`
819
827
  }, e.month);
@@ -825,10 +833,10 @@ var C = {
825
833
  })]
826
834
  })
827
835
  ]
828
- })
836
+ })]
829
837
  });
830
838
  };
831
839
  //#endregion
832
- export { w as AnalyticsDashboard };
840
+ export { E as AnalyticsDashboard };
833
841
 
834
842
  //# sourceMappingURL=AnalyticsDashboard.js.map