@parallelworks/tandem-web 0.171.0 → 0.171.2

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 (170) hide show
  1. package/_virtual/_virtual_i18n/en/common.js +1 -0
  2. package/_virtual/_virtual_i18n/es/common.js +1 -0
  3. package/_virtual/_virtual_i18n/ja/common.js +1 -0
  4. package/_virtual/_virtual_i18n/ko/common.js +1 -0
  5. package/_virtual/_virtual_i18n/zh/common.js +1 -0
  6. package/components/AccessGrants.js +6 -6
  7. package/components/ActivityTimeline.js +57 -57
  8. package/components/ActorAvatar.js +4 -4
  9. package/components/AgentWork.js +494 -494
  10. package/components/AppLauncher.js +7 -7
  11. package/components/AreaLink.js +13 -13
  12. package/components/AreaTiles.js +13 -13
  13. package/components/AreaWork.js +22 -22
  14. package/components/Attachments.js +29 -29
  15. package/components/BlockHandle.js +3 -3
  16. package/components/BugRotation.js +8 -8
  17. package/components/CodeHostSettings.js +38 -38
  18. package/components/CollabEditor.js +13 -13
  19. package/components/CommandPalette.js +206 -206
  20. package/components/CustomFields.js +95 -95
  21. package/components/CustomerRequests.js +11 -11
  22. package/components/DashboardPanel.js +23 -23
  23. package/components/DateChip.js +21 -21
  24. package/components/DocHistory.js +14 -14
  25. package/components/DocIcon.js +4 -4
  26. package/components/DocIconPicker.js +4 -4
  27. package/components/DocLinkPicker.js +22 -22
  28. package/components/DocLook.js +16 -16
  29. package/components/DocProperties.js +81 -81
  30. package/components/DocTable.js +53 -53
  31. package/components/DocsTree.js +179 -179
  32. package/components/Editor.js +69 -69
  33. package/components/FavoritesNav.js +78 -78
  34. package/components/GitHub.js +87 -87
  35. package/components/Graph.js +14 -14
  36. package/components/HostActions.js +21 -21
  37. package/components/HostPanel.js +6 -6
  38. package/components/HoverCards.js +74 -74
  39. package/components/IssueBoard.js +13 -10
  40. package/components/IssueBreakdown.js +31 -31
  41. package/components/IssueCode.js +19 -19
  42. package/components/IssueEvent.js +12 -12
  43. package/components/IssueFilters.js +103 -99
  44. package/components/IssueGroup.js +16 -16
  45. package/components/IssueImport.js +13 -13
  46. package/components/IssueInsights.js +20 -20
  47. package/components/IssueListBlock.js +81 -81
  48. package/components/IssueRelations.js +34 -34
  49. package/components/IssueRow.js +31 -31
  50. package/components/IssueSentry.js +4 -4
  51. package/components/IssueTemplates.js +23 -23
  52. package/components/IssueTypes.js +40 -40
  53. package/components/MarkdownTransfer.js +10 -10
  54. package/components/MentionPicker.js +19 -19
  55. package/components/NewIssueDialog.js +53 -53
  56. package/components/NewProjectDialog.js +82 -82
  57. package/components/PersonActivity.js +13 -13
  58. package/components/PersonHoverCard.js +44 -44
  59. package/components/Planning.js +16 -16
  60. package/components/Reports.js +8 -8
  61. package/components/SettingsNav.js +15 -15
  62. package/components/ShareDialog.js +8 -8
  63. package/components/SharedViewer.js +23 -23
  64. package/components/SlashMenu.js +26 -26
  65. package/components/SubPages.js +10 -10
  66. package/components/TeamForm.js +9 -9
  67. package/components/TeamRepositories.js +21 -21
  68. package/components/TeamWorkflow.js +6 -6
  69. package/components/UnlinkedMentions.js +29 -29
  70. package/components/Updates.js +8 -8
  71. package/components/Widgets.js +4 -4
  72. package/components/WorkCounts.js +12 -12
  73. package/components/cycleCrumb.js +8 -8
  74. package/components/editorPlugins.js +101 -101
  75. package/components/settings.js +6 -6
  76. package/components/video.js +7 -7
  77. package/hostedApp.js +24 -24
  78. package/index.js +18 -18
  79. package/lib/assigneeOrder.js +6 -0
  80. package/lib/assignees.js +24 -20
  81. package/lib/attachments.js +12 -12
  82. package/lib/boardMove.js +27 -27
  83. package/lib/collab.js +1 -1
  84. package/lib/docs.js +115 -115
  85. package/lib/githubLink.js +7 -7
  86. package/lib/issueList.js +51 -51
  87. package/lib/issueMenu.js +117 -117
  88. package/lib/knowledge.js +134 -134
  89. package/lib/live.js +38 -38
  90. package/lib/notifications.js +47 -47
  91. package/lib/views.js +31 -31
  92. package/package.json +24 -24
  93. package/pages/area.js +64 -64
  94. package/pages/areas.js +199 -199
  95. package/pages/decisions.js +51 -51
  96. package/pages/issues.js +120 -120
  97. package/pages/projects.js +238 -238
  98. package/pages/triage.js +109 -109
  99. package/routes/_workspace/agents/_slug2.js +127 -127
  100. package/routes/_workspace/agents/index2.js +22 -22
  101. package/routes/_workspace/dashboards/_dashboardId2.js +84 -84
  102. package/routes/_workspace/dashboards/index2.js +34 -34
  103. package/routes/_workspace/docs/_doc2.js +267 -267
  104. package/routes/_workspace/docs/space2._space.js +31 -31
  105. package/routes/_workspace/docs2.js +4 -4
  106. package/routes/_workspace/graph2.js +11 -11
  107. package/routes/_workspace/graph3.js +11 -11
  108. package/routes/_workspace/issues/_identifier2.js +477 -477
  109. package/routes/_workspace/issues/index.js +13 -13
  110. package/routes/_workspace/knowledge/_term2.js +175 -175
  111. package/routes/_workspace/knowledge/_term3.js +4 -4
  112. package/routes/_workspace/knowledge/index.js +12 -12
  113. package/routes/_workspace/knowledge/index2.js +117 -117
  114. package/routes/_workspace/measures2.js +8 -8
  115. package/routes/_workspace/measures3.js +29 -29
  116. package/routes/_workspace/notifications2.js +263 -263
  117. package/routes/_workspace/people/_username.js +10 -10
  118. package/routes/_workspace/people/_username2.js +41 -41
  119. package/routes/_workspace/projects/_projectId3.js +303 -303
  120. package/routes/_workspace/projects/_projectId4.js +4 -4
  121. package/routes/_workspace/projects/_projectId_3.milestones._milestoneId.js +28 -28
  122. package/routes/_workspace/projects/_projectId_4.milestones._milestoneId.js +4 -4
  123. package/routes/_workspace/projects/index.js +8 -8
  124. package/routes/_workspace/settings/account2.js +8 -8
  125. package/routes/_workspace/settings/audit-log2.js +8 -8
  126. package/routes/_workspace/settings/audit-log3.js +155 -155
  127. package/routes/_workspace/settings/connections2.js +4 -4
  128. package/routes/_workspace/settings/fields2.js +5 -5
  129. package/routes/_workspace/settings/github2.js +11 -11
  130. package/routes/_workspace/settings/gitlab2.js +5 -5
  131. package/routes/_workspace/settings/groups2.js +52 -52
  132. package/routes/_workspace/settings/import2.js +39 -39
  133. package/routes/_workspace/settings/index2.js +5 -5
  134. package/routes/_workspace/settings/intercom2.js +11 -11
  135. package/routes/_workspace/settings/labels2.js +33 -33
  136. package/routes/_workspace/settings/members2.js +81 -81
  137. package/routes/_workspace/settings/notifications2.js +46 -46
  138. package/routes/_workspace/settings/parallelworks2.js +20 -20
  139. package/routes/_workspace/settings/roles2.js +41 -41
  140. package/routes/_workspace/settings/runners2.js +15 -15
  141. package/routes/_workspace/settings/sentry2.js +15 -15
  142. package/routes/_workspace/settings/sessions2.js +9 -9
  143. package/routes/_workspace/settings/sessions3.js +4 -4
  144. package/routes/_workspace/settings/slack2.js +12 -12
  145. package/routes/_workspace/settings/sso2.js +37 -37
  146. package/routes/_workspace/settings/sso3.js +7 -7
  147. package/routes/_workspace/settings/teams2.js +29 -29
  148. package/routes/_workspace/settings/tokens2.js +32 -32
  149. package/routes/_workspace/settings/tokens3.js +4 -4
  150. package/routes/_workspace/settings/webhooks2.js +41 -41
  151. package/routes/_workspace/settings/zendesk2.js +11 -11
  152. package/routes/_workspace/teams/_key/cycles/_number2.js +33 -33
  153. package/routes/_workspace/teams/_key/cycles/_number3.js +7 -7
  154. package/routes/_workspace/teams/_key/cycles/index2.js +37 -37
  155. package/routes/_workspace/teams/_key/issues.js +10 -10
  156. package/routes/_workspace/teams/_key/projects.js +6 -6
  157. package/routes/_workspace/teams/_key/settings2.js +396 -396
  158. package/routes/_workspace2.js +308 -308
  159. package/routes/_workspace3.js +8 -8
  160. package/routes/device2.js +4 -4
  161. package/routes/device3.js +4 -4
  162. package/routes/docs/_tag/_endpoint2.js +3 -3
  163. package/routes/docs/_tag/index2.js +3 -3
  164. package/routes/docs/route2.js +7 -7
  165. package/routes/index2.js +5 -5
  166. package/routes/login2.js +10 -10
  167. package/routes/new2.js +12 -12
  168. package/routes/new3.js +5 -5
  169. package/routes/request2._token.js +6 -6
  170. package/routes/share2._secret.js +4 -4
@@ -1,22 +1,22 @@
1
1
  import { api as e, unwrap as t } from "../api/client.js";
2
- import { useNavigate as n } from "../lib/router.js";
3
- import { cyclesQuery as r, issueTemplatesQuery as i, labelsQuery as a, myTeamsQuery as ee, statusesQuery as te, teamsQuery as ne } from "../api/queries.js";
4
- import { invalidateIssueViews as re } from "../api/mutations.js";
5
- import { CalendarIcon as ie, CycleIcon as ae, EstimateIcon as oe, FileTextIcon as se, FolderIcon as ce, PriorityIcon as le, StatusIcon as ue, TagIcon as de, UserIcon as fe, usePriorityNames as pe } from "./icons.js";
6
- import { useTime as me } from "../lib/time.js";
7
- import { scalePoints as he, useEstimateLabel as ge } from "./Planning.js";
8
- import { PickManyBox as _e, usePickMany as ve } from "../lib/pickMany.js";
9
- import { parseAssigneeKey as ye, useAssigneeOptions as be } from "../lib/assignees.js";
10
- import { attachmentPrefix as xe, insertPreviews as Se, readDataURL as Ce, uploadAttachment as we } from "../lib/attachments.js";
11
- import { useCan as Te } from "../lib/roles.js";
2
+ import { invalidateIssueViews as n } from "../api/mutations.js";
3
+ import { cyclesQuery as r, issueTemplatesQuery as i, labelsQuery as ee, myTeamsQuery as a, statusesQuery as te, teamsQuery as ne } from "../api/queries.js";
4
+ import { parseAssigneeKey as re, useAssigneeOptions as ie } from "../lib/assignees.js";
5
+ import { attachmentPrefix as ae, insertPreviews as oe, readDataURL as se, uploadAttachment as ce } from "../lib/attachments.js";
6
+ import { useConfirm as le } from "../lib/confirm.js";
12
7
  import { hasValue as o } from "../lib/customFields.js";
13
- import { useConfirm as Ee } from "../lib/confirm.js";
14
- import { issueTypesQuery as De, typesFor as Oe } from "../lib/issueTypes.js";
15
- import { TypeIcon as ke } from "./IssueTypes.js";
16
- import { NewIssueFields as Ae } from "./CustomFields.js";
17
- import { AttachButton as je, useAttachmentsOn as Me } from "./Attachments.js";
18
- import { Editor as Ne } from "./Editor.js";
19
- import { withoutLink as Pe } from "../lib/markdownLinks.js";
8
+ import { issueTypesQuery as ue, typesFor as de } from "../lib/issueTypes.js";
9
+ import { withoutLink as fe } from "../lib/markdownLinks.js";
10
+ import { PickManyBox as pe, usePickMany as me } from "../lib/pickMany.js";
11
+ import { useCan as he } from "../lib/roles.js";
12
+ import { useNavigate as ge } from "../lib/router.js";
13
+ import { useTime as _e } from "../lib/time.js";
14
+ import { AttachButton as ve, useAttachmentsOn as ye } from "./Attachments.js";
15
+ import { NewIssueFields as be } from "./CustomFields.js";
16
+ import { Editor as xe } from "./Editor.js";
17
+ import { TypeIcon as Se } from "./IssueTypes.js";
18
+ import { CalendarIcon as Ce, CycleIcon as we, EstimateIcon as Te, FileTextIcon as Ee, FolderIcon as De, PriorityIcon as Oe, StatusIcon as ke, TagIcon as Ae, UserIcon as je, usePriorityNames as Me } from "./icons.js";
19
+ import { scalePoints as Ne, useEstimateLabel as Pe } from "./Planning.js";
20
20
  import { TeamForm as Fe } from "./TeamForm.js";
21
21
  import { Button as Ie, Combobox as s, CreateModal as Le, DatePicker as Re, Modal as ze, buttonClasses as Be, toast as Ve } from "@parallelworks/ui";
22
22
  import { useEffect as He, useRef as c, useState as l } from "react";
@@ -26,19 +26,19 @@ import { Fragment as We, jsx as d, jsxs as f } from "react/jsx-runtime";
26
26
  import { useQuery as p, useQueryClient as Ge, useSuspenseQuery as Ke } from "@tanstack/react-query";
27
27
  // src/components/NewIssueDialog.tsx
28
28
  function m({ workspace: m, defaultTeam: h, defaultTitle: Ye = "", defaultBody: g = "", defaultArea: _, origin: v, defaults: y = {}, onCreated: Xe, onClose: b }) {
29
- let { data: Ze } = Ke(ee(m)), { data: Qe = [] } = p(ne(m)), $e = h && !Ze.some((e) => e.key === h) ? Qe.find((e) => e.key === h) : void 0, x = [...Ze, ...$e ? [$e] : []].filter((e) => !e.archivedAt), S = !Ye && !g && !_ && !v && Object.keys(y).length === 0, [C] = l(() => S ? qe(m) : void 0), [w, et] = l(h ?? x.find((e) => e.key === C?.team)?.key ?? x[0]?.key ?? ""), { data: T = [] } = p({
29
+ let { data: Ze } = Ke(a(m)), { data: Qe = [] } = p(ne(m)), $e = h && !Ze.some((e) => e.key === h) ? Qe.find((e) => e.key === h) : void 0, x = [...Ze, ...$e ? [$e] : []].filter((e) => !e.archivedAt), S = !Ye && !g && !_ && !v && Object.keys(y).length === 0, [C] = l(() => S ? qe(m) : void 0), [w, et] = l(h ?? x.find((e) => e.key === C?.team)?.key ?? x[0]?.key ?? ""), { data: T = [] } = p({
30
30
  ...te(m, w),
31
31
  enabled: !!w
32
- }), { data: tt = [] } = p(a(m)), { data: E = [] } = p({
32
+ }), { data: tt = [] } = p(ee(m)), { data: E = [] } = p({
33
33
  ...i(m, w),
34
34
  enabled: !!w
35
- }), [D, nt] = l(null), rt = E.find((e) => e.id === D), [O, it] = l(Ye || C?.title || ""), k = c(O), at = u("issueTemplates"), ot = be(m, !0), st = pe(), A = u("newIssue"), ct = Ue(), j = u("common"), M = Te(m, "manage_teams"), [N, P] = l(g || C?.body || ""), lt = c(N), [ut, dt] = l(y.statusId ?? null), [F, ft] = l(y.priority ?? 0), [I, pt] = l(0), [L, mt] = l(""), [R, ht] = l(y.cycleId ?? ""), z = u("planning"), gt = ge(), _t = me(), { data: vt = [] } = p({
35
+ }), [D, nt] = l(null), rt = E.find((e) => e.id === D), [O, it] = l(Ye || C?.title || ""), k = c(O), at = u("issueTemplates"), ot = ie(m, !0), st = Me(), A = u("newIssue"), ct = Ue(), j = u("common"), M = he(m, "manage_teams"), [N, P] = l(g || C?.body || ""), lt = c(N), [ut, dt] = l(y.statusId ?? null), [F, ft] = l(y.priority ?? 0), [I, pt] = l(0), [L, mt] = l(""), [R, ht] = l(y.cycleId ?? ""), z = u("planning"), gt = Pe(), _t = _e(), { data: vt = [] } = p({
36
36
  ...r(m, w),
37
37
  enabled: !!x.find((e) => e.key === w)?.cyclesEnabled
38
38
  }), yt = vt.find((e) => e.id === R), bt = (e) => e.name ? z("cycleNamed", {
39
39
  number: e.number,
40
40
  name: e.name
41
- }) : z("cycle", { number: e.number }), B = x.find((e) => e.key === w)?.estimateScale ?? "none", [V, xt] = l(y.assignees ?? []), [H, St] = l(y.labelIds ?? []), [U, W] = l({}), [G, Ct] = l(null), { data: wt } = p(De(m)), K = Oe(wt, x.find((e) => e.key === w)?.id), q = K.find((e) => e.id === G), Tt = u("issueTypes"), [J, Y] = l(null), Et = ve(J === "assignees", () => Y(null)), Dt = ve(J === "labels", () => Y(null)), [Ot, kt] = l(null), At = Ge(), jt = n(), { confirm: Mt, dialog: Nt } = Ee(), Pt = c(!1);
41
+ }) : z("cycle", { number: e.number }), B = x.find((e) => e.key === w)?.estimateScale ?? "none", [V, xt] = l(y.assignees ?? []), [H, St] = l(y.labelIds ?? []), [U, W] = l({}), [G, Ct] = l(null), { data: wt } = p(ue(m)), K = de(wt, x.find((e) => e.key === w)?.id), q = K.find((e) => e.id === G), Tt = u("issueTypes"), [J, Y] = l(null), Et = me(J === "assignees", () => Y(null)), Dt = me(J === "labels", () => Y(null)), [Ot, kt] = l(null), At = Ge(), jt = ge(), { confirm: Mt, dialog: Nt } = le(), Pt = c(!1);
42
42
  He(() => {
43
43
  let e = () => {
44
44
  S && Je(m, {
@@ -87,24 +87,24 @@ function m({ workspace: m, defaultTeam: h, defaultTitle: Ye = "", defaultBody: g
87
87
  title: "",
88
88
  body: ""
89
89
  }), b();
90
- }, X = T.find((e) => e.id === ut) ?? T.find((e) => e.category === "unstarted"), Z = c(null), Q = c(/* @__PURE__ */ new Map()), It = Me(), Lt = u("issue.attachments"), Rt = async (e, t) => {
90
+ }, X = T.find((e) => e.id === ut) ?? T.find((e) => e.category === "unstarted"), Z = c(null), Q = c(/* @__PURE__ */ new Map()), It = ye(), Lt = u("issue.attachments"), Rt = async (e, t) => {
91
91
  if (!It) {
92
92
  Ve.error(Lt("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 Ce(e)
97
+ src: await se(e)
98
98
  })));
99
99
  for (let { file: e, src: t } of n) Q.current.set(t, e);
100
- Z.current && !Z.current.isDestroyed && Se(Z.current, n, t);
100
+ Z.current && !Z.current.isDestroyed && oe(Z.current, n, t);
101
101
  }, zt = async (t) => {
102
102
  let n = N;
103
103
  for (let [e, r] of Q.current) if (N.includes(e)) try {
104
- let i = await we(m, t, r);
105
- n = n.replaceAll(`(${e})`, `(${xe}${i.id})`);
104
+ let i = await ce(m, t, r);
105
+ n = n.replaceAll(`(${e})`, `(${ae}${i.id})`);
106
106
  } catch (t) {
107
- n = Pe(n, e), Ve.error(A("attachFailed", {
107
+ n = fe(n, e), Ve.error(A("attachFailed", {
108
108
  name: r.name,
109
109
  reason: ct(t)
110
110
  }));
@@ -116,10 +116,10 @@ function m({ workspace: m, defaultTeam: h, defaultTitle: Ye = "", defaultBody: g
116
116
  } },
117
117
  body: { body: n }
118
118
  });
119
- }, Bt = async (n, r) => {
119
+ }, Bt = async (r, i) => {
120
120
  if (!w) return !1;
121
121
  kt(null);
122
- let i = [...Q.current.keys()].filter((e) => N.includes(e));
122
+ let ee = [...Q.current.keys()].filter((e) => N.includes(e));
123
123
  try {
124
124
  let a = t(await e.POST("/api/v1/workspaces/{workspace}/teams/{key}/issues", {
125
125
  params: { path: {
@@ -127,15 +127,15 @@ function m({ workspace: m, defaultTeam: h, defaultTitle: Ye = "", defaultBody: g
127
127
  key: w
128
128
  } },
129
129
  body: {
130
- title: n,
131
- body: i.reduce(Pe, N),
130
+ title: r,
131
+ body: ee.reduce(fe, N),
132
132
  priority: F,
133
133
  ...X && { statusId: X.id },
134
- assignees: V.map(ye),
134
+ assignees: V.map(re),
135
135
  labelIds: H,
136
136
  ...q && { typeId: q.id },
137
137
  ...Object.values(U).some(o) && { fields: Object.fromEntries(Object.entries(U).filter(([, e]) => o(e))) },
138
- ...I && he(B).includes(I) && { estimate: I },
138
+ ...I && Ne(B).includes(I) && { estimate: I },
139
139
  ...L && { dueDate: L },
140
140
  ...R && { cycleId: R },
141
141
  ...(!h || w === h) && _ && { area: _ },
@@ -143,7 +143,7 @@ function m({ workspace: m, defaultTeam: h, defaultTitle: Ye = "", defaultBody: g
143
143
  ...(!h || w === h) && y.projectId && { projectId: y.projectId }
144
144
  }
145
145
  }));
146
- return i.length > 0 && await zt(a.identifier), re(At, m, a.identifier), Xe?.(a), r && jt({
146
+ return ee.length > 0 && await zt(a.identifier), n(At, m, a.identifier), Xe?.(a), i && jt({
147
147
  to: "/$workspace/issues/$identifier",
148
148
  params: {
149
149
  workspace: m,
@@ -176,7 +176,7 @@ function m({ workspace: m, defaultTeam: h, defaultTitle: Ye = "", defaultBody: g
176
176
  open: !0,
177
177
  onClose: Ft,
178
178
  size: "xl",
179
- typeIcon: /* @__PURE__ */ d(ce, { className: "size-3.5" }),
179
+ typeIcon: /* @__PURE__ */ d(De, { className: "size-3.5" }),
180
180
  typeLabel: Vt?.name ?? "",
181
181
  typeMenu: x.map((e) => ({
182
182
  label: e.name,
@@ -198,7 +198,7 @@ function m({ workspace: m, defaultTeam: h, defaultTitle: Ye = "", defaultBody: g
198
198
  submitLabel: A("create"),
199
199
  descriptionField: /* @__PURE__ */ f("div", {
200
200
  className: "min-h-24 pb-2",
201
- children: [/* @__PURE__ */ d(Ne, {
201
+ children: [/* @__PURE__ */ d(xe, {
202
202
  value: N,
203
203
  onChange: P,
204
204
  onFiles: (e, t) => void Rt(e, t),
@@ -209,7 +209,7 @@ function m({ workspace: m, defaultTeam: h, defaultTitle: Ye = "", defaultBody: g
209
209
  placeholder: A("descriptionPlaceholder"),
210
210
  label: j("description"),
211
211
  className: "min-h-24"
212
- }), /* @__PURE__ */ d(Ae, {
212
+ }), /* @__PURE__ */ d(be, {
213
213
  workspace: m,
214
214
  teamId: x.find((e) => e.key === w)?.id,
215
215
  typeId: G,
@@ -228,7 +228,7 @@ function m({ workspace: m, defaultTeam: h, defaultTitle: Ye = "", defaultBody: g
228
228
  items: E.map((e) => ({
229
229
  value: e.id,
230
230
  label: e.name,
231
- icon: /* @__PURE__ */ d(se, { className: "size-3.5 text-muted-foreground" })
231
+ icon: /* @__PURE__ */ d(Ee, { className: "size-3.5 text-muted-foreground" })
232
232
  })),
233
233
  value: D,
234
234
  onValueChange: (e) => {
@@ -239,7 +239,7 @@ function m({ workspace: m, defaultTeam: h, defaultTitle: Ye = "", defaultBody: g
239
239
  trigger: /* @__PURE__ */ f("button", {
240
240
  type: "button",
241
241
  className: $,
242
- children: [/* @__PURE__ */ d(se, { className: "size-3.5" }), rt?.name ?? at("choose")]
242
+ children: [/* @__PURE__ */ d(Ee, { className: "size-3.5" }), rt?.name ?? at("choose")]
243
243
  })
244
244
  }),
245
245
  K.length > 0 && /* @__PURE__ */ d(s, {
@@ -248,7 +248,7 @@ function m({ workspace: m, defaultTeam: h, defaultTitle: Ye = "", defaultBody: g
248
248
  items: K.map((e) => ({
249
249
  value: e.id,
250
250
  label: e.name,
251
- icon: /* @__PURE__ */ d(ke, {
251
+ icon: /* @__PURE__ */ d(Se, {
252
252
  type: e,
253
253
  className: "size-3.5"
254
254
  })
@@ -262,7 +262,7 @@ function m({ workspace: m, defaultTeam: h, defaultTitle: Ye = "", defaultBody: g
262
262
  trigger: /* @__PURE__ */ f("button", {
263
263
  type: "button",
264
264
  className: $,
265
- children: [q && /* @__PURE__ */ d(ke, {
265
+ children: [q && /* @__PURE__ */ d(Se, {
266
266
  type: q,
267
267
  className: "size-3.5"
268
268
  }), q?.name ?? Tt("type")]
@@ -274,7 +274,7 @@ function m({ workspace: m, defaultTeam: h, defaultTitle: Ye = "", defaultBody: g
274
274
  items: T.map((e) => ({
275
275
  value: e.id,
276
276
  label: e.name,
277
- icon: /* @__PURE__ */ d(ue, {
277
+ icon: /* @__PURE__ */ d(ke, {
278
278
  category: e.category,
279
279
  step: e.step
280
280
  })
@@ -285,7 +285,7 @@ function m({ workspace: m, defaultTeam: h, defaultTitle: Ye = "", defaultBody: g
285
285
  trigger: /* @__PURE__ */ f("button", {
286
286
  type: "button",
287
287
  className: $,
288
- children: [X && /* @__PURE__ */ d(ue, {
288
+ children: [X && /* @__PURE__ */ d(ke, {
289
289
  category: X.category,
290
290
  step: X.step
291
291
  }), X?.name ?? j("status")]
@@ -303,7 +303,7 @@ function m({ workspace: m, defaultTeam: h, defaultTitle: Ye = "", defaultBody: g
303
303
  ].map((e) => ({
304
304
  value: String(e),
305
305
  label: st[e] ?? "",
306
- icon: /* @__PURE__ */ d(le, { priority: e })
306
+ icon: /* @__PURE__ */ d(Oe, { priority: e })
307
307
  })),
308
308
  value: String(F),
309
309
  onValueChange: (e) => e !== null && ft(Number(e)),
@@ -311,7 +311,7 @@ function m({ workspace: m, defaultTeam: h, defaultTitle: Ye = "", defaultBody: g
311
311
  trigger: /* @__PURE__ */ f("button", {
312
312
  type: "button",
313
313
  className: $,
314
- children: [/* @__PURE__ */ d(le, { priority: F }), F ? st[F] : j("priority")]
314
+ children: [/* @__PURE__ */ d(Oe, { priority: F }), F ? st[F] : j("priority")]
315
315
  })
316
316
  }),
317
317
  /* @__PURE__ */ d(s, {
@@ -327,7 +327,7 @@ function m({ workspace: m, defaultTeam: h, defaultTitle: Ye = "", defaultBody: g
327
327
  trigger: /* @__PURE__ */ f("button", {
328
328
  type: "button",
329
329
  className: $,
330
- children: [/* @__PURE__ */ d(fe, { className: "size-3.5" }), V.length ? A("assignedCount", { count: V.length }) : j("assignee")]
330
+ children: [/* @__PURE__ */ d(je, { className: "size-3.5" }), V.length ? A("assignedCount", { count: V.length }) : j("assignee")]
331
331
  })
332
332
  }),
333
333
  /* @__PURE__ */ d(s, {
@@ -339,7 +339,7 @@ function m({ workspace: m, defaultTeam: h, defaultTitle: Ye = "", defaultBody: g
339
339
  label: e.name,
340
340
  icon: /* @__PURE__ */ f("span", {
341
341
  className: "flex items-center gap-2",
342
- children: [/* @__PURE__ */ d(_e, {}), /* @__PURE__ */ d("span", {
342
+ children: [/* @__PURE__ */ d(pe, {}), /* @__PURE__ */ d("span", {
343
343
  className: "size-2.5 rounded-full",
344
344
  style: { background: e.color }
345
345
  })]
@@ -353,13 +353,13 @@ function m({ workspace: m, defaultTeam: h, defaultTitle: Ye = "", defaultBody: g
353
353
  trigger: /* @__PURE__ */ f("button", {
354
354
  type: "button",
355
355
  className: $,
356
- children: [/* @__PURE__ */ d(de, { className: "size-3.5" }), H.length ? A("labelCount", { count: H.length }) : j("labels")]
356
+ children: [/* @__PURE__ */ d(Ae, { className: "size-3.5" }), H.length ? A("labelCount", { count: H.length }) : j("labels")]
357
357
  })
358
358
  }),
359
359
  B !== "none" && /* @__PURE__ */ d(s, {
360
360
  open: J === "estimate",
361
361
  onOpenChange: (e) => Y(e ? "estimate" : null),
362
- items: [0, ...he(B)].map((e) => ({
362
+ items: [0, ...Ne(B)].map((e) => ({
363
363
  value: String(e),
364
364
  label: e ? gt(e, B) : z("noEstimate")
365
365
  })),
@@ -369,7 +369,7 @@ function m({ workspace: m, defaultTeam: h, defaultTitle: Ye = "", defaultBody: g
369
369
  trigger: /* @__PURE__ */ f("button", {
370
370
  type: "button",
371
371
  className: $,
372
- children: [/* @__PURE__ */ d(oe, { className: "size-3.5" }), I ? gt(I, B) : z("estimate")]
372
+ children: [/* @__PURE__ */ d(Te, { className: "size-3.5" }), I ? gt(I, B) : z("estimate")]
373
373
  })
374
374
  }),
375
375
  Vt?.cyclesEnabled && /* @__PURE__ */ d(s, {
@@ -392,7 +392,7 @@ function m({ workspace: m, defaultTeam: h, defaultTitle: Ye = "", defaultBody: g
392
392
  trigger: /* @__PURE__ */ f("button", {
393
393
  type: "button",
394
394
  className: $,
395
- children: [/* @__PURE__ */ d(ae, { className: "size-3.5" }), yt ? bt(yt) : z("cycleLabel")]
395
+ children: [/* @__PURE__ */ d(we, { className: "size-3.5" }), yt ? bt(yt) : z("cycleLabel")]
396
396
  })
397
397
  }),
398
398
  /* @__PURE__ */ d(Re, {
@@ -402,10 +402,10 @@ function m({ workspace: m, defaultTeam: h, defaultTitle: Ye = "", defaultBody: g
402
402
  trigger: /* @__PURE__ */ f("button", {
403
403
  type: "button",
404
404
  className: $,
405
- children: [/* @__PURE__ */ d(ie, { className: "size-3.5" }), L ? z("dueOn", { date: _t.day(L) }) : z("dueDate")]
405
+ children: [/* @__PURE__ */ d(Ce, { className: "size-3.5" }), L ? z("dueOn", { date: _t.day(L) }) : z("dueDate")]
406
406
  })
407
407
  }),
408
- /* @__PURE__ */ d(je, { onFiles: (e) => void Rt(e) })
408
+ /* @__PURE__ */ d(ve, { onFiles: (e) => void Rt(e) })
409
409
  ] })
410
410
  }), Nt] });
411
411
  }