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