@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
|
@@ -259,7 +259,7 @@ var C = {
|
|
|
259
259
|
children: [/* @__PURE__ */ S("select", {
|
|
260
260
|
value: T,
|
|
261
261
|
onChange: (e) => E(e.target.value),
|
|
262
|
-
className: "rounded-md border border-border bg-
|
|
262
|
+
className: "rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary",
|
|
263
263
|
children: [
|
|
264
264
|
/* @__PURE__ */ x("option", {
|
|
265
265
|
value: "today",
|
|
@@ -281,7 +281,7 @@ var C = {
|
|
|
281
281
|
}), /* @__PURE__ */ S("button", {
|
|
282
282
|
type: "button",
|
|
283
283
|
onClick: () => alert("Export feature coming soon!"),
|
|
284
|
-
className: "inline-flex items-center gap-1.5 rounded-md border border-border px-3 py-2 text-sm text-
|
|
284
|
+
className: "inline-flex items-center gap-1.5 rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary hover:bg-bg-sunken transition-colors",
|
|
285
285
|
children: [/* @__PURE__ */ x(d, { className: "h-4 w-4" }), "Export"]
|
|
286
286
|
})]
|
|
287
287
|
}),
|
|
@@ -289,7 +289,7 @@ var C = {
|
|
|
289
289
|
className: "space-y-6",
|
|
290
290
|
children: [
|
|
291
291
|
/* @__PURE__ */ S("section", { children: [/* @__PURE__ */ x("h2", {
|
|
292
|
-
className: "text-base font-semibold text-
|
|
292
|
+
className: "text-base font-semibold text-text-primary mb-3",
|
|
293
293
|
children: "Revenue Overview"
|
|
294
294
|
}), /* @__PURE__ */ x("div", {
|
|
295
295
|
className: "grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4",
|
|
@@ -315,24 +315,24 @@ var C = {
|
|
|
315
315
|
growth: null
|
|
316
316
|
}
|
|
317
317
|
].map((e) => /* @__PURE__ */ S("div", {
|
|
318
|
-
className: "rounded-lg border border-border bg-
|
|
318
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface p-5 shadow-sm",
|
|
319
319
|
children: [
|
|
320
320
|
/* @__PURE__ */ S("div", {
|
|
321
321
|
className: "flex items-center justify-between",
|
|
322
322
|
children: [/* @__PURE__ */ x("div", {
|
|
323
323
|
className: "rounded-md bg-accent p-2",
|
|
324
|
-
children: /* @__PURE__ */ x(f, { className: "h-5 w-5 text-
|
|
324
|
+
children: /* @__PURE__ */ x(f, { className: "h-5 w-5 text-text-secondary" })
|
|
325
325
|
}), e.growth !== null && /* @__PURE__ */ S("div", {
|
|
326
326
|
className: t("flex items-center gap-1 text-xs font-medium", e.growth >= 0 ? "text-green-600 dark:text-green-400" : "text-red-600 dark:text-red-400"),
|
|
327
327
|
children: [e.growth >= 0 ? /* @__PURE__ */ x(s, { className: "h-3.5 w-3.5" }) : /* @__PURE__ */ x(o, { className: "h-3.5 w-3.5" }), j(e.growth)]
|
|
328
328
|
})]
|
|
329
329
|
}),
|
|
330
330
|
/* @__PURE__ */ x("p", {
|
|
331
|
-
className: "mt-3 text-2xl font-bold text-
|
|
331
|
+
className: "mt-3 text-2xl font-bold text-text-primary",
|
|
332
332
|
children: r(e.value, { minimumFractionDigits: 0 })
|
|
333
333
|
}),
|
|
334
334
|
/* @__PURE__ */ x("p", {
|
|
335
|
-
className: "mt-1 text-sm text-
|
|
335
|
+
className: "mt-1 text-sm text-text-secondary",
|
|
336
336
|
children: e.label
|
|
337
337
|
})
|
|
338
338
|
]
|
|
@@ -341,12 +341,12 @@ var C = {
|
|
|
341
341
|
/* @__PURE__ */ S("div", {
|
|
342
342
|
className: "grid grid-cols-1 lg:grid-cols-2 gap-6",
|
|
343
343
|
children: [/* @__PURE__ */ S("div", {
|
|
344
|
-
className: "rounded-lg border border-border bg-
|
|
344
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface shadow-sm",
|
|
345
345
|
children: [/* @__PURE__ */ x("div", {
|
|
346
|
-
className: "border-b border-border px-5 py-4",
|
|
346
|
+
className: "border-b border-border-subtle px-5 py-4",
|
|
347
347
|
children: /* @__PURE__ */ S("h2", {
|
|
348
|
-
className: "text-base font-semibold text-
|
|
349
|
-
children: [/* @__PURE__ */ x(m, { className: "h-4 w-4 text-
|
|
348
|
+
className: "text-base font-semibold text-text-primary flex items-center gap-2",
|
|
349
|
+
children: [/* @__PURE__ */ x(m, { className: "h-4 w-4 text-text-secondary" }), "Order Statistics"]
|
|
350
350
|
})
|
|
351
351
|
}), /* @__PURE__ */ S("div", {
|
|
352
352
|
className: "p-5",
|
|
@@ -354,28 +354,28 @@ var C = {
|
|
|
354
354
|
className: "grid grid-cols-2 gap-4 mb-5",
|
|
355
355
|
children: [
|
|
356
356
|
/* @__PURE__ */ S("div", { children: [/* @__PURE__ */ x("p", {
|
|
357
|
-
className: "text-xs text-
|
|
357
|
+
className: "text-xs text-text-secondary",
|
|
358
358
|
children: "Total Orders"
|
|
359
359
|
}), /* @__PURE__ */ x("p", {
|
|
360
|
-
className: "text-2xl font-bold text-
|
|
360
|
+
className: "text-2xl font-bold text-text-primary",
|
|
361
361
|
children: C.orders.total
|
|
362
362
|
})] }),
|
|
363
363
|
/* @__PURE__ */ S("div", { children: [/* @__PURE__ */ x("p", {
|
|
364
|
-
className: "text-xs text-
|
|
364
|
+
className: "text-xs text-text-secondary",
|
|
365
365
|
children: "Avg. Order Value"
|
|
366
366
|
}), /* @__PURE__ */ x("p", {
|
|
367
|
-
className: "text-2xl font-bold text-
|
|
367
|
+
className: "text-2xl font-bold text-text-primary",
|
|
368
368
|
children: r(C.orders.averageValue, { minimumFractionDigits: 0 })
|
|
369
369
|
})] }),
|
|
370
370
|
/* @__PURE__ */ S("div", { children: [/* @__PURE__ */ x("p", {
|
|
371
|
-
className: "text-xs text-
|
|
371
|
+
className: "text-xs text-text-secondary",
|
|
372
372
|
children: "Completed"
|
|
373
373
|
}), /* @__PURE__ */ x("p", {
|
|
374
374
|
className: "text-xl font-bold text-green-600 dark:text-green-400",
|
|
375
375
|
children: C.orders.completed
|
|
376
376
|
})] }),
|
|
377
377
|
/* @__PURE__ */ S("div", { children: [/* @__PURE__ */ x("p", {
|
|
378
|
-
className: "text-xs text-
|
|
378
|
+
className: "text-xs text-text-secondary",
|
|
379
379
|
children: "Cancelled"
|
|
380
380
|
}), /* @__PURE__ */ x("p", {
|
|
381
381
|
className: "text-xl font-bold text-red-600 dark:text-red-400",
|
|
@@ -383,20 +383,20 @@ var C = {
|
|
|
383
383
|
})] })
|
|
384
384
|
]
|
|
385
385
|
}), /* @__PURE__ */ S("div", { children: [/* @__PURE__ */ x("p", {
|
|
386
|
-
className: "text-xs text-
|
|
386
|
+
className: "text-xs text-text-secondary mb-1",
|
|
387
387
|
children: "Avg. Preparation Time"
|
|
388
388
|
}), /* @__PURE__ */ S("p", {
|
|
389
|
-
className: "text-sm font-medium text-
|
|
389
|
+
className: "text-sm font-medium text-text-primary",
|
|
390
390
|
children: [C.orders.averagePreparationTime, " minutes"]
|
|
391
391
|
})] })]
|
|
392
392
|
})]
|
|
393
393
|
}), /* @__PURE__ */ S("div", {
|
|
394
|
-
className: "rounded-lg border border-border bg-
|
|
394
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface shadow-sm",
|
|
395
395
|
children: [/* @__PURE__ */ x("div", {
|
|
396
|
-
className: "border-b border-border px-5 py-4",
|
|
396
|
+
className: "border-b border-border-subtle px-5 py-4",
|
|
397
397
|
children: /* @__PURE__ */ S("h2", {
|
|
398
|
-
className: "text-base font-semibold text-
|
|
399
|
-
children: [/* @__PURE__ */ x(u, { className: "h-4 w-4 text-
|
|
398
|
+
className: "text-base font-semibold text-text-primary flex items-center gap-2",
|
|
399
|
+
children: [/* @__PURE__ */ x(u, { className: "h-4 w-4 text-text-secondary" }), "Popular Times"]
|
|
400
400
|
})
|
|
401
401
|
}), /* @__PURE__ */ x("div", {
|
|
402
402
|
className: "p-5 space-y-2",
|
|
@@ -405,14 +405,14 @@ var C = {
|
|
|
405
405
|
return /* @__PURE__ */ S("div", { children: [/* @__PURE__ */ S("div", {
|
|
406
406
|
className: "flex items-center justify-between text-xs mb-0.5",
|
|
407
407
|
children: [/* @__PURE__ */ x("span", {
|
|
408
|
-
className: "text-
|
|
408
|
+
className: "text-text-primary w-14",
|
|
409
409
|
children: `${e.hour}:00`
|
|
410
410
|
}), /* @__PURE__ */ S("span", {
|
|
411
|
-
className: "text-
|
|
411
|
+
className: "text-text-secondary",
|
|
412
412
|
children: [e.orders, " orders"]
|
|
413
413
|
})]
|
|
414
414
|
}), /* @__PURE__ */ x("div", {
|
|
415
|
-
className: "h-2 rounded-full bg-
|
|
415
|
+
className: "h-2 rounded-full bg-bg-sunken overflow-hidden",
|
|
416
416
|
children: /* @__PURE__ */ x("div", {
|
|
417
417
|
className: t("h-full rounded-full transition-all", e.orders > 25 ? "bg-red-500/60" : e.orders > 18 ? "bg-yellow-500/60" : "bg-green-500/60"),
|
|
418
418
|
style: { width: `${n}%` }
|
|
@@ -423,7 +423,7 @@ var C = {
|
|
|
423
423
|
})]
|
|
424
424
|
}),
|
|
425
425
|
/* @__PURE__ */ S("section", { children: [/* @__PURE__ */ x("h2", {
|
|
426
|
-
className: "text-base font-semibold text-
|
|
426
|
+
className: "text-base font-semibold text-text-primary mb-3",
|
|
427
427
|
children: "Performance Metrics"
|
|
428
428
|
}), /* @__PURE__ */ x("div", {
|
|
429
429
|
className: "grid grid-cols-2 lg:grid-cols-4 gap-4",
|
|
@@ -455,11 +455,11 @@ var C = {
|
|
|
455
455
|
].map((e) => {
|
|
456
456
|
let n = e.icon;
|
|
457
457
|
return /* @__PURE__ */ S("div", {
|
|
458
|
-
className: "rounded-lg border border-border bg-
|
|
458
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface p-5 shadow-sm",
|
|
459
459
|
children: [/* @__PURE__ */ S("div", {
|
|
460
460
|
className: "flex items-center gap-2 mb-2",
|
|
461
461
|
children: [/* @__PURE__ */ x(n, { className: t("h-5 w-5", e.color) }), /* @__PURE__ */ x("span", {
|
|
462
|
-
className: "text-xs text-
|
|
462
|
+
className: "text-xs text-text-secondary",
|
|
463
463
|
children: e.label
|
|
464
464
|
})]
|
|
465
465
|
}), /* @__PURE__ */ x("p", {
|
|
@@ -472,13 +472,13 @@ var C = {
|
|
|
472
472
|
/* @__PURE__ */ S("div", {
|
|
473
473
|
className: "grid grid-cols-1 lg:grid-cols-2 gap-6",
|
|
474
474
|
children: [/* @__PURE__ */ S("div", {
|
|
475
|
-
className: "rounded-lg border border-border bg-
|
|
475
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface shadow-sm",
|
|
476
476
|
children: [
|
|
477
477
|
/* @__PURE__ */ x("div", {
|
|
478
|
-
className: "border-b border-border px-5 py-4",
|
|
478
|
+
className: "border-b border-border-subtle px-5 py-4",
|
|
479
479
|
children: /* @__PURE__ */ S("h2", {
|
|
480
|
-
className: "text-base font-semibold text-
|
|
481
|
-
children: [/* @__PURE__ */ x(v, { className: "h-4 w-4 text-
|
|
480
|
+
className: "text-base font-semibold text-text-primary flex items-center gap-2",
|
|
481
|
+
children: [/* @__PURE__ */ x(v, { className: "h-4 w-4 text-text-secondary" }), "Top Selling Offerings"]
|
|
482
482
|
})
|
|
483
483
|
}),
|
|
484
484
|
/* @__PURE__ */ x("div", {
|
|
@@ -488,13 +488,13 @@ var C = {
|
|
|
488
488
|
children: [/* @__PURE__ */ S("div", {
|
|
489
489
|
className: "flex items-center gap-3",
|
|
490
490
|
children: [/* @__PURE__ */ x("span", {
|
|
491
|
-
className: "flex h-6 w-6 items-center justify-center rounded-full bg-
|
|
491
|
+
className: "flex h-6 w-6 items-center justify-center rounded-full bg-bg-sunken text-xs font-medium text-text-secondary",
|
|
492
492
|
children: t + 1
|
|
493
493
|
}), /* @__PURE__ */ S("div", { children: [/* @__PURE__ */ x("p", {
|
|
494
|
-
className: "text-sm font-medium text-
|
|
494
|
+
className: "text-sm font-medium text-text-primary",
|
|
495
495
|
children: e.name
|
|
496
496
|
}), /* @__PURE__ */ S("p", {
|
|
497
|
-
className: "text-xs text-
|
|
497
|
+
className: "text-xs text-text-secondary",
|
|
498
498
|
children: [
|
|
499
499
|
e.category,
|
|
500
500
|
" | ",
|
|
@@ -503,23 +503,23 @@ var C = {
|
|
|
503
503
|
]
|
|
504
504
|
})] })]
|
|
505
505
|
}), /* @__PURE__ */ x("span", {
|
|
506
|
-
className: "text-sm font-medium text-
|
|
506
|
+
className: "text-sm font-medium text-text-primary",
|
|
507
507
|
children: r(e.revenue, { minimumFractionDigits: 0 })
|
|
508
508
|
})]
|
|
509
509
|
}, e.id))
|
|
510
510
|
}),
|
|
511
511
|
/* @__PURE__ */ S("div", {
|
|
512
|
-
className: "border-t border-border px-5 py-3",
|
|
512
|
+
className: "border-t border-border-subtle px-5 py-3",
|
|
513
513
|
children: [/* @__PURE__ */ x("p", {
|
|
514
|
-
className: "text-xs font-medium text-
|
|
514
|
+
className: "text-xs font-medium text-text-secondary mb-2",
|
|
515
515
|
children: "Least Selling"
|
|
516
516
|
}), C.offerings.leastSelling.map((e) => /* @__PURE__ */ S("div", {
|
|
517
517
|
className: "flex items-center justify-between py-1.5",
|
|
518
518
|
children: [/* @__PURE__ */ x("span", {
|
|
519
|
-
className: "text-xs text-
|
|
519
|
+
className: "text-xs text-text-secondary",
|
|
520
520
|
children: e.name
|
|
521
521
|
}), /* @__PURE__ */ S("span", {
|
|
522
|
-
className: "text-xs text-
|
|
522
|
+
className: "text-xs text-text-secondary",
|
|
523
523
|
children: [
|
|
524
524
|
e.quantity,
|
|
525
525
|
" sold |",
|
|
@@ -531,12 +531,12 @@ var C = {
|
|
|
531
531
|
})
|
|
532
532
|
]
|
|
533
533
|
}), /* @__PURE__ */ S("div", {
|
|
534
|
-
className: "rounded-lg border border-border bg-
|
|
534
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface shadow-sm",
|
|
535
535
|
children: [/* @__PURE__ */ x("div", {
|
|
536
|
-
className: "border-b border-border px-5 py-4",
|
|
536
|
+
className: "border-b border-border-subtle px-5 py-4",
|
|
537
537
|
children: /* @__PURE__ */ S("h2", {
|
|
538
|
-
className: "text-base font-semibold text-
|
|
539
|
-
children: [/* @__PURE__ */ x(c, { className: "h-4 w-4 text-
|
|
538
|
+
className: "text-base font-semibold text-text-primary flex items-center gap-2",
|
|
539
|
+
children: [/* @__PURE__ */ x(c, { className: "h-4 w-4 text-text-secondary" }), "Category Performance"]
|
|
540
540
|
})
|
|
541
541
|
}), /* @__PURE__ */ x("div", {
|
|
542
542
|
className: "p-5 space-y-4",
|
|
@@ -545,10 +545,10 @@ var C = {
|
|
|
545
545
|
return /* @__PURE__ */ S("div", { children: [/* @__PURE__ */ S("div", {
|
|
546
546
|
className: "flex items-center justify-between text-sm mb-1",
|
|
547
547
|
children: [/* @__PURE__ */ x("span", {
|
|
548
|
-
className: "text-
|
|
548
|
+
className: "text-text-primary",
|
|
549
549
|
children: e.category
|
|
550
550
|
}), /* @__PURE__ */ S("span", {
|
|
551
|
-
className: "text-
|
|
551
|
+
className: "text-text-secondary",
|
|
552
552
|
children: [
|
|
553
553
|
r(e.revenue, { minimumFractionDigits: 0 }),
|
|
554
554
|
" (",
|
|
@@ -558,7 +558,7 @@ var C = {
|
|
|
558
558
|
]
|
|
559
559
|
})]
|
|
560
560
|
}), /* @__PURE__ */ x("div", {
|
|
561
|
-
className: "h-2.5 rounded-full bg-
|
|
561
|
+
className: "h-2.5 rounded-full bg-bg-sunken overflow-hidden",
|
|
562
562
|
children: /* @__PURE__ */ x("div", {
|
|
563
563
|
className: "h-full rounded-full bg-blue-500/60",
|
|
564
564
|
style: { width: `${t}%` }
|
|
@@ -571,12 +571,12 @@ var C = {
|
|
|
571
571
|
/* @__PURE__ */ S("div", {
|
|
572
572
|
className: "grid grid-cols-1 lg:grid-cols-3 gap-6",
|
|
573
573
|
children: [/* @__PURE__ */ S("div", {
|
|
574
|
-
className: "lg:col-span-2 rounded-lg border border-border bg-
|
|
574
|
+
className: "lg:col-span-2 rounded-lg border border-border-subtle bg-bg-surface shadow-sm",
|
|
575
575
|
children: [/* @__PURE__ */ x("div", {
|
|
576
|
-
className: "border-b border-border px-5 py-4",
|
|
576
|
+
className: "border-b border-border-subtle px-5 py-4",
|
|
577
577
|
children: /* @__PURE__ */ S("h2", {
|
|
578
|
-
className: "text-base font-semibold text-
|
|
579
|
-
children: [/* @__PURE__ */ x(y, { className: "h-4 w-4 text-
|
|
578
|
+
className: "text-base font-semibold text-text-primary flex items-center gap-2",
|
|
579
|
+
children: [/* @__PURE__ */ x(y, { className: "h-4 w-4 text-text-secondary" }), "Customer Overview"]
|
|
580
580
|
})
|
|
581
581
|
}), /* @__PURE__ */ S("div", {
|
|
582
582
|
className: "p-5",
|
|
@@ -585,28 +585,28 @@ var C = {
|
|
|
585
585
|
className: "grid grid-cols-2 sm:grid-cols-4 gap-4 mb-5",
|
|
586
586
|
children: [
|
|
587
587
|
/* @__PURE__ */ S("div", { children: [/* @__PURE__ */ x("p", {
|
|
588
|
-
className: "text-xs text-
|
|
588
|
+
className: "text-xs text-text-secondary",
|
|
589
589
|
children: "Total Customers"
|
|
590
590
|
}), /* @__PURE__ */ x("p", {
|
|
591
|
-
className: "text-xl font-bold text-
|
|
591
|
+
className: "text-xl font-bold text-text-primary",
|
|
592
592
|
children: C.customers.total
|
|
593
593
|
})] }),
|
|
594
594
|
/* @__PURE__ */ S("div", { children: [/* @__PURE__ */ x("p", {
|
|
595
|
-
className: "text-xs text-
|
|
595
|
+
className: "text-xs text-text-secondary",
|
|
596
596
|
children: "New This Month"
|
|
597
597
|
}), /* @__PURE__ */ x("p", {
|
|
598
598
|
className: "text-xl font-bold text-blue-600 dark:text-blue-400",
|
|
599
599
|
children: C.customers.new
|
|
600
600
|
})] }),
|
|
601
601
|
/* @__PURE__ */ S("div", { children: [/* @__PURE__ */ x("p", {
|
|
602
|
-
className: "text-xs text-
|
|
602
|
+
className: "text-xs text-text-secondary",
|
|
603
603
|
children: "Returning"
|
|
604
604
|
}), /* @__PURE__ */ x("p", {
|
|
605
605
|
className: "text-xl font-bold text-green-600 dark:text-green-400",
|
|
606
606
|
children: C.customers.returning
|
|
607
607
|
})] }),
|
|
608
608
|
/* @__PURE__ */ S("div", { children: [/* @__PURE__ */ x("p", {
|
|
609
|
-
className: "text-xs text-
|
|
609
|
+
className: "text-xs text-text-secondary",
|
|
610
610
|
children: "Satisfaction"
|
|
611
611
|
}), /* @__PURE__ */ S("p", {
|
|
612
612
|
className: "text-xl font-bold text-yellow-600 dark:text-yellow-400 flex items-center gap-1",
|
|
@@ -615,7 +615,7 @@ var C = {
|
|
|
615
615
|
]
|
|
616
616
|
}),
|
|
617
617
|
/* @__PURE__ */ x("p", {
|
|
618
|
-
className: "text-sm font-medium text-
|
|
618
|
+
className: "text-sm font-medium text-text-primary mb-2",
|
|
619
619
|
children: "Top Customers"
|
|
620
620
|
}),
|
|
621
621
|
/* @__PURE__ */ x("div", {
|
|
@@ -623,42 +623,42 @@ var C = {
|
|
|
623
623
|
children: /* @__PURE__ */ S("table", {
|
|
624
624
|
className: "w-full text-sm",
|
|
625
625
|
children: [/* @__PURE__ */ x("thead", { children: /* @__PURE__ */ S("tr", {
|
|
626
|
-
className: "border-b border-border",
|
|
626
|
+
className: "border-b border-border-subtle",
|
|
627
627
|
children: [
|
|
628
628
|
/* @__PURE__ */ x("th", {
|
|
629
|
-
className: "py-2 text-left font-medium text-
|
|
629
|
+
className: "py-2 text-left font-medium text-text-secondary",
|
|
630
630
|
children: "#"
|
|
631
631
|
}),
|
|
632
632
|
/* @__PURE__ */ x("th", {
|
|
633
|
-
className: "py-2 text-left font-medium text-
|
|
633
|
+
className: "py-2 text-left font-medium text-text-secondary",
|
|
634
634
|
children: "Customer"
|
|
635
635
|
}),
|
|
636
636
|
/* @__PURE__ */ x("th", {
|
|
637
|
-
className: "py-2 text-right font-medium text-
|
|
637
|
+
className: "py-2 text-right font-medium text-text-secondary",
|
|
638
638
|
children: "Orders"
|
|
639
639
|
}),
|
|
640
640
|
/* @__PURE__ */ x("th", {
|
|
641
|
-
className: "py-2 text-right font-medium text-
|
|
641
|
+
className: "py-2 text-right font-medium text-text-secondary",
|
|
642
642
|
children: "Total Spent"
|
|
643
643
|
})
|
|
644
644
|
]
|
|
645
645
|
}) }), /* @__PURE__ */ x("tbody", { children: C.customers.topCustomers.map((e, t) => /* @__PURE__ */ S("tr", {
|
|
646
|
-
className: "border-b border-border last:border-0",
|
|
646
|
+
className: "border-b border-border-subtle last:border-0",
|
|
647
647
|
children: [
|
|
648
648
|
/* @__PURE__ */ x("td", {
|
|
649
|
-
className: "py-2.5 text-
|
|
649
|
+
className: "py-2.5 text-text-secondary",
|
|
650
650
|
children: t + 1
|
|
651
651
|
}),
|
|
652
652
|
/* @__PURE__ */ x("td", {
|
|
653
|
-
className: "py-2.5 font-medium text-
|
|
653
|
+
className: "py-2.5 font-medium text-text-primary",
|
|
654
654
|
children: e.name
|
|
655
655
|
}),
|
|
656
656
|
/* @__PURE__ */ x("td", {
|
|
657
|
-
className: "py-2.5 text-right text-
|
|
657
|
+
className: "py-2.5 text-right text-text-primary",
|
|
658
658
|
children: e.orders
|
|
659
659
|
}),
|
|
660
660
|
/* @__PURE__ */ x("td", {
|
|
661
|
-
className: "py-2.5 text-right font-medium text-
|
|
661
|
+
className: "py-2.5 text-right font-medium text-text-primary",
|
|
662
662
|
children: r(e.totalSpent, { minimumFractionDigits: 0 })
|
|
663
663
|
})
|
|
664
664
|
]
|
|
@@ -670,7 +670,7 @@ var C = {
|
|
|
670
670
|
children: /* @__PURE__ */ S("div", {
|
|
671
671
|
className: "flex items-center gap-1.5",
|
|
672
672
|
children: [/* @__PURE__ */ x(_, { className: "h-4 w-4 text-green-600 dark:text-green-400" }), /* @__PURE__ */ S("span", {
|
|
673
|
-
className: "text-
|
|
673
|
+
className: "text-text-secondary",
|
|
674
674
|
children: [
|
|
675
675
|
C.customers.satisfaction.positiveReviews,
|
|
676
676
|
"/",
|
|
@@ -685,12 +685,12 @@ var C = {
|
|
|
685
685
|
}), /* @__PURE__ */ S("div", {
|
|
686
686
|
className: "space-y-6",
|
|
687
687
|
children: [/* @__PURE__ */ S("div", {
|
|
688
|
-
className: "rounded-lg border border-border bg-
|
|
688
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface shadow-sm",
|
|
689
689
|
children: [/* @__PURE__ */ x("div", {
|
|
690
|
-
className: "border-b border-border px-5 py-4",
|
|
690
|
+
className: "border-b border-border-subtle px-5 py-4",
|
|
691
691
|
children: /* @__PURE__ */ S("h2", {
|
|
692
|
-
className: "text-base font-semibold text-
|
|
693
|
-
children: [/* @__PURE__ */ x(u, { className: "h-4 w-4 text-
|
|
692
|
+
className: "text-base font-semibold text-text-primary flex items-center gap-2",
|
|
693
|
+
children: [/* @__PURE__ */ x(u, { className: "h-4 w-4 text-text-secondary" }), "Peak Hours"]
|
|
694
694
|
})
|
|
695
695
|
}), /* @__PURE__ */ x("div", {
|
|
696
696
|
className: "p-5 space-y-3",
|
|
@@ -699,14 +699,14 @@ var C = {
|
|
|
699
699
|
return /* @__PURE__ */ S("div", { children: [/* @__PURE__ */ S("div", {
|
|
700
700
|
className: "flex items-center justify-between text-xs mb-1",
|
|
701
701
|
children: [/* @__PURE__ */ x("span", {
|
|
702
|
-
className: "text-
|
|
702
|
+
className: "text-text-primary",
|
|
703
703
|
children: e.hour
|
|
704
704
|
}), /* @__PURE__ */ S("span", {
|
|
705
|
-
className: "text-
|
|
705
|
+
className: "text-text-secondary",
|
|
706
706
|
children: [e.orders, " orders"]
|
|
707
707
|
})]
|
|
708
708
|
}), /* @__PURE__ */ x("div", {
|
|
709
|
-
className: "h-2 rounded-full bg-
|
|
709
|
+
className: "h-2 rounded-full bg-bg-sunken overflow-hidden",
|
|
710
710
|
children: /* @__PURE__ */ x("div", {
|
|
711
711
|
className: t("h-full rounded-full", e.orders > 28 ? "bg-red-500/60" : e.orders > 22 ? "bg-yellow-500/60" : "bg-green-500/60"),
|
|
712
712
|
style: { width: `${n}%` }
|
|
@@ -715,12 +715,12 @@ var C = {
|
|
|
715
715
|
})
|
|
716
716
|
})]
|
|
717
717
|
}), /* @__PURE__ */ S("div", {
|
|
718
|
-
className: "rounded-lg border border-border bg-
|
|
718
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface shadow-sm",
|
|
719
719
|
children: [/* @__PURE__ */ x("div", {
|
|
720
|
-
className: "border-b border-border px-5 py-4",
|
|
720
|
+
className: "border-b border-border-subtle px-5 py-4",
|
|
721
721
|
children: /* @__PURE__ */ S("h2", {
|
|
722
|
-
className: "text-base font-semibold text-
|
|
723
|
-
children: [/* @__PURE__ */ x(l, { className: "h-4 w-4 text-
|
|
722
|
+
className: "text-base font-semibold text-text-primary flex items-center gap-2",
|
|
723
|
+
children: [/* @__PURE__ */ x(l, { className: "h-4 w-4 text-text-secondary" }), "Peak Days"]
|
|
724
724
|
})
|
|
725
725
|
}), /* @__PURE__ */ x("div", {
|
|
726
726
|
className: "p-5 space-y-3",
|
|
@@ -729,14 +729,14 @@ var C = {
|
|
|
729
729
|
return /* @__PURE__ */ S("div", { children: [/* @__PURE__ */ S("div", {
|
|
730
730
|
className: "flex items-center justify-between text-xs mb-1",
|
|
731
731
|
children: [/* @__PURE__ */ x("span", {
|
|
732
|
-
className: "text-
|
|
732
|
+
className: "text-text-primary",
|
|
733
733
|
children: e.day
|
|
734
734
|
}), /* @__PURE__ */ S("span", {
|
|
735
|
-
className: "text-
|
|
735
|
+
className: "text-text-secondary",
|
|
736
736
|
children: [e.orders, " orders"]
|
|
737
737
|
})]
|
|
738
738
|
}), /* @__PURE__ */ x("div", {
|
|
739
|
-
className: "h-2 rounded-full bg-
|
|
739
|
+
className: "h-2 rounded-full bg-bg-sunken overflow-hidden",
|
|
740
740
|
children: /* @__PURE__ */ x("div", {
|
|
741
741
|
className: "h-full rounded-full bg-blue-500/60",
|
|
742
742
|
style: { width: `${t}%` }
|
|
@@ -748,49 +748,49 @@ var C = {
|
|
|
748
748
|
})]
|
|
749
749
|
}),
|
|
750
750
|
/* @__PURE__ */ S("div", {
|
|
751
|
-
className: "rounded-lg border border-border bg-
|
|
751
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface shadow-sm",
|
|
752
752
|
children: [/* @__PURE__ */ x("div", {
|
|
753
|
-
className: "border-b border-border px-5 py-4",
|
|
753
|
+
className: "border-b border-border-subtle px-5 py-4",
|
|
754
754
|
children: /* @__PURE__ */ S("h2", {
|
|
755
|
-
className: "text-base font-semibold text-
|
|
756
|
-
children: [/* @__PURE__ */ x(v, { className: "h-4 w-4 text-
|
|
755
|
+
className: "text-base font-semibold text-text-primary flex items-center gap-2",
|
|
756
|
+
children: [/* @__PURE__ */ x(v, { className: "h-4 w-4 text-text-secondary" }), "Daily Order Trends"]
|
|
757
757
|
})
|
|
758
758
|
}), /* @__PURE__ */ x("div", {
|
|
759
759
|
className: "overflow-x-auto",
|
|
760
760
|
children: /* @__PURE__ */ S("table", {
|
|
761
761
|
className: "w-full text-sm",
|
|
762
762
|
children: [/* @__PURE__ */ x("thead", { children: /* @__PURE__ */ S("tr", {
|
|
763
|
-
className: "border-b border-border",
|
|
763
|
+
className: "border-b border-border-subtle",
|
|
764
764
|
children: [
|
|
765
765
|
/* @__PURE__ */ x("th", {
|
|
766
|
-
className: "px-5 py-2.5 text-left font-medium text-
|
|
766
|
+
className: "px-5 py-2.5 text-left font-medium text-text-secondary",
|
|
767
767
|
children: "Date"
|
|
768
768
|
}),
|
|
769
769
|
/* @__PURE__ */ x("th", {
|
|
770
|
-
className: "px-5 py-2.5 text-right font-medium text-
|
|
770
|
+
className: "px-5 py-2.5 text-right font-medium text-text-secondary",
|
|
771
771
|
children: "Orders"
|
|
772
772
|
}),
|
|
773
773
|
/* @__PURE__ */ x("th", {
|
|
774
|
-
className: "px-5 py-2.5 text-right font-medium text-
|
|
774
|
+
className: "px-5 py-2.5 text-right font-medium text-text-secondary",
|
|
775
775
|
children: "Revenue"
|
|
776
776
|
})
|
|
777
777
|
]
|
|
778
778
|
}) }), /* @__PURE__ */ x("tbody", { children: i.orderTrends.map((e) => /* @__PURE__ */ S("tr", {
|
|
779
|
-
className: "border-b border-border last:border-0",
|
|
779
|
+
className: "border-b border-border-subtle last:border-0",
|
|
780
780
|
children: [
|
|
781
781
|
/* @__PURE__ */ x("td", {
|
|
782
|
-
className: "px-5 py-2.5 text-
|
|
782
|
+
className: "px-5 py-2.5 text-text-primary",
|
|
783
783
|
children: new Date(e.date).toLocaleDateString("en-IN", {
|
|
784
784
|
day: "2-digit",
|
|
785
785
|
month: "short"
|
|
786
786
|
})
|
|
787
787
|
}),
|
|
788
788
|
/* @__PURE__ */ x("td", {
|
|
789
|
-
className: "px-5 py-2.5 text-right text-
|
|
789
|
+
className: "px-5 py-2.5 text-right text-text-primary",
|
|
790
790
|
children: e.orders
|
|
791
791
|
}),
|
|
792
792
|
/* @__PURE__ */ x("td", {
|
|
793
|
-
className: "px-5 py-2.5 text-right font-medium text-
|
|
793
|
+
className: "px-5 py-2.5 text-right font-medium text-text-primary",
|
|
794
794
|
children: r(e.revenue, { minimumFractionDigits: 0 })
|
|
795
795
|
})
|
|
796
796
|
]
|
|
@@ -799,12 +799,12 @@ var C = {
|
|
|
799
799
|
})]
|
|
800
800
|
}),
|
|
801
801
|
/* @__PURE__ */ S("div", {
|
|
802
|
-
className: "rounded-lg border border-border bg-
|
|
802
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface shadow-sm",
|
|
803
803
|
children: [/* @__PURE__ */ x("div", {
|
|
804
|
-
className: "border-b border-border px-5 py-4",
|
|
804
|
+
className: "border-b border-border-subtle px-5 py-4",
|
|
805
805
|
children: /* @__PURE__ */ S("h2", {
|
|
806
|
-
className: "text-base font-semibold text-
|
|
807
|
-
children: [/* @__PURE__ */ x(y, { className: "h-4 w-4 text-
|
|
806
|
+
className: "text-base font-semibold text-text-primary flex items-center gap-2",
|
|
807
|
+
children: [/* @__PURE__ */ x(y, { className: "h-4 w-4 text-text-secondary" }), "Monthly Customer Growth"]
|
|
808
808
|
})
|
|
809
809
|
}), /* @__PURE__ */ S("div", {
|
|
810
810
|
className: "p-5",
|
|
@@ -819,7 +819,7 @@ var C = {
|
|
|
819
819
|
}, e.month);
|
|
820
820
|
})
|
|
821
821
|
}), /* @__PURE__ */ x("div", {
|
|
822
|
-
className: "flex justify-between mt-2 text-xs text-
|
|
822
|
+
className: "flex justify-between mt-2 text-xs text-text-secondary",
|
|
823
823
|
children: i.customerGrowth.length > 0 && /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ x("span", { children: i.customerGrowth[0].month }), /* @__PURE__ */ x("span", { children: i.customerGrowth[i.customerGrowth.length - 1].month })] })
|
|
824
824
|
})]
|
|
825
825
|
})]
|