@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,101 +1,101 @@
1
1
  import { usePageTitle as e } from "../../../lib/pageTitle.js";
2
2
  import { Link as t, useNavigate as n } from "../../../lib/router.js";
3
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 { Route as d } from "./_doc.js";
5
- import { CommentIcon as f, StatusIcon as p } from "../../../components/icons.js";
6
- import { termRef as m } from "../../../lib/knowledgeKinds.js";
7
- import { copyItem as ee } from "../../../lib/menus.js";
8
- import { docKey as te, docPath as ne, docRef as h, docURL as re, useDocActions as ie, useDocMenu as ae } from "../../../lib/docs.js";
9
- import { headingAnchor as oe } from "../../../lib/glossary.js";
10
- import { useTime as se } from "../../../lib/time.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";
11
10
  import { usePeople as ce } from "../../../lib/people.js";
11
+ import { useTime as h } from "../../../lib/time.js";
12
12
  import { issueURL as le, useIssueMenu as g } from "../../../lib/issueMenu.js";
13
- import { useNewIssue as ue } from "../../../lib/newIssue.js";
14
- import { rememberPage as de } from "../../../lib/recent.js";
15
13
  import { DocIcon as _ } from "../../../components/DocIcon.js";
14
+ import { DocProperties as ue } from "../../../components/DocProperties.js";
16
15
  import { PersonHoverCard as v } from "../../../components/PersonHoverCard.js";
17
- import { DocProperties as fe } from "../../../components/DocProperties.js";
18
- import { Editor as pe } from "../../../components/Editor.js";
19
- import { useOthersOn as me, useReportLocation as he } from "../../../lib/live.js";
16
+ import { Editor as de } from "../../../components/Editor.js";
20
17
  import { AnsweredDecision as y, DecisionCard as b } from "../../../components/AgentWork.js";
21
- import { DocCover as ge, DocLookControls as _e } from "../../../components/DocLook.js";
22
- import { FavoriteStar as ve } from "../../../components/FavoriteStar.js";
23
- import { AreaSelect as ye } from "../../../components/AreaSelect.js";
24
- import { caretColor as x, useCollabSession as S } from "../../../lib/collab.js";
25
- import { CollabEditor as C } from "../../../components/CollabEditor.js";
26
- import { DocComments as be, useOpenThreads as xe } from "../../../components/DocComments.js";
27
- import { DocHistory as Se, DocVersion as Ce } from "../../../components/DocHistory.js";
28
- import { DocOutline as we } from "../../../components/DocOutline.js";
29
- import { Connections as Te } from "../../../components/Graph.js";
30
- import { FieldNote as Ee, Viewers as De } from "../../../components/Presence.js";
31
- import { UnlinkedMentions as Oe, useUnlinkedMentions as ke } from "../../../components/UnlinkedMentions.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 je, useRef as M, useState as N } from "react";
34
- import { useErrorMessage as Me } from "@parallelworks/problem/react";
35
- import { useTranslations as P } from "use-intl";
36
- import { Fragment as F, jsx as I, jsxs as L } from "react/jsx-runtime";
37
- import { useQuery as R, useSuspenseQuery as z } from "@tanstack/react-query";
38
- import { MoreButton as Ne } from "@parallelworks/ui/list";
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";
34
+ import { useErrorMessage as je } from "@parallelworks/problem/react";
35
+ import { useTranslations as F } from "use-intl";
36
+ import { Fragment as I, jsx as L, jsxs as R } from "react/jsx-runtime";
37
+ import { useQuery as z, useSuspenseQuery as B } from "@tanstack/react-query";
38
+ import { MoreButton as Me } from "@parallelworks/ui/list";
39
39
  // src/routes/$workspace/docs/$doc.tsx?tsr-split=component
40
- var Pe = 120;
41
- function B() {
42
- let t = P("docs"), r = P("common"), i = Me(), { workspace: a, doc: s } = d.useParams(), { rename: f } = d.useSearch(), { data: p } = z(o(a, te(s))), m = p.key, { data: se } = z(l(a)), { data: ce } = z(c), g = se.find((e) => e.id === p.teamId), { data: _ } = z(u(a)), [v, y] = N();
43
- he({
44
- doc: p.key,
40
+ var Ne = 120;
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
45
  ...v && { field: v }
46
- }), e(p.title || t("untitled"), g?.name);
47
- let b = me({ doc: p.key }, ce?.user.username);
48
- j(() => {
49
- de(a, {
46
+ }), e(m.title || t("untitled"), g?.name);
47
+ let b = he({ doc: m.key }, h?.user.username);
48
+ M(() => {
49
+ me(a, {
50
50
  kind: "doc",
51
- href: ne(a, p),
52
- label: p.title
51
+ href: te(a, m),
52
+ label: m.title
53
53
  });
54
- }, [a, p]);
55
- let x = n(), S = A(), C = ae(a), w = ie(a), T = ue(), O = M(null), [k, je] = N(null), F = M(null), R = ke(a, p, k), [B, We] = N(""), V = M(null), [H, U] = N(!1), [Ge, W] = N(), G = xe(a, m), [K, q] = N(!1), [Ke, J] = N(!1), [qe, Y] = N(!1), [X, Z] = N();
56
- j(() => {
57
- (s !== h(p) || f) && x({
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({
58
58
  to: "/$workspace/docs/$doc",
59
59
  params: {
60
60
  workspace: a,
61
- doc: h(p)
61
+ doc: f(m)
62
62
  },
63
63
  search: {},
64
64
  replace: !0
65
65
  });
66
66
  }, [
67
67
  s,
68
- p,
68
+ m,
69
69
  a,
70
- f,
71
- x
70
+ p,
71
+ S
72
72
  ]);
73
- let Je = Ae((e) => {
74
- if (O.current = e, je(e), !e) return;
73
+ let Je = ke((e) => {
74
+ if (k.current = e, Ae(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 (oe(n.textContent ?? "") === t) {
77
+ for (let n of e.view.dom.querySelectorAll("h1, h2, h3, h4, h5, h6")) if (ae(n.textContent ?? "") === t) {
78
78
  n.scrollIntoView({ block: "start" });
79
79
  break;
80
80
  }
81
81
  }
82
82
  e.on("selectionUpdate", () => {
83
83
  let { from: t, to: n } = e.state.selection;
84
- We(t === n ? "" : e.state.doc.textBetween(t, n, "\n\n").trim());
84
+ Ue(t === n ? "" : e.state.doc.textBetween(t, n, "\n\n").trim());
85
85
  });
86
86
  }, []);
87
- j(() => {
88
- let e = O.current;
89
- if (!H || !B || !e) return;
87
+ M(() => {
88
+ let e = k.current;
89
+ if (!U || !V || !e) return;
90
90
  let { from: t, to: n } = e.state.selection, r = e.state.doc;
91
- W({
91
+ G({
92
92
  quote: r.textBetween(t, n, "\n").trim(),
93
93
  quotePrefix: r.textBetween(Math.max(0, t - 64), t, "\n"),
94
94
  quoteSuffix: r.textBetween(n, Math.min(r.content.size, n + 64), "\n")
95
95
  });
96
- }, [H, B]);
96
+ }, [U, V]);
97
97
  let Ye = (e) => {
98
- let t = O.current;
98
+ let t = k.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)) {
@@ -124,20 +124,20 @@ function B() {
124
124
  to: d
125
125
  }).scrollIntoView().run();
126
126
  }, Q = () => {
127
- let e = B;
127
+ let e = V;
128
128
  if (!e || !g) return;
129
129
  let n = e.split("\n").map((e) => e ? `> ${e}` : ">").join("\n");
130
- T({
130
+ E({
131
131
  team: g.key,
132
- title: (e.split("\n")[0] ?? "").slice(0, Pe),
132
+ title: (e.split("\n")[0] ?? "").slice(0, Ne),
133
133
  body: t("fromDoc", {
134
134
  quote: n,
135
- title: p.title,
136
- url: re(a, p)
135
+ title: m.title,
136
+ url: ne(a, m)
137
137
  }),
138
- origin: { doc: p.key },
138
+ origin: { doc: m.key },
139
139
  onCreated: (e) => {
140
- let t = O.current;
140
+ let t = k.current;
141
141
  t && t.chain().insertContentAt(t.state.selection.to, [{
142
142
  type: "text",
143
143
  text: " "
@@ -151,240 +151,240 @@ function B() {
151
151
  }]).run();
152
152
  }
153
153
  });
154
- }, Xe = p.ancestors ?? [], $ = !!p.archivedAt;
155
- return /* @__PURE__ */ L("div", {
154
+ }, Xe = m.ancestors ?? [], $ = !!m.archivedAt;
155
+ return /* @__PURE__ */ R("div", {
156
156
  className: "flex h-full flex-col",
157
- children: [/* @__PURE__ */ L("header", {
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) => S(e, C(p, { onRename: () => V.current?.focus() })),
159
+ onContextMenu: (e) => C(e, w(m, { onRename: () => H.current?.focus() })),
160
160
  children: [
161
- /* @__PURE__ */ I(He, {
161
+ /* @__PURE__ */ L(Ve, {
162
162
  workspace: a,
163
- doc: p,
163
+ doc: m,
164
164
  path: Xe,
165
165
  space: g?.name ?? _.name
166
166
  }),
167
- /* @__PURE__ */ I(ve, {
167
+ /* @__PURE__ */ L(_e, {
168
168
  workspace: a,
169
169
  kind: "doc",
170
- target: p.id
170
+ target: m.id
171
171
  }),
172
- /* @__PURE__ */ L("span", {
172
+ /* @__PURE__ */ R("span", {
173
173
  className: "ml-auto flex shrink-0 items-center gap-3",
174
174
  children: [
175
- B && !$ && /* @__PURE__ */ I(E, {
175
+ V && !$ && /* @__PURE__ */ L(D, {
176
176
  type: "button",
177
177
  size: "sm",
178
178
  onMouseDown: (e) => e.preventDefault(),
179
179
  onClick: Q,
180
180
  children: t("createIssue")
181
181
  }),
182
- w.rename.isPending && /* @__PURE__ */ I("span", {
182
+ T.rename.isPending && /* @__PURE__ */ L("span", {
183
183
  className: "text-xs text-muted-foreground",
184
184
  children: r("saving")
185
185
  }),
186
- /* @__PURE__ */ I(De, {
186
+ /* @__PURE__ */ L(Ee, {
187
187
  workspace: a,
188
188
  others: b
189
189
  }),
190
- /* @__PURE__ */ L(E, {
190
+ /* @__PURE__ */ R(D, {
191
191
  type: "button",
192
192
  size: "sm",
193
- "aria-pressed": H,
193
+ "aria-pressed": U,
194
194
  onClick: () => {
195
- U((e) => !e), W(void 0), q(!1), J(!1), Y(!1);
195
+ W((e) => !e), G(void 0), q(!1), J(!1), Y(!1);
196
196
  },
197
- ...G > 0 && { "aria-label": t("commentsCount", { count: G }) },
197
+ ...K > 0 && { "aria-label": t("commentsCount", { count: K }) },
198
198
  className: "relative aria-pressed:bg-muted max-md:hidden",
199
- children: [t("comments"), /* @__PURE__ */ I(Ue, { count: G })]
199
+ children: [t("comments"), /* @__PURE__ */ L(He, { count: K })]
200
200
  }),
201
- /* @__PURE__ */ I(E, {
201
+ /* @__PURE__ */ L(D, {
202
202
  type: "button",
203
203
  size: "sm",
204
- "aria-pressed": K,
204
+ "aria-pressed": Ge,
205
205
  onClick: () => {
206
- q((e) => !e), Z(void 0), U(!1), J(!1), Y(!1);
206
+ q((e) => !e), Z(void 0), W(!1), J(!1), Y(!1);
207
207
  },
208
208
  className: "aria-pressed:bg-muted max-md:hidden",
209
209
  children: t("history")
210
210
  }),
211
- !$ && /* @__PURE__ */ L(E, {
211
+ !$ && /* @__PURE__ */ R(D, {
212
212
  type: "button",
213
213
  size: "sm",
214
214
  "aria-pressed": Ke,
215
215
  onClick: () => {
216
- J((e) => !e), U(!1), q(!1), Z(void 0), Y(!1);
216
+ J((e) => !e), W(!1), q(!1), Z(void 0), Y(!1);
217
217
  },
218
- ...R.length > 0 && { "aria-label": t("unlinkedCount", { count: R.length }) },
218
+ ...z.length > 0 && { "aria-label": t("unlinkedCount", { count: z.length }) },
219
219
  className: "relative aria-pressed:bg-muted max-md:hidden",
220
- children: [t("links"), /* @__PURE__ */ I(Ue, { count: R.length })]
220
+ children: [t("links"), /* @__PURE__ */ L(He, { count: z.length })]
221
221
  }),
222
- !$ && /* @__PURE__ */ I(E, {
222
+ !$ && /* @__PURE__ */ L(D, {
223
223
  type: "button",
224
224
  size: "sm",
225
225
  "aria-pressed": qe,
226
226
  onClick: () => {
227
- Y((e) => !e), U(!1), q(!1), Z(void 0), J(!1);
227
+ Y((e) => !e), W(!1), q(!1), Z(void 0), J(!1);
228
228
  },
229
229
  className: "aria-pressed:bg-muted max-md:hidden",
230
230
  children: t("graph")
231
231
  }),
232
- /* @__PURE__ */ I(Ne, {
233
- items: () => C(p, { onRename: () => V.current?.focus() }),
234
- label: r("moreActionsFor", { name: p.title }),
232
+ /* @__PURE__ */ L(Me, {
233
+ items: () => w(m, { onRename: () => H.current?.focus() }),
234
+ label: r("moreActionsFor", { name: m.title }),
235
235
  visible: !0
236
236
  })
237
237
  ]
238
238
  })
239
239
  ]
240
- }), /* @__PURE__ */ L("div", {
240
+ }), /* @__PURE__ */ R("div", {
241
241
  className: "flex min-h-0 flex-1",
242
242
  children: [
243
- /* @__PURE__ */ L("div", {
244
- ref: F,
243
+ /* @__PURE__ */ R("div", {
244
+ ref: I,
245
245
  className: "min-h-0 flex-1 overflow-y-auto",
246
- children: [!X && /* @__PURE__ */ I(ge, {
246
+ children: [!X && /* @__PURE__ */ L(fe, {
247
247
  workspace: a,
248
- doc: p,
248
+ doc: m,
249
249
  editable: !$
250
- }), /* @__PURE__ */ L("div", {
250
+ }), /* @__PURE__ */ R("div", {
251
251
  className: "flex w-full gap-10 px-4 pt-6 md:px-8 md:pt-8",
252
- children: [/* @__PURE__ */ L("article", {
253
- className: `group/doc min-w-0 flex-1 pb-24 ${p.fullWidth ? "" : "mx-auto max-w-3xl"}`,
252
+ children: [/* @__PURE__ */ R("article", {
253
+ className: `group/doc min-w-0 flex-1 pb-24 ${m.fullWidth ? "" : "mx-auto max-w-3xl"}`,
254
254
  children: [
255
- $ && /* @__PURE__ */ L("div", {
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
- children: [/* @__PURE__ */ I("span", {
257
+ children: [/* @__PURE__ */ L("span", {
258
258
  className: "flex-1",
259
259
  children: t("archivedNotice")
260
- }), /* @__PURE__ */ I(E, {
260
+ }), /* @__PURE__ */ L(D, {
261
261
  type: "button",
262
262
  variant: "primary",
263
263
  size: "sm",
264
- onClick: () => w.restore.mutate(p),
264
+ onClick: () => T.restore.mutate(m),
265
265
  children: t("restore")
266
266
  })]
267
267
  }),
268
- /* @__PURE__ */ I(_e, {
268
+ /* @__PURE__ */ L(pe, {
269
269
  workspace: a,
270
- doc: p,
270
+ doc: m,
271
271
  editable: !$ && !X
272
272
  }),
273
- /* @__PURE__ */ I(Fe, {
274
- doc: p,
275
- input: V,
276
- autoFocus: !!f,
273
+ /* @__PURE__ */ L(Pe, {
274
+ doc: m,
275
+ input: H,
276
+ autoFocus: !!p,
277
277
  readOnly: $,
278
278
  onFocus: () => y("title"),
279
279
  onBlur: () => y(void 0),
280
- onSave: (e) => w.rename.mutate({
281
- doc: p,
280
+ onSave: (e) => T.rename.mutate({
281
+ doc: m,
282
282
  title: e
283
283
  })
284
- }, p.id),
285
- /* @__PURE__ */ I(Ee, {
284
+ }, m.id),
285
+ /* @__PURE__ */ L(Te, {
286
286
  workspace: a,
287
287
  others: b,
288
288
  field: "title"
289
289
  }),
290
- w.rename.isError && /* @__PURE__ */ I(D, {
290
+ T.rename.isError && /* @__PURE__ */ L(O, {
291
291
  className: "mt-1",
292
- children: i(w.rename.error)
292
+ children: i(T.rename.error)
293
293
  }),
294
- /* @__PURE__ */ L("div", {
294
+ /* @__PURE__ */ R("div", {
295
295
  className: "mt-2 flex flex-wrap items-center gap-x-3 gap-y-1",
296
- children: [/* @__PURE__ */ I(Ie, {
296
+ children: [/* @__PURE__ */ L(Fe, {
297
297
  workspace: a,
298
- doc: p
299
- }), /* @__PURE__ */ I(ye, {
298
+ doc: m
299
+ }), /* @__PURE__ */ L(ve, {
300
300
  workspace: a,
301
- teamId: p.teamId,
302
- value: p.areaId,
303
- onChange: (e) => w.fileUnder.mutate({
304
- doc: p,
301
+ teamId: m.teamId,
302
+ value: m.areaId,
303
+ onChange: (e) => T.fileUnder.mutate({
304
+ doc: m,
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__ */ I(fe, {
311
+ !X && /* @__PURE__ */ L(ue, {
312
312
  workspace: a,
313
- doc: p,
313
+ doc: m,
314
314
  space: g?.key ?? "workspace",
315
315
  editable: !$
316
316
  }),
317
- /* @__PURE__ */ I("div", {
318
- onContextMenu: (e) => B && !$ && S(e, [{
317
+ /* @__PURE__ */ L("div", {
318
+ onContextMenu: (e) => V && !$ && C(e, [{
319
319
  label: t("createIssue"),
320
320
  onClick: Q
321
- }, ee(t("copySelection"), B)]),
322
- children: X ? /* @__PURE__ */ I(Ce, {
321
+ }, d(t("copySelection"), V)]),
322
+ children: X ? /* @__PURE__ */ L(Se, {
323
323
  workspace: a,
324
- doc: p,
324
+ doc: m,
325
325
  versionId: X,
326
326
  onDone: () => Z(void 0)
327
- }) : $ ? /* @__PURE__ */ I("div", {
327
+ }) : $ ? /* @__PURE__ */ L("div", {
328
328
  className: "mt-4",
329
- children: /* @__PURE__ */ I(pe, {
330
- value: p.body ?? "",
329
+ children: /* @__PURE__ */ L(de, {
330
+ value: m.body ?? "",
331
331
  editable: !1,
332
332
  className: "min-h-32"
333
333
  })
334
- }) : /* @__PURE__ */ I(Le, {
334
+ }) : /* @__PURE__ */ L(Ie, {
335
335
  workspace: a,
336
- doc: p,
336
+ doc: m,
337
337
  onEditor: Je,
338
338
  onFocus: () => y("body"),
339
339
  onBlur: () => y(void 0)
340
340
  })
341
341
  }),
342
- /* @__PURE__ */ I(ze, {
342
+ /* @__PURE__ */ L(Re, {
343
343
  workspace: a,
344
- docKey: p.key
344
+ docKey: m.key
345
345
  }),
346
- /* @__PURE__ */ I(Be, {
346
+ /* @__PURE__ */ L(ze, {
347
347
  workspace: a,
348
- docKey: p.key
348
+ docKey: m.key
349
349
  }),
350
- /* @__PURE__ */ I(Re, {
350
+ /* @__PURE__ */ L(Le, {
351
351
  workspace: a,
352
- docKey: p.key
352
+ docKey: m.key
353
353
  }),
354
- /* @__PURE__ */ I(Ve, {
354
+ /* @__PURE__ */ L(Be, {
355
355
  workspace: a,
356
- docKey: p.key
356
+ docKey: m.key
357
357
  })
358
358
  ]
359
- }), !$ && !X && /* @__PURE__ */ I(we, {
360
- editor: k,
361
- scroller: F
359
+ }), !$ && !X && /* @__PURE__ */ L(Ce, {
360
+ editor: A,
361
+ scroller: I
362
362
  })]
363
363
  })]
364
364
  }),
365
- H && /* @__PURE__ */ I(be, {
365
+ U && /* @__PURE__ */ L(ye, {
366
366
  workspace: a,
367
- doc: p,
368
- draft: Ge,
369
- onDraftDone: () => W(void 0),
367
+ doc: m,
368
+ draft: We,
369
+ onDraftDone: () => G(void 0),
370
370
  onShowQuote: Ye
371
371
  }),
372
- K && /* @__PURE__ */ I(Se, {
372
+ Ge && /* @__PURE__ */ L(xe, {
373
373
  workspace: a,
374
- doc: p,
374
+ doc: m,
375
375
  selected: X,
376
376
  onSelect: Z
377
377
  }),
378
- Ke && !$ && /* @__PURE__ */ I(Oe, {
379
- editor: k,
380
- suggestions: R
378
+ Ke && !$ && /* @__PURE__ */ L(De, {
379
+ editor: A,
380
+ suggestions: z
381
381
  }),
382
- qe && !$ && /* @__PURE__ */ I("aside", {
382
+ qe && !$ && /* @__PURE__ */ L("aside", {
383
383
  "aria-label": t("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__ */ I(Te, {
385
+ children: /* @__PURE__ */ L(we, {
386
386
  workspace: a,
387
- of: { doc: p.key },
387
+ of: { doc: m.key },
388
388
  width: 352
389
389
  })
390
390
  })
@@ -392,12 +392,12 @@ function B() {
392
392
  })]
393
393
  });
394
394
  }
395
- function Fe({ doc: e, input: t, autoFocus: n, readOnly: r, onSave: i, onFocus: a, onBlur: o }) {
396
- let s = P("docs");
397
- return /* @__PURE__ */ L(F, { children: [/* @__PURE__ */ I("h1", {
395
+ function Pe({ doc: e, input: t, autoFocus: n, readOnly: r, onSave: i, onFocus: a, onBlur: o }) {
396
+ let s = F("docs");
397
+ return /* @__PURE__ */ R(I, { children: [/* @__PURE__ */ L("h1", {
398
398
  className: "sr-only",
399
399
  children: e.title
400
- }), /* @__PURE__ */ I(O, {
400
+ }), /* @__PURE__ */ L(k, {
401
401
  ref: t,
402
402
  value: e.title,
403
403
  onCommit: i,
@@ -408,15 +408,15 @@ function Fe({ doc: e, input: t, autoFocus: n, readOnly: r, onSave: i, onFocus: a
408
408
  "aria-label": s("docTitle")
409
409
  })] });
410
410
  }
411
- function Ie({ workspace: e, doc: t }) {
412
- let n = P("docs"), r = se(), { actorName: i, person: a, avatarOf: o } = ce(e), s = i(t.editor);
413
- return /* @__PURE__ */ L("p", {
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);
413
+ return /* @__PURE__ */ R("p", {
414
414
  className: "flex items-center gap-1.5 text-xs text-muted-foreground",
415
- children: [/* @__PURE__ */ I(v, {
415
+ children: [/* @__PURE__ */ L(v, {
416
416
  workspace: e,
417
417
  kind: t.editor.kind,
418
418
  handle: t.editor.handle,
419
- children: /* @__PURE__ */ I(w, {
419
+ children: /* @__PURE__ */ L(T, {
420
420
  kind: t.editor.kind === "agent" ? "agent" : "person",
421
421
  name: s,
422
422
  src: o(t.editor.kind, t.editor.handle),
@@ -426,9 +426,9 @@ function Ie({ 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__ */ I(k, {
429
+ when: (e) => /* @__PURE__ */ L(A, {
430
430
  content: r.full(t.updatedAt),
431
- children: /* @__PURE__ */ I("time", {
431
+ children: /* @__PURE__ */ L("time", {
432
432
  dateTime: t.updatedAt,
433
433
  children: e
434
434
  })
@@ -436,23 +436,23 @@ function Ie({ workspace: e, doc: t }) {
436
436
  })]
437
437
  });
438
438
  }
439
- function Le({ workspace: e, doc: t, onEditor: n, onFocus: r, onBlur: i }) {
440
- let a = P("docs"), { data: o } = z(c), s = M(null), l = je(() => ({
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
441
  name: o?.user.name ?? a("someone"),
442
- color: x(o?.user.username ?? "")
442
+ color: S(o?.user.username ?? "")
443
443
  }), [
444
444
  o?.user.name,
445
445
  o?.user.username,
446
446
  a
447
- ]), { session: u, error: d } = S({
447
+ ]), { session: u, error: d } = C({
448
448
  workspace: e,
449
449
  target: { doc: t.key },
450
450
  user: l,
451
451
  getMarkdown: s
452
452
  });
453
- return /* @__PURE__ */ L("div", {
453
+ return /* @__PURE__ */ R("div", {
454
454
  className: "mt-6 min-h-48",
455
- children: [u ? /* @__PURE__ */ I(C, {
455
+ children: [u ? /* @__PURE__ */ L(w, {
456
456
  session: u,
457
457
  user: l,
458
458
  getMarkdown: s,
@@ -462,27 +462,27 @@ function Le({ workspace: e, doc: t, onEditor: n, onFocus: r, onBlur: i }) {
462
462
  placeholder: a("bodyPlaceholder"),
463
463
  label: a("body"),
464
464
  className: "min-h-48"
465
- }, `${u.generation}:${u.doc.guid}`) : /* @__PURE__ */ I(pe, {
465
+ }, `${u.generation}:${u.doc.guid}`) : /* @__PURE__ */ L(de, {
466
466
  value: t.body ?? "",
467
467
  editable: !1,
468
468
  className: "min-h-48"
469
- }), /* @__PURE__ */ I(D, {
469
+ }), /* @__PURE__ */ L(O, {
470
470
  className: "mt-1",
471
471
  children: d
472
472
  })]
473
473
  });
474
474
  }
475
- function Re({ workspace: e, docKey: n }) {
476
- let r = P("docs"), { data: i } = z(a(e, n)), o = A(), s = g(e);
477
- return i.length === 0 ? null : /* @__PURE__ */ L("section", {
475
+ function Le({ workspace: e, docKey: n }) {
476
+ let r = F("docs"), { data: i } = B(a(e, n)), o = j(), s = g(e);
477
+ return i.length === 0 ? null : /* @__PURE__ */ R("section", {
478
478
  className: "mt-10",
479
479
  "aria-label": r("linkedIssues"),
480
- children: [/* @__PURE__ */ I("h2", {
480
+ children: [/* @__PURE__ */ L("h2", {
481
481
  className: "text-base font-semibold",
482
482
  children: r("linkedIssues")
483
- }), /* @__PURE__ */ I("ul", {
483
+ }), /* @__PURE__ */ L("ul", {
484
484
  className: "mt-2 space-y-0.5",
485
- children: i.map((n) => /* @__PURE__ */ I("li", { children: /* @__PURE__ */ L(t, {
485
+ children: i.map((n) => /* @__PURE__ */ L("li", { children: /* @__PURE__ */ R(t, {
486
486
  to: "/$workspace/issues/$identifier",
487
487
  params: {
488
488
  workspace: e,
@@ -491,12 +491,12 @@ function Re({ workspace: e, docKey: n }) {
491
491
  onContextMenu: (e) => o(e, s([n])),
492
492
  className: "flex h-8 items-center gap-2 rounded-md px-2 text-sm hover:bg-muted",
493
493
  children: [
494
- /* @__PURE__ */ I(p, { category: n.status.category }),
495
- /* @__PURE__ */ I("span", {
494
+ /* @__PURE__ */ L(m, { category: n.status.category }),
495
+ /* @__PURE__ */ L("span", {
496
496
  className: "shrink-0 text-muted-foreground",
497
497
  children: n.identifier
498
498
  }),
499
- /* @__PURE__ */ I("span", {
499
+ /* @__PURE__ */ L("span", {
500
500
  className: "truncate",
501
501
  children: n.title
502
502
  })
@@ -505,27 +505,27 @@ function Re({ workspace: e, docKey: n }) {
505
505
  })]
506
506
  });
507
507
  }
508
- function ze({ workspace: e, docKey: n }) {
509
- let r = P("docs"), { data: i = [] } = R(s(e, n));
510
- return i.length === 0 ? null : /* @__PURE__ */ L("section", {
508
+ function Re({ workspace: e, docKey: n }) {
509
+ let r = F("docs"), { data: i = [] } = z(s(e, n));
510
+ return i.length === 0 ? null : /* @__PURE__ */ R("section", {
511
511
  className: "mt-10 rounded-lg border border-warning/60 px-4 py-3",
512
512
  "aria-label": r("lostSections"),
513
513
  children: [
514
- /* @__PURE__ */ I("h2", {
514
+ /* @__PURE__ */ L("h2", {
515
515
  className: "text-sm font-semibold",
516
516
  children: r("lostSections")
517
517
  }),
518
- /* @__PURE__ */ I("p", {
518
+ /* @__PURE__ */ L("p", {
519
519
  className: "mt-1 text-xs text-muted-foreground",
520
520
  children: r("lostSectionsHelp")
521
521
  }),
522
- /* @__PURE__ */ I("ul", {
522
+ /* @__PURE__ */ L("ul", {
523
523
  className: "mt-2 space-y-1 text-sm",
524
- children: i.map((n) => /* @__PURE__ */ I("li", { children: /* @__PURE__ */ I(t, {
524
+ children: i.map((n) => /* @__PURE__ */ L("li", { children: /* @__PURE__ */ L(t, {
525
525
  to: "/$workspace/knowledge/$term",
526
526
  params: {
527
527
  workspace: e,
528
- term: m(n)
528
+ term: oe(n)
529
529
  },
530
530
  className: "hover:underline",
531
531
  children: r("lostSection", {
@@ -537,54 +537,54 @@ function ze({ workspace: e, docKey: n }) {
537
537
  ]
538
538
  });
539
539
  }
540
- function Be({ workspace: e, docKey: t }) {
541
- let n = P("docs"), { data: r } = z(i(e, t)), a = r.filter((e) => !e.canceled);
542
- return a.length === 0 ? null : /* @__PURE__ */ L("section", {
540
+ function ze({ workspace: e, docKey: t }) {
541
+ let n = F("docs"), { data: r } = B(i(e, t)), a = r.filter((e) => !e.canceled);
542
+ return a.length === 0 ? null : /* @__PURE__ */ R("section", {
543
543
  className: "mt-10 space-y-3",
544
544
  "aria-label": n("questions"),
545
- children: [/* @__PURE__ */ I("h2", {
545
+ children: [/* @__PURE__ */ L("h2", {
546
546
  className: "text-sm font-semibold",
547
547
  children: n("questions")
548
- }), a.map((t) => t.answer ? /* @__PURE__ */ I(y, {
548
+ }), a.map((t) => t.answer ? /* @__PURE__ */ L(y, {
549
549
  workspace: e,
550
550
  decision: t,
551
551
  showIssue: !0
552
- }, t.id) : /* @__PURE__ */ I(b, {
552
+ }, t.id) : /* @__PURE__ */ L(b, {
553
553
  workspace: e,
554
554
  decision: t,
555
555
  showIssue: !0
556
556
  }, t.id))]
557
557
  });
558
558
  }
559
- function Ve({ workspace: e, docKey: n }) {
560
- let i = P("docs"), { data: a } = z(r(e, n)), o = A(), s = ae(e), c = g(e), l = "flex h-8 items-center gap-2 rounded-md px-2 text-sm hover:bg-muted";
561
- return a.docs.length + a.issues.length + a.comments.length === 0 ? null : /* @__PURE__ */ L("section", {
559
+ function Be({ workspace: e, docKey: n }) {
560
+ 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";
561
+ return a.docs.length + a.issues.length + a.comments.length === 0 ? null : /* @__PURE__ */ R("section", {
562
562
  className: "mt-10",
563
563
  "aria-label": i("linkedFrom"),
564
- children: [/* @__PURE__ */ I("h2", {
564
+ children: [/* @__PURE__ */ L("h2", {
565
565
  className: "text-base font-semibold",
566
566
  children: i("linkedFrom")
567
- }), /* @__PURE__ */ L("ul", {
567
+ }), /* @__PURE__ */ R("ul", {
568
568
  className: "mt-2 space-y-0.5",
569
569
  children: [
570
- a.docs.map((n) => /* @__PURE__ */ I("li", { children: /* @__PURE__ */ L(t, {
570
+ a.docs.map((n) => /* @__PURE__ */ L("li", { children: /* @__PURE__ */ R(t, {
571
571
  to: "/$workspace/docs/$doc",
572
572
  params: {
573
573
  workspace: e,
574
- doc: h(n)
574
+ doc: f(n)
575
575
  },
576
576
  onContextMenu: (e) => o(e, s(n)),
577
577
  className: l,
578
- children: [/* @__PURE__ */ I(_, {
578
+ children: [/* @__PURE__ */ L(_, {
579
579
  icon: n.icon,
580
580
  className: "size-3.5",
581
581
  emojiClassName: "text-xs"
582
- }), /* @__PURE__ */ I("span", {
582
+ }), /* @__PURE__ */ L("span", {
583
583
  className: "truncate",
584
584
  children: n.title
585
585
  })]
586
586
  }) }, n.id)),
587
- a.issues.map((n) => /* @__PURE__ */ I("li", { children: /* @__PURE__ */ L(t, {
587
+ a.issues.map((n) => /* @__PURE__ */ L("li", { children: /* @__PURE__ */ R(t, {
588
588
  to: "/$workspace/issues/$identifier",
589
589
  params: {
590
590
  workspace: e,
@@ -593,18 +593,18 @@ function Ve({ workspace: e, docKey: n }) {
593
593
  onContextMenu: (e) => o(e, c([n])),
594
594
  className: l,
595
595
  children: [
596
- /* @__PURE__ */ I(p, { category: n.status.category }),
597
- /* @__PURE__ */ I("span", {
596
+ /* @__PURE__ */ L(m, { category: n.status.category }),
597
+ /* @__PURE__ */ L("span", {
598
598
  className: "shrink-0 text-muted-foreground",
599
599
  children: n.identifier
600
600
  }),
601
- /* @__PURE__ */ I("span", {
601
+ /* @__PURE__ */ L("span", {
602
602
  className: "truncate",
603
603
  children: n.title
604
604
  })
605
605
  ]
606
606
  }) }, n.id)),
607
- a.comments.map((n) => /* @__PURE__ */ I("li", { children: /* @__PURE__ */ L(t, {
607
+ a.comments.map((n) => /* @__PURE__ */ L("li", { children: /* @__PURE__ */ R(t, {
608
608
  to: "/$workspace/issues/$identifier",
609
609
  params: {
610
610
  workspace: e,
@@ -613,12 +613,12 @@ function Ve({ workspace: e, docKey: n }) {
613
613
  hash: `comment-${n.comment.id}`,
614
614
  className: l,
615
615
  children: [
616
- /* @__PURE__ */ I(f, { className: "size-3.5 text-muted-foreground" }),
617
- /* @__PURE__ */ I("span", {
616
+ /* @__PURE__ */ L(p, { className: "size-3.5 text-muted-foreground" }),
617
+ /* @__PURE__ */ L("span", {
618
618
  className: "shrink-0 text-muted-foreground",
619
619
  children: i("commentOn", { identifier: n.identifier })
620
620
  }),
621
- /* @__PURE__ */ I("span", {
621
+ /* @__PURE__ */ L("span", {
622
622
  className: "truncate",
623
623
  children: n.issueTitle
624
624
  })
@@ -628,9 +628,9 @@ function Ve({ workspace: e, docKey: n }) {
628
628
  })]
629
629
  });
630
630
  }
631
- function He({ workspace: e, doc: t, path: n, space: r }) {
632
- let i = P("docs");
633
- return /* @__PURE__ */ I(T, {
631
+ function Ve({ workspace: e, doc: t, path: n, space: r }) {
632
+ let i = F("docs");
633
+ return /* @__PURE__ */ L(E, {
634
634
  label: i("breadcrumbs"),
635
635
  className: "min-w-0",
636
636
  crumbs: [
@@ -641,8 +641,8 @@ function He({ workspace: e, doc: t, path: n, space: r }) {
641
641
  { label: r },
642
642
  ...n.map((t) => ({
643
643
  label: t.title,
644
- href: `/${e}/docs/${h(t)}`,
645
- icon: t.icon && /* @__PURE__ */ I(_, {
644
+ href: `/${e}/docs/${f(t)}`,
645
+ icon: t.icon && /* @__PURE__ */ L(_, {
646
646
  icon: t.icon,
647
647
  className: "size-3.5",
648
648
  emojiClassName: "text-xs"
@@ -650,7 +650,7 @@ function He({ workspace: e, doc: t, path: n, space: r }) {
650
650
  })),
651
651
  {
652
652
  label: t.title,
653
- icon: t.icon && /* @__PURE__ */ I(_, {
653
+ icon: t.icon && /* @__PURE__ */ L(_, {
654
654
  icon: t.icon,
655
655
  className: "size-3.5",
656
656
  emojiClassName: "text-xs"
@@ -659,11 +659,11 @@ function He({ workspace: e, doc: t, path: n, space: r }) {
659
659
  ]
660
660
  });
661
661
  }
662
- function Ue({ count: e }) {
663
- return e <= 0 ? null : /* @__PURE__ */ I("span", {
662
+ function He({ count: e }) {
663
+ return e <= 0 ? null : /* @__PURE__ */ L("span", {
664
664
  "aria-hidden": !0,
665
665
  className: "pointer-events-none absolute -top-1.5 -right-1.5 flex h-4 min-w-4 items-center justify-center rounded-full bg-primary px-1 text-[10px] font-semibold text-primary-foreground tabular-nums",
666
666
  children: e > 99 ? "99+" : e
667
667
  });
668
668
  }
669
- export { B as component };
669
+ export { V as component };