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