@burdenoff/microfe-adaptercloud 2026.624.1 → 2026.625.2

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 (103) 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 +25 -23
  4. package/dist/adaptercloud/components/InvestmentCard.js.map +1 -1
  5. package/dist/adaptercloud/components/MetricsCard.js +18 -12
  6. package/dist/adaptercloud/components/MetricsCard.js.map +1 -1
  7. package/dist/adaptercloud/components/PageLayout.js +45 -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 +244 -231
  14. package/dist/adaptercloud/pages/HomePage.js.map +1 -1
  15. package/dist/adaptercloud/pages/admin/AdminAnalyticsPage.js +121 -113
  16. package/dist/adaptercloud/pages/admin/AdminAnalyticsPage.js.map +1 -1
  17. package/dist/adaptercloud/pages/admin/AdminDashboard.js +102 -76
  18. package/dist/adaptercloud/pages/admin/AdminDashboard.js.map +1 -1
  19. package/dist/adaptercloud/pages/admin/AdminFinancialPage.js +70 -65
  20. package/dist/adaptercloud/pages/admin/AdminFinancialPage.js.map +1 -1
  21. package/dist/adaptercloud/pages/admin/AdminOrdersPage.js +108 -103
  22. package/dist/adaptercloud/pages/admin/AdminOrdersPage.js.map +1 -1
  23. package/dist/adaptercloud/pages/admin/AdminProfilePage.js +61 -59
  24. package/dist/adaptercloud/pages/admin/AdminProfilePage.js.map +1 -1
  25. package/dist/adaptercloud/pages/admin/AdminSettingsPage.js +119 -105
  26. package/dist/adaptercloud/pages/admin/AdminSettingsPage.js.map +1 -1
  27. package/dist/adaptercloud/pages/admin/CartManagementPage.js +165 -160
  28. package/dist/adaptercloud/pages/admin/CartManagementPage.js.map +1 -1
  29. package/dist/adaptercloud/pages/admin/UserManagementPage.js +174 -169
  30. package/dist/adaptercloud/pages/admin/UserManagementPage.js.map +1 -1
  31. package/dist/adaptercloud/pages/cart-owner/AnalyticsDashboard.js +103 -97
  32. package/dist/adaptercloud/pages/cart-owner/AnalyticsDashboard.js.map +1 -1
  33. package/dist/adaptercloud/pages/cart-owner/BusinessSettingsPage.js +186 -172
  34. package/dist/adaptercloud/pages/cart-owner/BusinessSettingsPage.js.map +1 -1
  35. package/dist/adaptercloud/pages/cart-owner/CartOwnerDashboard.js +109 -81
  36. package/dist/adaptercloud/pages/cart-owner/CartOwnerDashboard.js.map +1 -1
  37. package/dist/adaptercloud/pages/cart-owner/CartOwnerProfilePage.js +111 -109
  38. package/dist/adaptercloud/pages/cart-owner/CartOwnerProfilePage.js.map +1 -1
  39. package/dist/adaptercloud/pages/cart-owner/CartServiceConfigPage.js +127 -124
  40. package/dist/adaptercloud/pages/cart-owner/CartServiceConfigPage.js.map +1 -1
  41. package/dist/adaptercloud/pages/cart-owner/InventoryManagementPage.js +310 -316
  42. package/dist/adaptercloud/pages/cart-owner/InventoryManagementPage.js.map +1 -1
  43. package/dist/adaptercloud/pages/cart-owner/OrderManagementPage.js +251 -257
  44. package/dist/adaptercloud/pages/cart-owner/OrderManagementPage.js.map +1 -1
  45. package/dist/adaptercloud/pages/cart-owner/StaffManagementPage.js +142 -148
  46. package/dist/adaptercloud/pages/cart-owner/StaffManagementPage.js.map +1 -1
  47. package/dist/adaptercloud/pages/common/HelpSupportPage.js +287 -283
  48. package/dist/adaptercloud/pages/common/HelpSupportPage.js.map +1 -1
  49. package/dist/adaptercloud/pages/common/NotificationCenterPage.js +120 -114
  50. package/dist/adaptercloud/pages/common/NotificationCenterPage.js.map +1 -1
  51. package/dist/adaptercloud/pages/common/SettingsPage.js +754 -736
  52. package/dist/adaptercloud/pages/common/SettingsPage.js.map +1 -1
  53. package/dist/adaptercloud/pages/customer/BookingDetailsPage.js +83 -80
  54. package/dist/adaptercloud/pages/customer/BookingDetailsPage.js.map +1 -1
  55. package/dist/adaptercloud/pages/customer/CartDetailPage.js +120 -117
  56. package/dist/adaptercloud/pages/customer/CartDetailPage.js.map +1 -1
  57. package/dist/adaptercloud/pages/customer/CartDiscoveryPage.js +231 -226
  58. package/dist/adaptercloud/pages/customer/CartDiscoveryPage.js.map +1 -1
  59. package/dist/adaptercloud/pages/customer/CheckoutPage.js +97 -95
  60. package/dist/adaptercloud/pages/customer/CheckoutPage.js.map +1 -1
  61. package/dist/adaptercloud/pages/customer/CustomerDashboard.js +418 -389
  62. package/dist/adaptercloud/pages/customer/CustomerDashboard.js.map +1 -1
  63. package/dist/adaptercloud/pages/customer/CustomerProfilePage.js +134 -132
  64. package/dist/adaptercloud/pages/customer/CustomerProfilePage.js.map +1 -1
  65. package/dist/adaptercloud/pages/customer/DirectServiceBookingPage.js +108 -102
  66. package/dist/adaptercloud/pages/customer/DirectServiceBookingPage.js.map +1 -1
  67. package/dist/adaptercloud/pages/customer/FavoritesPage.js +62 -59
  68. package/dist/adaptercloud/pages/customer/FavoritesPage.js.map +1 -1
  69. package/dist/adaptercloud/pages/customer/OrderHistoryPage.js +117 -111
  70. package/dist/adaptercloud/pages/customer/OrderHistoryPage.js.map +1 -1
  71. package/dist/adaptercloud/pages/customer/OrderTrackingPage.js +71 -68
  72. package/dist/adaptercloud/pages/customer/OrderTrackingPage.js.map +1 -1
  73. package/dist/adaptercloud/pages/customer/PaymentMethodsPage.js +97 -81
  74. package/dist/adaptercloud/pages/customer/PaymentMethodsPage.js.map +1 -1
  75. package/dist/adaptercloud/pages/customer/ReviewsPage.js +83 -80
  76. package/dist/adaptercloud/pages/customer/ReviewsPage.js.map +1 -1
  77. package/dist/adaptercloud/pages/customer/SavedAddressesPage.js +82 -66
  78. package/dist/adaptercloud/pages/customer/SavedAddressesPage.js.map +1 -1
  79. package/dist/adaptercloud/pages/investor/InvestmentDetailsPage.js +93 -91
  80. package/dist/adaptercloud/pages/investor/InvestmentDetailsPage.js.map +1 -1
  81. package/dist/adaptercloud/pages/investor/InvestmentOpportunitiesPage.js +100 -97
  82. package/dist/adaptercloud/pages/investor/InvestmentOpportunitiesPage.js.map +1 -1
  83. package/dist/adaptercloud/pages/investor/InvestorAnalyticsPage.js +83 -81
  84. package/dist/adaptercloud/pages/investor/InvestorAnalyticsPage.js.map +1 -1
  85. package/dist/adaptercloud/pages/investor/InvestorDashboard.js +344 -311
  86. package/dist/adaptercloud/pages/investor/InvestorDashboard.js.map +1 -1
  87. package/dist/adaptercloud/pages/investor/InvestorInvestmentsPage.js +43 -40
  88. package/dist/adaptercloud/pages/investor/InvestorInvestmentsPage.js.map +1 -1
  89. package/dist/adaptercloud/pages/investor/InvestorPortfolioPage.js +59 -57
  90. package/dist/adaptercloud/pages/investor/InvestorPortfolioPage.js.map +1 -1
  91. package/dist/adaptercloud/pages/investor/InvestorProfilePage.js +394 -392
  92. package/dist/adaptercloud/pages/investor/InvestorProfilePage.js.map +1 -1
  93. package/dist/adaptercloud/pages/worker/TaskDetailsPage.js +354 -324
  94. package/dist/adaptercloud/pages/worker/TaskDetailsPage.js.map +1 -1
  95. package/dist/adaptercloud/pages/worker/WorkerDashboard.js +122 -97
  96. package/dist/adaptercloud/pages/worker/WorkerDashboard.js.map +1 -1
  97. package/dist/adaptercloud/pages/worker/WorkerOrdersPage.js +107 -104
  98. package/dist/adaptercloud/pages/worker/WorkerOrdersPage.js.map +1 -1
  99. package/dist/adaptercloud/pages/worker/WorkerProfilePage.js +109 -107
  100. package/dist/adaptercloud/pages/worker/WorkerProfilePage.js.map +1 -1
  101. package/dist/adaptercloud/pages/worker/WorkerSchedulePage.js +94 -90
  102. package/dist/adaptercloud/pages/worker/WorkerSchedulePage.js.map +1 -1
  103. package/package.json +3 -3
@@ -5,8 +5,9 @@ import { formatCurrency as r, formatDate as i } from "../../utils/formatters.js"
5
5
  import { useEffect as a, useState as o } from "react";
6
6
  import { Activity as s, AlertCircle as c, ArrowLeft as l, BarChart3 as u, Building2 as d, CheckCircle2 as f, Clock as p, Download as m, FileText as h, IndianRupee as g, Package as _, PieChart as v, Star as y, TrendingUp as b, Users as x, X as S } from "lucide-react";
7
7
  import { jsx as C, jsxs as w } from "react/jsx-runtime";
8
+ import { EmphasisPanel as T } from "@burdenoff/fe-libs/ui";
8
9
  //#region src/adaptercloud/pages/investor/InvestmentDetailsPage.tsx
9
- var T = {
10
+ var E = {
10
11
  id: "INV-001",
11
12
  cartName: "Dosa Express - Koramangala",
12
13
  cartOwner: "Suresh Rao",
@@ -77,20 +78,20 @@ var T = {
77
78
  }
78
79
  ]
79
80
  };
80
- function E(e) {
81
+ function D(e) {
81
82
  switch (e) {
82
83
  case "verified": return {
83
- color: "text-green-600 dark:text-green-400",
84
+ color: "text-status-success-text",
84
85
  Icon: f,
85
86
  label: "Verified"
86
87
  };
87
88
  case "pending": return {
88
- color: "text-yellow-600 dark:text-yellow-400",
89
+ color: "text-status-warning-text",
89
90
  Icon: p,
90
91
  label: "Pending"
91
92
  };
92
93
  case "rejected": return {
93
- color: "text-red-600 dark:text-red-400",
94
+ color: "text-status-error-text",
94
95
  Icon: c,
95
96
  label: "Rejected"
96
97
  };
@@ -101,15 +102,15 @@ function E(e) {
101
102
  };
102
103
  }
103
104
  }
104
- function D() {
105
- let { navigateTo: f } = e(), [p, D] = o("overview"), [O, k] = o(!0), [A, j] = o(!1), [M, N] = o(null);
105
+ function O() {
106
+ let { navigateTo: f } = e(), [p, O] = o("overview"), [k, A] = o(!0), [j, M] = o(!1), [N, P] = o(null);
106
107
  a(() => {
107
108
  let e = setTimeout(() => {
108
- N(T), k(!1);
109
+ P(E), A(!1);
109
110
  }, 600);
110
111
  return () => clearTimeout(e);
111
112
  }, []);
112
- let P = [
113
+ let F = [
113
114
  {
114
115
  id: "overview",
115
116
  label: "Overview",
@@ -131,7 +132,7 @@ function D() {
131
132
  Icon: s
132
133
  }
133
134
  ];
134
- if (O) return /* @__PURE__ */ C(n, {
135
+ if (k) return /* @__PURE__ */ C(n, {
135
136
  title: "Investment Details",
136
137
  description: "Loading...",
137
138
  children: /* @__PURE__ */ C("div", {
@@ -145,20 +146,21 @@ function D() {
145
146
  })
146
147
  })
147
148
  });
148
- if (!M) return /* @__PURE__ */ C(n, {
149
+ if (!N) return /* @__PURE__ */ C(n, {
149
150
  title: "Investment Not Found",
150
151
  children: /* @__PURE__ */ w("div", {
151
152
  className: "flex flex-col items-center justify-center py-12",
152
- children: [/* @__PURE__ */ C(c, { className: "mb-4 h-12 w-12 text-red-500" }), /* @__PURE__ */ C("p", {
153
+ children: [/* @__PURE__ */ C(c, { className: "mb-4 h-12 w-12 text-status-error-text" }), /* @__PURE__ */ C("p", {
153
154
  className: "text-text-primary",
154
155
  children: "Investment not found"
155
156
  })]
156
157
  })
157
158
  });
158
- let F = M.currentValuation * (M.equityPercentage / 100) - M.investmentAmount, I = F / M.investmentAmount * 100;
159
+ let I = N.currentValuation * (N.equityPercentage / 100) - N.investmentAmount, L = I / N.investmentAmount * 100;
159
160
  return /* @__PURE__ */ w(n, {
160
- title: M.cartName,
161
+ title: N.cartName,
161
162
  description: "Investment Details & Performance",
163
+ purpose: "A full picture of this single investment — how much you put in, what it's returned so far, the cart's performance, and your payout history. Use it to decide whether to top up, hold, or exit.",
162
164
  actions: /* @__PURE__ */ w("div", {
163
165
  className: "flex items-center gap-2",
164
166
  children: [
@@ -196,7 +198,7 @@ function D() {
196
198
  }),
197
199
  /* @__PURE__ */ w("button", {
198
200
  type: "button",
199
- onClick: () => j(!0),
201
+ onClick: () => M(!0),
200
202
  className: "rounded-lg bg-action-primary-bg px-4 py-2 text-sm font-medium text-action-primary-text hover:bg-action-primary-bg/90 transition-colors",
201
203
  children: [/* @__PURE__ */ C("span", {
202
204
  className: "hidden sm:inline",
@@ -209,16 +211,16 @@ function D() {
209
211
  ]
210
212
  }),
211
213
  children: [
212
- /* @__PURE__ */ w("div", {
214
+ /* @__PURE__ */ C(T, { children: /* @__PURE__ */ w("div", {
213
215
  className: "grid grid-cols-2 gap-4 lg:grid-cols-4",
214
216
  children: [
215
217
  /* @__PURE__ */ w("div", {
216
- className: "rounded-lg border border-border-subtle bg-bg-surface p-4 text-center",
218
+ className: "rounded-lg border border-border-seam bg-bg-surface p-4 text-center bg-gloss-card shadow-pop",
217
219
  children: [
218
220
  /* @__PURE__ */ C(g, { className: "mx-auto mb-2 h-6 w-6 text-primary sm:h-8 sm:w-8" }),
219
221
  /* @__PURE__ */ C("div", {
220
222
  className: "text-lg font-bold text-text-primary sm:text-2xl",
221
- children: r(M.investmentAmount, { minimumFractionDigits: 0 })
223
+ children: r(N.investmentAmount, { minimumFractionDigits: 0 })
222
224
  }),
223
225
  /* @__PURE__ */ C("div", {
224
226
  className: "text-xs text-text-secondary sm:text-sm",
@@ -227,14 +229,14 @@ function D() {
227
229
  ]
228
230
  }),
229
231
  /* @__PURE__ */ w("div", {
230
- className: "rounded-lg border border-border-subtle bg-bg-surface p-4 text-center",
232
+ className: "rounded-lg border border-border-seam bg-bg-surface p-4 text-center bg-gloss-card shadow-pop",
231
233
  children: [
232
- /* @__PURE__ */ C(b, { className: "mx-auto mb-2 h-6 w-6 text-green-600 sm:h-8 sm:w-8" }),
234
+ /* @__PURE__ */ C(b, { className: "mx-auto mb-2 h-6 w-6 text-status-success-text sm:h-8 sm:w-8" }),
233
235
  /* @__PURE__ */ w("div", {
234
- className: "text-lg font-bold text-green-600 dark:text-green-400 sm:text-2xl",
236
+ className: "text-lg font-bold text-status-success-text sm:text-2xl",
235
237
  children: [
236
- I > 0 ? "+" : "",
237
- I.toFixed(1),
238
+ L > 0 ? "+" : "",
239
+ L.toFixed(1),
238
240
  "%"
239
241
  ]
240
242
  }),
@@ -245,12 +247,12 @@ function D() {
245
247
  ]
246
248
  }),
247
249
  /* @__PURE__ */ w("div", {
248
- className: "rounded-lg border border-border-subtle bg-bg-surface p-4 text-center",
250
+ className: "rounded-lg border border-border-seam bg-bg-surface p-4 text-center bg-gloss-card shadow-pop",
249
251
  children: [
250
- /* @__PURE__ */ C(v, { className: "mx-auto mb-2 h-6 w-6 text-blue-600 sm:h-8 sm:w-8" }),
252
+ /* @__PURE__ */ C(v, { className: "mx-auto mb-2 h-6 w-6 text-accent-blue sm:h-8 sm:w-8" }),
251
253
  /* @__PURE__ */ w("div", {
252
254
  className: "text-lg font-bold text-text-primary sm:text-2xl",
253
- children: [M.equityPercentage, "%"]
255
+ children: [N.equityPercentage, "%"]
254
256
  }),
255
257
  /* @__PURE__ */ C("div", {
256
258
  className: "text-xs text-text-secondary sm:text-sm",
@@ -259,12 +261,12 @@ function D() {
259
261
  ]
260
262
  }),
261
263
  /* @__PURE__ */ w("div", {
262
- className: "rounded-lg border border-border-subtle bg-bg-surface p-4 text-center",
264
+ className: "rounded-lg border border-border-seam bg-bg-surface p-4 text-center bg-gloss-card shadow-pop",
263
265
  children: [
264
- /* @__PURE__ */ C(d, { className: "mx-auto mb-2 h-6 w-6 text-purple-600 sm:h-8 sm:w-8" }),
266
+ /* @__PURE__ */ C(d, { className: "mx-auto mb-2 h-6 w-6 text-accent-purple sm:h-8 sm:w-8" }),
265
267
  /* @__PURE__ */ C("div", {
266
268
  className: "text-lg font-bold text-text-primary sm:text-2xl",
267
- children: r(M.currentValuation * (M.equityPercentage / 100), { minimumFractionDigits: 0 })
269
+ children: r(N.currentValuation * (N.equityPercentage / 100), { minimumFractionDigits: 0 })
268
270
  }),
269
271
  /* @__PURE__ */ C("div", {
270
272
  className: "text-xs text-text-secondary sm:text-sm",
@@ -273,12 +275,12 @@ function D() {
273
275
  ]
274
276
  })
275
277
  ]
276
- }),
278
+ }) }),
277
279
  /* @__PURE__ */ C("div", {
278
280
  className: "mt-6 flex gap-2 overflow-x-auto pb-2",
279
- children: P.map((e) => /* @__PURE__ */ w("button", {
281
+ children: F.map((e) => /* @__PURE__ */ w("button", {
280
282
  type: "button",
281
- onClick: () => D(e.id),
283
+ onClick: () => O(e.id),
282
284
  className: t("flex items-center gap-2 whitespace-nowrap rounded-lg px-3 py-2 text-sm font-medium transition-colors sm:px-4 sm:py-3", p === e.id ? "bg-action-primary-bg text-action-primary-text" : "bg-bg-surface text-text-primary hover:bg-bg-sunken"),
283
285
  children: [
284
286
  /* @__PURE__ */ C(e.Icon, { className: "h-4 w-4 flex-shrink-0" }),
@@ -301,7 +303,7 @@ function D() {
301
303
  children: [/* @__PURE__ */ w("div", {
302
304
  className: "space-y-6 lg:col-span-2",
303
305
  children: [/* @__PURE__ */ w("div", {
304
- className: "rounded-lg border border-border-subtle bg-bg-surface p-4 sm:p-6",
306
+ className: "rounded-lg border border-border-seam bg-bg-surface p-4 sm:p-6 bg-gloss-card shadow-pop",
305
307
  children: [/* @__PURE__ */ C("h2", {
306
308
  className: "mb-4 text-lg font-semibold text-text-primary sm:mb-6",
307
309
  children: "Business Information"
@@ -313,28 +315,28 @@ function D() {
313
315
  children: "Owner"
314
316
  }), /* @__PURE__ */ C("p", {
315
317
  className: "font-medium text-text-primary",
316
- children: M.cartOwner
318
+ children: N.cartOwner
317
319
  })] }),
318
320
  /* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C("p", {
319
321
  className: "text-sm text-text-secondary",
320
322
  children: "Business Type"
321
323
  }), /* @__PURE__ */ C("p", {
322
324
  className: "font-medium text-text-primary",
323
- children: M.businessType
325
+ children: N.businessType
324
326
  })] }),
325
327
  /* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C("p", {
326
328
  className: "text-sm text-text-secondary",
327
329
  children: "Location"
328
330
  }), /* @__PURE__ */ C("p", {
329
331
  className: "font-medium text-text-primary",
330
- children: M.location
332
+ children: N.location
331
333
  })] }),
332
334
  /* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C("p", {
333
335
  className: "text-sm text-text-secondary",
334
336
  children: "Established"
335
337
  }), /* @__PURE__ */ C("p", {
336
338
  className: "font-medium text-text-primary",
337
- children: i(M.establishedDate, {
339
+ children: i(N.establishedDate, {
338
340
  hour: void 0,
339
341
  minute: void 0
340
342
  })
@@ -342,7 +344,7 @@ function D() {
342
344
  ]
343
345
  })]
344
346
  }), /* @__PURE__ */ w("div", {
345
- className: "rounded-lg border border-border-subtle bg-bg-surface p-4 sm:p-6",
347
+ className: "rounded-lg border border-border-seam bg-bg-surface p-4 sm:p-6 bg-gloss-card shadow-pop",
346
348
  children: [
347
349
  /* @__PURE__ */ C("h2", {
348
350
  className: "mb-4 text-lg font-semibold text-text-primary sm:mb-6",
@@ -355,7 +357,7 @@ function D() {
355
357
  /* @__PURE__ */ C(_, { className: "mx-auto mb-2 h-6 w-6 text-primary sm:h-8 sm:w-8" }),
356
358
  /* @__PURE__ */ C("div", {
357
359
  className: "text-xl font-bold text-text-primary sm:text-2xl",
358
- children: M.monthlyOrders
360
+ children: N.monthlyOrders
359
361
  }),
360
362
  /* @__PURE__ */ C("div", {
361
363
  className: "text-xs text-text-secondary sm:text-sm",
@@ -363,10 +365,10 @@ function D() {
363
365
  })
364
366
  ] }),
365
367
  /* @__PURE__ */ w("div", { children: [
366
- /* @__PURE__ */ C(g, { className: "mx-auto mb-2 h-6 w-6 text-green-600 sm:h-8 sm:w-8" }),
368
+ /* @__PURE__ */ C(g, { className: "mx-auto mb-2 h-6 w-6 text-status-success-text sm:h-8 sm:w-8" }),
367
369
  /* @__PURE__ */ C("div", {
368
370
  className: "text-xl font-bold text-text-primary sm:text-2xl",
369
- children: r(M.monthlyRevenue, { minimumFractionDigits: 0 })
371
+ children: r(N.monthlyRevenue, { minimumFractionDigits: 0 })
370
372
  }),
371
373
  /* @__PURE__ */ C("div", {
372
374
  className: "text-xs text-text-secondary sm:text-sm",
@@ -374,10 +376,10 @@ function D() {
374
376
  })
375
377
  ] }),
376
378
  /* @__PURE__ */ w("div", { children: [
377
- /* @__PURE__ */ C(x, { className: "mx-auto mb-2 h-6 w-6 text-blue-600 sm:h-8 sm:w-8" }),
379
+ /* @__PURE__ */ C(x, { className: "mx-auto mb-2 h-6 w-6 text-accent-blue sm:h-8 sm:w-8" }),
378
380
  /* @__PURE__ */ C("div", {
379
381
  className: "text-xl font-bold text-text-primary sm:text-2xl",
380
- children: M.activeCustomers
382
+ children: N.activeCustomers
381
383
  }),
382
384
  /* @__PURE__ */ C("div", {
383
385
  className: "text-xs text-text-secondary sm:text-sm",
@@ -393,9 +395,9 @@ function D() {
393
395
  children: "Customer Rating"
394
396
  }), /* @__PURE__ */ w("div", {
395
397
  className: "mt-1 flex items-center gap-1",
396
- children: [Array.from({ length: 5 }, (e, n) => /* @__PURE__ */ C(y, { className: t("h-4 w-4", n < Math.floor(M.customerRating) ? "fill-yellow-400 text-yellow-400" : "fill-none text-text-secondary/40") }, n)), /* @__PURE__ */ C("span", {
398
+ children: [Array.from({ length: 5 }, (e, n) => /* @__PURE__ */ C(y, { className: t("h-4 w-4", n < Math.floor(N.customerRating) ? "fill-status-warning-text text-status-warning-text" : "fill-none text-text-secondary/40") }, n)), /* @__PURE__ */ C("span", {
397
399
  className: "ml-1 text-sm font-medium text-text-primary",
398
- children: M.customerRating
400
+ children: N.customerRating
399
401
  })]
400
402
  })] }), /* @__PURE__ */ w("div", {
401
403
  className: "text-left sm:text-right",
@@ -404,7 +406,7 @@ function D() {
404
406
  children: "Avg Order Value"
405
407
  }), /* @__PURE__ */ C("p", {
406
408
  className: "text-lg font-semibold text-text-primary",
407
- children: r(M.averageOrderValue, { minimumFractionDigits: 0 })
409
+ children: r(N.averageOrderValue, { minimumFractionDigits: 0 })
408
410
  })]
409
411
  })]
410
412
  })
@@ -413,7 +415,7 @@ function D() {
413
415
  }), /* @__PURE__ */ w("div", {
414
416
  className: "space-y-6",
415
417
  children: [/* @__PURE__ */ w("div", {
416
- className: "rounded-lg border border-border-subtle bg-bg-surface p-4 sm:p-6",
418
+ className: "rounded-lg border border-border-seam bg-bg-surface p-4 sm:p-6 bg-gloss-card shadow-pop",
417
419
  children: [/* @__PURE__ */ C("h2", {
418
420
  className: "mb-4 text-lg font-semibold text-text-primary sm:mb-6",
419
421
  children: "Investment Summary"
@@ -425,7 +427,7 @@ function D() {
425
427
  children: "Investment Date"
426
428
  }), /* @__PURE__ */ C("p", {
427
429
  className: "font-medium text-text-primary",
428
- children: i(M.investmentDate, {
430
+ children: i(N.investmentDate, {
429
431
  hour: void 0,
430
432
  minute: void 0
431
433
  })
@@ -435,21 +437,21 @@ function D() {
435
437
  children: "Investment Type"
436
438
  }), /* @__PURE__ */ C("p", {
437
439
  className: "font-medium text-text-primary",
438
- children: M.investmentType
440
+ children: N.investmentType
439
441
  })] }),
440
442
  /* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C("p", {
441
443
  className: "text-sm text-text-secondary",
442
444
  children: "Initial Valuation"
443
445
  }), /* @__PURE__ */ C("p", {
444
446
  className: "font-medium text-text-primary",
445
- children: r(M.valuationAtInvestment, { minimumFractionDigits: 0 })
447
+ children: r(N.valuationAtInvestment, { minimumFractionDigits: 0 })
446
448
  })] }),
447
449
  /* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C("p", {
448
450
  className: "text-sm text-text-secondary",
449
451
  children: "Current Valuation"
450
452
  }), /* @__PURE__ */ C("p", {
451
453
  className: "text-lg font-medium text-text-primary",
452
- children: r(M.currentValuation, { minimumFractionDigits: 0 })
454
+ children: r(N.currentValuation, { minimumFractionDigits: 0 })
453
455
  })] }),
454
456
  /* @__PURE__ */ C("div", {
455
457
  className: "border-t border-border-subtle pt-4",
@@ -459,15 +461,15 @@ function D() {
459
461
  className: "text-sm text-text-secondary",
460
462
  children: "Your Returns"
461
463
  }), /* @__PURE__ */ w("span", {
462
- className: t("text-lg font-semibold", F > 0 ? "text-green-600 dark:text-green-400" : "text-red-600 dark:text-red-400"),
463
- children: [F > 0 ? "+" : "", r(F, { minimumFractionDigits: 0 })]
464
+ className: t("text-lg font-semibold", I > 0 ? "text-status-success-text" : "text-status-error-text"),
465
+ children: [I > 0 ? "+" : "", r(I, { minimumFractionDigits: 0 })]
464
466
  })]
465
467
  })
466
468
  })
467
469
  ]
468
470
  })]
469
471
  }), /* @__PURE__ */ w("div", {
470
- className: "rounded-lg border border-border-subtle bg-bg-surface p-4 sm:p-6",
472
+ className: "rounded-lg border border-border-seam bg-bg-surface p-4 sm:p-6 bg-gloss-card shadow-pop",
471
473
  children: [/* @__PURE__ */ C("h2", {
472
474
  className: "mb-4 text-lg font-semibold text-text-primary sm:mb-6",
473
475
  children: "Growth Indicators"
@@ -480,18 +482,18 @@ function D() {
480
482
  className: "text-sm text-text-secondary",
481
483
  children: "Revenue Growth"
482
484
  }), /* @__PURE__ */ w("span", {
483
- className: "text-sm font-medium text-green-600 dark:text-green-400",
485
+ className: "text-sm font-medium text-status-success-text",
484
486
  children: [
485
487
  "+",
486
- M.revenueGrowth,
488
+ N.revenueGrowth,
487
489
  "%"
488
490
  ]
489
491
  })]
490
492
  }), /* @__PURE__ */ C("div", {
491
493
  className: "h-2 w-full overflow-hidden rounded-full bg-bg-sunken",
492
494
  children: /* @__PURE__ */ C("div", {
493
- className: "h-full rounded-full bg-green-600",
494
- style: { width: `${Math.min(M.revenueGrowth, 100)}%` }
495
+ className: "h-full rounded-full bg-status-success-bg-subtle",
496
+ style: { width: `${Math.min(N.revenueGrowth, 100)}%` }
495
497
  })
496
498
  })] }),
497
499
  /* @__PURE__ */ w("div", { children: [/* @__PURE__ */ w("div", {
@@ -501,13 +503,13 @@ function D() {
501
503
  children: "Profit Margin"
502
504
  }), /* @__PURE__ */ w("span", {
503
505
  className: "text-sm font-medium text-text-primary",
504
- children: [M.profitMargin, "%"]
506
+ children: [N.profitMargin, "%"]
505
507
  })]
506
508
  }), /* @__PURE__ */ C("div", {
507
509
  className: "h-2 w-full overflow-hidden rounded-full bg-bg-sunken",
508
510
  children: /* @__PURE__ */ C("div", {
509
- className: "h-full rounded-full bg-blue-600",
510
- style: { width: `${M.profitMargin}%` }
511
+ className: "h-full rounded-full bg-accent-blue-subtle",
512
+ style: { width: `${N.profitMargin}%` }
511
513
  })
512
514
  })] }),
513
515
  /* @__PURE__ */ w("div", { children: [/* @__PURE__ */ w("div", {
@@ -516,18 +518,18 @@ function D() {
516
518
  className: "text-sm text-text-secondary",
517
519
  children: "ROI"
518
520
  }), /* @__PURE__ */ w("span", {
519
- className: "text-sm font-medium text-green-600 dark:text-green-400",
521
+ className: "text-sm font-medium text-status-success-text",
520
522
  children: [
521
523
  "+",
522
- M.returnOnInvestment,
524
+ N.returnOnInvestment,
523
525
  "%"
524
526
  ]
525
527
  })]
526
528
  }), /* @__PURE__ */ C("div", {
527
529
  className: "h-2 w-full overflow-hidden rounded-full bg-bg-sunken",
528
530
  children: /* @__PURE__ */ C("div", {
529
- className: "h-full rounded-full bg-green-500",
530
- style: { width: `${Math.min(M.returnOnInvestment, 100)}%` }
531
+ className: "h-full rounded-full bg-status-success-bg-subtle",
532
+ style: { width: `${Math.min(N.returnOnInvestment, 100)}%` }
531
533
  })
532
534
  })] }),
533
535
  /* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C("p", {
@@ -535,7 +537,7 @@ function D() {
535
537
  children: "Expected Payback"
536
538
  }), /* @__PURE__ */ C("p", {
537
539
  className: "font-medium text-text-primary",
538
- children: M.paybackPeriod
540
+ children: N.paybackPeriod
539
541
  })] })
540
542
  ]
541
543
  })]
@@ -543,7 +545,7 @@ function D() {
543
545
  })]
544
546
  }),
545
547
  p === "financials" && /* @__PURE__ */ w("div", {
546
- className: "rounded-lg border border-border-subtle bg-bg-surface p-4 sm:p-6",
548
+ className: "rounded-lg border border-border-seam bg-bg-surface p-4 sm:p-6 bg-gloss-card shadow-pop",
547
549
  children: [
548
550
  /* @__PURE__ */ C("h2", {
549
551
  className: "mb-4 text-lg font-semibold text-text-primary sm:mb-6",
@@ -559,7 +561,7 @@ function D() {
559
561
  children: "Monthly Revenue"
560
562
  }), /* @__PURE__ */ C("p", {
561
563
  className: "mt-1 text-lg font-bold text-text-primary",
562
- children: r(M.monthlyRevenue, { minimumFractionDigits: 0 })
564
+ children: r(N.monthlyRevenue, { minimumFractionDigits: 0 })
563
565
  })]
564
566
  }),
565
567
  /* @__PURE__ */ w("div", {
@@ -568,10 +570,10 @@ function D() {
568
570
  className: "text-xs text-text-secondary",
569
571
  children: "Revenue Growth"
570
572
  }), /* @__PURE__ */ w("p", {
571
- className: "mt-1 text-lg font-bold text-green-600 dark:text-green-400",
573
+ className: "mt-1 text-lg font-bold text-status-success-text",
572
574
  children: [
573
575
  "+",
574
- M.revenueGrowth,
576
+ N.revenueGrowth,
575
577
  "%"
576
578
  ]
577
579
  })]
@@ -583,7 +585,7 @@ function D() {
583
585
  children: "Profit Margin"
584
586
  }), /* @__PURE__ */ w("p", {
585
587
  className: "mt-1 text-lg font-bold text-text-primary",
586
- children: [M.profitMargin, "%"]
588
+ children: [N.profitMargin, "%"]
587
589
  })]
588
590
  }),
589
591
  /* @__PURE__ */ w("div", {
@@ -593,7 +595,7 @@ function D() {
593
595
  children: "Avg Order Value"
594
596
  }), /* @__PURE__ */ C("p", {
595
597
  className: "mt-1 text-lg font-bold text-text-primary",
596
- children: r(M.averageOrderValue, { minimumFractionDigits: 0 })
598
+ children: r(N.averageOrderValue, { minimumFractionDigits: 0 })
597
599
  })]
598
600
  })
599
601
  ]
@@ -623,32 +625,32 @@ function D() {
623
625
  children: [
624
626
  {
625
627
  metric: "Monthly Revenue",
626
- value: r(M.monthlyRevenue, { minimumFractionDigits: 0 }),
628
+ value: r(N.monthlyRevenue, { minimumFractionDigits: 0 }),
627
629
  trend: "+18.5%"
628
630
  },
629
631
  {
630
632
  metric: "Monthly Orders",
631
- value: String(M.monthlyOrders),
633
+ value: String(N.monthlyOrders),
632
634
  trend: "+12%"
633
635
  },
634
636
  {
635
637
  metric: "Average Order Value",
636
- value: r(M.averageOrderValue, { minimumFractionDigits: 0 }),
638
+ value: r(N.averageOrderValue, { minimumFractionDigits: 0 }),
637
639
  trend: "+5.8%"
638
640
  },
639
641
  {
640
642
  metric: "Active Customers",
641
- value: String(M.activeCustomers),
643
+ value: String(N.activeCustomers),
642
644
  trend: "+22%"
643
645
  },
644
646
  {
645
647
  metric: "Profit Margin",
646
- value: `${M.profitMargin}%`,
648
+ value: `${N.profitMargin}%`,
647
649
  trend: "+2.1%"
648
650
  },
649
651
  {
650
652
  metric: "Return on Investment",
651
- value: `${M.returnOnInvestment}%`,
653
+ value: `${N.returnOnInvestment}%`,
652
654
  trend: "+8.5%"
653
655
  }
654
656
  ].map((e) => /* @__PURE__ */ w("tr", {
@@ -663,7 +665,7 @@ function D() {
663
665
  children: e.value
664
666
  }),
665
667
  /* @__PURE__ */ C("td", {
666
- className: "px-4 py-3 text-right text-sm font-medium text-green-600 dark:text-green-400",
668
+ className: "px-4 py-3 text-right text-sm font-medium text-status-success-text",
667
669
  children: e.trend
668
670
  })
669
671
  ]
@@ -674,14 +676,14 @@ function D() {
674
676
  ]
675
677
  }),
676
678
  p === "documents" && /* @__PURE__ */ w("div", {
677
- className: "rounded-lg border border-border-subtle bg-bg-surface p-4 sm:p-6",
679
+ className: "rounded-lg border border-border-seam bg-bg-surface p-4 sm:p-6 bg-gloss-card shadow-pop",
678
680
  children: [/* @__PURE__ */ C("h2", {
679
681
  className: "mb-4 text-lg font-semibold text-text-primary sm:mb-6",
680
682
  children: "Investment Documents"
681
683
  }), /* @__PURE__ */ C("div", {
682
684
  className: "space-y-4",
683
- children: M.documents.map((e, n) => {
684
- let r = E(e.status), a = r.Icon;
685
+ children: N.documents.map((e, n) => {
686
+ let r = D(e.status), a = r.Icon;
685
687
  return /* @__PURE__ */ w("div", {
686
688
  className: "flex flex-col gap-4 rounded-lg bg-bg-sunken/50 p-4 sm:flex-row sm:items-center sm:justify-between",
687
689
  children: [/* @__PURE__ */ w("div", {
@@ -733,13 +735,13 @@ function D() {
733
735
  })]
734
736
  }),
735
737
  p === "updates" && /* @__PURE__ */ w("div", {
736
- className: "rounded-lg border border-border-subtle bg-bg-surface p-4 sm:p-6",
738
+ className: "rounded-lg border border-border-seam bg-bg-surface p-4 sm:p-6 bg-gloss-card shadow-pop",
737
739
  children: [/* @__PURE__ */ C("h2", {
738
740
  className: "mb-4 text-lg font-semibold text-text-primary sm:mb-6",
739
741
  children: "Recent Updates"
740
742
  }), /* @__PURE__ */ C("div", {
741
743
  className: "space-y-4",
742
- children: M.recentUpdates.map((e, t) => /* @__PURE__ */ w("div", {
744
+ children: N.recentUpdates.map((e, t) => /* @__PURE__ */ w("div", {
743
745
  className: "flex gap-3 rounded-lg bg-bg-sunken/50 p-4 sm:gap-4",
744
746
  children: [/* @__PURE__ */ C("div", {
745
747
  className: "flex-shrink-0",
@@ -768,7 +770,7 @@ function D() {
768
770
  })
769
771
  ]
770
772
  }),
771
- A && /* @__PURE__ */ C("div", {
773
+ j && /* @__PURE__ */ C("div", {
772
774
  className: "fixed inset-0 z-50 flex items-center justify-center bg-black/50 p-4",
773
775
  children: /* @__PURE__ */ w("div", {
774
776
  className: "relative max-h-[90vh] w-full max-w-md overflow-y-auto rounded-lg border border-border-subtle bg-bg-surface",
@@ -777,7 +779,7 @@ function D() {
777
779
  className: "border-b border-border-subtle p-4 sm:p-6",
778
780
  children: [/* @__PURE__ */ C("button", {
779
781
  type: "button",
780
- onClick: () => j(!1),
782
+ onClick: () => M(!1),
781
783
  className: "absolute right-3 top-3 rounded-lg p-1 text-text-secondary hover:bg-accent transition-colors",
782
784
  children: /* @__PURE__ */ C(S, { className: "h-5 w-5" })
783
785
  }), /* @__PURE__ */ C("h2", {
@@ -792,7 +794,7 @@ function D() {
792
794
  className: "text-sm text-text-secondary sm:text-base",
793
795
  children: [
794
796
  "Choose an action for your investment in ",
795
- M.cartName,
797
+ N.cartName,
796
798
  ":"
797
799
  ]
798
800
  }),
@@ -820,9 +822,9 @@ function D() {
820
822
  ]
821
823
  }),
822
824
  /* @__PURE__ */ C("div", {
823
- className: "rounded-lg border border-yellow-500/30 bg-yellow-500/10 p-3 sm:p-4",
825
+ className: "rounded-lg border border-status-warning-border/30 bg-status-warning-bg-subtle/10 p-3 sm:p-4",
824
826
  children: /* @__PURE__ */ C("p", {
825
- className: "text-xs text-yellow-800 dark:text-yellow-200 sm:text-sm",
827
+ className: "text-xs text-status-warning-text sm:text-sm",
826
828
  children: "Any changes to your investment require approval from the business owner and may be subject to terms in your investment agreement."
827
829
  })
828
830
  })
@@ -832,7 +834,7 @@ function D() {
832
834
  className: "flex justify-end gap-3 border-t border-border-subtle p-4 sm:p-6",
833
835
  children: /* @__PURE__ */ C("button", {
834
836
  type: "button",
835
- onClick: () => j(!1),
837
+ onClick: () => M(!1),
836
838
  className: "rounded-lg border border-border-subtle px-4 py-2 text-sm font-medium text-text-primary hover:bg-accent transition-colors",
837
839
  children: "Cancel"
838
840
  })
@@ -844,6 +846,6 @@ function D() {
844
846
  });
845
847
  }
846
848
  //#endregion
847
- export { D as InvestmentDetailsPage };
849
+ export { O as InvestmentDetailsPage };
848
850
 
849
851
  //# sourceMappingURL=InvestmentDetailsPage.js.map