@burdenoff/microfe-labsofscience 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/labsofscience/components/EmptyState.js +18 -11
  2. package/dist/labsofscience/components/EmptyState.js.map +1 -1
  3. package/dist/labsofscience/components/InvestmentCard.js +26 -24
  4. package/dist/labsofscience/components/InvestmentCard.js.map +1 -1
  5. package/dist/labsofscience/components/MetricsCard.js +19 -13
  6. package/dist/labsofscience/components/MetricsCard.js.map +1 -1
  7. package/dist/labsofscience/components/PageLayout.js +23 -15
  8. package/dist/labsofscience/components/PageLayout.js.map +1 -1
  9. package/dist/labsofscience/components/RatingDisplay.js +1 -1
  10. package/dist/labsofscience/components/RatingDisplay.js.map +1 -1
  11. package/dist/labsofscience/components/StatusBadge.js +34 -15
  12. package/dist/labsofscience/components/StatusBadge.js.map +1 -1
  13. package/dist/labsofscience/pages/HomePage.js +242 -223
  14. package/dist/labsofscience/pages/HomePage.js.map +1 -1
  15. package/dist/labsofscience/pages/admin/AdminAnalyticsPage.js +107 -101
  16. package/dist/labsofscience/pages/admin/AdminAnalyticsPage.js.map +1 -1
  17. package/dist/labsofscience/pages/admin/AdminDashboard.js +118 -85
  18. package/dist/labsofscience/pages/admin/AdminDashboard.js.map +1 -1
  19. package/dist/labsofscience/pages/admin/AdminFinancialPage.js +51 -45
  20. package/dist/labsofscience/pages/admin/AdminFinancialPage.js.map +1 -1
  21. package/dist/labsofscience/pages/admin/AdminOrdersPage.js +245 -240
  22. package/dist/labsofscience/pages/admin/AdminOrdersPage.js.map +1 -1
  23. package/dist/labsofscience/pages/admin/AdminProfilePage.js +131 -129
  24. package/dist/labsofscience/pages/admin/AdminProfilePage.js.map +1 -1
  25. package/dist/labsofscience/pages/admin/AdminSettingsPage.js +493 -491
  26. package/dist/labsofscience/pages/admin/AdminSettingsPage.js.map +1 -1
  27. package/dist/labsofscience/pages/admin/CartManagementPage.js +163 -158
  28. package/dist/labsofscience/pages/admin/CartManagementPage.js.map +1 -1
  29. package/dist/labsofscience/pages/admin/UserManagementPage.js +307 -302
  30. package/dist/labsofscience/pages/admin/UserManagementPage.js.map +1 -1
  31. package/dist/labsofscience/pages/cart-owner/AnalyticsDashboard.js +89 -84
  32. package/dist/labsofscience/pages/cart-owner/AnalyticsDashboard.js.map +1 -1
  33. package/dist/labsofscience/pages/cart-owner/BusinessSettingsPage.js +187 -182
  34. package/dist/labsofscience/pages/cart-owner/BusinessSettingsPage.js.map +1 -1
  35. package/dist/labsofscience/pages/cart-owner/CartOwnerDashboard.js +119 -88
  36. package/dist/labsofscience/pages/cart-owner/CartOwnerDashboard.js.map +1 -1
  37. package/dist/labsofscience/pages/cart-owner/CartOwnerProfilePage.js +149 -144
  38. package/dist/labsofscience/pages/cart-owner/CartOwnerProfilePage.js.map +1 -1
  39. package/dist/labsofscience/pages/cart-owner/CartServiceConfigPage.js +151 -146
  40. package/dist/labsofscience/pages/cart-owner/CartServiceConfigPage.js.map +1 -1
  41. package/dist/labsofscience/pages/cart-owner/InventoryManagementPage.js +344 -346
  42. package/dist/labsofscience/pages/cart-owner/InventoryManagementPage.js.map +1 -1
  43. package/dist/labsofscience/pages/cart-owner/OrderManagementPage.js +269 -271
  44. package/dist/labsofscience/pages/cart-owner/OrderManagementPage.js.map +1 -1
  45. package/dist/labsofscience/pages/cart-owner/StaffManagementPage.js +293 -287
  46. package/dist/labsofscience/pages/cart-owner/StaffManagementPage.js.map +1 -1
  47. package/dist/labsofscience/pages/common/HelpSupportPage.js +344 -345
  48. package/dist/labsofscience/pages/common/HelpSupportPage.js.map +1 -1
  49. package/dist/labsofscience/pages/common/NotificationCenterPage.js +94 -87
  50. package/dist/labsofscience/pages/common/NotificationCenterPage.js.map +1 -1
  51. package/dist/labsofscience/pages/common/SettingsPage.js +748 -739
  52. package/dist/labsofscience/pages/common/SettingsPage.js.map +1 -1
  53. package/dist/labsofscience/pages/customer/BookingDetailsPage.js +400 -356
  54. package/dist/labsofscience/pages/customer/BookingDetailsPage.js.map +1 -1
  55. package/dist/labsofscience/pages/customer/CartDetailPage.js +281 -248
  56. package/dist/labsofscience/pages/customer/CartDetailPage.js.map +1 -1
  57. package/dist/labsofscience/pages/customer/CartDiscoveryPage.js +178 -166
  58. package/dist/labsofscience/pages/customer/CartDiscoveryPage.js.map +1 -1
  59. package/dist/labsofscience/pages/customer/CheckoutPage.js +236 -238
  60. package/dist/labsofscience/pages/customer/CheckoutPage.js.map +1 -1
  61. package/dist/labsofscience/pages/customer/CustomerDashboard.js +425 -390
  62. package/dist/labsofscience/pages/customer/CustomerDashboard.js.map +1 -1
  63. package/dist/labsofscience/pages/customer/CustomerProfilePage.js +528 -491
  64. package/dist/labsofscience/pages/customer/CustomerProfilePage.js.map +1 -1
  65. package/dist/labsofscience/pages/customer/DirectServiceBookingPage.js +522 -512
  66. package/dist/labsofscience/pages/customer/DirectServiceBookingPage.js.map +1 -1
  67. package/dist/labsofscience/pages/customer/FavoritesPage.js +73 -66
  68. package/dist/labsofscience/pages/customer/FavoritesPage.js.map +1 -1
  69. package/dist/labsofscience/pages/customer/OrderHistoryPage.js +74 -67
  70. package/dist/labsofscience/pages/customer/OrderHistoryPage.js.map +1 -1
  71. package/dist/labsofscience/pages/customer/OrderTrackingPage.js +311 -274
  72. package/dist/labsofscience/pages/customer/OrderTrackingPage.js.map +1 -1
  73. package/dist/labsofscience/pages/customer/PaymentMethodsPage.js +100 -93
  74. package/dist/labsofscience/pages/customer/PaymentMethodsPage.js.map +1 -1
  75. package/dist/labsofscience/pages/customer/ReviewsPage.js +96 -89
  76. package/dist/labsofscience/pages/customer/ReviewsPage.js.map +1 -1
  77. package/dist/labsofscience/pages/customer/SavedAddressesPage.js +85 -78
  78. package/dist/labsofscience/pages/customer/SavedAddressesPage.js.map +1 -1
  79. package/dist/labsofscience/pages/investor/InvestmentDetailsPage.js +135 -103
  80. package/dist/labsofscience/pages/investor/InvestmentDetailsPage.js.map +1 -1
  81. package/dist/labsofscience/pages/investor/InvestmentOpportunitiesPage.js +267 -260
  82. package/dist/labsofscience/pages/investor/InvestmentOpportunitiesPage.js.map +1 -1
  83. package/dist/labsofscience/pages/investor/InvestorAnalyticsPage.js +97 -91
  84. package/dist/labsofscience/pages/investor/InvestorAnalyticsPage.js.map +1 -1
  85. package/dist/labsofscience/pages/investor/InvestorDashboard.js +346 -310
  86. package/dist/labsofscience/pages/investor/InvestorDashboard.js.map +1 -1
  87. package/dist/labsofscience/pages/investor/InvestorInvestmentsPage.js +118 -111
  88. package/dist/labsofscience/pages/investor/InvestorInvestmentsPage.js.map +1 -1
  89. package/dist/labsofscience/pages/investor/InvestorPortfolioPage.js +75 -69
  90. package/dist/labsofscience/pages/investor/InvestorPortfolioPage.js.map +1 -1
  91. package/dist/labsofscience/pages/investor/InvestorProfilePage.js +434 -429
  92. package/dist/labsofscience/pages/investor/InvestorProfilePage.js.map +1 -1
  93. package/dist/labsofscience/pages/worker/TaskDetailsPage.js +364 -323
  94. package/dist/labsofscience/pages/worker/TaskDetailsPage.js.map +1 -1
  95. package/dist/labsofscience/pages/worker/WorkerDashboard.js +132 -101
  96. package/dist/labsofscience/pages/worker/WorkerDashboard.js.map +1 -1
  97. package/dist/labsofscience/pages/worker/WorkerOrdersPage.js +114 -108
  98. package/dist/labsofscience/pages/worker/WorkerOrdersPage.js.map +1 -1
  99. package/dist/labsofscience/pages/worker/WorkerProfilePage.js +124 -119
  100. package/dist/labsofscience/pages/worker/WorkerProfilePage.js.map +1 -1
  101. package/dist/labsofscience/pages/worker/WorkerSchedulePage.js +354 -344
  102. package/dist/labsofscience/pages/worker/WorkerSchedulePage.js.map +1 -1
  103. package/package.json +3 -3
@@ -7,33 +7,34 @@ import { formatCurrency as o, formatDistance as s } from "../../utils/formatters
7
7
  import { useMemo as c, useState as l } from "react";
8
8
  import { AlertCircle as u, Calendar as d, CheckCircle2 as f, Clock as p, Home as m, Info as h, Loader2 as g, MapPin as _, Search as v, Star as y, Tag as b, TrendingUp as x, X as S } from "lucide-react";
9
9
  import { Fragment as C, jsx as w, jsxs as T } from "react/jsx-runtime";
10
+ import { EmphasisPanel as E, PagePurpose as ee } from "@burdenoff/fe-libs/ui";
10
11
  //#region src/labsofscience/pages/customer/CartDiscoveryPage.tsx
11
- var E = "All";
12
- function D() {
13
- let { navigateTo: D } = e(), [O, k] = l(""), [A, j] = l(E), [M, N] = l(""), [P, F] = l(""), [I, L] = l("rating"), [R, z] = l(9), [B, V] = l(!1), [H, U] = l(null), { data: W = [], isLoading: G, isError: K } = a(), { data: q = [] } = i(), J = c(() => {
12
+ var D = "All";
13
+ function O() {
14
+ let { navigateTo: O } = e(), [k, A] = l(""), [j, M] = l(D), [N, P] = l(""), [F, I] = l(""), [L, R] = l("rating"), [z, B] = l(9), [V, H] = l(!1), [U, W] = l(null), { data: G = [], isLoading: K, isError: q } = a(), { data: J = [] } = i(), Y = c(() => {
14
15
  let e = /* @__PURE__ */ new Set();
15
- return W.forEach((t) => {
16
+ return G.forEach((t) => {
16
17
  t.category && e.add(t.category);
17
- }), [E, ...Array.from(e)];
18
- }, [W]), Y = c(() => {
19
- let e = [...W];
20
- if (O.trim()) {
21
- let t = O.toLowerCase();
18
+ }), [D, ...Array.from(e)];
19
+ }, [G]), X = c(() => {
20
+ let e = [...G];
21
+ if (k.trim()) {
22
+ let t = k.toLowerCase();
22
23
  e = e.filter((e) => e.name.toLowerCase().includes(t) || e.category.toLowerCase().includes(t));
23
24
  }
24
- if (A !== E && (e = e.filter((e) => e.category === A)), M) {
25
- let t = parseFloat(M);
25
+ if (j !== D && (e = e.filter((e) => e.category === j)), N) {
26
+ let t = parseFloat(N);
26
27
  e = e.filter((e) => e.rating >= t);
27
28
  }
28
- switch (P && (e = e.filter((e) => {
29
+ switch (F && (e = e.filter((e) => {
29
30
  let t = e.averageOrderValue ?? 0;
30
- switch (P) {
31
+ switch (F) {
31
32
  case "low": return t <= 300;
32
33
  case "medium": return t > 300 && t <= 800;
33
34
  case "high": return t > 800;
34
35
  default: return !0;
35
36
  }
36
- })), I) {
37
+ })), L) {
37
38
  case "rating":
38
39
  e.sort((e, t) => t.rating - e.rating);
39
40
  break;
@@ -49,23 +50,23 @@ function D() {
49
50
  }
50
51
  return e;
51
52
  }, [
52
- W,
53
- O,
54
- A,
55
- M,
56
- P,
57
- I
58
- ]), X = Y.slice(0, R), Z = R < Y.length, Q = A !== E || M !== "" || P !== "" || O.trim() !== "", $ = () => {
59
- k(""), j(E), N(""), F(""), L("rating"), z(9);
53
+ G,
54
+ k,
55
+ j,
56
+ N,
57
+ F,
58
+ L
59
+ ]), Z = X.slice(0, z), Q = z < X.length, te = j !== D || N !== "" || F !== "" || k.trim() !== "", $ = () => {
60
+ A(""), M(D), P(""), I(""), R("rating"), B(9);
60
61
  };
61
- return G ? /* @__PURE__ */ w(n, {
62
+ return K ? /* @__PURE__ */ w(n, {
62
63
  title: "Discover Carts",
63
64
  description: "Finding services and shops near you...",
64
65
  children: /* @__PURE__ */ w("div", {
65
66
  className: "flex h-[60vh] items-center justify-center",
66
67
  children: /* @__PURE__ */ w(g, { className: "h-8 w-8 animate-spin text-primary" })
67
68
  })
68
- }) : K ? /* @__PURE__ */ w(n, {
69
+ }) : q ? /* @__PURE__ */ w(n, {
69
70
  title: "Discover Carts",
70
71
  description: "Error loading carts",
71
72
  children: /* @__PURE__ */ T("div", {
@@ -89,123 +90,133 @@ function D() {
89
90
  description: "Find services and shops near you",
90
91
  actions: /* @__PURE__ */ T("span", {
91
92
  className: "text-sm text-text-secondary",
92
- children: [Y.length, " carts found"]
93
+ children: [X.length, " carts found"]
93
94
  }),
94
95
  children: [
95
- /* @__PURE__ */ T("div", {
96
- className: "relative",
97
- children: [
98
- /* @__PURE__ */ w(v, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-text-secondary" }),
99
- /* @__PURE__ */ w("input", {
100
- type: "text",
101
- placeholder: "Search carts, services, or items...",
102
- value: O,
103
- onChange: (e) => k(e.target.value),
104
- className: t("w-full rounded-lg border border-border-subtle bg-bg-surface py-2.5 pl-10 pr-10 text-sm text-text-primary", "placeholder:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]")
105
- }),
106
- O && /* @__PURE__ */ w("button", {
107
- type: "button",
108
- onClick: () => k(""),
109
- className: "absolute right-3 top-1/2 -translate-y-1/2 text-text-secondary hover:text-text-primary",
110
- children: /* @__PURE__ */ w(S, { className: "h-4 w-4" })
111
- })
112
- ]
96
+ /* @__PURE__ */ w(ee, {
97
+ icon: /* @__PURE__ */ w(v, { className: "h-4 w-4" }),
98
+ className: "mb-6",
99
+ children: "Find the mobile carts, shops and services near you. Search by name or item, narrow by category, rating or price, and sort by what's closest or best rated — then open a cart to browse its menu, book an appointment or request a direct service at your door."
113
100
  }),
114
- /* @__PURE__ */ w("div", {
115
- className: "mt-4 flex flex-wrap gap-2",
116
- children: J.map((e) => /* @__PURE__ */ w("button", {
117
- type: "button",
118
- onClick: () => j(e),
119
- className: t("rounded-full px-3 py-1.5 text-xs font-medium transition-colors", A === e ? "bg-foreground text-background" : "bg-bg-sunken text-text-secondary hover:bg-accent hover:text-text-primary"),
120
- children: e
121
- }, e))
122
- }),
123
- /* @__PURE__ */ T("div", {
124
- className: "mt-4 flex flex-wrap items-center gap-3",
101
+ /* @__PURE__ */ T(E, {
102
+ className: "p-4",
125
103
  children: [
126
- /* @__PURE__ */ T("select", {
127
- value: M,
128
- onChange: (e) => N(e.target.value),
129
- className: "rounded-lg border border-border-subtle bg-bg-surface px-3 py-2 text-xs text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]",
104
+ /* @__PURE__ */ T("div", {
105
+ className: "relative",
130
106
  children: [
131
- /* @__PURE__ */ w("option", {
132
- value: "",
133
- children: "Any Rating"
134
- }),
135
- /* @__PURE__ */ w("option", {
136
- value: "4.5",
137
- children: "4.5+ Stars"
138
- }),
139
- /* @__PURE__ */ w("option", {
140
- value: "4.0",
141
- children: "4.0+ Stars"
107
+ /* @__PURE__ */ w(v, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-text-secondary" }),
108
+ /* @__PURE__ */ w("input", {
109
+ type: "text",
110
+ placeholder: "Search carts, services, or items...",
111
+ value: k,
112
+ onChange: (e) => A(e.target.value),
113
+ className: t("w-full rounded-lg border border-border-seam bg-bg-surface py-2.5 pl-10 pr-10 text-sm text-text-primary", "placeholder:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]")
142
114
  }),
143
- /* @__PURE__ */ w("option", {
144
- value: "3.5",
145
- children: "3.5+ Stars"
115
+ k && /* @__PURE__ */ w("button", {
116
+ type: "button",
117
+ onClick: () => A(""),
118
+ className: "absolute right-3 top-1/2 -translate-y-1/2 text-text-secondary hover:text-text-primary",
119
+ children: /* @__PURE__ */ w(S, { className: "h-4 w-4" })
146
120
  })
147
121
  ]
148
122
  }),
149
- /* @__PURE__ */ T("select", {
150
- value: P,
151
- onChange: (e) => F(e.target.value),
152
- className: "rounded-lg border border-border-subtle bg-bg-surface px-3 py-2 text-xs text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]",
153
- children: [
154
- /* @__PURE__ */ w("option", {
155
- value: "",
156
- children: "Any Price"
157
- }),
158
- /* @__PURE__ */ w("option", {
159
- value: "low",
160
- children: "Under ₹300"
161
- }),
162
- /* @__PURE__ */ w("option", {
163
- value: "medium",
164
- children: "₹300 - ₹800"
165
- }),
166
- /* @__PURE__ */ w("option", {
167
- value: "high",
168
- children: "₹800+"
169
- })
170
- ]
123
+ /* @__PURE__ */ w("div", {
124
+ className: "mt-4 flex flex-wrap gap-2",
125
+ children: Y.map((e) => /* @__PURE__ */ w("button", {
126
+ type: "button",
127
+ onClick: () => M(e),
128
+ className: t("rounded-full px-3 py-1.5 text-xs font-medium transition-colors", j === e ? "bg-foreground text-background" : "bg-bg-sunken text-text-secondary hover:bg-accent hover:text-text-primary"),
129
+ children: e
130
+ }, e))
171
131
  }),
172
- /* @__PURE__ */ T("select", {
173
- value: I,
174
- onChange: (e) => L(e.target.value),
175
- className: "rounded-lg border border-border-subtle bg-bg-surface px-3 py-2 text-xs text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]",
132
+ /* @__PURE__ */ T("div", {
133
+ className: "mt-4 flex flex-wrap items-center gap-3",
176
134
  children: [
177
- /* @__PURE__ */ w("option", {
178
- value: "rating",
179
- children: "Highest Rated"
135
+ /* @__PURE__ */ T("select", {
136
+ value: N,
137
+ onChange: (e) => P(e.target.value),
138
+ className: "rounded-lg border border-border-seam bg-bg-surface px-3 py-2 text-xs text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]",
139
+ children: [
140
+ /* @__PURE__ */ w("option", {
141
+ value: "",
142
+ children: "Any Rating"
143
+ }),
144
+ /* @__PURE__ */ w("option", {
145
+ value: "4.5",
146
+ children: "4.5+ Stars"
147
+ }),
148
+ /* @__PURE__ */ w("option", {
149
+ value: "4.0",
150
+ children: "4.0+ Stars"
151
+ }),
152
+ /* @__PURE__ */ w("option", {
153
+ value: "3.5",
154
+ children: "3.5+ Stars"
155
+ })
156
+ ]
180
157
  }),
181
- /* @__PURE__ */ w("option", {
182
- value: "popularity",
183
- children: "Most Popular"
158
+ /* @__PURE__ */ T("select", {
159
+ value: F,
160
+ onChange: (e) => I(e.target.value),
161
+ className: "rounded-lg border border-border-seam bg-bg-surface px-3 py-2 text-xs text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]",
162
+ children: [
163
+ /* @__PURE__ */ w("option", {
164
+ value: "",
165
+ children: "Any Price"
166
+ }),
167
+ /* @__PURE__ */ w("option", {
168
+ value: "low",
169
+ children: "Under ₹300"
170
+ }),
171
+ /* @__PURE__ */ w("option", {
172
+ value: "medium",
173
+ children: "₹300 - ₹800"
174
+ }),
175
+ /* @__PURE__ */ w("option", {
176
+ value: "high",
177
+ children: "₹800+"
178
+ })
179
+ ]
184
180
  }),
185
- /* @__PURE__ */ w("option", {
186
- value: "distance",
187
- children: "Nearest"
181
+ /* @__PURE__ */ T("select", {
182
+ value: L,
183
+ onChange: (e) => R(e.target.value),
184
+ className: "rounded-lg border border-border-seam bg-bg-surface px-3 py-2 text-xs text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]",
185
+ children: [
186
+ /* @__PURE__ */ w("option", {
187
+ value: "rating",
188
+ children: "Highest Rated"
189
+ }),
190
+ /* @__PURE__ */ w("option", {
191
+ value: "popularity",
192
+ children: "Most Popular"
193
+ }),
194
+ /* @__PURE__ */ w("option", {
195
+ value: "distance",
196
+ children: "Nearest"
197
+ }),
198
+ /* @__PURE__ */ w("option", {
199
+ value: "newest",
200
+ children: "Newest"
201
+ })
202
+ ]
188
203
  }),
189
- /* @__PURE__ */ w("option", {
190
- value: "newest",
191
- children: "Newest"
204
+ te && /* @__PURE__ */ w("button", {
205
+ type: "button",
206
+ onClick: $,
207
+ className: "rounded-lg border border-border-seam px-3 py-2 text-xs font-medium text-text-secondary hover:text-text-primary transition-colors",
208
+ children: "Clear All Filters"
192
209
  })
193
210
  ]
194
- }),
195
- Q && /* @__PURE__ */ w("button", {
196
- type: "button",
197
- onClick: $,
198
- className: "rounded-lg border border-border-subtle px-3 py-2 text-xs font-medium text-text-secondary hover:text-text-primary transition-colors",
199
- children: "Clear All Filters"
200
211
  })
201
212
  ]
202
213
  }),
203
- X.length > 0 ? /* @__PURE__ */ T(C, { children: [/* @__PURE__ */ w("div", {
214
+ Z.length > 0 ? /* @__PURE__ */ T(C, { children: [/* @__PURE__ */ w("div", {
204
215
  className: "mt-6 grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3",
205
- children: X.map((e) => {
206
- let n = q.find((t) => t.cartId === e.id);
216
+ children: Z.map((e) => {
217
+ let n = J.find((t) => t.cartId === e.id);
207
218
  return /* @__PURE__ */ T("div", {
208
- className: "rounded-lg border border-border-subtle bg-bg-surface shadow-sm overflow-hidden hover:shadow-md transition-shadow flex flex-col",
219
+ className: "rounded-lg border border-border-seam bg-bg-surface shadow-sm overflow-hidden hover:shadow-md transition-shadow flex flex-col",
209
220
  children: [/* @__PURE__ */ T("div", {
210
221
  className: "relative h-40 bg-bg-sunken",
211
222
  children: [
@@ -217,10 +228,10 @@ function D() {
217
228
  /* @__PURE__ */ T("div", {
218
229
  className: "absolute top-2 left-2 flex gap-1.5",
219
230
  children: [/* @__PURE__ */ w("span", {
220
- className: t("inline-flex items-center rounded-full px-2 py-0.5 text-xs font-medium backdrop-blur-sm", e.isOpen ? "bg-green-500/20 text-green-600 dark:text-green-400" : "bg-red-500/20 text-red-600 dark:text-red-400"),
231
+ className: t("inline-flex items-center rounded-full px-2 py-0.5 text-xs font-medium backdrop-blur-sm", e.isOpen ? "bg-status-success-bg-subtle text-status-success-text" : "bg-status-error-bg-subtle text-status-error-text"),
221
232
  children: e.isOpen ? "Open" : "Closed"
222
233
  }), e.isVerified && /* @__PURE__ */ T("span", {
223
- className: "inline-flex items-center gap-0.5 rounded-full bg-blue-500/20 px-2 py-0.5 text-xs font-medium text-blue-600 dark:text-blue-400 backdrop-blur-sm",
234
+ className: "inline-flex items-center gap-0.5 rounded-full bg-status-info-bg-subtle px-2 py-0.5 text-xs font-medium text-status-info-text backdrop-blur-sm",
224
235
  children: [/* @__PURE__ */ w(f, { className: "h-3 w-3" }), "Verified"]
225
236
  })]
226
237
  }),
@@ -243,7 +254,7 @@ function D() {
243
254
  }), /* @__PURE__ */ T("div", {
244
255
  className: "flex items-center gap-1 shrink-0",
245
256
  children: [
246
- /* @__PURE__ */ w(y, { className: "h-3.5 w-3.5 fill-yellow-400 text-yellow-400" }),
257
+ /* @__PURE__ */ w(y, { className: "h-3.5 w-3.5 fill-status-warning-text text-status-warning-text" }),
247
258
  /* @__PURE__ */ w("span", {
248
259
  className: "text-xs font-medium text-text-primary",
249
260
  children: e.rating
@@ -278,9 +289,9 @@ function D() {
278
289
  })]
279
290
  }),
280
291
  e.serviceTypes?.includes("appointment") && /* @__PURE__ */ w("div", {
281
- className: "mb-3 rounded-md bg-blue-500/10 border border-blue-500/20 p-2",
292
+ className: "mb-3 rounded-md bg-status-info-bg-subtle border border-status-info-border p-2",
282
293
  children: /* @__PURE__ */ T("div", {
283
- className: "flex items-center gap-1 text-xs text-blue-600 dark:text-blue-400",
294
+ className: "flex items-center gap-1 text-xs text-status-info-text",
284
295
  children: [/* @__PURE__ */ w(d, { className: "h-3 w-3" }), /* @__PURE__ */ w("span", {
285
296
  className: "font-medium",
286
297
  children: "Appointment available"
@@ -288,9 +299,9 @@ function D() {
288
299
  })
289
300
  }),
290
301
  e.serviceTypes?.includes("direct_service") && /* @__PURE__ */ w("div", {
291
- className: "mb-3 rounded-md bg-purple-500/10 border border-purple-500/20 p-2",
302
+ className: "mb-3 rounded-md bg-[color-mix(in_oklab,var(--color-accent-purple)_14%,transparent)] border border-accent-purple p-2",
292
303
  children: /* @__PURE__ */ T("div", {
293
- className: "flex items-center gap-1 text-xs text-purple-600 dark:text-purple-400",
304
+ className: "flex items-center gap-1 text-xs text-accent-purple",
294
305
  children: [/* @__PURE__ */ w(m, { className: "h-3 w-3" }), /* @__PURE__ */ w("span", {
295
306
  className: "font-medium",
296
307
  children: "Direct Service Available"
@@ -309,31 +320,31 @@ function D() {
309
320
  children: [
310
321
  /* @__PURE__ */ w("button", {
311
322
  type: "button",
312
- onClick: () => D(`/customer/cart/${e.id}`),
323
+ onClick: () => O(`/customer/cart/${e.id}`),
313
324
  disabled: !e.isOpen,
314
325
  className: t("flex-1 rounded-lg py-2 text-xs font-medium transition-opacity", e.isOpen ? "bg-foreground text-background hover:opacity-90" : "bg-bg-sunken text-text-secondary cursor-not-allowed"),
315
326
  children: e.isOpen ? "View Services" : "Closed"
316
327
  }),
317
328
  e.serviceTypes?.includes("direct_service") && /* @__PURE__ */ w("button", {
318
329
  type: "button",
319
- onClick: () => D(`/customer/cart/${e.id}`),
320
- className: "rounded-lg border border-border-subtle px-2 py-2 text-xs text-text-primary hover:bg-accent transition-colors",
330
+ onClick: () => O(`/customer/cart/${e.id}`),
331
+ className: "rounded-lg border border-border-seam px-2 py-2 text-xs text-text-primary hover:bg-accent transition-colors",
321
332
  title: "Book Direct Service",
322
333
  children: /* @__PURE__ */ w(m, { className: "h-3.5 w-3.5" })
323
334
  }),
324
335
  n && /* @__PURE__ */ w("button", {
325
336
  type: "button",
326
337
  onClick: () => alert("Investment opportunity available! View in Investor section."),
327
- className: "rounded-lg border border-green-500/30 bg-green-500/10 px-2 py-2 text-xs text-green-600 dark:text-green-400 hover:bg-green-500/20 transition-colors",
338
+ className: "rounded-lg border border-status-success-border bg-status-success-bg-subtle px-2 py-2 text-xs text-status-success-text hover:bg-status-success-bg-subtle transition-colors",
328
339
  title: "Investment Opportunity",
329
340
  children: /* @__PURE__ */ w(x, { className: "h-3.5 w-3.5" })
330
341
  }),
331
342
  /* @__PURE__ */ w("button", {
332
343
  type: "button",
333
344
  onClick: () => {
334
- U(e), V(!0);
345
+ W(e), H(!0);
335
346
  },
336
- className: "rounded-lg border border-border-subtle px-2 py-2 text-xs text-text-primary hover:bg-accent transition-colors",
347
+ className: "rounded-lg border border-border-seam px-2 py-2 text-xs text-text-primary hover:bg-accent transition-colors",
337
348
  title: "Cart Info",
338
349
  children: /* @__PURE__ */ w(h, { className: "h-3.5 w-3.5" })
339
350
  })
@@ -343,20 +354,21 @@ function D() {
343
354
  })]
344
355
  }, e.id);
345
356
  })
346
- }), Z && /* @__PURE__ */ w("div", {
357
+ }), Q && /* @__PURE__ */ w("div", {
347
358
  className: "mt-8 text-center",
348
359
  children: /* @__PURE__ */ w("button", {
349
360
  type: "button",
350
- onClick: () => z((e) => e + 9),
351
- className: "rounded-lg border border-border-subtle px-6 py-2.5 text-sm font-medium text-text-primary hover:bg-accent transition-colors",
361
+ onClick: () => B((e) => e + 9),
362
+ className: "rounded-lg border border-border-seam px-6 py-2.5 text-sm font-medium text-text-primary hover:bg-accent transition-colors",
352
363
  children: "Load More Carts"
353
364
  })
354
365
  })] }) : /* @__PURE__ */ w("div", {
355
366
  className: "mt-6",
356
367
  children: /* @__PURE__ */ w(r, {
368
+ illustration: "empty-search",
357
369
  icon: /* @__PURE__ */ w(v, { className: "h-12 w-12" }),
358
370
  title: "No carts found",
359
- description: O ? `No results for "${O}". Try a different search term.` : "No carts available with these filters.",
371
+ description: k ? `No results for "${k}". Try a different search term.` : "No carts available with these filters.",
360
372
  action: /* @__PURE__ */ w("button", {
361
373
  type: "button",
362
374
  onClick: $,
@@ -365,10 +377,10 @@ function D() {
365
377
  })
366
378
  })
367
379
  }),
368
- B && H && /* @__PURE__ */ w("div", {
380
+ V && U && /* @__PURE__ */ w("div", {
369
381
  className: "fixed inset-0 z-50 flex items-center justify-center bg-black/50 p-4",
370
382
  children: /* @__PURE__ */ w("div", {
371
- className: "w-full max-w-2xl max-h-[90vh] overflow-y-auto rounded-lg border border-border-subtle bg-bg-surface",
383
+ className: "w-full max-w-2xl max-h-[90vh] overflow-y-auto rounded-lg border border-border-seam bg-bg-surface",
372
384
  children: /* @__PURE__ */ T("div", {
373
385
  className: "p-5",
374
386
  children: [
@@ -379,7 +391,7 @@ function D() {
379
391
  children: "Cart Information"
380
392
  }), /* @__PURE__ */ w("button", {
381
393
  type: "button",
382
- onClick: () => V(!1),
394
+ onClick: () => H(!1),
383
395
  className: "rounded-md p-1 text-text-secondary hover:text-text-primary transition-colors",
384
396
  children: /* @__PURE__ */ w(S, { className: "h-5 w-5" })
385
397
  })]
@@ -387,37 +399,37 @@ function D() {
387
399
  /* @__PURE__ */ w("div", {
388
400
  className: "h-48 rounded-lg overflow-hidden mb-4",
389
401
  children: /* @__PURE__ */ w("img", {
390
- src: H.image,
391
- alt: H.name,
402
+ src: U.image,
403
+ alt: U.name,
392
404
  className: "h-full w-full object-cover"
393
405
  })
394
406
  }),
395
407
  /* @__PURE__ */ w("h4", {
396
408
  className: "text-xl font-semibold text-text-primary mb-1",
397
- children: H.name
409
+ children: U.name
398
410
  }),
399
411
  /* @__PURE__ */ T("div", {
400
412
  className: "flex flex-wrap items-center gap-3 mb-4",
401
413
  children: [/* @__PURE__ */ T("div", {
402
414
  className: "flex items-center gap-1",
403
415
  children: [
404
- /* @__PURE__ */ w(y, { className: "h-3.5 w-3.5 fill-yellow-400 text-yellow-400" }),
416
+ /* @__PURE__ */ w(y, { className: "h-3.5 w-3.5 fill-status-warning-text text-status-warning-text" }),
405
417
  /* @__PURE__ */ w("span", {
406
418
  className: "text-sm font-medium",
407
- children: H.rating
419
+ children: U.rating
408
420
  }),
409
421
  /* @__PURE__ */ T("span", {
410
422
  className: "text-xs text-text-secondary",
411
423
  children: [
412
424
  "(",
413
- H.totalRatings,
425
+ U.totalRatings,
414
426
  " reviews)"
415
427
  ]
416
428
  })
417
429
  ]
418
430
  }), /* @__PURE__ */ w("span", {
419
- className: t("inline-flex items-center rounded-full px-2 py-0.5 text-xs font-medium", H.isOpen ? "bg-green-500/20 text-green-600 dark:text-green-400" : "bg-red-500/20 text-red-600 dark:text-red-400"),
420
- children: H.isOpen ? "Open" : "Closed"
431
+ className: t("inline-flex items-center rounded-full px-2 py-0.5 text-xs font-medium", U.isOpen ? "bg-status-success-bg-subtle text-status-success-text" : "bg-status-error-bg-subtle text-status-error-text"),
432
+ children: U.isOpen ? "Open" : "Closed"
421
433
  })]
422
434
  }),
423
435
  /* @__PURE__ */ T("div", {
@@ -430,7 +442,7 @@ function D() {
430
442
  children: [/* @__PURE__ */ w(_, { className: "h-3 w-3" }), " Location"]
431
443
  }), /* @__PURE__ */ w("p", {
432
444
  className: "mt-1 text-sm text-text-primary",
433
- children: H.location.address
445
+ children: U.location.address
434
446
  })]
435
447
  }),
436
448
  /* @__PURE__ */ T("div", {
@@ -440,17 +452,17 @@ function D() {
440
452
  children: [/* @__PURE__ */ w(b, { className: "h-3 w-3" }), " Category"]
441
453
  }), /* @__PURE__ */ w("p", {
442
454
  className: "mt-1 text-sm text-text-primary",
443
- children: H.category
455
+ children: U.category
444
456
  })]
445
457
  }),
446
- H.averageOrderValue && /* @__PURE__ */ T("div", {
458
+ U.averageOrderValue && /* @__PURE__ */ T("div", {
447
459
  className: "rounded-md bg-bg-sunken p-3",
448
460
  children: [/* @__PURE__ */ w("p", {
449
461
  className: "text-xs font-medium text-text-secondary",
450
462
  children: "Average Order"
451
463
  }), /* @__PURE__ */ w("p", {
452
464
  className: "mt-1 text-sm text-text-primary",
453
- children: o(H.averageOrderValue, { minimumFractionDigits: 0 })
465
+ children: o(U.averageOrderValue, { minimumFractionDigits: 0 })
454
466
  })]
455
467
  }),
456
468
  /* @__PURE__ */ T("div", {
@@ -460,7 +472,7 @@ function D() {
460
472
  children: [/* @__PURE__ */ w(p, { className: "h-3 w-3" }), " Estimated Time"]
461
473
  }), /* @__PURE__ */ T("p", {
462
474
  className: "mt-1 text-sm text-text-primary",
463
- children: [H.estimatedTime, " minutes"]
475
+ children: [U.estimatedTime, " minutes"]
464
476
  })]
465
477
  }),
466
478
  /* @__PURE__ */ T("div", {
@@ -470,10 +482,10 @@ function D() {
470
482
  children: "Distance"
471
483
  }), /* @__PURE__ */ w("p", {
472
484
  className: "mt-1 text-sm text-text-primary",
473
- children: s(H.distance)
485
+ children: s(U.distance)
474
486
  })]
475
487
  }),
476
- H.isVerified && /* @__PURE__ */ T("div", {
488
+ U.isVerified && /* @__PURE__ */ T("div", {
477
489
  className: "rounded-md bg-bg-sunken p-3",
478
490
  children: [/* @__PURE__ */ T("p", {
479
491
  className: "text-xs font-medium text-text-secondary flex items-center gap-1",
@@ -485,27 +497,27 @@ function D() {
485
497
  })
486
498
  ]
487
499
  }),
488
- H.serviceTypes && H.serviceTypes.length > 0 && /* @__PURE__ */ T("div", {
500
+ U.serviceTypes && U.serviceTypes.length > 0 && /* @__PURE__ */ T("div", {
489
501
  className: "mb-4",
490
502
  children: [/* @__PURE__ */ w("p", {
491
503
  className: "text-xs font-medium text-text-secondary mb-2",
492
504
  children: "Service Types"
493
505
  }), /* @__PURE__ */ w("div", {
494
506
  className: "flex flex-wrap gap-2",
495
- children: H.serviceTypes.map((e) => /* @__PURE__ */ w("span", {
507
+ children: U.serviceTypes.map((e) => /* @__PURE__ */ w("span", {
496
508
  className: "rounded-full bg-bg-sunken px-2.5 py-1 text-xs text-text-secondary capitalize",
497
509
  children: e.replace(/_/g, " ")
498
510
  }, e))
499
511
  })]
500
512
  }),
501
- H.businessHours && Object.keys(H.businessHours).length > 0 && /* @__PURE__ */ T("div", {
513
+ U.businessHours && Object.keys(U.businessHours).length > 0 && /* @__PURE__ */ T("div", {
502
514
  className: "mb-4",
503
515
  children: [/* @__PURE__ */ w("p", {
504
516
  className: "text-xs font-medium text-text-secondary mb-2",
505
517
  children: "Operating Hours"
506
518
  }), /* @__PURE__ */ w("div", {
507
519
  className: "space-y-1",
508
- children: Object.entries(H.businessHours).map(([e, t]) => /* @__PURE__ */ T("div", {
520
+ children: Object.entries(U.businessHours).map(([e, t]) => /* @__PURE__ */ T("div", {
509
521
  className: "flex justify-between text-xs",
510
522
  children: [/* @__PURE__ */ w("span", {
511
523
  className: "capitalize text-text-primary",
@@ -522,15 +534,15 @@ function D() {
522
534
  children: [/* @__PURE__ */ w("button", {
523
535
  type: "button",
524
536
  onClick: () => {
525
- V(!1), D(`/customer/carts/${H.id}`);
537
+ H(!1), O(`/customer/carts/${U.id}`);
526
538
  },
527
- disabled: !H.isOpen,
528
- className: t("flex-1 rounded-lg py-2.5 text-sm font-medium transition-opacity", H.isOpen ? "bg-foreground text-background hover:opacity-90" : "bg-bg-sunken text-text-secondary cursor-not-allowed"),
529
- children: H.isOpen ? "View Menu" : "Currently Closed"
539
+ disabled: !U.isOpen,
540
+ className: t("flex-1 rounded-lg py-2.5 text-sm font-medium transition-opacity", U.isOpen ? "bg-foreground text-background hover:opacity-90" : "bg-bg-sunken text-text-secondary cursor-not-allowed"),
541
+ children: U.isOpen ? "View Menu" : "Currently Closed"
530
542
  }), /* @__PURE__ */ w("button", {
531
543
  type: "button",
532
- onClick: () => V(!1),
533
- className: "rounded-lg border border-border-subtle px-4 py-2.5 text-sm font-medium text-text-primary hover:bg-accent transition-colors",
544
+ onClick: () => H(!1),
545
+ className: "rounded-lg border border-border-seam px-4 py-2.5 text-sm font-medium text-text-primary hover:bg-accent transition-colors",
534
546
  children: "Close"
535
547
  })]
536
548
  })
@@ -542,6 +554,6 @@ function D() {
542
554
  });
543
555
  }
544
556
  //#endregion
545
- export { D as CartDiscoveryPage };
557
+ export { O as CartDiscoveryPage };
546
558
 
547
559
  //# sourceMappingURL=CartDiscoveryPage.js.map