@parallelworks/tandem-web 0.187.0 → 0.188.0
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/_virtual/_virtual_i18n/en/common.js +8 -1
- package/_virtual/_virtual_i18n/es/common.js +8 -1
- package/_virtual/_virtual_i18n/ja/common.js +8 -1
- package/_virtual/_virtual_i18n/ko/common.js +8 -1
- package/_virtual/_virtual_i18n/zh/common.js +8 -1
- package/components/FavoritesNav.js +123 -81
- package/package.json +1 -1
- package/pages/area.js +75 -69
- package/routes/_workspace/agents/_slug2.js +132 -126
- package/routes/_workspace/dashboards/_dashboardId2.js +111 -103
- package/routes/_workspace/knowledge/_term2.js +128 -123
- package/routes/_workspace/people/_username2.js +67 -58
- package/routes/_workspace/projects/_projectId_3.milestones._milestoneId.js +86 -81
|
@@ -1,61 +1,70 @@
|
|
|
1
1
|
import { membersQuery as e, projectsQuery as t, teamMembersQuery as n, teamsQuery as r } from "../../../api/queries.js";
|
|
2
2
|
import { EntityIcon as i } from "../../../components/EntityIcon.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
3
|
+
import { FavoriteStar as a } from "../../../components/FavoriteStar.js";
|
|
4
|
+
import { MailIcon as o } from "../../../components/icons.js";
|
|
5
|
+
import { PersonActivity as s } from "../../../components/PersonActivity.js";
|
|
6
|
+
import { NotFound as c } from "../../../components/status.js";
|
|
7
|
+
import { usePageTitle as l } from "../../../lib/pageTitle.js";
|
|
8
|
+
import { projectRef as u } from "../../../lib/projects.js";
|
|
9
|
+
import { useRoleName as d } from "../../../lib/roles.js";
|
|
10
|
+
import { Link as f } from "../../../lib/router.js";
|
|
11
|
+
import { IssueList as p } from "../../../pages/issues.js";
|
|
12
|
+
import { Route as m } from "./_username.js";
|
|
13
|
+
import { Avatar as h, StatusBadge as g, Tabs as _ } from "@parallelworks/ui";
|
|
14
|
+
import { useTranslations as v } from "use-intl";
|
|
15
|
+
import { jsx as y, jsxs as b } from "react/jsx-runtime";
|
|
16
|
+
import { useQueries as x, useQuery as S, useSuspenseQuery as C } from "@tanstack/react-query";
|
|
16
17
|
// src/routes/$workspace/people/$username.tsx?tsr-split=component
|
|
17
|
-
function
|
|
18
|
-
let { workspace: t, username: n } =
|
|
19
|
-
if (
|
|
18
|
+
function w() {
|
|
19
|
+
let { workspace: t, username: n } = m.useParams(), { tab: r } = m.useSearch(), i = v("person"), u = d(t), { data: f } = C(e(t)), x = f.find((e) => e.user.username === n);
|
|
20
|
+
if (l(x?.user.name ?? n), !x) return /* @__PURE__ */ y(c, {
|
|
20
21
|
title: i("notFound"),
|
|
21
22
|
description: i("notFoundDetail")
|
|
22
23
|
});
|
|
23
|
-
let { user:
|
|
24
|
-
return /* @__PURE__ */
|
|
24
|
+
let { user: S } = x;
|
|
25
|
+
return /* @__PURE__ */ b("div", {
|
|
25
26
|
className: "flex h-full min-h-0 flex-col",
|
|
26
|
-
children: [/* @__PURE__ */
|
|
27
|
+
children: [/* @__PURE__ */ b("section", {
|
|
27
28
|
"aria-label": i("profile"),
|
|
28
29
|
className: "flex shrink-0 flex-wrap items-start gap-4 border-b border-border px-4 py-5 md:px-6",
|
|
29
|
-
children: [/* @__PURE__ */
|
|
30
|
-
name:
|
|
31
|
-
src:
|
|
30
|
+
children: [/* @__PURE__ */ y(h, {
|
|
31
|
+
name: S.name,
|
|
32
|
+
src: S.avatarUrl,
|
|
32
33
|
size: "xl"
|
|
33
|
-
}), /* @__PURE__ */
|
|
34
|
+
}), /* @__PURE__ */ b("div", {
|
|
34
35
|
className: "min-w-0 flex-1 space-y-2",
|
|
35
36
|
children: [
|
|
36
|
-
/* @__PURE__ */
|
|
37
|
+
/* @__PURE__ */ b("div", {
|
|
37
38
|
className: "flex flex-wrap items-center gap-2",
|
|
38
|
-
children: [
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
39
|
+
children: [
|
|
40
|
+
/* @__PURE__ */ y("h1", {
|
|
41
|
+
className: "truncate text-lg font-semibold tracking-tight",
|
|
42
|
+
children: S.name
|
|
43
|
+
}),
|
|
44
|
+
/* @__PURE__ */ y(a, {
|
|
45
|
+
workspace: t,
|
|
46
|
+
kind: "person",
|
|
47
|
+
target: S.username
|
|
48
|
+
}),
|
|
49
|
+
/* @__PURE__ */ y(g, {
|
|
50
|
+
emphasis: "outline",
|
|
51
|
+
children: u(x.role)
|
|
52
|
+
})
|
|
53
|
+
]
|
|
45
54
|
}),
|
|
46
|
-
/* @__PURE__ */
|
|
55
|
+
/* @__PURE__ */ b("p", {
|
|
47
56
|
className: "flex flex-wrap items-center gap-x-4 gap-y-1 text-sm text-muted-foreground",
|
|
48
|
-
children: [/* @__PURE__ */
|
|
49
|
-
href: `mailto:${
|
|
57
|
+
children: [/* @__PURE__ */ y("span", { children: `@${S.username}` }), S.email && /* @__PURE__ */ b("a", {
|
|
58
|
+
href: `mailto:${S.email}`,
|
|
50
59
|
className: "inline-flex items-center gap-1.5 hover:text-foreground",
|
|
51
|
-
children: [/* @__PURE__ */
|
|
60
|
+
children: [/* @__PURE__ */ y(o, { className: "size-3.5" }), S.email]
|
|
52
61
|
})]
|
|
53
62
|
}),
|
|
54
|
-
/* @__PURE__ */
|
|
63
|
+
/* @__PURE__ */ y(T, {
|
|
55
64
|
workspace: t,
|
|
56
65
|
username: n
|
|
57
66
|
}),
|
|
58
|
-
/* @__PURE__ */
|
|
67
|
+
/* @__PURE__ */ y(_, {
|
|
59
68
|
variant: "segmented",
|
|
60
69
|
size: "sm",
|
|
61
70
|
label: i("sections"),
|
|
@@ -68,57 +77,57 @@ function C() {
|
|
|
68
77
|
})
|
|
69
78
|
]
|
|
70
79
|
})]
|
|
71
|
-
}), /* @__PURE__ */
|
|
80
|
+
}), /* @__PURE__ */ y("div", {
|
|
72
81
|
className: "min-h-0 flex-1 overflow-y-auto",
|
|
73
|
-
children: r === "activity" ? /* @__PURE__ */
|
|
82
|
+
children: r === "activity" ? /* @__PURE__ */ y(s, {
|
|
74
83
|
workspace: t,
|
|
75
84
|
username: n
|
|
76
|
-
}) : /* @__PURE__ */
|
|
85
|
+
}) : /* @__PURE__ */ y(p, { person: n })
|
|
77
86
|
})]
|
|
78
87
|
});
|
|
79
88
|
}
|
|
80
|
-
function
|
|
81
|
-
let o =
|
|
82
|
-
return /* @__PURE__ */
|
|
89
|
+
function T({ workspace: e, username: a }) {
|
|
90
|
+
let o = v("person"), { data: s = [] } = S(r(e)), { data: c = [] } = S(t(e)), l = s.filter((e) => !e.archivedAt), d = x({ queries: l.map((t) => n(e, t.key)) }), p = l.filter((e, t) => d[t]?.data?.includes(a)), m = (e) => e !== "completed" && e !== "canceled", h = c.filter((e) => m(e.status) && (e.lead === a || e.members.includes(a))), g = "inline-flex max-w-56 items-center gap-1.5 rounded-md border border-border px-2 py-0.5 text-xs hover:bg-muted";
|
|
91
|
+
return /* @__PURE__ */ b("dl", {
|
|
83
92
|
className: "space-y-1.5 text-xs",
|
|
84
|
-
children: [p.length > 0 && /* @__PURE__ */
|
|
93
|
+
children: [p.length > 0 && /* @__PURE__ */ y(E, {
|
|
85
94
|
label: o("teams"),
|
|
86
|
-
children: p.map((t) => /* @__PURE__ */
|
|
95
|
+
children: p.map((t) => /* @__PURE__ */ b(f, {
|
|
87
96
|
to: "/$workspace/teams/$key/issues",
|
|
88
97
|
params: {
|
|
89
98
|
workspace: e,
|
|
90
99
|
key: t.key
|
|
91
100
|
},
|
|
92
101
|
className: g,
|
|
93
|
-
children: [/* @__PURE__ */
|
|
102
|
+
children: [/* @__PURE__ */ y(i, {
|
|
94
103
|
icon: t.icon ?? "",
|
|
95
104
|
name: t.name,
|
|
96
105
|
className: "size-3.5"
|
|
97
|
-
}), /* @__PURE__ */
|
|
106
|
+
}), /* @__PURE__ */ y("span", {
|
|
98
107
|
className: "truncate",
|
|
99
108
|
children: t.name
|
|
100
109
|
})]
|
|
101
110
|
}, t.id))
|
|
102
|
-
}), h.length > 0 && /* @__PURE__ */
|
|
111
|
+
}), h.length > 0 && /* @__PURE__ */ y(E, {
|
|
103
112
|
label: o("projects"),
|
|
104
|
-
children: h.map((t) => /* @__PURE__ */
|
|
113
|
+
children: h.map((t) => /* @__PURE__ */ b(f, {
|
|
105
114
|
to: "/$workspace/projects/$projectId",
|
|
106
115
|
params: {
|
|
107
116
|
workspace: e,
|
|
108
|
-
projectId:
|
|
117
|
+
projectId: u(t)
|
|
109
118
|
},
|
|
110
119
|
className: g,
|
|
111
120
|
children: [
|
|
112
|
-
/* @__PURE__ */
|
|
121
|
+
/* @__PURE__ */ y(i, {
|
|
113
122
|
icon: t.icon ?? "",
|
|
114
123
|
name: t.name,
|
|
115
124
|
className: "size-3.5"
|
|
116
125
|
}),
|
|
117
|
-
/* @__PURE__ */
|
|
126
|
+
/* @__PURE__ */ y("span", {
|
|
118
127
|
className: "truncate",
|
|
119
128
|
children: t.name
|
|
120
129
|
}),
|
|
121
|
-
t.lead === a && /* @__PURE__ */
|
|
130
|
+
t.lead === a && /* @__PURE__ */ y("span", {
|
|
122
131
|
className: "text-muted-foreground",
|
|
123
132
|
children: o("lead")
|
|
124
133
|
})
|
|
@@ -127,16 +136,16 @@ function w({ workspace: e, username: a }) {
|
|
|
127
136
|
})]
|
|
128
137
|
});
|
|
129
138
|
}
|
|
130
|
-
function
|
|
131
|
-
return /* @__PURE__ */
|
|
139
|
+
function E({ label: e, children: t }) {
|
|
140
|
+
return /* @__PURE__ */ b("div", {
|
|
132
141
|
className: "flex flex-wrap items-center gap-1.5",
|
|
133
|
-
children: [/* @__PURE__ */
|
|
142
|
+
children: [/* @__PURE__ */ y("dt", {
|
|
134
143
|
className: "w-20 shrink-0 text-muted-foreground",
|
|
135
144
|
children: e
|
|
136
|
-
}), /* @__PURE__ */
|
|
145
|
+
}), /* @__PURE__ */ y("dd", {
|
|
137
146
|
className: "flex min-w-0 flex-1 flex-wrap gap-1.5",
|
|
138
147
|
children: t
|
|
139
148
|
})]
|
|
140
149
|
});
|
|
141
150
|
}
|
|
142
|
-
export {
|
|
151
|
+
export { w as component };
|
|
@@ -3,91 +3,92 @@ import { api as t, unwrap as n } from "../../../api/client.js";
|
|
|
3
3
|
import { invalidateIssueViews as r } from "../../../api/mutations.js";
|
|
4
4
|
import { issuesQuery as i, projectQuery as a } from "../../../api/queries.js";
|
|
5
5
|
import { Editor as o } from "../../../components/Editor.js";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
6
|
+
import { FavoriteStar as s } from "../../../components/FavoriteStar.js";
|
|
7
|
+
import { StatusGroups as c } from "../../../components/IssueGroup.js";
|
|
8
|
+
import { ProgressBar as l } from "../../../components/Planning.js";
|
|
9
|
+
import { NotFound as u } from "../../../components/status.js";
|
|
10
|
+
import { useConfirm as d } from "../../../lib/confirm.js";
|
|
11
|
+
import { copyItem as f } from "../../../lib/menus.js";
|
|
12
|
+
import { usePageTitle as p } from "../../../lib/pageTitle.js";
|
|
13
|
+
import { projectRef as ee } from "../../../lib/projects.js";
|
|
13
14
|
import { useCan as m } from "../../../lib/roles.js";
|
|
14
|
-
import { useNavigate as
|
|
15
|
-
import { useTime as
|
|
16
|
-
import { Route as
|
|
17
|
-
import { Card as
|
|
18
|
-
import { useState as
|
|
19
|
-
import { useErrorMessage as
|
|
15
|
+
import { useNavigate as te } from "../../../lib/router.js";
|
|
16
|
+
import { useTime as h } from "../../../lib/time.js";
|
|
17
|
+
import { Route as g } from "./_projectId_.milestones._milestoneId.js";
|
|
18
|
+
import { Card as _, DatePicker as v, EmptyState as y, ErrorText as b, Input as ne, PageHeader as x, menuDivider as re } from "@parallelworks/ui";
|
|
19
|
+
import { useState as ie } from "react";
|
|
20
|
+
import { useErrorMessage as S } from "@parallelworks/problem/react";
|
|
20
21
|
import { useTranslations as C } from "use-intl";
|
|
21
|
-
import {
|
|
22
|
-
import { useMutation as
|
|
23
|
-
import { MoreButton as
|
|
22
|
+
import { Fragment as w, jsx as T, jsxs as E } from "react/jsx-runtime";
|
|
23
|
+
import { useMutation as D, useQueryClient as O, useSuspenseQuery as k } from "@tanstack/react-query";
|
|
24
|
+
import { MoreButton as A } from "@parallelworks/ui/list";
|
|
24
25
|
// src/routes/$workspace/projects/$projectId_.milestones.$milestoneId.tsx?tsr-split=component
|
|
25
|
-
function
|
|
26
|
-
let { workspace:
|
|
27
|
-
|
|
28
|
-
let W = m(
|
|
29
|
-
workspace:
|
|
26
|
+
function j() {
|
|
27
|
+
let { workspace: j, projectId: M, milestoneId: N } = g.useParams(), P = C("planning"), F = C("common"), I = S(), ae = h(), L = te(), R = O(), { confirm: z, dialog: B } = d(), { data: V } = k(a(j, M)), { data: H } = k(i(j, e(V.id))), U = V.milestones.find((e) => e.id === N);
|
|
28
|
+
p(U?.name, V.name);
|
|
29
|
+
let W = m(j, "manage_projects", { project: V.id }), [G, K] = ie(!1), q = `/${j}/projects/${ee(V)}`, J = {
|
|
30
|
+
workspace: j,
|
|
30
31
|
projectId: V.id,
|
|
31
|
-
milestoneId:
|
|
32
|
+
milestoneId: N
|
|
32
33
|
}, Y = () => {
|
|
33
34
|
R.invalidateQueries({ queryKey: [
|
|
34
35
|
"workspace",
|
|
35
|
-
|
|
36
|
+
j,
|
|
36
37
|
"projects"
|
|
37
|
-
] }), r(R,
|
|
38
|
-
}, X =
|
|
38
|
+
] }), r(R, j);
|
|
39
|
+
}, X = D({
|
|
39
40
|
mutationFn: async (e) => n(await t.PATCH("/api/v1/workspaces/{workspace}/projects/{projectId}/milestones/{milestoneId}", {
|
|
40
41
|
params: { path: J },
|
|
41
42
|
body: e
|
|
42
43
|
})),
|
|
43
44
|
onSettled: Y
|
|
44
|
-
}), Z =
|
|
45
|
+
}), Z = D({
|
|
45
46
|
mutationFn: async () => n(await t.DELETE("/api/v1/workspaces/{workspace}/projects/{projectId}/milestones/{milestoneId}", { params: { path: J } })),
|
|
46
47
|
onSuccess: () => L({ href: q }),
|
|
47
48
|
onSettled: Y
|
|
48
49
|
});
|
|
49
|
-
if (!U) return /* @__PURE__ */
|
|
50
|
+
if (!U) return /* @__PURE__ */ E("div", {
|
|
50
51
|
className: "flex h-full min-h-0 flex-col",
|
|
51
|
-
children: [/* @__PURE__ */
|
|
52
|
+
children: [/* @__PURE__ */ T(x, {
|
|
52
53
|
heading: !1,
|
|
53
54
|
breadcrumbs: [{
|
|
54
|
-
label:
|
|
55
|
-
href: `/${
|
|
55
|
+
label: P("projects"),
|
|
56
|
+
href: `/${j}/projects`
|
|
56
57
|
}, {
|
|
57
58
|
label: V.name,
|
|
58
59
|
href: q
|
|
59
60
|
}]
|
|
60
|
-
}), /* @__PURE__ */
|
|
61
|
-
title:
|
|
62
|
-
description:
|
|
61
|
+
}), /* @__PURE__ */ T(u, {
|
|
62
|
+
title: P("noSuchMilestone"),
|
|
63
|
+
description: P("milestoneGone")
|
|
63
64
|
})]
|
|
64
65
|
});
|
|
65
|
-
let Q = H.issues.filter((e) => e.milestone?.id === U.id),
|
|
66
|
+
let Q = H.issues.filter((e) => e.milestone?.id === U.id), oe = W ? [
|
|
66
67
|
{
|
|
67
|
-
label:
|
|
68
|
+
label: P("rename"),
|
|
68
69
|
onClick: () => K(!0)
|
|
69
70
|
},
|
|
70
|
-
|
|
71
|
+
re,
|
|
71
72
|
{
|
|
72
|
-
label:
|
|
73
|
+
label: P("deleteMilestone"),
|
|
73
74
|
destructive: !0,
|
|
74
75
|
onClick: () => z({
|
|
75
|
-
title:
|
|
76
|
-
description:
|
|
77
|
-
confirmLabel:
|
|
76
|
+
title: P("deleteMilestoneTitle", { name: U.name }),
|
|
77
|
+
description: P("deleteMilestoneDescription"),
|
|
78
|
+
confirmLabel: P("deleteMilestone"),
|
|
78
79
|
onConfirm: () => Z.mutateAsync()
|
|
79
80
|
})
|
|
80
81
|
}
|
|
81
|
-
] : [
|
|
82
|
-
return /* @__PURE__ */
|
|
82
|
+
] : [f(F("copyName"), U.name)], $ = X.error ?? Z.error;
|
|
83
|
+
return /* @__PURE__ */ E("div", {
|
|
83
84
|
className: "flex h-full min-h-0 flex-col",
|
|
84
85
|
children: [
|
|
85
|
-
/* @__PURE__ */
|
|
86
|
+
/* @__PURE__ */ T(x, {
|
|
86
87
|
heading: !1,
|
|
87
88
|
breadcrumbs: [
|
|
88
89
|
{
|
|
89
|
-
label:
|
|
90
|
-
href: `/${
|
|
90
|
+
label: P("projects"),
|
|
91
|
+
href: `/${j}/projects`
|
|
91
92
|
},
|
|
92
93
|
{
|
|
93
94
|
label: V.name,
|
|
@@ -95,21 +96,25 @@ function A() {
|
|
|
95
96
|
},
|
|
96
97
|
{ label: U.name }
|
|
97
98
|
],
|
|
98
|
-
titleActions: /* @__PURE__ */ w(
|
|
99
|
-
|
|
100
|
-
|
|
99
|
+
titleActions: /* @__PURE__ */ E(w, { children: [/* @__PURE__ */ T(s, {
|
|
100
|
+
workspace: j,
|
|
101
|
+
kind: "milestone",
|
|
102
|
+
target: U.id
|
|
103
|
+
}), /* @__PURE__ */ T(A, {
|
|
104
|
+
items: () => oe,
|
|
105
|
+
label: F("moreActionsFor", { name: U.name }),
|
|
101
106
|
visible: !0
|
|
102
|
-
})
|
|
107
|
+
})] })
|
|
103
108
|
}),
|
|
104
|
-
/* @__PURE__ */
|
|
109
|
+
/* @__PURE__ */ T("div", {
|
|
105
110
|
className: "min-h-0 flex-1 overflow-y-auto px-4 py-6 md:px-8 md:py-8",
|
|
106
|
-
children: /* @__PURE__ */
|
|
111
|
+
children: /* @__PURE__ */ E("div", {
|
|
107
112
|
className: "mx-auto max-w-4xl",
|
|
108
113
|
children: [
|
|
109
|
-
G ? /* @__PURE__ */
|
|
114
|
+
G ? /* @__PURE__ */ T(ne, {
|
|
110
115
|
autoFocus: !0,
|
|
111
116
|
defaultValue: U.name,
|
|
112
|
-
"aria-label":
|
|
117
|
+
"aria-label": P("milestoneName"),
|
|
113
118
|
onBlur: (e) => {
|
|
114
119
|
let t = e.target.value.trim();
|
|
115
120
|
t && t !== U.name && X.mutate({ name: t }), K(!1);
|
|
@@ -118,63 +123,63 @@ function A() {
|
|
|
118
123
|
e.key === "Enter" && e.currentTarget.blur(), e.key === "Escape" && K(!1);
|
|
119
124
|
},
|
|
120
125
|
className: "text-xl font-semibold"
|
|
121
|
-
}) : /* @__PURE__ */
|
|
126
|
+
}) : /* @__PURE__ */ T("h1", {
|
|
122
127
|
className: "text-xl font-semibold tracking-tight",
|
|
123
128
|
children: U.name
|
|
124
129
|
}),
|
|
125
|
-
/* @__PURE__ */
|
|
130
|
+
/* @__PURE__ */ E("div", {
|
|
126
131
|
className: "mt-3 flex flex-wrap items-center gap-x-6 gap-y-3",
|
|
127
|
-
children: [W ? /* @__PURE__ */
|
|
132
|
+
children: [W ? /* @__PURE__ */ T(v, {
|
|
128
133
|
value: U.targetDate ?? "",
|
|
129
134
|
onValueChange: (e) => X.mutate({ targetDate: e }),
|
|
130
|
-
"aria-label":
|
|
131
|
-
placeholder:
|
|
135
|
+
"aria-label": P("targetDate"),
|
|
136
|
+
placeholder: P("targetDate"),
|
|
132
137
|
className: "w-auto"
|
|
133
|
-
}) : /* @__PURE__ */
|
|
138
|
+
}) : /* @__PURE__ */ T("span", {
|
|
134
139
|
className: "text-sm text-muted-foreground",
|
|
135
|
-
children: U.targetDate ?
|
|
136
|
-
}), /* @__PURE__ */
|
|
140
|
+
children: U.targetDate ? ae.day(U.targetDate) : P("noTargetDate")
|
|
141
|
+
}), /* @__PURE__ */ T("span", {
|
|
137
142
|
className: "w-56 max-w-full",
|
|
138
|
-
children: /* @__PURE__ */
|
|
143
|
+
children: /* @__PURE__ */ T(l, { progress: U.progress })
|
|
139
144
|
})]
|
|
140
145
|
}),
|
|
141
|
-
$ && /* @__PURE__ */
|
|
146
|
+
$ && /* @__PURE__ */ T(b, {
|
|
142
147
|
size: "md",
|
|
143
148
|
className: "mt-2",
|
|
144
|
-
children:
|
|
149
|
+
children: I($)
|
|
145
150
|
}),
|
|
146
|
-
/* @__PURE__ */
|
|
151
|
+
/* @__PURE__ */ E("section", {
|
|
147
152
|
className: "mt-8",
|
|
148
|
-
children: [/* @__PURE__ */
|
|
153
|
+
children: [/* @__PURE__ */ T("h2", {
|
|
149
154
|
className: "text-base font-semibold",
|
|
150
|
-
children:
|
|
151
|
-
}), /* @__PURE__ */
|
|
155
|
+
children: F("description")
|
|
156
|
+
}), /* @__PURE__ */ T(_, {
|
|
152
157
|
size: "fill",
|
|
153
158
|
padding: "sm",
|
|
154
159
|
className: "mt-2 min-h-16",
|
|
155
|
-
children: /* @__PURE__ */
|
|
160
|
+
children: /* @__PURE__ */ T(o, {
|
|
156
161
|
value: U.description,
|
|
157
162
|
editable: W,
|
|
158
|
-
placeholder:
|
|
159
|
-
label:
|
|
163
|
+
placeholder: P("addDescription"),
|
|
164
|
+
label: F("description"),
|
|
160
165
|
onBlur: (e) => e !== U.description && X.mutate({ description: e }),
|
|
161
166
|
className: "min-h-12"
|
|
162
167
|
}, U.description)
|
|
163
168
|
})]
|
|
164
169
|
}),
|
|
165
|
-
/* @__PURE__ */
|
|
170
|
+
/* @__PURE__ */ E("section", {
|
|
166
171
|
className: "mt-8",
|
|
167
|
-
"aria-label":
|
|
168
|
-
children: [/* @__PURE__ */
|
|
172
|
+
"aria-label": P("issues"),
|
|
173
|
+
children: [/* @__PURE__ */ T("h2", {
|
|
169
174
|
className: "text-base font-semibold",
|
|
170
|
-
children:
|
|
171
|
-
}), /* @__PURE__ */
|
|
175
|
+
children: P("issues")
|
|
176
|
+
}), /* @__PURE__ */ T("div", {
|
|
172
177
|
className: "mt-2",
|
|
173
|
-
children: Q.length === 0 ? /* @__PURE__ */
|
|
178
|
+
children: Q.length === 0 ? /* @__PURE__ */ T(y, {
|
|
174
179
|
variant: "bare",
|
|
175
|
-
title:
|
|
176
|
-
}) : /* @__PURE__ */
|
|
177
|
-
workspace:
|
|
180
|
+
title: P("noIssuesInMilestone")
|
|
181
|
+
}) : /* @__PURE__ */ T(c, {
|
|
182
|
+
workspace: j,
|
|
178
183
|
issues: Q
|
|
179
184
|
})
|
|
180
185
|
})]
|
|
@@ -186,4 +191,4 @@ function A() {
|
|
|
186
191
|
]
|
|
187
192
|
});
|
|
188
193
|
}
|
|
189
|
-
export {
|
|
194
|
+
export { j as component };
|