@burdenoff/microfe-adaptercloud 2026.614.1 → 2026.624.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.
- package/dist/adaptercloud/components/EmptyState.js +3 -3
- package/dist/adaptercloud/components/EmptyState.js.map +1 -1
- package/dist/adaptercloud/components/InvestmentCard.js +9 -9
- package/dist/adaptercloud/components/InvestmentCard.js.map +1 -1
- package/dist/adaptercloud/components/MetricsCard.js +5 -5
- package/dist/adaptercloud/components/MetricsCard.js.map +1 -1
- package/dist/adaptercloud/components/PageLayout.js +3 -3
- package/dist/adaptercloud/components/PageLayout.js.map +1 -1
- package/dist/adaptercloud/components/RatingDisplay.js +3 -3
- package/dist/adaptercloud/components/RatingDisplay.js.map +1 -1
- package/dist/adaptercloud/components/StatusBadge.js +2 -2
- package/dist/adaptercloud/components/StatusBadge.js.map +1 -1
- package/dist/adaptercloud/pages/HomePage.js +54 -54
- package/dist/adaptercloud/pages/HomePage.js.map +1 -1
- package/dist/adaptercloud/pages/admin/AdminAnalyticsPage.js +60 -60
- package/dist/adaptercloud/pages/admin/AdminAnalyticsPage.js.map +1 -1
- package/dist/adaptercloud/pages/admin/AdminDashboard.js +77 -77
- package/dist/adaptercloud/pages/admin/AdminDashboard.js.map +1 -1
- package/dist/adaptercloud/pages/admin/AdminFinancialPage.js +43 -43
- package/dist/adaptercloud/pages/admin/AdminFinancialPage.js.map +1 -1
- package/dist/adaptercloud/pages/admin/AdminOrdersPage.js +85 -85
- package/dist/adaptercloud/pages/admin/AdminOrdersPage.js.map +1 -1
- package/dist/adaptercloud/pages/admin/AdminProfilePage.js +34 -34
- package/dist/adaptercloud/pages/admin/AdminProfilePage.js.map +1 -1
- package/dist/adaptercloud/pages/admin/AdminSettingsPage.js +40 -40
- package/dist/adaptercloud/pages/admin/AdminSettingsPage.js.map +1 -1
- package/dist/adaptercloud/pages/admin/CartManagementPage.js +86 -86
- package/dist/adaptercloud/pages/admin/CartManagementPage.js.map +1 -1
- package/dist/adaptercloud/pages/admin/UserManagementPage.js +80 -80
- package/dist/adaptercloud/pages/admin/UserManagementPage.js.map +1 -1
- package/dist/adaptercloud/pages/cart-owner/AnalyticsDashboard.js +100 -100
- package/dist/adaptercloud/pages/cart-owner/AnalyticsDashboard.js.map +1 -1
- package/dist/adaptercloud/pages/cart-owner/BusinessSettingsPage.js +29 -29
- package/dist/adaptercloud/pages/cart-owner/BusinessSettingsPage.js.map +1 -1
- package/dist/adaptercloud/pages/cart-owner/CartOwnerDashboard.js +81 -81
- package/dist/adaptercloud/pages/cart-owner/CartOwnerDashboard.js.map +1 -1
- package/dist/adaptercloud/pages/cart-owner/CartOwnerProfilePage.js +100 -100
- package/dist/adaptercloud/pages/cart-owner/CartOwnerProfilePage.js.map +1 -1
- package/dist/adaptercloud/pages/cart-owner/CartServiceConfigPage.js +67 -67
- package/dist/adaptercloud/pages/cart-owner/CartServiceConfigPage.js.map +1 -1
- package/dist/adaptercloud/pages/cart-owner/InventoryManagementPage.js +94 -94
- package/dist/adaptercloud/pages/cart-owner/InventoryManagementPage.js.map +1 -1
- package/dist/adaptercloud/pages/cart-owner/OrderManagementPage.js +57 -57
- package/dist/adaptercloud/pages/cart-owner/OrderManagementPage.js.map +1 -1
- package/dist/adaptercloud/pages/cart-owner/StaffManagementPage.js +75 -75
- package/dist/adaptercloud/pages/cart-owner/StaffManagementPage.js.map +1 -1
- package/dist/adaptercloud/pages/common/HelpSupportPage.js +102 -102
- package/dist/adaptercloud/pages/common/HelpSupportPage.js.map +1 -1
- package/dist/adaptercloud/pages/common/NotificationCenterPage.js +35 -35
- package/dist/adaptercloud/pages/common/NotificationCenterPage.js.map +1 -1
- package/dist/adaptercloud/pages/common/SettingsPage.js +109 -109
- package/dist/adaptercloud/pages/common/SettingsPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/BookingDetailsPage.js +60 -60
- package/dist/adaptercloud/pages/customer/BookingDetailsPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/CartDetailPage.js +71 -71
- package/dist/adaptercloud/pages/customer/CartDetailPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/CartDiscoveryPage.js +54 -54
- package/dist/adaptercloud/pages/customer/CartDiscoveryPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/CheckoutPage.js +75 -75
- package/dist/adaptercloud/pages/customer/CheckoutPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/CustomerDashboard.js +69 -69
- package/dist/adaptercloud/pages/customer/CustomerDashboard.js.map +1 -1
- package/dist/adaptercloud/pages/customer/CustomerProfilePage.js +72 -72
- package/dist/adaptercloud/pages/customer/CustomerProfilePage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/DirectServiceBookingPage.js +75 -75
- package/dist/adaptercloud/pages/customer/DirectServiceBookingPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/FavoritesPage.js +30 -30
- package/dist/adaptercloud/pages/customer/FavoritesPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/OrderHistoryPage.js +41 -41
- package/dist/adaptercloud/pages/customer/OrderHistoryPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/OrderTrackingPage.js +53 -53
- package/dist/adaptercloud/pages/customer/OrderTrackingPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/PaymentMethodsPage.js +51 -51
- package/dist/adaptercloud/pages/customer/PaymentMethodsPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/ReviewsPage.js +33 -33
- package/dist/adaptercloud/pages/customer/ReviewsPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/SavedAddressesPage.js +33 -33
- package/dist/adaptercloud/pages/customer/SavedAddressesPage.js.map +1 -1
- package/dist/adaptercloud/pages/investor/InvestmentDetailsPage.js +108 -108
- package/dist/adaptercloud/pages/investor/InvestmentDetailsPage.js.map +1 -1
- package/dist/adaptercloud/pages/investor/InvestmentOpportunitiesPage.js +76 -76
- package/dist/adaptercloud/pages/investor/InvestmentOpportunitiesPage.js.map +1 -1
- package/dist/adaptercloud/pages/investor/InvestorAnalyticsPage.js +69 -69
- package/dist/adaptercloud/pages/investor/InvestorAnalyticsPage.js.map +1 -1
- package/dist/adaptercloud/pages/investor/InvestorDashboard.js +53 -53
- package/dist/adaptercloud/pages/investor/InvestorDashboard.js.map +1 -1
- package/dist/adaptercloud/pages/investor/InvestorInvestmentsPage.js +32 -32
- package/dist/adaptercloud/pages/investor/InvestorInvestmentsPage.js.map +1 -1
- package/dist/adaptercloud/pages/investor/InvestorPortfolioPage.js +55 -55
- package/dist/adaptercloud/pages/investor/InvestorPortfolioPage.js.map +1 -1
- package/dist/adaptercloud/pages/investor/InvestorProfilePage.js +138 -138
- package/dist/adaptercloud/pages/investor/InvestorProfilePage.js.map +1 -1
- package/dist/adaptercloud/pages/worker/TaskDetailsPage.js +65 -65
- package/dist/adaptercloud/pages/worker/TaskDetailsPage.js.map +1 -1
- package/dist/adaptercloud/pages/worker/WorkerDashboard.js +74 -74
- package/dist/adaptercloud/pages/worker/WorkerDashboard.js.map +1 -1
- package/dist/adaptercloud/pages/worker/WorkerOrdersPage.js +49 -49
- package/dist/adaptercloud/pages/worker/WorkerOrdersPage.js.map +1 -1
- package/dist/adaptercloud/pages/worker/WorkerProfilePage.js +92 -92
- package/dist/adaptercloud/pages/worker/WorkerProfilePage.js.map +1 -1
- package/dist/adaptercloud/pages/worker/WorkerSchedulePage.js +55 -55
- package/dist/adaptercloud/pages/worker/WorkerSchedulePage.js.map +1 -1
- package/dist/adaptercloud/utils/cn.js +2 -2
- package/dist/node_modules/{.bun/clsx@2.1.1/node_modules/clsx → clsx}/dist/clsx.js +1 -1
- package/dist/node_modules/clsx/dist/clsx.js.map +1 -0
- package/dist/node_modules/{.bun/tailwind-merge@3.5.0/node_modules/tailwind-merge → tailwind-merge}/dist/bundle-mjs.js +212 -170
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js.map +1 -0
- package/package.json +1 -1
- package/dist/node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.js.map +0 -1
- package/dist/node_modules/.bun/tailwind-merge@3.5.0/node_modules/tailwind-merge/dist/bundle-mjs.js.map +0 -1
|
@@ -147,7 +147,7 @@ var A = {
|
|
|
147
147
|
preparing: "bg-yellow-500/15 text-yellow-600 dark:text-yellow-400",
|
|
148
148
|
ready: "bg-blue-500/15 text-blue-600 dark:text-blue-400",
|
|
149
149
|
delivered: "bg-green-500/15 text-green-600 dark:text-green-400",
|
|
150
|
-
cancelled: "bg-
|
|
150
|
+
cancelled: "bg-bg-sunken text-text-secondary"
|
|
151
151
|
}, R = {
|
|
152
152
|
active: "bg-green-500",
|
|
153
153
|
"on-break": "bg-yellow-500",
|
|
@@ -178,7 +178,7 @@ var A = {
|
|
|
178
178
|
I(),
|
|
179
179
|
", ",
|
|
180
180
|
/* @__PURE__ */ O("span", {
|
|
181
|
-
className: "text-
|
|
181
|
+
className: "text-text-secondary font-normal",
|
|
182
182
|
children: "Rajesh"
|
|
183
183
|
})
|
|
184
184
|
] }),
|
|
@@ -186,7 +186,7 @@ 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-
|
|
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", {
|
|
@@ -199,10 +199,10 @@ var A = {
|
|
|
199
199
|
children: [/* @__PURE__ */ k("div", {
|
|
200
200
|
className: "flex items-start gap-3",
|
|
201
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-
|
|
202
|
+
className: "font-semibold text-text-primary text-sm",
|
|
203
203
|
children: ["Service Status: ", H.isOpen ? "Open" : "Closed"]
|
|
204
204
|
}), /* @__PURE__ */ k("div", {
|
|
205
|
-
className: "flex flex-col sm:flex-row sm:items-center gap-2 sm:gap-4 mt-1 text-xs text-
|
|
205
|
+
className: "flex flex-col sm:flex-row sm:items-center gap-2 sm:gap-4 mt-1 text-xs text-text-secondary",
|
|
206
206
|
children: [/* @__PURE__ */ k("span", {
|
|
207
207
|
className: "flex items-center gap-1",
|
|
208
208
|
children: [/* @__PURE__ */ O(v, { className: "h-3 w-3 shrink-0" }), H.currentLocation]
|
|
@@ -216,7 +216,7 @@ var A = {
|
|
|
216
216
|
children: [/* @__PURE__ */ k("button", {
|
|
217
217
|
type: "button",
|
|
218
218
|
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-
|
|
219
|
+
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
220
|
children: [/* @__PURE__ */ O(v, { className: "h-3 w-3" }), "Update Location"]
|
|
221
221
|
}), /* @__PURE__ */ O("button", {
|
|
222
222
|
type: "button",
|
|
@@ -233,7 +233,7 @@ var A = {
|
|
|
233
233
|
})
|
|
234
234
|
}),
|
|
235
235
|
/* @__PURE__ */ k("div", { children: [/* @__PURE__ */ O("h2", {
|
|
236
|
-
className: "text-base font-semibold text-
|
|
236
|
+
className: "text-base font-semibold text-text-primary mb-3",
|
|
237
237
|
children: "Today's Performance"
|
|
238
238
|
}), /* @__PURE__ */ O("div", {
|
|
239
239
|
className: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-4",
|
|
@@ -269,24 +269,24 @@ var A = {
|
|
|
269
269
|
].map((e) => {
|
|
270
270
|
let t = e.icon;
|
|
271
271
|
return /* @__PURE__ */ k("div", {
|
|
272
|
-
className: "rounded-lg border border-border bg-
|
|
272
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface p-5 shadow-sm",
|
|
273
273
|
children: [
|
|
274
274
|
/* @__PURE__ */ k("div", {
|
|
275
275
|
className: "flex items-center justify-between",
|
|
276
276
|
children: [/* @__PURE__ */ O("div", {
|
|
277
277
|
className: "rounded-md bg-accent p-2",
|
|
278
|
-
children: /* @__PURE__ */ O(t, { className: "h-5 w-5 text-
|
|
278
|
+
children: /* @__PURE__ */ O(t, { className: "h-5 w-5 text-text-secondary" })
|
|
279
279
|
}), /* @__PURE__ */ k("div", {
|
|
280
|
-
className: "flex items-center gap-1 text-xs text-
|
|
280
|
+
className: "flex items-center gap-1 text-xs text-text-secondary",
|
|
281
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 })]
|
|
282
282
|
})]
|
|
283
283
|
}),
|
|
284
284
|
/* @__PURE__ */ O("p", {
|
|
285
|
-
className: "mt-3 text-2xl font-bold text-
|
|
285
|
+
className: "mt-3 text-2xl font-bold text-text-primary",
|
|
286
286
|
children: e.value
|
|
287
287
|
}),
|
|
288
288
|
/* @__PURE__ */ O("p", {
|
|
289
|
-
className: "mt-1 text-sm text-
|
|
289
|
+
className: "mt-1 text-sm text-text-secondary",
|
|
290
290
|
children: e.label
|
|
291
291
|
})
|
|
292
292
|
]
|
|
@@ -299,7 +299,7 @@ var A = {
|
|
|
299
299
|
className: "lg:col-span-2 space-y-6",
|
|
300
300
|
children: [
|
|
301
301
|
/* @__PURE__ */ k("div", { children: [/* @__PURE__ */ O("h3", {
|
|
302
|
-
className: "text-base font-semibold mb-3 text-
|
|
302
|
+
className: "text-base font-semibold mb-3 text-text-primary",
|
|
303
303
|
children: "Quick Actions"
|
|
304
304
|
}), /* @__PURE__ */ O("div", {
|
|
305
305
|
className: "grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-5 gap-3",
|
|
@@ -350,18 +350,18 @@ var A = {
|
|
|
350
350
|
/* @__PURE__ */ k("div", { children: [/* @__PURE__ */ k("div", {
|
|
351
351
|
className: "flex items-center justify-between mb-3",
|
|
352
352
|
children: [/* @__PURE__ */ O("h3", {
|
|
353
|
-
className: "text-base font-semibold text-
|
|
353
|
+
className: "text-base font-semibold text-text-primary",
|
|
354
354
|
children: "Recent Orders"
|
|
355
355
|
}), /* @__PURE__ */ O("button", {
|
|
356
356
|
type: "button",
|
|
357
357
|
onClick: () => i("/cart-owner/orders"),
|
|
358
|
-
className: "text-xs text-
|
|
358
|
+
className: "text-xs text-text-secondary hover:text-text-primary transition-colors",
|
|
359
359
|
children: "View All Orders"
|
|
360
360
|
})]
|
|
361
361
|
}), /* @__PURE__ */ O("div", {
|
|
362
362
|
className: "space-y-3",
|
|
363
363
|
children: B.map((e) => /* @__PURE__ */ O("div", {
|
|
364
|
-
className: "rounded-lg border border-border bg-
|
|
364
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface p-4 shadow-sm",
|
|
365
365
|
children: /* @__PURE__ */ k("div", {
|
|
366
366
|
className: "flex flex-col lg:flex-row lg:items-start lg:justify-between gap-3",
|
|
367
367
|
children: [/* @__PURE__ */ k("div", {
|
|
@@ -371,28 +371,28 @@ var A = {
|
|
|
371
371
|
className: "flex flex-wrap items-center gap-2 mb-1",
|
|
372
372
|
children: [
|
|
373
373
|
/* @__PURE__ */ k("h4", {
|
|
374
|
-
className: "font-semibold text-
|
|
374
|
+
className: "font-semibold text-text-primary text-sm",
|
|
375
375
|
children: ["#", e.id]
|
|
376
376
|
}),
|
|
377
377
|
/* @__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-
|
|
378
|
+
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
379
|
children: e.status
|
|
380
380
|
}),
|
|
381
381
|
e.priority === "urgent" && /* @__PURE__ */ O(s, { className: "h-4 w-4 text-red-500" })
|
|
382
382
|
]
|
|
383
383
|
}),
|
|
384
384
|
/* @__PURE__ */ k("p", {
|
|
385
|
-
className: "text-xs text-
|
|
385
|
+
className: "text-xs text-text-secondary mb-1",
|
|
386
386
|
children: ["Customer: ", e.customerName]
|
|
387
387
|
}),
|
|
388
388
|
/* @__PURE__ */ k("p", {
|
|
389
|
-
className: "text-xs text-
|
|
389
|
+
className: "text-xs text-text-secondary mb-1 truncate",
|
|
390
390
|
children: ["Items: ", e.items.join(", ")]
|
|
391
391
|
}),
|
|
392
392
|
/* @__PURE__ */ k("div", {
|
|
393
|
-
className: "flex flex-wrap items-center gap-3 text-xs text-
|
|
393
|
+
className: "flex flex-wrap items-center gap-3 text-xs text-text-secondary",
|
|
394
394
|
children: [/* @__PURE__ */ O("span", {
|
|
395
|
-
className: "font-semibold text-
|
|
395
|
+
className: "font-semibold text-text-primary",
|
|
396
396
|
children: r(e.total, { minimumFractionDigits: 0 })
|
|
397
397
|
}), /* @__PURE__ */ k("span", {
|
|
398
398
|
className: "flex items-center gap-1",
|
|
@@ -406,7 +406,7 @@ var A = {
|
|
|
406
406
|
/* @__PURE__ */ k("button", {
|
|
407
407
|
type: "button",
|
|
408
408
|
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-
|
|
409
|
+
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
410
|
children: [/* @__PURE__ */ O(h, { className: "h-3 w-3" }), "View"]
|
|
411
411
|
}),
|
|
412
412
|
e.status === "pending" && /* @__PURE__ */ k("button", {
|
|
@@ -427,16 +427,16 @@ var A = {
|
|
|
427
427
|
}, e.id))
|
|
428
428
|
})] }),
|
|
429
429
|
/* @__PURE__ */ k("div", {
|
|
430
|
-
className: "rounded-lg border border-border bg-
|
|
430
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface shadow-sm",
|
|
431
431
|
children: [/* @__PURE__ */ k("div", {
|
|
432
|
-
className: "flex items-center justify-between border-b border-border px-5 py-4",
|
|
432
|
+
className: "flex items-center justify-between border-b border-border-subtle px-5 py-4",
|
|
433
433
|
children: [/* @__PURE__ */ O("h3", {
|
|
434
|
-
className: "text-base font-semibold text-
|
|
434
|
+
className: "text-base font-semibold text-text-primary",
|
|
435
435
|
children: "Revenue (Last 7 Days)"
|
|
436
436
|
}), /* @__PURE__ */ O("button", {
|
|
437
437
|
type: "button",
|
|
438
438
|
onClick: () => i("/cart-owner/analytics"),
|
|
439
|
-
className: "text-xs text-
|
|
439
|
+
className: "text-xs text-text-secondary hover:text-text-primary transition-colors",
|
|
440
440
|
children: "View Analytics"
|
|
441
441
|
})]
|
|
442
442
|
}), /* @__PURE__ */ O("div", {
|
|
@@ -444,32 +444,32 @@ var A = {
|
|
|
444
444
|
children: /* @__PURE__ */ k("table", {
|
|
445
445
|
className: "w-full text-sm",
|
|
446
446
|
children: [/* @__PURE__ */ O("thead", { children: /* @__PURE__ */ k("tr", {
|
|
447
|
-
className: "border-b border-border",
|
|
447
|
+
className: "border-b border-border-subtle",
|
|
448
448
|
children: [
|
|
449
449
|
/* @__PURE__ */ O("th", {
|
|
450
|
-
className: "px-5 py-3 text-left font-medium text-
|
|
450
|
+
className: "px-5 py-3 text-left font-medium text-text-secondary",
|
|
451
451
|
children: "Date"
|
|
452
452
|
}),
|
|
453
453
|
/* @__PURE__ */ O("th", {
|
|
454
|
-
className: "px-5 py-3 text-right font-medium text-
|
|
454
|
+
className: "px-5 py-3 text-right font-medium text-text-secondary",
|
|
455
455
|
children: "Orders"
|
|
456
456
|
}),
|
|
457
457
|
/* @__PURE__ */ O("th", {
|
|
458
|
-
className: "px-5 py-3 text-right font-medium text-
|
|
458
|
+
className: "px-5 py-3 text-right font-medium text-text-secondary",
|
|
459
459
|
children: "Revenue"
|
|
460
460
|
}),
|
|
461
461
|
/* @__PURE__ */ O("th", {
|
|
462
|
-
className: "px-5 py-3 text-left font-medium text-
|
|
462
|
+
className: "px-5 py-3 text-left font-medium text-text-secondary",
|
|
463
463
|
children: "Trend"
|
|
464
464
|
})
|
|
465
465
|
]
|
|
466
466
|
}) }), /* @__PURE__ */ O("tbody", { children: F.map((e, t) => {
|
|
467
467
|
let n = Math.max(...F.map((e) => e.revenue)), i = e.revenue / n * 100;
|
|
468
468
|
return /* @__PURE__ */ k("tr", {
|
|
469
|
-
className: "border-b border-border last:border-0",
|
|
469
|
+
className: "border-b border-border-subtle last:border-0",
|
|
470
470
|
children: [
|
|
471
471
|
/* @__PURE__ */ O("td", {
|
|
472
|
-
className: "px-5 py-3 text-
|
|
472
|
+
className: "px-5 py-3 text-text-primary text-xs",
|
|
473
473
|
children: new Date(e.date).toLocaleDateString("en-IN", {
|
|
474
474
|
day: "2-digit",
|
|
475
475
|
month: "short",
|
|
@@ -477,17 +477,17 @@ var A = {
|
|
|
477
477
|
})
|
|
478
478
|
}),
|
|
479
479
|
/* @__PURE__ */ O("td", {
|
|
480
|
-
className: "px-5 py-3 text-right text-
|
|
480
|
+
className: "px-5 py-3 text-right text-text-primary",
|
|
481
481
|
children: e.orders
|
|
482
482
|
}),
|
|
483
483
|
/* @__PURE__ */ O("td", {
|
|
484
|
-
className: "px-5 py-3 text-right font-medium text-
|
|
484
|
+
className: "px-5 py-3 text-right font-medium text-text-primary",
|
|
485
485
|
children: r(e.revenue, { minimumFractionDigits: 0 })
|
|
486
486
|
}),
|
|
487
487
|
/* @__PURE__ */ O("td", {
|
|
488
488
|
className: "px-5 py-3 w-40",
|
|
489
489
|
children: /* @__PURE__ */ O("div", {
|
|
490
|
-
className: "h-4 rounded bg-
|
|
490
|
+
className: "h-4 rounded bg-bg-sunken overflow-hidden",
|
|
491
491
|
children: /* @__PURE__ */ O("div", {
|
|
492
492
|
className: "h-full rounded bg-blue-500/60",
|
|
493
493
|
style: { width: `${i}%` }
|
|
@@ -501,40 +501,40 @@ var A = {
|
|
|
501
501
|
})]
|
|
502
502
|
}),
|
|
503
503
|
/* @__PURE__ */ k("div", {
|
|
504
|
-
className: "rounded-lg border border-border bg-
|
|
504
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface p-5 shadow-sm",
|
|
505
505
|
children: [/* @__PURE__ */ O("h3", {
|
|
506
|
-
className: "text-base font-semibold text-
|
|
506
|
+
className: "text-base font-semibold text-text-primary mb-4",
|
|
507
507
|
children: "This Month Summary"
|
|
508
508
|
}), /* @__PURE__ */ k("div", {
|
|
509
509
|
className: "grid grid-cols-1 sm:grid-cols-3 gap-4",
|
|
510
510
|
children: [
|
|
511
511
|
/* @__PURE__ */ k("div", {
|
|
512
|
-
className: "text-center p-3 rounded-lg bg-
|
|
512
|
+
className: "text-center p-3 rounded-lg bg-bg-sunken/50",
|
|
513
513
|
children: [/* @__PURE__ */ O("div", {
|
|
514
|
-
className: "text-xl font-bold text-
|
|
514
|
+
className: "text-xl font-bold text-text-primary",
|
|
515
515
|
children: r(A.totalRevenue, { minimumFractionDigits: 0 })
|
|
516
516
|
}), /* @__PURE__ */ O("div", {
|
|
517
|
-
className: "text-xs text-
|
|
517
|
+
className: "text-xs text-text-secondary mt-1",
|
|
518
518
|
children: "Total Revenue"
|
|
519
519
|
})]
|
|
520
520
|
}),
|
|
521
521
|
/* @__PURE__ */ k("div", {
|
|
522
|
-
className: "text-center p-3 rounded-lg bg-
|
|
522
|
+
className: "text-center p-3 rounded-lg bg-bg-sunken/50",
|
|
523
523
|
children: [/* @__PURE__ */ O("div", {
|
|
524
|
-
className: "text-xl font-bold text-
|
|
524
|
+
className: "text-xl font-bold text-text-primary",
|
|
525
525
|
children: A.totalOrders
|
|
526
526
|
}), /* @__PURE__ */ O("div", {
|
|
527
|
-
className: "text-xs text-
|
|
527
|
+
className: "text-xs text-text-secondary mt-1",
|
|
528
528
|
children: "Total Orders"
|
|
529
529
|
})]
|
|
530
530
|
}),
|
|
531
531
|
/* @__PURE__ */ k("div", {
|
|
532
|
-
className: "text-center p-3 rounded-lg bg-
|
|
532
|
+
className: "text-center p-3 rounded-lg bg-bg-sunken/50",
|
|
533
533
|
children: [/* @__PURE__ */ O("div", {
|
|
534
|
-
className: "text-xl font-bold text-
|
|
534
|
+
className: "text-xl font-bold text-text-primary",
|
|
535
535
|
children: A.customerCount
|
|
536
536
|
}), /* @__PURE__ */ O("div", {
|
|
537
|
-
className: "text-xs text-
|
|
537
|
+
className: "text-xs text-text-secondary mt-1",
|
|
538
538
|
children: "Unique Customers"
|
|
539
539
|
})]
|
|
540
540
|
})
|
|
@@ -546,11 +546,11 @@ var A = {
|
|
|
546
546
|
className: "space-y-6",
|
|
547
547
|
children: [
|
|
548
548
|
/* @__PURE__ */ k("div", {
|
|
549
|
-
className: "rounded-lg border border-border bg-
|
|
549
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface p-5 shadow-sm",
|
|
550
550
|
children: [/* @__PURE__ */ k("div", {
|
|
551
551
|
className: "flex items-center justify-between mb-4",
|
|
552
552
|
children: [/* @__PURE__ */ k("h3", {
|
|
553
|
-
className: "text-base font-semibold text-
|
|
553
|
+
className: "text-base font-semibold text-text-primary flex items-center gap-2",
|
|
554
554
|
children: [/* @__PURE__ */ O(u, { className: "h-4 w-4" }), "Notifications"]
|
|
555
555
|
}), /* @__PURE__ */ O("span", {
|
|
556
556
|
className: "inline-flex items-center justify-center rounded-full bg-red-500 text-white text-[10px] font-bold h-5 w-5",
|
|
@@ -563,10 +563,10 @@ var A = {
|
|
|
563
563
|
children: [/* @__PURE__ */ O(o, { className: t("h-4 w-4 mt-0.5 shrink-0", z[e.type]) }), /* @__PURE__ */ k("div", {
|
|
564
564
|
className: "min-w-0",
|
|
565
565
|
children: [/* @__PURE__ */ O("p", {
|
|
566
|
-
className: "text-xs text-
|
|
566
|
+
className: "text-xs text-text-primary leading-tight",
|
|
567
567
|
children: e.message
|
|
568
568
|
}), /* @__PURE__ */ O("p", {
|
|
569
|
-
className: "text-[10px] text-
|
|
569
|
+
className: "text-[10px] text-text-secondary mt-0.5",
|
|
570
570
|
children: e.time
|
|
571
571
|
})]
|
|
572
572
|
})]
|
|
@@ -574,9 +574,9 @@ var A = {
|
|
|
574
574
|
})]
|
|
575
575
|
}),
|
|
576
576
|
/* @__PURE__ */ k("div", {
|
|
577
|
-
className: "rounded-lg border border-border bg-
|
|
577
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface p-5 shadow-sm",
|
|
578
578
|
children: [/* @__PURE__ */ k("h3", {
|
|
579
|
-
className: "text-base font-semibold text-
|
|
579
|
+
className: "text-base font-semibold text-text-primary mb-4 flex items-center gap-2",
|
|
580
580
|
children: [/* @__PURE__ */ O(g, { className: "h-4 w-4 text-orange-500" }), "Top Selling Items"]
|
|
581
581
|
}), /* @__PURE__ */ O("div", {
|
|
582
582
|
className: "space-y-3",
|
|
@@ -585,36 +585,36 @@ var A = {
|
|
|
585
585
|
children: [/* @__PURE__ */ k("div", {
|
|
586
586
|
className: "flex items-center gap-2 min-w-0",
|
|
587
587
|
children: [/* @__PURE__ */ O("span", {
|
|
588
|
-
className: "text-sm font-bold text-
|
|
588
|
+
className: "text-sm font-bold text-text-secondary w-5",
|
|
589
589
|
children: t + 1
|
|
590
590
|
}), /* @__PURE__ */ k("div", {
|
|
591
591
|
className: "min-w-0",
|
|
592
592
|
children: [/* @__PURE__ */ O("p", {
|
|
593
|
-
className: "text-xs font-medium text-
|
|
593
|
+
className: "text-xs font-medium text-text-primary truncate",
|
|
594
594
|
children: e.name
|
|
595
595
|
}), /* @__PURE__ */ k("p", {
|
|
596
|
-
className: "text-[10px] text-
|
|
596
|
+
className: "text-[10px] text-text-secondary",
|
|
597
597
|
children: [e.quantity, " sold"]
|
|
598
598
|
})]
|
|
599
599
|
})]
|
|
600
600
|
}), /* @__PURE__ */ O("span", {
|
|
601
|
-
className: "text-xs font-semibold text-
|
|
601
|
+
className: "text-xs font-semibold text-text-primary",
|
|
602
602
|
children: r(e.revenue, { minimumFractionDigits: 0 })
|
|
603
603
|
})]
|
|
604
604
|
}, e.name))
|
|
605
605
|
})]
|
|
606
606
|
}),
|
|
607
607
|
/* @__PURE__ */ k("div", {
|
|
608
|
-
className: "rounded-lg border border-border bg-
|
|
608
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface p-5 shadow-sm",
|
|
609
609
|
children: [/* @__PURE__ */ k("div", {
|
|
610
610
|
className: "flex items-center justify-between mb-4",
|
|
611
611
|
children: [/* @__PURE__ */ k("h3", {
|
|
612
|
-
className: "text-base font-semibold text-
|
|
612
|
+
className: "text-base font-semibold text-text-primary flex items-center gap-2",
|
|
613
613
|
children: [/* @__PURE__ */ O(D, { className: "h-4 w-4" }), "Staff Overview"]
|
|
614
614
|
}), /* @__PURE__ */ O("button", {
|
|
615
615
|
type: "button",
|
|
616
616
|
onClick: () => i("/cart-owner/staff"),
|
|
617
|
-
className: "text-xs text-
|
|
617
|
+
className: "text-xs text-text-secondary hover:text-text-primary transition-colors",
|
|
618
618
|
children: "Manage"
|
|
619
619
|
})]
|
|
620
620
|
}), /* @__PURE__ */ O("div", {
|
|
@@ -624,23 +624,23 @@ var A = {
|
|
|
624
624
|
children: [/* @__PURE__ */ k("div", {
|
|
625
625
|
className: "flex items-center gap-2",
|
|
626
626
|
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-
|
|
627
|
+
className: "text-xs font-medium text-text-primary",
|
|
628
628
|
children: e.name
|
|
629
629
|
}), /* @__PURE__ */ O("p", {
|
|
630
|
-
className: "text-[10px] text-
|
|
630
|
+
className: "text-[10px] text-text-secondary",
|
|
631
631
|
children: e.role
|
|
632
632
|
})] })]
|
|
633
633
|
}), /* @__PURE__ */ O("span", {
|
|
634
|
-
className: "text-[10px] capitalize text-
|
|
634
|
+
className: "text-[10px] capitalize text-text-secondary",
|
|
635
635
|
children: e.status.replace("-", " ")
|
|
636
636
|
})]
|
|
637
637
|
}, e.name))
|
|
638
638
|
})]
|
|
639
639
|
}),
|
|
640
640
|
/* @__PURE__ */ k("div", {
|
|
641
|
-
className: "rounded-lg border border-border bg-
|
|
641
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface p-5 shadow-sm",
|
|
642
642
|
children: [/* @__PURE__ */ O("h3", {
|
|
643
|
-
className: "text-base font-semibold text-
|
|
643
|
+
className: "text-base font-semibold text-text-primary mb-4",
|
|
644
644
|
children: "Quick Stats"
|
|
645
645
|
}), /* @__PURE__ */ k("div", {
|
|
646
646
|
className: "space-y-3",
|
|
@@ -648,30 +648,30 @@ var A = {
|
|
|
648
648
|
/* @__PURE__ */ k("div", {
|
|
649
649
|
className: "flex items-center justify-between",
|
|
650
650
|
children: [/* @__PURE__ */ O("span", {
|
|
651
|
-
className: "text-xs text-
|
|
651
|
+
className: "text-xs text-text-secondary",
|
|
652
652
|
children: "Active Offerings"
|
|
653
653
|
}), /* @__PURE__ */ O("span", {
|
|
654
|
-
className: "text-sm font-semibold text-
|
|
654
|
+
className: "text-sm font-semibold text-text-primary",
|
|
655
655
|
children: A.activeOfferings
|
|
656
656
|
})]
|
|
657
657
|
}),
|
|
658
658
|
/* @__PURE__ */ k("div", {
|
|
659
659
|
className: "flex items-center justify-between",
|
|
660
660
|
children: [/* @__PURE__ */ O("span", {
|
|
661
|
-
className: "text-xs text-
|
|
661
|
+
className: "text-xs text-text-secondary",
|
|
662
662
|
children: "Customer Rating"
|
|
663
663
|
}), /* @__PURE__ */ k("span", {
|
|
664
|
-
className: "text-sm font-semibold text-
|
|
664
|
+
className: "text-sm font-semibold text-text-primary flex items-center gap-1",
|
|
665
665
|
children: [/* @__PURE__ */ O(C, { className: "h-3 w-3 text-yellow-500 fill-yellow-500" }), A.rating]
|
|
666
666
|
})]
|
|
667
667
|
}),
|
|
668
668
|
/* @__PURE__ */ k("div", {
|
|
669
669
|
className: "flex items-center justify-between",
|
|
670
670
|
children: [/* @__PURE__ */ O("span", {
|
|
671
|
-
className: "text-xs text-
|
|
671
|
+
className: "text-xs text-text-secondary",
|
|
672
672
|
children: "Total Customers"
|
|
673
673
|
}), /* @__PURE__ */ O("span", {
|
|
674
|
-
className: "text-sm font-semibold text-
|
|
674
|
+
className: "text-sm font-semibold text-text-primary",
|
|
675
675
|
children: A.customerCount
|
|
676
676
|
})]
|
|
677
677
|
})
|
|
@@ -679,9 +679,9 @@ var A = {
|
|
|
679
679
|
})]
|
|
680
680
|
}),
|
|
681
681
|
/* @__PURE__ */ k("div", {
|
|
682
|
-
className: "rounded-lg border border-border bg-
|
|
682
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface p-5 shadow-sm",
|
|
683
683
|
children: [/* @__PURE__ */ O("h3", {
|
|
684
|
-
className: "text-base font-semibold text-
|
|
684
|
+
className: "text-base font-semibold text-text-primary mb-3",
|
|
685
685
|
children: "Business Settings"
|
|
686
686
|
}), /* @__PURE__ */ O("div", {
|
|
687
687
|
className: "space-y-2",
|
|
@@ -706,19 +706,19 @@ var A = {
|
|
|
706
706
|
return /* @__PURE__ */ k("button", {
|
|
707
707
|
type: "button",
|
|
708
708
|
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-
|
|
709
|
+
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
710
|
children: [/* @__PURE__ */ k("span", {
|
|
711
711
|
className: "flex items-center gap-2",
|
|
712
712
|
children: [/* @__PURE__ */ O(t, { className: "h-3.5 w-3.5" }), e.label]
|
|
713
|
-
}), /* @__PURE__ */ O(f, { className: "h-3 w-3 text-
|
|
713
|
+
}), /* @__PURE__ */ O(f, { className: "h-3 w-3 text-text-secondary" })]
|
|
714
714
|
}, e.label);
|
|
715
715
|
})
|
|
716
716
|
})]
|
|
717
717
|
}),
|
|
718
718
|
/* @__PURE__ */ k("div", {
|
|
719
|
-
className: "rounded-lg border border-border bg-
|
|
719
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface p-5 shadow-sm",
|
|
720
720
|
children: [/* @__PURE__ */ O("h3", {
|
|
721
|
-
className: "text-base font-semibold text-
|
|
721
|
+
className: "text-base font-semibold text-text-primary mb-3",
|
|
722
722
|
children: "Recent Activity"
|
|
723
723
|
}), /* @__PURE__ */ k("div", {
|
|
724
724
|
className: "space-y-2 text-xs",
|
|
@@ -726,21 +726,21 @@ var A = {
|
|
|
726
726
|
/* @__PURE__ */ k("div", {
|
|
727
727
|
className: "flex items-center gap-2",
|
|
728
728
|
children: [/* @__PURE__ */ O(o, { className: "h-3.5 w-3.5 text-green-500" }), /* @__PURE__ */ O("span", {
|
|
729
|
-
className: "text-
|
|
729
|
+
className: "text-text-secondary",
|
|
730
730
|
children: "Order #ORD-003 delivered"
|
|
731
731
|
})]
|
|
732
732
|
}),
|
|
733
733
|
/* @__PURE__ */ k("div", {
|
|
734
734
|
className: "flex items-center gap-2",
|
|
735
735
|
children: [/* @__PURE__ */ O(o, { className: "h-3.5 w-3.5 text-blue-500" }), /* @__PURE__ */ O("span", {
|
|
736
|
-
className: "text-
|
|
736
|
+
className: "text-text-secondary",
|
|
737
737
|
children: "Inventory updated"
|
|
738
738
|
})]
|
|
739
739
|
}),
|
|
740
740
|
/* @__PURE__ */ k("div", {
|
|
741
741
|
className: "flex items-center gap-2",
|
|
742
742
|
children: [/* @__PURE__ */ O(o, { className: "h-3.5 w-3.5 text-yellow-500" }), /* @__PURE__ */ O("span", {
|
|
743
|
-
className: "text-
|
|
743
|
+
className: "text-text-secondary",
|
|
744
744
|
children: "New customer review"
|
|
745
745
|
})]
|
|
746
746
|
})
|