@burdenoff/microfe-kadaikodi 2026.625.1 → 2026.626.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/kadaikodi/pages/HomePage.js +19 -14
- package/dist/kadaikodi/pages/HomePage.js.map +1 -1
- package/dist/kadaikodi/pages/admin/AdminAnalyticsPage.js +118 -83
- package/dist/kadaikodi/pages/admin/AdminAnalyticsPage.js.map +1 -1
- package/dist/kadaikodi/pages/admin/AdminDashboard.js +75 -46
- package/dist/kadaikodi/pages/admin/AdminDashboard.js.map +1 -1
- package/dist/kadaikodi/pages/admin/AdminFinancialPage.js +144 -128
- package/dist/kadaikodi/pages/admin/AdminFinancialPage.js.map +1 -1
- package/dist/kadaikodi/pages/admin/AdminOrdersPage.js +255 -237
- package/dist/kadaikodi/pages/admin/AdminOrdersPage.js.map +1 -1
- package/dist/kadaikodi/pages/admin/AdminProfilePage.js +129 -128
- package/dist/kadaikodi/pages/admin/AdminProfilePage.js.map +1 -1
- package/dist/kadaikodi/pages/admin/AdminSettingsPage.js +178 -150
- package/dist/kadaikodi/pages/admin/AdminSettingsPage.js.map +1 -1
- package/dist/kadaikodi/pages/admin/CartManagementPage.js +182 -159
- package/dist/kadaikodi/pages/admin/CartManagementPage.js.map +1 -1
- package/dist/kadaikodi/pages/admin/UserManagementPage.js +325 -303
- package/dist/kadaikodi/pages/admin/UserManagementPage.js.map +1 -1
- package/dist/kadaikodi/pages/cart-owner/AnalyticsDashboard.js +500 -469
- package/dist/kadaikodi/pages/cart-owner/AnalyticsDashboard.js.map +1 -1
- package/dist/kadaikodi/pages/cart-owner/BusinessSettingsPage.js +534 -503
- package/dist/kadaikodi/pages/cart-owner/BusinessSettingsPage.js.map +1 -1
- package/dist/kadaikodi/pages/cart-owner/CartOwnerDashboard.js +73 -48
- package/dist/kadaikodi/pages/cart-owner/CartOwnerDashboard.js.map +1 -1
- package/dist/kadaikodi/pages/cart-owner/CartOwnerProfilePage.js +103 -96
- package/dist/kadaikodi/pages/cart-owner/CartOwnerProfilePage.js.map +1 -1
- package/dist/kadaikodi/pages/cart-owner/CartServiceConfigPage.js +130 -129
- package/dist/kadaikodi/pages/cart-owner/CartServiceConfigPage.js.map +1 -1
- package/dist/kadaikodi/pages/cart-owner/InventoryManagementPage.js +673 -670
- package/dist/kadaikodi/pages/cart-owner/InventoryManagementPage.js.map +1 -1
- package/dist/kadaikodi/pages/cart-owner/OrderManagementPage.js +517 -514
- package/dist/kadaikodi/pages/cart-owner/OrderManagementPage.js.map +1 -1
- package/dist/kadaikodi/pages/cart-owner/StaffManagementPage.js +140 -125
- package/dist/kadaikodi/pages/cart-owner/StaffManagementPage.js.map +1 -1
- package/dist/kadaikodi/pages/common/HelpSupportPage.js +302 -311
- package/dist/kadaikodi/pages/common/HelpSupportPage.js.map +1 -1
- package/dist/kadaikodi/pages/common/NotificationCenterPage.js +102 -91
- package/dist/kadaikodi/pages/common/NotificationCenterPage.js.map +1 -1
- package/dist/kadaikodi/pages/common/SettingsPage.js +766 -734
- package/dist/kadaikodi/pages/common/SettingsPage.js.map +1 -1
- package/dist/kadaikodi/pages/customer/BookingDetailsPage.js +366 -356
- package/dist/kadaikodi/pages/customer/BookingDetailsPage.js.map +1 -1
- package/dist/kadaikodi/pages/customer/CartDetailPage.js +243 -213
- package/dist/kadaikodi/pages/customer/CartDetailPage.js.map +1 -1
- package/dist/kadaikodi/pages/customer/CartDiscoveryPage.js +200 -195
- package/dist/kadaikodi/pages/customer/CartDiscoveryPage.js.map +1 -1
- package/dist/kadaikodi/pages/customer/CheckoutPage.js +95 -89
- package/dist/kadaikodi/pages/customer/CheckoutPage.js.map +1 -1
- package/dist/kadaikodi/pages/customer/CustomerDashboard.js +430 -387
- package/dist/kadaikodi/pages/customer/CustomerDashboard.js.map +1 -1
- package/dist/kadaikodi/pages/customer/CustomerProfilePage.js +488 -478
- package/dist/kadaikodi/pages/customer/CustomerProfilePage.js.map +1 -1
- package/dist/kadaikodi/pages/customer/DirectServiceBookingPage.js +523 -512
- package/dist/kadaikodi/pages/customer/DirectServiceBookingPage.js.map +1 -1
- package/dist/kadaikodi/pages/customer/FavoritesPage.js +83 -75
- package/dist/kadaikodi/pages/customer/FavoritesPage.js.map +1 -1
- package/dist/kadaikodi/pages/customer/OrderHistoryPage.js +116 -108
- package/dist/kadaikodi/pages/customer/OrderHistoryPage.js.map +1 -1
- package/dist/kadaikodi/pages/customer/OrderTrackingPage.js +67 -61
- package/dist/kadaikodi/pages/customer/OrderTrackingPage.js.map +1 -1
- package/dist/kadaikodi/pages/customer/PaymentMethodsPage.js +90 -73
- package/dist/kadaikodi/pages/customer/PaymentMethodsPage.js.map +1 -1
- package/dist/kadaikodi/pages/customer/ReviewsPage.js +80 -72
- package/dist/kadaikodi/pages/customer/ReviewsPage.js.map +1 -1
- package/dist/kadaikodi/pages/customer/SavedAddressesPage.js +70 -53
- package/dist/kadaikodi/pages/customer/SavedAddressesPage.js.map +1 -1
- package/dist/kadaikodi/pages/investor/InvestmentDetailsPage.js +289 -255
- package/dist/kadaikodi/pages/investor/InvestmentDetailsPage.js.map +1 -1
- package/dist/kadaikodi/pages/investor/InvestmentOpportunitiesPage.js +92 -84
- package/dist/kadaikodi/pages/investor/InvestmentOpportunitiesPage.js.map +1 -1
- package/dist/kadaikodi/pages/investor/InvestorAnalyticsPage.js +63 -55
- package/dist/kadaikodi/pages/investor/InvestorAnalyticsPage.js.map +1 -1
- package/dist/kadaikodi/pages/investor/InvestorDashboard.js +339 -311
- package/dist/kadaikodi/pages/investor/InvestorDashboard.js.map +1 -1
- package/dist/kadaikodi/pages/investor/InvestorInvestmentsPage.js +40 -32
- package/dist/kadaikodi/pages/investor/InvestorInvestmentsPage.js.map +1 -1
- package/dist/kadaikodi/pages/investor/InvestorPortfolioPage.js +174 -150
- package/dist/kadaikodi/pages/investor/InvestorPortfolioPage.js.map +1 -1
- package/dist/kadaikodi/pages/investor/InvestorProfilePage.js +385 -381
- package/dist/kadaikodi/pages/investor/InvestorProfilePage.js.map +1 -1
- package/dist/kadaikodi/pages/worker/TaskDetailsPage.js +302 -273
- package/dist/kadaikodi/pages/worker/TaskDetailsPage.js.map +1 -1
- package/dist/kadaikodi/pages/worker/WorkerDashboard.js +87 -59
- package/dist/kadaikodi/pages/worker/WorkerDashboard.js.map +1 -1
- package/dist/kadaikodi/pages/worker/WorkerOrdersPage.js +82 -75
- package/dist/kadaikodi/pages/worker/WorkerOrdersPage.js.map +1 -1
- package/dist/kadaikodi/pages/worker/WorkerProfilePage.js +81 -77
- package/dist/kadaikodi/pages/worker/WorkerProfilePage.js.map +1 -1
- package/dist/kadaikodi/pages/worker/WorkerSchedulePage.js +78 -71
- package/dist/kadaikodi/pages/worker/WorkerSchedulePage.js.map +1 -1
- package/package.json +2 -2
|
@@ -8,19 +8,20 @@ import { useMemo as o, useState as s } from "react";
|
|
|
8
8
|
import { AlertCircle as c, ArrowLeft as l, ArrowRight as u, Calendar as d, CheckCircle2 as f, Clock as p, CreditCard as m, Home as h, Loader2 as g, MapPin as _, Navigation as v, Phone as y, Smartphone as b, Wallet as x } from "lucide-react";
|
|
9
9
|
import { useParams as S } from "react-router-dom";
|
|
10
10
|
import { Fragment as C, jsx as w, jsxs as T } from "react/jsx-runtime";
|
|
11
|
+
import { EmphasisPanel as E, PagePurpose as D } from "@burdenoff/fe-libs/ui";
|
|
11
12
|
//#region src/kadaikodi/pages/customer/DirectServiceBookingPage.tsx
|
|
12
|
-
var
|
|
13
|
+
var O = [
|
|
13
14
|
"location",
|
|
14
15
|
"details",
|
|
15
16
|
"payment",
|
|
16
17
|
"confirmation"
|
|
17
|
-
],
|
|
18
|
+
], k = {
|
|
18
19
|
location: "Location",
|
|
19
20
|
details: "Details",
|
|
20
21
|
payment: "Payment",
|
|
21
22
|
confirmation: "Confirmation"
|
|
22
23
|
};
|
|
23
|
-
function
|
|
24
|
+
function A() {
|
|
24
25
|
let e = [], t = new Date((/* @__PURE__ */ new Date()).getTime() + 30 * 6e4);
|
|
25
26
|
for (let n = 0; n < 8; n++) {
|
|
26
27
|
let r = new Date(t.getTime() + n * 30 * 6e4), i = r.toTimeString().slice(0, 5), a = r.toLocaleTimeString([], {
|
|
@@ -34,18 +35,18 @@ function O() {
|
|
|
34
35
|
}
|
|
35
36
|
return e;
|
|
36
37
|
}
|
|
37
|
-
function
|
|
38
|
-
let { cartId:
|
|
38
|
+
function j() {
|
|
39
|
+
let { cartId: j } = S(), { navigateTo: M } = e(), N = o(() => j ? a(j) : void 0, [j]), [P, F] = s("location"), [I, L] = s(!1), [R, z] = s({
|
|
39
40
|
address: "",
|
|
40
41
|
landmark: "",
|
|
41
42
|
instructions: "",
|
|
42
43
|
phoneNumber: ""
|
|
43
|
-
}), [
|
|
44
|
+
}), [B, V] = s({
|
|
44
45
|
preferredTime: "",
|
|
45
46
|
specialInstructions: "",
|
|
46
47
|
isUrgent: !1
|
|
47
|
-
}), [
|
|
48
|
-
if (!
|
|
48
|
+
}), [H, U] = s("upi"), [W, G] = s(null);
|
|
49
|
+
if (!N) return /* @__PURE__ */ w(n, {
|
|
49
50
|
title: "Cart Not Found",
|
|
50
51
|
children: /* @__PURE__ */ w(r, {
|
|
51
52
|
icon: /* @__PURE__ */ w(h, { className: "h-12 w-12" }),
|
|
@@ -53,36 +54,36 @@ function k() {
|
|
|
53
54
|
description: "Direct service is not available for this cart.",
|
|
54
55
|
action: /* @__PURE__ */ w("button", {
|
|
55
56
|
type: "button",
|
|
56
|
-
onClick: () =>
|
|
57
|
+
onClick: () => M("/customer/carts"),
|
|
57
58
|
className: "rounded-lg bg-foreground px-4 py-2 text-sm font-medium text-background hover:opacity-90 transition-opacity",
|
|
58
59
|
children: "Browse Carts"
|
|
59
60
|
})
|
|
60
61
|
})
|
|
61
62
|
});
|
|
62
|
-
let
|
|
63
|
+
let K = A(), q = O.indexOf(P), J = () => {
|
|
63
64
|
if (!navigator.geolocation) {
|
|
64
65
|
alert("Geolocation is not supported by this browser.");
|
|
65
66
|
return;
|
|
66
67
|
}
|
|
67
68
|
navigator.geolocation.getCurrentPosition(() => {
|
|
68
|
-
|
|
69
|
+
z((e) => ({
|
|
69
70
|
...e,
|
|
70
71
|
address: e.address || "Current location detected"
|
|
71
72
|
})), alert("Location detected successfully!");
|
|
72
73
|
}, () => {
|
|
73
74
|
alert("Failed to get your location. Please enter address manually.");
|
|
74
75
|
});
|
|
75
|
-
},
|
|
76
|
-
|
|
77
|
-
},
|
|
78
|
-
|
|
79
|
-
},
|
|
80
|
-
|
|
81
|
-
|
|
76
|
+
}, Y = () => R.address.trim() ? R.phoneNumber.trim() ? !0 : (alert("Please enter your phone number."), !1) : (alert("Please enter your address."), !1), X = () => B.preferredTime ? !0 : (alert("Please select a preferred time slot."), !1), Z = () => {
|
|
77
|
+
P === "location" && Y() ? F("details") : P === "details" && X() ? F("payment") : P === "payment" && $();
|
|
78
|
+
}, Q = () => {
|
|
79
|
+
P === "details" ? F("location") : P === "payment" && F("details");
|
|
80
|
+
}, $ = () => {
|
|
81
|
+
L(!0), setTimeout(() => {
|
|
82
|
+
G({
|
|
82
83
|
bookingId: `BK-${Date.now()}`,
|
|
83
84
|
transactionId: `TXN-${Date.now()}`,
|
|
84
85
|
estimatedArrival: new Date(Date.now() + 30 * 6e4).toISOString()
|
|
85
|
-
}),
|
|
86
|
+
}), F("confirmation"), L(!1);
|
|
86
87
|
}, 1500);
|
|
87
88
|
};
|
|
88
89
|
return /* @__PURE__ */ T(n, {
|
|
@@ -90,534 +91,544 @@ function k() {
|
|
|
90
91
|
className: "flex items-center gap-3",
|
|
91
92
|
children: [/* @__PURE__ */ w("button", {
|
|
92
93
|
type: "button",
|
|
93
|
-
onClick: () =>
|
|
94
|
+
onClick: () => M(`/customer/carts/${N.id}`),
|
|
94
95
|
className: "rounded-md p-1 text-text-secondary hover:bg-accent hover:text-text-primary transition-colors",
|
|
95
96
|
children: /* @__PURE__ */ w(l, { className: "h-5 w-5" })
|
|
96
97
|
}), /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("span", { children: "Book Direct Service" }), /* @__PURE__ */ w("p", {
|
|
97
98
|
className: "text-xs font-normal text-text-secondary",
|
|
98
|
-
children:
|
|
99
|
+
children: N.name
|
|
99
100
|
})] })]
|
|
100
101
|
}),
|
|
101
|
-
children: [
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
className:
|
|
114
|
-
children:
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
/* @__PURE__ */
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
102
|
+
children: [
|
|
103
|
+
/* @__PURE__ */ w(D, {
|
|
104
|
+
className: "mb-6",
|
|
105
|
+
children: "Book a service directly from this cart in a few guided steps — tell us where and when you need it, add any details, then confirm. Follow the progress bar below to know what's left."
|
|
106
|
+
}),
|
|
107
|
+
/* @__PURE__ */ w(E, {
|
|
108
|
+
className: "mb-6",
|
|
109
|
+
children: /* @__PURE__ */ w("div", {
|
|
110
|
+
className: "flex items-center justify-between px-2",
|
|
111
|
+
children: O.map((e, n) => {
|
|
112
|
+
let r = n < q, i = e === P;
|
|
113
|
+
return /* @__PURE__ */ T("div", {
|
|
114
|
+
className: "flex items-center",
|
|
115
|
+
children: [/* @__PURE__ */ T("div", {
|
|
116
|
+
className: "flex flex-col items-center",
|
|
117
|
+
children: [/* @__PURE__ */ w("div", {
|
|
118
|
+
className: t("flex h-8 w-8 items-center justify-center rounded-full text-xs font-medium", r ? "bg-status-success-bg-subtle text-status-success-text" : i ? "bg-foreground text-background" : "bg-bg-sunken text-text-secondary"),
|
|
119
|
+
children: r ? /* @__PURE__ */ w(f, { className: "h-4 w-4" }) : n + 1
|
|
120
|
+
}), /* @__PURE__ */ w("span", {
|
|
121
|
+
className: t("mt-1 text-[10px]", i ? "font-medium text-text-primary" : "text-text-secondary"),
|
|
122
|
+
children: k[e]
|
|
123
|
+
})]
|
|
124
|
+
}), n < O.length - 1 && /* @__PURE__ */ w("div", { className: t("mx-2 h-0.5 w-8 sm:w-16", r ? "bg-status-success-bg-subtle" : "bg-border") })]
|
|
125
|
+
}, e);
|
|
126
|
+
})
|
|
127
|
+
})
|
|
128
|
+
}),
|
|
129
|
+
/* @__PURE__ */ T("div", {
|
|
130
|
+
className: "grid grid-cols-1 lg:grid-cols-3 gap-6",
|
|
131
|
+
children: [/* @__PURE__ */ T("div", {
|
|
132
|
+
className: "lg:col-span-2",
|
|
133
|
+
children: [
|
|
134
|
+
P === "location" && /* @__PURE__ */ T("div", {
|
|
135
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface p-5",
|
|
136
|
+
children: [
|
|
137
|
+
/* @__PURE__ */ T("h2", {
|
|
138
|
+
className: "text-base font-semibold text-text-primary mb-1 flex items-center gap-2",
|
|
139
|
+
children: [/* @__PURE__ */ w(_, { className: "h-4 w-4" }), "Service Location"]
|
|
140
|
+
}),
|
|
141
|
+
/* @__PURE__ */ w("p", {
|
|
142
|
+
className: "text-xs text-text-secondary mb-5",
|
|
143
|
+
children: "Where should the cart come?"
|
|
144
|
+
}),
|
|
145
|
+
/* @__PURE__ */ T("div", {
|
|
146
|
+
className: "space-y-4",
|
|
147
|
+
children: [
|
|
148
|
+
/* @__PURE__ */ T("div", { children: [/* @__PURE__ */ T("label", {
|
|
149
|
+
className: "block text-sm font-medium text-text-primary mb-1.5",
|
|
150
|
+
children: ["Your Address ", /* @__PURE__ */ w("span", {
|
|
151
|
+
className: "text-status-error-text",
|
|
152
|
+
children: "*"
|
|
153
|
+
})]
|
|
154
|
+
}), /* @__PURE__ */ T("div", {
|
|
155
|
+
className: "flex gap-2",
|
|
156
|
+
children: [/* @__PURE__ */ w("input", {
|
|
157
|
+
type: "text",
|
|
158
|
+
placeholder: "Enter your full address",
|
|
159
|
+
value: R.address,
|
|
160
|
+
onChange: (e) => z((t) => ({
|
|
161
|
+
...t,
|
|
162
|
+
address: e.target.value
|
|
163
|
+
})),
|
|
164
|
+
className: "flex-1 rounded-lg border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary placeholder:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
|
|
165
|
+
}), /* @__PURE__ */ T("button", {
|
|
166
|
+
type: "button",
|
|
167
|
+
onClick: J,
|
|
168
|
+
className: "flex items-center gap-1.5 rounded-lg border border-border-subtle px-3 py-2 text-xs font-medium text-text-primary hover:bg-accent transition-colors whitespace-nowrap",
|
|
169
|
+
children: [/* @__PURE__ */ w(v, { className: "h-3.5 w-3.5" }), "Use Current Location"]
|
|
170
|
+
})]
|
|
171
|
+
})] }),
|
|
172
|
+
/* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("label", {
|
|
173
|
+
className: "block text-sm font-medium text-text-primary mb-1.5",
|
|
174
|
+
children: "Nearby Landmark"
|
|
175
|
+
}), /* @__PURE__ */ w("input", {
|
|
147
176
|
type: "text",
|
|
148
|
-
placeholder: "
|
|
149
|
-
value:
|
|
150
|
-
onChange: (e) =>
|
|
151
|
-
...t,
|
|
152
|
-
address: e.target.value
|
|
153
|
-
})),
|
|
154
|
-
className: "flex-1 rounded-lg border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary placeholder:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
|
|
155
|
-
}), /* @__PURE__ */ T("button", {
|
|
156
|
-
type: "button",
|
|
157
|
-
onClick: K,
|
|
158
|
-
className: "flex items-center gap-1.5 rounded-lg border border-border-subtle px-3 py-2 text-xs font-medium text-text-primary hover:bg-accent transition-colors whitespace-nowrap",
|
|
159
|
-
children: [/* @__PURE__ */ w(v, { className: "h-3.5 w-3.5" }), "Use Current Location"]
|
|
160
|
-
})]
|
|
161
|
-
})] }),
|
|
162
|
-
/* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("label", {
|
|
163
|
-
className: "block text-sm font-medium text-text-primary mb-1.5",
|
|
164
|
-
children: "Nearby Landmark"
|
|
165
|
-
}), /* @__PURE__ */ w("input", {
|
|
166
|
-
type: "text",
|
|
167
|
-
placeholder: "e.g., Near Metro Station, Opposite Mall",
|
|
168
|
-
value: I.landmark,
|
|
169
|
-
onChange: (e) => L((t) => ({
|
|
170
|
-
...t,
|
|
171
|
-
landmark: e.target.value
|
|
172
|
-
})),
|
|
173
|
-
className: "w-full rounded-lg border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary placeholder:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
|
|
174
|
-
})] }),
|
|
175
|
-
/* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("label", {
|
|
176
|
-
className: "block text-sm font-medium text-text-primary mb-1.5",
|
|
177
|
-
children: "Instructions for Cart Owner"
|
|
178
|
-
}), /* @__PURE__ */ w("textarea", {
|
|
179
|
-
rows: 3,
|
|
180
|
-
placeholder: "Any specific instructions to help us find you...",
|
|
181
|
-
value: I.instructions,
|
|
182
|
-
onChange: (e) => L((t) => ({
|
|
183
|
-
...t,
|
|
184
|
-
instructions: e.target.value
|
|
185
|
-
})),
|
|
186
|
-
className: "w-full rounded-lg border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary placeholder:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)] resize-none"
|
|
187
|
-
})] }),
|
|
188
|
-
/* @__PURE__ */ T("div", { children: [/* @__PURE__ */ T("label", {
|
|
189
|
-
className: "block text-sm font-medium text-text-primary mb-1.5",
|
|
190
|
-
children: ["Phone Number ", /* @__PURE__ */ w("span", {
|
|
191
|
-
className: "text-status-error-text",
|
|
192
|
-
children: "*"
|
|
193
|
-
})]
|
|
194
|
-
}), /* @__PURE__ */ T("div", {
|
|
195
|
-
className: "relative",
|
|
196
|
-
children: [/* @__PURE__ */ w(y, { className: "absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-text-secondary" }), /* @__PURE__ */ w("input", {
|
|
197
|
-
type: "tel",
|
|
198
|
-
placeholder: "Enter your phone number",
|
|
199
|
-
value: I.phoneNumber,
|
|
200
|
-
onChange: (e) => L((t) => ({
|
|
201
|
-
...t,
|
|
202
|
-
phoneNumber: e.target.value
|
|
203
|
-
})),
|
|
204
|
-
className: "w-full rounded-lg border border-border-subtle bg-bg-surface py-2 pl-9 pr-3 text-sm text-text-primary placeholder:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
|
|
205
|
-
})]
|
|
206
|
-
})] })
|
|
207
|
-
]
|
|
208
|
-
})
|
|
209
|
-
]
|
|
210
|
-
}),
|
|
211
|
-
M === "details" && /* @__PURE__ */ T("div", {
|
|
212
|
-
className: "rounded-lg border border-border-subtle bg-bg-surface p-5",
|
|
213
|
-
children: [
|
|
214
|
-
/* @__PURE__ */ T("h2", {
|
|
215
|
-
className: "text-base font-semibold text-text-primary mb-1 flex items-center gap-2",
|
|
216
|
-
children: [/* @__PURE__ */ w(d, { className: "h-4 w-4" }), "Booking Details"]
|
|
217
|
-
}),
|
|
218
|
-
/* @__PURE__ */ w("p", {
|
|
219
|
-
className: "text-xs text-text-secondary mb-5",
|
|
220
|
-
children: "Choose your preferred timing"
|
|
221
|
-
}),
|
|
222
|
-
/* @__PURE__ */ T("div", {
|
|
223
|
-
className: "space-y-4",
|
|
224
|
-
children: [
|
|
225
|
-
/* @__PURE__ */ T("div", { children: [/* @__PURE__ */ T("label", {
|
|
226
|
-
className: "block text-sm font-medium text-text-primary mb-1.5",
|
|
227
|
-
children: ["Preferred Time Slot ", /* @__PURE__ */ w("span", {
|
|
228
|
-
className: "text-status-error-text",
|
|
229
|
-
children: "*"
|
|
230
|
-
})]
|
|
231
|
-
}), /* @__PURE__ */ w("div", {
|
|
232
|
-
className: "grid grid-cols-4 gap-2",
|
|
233
|
-
children: W.map((e) => /* @__PURE__ */ w("button", {
|
|
234
|
-
type: "button",
|
|
235
|
-
onClick: () => z((t) => ({
|
|
177
|
+
placeholder: "e.g., Near Metro Station, Opposite Mall",
|
|
178
|
+
value: R.landmark,
|
|
179
|
+
onChange: (e) => z((t) => ({
|
|
236
180
|
...t,
|
|
237
|
-
|
|
181
|
+
landmark: e.target.value
|
|
238
182
|
})),
|
|
239
|
-
className:
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
placeholder: "Any special requests or dietary preferences...",
|
|
249
|
-
value: R.specialInstructions,
|
|
250
|
-
onChange: (e) => z((t) => ({
|
|
251
|
-
...t,
|
|
252
|
-
specialInstructions: e.target.value
|
|
253
|
-
})),
|
|
254
|
-
className: "w-full rounded-lg border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary placeholder:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)] resize-none"
|
|
255
|
-
})] }),
|
|
256
|
-
/* @__PURE__ */ T("label", {
|
|
257
|
-
className: "flex items-center gap-2 cursor-pointer",
|
|
258
|
-
children: [/* @__PURE__ */ w("input", {
|
|
259
|
-
type: "checkbox",
|
|
260
|
-
checked: R.isUrgent,
|
|
183
|
+
className: "w-full rounded-lg border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary placeholder:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
|
|
184
|
+
})] }),
|
|
185
|
+
/* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("label", {
|
|
186
|
+
className: "block text-sm font-medium text-text-primary mb-1.5",
|
|
187
|
+
children: "Instructions for Cart Owner"
|
|
188
|
+
}), /* @__PURE__ */ w("textarea", {
|
|
189
|
+
rows: 3,
|
|
190
|
+
placeholder: "Any specific instructions to help us find you...",
|
|
191
|
+
value: R.instructions,
|
|
261
192
|
onChange: (e) => z((t) => ({
|
|
262
193
|
...t,
|
|
263
|
-
|
|
194
|
+
instructions: e.target.value
|
|
264
195
|
})),
|
|
265
|
-
className: "
|
|
266
|
-
}), /* @__PURE__ */ w("span", {
|
|
267
|
-
className: "text-sm text-text-secondary",
|
|
268
|
-
children: "This is urgent (additional charges may apply)"
|
|
269
|
-
})]
|
|
270
|
-
})
|
|
271
|
-
]
|
|
272
|
-
})
|
|
273
|
-
]
|
|
274
|
-
}),
|
|
275
|
-
M === "payment" && /* @__PURE__ */ T("div", {
|
|
276
|
-
className: "rounded-lg border border-border-subtle bg-bg-surface p-5",
|
|
277
|
-
children: [
|
|
278
|
-
/* @__PURE__ */ T("h2", {
|
|
279
|
-
className: "text-base font-semibold text-text-primary mb-1 flex items-center gap-2",
|
|
280
|
-
children: [/* @__PURE__ */ w(m, { className: "h-4 w-4" }), "Advance Payment"]
|
|
281
|
-
}),
|
|
282
|
-
/* @__PURE__ */ w("p", {
|
|
283
|
-
className: "text-xs text-text-secondary mb-5",
|
|
284
|
-
children: "Select your payment method"
|
|
285
|
-
}),
|
|
286
|
-
/* @__PURE__ */ T("div", {
|
|
287
|
-
className: "space-y-4",
|
|
288
|
-
children: [
|
|
289
|
-
/* @__PURE__ */ T("div", {
|
|
290
|
-
className: "flex items-start gap-2 rounded-lg border border-border-focus/20 bg-[var(--color-accent-soft)] p-3",
|
|
291
|
-
children: [/* @__PURE__ */ w(c, { className: "h-4 w-4 text-text-primary shrink-0 mt-0.5" }), /* @__PURE__ */ T("p", {
|
|
292
|
-
className: "text-xs text-text-primary",
|
|
293
|
-
children: [
|
|
294
|
-
"You need to pay ",
|
|
295
|
-
i(100, { minimumFractionDigits: 0 }),
|
|
296
|
-
" ",
|
|
297
|
-
"in advance to confirm your booking. Pay the remaining when the cart arrives."
|
|
298
|
-
]
|
|
299
|
-
})]
|
|
300
|
-
}),
|
|
301
|
-
/* @__PURE__ */ w("div", {
|
|
302
|
-
className: "grid grid-cols-1 sm:grid-cols-3 gap-3",
|
|
303
|
-
children: [
|
|
304
|
-
{
|
|
305
|
-
value: "upi",
|
|
306
|
-
label: "UPI",
|
|
307
|
-
sub: "Instant payment",
|
|
308
|
-
Icon: b
|
|
309
|
-
},
|
|
310
|
-
{
|
|
311
|
-
value: "card",
|
|
312
|
-
label: "Card",
|
|
313
|
-
sub: "Secure payment",
|
|
314
|
-
Icon: m
|
|
315
|
-
},
|
|
316
|
-
{
|
|
317
|
-
value: "wallet",
|
|
318
|
-
label: "Wallet",
|
|
319
|
-
sub: "Quick payment",
|
|
320
|
-
Icon: x
|
|
321
|
-
}
|
|
322
|
-
].map(({ value: e, label: n, sub: r, Icon: i }) => /* @__PURE__ */ T("button", {
|
|
323
|
-
type: "button",
|
|
324
|
-
onClick: () => V(e),
|
|
325
|
-
className: t("rounded-lg border p-3 text-center transition-colors", B === e ? "border-foreground bg-accent" : "border-border-subtle hover:bg-accent"),
|
|
326
|
-
children: [
|
|
327
|
-
/* @__PURE__ */ w(i, { className: "mx-auto h-5 w-5 text-text-secondary mb-1" }),
|
|
328
|
-
/* @__PURE__ */ w("p", {
|
|
329
|
-
className: "text-sm font-medium text-text-primary",
|
|
330
|
-
children: n
|
|
331
|
-
}),
|
|
332
|
-
/* @__PURE__ */ w("p", {
|
|
333
|
-
className: "text-[10px] text-text-secondary",
|
|
334
|
-
children: r
|
|
335
|
-
})
|
|
336
|
-
]
|
|
337
|
-
}, e))
|
|
338
|
-
}),
|
|
339
|
-
/* @__PURE__ */ T("div", {
|
|
340
|
-
className: "rounded-lg bg-bg-sunken p-4",
|
|
341
|
-
children: [/* @__PURE__ */ w("h3", {
|
|
342
|
-
className: "text-sm font-medium text-text-primary mb-2",
|
|
343
|
-
children: "Payment Summary"
|
|
344
|
-
}), /* @__PURE__ */ T("div", {
|
|
345
|
-
className: "space-y-2 text-sm",
|
|
346
|
-
children: [
|
|
347
|
-
/* @__PURE__ */ T("div", {
|
|
348
|
-
className: "flex justify-between",
|
|
349
|
-
children: [/* @__PURE__ */ w("span", {
|
|
350
|
-
className: "text-text-secondary",
|
|
351
|
-
children: "Advance Payment:"
|
|
352
|
-
}), /* @__PURE__ */ w("span", {
|
|
353
|
-
className: "text-text-primary",
|
|
354
|
-
children: i(100, { minimumFractionDigits: 0 })
|
|
355
|
-
})]
|
|
356
|
-
}),
|
|
357
|
-
/* @__PURE__ */ T("div", {
|
|
358
|
-
className: "flex justify-between",
|
|
359
|
-
children: [/* @__PURE__ */ w("span", {
|
|
360
|
-
className: "text-text-secondary",
|
|
361
|
-
children: "Service Fee:"
|
|
362
|
-
}), /* @__PURE__ */ w("span", {
|
|
363
|
-
className: "text-text-primary",
|
|
364
|
-
children: i(50, { minimumFractionDigits: 0 })
|
|
365
|
-
})]
|
|
366
|
-
}),
|
|
367
|
-
/* @__PURE__ */ T("div", {
|
|
368
|
-
className: "flex justify-between text-text-secondary",
|
|
369
|
-
children: [/* @__PURE__ */ w("span", { children: "Balance Payment (at arrival):" }), /* @__PURE__ */ w("span", { children: i(50, { minimumFractionDigits: 0 }) })]
|
|
370
|
-
}),
|
|
371
|
-
/* @__PURE__ */ T("div", {
|
|
372
|
-
className: "flex justify-between border-t border-border-subtle pt-2 font-semibold",
|
|
373
|
-
children: [/* @__PURE__ */ w("span", {
|
|
374
|
-
className: "text-text-primary",
|
|
375
|
-
children: "Total Amount:"
|
|
376
|
-
}), /* @__PURE__ */ w("span", {
|
|
377
|
-
className: "text-text-primary",
|
|
378
|
-
children: i(150, { minimumFractionDigits: 0 })
|
|
379
|
-
})]
|
|
380
|
-
})
|
|
381
|
-
]
|
|
382
|
-
})]
|
|
383
|
-
})
|
|
384
|
-
]
|
|
385
|
-
})
|
|
386
|
-
]
|
|
387
|
-
}),
|
|
388
|
-
M === "confirmation" && H && /* @__PURE__ */ T("div", {
|
|
389
|
-
className: "rounded-lg border border-border-subtle bg-bg-surface p-5",
|
|
390
|
-
children: [
|
|
391
|
-
/* @__PURE__ */ T("div", {
|
|
392
|
-
className: "text-center mb-6",
|
|
393
|
-
children: [
|
|
394
|
-
/* @__PURE__ */ w("div", {
|
|
395
|
-
className: "mx-auto mb-3 flex h-14 w-14 items-center justify-center rounded-full bg-status-success-bg-subtle",
|
|
396
|
-
children: /* @__PURE__ */ w(f, { className: "h-7 w-7 text-status-success-text" })
|
|
397
|
-
}),
|
|
398
|
-
/* @__PURE__ */ w("h2", {
|
|
399
|
-
className: "text-lg font-semibold text-text-primary mb-1",
|
|
400
|
-
children: "Booking Confirmed!"
|
|
401
|
-
}),
|
|
402
|
-
/* @__PURE__ */ w("p", {
|
|
403
|
-
className: "text-sm text-text-secondary",
|
|
404
|
-
children: "Your direct service booking has been confirmed and payment processed."
|
|
405
|
-
})
|
|
406
|
-
]
|
|
407
|
-
}),
|
|
408
|
-
/* @__PURE__ */ T("div", {
|
|
409
|
-
className: "rounded-lg bg-bg-sunken p-4 mb-4",
|
|
410
|
-
children: [/* @__PURE__ */ w("h3", {
|
|
411
|
-
className: "text-sm font-medium text-text-primary mb-3",
|
|
412
|
-
children: "Booking Details"
|
|
413
|
-
}), /* @__PURE__ */ T("div", {
|
|
414
|
-
className: "grid grid-cols-1 sm:grid-cols-2 gap-3 text-sm",
|
|
415
|
-
children: [
|
|
416
|
-
/* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("span", {
|
|
417
|
-
className: "text-xs text-text-secondary",
|
|
418
|
-
children: "Booking ID"
|
|
419
|
-
}), /* @__PURE__ */ w("p", {
|
|
420
|
-
className: "font-mono text-xs text-text-primary",
|
|
421
|
-
children: H.bookingId
|
|
422
|
-
})] }),
|
|
423
|
-
/* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("span", {
|
|
424
|
-
className: "text-xs text-text-secondary",
|
|
425
|
-
children: "Est. Arrival"
|
|
426
|
-
}), /* @__PURE__ */ w("p", {
|
|
427
|
-
className: "text-text-primary",
|
|
428
|
-
children: new Date(H.estimatedArrival).toLocaleTimeString([], {
|
|
429
|
-
hour: "2-digit",
|
|
430
|
-
minute: "2-digit"
|
|
431
|
-
})
|
|
432
|
-
})] }),
|
|
433
|
-
/* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("span", {
|
|
434
|
-
className: "text-xs text-text-secondary",
|
|
435
|
-
children: "Location"
|
|
436
|
-
}), /* @__PURE__ */ w("p", {
|
|
437
|
-
className: "text-text-primary truncate",
|
|
438
|
-
children: I.address
|
|
196
|
+
className: "w-full rounded-lg border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary placeholder:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)] resize-none"
|
|
439
197
|
})] }),
|
|
440
|
-
/* @__PURE__ */ T("div", { children: [/* @__PURE__ */
|
|
441
|
-
className: "text-
|
|
442
|
-
children: "Phone"
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
198
|
+
/* @__PURE__ */ T("div", { children: [/* @__PURE__ */ T("label", {
|
|
199
|
+
className: "block text-sm font-medium text-text-primary mb-1.5",
|
|
200
|
+
children: ["Phone Number ", /* @__PURE__ */ w("span", {
|
|
201
|
+
className: "text-status-error-text",
|
|
202
|
+
children: "*"
|
|
203
|
+
})]
|
|
204
|
+
}), /* @__PURE__ */ T("div", {
|
|
205
|
+
className: "relative",
|
|
206
|
+
children: [/* @__PURE__ */ w(y, { className: "absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-text-secondary" }), /* @__PURE__ */ w("input", {
|
|
207
|
+
type: "tel",
|
|
208
|
+
placeholder: "Enter your phone number",
|
|
209
|
+
value: R.phoneNumber,
|
|
210
|
+
onChange: (e) => z((t) => ({
|
|
211
|
+
...t,
|
|
212
|
+
phoneNumber: e.target.value
|
|
213
|
+
})),
|
|
214
|
+
className: "w-full rounded-lg border border-border-subtle bg-bg-surface py-2 pl-9 pr-3 text-sm text-text-primary placeholder:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
|
|
215
|
+
})]
|
|
446
216
|
})] })
|
|
447
217
|
]
|
|
448
|
-
})
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
className: "
|
|
218
|
+
})
|
|
219
|
+
]
|
|
220
|
+
}),
|
|
221
|
+
P === "details" && /* @__PURE__ */ T("div", {
|
|
222
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface p-5",
|
|
223
|
+
children: [
|
|
224
|
+
/* @__PURE__ */ T("h2", {
|
|
225
|
+
className: "text-base font-semibold text-text-primary mb-1 flex items-center gap-2",
|
|
226
|
+
children: [/* @__PURE__ */ w(d, { className: "h-4 w-4" }), "Booking Details"]
|
|
227
|
+
}),
|
|
228
|
+
/* @__PURE__ */ w("p", {
|
|
229
|
+
className: "text-xs text-text-secondary mb-5",
|
|
230
|
+
children: "Choose your preferred timing"
|
|
231
|
+
}),
|
|
232
|
+
/* @__PURE__ */ T("div", {
|
|
233
|
+
className: "space-y-4",
|
|
457
234
|
children: [
|
|
458
|
-
/* @__PURE__ */ T("div", { children: [/* @__PURE__ */
|
|
459
|
-
className: "text-
|
|
460
|
-
children: "
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
})
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
235
|
+
/* @__PURE__ */ T("div", { children: [/* @__PURE__ */ T("label", {
|
|
236
|
+
className: "block text-sm font-medium text-text-primary mb-1.5",
|
|
237
|
+
children: ["Preferred Time Slot ", /* @__PURE__ */ w("span", {
|
|
238
|
+
className: "text-status-error-text",
|
|
239
|
+
children: "*"
|
|
240
|
+
})]
|
|
241
|
+
}), /* @__PURE__ */ w("div", {
|
|
242
|
+
className: "grid grid-cols-4 gap-2",
|
|
243
|
+
children: K.map((e) => /* @__PURE__ */ w("button", {
|
|
244
|
+
type: "button",
|
|
245
|
+
onClick: () => V((t) => ({
|
|
246
|
+
...t,
|
|
247
|
+
preferredTime: e.value
|
|
248
|
+
})),
|
|
249
|
+
className: t("rounded-lg border py-2 px-2 text-xs font-medium transition-colors", B.preferredTime === e.value ? "border-foreground bg-accent text-text-primary" : "border-border-subtle text-text-secondary hover:bg-accent hover:text-text-primary"),
|
|
250
|
+
children: e.label
|
|
251
|
+
}, e.value))
|
|
471
252
|
})] }),
|
|
472
|
-
/* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("
|
|
473
|
-
className: "text-
|
|
474
|
-
children: "
|
|
475
|
-
}), /* @__PURE__ */ w("
|
|
476
|
-
|
|
477
|
-
|
|
253
|
+
/* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("label", {
|
|
254
|
+
className: "block text-sm font-medium text-text-primary mb-1.5",
|
|
255
|
+
children: "Special Instructions"
|
|
256
|
+
}), /* @__PURE__ */ w("textarea", {
|
|
257
|
+
rows: 3,
|
|
258
|
+
placeholder: "Any special requests or dietary preferences...",
|
|
259
|
+
value: B.specialInstructions,
|
|
260
|
+
onChange: (e) => V((t) => ({
|
|
261
|
+
...t,
|
|
262
|
+
specialInstructions: e.target.value
|
|
263
|
+
})),
|
|
264
|
+
className: "w-full rounded-lg border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary placeholder:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)] resize-none"
|
|
478
265
|
})] }),
|
|
479
|
-
/* @__PURE__ */ T("
|
|
480
|
-
className: "
|
|
481
|
-
children: "
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
266
|
+
/* @__PURE__ */ T("label", {
|
|
267
|
+
className: "flex items-center gap-2 cursor-pointer",
|
|
268
|
+
children: [/* @__PURE__ */ w("input", {
|
|
269
|
+
type: "checkbox",
|
|
270
|
+
checked: B.isUrgent,
|
|
271
|
+
onChange: (e) => V((t) => ({
|
|
272
|
+
...t,
|
|
273
|
+
isUrgent: e.target.checked
|
|
274
|
+
})),
|
|
275
|
+
className: "h-4 w-4 rounded border-border-subtle"
|
|
276
|
+
}), /* @__PURE__ */ w("span", {
|
|
277
|
+
className: "text-sm text-text-secondary",
|
|
278
|
+
children: "This is urgent (additional charges may apply)"
|
|
279
|
+
})]
|
|
280
|
+
})
|
|
486
281
|
]
|
|
487
|
-
})
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
className: "
|
|
282
|
+
})
|
|
283
|
+
]
|
|
284
|
+
}),
|
|
285
|
+
P === "payment" && /* @__PURE__ */ T("div", {
|
|
286
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface p-5",
|
|
287
|
+
children: [
|
|
288
|
+
/* @__PURE__ */ T("h2", {
|
|
289
|
+
className: "text-base font-semibold text-text-primary mb-1 flex items-center gap-2",
|
|
290
|
+
children: [/* @__PURE__ */ w(m, { className: "h-4 w-4" }), "Advance Payment"]
|
|
291
|
+
}),
|
|
292
|
+
/* @__PURE__ */ w("p", {
|
|
293
|
+
className: "text-xs text-text-secondary mb-5",
|
|
294
|
+
children: "Select your payment method"
|
|
295
|
+
}),
|
|
296
|
+
/* @__PURE__ */ T("div", {
|
|
297
|
+
className: "space-y-4",
|
|
496
298
|
children: [
|
|
497
299
|
/* @__PURE__ */ T("div", {
|
|
498
|
-
className: "flex items-start gap-2",
|
|
499
|
-
children: [/* @__PURE__ */ w(
|
|
500
|
-
"
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
300
|
+
className: "flex items-start gap-2 rounded-lg border border-border-focus/20 bg-[var(--color-accent-soft)] p-3",
|
|
301
|
+
children: [/* @__PURE__ */ w(c, { className: "h-4 w-4 text-text-primary shrink-0 mt-0.5" }), /* @__PURE__ */ T("p", {
|
|
302
|
+
className: "text-xs text-text-primary",
|
|
303
|
+
children: [
|
|
304
|
+
"You need to pay ",
|
|
305
|
+
i(100, { minimumFractionDigits: 0 }),
|
|
306
|
+
" ",
|
|
307
|
+
"in advance to confirm your booking. Pay the remaining when the cart arrives."
|
|
308
|
+
]
|
|
309
|
+
})]
|
|
505
310
|
}),
|
|
506
|
-
/* @__PURE__ */
|
|
507
|
-
className: "
|
|
508
|
-
children: [
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
}
|
|
515
|
-
|
|
311
|
+
/* @__PURE__ */ w("div", {
|
|
312
|
+
className: "grid grid-cols-1 sm:grid-cols-3 gap-3",
|
|
313
|
+
children: [
|
|
314
|
+
{
|
|
315
|
+
value: "upi",
|
|
316
|
+
label: "UPI",
|
|
317
|
+
sub: "Instant payment",
|
|
318
|
+
Icon: b
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
value: "card",
|
|
322
|
+
label: "Card",
|
|
323
|
+
sub: "Secure payment",
|
|
324
|
+
Icon: m
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
value: "wallet",
|
|
328
|
+
label: "Wallet",
|
|
329
|
+
sub: "Quick payment",
|
|
330
|
+
Icon: x
|
|
331
|
+
}
|
|
332
|
+
].map(({ value: e, label: n, sub: r, Icon: i }) => /* @__PURE__ */ T("button", {
|
|
333
|
+
type: "button",
|
|
334
|
+
onClick: () => U(e),
|
|
335
|
+
className: t("rounded-lg border p-3 text-center transition-colors", H === e ? "border-foreground bg-accent" : "border-border-subtle hover:bg-accent"),
|
|
336
|
+
children: [
|
|
337
|
+
/* @__PURE__ */ w(i, { className: "mx-auto h-5 w-5 text-text-secondary mb-1" }),
|
|
338
|
+
/* @__PURE__ */ w("p", {
|
|
339
|
+
className: "text-sm font-medium text-text-primary",
|
|
340
|
+
children: n
|
|
341
|
+
}),
|
|
342
|
+
/* @__PURE__ */ w("p", {
|
|
343
|
+
className: "text-[10px] text-text-secondary",
|
|
344
|
+
children: r
|
|
345
|
+
})
|
|
346
|
+
]
|
|
347
|
+
}, e))
|
|
516
348
|
}),
|
|
517
349
|
/* @__PURE__ */ T("div", {
|
|
518
|
-
className: "
|
|
519
|
-
children: [/* @__PURE__ */ w(
|
|
520
|
-
"
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
"
|
|
524
|
-
|
|
350
|
+
className: "rounded-lg bg-bg-sunken p-4",
|
|
351
|
+
children: [/* @__PURE__ */ w("h3", {
|
|
352
|
+
className: "text-sm font-medium text-text-primary mb-2",
|
|
353
|
+
children: "Payment Summary"
|
|
354
|
+
}), /* @__PURE__ */ T("div", {
|
|
355
|
+
className: "space-y-2 text-sm",
|
|
356
|
+
children: [
|
|
357
|
+
/* @__PURE__ */ T("div", {
|
|
358
|
+
className: "flex justify-between",
|
|
359
|
+
children: [/* @__PURE__ */ w("span", {
|
|
360
|
+
className: "text-text-secondary",
|
|
361
|
+
children: "Advance Payment:"
|
|
362
|
+
}), /* @__PURE__ */ w("span", {
|
|
363
|
+
className: "text-text-primary",
|
|
364
|
+
children: i(100, { minimumFractionDigits: 0 })
|
|
365
|
+
})]
|
|
366
|
+
}),
|
|
367
|
+
/* @__PURE__ */ T("div", {
|
|
368
|
+
className: "flex justify-between",
|
|
369
|
+
children: [/* @__PURE__ */ w("span", {
|
|
370
|
+
className: "text-text-secondary",
|
|
371
|
+
children: "Service Fee:"
|
|
372
|
+
}), /* @__PURE__ */ w("span", {
|
|
373
|
+
className: "text-text-primary",
|
|
374
|
+
children: i(50, { minimumFractionDigits: 0 })
|
|
375
|
+
})]
|
|
376
|
+
}),
|
|
377
|
+
/* @__PURE__ */ T("div", {
|
|
378
|
+
className: "flex justify-between text-text-secondary",
|
|
379
|
+
children: [/* @__PURE__ */ w("span", { children: "Balance Payment (at arrival):" }), /* @__PURE__ */ w("span", { children: i(50, { minimumFractionDigits: 0 }) })]
|
|
380
|
+
}),
|
|
381
|
+
/* @__PURE__ */ T("div", {
|
|
382
|
+
className: "flex justify-between border-t border-border-subtle pt-2 font-semibold",
|
|
383
|
+
children: [/* @__PURE__ */ w("span", {
|
|
384
|
+
className: "text-text-primary",
|
|
385
|
+
children: "Total Amount:"
|
|
386
|
+
}), /* @__PURE__ */ w("span", {
|
|
387
|
+
className: "text-text-primary",
|
|
388
|
+
children: i(150, { minimumFractionDigits: 0 })
|
|
389
|
+
})]
|
|
390
|
+
})
|
|
391
|
+
]
|
|
392
|
+
})]
|
|
393
|
+
})
|
|
394
|
+
]
|
|
395
|
+
})
|
|
396
|
+
]
|
|
397
|
+
}),
|
|
398
|
+
P === "confirmation" && W && /* @__PURE__ */ T("div", {
|
|
399
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface p-5",
|
|
400
|
+
children: [
|
|
401
|
+
/* @__PURE__ */ T("div", {
|
|
402
|
+
className: "text-center mb-6",
|
|
403
|
+
children: [
|
|
404
|
+
/* @__PURE__ */ w("div", {
|
|
405
|
+
className: "mx-auto mb-3 flex h-14 w-14 items-center justify-center rounded-full bg-status-success-bg-subtle",
|
|
406
|
+
children: /* @__PURE__ */ w(f, { className: "h-7 w-7 text-status-success-text" })
|
|
407
|
+
}),
|
|
408
|
+
/* @__PURE__ */ w("h2", {
|
|
409
|
+
className: "text-lg font-semibold text-text-primary mb-1",
|
|
410
|
+
children: "Booking Confirmed!"
|
|
411
|
+
}),
|
|
412
|
+
/* @__PURE__ */ w("p", {
|
|
413
|
+
className: "text-sm text-text-secondary",
|
|
414
|
+
children: "Your direct service booking has been confirmed and payment processed."
|
|
525
415
|
})
|
|
526
416
|
]
|
|
417
|
+
}),
|
|
418
|
+
/* @__PURE__ */ T("div", {
|
|
419
|
+
className: "rounded-lg bg-bg-sunken p-4 mb-4",
|
|
420
|
+
children: [/* @__PURE__ */ w("h3", {
|
|
421
|
+
className: "text-sm font-medium text-text-primary mb-3",
|
|
422
|
+
children: "Booking Details"
|
|
423
|
+
}), /* @__PURE__ */ T("div", {
|
|
424
|
+
className: "grid grid-cols-1 sm:grid-cols-2 gap-3 text-sm",
|
|
425
|
+
children: [
|
|
426
|
+
/* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("span", {
|
|
427
|
+
className: "text-xs text-text-secondary",
|
|
428
|
+
children: "Booking ID"
|
|
429
|
+
}), /* @__PURE__ */ w("p", {
|
|
430
|
+
className: "font-mono text-xs text-text-primary",
|
|
431
|
+
children: W.bookingId
|
|
432
|
+
})] }),
|
|
433
|
+
/* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("span", {
|
|
434
|
+
className: "text-xs text-text-secondary",
|
|
435
|
+
children: "Est. Arrival"
|
|
436
|
+
}), /* @__PURE__ */ w("p", {
|
|
437
|
+
className: "text-text-primary",
|
|
438
|
+
children: new Date(W.estimatedArrival).toLocaleTimeString([], {
|
|
439
|
+
hour: "2-digit",
|
|
440
|
+
minute: "2-digit"
|
|
441
|
+
})
|
|
442
|
+
})] }),
|
|
443
|
+
/* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("span", {
|
|
444
|
+
className: "text-xs text-text-secondary",
|
|
445
|
+
children: "Location"
|
|
446
|
+
}), /* @__PURE__ */ w("p", {
|
|
447
|
+
className: "text-text-primary truncate",
|
|
448
|
+
children: R.address
|
|
449
|
+
})] }),
|
|
450
|
+
/* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("span", {
|
|
451
|
+
className: "text-xs text-text-secondary",
|
|
452
|
+
children: "Phone"
|
|
453
|
+
}), /* @__PURE__ */ w("p", {
|
|
454
|
+
className: "text-text-primary",
|
|
455
|
+
children: R.phoneNumber
|
|
456
|
+
})] })
|
|
457
|
+
]
|
|
458
|
+
})]
|
|
459
|
+
}),
|
|
460
|
+
/* @__PURE__ */ T("div", {
|
|
461
|
+
className: "rounded-lg border border-status-success-text/20 bg-status-success-bg-subtle p-4 mb-4",
|
|
462
|
+
children: [/* @__PURE__ */ T("h3", {
|
|
463
|
+
className: "text-sm font-medium text-status-success-text mb-2 flex items-center gap-2",
|
|
464
|
+
children: [/* @__PURE__ */ w(f, { className: "h-4 w-4" }), "Payment Processed"]
|
|
465
|
+
}), /* @__PURE__ */ T("div", {
|
|
466
|
+
className: "grid grid-cols-2 gap-3 text-sm",
|
|
467
|
+
children: [
|
|
468
|
+
/* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("span", {
|
|
469
|
+
className: "text-xs text-text-secondary",
|
|
470
|
+
children: "Transaction ID"
|
|
471
|
+
}), /* @__PURE__ */ w("p", {
|
|
472
|
+
className: "font-mono text-xs text-text-primary",
|
|
473
|
+
children: W.transactionId
|
|
474
|
+
})] }),
|
|
475
|
+
/* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("span", {
|
|
476
|
+
className: "text-xs text-text-secondary",
|
|
477
|
+
children: "Advance Paid"
|
|
478
|
+
}), /* @__PURE__ */ w("p", {
|
|
479
|
+
className: "font-medium text-text-primary",
|
|
480
|
+
children: i(100, { minimumFractionDigits: 0 })
|
|
481
|
+
})] }),
|
|
482
|
+
/* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("span", {
|
|
483
|
+
className: "text-xs text-text-secondary",
|
|
484
|
+
children: "Method"
|
|
485
|
+
}), /* @__PURE__ */ w("p", {
|
|
486
|
+
className: "capitalize text-text-primary",
|
|
487
|
+
children: H
|
|
488
|
+
})] }),
|
|
489
|
+
/* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("span", {
|
|
490
|
+
className: "text-xs text-text-secondary",
|
|
491
|
+
children: "Status"
|
|
492
|
+
}), /* @__PURE__ */ w("p", {
|
|
493
|
+
className: "font-medium text-status-success-text",
|
|
494
|
+
children: "Paid"
|
|
495
|
+
})] })
|
|
496
|
+
]
|
|
497
|
+
})]
|
|
498
|
+
}),
|
|
499
|
+
/* @__PURE__ */ T("div", {
|
|
500
|
+
className: "rounded-lg border border-border-focus/20 bg-[var(--color-accent-soft)] p-4 mb-6",
|
|
501
|
+
children: [/* @__PURE__ */ w("h3", {
|
|
502
|
+
className: "text-sm font-medium text-text-primary mb-2",
|
|
503
|
+
children: "Next Steps"
|
|
504
|
+
}), /* @__PURE__ */ T("div", {
|
|
505
|
+
className: "space-y-2 text-xs text-text-primary",
|
|
506
|
+
children: [
|
|
507
|
+
/* @__PURE__ */ T("div", {
|
|
508
|
+
className: "flex items-start gap-2",
|
|
509
|
+
children: [/* @__PURE__ */ w(f, { className: "h-3.5 w-3.5 text-status-success-text mt-0.5 shrink-0" }), /* @__PURE__ */ T("span", { children: [
|
|
510
|
+
"Payment confirmed -",
|
|
511
|
+
" ",
|
|
512
|
+
i(100, { minimumFractionDigits: 0 }),
|
|
513
|
+
" paid"
|
|
514
|
+
] })]
|
|
515
|
+
}),
|
|
516
|
+
/* @__PURE__ */ T("div", {
|
|
517
|
+
className: "flex items-start gap-2",
|
|
518
|
+
children: [/* @__PURE__ */ w(p, { className: "h-3.5 w-3.5 mt-0.5 shrink-0" }), /* @__PURE__ */ T("span", { children: [
|
|
519
|
+
"Cart will arrive around",
|
|
520
|
+
" ",
|
|
521
|
+
new Date(W.estimatedArrival).toLocaleTimeString([], {
|
|
522
|
+
hour: "2-digit",
|
|
523
|
+
minute: "2-digit"
|
|
524
|
+
})
|
|
525
|
+
] })]
|
|
526
|
+
}),
|
|
527
|
+
/* @__PURE__ */ T("div", {
|
|
528
|
+
className: "flex items-start gap-2",
|
|
529
|
+
children: [/* @__PURE__ */ w(m, { className: "h-3.5 w-3.5 mt-0.5 shrink-0" }), /* @__PURE__ */ T("span", { children: [
|
|
530
|
+
"Pay remaining ",
|
|
531
|
+
i(50, { minimumFractionDigits: 0 }),
|
|
532
|
+
" ",
|
|
533
|
+
"when cart arrives"
|
|
534
|
+
] })]
|
|
535
|
+
})
|
|
536
|
+
]
|
|
537
|
+
})]
|
|
538
|
+
}),
|
|
539
|
+
/* @__PURE__ */ T("div", {
|
|
540
|
+
className: "flex gap-3",
|
|
541
|
+
children: [/* @__PURE__ */ w("button", {
|
|
542
|
+
type: "button",
|
|
543
|
+
onClick: () => M(`/customer/bookings/${W.bookingId}`),
|
|
544
|
+
className: "flex-1 rounded-lg bg-foreground px-4 py-2.5 text-sm font-medium text-background hover:opacity-90 transition-opacity",
|
|
545
|
+
children: "View Booking"
|
|
546
|
+
}), /* @__PURE__ */ w("button", {
|
|
547
|
+
type: "button",
|
|
548
|
+
onClick: () => M("/customer/carts"),
|
|
549
|
+
className: "flex-1 rounded-lg border border-border-subtle px-4 py-2.5 text-sm font-medium text-text-primary hover:bg-accent transition-colors",
|
|
550
|
+
children: "Browse More"
|
|
551
|
+
})]
|
|
552
|
+
})
|
|
553
|
+
]
|
|
554
|
+
}),
|
|
555
|
+
P !== "confirmation" && /* @__PURE__ */ T("div", {
|
|
556
|
+
className: "flex justify-between mt-5",
|
|
557
|
+
children: [/* @__PURE__ */ T("button", {
|
|
558
|
+
type: "button",
|
|
559
|
+
onClick: Q,
|
|
560
|
+
disabled: P === "location",
|
|
561
|
+
className: t("flex items-center gap-2 rounded-lg border border-border-subtle px-4 py-2.5 text-sm font-medium text-text-primary transition-colors", P === "location" ? "opacity-40 cursor-not-allowed" : "hover:bg-accent"),
|
|
562
|
+
children: [/* @__PURE__ */ w(l, { className: "h-4 w-4" }), "Previous"]
|
|
563
|
+
}), /* @__PURE__ */ w("button", {
|
|
564
|
+
type: "button",
|
|
565
|
+
onClick: Z,
|
|
566
|
+
disabled: I,
|
|
567
|
+
className: t("flex items-center gap-2 rounded-lg bg-foreground px-4 py-2.5 text-sm font-medium text-background transition-opacity", I ? "opacity-60 cursor-not-allowed" : "hover:opacity-90"),
|
|
568
|
+
children: I ? /* @__PURE__ */ T(C, { children: [/* @__PURE__ */ w(g, { className: "h-4 w-4 animate-spin" }), P === "payment" ? "Processing Payment..." : "Processing..."] }) : /* @__PURE__ */ T(C, { children: [P === "payment" ? "Confirm & Pay" : "Next", /* @__PURE__ */ w(u, { className: "h-4 w-4" })] })
|
|
569
|
+
})]
|
|
570
|
+
})
|
|
571
|
+
]
|
|
572
|
+
}), /* @__PURE__ */ w("div", {
|
|
573
|
+
className: "lg:col-span-1",
|
|
574
|
+
children: /* @__PURE__ */ T("div", {
|
|
575
|
+
className: "sticky top-6 rounded-lg border border-border-subtle bg-bg-surface p-5",
|
|
576
|
+
children: [
|
|
577
|
+
/* @__PURE__ */ w("h3", {
|
|
578
|
+
className: "text-base font-semibold text-text-primary mb-4",
|
|
579
|
+
children: "Service Summary"
|
|
580
|
+
}),
|
|
581
|
+
/* @__PURE__ */ T("div", {
|
|
582
|
+
className: "flex items-center gap-3 mb-4",
|
|
583
|
+
children: [/* @__PURE__ */ w("img", {
|
|
584
|
+
src: N.image,
|
|
585
|
+
alt: N.name,
|
|
586
|
+
className: "h-12 w-12 rounded-lg object-cover"
|
|
587
|
+
}), /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("p", {
|
|
588
|
+
className: "text-sm font-medium text-text-primary",
|
|
589
|
+
children: N.name
|
|
590
|
+
}), /* @__PURE__ */ w("p", {
|
|
591
|
+
className: "text-xs text-text-secondary",
|
|
592
|
+
children: N.category
|
|
593
|
+
})] })]
|
|
594
|
+
}),
|
|
595
|
+
/* @__PURE__ */ T("div", {
|
|
596
|
+
className: "space-y-2 text-sm border-t border-border-subtle pt-3",
|
|
597
|
+
children: [/* @__PURE__ */ T("div", {
|
|
598
|
+
className: "flex justify-between",
|
|
599
|
+
children: [/* @__PURE__ */ w("span", {
|
|
600
|
+
className: "text-text-secondary",
|
|
601
|
+
children: "Service Fee:"
|
|
602
|
+
}), /* @__PURE__ */ w("span", {
|
|
603
|
+
className: "text-text-primary",
|
|
604
|
+
children: i(50, { minimumFractionDigits: 0 })
|
|
605
|
+
})]
|
|
606
|
+
}), /* @__PURE__ */ T("div", {
|
|
607
|
+
className: "flex justify-between",
|
|
608
|
+
children: [/* @__PURE__ */ w("span", {
|
|
609
|
+
className: "text-text-secondary",
|
|
610
|
+
children: "Advance Payment:"
|
|
611
|
+
}), /* @__PURE__ */ w("span", {
|
|
612
|
+
className: "font-medium text-text-primary",
|
|
613
|
+
children: i(100, { minimumFractionDigits: 0 })
|
|
614
|
+
})]
|
|
527
615
|
})]
|
|
528
616
|
}),
|
|
529
617
|
/* @__PURE__ */ T("div", {
|
|
530
|
-
className: "flex gap-3",
|
|
531
|
-
children: [/* @__PURE__ */ w("
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
className: "flex-1 rounded-lg bg-foreground px-4 py-2.5 text-sm font-medium text-background hover:opacity-90 transition-opacity",
|
|
535
|
-
children: "View Booking"
|
|
536
|
-
}), /* @__PURE__ */ w("button", {
|
|
537
|
-
type: "button",
|
|
538
|
-
onClick: () => A("/customer/carts"),
|
|
539
|
-
className: "flex-1 rounded-lg border border-border-subtle px-4 py-2.5 text-sm font-medium text-text-primary hover:bg-accent transition-colors",
|
|
540
|
-
children: "Browse More"
|
|
618
|
+
className: "flex items-center gap-2 mt-3 pt-3 border-t border-border-subtle text-status-success-text",
|
|
619
|
+
children: [/* @__PURE__ */ w(f, { className: "h-3.5 w-3.5" }), /* @__PURE__ */ w("span", {
|
|
620
|
+
className: "text-xs",
|
|
621
|
+
children: "Pay remaining amount at cart"
|
|
541
622
|
})]
|
|
542
623
|
})
|
|
543
624
|
]
|
|
544
|
-
}),
|
|
545
|
-
M !== "confirmation" && /* @__PURE__ */ T("div", {
|
|
546
|
-
className: "flex justify-between mt-5",
|
|
547
|
-
children: [/* @__PURE__ */ T("button", {
|
|
548
|
-
type: "button",
|
|
549
|
-
onClick: X,
|
|
550
|
-
disabled: M === "location",
|
|
551
|
-
className: t("flex items-center gap-2 rounded-lg border border-border-subtle px-4 py-2.5 text-sm font-medium text-text-primary transition-colors", M === "location" ? "opacity-40 cursor-not-allowed" : "hover:bg-accent"),
|
|
552
|
-
children: [/* @__PURE__ */ w(l, { className: "h-4 w-4" }), "Previous"]
|
|
553
|
-
}), /* @__PURE__ */ w("button", {
|
|
554
|
-
type: "button",
|
|
555
|
-
onClick: Y,
|
|
556
|
-
disabled: P,
|
|
557
|
-
className: t("flex items-center gap-2 rounded-lg bg-foreground px-4 py-2.5 text-sm font-medium text-background transition-opacity", P ? "opacity-60 cursor-not-allowed" : "hover:opacity-90"),
|
|
558
|
-
children: P ? /* @__PURE__ */ T(C, { children: [/* @__PURE__ */ w(g, { className: "h-4 w-4 animate-spin" }), M === "payment" ? "Processing Payment..." : "Processing..."] }) : /* @__PURE__ */ T(C, { children: [M === "payment" ? "Confirm & Pay" : "Next", /* @__PURE__ */ w(u, { className: "h-4 w-4" })] })
|
|
559
|
-
})]
|
|
560
625
|
})
|
|
561
|
-
]
|
|
562
|
-
})
|
|
563
|
-
|
|
564
|
-
children: /* @__PURE__ */ T("div", {
|
|
565
|
-
className: "sticky top-6 rounded-lg border border-border-subtle bg-bg-surface p-5",
|
|
566
|
-
children: [
|
|
567
|
-
/* @__PURE__ */ w("h3", {
|
|
568
|
-
className: "text-base font-semibold text-text-primary mb-4",
|
|
569
|
-
children: "Service Summary"
|
|
570
|
-
}),
|
|
571
|
-
/* @__PURE__ */ T("div", {
|
|
572
|
-
className: "flex items-center gap-3 mb-4",
|
|
573
|
-
children: [/* @__PURE__ */ w("img", {
|
|
574
|
-
src: j.image,
|
|
575
|
-
alt: j.name,
|
|
576
|
-
className: "h-12 w-12 rounded-lg object-cover"
|
|
577
|
-
}), /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("p", {
|
|
578
|
-
className: "text-sm font-medium text-text-primary",
|
|
579
|
-
children: j.name
|
|
580
|
-
}), /* @__PURE__ */ w("p", {
|
|
581
|
-
className: "text-xs text-text-secondary",
|
|
582
|
-
children: j.category
|
|
583
|
-
})] })]
|
|
584
|
-
}),
|
|
585
|
-
/* @__PURE__ */ T("div", {
|
|
586
|
-
className: "space-y-2 text-sm border-t border-border-subtle pt-3",
|
|
587
|
-
children: [/* @__PURE__ */ T("div", {
|
|
588
|
-
className: "flex justify-between",
|
|
589
|
-
children: [/* @__PURE__ */ w("span", {
|
|
590
|
-
className: "text-text-secondary",
|
|
591
|
-
children: "Service Fee:"
|
|
592
|
-
}), /* @__PURE__ */ w("span", {
|
|
593
|
-
className: "text-text-primary",
|
|
594
|
-
children: i(50, { minimumFractionDigits: 0 })
|
|
595
|
-
})]
|
|
596
|
-
}), /* @__PURE__ */ T("div", {
|
|
597
|
-
className: "flex justify-between",
|
|
598
|
-
children: [/* @__PURE__ */ w("span", {
|
|
599
|
-
className: "text-text-secondary",
|
|
600
|
-
children: "Advance Payment:"
|
|
601
|
-
}), /* @__PURE__ */ w("span", {
|
|
602
|
-
className: "font-medium text-text-primary",
|
|
603
|
-
children: i(100, { minimumFractionDigits: 0 })
|
|
604
|
-
})]
|
|
605
|
-
})]
|
|
606
|
-
}),
|
|
607
|
-
/* @__PURE__ */ T("div", {
|
|
608
|
-
className: "flex items-center gap-2 mt-3 pt-3 border-t border-border-subtle text-status-success-text",
|
|
609
|
-
children: [/* @__PURE__ */ w(f, { className: "h-3.5 w-3.5" }), /* @__PURE__ */ w("span", {
|
|
610
|
-
className: "text-xs",
|
|
611
|
-
children: "Pay remaining amount at cart"
|
|
612
|
-
})]
|
|
613
|
-
})
|
|
614
|
-
]
|
|
615
|
-
})
|
|
616
|
-
})]
|
|
617
|
-
})]
|
|
626
|
+
})]
|
|
627
|
+
})
|
|
628
|
+
]
|
|
618
629
|
});
|
|
619
630
|
}
|
|
620
631
|
//#endregion
|
|
621
|
-
export {
|
|
632
|
+
export { j as DirectServiceBookingPage };
|
|
622
633
|
|
|
623
634
|
//# sourceMappingURL=DirectServiceBookingPage.js.map
|