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