@burdenoff/microfe-coolandlovely 2026.625.2 → 2026.628.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.
Files changed (165) hide show
  1. package/dist/coolandlovely/CoolAndLovelyRoot.js +66 -122
  2. package/dist/coolandlovely/CoolAndLovelyRoot.js.map +1 -1
  3. package/dist/coolandlovely/CoolAndLovelyRoutes.js +87 -175
  4. package/dist/coolandlovely/CoolAndLovelyRoutes.js.map +1 -1
  5. package/dist/coolandlovely/components/Field.js +81 -0
  6. package/dist/coolandlovely/components/Field.js.map +1 -0
  7. package/dist/coolandlovely/components/StateViews.js +34 -0
  8. package/dist/coolandlovely/components/StateViews.js.map +1 -0
  9. package/dist/coolandlovely/components/StatusBadge.js +25 -22
  10. package/dist/coolandlovely/components/StatusBadge.js.map +1 -1
  11. package/dist/coolandlovely/components/TagList.js +21 -0
  12. package/dist/coolandlovely/components/TagList.js.map +1 -0
  13. package/dist/coolandlovely/components/Thumbnail.js +29 -0
  14. package/dist/coolandlovely/components/Thumbnail.js.map +1 -0
  15. package/dist/coolandlovely/context/CoolAndLovelyContext.js +10 -10
  16. package/dist/coolandlovely/context/CoolAndLovelyContext.js.map +1 -1
  17. package/dist/coolandlovely/hooks/index.js +1 -0
  18. package/dist/coolandlovely/hooks/useCoolAndLovelyApi.js +462 -169
  19. package/dist/coolandlovely/hooks/useCoolAndLovelyApi.js.map +1 -1
  20. package/dist/coolandlovely/pages/HomePage.js +251 -845
  21. package/dist/coolandlovely/pages/HomePage.js.map +1 -1
  22. package/dist/coolandlovely/pages/brands/BrandDetailPage.js +319 -0
  23. package/dist/coolandlovely/pages/brands/BrandDetailPage.js.map +1 -0
  24. package/dist/coolandlovely/pages/brands/BrandFormPage.js +190 -0
  25. package/dist/coolandlovely/pages/brands/BrandFormPage.js.map +1 -0
  26. package/dist/coolandlovely/pages/brands/BrandsListPage.js +158 -0
  27. package/dist/coolandlovely/pages/brands/BrandsListPage.js.map +1 -0
  28. package/dist/coolandlovely/pages/collaborations/CollaborationDetailPage.js +253 -0
  29. package/dist/coolandlovely/pages/collaborations/CollaborationDetailPage.js.map +1 -0
  30. package/dist/coolandlovely/pages/collaborations/CollaborationFormPage.js +206 -0
  31. package/dist/coolandlovely/pages/collaborations/CollaborationFormPage.js.map +1 -0
  32. package/dist/coolandlovely/pages/collaborations/CollaborationsListPage.js +129 -0
  33. package/dist/coolandlovely/pages/collaborations/CollaborationsListPage.js.map +1 -0
  34. package/dist/coolandlovely/pages/collections/CollectionDetailPage.js +217 -0
  35. package/dist/coolandlovely/pages/collections/CollectionDetailPage.js.map +1 -0
  36. package/dist/coolandlovely/pages/collections/CollectionFormPage.js +217 -0
  37. package/dist/coolandlovely/pages/collections/CollectionFormPage.js.map +1 -0
  38. package/dist/coolandlovely/pages/collections/CollectionsListPage.js +122 -0
  39. package/dist/coolandlovely/pages/collections/CollectionsListPage.js.map +1 -0
  40. package/dist/coolandlovely/pages/items/StyleItemDetailPage.js +230 -0
  41. package/dist/coolandlovely/pages/items/StyleItemDetailPage.js.map +1 -0
  42. package/dist/coolandlovely/pages/items/StyleItemFormPage.js +276 -0
  43. package/dist/coolandlovely/pages/items/StyleItemFormPage.js.map +1 -0
  44. package/dist/coolandlovely/pages/items/StyleItemsListPage.js +170 -0
  45. package/dist/coolandlovely/pages/items/StyleItemsListPage.js.map +1 -0
  46. package/dist/coolandlovely/pages/lookbooks/LookbookDetailPage.js +124 -0
  47. package/dist/coolandlovely/pages/lookbooks/LookbookDetailPage.js.map +1 -0
  48. package/dist/coolandlovely/pages/lookbooks/LookbooksListPage.js +156 -0
  49. package/dist/coolandlovely/pages/lookbooks/LookbooksListPage.js.map +1 -0
  50. package/dist/coolandlovely/pages/looks/LookDetailPage.js +238 -0
  51. package/dist/coolandlovely/pages/looks/LookDetailPage.js.map +1 -0
  52. package/dist/coolandlovely/pages/looks/LookFormPage.js +209 -0
  53. package/dist/coolandlovely/pages/looks/LookFormPage.js.map +1 -0
  54. package/dist/coolandlovely/pages/looks/LooksListPage.js +181 -0
  55. package/dist/coolandlovely/pages/looks/LooksListPage.js.map +1 -0
  56. package/dist/coolandlovely/pages/profile/StyleProfilePage.js +224 -0
  57. package/dist/coolandlovely/pages/profile/StyleProfilePage.js.map +1 -0
  58. package/dist/coolandlovely/pages/wardrobe/WardrobeFormPage.js +173 -0
  59. package/dist/coolandlovely/pages/wardrobe/WardrobeFormPage.js.map +1 -0
  60. package/dist/coolandlovely/pages/wardrobe/WardrobeListPage.js +172 -0
  61. package/dist/coolandlovely/pages/wardrobe/WardrobeListPage.js.map +1 -0
  62. package/dist/coolandlovely/store/coolandlovelyStore.js +2 -6
  63. package/dist/coolandlovely/store/coolandlovelyStore.js.map +1 -1
  64. package/dist/coolandlovely/utils/formatters.js +31 -23
  65. package/dist/coolandlovely/utils/formatters.js.map +1 -1
  66. package/dist/coolandlovely/utils/icons.js +34 -0
  67. package/dist/coolandlovely/utils/icons.js.map +1 -0
  68. package/dist/index.js +4 -4
  69. package/package.json +1 -1
  70. package/dist/coolandlovely/components/InvestmentCard.js +0 -98
  71. package/dist/coolandlovely/components/InvestmentCard.js.map +0 -1
  72. package/dist/coolandlovely/components/RatingDisplay.js +0 -35
  73. package/dist/coolandlovely/components/RatingDisplay.js.map +0 -1
  74. package/dist/coolandlovely/mocks/data.js +0 -1517
  75. package/dist/coolandlovely/mocks/data.js.map +0 -1
  76. package/dist/coolandlovely/mocks/users.js +0 -34
  77. package/dist/coolandlovely/mocks/users.js.map +0 -1
  78. package/dist/coolandlovely/pages/admin/AdminAnalyticsPage.js +0 -651
  79. package/dist/coolandlovely/pages/admin/AdminAnalyticsPage.js.map +0 -1
  80. package/dist/coolandlovely/pages/admin/AdminDashboard.js +0 -673
  81. package/dist/coolandlovely/pages/admin/AdminDashboard.js.map +0 -1
  82. package/dist/coolandlovely/pages/admin/AdminFinancialPage.js +0 -427
  83. package/dist/coolandlovely/pages/admin/AdminFinancialPage.js.map +0 -1
  84. package/dist/coolandlovely/pages/admin/AdminOrdersPage.js +0 -665
  85. package/dist/coolandlovely/pages/admin/AdminOrdersPage.js.map +0 -1
  86. package/dist/coolandlovely/pages/admin/AdminProfilePage.js +0 -264
  87. package/dist/coolandlovely/pages/admin/AdminProfilePage.js.map +0 -1
  88. package/dist/coolandlovely/pages/admin/AdminSettingsPage.js +0 -654
  89. package/dist/coolandlovely/pages/admin/AdminSettingsPage.js.map +0 -1
  90. package/dist/coolandlovely/pages/admin/CartManagementPage.js +0 -874
  91. package/dist/coolandlovely/pages/admin/CartManagementPage.js.map +0 -1
  92. package/dist/coolandlovely/pages/admin/UserManagementPage.js +0 -898
  93. package/dist/coolandlovely/pages/admin/UserManagementPage.js.map +0 -1
  94. package/dist/coolandlovely/pages/cart-owner/AnalyticsDashboard.js +0 -842
  95. package/dist/coolandlovely/pages/cart-owner/AnalyticsDashboard.js.map +0 -1
  96. package/dist/coolandlovely/pages/cart-owner/BusinessSettingsPage.js +0 -705
  97. package/dist/coolandlovely/pages/cart-owner/BusinessSettingsPage.js.map +0 -1
  98. package/dist/coolandlovely/pages/cart-owner/CartOwnerDashboard.js +0 -802
  99. package/dist/coolandlovely/pages/cart-owner/CartOwnerDashboard.js.map +0 -1
  100. package/dist/coolandlovely/pages/cart-owner/CartOwnerProfilePage.js +0 -891
  101. package/dist/coolandlovely/pages/cart-owner/CartOwnerProfilePage.js.map +0 -1
  102. package/dist/coolandlovely/pages/cart-owner/CartServiceConfigPage.js +0 -639
  103. package/dist/coolandlovely/pages/cart-owner/CartServiceConfigPage.js.map +0 -1
  104. package/dist/coolandlovely/pages/cart-owner/InventoryManagementPage.js +0 -914
  105. package/dist/coolandlovely/pages/cart-owner/InventoryManagementPage.js.map +0 -1
  106. package/dist/coolandlovely/pages/cart-owner/OrderManagementPage.js +0 -882
  107. package/dist/coolandlovely/pages/cart-owner/OrderManagementPage.js.map +0 -1
  108. package/dist/coolandlovely/pages/cart-owner/StaffManagementPage.js +0 -831
  109. package/dist/coolandlovely/pages/cart-owner/StaffManagementPage.js.map +0 -1
  110. package/dist/coolandlovely/pages/common/HelpSupportPage.js +0 -1325
  111. package/dist/coolandlovely/pages/common/HelpSupportPage.js.map +0 -1
  112. package/dist/coolandlovely/pages/common/NotificationCenterPage.js +0 -671
  113. package/dist/coolandlovely/pages/common/NotificationCenterPage.js.map +0 -1
  114. package/dist/coolandlovely/pages/common/SettingsPage.js +0 -973
  115. package/dist/coolandlovely/pages/common/SettingsPage.js.map +0 -1
  116. package/dist/coolandlovely/pages/customer/BookingDetailsPage.js +0 -630
  117. package/dist/coolandlovely/pages/customer/BookingDetailsPage.js.map +0 -1
  118. package/dist/coolandlovely/pages/customer/CartDetailPage.js +0 -623
  119. package/dist/coolandlovely/pages/customer/CartDetailPage.js.map +0 -1
  120. package/dist/coolandlovely/pages/customer/CartDiscoveryPage.js +0 -558
  121. package/dist/coolandlovely/pages/customer/CartDiscoveryPage.js.map +0 -1
  122. package/dist/coolandlovely/pages/customer/CheckoutPage.js +0 -529
  123. package/dist/coolandlovely/pages/customer/CheckoutPage.js.map +0 -1
  124. package/dist/coolandlovely/pages/customer/CustomerDashboard.js +0 -538
  125. package/dist/coolandlovely/pages/customer/CustomerDashboard.js.map +0 -1
  126. package/dist/coolandlovely/pages/customer/CustomerProfilePage.js +0 -658
  127. package/dist/coolandlovely/pages/customer/CustomerProfilePage.js.map +0 -1
  128. package/dist/coolandlovely/pages/customer/DirectServiceBookingPage.js +0 -632
  129. package/dist/coolandlovely/pages/customer/DirectServiceBookingPage.js.map +0 -1
  130. package/dist/coolandlovely/pages/customer/FavoritesPage.js +0 -487
  131. package/dist/coolandlovely/pages/customer/FavoritesPage.js.map +0 -1
  132. package/dist/coolandlovely/pages/customer/OrderHistoryPage.js +0 -447
  133. package/dist/coolandlovely/pages/customer/OrderHistoryPage.js.map +0 -1
  134. package/dist/coolandlovely/pages/customer/OrderTrackingPage.js +0 -425
  135. package/dist/coolandlovely/pages/customer/OrderTrackingPage.js.map +0 -1
  136. package/dist/coolandlovely/pages/customer/PaymentMethodsPage.js +0 -494
  137. package/dist/coolandlovely/pages/customer/PaymentMethodsPage.js.map +0 -1
  138. package/dist/coolandlovely/pages/customer/ReviewsPage.js +0 -616
  139. package/dist/coolandlovely/pages/customer/ReviewsPage.js.map +0 -1
  140. package/dist/coolandlovely/pages/customer/SavedAddressesPage.js +0 -449
  141. package/dist/coolandlovely/pages/customer/SavedAddressesPage.js.map +0 -1
  142. package/dist/coolandlovely/pages/investor/InvestmentDetailsPage.js +0 -887
  143. package/dist/coolandlovely/pages/investor/InvestmentDetailsPage.js.map +0 -1
  144. package/dist/coolandlovely/pages/investor/InvestmentOpportunitiesPage.js +0 -945
  145. package/dist/coolandlovely/pages/investor/InvestmentOpportunitiesPage.js.map +0 -1
  146. package/dist/coolandlovely/pages/investor/InvestorAnalyticsPage.js +0 -687
  147. package/dist/coolandlovely/pages/investor/InvestorAnalyticsPage.js.map +0 -1
  148. package/dist/coolandlovely/pages/investor/InvestorDashboard.js +0 -455
  149. package/dist/coolandlovely/pages/investor/InvestorDashboard.js.map +0 -1
  150. package/dist/coolandlovely/pages/investor/InvestorInvestmentsPage.js +0 -405
  151. package/dist/coolandlovely/pages/investor/InvestorInvestmentsPage.js.map +0 -1
  152. package/dist/coolandlovely/pages/investor/InvestorPortfolioPage.js +0 -602
  153. package/dist/coolandlovely/pages/investor/InvestorPortfolioPage.js.map +0 -1
  154. package/dist/coolandlovely/pages/investor/InvestorProfilePage.js +0 -1070
  155. package/dist/coolandlovely/pages/investor/InvestorProfilePage.js.map +0 -1
  156. package/dist/coolandlovely/pages/worker/TaskDetailsPage.js +0 -533
  157. package/dist/coolandlovely/pages/worker/TaskDetailsPage.js.map +0 -1
  158. package/dist/coolandlovely/pages/worker/WorkerDashboard.js +0 -671
  159. package/dist/coolandlovely/pages/worker/WorkerDashboard.js.map +0 -1
  160. package/dist/coolandlovely/pages/worker/WorkerOrdersPage.js +0 -680
  161. package/dist/coolandlovely/pages/worker/WorkerOrdersPage.js.map +0 -1
  162. package/dist/coolandlovely/pages/worker/WorkerProfilePage.js +0 -692
  163. package/dist/coolandlovely/pages/worker/WorkerProfilePage.js.map +0 -1
  164. package/dist/coolandlovely/pages/worker/WorkerSchedulePage.js +0 -583
  165. package/dist/coolandlovely/pages/worker/WorkerSchedulePage.js.map +0 -1
@@ -1,692 +0,0 @@
1
- import { useCoolAndLovely as e } from "../../context/CoolAndLovelyContext.js";
2
- import { cn as t } from "../../utils/cn.js";
3
- import { PageLayout as n } from "../../components/PageLayout.js";
4
- import { mockWorkerStats as r } from "../../mocks/data.js";
5
- import { mockWorker as i } from "../../mocks/users.js";
6
- import { useState as a } from "react";
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
- 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";
10
- //#region src/coolandlovely/pages/worker/WorkerProfilePage.tsx
11
- var w = [
12
- {
13
- id: "personal",
14
- label: "Personal Info",
15
- icon: _
16
- },
17
- {
18
- id: "work",
19
- label: "Work Details",
20
- icon: c
21
- },
22
- {
23
- id: "address",
24
- label: "Address",
25
- icon: p
26
- },
27
- {
28
- id: "documents",
29
- label: "Documents",
30
- icon: d
31
- },
32
- {
33
- id: "achievements",
34
- label: "Achievements",
35
- icon: o
36
- },
37
- {
38
- id: "notifications",
39
- label: "Notifications",
40
- icon: s
41
- }
42
- ], T = () => {
43
- let { navigateTo: s } = e(), [c, d] = a("personal"), [p, T] = a(!1), [E, D] = a(!1), [O, k] = a({
44
- firstName: i.firstName || "Suresh",
45
- lastName: i.lastName || "Kumar",
46
- email: i.email || "suresh.worker@example.com",
47
- phone: i.phone || "+91-87654-32109",
48
- profileImage: i.profilePicture || "",
49
- dateOfBirth: "1990-05-15",
50
- employeeId: "EMP-2024-001",
51
- designation: "Delivery Executive",
52
- department: "Operations",
53
- workLocation: "Koramangala Zone",
54
- joiningDate: "2023-01-10",
55
- employmentType: "Full Time",
56
- currentAddress: "45, 2nd Main, BTM Layout",
57
- city: "Bangalore",
58
- state: "Karnataka",
59
- pincode: "560076",
60
- permanentAddress: "",
61
- sameAsCurrent: !0,
62
- emergencyContactName: "Lakshmi Kumar",
63
- emergencyContactPhone: "+91-98765-12345",
64
- emergencyContactRelation: "Spouse",
65
- bankName: "HDFC Bank",
66
- accountNumber: "****5678",
67
- ifscCode: "HDFC0001234",
68
- panNumber: "ABCDE****F",
69
- aadharNumber: "****5678"
70
- }), [A, j] = a([
71
- {
72
- id: "orders",
73
- label: "New Order Assignments",
74
- description: "Get notified when new orders are assigned to you",
75
- enabled: !0
76
- },
77
- {
78
- id: "schedule",
79
- label: "Schedule Updates",
80
- description: "Changes to your work schedule",
81
- enabled: !0
82
- },
83
- {
84
- id: "earnings",
85
- label: "Earnings Updates",
86
- description: "Daily and weekly earnings summaries",
87
- enabled: !0
88
- },
89
- {
90
- id: "performance",
91
- label: "Performance Reviews",
92
- description: "Feedback and performance metrics",
93
- enabled: !0
94
- },
95
- {
96
- id: "announcements",
97
- label: "Company Announcements",
98
- description: "Important updates from management",
99
- enabled: !0
100
- }
101
- ]), M = (e, t) => {
102
- k((n) => ({
103
- ...n,
104
- [e]: t
105
- }));
106
- }, N = () => {
107
- D(!0), setTimeout(() => {
108
- D(!1), T(!1), alert("Profile updated successfully!");
109
- }, 1e3);
110
- }, P = (e) => {
111
- let t = e.target.files?.[0];
112
- if (t) {
113
- let e = new FileReader();
114
- e.onloadend = () => {
115
- k((t) => ({
116
- ...t,
117
- profileImage: e.result
118
- }));
119
- }, e.readAsDataURL(t);
120
- }
121
- }, F = (e) => {
122
- p && j((t) => t.map((t) => t.id === e ? {
123
- ...t,
124
- enabled: !t.enabled
125
- } : t));
126
- };
127
- return /* @__PURE__ */ x(n, {
128
- title: "My Profile",
129
- description: "Manage your profile information",
130
- actions: /* @__PURE__ */ b("div", {
131
- className: "flex items-center gap-2",
132
- children: p ? /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ x("button", {
133
- type: "button",
134
- onClick: () => T(!1),
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",
136
- children: [/* @__PURE__ */ b(v, { className: "h-4 w-4" }), "Cancel"]
137
- }), /* @__PURE__ */ b("button", {
138
- type: "button",
139
- onClick: N,
140
- disabled: E,
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",
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"] })
143
- })] }) : /* @__PURE__ */ x("button", {
144
- type: "button",
145
- onClick: () => T(!0),
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",
147
- children: [/* @__PURE__ */ b(m, { className: "h-4 w-4" }), "Edit Profile"]
148
- })
149
- }),
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", {
155
- className: "grid lg:grid-cols-4 gap-6 max-w-6xl",
156
- children: [/* @__PURE__ */ x("div", {
157
- className: "lg:col-span-1 space-y-4",
158
- children: [/* @__PURE__ */ x(S, {
159
- className: "p-5 text-center",
160
- children: [
161
- /* @__PURE__ */ x("div", {
162
- className: "relative inline-block",
163
- children: [/* @__PURE__ */ b("div", {
164
- className: "h-20 w-20 rounded-full bg-bg-sunken overflow-hidden mx-auto",
165
- children: O.profileImage ? /* @__PURE__ */ b("img", {
166
- src: O.profileImage,
167
- alt: `${O.firstName} ${O.lastName}`,
168
- className: "h-full w-full object-cover"
169
- }) : /* @__PURE__ */ b("div", {
170
- className: "flex h-full w-full items-center justify-center text-text-secondary",
171
- children: /* @__PURE__ */ b(_, { className: "h-10 w-10" })
172
- })
173
- }), p && /* @__PURE__ */ x("label", {
174
- className: "absolute bottom-0 right-0 flex h-7 w-7 items-center justify-center rounded-full bg-accent-blue-subtle/20 text-accent-blue cursor-pointer hover:bg-accent-blue-subtle/30 transition-colors",
175
- children: [/* @__PURE__ */ b(l, { className: "h-3.5 w-3.5" }), /* @__PURE__ */ b("input", {
176
- type: "file",
177
- accept: "image/*",
178
- onChange: P,
179
- className: "hidden"
180
- })]
181
- })]
182
- }),
183
- /* @__PURE__ */ x("h3", {
184
- className: "mt-3 text-sm font-semibold text-text-primary",
185
- children: [
186
- O.firstName,
187
- " ",
188
- O.lastName
189
- ]
190
- }),
191
- /* @__PURE__ */ b("p", {
192
- className: "text-xs text-text-secondary",
193
- children: O.designation
194
- }),
195
- /* @__PURE__ */ b("p", {
196
- className: "text-[10px] text-text-secondary mt-0.5",
197
- children: O.employeeId
198
- })
199
- ]
200
- }), /* @__PURE__ */ b("div", {
201
- className: "space-y-1",
202
- children: w.map((e) => {
203
- let n = e.icon;
204
- return /* @__PURE__ */ x("button", {
205
- type: "button",
206
- onClick: () => d(e.id),
207
- className: t("w-full flex items-center gap-3 rounded-lg px-3 py-2.5 text-sm font-medium transition-colors", c === e.id ? "bg-accent-blue-subtle/10 text-accent-blue" : "bg-bg-surface text-text-primary hover:bg-bg-sunken"),
208
- children: [/* @__PURE__ */ b(n, { className: "h-4 w-4" }), e.label]
209
- }, e.id);
210
- })
211
- })]
212
- }), /* @__PURE__ */ b("div", {
213
- className: "lg:col-span-3",
214
- children: /* @__PURE__ */ x("div", {
215
- className: "rounded-lg border border-border-seam bg-bg-surface p-6 bg-gloss-card shadow-pop",
216
- children: [
217
- c === "personal" && /* @__PURE__ */ x("div", { children: [
218
- /* @__PURE__ */ b("h2", {
219
- className: "text-lg font-semibold text-text-primary mb-5",
220
- children: "Personal Information"
221
- }),
222
- /* @__PURE__ */ x("div", {
223
- className: "grid sm:grid-cols-2 gap-4",
224
- children: [
225
- /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
226
- className: "block text-xs font-medium text-text-secondary mb-1",
227
- children: "First Name"
228
- }), /* @__PURE__ */ b("input", {
229
- type: "text",
230
- value: O.firstName,
231
- onChange: (e) => M("firstName", e.target.value),
232
- disabled: !p,
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"
234
- })] }),
235
- /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
236
- className: "block text-xs font-medium text-text-secondary mb-1",
237
- children: "Last Name"
238
- }), /* @__PURE__ */ b("input", {
239
- type: "text",
240
- value: O.lastName,
241
- onChange: (e) => M("lastName", e.target.value),
242
- disabled: !p,
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"
244
- })] }),
245
- /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
246
- className: "block text-xs font-medium text-text-secondary mb-1",
247
- children: "Email Address"
248
- }), /* @__PURE__ */ b("input", {
249
- type: "email",
250
- value: O.email,
251
- onChange: (e) => M("email", e.target.value),
252
- disabled: !p,
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"
254
- })] }),
255
- /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
256
- className: "block text-xs font-medium text-text-secondary mb-1",
257
- children: "Phone Number"
258
- }), /* @__PURE__ */ b("input", {
259
- type: "text",
260
- value: O.phone,
261
- onChange: (e) => M("phone", e.target.value),
262
- disabled: !p,
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"
264
- })] }),
265
- /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
266
- className: "block text-xs font-medium text-text-secondary mb-1",
267
- children: "Date of Birth"
268
- }), /* @__PURE__ */ b("input", {
269
- type: "date",
270
- value: O.dateOfBirth,
271
- onChange: (e) => M("dateOfBirth", e.target.value),
272
- disabled: !p,
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"
274
- })] })
275
- ]
276
- }),
277
- /* @__PURE__ */ x("div", {
278
- className: "mt-7",
279
- children: [/* @__PURE__ */ b("h3", {
280
- className: "text-sm font-semibold text-text-primary mb-4",
281
- children: "Emergency Contact"
282
- }), /* @__PURE__ */ x("div", {
283
- className: "grid sm:grid-cols-3 gap-4",
284
- children: [
285
- /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
286
- className: "block text-xs font-medium text-text-secondary mb-1",
287
- children: "Contact Name"
288
- }), /* @__PURE__ */ b("input", {
289
- type: "text",
290
- value: O.emergencyContactName,
291
- onChange: (e) => M("emergencyContactName", e.target.value),
292
- disabled: !p,
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"
294
- })] }),
295
- /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
296
- className: "block text-xs font-medium text-text-secondary mb-1",
297
- children: "Contact Phone"
298
- }), /* @__PURE__ */ b("input", {
299
- type: "text",
300
- value: O.emergencyContactPhone,
301
- onChange: (e) => M("emergencyContactPhone", e.target.value),
302
- disabled: !p,
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"
304
- })] }),
305
- /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
306
- className: "block text-xs font-medium text-text-secondary mb-1",
307
- children: "Relationship"
308
- }), /* @__PURE__ */ b("input", {
309
- type: "text",
310
- value: O.emergencyContactRelation,
311
- onChange: (e) => M("emergencyContactRelation", e.target.value),
312
- disabled: !p,
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"
314
- })] })
315
- ]
316
- })]
317
- })
318
- ] }),
319
- c === "work" && /* @__PURE__ */ x("div", { children: [
320
- /* @__PURE__ */ b("h2", {
321
- className: "text-lg font-semibold text-text-primary mb-5",
322
- children: "Work Details"
323
- }),
324
- /* @__PURE__ */ x("div", {
325
- className: "grid sm:grid-cols-2 gap-4",
326
- children: [
327
- /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
328
- className: "block text-xs font-medium text-text-secondary mb-1",
329
- children: "Employee ID"
330
- }), /* @__PURE__ */ b("input", {
331
- type: "text",
332
- value: O.employeeId,
333
- disabled: !0,
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"
335
- })] }),
336
- /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
337
- className: "block text-xs font-medium text-text-secondary mb-1",
338
- children: "Designation"
339
- }), /* @__PURE__ */ b("input", {
340
- type: "text",
341
- value: O.designation,
342
- disabled: !0,
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"
344
- })] }),
345
- /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
346
- className: "block text-xs font-medium text-text-secondary mb-1",
347
- children: "Department"
348
- }), /* @__PURE__ */ b("input", {
349
- type: "text",
350
- value: O.department,
351
- disabled: !0,
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"
353
- })] }),
354
- /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
355
- className: "block text-xs font-medium text-text-secondary mb-1",
356
- children: "Work Location"
357
- }), /* @__PURE__ */ b("input", {
358
- type: "text",
359
- value: O.workLocation,
360
- disabled: !0,
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"
362
- })] }),
363
- /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
364
- className: "block text-xs font-medium text-text-secondary mb-1",
365
- children: "Joining Date"
366
- }), /* @__PURE__ */ b("input", {
367
- type: "date",
368
- value: O.joiningDate,
369
- disabled: !0,
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"
371
- })] }),
372
- /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
373
- className: "block text-xs font-medium text-text-secondary mb-1",
374
- children: "Employment Type"
375
- }), /* @__PURE__ */ b("input", {
376
- type: "text",
377
- value: O.employmentType,
378
- disabled: !0,
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"
380
- })] })
381
- ]
382
- }),
383
- /* @__PURE__ */ x("div", {
384
- className: "mt-7 grid sm:grid-cols-3 gap-4",
385
- children: [
386
- /* @__PURE__ */ x("div", {
387
- className: "rounded-lg bg-bg-sunken/50 p-4 text-center",
388
- children: [/* @__PURE__ */ b("p", {
389
- className: "text-2xl font-bold text-accent-blue",
390
- children: r.totalDeliveries
391
- }), /* @__PURE__ */ b("p", {
392
- className: "text-xs text-text-secondary",
393
- children: "Total Deliveries"
394
- })]
395
- }),
396
- /* @__PURE__ */ x("div", {
397
- className: "rounded-lg bg-bg-sunken/50 p-4 text-center",
398
- children: [/* @__PURE__ */ b("p", {
399
- className: "text-2xl font-bold text-status-success-text",
400
- children: r.averageRating
401
- }), /* @__PURE__ */ b("p", {
402
- className: "text-xs text-text-secondary",
403
- children: "Average Rating"
404
- })]
405
- }),
406
- /* @__PURE__ */ x("div", {
407
- className: "rounded-lg bg-bg-sunken/50 p-4 text-center",
408
- children: [/* @__PURE__ */ x("p", {
409
- className: "text-2xl font-bold text-accent-blue",
410
- children: [r.completionRate, "%"]
411
- }), /* @__PURE__ */ b("p", {
412
- className: "text-xs text-text-secondary",
413
- children: "On-Time Delivery"
414
- })]
415
- })
416
- ]
417
- })
418
- ] }),
419
- c === "address" && /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("h2", {
420
- className: "text-lg font-semibold text-text-primary mb-5",
421
- children: "Address Information"
422
- }), /* @__PURE__ */ x("div", {
423
- className: "space-y-6",
424
- children: [/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("h3", {
425
- className: "text-sm font-semibold text-text-primary mb-3",
426
- children: "Current Address"
427
- }), /* @__PURE__ */ x("div", {
428
- className: "grid sm:grid-cols-2 gap-4",
429
- children: [
430
- /* @__PURE__ */ x("div", {
431
- className: "sm:col-span-2",
432
- children: [/* @__PURE__ */ b("label", {
433
- className: "block text-xs font-medium text-text-secondary mb-1",
434
- children: "Address Line"
435
- }), /* @__PURE__ */ b("textarea", {
436
- rows: 2,
437
- value: O.currentAddress,
438
- onChange: (e) => M("currentAddress", e.target.value),
439
- disabled: !p,
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"
441
- })]
442
- }),
443
- /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
444
- className: "block text-xs font-medium text-text-secondary mb-1",
445
- children: "City"
446
- }), /* @__PURE__ */ b("input", {
447
- type: "text",
448
- value: O.city,
449
- onChange: (e) => M("city", e.target.value),
450
- disabled: !p,
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"
452
- })] }),
453
- /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
454
- className: "block text-xs font-medium text-text-secondary mb-1",
455
- children: "State"
456
- }), /* @__PURE__ */ b("input", {
457
- type: "text",
458
- value: O.state,
459
- onChange: (e) => M("state", e.target.value),
460
- disabled: !p,
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"
462
- })] }),
463
- /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
464
- className: "block text-xs font-medium text-text-secondary mb-1",
465
- children: "Pincode"
466
- }), /* @__PURE__ */ b("input", {
467
- type: "text",
468
- value: O.pincode,
469
- onChange: (e) => M("pincode", e.target.value),
470
- disabled: !p,
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"
472
- })] })
473
- ]
474
- })] }), /* @__PURE__ */ x("div", { children: [
475
- /* @__PURE__ */ b("h3", {
476
- className: "text-sm font-semibold text-text-primary mb-3",
477
- children: "Permanent Address"
478
- }),
479
- /* @__PURE__ */ x("label", {
480
- className: "flex items-center gap-2 mb-3 cursor-pointer",
481
- children: [/* @__PURE__ */ b("input", {
482
- type: "checkbox",
483
- checked: O.sameAsCurrent,
484
- onChange: (e) => M("sameAsCurrent", e.target.checked),
485
- disabled: !p,
486
- className: "h-4 w-4 rounded border-border-subtle text-accent-blue focus:ring-accent-blue-subtle/40"
487
- }), /* @__PURE__ */ b("span", {
488
- className: "text-xs text-text-primary",
489
- children: "Same as current address"
490
- })]
491
- }),
492
- !O.sameAsCurrent && /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
493
- className: "block text-xs font-medium text-text-secondary mb-1",
494
- children: "Address Line"
495
- }), /* @__PURE__ */ b("textarea", {
496
- rows: 2,
497
- value: O.permanentAddress,
498
- onChange: (e) => M("permanentAddress", e.target.value),
499
- disabled: !p,
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"
501
- })] })
502
- ] })]
503
- })] }),
504
- c === "documents" && /* @__PURE__ */ x("div", { children: [
505
- /* @__PURE__ */ b("h2", {
506
- className: "text-lg font-semibold text-text-primary mb-5",
507
- children: "Documents & Banking"
508
- }),
509
- /* @__PURE__ */ b("div", {
510
- className: "rounded-lg bg-status-warning-bg-subtle/10 border border-status-warning-border/20 p-3 mb-5",
511
- children: /* @__PURE__ */ x("p", {
512
- className: "text-xs text-status-warning-text flex items-center gap-2",
513
- children: [/* @__PURE__ */ b(g, { className: "h-4 w-4 shrink-0" }), "Your documents and banking information are encrypted and secure."]
514
- })
515
- }),
516
- /* @__PURE__ */ x("div", {
517
- className: "grid sm:grid-cols-2 gap-4",
518
- children: [
519
- /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
520
- className: "block text-xs font-medium text-text-secondary mb-1",
521
- children: "PAN Number"
522
- }), /* @__PURE__ */ b("input", {
523
- type: "text",
524
- value: O.panNumber,
525
- disabled: !0,
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"
527
- })] }),
528
- /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
529
- className: "block text-xs font-medium text-text-secondary mb-1",
530
- children: "Aadhar Number"
531
- }), /* @__PURE__ */ b("input", {
532
- type: "text",
533
- value: O.aadharNumber,
534
- disabled: !0,
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"
536
- })] }),
537
- /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
538
- className: "block text-xs font-medium text-text-secondary mb-1",
539
- children: "Bank Name"
540
- }), /* @__PURE__ */ b("input", {
541
- type: "text",
542
- value: O.bankName,
543
- onChange: (e) => M("bankName", e.target.value),
544
- disabled: !p,
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"
546
- })] }),
547
- /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
548
- className: "block text-xs font-medium text-text-secondary mb-1",
549
- children: "Account Number"
550
- }), /* @__PURE__ */ b("input", {
551
- type: "text",
552
- value: O.accountNumber,
553
- disabled: !0,
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"
555
- })] }),
556
- /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
557
- className: "block text-xs font-medium text-text-secondary mb-1",
558
- children: "IFSC Code"
559
- }), /* @__PURE__ */ b("input", {
560
- type: "text",
561
- value: O.ifscCode,
562
- onChange: (e) => M("ifscCode", e.target.value),
563
- disabled: !p,
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"
565
- })] })
566
- ]
567
- })
568
- ] }),
569
- c === "achievements" && /* @__PURE__ */ x("div", { children: [
570
- /* @__PURE__ */ b("h2", {
571
- className: "text-lg font-semibold text-text-primary mb-5",
572
- children: "Achievements & Recognition"
573
- }),
574
- /* @__PURE__ */ x("div", {
575
- className: "grid sm:grid-cols-2 gap-4 mb-7",
576
- children: [/* @__PURE__ */ x("div", {
577
- className: "rounded-lg bg-status-warning-bg-subtle/5 border border-status-warning-border/20 p-5 text-center",
578
- children: [
579
- /* @__PURE__ */ b(o, { className: "h-10 w-10 text-status-warning-text mx-auto mb-2" }),
580
- /* @__PURE__ */ b("h3", {
581
- className: "text-sm font-semibold text-text-primary",
582
- children: "Employee of the Month"
583
- }),
584
- /* @__PURE__ */ b("p", {
585
- className: "text-xs text-text-secondary mt-1",
586
- children: "December 2023"
587
- })
588
- ]
589
- }), /* @__PURE__ */ x("div", {
590
- className: "rounded-lg bg-accent-blue-subtle/5 border border-accent-blue-subtle/20 p-5 text-center",
591
- children: [
592
- /* @__PURE__ */ b(u, { className: "h-10 w-10 text-accent-blue mx-auto mb-2" }),
593
- /* @__PURE__ */ b("h3", {
594
- className: "text-sm font-semibold text-text-primary",
595
- children: "Perfect Attendance"
596
- }),
597
- /* @__PURE__ */ b("p", {
598
- className: "text-xs text-text-secondary mt-1",
599
- children: "Q3 2023"
600
- })
601
- ]
602
- })]
603
- }),
604
- /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("h3", {
605
- className: "text-sm font-semibold text-text-primary mb-4",
606
- children: "Performance Metrics"
607
- }), /* @__PURE__ */ x("div", {
608
- className: "space-y-4",
609
- children: [
610
- /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ x("div", {
611
- className: "flex justify-between items-center mb-1.5",
612
- children: [/* @__PURE__ */ b("span", {
613
- className: "text-xs text-text-secondary",
614
- children: "Delivery Success Rate"
615
- }), /* @__PURE__ */ b("span", {
616
- className: "text-xs font-medium text-text-primary",
617
- children: "98%"
618
- })]
619
- }), /* @__PURE__ */ b("div", {
620
- className: "w-full h-2 rounded-full bg-bg-sunken overflow-hidden",
621
- children: /* @__PURE__ */ b("div", {
622
- className: "h-full rounded-full bg-status-success-bg-subtle transition-all",
623
- style: { width: "98%" }
624
- })
625
- })] }),
626
- /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ x("div", {
627
- className: "flex justify-between items-center mb-1.5",
628
- children: [/* @__PURE__ */ b("span", {
629
- className: "text-xs text-text-secondary",
630
- children: "Customer Satisfaction"
631
- }), /* @__PURE__ */ b("span", {
632
- className: "text-xs font-medium text-text-primary",
633
- children: "95%"
634
- })]
635
- }), /* @__PURE__ */ b("div", {
636
- className: "w-full h-2 rounded-full bg-bg-sunken overflow-hidden",
637
- children: /* @__PURE__ */ b("div", {
638
- className: "h-full rounded-full bg-accent-blue-subtle transition-all",
639
- style: { width: "95%" }
640
- })
641
- })] }),
642
- /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ x("div", {
643
- className: "flex justify-between items-center mb-1.5",
644
- children: [/* @__PURE__ */ b("span", {
645
- className: "text-xs text-text-secondary",
646
- children: "Punctuality"
647
- }), /* @__PURE__ */ b("span", {
648
- className: "text-xs font-medium text-text-primary",
649
- children: "92%"
650
- })]
651
- }), /* @__PURE__ */ b("div", {
652
- className: "w-full h-2 rounded-full bg-bg-sunken overflow-hidden",
653
- children: /* @__PURE__ */ b("div", {
654
- className: "h-full rounded-full bg-accent-purple-subtle transition-all",
655
- style: { width: "92%" }
656
- })
657
- })] })
658
- ]
659
- })] })
660
- ] }),
661
- c === "notifications" && /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("h2", {
662
- className: "text-lg font-semibold text-text-primary mb-5",
663
- children: "Notification Preferences"
664
- }), /* @__PURE__ */ b("div", {
665
- className: "space-y-4",
666
- children: A.map((e) => /* @__PURE__ */ x("div", {
667
- className: "flex items-center justify-between p-4 rounded-lg bg-bg-sunken/50",
668
- children: [/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("h4", {
669
- className: "text-sm font-medium text-text-primary",
670
- children: e.label
671
- }), /* @__PURE__ */ b("p", {
672
- className: "text-xs text-text-secondary mt-0.5",
673
- children: e.description
674
- })] }), /* @__PURE__ */ b("button", {
675
- type: "button",
676
- onClick: () => F(e.id),
677
- disabled: !p,
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"),
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") })
680
- })]
681
- }, e.id))
682
- })] })
683
- ]
684
- })
685
- })]
686
- })]
687
- });
688
- };
689
- //#endregion
690
- export { T as WorkerProfilePage };
691
-
692
- //# sourceMappingURL=WorkerProfilePage.js.map