@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
|
@@ -97,7 +97,7 @@ function C() {
|
|
|
97
97
|
children: [/* @__PURE__ */ y("button", {
|
|
98
98
|
type: "button",
|
|
99
99
|
onClick: () => u("/customer/carts"),
|
|
100
|
-
className: "rounded-md p-1 text-
|
|
100
|
+
className: "rounded-md p-1 text-text-secondary hover:bg-accent hover:text-text-primary transition-colors",
|
|
101
101
|
children: /* @__PURE__ */ y(l, { className: "h-5 w-5" })
|
|
102
102
|
}), /* @__PURE__ */ y("span", { children: "Checkout" })]
|
|
103
103
|
}),
|
|
@@ -108,17 +108,17 @@ function C() {
|
|
|
108
108
|
className: "lg:col-span-2 space-y-6",
|
|
109
109
|
children: [
|
|
110
110
|
/* @__PURE__ */ b("section", {
|
|
111
|
-
className: "rounded-lg border border-border bg-
|
|
111
|
+
className: "rounded-lg border border-border-seam bg-bg-surface p-5 bg-gloss-card shadow-pop",
|
|
112
112
|
children: [/* @__PURE__ */ b("h2", {
|
|
113
|
-
className: "text-base font-semibold text-
|
|
114
|
-
children: [/* @__PURE__ */ y(h, { className: "h-4 w-4 text-
|
|
113
|
+
className: "text-base font-semibold text-text-primary mb-4 flex items-center gap-2",
|
|
114
|
+
children: [/* @__PURE__ */ y(h, { className: "h-4 w-4 text-text-secondary" }), "Delivery Address"]
|
|
115
115
|
}), /* @__PURE__ */ b("div", {
|
|
116
116
|
className: "space-y-4",
|
|
117
117
|
children: [
|
|
118
118
|
/* @__PURE__ */ b("div", { children: [/* @__PURE__ */ b("label", {
|
|
119
|
-
className: "block text-sm font-medium text-
|
|
119
|
+
className: "block text-sm font-medium text-text-primary mb-1.5",
|
|
120
120
|
children: ["Address Line 1 ", /* @__PURE__ */ y("span", {
|
|
121
|
-
className: "text-
|
|
121
|
+
className: "text-status-error-text",
|
|
122
122
|
children: "*"
|
|
123
123
|
})]
|
|
124
124
|
}), /* @__PURE__ */ y("input", {
|
|
@@ -126,48 +126,48 @@ function C() {
|
|
|
126
126
|
placeholder: "Building, Street, Area",
|
|
127
127
|
value: E.addressLine1,
|
|
128
128
|
onChange: (e) => H("addressLine1", e.target.value),
|
|
129
|
-
className: "w-full rounded-lg border border-border bg-
|
|
129
|
+
className: "w-full rounded-lg border border-border-subtle bg-bg-surface px-3 py-2.5 text-sm text-text-primary placeholder:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
|
|
130
130
|
})] }),
|
|
131
131
|
/* @__PURE__ */ b("div", { children: [/* @__PURE__ */ y("label", {
|
|
132
|
-
className: "block text-sm font-medium text-
|
|
132
|
+
className: "block text-sm font-medium text-text-primary mb-1.5",
|
|
133
133
|
children: "Address Line 2"
|
|
134
134
|
}), /* @__PURE__ */ y("input", {
|
|
135
135
|
type: "text",
|
|
136
136
|
placeholder: "Apartment, Suite, Floor (Optional)",
|
|
137
137
|
value: E.addressLine2,
|
|
138
138
|
onChange: (e) => H("addressLine2", e.target.value),
|
|
139
|
-
className: "w-full rounded-lg border border-border bg-
|
|
139
|
+
className: "w-full rounded-lg border border-border-subtle bg-bg-surface px-3 py-2.5 text-sm text-text-primary placeholder:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
|
|
140
140
|
})] }),
|
|
141
141
|
/* @__PURE__ */ b("div", {
|
|
142
142
|
className: "grid grid-cols-1 sm:grid-cols-2 gap-4",
|
|
143
143
|
children: [/* @__PURE__ */ b("div", { children: [/* @__PURE__ */ b("label", {
|
|
144
|
-
className: "block text-sm font-medium text-
|
|
144
|
+
className: "block text-sm font-medium text-text-primary mb-1.5",
|
|
145
145
|
children: ["City ", /* @__PURE__ */ y("span", {
|
|
146
|
-
className: "text-
|
|
146
|
+
className: "text-status-error-text",
|
|
147
147
|
children: "*"
|
|
148
148
|
})]
|
|
149
149
|
}), /* @__PURE__ */ y("input", {
|
|
150
150
|
type: "text",
|
|
151
151
|
value: E.city,
|
|
152
152
|
onChange: (e) => H("city", e.target.value),
|
|
153
|
-
className: "w-full rounded-lg border border-border bg-
|
|
153
|
+
className: "w-full rounded-lg border border-border-subtle bg-bg-surface px-3 py-2.5 text-sm text-text-primary placeholder:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
|
|
154
154
|
})] }), /* @__PURE__ */ b("div", { children: [/* @__PURE__ */ b("label", {
|
|
155
|
-
className: "block text-sm font-medium text-
|
|
155
|
+
className: "block text-sm font-medium text-text-primary mb-1.5",
|
|
156
156
|
children: ["State ", /* @__PURE__ */ y("span", {
|
|
157
|
-
className: "text-
|
|
157
|
+
className: "text-status-error-text",
|
|
158
158
|
children: "*"
|
|
159
159
|
})]
|
|
160
160
|
}), /* @__PURE__ */ y("input", {
|
|
161
161
|
type: "text",
|
|
162
162
|
value: E.state,
|
|
163
163
|
onChange: (e) => H("state", e.target.value),
|
|
164
|
-
className: "w-full rounded-lg border border-border bg-
|
|
164
|
+
className: "w-full rounded-lg border border-border-subtle bg-bg-surface px-3 py-2.5 text-sm text-text-primary placeholder:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
|
|
165
165
|
})] })]
|
|
166
166
|
}),
|
|
167
167
|
/* @__PURE__ */ b("div", { children: [/* @__PURE__ */ b("label", {
|
|
168
|
-
className: "block text-sm font-medium text-
|
|
168
|
+
className: "block text-sm font-medium text-text-primary mb-1.5",
|
|
169
169
|
children: ["Pincode ", /* @__PURE__ */ y("span", {
|
|
170
|
-
className: "text-
|
|
170
|
+
className: "text-status-error-text",
|
|
171
171
|
children: "*"
|
|
172
172
|
})]
|
|
173
173
|
}), /* @__PURE__ */ y("input", {
|
|
@@ -176,17 +176,17 @@ function C() {
|
|
|
176
176
|
maxLength: 6,
|
|
177
177
|
value: E.pincode,
|
|
178
178
|
onChange: (e) => H("pincode", e.target.value.replace(/\D/g, "")),
|
|
179
|
-
className: "w-full rounded-lg border border-border bg-
|
|
179
|
+
className: "w-full rounded-lg border border-border-subtle bg-bg-surface px-3 py-2.5 text-sm text-text-primary placeholder:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
|
|
180
180
|
})] })
|
|
181
181
|
]
|
|
182
182
|
})]
|
|
183
183
|
}),
|
|
184
184
|
/* @__PURE__ */ b("section", {
|
|
185
|
-
className: "rounded-lg border border-border bg-
|
|
185
|
+
className: "rounded-lg border border-border-seam bg-bg-surface p-5 bg-gloss-card shadow-pop",
|
|
186
186
|
children: [
|
|
187
187
|
/* @__PURE__ */ b("h2", {
|
|
188
|
-
className: "text-base font-semibold text-
|
|
189
|
-
children: [/* @__PURE__ */ y(f, { className: "h-4 w-4 text-
|
|
188
|
+
className: "text-base font-semibold text-text-primary mb-4 flex items-center gap-2",
|
|
189
|
+
children: [/* @__PURE__ */ y(f, { className: "h-4 w-4 text-text-secondary" }), "Payment Method"]
|
|
190
190
|
}),
|
|
191
191
|
/* @__PURE__ */ y("div", {
|
|
192
192
|
className: "space-y-2",
|
|
@@ -195,33 +195,33 @@ function C() {
|
|
|
195
195
|
return /* @__PURE__ */ b("button", {
|
|
196
196
|
type: "button",
|
|
197
197
|
onClick: () => k(e.id),
|
|
198
|
-
className: t("flex w-full items-center gap-4 rounded-lg border p-3 transition-colors text-left", O === e.id ? "border-foreground bg-accent" : "border-border bg-
|
|
198
|
+
className: t("flex w-full items-center gap-4 rounded-lg border p-3 transition-colors text-left", O === e.id ? "border-foreground bg-accent" : "border-border-subtle bg-bg-surface hover:bg-accent"),
|
|
199
199
|
children: [
|
|
200
200
|
/* @__PURE__ */ y("div", {
|
|
201
|
-
className: "flex h-9 w-9 shrink-0 items-center justify-center rounded-md bg-
|
|
202
|
-
children: /* @__PURE__ */ y(n, { className: "h-4 w-4 text-
|
|
201
|
+
className: "flex h-9 w-9 shrink-0 items-center justify-center rounded-md bg-bg-sunken",
|
|
202
|
+
children: /* @__PURE__ */ y(n, { className: "h-4 w-4 text-text-secondary" })
|
|
203
203
|
}),
|
|
204
204
|
/* @__PURE__ */ b("div", {
|
|
205
205
|
className: "flex-1 min-w-0",
|
|
206
206
|
children: [/* @__PURE__ */ y("p", {
|
|
207
|
-
className: "text-sm font-medium text-
|
|
207
|
+
className: "text-sm font-medium text-text-primary",
|
|
208
208
|
children: e.label
|
|
209
209
|
}), /* @__PURE__ */ y("p", {
|
|
210
|
-
className: "text-xs text-
|
|
210
|
+
className: "text-xs text-text-secondary",
|
|
211
211
|
children: e.description
|
|
212
212
|
})]
|
|
213
213
|
}),
|
|
214
|
-
O === e.id && /* @__PURE__ */ y(d, { className: "h-5 w-5 text-
|
|
214
|
+
O === e.id && /* @__PURE__ */ y(d, { className: "h-5 w-5 text-text-primary shrink-0" })
|
|
215
215
|
]
|
|
216
216
|
}, e.id);
|
|
217
217
|
})
|
|
218
218
|
}),
|
|
219
219
|
O === "card" && /* @__PURE__ */ b("div", {
|
|
220
|
-
className: "mt-4 space-y-4 border-t border-border pt-4",
|
|
220
|
+
className: "mt-4 space-y-4 border-t border-border-subtle pt-4",
|
|
221
221
|
children: [/* @__PURE__ */ b("div", { children: [/* @__PURE__ */ b("label", {
|
|
222
|
-
className: "block text-sm font-medium text-
|
|
222
|
+
className: "block text-sm font-medium text-text-primary mb-1.5",
|
|
223
223
|
children: ["Card Number ", /* @__PURE__ */ y("span", {
|
|
224
|
-
className: "text-
|
|
224
|
+
className: "text-status-error-text",
|
|
225
225
|
children: "*"
|
|
226
226
|
})]
|
|
227
227
|
}), /* @__PURE__ */ y("input", {
|
|
@@ -230,13 +230,13 @@ function C() {
|
|
|
230
230
|
maxLength: 16,
|
|
231
231
|
value: A.cardNumber,
|
|
232
232
|
onChange: (e) => U("cardNumber", e.target.value.replace(/\D/g, "")),
|
|
233
|
-
className: "w-full rounded-lg border border-border bg-
|
|
233
|
+
className: "w-full rounded-lg border border-border-subtle bg-bg-surface px-3 py-2.5 text-sm text-text-primary placeholder:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
|
|
234
234
|
})] }), /* @__PURE__ */ b("div", {
|
|
235
235
|
className: "grid grid-cols-1 sm:grid-cols-2 gap-4",
|
|
236
236
|
children: [/* @__PURE__ */ b("div", { children: [/* @__PURE__ */ b("label", {
|
|
237
|
-
className: "block text-sm font-medium text-
|
|
237
|
+
className: "block text-sm font-medium text-text-primary mb-1.5",
|
|
238
238
|
children: ["Expiry Date ", /* @__PURE__ */ y("span", {
|
|
239
|
-
className: "text-
|
|
239
|
+
className: "text-status-error-text",
|
|
240
240
|
children: "*"
|
|
241
241
|
})]
|
|
242
242
|
}), /* @__PURE__ */ y("input", {
|
|
@@ -248,11 +248,11 @@ function C() {
|
|
|
248
248
|
let t = e.target.value.replace(/\D/g, "");
|
|
249
249
|
t.length >= 2 && (t = t.slice(0, 2) + "/" + t.slice(2, 4)), U("expiryDate", t);
|
|
250
250
|
},
|
|
251
|
-
className: "w-full rounded-lg border border-border bg-
|
|
251
|
+
className: "w-full rounded-lg border border-border-subtle bg-bg-surface px-3 py-2.5 text-sm text-text-primary placeholder:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
|
|
252
252
|
})] }), /* @__PURE__ */ b("div", { children: [/* @__PURE__ */ b("label", {
|
|
253
|
-
className: "block text-sm font-medium text-
|
|
253
|
+
className: "block text-sm font-medium text-text-primary mb-1.5",
|
|
254
254
|
children: ["CVV ", /* @__PURE__ */ y("span", {
|
|
255
|
-
className: "text-
|
|
255
|
+
className: "text-status-error-text",
|
|
256
256
|
children: "*"
|
|
257
257
|
})]
|
|
258
258
|
}), /* @__PURE__ */ y("input", {
|
|
@@ -261,16 +261,16 @@ function C() {
|
|
|
261
261
|
maxLength: 3,
|
|
262
262
|
value: A.cvv,
|
|
263
263
|
onChange: (e) => U("cvv", e.target.value.replace(/\D/g, "")),
|
|
264
|
-
className: "w-full rounded-lg border border-border bg-
|
|
264
|
+
className: "w-full rounded-lg border border-border-subtle bg-bg-surface px-3 py-2.5 text-sm text-text-primary placeholder:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
|
|
265
265
|
})] })]
|
|
266
266
|
})]
|
|
267
267
|
}),
|
|
268
268
|
O === "upi" && /* @__PURE__ */ b("div", {
|
|
269
|
-
className: "mt-4 border-t border-border pt-4",
|
|
269
|
+
className: "mt-4 border-t border-border-subtle pt-4",
|
|
270
270
|
children: [/* @__PURE__ */ b("label", {
|
|
271
|
-
className: "block text-sm font-medium text-
|
|
271
|
+
className: "block text-sm font-medium text-text-primary mb-1.5",
|
|
272
272
|
children: ["UPI ID ", /* @__PURE__ */ y("span", {
|
|
273
|
-
className: "text-
|
|
273
|
+
className: "text-status-error-text",
|
|
274
274
|
children: "*"
|
|
275
275
|
})]
|
|
276
276
|
}), /* @__PURE__ */ y("input", {
|
|
@@ -278,28 +278,28 @@ function C() {
|
|
|
278
278
|
placeholder: "user@paytm",
|
|
279
279
|
value: A.upiId,
|
|
280
280
|
onChange: (e) => U("upiId", e.target.value),
|
|
281
|
-
className: "w-full rounded-lg border border-border bg-
|
|
281
|
+
className: "w-full rounded-lg border border-border-subtle bg-bg-surface px-3 py-2.5 text-sm text-text-primary placeholder:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
|
|
282
282
|
})]
|
|
283
283
|
}),
|
|
284
284
|
O === "wallet" && /* @__PURE__ */ b("div", {
|
|
285
|
-
className: "mt-4 flex items-start gap-3 rounded-lg bg-blue-
|
|
286
|
-
children: [/* @__PURE__ */ y(c, { className: "h-4 w-4 text-
|
|
287
|
-
className: "text-sm text-
|
|
285
|
+
className: "mt-4 flex items-start gap-3 rounded-lg bg-accent-blue-subtle/10 p-4 border border-accent-blue-subtle/20",
|
|
286
|
+
children: [/* @__PURE__ */ y(c, { className: "h-4 w-4 text-accent-blue mt-0.5 shrink-0" }), /* @__PURE__ */ y("p", {
|
|
287
|
+
className: "text-sm text-accent-blue",
|
|
288
288
|
children: "Digital wallet integration coming soon. Please choose another payment method."
|
|
289
289
|
})]
|
|
290
290
|
})
|
|
291
291
|
]
|
|
292
292
|
}),
|
|
293
293
|
/* @__PURE__ */ b("section", {
|
|
294
|
-
className: "rounded-lg border border-border bg-
|
|
294
|
+
className: "rounded-lg border border-border-seam bg-bg-surface p-5 bg-gloss-card shadow-pop",
|
|
295
295
|
children: [/* @__PURE__ */ b("h2", {
|
|
296
|
-
className: "text-base font-semibold text-
|
|
297
|
-
children: [/* @__PURE__ */ y(p, { className: "h-4 w-4 text-
|
|
296
|
+
className: "text-base font-semibold text-text-primary mb-4 flex items-center gap-2",
|
|
297
|
+
children: [/* @__PURE__ */ y(p, { className: "h-4 w-4 text-text-secondary" }), "Additional Options"]
|
|
298
298
|
}), /* @__PURE__ */ b("div", {
|
|
299
299
|
className: "space-y-5",
|
|
300
300
|
children: [/* @__PURE__ */ b("div", { children: [
|
|
301
301
|
/* @__PURE__ */ y("label", {
|
|
302
|
-
className: "block text-sm font-medium text-
|
|
302
|
+
className: "block text-sm font-medium text-text-primary mb-2",
|
|
303
303
|
children: "Tip for delivery partner"
|
|
304
304
|
}),
|
|
305
305
|
/* @__PURE__ */ y("div", {
|
|
@@ -309,7 +309,7 @@ function C() {
|
|
|
309
309
|
onClick: () => {
|
|
310
310
|
N(e), F("");
|
|
311
311
|
},
|
|
312
|
-
className: t("flex-1 min-w-[64px] rounded-lg px-3 py-2.5 text-sm font-medium transition-colors", M === e && P === "" ? "bg-foreground text-background" : "bg-
|
|
312
|
+
className: t("flex-1 min-w-[64px] rounded-lg px-3 py-2.5 text-sm font-medium transition-colors", M === e && P === "" ? "bg-foreground text-background" : "bg-bg-sunken text-text-secondary hover:bg-accent hover:text-text-primary"),
|
|
313
313
|
children: e === 0 ? "No Tip" : `₹${e}`
|
|
314
314
|
}, e))
|
|
315
315
|
}),
|
|
@@ -321,17 +321,17 @@ function C() {
|
|
|
321
321
|
let t = e.target.value;
|
|
322
322
|
F(t), N(parseInt(t) || 0);
|
|
323
323
|
},
|
|
324
|
-
className: "w-full rounded-lg border border-border bg-
|
|
324
|
+
className: "w-full rounded-lg border border-border-subtle bg-bg-surface px-3 py-2.5 text-sm text-text-primary placeholder:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
|
|
325
325
|
})
|
|
326
326
|
] }), /* @__PURE__ */ b("div", { children: [/* @__PURE__ */ y("label", {
|
|
327
|
-
className: "block text-sm font-medium text-
|
|
327
|
+
className: "block text-sm font-medium text-text-primary mb-2",
|
|
328
328
|
children: "Special Instructions"
|
|
329
329
|
}), /* @__PURE__ */ y("textarea", {
|
|
330
330
|
rows: 3,
|
|
331
331
|
placeholder: "Any special requests for your order...",
|
|
332
332
|
value: I,
|
|
333
333
|
onChange: (e) => L(e.target.value),
|
|
334
|
-
className: "w-full rounded-lg border border-border bg-
|
|
334
|
+
className: "w-full rounded-lg border border-border-subtle bg-bg-surface px-3 py-2.5 text-sm text-text-primary placeholder:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)] resize-none"
|
|
335
335
|
})] })]
|
|
336
336
|
})]
|
|
337
337
|
})
|
|
@@ -339,26 +339,26 @@ function C() {
|
|
|
339
339
|
}), /* @__PURE__ */ y("div", {
|
|
340
340
|
className: "lg:col-span-1",
|
|
341
341
|
children: /* @__PURE__ */ b("div", {
|
|
342
|
-
className: "sticky top-6 rounded-lg border border-border bg-
|
|
342
|
+
className: "sticky top-6 rounded-lg border border-border-seam bg-bg-surface p-5 bg-gloss-card shadow-pop",
|
|
343
343
|
children: [
|
|
344
344
|
/* @__PURE__ */ y("h2", {
|
|
345
|
-
className: "text-base font-semibold text-
|
|
345
|
+
className: "text-base font-semibold text-text-primary mb-4",
|
|
346
346
|
children: "Order Summary"
|
|
347
347
|
}),
|
|
348
348
|
/* @__PURE__ */ b("div", {
|
|
349
|
-
className: "flex items-center gap-3 mb-4 pb-4 border-b border-border",
|
|
349
|
+
className: "flex items-center gap-3 mb-4 pb-4 border-b border-border-subtle",
|
|
350
350
|
children: [/* @__PURE__ */ y("div", {
|
|
351
|
-
className: "h-12 w-12 rounded-md bg-
|
|
351
|
+
className: "h-12 w-12 rounded-md bg-bg-sunken overflow-hidden",
|
|
352
352
|
children: /* @__PURE__ */ y("img", {
|
|
353
353
|
src: T.cartImage,
|
|
354
354
|
alt: T.cartName,
|
|
355
355
|
className: "h-full w-full object-cover"
|
|
356
356
|
})
|
|
357
357
|
}), /* @__PURE__ */ b("div", { children: [/* @__PURE__ */ y("p", {
|
|
358
|
-
className: "text-sm font-medium text-
|
|
358
|
+
className: "text-sm font-medium text-text-primary",
|
|
359
359
|
children: T.cartName
|
|
360
360
|
}), /* @__PURE__ */ b("p", {
|
|
361
|
-
className: "text-xs text-
|
|
361
|
+
className: "text-xs text-text-secondary",
|
|
362
362
|
children: [
|
|
363
363
|
T.items.length,
|
|
364
364
|
" item",
|
|
@@ -374,15 +374,15 @@ function C() {
|
|
|
374
374
|
className: "flex-1 min-w-0",
|
|
375
375
|
children: [
|
|
376
376
|
/* @__PURE__ */ y("p", {
|
|
377
|
-
className: "text-sm text-
|
|
377
|
+
className: "text-sm text-text-primary",
|
|
378
378
|
children: e.name
|
|
379
379
|
}),
|
|
380
380
|
e.customizations && e.customizations.length > 0 && /* @__PURE__ */ y("p", {
|
|
381
|
-
className: "text-xs text-
|
|
381
|
+
className: "text-xs text-text-secondary mt-0.5",
|
|
382
382
|
children: e.customizations.join(", ")
|
|
383
383
|
}),
|
|
384
384
|
/* @__PURE__ */ b("p", {
|
|
385
|
-
className: "text-xs text-
|
|
385
|
+
className: "text-xs text-text-secondary",
|
|
386
386
|
children: [
|
|
387
387
|
a(e.price, { minimumFractionDigits: 0 }),
|
|
388
388
|
" x ",
|
|
@@ -391,77 +391,77 @@ function C() {
|
|
|
391
391
|
})
|
|
392
392
|
]
|
|
393
393
|
}), /* @__PURE__ */ y("span", {
|
|
394
|
-
className: "text-sm font-medium text-
|
|
394
|
+
className: "text-sm font-medium text-text-primary",
|
|
395
395
|
children: a(e.price * e.quantity, { minimumFractionDigits: 0 })
|
|
396
396
|
})]
|
|
397
397
|
}, e.id))
|
|
398
398
|
}),
|
|
399
399
|
/* @__PURE__ */ b("div", {
|
|
400
|
-
className: "border-t border-border pt-4 space-y-2.5 text-sm",
|
|
400
|
+
className: "border-t border-border-subtle pt-4 space-y-2.5 text-sm",
|
|
401
401
|
children: [
|
|
402
402
|
/* @__PURE__ */ b("div", {
|
|
403
403
|
className: "flex justify-between",
|
|
404
404
|
children: [/* @__PURE__ */ b("span", {
|
|
405
|
-
className: "text-
|
|
405
|
+
className: "text-text-secondary",
|
|
406
406
|
children: [
|
|
407
407
|
"Subtotal (",
|
|
408
408
|
V,
|
|
409
409
|
" items)"
|
|
410
410
|
]
|
|
411
411
|
}), /* @__PURE__ */ y("span", {
|
|
412
|
-
className: "text-
|
|
412
|
+
className: "text-text-primary",
|
|
413
413
|
children: a(B.subtotal, { minimumFractionDigits: 0 })
|
|
414
414
|
})]
|
|
415
415
|
}),
|
|
416
416
|
/* @__PURE__ */ b("div", {
|
|
417
417
|
className: "flex justify-between",
|
|
418
418
|
children: [/* @__PURE__ */ y("span", {
|
|
419
|
-
className: "text-
|
|
419
|
+
className: "text-text-secondary",
|
|
420
420
|
children: "Delivery Fee"
|
|
421
421
|
}), /* @__PURE__ */ y("span", {
|
|
422
|
-
className: "text-
|
|
422
|
+
className: "text-text-primary",
|
|
423
423
|
children: B.deliveryFee === 0 ? "FREE" : a(B.deliveryFee, { minimumFractionDigits: 0 })
|
|
424
424
|
})]
|
|
425
425
|
}),
|
|
426
426
|
/* @__PURE__ */ b("div", {
|
|
427
427
|
className: "flex justify-between",
|
|
428
428
|
children: [/* @__PURE__ */ y("span", {
|
|
429
|
-
className: "text-
|
|
429
|
+
className: "text-text-secondary",
|
|
430
430
|
children: "Tax"
|
|
431
431
|
}), /* @__PURE__ */ y("span", {
|
|
432
|
-
className: "text-
|
|
432
|
+
className: "text-text-primary",
|
|
433
433
|
children: a(B.tax, { minimumFractionDigits: 0 })
|
|
434
434
|
})]
|
|
435
435
|
}),
|
|
436
436
|
M > 0 && /* @__PURE__ */ b("div", {
|
|
437
437
|
className: "flex justify-between",
|
|
438
438
|
children: [/* @__PURE__ */ y("span", {
|
|
439
|
-
className: "text-
|
|
439
|
+
className: "text-text-secondary",
|
|
440
440
|
children: "Tip"
|
|
441
441
|
}), /* @__PURE__ */ y("span", {
|
|
442
|
-
className: "text-
|
|
442
|
+
className: "text-text-primary",
|
|
443
443
|
children: a(M, { minimumFractionDigits: 0 })
|
|
444
444
|
})]
|
|
445
445
|
}),
|
|
446
446
|
B.discount && B.discount > 0 && /* @__PURE__ */ b("div", {
|
|
447
447
|
className: "flex justify-between",
|
|
448
448
|
children: [/* @__PURE__ */ y("span", {
|
|
449
|
-
className: "text-
|
|
449
|
+
className: "text-status-success-text",
|
|
450
450
|
children: "Discount"
|
|
451
451
|
}), /* @__PURE__ */ b("span", {
|
|
452
|
-
className: "text-
|
|
452
|
+
className: "text-status-success-text",
|
|
453
453
|
children: ["-", a(B.discount, { minimumFractionDigits: 0 })]
|
|
454
454
|
})]
|
|
455
455
|
})
|
|
456
456
|
]
|
|
457
457
|
}),
|
|
458
458
|
/* @__PURE__ */ b("div", {
|
|
459
|
-
className: "mt-4 flex justify-between border-t border-border pt-4",
|
|
459
|
+
className: "mt-4 flex justify-between border-t border-border-subtle pt-4",
|
|
460
460
|
children: [/* @__PURE__ */ y("span", {
|
|
461
|
-
className: "text-base font-semibold text-
|
|
461
|
+
className: "text-base font-semibold text-text-primary",
|
|
462
462
|
children: "Total"
|
|
463
463
|
}), /* @__PURE__ */ y("span", {
|
|
464
|
-
className: "text-base font-bold text-
|
|
464
|
+
className: "text-base font-bold text-text-primary",
|
|
465
465
|
children: a(B.total, { minimumFractionDigits: 0 })
|
|
466
466
|
})]
|
|
467
467
|
}),
|
|
@@ -495,7 +495,7 @@ function C() {
|
|
|
495
495
|
children: [w.isPending ? /* @__PURE__ */ y(m, { className: "h-4 w-4 animate-spin" }) : /* @__PURE__ */ y(g, { className: "h-4 w-4" }), w.isPending ? "Placing Order..." : `Place Order - ${a(B.total, { minimumFractionDigits: 0 })}`]
|
|
496
496
|
}),
|
|
497
497
|
/* @__PURE__ */ y("p", {
|
|
498
|
-
className: "mt-3 text-center text-xs text-
|
|
498
|
+
className: "mt-3 text-center text-xs text-text-secondary",
|
|
499
499
|
children: "By placing this order, you agree to our Terms of Service and Privacy Policy"
|
|
500
500
|
})
|
|
501
501
|
]
|
|
@@ -507,13 +507,13 @@ function C() {
|
|
|
507
507
|
children: /* @__PURE__ */ b("div", {
|
|
508
508
|
className: "flex flex-col items-center justify-center py-16 text-center",
|
|
509
509
|
children: [
|
|
510
|
-
/* @__PURE__ */ y(g, { className: "h-16 w-16 text-
|
|
510
|
+
/* @__PURE__ */ y(g, { className: "h-16 w-16 text-text-secondary/40 mb-4" }),
|
|
511
511
|
/* @__PURE__ */ y("h3", {
|
|
512
|
-
className: "text-lg font-semibold text-
|
|
512
|
+
className: "text-lg font-semibold text-text-primary mb-2",
|
|
513
513
|
children: "Your cart is empty"
|
|
514
514
|
}),
|
|
515
515
|
/* @__PURE__ */ y("p", {
|
|
516
|
-
className: "text-sm text-
|
|
516
|
+
className: "text-sm text-text-secondary mb-6",
|
|
517
517
|
children: "Add some items to proceed with checkout"
|
|
518
518
|
}),
|
|
519
519
|
/* @__PURE__ */ y("button", {
|