@burdenoff/microfe-housingvista 2026.709.2 → 2026.709.3
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/housingvista/HousingVistaRoutes.d.ts.map +1 -1
- package/dist/housingvista/HousingVistaRoutes.js +136 -37
- package/dist/housingvista/HousingVistaRoutes.js.map +1 -1
- package/dist/housingvista/hooks/useHousingVistaAnalytics.d.ts +1 -1
- package/dist/housingvista/hooks/useHousingVistaAnalytics.d.ts.map +1 -1
- package/dist/housingvista/hooks/useHousingVistaAnalytics.js +4 -4
- package/dist/housingvista/hooks/useHousingVistaAnalytics.js.map +1 -1
- package/dist/housingvista/pages/amc/AMCManagementPage.d.ts.map +1 -1
- package/dist/housingvista/pages/amc/AMCManagementPage.js +62 -60
- package/dist/housingvista/pages/amc/AMCManagementPage.js.map +1 -1
- package/dist/housingvista/pages/assets/AssetDetailPage.d.ts.map +1 -1
- package/dist/housingvista/pages/assets/AssetDetailPage.js +141 -138
- package/dist/housingvista/pages/assets/AssetDetailPage.js.map +1 -1
- package/dist/housingvista/pages/assets/AssetManagementPage.d.ts.map +1 -1
- package/dist/housingvista/pages/assets/AssetManagementPage.js +193 -191
- package/dist/housingvista/pages/assets/AssetManagementPage.js.map +1 -1
- package/dist/housingvista/pages/chat/ChatPage.d.ts.map +1 -1
- package/dist/housingvista/pages/chat/ChatPage.js +115 -113
- package/dist/housingvista/pages/chat/ChatPage.js.map +1 -1
- package/dist/housingvista/pages/finance/HomeLoanDetailPage.d.ts.map +1 -1
- package/dist/housingvista/pages/finance/HomeLoanDetailPage.js +152 -149
- package/dist/housingvista/pages/finance/HomeLoanDetailPage.js.map +1 -1
- package/dist/housingvista/pages/finance/HomeLoansPage.d.ts.map +1 -1
- package/dist/housingvista/pages/finance/HomeLoansPage.js +141 -139
- package/dist/housingvista/pages/finance/HomeLoansPage.js.map +1 -1
- package/dist/housingvista/pages/investments/InvestmentDetailPage.d.ts.map +1 -1
- package/dist/housingvista/pages/investments/InvestmentDetailPage.js +290 -287
- package/dist/housingvista/pages/investments/InvestmentDetailPage.js.map +1 -1
- package/dist/housingvista/pages/investments/InvestmentsPage.d.ts.map +1 -1
- package/dist/housingvista/pages/investments/InvestmentsPage.js +64 -62
- package/dist/housingvista/pages/investments/InvestmentsPage.js.map +1 -1
- package/dist/housingvista/pages/legal/LegalPage.d.ts.map +1 -1
- package/dist/housingvista/pages/legal/LegalPage.js +95 -93
- package/dist/housingvista/pages/legal/LegalPage.js.map +1 -1
- package/dist/housingvista/pages/legal/LegalServiceDetailPage.d.ts.map +1 -1
- package/dist/housingvista/pages/legal/LegalServiceDetailPage.js +129 -126
- package/dist/housingvista/pages/legal/LegalServiceDetailPage.js.map +1 -1
- package/dist/housingvista/pages/market/AreaInsightsPage.d.ts.map +1 -1
- package/dist/housingvista/pages/market/AreaInsightsPage.js +99 -97
- package/dist/housingvista/pages/market/AreaInsightsPage.js.map +1 -1
- package/dist/housingvista/pages/market/MarketAnalyticsPage.d.ts.map +1 -1
- package/dist/housingvista/pages/market/MarketAnalyticsPage.js +138 -136
- package/dist/housingvista/pages/market/MarketAnalyticsPage.js.map +1 -1
- package/dist/housingvista/pages/marketplace/MarketplacePage.d.ts.map +1 -1
- package/dist/housingvista/pages/marketplace/MarketplacePage.js +99 -97
- package/dist/housingvista/pages/marketplace/MarketplacePage.js.map +1 -1
- package/dist/housingvista/pages/marketplace/ServiceDetailPage.d.ts.map +1 -1
- package/dist/housingvista/pages/marketplace/ServiceDetailPage.js +137 -134
- package/dist/housingvista/pages/marketplace/ServiceDetailPage.js.map +1 -1
- package/dist/housingvista/pages/offers/OffersPage.d.ts.map +1 -1
- package/dist/housingvista/pages/offers/OffersPage.js +94 -92
- package/dist/housingvista/pages/offers/OffersPage.js.map +1 -1
- package/dist/housingvista/pages/properties/AddPropertyPage.d.ts.map +1 -1
- package/dist/housingvista/pages/properties/AddPropertyPage.js +280 -279
- package/dist/housingvista/pages/properties/AddPropertyPage.js.map +1 -1
- package/dist/housingvista/pages/rental/RentalManagementPage.d.ts.map +1 -1
- package/dist/housingvista/pages/rental/RentalManagementPage.js +153 -151
- package/dist/housingvista/pages/rental/RentalManagementPage.js.map +1 -1
- package/dist/housingvista/pages/settings/ProfilePage.d.ts.map +1 -1
- package/dist/housingvista/pages/settings/ProfilePage.js +52 -50
- package/dist/housingvista/pages/settings/ProfilePage.js.map +1 -1
- package/dist/housingvista/pages/settings/SettingsPage.d.ts.map +1 -1
- package/dist/housingvista/pages/settings/SettingsPage.js +54 -52
- package/dist/housingvista/pages/settings/SettingsPage.js.map +1 -1
- package/dist/housingvista/pages/shortlist/ShortlistPage.d.ts.map +1 -1
- package/dist/housingvista/pages/shortlist/ShortlistPage.js +43 -41
- package/dist/housingvista/pages/shortlist/ShortlistPage.js.map +1 -1
- package/dist/housingvista/pages/transactions/TransactionDetailPage.d.ts.map +1 -1
- package/dist/housingvista/pages/transactions/TransactionDetailPage.js +211 -208
- package/dist/housingvista/pages/transactions/TransactionDetailPage.js.map +1 -1
- package/dist/housingvista/pages/transactions/TransactionsPage.d.ts.map +1 -1
- package/dist/housingvista/pages/transactions/TransactionsPage.js +85 -83
- package/dist/housingvista/pages/transactions/TransactionsPage.js.map +1 -1
- package/dist/housingvista/pages/verification/VerificationDetailPage.d.ts.map +1 -1
- package/dist/housingvista/pages/verification/VerificationDetailPage.js +25 -22
- package/dist/housingvista/pages/verification/VerificationDetailPage.js.map +1 -1
- package/dist/housingvista/pages/verification/VerificationPage.d.ts.map +1 -1
- package/dist/housingvista/pages/verification/VerificationPage.js +123 -121
- package/dist/housingvista/pages/verification/VerificationPage.js.map +1 -1
- package/dist/housingvista/pages/viewings/ViewingsPage.d.ts.map +1 -1
- package/dist/housingvista/pages/viewings/ViewingsPage.js +128 -126
- package/dist/housingvista/pages/viewings/ViewingsPage.js.map +1 -1
- package/package.json +1 -1
|
@@ -3,17 +3,18 @@ import { StatusBadge as n } from "../../components/StatusBadge.js";
|
|
|
3
3
|
import { EmptyState as r } from "../../components/EmptyState.js";
|
|
4
4
|
import { Breadcrumbs as i } from "../../components/Breadcrumbs.js";
|
|
5
5
|
import { LoadingSkeleton as a } from "../../components/LoadingSkeleton.js";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
6
|
+
import { useTrackPageView as o } from "../../hooks/useHousingVistaAnalytics.js";
|
|
7
|
+
import { useTransaction as s, useUpdateTransaction as c } from "../../hooks/index.js";
|
|
8
|
+
import { notify as l } from "../../lib/toast.js";
|
|
9
|
+
import { FileUploader as u } from "../../components/FileUploader.js";
|
|
9
10
|
import "../../components/index.js";
|
|
10
|
-
import { MilestoneStepper as
|
|
11
|
-
import { AlertCircle as
|
|
12
|
-
import { useNavigate as
|
|
13
|
-
import { jsx as
|
|
14
|
-
import { EmphasisPanel as
|
|
11
|
+
import { MilestoneStepper as d, parseMilestones as f } from "./milestones.js";
|
|
12
|
+
import { AlertCircle as p, ArrowLeft as m, Building as h, Calendar as g, CheckCircle as _, Clock as v, DollarSign as y, Download as b, FileText as x, Shield as S, XCircle as C } from "lucide-react";
|
|
13
|
+
import { useNavigate as w, useParams as T } from "react-router-dom";
|
|
14
|
+
import { jsx as E, jsxs as D } from "react/jsx-runtime";
|
|
15
|
+
import { EmphasisPanel as O, NextSteps as k, PagePurpose as A } from "@burdenoff/fe-libs/ui";
|
|
15
16
|
//#region src/housingvista/pages/transactions/TransactionDetailPage.tsx
|
|
16
|
-
var
|
|
17
|
+
var j = {
|
|
17
18
|
completed: "success",
|
|
18
19
|
in_progress: "info",
|
|
19
20
|
pending: "warning",
|
|
@@ -23,37 +24,39 @@ var A = {
|
|
|
23
24
|
disputed: "error",
|
|
24
25
|
overdue: "error",
|
|
25
26
|
draft: "muted"
|
|
26
|
-
},
|
|
27
|
-
completed:
|
|
28
|
-
in_progress:
|
|
29
|
-
pending:
|
|
30
|
-
pending_approval:
|
|
31
|
-
cancelled:
|
|
32
|
-
overdue:
|
|
33
|
-
},
|
|
27
|
+
}, M = {
|
|
28
|
+
completed: _,
|
|
29
|
+
in_progress: v,
|
|
30
|
+
pending: p,
|
|
31
|
+
pending_approval: p,
|
|
32
|
+
cancelled: C,
|
|
33
|
+
overdue: C
|
|
34
|
+
}, N = (e) => {
|
|
34
35
|
let n = e instanceof Date ? e.toISOString() : typeof e == "string" && e.length > 0 ? e : null;
|
|
35
36
|
return n ? t(n) : "—";
|
|
36
|
-
},
|
|
37
|
-
let { id: t } =
|
|
38
|
-
|
|
37
|
+
}, P = (e) => ((e?.firstName ?? "").charAt(0) + (e?.lastName ?? "").charAt(0)).toUpperCase() || "?", F = (e) => `${e?.firstName ?? ""} ${e?.lastName ?? ""}`.trim() || "Unknown", I = (e) => e === "completed" ? "text-status-success-text" : e === "in_progress" ? "text-status-warning-text" : e === "overdue" ? "text-status-error-text" : "text-text-secondary", L = () => {
|
|
38
|
+
let { id: t } = T();
|
|
39
|
+
o("housingvista.transaction.viewed", t);
|
|
40
|
+
let p = w(), { data: _, loading: C } = s(t), { updateTransaction: L, loading: R } = c();
|
|
41
|
+
if (C) return /* @__PURE__ */ E("div", {
|
|
39
42
|
className: "p-6",
|
|
40
|
-
children: /* @__PURE__ */
|
|
43
|
+
children: /* @__PURE__ */ E(a, { variant: "detail" })
|
|
41
44
|
});
|
|
42
|
-
if (!
|
|
45
|
+
if (!_) return /* @__PURE__ */ E("div", {
|
|
43
46
|
className: "p-6",
|
|
44
|
-
children: /* @__PURE__ */
|
|
47
|
+
children: /* @__PURE__ */ E(r, {
|
|
45
48
|
illustration: "empty-search",
|
|
46
|
-
icon: /* @__PURE__ */
|
|
49
|
+
icon: /* @__PURE__ */ E(x, { className: "h-12 w-12" }),
|
|
47
50
|
title: "Transaction Not Found",
|
|
48
51
|
description: "The transaction you're looking for doesn't exist or has been removed.",
|
|
49
|
-
action: /* @__PURE__ */
|
|
50
|
-
onClick: () =>
|
|
52
|
+
action: /* @__PURE__ */ D("button", {
|
|
53
|
+
onClick: () => p("../transactions"),
|
|
51
54
|
className: "inline-flex items-center gap-2 rounded-md bg-action-primary-bg px-4 py-2 text-sm font-medium text-action-primary-text",
|
|
52
|
-
children: [/* @__PURE__ */
|
|
55
|
+
children: [/* @__PURE__ */ E(m, { className: "h-4 w-4" }), "Back to Transactions"]
|
|
53
56
|
})
|
|
54
57
|
})
|
|
55
58
|
});
|
|
56
|
-
let
|
|
59
|
+
let z = Array.isArray(_.documents) ? _.documents : [], B = async (e) => {
|
|
57
60
|
if (e.length === 0) return;
|
|
58
61
|
let t = e.map((e) => ({
|
|
59
62
|
id: e.id,
|
|
@@ -64,50 +67,50 @@ var A = {
|
|
|
64
67
|
required: !1
|
|
65
68
|
}));
|
|
66
69
|
try {
|
|
67
|
-
await
|
|
70
|
+
await L(_.id, { documents: [...z, ...t] }), l.success("Document attached", `${e.length} document${e.length > 1 ? "s" : ""} added to this transaction.`);
|
|
68
71
|
} catch (e) {
|
|
69
|
-
|
|
72
|
+
l.error("Could not attach document", e.message);
|
|
70
73
|
}
|
|
71
|
-
},
|
|
74
|
+
}, V = Array.isArray(_.milestones) ? _.milestones : [], H = _.escrow && typeof _.escrow == "object" ? _.escrow : null, U = H && Array.isArray(H.conditions) ? H.conditions : [], W = _.commission && typeof _.commission == "object" ? _.commission : null, G = W && Array.isArray(W.otherCharges) ? W.otherCharges : [], K = _.property, q = _.id.split("-")[1] ?? _.id, J = [
|
|
72
75
|
{
|
|
73
76
|
role: "Buyer",
|
|
74
|
-
user:
|
|
77
|
+
user: _.buyer
|
|
75
78
|
},
|
|
76
79
|
{
|
|
77
80
|
role: "Seller",
|
|
78
|
-
user:
|
|
81
|
+
user: _.seller
|
|
79
82
|
},
|
|
80
83
|
{
|
|
81
84
|
role: "Tenant",
|
|
82
|
-
user:
|
|
85
|
+
user: _.tenant
|
|
83
86
|
},
|
|
84
87
|
{
|
|
85
88
|
role: "Landlord",
|
|
86
|
-
user:
|
|
89
|
+
user: _.landlord
|
|
87
90
|
},
|
|
88
91
|
{
|
|
89
92
|
role: "Broker",
|
|
90
|
-
user:
|
|
93
|
+
user: _.broker
|
|
91
94
|
}
|
|
92
|
-
].filter((e) => !!e.user),
|
|
95
|
+
].filter((e) => !!e.user), Y = [{
|
|
93
96
|
label: "Transactions",
|
|
94
97
|
href: "../transactions"
|
|
95
|
-
}, { label: `Transaction #${
|
|
96
|
-
return /* @__PURE__ */
|
|
98
|
+
}, { label: `Transaction #${q}` }], X = V.filter((e) => e?.status === "completed").length, Z = V.length, Q = Z > 0 ? Math.round(X / Z * 100) : 0;
|
|
99
|
+
return /* @__PURE__ */ D("div", {
|
|
97
100
|
className: "space-y-6 p-6",
|
|
98
101
|
children: [
|
|
99
|
-
/* @__PURE__ */
|
|
100
|
-
/* @__PURE__ */
|
|
102
|
+
/* @__PURE__ */ E(i, { items: Y }),
|
|
103
|
+
/* @__PURE__ */ E(A, {
|
|
101
104
|
className: "max-w-3xl",
|
|
102
105
|
children: "This is the single source of truth for one deal — its money, milestones, documents, parties, and escrow. Use it to see exactly where the transaction stands, what still needs signing or approval, and who to contact to move it to closing."
|
|
103
106
|
}),
|
|
104
|
-
/* @__PURE__ */
|
|
107
|
+
/* @__PURE__ */ E(k, {
|
|
105
108
|
storageKey: "housingvista-transaction-detail",
|
|
106
109
|
steps: [
|
|
107
110
|
{
|
|
108
111
|
id: "milestones",
|
|
109
112
|
label: "Review what is due next",
|
|
110
|
-
description: `${
|
|
113
|
+
description: `${X} of ${Z} milestones complete — check the timeline for the next step.`,
|
|
111
114
|
href: "#transaction-milestones"
|
|
112
115
|
},
|
|
113
116
|
{
|
|
@@ -126,104 +129,104 @@ var A = {
|
|
|
126
129
|
id: "back",
|
|
127
130
|
label: "Back to all transactions",
|
|
128
131
|
description: "Return to the full list of deals.",
|
|
129
|
-
onClick: () =>
|
|
132
|
+
onClick: () => p("../transactions")
|
|
130
133
|
}
|
|
131
134
|
]
|
|
132
135
|
}),
|
|
133
|
-
/* @__PURE__ */
|
|
136
|
+
/* @__PURE__ */ E("div", {
|
|
134
137
|
className: "flex flex-col gap-4 lg:flex-row lg:items-center lg:justify-between",
|
|
135
|
-
children: /* @__PURE__ */
|
|
138
|
+
children: /* @__PURE__ */ D("div", {
|
|
136
139
|
className: "flex items-center gap-4",
|
|
137
|
-
children: [/* @__PURE__ */
|
|
138
|
-
onClick: () =>
|
|
140
|
+
children: [/* @__PURE__ */ D("button", {
|
|
141
|
+
onClick: () => p("../transactions"),
|
|
139
142
|
className: "inline-flex items-center gap-2 rounded-md border border-border-subtle px-3 py-1.5 text-sm text-text-primary transition-colors hover:bg-bg-sunken",
|
|
140
|
-
children: [/* @__PURE__ */
|
|
141
|
-
}), /* @__PURE__ */
|
|
143
|
+
children: [/* @__PURE__ */ E(m, { className: "h-4 w-4" }), "Back"]
|
|
144
|
+
}), /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ D("h1", {
|
|
142
145
|
className: "text-2xl font-bold text-text-primary",
|
|
143
|
-
children: ["Transaction #",
|
|
144
|
-
}), /* @__PURE__ */
|
|
146
|
+
children: ["Transaction #", q]
|
|
147
|
+
}), /* @__PURE__ */ D("div", {
|
|
145
148
|
className: "mt-1 flex items-center gap-2",
|
|
146
|
-
children: [/* @__PURE__ */
|
|
147
|
-
label:
|
|
148
|
-
variant:
|
|
149
|
+
children: [/* @__PURE__ */ E(n, {
|
|
150
|
+
label: _.status.replace(/_/g, " "),
|
|
151
|
+
variant: j[_.status] ?? "default",
|
|
149
152
|
dot: !0
|
|
150
|
-
}), /* @__PURE__ */
|
|
151
|
-
label:
|
|
153
|
+
}), /* @__PURE__ */ E(n, {
|
|
154
|
+
label: _.type,
|
|
152
155
|
variant: "muted"
|
|
153
156
|
})]
|
|
154
157
|
})] })]
|
|
155
158
|
})
|
|
156
159
|
}),
|
|
157
|
-
/* @__PURE__ */
|
|
160
|
+
/* @__PURE__ */ E(O, {
|
|
158
161
|
className: "p-4",
|
|
159
|
-
children: /* @__PURE__ */
|
|
162
|
+
children: /* @__PURE__ */ D("div", {
|
|
160
163
|
className: "grid grid-cols-2 gap-4 lg:grid-cols-4",
|
|
161
164
|
children: [
|
|
162
|
-
/* @__PURE__ */
|
|
165
|
+
/* @__PURE__ */ D("div", {
|
|
163
166
|
className: "rounded-lg border border-border-subtle bg-bg-surface p-4",
|
|
164
|
-
children: [/* @__PURE__ */
|
|
167
|
+
children: [/* @__PURE__ */ D("div", {
|
|
165
168
|
className: "flex items-center gap-2 text-text-secondary",
|
|
166
|
-
children: [/* @__PURE__ */
|
|
169
|
+
children: [/* @__PURE__ */ E(y, { className: "h-4 w-4" }), /* @__PURE__ */ E("span", {
|
|
167
170
|
className: "text-xs font-medium",
|
|
168
171
|
children: "Amount"
|
|
169
172
|
})]
|
|
170
|
-
}), /* @__PURE__ */
|
|
173
|
+
}), /* @__PURE__ */ E("div", {
|
|
171
174
|
className: "mt-2 text-xl font-bold text-text-primary",
|
|
172
|
-
children: e(
|
|
175
|
+
children: e(_.amount, _.currency)
|
|
173
176
|
})]
|
|
174
177
|
}),
|
|
175
|
-
/* @__PURE__ */
|
|
178
|
+
/* @__PURE__ */ D("div", {
|
|
176
179
|
className: "rounded-lg border border-border-subtle bg-bg-surface p-4",
|
|
177
|
-
children: [/* @__PURE__ */
|
|
180
|
+
children: [/* @__PURE__ */ D("div", {
|
|
178
181
|
className: "flex items-center gap-2 text-text-secondary",
|
|
179
|
-
children: [/* @__PURE__ */
|
|
182
|
+
children: [/* @__PURE__ */ E(x, { className: "h-4 w-4" }), /* @__PURE__ */ E("span", {
|
|
180
183
|
className: "text-xs font-medium",
|
|
181
184
|
children: "Type"
|
|
182
185
|
})]
|
|
183
|
-
}), /* @__PURE__ */
|
|
186
|
+
}), /* @__PURE__ */ E("div", {
|
|
184
187
|
className: "mt-2 text-xl font-bold capitalize text-text-primary",
|
|
185
|
-
children:
|
|
188
|
+
children: _.type
|
|
186
189
|
})]
|
|
187
190
|
}),
|
|
188
|
-
/* @__PURE__ */
|
|
191
|
+
/* @__PURE__ */ D("div", {
|
|
189
192
|
className: "rounded-lg border border-border-subtle bg-bg-surface p-4",
|
|
190
193
|
children: [
|
|
191
|
-
/* @__PURE__ */
|
|
194
|
+
/* @__PURE__ */ D("div", {
|
|
192
195
|
className: "flex items-center gap-2 text-text-secondary",
|
|
193
|
-
children: [/* @__PURE__ */
|
|
196
|
+
children: [/* @__PURE__ */ E(h, { className: "h-4 w-4" }), /* @__PURE__ */ E("span", {
|
|
194
197
|
className: "text-xs font-medium",
|
|
195
198
|
children: "Property"
|
|
196
199
|
})]
|
|
197
200
|
}),
|
|
198
|
-
/* @__PURE__ */
|
|
201
|
+
/* @__PURE__ */ E("div", {
|
|
199
202
|
className: "mt-2 truncate text-sm font-bold text-text-primary",
|
|
200
|
-
children:
|
|
203
|
+
children: K?.title ?? "—"
|
|
201
204
|
}),
|
|
202
|
-
/* @__PURE__ */
|
|
205
|
+
/* @__PURE__ */ D("div", {
|
|
203
206
|
className: "truncate text-xs text-text-secondary",
|
|
204
|
-
children: [
|
|
207
|
+
children: [K?.location?.city ?? "—", K?.location?.state ? `, ${K.location.state}` : ""]
|
|
205
208
|
})
|
|
206
209
|
]
|
|
207
210
|
}),
|
|
208
|
-
/* @__PURE__ */
|
|
211
|
+
/* @__PURE__ */ D("div", {
|
|
209
212
|
className: "rounded-lg border border-border-subtle bg-bg-surface p-4",
|
|
210
213
|
children: [
|
|
211
|
-
/* @__PURE__ */
|
|
214
|
+
/* @__PURE__ */ D("div", {
|
|
212
215
|
className: "flex items-center gap-2 text-text-secondary",
|
|
213
|
-
children: [/* @__PURE__ */
|
|
216
|
+
children: [/* @__PURE__ */ E(g, { className: "h-4 w-4" }), /* @__PURE__ */ E("span", {
|
|
214
217
|
className: "text-xs font-medium",
|
|
215
218
|
children: "Progress"
|
|
216
219
|
})]
|
|
217
220
|
}),
|
|
218
|
-
/* @__PURE__ */
|
|
221
|
+
/* @__PURE__ */ D("div", {
|
|
219
222
|
className: "mt-2 text-xl font-bold text-text-primary",
|
|
220
|
-
children: [
|
|
223
|
+
children: [Q, "%"]
|
|
221
224
|
}),
|
|
222
|
-
/* @__PURE__ */
|
|
225
|
+
/* @__PURE__ */ E("div", {
|
|
223
226
|
className: "mt-1 h-1.5 w-full rounded-full bg-bg-sunken",
|
|
224
|
-
children: /* @__PURE__ */
|
|
227
|
+
children: /* @__PURE__ */ E("div", {
|
|
225
228
|
className: "h-1.5 rounded-full bg-action-primary-bg transition-all",
|
|
226
|
-
style: { width: `${
|
|
229
|
+
style: { width: `${Q}%` }
|
|
227
230
|
})
|
|
228
231
|
})
|
|
229
232
|
]
|
|
@@ -231,158 +234,158 @@ var A = {
|
|
|
231
234
|
]
|
|
232
235
|
})
|
|
233
236
|
}),
|
|
234
|
-
|
|
237
|
+
V.length > 0 && /* @__PURE__ */ D("div", {
|
|
235
238
|
className: "rounded-lg border border-border-subtle bg-bg-surface p-5",
|
|
236
|
-
children: [/* @__PURE__ */
|
|
239
|
+
children: [/* @__PURE__ */ D("h2", {
|
|
237
240
|
className: "mb-4 flex items-center gap-2 text-base font-semibold text-text-primary",
|
|
238
|
-
children: [/* @__PURE__ */
|
|
239
|
-
}), /* @__PURE__ */
|
|
241
|
+
children: [/* @__PURE__ */ E(S, { className: "h-5 w-5" }), "Deal progress"]
|
|
242
|
+
}), /* @__PURE__ */ E(d, { milestones: f(_.milestones) })]
|
|
240
243
|
}),
|
|
241
|
-
/* @__PURE__ */
|
|
244
|
+
/* @__PURE__ */ D("div", {
|
|
242
245
|
className: "grid grid-cols-1 gap-6 lg:grid-cols-3",
|
|
243
|
-
children: [/* @__PURE__ */
|
|
246
|
+
children: [/* @__PURE__ */ D("div", {
|
|
244
247
|
className: "space-y-6 lg:col-span-2",
|
|
245
248
|
children: [
|
|
246
|
-
/* @__PURE__ */
|
|
249
|
+
/* @__PURE__ */ D("div", {
|
|
247
250
|
className: "rounded-lg border border-border-subtle bg-bg-surface p-6",
|
|
248
|
-
children: [/* @__PURE__ */
|
|
251
|
+
children: [/* @__PURE__ */ E("h2", {
|
|
249
252
|
className: "mb-4 text-base font-semibold text-text-primary",
|
|
250
253
|
children: "Transaction Overview"
|
|
251
|
-
}), /* @__PURE__ */
|
|
254
|
+
}), /* @__PURE__ */ D("div", {
|
|
252
255
|
className: "grid grid-cols-1 gap-6 sm:grid-cols-2",
|
|
253
|
-
children: [/* @__PURE__ */
|
|
256
|
+
children: [/* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("h4", {
|
|
254
257
|
className: "mb-3 text-sm font-medium text-text-primary",
|
|
255
258
|
children: "Property Details"
|
|
256
|
-
}), /* @__PURE__ */
|
|
259
|
+
}), /* @__PURE__ */ D("dl", {
|
|
257
260
|
className: "space-y-2 text-sm",
|
|
258
261
|
children: [
|
|
259
|
-
/* @__PURE__ */
|
|
262
|
+
/* @__PURE__ */ D("div", {
|
|
260
263
|
className: "flex justify-between",
|
|
261
|
-
children: [/* @__PURE__ */
|
|
264
|
+
children: [/* @__PURE__ */ E("dt", {
|
|
262
265
|
className: "text-text-secondary",
|
|
263
266
|
children: "Property"
|
|
264
|
-
}), /* @__PURE__ */
|
|
267
|
+
}), /* @__PURE__ */ E("dd", {
|
|
265
268
|
className: "font-medium text-text-primary",
|
|
266
|
-
children:
|
|
269
|
+
children: K?.title ?? "—"
|
|
267
270
|
})]
|
|
268
271
|
}),
|
|
269
|
-
/* @__PURE__ */
|
|
272
|
+
/* @__PURE__ */ D("div", {
|
|
270
273
|
className: "flex justify-between",
|
|
271
|
-
children: [/* @__PURE__ */
|
|
274
|
+
children: [/* @__PURE__ */ E("dt", {
|
|
272
275
|
className: "text-text-secondary",
|
|
273
276
|
children: "Location"
|
|
274
|
-
}), /* @__PURE__ */
|
|
277
|
+
}), /* @__PURE__ */ D("dd", {
|
|
275
278
|
className: "text-text-primary",
|
|
276
|
-
children: [
|
|
279
|
+
children: [K?.location?.city ?? "—", K?.location?.state ? `, ${K.location.state}` : ""]
|
|
277
280
|
})]
|
|
278
281
|
}),
|
|
279
|
-
/* @__PURE__ */
|
|
282
|
+
/* @__PURE__ */ D("div", {
|
|
280
283
|
className: "flex justify-between",
|
|
281
|
-
children: [/* @__PURE__ */
|
|
284
|
+
children: [/* @__PURE__ */ E("dt", {
|
|
282
285
|
className: "text-text-secondary",
|
|
283
286
|
children: "Type"
|
|
284
|
-
}), /* @__PURE__ */
|
|
287
|
+
}), /* @__PURE__ */ E("dd", {
|
|
285
288
|
className: "capitalize text-text-primary",
|
|
286
|
-
children:
|
|
289
|
+
children: K?.type ? K.type.replace("_", " ") : "—"
|
|
287
290
|
})]
|
|
288
291
|
})
|
|
289
292
|
]
|
|
290
|
-
})] }), /* @__PURE__ */
|
|
293
|
+
})] }), /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("h4", {
|
|
291
294
|
className: "mb-3 text-sm font-medium text-text-primary",
|
|
292
295
|
children: "Transaction Details"
|
|
293
|
-
}), /* @__PURE__ */
|
|
296
|
+
}), /* @__PURE__ */ D("dl", {
|
|
294
297
|
className: "space-y-2 text-sm",
|
|
295
298
|
children: [
|
|
296
|
-
/* @__PURE__ */
|
|
299
|
+
/* @__PURE__ */ D("div", {
|
|
297
300
|
className: "flex justify-between",
|
|
298
|
-
children: [/* @__PURE__ */
|
|
301
|
+
children: [/* @__PURE__ */ E("dt", {
|
|
299
302
|
className: "text-text-secondary",
|
|
300
303
|
children: "Created"
|
|
301
|
-
}), /* @__PURE__ */
|
|
304
|
+
}), /* @__PURE__ */ E("dd", {
|
|
302
305
|
className: "text-text-primary",
|
|
303
|
-
children:
|
|
306
|
+
children: N(_.createdAt)
|
|
304
307
|
})]
|
|
305
308
|
}),
|
|
306
|
-
/* @__PURE__ */
|
|
309
|
+
/* @__PURE__ */ D("div", {
|
|
307
310
|
className: "flex justify-between",
|
|
308
|
-
children: [/* @__PURE__ */
|
|
311
|
+
children: [/* @__PURE__ */ E("dt", {
|
|
309
312
|
className: "text-text-secondary",
|
|
310
313
|
children: "Last Updated"
|
|
311
|
-
}), /* @__PURE__ */
|
|
314
|
+
}), /* @__PURE__ */ E("dd", {
|
|
312
315
|
className: "text-text-primary",
|
|
313
|
-
children:
|
|
316
|
+
children: N(_.updatedAt)
|
|
314
317
|
})]
|
|
315
318
|
}),
|
|
316
|
-
|
|
319
|
+
_.expectedCompletionDate && /* @__PURE__ */ D("div", {
|
|
317
320
|
className: "flex justify-between",
|
|
318
|
-
children: [/* @__PURE__ */
|
|
321
|
+
children: [/* @__PURE__ */ E("dt", {
|
|
319
322
|
className: "text-text-secondary",
|
|
320
323
|
children: "Expected Completion"
|
|
321
|
-
}), /* @__PURE__ */
|
|
324
|
+
}), /* @__PURE__ */ E("dd", {
|
|
322
325
|
className: "text-text-primary",
|
|
323
|
-
children:
|
|
326
|
+
children: N(_.expectedCompletionDate)
|
|
324
327
|
})]
|
|
325
328
|
}),
|
|
326
|
-
|
|
329
|
+
_.actualCompletionDate && /* @__PURE__ */ D("div", {
|
|
327
330
|
className: "flex justify-between",
|
|
328
|
-
children: [/* @__PURE__ */
|
|
331
|
+
children: [/* @__PURE__ */ E("dt", {
|
|
329
332
|
className: "text-text-secondary",
|
|
330
333
|
children: "Completed"
|
|
331
|
-
}), /* @__PURE__ */
|
|
334
|
+
}), /* @__PURE__ */ E("dd", {
|
|
332
335
|
className: "text-text-primary",
|
|
333
|
-
children:
|
|
336
|
+
children: N(_.actualCompletionDate)
|
|
334
337
|
})]
|
|
335
338
|
})
|
|
336
339
|
]
|
|
337
340
|
})] })]
|
|
338
341
|
})]
|
|
339
342
|
}),
|
|
340
|
-
/* @__PURE__ */
|
|
343
|
+
/* @__PURE__ */ D("div", {
|
|
341
344
|
className: "rounded-lg border border-border-subtle bg-bg-surface p-6",
|
|
342
345
|
children: [
|
|
343
|
-
/* @__PURE__ */
|
|
346
|
+
/* @__PURE__ */ D("h2", {
|
|
344
347
|
className: "mb-4 flex items-center gap-2 text-base font-semibold text-text-primary",
|
|
345
|
-
children: [/* @__PURE__ */
|
|
348
|
+
children: [/* @__PURE__ */ E(y, { className: "h-5 w-5" }), "Financial Breakdown"]
|
|
346
349
|
}),
|
|
347
|
-
/* @__PURE__ */
|
|
350
|
+
/* @__PURE__ */ D("div", {
|
|
348
351
|
className: "mb-4 flex items-center justify-between text-lg font-semibold",
|
|
349
|
-
children: [/* @__PURE__ */
|
|
352
|
+
children: [/* @__PURE__ */ E("span", {
|
|
350
353
|
className: "text-text-primary",
|
|
351
354
|
children: "Total Amount"
|
|
352
|
-
}), /* @__PURE__ */
|
|
355
|
+
}), /* @__PURE__ */ E("span", {
|
|
353
356
|
className: "text-2xl text-text-primary",
|
|
354
|
-
children: e(
|
|
357
|
+
children: e(_.amount, _.currency)
|
|
355
358
|
})]
|
|
356
359
|
}),
|
|
357
|
-
|
|
360
|
+
W && /* @__PURE__ */ D("div", {
|
|
358
361
|
className: "space-y-2 border-t border-border-subtle pt-4 text-sm",
|
|
359
362
|
children: [
|
|
360
|
-
/* @__PURE__ */
|
|
363
|
+
/* @__PURE__ */ D("div", {
|
|
361
364
|
className: "flex justify-between",
|
|
362
|
-
children: [/* @__PURE__ */
|
|
365
|
+
children: [/* @__PURE__ */ E("span", {
|
|
363
366
|
className: "text-text-secondary",
|
|
364
367
|
children: "Broker Commission"
|
|
365
|
-
}), /* @__PURE__ */
|
|
368
|
+
}), /* @__PURE__ */ E("span", {
|
|
366
369
|
className: "font-medium text-text-primary",
|
|
367
|
-
children: e(
|
|
370
|
+
children: e(W.brokerCommission ?? 0)
|
|
368
371
|
})]
|
|
369
372
|
}),
|
|
370
|
-
/* @__PURE__ */
|
|
373
|
+
/* @__PURE__ */ D("div", {
|
|
371
374
|
className: "flex justify-between",
|
|
372
|
-
children: [/* @__PURE__ */
|
|
375
|
+
children: [/* @__PURE__ */ E("span", {
|
|
373
376
|
className: "text-text-secondary",
|
|
374
377
|
children: "Platform Commission"
|
|
375
|
-
}), /* @__PURE__ */
|
|
378
|
+
}), /* @__PURE__ */ E("span", {
|
|
376
379
|
className: "font-medium text-text-primary",
|
|
377
|
-
children: e(
|
|
380
|
+
children: e(W.platformCommission ?? 0)
|
|
378
381
|
})]
|
|
379
382
|
}),
|
|
380
|
-
|
|
383
|
+
G.map((t, n) => /* @__PURE__ */ D("div", {
|
|
381
384
|
className: "flex justify-between",
|
|
382
|
-
children: [/* @__PURE__ */
|
|
385
|
+
children: [/* @__PURE__ */ E("span", {
|
|
383
386
|
className: "text-text-secondary",
|
|
384
387
|
children: t?.description ?? t?.type ?? "Charge"
|
|
385
|
-
}), /* @__PURE__ */
|
|
388
|
+
}), /* @__PURE__ */ E("span", {
|
|
386
389
|
className: "font-medium text-text-primary",
|
|
387
390
|
children: e(t?.amount ?? 0)
|
|
388
391
|
})]
|
|
@@ -391,47 +394,47 @@ var A = {
|
|
|
391
394
|
})
|
|
392
395
|
]
|
|
393
396
|
}),
|
|
394
|
-
/* @__PURE__ */
|
|
397
|
+
/* @__PURE__ */ D("div", {
|
|
395
398
|
id: "transaction-milestones",
|
|
396
399
|
className: "scroll-mt-6 rounded-lg border border-border-subtle bg-bg-surface p-6",
|
|
397
|
-
children: [/* @__PURE__ */
|
|
400
|
+
children: [/* @__PURE__ */ D("h2", {
|
|
398
401
|
className: "mb-4 flex items-center gap-2 text-base font-semibold text-text-primary",
|
|
399
|
-
children: [/* @__PURE__ */
|
|
400
|
-
}),
|
|
402
|
+
children: [/* @__PURE__ */ E(S, { className: "h-5 w-5" }), "Transaction Milestones"]
|
|
403
|
+
}), V.length > 0 ? /* @__PURE__ */ E("div", {
|
|
401
404
|
className: "space-y-3",
|
|
402
|
-
children:
|
|
405
|
+
children: V.map((e, t) => {
|
|
403
406
|
let r = typeof e?.status == "string" ? e.status : "";
|
|
404
|
-
return /* @__PURE__ */
|
|
407
|
+
return /* @__PURE__ */ D("div", {
|
|
405
408
|
className: "flex items-center justify-between rounded-lg bg-bg-sunken/50 p-4",
|
|
406
|
-
children: [/* @__PURE__ */
|
|
409
|
+
children: [/* @__PURE__ */ D("div", {
|
|
407
410
|
className: "flex items-start gap-3",
|
|
408
|
-
children: [/* @__PURE__ */
|
|
409
|
-
/* @__PURE__ */
|
|
411
|
+
children: [/* @__PURE__ */ E(M[r] ?? v, { className: `mt-0.5 h-5 w-5 ${I(r)}` }), /* @__PURE__ */ D("div", { children: [
|
|
412
|
+
/* @__PURE__ */ E("p", {
|
|
410
413
|
className: "text-sm font-medium text-text-primary",
|
|
411
414
|
children: e?.title ?? "Milestone"
|
|
412
415
|
}),
|
|
413
|
-
e?.description && /* @__PURE__ */
|
|
416
|
+
e?.description && /* @__PURE__ */ E("p", {
|
|
414
417
|
className: "text-xs text-text-secondary",
|
|
415
418
|
children: e.description
|
|
416
419
|
}),
|
|
417
|
-
/* @__PURE__ */
|
|
420
|
+
/* @__PURE__ */ D("p", {
|
|
418
421
|
className: "mt-1 text-xs text-text-secondary",
|
|
419
|
-
children: ["Due: ",
|
|
422
|
+
children: ["Due: ", N(e?.dueDate)]
|
|
420
423
|
})
|
|
421
424
|
] })]
|
|
422
|
-
}), /* @__PURE__ */
|
|
425
|
+
}), /* @__PURE__ */ D("div", {
|
|
423
426
|
className: "text-right",
|
|
424
|
-
children: [/* @__PURE__ */
|
|
427
|
+
children: [/* @__PURE__ */ E(n, {
|
|
425
428
|
label: r ? r.replace(/_/g, " ") : "pending",
|
|
426
|
-
variant:
|
|
427
|
-
}), e?.completedAt && /* @__PURE__ */
|
|
429
|
+
variant: j[r] ?? "default"
|
|
430
|
+
}), e?.completedAt && /* @__PURE__ */ D("p", {
|
|
428
431
|
className: "mt-1 text-xs text-text-secondary",
|
|
429
|
-
children: ["Completed: ",
|
|
432
|
+
children: ["Completed: ", N(e.completedAt)]
|
|
430
433
|
})]
|
|
431
434
|
})]
|
|
432
435
|
}, e?.id ?? t);
|
|
433
436
|
})
|
|
434
|
-
}) : /* @__PURE__ */
|
|
437
|
+
}) : /* @__PURE__ */ E(r, {
|
|
435
438
|
illustration: "empty-files",
|
|
436
439
|
title: "No milestones yet",
|
|
437
440
|
description: "Milestones will appear here as the deal progresses toward closing.",
|
|
@@ -439,120 +442,120 @@ var A = {
|
|
|
439
442
|
})]
|
|
440
443
|
})
|
|
441
444
|
]
|
|
442
|
-
}), /* @__PURE__ */
|
|
445
|
+
}), /* @__PURE__ */ D("div", {
|
|
443
446
|
className: "space-y-6",
|
|
444
447
|
children: [
|
|
445
|
-
/* @__PURE__ */
|
|
448
|
+
/* @__PURE__ */ D("div", {
|
|
446
449
|
id: "transaction-documents",
|
|
447
450
|
className: "scroll-mt-6 rounded-lg border border-border-subtle bg-bg-surface p-5",
|
|
448
|
-
children: [/* @__PURE__ */
|
|
451
|
+
children: [/* @__PURE__ */ E("h3", {
|
|
449
452
|
className: "mb-4 text-base font-semibold text-text-primary",
|
|
450
453
|
children: "Documents"
|
|
451
|
-
}),
|
|
454
|
+
}), z.length > 0 ? /* @__PURE__ */ D("div", {
|
|
452
455
|
className: "space-y-3",
|
|
453
|
-
children: [
|
|
456
|
+
children: [z.map((e, t) => /* @__PURE__ */ D("div", {
|
|
454
457
|
className: "flex items-center justify-between rounded-lg border border-border-subtle p-3",
|
|
455
|
-
children: [/* @__PURE__ */
|
|
458
|
+
children: [/* @__PURE__ */ D("div", {
|
|
456
459
|
className: "flex items-center gap-3",
|
|
457
|
-
children: [/* @__PURE__ */
|
|
460
|
+
children: [/* @__PURE__ */ E(x, { className: "h-4 w-4 text-text-secondary" }), /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("p", {
|
|
458
461
|
className: "text-sm font-medium text-text-primary",
|
|
459
462
|
children: e?.name ?? "Document"
|
|
460
|
-
}), /* @__PURE__ */
|
|
463
|
+
}), /* @__PURE__ */ E("p", {
|
|
461
464
|
className: "text-xs text-text-secondary",
|
|
462
|
-
children: e?.signedAt ?
|
|
465
|
+
children: e?.signedAt ? N(e.signedAt) : "Not signed"
|
|
463
466
|
})] })]
|
|
464
|
-
}), /* @__PURE__ */
|
|
467
|
+
}), /* @__PURE__ */ D("div", {
|
|
465
468
|
className: "flex items-center gap-2",
|
|
466
|
-
children: [/* @__PURE__ */
|
|
469
|
+
children: [/* @__PURE__ */ E(n, {
|
|
467
470
|
label: e?.signed ? "Signed" : "Pending",
|
|
468
471
|
variant: e?.signed ? "success" : "warning"
|
|
469
|
-
}), typeof e?.url == "string" && e.url ? /* @__PURE__ */
|
|
472
|
+
}), typeof e?.url == "string" && e.url ? /* @__PURE__ */ E("a", {
|
|
470
473
|
href: e.url,
|
|
471
474
|
target: "_blank",
|
|
472
475
|
rel: "noopener noreferrer",
|
|
473
476
|
"aria-label": `Download ${e?.name ?? "document"}`,
|
|
474
477
|
className: "rounded-md p-1 text-text-secondary transition-colors hover:text-text-primary",
|
|
475
|
-
children: /* @__PURE__ */
|
|
478
|
+
children: /* @__PURE__ */ E(b, { className: "h-4 w-4" })
|
|
476
479
|
}) : null]
|
|
477
480
|
})]
|
|
478
|
-
}, e?.id ?? t)), /* @__PURE__ */
|
|
479
|
-
onUploaded:
|
|
480
|
-
label:
|
|
481
|
+
}, e?.id ?? t)), /* @__PURE__ */ E(u, {
|
|
482
|
+
onUploaded: B,
|
|
483
|
+
label: R ? "Saving…" : "Upload document"
|
|
481
484
|
})]
|
|
482
|
-
}) : /* @__PURE__ */
|
|
485
|
+
}) : /* @__PURE__ */ E(r, {
|
|
483
486
|
illustration: "empty-files",
|
|
484
487
|
title: "No documents yet",
|
|
485
488
|
description: "Upload contracts, agreements, and disclosures to keep this deal moving.",
|
|
486
489
|
className: "border-0 bg-transparent p-4",
|
|
487
|
-
action: /* @__PURE__ */
|
|
488
|
-
onUploaded:
|
|
489
|
-
label:
|
|
490
|
+
action: /* @__PURE__ */ E(u, {
|
|
491
|
+
onUploaded: B,
|
|
492
|
+
label: R ? "Saving…" : "Upload document",
|
|
490
493
|
className: "w-full"
|
|
491
494
|
})
|
|
492
495
|
})]
|
|
493
496
|
}),
|
|
494
|
-
/* @__PURE__ */
|
|
497
|
+
/* @__PURE__ */ D("div", {
|
|
495
498
|
id: "transaction-parties",
|
|
496
499
|
className: "scroll-mt-6 rounded-lg border border-border-subtle bg-bg-surface p-5",
|
|
497
|
-
children: [/* @__PURE__ */
|
|
500
|
+
children: [/* @__PURE__ */ E("h3", {
|
|
498
501
|
className: "mb-4 text-base font-semibold text-text-primary",
|
|
499
502
|
children: "Parties Involved"
|
|
500
|
-
}),
|
|
503
|
+
}), J.length > 0 ? /* @__PURE__ */ E("div", {
|
|
501
504
|
className: "space-y-4",
|
|
502
|
-
children:
|
|
505
|
+
children: J.map(({ role: e, user: t }) => /* @__PURE__ */ D("div", {
|
|
503
506
|
className: "flex items-center gap-3",
|
|
504
|
-
children: [/* @__PURE__ */
|
|
507
|
+
children: [/* @__PURE__ */ E("div", {
|
|
505
508
|
className: "flex h-8 w-8 items-center justify-center rounded-full bg-bg-sunken text-xs font-semibold text-text-primary",
|
|
506
|
-
children:
|
|
507
|
-
}), /* @__PURE__ */
|
|
509
|
+
children: P(t)
|
|
510
|
+
}), /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("p", {
|
|
508
511
|
className: "text-sm font-medium text-text-primary",
|
|
509
512
|
children: e
|
|
510
|
-
}), /* @__PURE__ */
|
|
513
|
+
}), /* @__PURE__ */ E("p", {
|
|
511
514
|
className: "text-xs text-text-secondary",
|
|
512
|
-
children:
|
|
515
|
+
children: F(t)
|
|
513
516
|
})] })]
|
|
514
517
|
}, e))
|
|
515
|
-
}) : /* @__PURE__ */
|
|
518
|
+
}) : /* @__PURE__ */ E(r, {
|
|
516
519
|
illustration: "empty-search",
|
|
517
520
|
title: "No parties yet",
|
|
518
521
|
description: "Buyers, sellers, and brokers will appear here once they join the deal.",
|
|
519
522
|
className: "border-0 bg-transparent p-4"
|
|
520
523
|
})]
|
|
521
524
|
}),
|
|
522
|
-
|
|
525
|
+
H && /* @__PURE__ */ D("div", {
|
|
523
526
|
className: "rounded-lg border border-border-subtle bg-bg-surface p-5",
|
|
524
|
-
children: [/* @__PURE__ */
|
|
527
|
+
children: [/* @__PURE__ */ E("h3", {
|
|
525
528
|
className: "mb-4 text-base font-semibold text-text-primary",
|
|
526
529
|
children: "Escrow Details"
|
|
527
|
-
}), /* @__PURE__ */
|
|
530
|
+
}), /* @__PURE__ */ D("dl", {
|
|
528
531
|
className: "space-y-2 text-sm",
|
|
529
532
|
children: [
|
|
530
|
-
/* @__PURE__ */
|
|
533
|
+
/* @__PURE__ */ D("div", {
|
|
531
534
|
className: "flex justify-between",
|
|
532
|
-
children: [/* @__PURE__ */
|
|
535
|
+
children: [/* @__PURE__ */ E("dt", {
|
|
533
536
|
className: "text-text-secondary",
|
|
534
537
|
children: "Escrow Amount"
|
|
535
|
-
}), /* @__PURE__ */
|
|
538
|
+
}), /* @__PURE__ */ E("dd", {
|
|
536
539
|
className: "font-medium text-text-primary",
|
|
537
|
-
children: e(
|
|
540
|
+
children: e(H.amount ?? 0)
|
|
538
541
|
})]
|
|
539
542
|
}),
|
|
540
|
-
/* @__PURE__ */
|
|
543
|
+
/* @__PURE__ */ D("div", {
|
|
541
544
|
className: "flex justify-between",
|
|
542
|
-
children: [/* @__PURE__ */
|
|
545
|
+
children: [/* @__PURE__ */ E("dt", {
|
|
543
546
|
className: "text-text-secondary",
|
|
544
547
|
children: "Status"
|
|
545
|
-
}), /* @__PURE__ */
|
|
546
|
-
label:
|
|
547
|
-
variant:
|
|
548
|
+
}), /* @__PURE__ */ E("dd", { children: /* @__PURE__ */ E(n, {
|
|
549
|
+
label: H.status ?? "created",
|
|
550
|
+
variant: H.status === "released" ? "success" : H.status === "funded" ? "info" : H.status === "refunded" ? "warning" : "muted"
|
|
548
551
|
}) })]
|
|
549
552
|
}),
|
|
550
|
-
|
|
553
|
+
U.length > 0 && /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("dt", {
|
|
551
554
|
className: "mb-1 text-text-secondary",
|
|
552
555
|
children: "Release Conditions"
|
|
553
|
-
}), /* @__PURE__ */
|
|
556
|
+
}), /* @__PURE__ */ E("dd", { children: /* @__PURE__ */ E("ul", {
|
|
554
557
|
className: "list-inside list-disc text-xs text-text-primary",
|
|
555
|
-
children:
|
|
558
|
+
children: U.map((e, t) => /* @__PURE__ */ E("li", { children: e }, t))
|
|
556
559
|
}) })] })
|
|
557
560
|
]
|
|
558
561
|
})]
|
|
@@ -564,6 +567,6 @@ var A = {
|
|
|
564
567
|
});
|
|
565
568
|
};
|
|
566
569
|
//#endregion
|
|
567
|
-
export {
|
|
570
|
+
export { L as TransactionDetailPage };
|
|
568
571
|
|
|
569
572
|
//# sourceMappingURL=TransactionDetailPage.js.map
|