@burdenoff/microfe-atheletebridge 2026.625.1 → 2026.625.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/atheletebridge/pages/HomePage.js +272 -268
- package/dist/atheletebridge/pages/HomePage.js.map +1 -1
- package/dist/atheletebridge/pages/admin/AdminAnalyticsPage.js +90 -82
- package/dist/atheletebridge/pages/admin/AdminAnalyticsPage.js.map +1 -1
- package/dist/atheletebridge/pages/admin/AdminDashboard.js +76 -44
- package/dist/atheletebridge/pages/admin/AdminDashboard.js.map +1 -1
- package/dist/atheletebridge/pages/admin/AdminFinancialPage.js +63 -55
- package/dist/atheletebridge/pages/admin/AdminFinancialPage.js.map +1 -1
- package/dist/atheletebridge/pages/admin/AdminOrdersPage.js +244 -237
- package/dist/atheletebridge/pages/admin/AdminOrdersPage.js.map +1 -1
- package/dist/atheletebridge/pages/admin/AdminProfilePage.js +59 -57
- package/dist/atheletebridge/pages/admin/AdminProfilePage.js.map +1 -1
- package/dist/atheletebridge/pages/admin/AdminSettingsPage.js +110 -106
- package/dist/atheletebridge/pages/admin/AdminSettingsPage.js.map +1 -1
- package/dist/atheletebridge/pages/admin/CartManagementPage.js +166 -159
- package/dist/atheletebridge/pages/admin/CartManagementPage.js.map +1 -1
- package/dist/atheletebridge/pages/admin/UserManagementPage.js +310 -303
- package/dist/atheletebridge/pages/admin/UserManagementPage.js.map +1 -1
- package/dist/atheletebridge/pages/cart-owner/AnalyticsDashboard.js +86 -81
- package/dist/atheletebridge/pages/cart-owner/AnalyticsDashboard.js.map +1 -1
- package/dist/atheletebridge/pages/cart-owner/BusinessSettingsPage.js +170 -166
- package/dist/atheletebridge/pages/cart-owner/BusinessSettingsPage.js.map +1 -1
- package/dist/atheletebridge/pages/cart-owner/CartOwnerDashboard.js +141 -109
- package/dist/atheletebridge/pages/cart-owner/CartOwnerDashboard.js.map +1 -1
- package/dist/atheletebridge/pages/cart-owner/CartOwnerProfilePage.js +139 -134
- package/dist/atheletebridge/pages/cart-owner/CartOwnerProfilePage.js.map +1 -1
- package/dist/atheletebridge/pages/cart-owner/CartServiceConfigPage.js +109 -107
- package/dist/atheletebridge/pages/cart-owner/CartServiceConfigPage.js.map +1 -1
- package/dist/atheletebridge/pages/cart-owner/InventoryManagementPage.js +318 -318
- package/dist/atheletebridge/pages/cart-owner/InventoryManagementPage.js.map +1 -1
- package/dist/atheletebridge/pages/cart-owner/OrderManagementPage.js +262 -262
- package/dist/atheletebridge/pages/cart-owner/OrderManagementPage.js.map +1 -1
- package/dist/atheletebridge/pages/cart-owner/StaffManagementPage.js +170 -162
- package/dist/atheletebridge/pages/cart-owner/StaffManagementPage.js.map +1 -1
- package/dist/atheletebridge/pages/common/HelpSupportPage.js +292 -298
- package/dist/atheletebridge/pages/common/HelpSupportPage.js.map +1 -1
- package/dist/atheletebridge/pages/common/NotificationCenterPage.js +99 -91
- package/dist/atheletebridge/pages/common/NotificationCenterPage.js.map +1 -1
- package/dist/atheletebridge/pages/common/SettingsPage.js +742 -734
- package/dist/atheletebridge/pages/common/SettingsPage.js.map +1 -1
- package/dist/atheletebridge/pages/customer/BookingDetailsPage.js +364 -356
- package/dist/atheletebridge/pages/customer/BookingDetailsPage.js.map +1 -1
- package/dist/atheletebridge/pages/customer/CartDetailPage.js +276 -241
- package/dist/atheletebridge/pages/customer/CartDetailPage.js.map +1 -1
- package/dist/atheletebridge/pages/customer/CartDiscoveryPage.js +260 -250
- package/dist/atheletebridge/pages/customer/CartDiscoveryPage.js.map +1 -1
- package/dist/atheletebridge/pages/customer/CheckoutPage.js +93 -89
- package/dist/atheletebridge/pages/customer/CheckoutPage.js.map +1 -1
- package/dist/atheletebridge/pages/customer/CustomerDashboard.js +430 -387
- package/dist/atheletebridge/pages/customer/CustomerDashboard.js.map +1 -1
- package/dist/atheletebridge/pages/customer/CustomerProfilePage.js +526 -490
- package/dist/atheletebridge/pages/customer/CustomerProfilePage.js.map +1 -1
- package/dist/atheletebridge/pages/customer/DirectServiceBookingPage.js +523 -512
- package/dist/atheletebridge/pages/customer/DirectServiceBookingPage.js.map +1 -1
- package/dist/atheletebridge/pages/customer/FavoritesPage.js +83 -75
- package/dist/atheletebridge/pages/customer/FavoritesPage.js.map +1 -1
- package/dist/atheletebridge/pages/customer/OrderHistoryPage.js +116 -108
- package/dist/atheletebridge/pages/customer/OrderHistoryPage.js.map +1 -1
- package/dist/atheletebridge/pages/customer/OrderTrackingPage.js +65 -61
- package/dist/atheletebridge/pages/customer/OrderTrackingPage.js.map +1 -1
- package/dist/atheletebridge/pages/customer/PaymentMethodsPage.js +80 -75
- package/dist/atheletebridge/pages/customer/PaymentMethodsPage.js.map +1 -1
- package/dist/atheletebridge/pages/customer/ReviewsPage.js +80 -72
- package/dist/atheletebridge/pages/customer/ReviewsPage.js.map +1 -1
- package/dist/atheletebridge/pages/customer/SavedAddressesPage.js +62 -55
- package/dist/atheletebridge/pages/customer/SavedAddressesPage.js.map +1 -1
- package/dist/atheletebridge/pages/investor/InvestmentDetailsPage.js +93 -61
- package/dist/atheletebridge/pages/investor/InvestmentDetailsPage.js.map +1 -1
- package/dist/atheletebridge/pages/investor/InvestmentOpportunitiesPage.js +89 -84
- package/dist/atheletebridge/pages/investor/InvestmentOpportunitiesPage.js.map +1 -1
- package/dist/atheletebridge/pages/investor/InvestorAnalyticsPage.js +60 -55
- package/dist/atheletebridge/pages/investor/InvestorAnalyticsPage.js.map +1 -1
- package/dist/atheletebridge/pages/investor/InvestorDashboard.js +345 -311
- package/dist/atheletebridge/pages/investor/InvestorDashboard.js.map +1 -1
- package/dist/atheletebridge/pages/investor/InvestorInvestmentsPage.js +37 -32
- package/dist/atheletebridge/pages/investor/InvestorInvestmentsPage.js.map +1 -1
- package/dist/atheletebridge/pages/investor/InvestorPortfolioPage.js +75 -67
- package/dist/atheletebridge/pages/investor/InvestorPortfolioPage.js.map +1 -1
- package/dist/atheletebridge/pages/investor/InvestorProfilePage.js +385 -381
- package/dist/atheletebridge/pages/investor/InvestorProfilePage.js.map +1 -1
- package/dist/atheletebridge/pages/worker/TaskDetailsPage.js +352 -319
- package/dist/atheletebridge/pages/worker/TaskDetailsPage.js.map +1 -1
- package/dist/atheletebridge/pages/worker/WorkerDashboard.js +353 -318
- package/dist/atheletebridge/pages/worker/WorkerDashboard.js.map +1 -1
- package/dist/atheletebridge/pages/worker/WorkerOrdersPage.js +133 -128
- package/dist/atheletebridge/pages/worker/WorkerOrdersPage.js.map +1 -1
- package/dist/atheletebridge/pages/worker/WorkerProfilePage.js +81 -77
- package/dist/atheletebridge/pages/worker/WorkerProfilePage.js.map +1 -1
- package/dist/atheletebridge/pages/worker/WorkerSchedulePage.js +352 -344
- package/dist/atheletebridge/pages/worker/WorkerSchedulePage.js.map +1 -1
- package/package.json +3 -3
|
@@ -8,8 +8,9 @@ import { useMemo as s, useState as c } from "react";
|
|
|
8
8
|
import { AlertTriangle as l, ArrowLeft as u, Calendar as d, CalendarCheck as f, CheckCircle2 as p, Circle as m, Clock as h, Headphones as g, MapPin as _, Phone as v, ShoppingBag as y, Star as b, XCircle as x } from "lucide-react";
|
|
9
9
|
import { useParams as S } from "react-router-dom";
|
|
10
10
|
import { jsx as C, jsxs as w } from "react/jsx-runtime";
|
|
11
|
+
import { EmphasisPanel as T, PagePurpose as E } from "@burdenoff/fe-libs/ui";
|
|
11
12
|
//#region src/atheletebridge/pages/customer/BookingDetailsPage.tsx
|
|
12
|
-
var
|
|
13
|
+
var D = [
|
|
13
14
|
{
|
|
14
15
|
id: "BK-001",
|
|
15
16
|
serviceName: "Men's Haircut + Beard Trim",
|
|
@@ -184,411 +185,418 @@ var T = [
|
|
|
184
185
|
}
|
|
185
186
|
]
|
|
186
187
|
}
|
|
187
|
-
],
|
|
188
|
-
function
|
|
189
|
-
let { bookingId:
|
|
190
|
-
|
|
188
|
+
], O = (e) => D.find((t) => t.id === e);
|
|
189
|
+
function k() {
|
|
190
|
+
let { bookingId: D } = S(), { navigateTo: k } = e(), [A, j] = c(null), M = s(() => D ? O(D) : void 0, [D]), N = (e) => {
|
|
191
|
+
j(e), setTimeout(() => j(null), 3e3);
|
|
191
192
|
};
|
|
192
|
-
if (!
|
|
193
|
+
if (!M) return /* @__PURE__ */ C(n, {
|
|
193
194
|
title: "Booking Not Found",
|
|
194
195
|
children: /* @__PURE__ */ C(i, {
|
|
195
196
|
illustration: "empty-generic",
|
|
196
197
|
icon: /* @__PURE__ */ C(f, { className: "h-12 w-12" }),
|
|
197
198
|
title: "Booking not found",
|
|
198
|
-
description: `No booking found with ID "${
|
|
199
|
+
description: `No booking found with ID "${D}".`,
|
|
199
200
|
action: /* @__PURE__ */ C("button", {
|
|
200
201
|
type: "button",
|
|
201
|
-
onClick: () =>
|
|
202
|
+
onClick: () => k("/customer/dashboard"),
|
|
202
203
|
className: "rounded-lg bg-foreground px-4 py-2 text-sm font-medium text-background hover:opacity-90 transition-opacity",
|
|
203
204
|
children: "Go to Dashboard"
|
|
204
205
|
})
|
|
205
206
|
})
|
|
206
207
|
});
|
|
207
|
-
let
|
|
208
|
+
let P = M.status === "cancelled", F = M.status === "completed", I = !P && !F;
|
|
208
209
|
return /* @__PURE__ */ w(n, {
|
|
209
210
|
title: /* @__PURE__ */ w("div", {
|
|
210
211
|
className: "flex items-center gap-3",
|
|
211
212
|
children: [/* @__PURE__ */ C("button", {
|
|
212
213
|
type: "button",
|
|
213
|
-
onClick: () =>
|
|
214
|
+
onClick: () => k("/customer/dashboard"),
|
|
214
215
|
className: "rounded-md p-1 text-text-secondary hover:bg-accent hover:text-text-primary transition-colors",
|
|
215
216
|
children: /* @__PURE__ */ C(u, { className: "h-5 w-5" })
|
|
216
|
-
}), /* @__PURE__ */ w("span", { children: ["Booking #",
|
|
217
|
+
}), /* @__PURE__ */ w("span", { children: ["Booking #", M.id] })]
|
|
217
218
|
}),
|
|
218
|
-
actions: /* @__PURE__ */ C(r, { status:
|
|
219
|
-
children: [
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
}),
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
children: [/* @__PURE__ */ C(l, { className: "h-3.5 w-3.5 text-red-600 dark:text-red-400" }), /* @__PURE__ */ C("p", {
|
|
273
|
-
className: "text-xs font-medium text-red-600 dark:text-red-400",
|
|
274
|
-
children: "Cancellation Reason"
|
|
219
|
+
actions: /* @__PURE__ */ C(r, { status: M.status }),
|
|
220
|
+
children: [
|
|
221
|
+
/* @__PURE__ */ C(E, {
|
|
222
|
+
className: "mb-6",
|
|
223
|
+
children: "Everything about this service booking in one view — what was booked, when it's scheduled, who's providing it, and the price. Use this page to confirm details, read any notes, and manage or cancel the booking if your plans change."
|
|
224
|
+
}),
|
|
225
|
+
A && /* @__PURE__ */ w("div", {
|
|
226
|
+
className: "mb-4 rounded-lg border border-green-500/30 bg-green-500/10 p-3 flex items-center gap-2",
|
|
227
|
+
children: [/* @__PURE__ */ C(p, { className: "h-4 w-4 text-green-600 dark:text-green-400 shrink-0" }), /* @__PURE__ */ C("p", {
|
|
228
|
+
className: "text-sm text-green-600 dark:text-green-400",
|
|
229
|
+
children: A
|
|
230
|
+
})]
|
|
231
|
+
}),
|
|
232
|
+
/* @__PURE__ */ w("div", {
|
|
233
|
+
className: "grid grid-cols-1 gap-6 lg:grid-cols-3",
|
|
234
|
+
children: [/* @__PURE__ */ w("div", {
|
|
235
|
+
className: "lg:col-span-2 space-y-6",
|
|
236
|
+
children: [
|
|
237
|
+
/* @__PURE__ */ w(T, {
|
|
238
|
+
className: "p-6",
|
|
239
|
+
children: [
|
|
240
|
+
/* @__PURE__ */ C("h2", {
|
|
241
|
+
className: "text-lg font-semibold text-text-primary",
|
|
242
|
+
children: M.serviceName
|
|
243
|
+
}),
|
|
244
|
+
/* @__PURE__ */ C("p", {
|
|
245
|
+
className: "mt-1 text-sm text-text-secondary",
|
|
246
|
+
children: M.serviceDescription
|
|
247
|
+
}),
|
|
248
|
+
/* @__PURE__ */ w("div", {
|
|
249
|
+
className: "mt-4 flex flex-wrap gap-4 text-sm text-text-secondary",
|
|
250
|
+
children: [
|
|
251
|
+
/* @__PURE__ */ w("div", {
|
|
252
|
+
className: "flex items-center gap-1.5",
|
|
253
|
+
children: [/* @__PURE__ */ C(d, { className: "h-4 w-4" }), /* @__PURE__ */ C("span", { children: M.scheduledDate })]
|
|
254
|
+
}),
|
|
255
|
+
/* @__PURE__ */ w("div", {
|
|
256
|
+
className: "flex items-center gap-1.5",
|
|
257
|
+
children: [/* @__PURE__ */ C(h, { className: "h-4 w-4" }), /* @__PURE__ */ C("span", { children: M.scheduledTime })]
|
|
258
|
+
}),
|
|
259
|
+
/* @__PURE__ */ w("div", {
|
|
260
|
+
className: "flex items-center gap-1.5",
|
|
261
|
+
children: [/* @__PURE__ */ C(h, { className: "h-4 w-4" }), /* @__PURE__ */ w("span", { children: [M.duration, " min"] })]
|
|
262
|
+
})
|
|
263
|
+
]
|
|
264
|
+
}),
|
|
265
|
+
M.notes && /* @__PURE__ */ w("div", {
|
|
266
|
+
className: "mt-4 rounded-md bg-bg-sunken p-3",
|
|
267
|
+
children: [/* @__PURE__ */ C("p", {
|
|
268
|
+
className: "text-xs text-text-secondary mb-1",
|
|
269
|
+
children: "Notes"
|
|
270
|
+
}), /* @__PURE__ */ C("p", {
|
|
271
|
+
className: "text-sm text-text-primary",
|
|
272
|
+
children: M.notes
|
|
275
273
|
})]
|
|
276
|
-
}),
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
})]
|
|
280
|
-
})
|
|
281
|
-
]
|
|
282
|
-
}),
|
|
283
|
-
/* @__PURE__ */ w("div", {
|
|
284
|
-
className: "rounded-lg border border-border-subtle bg-bg-surface p-6",
|
|
285
|
-
children: [
|
|
286
|
-
/* @__PURE__ */ C("h2", {
|
|
287
|
-
className: "text-base font-semibold text-text-primary mb-4",
|
|
288
|
-
children: "Service Provider"
|
|
289
|
-
}),
|
|
290
|
-
/* @__PURE__ */ w("div", {
|
|
291
|
-
className: "flex items-center gap-4",
|
|
292
|
-
children: [
|
|
293
|
-
/* @__PURE__ */ C("div", {
|
|
294
|
-
className: "flex h-12 w-12 items-center justify-center rounded-full bg-bg-sunken text-text-secondary",
|
|
295
|
-
children: /* @__PURE__ */ C(y, { className: "h-6 w-6" })
|
|
296
|
-
}),
|
|
297
|
-
/* @__PURE__ */ w("div", {
|
|
298
|
-
className: "flex-1 min-w-0",
|
|
299
|
-
children: [
|
|
300
|
-
/* @__PURE__ */ C("p", {
|
|
301
|
-
className: "text-sm font-semibold text-text-primary",
|
|
302
|
-
children: A.provider.name
|
|
303
|
-
}),
|
|
304
|
-
/* @__PURE__ */ C("p", {
|
|
305
|
-
className: "text-xs text-text-secondary",
|
|
306
|
-
children: A.provider.category
|
|
307
|
-
}),
|
|
308
|
-
/* @__PURE__ */ w("div", {
|
|
309
|
-
className: "flex items-center gap-1 mt-1",
|
|
310
|
-
children: [/* @__PURE__ */ C(b, { className: "h-3 w-3 fill-yellow-400 text-yellow-400" }), /* @__PURE__ */ C("span", {
|
|
311
|
-
className: "text-xs font-medium text-text-primary",
|
|
312
|
-
children: A.provider.rating
|
|
313
|
-
})]
|
|
314
|
-
})
|
|
315
|
-
]
|
|
316
|
-
}),
|
|
317
|
-
/* @__PURE__ */ C("a", {
|
|
318
|
-
href: `tel:${A.provider.phone}`,
|
|
319
|
-
className: "flex h-10 w-10 items-center justify-center rounded-full bg-bg-sunken text-text-secondary hover:bg-accent hover:text-text-primary transition-colors",
|
|
320
|
-
children: /* @__PURE__ */ C(v, { className: "h-4 w-4" })
|
|
321
|
-
})
|
|
322
|
-
]
|
|
323
|
-
}),
|
|
324
|
-
/* @__PURE__ */ w("div", {
|
|
325
|
-
className: "mt-3 flex items-center gap-2 text-sm text-text-secondary",
|
|
326
|
-
children: [/* @__PURE__ */ C(v, { className: "h-4 w-4 shrink-0" }), /* @__PURE__ */ C("span", { children: A.provider.phone })]
|
|
327
|
-
})
|
|
328
|
-
]
|
|
329
|
-
}),
|
|
330
|
-
/* @__PURE__ */ w("div", {
|
|
331
|
-
className: "rounded-lg border border-border-subtle bg-bg-surface p-6",
|
|
332
|
-
children: [/* @__PURE__ */ C("h2", {
|
|
333
|
-
className: "text-base font-semibold text-text-primary mb-5",
|
|
334
|
-
children: "Booking Timeline"
|
|
335
|
-
}), /* @__PURE__ */ C("div", {
|
|
336
|
-
className: "relative",
|
|
337
|
-
children: A.timeline.map((e, n) => {
|
|
338
|
-
let r = n === A.timeline.length - 1, i = e.status === "cancelled", a = i ? x : e.completed ? p : m;
|
|
339
|
-
return /* @__PURE__ */ w("div", {
|
|
340
|
-
className: "flex gap-4",
|
|
274
|
+
}),
|
|
275
|
+
M.cancellationReason && /* @__PURE__ */ w("div", {
|
|
276
|
+
className: "mt-4 rounded-md bg-red-500/5 border border-red-500/20 p-3",
|
|
341
277
|
children: [/* @__PURE__ */ w("div", {
|
|
342
|
-
className: "flex
|
|
343
|
-
children: [/* @__PURE__ */ C("
|
|
344
|
-
className:
|
|
345
|
-
children:
|
|
346
|
-
}), !r && /* @__PURE__ */ C("div", { className: t("w-0.5 flex-1 my-1", e.completed ? "bg-green-500/30" : "bg-border") })]
|
|
347
|
-
}), /* @__PURE__ */ w("div", {
|
|
348
|
-
className: t("pb-6", r && "pb-0"),
|
|
349
|
-
children: [/* @__PURE__ */ C("p", {
|
|
350
|
-
className: "text-sm font-medium text-text-primary",
|
|
351
|
-
children: e.label
|
|
352
|
-
}), /* @__PURE__ */ C("p", {
|
|
353
|
-
className: "mt-0.5 text-xs text-text-secondary",
|
|
354
|
-
children: e.timestamp ? o(e.timestamp) : "Pending"
|
|
278
|
+
className: "flex items-center gap-2 mb-1",
|
|
279
|
+
children: [/* @__PURE__ */ C(l, { className: "h-3.5 w-3.5 text-red-600 dark:text-red-400" }), /* @__PURE__ */ C("p", {
|
|
280
|
+
className: "text-xs font-medium text-red-600 dark:text-red-400",
|
|
281
|
+
children: "Cancellation Reason"
|
|
355
282
|
})]
|
|
283
|
+
}), /* @__PURE__ */ C("p", {
|
|
284
|
+
className: "text-sm text-text-primary",
|
|
285
|
+
children: M.cancellationReason
|
|
356
286
|
})]
|
|
357
|
-
}
|
|
358
|
-
|
|
359
|
-
})
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
children: [/* @__PURE__ */ C(g, { className: "h-4 w-4" }), "Contact Support"]
|
|
370
|
-
}), N && /* @__PURE__ */ w("button", {
|
|
371
|
-
type: "button",
|
|
372
|
-
onClick: () => {
|
|
373
|
-
j("Thank you! Rating feature coming soon.");
|
|
374
|
-
},
|
|
375
|
-
className: "flex-1 flex items-center justify-center gap-2 rounded-lg bg-foreground px-4 py-3 text-sm font-medium text-background hover:opacity-90 transition-opacity",
|
|
376
|
-
children: [/* @__PURE__ */ C(b, { className: "h-4 w-4" }), "Rate Service"]
|
|
377
|
-
})]
|
|
378
|
-
})
|
|
379
|
-
]
|
|
380
|
-
}), /* @__PURE__ */ w("div", {
|
|
381
|
-
className: "space-y-6",
|
|
382
|
-
children: [
|
|
383
|
-
/* @__PURE__ */ w("div", {
|
|
384
|
-
className: "rounded-lg border border-border-subtle bg-bg-surface p-5",
|
|
385
|
-
children: [
|
|
386
|
-
/* @__PURE__ */ C("h3", {
|
|
387
|
-
className: "text-base font-semibold text-text-primary mb-3",
|
|
388
|
-
children: "Cart Information"
|
|
389
|
-
}),
|
|
390
|
-
/* @__PURE__ */ w("div", {
|
|
391
|
-
className: "flex items-center gap-3 mb-4",
|
|
392
|
-
children: [/* @__PURE__ */ C("img", {
|
|
393
|
-
src: A.provider.image,
|
|
394
|
-
alt: A.provider.name,
|
|
395
|
-
className: "h-14 w-14 rounded-lg object-cover"
|
|
396
|
-
}), /* @__PURE__ */ w("div", {
|
|
397
|
-
className: "min-w-0",
|
|
287
|
+
})
|
|
288
|
+
]
|
|
289
|
+
}),
|
|
290
|
+
/* @__PURE__ */ w("div", {
|
|
291
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface p-6",
|
|
292
|
+
children: [
|
|
293
|
+
/* @__PURE__ */ C("h2", {
|
|
294
|
+
className: "text-base font-semibold text-text-primary mb-4",
|
|
295
|
+
children: "Service Provider"
|
|
296
|
+
}),
|
|
297
|
+
/* @__PURE__ */ w("div", {
|
|
298
|
+
className: "flex items-center gap-4",
|
|
398
299
|
children: [
|
|
399
|
-
/* @__PURE__ */ C("
|
|
400
|
-
className: "
|
|
401
|
-
children:
|
|
402
|
-
}),
|
|
403
|
-
/* @__PURE__ */ C("p", {
|
|
404
|
-
className: "text-xs text-text-secondary",
|
|
405
|
-
children: A.provider.category
|
|
300
|
+
/* @__PURE__ */ C("div", {
|
|
301
|
+
className: "flex h-12 w-12 items-center justify-center rounded-full bg-bg-sunken text-text-secondary",
|
|
302
|
+
children: /* @__PURE__ */ C(y, { className: "h-6 w-6" })
|
|
406
303
|
}),
|
|
407
304
|
/* @__PURE__ */ w("div", {
|
|
408
|
-
className: "flex
|
|
305
|
+
className: "flex-1 min-w-0",
|
|
409
306
|
children: [
|
|
410
|
-
/* @__PURE__ */ C(
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
children: A.provider.rating
|
|
307
|
+
/* @__PURE__ */ C("p", {
|
|
308
|
+
className: "text-sm font-semibold text-text-primary",
|
|
309
|
+
children: M.provider.name
|
|
414
310
|
}),
|
|
415
|
-
/* @__PURE__ */
|
|
311
|
+
/* @__PURE__ */ C("p", {
|
|
416
312
|
className: "text-xs text-text-secondary",
|
|
417
|
-
children:
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
313
|
+
children: M.provider.category
|
|
314
|
+
}),
|
|
315
|
+
/* @__PURE__ */ w("div", {
|
|
316
|
+
className: "flex items-center gap-1 mt-1",
|
|
317
|
+
children: [/* @__PURE__ */ C(b, { className: "h-3 w-3 fill-yellow-400 text-yellow-400" }), /* @__PURE__ */ C("span", {
|
|
318
|
+
className: "text-xs font-medium text-text-primary",
|
|
319
|
+
children: M.provider.rating
|
|
320
|
+
})]
|
|
422
321
|
})
|
|
423
322
|
]
|
|
323
|
+
}),
|
|
324
|
+
/* @__PURE__ */ C("a", {
|
|
325
|
+
href: `tel:${M.provider.phone}`,
|
|
326
|
+
className: "flex h-10 w-10 items-center justify-center rounded-full bg-bg-sunken text-text-secondary hover:bg-accent hover:text-text-primary transition-colors",
|
|
327
|
+
children: /* @__PURE__ */ C(v, { className: "h-4 w-4" })
|
|
424
328
|
})
|
|
425
329
|
]
|
|
426
|
-
})]
|
|
427
|
-
}),
|
|
428
|
-
/* @__PURE__ */ C("div", {
|
|
429
|
-
className: "space-y-2 text-sm mb-4",
|
|
430
|
-
children: /* @__PURE__ */ w("div", {
|
|
431
|
-
className: "flex items-start gap-2",
|
|
432
|
-
children: [/* @__PURE__ */ C(_, { className: "h-4 w-4 text-text-secondary shrink-0 mt-0.5" }), /* @__PURE__ */ C("span", {
|
|
433
|
-
className: "text-text-secondary",
|
|
434
|
-
children: A.provider.location
|
|
435
|
-
})]
|
|
436
|
-
})
|
|
437
|
-
}),
|
|
438
|
-
/* @__PURE__ */ C("button", {
|
|
439
|
-
type: "button",
|
|
440
|
-
onClick: () => D(`/customer/carts/${A.provider.id}`),
|
|
441
|
-
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",
|
|
442
|
-
children: "View Cart Menu"
|
|
443
|
-
})
|
|
444
|
-
]
|
|
445
|
-
}),
|
|
446
|
-
/* @__PURE__ */ w("div", {
|
|
447
|
-
className: "rounded-lg border border-border-subtle bg-bg-surface p-5",
|
|
448
|
-
children: [/* @__PURE__ */ C("h3", {
|
|
449
|
-
className: "text-base font-semibold text-text-primary mb-3",
|
|
450
|
-
children: "Service Location"
|
|
451
|
-
}), /* @__PURE__ */ w("div", {
|
|
452
|
-
className: "flex items-start gap-3",
|
|
453
|
-
children: [/* @__PURE__ */ C(_, { className: "mt-0.5 h-5 w-5 shrink-0 text-text-secondary" }), /* @__PURE__ */ w("div", { children: [
|
|
454
|
-
/* @__PURE__ */ C("p", {
|
|
455
|
-
className: "text-sm text-text-primary",
|
|
456
|
-
children: A.location.street
|
|
457
330
|
}),
|
|
458
|
-
/* @__PURE__ */ w("
|
|
459
|
-
className: "text-sm text-text-secondary",
|
|
460
|
-
children: [
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
331
|
+
/* @__PURE__ */ w("div", {
|
|
332
|
+
className: "mt-3 flex items-center gap-2 text-sm text-text-secondary",
|
|
333
|
+
children: [/* @__PURE__ */ C(v, { className: "h-4 w-4 shrink-0" }), /* @__PURE__ */ C("span", { children: M.provider.phone })]
|
|
334
|
+
})
|
|
335
|
+
]
|
|
336
|
+
}),
|
|
337
|
+
/* @__PURE__ */ w("div", {
|
|
338
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface p-6",
|
|
339
|
+
children: [/* @__PURE__ */ C("h2", {
|
|
340
|
+
className: "text-base font-semibold text-text-primary mb-5",
|
|
341
|
+
children: "Booking Timeline"
|
|
342
|
+
}), /* @__PURE__ */ C("div", {
|
|
343
|
+
className: "relative",
|
|
344
|
+
children: M.timeline.map((e, n) => {
|
|
345
|
+
let r = n === M.timeline.length - 1, i = e.status === "cancelled", a = i ? x : e.completed ? p : m;
|
|
346
|
+
return /* @__PURE__ */ w("div", {
|
|
347
|
+
className: "flex gap-4",
|
|
348
|
+
children: [/* @__PURE__ */ w("div", {
|
|
349
|
+
className: "flex flex-col items-center",
|
|
350
|
+
children: [/* @__PURE__ */ C("div", {
|
|
351
|
+
className: t("flex h-8 w-8 shrink-0 items-center justify-center rounded-full", i ? "bg-red-500/10 text-red-600 dark:text-red-400" : e.completed ? "bg-green-500/10 text-green-600 dark:text-green-400" : "bg-bg-sunken text-text-secondary"),
|
|
352
|
+
children: /* @__PURE__ */ C(a, { className: "h-4 w-4" })
|
|
353
|
+
}), !r && /* @__PURE__ */ C("div", { className: t("w-0.5 flex-1 my-1", e.completed ? "bg-green-500/30" : "bg-border") })]
|
|
354
|
+
}), /* @__PURE__ */ w("div", {
|
|
355
|
+
className: t("pb-6", r && "pb-0"),
|
|
356
|
+
children: [/* @__PURE__ */ C("p", {
|
|
357
|
+
className: "text-sm font-medium text-text-primary",
|
|
358
|
+
children: e.label
|
|
359
|
+
}), /* @__PURE__ */ C("p", {
|
|
360
|
+
className: "mt-0.5 text-xs text-text-secondary",
|
|
361
|
+
children: e.timestamp ? o(e.timestamp) : "Pending"
|
|
362
|
+
})]
|
|
363
|
+
})]
|
|
364
|
+
}, `${e.status}-${n}`);
|
|
471
365
|
})
|
|
472
|
-
|
|
473
|
-
})
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
366
|
+
})]
|
|
367
|
+
}),
|
|
368
|
+
/* @__PURE__ */ w("div", {
|
|
369
|
+
className: "flex flex-col sm:flex-row gap-3",
|
|
370
|
+
children: [/* @__PURE__ */ w("button", {
|
|
371
|
+
type: "button",
|
|
372
|
+
onClick: () => {
|
|
373
|
+
N("Support team will contact you shortly.");
|
|
374
|
+
},
|
|
375
|
+
className: "flex-1 flex items-center justify-center gap-2 rounded-lg border border-border-subtle px-4 py-3 text-sm font-medium text-text-primary hover:bg-accent transition-colors",
|
|
376
|
+
children: [/* @__PURE__ */ C(g, { className: "h-4 w-4" }), "Contact Support"]
|
|
377
|
+
}), F && /* @__PURE__ */ w("button", {
|
|
378
|
+
type: "button",
|
|
379
|
+
onClick: () => {
|
|
380
|
+
N("Thank you! Rating feature coming soon.");
|
|
381
|
+
},
|
|
382
|
+
className: "flex-1 flex items-center justify-center gap-2 rounded-lg bg-foreground px-4 py-3 text-sm font-medium text-background hover:opacity-90 transition-opacity",
|
|
383
|
+
children: [/* @__PURE__ */ C(b, { className: "h-4 w-4" }), "Rate Service"]
|
|
384
|
+
})]
|
|
385
|
+
})
|
|
386
|
+
]
|
|
387
|
+
}), /* @__PURE__ */ w("div", {
|
|
388
|
+
className: "space-y-6",
|
|
389
|
+
children: [
|
|
390
|
+
/* @__PURE__ */ w("div", {
|
|
391
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface p-5",
|
|
482
392
|
children: [
|
|
483
|
-
/* @__PURE__ */
|
|
484
|
-
className: "
|
|
485
|
-
children:
|
|
486
|
-
className: "text-text-secondary",
|
|
487
|
-
children: "Service Charge"
|
|
488
|
-
}), /* @__PURE__ */ C("span", {
|
|
489
|
-
className: "text-text-primary",
|
|
490
|
-
children: a(A.pricing.serviceCharge, { minimumFractionDigits: 0 })
|
|
491
|
-
})]
|
|
393
|
+
/* @__PURE__ */ C("h3", {
|
|
394
|
+
className: "text-base font-semibold text-text-primary mb-3",
|
|
395
|
+
children: "Cart Information"
|
|
492
396
|
}),
|
|
493
397
|
/* @__PURE__ */ w("div", {
|
|
494
|
-
className: "flex
|
|
495
|
-
children: [/* @__PURE__ */ C("
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
398
|
+
className: "flex items-center gap-3 mb-4",
|
|
399
|
+
children: [/* @__PURE__ */ C("img", {
|
|
400
|
+
src: M.provider.image,
|
|
401
|
+
alt: M.provider.name,
|
|
402
|
+
className: "h-14 w-14 rounded-lg object-cover"
|
|
403
|
+
}), /* @__PURE__ */ w("div", {
|
|
404
|
+
className: "min-w-0",
|
|
405
|
+
children: [
|
|
406
|
+
/* @__PURE__ */ C("p", {
|
|
407
|
+
className: "text-sm font-semibold text-text-primary",
|
|
408
|
+
children: M.provider.name
|
|
409
|
+
}),
|
|
410
|
+
/* @__PURE__ */ C("p", {
|
|
411
|
+
className: "text-xs text-text-secondary",
|
|
412
|
+
children: M.provider.category
|
|
413
|
+
}),
|
|
414
|
+
/* @__PURE__ */ w("div", {
|
|
415
|
+
className: "flex items-center gap-1 mt-0.5",
|
|
416
|
+
children: [
|
|
417
|
+
/* @__PURE__ */ C(b, { className: "h-3 w-3 fill-yellow-400 text-yellow-400" }),
|
|
418
|
+
/* @__PURE__ */ C("span", {
|
|
419
|
+
className: "text-xs font-medium text-text-primary",
|
|
420
|
+
children: M.provider.rating
|
|
421
|
+
}),
|
|
422
|
+
/* @__PURE__ */ w("span", {
|
|
423
|
+
className: "text-xs text-text-secondary",
|
|
424
|
+
children: [
|
|
425
|
+
"(",
|
|
426
|
+
M.provider.reviewCount,
|
|
427
|
+
")"
|
|
428
|
+
]
|
|
429
|
+
})
|
|
430
|
+
]
|
|
431
|
+
})
|
|
432
|
+
]
|
|
511
433
|
})]
|
|
512
434
|
}),
|
|
513
|
-
|
|
514
|
-
className: "
|
|
515
|
-
children:
|
|
516
|
-
className: "
|
|
517
|
-
children: "
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
})
|
|
435
|
+
/* @__PURE__ */ C("div", {
|
|
436
|
+
className: "space-y-2 text-sm mb-4",
|
|
437
|
+
children: /* @__PURE__ */ w("div", {
|
|
438
|
+
className: "flex items-start gap-2",
|
|
439
|
+
children: [/* @__PURE__ */ C(_, { className: "h-4 w-4 text-text-secondary shrink-0 mt-0.5" }), /* @__PURE__ */ C("span", {
|
|
440
|
+
className: "text-text-secondary",
|
|
441
|
+
children: M.provider.location
|
|
442
|
+
})]
|
|
443
|
+
})
|
|
522
444
|
}),
|
|
523
|
-
/* @__PURE__ */
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
}), /* @__PURE__ */ C("span", {
|
|
529
|
-
className: "font-bold text-text-primary",
|
|
530
|
-
children: a(A.pricing.total, { minimumFractionDigits: 0 })
|
|
531
|
-
})]
|
|
445
|
+
/* @__PURE__ */ C("button", {
|
|
446
|
+
type: "button",
|
|
447
|
+
onClick: () => k(`/customer/carts/${M.provider.id}`),
|
|
448
|
+
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",
|
|
449
|
+
children: "View Cart Menu"
|
|
532
450
|
})
|
|
533
451
|
]
|
|
534
|
-
})
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
/* @__PURE__ */ w("div", {
|
|
545
|
-
className: "flex items-center gap-2",
|
|
546
|
-
children: [/* @__PURE__ */ C(f, { className: "h-4 w-4 text-text-secondary" }), /* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C("p", {
|
|
547
|
-
className: "text-xs text-text-secondary",
|
|
548
|
-
children: "Booked On"
|
|
549
|
-
}), /* @__PURE__ */ C("p", {
|
|
550
|
-
className: "text-sm text-text-primary",
|
|
551
|
-
children: o(A.createdAt)
|
|
552
|
-
})] })]
|
|
553
|
-
}),
|
|
554
|
-
/* @__PURE__ */ w("div", {
|
|
555
|
-
className: "flex items-center gap-2",
|
|
556
|
-
children: [/* @__PURE__ */ C(d, { className: "h-4 w-4 text-text-secondary" }), /* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C("p", {
|
|
557
|
-
className: "text-xs text-text-secondary",
|
|
558
|
-
children: "Scheduled"
|
|
559
|
-
}), /* @__PURE__ */ w("p", {
|
|
452
|
+
}),
|
|
453
|
+
/* @__PURE__ */ w("div", {
|
|
454
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface p-5",
|
|
455
|
+
children: [/* @__PURE__ */ C("h3", {
|
|
456
|
+
className: "text-base font-semibold text-text-primary mb-3",
|
|
457
|
+
children: "Service Location"
|
|
458
|
+
}), /* @__PURE__ */ w("div", {
|
|
459
|
+
className: "flex items-start gap-3",
|
|
460
|
+
children: [/* @__PURE__ */ C(_, { className: "mt-0.5 h-5 w-5 shrink-0 text-text-secondary" }), /* @__PURE__ */ w("div", { children: [
|
|
461
|
+
/* @__PURE__ */ C("p", {
|
|
560
462
|
className: "text-sm text-text-primary",
|
|
463
|
+
children: M.location.street
|
|
464
|
+
}),
|
|
465
|
+
/* @__PURE__ */ w("p", {
|
|
466
|
+
className: "text-sm text-text-secondary",
|
|
561
467
|
children: [
|
|
562
|
-
|
|
563
|
-
"
|
|
564
|
-
|
|
468
|
+
M.location.area,
|
|
469
|
+
", ",
|
|
470
|
+
M.location.city,
|
|
471
|
+
" - ",
|
|
472
|
+
M.location.pincode
|
|
565
473
|
]
|
|
566
|
-
})
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
474
|
+
}),
|
|
475
|
+
M.location.landmark && /* @__PURE__ */ w("p", {
|
|
476
|
+
className: "text-xs text-text-secondary mt-1",
|
|
477
|
+
children: ["Landmark: ", M.location.landmark]
|
|
478
|
+
})
|
|
479
|
+
] })]
|
|
480
|
+
})]
|
|
481
|
+
}),
|
|
482
|
+
/* @__PURE__ */ w("div", {
|
|
483
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface p-5",
|
|
484
|
+
children: [/* @__PURE__ */ C("h3", {
|
|
485
|
+
className: "text-base font-semibold text-text-primary mb-3",
|
|
486
|
+
children: "Price Breakdown"
|
|
487
|
+
}), /* @__PURE__ */ w("div", {
|
|
488
|
+
className: "space-y-2.5 text-sm",
|
|
489
|
+
children: [
|
|
490
|
+
/* @__PURE__ */ w("div", {
|
|
491
|
+
className: "flex justify-between",
|
|
492
|
+
children: [/* @__PURE__ */ C("span", {
|
|
493
|
+
className: "text-text-secondary",
|
|
494
|
+
children: "Service Charge"
|
|
495
|
+
}), /* @__PURE__ */ C("span", {
|
|
496
|
+
className: "text-text-primary",
|
|
497
|
+
children: a(M.pricing.serviceCharge, { minimumFractionDigits: 0 })
|
|
498
|
+
})]
|
|
499
|
+
}),
|
|
500
|
+
/* @__PURE__ */ w("div", {
|
|
501
|
+
className: "flex justify-between",
|
|
502
|
+
children: [/* @__PURE__ */ C("span", {
|
|
503
|
+
className: "text-text-secondary",
|
|
504
|
+
children: "Convenience Fee"
|
|
505
|
+
}), /* @__PURE__ */ C("span", {
|
|
506
|
+
className: "text-text-primary",
|
|
507
|
+
children: a(M.pricing.convenienceFee, { minimumFractionDigits: 0 })
|
|
508
|
+
})]
|
|
509
|
+
}),
|
|
510
|
+
/* @__PURE__ */ w("div", {
|
|
511
|
+
className: "flex justify-between",
|
|
512
|
+
children: [/* @__PURE__ */ C("span", {
|
|
513
|
+
className: "text-text-secondary",
|
|
514
|
+
children: "Tax"
|
|
515
|
+
}), /* @__PURE__ */ C("span", {
|
|
516
|
+
className: "text-text-primary",
|
|
517
|
+
children: a(M.pricing.tax, { minimumFractionDigits: 0 })
|
|
518
|
+
})]
|
|
519
|
+
}),
|
|
520
|
+
M.pricing.discount > 0 && /* @__PURE__ */ w("div", {
|
|
521
|
+
className: "flex justify-between",
|
|
522
|
+
children: [/* @__PURE__ */ C("span", {
|
|
523
|
+
className: "text-green-600 dark:text-green-400",
|
|
524
|
+
children: "Discount"
|
|
525
|
+
}), /* @__PURE__ */ w("span", {
|
|
526
|
+
className: "text-green-600 dark:text-green-400",
|
|
527
|
+
children: ["-", a(M.pricing.discount, { minimumFractionDigits: 0 })]
|
|
528
|
+
})]
|
|
529
|
+
}),
|
|
530
|
+
/* @__PURE__ */ w("div", {
|
|
531
|
+
className: "flex justify-between border-t border-border-subtle pt-2.5",
|
|
532
|
+
children: [/* @__PURE__ */ C("span", {
|
|
533
|
+
className: "font-semibold text-text-primary",
|
|
534
|
+
children: "Total"
|
|
535
|
+
}), /* @__PURE__ */ C("span", {
|
|
536
|
+
className: "font-bold text-text-primary",
|
|
537
|
+
children: a(M.pricing.total, { minimumFractionDigits: 0 })
|
|
538
|
+
})]
|
|
539
|
+
})
|
|
540
|
+
]
|
|
541
|
+
})]
|
|
542
|
+
}),
|
|
543
|
+
/* @__PURE__ */ w("div", {
|
|
544
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface p-5",
|
|
545
|
+
children: [/* @__PURE__ */ C("h3", {
|
|
546
|
+
className: "text-base font-semibold text-text-primary mb-3",
|
|
547
|
+
children: "Booking Info"
|
|
548
|
+
}), /* @__PURE__ */ w("div", {
|
|
549
|
+
className: "space-y-3",
|
|
550
|
+
children: [
|
|
551
|
+
/* @__PURE__ */ w("div", {
|
|
552
|
+
className: "flex items-center gap-2",
|
|
553
|
+
children: [/* @__PURE__ */ C(f, { className: "h-4 w-4 text-text-secondary" }), /* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C("p", {
|
|
554
|
+
className: "text-xs text-text-secondary",
|
|
555
|
+
children: "Booked On"
|
|
556
|
+
}), /* @__PURE__ */ C("p", {
|
|
557
|
+
className: "text-sm text-text-primary",
|
|
558
|
+
children: o(M.createdAt)
|
|
559
|
+
})] })]
|
|
560
|
+
}),
|
|
561
|
+
/* @__PURE__ */ w("div", {
|
|
562
|
+
className: "flex items-center gap-2",
|
|
563
|
+
children: [/* @__PURE__ */ C(d, { className: "h-4 w-4 text-text-secondary" }), /* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C("p", {
|
|
564
|
+
className: "text-xs text-text-secondary",
|
|
565
|
+
children: "Scheduled"
|
|
566
|
+
}), /* @__PURE__ */ w("p", {
|
|
567
|
+
className: "text-sm text-text-primary",
|
|
568
|
+
children: [
|
|
569
|
+
M.scheduledDate,
|
|
570
|
+
" at ",
|
|
571
|
+
M.scheduledTime
|
|
572
|
+
]
|
|
573
|
+
})] })]
|
|
574
|
+
}),
|
|
575
|
+
/* @__PURE__ */ w("div", {
|
|
576
|
+
className: "flex items-center gap-2",
|
|
577
|
+
children: [/* @__PURE__ */ C(h, { className: "h-4 w-4 text-text-secondary" }), /* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C("p", {
|
|
578
|
+
className: "text-xs text-text-secondary",
|
|
579
|
+
children: "Duration"
|
|
580
|
+
}), /* @__PURE__ */ w("p", {
|
|
581
|
+
className: "text-sm text-text-primary",
|
|
582
|
+
children: [M.duration, " minutes"]
|
|
583
|
+
})] })]
|
|
584
|
+
})
|
|
585
|
+
]
|
|
586
|
+
})]
|
|
587
|
+
}),
|
|
588
|
+
I && /* @__PURE__ */ w("button", {
|
|
589
|
+
type: "button",
|
|
590
|
+
className: "w-full inline-flex items-center justify-center gap-2 rounded-lg border border-red-500/30 bg-red-500/5 px-4 py-3 text-sm font-medium text-red-600 dark:text-red-400 hover:bg-red-500/10 transition-colors",
|
|
591
|
+
children: [/* @__PURE__ */ C(x, { className: "h-4 w-4" }), "Cancel Booking"]
|
|
592
|
+
})
|
|
593
|
+
]
|
|
594
|
+
})]
|
|
595
|
+
})
|
|
596
|
+
]
|
|
589
597
|
});
|
|
590
598
|
}
|
|
591
599
|
//#endregion
|
|
592
|
-
export {
|
|
600
|
+
export { k as BookingDetailsPage };
|
|
593
601
|
|
|
594
602
|
//# sourceMappingURL=BookingDetailsPage.js.map
|