@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
|
@@ -117,17 +117,17 @@ var C = [
|
|
|
117
117
|
children: f ? /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ x("button", {
|
|
118
118
|
type: "button",
|
|
119
119
|
onClick: () => h(!1),
|
|
120
|
-
className: "rounded-md border border-border px-4 py-2 text-sm font-medium text-
|
|
120
|
+
className: "rounded-md border border-border-subtle px-4 py-2 text-sm font-medium text-text-primary hover:bg-bg-sunken transition-colors",
|
|
121
121
|
children: "Cancel"
|
|
122
122
|
}), /* @__PURE__ */ S("button", {
|
|
123
123
|
type: "button",
|
|
124
124
|
onClick: z,
|
|
125
|
-
className: "inline-flex items-center gap-2 rounded-md bg-accent px-4 py-2 text-sm font-medium text-
|
|
125
|
+
className: "inline-flex items-center gap-2 rounded-md bg-accent px-4 py-2 text-sm font-medium text-text-primary hover:bg-accent/80 transition-colors",
|
|
126
126
|
children: [/* @__PURE__ */ x(g, { className: "h-4 w-4" }), "Save"]
|
|
127
127
|
})] }) : /* @__PURE__ */ S("button", {
|
|
128
128
|
type: "button",
|
|
129
129
|
onClick: () => h(!0),
|
|
130
|
-
className: "inline-flex items-center gap-2 rounded-md bg-accent px-4 py-2 text-sm font-medium text-
|
|
130
|
+
className: "inline-flex items-center gap-2 rounded-md bg-accent px-4 py-2 text-sm font-medium text-text-primary hover:bg-accent/80 transition-colors",
|
|
131
131
|
children: [/* @__PURE__ */ x(p, { className: "h-4 w-4" }), "Edit Profile"]
|
|
132
132
|
})
|
|
133
133
|
}),
|
|
@@ -135,9 +135,9 @@ var C = [
|
|
|
135
135
|
className: "space-y-4",
|
|
136
136
|
children: [
|
|
137
137
|
y && /* @__PURE__ */ S("div", {
|
|
138
|
-
className: "flex items-center gap-2 rounded-lg border border-
|
|
139
|
-
children: [/* @__PURE__ */ x(u, { className: "h-4 w-4 text-
|
|
140
|
-
className: "text-sm font-medium text-
|
|
138
|
+
className: "flex items-center gap-2 rounded-lg border border-status-success-border/30 bg-status-success-bg-subtle/10 p-3",
|
|
139
|
+
children: [/* @__PURE__ */ x(u, { className: "h-4 w-4 text-status-success-text" }), /* @__PURE__ */ x("span", {
|
|
140
|
+
className: "text-sm font-medium text-status-success-text",
|
|
141
141
|
children: "Profile saved successfully!"
|
|
142
142
|
})]
|
|
143
143
|
}),
|
|
@@ -145,45 +145,45 @@ var C = [
|
|
|
145
145
|
className: "grid grid-cols-2 sm:grid-cols-4 gap-3",
|
|
146
146
|
children: [
|
|
147
147
|
/* @__PURE__ */ S("div", {
|
|
148
|
-
className: "rounded-lg border border-border bg-
|
|
148
|
+
className: "rounded-lg border border-border-seam bg-bg-surface p-4 text-center bg-gloss-card shadow-pop",
|
|
149
149
|
children: [/* @__PURE__ */ S("p", {
|
|
150
|
-
className: "text-2xl font-bold text-
|
|
151
|
-
children: [/* @__PURE__ */ x(v, { className: "h-5 w-5 fill-
|
|
150
|
+
className: "text-2xl font-bold text-text-primary flex items-center justify-center gap-1",
|
|
151
|
+
children: [/* @__PURE__ */ x(v, { className: "h-5 w-5 fill-status-warning-text text-status-warning-text" }), R.rating]
|
|
152
152
|
}), /* @__PURE__ */ x("p", {
|
|
153
|
-
className: "text-xs text-
|
|
153
|
+
className: "text-xs text-text-secondary",
|
|
154
154
|
children: "Rating"
|
|
155
155
|
})]
|
|
156
156
|
}),
|
|
157
157
|
/* @__PURE__ */ S("div", {
|
|
158
|
-
className: "rounded-lg border border-border bg-
|
|
158
|
+
className: "rounded-lg border border-border-seam bg-bg-surface p-4 text-center bg-gloss-card shadow-pop",
|
|
159
159
|
children: [/* @__PURE__ */ x("p", {
|
|
160
|
-
className: "text-2xl font-bold text-
|
|
160
|
+
className: "text-2xl font-bold text-text-primary",
|
|
161
161
|
children: R.totalOrders.toLocaleString()
|
|
162
162
|
}), /* @__PURE__ */ x("p", {
|
|
163
|
-
className: "text-xs text-
|
|
163
|
+
className: "text-xs text-text-secondary",
|
|
164
164
|
children: "Total Orders"
|
|
165
165
|
})]
|
|
166
166
|
}),
|
|
167
167
|
/* @__PURE__ */ S("div", {
|
|
168
|
-
className: "rounded-lg border border-border bg-
|
|
168
|
+
className: "rounded-lg border border-border-seam bg-bg-surface p-4 text-center bg-gloss-card shadow-pop",
|
|
169
169
|
children: [/* @__PURE__ */ S("p", {
|
|
170
|
-
className: "text-2xl font-bold text-
|
|
170
|
+
className: "text-2xl font-bold text-text-primary",
|
|
171
171
|
children: [R.verificationPercentage, "%"]
|
|
172
172
|
}), /* @__PURE__ */ x("p", {
|
|
173
|
-
className: "text-xs text-
|
|
173
|
+
className: "text-xs text-text-secondary",
|
|
174
174
|
children: "Verified"
|
|
175
175
|
})]
|
|
176
176
|
}),
|
|
177
177
|
/* @__PURE__ */ S("div", {
|
|
178
|
-
className: "rounded-lg border border-border bg-
|
|
178
|
+
className: "rounded-lg border border-border-seam bg-bg-surface p-4 text-center bg-gloss-card shadow-pop",
|
|
179
179
|
children: [/* @__PURE__ */ x("p", {
|
|
180
|
-
className: "text-sm font-bold text-
|
|
180
|
+
className: "text-sm font-bold text-text-primary",
|
|
181
181
|
children: new Date(R.memberSince).toLocaleDateString("en-IN", {
|
|
182
182
|
month: "short",
|
|
183
183
|
year: "numeric"
|
|
184
184
|
})
|
|
185
185
|
}), /* @__PURE__ */ x("p", {
|
|
186
|
-
className: "text-xs text-
|
|
186
|
+
className: "text-xs text-text-secondary",
|
|
187
187
|
children: "Member Since"
|
|
188
188
|
})]
|
|
189
189
|
})
|
|
@@ -194,7 +194,7 @@ var C = [
|
|
|
194
194
|
children: [/* @__PURE__ */ S("div", {
|
|
195
195
|
className: "lg:w-56 shrink-0",
|
|
196
196
|
children: [/* @__PURE__ */ x("div", {
|
|
197
|
-
className: "lg:hidden rounded-lg border border-border bg-
|
|
197
|
+
className: "lg:hidden rounded-lg border border-border-subtle bg-bg-surface p-3 shadow-sm",
|
|
198
198
|
children: /* @__PURE__ */ x("div", {
|
|
199
199
|
className: "grid grid-cols-3 gap-2",
|
|
200
200
|
children: C.map((e) => {
|
|
@@ -202,17 +202,17 @@ var C = [
|
|
|
202
202
|
return /* @__PURE__ */ S("button", {
|
|
203
203
|
type: "button",
|
|
204
204
|
onClick: () => d(e.id),
|
|
205
|
-
className: t("flex flex-col items-center gap-1 rounded-md px-2 py-2 text-xs font-medium transition-colors", c === e.id ? "bg-accent text-
|
|
205
|
+
className: t("flex flex-col items-center gap-1 rounded-md px-2 py-2 text-xs font-medium transition-colors", c === e.id ? "bg-accent text-text-primary" : "text-text-secondary hover:bg-bg-sunken"),
|
|
206
206
|
children: [/* @__PURE__ */ x(n, { className: "h-4 w-4" }), e.label.split(" ")[0]]
|
|
207
207
|
}, e.id);
|
|
208
208
|
})
|
|
209
209
|
})
|
|
210
210
|
}), /* @__PURE__ */ S("div", {
|
|
211
|
-
className: "hidden lg:block rounded-lg border border-border bg-
|
|
211
|
+
className: "hidden lg:block rounded-lg border border-border-subtle bg-bg-surface shadow-sm sticky top-24",
|
|
212
212
|
children: [/* @__PURE__ */ x("div", {
|
|
213
|
-
className: "p-4 border-b border-border",
|
|
213
|
+
className: "p-4 border-b border-border-subtle",
|
|
214
214
|
children: /* @__PURE__ */ x("h2", {
|
|
215
|
-
className: "font-semibold text-
|
|
215
|
+
className: "font-semibold text-text-primary text-sm",
|
|
216
216
|
children: "Profile Settings"
|
|
217
217
|
})
|
|
218
218
|
}), /* @__PURE__ */ x("nav", {
|
|
@@ -222,7 +222,7 @@ var C = [
|
|
|
222
222
|
return /* @__PURE__ */ S("button", {
|
|
223
223
|
type: "button",
|
|
224
224
|
onClick: () => d(e.id),
|
|
225
|
-
className: t("w-full text-left px-3 py-2 rounded-md mb-1 flex items-center gap-3 text-sm transition-colors", c === e.id ? "bg-accent text-
|
|
225
|
+
className: t("w-full text-left px-3 py-2 rounded-md mb-1 flex items-center gap-3 text-sm transition-colors", c === e.id ? "bg-accent text-text-primary font-medium" : "text-text-secondary hover:bg-bg-sunken hover:text-text-primary"),
|
|
226
226
|
children: [/* @__PURE__ */ x(n, { className: "h-4 w-4" }), e.label]
|
|
227
227
|
}, e.id);
|
|
228
228
|
})
|
|
@@ -231,7 +231,7 @@ var C = [
|
|
|
231
231
|
}), /* @__PURE__ */ x("div", {
|
|
232
232
|
className: "flex-1 min-w-0",
|
|
233
233
|
children: /* @__PURE__ */ S("div", {
|
|
234
|
-
className: "rounded-lg border border-border bg-
|
|
234
|
+
className: "rounded-lg border border-border-seam bg-bg-surface p-5 sm:p-6 bg-gloss-card shadow-pop",
|
|
235
235
|
children: [
|
|
236
236
|
c === "personal" && /* @__PURE__ */ S("div", {
|
|
237
237
|
className: "space-y-5",
|
|
@@ -241,17 +241,17 @@ var C = [
|
|
|
241
241
|
children: [/* @__PURE__ */ S("div", {
|
|
242
242
|
className: "relative",
|
|
243
243
|
children: [/* @__PURE__ */ S("div", {
|
|
244
|
-
className: "flex h-20 w-20 items-center justify-center rounded-full bg-
|
|
244
|
+
className: "flex h-20 w-20 items-center justify-center rounded-full bg-bg-sunken text-2xl font-bold text-text-primary",
|
|
245
245
|
children: [E.firstName[0], E.lastName[0]]
|
|
246
246
|
}), f && /* @__PURE__ */ x("button", {
|
|
247
247
|
type: "button",
|
|
248
248
|
onClick: () => alert("Image upload coming soon!"),
|
|
249
|
-
className: "absolute -bottom-1 -right-1 flex h-7 w-7 items-center justify-center rounded-full bg-accent text-
|
|
249
|
+
className: "absolute -bottom-1 -right-1 flex h-7 w-7 items-center justify-center rounded-full bg-accent text-text-primary border-2 border-card hover:bg-accent/80",
|
|
250
250
|
children: /* @__PURE__ */ x(l, { className: "h-3.5 w-3.5" })
|
|
251
251
|
})]
|
|
252
252
|
}), /* @__PURE__ */ S("div", { children: [
|
|
253
253
|
/* @__PURE__ */ S("p", {
|
|
254
|
-
className: "text-lg font-semibold text-
|
|
254
|
+
className: "text-lg font-semibold text-text-primary",
|
|
255
255
|
children: [
|
|
256
256
|
E.firstName,
|
|
257
257
|
" ",
|
|
@@ -259,17 +259,17 @@ var C = [
|
|
|
259
259
|
]
|
|
260
260
|
}),
|
|
261
261
|
/* @__PURE__ */ x("p", {
|
|
262
|
-
className: "text-sm text-
|
|
262
|
+
className: "text-sm text-text-secondary",
|
|
263
263
|
children: "Cart Owner"
|
|
264
264
|
}),
|
|
265
265
|
/* @__PURE__ */ S("div", {
|
|
266
266
|
className: "flex items-center gap-2 mt-1",
|
|
267
267
|
children: [/* @__PURE__ */ S("span", {
|
|
268
|
-
className: "inline-flex items-center gap-1 rounded-full bg-blue-
|
|
268
|
+
className: "inline-flex items-center gap-1 rounded-full bg-accent-blue-subtle/10 px-2.5 py-0.5 text-xs font-medium text-accent-blue",
|
|
269
269
|
children: [/* @__PURE__ */ x(o, { className: "h-3 w-3" }), "Verified"]
|
|
270
270
|
}), /* @__PURE__ */ S("span", {
|
|
271
|
-
className: "flex items-center gap-0.5 text-xs text-
|
|
272
|
-
children: [/* @__PURE__ */ x(v, { className: "h-3 w-3 fill-
|
|
271
|
+
className: "flex items-center gap-0.5 text-xs text-status-warning-text",
|
|
272
|
+
children: [/* @__PURE__ */ x(v, { className: "h-3 w-3 fill-status-warning-text text-status-warning-text" }), R.rating]
|
|
273
273
|
})]
|
|
274
274
|
})
|
|
275
275
|
] })]
|
|
@@ -277,7 +277,7 @@ var C = [
|
|
|
277
277
|
/* @__PURE__ */ S("div", {
|
|
278
278
|
className: "grid grid-cols-1 sm:grid-cols-2 gap-5",
|
|
279
279
|
children: [/* @__PURE__ */ S("div", { children: [/* @__PURE__ */ x("label", {
|
|
280
|
-
className: "block text-sm font-medium text-
|
|
280
|
+
className: "block text-sm font-medium text-text-primary mb-1",
|
|
281
281
|
children: "First Name"
|
|
282
282
|
}), /* @__PURE__ */ x("input", {
|
|
283
283
|
type: "text",
|
|
@@ -287,9 +287,9 @@ var C = [
|
|
|
287
287
|
firstName: e.target.value
|
|
288
288
|
})),
|
|
289
289
|
disabled: !f,
|
|
290
|
-
className: t("w-full rounded-md border border-border px-3 py-2 text-sm text-
|
|
290
|
+
className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !f && "bg-bg-sunken/50 cursor-not-allowed")
|
|
291
291
|
})] }), /* @__PURE__ */ S("div", { children: [/* @__PURE__ */ x("label", {
|
|
292
|
-
className: "block text-sm font-medium text-
|
|
292
|
+
className: "block text-sm font-medium text-text-primary mb-1",
|
|
293
293
|
children: "Last Name"
|
|
294
294
|
}), /* @__PURE__ */ x("input", {
|
|
295
295
|
type: "text",
|
|
@@ -299,13 +299,13 @@ var C = [
|
|
|
299
299
|
lastName: e.target.value
|
|
300
300
|
})),
|
|
301
301
|
disabled: !f,
|
|
302
|
-
className: t("w-full rounded-md border border-border px-3 py-2 text-sm text-
|
|
302
|
+
className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !f && "bg-bg-sunken/50 cursor-not-allowed")
|
|
303
303
|
})] })]
|
|
304
304
|
}),
|
|
305
305
|
/* @__PURE__ */ S("div", {
|
|
306
306
|
className: "grid grid-cols-1 sm:grid-cols-2 gap-5",
|
|
307
307
|
children: [/* @__PURE__ */ S("div", { children: [/* @__PURE__ */ x("label", {
|
|
308
|
-
className: "block text-sm font-medium text-
|
|
308
|
+
className: "block text-sm font-medium text-text-primary mb-1",
|
|
309
309
|
children: "Email"
|
|
310
310
|
}), /* @__PURE__ */ x("input", {
|
|
311
311
|
type: "email",
|
|
@@ -315,9 +315,9 @@ var C = [
|
|
|
315
315
|
email: e.target.value
|
|
316
316
|
})),
|
|
317
317
|
disabled: !f,
|
|
318
|
-
className: t("w-full rounded-md border border-border px-3 py-2 text-sm text-
|
|
318
|
+
className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !f && "bg-bg-sunken/50 cursor-not-allowed")
|
|
319
319
|
})] }), /* @__PURE__ */ S("div", { children: [/* @__PURE__ */ x("label", {
|
|
320
|
-
className: "block text-sm font-medium text-
|
|
320
|
+
className: "block text-sm font-medium text-text-primary mb-1",
|
|
321
321
|
children: "Phone"
|
|
322
322
|
}), /* @__PURE__ */ x("input", {
|
|
323
323
|
type: "tel",
|
|
@@ -327,13 +327,13 @@ var C = [
|
|
|
327
327
|
phone: e.target.value
|
|
328
328
|
})),
|
|
329
329
|
disabled: !f,
|
|
330
|
-
className: t("w-full rounded-md border border-border px-3 py-2 text-sm text-
|
|
330
|
+
className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !f && "bg-bg-sunken/50 cursor-not-allowed")
|
|
331
331
|
})] })]
|
|
332
332
|
}),
|
|
333
333
|
/* @__PURE__ */ S("div", {
|
|
334
334
|
className: "grid grid-cols-1 sm:grid-cols-2 gap-5",
|
|
335
335
|
children: [/* @__PURE__ */ S("div", { children: [/* @__PURE__ */ x("label", {
|
|
336
|
-
className: "block text-sm font-medium text-
|
|
336
|
+
className: "block text-sm font-medium text-text-primary mb-1",
|
|
337
337
|
children: "Date of Birth"
|
|
338
338
|
}), /* @__PURE__ */ x("input", {
|
|
339
339
|
type: "date",
|
|
@@ -343,9 +343,9 @@ var C = [
|
|
|
343
343
|
dateOfBirth: e.target.value
|
|
344
344
|
})),
|
|
345
345
|
disabled: !f,
|
|
346
|
-
className: t("w-full rounded-md border border-border px-3 py-2 text-sm text-
|
|
346
|
+
className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !f && "bg-bg-sunken/50 cursor-not-allowed")
|
|
347
347
|
})] }), /* @__PURE__ */ S("div", { children: [/* @__PURE__ */ x("label", {
|
|
348
|
-
className: "block text-sm font-medium text-
|
|
348
|
+
className: "block text-sm font-medium text-text-primary mb-1",
|
|
349
349
|
children: "Gender"
|
|
350
350
|
}), /* @__PURE__ */ S("select", {
|
|
351
351
|
value: E.gender,
|
|
@@ -354,7 +354,7 @@ var C = [
|
|
|
354
354
|
gender: e.target.value
|
|
355
355
|
})),
|
|
356
356
|
disabled: !f,
|
|
357
|
-
className: t("w-full rounded-md border border-border px-3 py-2 text-sm text-
|
|
357
|
+
className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !f && "bg-bg-sunken/50 cursor-not-allowed"),
|
|
358
358
|
children: [
|
|
359
359
|
/* @__PURE__ */ x("option", {
|
|
360
360
|
value: "Male",
|
|
@@ -372,7 +372,7 @@ var C = [
|
|
|
372
372
|
})] })]
|
|
373
373
|
}),
|
|
374
374
|
/* @__PURE__ */ S("div", { children: [/* @__PURE__ */ x("label", {
|
|
375
|
-
className: "block text-sm font-medium text-
|
|
375
|
+
className: "block text-sm font-medium text-text-primary mb-1",
|
|
376
376
|
children: "Address"
|
|
377
377
|
}), /* @__PURE__ */ x("input", {
|
|
378
378
|
type: "text",
|
|
@@ -382,10 +382,10 @@ var C = [
|
|
|
382
382
|
address: e.target.value
|
|
383
383
|
})),
|
|
384
384
|
disabled: !f,
|
|
385
|
-
className: t("w-full rounded-md border border-border px-3 py-2 text-sm text-
|
|
385
|
+
className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !f && "bg-bg-sunken/50 cursor-not-allowed")
|
|
386
386
|
})] }),
|
|
387
387
|
/* @__PURE__ */ S("div", { children: [/* @__PURE__ */ x("label", {
|
|
388
|
-
className: "block text-sm font-medium text-
|
|
388
|
+
className: "block text-sm font-medium text-text-primary mb-1",
|
|
389
389
|
children: "Bio"
|
|
390
390
|
}), /* @__PURE__ */ x("textarea", {
|
|
391
391
|
value: E.bio,
|
|
@@ -395,7 +395,7 @@ var C = [
|
|
|
395
395
|
})),
|
|
396
396
|
disabled: !f,
|
|
397
397
|
rows: 3,
|
|
398
|
-
className: t("w-full rounded-md border border-border px-3 py-2 text-sm text-
|
|
398
|
+
className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary resize-none", !f && "bg-bg-sunken/50 cursor-not-allowed")
|
|
399
399
|
})] })
|
|
400
400
|
]
|
|
401
401
|
}),
|
|
@@ -403,7 +403,7 @@ var C = [
|
|
|
403
403
|
className: "space-y-5",
|
|
404
404
|
children: [
|
|
405
405
|
/* @__PURE__ */ S("div", { children: [/* @__PURE__ */ x("label", {
|
|
406
|
-
className: "block text-sm font-medium text-
|
|
406
|
+
className: "block text-sm font-medium text-text-primary mb-1",
|
|
407
407
|
children: "Business Name"
|
|
408
408
|
}), /* @__PURE__ */ x("input", {
|
|
409
409
|
type: "text",
|
|
@@ -413,10 +413,10 @@ var C = [
|
|
|
413
413
|
businessName: e.target.value
|
|
414
414
|
})),
|
|
415
415
|
disabled: !f,
|
|
416
|
-
className: t("w-full rounded-md border border-border px-3 py-2 text-sm text-
|
|
416
|
+
className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !f && "bg-bg-sunken/50 cursor-not-allowed")
|
|
417
417
|
})] }),
|
|
418
418
|
/* @__PURE__ */ S("div", { children: [/* @__PURE__ */ x("label", {
|
|
419
|
-
className: "block text-sm font-medium text-
|
|
419
|
+
className: "block text-sm font-medium text-text-primary mb-1",
|
|
420
420
|
children: "Category"
|
|
421
421
|
}), /* @__PURE__ */ x("select", {
|
|
422
422
|
value: O.category,
|
|
@@ -425,7 +425,7 @@ var C = [
|
|
|
425
425
|
category: e.target.value
|
|
426
426
|
})),
|
|
427
427
|
disabled: !f,
|
|
428
|
-
className: t("w-full rounded-md border border-border px-3 py-2 text-sm text-
|
|
428
|
+
className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !f && "bg-bg-sunken/50 cursor-not-allowed"),
|
|
429
429
|
children: [
|
|
430
430
|
"Food & Beverage",
|
|
431
431
|
"Personal Care & Beauty",
|
|
@@ -438,7 +438,7 @@ var C = [
|
|
|
438
438
|
}, e))
|
|
439
439
|
})] }),
|
|
440
440
|
/* @__PURE__ */ S("div", { children: [/* @__PURE__ */ x("label", {
|
|
441
|
-
className: "block text-sm font-medium text-
|
|
441
|
+
className: "block text-sm font-medium text-text-primary mb-1",
|
|
442
442
|
children: "Description"
|
|
443
443
|
}), /* @__PURE__ */ x("textarea", {
|
|
444
444
|
value: O.description,
|
|
@@ -448,13 +448,13 @@ var C = [
|
|
|
448
448
|
})),
|
|
449
449
|
disabled: !f,
|
|
450
450
|
rows: 3,
|
|
451
|
-
className: t("w-full rounded-md border border-border px-3 py-2 text-sm text-
|
|
451
|
+
className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary resize-none", !f && "bg-bg-sunken/50 cursor-not-allowed")
|
|
452
452
|
})] }),
|
|
453
453
|
/* @__PURE__ */ S("div", {
|
|
454
454
|
className: "grid grid-cols-1 sm:grid-cols-3 gap-5",
|
|
455
455
|
children: [
|
|
456
456
|
/* @__PURE__ */ S("div", { children: [/* @__PURE__ */ x("label", {
|
|
457
|
-
className: "block text-sm font-medium text-
|
|
457
|
+
className: "block text-sm font-medium text-text-primary mb-1",
|
|
458
458
|
children: "GST Number"
|
|
459
459
|
}), /* @__PURE__ */ x("input", {
|
|
460
460
|
type: "text",
|
|
@@ -464,10 +464,10 @@ var C = [
|
|
|
464
464
|
gstNumber: e.target.value
|
|
465
465
|
})),
|
|
466
466
|
disabled: !f,
|
|
467
|
-
className: t("w-full rounded-md border border-border px-3 py-2 text-sm text-
|
|
467
|
+
className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !f && "bg-bg-sunken/50 cursor-not-allowed")
|
|
468
468
|
})] }),
|
|
469
469
|
/* @__PURE__ */ S("div", { children: [/* @__PURE__ */ x("label", {
|
|
470
|
-
className: "block text-sm font-medium text-
|
|
470
|
+
className: "block text-sm font-medium text-text-primary mb-1",
|
|
471
471
|
children: "PAN Number"
|
|
472
472
|
}), /* @__PURE__ */ x("input", {
|
|
473
473
|
type: "text",
|
|
@@ -477,10 +477,10 @@ var C = [
|
|
|
477
477
|
panNumber: e.target.value
|
|
478
478
|
})),
|
|
479
479
|
disabled: !f,
|
|
480
|
-
className: t("w-full rounded-md border border-border px-3 py-2 text-sm text-
|
|
480
|
+
className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !f && "bg-bg-sunken/50 cursor-not-allowed")
|
|
481
481
|
})] }),
|
|
482
482
|
/* @__PURE__ */ S("div", { children: [/* @__PURE__ */ x("label", {
|
|
483
|
-
className: "block text-sm font-medium text-
|
|
483
|
+
className: "block text-sm font-medium text-text-primary mb-1",
|
|
484
484
|
children: "FSSAI License"
|
|
485
485
|
}), /* @__PURE__ */ x("input", {
|
|
486
486
|
type: "text",
|
|
@@ -490,14 +490,14 @@ var C = [
|
|
|
490
490
|
fssaiLicense: e.target.value
|
|
491
491
|
})),
|
|
492
492
|
disabled: !f,
|
|
493
|
-
className: t("w-full rounded-md border border-border px-3 py-2 text-sm text-
|
|
493
|
+
className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !f && "bg-bg-sunken/50 cursor-not-allowed")
|
|
494
494
|
})] })
|
|
495
495
|
]
|
|
496
496
|
}),
|
|
497
497
|
/* @__PURE__ */ S("div", {
|
|
498
498
|
className: "grid grid-cols-1 sm:grid-cols-2 gap-5",
|
|
499
499
|
children: [/* @__PURE__ */ S("div", { children: [/* @__PURE__ */ x("label", {
|
|
500
|
-
className: "block text-sm font-medium text-
|
|
500
|
+
className: "block text-sm font-medium text-text-primary mb-1",
|
|
501
501
|
children: "Business Phone"
|
|
502
502
|
}), /* @__PURE__ */ x("input", {
|
|
503
503
|
type: "tel",
|
|
@@ -507,9 +507,9 @@ var C = [
|
|
|
507
507
|
businessPhone: e.target.value
|
|
508
508
|
})),
|
|
509
509
|
disabled: !f,
|
|
510
|
-
className: t("w-full rounded-md border border-border px-3 py-2 text-sm text-
|
|
510
|
+
className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !f && "bg-bg-sunken/50 cursor-not-allowed")
|
|
511
511
|
})] }), /* @__PURE__ */ S("div", { children: [/* @__PURE__ */ x("label", {
|
|
512
|
-
className: "block text-sm font-medium text-
|
|
512
|
+
className: "block text-sm font-medium text-text-primary mb-1",
|
|
513
513
|
children: "Business Email"
|
|
514
514
|
}), /* @__PURE__ */ x("input", {
|
|
515
515
|
type: "email",
|
|
@@ -519,7 +519,7 @@ var C = [
|
|
|
519
519
|
businessEmail: e.target.value
|
|
520
520
|
})),
|
|
521
521
|
disabled: !f,
|
|
522
|
-
className: t("w-full rounded-md border border-border px-3 py-2 text-sm text-
|
|
522
|
+
className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !f && "bg-bg-sunken/50 cursor-not-allowed")
|
|
523
523
|
})] })]
|
|
524
524
|
})
|
|
525
525
|
]
|
|
@@ -528,7 +528,7 @@ var C = [
|
|
|
528
528
|
className: "space-y-5",
|
|
529
529
|
children: [
|
|
530
530
|
/* @__PURE__ */ S("div", { children: [/* @__PURE__ */ x("label", {
|
|
531
|
-
className: "block text-sm font-medium text-
|
|
531
|
+
className: "block text-sm font-medium text-text-primary mb-2",
|
|
532
532
|
children: "Working Days"
|
|
533
533
|
}), /* @__PURE__ */ x("div", {
|
|
534
534
|
className: "flex flex-wrap gap-2",
|
|
@@ -536,14 +536,14 @@ var C = [
|
|
|
536
536
|
type: "button",
|
|
537
537
|
onClick: () => f && B(e),
|
|
538
538
|
disabled: !f,
|
|
539
|
-
className: t("px-3 py-1.5 rounded-full text-xs font-medium transition-colors", A.workingDays.includes(e) ? "bg-blue-
|
|
539
|
+
className: t("px-3 py-1.5 rounded-full text-xs font-medium transition-colors", A.workingDays.includes(e) ? "bg-accent-blue-subtle text-white" : "bg-bg-sunken text-text-secondary", !f && "cursor-not-allowed opacity-70"),
|
|
540
540
|
children: e.slice(0, 3)
|
|
541
541
|
}, e))
|
|
542
542
|
})] }),
|
|
543
543
|
/* @__PURE__ */ S("div", {
|
|
544
544
|
className: "grid grid-cols-1 sm:grid-cols-2 gap-5",
|
|
545
545
|
children: [/* @__PURE__ */ S("div", { children: [/* @__PURE__ */ x("label", {
|
|
546
|
-
className: "block text-sm font-medium text-
|
|
546
|
+
className: "block text-sm font-medium text-text-primary mb-1",
|
|
547
547
|
children: "Opening Time"
|
|
548
548
|
}), /* @__PURE__ */ x("input", {
|
|
549
549
|
type: "time",
|
|
@@ -553,9 +553,9 @@ var C = [
|
|
|
553
553
|
openTime: e.target.value
|
|
554
554
|
})),
|
|
555
555
|
disabled: !f,
|
|
556
|
-
className: t("w-full rounded-md border border-border px-3 py-2 text-sm text-
|
|
556
|
+
className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !f && "bg-bg-sunken/50 cursor-not-allowed")
|
|
557
557
|
})] }), /* @__PURE__ */ S("div", { children: [/* @__PURE__ */ x("label", {
|
|
558
|
-
className: "block text-sm font-medium text-
|
|
558
|
+
className: "block text-sm font-medium text-text-primary mb-1",
|
|
559
559
|
children: "Closing Time"
|
|
560
560
|
}), /* @__PURE__ */ x("input", {
|
|
561
561
|
type: "time",
|
|
@@ -565,14 +565,14 @@ var C = [
|
|
|
565
565
|
closeTime: e.target.value
|
|
566
566
|
})),
|
|
567
567
|
disabled: !f,
|
|
568
|
-
className: t("w-full rounded-md border border-border px-3 py-2 text-sm text-
|
|
568
|
+
className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !f && "bg-bg-sunken/50 cursor-not-allowed")
|
|
569
569
|
})] })]
|
|
570
570
|
}),
|
|
571
571
|
/* @__PURE__ */ S("div", {
|
|
572
572
|
className: "grid grid-cols-1 sm:grid-cols-3 gap-5",
|
|
573
573
|
children: [
|
|
574
574
|
/* @__PURE__ */ S("div", { children: [/* @__PURE__ */ x("label", {
|
|
575
|
-
className: "block text-sm font-medium text-
|
|
575
|
+
className: "block text-sm font-medium text-text-primary mb-1",
|
|
576
576
|
children: "Prep Time (min)"
|
|
577
577
|
}), /* @__PURE__ */ x("input", {
|
|
578
578
|
type: "number",
|
|
@@ -582,10 +582,10 @@ var C = [
|
|
|
582
582
|
preparationTime: parseInt(e.target.value) || 0
|
|
583
583
|
})),
|
|
584
584
|
disabled: !f,
|
|
585
|
-
className: t("w-full rounded-md border border-border px-3 py-2 text-sm text-
|
|
585
|
+
className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !f && "bg-bg-sunken/50 cursor-not-allowed")
|
|
586
586
|
})] }),
|
|
587
587
|
/* @__PURE__ */ S("div", { children: [/* @__PURE__ */ x("label", {
|
|
588
|
-
className: "block text-sm font-medium text-
|
|
588
|
+
className: "block text-sm font-medium text-text-primary mb-1",
|
|
589
589
|
children: "Delivery Radius (km)"
|
|
590
590
|
}), /* @__PURE__ */ x("input", {
|
|
591
591
|
type: "number",
|
|
@@ -595,10 +595,10 @@ var C = [
|
|
|
595
595
|
deliveryRadius: parseInt(e.target.value) || 0
|
|
596
596
|
})),
|
|
597
597
|
disabled: !f,
|
|
598
|
-
className: t("w-full rounded-md border border-border px-3 py-2 text-sm text-
|
|
598
|
+
className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !f && "bg-bg-sunken/50 cursor-not-allowed")
|
|
599
599
|
})] }),
|
|
600
600
|
/* @__PURE__ */ S("div", { children: [/* @__PURE__ */ x("label", {
|
|
601
|
-
className: "block text-sm font-medium text-
|
|
601
|
+
className: "block text-sm font-medium text-text-primary mb-1",
|
|
602
602
|
children: "Max Orders/Day"
|
|
603
603
|
}), /* @__PURE__ */ x("input", {
|
|
604
604
|
type: "number",
|
|
@@ -608,7 +608,7 @@ var C = [
|
|
|
608
608
|
maxOrdersPerDay: parseInt(e.target.value) || 0
|
|
609
609
|
})),
|
|
610
610
|
disabled: !f,
|
|
611
|
-
className: t("w-full rounded-md border border-border px-3 py-2 text-sm text-
|
|
611
|
+
className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !f && "bg-bg-sunken/50 cursor-not-allowed")
|
|
612
612
|
})] })
|
|
613
613
|
]
|
|
614
614
|
})
|
|
@@ -618,16 +618,16 @@ var C = [
|
|
|
618
618
|
className: "space-y-5",
|
|
619
619
|
children: [
|
|
620
620
|
/* @__PURE__ */ S("div", {
|
|
621
|
-
className: "flex items-start gap-3 rounded-md bg-blue-
|
|
622
|
-
children: [/* @__PURE__ */ x(a, { className: "h-4 w-4 text-
|
|
623
|
-
className: "text-xs text-
|
|
621
|
+
className: "flex items-start gap-3 rounded-md bg-accent-blue-subtle/5 border border-accent-blue-subtle/20 p-3",
|
|
622
|
+
children: [/* @__PURE__ */ x(a, { className: "h-4 w-4 text-accent-blue shrink-0 mt-0.5" }), /* @__PURE__ */ x("p", {
|
|
623
|
+
className: "text-xs text-accent-blue",
|
|
624
624
|
children: "Bank details are used for payouts. Changes require verification and may take 2-3 business days to process."
|
|
625
625
|
})]
|
|
626
626
|
}),
|
|
627
627
|
/* @__PURE__ */ S("div", {
|
|
628
628
|
className: "grid grid-cols-1 sm:grid-cols-2 gap-5",
|
|
629
629
|
children: [/* @__PURE__ */ S("div", { children: [/* @__PURE__ */ x("label", {
|
|
630
|
-
className: "block text-sm font-medium text-
|
|
630
|
+
className: "block text-sm font-medium text-text-primary mb-1",
|
|
631
631
|
children: "Bank Name"
|
|
632
632
|
}), /* @__PURE__ */ x("input", {
|
|
633
633
|
type: "text",
|
|
@@ -637,9 +637,9 @@ var C = [
|
|
|
637
637
|
bankName: e.target.value
|
|
638
638
|
})),
|
|
639
639
|
disabled: !f,
|
|
640
|
-
className: t("w-full rounded-md border border-border px-3 py-2 text-sm text-
|
|
640
|
+
className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !f && "bg-bg-sunken/50 cursor-not-allowed")
|
|
641
641
|
})] }), /* @__PURE__ */ S("div", { children: [/* @__PURE__ */ x("label", {
|
|
642
|
-
className: "block text-sm font-medium text-
|
|
642
|
+
className: "block text-sm font-medium text-text-primary mb-1",
|
|
643
643
|
children: "Account Holder"
|
|
644
644
|
}), /* @__PURE__ */ x("input", {
|
|
645
645
|
type: "text",
|
|
@@ -649,13 +649,13 @@ var C = [
|
|
|
649
649
|
accountHolder: e.target.value
|
|
650
650
|
})),
|
|
651
651
|
disabled: !f,
|
|
652
|
-
className: t("w-full rounded-md border border-border px-3 py-2 text-sm text-
|
|
652
|
+
className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !f && "bg-bg-sunken/50 cursor-not-allowed")
|
|
653
653
|
})] })]
|
|
654
654
|
}),
|
|
655
655
|
/* @__PURE__ */ S("div", {
|
|
656
656
|
className: "grid grid-cols-1 sm:grid-cols-2 gap-5",
|
|
657
657
|
children: [/* @__PURE__ */ S("div", { children: [/* @__PURE__ */ x("label", {
|
|
658
|
-
className: "block text-sm font-medium text-
|
|
658
|
+
className: "block text-sm font-medium text-text-primary mb-1",
|
|
659
659
|
children: "Account Number"
|
|
660
660
|
}), /* @__PURE__ */ x("input", {
|
|
661
661
|
type: "text",
|
|
@@ -665,9 +665,9 @@ var C = [
|
|
|
665
665
|
accountNumber: e.target.value
|
|
666
666
|
})),
|
|
667
667
|
disabled: !f,
|
|
668
|
-
className: t("w-full rounded-md border border-border px-3 py-2 text-sm text-
|
|
668
|
+
className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !f && "bg-bg-sunken/50 cursor-not-allowed")
|
|
669
669
|
})] }), /* @__PURE__ */ S("div", { children: [/* @__PURE__ */ x("label", {
|
|
670
|
-
className: "block text-sm font-medium text-
|
|
670
|
+
className: "block text-sm font-medium text-text-primary mb-1",
|
|
671
671
|
children: "IFSC Code"
|
|
672
672
|
}), /* @__PURE__ */ x("input", {
|
|
673
673
|
type: "text",
|
|
@@ -677,13 +677,13 @@ var C = [
|
|
|
677
677
|
ifscCode: e.target.value
|
|
678
678
|
})),
|
|
679
679
|
disabled: !f,
|
|
680
|
-
className: t("w-full rounded-md border border-border px-3 py-2 text-sm text-
|
|
680
|
+
className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !f && "bg-bg-sunken/50 cursor-not-allowed")
|
|
681
681
|
})] })]
|
|
682
682
|
}),
|
|
683
683
|
/* @__PURE__ */ S("div", {
|
|
684
684
|
className: "grid grid-cols-1 sm:grid-cols-2 gap-5",
|
|
685
685
|
children: [/* @__PURE__ */ S("div", { children: [/* @__PURE__ */ x("label", {
|
|
686
|
-
className: "block text-sm font-medium text-
|
|
686
|
+
className: "block text-sm font-medium text-text-primary mb-1",
|
|
687
687
|
children: "UPI ID"
|
|
688
688
|
}), /* @__PURE__ */ x("input", {
|
|
689
689
|
type: "text",
|
|
@@ -693,9 +693,9 @@ var C = [
|
|
|
693
693
|
upiId: e.target.value
|
|
694
694
|
})),
|
|
695
695
|
disabled: !f,
|
|
696
|
-
className: t("w-full rounded-md border border-border px-3 py-2 text-sm text-
|
|
696
|
+
className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !f && "bg-bg-sunken/50 cursor-not-allowed")
|
|
697
697
|
})] }), /* @__PURE__ */ S("div", { children: [/* @__PURE__ */ x("label", {
|
|
698
|
-
className: "block text-sm font-medium text-
|
|
698
|
+
className: "block text-sm font-medium text-text-primary mb-1",
|
|
699
699
|
children: "Payout Schedule"
|
|
700
700
|
}), /* @__PURE__ */ S("select", {
|
|
701
701
|
value: M.payoutSchedule,
|
|
@@ -704,7 +704,7 @@ var C = [
|
|
|
704
704
|
payoutSchedule: e.target.value
|
|
705
705
|
})),
|
|
706
706
|
disabled: !f,
|
|
707
|
-
className: t("w-full rounded-md border border-border px-3 py-2 text-sm text-
|
|
707
|
+
className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !f && "bg-bg-sunken/50 cursor-not-allowed"),
|
|
708
708
|
children: [
|
|
709
709
|
/* @__PURE__ */ x("option", {
|
|
710
710
|
value: "daily",
|
|
@@ -731,14 +731,14 @@ var C = [
|
|
|
731
731
|
className: "space-y-6",
|
|
732
732
|
children: [
|
|
733
733
|
/* @__PURE__ */ S("div", {
|
|
734
|
-
className: "rounded-lg border border-border p-5",
|
|
734
|
+
className: "rounded-lg border border-border-subtle p-5",
|
|
735
735
|
children: [
|
|
736
736
|
/* @__PURE__ */ S("h3", {
|
|
737
|
-
className: "text-sm font-semibold text-
|
|
738
|
-
children: [/* @__PURE__ */ x(m, { className: "h-4 w-4 text-
|
|
737
|
+
className: "text-sm font-semibold text-text-primary flex items-center gap-2 mb-3",
|
|
738
|
+
children: [/* @__PURE__ */ x(m, { className: "h-4 w-4 text-text-secondary" }), "Password"]
|
|
739
739
|
}),
|
|
740
740
|
/* @__PURE__ */ S("p", {
|
|
741
|
-
className: "text-xs text-
|
|
741
|
+
className: "text-xs text-text-secondary mb-3",
|
|
742
742
|
children: [
|
|
743
743
|
"Last changed:",
|
|
744
744
|
" ",
|
|
@@ -752,20 +752,20 @@ var C = [
|
|
|
752
752
|
/* @__PURE__ */ x("button", {
|
|
753
753
|
type: "button",
|
|
754
754
|
onClick: () => alert("Password change coming soon!"),
|
|
755
|
-
className: "rounded-md border border-border px-4 py-2 text-sm font-medium text-
|
|
755
|
+
className: "rounded-md border border-border-subtle px-4 py-2 text-sm font-medium text-text-primary hover:bg-bg-sunken transition-colors",
|
|
756
756
|
children: "Change Password"
|
|
757
757
|
})
|
|
758
758
|
]
|
|
759
759
|
}),
|
|
760
760
|
/* @__PURE__ */ S("div", {
|
|
761
|
-
className: "rounded-lg border border-border p-5",
|
|
761
|
+
className: "rounded-lg border border-border-subtle p-5",
|
|
762
762
|
children: [/* @__PURE__ */ S("div", {
|
|
763
763
|
className: "flex items-center justify-between",
|
|
764
764
|
children: [/* @__PURE__ */ S("div", { children: [/* @__PURE__ */ S("h3", {
|
|
765
|
-
className: "text-sm font-semibold text-
|
|
766
|
-
children: [/* @__PURE__ */ x(_, { className: "h-4 w-4 text-
|
|
765
|
+
className: "text-sm font-semibold text-text-primary flex items-center gap-2",
|
|
766
|
+
children: [/* @__PURE__ */ x(_, { className: "h-4 w-4 text-text-secondary" }), "Two-Factor Authentication"]
|
|
767
767
|
}), /* @__PURE__ */ x("p", {
|
|
768
|
-
className: "text-xs text-
|
|
768
|
+
className: "text-xs text-text-secondary mt-1",
|
|
769
769
|
children: "Add an extra layer of security to your account"
|
|
770
770
|
})] }), /* @__PURE__ */ x("button", {
|
|
771
771
|
type: "button",
|
|
@@ -773,46 +773,46 @@ var C = [
|
|
|
773
773
|
...e,
|
|
774
774
|
twoFactorEnabled: !e.twoFactorEnabled
|
|
775
775
|
})),
|
|
776
|
-
className: t("h-6 w-11 rounded-full transition-colors relative", P.twoFactorEnabled ? "bg-
|
|
776
|
+
className: t("h-6 w-11 rounded-full transition-colors relative", P.twoFactorEnabled ? "bg-status-success-bg-subtle" : "bg-muted-foreground/30"),
|
|
777
777
|
children: /* @__PURE__ */ x("div", { className: t("absolute top-0.5 h-5 w-5 rounded-full bg-white transition-transform", P.twoFactorEnabled ? "translate-x-5" : "translate-x-0.5") })
|
|
778
778
|
})]
|
|
779
779
|
}), P.twoFactorEnabled && /* @__PURE__ */ S("div", {
|
|
780
780
|
className: "mt-3 flex items-center gap-2",
|
|
781
|
-
children: [/* @__PURE__ */ x(u, { className: "h-4 w-4 text-
|
|
782
|
-
className: "text-xs text-
|
|
781
|
+
children: [/* @__PURE__ */ x(u, { className: "h-4 w-4 text-status-success-text" }), /* @__PURE__ */ x("span", {
|
|
782
|
+
className: "text-xs text-status-success-text font-medium",
|
|
783
783
|
children: "2FA is enabled"
|
|
784
784
|
})]
|
|
785
785
|
})]
|
|
786
786
|
}),
|
|
787
787
|
/* @__PURE__ */ S("div", {
|
|
788
|
-
className: "rounded-lg border border-border p-5",
|
|
788
|
+
className: "rounded-lg border border-border-subtle p-5",
|
|
789
789
|
children: [/* @__PURE__ */ x("h3", {
|
|
790
|
-
className: "text-sm font-semibold text-
|
|
790
|
+
className: "text-sm font-semibold text-text-primary mb-3",
|
|
791
791
|
children: "Active Sessions"
|
|
792
792
|
}), /* @__PURE__ */ S("div", {
|
|
793
793
|
className: "space-y-3",
|
|
794
794
|
children: [/* @__PURE__ */ S("div", {
|
|
795
795
|
className: "flex items-center justify-between text-sm",
|
|
796
796
|
children: [/* @__PURE__ */ S("div", { children: [/* @__PURE__ */ x("p", {
|
|
797
|
-
className: "font-medium text-
|
|
797
|
+
className: "font-medium text-text-primary",
|
|
798
798
|
children: "Current Device"
|
|
799
799
|
}), /* @__PURE__ */ x("p", {
|
|
800
|
-
className: "text-xs text-
|
|
800
|
+
className: "text-xs text-text-secondary",
|
|
801
801
|
children: "Chrome on Linux | Bangalore, IN"
|
|
802
802
|
})] }), /* @__PURE__ */ x("span", {
|
|
803
|
-
className: "text-xs text-
|
|
803
|
+
className: "text-xs text-status-success-text font-medium",
|
|
804
804
|
children: "Active now"
|
|
805
805
|
})]
|
|
806
806
|
}), /* @__PURE__ */ S("div", {
|
|
807
807
|
className: "flex items-center justify-between text-sm",
|
|
808
808
|
children: [/* @__PURE__ */ S("div", { children: [/* @__PURE__ */ x("p", {
|
|
809
|
-
className: "font-medium text-
|
|
809
|
+
className: "font-medium text-text-primary",
|
|
810
810
|
children: "Mobile App"
|
|
811
811
|
}), /* @__PURE__ */ x("p", {
|
|
812
|
-
className: "text-xs text-
|
|
812
|
+
className: "text-xs text-text-secondary",
|
|
813
813
|
children: "Android | Bangalore, IN"
|
|
814
814
|
})] }), /* @__PURE__ */ x("span", {
|
|
815
|
-
className: "text-xs text-
|
|
815
|
+
className: "text-xs text-text-secondary",
|
|
816
816
|
children: "2 hours ago"
|
|
817
817
|
})]
|
|
818
818
|
})]
|
|
@@ -856,10 +856,10 @@ var C = [
|
|
|
856
856
|
].map((e) => /* @__PURE__ */ S("div", {
|
|
857
857
|
className: "flex items-center justify-between py-3",
|
|
858
858
|
children: [/* @__PURE__ */ S("div", { children: [/* @__PURE__ */ x("p", {
|
|
859
|
-
className: "text-sm font-medium text-
|
|
859
|
+
className: "text-sm font-medium text-text-primary",
|
|
860
860
|
children: e.label
|
|
861
861
|
}), /* @__PURE__ */ x("p", {
|
|
862
|
-
className: "text-xs text-
|
|
862
|
+
className: "text-xs text-text-secondary mt-0.5",
|
|
863
863
|
children: e.description
|
|
864
864
|
})] }), /* @__PURE__ */ x("button", {
|
|
865
865
|
type: "button",
|
|
@@ -867,7 +867,7 @@ var C = [
|
|
|
867
867
|
...t,
|
|
868
868
|
[e.key]: !t[e.key]
|
|
869
869
|
})),
|
|
870
|
-
className: t("h-6 w-11 rounded-full transition-colors relative", I[e.key] ? "bg-blue-
|
|
870
|
+
className: t("h-6 w-11 rounded-full transition-colors relative", I[e.key] ? "bg-accent-blue-subtle" : "bg-muted-foreground/30"),
|
|
871
871
|
children: /* @__PURE__ */ x("div", { className: t("absolute top-0.5 h-5 w-5 rounded-full bg-white transition-transform", I[e.key] ? "translate-x-5" : "translate-x-0.5") })
|
|
872
872
|
})]
|
|
873
873
|
}, e.key))
|