@parallelworks/tandem-web 0.150.3 → 0.152.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.
Files changed (110) hide show
  1. package/_virtual/_virtual_i18n/en/common.js +36 -4
  2. package/_virtual/_virtual_i18n/es/common.js +36 -4
  3. package/_virtual/_virtual_i18n/ja/common.js +36 -4
  4. package/_virtual/_virtual_i18n/ko/common.js +36 -4
  5. package/_virtual/_virtual_i18n/zh/common.js +36 -4
  6. package/api/queries.js +88 -77
  7. package/components/AccessGrants.js +6 -6
  8. package/components/ActivityTimeline.js +4 -4
  9. package/components/AgentWork.js +111 -111
  10. package/components/AreaLink.js +32 -0
  11. package/components/AreaTiles.js +10 -13
  12. package/components/AreaWork.js +25 -1
  13. package/components/BugRotation.js +3 -3
  14. package/components/CodeHostSettings.js +30 -30
  15. package/components/CommandPalette.js +53 -53
  16. package/components/CustomFields.js +116 -116
  17. package/components/DateChip.js +11 -11
  18. package/components/DocButton.js +6 -6
  19. package/components/DocHistory.js +4 -4
  20. package/components/DocLinkPicker.js +8 -8
  21. package/components/DocProperties.js +15 -15
  22. package/components/DocTable.js +15 -15
  23. package/components/DocsTree.js +80 -80
  24. package/components/Editor.js +35 -35
  25. package/components/FavoritesNav.js +53 -53
  26. package/components/GitHub.js +18 -18
  27. package/components/Graph.js +15 -15
  28. package/components/HostActions.js +21 -21
  29. package/components/HostPanel.js +6 -6
  30. package/components/HoverCards.js +38 -38
  31. package/components/IssueBoard.js +4 -4
  32. package/components/IssueCode.js +14 -14
  33. package/components/IssueEvent.js +3 -3
  34. package/components/IssueFilters.js +71 -71
  35. package/components/IssueListBlock.js +32 -32
  36. package/components/IssueRow.js +21 -21
  37. package/components/IssueTemplates.js +118 -118
  38. package/components/IssueTypes.js +40 -40
  39. package/components/NewIssueDialog.js +76 -76
  40. package/components/NewProjectDialog.js +145 -145
  41. package/components/PersonActivity.js +4 -4
  42. package/components/SharedViewer.js +5 -5
  43. package/components/SlashMenu.js +29 -29
  44. package/components/TeamRepositories.js +51 -51
  45. package/components/TeamWorkflow.js +6 -6
  46. package/components/UnlinkedMentions.js +20 -20
  47. package/components/Updates.js +3 -3
  48. package/components/Widgets.js +20 -20
  49. package/components/columns.js +17 -17
  50. package/components/editorPlugins.js +80 -80
  51. package/components/mathDiagrams.js +17 -17
  52. package/lib/boardMove.js +5 -5
  53. package/lib/issueList.js +58 -58
  54. package/lib/issueMenu.js +27 -27
  55. package/lib/knowledge.js +106 -106
  56. package/lib/views.js +9 -9
  57. package/package.json +1 -1
  58. package/pages/area.js +291 -0
  59. package/pages/areas.js +258 -287
  60. package/pages/decisions.js +21 -21
  61. package/pages/issues.js +52 -52
  62. package/pages/projects.js +125 -125
  63. package/pages/triage.js +12 -12
  64. package/routeTree.gen.js +186 -180
  65. package/routes/_workspace/agents/_slug2.js +11 -11
  66. package/routes/_workspace/agents/index2.js +10 -10
  67. package/routes/_workspace/areas/_area.js +7 -8
  68. package/routes/_workspace/areas/_area2.js +3 -290
  69. package/routes/_workspace/areas/_area3.js +7 -8
  70. package/routes/_workspace/docs/_doc2.js +230 -230
  71. package/routes/_workspace/docs/space2._space.js +27 -27
  72. package/routes/_workspace/issues/_identifier2.js +222 -224
  73. package/routes/_workspace/knowledge/_term2.js +43 -43
  74. package/routes/_workspace/knowledge/index.js +6 -6
  75. package/routes/_workspace/knowledge/index2.js +15 -15
  76. package/routes/_workspace/measures3.js +70 -72
  77. package/routes/_workspace/notifications2.js +150 -150
  78. package/routes/_workspace/people/_username2.js +10 -10
  79. package/routes/_workspace/projects/_projectId3.js +276 -276
  80. package/routes/_workspace/settings/audit-log3.js +136 -138
  81. package/routes/_workspace/settings/fields2.js +11 -11
  82. package/routes/_workspace/settings/github2.js +6 -6
  83. package/routes/_workspace/settings/groups2.js +26 -26
  84. package/routes/_workspace/settings/import2.js +414 -151
  85. package/routes/_workspace/settings/import3.js +7 -3
  86. package/routes/_workspace/settings/index2.js +6 -6
  87. package/routes/_workspace/settings/labels2.js +21 -21
  88. package/routes/_workspace/settings/members2.js +27 -27
  89. package/routes/_workspace/settings/notifications2.js +8 -8
  90. package/routes/_workspace/settings/parallelworks2.js +32 -32
  91. package/routes/_workspace/settings/roles2.js +24 -24
  92. package/routes/_workspace/settings/runners2.js +15 -15
  93. package/routes/_workspace/settings/sessions2.js +17 -17
  94. package/routes/_workspace/settings/slack2.js +7 -7
  95. package/routes/_workspace/settings/sso2.js +31 -31
  96. package/routes/_workspace/settings/teams2.js +25 -25
  97. package/routes/_workspace/settings/tokens2.js +12 -12
  98. package/routes/_workspace/settings/webhooks2.js +13 -13
  99. package/routes/_workspace/teams/_key/areas/_area.js +8 -0
  100. package/routes/_workspace/teams/_key/areas/_area2.js +4 -0
  101. package/routes/_workspace/teams/_key/areas/_area3.js +9 -0
  102. package/routes/_workspace/teams/_key/areas/index.js +6 -0
  103. package/routes/_workspace/teams/_key/areas/index2.js +4 -0
  104. package/routes/_workspace/teams/_key/{areas3.js → areas/index3.js} +2 -2
  105. package/routes/_workspace/teams/_key/cycles/_number2.js +27 -27
  106. package/routes/_workspace/teams/_key/cycles/index2.js +24 -24
  107. package/routes/_workspace/teams/_key/settings2.js +29 -29
  108. package/routes/_workspace2.js +368 -368
  109. package/routes/_workspace/teams/_key/areas.js +0 -6
  110. package/routes/_workspace/teams/_key/areas2.js +0 -4
@@ -1,22 +1,22 @@
1
1
  import { api as e, unwrap as t } from "../api/client.js";
2
2
  import { useNavigate as n } from "../lib/router.js";
3
3
  import { cyclesQuery as r, issueTemplatesQuery as i, labelsQuery as a, statusesQuery as ee, teamsQuery as te } from "../api/queries.js";
4
- import { useConfirm as ne } from "../lib/confirm.js";
5
- import { hasValue as o } from "../lib/customFields.js";
6
- import { issueTypesQuery as re, typesFor as ie } from "../lib/issueTypes.js";
7
- import { CalendarIcon as ae, CycleIcon as oe, EstimateIcon as se, FileTextIcon as ce, FolderIcon as le, PriorityIcon as ue, StatusIcon as de, TagIcon as fe, UserIcon as pe, usePriorityNames as me } from "./icons.js";
8
- import { TypeIcon as he } from "./IssueTypes.js";
9
- import { invalidateIssueViews as ge } from "../api/mutations.js";
10
- import { useTime as _e } from "../lib/time.js";
11
- import { scalePoints as ve, useEstimateLabel as ye } from "./Planning.js";
12
- import { PickManyBox as be, usePickMany as xe } from "../lib/pickMany.js";
13
- import { parseAssigneeKey as Se, useAssigneeOptions as Ce } from "../lib/assignees.js";
4
+ import { invalidateIssueViews as ne } from "../api/mutations.js";
5
+ import { CalendarIcon as re, CycleIcon as ie, EstimateIcon as ae, FileTextIcon as oe, FolderIcon as se, PriorityIcon as ce, StatusIcon as le, TagIcon as ue, UserIcon as de, usePriorityNames as fe } from "./icons.js";
6
+ import { useTime as pe } from "../lib/time.js";
7
+ import { scalePoints as me, useEstimateLabel as he } from "./Planning.js";
8
+ import { PickManyBox as ge, usePickMany as _e } from "../lib/pickMany.js";
9
+ import { parseAssigneeKey as ve, useAssigneeOptions as ye } from "../lib/assignees.js";
10
+ import { attachmentPrefix as be, insertPreviews as xe, readDataURL as Se, uploadAttachment as Ce } from "../lib/attachments.js";
14
11
  import { useCan as we } from "../lib/roles.js";
15
- import { attachmentPrefix as Te, insertPreviews as Ee, readDataURL as De, uploadAttachment as Oe } from "../lib/attachments.js";
16
- import { withoutLink as ke } from "../lib/markdownLinks.js";
12
+ import { hasValue as o } from "../lib/customFields.js";
13
+ import { useConfirm as Te } from "../lib/confirm.js";
14
+ import { issueTypesQuery as Ee, typesFor as De } from "../lib/issueTypes.js";
15
+ import { TypeIcon as Oe } from "./IssueTypes.js";
16
+ import { NewIssueFields as ke } from "./CustomFields.js";
17
17
  import { AttachButton as Ae, useAttachmentsOn as je } from "./Attachments.js";
18
- import { NewIssueFields as Me } from "./CustomFields.js";
19
- import { Editor as Ne } from "./Editor.js";
18
+ import { Editor as Me } from "./Editor.js";
19
+ import { withoutLink as Ne } from "../lib/markdownLinks.js";
20
20
  import { TeamForm as Pe } from "./TeamForm.js";
21
21
  import { Button as Fe, Combobox as s, CreateModal as Ie, DatePicker as Le, Modal as Re, buttonClasses as ze, toast as Be } from "@parallelworks/ui";
22
22
  import { useEffect as Ve, useRef as c, useState as l } from "react";
@@ -26,36 +26,36 @@ import { Fragment as Ue, jsx as d, jsxs as f } from "react/jsx-runtime";
26
26
  import { useQuery as p, useQueryClient as We, useSuspenseQuery as Ge } from "@tanstack/react-query";
27
27
  // src/components/NewIssueDialog.tsx
28
28
  function m({ workspace: m, defaultTeam: h, defaultTitle: Je = "", defaultBody: g = "", defaultArea: _, origin: v, defaults: y = {}, onCreated: Ye, onClose: b }) {
29
- let { data: Xe } = Ge(te(m)), x = Xe.filter((e) => !e.archivedAt), S = !Je && !g && !_ && !v && Object.keys(y).length === 0, [Ze] = l(() => S ? Ke(m) : void 0), [C, Qe] = l(h ?? x.find((e) => e.key === Ze?.team)?.key ?? x[0]?.key ?? ""), { data: w = [] } = p({
30
- ...ee(m, C),
31
- enabled: !!C
29
+ let { data: Xe } = Ge(te(m)), x = Xe.filter((e) => !e.archivedAt), S = !Je && !g && !_ && !v && Object.keys(y).length === 0, [C] = l(() => S ? Ke(m) : void 0), [w, Ze] = l(h ?? x.find((e) => e.key === C?.team)?.key ?? x[0]?.key ?? ""), { data: Qe = [] } = p({
30
+ ...ee(m, w),
31
+ enabled: !!w
32
32
  }), { data: $e = [] } = p(a(m)), { data: T = [] } = p({
33
- ...i(m, C),
34
- enabled: !!C
35
- }), [E, et] = l(null), tt = T.find((e) => e.id === E), [D, nt] = l(Je || Ze?.title || ""), O = c(D), rt = u("issueTemplates"), it = Ce(m, !0), at = me(), k = u("newIssue"), ot = He(), A = u("common"), j = we(m, "manage_teams"), [M, N] = l(g || Ze?.body || ""), st = c(M), [ct, lt] = l(y.statusId ?? null), [P, ut] = l(y.priority ?? 0), [F, dt] = l(0), [I, ft] = l(""), [L, pt] = l(y.cycleId ?? ""), R = u("planning"), mt = ye(), ht = _e(), { data: gt = [] } = p({
36
- ...r(m, C),
37
- enabled: !!x.find((e) => e.key === C)?.cyclesEnabled
33
+ ...i(m, w),
34
+ enabled: !!w
35
+ }), [E, et] = l(null), tt = T.find((e) => e.id === E), [D, nt] = l(Je || C?.title || ""), O = c(D), rt = u("issueTemplates"), it = ye(m, !0), at = fe(), k = u("newIssue"), ot = He(), A = u("common"), j = we(m, "manage_teams"), [M, N] = l(g || C?.body || ""), st = c(M), [ct, lt] = l(y.statusId ?? null), [P, ut] = l(y.priority ?? 0), [F, dt] = l(0), [I, ft] = l(""), [L, pt] = l(y.cycleId ?? ""), R = u("planning"), mt = he(), ht = pe(), { data: gt = [] } = p({
36
+ ...r(m, w),
37
+ enabled: !!x.find((e) => e.key === w)?.cyclesEnabled
38
38
  }), _t = gt.find((e) => e.id === L), vt = (e) => e.name ? R("cycleNamed", {
39
39
  number: e.number,
40
40
  name: e.name
41
- }) : R("cycle", { number: e.number }), z = x.find((e) => e.key === C)?.estimateScale ?? "none", [B, yt] = l(y.assignees ?? []), [V, bt] = l(y.labelIds ?? []), [H, U] = l({}), [W, G] = l(null), { data: xt } = p(re(m)), K = ie(xt, x.find((e) => e.key === C)?.id), q = K.find((e) => e.id === W), St = u("issueTypes"), [J, Y] = l(null), Ct = xe(J === "assignees", () => Y(null)), wt = xe(J === "labels", () => Y(null)), [Tt, Et] = l(null), Dt = We(), Ot = n(), { confirm: kt, dialog: At } = ne(), jt = c(!1);
41
+ }) : R("cycle", { number: e.number }), z = x.find((e) => e.key === w)?.estimateScale ?? "none", [B, yt] = l(y.assignees ?? []), [V, bt] = l(y.labelIds ?? []), [H, U] = l({}), [W, G] = l(null), { data: xt } = p(Ee(m)), K = De(xt, x.find((e) => e.key === w)?.id), q = K.find((e) => e.id === W), St = u("issueTypes"), [J, Y] = l(null), Ct = _e(J === "assignees", () => Y(null)), wt = _e(J === "labels", () => Y(null)), [Tt, Et] = l(null), Dt = We(), Ot = n(), { confirm: kt, dialog: At } = Te(), X = c(!1);
42
42
  Ve(() => {
43
43
  let e = () => {
44
44
  S && qe(m, {
45
- team: C,
45
+ team: w,
46
46
  title: O.current,
47
47
  body: M
48
48
  }), b();
49
49
  }, t = (t) => {
50
- if (!(t.key !== "Escape" || J !== null || jt.current) && !document.querySelector("[role=\"menu\"], [role=\"listbox\"]")) {
50
+ if (!(t.key !== "Escape" || J !== null || X.current) && !document.querySelector("[role=\"menu\"], [role=\"listbox\"]")) {
51
51
  if (O.current === D && M === st.current) return e();
52
- jt.current = !0, kt({
52
+ X.current = !0, kt({
53
53
  title: k("closeTitle"),
54
54
  description: k(S ? "closeKeepsDraft" : "closeLoses"),
55
55
  confirmLabel: A("close"),
56
56
  onConfirm: async () => e()
57
57
  }).finally(() => {
58
- jt.current = !1;
58
+ X.current = !1;
59
59
  });
60
60
  }
61
61
  };
@@ -64,7 +64,7 @@ function m({ workspace: m, defaultTeam: h, defaultTitle: Je = "", defaultBody: g
64
64
  J,
65
65
  S,
66
66
  m,
67
- C,
67
+ w,
68
68
  M,
69
69
  D,
70
70
  b,
@@ -81,30 +81,30 @@ function m({ workspace: m, defaultTeam: h, defaultTitle: Je = "", defaultBody: g
81
81
  };
82
82
  return window.addEventListener("keydown", e, !0), () => window.removeEventListener("keydown", e, !0);
83
83
  }, []);
84
- let Mt = () => {
84
+ let jt = () => {
85
85
  S && qe(m, {
86
- team: C,
86
+ team: w,
87
87
  title: "",
88
88
  body: ""
89
89
  }), b();
90
- }, X = w.find((e) => e.id === ct) ?? w.find((e) => e.category === "unstarted"), Z = c(null), Q = c(/* @__PURE__ */ new Map()), Nt = je(), Pt = u("issue.attachments"), Ft = async (e, t) => {
90
+ }, Z = Qe.find((e) => e.id === ct) ?? Qe.find((e) => e.category === "unstarted"), Q = c(null), Mt = c(/* @__PURE__ */ new Map()), Nt = je(), Pt = u("issue.attachments"), Ft = async (e, t) => {
91
91
  if (!Nt) {
92
92
  Be.error(Pt("off", { name: e[0]?.name ?? "" }));
93
93
  return;
94
94
  }
95
95
  let n = await Promise.all(e.map(async (e) => ({
96
96
  file: e,
97
- src: await De(e)
97
+ src: await Se(e)
98
98
  })));
99
- for (let { file: e, src: t } of n) Q.current.set(t, e);
100
- Z.current && !Z.current.isDestroyed && Ee(Z.current, n, t);
99
+ for (let { file: e, src: t } of n) Mt.current.set(t, e);
100
+ Q.current && !Q.current.isDestroyed && xe(Q.current, n, t);
101
101
  }, It = async (t) => {
102
102
  let n = M;
103
- for (let [e, r] of Q.current) if (M.includes(e)) try {
104
- let i = await Oe(m, t, r);
105
- n = n.replaceAll(`(${e})`, `(${Te}${i.id})`);
103
+ for (let [e, r] of Mt.current) if (M.includes(e)) try {
104
+ let i = await Ce(m, t, r);
105
+ n = n.replaceAll(`(${e})`, `(${be}${i.id})`);
106
106
  } catch (t) {
107
- n = ke(n, e), Be.error(k("attachFailed", {
107
+ n = Ne(n, e), Be.error(k("attachFailed", {
108
108
  name: r.name,
109
109
  reason: ot(t)
110
110
  }));
@@ -117,33 +117,33 @@ function m({ workspace: m, defaultTeam: h, defaultTitle: Je = "", defaultBody: g
117
117
  body: { body: n }
118
118
  });
119
119
  }, Lt = async (n, r) => {
120
- if (!C) return !1;
120
+ if (!w) return !1;
121
121
  Et(null);
122
- let i = [...Q.current.keys()].filter((e) => M.includes(e));
122
+ let i = [...Mt.current.keys()].filter((e) => M.includes(e));
123
123
  try {
124
124
  let a = t(await e.POST("/api/v1/workspaces/{workspace}/teams/{key}/issues", {
125
125
  params: { path: {
126
126
  workspace: m,
127
- key: C
127
+ key: w
128
128
  } },
129
129
  body: {
130
130
  title: n,
131
- body: i.reduce(ke, M),
131
+ body: i.reduce(Ne, M),
132
132
  priority: P,
133
- ...X && { statusId: X.id },
134
- assignees: B.map(Se),
133
+ ...Z && { statusId: Z.id },
134
+ assignees: B.map(ve),
135
135
  labelIds: V,
136
136
  ...q && { typeId: q.id },
137
137
  ...Object.values(H).some(o) && { fields: Object.fromEntries(Object.entries(H).filter(([, e]) => o(e))) },
138
- ...F && ve(z).includes(F) && { estimate: F },
138
+ ...F && me(z).includes(F) && { estimate: F },
139
139
  ...I && { dueDate: I },
140
140
  ...L && { cycleId: L },
141
- ...(!h || C === h) && _ && { area: _ },
142
- ...(!h || C === h) && v && { origin: v },
143
- ...(!h || C === h) && y.projectId && { projectId: y.projectId }
141
+ ...(!h || w === h) && _ && { area: _ },
142
+ ...(!h || w === h) && v && { origin: v },
143
+ ...(!h || w === h) && y.projectId && { projectId: y.projectId }
144
144
  }
145
145
  }));
146
- return i.length > 0 && await It(a.identifier), ge(Dt, m, a.identifier), Ye?.(a), r && Ot({
146
+ return i.length > 0 && await It(a.identifier), ne(Dt, m, a.identifier), Ye?.(a), r && Ot({
147
147
  to: "/$workspace/issues/$identifier",
148
148
  params: {
149
149
  workspace: m,
@@ -168,22 +168,22 @@ function m({ workspace: m, defaultTeam: h, defaultTitle: Je = "", defaultBody: g
168
168
  children: j && /* @__PURE__ */ d(Pe, {
169
169
  workspace: m,
170
170
  autoFocus: !0,
171
- onCreated: (e) => Qe(e.key)
171
+ onCreated: (e) => Ze(e.key)
172
172
  })
173
173
  });
174
- let Rt = x.find((e) => e.key === C);
174
+ let Rt = x.find((e) => e.key === w);
175
175
  return /* @__PURE__ */ f(Ue, { children: [/* @__PURE__ */ d(Ie, {
176
176
  open: !0,
177
- onClose: Mt,
177
+ onClose: jt,
178
178
  size: "xl",
179
- typeIcon: /* @__PURE__ */ d(le, { className: "size-3.5" }),
179
+ typeIcon: /* @__PURE__ */ d(se, { className: "size-3.5" }),
180
180
  typeLabel: Rt?.name ?? "",
181
181
  typeMenu: x.map((e) => ({
182
182
  label: e.name,
183
183
  hint: e.key,
184
- checked: e.key === C,
184
+ checked: e.key === w,
185
185
  onClick: () => {
186
- Qe(e.key), lt(null), et(null), U({}), G(null), pt("");
186
+ Ze(e.key), lt(null), et(null), U({}), G(null), pt("");
187
187
  }
188
188
  })),
189
189
  typeMenuSearch: {
@@ -198,20 +198,20 @@ function m({ workspace: m, defaultTeam: h, defaultTitle: Je = "", defaultBody: g
198
198
  submitLabel: k("create"),
199
199
  descriptionField: /* @__PURE__ */ f("div", {
200
200
  className: "min-h-24 pb-2",
201
- children: [/* @__PURE__ */ d(Ne, {
201
+ children: [/* @__PURE__ */ d(Me, {
202
202
  value: M,
203
203
  onChange: N,
204
204
  onFiles: (e, t) => void Ft(e, t),
205
205
  onEditor: (e) => {
206
- Z.current = e;
206
+ Q.current = e;
207
207
  },
208
208
  onSubmit: () => {},
209
209
  placeholder: k("descriptionPlaceholder"),
210
210
  label: A("description"),
211
211
  className: "min-h-24"
212
- }), /* @__PURE__ */ d(Me, {
212
+ }), /* @__PURE__ */ d(ke, {
213
213
  workspace: m,
214
- teamId: x.find((e) => e.key === C)?.id,
214
+ teamId: x.find((e) => e.key === w)?.id,
215
215
  typeId: W,
216
216
  values: H,
217
217
  onChange: U
@@ -228,7 +228,7 @@ function m({ workspace: m, defaultTeam: h, defaultTitle: Je = "", defaultBody: g
228
228
  items: T.map((e) => ({
229
229
  value: e.id,
230
230
  label: e.name,
231
- icon: /* @__PURE__ */ d(ce, { className: "size-3.5 text-muted-foreground" })
231
+ icon: /* @__PURE__ */ d(oe, { className: "size-3.5 text-muted-foreground" })
232
232
  })),
233
233
  value: E,
234
234
  onValueChange: (e) => {
@@ -239,7 +239,7 @@ function m({ workspace: m, defaultTeam: h, defaultTitle: Je = "", defaultBody: g
239
239
  trigger: /* @__PURE__ */ f("button", {
240
240
  type: "button",
241
241
  className: $,
242
- children: [/* @__PURE__ */ d(ce, { className: "size-3.5" }), tt?.name ?? rt("choose")]
242
+ children: [/* @__PURE__ */ d(oe, { className: "size-3.5" }), tt?.name ?? rt("choose")]
243
243
  })
244
244
  }),
245
245
  K.length > 0 && /* @__PURE__ */ d(s, {
@@ -248,7 +248,7 @@ function m({ workspace: m, defaultTeam: h, defaultTitle: Je = "", defaultBody: g
248
248
  items: K.map((e) => ({
249
249
  value: e.id,
250
250
  label: e.name,
251
- icon: /* @__PURE__ */ d(he, {
251
+ icon: /* @__PURE__ */ d(Oe, {
252
252
  type: e,
253
253
  className: "size-3.5"
254
254
  })
@@ -262,7 +262,7 @@ function m({ workspace: m, defaultTeam: h, defaultTitle: Je = "", defaultBody: g
262
262
  trigger: /* @__PURE__ */ f("button", {
263
263
  type: "button",
264
264
  className: $,
265
- children: [q && /* @__PURE__ */ d(he, {
265
+ children: [q && /* @__PURE__ */ d(Oe, {
266
266
  type: q,
267
267
  className: "size-3.5"
268
268
  }), q?.name ?? St("type")]
@@ -271,18 +271,18 @@ function m({ workspace: m, defaultTeam: h, defaultTitle: Je = "", defaultBody: g
271
271
  /* @__PURE__ */ d(s, {
272
272
  open: J === "status",
273
273
  onOpenChange: (e) => Y(e ? "status" : null),
274
- items: w.map((e) => ({
274
+ items: Qe.map((e) => ({
275
275
  value: e.id,
276
276
  label: e.name,
277
- icon: /* @__PURE__ */ d(de, { category: e.category })
277
+ icon: /* @__PURE__ */ d(le, { category: e.category })
278
278
  })),
279
- value: X?.id ?? null,
279
+ value: Z?.id ?? null,
280
280
  onValueChange: (e) => e !== null && lt(e),
281
281
  placeholder: k("changeStatus"),
282
282
  trigger: /* @__PURE__ */ f("button", {
283
283
  type: "button",
284
284
  className: $,
285
- children: [X && /* @__PURE__ */ d(de, { category: X.category }), X?.name ?? A("status")]
285
+ children: [Z && /* @__PURE__ */ d(le, { category: Z.category }), Z?.name ?? A("status")]
286
286
  })
287
287
  }),
288
288
  /* @__PURE__ */ d(s, {
@@ -297,7 +297,7 @@ function m({ workspace: m, defaultTeam: h, defaultTitle: Je = "", defaultBody: g
297
297
  ].map((e) => ({
298
298
  value: String(e),
299
299
  label: at[e] ?? "",
300
- icon: /* @__PURE__ */ d(ue, { priority: e })
300
+ icon: /* @__PURE__ */ d(ce, { priority: e })
301
301
  })),
302
302
  value: String(P),
303
303
  onValueChange: (e) => e !== null && ut(Number(e)),
@@ -305,7 +305,7 @@ function m({ workspace: m, defaultTeam: h, defaultTitle: Je = "", defaultBody: g
305
305
  trigger: /* @__PURE__ */ f("button", {
306
306
  type: "button",
307
307
  className: $,
308
- children: [/* @__PURE__ */ d(ue, { priority: P }), P ? at[P] : A("priority")]
308
+ children: [/* @__PURE__ */ d(ce, { priority: P }), P ? at[P] : A("priority")]
309
309
  })
310
310
  }),
311
311
  /* @__PURE__ */ d(s, {
@@ -321,7 +321,7 @@ function m({ workspace: m, defaultTeam: h, defaultTitle: Je = "", defaultBody: g
321
321
  trigger: /* @__PURE__ */ f("button", {
322
322
  type: "button",
323
323
  className: $,
324
- children: [/* @__PURE__ */ d(pe, { className: "size-3.5" }), B.length ? k("assignedCount", { count: B.length }) : A("assignee")]
324
+ children: [/* @__PURE__ */ d(de, { className: "size-3.5" }), B.length ? k("assignedCount", { count: B.length }) : A("assignee")]
325
325
  })
326
326
  }),
327
327
  /* @__PURE__ */ d(s, {
@@ -333,7 +333,7 @@ function m({ workspace: m, defaultTeam: h, defaultTitle: Je = "", defaultBody: g
333
333
  label: e.name,
334
334
  icon: /* @__PURE__ */ f("span", {
335
335
  className: "flex items-center gap-2",
336
- children: [/* @__PURE__ */ d(be, {}), /* @__PURE__ */ d("span", {
336
+ children: [/* @__PURE__ */ d(ge, {}), /* @__PURE__ */ d("span", {
337
337
  className: "size-2.5 rounded-full",
338
338
  style: { background: e.color }
339
339
  })]
@@ -347,13 +347,13 @@ function m({ workspace: m, defaultTeam: h, defaultTitle: Je = "", defaultBody: g
347
347
  trigger: /* @__PURE__ */ f("button", {
348
348
  type: "button",
349
349
  className: $,
350
- children: [/* @__PURE__ */ d(fe, { className: "size-3.5" }), V.length ? k("labelCount", { count: V.length }) : A("labels")]
350
+ children: [/* @__PURE__ */ d(ue, { className: "size-3.5" }), V.length ? k("labelCount", { count: V.length }) : A("labels")]
351
351
  })
352
352
  }),
353
353
  z !== "none" && /* @__PURE__ */ d(s, {
354
354
  open: J === "estimate",
355
355
  onOpenChange: (e) => Y(e ? "estimate" : null),
356
- items: [0, ...ve(z)].map((e) => ({
356
+ items: [0, ...me(z)].map((e) => ({
357
357
  value: String(e),
358
358
  label: e ? mt(e, z) : R("noEstimate")
359
359
  })),
@@ -363,7 +363,7 @@ function m({ workspace: m, defaultTeam: h, defaultTitle: Je = "", defaultBody: g
363
363
  trigger: /* @__PURE__ */ f("button", {
364
364
  type: "button",
365
365
  className: $,
366
- children: [/* @__PURE__ */ d(se, { className: "size-3.5" }), F ? mt(F, z) : R("estimate")]
366
+ children: [/* @__PURE__ */ d(ae, { className: "size-3.5" }), F ? mt(F, z) : R("estimate")]
367
367
  })
368
368
  }),
369
369
  Rt?.cyclesEnabled && /* @__PURE__ */ d(s, {
@@ -386,7 +386,7 @@ function m({ workspace: m, defaultTeam: h, defaultTitle: Je = "", defaultBody: g
386
386
  trigger: /* @__PURE__ */ f("button", {
387
387
  type: "button",
388
388
  className: $,
389
- children: [/* @__PURE__ */ d(oe, { className: "size-3.5" }), _t ? vt(_t) : R("cycleLabel")]
389
+ children: [/* @__PURE__ */ d(ie, { className: "size-3.5" }), _t ? vt(_t) : R("cycleLabel")]
390
390
  })
391
391
  }),
392
392
  /* @__PURE__ */ d(Le, {
@@ -396,7 +396,7 @@ function m({ workspace: m, defaultTeam: h, defaultTitle: Je = "", defaultBody: g
396
396
  trigger: /* @__PURE__ */ f("button", {
397
397
  type: "button",
398
398
  className: $,
399
- children: [/* @__PURE__ */ d(ae, { className: "size-3.5" }), I ? R("dueOn", { date: ht.day(I) }) : R("dueDate")]
399
+ children: [/* @__PURE__ */ d(re, { className: "size-3.5" }), I ? R("dueOn", { date: ht.day(I) }) : R("dueDate")]
400
400
  })
401
401
  }),
402
402
  /* @__PURE__ */ d(Ae, { onFiles: (e) => void Ft(e) })