@burdenoff/microfe-adaptercloud 2026.614.1 → 2026.625.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adaptercloud/components/EmptyState.js +17 -21
- package/dist/adaptercloud/components/EmptyState.js.map +1 -1
- package/dist/adaptercloud/components/InvestmentCard.js +30 -28
- package/dist/adaptercloud/components/InvestmentCard.js.map +1 -1
- package/dist/adaptercloud/components/MetricsCard.js +21 -15
- package/dist/adaptercloud/components/MetricsCard.js.map +1 -1
- package/dist/adaptercloud/components/PageLayout.js +38 -19
- 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 +36 -16
- package/dist/adaptercloud/components/StatusBadge.js.map +1 -1
- package/dist/adaptercloud/pages/HomePage.js +286 -275
- package/dist/adaptercloud/pages/HomePage.js.map +1 -1
- package/dist/adaptercloud/pages/admin/AdminAnalyticsPage.js +87 -87
- package/dist/adaptercloud/pages/admin/AdminAnalyticsPage.js.map +1 -1
- package/dist/adaptercloud/pages/admin/AdminDashboard.js +101 -101
- package/dist/adaptercloud/pages/admin/AdminDashboard.js.map +1 -1
- package/dist/adaptercloud/pages/admin/AdminFinancialPage.js +48 -48
- package/dist/adaptercloud/pages/admin/AdminFinancialPage.js.map +1 -1
- package/dist/adaptercloud/pages/admin/AdminOrdersPage.js +95 -95
- 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 +107 -107
- package/dist/adaptercloud/pages/admin/CartManagementPage.js.map +1 -1
- package/dist/adaptercloud/pages/admin/UserManagementPage.js +98 -98
- package/dist/adaptercloud/pages/admin/UserManagementPage.js.map +1 -1
- package/dist/adaptercloud/pages/cart-owner/AnalyticsDashboard.js +117 -117
- package/dist/adaptercloud/pages/cart-owner/AnalyticsDashboard.js.map +1 -1
- package/dist/adaptercloud/pages/cart-owner/BusinessSettingsPage.js +33 -33
- package/dist/adaptercloud/pages/cart-owner/BusinessSettingsPage.js.map +1 -1
- package/dist/adaptercloud/pages/cart-owner/CartOwnerDashboard.js +112 -109
- package/dist/adaptercloud/pages/cart-owner/CartOwnerDashboard.js.map +1 -1
- package/dist/adaptercloud/pages/cart-owner/CartOwnerProfilePage.js +115 -115
- package/dist/adaptercloud/pages/cart-owner/CartOwnerProfilePage.js.map +1 -1
- package/dist/adaptercloud/pages/cart-owner/CartServiceConfigPage.js +85 -85
- package/dist/adaptercloud/pages/cart-owner/CartServiceConfigPage.js.map +1 -1
- package/dist/adaptercloud/pages/cart-owner/InventoryManagementPage.js +106 -106
- package/dist/adaptercloud/pages/cart-owner/InventoryManagementPage.js.map +1 -1
- package/dist/adaptercloud/pages/cart-owner/OrderManagementPage.js +88 -88
- package/dist/adaptercloud/pages/cart-owner/OrderManagementPage.js.map +1 -1
- package/dist/adaptercloud/pages/cart-owner/StaffManagementPage.js +94 -94
- package/dist/adaptercloud/pages/cart-owner/StaffManagementPage.js.map +1 -1
- package/dist/adaptercloud/pages/common/HelpSupportPage.js +142 -142
- package/dist/adaptercloud/pages/common/HelpSupportPage.js.map +1 -1
- package/dist/adaptercloud/pages/common/NotificationCenterPage.js +67 -66
- package/dist/adaptercloud/pages/common/NotificationCenterPage.js.map +1 -1
- package/dist/adaptercloud/pages/common/SettingsPage.js +115 -115
- package/dist/adaptercloud/pages/common/SettingsPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/BookingDetailsPage.js +74 -73
- package/dist/adaptercloud/pages/customer/BookingDetailsPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/CartDetailPage.js +87 -86
- package/dist/adaptercloud/pages/customer/CartDetailPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/CartDiscoveryPage.js +66 -65
- package/dist/adaptercloud/pages/customer/CartDiscoveryPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/CheckoutPage.js +80 -80
- package/dist/adaptercloud/pages/customer/CheckoutPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/CustomerDashboard.js +88 -88
- package/dist/adaptercloud/pages/customer/CustomerDashboard.js.map +1 -1
- package/dist/adaptercloud/pages/customer/CustomerProfilePage.js +84 -84
- package/dist/adaptercloud/pages/customer/CustomerProfilePage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/DirectServiceBookingPage.js +92 -91
- package/dist/adaptercloud/pages/customer/DirectServiceBookingPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/FavoritesPage.js +34 -33
- package/dist/adaptercloud/pages/customer/FavoritesPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/OrderHistoryPage.js +44 -43
- package/dist/adaptercloud/pages/customer/OrderHistoryPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/OrderTrackingPage.js +61 -60
- package/dist/adaptercloud/pages/customer/OrderTrackingPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/PaymentMethodsPage.js +58 -57
- package/dist/adaptercloud/pages/customer/PaymentMethodsPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/ReviewsPage.js +48 -47
- package/dist/adaptercloud/pages/customer/ReviewsPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/SavedAddressesPage.js +46 -45
- package/dist/adaptercloud/pages/customer/SavedAddressesPage.js.map +1 -1
- package/dist/adaptercloud/pages/investor/InvestmentDetailsPage.js +128 -128
- package/dist/adaptercloud/pages/investor/InvestmentDetailsPage.js.map +1 -1
- package/dist/adaptercloud/pages/investor/InvestmentOpportunitiesPage.js +88 -87
- package/dist/adaptercloud/pages/investor/InvestmentOpportunitiesPage.js.map +1 -1
- package/dist/adaptercloud/pages/investor/InvestorAnalyticsPage.js +88 -88
- package/dist/adaptercloud/pages/investor/InvestorAnalyticsPage.js.map +1 -1
- package/dist/adaptercloud/pages/investor/InvestorDashboard.js +62 -62
- package/dist/adaptercloud/pages/investor/InvestorDashboard.js.map +1 -1
- package/dist/adaptercloud/pages/investor/InvestorInvestmentsPage.js +39 -38
- package/dist/adaptercloud/pages/investor/InvestorInvestmentsPage.js.map +1 -1
- package/dist/adaptercloud/pages/investor/InvestorPortfolioPage.js +66 -66
- package/dist/adaptercloud/pages/investor/InvestorPortfolioPage.js.map +1 -1
- package/dist/adaptercloud/pages/investor/InvestorProfilePage.js +153 -153
- package/dist/adaptercloud/pages/investor/InvestorProfilePage.js.map +1 -1
- package/dist/adaptercloud/pages/worker/TaskDetailsPage.js +81 -80
- package/dist/adaptercloud/pages/worker/TaskDetailsPage.js.map +1 -1
- package/dist/adaptercloud/pages/worker/WorkerDashboard.js +106 -106
- package/dist/adaptercloud/pages/worker/WorkerDashboard.js.map +1 -1
- package/dist/adaptercloud/pages/worker/WorkerOrdersPage.js +73 -72
- package/dist/adaptercloud/pages/worker/WorkerOrdersPage.js.map +1 -1
- package/dist/adaptercloud/pages/worker/WorkerProfilePage.js +107 -107
- package/dist/adaptercloud/pages/worker/WorkerProfilePage.js.map +1 -1
- package/dist/adaptercloud/pages/worker/WorkerSchedulePage.js +71 -69
- 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 +3 -3
- 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
|
@@ -80,22 +80,22 @@ var T = {
|
|
|
80
80
|
function E(e) {
|
|
81
81
|
switch (e) {
|
|
82
82
|
case "verified": return {
|
|
83
|
-
color: "text-
|
|
83
|
+
color: "text-status-success-text",
|
|
84
84
|
Icon: f,
|
|
85
85
|
label: "Verified"
|
|
86
86
|
};
|
|
87
87
|
case "pending": return {
|
|
88
|
-
color: "text-
|
|
88
|
+
color: "text-status-warning-text",
|
|
89
89
|
Icon: p,
|
|
90
90
|
label: "Pending"
|
|
91
91
|
};
|
|
92
92
|
case "rejected": return {
|
|
93
|
-
color: "text-
|
|
93
|
+
color: "text-status-error-text",
|
|
94
94
|
Icon: c,
|
|
95
95
|
label: "Rejected"
|
|
96
96
|
};
|
|
97
97
|
default: return {
|
|
98
|
-
color: "text-
|
|
98
|
+
color: "text-text-secondary",
|
|
99
99
|
Icon: c,
|
|
100
100
|
label: e
|
|
101
101
|
};
|
|
@@ -139,7 +139,7 @@ function D() {
|
|
|
139
139
|
children: /* @__PURE__ */ w("div", {
|
|
140
140
|
className: "text-center",
|
|
141
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", {
|
|
142
|
-
className: "text-sm text-
|
|
142
|
+
className: "text-sm text-text-secondary",
|
|
143
143
|
children: "Loading investment details..."
|
|
144
144
|
})]
|
|
145
145
|
})
|
|
@@ -149,8 +149,8 @@ function D() {
|
|
|
149
149
|
title: "Investment Not Found",
|
|
150
150
|
children: /* @__PURE__ */ w("div", {
|
|
151
151
|
className: "flex flex-col items-center justify-center py-12",
|
|
152
|
-
children: [/* @__PURE__ */ C(c, { className: "mb-4 h-12 w-12 text-
|
|
153
|
-
className: "text-
|
|
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
154
|
children: "Investment not found"
|
|
155
155
|
})]
|
|
156
156
|
})
|
|
@@ -165,7 +165,7 @@ function D() {
|
|
|
165
165
|
/* @__PURE__ */ w("button", {
|
|
166
166
|
type: "button",
|
|
167
167
|
onClick: () => f("/investor/portfolio"),
|
|
168
|
-
className: "flex items-center gap-1.5 rounded-lg border border-border px-3 py-2 text-sm font-medium text-
|
|
168
|
+
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
169
|
children: [
|
|
170
170
|
/* @__PURE__ */ C(l, { className: "h-4 w-4" }),
|
|
171
171
|
/* @__PURE__ */ C("span", {
|
|
@@ -181,7 +181,7 @@ function D() {
|
|
|
181
181
|
/* @__PURE__ */ w("button", {
|
|
182
182
|
type: "button",
|
|
183
183
|
onClick: () => alert("Report export initiated"),
|
|
184
|
-
className: "flex items-center gap-1.5 rounded-lg border border-border px-3 py-2 text-sm font-medium text-
|
|
184
|
+
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
185
|
children: [
|
|
186
186
|
/* @__PURE__ */ C(m, { className: "h-4 w-4" }),
|
|
187
187
|
/* @__PURE__ */ C("span", {
|
|
@@ -197,7 +197,7 @@ function D() {
|
|
|
197
197
|
/* @__PURE__ */ w("button", {
|
|
198
198
|
type: "button",
|
|
199
199
|
onClick: () => j(!0),
|
|
200
|
-
className: "rounded-lg bg-primary px-4 py-2 text-sm font-medium text-primary-
|
|
200
|
+
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
201
|
children: [/* @__PURE__ */ C("span", {
|
|
202
202
|
className: "hidden sm:inline",
|
|
203
203
|
children: "Manage Investment"
|
|
@@ -213,25 +213,25 @@ function D() {
|
|
|
213
213
|
className: "grid grid-cols-2 gap-4 lg:grid-cols-4",
|
|
214
214
|
children: [
|
|
215
215
|
/* @__PURE__ */ w("div", {
|
|
216
|
-
className: "rounded-lg border border-border bg-
|
|
216
|
+
className: "rounded-lg border border-border-seam bg-bg-surface p-4 text-center bg-gloss-card shadow-pop",
|
|
217
217
|
children: [
|
|
218
218
|
/* @__PURE__ */ C(g, { className: "mx-auto mb-2 h-6 w-6 text-primary sm:h-8 sm:w-8" }),
|
|
219
219
|
/* @__PURE__ */ C("div", {
|
|
220
|
-
className: "text-lg font-bold text-
|
|
220
|
+
className: "text-lg font-bold text-text-primary sm:text-2xl",
|
|
221
221
|
children: r(M.investmentAmount, { minimumFractionDigits: 0 })
|
|
222
222
|
}),
|
|
223
223
|
/* @__PURE__ */ C("div", {
|
|
224
|
-
className: "text-xs text-
|
|
224
|
+
className: "text-xs text-text-secondary sm:text-sm",
|
|
225
225
|
children: "Your Investment"
|
|
226
226
|
})
|
|
227
227
|
]
|
|
228
228
|
}),
|
|
229
229
|
/* @__PURE__ */ w("div", {
|
|
230
|
-
className: "rounded-lg border border-border bg-
|
|
230
|
+
className: "rounded-lg border border-border-seam bg-bg-surface p-4 text-center bg-gloss-card shadow-pop",
|
|
231
231
|
children: [
|
|
232
|
-
/* @__PURE__ */ C(b, { className: "mx-auto mb-2 h-6 w-6 text-
|
|
232
|
+
/* @__PURE__ */ C(b, { className: "mx-auto mb-2 h-6 w-6 text-status-success-text sm:h-8 sm:w-8" }),
|
|
233
233
|
/* @__PURE__ */ w("div", {
|
|
234
|
-
className: "text-lg font-bold text-
|
|
234
|
+
className: "text-lg font-bold text-status-success-text sm:text-2xl",
|
|
235
235
|
children: [
|
|
236
236
|
I > 0 ? "+" : "",
|
|
237
237
|
I.toFixed(1),
|
|
@@ -239,35 +239,35 @@ function D() {
|
|
|
239
239
|
]
|
|
240
240
|
}),
|
|
241
241
|
/* @__PURE__ */ C("div", {
|
|
242
|
-
className: "text-xs text-
|
|
242
|
+
className: "text-xs text-text-secondary sm:text-sm",
|
|
243
243
|
children: "Returns"
|
|
244
244
|
})
|
|
245
245
|
]
|
|
246
246
|
}),
|
|
247
247
|
/* @__PURE__ */ w("div", {
|
|
248
|
-
className: "rounded-lg border border-border bg-
|
|
248
|
+
className: "rounded-lg border border-border-seam bg-bg-surface p-4 text-center bg-gloss-card shadow-pop",
|
|
249
249
|
children: [
|
|
250
|
-
/* @__PURE__ */ C(v, { className: "mx-auto mb-2 h-6 w-6 text-blue
|
|
250
|
+
/* @__PURE__ */ C(v, { className: "mx-auto mb-2 h-6 w-6 text-accent-blue sm:h-8 sm:w-8" }),
|
|
251
251
|
/* @__PURE__ */ w("div", {
|
|
252
|
-
className: "text-lg font-bold text-
|
|
252
|
+
className: "text-lg font-bold text-text-primary sm:text-2xl",
|
|
253
253
|
children: [M.equityPercentage, "%"]
|
|
254
254
|
}),
|
|
255
255
|
/* @__PURE__ */ C("div", {
|
|
256
|
-
className: "text-xs text-
|
|
256
|
+
className: "text-xs text-text-secondary sm:text-sm",
|
|
257
257
|
children: "Equity Stake"
|
|
258
258
|
})
|
|
259
259
|
]
|
|
260
260
|
}),
|
|
261
261
|
/* @__PURE__ */ w("div", {
|
|
262
|
-
className: "rounded-lg border border-border bg-
|
|
262
|
+
className: "rounded-lg border border-border-seam bg-bg-surface p-4 text-center bg-gloss-card shadow-pop",
|
|
263
263
|
children: [
|
|
264
|
-
/* @__PURE__ */ C(d, { className: "mx-auto mb-2 h-6 w-6 text-purple
|
|
264
|
+
/* @__PURE__ */ C(d, { className: "mx-auto mb-2 h-6 w-6 text-accent-purple sm:h-8 sm:w-8" }),
|
|
265
265
|
/* @__PURE__ */ C("div", {
|
|
266
|
-
className: "text-lg font-bold text-
|
|
266
|
+
className: "text-lg font-bold text-text-primary sm:text-2xl",
|
|
267
267
|
children: r(M.currentValuation * (M.equityPercentage / 100), { minimumFractionDigits: 0 })
|
|
268
268
|
}),
|
|
269
269
|
/* @__PURE__ */ C("div", {
|
|
270
|
-
className: "text-xs text-
|
|
270
|
+
className: "text-xs text-text-secondary sm:text-sm",
|
|
271
271
|
children: "Current Value"
|
|
272
272
|
})
|
|
273
273
|
]
|
|
@@ -279,7 +279,7 @@ function D() {
|
|
|
279
279
|
children: P.map((e) => /* @__PURE__ */ w("button", {
|
|
280
280
|
type: "button",
|
|
281
281
|
onClick: () => D(e.id),
|
|
282
|
-
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-primary text-primary-
|
|
282
|
+
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
283
|
children: [
|
|
284
284
|
/* @__PURE__ */ C(e.Icon, { className: "h-4 w-4 flex-shrink-0" }),
|
|
285
285
|
/* @__PURE__ */ C("span", {
|
|
@@ -301,39 +301,39 @@ function D() {
|
|
|
301
301
|
children: [/* @__PURE__ */ w("div", {
|
|
302
302
|
className: "space-y-6 lg:col-span-2",
|
|
303
303
|
children: [/* @__PURE__ */ w("div", {
|
|
304
|
-
className: "rounded-lg border border-border bg-
|
|
304
|
+
className: "rounded-lg border border-border-seam bg-bg-surface p-4 sm:p-6 bg-gloss-card shadow-pop",
|
|
305
305
|
children: [/* @__PURE__ */ C("h2", {
|
|
306
|
-
className: "mb-4 text-lg font-semibold text-
|
|
306
|
+
className: "mb-4 text-lg font-semibold text-text-primary sm:mb-6",
|
|
307
307
|
children: "Business Information"
|
|
308
308
|
}), /* @__PURE__ */ w("div", {
|
|
309
309
|
className: "grid gap-4 sm:grid-cols-2 sm:gap-6",
|
|
310
310
|
children: [
|
|
311
311
|
/* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C("p", {
|
|
312
|
-
className: "text-sm text-
|
|
312
|
+
className: "text-sm text-text-secondary",
|
|
313
313
|
children: "Owner"
|
|
314
314
|
}), /* @__PURE__ */ C("p", {
|
|
315
|
-
className: "font-medium text-
|
|
315
|
+
className: "font-medium text-text-primary",
|
|
316
316
|
children: M.cartOwner
|
|
317
317
|
})] }),
|
|
318
318
|
/* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C("p", {
|
|
319
|
-
className: "text-sm text-
|
|
319
|
+
className: "text-sm text-text-secondary",
|
|
320
320
|
children: "Business Type"
|
|
321
321
|
}), /* @__PURE__ */ C("p", {
|
|
322
|
-
className: "font-medium text-
|
|
322
|
+
className: "font-medium text-text-primary",
|
|
323
323
|
children: M.businessType
|
|
324
324
|
})] }),
|
|
325
325
|
/* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C("p", {
|
|
326
|
-
className: "text-sm text-
|
|
326
|
+
className: "text-sm text-text-secondary",
|
|
327
327
|
children: "Location"
|
|
328
328
|
}), /* @__PURE__ */ C("p", {
|
|
329
|
-
className: "font-medium text-
|
|
329
|
+
className: "font-medium text-text-primary",
|
|
330
330
|
children: M.location
|
|
331
331
|
})] }),
|
|
332
332
|
/* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C("p", {
|
|
333
|
-
className: "text-sm text-
|
|
333
|
+
className: "text-sm text-text-secondary",
|
|
334
334
|
children: "Established"
|
|
335
335
|
}), /* @__PURE__ */ C("p", {
|
|
336
|
-
className: "font-medium text-
|
|
336
|
+
className: "font-medium text-text-primary",
|
|
337
337
|
children: i(M.establishedDate, {
|
|
338
338
|
hour: void 0,
|
|
339
339
|
minute: void 0
|
|
@@ -342,10 +342,10 @@ function D() {
|
|
|
342
342
|
]
|
|
343
343
|
})]
|
|
344
344
|
}), /* @__PURE__ */ w("div", {
|
|
345
|
-
className: "rounded-lg border border-border bg-
|
|
345
|
+
className: "rounded-lg border border-border-seam bg-bg-surface p-4 sm:p-6 bg-gloss-card shadow-pop",
|
|
346
346
|
children: [
|
|
347
347
|
/* @__PURE__ */ C("h2", {
|
|
348
|
-
className: "mb-4 text-lg font-semibold text-
|
|
348
|
+
className: "mb-4 text-lg font-semibold text-text-primary sm:mb-6",
|
|
349
349
|
children: "Performance Metrics"
|
|
350
350
|
}),
|
|
351
351
|
/* @__PURE__ */ w("div", {
|
|
@@ -354,56 +354,56 @@ function D() {
|
|
|
354
354
|
/* @__PURE__ */ w("div", { children: [
|
|
355
355
|
/* @__PURE__ */ C(_, { className: "mx-auto mb-2 h-6 w-6 text-primary sm:h-8 sm:w-8" }),
|
|
356
356
|
/* @__PURE__ */ C("div", {
|
|
357
|
-
className: "text-xl font-bold text-
|
|
357
|
+
className: "text-xl font-bold text-text-primary sm:text-2xl",
|
|
358
358
|
children: M.monthlyOrders
|
|
359
359
|
}),
|
|
360
360
|
/* @__PURE__ */ C("div", {
|
|
361
|
-
className: "text-xs text-
|
|
361
|
+
className: "text-xs text-text-secondary sm:text-sm",
|
|
362
362
|
children: "Monthly Orders"
|
|
363
363
|
})
|
|
364
364
|
] }),
|
|
365
365
|
/* @__PURE__ */ w("div", { children: [
|
|
366
|
-
/* @__PURE__ */ C(g, { className: "mx-auto mb-2 h-6 w-6 text-
|
|
366
|
+
/* @__PURE__ */ C(g, { className: "mx-auto mb-2 h-6 w-6 text-status-success-text sm:h-8 sm:w-8" }),
|
|
367
367
|
/* @__PURE__ */ C("div", {
|
|
368
|
-
className: "text-xl font-bold text-
|
|
368
|
+
className: "text-xl font-bold text-text-primary sm:text-2xl",
|
|
369
369
|
children: r(M.monthlyRevenue, { minimumFractionDigits: 0 })
|
|
370
370
|
}),
|
|
371
371
|
/* @__PURE__ */ C("div", {
|
|
372
|
-
className: "text-xs text-
|
|
372
|
+
className: "text-xs text-text-secondary sm:text-sm",
|
|
373
373
|
children: "Monthly Revenue"
|
|
374
374
|
})
|
|
375
375
|
] }),
|
|
376
376
|
/* @__PURE__ */ w("div", { children: [
|
|
377
|
-
/* @__PURE__ */ C(x, { className: "mx-auto mb-2 h-6 w-6 text-blue
|
|
377
|
+
/* @__PURE__ */ C(x, { className: "mx-auto mb-2 h-6 w-6 text-accent-blue sm:h-8 sm:w-8" }),
|
|
378
378
|
/* @__PURE__ */ C("div", {
|
|
379
|
-
className: "text-xl font-bold text-
|
|
379
|
+
className: "text-xl font-bold text-text-primary sm:text-2xl",
|
|
380
380
|
children: M.activeCustomers
|
|
381
381
|
}),
|
|
382
382
|
/* @__PURE__ */ C("div", {
|
|
383
|
-
className: "text-xs text-
|
|
383
|
+
className: "text-xs text-text-secondary sm:text-sm",
|
|
384
384
|
children: "Active Customers"
|
|
385
385
|
})
|
|
386
386
|
] })
|
|
387
387
|
]
|
|
388
388
|
}),
|
|
389
389
|
/* @__PURE__ */ w("div", {
|
|
390
|
-
className: "mt-4 flex flex-col items-start justify-between gap-4 border-t border-border pt-4 sm:mt-6 sm:flex-row sm:items-center sm:pt-6",
|
|
390
|
+
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
391
|
children: [/* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C("p", {
|
|
392
|
-
className: "text-sm text-
|
|
392
|
+
className: "text-sm text-text-secondary",
|
|
393
393
|
children: "Customer Rating"
|
|
394
394
|
}), /* @__PURE__ */ w("div", {
|
|
395
395
|
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-
|
|
397
|
-
className: "ml-1 text-sm font-medium text-
|
|
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", {
|
|
397
|
+
className: "ml-1 text-sm font-medium text-text-primary",
|
|
398
398
|
children: M.customerRating
|
|
399
399
|
})]
|
|
400
400
|
})] }), /* @__PURE__ */ w("div", {
|
|
401
401
|
className: "text-left sm:text-right",
|
|
402
402
|
children: [/* @__PURE__ */ C("p", {
|
|
403
|
-
className: "text-sm text-
|
|
403
|
+
className: "text-sm text-text-secondary",
|
|
404
404
|
children: "Avg Order Value"
|
|
405
405
|
}), /* @__PURE__ */ C("p", {
|
|
406
|
-
className: "text-lg font-semibold text-
|
|
406
|
+
className: "text-lg font-semibold text-text-primary",
|
|
407
407
|
children: r(M.averageOrderValue, { minimumFractionDigits: 0 })
|
|
408
408
|
})]
|
|
409
409
|
})]
|
|
@@ -413,53 +413,53 @@ function D() {
|
|
|
413
413
|
}), /* @__PURE__ */ w("div", {
|
|
414
414
|
className: "space-y-6",
|
|
415
415
|
children: [/* @__PURE__ */ w("div", {
|
|
416
|
-
className: "rounded-lg border border-border bg-
|
|
416
|
+
className: "rounded-lg border border-border-seam bg-bg-surface p-4 sm:p-6 bg-gloss-card shadow-pop",
|
|
417
417
|
children: [/* @__PURE__ */ C("h2", {
|
|
418
|
-
className: "mb-4 text-lg font-semibold text-
|
|
418
|
+
className: "mb-4 text-lg font-semibold text-text-primary sm:mb-6",
|
|
419
419
|
children: "Investment Summary"
|
|
420
420
|
}), /* @__PURE__ */ w("div", {
|
|
421
421
|
className: "space-y-4",
|
|
422
422
|
children: [
|
|
423
423
|
/* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C("p", {
|
|
424
|
-
className: "text-sm text-
|
|
424
|
+
className: "text-sm text-text-secondary",
|
|
425
425
|
children: "Investment Date"
|
|
426
426
|
}), /* @__PURE__ */ C("p", {
|
|
427
|
-
className: "font-medium text-
|
|
427
|
+
className: "font-medium text-text-primary",
|
|
428
428
|
children: i(M.investmentDate, {
|
|
429
429
|
hour: void 0,
|
|
430
430
|
minute: void 0
|
|
431
431
|
})
|
|
432
432
|
})] }),
|
|
433
433
|
/* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C("p", {
|
|
434
|
-
className: "text-sm text-
|
|
434
|
+
className: "text-sm text-text-secondary",
|
|
435
435
|
children: "Investment Type"
|
|
436
436
|
}), /* @__PURE__ */ C("p", {
|
|
437
|
-
className: "font-medium text-
|
|
437
|
+
className: "font-medium text-text-primary",
|
|
438
438
|
children: M.investmentType
|
|
439
439
|
})] }),
|
|
440
440
|
/* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C("p", {
|
|
441
|
-
className: "text-sm text-
|
|
441
|
+
className: "text-sm text-text-secondary",
|
|
442
442
|
children: "Initial Valuation"
|
|
443
443
|
}), /* @__PURE__ */ C("p", {
|
|
444
|
-
className: "font-medium text-
|
|
444
|
+
className: "font-medium text-text-primary",
|
|
445
445
|
children: r(M.valuationAtInvestment, { minimumFractionDigits: 0 })
|
|
446
446
|
})] }),
|
|
447
447
|
/* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C("p", {
|
|
448
|
-
className: "text-sm text-
|
|
448
|
+
className: "text-sm text-text-secondary",
|
|
449
449
|
children: "Current Valuation"
|
|
450
450
|
}), /* @__PURE__ */ C("p", {
|
|
451
|
-
className: "text-lg font-medium text-
|
|
451
|
+
className: "text-lg font-medium text-text-primary",
|
|
452
452
|
children: r(M.currentValuation, { minimumFractionDigits: 0 })
|
|
453
453
|
})] }),
|
|
454
454
|
/* @__PURE__ */ C("div", {
|
|
455
|
-
className: "border-t border-border pt-4",
|
|
455
|
+
className: "border-t border-border-subtle pt-4",
|
|
456
456
|
children: /* @__PURE__ */ w("div", {
|
|
457
457
|
className: "flex items-center justify-between",
|
|
458
458
|
children: [/* @__PURE__ */ C("span", {
|
|
459
|
-
className: "text-sm text-
|
|
459
|
+
className: "text-sm text-text-secondary",
|
|
460
460
|
children: "Your Returns"
|
|
461
461
|
}), /* @__PURE__ */ w("span", {
|
|
462
|
-
className: t("text-lg font-semibold", F > 0 ? "text-
|
|
462
|
+
className: t("text-lg font-semibold", F > 0 ? "text-status-success-text" : "text-status-error-text"),
|
|
463
463
|
children: [F > 0 ? "+" : "", r(F, { minimumFractionDigits: 0 })]
|
|
464
464
|
})]
|
|
465
465
|
})
|
|
@@ -467,9 +467,9 @@ function D() {
|
|
|
467
467
|
]
|
|
468
468
|
})]
|
|
469
469
|
}), /* @__PURE__ */ w("div", {
|
|
470
|
-
className: "rounded-lg border border-border bg-
|
|
470
|
+
className: "rounded-lg border border-border-seam bg-bg-surface p-4 sm:p-6 bg-gloss-card shadow-pop",
|
|
471
471
|
children: [/* @__PURE__ */ C("h2", {
|
|
472
|
-
className: "mb-4 text-lg font-semibold text-
|
|
472
|
+
className: "mb-4 text-lg font-semibold text-text-primary sm:mb-6",
|
|
473
473
|
children: "Growth Indicators"
|
|
474
474
|
}), /* @__PURE__ */ w("div", {
|
|
475
475
|
className: "space-y-4",
|
|
@@ -477,10 +477,10 @@ function D() {
|
|
|
477
477
|
/* @__PURE__ */ w("div", { children: [/* @__PURE__ */ w("div", {
|
|
478
478
|
className: "mb-2 flex items-center justify-between",
|
|
479
479
|
children: [/* @__PURE__ */ C("span", {
|
|
480
|
-
className: "text-sm text-
|
|
480
|
+
className: "text-sm text-text-secondary",
|
|
481
481
|
children: "Revenue Growth"
|
|
482
482
|
}), /* @__PURE__ */ w("span", {
|
|
483
|
-
className: "text-sm font-medium text-
|
|
483
|
+
className: "text-sm font-medium text-status-success-text",
|
|
484
484
|
children: [
|
|
485
485
|
"+",
|
|
486
486
|
M.revenueGrowth,
|
|
@@ -488,35 +488,35 @@ function D() {
|
|
|
488
488
|
]
|
|
489
489
|
})]
|
|
490
490
|
}), /* @__PURE__ */ C("div", {
|
|
491
|
-
className: "h-2 w-full overflow-hidden rounded-full bg-
|
|
491
|
+
className: "h-2 w-full overflow-hidden rounded-full bg-bg-sunken",
|
|
492
492
|
children: /* @__PURE__ */ C("div", {
|
|
493
|
-
className: "h-full rounded-full bg-
|
|
493
|
+
className: "h-full rounded-full bg-status-success-bg-subtle",
|
|
494
494
|
style: { width: `${Math.min(M.revenueGrowth, 100)}%` }
|
|
495
495
|
})
|
|
496
496
|
})] }),
|
|
497
497
|
/* @__PURE__ */ w("div", { children: [/* @__PURE__ */ w("div", {
|
|
498
498
|
className: "mb-2 flex items-center justify-between",
|
|
499
499
|
children: [/* @__PURE__ */ C("span", {
|
|
500
|
-
className: "text-sm text-
|
|
500
|
+
className: "text-sm text-text-secondary",
|
|
501
501
|
children: "Profit Margin"
|
|
502
502
|
}), /* @__PURE__ */ w("span", {
|
|
503
|
-
className: "text-sm font-medium text-
|
|
503
|
+
className: "text-sm font-medium text-text-primary",
|
|
504
504
|
children: [M.profitMargin, "%"]
|
|
505
505
|
})]
|
|
506
506
|
}), /* @__PURE__ */ C("div", {
|
|
507
|
-
className: "h-2 w-full overflow-hidden rounded-full bg-
|
|
507
|
+
className: "h-2 w-full overflow-hidden rounded-full bg-bg-sunken",
|
|
508
508
|
children: /* @__PURE__ */ C("div", {
|
|
509
|
-
className: "h-full rounded-full bg-blue-
|
|
509
|
+
className: "h-full rounded-full bg-accent-blue-subtle",
|
|
510
510
|
style: { width: `${M.profitMargin}%` }
|
|
511
511
|
})
|
|
512
512
|
})] }),
|
|
513
513
|
/* @__PURE__ */ w("div", { children: [/* @__PURE__ */ w("div", {
|
|
514
514
|
className: "mb-2 flex items-center justify-between",
|
|
515
515
|
children: [/* @__PURE__ */ C("span", {
|
|
516
|
-
className: "text-sm text-
|
|
516
|
+
className: "text-sm text-text-secondary",
|
|
517
517
|
children: "ROI"
|
|
518
518
|
}), /* @__PURE__ */ w("span", {
|
|
519
|
-
className: "text-sm font-medium text-
|
|
519
|
+
className: "text-sm font-medium text-status-success-text",
|
|
520
520
|
children: [
|
|
521
521
|
"+",
|
|
522
522
|
M.returnOnInvestment,
|
|
@@ -524,17 +524,17 @@ function D() {
|
|
|
524
524
|
]
|
|
525
525
|
})]
|
|
526
526
|
}), /* @__PURE__ */ C("div", {
|
|
527
|
-
className: "h-2 w-full overflow-hidden rounded-full bg-
|
|
527
|
+
className: "h-2 w-full overflow-hidden rounded-full bg-bg-sunken",
|
|
528
528
|
children: /* @__PURE__ */ C("div", {
|
|
529
|
-
className: "h-full rounded-full bg-
|
|
529
|
+
className: "h-full rounded-full bg-status-success-bg-subtle",
|
|
530
530
|
style: { width: `${Math.min(M.returnOnInvestment, 100)}%` }
|
|
531
531
|
})
|
|
532
532
|
})] }),
|
|
533
533
|
/* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C("p", {
|
|
534
|
-
className: "text-sm text-
|
|
534
|
+
className: "text-sm text-text-secondary",
|
|
535
535
|
children: "Expected Payback"
|
|
536
536
|
}), /* @__PURE__ */ C("p", {
|
|
537
|
-
className: "font-medium text-
|
|
537
|
+
className: "font-medium text-text-primary",
|
|
538
538
|
children: M.paybackPeriod
|
|
539
539
|
})] })
|
|
540
540
|
]
|
|
@@ -543,32 +543,32 @@ function D() {
|
|
|
543
543
|
})]
|
|
544
544
|
}),
|
|
545
545
|
p === "financials" && /* @__PURE__ */ w("div", {
|
|
546
|
-
className: "rounded-lg border border-border bg-
|
|
546
|
+
className: "rounded-lg border border-border-seam bg-bg-surface p-4 sm:p-6 bg-gloss-card shadow-pop",
|
|
547
547
|
children: [
|
|
548
548
|
/* @__PURE__ */ C("h2", {
|
|
549
|
-
className: "mb-4 text-lg font-semibold text-
|
|
549
|
+
className: "mb-4 text-lg font-semibold text-text-primary sm:mb-6",
|
|
550
550
|
children: "Financial Performance"
|
|
551
551
|
}),
|
|
552
552
|
/* @__PURE__ */ w("div", {
|
|
553
553
|
className: "mb-6 grid grid-cols-2 gap-4 lg:grid-cols-4",
|
|
554
554
|
children: [
|
|
555
555
|
/* @__PURE__ */ w("div", {
|
|
556
|
-
className: "rounded-lg bg-
|
|
556
|
+
className: "rounded-lg bg-bg-sunken/50 p-3",
|
|
557
557
|
children: [/* @__PURE__ */ C("p", {
|
|
558
|
-
className: "text-xs text-
|
|
558
|
+
className: "text-xs text-text-secondary",
|
|
559
559
|
children: "Monthly Revenue"
|
|
560
560
|
}), /* @__PURE__ */ C("p", {
|
|
561
|
-
className: "mt-1 text-lg font-bold text-
|
|
561
|
+
className: "mt-1 text-lg font-bold text-text-primary",
|
|
562
562
|
children: r(M.monthlyRevenue, { minimumFractionDigits: 0 })
|
|
563
563
|
})]
|
|
564
564
|
}),
|
|
565
565
|
/* @__PURE__ */ w("div", {
|
|
566
|
-
className: "rounded-lg bg-
|
|
566
|
+
className: "rounded-lg bg-bg-sunken/50 p-3",
|
|
567
567
|
children: [/* @__PURE__ */ C("p", {
|
|
568
|
-
className: "text-xs text-
|
|
568
|
+
className: "text-xs text-text-secondary",
|
|
569
569
|
children: "Revenue Growth"
|
|
570
570
|
}), /* @__PURE__ */ w("p", {
|
|
571
|
-
className: "mt-1 text-lg font-bold text-
|
|
571
|
+
className: "mt-1 text-lg font-bold text-status-success-text",
|
|
572
572
|
children: [
|
|
573
573
|
"+",
|
|
574
574
|
M.revenueGrowth,
|
|
@@ -577,44 +577,44 @@ function D() {
|
|
|
577
577
|
})]
|
|
578
578
|
}),
|
|
579
579
|
/* @__PURE__ */ w("div", {
|
|
580
|
-
className: "rounded-lg bg-
|
|
580
|
+
className: "rounded-lg bg-bg-sunken/50 p-3",
|
|
581
581
|
children: [/* @__PURE__ */ C("p", {
|
|
582
|
-
className: "text-xs text-
|
|
582
|
+
className: "text-xs text-text-secondary",
|
|
583
583
|
children: "Profit Margin"
|
|
584
584
|
}), /* @__PURE__ */ w("p", {
|
|
585
|
-
className: "mt-1 text-lg font-bold text-
|
|
585
|
+
className: "mt-1 text-lg font-bold text-text-primary",
|
|
586
586
|
children: [M.profitMargin, "%"]
|
|
587
587
|
})]
|
|
588
588
|
}),
|
|
589
589
|
/* @__PURE__ */ w("div", {
|
|
590
|
-
className: "rounded-lg bg-
|
|
590
|
+
className: "rounded-lg bg-bg-sunken/50 p-3",
|
|
591
591
|
children: [/* @__PURE__ */ C("p", {
|
|
592
|
-
className: "text-xs text-
|
|
592
|
+
className: "text-xs text-text-secondary",
|
|
593
593
|
children: "Avg Order Value"
|
|
594
594
|
}), /* @__PURE__ */ C("p", {
|
|
595
|
-
className: "mt-1 text-lg font-bold text-
|
|
595
|
+
className: "mt-1 text-lg font-bold text-text-primary",
|
|
596
596
|
children: r(M.averageOrderValue, { minimumFractionDigits: 0 })
|
|
597
597
|
})]
|
|
598
598
|
})
|
|
599
599
|
]
|
|
600
600
|
}),
|
|
601
601
|
/* @__PURE__ */ C("div", {
|
|
602
|
-
className: "overflow-hidden rounded-lg border border-border",
|
|
602
|
+
className: "overflow-hidden rounded-lg border border-border-subtle",
|
|
603
603
|
children: /* @__PURE__ */ w("table", {
|
|
604
604
|
className: "w-full",
|
|
605
605
|
children: [/* @__PURE__ */ C("thead", { children: /* @__PURE__ */ w("tr", {
|
|
606
|
-
className: "bg-
|
|
606
|
+
className: "bg-bg-sunken/50",
|
|
607
607
|
children: [
|
|
608
608
|
/* @__PURE__ */ C("th", {
|
|
609
|
-
className: "px-4 py-3 text-left text-xs font-medium uppercase tracking-wider text-
|
|
609
|
+
className: "px-4 py-3 text-left text-xs font-medium uppercase tracking-wider text-text-secondary",
|
|
610
610
|
children: "Metric"
|
|
611
611
|
}),
|
|
612
612
|
/* @__PURE__ */ C("th", {
|
|
613
|
-
className: "px-4 py-3 text-right text-xs font-medium uppercase tracking-wider text-
|
|
613
|
+
className: "px-4 py-3 text-right text-xs font-medium uppercase tracking-wider text-text-secondary",
|
|
614
614
|
children: "Value"
|
|
615
615
|
}),
|
|
616
616
|
/* @__PURE__ */ C("th", {
|
|
617
|
-
className: "px-4 py-3 text-right text-xs font-medium uppercase tracking-wider text-
|
|
617
|
+
className: "px-4 py-3 text-right text-xs font-medium uppercase tracking-wider text-text-secondary",
|
|
618
618
|
children: "Trend"
|
|
619
619
|
})
|
|
620
620
|
]
|
|
@@ -655,15 +655,15 @@ function D() {
|
|
|
655
655
|
className: "hover:bg-accent/50 transition-colors",
|
|
656
656
|
children: [
|
|
657
657
|
/* @__PURE__ */ C("td", {
|
|
658
|
-
className: "px-4 py-3 text-sm font-medium text-
|
|
658
|
+
className: "px-4 py-3 text-sm font-medium text-text-primary",
|
|
659
659
|
children: e.metric
|
|
660
660
|
}),
|
|
661
661
|
/* @__PURE__ */ C("td", {
|
|
662
|
-
className: "px-4 py-3 text-right text-sm text-
|
|
662
|
+
className: "px-4 py-3 text-right text-sm text-text-primary",
|
|
663
663
|
children: e.value
|
|
664
664
|
}),
|
|
665
665
|
/* @__PURE__ */ C("td", {
|
|
666
|
-
className: "px-4 py-3 text-right text-sm font-medium text-
|
|
666
|
+
className: "px-4 py-3 text-right text-sm font-medium text-status-success-text",
|
|
667
667
|
children: e.trend
|
|
668
668
|
})
|
|
669
669
|
]
|
|
@@ -674,31 +674,31 @@ function D() {
|
|
|
674
674
|
]
|
|
675
675
|
}),
|
|
676
676
|
p === "documents" && /* @__PURE__ */ w("div", {
|
|
677
|
-
className: "rounded-lg border border-border bg-
|
|
677
|
+
className: "rounded-lg border border-border-seam bg-bg-surface p-4 sm:p-6 bg-gloss-card shadow-pop",
|
|
678
678
|
children: [/* @__PURE__ */ C("h2", {
|
|
679
|
-
className: "mb-4 text-lg font-semibold text-
|
|
679
|
+
className: "mb-4 text-lg font-semibold text-text-primary sm:mb-6",
|
|
680
680
|
children: "Investment Documents"
|
|
681
681
|
}), /* @__PURE__ */ C("div", {
|
|
682
682
|
className: "space-y-4",
|
|
683
683
|
children: M.documents.map((e, n) => {
|
|
684
684
|
let r = E(e.status), a = r.Icon;
|
|
685
685
|
return /* @__PURE__ */ w("div", {
|
|
686
|
-
className: "flex flex-col gap-4 rounded-lg bg-
|
|
686
|
+
className: "flex flex-col gap-4 rounded-lg bg-bg-sunken/50 p-4 sm:flex-row sm:items-center sm:justify-between",
|
|
687
687
|
children: [/* @__PURE__ */ w("div", {
|
|
688
688
|
className: "flex items-start gap-3 flex-1 min-w-0 sm:items-center sm:gap-4",
|
|
689
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", {
|
|
690
690
|
className: "min-w-0 flex-1",
|
|
691
691
|
children: [
|
|
692
692
|
/* @__PURE__ */ C("h4", {
|
|
693
|
-
className: "text-sm font-medium text-
|
|
693
|
+
className: "text-sm font-medium text-text-primary sm:text-base",
|
|
694
694
|
children: e.type
|
|
695
695
|
}),
|
|
696
696
|
/* @__PURE__ */ C("p", {
|
|
697
|
-
className: "truncate text-xs text-
|
|
697
|
+
className: "truncate text-xs text-text-secondary sm:text-sm",
|
|
698
698
|
children: e.name
|
|
699
699
|
}),
|
|
700
700
|
/* @__PURE__ */ w("p", {
|
|
701
|
-
className: "text-xs text-
|
|
701
|
+
className: "text-xs text-text-secondary",
|
|
702
702
|
children: [
|
|
703
703
|
"Uploaded",
|
|
704
704
|
" ",
|
|
@@ -721,7 +721,7 @@ function D() {
|
|
|
721
721
|
}), /* @__PURE__ */ w("button", {
|
|
722
722
|
type: "button",
|
|
723
723
|
onClick: () => alert(`Downloading ${e.name}`),
|
|
724
|
-
className: "flex items-center gap-1 rounded-lg border border-border px-3 py-1.5 text-sm font-medium text-
|
|
724
|
+
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
725
|
children: [/* @__PURE__ */ C(m, { className: "h-3 w-3 sm:h-4 sm:w-4" }), /* @__PURE__ */ C("span", {
|
|
726
726
|
className: "hidden sm:inline",
|
|
727
727
|
children: "Download"
|
|
@@ -733,14 +733,14 @@ function D() {
|
|
|
733
733
|
})]
|
|
734
734
|
}),
|
|
735
735
|
p === "updates" && /* @__PURE__ */ w("div", {
|
|
736
|
-
className: "rounded-lg border border-border bg-
|
|
736
|
+
className: "rounded-lg border border-border-seam bg-bg-surface p-4 sm:p-6 bg-gloss-card shadow-pop",
|
|
737
737
|
children: [/* @__PURE__ */ C("h2", {
|
|
738
|
-
className: "mb-4 text-lg font-semibold text-
|
|
738
|
+
className: "mb-4 text-lg font-semibold text-text-primary sm:mb-6",
|
|
739
739
|
children: "Recent Updates"
|
|
740
740
|
}), /* @__PURE__ */ C("div", {
|
|
741
741
|
className: "space-y-4",
|
|
742
742
|
children: M.recentUpdates.map((e, t) => /* @__PURE__ */ w("div", {
|
|
743
|
-
className: "flex gap-3 rounded-lg bg-
|
|
743
|
+
className: "flex gap-3 rounded-lg bg-bg-sunken/50 p-4 sm:gap-4",
|
|
744
744
|
children: [/* @__PURE__ */ C("div", {
|
|
745
745
|
className: "flex-shrink-0",
|
|
746
746
|
children: /* @__PURE__ */ C(s, { className: "mt-1 h-4 w-4 text-primary sm:h-5 sm:w-5" })
|
|
@@ -749,17 +749,17 @@ function D() {
|
|
|
749
749
|
children: [/* @__PURE__ */ w("div", {
|
|
750
750
|
className: "mb-1 flex flex-col gap-1 sm:flex-row sm:items-center sm:justify-between",
|
|
751
751
|
children: [/* @__PURE__ */ C("h4", {
|
|
752
|
-
className: "text-sm font-medium text-
|
|
752
|
+
className: "text-sm font-medium text-text-primary sm:text-base",
|
|
753
753
|
children: e.type
|
|
754
754
|
}), /* @__PURE__ */ C("span", {
|
|
755
|
-
className: "text-xs text-
|
|
755
|
+
className: "text-xs text-text-secondary sm:text-sm",
|
|
756
756
|
children: i(e.date, {
|
|
757
757
|
hour: void 0,
|
|
758
758
|
minute: void 0
|
|
759
759
|
})
|
|
760
760
|
})]
|
|
761
761
|
}), /* @__PURE__ */ C("p", {
|
|
762
|
-
className: "text-xs text-
|
|
762
|
+
className: "text-xs text-text-secondary sm:text-sm",
|
|
763
763
|
children: e.description
|
|
764
764
|
})]
|
|
765
765
|
})]
|
|
@@ -771,17 +771,17 @@ function D() {
|
|
|
771
771
|
A && /* @__PURE__ */ C("div", {
|
|
772
772
|
className: "fixed inset-0 z-50 flex items-center justify-center bg-black/50 p-4",
|
|
773
773
|
children: /* @__PURE__ */ w("div", {
|
|
774
|
-
className: "relative max-h-[90vh] w-full max-w-md overflow-y-auto rounded-lg border border-border bg-
|
|
774
|
+
className: "relative max-h-[90vh] w-full max-w-md overflow-y-auto rounded-lg border border-border-subtle bg-bg-surface",
|
|
775
775
|
children: [
|
|
776
776
|
/* @__PURE__ */ w("div", {
|
|
777
|
-
className: "border-b border-border p-4 sm:p-6",
|
|
777
|
+
className: "border-b border-border-subtle p-4 sm:p-6",
|
|
778
778
|
children: [/* @__PURE__ */ C("button", {
|
|
779
779
|
type: "button",
|
|
780
780
|
onClick: () => j(!1),
|
|
781
|
-
className: "absolute right-3 top-3 rounded-lg p-1 text-
|
|
781
|
+
className: "absolute right-3 top-3 rounded-lg p-1 text-text-secondary hover:bg-accent transition-colors",
|
|
782
782
|
children: /* @__PURE__ */ C(S, { className: "h-5 w-5" })
|
|
783
783
|
}), /* @__PURE__ */ C("h2", {
|
|
784
|
-
className: "text-lg font-semibold text-
|
|
784
|
+
className: "text-lg font-semibold text-text-primary sm:text-xl",
|
|
785
785
|
children: "Manage Investment"
|
|
786
786
|
})]
|
|
787
787
|
}),
|
|
@@ -789,7 +789,7 @@ function D() {
|
|
|
789
789
|
className: "space-y-4 p-4 sm:p-6",
|
|
790
790
|
children: [
|
|
791
791
|
/* @__PURE__ */ w("p", {
|
|
792
|
-
className: "text-sm text-
|
|
792
|
+
className: "text-sm text-text-secondary sm:text-base",
|
|
793
793
|
children: [
|
|
794
794
|
"Choose an action for your investment in ",
|
|
795
795
|
M.cartName,
|
|
@@ -802,38 +802,38 @@ function D() {
|
|
|
802
802
|
/* @__PURE__ */ C("button", {
|
|
803
803
|
type: "button",
|
|
804
804
|
onClick: () => alert("Partial withdrawal request submitted"),
|
|
805
|
-
className: "w-full rounded-lg border border-border px-4 py-2.5 text-sm font-medium text-
|
|
805
|
+
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
806
|
children: "Request Partial Withdrawal"
|
|
807
807
|
}),
|
|
808
808
|
/* @__PURE__ */ C("button", {
|
|
809
809
|
type: "button",
|
|
810
810
|
onClick: () => alert("Transfer ownership feature coming soon"),
|
|
811
|
-
className: "w-full rounded-lg border border-border px-4 py-2.5 text-sm font-medium text-
|
|
811
|
+
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
812
|
children: "Transfer Ownership"
|
|
813
813
|
}),
|
|
814
814
|
/* @__PURE__ */ C("button", {
|
|
815
815
|
type: "button",
|
|
816
816
|
onClick: () => alert("Exit options will be displayed"),
|
|
817
|
-
className: "w-full rounded-lg border border-border px-4 py-2.5 text-sm font-medium text-
|
|
817
|
+
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",
|
|
818
818
|
children: "View Exit Options"
|
|
819
819
|
})
|
|
820
820
|
]
|
|
821
821
|
}),
|
|
822
822
|
/* @__PURE__ */ C("div", {
|
|
823
|
-
className: "rounded-lg border border-
|
|
823
|
+
className: "rounded-lg border border-status-warning-border/30 bg-status-warning-bg-subtle/10 p-3 sm:p-4",
|
|
824
824
|
children: /* @__PURE__ */ C("p", {
|
|
825
|
-
className: "text-xs text-
|
|
825
|
+
className: "text-xs text-status-warning-text sm:text-sm",
|
|
826
826
|
children: "Any changes to your investment require approval from the business owner and may be subject to terms in your investment agreement."
|
|
827
827
|
})
|
|
828
828
|
})
|
|
829
829
|
]
|
|
830
830
|
}),
|
|
831
831
|
/* @__PURE__ */ C("div", {
|
|
832
|
-
className: "flex justify-end gap-3 border-t border-border p-4 sm:p-6",
|
|
832
|
+
className: "flex justify-end gap-3 border-t border-border-subtle p-4 sm:p-6",
|
|
833
833
|
children: /* @__PURE__ */ C("button", {
|
|
834
834
|
type: "button",
|
|
835
835
|
onClick: () => j(!1),
|
|
836
|
-
className: "rounded-lg border border-border px-4 py-2 text-sm font-medium text-
|
|
836
|
+
className: "rounded-lg border border-border-subtle px-4 py-2 text-sm font-medium text-text-primary hover:bg-accent transition-colors",
|
|
837
837
|
children: "Cancel"
|
|
838
838
|
})
|
|
839
839
|
})
|