@burdenoff/microfe-adaptercloud 2026.614.1 → 2026.625.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adaptercloud/components/EmptyState.js +17 -21
- package/dist/adaptercloud/components/EmptyState.js.map +1 -1
- package/dist/adaptercloud/components/InvestmentCard.js +30 -28
- package/dist/adaptercloud/components/InvestmentCard.js.map +1 -1
- package/dist/adaptercloud/components/MetricsCard.js +21 -15
- package/dist/adaptercloud/components/MetricsCard.js.map +1 -1
- package/dist/adaptercloud/components/PageLayout.js +38 -19
- package/dist/adaptercloud/components/PageLayout.js.map +1 -1
- package/dist/adaptercloud/components/RatingDisplay.js +3 -3
- package/dist/adaptercloud/components/RatingDisplay.js.map +1 -1
- package/dist/adaptercloud/components/StatusBadge.js +36 -16
- package/dist/adaptercloud/components/StatusBadge.js.map +1 -1
- package/dist/adaptercloud/pages/HomePage.js +286 -275
- package/dist/adaptercloud/pages/HomePage.js.map +1 -1
- package/dist/adaptercloud/pages/admin/AdminAnalyticsPage.js +87 -87
- package/dist/adaptercloud/pages/admin/AdminAnalyticsPage.js.map +1 -1
- package/dist/adaptercloud/pages/admin/AdminDashboard.js +101 -101
- package/dist/adaptercloud/pages/admin/AdminDashboard.js.map +1 -1
- package/dist/adaptercloud/pages/admin/AdminFinancialPage.js +48 -48
- package/dist/adaptercloud/pages/admin/AdminFinancialPage.js.map +1 -1
- package/dist/adaptercloud/pages/admin/AdminOrdersPage.js +95 -95
- package/dist/adaptercloud/pages/admin/AdminOrdersPage.js.map +1 -1
- package/dist/adaptercloud/pages/admin/AdminProfilePage.js +34 -34
- package/dist/adaptercloud/pages/admin/AdminProfilePage.js.map +1 -1
- package/dist/adaptercloud/pages/admin/AdminSettingsPage.js +40 -40
- package/dist/adaptercloud/pages/admin/AdminSettingsPage.js.map +1 -1
- package/dist/adaptercloud/pages/admin/CartManagementPage.js +107 -107
- package/dist/adaptercloud/pages/admin/CartManagementPage.js.map +1 -1
- package/dist/adaptercloud/pages/admin/UserManagementPage.js +98 -98
- package/dist/adaptercloud/pages/admin/UserManagementPage.js.map +1 -1
- package/dist/adaptercloud/pages/cart-owner/AnalyticsDashboard.js +117 -117
- package/dist/adaptercloud/pages/cart-owner/AnalyticsDashboard.js.map +1 -1
- package/dist/adaptercloud/pages/cart-owner/BusinessSettingsPage.js +33 -33
- package/dist/adaptercloud/pages/cart-owner/BusinessSettingsPage.js.map +1 -1
- package/dist/adaptercloud/pages/cart-owner/CartOwnerDashboard.js +112 -109
- package/dist/adaptercloud/pages/cart-owner/CartOwnerDashboard.js.map +1 -1
- package/dist/adaptercloud/pages/cart-owner/CartOwnerProfilePage.js +115 -115
- package/dist/adaptercloud/pages/cart-owner/CartOwnerProfilePage.js.map +1 -1
- package/dist/adaptercloud/pages/cart-owner/CartServiceConfigPage.js +85 -85
- package/dist/adaptercloud/pages/cart-owner/CartServiceConfigPage.js.map +1 -1
- package/dist/adaptercloud/pages/cart-owner/InventoryManagementPage.js +106 -106
- package/dist/adaptercloud/pages/cart-owner/InventoryManagementPage.js.map +1 -1
- package/dist/adaptercloud/pages/cart-owner/OrderManagementPage.js +88 -88
- package/dist/adaptercloud/pages/cart-owner/OrderManagementPage.js.map +1 -1
- package/dist/adaptercloud/pages/cart-owner/StaffManagementPage.js +94 -94
- package/dist/adaptercloud/pages/cart-owner/StaffManagementPage.js.map +1 -1
- package/dist/adaptercloud/pages/common/HelpSupportPage.js +142 -142
- package/dist/adaptercloud/pages/common/HelpSupportPage.js.map +1 -1
- package/dist/adaptercloud/pages/common/NotificationCenterPage.js +67 -66
- package/dist/adaptercloud/pages/common/NotificationCenterPage.js.map +1 -1
- package/dist/adaptercloud/pages/common/SettingsPage.js +115 -115
- package/dist/adaptercloud/pages/common/SettingsPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/BookingDetailsPage.js +74 -73
- package/dist/adaptercloud/pages/customer/BookingDetailsPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/CartDetailPage.js +87 -86
- package/dist/adaptercloud/pages/customer/CartDetailPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/CartDiscoveryPage.js +66 -65
- package/dist/adaptercloud/pages/customer/CartDiscoveryPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/CheckoutPage.js +80 -80
- package/dist/adaptercloud/pages/customer/CheckoutPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/CustomerDashboard.js +88 -88
- package/dist/adaptercloud/pages/customer/CustomerDashboard.js.map +1 -1
- package/dist/adaptercloud/pages/customer/CustomerProfilePage.js +84 -84
- package/dist/adaptercloud/pages/customer/CustomerProfilePage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/DirectServiceBookingPage.js +92 -91
- package/dist/adaptercloud/pages/customer/DirectServiceBookingPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/FavoritesPage.js +34 -33
- package/dist/adaptercloud/pages/customer/FavoritesPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/OrderHistoryPage.js +44 -43
- package/dist/adaptercloud/pages/customer/OrderHistoryPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/OrderTrackingPage.js +61 -60
- package/dist/adaptercloud/pages/customer/OrderTrackingPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/PaymentMethodsPage.js +58 -57
- package/dist/adaptercloud/pages/customer/PaymentMethodsPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/ReviewsPage.js +48 -47
- package/dist/adaptercloud/pages/customer/ReviewsPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/SavedAddressesPage.js +46 -45
- package/dist/adaptercloud/pages/customer/SavedAddressesPage.js.map +1 -1
- package/dist/adaptercloud/pages/investor/InvestmentDetailsPage.js +128 -128
- package/dist/adaptercloud/pages/investor/InvestmentDetailsPage.js.map +1 -1
- package/dist/adaptercloud/pages/investor/InvestmentOpportunitiesPage.js +88 -87
- package/dist/adaptercloud/pages/investor/InvestmentOpportunitiesPage.js.map +1 -1
- package/dist/adaptercloud/pages/investor/InvestorAnalyticsPage.js +88 -88
- package/dist/adaptercloud/pages/investor/InvestorAnalyticsPage.js.map +1 -1
- package/dist/adaptercloud/pages/investor/InvestorDashboard.js +62 -62
- package/dist/adaptercloud/pages/investor/InvestorDashboard.js.map +1 -1
- package/dist/adaptercloud/pages/investor/InvestorInvestmentsPage.js +39 -38
- package/dist/adaptercloud/pages/investor/InvestorInvestmentsPage.js.map +1 -1
- package/dist/adaptercloud/pages/investor/InvestorPortfolioPage.js +66 -66
- package/dist/adaptercloud/pages/investor/InvestorPortfolioPage.js.map +1 -1
- package/dist/adaptercloud/pages/investor/InvestorProfilePage.js +153 -153
- package/dist/adaptercloud/pages/investor/InvestorProfilePage.js.map +1 -1
- package/dist/adaptercloud/pages/worker/TaskDetailsPage.js +81 -80
- package/dist/adaptercloud/pages/worker/TaskDetailsPage.js.map +1 -1
- package/dist/adaptercloud/pages/worker/WorkerDashboard.js +106 -106
- package/dist/adaptercloud/pages/worker/WorkerDashboard.js.map +1 -1
- package/dist/adaptercloud/pages/worker/WorkerOrdersPage.js +73 -72
- package/dist/adaptercloud/pages/worker/WorkerOrdersPage.js.map +1 -1
- package/dist/adaptercloud/pages/worker/WorkerProfilePage.js +107 -107
- package/dist/adaptercloud/pages/worker/WorkerProfilePage.js.map +1 -1
- package/dist/adaptercloud/pages/worker/WorkerSchedulePage.js +71 -69
- package/dist/adaptercloud/pages/worker/WorkerSchedulePage.js.map +1 -1
- package/dist/adaptercloud/utils/cn.js +2 -2
- package/dist/node_modules/{.bun/clsx@2.1.1/node_modules/clsx → clsx}/dist/clsx.js +1 -1
- package/dist/node_modules/clsx/dist/clsx.js.map +1 -0
- package/dist/node_modules/{.bun/tailwind-merge@3.5.0/node_modules/tailwind-merge → tailwind-merge}/dist/bundle-mjs.js +212 -170
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js.map +1 -0
- package/package.json +3 -3
- package/dist/node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.js.map +0 -1
- package/dist/node_modules/.bun/tailwind-merge@3.5.0/node_modules/tailwind-merge/dist/bundle-mjs.js.map +0 -1
|
@@ -131,18 +131,18 @@ var S = [
|
|
|
131
131
|
children: p ? /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ x("button", {
|
|
132
132
|
type: "button",
|
|
133
133
|
onClick: () => C(!1),
|
|
134
|
-
className: "inline-flex items-center gap-2 rounded-md bg-accent px-3 py-2 text-sm font-medium text-
|
|
134
|
+
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
135
|
children: [/* @__PURE__ */ b(v, { className: "h-4 w-4" }), "Cancel"]
|
|
136
136
|
}), /* @__PURE__ */ b("button", {
|
|
137
137
|
type: "button",
|
|
138
138
|
onClick: j,
|
|
139
139
|
disabled: w,
|
|
140
|
-
className: "inline-flex items-center gap-2 rounded-md bg-blue-
|
|
140
|
+
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
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
142
|
})] }) : /* @__PURE__ */ x("button", {
|
|
143
143
|
type: "button",
|
|
144
144
|
onClick: () => C(!0),
|
|
145
|
-
className: "inline-flex items-center gap-2 rounded-md bg-accent px-4 py-2 text-sm font-medium text-
|
|
145
|
+
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
146
|
children: [/* @__PURE__ */ b(m, { className: "h-4 w-4" }), "Edit Profile"]
|
|
147
147
|
})
|
|
148
148
|
}),
|
|
@@ -151,22 +151,22 @@ var S = [
|
|
|
151
151
|
children: [/* @__PURE__ */ x("div", {
|
|
152
152
|
className: "lg:col-span-1 space-y-4",
|
|
153
153
|
children: [/* @__PURE__ */ x("div", {
|
|
154
|
-
className: "rounded-lg border border-border bg-
|
|
154
|
+
className: "rounded-lg border border-border-seam bg-bg-surface p-5 text-center bg-gloss-card shadow-pop",
|
|
155
155
|
children: [
|
|
156
156
|
/* @__PURE__ */ x("div", {
|
|
157
157
|
className: "relative inline-block",
|
|
158
158
|
children: [/* @__PURE__ */ b("div", {
|
|
159
|
-
className: "h-20 w-20 rounded-full bg-
|
|
159
|
+
className: "h-20 w-20 rounded-full bg-bg-sunken overflow-hidden mx-auto",
|
|
160
160
|
children: E.profileImage ? /* @__PURE__ */ b("img", {
|
|
161
161
|
src: E.profileImage,
|
|
162
162
|
alt: `${E.firstName} ${E.lastName}`,
|
|
163
163
|
className: "h-full w-full object-cover"
|
|
164
164
|
}) : /* @__PURE__ */ b("div", {
|
|
165
|
-
className: "flex h-full w-full items-center justify-center text-
|
|
165
|
+
className: "flex h-full w-full items-center justify-center text-text-secondary",
|
|
166
166
|
children: /* @__PURE__ */ b(_, { className: "h-10 w-10" })
|
|
167
167
|
})
|
|
168
168
|
}), p && /* @__PURE__ */ x("label", {
|
|
169
|
-
className: "absolute bottom-0 right-0 flex h-7 w-7 items-center justify-center rounded-full bg-blue-
|
|
169
|
+
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",
|
|
170
170
|
children: [/* @__PURE__ */ b(l, { className: "h-3.5 w-3.5" }), /* @__PURE__ */ b("input", {
|
|
171
171
|
type: "file",
|
|
172
172
|
accept: "image/*",
|
|
@@ -176,7 +176,7 @@ var S = [
|
|
|
176
176
|
})]
|
|
177
177
|
}),
|
|
178
178
|
/* @__PURE__ */ x("h3", {
|
|
179
|
-
className: "mt-3 text-sm font-semibold text-
|
|
179
|
+
className: "mt-3 text-sm font-semibold text-text-primary",
|
|
180
180
|
children: [
|
|
181
181
|
E.firstName,
|
|
182
182
|
" ",
|
|
@@ -184,11 +184,11 @@ var S = [
|
|
|
184
184
|
]
|
|
185
185
|
}),
|
|
186
186
|
/* @__PURE__ */ b("p", {
|
|
187
|
-
className: "text-xs text-
|
|
187
|
+
className: "text-xs text-text-secondary",
|
|
188
188
|
children: E.designation
|
|
189
189
|
}),
|
|
190
190
|
/* @__PURE__ */ b("p", {
|
|
191
|
-
className: "text-[10px] text-
|
|
191
|
+
className: "text-[10px] text-text-secondary mt-0.5",
|
|
192
192
|
children: E.employeeId
|
|
193
193
|
})
|
|
194
194
|
]
|
|
@@ -199,7 +199,7 @@ var S = [
|
|
|
199
199
|
return /* @__PURE__ */ x("button", {
|
|
200
200
|
type: "button",
|
|
201
201
|
onClick: () => d(e.id),
|
|
202
|
-
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-blue-
|
|
202
|
+
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"),
|
|
203
203
|
children: [/* @__PURE__ */ b(n, { className: "h-4 w-4" }), e.label]
|
|
204
204
|
}, e.id);
|
|
205
205
|
})
|
|
@@ -207,105 +207,105 @@ var S = [
|
|
|
207
207
|
}), /* @__PURE__ */ b("div", {
|
|
208
208
|
className: "lg:col-span-3",
|
|
209
209
|
children: /* @__PURE__ */ x("div", {
|
|
210
|
-
className: "rounded-lg border border-border bg-
|
|
210
|
+
className: "rounded-lg border border-border-seam bg-bg-surface p-6 bg-gloss-card shadow-pop",
|
|
211
211
|
children: [
|
|
212
212
|
c === "personal" && /* @__PURE__ */ x("div", { children: [
|
|
213
213
|
/* @__PURE__ */ b("h2", {
|
|
214
|
-
className: "text-lg font-semibold text-
|
|
214
|
+
className: "text-lg font-semibold text-text-primary mb-5",
|
|
215
215
|
children: "Personal Information"
|
|
216
216
|
}),
|
|
217
217
|
/* @__PURE__ */ x("div", {
|
|
218
218
|
className: "grid sm:grid-cols-2 gap-4",
|
|
219
219
|
children: [
|
|
220
220
|
/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
|
|
221
|
-
className: "block text-xs font-medium text-
|
|
221
|
+
className: "block text-xs font-medium text-text-secondary mb-1",
|
|
222
222
|
children: "First Name"
|
|
223
223
|
}), /* @__PURE__ */ b("input", {
|
|
224
224
|
type: "text",
|
|
225
225
|
value: E.firstName,
|
|
226
226
|
onChange: (e) => A("firstName", e.target.value),
|
|
227
227
|
disabled: !p,
|
|
228
|
-
className: "w-full rounded-md border border-border bg-
|
|
228
|
+
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
229
|
})] }),
|
|
230
230
|
/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
|
|
231
|
-
className: "block text-xs font-medium text-
|
|
231
|
+
className: "block text-xs font-medium text-text-secondary mb-1",
|
|
232
232
|
children: "Last Name"
|
|
233
233
|
}), /* @__PURE__ */ b("input", {
|
|
234
234
|
type: "text",
|
|
235
235
|
value: E.lastName,
|
|
236
236
|
onChange: (e) => A("lastName", e.target.value),
|
|
237
237
|
disabled: !p,
|
|
238
|
-
className: "w-full rounded-md border border-border bg-
|
|
238
|
+
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
239
|
})] }),
|
|
240
240
|
/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
|
|
241
|
-
className: "block text-xs font-medium text-
|
|
241
|
+
className: "block text-xs font-medium text-text-secondary mb-1",
|
|
242
242
|
children: "Email Address"
|
|
243
243
|
}), /* @__PURE__ */ b("input", {
|
|
244
244
|
type: "email",
|
|
245
245
|
value: E.email,
|
|
246
246
|
onChange: (e) => A("email", e.target.value),
|
|
247
247
|
disabled: !p,
|
|
248
|
-
className: "w-full rounded-md border border-border bg-
|
|
248
|
+
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
249
|
})] }),
|
|
250
250
|
/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
|
|
251
|
-
className: "block text-xs font-medium text-
|
|
251
|
+
className: "block text-xs font-medium text-text-secondary mb-1",
|
|
252
252
|
children: "Phone Number"
|
|
253
253
|
}), /* @__PURE__ */ b("input", {
|
|
254
254
|
type: "text",
|
|
255
255
|
value: E.phone,
|
|
256
256
|
onChange: (e) => A("phone", e.target.value),
|
|
257
257
|
disabled: !p,
|
|
258
|
-
className: "w-full rounded-md border border-border bg-
|
|
258
|
+
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
259
|
})] }),
|
|
260
260
|
/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
|
|
261
|
-
className: "block text-xs font-medium text-
|
|
261
|
+
className: "block text-xs font-medium text-text-secondary mb-1",
|
|
262
262
|
children: "Date of Birth"
|
|
263
263
|
}), /* @__PURE__ */ b("input", {
|
|
264
264
|
type: "date",
|
|
265
265
|
value: E.dateOfBirth,
|
|
266
266
|
onChange: (e) => A("dateOfBirth", e.target.value),
|
|
267
267
|
disabled: !p,
|
|
268
|
-
className: "w-full rounded-md border border-border bg-
|
|
268
|
+
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
269
|
})] })
|
|
270
270
|
]
|
|
271
271
|
}),
|
|
272
272
|
/* @__PURE__ */ x("div", {
|
|
273
273
|
className: "mt-7",
|
|
274
274
|
children: [/* @__PURE__ */ b("h3", {
|
|
275
|
-
className: "text-sm font-semibold text-
|
|
275
|
+
className: "text-sm font-semibold text-text-primary mb-4",
|
|
276
276
|
children: "Emergency Contact"
|
|
277
277
|
}), /* @__PURE__ */ x("div", {
|
|
278
278
|
className: "grid sm:grid-cols-3 gap-4",
|
|
279
279
|
children: [
|
|
280
280
|
/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
|
|
281
|
-
className: "block text-xs font-medium text-
|
|
281
|
+
className: "block text-xs font-medium text-text-secondary mb-1",
|
|
282
282
|
children: "Contact Name"
|
|
283
283
|
}), /* @__PURE__ */ b("input", {
|
|
284
284
|
type: "text",
|
|
285
285
|
value: E.emergencyContactName,
|
|
286
286
|
onChange: (e) => A("emergencyContactName", e.target.value),
|
|
287
287
|
disabled: !p,
|
|
288
|
-
className: "w-full rounded-md border border-border bg-
|
|
288
|
+
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
289
|
})] }),
|
|
290
290
|
/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
|
|
291
|
-
className: "block text-xs font-medium text-
|
|
291
|
+
className: "block text-xs font-medium text-text-secondary mb-1",
|
|
292
292
|
children: "Contact Phone"
|
|
293
293
|
}), /* @__PURE__ */ b("input", {
|
|
294
294
|
type: "text",
|
|
295
295
|
value: E.emergencyContactPhone,
|
|
296
296
|
onChange: (e) => A("emergencyContactPhone", e.target.value),
|
|
297
297
|
disabled: !p,
|
|
298
|
-
className: "w-full rounded-md border border-border bg-
|
|
298
|
+
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
299
|
})] }),
|
|
300
300
|
/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
|
|
301
|
-
className: "block text-xs font-medium text-
|
|
301
|
+
className: "block text-xs font-medium text-text-secondary mb-1",
|
|
302
302
|
children: "Relationship"
|
|
303
303
|
}), /* @__PURE__ */ b("input", {
|
|
304
304
|
type: "text",
|
|
305
305
|
value: E.emergencyContactRelation,
|
|
306
306
|
onChange: (e) => A("emergencyContactRelation", e.target.value),
|
|
307
307
|
disabled: !p,
|
|
308
|
-
className: "w-full rounded-md border border-border bg-
|
|
308
|
+
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
309
|
})] })
|
|
310
310
|
]
|
|
311
311
|
})]
|
|
@@ -313,65 +313,65 @@ var S = [
|
|
|
313
313
|
] }),
|
|
314
314
|
c === "work" && /* @__PURE__ */ x("div", { children: [
|
|
315
315
|
/* @__PURE__ */ b("h2", {
|
|
316
|
-
className: "text-lg font-semibold text-
|
|
316
|
+
className: "text-lg font-semibold text-text-primary mb-5",
|
|
317
317
|
children: "Work Details"
|
|
318
318
|
}),
|
|
319
319
|
/* @__PURE__ */ x("div", {
|
|
320
320
|
className: "grid sm:grid-cols-2 gap-4",
|
|
321
321
|
children: [
|
|
322
322
|
/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
|
|
323
|
-
className: "block text-xs font-medium text-
|
|
323
|
+
className: "block text-xs font-medium text-text-secondary mb-1",
|
|
324
324
|
children: "Employee ID"
|
|
325
325
|
}), /* @__PURE__ */ b("input", {
|
|
326
326
|
type: "text",
|
|
327
327
|
value: E.employeeId,
|
|
328
328
|
disabled: !0,
|
|
329
|
-
className: "w-full rounded-md border border-border bg-
|
|
329
|
+
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
330
|
})] }),
|
|
331
331
|
/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
|
|
332
|
-
className: "block text-xs font-medium text-
|
|
332
|
+
className: "block text-xs font-medium text-text-secondary mb-1",
|
|
333
333
|
children: "Designation"
|
|
334
334
|
}), /* @__PURE__ */ b("input", {
|
|
335
335
|
type: "text",
|
|
336
336
|
value: E.designation,
|
|
337
337
|
disabled: !0,
|
|
338
|
-
className: "w-full rounded-md border border-border bg-
|
|
338
|
+
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
339
|
})] }),
|
|
340
340
|
/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
|
|
341
|
-
className: "block text-xs font-medium text-
|
|
341
|
+
className: "block text-xs font-medium text-text-secondary mb-1",
|
|
342
342
|
children: "Department"
|
|
343
343
|
}), /* @__PURE__ */ b("input", {
|
|
344
344
|
type: "text",
|
|
345
345
|
value: E.department,
|
|
346
346
|
disabled: !0,
|
|
347
|
-
className: "w-full rounded-md border border-border bg-
|
|
347
|
+
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
348
|
})] }),
|
|
349
349
|
/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
|
|
350
|
-
className: "block text-xs font-medium text-
|
|
350
|
+
className: "block text-xs font-medium text-text-secondary mb-1",
|
|
351
351
|
children: "Work Location"
|
|
352
352
|
}), /* @__PURE__ */ b("input", {
|
|
353
353
|
type: "text",
|
|
354
354
|
value: E.workLocation,
|
|
355
355
|
disabled: !0,
|
|
356
|
-
className: "w-full rounded-md border border-border bg-
|
|
356
|
+
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
357
|
})] }),
|
|
358
358
|
/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
|
|
359
|
-
className: "block text-xs font-medium text-
|
|
359
|
+
className: "block text-xs font-medium text-text-secondary mb-1",
|
|
360
360
|
children: "Joining Date"
|
|
361
361
|
}), /* @__PURE__ */ b("input", {
|
|
362
362
|
type: "date",
|
|
363
363
|
value: E.joiningDate,
|
|
364
364
|
disabled: !0,
|
|
365
|
-
className: "w-full rounded-md border border-border bg-
|
|
365
|
+
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
366
|
})] }),
|
|
367
367
|
/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
|
|
368
|
-
className: "block text-xs font-medium text-
|
|
368
|
+
className: "block text-xs font-medium text-text-secondary mb-1",
|
|
369
369
|
children: "Employment Type"
|
|
370
370
|
}), /* @__PURE__ */ b("input", {
|
|
371
371
|
type: "text",
|
|
372
372
|
value: E.employmentType,
|
|
373
373
|
disabled: !0,
|
|
374
|
-
className: "w-full rounded-md border border-border bg-
|
|
374
|
+
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
375
|
})] })
|
|
376
376
|
]
|
|
377
377
|
}),
|
|
@@ -379,32 +379,32 @@ var S = [
|
|
|
379
379
|
className: "mt-7 grid sm:grid-cols-3 gap-4",
|
|
380
380
|
children: [
|
|
381
381
|
/* @__PURE__ */ x("div", {
|
|
382
|
-
className: "rounded-lg bg-
|
|
382
|
+
className: "rounded-lg bg-bg-sunken/50 p-4 text-center",
|
|
383
383
|
children: [/* @__PURE__ */ b("p", {
|
|
384
|
-
className: "text-2xl font-bold text-
|
|
384
|
+
className: "text-2xl font-bold text-accent-blue",
|
|
385
385
|
children: r.totalDeliveries
|
|
386
386
|
}), /* @__PURE__ */ b("p", {
|
|
387
|
-
className: "text-xs text-
|
|
387
|
+
className: "text-xs text-text-secondary",
|
|
388
388
|
children: "Total Deliveries"
|
|
389
389
|
})]
|
|
390
390
|
}),
|
|
391
391
|
/* @__PURE__ */ x("div", {
|
|
392
|
-
className: "rounded-lg bg-
|
|
392
|
+
className: "rounded-lg bg-bg-sunken/50 p-4 text-center",
|
|
393
393
|
children: [/* @__PURE__ */ b("p", {
|
|
394
|
-
className: "text-2xl font-bold text-
|
|
394
|
+
className: "text-2xl font-bold text-status-success-text",
|
|
395
395
|
children: r.averageRating
|
|
396
396
|
}), /* @__PURE__ */ b("p", {
|
|
397
|
-
className: "text-xs text-
|
|
397
|
+
className: "text-xs text-text-secondary",
|
|
398
398
|
children: "Average Rating"
|
|
399
399
|
})]
|
|
400
400
|
}),
|
|
401
401
|
/* @__PURE__ */ x("div", {
|
|
402
|
-
className: "rounded-lg bg-
|
|
402
|
+
className: "rounded-lg bg-bg-sunken/50 p-4 text-center",
|
|
403
403
|
children: [/* @__PURE__ */ x("p", {
|
|
404
|
-
className: "text-2xl font-bold text-
|
|
404
|
+
className: "text-2xl font-bold text-accent-blue",
|
|
405
405
|
children: [r.completionRate, "%"]
|
|
406
406
|
}), /* @__PURE__ */ b("p", {
|
|
407
|
-
className: "text-xs text-
|
|
407
|
+
className: "text-xs text-text-secondary",
|
|
408
408
|
children: "On-Time Delivery"
|
|
409
409
|
})]
|
|
410
410
|
})
|
|
@@ -412,12 +412,12 @@ var S = [
|
|
|
412
412
|
})
|
|
413
413
|
] }),
|
|
414
414
|
c === "address" && /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("h2", {
|
|
415
|
-
className: "text-lg font-semibold text-
|
|
415
|
+
className: "text-lg font-semibold text-text-primary mb-5",
|
|
416
416
|
children: "Address Information"
|
|
417
417
|
}), /* @__PURE__ */ x("div", {
|
|
418
418
|
className: "space-y-6",
|
|
419
419
|
children: [/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("h3", {
|
|
420
|
-
className: "text-sm font-semibold text-
|
|
420
|
+
className: "text-sm font-semibold text-text-primary mb-3",
|
|
421
421
|
children: "Current Address"
|
|
422
422
|
}), /* @__PURE__ */ x("div", {
|
|
423
423
|
className: "grid sm:grid-cols-2 gap-4",
|
|
@@ -425,50 +425,50 @@ var S = [
|
|
|
425
425
|
/* @__PURE__ */ x("div", {
|
|
426
426
|
className: "sm:col-span-2",
|
|
427
427
|
children: [/* @__PURE__ */ b("label", {
|
|
428
|
-
className: "block text-xs font-medium text-
|
|
428
|
+
className: "block text-xs font-medium text-text-secondary mb-1",
|
|
429
429
|
children: "Address Line"
|
|
430
430
|
}), /* @__PURE__ */ b("textarea", {
|
|
431
431
|
rows: 2,
|
|
432
432
|
value: E.currentAddress,
|
|
433
433
|
onChange: (e) => A("currentAddress", e.target.value),
|
|
434
434
|
disabled: !p,
|
|
435
|
-
className: "w-full rounded-md border border-border bg-
|
|
435
|
+
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
436
|
})]
|
|
437
437
|
}),
|
|
438
438
|
/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
|
|
439
|
-
className: "block text-xs font-medium text-
|
|
439
|
+
className: "block text-xs font-medium text-text-secondary mb-1",
|
|
440
440
|
children: "City"
|
|
441
441
|
}), /* @__PURE__ */ b("input", {
|
|
442
442
|
type: "text",
|
|
443
443
|
value: E.city,
|
|
444
444
|
onChange: (e) => A("city", e.target.value),
|
|
445
445
|
disabled: !p,
|
|
446
|
-
className: "w-full rounded-md border border-border bg-
|
|
446
|
+
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
447
|
})] }),
|
|
448
448
|
/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
|
|
449
|
-
className: "block text-xs font-medium text-
|
|
449
|
+
className: "block text-xs font-medium text-text-secondary mb-1",
|
|
450
450
|
children: "State"
|
|
451
451
|
}), /* @__PURE__ */ b("input", {
|
|
452
452
|
type: "text",
|
|
453
453
|
value: E.state,
|
|
454
454
|
onChange: (e) => A("state", e.target.value),
|
|
455
455
|
disabled: !p,
|
|
456
|
-
className: "w-full rounded-md border border-border bg-
|
|
456
|
+
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
457
|
})] }),
|
|
458
458
|
/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
|
|
459
|
-
className: "block text-xs font-medium text-
|
|
459
|
+
className: "block text-xs font-medium text-text-secondary mb-1",
|
|
460
460
|
children: "Pincode"
|
|
461
461
|
}), /* @__PURE__ */ b("input", {
|
|
462
462
|
type: "text",
|
|
463
463
|
value: E.pincode,
|
|
464
464
|
onChange: (e) => A("pincode", e.target.value),
|
|
465
465
|
disabled: !p,
|
|
466
|
-
className: "w-full rounded-md border border-border bg-
|
|
466
|
+
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
467
|
})] })
|
|
468
468
|
]
|
|
469
469
|
})] }), /* @__PURE__ */ x("div", { children: [
|
|
470
470
|
/* @__PURE__ */ b("h3", {
|
|
471
|
-
className: "text-sm font-semibold text-
|
|
471
|
+
className: "text-sm font-semibold text-text-primary mb-3",
|
|
472
472
|
children: "Permanent Address"
|
|
473
473
|
}),
|
|
474
474
|
/* @__PURE__ */ x("label", {
|
|
@@ -478,33 +478,33 @@ var S = [
|
|
|
478
478
|
checked: E.sameAsCurrent,
|
|
479
479
|
onChange: (e) => A("sameAsCurrent", e.target.checked),
|
|
480
480
|
disabled: !p,
|
|
481
|
-
className: "h-4 w-4 rounded border-border text-blue
|
|
481
|
+
className: "h-4 w-4 rounded border-border-subtle text-accent-blue focus:ring-accent-blue-subtle/40"
|
|
482
482
|
}), /* @__PURE__ */ b("span", {
|
|
483
|
-
className: "text-xs text-
|
|
483
|
+
className: "text-xs text-text-primary",
|
|
484
484
|
children: "Same as current address"
|
|
485
485
|
})]
|
|
486
486
|
}),
|
|
487
487
|
!E.sameAsCurrent && /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
|
|
488
|
-
className: "block text-xs font-medium text-
|
|
488
|
+
className: "block text-xs font-medium text-text-secondary mb-1",
|
|
489
489
|
children: "Address Line"
|
|
490
490
|
}), /* @__PURE__ */ b("textarea", {
|
|
491
491
|
rows: 2,
|
|
492
492
|
value: E.permanentAddress,
|
|
493
493
|
onChange: (e) => A("permanentAddress", e.target.value),
|
|
494
494
|
disabled: !p,
|
|
495
|
-
className: "w-full rounded-md border border-border bg-
|
|
495
|
+
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
496
|
})] })
|
|
497
497
|
] })]
|
|
498
498
|
})] }),
|
|
499
499
|
c === "documents" && /* @__PURE__ */ x("div", { children: [
|
|
500
500
|
/* @__PURE__ */ b("h2", {
|
|
501
|
-
className: "text-lg font-semibold text-
|
|
501
|
+
className: "text-lg font-semibold text-text-primary mb-5",
|
|
502
502
|
children: "Documents & Banking"
|
|
503
503
|
}),
|
|
504
504
|
/* @__PURE__ */ b("div", {
|
|
505
|
-
className: "rounded-lg bg-
|
|
505
|
+
className: "rounded-lg bg-status-warning-bg-subtle/10 border border-status-warning-border/20 p-3 mb-5",
|
|
506
506
|
children: /* @__PURE__ */ x("p", {
|
|
507
|
-
className: "text-xs text-
|
|
507
|
+
className: "text-xs text-status-warning-text flex items-center gap-2",
|
|
508
508
|
children: [/* @__PURE__ */ b(g, { className: "h-4 w-4 shrink-0" }), "Your documents and banking information are encrypted and secure."]
|
|
509
509
|
})
|
|
510
510
|
}),
|
|
@@ -512,92 +512,92 @@ var S = [
|
|
|
512
512
|
className: "grid sm:grid-cols-2 gap-4",
|
|
513
513
|
children: [
|
|
514
514
|
/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
|
|
515
|
-
className: "block text-xs font-medium text-
|
|
515
|
+
className: "block text-xs font-medium text-text-secondary mb-1",
|
|
516
516
|
children: "PAN Number"
|
|
517
517
|
}), /* @__PURE__ */ b("input", {
|
|
518
518
|
type: "text",
|
|
519
519
|
value: E.panNumber,
|
|
520
520
|
disabled: !0,
|
|
521
|
-
className: "w-full rounded-md border border-border bg-
|
|
521
|
+
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
522
|
})] }),
|
|
523
523
|
/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
|
|
524
|
-
className: "block text-xs font-medium text-
|
|
524
|
+
className: "block text-xs font-medium text-text-secondary mb-1",
|
|
525
525
|
children: "Aadhar Number"
|
|
526
526
|
}), /* @__PURE__ */ b("input", {
|
|
527
527
|
type: "text",
|
|
528
528
|
value: E.aadharNumber,
|
|
529
529
|
disabled: !0,
|
|
530
|
-
className: "w-full rounded-md border border-border bg-
|
|
530
|
+
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
531
|
})] }),
|
|
532
532
|
/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
|
|
533
|
-
className: "block text-xs font-medium text-
|
|
533
|
+
className: "block text-xs font-medium text-text-secondary mb-1",
|
|
534
534
|
children: "Bank Name"
|
|
535
535
|
}), /* @__PURE__ */ b("input", {
|
|
536
536
|
type: "text",
|
|
537
537
|
value: E.bankName,
|
|
538
538
|
onChange: (e) => A("bankName", e.target.value),
|
|
539
539
|
disabled: !p,
|
|
540
|
-
className: "w-full rounded-md border border-border bg-
|
|
540
|
+
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
541
|
})] }),
|
|
542
542
|
/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
|
|
543
|
-
className: "block text-xs font-medium text-
|
|
543
|
+
className: "block text-xs font-medium text-text-secondary mb-1",
|
|
544
544
|
children: "Account Number"
|
|
545
545
|
}), /* @__PURE__ */ b("input", {
|
|
546
546
|
type: "text",
|
|
547
547
|
value: E.accountNumber,
|
|
548
548
|
disabled: !0,
|
|
549
|
-
className: "w-full rounded-md border border-border bg-
|
|
549
|
+
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
550
|
})] }),
|
|
551
551
|
/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
|
|
552
|
-
className: "block text-xs font-medium text-
|
|
552
|
+
className: "block text-xs font-medium text-text-secondary mb-1",
|
|
553
553
|
children: "IFSC Code"
|
|
554
554
|
}), /* @__PURE__ */ b("input", {
|
|
555
555
|
type: "text",
|
|
556
556
|
value: E.ifscCode,
|
|
557
557
|
onChange: (e) => A("ifscCode", e.target.value),
|
|
558
558
|
disabled: !p,
|
|
559
|
-
className: "w-full rounded-md border border-border bg-
|
|
559
|
+
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
560
|
})] })
|
|
561
561
|
]
|
|
562
562
|
})
|
|
563
563
|
] }),
|
|
564
564
|
c === "achievements" && /* @__PURE__ */ x("div", { children: [
|
|
565
565
|
/* @__PURE__ */ b("h2", {
|
|
566
|
-
className: "text-lg font-semibold text-
|
|
566
|
+
className: "text-lg font-semibold text-text-primary mb-5",
|
|
567
567
|
children: "Achievements & Recognition"
|
|
568
568
|
}),
|
|
569
569
|
/* @__PURE__ */ x("div", {
|
|
570
570
|
className: "grid sm:grid-cols-2 gap-4 mb-7",
|
|
571
571
|
children: [/* @__PURE__ */ x("div", {
|
|
572
|
-
className: "rounded-lg bg-
|
|
572
|
+
className: "rounded-lg bg-status-warning-bg-subtle/5 border border-status-warning-border/20 p-5 text-center",
|
|
573
573
|
children: [
|
|
574
|
-
/* @__PURE__ */ b(o, { className: "h-10 w-10 text-
|
|
574
|
+
/* @__PURE__ */ b(o, { className: "h-10 w-10 text-status-warning-text mx-auto mb-2" }),
|
|
575
575
|
/* @__PURE__ */ b("h3", {
|
|
576
|
-
className: "text-sm font-semibold text-
|
|
576
|
+
className: "text-sm font-semibold text-text-primary",
|
|
577
577
|
children: "Employee of the Month"
|
|
578
578
|
}),
|
|
579
579
|
/* @__PURE__ */ b("p", {
|
|
580
|
-
className: "text-xs text-
|
|
580
|
+
className: "text-xs text-text-secondary mt-1",
|
|
581
581
|
children: "December 2023"
|
|
582
582
|
})
|
|
583
583
|
]
|
|
584
584
|
}), /* @__PURE__ */ x("div", {
|
|
585
|
-
className: "rounded-lg bg-blue-
|
|
585
|
+
className: "rounded-lg bg-accent-blue-subtle/5 border border-accent-blue-subtle/20 p-5 text-center",
|
|
586
586
|
children: [
|
|
587
|
-
/* @__PURE__ */ b(u, { className: "h-10 w-10 text-
|
|
587
|
+
/* @__PURE__ */ b(u, { className: "h-10 w-10 text-accent-blue mx-auto mb-2" }),
|
|
588
588
|
/* @__PURE__ */ b("h3", {
|
|
589
|
-
className: "text-sm font-semibold text-
|
|
589
|
+
className: "text-sm font-semibold text-text-primary",
|
|
590
590
|
children: "Perfect Attendance"
|
|
591
591
|
}),
|
|
592
592
|
/* @__PURE__ */ b("p", {
|
|
593
|
-
className: "text-xs text-
|
|
593
|
+
className: "text-xs text-text-secondary mt-1",
|
|
594
594
|
children: "Q3 2023"
|
|
595
595
|
})
|
|
596
596
|
]
|
|
597
597
|
})]
|
|
598
598
|
}),
|
|
599
599
|
/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("h3", {
|
|
600
|
-
className: "text-sm font-semibold text-
|
|
600
|
+
className: "text-sm font-semibold text-text-primary mb-4",
|
|
601
601
|
children: "Performance Metrics"
|
|
602
602
|
}), /* @__PURE__ */ x("div", {
|
|
603
603
|
className: "space-y-4",
|
|
@@ -605,48 +605,48 @@ var S = [
|
|
|
605
605
|
/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ x("div", {
|
|
606
606
|
className: "flex justify-between items-center mb-1.5",
|
|
607
607
|
children: [/* @__PURE__ */ b("span", {
|
|
608
|
-
className: "text-xs text-
|
|
608
|
+
className: "text-xs text-text-secondary",
|
|
609
609
|
children: "Delivery Success Rate"
|
|
610
610
|
}), /* @__PURE__ */ b("span", {
|
|
611
|
-
className: "text-xs font-medium text-
|
|
611
|
+
className: "text-xs font-medium text-text-primary",
|
|
612
612
|
children: "98%"
|
|
613
613
|
})]
|
|
614
614
|
}), /* @__PURE__ */ b("div", {
|
|
615
|
-
className: "w-full h-2 rounded-full bg-
|
|
615
|
+
className: "w-full h-2 rounded-full bg-bg-sunken overflow-hidden",
|
|
616
616
|
children: /* @__PURE__ */ b("div", {
|
|
617
|
-
className: "h-full rounded-full bg-
|
|
617
|
+
className: "h-full rounded-full bg-status-success-bg-subtle transition-all",
|
|
618
618
|
style: { width: "98%" }
|
|
619
619
|
})
|
|
620
620
|
})] }),
|
|
621
621
|
/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ x("div", {
|
|
622
622
|
className: "flex justify-between items-center mb-1.5",
|
|
623
623
|
children: [/* @__PURE__ */ b("span", {
|
|
624
|
-
className: "text-xs text-
|
|
624
|
+
className: "text-xs text-text-secondary",
|
|
625
625
|
children: "Customer Satisfaction"
|
|
626
626
|
}), /* @__PURE__ */ b("span", {
|
|
627
|
-
className: "text-xs font-medium text-
|
|
627
|
+
className: "text-xs font-medium text-text-primary",
|
|
628
628
|
children: "95%"
|
|
629
629
|
})]
|
|
630
630
|
}), /* @__PURE__ */ b("div", {
|
|
631
|
-
className: "w-full h-2 rounded-full bg-
|
|
631
|
+
className: "w-full h-2 rounded-full bg-bg-sunken overflow-hidden",
|
|
632
632
|
children: /* @__PURE__ */ b("div", {
|
|
633
|
-
className: "h-full rounded-full bg-blue-
|
|
633
|
+
className: "h-full rounded-full bg-accent-blue-subtle transition-all",
|
|
634
634
|
style: { width: "95%" }
|
|
635
635
|
})
|
|
636
636
|
})] }),
|
|
637
637
|
/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ x("div", {
|
|
638
638
|
className: "flex justify-between items-center mb-1.5",
|
|
639
639
|
children: [/* @__PURE__ */ b("span", {
|
|
640
|
-
className: "text-xs text-
|
|
640
|
+
className: "text-xs text-text-secondary",
|
|
641
641
|
children: "Punctuality"
|
|
642
642
|
}), /* @__PURE__ */ b("span", {
|
|
643
|
-
className: "text-xs font-medium text-
|
|
643
|
+
className: "text-xs font-medium text-text-primary",
|
|
644
644
|
children: "92%"
|
|
645
645
|
})]
|
|
646
646
|
}), /* @__PURE__ */ b("div", {
|
|
647
|
-
className: "w-full h-2 rounded-full bg-
|
|
647
|
+
className: "w-full h-2 rounded-full bg-bg-sunken overflow-hidden",
|
|
648
648
|
children: /* @__PURE__ */ b("div", {
|
|
649
|
-
className: "h-full rounded-full bg-purple-
|
|
649
|
+
className: "h-full rounded-full bg-accent-purple-subtle transition-all",
|
|
650
650
|
style: { width: "92%" }
|
|
651
651
|
})
|
|
652
652
|
})] })
|
|
@@ -654,23 +654,23 @@ var S = [
|
|
|
654
654
|
})] })
|
|
655
655
|
] }),
|
|
656
656
|
c === "notifications" && /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("h2", {
|
|
657
|
-
className: "text-lg font-semibold text-
|
|
657
|
+
className: "text-lg font-semibold text-text-primary mb-5",
|
|
658
658
|
children: "Notification Preferences"
|
|
659
659
|
}), /* @__PURE__ */ b("div", {
|
|
660
660
|
className: "space-y-4",
|
|
661
661
|
children: O.map((e) => /* @__PURE__ */ x("div", {
|
|
662
|
-
className: "flex items-center justify-between p-4 rounded-lg bg-
|
|
662
|
+
className: "flex items-center justify-between p-4 rounded-lg bg-bg-sunken/50",
|
|
663
663
|
children: [/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("h4", {
|
|
664
|
-
className: "text-sm font-medium text-
|
|
664
|
+
className: "text-sm font-medium text-text-primary",
|
|
665
665
|
children: e.label
|
|
666
666
|
}), /* @__PURE__ */ b("p", {
|
|
667
|
-
className: "text-xs text-
|
|
667
|
+
className: "text-xs text-text-secondary mt-0.5",
|
|
668
668
|
children: e.description
|
|
669
669
|
})] }), /* @__PURE__ */ b("button", {
|
|
670
670
|
type: "button",
|
|
671
671
|
onClick: () => N(e.id),
|
|
672
672
|
disabled: !p,
|
|
673
|
-
className: t("relative inline-flex h-6 w-11 items-center rounded-full transition-colors", e.enabled ? "bg-blue-
|
|
673
|
+
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
674
|
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") })
|
|
675
675
|
})]
|
|
676
676
|
}, e.id))
|