@parallelworks/tandem-web 0.171.1 → 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 (164) hide show
  1. package/components/AccessGrants.js +6 -6
  2. package/components/ActivityTimeline.js +57 -57
  3. package/components/ActorAvatar.js +4 -4
  4. package/components/AgentWork.js +494 -494
  5. package/components/AppLauncher.js +7 -7
  6. package/components/AreaLink.js +13 -13
  7. package/components/AreaTiles.js +13 -13
  8. package/components/AreaWork.js +22 -22
  9. package/components/Attachments.js +29 -29
  10. package/components/BlockHandle.js +3 -3
  11. package/components/BugRotation.js +8 -8
  12. package/components/CodeHostSettings.js +38 -38
  13. package/components/CollabEditor.js +13 -13
  14. package/components/CommandPalette.js +206 -206
  15. package/components/CustomFields.js +95 -95
  16. package/components/CustomerRequests.js +11 -11
  17. package/components/DashboardPanel.js +23 -23
  18. package/components/DateChip.js +21 -21
  19. package/components/DocHistory.js +14 -14
  20. package/components/DocIcon.js +4 -4
  21. package/components/DocIconPicker.js +4 -4
  22. package/components/DocLinkPicker.js +22 -22
  23. package/components/DocLook.js +16 -16
  24. package/components/DocProperties.js +81 -81
  25. package/components/DocTable.js +53 -53
  26. package/components/DocsTree.js +179 -179
  27. package/components/Editor.js +69 -69
  28. package/components/FavoritesNav.js +78 -78
  29. package/components/GitHub.js +87 -87
  30. package/components/Graph.js +14 -14
  31. package/components/HostActions.js +21 -21
  32. package/components/HostPanel.js +6 -6
  33. package/components/HoverCards.js +74 -74
  34. package/components/IssueBoard.js +13 -10
  35. package/components/IssueBreakdown.js +31 -31
  36. package/components/IssueCode.js +19 -19
  37. package/components/IssueEvent.js +12 -12
  38. package/components/IssueFilters.js +39 -39
  39. package/components/IssueGroup.js +16 -16
  40. package/components/IssueImport.js +13 -13
  41. package/components/IssueInsights.js +20 -20
  42. package/components/IssueListBlock.js +81 -81
  43. package/components/IssueRelations.js +34 -34
  44. package/components/IssueRow.js +31 -31
  45. package/components/IssueSentry.js +4 -4
  46. package/components/IssueTemplates.js +23 -23
  47. package/components/IssueTypes.js +40 -40
  48. package/components/MarkdownTransfer.js +10 -10
  49. package/components/MentionPicker.js +19 -19
  50. package/components/NewIssueDialog.js +53 -53
  51. package/components/NewProjectDialog.js +82 -82
  52. package/components/PersonActivity.js +13 -13
  53. package/components/PersonHoverCard.js +44 -44
  54. package/components/Planning.js +16 -16
  55. package/components/Reports.js +8 -8
  56. package/components/SettingsNav.js +15 -15
  57. package/components/ShareDialog.js +8 -8
  58. package/components/SharedViewer.js +23 -23
  59. package/components/SlashMenu.js +26 -26
  60. package/components/SubPages.js +10 -10
  61. package/components/TeamForm.js +9 -9
  62. package/components/TeamRepositories.js +21 -21
  63. package/components/TeamWorkflow.js +6 -6
  64. package/components/UnlinkedMentions.js +29 -29
  65. package/components/Updates.js +8 -8
  66. package/components/Widgets.js +4 -4
  67. package/components/WorkCounts.js +12 -12
  68. package/components/cycleCrumb.js +8 -8
  69. package/components/editorPlugins.js +101 -101
  70. package/components/settings.js +6 -6
  71. package/components/video.js +7 -7
  72. package/hostedApp.js +24 -24
  73. package/index.js +18 -18
  74. package/lib/assignees.js +3 -3
  75. package/lib/attachments.js +12 -12
  76. package/lib/boardMove.js +27 -27
  77. package/lib/collab.js +1 -1
  78. package/lib/docs.js +115 -115
  79. package/lib/githubLink.js +7 -7
  80. package/lib/issueList.js +51 -51
  81. package/lib/issueMenu.js +117 -117
  82. package/lib/knowledge.js +134 -134
  83. package/lib/live.js +38 -38
  84. package/lib/notifications.js +47 -47
  85. package/lib/views.js +31 -31
  86. package/package.json +24 -24
  87. package/pages/area.js +64 -64
  88. package/pages/areas.js +199 -199
  89. package/pages/decisions.js +51 -51
  90. package/pages/issues.js +120 -120
  91. package/pages/projects.js +238 -238
  92. package/pages/triage.js +109 -109
  93. package/routes/_workspace/agents/_slug2.js +127 -127
  94. package/routes/_workspace/agents/index2.js +22 -22
  95. package/routes/_workspace/dashboards/_dashboardId2.js +84 -84
  96. package/routes/_workspace/dashboards/index2.js +34 -34
  97. package/routes/_workspace/docs/_doc2.js +267 -267
  98. package/routes/_workspace/docs/space2._space.js +31 -31
  99. package/routes/_workspace/docs2.js +4 -4
  100. package/routes/_workspace/graph2.js +11 -11
  101. package/routes/_workspace/graph3.js +11 -11
  102. package/routes/_workspace/issues/_identifier2.js +477 -477
  103. package/routes/_workspace/issues/index.js +13 -13
  104. package/routes/_workspace/knowledge/_term2.js +175 -175
  105. package/routes/_workspace/knowledge/_term3.js +4 -4
  106. package/routes/_workspace/knowledge/index.js +12 -12
  107. package/routes/_workspace/knowledge/index2.js +117 -117
  108. package/routes/_workspace/measures2.js +8 -8
  109. package/routes/_workspace/measures3.js +29 -29
  110. package/routes/_workspace/notifications2.js +263 -263
  111. package/routes/_workspace/people/_username.js +10 -10
  112. package/routes/_workspace/people/_username2.js +41 -41
  113. package/routes/_workspace/projects/_projectId3.js +303 -303
  114. package/routes/_workspace/projects/_projectId4.js +4 -4
  115. package/routes/_workspace/projects/_projectId_3.milestones._milestoneId.js +28 -28
  116. package/routes/_workspace/projects/_projectId_4.milestones._milestoneId.js +4 -4
  117. package/routes/_workspace/projects/index.js +8 -8
  118. package/routes/_workspace/settings/account2.js +8 -8
  119. package/routes/_workspace/settings/audit-log2.js +8 -8
  120. package/routes/_workspace/settings/audit-log3.js +155 -155
  121. package/routes/_workspace/settings/connections2.js +4 -4
  122. package/routes/_workspace/settings/fields2.js +5 -5
  123. package/routes/_workspace/settings/github2.js +11 -11
  124. package/routes/_workspace/settings/gitlab2.js +5 -5
  125. package/routes/_workspace/settings/groups2.js +52 -52
  126. package/routes/_workspace/settings/import2.js +39 -39
  127. package/routes/_workspace/settings/index2.js +5 -5
  128. package/routes/_workspace/settings/intercom2.js +11 -11
  129. package/routes/_workspace/settings/labels2.js +33 -33
  130. package/routes/_workspace/settings/members2.js +81 -81
  131. package/routes/_workspace/settings/notifications2.js +46 -46
  132. package/routes/_workspace/settings/parallelworks2.js +20 -20
  133. package/routes/_workspace/settings/roles2.js +41 -41
  134. package/routes/_workspace/settings/runners2.js +15 -15
  135. package/routes/_workspace/settings/sentry2.js +15 -15
  136. package/routes/_workspace/settings/sessions2.js +9 -9
  137. package/routes/_workspace/settings/sessions3.js +4 -4
  138. package/routes/_workspace/settings/slack2.js +12 -12
  139. package/routes/_workspace/settings/sso2.js +37 -37
  140. package/routes/_workspace/settings/sso3.js +7 -7
  141. package/routes/_workspace/settings/teams2.js +29 -29
  142. package/routes/_workspace/settings/tokens2.js +32 -32
  143. package/routes/_workspace/settings/tokens3.js +4 -4
  144. package/routes/_workspace/settings/webhooks2.js +41 -41
  145. package/routes/_workspace/settings/zendesk2.js +11 -11
  146. package/routes/_workspace/teams/_key/cycles/_number2.js +33 -33
  147. package/routes/_workspace/teams/_key/cycles/_number3.js +7 -7
  148. package/routes/_workspace/teams/_key/cycles/index2.js +37 -37
  149. package/routes/_workspace/teams/_key/issues.js +10 -10
  150. package/routes/_workspace/teams/_key/projects.js +6 -6
  151. package/routes/_workspace/teams/_key/settings2.js +396 -396
  152. package/routes/_workspace2.js +308 -308
  153. package/routes/_workspace3.js +8 -8
  154. package/routes/device2.js +4 -4
  155. package/routes/device3.js +4 -4
  156. package/routes/docs/_tag/_endpoint2.js +3 -3
  157. package/routes/docs/_tag/index2.js +3 -3
  158. package/routes/docs/route2.js +7 -7
  159. package/routes/index2.js +5 -5
  160. package/routes/login2.js +10 -10
  161. package/routes/new2.js +12 -12
  162. package/routes/new3.js +5 -5
  163. package/routes/request2._token.js +6 -6
  164. package/routes/share2._secret.js +4 -4
@@ -1,36 +1,36 @@
1
- import { usePageTitle as e } from "../../../lib/pageTitle.js";
2
- import { Link as t, useNavigate as n } from "../../../lib/router.js";
3
- import { docBacklinksQuery as r, docDecisionsQuery as i, docIssuesQuery as a, docQuery as o, lostSectionsQuery as s, meQuery as c, teamsQuery as l, workspaceQuery as u } from "../../../api/queries.js";
4
- import { copyItem as d } from "../../../lib/menus.js";
5
- import { docKey as ee, docPath as te, docRef as f, docURL as ne, useDocActions as re, useDocMenu as ie } from "../../../lib/docs.js";
6
- import { CommentIcon as p, StatusIcon as m } from "../../../components/icons.js";
7
- import { headingAnchor as ae } from "../../../lib/glossary.js";
8
- import { termRef as oe } from "../../../lib/knowledgeKinds.js";
9
- import { useNewIssue as se } from "../../../lib/newIssue.js";
10
- import { usePeople as ce } from "../../../lib/people.js";
11
- import { useTime as h } from "../../../lib/time.js";
12
- import { issueURL as le, useIssueMenu as g } from "../../../lib/issueMenu.js";
13
- import { DocIcon as _ } from "../../../components/DocIcon.js";
14
- import { DocProperties as ue } from "../../../components/DocProperties.js";
15
- import { PersonHoverCard as v } from "../../../components/PersonHoverCard.js";
16
- import { Editor as de } from "../../../components/Editor.js";
17
- import { AnsweredDecision as y, DecisionCard as b } from "../../../components/AgentWork.js";
18
- import { DocCover as fe, DocLookControls as pe } from "../../../components/DocLook.js";
19
- import { Route as x } from "./_doc.js";
20
- import { rememberPage as me } from "../../../lib/recent.js";
21
- import { useOthersOn as he, useReportLocation as ge } from "../../../lib/live.js";
22
- import { FavoriteStar as _e } from "../../../components/FavoriteStar.js";
23
- import { AreaSelect as ve } from "../../../components/AreaSelect.js";
24
- import { caretColor as S, useCollabSession as C } from "../../../lib/collab.js";
25
- import { CollabEditor as w } from "../../../components/CollabEditor.js";
26
- import { DocComments as ye, useOpenThreads as be } from "../../../components/DocComments.js";
27
- import { DocHistory as xe, DocVersion as Se } from "../../../components/DocHistory.js";
28
- import { DocOutline as Ce } from "../../../components/DocOutline.js";
29
- import { Connections as we } from "../../../components/Graph.js";
30
- import { FieldNote as Te, Viewers as Ee } from "../../../components/Presence.js";
31
- import { UnlinkedMentions as De, useUnlinkedMentions as Oe } from "../../../components/UnlinkedMentions.js";
32
- import { Avatar as T, Breadcrumbs as E, Button as D, ErrorText as O, TitleInput as k, Tooltip as A, useOpenMenu as j } from "@parallelworks/ui";
33
- import { useCallback as ke, useEffect as M, useMemo as Ae, useRef as N, useState as P } from "react";
1
+ import { docBacklinksQuery as e, docDecisionsQuery as t, docIssuesQuery as n, docQuery as r, lostSectionsQuery as i, meQuery as a, teamsQuery as o, workspaceQuery as s } from "../../../api/queries.js";
2
+ import { AnsweredDecision as c, DecisionCard as l } from "../../../components/AgentWork.js";
3
+ import { AreaSelect as u } from "../../../components/AreaSelect.js";
4
+ import { CollabEditor as d } from "../../../components/CollabEditor.js";
5
+ import { DocComments as ee, useOpenThreads as te } from "../../../components/DocComments.js";
6
+ import { DocHistory as ne, DocVersion as re } from "../../../components/DocHistory.js";
7
+ import { DocIcon as f } from "../../../components/DocIcon.js";
8
+ import { DocCover as ie, DocLookControls as ae } from "../../../components/DocLook.js";
9
+ import { DocOutline as oe } from "../../../components/DocOutline.js";
10
+ import { DocProperties as se } from "../../../components/DocProperties.js";
11
+ import { Editor as ce } from "../../../components/Editor.js";
12
+ import { FavoriteStar as le } from "../../../components/FavoriteStar.js";
13
+ import { Connections as ue } from "../../../components/Graph.js";
14
+ import { CommentIcon as de, StatusIcon as p } from "../../../components/icons.js";
15
+ import { PersonHoverCard as m } from "../../../components/PersonHoverCard.js";
16
+ import { FieldNote as fe, Viewers as pe } from "../../../components/Presence.js";
17
+ import { UnlinkedMentions as me, useUnlinkedMentions as he } from "../../../components/UnlinkedMentions.js";
18
+ import { caretColor as h, useCollabSession as g } from "../../../lib/collab.js";
19
+ import { docKey as ge, docPath as _e, docRef as _, docURL as ve, useDocActions as ye, useDocMenu as v } from "../../../lib/docs.js";
20
+ import { headingAnchor as be } from "../../../lib/glossary.js";
21
+ import { issueURL as xe, useIssueMenu as y } from "../../../lib/issueMenu.js";
22
+ import { termRef as b } from "../../../lib/knowledgeKinds.js";
23
+ import { useOthersOn as Se, useReportLocation as Ce } from "../../../lib/live.js";
24
+ import { copyItem as we } from "../../../lib/menus.js";
25
+ import { useNewIssue as Te } from "../../../lib/newIssue.js";
26
+ import { usePageTitle as Ee } from "../../../lib/pageTitle.js";
27
+ import { usePeople as x } from "../../../lib/people.js";
28
+ import { rememberPage as De } from "../../../lib/recent.js";
29
+ import { Link as S, useNavigate as Oe } from "../../../lib/router.js";
30
+ import { useTime as C } from "../../../lib/time.js";
31
+ import { Route as ke } from "./_doc.js";
32
+ import { Avatar as w, Breadcrumbs as T, Button as E, ErrorText as D, TitleInput as O, Tooltip as k, useOpenMenu as A } from "@parallelworks/ui";
33
+ import { useCallback as Ae, useEffect as j, useMemo as M, useRef as N, useState as P } from "react";
34
34
  import { useErrorMessage as je } from "@parallelworks/problem/react";
35
35
  import { useTranslations as F } from "use-intl";
36
36
  import { Fragment as I, jsx as L, jsxs as R } from "react/jsx-runtime";
@@ -39,42 +39,42 @@ import { MoreButton as Me } from "@parallelworks/ui/list";
39
39
  // src/routes/$workspace/docs/$doc.tsx?tsr-split=component
40
40
  var Ne = 120;
41
41
  function V() {
42
- let t = F("docs"), r = F("common"), i = je(), { workspace: a, doc: s } = x.useParams(), { rename: p } = x.useSearch(), { data: m } = B(o(a, ee(s))), oe = m.key, { data: ce } = B(l(a)), { data: h } = B(c), g = ce.find((e) => e.id === m.teamId), { data: _ } = B(u(a)), [v, y] = P();
43
- ge({
44
- doc: m.key,
45
- ...v && { field: v }
46
- }), e(m.title || t("untitled"), g?.name);
47
- let b = he({ doc: m.key }, h?.user.username);
48
- M(() => {
49
- me(a, {
42
+ let e = F("docs"), t = F("common"), n = je(), { workspace: i, doc: c } = ke.useParams(), { rename: l } = ke.useSearch(), { data: d } = B(r(i, ge(c))), f = d.key, { data: de } = B(o(i)), { data: p } = B(a), m = de.find((e) => e.id === d.teamId), { data: h } = B(s(i)), [g, y] = P();
43
+ Ce({
44
+ doc: d.key,
45
+ ...g && { field: g }
46
+ }), Ee(d.title || e("untitled"), m?.name);
47
+ let b = Se({ doc: d.key }, p?.user.username);
48
+ j(() => {
49
+ De(i, {
50
50
  kind: "doc",
51
- href: te(a, m),
52
- label: m.title
51
+ href: _e(i, d),
52
+ label: d.title
53
53
  });
54
- }, [a, m]);
55
- let S = n(), C = j(), w = ie(a), T = re(a), E = se(), k = N(null), [A, Ae] = P(null), I = N(null), z = Oe(a, m, A), [V, Ue] = P(""), H = N(null), [U, W] = P(!1), [We, G] = P(), K = be(a, oe), [Ge, q] = P(!1), [Ke, J] = P(!1), [qe, Y] = P(!1), [X, Z] = P();
56
- M(() => {
57
- (s !== f(m) || p) && S({
54
+ }, [i, d]);
55
+ let x = Oe(), S = A(), C = v(i), w = ye(i), T = Te(), O = N(null), [k, M] = P(null), I = N(null), z = he(i, d, k), [V, Ue] = P(""), H = N(null), [U, W] = P(!1), [We, G] = P(), K = te(i, f), [Ge, q] = P(!1), [J, Y] = P(!1), [Ke, X] = P(!1), [Z, Q] = P();
56
+ j(() => {
57
+ (c !== _(d) || l) && x({
58
58
  to: "/$workspace/docs/$doc",
59
59
  params: {
60
- workspace: a,
61
- doc: f(m)
60
+ workspace: i,
61
+ doc: _(d)
62
62
  },
63
63
  search: {},
64
64
  replace: !0
65
65
  });
66
66
  }, [
67
- s,
68
- m,
69
- a,
70
- p,
71
- S
67
+ c,
68
+ d,
69
+ i,
70
+ l,
71
+ x
72
72
  ]);
73
- let Je = ke((e) => {
74
- if (k.current = e, Ae(e), !e) return;
73
+ let qe = Ae((e) => {
74
+ if (O.current = e, M(e), !e) return;
75
75
  let t = decodeURIComponent(location.hash.slice(1));
76
76
  if (t) {
77
- for (let n of e.view.dom.querySelectorAll("h1, h2, h3, h4, h5, h6")) if (ae(n.textContent ?? "") === t) {
77
+ for (let n of e.view.dom.querySelectorAll("h1, h2, h3, h4, h5, h6")) if (be(n.textContent ?? "") === t) {
78
78
  n.scrollIntoView({ block: "start" });
79
79
  break;
80
80
  }
@@ -84,8 +84,8 @@ function V() {
84
84
  Ue(t === n ? "" : e.state.doc.textBetween(t, n, "\n\n").trim());
85
85
  });
86
86
  }, []);
87
- M(() => {
88
- let e = k.current;
87
+ j(() => {
88
+ let e = O.current;
89
89
  if (!U || !V || !e) return;
90
90
  let { from: t, to: n } = e.state.selection, r = e.state.doc;
91
91
  G({
@@ -94,8 +94,8 @@ function V() {
94
94
  quoteSuffix: r.textBetween(n, Math.min(r.content.size, n + 64), "\n")
95
95
  });
96
96
  }, [U, V]);
97
- let Ye = (e) => {
98
- let t = k.current;
97
+ let Je = (e) => {
98
+ let t = O.current;
99
99
  if (!t || !e.quote) return;
100
100
  let n = t.state.doc, r = n.textBetween(0, n.content.size, "\n"), i = -1, a = -1;
101
101
  for (let t = r.indexOf(e.quote); t >= 0; t = r.indexOf(e.quote, t + 1)) {
@@ -123,21 +123,21 @@ function V() {
123
123
  from: u,
124
124
  to: d
125
125
  }).scrollIntoView().run();
126
- }, Q = () => {
127
- let e = V;
128
- if (!e || !g) return;
129
- let n = e.split("\n").map((e) => e ? `> ${e}` : ">").join("\n");
130
- E({
131
- team: g.key,
132
- title: (e.split("\n")[0] ?? "").slice(0, Ne),
133
- body: t("fromDoc", {
126
+ }, Ye = () => {
127
+ let t = V;
128
+ if (!t || !m) return;
129
+ let n = t.split("\n").map((e) => e ? `> ${e}` : ">").join("\n");
130
+ T({
131
+ team: m.key,
132
+ title: (t.split("\n")[0] ?? "").slice(0, Ne),
133
+ body: e("fromDoc", {
134
134
  quote: n,
135
- title: m.title,
136
- url: ne(a, m)
135
+ title: d.title,
136
+ url: ve(i, d)
137
137
  }),
138
- origin: { doc: m.key },
138
+ origin: { doc: d.key },
139
139
  onCreated: (e) => {
140
- let t = k.current;
140
+ let t = O.current;
141
141
  t && t.chain().insertContentAt(t.state.selection.to, [{
142
142
  type: "text",
143
143
  text: " "
@@ -146,92 +146,92 @@ function V() {
146
146
  text: e.identifier,
147
147
  marks: [{
148
148
  type: "link",
149
- attrs: { href: le(a, e.identifier) }
149
+ attrs: { href: xe(i, e.identifier) }
150
150
  }]
151
151
  }]).run();
152
152
  }
153
153
  });
154
- }, Xe = m.ancestors ?? [], $ = !!m.archivedAt;
154
+ }, Xe = d.ancestors ?? [], $ = !!d.archivedAt;
155
155
  return /* @__PURE__ */ R("div", {
156
156
  className: "flex h-full flex-col",
157
157
  children: [/* @__PURE__ */ R("header", {
158
158
  className: "flex h-12 shrink-0 items-center gap-2 border-b border-border px-4 text-sm md:px-5",
159
- onContextMenu: (e) => C(e, w(m, { onRename: () => H.current?.focus() })),
159
+ onContextMenu: (e) => S(e, C(d, { onRename: () => H.current?.focus() })),
160
160
  children: [
161
161
  /* @__PURE__ */ L(Ve, {
162
- workspace: a,
163
- doc: m,
162
+ workspace: i,
163
+ doc: d,
164
164
  path: Xe,
165
- space: g?.name ?? _.name
165
+ space: m?.name ?? h.name
166
166
  }),
167
- /* @__PURE__ */ L(_e, {
168
- workspace: a,
167
+ /* @__PURE__ */ L(le, {
168
+ workspace: i,
169
169
  kind: "doc",
170
- target: m.id
170
+ target: d.id
171
171
  }),
172
172
  /* @__PURE__ */ R("span", {
173
173
  className: "ml-auto flex shrink-0 items-center gap-3",
174
174
  children: [
175
- V && !$ && /* @__PURE__ */ L(D, {
175
+ V && !$ && /* @__PURE__ */ L(E, {
176
176
  type: "button",
177
177
  size: "sm",
178
178
  onMouseDown: (e) => e.preventDefault(),
179
- onClick: Q,
180
- children: t("createIssue")
179
+ onClick: Ye,
180
+ children: e("createIssue")
181
181
  }),
182
- T.rename.isPending && /* @__PURE__ */ L("span", {
182
+ w.rename.isPending && /* @__PURE__ */ L("span", {
183
183
  className: "text-xs text-muted-foreground",
184
- children: r("saving")
184
+ children: t("saving")
185
185
  }),
186
- /* @__PURE__ */ L(Ee, {
187
- workspace: a,
186
+ /* @__PURE__ */ L(pe, {
187
+ workspace: i,
188
188
  others: b
189
189
  }),
190
- /* @__PURE__ */ R(D, {
190
+ /* @__PURE__ */ R(E, {
191
191
  type: "button",
192
192
  size: "sm",
193
193
  "aria-pressed": U,
194
194
  onClick: () => {
195
- W((e) => !e), G(void 0), q(!1), J(!1), Y(!1);
195
+ W((e) => !e), G(void 0), q(!1), Y(!1), X(!1);
196
196
  },
197
- ...K > 0 && { "aria-label": t("commentsCount", { count: K }) },
197
+ ...K > 0 && { "aria-label": e("commentsCount", { count: K }) },
198
198
  className: "relative aria-pressed:bg-muted max-md:hidden",
199
- children: [t("comments"), /* @__PURE__ */ L(He, { count: K })]
199
+ children: [e("comments"), /* @__PURE__ */ L(He, { count: K })]
200
200
  }),
201
- /* @__PURE__ */ L(D, {
201
+ /* @__PURE__ */ L(E, {
202
202
  type: "button",
203
203
  size: "sm",
204
204
  "aria-pressed": Ge,
205
205
  onClick: () => {
206
- q((e) => !e), Z(void 0), W(!1), J(!1), Y(!1);
206
+ q((e) => !e), Q(void 0), W(!1), Y(!1), X(!1);
207
207
  },
208
208
  className: "aria-pressed:bg-muted max-md:hidden",
209
- children: t("history")
209
+ children: e("history")
210
210
  }),
211
- !$ && /* @__PURE__ */ R(D, {
211
+ !$ && /* @__PURE__ */ R(E, {
212
212
  type: "button",
213
213
  size: "sm",
214
- "aria-pressed": Ke,
214
+ "aria-pressed": J,
215
215
  onClick: () => {
216
- J((e) => !e), W(!1), q(!1), Z(void 0), Y(!1);
216
+ Y((e) => !e), W(!1), q(!1), Q(void 0), X(!1);
217
217
  },
218
- ...z.length > 0 && { "aria-label": t("unlinkedCount", { count: z.length }) },
218
+ ...z.length > 0 && { "aria-label": e("unlinkedCount", { count: z.length }) },
219
219
  className: "relative aria-pressed:bg-muted max-md:hidden",
220
- children: [t("links"), /* @__PURE__ */ L(He, { count: z.length })]
220
+ children: [e("links"), /* @__PURE__ */ L(He, { count: z.length })]
221
221
  }),
222
- !$ && /* @__PURE__ */ L(D, {
222
+ !$ && /* @__PURE__ */ L(E, {
223
223
  type: "button",
224
224
  size: "sm",
225
- "aria-pressed": qe,
225
+ "aria-pressed": Ke,
226
226
  onClick: () => {
227
- Y((e) => !e), W(!1), q(!1), Z(void 0), J(!1);
227
+ X((e) => !e), W(!1), q(!1), Q(void 0), Y(!1);
228
228
  },
229
229
  className: "aria-pressed:bg-muted max-md:hidden",
230
- children: t("graph")
230
+ children: e("graph")
231
231
  }),
232
232
  /* @__PURE__ */ L(Me, {
233
- items: () => w(m, { onRename: () => H.current?.focus() }),
234
- label: r("moreActionsFor", { name: m.title }),
233
+ items: () => C(d, { onRename: () => H.current?.focus() }),
234
+ label: t("moreActionsFor", { name: d.title }),
235
235
  visible: !0
236
236
  })
237
237
  ]
@@ -243,148 +243,148 @@ function V() {
243
243
  /* @__PURE__ */ R("div", {
244
244
  ref: I,
245
245
  className: "min-h-0 flex-1 overflow-y-auto",
246
- children: [!X && /* @__PURE__ */ L(fe, {
247
- workspace: a,
248
- doc: m,
246
+ children: [!Z && /* @__PURE__ */ L(ie, {
247
+ workspace: i,
248
+ doc: d,
249
249
  editable: !$
250
250
  }), /* @__PURE__ */ R("div", {
251
251
  className: "flex w-full gap-10 px-4 pt-6 md:px-8 md:pt-8",
252
252
  children: [/* @__PURE__ */ R("article", {
253
- className: `group/doc min-w-0 flex-1 pb-24 ${m.fullWidth ? "" : "mx-auto max-w-3xl"}`,
253
+ className: `group/doc min-w-0 flex-1 pb-24 ${d.fullWidth ? "" : "mx-auto max-w-3xl"}`,
254
254
  children: [
255
255
  $ && /* @__PURE__ */ R("div", {
256
256
  className: "mb-6 flex items-center gap-3 rounded-md border border-border bg-muted px-3 py-2 text-sm",
257
257
  children: [/* @__PURE__ */ L("span", {
258
258
  className: "flex-1",
259
- children: t("archivedNotice")
260
- }), /* @__PURE__ */ L(D, {
259
+ children: e("archivedNotice")
260
+ }), /* @__PURE__ */ L(E, {
261
261
  type: "button",
262
262
  variant: "primary",
263
263
  size: "sm",
264
- onClick: () => T.restore.mutate(m),
265
- children: t("restore")
264
+ onClick: () => w.restore.mutate(d),
265
+ children: e("restore")
266
266
  })]
267
267
  }),
268
- /* @__PURE__ */ L(pe, {
269
- workspace: a,
270
- doc: m,
271
- editable: !$ && !X
268
+ /* @__PURE__ */ L(ae, {
269
+ workspace: i,
270
+ doc: d,
271
+ editable: !$ && !Z
272
272
  }),
273
273
  /* @__PURE__ */ L(Pe, {
274
- doc: m,
274
+ doc: d,
275
275
  input: H,
276
- autoFocus: !!p,
276
+ autoFocus: !!l,
277
277
  readOnly: $,
278
278
  onFocus: () => y("title"),
279
279
  onBlur: () => y(void 0),
280
- onSave: (e) => T.rename.mutate({
281
- doc: m,
280
+ onSave: (e) => w.rename.mutate({
281
+ doc: d,
282
282
  title: e
283
283
  })
284
- }, m.id),
285
- /* @__PURE__ */ L(Te, {
286
- workspace: a,
284
+ }, d.id),
285
+ /* @__PURE__ */ L(fe, {
286
+ workspace: i,
287
287
  others: b,
288
288
  field: "title"
289
289
  }),
290
- T.rename.isError && /* @__PURE__ */ L(O, {
290
+ w.rename.isError && /* @__PURE__ */ L(D, {
291
291
  className: "mt-1",
292
- children: i(T.rename.error)
292
+ children: n(w.rename.error)
293
293
  }),
294
294
  /* @__PURE__ */ R("div", {
295
295
  className: "mt-2 flex flex-wrap items-center gap-x-3 gap-y-1",
296
296
  children: [/* @__PURE__ */ L(Fe, {
297
- workspace: a,
298
- doc: m
299
- }), /* @__PURE__ */ L(ve, {
300
- workspace: a,
301
- teamId: m.teamId,
302
- value: m.areaId,
303
- onChange: (e) => T.fileUnder.mutate({
304
- doc: m,
297
+ workspace: i,
298
+ doc: d
299
+ }), /* @__PURE__ */ L(u, {
300
+ workspace: i,
301
+ teamId: d.teamId,
302
+ value: d.areaId,
303
+ onChange: (e) => w.fileUnder.mutate({
304
+ doc: d,
305
305
  area: e
306
306
  }),
307
307
  disabled: $,
308
308
  className: "flex h-6 items-center gap-1.5 rounded-md px-1.5 text-xs hover:bg-muted"
309
309
  })]
310
310
  }),
311
- !X && /* @__PURE__ */ L(ue, {
312
- workspace: a,
313
- doc: m,
314
- space: g?.key ?? "workspace",
311
+ !Z && /* @__PURE__ */ L(se, {
312
+ workspace: i,
313
+ doc: d,
314
+ space: m?.key ?? "workspace",
315
315
  editable: !$
316
316
  }),
317
317
  /* @__PURE__ */ L("div", {
318
- onContextMenu: (e) => V && !$ && C(e, [{
319
- label: t("createIssue"),
320
- onClick: Q
321
- }, d(t("copySelection"), V)]),
322
- children: X ? /* @__PURE__ */ L(Se, {
323
- workspace: a,
324
- doc: m,
325
- versionId: X,
326
- onDone: () => Z(void 0)
318
+ onContextMenu: (t) => V && !$ && S(t, [{
319
+ label: e("createIssue"),
320
+ onClick: Ye
321
+ }, we(e("copySelection"), V)]),
322
+ children: Z ? /* @__PURE__ */ L(re, {
323
+ workspace: i,
324
+ doc: d,
325
+ versionId: Z,
326
+ onDone: () => Q(void 0)
327
327
  }) : $ ? /* @__PURE__ */ L("div", {
328
328
  className: "mt-4",
329
- children: /* @__PURE__ */ L(de, {
330
- value: m.body ?? "",
329
+ children: /* @__PURE__ */ L(ce, {
330
+ value: d.body ?? "",
331
331
  editable: !1,
332
332
  className: "min-h-32"
333
333
  })
334
334
  }) : /* @__PURE__ */ L(Ie, {
335
- workspace: a,
336
- doc: m,
337
- onEditor: Je,
335
+ workspace: i,
336
+ doc: d,
337
+ onEditor: qe,
338
338
  onFocus: () => y("body"),
339
339
  onBlur: () => y(void 0)
340
340
  })
341
341
  }),
342
342
  /* @__PURE__ */ L(Re, {
343
- workspace: a,
344
- docKey: m.key
343
+ workspace: i,
344
+ docKey: d.key
345
345
  }),
346
346
  /* @__PURE__ */ L(ze, {
347
- workspace: a,
348
- docKey: m.key
347
+ workspace: i,
348
+ docKey: d.key
349
349
  }),
350
350
  /* @__PURE__ */ L(Le, {
351
- workspace: a,
352
- docKey: m.key
351
+ workspace: i,
352
+ docKey: d.key
353
353
  }),
354
354
  /* @__PURE__ */ L(Be, {
355
- workspace: a,
356
- docKey: m.key
355
+ workspace: i,
356
+ docKey: d.key
357
357
  })
358
358
  ]
359
- }), !$ && !X && /* @__PURE__ */ L(Ce, {
360
- editor: A,
359
+ }), !$ && !Z && /* @__PURE__ */ L(oe, {
360
+ editor: k,
361
361
  scroller: I
362
362
  })]
363
363
  })]
364
364
  }),
365
- U && /* @__PURE__ */ L(ye, {
366
- workspace: a,
367
- doc: m,
365
+ U && /* @__PURE__ */ L(ee, {
366
+ workspace: i,
367
+ doc: d,
368
368
  draft: We,
369
369
  onDraftDone: () => G(void 0),
370
- onShowQuote: Ye
370
+ onShowQuote: Je
371
371
  }),
372
- Ge && /* @__PURE__ */ L(xe, {
373
- workspace: a,
374
- doc: m,
375
- selected: X,
376
- onSelect: Z
372
+ Ge && /* @__PURE__ */ L(ne, {
373
+ workspace: i,
374
+ doc: d,
375
+ selected: Z,
376
+ onSelect: Q
377
377
  }),
378
- Ke && !$ && /* @__PURE__ */ L(De, {
379
- editor: A,
378
+ J && !$ && /* @__PURE__ */ L(me, {
379
+ editor: k,
380
380
  suggestions: z
381
381
  }),
382
- qe && !$ && /* @__PURE__ */ L("aside", {
383
- "aria-label": t("graph"),
382
+ Ke && !$ && /* @__PURE__ */ L("aside", {
383
+ "aria-label": e("graph"),
384
384
  className: "w-96 shrink-0 overflow-y-auto border-l border-border px-3 py-4 max-md:hidden",
385
- children: /* @__PURE__ */ L(we, {
386
- workspace: a,
387
- of: { doc: m.key },
385
+ children: /* @__PURE__ */ L(ue, {
386
+ workspace: i,
387
+ of: { doc: d.key },
388
388
  width: 352
389
389
  })
390
390
  })
@@ -397,7 +397,7 @@ function Pe({ doc: e, input: t, autoFocus: n, readOnly: r, onSave: i, onFocus: a
397
397
  return /* @__PURE__ */ R(I, { children: [/* @__PURE__ */ L("h1", {
398
398
  className: "sr-only",
399
399
  children: e.title
400
- }), /* @__PURE__ */ L(k, {
400
+ }), /* @__PURE__ */ L(O, {
401
401
  ref: t,
402
402
  value: e.title,
403
403
  onCommit: i,
@@ -409,14 +409,14 @@ function Pe({ doc: e, input: t, autoFocus: n, readOnly: r, onSave: i, onFocus: a
409
409
  })] });
410
410
  }
411
411
  function Fe({ workspace: e, doc: t }) {
412
- let n = F("docs"), r = h(), { actorName: i, person: a, avatarOf: o } = ce(e), s = i(t.editor);
412
+ let n = F("docs"), r = C(), { actorName: i, person: a, avatarOf: o } = x(e), s = i(t.editor);
413
413
  return /* @__PURE__ */ R("p", {
414
414
  className: "flex items-center gap-1.5 text-xs text-muted-foreground",
415
- children: [/* @__PURE__ */ L(v, {
415
+ children: [/* @__PURE__ */ L(m, {
416
416
  workspace: e,
417
417
  kind: t.editor.kind,
418
418
  handle: t.editor.handle,
419
- children: /* @__PURE__ */ L(T, {
419
+ children: /* @__PURE__ */ L(w, {
420
420
  kind: t.editor.kind === "agent" ? "agent" : "person",
421
421
  name: s,
422
422
  src: o(t.editor.kind, t.editor.handle),
@@ -426,7 +426,7 @@ function Fe({ workspace: e, doc: t }) {
426
426
  name: s,
427
427
  person: a(t.editor.onBehalfOf ?? "").name,
428
428
  time: r.relative(t.updatedAt),
429
- when: (e) => /* @__PURE__ */ L(A, {
429
+ when: (e) => /* @__PURE__ */ L(k, {
430
430
  content: r.full(t.updatedAt),
431
431
  children: /* @__PURE__ */ L("time", {
432
432
  dateTime: t.updatedAt,
@@ -437,43 +437,43 @@ function Fe({ workspace: e, doc: t }) {
437
437
  });
438
438
  }
439
439
  function Ie({ workspace: e, doc: t, onEditor: n, onFocus: r, onBlur: i }) {
440
- let a = F("docs"), { data: o } = B(c), s = N(null), l = Ae(() => ({
441
- name: o?.user.name ?? a("someone"),
442
- color: S(o?.user.username ?? "")
440
+ let o = F("docs"), { data: s } = B(a), c = N(null), l = M(() => ({
441
+ name: s?.user.name ?? o("someone"),
442
+ color: h(s?.user.username ?? "")
443
443
  }), [
444
- o?.user.name,
445
- o?.user.username,
446
- a
447
- ]), { session: u, error: d } = C({
444
+ s?.user.name,
445
+ s?.user.username,
446
+ o
447
+ ]), { session: u, error: ee } = g({
448
448
  workspace: e,
449
449
  target: { doc: t.key },
450
450
  user: l,
451
- getMarkdown: s
451
+ getMarkdown: c
452
452
  });
453
453
  return /* @__PURE__ */ R("div", {
454
454
  className: "mt-6 min-h-48",
455
- children: [u ? /* @__PURE__ */ L(w, {
455
+ children: [u ? /* @__PURE__ */ L(d, {
456
456
  session: u,
457
457
  user: l,
458
- getMarkdown: s,
458
+ getMarkdown: c,
459
459
  onEditor: n,
460
460
  onFocus: r,
461
461
  onBlur: i,
462
- placeholder: a("bodyPlaceholder"),
463
- label: a("body"),
462
+ placeholder: o("bodyPlaceholder"),
463
+ label: o("body"),
464
464
  className: "min-h-48"
465
- }, `${u.generation}:${u.doc.guid}`) : /* @__PURE__ */ L(de, {
465
+ }, `${u.generation}:${u.doc.guid}`) : /* @__PURE__ */ L(ce, {
466
466
  value: t.body ?? "",
467
467
  editable: !1,
468
468
  className: "min-h-48"
469
- }), /* @__PURE__ */ L(O, {
469
+ }), /* @__PURE__ */ L(D, {
470
470
  className: "mt-1",
471
- children: d
471
+ children: ee
472
472
  })]
473
473
  });
474
474
  }
475
- function Le({ workspace: e, docKey: n }) {
476
- let r = F("docs"), { data: i } = B(a(e, n)), o = j(), s = g(e);
475
+ function Le({ workspace: e, docKey: t }) {
476
+ let r = F("docs"), { data: i } = B(n(e, t)), a = A(), o = y(e);
477
477
  return i.length === 0 ? null : /* @__PURE__ */ R("section", {
478
478
  className: "mt-10",
479
479
  "aria-label": r("linkedIssues"),
@@ -482,161 +482,161 @@ function Le({ workspace: e, docKey: n }) {
482
482
  children: r("linkedIssues")
483
483
  }), /* @__PURE__ */ L("ul", {
484
484
  className: "mt-2 space-y-0.5",
485
- children: i.map((n) => /* @__PURE__ */ L("li", { children: /* @__PURE__ */ R(t, {
485
+ children: i.map((t) => /* @__PURE__ */ L("li", { children: /* @__PURE__ */ R(S, {
486
486
  to: "/$workspace/issues/$identifier",
487
487
  params: {
488
488
  workspace: e,
489
- identifier: n.identifier
489
+ identifier: t.identifier
490
490
  },
491
- onContextMenu: (e) => o(e, s([n])),
491
+ onContextMenu: (e) => a(e, o([t])),
492
492
  className: "flex h-8 items-center gap-2 rounded-md px-2 text-sm hover:bg-muted",
493
493
  children: [
494
- /* @__PURE__ */ L(m, {
495
- category: n.status.category,
496
- step: n.status.step
494
+ /* @__PURE__ */ L(p, {
495
+ category: t.status.category,
496
+ step: t.status.step
497
497
  }),
498
498
  /* @__PURE__ */ L("span", {
499
499
  className: "shrink-0 text-muted-foreground",
500
- children: n.identifier
500
+ children: t.identifier
501
501
  }),
502
502
  /* @__PURE__ */ L("span", {
503
503
  className: "truncate",
504
- children: n.title
504
+ children: t.title
505
505
  })
506
506
  ]
507
- }) }, n.id))
507
+ }) }, t.id))
508
508
  })]
509
509
  });
510
510
  }
511
- function Re({ workspace: e, docKey: n }) {
512
- let r = F("docs"), { data: i = [] } = z(s(e, n));
513
- return i.length === 0 ? null : /* @__PURE__ */ R("section", {
511
+ function Re({ workspace: e, docKey: t }) {
512
+ let n = F("docs"), { data: r = [] } = z(i(e, t));
513
+ return r.length === 0 ? null : /* @__PURE__ */ R("section", {
514
514
  className: "mt-10 rounded-lg border border-warning/60 px-4 py-3",
515
- "aria-label": r("lostSections"),
515
+ "aria-label": n("lostSections"),
516
516
  children: [
517
517
  /* @__PURE__ */ L("h2", {
518
518
  className: "text-sm font-semibold",
519
- children: r("lostSections")
519
+ children: n("lostSections")
520
520
  }),
521
521
  /* @__PURE__ */ L("p", {
522
522
  className: "mt-1 text-xs text-muted-foreground",
523
- children: r("lostSectionsHelp")
523
+ children: n("lostSectionsHelp")
524
524
  }),
525
525
  /* @__PURE__ */ L("ul", {
526
526
  className: "mt-2 space-y-1 text-sm",
527
- children: i.map((n) => /* @__PURE__ */ L("li", { children: /* @__PURE__ */ L(t, {
527
+ children: r.map((t) => /* @__PURE__ */ L("li", { children: /* @__PURE__ */ L(S, {
528
528
  to: "/$workspace/knowledge/$term",
529
529
  params: {
530
530
  workspace: e,
531
- term: oe(n)
531
+ term: b(t)
532
532
  },
533
533
  className: "hover:underline",
534
- children: r("lostSection", {
535
- name: n.name,
536
- section: n.source.section ?? ""
534
+ children: n("lostSection", {
535
+ name: t.name,
536
+ section: t.source.section ?? ""
537
537
  })
538
- }) }, n.id))
538
+ }) }, t.id))
539
539
  })
540
540
  ]
541
541
  });
542
542
  }
543
- function ze({ workspace: e, docKey: t }) {
544
- let n = F("docs"), { data: r } = B(i(e, t)), a = r.filter((e) => !e.canceled);
543
+ function ze({ workspace: e, docKey: n }) {
544
+ let r = F("docs"), { data: i } = B(t(e, n)), a = i.filter((e) => !e.canceled);
545
545
  return a.length === 0 ? null : /* @__PURE__ */ R("section", {
546
546
  className: "mt-10 space-y-3",
547
- "aria-label": n("questions"),
547
+ "aria-label": r("questions"),
548
548
  children: [/* @__PURE__ */ L("h2", {
549
549
  className: "text-sm font-semibold",
550
- children: n("questions")
551
- }), a.map((t) => t.answer ? /* @__PURE__ */ L(y, {
550
+ children: r("questions")
551
+ }), a.map((t) => t.answer ? /* @__PURE__ */ L(c, {
552
552
  workspace: e,
553
553
  decision: t,
554
554
  showIssue: !0
555
- }, t.id) : /* @__PURE__ */ L(b, {
555
+ }, t.id) : /* @__PURE__ */ L(l, {
556
556
  workspace: e,
557
557
  decision: t,
558
558
  showIssue: !0
559
559
  }, t.id))]
560
560
  });
561
561
  }
562
- function Be({ workspace: e, docKey: n }) {
563
- let i = F("docs"), { data: a } = B(r(e, n)), o = j(), s = ie(e), c = g(e), l = "flex h-8 items-center gap-2 rounded-md px-2 text-sm hover:bg-muted";
564
- return a.docs.length + a.issues.length + a.comments.length === 0 ? null : /* @__PURE__ */ R("section", {
562
+ function Be({ workspace: t, docKey: n }) {
563
+ let r = F("docs"), { data: i } = B(e(t, n)), a = A(), o = v(t), s = y(t), c = "flex h-8 items-center gap-2 rounded-md px-2 text-sm hover:bg-muted";
564
+ return i.docs.length + i.issues.length + i.comments.length === 0 ? null : /* @__PURE__ */ R("section", {
565
565
  className: "mt-10",
566
- "aria-label": i("linkedFrom"),
566
+ "aria-label": r("linkedFrom"),
567
567
  children: [/* @__PURE__ */ L("h2", {
568
568
  className: "text-base font-semibold",
569
- children: i("linkedFrom")
569
+ children: r("linkedFrom")
570
570
  }), /* @__PURE__ */ R("ul", {
571
571
  className: "mt-2 space-y-0.5",
572
572
  children: [
573
- a.docs.map((n) => /* @__PURE__ */ L("li", { children: /* @__PURE__ */ R(t, {
573
+ i.docs.map((e) => /* @__PURE__ */ L("li", { children: /* @__PURE__ */ R(S, {
574
574
  to: "/$workspace/docs/$doc",
575
575
  params: {
576
- workspace: e,
577
- doc: f(n)
576
+ workspace: t,
577
+ doc: _(e)
578
578
  },
579
- onContextMenu: (e) => o(e, s(n)),
580
- className: l,
581
- children: [/* @__PURE__ */ L(_, {
582
- icon: n.icon,
579
+ onContextMenu: (t) => a(t, o(e)),
580
+ className: c,
581
+ children: [/* @__PURE__ */ L(f, {
582
+ icon: e.icon,
583
583
  className: "size-3.5",
584
584
  emojiClassName: "text-xs"
585
585
  }), /* @__PURE__ */ L("span", {
586
586
  className: "truncate",
587
- children: n.title
587
+ children: e.title
588
588
  })]
589
- }) }, n.id)),
590
- a.issues.map((n) => /* @__PURE__ */ L("li", { children: /* @__PURE__ */ R(t, {
589
+ }) }, e.id)),
590
+ i.issues.map((e) => /* @__PURE__ */ L("li", { children: /* @__PURE__ */ R(S, {
591
591
  to: "/$workspace/issues/$identifier",
592
592
  params: {
593
- workspace: e,
594
- identifier: n.identifier
593
+ workspace: t,
594
+ identifier: e.identifier
595
595
  },
596
- onContextMenu: (e) => o(e, c([n])),
597
- className: l,
596
+ onContextMenu: (t) => a(t, s([e])),
597
+ className: c,
598
598
  children: [
599
- /* @__PURE__ */ L(m, {
600
- category: n.status.category,
601
- step: n.status.step
599
+ /* @__PURE__ */ L(p, {
600
+ category: e.status.category,
601
+ step: e.status.step
602
602
  }),
603
603
  /* @__PURE__ */ L("span", {
604
604
  className: "shrink-0 text-muted-foreground",
605
- children: n.identifier
605
+ children: e.identifier
606
606
  }),
607
607
  /* @__PURE__ */ L("span", {
608
608
  className: "truncate",
609
- children: n.title
609
+ children: e.title
610
610
  })
611
611
  ]
612
- }) }, n.id)),
613
- a.comments.map((n) => /* @__PURE__ */ L("li", { children: /* @__PURE__ */ R(t, {
612
+ }) }, e.id)),
613
+ i.comments.map((e) => /* @__PURE__ */ L("li", { children: /* @__PURE__ */ R(S, {
614
614
  to: "/$workspace/issues/$identifier",
615
615
  params: {
616
- workspace: e,
617
- identifier: n.identifier
616
+ workspace: t,
617
+ identifier: e.identifier
618
618
  },
619
- hash: `comment-${n.comment.id}`,
620
- className: l,
619
+ hash: `comment-${e.comment.id}`,
620
+ className: c,
621
621
  children: [
622
- /* @__PURE__ */ L(p, { className: "size-3.5 text-muted-foreground" }),
622
+ /* @__PURE__ */ L(de, { className: "size-3.5 text-muted-foreground" }),
623
623
  /* @__PURE__ */ L("span", {
624
624
  className: "shrink-0 text-muted-foreground",
625
- children: i("commentOn", { identifier: n.identifier })
625
+ children: r("commentOn", { identifier: e.identifier })
626
626
  }),
627
627
  /* @__PURE__ */ L("span", {
628
628
  className: "truncate",
629
- children: n.issueTitle
629
+ children: e.issueTitle
630
630
  })
631
631
  ]
632
- }) }, n.comment.id))
632
+ }) }, e.comment.id))
633
633
  ]
634
634
  })]
635
635
  });
636
636
  }
637
637
  function Ve({ workspace: e, doc: t, path: n, space: r }) {
638
638
  let i = F("docs");
639
- return /* @__PURE__ */ L(E, {
639
+ return /* @__PURE__ */ L(T, {
640
640
  label: i("breadcrumbs"),
641
641
  className: "min-w-0",
642
642
  crumbs: [
@@ -647,8 +647,8 @@ function Ve({ workspace: e, doc: t, path: n, space: r }) {
647
647
  { label: r },
648
648
  ...n.map((t) => ({
649
649
  label: t.title,
650
- href: `/${e}/docs/${f(t)}`,
651
- icon: t.icon && /* @__PURE__ */ L(_, {
650
+ href: `/${e}/docs/${_(t)}`,
651
+ icon: t.icon && /* @__PURE__ */ L(f, {
652
652
  icon: t.icon,
653
653
  className: "size-3.5",
654
654
  emojiClassName: "text-xs"
@@ -656,7 +656,7 @@ function Ve({ workspace: e, doc: t, path: n, space: r }) {
656
656
  })),
657
657
  {
658
658
  label: t.title,
659
- icon: t.icon && /* @__PURE__ */ L(_, {
659
+ icon: t.icon && /* @__PURE__ */ L(f, {
660
660
  icon: t.icon,
661
661
  className: "size-3.5",
662
662
  emojiClassName: "text-xs"