@burdenoff/microfe-subscriberbot 2026.624.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/subscriberbot/components/EmptyState.js +17 -10
- package/dist/subscriberbot/components/EmptyState.js.map +1 -1
- package/dist/subscriberbot/components/InvestmentCard.js +23 -22
- package/dist/subscriberbot/components/InvestmentCard.js.map +1 -1
- package/dist/subscriberbot/components/MetricsCard.js +15 -12
- package/dist/subscriberbot/components/MetricsCard.js.map +1 -1
- package/dist/subscriberbot/components/PageLayout.js +27 -15
- package/dist/subscriberbot/components/PageLayout.js.map +1 -1
- package/dist/subscriberbot/components/RatingDisplay.js +3 -3
- package/dist/subscriberbot/components/RatingDisplay.js.map +1 -1
- package/dist/subscriberbot/components/StatusBadge.js +25 -13
- package/dist/subscriberbot/components/StatusBadge.js.map +1 -1
- package/dist/subscriberbot/context/SubscriberBotContext.js.map +1 -1
- package/dist/subscriberbot/pages/HomePage.js +67 -63
- package/dist/subscriberbot/pages/HomePage.js.map +1 -1
- package/dist/subscriberbot/pages/admin/AdminAnalyticsPage.js +42 -42
- package/dist/subscriberbot/pages/admin/AdminAnalyticsPage.js.map +1 -1
- package/dist/subscriberbot/pages/admin/AdminDashboard.js +42 -41
- package/dist/subscriberbot/pages/admin/AdminDashboard.js.map +1 -1
- package/dist/subscriberbot/pages/admin/AdminFinancialPage.js +14 -14
- package/dist/subscriberbot/pages/admin/AdminFinancialPage.js.map +1 -1
- package/dist/subscriberbot/pages/admin/AdminOrdersPage.js +24 -24
- package/dist/subscriberbot/pages/admin/AdminOrdersPage.js.map +1 -1
- package/dist/subscriberbot/pages/admin/AdminProfilePage.js +11 -11
- package/dist/subscriberbot/pages/admin/AdminProfilePage.js.map +1 -1
- package/dist/subscriberbot/pages/admin/AdminSettingsPage.js +14 -14
- package/dist/subscriberbot/pages/admin/AdminSettingsPage.js.map +1 -1
- package/dist/subscriberbot/pages/admin/CartManagementPage.js +41 -41
- package/dist/subscriberbot/pages/admin/CartManagementPage.js.map +1 -1
- package/dist/subscriberbot/pages/admin/UserManagementPage.js +47 -47
- package/dist/subscriberbot/pages/admin/UserManagementPage.js.map +1 -1
- package/dist/subscriberbot/pages/cart-owner/AnalyticsDashboard.js +44 -44
- package/dist/subscriberbot/pages/cart-owner/AnalyticsDashboard.js.map +1 -1
- package/dist/subscriberbot/pages/cart-owner/BusinessSettingsPage.js +17 -17
- package/dist/subscriberbot/pages/cart-owner/BusinessSettingsPage.js.map +1 -1
- package/dist/subscriberbot/pages/cart-owner/CartOwnerDashboard.js +94 -89
- package/dist/subscriberbot/pages/cart-owner/CartOwnerDashboard.js.map +1 -1
- package/dist/subscriberbot/pages/cart-owner/CartOwnerProfilePage.js +58 -58
- package/dist/subscriberbot/pages/cart-owner/CartOwnerProfilePage.js.map +1 -1
- package/dist/subscriberbot/pages/cart-owner/CartServiceConfigPage.js +51 -51
- package/dist/subscriberbot/pages/cart-owner/CartServiceConfigPage.js.map +1 -1
- package/dist/subscriberbot/pages/cart-owner/InventoryManagementPage.js +54 -54
- package/dist/subscriberbot/pages/cart-owner/InventoryManagementPage.js.map +1 -1
- package/dist/subscriberbot/pages/cart-owner/OrderManagementPage.js +54 -53
- package/dist/subscriberbot/pages/cart-owner/OrderManagementPage.js.map +1 -1
- package/dist/subscriberbot/pages/cart-owner/StaffManagementPage.js +51 -51
- package/dist/subscriberbot/pages/cart-owner/StaffManagementPage.js.map +1 -1
- package/dist/subscriberbot/pages/common/HelpSupportPage.js +65 -65
- package/dist/subscriberbot/pages/common/HelpSupportPage.js.map +1 -1
- package/dist/subscriberbot/pages/common/NotificationCenterPage.js +46 -45
- package/dist/subscriberbot/pages/common/NotificationCenterPage.js.map +1 -1
- package/dist/subscriberbot/pages/common/SettingsPage.js +46 -46
- package/dist/subscriberbot/pages/common/SettingsPage.js.map +1 -1
- package/dist/subscriberbot/pages/customer/BookingDetailsPage.js +24 -23
- package/dist/subscriberbot/pages/customer/BookingDetailsPage.js.map +1 -1
- package/dist/subscriberbot/pages/customer/CartDetailPage.js +31 -30
- package/dist/subscriberbot/pages/customer/CartDetailPage.js.map +1 -1
- package/dist/subscriberbot/pages/customer/CartDiscoveryPage.js +25 -23
- package/dist/subscriberbot/pages/customer/CartDiscoveryPage.js.map +1 -1
- package/dist/subscriberbot/pages/customer/CheckoutPage.js +26 -26
- package/dist/subscriberbot/pages/customer/CheckoutPage.js.map +1 -1
- package/dist/subscriberbot/pages/customer/CustomerDashboard.js +39 -38
- package/dist/subscriberbot/pages/customer/CustomerDashboard.js.map +1 -1
- package/dist/subscriberbot/pages/customer/CustomerProfilePage.js +36 -36
- package/dist/subscriberbot/pages/customer/CustomerProfilePage.js.map +1 -1
- package/dist/subscriberbot/pages/customer/DirectServiceBookingPage.js +37 -36
- package/dist/subscriberbot/pages/customer/DirectServiceBookingPage.js.map +1 -1
- package/dist/subscriberbot/pages/customer/FavoritesPage.js +16 -15
- package/dist/subscriberbot/pages/customer/FavoritesPage.js.map +1 -1
- package/dist/subscriberbot/pages/customer/OrderHistoryPage.js +19 -17
- package/dist/subscriberbot/pages/customer/OrderHistoryPage.js.map +1 -1
- package/dist/subscriberbot/pages/customer/OrderTrackingPage.js +21 -20
- package/dist/subscriberbot/pages/customer/OrderTrackingPage.js.map +1 -1
- package/dist/subscriberbot/pages/customer/PaymentMethodsPage.js +22 -21
- package/dist/subscriberbot/pages/customer/PaymentMethodsPage.js.map +1 -1
- package/dist/subscriberbot/pages/customer/ReviewsPage.js +29 -28
- package/dist/subscriberbot/pages/customer/ReviewsPage.js.map +1 -1
- package/dist/subscriberbot/pages/customer/SavedAddressesPage.js +26 -25
- package/dist/subscriberbot/pages/customer/SavedAddressesPage.js.map +1 -1
- package/dist/subscriberbot/pages/investor/InvestmentDetailsPage.js +46 -46
- package/dist/subscriberbot/pages/investor/InvestmentDetailsPage.js.map +1 -1
- package/dist/subscriberbot/pages/investor/InvestmentOpportunitiesPage.js +34 -32
- package/dist/subscriberbot/pages/investor/InvestmentOpportunitiesPage.js.map +1 -1
- package/dist/subscriberbot/pages/investor/InvestorAnalyticsPage.js +38 -38
- package/dist/subscriberbot/pages/investor/InvestorAnalyticsPage.js.map +1 -1
- package/dist/subscriberbot/pages/investor/InvestorDashboard.js +26 -25
- package/dist/subscriberbot/pages/investor/InvestorDashboard.js.map +1 -1
- package/dist/subscriberbot/pages/investor/InvestorInvestmentsPage.js +12 -11
- package/dist/subscriberbot/pages/investor/InvestorInvestmentsPage.js.map +1 -1
- package/dist/subscriberbot/pages/investor/InvestorPortfolioPage.js +25 -25
- package/dist/subscriberbot/pages/investor/InvestorPortfolioPage.js.map +1 -1
- package/dist/subscriberbot/pages/investor/InvestorProfilePage.js +58 -58
- package/dist/subscriberbot/pages/investor/InvestorProfilePage.js.map +1 -1
- package/dist/subscriberbot/pages/worker/TaskDetailsPage.js +26 -25
- package/dist/subscriberbot/pages/worker/TaskDetailsPage.js.map +1 -1
- package/dist/subscriberbot/pages/worker/WorkerDashboard.js +48 -47
- package/dist/subscriberbot/pages/worker/WorkerDashboard.js.map +1 -1
- package/dist/subscriberbot/pages/worker/WorkerOrdersPage.js +41 -40
- package/dist/subscriberbot/pages/worker/WorkerOrdersPage.js.map +1 -1
- package/dist/subscriberbot/pages/worker/WorkerProfilePage.js +44 -44
- package/dist/subscriberbot/pages/worker/WorkerProfilePage.js.map +1 -1
- package/dist/subscriberbot/pages/worker/WorkerSchedulePage.js +32 -30
- package/dist/subscriberbot/pages/worker/WorkerSchedulePage.js.map +1 -1
- package/package.json +3 -3
|
@@ -117,7 +117,7 @@ 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-
|
|
120
|
+
className: "rounded-md border border-border-seam 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",
|
|
@@ -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/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,17 +145,17 @@ 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-
|
|
148
|
+
className: "rounded-lg border border-border-seam bg-bg-surface p-4 shadow-sm text-center",
|
|
149
149
|
children: [/* @__PURE__ */ S("p", {
|
|
150
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-
|
|
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
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-
|
|
158
|
+
className: "rounded-lg border border-border-seam bg-bg-surface p-4 shadow-sm text-center",
|
|
159
159
|
children: [/* @__PURE__ */ x("p", {
|
|
160
160
|
className: "text-2xl font-bold text-text-primary",
|
|
161
161
|
children: R.totalOrders.toLocaleString()
|
|
@@ -165,7 +165,7 @@ var C = [
|
|
|
165
165
|
})]
|
|
166
166
|
}),
|
|
167
167
|
/* @__PURE__ */ S("div", {
|
|
168
|
-
className: "rounded-lg border border-border-
|
|
168
|
+
className: "rounded-lg border border-border-seam bg-bg-surface p-4 shadow-sm text-center",
|
|
169
169
|
children: [/* @__PURE__ */ S("p", {
|
|
170
170
|
className: "text-2xl font-bold text-text-primary",
|
|
171
171
|
children: [R.verificationPercentage, "%"]
|
|
@@ -175,7 +175,7 @@ var C = [
|
|
|
175
175
|
})]
|
|
176
176
|
}),
|
|
177
177
|
/* @__PURE__ */ S("div", {
|
|
178
|
-
className: "rounded-lg border border-border-
|
|
178
|
+
className: "rounded-lg border border-border-seam bg-bg-surface p-4 shadow-sm text-center",
|
|
179
179
|
children: [/* @__PURE__ */ x("p", {
|
|
180
180
|
className: "text-sm font-bold text-text-primary",
|
|
181
181
|
children: new Date(R.memberSince).toLocaleDateString("en-IN", {
|
|
@@ -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-
|
|
197
|
+
className: "lg:hidden rounded-lg border border-border-seam 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) => {
|
|
@@ -208,9 +208,9 @@ var C = [
|
|
|
208
208
|
})
|
|
209
209
|
})
|
|
210
210
|
}), /* @__PURE__ */ S("div", {
|
|
211
|
-
className: "hidden lg:block rounded-lg border border-border-
|
|
211
|
+
className: "hidden lg:block rounded-lg border border-border-seam 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-seam",
|
|
214
214
|
children: /* @__PURE__ */ x("h2", {
|
|
215
215
|
className: "font-semibold text-text-primary text-sm",
|
|
216
216
|
children: "Profile Settings"
|
|
@@ -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-
|
|
234
|
+
className: "rounded-lg border border-border-seam bg-bg-surface p-5 sm:p-6 shadow-sm",
|
|
235
235
|
children: [
|
|
236
236
|
c === "personal" && /* @__PURE__ */ S("div", {
|
|
237
237
|
className: "space-y-5",
|
|
@@ -265,11 +265,11 @@ var C = [
|
|
|
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-
|
|
268
|
+
className: "inline-flex items-center gap-1 rounded-full bg-status-info-bg/10 px-2.5 py-0.5 text-xs font-medium text-status-info-text",
|
|
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
|
] })]
|
|
@@ -287,7 +287,7 @@ var C = [
|
|
|
287
287
|
firstName: e.target.value
|
|
288
288
|
})),
|
|
289
289
|
disabled: !f,
|
|
290
|
-
className: t("w-full rounded-md border border-border-
|
|
290
|
+
className: t("w-full rounded-md border border-border-seam 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
292
|
className: "block text-sm font-medium text-text-primary mb-1",
|
|
293
293
|
children: "Last Name"
|
|
@@ -299,7 +299,7 @@ var C = [
|
|
|
299
299
|
lastName: e.target.value
|
|
300
300
|
})),
|
|
301
301
|
disabled: !f,
|
|
302
|
-
className: t("w-full rounded-md border border-border-
|
|
302
|
+
className: t("w-full rounded-md border border-border-seam 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", {
|
|
@@ -315,7 +315,7 @@ var C = [
|
|
|
315
315
|
email: e.target.value
|
|
316
316
|
})),
|
|
317
317
|
disabled: !f,
|
|
318
|
-
className: t("w-full rounded-md border border-border-
|
|
318
|
+
className: t("w-full rounded-md border border-border-seam 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
320
|
className: "block text-sm font-medium text-text-primary mb-1",
|
|
321
321
|
children: "Phone"
|
|
@@ -327,7 +327,7 @@ var C = [
|
|
|
327
327
|
phone: e.target.value
|
|
328
328
|
})),
|
|
329
329
|
disabled: !f,
|
|
330
|
-
className: t("w-full rounded-md border border-border-
|
|
330
|
+
className: t("w-full rounded-md border border-border-seam 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", {
|
|
@@ -343,7 +343,7 @@ var C = [
|
|
|
343
343
|
dateOfBirth: e.target.value
|
|
344
344
|
})),
|
|
345
345
|
disabled: !f,
|
|
346
|
-
className: t("w-full rounded-md border border-border-
|
|
346
|
+
className: t("w-full rounded-md border border-border-seam 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
348
|
className: "block text-sm font-medium text-text-primary mb-1",
|
|
349
349
|
children: "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-
|
|
357
|
+
className: t("w-full rounded-md border border-border-seam 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",
|
|
@@ -382,7 +382,7 @@ var C = [
|
|
|
382
382
|
address: e.target.value
|
|
383
383
|
})),
|
|
384
384
|
disabled: !f,
|
|
385
|
-
className: t("w-full rounded-md border border-border-
|
|
385
|
+
className: t("w-full rounded-md border border-border-seam 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
388
|
className: "block text-sm font-medium text-text-primary mb-1",
|
|
@@ -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-
|
|
398
|
+
className: t("w-full rounded-md border border-border-seam 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
|
}),
|
|
@@ -413,7 +413,7 @@ var C = [
|
|
|
413
413
|
businessName: e.target.value
|
|
414
414
|
})),
|
|
415
415
|
disabled: !f,
|
|
416
|
-
className: t("w-full rounded-md border border-border-
|
|
416
|
+
className: t("w-full rounded-md border border-border-seam 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
419
|
className: "block text-sm font-medium text-text-primary mb-1",
|
|
@@ -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-
|
|
428
|
+
className: t("w-full rounded-md border border-border-seam 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",
|
|
@@ -448,7 +448,7 @@ var C = [
|
|
|
448
448
|
})),
|
|
449
449
|
disabled: !f,
|
|
450
450
|
rows: 3,
|
|
451
|
-
className: t("w-full rounded-md border border-border-
|
|
451
|
+
className: t("w-full rounded-md border border-border-seam 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",
|
|
@@ -464,7 +464,7 @@ var C = [
|
|
|
464
464
|
gstNumber: e.target.value
|
|
465
465
|
})),
|
|
466
466
|
disabled: !f,
|
|
467
|
-
className: t("w-full rounded-md border border-border-
|
|
467
|
+
className: t("w-full rounded-md border border-border-seam 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
470
|
className: "block text-sm font-medium text-text-primary mb-1",
|
|
@@ -477,7 +477,7 @@ var C = [
|
|
|
477
477
|
panNumber: e.target.value
|
|
478
478
|
})),
|
|
479
479
|
disabled: !f,
|
|
480
|
-
className: t("w-full rounded-md border border-border-
|
|
480
|
+
className: t("w-full rounded-md border border-border-seam 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
483
|
className: "block text-sm font-medium text-text-primary mb-1",
|
|
@@ -490,7 +490,7 @@ var C = [
|
|
|
490
490
|
fssaiLicense: e.target.value
|
|
491
491
|
})),
|
|
492
492
|
disabled: !f,
|
|
493
|
-
className: t("w-full rounded-md border border-border-
|
|
493
|
+
className: t("w-full rounded-md border border-border-seam px-3 py-2 text-sm text-text-primary", !f && "bg-bg-sunken/50 cursor-not-allowed")
|
|
494
494
|
})] })
|
|
495
495
|
]
|
|
496
496
|
}),
|
|
@@ -507,7 +507,7 @@ var C = [
|
|
|
507
507
|
businessPhone: e.target.value
|
|
508
508
|
})),
|
|
509
509
|
disabled: !f,
|
|
510
|
-
className: t("w-full rounded-md border border-border-
|
|
510
|
+
className: t("w-full rounded-md border border-border-seam 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
512
|
className: "block text-sm font-medium text-text-primary mb-1",
|
|
513
513
|
children: "Business 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-
|
|
522
|
+
className: t("w-full rounded-md border border-border-seam px-3 py-2 text-sm text-text-primary", !f && "bg-bg-sunken/50 cursor-not-allowed")
|
|
523
523
|
})] })]
|
|
524
524
|
})
|
|
525
525
|
]
|
|
@@ -536,7 +536,7 @@ 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-
|
|
539
|
+
className: t("px-3 py-1.5 rounded-full text-xs font-medium transition-colors", A.workingDays.includes(e) ? "bg-status-info-text text-text-inverse" : "bg-bg-sunken text-text-secondary", !f && "cursor-not-allowed opacity-70"),
|
|
540
540
|
children: e.slice(0, 3)
|
|
541
541
|
}, e))
|
|
542
542
|
})] }),
|
|
@@ -553,7 +553,7 @@ var C = [
|
|
|
553
553
|
openTime: e.target.value
|
|
554
554
|
})),
|
|
555
555
|
disabled: !f,
|
|
556
|
-
className: t("w-full rounded-md border border-border-
|
|
556
|
+
className: t("w-full rounded-md border border-border-seam 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
558
|
className: "block text-sm font-medium text-text-primary mb-1",
|
|
559
559
|
children: "Closing Time"
|
|
@@ -565,7 +565,7 @@ var C = [
|
|
|
565
565
|
closeTime: e.target.value
|
|
566
566
|
})),
|
|
567
567
|
disabled: !f,
|
|
568
|
-
className: t("w-full rounded-md border border-border-
|
|
568
|
+
className: t("w-full rounded-md border border-border-seam 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", {
|
|
@@ -582,7 +582,7 @@ 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-
|
|
585
|
+
className: t("w-full rounded-md border border-border-seam 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
588
|
className: "block text-sm font-medium text-text-primary mb-1",
|
|
@@ -595,7 +595,7 @@ 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-
|
|
598
|
+
className: t("w-full rounded-md border border-border-seam 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
601
|
className: "block text-sm font-medium text-text-primary mb-1",
|
|
@@ -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-
|
|
611
|
+
className: t("w-full rounded-md border border-border-seam px-3 py-2 text-sm text-text-primary", !f && "bg-bg-sunken/50 cursor-not-allowed")
|
|
612
612
|
})] })
|
|
613
613
|
]
|
|
614
614
|
})
|
|
@@ -618,9 +618,9 @@ 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-
|
|
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-status-info-bg/5 border border-status-info-border/20 p-3",
|
|
622
|
+
children: [/* @__PURE__ */ x(a, { className: "h-4 w-4 text-status-info-text shrink-0 mt-0.5" }), /* @__PURE__ */ x("p", {
|
|
623
|
+
className: "text-xs text-status-info-text",
|
|
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
|
}),
|
|
@@ -637,7 +637,7 @@ var C = [
|
|
|
637
637
|
bankName: e.target.value
|
|
638
638
|
})),
|
|
639
639
|
disabled: !f,
|
|
640
|
-
className: t("w-full rounded-md border border-border-
|
|
640
|
+
className: t("w-full rounded-md border border-border-seam 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
642
|
className: "block text-sm font-medium text-text-primary mb-1",
|
|
643
643
|
children: "Account Holder"
|
|
@@ -649,7 +649,7 @@ var C = [
|
|
|
649
649
|
accountHolder: e.target.value
|
|
650
650
|
})),
|
|
651
651
|
disabled: !f,
|
|
652
|
-
className: t("w-full rounded-md border border-border-
|
|
652
|
+
className: t("w-full rounded-md border border-border-seam 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", {
|
|
@@ -665,7 +665,7 @@ var C = [
|
|
|
665
665
|
accountNumber: e.target.value
|
|
666
666
|
})),
|
|
667
667
|
disabled: !f,
|
|
668
|
-
className: t("w-full rounded-md border border-border-
|
|
668
|
+
className: t("w-full rounded-md border border-border-seam 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
670
|
className: "block text-sm font-medium text-text-primary mb-1",
|
|
671
671
|
children: "IFSC Code"
|
|
@@ -677,7 +677,7 @@ var C = [
|
|
|
677
677
|
ifscCode: e.target.value
|
|
678
678
|
})),
|
|
679
679
|
disabled: !f,
|
|
680
|
-
className: t("w-full rounded-md border border-border-
|
|
680
|
+
className: t("w-full rounded-md border border-border-seam 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", {
|
|
@@ -693,7 +693,7 @@ var C = [
|
|
|
693
693
|
upiId: e.target.value
|
|
694
694
|
})),
|
|
695
695
|
disabled: !f,
|
|
696
|
-
className: t("w-full rounded-md border border-border-
|
|
696
|
+
className: t("w-full rounded-md border border-border-seam 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
698
|
className: "block text-sm font-medium text-text-primary mb-1",
|
|
699
699
|
children: "Payout Schedule"
|
|
@@ -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-
|
|
707
|
+
className: t("w-full rounded-md border border-border-seam 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,7 +731,7 @@ var C = [
|
|
|
731
731
|
className: "space-y-6",
|
|
732
732
|
children: [
|
|
733
733
|
/* @__PURE__ */ S("div", {
|
|
734
|
-
className: "rounded-lg border border-border-
|
|
734
|
+
className: "rounded-lg border border-border-seam p-5",
|
|
735
735
|
children: [
|
|
736
736
|
/* @__PURE__ */ S("h3", {
|
|
737
737
|
className: "text-sm font-semibold text-text-primary flex items-center gap-2 mb-3",
|
|
@@ -752,13 +752,13 @@ 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-
|
|
755
|
+
className: "rounded-md border border-border-seam 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-
|
|
761
|
+
className: "rounded-lg border border-border-seam 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", {
|
|
@@ -773,19 +773,19 @@ 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-
|
|
777
|
-
children: /* @__PURE__ */ x("div", { className: t("absolute top-0.5 h-5 w-5 rounded-full bg-
|
|
776
|
+
className: t("h-6 w-11 rounded-full transition-colors relative", P.twoFactorEnabled ? "bg-status-success-text" : "bg-muted-foreground/30"),
|
|
777
|
+
children: /* @__PURE__ */ x("div", { className: t("absolute top-0.5 h-5 w-5 rounded-full bg-bg-surface 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-
|
|
788
|
+
className: "rounded-lg border border-border-seam p-5",
|
|
789
789
|
children: [/* @__PURE__ */ x("h3", {
|
|
790
790
|
className: "text-sm font-semibold text-text-primary mb-3",
|
|
791
791
|
children: "Active Sessions"
|
|
@@ -800,7 +800,7 @@ var C = [
|
|
|
800
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", {
|
|
@@ -867,8 +867,8 @@ 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-
|
|
871
|
-
children: /* @__PURE__ */ x("div", { className: t("absolute top-0.5 h-5 w-5 rounded-full bg-
|
|
870
|
+
className: t("h-6 w-11 rounded-full transition-colors relative", I[e.key] ? "bg-status-info-text" : "bg-muted-foreground/30"),
|
|
871
|
+
children: /* @__PURE__ */ x("div", { className: t("absolute top-0.5 h-5 w-5 rounded-full bg-bg-surface transition-transform", I[e.key] ? "translate-x-5" : "translate-x-0.5") })
|
|
872
872
|
})]
|
|
873
873
|
}, e.key))
|
|
874
874
|
})
|