@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
@@ -133,17 +133,17 @@ function O(e) {
133
133
  case "delivery": return {
134
134
  icon: C,
135
135
  label: "Delivery",
136
- style: "bg-purple-500/20 text-purple-600 dark:text-purple-400"
136
+ style: "bg-accent-purple-subtle/20 text-accent-purple"
137
137
  };
138
138
  case "pickup": return {
139
139
  icon: x,
140
140
  label: "Pickup",
141
- style: "bg-blue-500/20 text-blue-600 dark:text-blue-400"
141
+ style: "bg-accent-blue-subtle/20 text-accent-blue"
142
142
  };
143
143
  case "preparation": return {
144
144
  icon: f,
145
145
  label: "Preparation",
146
- style: "bg-green-500/20 text-green-600 dark:text-green-400"
146
+ style: "bg-status-success-bg-subtle/20 text-status-success-text"
147
147
  };
148
148
  default: return {
149
149
  icon: v,
@@ -154,10 +154,10 @@ function O(e) {
154
154
  }
155
155
  function k(e) {
156
156
  switch (e) {
157
- case "urgent": return "bg-red-500/20 text-red-600 dark:text-red-400";
158
- case "high": return "bg-orange-500/20 text-orange-600 dark:text-orange-400";
159
- case "medium": return "bg-yellow-500/20 text-yellow-600 dark:text-yellow-400";
160
- case "low": return "bg-green-500/20 text-green-600 dark:text-green-400";
157
+ case "urgent": return "bg-status-error-bg-subtle/20 text-status-error-text";
158
+ case "high": return "bg-accent-orange-subtle/20 text-accent-orange";
159
+ case "medium": return "bg-status-warning-bg-subtle/20 text-status-warning-text";
160
+ case "low": return "bg-status-success-bg-subtle/20 text-status-success-text";
161
161
  default: return "bg-secondary text-secondary-foreground";
162
162
  }
163
163
  }
@@ -239,8 +239,8 @@ var A = () => {
239
239
  className: "flex items-center justify-center py-24",
240
240
  children: /* @__PURE__ */ T("div", {
241
241
  className: "text-center",
242
- children: [/* @__PURE__ */ w(h, { className: "h-10 w-10 animate-spin text-muted-foreground mx-auto mb-4" }), /* @__PURE__ */ w("p", {
243
- className: "text-sm text-muted-foreground",
242
+ children: [/* @__PURE__ */ w(h, { className: "h-10 w-10 animate-spin text-text-secondary mx-auto mb-4" }), /* @__PURE__ */ w("p", {
243
+ className: "text-sm text-text-secondary",
244
244
  children: "Loading tasks..."
245
245
  })]
246
246
  })
@@ -255,81 +255,81 @@ var A = () => {
255
255
  className: "grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-6 gap-3",
256
256
  children: [
257
257
  /* @__PURE__ */ T("div", {
258
- className: "rounded-lg border border-border bg-card p-4 shadow-sm",
258
+ className: "rounded-lg border border-border-seam bg-bg-surface p-4 bg-gloss-card shadow-pop",
259
259
  children: [/* @__PURE__ */ w("p", {
260
- className: "text-xs text-muted-foreground",
260
+ className: "text-xs text-text-secondary",
261
261
  children: "Today's Tasks"
262
262
  }), /* @__PURE__ */ w("p", {
263
- className: "text-2xl font-bold text-foreground",
263
+ className: "text-2xl font-bold text-text-primary",
264
264
  children: F.totalTasks
265
265
  })]
266
266
  }),
267
267
  /* @__PURE__ */ T("div", {
268
- className: "rounded-lg border border-green-500/20 bg-green-500/5 p-4 shadow-sm",
268
+ className: "rounded-lg border border-status-success-border/20 bg-status-success-bg-subtle/5 p-4 shadow-sm",
269
269
  children: [/* @__PURE__ */ w("p", {
270
- className: "text-xs text-green-600 dark:text-green-400",
270
+ className: "text-xs text-status-success-text",
271
271
  children: "Completed"
272
272
  }), /* @__PURE__ */ w("p", {
273
- className: "text-2xl font-bold text-green-600 dark:text-green-400",
273
+ className: "text-2xl font-bold text-status-success-text",
274
274
  children: F.completedToday
275
275
  })]
276
276
  }),
277
277
  /* @__PURE__ */ T("div", {
278
- className: "rounded-lg border border-yellow-500/20 bg-yellow-500/5 p-4 shadow-sm",
278
+ className: "rounded-lg border border-status-warning-border/20 bg-status-warning-bg-subtle/5 p-4 shadow-sm",
279
279
  children: [/* @__PURE__ */ w("p", {
280
- className: "text-xs text-yellow-600 dark:text-yellow-400",
280
+ className: "text-xs text-status-warning-text",
281
281
  children: "Pending"
282
282
  }), /* @__PURE__ */ w("p", {
283
- className: "text-2xl font-bold text-yellow-600 dark:text-yellow-400",
283
+ className: "text-2xl font-bold text-status-warning-text",
284
284
  children: F.pendingTasks
285
285
  })]
286
286
  }),
287
287
  /* @__PURE__ */ T("div", {
288
- className: "rounded-lg border border-border bg-card p-4 shadow-sm",
288
+ className: "rounded-lg border border-border-seam bg-bg-surface p-4 bg-gloss-card shadow-pop",
289
289
  children: [/* @__PURE__ */ w("p", {
290
- className: "text-xs text-muted-foreground",
290
+ className: "text-xs text-text-secondary",
291
291
  children: "Avg Time"
292
292
  }), /* @__PURE__ */ T("p", {
293
- className: "text-2xl font-bold text-foreground",
293
+ className: "text-2xl font-bold text-text-primary",
294
294
  children: [F.averageTime, " min"]
295
295
  })]
296
296
  }),
297
297
  /* @__PURE__ */ T("div", {
298
- className: "rounded-lg border border-border bg-card p-4 shadow-sm",
298
+ className: "rounded-lg border border-border-seam bg-bg-surface p-4 bg-gloss-card shadow-pop",
299
299
  children: [/* @__PURE__ */ w("p", {
300
- className: "text-xs text-muted-foreground",
300
+ className: "text-xs text-text-secondary",
301
301
  children: "Today's Earnings"
302
302
  }), /* @__PURE__ */ w("p", {
303
- className: "text-2xl font-bold text-foreground",
303
+ className: "text-2xl font-bold text-text-primary",
304
304
  children: a(F.earnings, { minimumFractionDigits: 0 })
305
305
  })]
306
306
  }),
307
307
  /* @__PURE__ */ T("div", {
308
- className: "rounded-lg border border-border bg-card p-4 shadow-sm",
308
+ className: "rounded-lg border border-border-seam bg-bg-surface p-4 bg-gloss-card shadow-pop",
309
309
  children: [/* @__PURE__ */ w("p", {
310
- className: "text-xs text-muted-foreground",
310
+ className: "text-xs text-text-secondary",
311
311
  children: "Rating"
312
312
  }), /* @__PURE__ */ T("p", {
313
- className: "text-2xl font-bold text-foreground flex items-center gap-1",
314
- children: [/* @__PURE__ */ w(S, { className: "h-4 w-4 fill-yellow-400 text-yellow-400" }), F.rating]
313
+ className: "text-2xl font-bold text-text-primary flex items-center gap-1",
314
+ children: [/* @__PURE__ */ w(S, { className: "h-4 w-4 fill-status-warning-text text-status-warning-text" }), F.rating]
315
315
  })]
316
316
  })
317
317
  ]
318
318
  }),
319
319
  j && /* @__PURE__ */ T("div", {
320
- className: "rounded-lg border-2 border-blue-500/30 bg-blue-500/5 p-5",
320
+ className: "rounded-lg border-2 border-accent-blue-subtle/30 bg-accent-blue-subtle/5 p-5",
321
321
  children: [/* @__PURE__ */ w("h2", {
322
- className: "text-base font-semibold text-blue-600 dark:text-blue-400 mb-4",
322
+ className: "text-base font-semibold text-accent-blue mb-4",
323
323
  children: "Current Task"
324
324
  }), /* @__PURE__ */ T("div", {
325
- className: "rounded-lg border border-border bg-card p-4",
325
+ className: "rounded-lg border border-border-seam bg-bg-surface p-4 bg-gloss-card shadow-pop",
326
326
  children: [/* @__PURE__ */ T("div", {
327
327
  className: "flex items-center justify-between mb-4",
328
328
  children: [/* @__PURE__ */ T("div", { children: [/* @__PURE__ */ T("div", {
329
329
  className: "flex items-center gap-2 flex-wrap",
330
330
  children: [
331
331
  /* @__PURE__ */ T("h3", {
332
- className: "text-sm font-semibold text-foreground",
332
+ className: "text-sm font-semibold text-text-primary",
333
333
  children: ["Order #", j.orderId]
334
334
  }),
335
335
  (() => {
@@ -345,34 +345,34 @@ var A = () => {
345
345
  })
346
346
  ]
347
347
  }), /* @__PURE__ */ w("p", {
348
- className: "text-xs text-muted-foreground mt-1",
348
+ className: "text-xs text-text-secondary mt-1",
349
349
  children: j.cartName
350
350
  })] }), /* @__PURE__ */ T("div", {
351
351
  className: "text-right",
352
352
  children: [/* @__PURE__ */ w("p", {
353
- className: "text-xl font-bold text-blue-600 dark:text-blue-400",
353
+ className: "text-xl font-bold text-accent-blue",
354
354
  children: D(j.estimatedTime)
355
355
  }), /* @__PURE__ */ w("p", {
356
- className: "text-xs text-muted-foreground",
356
+ className: "text-xs text-text-secondary",
357
357
  children: "Time remaining"
358
358
  })]
359
359
  })]
360
360
  }), /* @__PURE__ */ T("div", {
361
- className: "border-t border-border pt-4",
361
+ className: "border-t border-border-subtle pt-4",
362
362
  children: [
363
363
  /* @__PURE__ */ T("div", {
364
364
  className: "grid grid-cols-1 md:grid-cols-2 gap-4",
365
365
  children: [/* @__PURE__ */ T("div", { children: [
366
366
  /* @__PURE__ */ w("p", {
367
- className: "text-xs font-medium text-muted-foreground",
367
+ className: "text-xs font-medium text-text-secondary",
368
368
  children: "Customer"
369
369
  }),
370
370
  /* @__PURE__ */ w("p", {
371
- className: "text-sm font-medium text-foreground",
371
+ className: "text-sm font-medium text-text-primary",
372
372
  children: j.customerName
373
373
  }),
374
374
  j.address && /* @__PURE__ */ T("p", {
375
- className: "text-xs text-muted-foreground mt-1",
375
+ className: "text-xs text-text-secondary mt-1",
376
376
  children: [
377
377
  j.address.addressLine1,
378
378
  ", ",
@@ -380,12 +380,12 @@ var A = () => {
380
380
  ]
381
381
  })
382
382
  ] }), /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("p", {
383
- className: "text-xs font-medium text-muted-foreground",
383
+ className: "text-xs font-medium text-text-secondary",
384
384
  children: "Items"
385
385
  }), /* @__PURE__ */ w("div", {
386
386
  className: "space-y-0.5",
387
387
  children: j.items.map((e, t) => /* @__PURE__ */ T("p", {
388
- className: "text-xs text-foreground",
388
+ className: "text-xs text-text-primary",
389
389
  children: [
390
390
  e.quantity,
391
391
  "x ",
@@ -395,12 +395,12 @@ var A = () => {
395
395
  })] })]
396
396
  }),
397
397
  j.specialInstructions && /* @__PURE__ */ T("div", {
398
- className: "mt-3 p-3 rounded-md bg-yellow-500/10 border border-yellow-500/20",
398
+ className: "mt-3 p-3 rounded-md bg-status-warning-bg-subtle/10 border border-status-warning-border/20",
399
399
  children: [/* @__PURE__ */ T("p", {
400
- className: "text-xs font-medium text-yellow-600 dark:text-yellow-400 flex items-center gap-1",
400
+ className: "text-xs font-medium text-status-warning-text flex items-center gap-1",
401
401
  children: [/* @__PURE__ */ w(l, { className: "h-3 w-3" }), "Special Instructions:"]
402
402
  }), /* @__PURE__ */ w("p", {
403
- className: "text-xs text-yellow-700 dark:text-yellow-300 mt-0.5",
403
+ className: "text-xs text-status-warning-text mt-0.5",
404
404
  children: j.specialInstructions
405
405
  })]
406
406
  }),
@@ -410,19 +410,19 @@ var A = () => {
410
410
  /* @__PURE__ */ T("button", {
411
411
  type: "button",
412
412
  onClick: () => H(j.customerPhone),
413
- className: "inline-flex items-center gap-1.5 rounded-md bg-accent px-3 py-2 text-xs font-medium text-foreground hover:bg-accent/80 transition-colors",
413
+ className: "inline-flex items-center gap-1.5 rounded-md bg-accent px-3 py-2 text-xs font-medium text-text-primary hover:bg-accent/80 transition-colors",
414
414
  children: [/* @__PURE__ */ w(y, { className: "h-3.5 w-3.5" }), "Call Customer"]
415
415
  }),
416
416
  j.type === "delivery" && j.address && /* @__PURE__ */ T("button", {
417
417
  type: "button",
418
418
  onClick: () => U(j),
419
- className: "inline-flex items-center gap-1.5 rounded-md bg-accent px-3 py-2 text-xs font-medium text-foreground hover:bg-accent/80 transition-colors",
419
+ className: "inline-flex items-center gap-1.5 rounded-md bg-accent px-3 py-2 text-xs font-medium text-text-primary hover:bg-accent/80 transition-colors",
420
420
  children: [/* @__PURE__ */ w(_, { className: "h-3.5 w-3.5" }), "Navigate"]
421
421
  }),
422
422
  /* @__PURE__ */ T("button", {
423
423
  type: "button",
424
424
  onClick: () => V(j.id),
425
- className: "ml-auto inline-flex items-center gap-1.5 rounded-md bg-green-500/10 px-3 py-2 text-xs font-medium text-green-600 dark:text-green-400 hover:bg-green-500/20 transition-colors",
425
+ className: "ml-auto inline-flex items-center gap-1.5 rounded-md bg-status-success-bg-subtle/10 px-3 py-2 text-xs font-medium text-status-success-text hover:bg-status-success-bg-subtle/20 transition-colors",
426
426
  children: [/* @__PURE__ */ w(d, { className: "h-3.5 w-3.5" }), "Complete Task"]
427
427
  })
428
428
  ]
@@ -432,14 +432,14 @@ var A = () => {
432
432
  })]
433
433
  }),
434
434
  /* @__PURE__ */ w("div", {
435
- className: "rounded-lg border border-border bg-card p-4 shadow-sm",
435
+ className: "rounded-lg border border-border-seam bg-bg-surface p-4 bg-gloss-card shadow-pop",
436
436
  children: /* @__PURE__ */ T("div", {
437
437
  className: "grid grid-cols-1 md:grid-cols-4 gap-3",
438
438
  children: [
439
439
  /* @__PURE__ */ T("select", {
440
440
  value: N.status,
441
441
  onChange: (e) => z("status", e.target.value),
442
- className: "w-full rounded-md border border-border bg-background px-3 py-2 text-sm text-foreground focus:outline-none focus:ring-2 focus:ring-blue-500/40",
442
+ className: "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary focus:outline-none focus:ring-2 focus:ring-accent-blue-subtle/40",
443
443
  children: [
444
444
  /* @__PURE__ */ w("option", {
445
445
  value: "",
@@ -462,7 +462,7 @@ var A = () => {
462
462
  /* @__PURE__ */ T("select", {
463
463
  value: N.type,
464
464
  onChange: (e) => z("type", e.target.value),
465
- className: "w-full rounded-md border border-border bg-background px-3 py-2 text-sm text-foreground focus:outline-none focus:ring-2 focus:ring-blue-500/40",
465
+ className: "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary focus:outline-none focus:ring-2 focus:ring-accent-blue-subtle/40",
466
466
  children: [
467
467
  /* @__PURE__ */ w("option", {
468
468
  value: "",
@@ -485,7 +485,7 @@ var A = () => {
485
485
  /* @__PURE__ */ T("select", {
486
486
  value: N.priority,
487
487
  onChange: (e) => z("priority", e.target.value),
488
- className: "w-full rounded-md border border-border bg-background px-3 py-2 text-sm text-foreground focus:outline-none focus:ring-2 focus:ring-blue-500/40",
488
+ className: "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary focus:outline-none focus:ring-2 focus:ring-accent-blue-subtle/40",
489
489
  children: [
490
490
  /* @__PURE__ */ w("option", {
491
491
  value: "",
@@ -512,7 +512,7 @@ var A = () => {
512
512
  /* @__PURE__ */ T("select", {
513
513
  value: N.sortBy,
514
514
  onChange: (e) => z("sortBy", e.target.value),
515
- className: "w-full rounded-md border border-border bg-background px-3 py-2 text-sm text-foreground focus:outline-none focus:ring-2 focus:ring-blue-500/40",
515
+ className: "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary focus:outline-none focus:ring-2 focus:ring-accent-blue-subtle/40",
516
516
  children: [
517
517
  /* @__PURE__ */ w("option", {
518
518
  value: "priority",
@@ -532,6 +532,7 @@ var A = () => {
532
532
  })
533
533
  }),
534
534
  C.length === 0 ? /* @__PURE__ */ w(i, {
535
+ illustration: "empty-data",
535
536
  icon: /* @__PURE__ */ w(p, { className: "h-12 w-12" }),
536
537
  title: "No tasks available",
537
538
  description: "Check back later for new tasks"
@@ -540,7 +541,7 @@ var A = () => {
540
541
  children: C.map((e) => {
541
542
  let n = O(e.type), i = n.icon;
542
543
  return /* @__PURE__ */ T("div", {
543
- className: "rounded-lg border border-border bg-card p-5 shadow-sm hover:shadow-md transition-shadow",
544
+ className: "rounded-lg border border-border-seam bg-bg-surface p-5 hover:shadow-md transition-shadow bg-gloss-card shadow-pop",
544
545
  children: [
545
546
  /* @__PURE__ */ T("div", {
546
547
  className: "flex items-center justify-between mb-3",
@@ -548,7 +549,7 @@ var A = () => {
548
549
  className: "flex items-center gap-2 flex-wrap",
549
550
  children: [
550
551
  /* @__PURE__ */ T("h3", {
551
- className: "text-sm font-semibold text-foreground",
552
+ className: "text-sm font-semibold text-text-primary",
552
553
  children: ["Order #", e.orderId]
553
554
  }),
554
555
  /* @__PURE__ */ T("span", {
@@ -561,7 +562,7 @@ var A = () => {
561
562
  })
562
563
  ]
563
564
  }), /* @__PURE__ */ T("p", {
564
- className: "text-xs text-muted-foreground mt-1",
565
+ className: "text-xs text-text-secondary mt-1",
565
566
  children: [
566
567
  e.cartName,
567
568
  " · ",
@@ -570,10 +571,10 @@ var A = () => {
570
571
  })] }), /* @__PURE__ */ T("div", {
571
572
  className: "text-right",
572
573
  children: [/* @__PURE__ */ w("p", {
573
- className: "text-lg font-bold text-foreground",
574
+ className: "text-lg font-bold text-text-primary",
574
575
  children: a(e.payment.amount, { minimumFractionDigits: 0 })
575
576
  }), /* @__PURE__ */ w("p", {
576
- className: t("text-xs", e.payment.status === "completed" ? "text-green-600 dark:text-green-400" : "text-yellow-600 dark:text-yellow-400"),
577
+ className: t("text-xs", e.payment.status === "completed" ? "text-status-success-text" : "text-status-warning-text"),
577
578
  children: /* @__PURE__ */ T("span", {
578
579
  className: "flex items-center gap-1 justify-end",
579
580
  children: [/* @__PURE__ */ w(m, { className: "h-3 w-3" }), e.payment.status === "completed" ? "Paid" : "COD"]
@@ -585,10 +586,10 @@ var A = () => {
585
586
  className: "grid grid-cols-1 md:grid-cols-3 gap-3 mb-3 text-sm",
586
587
  children: [
587
588
  /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("p", {
588
- className: "text-xs text-muted-foreground",
589
+ className: "text-xs text-text-secondary",
589
590
  children: "Items"
590
591
  }), /* @__PURE__ */ w("div", {
591
- className: "text-xs text-foreground",
592
+ className: "text-xs text-text-primary",
592
593
  children: e.items.map((t, n) => /* @__PURE__ */ T("span", { children: [
593
594
  t.quantity,
594
595
  "x ",
@@ -597,39 +598,39 @@ var A = () => {
597
598
  ] }, n))
598
599
  })] }),
599
600
  e.address && /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("p", {
600
- className: "text-xs text-muted-foreground",
601
+ className: "text-xs text-text-secondary",
601
602
  children: "Delivery Address"
602
603
  }), /* @__PURE__ */ w("p", {
603
- className: "text-xs text-foreground",
604
+ className: "text-xs text-text-primary",
604
605
  children: e.address.addressLine1
605
606
  })] }),
606
607
  /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("p", {
607
- className: "text-xs text-muted-foreground",
608
+ className: "text-xs text-text-secondary",
608
609
  children: "Time"
609
610
  }), /* @__PURE__ */ w("p", {
610
- className: t("text-xs font-medium", D(e.estimatedTime) === "Overdue" ? "text-red-600 dark:text-red-400" : "text-foreground"),
611
+ className: t("text-xs font-medium", D(e.estimatedTime) === "Overdue" ? "text-status-error-text" : "text-text-primary"),
611
612
  children: D(e.estimatedTime)
612
613
  })] })
613
614
  ]
614
615
  }),
615
616
  e.status === "pending" && /* @__PURE__ */ T("div", {
616
- className: "flex items-center flex-wrap gap-2 border-t border-border pt-3",
617
+ className: "flex items-center flex-wrap gap-2 border-t border-border-subtle pt-3",
617
618
  children: [
618
619
  /* @__PURE__ */ T("button", {
619
620
  type: "button",
620
621
  onClick: () => B(e.id),
621
622
  disabled: j !== null,
622
- className: t("inline-flex items-center gap-1.5 rounded-md px-3 py-1.5 text-xs font-medium transition-colors", j === null ? "bg-blue-500/10 text-blue-600 dark:text-blue-400 hover:bg-blue-500/20" : "bg-muted text-muted-foreground cursor-not-allowed"),
623
+ className: t("inline-flex items-center gap-1.5 rounded-md px-3 py-1.5 text-xs font-medium transition-colors", j === null ? "bg-accent-blue-subtle/10 text-accent-blue hover:bg-accent-blue-subtle/20" : "bg-bg-sunken text-text-secondary cursor-not-allowed"),
623
624
  children: [/* @__PURE__ */ w(b, { className: "h-3.5 w-3.5" }), j ? "Complete current first" : "Start Task"]
624
625
  }),
625
626
  /* @__PURE__ */ T("button", {
626
627
  type: "button",
627
628
  onClick: () => H(e.customerPhone),
628
- className: "inline-flex items-center gap-1.5 rounded-md bg-accent px-3 py-1.5 text-xs font-medium text-foreground hover:bg-accent/80 transition-colors",
629
+ className: "inline-flex items-center gap-1.5 rounded-md bg-accent px-3 py-1.5 text-xs font-medium text-text-primary hover:bg-accent/80 transition-colors",
629
630
  children: [/* @__PURE__ */ w(y, { className: "h-3.5 w-3.5" }), "Call"]
630
631
  }),
631
632
  e.type === "delivery" && e.distance != null && /* @__PURE__ */ T("span", {
632
- className: "ml-auto text-xs text-muted-foreground flex items-center gap-1",
633
+ className: "ml-auto text-xs text-text-secondary flex items-center gap-1",
633
634
  children: [
634
635
  /* @__PURE__ */ w(g, { className: "h-3 w-3" }),
635
636
  e.distance,
@@ -639,25 +640,25 @@ var A = () => {
639
640
  ]
640
641
  }),
641
642
  e.status === "in_progress" && e.id !== j?.id && /* @__PURE__ */ T("div", {
642
- className: "flex items-center gap-2 border-t border-border pt-3",
643
+ className: "flex items-center gap-2 border-t border-border-subtle pt-3",
643
644
  children: [/* @__PURE__ */ T("button", {
644
645
  type: "button",
645
646
  onClick: () => V(e.id),
646
- className: "inline-flex items-center gap-1.5 rounded-md bg-green-500/10 px-3 py-1.5 text-xs font-medium text-green-600 dark:text-green-400 hover:bg-green-500/20 transition-colors",
647
+ className: "inline-flex items-center gap-1.5 rounded-md bg-status-success-bg-subtle/10 px-3 py-1.5 text-xs font-medium text-status-success-text hover:bg-status-success-bg-subtle/20 transition-colors",
647
648
  children: [/* @__PURE__ */ w(d, { className: "h-3.5 w-3.5" }), "Complete"]
648
649
  }), /* @__PURE__ */ T("button", {
649
650
  type: "button",
650
651
  onClick: () => f(`/worker/task/${e.id}`),
651
- className: "inline-flex items-center gap-1.5 rounded-md bg-accent px-3 py-1.5 text-xs font-medium text-foreground hover:bg-accent/80 transition-colors",
652
+ className: "inline-flex items-center gap-1.5 rounded-md bg-accent px-3 py-1.5 text-xs font-medium text-text-primary hover:bg-accent/80 transition-colors",
652
653
  children: ["Details", /* @__PURE__ */ w(u, { className: "h-3.5 w-3.5" })]
653
654
  })]
654
655
  }),
655
656
  e.status === "completed" && /* @__PURE__ */ T("div", {
656
- className: "flex items-center gap-2 border-t border-border pt-3",
657
+ className: "flex items-center gap-2 border-t border-border-subtle pt-3",
657
658
  children: [/* @__PURE__ */ w(r, { status: "completed" }), /* @__PURE__ */ T("button", {
658
659
  type: "button",
659
660
  onClick: () => f(`/worker/task/${e.id}`),
660
- className: "ml-auto inline-flex items-center gap-1.5 rounded-md bg-accent px-3 py-1.5 text-xs font-medium text-foreground hover:bg-accent/80 transition-colors",
661
+ className: "ml-auto inline-flex items-center gap-1.5 rounded-md bg-accent px-3 py-1.5 text-xs font-medium text-text-primary hover:bg-accent/80 transition-colors",
661
662
  children: ["Details", /* @__PURE__ */ w(u, { className: "h-3.5 w-3.5" })]
662
663
  })]
663
664
  })