@burdenoff/microfe-adaptercloud 2026.614.1 → 2026.625.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adaptercloud/components/EmptyState.js +17 -21
- package/dist/adaptercloud/components/EmptyState.js.map +1 -1
- package/dist/adaptercloud/components/InvestmentCard.js +30 -28
- package/dist/adaptercloud/components/InvestmentCard.js.map +1 -1
- package/dist/adaptercloud/components/MetricsCard.js +21 -15
- package/dist/adaptercloud/components/MetricsCard.js.map +1 -1
- package/dist/adaptercloud/components/PageLayout.js +38 -19
- package/dist/adaptercloud/components/PageLayout.js.map +1 -1
- package/dist/adaptercloud/components/RatingDisplay.js +3 -3
- package/dist/adaptercloud/components/RatingDisplay.js.map +1 -1
- package/dist/adaptercloud/components/StatusBadge.js +36 -16
- package/dist/adaptercloud/components/StatusBadge.js.map +1 -1
- package/dist/adaptercloud/pages/HomePage.js +286 -275
- package/dist/adaptercloud/pages/HomePage.js.map +1 -1
- package/dist/adaptercloud/pages/admin/AdminAnalyticsPage.js +87 -87
- package/dist/adaptercloud/pages/admin/AdminAnalyticsPage.js.map +1 -1
- package/dist/adaptercloud/pages/admin/AdminDashboard.js +101 -101
- package/dist/adaptercloud/pages/admin/AdminDashboard.js.map +1 -1
- package/dist/adaptercloud/pages/admin/AdminFinancialPage.js +48 -48
- package/dist/adaptercloud/pages/admin/AdminFinancialPage.js.map +1 -1
- package/dist/adaptercloud/pages/admin/AdminOrdersPage.js +95 -95
- package/dist/adaptercloud/pages/admin/AdminOrdersPage.js.map +1 -1
- package/dist/adaptercloud/pages/admin/AdminProfilePage.js +34 -34
- package/dist/adaptercloud/pages/admin/AdminProfilePage.js.map +1 -1
- package/dist/adaptercloud/pages/admin/AdminSettingsPage.js +40 -40
- package/dist/adaptercloud/pages/admin/AdminSettingsPage.js.map +1 -1
- package/dist/adaptercloud/pages/admin/CartManagementPage.js +107 -107
- package/dist/adaptercloud/pages/admin/CartManagementPage.js.map +1 -1
- package/dist/adaptercloud/pages/admin/UserManagementPage.js +98 -98
- package/dist/adaptercloud/pages/admin/UserManagementPage.js.map +1 -1
- package/dist/adaptercloud/pages/cart-owner/AnalyticsDashboard.js +117 -117
- package/dist/adaptercloud/pages/cart-owner/AnalyticsDashboard.js.map +1 -1
- package/dist/adaptercloud/pages/cart-owner/BusinessSettingsPage.js +33 -33
- package/dist/adaptercloud/pages/cart-owner/BusinessSettingsPage.js.map +1 -1
- package/dist/adaptercloud/pages/cart-owner/CartOwnerDashboard.js +112 -109
- package/dist/adaptercloud/pages/cart-owner/CartOwnerDashboard.js.map +1 -1
- package/dist/adaptercloud/pages/cart-owner/CartOwnerProfilePage.js +115 -115
- package/dist/adaptercloud/pages/cart-owner/CartOwnerProfilePage.js.map +1 -1
- package/dist/adaptercloud/pages/cart-owner/CartServiceConfigPage.js +85 -85
- package/dist/adaptercloud/pages/cart-owner/CartServiceConfigPage.js.map +1 -1
- package/dist/adaptercloud/pages/cart-owner/InventoryManagementPage.js +106 -106
- package/dist/adaptercloud/pages/cart-owner/InventoryManagementPage.js.map +1 -1
- package/dist/adaptercloud/pages/cart-owner/OrderManagementPage.js +88 -88
- package/dist/adaptercloud/pages/cart-owner/OrderManagementPage.js.map +1 -1
- package/dist/adaptercloud/pages/cart-owner/StaffManagementPage.js +94 -94
- package/dist/adaptercloud/pages/cart-owner/StaffManagementPage.js.map +1 -1
- package/dist/adaptercloud/pages/common/HelpSupportPage.js +142 -142
- package/dist/adaptercloud/pages/common/HelpSupportPage.js.map +1 -1
- package/dist/adaptercloud/pages/common/NotificationCenterPage.js +67 -66
- package/dist/adaptercloud/pages/common/NotificationCenterPage.js.map +1 -1
- package/dist/adaptercloud/pages/common/SettingsPage.js +115 -115
- package/dist/adaptercloud/pages/common/SettingsPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/BookingDetailsPage.js +74 -73
- package/dist/adaptercloud/pages/customer/BookingDetailsPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/CartDetailPage.js +87 -86
- package/dist/adaptercloud/pages/customer/CartDetailPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/CartDiscoveryPage.js +66 -65
- package/dist/adaptercloud/pages/customer/CartDiscoveryPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/CheckoutPage.js +80 -80
- package/dist/adaptercloud/pages/customer/CheckoutPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/CustomerDashboard.js +88 -88
- package/dist/adaptercloud/pages/customer/CustomerDashboard.js.map +1 -1
- package/dist/adaptercloud/pages/customer/CustomerProfilePage.js +84 -84
- package/dist/adaptercloud/pages/customer/CustomerProfilePage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/DirectServiceBookingPage.js +92 -91
- package/dist/adaptercloud/pages/customer/DirectServiceBookingPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/FavoritesPage.js +34 -33
- package/dist/adaptercloud/pages/customer/FavoritesPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/OrderHistoryPage.js +44 -43
- package/dist/adaptercloud/pages/customer/OrderHistoryPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/OrderTrackingPage.js +61 -60
- package/dist/adaptercloud/pages/customer/OrderTrackingPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/PaymentMethodsPage.js +58 -57
- package/dist/adaptercloud/pages/customer/PaymentMethodsPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/ReviewsPage.js +48 -47
- package/dist/adaptercloud/pages/customer/ReviewsPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/SavedAddressesPage.js +46 -45
- package/dist/adaptercloud/pages/customer/SavedAddressesPage.js.map +1 -1
- package/dist/adaptercloud/pages/investor/InvestmentDetailsPage.js +128 -128
- package/dist/adaptercloud/pages/investor/InvestmentDetailsPage.js.map +1 -1
- package/dist/adaptercloud/pages/investor/InvestmentOpportunitiesPage.js +88 -87
- package/dist/adaptercloud/pages/investor/InvestmentOpportunitiesPage.js.map +1 -1
- package/dist/adaptercloud/pages/investor/InvestorAnalyticsPage.js +88 -88
- package/dist/adaptercloud/pages/investor/InvestorAnalyticsPage.js.map +1 -1
- package/dist/adaptercloud/pages/investor/InvestorDashboard.js +62 -62
- package/dist/adaptercloud/pages/investor/InvestorDashboard.js.map +1 -1
- package/dist/adaptercloud/pages/investor/InvestorInvestmentsPage.js +39 -38
- package/dist/adaptercloud/pages/investor/InvestorInvestmentsPage.js.map +1 -1
- package/dist/adaptercloud/pages/investor/InvestorPortfolioPage.js +66 -66
- package/dist/adaptercloud/pages/investor/InvestorPortfolioPage.js.map +1 -1
- package/dist/adaptercloud/pages/investor/InvestorProfilePage.js +153 -153
- package/dist/adaptercloud/pages/investor/InvestorProfilePage.js.map +1 -1
- package/dist/adaptercloud/pages/worker/TaskDetailsPage.js +81 -80
- package/dist/adaptercloud/pages/worker/TaskDetailsPage.js.map +1 -1
- package/dist/adaptercloud/pages/worker/WorkerDashboard.js +106 -106
- package/dist/adaptercloud/pages/worker/WorkerDashboard.js.map +1 -1
- package/dist/adaptercloud/pages/worker/WorkerOrdersPage.js +73 -72
- package/dist/adaptercloud/pages/worker/WorkerOrdersPage.js.map +1 -1
- package/dist/adaptercloud/pages/worker/WorkerProfilePage.js +107 -107
- package/dist/adaptercloud/pages/worker/WorkerProfilePage.js.map +1 -1
- package/dist/adaptercloud/pages/worker/WorkerSchedulePage.js +71 -69
- package/dist/adaptercloud/pages/worker/WorkerSchedulePage.js.map +1 -1
- package/dist/adaptercloud/utils/cn.js +2 -2
- package/dist/node_modules/{.bun/clsx@2.1.1/node_modules/clsx → clsx}/dist/clsx.js +1 -1
- package/dist/node_modules/clsx/dist/clsx.js.map +1 -0
- package/dist/node_modules/{.bun/tailwind-merge@3.5.0/node_modules/tailwind-merge → tailwind-merge}/dist/bundle-mjs.js +212 -170
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js.map +1 -0
- package/package.json +3 -3
- package/dist/node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.js.map +0 -1
- package/dist/node_modules/.bun/tailwind-merge@3.5.0/node_modules/tailwind-merge/dist/bundle-mjs.js.map +0 -1
|
@@ -48,6 +48,7 @@ function k() {
|
|
|
48
48
|
if (!j) return /* @__PURE__ */ w(n, {
|
|
49
49
|
title: "Cart Not Found",
|
|
50
50
|
children: /* @__PURE__ */ w(r, {
|
|
51
|
+
illustration: "empty-search",
|
|
51
52
|
icon: /* @__PURE__ */ w(h, { className: "h-12 w-12" }),
|
|
52
53
|
title: "Service not available",
|
|
53
54
|
description: "Direct service is not available for this cart.",
|
|
@@ -91,10 +92,10 @@ function k() {
|
|
|
91
92
|
children: [/* @__PURE__ */ w("button", {
|
|
92
93
|
type: "button",
|
|
93
94
|
onClick: () => A(`/customer/carts/${j.id}`),
|
|
94
|
-
className: "rounded-md p-1 text-
|
|
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
|
-
className: "text-xs font-normal text-
|
|
98
|
+
className: "text-xs font-normal text-text-secondary",
|
|
98
99
|
children: j.name
|
|
99
100
|
})] })]
|
|
100
101
|
}),
|
|
@@ -107,13 +108,13 @@ function k() {
|
|
|
107
108
|
children: [/* @__PURE__ */ T("div", {
|
|
108
109
|
className: "flex flex-col items-center",
|
|
109
110
|
children: [/* @__PURE__ */ w("div", {
|
|
110
|
-
className: t("flex h-8 w-8 items-center justify-center rounded-full text-xs font-medium", r ? "bg-
|
|
111
|
+
className: t("flex h-8 w-8 items-center justify-center rounded-full text-xs font-medium", r ? "bg-status-success-bg-subtle/20 text-status-success-text" : i ? "bg-foreground text-background" : "bg-bg-sunken text-text-secondary"),
|
|
111
112
|
children: r ? /* @__PURE__ */ w(f, { className: "h-4 w-4" }) : n + 1
|
|
112
113
|
}), /* @__PURE__ */ w("span", {
|
|
113
|
-
className: t("mt-1 text-[10px]", i ? "font-medium text-
|
|
114
|
+
className: t("mt-1 text-[10px]", i ? "font-medium text-text-primary" : "text-text-secondary"),
|
|
114
115
|
children: D[e]
|
|
115
116
|
})]
|
|
116
|
-
}), n < E.length - 1 && /* @__PURE__ */ w("div", { className: t("mx-2 h-0.5 w-8 sm:w-16", r ? "bg-
|
|
117
|
+
}), n < E.length - 1 && /* @__PURE__ */ w("div", { className: t("mx-2 h-0.5 w-8 sm:w-16", r ? "bg-status-success-bg-subtle/30" : "bg-border") })]
|
|
117
118
|
}, e);
|
|
118
119
|
})
|
|
119
120
|
}), /* @__PURE__ */ T("div", {
|
|
@@ -122,23 +123,23 @@ function k() {
|
|
|
122
123
|
className: "lg:col-span-2",
|
|
123
124
|
children: [
|
|
124
125
|
M === "location" && /* @__PURE__ */ T("div", {
|
|
125
|
-
className: "rounded-lg border border-border bg-
|
|
126
|
+
className: "rounded-lg border border-border-seam bg-bg-surface p-5 bg-gloss-card shadow-pop",
|
|
126
127
|
children: [
|
|
127
128
|
/* @__PURE__ */ T("h2", {
|
|
128
|
-
className: "text-base font-semibold text-
|
|
129
|
+
className: "text-base font-semibold text-text-primary mb-1 flex items-center gap-2",
|
|
129
130
|
children: [/* @__PURE__ */ w(_, { className: "h-4 w-4" }), "Service Location"]
|
|
130
131
|
}),
|
|
131
132
|
/* @__PURE__ */ w("p", {
|
|
132
|
-
className: "text-xs text-
|
|
133
|
+
className: "text-xs text-text-secondary mb-5",
|
|
133
134
|
children: "Where should the cart come?"
|
|
134
135
|
}),
|
|
135
136
|
/* @__PURE__ */ T("div", {
|
|
136
137
|
className: "space-y-4",
|
|
137
138
|
children: [
|
|
138
139
|
/* @__PURE__ */ T("div", { children: [/* @__PURE__ */ T("label", {
|
|
139
|
-
className: "block text-sm font-medium text-
|
|
140
|
+
className: "block text-sm font-medium text-text-primary mb-1.5",
|
|
140
141
|
children: ["Your Address ", /* @__PURE__ */ w("span", {
|
|
141
|
-
className: "text-
|
|
142
|
+
className: "text-status-error-text",
|
|
142
143
|
children: "*"
|
|
143
144
|
})]
|
|
144
145
|
}), /* @__PURE__ */ T("div", {
|
|
@@ -151,16 +152,16 @@ function k() {
|
|
|
151
152
|
...t,
|
|
152
153
|
address: e.target.value
|
|
153
154
|
})),
|
|
154
|
-
className: "flex-1 rounded-lg border border-border bg-
|
|
155
|
+
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
156
|
}), /* @__PURE__ */ T("button", {
|
|
156
157
|
type: "button",
|
|
157
158
|
onClick: K,
|
|
158
|
-
className: "flex items-center gap-1.5 rounded-lg border border-border px-3 py-2 text-xs font-medium text-
|
|
159
|
+
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
160
|
children: [/* @__PURE__ */ w(v, { className: "h-3.5 w-3.5" }), "Use Current Location"]
|
|
160
161
|
})]
|
|
161
162
|
})] }),
|
|
162
163
|
/* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("label", {
|
|
163
|
-
className: "block text-sm font-medium text-
|
|
164
|
+
className: "block text-sm font-medium text-text-primary mb-1.5",
|
|
164
165
|
children: "Nearby Landmark"
|
|
165
166
|
}), /* @__PURE__ */ w("input", {
|
|
166
167
|
type: "text",
|
|
@@ -170,10 +171,10 @@ function k() {
|
|
|
170
171
|
...t,
|
|
171
172
|
landmark: e.target.value
|
|
172
173
|
})),
|
|
173
|
-
className: "w-full rounded-lg border border-border bg-
|
|
174
|
+
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
|
})] }),
|
|
175
176
|
/* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("label", {
|
|
176
|
-
className: "block text-sm font-medium text-
|
|
177
|
+
className: "block text-sm font-medium text-text-primary mb-1.5",
|
|
177
178
|
children: "Instructions for Cart Owner"
|
|
178
179
|
}), /* @__PURE__ */ w("textarea", {
|
|
179
180
|
rows: 3,
|
|
@@ -183,17 +184,17 @@ function k() {
|
|
|
183
184
|
...t,
|
|
184
185
|
instructions: e.target.value
|
|
185
186
|
})),
|
|
186
|
-
className: "w-full rounded-lg border border-border bg-
|
|
187
|
+
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
|
})] }),
|
|
188
189
|
/* @__PURE__ */ T("div", { children: [/* @__PURE__ */ T("label", {
|
|
189
|
-
className: "block text-sm font-medium text-
|
|
190
|
+
className: "block text-sm font-medium text-text-primary mb-1.5",
|
|
190
191
|
children: ["Phone Number ", /* @__PURE__ */ w("span", {
|
|
191
|
-
className: "text-
|
|
192
|
+
className: "text-status-error-text",
|
|
192
193
|
children: "*"
|
|
193
194
|
})]
|
|
194
195
|
}), /* @__PURE__ */ T("div", {
|
|
195
196
|
className: "relative",
|
|
196
|
-
children: [/* @__PURE__ */ w(y, { className: "absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-
|
|
197
|
+
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
198
|
type: "tel",
|
|
198
199
|
placeholder: "Enter your phone number",
|
|
199
200
|
value: I.phoneNumber,
|
|
@@ -201,7 +202,7 @@ function k() {
|
|
|
201
202
|
...t,
|
|
202
203
|
phoneNumber: e.target.value
|
|
203
204
|
})),
|
|
204
|
-
className: "w-full rounded-lg border border-border bg-
|
|
205
|
+
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
|
})]
|
|
206
207
|
})] })
|
|
207
208
|
]
|
|
@@ -209,23 +210,23 @@ function k() {
|
|
|
209
210
|
]
|
|
210
211
|
}),
|
|
211
212
|
M === "details" && /* @__PURE__ */ T("div", {
|
|
212
|
-
className: "rounded-lg border border-border bg-
|
|
213
|
+
className: "rounded-lg border border-border-seam bg-bg-surface p-5 bg-gloss-card shadow-pop",
|
|
213
214
|
children: [
|
|
214
215
|
/* @__PURE__ */ T("h2", {
|
|
215
|
-
className: "text-base font-semibold text-
|
|
216
|
+
className: "text-base font-semibold text-text-primary mb-1 flex items-center gap-2",
|
|
216
217
|
children: [/* @__PURE__ */ w(d, { className: "h-4 w-4" }), "Booking Details"]
|
|
217
218
|
}),
|
|
218
219
|
/* @__PURE__ */ w("p", {
|
|
219
|
-
className: "text-xs text-
|
|
220
|
+
className: "text-xs text-text-secondary mb-5",
|
|
220
221
|
children: "Choose your preferred timing"
|
|
221
222
|
}),
|
|
222
223
|
/* @__PURE__ */ T("div", {
|
|
223
224
|
className: "space-y-4",
|
|
224
225
|
children: [
|
|
225
226
|
/* @__PURE__ */ T("div", { children: [/* @__PURE__ */ T("label", {
|
|
226
|
-
className: "block text-sm font-medium text-
|
|
227
|
+
className: "block text-sm font-medium text-text-primary mb-1.5",
|
|
227
228
|
children: ["Preferred Time Slot ", /* @__PURE__ */ w("span", {
|
|
228
|
-
className: "text-
|
|
229
|
+
className: "text-status-error-text",
|
|
229
230
|
children: "*"
|
|
230
231
|
})]
|
|
231
232
|
}), /* @__PURE__ */ w("div", {
|
|
@@ -236,12 +237,12 @@ function k() {
|
|
|
236
237
|
...t,
|
|
237
238
|
preferredTime: e.value
|
|
238
239
|
})),
|
|
239
|
-
className: t("rounded-lg border py-2 px-2 text-xs font-medium transition-colors", R.preferredTime === e.value ? "border-foreground bg-accent text-
|
|
240
|
+
className: t("rounded-lg border py-2 px-2 text-xs font-medium transition-colors", R.preferredTime === e.value ? "border-foreground bg-accent text-text-primary" : "border-border-subtle text-text-secondary hover:bg-accent hover:text-text-primary"),
|
|
240
241
|
children: e.label
|
|
241
242
|
}, e.value))
|
|
242
243
|
})] }),
|
|
243
244
|
/* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("label", {
|
|
244
|
-
className: "block text-sm font-medium text-
|
|
245
|
+
className: "block text-sm font-medium text-text-primary mb-1.5",
|
|
245
246
|
children: "Special Instructions"
|
|
246
247
|
}), /* @__PURE__ */ w("textarea", {
|
|
247
248
|
rows: 3,
|
|
@@ -251,7 +252,7 @@ function k() {
|
|
|
251
252
|
...t,
|
|
252
253
|
specialInstructions: e.target.value
|
|
253
254
|
})),
|
|
254
|
-
className: "w-full rounded-lg border border-border bg-
|
|
255
|
+
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
|
})] }),
|
|
256
257
|
/* @__PURE__ */ T("label", {
|
|
257
258
|
className: "flex items-center gap-2 cursor-pointer",
|
|
@@ -262,9 +263,9 @@ function k() {
|
|
|
262
263
|
...t,
|
|
263
264
|
isUrgent: e.target.checked
|
|
264
265
|
})),
|
|
265
|
-
className: "h-4 w-4 rounded border-border"
|
|
266
|
+
className: "h-4 w-4 rounded border-border-subtle"
|
|
266
267
|
}), /* @__PURE__ */ w("span", {
|
|
267
|
-
className: "text-sm text-
|
|
268
|
+
className: "text-sm text-text-secondary",
|
|
268
269
|
children: "This is urgent (additional charges may apply)"
|
|
269
270
|
})]
|
|
270
271
|
})
|
|
@@ -273,23 +274,23 @@ function k() {
|
|
|
273
274
|
]
|
|
274
275
|
}),
|
|
275
276
|
M === "payment" && /* @__PURE__ */ T("div", {
|
|
276
|
-
className: "rounded-lg border border-border bg-
|
|
277
|
+
className: "rounded-lg border border-border-seam bg-bg-surface p-5 bg-gloss-card shadow-pop",
|
|
277
278
|
children: [
|
|
278
279
|
/* @__PURE__ */ T("h2", {
|
|
279
|
-
className: "text-base font-semibold text-
|
|
280
|
+
className: "text-base font-semibold text-text-primary mb-1 flex items-center gap-2",
|
|
280
281
|
children: [/* @__PURE__ */ w(m, { className: "h-4 w-4" }), "Advance Payment"]
|
|
281
282
|
}),
|
|
282
283
|
/* @__PURE__ */ w("p", {
|
|
283
|
-
className: "text-xs text-
|
|
284
|
+
className: "text-xs text-text-secondary mb-5",
|
|
284
285
|
children: "Select your payment method"
|
|
285
286
|
}),
|
|
286
287
|
/* @__PURE__ */ T("div", {
|
|
287
288
|
className: "space-y-4",
|
|
288
289
|
children: [
|
|
289
290
|
/* @__PURE__ */ T("div", {
|
|
290
|
-
className: "flex items-start gap-2 rounded-lg border border-blue-
|
|
291
|
-
children: [/* @__PURE__ */ w(c, { className: "h-4 w-4 text-
|
|
292
|
-
className: "text-xs text-
|
|
291
|
+
className: "flex items-start gap-2 rounded-lg border border-accent-blue-subtle/20 bg-accent-blue-subtle/5 p-3",
|
|
292
|
+
children: [/* @__PURE__ */ w(c, { className: "h-4 w-4 text-accent-blue shrink-0 mt-0.5" }), /* @__PURE__ */ T("p", {
|
|
293
|
+
className: "text-xs text-accent-blue",
|
|
293
294
|
children: [
|
|
294
295
|
"You need to pay ",
|
|
295
296
|
i(100, { minimumFractionDigits: 0 }),
|
|
@@ -322,24 +323,24 @@ function k() {
|
|
|
322
323
|
].map(({ value: e, label: n, sub: r, Icon: i }) => /* @__PURE__ */ T("button", {
|
|
323
324
|
type: "button",
|
|
324
325
|
onClick: () => V(e),
|
|
325
|
-
className: t("rounded-lg border p-3 text-center transition-colors", B === e ? "border-foreground bg-accent" : "border-border hover:bg-accent"),
|
|
326
|
+
className: t("rounded-lg border p-3 text-center transition-colors", B === e ? "border-foreground bg-accent" : "border-border-subtle hover:bg-accent"),
|
|
326
327
|
children: [
|
|
327
|
-
/* @__PURE__ */ w(i, { className: "mx-auto h-5 w-5 text-
|
|
328
|
+
/* @__PURE__ */ w(i, { className: "mx-auto h-5 w-5 text-text-secondary mb-1" }),
|
|
328
329
|
/* @__PURE__ */ w("p", {
|
|
329
|
-
className: "text-sm font-medium text-
|
|
330
|
+
className: "text-sm font-medium text-text-primary",
|
|
330
331
|
children: n
|
|
331
332
|
}),
|
|
332
333
|
/* @__PURE__ */ w("p", {
|
|
333
|
-
className: "text-[10px] text-
|
|
334
|
+
className: "text-[10px] text-text-secondary",
|
|
334
335
|
children: r
|
|
335
336
|
})
|
|
336
337
|
]
|
|
337
338
|
}, e))
|
|
338
339
|
}),
|
|
339
340
|
/* @__PURE__ */ T("div", {
|
|
340
|
-
className: "rounded-lg bg-
|
|
341
|
+
className: "rounded-lg bg-bg-sunken p-4",
|
|
341
342
|
children: [/* @__PURE__ */ w("h3", {
|
|
342
|
-
className: "text-sm font-medium text-
|
|
343
|
+
className: "text-sm font-medium text-text-primary mb-2",
|
|
343
344
|
children: "Payment Summary"
|
|
344
345
|
}), /* @__PURE__ */ T("div", {
|
|
345
346
|
className: "space-y-2 text-sm",
|
|
@@ -347,34 +348,34 @@ function k() {
|
|
|
347
348
|
/* @__PURE__ */ T("div", {
|
|
348
349
|
className: "flex justify-between",
|
|
349
350
|
children: [/* @__PURE__ */ w("span", {
|
|
350
|
-
className: "text-
|
|
351
|
+
className: "text-text-secondary",
|
|
351
352
|
children: "Advance Payment:"
|
|
352
353
|
}), /* @__PURE__ */ w("span", {
|
|
353
|
-
className: "text-
|
|
354
|
+
className: "text-text-primary",
|
|
354
355
|
children: i(100, { minimumFractionDigits: 0 })
|
|
355
356
|
})]
|
|
356
357
|
}),
|
|
357
358
|
/* @__PURE__ */ T("div", {
|
|
358
359
|
className: "flex justify-between",
|
|
359
360
|
children: [/* @__PURE__ */ w("span", {
|
|
360
|
-
className: "text-
|
|
361
|
+
className: "text-text-secondary",
|
|
361
362
|
children: "Service Fee:"
|
|
362
363
|
}), /* @__PURE__ */ w("span", {
|
|
363
|
-
className: "text-
|
|
364
|
+
className: "text-text-primary",
|
|
364
365
|
children: i(50, { minimumFractionDigits: 0 })
|
|
365
366
|
})]
|
|
366
367
|
}),
|
|
367
368
|
/* @__PURE__ */ T("div", {
|
|
368
|
-
className: "flex justify-between text-
|
|
369
|
+
className: "flex justify-between text-text-secondary",
|
|
369
370
|
children: [/* @__PURE__ */ w("span", { children: "Balance Payment (at arrival):" }), /* @__PURE__ */ w("span", { children: i(50, { minimumFractionDigits: 0 }) })]
|
|
370
371
|
}),
|
|
371
372
|
/* @__PURE__ */ T("div", {
|
|
372
|
-
className: "flex justify-between border-t border-border pt-2 font-semibold",
|
|
373
|
+
className: "flex justify-between border-t border-border-subtle pt-2 font-semibold",
|
|
373
374
|
children: [/* @__PURE__ */ w("span", {
|
|
374
|
-
className: "text-
|
|
375
|
+
className: "text-text-primary",
|
|
375
376
|
children: "Total Amount:"
|
|
376
377
|
}), /* @__PURE__ */ w("span", {
|
|
377
|
-
className: "text-
|
|
378
|
+
className: "text-text-primary",
|
|
378
379
|
children: i(150, { minimumFractionDigits: 0 })
|
|
379
380
|
})]
|
|
380
381
|
})
|
|
@@ -386,117 +387,117 @@ function k() {
|
|
|
386
387
|
]
|
|
387
388
|
}),
|
|
388
389
|
M === "confirmation" && H && /* @__PURE__ */ T("div", {
|
|
389
|
-
className: "rounded-lg border border-border bg-
|
|
390
|
+
className: "rounded-lg border border-border-seam bg-bg-surface p-5 bg-gloss-card shadow-pop",
|
|
390
391
|
children: [
|
|
391
392
|
/* @__PURE__ */ T("div", {
|
|
392
393
|
className: "text-center mb-6",
|
|
393
394
|
children: [
|
|
394
395
|
/* @__PURE__ */ w("div", {
|
|
395
|
-
className: "mx-auto mb-3 flex h-14 w-14 items-center justify-center rounded-full bg-
|
|
396
|
-
children: /* @__PURE__ */ w(f, { className: "h-7 w-7 text-
|
|
396
|
+
className: "mx-auto mb-3 flex h-14 w-14 items-center justify-center rounded-full bg-status-success-bg-subtle/10",
|
|
397
|
+
children: /* @__PURE__ */ w(f, { className: "h-7 w-7 text-status-success-text" })
|
|
397
398
|
}),
|
|
398
399
|
/* @__PURE__ */ w("h2", {
|
|
399
|
-
className: "text-lg font-semibold text-
|
|
400
|
+
className: "text-lg font-semibold text-text-primary mb-1",
|
|
400
401
|
children: "Booking Confirmed!"
|
|
401
402
|
}),
|
|
402
403
|
/* @__PURE__ */ w("p", {
|
|
403
|
-
className: "text-sm text-
|
|
404
|
+
className: "text-sm text-text-secondary",
|
|
404
405
|
children: "Your direct service booking has been confirmed and payment processed."
|
|
405
406
|
})
|
|
406
407
|
]
|
|
407
408
|
}),
|
|
408
409
|
/* @__PURE__ */ T("div", {
|
|
409
|
-
className: "rounded-lg bg-
|
|
410
|
+
className: "rounded-lg bg-bg-sunken p-4 mb-4",
|
|
410
411
|
children: [/* @__PURE__ */ w("h3", {
|
|
411
|
-
className: "text-sm font-medium text-
|
|
412
|
+
className: "text-sm font-medium text-text-primary mb-3",
|
|
412
413
|
children: "Booking Details"
|
|
413
414
|
}), /* @__PURE__ */ T("div", {
|
|
414
415
|
className: "grid grid-cols-1 sm:grid-cols-2 gap-3 text-sm",
|
|
415
416
|
children: [
|
|
416
417
|
/* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("span", {
|
|
417
|
-
className: "text-xs text-
|
|
418
|
+
className: "text-xs text-text-secondary",
|
|
418
419
|
children: "Booking ID"
|
|
419
420
|
}), /* @__PURE__ */ w("p", {
|
|
420
|
-
className: "font-mono text-xs text-
|
|
421
|
+
className: "font-mono text-xs text-text-primary",
|
|
421
422
|
children: H.bookingId
|
|
422
423
|
})] }),
|
|
423
424
|
/* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("span", {
|
|
424
|
-
className: "text-xs text-
|
|
425
|
+
className: "text-xs text-text-secondary",
|
|
425
426
|
children: "Est. Arrival"
|
|
426
427
|
}), /* @__PURE__ */ w("p", {
|
|
427
|
-
className: "text-
|
|
428
|
+
className: "text-text-primary",
|
|
428
429
|
children: new Date(H.estimatedArrival).toLocaleTimeString([], {
|
|
429
430
|
hour: "2-digit",
|
|
430
431
|
minute: "2-digit"
|
|
431
432
|
})
|
|
432
433
|
})] }),
|
|
433
434
|
/* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("span", {
|
|
434
|
-
className: "text-xs text-
|
|
435
|
+
className: "text-xs text-text-secondary",
|
|
435
436
|
children: "Location"
|
|
436
437
|
}), /* @__PURE__ */ w("p", {
|
|
437
|
-
className: "text-
|
|
438
|
+
className: "text-text-primary truncate",
|
|
438
439
|
children: I.address
|
|
439
440
|
})] }),
|
|
440
441
|
/* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("span", {
|
|
441
|
-
className: "text-xs text-
|
|
442
|
+
className: "text-xs text-text-secondary",
|
|
442
443
|
children: "Phone"
|
|
443
444
|
}), /* @__PURE__ */ w("p", {
|
|
444
|
-
className: "text-
|
|
445
|
+
className: "text-text-primary",
|
|
445
446
|
children: I.phoneNumber
|
|
446
447
|
})] })
|
|
447
448
|
]
|
|
448
449
|
})]
|
|
449
450
|
}),
|
|
450
451
|
/* @__PURE__ */ T("div", {
|
|
451
|
-
className: "rounded-lg border border-
|
|
452
|
+
className: "rounded-lg border border-status-success-border/20 bg-status-success-bg-subtle/5 p-4 mb-4",
|
|
452
453
|
children: [/* @__PURE__ */ T("h3", {
|
|
453
|
-
className: "text-sm font-medium text-
|
|
454
|
+
className: "text-sm font-medium text-status-success-text mb-2 flex items-center gap-2",
|
|
454
455
|
children: [/* @__PURE__ */ w(f, { className: "h-4 w-4" }), "Payment Processed"]
|
|
455
456
|
}), /* @__PURE__ */ T("div", {
|
|
456
457
|
className: "grid grid-cols-2 gap-3 text-sm",
|
|
457
458
|
children: [
|
|
458
459
|
/* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("span", {
|
|
459
|
-
className: "text-xs text-
|
|
460
|
+
className: "text-xs text-text-secondary",
|
|
460
461
|
children: "Transaction ID"
|
|
461
462
|
}), /* @__PURE__ */ w("p", {
|
|
462
|
-
className: "font-mono text-xs text-
|
|
463
|
+
className: "font-mono text-xs text-text-primary",
|
|
463
464
|
children: H.transactionId
|
|
464
465
|
})] }),
|
|
465
466
|
/* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("span", {
|
|
466
|
-
className: "text-xs text-
|
|
467
|
+
className: "text-xs text-text-secondary",
|
|
467
468
|
children: "Advance Paid"
|
|
468
469
|
}), /* @__PURE__ */ w("p", {
|
|
469
|
-
className: "font-medium text-
|
|
470
|
+
className: "font-medium text-text-primary",
|
|
470
471
|
children: i(100, { minimumFractionDigits: 0 })
|
|
471
472
|
})] }),
|
|
472
473
|
/* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("span", {
|
|
473
|
-
className: "text-xs text-
|
|
474
|
+
className: "text-xs text-text-secondary",
|
|
474
475
|
children: "Method"
|
|
475
476
|
}), /* @__PURE__ */ w("p", {
|
|
476
|
-
className: "capitalize text-
|
|
477
|
+
className: "capitalize text-text-primary",
|
|
477
478
|
children: B
|
|
478
479
|
})] }),
|
|
479
480
|
/* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("span", {
|
|
480
|
-
className: "text-xs text-
|
|
481
|
+
className: "text-xs text-text-secondary",
|
|
481
482
|
children: "Status"
|
|
482
483
|
}), /* @__PURE__ */ w("p", {
|
|
483
|
-
className: "font-medium text-
|
|
484
|
+
className: "font-medium text-status-success-text",
|
|
484
485
|
children: "Paid"
|
|
485
486
|
})] })
|
|
486
487
|
]
|
|
487
488
|
})]
|
|
488
489
|
}),
|
|
489
490
|
/* @__PURE__ */ T("div", {
|
|
490
|
-
className: "rounded-lg border border-blue-
|
|
491
|
+
className: "rounded-lg border border-accent-blue-subtle/20 bg-accent-blue-subtle/5 p-4 mb-6",
|
|
491
492
|
children: [/* @__PURE__ */ w("h3", {
|
|
492
|
-
className: "text-sm font-medium text-
|
|
493
|
+
className: "text-sm font-medium text-accent-blue mb-2",
|
|
493
494
|
children: "Next Steps"
|
|
494
495
|
}), /* @__PURE__ */ T("div", {
|
|
495
|
-
className: "space-y-2 text-xs text-
|
|
496
|
+
className: "space-y-2 text-xs text-accent-blue",
|
|
496
497
|
children: [
|
|
497
498
|
/* @__PURE__ */ T("div", {
|
|
498
499
|
className: "flex items-start gap-2",
|
|
499
|
-
children: [/* @__PURE__ */ w(f, { className: "h-3.5 w-3.5 text-
|
|
500
|
+
children: [/* @__PURE__ */ w(f, { className: "h-3.5 w-3.5 text-status-success-text mt-0.5 shrink-0" }), /* @__PURE__ */ T("span", { children: [
|
|
500
501
|
"Payment confirmed -",
|
|
501
502
|
" ",
|
|
502
503
|
i(100, { minimumFractionDigits: 0 }),
|
|
@@ -536,7 +537,7 @@ function k() {
|
|
|
536
537
|
}), /* @__PURE__ */ w("button", {
|
|
537
538
|
type: "button",
|
|
538
539
|
onClick: () => A("/customer/carts"),
|
|
539
|
-
className: "flex-1 rounded-lg border border-border px-4 py-2.5 text-sm font-medium text-
|
|
540
|
+
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
541
|
children: "Browse More"
|
|
541
542
|
})]
|
|
542
543
|
})
|
|
@@ -548,7 +549,7 @@ function k() {
|
|
|
548
549
|
type: "button",
|
|
549
550
|
onClick: X,
|
|
550
551
|
disabled: M === "location",
|
|
551
|
-
className: t("flex items-center gap-2 rounded-lg border border-border px-4 py-2.5 text-sm font-medium text-
|
|
552
|
+
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
553
|
children: [/* @__PURE__ */ w(l, { className: "h-4 w-4" }), "Previous"]
|
|
553
554
|
}), /* @__PURE__ */ w("button", {
|
|
554
555
|
type: "button",
|
|
@@ -562,10 +563,10 @@ function k() {
|
|
|
562
563
|
}), /* @__PURE__ */ w("div", {
|
|
563
564
|
className: "lg:col-span-1",
|
|
564
565
|
children: /* @__PURE__ */ T("div", {
|
|
565
|
-
className: "sticky top-6 rounded-lg border border-border bg-
|
|
566
|
+
className: "sticky top-6 rounded-lg border border-border-seam bg-bg-surface p-5 bg-gloss-card shadow-pop",
|
|
566
567
|
children: [
|
|
567
568
|
/* @__PURE__ */ w("h3", {
|
|
568
|
-
className: "text-base font-semibold text-
|
|
569
|
+
className: "text-base font-semibold text-text-primary mb-4",
|
|
569
570
|
children: "Service Summary"
|
|
570
571
|
}),
|
|
571
572
|
/* @__PURE__ */ T("div", {
|
|
@@ -575,37 +576,37 @@ function k() {
|
|
|
575
576
|
alt: j.name,
|
|
576
577
|
className: "h-12 w-12 rounded-lg object-cover"
|
|
577
578
|
}), /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("p", {
|
|
578
|
-
className: "text-sm font-medium text-
|
|
579
|
+
className: "text-sm font-medium text-text-primary",
|
|
579
580
|
children: j.name
|
|
580
581
|
}), /* @__PURE__ */ w("p", {
|
|
581
|
-
className: "text-xs text-
|
|
582
|
+
className: "text-xs text-text-secondary",
|
|
582
583
|
children: j.category
|
|
583
584
|
})] })]
|
|
584
585
|
}),
|
|
585
586
|
/* @__PURE__ */ T("div", {
|
|
586
|
-
className: "space-y-2 text-sm border-t border-border pt-3",
|
|
587
|
+
className: "space-y-2 text-sm border-t border-border-subtle pt-3",
|
|
587
588
|
children: [/* @__PURE__ */ T("div", {
|
|
588
589
|
className: "flex justify-between",
|
|
589
590
|
children: [/* @__PURE__ */ w("span", {
|
|
590
|
-
className: "text-
|
|
591
|
+
className: "text-text-secondary",
|
|
591
592
|
children: "Service Fee:"
|
|
592
593
|
}), /* @__PURE__ */ w("span", {
|
|
593
|
-
className: "text-
|
|
594
|
+
className: "text-text-primary",
|
|
594
595
|
children: i(50, { minimumFractionDigits: 0 })
|
|
595
596
|
})]
|
|
596
597
|
}), /* @__PURE__ */ T("div", {
|
|
597
598
|
className: "flex justify-between",
|
|
598
599
|
children: [/* @__PURE__ */ w("span", {
|
|
599
|
-
className: "text-
|
|
600
|
+
className: "text-text-secondary",
|
|
600
601
|
children: "Advance Payment:"
|
|
601
602
|
}), /* @__PURE__ */ w("span", {
|
|
602
|
-
className: "font-medium text-
|
|
603
|
+
className: "font-medium text-text-primary",
|
|
603
604
|
children: i(100, { minimumFractionDigits: 0 })
|
|
604
605
|
})]
|
|
605
606
|
})]
|
|
606
607
|
}),
|
|
607
608
|
/* @__PURE__ */ T("div", {
|
|
608
|
-
className: "flex items-center gap-2 mt-3 pt-3 border-t border-border text-
|
|
609
|
+
className: "flex items-center gap-2 mt-3 pt-3 border-t border-border-subtle text-status-success-text",
|
|
609
610
|
children: [/* @__PURE__ */ w(f, { className: "h-3.5 w-3.5" }), /* @__PURE__ */ w("span", {
|
|
610
611
|
className: "text-xs",
|
|
611
612
|
children: "Pay remaining amount at cart"
|