@burdenoff/microfe-coolandlovely 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 (91) hide show
  1. package/dist/coolandlovely/pages/HomePage.js +263 -258
  2. package/dist/coolandlovely/pages/HomePage.js.map +1 -1
  3. package/dist/coolandlovely/pages/admin/AdminAnalyticsPage.js +67 -61
  4. package/dist/coolandlovely/pages/admin/AdminAnalyticsPage.js.map +1 -1
  5. package/dist/coolandlovely/pages/admin/AdminDashboard.js +79 -45
  6. package/dist/coolandlovely/pages/admin/AdminDashboard.js.map +1 -1
  7. package/dist/coolandlovely/pages/admin/AdminFinancialPage.js +39 -33
  8. package/dist/coolandlovely/pages/admin/AdminFinancialPage.js.map +1 -1
  9. package/dist/coolandlovely/pages/admin/AdminOrdersPage.js +227 -222
  10. package/dist/coolandlovely/pages/admin/AdminOrdersPage.js.map +1 -1
  11. package/dist/coolandlovely/pages/admin/AdminProfilePage.js +65 -60
  12. package/dist/coolandlovely/pages/admin/AdminProfilePage.js.map +1 -1
  13. package/dist/coolandlovely/pages/admin/AdminSettingsPage.js +235 -230
  14. package/dist/coolandlovely/pages/admin/AdminSettingsPage.js.map +1 -1
  15. package/dist/coolandlovely/pages/admin/CartManagementPage.js +268 -263
  16. package/dist/coolandlovely/pages/admin/CartManagementPage.js.map +1 -1
  17. package/dist/coolandlovely/pages/admin/UserManagementPage.js +268 -263
  18. package/dist/coolandlovely/pages/admin/UserManagementPage.js.map +1 -1
  19. package/dist/coolandlovely/pages/cart-owner/AnalyticsDashboard.js +92 -84
  20. package/dist/coolandlovely/pages/cart-owner/AnalyticsDashboard.js.map +1 -1
  21. package/dist/coolandlovely/pages/cart-owner/BusinessSettingsPage.js +257 -252
  22. package/dist/coolandlovely/pages/cart-owner/BusinessSettingsPage.js.map +1 -1
  23. package/dist/coolandlovely/pages/cart-owner/CartOwnerDashboard.js +587 -548
  24. package/dist/coolandlovely/pages/cart-owner/CartOwnerDashboard.js.map +1 -1
  25. package/dist/coolandlovely/pages/cart-owner/CartOwnerProfilePage.js +171 -166
  26. package/dist/coolandlovely/pages/cart-owner/CartOwnerProfilePage.js.map +1 -1
  27. package/dist/coolandlovely/pages/cart-owner/CartServiceConfigPage.js +219 -211
  28. package/dist/coolandlovely/pages/cart-owner/CartServiceConfigPage.js.map +1 -1
  29. package/dist/coolandlovely/pages/cart-owner/InventoryManagementPage.js +671 -670
  30. package/dist/coolandlovely/pages/cart-owner/InventoryManagementPage.js.map +1 -1
  31. package/dist/coolandlovely/pages/cart-owner/OrderManagementPage.js +515 -514
  32. package/dist/coolandlovely/pages/cart-owner/OrderManagementPage.js.map +1 -1
  33. package/dist/coolandlovely/pages/cart-owner/StaffManagementPage.js +244 -246
  34. package/dist/coolandlovely/pages/cart-owner/StaffManagementPage.js.map +1 -1
  35. package/dist/coolandlovely/pages/common/HelpSupportPage.js +96 -96
  36. package/dist/coolandlovely/pages/common/HelpSupportPage.js.map +1 -1
  37. package/dist/coolandlovely/pages/common/NotificationCenterPage.js +50 -44
  38. package/dist/coolandlovely/pages/common/NotificationCenterPage.js.map +1 -1
  39. package/dist/coolandlovely/pages/common/SettingsPage.js +745 -736
  40. package/dist/coolandlovely/pages/common/SettingsPage.js.map +1 -1
  41. package/dist/coolandlovely/pages/customer/BookingDetailsPage.js +394 -357
  42. package/dist/coolandlovely/pages/customer/BookingDetailsPage.js.map +1 -1
  43. package/dist/coolandlovely/pages/customer/CartDetailPage.js +179 -176
  44. package/dist/coolandlovely/pages/customer/CartDetailPage.js.map +1 -1
  45. package/dist/coolandlovely/pages/customer/CartDiscoveryPage.js +215 -204
  46. package/dist/coolandlovely/pages/customer/CartDiscoveryPage.js.map +1 -1
  47. package/dist/coolandlovely/pages/customer/CheckoutPage.js +212 -215
  48. package/dist/coolandlovely/pages/customer/CheckoutPage.js.map +1 -1
  49. package/dist/coolandlovely/pages/customer/CustomerDashboard.js +438 -396
  50. package/dist/coolandlovely/pages/customer/CustomerDashboard.js.map +1 -1
  51. package/dist/coolandlovely/pages/customer/CustomerProfilePage.js +525 -488
  52. package/dist/coolandlovely/pages/customer/CustomerProfilePage.js.map +1 -1
  53. package/dist/coolandlovely/pages/customer/DirectServiceBookingPage.js +522 -513
  54. package/dist/coolandlovely/pages/customer/DirectServiceBookingPage.js.map +1 -1
  55. package/dist/coolandlovely/pages/customer/FavoritesPage.js +86 -76
  56. package/dist/coolandlovely/pages/customer/FavoritesPage.js.map +1 -1
  57. package/dist/coolandlovely/pages/customer/OrderHistoryPage.js +118 -109
  58. package/dist/coolandlovely/pages/customer/OrderHistoryPage.js.map +1 -1
  59. package/dist/coolandlovely/pages/customer/OrderTrackingPage.js +312 -275
  60. package/dist/coolandlovely/pages/customer/OrderTrackingPage.js.map +1 -1
  61. package/dist/coolandlovely/pages/customer/PaymentMethodsPage.js +82 -76
  62. package/dist/coolandlovely/pages/customer/PaymentMethodsPage.js.map +1 -1
  63. package/dist/coolandlovely/pages/customer/ReviewsPage.js +83 -73
  64. package/dist/coolandlovely/pages/customer/ReviewsPage.js.map +1 -1
  65. package/dist/coolandlovely/pages/customer/SavedAddressesPage.js +61 -55
  66. package/dist/coolandlovely/pages/customer/SavedAddressesPage.js.map +1 -1
  67. package/dist/coolandlovely/pages/investor/InvestmentDetailsPage.js +293 -255
  68. package/dist/coolandlovely/pages/investor/InvestmentDetailsPage.js.map +1 -1
  69. package/dist/coolandlovely/pages/investor/InvestmentOpportunitiesPage.js +238 -232
  70. package/dist/coolandlovely/pages/investor/InvestmentOpportunitiesPage.js.map +1 -1
  71. package/dist/coolandlovely/pages/investor/InvestorAnalyticsPage.js +61 -55
  72. package/dist/coolandlovely/pages/investor/InvestorAnalyticsPage.js.map +1 -1
  73. package/dist/coolandlovely/pages/investor/InvestorDashboard.js +356 -320
  74. package/dist/coolandlovely/pages/investor/InvestorDashboard.js.map +1 -1
  75. package/dist/coolandlovely/pages/investor/InvestorInvestmentsPage.js +107 -101
  76. package/dist/coolandlovely/pages/investor/InvestorInvestmentsPage.js.map +1 -1
  77. package/dist/coolandlovely/pages/investor/InvestorPortfolioPage.js +170 -137
  78. package/dist/coolandlovely/pages/investor/InvestorPortfolioPage.js.map +1 -1
  79. package/dist/coolandlovely/pages/investor/InvestorProfilePage.js +386 -381
  80. package/dist/coolandlovely/pages/investor/InvestorProfilePage.js.map +1 -1
  81. package/dist/coolandlovely/pages/worker/TaskDetailsPage.js +359 -322
  82. package/dist/coolandlovely/pages/worker/TaskDetailsPage.js.map +1 -1
  83. package/dist/coolandlovely/pages/worker/WorkerDashboard.js +574 -537
  84. package/dist/coolandlovely/pages/worker/WorkerDashboard.js.map +1 -1
  85. package/dist/coolandlovely/pages/worker/WorkerOrdersPage.js +81 -76
  86. package/dist/coolandlovely/pages/worker/WorkerOrdersPage.js.map +1 -1
  87. package/dist/coolandlovely/pages/worker/WorkerProfilePage.js +82 -77
  88. package/dist/coolandlovely/pages/worker/WorkerProfilePage.js.map +1 -1
  89. package/dist/coolandlovely/pages/worker/WorkerSchedulePage.js +78 -73
  90. package/dist/coolandlovely/pages/worker/WorkerSchedulePage.js.map +1 -1
  91. 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, PagePurpose as C } from "@burdenoff/fe-libs/ui";
9
10
  //#region src/coolandlovely/pages/worker/WorkerProfilePage.tsx
10
- var S = [
11
+ var w = [
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
+ ], T = () => {
43
+ let { navigateTo: s } = e(), [c, d] = a("personal"), [p, T] = a(!1), [E, D] = a(!1), [O, k] = 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
+ }), [A, j] = a([
70
71
  {
71
72
  id: "orders",
72
73
  label: "New Order Assignments",
@@ -97,69 +98,73 @@ var S = [
97
98
  description: "Important updates from management",
98
99
  enabled: !0
99
100
  }
100
- ]), A = (e, t) => {
101
- D((n) => ({
101
+ ]), M = (e, t) => {
102
+ k((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
+ }, N = () => {
107
+ D(!0), setTimeout(() => {
108
+ D(!1), T(!1), alert("Profile updated successfully!");
108
109
  }, 1e3);
109
- }, M = (e) => {
110
+ }, P = (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
+ k((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
+ }, F = (e) => {
122
+ p && j((t) => t.map((t) => t.id === e ? {
122
123
  ...t,
123
124
  enabled: !t.enabled
124
125
  } : t));
125
126
  };
126
- return /* @__PURE__ */ b(n, {
127
+ return /* @__PURE__ */ x(n, {
127
128
  title: "My Profile",
128
129
  description: "Manage your profile information",
129
130
  actions: /* @__PURE__ */ b("div", {
130
131
  className: "flex items-center gap-2",
131
132
  children: p ? /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ x("button", {
132
133
  type: "button",
133
- onClick: () => C(!1),
134
+ onClick: () => T(!1),
134
135
  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
136
  children: [/* @__PURE__ */ b(v, { className: "h-4 w-4" }), "Cancel"]
136
137
  }), /* @__PURE__ */ b("button", {
137
138
  type: "button",
138
- onClick: j,
139
- disabled: w,
139
+ onClick: N,
140
+ disabled: E,
140
141
  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"] })
142
+ children: E ? /* @__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
143
  })] }) : /* @__PURE__ */ x("button", {
143
144
  type: "button",
144
- onClick: () => C(!0),
145
+ onClick: () => T(!0),
145
146
  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
147
  children: [/* @__PURE__ */ b(m, { className: "h-4 w-4" }), "Edit Profile"]
147
148
  })
148
149
  }),
149
- children: /* @__PURE__ */ x("div", {
150
+ children: [/* @__PURE__ */ b(C, {
151
+ className: "mb-6",
152
+ icon: /* @__PURE__ */ b(_, { className: "h-4 w-4" }),
153
+ children: "Your worker profile. Keep your contact, employment and bank details current so pay and assignments reach you correctly, manage notification preferences, and review your role, ID and credentials — all in one place."
154
+ }), /* @__PURE__ */ x("div", {
150
155
  className: "grid lg:grid-cols-4 gap-6 max-w-6xl",
151
156
  children: [/* @__PURE__ */ x("div", {
152
157
  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",
158
+ children: [/* @__PURE__ */ x(S, {
159
+ className: "p-5 text-center",
155
160
  children: [
156
161
  /* @__PURE__ */ x("div", {
157
162
  className: "relative inline-block",
158
163
  children: [/* @__PURE__ */ b("div", {
159
164
  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}`,
165
+ children: O.profileImage ? /* @__PURE__ */ b("img", {
166
+ src: O.profileImage,
167
+ alt: `${O.firstName} ${O.lastName}`,
163
168
  className: "h-full w-full object-cover"
164
169
  }) : /* @__PURE__ */ b("div", {
165
170
  className: "flex h-full w-full items-center justify-center text-text-secondary",
@@ -170,7 +175,7 @@ var S = [
170
175
  children: [/* @__PURE__ */ b(l, { className: "h-3.5 w-3.5" }), /* @__PURE__ */ b("input", {
171
176
  type: "file",
172
177
  accept: "image/*",
173
- onChange: M,
178
+ onChange: P,
174
179
  className: "hidden"
175
180
  })]
176
181
  })]
@@ -178,23 +183,23 @@ var S = [
178
183
  /* @__PURE__ */ x("h3", {
179
184
  className: "mt-3 text-sm font-semibold text-text-primary",
180
185
  children: [
181
- E.firstName,
186
+ O.firstName,
182
187
  " ",
183
- E.lastName
188
+ O.lastName
184
189
  ]
185
190
  }),
186
191
  /* @__PURE__ */ b("p", {
187
192
  className: "text-xs text-text-secondary",
188
- children: E.designation
193
+ children: O.designation
189
194
  }),
190
195
  /* @__PURE__ */ b("p", {
191
196
  className: "text-[10px] text-text-secondary mt-0.5",
192
- children: E.employeeId
197
+ children: O.employeeId
193
198
  })
194
199
  ]
195
200
  }), /* @__PURE__ */ b("div", {
196
201
  className: "space-y-1",
197
- children: S.map((e) => {
202
+ children: w.map((e) => {
198
203
  let n = e.icon;
199
204
  return /* @__PURE__ */ x("button", {
200
205
  type: "button",
@@ -222,8 +227,8 @@ var S = [
222
227
  children: "First Name"
223
228
  }), /* @__PURE__ */ b("input", {
224
229
  type: "text",
225
- value: E.firstName,
226
- onChange: (e) => A("firstName", e.target.value),
230
+ value: O.firstName,
231
+ onChange: (e) => M("firstName", e.target.value),
227
232
  disabled: !p,
228
233
  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
234
  })] }),
@@ -232,8 +237,8 @@ var S = [
232
237
  children: "Last Name"
233
238
  }), /* @__PURE__ */ b("input", {
234
239
  type: "text",
235
- value: E.lastName,
236
- onChange: (e) => A("lastName", e.target.value),
240
+ value: O.lastName,
241
+ onChange: (e) => M("lastName", e.target.value),
237
242
  disabled: !p,
238
243
  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
244
  })] }),
@@ -242,8 +247,8 @@ var S = [
242
247
  children: "Email Address"
243
248
  }), /* @__PURE__ */ b("input", {
244
249
  type: "email",
245
- value: E.email,
246
- onChange: (e) => A("email", e.target.value),
250
+ value: O.email,
251
+ onChange: (e) => M("email", e.target.value),
247
252
  disabled: !p,
248
253
  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
254
  })] }),
@@ -252,8 +257,8 @@ var S = [
252
257
  children: "Phone Number"
253
258
  }), /* @__PURE__ */ b("input", {
254
259
  type: "text",
255
- value: E.phone,
256
- onChange: (e) => A("phone", e.target.value),
260
+ value: O.phone,
261
+ onChange: (e) => M("phone", e.target.value),
257
262
  disabled: !p,
258
263
  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
264
  })] }),
@@ -262,8 +267,8 @@ var S = [
262
267
  children: "Date of Birth"
263
268
  }), /* @__PURE__ */ b("input", {
264
269
  type: "date",
265
- value: E.dateOfBirth,
266
- onChange: (e) => A("dateOfBirth", e.target.value),
270
+ value: O.dateOfBirth,
271
+ onChange: (e) => M("dateOfBirth", e.target.value),
267
272
  disabled: !p,
268
273
  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
274
  })] })
@@ -282,8 +287,8 @@ var S = [
282
287
  children: "Contact Name"
283
288
  }), /* @__PURE__ */ b("input", {
284
289
  type: "text",
285
- value: E.emergencyContactName,
286
- onChange: (e) => A("emergencyContactName", e.target.value),
290
+ value: O.emergencyContactName,
291
+ onChange: (e) => M("emergencyContactName", e.target.value),
287
292
  disabled: !p,
288
293
  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
294
  })] }),
@@ -292,8 +297,8 @@ var S = [
292
297
  children: "Contact Phone"
293
298
  }), /* @__PURE__ */ b("input", {
294
299
  type: "text",
295
- value: E.emergencyContactPhone,
296
- onChange: (e) => A("emergencyContactPhone", e.target.value),
300
+ value: O.emergencyContactPhone,
301
+ onChange: (e) => M("emergencyContactPhone", e.target.value),
297
302
  disabled: !p,
298
303
  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
304
  })] }),
@@ -302,8 +307,8 @@ var S = [
302
307
  children: "Relationship"
303
308
  }), /* @__PURE__ */ b("input", {
304
309
  type: "text",
305
- value: E.emergencyContactRelation,
306
- onChange: (e) => A("emergencyContactRelation", e.target.value),
310
+ value: O.emergencyContactRelation,
311
+ onChange: (e) => M("emergencyContactRelation", e.target.value),
307
312
  disabled: !p,
308
313
  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
314
  })] })
@@ -324,7 +329,7 @@ var S = [
324
329
  children: "Employee ID"
325
330
  }), /* @__PURE__ */ b("input", {
326
331
  type: "text",
327
- value: E.employeeId,
332
+ value: O.employeeId,
328
333
  disabled: !0,
329
334
  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
335
  })] }),
@@ -333,7 +338,7 @@ var S = [
333
338
  children: "Designation"
334
339
  }), /* @__PURE__ */ b("input", {
335
340
  type: "text",
336
- value: E.designation,
341
+ value: O.designation,
337
342
  disabled: !0,
338
343
  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
344
  })] }),
@@ -342,7 +347,7 @@ var S = [
342
347
  children: "Department"
343
348
  }), /* @__PURE__ */ b("input", {
344
349
  type: "text",
345
- value: E.department,
350
+ value: O.department,
346
351
  disabled: !0,
347
352
  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
353
  })] }),
@@ -351,7 +356,7 @@ var S = [
351
356
  children: "Work Location"
352
357
  }), /* @__PURE__ */ b("input", {
353
358
  type: "text",
354
- value: E.workLocation,
359
+ value: O.workLocation,
355
360
  disabled: !0,
356
361
  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
362
  })] }),
@@ -360,7 +365,7 @@ var S = [
360
365
  children: "Joining Date"
361
366
  }), /* @__PURE__ */ b("input", {
362
367
  type: "date",
363
- value: E.joiningDate,
368
+ value: O.joiningDate,
364
369
  disabled: !0,
365
370
  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
371
  })] }),
@@ -369,7 +374,7 @@ var S = [
369
374
  children: "Employment Type"
370
375
  }), /* @__PURE__ */ b("input", {
371
376
  type: "text",
372
- value: E.employmentType,
377
+ value: O.employmentType,
373
378
  disabled: !0,
374
379
  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
380
  })] })
@@ -429,8 +434,8 @@ var S = [
429
434
  children: "Address Line"
430
435
  }), /* @__PURE__ */ b("textarea", {
431
436
  rows: 2,
432
- value: E.currentAddress,
433
- onChange: (e) => A("currentAddress", e.target.value),
437
+ value: O.currentAddress,
438
+ onChange: (e) => M("currentAddress", e.target.value),
434
439
  disabled: !p,
435
440
  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
441
  })]
@@ -440,8 +445,8 @@ var S = [
440
445
  children: "City"
441
446
  }), /* @__PURE__ */ b("input", {
442
447
  type: "text",
443
- value: E.city,
444
- onChange: (e) => A("city", e.target.value),
448
+ value: O.city,
449
+ onChange: (e) => M("city", e.target.value),
445
450
  disabled: !p,
446
451
  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
452
  })] }),
@@ -450,8 +455,8 @@ var S = [
450
455
  children: "State"
451
456
  }), /* @__PURE__ */ b("input", {
452
457
  type: "text",
453
- value: E.state,
454
- onChange: (e) => A("state", e.target.value),
458
+ value: O.state,
459
+ onChange: (e) => M("state", e.target.value),
455
460
  disabled: !p,
456
461
  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
462
  })] }),
@@ -460,8 +465,8 @@ var S = [
460
465
  children: "Pincode"
461
466
  }), /* @__PURE__ */ b("input", {
462
467
  type: "text",
463
- value: E.pincode,
464
- onChange: (e) => A("pincode", e.target.value),
468
+ value: O.pincode,
469
+ onChange: (e) => M("pincode", e.target.value),
465
470
  disabled: !p,
466
471
  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
472
  })] })
@@ -475,8 +480,8 @@ var S = [
475
480
  className: "flex items-center gap-2 mb-3 cursor-pointer",
476
481
  children: [/* @__PURE__ */ b("input", {
477
482
  type: "checkbox",
478
- checked: E.sameAsCurrent,
479
- onChange: (e) => A("sameAsCurrent", e.target.checked),
483
+ checked: O.sameAsCurrent,
484
+ onChange: (e) => M("sameAsCurrent", e.target.checked),
480
485
  disabled: !p,
481
486
  className: "h-4 w-4 rounded border-border-subtle text-accent-blue focus:ring-accent-blue-subtle/40"
482
487
  }), /* @__PURE__ */ b("span", {
@@ -484,13 +489,13 @@ var S = [
484
489
  children: "Same as current address"
485
490
  })]
486
491
  }),
487
- !E.sameAsCurrent && /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
492
+ !O.sameAsCurrent && /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
488
493
  className: "block text-xs font-medium text-text-secondary mb-1",
489
494
  children: "Address Line"
490
495
  }), /* @__PURE__ */ b("textarea", {
491
496
  rows: 2,
492
- value: E.permanentAddress,
493
- onChange: (e) => A("permanentAddress", e.target.value),
497
+ value: O.permanentAddress,
498
+ onChange: (e) => M("permanentAddress", e.target.value),
494
499
  disabled: !p,
495
500
  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
501
  })] })
@@ -516,7 +521,7 @@ var S = [
516
521
  children: "PAN Number"
517
522
  }), /* @__PURE__ */ b("input", {
518
523
  type: "text",
519
- value: E.panNumber,
524
+ value: O.panNumber,
520
525
  disabled: !0,
521
526
  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
527
  })] }),
@@ -525,7 +530,7 @@ var S = [
525
530
  children: "Aadhar Number"
526
531
  }), /* @__PURE__ */ b("input", {
527
532
  type: "text",
528
- value: E.aadharNumber,
533
+ value: O.aadharNumber,
529
534
  disabled: !0,
530
535
  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
536
  })] }),
@@ -534,8 +539,8 @@ var S = [
534
539
  children: "Bank Name"
535
540
  }), /* @__PURE__ */ b("input", {
536
541
  type: "text",
537
- value: E.bankName,
538
- onChange: (e) => A("bankName", e.target.value),
542
+ value: O.bankName,
543
+ onChange: (e) => M("bankName", e.target.value),
539
544
  disabled: !p,
540
545
  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
546
  })] }),
@@ -544,7 +549,7 @@ var S = [
544
549
  children: "Account Number"
545
550
  }), /* @__PURE__ */ b("input", {
546
551
  type: "text",
547
- value: E.accountNumber,
552
+ value: O.accountNumber,
548
553
  disabled: !0,
549
554
  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
555
  })] }),
@@ -553,8 +558,8 @@ var S = [
553
558
  children: "IFSC Code"
554
559
  }), /* @__PURE__ */ b("input", {
555
560
  type: "text",
556
- value: E.ifscCode,
557
- onChange: (e) => A("ifscCode", e.target.value),
561
+ value: O.ifscCode,
562
+ onChange: (e) => M("ifscCode", e.target.value),
558
563
  disabled: !p,
559
564
  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
565
  })] })
@@ -658,7 +663,7 @@ var S = [
658
663
  children: "Notification Preferences"
659
664
  }), /* @__PURE__ */ b("div", {
660
665
  className: "space-y-4",
661
- children: O.map((e) => /* @__PURE__ */ x("div", {
666
+ children: A.map((e) => /* @__PURE__ */ x("div", {
662
667
  className: "flex items-center justify-between p-4 rounded-lg bg-bg-sunken/50",
663
668
  children: [/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("h4", {
664
669
  className: "text-sm font-medium text-text-primary",
@@ -668,7 +673,7 @@ var S = [
668
673
  children: e.description
669
674
  })] }), /* @__PURE__ */ b("button", {
670
675
  type: "button",
671
- onClick: () => N(e.id),
676
+ onClick: () => F(e.id),
672
677
  disabled: !p,
673
678
  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
679
  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") })
@@ -678,10 +683,10 @@ var S = [
678
683
  ]
679
684
  })
680
685
  })]
681
- })
686
+ })]
682
687
  });
683
688
  };
684
689
  //#endregion
685
- export { C as WorkerProfilePage };
690
+ export { T as WorkerProfilePage };
686
691
 
687
692
  //# sourceMappingURL=WorkerProfilePage.js.map