@burdenoff/microfe-adaptercloud 2026.625.1 → 2026.625.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (93) hide show
  1. package/dist/adaptercloud/components/PageLayout.js +24 -17
  2. package/dist/adaptercloud/components/PageLayout.js.map +1 -1
  3. package/dist/adaptercloud/pages/HomePage.js +18 -16
  4. package/dist/adaptercloud/pages/HomePage.js.map +1 -1
  5. package/dist/adaptercloud/pages/admin/AdminAnalyticsPage.js +90 -82
  6. package/dist/adaptercloud/pages/admin/AdminAnalyticsPage.js.map +1 -1
  7. package/dist/adaptercloud/pages/admin/AdminDashboard.js +70 -44
  8. package/dist/adaptercloud/pages/admin/AdminDashboard.js.map +1 -1
  9. package/dist/adaptercloud/pages/admin/AdminFinancialPage.js +60 -55
  10. package/dist/adaptercloud/pages/admin/AdminFinancialPage.js.map +1 -1
  11. package/dist/adaptercloud/pages/admin/AdminOrdersPage.js +97 -92
  12. package/dist/adaptercloud/pages/admin/AdminOrdersPage.js.map +1 -1
  13. package/dist/adaptercloud/pages/admin/AdminProfilePage.js +59 -57
  14. package/dist/adaptercloud/pages/admin/AdminProfilePage.js.map +1 -1
  15. package/dist/adaptercloud/pages/admin/AdminSettingsPage.js +118 -104
  16. package/dist/adaptercloud/pages/admin/AdminSettingsPage.js.map +1 -1
  17. package/dist/adaptercloud/pages/admin/CartManagementPage.js +145 -140
  18. package/dist/adaptercloud/pages/admin/CartManagementPage.js.map +1 -1
  19. package/dist/adaptercloud/pages/admin/UserManagementPage.js +152 -147
  20. package/dist/adaptercloud/pages/admin/UserManagementPage.js.map +1 -1
  21. package/dist/adaptercloud/pages/cart-owner/AnalyticsDashboard.js +87 -81
  22. package/dist/adaptercloud/pages/cart-owner/AnalyticsDashboard.js.map +1 -1
  23. package/dist/adaptercloud/pages/cart-owner/BusinessSettingsPage.js +179 -165
  24. package/dist/adaptercloud/pages/cart-owner/BusinessSettingsPage.js.map +1 -1
  25. package/dist/adaptercloud/pages/cart-owner/CartOwnerDashboard.js +73 -48
  26. package/dist/adaptercloud/pages/cart-owner/CartOwnerDashboard.js.map +1 -1
  27. package/dist/adaptercloud/pages/cart-owner/CartOwnerProfilePage.js +95 -93
  28. package/dist/adaptercloud/pages/cart-owner/CartOwnerProfilePage.js.map +1 -1
  29. package/dist/adaptercloud/pages/cart-owner/CartServiceConfigPage.js +110 -107
  30. package/dist/adaptercloud/pages/cart-owner/CartServiceConfigPage.js.map +1 -1
  31. package/dist/adaptercloud/pages/cart-owner/InventoryManagementPage.js +293 -299
  32. package/dist/adaptercloud/pages/cart-owner/InventoryManagementPage.js.map +1 -1
  33. package/dist/adaptercloud/pages/cart-owner/OrderManagementPage.js +218 -224
  34. package/dist/adaptercloud/pages/cart-owner/OrderManagementPage.js.map +1 -1
  35. package/dist/adaptercloud/pages/cart-owner/StaffManagementPage.js +122 -128
  36. package/dist/adaptercloud/pages/cart-owner/StaffManagementPage.js.map +1 -1
  37. package/dist/adaptercloud/pages/common/HelpSupportPage.js +248 -244
  38. package/dist/adaptercloud/pages/common/HelpSupportPage.js.map +1 -1
  39. package/dist/adaptercloud/pages/common/NotificationCenterPage.js +96 -91
  40. package/dist/adaptercloud/pages/common/NotificationCenterPage.js.map +1 -1
  41. package/dist/adaptercloud/pages/common/SettingsPage.js +754 -736
  42. package/dist/adaptercloud/pages/common/SettingsPage.js.map +1 -1
  43. package/dist/adaptercloud/pages/customer/BookingDetailsPage.js +63 -61
  44. package/dist/adaptercloud/pages/customer/BookingDetailsPage.js.map +1 -1
  45. package/dist/adaptercloud/pages/customer/CartDetailPage.js +110 -108
  46. package/dist/adaptercloud/pages/customer/CartDetailPage.js.map +1 -1
  47. package/dist/adaptercloud/pages/customer/CartDiscoveryPage.js +221 -217
  48. package/dist/adaptercloud/pages/customer/CartDiscoveryPage.js.map +1 -1
  49. package/dist/adaptercloud/pages/customer/CheckoutPage.js +89 -87
  50. package/dist/adaptercloud/pages/customer/CheckoutPage.js.map +1 -1
  51. package/dist/adaptercloud/pages/customer/CustomerDashboard.js +410 -381
  52. package/dist/adaptercloud/pages/customer/CustomerDashboard.js.map +1 -1
  53. package/dist/adaptercloud/pages/customer/CustomerProfilePage.js +120 -118
  54. package/dist/adaptercloud/pages/customer/CustomerProfilePage.js.map +1 -1
  55. package/dist/adaptercloud/pages/customer/DirectServiceBookingPage.js +86 -81
  56. package/dist/adaptercloud/pages/customer/DirectServiceBookingPage.js.map +1 -1
  57. package/dist/adaptercloud/pages/customer/FavoritesPage.js +53 -51
  58. package/dist/adaptercloud/pages/customer/FavoritesPage.js.map +1 -1
  59. package/dist/adaptercloud/pages/customer/OrderHistoryPage.js +114 -109
  60. package/dist/adaptercloud/pages/customer/OrderHistoryPage.js.map +1 -1
  61. package/dist/adaptercloud/pages/customer/OrderTrackingPage.js +60 -58
  62. package/dist/adaptercloud/pages/customer/OrderTrackingPage.js.map +1 -1
  63. package/dist/adaptercloud/pages/customer/PaymentMethodsPage.js +87 -72
  64. package/dist/adaptercloud/pages/customer/PaymentMethodsPage.js.map +1 -1
  65. package/dist/adaptercloud/pages/customer/ReviewsPage.js +65 -63
  66. package/dist/adaptercloud/pages/customer/ReviewsPage.js.map +1 -1
  67. package/dist/adaptercloud/pages/customer/SavedAddressesPage.js +68 -53
  68. package/dist/adaptercloud/pages/customer/SavedAddressesPage.js.map +1 -1
  69. package/dist/adaptercloud/pages/investor/InvestmentDetailsPage.js +63 -61
  70. package/dist/adaptercloud/pages/investor/InvestmentDetailsPage.js.map +1 -1
  71. package/dist/adaptercloud/pages/investor/InvestmentOpportunitiesPage.js +86 -84
  72. package/dist/adaptercloud/pages/investor/InvestmentOpportunitiesPage.js.map +1 -1
  73. package/dist/adaptercloud/pages/investor/InvestorAnalyticsPage.js +57 -55
  74. package/dist/adaptercloud/pages/investor/InvestorAnalyticsPage.js.map +1 -1
  75. package/dist/adaptercloud/pages/investor/InvestorDashboard.js +341 -308
  76. package/dist/adaptercloud/pages/investor/InvestorDashboard.js.map +1 -1
  77. package/dist/adaptercloud/pages/investor/InvestorInvestmentsPage.js +34 -32
  78. package/dist/adaptercloud/pages/investor/InvestorInvestmentsPage.js.map +1 -1
  79. package/dist/adaptercloud/pages/investor/InvestorPortfolioPage.js +48 -46
  80. package/dist/adaptercloud/pages/investor/InvestorPortfolioPage.js.map +1 -1
  81. package/dist/adaptercloud/pages/investor/InvestorProfilePage.js +383 -381
  82. package/dist/adaptercloud/pages/investor/InvestorProfilePage.js.map +1 -1
  83. package/dist/adaptercloud/pages/worker/TaskDetailsPage.js +348 -319
  84. package/dist/adaptercloud/pages/worker/TaskDetailsPage.js.map +1 -1
  85. package/dist/adaptercloud/pages/worker/WorkerDashboard.js +84 -59
  86. package/dist/adaptercloud/pages/worker/WorkerDashboard.js.map +1 -1
  87. package/dist/adaptercloud/pages/worker/WorkerOrdersPage.js +73 -71
  88. package/dist/adaptercloud/pages/worker/WorkerOrdersPage.js.map +1 -1
  89. package/dist/adaptercloud/pages/worker/WorkerProfilePage.js +76 -74
  90. package/dist/adaptercloud/pages/worker/WorkerProfilePage.js.map +1 -1
  91. package/dist/adaptercloud/pages/worker/WorkerSchedulePage.js +70 -68
  92. package/dist/adaptercloud/pages/worker/WorkerSchedulePage.js.map +1 -1
  93. package/package.json +3 -3
@@ -8,8 +8,9 @@ import { useCallback as s, useEffect as c, useMemo as l, useState as u } from "r
8
8
  import { AlertTriangle as d, ArrowLeft as f, Boxes as p, Camera as m, CheckCircle2 as h, ChefHat as g, Circle as _, Clock as v, FileText as y, IndianRupee as b, Loader2 as x, MapPin as S, Navigation as C, Package as w, Phone as T, PlayCircle as E, Save as D, ShoppingBag as O, Sparkles as k, StickyNote as A, Timer as j, Truck as M, User as N } from "lucide-react";
9
9
  import { useParams as P } from "react-router-dom";
10
10
  import { jsx as F, jsxs as I } from "react/jsx-runtime";
11
+ import { EmphasisPanel as L, NextSteps as R } from "@burdenoff/fe-libs/ui";
11
12
  //#region src/adaptercloud/pages/worker/TaskDetailsPage.tsx
12
- function L(e) {
13
+ function z(e) {
13
14
  switch (e) {
14
15
  case "delivery": return M;
15
16
  case "preparation": return g;
@@ -20,7 +21,7 @@ function L(e) {
20
21
  default: return y;
21
22
  }
22
23
  }
23
- function R(e) {
24
+ function B(e) {
24
25
  switch (e) {
25
26
  case "urgent": return "bg-status-error-bg-subtle/20 text-status-error-text";
26
27
  case "high": return "bg-accent-orange-subtle/20 text-accent-orange";
@@ -29,7 +30,7 @@ function R(e) {
29
30
  default: return "bg-secondary text-secondary-foreground";
30
31
  }
31
32
  }
32
- function z(e) {
33
+ function V(e) {
33
34
  let t = e.assignedTime, n = e.status === "in_progress" || e.status === "completed" ? new Date(new Date(t).getTime() + 15 * 6e4).toISOString() : null, r = e.status === "completed" ? (/* @__PURE__ */ new Date()).toISOString() : null;
34
35
  return [
35
36
  {
@@ -52,16 +53,16 @@ function z(e) {
52
53
  }
53
54
  ];
54
55
  }
55
- function B(e) {
56
+ function H(e) {
56
57
  return new Date(e).toLocaleTimeString("en-IN", {
57
58
  hour: "numeric",
58
59
  minute: "2-digit",
59
60
  hour12: !0
60
61
  });
61
62
  }
62
- function V() {
63
- let { taskId: p } = P(), { navigateTo: g } = e(), [w, k] = u(null), [M, V] = u(!0), [H, U] = u(""), W = s(() => {
64
- V(!0), setTimeout(() => {
63
+ function U() {
64
+ let { taskId: p } = P(), { navigateTo: g } = e(), [w, k] = u(null), [M, U] = u(!0), [W, G] = u(""), K = s(() => {
65
+ U(!0), setTimeout(() => {
65
66
  let e = {
66
67
  id: p || "TASK-001",
67
68
  orderId: "ORD-123",
@@ -97,35 +98,35 @@ function V() {
97
98
  photos: ["https://images.unsplash.com/photo-1630384060421-cb20d0e0649d?w=400", "https://images.unsplash.com/photo-1572802419224-296b0aeee0d9?w=400"],
98
99
  notes: ""
99
100
  };
100
- k(e), U(e.notes || ""), V(!1);
101
+ k(e), G(e.notes || ""), U(!1);
101
102
  }, 600);
102
103
  }, [p]);
103
104
  c(() => {
104
- W();
105
- }, [W]);
106
- let G = () => {
105
+ K();
106
+ }, [K]);
107
+ let q = () => {
107
108
  w && (k({
108
109
  ...w,
109
110
  status: "in_progress"
110
111
  }), alert("Task started successfully"));
111
- }, K = () => {
112
+ }, J = () => {
112
113
  w && (k({
113
114
  ...w,
114
115
  status: "completed"
115
116
  }), alert("Task completed successfully"));
116
- }, q = () => {
117
+ }, Y = () => {
117
118
  w?.customerInfo?.phone && (window.location.href = `tel:${w.customerInfo.phone.replace(/\s/g, "")}`);
118
- }, J = () => {
119
+ }, X = () => {
119
120
  if (w?.customerInfo?.address) {
120
121
  let e = encodeURIComponent(w.customerInfo.address);
121
122
  window.open(`https://maps.google.com?q=${e}`, "_blank");
122
123
  }
123
- }, Y = () => {
124
+ }, Z = () => {
124
125
  w && (k({
125
126
  ...w,
126
- notes: H
127
+ notes: W
127
128
  }), alert("Notes saved successfully"));
128
- }, X = l(() => w ? z(w) : [], [w]);
129
+ }, Q = l(() => w ? V(w) : [], [w]);
129
130
  if (M) return /* @__PURE__ */ F(n, {
130
131
  title: "Task Details",
131
132
  children: /* @__PURE__ */ F("div", {
@@ -154,7 +155,7 @@ function V() {
154
155
  })
155
156
  })
156
157
  });
157
- let Z = L(w.type);
158
+ let $ = z(w.type);
158
159
  return /* @__PURE__ */ F(n, {
159
160
  title: /* @__PURE__ */ I("div", {
160
161
  className: "flex items-center gap-3",
@@ -166,332 +167,360 @@ function V() {
166
167
  }), /* @__PURE__ */ F("span", { children: "Task Details" })]
167
168
  }),
168
169
  description: "Manage and track your assigned task",
170
+ purpose: "Everything you need to complete this job — the task itself, the customer and delivery address, and the buttons to call, navigate, and update its status. Work through it top to bottom and mark it done when finished.",
169
171
  children: /* @__PURE__ */ I("div", {
170
172
  className: "space-y-6",
171
- children: [/* @__PURE__ */ I("div", {
172
- className: "rounded-lg border border-border-seam bg-bg-surface p-6 bg-gloss-card shadow-pop",
173
- children: [/* @__PURE__ */ I("div", {
174
- className: "flex items-start justify-between mb-4",
173
+ children: [
174
+ /* @__PURE__ */ I(L, {
175
+ className: "p-6",
176
+ children: [/* @__PURE__ */ I("div", {
177
+ className: "flex items-start justify-between mb-4",
178
+ children: [/* @__PURE__ */ I("div", {
179
+ className: "flex items-start gap-3",
180
+ children: [/* @__PURE__ */ F("div", {
181
+ className: "flex h-10 w-10 items-center justify-center rounded-lg bg-bg-sunken",
182
+ children: /* @__PURE__ */ F($, { className: "h-5 w-5 text-text-secondary" })
183
+ }), /* @__PURE__ */ I("div", { children: [
184
+ /* @__PURE__ */ F("h2", {
185
+ className: "text-xl font-bold text-text-primary",
186
+ children: w.title
187
+ }),
188
+ /* @__PURE__ */ F("p", {
189
+ className: "text-sm text-text-secondary mt-1",
190
+ children: w.description
191
+ }),
192
+ /* @__PURE__ */ I("div", {
193
+ className: "flex flex-wrap items-center gap-2 mt-3",
194
+ children: [
195
+ /* @__PURE__ */ F("span", {
196
+ className: t("inline-flex items-center rounded-full px-2.5 py-0.5 text-xs font-medium uppercase", B(w.priority)),
197
+ children: w.priority
198
+ }),
199
+ /* @__PURE__ */ F(r, { status: w.status }),
200
+ /* @__PURE__ */ I("span", {
201
+ className: "text-xs text-text-secondary flex items-center gap-1",
202
+ children: [
203
+ /* @__PURE__ */ F(v, { className: "h-3 w-3" }),
204
+ w.estimatedTime,
205
+ " min"
206
+ ]
207
+ })
208
+ ]
209
+ })
210
+ ] })]
211
+ }), /* @__PURE__ */ I("div", {
212
+ className: "text-right shrink-0",
213
+ children: [
214
+ /* @__PURE__ */ F("p", {
215
+ className: "text-xs text-text-secondary",
216
+ children: "Assigned by"
217
+ }),
218
+ /* @__PURE__ */ F("p", {
219
+ className: "text-sm font-medium text-text-primary",
220
+ children: w.assignedBy
221
+ }),
222
+ /* @__PURE__ */ F("p", {
223
+ className: "text-xs text-text-secondary mt-1",
224
+ children: H(w.assignedTime)
225
+ })
226
+ ]
227
+ })]
228
+ }), w.dueTime && w.status !== "completed" && /* @__PURE__ */ F("div", {
229
+ className: "rounded-md bg-status-warning-bg-subtle/10 border border-status-warning-border/20 p-3",
230
+ children: /* @__PURE__ */ I("div", {
231
+ className: "flex items-center gap-2",
232
+ children: [/* @__PURE__ */ F(j, { className: "h-4 w-4 text-status-warning-text shrink-0" }), /* @__PURE__ */ I("span", {
233
+ className: "text-xs font-medium text-status-warning-text",
234
+ children: ["Due by ", H(w.dueTime)]
235
+ })]
236
+ })
237
+ })]
238
+ }),
239
+ /* @__PURE__ */ F(R, {
240
+ storageKey: "adaptercloud-worker-task",
241
+ steps: [
242
+ {
243
+ id: "navigate",
244
+ label: "Navigate to the customer",
245
+ description: "Open directions to the delivery or service address.",
246
+ onClick: X
247
+ },
248
+ {
249
+ id: "call",
250
+ label: "Call the customer",
251
+ description: "Confirm details or let them know you are on the way.",
252
+ onClick: Y
253
+ },
254
+ {
255
+ id: "complete",
256
+ label: "Mark the task complete",
257
+ description: "Update the status once the job is done.",
258
+ onClick: J,
259
+ done: w.status === "completed"
260
+ }
261
+ ]
262
+ }),
263
+ /* @__PURE__ */ I("div", {
264
+ className: "grid grid-cols-1 lg:grid-cols-3 gap-6",
175
265
  children: [/* @__PURE__ */ I("div", {
176
- className: "flex items-start gap-3",
177
- children: [/* @__PURE__ */ F("div", {
178
- className: "flex h-10 w-10 items-center justify-center rounded-lg bg-bg-sunken",
179
- children: /* @__PURE__ */ F(Z, { className: "h-5 w-5 text-text-secondary" })
180
- }), /* @__PURE__ */ I("div", { children: [
181
- /* @__PURE__ */ F("h2", {
182
- className: "text-xl font-bold text-text-primary",
183
- children: w.title
266
+ className: "lg:col-span-2 space-y-6",
267
+ children: [
268
+ /* @__PURE__ */ I("div", {
269
+ className: "rounded-lg border border-border-seam bg-bg-surface p-6 bg-gloss-card shadow-pop",
270
+ children: [/* @__PURE__ */ F("h3", {
271
+ className: "text-base font-semibold text-text-primary mb-4",
272
+ children: "Customer Information"
273
+ }), /* @__PURE__ */ I("div", {
274
+ className: "grid grid-cols-1 md:grid-cols-2 gap-5",
275
+ children: [/* @__PURE__ */ I("div", { children: [/* @__PURE__ */ F("div", {
276
+ className: "space-y-3",
277
+ children: /* @__PURE__ */ I("div", {
278
+ className: "flex items-center gap-3",
279
+ children: [/* @__PURE__ */ F("div", {
280
+ className: "flex h-10 w-10 items-center justify-center rounded-full bg-bg-sunken text-text-secondary",
281
+ children: /* @__PURE__ */ F(N, { className: "h-5 w-5" })
282
+ }), /* @__PURE__ */ I("div", { children: [/* @__PURE__ */ F("p", {
283
+ className: "text-sm font-medium text-text-primary",
284
+ children: w.customerInfo.name
285
+ }), /* @__PURE__ */ F("p", {
286
+ className: "text-xs text-text-secondary",
287
+ children: w.customerInfo.phone
288
+ })] })]
289
+ })
290
+ }), /* @__PURE__ */ I("div", {
291
+ className: "flex gap-2 mt-4",
292
+ children: [/* @__PURE__ */ I("button", {
293
+ type: "button",
294
+ onClick: Y,
295
+ className: "inline-flex items-center gap-1.5 rounded-md bg-accent px-3 py-2 text-xs font-medium text-text-primary hover:bg-accent/80 transition-colors",
296
+ children: [/* @__PURE__ */ F(T, { className: "h-3.5 w-3.5" }), "Call Customer"]
297
+ }), /* @__PURE__ */ I("button", {
298
+ type: "button",
299
+ onClick: X,
300
+ className: "inline-flex items-center gap-1.5 rounded-md bg-accent px-3 py-2 text-xs font-medium text-text-primary hover:bg-accent/80 transition-colors",
301
+ children: [/* @__PURE__ */ F(C, { className: "h-3.5 w-3.5" }), "Navigate"]
302
+ })]
303
+ })] }), /* @__PURE__ */ I("div", { children: [/* @__PURE__ */ F("p", {
304
+ className: "text-xs text-text-secondary mb-2",
305
+ children: "Delivery Address"
306
+ }), /* @__PURE__ */ F("div", {
307
+ className: "rounded-md bg-bg-sunken/50 p-3",
308
+ children: /* @__PURE__ */ I("p", {
309
+ className: "text-xs text-text-primary flex items-start gap-2",
310
+ children: [/* @__PURE__ */ F(S, { className: "h-3.5 w-3.5 shrink-0 mt-0.5 text-text-secondary" }), w.customerInfo.address]
311
+ })
312
+ })] })]
313
+ })]
314
+ }),
315
+ w.orderItems.length > 0 && /* @__PURE__ */ I("div", {
316
+ className: "rounded-lg border border-border-seam bg-bg-surface p-6 bg-gloss-card shadow-pop",
317
+ children: [/* @__PURE__ */ F("h3", {
318
+ className: "text-base font-semibold text-text-primary mb-3",
319
+ children: "Order Items"
320
+ }), /* @__PURE__ */ F("div", {
321
+ className: "space-y-2",
322
+ children: w.orderItems.map((e, t) => /* @__PURE__ */ F("div", {
323
+ className: "flex items-start justify-between p-3 rounded-md bg-bg-sunken/50",
324
+ children: /* @__PURE__ */ I("div", { children: [/* @__PURE__ */ I("p", {
325
+ className: "text-sm font-medium text-text-primary",
326
+ children: [
327
+ e.quantity,
328
+ "x ",
329
+ e.name
330
+ ]
331
+ }), e.specialInstructions && /* @__PURE__ */ I("p", {
332
+ className: "text-xs text-text-secondary mt-0.5",
333
+ children: ["Note: ", e.specialInstructions]
334
+ })] })
335
+ }, t))
336
+ })]
337
+ }),
338
+ w.specialInstructions && /* @__PURE__ */ I("div", {
339
+ className: "rounded-lg border border-border-seam bg-bg-surface p-6 bg-gloss-card shadow-pop",
340
+ children: [/* @__PURE__ */ F("h3", {
341
+ className: "text-base font-semibold text-text-primary mb-3",
342
+ children: "Special Instructions"
343
+ }), /* @__PURE__ */ F("div", {
344
+ className: "rounded-md bg-status-warning-bg-subtle/10 border border-status-warning-border/20 p-4",
345
+ children: /* @__PURE__ */ I("p", {
346
+ className: "text-sm text-status-warning-text flex items-start gap-2",
347
+ children: [/* @__PURE__ */ F(d, { className: "h-4 w-4 shrink-0 mt-0.5 text-status-warning-text" }), w.specialInstructions]
348
+ })
349
+ })]
184
350
  }),
185
- /* @__PURE__ */ F("p", {
186
- className: "text-sm text-text-secondary mt-1",
187
- children: w.description
351
+ w.photos && w.photos.length > 0 && /* @__PURE__ */ I("div", {
352
+ className: "rounded-lg border border-border-seam bg-bg-surface p-6 bg-gloss-card shadow-pop",
353
+ children: [/* @__PURE__ */ I("h3", {
354
+ className: "text-base font-semibold text-text-primary flex items-center gap-2 mb-3",
355
+ children: [/* @__PURE__ */ F(m, { className: "h-4 w-4 text-text-secondary" }), "Reference Photos"]
356
+ }), /* @__PURE__ */ F("div", {
357
+ className: "grid grid-cols-2 md:grid-cols-3 gap-3",
358
+ children: w.photos.map((e, t) => /* @__PURE__ */ F("img", {
359
+ src: e,
360
+ alt: `Reference ${t + 1}`,
361
+ className: "w-full h-32 object-cover rounded-lg border border-border-subtle"
362
+ }, t))
363
+ })]
188
364
  }),
189
365
  /* @__PURE__ */ I("div", {
190
- className: "flex flex-wrap items-center gap-2 mt-3",
366
+ className: "rounded-lg border border-border-seam bg-bg-surface p-6 bg-gloss-card shadow-pop",
191
367
  children: [
192
- /* @__PURE__ */ F("span", {
193
- className: t("inline-flex items-center rounded-full px-2.5 py-0.5 text-xs font-medium uppercase", R(w.priority)),
194
- children: w.priority
368
+ /* @__PURE__ */ I("h3", {
369
+ className: "text-base font-semibold text-text-primary flex items-center gap-2 mb-3",
370
+ children: [/* @__PURE__ */ F(A, { className: "h-4 w-4 text-text-secondary" }), "Task Notes"]
371
+ }),
372
+ /* @__PURE__ */ F("textarea", {
373
+ value: W,
374
+ onChange: (e) => G(e.target.value),
375
+ placeholder: "Add your notes about this task...",
376
+ rows: 4,
377
+ className: "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary placeholder:text-text-secondary focus:outline-none focus:ring-2 focus:ring-accent-blue-subtle/40 resize-none"
195
378
  }),
196
- /* @__PURE__ */ F(r, { status: w.status }),
197
- /* @__PURE__ */ I("span", {
198
- className: "text-xs text-text-secondary flex items-center gap-1",
199
- children: [
200
- /* @__PURE__ */ F(v, { className: "h-3 w-3" }),
201
- w.estimatedTime,
202
- " min"
203
- ]
379
+ /* @__PURE__ */ I("button", {
380
+ type: "button",
381
+ onClick: Z,
382
+ className: "mt-3 inline-flex items-center gap-1.5 rounded-md bg-accent px-3 py-1.5 text-xs font-medium text-text-primary hover:bg-accent/80 transition-colors",
383
+ children: [/* @__PURE__ */ F(D, { className: "h-3.5 w-3.5" }), "Save Notes"]
204
384
  })
205
385
  ]
206
386
  })
207
- ] })]
387
+ ]
208
388
  }), /* @__PURE__ */ I("div", {
209
- className: "text-right shrink-0",
389
+ className: "space-y-6",
210
390
  children: [
211
- /* @__PURE__ */ F("p", {
212
- className: "text-xs text-text-secondary",
213
- children: "Assigned by"
214
- }),
215
- /* @__PURE__ */ F("p", {
216
- className: "text-sm font-medium text-text-primary",
217
- children: w.assignedBy
218
- }),
219
- /* @__PURE__ */ F("p", {
220
- className: "text-xs text-text-secondary mt-1",
221
- children: B(w.assignedTime)
222
- })
223
- ]
224
- })]
225
- }), w.dueTime && w.status !== "completed" && /* @__PURE__ */ F("div", {
226
- className: "rounded-md bg-status-warning-bg-subtle/10 border border-status-warning-border/20 p-3",
227
- children: /* @__PURE__ */ I("div", {
228
- className: "flex items-center gap-2",
229
- children: [/* @__PURE__ */ F(j, { className: "h-4 w-4 text-status-warning-text shrink-0" }), /* @__PURE__ */ I("span", {
230
- className: "text-xs font-medium text-status-warning-text",
231
- children: ["Due by ", B(w.dueTime)]
232
- })]
233
- })
234
- })]
235
- }), /* @__PURE__ */ I("div", {
236
- className: "grid grid-cols-1 lg:grid-cols-3 gap-6",
237
- children: [/* @__PURE__ */ I("div", {
238
- className: "lg:col-span-2 space-y-6",
239
- children: [
240
- /* @__PURE__ */ I("div", {
241
- className: "rounded-lg border border-border-seam bg-bg-surface p-6 bg-gloss-card shadow-pop",
242
- children: [/* @__PURE__ */ F("h3", {
243
- className: "text-base font-semibold text-text-primary mb-4",
244
- children: "Customer Information"
245
- }), /* @__PURE__ */ I("div", {
246
- className: "grid grid-cols-1 md:grid-cols-2 gap-5",
247
- children: [/* @__PURE__ */ I("div", { children: [/* @__PURE__ */ F("div", {
248
- className: "space-y-3",
249
- children: /* @__PURE__ */ I("div", {
250
- className: "flex items-center gap-3",
251
- children: [/* @__PURE__ */ F("div", {
252
- className: "flex h-10 w-10 items-center justify-center rounded-full bg-bg-sunken text-text-secondary",
253
- children: /* @__PURE__ */ F(N, { className: "h-5 w-5" })
254
- }), /* @__PURE__ */ I("div", { children: [/* @__PURE__ */ F("p", {
255
- className: "text-sm font-medium text-text-primary",
256
- children: w.customerInfo.name
257
- }), /* @__PURE__ */ F("p", {
258
- className: "text-xs text-text-secondary",
259
- children: w.customerInfo.phone
260
- })] })]
261
- })
391
+ /* @__PURE__ */ I("div", {
392
+ className: "rounded-lg border border-border-seam bg-bg-surface p-5 bg-gloss-card shadow-pop",
393
+ children: [/* @__PURE__ */ F("h3", {
394
+ className: "text-base font-semibold text-text-primary mb-3",
395
+ children: "Task Details"
262
396
  }), /* @__PURE__ */ I("div", {
263
- className: "flex gap-2 mt-4",
264
- children: [/* @__PURE__ */ I("button", {
265
- type: "button",
266
- onClick: q,
267
- className: "inline-flex items-center gap-1.5 rounded-md bg-accent px-3 py-2 text-xs font-medium text-text-primary hover:bg-accent/80 transition-colors",
268
- children: [/* @__PURE__ */ F(T, { className: "h-3.5 w-3.5" }), "Call Customer"]
269
- }), /* @__PURE__ */ I("button", {
270
- type: "button",
271
- onClick: J,
272
- className: "inline-flex items-center gap-1.5 rounded-md bg-accent px-3 py-2 text-xs font-medium text-text-primary hover:bg-accent/80 transition-colors",
273
- children: [/* @__PURE__ */ F(C, { className: "h-3.5 w-3.5" }), "Navigate"]
274
- })]
275
- })] }), /* @__PURE__ */ I("div", { children: [/* @__PURE__ */ F("p", {
276
- className: "text-xs text-text-secondary mb-2",
277
- children: "Delivery Address"
397
+ className: "space-y-3",
398
+ children: [
399
+ /* @__PURE__ */ I("div", {
400
+ className: "flex items-center gap-2",
401
+ children: [/* @__PURE__ */ F(y, { className: "h-4 w-4 text-text-secondary" }), /* @__PURE__ */ I("div", { children: [/* @__PURE__ */ F("p", {
402
+ className: "text-xs text-text-secondary",
403
+ children: "Order ID"
404
+ }), /* @__PURE__ */ F("p", {
405
+ className: "text-sm font-medium font-mono text-text-primary",
406
+ children: w.orderId
407
+ })] })]
408
+ }),
409
+ /* @__PURE__ */ I("div", {
410
+ className: "flex items-center gap-2",
411
+ children: [/* @__PURE__ */ F(O, { className: "h-4 w-4 text-text-secondary" }), /* @__PURE__ */ I("div", { children: [/* @__PURE__ */ F("p", {
412
+ className: "text-xs text-text-secondary",
413
+ children: "Cart"
414
+ }), /* @__PURE__ */ F("p", {
415
+ className: "text-sm font-medium text-text-primary",
416
+ children: w.cartName
417
+ })] })]
418
+ }),
419
+ /* @__PURE__ */ I("div", {
420
+ className: "flex items-center gap-2",
421
+ children: [/* @__PURE__ */ F(v, { className: "h-4 w-4 text-text-secondary" }), /* @__PURE__ */ I("div", { children: [/* @__PURE__ */ F("p", {
422
+ className: "text-xs text-text-secondary",
423
+ children: "Due At"
424
+ }), /* @__PURE__ */ F("p", {
425
+ className: "text-sm text-text-primary",
426
+ children: o(w.dueTime)
427
+ })] })]
428
+ }),
429
+ /* @__PURE__ */ I("div", {
430
+ className: "flex items-center gap-2",
431
+ children: [/* @__PURE__ */ F(b, { className: "h-4 w-4 text-text-secondary" }), /* @__PURE__ */ I("div", { children: [/* @__PURE__ */ F("p", {
432
+ className: "text-xs text-text-secondary",
433
+ children: "Earnings"
434
+ }), /* @__PURE__ */ F("p", {
435
+ className: "text-sm font-medium text-status-success-text",
436
+ children: a(w.earnings, { minimumFractionDigits: 0 })
437
+ })] })]
438
+ }),
439
+ w.distance != null && /* @__PURE__ */ I("div", {
440
+ className: "flex items-center gap-2",
441
+ children: [/* @__PURE__ */ F(C, { className: "h-4 w-4 text-text-secondary" }), /* @__PURE__ */ I("div", { children: [/* @__PURE__ */ F("p", {
442
+ className: "text-xs text-text-secondary",
443
+ children: "Distance"
444
+ }), /* @__PURE__ */ I("p", {
445
+ className: "text-sm text-text-primary",
446
+ children: [w.distance, " km"]
447
+ })] })]
448
+ }),
449
+ /* @__PURE__ */ I("div", {
450
+ className: "flex items-center gap-2",
451
+ children: [/* @__PURE__ */ F(v, { className: "h-4 w-4 text-text-secondary" }), /* @__PURE__ */ I("div", { children: [/* @__PURE__ */ F("p", {
452
+ className: "text-xs text-text-secondary",
453
+ children: "Assigned At"
454
+ }), /* @__PURE__ */ F("p", {
455
+ className: "text-sm text-text-primary",
456
+ children: o(w.assignedTime)
457
+ })] })]
458
+ })
459
+ ]
460
+ })]
461
+ }),
462
+ /* @__PURE__ */ I("div", {
463
+ className: "rounded-lg border border-border-seam bg-bg-surface p-5 bg-gloss-card shadow-pop",
464
+ children: [/* @__PURE__ */ F("h3", {
465
+ className: "text-base font-semibold text-text-primary mb-4",
466
+ children: "Status Timeline"
278
467
  }), /* @__PURE__ */ F("div", {
279
- className: "rounded-md bg-bg-sunken/50 p-3",
280
- children: /* @__PURE__ */ I("p", {
281
- className: "text-xs text-text-primary flex items-start gap-2",
282
- children: [/* @__PURE__ */ F(S, { className: "h-3.5 w-3.5 shrink-0 mt-0.5 text-text-secondary" }), w.customerInfo.address]
468
+ className: "relative",
469
+ children: Q.map((e, n) => {
470
+ let r = n === Q.length - 1, i = e.completed ? h : _;
471
+ return /* @__PURE__ */ I("div", {
472
+ className: "flex gap-3",
473
+ children: [/* @__PURE__ */ I("div", {
474
+ className: "flex flex-col items-center",
475
+ children: [/* @__PURE__ */ F("div", {
476
+ className: t("flex h-7 w-7 shrink-0 items-center justify-center rounded-full", e.completed ? "bg-status-success-bg-subtle/10 text-status-success-text" : "bg-bg-sunken text-text-secondary"),
477
+ children: /* @__PURE__ */ F(i, { className: "h-3.5 w-3.5" })
478
+ }), !r && /* @__PURE__ */ F("div", { className: t("w-0.5 flex-1 my-1", e.completed ? "bg-status-success-bg-subtle/30" : "bg-border") })]
479
+ }), /* @__PURE__ */ I("div", {
480
+ className: t("pb-5", r && "pb-0"),
481
+ children: [/* @__PURE__ */ F("p", {
482
+ className: "text-sm font-medium text-text-primary",
483
+ children: e.label
484
+ }), /* @__PURE__ */ F("p", {
485
+ className: "mt-0.5 text-xs text-text-secondary",
486
+ children: e.timestamp ? o(e.timestamp) : "Pending"
487
+ })]
488
+ })]
489
+ }, e.status);
283
490
  })
284
- })] })]
285
- })]
286
- }),
287
- w.orderItems.length > 0 && /* @__PURE__ */ I("div", {
288
- className: "rounded-lg border border-border-seam bg-bg-surface p-6 bg-gloss-card shadow-pop",
289
- children: [/* @__PURE__ */ F("h3", {
290
- className: "text-base font-semibold text-text-primary mb-3",
291
- children: "Order Items"
292
- }), /* @__PURE__ */ F("div", {
293
- className: "space-y-2",
294
- children: w.orderItems.map((e, t) => /* @__PURE__ */ F("div", {
295
- className: "flex items-start justify-between p-3 rounded-md bg-bg-sunken/50",
296
- children: /* @__PURE__ */ I("div", { children: [/* @__PURE__ */ I("p", {
297
- className: "text-sm font-medium text-text-primary",
298
- children: [
299
- e.quantity,
300
- "x ",
301
- e.name
302
- ]
303
- }), e.specialInstructions && /* @__PURE__ */ I("p", {
304
- className: "text-xs text-text-secondary mt-0.5",
305
- children: ["Note: ", e.specialInstructions]
306
- })] })
307
- }, t))
308
- })]
309
- }),
310
- w.specialInstructions && /* @__PURE__ */ I("div", {
311
- className: "rounded-lg border border-border-seam bg-bg-surface p-6 bg-gloss-card shadow-pop",
312
- children: [/* @__PURE__ */ F("h3", {
313
- className: "text-base font-semibold text-text-primary mb-3",
314
- children: "Special Instructions"
315
- }), /* @__PURE__ */ F("div", {
316
- className: "rounded-md bg-status-warning-bg-subtle/10 border border-status-warning-border/20 p-4",
317
- children: /* @__PURE__ */ I("p", {
318
- className: "text-sm text-status-warning-text flex items-start gap-2",
319
- children: [/* @__PURE__ */ F(d, { className: "h-4 w-4 shrink-0 mt-0.5 text-status-warning-text" }), w.specialInstructions]
320
- })
321
- })]
322
- }),
323
- w.photos && w.photos.length > 0 && /* @__PURE__ */ I("div", {
324
- className: "rounded-lg border border-border-seam bg-bg-surface p-6 bg-gloss-card shadow-pop",
325
- children: [/* @__PURE__ */ I("h3", {
326
- className: "text-base font-semibold text-text-primary flex items-center gap-2 mb-3",
327
- children: [/* @__PURE__ */ F(m, { className: "h-4 w-4 text-text-secondary" }), "Reference Photos"]
328
- }), /* @__PURE__ */ F("div", {
329
- className: "grid grid-cols-2 md:grid-cols-3 gap-3",
330
- children: w.photos.map((e, t) => /* @__PURE__ */ F("img", {
331
- src: e,
332
- alt: `Reference ${t + 1}`,
333
- className: "w-full h-32 object-cover rounded-lg border border-border-subtle"
334
- }, t))
335
- })]
336
- }),
337
- /* @__PURE__ */ I("div", {
338
- className: "rounded-lg border border-border-seam bg-bg-surface p-6 bg-gloss-card shadow-pop",
339
- children: [
340
- /* @__PURE__ */ I("h3", {
341
- className: "text-base font-semibold text-text-primary flex items-center gap-2 mb-3",
342
- children: [/* @__PURE__ */ F(A, { className: "h-4 w-4 text-text-secondary" }), "Task Notes"]
343
- }),
344
- /* @__PURE__ */ F("textarea", {
345
- value: H,
346
- onChange: (e) => U(e.target.value),
347
- placeholder: "Add your notes about this task...",
348
- rows: 4,
349
- className: "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary placeholder:text-text-secondary focus:outline-none focus:ring-2 focus:ring-accent-blue-subtle/40 resize-none"
350
- }),
351
- /* @__PURE__ */ I("button", {
352
- type: "button",
353
- onClick: Y,
354
- className: "mt-3 inline-flex items-center gap-1.5 rounded-md bg-accent px-3 py-1.5 text-xs font-medium text-text-primary hover:bg-accent/80 transition-colors",
355
- children: [/* @__PURE__ */ F(D, { className: "h-3.5 w-3.5" }), "Save Notes"]
356
- })
357
- ]
358
- })
359
- ]
360
- }), /* @__PURE__ */ I("div", {
361
- className: "space-y-6",
362
- children: [
363
- /* @__PURE__ */ I("div", {
364
- className: "rounded-lg border border-border-seam bg-bg-surface p-5 bg-gloss-card shadow-pop",
365
- children: [/* @__PURE__ */ F("h3", {
366
- className: "text-base font-semibold text-text-primary mb-3",
367
- children: "Task Details"
368
- }), /* @__PURE__ */ I("div", {
491
+ })]
492
+ }),
493
+ /* @__PURE__ */ I("div", {
369
494
  className: "space-y-3",
370
495
  children: [
371
- /* @__PURE__ */ I("div", {
372
- className: "flex items-center gap-2",
373
- children: [/* @__PURE__ */ F(y, { className: "h-4 w-4 text-text-secondary" }), /* @__PURE__ */ I("div", { children: [/* @__PURE__ */ F("p", {
374
- className: "text-xs text-text-secondary",
375
- children: "Order ID"
376
- }), /* @__PURE__ */ F("p", {
377
- className: "text-sm font-medium font-mono text-text-primary",
378
- children: w.orderId
379
- })] })]
380
- }),
381
- /* @__PURE__ */ I("div", {
382
- className: "flex items-center gap-2",
383
- children: [/* @__PURE__ */ F(O, { className: "h-4 w-4 text-text-secondary" }), /* @__PURE__ */ I("div", { children: [/* @__PURE__ */ F("p", {
384
- className: "text-xs text-text-secondary",
385
- children: "Cart"
386
- }), /* @__PURE__ */ F("p", {
387
- className: "text-sm font-medium text-text-primary",
388
- children: w.cartName
389
- })] })]
390
- }),
391
- /* @__PURE__ */ I("div", {
392
- className: "flex items-center gap-2",
393
- children: [/* @__PURE__ */ F(v, { className: "h-4 w-4 text-text-secondary" }), /* @__PURE__ */ I("div", { children: [/* @__PURE__ */ F("p", {
394
- className: "text-xs text-text-secondary",
395
- children: "Due At"
396
- }), /* @__PURE__ */ F("p", {
397
- className: "text-sm text-text-primary",
398
- children: o(w.dueTime)
399
- })] })]
400
- }),
401
- /* @__PURE__ */ I("div", {
402
- className: "flex items-center gap-2",
403
- children: [/* @__PURE__ */ F(b, { className: "h-4 w-4 text-text-secondary" }), /* @__PURE__ */ I("div", { children: [/* @__PURE__ */ F("p", {
404
- className: "text-xs text-text-secondary",
405
- children: "Earnings"
406
- }), /* @__PURE__ */ F("p", {
407
- className: "text-sm font-medium text-status-success-text",
408
- children: a(w.earnings, { minimumFractionDigits: 0 })
409
- })] })]
496
+ w.status === "pending" && /* @__PURE__ */ I("button", {
497
+ type: "button",
498
+ onClick: q,
499
+ className: "w-full inline-flex items-center justify-center gap-2 rounded-lg bg-accent-blue-subtle/10 px-4 py-3 text-sm font-medium text-accent-blue hover:bg-accent-blue-subtle/20 transition-colors",
500
+ children: [/* @__PURE__ */ F(E, { className: "h-4 w-4" }), "Start Task"]
410
501
  }),
411
- w.distance != null && /* @__PURE__ */ I("div", {
412
- className: "flex items-center gap-2",
413
- children: [/* @__PURE__ */ F(C, { className: "h-4 w-4 text-text-secondary" }), /* @__PURE__ */ I("div", { children: [/* @__PURE__ */ F("p", {
414
- className: "text-xs text-text-secondary",
415
- children: "Distance"
416
- }), /* @__PURE__ */ I("p", {
417
- className: "text-sm text-text-primary",
418
- children: [w.distance, " km"]
419
- })] })]
502
+ w.status === "in_progress" && /* @__PURE__ */ I("button", {
503
+ type: "button",
504
+ onClick: J,
505
+ className: "w-full inline-flex items-center justify-center gap-2 rounded-lg bg-status-success-bg-subtle/10 px-4 py-3 text-sm font-medium text-status-success-text hover:bg-status-success-bg-subtle/20 transition-colors",
506
+ children: [/* @__PURE__ */ F(h, { className: "h-4 w-4" }), "Complete Task"]
420
507
  }),
421
- /* @__PURE__ */ I("div", {
422
- className: "flex items-center gap-2",
423
- children: [/* @__PURE__ */ F(v, { className: "h-4 w-4 text-text-secondary" }), /* @__PURE__ */ I("div", { children: [/* @__PURE__ */ F("p", {
424
- className: "text-xs text-text-secondary",
425
- children: "Assigned At"
426
- }), /* @__PURE__ */ F("p", {
427
- className: "text-sm text-text-primary",
428
- children: o(w.assignedTime)
429
- })] })]
508
+ /* @__PURE__ */ I("button", {
509
+ type: "button",
510
+ onClick: () => g("/worker/orders"),
511
+ className: "w-full inline-flex items-center justify-center gap-2 rounded-lg bg-accent px-4 py-3 text-sm font-medium text-text-primary hover:bg-accent/80 transition-colors",
512
+ children: [/* @__PURE__ */ F(f, { className: "h-4 w-4" }), "Back to Tasks"]
430
513
  })
431
514
  ]
432
- })]
433
- }),
434
- /* @__PURE__ */ I("div", {
435
- className: "rounded-lg border border-border-seam bg-bg-surface p-5 bg-gloss-card shadow-pop",
436
- children: [/* @__PURE__ */ F("h3", {
437
- className: "text-base font-semibold text-text-primary mb-4",
438
- children: "Status Timeline"
439
- }), /* @__PURE__ */ F("div", {
440
- className: "relative",
441
- children: X.map((e, n) => {
442
- let r = n === X.length - 1, i = e.completed ? h : _;
443
- return /* @__PURE__ */ I("div", {
444
- className: "flex gap-3",
445
- children: [/* @__PURE__ */ I("div", {
446
- className: "flex flex-col items-center",
447
- children: [/* @__PURE__ */ F("div", {
448
- className: t("flex h-7 w-7 shrink-0 items-center justify-center rounded-full", e.completed ? "bg-status-success-bg-subtle/10 text-status-success-text" : "bg-bg-sunken text-text-secondary"),
449
- children: /* @__PURE__ */ F(i, { className: "h-3.5 w-3.5" })
450
- }), !r && /* @__PURE__ */ F("div", { className: t("w-0.5 flex-1 my-1", e.completed ? "bg-status-success-bg-subtle/30" : "bg-border") })]
451
- }), /* @__PURE__ */ I("div", {
452
- className: t("pb-5", r && "pb-0"),
453
- children: [/* @__PURE__ */ F("p", {
454
- className: "text-sm font-medium text-text-primary",
455
- children: e.label
456
- }), /* @__PURE__ */ F("p", {
457
- className: "mt-0.5 text-xs text-text-secondary",
458
- children: e.timestamp ? o(e.timestamp) : "Pending"
459
- })]
460
- })]
461
- }, e.status);
462
- })
463
- })]
464
- }),
465
- /* @__PURE__ */ I("div", {
466
- className: "space-y-3",
467
- children: [
468
- w.status === "pending" && /* @__PURE__ */ I("button", {
469
- type: "button",
470
- onClick: G,
471
- className: "w-full inline-flex items-center justify-center gap-2 rounded-lg bg-accent-blue-subtle/10 px-4 py-3 text-sm font-medium text-accent-blue hover:bg-accent-blue-subtle/20 transition-colors",
472
- children: [/* @__PURE__ */ F(E, { className: "h-4 w-4" }), "Start Task"]
473
- }),
474
- w.status === "in_progress" && /* @__PURE__ */ I("button", {
475
- type: "button",
476
- onClick: K,
477
- className: "w-full inline-flex items-center justify-center gap-2 rounded-lg bg-status-success-bg-subtle/10 px-4 py-3 text-sm font-medium text-status-success-text hover:bg-status-success-bg-subtle/20 transition-colors",
478
- children: [/* @__PURE__ */ F(h, { className: "h-4 w-4" }), "Complete Task"]
479
- }),
480
- /* @__PURE__ */ I("button", {
481
- type: "button",
482
- onClick: () => g("/worker/orders"),
483
- className: "w-full inline-flex items-center justify-center gap-2 rounded-lg bg-accent px-4 py-3 text-sm font-medium text-text-primary hover:bg-accent/80 transition-colors",
484
- children: [/* @__PURE__ */ F(f, { className: "h-4 w-4" }), "Back to Tasks"]
485
- })
486
- ]
487
- })
488
- ]
489
- })]
490
- })]
515
+ })
516
+ ]
517
+ })]
518
+ })
519
+ ]
491
520
  })
492
521
  });
493
522
  }
494
523
  //#endregion
495
- export { V as TaskDetailsPage };
524
+ export { U as TaskDetailsPage };
496
525
 
497
526
  //# sourceMappingURL=TaskDetailsPage.js.map