@burdenoff/microfe-adaptercloud 2026.625.1 → 2026.625.2

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.
Files changed (93) hide show
  1. package/dist/adaptercloud/components/PageLayout.js +24 -17
  2. package/dist/adaptercloud/components/PageLayout.js.map +1 -1
  3. package/dist/adaptercloud/pages/HomePage.js +18 -16
  4. package/dist/adaptercloud/pages/HomePage.js.map +1 -1
  5. package/dist/adaptercloud/pages/admin/AdminAnalyticsPage.js +90 -82
  6. package/dist/adaptercloud/pages/admin/AdminAnalyticsPage.js.map +1 -1
  7. package/dist/adaptercloud/pages/admin/AdminDashboard.js +70 -44
  8. package/dist/adaptercloud/pages/admin/AdminDashboard.js.map +1 -1
  9. package/dist/adaptercloud/pages/admin/AdminFinancialPage.js +60 -55
  10. package/dist/adaptercloud/pages/admin/AdminFinancialPage.js.map +1 -1
  11. package/dist/adaptercloud/pages/admin/AdminOrdersPage.js +97 -92
  12. package/dist/adaptercloud/pages/admin/AdminOrdersPage.js.map +1 -1
  13. package/dist/adaptercloud/pages/admin/AdminProfilePage.js +59 -57
  14. package/dist/adaptercloud/pages/admin/AdminProfilePage.js.map +1 -1
  15. package/dist/adaptercloud/pages/admin/AdminSettingsPage.js +118 -104
  16. package/dist/adaptercloud/pages/admin/AdminSettingsPage.js.map +1 -1
  17. package/dist/adaptercloud/pages/admin/CartManagementPage.js +145 -140
  18. package/dist/adaptercloud/pages/admin/CartManagementPage.js.map +1 -1
  19. package/dist/adaptercloud/pages/admin/UserManagementPage.js +152 -147
  20. package/dist/adaptercloud/pages/admin/UserManagementPage.js.map +1 -1
  21. package/dist/adaptercloud/pages/cart-owner/AnalyticsDashboard.js +87 -81
  22. package/dist/adaptercloud/pages/cart-owner/AnalyticsDashboard.js.map +1 -1
  23. package/dist/adaptercloud/pages/cart-owner/BusinessSettingsPage.js +179 -165
  24. package/dist/adaptercloud/pages/cart-owner/BusinessSettingsPage.js.map +1 -1
  25. package/dist/adaptercloud/pages/cart-owner/CartOwnerDashboard.js +73 -48
  26. package/dist/adaptercloud/pages/cart-owner/CartOwnerDashboard.js.map +1 -1
  27. package/dist/adaptercloud/pages/cart-owner/CartOwnerProfilePage.js +95 -93
  28. package/dist/adaptercloud/pages/cart-owner/CartOwnerProfilePage.js.map +1 -1
  29. package/dist/adaptercloud/pages/cart-owner/CartServiceConfigPage.js +110 -107
  30. package/dist/adaptercloud/pages/cart-owner/CartServiceConfigPage.js.map +1 -1
  31. package/dist/adaptercloud/pages/cart-owner/InventoryManagementPage.js +293 -299
  32. package/dist/adaptercloud/pages/cart-owner/InventoryManagementPage.js.map +1 -1
  33. package/dist/adaptercloud/pages/cart-owner/OrderManagementPage.js +218 -224
  34. package/dist/adaptercloud/pages/cart-owner/OrderManagementPage.js.map +1 -1
  35. package/dist/adaptercloud/pages/cart-owner/StaffManagementPage.js +122 -128
  36. package/dist/adaptercloud/pages/cart-owner/StaffManagementPage.js.map +1 -1
  37. package/dist/adaptercloud/pages/common/HelpSupportPage.js +248 -244
  38. package/dist/adaptercloud/pages/common/HelpSupportPage.js.map +1 -1
  39. package/dist/adaptercloud/pages/common/NotificationCenterPage.js +96 -91
  40. package/dist/adaptercloud/pages/common/NotificationCenterPage.js.map +1 -1
  41. package/dist/adaptercloud/pages/common/SettingsPage.js +754 -736
  42. package/dist/adaptercloud/pages/common/SettingsPage.js.map +1 -1
  43. package/dist/adaptercloud/pages/customer/BookingDetailsPage.js +63 -61
  44. package/dist/adaptercloud/pages/customer/BookingDetailsPage.js.map +1 -1
  45. package/dist/adaptercloud/pages/customer/CartDetailPage.js +110 -108
  46. package/dist/adaptercloud/pages/customer/CartDetailPage.js.map +1 -1
  47. package/dist/adaptercloud/pages/customer/CartDiscoveryPage.js +221 -217
  48. package/dist/adaptercloud/pages/customer/CartDiscoveryPage.js.map +1 -1
  49. package/dist/adaptercloud/pages/customer/CheckoutPage.js +89 -87
  50. package/dist/adaptercloud/pages/customer/CheckoutPage.js.map +1 -1
  51. package/dist/adaptercloud/pages/customer/CustomerDashboard.js +410 -381
  52. package/dist/adaptercloud/pages/customer/CustomerDashboard.js.map +1 -1
  53. package/dist/adaptercloud/pages/customer/CustomerProfilePage.js +120 -118
  54. package/dist/adaptercloud/pages/customer/CustomerProfilePage.js.map +1 -1
  55. package/dist/adaptercloud/pages/customer/DirectServiceBookingPage.js +86 -81
  56. package/dist/adaptercloud/pages/customer/DirectServiceBookingPage.js.map +1 -1
  57. package/dist/adaptercloud/pages/customer/FavoritesPage.js +53 -51
  58. package/dist/adaptercloud/pages/customer/FavoritesPage.js.map +1 -1
  59. package/dist/adaptercloud/pages/customer/OrderHistoryPage.js +114 -109
  60. package/dist/adaptercloud/pages/customer/OrderHistoryPage.js.map +1 -1
  61. package/dist/adaptercloud/pages/customer/OrderTrackingPage.js +60 -58
  62. package/dist/adaptercloud/pages/customer/OrderTrackingPage.js.map +1 -1
  63. package/dist/adaptercloud/pages/customer/PaymentMethodsPage.js +87 -72
  64. package/dist/adaptercloud/pages/customer/PaymentMethodsPage.js.map +1 -1
  65. package/dist/adaptercloud/pages/customer/ReviewsPage.js +65 -63
  66. package/dist/adaptercloud/pages/customer/ReviewsPage.js.map +1 -1
  67. package/dist/adaptercloud/pages/customer/SavedAddressesPage.js +68 -53
  68. package/dist/adaptercloud/pages/customer/SavedAddressesPage.js.map +1 -1
  69. package/dist/adaptercloud/pages/investor/InvestmentDetailsPage.js +63 -61
  70. package/dist/adaptercloud/pages/investor/InvestmentDetailsPage.js.map +1 -1
  71. package/dist/adaptercloud/pages/investor/InvestmentOpportunitiesPage.js +86 -84
  72. package/dist/adaptercloud/pages/investor/InvestmentOpportunitiesPage.js.map +1 -1
  73. package/dist/adaptercloud/pages/investor/InvestorAnalyticsPage.js +57 -55
  74. package/dist/adaptercloud/pages/investor/InvestorAnalyticsPage.js.map +1 -1
  75. package/dist/adaptercloud/pages/investor/InvestorDashboard.js +341 -308
  76. package/dist/adaptercloud/pages/investor/InvestorDashboard.js.map +1 -1
  77. package/dist/adaptercloud/pages/investor/InvestorInvestmentsPage.js +34 -32
  78. package/dist/adaptercloud/pages/investor/InvestorInvestmentsPage.js.map +1 -1
  79. package/dist/adaptercloud/pages/investor/InvestorPortfolioPage.js +48 -46
  80. package/dist/adaptercloud/pages/investor/InvestorPortfolioPage.js.map +1 -1
  81. package/dist/adaptercloud/pages/investor/InvestorProfilePage.js +383 -381
  82. package/dist/adaptercloud/pages/investor/InvestorProfilePage.js.map +1 -1
  83. package/dist/adaptercloud/pages/worker/TaskDetailsPage.js +348 -319
  84. package/dist/adaptercloud/pages/worker/TaskDetailsPage.js.map +1 -1
  85. package/dist/adaptercloud/pages/worker/WorkerDashboard.js +84 -59
  86. package/dist/adaptercloud/pages/worker/WorkerDashboard.js.map +1 -1
  87. package/dist/adaptercloud/pages/worker/WorkerOrdersPage.js +73 -71
  88. package/dist/adaptercloud/pages/worker/WorkerOrdersPage.js.map +1 -1
  89. package/dist/adaptercloud/pages/worker/WorkerProfilePage.js +76 -74
  90. package/dist/adaptercloud/pages/worker/WorkerProfilePage.js.map +1 -1
  91. package/dist/adaptercloud/pages/worker/WorkerSchedulePage.js +70 -68
  92. package/dist/adaptercloud/pages/worker/WorkerSchedulePage.js.map +1 -1
  93. package/package.json +3 -3
@@ -6,8 +6,9 @@ import { mockWorker as i } from "../../mocks/users.js";
6
6
  import { useState as a } from "react";
7
7
  import { Award as o, Bell as s, Briefcase as c, Camera as l, Clock as u, CreditCard as d, Loader2 as f, MapPin as p, Pencil as m, Save as h, Shield as g, User as _, X as v } from "lucide-react";
8
8
  import { Fragment as y, jsx as b, jsxs as x } from "react/jsx-runtime";
9
+ import { EmphasisPanel as S } from "@burdenoff/fe-libs/ui";
9
10
  //#region src/adaptercloud/pages/worker/WorkerProfilePage.tsx
10
- var S = [
11
+ var C = [
11
12
  {
12
13
  id: "personal",
13
14
  label: "Personal Info",
@@ -38,8 +39,8 @@ var S = [
38
39
  label: "Notifications",
39
40
  icon: s
40
41
  }
41
- ], C = () => {
42
- let { navigateTo: s } = e(), [c, d] = a("personal"), [p, C] = a(!1), [w, T] = a(!1), [E, D] = a({
42
+ ], w = () => {
43
+ let { navigateTo: s } = e(), [c, d] = a("personal"), [p, w] = a(!1), [T, E] = a(!1), [D, O] = a({
43
44
  firstName: i.firstName || "Suresh",
44
45
  lastName: i.lastName || "Kumar",
45
46
  email: i.email || "suresh.worker@example.com",
@@ -66,7 +67,7 @@ var S = [
66
67
  ifscCode: "HDFC0001234",
67
68
  panNumber: "ABCDE****F",
68
69
  aadharNumber: "****5678"
69
- }), [O, k] = a([
70
+ }), [k, A] = a([
70
71
  {
71
72
  id: "orders",
72
73
  label: "New Order Assignments",
@@ -97,28 +98,28 @@ var S = [
97
98
  description: "Important updates from management",
98
99
  enabled: !0
99
100
  }
100
- ]), A = (e, t) => {
101
- D((n) => ({
101
+ ]), j = (e, t) => {
102
+ O((n) => ({
102
103
  ...n,
103
104
  [e]: t
104
105
  }));
105
- }, j = () => {
106
- T(!0), setTimeout(() => {
107
- T(!1), C(!1), alert("Profile updated successfully!");
106
+ }, M = () => {
107
+ E(!0), setTimeout(() => {
108
+ E(!1), w(!1), alert("Profile updated successfully!");
108
109
  }, 1e3);
109
- }, M = (e) => {
110
+ }, N = (e) => {
110
111
  let t = e.target.files?.[0];
111
112
  if (t) {
112
113
  let e = new FileReader();
113
114
  e.onloadend = () => {
114
- D((t) => ({
115
+ O((t) => ({
115
116
  ...t,
116
117
  profileImage: e.result
117
118
  }));
118
119
  }, e.readAsDataURL(t);
119
120
  }
120
- }, N = (e) => {
121
- p && k((t) => t.map((t) => t.id === e ? {
121
+ }, P = (e) => {
122
+ p && A((t) => t.map((t) => t.id === e ? {
122
123
  ...t,
123
124
  enabled: !t.enabled
124
125
  } : t));
@@ -126,22 +127,23 @@ var S = [
126
127
  return /* @__PURE__ */ b(n, {
127
128
  title: "My Profile",
128
129
  description: "Manage your profile information",
130
+ purpose: "Your worker profile and work setup — contact details, vehicle and service areas, availability, and payout account. Keeping it accurate means you get the right jobs nearby and get paid to the right place.",
129
131
  actions: /* @__PURE__ */ b("div", {
130
132
  className: "flex items-center gap-2",
131
133
  children: p ? /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ x("button", {
132
134
  type: "button",
133
- onClick: () => C(!1),
135
+ onClick: () => w(!1),
134
136
  className: "inline-flex items-center gap-2 rounded-md bg-accent px-3 py-2 text-sm font-medium text-text-primary hover:bg-accent/80 transition-colors",
135
137
  children: [/* @__PURE__ */ b(v, { className: "h-4 w-4" }), "Cancel"]
136
138
  }), /* @__PURE__ */ b("button", {
137
139
  type: "button",
138
- onClick: j,
139
- disabled: w,
140
+ onClick: M,
141
+ disabled: T,
140
142
  className: "inline-flex items-center gap-2 rounded-md bg-accent-blue-subtle/10 px-3 py-2 text-sm font-medium text-accent-blue hover:bg-accent-blue-subtle/20 transition-colors disabled:opacity-50",
141
- children: w ? /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b(f, { className: "h-4 w-4 animate-spin" }), "Saving..."] }) : /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b(h, { className: "h-4 w-4" }), "Save Changes"] })
143
+ children: T ? /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b(f, { className: "h-4 w-4 animate-spin" }), "Saving..."] }) : /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b(h, { className: "h-4 w-4" }), "Save Changes"] })
142
144
  })] }) : /* @__PURE__ */ x("button", {
143
145
  type: "button",
144
- onClick: () => C(!0),
146
+ onClick: () => w(!0),
145
147
  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",
146
148
  children: [/* @__PURE__ */ b(m, { className: "h-4 w-4" }), "Edit Profile"]
147
149
  })
@@ -150,16 +152,16 @@ var S = [
150
152
  className: "grid lg:grid-cols-4 gap-6 max-w-6xl",
151
153
  children: [/* @__PURE__ */ x("div", {
152
154
  className: "lg:col-span-1 space-y-4",
153
- children: [/* @__PURE__ */ x("div", {
154
- className: "rounded-lg border border-border-seam bg-bg-surface p-5 text-center bg-gloss-card shadow-pop",
155
+ children: [/* @__PURE__ */ x(S, {
156
+ className: "p-5 text-center",
155
157
  children: [
156
158
  /* @__PURE__ */ x("div", {
157
159
  className: "relative inline-block",
158
160
  children: [/* @__PURE__ */ b("div", {
159
161
  className: "h-20 w-20 rounded-full bg-bg-sunken overflow-hidden mx-auto",
160
- children: E.profileImage ? /* @__PURE__ */ b("img", {
161
- src: E.profileImage,
162
- alt: `${E.firstName} ${E.lastName}`,
162
+ children: D.profileImage ? /* @__PURE__ */ b("img", {
163
+ src: D.profileImage,
164
+ alt: `${D.firstName} ${D.lastName}`,
163
165
  className: "h-full w-full object-cover"
164
166
  }) : /* @__PURE__ */ b("div", {
165
167
  className: "flex h-full w-full items-center justify-center text-text-secondary",
@@ -170,7 +172,7 @@ var S = [
170
172
  children: [/* @__PURE__ */ b(l, { className: "h-3.5 w-3.5" }), /* @__PURE__ */ b("input", {
171
173
  type: "file",
172
174
  accept: "image/*",
173
- onChange: M,
175
+ onChange: N,
174
176
  className: "hidden"
175
177
  })]
176
178
  })]
@@ -178,23 +180,23 @@ var S = [
178
180
  /* @__PURE__ */ x("h3", {
179
181
  className: "mt-3 text-sm font-semibold text-text-primary",
180
182
  children: [
181
- E.firstName,
183
+ D.firstName,
182
184
  " ",
183
- E.lastName
185
+ D.lastName
184
186
  ]
185
187
  }),
186
188
  /* @__PURE__ */ b("p", {
187
189
  className: "text-xs text-text-secondary",
188
- children: E.designation
190
+ children: D.designation
189
191
  }),
190
192
  /* @__PURE__ */ b("p", {
191
193
  className: "text-[10px] text-text-secondary mt-0.5",
192
- children: E.employeeId
194
+ children: D.employeeId
193
195
  })
194
196
  ]
195
197
  }), /* @__PURE__ */ b("div", {
196
198
  className: "space-y-1",
197
- children: S.map((e) => {
199
+ children: C.map((e) => {
198
200
  let n = e.icon;
199
201
  return /* @__PURE__ */ x("button", {
200
202
  type: "button",
@@ -222,8 +224,8 @@ var S = [
222
224
  children: "First Name"
223
225
  }), /* @__PURE__ */ b("input", {
224
226
  type: "text",
225
- value: E.firstName,
226
- onChange: (e) => A("firstName", e.target.value),
227
+ value: D.firstName,
228
+ onChange: (e) => j("firstName", e.target.value),
227
229
  disabled: !p,
228
230
  className: "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary disabled:bg-bg-sunken disabled:cursor-not-allowed focus:outline-none focus:ring-2 focus:ring-accent-blue-subtle/40"
229
231
  })] }),
@@ -232,8 +234,8 @@ var S = [
232
234
  children: "Last Name"
233
235
  }), /* @__PURE__ */ b("input", {
234
236
  type: "text",
235
- value: E.lastName,
236
- onChange: (e) => A("lastName", e.target.value),
237
+ value: D.lastName,
238
+ onChange: (e) => j("lastName", e.target.value),
237
239
  disabled: !p,
238
240
  className: "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary disabled:bg-bg-sunken disabled:cursor-not-allowed focus:outline-none focus:ring-2 focus:ring-accent-blue-subtle/40"
239
241
  })] }),
@@ -242,8 +244,8 @@ var S = [
242
244
  children: "Email Address"
243
245
  }), /* @__PURE__ */ b("input", {
244
246
  type: "email",
245
- value: E.email,
246
- onChange: (e) => A("email", e.target.value),
247
+ value: D.email,
248
+ onChange: (e) => j("email", e.target.value),
247
249
  disabled: !p,
248
250
  className: "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary disabled:bg-bg-sunken disabled:cursor-not-allowed focus:outline-none focus:ring-2 focus:ring-accent-blue-subtle/40"
249
251
  })] }),
@@ -252,8 +254,8 @@ var S = [
252
254
  children: "Phone Number"
253
255
  }), /* @__PURE__ */ b("input", {
254
256
  type: "text",
255
- value: E.phone,
256
- onChange: (e) => A("phone", e.target.value),
257
+ value: D.phone,
258
+ onChange: (e) => j("phone", e.target.value),
257
259
  disabled: !p,
258
260
  className: "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary disabled:bg-bg-sunken disabled:cursor-not-allowed focus:outline-none focus:ring-2 focus:ring-accent-blue-subtle/40"
259
261
  })] }),
@@ -262,8 +264,8 @@ var S = [
262
264
  children: "Date of Birth"
263
265
  }), /* @__PURE__ */ b("input", {
264
266
  type: "date",
265
- value: E.dateOfBirth,
266
- onChange: (e) => A("dateOfBirth", e.target.value),
267
+ value: D.dateOfBirth,
268
+ onChange: (e) => j("dateOfBirth", e.target.value),
267
269
  disabled: !p,
268
270
  className: "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary disabled:bg-bg-sunken disabled:cursor-not-allowed focus:outline-none focus:ring-2 focus:ring-accent-blue-subtle/40"
269
271
  })] })
@@ -282,8 +284,8 @@ var S = [
282
284
  children: "Contact Name"
283
285
  }), /* @__PURE__ */ b("input", {
284
286
  type: "text",
285
- value: E.emergencyContactName,
286
- onChange: (e) => A("emergencyContactName", e.target.value),
287
+ value: D.emergencyContactName,
288
+ onChange: (e) => j("emergencyContactName", e.target.value),
287
289
  disabled: !p,
288
290
  className: "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary disabled:bg-bg-sunken disabled:cursor-not-allowed focus:outline-none focus:ring-2 focus:ring-accent-blue-subtle/40"
289
291
  })] }),
@@ -292,8 +294,8 @@ var S = [
292
294
  children: "Contact Phone"
293
295
  }), /* @__PURE__ */ b("input", {
294
296
  type: "text",
295
- value: E.emergencyContactPhone,
296
- onChange: (e) => A("emergencyContactPhone", e.target.value),
297
+ value: D.emergencyContactPhone,
298
+ onChange: (e) => j("emergencyContactPhone", e.target.value),
297
299
  disabled: !p,
298
300
  className: "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary disabled:bg-bg-sunken disabled:cursor-not-allowed focus:outline-none focus:ring-2 focus:ring-accent-blue-subtle/40"
299
301
  })] }),
@@ -302,8 +304,8 @@ var S = [
302
304
  children: "Relationship"
303
305
  }), /* @__PURE__ */ b("input", {
304
306
  type: "text",
305
- value: E.emergencyContactRelation,
306
- onChange: (e) => A("emergencyContactRelation", e.target.value),
307
+ value: D.emergencyContactRelation,
308
+ onChange: (e) => j("emergencyContactRelation", e.target.value),
307
309
  disabled: !p,
308
310
  className: "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary disabled:bg-bg-sunken disabled:cursor-not-allowed focus:outline-none focus:ring-2 focus:ring-accent-blue-subtle/40"
309
311
  })] })
@@ -324,7 +326,7 @@ var S = [
324
326
  children: "Employee ID"
325
327
  }), /* @__PURE__ */ b("input", {
326
328
  type: "text",
327
- value: E.employeeId,
329
+ value: D.employeeId,
328
330
  disabled: !0,
329
331
  className: "w-full rounded-md border border-border-subtle bg-bg-sunken px-3 py-2 text-sm text-text-primary cursor-not-allowed"
330
332
  })] }),
@@ -333,7 +335,7 @@ var S = [
333
335
  children: "Designation"
334
336
  }), /* @__PURE__ */ b("input", {
335
337
  type: "text",
336
- value: E.designation,
338
+ value: D.designation,
337
339
  disabled: !0,
338
340
  className: "w-full rounded-md border border-border-subtle bg-bg-sunken px-3 py-2 text-sm text-text-primary cursor-not-allowed"
339
341
  })] }),
@@ -342,7 +344,7 @@ var S = [
342
344
  children: "Department"
343
345
  }), /* @__PURE__ */ b("input", {
344
346
  type: "text",
345
- value: E.department,
347
+ value: D.department,
346
348
  disabled: !0,
347
349
  className: "w-full rounded-md border border-border-subtle bg-bg-sunken px-3 py-2 text-sm text-text-primary cursor-not-allowed"
348
350
  })] }),
@@ -351,7 +353,7 @@ var S = [
351
353
  children: "Work Location"
352
354
  }), /* @__PURE__ */ b("input", {
353
355
  type: "text",
354
- value: E.workLocation,
356
+ value: D.workLocation,
355
357
  disabled: !0,
356
358
  className: "w-full rounded-md border border-border-subtle bg-bg-sunken px-3 py-2 text-sm text-text-primary cursor-not-allowed"
357
359
  })] }),
@@ -360,7 +362,7 @@ var S = [
360
362
  children: "Joining Date"
361
363
  }), /* @__PURE__ */ b("input", {
362
364
  type: "date",
363
- value: E.joiningDate,
365
+ value: D.joiningDate,
364
366
  disabled: !0,
365
367
  className: "w-full rounded-md border border-border-subtle bg-bg-sunken px-3 py-2 text-sm text-text-primary cursor-not-allowed"
366
368
  })] }),
@@ -369,7 +371,7 @@ var S = [
369
371
  children: "Employment Type"
370
372
  }), /* @__PURE__ */ b("input", {
371
373
  type: "text",
372
- value: E.employmentType,
374
+ value: D.employmentType,
373
375
  disabled: !0,
374
376
  className: "w-full rounded-md border border-border-subtle bg-bg-sunken px-3 py-2 text-sm text-text-primary cursor-not-allowed"
375
377
  })] })
@@ -429,8 +431,8 @@ var S = [
429
431
  children: "Address Line"
430
432
  }), /* @__PURE__ */ b("textarea", {
431
433
  rows: 2,
432
- value: E.currentAddress,
433
- onChange: (e) => A("currentAddress", e.target.value),
434
+ value: D.currentAddress,
435
+ onChange: (e) => j("currentAddress", e.target.value),
434
436
  disabled: !p,
435
437
  className: "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary disabled:bg-bg-sunken disabled:cursor-not-allowed focus:outline-none focus:ring-2 focus:ring-accent-blue-subtle/40 resize-none"
436
438
  })]
@@ -440,8 +442,8 @@ var S = [
440
442
  children: "City"
441
443
  }), /* @__PURE__ */ b("input", {
442
444
  type: "text",
443
- value: E.city,
444
- onChange: (e) => A("city", e.target.value),
445
+ value: D.city,
446
+ onChange: (e) => j("city", e.target.value),
445
447
  disabled: !p,
446
448
  className: "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary disabled:bg-bg-sunken disabled:cursor-not-allowed focus:outline-none focus:ring-2 focus:ring-accent-blue-subtle/40"
447
449
  })] }),
@@ -450,8 +452,8 @@ var S = [
450
452
  children: "State"
451
453
  }), /* @__PURE__ */ b("input", {
452
454
  type: "text",
453
- value: E.state,
454
- onChange: (e) => A("state", e.target.value),
455
+ value: D.state,
456
+ onChange: (e) => j("state", e.target.value),
455
457
  disabled: !p,
456
458
  className: "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary disabled:bg-bg-sunken disabled:cursor-not-allowed focus:outline-none focus:ring-2 focus:ring-accent-blue-subtle/40"
457
459
  })] }),
@@ -460,8 +462,8 @@ var S = [
460
462
  children: "Pincode"
461
463
  }), /* @__PURE__ */ b("input", {
462
464
  type: "text",
463
- value: E.pincode,
464
- onChange: (e) => A("pincode", e.target.value),
465
+ value: D.pincode,
466
+ onChange: (e) => j("pincode", e.target.value),
465
467
  disabled: !p,
466
468
  className: "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary disabled:bg-bg-sunken disabled:cursor-not-allowed focus:outline-none focus:ring-2 focus:ring-accent-blue-subtle/40"
467
469
  })] })
@@ -475,8 +477,8 @@ var S = [
475
477
  className: "flex items-center gap-2 mb-3 cursor-pointer",
476
478
  children: [/* @__PURE__ */ b("input", {
477
479
  type: "checkbox",
478
- checked: E.sameAsCurrent,
479
- onChange: (e) => A("sameAsCurrent", e.target.checked),
480
+ checked: D.sameAsCurrent,
481
+ onChange: (e) => j("sameAsCurrent", e.target.checked),
480
482
  disabled: !p,
481
483
  className: "h-4 w-4 rounded border-border-subtle text-accent-blue focus:ring-accent-blue-subtle/40"
482
484
  }), /* @__PURE__ */ b("span", {
@@ -484,13 +486,13 @@ var S = [
484
486
  children: "Same as current address"
485
487
  })]
486
488
  }),
487
- !E.sameAsCurrent && /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
489
+ !D.sameAsCurrent && /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
488
490
  className: "block text-xs font-medium text-text-secondary mb-1",
489
491
  children: "Address Line"
490
492
  }), /* @__PURE__ */ b("textarea", {
491
493
  rows: 2,
492
- value: E.permanentAddress,
493
- onChange: (e) => A("permanentAddress", e.target.value),
494
+ value: D.permanentAddress,
495
+ onChange: (e) => j("permanentAddress", e.target.value),
494
496
  disabled: !p,
495
497
  className: "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary disabled:bg-bg-sunken disabled:cursor-not-allowed focus:outline-none focus:ring-2 focus:ring-accent-blue-subtle/40 resize-none"
496
498
  })] })
@@ -516,7 +518,7 @@ var S = [
516
518
  children: "PAN Number"
517
519
  }), /* @__PURE__ */ b("input", {
518
520
  type: "text",
519
- value: E.panNumber,
521
+ value: D.panNumber,
520
522
  disabled: !0,
521
523
  className: "w-full rounded-md border border-border-subtle bg-bg-sunken px-3 py-2 text-sm text-text-primary cursor-not-allowed"
522
524
  })] }),
@@ -525,7 +527,7 @@ var S = [
525
527
  children: "Aadhar Number"
526
528
  }), /* @__PURE__ */ b("input", {
527
529
  type: "text",
528
- value: E.aadharNumber,
530
+ value: D.aadharNumber,
529
531
  disabled: !0,
530
532
  className: "w-full rounded-md border border-border-subtle bg-bg-sunken px-3 py-2 text-sm text-text-primary cursor-not-allowed"
531
533
  })] }),
@@ -534,8 +536,8 @@ var S = [
534
536
  children: "Bank Name"
535
537
  }), /* @__PURE__ */ b("input", {
536
538
  type: "text",
537
- value: E.bankName,
538
- onChange: (e) => A("bankName", e.target.value),
539
+ value: D.bankName,
540
+ onChange: (e) => j("bankName", e.target.value),
539
541
  disabled: !p,
540
542
  className: "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary disabled:bg-bg-sunken disabled:cursor-not-allowed focus:outline-none focus:ring-2 focus:ring-accent-blue-subtle/40"
541
543
  })] }),
@@ -544,7 +546,7 @@ var S = [
544
546
  children: "Account Number"
545
547
  }), /* @__PURE__ */ b("input", {
546
548
  type: "text",
547
- value: E.accountNumber,
549
+ value: D.accountNumber,
548
550
  disabled: !0,
549
551
  className: "w-full rounded-md border border-border-subtle bg-bg-sunken px-3 py-2 text-sm text-text-primary cursor-not-allowed"
550
552
  })] }),
@@ -553,8 +555,8 @@ var S = [
553
555
  children: "IFSC Code"
554
556
  }), /* @__PURE__ */ b("input", {
555
557
  type: "text",
556
- value: E.ifscCode,
557
- onChange: (e) => A("ifscCode", e.target.value),
558
+ value: D.ifscCode,
559
+ onChange: (e) => j("ifscCode", e.target.value),
558
560
  disabled: !p,
559
561
  className: "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary disabled:bg-bg-sunken disabled:cursor-not-allowed focus:outline-none focus:ring-2 focus:ring-accent-blue-subtle/40"
560
562
  })] })
@@ -658,7 +660,7 @@ var S = [
658
660
  children: "Notification Preferences"
659
661
  }), /* @__PURE__ */ b("div", {
660
662
  className: "space-y-4",
661
- children: O.map((e) => /* @__PURE__ */ x("div", {
663
+ children: k.map((e) => /* @__PURE__ */ x("div", {
662
664
  className: "flex items-center justify-between p-4 rounded-lg bg-bg-sunken/50",
663
665
  children: [/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("h4", {
664
666
  className: "text-sm font-medium text-text-primary",
@@ -668,7 +670,7 @@ var S = [
668
670
  children: e.description
669
671
  })] }), /* @__PURE__ */ b("button", {
670
672
  type: "button",
671
- onClick: () => N(e.id),
673
+ onClick: () => P(e.id),
672
674
  disabled: !p,
673
675
  className: t("relative inline-flex h-6 w-11 items-center rounded-full transition-colors", e.enabled ? "bg-accent-blue-subtle" : "bg-muted-foreground/30", !p && "opacity-60 cursor-not-allowed"),
674
676
  children: /* @__PURE__ */ b("span", { className: t("inline-block h-4 w-4 rounded-full bg-white transition-transform", e.enabled ? "translate-x-6" : "translate-x-1") })
@@ -682,6 +684,6 @@ var S = [
682
684
  });
683
685
  };
684
686
  //#endregion
685
- export { C as WorkerProfilePage };
687
+ export { w as WorkerProfilePage };
686
688
 
687
689
  //# sourceMappingURL=WorkerProfilePage.js.map