@commentkit/comment-kit 2.0.0 → 2.0.1
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/CHANGELOG.md +24 -0
- package/README.md +109 -13
- package/SECURITY.md +2 -2
- package/dist/node/cli/doctor.js +84 -20
- package/dist/node/cli/init.js +349 -35
- package/dist/node/cli/main.js +35 -17
- package/dist/node/cli/mcp.js +187 -6
- package/dist/node/shared/dashboard-places.js +33 -0
- package/dist/npm/chunks/{AgentSend-DxRJIYiz.js → AgentSend-DOy3jhyF.js} +16 -16
- package/dist/npm/chunks/{Checklist-CnlfeSbc.js → Checklist-CW_SwMpS.js} +70 -70
- package/dist/npm/chunks/{Composer-B1bBVszY.js → Composer-Bveq5QrK.js} +276 -274
- package/dist/npm/chunks/{Guest-vvNPz8h-.js → Guest-7hcN765o.js} +58 -55
- package/dist/npm/chunks/{MarkupEditor-VCOXh9d2.js → MarkupEditor-6bJGpWGO.js} +46 -39
- package/dist/npm/chunks/Panel-ChPUB68C.js +1211 -0
- package/dist/npm/chunks/{Settings-BGoZS2iV.js → Settings-CB5eEKnf.js} +77 -77
- package/dist/npm/chunks/{Shortcuts-B2OMvczr.js → Shortcuts-eAyjJ89P.js} +4 -4
- package/dist/npm/chunks/{StyleEditor-CJ_d8Huf.js → StyleEditor-CZTdAA5c.js} +10 -10
- package/dist/npm/chunks/{StylePanel-yQzHHlY7.js → StylePanel-B4pHQUL9.js} +61 -61
- package/dist/npm/chunks/{TaskFields-fmy6_HtK.js → TaskFields-C8BX0Sgg.js} +55 -55
- package/dist/npm/chunks/ThreadCard-B1EsX3PR.js +1160 -0
- package/dist/npm/chunks/Viewer-DY6zb90M.js +114 -0
- package/dist/npm/chunks/{agent-C1OQzBAm.js → agent-MTQHr9ei.js} +1 -1
- package/dist/npm/chunks/{ar-CAJ3XT8e.js → ar-L5cQ-NPe.js} +2 -0
- package/dist/npm/chunks/{card-bits-CAnzrqx3.js → card-bits-CTdrkYn8.js} +16 -16
- package/dist/npm/chunks/{client-kNAo2TTG.js → client-7eVxvg5j.js} +7 -7
- package/dist/npm/chunks/{confetti-CkBdSu19.js → confetti-BIs5s14P.js} +1 -1
- package/dist/npm/chunks/{context-B8UAzve0.js → context-Cf6khm7A.js} +1 -1
- package/dist/npm/chunks/{de-Dl18G48t.js → de-D0C-v6tP.js} +2 -0
- package/dist/npm/chunks/{dialog-GO04oC3D.js → dialog-DvdIkCW0.js} +1 -1
- package/dist/npm/chunks/{dpop-U48QIQd7.js → dpop-0A76OPa9.js} +1 -1
- package/dist/npm/chunks/{es-Dxk79lS9.js → es-Bw4Dj9tN.js} +2 -0
- package/dist/npm/chunks/{extension-CKFpPWmi.js → extension-DFVOvciD.js} +1 -1
- package/dist/npm/chunks/{extension-E81hWyiT.js → extension-SmoH5AA4.js} +2 -2
- package/dist/npm/chunks/{files-DyD5BZgp.js → files-4lV9YQIX.js} +2 -2
- package/dist/npm/chunks/{fr-8BebGKYD.js → fr-TkuQaIAa.js} +2 -0
- package/dist/npm/chunks/{hi-BIN6Yy_p.js → hi-DXSH2U8d.js} +2 -0
- package/dist/npm/chunks/{i18n-DOBt8e9U.js → i18n-aVSu9TcJ.js} +56 -47
- package/dist/npm/chunks/{identify-CN-3xzqL.js → identify-BGYh2dVo.js} +4 -4
- package/dist/npm/chunks/{it-Cr6EwpPQ.js → it-CiWA_bch.js} +2 -0
- package/dist/npm/chunks/{ja-Iy3s5aur.js → ja-C-QmR3yz.js} +2 -0
- package/dist/npm/chunks/{late-words-B2bmZceJ.js → late-words-80_VWt8S.js} +3 -1
- package/dist/npm/chunks/{live-CelVeZfP.js → live-BExWHzQ7.js} +1 -1
- package/dist/npm/chunks/{nl-B84WHqqe.js → nl-CEmZRqjX.js} +2 -0
- package/dist/npm/chunks/{page-key-DepmJzC1.js → page-key-HSY3Lze5.js} +1 -1
- package/dist/npm/chunks/{pick-yTyqtxN0.js → pick-B3sR7jtS.js} +1 -1
- package/dist/npm/chunks/{pkce-ChKGSW_4.js → pkce-CfZhiNBi.js} +1 -1
- package/dist/npm/chunks/{pt-BR-DOkdlfoe.js → pt-BR-b-a8sxO8.js} +2 -0
- package/dist/npm/chunks/{report-CrIqQZDI.js → report-DaVuoRYS.js} +1 -1
- package/dist/npm/chunks/show-BoN8AC-F.js +97 -0
- package/dist/npm/chunks/{signin-Dd1rb2BP.js → signin-BOWr_WCo.js} +3 -3
- package/dist/npm/chunks/{source-pXVve2Cx.js → source-mk3rGBBQ.js} +1 -1
- package/dist/npm/chunks/{src-BTMy4Gyc.js → src-C8rZFyL_.js} +77 -70
- package/dist/npm/chunks/start-CV4j78_q.js +1894 -0
- package/dist/npm/chunks/{states-sfTbjZz8.js → states-b9Bv3Ci7.js} +1 -1
- package/dist/npm/chunks/{upload-MgPYqPyE.js → upload-B2mkgMeJ.js} +1 -1
- package/dist/npm/chunks/uploads-8AxyRq7g.js +1147 -0
- package/dist/npm/chunks/{wrap-Bl0gbnFa.js → wrap-DW6EFbVQ.js} +1 -1
- package/dist/npm/chunks/{zh-CN-Z5fQCb7G.js → zh-CN-JTscW8u8.js} +2 -0
- package/dist/npm/element.js +1 -1
- package/dist/npm/headless.js +2 -2
- package/dist/npm/index.js +2 -2
- package/dist/npm/react.js +1 -1
- package/dist/npm/svelte.js +1 -1
- package/dist/npm/types/core/types.d.ts +2 -2
- package/dist/npm/vue.js +1 -1
- package/package.json +3 -1
- package/dist/npm/chunks/Panel-F37vIL1K.js +0 -1206
- package/dist/npm/chunks/ThreadCard-D51slKST.js +0 -1113
- package/dist/npm/chunks/Viewer-BOBadqmC.js +0 -111
- package/dist/npm/chunks/show-BgVC8gWY.js +0 -97
- package/dist/npm/chunks/start-DtVlpt7p.js +0 -1878
- package/dist/npm/chunks/uploads-D49mywwz.js +0 -1146
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { r as o } from "./context-
|
|
3
|
-
import { s, v as c } from "./start-
|
|
1
|
+
import { _ as e, c as t, d as n, m as r, n as i, u as a } from "./i18n-aVSu9TcJ.js";
|
|
2
|
+
import { r as o } from "./context-Cf6khm7A.js";
|
|
3
|
+
import { s, v as c } from "./start-CV4j78_q.js";
|
|
4
4
|
// src/ui/TaskFields.tsx
|
|
5
|
-
s(".ck-task .ck-chip{cursor:default}.ck-task button.ck-chip{cursor:pointer}.ck-root .ck-date-input:focus-visible{outline:none}.ck-task{flex-wrap:wrap;gap:8px;padding:8px 16px 0;display:flex}.ck-task .ck-chip>bdi{text-overflow:ellipsis;min-width:0;overflow:hidden}.ck-card>.ck-task[data-read]{overscroll-behavior:contain;max-height:72px;overflow-y:auto}.ck-date{position:relative}.ck-date[data-set]{color:var(--ck-text)}.ck-date-input{opacity:0;cursor:pointer;border:0;width:100%;height:100%;margin:0;padding:0;position:absolute;top:0;bottom:0;left:0;right:0}.ck-date:focus-within{outline:2px solid var(--ck-
|
|
5
|
+
s(".ck-task .ck-chip{cursor:default}.ck-task button.ck-chip{cursor:pointer}.ck-root .ck-date-input:focus-visible{outline:none}.ck-task{flex-wrap:wrap;gap:8px;padding:8px 16px 0;display:flex}.ck-task .ck-chip>bdi{text-overflow:ellipsis;min-width:0;overflow:hidden}.ck-card>.ck-task[data-read]{overscroll-behavior:contain;max-height:72px;overflow-y:auto}.ck-date{position:relative}.ck-date[data-set]{color:var(--ck-text)}.ck-date-input{opacity:0;cursor:pointer;border:0;width:100%;height:100%;margin:0;padding:0;position:absolute;top:0;bottom:0;left:0;right:0}.ck-date:focus-within{outline:2px solid var(--ck-ring);outline-offset:1px}.ck-task-pick{min-width:0;max-width:100%;position:relative}.ck-task-menu{z-index:2;top:calc(100% + 4px);overscroll-behavior:contain;border-radius:var(--ck-radius-md);background:var(--ck-bg);min-width:180px;max-width:min(280px,100vw - 48px);max-height:220px;box-shadow:var(--ck-shadow-sm);animation:ck-pop var(--ck-fast) var(--ck-ease);border:1px solid #0000;padding:4px;position:absolute;overflow:auto}.ck-task-menu:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){left:0}.ck-task-menu:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){left:0}.ck-task-menu:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){right:0}.ck-task-menu:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){right:0}.ck-task-menu .ck-check{border-radius:var(--ck-radius-sm);min-height:32px;color:var(--ck-text);transition:background-color var(--ck-fast);align-items:center;margin:0;padding:4px 8px}.ck-task-menu .ck-check input{margin:0}.ck-task-menu .ck-check bdi{overflow-wrap:anywhere;min-width:0}.ck-task-menu .ck-check:has(input:focus-visible){background:var(--ck-bg-hover)}.ck-swatch{border-radius:50%;flex:none;width:8px;height:8px}.ck-task-draft{border:0;margin-top:8px;padding:0}@media (hover:hover){.ck-task-menu .ck-check:hover{background:var(--ck-bg-hover)}}@media (pointer:coarse){.ck-task-menu .ck-check{min-height:44px}.ck-date-input{font-size:var(--ck-fs-lg)}}");
|
|
6
6
|
var l = [
|
|
7
7
|
"none",
|
|
8
8
|
"low",
|
|
@@ -21,9 +21,9 @@ function f(e) {
|
|
|
21
21
|
return /^\d{4}-\d{2}-\d{2}/.exec(e ?? "")?.[0] ?? "";
|
|
22
22
|
}
|
|
23
23
|
function p(e) {
|
|
24
|
-
let [t, n,
|
|
24
|
+
let [t, n, r] = e.split("-").map(Number);
|
|
25
25
|
try {
|
|
26
|
-
return new Date(t, n - 1,
|
|
26
|
+
return new Date(t, n - 1, r).toLocaleDateString(i(), {
|
|
27
27
|
day: "numeric",
|
|
28
28
|
month: "short",
|
|
29
29
|
year: "numeric"
|
|
@@ -34,25 +34,25 @@ function p(e) {
|
|
|
34
34
|
}
|
|
35
35
|
var m = (e) => /^#[0-9a-f]{6}$/i.test(e) ? e : "transparent";
|
|
36
36
|
function h({ thread: r, editable: i, onChange: s }, c) {
|
|
37
|
-
let { client: u, reportError: h } = o(c), [_, b] =
|
|
38
|
-
|
|
37
|
+
let { client: u, reportError: h } = o(c), [_, b] = e(null), [x, S] = e(!1);
|
|
38
|
+
n(() => {
|
|
39
39
|
i && d(u).then(b);
|
|
40
40
|
}, [i]);
|
|
41
41
|
let C = r.labels ?? [], w = f(r.due_at), T = r.assignees ?? (r.assignee ? [r.assignee] : []);
|
|
42
42
|
if (!i) {
|
|
43
|
-
let
|
|
43
|
+
let e = [
|
|
44
44
|
r.priority === "none" ? null : /* @__PURE__ */ a("span", {
|
|
45
45
|
class: "ck-chip",
|
|
46
46
|
children: [
|
|
47
|
-
|
|
47
|
+
t("priority"),
|
|
48
48
|
": ",
|
|
49
|
-
|
|
49
|
+
t(`priority_${r.priority}`)
|
|
50
50
|
]
|
|
51
51
|
}),
|
|
52
52
|
T.length ? /* @__PURE__ */ a("span", {
|
|
53
53
|
class: "ck-chip",
|
|
54
54
|
children: [
|
|
55
|
-
|
|
55
|
+
t("assigneeFilter"),
|
|
56
56
|
": ",
|
|
57
57
|
/* @__PURE__ */ a("bdi", {
|
|
58
58
|
title: T.map((e) => e.name).join(", "),
|
|
@@ -62,7 +62,7 @@ function h({ thread: r, editable: i, onChange: s }, c) {
|
|
|
62
62
|
}) : null,
|
|
63
63
|
w ? /* @__PURE__ */ a("span", {
|
|
64
64
|
class: "ck-chip",
|
|
65
|
-
children:
|
|
65
|
+
children: t("dueOn", { date: p(w) })
|
|
66
66
|
}) : null,
|
|
67
67
|
...C.map((e) => /* @__PURE__ */ a("span", {
|
|
68
68
|
class: "ck-chip",
|
|
@@ -75,12 +75,12 @@ function h({ thread: r, editable: i, onChange: s }, c) {
|
|
|
75
75
|
})]
|
|
76
76
|
}))
|
|
77
77
|
].filter(Boolean);
|
|
78
|
-
return
|
|
78
|
+
return e.length ? /* @__PURE__ */ a("div", {
|
|
79
79
|
class: "ck-task",
|
|
80
80
|
"data-read": !0,
|
|
81
81
|
role: "group",
|
|
82
|
-
"aria-label":
|
|
83
|
-
children:
|
|
82
|
+
"aria-label": t("taskDetails"),
|
|
83
|
+
children: e
|
|
84
84
|
}) : null;
|
|
85
85
|
}
|
|
86
86
|
let E = (e, t = {}) => {
|
|
@@ -101,27 +101,27 @@ function h({ thread: r, editable: i, onChange: s }, c) {
|
|
|
101
101
|
}, j = new Set(C.map((e) => e.id)), M = (e, t) => {
|
|
102
102
|
let n = [...j].filter((t) => t !== e).concat(t ? [e] : []), r = [...C, ..._?.labels ?? []];
|
|
103
103
|
E({ label_ids: n }, { labels: n.map((e) => r.find((t) => t.id === e)).filter(Boolean) });
|
|
104
|
-
}, N =
|
|
104
|
+
}, N = t(`priority_${r.priority}`);
|
|
105
105
|
return /* @__PURE__ */ a("div", {
|
|
106
106
|
class: "ck-task",
|
|
107
107
|
role: "group",
|
|
108
|
-
"aria-label":
|
|
108
|
+
"aria-label": t("taskDetails"),
|
|
109
109
|
"aria-busy": x || void 0,
|
|
110
110
|
children: [
|
|
111
111
|
/* @__PURE__ */ a(v, {
|
|
112
|
-
label:
|
|
112
|
+
label: t("priority"),
|
|
113
113
|
summary: N,
|
|
114
|
-
children: l.map((
|
|
114
|
+
children: l.map((e) => /* @__PURE__ */ a(y, {
|
|
115
115
|
type: "radio",
|
|
116
116
|
name: `ck-priority-${r.id}`,
|
|
117
|
-
checked: r.priority ===
|
|
117
|
+
checked: r.priority === e,
|
|
118
118
|
busy: x,
|
|
119
|
-
onPick: () => E({ priority:
|
|
120
|
-
children:
|
|
119
|
+
onPick: () => E({ priority: e }, { priority: e }),
|
|
120
|
+
children: t(`priority_${e}`)
|
|
121
121
|
}))
|
|
122
122
|
}),
|
|
123
123
|
/* @__PURE__ */ a(v, {
|
|
124
|
-
label:
|
|
124
|
+
label: t("assigneeFilter"),
|
|
125
125
|
summary: g(T),
|
|
126
126
|
keepOpen: !0,
|
|
127
127
|
children: O.map((e) => /* @__PURE__ */ a(y, {
|
|
@@ -136,12 +136,12 @@ function h({ thread: r, editable: i, onChange: s }, c) {
|
|
|
136
136
|
class: "ck-chip ck-date",
|
|
137
137
|
"data-set": w ? "true" : void 0,
|
|
138
138
|
children: [/* @__PURE__ */ a("bdi", {
|
|
139
|
-
title: w ?
|
|
140
|
-
children: w ?
|
|
139
|
+
title: w ? t("dueOn", { date: p(w) }) : void 0,
|
|
140
|
+
children: w ? t("dueOn", { date: p(w) }) : t("dueDate")
|
|
141
141
|
}), /* @__PURE__ */ a("input", {
|
|
142
142
|
class: "ck-date-input",
|
|
143
143
|
type: "date",
|
|
144
|
-
"aria-label":
|
|
144
|
+
"aria-label": t("dueDate"),
|
|
145
145
|
value: w,
|
|
146
146
|
onClick: (e) => {
|
|
147
147
|
try {
|
|
@@ -157,8 +157,8 @@ function h({ thread: r, editable: i, onChange: s }, c) {
|
|
|
157
157
|
})]
|
|
158
158
|
}),
|
|
159
159
|
_?.labels.length || C.length ? /* @__PURE__ */ a(v, {
|
|
160
|
-
label:
|
|
161
|
-
summary: C.length ? C.map((e) => e.name).join(", ") :
|
|
160
|
+
label: t("labels"),
|
|
161
|
+
summary: C.length ? C.map((e) => e.name).join(", ") : t("noLabels"),
|
|
162
162
|
keepOpen: !0,
|
|
163
163
|
children: (_?.labels.length ? _.labels : C).map((e) => /* @__PURE__ */ a(y, {
|
|
164
164
|
type: "checkbox",
|
|
@@ -174,36 +174,36 @@ function h({ thread: r, editable: i, onChange: s }, c) {
|
|
|
174
174
|
]
|
|
175
175
|
});
|
|
176
176
|
}
|
|
177
|
-
function g(
|
|
178
|
-
return
|
|
177
|
+
function g(e) {
|
|
178
|
+
return e.length ? e.length === 1 ? e[0].name : `${e[0].name} +${e.length - 1}` : t("unassigned");
|
|
179
179
|
}
|
|
180
180
|
function _(e) {
|
|
181
181
|
e?.scrollIntoView({ block: "nearest" });
|
|
182
182
|
}
|
|
183
|
-
function v({ label:
|
|
184
|
-
let [l, u] =
|
|
183
|
+
function v({ label: t, summary: n, spoken: i = n, keepOpen: o = !1, children: s }) {
|
|
184
|
+
let [l, u] = e(!1), d = r(null), f = r(null), p = () => {
|
|
185
185
|
u(!1), f.current?.focus();
|
|
186
186
|
};
|
|
187
187
|
return c(l, d, () => u(!1)), /* @__PURE__ */ a("div", {
|
|
188
|
-
class: "ck-task-pick",
|
|
188
|
+
class: l ? "ck-task-pick ck-pop" : "ck-task-pick",
|
|
189
189
|
ref: d,
|
|
190
190
|
onChange: () => !o && p(),
|
|
191
|
+
onKeyDown: (e) => l && e.key === "Escape" && (e.stopPropagation(), p()),
|
|
191
192
|
children: [/* @__PURE__ */ a("button", {
|
|
192
193
|
ref: f,
|
|
193
194
|
class: "ck-chip",
|
|
194
195
|
"aria-expanded": l,
|
|
195
|
-
"aria-label": x(
|
|
196
|
+
"aria-label": x(n, `${t}: ${i}`, i),
|
|
196
197
|
onClick: () => u(!l),
|
|
197
198
|
children: /* @__PURE__ */ a("bdi", {
|
|
198
|
-
title:
|
|
199
|
-
children:
|
|
199
|
+
title: n,
|
|
200
|
+
children: n
|
|
200
201
|
})
|
|
201
202
|
}), l ? /* @__PURE__ */ a("div", {
|
|
202
203
|
class: "ck-task-menu",
|
|
203
204
|
role: "group",
|
|
204
|
-
"aria-label":
|
|
205
|
+
"aria-label": t,
|
|
205
206
|
ref: _,
|
|
206
|
-
onKeyDown: (e) => e.key === "Escape" && (e.stopPropagation(), p()),
|
|
207
207
|
children: s
|
|
208
208
|
}) : null]
|
|
209
209
|
});
|
|
@@ -224,33 +224,33 @@ function y({ type: e, name: t, checked: n, busy: r = !1, onPick: i, children: o
|
|
|
224
224
|
});
|
|
225
225
|
}
|
|
226
226
|
function b({ client: r, value: i, onChange: o }) {
|
|
227
|
-
let [s, c] =
|
|
228
|
-
|
|
227
|
+
let [s, c] = e(null);
|
|
228
|
+
n(() => void d(r).then(c), []);
|
|
229
229
|
let u = i.priority ?? "none", f = i.assignee_ids ?? [], p = f.map((e) => s?.people.find((t) => Number(t.id) === e)).filter((e) => !!e), h = new Set(i.label_ids ?? []), _ = (s?.labels ?? []).filter((e) => h.has(e.id));
|
|
230
230
|
return /* @__PURE__ */ a("div", {
|
|
231
231
|
class: "ck-task ck-task-draft",
|
|
232
232
|
role: "group",
|
|
233
|
-
"aria-label":
|
|
233
|
+
"aria-label": t("taskDetails"),
|
|
234
234
|
children: [
|
|
235
235
|
/* @__PURE__ */ a(v, {
|
|
236
|
-
label:
|
|
237
|
-
summary:
|
|
238
|
-
spoken:
|
|
239
|
-
children: l.map((
|
|
236
|
+
label: t("priority"),
|
|
237
|
+
summary: t(u === "none" ? "priority" : `priority_${u}`),
|
|
238
|
+
spoken: t(`priority_${u}`),
|
|
239
|
+
children: l.map((e) => /* @__PURE__ */ a(y, {
|
|
240
240
|
type: "radio",
|
|
241
241
|
name: "ck-draft-priority",
|
|
242
|
-
checked: u ===
|
|
242
|
+
checked: u === e,
|
|
243
243
|
onPick: () => o({
|
|
244
244
|
...i,
|
|
245
|
-
priority:
|
|
245
|
+
priority: e
|
|
246
246
|
}),
|
|
247
|
-
children:
|
|
247
|
+
children: t(`priority_${e}`)
|
|
248
248
|
}))
|
|
249
249
|
}),
|
|
250
250
|
/* @__PURE__ */ a(v, {
|
|
251
|
-
label:
|
|
252
|
-
summary: p.length ? g(p) :
|
|
253
|
-
spoken: p.length ? g(p) :
|
|
251
|
+
label: t("assigneeFilter"),
|
|
252
|
+
summary: p.length ? g(p) : t("assign"),
|
|
253
|
+
spoken: p.length ? g(p) : t("unassigned"),
|
|
254
254
|
keepOpen: !0,
|
|
255
255
|
children: (s?.people ?? []).map((e) => /* @__PURE__ */ a(y, {
|
|
256
256
|
type: "checkbox",
|
|
@@ -263,9 +263,9 @@ function b({ client: r, value: i, onChange: o }) {
|
|
|
263
263
|
}))
|
|
264
264
|
}),
|
|
265
265
|
s?.labels.length ? /* @__PURE__ */ a(v, {
|
|
266
|
-
label:
|
|
267
|
-
summary: _.length ? _.map((e) => e.name).join(", ") :
|
|
268
|
-
spoken: _.length ? _.map((e) => e.name).join(", ") :
|
|
266
|
+
label: t("labels"),
|
|
267
|
+
summary: _.length ? _.map((e) => e.name).join(", ") : t("labels"),
|
|
268
|
+
spoken: _.length ? _.map((e) => e.name).join(", ") : t("noLabels"),
|
|
269
269
|
keepOpen: !0,
|
|
270
270
|
children: s.labels.map((e) => /* @__PURE__ */ a(y, {
|
|
271
271
|
type: "checkbox",
|