@burdenoff/microfe-planmagnet 2026.930.2 → 2026.930.3

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.
@@ -10,14 +10,15 @@ import { WorkItemActivity as p } from "../comments/WorkItemActivity.js";
10
10
  import { TaskTimePanel as m } from "../time/TaskTimePanel.js";
11
11
  import { CustomFieldsPanel as h } from "../controls/CustomFieldValuesPanel.js";
12
12
  import { DependencyPanel as g } from "../dependency/DependencyPanel.js";
13
- import { useState as _ } from "react";
14
- import { FileText as v, Link2 as y, Plus as b, X as x } from "lucide-react";
15
- import { gql as S } from "@apollo/client";
16
- import { useMutation as C, useQuery as w } from "@apollo/client/react";
17
- import { jsx as T, jsxs as E } from "react/jsx-runtime";
18
- import { Badge as D, Button as O, Card as k, CardContent as A, CardHeader as j, CardTitle as M, Input as N } from "@burdenoff/fe-libs/ui";
13
+ import { IssueLinksPanel as _ } from "../links/IssueLinksPanel.js";
14
+ import { useState as v } from "react";
15
+ import { FileText as y, Link2 as b, Plus as x, X as S } from "lucide-react";
16
+ import { gql as C } from "@apollo/client";
17
+ import { useMutation as w, useQuery as T } from "@apollo/client/react";
18
+ import { jsx as E, jsxs as D } from "react/jsx-runtime";
19
+ import { Badge as O, Button as k, Card as A, CardContent as j, CardHeader as M, CardTitle as N, Input as P } from "@burdenoff/fe-libs/ui";
19
20
  //#region src/planmagnet/pages/TasksTaskDetailPagePage.tsx
20
- var P = S`
21
+ var F = C`
21
22
  query GetWorkItemDetail($workItemId: ID!) {
22
23
  planmagnetWorkItem(id: $workItemId) {
23
24
  id
@@ -47,7 +48,7 @@ var P = S`
47
48
  }
48
49
  }
49
50
  }
50
- `, F = S`
51
+ `, I = C`
51
52
  query GetWorkItemDocs($workItemId: ID!) {
52
53
  planmagnetWorkItemDocs(workItemId: $workItemId) {
53
54
  id
@@ -57,36 +58,36 @@ var P = S`
57
58
  updatedAt
58
59
  }
59
60
  }
60
- `, I = S`
61
+ `, L = C`
61
62
  mutation CreateDocForWorkItem($input: PlanmagnetCreateDocInput!) {
62
63
  planmagnetCreateDoc(input: $input) {
63
64
  id
64
65
  }
65
66
  }
66
- `, L = S`
67
+ `, R = C`
67
68
  mutation LinkDocToWorkItem($docId: ID!, $workItemId: ID!) {
68
69
  planmagnetLinkDocToWorkItem(docId: $docId, workItemId: $workItemId) {
69
70
  id
70
71
  }
71
72
  }
72
- `, R = S`
73
+ `, z = C`
73
74
  mutation UnlinkDocFromWorkItem($docId: ID!, $workItemId: ID!) {
74
75
  planmagnetUnlinkDocFromWorkItem(docId: $docId, workItemId: $workItemId)
75
76
  }
76
- `, z = {
77
+ `, B = {
77
78
  DRAFT: "bg-gray-100 text-gray-800",
78
79
  PUBLISHED: "bg-green-100 text-green-800",
79
80
  ARCHIVED: "bg-gray-100 text-gray-500"
80
81
  };
81
- function B({ workItemId: e }) {
82
- let n = t(), [a, o] = _(!1), [s, c] = _(!1), [l, d] = _(""), [f, p] = _(""), [m, h] = _(""), { data: g, loading: S, error: D, refetch: P } = w(F, {
82
+ function V({ workItemId: e }) {
83
+ let n = t(), [a, o] = v(!1), [s, c] = v(!1), [l, d] = v(""), [f, p] = v(""), [m, h] = v(""), { data: g, loading: _, error: C, refetch: O } = T(I, {
83
84
  variables: { workItemId: e },
84
85
  skip: !e
85
- }), [B, { loading: V }] = C(I), [H, { loading: U }] = C(L), [W, { loading: G }] = C(R), [K, q] = _(null), J = g?.planmagnetWorkItemDocs ?? [], Y = async () => {
86
+ }), [F, { loading: V }] = w(L), [H, { loading: U }] = w(R), [W, { loading: G }] = w(z), [K, q] = v(null), J = g?.planmagnetWorkItemDocs ?? [], Y = async () => {
86
87
  if (!(!f.trim() || !m.trim())) {
87
88
  q(null);
88
89
  try {
89
- let t = (await r(B({ variables: { input: {
90
+ let t = (await r(F({ variables: { input: {
90
91
  title: f.trim(),
91
92
  content: m.trim()
92
93
  } } }))).data?.planmagnetCreateDoc?.id;
@@ -98,7 +99,7 @@ function B({ workItemId: e }) {
98
99
  q(e instanceof Error ? e.message : "The doc could not be saved.");
99
100
  return;
100
101
  }
101
- p(""), h(""), o(!1), P();
102
+ p(""), h(""), o(!1), O();
102
103
  }
103
104
  }, X = async () => {
104
105
  if (l) {
@@ -112,7 +113,7 @@ function B({ workItemId: e }) {
112
113
  q(e instanceof Error ? e.message : "The doc could not be linked.");
113
114
  return;
114
115
  }
115
- d(""), c(!1), P();
116
+ d(""), c(!1), O();
116
117
  }
117
118
  }, Z = async (t) => {
118
119
  q(null);
@@ -125,44 +126,44 @@ function B({ workItemId: e }) {
125
126
  q(e instanceof Error ? e.message : "The doc could not be unlinked.");
126
127
  return;
127
128
  }
128
- P();
129
+ O();
129
130
  };
130
- return /* @__PURE__ */ E(k, { children: [/* @__PURE__ */ E(j, {
131
+ return /* @__PURE__ */ D(A, { children: [/* @__PURE__ */ D(M, {
131
132
  className: "flex flex-row items-center justify-between space-y-0",
132
- children: [/* @__PURE__ */ T(M, { children: "Linked Docs" }), !a && !s && /* @__PURE__ */ E("div", {
133
+ children: [/* @__PURE__ */ E(N, { children: "Linked Docs" }), !a && !s && /* @__PURE__ */ D("div", {
133
134
  className: "flex gap-2",
134
- children: [/* @__PURE__ */ E(O, {
135
+ children: [/* @__PURE__ */ D(k, {
135
136
  size: "sm",
136
137
  variant: "outline",
137
138
  onClick: () => c(!0),
138
- children: [/* @__PURE__ */ T(y, { className: "h-4 w-4 mr-1" }), "Link existing doc"]
139
- }), /* @__PURE__ */ E(O, {
139
+ children: [/* @__PURE__ */ E(b, { className: "h-4 w-4 mr-1" }), "Link existing doc"]
140
+ }), /* @__PURE__ */ D(k, {
140
141
  size: "sm",
141
142
  variant: "outline",
142
143
  onClick: () => o(!0),
143
- children: [/* @__PURE__ */ T(b, { className: "h-4 w-4 mr-1" }), "New Doc"]
144
+ children: [/* @__PURE__ */ E(x, { className: "h-4 w-4 mr-1" }), "New Doc"]
144
145
  })]
145
146
  })]
146
- }), /* @__PURE__ */ E(A, {
147
+ }), /* @__PURE__ */ D(j, {
147
148
  className: "space-y-4",
148
149
  children: [
149
- s && /* @__PURE__ */ E("div", {
150
+ s && /* @__PURE__ */ D("div", {
150
151
  className: "space-y-2 rounded-md border border-input p-3",
151
- children: [/* @__PURE__ */ T(i, {
152
+ children: [/* @__PURE__ */ E(i, {
152
153
  id: "task-link-doc",
153
154
  value: l,
154
155
  onChange: d,
155
156
  exclude: J.map((e) => e.id)
156
- }), /* @__PURE__ */ E("div", {
157
+ }), /* @__PURE__ */ D("div", {
157
158
  className: "flex gap-2 justify-end",
158
- children: [/* @__PURE__ */ T(O, {
159
+ children: [/* @__PURE__ */ E(k, {
159
160
  size: "sm",
160
161
  variant: "ghost",
161
162
  onClick: () => {
162
163
  c(!1), d("");
163
164
  },
164
165
  children: "Cancel"
165
- }), /* @__PURE__ */ T(O, {
166
+ }), /* @__PURE__ */ E(k, {
166
167
  size: "sm",
167
168
  disabled: !l || U,
168
169
  onClick: X,
@@ -170,30 +171,30 @@ function B({ workItemId: e }) {
170
171
  })]
171
172
  })]
172
173
  }),
173
- a && /* @__PURE__ */ E("div", {
174
+ a && /* @__PURE__ */ D("div", {
174
175
  className: "space-y-3 rounded-md border border-input p-3",
175
176
  children: [
176
- /* @__PURE__ */ T(N, {
177
+ /* @__PURE__ */ E(P, {
177
178
  placeholder: "Doc title",
178
179
  value: f,
179
180
  onChange: (e) => p(e.target.value)
180
181
  }),
181
- /* @__PURE__ */ T(u, {
182
+ /* @__PURE__ */ E(u, {
182
183
  value: m,
183
184
  onChange: h,
184
185
  placeholder: "Write the spec/doc content...",
185
186
  minHeight: 140
186
187
  }),
187
- /* @__PURE__ */ E("div", {
188
+ /* @__PURE__ */ D("div", {
188
189
  className: "flex gap-2 justify-end",
189
- children: [/* @__PURE__ */ T(O, {
190
+ children: [/* @__PURE__ */ E(k, {
190
191
  size: "sm",
191
192
  variant: "ghost",
192
193
  onClick: () => {
193
194
  o(!1), p(""), h("");
194
195
  },
195
196
  children: "Cancel"
196
- }), /* @__PURE__ */ T(O, {
197
+ }), /* @__PURE__ */ E(k, {
197
198
  size: "sm",
198
199
  disabled: V || !f.trim() || !m.trim(),
199
200
  onClick: Y,
@@ -202,230 +203,231 @@ function B({ workItemId: e }) {
202
203
  })
203
204
  ]
204
205
  }),
205
- S && /* @__PURE__ */ T("p", {
206
+ _ && /* @__PURE__ */ E("p", {
206
207
  className: "text-sm text-muted-foreground",
207
208
  children: "Loading docs..."
208
209
  }),
209
- D && /* @__PURE__ */ E("p", {
210
+ C && /* @__PURE__ */ D("p", {
210
211
  className: "text-sm text-red-500",
211
- children: ["Error: ", D.message]
212
+ children: ["Error: ", C.message]
212
213
  }),
213
- K && /* @__PURE__ */ T("p", {
214
+ K && /* @__PURE__ */ E("p", {
214
215
  role: "alert",
215
216
  className: "text-sm text-destructive",
216
217
  children: K
217
218
  }),
218
- !S && !D && J.length === 0 && !a && !s && /* @__PURE__ */ T("p", {
219
+ !_ && !C && J.length === 0 && !a && !s && /* @__PURE__ */ E("p", {
219
220
  className: "text-sm text-muted-foreground",
220
221
  children: "No docs linked to this work item yet."
221
222
  }),
222
- J.map((e) => /* @__PURE__ */ E("div", {
223
+ J.map((e) => /* @__PURE__ */ D("div", {
223
224
  className: "flex items-center justify-between gap-3 rounded-md border border-input p-3",
224
- children: [/* @__PURE__ */ E("div", {
225
+ children: [/* @__PURE__ */ D("div", {
225
226
  className: "flex items-center gap-2 min-w-0",
226
- children: [/* @__PURE__ */ T(v, { className: "h-4 w-4 text-muted-foreground shrink-0" }), /* @__PURE__ */ E("div", {
227
+ children: [/* @__PURE__ */ E(y, { className: "h-4 w-4 text-muted-foreground shrink-0" }), /* @__PURE__ */ D("div", {
227
228
  className: "min-w-0",
228
- children: [/* @__PURE__ */ T("button", {
229
+ children: [/* @__PURE__ */ E("button", {
229
230
  type: "button",
230
231
  className: "block max-w-full truncate text-left text-sm font-medium hover:underline",
231
232
  onClick: () => n(`/docs/doc-detail-page?docId=${encodeURIComponent(e.id)}`),
232
233
  children: e.title
233
- }), /* @__PURE__ */ E("p", {
234
+ }), /* @__PURE__ */ D("p", {
234
235
  className: "text-xs text-muted-foreground",
235
236
  children: ["v", e.version]
236
237
  })]
237
238
  })]
238
- }), /* @__PURE__ */ E("div", {
239
+ }), /* @__PURE__ */ D("div", {
239
240
  className: "flex items-center gap-2 shrink-0",
240
- children: [/* @__PURE__ */ T("span", {
241
- className: `text-xs px-2 py-0.5 rounded-full capitalize ${z[e.status] ?? ""}`,
241
+ children: [/* @__PURE__ */ E("span", {
242
+ className: `text-xs px-2 py-0.5 rounded-full capitalize ${B[e.status] ?? ""}`,
242
243
  children: e.status.toLowerCase()
243
- }), /* @__PURE__ */ T(O, {
244
+ }), /* @__PURE__ */ E(k, {
244
245
  size: "icon",
245
246
  variant: "ghost",
246
247
  disabled: G,
247
248
  onClick: () => Z(e.id),
248
249
  "aria-label": `Unlink ${e.title}`,
249
- children: /* @__PURE__ */ T(x, { className: "h-4 w-4" })
250
+ children: /* @__PURE__ */ E(S, { className: "h-4 w-4" })
250
251
  })]
251
252
  })]
252
253
  }, e.id))
253
254
  ]
254
255
  })] });
255
256
  }
256
- function V() {
257
- let { workspaceId: t } = e(), r = new URLSearchParams(window.location.search).get("taskId") ?? "", { data: i, loading: u, error: _ } = w(P, {
257
+ function H() {
258
+ let { workspaceId: t } = e(), r = new URLSearchParams(window.location.search).get("taskId") ?? "", { data: i, loading: u, error: v } = T(F, {
258
259
  variables: { workItemId: r },
259
260
  skip: !t || !r
260
261
  });
261
- if (u && !i) return /* @__PURE__ */ T("div", {
262
+ if (u && !i) return /* @__PURE__ */ E("div", {
262
263
  className: "flex items-center justify-center p-12",
263
- children: /* @__PURE__ */ T("div", { className: "animate-spin h-8 w-8 border-2 border-primary border-t-transparent rounded-full" })
264
+ children: /* @__PURE__ */ E("div", { className: "animate-spin h-8 w-8 border-2 border-primary border-t-transparent rounded-full" })
264
265
  });
265
- if (_) return /* @__PURE__ */ E("div", {
266
+ if (v) return /* @__PURE__ */ D("div", {
266
267
  className: "p-6 text-red-500",
267
- children: ["Error: ", _.message]
268
+ children: ["Error: ", v.message]
268
269
  });
269
- let v = i?.planmagnetWorkItem;
270
- return v ? /* @__PURE__ */ E("div", {
270
+ let y = i?.planmagnetWorkItem;
271
+ return y ? /* @__PURE__ */ D("div", {
271
272
  className: "space-y-6 p-6",
272
- children: [/* @__PURE__ */ E("div", {
273
+ children: [/* @__PURE__ */ D("div", {
273
274
  className: "flex items-start justify-between gap-4",
274
- children: [/* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("h1", {
275
+ children: [/* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("h1", {
275
276
  className: "text-2xl font-semibold",
276
- children: v.title
277
- }), /* @__PURE__ */ E("p", {
277
+ children: y.title
278
+ }), /* @__PURE__ */ D("p", {
278
279
  className: "text-sm text-muted-foreground",
279
280
  children: [
280
- v.key,
281
+ y.key,
281
282
  " · ",
282
- v.type.toLowerCase()
283
+ y.type.toLowerCase()
283
284
  ]
284
- })] }), /* @__PURE__ */ T(c, {
285
- workItemId: v.id,
286
- title: v.title
285
+ })] }), /* @__PURE__ */ E(c, {
286
+ workItemId: y.id,
287
+ title: y.title
287
288
  })]
288
- }), /* @__PURE__ */ E("div", {
289
+ }), /* @__PURE__ */ D("div", {
289
290
  className: "grid grid-cols-1 lg:grid-cols-3 gap-6",
290
- children: [/* @__PURE__ */ E("div", {
291
+ children: [/* @__PURE__ */ D("div", {
291
292
  className: "lg:col-span-2 space-y-6",
292
293
  children: [
293
- /* @__PURE__ */ E(k, { children: [/* @__PURE__ */ T(j, { children: /* @__PURE__ */ T(M, { children: "Description" }) }), /* @__PURE__ */ T(A, { children: /* @__PURE__ */ T("p", {
294
+ /* @__PURE__ */ D(A, { children: [/* @__PURE__ */ E(M, { children: /* @__PURE__ */ E(N, { children: "Description" }) }), /* @__PURE__ */ E(j, { children: /* @__PURE__ */ E("p", {
294
295
  className: "text-sm",
295
- children: v.description ?? "No description provided."
296
+ children: y.description ?? "No description provided."
296
297
  }) })] }),
297
- /* @__PURE__ */ T(h, {
298
- workItemId: v.id,
299
- projectId: v.projectId,
300
- values: v.customFieldValues ?? []
298
+ /* @__PURE__ */ E(h, {
299
+ workItemId: y.id,
300
+ projectId: y.projectId,
301
+ values: y.customFieldValues ?? []
301
302
  }),
302
- /* @__PURE__ */ T(B, { workItemId: v.id }),
303
- /* @__PURE__ */ T(m, {
303
+ /* @__PURE__ */ E(V, { workItemId: y.id }),
304
+ /* @__PURE__ */ E(m, {
304
305
  workspaceId: t,
305
- workItemId: v.id,
306
- projectId: v.projectId,
307
- taskLabel: `${v.key} — ${v.title}`
306
+ workItemId: y.id,
307
+ projectId: y.projectId,
308
+ taskLabel: `${y.key} — ${y.title}`
308
309
  }),
309
- /* @__PURE__ */ T(g, {
310
+ /* @__PURE__ */ E(g, {
310
311
  workspaceId: t ?? "",
311
- workItemId: v.id,
312
- projectId: v.projectId
312
+ workItemId: y.id,
313
+ projectId: y.projectId
313
314
  }),
314
- /* @__PURE__ */ T(f, { workItemId: v.id }),
315
- /* @__PURE__ */ T(p, { workItemId: v.id })
315
+ /* @__PURE__ */ E(_, { workItemId: y.id }),
316
+ /* @__PURE__ */ E(f, { workItemId: y.id }),
317
+ /* @__PURE__ */ E(p, { workItemId: y.id })
316
318
  ]
317
- }), /* @__PURE__ */ T("div", {
319
+ }), /* @__PURE__ */ E("div", {
318
320
  className: "space-y-6",
319
- children: /* @__PURE__ */ E(k, { children: [/* @__PURE__ */ T(j, { children: /* @__PURE__ */ T(M, { children: "Details" }) }), /* @__PURE__ */ E(A, {
321
+ children: /* @__PURE__ */ D(A, { children: [/* @__PURE__ */ E(M, { children: /* @__PURE__ */ E(N, { children: "Details" }) }), /* @__PURE__ */ D(j, {
320
322
  className: "space-y-3 text-sm",
321
323
  children: [
322
- /* @__PURE__ */ E("div", {
324
+ /* @__PURE__ */ D("div", {
323
325
  className: "flex items-start justify-between gap-2",
324
- children: [/* @__PURE__ */ T("span", {
326
+ children: [/* @__PURE__ */ E("span", {
325
327
  className: "text-muted-foreground",
326
328
  children: "Status"
327
- }), /* @__PURE__ */ T(l, {
328
- workItemId: v.id,
329
- projectId: v.projectId,
330
- value: v.status
329
+ }), /* @__PURE__ */ E(l, {
330
+ workItemId: y.id,
331
+ projectId: y.projectId,
332
+ value: y.status
331
333
  })]
332
334
  }),
333
- /* @__PURE__ */ E("div", {
335
+ /* @__PURE__ */ D("div", {
334
336
  className: "flex items-start justify-between gap-2",
335
- children: [/* @__PURE__ */ T("span", {
337
+ children: [/* @__PURE__ */ E("span", {
336
338
  className: "text-muted-foreground",
337
339
  children: "Priority"
338
- }), /* @__PURE__ */ T(s, {
339
- workItemId: v.id,
340
+ }), /* @__PURE__ */ E(s, {
341
+ workItemId: y.id,
340
342
  field: "priority",
341
- value: v.priority,
343
+ value: y.priority,
342
344
  options: a,
343
345
  label: "Priority"
344
346
  })]
345
347
  }),
346
- /* @__PURE__ */ E("div", {
348
+ /* @__PURE__ */ D("div", {
347
349
  className: "flex justify-between",
348
- children: [/* @__PURE__ */ T("span", {
350
+ children: [/* @__PURE__ */ E("span", {
349
351
  className: "text-muted-foreground",
350
352
  children: "Type"
351
- }), /* @__PURE__ */ T(D, {
353
+ }), /* @__PURE__ */ E(O, {
352
354
  variant: "outline",
353
355
  className: "capitalize",
354
- children: v.type.toLowerCase()
356
+ children: y.type.toLowerCase()
355
357
  })]
356
358
  }),
357
- /* @__PURE__ */ E("div", {
359
+ /* @__PURE__ */ D("div", {
358
360
  className: "flex items-start justify-between gap-2",
359
- children: [/* @__PURE__ */ T("span", {
361
+ children: [/* @__PURE__ */ E("span", {
360
362
  className: "text-muted-foreground",
361
363
  children: "Milestone"
362
- }), /* @__PURE__ */ T(d, {
363
- workItemId: v.id,
364
- projectId: v.projectId,
365
- milestoneId: v.milestoneId
364
+ }), /* @__PURE__ */ E(d, {
365
+ workItemId: y.id,
366
+ projectId: y.projectId,
367
+ milestoneId: y.milestoneId
366
368
  })]
367
369
  }),
368
- /* @__PURE__ */ E("div", {
370
+ /* @__PURE__ */ D("div", {
369
371
  className: "flex justify-between",
370
- children: [/* @__PURE__ */ T("span", {
372
+ children: [/* @__PURE__ */ E("span", {
371
373
  className: "text-muted-foreground",
372
374
  children: "Story Points"
373
- }), /* @__PURE__ */ T("span", {
375
+ }), /* @__PURE__ */ E("span", {
374
376
  className: "font-medium",
375
- children: v.storyPoints ?? 0
377
+ children: y.storyPoints ?? 0
376
378
  })]
377
379
  }),
378
- /* @__PURE__ */ E("div", {
380
+ /* @__PURE__ */ D("div", {
379
381
  className: "flex items-start justify-between gap-2",
380
- children: [/* @__PURE__ */ T("span", {
382
+ children: [/* @__PURE__ */ E("span", {
381
383
  className: "text-muted-foreground",
382
384
  children: "Assignee"
383
- }), /* @__PURE__ */ T(o, {
384
- workItemId: v.id,
385
- assigneeId: v.assigneeId
385
+ }), /* @__PURE__ */ E(o, {
386
+ workItemId: y.id,
387
+ assigneeId: y.assigneeId
386
388
  })]
387
389
  }),
388
- /* @__PURE__ */ E("div", {
390
+ /* @__PURE__ */ D("div", {
389
391
  className: "flex justify-between",
390
- children: [/* @__PURE__ */ T("span", {
392
+ children: [/* @__PURE__ */ E("span", {
391
393
  className: "text-muted-foreground",
392
394
  children: "Reporter"
393
- }), /* @__PURE__ */ T(n, { id: v.reporterId ?? v.createdBy })]
395
+ }), /* @__PURE__ */ E(n, { id: y.reporterId ?? y.createdBy })]
394
396
  }),
395
- /* @__PURE__ */ E("div", {
397
+ /* @__PURE__ */ D("div", {
396
398
  className: "flex justify-between",
397
- children: [/* @__PURE__ */ T("span", {
399
+ children: [/* @__PURE__ */ E("span", {
398
400
  className: "text-muted-foreground",
399
401
  children: "Key"
400
- }), /* @__PURE__ */ T("span", { children: v.key })]
402
+ }), /* @__PURE__ */ E("span", { children: y.key })]
401
403
  }),
402
- /* @__PURE__ */ E("div", {
404
+ /* @__PURE__ */ D("div", {
403
405
  className: "flex justify-between",
404
- children: [/* @__PURE__ */ T("span", {
406
+ children: [/* @__PURE__ */ E("span", {
405
407
  className: "text-muted-foreground",
406
408
  children: "Due Date"
407
- }), /* @__PURE__ */ T("span", { children: v.dueDate ?? "Not set" })]
409
+ }), /* @__PURE__ */ E("span", { children: y.dueDate ?? "Not set" })]
408
410
  }),
409
- /* @__PURE__ */ E("div", {
411
+ /* @__PURE__ */ D("div", {
410
412
  className: "flex justify-between",
411
- children: [/* @__PURE__ */ T("span", {
413
+ children: [/* @__PURE__ */ E("span", {
412
414
  className: "text-muted-foreground",
413
415
  children: "Created"
414
- }), /* @__PURE__ */ T("span", { children: v.createdAt })]
416
+ }), /* @__PURE__ */ E("span", { children: y.createdAt })]
415
417
  }),
416
- /* @__PURE__ */ E("div", {
418
+ /* @__PURE__ */ D("div", {
417
419
  className: "flex justify-between",
418
- children: [/* @__PURE__ */ T("span", {
420
+ children: [/* @__PURE__ */ E("span", {
419
421
  className: "text-muted-foreground",
420
422
  children: "Updated"
421
- }), /* @__PURE__ */ T("span", { children: v.updatedAt })]
423
+ }), /* @__PURE__ */ E("span", { children: y.updatedAt })]
422
424
  }),
423
- /* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("span", {
425
+ /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("span", {
424
426
  className: "text-muted-foreground text-xs",
425
427
  children: "Labels"
426
- }), /* @__PURE__ */ T("div", {
428
+ }), /* @__PURE__ */ E("div", {
427
429
  className: "flex gap-1 mt-1 flex-wrap",
428
- children: (v.labels ?? []).map((e) => /* @__PURE__ */ T("span", {
430
+ children: (y.labels ?? []).map((e) => /* @__PURE__ */ E("span", {
429
431
  className: "text-xs px-2 py-0.5 rounded bg-muted",
430
432
  children: e
431
433
  }, e))
@@ -434,12 +436,12 @@ function V() {
434
436
  })] })
435
437
  })]
436
438
  })]
437
- }) : /* @__PURE__ */ T("div", {
439
+ }) : /* @__PURE__ */ E("div", {
438
440
  className: "p-6 text-muted-foreground",
439
441
  children: "Task not found."
440
442
  });
441
443
  }
442
444
  //#endregion
443
- export { V as TasksTaskDetailPagePage };
445
+ export { H as TasksTaskDetailPagePage };
444
446
 
445
447
  //# sourceMappingURL=TasksTaskDetailPagePage.js.map