@parallelworks/tandem-web 0.185.0 → 0.186.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,34 +1,35 @@
1
1
  import { teamsQuery as e, workspaceQuery as t } from "../../../api/queries.js";
2
2
  import { DocTable as n, groupable as r, listsTop as i, useSpaceDocs as a } from "../../../components/DocTable.js";
3
- import { AddIcon as o, BoardIcon as s, ListViewIcon as ee } from "../../../components/icons.js";
4
- import { docPropertiesQuery as c, docViewsQuery as l, readConfig as u, useDocPropertyActions as d } from "../../../lib/docProperties.js";
5
- import { useDocActions as f } from "../../../lib/docs.js";
6
- import { usePageTitle as p } from "../../../lib/pageTitle.js";
3
+ import { FavoriteStar as o } from "../../../components/FavoriteStar.js";
4
+ import { AddIcon as s, BoardIcon as c, ListViewIcon as l } from "../../../components/icons.js";
5
+ import { docPropertiesQuery as u, docViewsQuery as d, readConfig as f, useDocPropertyActions as ee } from "../../../lib/docProperties.js";
6
+ import { useDocActions as p } from "../../../lib/docs.js";
7
+ import { usePageTitle as te } from "../../../lib/pageTitle.js";
7
8
  import { usePeople as m } from "../../../lib/people.js";
8
9
  import { Route as h } from "./space._space.js";
9
10
  import { Breadcrumbs as g, Button as _, ErrorText as v, Input as y, Popover as b, SegmentedControl as x, Select as S, useClosePopover as C } from "@parallelworks/ui";
10
- import { useNavigate as te } from "@tanstack/react-router";
11
- import { useEffect as w, useState as T } from "react";
12
- import { useErrorMessage as E } from "@parallelworks/problem/react";
13
- import { useTranslations as D } from "use-intl";
14
- import { jsx as O, jsxs as k } from "react/jsx-runtime";
15
- import { useQuery as A, useSuspenseQuery as j } from "@tanstack/react-query";
11
+ import { useNavigate as ne } from "@tanstack/react-router";
12
+ import { useEffect as re, useState as w } from "react";
13
+ import { useErrorMessage as ie } from "@parallelworks/problem/react";
14
+ import { useTranslations as T } from "use-intl";
15
+ import { jsx as E, jsxs as D } from "react/jsx-runtime";
16
+ import { useQuery as O, useSuspenseQuery as k } from "@tanstack/react-query";
16
17
  // src/routes/$workspace/docs/space.$space.tsx?tsr-split=component
17
- function M() {
18
- let m = D("docViews"), b = E(), { workspace: C, space: M } = h.useParams(), { view: N } = h.useSearch(), ie = te(), P = (e) => ie({
18
+ function A() {
19
+ let m = T("docViews"), b = ie(), { workspace: C, space: A } = h.useParams(), N = T("favorites"), { view: P } = h.useSearch(), ae = ne(), F = (e) => ae({
19
20
  to: "/$workspace/docs/space/$space",
20
21
  params: {
21
22
  workspace: C,
22
- space: M
23
+ space: A
23
24
  },
24
25
  search: e ? { view: e } : {}
25
- }), { data: F } = j(e(C)), { data: I } = j(t(C)), L = M === "workspace" ? I.name : F.find((e) => e.key === M)?.name ?? M;
26
- p(m("title"), L);
27
- let { data: R = [] } = A(c(C, M)), { data: z = [] } = A(l(C, M)), B = d(C), V = z.find((e) => e.id === N), [H, U] = T("table"), [W, G] = T({}), [K, q] = T(""), J = D("docs"), Y = f(C);
28
- w(() => {
29
- V && (U(V.layout === "board" ? "board" : "table"), G(u(V.config)));
30
- }, [V]);
31
- let X = (e) => G(e), { used: Z } = a(C, M, W, i(H, K, W)), Q = R.filter((e) => Z.includes(e) || e.id === W.sort || W.columns?.includes(e.id)), ae = [
26
+ }), { data: I } = k(e(C)), { data: L } = k(t(C)), R = A === "workspace" ? L.name : I.find((e) => e.key === A)?.name ?? A;
27
+ te(m("title"), R);
28
+ let { data: z = [] } = O(u(C, A)), { data: B = [] } = O(d(C, A)), V = ee(C), H = B.find((e) => e.id === P), [U, W] = w("table"), [G, K] = w({}), [q, oe] = w(""), J = T("docs"), Y = p(C);
29
+ re(() => {
30
+ H && (W(H.layout === "board" ? "board" : "table"), K(f(H.config)));
31
+ }, [H]);
32
+ let X = (e) => K(e), { used: Z } = a(C, A, G, i(U, q, G)), Q = z.filter((e) => Z.includes(e) || e.id === G.sort || G.columns?.includes(e.id)), se = [
32
33
  {
33
34
  value: "title",
34
35
  label: m("docTitle")
@@ -41,117 +42,127 @@ function M() {
41
42
  value: e.id,
42
43
  label: e.name
43
44
  }))
44
- ], $ = B.saveView.error ?? B.updateView.error;
45
- return /* @__PURE__ */ k("div", {
45
+ ], $ = V.saveView.error ?? V.updateView.error;
46
+ return /* @__PURE__ */ D("div", {
46
47
  className: "flex h-full flex-col",
47
48
  children: [
48
- /* @__PURE__ */ k("header", {
49
+ /* @__PURE__ */ D("header", {
49
50
  className: "flex min-h-12 shrink-0 flex-wrap items-center gap-2 border-b border-border px-4 py-2 md:px-5",
50
51
  children: [
51
- /* @__PURE__ */ O(g, {
52
+ /* @__PURE__ */ E(g, {
52
53
  crumbs: [{
53
54
  label: m("docs"),
54
55
  href: `/${C}/docs`
55
- }, { label: L }],
56
- className: "min-w-0 flex-1"
56
+ }, { label: R }],
57
+ className: "min-w-0"
57
58
  }),
58
- /* @__PURE__ */ O(S, {
59
- value: N ?? "",
59
+ /* @__PURE__ */ E(o, {
60
+ workspace: C,
61
+ kind: "view",
62
+ target: `/${C}/docs/space/${encodeURIComponent(A)}`,
63
+ label: N("teamPage", {
64
+ team: R,
65
+ page: m("docs")
66
+ })
67
+ }),
68
+ /* @__PURE__ */ E("span", { className: "flex-1" }),
69
+ /* @__PURE__ */ E(S, {
70
+ value: P ?? "",
60
71
  items: [{
61
72
  value: "",
62
73
  label: m("unsaved")
63
- }, ...z.map((e) => ({
74
+ }, ...B.map((e) => ({
64
75
  value: e.id,
65
76
  label: e.name
66
77
  }))],
67
- onValueChange: (e) => P(e || void 0),
78
+ onValueChange: (e) => F(e || void 0),
68
79
  "aria-label": m("savedViews"),
69
80
  size: "sm",
70
81
  width: "content"
71
82
  }),
72
- V ? /* @__PURE__ */ O(_, {
83
+ H ? /* @__PURE__ */ E(_, {
73
84
  size: "sm",
74
- loading: B.updateView.isPending,
75
- onClick: () => B.updateView.mutate({
76
- id: V.id,
77
- layout: H,
78
- config: { ...W }
85
+ loading: V.updateView.isPending,
86
+ onClick: () => V.updateView.mutate({
87
+ id: H.id,
88
+ layout: U,
89
+ config: { ...G }
79
90
  }),
80
91
  children: m("update")
81
- }) : /* @__PURE__ */ O(re, {
92
+ }) : /* @__PURE__ */ E(M, {
82
93
  onSave: async (e) => {
83
- let t = await B.saveView.mutateAsync({
84
- space: M,
94
+ let t = await V.saveView.mutateAsync({
95
+ space: A,
85
96
  name: e,
86
- layout: H,
87
- config: { ...W }
97
+ layout: U,
98
+ config: { ...G }
88
99
  });
89
- P(t.id);
100
+ F(t.id);
90
101
  },
91
- pending: B.saveView.isPending
102
+ pending: V.saveView.isPending
92
103
  }),
93
- /* @__PURE__ */ O(_, {
104
+ /* @__PURE__ */ E(_, {
94
105
  variant: "primary",
95
106
  size: "sm",
96
- icon: /* @__PURE__ */ O(o, {}),
107
+ icon: /* @__PURE__ */ E(s, {}),
97
108
  loading: Y.create.isPending,
98
- onClick: () => Y.create.mutate(M === "workspace" ? {} : { team: M }),
109
+ onClick: () => Y.create.mutate(A === "workspace" ? {} : { team: A }),
99
110
  children: J("new")
100
111
  }),
101
- /* @__PURE__ */ O(x, {
112
+ /* @__PURE__ */ E(x, {
102
113
  label: m("layout"),
103
114
  size: "sm",
104
- value: H,
105
- onValueChange: U,
115
+ value: U,
116
+ onValueChange: W,
106
117
  options: [{
107
118
  value: "table",
108
119
  label: m("table"),
109
- icon: /* @__PURE__ */ O(ee, {})
120
+ icon: /* @__PURE__ */ E(l, {})
110
121
  }, {
111
122
  value: "board",
112
123
  label: m("board"),
113
- icon: /* @__PURE__ */ O(s, {})
124
+ icon: /* @__PURE__ */ E(c, {})
114
125
  }]
115
126
  })
116
127
  ]
117
128
  }),
118
- /* @__PURE__ */ k("div", {
129
+ /* @__PURE__ */ D("div", {
119
130
  className: "flex flex-wrap items-center gap-2 border-b border-border px-4 py-2 text-xs md:px-5",
120
131
  children: [
121
- /* @__PURE__ */ O(y, {
132
+ /* @__PURE__ */ E(y, {
122
133
  type: "search",
123
134
  size: "sm",
124
- value: K,
125
- onChange: (e) => q(e.target.value),
135
+ value: q,
136
+ onChange: (e) => oe(e.target.value),
126
137
  placeholder: J("search"),
127
138
  "aria-label": J("search"),
128
139
  className: "w-48"
129
140
  }),
130
- H === "board" ? /* @__PURE__ */ O(S, {
131
- value: W.groupBy ?? "",
141
+ U === "board" ? /* @__PURE__ */ E(S, {
142
+ value: G.groupBy ?? "",
132
143
  items: [{
133
144
  value: "",
134
145
  label: m("groupBy")
135
- }, ...R.filter(r).map((e) => ({
146
+ }, ...z.filter(r).map((e) => ({
136
147
  value: e.id,
137
148
  label: e.name
138
149
  }))],
139
150
  onValueChange: (e) => X({
140
- ...W,
151
+ ...G,
141
152
  ...e ? { groupBy: e } : { groupBy: void 0 }
142
153
  }),
143
154
  "aria-label": m("groupBy"),
144
155
  size: "sm",
145
156
  width: "content"
146
- }) : Q.length > 0 && /* @__PURE__ */ O(S, {
157
+ }) : Q.length > 0 && /* @__PURE__ */ E(S, {
147
158
  multiple: !0,
148
- value: W.columns ?? Z.map((e) => e.id),
159
+ value: G.columns ?? Z.map((e) => e.id),
149
160
  items: Q.map((e) => ({
150
161
  value: e.id,
151
162
  label: e.name
152
163
  })),
153
164
  onValueChange: (e) => X({
154
- ...W,
165
+ ...G,
155
166
  columns: e
156
167
  }),
157
168
  "aria-label": m("columns"),
@@ -159,59 +170,59 @@ function M() {
159
170
  size: "sm",
160
171
  width: "content"
161
172
  }),
162
- /* @__PURE__ */ O(S, {
163
- value: W.sort ?? "title",
164
- items: ae,
173
+ /* @__PURE__ */ E(S, {
174
+ value: G.sort ?? "title",
175
+ items: se,
165
176
  onValueChange: (e) => X({
166
- ...W,
177
+ ...G,
167
178
  sort: e
168
179
  }),
169
180
  "aria-label": m("sortBy"),
170
181
  size: "sm",
171
182
  width: "content"
172
183
  }),
173
- /* @__PURE__ */ O(_, {
184
+ /* @__PURE__ */ E(_, {
174
185
  size: "xs",
175
186
  variant: "ghost",
176
187
  onClick: () => X({
177
- ...W,
178
- desc: !W.desc
188
+ ...G,
189
+ desc: !G.desc
179
190
  }),
180
- children: W.desc ? m("descending") : m("ascending")
191
+ children: G.desc ? m("descending") : m("ascending")
181
192
  }),
182
- R.map((e) => /* @__PURE__ */ O(ne, {
193
+ z.map((e) => /* @__PURE__ */ E(j, {
183
194
  workspace: C,
184
195
  property: e,
185
- value: W.filters?.[e.id] ?? "",
196
+ value: G.filters?.[e.id] ?? "",
186
197
  onChange: (t) => {
187
- let n = { ...W.filters };
198
+ let n = { ...G.filters };
188
199
  t ? n[e.id] = t : delete n[e.id], X({
189
- ...W,
200
+ ...G,
190
201
  filters: n
191
202
  });
192
203
  }
193
204
  }, e.id)),
194
- $ && /* @__PURE__ */ O(v, {
205
+ $ && /* @__PURE__ */ E(v, {
195
206
  inline: !0,
196
207
  children: b($)
197
208
  })
198
209
  ]
199
210
  }),
200
- /* @__PURE__ */ O("div", {
211
+ /* @__PURE__ */ E("div", {
201
212
  className: "min-h-0 flex-1 overflow-y-auto",
202
- children: /* @__PURE__ */ O(n, {
213
+ children: /* @__PURE__ */ E(n, {
203
214
  workspace: C,
204
- space: M,
205
- layout: H,
206
- config: W,
207
- query: K
215
+ space: A,
216
+ layout: U,
217
+ config: G,
218
+ query: q
208
219
  })
209
220
  })
210
221
  ]
211
222
  });
212
223
  }
213
- function ne({ workspace: e, property: t, value: n, onChange: r }) {
214
- let i = D("docViews"), { members: a } = m(e), o = t.kind === "select" || t.kind === "multi_select" ? t.options.map((e) => ({
224
+ function j({ workspace: e, property: t, value: n, onChange: r }) {
225
+ let i = T("docViews"), { members: a } = m(e), o = t.kind === "select" || t.kind === "multi_select" ? t.options.map((e) => ({
215
226
  value: e.id ?? "",
216
227
  label: e.name
217
228
  })) : t.kind === "person" ? a.map((e) => ({
@@ -221,7 +232,7 @@ function ne({ workspace: e, property: t, value: n, onChange: r }) {
221
232
  value: "true",
222
233
  label: i("checked")
223
234
  }] : null;
224
- return o ? /* @__PURE__ */ O(S, {
235
+ return o ? /* @__PURE__ */ E(S, {
225
236
  value: n,
226
237
  items: [{
227
238
  value: "",
@@ -233,10 +244,10 @@ function ne({ workspace: e, property: t, value: n, onChange: r }) {
233
244
  width: "content"
234
245
  }) : null;
235
246
  }
236
- function re({ onSave: e, pending: t }) {
237
- let n = D("docViews");
238
- return /* @__PURE__ */ O(b, {
239
- trigger: /* @__PURE__ */ O(_, {
247
+ function M({ onSave: e, pending: t }) {
248
+ let n = T("docViews");
249
+ return /* @__PURE__ */ E(b, {
250
+ trigger: /* @__PURE__ */ E(_, {
240
251
  size: "sm",
241
252
  children: n("save")
242
253
  }),
@@ -244,25 +255,25 @@ function re({ onSave: e, pending: t }) {
244
255
  className: "w-64",
245
256
  initialFocus: "first-control",
246
257
  "aria-label": n("save"),
247
- children: /* @__PURE__ */ O(N, {
258
+ children: /* @__PURE__ */ E(N, {
248
259
  onSave: e,
249
260
  pending: t
250
261
  })
251
262
  });
252
263
  }
253
264
  function N({ onSave: e, pending: t }) {
254
- let n = D("docViews"), r = C(), [i, a] = T("");
255
- return /* @__PURE__ */ k("form", {
265
+ let n = T("docViews"), r = C(), [i, a] = w("");
266
+ return /* @__PURE__ */ D("form", {
256
267
  className: "space-y-2",
257
268
  onSubmit: (t) => {
258
269
  t.preventDefault(), i.trim() && (e(i.trim()), r());
259
270
  },
260
- children: [/* @__PURE__ */ O(y, {
271
+ children: [/* @__PURE__ */ E(y, {
261
272
  value: i,
262
273
  onChange: (e) => a(e.target.value),
263
274
  placeholder: n("viewName"),
264
275
  "aria-label": n("viewName")
265
- }), /* @__PURE__ */ O(_, {
276
+ }), /* @__PURE__ */ E(_, {
266
277
  type: "submit",
267
278
  size: "sm",
268
279
  variant: "primary",
@@ -272,4 +283,4 @@ function N({ onSave: e, pending: t }) {
272
283
  })]
273
284
  });
274
285
  }
275
- export { M as component };
286
+ export { A as component };
@@ -1,101 +1,110 @@
1
1
  import { kinds as e } from "./graph.js";
2
2
  import { teamsQuery as t, workspaceGraphQuery as n, workspaceQuery as r } from "../../api/queries.js";
3
- import { GraphDrawing as i, GraphList as a } from "../../components/Graph.js";
4
- import { usePageTitle as o } from "../../lib/pageTitle.js";
5
- import { Route as s } from "./graph2.js";
6
- import { Disclosure as c, EmptyState as l, ToggleGroup as u } from "@parallelworks/ui";
7
- import { useEffect as d, useRef as f, useState as p } from "react";
8
- import { useTranslations as m } from "use-intl";
9
- import { jsx as h, jsxs as g } from "react/jsx-runtime";
10
- import { useQuery as _, useSuspenseQuery as v } from "@tanstack/react-query";
3
+ import { FavoriteStar as i } from "../../components/FavoriteStar.js";
4
+ import { GraphDrawing as a, GraphList as o } from "../../components/Graph.js";
5
+ import { usePageTitle as s } from "../../lib/pageTitle.js";
6
+ import { Route as c } from "./graph2.js";
7
+ import { Disclosure as l, EmptyState as u, ToggleGroup as d } from "@parallelworks/ui";
8
+ import { useEffect as f, useRef as p, useState as m } from "react";
9
+ import { useTranslations as h } from "use-intl";
10
+ import { jsx as g, jsxs as _ } from "react/jsx-runtime";
11
+ import { useQuery as v, useSuspenseQuery as y } from "@tanstack/react-query";
11
12
  // src/routes/$workspace/graph.tsx?tsr-split=component
12
- function y() {
13
- let y = m("graphPage");
14
- o(y("title"));
15
- let b = m("graph"), { workspace: x } = s.useParams(), S = s.useSearch(), C = s.useNavigate(), { data: w } = v(t(x)), { data: T } = v(r(x)), { data: E } = _(n(x, S)), D = (e) => C({
13
+ function b() {
14
+ let b = h("graphPage");
15
+ s(b("title"));
16
+ let x = h("graph"), { workspace: S } = c.useParams(), C = c.useSearch(), w = c.useNavigate(), { data: T } = y(t(S)), { data: E } = y(r(S)), { data: D } = v(n(S, C)), O = (e) => w({
16
17
  search: (t) => ({
17
18
  ...t,
18
19
  ...e
19
20
  }),
20
21
  replace: !0
21
- }), O = f(null), [k, A] = p(800);
22
- d(() => {
23
- let e = O.current;
22
+ }), k = p(null), [A, j] = m(800);
23
+ f(() => {
24
+ let e = k.current;
24
25
  if (!e) return;
25
- let t = new ResizeObserver(([e]) => e && A(Math.floor(e.contentRect.width)));
26
+ let t = new ResizeObserver(([e]) => e && j(Math.floor(e.contentRect.width)));
26
27
  return t.observe(e), () => t.disconnect();
27
28
  }, []);
28
- let j = E?.nodes ?? [], M = {
29
- doc: b("docs"),
30
- issue: b("issues"),
31
- entry: b("entries")
29
+ let M = D?.nodes ?? [], N = {
30
+ doc: x("docs"),
31
+ issue: x("issues"),
32
+ entry: x("entries")
32
33
  };
33
- return /* @__PURE__ */ g("div", {
34
+ return /* @__PURE__ */ _("div", {
34
35
  className: "flex h-full flex-col",
35
36
  children: [
36
- /* @__PURE__ */ g("header", {
37
+ /* @__PURE__ */ _("header", {
37
38
  className: "flex h-12 shrink-0 items-center gap-3 border-b border-border px-4 md:px-5",
38
- children: [/* @__PURE__ */ h("h1", {
39
- className: "text-sm font-semibold",
40
- children: y("title")
41
- }), /* @__PURE__ */ h("span", {
42
- className: "text-xs text-muted-foreground",
43
- children: y("count", { count: j.length })
44
- })]
39
+ children: [
40
+ /* @__PURE__ */ g("h1", {
41
+ className: "text-sm font-semibold",
42
+ children: b("title")
43
+ }),
44
+ /* @__PURE__ */ g(i, {
45
+ workspace: S,
46
+ kind: "page",
47
+ target: "graph"
48
+ }),
49
+ /* @__PURE__ */ g("span", {
50
+ className: "text-xs text-muted-foreground",
51
+ children: b("count", { count: M.length })
52
+ })
53
+ ]
45
54
  }),
46
- /* @__PURE__ */ g("div", {
55
+ /* @__PURE__ */ _("div", {
47
56
  className: "flex shrink-0 flex-wrap gap-x-4 gap-y-2 border-b border-border px-4 py-2 md:px-5",
48
- children: [/* @__PURE__ */ h(u, {
49
- label: y("space"),
57
+ children: [/* @__PURE__ */ g(d, {
58
+ label: b("space"),
50
59
  multiple: !1,
51
60
  all: !0,
52
61
  options: [{
53
62
  value: "workspace",
54
- label: T.name
55
- }, ...w.filter((e) => !e.archivedAt).map((e) => ({
63
+ label: E.name
64
+ }, ...T.filter((e) => !e.archivedAt).map((e) => ({
56
65
  value: e.key,
57
66
  label: e.name
58
67
  }))],
59
- value: S.space ? [S.space] : [],
60
- onValueChange: ([e]) => D({ space: e })
61
- }), /* @__PURE__ */ h(u, {
62
- label: y("kind"),
68
+ value: C.space ? [C.space] : [],
69
+ onValueChange: ([e]) => O({ space: e })
70
+ }), /* @__PURE__ */ g(d, {
71
+ label: b("kind"),
63
72
  options: e.map((e) => ({
64
73
  value: e,
65
- label: M[e]
74
+ label: N[e]
66
75
  })),
67
- value: S.kind ?? [],
68
- onValueChange: (e) => D({ kind: e.length ? e : void 0 })
76
+ value: C.kind ?? [],
77
+ onValueChange: (e) => O({ kind: e.length ? e : void 0 })
69
78
  })]
70
79
  }),
71
- /* @__PURE__ */ h("div", {
80
+ /* @__PURE__ */ g("div", {
72
81
  className: "min-h-0 flex-1 overflow-y-auto",
73
- children: /* @__PURE__ */ g("div", {
74
- ref: O,
82
+ children: /* @__PURE__ */ _("div", {
83
+ ref: k,
75
84
  className: "px-4 md:px-5",
76
85
  children: [
77
- E && j.length === 0 ? /* @__PURE__ */ h(l, {
86
+ D && M.length === 0 ? /* @__PURE__ */ g(u, {
78
87
  variant: "plain",
79
- title: y("empty")
80
- }) : E && /* @__PURE__ */ h(i, {
81
- workspace: x,
82
- nodes: j,
83
- edges: E.edges,
84
- width: k,
88
+ title: b("empty")
89
+ }) : D && /* @__PURE__ */ g(a, {
90
+ workspace: S,
91
+ nodes: M,
92
+ edges: D.edges,
93
+ width: A,
85
94
  height: "calc(100dvh - 11rem)"
86
95
  }),
87
- E?.truncated && /* @__PURE__ */ h("p", {
96
+ D?.truncated && /* @__PURE__ */ g("p", {
88
97
  className: "px-2 pt-2 text-xs text-muted-foreground",
89
- children: y("truncated")
98
+ children: b("truncated")
90
99
  }),
91
- j.length > 0 && /* @__PURE__ */ h(c, {
100
+ M.length > 0 && /* @__PURE__ */ g(l, {
92
101
  className: "mt-4 mb-8",
93
102
  summaryClassName: "px-2 text-sm text-muted-foreground hover:text-foreground",
94
- summary: y("asList", { count: j.length }),
95
- children: /* @__PURE__ */ h(a, {
96
- workspace: x,
97
- nodes: j,
98
- label: y("title")
103
+ summary: b("asList", { count: M.length }),
104
+ children: /* @__PURE__ */ g(o, {
105
+ workspace: S,
106
+ nodes: M,
107
+ label: b("title")
99
108
  })
100
109
  })
101
110
  ]
@@ -104,4 +113,4 @@ function y() {
104
113
  ]
105
114
  });
106
115
  }
107
- export { y as component };
116
+ export { b as component };