@burdenoff/microfe-adaptercloud 2026.614.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 (110) hide show
  1. package/dist/adaptercloud/components/EmptyState.js +17 -21
  2. package/dist/adaptercloud/components/EmptyState.js.map +1 -1
  3. package/dist/adaptercloud/components/InvestmentCard.js +30 -28
  4. package/dist/adaptercloud/components/InvestmentCard.js.map +1 -1
  5. package/dist/adaptercloud/components/MetricsCard.js +21 -15
  6. package/dist/adaptercloud/components/MetricsCard.js.map +1 -1
  7. package/dist/adaptercloud/components/PageLayout.js +38 -19
  8. package/dist/adaptercloud/components/PageLayout.js.map +1 -1
  9. package/dist/adaptercloud/components/RatingDisplay.js +3 -3
  10. package/dist/adaptercloud/components/RatingDisplay.js.map +1 -1
  11. package/dist/adaptercloud/components/StatusBadge.js +36 -16
  12. package/dist/adaptercloud/components/StatusBadge.js.map +1 -1
  13. package/dist/adaptercloud/pages/HomePage.js +286 -275
  14. package/dist/adaptercloud/pages/HomePage.js.map +1 -1
  15. package/dist/adaptercloud/pages/admin/AdminAnalyticsPage.js +87 -87
  16. package/dist/adaptercloud/pages/admin/AdminAnalyticsPage.js.map +1 -1
  17. package/dist/adaptercloud/pages/admin/AdminDashboard.js +101 -101
  18. package/dist/adaptercloud/pages/admin/AdminDashboard.js.map +1 -1
  19. package/dist/adaptercloud/pages/admin/AdminFinancialPage.js +48 -48
  20. package/dist/adaptercloud/pages/admin/AdminFinancialPage.js.map +1 -1
  21. package/dist/adaptercloud/pages/admin/AdminOrdersPage.js +95 -95
  22. package/dist/adaptercloud/pages/admin/AdminOrdersPage.js.map +1 -1
  23. package/dist/adaptercloud/pages/admin/AdminProfilePage.js +34 -34
  24. package/dist/adaptercloud/pages/admin/AdminProfilePage.js.map +1 -1
  25. package/dist/adaptercloud/pages/admin/AdminSettingsPage.js +40 -40
  26. package/dist/adaptercloud/pages/admin/AdminSettingsPage.js.map +1 -1
  27. package/dist/adaptercloud/pages/admin/CartManagementPage.js +107 -107
  28. package/dist/adaptercloud/pages/admin/CartManagementPage.js.map +1 -1
  29. package/dist/adaptercloud/pages/admin/UserManagementPage.js +98 -98
  30. package/dist/adaptercloud/pages/admin/UserManagementPage.js.map +1 -1
  31. package/dist/adaptercloud/pages/cart-owner/AnalyticsDashboard.js +117 -117
  32. package/dist/adaptercloud/pages/cart-owner/AnalyticsDashboard.js.map +1 -1
  33. package/dist/adaptercloud/pages/cart-owner/BusinessSettingsPage.js +33 -33
  34. package/dist/adaptercloud/pages/cart-owner/BusinessSettingsPage.js.map +1 -1
  35. package/dist/adaptercloud/pages/cart-owner/CartOwnerDashboard.js +112 -109
  36. package/dist/adaptercloud/pages/cart-owner/CartOwnerDashboard.js.map +1 -1
  37. package/dist/adaptercloud/pages/cart-owner/CartOwnerProfilePage.js +115 -115
  38. package/dist/adaptercloud/pages/cart-owner/CartOwnerProfilePage.js.map +1 -1
  39. package/dist/adaptercloud/pages/cart-owner/CartServiceConfigPage.js +85 -85
  40. package/dist/adaptercloud/pages/cart-owner/CartServiceConfigPage.js.map +1 -1
  41. package/dist/adaptercloud/pages/cart-owner/InventoryManagementPage.js +106 -106
  42. package/dist/adaptercloud/pages/cart-owner/InventoryManagementPage.js.map +1 -1
  43. package/dist/adaptercloud/pages/cart-owner/OrderManagementPage.js +88 -88
  44. package/dist/adaptercloud/pages/cart-owner/OrderManagementPage.js.map +1 -1
  45. package/dist/adaptercloud/pages/cart-owner/StaffManagementPage.js +94 -94
  46. package/dist/adaptercloud/pages/cart-owner/StaffManagementPage.js.map +1 -1
  47. package/dist/adaptercloud/pages/common/HelpSupportPage.js +142 -142
  48. package/dist/adaptercloud/pages/common/HelpSupportPage.js.map +1 -1
  49. package/dist/adaptercloud/pages/common/NotificationCenterPage.js +67 -66
  50. package/dist/adaptercloud/pages/common/NotificationCenterPage.js.map +1 -1
  51. package/dist/adaptercloud/pages/common/SettingsPage.js +115 -115
  52. package/dist/adaptercloud/pages/common/SettingsPage.js.map +1 -1
  53. package/dist/adaptercloud/pages/customer/BookingDetailsPage.js +74 -73
  54. package/dist/adaptercloud/pages/customer/BookingDetailsPage.js.map +1 -1
  55. package/dist/adaptercloud/pages/customer/CartDetailPage.js +87 -86
  56. package/dist/adaptercloud/pages/customer/CartDetailPage.js.map +1 -1
  57. package/dist/adaptercloud/pages/customer/CartDiscoveryPage.js +66 -65
  58. package/dist/adaptercloud/pages/customer/CartDiscoveryPage.js.map +1 -1
  59. package/dist/adaptercloud/pages/customer/CheckoutPage.js +80 -80
  60. package/dist/adaptercloud/pages/customer/CheckoutPage.js.map +1 -1
  61. package/dist/adaptercloud/pages/customer/CustomerDashboard.js +88 -88
  62. package/dist/adaptercloud/pages/customer/CustomerDashboard.js.map +1 -1
  63. package/dist/adaptercloud/pages/customer/CustomerProfilePage.js +84 -84
  64. package/dist/adaptercloud/pages/customer/CustomerProfilePage.js.map +1 -1
  65. package/dist/adaptercloud/pages/customer/DirectServiceBookingPage.js +92 -91
  66. package/dist/adaptercloud/pages/customer/DirectServiceBookingPage.js.map +1 -1
  67. package/dist/adaptercloud/pages/customer/FavoritesPage.js +34 -33
  68. package/dist/adaptercloud/pages/customer/FavoritesPage.js.map +1 -1
  69. package/dist/adaptercloud/pages/customer/OrderHistoryPage.js +44 -43
  70. package/dist/adaptercloud/pages/customer/OrderHistoryPage.js.map +1 -1
  71. package/dist/adaptercloud/pages/customer/OrderTrackingPage.js +61 -60
  72. package/dist/adaptercloud/pages/customer/OrderTrackingPage.js.map +1 -1
  73. package/dist/adaptercloud/pages/customer/PaymentMethodsPage.js +58 -57
  74. package/dist/adaptercloud/pages/customer/PaymentMethodsPage.js.map +1 -1
  75. package/dist/adaptercloud/pages/customer/ReviewsPage.js +48 -47
  76. package/dist/adaptercloud/pages/customer/ReviewsPage.js.map +1 -1
  77. package/dist/adaptercloud/pages/customer/SavedAddressesPage.js +46 -45
  78. package/dist/adaptercloud/pages/customer/SavedAddressesPage.js.map +1 -1
  79. package/dist/adaptercloud/pages/investor/InvestmentDetailsPage.js +128 -128
  80. package/dist/adaptercloud/pages/investor/InvestmentDetailsPage.js.map +1 -1
  81. package/dist/adaptercloud/pages/investor/InvestmentOpportunitiesPage.js +88 -87
  82. package/dist/adaptercloud/pages/investor/InvestmentOpportunitiesPage.js.map +1 -1
  83. package/dist/adaptercloud/pages/investor/InvestorAnalyticsPage.js +88 -88
  84. package/dist/adaptercloud/pages/investor/InvestorAnalyticsPage.js.map +1 -1
  85. package/dist/adaptercloud/pages/investor/InvestorDashboard.js +62 -62
  86. package/dist/adaptercloud/pages/investor/InvestorDashboard.js.map +1 -1
  87. package/dist/adaptercloud/pages/investor/InvestorInvestmentsPage.js +39 -38
  88. package/dist/adaptercloud/pages/investor/InvestorInvestmentsPage.js.map +1 -1
  89. package/dist/adaptercloud/pages/investor/InvestorPortfolioPage.js +66 -66
  90. package/dist/adaptercloud/pages/investor/InvestorPortfolioPage.js.map +1 -1
  91. package/dist/adaptercloud/pages/investor/InvestorProfilePage.js +153 -153
  92. package/dist/adaptercloud/pages/investor/InvestorProfilePage.js.map +1 -1
  93. package/dist/adaptercloud/pages/worker/TaskDetailsPage.js +81 -80
  94. package/dist/adaptercloud/pages/worker/TaskDetailsPage.js.map +1 -1
  95. package/dist/adaptercloud/pages/worker/WorkerDashboard.js +106 -106
  96. package/dist/adaptercloud/pages/worker/WorkerDashboard.js.map +1 -1
  97. package/dist/adaptercloud/pages/worker/WorkerOrdersPage.js +73 -72
  98. package/dist/adaptercloud/pages/worker/WorkerOrdersPage.js.map +1 -1
  99. package/dist/adaptercloud/pages/worker/WorkerProfilePage.js +107 -107
  100. package/dist/adaptercloud/pages/worker/WorkerProfilePage.js.map +1 -1
  101. package/dist/adaptercloud/pages/worker/WorkerSchedulePage.js +71 -69
  102. package/dist/adaptercloud/pages/worker/WorkerSchedulePage.js.map +1 -1
  103. package/dist/adaptercloud/utils/cn.js +2 -2
  104. package/dist/node_modules/{.bun/clsx@2.1.1/node_modules/clsx → clsx}/dist/clsx.js +1 -1
  105. package/dist/node_modules/clsx/dist/clsx.js.map +1 -0
  106. package/dist/node_modules/{.bun/tailwind-merge@3.5.0/node_modules/tailwind-merge → tailwind-merge}/dist/bundle-mjs.js +212 -170
  107. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js.map +1 -0
  108. package/package.json +3 -3
  109. package/dist/node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.js.map +0 -1
  110. package/dist/node_modules/.bun/tailwind-merge@3.5.0/node_modules/tailwind-merge/dist/bundle-mjs.js.map +0 -1
@@ -83,18 +83,18 @@ function D() {
83
83
  hour: "2-digit",
84
84
  minute: "2-digit"
85
85
  }), K = (e) => ({
86
- delivered: "bg-green-500/20 text-green-600 dark:text-green-400",
87
- preparing: "bg-yellow-500/20 text-yellow-600 dark:text-yellow-400",
88
- ready: "bg-yellow-500/20 text-yellow-600 dark:text-yellow-400",
89
- out_for_delivery: "bg-blue-500/20 text-blue-600 dark:text-blue-400",
90
- cancelled: "bg-red-500/20 text-red-600 dark:text-red-400",
91
- confirmed: "bg-blue-500/20 text-blue-600 dark:text-blue-400"
86
+ delivered: "bg-status-success-bg-subtle/20 text-status-success-text",
87
+ preparing: "bg-status-warning-bg-subtle/20 text-status-warning-text",
88
+ ready: "bg-status-warning-bg-subtle/20 text-status-warning-text",
89
+ out_for_delivery: "bg-accent-blue-subtle/20 text-accent-blue",
90
+ cancelled: "bg-status-error-bg-subtle/20 text-status-error-text",
91
+ confirmed: "bg-accent-blue-subtle/20 text-accent-blue"
92
92
  })[e] ?? "bg-secondary text-secondary-foreground", q = (e) => {
93
93
  switch (e) {
94
- case "completed": return /* @__PURE__ */ w(l, { className: "h-4 w-4 text-green-600 dark:text-green-400" });
95
- case "failed": return /* @__PURE__ */ w(C, { className: "h-4 w-4 text-red-600 dark:text-red-400" });
96
- case "refunded": return /* @__PURE__ */ w(g, { className: "h-4 w-4 text-blue-600 dark:text-blue-400" });
97
- default: return /* @__PURE__ */ w(c, { className: "h-4 w-4 text-yellow-600 dark:text-yellow-400" });
94
+ case "completed": return /* @__PURE__ */ w(l, { className: "h-4 w-4 text-status-success-text" });
95
+ case "failed": return /* @__PURE__ */ w(C, { className: "h-4 w-4 text-status-error-text" });
96
+ case "refunded": return /* @__PURE__ */ w(g, { className: "h-4 w-4 text-accent-blue" });
97
+ default: return /* @__PURE__ */ w(c, { className: "h-4 w-4 text-status-warning-text" });
98
98
  }
99
99
  }, J = o(() => O.filter((e) => {
100
100
  let t = !P || e.id.toLowerCase().includes(P.toLowerCase()) || e.customerName.toLowerCase().includes(P.toLowerCase()) || e.cartName.toLowerCase().includes(P.toLowerCase()), n = I === "all" || e.status === I;
@@ -114,8 +114,8 @@ function D() {
114
114
  description: "Loading orders...",
115
115
  children: /* @__PURE__ */ T("div", {
116
116
  className: "flex flex-col items-center justify-center py-20",
117
- children: [/* @__PURE__ */ w(p, { className: "h-10 w-10 animate-spin text-muted-foreground mb-4" }), /* @__PURE__ */ w("p", {
118
- className: "text-muted-foreground",
117
+ children: [/* @__PURE__ */ w(p, { className: "h-10 w-10 animate-spin text-text-secondary mb-4" }), /* @__PURE__ */ w("p", {
118
+ className: "text-text-secondary",
119
119
  children: "Loading orders..."
120
120
  })]
121
121
  })
@@ -154,24 +154,24 @@ function D() {
154
154
  ]
155
155
  }),
156
156
  /* @__PURE__ */ w("div", {
157
- className: "rounded-lg border border-border bg-card p-4 mb-6",
157
+ className: "rounded-lg border border-border-seam bg-bg-surface p-4 mb-6 bg-gloss-card shadow-pop",
158
158
  children: /* @__PURE__ */ T("div", {
159
159
  className: "flex flex-col gap-4",
160
160
  children: [/* @__PURE__ */ T("div", {
161
161
  className: "relative flex-1",
162
- children: [/* @__PURE__ */ w(_, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-muted-foreground" }), /* @__PURE__ */ w("input", {
162
+ children: [/* @__PURE__ */ w(_, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-text-secondary" }), /* @__PURE__ */ w("input", {
163
163
  type: "text",
164
164
  placeholder: "Search by order ID, customer, or cart name...",
165
165
  value: P,
166
166
  onChange: (e) => F(e.target.value),
167
- className: "w-full rounded-lg border border-border bg-card py-2 pl-10 pr-4 text-sm text-foreground placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring"
167
+ className: "w-full rounded-lg border border-border-subtle bg-bg-surface py-2 pl-10 pr-4 text-sm text-text-primary placeholder:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
168
168
  })]
169
169
  }), /* @__PURE__ */ T("div", {
170
170
  className: "grid grid-cols-1 sm:grid-cols-2 gap-3",
171
171
  children: [/* @__PURE__ */ T("select", {
172
172
  value: I,
173
173
  onChange: (e) => L(e.target.value),
174
- 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",
174
+ 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)]",
175
175
  children: [
176
176
  /* @__PURE__ */ w("option", {
177
177
  value: "all",
@@ -209,7 +209,7 @@ function D() {
209
209
  }), /* @__PURE__ */ T("select", {
210
210
  value: R,
211
211
  onChange: (e) => z(e.target.value),
212
- 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",
212
+ 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)]",
213
213
  children: [
214
214
  /* @__PURE__ */ w("option", {
215
215
  value: "today",
@@ -233,20 +233,20 @@ function D() {
233
233
  })
234
234
  }),
235
235
  /* @__PURE__ */ T("div", {
236
- className: "rounded-lg border border-border bg-card overflow-hidden",
236
+ className: "rounded-lg border border-border-subtle bg-bg-surface overflow-hidden",
237
237
  children: [
238
238
  /* @__PURE__ */ w("div", {
239
239
  className: "block md:hidden space-y-4 p-4",
240
240
  children: J.map((e) => /* @__PURE__ */ T("div", {
241
- className: "rounded-lg border border-border bg-muted/30 p-4",
241
+ className: "rounded-lg border border-border-subtle bg-bg-sunken/30 p-4",
242
242
  children: [
243
243
  /* @__PURE__ */ T("div", {
244
244
  className: "flex justify-between items-start mb-3",
245
245
  children: [/* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("h3", {
246
- className: "font-medium text-foreground text-lg",
246
+ className: "font-medium text-text-primary text-lg",
247
247
  children: e.id
248
248
  }), /* @__PURE__ */ w("p", {
249
- className: "text-sm text-muted-foreground",
249
+ className: "text-sm text-text-secondary",
250
250
  children: G(e.orderDate)
251
251
  })] }), /* @__PURE__ */ w("span", {
252
252
  className: t("inline-flex items-center rounded-full px-2.5 py-0.5 text-xs font-medium capitalize", K(e.status)),
@@ -257,28 +257,28 @@ function D() {
257
257
  className: "grid grid-cols-2 gap-4 mb-3 text-sm",
258
258
  children: [/* @__PURE__ */ T("div", { children: [
259
259
  /* @__PURE__ */ w("p", {
260
- className: "text-muted-foreground font-medium",
260
+ className: "text-text-secondary font-medium",
261
261
  children: "Customer"
262
262
  }),
263
263
  /* @__PURE__ */ w("p", {
264
- className: "text-foreground",
264
+ className: "text-text-primary",
265
265
  children: e.customerName
266
266
  }),
267
267
  /* @__PURE__ */ w("p", {
268
- className: "text-muted-foreground text-xs",
268
+ className: "text-text-secondary text-xs",
269
269
  children: e.customerPhone
270
270
  })
271
271
  ] }), /* @__PURE__ */ T("div", { children: [
272
272
  /* @__PURE__ */ w("p", {
273
- className: "text-muted-foreground font-medium",
273
+ className: "text-text-secondary font-medium",
274
274
  children: "Cart"
275
275
  }),
276
276
  /* @__PURE__ */ w("p", {
277
- className: "text-foreground",
277
+ className: "text-text-primary",
278
278
  children: e.cartName
279
279
  }),
280
280
  /* @__PURE__ */ w("p", {
281
- className: "text-muted-foreground text-xs",
281
+ className: "text-text-secondary text-xs",
282
282
  children: e.cartOwner
283
283
  })
284
284
  ] })]
@@ -286,20 +286,20 @@ function D() {
286
286
  /* @__PURE__ */ T("div", {
287
287
  className: "flex justify-between items-center mb-3",
288
288
  children: [/* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("p", {
289
- className: "text-muted-foreground font-medium text-sm",
289
+ className: "text-text-secondary font-medium text-sm",
290
290
  children: "Amount"
291
291
  }), /* @__PURE__ */ w("p", {
292
- className: "text-foreground font-semibold text-lg",
292
+ className: "text-text-primary font-semibold text-lg",
293
293
  children: W(e.total)
294
294
  })] }), /* @__PURE__ */ T("div", {
295
295
  className: "flex items-center gap-2",
296
296
  children: [q(e.paymentStatus), /* @__PURE__ */ T("div", {
297
297
  className: "text-right",
298
298
  children: [/* @__PURE__ */ w("p", {
299
- className: "text-sm text-foreground",
299
+ className: "text-sm text-text-primary",
300
300
  children: e.paymentMethod
301
301
  }), /* @__PURE__ */ w("p", {
302
- className: "text-xs text-muted-foreground capitalize",
302
+ className: "text-xs text-text-secondary capitalize",
303
303
  children: e.paymentStatus
304
304
  })]
305
305
  })]
@@ -310,7 +310,7 @@ function D() {
310
310
  onClick: () => {
311
311
  V(e), U(!0);
312
312
  },
313
- className: "w-full rounded-lg border border-border py-2 text-sm font-medium text-foreground hover:bg-accent transition-colors flex items-center justify-center gap-2",
313
+ className: "w-full rounded-lg border border-border-subtle py-2 text-sm font-medium text-text-primary hover:bg-accent transition-colors flex items-center justify-center gap-2",
314
314
  children: [/* @__PURE__ */ w(d, { className: "h-4 w-4" }), " View Details"]
315
315
  })
316
316
  ]
@@ -321,38 +321,38 @@ function D() {
321
321
  children: /* @__PURE__ */ T("table", {
322
322
  className: "w-full",
323
323
  children: [/* @__PURE__ */ w("thead", { children: /* @__PURE__ */ T("tr", {
324
- className: "border-b border-border bg-muted/50",
324
+ className: "border-b border-border-subtle bg-bg-sunken/50",
325
325
  children: [
326
326
  /* @__PURE__ */ w("th", {
327
- className: "px-4 py-3 text-left text-xs font-medium text-muted-foreground uppercase tracking-wider",
327
+ className: "px-4 py-3 text-left text-xs font-medium text-text-secondary uppercase tracking-wider",
328
328
  children: "Order ID"
329
329
  }),
330
330
  /* @__PURE__ */ w("th", {
331
- className: "px-4 py-3 text-left text-xs font-medium text-muted-foreground uppercase tracking-wider",
331
+ className: "px-4 py-3 text-left text-xs font-medium text-text-secondary uppercase tracking-wider",
332
332
  children: "Customer"
333
333
  }),
334
334
  /* @__PURE__ */ w("th", {
335
- className: "px-4 py-3 text-left text-xs font-medium text-muted-foreground uppercase tracking-wider",
335
+ className: "px-4 py-3 text-left text-xs font-medium text-text-secondary uppercase tracking-wider",
336
336
  children: "Cart"
337
337
  }),
338
338
  /* @__PURE__ */ w("th", {
339
- className: "px-4 py-3 text-left text-xs font-medium text-muted-foreground uppercase tracking-wider",
339
+ className: "px-4 py-3 text-left text-xs font-medium text-text-secondary uppercase tracking-wider",
340
340
  children: "Amount"
341
341
  }),
342
342
  /* @__PURE__ */ w("th", {
343
- className: "px-4 py-3 text-left text-xs font-medium text-muted-foreground uppercase tracking-wider",
343
+ className: "px-4 py-3 text-left text-xs font-medium text-text-secondary uppercase tracking-wider",
344
344
  children: "Status"
345
345
  }),
346
346
  /* @__PURE__ */ w("th", {
347
- className: "px-4 py-3 text-left text-xs font-medium text-muted-foreground uppercase tracking-wider",
347
+ className: "px-4 py-3 text-left text-xs font-medium text-text-secondary uppercase tracking-wider",
348
348
  children: "Payment"
349
349
  }),
350
350
  /* @__PURE__ */ w("th", {
351
- className: "px-4 py-3 text-left text-xs font-medium text-muted-foreground uppercase tracking-wider",
351
+ className: "px-4 py-3 text-left text-xs font-medium text-text-secondary uppercase tracking-wider",
352
352
  children: "Time"
353
353
  }),
354
354
  /* @__PURE__ */ w("th", {
355
- className: "px-4 py-3 text-left text-xs font-medium text-muted-foreground uppercase tracking-wider",
355
+ className: "px-4 py-3 text-left text-xs font-medium text-text-secondary uppercase tracking-wider",
356
356
  children: "Actions"
357
357
  })
358
358
  ]
@@ -362,31 +362,31 @@ function D() {
362
362
  className: "hover:bg-accent/50 transition-colors",
363
363
  children: [
364
364
  /* @__PURE__ */ w("td", {
365
- className: "px-4 py-3 text-sm font-mono font-medium text-foreground",
365
+ className: "px-4 py-3 text-sm font-mono font-medium text-text-primary",
366
366
  children: e.id
367
367
  }),
368
368
  /* @__PURE__ */ T("td", {
369
369
  className: "px-4 py-3",
370
370
  children: [/* @__PURE__ */ w("div", {
371
- className: "text-sm font-medium text-foreground",
371
+ className: "text-sm font-medium text-text-primary",
372
372
  children: e.customerName
373
373
  }), /* @__PURE__ */ w("div", {
374
- className: "text-xs text-muted-foreground",
374
+ className: "text-xs text-text-secondary",
375
375
  children: e.customerPhone
376
376
  })]
377
377
  }),
378
378
  /* @__PURE__ */ T("td", {
379
379
  className: "px-4 py-3",
380
380
  children: [/* @__PURE__ */ w("div", {
381
- className: "text-sm font-medium text-foreground",
381
+ className: "text-sm font-medium text-text-primary",
382
382
  children: e.cartName
383
383
  }), /* @__PURE__ */ w("div", {
384
- className: "text-xs text-muted-foreground",
384
+ className: "text-xs text-text-secondary",
385
385
  children: e.cartOwner
386
386
  })]
387
387
  }),
388
388
  /* @__PURE__ */ w("td", {
389
- className: "px-4 py-3 text-sm font-semibold text-foreground",
389
+ className: "px-4 py-3 text-sm font-semibold text-text-primary",
390
390
  children: W(e.total)
391
391
  }),
392
392
  /* @__PURE__ */ w("td", {
@@ -401,16 +401,16 @@ function D() {
401
401
  children: /* @__PURE__ */ T("div", {
402
402
  className: "flex items-center gap-2",
403
403
  children: [q(e.paymentStatus), /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("div", {
404
- className: "text-sm text-foreground",
404
+ className: "text-sm text-text-primary",
405
405
  children: e.paymentMethod
406
406
  }), /* @__PURE__ */ w("div", {
407
- className: "text-xs text-muted-foreground capitalize",
407
+ className: "text-xs text-text-secondary capitalize",
408
408
  children: e.paymentStatus
409
409
  })] })]
410
410
  })
411
411
  }),
412
412
  /* @__PURE__ */ w("td", {
413
- className: "px-4 py-3 text-sm text-muted-foreground",
413
+ className: "px-4 py-3 text-sm text-text-secondary",
414
414
  children: G(e.orderDate)
415
415
  }),
416
416
  /* @__PURE__ */ w("td", {
@@ -420,7 +420,7 @@ function D() {
420
420
  onClick: () => {
421
421
  V(e), U(!0);
422
422
  },
423
- className: "rounded p-1.5 text-muted-foreground hover:text-foreground hover:bg-accent transition-colors",
423
+ className: "rounded p-1.5 text-text-secondary hover:text-text-primary hover:bg-accent transition-colors",
424
424
  children: /* @__PURE__ */ w(d, { className: "h-4 w-4" })
425
425
  })
426
426
  })
@@ -431,8 +431,8 @@ function D() {
431
431
  }),
432
432
  J.length === 0 && /* @__PURE__ */ T("div", {
433
433
  className: "flex flex-col items-center justify-center py-12 px-4",
434
- children: [/* @__PURE__ */ w(v, { className: "h-10 w-10 text-muted-foreground/50 mb-3" }), /* @__PURE__ */ w("p", {
435
- className: "text-sm text-muted-foreground",
434
+ children: [/* @__PURE__ */ w(v, { className: "h-10 w-10 text-text-secondary/50 mb-3" }), /* @__PURE__ */ w("p", {
435
+ className: "text-sm text-text-secondary",
436
436
  children: "No orders found matching your criteria"
437
437
  })]
438
438
  })
@@ -441,167 +441,167 @@ function D() {
441
441
  H && B && /* @__PURE__ */ w("div", {
442
442
  className: "fixed inset-0 z-50 flex items-center justify-center bg-black/50 p-4",
443
443
  children: /* @__PURE__ */ T("div", {
444
- className: "w-full max-w-2xl rounded-lg border border-border bg-card shadow-lg max-h-[90vh] overflow-y-auto",
444
+ className: "w-full max-w-2xl rounded-lg border border-border-subtle bg-bg-surface shadow-lg max-h-[90vh] overflow-y-auto",
445
445
  children: [/* @__PURE__ */ T("div", {
446
- className: "flex items-center justify-between p-4 border-b border-border",
446
+ className: "flex items-center justify-between p-4 border-b border-border-subtle",
447
447
  children: [/* @__PURE__ */ w("h2", {
448
- className: "text-lg font-semibold text-foreground",
448
+ className: "text-lg font-semibold text-text-primary",
449
449
  children: "Order Details"
450
450
  }), /* @__PURE__ */ w("button", {
451
451
  type: "button",
452
452
  onClick: () => U(!1),
453
- className: "rounded p-1.5 text-muted-foreground hover:text-foreground hover:bg-accent transition-colors",
453
+ className: "rounded p-1.5 text-text-secondary hover:text-text-primary hover:bg-accent transition-colors",
454
454
  children: /* @__PURE__ */ w(S, { className: "h-5 w-5" })
455
455
  })]
456
456
  }), /* @__PURE__ */ T("div", {
457
457
  className: "p-4 space-y-6",
458
458
  children: [
459
459
  /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("h3", {
460
- className: "font-semibold text-foreground mb-3",
460
+ className: "font-semibold text-text-primary mb-3",
461
461
  children: "Order Information"
462
462
  }), /* @__PURE__ */ T("div", {
463
463
  className: "grid grid-cols-1 sm:grid-cols-2 gap-4",
464
464
  children: [
465
465
  /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("p", {
466
- className: "text-sm text-muted-foreground",
466
+ className: "text-sm text-text-secondary",
467
467
  children: "Order ID"
468
468
  }), /* @__PURE__ */ w("p", {
469
- className: "font-medium text-foreground",
469
+ className: "font-medium text-text-primary",
470
470
  children: B.id
471
471
  })] }),
472
472
  /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("p", {
473
- className: "text-sm text-muted-foreground",
473
+ className: "text-sm text-text-secondary",
474
474
  children: "Status"
475
475
  }), /* @__PURE__ */ w("span", {
476
476
  className: t("inline-flex items-center rounded-full px-2.5 py-0.5 text-xs font-medium capitalize", K(B.status)),
477
477
  children: B.status.replace("_", " ")
478
478
  })] }),
479
479
  /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("p", {
480
- className: "text-sm text-muted-foreground",
480
+ className: "text-sm text-text-secondary",
481
481
  children: "Order Date"
482
482
  }), /* @__PURE__ */ w("p", {
483
- className: "font-medium text-foreground",
483
+ className: "font-medium text-text-primary",
484
484
  children: G(B.orderDate)
485
485
  })] }),
486
486
  /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("p", {
487
- className: "text-sm text-muted-foreground",
487
+ className: "text-sm text-text-secondary",
488
488
  children: "Delivery Time"
489
489
  }), /* @__PURE__ */ w("p", {
490
- className: "font-medium text-foreground",
490
+ className: "font-medium text-text-primary",
491
491
  children: G(B.deliveryTime)
492
492
  })] })
493
493
  ]
494
494
  })] }),
495
495
  /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ T("h3", {
496
- className: "font-semibold text-foreground mb-3 flex items-center gap-2",
496
+ className: "font-semibold text-text-primary mb-3 flex items-center gap-2",
497
497
  children: [/* @__PURE__ */ w(x, { className: "h-4 w-4" }), " Customer Details"]
498
498
  }), /* @__PURE__ */ T("div", {
499
499
  className: "grid grid-cols-1 sm:grid-cols-2 gap-4",
500
500
  children: [
501
501
  /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("p", {
502
- className: "text-sm text-muted-foreground",
502
+ className: "text-sm text-text-secondary",
503
503
  children: "Name"
504
504
  }), /* @__PURE__ */ w("p", {
505
- className: "font-medium text-foreground",
505
+ className: "font-medium text-text-primary",
506
506
  children: B.customerName
507
507
  })] }),
508
508
  /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("p", {
509
- className: "text-sm text-muted-foreground",
509
+ className: "text-sm text-text-secondary",
510
510
  children: "Phone"
511
511
  }), /* @__PURE__ */ T("p", {
512
- className: "font-medium text-foreground flex items-center gap-1",
512
+ className: "font-medium text-text-primary flex items-center gap-1",
513
513
  children: [/* @__PURE__ */ w(h, { className: "h-3 w-3" }), B.customerPhone]
514
514
  })] }),
515
515
  /* @__PURE__ */ T("div", {
516
516
  className: "sm:col-span-2",
517
517
  children: [/* @__PURE__ */ w("p", {
518
- className: "text-sm text-muted-foreground",
518
+ className: "text-sm text-text-secondary",
519
519
  children: "Delivery Address"
520
520
  }), /* @__PURE__ */ T("p", {
521
- className: "font-medium text-foreground flex items-center gap-1",
521
+ className: "font-medium text-text-primary flex items-center gap-1",
522
522
  children: [/* @__PURE__ */ w(m, { className: "h-3 w-3" }), B.deliveryAddress]
523
523
  })]
524
524
  })
525
525
  ]
526
526
  })] }),
527
527
  /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("h3", {
528
- className: "font-semibold text-foreground mb-3",
528
+ className: "font-semibold text-text-primary mb-3",
529
529
  children: "Cart Details"
530
530
  }), /* @__PURE__ */ T("div", {
531
531
  className: "grid grid-cols-1 sm:grid-cols-2 gap-4",
532
532
  children: [/* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("p", {
533
- className: "text-sm text-muted-foreground",
533
+ className: "text-sm text-text-secondary",
534
534
  children: "Cart Name"
535
535
  }), /* @__PURE__ */ w("p", {
536
- className: "font-medium text-foreground",
536
+ className: "font-medium text-text-primary",
537
537
  children: B.cartName
538
538
  })] }), /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("p", {
539
- className: "text-sm text-muted-foreground",
539
+ className: "text-sm text-text-secondary",
540
540
  children: "Cart Owner"
541
541
  }), /* @__PURE__ */ w("p", {
542
- className: "font-medium text-foreground",
542
+ className: "font-medium text-text-primary",
543
543
  children: B.cartOwner
544
544
  })] })]
545
545
  })] }),
546
546
  /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("h3", {
547
- className: "font-semibold text-foreground mb-3",
547
+ className: "font-semibold text-text-primary mb-3",
548
548
  children: "Order Items"
549
549
  }), /* @__PURE__ */ T("div", {
550
- className: "rounded-lg bg-muted/50 p-4",
550
+ className: "rounded-lg bg-bg-sunken/50 p-4",
551
551
  children: [/* @__PURE__ */ w("ul", {
552
552
  className: "space-y-2",
553
553
  children: B.items.map((e, t) => /* @__PURE__ */ w("li", {
554
- className: "text-sm text-foreground",
554
+ className: "text-sm text-text-primary",
555
555
  children: e
556
556
  }, t))
557
557
  }), /* @__PURE__ */ T("div", {
558
- className: "mt-4 pt-4 border-t border-border flex justify-between items-center",
558
+ className: "mt-4 pt-4 border-t border-border-subtle flex justify-between items-center",
559
559
  children: [/* @__PURE__ */ w("span", {
560
- className: "font-semibold text-foreground",
560
+ className: "font-semibold text-text-primary",
561
561
  children: "Total Amount"
562
562
  }), /* @__PURE__ */ w("span", {
563
- className: "font-semibold text-lg text-foreground",
563
+ className: "font-semibold text-lg text-text-primary",
564
564
  children: W(B.total)
565
565
  })]
566
566
  })]
567
567
  })] }),
568
568
  /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("h3", {
569
- className: "font-semibold text-foreground mb-3",
569
+ className: "font-semibold text-text-primary mb-3",
570
570
  children: "Payment Details"
571
571
  }), /* @__PURE__ */ T("div", {
572
572
  className: "grid grid-cols-1 sm:grid-cols-2 gap-4",
573
573
  children: [/* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("p", {
574
- className: "text-sm text-muted-foreground",
574
+ className: "text-sm text-text-secondary",
575
575
  children: "Method"
576
576
  }), /* @__PURE__ */ w("p", {
577
- className: "font-medium text-foreground",
577
+ className: "font-medium text-text-primary",
578
578
  children: B.paymentMethod
579
579
  })] }), /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("p", {
580
- className: "text-sm text-muted-foreground",
580
+ className: "text-sm text-text-secondary",
581
581
  children: "Status"
582
582
  }), /* @__PURE__ */ T("div", {
583
583
  className: "flex items-center gap-2",
584
584
  children: [q(B.paymentStatus), /* @__PURE__ */ w("span", {
585
- className: "font-medium text-foreground capitalize",
585
+ className: "font-medium text-text-primary capitalize",
586
586
  children: B.paymentStatus
587
587
  })]
588
588
  })] })]
589
589
  })] }),
590
590
  B.workerAssigned && /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ T("h3", {
591
- className: "font-semibold text-foreground mb-3 flex items-center gap-2",
591
+ className: "font-semibold text-text-primary mb-3 flex items-center gap-2",
592
592
  children: [/* @__PURE__ */ w(b, { className: "h-4 w-4" }), " Delivery Assignment"]
593
593
  }), /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("p", {
594
- className: "text-sm text-muted-foreground",
594
+ className: "text-sm text-text-secondary",
595
595
  children: "Assigned Worker"
596
596
  }), /* @__PURE__ */ w("p", {
597
- className: "font-medium text-foreground",
597
+ className: "font-medium text-text-primary",
598
598
  children: B.workerAssigned
599
599
  })] })] }),
600
600
  B.notes && /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("h3", {
601
- className: "font-semibold text-foreground mb-3",
601
+ className: "font-semibold text-text-primary mb-3",
602
602
  children: "Special Instructions"
603
603
  }), /* @__PURE__ */ w("p", {
604
- className: "text-sm rounded-lg bg-muted/50 p-3 text-foreground",
604
+ className: "text-sm rounded-lg bg-bg-sunken/50 p-3 text-text-primary",
605
605
  children: B.notes
606
606
  })] }),
607
607
  /* @__PURE__ */ T("div", {
@@ -609,10 +609,10 @@ function D() {
609
609
  children: [/* @__PURE__ */ w("button", {
610
610
  type: "button",
611
611
  onClick: () => U(!1),
612
- className: "rounded-lg border border-border py-2 px-4 text-sm font-medium text-foreground hover:bg-accent transition-colors",
612
+ className: "rounded-lg border border-border-subtle py-2 px-4 text-sm font-medium text-text-primary hover:bg-accent transition-colors",
613
613
  children: "Close"
614
614
  }), B.status !== "delivered" && B.status !== "cancelled" && /* @__PURE__ */ T("select", {
615
- 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",
615
+ 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)]",
616
616
  value: B.status,
617
617
  onChange: (e) => Y(B.id, e.target.value),
618
618
  children: [