@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
|
@@ -120,7 +120,7 @@ function I({ checked: e, onChange: n, label: r }) {
|
|
|
120
120
|
"aria-checked": e,
|
|
121
121
|
"aria-label": r,
|
|
122
122
|
onClick: () => n(!e),
|
|
123
|
-
className: t("relative inline-flex h-6 w-11 items-center rounded-full transition-colors shrink-0", e ? "bg-primary" : "bg-
|
|
123
|
+
className: t("relative inline-flex h-6 w-11 items-center rounded-full transition-colors shrink-0", e ? "bg-action-primary-bg" : "bg-bg-sunken"),
|
|
124
124
|
children: /* @__PURE__ */ M("span", { className: t("inline-block h-4 w-4 transform rounded-full bg-white transition-transform", e ? "translate-x-6" : "translate-x-1") })
|
|
125
125
|
});
|
|
126
126
|
}
|
|
@@ -192,18 +192,18 @@ function L() {
|
|
|
192
192
|
children: [B && /* @__PURE__ */ N("button", {
|
|
193
193
|
type: "button",
|
|
194
194
|
onClick: X,
|
|
195
|
-
className: "flex items-center gap-1.5 rounded-lg border border-border px-3 py-2 text-sm font-medium text-
|
|
195
|
+
className: "flex items-center gap-1.5 rounded-lg border border-border-subtle px-3 py-2 text-sm font-medium text-text-primary hover:bg-accent transition-colors",
|
|
196
196
|
children: [/* @__PURE__ */ M(C, { className: "h-4 w-4" }), K("adaptercloud.settings.reset", "Reset")]
|
|
197
197
|
}), /* @__PURE__ */ M("button", {
|
|
198
198
|
type: "button",
|
|
199
199
|
disabled: !B || H,
|
|
200
200
|
onClick: Z,
|
|
201
|
-
className: t("flex items-center gap-1.5 rounded-lg px-4 py-2 text-sm font-medium transition-colors", B && !H ? "bg-primary text-primary-
|
|
201
|
+
className: t("flex items-center gap-1.5 rounded-lg px-4 py-2 text-sm font-medium transition-colors", B && !H ? "bg-action-primary-bg text-action-primary-text hover:bg-action-primary-bg/90" : "bg-bg-sunken text-text-secondary cursor-not-allowed"),
|
|
202
202
|
children: H ? /* @__PURE__ */ N(j, { children: [/* @__PURE__ */ M(g, { className: "h-4 w-4 animate-spin" }), K("adaptercloud.settings.saving", "Saving...")] }) : /* @__PURE__ */ N(j, { children: [/* @__PURE__ */ M(w, { className: "h-4 w-4" }), K("adaptercloud.settings.save", "Save Settings")] })
|
|
203
203
|
})]
|
|
204
204
|
}),
|
|
205
205
|
children: [W && /* @__PURE__ */ N("div", {
|
|
206
|
-
className: t("mb-6 flex items-center gap-2 rounded-lg border p-3 text-sm", W.includes("successfully") ? "border-
|
|
206
|
+
className: t("mb-6 flex items-center gap-2 rounded-lg border p-3 text-sm", W.includes("successfully") ? "border-status-success-border/30 bg-status-success-bg-subtle/5 text-status-success-text" : "border-status-error-border/30 bg-status-error-bg-subtle/5 text-status-error-text"),
|
|
207
207
|
children: [W.includes("successfully") ? /* @__PURE__ */ M(d, { className: "h-4 w-4 shrink-0" }) : /* @__PURE__ */ M(s, { className: "h-4 w-4 shrink-0" }), W]
|
|
208
208
|
}), /* @__PURE__ */ N("div", {
|
|
209
209
|
className: "flex flex-col gap-6 lg:flex-row",
|
|
@@ -216,7 +216,7 @@ function L() {
|
|
|
216
216
|
return /* @__PURE__ */ N("button", {
|
|
217
217
|
type: "button",
|
|
218
218
|
onClick: () => L(e.id),
|
|
219
|
-
className: t("flex flex-col items-center gap-1 rounded-lg py-2.5 text-center transition-colors", A === e.id ? "bg-primary/10 text-
|
|
219
|
+
className: t("flex flex-col items-center gap-1 rounded-lg py-2.5 text-center transition-colors", A === e.id ? "bg-action-primary-bg/10 text-text-primary" : "text-text-secondary hover:text-text-primary hover:bg-accent"),
|
|
220
220
|
children: [/* @__PURE__ */ M(n, { className: "h-4 w-4" }), /* @__PURE__ */ M("span", {
|
|
221
221
|
className: "text-xs font-medium",
|
|
222
222
|
children: e.label
|
|
@@ -224,11 +224,11 @@ function L() {
|
|
|
224
224
|
}, e.id);
|
|
225
225
|
})
|
|
226
226
|
}), /* @__PURE__ */ N("div", {
|
|
227
|
-
className: "hidden lg:block rounded-lg border border-border bg-
|
|
227
|
+
className: "hidden lg:block rounded-lg border border-border-subtle bg-bg-surface",
|
|
228
228
|
children: [/* @__PURE__ */ M("div", {
|
|
229
|
-
className: "p-3 border-b border-border",
|
|
229
|
+
className: "p-3 border-b border-border-subtle",
|
|
230
230
|
children: /* @__PURE__ */ M("p", {
|
|
231
|
-
className: "text-sm font-semibold text-
|
|
231
|
+
className: "text-sm font-semibold text-text-primary",
|
|
232
232
|
children: K("adaptercloud.settings.title", "Settings")
|
|
233
233
|
})
|
|
234
234
|
}), /* @__PURE__ */ M("nav", {
|
|
@@ -238,20 +238,20 @@ function L() {
|
|
|
238
238
|
return /* @__PURE__ */ N("button", {
|
|
239
239
|
type: "button",
|
|
240
240
|
onClick: () => L(e.id),
|
|
241
|
-
className: t("flex w-full items-center gap-2.5 rounded-lg px-3 py-2 text-sm font-medium transition-colors mb-0.5", A === e.id ? "bg-primary/10 text-
|
|
241
|
+
className: t("flex w-full items-center gap-2.5 rounded-lg px-3 py-2 text-sm font-medium transition-colors mb-0.5", A === e.id ? "bg-action-primary-bg/10 text-text-primary" : "text-text-secondary hover:text-text-primary hover:bg-accent"),
|
|
242
242
|
children: [/* @__PURE__ */ M(n, { className: "h-4 w-4" }), e.label]
|
|
243
243
|
}, e.id);
|
|
244
244
|
})
|
|
245
245
|
})]
|
|
246
246
|
})]
|
|
247
247
|
}), /* @__PURE__ */ M("div", {
|
|
248
|
-
className: "flex-1 rounded-lg border border-border bg-
|
|
248
|
+
className: "flex-1 rounded-lg border border-border-seam bg-bg-surface p-6 bg-gloss-card shadow-pop",
|
|
249
249
|
children: {
|
|
250
250
|
profile: () => /* @__PURE__ */ N("div", {
|
|
251
251
|
className: "space-y-6",
|
|
252
252
|
children: [
|
|
253
253
|
/* @__PURE__ */ M("h3", {
|
|
254
|
-
className: "text-base font-semibold text-
|
|
254
|
+
className: "text-base font-semibold text-text-primary",
|
|
255
255
|
children: "Personal Information"
|
|
256
256
|
}),
|
|
257
257
|
/* @__PURE__ */ N("div", {
|
|
@@ -261,88 +261,88 @@ function L() {
|
|
|
261
261
|
children: [/* @__PURE__ */ M("img", {
|
|
262
262
|
src: R.profile.profilePicture,
|
|
263
263
|
alt: "Profile",
|
|
264
|
-
className: "h-20 w-20 rounded-full object-cover border border-border"
|
|
264
|
+
className: "h-20 w-20 rounded-full object-cover border border-border-subtle"
|
|
265
265
|
}), /* @__PURE__ */ M("button", {
|
|
266
266
|
type: "button",
|
|
267
267
|
onClick: () => alert("Photo upload coming soon"),
|
|
268
|
-
className: "absolute -bottom-1 -right-1 flex h-7 w-7 items-center justify-center rounded-full bg-primary text-primary-
|
|
268
|
+
className: "absolute -bottom-1 -right-1 flex h-7 w-7 items-center justify-center rounded-full bg-action-primary-bg text-action-primary-text shadow-sm hover:bg-action-primary-bg/90",
|
|
269
269
|
children: /* @__PURE__ */ M(u, { className: "h-3.5 w-3.5" })
|
|
270
270
|
})]
|
|
271
271
|
}), /* @__PURE__ */ N("div", { children: [/* @__PURE__ */ M("p", {
|
|
272
|
-
className: "text-sm font-medium text-
|
|
272
|
+
className: "text-sm font-medium text-text-primary",
|
|
273
273
|
children: "Profile Picture"
|
|
274
274
|
}), /* @__PURE__ */ M("p", {
|
|
275
|
-
className: "text-xs text-
|
|
275
|
+
className: "text-xs text-text-secondary",
|
|
276
276
|
children: "Upload a new photo (JPG, PNG, max 2MB)"
|
|
277
277
|
})] })]
|
|
278
278
|
}),
|
|
279
279
|
/* @__PURE__ */ N("div", {
|
|
280
280
|
className: "grid grid-cols-1 gap-4 sm:grid-cols-2",
|
|
281
281
|
children: [/* @__PURE__ */ N("div", { children: [/* @__PURE__ */ M("label", {
|
|
282
|
-
className: "block text-sm font-medium text-
|
|
282
|
+
className: "block text-sm font-medium text-text-primary mb-1.5",
|
|
283
283
|
children: "First Name *"
|
|
284
284
|
}), /* @__PURE__ */ M("input", {
|
|
285
285
|
type: "text",
|
|
286
286
|
value: R.profile.firstName,
|
|
287
287
|
onChange: (e) => J("profile", "firstName", e.target.value),
|
|
288
|
-
className: "w-full rounded-lg border border-border bg-
|
|
288
|
+
className: "w-full rounded-lg border border-border-subtle bg-bg-surface py-2 px-3 text-sm text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
|
|
289
289
|
})] }), /* @__PURE__ */ N("div", { children: [/* @__PURE__ */ M("label", {
|
|
290
|
-
className: "block text-sm font-medium text-
|
|
290
|
+
className: "block text-sm font-medium text-text-primary mb-1.5",
|
|
291
291
|
children: "Last Name *"
|
|
292
292
|
}), /* @__PURE__ */ M("input", {
|
|
293
293
|
type: "text",
|
|
294
294
|
value: R.profile.lastName,
|
|
295
295
|
onChange: (e) => J("profile", "lastName", e.target.value),
|
|
296
|
-
className: "w-full rounded-lg border border-border bg-
|
|
296
|
+
className: "w-full rounded-lg border border-border-subtle bg-bg-surface py-2 px-3 text-sm text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
|
|
297
297
|
})] })]
|
|
298
298
|
}),
|
|
299
299
|
/* @__PURE__ */ N("div", {
|
|
300
300
|
className: "grid grid-cols-1 gap-4 sm:grid-cols-2",
|
|
301
301
|
children: [/* @__PURE__ */ N("div", { children: [/* @__PURE__ */ M("label", {
|
|
302
|
-
className: "block text-sm font-medium text-
|
|
302
|
+
className: "block text-sm font-medium text-text-primary mb-1.5",
|
|
303
303
|
children: "Email Address *"
|
|
304
304
|
}), /* @__PURE__ */ M("input", {
|
|
305
305
|
type: "email",
|
|
306
306
|
value: R.profile.email,
|
|
307
307
|
onChange: (e) => J("profile", "email", e.target.value),
|
|
308
|
-
className: "w-full rounded-lg border border-border bg-
|
|
308
|
+
className: "w-full rounded-lg border border-border-subtle bg-bg-surface py-2 px-3 text-sm text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
|
|
309
309
|
})] }), /* @__PURE__ */ N("div", { children: [/* @__PURE__ */ M("label", {
|
|
310
|
-
className: "block text-sm font-medium text-
|
|
310
|
+
className: "block text-sm font-medium text-text-primary mb-1.5",
|
|
311
311
|
children: "Phone Number"
|
|
312
312
|
}), /* @__PURE__ */ M("input", {
|
|
313
313
|
type: "tel",
|
|
314
314
|
value: R.profile.phone,
|
|
315
315
|
onChange: (e) => J("profile", "phone", e.target.value),
|
|
316
|
-
className: "w-full rounded-lg border border-border bg-
|
|
316
|
+
className: "w-full rounded-lg border border-border-subtle bg-bg-surface py-2 px-3 text-sm text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
|
|
317
317
|
})] })]
|
|
318
318
|
}),
|
|
319
319
|
/* @__PURE__ */ N("div", { children: [/* @__PURE__ */ M("label", {
|
|
320
|
-
className: "block text-sm font-medium text-
|
|
320
|
+
className: "block text-sm font-medium text-text-primary mb-1.5",
|
|
321
321
|
children: "Bio"
|
|
322
322
|
}), /* @__PURE__ */ M("textarea", {
|
|
323
323
|
rows: 3,
|
|
324
324
|
value: R.profile.bio,
|
|
325
325
|
onChange: (e) => J("profile", "bio", e.target.value),
|
|
326
326
|
placeholder: "Tell us about yourself...",
|
|
327
|
-
className: "w-full rounded-lg border border-border bg-
|
|
327
|
+
className: "w-full rounded-lg border border-border-subtle bg-bg-surface py-2 px-3 text-sm text-text-primary placeholder:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)] resize-none"
|
|
328
328
|
})] }),
|
|
329
329
|
/* @__PURE__ */ N("div", {
|
|
330
330
|
className: "grid grid-cols-1 gap-4 sm:grid-cols-2",
|
|
331
331
|
children: [/* @__PURE__ */ N("div", { children: [/* @__PURE__ */ M("label", {
|
|
332
|
-
className: "block text-sm font-medium text-
|
|
332
|
+
className: "block text-sm font-medium text-text-primary mb-1.5",
|
|
333
333
|
children: "Date of Birth"
|
|
334
334
|
}), /* @__PURE__ */ M("input", {
|
|
335
335
|
type: "date",
|
|
336
336
|
value: R.profile.dateOfBirth,
|
|
337
337
|
onChange: (e) => J("profile", "dateOfBirth", e.target.value),
|
|
338
|
-
className: "w-full rounded-lg border border-border bg-
|
|
338
|
+
className: "w-full rounded-lg border border-border-subtle bg-bg-surface py-2 px-3 text-sm text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
|
|
339
339
|
})] }), /* @__PURE__ */ N("div", { children: [/* @__PURE__ */ M("label", {
|
|
340
|
-
className: "block text-sm font-medium text-
|
|
340
|
+
className: "block text-sm font-medium text-text-primary mb-1.5",
|
|
341
341
|
children: "Gender"
|
|
342
342
|
}), /* @__PURE__ */ N("select", {
|
|
343
343
|
value: R.profile.gender,
|
|
344
344
|
onChange: (e) => J("profile", "gender", e.target.value),
|
|
345
|
-
className: "w-full rounded-lg border border-border bg-
|
|
345
|
+
className: "w-full rounded-lg border border-border-subtle bg-bg-surface py-2 px-3 text-sm text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]",
|
|
346
346
|
children: [
|
|
347
347
|
/* @__PURE__ */ M("option", {
|
|
348
348
|
value: "",
|
|
@@ -373,22 +373,22 @@ function L() {
|
|
|
373
373
|
className: "space-y-6",
|
|
374
374
|
children: [
|
|
375
375
|
/* @__PURE__ */ M("h3", {
|
|
376
|
-
className: "text-base font-semibold text-
|
|
376
|
+
className: "text-base font-semibold text-text-primary",
|
|
377
377
|
children: "App Preferences"
|
|
378
378
|
}),
|
|
379
379
|
/* @__PURE__ */ N("div", {
|
|
380
380
|
className: "grid grid-cols-1 gap-4 sm:grid-cols-3",
|
|
381
381
|
children: [
|
|
382
382
|
/* @__PURE__ */ N("div", { children: [/* @__PURE__ */ M("label", {
|
|
383
|
-
className: "block text-sm font-medium text-
|
|
383
|
+
className: "block text-sm font-medium text-text-primary mb-1.5",
|
|
384
384
|
children: /* @__PURE__ */ N("span", {
|
|
385
385
|
className: "flex items-center gap-1.5",
|
|
386
|
-
children: [/* @__PURE__ */ M(m, { className: "h-4 w-4 text-
|
|
386
|
+
children: [/* @__PURE__ */ M(m, { className: "h-4 w-4 text-text-secondary" }), " Language"]
|
|
387
387
|
})
|
|
388
388
|
}), /* @__PURE__ */ N("select", {
|
|
389
389
|
value: R.preferences.language,
|
|
390
390
|
onChange: (e) => J("preferences", "language", e.target.value),
|
|
391
|
-
className: "w-full rounded-lg border border-border bg-
|
|
391
|
+
className: "w-full rounded-lg border border-border-subtle bg-bg-surface py-2 px-3 text-sm text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]",
|
|
392
392
|
children: [
|
|
393
393
|
/* @__PURE__ */ M("option", {
|
|
394
394
|
value: "en",
|
|
@@ -417,12 +417,12 @@ function L() {
|
|
|
417
417
|
]
|
|
418
418
|
})] }),
|
|
419
419
|
/* @__PURE__ */ N("div", { children: [/* @__PURE__ */ M("label", {
|
|
420
|
-
className: "block text-sm font-medium text-
|
|
420
|
+
className: "block text-sm font-medium text-text-primary mb-1.5",
|
|
421
421
|
children: "Timezone"
|
|
422
422
|
}), /* @__PURE__ */ N("select", {
|
|
423
423
|
value: R.preferences.timezone,
|
|
424
424
|
onChange: (e) => J("preferences", "timezone", e.target.value),
|
|
425
|
-
className: "w-full rounded-lg border border-border bg-
|
|
425
|
+
className: "w-full rounded-lg border border-border-subtle bg-bg-surface py-2 px-3 text-sm text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]",
|
|
426
426
|
children: [
|
|
427
427
|
/* @__PURE__ */ M("option", {
|
|
428
428
|
value: "Asia/Kolkata",
|
|
@@ -443,12 +443,12 @@ function L() {
|
|
|
443
443
|
]
|
|
444
444
|
})] }),
|
|
445
445
|
/* @__PURE__ */ N("div", { children: [/* @__PURE__ */ M("label", {
|
|
446
|
-
className: "block text-sm font-medium text-
|
|
446
|
+
className: "block text-sm font-medium text-text-primary mb-1.5",
|
|
447
447
|
children: "Currency"
|
|
448
448
|
}), /* @__PURE__ */ N("select", {
|
|
449
449
|
value: R.preferences.currency,
|
|
450
450
|
onChange: (e) => J("preferences", "currency", e.target.value),
|
|
451
|
-
className: "w-full rounded-lg border border-border bg-
|
|
451
|
+
className: "w-full rounded-lg border border-border-subtle bg-bg-surface py-2 px-3 text-sm text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]",
|
|
452
452
|
children: [
|
|
453
453
|
/* @__PURE__ */ M("option", {
|
|
454
454
|
value: "INR",
|
|
@@ -471,7 +471,7 @@ function L() {
|
|
|
471
471
|
]
|
|
472
472
|
}),
|
|
473
473
|
/* @__PURE__ */ N("div", { children: [/* @__PURE__ */ M("label", {
|
|
474
|
-
className: "block text-sm font-medium text-
|
|
474
|
+
className: "block text-sm font-medium text-text-primary mb-3",
|
|
475
475
|
children: "Theme"
|
|
476
476
|
}), /* @__PURE__ */ M("div", {
|
|
477
477
|
className: "flex gap-3 flex-wrap",
|
|
@@ -492,7 +492,7 @@ function L() {
|
|
|
492
492
|
Icon: b
|
|
493
493
|
}
|
|
494
494
|
].map(({ value: e, label: n, Icon: r }) => /* @__PURE__ */ N("label", {
|
|
495
|
-
className: t("flex items-center gap-2 rounded-lg border px-4 py-2.5 text-sm font-medium cursor-pointer transition-colors", R.preferences.theme === e ? "border-primary bg-primary/10 text-
|
|
495
|
+
className: t("flex items-center gap-2 rounded-lg border px-4 py-2.5 text-sm font-medium cursor-pointer transition-colors", R.preferences.theme === e ? "border-primary bg-action-primary-bg/10 text-text-primary" : "border-border-subtle text-text-secondary hover:border-accent-foreground/20 hover:text-text-primary"),
|
|
496
496
|
children: [
|
|
497
497
|
/* @__PURE__ */ M("input", {
|
|
498
498
|
type: "radio",
|
|
@@ -509,8 +509,8 @@ function L() {
|
|
|
509
509
|
})] }),
|
|
510
510
|
/* @__PURE__ */ N("div", { children: [/* @__PURE__ */ N("div", {
|
|
511
511
|
className: "flex items-center gap-2 mb-4",
|
|
512
|
-
children: [/* @__PURE__ */ M(c, { className: "h-4 w-4 text-
|
|
513
|
-
className: "text-sm font-semibold text-
|
|
512
|
+
children: [/* @__PURE__ */ M(c, { className: "h-4 w-4 text-text-secondary" }), /* @__PURE__ */ M("h4", {
|
|
513
|
+
className: "text-sm font-semibold text-text-primary",
|
|
514
514
|
children: "Notification Preferences"
|
|
515
515
|
})]
|
|
516
516
|
}), /* @__PURE__ */ M("div", {
|
|
@@ -545,9 +545,9 @@ function L() {
|
|
|
545
545
|
label: "Security alerts"
|
|
546
546
|
}
|
|
547
547
|
].map((e) => /* @__PURE__ */ N("div", {
|
|
548
|
-
className: "flex items-center justify-between rounded-lg border border-border p-3",
|
|
548
|
+
className: "flex items-center justify-between rounded-lg border border-border-subtle p-3",
|
|
549
549
|
children: [/* @__PURE__ */ M("span", {
|
|
550
|
-
className: "text-sm text-
|
|
550
|
+
className: "text-sm text-text-primary",
|
|
551
551
|
children: e.label
|
|
552
552
|
}), /* @__PURE__ */ M(I, {
|
|
553
553
|
checked: R.preferences.notifications[e.key],
|
|
@@ -562,31 +562,31 @@ function L() {
|
|
|
562
562
|
className: "space-y-6",
|
|
563
563
|
children: [
|
|
564
564
|
/* @__PURE__ */ M("h3", {
|
|
565
|
-
className: "text-base font-semibold text-
|
|
565
|
+
className: "text-base font-semibold text-text-primary",
|
|
566
566
|
children: "Security Settings"
|
|
567
567
|
}),
|
|
568
568
|
/* @__PURE__ */ N("div", {
|
|
569
|
-
className: "flex items-start gap-3 rounded-lg border border-
|
|
570
|
-
children: [/* @__PURE__ */ M(s, { className: "h-5 w-5 text-
|
|
571
|
-
className: "text-sm font-medium text-
|
|
569
|
+
className: "flex items-start gap-3 rounded-lg border border-status-warning-border/30 bg-status-warning-bg-subtle/5 p-4",
|
|
570
|
+
children: [/* @__PURE__ */ M(s, { className: "h-5 w-5 text-status-warning-text shrink-0 mt-0.5" }), /* @__PURE__ */ N("div", { children: [/* @__PURE__ */ M("p", {
|
|
571
|
+
className: "text-sm font-medium text-text-primary",
|
|
572
572
|
children: "Account Security"
|
|
573
573
|
}), /* @__PURE__ */ M("p", {
|
|
574
|
-
className: "text-xs text-
|
|
574
|
+
className: "text-xs text-text-secondary",
|
|
575
575
|
children: "Keep your account secure by enabling two-factor authentication and monitoring login activity."
|
|
576
576
|
})] })]
|
|
577
577
|
}),
|
|
578
578
|
/* @__PURE__ */ N("div", {
|
|
579
|
-
className: "flex items-center justify-between rounded-lg border border-border p-4",
|
|
579
|
+
className: "flex items-center justify-between rounded-lg border border-border-subtle p-4",
|
|
580
580
|
children: [/* @__PURE__ */ N("div", {
|
|
581
581
|
className: "flex-1",
|
|
582
582
|
children: [/* @__PURE__ */ N("div", {
|
|
583
583
|
className: "flex items-center gap-2",
|
|
584
|
-
children: [/* @__PURE__ */ M(_, { className: "h-4 w-4 text-
|
|
585
|
-
className: "text-sm font-medium text-
|
|
584
|
+
children: [/* @__PURE__ */ M(_, { className: "h-4 w-4 text-text-secondary" }), /* @__PURE__ */ M("p", {
|
|
585
|
+
className: "text-sm font-medium text-text-primary",
|
|
586
586
|
children: "Two-Factor Authentication"
|
|
587
587
|
})]
|
|
588
588
|
}), /* @__PURE__ */ M("p", {
|
|
589
|
-
className: "text-xs text-
|
|
589
|
+
className: "text-xs text-text-secondary mt-0.5 ml-6",
|
|
590
590
|
children: "Add an extra layer of security to your account"
|
|
591
591
|
})]
|
|
592
592
|
}), /* @__PURE__ */ M(I, {
|
|
@@ -596,14 +596,14 @@ function L() {
|
|
|
596
596
|
})]
|
|
597
597
|
}),
|
|
598
598
|
/* @__PURE__ */ N("div", {
|
|
599
|
-
className: "flex items-center justify-between rounded-lg border border-border p-4",
|
|
599
|
+
className: "flex items-center justify-between rounded-lg border border-border-subtle p-4",
|
|
600
600
|
children: [/* @__PURE__ */ N("div", {
|
|
601
601
|
className: "flex-1",
|
|
602
602
|
children: [/* @__PURE__ */ M("p", {
|
|
603
|
-
className: "text-sm font-medium text-
|
|
603
|
+
className: "text-sm font-medium text-text-primary",
|
|
604
604
|
children: "Login Alerts"
|
|
605
605
|
}), /* @__PURE__ */ M("p", {
|
|
606
|
-
className: "text-xs text-
|
|
606
|
+
className: "text-xs text-text-secondary mt-0.5",
|
|
607
607
|
children: "Get notified when someone logs into your account"
|
|
608
608
|
})]
|
|
609
609
|
}), /* @__PURE__ */ M(I, {
|
|
@@ -613,20 +613,20 @@ function L() {
|
|
|
613
613
|
})]
|
|
614
614
|
}),
|
|
615
615
|
/* @__PURE__ */ N("div", {
|
|
616
|
-
className: "flex items-center justify-between rounded-lg border border-border p-4",
|
|
616
|
+
className: "flex items-center justify-between rounded-lg border border-border-subtle p-4",
|
|
617
617
|
children: [/* @__PURE__ */ N("div", {
|
|
618
618
|
className: "flex-1",
|
|
619
619
|
children: [/* @__PURE__ */ M("p", {
|
|
620
|
-
className: "text-sm font-medium text-
|
|
620
|
+
className: "text-sm font-medium text-text-primary",
|
|
621
621
|
children: "Session Timeout"
|
|
622
622
|
}), /* @__PURE__ */ M("p", {
|
|
623
|
-
className: "text-xs text-
|
|
623
|
+
className: "text-xs text-text-secondary mt-0.5",
|
|
624
624
|
children: "Auto-logout after inactivity"
|
|
625
625
|
})]
|
|
626
626
|
}), /* @__PURE__ */ N("select", {
|
|
627
627
|
value: R.security.sessionTimeout,
|
|
628
628
|
onChange: (e) => J("security", "sessionTimeout", e.target.value),
|
|
629
|
-
className: "rounded-lg border border-border bg-
|
|
629
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface py-2 px-3 text-sm text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)] w-36",
|
|
630
630
|
children: [
|
|
631
631
|
/* @__PURE__ */ M("option", {
|
|
632
632
|
value: "15",
|
|
@@ -652,25 +652,25 @@ function L() {
|
|
|
652
652
|
})]
|
|
653
653
|
}),
|
|
654
654
|
/* @__PURE__ */ N("div", { children: [/* @__PURE__ */ M("h4", {
|
|
655
|
-
className: "text-sm font-semibold text-
|
|
655
|
+
className: "text-sm font-semibold text-text-primary mb-3",
|
|
656
656
|
children: "Trusted Devices"
|
|
657
657
|
}), /* @__PURE__ */ M("div", {
|
|
658
658
|
className: "space-y-3",
|
|
659
659
|
children: R.security.trustedDevices.map((e) => /* @__PURE__ */ N("div", {
|
|
660
|
-
className: "flex items-center justify-between rounded-lg border border-border p-4",
|
|
660
|
+
className: "flex items-center justify-between rounded-lg border border-border-subtle p-4",
|
|
661
661
|
children: [/* @__PURE__ */ N("div", {
|
|
662
662
|
className: "flex items-center gap-3",
|
|
663
|
-
children: [e.os.toLowerCase().includes("mac") || e.os.toLowerCase().includes("windows") ? /* @__PURE__ */ M(h, { className: "h-5 w-5 text-
|
|
663
|
+
children: [e.os.toLowerCase().includes("mac") || e.os.toLowerCase().includes("windows") ? /* @__PURE__ */ M(h, { className: "h-5 w-5 text-text-secondary shrink-0" }) : /* @__PURE__ */ M(D, { className: "h-5 w-5 text-text-secondary shrink-0" }), /* @__PURE__ */ N("div", { children: [/* @__PURE__ */ N("div", {
|
|
664
664
|
className: "flex items-center gap-2",
|
|
665
665
|
children: [/* @__PURE__ */ M("p", {
|
|
666
|
-
className: "text-sm font-medium text-
|
|
666
|
+
className: "text-sm font-medium text-text-primary",
|
|
667
667
|
children: e.name
|
|
668
668
|
}), e.isCurrent && /* @__PURE__ */ M("span", {
|
|
669
|
-
className: "inline-flex items-center rounded-full bg-
|
|
669
|
+
className: "inline-flex items-center rounded-full bg-status-success-bg-subtle/20 px-2 py-0.5 text-xs font-medium text-status-success-text",
|
|
670
670
|
children: "Current"
|
|
671
671
|
})]
|
|
672
672
|
}), /* @__PURE__ */ N("p", {
|
|
673
|
-
className: "text-xs text-
|
|
673
|
+
className: "text-xs text-text-secondary",
|
|
674
674
|
children: [
|
|
675
675
|
e.browser,
|
|
676
676
|
" · ",
|
|
@@ -680,7 +680,7 @@ function L() {
|
|
|
680
680
|
}), !e.isCurrent && /* @__PURE__ */ M("button", {
|
|
681
681
|
type: "button",
|
|
682
682
|
onClick: () => Q(e.id),
|
|
683
|
-
className: "rounded-lg border border-border px-3 py-1.5 text-xs font-medium text-
|
|
683
|
+
className: "rounded-lg border border-border-subtle px-3 py-1.5 text-xs font-medium text-status-error-text hover:bg-status-error-bg/10 transition-colors",
|
|
684
684
|
children: "Remove"
|
|
685
685
|
})]
|
|
686
686
|
}, e.id))
|
|
@@ -690,12 +690,12 @@ function L() {
|
|
|
690
690
|
children: [/* @__PURE__ */ N("button", {
|
|
691
691
|
type: "button",
|
|
692
692
|
onClick: () => alert("Password change functionality coming soon"),
|
|
693
|
-
className: "flex items-center gap-1.5 rounded-lg border border-border px-4 py-2 text-sm font-medium text-
|
|
693
|
+
className: "flex items-center gap-1.5 rounded-lg border border-border-subtle px-4 py-2 text-sm font-medium text-text-primary hover:bg-accent transition-colors",
|
|
694
694
|
children: [/* @__PURE__ */ M(_, { className: "h-4 w-4" }), "Change Password"]
|
|
695
695
|
}), /* @__PURE__ */ N("button", {
|
|
696
696
|
type: "button",
|
|
697
697
|
onClick: $,
|
|
698
|
-
className: "flex items-center gap-1.5 rounded-lg border border-border px-4 py-2 text-sm font-medium text-
|
|
698
|
+
className: "flex items-center gap-1.5 rounded-lg border border-border-subtle px-4 py-2 text-sm font-medium text-text-primary hover:bg-accent transition-colors",
|
|
699
699
|
children: [/* @__PURE__ */ M(v, { className: "h-4 w-4" }), "Logout All Devices"]
|
|
700
700
|
})]
|
|
701
701
|
})
|
|
@@ -705,19 +705,19 @@ function L() {
|
|
|
705
705
|
className: "space-y-6",
|
|
706
706
|
children: [
|
|
707
707
|
/* @__PURE__ */ M("h3", {
|
|
708
|
-
className: "text-base font-semibold text-
|
|
708
|
+
className: "text-base font-semibold text-text-primary",
|
|
709
709
|
children: "Privacy Controls"
|
|
710
710
|
}),
|
|
711
711
|
/* @__PURE__ */ N("div", { children: [/* @__PURE__ */ M("label", {
|
|
712
|
-
className: "block text-sm font-medium text-
|
|
712
|
+
className: "block text-sm font-medium text-text-primary mb-1.5",
|
|
713
713
|
children: /* @__PURE__ */ N("span", {
|
|
714
714
|
className: "flex items-center gap-1.5",
|
|
715
|
-
children: [/* @__PURE__ */ M(p, { className: "h-4 w-4 text-
|
|
715
|
+
children: [/* @__PURE__ */ M(p, { className: "h-4 w-4 text-text-secondary" }), " Profile Visibility"]
|
|
716
716
|
})
|
|
717
717
|
}), /* @__PURE__ */ N("select", {
|
|
718
718
|
value: R.privacy.profileVisibility,
|
|
719
719
|
onChange: (e) => J("privacy", "profileVisibility", e.target.value),
|
|
720
|
-
className: "w-full max-w-sm rounded-lg border border-border bg-
|
|
720
|
+
className: "w-full max-w-sm rounded-lg border border-border-subtle bg-bg-surface py-2 px-3 text-sm text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]",
|
|
721
721
|
children: [
|
|
722
722
|
/* @__PURE__ */ M("option", {
|
|
723
723
|
value: "public",
|
|
@@ -734,7 +734,7 @@ function L() {
|
|
|
734
734
|
]
|
|
735
735
|
})] }),
|
|
736
736
|
/* @__PURE__ */ N("div", { children: [/* @__PURE__ */ M("h4", {
|
|
737
|
-
className: "text-sm font-semibold text-
|
|
737
|
+
className: "text-sm font-semibold text-text-primary mb-3",
|
|
738
738
|
children: "Data Sharing"
|
|
739
739
|
}), /* @__PURE__ */ M("div", {
|
|
740
740
|
className: "space-y-3",
|
|
@@ -752,9 +752,9 @@ function L() {
|
|
|
752
752
|
label: "Share data with third-party partners"
|
|
753
753
|
}
|
|
754
754
|
].map((e) => /* @__PURE__ */ N("div", {
|
|
755
|
-
className: "flex items-center justify-between rounded-lg border border-border p-3",
|
|
755
|
+
className: "flex items-center justify-between rounded-lg border border-border-subtle p-3",
|
|
756
756
|
children: [/* @__PURE__ */ M("span", {
|
|
757
|
-
className: "text-sm text-
|
|
757
|
+
className: "text-sm text-text-primary",
|
|
758
758
|
children: e.label
|
|
759
759
|
}), /* @__PURE__ */ M(I, {
|
|
760
760
|
checked: R.privacy.dataSharing[e.key],
|
|
@@ -766,12 +766,12 @@ function L() {
|
|
|
766
766
|
/* @__PURE__ */ N("div", {
|
|
767
767
|
className: "space-y-3",
|
|
768
768
|
children: [/* @__PURE__ */ N("div", {
|
|
769
|
-
className: "flex items-center justify-between rounded-lg border border-border p-4",
|
|
769
|
+
className: "flex items-center justify-between rounded-lg border border-border-subtle p-4",
|
|
770
770
|
children: [/* @__PURE__ */ N("div", { children: [/* @__PURE__ */ M("p", {
|
|
771
|
-
className: "text-sm font-medium text-
|
|
771
|
+
className: "text-sm font-medium text-text-primary",
|
|
772
772
|
children: "Location Tracking"
|
|
773
773
|
}), /* @__PURE__ */ M("p", {
|
|
774
|
-
className: "text-xs text-
|
|
774
|
+
className: "text-xs text-text-secondary",
|
|
775
775
|
children: "Allow app to track your location for better service"
|
|
776
776
|
})] }), /* @__PURE__ */ M(I, {
|
|
777
777
|
checked: R.privacy.locationTracking,
|
|
@@ -779,12 +779,12 @@ function L() {
|
|
|
779
779
|
label: "Location tracking"
|
|
780
780
|
})]
|
|
781
781
|
}), /* @__PURE__ */ N("div", {
|
|
782
|
-
className: "flex items-center justify-between rounded-lg border border-border p-4",
|
|
782
|
+
className: "flex items-center justify-between rounded-lg border border-border-subtle p-4",
|
|
783
783
|
children: [/* @__PURE__ */ N("div", { children: [/* @__PURE__ */ M("p", {
|
|
784
|
-
className: "text-sm font-medium text-
|
|
784
|
+
className: "text-sm font-medium text-text-primary",
|
|
785
785
|
children: "Activity History"
|
|
786
786
|
}), /* @__PURE__ */ M("p", {
|
|
787
|
-
className: "text-xs text-
|
|
787
|
+
className: "text-xs text-text-secondary",
|
|
788
788
|
children: "Keep track of your orders and activities"
|
|
789
789
|
})] }), /* @__PURE__ */ M(I, {
|
|
790
790
|
checked: R.privacy.activityHistory,
|
|
@@ -794,22 +794,22 @@ function L() {
|
|
|
794
794
|
})]
|
|
795
795
|
}),
|
|
796
796
|
/* @__PURE__ */ M("div", {
|
|
797
|
-
className: "rounded-lg border border-
|
|
797
|
+
className: "rounded-lg border border-status-error-border/30 bg-status-error-bg-subtle/5 p-4",
|
|
798
798
|
children: /* @__PURE__ */ N("div", {
|
|
799
799
|
className: "flex items-start gap-3",
|
|
800
|
-
children: [/* @__PURE__ */ M(k, { className: "h-5 w-5 text-
|
|
800
|
+
children: [/* @__PURE__ */ M(k, { className: "h-5 w-5 text-status-error-text shrink-0 mt-0.5" }), /* @__PURE__ */ N("div", { children: [
|
|
801
801
|
/* @__PURE__ */ M("p", {
|
|
802
|
-
className: "text-sm font-medium text-
|
|
802
|
+
className: "text-sm font-medium text-text-primary",
|
|
803
803
|
children: "Delete Account"
|
|
804
804
|
}),
|
|
805
805
|
/* @__PURE__ */ M("p", {
|
|
806
|
-
className: "text-xs text-
|
|
806
|
+
className: "text-xs text-text-secondary mt-0.5",
|
|
807
807
|
children: "Permanently delete your account and all associated data. This action cannot be undone."
|
|
808
808
|
}),
|
|
809
809
|
/* @__PURE__ */ M("button", {
|
|
810
810
|
type: "button",
|
|
811
811
|
onClick: ee,
|
|
812
|
-
className: "mt-3 rounded-lg border border-
|
|
812
|
+
className: "mt-3 rounded-lg border border-status-error-border/30 px-4 py-2 text-sm font-medium text-status-error-text hover:bg-status-error-bg/10 transition-colors",
|
|
813
813
|
children: "Delete Account"
|
|
814
814
|
})
|
|
815
815
|
] })]
|
|
@@ -821,21 +821,21 @@ function L() {
|
|
|
821
821
|
className: "space-y-6",
|
|
822
822
|
children: [
|
|
823
823
|
/* @__PURE__ */ M("h3", {
|
|
824
|
-
className: "text-base font-semibold text-
|
|
824
|
+
className: "text-base font-semibold text-text-primary",
|
|
825
825
|
children: "Billing & Payments"
|
|
826
826
|
}),
|
|
827
827
|
/* @__PURE__ */ N("div", { children: [/* @__PURE__ */ M("h4", {
|
|
828
|
-
className: "text-sm font-semibold text-
|
|
828
|
+
className: "text-sm font-semibold text-text-primary mb-3",
|
|
829
829
|
children: /* @__PURE__ */ N("span", {
|
|
830
830
|
className: "flex items-center gap-1.5",
|
|
831
|
-
children: [/* @__PURE__ */ M(f, { className: "h-4 w-4 text-
|
|
831
|
+
children: [/* @__PURE__ */ M(f, { className: "h-4 w-4 text-text-secondary" }), " Default Payment Method"]
|
|
832
832
|
})
|
|
833
833
|
}), R.billing.paymentMethod ? /* @__PURE__ */ N("div", {
|
|
834
|
-
className: "flex items-center justify-between rounded-lg border border-border p-4",
|
|
834
|
+
className: "flex items-center justify-between rounded-lg border border-border-subtle p-4",
|
|
835
835
|
children: [/* @__PURE__ */ N("div", {
|
|
836
836
|
className: "flex items-center gap-3",
|
|
837
|
-
children: [/* @__PURE__ */ M(f, { className: "h-6 w-6 text-
|
|
838
|
-
className: "text-sm font-medium text-
|
|
837
|
+
children: [/* @__PURE__ */ M(f, { className: "h-6 w-6 text-text-secondary" }), /* @__PURE__ */ N("div", { children: [/* @__PURE__ */ N("p", {
|
|
838
|
+
className: "text-sm font-medium text-text-primary",
|
|
839
839
|
children: [
|
|
840
840
|
R.billing.paymentMethod.provider,
|
|
841
841
|
" ending in",
|
|
@@ -843,39 +843,39 @@ function L() {
|
|
|
843
843
|
R.billing.paymentMethod.last4
|
|
844
844
|
]
|
|
845
845
|
}), /* @__PURE__ */ M("p", {
|
|
846
|
-
className: "text-xs text-
|
|
846
|
+
className: "text-xs text-text-secondary capitalize",
|
|
847
847
|
children: R.billing.paymentMethod.type
|
|
848
848
|
})] })]
|
|
849
849
|
}), /* @__PURE__ */ M("button", {
|
|
850
850
|
type: "button",
|
|
851
851
|
onClick: () => alert("Change payment method coming soon"),
|
|
852
|
-
className: "rounded-lg border border-border px-3 py-1.5 text-sm font-medium text-
|
|
852
|
+
className: "rounded-lg border border-border-subtle px-3 py-1.5 text-sm font-medium text-text-primary hover:bg-accent transition-colors",
|
|
853
853
|
children: "Change"
|
|
854
854
|
})]
|
|
855
855
|
}) : /* @__PURE__ */ N("div", {
|
|
856
|
-
className: "rounded-lg border border-border p-4 text-center",
|
|
856
|
+
className: "rounded-lg border border-border-subtle p-4 text-center",
|
|
857
857
|
children: [/* @__PURE__ */ M("p", {
|
|
858
|
-
className: "text-sm text-
|
|
858
|
+
className: "text-sm text-text-secondary",
|
|
859
859
|
children: "No default payment method set"
|
|
860
860
|
}), /* @__PURE__ */ M("button", {
|
|
861
861
|
type: "button",
|
|
862
862
|
onClick: () => alert("Add payment method coming soon"),
|
|
863
|
-
className: "mt-2 rounded-lg bg-primary px-4 py-2 text-sm font-medium text-primary-
|
|
863
|
+
className: "mt-2 rounded-lg bg-action-primary-bg px-4 py-2 text-sm font-medium text-action-primary-text hover:bg-action-primary-bg/90 transition-colors",
|
|
864
864
|
children: "Add Payment Method"
|
|
865
865
|
})]
|
|
866
866
|
})] }),
|
|
867
867
|
/* @__PURE__ */ N("div", { children: [
|
|
868
868
|
/* @__PURE__ */ M("h4", {
|
|
869
|
-
className: "text-sm font-semibold text-
|
|
869
|
+
className: "text-sm font-semibold text-text-primary mb-3",
|
|
870
870
|
children: "Auto Recharge"
|
|
871
871
|
}),
|
|
872
872
|
/* @__PURE__ */ N("div", {
|
|
873
|
-
className: "flex items-center justify-between rounded-lg border border-border p-4 mb-3",
|
|
873
|
+
className: "flex items-center justify-between rounded-lg border border-border-subtle p-4 mb-3",
|
|
874
874
|
children: [/* @__PURE__ */ N("div", { children: [/* @__PURE__ */ M("p", {
|
|
875
|
-
className: "text-sm font-medium text-
|
|
875
|
+
className: "text-sm font-medium text-text-primary",
|
|
876
876
|
children: "Enable Auto Recharge"
|
|
877
877
|
}), /* @__PURE__ */ M("p", {
|
|
878
|
-
className: "text-xs text-
|
|
878
|
+
className: "text-xs text-text-secondary",
|
|
879
879
|
children: "Automatically add money when wallet balance is low"
|
|
880
880
|
})] }), /* @__PURE__ */ M(I, {
|
|
881
881
|
checked: R.billing.autoRecharge,
|
|
@@ -884,70 +884,70 @@ function L() {
|
|
|
884
884
|
})]
|
|
885
885
|
}),
|
|
886
886
|
R.billing.autoRecharge && /* @__PURE__ */ N("div", { children: [/* @__PURE__ */ M("label", {
|
|
887
|
-
className: "block text-sm font-medium text-
|
|
887
|
+
className: "block text-sm font-medium text-text-primary mb-1.5",
|
|
888
888
|
children: "Auto Recharge Amount (₹)"
|
|
889
889
|
}), /* @__PURE__ */ M("input", {
|
|
890
890
|
type: "number",
|
|
891
891
|
value: R.billing.autoRechargeAmount,
|
|
892
892
|
onChange: (e) => J("billing", "autoRechargeAmount", e.target.value),
|
|
893
893
|
placeholder: "1000",
|
|
894
|
-
className: "w-full max-w-xs rounded-lg border border-border bg-
|
|
894
|
+
className: "w-full max-w-xs rounded-lg border border-border-subtle bg-bg-surface py-2 px-3 text-sm text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
|
|
895
895
|
})] })
|
|
896
896
|
] }),
|
|
897
897
|
/* @__PURE__ */ N("div", { children: [/* @__PURE__ */ M("label", {
|
|
898
|
-
className: "block text-sm font-medium text-
|
|
898
|
+
className: "block text-sm font-medium text-text-primary mb-1.5",
|
|
899
899
|
children: /* @__PURE__ */ N("span", {
|
|
900
900
|
className: "flex items-center gap-1.5",
|
|
901
|
-
children: [/* @__PURE__ */ M(S, { className: "h-4 w-4 text-
|
|
901
|
+
children: [/* @__PURE__ */ M(S, { className: "h-4 w-4 text-text-secondary" }), " Invoice Email"]
|
|
902
902
|
})
|
|
903
903
|
}), /* @__PURE__ */ M("input", {
|
|
904
904
|
type: "email",
|
|
905
905
|
value: R.billing.invoiceEmail,
|
|
906
906
|
onChange: (e) => J("billing", "invoiceEmail", e.target.value),
|
|
907
907
|
placeholder: "billing@example.com",
|
|
908
|
-
className: "w-full max-w-sm rounded-lg border border-border bg-
|
|
908
|
+
className: "w-full max-w-sm rounded-lg border border-border-subtle bg-bg-surface py-2 px-3 text-sm text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
|
|
909
909
|
})] }),
|
|
910
910
|
/* @__PURE__ */ N("div", { children: [/* @__PURE__ */ M("h4", {
|
|
911
|
-
className: "text-sm font-semibold text-
|
|
911
|
+
className: "text-sm font-semibold text-text-primary mb-3",
|
|
912
912
|
children: /* @__PURE__ */ N("span", {
|
|
913
913
|
className: "flex items-center gap-1.5",
|
|
914
|
-
children: [/* @__PURE__ */ M(l, { className: "h-4 w-4 text-
|
|
914
|
+
children: [/* @__PURE__ */ M(l, { className: "h-4 w-4 text-text-secondary" }), " Tax Information"]
|
|
915
915
|
})
|
|
916
916
|
}), /* @__PURE__ */ N("div", {
|
|
917
917
|
className: "space-y-4",
|
|
918
918
|
children: [
|
|
919
919
|
/* @__PURE__ */ N("div", { children: [/* @__PURE__ */ M("label", {
|
|
920
|
-
className: "block text-sm font-medium text-
|
|
920
|
+
className: "block text-sm font-medium text-text-primary mb-1.5",
|
|
921
921
|
children: "GST Number"
|
|
922
922
|
}), /* @__PURE__ */ M("input", {
|
|
923
923
|
type: "text",
|
|
924
924
|
value: R.billing.gstNumber,
|
|
925
925
|
onChange: (e) => J("billing", "gstNumber", e.target.value),
|
|
926
926
|
placeholder: "29ABCDE1234F1Z5",
|
|
927
|
-
className: "w-full max-w-sm rounded-lg border border-border bg-
|
|
927
|
+
className: "w-full max-w-sm rounded-lg border border-border-subtle bg-bg-surface py-2 px-3 text-sm text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
|
|
928
928
|
})] }),
|
|
929
929
|
/* @__PURE__ */ N("div", { children: [/* @__PURE__ */ M("label", {
|
|
930
|
-
className: "block text-sm font-medium text-
|
|
930
|
+
className: "block text-sm font-medium text-text-primary mb-1.5",
|
|
931
931
|
children: "Company Name"
|
|
932
932
|
}), /* @__PURE__ */ M("input", {
|
|
933
933
|
type: "text",
|
|
934
934
|
value: R.billing.companyName,
|
|
935
935
|
onChange: (e) => J("billing", "companyName", e.target.value),
|
|
936
936
|
placeholder: "Your Company Name",
|
|
937
|
-
className: "w-full max-w-sm rounded-lg border border-border bg-
|
|
937
|
+
className: "w-full max-w-sm rounded-lg border border-border-subtle bg-bg-surface py-2 px-3 text-sm text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
|
|
938
938
|
})] }),
|
|
939
939
|
/* @__PURE__ */ N("div", { children: [/* @__PURE__ */ M("label", {
|
|
940
|
-
className: "block text-sm font-medium text-
|
|
940
|
+
className: "block text-sm font-medium text-text-primary mb-1.5",
|
|
941
941
|
children: /* @__PURE__ */ N("span", {
|
|
942
942
|
className: "flex items-center gap-1.5",
|
|
943
|
-
children: [/* @__PURE__ */ M(y, { className: "h-4 w-4 text-
|
|
943
|
+
children: [/* @__PURE__ */ M(y, { className: "h-4 w-4 text-text-secondary" }), " Billing Address"]
|
|
944
944
|
})
|
|
945
945
|
}), /* @__PURE__ */ M("textarea", {
|
|
946
946
|
rows: 3,
|
|
947
947
|
value: R.billing.billingAddress,
|
|
948
948
|
onChange: (e) => J("billing", "billingAddress", e.target.value),
|
|
949
949
|
placeholder: "Enter your complete billing address",
|
|
950
|
-
className: "w-full rounded-lg border border-border bg-
|
|
950
|
+
className: "w-full rounded-lg border border-border-subtle bg-bg-surface py-2 px-3 text-sm text-text-primary placeholder:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)] resize-none"
|
|
951
951
|
})] })
|
|
952
952
|
]
|
|
953
953
|
})] })
|