@burdenoff/microfe-housingvista 2026.1102.2 → 2026.1102.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/components/ServiceCategoryIcon.d.ts +13 -0
- package/dist/housingvista/components/ServiceCategoryIcon.d.ts.map +1 -0
- package/dist/housingvista/components/ServiceCategoryIcon.js +23 -0
- package/dist/housingvista/components/ServiceCategoryIcon.js.map +1 -0
- package/dist/housingvista/pages/legal/LegalPage.d.ts.map +1 -1
- package/dist/housingvista/pages/legal/LegalPage.js +87 -110
- package/dist/housingvista/pages/legal/LegalPage.js.map +1 -1
- package/dist/housingvista/pages/marketplace/MarketplacePage.d.ts.map +1 -1
- package/dist/housingvista/pages/marketplace/MarketplacePage.js +80 -113
- 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 +127 -135
- 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 +110 -176
- package/dist/housingvista/pages/offers/OffersPage.js.map +1 -1
- package/dist/housingvista/pages/offers/offerTimeline.d.ts +14 -0
- package/dist/housingvista/pages/offers/offerTimeline.d.ts.map +1 -0
- package/dist/housingvista/pages/offers/offerTimeline.js +77 -0
- package/dist/housingvista/pages/offers/offerTimeline.js.map +1 -0
- package/dist/housingvista/pages/properties/PropertyDetailPage.d.ts.map +1 -1
- package/dist/housingvista/pages/properties/PropertyDetailPage.js +262 -257
- package/dist/housingvista/pages/properties/PropertyDetailPage.js.map +1 -1
- package/dist/housingvista/services/createSandboxAssistantTransport.d.ts.map +1 -1
- package/dist/housingvista/services/createSandboxAssistantTransport.js +12 -6
- package/dist/housingvista/services/createSandboxAssistantTransport.js.map +1 -1
- package/dist/housingvista/types/index.d.ts +1 -1
- package/dist/housingvista/types/index.d.ts.map +1 -1
- package/dist/housingvista/utils/assistantRetry.d.ts +31 -0
- package/dist/housingvista/utils/assistantRetry.d.ts.map +1 -0
- package/dist/housingvista/utils/assistantRetry.js +33 -0
- package/dist/housingvista/utils/assistantRetry.js.map +1 -0
- package/dist/housingvista/utils/serviceCategories.d.ts +105 -0
- package/dist/housingvista/utils/serviceCategories.d.ts.map +1 -0
- package/dist/housingvista/utils/serviceCategories.js +70 -0
- package/dist/housingvista/utils/serviceCategories.js.map +1 -0
- package/dist/housingvista/utils/similarProperties.d.ts +14 -0
- package/dist/housingvista/utils/similarProperties.d.ts.map +1 -0
- package/dist/housingvista/utils/similarProperties.js +17 -0
- package/dist/housingvista/utils/similarProperties.js.map +1 -0
- package/package.json +1 -1
|
@@ -8,312 +8,304 @@ import { useMarketplaceService as o } from "../../hooks/index.js";
|
|
|
8
8
|
import { ContactOwnerDialog as s } from "../../components/ContactOwnerDialog.js";
|
|
9
9
|
import { ReviewsSection as c } from "../../components/ReviewsSection.js";
|
|
10
10
|
import "../../components/index.js";
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
11
|
+
import { ServiceCategoryIcon as l } from "../../components/ServiceCategoryIcon.js";
|
|
12
|
+
import { useState as u } from "react";
|
|
13
|
+
import { ArrowLeft as d, CheckCircle as f, Clock as p, MapPin as m, MessageCircle as h, Phone as g, Star as _, Users as v } from "lucide-react";
|
|
14
|
+
import { useLocation as y, useNavigate as b, useParams as x } from "react-router";
|
|
15
|
+
import { jsx as S, jsxs as C } from "react/jsx-runtime";
|
|
16
|
+
import { Button as w, EmphasisPanel as T, GlassCard as E, PagePurpose as D } from "@burdenoff/fe-libs/ui";
|
|
16
17
|
//#region src/housingvista/pages/marketplace/ServiceDetailPage.tsx
|
|
17
|
-
function
|
|
18
|
-
|
|
19
|
-
case "repair": return /* @__PURE__ */ O(C, { className: "h-5 w-5" });
|
|
20
|
-
case "maintenance": return /* @__PURE__ */ O(w, { className: "h-5 w-5" });
|
|
21
|
-
case "cleaning": return /* @__PURE__ */ O(y, { className: "h-5 w-5" });
|
|
22
|
-
case "renovation": return /* @__PURE__ */ O(h, { className: "h-5 w-5" });
|
|
23
|
-
case "security": return /* @__PURE__ */ O(_, { className: "h-5 w-5" });
|
|
24
|
-
case "landscaping": return /* @__PURE__ */ O(x, { className: "h-5 w-5" });
|
|
25
|
-
case "pest_control": return /* @__PURE__ */ O(v, { className: "h-5 w-5" });
|
|
26
|
-
default: return /* @__PURE__ */ O(C, { className: "h-5 w-5" });
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
function F({ rating: t }) {
|
|
30
|
-
return /* @__PURE__ */ O("div", {
|
|
18
|
+
function O({ rating: t }) {
|
|
19
|
+
return /* @__PURE__ */ S("div", {
|
|
31
20
|
className: "flex items-center gap-0.5 text-status-warning-text",
|
|
32
|
-
children: Array.from({ length: 5 }).map((n, r) => /* @__PURE__ */
|
|
21
|
+
children: Array.from({ length: 5 }).map((n, r) => /* @__PURE__ */ S(_, { className: e("h-4 w-4", r < Math.floor(t) ? "fill-current" : r < t ? "fill-current opacity-50" : "fill-none text-text-secondary/30") }, r))
|
|
33
22
|
});
|
|
34
23
|
}
|
|
35
|
-
function
|
|
36
|
-
let { id: e } =
|
|
24
|
+
function k() {
|
|
25
|
+
let { id: e } = x();
|
|
37
26
|
a("housingvista.marketplace.viewed", e);
|
|
38
|
-
let
|
|
39
|
-
if (
|
|
27
|
+
let k = b(), A = y(), [j, M] = u(!1), { data: N, loading: P } = o(e);
|
|
28
|
+
if (P && !N) return /* @__PURE__ */ S("div", {
|
|
40
29
|
className: "p-6",
|
|
41
|
-
children: /* @__PURE__ */
|
|
30
|
+
children: /* @__PURE__ */ S(i, { variant: "detail" })
|
|
42
31
|
});
|
|
43
|
-
if (!
|
|
32
|
+
if (!N) return /* @__PURE__ */ S("div", {
|
|
44
33
|
className: "p-6",
|
|
45
|
-
children: /* @__PURE__ */
|
|
34
|
+
children: /* @__PURE__ */ S(n, {
|
|
46
35
|
illustration: "empty-search",
|
|
47
|
-
icon: /* @__PURE__ */
|
|
36
|
+
icon: /* @__PURE__ */ S(v, { className: "h-12 w-12" }),
|
|
48
37
|
title: "Service Not Found",
|
|
49
38
|
description: "The service provider you're looking for doesn't exist or is no longer listed.",
|
|
50
|
-
action: /* @__PURE__ */
|
|
51
|
-
onClick: () =>
|
|
39
|
+
action: /* @__PURE__ */ C("button", {
|
|
40
|
+
onClick: () => k("../marketplace"),
|
|
52
41
|
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 transition-colors hover:bg-action-primary-bg-hover",
|
|
53
|
-
children: [/* @__PURE__ */
|
|
42
|
+
children: [/* @__PURE__ */ S(d, { className: "h-4 w-4" }), "Back to Marketplace"]
|
|
54
43
|
})
|
|
55
44
|
})
|
|
56
45
|
});
|
|
57
|
-
let
|
|
58
|
-
return /* @__PURE__ */
|
|
46
|
+
let F = N.availableAreas ?? [];
|
|
47
|
+
return /* @__PURE__ */ C("div", {
|
|
59
48
|
className: "flex flex-col gap-6 p-6",
|
|
60
49
|
children: [
|
|
61
|
-
/* @__PURE__ */
|
|
50
|
+
/* @__PURE__ */ S(r, { items: [{
|
|
62
51
|
label: "Marketplace",
|
|
63
52
|
href: "../"
|
|
64
|
-
}, { label:
|
|
65
|
-
/* @__PURE__ */
|
|
53
|
+
}, { label: N.name }] }),
|
|
54
|
+
/* @__PURE__ */ C("div", {
|
|
66
55
|
className: "flex flex-col gap-4 lg:flex-row lg:items-start lg:justify-between",
|
|
67
|
-
children: [/* @__PURE__ */
|
|
56
|
+
children: [/* @__PURE__ */ C("div", {
|
|
68
57
|
className: "flex items-start gap-4",
|
|
69
|
-
children: [/* @__PURE__ */
|
|
58
|
+
children: [/* @__PURE__ */ S("div", {
|
|
70
59
|
className: "flex h-12 w-12 shrink-0 items-center justify-center rounded-lg bg-bg-sunken text-text-secondary",
|
|
71
|
-
children:
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
60
|
+
children: /* @__PURE__ */ S(l, {
|
|
61
|
+
category: N.category,
|
|
62
|
+
className: "h-5 w-5"
|
|
63
|
+
})
|
|
64
|
+
}), /* @__PURE__ */ C("div", { children: [
|
|
65
|
+
/* @__PURE__ */ C("button", {
|
|
66
|
+
onClick: () => k("../marketplace"),
|
|
75
67
|
className: "mb-2 inline-flex items-center gap-2 rounded-md px-2 py-1 text-sm text-text-secondary transition-colors hover:bg-bg-sunken hover:text-text-primary",
|
|
76
|
-
children: [/* @__PURE__ */
|
|
68
|
+
children: [/* @__PURE__ */ S(d, { className: "h-4 w-4" }), "Back to Marketplace"]
|
|
77
69
|
}),
|
|
78
|
-
/* @__PURE__ */
|
|
70
|
+
/* @__PURE__ */ S("h1", {
|
|
79
71
|
className: "text-2xl font-semibold text-text-primary",
|
|
80
|
-
children:
|
|
72
|
+
children: N.name
|
|
81
73
|
}),
|
|
82
|
-
/* @__PURE__ */
|
|
74
|
+
/* @__PURE__ */ C("div", {
|
|
83
75
|
className: "mt-2 flex flex-wrap items-center gap-2",
|
|
84
76
|
children: [
|
|
85
|
-
/* @__PURE__ */
|
|
86
|
-
label:
|
|
77
|
+
/* @__PURE__ */ S(t, {
|
|
78
|
+
label: N.category.replace(/_/g, " "),
|
|
87
79
|
variant: "muted"
|
|
88
80
|
}),
|
|
89
|
-
|
|
81
|
+
N.verified && /* @__PURE__ */ S(t, {
|
|
90
82
|
label: "Verified",
|
|
91
83
|
variant: "success",
|
|
92
84
|
dot: !0
|
|
93
85
|
}),
|
|
94
|
-
|
|
86
|
+
N.featured && /* @__PURE__ */ S(t, {
|
|
95
87
|
label: "Featured",
|
|
96
88
|
variant: "warning"
|
|
97
89
|
}),
|
|
98
|
-
/* @__PURE__ */
|
|
90
|
+
/* @__PURE__ */ S("span", {
|
|
99
91
|
className: "text-sm text-text-secondary",
|
|
100
|
-
children:
|
|
92
|
+
children: N.providerName
|
|
101
93
|
})
|
|
102
94
|
]
|
|
103
95
|
})
|
|
104
96
|
] })]
|
|
105
|
-
}), /* @__PURE__ */
|
|
97
|
+
}), /* @__PURE__ */ S("div", {
|
|
106
98
|
className: "flex items-center gap-2",
|
|
107
|
-
children: /* @__PURE__ */
|
|
99
|
+
children: /* @__PURE__ */ C(w, {
|
|
108
100
|
type: "button",
|
|
109
101
|
variant: "default",
|
|
110
|
-
onClick: () =>
|
|
111
|
-
children: [/* @__PURE__ */
|
|
102
|
+
onClick: () => M(!0),
|
|
103
|
+
children: [/* @__PURE__ */ S(h, { className: "mr-1.5 h-4 w-4" }), "Contact"]
|
|
112
104
|
})
|
|
113
105
|
})]
|
|
114
106
|
}),
|
|
115
|
-
/* @__PURE__ */
|
|
107
|
+
/* @__PURE__ */ S(D, {
|
|
116
108
|
className: "max-w-3xl",
|
|
117
109
|
children: "Everything you need to decide whether to hire this provider — their rating and reviews, how fast they respond, the areas they cover, and whether they're verified. When you're ready, contact them through Messages."
|
|
118
110
|
}),
|
|
119
|
-
/* @__PURE__ */
|
|
111
|
+
/* @__PURE__ */ S(T, {
|
|
120
112
|
className: "p-4",
|
|
121
|
-
children: /* @__PURE__ */
|
|
113
|
+
children: /* @__PURE__ */ C("div", {
|
|
122
114
|
className: "grid grid-cols-2 gap-4 lg:grid-cols-4",
|
|
123
115
|
children: [
|
|
124
|
-
/* @__PURE__ */
|
|
116
|
+
/* @__PURE__ */ C("div", {
|
|
125
117
|
className: "rounded-lg border border-border-subtle bg-bg-surface p-4",
|
|
126
|
-
children: [/* @__PURE__ */
|
|
118
|
+
children: [/* @__PURE__ */ C("div", {
|
|
127
119
|
className: "flex items-center gap-2 text-text-secondary",
|
|
128
|
-
children: [/* @__PURE__ */
|
|
120
|
+
children: [/* @__PURE__ */ S(_, { className: "h-4 w-4" }), /* @__PURE__ */ S("span", {
|
|
129
121
|
className: "text-xs font-medium",
|
|
130
122
|
children: "Rating"
|
|
131
123
|
})]
|
|
132
|
-
}), /* @__PURE__ */
|
|
124
|
+
}), /* @__PURE__ */ C("div", {
|
|
133
125
|
className: "mt-2 flex items-center gap-2",
|
|
134
|
-
children: [/* @__PURE__ */
|
|
126
|
+
children: [/* @__PURE__ */ S("span", {
|
|
135
127
|
className: "text-xl font-bold text-text-primary",
|
|
136
|
-
children:
|
|
137
|
-
}),
|
|
128
|
+
children: N.rating ?? "—"
|
|
129
|
+
}), N.rating != null && /* @__PURE__ */ S(O, { rating: N.rating })]
|
|
138
130
|
})]
|
|
139
131
|
}),
|
|
140
|
-
/* @__PURE__ */
|
|
132
|
+
/* @__PURE__ */ C("div", {
|
|
141
133
|
className: "rounded-lg border border-border-subtle bg-bg-surface p-4",
|
|
142
|
-
children: [/* @__PURE__ */
|
|
134
|
+
children: [/* @__PURE__ */ C("div", {
|
|
143
135
|
className: "flex items-center gap-2 text-text-secondary",
|
|
144
|
-
children: [/* @__PURE__ */
|
|
136
|
+
children: [/* @__PURE__ */ S(v, { className: "h-4 w-4" }), /* @__PURE__ */ S("span", {
|
|
145
137
|
className: "text-xs font-medium",
|
|
146
138
|
children: "Reviews"
|
|
147
139
|
})]
|
|
148
|
-
}), /* @__PURE__ */
|
|
140
|
+
}), /* @__PURE__ */ S("div", {
|
|
149
141
|
className: "mt-2 text-xl font-bold text-text-primary",
|
|
150
|
-
children:
|
|
142
|
+
children: N.reviewCount
|
|
151
143
|
})]
|
|
152
144
|
}),
|
|
153
|
-
/* @__PURE__ */
|
|
145
|
+
/* @__PURE__ */ C("div", {
|
|
154
146
|
className: "rounded-lg border border-border-subtle bg-bg-surface p-4",
|
|
155
|
-
children: [/* @__PURE__ */
|
|
147
|
+
children: [/* @__PURE__ */ C("div", {
|
|
156
148
|
className: "flex items-center gap-2 text-text-secondary",
|
|
157
|
-
children: [/* @__PURE__ */
|
|
149
|
+
children: [/* @__PURE__ */ S(p, { className: "h-4 w-4" }), /* @__PURE__ */ S("span", {
|
|
158
150
|
className: "text-xs font-medium",
|
|
159
151
|
children: "Response Time"
|
|
160
152
|
})]
|
|
161
|
-
}), /* @__PURE__ */
|
|
153
|
+
}), /* @__PURE__ */ S("div", {
|
|
162
154
|
className: "mt-2 text-sm font-bold text-text-primary",
|
|
163
|
-
children:
|
|
155
|
+
children: N.responseTime ?? "—"
|
|
164
156
|
})]
|
|
165
157
|
}),
|
|
166
|
-
/* @__PURE__ */
|
|
158
|
+
/* @__PURE__ */ C("div", {
|
|
167
159
|
className: "rounded-lg border border-border-subtle bg-bg-surface p-4",
|
|
168
|
-
children: [/* @__PURE__ */
|
|
160
|
+
children: [/* @__PURE__ */ C("div", {
|
|
169
161
|
className: "flex items-center gap-2 text-text-secondary",
|
|
170
|
-
children: [/* @__PURE__ */
|
|
162
|
+
children: [/* @__PURE__ */ S(m, { className: "h-4 w-4" }), /* @__PURE__ */ S("span", {
|
|
171
163
|
className: "text-xs font-medium",
|
|
172
164
|
children: "Coverage"
|
|
173
165
|
})]
|
|
174
|
-
}), /* @__PURE__ */
|
|
166
|
+
}), /* @__PURE__ */ C("div", {
|
|
175
167
|
className: "mt-2 text-sm font-bold text-text-primary",
|
|
176
168
|
children: [
|
|
177
|
-
|
|
169
|
+
F.length,
|
|
178
170
|
" area",
|
|
179
|
-
|
|
171
|
+
F.length === 1 ? "" : "s"
|
|
180
172
|
]
|
|
181
173
|
})]
|
|
182
174
|
})
|
|
183
175
|
]
|
|
184
176
|
})
|
|
185
177
|
}),
|
|
186
|
-
/* @__PURE__ */
|
|
178
|
+
/* @__PURE__ */ C("div", {
|
|
187
179
|
className: "grid grid-cols-1 gap-6 lg:grid-cols-3",
|
|
188
|
-
children: [/* @__PURE__ */
|
|
180
|
+
children: [/* @__PURE__ */ C("div", {
|
|
189
181
|
className: "space-y-6 lg:col-span-2",
|
|
190
182
|
children: [
|
|
191
|
-
|
|
183
|
+
N.imageUrl && /* @__PURE__ */ S("div", {
|
|
192
184
|
className: "overflow-hidden rounded-xl border border-border-subtle",
|
|
193
|
-
children: /* @__PURE__ */
|
|
194
|
-
src:
|
|
195
|
-
alt:
|
|
185
|
+
children: /* @__PURE__ */ S("img", {
|
|
186
|
+
src: N.imageUrl,
|
|
187
|
+
alt: N.name,
|
|
196
188
|
className: "h-64 w-full object-cover"
|
|
197
189
|
})
|
|
198
190
|
}),
|
|
199
|
-
|
|
191
|
+
N.description && /* @__PURE__ */ C(E, {
|
|
200
192
|
treatment: "plain",
|
|
201
193
|
className: "border-border-seam p-6",
|
|
202
|
-
children: [/* @__PURE__ */
|
|
194
|
+
children: [/* @__PURE__ */ S("h2", {
|
|
203
195
|
className: "mb-3 text-base font-semibold text-text-primary",
|
|
204
196
|
children: "About this provider"
|
|
205
|
-
}), /* @__PURE__ */
|
|
197
|
+
}), /* @__PURE__ */ S("p", {
|
|
206
198
|
className: "text-sm leading-relaxed text-text-secondary",
|
|
207
|
-
children:
|
|
199
|
+
children: N.description
|
|
208
200
|
})]
|
|
209
201
|
}),
|
|
210
|
-
/* @__PURE__ */
|
|
202
|
+
/* @__PURE__ */ C(E, {
|
|
211
203
|
treatment: "plain",
|
|
212
204
|
className: "border-border-seam p-6",
|
|
213
|
-
children: [/* @__PURE__ */
|
|
205
|
+
children: [/* @__PURE__ */ C("h2", {
|
|
214
206
|
className: "mb-4 flex items-center gap-2 text-base font-semibold text-text-primary",
|
|
215
|
-
children: [/* @__PURE__ */
|
|
216
|
-
}),
|
|
207
|
+
children: [/* @__PURE__ */ S(m, { className: "h-5 w-5" }), "Service Areas"]
|
|
208
|
+
}), F.length > 0 ? /* @__PURE__ */ S("div", {
|
|
217
209
|
className: "flex flex-wrap gap-2",
|
|
218
|
-
children:
|
|
210
|
+
children: F.map((e, t) => /* @__PURE__ */ S("span", {
|
|
219
211
|
className: "rounded-full bg-bg-sunken px-3 py-1 text-xs text-text-primary",
|
|
220
212
|
children: e
|
|
221
213
|
}, t))
|
|
222
|
-
}) : /* @__PURE__ */
|
|
214
|
+
}) : /* @__PURE__ */ S("p", {
|
|
223
215
|
className: "text-sm text-text-secondary",
|
|
224
216
|
children: "Service areas not specified — ask the provider directly."
|
|
225
217
|
})]
|
|
226
218
|
})
|
|
227
219
|
]
|
|
228
|
-
}), /* @__PURE__ */
|
|
220
|
+
}), /* @__PURE__ */ S("div", {
|
|
229
221
|
className: "space-y-6",
|
|
230
|
-
children: /* @__PURE__ */
|
|
222
|
+
children: /* @__PURE__ */ C(E, {
|
|
231
223
|
treatment: "plain",
|
|
232
224
|
className: "border-border-seam p-5",
|
|
233
225
|
children: [
|
|
234
|
-
/* @__PURE__ */
|
|
226
|
+
/* @__PURE__ */ S("h3", {
|
|
235
227
|
className: "mb-4 text-base font-semibold text-text-primary",
|
|
236
228
|
children: "Provider"
|
|
237
229
|
}),
|
|
238
|
-
/* @__PURE__ */
|
|
230
|
+
/* @__PURE__ */ C("dl", {
|
|
239
231
|
className: "space-y-3 text-sm",
|
|
240
232
|
children: [
|
|
241
|
-
/* @__PURE__ */
|
|
233
|
+
/* @__PURE__ */ C("div", {
|
|
242
234
|
className: "flex items-center justify-between",
|
|
243
|
-
children: [/* @__PURE__ */
|
|
235
|
+
children: [/* @__PURE__ */ S("dt", {
|
|
244
236
|
className: "text-text-secondary",
|
|
245
237
|
children: "Name"
|
|
246
|
-
}), /* @__PURE__ */
|
|
238
|
+
}), /* @__PURE__ */ S("dd", {
|
|
247
239
|
className: "font-medium text-text-primary",
|
|
248
|
-
children:
|
|
240
|
+
children: N.providerName
|
|
249
241
|
})]
|
|
250
242
|
}),
|
|
251
|
-
/* @__PURE__ */
|
|
243
|
+
/* @__PURE__ */ C("div", {
|
|
252
244
|
className: "flex items-center justify-between",
|
|
253
|
-
children: [/* @__PURE__ */
|
|
245
|
+
children: [/* @__PURE__ */ S("dt", {
|
|
254
246
|
className: "text-text-secondary",
|
|
255
247
|
children: "Category"
|
|
256
|
-
}), /* @__PURE__ */
|
|
248
|
+
}), /* @__PURE__ */ S("dd", {
|
|
257
249
|
className: "font-medium capitalize text-text-primary",
|
|
258
|
-
children:
|
|
250
|
+
children: N.category.replace(/_/g, " ")
|
|
259
251
|
})]
|
|
260
252
|
}),
|
|
261
|
-
/* @__PURE__ */
|
|
253
|
+
/* @__PURE__ */ C("div", {
|
|
262
254
|
className: "flex items-center justify-between",
|
|
263
|
-
children: [/* @__PURE__ */
|
|
255
|
+
children: [/* @__PURE__ */ S("dt", {
|
|
264
256
|
className: "text-text-secondary",
|
|
265
257
|
children: "Price Range"
|
|
266
|
-
}), /* @__PURE__ */
|
|
258
|
+
}), /* @__PURE__ */ S("dd", {
|
|
267
259
|
className: "font-medium text-text-primary",
|
|
268
|
-
children:
|
|
260
|
+
children: N.priceRange ?? "—"
|
|
269
261
|
})]
|
|
270
262
|
}),
|
|
271
|
-
/* @__PURE__ */
|
|
263
|
+
/* @__PURE__ */ C("div", {
|
|
272
264
|
className: "flex items-center justify-between",
|
|
273
|
-
children: [/* @__PURE__ */
|
|
265
|
+
children: [/* @__PURE__ */ S("dt", {
|
|
274
266
|
className: "text-text-secondary",
|
|
275
267
|
children: "Verified"
|
|
276
|
-
}), /* @__PURE__ */
|
|
268
|
+
}), /* @__PURE__ */ S("dd", { children: N.verified ? /* @__PURE__ */ C("span", {
|
|
277
269
|
className: "inline-flex items-center gap-1 text-status-success-text",
|
|
278
|
-
children: [/* @__PURE__ */
|
|
279
|
-
}) : /* @__PURE__ */
|
|
270
|
+
children: [/* @__PURE__ */ S(f, { className: "h-4 w-4" }), "Yes"]
|
|
271
|
+
}) : /* @__PURE__ */ S("span", {
|
|
280
272
|
className: "text-text-secondary",
|
|
281
273
|
children: "Not verified"
|
|
282
274
|
}) })]
|
|
283
275
|
})
|
|
284
276
|
]
|
|
285
277
|
}),
|
|
286
|
-
/* @__PURE__ */
|
|
278
|
+
/* @__PURE__ */ C(w, {
|
|
287
279
|
type: "button",
|
|
288
280
|
variant: "default",
|
|
289
281
|
className: "mt-4 w-full justify-center",
|
|
290
|
-
onClick: () =>
|
|
291
|
-
children: [/* @__PURE__ */
|
|
282
|
+
onClick: () => M(!0),
|
|
283
|
+
children: [/* @__PURE__ */ S(g, { className: "mr-1.5 h-4 w-4" }), "Contact provider"]
|
|
292
284
|
})
|
|
293
285
|
]
|
|
294
286
|
})
|
|
295
287
|
})]
|
|
296
288
|
}),
|
|
297
|
-
/* @__PURE__ */
|
|
298
|
-
entityId:
|
|
289
|
+
/* @__PURE__ */ S(c, {
|
|
290
|
+
entityId: N.id,
|
|
299
291
|
entityType: "housingvista-marketplace-service",
|
|
300
|
-
aggregateRating:
|
|
301
|
-
reviewCount:
|
|
292
|
+
aggregateRating: N.rating,
|
|
293
|
+
reviewCount: N.reviewCount
|
|
302
294
|
}),
|
|
303
|
-
/* @__PURE__ */
|
|
304
|
-
open:
|
|
305
|
-
onOpenChange:
|
|
306
|
-
entityId:
|
|
295
|
+
/* @__PURE__ */ S(s, {
|
|
296
|
+
open: j,
|
|
297
|
+
onOpenChange: M,
|
|
298
|
+
entityId: N.id,
|
|
307
299
|
entityType: "housingvista-marketplace-service",
|
|
308
|
-
title:
|
|
309
|
-
pagePath:
|
|
310
|
-
heading: `Contact ${
|
|
311
|
-
description: `Start a conversation about ${
|
|
300
|
+
title: N.name,
|
|
301
|
+
pagePath: A.pathname,
|
|
302
|
+
heading: `Contact ${N.providerName}`,
|
|
303
|
+
description: `Start a conversation about ${N.name}. Messages are saved and delivered in your inbox.`
|
|
312
304
|
})
|
|
313
305
|
]
|
|
314
306
|
});
|
|
315
307
|
}
|
|
316
308
|
//#endregion
|
|
317
|
-
export {
|
|
309
|
+
export { k as ServiceDetailPage };
|
|
318
310
|
|
|
319
311
|
//# sourceMappingURL=ServiceDetailPage.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ServiceDetailPage.js","names":[],"sources":["../../../../src/housingvista/pages/marketplace/ServiceDetailPage.tsx"],"sourcesContent":["/**\n * HousingVista Marketplace Service Detail Page\n * Single service provider backed by `housingvistaMarketplaceService(id)` —\n * rating, review count, response time, service areas, verified status.\n *\n * \"Contact\" opens the real `ContactOwnerDialog` — a persisted conversation with\n * the provider. Reviews are real, backed by EntityComments; the denormalized\n * rating/reviewCount stays for at-a-glance display.\n * @module housingvista\n */\n\nimport { useState } from 'react';\nimport { useNavigate, useParams, useLocation } from 'react-router';\nimport {\n ArrowLeft,\n Star,\n MapPin,\n Clock,\n CheckCircle,\n MessageCircle,\n Phone,\n Wrench,\n Zap,\n SprayCanIcon,\n Paintbrush,\n Shield,\n ShieldCheck,\n Trees,\n Users,\n} from 'lucide-react';\nimport { Button, EmphasisPanel, GlassCard, PagePurpose } from '@burdenoff/fe-libs/ui';\nimport {\n Breadcrumbs,\n StatusBadge,\n EmptyState,\n LoadingSkeleton,\n ContactOwnerDialog,\n ReviewsSection,\n} from '../../components';\nimport type { BreadcrumbItem } from '../../components';\nimport { useMarketplaceService } from '../../hooks';\nimport { cn } from '../../utils/helpers';\nimport { useTrackPageView } from '../../hooks/useHousingVistaAnalytics';\n\nfunction getCategoryIcon(category: string) {\n switch (category) {\n case 'repair':\n return <Wrench className=\"h-5 w-5\" />;\n case 'maintenance':\n return <Zap className=\"h-5 w-5\" />;\n case 'cleaning':\n return <SprayCanIcon className=\"h-5 w-5\" />;\n case 'renovation':\n return <Paintbrush className=\"h-5 w-5\" />;\n case 'security':\n return <Shield className=\"h-5 w-5\" />;\n case 'landscaping':\n return <Trees className=\"h-5 w-5\" />;\n case 'pest_control':\n return <ShieldCheck className=\"h-5 w-5\" />;\n default:\n return <Wrench className=\"h-5 w-5\" />;\n }\n}\n\nfunction RatingStars({ rating }: { rating: number }) {\n return (\n <div className=\"flex items-center gap-0.5 text-status-warning-text\">\n {Array.from({ length: 5 }).map((_, i) => (\n <Star\n key={i}\n className={cn(\n 'h-4 w-4',\n i < Math.floor(rating)\n ? 'fill-current'\n : i < rating\n ? 'fill-current opacity-50'\n : 'fill-none text-text-secondary/30'\n )}\n />\n ))}\n </div>\n );\n}\n\nexport function ServiceDetailPage() {\n const { id } = useParams<{ id: string }>();\n\n useTrackPageView('housingvista.marketplace.viewed', id);\n const navigate = useNavigate();\n const location = useLocation();\n const [contactOpen, setContactOpen] = useState(false);\n const { data: service, loading } = useMarketplaceService(id);\n\n // Initial load only: a background refetch must not unmount the page, or the\n // contact dialog loses its conversation and re-resolves in a loop.\n if (loading && !service) {\n return (\n <div className=\"p-6\">\n <LoadingSkeleton variant=\"detail\" />\n </div>\n );\n }\n\n if (!service) {\n return (\n <div className=\"p-6\">\n <EmptyState\n illustration=\"empty-search\"\n icon={<Users className=\"h-12 w-12\" />}\n title=\"Service Not Found\"\n description=\"The service provider you're looking for doesn't exist or is no longer listed.\"\n action={\n <button\n onClick={() => navigate('../marketplace')}\n 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 transition-colors hover:bg-action-primary-bg-hover\"\n >\n <ArrowLeft className=\"h-4 w-4\" />\n Back to Marketplace\n </button>\n }\n />\n </div>\n );\n }\n\n const areas = service.availableAreas ?? [];\n const breadcrumbs: BreadcrumbItem[] = [{ label: 'Marketplace', href: '../' }, { label: service.name }];\n\n return (\n <div className=\"flex flex-col gap-6 p-6\">\n <Breadcrumbs items={breadcrumbs} />\n\n {/* Header */}\n <div className=\"flex flex-col gap-4 lg:flex-row lg:items-start lg:justify-between\">\n <div className=\"flex items-start gap-4\">\n <div className=\"flex h-12 w-12 shrink-0 items-center justify-center rounded-lg bg-bg-sunken text-text-secondary\">\n {getCategoryIcon(service.category)}\n </div>\n <div>\n <button\n onClick={() => navigate('../marketplace')}\n className=\"mb-2 inline-flex items-center gap-2 rounded-md px-2 py-1 text-sm text-text-secondary transition-colors hover:bg-bg-sunken hover:text-text-primary\"\n >\n <ArrowLeft className=\"h-4 w-4\" />\n Back to Marketplace\n </button>\n <h1 className=\"text-2xl font-semibold text-text-primary\">{service.name}</h1>\n <div className=\"mt-2 flex flex-wrap items-center gap-2\">\n <StatusBadge label={service.category.replace(/_/g, ' ')} variant=\"muted\" />\n {service.verified && <StatusBadge label=\"Verified\" variant=\"success\" dot />}\n {service.featured && <StatusBadge label=\"Featured\" variant=\"warning\" />}\n <span className=\"text-sm text-text-secondary\">{service.providerName}</span>\n </div>\n </div>\n </div>\n <div className=\"flex items-center gap-2\">\n <Button type=\"button\" variant=\"default\" onClick={() => setContactOpen(true)}>\n <MessageCircle className=\"mr-1.5 h-4 w-4\" />\n Contact\n </Button>\n </div>\n </div>\n\n <PagePurpose className=\"max-w-3xl\">\n Everything you need to decide whether to hire this provider — their rating and reviews, how fast they respond,\n the areas they cover, and whether they're verified. When you're ready, contact them through Messages.\n </PagePurpose>\n\n {/* Key facts — primary insight zone (one EmphasisPanel per page) */}\n <EmphasisPanel className=\"p-4\">\n <div className=\"grid grid-cols-2 gap-4 lg:grid-cols-4\">\n <div className=\"rounded-lg border border-border-subtle bg-bg-surface p-4\">\n <div className=\"flex items-center gap-2 text-text-secondary\">\n <Star className=\"h-4 w-4\" />\n <span className=\"text-xs font-medium\">Rating</span>\n </div>\n <div className=\"mt-2 flex items-center gap-2\">\n <span className=\"text-xl font-bold text-text-primary\">{service.rating ?? '—'}</span>\n {service.rating != null && <RatingStars rating={service.rating} />}\n </div>\n </div>\n <div className=\"rounded-lg border border-border-subtle bg-bg-surface p-4\">\n <div className=\"flex items-center gap-2 text-text-secondary\">\n <Users className=\"h-4 w-4\" />\n <span className=\"text-xs font-medium\">Reviews</span>\n </div>\n <div className=\"mt-2 text-xl font-bold text-text-primary\">{service.reviewCount}</div>\n </div>\n <div className=\"rounded-lg border border-border-subtle bg-bg-surface p-4\">\n <div className=\"flex items-center gap-2 text-text-secondary\">\n <Clock className=\"h-4 w-4\" />\n <span className=\"text-xs font-medium\">Response Time</span>\n </div>\n <div className=\"mt-2 text-sm font-bold text-text-primary\">{service.responseTime ?? '—'}</div>\n </div>\n <div className=\"rounded-lg border border-border-subtle bg-bg-surface p-4\">\n <div className=\"flex items-center gap-2 text-text-secondary\">\n <MapPin className=\"h-4 w-4\" />\n <span className=\"text-xs font-medium\">Coverage</span>\n </div>\n <div className=\"mt-2 text-sm font-bold text-text-primary\">\n {areas.length} area{areas.length !== 1 ? 's' : ''}\n </div>\n </div>\n </div>\n </EmphasisPanel>\n\n <div className=\"grid grid-cols-1 gap-6 lg:grid-cols-3\">\n {/* Overview */}\n <div className=\"space-y-6 lg:col-span-2\">\n {service.imageUrl && (\n <div className=\"overflow-hidden rounded-xl border border-border-subtle\">\n <img src={service.imageUrl} alt={service.name} className=\"h-64 w-full object-cover\" />\n </div>\n )}\n\n {service.description && (\n <GlassCard treatment=\"plain\" className=\"border-border-seam p-6\">\n <h2 className=\"mb-3 text-base font-semibold text-text-primary\">About this provider</h2>\n <p className=\"text-sm leading-relaxed text-text-secondary\">{service.description}</p>\n </GlassCard>\n )}\n\n <GlassCard treatment=\"plain\" className=\"border-border-seam p-6\">\n <h2 className=\"mb-4 flex items-center gap-2 text-base font-semibold text-text-primary\">\n <MapPin className=\"h-5 w-5\" />\n Service Areas\n </h2>\n {areas.length > 0 ? (\n <div className=\"flex flex-wrap gap-2\">\n {areas.map((area, i) => (\n <span key={i} className=\"rounded-full bg-bg-sunken px-3 py-1 text-xs text-text-primary\">\n {area}\n </span>\n ))}\n </div>\n ) : (\n <p className=\"text-sm text-text-secondary\">Service areas not specified — ask the provider directly.</p>\n )}\n </GlassCard>\n </div>\n\n {/* Provider card */}\n <div className=\"space-y-6\">\n <GlassCard treatment=\"plain\" className=\"border-border-seam p-5\">\n <h3 className=\"mb-4 text-base font-semibold text-text-primary\">Provider</h3>\n <dl className=\"space-y-3 text-sm\">\n <div className=\"flex items-center justify-between\">\n <dt className=\"text-text-secondary\">Name</dt>\n <dd className=\"font-medium text-text-primary\">{service.providerName}</dd>\n </div>\n <div className=\"flex items-center justify-between\">\n <dt className=\"text-text-secondary\">Category</dt>\n <dd className=\"font-medium capitalize text-text-primary\">{service.category.replace(/_/g, ' ')}</dd>\n </div>\n <div className=\"flex items-center justify-between\">\n <dt className=\"text-text-secondary\">Price Range</dt>\n <dd className=\"font-medium text-text-primary\">{service.priceRange ?? '—'}</dd>\n </div>\n <div className=\"flex items-center justify-between\">\n <dt className=\"text-text-secondary\">Verified</dt>\n <dd>\n {service.verified ? (\n <span className=\"inline-flex items-center gap-1 text-status-success-text\">\n <CheckCircle className=\"h-4 w-4\" />\n Yes\n </span>\n ) : (\n <span className=\"text-text-secondary\">Not verified</span>\n )}\n </dd>\n </div>\n </dl>\n <Button\n type=\"button\"\n variant=\"default\"\n className=\"mt-4 w-full justify-center\"\n onClick={() => setContactOpen(true)}\n >\n <Phone className=\"mr-1.5 h-4 w-4\" />\n Contact provider\n </Button>\n </GlassCard>\n </div>\n </div>\n\n {/* Reviews — real, backed by EntityComments */}\n <ReviewsSection\n entityId={service.id}\n entityType=\"housingvista-marketplace-service\"\n aggregateRating={service.rating}\n reviewCount={service.reviewCount}\n />\n\n <ContactOwnerDialog\n open={contactOpen}\n onOpenChange={setContactOpen}\n entityId={service.id}\n entityType=\"housingvista-marketplace-service\"\n title={service.name}\n pagePath={location.pathname}\n heading={`Contact ${service.providerName}`}\n description={`Start a conversation about ${service.name}. Messages are saved and delivered in your inbox.`}\n />\n </div>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;AA4CA,SAAS,EAAgB,GAAkB;AACzC,SAAQ,GAAR;EACE,KAAK,SACH,QAAO,kBAAC,GAAD,EAAQ,WAAU,WAAY,CAAA;EACvC,KAAK,cACH,QAAO,kBAAC,GAAD,EAAK,WAAU,WAAY,CAAA;EACpC,KAAK,WACH,QAAO,kBAAC,GAAD,EAAc,WAAU,WAAY,CAAA;EAC7C,KAAK,aACH,QAAO,kBAAC,GAAD,EAAY,WAAU,WAAY,CAAA;EAC3C,KAAK,WACH,QAAO,kBAAC,GAAD,EAAQ,WAAU,WAAY,CAAA;EACvC,KAAK,cACH,QAAO,kBAAC,GAAD,EAAO,WAAU,WAAY,CAAA;EACtC,KAAK,eACH,QAAO,kBAAC,GAAD,EAAa,WAAU,WAAY,CAAA;EAC5C,QACE,QAA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,WAAY,CAAA,EAAA,MAE9B;eAEP,kBAAC,QAAD;WAAM,WAAU;qBAAsB;WAAmB,CAAA,EAExD,CAAA,CACD;;SACH;;OACL,kBAAC,GAAD;QACE,MAAK;QACL,SAAQ;QACR,WAAU;QACV,eAAe,EAAe,GAAK;kBAJrC,CAME,kBAAC,GAAD,EAAO,WAAU,kBAAmB,CAAA,EAAA,mBAE7B;;OACC;;KACR,CAAA,CACF;;GAGN,kBAAC,GAAD;IACE,UAAU,EAAQ;IAClB,YAAW;IACX,iBAAiB,EAAQ;IACzB,aAAa,EAAQ;IACrB,CAAA;GAEF,kBAAC,GAAD;IACE,MAAM;IACN,cAAc;IACd,UAAU,EAAQ;IAClB,YAAW;IACX,OAAO,EAAQ;IACf,UAAU,EAAS;IACnB,SAAS,WAAW,EAAQ;IAC5B,aAAa,8BAA8B,EAAQ,KAAK;IACxD,CAAA;GACE"}
|
|
1
|
+
{"version":3,"file":"ServiceDetailPage.js","names":[],"sources":["../../../../src/housingvista/pages/marketplace/ServiceDetailPage.tsx"],"sourcesContent":["/**\n * HousingVista Marketplace Service Detail Page\n * Single service provider backed by `housingvistaMarketplaceService(id)` —\n * rating, review count, response time, service areas, verified status.\n *\n * \"Contact\" opens the real `ContactOwnerDialog` — a persisted conversation with\n * the provider. Reviews are real, backed by EntityComments; the denormalized\n * rating/reviewCount stays for at-a-glance display.\n * @module housingvista\n */\n\nimport { useState } from 'react';\nimport { useNavigate, useParams, useLocation } from 'react-router';\nimport { ArrowLeft, Star, MapPin, Clock, CheckCircle, MessageCircle, Phone, Users } from 'lucide-react';\nimport { Button, EmphasisPanel, GlassCard, PagePurpose } from '@burdenoff/fe-libs/ui';\nimport {\n Breadcrumbs,\n StatusBadge,\n EmptyState,\n LoadingSkeleton,\n ContactOwnerDialog,\n ReviewsSection,\n} from '../../components';\nimport type { BreadcrumbItem } from '../../components';\nimport { useMarketplaceService } from '../../hooks';\nimport { ServiceCategoryIcon } from '../../components/ServiceCategoryIcon';\nimport { cn } from '../../utils/helpers';\nimport { useTrackPageView } from '../../hooks/useHousingVistaAnalytics';\n\nfunction RatingStars({ rating }: { rating: number }) {\n return (\n <div className=\"flex items-center gap-0.5 text-status-warning-text\">\n {Array.from({ length: 5 }).map((_, i) => (\n <Star\n key={i}\n className={cn(\n 'h-4 w-4',\n i < Math.floor(rating)\n ? 'fill-current'\n : i < rating\n ? 'fill-current opacity-50'\n : 'fill-none text-text-secondary/30'\n )}\n />\n ))}\n </div>\n );\n}\n\nexport function ServiceDetailPage() {\n const { id } = useParams<{ id: string }>();\n\n useTrackPageView('housingvista.marketplace.viewed', id);\n const navigate = useNavigate();\n const location = useLocation();\n const [contactOpen, setContactOpen] = useState(false);\n const { data: service, loading } = useMarketplaceService(id);\n\n // Initial load only: a background refetch must not unmount the page, or the\n // contact dialog loses its conversation and re-resolves in a loop.\n if (loading && !service) {\n return (\n <div className=\"p-6\">\n <LoadingSkeleton variant=\"detail\" />\n </div>\n );\n }\n\n if (!service) {\n return (\n <div className=\"p-6\">\n <EmptyState\n illustration=\"empty-search\"\n icon={<Users className=\"h-12 w-12\" />}\n title=\"Service Not Found\"\n description=\"The service provider you're looking for doesn't exist or is no longer listed.\"\n action={\n <button\n onClick={() => navigate('../marketplace')}\n 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 transition-colors hover:bg-action-primary-bg-hover\"\n >\n <ArrowLeft className=\"h-4 w-4\" />\n Back to Marketplace\n </button>\n }\n />\n </div>\n );\n }\n\n const areas = service.availableAreas ?? [];\n const breadcrumbs: BreadcrumbItem[] = [{ label: 'Marketplace', href: '../' }, { label: service.name }];\n\n return (\n <div className=\"flex flex-col gap-6 p-6\">\n <Breadcrumbs items={breadcrumbs} />\n\n {/* Header */}\n <div className=\"flex flex-col gap-4 lg:flex-row lg:items-start lg:justify-between\">\n <div className=\"flex items-start gap-4\">\n <div className=\"flex h-12 w-12 shrink-0 items-center justify-center rounded-lg bg-bg-sunken text-text-secondary\">\n <ServiceCategoryIcon category={service.category} className=\"h-5 w-5\" />\n </div>\n <div>\n <button\n onClick={() => navigate('../marketplace')}\n className=\"mb-2 inline-flex items-center gap-2 rounded-md px-2 py-1 text-sm text-text-secondary transition-colors hover:bg-bg-sunken hover:text-text-primary\"\n >\n <ArrowLeft className=\"h-4 w-4\" />\n Back to Marketplace\n </button>\n <h1 className=\"text-2xl font-semibold text-text-primary\">{service.name}</h1>\n <div className=\"mt-2 flex flex-wrap items-center gap-2\">\n <StatusBadge label={service.category.replace(/_/g, ' ')} variant=\"muted\" />\n {service.verified && <StatusBadge label=\"Verified\" variant=\"success\" dot />}\n {service.featured && <StatusBadge label=\"Featured\" variant=\"warning\" />}\n <span className=\"text-sm text-text-secondary\">{service.providerName}</span>\n </div>\n </div>\n </div>\n <div className=\"flex items-center gap-2\">\n <Button type=\"button\" variant=\"default\" onClick={() => setContactOpen(true)}>\n <MessageCircle className=\"mr-1.5 h-4 w-4\" />\n Contact\n </Button>\n </div>\n </div>\n\n <PagePurpose className=\"max-w-3xl\">\n Everything you need to decide whether to hire this provider — their rating and reviews, how fast they respond,\n the areas they cover, and whether they're verified. When you're ready, contact them through Messages.\n </PagePurpose>\n\n {/* Key facts — primary insight zone (one EmphasisPanel per page) */}\n <EmphasisPanel className=\"p-4\">\n <div className=\"grid grid-cols-2 gap-4 lg:grid-cols-4\">\n <div className=\"rounded-lg border border-border-subtle bg-bg-surface p-4\">\n <div className=\"flex items-center gap-2 text-text-secondary\">\n <Star className=\"h-4 w-4\" />\n <span className=\"text-xs font-medium\">Rating</span>\n </div>\n <div className=\"mt-2 flex items-center gap-2\">\n <span className=\"text-xl font-bold text-text-primary\">{service.rating ?? '—'}</span>\n {service.rating != null && <RatingStars rating={service.rating} />}\n </div>\n </div>\n <div className=\"rounded-lg border border-border-subtle bg-bg-surface p-4\">\n <div className=\"flex items-center gap-2 text-text-secondary\">\n <Users className=\"h-4 w-4\" />\n <span className=\"text-xs font-medium\">Reviews</span>\n </div>\n <div className=\"mt-2 text-xl font-bold text-text-primary\">{service.reviewCount}</div>\n </div>\n <div className=\"rounded-lg border border-border-subtle bg-bg-surface p-4\">\n <div className=\"flex items-center gap-2 text-text-secondary\">\n <Clock className=\"h-4 w-4\" />\n <span className=\"text-xs font-medium\">Response Time</span>\n </div>\n <div className=\"mt-2 text-sm font-bold text-text-primary\">{service.responseTime ?? '—'}</div>\n </div>\n <div className=\"rounded-lg border border-border-subtle bg-bg-surface p-4\">\n <div className=\"flex items-center gap-2 text-text-secondary\">\n <MapPin className=\"h-4 w-4\" />\n <span className=\"text-xs font-medium\">Coverage</span>\n </div>\n <div className=\"mt-2 text-sm font-bold text-text-primary\">\n {areas.length} area{areas.length !== 1 ? 's' : ''}\n </div>\n </div>\n </div>\n </EmphasisPanel>\n\n <div className=\"grid grid-cols-1 gap-6 lg:grid-cols-3\">\n {/* Overview */}\n <div className=\"space-y-6 lg:col-span-2\">\n {service.imageUrl && (\n <div className=\"overflow-hidden rounded-xl border border-border-subtle\">\n <img src={service.imageUrl} alt={service.name} className=\"h-64 w-full object-cover\" />\n </div>\n )}\n\n {service.description && (\n <GlassCard treatment=\"plain\" className=\"border-border-seam p-6\">\n <h2 className=\"mb-3 text-base font-semibold text-text-primary\">About this provider</h2>\n <p className=\"text-sm leading-relaxed text-text-secondary\">{service.description}</p>\n </GlassCard>\n )}\n\n <GlassCard treatment=\"plain\" className=\"border-border-seam p-6\">\n <h2 className=\"mb-4 flex items-center gap-2 text-base font-semibold text-text-primary\">\n <MapPin className=\"h-5 w-5\" />\n Service Areas\n </h2>\n {areas.length > 0 ? (\n <div className=\"flex flex-wrap gap-2\">\n {areas.map((area, i) => (\n <span key={i} className=\"rounded-full bg-bg-sunken px-3 py-1 text-xs text-text-primary\">\n {area}\n </span>\n ))}\n </div>\n ) : (\n <p className=\"text-sm text-text-secondary\">Service areas not specified — ask the provider directly.</p>\n )}\n </GlassCard>\n </div>\n\n {/* Provider card */}\n <div className=\"space-y-6\">\n <GlassCard treatment=\"plain\" className=\"border-border-seam p-5\">\n <h3 className=\"mb-4 text-base font-semibold text-text-primary\">Provider</h3>\n <dl className=\"space-y-3 text-sm\">\n <div className=\"flex items-center justify-between\">\n <dt className=\"text-text-secondary\">Name</dt>\n <dd className=\"font-medium text-text-primary\">{service.providerName}</dd>\n </div>\n <div className=\"flex items-center justify-between\">\n <dt className=\"text-text-secondary\">Category</dt>\n <dd className=\"font-medium capitalize text-text-primary\">{service.category.replace(/_/g, ' ')}</dd>\n </div>\n <div className=\"flex items-center justify-between\">\n <dt className=\"text-text-secondary\">Price Range</dt>\n <dd className=\"font-medium text-text-primary\">{service.priceRange ?? '—'}</dd>\n </div>\n <div className=\"flex items-center justify-between\">\n <dt className=\"text-text-secondary\">Verified</dt>\n <dd>\n {service.verified ? (\n <span className=\"inline-flex items-center gap-1 text-status-success-text\">\n <CheckCircle className=\"h-4 w-4\" />\n Yes\n </span>\n ) : (\n <span className=\"text-text-secondary\">Not verified</span>\n )}\n </dd>\n </div>\n </dl>\n <Button\n type=\"button\"\n variant=\"default\"\n className=\"mt-4 w-full justify-center\"\n onClick={() => setContactOpen(true)}\n >\n <Phone className=\"mr-1.5 h-4 w-4\" />\n Contact provider\n </Button>\n </GlassCard>\n </div>\n </div>\n\n {/* Reviews — real, backed by EntityComments */}\n <ReviewsSection\n entityId={service.id}\n entityType=\"housingvista-marketplace-service\"\n aggregateRating={service.rating}\n reviewCount={service.reviewCount}\n />\n\n <ContactOwnerDialog\n open={contactOpen}\n onOpenChange={setContactOpen}\n entityId={service.id}\n entityType=\"housingvista-marketplace-service\"\n title={service.name}\n pagePath={location.pathname}\n heading={`Contact ${service.providerName}`}\n description={`Start a conversation about ${service.name}. Messages are saved and delivered in your inbox.`}\n />\n </div>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;AA6BA,SAAS,EAAY,EAAE,aAA8B;AACnD,QACE,kBAAC,OAAD;EAAK,WAAU;YACZ,MAAM,KAAK,EAAE,QAAQ,GAAG,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,GAAD;QACE,MAAK;QACL,SAAQ;QACR,WAAU;QACV,eAAe,EAAe,GAAK;kBAJrC,CAME,kBAAC,GAAD,EAAO,WAAU,kBAAmB,CAAA,EAAA,mBAE7B;;OACC;;KACR,CAAA,CACF;;GAGN,kBAAC,GAAD;IACE,UAAU,EAAQ;IAClB,YAAW;IACX,iBAAiB,EAAQ;IACzB,aAAa,EAAQ;IACrB,CAAA;GAEF,kBAAC,GAAD;IACE,MAAM;IACN,cAAc;IACd,UAAU,EAAQ;IAClB,YAAW;IACX,OAAO,EAAQ;IACf,UAAU,EAAS;IACnB,SAAS,WAAW,EAAQ;IAC5B,aAAa,8BAA8B,EAAQ,KAAK;IACxD,CAAA;GACE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OffersPage.d.ts","sourceRoot":"","sources":["../../../../src/housingvista/pages/offers/OffersPage.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;
|
|
1
|
+
{"version":3,"file":"OffersPage.d.ts","sourceRoot":"","sources":["../../../../src/housingvista/pages/offers/OffersPage.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AA+GH,wBAAgB,UAAU,gCAyezB"}
|