@burdenoff/microfe-coolandlovely 2026.625.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 (91) hide show
  1. package/dist/coolandlovely/pages/HomePage.js +263 -258
  2. package/dist/coolandlovely/pages/HomePage.js.map +1 -1
  3. package/dist/coolandlovely/pages/admin/AdminAnalyticsPage.js +67 -61
  4. package/dist/coolandlovely/pages/admin/AdminAnalyticsPage.js.map +1 -1
  5. package/dist/coolandlovely/pages/admin/AdminDashboard.js +79 -45
  6. package/dist/coolandlovely/pages/admin/AdminDashboard.js.map +1 -1
  7. package/dist/coolandlovely/pages/admin/AdminFinancialPage.js +39 -33
  8. package/dist/coolandlovely/pages/admin/AdminFinancialPage.js.map +1 -1
  9. package/dist/coolandlovely/pages/admin/AdminOrdersPage.js +227 -222
  10. package/dist/coolandlovely/pages/admin/AdminOrdersPage.js.map +1 -1
  11. package/dist/coolandlovely/pages/admin/AdminProfilePage.js +65 -60
  12. package/dist/coolandlovely/pages/admin/AdminProfilePage.js.map +1 -1
  13. package/dist/coolandlovely/pages/admin/AdminSettingsPage.js +235 -230
  14. package/dist/coolandlovely/pages/admin/AdminSettingsPage.js.map +1 -1
  15. package/dist/coolandlovely/pages/admin/CartManagementPage.js +268 -263
  16. package/dist/coolandlovely/pages/admin/CartManagementPage.js.map +1 -1
  17. package/dist/coolandlovely/pages/admin/UserManagementPage.js +268 -263
  18. package/dist/coolandlovely/pages/admin/UserManagementPage.js.map +1 -1
  19. package/dist/coolandlovely/pages/cart-owner/AnalyticsDashboard.js +92 -84
  20. package/dist/coolandlovely/pages/cart-owner/AnalyticsDashboard.js.map +1 -1
  21. package/dist/coolandlovely/pages/cart-owner/BusinessSettingsPage.js +257 -252
  22. package/dist/coolandlovely/pages/cart-owner/BusinessSettingsPage.js.map +1 -1
  23. package/dist/coolandlovely/pages/cart-owner/CartOwnerDashboard.js +587 -548
  24. package/dist/coolandlovely/pages/cart-owner/CartOwnerDashboard.js.map +1 -1
  25. package/dist/coolandlovely/pages/cart-owner/CartOwnerProfilePage.js +171 -166
  26. package/dist/coolandlovely/pages/cart-owner/CartOwnerProfilePage.js.map +1 -1
  27. package/dist/coolandlovely/pages/cart-owner/CartServiceConfigPage.js +219 -211
  28. package/dist/coolandlovely/pages/cart-owner/CartServiceConfigPage.js.map +1 -1
  29. package/dist/coolandlovely/pages/cart-owner/InventoryManagementPage.js +671 -670
  30. package/dist/coolandlovely/pages/cart-owner/InventoryManagementPage.js.map +1 -1
  31. package/dist/coolandlovely/pages/cart-owner/OrderManagementPage.js +515 -514
  32. package/dist/coolandlovely/pages/cart-owner/OrderManagementPage.js.map +1 -1
  33. package/dist/coolandlovely/pages/cart-owner/StaffManagementPage.js +244 -246
  34. package/dist/coolandlovely/pages/cart-owner/StaffManagementPage.js.map +1 -1
  35. package/dist/coolandlovely/pages/common/HelpSupportPage.js +96 -96
  36. package/dist/coolandlovely/pages/common/HelpSupportPage.js.map +1 -1
  37. package/dist/coolandlovely/pages/common/NotificationCenterPage.js +50 -44
  38. package/dist/coolandlovely/pages/common/NotificationCenterPage.js.map +1 -1
  39. package/dist/coolandlovely/pages/common/SettingsPage.js +745 -736
  40. package/dist/coolandlovely/pages/common/SettingsPage.js.map +1 -1
  41. package/dist/coolandlovely/pages/customer/BookingDetailsPage.js +394 -357
  42. package/dist/coolandlovely/pages/customer/BookingDetailsPage.js.map +1 -1
  43. package/dist/coolandlovely/pages/customer/CartDetailPage.js +179 -176
  44. package/dist/coolandlovely/pages/customer/CartDetailPage.js.map +1 -1
  45. package/dist/coolandlovely/pages/customer/CartDiscoveryPage.js +215 -204
  46. package/dist/coolandlovely/pages/customer/CartDiscoveryPage.js.map +1 -1
  47. package/dist/coolandlovely/pages/customer/CheckoutPage.js +212 -215
  48. package/dist/coolandlovely/pages/customer/CheckoutPage.js.map +1 -1
  49. package/dist/coolandlovely/pages/customer/CustomerDashboard.js +438 -396
  50. package/dist/coolandlovely/pages/customer/CustomerDashboard.js.map +1 -1
  51. package/dist/coolandlovely/pages/customer/CustomerProfilePage.js +525 -488
  52. package/dist/coolandlovely/pages/customer/CustomerProfilePage.js.map +1 -1
  53. package/dist/coolandlovely/pages/customer/DirectServiceBookingPage.js +522 -513
  54. package/dist/coolandlovely/pages/customer/DirectServiceBookingPage.js.map +1 -1
  55. package/dist/coolandlovely/pages/customer/FavoritesPage.js +86 -76
  56. package/dist/coolandlovely/pages/customer/FavoritesPage.js.map +1 -1
  57. package/dist/coolandlovely/pages/customer/OrderHistoryPage.js +118 -109
  58. package/dist/coolandlovely/pages/customer/OrderHistoryPage.js.map +1 -1
  59. package/dist/coolandlovely/pages/customer/OrderTrackingPage.js +312 -275
  60. package/dist/coolandlovely/pages/customer/OrderTrackingPage.js.map +1 -1
  61. package/dist/coolandlovely/pages/customer/PaymentMethodsPage.js +82 -76
  62. package/dist/coolandlovely/pages/customer/PaymentMethodsPage.js.map +1 -1
  63. package/dist/coolandlovely/pages/customer/ReviewsPage.js +83 -73
  64. package/dist/coolandlovely/pages/customer/ReviewsPage.js.map +1 -1
  65. package/dist/coolandlovely/pages/customer/SavedAddressesPage.js +61 -55
  66. package/dist/coolandlovely/pages/customer/SavedAddressesPage.js.map +1 -1
  67. package/dist/coolandlovely/pages/investor/InvestmentDetailsPage.js +293 -255
  68. package/dist/coolandlovely/pages/investor/InvestmentDetailsPage.js.map +1 -1
  69. package/dist/coolandlovely/pages/investor/InvestmentOpportunitiesPage.js +238 -232
  70. package/dist/coolandlovely/pages/investor/InvestmentOpportunitiesPage.js.map +1 -1
  71. package/dist/coolandlovely/pages/investor/InvestorAnalyticsPage.js +61 -55
  72. package/dist/coolandlovely/pages/investor/InvestorAnalyticsPage.js.map +1 -1
  73. package/dist/coolandlovely/pages/investor/InvestorDashboard.js +356 -320
  74. package/dist/coolandlovely/pages/investor/InvestorDashboard.js.map +1 -1
  75. package/dist/coolandlovely/pages/investor/InvestorInvestmentsPage.js +107 -101
  76. package/dist/coolandlovely/pages/investor/InvestorInvestmentsPage.js.map +1 -1
  77. package/dist/coolandlovely/pages/investor/InvestorPortfolioPage.js +170 -137
  78. package/dist/coolandlovely/pages/investor/InvestorPortfolioPage.js.map +1 -1
  79. package/dist/coolandlovely/pages/investor/InvestorProfilePage.js +386 -381
  80. package/dist/coolandlovely/pages/investor/InvestorProfilePage.js.map +1 -1
  81. package/dist/coolandlovely/pages/worker/TaskDetailsPage.js +359 -322
  82. package/dist/coolandlovely/pages/worker/TaskDetailsPage.js.map +1 -1
  83. package/dist/coolandlovely/pages/worker/WorkerDashboard.js +574 -537
  84. package/dist/coolandlovely/pages/worker/WorkerDashboard.js.map +1 -1
  85. package/dist/coolandlovely/pages/worker/WorkerOrdersPage.js +81 -76
  86. package/dist/coolandlovely/pages/worker/WorkerOrdersPage.js.map +1 -1
  87. package/dist/coolandlovely/pages/worker/WorkerProfilePage.js +82 -77
  88. package/dist/coolandlovely/pages/worker/WorkerProfilePage.js.map +1 -1
  89. package/dist/coolandlovely/pages/worker/WorkerSchedulePage.js +78 -73
  90. package/dist/coolandlovely/pages/worker/WorkerSchedulePage.js.map +1 -1
  91. package/package.json +3 -3
@@ -1,12 +1,14 @@
1
1
  import { useCoolAndLovely as e } from "../../context/CoolAndLovelyContext.js";
2
2
  import { cn as t } from "../../utils/cn.js";
3
3
  import { PageLayout as n } from "../../components/PageLayout.js";
4
- import { formatCurrency as r, formatDate as i } from "../../utils/formatters.js";
5
- import { useEffect as a, useState as o } from "react";
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
- import { jsx as C, jsxs as w } from "react/jsx-runtime";
4
+ import { EmptyState as r } from "../../components/EmptyState.js";
5
+ import { formatCurrency as i, formatDate as a } from "../../utils/formatters.js";
6
+ import { useEffect as o, useState as s } from "react";
7
+ import { Activity as c, AlertCircle as l, ArrowLeft as u, BarChart3 as d, Building2 as f, CheckCircle2 as p, Clock as m, Download as h, FileText as g, IndianRupee as _, Package as v, PieChart as y, Star as b, TrendingUp as x, Users as S, X as C } from "lucide-react";
8
+ import { jsx as w, jsxs as T } from "react/jsx-runtime";
9
+ import { EmphasisPanel as E, NextSteps as D, PagePurpose as O } from "@burdenoff/fe-libs/ui";
8
10
  //#region src/coolandlovely/pages/investor/InvestmentDetailsPage.tsx
9
- var T = {
11
+ var k = {
10
12
  id: "INV-001",
11
13
  cartName: "Dosa Express - Koramangala",
12
14
  cartOwner: "Suresh Rao",
@@ -77,131 +79,135 @@ var T = {
77
79
  }
78
80
  ]
79
81
  };
80
- function E(e) {
82
+ function A(e) {
81
83
  switch (e) {
82
84
  case "verified": return {
83
85
  color: "text-status-success-text",
84
- Icon: f,
86
+ Icon: p,
85
87
  label: "Verified"
86
88
  };
87
89
  case "pending": return {
88
90
  color: "text-status-warning-text",
89
- Icon: p,
91
+ Icon: m,
90
92
  label: "Pending"
91
93
  };
92
94
  case "rejected": return {
93
95
  color: "text-status-error-text",
94
- Icon: c,
96
+ Icon: l,
95
97
  label: "Rejected"
96
98
  };
97
99
  default: return {
98
100
  color: "text-text-secondary",
99
- Icon: c,
101
+ Icon: l,
100
102
  label: e
101
103
  };
102
104
  }
103
105
  }
104
- function D() {
105
- let { navigateTo: f } = e(), [p, D] = o("overview"), [O, k] = o(!0), [A, j] = o(!1), [M, N] = o(null);
106
- a(() => {
106
+ function j() {
107
+ let { navigateTo: l } = e(), [p, m] = s("overview"), [j, M] = s(!0), [N, P] = s(!1), [F, I] = s(null);
108
+ o(() => {
107
109
  let e = setTimeout(() => {
108
- N(T), k(!1);
110
+ I(k), M(!1);
109
111
  }, 600);
110
112
  return () => clearTimeout(e);
111
113
  }, []);
112
- let P = [
114
+ let L = [
113
115
  {
114
116
  id: "overview",
115
117
  label: "Overview",
116
- Icon: u
118
+ Icon: d
117
119
  },
118
120
  {
119
121
  id: "financials",
120
122
  label: "Financials",
121
- Icon: g
123
+ Icon: _
122
124
  },
123
125
  {
124
126
  id: "documents",
125
127
  label: "Documents",
126
- Icon: h
128
+ Icon: g
127
129
  },
128
130
  {
129
131
  id: "updates",
130
132
  label: "Updates",
131
- Icon: s
133
+ Icon: c
132
134
  }
133
135
  ];
134
- if (O) return /* @__PURE__ */ C(n, {
136
+ if (j) return /* @__PURE__ */ w(n, {
135
137
  title: "Investment Details",
136
138
  description: "Loading...",
137
- children: /* @__PURE__ */ C("div", {
139
+ children: /* @__PURE__ */ w("div", {
138
140
  className: "flex items-center justify-center py-20",
139
- children: /* @__PURE__ */ w("div", {
141
+ children: /* @__PURE__ */ T("div", {
140
142
  className: "text-center",
141
- children: [/* @__PURE__ */ C("div", { className: "mx-auto mb-4 h-12 w-12 animate-spin rounded-full border-b-2 border-primary" }), /* @__PURE__ */ C("p", {
143
+ children: [/* @__PURE__ */ w("div", { className: "mx-auto mb-4 h-12 w-12 animate-spin rounded-full border-b-2 border-primary" }), /* @__PURE__ */ w("p", {
142
144
  className: "text-sm text-text-secondary",
143
145
  children: "Loading investment details..."
144
146
  })]
145
147
  })
146
148
  })
147
149
  });
148
- if (!M) return /* @__PURE__ */ C(n, {
150
+ if (!F) return /* @__PURE__ */ w(n, {
149
151
  title: "Investment Not Found",
150
- children: /* @__PURE__ */ w("div", {
151
- className: "flex flex-col items-center justify-center py-12",
152
- children: [/* @__PURE__ */ C(c, { className: "mb-4 h-12 w-12 text-status-error-text" }), /* @__PURE__ */ C("p", {
153
- className: "text-text-primary",
154
- children: "Investment not found"
155
- })]
152
+ children: /* @__PURE__ */ w(r, {
153
+ illustration: "empty-search",
154
+ title: "Investment not found",
155
+ description: "We couldn't find this investment. It may have been removed or the link is incorrect.",
156
+ action: /* @__PURE__ */ w("button", {
157
+ type: "button",
158
+ onClick: () => l("/investor/portfolio"),
159
+ 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",
160
+ children: "Back to Portfolio"
161
+ })
156
162
  })
157
163
  });
158
- let F = M.currentValuation * (M.equityPercentage / 100) - M.investmentAmount, I = F / M.investmentAmount * 100;
159
- return /* @__PURE__ */ w(n, {
160
- title: M.cartName,
164
+ let R = F.currentValuation * (F.equityPercentage / 100) - F.investmentAmount, z = R / F.investmentAmount * 100;
165
+ return /* @__PURE__ */ T(n, {
166
+ title: F.cartName,
161
167
  description: "Investment Details & Performance",
162
- actions: /* @__PURE__ */ w("div", {
168
+ actions: /* @__PURE__ */ T("div", {
163
169
  className: "flex items-center gap-2",
164
170
  children: [
165
- /* @__PURE__ */ w("button", {
171
+ /* @__PURE__ */ T("button", {
166
172
  type: "button",
167
- onClick: () => f("/investor/portfolio"),
173
+ onClick: () => l("/investor/portfolio"),
168
174
  className: "flex items-center gap-1.5 rounded-lg border border-border-subtle px-3 py-2 text-sm font-medium text-text-primary hover:bg-accent transition-colors",
169
175
  children: [
170
- /* @__PURE__ */ C(l, { className: "h-4 w-4" }),
171
- /* @__PURE__ */ C("span", {
176
+ /* @__PURE__ */ w(u, { className: "h-4 w-4" }),
177
+ /* @__PURE__ */ w("span", {
172
178
  className: "hidden sm:inline",
173
179
  children: "Back to Portfolio"
174
180
  }),
175
- /* @__PURE__ */ C("span", {
181
+ /* @__PURE__ */ w("span", {
176
182
  className: "sm:hidden",
177
183
  children: "Back"
178
184
  })
179
185
  ]
180
186
  }),
181
- /* @__PURE__ */ w("button", {
187
+ /* @__PURE__ */ T("button", {
182
188
  type: "button",
183
189
  onClick: () => alert("Report export initiated"),
184
190
  className: "flex items-center gap-1.5 rounded-lg border border-border-subtle px-3 py-2 text-sm font-medium text-text-primary hover:bg-accent transition-colors",
185
191
  children: [
186
- /* @__PURE__ */ C(m, { className: "h-4 w-4" }),
187
- /* @__PURE__ */ C("span", {
192
+ /* @__PURE__ */ w(h, { className: "h-4 w-4" }),
193
+ /* @__PURE__ */ w("span", {
188
194
  className: "hidden sm:inline",
189
195
  children: "Export Report"
190
196
  }),
191
- /* @__PURE__ */ C("span", {
197
+ /* @__PURE__ */ w("span", {
192
198
  className: "sm:hidden",
193
199
  children: "Export"
194
200
  })
195
201
  ]
196
202
  }),
197
- /* @__PURE__ */ w("button", {
203
+ /* @__PURE__ */ T("button", {
198
204
  type: "button",
199
- onClick: () => j(!0),
205
+ onClick: () => P(!0),
200
206
  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
- children: [/* @__PURE__ */ C("span", {
207
+ children: [/* @__PURE__ */ w("span", {
202
208
  className: "hidden sm:inline",
203
209
  children: "Manage Investment"
204
- }), /* @__PURE__ */ C("span", {
210
+ }), /* @__PURE__ */ w("span", {
205
211
  className: "sm:hidden",
206
212
  children: "Manage"
207
213
  })]
@@ -209,64 +215,96 @@ function D() {
209
215
  ]
210
216
  }),
211
217
  children: [
212
- /* @__PURE__ */ w("div", {
213
- className: "grid grid-cols-2 gap-4 lg:grid-cols-4",
218
+ /* @__PURE__ */ w(O, {
219
+ className: "mb-6",
220
+ icon: /* @__PURE__ */ w(d, { className: "h-4 w-4" }),
221
+ children: "A deep dive into one of your investments: how much you put in, your equity stake, current valuation and returns, plus the business's growth, documents and risk profile. Use it to decide whether to top up, hold, or manage your stake."
222
+ }),
223
+ /* @__PURE__ */ w(D, {
224
+ className: "mb-6",
225
+ storageKey: "coolandlovely-investment-details",
226
+ steps: [
227
+ {
228
+ id: "manage",
229
+ label: "Manage this investment",
230
+ description: "Top up, withdraw returns, or adjust your position.",
231
+ icon: /* @__PURE__ */ w(c, { className: "h-4 w-4" }),
232
+ onClick: () => P(!0)
233
+ },
234
+ {
235
+ id: "documents",
236
+ label: "Review the documents",
237
+ description: "Check agreements and reports filed for this business.",
238
+ icon: /* @__PURE__ */ w(g, { className: "h-4 w-4" }),
239
+ onClick: () => m("documents")
240
+ },
241
+ {
242
+ id: "portfolio",
243
+ label: "Back to your portfolio",
244
+ description: "Compare this holding against the rest of your portfolio.",
245
+ icon: /* @__PURE__ */ w(y, { className: "h-4 w-4" }),
246
+ onClick: () => l("/investor/portfolio")
247
+ }
248
+ ]
249
+ }),
250
+ /* @__PURE__ */ T(E, {
251
+ className: "grid grid-cols-2 gap-4 lg:grid-cols-4 p-4",
214
252
  children: [
215
- /* @__PURE__ */ w("div", {
253
+ /* @__PURE__ */ T("div", {
216
254
  className: "rounded-lg border border-border-seam bg-bg-surface p-4 text-center bg-gloss-card shadow-pop",
217
255
  children: [
218
- /* @__PURE__ */ C(g, { className: "mx-auto mb-2 h-6 w-6 text-primary sm:h-8 sm:w-8" }),
219
- /* @__PURE__ */ C("div", {
256
+ /* @__PURE__ */ w(_, { className: "mx-auto mb-2 h-6 w-6 text-primary sm:h-8 sm:w-8" }),
257
+ /* @__PURE__ */ w("div", {
220
258
  className: "text-lg font-bold text-text-primary sm:text-2xl",
221
- children: r(M.investmentAmount, { minimumFractionDigits: 0 })
259
+ children: i(F.investmentAmount, { minimumFractionDigits: 0 })
222
260
  }),
223
- /* @__PURE__ */ C("div", {
261
+ /* @__PURE__ */ w("div", {
224
262
  className: "text-xs text-text-secondary sm:text-sm",
225
263
  children: "Your Investment"
226
264
  })
227
265
  ]
228
266
  }),
229
- /* @__PURE__ */ w("div", {
267
+ /* @__PURE__ */ T("div", {
230
268
  className: "rounded-lg border border-border-seam bg-bg-surface p-4 text-center bg-gloss-card shadow-pop",
231
269
  children: [
232
- /* @__PURE__ */ C(b, { className: "mx-auto mb-2 h-6 w-6 text-status-success-text sm:h-8 sm:w-8" }),
233
- /* @__PURE__ */ w("div", {
270
+ /* @__PURE__ */ w(x, { className: "mx-auto mb-2 h-6 w-6 text-status-success-text sm:h-8 sm:w-8" }),
271
+ /* @__PURE__ */ T("div", {
234
272
  className: "text-lg font-bold text-status-success-text sm:text-2xl",
235
273
  children: [
236
- I > 0 ? "+" : "",
237
- I.toFixed(1),
274
+ z > 0 ? "+" : "",
275
+ z.toFixed(1),
238
276
  "%"
239
277
  ]
240
278
  }),
241
- /* @__PURE__ */ C("div", {
279
+ /* @__PURE__ */ w("div", {
242
280
  className: "text-xs text-text-secondary sm:text-sm",
243
281
  children: "Returns"
244
282
  })
245
283
  ]
246
284
  }),
247
- /* @__PURE__ */ w("div", {
285
+ /* @__PURE__ */ T("div", {
248
286
  className: "rounded-lg border border-border-seam bg-bg-surface p-4 text-center bg-gloss-card shadow-pop",
249
287
  children: [
250
- /* @__PURE__ */ C(v, { className: "mx-auto mb-2 h-6 w-6 text-accent-blue sm:h-8 sm:w-8" }),
251
- /* @__PURE__ */ w("div", {
288
+ /* @__PURE__ */ w(y, { className: "mx-auto mb-2 h-6 w-6 text-accent-blue sm:h-8 sm:w-8" }),
289
+ /* @__PURE__ */ T("div", {
252
290
  className: "text-lg font-bold text-text-primary sm:text-2xl",
253
- children: [M.equityPercentage, "%"]
291
+ children: [F.equityPercentage, "%"]
254
292
  }),
255
- /* @__PURE__ */ C("div", {
293
+ /* @__PURE__ */ w("div", {
256
294
  className: "text-xs text-text-secondary sm:text-sm",
257
295
  children: "Equity Stake"
258
296
  })
259
297
  ]
260
298
  }),
261
- /* @__PURE__ */ w("div", {
299
+ /* @__PURE__ */ T("div", {
262
300
  className: "rounded-lg border border-border-seam bg-bg-surface p-4 text-center bg-gloss-card shadow-pop",
263
301
  children: [
264
- /* @__PURE__ */ C(d, { className: "mx-auto mb-2 h-6 w-6 text-accent-purple sm:h-8 sm:w-8" }),
265
- /* @__PURE__ */ C("div", {
302
+ /* @__PURE__ */ w(f, { className: "mx-auto mb-2 h-6 w-6 text-accent-purple sm:h-8 sm:w-8" }),
303
+ /* @__PURE__ */ w("div", {
266
304
  className: "text-lg font-bold text-text-primary sm:text-2xl",
267
- children: r(M.currentValuation * (M.equityPercentage / 100), { minimumFractionDigits: 0 })
305
+ children: i(F.currentValuation * (F.equityPercentage / 100), { minimumFractionDigits: 0 })
268
306
  }),
269
- /* @__PURE__ */ C("div", {
307
+ /* @__PURE__ */ w("div", {
270
308
  className: "text-xs text-text-secondary sm:text-sm",
271
309
  children: "Current Value"
272
310
  })
@@ -274,395 +312,395 @@ function D() {
274
312
  })
275
313
  ]
276
314
  }),
277
- /* @__PURE__ */ C("div", {
315
+ /* @__PURE__ */ w("div", {
278
316
  className: "mt-6 flex gap-2 overflow-x-auto pb-2",
279
- children: P.map((e) => /* @__PURE__ */ w("button", {
317
+ children: L.map((e) => /* @__PURE__ */ T("button", {
280
318
  type: "button",
281
- onClick: () => D(e.id),
319
+ onClick: () => m(e.id),
282
320
  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
321
  children: [
284
- /* @__PURE__ */ C(e.Icon, { className: "h-4 w-4 flex-shrink-0" }),
285
- /* @__PURE__ */ C("span", {
322
+ /* @__PURE__ */ w(e.Icon, { className: "h-4 w-4 flex-shrink-0" }),
323
+ /* @__PURE__ */ w("span", {
286
324
  className: "hidden sm:inline",
287
325
  children: e.label
288
326
  }),
289
- /* @__PURE__ */ C("span", {
327
+ /* @__PURE__ */ w("span", {
290
328
  className: "sm:hidden",
291
329
  children: e.label.split(" ")[0]
292
330
  })
293
331
  ]
294
332
  }, e.id))
295
333
  }),
296
- /* @__PURE__ */ w("div", {
334
+ /* @__PURE__ */ T("div", {
297
335
  className: "mt-6",
298
336
  children: [
299
- p === "overview" && /* @__PURE__ */ w("div", {
337
+ p === "overview" && /* @__PURE__ */ T("div", {
300
338
  className: "grid gap-6 lg:grid-cols-3",
301
- children: [/* @__PURE__ */ w("div", {
339
+ children: [/* @__PURE__ */ T("div", {
302
340
  className: "space-y-6 lg:col-span-2",
303
- children: [/* @__PURE__ */ w("div", {
341
+ children: [/* @__PURE__ */ T("div", {
304
342
  className: "rounded-lg border border-border-seam bg-bg-surface p-4 sm:p-6 bg-gloss-card shadow-pop",
305
- children: [/* @__PURE__ */ C("h2", {
343
+ children: [/* @__PURE__ */ w("h2", {
306
344
  className: "mb-4 text-lg font-semibold text-text-primary sm:mb-6",
307
345
  children: "Business Information"
308
- }), /* @__PURE__ */ w("div", {
346
+ }), /* @__PURE__ */ T("div", {
309
347
  className: "grid gap-4 sm:grid-cols-2 sm:gap-6",
310
348
  children: [
311
- /* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C("p", {
349
+ /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("p", {
312
350
  className: "text-sm text-text-secondary",
313
351
  children: "Owner"
314
- }), /* @__PURE__ */ C("p", {
352
+ }), /* @__PURE__ */ w("p", {
315
353
  className: "font-medium text-text-primary",
316
- children: M.cartOwner
354
+ children: F.cartOwner
317
355
  })] }),
318
- /* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C("p", {
356
+ /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("p", {
319
357
  className: "text-sm text-text-secondary",
320
358
  children: "Business Type"
321
- }), /* @__PURE__ */ C("p", {
359
+ }), /* @__PURE__ */ w("p", {
322
360
  className: "font-medium text-text-primary",
323
- children: M.businessType
361
+ children: F.businessType
324
362
  })] }),
325
- /* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C("p", {
363
+ /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("p", {
326
364
  className: "text-sm text-text-secondary",
327
365
  children: "Location"
328
- }), /* @__PURE__ */ C("p", {
366
+ }), /* @__PURE__ */ w("p", {
329
367
  className: "font-medium text-text-primary",
330
- children: M.location
368
+ children: F.location
331
369
  })] }),
332
- /* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C("p", {
370
+ /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("p", {
333
371
  className: "text-sm text-text-secondary",
334
372
  children: "Established"
335
- }), /* @__PURE__ */ C("p", {
373
+ }), /* @__PURE__ */ w("p", {
336
374
  className: "font-medium text-text-primary",
337
- children: i(M.establishedDate, {
375
+ children: a(F.establishedDate, {
338
376
  hour: void 0,
339
377
  minute: void 0
340
378
  })
341
379
  })] })
342
380
  ]
343
381
  })]
344
- }), /* @__PURE__ */ w("div", {
382
+ }), /* @__PURE__ */ T("div", {
345
383
  className: "rounded-lg border border-border-seam bg-bg-surface p-4 sm:p-6 bg-gloss-card shadow-pop",
346
384
  children: [
347
- /* @__PURE__ */ C("h2", {
385
+ /* @__PURE__ */ w("h2", {
348
386
  className: "mb-4 text-lg font-semibold text-text-primary sm:mb-6",
349
387
  children: "Performance Metrics"
350
388
  }),
351
- /* @__PURE__ */ w("div", {
389
+ /* @__PURE__ */ T("div", {
352
390
  className: "grid grid-cols-1 gap-4 text-center sm:grid-cols-3 sm:gap-6",
353
391
  children: [
354
- /* @__PURE__ */ w("div", { children: [
355
- /* @__PURE__ */ C(_, { className: "mx-auto mb-2 h-6 w-6 text-primary sm:h-8 sm:w-8" }),
356
- /* @__PURE__ */ C("div", {
392
+ /* @__PURE__ */ T("div", { children: [
393
+ /* @__PURE__ */ w(v, { className: "mx-auto mb-2 h-6 w-6 text-primary sm:h-8 sm:w-8" }),
394
+ /* @__PURE__ */ w("div", {
357
395
  className: "text-xl font-bold text-text-primary sm:text-2xl",
358
- children: M.monthlyOrders
396
+ children: F.monthlyOrders
359
397
  }),
360
- /* @__PURE__ */ C("div", {
398
+ /* @__PURE__ */ w("div", {
361
399
  className: "text-xs text-text-secondary sm:text-sm",
362
400
  children: "Monthly Orders"
363
401
  })
364
402
  ] }),
365
- /* @__PURE__ */ w("div", { children: [
366
- /* @__PURE__ */ C(g, { className: "mx-auto mb-2 h-6 w-6 text-status-success-text sm:h-8 sm:w-8" }),
367
- /* @__PURE__ */ C("div", {
403
+ /* @__PURE__ */ T("div", { children: [
404
+ /* @__PURE__ */ w(_, { className: "mx-auto mb-2 h-6 w-6 text-status-success-text sm:h-8 sm:w-8" }),
405
+ /* @__PURE__ */ w("div", {
368
406
  className: "text-xl font-bold text-text-primary sm:text-2xl",
369
- children: r(M.monthlyRevenue, { minimumFractionDigits: 0 })
407
+ children: i(F.monthlyRevenue, { minimumFractionDigits: 0 })
370
408
  }),
371
- /* @__PURE__ */ C("div", {
409
+ /* @__PURE__ */ w("div", {
372
410
  className: "text-xs text-text-secondary sm:text-sm",
373
411
  children: "Monthly Revenue"
374
412
  })
375
413
  ] }),
376
- /* @__PURE__ */ w("div", { children: [
377
- /* @__PURE__ */ C(x, { className: "mx-auto mb-2 h-6 w-6 text-accent-blue sm:h-8 sm:w-8" }),
378
- /* @__PURE__ */ C("div", {
414
+ /* @__PURE__ */ T("div", { children: [
415
+ /* @__PURE__ */ w(S, { className: "mx-auto mb-2 h-6 w-6 text-accent-blue sm:h-8 sm:w-8" }),
416
+ /* @__PURE__ */ w("div", {
379
417
  className: "text-xl font-bold text-text-primary sm:text-2xl",
380
- children: M.activeCustomers
418
+ children: F.activeCustomers
381
419
  }),
382
- /* @__PURE__ */ C("div", {
420
+ /* @__PURE__ */ w("div", {
383
421
  className: "text-xs text-text-secondary sm:text-sm",
384
422
  children: "Active Customers"
385
423
  })
386
424
  ] })
387
425
  ]
388
426
  }),
389
- /* @__PURE__ */ w("div", {
427
+ /* @__PURE__ */ T("div", {
390
428
  className: "mt-4 flex flex-col items-start justify-between gap-4 border-t border-border-subtle pt-4 sm:mt-6 sm:flex-row sm:items-center sm:pt-6",
391
- children: [/* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C("p", {
429
+ children: [/* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("p", {
392
430
  className: "text-sm text-text-secondary",
393
431
  children: "Customer Rating"
394
- }), /* @__PURE__ */ w("div", {
432
+ }), /* @__PURE__ */ T("div", {
395
433
  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-status-warning-text text-status-warning-text" : "fill-none text-text-secondary/40") }, n)), /* @__PURE__ */ C("span", {
434
+ children: [Array.from({ length: 5 }, (e, n) => /* @__PURE__ */ w(b, { className: t("h-4 w-4", n < Math.floor(F.customerRating) ? "fill-status-warning-text text-status-warning-text" : "fill-none text-text-secondary/40") }, n)), /* @__PURE__ */ w("span", {
397
435
  className: "ml-1 text-sm font-medium text-text-primary",
398
- children: M.customerRating
436
+ children: F.customerRating
399
437
  })]
400
- })] }), /* @__PURE__ */ w("div", {
438
+ })] }), /* @__PURE__ */ T("div", {
401
439
  className: "text-left sm:text-right",
402
- children: [/* @__PURE__ */ C("p", {
440
+ children: [/* @__PURE__ */ w("p", {
403
441
  className: "text-sm text-text-secondary",
404
442
  children: "Avg Order Value"
405
- }), /* @__PURE__ */ C("p", {
443
+ }), /* @__PURE__ */ w("p", {
406
444
  className: "text-lg font-semibold text-text-primary",
407
- children: r(M.averageOrderValue, { minimumFractionDigits: 0 })
445
+ children: i(F.averageOrderValue, { minimumFractionDigits: 0 })
408
446
  })]
409
447
  })]
410
448
  })
411
449
  ]
412
450
  })]
413
- }), /* @__PURE__ */ w("div", {
451
+ }), /* @__PURE__ */ T("div", {
414
452
  className: "space-y-6",
415
- children: [/* @__PURE__ */ w("div", {
453
+ children: [/* @__PURE__ */ T("div", {
416
454
  className: "rounded-lg border border-border-seam bg-bg-surface p-4 sm:p-6 bg-gloss-card shadow-pop",
417
- children: [/* @__PURE__ */ C("h2", {
455
+ children: [/* @__PURE__ */ w("h2", {
418
456
  className: "mb-4 text-lg font-semibold text-text-primary sm:mb-6",
419
457
  children: "Investment Summary"
420
- }), /* @__PURE__ */ w("div", {
458
+ }), /* @__PURE__ */ T("div", {
421
459
  className: "space-y-4",
422
460
  children: [
423
- /* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C("p", {
461
+ /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("p", {
424
462
  className: "text-sm text-text-secondary",
425
463
  children: "Investment Date"
426
- }), /* @__PURE__ */ C("p", {
464
+ }), /* @__PURE__ */ w("p", {
427
465
  className: "font-medium text-text-primary",
428
- children: i(M.investmentDate, {
466
+ children: a(F.investmentDate, {
429
467
  hour: void 0,
430
468
  minute: void 0
431
469
  })
432
470
  })] }),
433
- /* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C("p", {
471
+ /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("p", {
434
472
  className: "text-sm text-text-secondary",
435
473
  children: "Investment Type"
436
- }), /* @__PURE__ */ C("p", {
474
+ }), /* @__PURE__ */ w("p", {
437
475
  className: "font-medium text-text-primary",
438
- children: M.investmentType
476
+ children: F.investmentType
439
477
  })] }),
440
- /* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C("p", {
478
+ /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("p", {
441
479
  className: "text-sm text-text-secondary",
442
480
  children: "Initial Valuation"
443
- }), /* @__PURE__ */ C("p", {
481
+ }), /* @__PURE__ */ w("p", {
444
482
  className: "font-medium text-text-primary",
445
- children: r(M.valuationAtInvestment, { minimumFractionDigits: 0 })
483
+ children: i(F.valuationAtInvestment, { minimumFractionDigits: 0 })
446
484
  })] }),
447
- /* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C("p", {
485
+ /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("p", {
448
486
  className: "text-sm text-text-secondary",
449
487
  children: "Current Valuation"
450
- }), /* @__PURE__ */ C("p", {
488
+ }), /* @__PURE__ */ w("p", {
451
489
  className: "text-lg font-medium text-text-primary",
452
- children: r(M.currentValuation, { minimumFractionDigits: 0 })
490
+ children: i(F.currentValuation, { minimumFractionDigits: 0 })
453
491
  })] }),
454
- /* @__PURE__ */ C("div", {
492
+ /* @__PURE__ */ w("div", {
455
493
  className: "border-t border-border-subtle pt-4",
456
- children: /* @__PURE__ */ w("div", {
494
+ children: /* @__PURE__ */ T("div", {
457
495
  className: "flex items-center justify-between",
458
- children: [/* @__PURE__ */ C("span", {
496
+ children: [/* @__PURE__ */ w("span", {
459
497
  className: "text-sm text-text-secondary",
460
498
  children: "Your Returns"
461
- }), /* @__PURE__ */ w("span", {
462
- className: t("text-lg font-semibold", F > 0 ? "text-status-success-text" : "text-status-error-text"),
463
- children: [F > 0 ? "+" : "", r(F, { minimumFractionDigits: 0 })]
499
+ }), /* @__PURE__ */ T("span", {
500
+ className: t("text-lg font-semibold", R > 0 ? "text-status-success-text" : "text-status-error-text"),
501
+ children: [R > 0 ? "+" : "", i(R, { minimumFractionDigits: 0 })]
464
502
  })]
465
503
  })
466
504
  })
467
505
  ]
468
506
  })]
469
- }), /* @__PURE__ */ w("div", {
507
+ }), /* @__PURE__ */ T("div", {
470
508
  className: "rounded-lg border border-border-seam bg-bg-surface p-4 sm:p-6 bg-gloss-card shadow-pop",
471
- children: [/* @__PURE__ */ C("h2", {
509
+ children: [/* @__PURE__ */ w("h2", {
472
510
  className: "mb-4 text-lg font-semibold text-text-primary sm:mb-6",
473
511
  children: "Growth Indicators"
474
- }), /* @__PURE__ */ w("div", {
512
+ }), /* @__PURE__ */ T("div", {
475
513
  className: "space-y-4",
476
514
  children: [
477
- /* @__PURE__ */ w("div", { children: [/* @__PURE__ */ w("div", {
515
+ /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ T("div", {
478
516
  className: "mb-2 flex items-center justify-between",
479
- children: [/* @__PURE__ */ C("span", {
517
+ children: [/* @__PURE__ */ w("span", {
480
518
  className: "text-sm text-text-secondary",
481
519
  children: "Revenue Growth"
482
- }), /* @__PURE__ */ w("span", {
520
+ }), /* @__PURE__ */ T("span", {
483
521
  className: "text-sm font-medium text-status-success-text",
484
522
  children: [
485
523
  "+",
486
- M.revenueGrowth,
524
+ F.revenueGrowth,
487
525
  "%"
488
526
  ]
489
527
  })]
490
- }), /* @__PURE__ */ C("div", {
528
+ }), /* @__PURE__ */ w("div", {
491
529
  className: "h-2 w-full overflow-hidden rounded-full bg-bg-sunken",
492
- children: /* @__PURE__ */ C("div", {
530
+ children: /* @__PURE__ */ w("div", {
493
531
  className: "h-full rounded-full bg-status-success-bg-subtle",
494
- style: { width: `${Math.min(M.revenueGrowth, 100)}%` }
532
+ style: { width: `${Math.min(F.revenueGrowth, 100)}%` }
495
533
  })
496
534
  })] }),
497
- /* @__PURE__ */ w("div", { children: [/* @__PURE__ */ w("div", {
535
+ /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ T("div", {
498
536
  className: "mb-2 flex items-center justify-between",
499
- children: [/* @__PURE__ */ C("span", {
537
+ children: [/* @__PURE__ */ w("span", {
500
538
  className: "text-sm text-text-secondary",
501
539
  children: "Profit Margin"
502
- }), /* @__PURE__ */ w("span", {
540
+ }), /* @__PURE__ */ T("span", {
503
541
  className: "text-sm font-medium text-text-primary",
504
- children: [M.profitMargin, "%"]
542
+ children: [F.profitMargin, "%"]
505
543
  })]
506
- }), /* @__PURE__ */ C("div", {
544
+ }), /* @__PURE__ */ w("div", {
507
545
  className: "h-2 w-full overflow-hidden rounded-full bg-bg-sunken",
508
- children: /* @__PURE__ */ C("div", {
546
+ children: /* @__PURE__ */ w("div", {
509
547
  className: "h-full rounded-full bg-accent-blue-subtle",
510
- style: { width: `${M.profitMargin}%` }
548
+ style: { width: `${F.profitMargin}%` }
511
549
  })
512
550
  })] }),
513
- /* @__PURE__ */ w("div", { children: [/* @__PURE__ */ w("div", {
551
+ /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ T("div", {
514
552
  className: "mb-2 flex items-center justify-between",
515
- children: [/* @__PURE__ */ C("span", {
553
+ children: [/* @__PURE__ */ w("span", {
516
554
  className: "text-sm text-text-secondary",
517
555
  children: "ROI"
518
- }), /* @__PURE__ */ w("span", {
556
+ }), /* @__PURE__ */ T("span", {
519
557
  className: "text-sm font-medium text-status-success-text",
520
558
  children: [
521
559
  "+",
522
- M.returnOnInvestment,
560
+ F.returnOnInvestment,
523
561
  "%"
524
562
  ]
525
563
  })]
526
- }), /* @__PURE__ */ C("div", {
564
+ }), /* @__PURE__ */ w("div", {
527
565
  className: "h-2 w-full overflow-hidden rounded-full bg-bg-sunken",
528
- children: /* @__PURE__ */ C("div", {
566
+ children: /* @__PURE__ */ w("div", {
529
567
  className: "h-full rounded-full bg-status-success-bg-subtle",
530
- style: { width: `${Math.min(M.returnOnInvestment, 100)}%` }
568
+ style: { width: `${Math.min(F.returnOnInvestment, 100)}%` }
531
569
  })
532
570
  })] }),
533
- /* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C("p", {
571
+ /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("p", {
534
572
  className: "text-sm text-text-secondary",
535
573
  children: "Expected Payback"
536
- }), /* @__PURE__ */ C("p", {
574
+ }), /* @__PURE__ */ w("p", {
537
575
  className: "font-medium text-text-primary",
538
- children: M.paybackPeriod
576
+ children: F.paybackPeriod
539
577
  })] })
540
578
  ]
541
579
  })]
542
580
  })]
543
581
  })]
544
582
  }),
545
- p === "financials" && /* @__PURE__ */ w("div", {
583
+ p === "financials" && /* @__PURE__ */ T("div", {
546
584
  className: "rounded-lg border border-border-seam bg-bg-surface p-4 sm:p-6 bg-gloss-card shadow-pop",
547
585
  children: [
548
- /* @__PURE__ */ C("h2", {
586
+ /* @__PURE__ */ w("h2", {
549
587
  className: "mb-4 text-lg font-semibold text-text-primary sm:mb-6",
550
588
  children: "Financial Performance"
551
589
  }),
552
- /* @__PURE__ */ w("div", {
590
+ /* @__PURE__ */ T("div", {
553
591
  className: "mb-6 grid grid-cols-2 gap-4 lg:grid-cols-4",
554
592
  children: [
555
- /* @__PURE__ */ w("div", {
593
+ /* @__PURE__ */ T("div", {
556
594
  className: "rounded-lg bg-bg-sunken/50 p-3",
557
- children: [/* @__PURE__ */ C("p", {
595
+ children: [/* @__PURE__ */ w("p", {
558
596
  className: "text-xs text-text-secondary",
559
597
  children: "Monthly Revenue"
560
- }), /* @__PURE__ */ C("p", {
598
+ }), /* @__PURE__ */ w("p", {
561
599
  className: "mt-1 text-lg font-bold text-text-primary",
562
- children: r(M.monthlyRevenue, { minimumFractionDigits: 0 })
600
+ children: i(F.monthlyRevenue, { minimumFractionDigits: 0 })
563
601
  })]
564
602
  }),
565
- /* @__PURE__ */ w("div", {
603
+ /* @__PURE__ */ T("div", {
566
604
  className: "rounded-lg bg-bg-sunken/50 p-3",
567
- children: [/* @__PURE__ */ C("p", {
605
+ children: [/* @__PURE__ */ w("p", {
568
606
  className: "text-xs text-text-secondary",
569
607
  children: "Revenue Growth"
570
- }), /* @__PURE__ */ w("p", {
608
+ }), /* @__PURE__ */ T("p", {
571
609
  className: "mt-1 text-lg font-bold text-status-success-text",
572
610
  children: [
573
611
  "+",
574
- M.revenueGrowth,
612
+ F.revenueGrowth,
575
613
  "%"
576
614
  ]
577
615
  })]
578
616
  }),
579
- /* @__PURE__ */ w("div", {
617
+ /* @__PURE__ */ T("div", {
580
618
  className: "rounded-lg bg-bg-sunken/50 p-3",
581
- children: [/* @__PURE__ */ C("p", {
619
+ children: [/* @__PURE__ */ w("p", {
582
620
  className: "text-xs text-text-secondary",
583
621
  children: "Profit Margin"
584
- }), /* @__PURE__ */ w("p", {
622
+ }), /* @__PURE__ */ T("p", {
585
623
  className: "mt-1 text-lg font-bold text-text-primary",
586
- children: [M.profitMargin, "%"]
624
+ children: [F.profitMargin, "%"]
587
625
  })]
588
626
  }),
589
- /* @__PURE__ */ w("div", {
627
+ /* @__PURE__ */ T("div", {
590
628
  className: "rounded-lg bg-bg-sunken/50 p-3",
591
- children: [/* @__PURE__ */ C("p", {
629
+ children: [/* @__PURE__ */ w("p", {
592
630
  className: "text-xs text-text-secondary",
593
631
  children: "Avg Order Value"
594
- }), /* @__PURE__ */ C("p", {
632
+ }), /* @__PURE__ */ w("p", {
595
633
  className: "mt-1 text-lg font-bold text-text-primary",
596
- children: r(M.averageOrderValue, { minimumFractionDigits: 0 })
634
+ children: i(F.averageOrderValue, { minimumFractionDigits: 0 })
597
635
  })]
598
636
  })
599
637
  ]
600
638
  }),
601
- /* @__PURE__ */ C("div", {
639
+ /* @__PURE__ */ w("div", {
602
640
  className: "overflow-hidden rounded-lg border border-border-subtle",
603
- children: /* @__PURE__ */ w("table", {
641
+ children: /* @__PURE__ */ T("table", {
604
642
  className: "w-full",
605
- children: [/* @__PURE__ */ C("thead", { children: /* @__PURE__ */ w("tr", {
643
+ children: [/* @__PURE__ */ w("thead", { children: /* @__PURE__ */ T("tr", {
606
644
  className: "bg-bg-sunken/50",
607
645
  children: [
608
- /* @__PURE__ */ C("th", {
646
+ /* @__PURE__ */ w("th", {
609
647
  className: "px-4 py-3 text-left text-xs font-medium uppercase tracking-wider text-text-secondary",
610
648
  children: "Metric"
611
649
  }),
612
- /* @__PURE__ */ C("th", {
650
+ /* @__PURE__ */ w("th", {
613
651
  className: "px-4 py-3 text-right text-xs font-medium uppercase tracking-wider text-text-secondary",
614
652
  children: "Value"
615
653
  }),
616
- /* @__PURE__ */ C("th", {
654
+ /* @__PURE__ */ w("th", {
617
655
  className: "px-4 py-3 text-right text-xs font-medium uppercase tracking-wider text-text-secondary",
618
656
  children: "Trend"
619
657
  })
620
658
  ]
621
- }) }), /* @__PURE__ */ C("tbody", {
659
+ }) }), /* @__PURE__ */ w("tbody", {
622
660
  className: "divide-y divide-border",
623
661
  children: [
624
662
  {
625
663
  metric: "Monthly Revenue",
626
- value: r(M.monthlyRevenue, { minimumFractionDigits: 0 }),
664
+ value: i(F.monthlyRevenue, { minimumFractionDigits: 0 }),
627
665
  trend: "+18.5%"
628
666
  },
629
667
  {
630
668
  metric: "Monthly Orders",
631
- value: String(M.monthlyOrders),
669
+ value: String(F.monthlyOrders),
632
670
  trend: "+12%"
633
671
  },
634
672
  {
635
673
  metric: "Average Order Value",
636
- value: r(M.averageOrderValue, { minimumFractionDigits: 0 }),
674
+ value: i(F.averageOrderValue, { minimumFractionDigits: 0 }),
637
675
  trend: "+5.8%"
638
676
  },
639
677
  {
640
678
  metric: "Active Customers",
641
- value: String(M.activeCustomers),
679
+ value: String(F.activeCustomers),
642
680
  trend: "+22%"
643
681
  },
644
682
  {
645
683
  metric: "Profit Margin",
646
- value: `${M.profitMargin}%`,
684
+ value: `${F.profitMargin}%`,
647
685
  trend: "+2.1%"
648
686
  },
649
687
  {
650
688
  metric: "Return on Investment",
651
- value: `${M.returnOnInvestment}%`,
689
+ value: `${F.returnOnInvestment}%`,
652
690
  trend: "+8.5%"
653
691
  }
654
- ].map((e) => /* @__PURE__ */ w("tr", {
692
+ ].map((e) => /* @__PURE__ */ T("tr", {
655
693
  className: "hover:bg-accent/50 transition-colors",
656
694
  children: [
657
- /* @__PURE__ */ C("td", {
695
+ /* @__PURE__ */ w("td", {
658
696
  className: "px-4 py-3 text-sm font-medium text-text-primary",
659
697
  children: e.metric
660
698
  }),
661
- /* @__PURE__ */ C("td", {
699
+ /* @__PURE__ */ w("td", {
662
700
  className: "px-4 py-3 text-right text-sm text-text-primary",
663
701
  children: e.value
664
702
  }),
665
- /* @__PURE__ */ C("td", {
703
+ /* @__PURE__ */ w("td", {
666
704
  className: "px-4 py-3 text-right text-sm font-medium text-status-success-text",
667
705
  children: e.trend
668
706
  })
@@ -673,36 +711,36 @@ function D() {
673
711
  })
674
712
  ]
675
713
  }),
676
- p === "documents" && /* @__PURE__ */ w("div", {
714
+ p === "documents" && /* @__PURE__ */ T("div", {
677
715
  className: "rounded-lg border border-border-seam bg-bg-surface p-4 sm:p-6 bg-gloss-card shadow-pop",
678
- children: [/* @__PURE__ */ C("h2", {
716
+ children: [/* @__PURE__ */ w("h2", {
679
717
  className: "mb-4 text-lg font-semibold text-text-primary sm:mb-6",
680
718
  children: "Investment Documents"
681
- }), /* @__PURE__ */ C("div", {
719
+ }), /* @__PURE__ */ w("div", {
682
720
  className: "space-y-4",
683
- children: M.documents.map((e, n) => {
684
- let r = E(e.status), a = r.Icon;
685
- return /* @__PURE__ */ w("div", {
721
+ children: F.documents.map((e, n) => {
722
+ let r = A(e.status), i = r.Icon;
723
+ return /* @__PURE__ */ T("div", {
686
724
  className: "flex flex-col gap-4 rounded-lg bg-bg-sunken/50 p-4 sm:flex-row sm:items-center sm:justify-between",
687
- children: [/* @__PURE__ */ w("div", {
725
+ children: [/* @__PURE__ */ T("div", {
688
726
  className: "flex items-start gap-3 flex-1 min-w-0 sm:items-center sm:gap-4",
689
- children: [/* @__PURE__ */ C(h, { className: "mt-1 h-6 w-6 flex-shrink-0 text-primary sm:mt-0 sm:h-8 sm:w-8" }), /* @__PURE__ */ w("div", {
727
+ children: [/* @__PURE__ */ w(g, { className: "mt-1 h-6 w-6 flex-shrink-0 text-primary sm:mt-0 sm:h-8 sm:w-8" }), /* @__PURE__ */ T("div", {
690
728
  className: "min-w-0 flex-1",
691
729
  children: [
692
- /* @__PURE__ */ C("h4", {
730
+ /* @__PURE__ */ w("h4", {
693
731
  className: "text-sm font-medium text-text-primary sm:text-base",
694
732
  children: e.type
695
733
  }),
696
- /* @__PURE__ */ C("p", {
734
+ /* @__PURE__ */ w("p", {
697
735
  className: "truncate text-xs text-text-secondary sm:text-sm",
698
736
  children: e.name
699
737
  }),
700
- /* @__PURE__ */ w("p", {
738
+ /* @__PURE__ */ T("p", {
701
739
  className: "text-xs text-text-secondary",
702
740
  children: [
703
741
  "Uploaded",
704
742
  " ",
705
- i(e.uploadDate, {
743
+ a(e.uploadDate, {
706
744
  hour: void 0,
707
745
  minute: void 0
708
746
  })
@@ -710,19 +748,19 @@ function D() {
710
748
  })
711
749
  ]
712
750
  })]
713
- }), /* @__PURE__ */ w("div", {
751
+ }), /* @__PURE__ */ T("div", {
714
752
  className: "flex w-full items-center justify-between gap-3 sm:w-auto sm:justify-end",
715
- children: [/* @__PURE__ */ w("span", {
753
+ children: [/* @__PURE__ */ T("span", {
716
754
  className: t("flex items-center gap-1 text-xs sm:text-sm", r.color),
717
- children: [/* @__PURE__ */ C(a, { className: "h-3 w-3 sm:h-4 sm:w-4" }), /* @__PURE__ */ C("span", {
755
+ children: [/* @__PURE__ */ w(i, { className: "h-3 w-3 sm:h-4 sm:w-4" }), /* @__PURE__ */ w("span", {
718
756
  className: "capitalize",
719
757
  children: r.label
720
758
  })]
721
- }), /* @__PURE__ */ w("button", {
759
+ }), /* @__PURE__ */ T("button", {
722
760
  type: "button",
723
761
  onClick: () => alert(`Downloading ${e.name}`),
724
762
  className: "flex items-center gap-1 rounded-lg border border-border-subtle px-3 py-1.5 text-sm font-medium text-text-primary hover:bg-accent transition-colors",
725
- children: [/* @__PURE__ */ C(m, { className: "h-3 w-3 sm:h-4 sm:w-4" }), /* @__PURE__ */ C("span", {
763
+ children: [/* @__PURE__ */ w(h, { className: "h-3 w-3 sm:h-4 sm:w-4" }), /* @__PURE__ */ w("span", {
726
764
  className: "hidden sm:inline",
727
765
  children: "Download"
728
766
  })]
@@ -732,33 +770,33 @@ function D() {
732
770
  })
733
771
  })]
734
772
  }),
735
- p === "updates" && /* @__PURE__ */ w("div", {
773
+ p === "updates" && /* @__PURE__ */ T("div", {
736
774
  className: "rounded-lg border border-border-seam bg-bg-surface p-4 sm:p-6 bg-gloss-card shadow-pop",
737
- children: [/* @__PURE__ */ C("h2", {
775
+ children: [/* @__PURE__ */ w("h2", {
738
776
  className: "mb-4 text-lg font-semibold text-text-primary sm:mb-6",
739
777
  children: "Recent Updates"
740
- }), /* @__PURE__ */ C("div", {
778
+ }), /* @__PURE__ */ w("div", {
741
779
  className: "space-y-4",
742
- children: M.recentUpdates.map((e, t) => /* @__PURE__ */ w("div", {
780
+ children: F.recentUpdates.map((e, t) => /* @__PURE__ */ T("div", {
743
781
  className: "flex gap-3 rounded-lg bg-bg-sunken/50 p-4 sm:gap-4",
744
- children: [/* @__PURE__ */ C("div", {
782
+ children: [/* @__PURE__ */ w("div", {
745
783
  className: "flex-shrink-0",
746
- children: /* @__PURE__ */ C(s, { className: "mt-1 h-4 w-4 text-primary sm:h-5 sm:w-5" })
747
- }), /* @__PURE__ */ w("div", {
784
+ children: /* @__PURE__ */ w(c, { className: "mt-1 h-4 w-4 text-primary sm:h-5 sm:w-5" })
785
+ }), /* @__PURE__ */ T("div", {
748
786
  className: "min-w-0 flex-1",
749
- children: [/* @__PURE__ */ w("div", {
787
+ children: [/* @__PURE__ */ T("div", {
750
788
  className: "mb-1 flex flex-col gap-1 sm:flex-row sm:items-center sm:justify-between",
751
- children: [/* @__PURE__ */ C("h4", {
789
+ children: [/* @__PURE__ */ w("h4", {
752
790
  className: "text-sm font-medium text-text-primary sm:text-base",
753
791
  children: e.type
754
- }), /* @__PURE__ */ C("span", {
792
+ }), /* @__PURE__ */ w("span", {
755
793
  className: "text-xs text-text-secondary sm:text-sm",
756
- children: i(e.date, {
794
+ children: a(e.date, {
757
795
  hour: void 0,
758
796
  minute: void 0
759
797
  })
760
798
  })]
761
- }), /* @__PURE__ */ C("p", {
799
+ }), /* @__PURE__ */ w("p", {
762
800
  className: "text-xs text-text-secondary sm:text-sm",
763
801
  children: e.description
764
802
  })]
@@ -768,50 +806,50 @@ function D() {
768
806
  })
769
807
  ]
770
808
  }),
771
- A && /* @__PURE__ */ C("div", {
809
+ N && /* @__PURE__ */ w("div", {
772
810
  className: "fixed inset-0 z-50 flex items-center justify-center bg-black/50 p-4",
773
- children: /* @__PURE__ */ w("div", {
811
+ children: /* @__PURE__ */ T("div", {
774
812
  className: "relative max-h-[90vh] w-full max-w-md overflow-y-auto rounded-lg border border-border-subtle bg-bg-surface",
775
813
  children: [
776
- /* @__PURE__ */ w("div", {
814
+ /* @__PURE__ */ T("div", {
777
815
  className: "border-b border-border-subtle p-4 sm:p-6",
778
- children: [/* @__PURE__ */ C("button", {
816
+ children: [/* @__PURE__ */ w("button", {
779
817
  type: "button",
780
- onClick: () => j(!1),
818
+ onClick: () => P(!1),
781
819
  className: "absolute right-3 top-3 rounded-lg p-1 text-text-secondary hover:bg-accent transition-colors",
782
- children: /* @__PURE__ */ C(S, { className: "h-5 w-5" })
783
- }), /* @__PURE__ */ C("h2", {
820
+ children: /* @__PURE__ */ w(C, { className: "h-5 w-5" })
821
+ }), /* @__PURE__ */ w("h2", {
784
822
  className: "text-lg font-semibold text-text-primary sm:text-xl",
785
823
  children: "Manage Investment"
786
824
  })]
787
825
  }),
788
- /* @__PURE__ */ w("div", {
826
+ /* @__PURE__ */ T("div", {
789
827
  className: "space-y-4 p-4 sm:p-6",
790
828
  children: [
791
- /* @__PURE__ */ w("p", {
829
+ /* @__PURE__ */ T("p", {
792
830
  className: "text-sm text-text-secondary sm:text-base",
793
831
  children: [
794
832
  "Choose an action for your investment in ",
795
- M.cartName,
833
+ F.cartName,
796
834
  ":"
797
835
  ]
798
836
  }),
799
- /* @__PURE__ */ w("div", {
837
+ /* @__PURE__ */ T("div", {
800
838
  className: "space-y-3",
801
839
  children: [
802
- /* @__PURE__ */ C("button", {
840
+ /* @__PURE__ */ w("button", {
803
841
  type: "button",
804
842
  onClick: () => alert("Partial withdrawal request submitted"),
805
843
  className: "w-full rounded-lg border border-border-subtle px-4 py-2.5 text-sm font-medium text-text-primary hover:bg-accent transition-colors",
806
844
  children: "Request Partial Withdrawal"
807
845
  }),
808
- /* @__PURE__ */ C("button", {
846
+ /* @__PURE__ */ w("button", {
809
847
  type: "button",
810
848
  onClick: () => alert("Transfer ownership feature coming soon"),
811
849
  className: "w-full rounded-lg border border-border-subtle px-4 py-2.5 text-sm font-medium text-text-primary hover:bg-accent transition-colors",
812
850
  children: "Transfer Ownership"
813
851
  }),
814
- /* @__PURE__ */ C("button", {
852
+ /* @__PURE__ */ w("button", {
815
853
  type: "button",
816
854
  onClick: () => alert("Exit options will be displayed"),
817
855
  className: "w-full rounded-lg border border-border-subtle px-4 py-2.5 text-sm font-medium text-text-primary hover:bg-accent transition-colors",
@@ -819,20 +857,20 @@ function D() {
819
857
  })
820
858
  ]
821
859
  }),
822
- /* @__PURE__ */ C("div", {
860
+ /* @__PURE__ */ w("div", {
823
861
  className: "rounded-lg border border-status-warning-border/30 bg-status-warning-bg-subtle/10 p-3 sm:p-4",
824
- children: /* @__PURE__ */ C("p", {
862
+ children: /* @__PURE__ */ w("p", {
825
863
  className: "text-xs text-status-warning-text sm:text-sm",
826
864
  children: "Any changes to your investment require approval from the business owner and may be subject to terms in your investment agreement."
827
865
  })
828
866
  })
829
867
  ]
830
868
  }),
831
- /* @__PURE__ */ C("div", {
869
+ /* @__PURE__ */ w("div", {
832
870
  className: "flex justify-end gap-3 border-t border-border-subtle p-4 sm:p-6",
833
- children: /* @__PURE__ */ C("button", {
871
+ children: /* @__PURE__ */ w("button", {
834
872
  type: "button",
835
- onClick: () => j(!1),
873
+ onClick: () => P(!1),
836
874
  className: "rounded-lg border border-border-subtle px-4 py-2 text-sm font-medium text-text-primary hover:bg-accent transition-colors",
837
875
  children: "Cancel"
838
876
  })
@@ -844,6 +882,6 @@ function D() {
844
882
  });
845
883
  }
846
884
  //#endregion
847
- export { D as InvestmentDetailsPage };
885
+ export { j as InvestmentDetailsPage };
848
886
 
849
887
  //# sourceMappingURL=InvestmentDetailsPage.js.map