@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
@@ -143,19 +143,19 @@ var A = {
143
143
  let e = (/* @__PURE__ */ new Date()).getHours();
144
144
  return e < 12 ? "Good Morning" : e < 17 ? "Good Afternoon" : "Good Evening";
145
145
  }, L = {
146
- pending: "bg-red-500/15 text-red-600 dark:text-red-400",
147
- preparing: "bg-yellow-500/15 text-yellow-600 dark:text-yellow-400",
148
- ready: "bg-blue-500/15 text-blue-600 dark:text-blue-400",
149
- delivered: "bg-green-500/15 text-green-600 dark:text-green-400",
150
- cancelled: "bg-muted text-muted-foreground"
146
+ pending: "bg-status-error-bg-subtle/15 text-status-error-text",
147
+ preparing: "bg-status-warning-bg-subtle/15 text-status-warning-text",
148
+ ready: "bg-accent-blue-subtle/15 text-accent-blue",
149
+ delivered: "bg-status-success-bg-subtle/15 text-status-success-text",
150
+ cancelled: "bg-bg-sunken text-text-secondary"
151
151
  }, R = {
152
- active: "bg-green-500",
153
- "on-break": "bg-yellow-500",
152
+ active: "bg-status-success-bg-subtle",
153
+ "on-break": "bg-status-warning-bg-subtle",
154
154
  "off-duty": "bg-muted-foreground"
155
155
  }, z = {
156
- info: "text-blue-500",
157
- warning: "text-yellow-500",
158
- success: "text-green-500"
156
+ info: "text-accent-blue",
157
+ warning: "text-status-warning-text",
158
+ success: "text-status-success-text"
159
159
  }, B = () => {
160
160
  let { navigateTo: i } = e(), [B, V] = a(j), [H, U] = a({
161
161
  isOpen: !0,
@@ -178,7 +178,7 @@ var A = {
178
178
  I(),
179
179
  ", ",
180
180
  /* @__PURE__ */ O("span", {
181
- className: "text-muted-foreground font-normal",
181
+ className: "text-text-secondary font-normal",
182
182
  children: "Rajesh"
183
183
  })
184
184
  ] }),
@@ -186,23 +186,26 @@ var A = {
186
186
  actions: /* @__PURE__ */ k("button", {
187
187
  type: "button",
188
188
  onClick: () => i("/cart-owner/orders"),
189
- className: "inline-flex items-center gap-2 rounded-md bg-accent px-4 py-2 text-sm font-medium text-foreground hover:bg-accent/80 transition-colors",
189
+ className: "inline-flex items-center gap-2 rounded-md bg-accent px-4 py-2 text-sm font-medium text-text-primary hover:bg-accent/80 transition-colors",
190
190
  children: ["View All Orders", /* @__PURE__ */ O(c, { className: "h-4 w-4" })]
191
191
  }),
192
192
  children: /* @__PURE__ */ k("div", {
193
193
  className: "space-y-6",
194
194
  children: [
195
195
  /* @__PURE__ */ O("div", {
196
- className: t("p-4 rounded-lg border-l-4", H.isOpen ? "border-green-500 bg-green-500/5" : "border-red-500 bg-red-500/5"),
196
+ className: t("p-4 rounded-lg border-l-4", H.isOpen ? "border-status-success-border bg-status-success-bg-subtle/5" : "border-status-error-border bg-status-error-bg-subtle/5"),
197
197
  children: /* @__PURE__ */ k("div", {
198
198
  className: "flex flex-col lg:flex-row lg:items-center lg:justify-between gap-4",
199
199
  children: [/* @__PURE__ */ k("div", {
200
200
  className: "flex items-start gap-3",
201
- children: [/* @__PURE__ */ O("div", { className: t("w-3 h-3 rounded-full mt-1 shrink-0", H.isOpen ? "bg-green-500" : "bg-red-500") }), /* @__PURE__ */ k("div", { children: [/* @__PURE__ */ k("h3", {
202
- className: "font-semibold text-foreground text-sm",
201
+ children: [/* @__PURE__ */ O("div", {
202
+ "aria-hidden": "true",
203
+ className: t("w-3 h-3 rounded-full mt-1 shrink-0", H.isOpen ? "bg-status-success-text motion-safe:animate-vc-glow-pulse" : "bg-status-error-text")
204
+ }), /* @__PURE__ */ k("div", { children: [/* @__PURE__ */ k("h3", {
205
+ className: "font-semibold text-text-primary text-sm",
203
206
  children: ["Service Status: ", H.isOpen ? "Open" : "Closed"]
204
207
  }), /* @__PURE__ */ k("div", {
205
- className: "flex flex-col sm:flex-row sm:items-center gap-2 sm:gap-4 mt-1 text-xs text-muted-foreground",
208
+ className: "flex flex-col sm:flex-row sm:items-center gap-2 sm:gap-4 mt-1 text-xs text-text-secondary",
206
209
  children: [/* @__PURE__ */ k("span", {
207
210
  className: "flex items-center gap-1",
208
211
  children: [/* @__PURE__ */ O(v, { className: "h-3 w-3 shrink-0" }), H.currentLocation]
@@ -216,7 +219,7 @@ var A = {
216
219
  children: [/* @__PURE__ */ k("button", {
217
220
  type: "button",
218
221
  onClick: () => i("/cart-owner/settings"),
219
- className: "inline-flex items-center gap-1 rounded-md border border-border px-3 py-1.5 text-xs font-medium text-foreground hover:bg-muted transition-colors",
222
+ className: "inline-flex items-center gap-1 rounded-md border border-border-subtle px-3 py-1.5 text-xs font-medium text-text-primary hover:bg-bg-sunken transition-colors",
220
223
  children: [/* @__PURE__ */ O(v, { className: "h-3 w-3" }), "Update Location"]
221
224
  }), /* @__PURE__ */ O("button", {
222
225
  type: "button",
@@ -226,14 +229,14 @@ var A = {
226
229
  isOpen: !e.isOpen
227
230
  });
228
231
  },
229
- className: t("inline-flex items-center gap-1 rounded-md px-3 py-1.5 text-xs font-medium transition-colors", H.isOpen ? "bg-red-500/10 text-red-600 hover:bg-red-500/20 dark:text-red-400" : "bg-green-500/10 text-green-600 hover:bg-green-500/20 dark:text-green-400"),
232
+ className: t("inline-flex items-center gap-1 rounded-md px-3 py-1.5 text-xs font-medium transition-colors", H.isOpen ? "bg-status-error-bg-subtle/10 text-status-error-text hover:bg-status-error-bg-subtle/20" : "bg-status-success-bg-subtle/10 text-status-success-text hover:bg-status-success-bg-subtle/20"),
230
233
  children: H.isOpen ? "Close Service" : "Open Service"
231
234
  })]
232
235
  })]
233
236
  })
234
237
  }),
235
238
  /* @__PURE__ */ k("div", { children: [/* @__PURE__ */ O("h2", {
236
- className: "text-base font-semibold text-foreground mb-3",
239
+ className: "text-base font-semibold text-text-primary mb-3",
237
240
  children: "Today's Performance"
238
241
  }), /* @__PURE__ */ O("div", {
239
242
  className: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-4",
@@ -269,24 +272,24 @@ var A = {
269
272
  ].map((e) => {
270
273
  let t = e.icon;
271
274
  return /* @__PURE__ */ k("div", {
272
- className: "rounded-lg border border-border bg-card p-5 shadow-sm",
275
+ className: "rounded-lg border border-border-seam bg-bg-surface p-5 bg-gloss-card shadow-pop",
273
276
  children: [
274
277
  /* @__PURE__ */ k("div", {
275
278
  className: "flex items-center justify-between",
276
279
  children: [/* @__PURE__ */ O("div", {
277
280
  className: "rounded-md bg-accent p-2",
278
- children: /* @__PURE__ */ O(t, { className: "h-5 w-5 text-muted-foreground" })
281
+ children: /* @__PURE__ */ O(t, { className: "h-5 w-5 text-text-secondary" })
279
282
  }), /* @__PURE__ */ k("div", {
280
- className: "flex items-center gap-1 text-xs text-muted-foreground",
281
- children: [e.trendUp ? /* @__PURE__ */ O(T, { className: "h-3 w-3 text-green-600 dark:text-green-400" }) : /* @__PURE__ */ O(w, { className: "h-3 w-3 text-red-600 dark:text-red-400" }), /* @__PURE__ */ O("span", { children: e.trend })]
283
+ className: "flex items-center gap-1 text-xs text-text-secondary",
284
+ children: [e.trendUp ? /* @__PURE__ */ O(T, { className: "h-3 w-3 text-status-success-text" }) : /* @__PURE__ */ O(w, { className: "h-3 w-3 text-status-error-text" }), /* @__PURE__ */ O("span", { children: e.trend })]
282
285
  })]
283
286
  }),
284
287
  /* @__PURE__ */ O("p", {
285
- className: "mt-3 text-2xl font-bold text-foreground",
288
+ className: "mt-3 text-2xl font-bold text-text-primary",
286
289
  children: e.value
287
290
  }),
288
291
  /* @__PURE__ */ O("p", {
289
- className: "mt-1 text-sm text-muted-foreground",
292
+ className: "mt-1 text-sm text-text-secondary",
290
293
  children: e.label
291
294
  })
292
295
  ]
@@ -299,7 +302,7 @@ var A = {
299
302
  className: "lg:col-span-2 space-y-6",
300
303
  children: [
301
304
  /* @__PURE__ */ k("div", { children: [/* @__PURE__ */ O("h3", {
302
- className: "text-base font-semibold mb-3 text-foreground",
305
+ className: "text-base font-semibold mb-3 text-text-primary",
303
306
  children: "Quick Actions"
304
307
  }), /* @__PURE__ */ O("div", {
305
308
  className: "grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-5 gap-3",
@@ -307,31 +310,31 @@ var A = {
307
310
  {
308
311
  label: "Service Config",
309
312
  icon: x,
310
- color: "bg-orange-500/10 text-orange-600 dark:text-orange-400",
313
+ color: "bg-accent-orange-subtle/10 text-accent-orange",
311
314
  path: "/cart-owner/service-config"
312
315
  },
313
316
  {
314
317
  label: "Manage Offerings",
315
318
  icon: y,
316
- color: "bg-blue-500/10 text-blue-600 dark:text-blue-400",
319
+ color: "bg-accent-blue-subtle/10 text-accent-blue",
317
320
  path: "/cart-owner/inventory"
318
321
  },
319
322
  {
320
323
  label: "View Orders",
321
324
  icon: S,
322
- color: "bg-green-500/10 text-green-600 dark:text-green-400",
325
+ color: "bg-status-success-bg-subtle/10 text-status-success-text",
323
326
  path: "/cart-owner/orders"
324
327
  },
325
328
  {
326
329
  label: "Analytics",
327
330
  icon: l,
328
- color: "bg-purple-500/10 text-purple-600 dark:text-purple-400",
331
+ color: "bg-accent-purple-subtle/10 text-accent-purple",
329
332
  path: "/cart-owner/analytics"
330
333
  },
331
334
  {
332
335
  label: "Staff",
333
336
  icon: E,
334
- color: "bg-pink-500/10 text-pink-600 dark:text-pink-400",
337
+ color: "bg-accent-pink-subtle/10 text-accent-pink",
335
338
  path: "/cart-owner/staff"
336
339
  }
337
340
  ].map((e) => {
@@ -350,18 +353,18 @@ var A = {
350
353
  /* @__PURE__ */ k("div", { children: [/* @__PURE__ */ k("div", {
351
354
  className: "flex items-center justify-between mb-3",
352
355
  children: [/* @__PURE__ */ O("h3", {
353
- className: "text-base font-semibold text-foreground",
356
+ className: "text-base font-semibold text-text-primary",
354
357
  children: "Recent Orders"
355
358
  }), /* @__PURE__ */ O("button", {
356
359
  type: "button",
357
360
  onClick: () => i("/cart-owner/orders"),
358
- className: "text-xs text-muted-foreground hover:text-foreground transition-colors",
361
+ className: "text-xs text-text-secondary hover:text-text-primary transition-colors",
359
362
  children: "View All Orders"
360
363
  })]
361
364
  }), /* @__PURE__ */ O("div", {
362
365
  className: "space-y-3",
363
366
  children: B.map((e) => /* @__PURE__ */ O("div", {
364
- className: "rounded-lg border border-border bg-card p-4 shadow-sm",
367
+ className: "rounded-lg border border-border-seam bg-bg-surface p-4 bg-gloss-card shadow-pop",
365
368
  children: /* @__PURE__ */ k("div", {
366
369
  className: "flex flex-col lg:flex-row lg:items-start lg:justify-between gap-3",
367
370
  children: [/* @__PURE__ */ k("div", {
@@ -371,28 +374,28 @@ var A = {
371
374
  className: "flex flex-wrap items-center gap-2 mb-1",
372
375
  children: [
373
376
  /* @__PURE__ */ k("h4", {
374
- className: "font-semibold text-foreground text-sm",
377
+ className: "font-semibold text-text-primary text-sm",
375
378
  children: ["#", e.id]
376
379
  }),
377
380
  /* @__PURE__ */ O("span", {
378
- className: t("inline-flex items-center rounded-full px-2 py-0.5 text-xs font-medium capitalize", L[e.status] || "bg-muted text-muted-foreground"),
381
+ className: t("inline-flex items-center rounded-full px-2 py-0.5 text-xs font-medium capitalize", L[e.status] || "bg-bg-sunken text-text-secondary"),
379
382
  children: e.status
380
383
  }),
381
- e.priority === "urgent" && /* @__PURE__ */ O(s, { className: "h-4 w-4 text-red-500" })
384
+ e.priority === "urgent" && /* @__PURE__ */ O(s, { className: "h-4 w-4 text-status-error-text" })
382
385
  ]
383
386
  }),
384
387
  /* @__PURE__ */ k("p", {
385
- className: "text-xs text-muted-foreground mb-1",
388
+ className: "text-xs text-text-secondary mb-1",
386
389
  children: ["Customer: ", e.customerName]
387
390
  }),
388
391
  /* @__PURE__ */ k("p", {
389
- className: "text-xs text-muted-foreground mb-1 truncate",
392
+ className: "text-xs text-text-secondary mb-1 truncate",
390
393
  children: ["Items: ", e.items.join(", ")]
391
394
  }),
392
395
  /* @__PURE__ */ k("div", {
393
- className: "flex flex-wrap items-center gap-3 text-xs text-muted-foreground",
396
+ className: "flex flex-wrap items-center gap-3 text-xs text-text-secondary",
394
397
  children: [/* @__PURE__ */ O("span", {
395
- className: "font-semibold text-foreground",
398
+ className: "font-semibold text-text-primary",
396
399
  children: r(e.total, { minimumFractionDigits: 0 })
397
400
  }), /* @__PURE__ */ k("span", {
398
401
  className: "flex items-center gap-1",
@@ -406,19 +409,19 @@ var A = {
406
409
  /* @__PURE__ */ k("button", {
407
410
  type: "button",
408
411
  onClick: () => i("/cart-owner/orders"),
409
- className: "inline-flex items-center gap-1 rounded-md border border-border px-3 py-1.5 text-xs font-medium text-foreground hover:bg-muted transition-colors",
412
+ className: "inline-flex items-center gap-1 rounded-md border border-border-subtle px-3 py-1.5 text-xs font-medium text-text-primary hover:bg-bg-sunken transition-colors",
410
413
  children: [/* @__PURE__ */ O(h, { className: "h-3 w-3" }), "View"]
411
414
  }),
412
415
  e.status === "pending" && /* @__PURE__ */ k("button", {
413
416
  type: "button",
414
417
  onClick: () => W(e.id),
415
- className: "inline-flex items-center gap-1 rounded-md bg-green-500/10 px-3 py-1.5 text-xs font-medium text-green-600 hover:bg-green-500/20 dark:text-green-400 transition-colors",
418
+ className: "inline-flex items-center gap-1 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",
416
419
  children: [/* @__PURE__ */ O(d, { className: "h-3 w-3" }), "Accept"]
417
420
  }),
418
421
  e.status === "preparing" && /* @__PURE__ */ k("button", {
419
422
  type: "button",
420
423
  onClick: () => G(e.id),
421
- className: "inline-flex items-center gap-1 rounded-md bg-blue-500/10 px-3 py-1.5 text-xs font-medium text-blue-600 hover:bg-blue-500/20 dark:text-blue-400 transition-colors",
424
+ className: "inline-flex items-center gap-1 rounded-md bg-accent-blue-subtle/10 px-3 py-1.5 text-xs font-medium text-accent-blue hover:bg-accent-blue-subtle/20 transition-colors",
422
425
  children: [/* @__PURE__ */ O(d, { className: "h-3 w-3" }), "Mark Ready"]
423
426
  })
424
427
  ]
@@ -427,16 +430,16 @@ var A = {
427
430
  }, e.id))
428
431
  })] }),
429
432
  /* @__PURE__ */ k("div", {
430
- className: "rounded-lg border border-border bg-card shadow-sm",
433
+ className: "rounded-lg border border-border-subtle bg-bg-surface shadow-sm",
431
434
  children: [/* @__PURE__ */ k("div", {
432
- className: "flex items-center justify-between border-b border-border px-5 py-4",
435
+ className: "flex items-center justify-between border-b border-border-subtle px-5 py-4",
433
436
  children: [/* @__PURE__ */ O("h3", {
434
- className: "text-base font-semibold text-foreground",
437
+ className: "text-base font-semibold text-text-primary",
435
438
  children: "Revenue (Last 7 Days)"
436
439
  }), /* @__PURE__ */ O("button", {
437
440
  type: "button",
438
441
  onClick: () => i("/cart-owner/analytics"),
439
- className: "text-xs text-muted-foreground hover:text-foreground transition-colors",
442
+ className: "text-xs text-text-secondary hover:text-text-primary transition-colors",
440
443
  children: "View Analytics"
441
444
  })]
442
445
  }), /* @__PURE__ */ O("div", {
@@ -444,32 +447,32 @@ var A = {
444
447
  children: /* @__PURE__ */ k("table", {
445
448
  className: "w-full text-sm",
446
449
  children: [/* @__PURE__ */ O("thead", { children: /* @__PURE__ */ k("tr", {
447
- className: "border-b border-border",
450
+ className: "border-b border-border-subtle",
448
451
  children: [
449
452
  /* @__PURE__ */ O("th", {
450
- className: "px-5 py-3 text-left font-medium text-muted-foreground",
453
+ className: "px-5 py-3 text-left font-medium text-text-secondary",
451
454
  children: "Date"
452
455
  }),
453
456
  /* @__PURE__ */ O("th", {
454
- className: "px-5 py-3 text-right font-medium text-muted-foreground",
457
+ className: "px-5 py-3 text-right font-medium text-text-secondary",
455
458
  children: "Orders"
456
459
  }),
457
460
  /* @__PURE__ */ O("th", {
458
- className: "px-5 py-3 text-right font-medium text-muted-foreground",
461
+ className: "px-5 py-3 text-right font-medium text-text-secondary",
459
462
  children: "Revenue"
460
463
  }),
461
464
  /* @__PURE__ */ O("th", {
462
- className: "px-5 py-3 text-left font-medium text-muted-foreground",
465
+ className: "px-5 py-3 text-left font-medium text-text-secondary",
463
466
  children: "Trend"
464
467
  })
465
468
  ]
466
469
  }) }), /* @__PURE__ */ O("tbody", { children: F.map((e, t) => {
467
470
  let n = Math.max(...F.map((e) => e.revenue)), i = e.revenue / n * 100;
468
471
  return /* @__PURE__ */ k("tr", {
469
- className: "border-b border-border last:border-0",
472
+ className: "border-b border-border-subtle last:border-0",
470
473
  children: [
471
474
  /* @__PURE__ */ O("td", {
472
- className: "px-5 py-3 text-foreground text-xs",
475
+ className: "px-5 py-3 text-text-primary text-xs",
473
476
  children: new Date(e.date).toLocaleDateString("en-IN", {
474
477
  day: "2-digit",
475
478
  month: "short",
@@ -477,19 +480,19 @@ var A = {
477
480
  })
478
481
  }),
479
482
  /* @__PURE__ */ O("td", {
480
- className: "px-5 py-3 text-right text-foreground",
483
+ className: "px-5 py-3 text-right text-text-primary",
481
484
  children: e.orders
482
485
  }),
483
486
  /* @__PURE__ */ O("td", {
484
- className: "px-5 py-3 text-right font-medium text-foreground",
487
+ className: "px-5 py-3 text-right font-medium text-text-primary",
485
488
  children: r(e.revenue, { minimumFractionDigits: 0 })
486
489
  }),
487
490
  /* @__PURE__ */ O("td", {
488
491
  className: "px-5 py-3 w-40",
489
492
  children: /* @__PURE__ */ O("div", {
490
- className: "h-4 rounded bg-muted overflow-hidden",
493
+ className: "h-4 rounded bg-bg-sunken overflow-hidden",
491
494
  children: /* @__PURE__ */ O("div", {
492
- className: "h-full rounded bg-blue-500/60",
495
+ className: "h-full rounded bg-accent-blue-subtle/60",
493
496
  style: { width: `${i}%` }
494
497
  })
495
498
  })
@@ -501,40 +504,40 @@ var A = {
501
504
  })]
502
505
  }),
503
506
  /* @__PURE__ */ k("div", {
504
- className: "rounded-lg border border-border bg-card p-5 shadow-sm",
507
+ className: "rounded-lg border border-border-seam bg-bg-surface p-5 bg-gloss-card shadow-pop",
505
508
  children: [/* @__PURE__ */ O("h3", {
506
- className: "text-base font-semibold text-foreground mb-4",
509
+ className: "text-base font-semibold text-text-primary mb-4",
507
510
  children: "This Month Summary"
508
511
  }), /* @__PURE__ */ k("div", {
509
512
  className: "grid grid-cols-1 sm:grid-cols-3 gap-4",
510
513
  children: [
511
514
  /* @__PURE__ */ k("div", {
512
- className: "text-center p-3 rounded-lg bg-muted/50",
515
+ className: "text-center p-3 rounded-lg bg-bg-sunken/50",
513
516
  children: [/* @__PURE__ */ O("div", {
514
- className: "text-xl font-bold text-foreground",
517
+ className: "text-xl font-bold text-text-primary",
515
518
  children: r(A.totalRevenue, { minimumFractionDigits: 0 })
516
519
  }), /* @__PURE__ */ O("div", {
517
- className: "text-xs text-muted-foreground mt-1",
520
+ className: "text-xs text-text-secondary mt-1",
518
521
  children: "Total Revenue"
519
522
  })]
520
523
  }),
521
524
  /* @__PURE__ */ k("div", {
522
- className: "text-center p-3 rounded-lg bg-muted/50",
525
+ className: "text-center p-3 rounded-lg bg-bg-sunken/50",
523
526
  children: [/* @__PURE__ */ O("div", {
524
- className: "text-xl font-bold text-foreground",
527
+ className: "text-xl font-bold text-text-primary",
525
528
  children: A.totalOrders
526
529
  }), /* @__PURE__ */ O("div", {
527
- className: "text-xs text-muted-foreground mt-1",
530
+ className: "text-xs text-text-secondary mt-1",
528
531
  children: "Total Orders"
529
532
  })]
530
533
  }),
531
534
  /* @__PURE__ */ k("div", {
532
- className: "text-center p-3 rounded-lg bg-muted/50",
535
+ className: "text-center p-3 rounded-lg bg-bg-sunken/50",
533
536
  children: [/* @__PURE__ */ O("div", {
534
- className: "text-xl font-bold text-foreground",
537
+ className: "text-xl font-bold text-text-primary",
535
538
  children: A.customerCount
536
539
  }), /* @__PURE__ */ O("div", {
537
- className: "text-xs text-muted-foreground mt-1",
540
+ className: "text-xs text-text-secondary mt-1",
538
541
  children: "Unique Customers"
539
542
  })]
540
543
  })
@@ -546,14 +549,14 @@ var A = {
546
549
  className: "space-y-6",
547
550
  children: [
548
551
  /* @__PURE__ */ k("div", {
549
- className: "rounded-lg border border-border bg-card p-5 shadow-sm",
552
+ className: "rounded-lg border border-border-seam bg-bg-surface p-5 bg-gloss-card shadow-pop",
550
553
  children: [/* @__PURE__ */ k("div", {
551
554
  className: "flex items-center justify-between mb-4",
552
555
  children: [/* @__PURE__ */ k("h3", {
553
- className: "text-base font-semibold text-foreground flex items-center gap-2",
556
+ className: "text-base font-semibold text-text-primary flex items-center gap-2",
554
557
  children: [/* @__PURE__ */ O(u, { className: "h-4 w-4" }), "Notifications"]
555
558
  }), /* @__PURE__ */ O("span", {
556
- className: "inline-flex items-center justify-center rounded-full bg-red-500 text-white text-[10px] font-bold h-5 w-5",
559
+ className: "inline-flex items-center justify-center rounded-full bg-status-error-bg-subtle text-white text-[10px] font-bold h-5 w-5",
557
560
  children: P.length
558
561
  })]
559
562
  }), /* @__PURE__ */ O("div", {
@@ -563,10 +566,10 @@ var A = {
563
566
  children: [/* @__PURE__ */ O(o, { className: t("h-4 w-4 mt-0.5 shrink-0", z[e.type]) }), /* @__PURE__ */ k("div", {
564
567
  className: "min-w-0",
565
568
  children: [/* @__PURE__ */ O("p", {
566
- className: "text-xs text-foreground leading-tight",
569
+ className: "text-xs text-text-primary leading-tight",
567
570
  children: e.message
568
571
  }), /* @__PURE__ */ O("p", {
569
- className: "text-[10px] text-muted-foreground mt-0.5",
572
+ className: "text-[10px] text-text-secondary mt-0.5",
570
573
  children: e.time
571
574
  })]
572
575
  })]
@@ -574,10 +577,10 @@ var A = {
574
577
  })]
575
578
  }),
576
579
  /* @__PURE__ */ k("div", {
577
- className: "rounded-lg border border-border bg-card p-5 shadow-sm",
580
+ className: "rounded-lg border border-border-seam bg-bg-surface p-5 bg-gloss-card shadow-pop",
578
581
  children: [/* @__PURE__ */ k("h3", {
579
- className: "text-base font-semibold text-foreground mb-4 flex items-center gap-2",
580
- children: [/* @__PURE__ */ O(g, { className: "h-4 w-4 text-orange-500" }), "Top Selling Items"]
582
+ className: "text-base font-semibold text-text-primary mb-4 flex items-center gap-2",
583
+ children: [/* @__PURE__ */ O(g, { className: "h-4 w-4 text-accent-orange" }), "Top Selling Items"]
581
584
  }), /* @__PURE__ */ O("div", {
582
585
  className: "space-y-3",
583
586
  children: M.map((e, t) => /* @__PURE__ */ k("div", {
@@ -585,36 +588,36 @@ var A = {
585
588
  children: [/* @__PURE__ */ k("div", {
586
589
  className: "flex items-center gap-2 min-w-0",
587
590
  children: [/* @__PURE__ */ O("span", {
588
- className: "text-sm font-bold text-muted-foreground w-5",
591
+ className: "text-sm font-bold text-text-secondary w-5",
589
592
  children: t + 1
590
593
  }), /* @__PURE__ */ k("div", {
591
594
  className: "min-w-0",
592
595
  children: [/* @__PURE__ */ O("p", {
593
- className: "text-xs font-medium text-foreground truncate",
596
+ className: "text-xs font-medium text-text-primary truncate",
594
597
  children: e.name
595
598
  }), /* @__PURE__ */ k("p", {
596
- className: "text-[10px] text-muted-foreground",
599
+ className: "text-[10px] text-text-secondary",
597
600
  children: [e.quantity, " sold"]
598
601
  })]
599
602
  })]
600
603
  }), /* @__PURE__ */ O("span", {
601
- className: "text-xs font-semibold text-foreground",
604
+ className: "text-xs font-semibold text-text-primary",
602
605
  children: r(e.revenue, { minimumFractionDigits: 0 })
603
606
  })]
604
607
  }, e.name))
605
608
  })]
606
609
  }),
607
610
  /* @__PURE__ */ k("div", {
608
- className: "rounded-lg border border-border bg-card p-5 shadow-sm",
611
+ className: "rounded-lg border border-border-seam bg-bg-surface p-5 bg-gloss-card shadow-pop",
609
612
  children: [/* @__PURE__ */ k("div", {
610
613
  className: "flex items-center justify-between mb-4",
611
614
  children: [/* @__PURE__ */ k("h3", {
612
- className: "text-base font-semibold text-foreground flex items-center gap-2",
615
+ className: "text-base font-semibold text-text-primary flex items-center gap-2",
613
616
  children: [/* @__PURE__ */ O(D, { className: "h-4 w-4" }), "Staff Overview"]
614
617
  }), /* @__PURE__ */ O("button", {
615
618
  type: "button",
616
619
  onClick: () => i("/cart-owner/staff"),
617
- className: "text-xs text-muted-foreground hover:text-foreground transition-colors",
620
+ className: "text-xs text-text-secondary hover:text-text-primary transition-colors",
618
621
  children: "Manage"
619
622
  })]
620
623
  }), /* @__PURE__ */ O("div", {
@@ -624,23 +627,23 @@ var A = {
624
627
  children: [/* @__PURE__ */ k("div", {
625
628
  className: "flex items-center gap-2",
626
629
  children: [/* @__PURE__ */ O("div", { className: t("w-2 h-2 rounded-full", R[e.status]) }), /* @__PURE__ */ k("div", { children: [/* @__PURE__ */ O("p", {
627
- className: "text-xs font-medium text-foreground",
630
+ className: "text-xs font-medium text-text-primary",
628
631
  children: e.name
629
632
  }), /* @__PURE__ */ O("p", {
630
- className: "text-[10px] text-muted-foreground",
633
+ className: "text-[10px] text-text-secondary",
631
634
  children: e.role
632
635
  })] })]
633
636
  }), /* @__PURE__ */ O("span", {
634
- className: "text-[10px] capitalize text-muted-foreground",
637
+ className: "text-[10px] capitalize text-text-secondary",
635
638
  children: e.status.replace("-", " ")
636
639
  })]
637
640
  }, e.name))
638
641
  })]
639
642
  }),
640
643
  /* @__PURE__ */ k("div", {
641
- className: "rounded-lg border border-border bg-card p-5 shadow-sm",
644
+ className: "rounded-lg border border-border-seam bg-bg-surface p-5 bg-gloss-card shadow-pop",
642
645
  children: [/* @__PURE__ */ O("h3", {
643
- className: "text-base font-semibold text-foreground mb-4",
646
+ className: "text-base font-semibold text-text-primary mb-4",
644
647
  children: "Quick Stats"
645
648
  }), /* @__PURE__ */ k("div", {
646
649
  className: "space-y-3",
@@ -648,30 +651,30 @@ var A = {
648
651
  /* @__PURE__ */ k("div", {
649
652
  className: "flex items-center justify-between",
650
653
  children: [/* @__PURE__ */ O("span", {
651
- className: "text-xs text-muted-foreground",
654
+ className: "text-xs text-text-secondary",
652
655
  children: "Active Offerings"
653
656
  }), /* @__PURE__ */ O("span", {
654
- className: "text-sm font-semibold text-foreground",
657
+ className: "text-sm font-semibold text-text-primary",
655
658
  children: A.activeOfferings
656
659
  })]
657
660
  }),
658
661
  /* @__PURE__ */ k("div", {
659
662
  className: "flex items-center justify-between",
660
663
  children: [/* @__PURE__ */ O("span", {
661
- className: "text-xs text-muted-foreground",
664
+ className: "text-xs text-text-secondary",
662
665
  children: "Customer Rating"
663
666
  }), /* @__PURE__ */ k("span", {
664
- className: "text-sm font-semibold text-foreground flex items-center gap-1",
665
- children: [/* @__PURE__ */ O(C, { className: "h-3 w-3 text-yellow-500 fill-yellow-500" }), A.rating]
667
+ className: "text-sm font-semibold text-text-primary flex items-center gap-1",
668
+ children: [/* @__PURE__ */ O(C, { className: "h-3 w-3 text-status-warning-text fill-status-warning-text" }), A.rating]
666
669
  })]
667
670
  }),
668
671
  /* @__PURE__ */ k("div", {
669
672
  className: "flex items-center justify-between",
670
673
  children: [/* @__PURE__ */ O("span", {
671
- className: "text-xs text-muted-foreground",
674
+ className: "text-xs text-text-secondary",
672
675
  children: "Total Customers"
673
676
  }), /* @__PURE__ */ O("span", {
674
- className: "text-sm font-semibold text-foreground",
677
+ className: "text-sm font-semibold text-text-primary",
675
678
  children: A.customerCount
676
679
  })]
677
680
  })
@@ -679,9 +682,9 @@ var A = {
679
682
  })]
680
683
  }),
681
684
  /* @__PURE__ */ k("div", {
682
- className: "rounded-lg border border-border bg-card p-5 shadow-sm",
685
+ className: "rounded-lg border border-border-seam bg-bg-surface p-5 bg-gloss-card shadow-pop",
683
686
  children: [/* @__PURE__ */ O("h3", {
684
- className: "text-base font-semibold text-foreground mb-3",
687
+ className: "text-base font-semibold text-text-primary mb-3",
685
688
  children: "Business Settings"
686
689
  }), /* @__PURE__ */ O("div", {
687
690
  className: "space-y-2",
@@ -706,41 +709,41 @@ var A = {
706
709
  return /* @__PURE__ */ k("button", {
707
710
  type: "button",
708
711
  onClick: () => i(e.path),
709
- className: "w-full flex items-center justify-between rounded-md border border-border px-3 py-2 text-xs font-medium text-foreground hover:bg-muted transition-colors",
712
+ className: "w-full flex items-center justify-between rounded-md border border-border-subtle px-3 py-2 text-xs font-medium text-text-primary hover:bg-bg-sunken transition-colors",
710
713
  children: [/* @__PURE__ */ k("span", {
711
714
  className: "flex items-center gap-2",
712
715
  children: [/* @__PURE__ */ O(t, { className: "h-3.5 w-3.5" }), e.label]
713
- }), /* @__PURE__ */ O(f, { className: "h-3 w-3 text-muted-foreground" })]
716
+ }), /* @__PURE__ */ O(f, { className: "h-3 w-3 text-text-secondary" })]
714
717
  }, e.label);
715
718
  })
716
719
  })]
717
720
  }),
718
721
  /* @__PURE__ */ k("div", {
719
- className: "rounded-lg border border-border bg-card p-5 shadow-sm",
722
+ className: "rounded-lg border border-border-seam bg-bg-surface p-5 bg-gloss-card shadow-pop",
720
723
  children: [/* @__PURE__ */ O("h3", {
721
- className: "text-base font-semibold text-foreground mb-3",
724
+ className: "text-base font-semibold text-text-primary mb-3",
722
725
  children: "Recent Activity"
723
726
  }), /* @__PURE__ */ k("div", {
724
727
  className: "space-y-2 text-xs",
725
728
  children: [
726
729
  /* @__PURE__ */ k("div", {
727
730
  className: "flex items-center gap-2",
728
- children: [/* @__PURE__ */ O(o, { className: "h-3.5 w-3.5 text-green-500" }), /* @__PURE__ */ O("span", {
729
- className: "text-muted-foreground",
731
+ children: [/* @__PURE__ */ O(o, { className: "h-3.5 w-3.5 text-status-success-text" }), /* @__PURE__ */ O("span", {
732
+ className: "text-text-secondary",
730
733
  children: "Order #ORD-003 delivered"
731
734
  })]
732
735
  }),
733
736
  /* @__PURE__ */ k("div", {
734
737
  className: "flex items-center gap-2",
735
- children: [/* @__PURE__ */ O(o, { className: "h-3.5 w-3.5 text-blue-500" }), /* @__PURE__ */ O("span", {
736
- className: "text-muted-foreground",
738
+ children: [/* @__PURE__ */ O(o, { className: "h-3.5 w-3.5 text-accent-blue" }), /* @__PURE__ */ O("span", {
739
+ className: "text-text-secondary",
737
740
  children: "Inventory updated"
738
741
  })]
739
742
  }),
740
743
  /* @__PURE__ */ k("div", {
741
744
  className: "flex items-center gap-2",
742
- children: [/* @__PURE__ */ O(o, { className: "h-3.5 w-3.5 text-yellow-500" }), /* @__PURE__ */ O("span", {
743
- className: "text-muted-foreground",
745
+ children: [/* @__PURE__ */ O(o, { className: "h-3.5 w-3.5 text-status-warning-text" }), /* @__PURE__ */ O("span", {
746
+ className: "text-text-secondary",
744
747
  children: "New customer review"
745
748
  })]
746
749
  })