@burdenoff/microfe-adaptercloud 2026.614.1 → 2026.624.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 +3 -3
- package/dist/adaptercloud/components/EmptyState.js.map +1 -1
- package/dist/adaptercloud/components/InvestmentCard.js +9 -9
- package/dist/adaptercloud/components/InvestmentCard.js.map +1 -1
- package/dist/adaptercloud/components/MetricsCard.js +5 -5
- package/dist/adaptercloud/components/MetricsCard.js.map +1 -1
- package/dist/adaptercloud/components/PageLayout.js +3 -3
- 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 +2 -2
- package/dist/adaptercloud/components/StatusBadge.js.map +1 -1
- package/dist/adaptercloud/pages/HomePage.js +54 -54
- package/dist/adaptercloud/pages/HomePage.js.map +1 -1
- package/dist/adaptercloud/pages/admin/AdminAnalyticsPage.js +60 -60
- package/dist/adaptercloud/pages/admin/AdminAnalyticsPage.js.map +1 -1
- package/dist/adaptercloud/pages/admin/AdminDashboard.js +77 -77
- package/dist/adaptercloud/pages/admin/AdminDashboard.js.map +1 -1
- package/dist/adaptercloud/pages/admin/AdminFinancialPage.js +43 -43
- package/dist/adaptercloud/pages/admin/AdminFinancialPage.js.map +1 -1
- package/dist/adaptercloud/pages/admin/AdminOrdersPage.js +85 -85
- 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 +86 -86
- package/dist/adaptercloud/pages/admin/CartManagementPage.js.map +1 -1
- package/dist/adaptercloud/pages/admin/UserManagementPage.js +80 -80
- package/dist/adaptercloud/pages/admin/UserManagementPage.js.map +1 -1
- package/dist/adaptercloud/pages/cart-owner/AnalyticsDashboard.js +100 -100
- package/dist/adaptercloud/pages/cart-owner/AnalyticsDashboard.js.map +1 -1
- package/dist/adaptercloud/pages/cart-owner/BusinessSettingsPage.js +29 -29
- package/dist/adaptercloud/pages/cart-owner/BusinessSettingsPage.js.map +1 -1
- package/dist/adaptercloud/pages/cart-owner/CartOwnerDashboard.js +81 -81
- package/dist/adaptercloud/pages/cart-owner/CartOwnerDashboard.js.map +1 -1
- package/dist/adaptercloud/pages/cart-owner/CartOwnerProfilePage.js +100 -100
- package/dist/adaptercloud/pages/cart-owner/CartOwnerProfilePage.js.map +1 -1
- package/dist/adaptercloud/pages/cart-owner/CartServiceConfigPage.js +67 -67
- package/dist/adaptercloud/pages/cart-owner/CartServiceConfigPage.js.map +1 -1
- package/dist/adaptercloud/pages/cart-owner/InventoryManagementPage.js +94 -94
- package/dist/adaptercloud/pages/cart-owner/InventoryManagementPage.js.map +1 -1
- package/dist/adaptercloud/pages/cart-owner/OrderManagementPage.js +57 -57
- package/dist/adaptercloud/pages/cart-owner/OrderManagementPage.js.map +1 -1
- package/dist/adaptercloud/pages/cart-owner/StaffManagementPage.js +75 -75
- package/dist/adaptercloud/pages/cart-owner/StaffManagementPage.js.map +1 -1
- package/dist/adaptercloud/pages/common/HelpSupportPage.js +102 -102
- package/dist/adaptercloud/pages/common/HelpSupportPage.js.map +1 -1
- package/dist/adaptercloud/pages/common/NotificationCenterPage.js +35 -35
- package/dist/adaptercloud/pages/common/NotificationCenterPage.js.map +1 -1
- package/dist/adaptercloud/pages/common/SettingsPage.js +109 -109
- package/dist/adaptercloud/pages/common/SettingsPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/BookingDetailsPage.js +60 -60
- package/dist/adaptercloud/pages/customer/BookingDetailsPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/CartDetailPage.js +71 -71
- package/dist/adaptercloud/pages/customer/CartDetailPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/CartDiscoveryPage.js +54 -54
- package/dist/adaptercloud/pages/customer/CartDiscoveryPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/CheckoutPage.js +75 -75
- package/dist/adaptercloud/pages/customer/CheckoutPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/CustomerDashboard.js +69 -69
- package/dist/adaptercloud/pages/customer/CustomerDashboard.js.map +1 -1
- package/dist/adaptercloud/pages/customer/CustomerProfilePage.js +72 -72
- package/dist/adaptercloud/pages/customer/CustomerProfilePage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/DirectServiceBookingPage.js +75 -75
- package/dist/adaptercloud/pages/customer/DirectServiceBookingPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/FavoritesPage.js +30 -30
- package/dist/adaptercloud/pages/customer/FavoritesPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/OrderHistoryPage.js +41 -41
- package/dist/adaptercloud/pages/customer/OrderHistoryPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/OrderTrackingPage.js +53 -53
- package/dist/adaptercloud/pages/customer/OrderTrackingPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/PaymentMethodsPage.js +51 -51
- package/dist/adaptercloud/pages/customer/PaymentMethodsPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/ReviewsPage.js +33 -33
- package/dist/adaptercloud/pages/customer/ReviewsPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/SavedAddressesPage.js +33 -33
- package/dist/adaptercloud/pages/customer/SavedAddressesPage.js.map +1 -1
- package/dist/adaptercloud/pages/investor/InvestmentDetailsPage.js +108 -108
- package/dist/adaptercloud/pages/investor/InvestmentDetailsPage.js.map +1 -1
- package/dist/adaptercloud/pages/investor/InvestmentOpportunitiesPage.js +76 -76
- package/dist/adaptercloud/pages/investor/InvestmentOpportunitiesPage.js.map +1 -1
- package/dist/adaptercloud/pages/investor/InvestorAnalyticsPage.js +69 -69
- package/dist/adaptercloud/pages/investor/InvestorAnalyticsPage.js.map +1 -1
- package/dist/adaptercloud/pages/investor/InvestorDashboard.js +53 -53
- package/dist/adaptercloud/pages/investor/InvestorDashboard.js.map +1 -1
- package/dist/adaptercloud/pages/investor/InvestorInvestmentsPage.js +32 -32
- package/dist/adaptercloud/pages/investor/InvestorInvestmentsPage.js.map +1 -1
- package/dist/adaptercloud/pages/investor/InvestorPortfolioPage.js +55 -55
- package/dist/adaptercloud/pages/investor/InvestorPortfolioPage.js.map +1 -1
- package/dist/adaptercloud/pages/investor/InvestorProfilePage.js +138 -138
- package/dist/adaptercloud/pages/investor/InvestorProfilePage.js.map +1 -1
- package/dist/adaptercloud/pages/worker/TaskDetailsPage.js +65 -65
- package/dist/adaptercloud/pages/worker/TaskDetailsPage.js.map +1 -1
- package/dist/adaptercloud/pages/worker/WorkerDashboard.js +74 -74
- package/dist/adaptercloud/pages/worker/WorkerDashboard.js.map +1 -1
- package/dist/adaptercloud/pages/worker/WorkerOrdersPage.js +49 -49
- package/dist/adaptercloud/pages/worker/WorkerOrdersPage.js.map +1 -1
- package/dist/adaptercloud/pages/worker/WorkerProfilePage.js +92 -92
- package/dist/adaptercloud/pages/worker/WorkerProfilePage.js.map +1 -1
- package/dist/adaptercloud/pages/worker/WorkerSchedulePage.js +55 -55
- 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 +1 -1
- 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
|
@@ -91,10 +91,10 @@ function k() {
|
|
|
91
91
|
children: [/* @__PURE__ */ w("button", {
|
|
92
92
|
type: "button",
|
|
93
93
|
onClick: () => A(`/customer/carts/${j.id}`),
|
|
94
|
-
className: "rounded-md p-1 text-
|
|
94
|
+
className: "rounded-md p-1 text-text-secondary hover:bg-accent hover:text-text-primary transition-colors",
|
|
95
95
|
children: /* @__PURE__ */ w(l, { className: "h-5 w-5" })
|
|
96
96
|
}), /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("span", { children: "Book Direct Service" }), /* @__PURE__ */ w("p", {
|
|
97
|
-
className: "text-xs font-normal text-
|
|
97
|
+
className: "text-xs font-normal text-text-secondary",
|
|
98
98
|
children: j.name
|
|
99
99
|
})] })]
|
|
100
100
|
}),
|
|
@@ -107,10 +107,10 @@ function k() {
|
|
|
107
107
|
children: [/* @__PURE__ */ T("div", {
|
|
108
108
|
className: "flex flex-col items-center",
|
|
109
109
|
children: [/* @__PURE__ */ w("div", {
|
|
110
|
-
className: t("flex h-8 w-8 items-center justify-center rounded-full text-xs font-medium", r ? "bg-green-500/20 text-green-600 dark:text-green-400" : i ? "bg-foreground text-background" : "bg-
|
|
110
|
+
className: t("flex h-8 w-8 items-center justify-center rounded-full text-xs font-medium", r ? "bg-green-500/20 text-green-600 dark:text-green-400" : i ? "bg-foreground text-background" : "bg-bg-sunken text-text-secondary"),
|
|
111
111
|
children: r ? /* @__PURE__ */ w(f, { className: "h-4 w-4" }) : n + 1
|
|
112
112
|
}), /* @__PURE__ */ w("span", {
|
|
113
|
-
className: t("mt-1 text-[10px]", i ? "font-medium text-
|
|
113
|
+
className: t("mt-1 text-[10px]", i ? "font-medium text-text-primary" : "text-text-secondary"),
|
|
114
114
|
children: D[e]
|
|
115
115
|
})]
|
|
116
116
|
}), n < E.length - 1 && /* @__PURE__ */ w("div", { className: t("mx-2 h-0.5 w-8 sm:w-16", r ? "bg-green-500/30" : "bg-border") })]
|
|
@@ -122,21 +122,21 @@ function k() {
|
|
|
122
122
|
className: "lg:col-span-2",
|
|
123
123
|
children: [
|
|
124
124
|
M === "location" && /* @__PURE__ */ T("div", {
|
|
125
|
-
className: "rounded-lg border border-border bg-
|
|
125
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface p-5",
|
|
126
126
|
children: [
|
|
127
127
|
/* @__PURE__ */ T("h2", {
|
|
128
|
-
className: "text-base font-semibold text-
|
|
128
|
+
className: "text-base font-semibold text-text-primary mb-1 flex items-center gap-2",
|
|
129
129
|
children: [/* @__PURE__ */ w(_, { className: "h-4 w-4" }), "Service Location"]
|
|
130
130
|
}),
|
|
131
131
|
/* @__PURE__ */ w("p", {
|
|
132
|
-
className: "text-xs text-
|
|
132
|
+
className: "text-xs text-text-secondary mb-5",
|
|
133
133
|
children: "Where should the cart come?"
|
|
134
134
|
}),
|
|
135
135
|
/* @__PURE__ */ T("div", {
|
|
136
136
|
className: "space-y-4",
|
|
137
137
|
children: [
|
|
138
138
|
/* @__PURE__ */ T("div", { children: [/* @__PURE__ */ T("label", {
|
|
139
|
-
className: "block text-sm font-medium text-
|
|
139
|
+
className: "block text-sm font-medium text-text-primary mb-1.5",
|
|
140
140
|
children: ["Your Address ", /* @__PURE__ */ w("span", {
|
|
141
141
|
className: "text-red-500",
|
|
142
142
|
children: "*"
|
|
@@ -151,16 +151,16 @@ function k() {
|
|
|
151
151
|
...t,
|
|
152
152
|
address: e.target.value
|
|
153
153
|
})),
|
|
154
|
-
className: "flex-1 rounded-lg border border-border bg-
|
|
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
155
|
}), /* @__PURE__ */ T("button", {
|
|
156
156
|
type: "button",
|
|
157
157
|
onClick: K,
|
|
158
|
-
className: "flex items-center gap-1.5 rounded-lg border border-border px-3 py-2 text-xs font-medium text-
|
|
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
159
|
children: [/* @__PURE__ */ w(v, { className: "h-3.5 w-3.5" }), "Use Current Location"]
|
|
160
160
|
})]
|
|
161
161
|
})] }),
|
|
162
162
|
/* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("label", {
|
|
163
|
-
className: "block text-sm font-medium text-
|
|
163
|
+
className: "block text-sm font-medium text-text-primary mb-1.5",
|
|
164
164
|
children: "Nearby Landmark"
|
|
165
165
|
}), /* @__PURE__ */ w("input", {
|
|
166
166
|
type: "text",
|
|
@@ -170,10 +170,10 @@ function k() {
|
|
|
170
170
|
...t,
|
|
171
171
|
landmark: e.target.value
|
|
172
172
|
})),
|
|
173
|
-
className: "w-full rounded-lg border border-border bg-
|
|
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
174
|
})] }),
|
|
175
175
|
/* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("label", {
|
|
176
|
-
className: "block text-sm font-medium text-
|
|
176
|
+
className: "block text-sm font-medium text-text-primary mb-1.5",
|
|
177
177
|
children: "Instructions for Cart Owner"
|
|
178
178
|
}), /* @__PURE__ */ w("textarea", {
|
|
179
179
|
rows: 3,
|
|
@@ -183,17 +183,17 @@ function k() {
|
|
|
183
183
|
...t,
|
|
184
184
|
instructions: e.target.value
|
|
185
185
|
})),
|
|
186
|
-
className: "w-full rounded-lg border border-border bg-
|
|
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
187
|
})] }),
|
|
188
188
|
/* @__PURE__ */ T("div", { children: [/* @__PURE__ */ T("label", {
|
|
189
|
-
className: "block text-sm font-medium text-
|
|
189
|
+
className: "block text-sm font-medium text-text-primary mb-1.5",
|
|
190
190
|
children: ["Phone Number ", /* @__PURE__ */ w("span", {
|
|
191
191
|
className: "text-red-500",
|
|
192
192
|
children: "*"
|
|
193
193
|
})]
|
|
194
194
|
}), /* @__PURE__ */ T("div", {
|
|
195
195
|
className: "relative",
|
|
196
|
-
children: [/* @__PURE__ */ w(y, { className: "absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-
|
|
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
197
|
type: "tel",
|
|
198
198
|
placeholder: "Enter your phone number",
|
|
199
199
|
value: I.phoneNumber,
|
|
@@ -201,7 +201,7 @@ function k() {
|
|
|
201
201
|
...t,
|
|
202
202
|
phoneNumber: e.target.value
|
|
203
203
|
})),
|
|
204
|
-
className: "w-full rounded-lg border border-border bg-
|
|
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
205
|
})]
|
|
206
206
|
})] })
|
|
207
207
|
]
|
|
@@ -209,21 +209,21 @@ function k() {
|
|
|
209
209
|
]
|
|
210
210
|
}),
|
|
211
211
|
M === "details" && /* @__PURE__ */ T("div", {
|
|
212
|
-
className: "rounded-lg border border-border bg-
|
|
212
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface p-5",
|
|
213
213
|
children: [
|
|
214
214
|
/* @__PURE__ */ T("h2", {
|
|
215
|
-
className: "text-base font-semibold text-
|
|
215
|
+
className: "text-base font-semibold text-text-primary mb-1 flex items-center gap-2",
|
|
216
216
|
children: [/* @__PURE__ */ w(d, { className: "h-4 w-4" }), "Booking Details"]
|
|
217
217
|
}),
|
|
218
218
|
/* @__PURE__ */ w("p", {
|
|
219
|
-
className: "text-xs text-
|
|
219
|
+
className: "text-xs text-text-secondary mb-5",
|
|
220
220
|
children: "Choose your preferred timing"
|
|
221
221
|
}),
|
|
222
222
|
/* @__PURE__ */ T("div", {
|
|
223
223
|
className: "space-y-4",
|
|
224
224
|
children: [
|
|
225
225
|
/* @__PURE__ */ T("div", { children: [/* @__PURE__ */ T("label", {
|
|
226
|
-
className: "block text-sm font-medium text-
|
|
226
|
+
className: "block text-sm font-medium text-text-primary mb-1.5",
|
|
227
227
|
children: ["Preferred Time Slot ", /* @__PURE__ */ w("span", {
|
|
228
228
|
className: "text-red-500",
|
|
229
229
|
children: "*"
|
|
@@ -236,12 +236,12 @@ function k() {
|
|
|
236
236
|
...t,
|
|
237
237
|
preferredTime: e.value
|
|
238
238
|
})),
|
|
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-
|
|
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-text-primary" : "border-border-subtle text-text-secondary hover:bg-accent hover:text-text-primary"),
|
|
240
240
|
children: e.label
|
|
241
241
|
}, e.value))
|
|
242
242
|
})] }),
|
|
243
243
|
/* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("label", {
|
|
244
|
-
className: "block text-sm font-medium text-
|
|
244
|
+
className: "block text-sm font-medium text-text-primary mb-1.5",
|
|
245
245
|
children: "Special Instructions"
|
|
246
246
|
}), /* @__PURE__ */ w("textarea", {
|
|
247
247
|
rows: 3,
|
|
@@ -251,7 +251,7 @@ function k() {
|
|
|
251
251
|
...t,
|
|
252
252
|
specialInstructions: e.target.value
|
|
253
253
|
})),
|
|
254
|
-
className: "w-full rounded-lg border border-border bg-
|
|
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
255
|
})] }),
|
|
256
256
|
/* @__PURE__ */ T("label", {
|
|
257
257
|
className: "flex items-center gap-2 cursor-pointer",
|
|
@@ -262,9 +262,9 @@ function k() {
|
|
|
262
262
|
...t,
|
|
263
263
|
isUrgent: e.target.checked
|
|
264
264
|
})),
|
|
265
|
-
className: "h-4 w-4 rounded border-border"
|
|
265
|
+
className: "h-4 w-4 rounded border-border-subtle"
|
|
266
266
|
}), /* @__PURE__ */ w("span", {
|
|
267
|
-
className: "text-sm text-
|
|
267
|
+
className: "text-sm text-text-secondary",
|
|
268
268
|
children: "This is urgent (additional charges may apply)"
|
|
269
269
|
})]
|
|
270
270
|
})
|
|
@@ -273,14 +273,14 @@ function k() {
|
|
|
273
273
|
]
|
|
274
274
|
}),
|
|
275
275
|
M === "payment" && /* @__PURE__ */ T("div", {
|
|
276
|
-
className: "rounded-lg border border-border bg-
|
|
276
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface p-5",
|
|
277
277
|
children: [
|
|
278
278
|
/* @__PURE__ */ T("h2", {
|
|
279
|
-
className: "text-base font-semibold text-
|
|
279
|
+
className: "text-base font-semibold text-text-primary mb-1 flex items-center gap-2",
|
|
280
280
|
children: [/* @__PURE__ */ w(m, { className: "h-4 w-4" }), "Advance Payment"]
|
|
281
281
|
}),
|
|
282
282
|
/* @__PURE__ */ w("p", {
|
|
283
|
-
className: "text-xs text-
|
|
283
|
+
className: "text-xs text-text-secondary mb-5",
|
|
284
284
|
children: "Select your payment method"
|
|
285
285
|
}),
|
|
286
286
|
/* @__PURE__ */ T("div", {
|
|
@@ -322,24 +322,24 @@ function k() {
|
|
|
322
322
|
].map(({ value: e, label: n, sub: r, Icon: i }) => /* @__PURE__ */ T("button", {
|
|
323
323
|
type: "button",
|
|
324
324
|
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"),
|
|
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
326
|
children: [
|
|
327
|
-
/* @__PURE__ */ w(i, { className: "mx-auto h-5 w-5 text-
|
|
327
|
+
/* @__PURE__ */ w(i, { className: "mx-auto h-5 w-5 text-text-secondary mb-1" }),
|
|
328
328
|
/* @__PURE__ */ w("p", {
|
|
329
|
-
className: "text-sm font-medium text-
|
|
329
|
+
className: "text-sm font-medium text-text-primary",
|
|
330
330
|
children: n
|
|
331
331
|
}),
|
|
332
332
|
/* @__PURE__ */ w("p", {
|
|
333
|
-
className: "text-[10px] text-
|
|
333
|
+
className: "text-[10px] text-text-secondary",
|
|
334
334
|
children: r
|
|
335
335
|
})
|
|
336
336
|
]
|
|
337
337
|
}, e))
|
|
338
338
|
}),
|
|
339
339
|
/* @__PURE__ */ T("div", {
|
|
340
|
-
className: "rounded-lg bg-
|
|
340
|
+
className: "rounded-lg bg-bg-sunken p-4",
|
|
341
341
|
children: [/* @__PURE__ */ w("h3", {
|
|
342
|
-
className: "text-sm font-medium text-
|
|
342
|
+
className: "text-sm font-medium text-text-primary mb-2",
|
|
343
343
|
children: "Payment Summary"
|
|
344
344
|
}), /* @__PURE__ */ T("div", {
|
|
345
345
|
className: "space-y-2 text-sm",
|
|
@@ -347,34 +347,34 @@ function k() {
|
|
|
347
347
|
/* @__PURE__ */ T("div", {
|
|
348
348
|
className: "flex justify-between",
|
|
349
349
|
children: [/* @__PURE__ */ w("span", {
|
|
350
|
-
className: "text-
|
|
350
|
+
className: "text-text-secondary",
|
|
351
351
|
children: "Advance Payment:"
|
|
352
352
|
}), /* @__PURE__ */ w("span", {
|
|
353
|
-
className: "text-
|
|
353
|
+
className: "text-text-primary",
|
|
354
354
|
children: i(100, { minimumFractionDigits: 0 })
|
|
355
355
|
})]
|
|
356
356
|
}),
|
|
357
357
|
/* @__PURE__ */ T("div", {
|
|
358
358
|
className: "flex justify-between",
|
|
359
359
|
children: [/* @__PURE__ */ w("span", {
|
|
360
|
-
className: "text-
|
|
360
|
+
className: "text-text-secondary",
|
|
361
361
|
children: "Service Fee:"
|
|
362
362
|
}), /* @__PURE__ */ w("span", {
|
|
363
|
-
className: "text-
|
|
363
|
+
className: "text-text-primary",
|
|
364
364
|
children: i(50, { minimumFractionDigits: 0 })
|
|
365
365
|
})]
|
|
366
366
|
}),
|
|
367
367
|
/* @__PURE__ */ T("div", {
|
|
368
|
-
className: "flex justify-between text-
|
|
368
|
+
className: "flex justify-between text-text-secondary",
|
|
369
369
|
children: [/* @__PURE__ */ w("span", { children: "Balance Payment (at arrival):" }), /* @__PURE__ */ w("span", { children: i(50, { minimumFractionDigits: 0 }) })]
|
|
370
370
|
}),
|
|
371
371
|
/* @__PURE__ */ T("div", {
|
|
372
|
-
className: "flex justify-between border-t border-border pt-2 font-semibold",
|
|
372
|
+
className: "flex justify-between border-t border-border-subtle pt-2 font-semibold",
|
|
373
373
|
children: [/* @__PURE__ */ w("span", {
|
|
374
|
-
className: "text-
|
|
374
|
+
className: "text-text-primary",
|
|
375
375
|
children: "Total Amount:"
|
|
376
376
|
}), /* @__PURE__ */ w("span", {
|
|
377
|
-
className: "text-
|
|
377
|
+
className: "text-text-primary",
|
|
378
378
|
children: i(150, { minimumFractionDigits: 0 })
|
|
379
379
|
})]
|
|
380
380
|
})
|
|
@@ -386,7 +386,7 @@ function k() {
|
|
|
386
386
|
]
|
|
387
387
|
}),
|
|
388
388
|
M === "confirmation" && H && /* @__PURE__ */ T("div", {
|
|
389
|
-
className: "rounded-lg border border-border bg-
|
|
389
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface p-5",
|
|
390
390
|
children: [
|
|
391
391
|
/* @__PURE__ */ T("div", {
|
|
392
392
|
className: "text-center mb-6",
|
|
@@ -396,52 +396,52 @@ function k() {
|
|
|
396
396
|
children: /* @__PURE__ */ w(f, { className: "h-7 w-7 text-green-600 dark:text-green-400" })
|
|
397
397
|
}),
|
|
398
398
|
/* @__PURE__ */ w("h2", {
|
|
399
|
-
className: "text-lg font-semibold text-
|
|
399
|
+
className: "text-lg font-semibold text-text-primary mb-1",
|
|
400
400
|
children: "Booking Confirmed!"
|
|
401
401
|
}),
|
|
402
402
|
/* @__PURE__ */ w("p", {
|
|
403
|
-
className: "text-sm text-
|
|
403
|
+
className: "text-sm text-text-secondary",
|
|
404
404
|
children: "Your direct service booking has been confirmed and payment processed."
|
|
405
405
|
})
|
|
406
406
|
]
|
|
407
407
|
}),
|
|
408
408
|
/* @__PURE__ */ T("div", {
|
|
409
|
-
className: "rounded-lg bg-
|
|
409
|
+
className: "rounded-lg bg-bg-sunken p-4 mb-4",
|
|
410
410
|
children: [/* @__PURE__ */ w("h3", {
|
|
411
|
-
className: "text-sm font-medium text-
|
|
411
|
+
className: "text-sm font-medium text-text-primary mb-3",
|
|
412
412
|
children: "Booking Details"
|
|
413
413
|
}), /* @__PURE__ */ T("div", {
|
|
414
414
|
className: "grid grid-cols-1 sm:grid-cols-2 gap-3 text-sm",
|
|
415
415
|
children: [
|
|
416
416
|
/* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("span", {
|
|
417
|
-
className: "text-xs text-
|
|
417
|
+
className: "text-xs text-text-secondary",
|
|
418
418
|
children: "Booking ID"
|
|
419
419
|
}), /* @__PURE__ */ w("p", {
|
|
420
|
-
className: "font-mono text-xs text-
|
|
420
|
+
className: "font-mono text-xs text-text-primary",
|
|
421
421
|
children: H.bookingId
|
|
422
422
|
})] }),
|
|
423
423
|
/* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("span", {
|
|
424
|
-
className: "text-xs text-
|
|
424
|
+
className: "text-xs text-text-secondary",
|
|
425
425
|
children: "Est. Arrival"
|
|
426
426
|
}), /* @__PURE__ */ w("p", {
|
|
427
|
-
className: "text-
|
|
427
|
+
className: "text-text-primary",
|
|
428
428
|
children: new Date(H.estimatedArrival).toLocaleTimeString([], {
|
|
429
429
|
hour: "2-digit",
|
|
430
430
|
minute: "2-digit"
|
|
431
431
|
})
|
|
432
432
|
})] }),
|
|
433
433
|
/* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("span", {
|
|
434
|
-
className: "text-xs text-
|
|
434
|
+
className: "text-xs text-text-secondary",
|
|
435
435
|
children: "Location"
|
|
436
436
|
}), /* @__PURE__ */ w("p", {
|
|
437
|
-
className: "text-
|
|
437
|
+
className: "text-text-primary truncate",
|
|
438
438
|
children: I.address
|
|
439
439
|
})] }),
|
|
440
440
|
/* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("span", {
|
|
441
|
-
className: "text-xs text-
|
|
441
|
+
className: "text-xs text-text-secondary",
|
|
442
442
|
children: "Phone"
|
|
443
443
|
}), /* @__PURE__ */ w("p", {
|
|
444
|
-
className: "text-
|
|
444
|
+
className: "text-text-primary",
|
|
445
445
|
children: I.phoneNumber
|
|
446
446
|
})] })
|
|
447
447
|
]
|
|
@@ -456,28 +456,28 @@ function k() {
|
|
|
456
456
|
className: "grid grid-cols-2 gap-3 text-sm",
|
|
457
457
|
children: [
|
|
458
458
|
/* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("span", {
|
|
459
|
-
className: "text-xs text-
|
|
459
|
+
className: "text-xs text-text-secondary",
|
|
460
460
|
children: "Transaction ID"
|
|
461
461
|
}), /* @__PURE__ */ w("p", {
|
|
462
|
-
className: "font-mono text-xs text-
|
|
462
|
+
className: "font-mono text-xs text-text-primary",
|
|
463
463
|
children: H.transactionId
|
|
464
464
|
})] }),
|
|
465
465
|
/* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("span", {
|
|
466
|
-
className: "text-xs text-
|
|
466
|
+
className: "text-xs text-text-secondary",
|
|
467
467
|
children: "Advance Paid"
|
|
468
468
|
}), /* @__PURE__ */ w("p", {
|
|
469
|
-
className: "font-medium text-
|
|
469
|
+
className: "font-medium text-text-primary",
|
|
470
470
|
children: i(100, { minimumFractionDigits: 0 })
|
|
471
471
|
})] }),
|
|
472
472
|
/* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("span", {
|
|
473
|
-
className: "text-xs text-
|
|
473
|
+
className: "text-xs text-text-secondary",
|
|
474
474
|
children: "Method"
|
|
475
475
|
}), /* @__PURE__ */ w("p", {
|
|
476
|
-
className: "capitalize text-
|
|
476
|
+
className: "capitalize text-text-primary",
|
|
477
477
|
children: B
|
|
478
478
|
})] }),
|
|
479
479
|
/* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("span", {
|
|
480
|
-
className: "text-xs text-
|
|
480
|
+
className: "text-xs text-text-secondary",
|
|
481
481
|
children: "Status"
|
|
482
482
|
}), /* @__PURE__ */ w("p", {
|
|
483
483
|
className: "font-medium text-green-600 dark:text-green-400",
|
|
@@ -536,7 +536,7 @@ function k() {
|
|
|
536
536
|
}), /* @__PURE__ */ w("button", {
|
|
537
537
|
type: "button",
|
|
538
538
|
onClick: () => A("/customer/carts"),
|
|
539
|
-
className: "flex-1 rounded-lg border border-border px-4 py-2.5 text-sm font-medium text-
|
|
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
540
|
children: "Browse More"
|
|
541
541
|
})]
|
|
542
542
|
})
|
|
@@ -548,7 +548,7 @@ function k() {
|
|
|
548
548
|
type: "button",
|
|
549
549
|
onClick: X,
|
|
550
550
|
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-
|
|
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
552
|
children: [/* @__PURE__ */ w(l, { className: "h-4 w-4" }), "Previous"]
|
|
553
553
|
}), /* @__PURE__ */ w("button", {
|
|
554
554
|
type: "button",
|
|
@@ -562,10 +562,10 @@ function k() {
|
|
|
562
562
|
}), /* @__PURE__ */ w("div", {
|
|
563
563
|
className: "lg:col-span-1",
|
|
564
564
|
children: /* @__PURE__ */ T("div", {
|
|
565
|
-
className: "sticky top-6 rounded-lg border border-border bg-
|
|
565
|
+
className: "sticky top-6 rounded-lg border border-border-subtle bg-bg-surface p-5",
|
|
566
566
|
children: [
|
|
567
567
|
/* @__PURE__ */ w("h3", {
|
|
568
|
-
className: "text-base font-semibold text-
|
|
568
|
+
className: "text-base font-semibold text-text-primary mb-4",
|
|
569
569
|
children: "Service Summary"
|
|
570
570
|
}),
|
|
571
571
|
/* @__PURE__ */ T("div", {
|
|
@@ -575,37 +575,37 @@ function k() {
|
|
|
575
575
|
alt: j.name,
|
|
576
576
|
className: "h-12 w-12 rounded-lg object-cover"
|
|
577
577
|
}), /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("p", {
|
|
578
|
-
className: "text-sm font-medium text-
|
|
578
|
+
className: "text-sm font-medium text-text-primary",
|
|
579
579
|
children: j.name
|
|
580
580
|
}), /* @__PURE__ */ w("p", {
|
|
581
|
-
className: "text-xs text-
|
|
581
|
+
className: "text-xs text-text-secondary",
|
|
582
582
|
children: j.category
|
|
583
583
|
})] })]
|
|
584
584
|
}),
|
|
585
585
|
/* @__PURE__ */ T("div", {
|
|
586
|
-
className: "space-y-2 text-sm border-t border-border pt-3",
|
|
586
|
+
className: "space-y-2 text-sm border-t border-border-subtle pt-3",
|
|
587
587
|
children: [/* @__PURE__ */ T("div", {
|
|
588
588
|
className: "flex justify-between",
|
|
589
589
|
children: [/* @__PURE__ */ w("span", {
|
|
590
|
-
className: "text-
|
|
590
|
+
className: "text-text-secondary",
|
|
591
591
|
children: "Service Fee:"
|
|
592
592
|
}), /* @__PURE__ */ w("span", {
|
|
593
|
-
className: "text-
|
|
593
|
+
className: "text-text-primary",
|
|
594
594
|
children: i(50, { minimumFractionDigits: 0 })
|
|
595
595
|
})]
|
|
596
596
|
}), /* @__PURE__ */ T("div", {
|
|
597
597
|
className: "flex justify-between",
|
|
598
598
|
children: [/* @__PURE__ */ w("span", {
|
|
599
|
-
className: "text-
|
|
599
|
+
className: "text-text-secondary",
|
|
600
600
|
children: "Advance Payment:"
|
|
601
601
|
}), /* @__PURE__ */ w("span", {
|
|
602
|
-
className: "font-medium text-
|
|
602
|
+
className: "font-medium text-text-primary",
|
|
603
603
|
children: i(100, { minimumFractionDigits: 0 })
|
|
604
604
|
})]
|
|
605
605
|
})]
|
|
606
606
|
}),
|
|
607
607
|
/* @__PURE__ */ T("div", {
|
|
608
|
-
className: "flex items-center gap-2 mt-3 pt-3 border-t border-border text-green-600 dark:text-green-400",
|
|
608
|
+
className: "flex items-center gap-2 mt-3 pt-3 border-t border-border-subtle text-green-600 dark:text-green-400",
|
|
609
609
|
children: [/* @__PURE__ */ w(f, { className: "h-3.5 w-3.5" }), /* @__PURE__ */ w("span", {
|
|
610
610
|
className: "text-xs",
|
|
611
611
|
children: "Pay remaining amount at cart"
|